@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.
Files changed (71) hide show
  1. package/CHANGELOG.md +319 -0
  2. package/README.md +65 -33
  3. package/conformance/VERSION +1 -1
  4. package/conformance/cases/c27-hosts-array-1025/meta.json +1 -1
  5. package/conformance/cases/c48-s935-model-headers-transported/expected.json +18 -68
  6. package/conformance/cases/c48-s935-model-headers-transported/meta.json +1 -1
  7. package/conformance/cases/c67-s784-retired-field-loud/meta.json +1 -1
  8. package/conformance/cases/c77-prompts-center-artifact-carried/expected.json +5 -5
  9. package/conformance/cases/c77-prompts-center-artifact-carried/input.json +2 -2
  10. package/conformance/cases/c79-prompts-bad-worker-artifact-not-salvaged/expected.json +1 -1
  11. package/conformance/cases/c79-prompts-bad-worker-artifact-not-salvaged/input.json +3 -3
  12. package/conformance/cases/c80-prompts-wire-v2-verbatim/expected.json +1 -1
  13. package/conformance/cases/c80-prompts-wire-v2-verbatim/input.json +1 -1
  14. package/conformance/cases/c82-prompts-v1-catalog-refused/expected.json +1 -1
  15. package/conformance/cases/c82-prompts-v1-catalog-refused/input.json +1 -1
  16. package/conformance/cases/c83-prompts-bad-overlay-not-salvaged/expected.json +1 -1
  17. package/conformance/cases/c83-prompts-bad-overlay-not-salvaged/input.json +1 -1
  18. package/dist/cli.d.ts +7 -7
  19. package/dist/cli.js +11 -19
  20. package/dist/config-dir-io.js +3 -14
  21. package/dist/config-dir-migration.d.ts +1 -4
  22. package/dist/config-dir-migration.js +16 -22
  23. package/dist/config-document-refusal.d.ts +2 -3
  24. package/dist/config-fns.d.ts +3 -4
  25. package/dist/config-fns.js +4 -6
  26. package/dist/conformance/run.js +89 -29
  27. package/dist/conformance/types.d.ts +65 -39
  28. package/dist/execution-lane-index.d.ts +8 -19
  29. package/dist/execution-lane-index.js +6 -27
  30. package/dist/file-store.js +2 -3
  31. package/dist/fleet.d.ts +10 -47
  32. package/dist/fleet.js +13 -40
  33. package/dist/fs-failure.d.ts +5 -10
  34. package/dist/fs-failure.js +4 -8
  35. package/dist/hooks.d.ts +41 -6
  36. package/dist/hooks.js +68 -4
  37. package/dist/migration-receipt.d.ts +12 -14
  38. package/dist/migration-receipt.js +5 -7
  39. package/dist/node.js +1 -1
  40. package/dist/one-time-migrations.d.ts +9 -24
  41. package/dist/one-time-migrations.js +30 -796
  42. package/dist/remote-exec.js +2 -3
  43. package/dist/retired-envs.js +2 -0
  44. package/dist/retired-form.d.ts +12 -11
  45. package/dist/retired-form.js +12 -8
  46. package/dist/sandbox-git.d.ts +1 -1
  47. package/dist/sandbox-git.js +3 -3
  48. package/dist/scheduler-lifetime.d.ts +1 -1
  49. package/dist/scheduler-lifetime.js +1 -1
  50. package/dist/scheduler-store.d.ts +4 -29
  51. package/dist/scheduler-store.js +21 -14
  52. package/dist/types.d.ts +13 -19
  53. package/dist/types.js +75 -110
  54. package/dist/web-admin-credential.d.ts +2 -2
  55. package/dist/web-admin-credential.js +4 -4
  56. package/dist/worker-row-verdict.d.ts +1 -1
  57. package/dist/worker-row-verdict.js +1 -1
  58. package/dist/workers-rows.d.ts +2 -2
  59. package/dist/workers-rows.js +2 -2
  60. package/dist/zod-unwrap.d.ts +1 -1
  61. package/dist/zod-unwrap.js +1 -1
  62. package/docs/API-SURFACE.md +11 -12
  63. package/docs/CONFORMANCE.md +25 -13
  64. package/docs/CONSUMER-INTEGRATION.md +54 -27
  65. package/llms-full.txt +24 -22
  66. package/llms.txt +20 -14
  67. package/package.json +1 -1
  68. package/dist/runtime-lift-targets.d.ts +0 -7
  69. package/dist/runtime-lift-targets.js +0 -7
  70. package/dist/scheduler-store-migration.d.ts +0 -14
  71. 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
- }