Interface: AppContext
Defined in: packages/sdk/src/app-context.ts:66
App context provided to AI assistants
This represents the current page/state the user is in, allowing the AI to provide context-aware assistance.
Properties
appUri?
optionalappUri:string
Defined in: packages/sdk/src/app-context.ts:68
Current page URI (e.g., 'app:page:workflows/123')
autoApprove?
optionalautoApprove:boolean
Defined in: packages/sdk/src/app-context.ts:74
Auto-approve all tool calls without HITL interruption
deepThink?
optionaldeepThink:boolean
Defined in: packages/sdk/src/app-context.ts:77
Enable deep thinking mode for the current session
pageState?
optionalpageState:object
Defined in: packages/sdk/src/app-context.ts:83
Additional structured page state
Index Signature
[key: string]: any
Any other page-specific state
dataRecord?
optionaldataRecord:DataRecordContext
Data record being viewed/edited
openDrawers?
optionalopenDrawers:string[]
Open drawers/modals
page?
optionalpage:PageContext
Page being viewed/edited
routeParams?
optionalrouteParams:Record<string,string|string[]>
Route parameters from Next.js
selectedTabs?
optionalselectedTabs:string[]
Selected tabs
site?
optionalsite:SiteContext
Site being viewed/edited
toolkit?
optionaltoolkit:ToolkitContext
Toolkit being viewed
workflow?
optionalworkflow:WorkflowContext
Workflow being viewed/edited
pageUrl?
optionalpageUrl:string
Defined in: packages/sdk/src/app-context.ts:71
Current browser URL for linking back to this page
pendingSetupSpecIds?
optionalpendingSetupSpecIds:number[]
Defined in: packages/sdk/src/app-context.ts:80
Setup spec IDs linked to the current workspace that are pending execution.