@theokit/sdk 4.31.1 → 4.32.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 +13 -0
- package/dist/{agent-CbZPGFfM.d.cts → agent-DGv1-d81.d.cts} +51 -1
- package/dist/{agent-BKNJIOEY.cjs → agent-ES57DGAT.cjs} +8 -8
- package/dist/{agent-BKNJIOEY.cjs.map → agent-ES57DGAT.cjs.map} +1 -1
- package/dist/{agent-HW7OY2W3.js → agent-FBFPSBTX.js} +7 -7
- package/dist/{agent-HW7OY2W3.js.map → agent-FBFPSBTX.js.map} +1 -1
- package/dist/{agent-BJbGi8-R.d.ts → agent-SmxntivO.d.ts} +51 -1
- package/dist/{chunk-SJLOIZ4Z.js → chunk-334WDVFZ.js} +4 -4
- package/dist/{chunk-SJLOIZ4Z.js.map → chunk-334WDVFZ.js.map} +1 -1
- package/dist/{chunk-NZCFLEHO.cjs → chunk-CVSNCUBU.cjs} +7 -7
- package/dist/{chunk-NZCFLEHO.cjs.map → chunk-CVSNCUBU.cjs.map} +1 -1
- package/dist/{chunk-U2FO3MRG.cjs → chunk-DQSILMWU.cjs} +2 -2
- package/dist/chunk-DQSILMWU.cjs.map +1 -0
- package/dist/{chunk-RPKTXBPK.js → chunk-EIPSZ4GA.js} +3 -3
- package/dist/{chunk-RPKTXBPK.js.map → chunk-EIPSZ4GA.js.map} +1 -1
- package/dist/{chunk-WYPHQ7NM.js → chunk-HBTEK5LK.js} +3 -3
- package/dist/{chunk-WYPHQ7NM.js.map → chunk-HBTEK5LK.js.map} +1 -1
- package/dist/{chunk-IOOSAZZH.cjs → chunk-HCXDDR6P.cjs} +5 -5
- package/dist/{chunk-IOOSAZZH.cjs.map → chunk-HCXDDR6P.cjs.map} +1 -1
- package/dist/{chunk-E2YEDATX.cjs → chunk-I4QDIQ45.cjs} +6 -6
- package/dist/{chunk-E2YEDATX.cjs.map → chunk-I4QDIQ45.cjs.map} +1 -1
- package/dist/{chunk-S6F3FKFR.cjs → chunk-JPG7NMNH.cjs} +53 -43
- package/dist/chunk-JPG7NMNH.cjs.map +1 -0
- package/dist/{chunk-CCRWSZ2F.js → chunk-NI4PAMJQ.js} +23 -13
- package/dist/chunk-NI4PAMJQ.js.map +1 -0
- package/dist/{chunk-GQBXBHZ2.cjs → chunk-OQX2DG36.cjs} +5 -5
- package/dist/{chunk-GQBXBHZ2.cjs.map → chunk-OQX2DG36.cjs.map} +1 -1
- package/dist/{chunk-XDNGF5BY.js → chunk-SQVQH4EK.js} +3 -3
- package/dist/{chunk-XDNGF5BY.js.map → chunk-SQVQH4EK.js.map} +1 -1
- package/dist/{chunk-VGUOUAM2.js → chunk-WPBTPSKQ.js} +2 -2
- package/dist/chunk-WPBTPSKQ.js.map +1 -0
- package/dist/{compact-session-42BK7RE3.cjs → compact-session-OKXLKJIS.cjs} +12 -12
- package/dist/{compact-session-42BK7RE3.cjs.map → compact-session-OKXLKJIS.cjs.map} +1 -1
- package/dist/{compact-session-QMBOCFVQ.js → compact-session-UHGMWPMW.js} +4 -4
- package/dist/{compact-session-QMBOCFVQ.js.map → compact-session-UHGMWPMW.js.map} +1 -1
- package/dist/{cron-BwojPwEs.d.cts → cron-BiK_aNJI.d.cts} +1 -1
- package/dist/{cron-BU9qD5B6.d.ts → cron-Dx7B-3WB.d.ts} +1 -1
- package/dist/cron.cjs +7 -7
- package/dist/cron.d.cts +2 -2
- package/dist/cron.d.ts +2 -2
- package/dist/cron.js +6 -6
- package/dist/eval.cjs +6 -6
- package/dist/eval.js +5 -5
- package/dist/fs-session-store-2J5JOXC2.js +8 -0
- package/dist/{fs-session-store-T7YPW5A4.js.map → fs-session-store-2J5JOXC2.js.map} +1 -1
- package/dist/fs-session-store-DNAJ6RQG.cjs +17 -0
- package/dist/{fs-session-store-IIP7ZBYE.cjs.map → fs-session-store-DNAJ6RQG.cjs.map} +1 -1
- package/dist/index.cjs +49 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -4
- package/dist/index.d.ts +19 -4
- package/dist/index.js +29 -9
- package/dist/index.js.map +1 -1
- package/dist/{inject-session-6ZMCA2NE.cjs → inject-session-24FJ65LP.cjs} +6 -6
- package/dist/{inject-session-6ZMCA2NE.cjs.map → inject-session-24FJ65LP.cjs.map} +1 -1
- package/dist/{inject-session-YA3GQE4G.js → inject-session-JXQO33T3.js} +4 -4
- package/dist/{inject-session-YA3GQE4G.js.map → inject-session-JXQO33T3.js.map} +1 -1
- package/dist/persistence.cjs +4 -4
- package/dist/persistence.d.cts +1 -0
- package/dist/persistence.d.ts +1 -0
- package/dist/persistence.js +1 -1
- package/dist/{session-transcript-T4SB66I7.cjs → session-transcript-F5OXXO6G.cjs} +13 -13
- package/dist/{session-transcript-T4SB66I7.cjs.map → session-transcript-F5OXXO6G.cjs.map} +1 -1
- package/dist/{session-transcript-5VZUWEJ5.js → session-transcript-QS6CXHHD.js} +3 -3
- package/dist/{session-transcript-5VZUWEJ5.js.map → session-transcript-QS6CXHHD.js.map} +1 -1
- package/dist/subagents-loader.d.cts +1 -1
- package/dist/subagents-loader.d.ts +1 -1
- package/dist/types/session-record.d.ts +51 -1
- package/package.json +1 -1
- package/dist/chunk-CCRWSZ2F.js.map +0 -1
- package/dist/chunk-S6F3FKFR.cjs.map +0 -1
- package/dist/chunk-U2FO3MRG.cjs.map +0 -1
- package/dist/chunk-VGUOUAM2.js.map +0 -1
- package/dist/fs-session-store-IIP7ZBYE.cjs +0 -17
- package/dist/fs-session-store-T7YPW5A4.js +0 -8
|
@@ -231,5 +231,5 @@ async function readTranscript(path) {
|
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
export { SessionTranscript, defaultBaseDir, encodeProjectDir, expandTilde, readTranscript, reconstructMessages, safeSessionId, transcriptPath, transcriptRoot, writeTranscript };
|
|
234
|
-
//# sourceMappingURL=chunk-
|
|
235
|
-
//# sourceMappingURL=chunk-
|
|
234
|
+
//# sourceMappingURL=chunk-WPBTPSKQ.js.map
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AAU,OAAO,EAAC;AAChE,IAAA,MAAM,KAAA;AAAA,EACR;AACA,EAAA,OAAO,GAAA,CACJ,KAAA,CAAM,IAAI,CAAA,CACV,GAAA,CAAI,eAAe,CAAA,CACnB,MAAA,CAAO,CAAC,CAAA,KAA0B,CAAA,KAAM,MAAS,CAAA;AACtD","file":"chunk-WPBTPSKQ.js","sourcesContent":["/**\n * SE40 — native session transcript (Claude-Code-compatible on-disk shape, theokit-native names).\n *\n * The theokit session format IS the Claude Code record shape (a `uuid`/`parentUuid` DAG of records with\n * structured `text`/`tool_use`/`tool_result`/`thinking` blocks) — so the ecosystem's read-side tools\n * parse our sessions AND, pointed at `~/.claude`, the Claude Code CLI can `--continue` them. This module\n * is the PURE core: append-per-turn record builders + the DAG reader that rebuilds `LlmMessage[]` for\n * resume. File I/O + loop wiring + append-only compaction live in the FS store.\n *\n * Reader mirrors `claude-code-log` dag.py: leaf = a uuid never used as a parentUuid; walk parentUuid to a\n * root (cycle-break); dedup a uuid across sessions keeping the earliest; a `compact_boundary` root\n * terminates the walk so a resume-after-compaction replays only the post-boundary continuation.\n *\n * referencia: knowledge-base/references/claude-code-log/claude_code_log/dag.py + models.py\n */\nimport { randomUUID } from \"node:crypto\";\nimport { mkdir, readFile } from \"node:fs/promises\";\nimport { homedir } from \"node:os\";\nimport { dirname, join } from \"node:path\";\n\nimport type { SessionRecord, TranscriptBlock } from \"../../types/session-record.js\";\nimport type { LlmContentPart, LlmMessage, LlmToolResultPart } from \"../llm/types.js\";\nimport { redactSecrets } from \"../security/redact.js\";\nimport { replaceFileAtomic } from \"./atomic-write.js\";\n\n// The `SessionRecord` contract now lives in the domain `types/` layer (SE46 DIP\n// direction). Re-exported here so existing importers of this DAG-core module\n// keep resolving the same name.\nexport type { SessionRecord } from \"../../types/session-record.js\";\n\nexport interface SessionTranscriptOptions {\n cwd: string;\n sessionId: string;\n model: string;\n version?: string;\n}\n\nexport interface AssistantTurn {\n text?: string;\n thinking?: string;\n toolCalls?: Array<{ id: string; name: string; input: Record<string, unknown> }>;\n}\n\n/** Claude Code path convention: cwd with every non-alphanumeric replaced by `-`. */\nexport function encodeProjectDir(cwd: string): string {\n return cwd.replace(/[^a-zA-Z0-9]/g, \"-\");\n}\n\n/** Make a caller-supplied session id safe as a path component (no traversal). */\nexport function safeSessionId(id: string): string {\n return id.replace(/[^a-zA-Z0-9_-]/g, \"-\");\n}\n\nconst red = (s: string): string => redactSecrets(s);\n\n/** Deep-redact a structured value (tool input) preserving object shape. */\nfunction redactValue(value: unknown): unknown {\n try {\n return JSON.parse(redactSecrets(JSON.stringify(value ?? null)));\n } catch {\n return redactSecrets(String(value));\n }\n}\n\n// M94 — era `Record<string, unknown>`. O tipo publicado descreve a mesma forma que este arquivo\n// sempre produziu; o alias local passa a apontar para ele para que escritor e leitor não possam\n// divergir em silêncio.\ntype Block = TranscriptBlock;\n\n/**\n * Builds a session transcript append-by-append, maintaining the `parentUuid` chain. Each turn mints a\n * fresh `uuid` and parents on the previous record; `appendCompactBoundary` starts a NEW ROOT.\n */\nexport class SessionTranscript {\n #records: SessionRecord[] = [];\n #last: string | null = null;\n #opts: SessionTranscriptOptions;\n\n constructor(opts: SessionTranscriptOptions) {\n this.#opts = opts;\n }\n\n /**\n * Seed a transcript from records already on disk so a subsequent append parents\n * on the existing DAG leaf (the last record in file order). Prior records are\n * re-emitted verbatim by {@link records}, so the whole file rewrites atomically\n * as one append-only line set — never shrinking (SE40 compaction is append-only).\n */\n static fromRecords(\n prior: readonly SessionRecord[],\n opts: SessionTranscriptOptions,\n ): SessionTranscript {\n const t = new SessionTranscript(opts);\n t.#records = [...prior];\n t.#last = prior.length > 0 ? (prior[prior.length - 1]?.uuid ?? null) : null;\n return t;\n }\n\n #push(\n rec: Omit<SessionRecord, \"uuid\" | \"parentUuid\" | \"sessionId\" | \"timestamp\">,\n ): SessionRecord {\n const full: SessionRecord = {\n ...rec,\n uuid: randomUUID(),\n parentUuid: this.#last,\n sessionId: this.#opts.sessionId,\n timestamp: new Date().toISOString(),\n isSidechain: false,\n userType: \"external\",\n cwd: this.#opts.cwd,\n version: this.#opts.version ?? \"1.0.0-theokit\",\n };\n this.#records.push(full);\n this.#last = full.uuid;\n return full;\n }\n\n appendUserTurn(text: string): SessionRecord {\n return this.#push({\n type: \"user\",\n message: { role: \"user\", content: [{ type: \"text\", text: red(text) }] },\n });\n }\n\n appendAssistantTurn(turn: AssistantTurn): SessionRecord {\n const content: Block[] = [];\n if (turn.thinking) content.push({ type: \"thinking\", thinking: red(turn.thinking) });\n if (turn.text) content.push({ type: \"text\", text: red(turn.text) });\n for (const c of turn.toolCalls ?? []) {\n content.push({ type: \"tool_use\", id: c.id, name: c.name, input: redactValue(c.input) });\n }\n return this.#push({\n type: \"assistant\",\n message: {\n id: randomUUID(),\n type: \"message\",\n role: \"assistant\",\n model: this.#opts.model,\n content,\n },\n });\n }\n\n appendToolResults(\n results: Array<{ toolUseId: string; content: string; isError?: boolean }>,\n ): SessionRecord {\n const content: Block[] = results.map((r) => ({\n type: \"tool_result\",\n tool_use_id: r.toolUseId,\n content: red(r.content),\n is_error: r.isError === true,\n }));\n return this.#push({ type: \"user\", message: { role: \"user\", content } });\n }\n\n /** Append-only compaction: a `compact_boundary` system record becomes a NEW ROOT (parentUuid null). */\n appendCompactBoundary(meta: { preTokens: number; trigger: string }): SessionRecord {\n const rec: SessionRecord = {\n type: \"system\",\n uuid: randomUUID(),\n parentUuid: null,\n sessionId: this.#opts.sessionId,\n timestamp: new Date().toISOString(),\n subtype: \"compact_boundary\",\n compactMetadata: meta,\n isSidechain: false,\n userType: \"external\",\n cwd: this.#opts.cwd,\n version: this.#opts.version ?? \"1.0.0-theokit\",\n };\n this.#records.push(rec);\n this.#last = rec.uuid;\n return rec;\n }\n\n records(): readonly SessionRecord[] {\n return this.#records;\n }\n}\n\n// ─── Reader (DAG → LlmMessage[]) ──────────────────────────────────────────────────────────────────\n\n/** Earliest timestamp seen per session id. */\nfunction sessionFirstTimestamps(records: readonly SessionRecord[]): Map<string, string> {\n const first = new Map<string, string>();\n for (const r of records) {\n const cur = first.get(r.sessionId);\n if (cur === undefined || r.timestamp < cur) first.set(r.sessionId, r.timestamp);\n }\n return first;\n}\n\n/** Dedup a uuid across sessions: keep the record whose session's earliest timestamp is smallest. */\nfunction dedupByUuid(records: readonly SessionRecord[]): Map<string, SessionRecord> {\n const firstTs = sessionFirstTimestamps(records);\n const byUuid = new Map<string, SessionRecord>();\n for (const r of records) {\n const existing = byUuid.get(r.uuid);\n const wins =\n existing === undefined ||\n (firstTs.get(r.sessionId) ?? \"\") < (firstTs.get(existing.sessionId) ?? \"\");\n if (wins) byUuid.set(r.uuid, r);\n }\n return byUuid;\n}\n\n/** Map one structured block to an LlmContentPart (`undefined` for thinking — dropped on read, SE42/#122). */\nfunction blockToPart(b: Block): LlmContentPart | undefined {\n if (b.type === \"text\") return { type: \"text\", text: String(b.text ?? \"\") };\n if (b.type === \"tool_use\") {\n return {\n type: \"tool_use\",\n id: String(b.id),\n name: String(b.name),\n input: (b.input as Record<string, unknown>) ?? {},\n };\n }\n if (b.type === \"tool_result\") {\n const tr: LlmToolResultPart = {\n type: \"tool_result\",\n toolUseId: String(b.tool_use_id),\n content: typeof b.content === \"string\" ? b.content : JSON.stringify(b.content),\n isError: b.is_error === true,\n };\n return tr;\n }\n return undefined;\n}\n\n/** Map one record to an LlmMessage; `undefined` for non-conversational (system) records. */\nfunction recordToMessage(rec: SessionRecord): LlmMessage | undefined {\n if (rec.type !== \"user\" && rec.type !== \"assistant\") return undefined;\n const blocks = (rec.message?.content as Block[] | undefined) ?? [];\n const parts = blocks.map(blockToPart).filter((p): p is LlmContentPart => p !== undefined);\n return { role: rec.type, content: parts };\n}\n\n/** The most-recent leaf: the LAST record (in input order) whose uuid is never used as a parentUuid. */\nfunction findLatestLeaf(\n records: readonly SessionRecord[],\n byUuid: Map<string, SessionRecord>,\n parents: Set<string>,\n): SessionRecord | undefined {\n let leaf: SessionRecord | undefined;\n for (const r of records) {\n if (byUuid.get(r.uuid) === r && !parents.has(r.uuid)) leaf = r;\n }\n return leaf;\n}\n\n/** Walk parentUuid from a leaf to a root (cycle-safe), returning root→leaf order. */\nfunction walkToRoot(leaf: SessionRecord, byUuid: Map<string, SessionRecord>): SessionRecord[] {\n const chain: SessionRecord[] = [];\n const seen = new Set<string>();\n let cur: SessionRecord | undefined = leaf;\n while (cur !== undefined && !seen.has(cur.uuid)) {\n seen.add(cur.uuid);\n chain.push(cur);\n cur = cur.parentUuid !== null ? byUuid.get(cur.parentUuid) : undefined;\n }\n return chain.reverse();\n}\n\n/**\n * Rebuild the resumable `LlmMessage[]` from transcript records: dedup → find the most-recent leaf →\n * walk `parentUuid` to a root (a `compact_boundary` root terminates the walk) → map to LlmMessages.\n * Returns them in root→leaf (chronological replay) order.\n */\nexport function reconstructMessages(records: readonly SessionRecord[]): LlmMessage[] {\n const byUuid = dedupByUuid(records);\n const parents = new Set<string>();\n for (const r of byUuid.values()) if (r.parentUuid) parents.add(r.parentUuid);\n const leaf = findLatestLeaf(records, byUuid, parents);\n if (leaf === undefined) return [];\n\n const msgs: LlmMessage[] = [];\n for (const rec of walkToRoot(leaf, byUuid)) {\n const m = recordToMessage(rec);\n if (m !== undefined) msgs.push(m);\n }\n return msgs;\n}\n\n// ─── File I/O (the on-disk Claude layout) ─────────────────────────────────────────────────────────\n\n/**\n * Raiz do estado de transcript.\n *\n * `THEOKIT_HOME` vence; o fallback é `~/.theokit`. Home-ancorado de propósito, e NÃO\n * `getTheokitHome(cwd)` de `paths.ts`: aquele faz fallback para `<cwd>/.theokit`, e trocar\n * por ele moveria o transcript de todo mundo que **não** define a variável. O irmão com a\n * forma certa é `catalog-source-models-dev.ts` (M94 ADR-2).\n *\n * Antes do M94 esta função ignorava a env, então quem a definia tinha o estado partido em\n * dois em silêncio — as sessões continuavam em `~/.theokit` enquanto o resto do SDK migrava.\n */\nexport function transcriptRoot(): string {\n const override = process.env.THEOKIT_HOME?.trim();\n if (override !== undefined && override.length > 0) return override;\n return join(homedir(), \".theokit\");\n}\n\n/** @deprecated Use {@link transcriptRoot}. Mantido como alias — mesmo valor. */\nexport function defaultBaseDir(): string {\n return transcriptRoot();\n}\n\n/**\n * Expand a leading `~` / `~/` to the user's home dir. `node:path` does NOT expand `~`, so a\n * `baseDir: \"~/.claude\"` (the documented Claude Code CLI interop path) would otherwise resolve to a\n * literal `./~/.claude` under cwd and the CLI would never find the session. Absolute or relative\n * paths without a leading tilde pass through untouched.\n */\nexport function expandTilde(p: string): string {\n if (p === \"~\") return homedir();\n if (p.startsWith(\"~/\")) return join(homedir(), p.slice(2));\n return p;\n}\n\n/** The `.jsonl` path for a session: `<baseDir>/projects/<encoded-cwd>/<safe-sessionId>.jsonl`. */\nexport function transcriptPath(baseDir: string, cwd: string, sessionId: string): string {\n return join(baseDir, \"projects\", encodeProjectDir(cwd), `${safeSessionId(sessionId)}.jsonl`);\n}\n\n/** Write records as one JSONL line each (atomic; parent dir created). Returns the path. */\nexport async function writeTranscript(\n path: string,\n records: readonly SessionRecord[],\n): Promise<string> {\n await mkdir(dirname(path), { recursive: true });\n const body = records.map((r) => JSON.stringify(r)).join(\"\\n\");\n await replaceFileAtomic(path, records.length > 0 ? `${body}\\n` : \"\");\n return path;\n}\n\n/** Parse one JSONL line to a record; `undefined` for blank/torn/invalid lines (skipped on read). */\nfunction parseRecordLine(line: string): SessionRecord | undefined {\n const trimmed = line.trim();\n if (trimmed.length === 0) return undefined;\n try {\n const rec = JSON.parse(trimmed) as SessionRecord;\n return typeof rec.uuid === \"string\" && typeof rec.type === \"string\" ? rec : undefined;\n } catch {\n return undefined; // a torn last line (crash mid-write) — the rest of the DAG still reconstructs\n }\n}\n\n/** Parse a transcript `.jsonl` into records; a missing file yields `[]`; malformed lines are skipped. */\nexport async function readTranscript(path: string): Promise<SessionRecord[]> {\n let raw: string;\n try {\n raw = await readFile(path, \"utf8\");\n } catch (cause) {\n if ((cause as NodeJS.ErrnoException).code === \"ENOENT\") return [];\n throw cause;\n }\n return raw\n .split(\"\\n\")\n .map(parseRecordLine)\n .filter((r): r is SessionRecord => r !== undefined);\n}\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCVSNCUBU_cjs = require('./chunk-CVSNCUBU.cjs');
|
|
4
4
|
require('./chunk-LUSXDZPV.cjs');
|
|
5
5
|
require('./chunk-IT3PWBW4.cjs');
|
|
6
6
|
require('./chunk-MUUQ2WFJ.cjs');
|
|
7
7
|
require('./chunk-6JSIEDKL.cjs');
|
|
8
8
|
require('./chunk-YLQQX5W2.cjs');
|
|
9
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-DQSILMWU.cjs');
|
|
10
10
|
require('./chunk-TIZ4TS5V.cjs');
|
|
11
11
|
require('./chunk-EVADEGM7.cjs');
|
|
12
12
|
require('./chunk-D42XHI4O.cjs');
|
|
@@ -20,35 +20,35 @@ require('./chunk-BEURCLDV.cjs');
|
|
|
20
20
|
|
|
21
21
|
Object.defineProperty(exports, "COMPACT_SUMMARY_MARKER", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkCVSNCUBU_cjs.COMPACT_SUMMARY_MARKER; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "COMPACT_USER_MESSAGE_MAX_TOKENS", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkCVSNCUBU_cjs.COMPACT_USER_MESSAGE_MAX_TOKENS; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "autoCompactIfNeeded", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkCVSNCUBU_cjs.autoCompactIfNeeded; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "buildDefaultSummarizer", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkCVSNCUBU_cjs.buildDefaultSummarizer; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "compactSessionTranscript", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkCVSNCUBU_cjs.compactSessionTranscript; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "isCompactSummary", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkCVSNCUBU_cjs.isCompactSummary; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "resolveSummarizerRoute", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkCVSNCUBU_cjs.resolveSummarizerRoute; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "shouldAutoCompact", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkCVSNCUBU_cjs.shouldAutoCompact; }
|
|
52
52
|
});
|
|
53
|
-
//# sourceMappingURL=compact-session-
|
|
54
|
-
//# sourceMappingURL=compact-session-
|
|
53
|
+
//# sourceMappingURL=compact-session-OKXLKJIS.cjs.map
|
|
54
|
+
//# sourceMappingURL=compact-session-OKXLKJIS.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"compact-session-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"compact-session-OKXLKJIS.cjs"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { COMPACT_SUMMARY_MARKER, COMPACT_USER_MESSAGE_MAX_TOKENS, autoCompactIfNeeded, buildDefaultSummarizer, compactSessionTranscript, isCompactSummary, resolveSummarizerRoute, shouldAutoCompact } from './chunk-
|
|
1
|
+
export { COMPACT_SUMMARY_MARKER, COMPACT_USER_MESSAGE_MAX_TOKENS, autoCompactIfNeeded, buildDefaultSummarizer, compactSessionTranscript, isCompactSummary, resolveSummarizerRoute, shouldAutoCompact } from './chunk-SQVQH4EK.js';
|
|
2
2
|
import './chunk-6CLRANZA.js';
|
|
3
3
|
import './chunk-EEZ7CFMM.js';
|
|
4
4
|
import './chunk-FD2UT76F.js';
|
|
5
5
|
import './chunk-U54XCYG3.js';
|
|
6
6
|
import './chunk-2XLKLVVR.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-WPBTPSKQ.js';
|
|
8
8
|
import './chunk-S2BBRVQX.js';
|
|
9
9
|
import './chunk-WA3FO4R7.js';
|
|
10
10
|
import './chunk-KAP4GJHO.js';
|
|
@@ -13,5 +13,5 @@ import './chunk-5NBUH3NO.js';
|
|
|
13
13
|
import './chunk-POQT2OIF.js';
|
|
14
14
|
import './chunk-WLKFWQSJ.js';
|
|
15
15
|
import './chunk-JTFYYKDT.js';
|
|
16
|
-
//# sourceMappingURL=compact-session-
|
|
17
|
-
//# sourceMappingURL=compact-session-
|
|
16
|
+
//# sourceMappingURL=compact-session-UHGMWPMW.js.map
|
|
17
|
+
//# sourceMappingURL=compact-session-UHGMWPMW.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"compact-session-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"compact-session-UHGMWPMW.js"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ZodType } from 'zod';
|
|
2
|
-
import { e as SDKAgent, A as AgentOptions, g as ListResult } from './agent-
|
|
2
|
+
import { e as SDKAgent, A as AgentOptions, g as ListResult } from './agent-DGv1-d81.cjs';
|
|
3
3
|
import { u as MessageOrigin, ac as SDKUserMessage, b as Run } from './run-CwEJtLPE.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ZodType } from 'zod';
|
|
2
|
-
import { e as SDKAgent, A as AgentOptions, g as ListResult } from './agent-
|
|
2
|
+
import { e as SDKAgent, A as AgentOptions, g as ListResult } from './agent-SmxntivO.js';
|
|
3
3
|
import { u as MessageOrigin, ac as SDKUserMessage, b as Run } from './run-CwEJtLPE.js';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/cron.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkOQX2DG36_cjs = require('./chunk-OQX2DG36.cjs');
|
|
4
|
+
require('./chunk-JPG7NMNH.cjs');
|
|
5
5
|
require('./chunk-BV2MWEMV.cjs');
|
|
6
6
|
require('./chunk-MZ5ZRORA.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-I4QDIQ45.cjs');
|
|
8
8
|
require('./chunk-BUUUWQMB.cjs');
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-HCXDDR6P.cjs');
|
|
10
|
+
require('./chunk-CVSNCUBU.cjs');
|
|
11
11
|
require('./chunk-LUSXDZPV.cjs');
|
|
12
12
|
require('./chunk-IT3PWBW4.cjs');
|
|
13
13
|
require('./chunk-JLMXKTBX.cjs');
|
|
@@ -25,7 +25,7 @@ require('./chunk-7S7KKUO6.cjs');
|
|
|
25
25
|
require('./chunk-CJVMDRQB.cjs');
|
|
26
26
|
require('./chunk-JD74LN7R.cjs');
|
|
27
27
|
require('./chunk-YLQQX5W2.cjs');
|
|
28
|
-
require('./chunk-
|
|
28
|
+
require('./chunk-DQSILMWU.cjs');
|
|
29
29
|
require('./chunk-ANIZEWTU.cjs');
|
|
30
30
|
require('./chunk-WJVHMTKB.cjs');
|
|
31
31
|
require('./chunk-TIZ4TS5V.cjs');
|
|
@@ -45,7 +45,7 @@ require('./chunk-BEURCLDV.cjs');
|
|
|
45
45
|
|
|
46
46
|
Object.defineProperty(exports, "Cron", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkOQX2DG36_cjs.Cron; }
|
|
49
49
|
});
|
|
50
50
|
//# sourceMappingURL=cron.cjs.map
|
|
51
51
|
//# sourceMappingURL=cron.cjs.map
|
package/dist/cron.d.cts
CHANGED
package/dist/cron.d.ts
CHANGED
package/dist/cron.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { Cron } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Cron } from './chunk-HBTEK5LK.js';
|
|
2
|
+
import './chunk-NI4PAMJQ.js';
|
|
3
3
|
import './chunk-2SFBB54R.js';
|
|
4
4
|
import './chunk-HRA3CPGG.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-334WDVFZ.js';
|
|
6
6
|
import './chunk-K2BQQ445.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import './chunk-EIPSZ4GA.js';
|
|
8
|
+
import './chunk-SQVQH4EK.js';
|
|
9
9
|
import './chunk-6CLRANZA.js';
|
|
10
10
|
import './chunk-EEZ7CFMM.js';
|
|
11
11
|
import './chunk-XAUBQMQU.js';
|
|
@@ -23,7 +23,7 @@ import './chunk-5PZMMF4H.js';
|
|
|
23
23
|
import './chunk-UAYYNWYJ.js';
|
|
24
24
|
import './chunk-77FOZCOT.js';
|
|
25
25
|
import './chunk-2XLKLVVR.js';
|
|
26
|
-
import './chunk-
|
|
26
|
+
import './chunk-WPBTPSKQ.js';
|
|
27
27
|
import './chunk-BXV2QUIC.js';
|
|
28
28
|
import './chunk-4VPXM6UU.js';
|
|
29
29
|
import './chunk-S2BBRVQX.js';
|
package/dist/eval.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkS7OEXQMI_cjs = require('./chunk-S7OEXQMI.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkJPG7NMNH_cjs = require('./chunk-JPG7NMNH.cjs');
|
|
5
5
|
require('./chunk-BV2MWEMV.cjs');
|
|
6
6
|
require('./chunk-MZ5ZRORA.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-I4QDIQ45.cjs');
|
|
8
8
|
var chunkBUUUWQMB_cjs = require('./chunk-BUUUWQMB.cjs');
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-HCXDDR6P.cjs');
|
|
10
|
+
require('./chunk-CVSNCUBU.cjs');
|
|
11
11
|
require('./chunk-LUSXDZPV.cjs');
|
|
12
12
|
require('./chunk-IT3PWBW4.cjs');
|
|
13
13
|
require('./chunk-JLMXKTBX.cjs');
|
|
@@ -25,7 +25,7 @@ require('./chunk-7S7KKUO6.cjs');
|
|
|
25
25
|
var chunkCJVMDRQB_cjs = require('./chunk-CJVMDRQB.cjs');
|
|
26
26
|
require('./chunk-JD74LN7R.cjs');
|
|
27
27
|
require('./chunk-YLQQX5W2.cjs');
|
|
28
|
-
require('./chunk-
|
|
28
|
+
require('./chunk-DQSILMWU.cjs');
|
|
29
29
|
require('./chunk-ANIZEWTU.cjs');
|
|
30
30
|
require('./chunk-WJVHMTKB.cjs');
|
|
31
31
|
require('./chunk-TIZ4TS5V.cjs');
|
|
@@ -767,7 +767,7 @@ function makeDefaultEmbedder(opts) {
|
|
|
767
767
|
let runtime;
|
|
768
768
|
return (texts) => {
|
|
769
769
|
if (runtime === void 0) {
|
|
770
|
-
runtime =
|
|
770
|
+
runtime = chunkJPG7NMNH_cjs.openRouterMemoryEmbeddingProviderAdapter.create(embedderCreateOptions(opts));
|
|
771
771
|
}
|
|
772
772
|
return runtime.then((rt) => rt.embed(texts));
|
|
773
773
|
};
|
package/dist/eval.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { shellEscapePosix, LocalSandbox } from './chunk-SKWVAQAY.js';
|
|
2
|
-
import { openRouterMemoryEmbeddingProviderAdapter } from './chunk-
|
|
2
|
+
import { openRouterMemoryEmbeddingProviderAdapter } from './chunk-NI4PAMJQ.js';
|
|
3
3
|
import './chunk-2SFBB54R.js';
|
|
4
4
|
import './chunk-HRA3CPGG.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-334WDVFZ.js';
|
|
6
6
|
import { getTracer } from './chunk-K2BQQ445.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import './chunk-EIPSZ4GA.js';
|
|
8
|
+
import './chunk-SQVQH4EK.js';
|
|
9
9
|
import './chunk-6CLRANZA.js';
|
|
10
10
|
import './chunk-EEZ7CFMM.js';
|
|
11
11
|
import './chunk-XAUBQMQU.js';
|
|
@@ -24,7 +24,7 @@ import { readJsonlIds, appendJsonl } from './chunk-UAYYNWYJ.js';
|
|
|
24
24
|
export { JsonlParseError, loadJsonl } from './chunk-UAYYNWYJ.js';
|
|
25
25
|
import './chunk-77FOZCOT.js';
|
|
26
26
|
import './chunk-2XLKLVVR.js';
|
|
27
|
-
import './chunk-
|
|
27
|
+
import './chunk-WPBTPSKQ.js';
|
|
28
28
|
import './chunk-BXV2QUIC.js';
|
|
29
29
|
import './chunk-4VPXM6UU.js';
|
|
30
30
|
import './chunk-S2BBRVQX.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { FsSessionStore } from './chunk-EIPSZ4GA.js';
|
|
2
|
+
import './chunk-UAYYNWYJ.js';
|
|
3
|
+
import './chunk-2XLKLVVR.js';
|
|
4
|
+
import './chunk-WPBTPSKQ.js';
|
|
5
|
+
import './chunk-S2BBRVQX.js';
|
|
6
|
+
import './chunk-JTFYYKDT.js';
|
|
7
|
+
//# sourceMappingURL=fs-session-store-2J5JOXC2.js.map
|
|
8
|
+
//# sourceMappingURL=fs-session-store-2J5JOXC2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"fs-session-store-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"fs-session-store-2J5JOXC2.js"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkHCXDDR6P_cjs = require('./chunk-HCXDDR6P.cjs');
|
|
4
|
+
require('./chunk-CJVMDRQB.cjs');
|
|
5
|
+
require('./chunk-YLQQX5W2.cjs');
|
|
6
|
+
require('./chunk-DQSILMWU.cjs');
|
|
7
|
+
require('./chunk-TIZ4TS5V.cjs');
|
|
8
|
+
require('./chunk-BEURCLDV.cjs');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Object.defineProperty(exports, "FsSessionStore", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkHCXDDR6P_cjs.FsSessionStore; }
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=fs-session-store-DNAJ6RQG.cjs.map
|
|
17
|
+
//# sourceMappingURL=fs-session-store-DNAJ6RQG.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"fs-session-store-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"fs-session-store-DNAJ6RQG.cjs"}
|
package/dist/index.cjs
CHANGED
|
@@ -8,14 +8,14 @@ require('./chunk-EPYZOCOL.cjs');
|
|
|
8
8
|
var chunkZ2OC3UIW_cjs = require('./chunk-Z2OC3UIW.cjs');
|
|
9
9
|
require('./chunk-BWT67BI4.cjs');
|
|
10
10
|
require('./chunk-PNVDQL5Y.cjs');
|
|
11
|
-
var
|
|
12
|
-
var
|
|
11
|
+
var chunkOQX2DG36_cjs = require('./chunk-OQX2DG36.cjs');
|
|
12
|
+
var chunkJPG7NMNH_cjs = require('./chunk-JPG7NMNH.cjs');
|
|
13
13
|
require('./chunk-BV2MWEMV.cjs');
|
|
14
14
|
var chunkMZ5ZRORA_cjs = require('./chunk-MZ5ZRORA.cjs');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-I4QDIQ45.cjs');
|
|
16
16
|
require('./chunk-BUUUWQMB.cjs');
|
|
17
|
-
require('./chunk-
|
|
18
|
-
var
|
|
17
|
+
require('./chunk-HCXDDR6P.cjs');
|
|
18
|
+
var chunkCVSNCUBU_cjs = require('./chunk-CVSNCUBU.cjs');
|
|
19
19
|
require('./chunk-LUSXDZPV.cjs');
|
|
20
20
|
require('./chunk-IT3PWBW4.cjs');
|
|
21
21
|
var chunkJLMXKTBX_cjs = require('./chunk-JLMXKTBX.cjs');
|
|
@@ -33,7 +33,7 @@ require('./chunk-7S7KKUO6.cjs');
|
|
|
33
33
|
require('./chunk-CJVMDRQB.cjs');
|
|
34
34
|
require('./chunk-JD74LN7R.cjs');
|
|
35
35
|
var chunkYLQQX5W2_cjs = require('./chunk-YLQQX5W2.cjs');
|
|
36
|
-
require('./chunk-
|
|
36
|
+
require('./chunk-DQSILMWU.cjs');
|
|
37
37
|
require('./chunk-ANIZEWTU.cjs');
|
|
38
38
|
var chunkWJVHMTKB_cjs = require('./chunk-WJVHMTKB.cjs');
|
|
39
39
|
var chunkTIZ4TS5V_cjs = require('./chunk-TIZ4TS5V.cjs');
|
|
@@ -57,8 +57,8 @@ var fs = require('fs');
|
|
|
57
57
|
// src/agent-factory.ts
|
|
58
58
|
function createAgentFactory(common) {
|
|
59
59
|
return {
|
|
60
|
-
forSession: (agentId, overrides) =>
|
|
61
|
-
getOrCreate: (agentId, overrides) =>
|
|
60
|
+
forSession: (agentId, overrides) => chunkJPG7NMNH_cjs.Agent.create(mergeAgentOptions(common, overrides, agentId)),
|
|
61
|
+
getOrCreate: (agentId, overrides) => chunkJPG7NMNH_cjs.Agent.getOrCreate(agentId, mergeAgentOptions(common, overrides, agentId))
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
function mergeAgentOptions(common, overrides, agentId) {
|
|
@@ -572,7 +572,7 @@ function defineProvider(profile, opts) {
|
|
|
572
572
|
profile
|
|
573
573
|
};
|
|
574
574
|
}
|
|
575
|
-
var Provider = class {
|
|
575
|
+
var Provider = class _Provider {
|
|
576
576
|
constructor() {
|
|
577
577
|
}
|
|
578
578
|
static create(profile, opts) {
|
|
@@ -590,6 +590,26 @@ var Provider = class {
|
|
|
590
590
|
chunkD42XHI4O_cjs.registerBuiltins();
|
|
591
591
|
return chunkD42XHI4O_cjs.listProviders().map((profile) => defineProvider(profile));
|
|
592
592
|
}
|
|
593
|
+
/**
|
|
594
|
+
* O builtin que atende `modelId`, ou `undefined` quando nenhum atende.
|
|
595
|
+
*
|
|
596
|
+
* A gramática de um id de modelo — `provider/modelo` — passa a ter **um** dono. M94: o consumidor
|
|
597
|
+
* a refazia à mão com `modelId.slice(0, modelId.indexOf('/'))`, que num id **sem barra** devolve o
|
|
598
|
+
* id menos o último caractere (`claude-opus-5` → `claude-opus-`): casa provider nenhum e o
|
|
599
|
+
* chamador seguia para o default, sem distinguir isso de um acerto. Um modelo não-roteável era
|
|
600
|
+
* indistinguível do caminho feliz.
|
|
601
|
+
*
|
|
602
|
+
* Devolve `undefined` em vez de lançar: quem decide se a ausência é erro é o chamador, e só ele
|
|
603
|
+
* sabe se o modelo veio de um `--model` explícito (erro) ou do default (normal).
|
|
604
|
+
*
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
static forModel(modelId) {
|
|
608
|
+
const corte = modelId.indexOf("/");
|
|
609
|
+
if (corte <= 0) return void 0;
|
|
610
|
+
const nome = modelId.slice(0, corte);
|
|
611
|
+
return _Provider.builtins().find((p) => p.name === nome);
|
|
612
|
+
}
|
|
593
613
|
};
|
|
594
614
|
var SkillReadInputSchema = zod.z.object({
|
|
595
615
|
name: zod.z.string().min(1, "skill_read: `name` is required.")
|
|
@@ -1145,7 +1165,7 @@ var Memory = {
|
|
|
1145
1165
|
return await peer.IndexManager.open(openArgs);
|
|
1146
1166
|
}
|
|
1147
1167
|
const { IndexManager } = await import('./index-manager-H7HUMW52.cjs');
|
|
1148
|
-
openArgs.embedding = await resolveEmbedding(opts.embedding,
|
|
1168
|
+
openArgs.embedding = await resolveEmbedding(opts.embedding, chunkJPG7NMNH_cjs.MEMORY_EMBEDDING_ADAPTERS);
|
|
1149
1169
|
return await IndexManager.open(openArgs);
|
|
1150
1170
|
},
|
|
1151
1171
|
/**
|
|
@@ -1156,7 +1176,7 @@ var Memory = {
|
|
|
1156
1176
|
*/
|
|
1157
1177
|
async runDreamingSweep(opts) {
|
|
1158
1178
|
const peer = await tryLoadSdkMemoryPeer();
|
|
1159
|
-
const catalog = peer !== null ? peer.MEMORY_EMBEDDING_ADAPTERS :
|
|
1179
|
+
const catalog = peer !== null ? peer.MEMORY_EMBEDDING_ADAPTERS : chunkJPG7NMNH_cjs.MEMORY_EMBEDDING_ADAPTERS;
|
|
1160
1180
|
const sweepArgs = await buildDreamingSweepArgs(opts, catalog);
|
|
1161
1181
|
const result = peer !== null ? (
|
|
1162
1182
|
// biome-ignore lint/suspicious/noExplicitAny: peer is dynamically loaded — structural compat ensured by sdk-memory
|
|
@@ -1578,7 +1598,7 @@ function ehAgenteConstruido(m) {
|
|
|
1578
1598
|
return typeof m.send === "function";
|
|
1579
1599
|
}
|
|
1580
1600
|
async function materializar(def, indice) {
|
|
1581
|
-
const { Agent: Agent2 } = await import('./agent-
|
|
1601
|
+
const { Agent: Agent2 } = await import('./agent-ES57DGAT.cjs');
|
|
1582
1602
|
return Agent2.create({
|
|
1583
1603
|
// `AgentDefinition.model` admite o sentinel `'inherit'`, que não é um id de modelo. Herdar
|
|
1584
1604
|
// aqui significa "não declare nada e deixe o default valer" — passar o literal adiante criaria
|
|
@@ -1720,7 +1740,7 @@ var FIXTURE_USER = {
|
|
|
1720
1740
|
};
|
|
1721
1741
|
var FIXTURE_MODELS = [
|
|
1722
1742
|
{
|
|
1723
|
-
id:
|
|
1743
|
+
id: chunkJPG7NMNH_cjs.DEFAULT_AGENTIC_MODEL_ID,
|
|
1724
1744
|
name: "Gemini 2.0 Flash",
|
|
1725
1745
|
displayName: "Gemini 2.0 Flash",
|
|
1726
1746
|
parameters: [
|
|
@@ -1796,7 +1816,7 @@ async function listLocalModelsViaOpenAiCompat(baseUrl) {
|
|
|
1796
1816
|
try {
|
|
1797
1817
|
response = await fetch(url, { method: "GET" });
|
|
1798
1818
|
} catch (fetchErr) {
|
|
1799
|
-
const mapped =
|
|
1819
|
+
const mapped = chunkCVSNCUBU_cjs.mapOllamaTransportError({
|
|
1800
1820
|
providerId: "ollama",
|
|
1801
1821
|
cause: fetchErr,
|
|
1802
1822
|
endpoint: "/v1/models"
|
|
@@ -1814,7 +1834,7 @@ async function listLocalModelsViaOpenAiCompat(baseUrl) {
|
|
|
1814
1834
|
body = JSON.parse(text);
|
|
1815
1835
|
} catch {
|
|
1816
1836
|
}
|
|
1817
|
-
const mapped =
|
|
1837
|
+
const mapped = chunkCVSNCUBU_cjs.mapOllamaHttpError({
|
|
1818
1838
|
providerId: "ollama",
|
|
1819
1839
|
status: response.status,
|
|
1820
1840
|
body,
|
|
@@ -1928,7 +1948,7 @@ var Theokit = class {
|
|
|
1928
1948
|
envVars: p.envVars
|
|
1929
1949
|
}));
|
|
1930
1950
|
},
|
|
1931
|
-
embeddingAdapters: () => Object.entries(
|
|
1951
|
+
embeddingAdapters: () => Object.entries(chunkJPG7NMNH_cjs.MEMORY_EMBEDDING_ADAPTERS).map(([id, adapter]) => ({
|
|
1932
1952
|
id,
|
|
1933
1953
|
transport: adapter.transport,
|
|
1934
1954
|
defaultModel: adapter.defaultModel
|
|
@@ -1946,7 +1966,7 @@ var Theokit = class {
|
|
|
1946
1966
|
};
|
|
1947
1967
|
async function maybeListLocalModels(providerName) {
|
|
1948
1968
|
chunkD42XHI4O_cjs.registerBuiltins();
|
|
1949
|
-
await
|
|
1969
|
+
await chunkCVSNCUBU_cjs.discoverProviderPlugins();
|
|
1950
1970
|
const profile = chunkD42XHI4O_cjs.getProviderProfile(providerName);
|
|
1951
1971
|
if (profile === void 0) return void 0;
|
|
1952
1972
|
if (profile.authType !== "none") return void 0;
|
|
@@ -1960,17 +1980,17 @@ function resolveLocalProviderBaseUrl(providerName, fallback) {
|
|
|
1960
1980
|
return fallback;
|
|
1961
1981
|
}
|
|
1962
1982
|
async function executeCatalogRequest(request) {
|
|
1963
|
-
const apiKey =
|
|
1983
|
+
const apiKey = chunkJPG7NMNH_cjs.resolveApiKey(request.apiKey);
|
|
1964
1984
|
if (apiKey === void 0) {
|
|
1965
1985
|
throw new chunkA44COQJJ_cjs.AuthenticationError("Missing API key", { code: "missing_api_key" });
|
|
1966
1986
|
}
|
|
1967
|
-
if (
|
|
1987
|
+
if (chunkJPG7NMNH_cjs.shouldUseFixtureMode(apiKey)) {
|
|
1968
1988
|
return request.fixture;
|
|
1969
1989
|
}
|
|
1970
|
-
if (!
|
|
1990
|
+
if (!chunkJPG7NMNH_cjs.isFixtureApiKey(apiKey) && process.env.THEOKIT_API_BASE_URL === void 0) {
|
|
1971
1991
|
throw new chunkA44COQJJ_cjs.AuthenticationError("Invalid API key", { code: "authentication_error" });
|
|
1972
1992
|
}
|
|
1973
|
-
return
|
|
1993
|
+
return chunkJPG7NMNH_cjs.httpRequest(request.path, { apiKey });
|
|
1974
1994
|
}
|
|
1975
1995
|
|
|
1976
1996
|
// src/trajectory-helpers.ts
|
|
@@ -2086,35 +2106,35 @@ Object.defineProperty(exports, "GenerateObjectError", {
|
|
|
2086
2106
|
});
|
|
2087
2107
|
Object.defineProperty(exports, "Cron", {
|
|
2088
2108
|
enumerable: true,
|
|
2089
|
-
get: function () { return
|
|
2109
|
+
get: function () { return chunkOQX2DG36_cjs.Cron; }
|
|
2090
2110
|
});
|
|
2091
2111
|
Object.defineProperty(exports, "Agent", {
|
|
2092
2112
|
enumerable: true,
|
|
2093
|
-
get: function () { return
|
|
2113
|
+
get: function () { return chunkJPG7NMNH_cjs.Agent; }
|
|
2094
2114
|
});
|
|
2095
2115
|
Object.defineProperty(exports, "AgentBuilder", {
|
|
2096
2116
|
enumerable: true,
|
|
2097
|
-
get: function () { return
|
|
2117
|
+
get: function () { return chunkJPG7NMNH_cjs.AgentBuilder; }
|
|
2098
2118
|
});
|
|
2099
2119
|
Object.defineProperty(exports, "Tool", {
|
|
2100
2120
|
enumerable: true,
|
|
2101
|
-
get: function () { return
|
|
2121
|
+
get: function () { return chunkJPG7NMNH_cjs.Tool; }
|
|
2102
2122
|
});
|
|
2103
2123
|
Object.defineProperty(exports, "ToolError", {
|
|
2104
2124
|
enumerable: true,
|
|
2105
|
-
get: function () { return
|
|
2125
|
+
get: function () { return chunkJPG7NMNH_cjs.ToolError; }
|
|
2106
2126
|
});
|
|
2107
2127
|
Object.defineProperty(exports, "UsageAccumulator", {
|
|
2108
2128
|
enumerable: true,
|
|
2109
|
-
get: function () { return
|
|
2129
|
+
get: function () { return chunkJPG7NMNH_cjs.UsageAccumulator; }
|
|
2110
2130
|
});
|
|
2111
2131
|
Object.defineProperty(exports, "computeCost", {
|
|
2112
2132
|
enumerable: true,
|
|
2113
|
-
get: function () { return
|
|
2133
|
+
get: function () { return chunkJPG7NMNH_cjs.computeCost; }
|
|
2114
2134
|
});
|
|
2115
2135
|
Object.defineProperty(exports, "getPricingEntry", {
|
|
2116
2136
|
enumerable: true,
|
|
2117
|
-
get: function () { return
|
|
2137
|
+
get: function () { return chunkJPG7NMNH_cjs.getPricingEntry; }
|
|
2118
2138
|
});
|
|
2119
2139
|
Object.defineProperty(exports, "emitRunEvent", {
|
|
2120
2140
|
enumerable: true,
|