@fabric-harness/sdk 6.9.1 → 6.10.1
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/agent.d.ts.map +1 -1
- package/dist/agent.js +8 -0
- package/dist/agent.js.map +1 -1
- package/dist/channel-runtime.d.ts +2 -0
- package/dist/channel-runtime.d.ts.map +1 -1
- package/dist/channel-runtime.js +1 -0
- package/dist/channel-runtime.js.map +1 -1
- package/dist/channel.d.ts +11 -0
- package/dist/channel.d.ts.map +1 -1
- package/dist/channel.js.map +1 -1
- package/dist/context.d.ts +28 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +18 -0
- package/dist/context.js.map +1 -1
- package/dist/conversation-ownership.d.ts +151 -0
- package/dist/conversation-ownership.d.ts.map +1 -0
- package/dist/conversation-ownership.js +239 -0
- package/dist/conversation-ownership.js.map +1 -0
- package/dist/dispatch.d.ts +7 -0
- package/dist/dispatch.d.ts.map +1 -1
- package/dist/dispatch.js.map +1 -1
- package/dist/dynamic-agent.d.ts.map +1 -1
- package/dist/dynamic-agent.js +8 -0
- package/dist/dynamic-agent.js.map +1 -1
- package/dist/error.d.ts +1 -1
- package/dist/error.d.ts.map +1 -1
- package/dist/error.js.map +1 -1
- package/dist/governed-voice.d.ts.map +1 -1
- package/dist/governed-voice.js +5 -0
- package/dist/governed-voice.js.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/loop.d.ts +8 -0
- package/dist/loop.d.ts.map +1 -1
- package/dist/loop.js +22 -1
- package/dist/loop.js.map +1 -1
- package/dist/model-pricing.js +1 -1
- package/dist/model-pricing.js.map +1 -1
- package/dist/model.d.ts +20 -2
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +88 -9
- package/dist/model.js.map +1 -1
- package/dist/persistent-agent.d.ts +1 -1
- package/dist/persistent-agent.d.ts.map +1 -1
- package/dist/persistent-agent.js.map +1 -1
- package/dist/pi-loop-runtime.d.ts.map +1 -1
- package/dist/pi-loop-runtime.js +142 -8
- package/dist/pi-loop-runtime.js.map +1 -1
- package/dist/policied-sandbox.d.ts.map +1 -1
- package/dist/policied-sandbox.js +16 -3
- package/dist/policied-sandbox.js.map +1 -1
- package/dist/proposal-tool.d.ts +260 -0
- package/dist/proposal-tool.d.ts.map +1 -0
- package/dist/proposal-tool.js +562 -0
- package/dist/proposal-tool.js.map +1 -0
- package/dist/session.d.ts +54 -0
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +305 -23
- package/dist/session.js.map +1 -1
- package/dist/stop-reason-guard.d.ts +89 -0
- package/dist/stop-reason-guard.d.ts.map +1 -0
- package/dist/stop-reason-guard.js +261 -0
- package/dist/stop-reason-guard.js.map +1 -0
- package/dist/strict.d.ts +8 -1
- package/dist/strict.d.ts.map +1 -1
- package/dist/strict.js +4 -1
- package/dist/strict.js.map +1 -1
- package/dist/tools.d.ts +2 -0
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +10 -2
- package/dist/tools.js.map +1 -1
- package/dist/types.d.ts +20 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/voice-pipeline.d.ts +67 -0
- package/dist/voice-pipeline.d.ts.map +1 -1
- package/dist/voice-pipeline.js +350 -20
- package/dist/voice-pipeline.js.map +1 -1
- package/dist/voice-sentences.d.ts +43 -0
- package/dist/voice-sentences.d.ts.map +1 -0
- package/dist/voice-sentences.js +99 -0
- package/dist/voice-sentences.js.map +1 -0
- package/package.json +30 -13
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { FabricError } from "./error.js";
|
|
2
|
+
import type { CapabilityPolicy } from "./policy.js";
|
|
3
|
+
import type { ToolContext, ToolDef } from "./tools.js";
|
|
4
|
+
import type { FabricActor } from "./types.js";
|
|
5
|
+
/**
|
|
6
|
+
* Governed proposal tools (#274).
|
|
7
|
+
*
|
|
8
|
+
* A proposal tool submits a governed action to an external approval authority
|
|
9
|
+
* (for example Fabric Platform) through a port configured on the agent or
|
|
10
|
+
* session. That authority approves the proposal; the harness does not ask a
|
|
11
|
+
* second time, and approval for every other tool stays in `CapabilityPolicy`.
|
|
12
|
+
* Nothing here skips a harness approval: a session refuses to start, and a
|
|
13
|
+
* call is refused at dispatch, when policy would ask for one on a proposal tool.
|
|
14
|
+
*
|
|
15
|
+
* Threat model. Input the model chooses is adversarial: it is validated,
|
|
16
|
+
* mapped and snapshotted to plain JSON before any check reads it, and the
|
|
17
|
+
* checks read only that snapshot, which is also exactly what the port
|
|
18
|
+
* receives. A tool definition is host code: it may be careless (a wrong
|
|
19
|
+
* policy, a duplicate name, a mapper that returns a Date), and those mistakes
|
|
20
|
+
* are refused, but it is not assumed to mount active attacks with getters or
|
|
21
|
+
* proxies. The design does not test for such tricks one by one. Instead the
|
|
22
|
+
* session classifies each tool once, when it resolves the session's tools,
|
|
23
|
+
* and keeps that decision with the resolved tool. The proposal decision is
|
|
24
|
+
* made at resolution and is not re-derived from `execute` at dispatch or
|
|
25
|
+
* recovery, so what a definition returns later does not turn it into a
|
|
26
|
+
* proposal tool or out of one (the tests "a tool classified ordinary at
|
|
27
|
+
* resolution never runs as a proposal" and "a tool classified a proposal at
|
|
28
|
+
* resolution always runs through its stored runner" check this).
|
|
29
|
+
*/
|
|
30
|
+
/** What the harness passes to the external authority for one proposal. */
|
|
31
|
+
export interface ProposalPortInvokeInput<TPrincipal = unknown> {
|
|
32
|
+
principal: TPrincipal;
|
|
33
|
+
actionId: string;
|
|
34
|
+
/** A plain-JSON snapshot of the params; the idempotency key is a digest of it. */
|
|
35
|
+
params: Readonly<Record<string, unknown>>;
|
|
36
|
+
/**
|
|
37
|
+
* Derived by the harness from the session's tenant id (when it has one), the session id, action id and params. It is
|
|
38
|
+
* offered to the authority; whether a repeated key is de-duplicated is up to
|
|
39
|
+
* the port adapter and the authority, not the harness.
|
|
40
|
+
*/
|
|
41
|
+
idempotencyKey?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The authority's answer: its routing status and, when it has one, its
|
|
45
|
+
* reference for the invocation. A `rejected` answer may carry no reference
|
|
46
|
+
* (`ActionRoute` in `@fabric-harness/agent-registry` has none for it), so
|
|
47
|
+
* an empty or missing reference is accepted there.
|
|
48
|
+
*/
|
|
49
|
+
export interface ProposalPortResponse {
|
|
50
|
+
actionInvocationId?: string;
|
|
51
|
+
status: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Structural match for `GovernedProposalPort` in `@fabric-harness/agent-registry`,
|
|
55
|
+
* so an implementation of that port can be passed here without the SDK
|
|
56
|
+
* depending on that package.
|
|
57
|
+
*/
|
|
58
|
+
export interface ProposalPort<TPrincipal = unknown> {
|
|
59
|
+
invoke(input: ProposalPortInvokeInput<TPrincipal>): Promise<ProposalPortResponse>;
|
|
60
|
+
}
|
|
61
|
+
/** Identity of the call a principal is resolved for. */
|
|
62
|
+
export interface ProposalPrincipalRequest {
|
|
63
|
+
sessionId: string;
|
|
64
|
+
tenantId?: string;
|
|
65
|
+
actor?: FabricActor;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The external approval authority a session's proposal tools submit to.
|
|
69
|
+
* Configure it on `init()` or `agent.session()`, beside the policy.
|
|
70
|
+
*/
|
|
71
|
+
export interface ProposalAuthority<TPrincipal = unknown> {
|
|
72
|
+
port: ProposalPort<TPrincipal>;
|
|
73
|
+
/**
|
|
74
|
+
* Resolve the principal the proposal is submitted as, once per call. In a
|
|
75
|
+
* session with a `tenantId`, a principal whose `tenantId` differs or is
|
|
76
|
+
* missing is refused; in a session without one, a principal carrying a
|
|
77
|
+
* `tenantId` is refused.
|
|
78
|
+
*/
|
|
79
|
+
resolvePrincipal(request: ProposalPrincipalRequest): TPrincipal | Promise<TPrincipal>;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* How the authority routed the proposal. `unknown` means the harness cannot
|
|
83
|
+
* say whether the proposal was submitted: it may or may not have reached the
|
|
84
|
+
* authority (the port call failed or timed out, the call was cancelled while
|
|
85
|
+
* the port call was pending, the answer could not be read, or the process
|
|
86
|
+
* stopped before the call had a result).
|
|
87
|
+
*/
|
|
88
|
+
export type ProposalRoute = "auto-executed" | "awaiting-approval" | "rejected" | "unknown";
|
|
89
|
+
/** The non-error result a proposal tool returns to the model. */
|
|
90
|
+
export interface ProposalToolResult {
|
|
91
|
+
/** The authority's invocation id, when it returned one. */
|
|
92
|
+
proposalRef?: string;
|
|
93
|
+
route: ProposalRoute;
|
|
94
|
+
/** True only when the authority reported `auto-executed` with a reference. */
|
|
95
|
+
executed: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* The key the call was submitted under. Absent on a result settled after a
|
|
98
|
+
* crash: the key is computed during the call and nothing records it before
|
|
99
|
+
* the port is called.
|
|
100
|
+
*/
|
|
101
|
+
idempotencyKey?: string;
|
|
102
|
+
/** Guidance for the model, fixed per route. It contains no port error text. */
|
|
103
|
+
message: string;
|
|
104
|
+
}
|
|
105
|
+
/** An input schema `defineProposalTool()` can validate with (an SDK `schema` or Zod schema). */
|
|
106
|
+
export type ProposalInputSchema<T> = {
|
|
107
|
+
parse(value: unknown, path?: string): T;
|
|
108
|
+
} | {
|
|
109
|
+
safeParse(value: unknown): {
|
|
110
|
+
success: boolean;
|
|
111
|
+
data?: T;
|
|
112
|
+
error?: unknown;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
/** Declaration accepted by `defineProposalTool()`. */
|
|
116
|
+
export interface ProposalToolDefinition<TInput = unknown> {
|
|
117
|
+
name: string;
|
|
118
|
+
description?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Input schema with `parse()` or `safeParse()`. The tool validates the
|
|
121
|
+
* model's input with it before anything is submitted; dispatch itself does
|
|
122
|
+
* not validate tool input.
|
|
123
|
+
*/
|
|
124
|
+
input: ProposalInputSchema<TInput>;
|
|
125
|
+
/** The governed action every call of this tool proposes. Fixed per tool. */
|
|
126
|
+
actionId: string;
|
|
127
|
+
/**
|
|
128
|
+
* Map validated input to the action's params. Required: a schema may keep
|
|
129
|
+
* keys it does not declare (the SDK's `schema.object` does), so passing
|
|
130
|
+
* validated input through would let the model add params the author did not
|
|
131
|
+
* choose. It must be a pure function: it runs in-process without a sandbox,
|
|
132
|
+
* and its purity is a reviewed contract, not enforced.
|
|
133
|
+
*/
|
|
134
|
+
params: (input: TInput) => Readonly<Record<string, unknown>>;
|
|
135
|
+
/**
|
|
136
|
+
* Timer-based bound on resolving the principal and waiting for the
|
|
137
|
+
* authority. Past it, a call that has not called the port fails with an
|
|
138
|
+
* ordinary error, and one that has returns route `unknown` (the submission
|
|
139
|
+
* may still land). A timer cannot interrupt synchronous work: a resolver or
|
|
140
|
+
* port that blocks the event loop past the deadline is not cut short by it.
|
|
141
|
+
*/
|
|
142
|
+
timeoutMs?: number;
|
|
143
|
+
/** Untrusted discovery hints. Never grant capabilities from annotations. */
|
|
144
|
+
annotations?: Readonly<Record<string, unknown>>;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Top-level param keys a proposal may not carry: the harness owns the
|
|
148
|
+
* idempotency key and the session and run identity, and these fields steer how
|
|
149
|
+
* the authority routes a mutation (`MutationCommonInput` in
|
|
150
|
+
* `@fabric-harness/agent-registry`). Matched case-insensitively.
|
|
151
|
+
*/
|
|
152
|
+
export declare const RESERVED_PROPOSAL_PARAM_KEYS: readonly string[];
|
|
153
|
+
/**
|
|
154
|
+
* @internal Harness-owned binding the session passes to the SDK-owned
|
|
155
|
+
* proposal runner. It never travels on `ToolContext`.
|
|
156
|
+
*/
|
|
157
|
+
export interface ProposalAuthorityBinding {
|
|
158
|
+
readonly sessionId: string;
|
|
159
|
+
readonly tenantId?: string;
|
|
160
|
+
readonly actor?: FabricActor;
|
|
161
|
+
readonly authority: ProposalAuthority;
|
|
162
|
+
/** Called synchronously immediately before the port is invoked, with the key it is invoked with. */
|
|
163
|
+
submitting(idempotencyKey: string): void;
|
|
164
|
+
/** Called with the result the runner returns. */
|
|
165
|
+
settled(record: {
|
|
166
|
+
actionId: string;
|
|
167
|
+
result: ProposalToolResult;
|
|
168
|
+
}): void;
|
|
169
|
+
}
|
|
170
|
+
/** @internal The SDK-owned code that performs one proposal call. */
|
|
171
|
+
export interface ProposalRunner {
|
|
172
|
+
readonly actionId: string;
|
|
173
|
+
run(input: unknown, context: ToolContext | undefined, binding: ProposalAuthorityBinding): Promise<ProposalToolResult>;
|
|
174
|
+
}
|
|
175
|
+
/** @internal The proposal runner for an `execute` reference, if it is a proposal tool's. */
|
|
176
|
+
export declare function proposalRunnerFor(execute: unknown): ProposalRunner | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* Whether `tool` is a proposal tool: its own `execute` data property is a
|
|
179
|
+
* function `defineProposalTool()` created. The property is read through its
|
|
180
|
+
* descriptor, so no getter runs; an `execute` getter is never a proposal tool.
|
|
181
|
+
*/
|
|
182
|
+
export declare function isProposalTool(tool: ToolDef | undefined): boolean;
|
|
183
|
+
/**
|
|
184
|
+
* @internal The runner of a proposal tool, found through the tool's own
|
|
185
|
+
* `execute` data property, so no getter runs and an inherited `execute` is
|
|
186
|
+
* ignored. Every place that decides whether a tool is a proposal tool uses this.
|
|
187
|
+
*/
|
|
188
|
+
export declare function proposalRunnerOf(tool: ToolDef | undefined): ProposalRunner | undefined;
|
|
189
|
+
/**
|
|
190
|
+
* The idempotency key one proposal is submitted under: a SHA-256 digest of the
|
|
191
|
+
* session's tenant id (when it has one), the session id, the action id and the
|
|
192
|
+
* digest of the params' plain-JSON snapshot, with object keys in code-unit
|
|
193
|
+
* order. Throws for params that are not plain JSON. The same action and params
|
|
194
|
+
* in the same session produce the same key. Pass the session's `tenantId` to
|
|
195
|
+
* reproduce the key of a tenant-scoped session; without it the key differs.
|
|
196
|
+
*/
|
|
197
|
+
export declare function proposalIdempotencyKey(sessionId: string, actionId: string, params: Readonly<Record<string, unknown>>, tenantId?: string): string;
|
|
198
|
+
/**
|
|
199
|
+
* Build a tool whose effect is a governed proposal to the external approval
|
|
200
|
+
* authority the session is configured with. The session runs it through an
|
|
201
|
+
* SDK-owned runner that validates input, maps it to params, snapshots them to
|
|
202
|
+
* plain JSON, refuses reserved param keys in that snapshot, resolves the
|
|
203
|
+
* principal, calls the port at most once, and maps the authority's answer to
|
|
204
|
+
* a route.
|
|
205
|
+
*/
|
|
206
|
+
export declare function defineProposalTool<TInput = unknown>(definition: ProposalToolDefinition<TInput>): ToolDef<unknown, ProposalToolResult>;
|
|
207
|
+
/** @internal The configuration error a proposal tool is refused with. */
|
|
208
|
+
export declare function proposalConfigurationError(toolName: string, reason: string): FabricError;
|
|
209
|
+
/** @internal Reason text for a proposal tool matched by a policy approval rule. */
|
|
210
|
+
export declare function proposalApprovalRuleReason(pattern: string | undefined): string;
|
|
211
|
+
/** @internal A resolved tool and the proposal runner its `execute` was found to be, if any. */
|
|
212
|
+
export interface ClassifiedTool {
|
|
213
|
+
readonly tool: ToolDef;
|
|
214
|
+
readonly runner: ProposalRunner | undefined;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* @internal Classify each tool once, as `isProposalTool()` does, without
|
|
218
|
+
* running any getter. The session keeps this result with its resolved tools
|
|
219
|
+
* and does not classify a resolved tool again.
|
|
220
|
+
*/
|
|
221
|
+
export declare function classifyTools(tools: readonly ToolDef[]): ClassifiedTool[];
|
|
222
|
+
/**
|
|
223
|
+
* @internal Refuse a configuration in which a proposal tool would be asked
|
|
224
|
+
* for a harness approval, could not be served, or is shadowed. Runs wherever
|
|
225
|
+
* a session or prompt resolves its tools, on the same classification dispatch
|
|
226
|
+
* will use.
|
|
227
|
+
*/
|
|
228
|
+
export declare function assertProposalToolConfiguration(input: {
|
|
229
|
+
/** Every tool in resolution order, before names are deduplicated, as classified. */
|
|
230
|
+
tools: readonly ClassifiedTool[];
|
|
231
|
+
policy: CapabilityPolicy | undefined;
|
|
232
|
+
authority: ProposalAuthority | undefined;
|
|
233
|
+
}): void;
|
|
234
|
+
/** @internal A per-call tracker the session builds the binding from. */
|
|
235
|
+
export declare function createProposalCallTracker(input: {
|
|
236
|
+
sessionId: string;
|
|
237
|
+
tenantId?: string;
|
|
238
|
+
actor?: FabricActor;
|
|
239
|
+
authority: ProposalAuthority;
|
|
240
|
+
}): {
|
|
241
|
+
binding: ProposalAuthorityBinding;
|
|
242
|
+
/** The key the port was invoked with, once the runner is about to invoke it. */
|
|
243
|
+
submittedKey(): string | undefined;
|
|
244
|
+
/** The result the runner settled on, if it returned. */
|
|
245
|
+
outcome(): {
|
|
246
|
+
actionId: string;
|
|
247
|
+
result: ProposalToolResult;
|
|
248
|
+
} | undefined;
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* @internal The result of a call whose submission cannot be confirmed either
|
|
252
|
+
* way. `idempotencyKey` is absent when the call is settled after a crash.
|
|
253
|
+
*/
|
|
254
|
+
export declare function unknownResult(idempotencyKey?: string): ProposalToolResult;
|
|
255
|
+
/** @internal The harness-set transcript record for a proposal call's result. */
|
|
256
|
+
export declare function proposalTranscriptRecord(outcome: {
|
|
257
|
+
actionId: string;
|
|
258
|
+
result: ProposalToolResult;
|
|
259
|
+
}): Record<string, string | boolean>;
|
|
260
|
+
//# sourceMappingURL=proposal-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proposal-tool.d.ts","sourceRoot":"","sources":["../src/proposal-tool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAGzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGpD,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,0EAA0E;AAC1E,MAAM,WAAW,uBAAuB,CAAC,UAAU,GAAG,OAAO;IAC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