@deftai/directive 0.91.0 → 0.93.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.
@@ -10,7 +10,7 @@ export interface DispatchIo {
10
10
  writeErr: (text: string) => void;
11
11
  }
12
12
  /** CLI modules in packages/cli/src (excluding parity harnesses and bin/index). */
13
- export declare const CLI_MODULE_VERBS: readonly ["agents-refresh", "cache", "check", "capacity-backfill", "capacity-show", "codebase-default-extractor", "codebase-map", "codebase-map-fresh", "codebase-projection-registry", "codebase-provider", "doctor", "install-upgrade", "install-uninstall", "migrate-preflight", "migrate-xbrief", "migrate-category-b", "framework-check-updates", "hook-dispatch", "umbrella-current-shape", "changelog-check", "change-init", "commit-lint", "coverage-hotspots", "policy", "authz", "escalation-cli", "pr-closing-keywords", "pr-merge-readiness", "pr-monitor", "pr-protected-issues", "pr-wait-mergeable", "pr-watch", "pr-finish-loop", "directive-finish-loop", "preflight-cache", "preflight-gh", "probe-session", "release", "release-e2e", "release-publish", "release-rollback", "scope-lifecycle", "lifecycle-event", "lifecycle-stats", "session-start", "session-ready", "plan-sequence", "slice", "subagent-monitor", "toolchain-check", "triage-actions", "triage-bootstrap", "triage-bulk", "triage-classify", "triage-help", "triage-queue", "triage-reconcile", "triage-refresh", "triage-scope", "triage-scope-drift", "triage-smoketest", "triage-subscribe", "triage-summary", "triage-welcome", "ts-check-lane", "vbrief-activate", "vbrief-build", "vbrief-preflight", "vbrief-reconcile", "vbrief-validate", "vbrief-validation", "verify-branch", "verify-encoding", "verify-forward-coverage", "verify-hooks-installed", "verify-investigation", "verify-judgment-gates", "verify-no-task-runtime", "validate-links", "validate-strategy-output", "verify-biome-config", "verify-bridge-drift", "verify-capacity", "verify-contained-writes", "verify-content-manifest", "verify-skill-external-fetch-gate", "verify-contract-drift", "verify-cursor-tier1", "verify-openclaw-tier1", "verify-go-freeze", "verify-scm-boundary", "verify-session-ritual", "verify-plan-sequence", "verify-stubs", "verify-xbrief-drift", "rule-ownership-lint", "verify-story-ready", "verify-review-monitor", "verify-subagent-alive", "review-monitor-register", "review-monitor-release", "verify-tools", "verify-wip-cap", "verify-orphan-active", "verify-agents-md-budget", "verify-agents-md-advisory", "verify-eval-health-relocation", "verify-eval-triggers-relocation", "eval-health", "eval-run", "eval-report", "eval-triggers"];
13
+ export declare const CLI_MODULE_VERBS: readonly ["agents-refresh", "cache", "check", "capacity-backfill", "capacity-show", "codebase-default-extractor", "codebase-map", "codebase-map-fresh", "codebase-projection-registry", "codebase-provider", "doctor", "install-upgrade", "install-uninstall", "migrate-preflight", "migrate-xbrief", "migrate-category-b", "framework-check-updates", "hook-dispatch", "umbrella-current-shape", "changelog-check", "change-init", "commit-lint", "coverage-hotspots", "policy", "authz", "escalation-cli", "pr-closing-keywords", "pr-merge-readiness", "pr-monitor", "pr-protected-issues", "pr-wait-mergeable", "pr-watch", "pr-finish-loop", "directive-finish-loop", "preflight-cache", "preflight-gh", "probe-session", "release", "release-e2e", "release-publish", "release-rollback", "scope-lifecycle", "lifecycle-event", "lifecycle-stats", "session-start", "session-ready", "plan-sequence", "slice", "subagent-monitor", "toolchain-check", "triage-actions", "triage-bootstrap", "triage-bulk", "triage-classify", "triage-help", "triage-queue", "triage-reconcile", "triage-refresh", "triage-scope", "triage-scope-drift", "triage-smoketest", "triage-subscribe", "triage-summary", "triage-welcome", "ts-check-lane", "vbrief-activate", "vbrief-build", "vbrief-preflight", "vbrief-reconcile", "vbrief-validate", "vbrief-validation", "xbrief-create", "xbrief-verify", "verify-branch", "verify-encoding", "verify-forward-coverage", "verify-hooks-installed", "verify-investigation", "verify-judgment-gates", "verify-no-task-runtime", "validate-links", "validate-strategy-output", "verify-biome-config", "verify-bridge-drift", "verify-capacity", "verify-contained-writes", "verify-content-manifest", "verify-skill-external-fetch-gate", "verify-contract-drift", "verify-cursor-tier1", "verify-openclaw-tier1", "verify-go-freeze", "verify-scm-boundary", "verify-session-ritual", "verify-plan-sequence", "verify-stubs", "verify-xbrief-drift", "rule-ownership-lint", "verify-story-ready", "verify-review-monitor", "verify-subagent-alive", "review-monitor-register", "review-monitor-release", "verify-tools", "verify-wip-cap", "verify-orphan-active", "verify-agents-md-budget", "verify-agents-md-advisory", "verify-eval-health-relocation", "verify-eval-triggers-relocation", "eval-health", "eval-run", "eval-report", "eval-triggers"];
14
14
  /** Core-only CLI entrypoints without a packages/cli wrapper. */
15
15
  export declare const CORE_MODULE_VERBS: readonly ["scm", "scm-readiness", "github-auth-modes", "github-body", "issue-emit", "issue-ingest", "issue-sync-from-xbrief", "reconcile-issues", "swarm-launch", "swarm-complete-cohort", "swarm-finalize-cohort", "swarm-readiness", "swarm-routing-verify", "swarm-routing-set", "swarm-verify-review-clean", "swarm-worktrees", "framework-commands", "pack-render", "packs-slice", "prd-render", "export-spec", "project-render", "roadmap-render", "rule-map", "spec-render", "spec-validate", "code-structure-validate", "pack-migrate-skills", "pack-migrate-rules", "pack-migrate-strategies", "pack-migrate-patterns", "pack-migrate-swarm-spec", "policy-set", "setup-ghx", "scope-undo", "scope-demote", "scope-decompose", "changelog-resolve-unreleased", "architecture-preflight-sor", "feedback-file", "value-readback", "product-signal"];
16
16
  /** Colon aliases for triage-actions (mirrors cli-router SUBCOMMAND_ROUTES). */
package/dist/dispatch.js CHANGED
@@ -97,6 +97,8 @@ export const CLI_MODULE_VERBS = [
97
97
  "vbrief-reconcile",
98
98
  "vbrief-validate",
99
99
  "vbrief-validation",
100
+ "xbrief-create",
101
+ "xbrief-verify",
100
102
  "verify-branch",
101
103
  "verify-encoding",
102
104
  "verify-forward-coverage",
@@ -261,6 +263,8 @@ export const VERB_ALIASES = {
261
263
  "vbrief:validate": "vbrief-validate",
262
264
  "vbrief:preflight": "vbrief-preflight",
263
265
  "xbrief:preflight": "vbrief-preflight",
266
+ "xbrief:create": "xbrief-create",
267
+ "xbrief:verify": "xbrief-verify",
264
268
  "vbrief:activate": "vbrief-activate",
265
269
  "verify:story-ready": "verify-story-ready",
266
270
  "verify:review-monitor": "verify-review-monitor",
@@ -373,6 +377,8 @@ const WRAPPER_CLI_STEMS = new Set([
373
377
  "vbrief-reconcile",
374
378
  "vbrief-validate",
375
379
  "vbrief-validation",
380
+ "xbrief-create",
381
+ "xbrief-verify",
376
382
  ]);
377
383
  function emitCliResult(result, io) {
378
384
  if (result.stdout)
@@ -440,6 +446,14 @@ async function loadWrapperCliHandler(stem, io) {
440
446
  const { cmdVbriefValidation } = await import("@deftai/directive-core/vbrief-validation");
441
447
  return cmdVbriefValidation;
442
448
  }
449
+ case "xbrief-create": {
450
+ const { runXbriefCreateCli } = await import("@deftai/directive-core/xbrief");
451
+ return (argv) => emitCliResult(runXbriefCreateCli(argv), io);
452
+ }
453
+ case "xbrief-verify": {
454
+ const { runXbriefVerifyCli } = await import("@deftai/directive-core/xbrief");
455
+ return (argv) => emitCliResult(runXbriefVerifyCli(argv), io);
456
+ }
443
457
  default:
444
458
  throw new Error(`no wrapper handler for ${stem}`);
445
459
  }
@@ -2560,6 +2574,19 @@ const CURATED_HELP_GROUPS = [
2560
2574
  title: "Scope lifecycle",
2561
2575
  commands: [{ name: "scope:promote", summary: "Promote a scope xBRIEF to pending" }],
2562
2576
  },
2577
+ {
2578
+ title: "xBRIEF create/verify (not lifecycle)",
2579
+ commands: [
2580
+ {
2581
+ name: "xbrief:create",
2582
+ summary: "Write a dense xBRIEF artifact at --out (requires --format); not scope:*",
2583
+ },
2584
+ {
2585
+ name: "xbrief:verify",
2586
+ summary: "Verify a dense xBRIEF artifact at --out (requires --format); not scope:*",
2587
+ },
2588
+ ],
2589
+ },
2563
2590
  {
2564
2591
  title: "Project artifacts",
2565
2592
  commands: [
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=xbrief-create.d.ts.map
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ import { runXbriefCreateCli } from "@deftai/directive-core/xbrief";
3
+ const result = runXbriefCreateCli(process.argv.slice(2));
4
+ if (result.stdout)
5
+ process.stdout.write(result.stdout);
6
+ if (result.stderr)
7
+ process.stderr.write(result.stderr);
8
+ process.exit(result.exitCode);
9
+ //# sourceMappingURL=xbrief-create.js.map
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=xbrief-verify.d.ts.map
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+ import { runXbriefVerifyCli } from "@deftai/directive-core/xbrief";
3
+ const result = runXbriefVerifyCli(process.argv.slice(2));
4
+ if (result.stdout)
5
+ process.stdout.write(result.stdout);
6
+ if (result.stderr)
7
+ process.stderr.write(result.stderr);
8
+ process.exit(result.exitCode);
9
+ //# sourceMappingURL=xbrief-verify.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deftai/directive",
3
- "version": "0.91.0",
3
+ "version": "0.93.0",
4
4
  "description": "Directive CLI — npm install path for the Deft Directive framework.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://deftai.github.io/directive/",
@@ -34,8 +34,8 @@
34
34
  "provenance": true
35
35
  },
36
36
  "dependencies": {
37
- "@deftai/directive-core": "^0.91.0",
38
- "@deftai/directive-content": "^0.91.0"
37
+ "@deftai/directive-core": "^0.93.0",
38
+ "@deftai/directive-content": "^0.93.0"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "tsc -b"