stitchkit 0.106.0 → 0.107.0
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/CHANGELOG.md +65 -0
- package/darwin-native.cjs +16 -4
- package/dist/agent-runtime/deferred-tool-types.d.ts +6 -27
- package/dist/agent-runtime/deferred-tool-types.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/browser.js +2 -3
- package/dist/entrypoints/agent-runtime/coding-tools.js +6 -8
- package/dist/entrypoints/agent-runtime/harness.js +7 -11
- package/dist/entrypoints/agent-runtime/realtime.js +2 -3
- package/dist/entrypoints/agent-runtime/sandbox.js +6 -8
- package/dist/entrypoints/agent-runtime.d.ts +2 -1
- package/dist/entrypoints/agent-runtime.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime.js +20 -23
- package/dist/entrypoints/application/diagnostic-journal.js +3 -3
- package/dist/entrypoints/application/directory-inbox.js +8 -9
- package/dist/entrypoints/application/grammy.js +3 -3
- package/dist/entrypoints/application.js +7 -8
- package/dist/entrypoints/cli/publish.js +10 -11
- package/dist/entrypoints/cli.js +12 -16
- package/dist/entrypoints/contract.js +1 -1
- package/dist/entrypoints/files/packaging.d.ts +1 -1
- package/dist/entrypoints/files/packaging.d.ts.map +1 -1
- package/dist/entrypoints/files/packaging.js +99 -47
- package/dist/entrypoints/files.js +16 -16
- package/dist/entrypoints/index.js +41 -41
- package/dist/entrypoints/node.js +27 -29
- package/dist/entrypoints/observability.js +10 -12
- package/dist/entrypoints/process.js +2 -2
- package/dist/entrypoints/react.js +3 -4
- package/dist/entrypoints/remote.js +8 -9
- package/dist/entrypoints/server.js +48 -51
- package/dist/entrypoints/telegram/html.js +3 -3
- package/dist/entrypoints/telegram/screens.js +5 -5
- package/dist/entrypoints/telegram.js +9 -10
- package/dist/entrypoints/testing.js +8 -11
- package/dist/entrypoints/tools/connections.js +11 -11
- package/dist/entrypoints/tools/invoker.js +5 -9
- package/dist/entrypoints/tools/mcp.js +8 -14
- package/dist/entrypoints/tools.js +19 -25
- package/dist/entrypoints/tracking.js +3 -3
- package/dist/files/native-packaging-layout.d.ts +6 -2
- package/dist/files/native-packaging-layout.d.ts.map +1 -1
- package/dist/files/native-packaging.d.ts +45 -10
- package/dist/files/native-packaging.d.ts.map +1 -1
- package/dist/{index-v5ee8ath.js → index-1h2zv8rx.js} +10 -40
- package/dist/index-2kbysk9s.js +42 -0
- package/dist/{index-wbhdzxar.js → index-2s6fpehp.js} +5 -5
- package/dist/{index-4vsby8n8.js → index-4f37d3bg.js} +1 -1
- package/dist/{index-ksfagmyz.js → index-4qh90tyw.js} +8 -8
- package/dist/{index-yvfk3y36.js → index-636mggad.js} +4 -3
- package/dist/{index-f199nfq5.js → index-6y9t2fwz.js} +7 -7
- package/dist/{index-azx12jgv.js → index-7r74re56.js} +1 -1
- package/dist/{index-w8etpm8j.js → index-9j2atjte.js} +1 -1
- package/dist/{index-dsnjzb62.js → index-bnf8s6v3.js} +1 -1
- package/dist/{index-pz3y6b6g.js → index-cx2nh595.js} +3 -3
- package/dist/{index-2k91mewf.js → index-dm2fv45z.js} +9 -9
- package/dist/{index-9bskshe3.js → index-dwf0gymy.js} +10 -10
- package/dist/{index-qaqbdm7s.js → index-h7qms8f9.js} +8 -8
- package/dist/{index-drs41arz.js → index-ktjmgq9p.js} +1 -1
- package/dist/{index-1ptj98e0.js → index-mbf4h8kp.js} +2 -2
- package/dist/{index-916yh4e2.js → index-mep4sb48.js} +14 -14
- package/dist/{index-wdy68sh6.js → index-njs9gvrh.js} +17 -17
- package/dist/{index-sj28htvf.js → index-pvh3z03x.js} +1 -1
- package/dist/{index-r393tnfp.js → index-q6crhe1n.js} +4 -4
- package/dist/{index-z23rfxhj.js → index-xmgjtkvr.js} +1 -1
- package/dist/{index-gr5g3xfw.js → index-yz8x0hbx.js} +1 -1
- package/dist/{index-gxm9rc97.js → index-zrtrjkbf.js} +1 -1
- package/dist/{index-1pwwan01.js → index-zsqt5q98.js} +5 -5
- package/dist/internal/darwin-binding-error.d.ts +9 -1
- package/dist/internal/darwin-binding-error.d.ts.map +1 -1
- package/dist/internal/darwin-binding.d.ts.map +1 -1
- package/dist/process/contract.d.ts +4 -2
- package/dist/process/contract.d.ts.map +1 -1
- package/dist/tools/internal/surface-projector.d.ts +0 -7
- package/dist/tools/internal/surface-projector.d.ts.map +1 -1
- package/dist/tools/runtime-tool-declaration.d.ts +11 -0
- package/dist/tools/runtime-tool-declaration.d.ts.map +1 -1
- package/dist/tools/runtime-tool.d.ts +2 -3
- package/dist/tools/runtime-tool.d.ts.map +1 -1
- package/llms/files-packaging.txt +10 -6
- package/llms/process.txt +64 -20
- package/llms/stitchkit.txt +3 -3
- package/llms/{upgrading-0.37.0-0.53.0.txt → upgrading-0.37.0-0.58.0.txt} +209 -3
- package/llms/{upgrading-0.55.0-0.68.0.txt → upgrading-0.59.0-0.71.0.txt} +149 -209
- package/llms/{upgrading-0.69.0-0.95.0.txt → upgrading-0.72.0-0.97.0.txt} +76 -149
- package/llms/{upgrading-0.96.0-0.106.0.txt → upgrading-0.98.0-0.107.0.txt} +56 -83
- package/llms/upgrading.txt +4 -4
- package/llms-full.txt +130 -36
- package/llms.txt +6 -6
- package/package.json +4 -3
- package/dist/{index-cazts87s.js → index-07dcf2yn.js} +3 -3
- package/dist/{index-n1nszyk0.js → index-7jvwrjqa.js} +3 -3
- package/dist/{index-cmzvhhtd.js → index-85qve8mq.js} +3 -3
- package/dist/{index-rpzewktb.js → index-fynr93w4.js} +3 -3
- package/dist/{index-37asdw3a.js → index-k7qdkh3n.js} +3 -3
- package/dist/{index-x7w1z6pf.js → index-q4hjtyye.js} +4 -4
- package/dist/{index-7n68nmc6.js → index-y3nemndz.js} +3 -3
- package/dist/{index-12zsej7b.js → index-y70v24cw.js} +3 -3
- package/dist/{index-pzb63z66.js → index-ykdcnq1f.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,71 @@ additive**; the first breaking change landed in 0.10.0. Grep the file for
|
|
|
15
15
|
|
|
16
16
|
## [Unreleased]
|
|
17
17
|
|
|
18
|
+
## [0.107.0] - 2026-10-06
|
|
19
|
+
|
|
20
|
+
### ⚠️ Breaking changes
|
|
21
|
+
|
|
22
|
+
**Who must act:** builds that call `createNativePackaging` with `delivery: 'embedded'`; also rebuild
|
|
23
|
+
any artifact made without the packaging plugin by 0.105.0–0.106.1.
|
|
24
|
+
|
|
25
|
+
- `stitchkit/files/packaging` — **embedded delivery names no output paths.** A standalone executable
|
|
26
|
+
carries the Darwin addon inside itself, so `createNativePackaging({ delivery: 'embedded' })` takes
|
|
27
|
+
only `platform` and `architecture`; `entryPath` and `assetPath` changed nothing in the executable
|
|
28
|
+
and are now refused by the type and the schema. The ready result types its addon as
|
|
29
|
+
`NativePackagingEmbeddedAsset` (`bytes`, `size`, `sha256`, no `outputPath`), with
|
|
30
|
+
`NativePackagingEmbeddedOptions` and `NativePackagingEmbeddedResult` beside it. Companion
|
|
31
|
+
delivery is unchanged.
|
|
32
|
+
`// before: createNativePackaging({ platform: 'darwin', architecture: 'arm64', delivery: 'embedded', entryPath, assetPath })`
|
|
33
|
+
→ `// after: createNativePackaging({ platform: 'darwin', architecture: 'arm64', delivery: 'embedded' })`
|
|
34
|
+
**Who must act:** builds with `delivery: 'embedded'`. See
|
|
35
|
+
[migration](docs/guide/upgrading.md#embedded-native-packaging-names-no-paths). → ADR 0252
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
|
|
39
|
+
- `stitchkit/files`, `stitchkit/server`, `stitchkit/process` — a bundle or compiled executable
|
|
40
|
+
built without native packaging no longer carries the absolute path of the package on the build
|
|
41
|
+
machine. Since 0.105.0 the default Darwin loader computed its addon path from `__dirname`, which
|
|
42
|
+
Bun inlines as a string, so the artifact named the builder's directories and on another Mac
|
|
43
|
+
looked for the addon there. The loader now reads its own file through `module.filename`, which is
|
|
44
|
+
not an absolute path inside a bundle, and refuses there: the first call that needs the addon
|
|
45
|
+
reports the Darwin backend `unavailable` with the new stage `packaging` and native code
|
|
46
|
+
`STITCHKIT_NATIVE_NOT_PACKAGED`, and the message names `createNativePackaging`. An installed
|
|
47
|
+
package loads the addon as before (ADR 0252).
|
|
48
|
+
- `stitchkit` — the package declares `"sideEffects": false`: it has no import side effects, so a
|
|
49
|
+
bundler drops what a consumer does not use. A bundle that imports only the managed file boundary
|
|
50
|
+
from `stitchkit/files` no longer carries the lock, process identity or the Darwin loader, and
|
|
51
|
+
needs no decision about native packaging.
|
|
52
|
+
|
|
53
|
+
- `stitchkit/agent-runtime` — `createDeferredAgentToolSurface({ runtimeTools })` accepts a
|
|
54
|
+
`RuntimeToolDefinition[]` from `stitchkit/tools` again, without a cast. Since 0.105.0 the
|
|
55
|
+
registration type holds `present` as `unknown` while the deferred catalog expected
|
|
56
|
+
`{ agent?: unknown }`, so the two public types of one package no longer met.
|
|
57
|
+
`DeferredAgentRuntimeToolDefinition.present` is open like the registration's; a presenter that is
|
|
58
|
+
not a function, or that has no `output` schema, is still refused at construction.
|
|
59
|
+
|
|
60
|
+
### Documentation
|
|
61
|
+
|
|
62
|
+
- The 0.105.0 entry "bundles no longer emit Darwin addons" said an unpackaged bundle looks for the
|
|
63
|
+
addon beside the original package files and reports the backend `unavailable` elsewhere. In
|
|
64
|
+
0.105.0–0.106.1 "beside the original package files" was the absolute path of the package on the
|
|
65
|
+
build machine, inlined into the artifact. The native IO guide and the 0.103.13 migration now say
|
|
66
|
+
what each release does, which calls load the addon (process identity, exclusive locks and
|
|
67
|
+
contained Agent file operations, on macOS only; never the managed file boundary), and how to
|
|
68
|
+
check an artifact by its loader instead of by the presence of `.node` bytes.
|
|
69
|
+
|
|
70
|
+
## [0.106.1] - 2026-10-06
|
|
71
|
+
|
|
72
|
+
### Documentation
|
|
73
|
+
|
|
74
|
+
- `stitchkit/process` — the native IO guide no longer says `setsid -f helper` returns once the new
|
|
75
|
+
session exists: it forks and returns at once, its child calls `setsid()` a moment later, and a
|
|
76
|
+
leader that exits immediately still caught it in the group in 13 of 300 launches under load. The
|
|
77
|
+
deterministic form is a leader that waits until the helper has reported, after its own
|
|
78
|
+
`setsid()`, that it left.
|
|
79
|
+
- `stitchkit/process` — `NativeCommandError` names both causes of `COMMAND_CLEANUP`: handles left
|
|
80
|
+
open past `cleanupTimeoutMs` after a stop, and output pipes left open past `drainTimeoutMs` after
|
|
81
|
+
the leader exited. The error's `cause` holds the failure of the bound that tripped.
|
|
82
|
+
|
|
18
83
|
## [0.106.0] - 2026-10-06
|
|
19
84
|
|
|
20
85
|
### ⚠️ Breaking changes
|
package/darwin-native.cjs
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
/** Generated from the owning native asset graph. Loading remains lazy. */
|
|
2
|
-
// The addon path is computed, so a bundler never follows
|
|
3
|
-
//
|
|
2
|
+
// The addon path is computed from this file's own location, so a bundler never follows
|
|
3
|
+
// or embeds it and the build machine never becomes a literal of the artifact. Inside a
|
|
4
|
+
// bundle the file has no location (`module.filename` is not absolute there): loading
|
|
5
|
+
// refuses and names the packaging plugin, which replaces this file with a static loader
|
|
6
|
+
// when an artifact must carry the addon.
|
|
4
7
|
module.exports = function loadDarwinAddon() {
|
|
8
|
+
const location = module.filename;
|
|
9
|
+
if (typeof location !== 'string' || !location.startsWith('/')) {
|
|
10
|
+
const refusal = new Error(
|
|
11
|
+
'The Darwin addon is not packaged into this bundle: build it with createNativePackaging from stitchkit/files/packaging',
|
|
12
|
+
);
|
|
13
|
+
refusal.code = 'STITCHKIT_NATIVE_NOT_PACKAGED';
|
|
14
|
+
throw refusal;
|
|
15
|
+
}
|
|
16
|
+
const directory = location.slice(0, location.lastIndexOf('/'));
|
|
5
17
|
try {
|
|
6
|
-
if (process.arch === 'arm64') return require(`${
|
|
7
|
-
if (process.arch === 'x64') return require(`${
|
|
18
|
+
if (process.arch === 'arm64') return require(`${directory}/native/darwin-arm64.node`);
|
|
19
|
+
if (process.arch === 'x64') return require(`${directory}/native/darwin-x64.node`);
|
|
8
20
|
throw new Error('Unsupported Darwin addon architecture');
|
|
9
21
|
} catch (cause) {
|
|
10
22
|
throw new Error('Darwin addon loading failed', { cause });
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import type { ToolSet } from 'ai';
|
|
2
|
-
import {
|
|
3
|
-
import type { HttpMethod, ToolTransport } from '../contract/define.js';
|
|
4
|
-
import type { EndpointToolAnnotations, EndpointUiMeta } from '../contract/tool-options.js';
|
|
2
|
+
import { z } from 'zod';
|
|
5
3
|
import type { ServiceDef } from '../server/types.js';
|
|
6
4
|
import type { ErrorHintFn, ToolCallHooks, ToolLifecycle } from '../tools/execute-hooks.js';
|
|
7
5
|
import type { ToolExtend } from '../tools/mount.js';
|
|
6
|
+
import type { DeferredAgentRuntimeToolDefinition } from '../tools/runtime-tool-declaration.js';
|
|
8
7
|
import type { AgentRuntimePrepareStep, AgentRuntimeRunContext } from './runtime.js';
|
|
9
|
-
export declare const DeferredAgentToolSearchInputSchema: ZodObject<{
|
|
8
|
+
export declare const DeferredAgentToolSearchInputSchema: z.ZodObject<{
|
|
10
9
|
query: z.ZodString;
|
|
11
10
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
12
11
|
inactive_call: "inactive_call";
|
|
13
12
|
}>>;
|
|
14
13
|
}, z.core.$strip>;
|
|
15
|
-
export declare const DeferredAgentToolMatchSchema: ZodObject<{
|
|
14
|
+
export declare const DeferredAgentToolMatchSchema: z.ZodObject<{
|
|
16
15
|
name: z.ZodString;
|
|
17
16
|
description: z.ZodString;
|
|
18
17
|
}, z.core.$strip>;
|
|
19
|
-
export declare const DeferredAgentToolReceiptSchema: ZodObject<{
|
|
18
|
+
export declare const DeferredAgentToolReceiptSchema: z.ZodObject<{
|
|
20
19
|
schemaVersion: z.ZodLiteral<1>;
|
|
21
20
|
kind: z.ZodLiteral<"stitchkit.deferred-tool-selection">;
|
|
22
21
|
status: z.ZodEnum<{
|
|
@@ -28,33 +27,13 @@ export declare const DeferredAgentToolReceiptSchema: ZodObject<{
|
|
|
28
27
|
runId: z.ZodString;
|
|
29
28
|
surfaceKey: z.ZodString;
|
|
30
29
|
selected: z.ZodArray<z.ZodString>;
|
|
31
|
-
matches: z.ZodArray<ZodObject<{
|
|
30
|
+
matches: z.ZodArray<z.ZodObject<{
|
|
32
31
|
name: z.ZodString;
|
|
33
32
|
description: z.ZodString;
|
|
34
33
|
}, z.core.$strip>>;
|
|
35
34
|
truncated: z.ZodBoolean;
|
|
36
35
|
}, z.core.$strip>;
|
|
37
36
|
export type DeferredAgentToolReceipt = z.infer<typeof DeferredAgentToolReceiptSchema>;
|
|
38
|
-
export interface DeferredAgentRuntimeToolDefinition {
|
|
39
|
-
name: string;
|
|
40
|
-
description: string;
|
|
41
|
-
identity: {
|
|
42
|
-
serviceName: string;
|
|
43
|
-
action: string;
|
|
44
|
-
method: HttpMethod;
|
|
45
|
-
scope?: string;
|
|
46
|
-
meta?: Record<string, unknown>;
|
|
47
|
-
};
|
|
48
|
-
input: ZodObject;
|
|
49
|
-
output?: ZodType;
|
|
50
|
-
transports?: readonly ToolTransport[];
|
|
51
|
-
annotations?: EndpointToolAnnotations;
|
|
52
|
-
ui?: EndpointUiMeta;
|
|
53
|
-
handler: unknown;
|
|
54
|
-
present?: {
|
|
55
|
-
agent?: unknown;
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
37
|
export interface DeferredAgentToolManifestEntry {
|
|
59
38
|
name: string;
|
|
60
39
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deferred-tool-types.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/deferred-tool-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"deferred-tool-types.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/deferred-tool-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,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CAAC;IACF,UAAU,EAAE;QACV,gBAAgB,EAAE,MAAM,CAAC;QACzB,cAAc,EAAE,MAAM,CAAC;QACvB,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,OAAO,CAAC,CAAC,KAAK,EAAE,sBAAsB,GAAG,IAAI,CAAC;CAC/C;AACD,MAAM,MAAM,8BAA8B,CAAC,OAAO,IAAI,6BAA6B,CAAC,OAAO,CAAC,GAC1F,CACI,kCAAkC,GAClC;IACE,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,kCAAkC,CAAC,CAAC,CAAC;IACvE,aAAa,CAAC,KAAK,EAAE,sBAAsB,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC;CAC/D,CACJ,CAAC;AACJ,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,kCAAkC,CAAC;IAC/C,QAAQ,EAAE,SAAS,8BAA8B,EAAE,CAAC;IACpD,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,8BAA8B,CAAC,CAAC;IAC5D,WAAW,EAAE,8BAA8B,CAAC;IAC5C,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;CAC7B;AACD,MAAM,WAAW,2BAA2B,CAAC,OAAO;IAClD,KAAK,CACH,UAAU,EAAE,sBAAsB,CAAC,OAAO,CAAC,EAC3C,MAAM,CAAC,EAAE,4BAA4B,GACpC,OAAO,CAAC;IACX,WAAW,CACT,sBAAsB,CAAC,EAAE,uBAAuB,CAAC,OAAO,CAAC,GACxD,uBAAuB,CAAC,OAAO,CAAC,CAAC;CACrC"}
|
|
@@ -68,12 +68,11 @@ import {
|
|
|
68
68
|
AgentBrowserRequestSchema2,
|
|
69
69
|
agentControlRealtimeContract2
|
|
70
70
|
} from "../../index-yt7gyg5x.js";
|
|
71
|
-
import"../../index-
|
|
72
|
-
import"../../index-pzb63z66.js";
|
|
71
|
+
import"../../index-ykdcnq1f.js";
|
|
73
72
|
import"../../index-4s0fep5q.js";
|
|
74
73
|
import {
|
|
75
74
|
bindRealtimeClient2
|
|
76
|
-
} from "../../index-
|
|
75
|
+
} from "../../index-pvh3z03x.js";
|
|
77
76
|
import {
|
|
78
77
|
assertPositiveSafeInteger
|
|
79
78
|
} from "../../index-0s4xebbg.js";
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import"../../index-ct75c3at.js";
|
|
2
|
-
import"../../index-
|
|
3
|
-
import"../../index-
|
|
4
|
-
import"../../index-rpzewktb.js";
|
|
2
|
+
import"../../index-q6crhe1n.js";
|
|
3
|
+
import"../../index-fynr93w4.js";
|
|
5
4
|
import {
|
|
6
5
|
AgentCodingToolLimitsSchema2,
|
|
7
6
|
AgentCodingToolAuthorizationSchema2,
|
|
8
7
|
AgentCodingToolPathAuthorizationSchema2,
|
|
9
8
|
createAgentCodingTools2
|
|
10
|
-
} from "../../index-
|
|
11
|
-
import"../../index-
|
|
12
|
-
import"../../index-j4zh647a.js";
|
|
9
|
+
} from "../../index-dwf0gymy.js";
|
|
10
|
+
import"../../index-2kbysk9s.js";
|
|
13
11
|
import"../../index-4q9jvqg7.js";
|
|
14
12
|
import"../../index-8ks9b85e.js";
|
|
15
|
-
import"../../index-
|
|
16
|
-
import"../../index-
|
|
13
|
+
import"../../index-zrtrjkbf.js";
|
|
14
|
+
import"../../index-636mggad.js";
|
|
17
15
|
export {
|
|
18
16
|
AgentCodingToolAuthorizationSchema2 as AgentCodingToolAuthorizationSchema,
|
|
19
17
|
AgentCodingToolLimitsSchema2 as AgentCodingToolLimitsSchema,
|
|
@@ -5,33 +5,29 @@ import"../../index-8kzct1d6.js";
|
|
|
5
5
|
import {
|
|
6
6
|
composeAgentPrompt2,
|
|
7
7
|
createAgentRuntime2
|
|
8
|
-
} from "../../index-
|
|
8
|
+
} from "../../index-yz8x0hbx.js";
|
|
9
9
|
import"../../index-qaet40b2.js";
|
|
10
10
|
import"../../index-mnkk1ffz.js";
|
|
11
|
-
import"../../index-
|
|
12
|
-
import"../../index-rpzewktb.js";
|
|
13
|
-
import"../../index-yex7eg1v.js";
|
|
11
|
+
import"../../index-fynr93w4.js";
|
|
14
12
|
import"../../index-6yxhe58g.js";
|
|
15
13
|
import"../../index-ct75c3at.js";
|
|
16
|
-
import"../../index-
|
|
17
|
-
import"../../index-
|
|
18
|
-
import"../../index-556g5hsh.js";
|
|
14
|
+
import"../../index-q6crhe1n.js";
|
|
15
|
+
import"../../index-dm2fv45z.js";
|
|
19
16
|
import"../../index-c17xcx4k.js";
|
|
20
17
|
import"../../index-0gs4ymfj.js";
|
|
21
18
|
import"../../index-5w6t91ze.js";
|
|
22
|
-
import"../../index-
|
|
19
|
+
import"../../index-2kbysk9s.js";
|
|
23
20
|
import"../../index-b0w7rbpt.js";
|
|
24
21
|
import {
|
|
25
22
|
walkContainedFiles
|
|
26
|
-
} from "../../index-
|
|
23
|
+
} from "../../index-zrtrjkbf.js";
|
|
27
24
|
import {
|
|
28
25
|
createAgentHarnessControlServer2
|
|
29
26
|
} from "../../index-hjvje0pf.js";
|
|
30
27
|
import"../../index-299sm5tr.js";
|
|
31
28
|
import {
|
|
32
29
|
defineRuntimeTool2
|
|
33
|
-
} from "../../index-
|
|
34
|
-
import"../../index-7n68nmc6.js";
|
|
30
|
+
} from "../../index-636mggad.js";
|
|
35
31
|
|
|
36
32
|
// src/agent-runtime/harness-contract.ts
|
|
37
33
|
import { z } from "zod";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import"../../index-
|
|
2
|
-
import"../../index-pzb63z66.js";
|
|
1
|
+
import"../../index-ykdcnq1f.js";
|
|
3
2
|
import"../../index-4s0fep5q.js";
|
|
4
3
|
import"../../index-814xpr6d.js";
|
|
5
4
|
import"../../index-8kzct1d6.js";
|
|
@@ -15,7 +14,7 @@ import {
|
|
|
15
14
|
import"../../index-299sm5tr.js";
|
|
16
15
|
import {
|
|
17
16
|
bindRealtimeServer2
|
|
18
|
-
} from "../../index-
|
|
17
|
+
} from "../../index-xmgjtkvr.js";
|
|
19
18
|
import {
|
|
20
19
|
withSignalDeadline
|
|
21
20
|
} from "../../index-9tqbxv5p.js";
|
|
@@ -3,15 +3,13 @@ import {
|
|
|
3
3
|
missingSandboxRestrictions2,
|
|
4
4
|
codingRefusal
|
|
5
5
|
} from "../../index-8ks9b85e.js";
|
|
6
|
-
import"../../index-j9gxbztg.js";
|
|
7
6
|
import"../../index-ct75c3at.js";
|
|
8
|
-
import"../../index-
|
|
9
|
-
import"../../index-
|
|
7
|
+
import"../../index-q6crhe1n.js";
|
|
8
|
+
import"../../index-fynr93w4.js";
|
|
10
9
|
import {
|
|
11
10
|
createAgentCodingTools2
|
|
12
|
-
} from "../../index-
|
|
13
|
-
import"../../index-
|
|
14
|
-
import"../../index-j4zh647a.js";
|
|
11
|
+
} from "../../index-dwf0gymy.js";
|
|
12
|
+
import"../../index-2kbysk9s.js";
|
|
15
13
|
import {
|
|
16
14
|
COMMAND_CLEANUP_TIMEOUT_MS,
|
|
17
15
|
NativeCommandError2,
|
|
@@ -20,11 +18,11 @@ import {
|
|
|
20
18
|
terminateOwnedGroup,
|
|
21
19
|
startNativeCommand
|
|
22
20
|
} from "../../index-4q9jvqg7.js";
|
|
23
|
-
import"../../index-
|
|
21
|
+
import"../../index-zrtrjkbf.js";
|
|
24
22
|
import {
|
|
25
23
|
MAX_TIMER_MS
|
|
26
24
|
} from "../../index-eemvahkc.js";
|
|
27
|
-
import"../../index-
|
|
25
|
+
import"../../index-636mggad.js";
|
|
28
26
|
|
|
29
27
|
// src/agent-runtime/sandbox-bubblewrap.ts
|
|
30
28
|
import { mkdir as mkdir2, mkdtemp, realpath, rm as rm2 } from "node:fs/promises";
|
|
@@ -6,7 +6,7 @@ export { type AgentCompactionContext, type AgentCompactionResult, type Compactab
|
|
|
6
6
|
export { AgentContextOverflowError } from '../agent-runtime/context-refusal.js';
|
|
7
7
|
export { type AgentConversationMessagePage, AgentConversationMessagePageSchema, type AgentConversationPage, AgentConversationPageSchema, type AgentConversationReader, type AgentConversationSummary, AgentConversationSummarySchema, } from '../agent-runtime/conversations.js';
|
|
8
8
|
export { type AgentCoordinatedRun, type AgentInputPolicy, type AgentRunTicket, type AgentSessionCloseOptions, type AgentSessionCloseResult, type AgentSessionCoordinator, type AgentStopReason, createAgentSessionCoordinator, } from '../agent-runtime/coordinator.js';
|
|
9
|
-
export { createDeferredAgentToolSurface, type
|
|
9
|
+
export { createDeferredAgentToolSurface, type DeferredAgentToolCommonConfig, type DeferredAgentToolController, type DeferredAgentToolEvent, type DeferredAgentToolManifestEntry, DeferredAgentToolMatchSchema, type DeferredAgentToolMountConfig, type DeferredAgentToolReceipt, DeferredAgentToolReceiptSchema, type DeferredAgentToolSearchContext, DeferredAgentToolSearchInputSchema, type DeferredAgentToolSurfaceConfig, type DeferredAgentToolSurfaceDefinition, } from '../agent-runtime/deferred-tools.js';
|
|
10
10
|
export { type AgentEventSearchResult, AgentEventSearchResultSchema, createSqliteAgentEventSearch, } from '../agent-runtime/event-search.js';
|
|
11
11
|
export { createAgentEventSearchTools } from '../agent-runtime/event-search-tools.js';
|
|
12
12
|
export { AgentAdmissionEventSchema, AgentAttemptResetEventSchema, AgentCheckpointEventSchema, AgentReasoningDeltaEventSchema, AgentReasoningEndEventSchema, AgentReasoningStartEventSchema, AgentRunOperationEventSchema, AgentRunStateEventSchema, type AgentRuntimeCursorAdvance, type AgentRuntimeEvent, type AgentRuntimeEventCursor, AgentRuntimeEventCursorSchema, AgentRuntimeEventSchema, type AgentRuntimeEventSink, type AgentRuntimeEventSinkConfig, type AgentRuntimePublisher, AgentTerminalEventSchema, AgentToolStatusEventSchema, AgentTransientDeltaEventSchema, advanceAgentRuntimeEventCursor, agentDurableEventId, createAgentRuntimeEventSink, } from '../agent-runtime/events.js';
|
|
@@ -43,4 +43,5 @@ export { AgentRuntimeConflictError } from '../agent-runtime/terminal-commit.js';
|
|
|
43
43
|
export { type AgentHistoryEvidencePolicy, isAssistantHistoryEvidence, } from '../agent-runtime/terminal-status.js';
|
|
44
44
|
export { DURABILITY_STEP_EVENT_KIND, ParkAbortedError, ParkRecordDecodeError, StepAbortedError, StepResultDecodeError, StepResultNotSerializableError, type StepRunOptions, } from '../durability/engine.js';
|
|
45
45
|
export { type AgentStoreEventEnvelope, AgentStoreEventEnvelopeSchema, type AgentStoreEventKind, AgentStoreEventKindSchema, type AgentStoreEventPage, AgentStoreEventPageSchema, type AppendAgentStoreEvent, AppendAgentStoreEventSchema, type ReadAgentStoreEvents, ReadAgentStoreEventsSchema, } from '../durability/events.js';
|
|
46
|
+
export type { DeferredAgentRuntimeToolDefinition } from '../tools/runtime-tool-declaration.js';
|
|
46
47
|
//# sourceMappingURL=agent-runtime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-runtime.d.ts","sourceRoot":"","sources":["../../src/entrypoints/agent-runtime.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,6BAA6B,EAC7B,KAAK,sBAAsB,EAC3B,4BAA4B,EAC5B,KAAK,wBAAwB,EAC7B,8BAA8B,EAC9B,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,eAAe,EACpB,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,2BAA2B,CAAC;AACnC,YAAY,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,6BAA6B,CAAC;AACrC,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yB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EACL,KAAK,0BAA0B,EAC/B,0BAA0B,GAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,0BAA0B,EAC1B,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,8BAA8B,EAC9B,KAAK,cAAc,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,uBAAuB,EAC5B,6BAA6B,EAC7B,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,oBAAoB,EACzB,0BAA0B,GAC3B,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,kCAAkC,EAAE,MAAM,mCAAmC,CAAC"}
|
|
@@ -111,36 +111,22 @@ import {
|
|
|
111
111
|
agentGoalStateSlot2,
|
|
112
112
|
agentTodoStateSlot2,
|
|
113
113
|
createAgentRuntime2
|
|
114
|
-
} from "../index-
|
|
114
|
+
} from "../index-yz8x0hbx.js";
|
|
115
115
|
import {
|
|
116
116
|
AgentConversationSummarySchema2,
|
|
117
117
|
AgentConversationPageSchema2,
|
|
118
118
|
AgentConversationMessagePageSchema2
|
|
119
119
|
} from "../index-kqnd6a85.js";
|
|
120
|
-
import
|
|
121
|
-
DURABILITY_STEP_EVENT_KIND2,
|
|
122
|
-
StepResultDecodeError2,
|
|
123
|
-
StepResultNotSerializableError2,
|
|
124
|
-
StepAbortedError2,
|
|
125
|
-
ParkRecordDecodeError2,
|
|
126
|
-
ParkAbortedError2
|
|
127
|
-
} from "../index-c17xcx4k.js";
|
|
128
|
-
import"../index-j9gxbztg.js";
|
|
129
|
-
import"../index-rpzewktb.js";
|
|
130
|
-
import {
|
|
131
|
-
createTraceContext2,
|
|
132
|
-
childSpan2
|
|
133
|
-
} from "../index-yex7eg1v.js";
|
|
120
|
+
import"../index-fynr93w4.js";
|
|
134
121
|
import"../index-6yxhe58g.js";
|
|
135
122
|
import"../index-ct75c3at.js";
|
|
136
|
-
import"../index-
|
|
137
|
-
import"../index-
|
|
138
|
-
import"../index-
|
|
139
|
-
import"../index-wbhdzxar.js";
|
|
123
|
+
import"../index-q6crhe1n.js";
|
|
124
|
+
import"../index-dm2fv45z.js";
|
|
125
|
+
import"../index-2s6fpehp.js";
|
|
140
126
|
import {
|
|
141
127
|
mountAgent2,
|
|
142
128
|
buildToolManifest2
|
|
143
|
-
} from "../index-
|
|
129
|
+
} from "../index-h7qms8f9.js";
|
|
144
130
|
import {
|
|
145
131
|
createBoundedSinkManager
|
|
146
132
|
} from "../index-qaet40b2.js";
|
|
@@ -178,6 +164,14 @@ import {
|
|
|
178
164
|
defineModelRegistry2,
|
|
179
165
|
validateAgentModelSnapshot2
|
|
180
166
|
} from "../index-nx6eazt0.js";
|
|
167
|
+
import {
|
|
168
|
+
DURABILITY_STEP_EVENT_KIND2,
|
|
169
|
+
StepResultDecodeError2,
|
|
170
|
+
StepResultNotSerializableError2,
|
|
171
|
+
StepAbortedError2,
|
|
172
|
+
ParkRecordDecodeError2,
|
|
173
|
+
ParkAbortedError2
|
|
174
|
+
} from "../index-c17xcx4k.js";
|
|
181
175
|
import {
|
|
182
176
|
AgentSandboxRestrictionSchema2,
|
|
183
177
|
AgentSandboxGradeSchema2,
|
|
@@ -198,12 +192,15 @@ import {
|
|
|
198
192
|
import {
|
|
199
193
|
assertPositiveSafeInteger
|
|
200
194
|
} from "../index-0s4xebbg.js";
|
|
201
|
-
import"../index-
|
|
195
|
+
import"../index-cx2nh595.js";
|
|
202
196
|
import {
|
|
203
197
|
defineRuntimeTool2,
|
|
204
198
|
executableAgentRuntimeTools
|
|
205
|
-
} from "../index-
|
|
206
|
-
import
|
|
199
|
+
} from "../index-636mggad.js";
|
|
200
|
+
import {
|
|
201
|
+
createTraceContext2,
|
|
202
|
+
childSpan2
|
|
203
|
+
} from "../index-yex7eg1v.js";
|
|
207
204
|
|
|
208
205
|
// src/agent-runtime/child-tools.ts
|
|
209
206
|
import { z as z2 } from "zod";
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
createBoundedChannel2
|
|
19
19
|
} from "../../index-w0eqdhyd.js";
|
|
20
|
+
import"../../index-2kbysk9s.js";
|
|
21
|
+
import"../../index-7r74re56.js";
|
|
20
22
|
import {
|
|
21
23
|
attemptExclusiveLock
|
|
22
|
-
} from "../../index-
|
|
23
|
-
import"../../index-azx12jgv.js";
|
|
24
|
-
import"../../index-v5ee8ath.js";
|
|
24
|
+
} from "../../index-bnf8s6v3.js";
|
|
25
25
|
import {
|
|
26
26
|
BoundedFileReadError,
|
|
27
27
|
openRegularFile
|
|
@@ -10,20 +10,19 @@ import {
|
|
|
10
10
|
renewEntry,
|
|
11
11
|
forgetMissing
|
|
12
12
|
} from "../../index-msfpyy2f.js";
|
|
13
|
-
import"../../index-j4zh647a.js";
|
|
14
13
|
import {
|
|
15
14
|
backoffDelay
|
|
16
15
|
} from "../../index-g6a3na27.js";
|
|
17
|
-
import"../../index-
|
|
18
|
-
import"../../index-
|
|
19
|
-
import"../../index-
|
|
20
|
-
import {
|
|
21
|
-
createFileStateStore2
|
|
22
|
-
} from "../../index-1ptj98e0.js";
|
|
16
|
+
import"../../index-2kbysk9s.js";
|
|
17
|
+
import"../../index-7r74re56.js";
|
|
18
|
+
import"../../index-bnf8s6v3.js";
|
|
23
19
|
import {
|
|
24
20
|
defineManagedResource2
|
|
25
21
|
} from "../../index-50ejfz75.js";
|
|
26
|
-
import
|
|
22
|
+
import {
|
|
23
|
+
createFileStateStore2
|
|
24
|
+
} from "../../index-mbf4h8kp.js";
|
|
25
|
+
import"../../index-4f37d3bg.js";
|
|
27
26
|
import {
|
|
28
27
|
raceAbort
|
|
29
28
|
} from "../../index-b0kddvzw.js";
|
|
@@ -37,7 +36,7 @@ import {
|
|
|
37
36
|
} from "../../index-m616f0yz.js";
|
|
38
37
|
import {
|
|
39
38
|
writeAtomicFileData
|
|
40
|
-
} from "../../index-
|
|
39
|
+
} from "../../index-07dcf2yn.js";
|
|
41
40
|
import {
|
|
42
41
|
closeAfter,
|
|
43
42
|
publishAtomicFile
|
|
@@ -69,9 +69,6 @@ import {
|
|
|
69
69
|
ApplicationResourceShutdownSchema2,
|
|
70
70
|
ApplicationShutdownResultSchema2
|
|
71
71
|
} from "../index-w5s3xftz.js";
|
|
72
|
-
import {
|
|
73
|
-
AppError2
|
|
74
|
-
} from "../index-j9gxbztg.js";
|
|
75
72
|
import"../index-q0th8q0z.js";
|
|
76
73
|
import {
|
|
77
74
|
ApplicationShutdownOptionsSchema2,
|
|
@@ -81,11 +78,7 @@ import {
|
|
|
81
78
|
ApplicationRestartResultSchema2,
|
|
82
79
|
ApplicationAdmissionError2,
|
|
83
80
|
createApplication2
|
|
84
|
-
} from "../index-
|
|
85
|
-
import"../index-sznqf8fx.js";
|
|
86
|
-
import {
|
|
87
|
-
measureSize2
|
|
88
|
-
} from "../index-e6c2spsd.js";
|
|
81
|
+
} from "../index-y70v24cw.js";
|
|
89
82
|
import"../index-rfkh44ss.js";
|
|
90
83
|
import {
|
|
91
84
|
diff,
|
|
@@ -103,9 +96,15 @@ import {
|
|
|
103
96
|
import {
|
|
104
97
|
MAX_TIMER_MS
|
|
105
98
|
} from "../index-eemvahkc.js";
|
|
99
|
+
import {
|
|
100
|
+
measureSize2
|
|
101
|
+
} from "../index-e6c2spsd.js";
|
|
106
102
|
import {
|
|
107
103
|
argumentsDigest
|
|
108
104
|
} from "../index-r7a7r7ha.js";
|
|
105
|
+
import {
|
|
106
|
+
AppError2
|
|
107
|
+
} from "../index-j9gxbztg.js";
|
|
109
108
|
import {
|
|
110
109
|
serializeCanonicalJson
|
|
111
110
|
} from "../index-zsvzhjtk.js";
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import"../../index-xqhede6x.js";
|
|
2
|
-
import"../../index-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
createManagedFileBoundary2
|
|
6
|
-
} from "../../index-w8etpm8j.js";
|
|
7
|
-
import"../../index-dsnjzb62.js";
|
|
8
|
-
import"../../index-azx12jgv.js";
|
|
9
|
-
import"../../index-v5ee8ath.js";
|
|
2
|
+
import"../../index-2kbysk9s.js";
|
|
3
|
+
import"../../index-7r74re56.js";
|
|
4
|
+
import"../../index-bnf8s6v3.js";
|
|
10
5
|
import {
|
|
11
6
|
signCliManifest2,
|
|
12
7
|
verifyCliManifest2,
|
|
@@ -20,13 +15,17 @@ import {
|
|
|
20
15
|
gzipCliAsset,
|
|
21
16
|
decodeCliAsset,
|
|
22
17
|
compareCliVersions2
|
|
23
|
-
} from "../../index-
|
|
18
|
+
} from "../../index-ktjmgq9p.js";
|
|
24
19
|
import {
|
|
25
20
|
withExclusiveLock2
|
|
26
|
-
} from "../../index-
|
|
21
|
+
} from "../../index-4f37d3bg.js";
|
|
22
|
+
import {
|
|
23
|
+
ManagedFileError2,
|
|
24
|
+
createManagedFileBoundary2
|
|
25
|
+
} from "../../index-9j2atjte.js";
|
|
27
26
|
import {
|
|
28
27
|
writeFileAtomic2
|
|
29
|
-
} from "../../index-
|
|
28
|
+
} from "../../index-07dcf2yn.js";
|
|
30
29
|
import {
|
|
31
30
|
AtomicFilePublicationError2,
|
|
32
31
|
assertDirectoryDurability,
|
package/dist/entrypoints/cli.js
CHANGED
|
@@ -15,18 +15,12 @@ import {
|
|
|
15
15
|
renderCliView2,
|
|
16
16
|
pollUntilDone2,
|
|
17
17
|
createCli2
|
|
18
|
-
} from "../index-
|
|
19
|
-
import"../index-
|
|
20
|
-
import {
|
|
21
|
-
AppError2
|
|
22
|
-
} from "../index-j9gxbztg.js";
|
|
23
|
-
import"../index-rpzewktb.js";
|
|
24
|
-
import"../index-556g5hsh.js";
|
|
25
|
-
import"../index-2k91mewf.js";
|
|
18
|
+
} from "../index-4qh90tyw.js";
|
|
19
|
+
import"../index-fynr93w4.js";
|
|
26
20
|
import"../index-ct75c3at.js";
|
|
27
|
-
import"../index-
|
|
28
|
-
import"../index-
|
|
29
|
-
import"../index-
|
|
21
|
+
import"../index-q6crhe1n.js";
|
|
22
|
+
import"../index-dm2fv45z.js";
|
|
23
|
+
import"../index-2s6fpehp.js";
|
|
30
24
|
import {
|
|
31
25
|
CliBuildSignatureSchema2,
|
|
32
26
|
cliManifestSigningPayload2,
|
|
@@ -45,16 +39,18 @@ import {
|
|
|
45
39
|
checkCliUpdate2,
|
|
46
40
|
applyCliUpdate2,
|
|
47
41
|
rollbackCliUpdate2
|
|
48
|
-
} from "../index-
|
|
42
|
+
} from "../index-ktjmgq9p.js";
|
|
49
43
|
import {
|
|
50
44
|
writeFileAtomicSync2
|
|
51
|
-
} from "../index-
|
|
52
|
-
import"../index-
|
|
53
|
-
import"../index-
|
|
45
|
+
} from "../index-07dcf2yn.js";
|
|
46
|
+
import"../index-cx2nh595.js";
|
|
47
|
+
import"../index-636mggad.js";
|
|
54
48
|
import {
|
|
55
49
|
argumentsDigest
|
|
56
50
|
} from "../index-r7a7r7ha.js";
|
|
57
|
-
import
|
|
51
|
+
import {
|
|
52
|
+
AppError2
|
|
53
|
+
} from "../index-j9gxbztg.js";
|
|
58
54
|
import {
|
|
59
55
|
safeJsonParse
|
|
60
56
|
} from "../index-zsarb5xp.js";
|