@sema-agent/server 7.3.0 → 7.4.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/USAGE.md +20 -0
- package/dist/approval-reconciler.d.ts +12 -5
- package/dist/boot/coordinators.js +3 -1
- package/dist/boot/deferred-sandbox-path-env.d.ts +99 -0
- package/dist/boot/deferred-sandbox-path-env.js +279 -0
- package/dist/boot/execution-env.js +11 -1
- package/dist/boot/lexical-path-env.d.ts +0 -4
- package/dist/boot/lexical-path-env.js +6 -34
- package/dist/boot/resolve-spec.js +50 -38
- package/dist/capabilities/center-prompts.js +4 -1
- package/dist/capabilities/oa-tools.d.ts +15 -0
- package/dist/capabilities/oa-tools.js +54 -0
- package/dist/config-types.d.ts +8 -1
- package/dist/config.js +9 -1
- package/dist/elicitation.js +5 -1
- package/dist/finance/cost-taxonomy.d.ts +34 -0
- package/dist/finance/cost-taxonomy.js +26 -0
- package/dist/hooks/hook-runner.js +32 -0
- package/dist/http/routes/diagnostics.d.ts +84 -0
- package/dist/http/routes/diagnostics.js +140 -0
- package/dist/http/routes/tasks.js +31 -10
- package/dist/http/server.d.ts +5 -0
- package/dist/http/server.js +6 -0
- package/dist/main.js +34 -3
- package/dist/observability/fail-open.d.ts +98 -0
- package/dist/observability/fail-open.js +216 -0
- package/dist/observability/prompt-manifest.d.ts +13 -0
- package/dist/observability/prompt-manifest.js +8 -0
- package/dist/plugins/approval-store-sql.d.ts +116 -0
- package/dist/plugins/approval-store-sql.js +151 -0
- package/dist/plugins/file-workflow-journal-store.d.ts +12 -0
- package/dist/plugins/file-workflow-journal-store.js +12 -0
- package/dist/plugins/pg-approval-store.d.ts +9 -0
- package/dist/plugins/pg-approval-store.js +9 -0
- package/dist/plugins/pg-breaker-state.d.ts +8 -0
- package/dist/plugins/pg-breaker-state.js +8 -0
- package/dist/plugins/pg-checkpoint-store.d.ts +10 -0
- package/dist/plugins/pg-checkpoint-store.js +10 -0
- package/dist/plugins/pg-file-snapshot-store.d.ts +8 -0
- package/dist/plugins/pg-file-snapshot-store.js +8 -0
- package/dist/plugins/pg-image-bake.d.ts +12 -0
- package/dist/plugins/pg-image-bake.js +11 -0
- package/dist/plugins/pg-image-index.d.ts +12 -0
- package/dist/plugins/pg-image-index.js +11 -0
- package/dist/plugins/pg-outcome-ledger.d.ts +12 -0
- package/dist/plugins/pg-outcome-ledger.js +11 -0
- package/dist/plugins/pg-resume-anchor-store.d.ts +7 -0
- package/dist/plugins/pg-resume-anchor-store.js +7 -0
- package/dist/plugins/pg-run-store.d.ts +9 -0
- package/dist/plugins/pg-run-store.js +9 -0
- package/dist/plugins/pg-session-policy-store.d.ts +7 -0
- package/dist/plugins/pg-session-policy-store.js +7 -0
- package/dist/plugins/pg-session-store.d.ts +12 -0
- package/dist/plugins/pg-session-store.js +12 -0
- package/dist/plugins/pg-tool-result-store.d.ts +9 -0
- package/dist/plugins/pg-tool-result-store.js +9 -0
- package/dist/plugins/pg-workflow-journal-store.d.ts +9 -0
- package/dist/plugins/pg-workflow-journal-store.js +9 -0
- package/dist/plugins/pg-workflow-run-store.d.ts +9 -0
- package/dist/plugins/pg-workflow-run-store.js +9 -0
- package/dist/plugins/tidb-approval-store.d.ts +8 -0
- package/dist/plugins/tidb-approval-store.js +8 -0
- package/dist/plugins/tidb-breaker-state.d.ts +7 -0
- package/dist/plugins/tidb-breaker-state.js +7 -0
- package/dist/plugins/tidb-checkpoint-store.d.ts +9 -0
- package/dist/plugins/tidb-checkpoint-store.js +9 -0
- package/dist/plugins/tidb-file-snapshot-store.d.ts +8 -0
- package/dist/plugins/tidb-file-snapshot-store.js +8 -0
- package/dist/plugins/tidb-image-bake.d.ts +12 -0
- package/dist/plugins/tidb-image-bake.js +11 -0
- package/dist/plugins/tidb-image-index.d.ts +12 -0
- package/dist/plugins/tidb-image-index.js +11 -0
- package/dist/plugins/tidb-outcome-ledger.d.ts +12 -0
- package/dist/plugins/tidb-outcome-ledger.js +12 -0
- package/dist/plugins/tidb-resume-anchor-store.d.ts +7 -0
- package/dist/plugins/tidb-resume-anchor-store.js +7 -0
- package/dist/plugins/tidb-run-store.d.ts +10 -0
- package/dist/plugins/tidb-run-store.js +9 -0
- package/dist/plugins/tidb-session-policy-store.d.ts +7 -0
- package/dist/plugins/tidb-session-policy-store.js +7 -0
- package/dist/plugins/tidb-tool-result-store.d.ts +8 -0
- package/dist/plugins/tidb-tool-result-store.js +10 -0
- package/dist/plugins/tidb-workflow-journal-store.d.ts +9 -0
- package/dist/plugins/tidb-workflow-journal-store.js +9 -0
- package/dist/plugins/tidb-workflow-run-store.d.ts +10 -0
- package/dist/plugins/tidb-workflow-run-store.js +10 -0
- package/dist/plugins/workflow-journal-limits.d.ts +12 -0
- package/dist/plugins/workflow-journal-limits.js +12 -0
- package/dist/question.d.ts +18 -14
- package/dist/question.js +83 -34
- package/dist/sema-registry.d.ts +41 -0
- package/dist/sema-registry.js +40 -0
- package/dist/task-settings.d.ts +13 -12
- package/dist/task-settings.js +6 -6
- package/dist/tool-approval.js +15 -7
- package/dist/trace/project.d.ts +36 -1
- package/dist/trace/project.js +55 -2
- package/package.json +3 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostgreSQL BAKE store — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `image-bake-store-sql.ts` (design/158 A12 定型半场), alongside its TiDB twin so the dialect deltas
|
|
4
|
+
* (placeholders, ON CONFLICT, jsonb casts, the admission-statement divergence, the PG-only
|
|
5
|
+
* protocol-byte defenses) read side by side instead of drifting across two files.
|
|
6
|
+
*
|
|
7
|
+
* This file is the historical import path: class name, ctor shape, `PG_IMAGE_BAKE_SCHEMA` and
|
|
8
|
+
* `ensureSchema` are unchanged, so pg-pool.ts / store-backend.ts / the integration suite are untouched.
|
|
9
|
+
*/
|
|
10
|
+
export { PgImageBake, PG_IMAGE_BAKE_SCHEMA, ensurePgImageBakeSchema as ensureSchema } from "./image-bake-store-sql.js";
|
|
11
|
+
export type { BakeStatus, BakeState, BakeErrorCode, BakeRecord, BakeEvent, CreateBakeInput, BakeTerminal, } from "./store-contracts.js";
|
|
12
|
+
//# sourceMappingURL=pg-image-bake.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostgreSQL BAKE store — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `image-bake-store-sql.ts` (design/158 A12 定型半场), alongside its TiDB twin so the dialect deltas
|
|
4
|
+
* (placeholders, ON CONFLICT, jsonb casts, the admission-statement divergence, the PG-only
|
|
5
|
+
* protocol-byte defenses) read side by side instead of drifting across two files.
|
|
6
|
+
*
|
|
7
|
+
* This file is the historical import path: class name, ctor shape, `PG_IMAGE_BAKE_SCHEMA` and
|
|
8
|
+
* `ensureSchema` are unchanged, so pg-pool.ts / store-backend.ts / the integration suite are untouched.
|
|
9
|
+
*/
|
|
10
|
+
export { PgImageBake, PG_IMAGE_BAKE_SCHEMA, ensurePgImageBakeSchema as ensureSchema } from "./image-bake-store-sql.js";
|
|
11
|
+
//# sourceMappingURL=pg-image-bake.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostgreSQL-backed sandbox-image-pool INDEX store — the PG twin of {@link TiDBImageIndex}
|
|
3
|
+
* (src/plugins/tidb-image-index.ts).
|
|
4
|
+
*
|
|
5
|
+
* Thin re-export shim (design/158 A12 定型半场): the real implementation is the single-file dual-dialect
|
|
6
|
+
* `image-index-sql.ts` (`SqlImageIndex` + this file's `PgImageIndex` ctor subclass). Class name, ctor
|
|
7
|
+
* arity, and the exported type/schema surface are UNCHANGED — every consumer (store-backend.ts, pg-pool.ts,
|
|
8
|
+
* the real-DB integration suite) imports from here exactly as before.
|
|
9
|
+
*/
|
|
10
|
+
export { PgImageIndex, PG_IMAGE_INDEX_SCHEMA, ensureSchema } from "./image-index-sql.js";
|
|
11
|
+
export type { ImageNestedBuildMode, ImageCapabilities, ImagePodContract, ImageStatus, ImageVisibility, ImageIndexEntry, ImageIndexUpsert, ImageViewer, ImageListFilter, } from "./store-contracts.js";
|
|
12
|
+
//# sourceMappingURL=pg-image-index.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostgreSQL-backed sandbox-image-pool INDEX store — the PG twin of {@link TiDBImageIndex}
|
|
3
|
+
* (src/plugins/tidb-image-index.ts).
|
|
4
|
+
*
|
|
5
|
+
* Thin re-export shim (design/158 A12 定型半场): the real implementation is the single-file dual-dialect
|
|
6
|
+
* `image-index-sql.ts` (`SqlImageIndex` + this file's `PgImageIndex` ctor subclass). Class name, ctor
|
|
7
|
+
* arity, and the exported type/schema surface are UNCHANGED — every consumer (store-backend.ts, pg-pool.ts,
|
|
8
|
+
* the real-DB integration suite) imports from here exactly as before.
|
|
9
|
+
*/
|
|
10
|
+
export { PgImageIndex, PG_IMAGE_INDEX_SCHEMA, ensureSchema } from "./image-index-sql.js";
|
|
11
|
+
//# sourceMappingURL=pg-image-index.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostgreSQL outcome ledger — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `outcome-ledger-sql.ts` (design/158 A12 定型半场), alongside its TiDB twin so the dialect deltas
|
|
4
|
+
* (placeholders, JSON encode, the AVG boolean-coercion divergence) read side by side instead of
|
|
5
|
+
* drifting across two files.
|
|
6
|
+
*
|
|
7
|
+
* This file is the historical import path: class name, `PG_OUTCOME_LEDGER_SCHEMA` and `ensureSchema`
|
|
8
|
+
* are unchanged, so pg-pool.ts / store-backend.ts / the integration suite are untouched.
|
|
9
|
+
*/
|
|
10
|
+
export { PgOutcomeLedger, PG_OUTCOME_LEDGER_SCHEMA, ensurePgOutcomeLedgerSchema as ensureSchema, } from "./outcome-ledger-sql.js";
|
|
11
|
+
export type { TaskOutcome, RunStatus } from "./outcome-ledger-sql.js";
|
|
12
|
+
//# sourceMappingURL=pg-outcome-ledger.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostgreSQL outcome ledger — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `outcome-ledger-sql.ts` (design/158 A12 定型半场), alongside its TiDB twin so the dialect deltas
|
|
4
|
+
* (placeholders, JSON encode, the AVG boolean-coercion divergence) read side by side instead of
|
|
5
|
+
* drifting across two files.
|
|
6
|
+
*
|
|
7
|
+
* This file is the historical import path: class name, `PG_OUTCOME_LEDGER_SCHEMA` and `ensureSchema`
|
|
8
|
+
* are unchanged, so pg-pool.ts / store-backend.ts / the integration suite are untouched.
|
|
9
|
+
*/
|
|
10
|
+
export { PgOutcomeLedger, PG_OUTCOME_LEDGER_SCHEMA, ensurePgOutcomeLedgerSchema as ensureSchema, } from "./outcome-ledger-sql.js";
|
|
11
|
+
//# sourceMappingURL=pg-outcome-ledger.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 收编) — the real implementation moved to the single-file
|
|
3
|
+
* dual-dialect `resume-anchor-store-sql.ts` (shared with the TiDB twin via `SqlDriver`). Kept so
|
|
4
|
+
* consumers importing this path (store-backend.ts, the resume-anchor integration suite) don't move.
|
|
5
|
+
*/
|
|
6
|
+
export { PgResumeAnchorStore } from "./resume-anchor-store-sql.js";
|
|
7
|
+
//# sourceMappingURL=pg-resume-anchor-store.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 收编) — the real implementation moved to the single-file
|
|
3
|
+
* dual-dialect `resume-anchor-store-sql.ts` (shared with the TiDB twin via `SqlDriver`). Kept so
|
|
4
|
+
* consumers importing this path (store-backend.ts, the resume-anchor integration suite) don't move.
|
|
5
|
+
*/
|
|
6
|
+
export { PgResumeAnchorStore } from "./resume-anchor-store-sql.js";
|
|
7
|
+
//# sourceMappingURL=pg-resume-anchor-store.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 定型半场 collapse): the real implementation now lives in
|
|
3
|
+
* `run-store-sql.ts` (single-file dual-dialect — TiDB + PG share one `SqlRunStore` body, dialect deltas
|
|
4
|
+
* kept EXPLICIT per statement). `PgRunStore`'s class name/ctor arity is unchanged so every existing
|
|
5
|
+
* consumer (store-backend.ts, the reaper/session integration suites) needs ZERO changes. New code
|
|
6
|
+
* should import from `run-store-sql.ts` directly.
|
|
7
|
+
*/
|
|
8
|
+
export { PgRunStore } from "./run-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=pg-run-store.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 定型半场 collapse): the real implementation now lives in
|
|
3
|
+
* `run-store-sql.ts` (single-file dual-dialect — TiDB + PG share one `SqlRunStore` body, dialect deltas
|
|
4
|
+
* kept EXPLICIT per statement). `PgRunStore`'s class name/ctor arity is unchanged so every existing
|
|
5
|
+
* consumer (store-backend.ts, the reaper/session integration suites) needs ZERO changes. New code
|
|
6
|
+
* should import from `run-store-sql.ts` directly.
|
|
7
|
+
*/
|
|
8
|
+
export { PgRunStore } from "./run-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=pg-run-store.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 收编) — the real implementation lives in the single-file
|
|
3
|
+
* dual-dialect `session-policy-store-sql.ts` (`SqlSessionPolicyStore` + this file's historical
|
|
4
|
+
* `PgSessionPolicyStore` ctor subclass). Kept so every consumer's import path is untouched.
|
|
5
|
+
*/
|
|
6
|
+
export { PgSessionPolicyStore } from "./session-policy-store-sql.js";
|
|
7
|
+
//# sourceMappingURL=pg-session-policy-store.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 收编) — the real implementation lives in the single-file
|
|
3
|
+
* dual-dialect `session-policy-store-sql.ts` (`SqlSessionPolicyStore` + this file's historical
|
|
4
|
+
* `PgSessionPolicyStore` ctor subclass). Kept so every consumer's import path is untouched.
|
|
5
|
+
*/
|
|
6
|
+
export { PgSessionPolicyStore } from "./session-policy-store-sql.js";
|
|
7
|
+
//# sourceMappingURL=pg-session-policy-store.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compatibility re-export shim — the PG Session event-log center (L1).
|
|
3
|
+
*
|
|
4
|
+
* 🔴 SINGLE SOURCE OF TRUTH: the real PG twin (PgSessionStorage + PgSessionStore + PG_SESSION_SCHEMA +
|
|
5
|
+
* ensureSchema) lives in {@link ./pg-session-storage.ts}. This file previously carried a SECOND, byte-for-byte
|
|
6
|
+
* copy of that same code — a dual source of truth that would silently drift (a fix to one copy leaving the
|
|
7
|
+
* other stale, defeating the very twin/lock-step invariant the integration suite exists to protect). The
|
|
8
|
+
* duplicate has been collapsed: everything is now re-exported from the one storage module so there is exactly
|
|
9
|
+
* ONE PG implementation and the two integration suites both exercise it.
|
|
10
|
+
*/
|
|
11
|
+
export { PgSessionStorage, PgSessionStore, PG_SESSION_SCHEMA, ensureSchema, } from "./pg-session-storage.js";
|
|
12
|
+
//# sourceMappingURL=pg-session-store.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compatibility re-export shim — the PG Session event-log center (L1).
|
|
3
|
+
*
|
|
4
|
+
* 🔴 SINGLE SOURCE OF TRUTH: the real PG twin (PgSessionStorage + PgSessionStore + PG_SESSION_SCHEMA +
|
|
5
|
+
* ensureSchema) lives in {@link ./pg-session-storage.ts}. This file previously carried a SECOND, byte-for-byte
|
|
6
|
+
* copy of that same code — a dual source of truth that would silently drift (a fix to one copy leaving the
|
|
7
|
+
* other stale, defeating the very twin/lock-step invariant the integration suite exists to protect). The
|
|
8
|
+
* duplicate has been collapsed: everything is now re-exported from the one storage module so there is exactly
|
|
9
|
+
* ONE PG implementation and the two integration suites both exercise it.
|
|
10
|
+
*/
|
|
11
|
+
export { PgSessionStorage, PgSessionStore, PG_SESSION_SCHEMA, ensureSchema, } from "./pg-session-storage.js";
|
|
12
|
+
//# sourceMappingURL=pg-session-store.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostgreSQL `ToolResultStore` — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `tool-result-store-sql.ts` (design/158 A12 定型半场), the TiDB twin's sibling
|
|
4
|
+
* (src/plugins/tidb-tool-result-store.ts). This file is the historical import path: the class name, ctor
|
|
5
|
+
* shape, and the PG-only schema helpers (`PG_TOOL_RESULT_SCHEMA` / `ensureSchema`, consumed by pg-pool.ts's
|
|
6
|
+
* central schema apply) are re-exported unchanged, so every consumer and suite is untouched.
|
|
7
|
+
*/
|
|
8
|
+
export { PgToolResultStore, PG_TOOL_RESULT_SCHEMA, ensureSchema } from "./tool-result-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=pg-tool-result-store.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PostgreSQL `ToolResultStore` — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `tool-result-store-sql.ts` (design/158 A12 定型半场), the TiDB twin's sibling
|
|
4
|
+
* (src/plugins/tidb-tool-result-store.ts). This file is the historical import path: the class name, ctor
|
|
5
|
+
* shape, and the PG-only schema helpers (`PG_TOOL_RESULT_SCHEMA` / `ensureSchema`, consumed by pg-pool.ts's
|
|
6
|
+
* central schema apply) are re-exported unchanged, so every consumer and suite is untouched.
|
|
7
|
+
*/
|
|
8
|
+
export { PgToolResultStore, PG_TOOL_RESULT_SCHEMA, ensureSchema } from "./tool-result-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=pg-tool-result-store.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 collapse). The real implementation is the single-file dual-dialect
|
|
3
|
+
* {@link import("./workflow-journal-store-sql.js").SqlWorkflowJournalStore} — see that file for the durable
|
|
4
|
+
* {@link WorkflowJournalStore} contract, the schema, and the TiDB/PG dialect-delta ledger. This name (and ctor
|
|
5
|
+
* arity: `(pool: PgPool)`) survives unchanged so every consumer (store-backend.ts, the extreme/integration/
|
|
6
|
+
* resume-fork-probe suites) is untouched.
|
|
7
|
+
*/
|
|
8
|
+
export { PgWorkflowJournalStore } from "./workflow-journal-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=pg-workflow-journal-store.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 collapse). The real implementation is the single-file dual-dialect
|
|
3
|
+
* {@link import("./workflow-journal-store-sql.js").SqlWorkflowJournalStore} — see that file for the durable
|
|
4
|
+
* {@link WorkflowJournalStore} contract, the schema, and the TiDB/PG dialect-delta ledger. This name (and ctor
|
|
5
|
+
* arity: `(pool: PgPool)`) survives unchanged so every consumer (store-backend.ts, the extreme/integration/
|
|
6
|
+
* resume-fork-probe suites) is untouched.
|
|
7
|
+
*/
|
|
8
|
+
export { PgWorkflowJournalStore } from "./workflow-journal-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=pg-workflow-journal-store.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 扇出): the PG `WorkflowRunStore`/`WorkflowCompletionInbox`/
|
|
3
|
+
* `WorkflowNotifyJournalStore` twins now live collapsed with their TiDB dialect siblings in the
|
|
4
|
+
* single-file dual-dialect `workflow-run-store-sql.ts` (design doc + dialect-delta ledger there).
|
|
5
|
+
* Class names and ctor arity stay EXACTLY as they were — every consumer (store-backend.ts, the
|
|
6
|
+
* DB-integration suite) imports from THIS path unchanged.
|
|
7
|
+
*/
|
|
8
|
+
export { PgWorkflowRunStore, PgWorkflowCompletionInbox, PgWorkflowNotifyJournalStore } from "./workflow-run-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=pg-workflow-run-store.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 扇出): the PG `WorkflowRunStore`/`WorkflowCompletionInbox`/
|
|
3
|
+
* `WorkflowNotifyJournalStore` twins now live collapsed with their TiDB dialect siblings in the
|
|
4
|
+
* single-file dual-dialect `workflow-run-store-sql.ts` (design doc + dialect-delta ledger there).
|
|
5
|
+
* Class names and ctor arity stay EXACTLY as they were — every consumer (store-backend.ts, the
|
|
6
|
+
* DB-integration suite) imports from THIS path unchanged.
|
|
7
|
+
*/
|
|
8
|
+
export { PgWorkflowRunStore, PgWorkflowCompletionInbox, PgWorkflowNotifyJournalStore } from "./workflow-run-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=pg-workflow-run-store.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 收编 — see src/plugins/approval-store-sql.ts for the
|
|
3
|
+
* implementation, now SINGLE-FILE DUAL-DIALECT). Class name, ctor arity, and every exported
|
|
4
|
+
* type/helper stay EXACTLY as they were so no consumer (store-backend.ts, src/index.ts, the
|
|
5
|
+
* approval/audit/security-coverage suites) has to move.
|
|
6
|
+
*/
|
|
7
|
+
export { TiDBApprovalStore, mapRow, type ApprovalRow, type ApprovalStatus, } from "./approval-store-sql.js";
|
|
8
|
+
//# sourceMappingURL=tidb-approval-store.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 收编 — see src/plugins/approval-store-sql.ts for the
|
|
3
|
+
* implementation, now SINGLE-FILE DUAL-DIALECT). Class name, ctor arity, and every exported
|
|
4
|
+
* type/helper stay EXACTLY as they were so no consumer (store-backend.ts, src/index.ts, the
|
|
5
|
+
* approval/audit/security-coverage suites) has to move.
|
|
6
|
+
*/
|
|
7
|
+
export { TiDBApprovalStore, mapRow, } from "./approval-store-sql.js";
|
|
8
|
+
//# sourceMappingURL=tidb-approval-store.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim (design/158 A12 收编) — the real implementation moved to breaker-state-sql.ts
|
|
3
|
+
* (single-file dual-dialect: `SqlBreakerState` + the `TiDBBreakerState`/`PgBreakerState` ctor subclasses).
|
|
4
|
+
* Kept so every consumer's `from "./tidb-breaker-state.js"` import keeps working unchanged.
|
|
5
|
+
*/
|
|
6
|
+
export { TiDBBreakerState } from "./breaker-state-sql.js";
|
|
7
|
+
//# sourceMappingURL=tidb-breaker-state.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Re-export shim (design/158 A12 收编) — the real implementation moved to breaker-state-sql.ts
|
|
3
|
+
* (single-file dual-dialect: `SqlBreakerState` + the `TiDBBreakerState`/`PgBreakerState` ctor subclasses).
|
|
4
|
+
* Kept so every consumer's `from "./tidb-breaker-state.js"` import keeps working unchanged.
|
|
5
|
+
*/
|
|
6
|
+
export { TiDBBreakerState } from "./breaker-state-sql.js";
|
|
7
|
+
//# sourceMappingURL=tidb-breaker-state.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MySQL-protocol (TiDB) `CheckpointStore` — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `checkpoint-store-sql.ts` (design/158 A12 定型半场). This file is the historical import path: the class
|
|
4
|
+
* name, ctor shape and the backend-NEUTRAL helpers the LOCAL twin shares (TERMINAL_BACKSTOP_MS /
|
|
5
|
+
* TERMINAL_GRACE_MS / tokenFingerprint / boundedToolInput / PendingCheckpoint) are re-exported unchanged,
|
|
6
|
+
* so local-checkpoint-store.ts, store-backend.ts, the dogfood script and every suite are untouched.
|
|
7
|
+
*/
|
|
8
|
+
export { TiDBCheckpointStore, SqlCheckpointStore, TERMINAL_BACKSTOP_MS, TERMINAL_GRACE_MS, tokenFingerprint, boundedToolInput, type PendingCheckpoint, } from "./checkpoint-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=tidb-checkpoint-store.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MySQL-protocol (TiDB) `CheckpointStore` — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `checkpoint-store-sql.ts` (design/158 A12 定型半场). This file is the historical import path: the class
|
|
4
|
+
* name, ctor shape and the backend-NEUTRAL helpers the LOCAL twin shares (TERMINAL_BACKSTOP_MS /
|
|
5
|
+
* TERMINAL_GRACE_MS / tokenFingerprint / boundedToolInput / PendingCheckpoint) are re-exported unchanged,
|
|
6
|
+
* so local-checkpoint-store.ts, store-backend.ts, the dogfood script and every suite are untouched.
|
|
7
|
+
*/
|
|
8
|
+
export { TiDBCheckpointStore, SqlCheckpointStore, TERMINAL_BACKSTOP_MS, TERMINAL_GRACE_MS, tokenFingerprint, boundedToolInput, } from "./checkpoint-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=tidb-checkpoint-store.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 定型半场) — the real implementation collapsed into
|
|
3
|
+
* `file-snapshot-store-sql.ts` (single file, dual dialect). Kept so every existing import path
|
|
4
|
+
* (store-backend.ts, the migration script, the contract/integration/minio-equivalence suites) is
|
|
5
|
+
* untouched: same class name, same ctor arity, same exported surface.
|
|
6
|
+
*/
|
|
7
|
+
export { TiDBFileSnapshotStore } from "./file-snapshot-store-sql.js";
|
|
8
|
+
//# sourceMappingURL=tidb-file-snapshot-store.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 定型半场) — the real implementation collapsed into
|
|
3
|
+
* `file-snapshot-store-sql.ts` (single file, dual dialect). Kept so every existing import path
|
|
4
|
+
* (store-backend.ts, the migration script, the contract/integration/minio-equivalence suites) is
|
|
5
|
+
* untouched: same class name, same ctor arity, same exported surface.
|
|
6
|
+
*/
|
|
7
|
+
export { TiDBFileSnapshotStore } from "./file-snapshot-store-sql.js";
|
|
8
|
+
//# sourceMappingURL=tidb-file-snapshot-store.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MySQL-protocol (TiDB) BAKE store — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `image-bake-store-sql.ts` (design/158 A12 定型半场). This file is the historical import path: the
|
|
4
|
+
* class name, ctor shape and every re-exported contract are unchanged, so no consumer moved.
|
|
5
|
+
*
|
|
6
|
+
* New code should import from `./image-bake-store-sql.js` (both dialects) and take its CONTRACTS from
|
|
7
|
+
* `./store-contracts.js` (backend-neutral, design/158 A3 沉底).
|
|
8
|
+
*/
|
|
9
|
+
export { TiDBImageBake, SqlImageBake } from "./image-bake-store-sql.js";
|
|
10
|
+
export type { BakeStatus, BakeState, BakeErrorCode, BakeRecord, BakeEvent, CreateBakeInput, BakeTerminal, BakeRow, } from "./store-contracts.js";
|
|
11
|
+
export { mapBakeRow as mapRow, BAKE_SELECT_COLS as SELECT_COLS } from "./store-contracts.js";
|
|
12
|
+
//# sourceMappingURL=tidb-image-bake.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MySQL-protocol (TiDB) BAKE store — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `image-bake-store-sql.ts` (design/158 A12 定型半场). This file is the historical import path: the
|
|
4
|
+
* class name, ctor shape and every re-exported contract are unchanged, so no consumer moved.
|
|
5
|
+
*
|
|
6
|
+
* New code should import from `./image-bake-store-sql.js` (both dialects) and take its CONTRACTS from
|
|
7
|
+
* `./store-contracts.js` (backend-neutral, design/158 A3 沉底).
|
|
8
|
+
*/
|
|
9
|
+
export { TiDBImageBake, SqlImageBake } from "./image-bake-store-sql.js";
|
|
10
|
+
export { mapBakeRow as mapRow, BAKE_SELECT_COLS as SELECT_COLS } from "./store-contracts.js";
|
|
11
|
+
//# sourceMappingURL=tidb-image-bake.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox-image-pool INDEX store (IMAGE-API-DESIGN.md §1, pool design §8).
|
|
3
|
+
*
|
|
4
|
+
* Thin re-export shim (design/158 A12 定型半场): the real implementation is the single-file dual-dialect
|
|
5
|
+
* `image-index-sql.ts` (`SqlImageIndex` + this file's `TiDBImageIndex` ctor subclass). Class name, ctor
|
|
6
|
+
* arity, and the exported type/helper surface are UNCHANGED — every consumer (store-backend.ts, the unit +
|
|
7
|
+
* real-DB integration suites) imports from here exactly as before.
|
|
8
|
+
*/
|
|
9
|
+
export { TiDBImageIndex } from "./image-index-sql.js";
|
|
10
|
+
export type { ImageNestedBuildMode, ImageCapabilities, ImagePodContract, ImageStatus, ImageVisibility, ImageIndexEntry, ImageIndexUpsert, ImageViewer, ImageListFilter, ImageRow, } from "./store-contracts.js";
|
|
11
|
+
export { mapImageRow as mapRow } from "./store-contracts.js";
|
|
12
|
+
//# sourceMappingURL=tidb-image-index.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox-image-pool INDEX store (IMAGE-API-DESIGN.md §1, pool design §8).
|
|
3
|
+
*
|
|
4
|
+
* Thin re-export shim (design/158 A12 定型半场): the real implementation is the single-file dual-dialect
|
|
5
|
+
* `image-index-sql.ts` (`SqlImageIndex` + this file's `TiDBImageIndex` ctor subclass). Class name, ctor
|
|
6
|
+
* arity, and the exported type/helper surface are UNCHANGED — every consumer (store-backend.ts, the unit +
|
|
7
|
+
* real-DB integration suites) imports from here exactly as before.
|
|
8
|
+
*/
|
|
9
|
+
export { TiDBImageIndex } from "./image-index-sql.js";
|
|
10
|
+
export { mapImageRow as mapRow } from "./store-contracts.js";
|
|
11
|
+
//# sourceMappingURL=tidb-image-index.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MySQL-protocol (TiDB) outcome ledger — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `outcome-ledger-sql.ts` (design/158 A12 定型半场), alongside its PG twin so the dialect deltas
|
|
4
|
+
* (placeholders, JSON encode, the AVG boolean-coercion divergence) read side by side instead of
|
|
5
|
+
* drifting across two files.
|
|
6
|
+
*
|
|
7
|
+
* This file is the historical import path: class name, ctor shape, the shared types and the pure
|
|
8
|
+
* helpers (`taskSignature` / `deriveOutcome` / `coreOutcomeToLedgerRow`) are unchanged, so
|
|
9
|
+
* store-backend.ts, the pg twin, and every suite are untouched.
|
|
10
|
+
*/
|
|
11
|
+
export { TiDBOutcomeLedger, taskSignature, deriveOutcome, coreOutcomeToLedgerRow, type MechanicalOutcome, type LlmAssistedOutcome, type SignatureInputs, type RunStatus, type TaskOutcome, } from "./outcome-ledger-sql.js";
|
|
12
|
+
//# sourceMappingURL=tidb-outcome-ledger.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MySQL-protocol (TiDB) outcome ledger — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `outcome-ledger-sql.ts` (design/158 A12 定型半场), alongside its PG twin so the dialect deltas
|
|
4
|
+
* (placeholders, JSON encode, the AVG boolean-coercion divergence) read side by side instead of
|
|
5
|
+
* drifting across two files.
|
|
6
|
+
*
|
|
7
|
+
* This file is the historical import path: class name, ctor shape, the shared types and the pure
|
|
8
|
+
* helpers (`taskSignature` / `deriveOutcome` / `coreOutcomeToLedgerRow`) are unchanged, so
|
|
9
|
+
* store-backend.ts, the pg twin, and every suite are untouched.
|
|
10
|
+
*/
|
|
11
|
+
export { TiDBOutcomeLedger, taskSignature, deriveOutcome, coreOutcomeToLedgerRow, } from "./outcome-ledger-sql.js";
|
|
12
|
+
//# sourceMappingURL=tidb-outcome-ledger.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 收编) — the real implementation moved to the single-file
|
|
3
|
+
* dual-dialect `resume-anchor-store-sql.ts` (shared with the PG twin via `SqlDriver`). Kept so
|
|
4
|
+
* consumers importing this path (store-backend.ts, the resume-anchor integration suite) don't move.
|
|
5
|
+
*/
|
|
6
|
+
export { TiDBResumeAnchorStore } from "./resume-anchor-store-sql.js";
|
|
7
|
+
//# sourceMappingURL=tidb-resume-anchor-store.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 收编) — the real implementation moved to the single-file
|
|
3
|
+
* dual-dialect `resume-anchor-store-sql.ts` (shared with the PG twin via `SqlDriver`). Kept so
|
|
4
|
+
* consumers importing this path (store-backend.ts, the resume-anchor integration suite) don't move.
|
|
5
|
+
*/
|
|
6
|
+
export { TiDBResumeAnchorStore } from "./resume-anchor-store-sql.js";
|
|
7
|
+
//# sourceMappingURL=tidb-resume-anchor-store.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 定型半场 collapse): the real implementation now lives in
|
|
3
|
+
* `run-store-sql.ts` (single-file dual-dialect — TiDB + PG share one `SqlRunStore` body, dialect deltas
|
|
4
|
+
* kept EXPLICIT per statement). `TiDBRunStore`'s class name/ctor arity/exported types are unchanged so
|
|
5
|
+
* every existing consumer (store-backend.ts, src/index.ts, the run/reaper/session/usage suites) needs
|
|
6
|
+
* ZERO changes. New code should import from `run-store-sql.ts` directly.
|
|
7
|
+
*/
|
|
8
|
+
export { TiDBRunStore } from "./run-store-sql.js";
|
|
9
|
+
export type { RunRecord, SessionSummary, RunEvent } from "./store-contracts.js";
|
|
10
|
+
//# sourceMappingURL=tidb-run-store.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 定型半场 collapse): the real implementation now lives in
|
|
3
|
+
* `run-store-sql.ts` (single-file dual-dialect — TiDB + PG share one `SqlRunStore` body, dialect deltas
|
|
4
|
+
* kept EXPLICIT per statement). `TiDBRunStore`'s class name/ctor arity/exported types are unchanged so
|
|
5
|
+
* every existing consumer (store-backend.ts, src/index.ts, the run/reaper/session/usage suites) needs
|
|
6
|
+
* ZERO changes. New code should import from `run-store-sql.ts` directly.
|
|
7
|
+
*/
|
|
8
|
+
export { TiDBRunStore } from "./run-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=tidb-run-store.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 收编) — the real implementation lives in the single-file
|
|
3
|
+
* dual-dialect `session-policy-store-sql.ts` (`SqlSessionPolicyStore` + this file's historical
|
|
4
|
+
* `TiDBSessionPolicyStore` ctor subclass). Kept so every consumer's import path is untouched.
|
|
5
|
+
*/
|
|
6
|
+
export { TiDBSessionPolicyStore } from "./session-policy-store-sql.js";
|
|
7
|
+
//# sourceMappingURL=tidb-session-policy-store.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 收编) — the real implementation lives in the single-file
|
|
3
|
+
* dual-dialect `session-policy-store-sql.ts` (`SqlSessionPolicyStore` + this file's historical
|
|
4
|
+
* `TiDBSessionPolicyStore` ctor subclass). Kept so every consumer's import path is untouched.
|
|
5
|
+
*/
|
|
6
|
+
export { TiDBSessionPolicyStore } from "./session-policy-store-sql.js";
|
|
7
|
+
//# sourceMappingURL=tidb-session-policy-store.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MySQL-protocol (TiDB) `ToolResultStore` — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `tool-result-store-sql.ts` (design/158 A12 定型半场). This file is the historical import path: the class
|
|
4
|
+
* name and ctor shape are re-exported unchanged, so store-backend.ts and every suite are untouched.
|
|
5
|
+
*/
|
|
6
|
+
export { TiDBToolResultStore, SqlToolResultStore } from "./tool-result-store-sql.js";
|
|
7
|
+
export { escapeLike } from "./sql-escape.js";
|
|
8
|
+
//# sourceMappingURL=tidb-tool-result-store.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MySQL-protocol (TiDB) `ToolResultStore` — the implementation now lives in the single-file dual-dialect
|
|
3
|
+
* `tool-result-store-sql.ts` (design/158 A12 定型半场). This file is the historical import path: the class
|
|
4
|
+
* name and ctor shape are re-exported unchanged, so store-backend.ts and every suite are untouched.
|
|
5
|
+
*/
|
|
6
|
+
export { TiDBToolResultStore, SqlToolResultStore } from "./tool-result-store-sql.js";
|
|
7
|
+
// Back-compat re-export: escapeLike LIVES in sql-escape.ts (design/158 A3, backend-neutral leaf);
|
|
8
|
+
// import from there in new code.
|
|
9
|
+
export { escapeLike } from "./sql-escape.js";
|
|
10
|
+
//# sourceMappingURL=tidb-tool-result-store.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 collapse). The real implementation is the single-file dual-dialect
|
|
3
|
+
* {@link import("./workflow-journal-store-sql.js").SqlWorkflowJournalStore} — see that file for the durable
|
|
4
|
+
* {@link WorkflowJournalStore} contract, the schema, and the TiDB/PG dialect-delta ledger. This name (and ctor
|
|
5
|
+
* arity: `(pool: MySqlPool)`) survives unchanged so every consumer (store-backend.ts, the extreme/integration/
|
|
6
|
+
* resume-fork-probe suites) is untouched.
|
|
7
|
+
*/
|
|
8
|
+
export { TiDBWorkflowJournalStore } from "./workflow-journal-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=tidb-workflow-journal-store.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 collapse). The real implementation is the single-file dual-dialect
|
|
3
|
+
* {@link import("./workflow-journal-store-sql.js").SqlWorkflowJournalStore} — see that file for the durable
|
|
4
|
+
* {@link WorkflowJournalStore} contract, the schema, and the TiDB/PG dialect-delta ledger. This name (and ctor
|
|
5
|
+
* arity: `(pool: MySqlPool)`) survives unchanged so every consumer (store-backend.ts, the extreme/integration/
|
|
6
|
+
* resume-fork-probe suites) is untouched.
|
|
7
|
+
*/
|
|
8
|
+
export { TiDBWorkflowJournalStore } from "./workflow-journal-store-sql.js";
|
|
9
|
+
//# sourceMappingURL=tidb-workflow-journal-store.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 扇出): the TiDB `WorkflowRunStore`/`WorkflowCompletionInbox`/
|
|
3
|
+
* `WorkflowNotifyJournalStore` twins now live collapsed with their PG dialect siblings in the
|
|
4
|
+
* single-file dual-dialect `workflow-run-store-sql.ts`. Class names, ctor arity, and the exported
|
|
5
|
+
* `MAX_RUN_BLOB_BYTES` / `slimOversizeRun` / `InboxWarn` surface stay EXACTLY as they were — every
|
|
6
|
+
* consumer (store-backend.ts, the DB-integration + slim-oversize-run suites) imports from THIS path
|
|
7
|
+
* unchanged.
|
|
8
|
+
*/
|
|
9
|
+
export { MAX_RUN_BLOB_BYTES, slimOversizeRun, type InboxWarn, TiDBWorkflowRunStore, TiDBWorkflowCompletionInbox, TiDBWorkflowNotifyJournalStore, } from "./workflow-run-store-sql.js";
|
|
10
|
+
//# sourceMappingURL=tidb-workflow-run-store.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export shim (design/158 A12 扇出): the TiDB `WorkflowRunStore`/`WorkflowCompletionInbox`/
|
|
3
|
+
* `WorkflowNotifyJournalStore` twins now live collapsed with their PG dialect siblings in the
|
|
4
|
+
* single-file dual-dialect `workflow-run-store-sql.ts`. Class names, ctor arity, and the exported
|
|
5
|
+
* `MAX_RUN_BLOB_BYTES` / `slimOversizeRun` / `InboxWarn` surface stay EXACTLY as they were — every
|
|
6
|
+
* consumer (store-backend.ts, the DB-integration + slim-oversize-run suites) imports from THIS path
|
|
7
|
+
* unchanged.
|
|
8
|
+
*/
|
|
9
|
+
export { MAX_RUN_BLOB_BYTES, slimOversizeRun, TiDBWorkflowRunStore, TiDBWorkflowCompletionInbox, TiDBWorkflowNotifyJournalStore, } from "./workflow-run-store-sql.js";
|
|
10
|
+
//# sourceMappingURL=tidb-workflow-run-store.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVC-2 — the shared size bound for a journaled workflow-agent result, so all THREE backends (tidb/pg SQL
|
|
3
|
+
* twins here + core's FileWorkflowJournalStore) DEGRADE IDENTICALLY on an oversize TaskResult: skip-journal
|
|
4
|
+
* (a no-op, never insert/throw) — the agent's ordinal is simply not cached and a resume re-runs that one
|
|
5
|
+
* agent live. Rationale (TiDB ~6 MiB txn-entry-size-limit vs PG/file no such limit) documented at the source.
|
|
6
|
+
*
|
|
7
|
+
* Now a RE-EXPORT of core's copy: the constant + helper moved to core with the FileWorkflowJournalStore
|
|
8
|
+
* adoption (core 1.223.0 — core inlined them into its store file and exports both).
|
|
9
|
+
* The SQL twins import from here unchanged; one source of truth for the byte-match contract.
|
|
10
|
+
*/
|
|
11
|
+
export { MAX_JOURNAL_RESULT_BYTES, oversizeJournalResult } from "@sema-agent/core";
|
|
12
|
+
//# sourceMappingURL=workflow-journal-limits.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVC-2 — the shared size bound for a journaled workflow-agent result, so all THREE backends (tidb/pg SQL
|
|
3
|
+
* twins here + core's FileWorkflowJournalStore) DEGRADE IDENTICALLY on an oversize TaskResult: skip-journal
|
|
4
|
+
* (a no-op, never insert/throw) — the agent's ordinal is simply not cached and a resume re-runs that one
|
|
5
|
+
* agent live. Rationale (TiDB ~6 MiB txn-entry-size-limit vs PG/file no such limit) documented at the source.
|
|
6
|
+
*
|
|
7
|
+
* Now a RE-EXPORT of core's copy: the constant + helper moved to core with the FileWorkflowJournalStore
|
|
8
|
+
* adoption (core 1.223.0 — core inlined them into its store file and exports both).
|
|
9
|
+
* The SQL twins import from here unchanged; one source of truth for the byte-match contract.
|
|
10
|
+
*/
|
|
11
|
+
export { MAX_JOURNAL_RESULT_BYTES, oversizeJournalResult } from "@sema-agent/core";
|
|
12
|
+
//# sourceMappingURL=workflow-journal-limits.js.map
|