@sema-agent/settings-schema 25.1.0 → 26.1.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 +319 -0
- package/README.md +65 -33
- package/conformance/VERSION +1 -1
- package/conformance/cases/c27-hosts-array-1025/meta.json +1 -1
- package/conformance/cases/c48-s935-model-headers-transported/expected.json +18 -68
- package/conformance/cases/c48-s935-model-headers-transported/meta.json +1 -1
- package/conformance/cases/c67-s784-retired-field-loud/meta.json +1 -1
- package/conformance/cases/c77-prompts-center-artifact-carried/expected.json +5 -5
- package/conformance/cases/c77-prompts-center-artifact-carried/input.json +2 -2
- package/conformance/cases/c79-prompts-bad-worker-artifact-not-salvaged/expected.json +1 -1
- package/conformance/cases/c79-prompts-bad-worker-artifact-not-salvaged/input.json +3 -3
- package/conformance/cases/c80-prompts-wire-v2-verbatim/expected.json +1 -1
- package/conformance/cases/c80-prompts-wire-v2-verbatim/input.json +1 -1
- package/conformance/cases/c82-prompts-v1-catalog-refused/expected.json +1 -1
- package/conformance/cases/c82-prompts-v1-catalog-refused/input.json +1 -1
- package/conformance/cases/c83-prompts-bad-overlay-not-salvaged/expected.json +1 -1
- package/conformance/cases/c83-prompts-bad-overlay-not-salvaged/input.json +1 -1
- package/dist/cli.d.ts +7 -7
- package/dist/cli.js +11 -19
- package/dist/config-dir-io.js +3 -14
- package/dist/config-dir-migration.d.ts +1 -4
- package/dist/config-dir-migration.js +16 -22
- package/dist/config-document-refusal.d.ts +2 -3
- package/dist/config-fns.d.ts +3 -4
- package/dist/config-fns.js +4 -6
- package/dist/conformance/run.js +89 -29
- package/dist/conformance/types.d.ts +65 -39
- package/dist/execution-lane-index.d.ts +8 -19
- package/dist/execution-lane-index.js +6 -27
- package/dist/file-store.js +2 -3
- package/dist/fleet.d.ts +10 -47
- package/dist/fleet.js +13 -40
- package/dist/fs-failure.d.ts +5 -10
- package/dist/fs-failure.js +4 -8
- package/dist/hooks.d.ts +41 -6
- package/dist/hooks.js +68 -4
- package/dist/migration-receipt.d.ts +12 -14
- package/dist/migration-receipt.js +5 -7
- package/dist/node.js +1 -1
- package/dist/one-time-migrations.d.ts +9 -24
- package/dist/one-time-migrations.js +30 -796
- package/dist/remote-exec.js +2 -3
- package/dist/retired-envs.js +2 -0
- package/dist/retired-form.d.ts +12 -11
- package/dist/retired-form.js +12 -8
- package/dist/sandbox-git.d.ts +1 -1
- package/dist/sandbox-git.js +3 -3
- package/dist/scheduler-lifetime.d.ts +1 -1
- package/dist/scheduler-lifetime.js +1 -1
- package/dist/scheduler-store.d.ts +4 -29
- package/dist/scheduler-store.js +21 -14
- package/dist/types.d.ts +13 -19
- package/dist/types.js +75 -110
- package/dist/web-admin-credential.d.ts +2 -2
- package/dist/web-admin-credential.js +4 -4
- package/dist/worker-row-verdict.d.ts +1 -1
- package/dist/worker-row-verdict.js +1 -1
- package/dist/workers-rows.d.ts +2 -2
- package/dist/workers-rows.js +2 -2
- package/dist/zod-unwrap.d.ts +1 -1
- package/dist/zod-unwrap.js +1 -1
- package/docs/API-SURFACE.md +11 -12
- package/docs/CONFORMANCE.md +25 -13
- package/docs/CONSUMER-INTEGRATION.md +54 -27
- package/llms-full.txt +24 -22
- package/llms.txt +20 -14
- package/package.json +1 -1
- package/dist/runtime-lift-targets.d.ts +0 -7
- package/dist/runtime-lift-targets.js +0 -7
- package/dist/scheduler-store-migration.d.ts +0 -14
- package/dist/scheduler-store-migration.js +0 -14
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { isSessionLifetime } from "./scheduler-lifetime.js";
|
|
2
|
-
export function migrateSchedulerRecords(records) {
|
|
3
|
-
const receipts = [];
|
|
4
|
-
const out = records.map((r, index) => {
|
|
5
|
-
if (isSessionLifetime(r))
|
|
6
|
-
return r;
|
|
7
|
-
const want = r.principal ?? "default";
|
|
8
|
-
if (r.scope === want)
|
|
9
|
-
return r;
|
|
10
|
-
receipts.push({ migration: "SS-M3", document: "scheduler-store", path: [index, "scope"], appliedAs: "rewritten" });
|
|
11
|
-
return { ...r, scope: want };
|
|
12
|
-
});
|
|
13
|
-
return { records: out, receipts };
|
|
14
|
-
}
|