stitchkit 0.119.0 → 0.121.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 +68 -0
- package/README.md +10 -7
- package/dist/agent-runtime/coding-discovery.d.ts +25 -0
- package/dist/agent-runtime/coding-discovery.d.ts.map +1 -0
- package/dist/agent-runtime/coding-search-automaton.d.ts +37 -0
- package/dist/agent-runtime/coding-search-automaton.d.ts.map +1 -0
- package/dist/agent-runtime/coding-search-case-fold.d.ts +4 -0
- package/dist/agent-runtime/coding-search-case-fold.d.ts.map +1 -0
- package/dist/agent-runtime/coding-search-class-ranges.d.ts +10 -0
- package/dist/agent-runtime/coding-search-class-ranges.d.ts.map +1 -0
- package/dist/agent-runtime/coding-search-contract.d.ts +86 -0
- package/dist/agent-runtime/coding-search-contract.d.ts.map +1 -0
- package/dist/agent-runtime/coding-search-limits.d.ts +13 -0
- package/dist/agent-runtime/coding-search-limits.d.ts.map +1 -0
- package/dist/agent-runtime/coding-search-matcher.d.ts +33 -0
- package/dist/agent-runtime/coding-search-matcher.d.ts.map +1 -0
- package/dist/agent-runtime/coding-search-output.d.ts +5 -0
- package/dist/agent-runtime/coding-search-output.d.ts.map +1 -0
- package/dist/agent-runtime/coding-search-regex-syntax.d.ts +39 -0
- package/dist/agent-runtime/coding-search-regex-syntax.d.ts.map +1 -0
- package/dist/agent-runtime/coding-search-unit-classes.d.ts +31 -0
- package/dist/agent-runtime/coding-search-unit-classes.d.ts.map +1 -0
- package/dist/agent-runtime/coding-shell-process.d.ts +1 -0
- package/dist/agent-runtime/coding-shell-process.d.ts.map +1 -1
- package/dist/agent-runtime/coding-tool-contract.d.ts +8 -3
- package/dist/agent-runtime/coding-tool-contract.d.ts.map +1 -1
- package/dist/agent-runtime/coding-tool-files.d.ts.map +1 -1
- package/dist/agent-runtime/coding-tool-listing.d.ts +1 -11
- package/dist/agent-runtime/coding-tool-listing.d.ts.map +1 -1
- package/dist/agent-runtime/coding-tool-paths.d.ts +6 -2
- package/dist/agent-runtime/coding-tool-paths.d.ts.map +1 -1
- package/dist/agent-runtime/coding-tool-refusals.d.ts +6 -0
- package/dist/agent-runtime/coding-tool-refusals.d.ts.map +1 -1
- package/dist/agent-runtime/coding-tool-search-patch.d.ts.map +1 -1
- package/dist/agent-runtime/coding-tool-search.d.ts +113 -0
- package/dist/agent-runtime/coding-tool-search.d.ts.map +1 -0
- package/dist/agent-runtime/coding-tool-shell.d.ts.map +1 -1
- package/dist/agent-runtime/contained-scan-budget.d.ts +32 -0
- package/dist/agent-runtime/contained-scan-budget.d.ts.map +1 -0
- package/dist/agent-runtime/contained-scan-contract.d.ts +52 -0
- package/dist/agent-runtime/contained-scan-contract.d.ts.map +1 -0
- package/dist/agent-runtime/contained-scan.d.ts +48 -13
- package/dist/agent-runtime/contained-scan.d.ts.map +1 -1
- package/dist/agent-runtime/sandbox.d.ts +5 -1
- package/dist/agent-runtime/sandbox.d.ts.map +1 -1
- package/dist/agent-runtime/workspace-glob.d.ts +6 -0
- package/dist/agent-runtime/workspace-glob.d.ts.map +1 -0
- package/dist/entrypoints/agent-runtime/coding-tools.js +7 -7
- package/dist/entrypoints/agent-runtime/harness.js +5 -5
- package/dist/entrypoints/agent-runtime/realtime.js +3 -3
- package/dist/entrypoints/agent-runtime/sandbox.js +8 -8
- package/dist/entrypoints/agent-runtime/sqlite/bun.js +9 -9
- package/dist/entrypoints/agent-runtime/sqlite/node.js +9 -9
- package/dist/entrypoints/agent-runtime/testing.js +9 -9
- package/dist/entrypoints/agent-runtime.js +16 -14
- package/dist/entrypoints/application/diagnostic-journal.js +3 -3
- package/dist/entrypoints/application/directory-inbox.js +5 -5
- package/dist/entrypoints/application.js +6 -6
- package/dist/entrypoints/cli/publish.js +5 -5
- package/dist/entrypoints/cli.js +8 -8
- package/dist/entrypoints/contract.js +4 -4
- package/dist/entrypoints/files.js +4 -4
- package/dist/entrypoints/http.js +2 -2
- package/dist/entrypoints/index.js +2 -2
- package/dist/entrypoints/node.js +1 -1
- package/dist/entrypoints/process/owner-loss.js +2 -1
- package/dist/entrypoints/process.js +4 -4
- package/dist/entrypoints/remote.js +1 -1
- package/dist/entrypoints/server.js +12 -12
- package/dist/entrypoints/telegram/screens.js +5 -5
- package/dist/entrypoints/telegram.js +8 -8
- package/dist/entrypoints/testing.js +2 -2
- package/dist/entrypoints/tools/agent.d.ts +9 -0
- package/dist/entrypoints/tools/agent.d.ts.map +1 -0
- package/dist/entrypoints/tools/agent.js +16 -0
- package/dist/entrypoints/tools/connections.js +4 -4
- package/dist/entrypoints/tools/mcp.js +104 -4
- package/dist/entrypoints/tools/toolkit.d.ts +9 -0
- package/dist/entrypoints/tools/toolkit.d.ts.map +1 -0
- package/dist/entrypoints/tools/toolkit.js +40 -0
- package/dist/entrypoints/tools.d.ts +0 -10
- package/dist/entrypoints/tools.d.ts.map +1 -1
- package/dist/entrypoints/tools.js +25 -69
- package/dist/{index-s0qjs6ee.js → index-0fra8xvy.js} +9 -81
- package/dist/{index-rxcgp4b9.js → index-10rg78vf.js} +1 -1
- package/dist/index-1psbyyhj.js +21 -0
- package/dist/index-3prvb42w.js +30 -0
- package/dist/{index-ba7are04.js → index-4tyt1qya.js} +1 -1
- package/dist/index-568w258r.js +76 -0
- package/dist/{index-fqd4yqwd.js → index-6j15ktag.js} +1 -1
- package/dist/{index-zrdcmg6j.js → index-72xtvcvr.js} +40 -6
- package/dist/{index-6a69xzrx.js → index-7zwtbak8.js} +5 -46
- package/dist/{index-fcqj44mb.js → index-8ryydawp.js} +4 -4
- package/dist/{index-q968hy6y.js → index-aqmadanx.js} +2 -2
- package/dist/{index-s20s2mad.js → index-bgcwxhxh.js} +16 -14
- package/dist/index-bph35vpy.js +77 -0
- package/dist/{index-arjmb6de.js → index-eeahxwvg.js} +60 -76
- package/dist/{index-57gqaq8b.js → index-f6pw75e1.js} +1 -1
- package/dist/{index-f4njz9j0.js → index-gq3fnq3f.js} +1 -1
- package/dist/{index-ynrf908v.js → index-gtx3eknx.js} +1 -1
- package/dist/index-h1j71dr1.js +48 -0
- package/dist/{index-nn9qvkww.js → index-j95jp7ee.js} +45 -9
- package/dist/{index-mgb7r8b8.js → index-jswst0h3.js} +1 -1
- package/dist/{index-bbvc59gw.js → index-knmnj11j.js} +9 -180
- package/dist/{index-2kbysk9s.js → index-m5m9rmvt.js} +2 -0
- package/dist/{index-g444vfz2.js → index-nwm3ww60.js} +1 -1
- package/dist/{index-yk4g8805.js → index-pq7rkwkk.js} +1 -30
- package/dist/index-qaqxdbxf.js +2857 -0
- package/dist/{index-x8d9fdeg.js → index-qctbzmg9.js} +8 -4
- package/dist/index-s9a0fjh3.js +305 -0
- package/dist/index-sb9dr3tq.js +14 -0
- package/dist/{index-tvtacc9a.js → index-zyc64nbh.js} +1 -34
- package/dist/internal/contained-directory.d.ts +1 -1
- package/dist/internal/contained-directory.d.ts.map +1 -1
- package/dist/internal/contained-files.d.ts +18 -51
- package/dist/internal/contained-files.d.ts.map +1 -1
- package/dist/internal/contained-read.d.ts +17 -0
- package/dist/internal/contained-read.d.ts.map +1 -0
- package/dist/internal/darwin-binding.d.ts +3 -1
- package/dist/internal/darwin-binding.d.ts.map +1 -1
- package/dist/process/bun-child.d.ts.map +1 -1
- package/dist/process/command-owner.d.ts.map +1 -1
- package/dist/process/group.d.ts +2 -0
- package/dist/process/group.d.ts.map +1 -1
- package/dist/process/launch.d.ts +1 -0
- package/dist/process/launch.d.ts.map +1 -1
- package/dist/process/owned-child.d.ts.map +1 -1
- package/dist/process/owner-loss-guard.d.ts.map +1 -1
- package/dist/process/owner-loss-protocol.d.ts +1 -0
- package/dist/process/owner-loss-protocol.d.ts.map +1 -1
- package/llms/agent-runtime-coding-tools.txt +9 -9
- package/llms/agent-runtime-harness.txt +4 -3
- package/llms/agent-runtime-sandbox.txt +1 -1
- package/llms/agent-runtime.2.txt +20 -2
- package/llms/agent-runtime.3.txt +4 -46
- package/llms/agent-runtime.4.txt +113 -0
- package/llms/agent-runtime.txt +70 -37
- package/llms/application.3.txt +5 -2
- package/llms/cli.txt +1 -1
- package/llms/contract.txt +1 -1
- package/llms/process.txt +3 -1
- package/llms/server.5.txt +2 -0
- package/llms/stitchkit.txt +15 -9
- package/llms/testing.txt +4 -6
- package/llms/tools-agent.txt +24 -0
- package/llms/tools-mcp.txt +71 -6
- package/llms/tools-toolkit.txt +23 -0
- package/llms/tools.2.txt +6 -3
- package/llms/tools.3.txt +8 -77
- package/llms/tools.txt +8 -8
- package/llms/{upgrading-0.106.0-0.119.0.txt → upgrading-0.106.0-0.121.0.txt} +84 -3
- package/llms/upgrading.txt +1 -1
- package/llms-full.txt +360 -139
- package/llms.txt +11 -9
- package/native/darwin-arm64.node +0 -0
- package/native/darwin-x64.node +0 -0
- package/native-assets.json +4 -4
- package/package.json +10 -2
- package/dist/index-1k18qzqa.js +0 -1478
- package/dist/index-6f49krb5.js +0 -107
- package/dist/{index-2dfvv1jg.js → index-2fc1k9k2.js} +0 -0
- package/dist/{index-qndsr7f0.js → index-5efrpfmj.js} +3 -3
- /package/dist/{index-cyxp8rbf.js → index-mtwh9hyp.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coding-tool-search-patch.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/coding-tool-search-patch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"coding-tool-search-patch.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/coding-tool-search-patch.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,wBAAwB,CAAC;AA8KhC,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,qBAAqB,EAC7B,MAAM,EAAE,qBAAqB,GAC5B,SAAS,yBAAyB,EAAE,CAWtC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type { AgentCodingToolConfig, AgentCodingToolLimits } from './coding-tool-contract.js';
|
|
2
|
+
export declare function createSearchCodingTool(config: AgentCodingToolConfig, limits: AgentCodingToolLimits): import("../tools/runtime-tool-declaration.js").RuntimeToolDefinitionWithOutput<import("zod").ZodObject<{
|
|
3
|
+
query: import("zod").ZodString;
|
|
4
|
+
mode: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
5
|
+
content: "content";
|
|
6
|
+
path: "path";
|
|
7
|
+
}>>;
|
|
8
|
+
regex: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
9
|
+
context: import("zod").ZodDefault<import("zod").ZodInt>;
|
|
10
|
+
include: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
12
|
+
matches: import("zod").ZodArray<import("zod").ZodObject<{
|
|
13
|
+
path: import("zod").ZodString;
|
|
14
|
+
line: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
15
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
before: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
17
|
+
after: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
18
|
+
}, import("zod/v4/core").$strict>>;
|
|
19
|
+
truncated: import("zod").ZodBoolean;
|
|
20
|
+
scannedFiles: import("zod").ZodInt;
|
|
21
|
+
skippedDirectories: import("zod").ZodInt;
|
|
22
|
+
skippedSymlinks: import("zod").ZodInt;
|
|
23
|
+
denied: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
24
|
+
path: import("zod").ZodString;
|
|
25
|
+
kind: import("zod").ZodEnum<{
|
|
26
|
+
directory: "directory";
|
|
27
|
+
file: "file";
|
|
28
|
+
other: "other";
|
|
29
|
+
symlink: "symlink";
|
|
30
|
+
}>;
|
|
31
|
+
}, import("zod/v4/core").$strict>>>;
|
|
32
|
+
deniedTruncated: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
33
|
+
errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
34
|
+
path: import("zod").ZodString;
|
|
35
|
+
operation: import("zod").ZodString;
|
|
36
|
+
code: import("zod").ZodString;
|
|
37
|
+
}, import("zod/v4/core").$strict>>>;
|
|
38
|
+
errorsTruncated: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
39
|
+
hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
40
|
+
coverage: import("zod").ZodObject<{
|
|
41
|
+
complete: import("zod").ZodBoolean;
|
|
42
|
+
reasons: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
43
|
+
cancelled: "cancelled";
|
|
44
|
+
denied: "denied";
|
|
45
|
+
"max-bytes": "max-bytes";
|
|
46
|
+
"max-depth": "max-depth";
|
|
47
|
+
"max-directories": "max-directories";
|
|
48
|
+
"max-entries": "max-entries";
|
|
49
|
+
"max-file-bytes": "max-file-bytes";
|
|
50
|
+
"max-files": "max-files";
|
|
51
|
+
"max-line-bytes": "max-line-bytes";
|
|
52
|
+
"max-output-bytes": "max-output-bytes";
|
|
53
|
+
"max-results": "max-results";
|
|
54
|
+
timeout: "timeout";
|
|
55
|
+
unreadable: "unreadable";
|
|
56
|
+
}>>;
|
|
57
|
+
scope: import("zod").ZodObject<{
|
|
58
|
+
path: import("zod").ZodString;
|
|
59
|
+
include: import("zod").ZodString;
|
|
60
|
+
excludedDirectories: import("zod").ZodEnum<{
|
|
61
|
+
configured: "configured";
|
|
62
|
+
default: "default";
|
|
63
|
+
}>;
|
|
64
|
+
symlinks: import("zod").ZodEnum<{
|
|
65
|
+
list: "list";
|
|
66
|
+
skip: "skip";
|
|
67
|
+
}>;
|
|
68
|
+
}, import("zod/v4/core").$strict>;
|
|
69
|
+
visitedDirectories: import("zod").ZodInt;
|
|
70
|
+
visitedEntries: import("zod").ZodInt;
|
|
71
|
+
readBytes: import("zod").ZodInt;
|
|
72
|
+
elapsedMs: import("zod").ZodNumber;
|
|
73
|
+
}, import("zod/v4/core").$strict>;
|
|
74
|
+
}, import("zod/v4/core").$strict>, undefined, import("../tools/runtime-tool.js").RuntimeToolPresenters<{
|
|
75
|
+
matches: {
|
|
76
|
+
path: string;
|
|
77
|
+
line?: number | undefined;
|
|
78
|
+
text?: string | undefined;
|
|
79
|
+
before?: string[] | undefined;
|
|
80
|
+
after?: string[] | undefined;
|
|
81
|
+
}[];
|
|
82
|
+
truncated: boolean;
|
|
83
|
+
scannedFiles: number;
|
|
84
|
+
skippedDirectories: number;
|
|
85
|
+
skippedSymlinks: number;
|
|
86
|
+
denied?: {
|
|
87
|
+
path: string;
|
|
88
|
+
kind: "directory" | "file" | "other" | "symlink";
|
|
89
|
+
}[] | undefined;
|
|
90
|
+
deniedTruncated?: boolean | undefined;
|
|
91
|
+
errors?: {
|
|
92
|
+
path: string;
|
|
93
|
+
operation: string;
|
|
94
|
+
code: string;
|
|
95
|
+
}[] | undefined;
|
|
96
|
+
errorsTruncated?: boolean | undefined;
|
|
97
|
+
hint?: string | undefined;
|
|
98
|
+
coverage: {
|
|
99
|
+
complete: boolean;
|
|
100
|
+
reasons: ("cancelled" | "denied" | "max-bytes" | "max-depth" | "max-directories" | "max-entries" | "max-file-bytes" | "max-files" | "max-line-bytes" | "max-output-bytes" | "max-results" | "timeout" | "unreadable")[];
|
|
101
|
+
scope: {
|
|
102
|
+
path: string;
|
|
103
|
+
include: string;
|
|
104
|
+
excludedDirectories: "configured" | "default";
|
|
105
|
+
symlinks: "list" | "skip";
|
|
106
|
+
};
|
|
107
|
+
visitedDirectories: number;
|
|
108
|
+
visitedEntries: number;
|
|
109
|
+
readBytes: number;
|
|
110
|
+
elapsedMs: number;
|
|
111
|
+
};
|
|
112
|
+
}>>;
|
|
113
|
+
//# sourceMappingURL=coding-tool-search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coding-tool-search.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/coding-tool-search.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AA4O3F,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,qBAAqB,EAC7B,MAAM,EAAE,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAY9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coding-tool-shell.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/coding-tool-shell.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"coding-tool-shell.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/coding-tool-shell.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAG3B,MAAM,wBAAwB,CAAC;AAShC,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,qBAAqB,EAC7B,MAAM,EAAE,qBAAqB,GAC5B,yBAAyB,CA0I3B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ScanStopReason } from './contained-scan-contract.js';
|
|
2
|
+
export declare class ScanStopped extends Error {
|
|
3
|
+
}
|
|
4
|
+
/** Checkpoints cover CPU work; races bound async policies and dispose late capabilities. */
|
|
5
|
+
export declare class ContainedScanBudget {
|
|
6
|
+
readonly limits: {
|
|
7
|
+
maxDirectories?: number;
|
|
8
|
+
maxEntries?: number;
|
|
9
|
+
maxBytes?: number;
|
|
10
|
+
signal?: AbortSignal;
|
|
11
|
+
deadline?: number;
|
|
12
|
+
};
|
|
13
|
+
readonly reasons: Set<"cancelled" | "denied" | "max-bytes" | "max-depth" | "max-directories" | "max-entries" | "max-file-bytes" | "max-files" | "max-line-bytes" | "max-output-bytes" | "max-results" | "timeout" | "unreadable">;
|
|
14
|
+
visitedDirectories: number;
|
|
15
|
+
visitedEntries: number;
|
|
16
|
+
readBytes: number;
|
|
17
|
+
constructor(limits?: {
|
|
18
|
+
maxDirectories?: number;
|
|
19
|
+
maxEntries?: number;
|
|
20
|
+
maxBytes?: number;
|
|
21
|
+
signal?: AbortSignal;
|
|
22
|
+
deadline?: number;
|
|
23
|
+
});
|
|
24
|
+
stop(reason: ScanStopReason): never;
|
|
25
|
+
check(): void;
|
|
26
|
+
wait<T>(operation: () => Promise<T>, disposeLate?: (value: T) => void): Promise<T>;
|
|
27
|
+
directory(): void;
|
|
28
|
+
remainingEntries(): number | undefined;
|
|
29
|
+
entry(): void;
|
|
30
|
+
readAllowance(maxFileBytes: number): number;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=contained-scan-budget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contained-scan-budget.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/contained-scan-budget.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,qBAAa,WAAY,SAAQ,KAAK;CAAG;AAEzC,4FAA4F;AAC5F,qBAAa,mBAAmB;IAO5B,QAAQ,CAAC,MAAM,EAAE;QACf,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,CAAC,EAAE,WAAW,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;IAZH,QAAQ,CAAC,OAAO,kNAA6B;IAC7C,kBAAkB,SAAK;IACvB,cAAc,SAAK;IACnB,SAAS,SAAK;IAEd,YACW,MAAM,GAAE;QACf,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,CAAC,EAAE,WAAW,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACd,EACJ;IAEJ,IAAI,CAAC,MAAM,EAAE,cAAc,GAAG,KAAK,CAGlC;IAED,KAAK,IAAI,IAAI,CAIZ;IAEK,IAAI,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,CAcvF;IAED,SAAS,IAAI,IAAI,CAKhB;IAED,gBAAgB,IAAI,MAAM,GAAG,SAAS,CAMrC;IAED,KAAK,IAAI,IAAI,CAGZ;IAED,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAK1C;CACF"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ScanStopReasonSchema: z.ZodEnum<{
|
|
3
|
+
cancelled: "cancelled";
|
|
4
|
+
denied: "denied";
|
|
5
|
+
"max-bytes": "max-bytes";
|
|
6
|
+
"max-depth": "max-depth";
|
|
7
|
+
"max-directories": "max-directories";
|
|
8
|
+
"max-entries": "max-entries";
|
|
9
|
+
"max-file-bytes": "max-file-bytes";
|
|
10
|
+
"max-files": "max-files";
|
|
11
|
+
"max-line-bytes": "max-line-bytes";
|
|
12
|
+
"max-output-bytes": "max-output-bytes";
|
|
13
|
+
"max-results": "max-results";
|
|
14
|
+
timeout: "timeout";
|
|
15
|
+
unreadable: "unreadable";
|
|
16
|
+
}>;
|
|
17
|
+
export type ScanStopReason = z.infer<typeof ScanStopReasonSchema>;
|
|
18
|
+
export declare const DiscoveryCoverageSchema: z.ZodObject<{
|
|
19
|
+
complete: z.ZodBoolean;
|
|
20
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
21
|
+
cancelled: "cancelled";
|
|
22
|
+
denied: "denied";
|
|
23
|
+
"max-bytes": "max-bytes";
|
|
24
|
+
"max-depth": "max-depth";
|
|
25
|
+
"max-directories": "max-directories";
|
|
26
|
+
"max-entries": "max-entries";
|
|
27
|
+
"max-file-bytes": "max-file-bytes";
|
|
28
|
+
"max-files": "max-files";
|
|
29
|
+
"max-line-bytes": "max-line-bytes";
|
|
30
|
+
"max-output-bytes": "max-output-bytes";
|
|
31
|
+
"max-results": "max-results";
|
|
32
|
+
timeout: "timeout";
|
|
33
|
+
unreadable: "unreadable";
|
|
34
|
+
}>>;
|
|
35
|
+
scope: z.ZodObject<{
|
|
36
|
+
path: z.ZodString;
|
|
37
|
+
include: z.ZodString;
|
|
38
|
+
excludedDirectories: z.ZodEnum<{
|
|
39
|
+
configured: "configured";
|
|
40
|
+
default: "default";
|
|
41
|
+
}>;
|
|
42
|
+
symlinks: z.ZodEnum<{
|
|
43
|
+
list: "list";
|
|
44
|
+
skip: "skip";
|
|
45
|
+
}>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
visitedDirectories: z.ZodInt;
|
|
48
|
+
visitedEntries: z.ZodInt;
|
|
49
|
+
readBytes: z.ZodInt;
|
|
50
|
+
elapsedMs: z.ZodNumber;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
//# sourceMappingURL=contained-scan-contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contained-scan-contract.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/contained-scan-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;EAc/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiBzB,CAAC"}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}): Promise<readonly ContainedFile[]>;
|
|
9
|
-
/** Bounded workspace scan whose recursion stays attached to opened directory identities. */
|
|
10
|
-
export declare function scanContainedFiles(input: {
|
|
11
|
-
root: string;
|
|
1
|
+
import { openPinnedDirectory } from '../internal/contained-directory.js';
|
|
2
|
+
import { type ContainedEntryKind, type ContainedFile, listAt } from '../internal/contained-files.js';
|
|
3
|
+
import type { ContainedFileHandle } from '../internal/contained-handle.js';
|
|
4
|
+
import { ContainedScanBudget } from './contained-scan-budget.js';
|
|
5
|
+
interface ScanInput {
|
|
6
|
+
/** A supplied capability remains owned by the caller, which has already charged its open. */
|
|
7
|
+
root: string | ContainedFileHandle;
|
|
12
8
|
maxDepth: number;
|
|
13
9
|
maxFiles: number;
|
|
14
10
|
symlinks: 'refuse' | 'skip';
|
|
@@ -16,6 +12,45 @@ export declare function scanContainedFiles(input: {
|
|
|
16
12
|
skipUnreadable?: boolean;
|
|
17
13
|
excludeDirectory?: (relative: string) => boolean;
|
|
18
14
|
includeFile?: (relative: string) => boolean;
|
|
19
|
-
authorizePath?: (relative: string, kind:
|
|
20
|
-
|
|
15
|
+
authorizePath?: (relative: string, kind: ContainedEntryKind) => boolean | Promise<boolean>;
|
|
16
|
+
budget?: ContainedScanBudget;
|
|
17
|
+
/** Returning false stops traversal; the visitor owns its precise stop reason. */
|
|
18
|
+
visitFile?: (file: ContainedFile) => boolean | Promise<boolean>;
|
|
19
|
+
maxDiagnostics?: number;
|
|
20
|
+
basePath?: string;
|
|
21
|
+
/** A direct discovery consumer may handle a disclosed entry and prune it. */
|
|
22
|
+
visitEntry?: (directory: ContainedFileHandle, entry: {
|
|
23
|
+
name: string;
|
|
24
|
+
kind: ContainedEntryKind;
|
|
25
|
+
}, relative: string) => boolean | Promise<boolean>;
|
|
26
|
+
}
|
|
27
|
+
export declare function walkContainedFiles(input: {
|
|
28
|
+
root: string;
|
|
29
|
+
maxDepth: number;
|
|
30
|
+
maxFiles: number;
|
|
31
|
+
readMaxBytes?: number;
|
|
32
|
+
}): Promise<readonly ContainedFile[]>;
|
|
33
|
+
/** One descriptor-anchored walker; search consumes each file before opening the next. */
|
|
34
|
+
export declare function scanContainedFiles(input: ScanInput, io?: {
|
|
35
|
+
openRoot: typeof openPinnedDirectory;
|
|
36
|
+
list: typeof listAt;
|
|
37
|
+
}): Promise<{
|
|
38
|
+
files: ContainedFile[];
|
|
39
|
+
truncated: boolean;
|
|
40
|
+
scannedFiles: number;
|
|
41
|
+
skippedDirectories: number;
|
|
42
|
+
skippedSymlinks: number;
|
|
43
|
+
denied: {
|
|
44
|
+
relative: string;
|
|
45
|
+
kind: ContainedEntryKind;
|
|
46
|
+
}[];
|
|
47
|
+
deniedTruncated: boolean;
|
|
48
|
+
errors: {
|
|
49
|
+
path: string;
|
|
50
|
+
operation: string;
|
|
51
|
+
code: string;
|
|
52
|
+
}[];
|
|
53
|
+
errorsTruncated: boolean;
|
|
54
|
+
}>;
|
|
55
|
+
export {};
|
|
21
56
|
//# sourceMappingURL=contained-scan.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contained-scan.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/contained-scan.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contained-scan.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/contained-scan.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACvF,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,MAAM,EAEP,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,EAAE,mBAAmB,EAAe,MAAM,yBAAyB,CAAC;AAE3E,UAAU,SAAS;IACjB,6FAA6F;IAC7F,IAAI,EAAE,MAAM,GAAG,mBAAmB,CAAC;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,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;GA4L9D"}
|
|
@@ -55,7 +55,11 @@ export interface AgentSandboxOutputStream {
|
|
|
55
55
|
* object's identity ({@link probeAgentProcessSandbox}).
|
|
56
56
|
*/
|
|
57
57
|
export interface AgentProcessSandbox {
|
|
58
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* Optional lifecycle-owned launcher. The adapter owns atomic capture of its pathname cwd
|
|
60
|
+
* and isolation at spawn; the SDK checks identity at handoff but cannot pin this custom
|
|
61
|
+
* launcher's filesystem operations. The coding profile owns output and deadline handling.
|
|
62
|
+
*/
|
|
59
63
|
spawn?(input: Parameters<AgentProcessSandbox['prepare']>[0]): AgentSandboxProcess;
|
|
60
64
|
/** Grade what this sandbox enforces; a throw or a non-grade is read as `unavailable`. */
|
|
61
65
|
probe(): AgentSandboxGrade | Promise<AgentSandboxGrade>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/sandbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,6BAA6B;;;;;EAKxC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;6BAYlC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,6FAA6F;AAC7F,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAA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AAO,CAAC,iBAAiB,CAAC,CAa7B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** One finite automaton for full matches and directory-prefix reachability. */
|
|
2
|
+
export declare function compileWorkspaceGlob(pattern: string, check?: () => void): {
|
|
3
|
+
test: (value: string) => boolean;
|
|
4
|
+
mayContain: (directory: string) => boolean;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=workspace-glob.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace-glob.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/workspace-glob.ts"],"names":[],"mappings":"AAKA,+EAA+E;AAC/E,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,IAAI;IA+EpE,IAAI,UAAU,MAAM,KAAG,OAAO;IAC9B,UAAU,cAAc,MAAM,KAAG,OAAO;EAS3C"}
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
AgentCodingToolAuthorizationSchema2,
|
|
8
8
|
AgentCodingToolPathAuthorizationSchema2,
|
|
9
9
|
createAgentCodingTools2
|
|
10
|
-
} from "../../index-
|
|
11
|
-
import"../../index-
|
|
12
|
-
import"../../index-
|
|
13
|
-
import"../../index-
|
|
14
|
-
import"../../index-
|
|
15
|
-
import"../../index-
|
|
16
|
-
import"../../index-
|
|
10
|
+
} from "../../index-qaqxdbxf.js";
|
|
11
|
+
import"../../index-m5m9rmvt.js";
|
|
12
|
+
import"../../index-72xtvcvr.js";
|
|
13
|
+
import"../../index-j95jp7ee.js";
|
|
14
|
+
import"../../index-s9a0fjh3.js";
|
|
15
|
+
import"../../index-aqmadanx.js";
|
|
16
|
+
import"../../index-eeahxwvg.js";
|
|
17
17
|
import"../../index-aqwg2dm5.js";
|
|
18
18
|
export {
|
|
19
19
|
AgentCodingToolAuthorizationSchema2 as AgentCodingToolAuthorizationSchema,
|
|
@@ -5,7 +5,7 @@ import"../../index-8kzct1d6.js";
|
|
|
5
5
|
import {
|
|
6
6
|
composeAgentPrompt2,
|
|
7
7
|
createAgentRuntime2
|
|
8
|
-
} from "../../index-
|
|
8
|
+
} from "../../index-qctbzmg9.js";
|
|
9
9
|
import"../../index-qaet40b2.js";
|
|
10
10
|
import"../../index-mnkk1ffz.js";
|
|
11
11
|
import"../../index-k42ckyzx.js";
|
|
@@ -15,11 +15,11 @@ import"../../index-ct75c3at.js";
|
|
|
15
15
|
import"../../index-x4p3kw1p.js";
|
|
16
16
|
import"../../index-s3yxw6kt.js";
|
|
17
17
|
import"../../index-snef22zr.js";
|
|
18
|
-
import"../../index-
|
|
18
|
+
import"../../index-zyc64nbh.js";
|
|
19
19
|
import"../../index-8yxgcyt6.js";
|
|
20
20
|
import"../../index-5w6t91ze.js";
|
|
21
21
|
import"../../index-69t14s4a.js";
|
|
22
|
-
import"../../index-
|
|
22
|
+
import"../../index-m5m9rmvt.js";
|
|
23
23
|
import"../../index-b0w7rbpt.js";
|
|
24
24
|
import {
|
|
25
25
|
createAgentHarnessControlServer2
|
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
import"../../index-4qnzda76.js";
|
|
28
28
|
import {
|
|
29
29
|
walkContainedFiles
|
|
30
|
-
} from "../../index-
|
|
31
|
-
import"../../index-
|
|
30
|
+
} from "../../index-s9a0fjh3.js";
|
|
31
|
+
import"../../index-eeahxwvg.js";
|
|
32
32
|
import {
|
|
33
33
|
defineRuntimeTool2
|
|
34
34
|
} from "../../index-aqwg2dm5.js";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
agentControlRealtimeContract2
|
|
9
9
|
} from "../../index-yt7gyg5x.js";
|
|
10
10
|
import"../../index-qaet40b2.js";
|
|
11
|
-
import {
|
|
12
|
-
bindRealtimeServer2
|
|
13
|
-
} from "../../index-2bqf0a74.js";
|
|
14
11
|
import {
|
|
15
12
|
createAgentHarnessControlServer2
|
|
16
13
|
} from "../../index-aw6zahv1.js";
|
|
14
|
+
import {
|
|
15
|
+
bindRealtimeServer2
|
|
16
|
+
} from "../../index-2bqf0a74.js";
|
|
17
17
|
import"../../index-4qnzda76.js";
|
|
18
18
|
import {
|
|
19
19
|
withSignalDeadline
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
missingSandboxRestrictions2,
|
|
4
4
|
codingRefusal,
|
|
5
5
|
createAgentCodingTools2
|
|
6
|
-
} from "../../index-
|
|
7
|
-
import"../../index-
|
|
6
|
+
} from "../../index-qaqxdbxf.js";
|
|
7
|
+
import"../../index-m5m9rmvt.js";
|
|
8
8
|
import"../../index-69t14s4a.js";
|
|
9
9
|
import"../../index-ct75c3at.js";
|
|
10
10
|
import"../../index-x4p3kw1p.js";
|
|
@@ -12,23 +12,23 @@ import"../../index-k42ckyzx.js";
|
|
|
12
12
|
import {
|
|
13
13
|
COMMAND_CLEANUP_TIMEOUT_MS,
|
|
14
14
|
NativeCommandError2
|
|
15
|
-
} from "../../index-
|
|
15
|
+
} from "../../index-72xtvcvr.js";
|
|
16
16
|
import {
|
|
17
17
|
spawnOwnedCommand,
|
|
18
18
|
nativeCommandOwner,
|
|
19
19
|
terminateOwnedGroup,
|
|
20
20
|
startNativeCommand
|
|
21
|
-
} from "../../index-
|
|
22
|
-
import"../../index-
|
|
23
|
-
import"../../index-
|
|
24
|
-
import"../../index-
|
|
21
|
+
} from "../../index-j95jp7ee.js";
|
|
22
|
+
import"../../index-s9a0fjh3.js";
|
|
23
|
+
import"../../index-aqmadanx.js";
|
|
24
|
+
import"../../index-eeahxwvg.js";
|
|
25
25
|
import"../../index-aqwg2dm5.js";
|
|
26
26
|
import {
|
|
27
27
|
errnoOf
|
|
28
28
|
} from "../../index-jj9228tt.js";
|
|
29
29
|
import {
|
|
30
30
|
readBoundedBody2
|
|
31
|
-
} from "../../index-
|
|
31
|
+
} from "../../index-5efrpfmj.js";
|
|
32
32
|
import {
|
|
33
33
|
MAX_TIMER_MS
|
|
34
34
|
} from "../../index-eemvahkc.js";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import"../../../index-8yxgcyt6.js";
|
|
2
|
-
import"../../../index-
|
|
2
|
+
import"../../../index-10rg78vf.js";
|
|
3
3
|
import"../../../index-8kzct1d6.js";
|
|
4
4
|
import {
|
|
5
5
|
initializeAgentRuntimeSqlite2,
|
|
6
6
|
createSqliteAgentRuntimeStore2
|
|
7
|
-
} from "../../../index-
|
|
7
|
+
} from "../../../index-4tyt1qya.js";
|
|
8
8
|
import"../../../index-kqnd6a85.js";
|
|
9
9
|
import"../../../index-5w6t91ze.js";
|
|
10
|
-
import"../../../index-
|
|
10
|
+
import"../../../index-qaqxdbxf.js";
|
|
11
11
|
import"../../../index-69t14s4a.js";
|
|
12
12
|
import"../../../index-ct75c3at.js";
|
|
13
13
|
import"../../../index-x4p3kw1p.js";
|
|
14
14
|
import"../../../index-k42ckyzx.js";
|
|
15
|
-
import"../../../index-
|
|
16
|
-
import"../../../index-
|
|
17
|
-
import"../../../index-
|
|
15
|
+
import"../../../index-m5m9rmvt.js";
|
|
16
|
+
import"../../../index-72xtvcvr.js";
|
|
17
|
+
import"../../../index-j95jp7ee.js";
|
|
18
18
|
import"../../../index-snef22zr.js";
|
|
19
|
-
import"../../../index-
|
|
20
|
-
import"../../../index-
|
|
21
|
-
import"../../../index-
|
|
19
|
+
import"../../../index-s9a0fjh3.js";
|
|
20
|
+
import"../../../index-aqmadanx.js";
|
|
21
|
+
import"../../../index-eeahxwvg.js";
|
|
22
22
|
import"../../../index-aqwg2dm5.js";
|
|
23
23
|
|
|
24
24
|
// src/agent-runtime/sqlite-bun.ts
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import"../../../index-8yxgcyt6.js";
|
|
2
|
-
import"../../../index-
|
|
2
|
+
import"../../../index-10rg78vf.js";
|
|
3
3
|
import"../../../index-8kzct1d6.js";
|
|
4
4
|
import {
|
|
5
5
|
initializeAgentRuntimeSqlite2,
|
|
6
6
|
createSqliteAgentRuntimeStore2
|
|
7
|
-
} from "../../../index-
|
|
7
|
+
} from "../../../index-4tyt1qya.js";
|
|
8
8
|
import"../../../index-kqnd6a85.js";
|
|
9
9
|
import"../../../index-5w6t91ze.js";
|
|
10
|
-
import"../../../index-
|
|
10
|
+
import"../../../index-qaqxdbxf.js";
|
|
11
11
|
import"../../../index-69t14s4a.js";
|
|
12
12
|
import"../../../index-ct75c3at.js";
|
|
13
13
|
import"../../../index-x4p3kw1p.js";
|
|
14
14
|
import"../../../index-k42ckyzx.js";
|
|
15
|
-
import"../../../index-
|
|
16
|
-
import"../../../index-
|
|
17
|
-
import"../../../index-
|
|
15
|
+
import"../../../index-m5m9rmvt.js";
|
|
16
|
+
import"../../../index-72xtvcvr.js";
|
|
17
|
+
import"../../../index-j95jp7ee.js";
|
|
18
18
|
import"../../../index-snef22zr.js";
|
|
19
|
-
import"../../../index-
|
|
20
|
-
import"../../../index-
|
|
21
|
-
import"../../../index-
|
|
19
|
+
import"../../../index-s9a0fjh3.js";
|
|
20
|
+
import"../../../index-aqmadanx.js";
|
|
21
|
+
import"../../../index-eeahxwvg.js";
|
|
22
22
|
import"../../../index-aqwg2dm5.js";
|
|
23
23
|
|
|
24
24
|
// src/agent-runtime/sqlite-node.ts
|
|
@@ -10,22 +10,22 @@ import {
|
|
|
10
10
|
advanceToolChronology
|
|
11
11
|
} from "../../index-8yxgcyt6.js";
|
|
12
12
|
import"../../index-5w6t91ze.js";
|
|
13
|
-
import"../../index-
|
|
14
|
-
import"../../index-
|
|
13
|
+
import"../../index-qaqxdbxf.js";
|
|
14
|
+
import"../../index-10rg78vf.js";
|
|
15
15
|
import"../../index-69t14s4a.js";
|
|
16
16
|
import"../../index-ct75c3at.js";
|
|
17
17
|
import"../../index-x4p3kw1p.js";
|
|
18
18
|
import"../../index-k42ckyzx.js";
|
|
19
|
-
import"../../index-
|
|
20
|
-
import"../../index-
|
|
21
|
-
import"../../index-
|
|
19
|
+
import"../../index-m5m9rmvt.js";
|
|
20
|
+
import"../../index-72xtvcvr.js";
|
|
21
|
+
import"../../index-j95jp7ee.js";
|
|
22
22
|
import"../../index-snef22zr.js";
|
|
23
23
|
import {
|
|
24
24
|
createMemoryAgentRuntimeStore2
|
|
25
|
-
} from "../../index-
|
|
26
|
-
import"../../index-
|
|
27
|
-
import"../../index-
|
|
28
|
-
import"../../index-
|
|
25
|
+
} from "../../index-f6pw75e1.js";
|
|
26
|
+
import"../../index-s9a0fjh3.js";
|
|
27
|
+
import"../../index-aqmadanx.js";
|
|
28
|
+
import"../../index-eeahxwvg.js";
|
|
29
29
|
import"../../index-aqwg2dm5.js";
|
|
30
30
|
import {
|
|
31
31
|
assertPositiveSafeInteger
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
missingSandboxRestrictions2,
|
|
6
6
|
recordAgentSandboxProbe2,
|
|
7
7
|
refuseUnknownSpillReference
|
|
8
|
-
} from "../index-
|
|
8
|
+
} from "../index-qaqxdbxf.js";
|
|
9
9
|
import {
|
|
10
10
|
AgentRecordIdSchema2,
|
|
11
11
|
AgentRecordVersionSchema2,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
AgentConversationPurgedError2,
|
|
53
53
|
purgeAgentConversation2,
|
|
54
54
|
createAgentRuntimeStore2
|
|
55
|
-
} from "../index-
|
|
55
|
+
} from "../index-10rg78vf.js";
|
|
56
56
|
import {
|
|
57
57
|
AgentStoreEventKindSchema2,
|
|
58
58
|
AgentStoreEventEnvelopeSchema2,
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
agentGoalStateSlot2,
|
|
125
125
|
agentTodoStateSlot2,
|
|
126
126
|
createAgentRuntime2
|
|
127
|
-
} from "../index-
|
|
127
|
+
} from "../index-qctbzmg9.js";
|
|
128
128
|
import {
|
|
129
129
|
AgentConversationSummarySchema2,
|
|
130
130
|
AgentConversationPageSchema2,
|
|
@@ -139,9 +139,8 @@ import"../index-s3yxw6kt.js";
|
|
|
139
139
|
import"../index-69t14s4a.js";
|
|
140
140
|
import"../index-ycqhyars.js";
|
|
141
141
|
import {
|
|
142
|
-
mountAgent2
|
|
143
|
-
|
|
144
|
-
} from "../index-6a69xzrx.js";
|
|
142
|
+
mountAgent2
|
|
143
|
+
} from "../index-7zwtbak8.js";
|
|
145
144
|
import {
|
|
146
145
|
createBoundedSinkManager
|
|
147
146
|
} from "../index-qaet40b2.js";
|
|
@@ -187,19 +186,22 @@ import {
|
|
|
187
186
|
ParkRecordDecodeError2,
|
|
188
187
|
ParkAbortedError2
|
|
189
188
|
} from "../index-snef22zr.js";
|
|
190
|
-
import"../index-
|
|
191
|
-
import"../index-
|
|
192
|
-
import"../index-
|
|
193
|
-
import"../index-
|
|
189
|
+
import"../index-zyc64nbh.js";
|
|
190
|
+
import"../index-m5m9rmvt.js";
|
|
191
|
+
import"../index-72xtvcvr.js";
|
|
192
|
+
import"../index-j95jp7ee.js";
|
|
194
193
|
import {
|
|
195
194
|
createMemoryAgentRuntimeStore2
|
|
196
|
-
} from "../index-
|
|
195
|
+
} from "../index-f6pw75e1.js";
|
|
197
196
|
import {
|
|
198
197
|
createAgentRuntimeEventSink2
|
|
199
198
|
} from "../index-4qnzda76.js";
|
|
200
|
-
import"../index-
|
|
201
|
-
import"../index-
|
|
202
|
-
import"../index-
|
|
199
|
+
import"../index-s9a0fjh3.js";
|
|
200
|
+
import"../index-aqmadanx.js";
|
|
201
|
+
import"../index-eeahxwvg.js";
|
|
202
|
+
import {
|
|
203
|
+
buildToolManifest2
|
|
204
|
+
} from "../index-h1j71dr1.js";
|
|
203
205
|
import"../index-ff39f9dr.js";
|
|
204
206
|
import {
|
|
205
207
|
defineRuntimeTool2,
|