@sema-agent/server 4.2.0 → 5.0.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 +5 -3
- package/dist/approval-hmac.js +1 -1
- package/dist/approval.d.ts +5 -37
- package/dist/approval.js +12 -112
- package/dist/auth-bridge.d.ts +0 -1
- package/dist/auth-bridge.js +0 -1
- package/dist/auth-keys.d.ts +1 -1
- package/dist/auth-keys.js +1 -1
- package/dist/bench/s1/run-firm.js +1 -1
- package/dist/boot/config-center.d.ts +1 -1
- package/dist/boot/config-center.js +3 -2
- package/dist/boot/execution-env.js +8 -1
- package/dist/boot/reapers.d.ts +1 -2
- package/dist/boot/reapers.js +4 -5
- package/dist/boot/resolve-spec.d.ts +1 -3
- package/dist/boot/resolve-spec.js +21 -35
- package/dist/boot/stores.js +1 -1
- package/dist/brain.js +3 -1
- package/dist/capabilities/center-prompts.d.ts +2 -3
- package/dist/capabilities/center-prompts.js +2 -3
- package/dist/capabilities/sandbox-file-send.d.ts +0 -2
- package/dist/capabilities/sandbox-file-send.js +2 -5
- package/dist/capabilities/scenarios.d.ts +0 -9
- package/dist/capabilities/scenarios.js +1 -20
- package/dist/capabilities/send-user-file-tool.js +3 -3
- package/dist/config-center/apply-effective.js +8 -8
- package/dist/config-center/types.d.ts +10 -3
- package/dist/config-provider.js +6 -11
- package/dist/config-types.d.ts +12 -26
- package/dist/config.js +95 -68
- package/dist/fleet/fleet-bus.js +25 -33
- package/dist/fleet-client.js +1 -1
- package/dist/http/active-run-conflict.d.ts +2 -0
- package/dist/http/active-run-conflict.js +1 -0
- package/dist/http/routes/approvals-assistant.d.ts +2 -1
- package/dist/http/routes/approvals-assistant.js +10 -96
- package/dist/http/routes/capabilities.js +6 -5
- package/dist/http/routes/fleet.js +4 -1
- package/dist/http/routes/images.js +10 -4
- package/dist/http/routes/runs.js +34 -49
- package/dist/http/routes/session-sync.d.ts +1 -1
- package/dist/http/routes/session-sync.js +2 -1
- package/dist/http/routes/tasks.js +7 -7
- package/dist/http/routes/trace-usage.js +1 -1
- package/dist/http/server.d.ts +18 -7
- package/dist/http/server.js +25 -14
- package/dist/http/verify-rounds.d.ts +2 -2
- package/dist/http/wire-types.d.ts +1 -1
- package/dist/images/bake-validate.d.ts +0 -22
- package/dist/images/bake-validate.js +0 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -5
- package/dist/lsp/e2b-bridge.d.ts +36 -3
- package/dist/lsp/e2b-bridge.js +94 -7
- package/dist/lsp/e2b-manager.d.ts +64 -1
- package/dist/lsp/e2b-manager.js +197 -28
- package/dist/lsp/manager.d.ts +71 -4
- package/dist/lsp/manager.js +149 -29
- package/dist/lsp/ws-transport.d.ts +1 -1
- package/dist/lsp/ws-transport.js +4 -1
- package/dist/main.js +5 -9
- package/dist/memory-scope.js +2 -2
- package/dist/observability/metrics.js +6 -0
- package/dist/orchestration/workflow-completion-inbox.d.ts +6 -4
- package/dist/orchestration/workflow-completion-inbox.js +6 -4
- package/dist/plugins/breaker-state-sql.d.ts +2 -3
- package/dist/plugins/image-index-sql.d.ts +0 -1
- package/dist/plugins/image-index-sql.js +0 -1
- package/dist/plugins/local-checkpoint-store.d.ts +1 -1
- package/dist/plugins/local-checkpoint-store.js +1 -1
- package/dist/plugins/memory-engine-pg.js +2 -1
- package/dist/plugins/memory-engine-tidb.js +1 -1
- package/dist/plugins/memory-engine-vector-util.d.ts +2 -3
- package/dist/plugins/memory-engine-vector-util.js +2 -3
- package/dist/plugins/memory-run-store.d.ts +1 -1
- package/dist/plugins/memory-session-policy-store.d.ts +1 -1
- package/dist/plugins/memory-session-policy-store.js +1 -1
- package/dist/plugins/memory-sync-store-pg.js +1 -1
- package/dist/plugins/pg-pool.js +8 -10
- package/dist/plugins/pg-rate-limiter.d.ts +1 -4
- package/dist/plugins/pg-rate-limiter.js +0 -1
- package/dist/plugins/roster-store-sql.d.ts +1 -3
- package/dist/plugins/roster-store-sql.js +3 -5
- package/dist/plugins/store-backend.d.ts +7 -17
- package/dist/plugins/store-backend.js +14 -30
- package/dist/plugins/tidb-pool.js +4 -28
- package/dist/plugins/workflow-journal-store-sql.d.ts +1 -1
- package/dist/plugins/workflow-journal-store-sql.js +1 -1
- package/dist/principal-jwt.js +2 -2
- package/dist/prompts-domain-validate.d.ts +4 -3
- package/dist/prompts-domain-validate.js +7 -8
- package/dist/router/route-orchestration.js +3 -3
- package/dist/run-local.js +5 -4
- package/dist/runs.js +8 -6
- package/dist/runtime-caps-resolver.d.ts +3 -2
- package/dist/runtime-caps-resolver.js +4 -4
- package/dist/runtime-governance.d.ts +4 -7
- package/dist/runtime-governance.js +12 -17
- package/dist/sealed-key.d.ts +1 -1
- package/dist/sealed-key.js +1 -1
- package/dist/security.d.ts +0 -5
- package/dist/security.js +8 -12
- package/dist/session-sync.d.ts +0 -2
- package/dist/session-sync.js +10 -17
- package/dist/spec-fields.js +6 -6
- package/dist/task-settings.js +7 -7
- package/dist/tool-approval.d.ts +3 -3
- package/dist/tool-approval.js +10 -10
- package/dist/trace/artifacts.d.ts +11 -0
- package/dist/trace/artifacts.js +8 -19
- package/dist/trace/ledger-sink.js +7 -1
- package/dist/trace/project.d.ts +17 -0
- package/dist/trace/project.js +55 -5
- package/package.json +2 -2
- package/dist/capabilities/oa-tools.d.ts +0 -15
- package/dist/capabilities/oa-tools.js +0 -54
- package/dist/plugins/approval-store-sql.d.ts +0 -116
- package/dist/plugins/approval-store-sql.js +0 -150
- package/dist/plugins/file-workflow-journal-store.d.ts +0 -12
- package/dist/plugins/file-workflow-journal-store.js +0 -12
- package/dist/plugins/pg-approval-store.d.ts +0 -9
- package/dist/plugins/pg-approval-store.js +0 -9
- package/dist/plugins/pg-breaker-state.d.ts +0 -8
- package/dist/plugins/pg-breaker-state.js +0 -8
- package/dist/plugins/pg-checkpoint-store.d.ts +0 -10
- package/dist/plugins/pg-checkpoint-store.js +0 -10
- package/dist/plugins/pg-file-snapshot-store.d.ts +0 -8
- package/dist/plugins/pg-file-snapshot-store.js +0 -8
- package/dist/plugins/pg-image-bake.d.ts +0 -12
- package/dist/plugins/pg-image-bake.js +0 -11
- package/dist/plugins/pg-image-index.d.ts +0 -12
- package/dist/plugins/pg-image-index.js +0 -11
- package/dist/plugins/pg-outcome-ledger.d.ts +0 -12
- package/dist/plugins/pg-outcome-ledger.js +0 -11
- package/dist/plugins/pg-resume-anchor-store.d.ts +0 -7
- package/dist/plugins/pg-resume-anchor-store.js +0 -7
- package/dist/plugins/pg-run-store.d.ts +0 -9
- package/dist/plugins/pg-run-store.js +0 -9
- package/dist/plugins/pg-session-policy-store.d.ts +0 -7
- package/dist/plugins/pg-session-policy-store.js +0 -7
- package/dist/plugins/pg-session-store.d.ts +0 -12
- package/dist/plugins/pg-session-store.js +0 -12
- package/dist/plugins/pg-tool-result-store.d.ts +0 -9
- package/dist/plugins/pg-tool-result-store.js +0 -9
- package/dist/plugins/pg-workflow-journal-store.d.ts +0 -9
- package/dist/plugins/pg-workflow-journal-store.js +0 -9
- package/dist/plugins/pg-workflow-run-store.d.ts +0 -9
- package/dist/plugins/pg-workflow-run-store.js +0 -9
- package/dist/plugins/tidb-approval-store.d.ts +0 -8
- package/dist/plugins/tidb-approval-store.js +0 -8
- package/dist/plugins/tidb-breaker-state.d.ts +0 -7
- package/dist/plugins/tidb-breaker-state.js +0 -7
- package/dist/plugins/tidb-checkpoint-store.d.ts +0 -9
- package/dist/plugins/tidb-checkpoint-store.js +0 -9
- package/dist/plugins/tidb-file-snapshot-store.d.ts +0 -8
- package/dist/plugins/tidb-file-snapshot-store.js +0 -8
- package/dist/plugins/tidb-image-bake.d.ts +0 -12
- package/dist/plugins/tidb-image-bake.js +0 -11
- package/dist/plugins/tidb-image-index.d.ts +0 -12
- package/dist/plugins/tidb-image-index.js +0 -11
- package/dist/plugins/tidb-outcome-ledger.d.ts +0 -12
- package/dist/plugins/tidb-outcome-ledger.js +0 -12
- package/dist/plugins/tidb-resume-anchor-store.d.ts +0 -7
- package/dist/plugins/tidb-resume-anchor-store.js +0 -7
- package/dist/plugins/tidb-run-store.d.ts +0 -10
- package/dist/plugins/tidb-run-store.js +0 -9
- package/dist/plugins/tidb-session-policy-store.d.ts +0 -7
- package/dist/plugins/tidb-session-policy-store.js +0 -7
- package/dist/plugins/tidb-tool-result-store.d.ts +0 -8
- package/dist/plugins/tidb-tool-result-store.js +0 -10
- package/dist/plugins/tidb-workflow-journal-store.d.ts +0 -9
- package/dist/plugins/tidb-workflow-journal-store.js +0 -9
- package/dist/plugins/tidb-workflow-run-store.d.ts +0 -10
- package/dist/plugins/tidb-workflow-run-store.js +0 -10
- package/dist/plugins/workflow-journal-limits.d.ts +0 -12
- package/dist/plugins/workflow-journal-limits.js +0 -12
|
@@ -1,11 +0,0 @@
|
|
|
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
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|