@deftai/directive-core 0.75.0 → 0.76.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 (41) hide show
  1. package/dist/agents-md-budget/evaluate.js +23 -3
  2. package/dist/agents-md-budget/skill-frontmatter.d.ts +2 -0
  3. package/dist/agents-md-budget/skill-frontmatter.js +4 -3
  4. package/dist/cache/operations.d.ts +2 -0
  5. package/dist/cache/operations.js +16 -1
  6. package/dist/init-deposit/scaffold.js +28 -17
  7. package/dist/intake/issue-ingest.js +23 -4
  8. package/dist/packaging/openpackage-tiers.d.ts +12 -0
  9. package/dist/packaging/openpackage-tiers.js +42 -0
  10. package/dist/preflight/evaluate.d.ts +5 -2
  11. package/dist/preflight/evaluate.js +9 -4
  12. package/dist/preflight/index.d.ts +1 -1
  13. package/dist/preflight/index.js +1 -1
  14. package/dist/release/pipeline-fixture.d.ts +3 -0
  15. package/dist/release/pipeline-fixture.js +11 -0
  16. package/dist/release/pipeline.js +4 -0
  17. package/dist/scope/transition.js +17 -2
  18. package/dist/scope/vbrief-ref.d.ts +6 -0
  19. package/dist/scope/vbrief-ref.js +21 -2
  20. package/dist/session/index.d.ts +1 -0
  21. package/dist/session/index.js +1 -0
  22. package/dist/session/posture.d.ts +50 -0
  23. package/dist/session/posture.js +152 -0
  24. package/dist/session/ritual-sentinel.d.ts +2 -0
  25. package/dist/session/ritual-sentinel.js +3 -0
  26. package/dist/session/session-start.d.ts +8 -0
  27. package/dist/session/session-start.js +43 -0
  28. package/dist/session/verify-session-ritual.d.ts +6 -0
  29. package/dist/session/verify-session-ritual.js +67 -4
  30. package/dist/triage/bootstrap/gitignore.js +8 -4
  31. package/dist/triage/cache-path.js +16 -3
  32. package/dist/triage/welcome/writers.js +2 -0
  33. package/dist/ts-check-lane/index.d.ts +1 -1
  34. package/dist/ts-check-lane/index.js +1 -1
  35. package/dist/ts-check-lane/run-lane.d.ts +5 -0
  36. package/dist/ts-check-lane/run-lane.js +15 -0
  37. package/dist/vbrief-build/constants.d.ts +3 -3
  38. package/dist/vbrief-build/constants.js +4 -3
  39. package/dist/vbrief-build/index.d.ts +1 -1
  40. package/dist/vbrief-build/index.js +1 -1
  41. package/package.json +3 -3
@@ -1,8 +1,9 @@
1
- /** Canonical ``vBRIEFInfo.version`` emitted on scope vBRIEFs (#533). */
2
- export const EMITTED_VBRIEF_VERSION = "0.6";
1
+ import { VBRIEF_VERSION } from "@deftai/directive-types";
2
+ /** Canonical envelope version emitted on new scope xBRIEFs (#533, #2318). */
3
+ export const EMITTED_VBRIEF_VERSION = VBRIEF_VERSION;
3
4
  /** Migrator provenance namespace under ``plan.metadata`` (#616). */
4
5
  export const MIGRATOR_METADATA_KEY = "x-migrator";
5
- export const PROJECT_DEFINITION_REL_PATH = "vbrief/PROJECT-DEFINITION.vbrief.json";
6
+ /** Layout-aware PROJECT-DEFINITION paths live in ``project-definition-io.ts`` / ``policy/resolve.ts`` (#2302). */
6
7
  export const DEPRECATION_SENTINEL = "<!-- deft:deprecated-redirect -->";
7
8
  export const INTERNAL_REFERENCE_TYPES = new Set([
8
9
  "x-vbrief/plan",
@@ -1,5 +1,5 @@
1
1
  export { createScopeVbrief, referenceHasRequiredFields, referenceWithDefaultTrust, setTodayForTests, slugify, TODAY, } from "./build.js";
2
- export { DEFAULT_STATUS_FOR_FOLDER, DEPRECATION_SENTINEL, EMITTED_VBRIEF_VERSION, EXTERNAL_REFERENCE_TYPES, FOLDER_TO_STATUSES, INTERNAL_REFERENCE_TYPES, LIFECYCLE_FOLDERS, MIGRATOR_METADATA_KEY, PROJECT_DEFINITION_REL_PATH, STATUS_TO_FOLDER, } from "./constants.js";
2
+ export { DEFAULT_STATUS_FOR_FOLDER, DEPRECATION_SENTINEL, EMITTED_VBRIEF_VERSION, EXTERNAL_REFERENCE_TYPES, FOLDER_TO_STATUSES, INTERNAL_REFERENCE_TYPES, LIFECYCLE_FOLDERS, MIGRATOR_METADATA_KEY, STATUS_TO_FOLDER, } from "./constants.js";
3
3
  export { pythonJsonPretty } from "./json.js";
4
4
  export { cmdVbriefBuild, run, usage } from "./main.js";
5
5
  export { PARITY_SCENARIO_NAMES, renderScenarioOutput, runParityScenario, SAMPLE_PROJECT_MD, SAMPLE_ROADMAP_MD, SAMPLE_SPEC_MD, SAMPLE_SPEC_VBRIEF, } from "./parity-scenarios.js";
@@ -1,5 +1,5 @@
1
1
  export { createScopeVbrief, referenceHasRequiredFields, referenceWithDefaultTrust, setTodayForTests, slugify, TODAY, } from "./build.js";
2
- export { DEFAULT_STATUS_FOR_FOLDER, DEPRECATION_SENTINEL, EMITTED_VBRIEF_VERSION, EXTERNAL_REFERENCE_TYPES, FOLDER_TO_STATUSES, INTERNAL_REFERENCE_TYPES, LIFECYCLE_FOLDERS, MIGRATOR_METADATA_KEY, PROJECT_DEFINITION_REL_PATH, STATUS_TO_FOLDER, } from "./constants.js";
2
+ export { DEFAULT_STATUS_FOR_FOLDER, DEPRECATION_SENTINEL, EMITTED_VBRIEF_VERSION, EXTERNAL_REFERENCE_TYPES, FOLDER_TO_STATUSES, INTERNAL_REFERENCE_TYPES, LIFECYCLE_FOLDERS, MIGRATOR_METADATA_KEY, STATUS_TO_FOLDER, } from "./constants.js";
3
3
  export { pythonJsonPretty } from "./json.js";
4
4
  export { cmdVbriefBuild, run, usage } from "./main.js";
5
5
  export { PARITY_SCENARIO_NAMES, renderScenarioOutput, runParityScenario, SAMPLE_PROJECT_MD, SAMPLE_ROADMAP_MD, SAMPLE_SPEC_MD, SAMPLE_SPEC_VBRIEF, } from "./parity-scenarios.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deftai/directive-core",
3
- "version": "0.75.0",
3
+ "version": "0.76.0",
4
4
  "description": "TypeScript engine core for the Directive framework.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -285,8 +285,8 @@
285
285
  "provenance": true
286
286
  },
287
287
  "dependencies": {
288
- "@deftai/directive-content": "^0.75.0",
289
- "@deftai/directive-types": "^0.75.0",
288
+ "@deftai/directive-content": "^0.76.0",
289
+ "@deftai/directive-types": "^0.76.0",
290
290
  "archiver": "^8.0.0"
291
291
  },
292
292
  "scripts": {