stitchkit 0.68.11 → 0.69.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/README.md +30 -1
- package/dist/agent-runtime/coding-tool-contract.d.ts +155 -0
- package/dist/agent-runtime/coding-tool-contract.d.ts.map +1 -0
- package/dist/agent-runtime/coding-tool-files.d.ts +3 -0
- package/dist/agent-runtime/coding-tool-files.d.ts.map +1 -0
- package/dist/agent-runtime/coding-tool-paths.d.ts +19 -0
- package/dist/agent-runtime/coding-tool-paths.d.ts.map +1 -0
- package/dist/agent-runtime/coding-tool-search-patch.d.ts +3 -0
- package/dist/agent-runtime/coding-tool-search-patch.d.ts.map +1 -0
- package/dist/agent-runtime/coding-tool-shell.d.ts +3 -0
- package/dist/agent-runtime/coding-tool-shell.d.ts.map +1 -0
- package/dist/agent-runtime/coding-tools.d.ts +17 -0
- package/dist/agent-runtime/coding-tools.d.ts.map +1 -0
- package/dist/agent-runtime/compaction.d.ts +2 -0
- package/dist/agent-runtime/compaction.d.ts.map +1 -1
- package/dist/agent-runtime/contained-files.d.ts +31 -0
- package/dist/agent-runtime/contained-files.d.ts.map +1 -0
- package/dist/agent-runtime/control-schema.d.ts +1074 -0
- package/dist/agent-runtime/control-schema.d.ts.map +1 -0
- package/dist/agent-runtime/conversations.d.ts +128 -0
- package/dist/agent-runtime/conversations.d.ts.map +1 -0
- package/dist/agent-runtime/event-schema.d.ts +96 -0
- package/dist/agent-runtime/event-schema.d.ts.map +1 -1
- package/dist/agent-runtime/harness-contract.d.ts +169 -0
- package/dist/agent-runtime/harness-contract.d.ts.map +1 -0
- package/dist/agent-runtime/harness-control.d.ts +25 -0
- package/dist/agent-runtime/harness-control.d.ts.map +1 -0
- package/dist/agent-runtime/harness-file-resources.d.ts +33 -0
- package/dist/agent-runtime/harness-file-resources.d.ts.map +1 -0
- package/dist/agent-runtime/harness-resources.d.ts +5 -0
- package/dist/agent-runtime/harness-resources.d.ts.map +1 -0
- package/dist/agent-runtime/harness.d.ts +12 -0
- package/dist/agent-runtime/harness.d.ts.map +1 -0
- package/dist/agent-runtime/history.d.ts +2 -0
- package/dist/agent-runtime/history.d.ts.map +1 -1
- package/dist/agent-runtime/models.d.ts +199 -0
- package/dist/agent-runtime/models.d.ts.map +1 -1
- package/dist/agent-runtime/prompt.d.ts +2 -0
- package/dist/agent-runtime/prompt.d.ts.map +1 -1
- package/dist/agent-runtime/run-execution.d.ts.map +1 -1
- package/dist/agent-runtime/runtime.d.ts +11 -3
- package/dist/agent-runtime/runtime.d.ts.map +1 -1
- package/dist/agent-runtime/schemas.d.ts +49 -0
- package/dist/agent-runtime/schemas.d.ts.map +1 -1
- package/dist/agent-runtime/sqlite.d.ts +2 -0
- package/dist/agent-runtime/sqlite.d.ts.map +1 -1
- package/dist/agent-runtime/store-driver.d.ts +61 -212
- package/dist/agent-runtime/store-driver.d.ts.map +1 -1
- package/dist/agent-runtime/store.d.ts +368 -1
- package/dist/agent-runtime/store.d.ts.map +1 -1
- package/dist/agent-runtime/terminal-commit.d.ts +12 -1
- package/dist/agent-runtime/terminal-commit.d.ts.map +1 -1
- package/dist/agent-runtime/terminal-status.d.ts +8 -0
- package/dist/agent-runtime/terminal-status.d.ts.map +1 -1
- package/dist/agent-runtime-browser.d.ts +1 -0
- package/dist/agent-runtime-browser.d.ts.map +1 -1
- package/dist/agent-runtime-browser.js +217 -1
- package/dist/agent-runtime-coding-tools.d.ts +2 -0
- package/dist/agent-runtime-coding-tools.d.ts.map +1 -0
- package/dist/agent-runtime-coding-tools.js +706 -0
- package/dist/agent-runtime-harness.d.ts +2 -0
- package/dist/agent-runtime-harness.d.ts.map +1 -0
- package/dist/agent-runtime-harness.js +700 -0
- package/dist/agent-runtime-openrouter.d.ts +14 -1
- package/dist/agent-runtime-openrouter.d.ts.map +1 -1
- package/dist/agent-runtime-openrouter.js +211 -0
- package/dist/agent-runtime-sqlite-bun.js +4 -3
- package/dist/agent-runtime-sqlite-node.js +4 -3
- package/dist/agent-runtime.d.ts +5 -3
- package/dist/agent-runtime.d.ts.map +1 -1
- package/dist/agent-runtime.js +106 -2580
- package/dist/application/diagnostic-journal-contract.d.ts +164 -0
- package/dist/application/diagnostic-journal-contract.d.ts.map +1 -0
- package/dist/application/diagnostic-journal-manager.d.ts +12 -0
- package/dist/application/diagnostic-journal-manager.d.ts.map +1 -0
- package/dist/application/diagnostic-journal-storage.d.ts +29 -0
- package/dist/application/diagnostic-journal-storage.d.ts.map +1 -0
- package/dist/application/diagnostic-journal.d.ts +11 -0
- package/dist/application/diagnostic-journal.d.ts.map +1 -0
- package/dist/application.d.ts +2 -0
- package/dist/application.d.ts.map +1 -1
- package/dist/application.js +561 -17
- package/dist/browser/socket-io.d.ts.map +1 -1
- package/dist/cli.js +8 -6
- package/dist/{index-8vpzxg55.js → index-10gbbbaa.js} +103 -2
- package/dist/index-3eqrkqhg.js +2565 -0
- package/dist/{index-hcx9yypn.js → index-444747ww.js} +7 -7
- package/dist/{index-hxh98zbm.js → index-d1jsvkyk.js} +1 -1
- package/dist/index-es0h4w26.js +63 -0
- package/dist/{index-grgvpbch.js → index-gqdfpv4n.js} +4 -2
- package/dist/{index-bt5179zb.js → index-h7ctj1kp.js} +5 -3
- package/dist/{index-y2ctppmg.js → index-h8vn1jcr.js} +7 -73
- package/dist/{index-hqza5nde.js → index-hsabxjz0.js} +78 -77
- package/dist/index-kg9xx84n.js +73 -0
- package/dist/{index-hb0mncmj.js → index-kxxyvkka.js} +2 -2
- package/dist/{index-2t6zt5cg.js → index-mbxds404.js} +7 -5
- package/dist/{index-f24xg2cw.js → index-p1be103g.js} +1 -1
- package/dist/{index-xyvxez9r.js → index-q7gdep2c.js} +5 -5
- package/dist/{index-t23p2b68.js → index-t4dpby6e.js} +1 -1
- package/dist/index-tg3m2ec5.js +157 -0
- package/dist/index-v3dpzpjw.js +92 -0
- package/dist/{index-eqqyd9v8.js → index-wwst0td5.js} +2 -46
- package/dist/{index-ysphyxax.js → index-x1th9s8c.js} +23 -2
- package/dist/index-xxsq3ca1.js +51 -0
- package/dist/{index-22tjt2rk.js → index-zh459sfj.js} +1 -1
- package/dist/index.js +51 -37
- package/dist/internal/ai-sdk-typed.d.ts +14 -0
- package/dist/internal/ai-sdk-typed.d.ts.map +1 -0
- package/dist/node.js +5 -5
- package/dist/observability/index.js +4 -4
- package/dist/realtime/request.d.ts +5 -0
- package/dist/realtime/request.d.ts.map +1 -1
- package/dist/remote.js +6 -6
- package/dist/server/index.js +9 -9
- package/dist/testing.js +5 -5
- package/dist/tool-invoker.js +6 -5
- package/dist/tools.js +21 -17
- package/llms-full.txt +342 -27
- package/package.json +10 -2
- package/dist/{index-pgsyp3xh.js → index-x18ndp4p.js} +3 -3
package/dist/remote.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ApiError,
|
|
3
3
|
createClient
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-kxxyvkka.js";
|
|
5
|
+
import"./index-t4dpby6e.js";
|
|
6
6
|
import {
|
|
7
7
|
mergeMeta
|
|
8
|
-
} from "./index-
|
|
9
|
-
import {
|
|
10
|
-
isRecord
|
|
11
|
-
} from "./index-qyrqwr4c.js";
|
|
8
|
+
} from "./index-x18ndp4p.js";
|
|
12
9
|
import {
|
|
13
10
|
AppError
|
|
14
11
|
} from "./index-0w9abg87.js";
|
|
12
|
+
import {
|
|
13
|
+
isRecord
|
|
14
|
+
} from "./index-qyrqwr4c.js";
|
|
15
15
|
import"./index-6k1937bx.js";
|
|
16
16
|
|
|
17
17
|
// src/tools/remote.ts
|
package/dist/server/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
sseRoute,
|
|
14
14
|
streamingRoute,
|
|
15
15
|
webSocketLane
|
|
16
|
-
} from "../index-
|
|
16
|
+
} from "../index-444747ww.js";
|
|
17
17
|
import {
|
|
18
18
|
composeAuthHooks,
|
|
19
19
|
createAuthHook,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
signJwt,
|
|
27
27
|
verifyJwt,
|
|
28
28
|
verifyPkce
|
|
29
|
-
} from "../index-
|
|
29
|
+
} from "../index-q7gdep2c.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_CORS_ALLOW_HEADERS,
|
|
32
32
|
DEFAULT_CORS_EXPOSE_HEADERS,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
defineMultipartStream,
|
|
41
41
|
implement,
|
|
42
42
|
implementRegistry
|
|
43
|
-
} from "../index-
|
|
43
|
+
} from "../index-d1jsvkyk.js";
|
|
44
44
|
import {
|
|
45
45
|
extractIp,
|
|
46
46
|
generateTraceId,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
getTraceId,
|
|
49
49
|
resolveSocketIp,
|
|
50
50
|
resolveTraceId
|
|
51
|
-
} from "../index-
|
|
51
|
+
} from "../index-p1be103g.js";
|
|
52
52
|
import {
|
|
53
53
|
isWithinDir,
|
|
54
54
|
realPathWithinDir
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
inputIsQuery,
|
|
70
70
|
parseSSE,
|
|
71
71
|
streamSSE
|
|
72
|
-
} from "../index-
|
|
72
|
+
} from "../index-t4dpby6e.js";
|
|
73
73
|
import {
|
|
74
74
|
DEFAULT_CONTRACT_STREAM_FRAME_BYTES,
|
|
75
75
|
errorCode,
|
|
@@ -78,10 +78,7 @@ import {
|
|
|
78
78
|
normalizeError,
|
|
79
79
|
parseTrailingWildcard,
|
|
80
80
|
zodIssues
|
|
81
|
-
} from "../index-
|
|
82
|
-
import {
|
|
83
|
-
isRecord
|
|
84
|
-
} from "../index-qyrqwr4c.js";
|
|
81
|
+
} from "../index-x18ndp4p.js";
|
|
85
82
|
import {
|
|
86
83
|
AppError,
|
|
87
84
|
STITCH_ERROR_STATUS,
|
|
@@ -94,6 +91,9 @@ import {
|
|
|
94
91
|
rateLimited,
|
|
95
92
|
unauthorized
|
|
96
93
|
} from "../index-0w9abg87.js";
|
|
94
|
+
import {
|
|
95
|
+
isRecord
|
|
96
|
+
} from "../index-qyrqwr4c.js";
|
|
97
97
|
import"../index-6k1937bx.js";
|
|
98
98
|
// src/server/bun.ts
|
|
99
99
|
import { chmodSync, statSync, unlinkSync } from "node:fs";
|
package/dist/testing.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentMessageSchema,
|
|
3
3
|
AgentRunSchema
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-x1th9s8c.js";
|
|
5
5
|
import {
|
|
6
6
|
createApplication
|
|
7
7
|
} from "./index-6wzr93cg.js";
|
|
@@ -24,15 +24,15 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
createClient,
|
|
26
26
|
createClients
|
|
27
|
-
} from "./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
} from "./index-kxxyvkka.js";
|
|
28
|
+
import"./index-t4dpby6e.js";
|
|
29
29
|
import {
|
|
30
30
|
joinRoutePath
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-x18ndp4p.js";
|
|
32
|
+
import"./index-0w9abg87.js";
|
|
32
33
|
import {
|
|
33
34
|
isRecord
|
|
34
35
|
} from "./index-qyrqwr4c.js";
|
|
35
|
-
import"./index-0w9abg87.js";
|
|
36
36
|
import"./index-6k1937bx.js";
|
|
37
37
|
|
|
38
38
|
// src/agent-runtime/testing.ts
|
package/dist/tool-invoker.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createToolInvoker
|
|
3
|
-
} from "./index-
|
|
4
|
-
import"./index-
|
|
5
|
-
import"./index-
|
|
3
|
+
} from "./index-gqdfpv4n.js";
|
|
4
|
+
import"./index-kg9xx84n.js";
|
|
5
|
+
import"./index-h8vn1jcr.js";
|
|
6
|
+
import"./index-p1be103g.js";
|
|
6
7
|
import"./index-22by16v6.js";
|
|
7
8
|
import"./index-cby4ar3v.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-qyrqwr4c.js";
|
|
9
|
+
import"./index-x18ndp4p.js";
|
|
10
10
|
import"./index-0w9abg87.js";
|
|
11
|
+
import"./index-qyrqwr4c.js";
|
|
11
12
|
import"./index-6k1937bx.js";
|
|
12
13
|
export {
|
|
13
14
|
createToolInvoker
|
package/dist/tools.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
redact
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-zh459sfj.js";
|
|
4
4
|
import {
|
|
5
5
|
buildToolManifest,
|
|
6
6
|
mountAgent
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-h7ctj1kp.js";
|
|
8
8
|
import {
|
|
9
9
|
signJwt,
|
|
10
10
|
verifyPkce
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-q7gdep2c.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_CORS_ALLOW_HEADERS,
|
|
14
14
|
DEFAULT_PROCESS_SIGNALS,
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
defaultSignalSource,
|
|
17
17
|
guardSignalCallback,
|
|
18
18
|
reportSignalError
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-d1jsvkyk.js";
|
|
20
20
|
import {
|
|
21
21
|
createToolInvoker
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-gqdfpv4n.js";
|
|
23
23
|
import {
|
|
24
24
|
WaitTimeoutError,
|
|
25
25
|
createCli,
|
|
@@ -28,27 +28,31 @@ import {
|
|
|
28
28
|
fetchPinnedDocument,
|
|
29
29
|
readCapped,
|
|
30
30
|
runWaitOperation
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-mbxds404.js";
|
|
32
|
+
import {
|
|
33
|
+
collectToolSurface
|
|
34
|
+
} from "./index-xxsq3ca1.js";
|
|
32
35
|
import {
|
|
33
|
-
collectToolSurface,
|
|
34
36
|
createRuntimeToolFactory,
|
|
35
37
|
defineRuntimeTool
|
|
36
|
-
} from "./index-
|
|
38
|
+
} from "./index-wwst0td5.js";
|
|
37
39
|
import {
|
|
38
|
-
ToolExecutionControlError,
|
|
39
|
-
coerceJsonArgs,
|
|
40
40
|
collectTools,
|
|
41
41
|
createToolRunner,
|
|
42
|
+
formatToolError
|
|
43
|
+
} from "./index-kg9xx84n.js";
|
|
44
|
+
import {
|
|
45
|
+
ToolExecutionControlError,
|
|
46
|
+
coerceJsonArgs,
|
|
42
47
|
executeToolMethod,
|
|
43
|
-
formatToolError,
|
|
44
48
|
isToolExecutionControlError,
|
|
45
49
|
toolResultFromError
|
|
46
|
-
} from "./index-
|
|
50
|
+
} from "./index-h8vn1jcr.js";
|
|
47
51
|
import {
|
|
48
52
|
getRequestContext,
|
|
49
53
|
getTraceId,
|
|
50
54
|
runWithRequestContext
|
|
51
|
-
} from "./index-
|
|
55
|
+
} from "./index-p1be103g.js";
|
|
52
56
|
import {
|
|
53
57
|
ManagedFileError
|
|
54
58
|
} from "./index-bfcpjw20.js";
|
|
@@ -69,14 +73,14 @@ import {
|
|
|
69
73
|
defineContract,
|
|
70
74
|
normalizeError,
|
|
71
75
|
resolvePropagationContext
|
|
72
|
-
} from "./index-
|
|
73
|
-
import {
|
|
74
|
-
isRecord
|
|
75
|
-
} from "./index-qyrqwr4c.js";
|
|
76
|
+
} from "./index-x18ndp4p.js";
|
|
76
77
|
import {
|
|
77
78
|
AppError,
|
|
78
79
|
STITCH_ERROR_STATUS
|
|
79
80
|
} from "./index-0w9abg87.js";
|
|
81
|
+
import {
|
|
82
|
+
isRecord
|
|
83
|
+
} from "./index-qyrqwr4c.js";
|
|
80
84
|
import {
|
|
81
85
|
ManagedFilePathSchema,
|
|
82
86
|
ManagedFileRefSchema
|