@happyvertical/smrt-web 0.51.32 → 0.51.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__typechecks__/webmcp-tool-definition.d.ts +2 -0
- package/dist/__typechecks__/webmcp-tool-definition.d.ts.map +1 -0
- package/dist/ai.d.ts +330 -358
- package/dist/ai.d.ts.map +1 -0
- package/dist/capability-classification.d.ts +89 -0
- package/dist/capability-classification.d.ts.map +1 -0
- package/dist/capability.d.ts +191 -0
- package/dist/capability.d.ts.map +1 -0
- package/dist/data-query.d.ts +121 -0
- package/dist/data-query.d.ts.map +1 -0
- package/dist/data-surface-actions.d.ts +118 -0
- package/dist/data-surface-actions.d.ts.map +1 -0
- package/dist/durable-store.d.ts +88 -0
- package/dist/durable-store.d.ts.map +1 -0
- package/dist/index.d.ts +468 -2245
- package/dist/index.d.ts.map +1 -0
- package/dist/intents.d.ts +273 -300
- package/dist/intents.d.ts.map +1 -0
- package/dist/internal.d.ts +15 -0
- package/dist/internal.d.ts.map +1 -0
- package/dist/offline/durable-queue.d.ts +171 -0
- package/dist/offline/durable-queue.d.ts.map +1 -0
- package/dist/offline/engine.d.ts +359 -0
- package/dist/offline/engine.d.ts.map +1 -0
- package/dist/offline/leader.d.ts +57 -0
- package/dist/offline/leader.d.ts.map +1 -0
- package/dist/offline/types.d.ts +232 -0
- package/dist/offline/types.d.ts.map +1 -0
- package/dist/offline.d.ts +258 -0
- package/dist/offline.d.ts.map +1 -0
- package/dist/persistence/snapshot-store.d.ts +121 -0
- package/dist/persistence/snapshot-store.d.ts.map +1 -0
- package/dist/persistence.d.ts +157 -0
- package/dist/persistence.d.ts.map +1 -0
- package/dist/remote-query.d.ts +61 -0
- package/dist/remote-query.d.ts.map +1 -0
- package/dist/sse-client.d.ts +182 -0
- package/dist/sse-client.d.ts.map +1 -0
- package/dist/update-state/meta-store.d.ts +66 -0
- package/dist/update-state/meta-store.d.ts.map +1 -0
- package/dist/update-state.d.ts +115 -0
- package/dist/update-state.d.ts.map +1 -0
- package/dist/webmcp-tool-names.d.ts +106 -112
- package/dist/webmcp-tool-names.d.ts.map +1 -0
- package/dist/webmcp.d.ts +193 -653
- package/dist/webmcp.d.ts.map +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAKH,OAAO,KAAK,EACV,iBAAiB,EAGlB,MAAM,iBAAiB,CAAC;AAazB,YAAY,EACV,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,YAAY,EACV,2BAA2B,EAC3B,sBAAsB,EACtB,8BAA8B,EAC9B,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,GAC1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,uBAAuB,EACvB,uCAAuC,EACvC,oCAAoC,EACpC,8BAA8B,EAC9B,8BAA8B,EAC9B,kCAAkC,EAClC,oCAAoC,EACpC,4BAA4B,EAC5B,qCAAqC,EACrC,gCAAgC,EAChC,+BAA+B,GAChC,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,sCAAsC,EACtC,+CAA+C,EAC/C,+BAA+B,EAC/B,8BAA8B,EAC9B,iCAAiC,EACjC,0BAA0B,EAC1B,+BAA+B,EAC/B,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,sCAAsC,EACtC,iCAAiC,EACjC,+BAA+B,EAC/B,gDAAgD,EAChD,kDAAkD,EAClD,2CAA2C,EAC3C,6CAA6C,EAC7C,uCAAuC,GACxC,MAAM,2BAA2B,CAAC;AACnC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|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
*
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
*
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
export
|
|
82
|
-
registry: 'control';
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
export
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* `
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
*
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
*/
|
|
175
|
-
export declare
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
*/
|
|
216
|
-
export
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
export
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* The one capability classification rule this package applies, extracted so
|
|
276
|
-
* every declaration site in smrt-web shares a single implementation (#2587,
|
|
277
|
-
* #2588).
|
|
278
|
-
*
|
|
279
|
-
* Two sites consume it today: `webmcp.ts` (canonical definitions trusted
|
|
280
|
-
* through it directly, and its legacy CRUD switch's fail-closed default
|
|
281
|
-
* branch) and `intents.ts` (a declared view intent, which is never a CRUD
|
|
282
|
-
* verb and so resolves through the declaration rule alone). Keeping the rule
|
|
283
|
-
* here rather than private to `webmcp.ts` is what lets the intent path be a
|
|
284
|
-
* dependency-free module that never pulls the client-data engine.
|
|
285
|
-
*
|
|
286
|
-
* This module structurally mirrors `CapabilityEffect` / `CapabilityDeclaration`
|
|
287
|
-
* / `CapabilityClassification` in `@happyvertical/smrt-types` rather than
|
|
288
|
-
* importing them — this package's dependency-DAG guardrails keep it free of
|
|
289
|
-
* every `@happyvertical/*` dependency (see AGENTS.md "No inter-smrt
|
|
290
|
-
* dependencies"), the same reason `data-query.ts` mirrors that package's
|
|
291
|
-
* bounded query envelope structurally instead of importing it.
|
|
292
|
-
*/
|
|
293
|
-
/**
|
|
294
|
-
* Browser/agent-visible effect classification for a capability. `'read'`
|
|
295
|
-
* never mutates; `'write'` mutates within the application; `'destructive'`
|
|
296
|
-
* may remove or irreversibly change data.
|
|
297
|
-
*/
|
|
298
|
-
declare type WebMcpToolEffect = 'read' | 'write' | 'destructive';
|
|
299
|
-
|
|
300
|
-
export { }
|
|
1
|
+
/**
|
|
2
|
+
* Framework-agnostic declarative view intents (#2588).
|
|
3
|
+
*
|
|
4
|
+
* A view intent is an interaction a component owns that has no model
|
|
5
|
+
* projection and never will — filter this list, advance the wizard, open the
|
|
6
|
+
* archived tab. It is declared as a LITERAL object in a `.ts` module and
|
|
7
|
+
* compiles into the mounted `ControlInteractionRegistry` /
|
|
8
|
+
* `DataSurfaceRegistry` commands that `@happyvertical/smrt-ui` already
|
|
9
|
+
* exposes, never around them.
|
|
10
|
+
*
|
|
11
|
+
* ## The hard invariant: an intent can never reach REST
|
|
12
|
+
*
|
|
13
|
+
* Enforced twice, structurally and at runtime.
|
|
14
|
+
*
|
|
15
|
+
* **Structurally**, {@link ViewIntentDeclaration} has no `execute`, `fetch`,
|
|
16
|
+
* `url`, `route`, `endpoint`, or `method` field, and no field of function
|
|
17
|
+
* type anywhere. Its `target` is a closed two-member union naming a browser
|
|
18
|
+
* registry. There is no way to spell a network call in the type.
|
|
19
|
+
*
|
|
20
|
+
* **At runtime**, {@link defineIntent} rejects any key outside the declared
|
|
21
|
+
* allowlist and any non-JSON value (functions included) anywhere in the
|
|
22
|
+
* declaration, so a declaration cast through `as any` cannot smuggle one in
|
|
23
|
+
* either. It reads every property exactly once and keeps a JSON COPY, so a
|
|
24
|
+
* getter or Proxy cannot show the checker plain data and hand something else
|
|
25
|
+
* to whoever reads the property next. The tool's `execute` is then CONSTRUCTED
|
|
26
|
+
* by
|
|
27
|
+
* {@link compileViewIntentToolSpec} from `intent.target` alone. An author
|
|
28
|
+
* never supplies a callable, so there is no author-controlled code on the
|
|
29
|
+
* execution path to place a `fetch` in.
|
|
30
|
+
*
|
|
31
|
+
* The decorator remains the sole authority on model-operation exposure
|
|
32
|
+
* (epic #2585 invariant 1): a component may reference an operation
|
|
33
|
+
* `@smrt({ api })` already exposes, through the generated model tools, but an
|
|
34
|
+
* intent can only move browser state. And because intents dispatch registry
|
|
35
|
+
* commands, `StagedControlReview` stays on the path unconditionally — an
|
|
36
|
+
* agent-sourced `stage` is a proposal, and `apply` still requires the
|
|
37
|
+
* registry's trusted local human gesture.
|
|
38
|
+
*
|
|
39
|
+
* ## Static form (the #2591 scanner contract)
|
|
40
|
+
*
|
|
41
|
+
* Declarations must be module-scope `defineIntent({ ... })` calls with a
|
|
42
|
+
* single object literal argument, in a `.ts`/`.tsx` module — see
|
|
43
|
+
* `packages/smrt-web/AGENTS.md` "Declarative view intents" for the contract
|
|
44
|
+
* a scanner matcher implements against. Computed or conditional tool sets
|
|
45
|
+
* keep using `useWebMcpTool`.
|
|
46
|
+
*
|
|
47
|
+
* This module imports nothing at runtime — not the client-data engine, not
|
|
48
|
+
* `./index.js`, not `./webmcp.js` — so a `Foo.intents.ts` sidecar costs a
|
|
49
|
+
* page nothing but its own declarations. Registration lives in `webmcp.ts`
|
|
50
|
+
* (`registerViewIntent`), which is loaded lazily by every binding.
|
|
51
|
+
*/
|
|
52
|
+
import { type WebMcpCapabilityAnnotations, type WebMcpCapabilityClassification, type WebMcpCapabilityDeclaration } from './capability-classification.js';
|
|
53
|
+
/**
|
|
54
|
+
* Control commands a view intent may dispatch. Structurally mirrors
|
|
55
|
+
* `ControlCommandAction` in `@happyvertical/smrt-ui/forms`; this package
|
|
56
|
+
* cannot import that one (see AGENTS.md "No inter-smrt dependencies").
|
|
57
|
+
*/
|
|
58
|
+
export type ViewIntentControlAction = 'focus' | 'reveal' | 'highlight' | 'explain' | 'validate' | 'stage' | 'apply' | 'discard' | 'clear' | 'undo';
|
|
59
|
+
/** Mirrors `DataSurfaceIdentity['kind']` in `@happyvertical/smrt-ui/data`. */
|
|
60
|
+
export type ViewIntentDataSurfaceKind = 'table' | 'list' | 'report' | 'custom';
|
|
61
|
+
/**
|
|
62
|
+
* The optional record a registry identity is qualified by. Rich forms use it
|
|
63
|
+
* to tell apart controls that share a `formId`/`controlId` across records.
|
|
64
|
+
* Structurally mirrors `ControlIdentity['subject']` /
|
|
65
|
+
* `DataSurfaceIdentity['subject']` in `@happyvertical/smrt-ui`.
|
|
66
|
+
*/
|
|
67
|
+
export interface ViewIntentSubject {
|
|
68
|
+
type: string;
|
|
69
|
+
id: string;
|
|
70
|
+
label?: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* A control-registry target: the intent dispatches exactly one
|
|
74
|
+
* `ControlInteractionRegistry` command against a mounted control.
|
|
75
|
+
*
|
|
76
|
+
* `formId`/`controlId` are the statically declared half of the identity. A
|
|
77
|
+
* binding supplies the mounted identity and must MATCH anything declared
|
|
78
|
+
* here — a declaration is authority over a binding, never the other way
|
|
79
|
+
* round.
|
|
80
|
+
*/
|
|
81
|
+
export interface ViewIntentControlTarget {
|
|
82
|
+
registry: 'control';
|
|
83
|
+
action: ViewIntentControlAction;
|
|
84
|
+
formId?: string;
|
|
85
|
+
controlId?: string;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* A data-surface target: the intent dispatches one
|
|
89
|
+
* `DataSurfaceVisibleCommand` — a browser-visible state transition, never a
|
|
90
|
+
* server-side query or mutation.
|
|
91
|
+
*/
|
|
92
|
+
export interface ViewIntentDataSurfaceTarget {
|
|
93
|
+
registry: 'dataSurface';
|
|
94
|
+
/** The visible-command `controlId` the mounted surface implements. */
|
|
95
|
+
controlId: string;
|
|
96
|
+
surfaceId?: string;
|
|
97
|
+
kind?: ViewIntentDataSurfaceKind;
|
|
98
|
+
}
|
|
99
|
+
export type ViewIntentTarget = ViewIntentControlTarget | ViewIntentDataSurfaceTarget;
|
|
100
|
+
/**
|
|
101
|
+
* The literal object passed to {@link defineIntent}. Every field is data;
|
|
102
|
+
* none is a function, a URL, or a route.
|
|
103
|
+
*/
|
|
104
|
+
export interface ViewIntentDeclaration {
|
|
105
|
+
/**
|
|
106
|
+
* Stable, namespaced identity — at least one dot, lowercase, e.g.
|
|
107
|
+
* `orders.filter_by_status`. It is the intent's name in the manifest
|
|
108
|
+
* (#2591) and in a playbook step (`{ kind: 'intent', id }`, #2589), so it
|
|
109
|
+
* must not be derived from anything that can change (a namespace, a
|
|
110
|
+
* generated tool name, a route).
|
|
111
|
+
*/
|
|
112
|
+
id: string;
|
|
113
|
+
/** Human/agent-readable description. Becomes the tool description. */
|
|
114
|
+
description: string;
|
|
115
|
+
/** JSON Schema for the tool's arguments. Must be plain JSON. */
|
|
116
|
+
inputSchema?: Record<string, unknown>;
|
|
117
|
+
/**
|
|
118
|
+
* Partial capability declaration resolved by the shared fail-closed rule
|
|
119
|
+
* (#2587). Omitted entirely, an intent classifies destructive,
|
|
120
|
+
* non-idempotent, open-world.
|
|
121
|
+
*/
|
|
122
|
+
capability?: WebMcpCapabilityDeclaration;
|
|
123
|
+
/** Which registry this compiles into, and what it addresses there. */
|
|
124
|
+
target: ViewIntentTarget;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* A validated, frozen intent.
|
|
128
|
+
*
|
|
129
|
+
* `kind: 'intent'` and `id` are the exported identity a `smrt-playbooks`
|
|
130
|
+
* step reference (`{ kind: 'intent', id }`) names, and this object is
|
|
131
|
+
* directly assignable to that package's `PlaybookIntentRecord` seam —
|
|
132
|
+
* `{ id, classification, planes }` — so {@link resolveViewIntent} can be
|
|
133
|
+
* passed as its `intents` resolver unchanged.
|
|
134
|
+
*/
|
|
135
|
+
export interface ViewIntent {
|
|
136
|
+
readonly kind: 'intent';
|
|
137
|
+
readonly id: string;
|
|
138
|
+
readonly description: string;
|
|
139
|
+
readonly inputSchema: Record<string, unknown>;
|
|
140
|
+
/** Resolved through the shared fail-closed rule at declaration time. */
|
|
141
|
+
readonly classification: WebMcpCapabilityClassification;
|
|
142
|
+
readonly target: ViewIntentTarget;
|
|
143
|
+
/**
|
|
144
|
+
* An intent moves mounted browser state, so it is browser-valid only. A
|
|
145
|
+
* server-side agent reaches one through the #2446 command/ack bridge, which
|
|
146
|
+
* a playbook must declare explicitly.
|
|
147
|
+
*/
|
|
148
|
+
readonly planes: readonly ['browser'];
|
|
149
|
+
}
|
|
150
|
+
/** Derive the WebMCP tool name for an intent id. */
|
|
151
|
+
export declare function viewIntentToolName(id: string): string;
|
|
152
|
+
/**
|
|
153
|
+
* Declare a view intent.
|
|
154
|
+
*
|
|
155
|
+
* Call this at MODULE SCOPE with a single object literal — no spreads, no
|
|
156
|
+
* conditionals, no computed values — in a `.ts` module, conventionally a
|
|
157
|
+
* `Foo.intents.ts` sidecar beside the component that binds it. That form is
|
|
158
|
+
* the contract #2591's scanner matcher reads without evaluating the module.
|
|
159
|
+
*
|
|
160
|
+
* The returned intent is deeply frozen and registered under its `id`. A
|
|
161
|
+
* byte-identical re-declaration returns the SAME frozen object. A
|
|
162
|
+
* re-declaration that differs REPLACES the previous one and warns: editing a
|
|
163
|
+
* sidecar is what an HMR update is for, and throwing there would break the
|
|
164
|
+
* single most common dev action on these files. Two genuinely different
|
|
165
|
+
* intents sharing an id is an authoring mistake the warning surfaces, and one
|
|
166
|
+
* #2591's scanner catches statically, where both declarations are visible at
|
|
167
|
+
* once.
|
|
168
|
+
*
|
|
169
|
+
* @throws if the declaration is not static JSON data, carries an unknown
|
|
170
|
+
* key, carries a function anywhere, names a reserved tool namespace, or
|
|
171
|
+
* derives a WebMCP tool name another intent already derives.
|
|
172
|
+
*/
|
|
173
|
+
export declare function defineIntent(declaration: ViewIntentDeclaration): ViewIntent;
|
|
174
|
+
/** Every intent declared in modules loaded so far, in declaration order. */
|
|
175
|
+
export declare function listViewIntents(): readonly ViewIntent[];
|
|
176
|
+
/**
|
|
177
|
+
* Look up a declared intent by id.
|
|
178
|
+
*
|
|
179
|
+
* Directly usable as `smrt-playbooks`' `PlaybookIntentResolver` seam (#2589):
|
|
180
|
+
* a {@link ViewIntent} satisfies its `PlaybookIntentRecord` shape, so an
|
|
181
|
+
* intent step inherits this intent's classification and browser-only plane
|
|
182
|
+
* validity rather than classifying itself.
|
|
183
|
+
*/
|
|
184
|
+
export declare function resolveViewIntent(id: string): ViewIntent | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* Drop every declared intent. For tests and HMR teardown; production code
|
|
187
|
+
* has no reason to call it.
|
|
188
|
+
*/
|
|
189
|
+
export declare function clearViewIntentRegistry(): void;
|
|
190
|
+
/**
|
|
191
|
+
* The `ControlInteractionRegistry` surface an intent uses. Declared
|
|
192
|
+
* structurally so this package takes no dependency on
|
|
193
|
+
* `@happyvertical/smrt-ui`; the real registry satisfies it.
|
|
194
|
+
*/
|
|
195
|
+
export interface ViewIntentControlRegistryPort {
|
|
196
|
+
execute(command: {
|
|
197
|
+
action: ViewIntentControlAction;
|
|
198
|
+
identity: ViewIntentControlIdentity;
|
|
199
|
+
value?: unknown;
|
|
200
|
+
durationMs?: number;
|
|
201
|
+
revision?: number;
|
|
202
|
+
}, context?: {
|
|
203
|
+
source: 'agent';
|
|
204
|
+
}): Promise<{
|
|
205
|
+
ok: boolean;
|
|
206
|
+
reason?: string;
|
|
207
|
+
}>;
|
|
208
|
+
}
|
|
209
|
+
/** A mounted control's full registry key, subject included. */
|
|
210
|
+
export interface ViewIntentControlIdentity {
|
|
211
|
+
formId: string;
|
|
212
|
+
controlId: string;
|
|
213
|
+
subject?: ViewIntentSubject;
|
|
214
|
+
}
|
|
215
|
+
/** A mounted data surface's full registry key, subject included. */
|
|
216
|
+
export interface ViewIntentDataSurfaceIdentity {
|
|
217
|
+
surfaceId: string;
|
|
218
|
+
kind: ViewIntentDataSurfaceKind;
|
|
219
|
+
subject?: ViewIntentSubject;
|
|
220
|
+
}
|
|
221
|
+
/** The `DataSurfaceRegistry` surface an intent uses. */
|
|
222
|
+
export interface ViewIntentDataSurfaceRegistryPort {
|
|
223
|
+
inspect(identity: ViewIntentDataSurfaceIdentity): {
|
|
224
|
+
revision: number;
|
|
225
|
+
} | undefined;
|
|
226
|
+
execute(command: {
|
|
227
|
+
version: 1;
|
|
228
|
+
commandId: string;
|
|
229
|
+
identity: ViewIntentDataSurfaceIdentity;
|
|
230
|
+
expectedRevision: number;
|
|
231
|
+
controlId: string;
|
|
232
|
+
payload?: unknown;
|
|
233
|
+
}): Promise<{
|
|
234
|
+
ok: boolean;
|
|
235
|
+
revision?: number;
|
|
236
|
+
reason?: string;
|
|
237
|
+
}>;
|
|
238
|
+
}
|
|
239
|
+
/** The mounted identity a binding supplies for an intent's lifetime. */
|
|
240
|
+
export type ViewIntentBinding = {
|
|
241
|
+
registry: 'control';
|
|
242
|
+
registryPort: ViewIntentControlRegistryPort;
|
|
243
|
+
identity: ViewIntentControlIdentity;
|
|
244
|
+
} | {
|
|
245
|
+
registry: 'dataSurface';
|
|
246
|
+
registryPort: ViewIntentDataSurfaceRegistryPort;
|
|
247
|
+
identity: ViewIntentDataSurfaceIdentity;
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* A bespoke tool spec, structurally identical to
|
|
251
|
+
* `WebMcpBespokeToolSpec` in `./webmcp.js`. Declared here rather than
|
|
252
|
+
* imported so this module stays free of even a type edge to the registrar
|
|
253
|
+
* entry.
|
|
254
|
+
*/
|
|
255
|
+
export interface ViewIntentToolSpec {
|
|
256
|
+
name: string;
|
|
257
|
+
description: string;
|
|
258
|
+
inputSchema: Record<string, unknown>;
|
|
259
|
+
annotations: WebMcpCapabilityAnnotations;
|
|
260
|
+
execute: (args: Record<string, unknown>) => Promise<string>;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Compile a declared intent plus a mounted binding into a bespoke tool spec.
|
|
264
|
+
*
|
|
265
|
+
* The `execute` this returns is built here from `intent.target`; nothing an
|
|
266
|
+
* author wrote is called. It dispatches exactly one registry command with
|
|
267
|
+
* `source: 'agent'`, so every policy the registry enforces — staged review,
|
|
268
|
+
* local-gesture proof, sensitivity, writability — applies unchanged.
|
|
269
|
+
*
|
|
270
|
+
* @throws if the binding does not match the intent's declared target.
|
|
271
|
+
*/
|
|
272
|
+
export declare function compileViewIntentToolSpec(intent: ViewIntent, binding: ViewIntentBinding): ViewIntentToolSpec;
|
|
273
|
+
//# sourceMappingURL=intents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intents.d.ts","sourceRoot":"","sources":["../src/intents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AAEH,OAAO,EAIL,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,2BAA2B,EACjC,MAAM,gCAAgC,CAAC;AAMxC;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAC/B,OAAO,GACP,QAAQ,GACR,WAAW,GACX,SAAS,GACT,UAAU,GACV,OAAO,GACP,OAAO,GACP,SAAS,GACT,OAAO,GACP,MAAM,CAAC;AAeX,8EAA8E;AAC9E,MAAM,MAAM,yBAAyB,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAS/E;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,uBAAuB,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,aAAa,CAAC;IACxB,sEAAsE;IACtE,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,yBAAyB,CAAC;CAClC;AAED,MAAM,MAAM,gBAAgB,GACxB,uBAAuB,GACvB,2BAA2B,CAAC;AAEhC;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC;;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