Skip to content

Interface: IntentClient

Defined in: aiui-intent-client/src/client.ts:104

Extends

  • Pick<SolidModeEngine<IntentContext>, "state" | "region" | "context" | "dispatch" | "emit" | "setContext" | "claimStatuses" | "dispose">

Properties

claimStatuses

claimStatuses: Accessor<Readonly<Record<string, ClaimStatus>>>

Defined in: aiui-viz/src/mode-solid.ts:85

Reactive per-claim status map (idle | pending | active | error | stale).

Inherited from

Pick.claimStatuses


context

context: Accessor<IntentContext>

Defined in: aiui-viz/src/mode-solid.ts:73

Reactive context accessor.

Inherited from

Pick.context


engine

engine: SolidModeEngine<IntentContext>

Defined in: aiui-intent-client/src/client.ts:128


state

state: Accessor<Readonly<Record<string, RegionValue>>>

Defined in: aiui-viz/src/mode-solid.ts:69

Reactive state accessor: tracked inside the graph (JSX, memos, effect computes), committed-fresh at imperative boundaries — safe everywhere.

Inherited from

Pick.state

Methods

bar()

bar(): BarTreeNode[]

Defined in: aiui-intent-client/src/client.ts:123

The command bar: the mode tree as a DEPTH-FIRST pre-order forest — a parent sits immediately before its revealed children so the UI brackets each into one shaded group (reactive).

Returns

BarTreeNode[]


canDispatch()

canDispatch(command, payload?): boolean

Defined in: aiui-intent-client/src/client.ts:119

Derived availability — would this command do anything right now?

Parameters

command

string

payload?

unknown

Returns

boolean


configStrip()

configStrip(): BarRow[]

Defined in: aiui-intent-client/src/client.ts:125

The standing config strip (one flat row of widgets; reactive).

Returns

BarRow[]


dispatch()

dispatch(command, payload?): EngineState

Defined in: aiui-viz/src/mode-solid.ts:75

Run a command through the reducer; commits before returning.

Parameters

command

string

payload?

unknown

Returns

EngineState

Inherited from

Pick.dispatch


dispose()

dispose(): Promise<void>

Defined in: aiui-viz/src/mode-solid.ts:91

Release every claim (page teardown; the engine itself is stateless-cheap).

Returns

Promise<void>

Inherited from

Pick.dispose


emit()

emit(event, payload?): EngineState

Defined in: aiui-viz/src/mode-solid.ts:80

Fire a declared system-event binding.

Parameters

event

string

payload?

unknown

Returns

EngineState

Inherited from

Pick.emit


handleKey()

handleKey(key, phase, repeat): void

Defined in: aiui-intent-client/src/client.ts:117

One key event, resolved through the grammar to a dispatch (or blip).

Parameters

key

string

phase

"down" | "up"

repeat

boolean

Returns

void


hints()

hints(): KeyHint[]

Defined in: aiui-intent-client/src/client.ts:127

The keymap help rows for the current state (reactive).

Returns

KeyHint[]


region()

region(name): RegionValue

Defined in: aiui-viz/src/mode-solid.ts:71

One region's value (same freshness guarantees).

Parameters

name

string

Returns

RegionValue

Inherited from

Pick.region


setContext()

setContext(patch): void

Defined in: aiui-viz/src/mode-solid.ts:82

Replace world facts; claims re-derive.

Parameters

patch

Partial<Ctx>

Returns

void

Inherited from

Pick.setContext