stitchkit 0.127.0 → 0.128.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 +137 -6
- package/dist/agent-executor/acp/v1-connect.d.ts +9 -1
- package/dist/agent-executor/acp/v1-connect.d.ts.map +1 -1
- package/dist/agent-executor/acp/v1-driver.d.ts +8 -2
- package/dist/agent-executor/acp/v1-driver.d.ts.map +1 -1
- package/dist/agent-executor/acp/v1-map.d.ts.map +1 -1
- package/dist/agent-executor/acp/v1-session.d.ts +8 -0
- package/dist/agent-executor/acp/v1-session.d.ts.map +1 -1
- package/dist/agent-executor/claude/cli-driver.d.ts +4 -0
- package/dist/agent-executor/claude/cli-driver.d.ts.map +1 -1
- package/dist/agent-executor/claude/protocol.d.ts +20 -2
- package/dist/agent-executor/claude/protocol.d.ts.map +1 -1
- package/dist/agent-executor/claude/session.d.ts +2 -1
- package/dist/agent-executor/claude/session.d.ts.map +1 -1
- package/dist/agent-executor/claude/transcript.d.ts +7 -4
- package/dist/agent-executor/claude/transcript.d.ts.map +1 -1
- package/dist/agent-executor/claude-sdk/driver.d.ts +4 -0
- package/dist/agent-executor/claude-sdk/driver.d.ts.map +1 -1
- package/dist/agent-executor/claude-sdk/session.d.ts.map +1 -1
- package/dist/agent-executor/codex/driver.d.ts +4 -0
- package/dist/agent-executor/codex/driver.d.ts.map +1 -1
- package/dist/agent-executor/codex/protocol.d.ts +26 -2
- package/dist/agent-executor/codex/protocol.d.ts.map +1 -1
- package/dist/agent-executor/codex/session.d.ts +3 -1
- package/dist/agent-executor/codex/session.d.ts.map +1 -1
- package/dist/agent-executor/image-input.d.ts +71 -0
- package/dist/agent-executor/image-input.d.ts.map +1 -0
- package/dist/agent-executor/session-primitives.d.ts +0 -3
- package/dist/agent-executor/session-primitives.d.ts.map +1 -1
- package/dist/agent-runtime/agent-tool.d.ts +21 -7
- package/dist/agent-runtime/agent-tool.d.ts.map +1 -1
- package/dist/agent-runtime/branch-contract.d.ts +1 -0
- package/dist/agent-runtime/branch-contract.d.ts.map +1 -1
- package/dist/agent-runtime/branch-identities.d.ts +5 -2
- package/dist/agent-runtime/branch-identities.d.ts.map +1 -1
- package/dist/agent-runtime/branch-messages.d.ts +9 -9
- package/dist/agent-runtime/branch-messages.d.ts.map +1 -1
- package/dist/agent-runtime/branch-observations.d.ts +45 -32
- package/dist/agent-runtime/branch-observations.d.ts.map +1 -1
- package/dist/agent-runtime/branch-provider.d.ts +12 -6
- package/dist/agent-runtime/branch-provider.d.ts.map +1 -1
- package/dist/agent-runtime/branch-source.d.ts +13 -1
- package/dist/agent-runtime/branch-source.d.ts.map +1 -1
- package/dist/agent-runtime/child-tools.d.ts +64 -0
- package/dist/agent-runtime/child-tools.d.ts.map +1 -1
- package/dist/agent-runtime/event-search-tools.d.ts +82 -5
- package/dist/agent-runtime/event-search-tools.d.ts.map +1 -1
- package/dist/agent-runtime/invocation-attempt.d.ts +1 -1
- package/dist/agent-runtime/invocation-attempt.d.ts.map +1 -1
- package/dist/agent-runtime/invocation-payload.d.ts +12 -0
- package/dist/agent-runtime/invocation-payload.d.ts.map +1 -1
- package/dist/agent-runtime/invocation-read.d.ts +6 -3
- package/dist/agent-runtime/invocation-read.d.ts.map +1 -1
- package/dist/agent-runtime/invocation-schema.d.ts +50 -8
- package/dist/agent-runtime/invocation-schema.d.ts.map +1 -1
- package/dist/agent-runtime/invocations.d.ts +20 -9
- package/dist/agent-runtime/invocations.d.ts.map +1 -1
- package/dist/agent-runtime/postgres.d.ts.map +1 -1
- package/dist/agent-runtime/schedule-tools.d.ts +30 -0
- package/dist/agent-runtime/schedule-tools.d.ts.map +1 -1
- package/dist/agent-runtime/schemas-invocation-payload.d.ts +48 -0
- package/dist/agent-runtime/schemas-invocation-payload.d.ts.map +1 -0
- package/dist/agent-runtime/sql-events.d.ts.map +1 -1
- package/dist/agent-runtime/sql-session.d.ts +11 -0
- package/dist/agent-runtime/sql-session.d.ts.map +1 -1
- package/dist/agent-runtime/sqlite-transactions.d.ts.map +1 -1
- package/dist/agent-runtime/state-tools.d.ts +55 -0
- package/dist/agent-runtime/state-tools.d.ts.map +1 -1
- package/dist/agent-runtime/store-branch.d.ts.map +1 -1
- package/dist/agent-runtime/store-conformance-lifecycle.d.ts +20 -20
- package/dist/agent-runtime/store-conformance-support.d.ts +10 -10
- package/dist/agent-runtime/store-create.d.ts.map +1 -1
- package/dist/agent-runtime/store-driver-contract.d.ts +12 -0
- package/dist/agent-runtime/store-driver-contract.d.ts.map +1 -1
- package/dist/agent-runtime/store-memory-events.d.ts.map +1 -1
- package/dist/agent-runtime/store.d.ts +7 -0
- package/dist/agent-runtime/store.d.ts.map +1 -1
- package/dist/declaration/declaration.d.ts +6 -3
- package/dist/declaration/declaration.d.ts.map +1 -1
- package/dist/entrypoints/agent-executor/acp.d.ts +1 -1
- package/dist/entrypoints/agent-executor/acp.d.ts.map +1 -1
- package/dist/entrypoints/agent-executor/acp.js +23 -12
- package/dist/entrypoints/agent-executor/claude-sdk.js +26 -10
- package/dist/entrypoints/agent-executor/claude.js +35 -16
- package/dist/entrypoints/agent-executor/codex.js +81 -21
- package/dist/entrypoints/agent-executor.js +1 -1
- package/dist/entrypoints/agent-runtime/harness.js +5 -6
- package/dist/entrypoints/agent-runtime/openrouter.js +2 -2
- package/dist/entrypoints/agent-runtime/postgres.js +8 -3
- package/dist/entrypoints/agent-runtime/sandbox.js +3 -3
- package/dist/entrypoints/agent-runtime/sqlite/bun.js +4 -4
- package/dist/entrypoints/agent-runtime/sqlite/node.js +4 -4
- package/dist/entrypoints/agent-runtime/testing.js +6 -6
- package/dist/entrypoints/agent-runtime.d.ts +9 -7
- package/dist/entrypoints/agent-runtime.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime.js +246 -199
- package/dist/entrypoints/application/diagnostic-journal.js +4 -4
- package/dist/entrypoints/application/directory-inbox.js +8 -8
- package/dist/entrypoints/cli/publish.js +8 -8
- package/dist/entrypoints/cli.js +10 -9
- package/dist/entrypoints/declaration.js +0 -1
- package/dist/entrypoints/files.js +40 -17
- package/dist/entrypoints/node.js +4 -4
- package/dist/entrypoints/observability.js +1 -1
- package/dist/entrypoints/process.js +1 -1
- package/dist/entrypoints/server.js +7 -7
- package/dist/entrypoints/service-host/macos.js +4 -4
- package/dist/entrypoints/service-host.d.ts +4 -1
- package/dist/entrypoints/service-host.d.ts.map +1 -1
- package/dist/entrypoints/service-host.js +831 -220
- package/dist/entrypoints/spend.js +1 -1
- package/dist/entrypoints/telegram.js +4 -4
- package/dist/entrypoints/tools/agent.js +4 -3
- package/dist/entrypoints/tools/invoker.js +3 -2
- package/dist/entrypoints/tools/mcp.js +4 -3
- package/dist/entrypoints/tools/toolkit.js +6 -5
- package/dist/entrypoints/tools.d.ts +1 -1
- package/dist/entrypoints/tools.d.ts.map +1 -1
- package/dist/entrypoints/tools.js +10 -8
- package/dist/files/directory-appearance.d.ts +20 -9
- package/dist/files/directory-appearance.d.ts.map +1 -1
- package/dist/files/polled-json.d.ts.map +1 -1
- package/dist/files/regular-file.d.ts +15 -5
- package/dist/files/regular-file.d.ts.map +1 -1
- package/dist/{index-z4k0hqp9.js → index-0gqs8ght.js} +106 -24
- package/dist/{index-caywx1c0.js → index-13dnv6d0.js} +107 -10
- package/dist/{index-a725ayvz.js → index-1qwrczr1.js} +1 -1
- package/dist/{index-xtkw9866.js → index-2c5w2d1d.js} +1 -1
- package/dist/{index-g1q7fwn9.js → index-2nwvn7m2.js} +1 -1
- package/dist/{index-4s2w4g37.js → index-3tnwtz38.js} +80 -2
- package/dist/{index-5e0zsbf7.js → index-4j8efqr3.js} +1 -1
- package/dist/{index-p1m9djt6.js → index-5v5vg85s.js} +1 -1
- package/dist/{index-x90w78yz.js → index-673drwkn.js} +23 -8
- package/dist/{index-7xp05h20.js → index-6wp4dn9d.js} +6 -6
- package/dist/{index-0hdm5sx6.js → index-8x22nprv.js} +6 -2
- package/dist/{index-j13gzgdv.js → index-bz3gn6cs.js} +8 -4
- package/dist/{index-d96c1n1q.js → index-c5gp2gh6.js} +20 -19
- package/dist/{index-wbnpa8z6.js → index-d54npte7.js} +4 -4
- package/dist/{index-kmbpej2y.js → index-emgrmavr.js} +102 -61
- package/dist/{index-bbzvrq66.js → index-g3e57qj6.js} +455 -202
- package/dist/index-gf92hc87.js +100 -0
- package/dist/{index-3djgv3ch.js → index-gzny6zsw.js} +25 -10
- package/dist/{index-3b31z0pc.js → index-hj1zq7mh.js} +12 -6
- package/dist/{index-8xr2eq99.js → index-jfecdk1e.js} +3 -3
- package/dist/{index-dvd1qdwa.js → index-ke02kxsr.js} +3 -3
- package/dist/{index-83n766x4.js → index-m18xm96h.js} +15 -9
- package/dist/{index-qnzhmk2s.js → index-n7f89hjw.js} +90 -47
- package/dist/{index-3agqmmrg.js → index-pn5b11ce.js} +7 -9
- package/dist/{index-3gwp8ez6.js → index-pwskmywy.js} +12 -17
- package/dist/{index-9wh98cpa.js → index-rxnyygke.js} +130 -90
- package/dist/{index-0djnptn8.js → index-rzeezh79.js} +10 -3
- package/dist/{index-nbv44x0x.js → index-s2e3h616.js} +137 -36
- package/dist/{index-5zwac8ft.js → index-t7wa7k12.js} +2 -2
- package/dist/{index-xypxnzhp.js → index-v1mxss62.js} +2 -2
- package/dist/index-vgzhw2zk.js +304 -0
- package/dist/{index-jrka9029.js → index-vmbxj75t.js} +2 -2
- package/dist/{index-j516jaaz.js → index-waa6t4zx.js} +49 -2
- package/dist/{index-fcw255hd.js → index-xv9jb84s.js} +2 -2
- package/dist/{index-dwa6pskj.js → index-y065r8g5.js} +82 -43
- package/dist/internal/bounded-file-confirm.d.ts +32 -0
- package/dist/internal/bounded-file-confirm.d.ts.map +1 -0
- package/dist/internal/bounded-file-read.d.ts +10 -7
- package/dist/internal/bounded-file-read.d.ts.map +1 -1
- package/dist/internal/file-observation.d.ts +5 -1
- package/dist/internal/file-observation.d.ts.map +1 -1
- package/dist/internal/process-instance.d.ts +8 -0
- package/dist/internal/process-instance.d.ts.map +1 -1
- package/dist/internal/unix-socket.d.ts +3 -1
- package/dist/internal/unix-socket.d.ts.map +1 -1
- package/dist/server/unix-client.d.ts +7 -0
- package/dist/server/unix-client.d.ts.map +1 -1
- package/dist/service-host/systemd-inspect.d.ts +3 -1
- package/dist/service-host/systemd-inspect.d.ts.map +1 -1
- package/dist/service-host/systemd-render-shared.d.ts +64 -0
- package/dist/service-host/systemd-render-shared.d.ts.map +1 -0
- package/dist/service-host/systemd-render.d.ts +31 -26
- package/dist/service-host/systemd-render.d.ts.map +1 -1
- package/dist/service-host/systemd-timer-render.d.ts +31 -0
- package/dist/service-host/systemd-timer-render.d.ts.map +1 -0
- package/dist/service-host/systemd-timer-rollback.d.ts +26 -0
- package/dist/service-host/systemd-timer-rollback.d.ts.map +1 -0
- package/dist/service-host/systemd-timer.d.ts +82 -0
- package/dist/service-host/systemd-timer.d.ts.map +1 -0
- package/dist/service-host/systemd-unit-ops.d.ts +26 -0
- package/dist/service-host/systemd-unit-ops.d.ts.map +1 -0
- package/dist/service-host/systemd.d.ts +1 -1
- package/dist/service-host/systemd.d.ts.map +1 -1
- package/dist/tools/access.d.ts +30 -1
- package/dist/tools/access.d.ts.map +1 -1
- package/dist/tools/agent.d.ts +2 -2
- package/dist/tools/agent.d.ts.map +1 -1
- package/dist/tools/cli/args-scan.d.ts +5 -0
- package/dist/tools/cli/args-scan.d.ts.map +1 -1
- package/dist/tools/cli/args.d.ts +11 -5
- package/dist/tools/cli/args.d.ts.map +1 -1
- package/dist/tools/cli/invoke.d.ts +2 -1
- package/dist/tools/cli/invoke.d.ts.map +1 -1
- package/dist/tools/cli/notices.d.ts.map +1 -1
- package/dist/tools/cli/run-managed.d.ts.map +1 -1
- package/dist/tools/cli/session.d.ts.map +1 -1
- package/dist/tools/execute.d.ts.map +1 -1
- package/dist/tools/invoker.d.ts +2 -1
- package/dist/tools/invoker.d.ts.map +1 -1
- package/dist/tools/list-names.d.ts +2 -3
- package/dist/tools/list-names.d.ts.map +1 -1
- package/dist/tools/manifest.d.ts +2 -3
- package/dist/tools/manifest.d.ts.map +1 -1
- package/dist/tools/mcp/mount.d.ts +5 -5
- package/dist/tools/mcp/mount.d.ts.map +1 -1
- package/dist/tools/mcp/register.d.ts +2 -1
- package/dist/tools/mcp/register.d.ts.map +1 -1
- package/dist/tools/mcp/runtime-tools.d.ts.map +1 -1
- package/llms/agent-executor-acp.txt +10 -6
- package/llms/agent-executor-claude-sdk.txt +1 -1
- package/llms/agent-executor-claude.txt +1 -1
- package/llms/agent-executor-codex.txt +1 -1
- package/llms/agent-runtime.4.txt +21 -9
- package/llms/cli.3.txt +4 -4
- package/llms/cli.txt +1 -0
- package/llms/declaration.txt +2 -2
- package/llms/files.txt +1 -1
- package/llms/node.txt +2 -2
- package/llms/server.5.txt +2 -2
- package/llms/service-host.txt +5 -5
- package/llms/stitchkit.txt +81 -77
- package/llms/tools.3.txt +3 -2
- package/llms/upgrading-0.128.0.txt +147 -0
- package/llms/upgrading.txt +1 -0
- package/llms-full.txt +272 -113
- package/llms.txt +14 -13
- package/package.json +1 -1
- package/dist/index-ajmtxsky.js +0 -193
- package/dist/index-ax3wns1a.js +0 -93
|
@@ -14,18 +14,19 @@ import {
|
|
|
14
14
|
epochSecondsToIso,
|
|
15
15
|
createTurnDeltaChannel,
|
|
16
16
|
offerTurnDelta,
|
|
17
|
-
extractTextOnlyInput,
|
|
18
17
|
sessionAbort,
|
|
19
18
|
runEngineCli,
|
|
20
19
|
stopConnection,
|
|
21
20
|
withEphemeralConnection,
|
|
22
21
|
safeJsonValue,
|
|
22
|
+
validateImageOptions,
|
|
23
|
+
imageTurnStarter,
|
|
23
24
|
holdEngineRequest,
|
|
24
25
|
answerEngineRequest,
|
|
25
26
|
drainEngineRequests,
|
|
26
27
|
endEngineTurn,
|
|
27
28
|
loseEngineTurn
|
|
28
|
-
} from "../../index-
|
|
29
|
+
} from "../../index-13dnv6d0.js";
|
|
29
30
|
import {
|
|
30
31
|
JsonRpcError2,
|
|
31
32
|
JSON_RPC_METHOD_NOT_FOUND2,
|
|
@@ -34,7 +35,7 @@ import {
|
|
|
34
35
|
import"../../index-5ptwb6ka.js";
|
|
35
36
|
import {
|
|
36
37
|
spawnEngineProcess2
|
|
37
|
-
} from "../../index-
|
|
38
|
+
} from "../../index-5v5vg85s.js";
|
|
38
39
|
import"../../index-ky3ardqn.js";
|
|
39
40
|
import {
|
|
40
41
|
planLimitsReadFailed2,
|
|
@@ -118,7 +119,18 @@ var CodexStartedThreadSchema = z2.looseObject({
|
|
|
118
119
|
var CodexStartedTurnSchema = z2.looseObject({
|
|
119
120
|
turn: z2.looseObject({ id: z2.string().min(1) })
|
|
120
121
|
});
|
|
121
|
-
var
|
|
122
|
+
var CodexListedTurnItemSchema = z2.looseObject({
|
|
123
|
+
type: z2.string(),
|
|
124
|
+
clientId: z2.string().nullable().optional()
|
|
125
|
+
});
|
|
126
|
+
var CodexListedTurnSchema = CodexTurnSchema.extend({
|
|
127
|
+
items: z2.array(CodexListedTurnItemSchema),
|
|
128
|
+
itemsView: z2.literal("full").optional()
|
|
129
|
+
});
|
|
130
|
+
var CodexTurnsPageSchema = z2.looseObject({
|
|
131
|
+
data: z2.array(CodexListedTurnSchema),
|
|
132
|
+
nextCursor: z2.string().nullable().optional()
|
|
133
|
+
});
|
|
122
134
|
var CODEX_OPTED_OUT_NOTIFICATIONS = [
|
|
123
135
|
"item/commandExecution/outputDelta",
|
|
124
136
|
"item/fileChange/outputDelta",
|
|
@@ -363,7 +375,8 @@ async function connectCodex(config, profile, cwd, signal, handlers = {}, onEnd =
|
|
|
363
375
|
args: [...config.prefix, "app-server"],
|
|
364
376
|
cwd,
|
|
365
377
|
env,
|
|
366
|
-
signal
|
|
378
|
+
signal,
|
|
379
|
+
...config.maxLineBytes !== undefined && { maxLineBytes: config.maxLineBytes }
|
|
367
380
|
});
|
|
368
381
|
const reading = (async () => {
|
|
369
382
|
try {
|
|
@@ -511,6 +524,23 @@ function createCodexHandlers(state) {
|
|
|
511
524
|
}
|
|
512
525
|
};
|
|
513
526
|
}
|
|
527
|
+
function codexTurnInput(parts) {
|
|
528
|
+
if (parts.every((part) => part.type === "text")) {
|
|
529
|
+
return [
|
|
530
|
+
{ type: "text", text: parts.map((part) => part.text).join(`
|
|
531
|
+
`), text_elements: [] }
|
|
532
|
+
];
|
|
533
|
+
}
|
|
534
|
+
const out = [];
|
|
535
|
+
for (const part of parts) {
|
|
536
|
+
if (part.type === "text") {
|
|
537
|
+
out.push({ type: "text", text: part.text, text_elements: [] });
|
|
538
|
+
} else {
|
|
539
|
+
out.push({ type: "image", url: `data:${part.mediaType};base64,${part.base64}` });
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
return out;
|
|
543
|
+
}
|
|
514
544
|
async function openCodexSession(config, input) {
|
|
515
545
|
const profile = engineProfile("codex", input.profile);
|
|
516
546
|
const linked = sessionAbort(input.signal);
|
|
@@ -559,14 +589,18 @@ async function openCodexSession(config, input) {
|
|
|
559
589
|
await stop({ error });
|
|
560
590
|
throw error;
|
|
561
591
|
}
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
592
|
+
const startTurn = imageTurnStarter({
|
|
593
|
+
driverLabel: "The Codex driver",
|
|
594
|
+
busyMessage: "A turn is already running in this Codex thread",
|
|
595
|
+
imageOptions: config,
|
|
596
|
+
signal: linked.signal,
|
|
597
|
+
check() {
|
|
565
598
|
if (dead !== undefined)
|
|
566
599
|
throw dead;
|
|
567
600
|
if (current !== undefined)
|
|
568
601
|
throw new Error("A turn is already running in this Codex thread");
|
|
569
|
-
|
|
602
|
+
},
|
|
603
|
+
async dispatch(turnInput, parts) {
|
|
570
604
|
const turn = {
|
|
571
605
|
state: { turnId: turnInput.turnId, interruptRequested: false },
|
|
572
606
|
channel: createTurnDeltaChannel(),
|
|
@@ -576,7 +610,7 @@ async function openCodexSession(config, input) {
|
|
|
576
610
|
try {
|
|
577
611
|
const started = await peer.request("turn/start", {
|
|
578
612
|
threadId,
|
|
579
|
-
input:
|
|
613
|
+
input: codexTurnInput(parts),
|
|
580
614
|
clientUserMessageId: turnInput.clientId
|
|
581
615
|
});
|
|
582
616
|
turn.codexTurnId = CodexStartedTurnSchema.parse(started).turn.id;
|
|
@@ -613,7 +647,11 @@ async function openCodexSession(config, input) {
|
|
|
613
647
|
}
|
|
614
648
|
}
|
|
615
649
|
};
|
|
616
|
-
}
|
|
650
|
+
}
|
|
651
|
+
});
|
|
652
|
+
return {
|
|
653
|
+
nativeThreadId: threadId,
|
|
654
|
+
startTurn,
|
|
617
655
|
async close() {
|
|
618
656
|
await stop();
|
|
619
657
|
}
|
|
@@ -621,13 +659,16 @@ async function openCodexSession(config, input) {
|
|
|
621
659
|
}
|
|
622
660
|
|
|
623
661
|
// src/agent-executor/codex/driver.ts
|
|
662
|
+
var MAX_HISTORY_PAGES = 256;
|
|
663
|
+
var FIND_INPUT_MAX_LINE_BYTES = 64 * 1024 * 1024;
|
|
624
664
|
function createCodexDriver(config = {}) {
|
|
665
|
+
validateImageOptions(config);
|
|
625
666
|
const executable = config.executable ?? "codex";
|
|
626
667
|
const prefix = config.prefixArgs ?? [];
|
|
627
668
|
const ambient = config.ambient ?? process.env;
|
|
628
669
|
const limits = new Map;
|
|
629
670
|
let version = "unknown";
|
|
630
|
-
const session = () => ({
|
|
671
|
+
const session = (maxLineBytes) => ({
|
|
631
672
|
executable,
|
|
632
673
|
prefix,
|
|
633
674
|
...config.model !== undefined && { model: config.model },
|
|
@@ -635,10 +676,13 @@ function createCodexDriver(config = {}) {
|
|
|
635
676
|
sandbox: config.sandbox ?? "workspace-write",
|
|
636
677
|
ambient,
|
|
637
678
|
limits,
|
|
638
|
-
version
|
|
679
|
+
version,
|
|
680
|
+
...config.resolveFile !== undefined && { resolveFile: config.resolveFile },
|
|
681
|
+
...config.maxImageBytes !== undefined && { maxImageBytes: config.maxImageBytes },
|
|
682
|
+
...maxLineBytes !== undefined && { maxLineBytes }
|
|
639
683
|
});
|
|
640
684
|
const cli = (profile, args) => runEngineCli({ executable, prefix, args, profile, ambient });
|
|
641
|
-
const ask = (profile, cwd, question) => withEphemeralConnection((signal) => connectCodex(session(), engineProfile("codex", profile), cwd, signal), (connection) => question(connection.peer));
|
|
685
|
+
const ask = (profile, cwd, question, maxLineBytes) => withEphemeralConnection((signal) => connectCodex(session(maxLineBytes), engineProfile("codex", profile), cwd, signal), (connection) => question(connection.peer));
|
|
642
686
|
return {
|
|
643
687
|
engine: "codex",
|
|
644
688
|
reconcile: "client-id",
|
|
@@ -695,13 +739,29 @@ ${decoder.decode(loginResult.stderr)}`.trim();
|
|
|
695
739
|
},
|
|
696
740
|
async findInput(input) {
|
|
697
741
|
return ask(input.profile, input.cwd, async (peer) => {
|
|
698
|
-
const
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
742
|
+
const seen = new Set;
|
|
743
|
+
let cursor;
|
|
744
|
+
for (let pageNumber = 0;pageNumber < MAX_HISTORY_PAGES; pageNumber += 1) {
|
|
745
|
+
const page = CodexTurnsPageSchema.parse(await peer.request("thread/turns/list", {
|
|
746
|
+
threadId: input.nativeThreadId,
|
|
747
|
+
limit: 50,
|
|
748
|
+
itemsView: "full",
|
|
749
|
+
...cursor !== undefined && { cursor }
|
|
750
|
+
}));
|
|
751
|
+
if (page.data.some((turn) => turn.items.some((item) => item.type === "userMessage" && item.clientId === input.clientId))) {
|
|
752
|
+
return true;
|
|
753
|
+
}
|
|
754
|
+
const next = page.nextCursor;
|
|
755
|
+
if (next === null || next === undefined)
|
|
756
|
+
return false;
|
|
757
|
+
if (seen.has(next)) {
|
|
758
|
+
throw new Error(`Codex thread/turns/list repeated cursor ${JSON.stringify(next)} before history ended`);
|
|
759
|
+
}
|
|
760
|
+
seen.add(next);
|
|
761
|
+
cursor = next;
|
|
762
|
+
}
|
|
763
|
+
throw new Error(`Codex thread/turns/list exceeded ${MAX_HISTORY_PAGES} pages without reaching the end of history`);
|
|
764
|
+
}, FIND_INPUT_MAX_LINE_BYTES);
|
|
705
765
|
},
|
|
706
766
|
open: (input) => openCodexSession(session(), input)
|
|
707
767
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentModelDescriptorSchema2
|
|
3
|
-
} from "../../index-
|
|
3
|
+
} from "../../index-emgrmavr.js";
|
|
4
4
|
import"../../index-2rf33y2h.js";
|
|
5
5
|
import"../../index-bn2baakz.js";
|
|
6
6
|
import"../../index-97rp94ff.js";
|
|
7
7
|
import {
|
|
8
8
|
composeAgentPrompt2,
|
|
9
9
|
createAgentRuntime2
|
|
10
|
-
} from "../../index-
|
|
10
|
+
} from "../../index-n7f89hjw.js";
|
|
11
11
|
import"../../index-prf6ayhf.js";
|
|
12
12
|
import"../../index-paff5y0r.js";
|
|
13
|
-
import"../../index-
|
|
13
|
+
import"../../index-vgzhw2zk.js";
|
|
14
14
|
import"../../index-akf0xkrm.js";
|
|
15
15
|
import"../../index-dsa676h8.js";
|
|
16
16
|
import"../../index-27hck3z2.js";
|
|
17
17
|
import"../../index-ngwf1s3c.js";
|
|
18
18
|
import"../../index-360j58vb.js";
|
|
19
19
|
import"../../index-j903yhp4.js";
|
|
20
|
-
import"../../index-
|
|
20
|
+
import"../../index-rxnyygke.js";
|
|
21
21
|
import"../../index-werjqesf.js";
|
|
22
22
|
import"../../index-m38ej7e5.js";
|
|
23
23
|
import"../../index-yt1gg11x.js";
|
|
@@ -37,10 +37,9 @@ import {
|
|
|
37
37
|
walkContainedFiles
|
|
38
38
|
} from "../../index-rj32hkkp.js";
|
|
39
39
|
import"../../index-xrgn784x.js";
|
|
40
|
-
import"../../index-
|
|
40
|
+
import"../../index-pn5b11ce.js";
|
|
41
41
|
import"../../index-wa6h4tz6.js";
|
|
42
42
|
import"../../index-jb4m241t.js";
|
|
43
|
-
import"../../index-5e0zsbf7.js";
|
|
44
43
|
import {
|
|
45
44
|
defineRuntimeTool2
|
|
46
45
|
} from "../../index-7csn6pva.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import"../../index-2rf33y2h.js";
|
|
2
2
|
import"../../index-bn2baakz.js";
|
|
3
3
|
import"../../index-97rp94ff.js";
|
|
4
|
-
import"../../index-
|
|
4
|
+
import"../../index-vgzhw2zk.js";
|
|
5
5
|
import {
|
|
6
6
|
currentModelInvocationAttempt2,
|
|
7
7
|
AgentModelCatalogSchema2
|
|
8
|
-
} from "../../index-
|
|
8
|
+
} from "../../index-emgrmavr.js";
|
|
9
9
|
import"../../index-paff5y0r.js";
|
|
10
10
|
import {
|
|
11
11
|
openAiCompatibleUsage2
|
|
@@ -9,10 +9,11 @@ import {
|
|
|
9
9
|
setPostgresTransactionIsolation,
|
|
10
10
|
runPostgresTransaction,
|
|
11
11
|
createAgentRuntimeStore2
|
|
12
|
-
} from "../../index-
|
|
12
|
+
} from "../../index-g3e57qj6.js";
|
|
13
13
|
import"../../index-9xr44d2g.js";
|
|
14
14
|
import"../../index-brhhaygm.js";
|
|
15
15
|
import"../../index-wavv538x.js";
|
|
16
|
+
import"../../index-vgzhw2zk.js";
|
|
16
17
|
import {
|
|
17
18
|
createCompanionHost,
|
|
18
19
|
conversationTables,
|
|
@@ -24,13 +25,12 @@ import {
|
|
|
24
25
|
scanSqlRecoverable,
|
|
25
26
|
listSqlConversations,
|
|
26
27
|
pageSqlConversationMessages
|
|
27
|
-
} from "../../index-
|
|
28
|
+
} from "../../index-3tnwtz38.js";
|
|
28
29
|
import"../../index-7416mhyh.js";
|
|
29
30
|
import"../../index-werjqesf.js";
|
|
30
31
|
import"../../index-6kec3b14.js";
|
|
31
32
|
import"../../index-v59pxmf1.js";
|
|
32
33
|
import"../../index-7kfcb576.js";
|
|
33
|
-
import"../../index-ajmtxsky.js";
|
|
34
34
|
import"../../index-snef22zr.js";
|
|
35
35
|
import"../../index-rj32hkkp.js";
|
|
36
36
|
import"../../index-bmaz3jzy.js";
|
|
@@ -271,6 +271,11 @@ function postgresDialect(prefix) {
|
|
|
271
271
|
ON CONFLICT (conversation_id) DO UPDATE SET last_seq = ${tables.eventSeq}.last_seq + 1
|
|
272
272
|
RETURNING last_seq AS count`, [conversationId]);
|
|
273
273
|
return CountRowSchema.parse(row).count;
|
|
274
|
+
},
|
|
275
|
+
async syncUpdatedEventSearch(session, event) {
|
|
276
|
+
await session.run(`UPDATE ${tables.eventSearch}
|
|
277
|
+
SET body = ?, document = to_tsvector('simple', ?)
|
|
278
|
+
WHERE conversation_id = ? AND seq = ?`, [event.payload, event.payload, event.conversationId, event.seq]);
|
|
274
279
|
}
|
|
275
280
|
};
|
|
276
281
|
}
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
terminateOwnedGroup,
|
|
20
20
|
startNativeCommand
|
|
21
21
|
} from "../../index-7kfcb576.js";
|
|
22
|
-
import"../../index-
|
|
23
|
-
import"../../index-
|
|
22
|
+
import"../../index-673drwkn.js";
|
|
23
|
+
import"../../index-vmbxj75t.js";
|
|
24
24
|
import {
|
|
25
25
|
bindUnixSocket2
|
|
26
|
-
} from "../../index-
|
|
26
|
+
} from "../../index-gzny6zsw.js";
|
|
27
27
|
import"../../index-rj32hkkp.js";
|
|
28
28
|
import"../../index-bmaz3jzy.js";
|
|
29
29
|
import"../../index-xrgn784x.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import"../../../index-bn2baakz.js";
|
|
2
2
|
import"../../../index-2rf33y2h.js";
|
|
3
|
-
import"../../../index-
|
|
3
|
+
import"../../../index-g3e57qj6.js";
|
|
4
4
|
import"../../../index-9xr44d2g.js";
|
|
5
5
|
import"../../../index-brhhaygm.js";
|
|
6
6
|
import"../../../index-wavv538x.js";
|
|
7
|
-
import"../../../index-
|
|
7
|
+
import"../../../index-vgzhw2zk.js";
|
|
8
|
+
import"../../../index-3tnwtz38.js";
|
|
8
9
|
import"../../../index-7416mhyh.js";
|
|
9
10
|
import {
|
|
10
11
|
initializeAgentRuntimeSqlite2,
|
|
11
12
|
createSqliteAgentRuntimeStore2
|
|
12
|
-
} from "../../../index-
|
|
13
|
+
} from "../../../index-rzeezh79.js";
|
|
13
14
|
import"../../../index-werjqesf.js";
|
|
14
15
|
import"../../../index-6kec3b14.js";
|
|
15
16
|
import"../../../index-v59pxmf1.js";
|
|
16
17
|
import"../../../index-7kfcb576.js";
|
|
17
|
-
import"../../../index-ajmtxsky.js";
|
|
18
18
|
import"../../../index-snef22zr.js";
|
|
19
19
|
import"../../../index-rj32hkkp.js";
|
|
20
20
|
import"../../../index-bmaz3jzy.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import"../../../index-bn2baakz.js";
|
|
2
2
|
import"../../../index-2rf33y2h.js";
|
|
3
|
-
import"../../../index-
|
|
3
|
+
import"../../../index-g3e57qj6.js";
|
|
4
4
|
import"../../../index-9xr44d2g.js";
|
|
5
5
|
import"../../../index-brhhaygm.js";
|
|
6
6
|
import"../../../index-wavv538x.js";
|
|
7
|
-
import"../../../index-
|
|
7
|
+
import"../../../index-vgzhw2zk.js";
|
|
8
|
+
import"../../../index-3tnwtz38.js";
|
|
8
9
|
import"../../../index-7416mhyh.js";
|
|
9
10
|
import {
|
|
10
11
|
initializeAgentRuntimeSqlite2,
|
|
11
12
|
createSqliteAgentRuntimeStore2
|
|
12
|
-
} from "../../../index-
|
|
13
|
+
} from "../../../index-rzeezh79.js";
|
|
13
14
|
import"../../../index-werjqesf.js";
|
|
14
15
|
import"../../../index-6kec3b14.js";
|
|
15
16
|
import"../../../index-v59pxmf1.js";
|
|
16
17
|
import"../../../index-7kfcb576.js";
|
|
17
|
-
import"../../../index-ajmtxsky.js";
|
|
18
18
|
import"../../../index-snef22zr.js";
|
|
19
19
|
import"../../../index-rj32hkkp.js";
|
|
20
20
|
import"../../../index-bmaz3jzy.js";
|
|
@@ -7,26 +7,26 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
AgentConversationBranchRefusedError2,
|
|
9
9
|
AgentStoreUnsupportedCapabilityError2
|
|
10
|
-
} from "../../index-
|
|
10
|
+
} from "../../index-g3e57qj6.js";
|
|
11
11
|
import"../../index-brhhaygm.js";
|
|
12
12
|
import {
|
|
13
13
|
canonicalAgentJson2,
|
|
14
14
|
encodeAgentConversationArchive2,
|
|
15
15
|
decodeAgentConversationArchive2
|
|
16
16
|
} from "../../index-9xr44d2g.js";
|
|
17
|
+
import {
|
|
18
|
+
createToolChronology,
|
|
19
|
+
advanceToolChronology
|
|
20
|
+
} from "../../index-vgzhw2zk.js";
|
|
17
21
|
import"../../index-wavv538x.js";
|
|
18
22
|
import"../../index-werjqesf.js";
|
|
19
23
|
import"../../index-6kec3b14.js";
|
|
20
24
|
import"../../index-v59pxmf1.js";
|
|
21
25
|
import"../../index-7kfcb576.js";
|
|
22
|
-
import {
|
|
23
|
-
createToolChronology,
|
|
24
|
-
advanceToolChronology
|
|
25
|
-
} from "../../index-ajmtxsky.js";
|
|
26
26
|
import"../../index-snef22zr.js";
|
|
27
27
|
import {
|
|
28
28
|
createMemoryAgentRuntimeStore2
|
|
29
|
-
} from "../../index-
|
|
29
|
+
} from "../../index-waa6t4zx.js";
|
|
30
30
|
import"../../index-rj32hkkp.js";
|
|
31
31
|
import"../../index-bmaz3jzy.js";
|
|
32
32
|
import"../../index-xrgn784x.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type { AgentToolDefinition } from '../agent-runtime/agent-tool.js';
|
|
1
|
+
export type { AgentToolDefinition, AgentToolDescriptor } from '../agent-runtime/agent-tool.js';
|
|
2
2
|
export { type AgentConversationBranchPlan, AgentConversationBranchPlanSchema, type AgentConversationBranchReceipt, AgentConversationBranchReceiptSchema, type AgentConversationBranchResult, AgentConversationBranchResultSchema, type BranchAgentConversationInput, BranchAgentConversationInputSchema, } from '../agent-runtime/branch-contract.js';
|
|
3
3
|
export { type AgentBranchRefusal, type AgentBranchRefusalCode, AgentBranchRefusalCodeSchema, AgentBranchRefusalSchema, AgentConversationBranchRefusedError, } from '../agent-runtime/branch-refusal.js';
|
|
4
|
-
export { type AgentChildToolsConfig, createAgentChildTools, } from '../agent-runtime/child-tools.js';
|
|
4
|
+
export { AGENT_CHILD_TOOL_DESCRIPTORS, type AgentChildToolsConfig, createAgentChildTools, } from '../agent-runtime/child-tools.js';
|
|
5
5
|
export { type AgentChildBlockingDecision, type AgentChildBlockingEvent, AgentChildBlockingEventSchema, type AgentChildBlockingKind, AgentChildBlockingKindSchema, type AgentChildBlockingSource, AgentChildBlockingSourceSchema, type AgentChildBudget, AgentChildBudgetSchema, type AgentChildHandle, type AgentChildManager, type AgentChildRecord, AgentChildRecordSchema, type AgentChildState, AgentChildStateSchema, agentChildBudgetStopPolicy, createAgentChildManager, } from '../agent-runtime/children.js';
|
|
6
6
|
export type { AgentChildManagerConfig, AgentChildRemainingBudget, } from '../agent-runtime/children-state.js';
|
|
7
7
|
export { type AgentCompactionContext, type AgentCompactionResult, type CompactableHistory, type SelectCompactableHistoryOptions, type StructuredCompactionConfig, selectCompactableHistory, structuredCompaction, } from '../agent-runtime/compaction.js';
|
|
@@ -12,13 +12,14 @@ export { type AgentCoordinatedRun, type AgentInputPolicy, type AgentRunTicket, t
|
|
|
12
12
|
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';
|
|
13
13
|
export { type AgentEventSearchResult, AgentEventSearchResultSchema, createAgentEventSearch, } from '../agent-runtime/event-search.js';
|
|
14
14
|
export type { PostgresAgentEventSearchConfig } from '../agent-runtime/event-search-postgres.js';
|
|
15
|
-
export { type AgentEventSearchToolsConfig, createAgentEventSearchTools, } from '../agent-runtime/event-search-tools.js';
|
|
15
|
+
export { AGENT_EVENT_SEARCH_TOOL_DESCRIPTORS, type AgentEventSearchToolsConfig, createAgentEventSearchTools, } from '../agent-runtime/event-search-tools.js';
|
|
16
16
|
export { AgentAdmissionEventSchema, AgentAttemptResetEventSchema, AgentCheckpointEventSchema, AgentReasoningDeltaEventSchema, AgentReasoningEndEventSchema, AgentReasoningStartEventSchema, AgentRunOperationEventSchema, AgentRunStateEventSchema, type AgentRuntimeCursorAdvance, type AgentRuntimeEvent, type AgentRuntimeEventCursor, AgentRuntimeEventCursorSchema, AgentRuntimeEventSchema, type AgentRuntimeEventSink, type AgentRuntimeEventSinkConfig, type AgentRuntimePublisher, AgentTerminalEventSchema, AgentToolProgressEventSchema, AgentToolStatusEventSchema, AgentTransientDeltaEventSchema, advanceAgentRuntimeEventCursor, agentDurableEventId, createAgentRuntimeEventSink, } from '../agent-runtime/events.js';
|
|
17
17
|
export { type AgentHistoryProjectionDecision, type AgentHistoryProjectionOptions, type AgentHistoryProjectionResult, projectAgentHistory, projectAgentHistoryDetailed, } from '../agent-runtime/history.js';
|
|
18
18
|
export { currentModelInvocationAttempt } from '../agent-runtime/invocation-attempt.js';
|
|
19
|
-
export {
|
|
19
|
+
export { InvocationPayloadTooLargeError } from '../agent-runtime/invocation-payload.js';
|
|
20
|
+
export { type CompletionInvocationInput, CompletionInvocationInputSchema, type InvocationPayloadOmissionReason, InvocationPayloadOmissionReasonSchema, type ModelInvocationAttemptContext, type ModelInvocationPayloadRead, ModelInvocationPayloadReadSchema, type ModelInvocationRecord, ModelInvocationRecordSchema, type ModelInvocationTrace, ModelInvocationTraceSchema, } from '../agent-runtime/invocation-schema.js';
|
|
20
21
|
export { modelInvocationSpendAttribution } from '../agent-runtime/invocation-spend.js';
|
|
21
|
-
export { createModelInvocationLedger, type ModelInvocationConfig, type ModelInvocationLedger, } from '../agent-runtime/invocations.js';
|
|
22
|
+
export { createModelInvocationLedger, type ModelInvocationAuthorizationInput, type ModelInvocationConfig, type ModelInvocationLedger, } from '../agent-runtime/invocations.js';
|
|
22
23
|
export { type AgentToolFenceConfig, type AgentToolFenceContext, createAgentToolFenceLifecycle, } from '../agent-runtime/managed-tools.js';
|
|
23
24
|
export { type AgentLanguageModelProvider, type AgentModelCapability, AgentModelCapabilitySchema, type AgentModelCatalog, type AgentModelCatalogEntry, AgentModelCatalogEntrySchema, type AgentModelCatalogProvider, AgentModelCatalogSchema, type AgentModelDescriptor, AgentModelDescriptorSchema, type AgentModelMetric, AgentModelMetricSchema, type AgentModelPopularity, AgentModelPopularitySchema, type AgentModelPrice, AgentModelPriceSchema, type AgentModelRegistry, type AgentModelRegistryConfig, type AgentModelRegistrySnapshot, AgentModelRegistrySnapshotSchema, type AgentModelSearchInput, AgentModelSearchInputSchema, type AgentModelSearchResult, AgentModelSearchResultSchema, type AgentModelSelection, AgentModelSelectionSchema, type AgentModelSelectionStore, type AgentModelSnapshotPolicy, type AgentResolvedModel, createMemoryAgentModelSelectionStore, defineModelRegistry, searchAgentModelCatalog, validateAgentModelSnapshot, } from '../agent-runtime/models.js';
|
|
24
25
|
export { type AgentObservability, type AgentRunEvent, AgentRunEventSchema, type AgentRunSinkConfig, type AgentRunSinkDrop, type AgentRunSinkError, type AgentRunStartedEvent, AgentRunStartedEventSchema, type AgentRunTerminalEvent, AgentRunTerminalEventSchema, type AgentStepFinishedEvent, AgentStepFinishedEventSchema, createAgentObservability, } from '../agent-runtime/observability.js';
|
|
@@ -34,13 +35,14 @@ export { type AgentContextUsage, type AgentRuntime, type AgentRuntimeAbandonInpu
|
|
|
34
35
|
export type { AgentRuntimeResult } from '../agent-runtime/runtime-result.js';
|
|
35
36
|
export type { AgentProcessSandbox, AgentSandboxOutputStream, AgentSandboxProcess, } from '../agent-runtime/sandbox.js';
|
|
36
37
|
export { type AgentSchedule, type AgentScheduleDeliveryOutcome, AgentScheduleDeliveryOutcomeSchema, AgentScheduleSchema, type AgentScheduleService, } from '../agent-runtime/schedule-contract.js';
|
|
37
|
-
export { type AgentScheduleToolsConfig, createAgentScheduleTools, } from '../agent-runtime/schedule-tools.js';
|
|
38
|
+
export { AGENT_SCHEDULE_TOOL_DESCRIPTORS, type AgentScheduleToolsConfig, createAgentScheduleTools, } from '../agent-runtime/schedule-tools.js';
|
|
38
39
|
export { type AgentScheduleServiceConfig, createAgentScheduleService, } from '../agent-runtime/schedules.js';
|
|
39
40
|
export * from '../agent-runtime/schemas.js';
|
|
41
|
+
export { type PurgeInvocationPayloadsInput, PurgeInvocationPayloadsInputSchema, type PurgeInvocationPayloadsResult, PurgeInvocationPayloadsResultSchema, } from '../agent-runtime/schemas-invocation-payload.js';
|
|
40
42
|
export { createAgentSpillStore } from '../agent-runtime/spill.js';
|
|
41
43
|
export type { AgentSqlSession, AgentSqlTables, AgentSqlValue, } from '../agent-runtime/sql-session.js';
|
|
42
44
|
export { type AgentStateSlotDefinition, type AgentStateSlotStore, type AgentStateSlotValue, type AnyAgentStateSlot, agentGoalStateSlot, agentTodoStateSlot, createAgentStateSlotStore, defineStateSlot, renderAgentStateSlots, } from '../agent-runtime/state-slots.js';
|
|
43
|
-
export { type AgentStateToolsConfig, createAgentStateTools, } from '../agent-runtime/state-tools.js';
|
|
45
|
+
export { AGENT_STATE_TOOL_DESCRIPTORS, type AgentStateToolsConfig, createAgentStateTools, } from '../agent-runtime/state-tools.js';
|
|
44
46
|
export { type AcceptInputAndAssignRun, AcceptInputAndAssignRunSchema, type AcquireAgentRun, AcquireAgentRunSchema, type AgentRecoverableDescriptor, AgentRecoverableDescriptorSchema, type AgentRecoverablePage, AgentRecoverablePageSchema, type AgentRuntimeStore, type AgentRunView, AgentRunViewSchema, AgentStoreAppliedSchema, AgentStoreConflictSchema, AgentStoreDuplicateSchema, type AgentStoreMutationResult, AgentStoreMutationResultSchema, AgentStoreNotFoundSchema, type CheckpointRunAssistant, CheckpointRunAssistantSchema, type CommitRunTerminal, CommitRunTerminalSchema, type RecordRunOperation, RecordRunOperationSchema, type RecoverAgentRun, RecoverAgentRunSchema, type ReplaceCompactedRange, ReplaceCompactedRangeSchema, type RequestRunInterrupt, RequestRunInterruptSchema, type SeedConversationInput, SeedConversationInputSchema, } from '../agent-runtime/store.js';
|
|
45
47
|
export { type AgentRuntimeStoreCapabilities, type AgentStoreOptionalCapability, AgentStoreUnsupportedCapabilityError, } from '../agent-runtime/store-capabilities.js';
|
|
46
48
|
export { createAgentRuntimeStore } from '../agent-runtime/store-create.js';
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"agent-runtime.d.ts","sourceRoot":"","sources":["../../src/entrypoints/agent-runtime.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EACL,KAAK,2BAA2B,EAChC,iCAAiC,EACjC,KAAK,8BAA8B,EACnC,oCAAoC,EACpC,KAAK,6BAA6B,EAClC,mCAAmC,EACnC,KAAK,4BAA4B,EACjC,kCAAkC,GACnC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,4BAA4B,EAC5B,wBAAwB,EACxB,mCAAmC,GACpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,4BAA4B,EAC5B,KAAK,qBAAqB,EAC1B,qBAAqB,GACtB,MAAM,8BAA8B,CAAC;AACtC,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,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