@deftai/directive 0.56.0 → 0.56.2

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/dist/cache.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import { main } from "../../core/dist/cache/main.js";
2
+ import { main } from "@deftai/directive-core/dist/cache/main.js";
3
3
  export { main };
4
4
  //# sourceMappingURL=cache.d.ts.map
package/dist/cache.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { fileURLToPath } from "node:url";
3
- import { main } from "../../core/dist/cache/main.js";
3
+ import { main } from "@deftai/directive-core/dist/cache/main.js";
4
4
  /* v8 ignore start -- entry guard; behaviour covered via main() unit tests */
5
5
  if (process.argv[1] !== undefined && fileURLToPath(import.meta.url) === process.argv[1]) {
6
6
  process.exit(main(process.argv.slice(2)));
package/dist/dispatch.js CHANGED
@@ -343,55 +343,55 @@ function loadPythonScriptHandler(scriptName) {
343
343
  async function loadCoreModuleHandler(verb, io) {
344
344
  switch (verb) {
345
345
  case "scm": {
346
- const { main } = await import("../../core/dist/scm/main.js");
346
+ const { main } = await import("@deftai/directive-core/dist/scm/main.js");
347
347
  return (argv) => main(argv);
348
348
  }
349
349
  case "github-auth-modes": {
350
- const { mainEntry } = await import("../../core/dist/intake/github-auth-modes-cli.js");
350
+ const { mainEntry } = await import("@deftai/directive-core/dist/intake/github-auth-modes-cli.js");
351
351
  return mainEntry;
352
352
  }
353
353
  case "github-body": {
354
- const { mainEntry } = await import("../../core/dist/intake/github-body-cli.js");
354
+ const { mainEntry } = await import("@deftai/directive-core/dist/intake/github-body-cli.js");
355
355
  return mainEntry;
356
356
  }
357
357
  case "issue-emit": {
358
- const { mainEntry } = await import("../../core/dist/intake/issue-emit-cli.js");
358
+ const { mainEntry } = await import("@deftai/directive-core/dist/intake/issue-emit-cli.js");
359
359
  return mainEntry;
360
360
  }
361
361
  case "issue-ingest": {
362
- const { mainEntry } = await import("../../core/dist/intake/issue-ingest-cli.js");
362
+ const { mainEntry } = await import("@deftai/directive-core/dist/intake/issue-ingest-cli.js");
363
363
  return mainEntry;
364
364
  }
365
365
  case "reconcile-issues": {
366
- const { mainEntry } = await import("../../core/dist/intake/reconcile-issues-cli.js");
366
+ const { mainEntry } = await import("@deftai/directive-core/dist/intake/reconcile-issues-cli.js");
367
367
  return mainEntry;
368
368
  }
369
369
  case "swarm-launch": {
370
- const { launchMain } = await import("../../core/dist/swarm/launch-cli.js");
370
+ const { launchMain } = await import("@deftai/directive-core/dist/swarm/launch-cli.js");
371
371
  return launchMain;
372
372
  }
373
373
  case "swarm-complete-cohort": {
374
- const { completeCohortMain } = await import("../../core/dist/swarm/complete-cohort-cli.js");
374
+ const { completeCohortMain } = await import("@deftai/directive-core/dist/swarm/complete-cohort-cli.js");
375
375
  return completeCohortMain;
376
376
  }
377
377
  case "swarm-readiness": {
378
- const { readinessMain } = await import("../../core/dist/swarm/readiness-cli.js");
378
+ const { readinessMain } = await import("@deftai/directive-core/dist/swarm/readiness-cli.js");
379
379
  return readinessMain;
380
380
  }
381
381
  case "swarm-routing-verify": {
382
- const { routingVerifyMain } = await import("../../core/dist/swarm/routing-verify-cli.js");
382
+ const { routingVerifyMain } = await import("@deftai/directive-core/dist/swarm/routing-verify-cli.js");
383
383
  return routingVerifyMain;
384
384
  }
385
385
  case "swarm-routing-set": {
386
- const { routingSetMain } = await import("../../core/dist/swarm/routing-set-cli.js");
386
+ const { routingSetMain } = await import("@deftai/directive-core/dist/swarm/routing-set-cli.js");
387
387
  return routingSetMain;
388
388
  }
389
389
  case "swarm-verify-review-clean": {
390
- const { verifyReviewCleanMain } = await import("../../core/dist/swarm/verify-review-clean-cli.js");
390
+ const { verifyReviewCleanMain } = await import("@deftai/directive-core/dist/swarm/verify-review-clean-cli.js");
391
391
  return verifyReviewCleanMain;
392
392
  }
393
393
  case "swarm-worktrees": {
394
- const { worktreesMain } = await import("../../core/dist/swarm/worktrees-cli.js");
394
+ const { worktreesMain } = await import("@deftai/directive-core/dist/swarm/worktrees-cli.js");
395
395
  return worktreesMain;
396
396
  }
397
397
  case "framework-commands": {
@@ -399,15 +399,15 @@ async function loadCoreModuleHandler(verb, io) {
399
399
  return (argv) => frameworkCommandsMain(argv);
400
400
  }
401
401
  case "pack-render": {
402
- const { main } = await import("../../core/dist/packs/pack-render.js");
402
+ const { main } = await import("@deftai/directive-core/dist/packs/pack-render.js");
403
403
  return (argv) => main([...argv]);
404
404
  }
405
405
  case "packs-slice": {
406
- const { main } = await import("../../core/dist/packs/packs-slice.js");
406
+ const { main } = await import("@deftai/directive-core/dist/packs/packs-slice.js");
407
407
  return (argv) => main([...argv]);
408
408
  }
409
409
  case "roadmap-render": {
410
- const { main } = await import("../../core/dist/render/roadmap-render.js");
410
+ const { main } = await import("@deftai/directive-core/dist/render/roadmap-render.js");
411
411
  return (argv) => main(argv);
412
412
  }
413
413
  case "spec-validate": {
@@ -459,23 +459,23 @@ async function loadCoreModuleHandler(verb, io) {
459
459
  case "policy-set":
460
460
  return loadPythonScriptHandler("policy_set.py");
461
461
  case "scope-undo": {
462
- const { undoMain } = await import("../../core/dist/scope/main.js");
462
+ const { undoMain } = await import("@deftai/directive-core/dist/scope/main.js");
463
463
  return undoMain;
464
464
  }
465
465
  case "scope-demote": {
466
- const { demoteMain } = await import("../../core/dist/scope/main.js");
466
+ const { demoteMain } = await import("@deftai/directive-core/dist/scope/main.js");
467
467
  return demoteMain;
468
468
  }
469
469
  case "scope-decompose": {
470
- const { decomposeMain } = await import("../../core/dist/scope/decompose.js");
470
+ const { decomposeMain } = await import("@deftai/directive-core/dist/scope/decompose.js");
471
471
  return decomposeMain;
472
472
  }
473
473
  case "changelog-resolve-unreleased": {
474
- const { changelogResolveUnreleasedMain } = await import("../../core/dist/platform/changelog-cli.js");
474
+ const { changelogResolveUnreleasedMain } = await import("@deftai/directive-core/dist/platform/changelog-cli.js");
475
475
  return changelogResolveUnreleasedMain;
476
476
  }
477
477
  case "architecture-preflight-sor": {
478
- const { architecturePreflightSorMain } = await import("../../core/dist/architecture/sor-preflight.js");
478
+ const { architecturePreflightSorMain } = await import("@deftai/directive-core/dist/architecture/sor-preflight.js");
479
479
  return architecturePreflightSorMain;
480
480
  }
481
481
  default:
package/dist/doctor.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { fileURLToPath } from "node:url";
3
- import { cmdDoctor } from "../../core/dist/doctor/main.js";
3
+ import { cmdDoctor } from "@deftai/directive-core/dist/doctor/main.js";
4
4
  export function run(argv) {
5
5
  return cmdDoctor(argv);
6
6
  }
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { fileURLToPath } from "node:url";
3
- import { cmdPrCheckClosingKeywords } from "../../core/dist/pr-closing-keywords/main.js";
3
+ import { cmdPrCheckClosingKeywords } from "@deftai/directive-core/dist/pr-closing-keywords/main.js";
4
4
  export function run(argv) {
5
5
  return cmdPrCheckClosingKeywords(argv);
6
6
  }
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { fileURLToPath } from "node:url";
3
- import { cmdPrMergeReadiness } from "../../core/dist/pr-merge-readiness/main.js";
3
+ import { cmdPrMergeReadiness } from "@deftai/directive-core/dist/pr-merge-readiness/main.js";
4
4
  export function run(argv) {
5
5
  return cmdPrMergeReadiness(argv);
6
6
  }
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { fileURLToPath } from "node:url";
3
- import { cmdPrMonitor } from "../../core/dist/pr-monitor/main.js";
3
+ import { cmdPrMonitor } from "@deftai/directive-core/dist/pr-monitor/main.js";
4
4
  export function run(argv) {
5
5
  return cmdPrMonitor(argv);
6
6
  }
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { fileURLToPath } from "node:url";
3
- import { cmdPrProtectedIssues } from "../../core/dist/pr-protected-issues/main.js";
3
+ import { cmdPrProtectedIssues } from "@deftai/directive-core/dist/pr-protected-issues/main.js";
4
4
  export function run(argv) {
5
5
  return cmdPrProtectedIssues(argv);
6
6
  }
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { fileURLToPath } from "node:url";
3
- import { cmdPrWaitMergeable } from "../../core/dist/pr-wait-mergeable/main.js";
3
+ import { cmdPrWaitMergeable } from "@deftai/directive-core/dist/pr-wait-mergeable/main.js";
4
4
  export function run(argv) {
5
5
  return cmdPrWaitMergeable(argv);
6
6
  }
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { fileURLToPath } from "node:url";
3
- import { cmdReleaseE2e } from "../../core/dist/release-e2e/main.js";
3
+ import { cmdReleaseE2e } from "@deftai/directive-core/dist/release-e2e/main.js";
4
4
  export function run(argv) {
5
5
  return cmdReleaseE2e(argv);
6
6
  }
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { fileURLToPath } from "node:url";
3
- import { cmdReleasePublish } from "../../core/dist/release-publish/main.js";
3
+ import { cmdReleasePublish } from "@deftai/directive-core/dist/release-publish/main.js";
4
4
  export function run(argv) {
5
5
  return cmdReleasePublish(argv);
6
6
  }
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { fileURLToPath } from "node:url";
3
- import { cmdRollback } from "../../core/dist/release-rollback/main.js";
3
+ import { cmdRollback } from "@deftai/directive-core/dist/release-rollback/main.js";
4
4
  export function run(argv) {
5
5
  return cmdRollback(argv);
6
6
  }
package/dist/release.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { fileURLToPath } from "node:url";
3
- import { cmdRelease } from "../../core/dist/release/main.js";
3
+ import { cmdRelease } from "@deftai/directive-core/dist/release/main.js";
4
4
  export function run(argv) {
5
5
  return cmdRelease(argv);
6
6
  }
@@ -4,10 +4,15 @@
4
4
  * Delegates to packages/core/dist/scope/cli.js.
5
5
  */
6
6
  import { spawnSync } from "node:child_process";
7
- import { dirname, join } from "node:path";
7
+ import { createRequire } from "node:module";
8
8
  import { fileURLToPath } from "node:url";
9
+ const require = createRequire(import.meta.url);
10
+ // Resolve the core CLI by its published package name so it works both in the
11
+ // source monorepo and under a flattened npm install (#1993). The bare specifier
12
+ // resolves via @deftai/directive-core's "./dist/*.js" export map; a hand-built
13
+ // relative path would point at the non-existent "@deftai/core" once published.
9
14
  function coreCliPath() {
10
- return join(dirname(fileURLToPath(import.meta.url)), "../../core/dist/scope/cli.js");
15
+ return require.resolve("@deftai/directive-core/dist/scope/cli.js");
11
16
  }
12
17
  /** Run scope lifecycle with argv; returns process exit code. */
13
18
  export function run(argv) {
package/dist/slice.js CHANGED
@@ -4,10 +4,15 @@
4
4
  * Delegates to the core implementation at packages/core/dist/slice/cli.js.
5
5
  */
6
6
  import { spawnSync } from "node:child_process";
7
- import { dirname, join } from "node:path";
7
+ import { createRequire } from "node:module";
8
8
  import { fileURLToPath } from "node:url";
9
+ const require = createRequire(import.meta.url);
10
+ // Resolve the core CLI by its published package name so it works both in the
11
+ // source monorepo and under a flattened npm install (#1993). The bare specifier
12
+ // resolves via @deftai/directive-core's "./dist/*.js" export map; a hand-built
13
+ // relative path would point at the non-existent "@deftai/core" once published.
9
14
  function coreCliPath() {
10
- return join(dirname(fileURLToPath(import.meta.url)), "../../core/dist/slice/cli.js");
15
+ return require.resolve("@deftai/directive-core/dist/slice/cli.js");
11
16
  }
12
17
  /** Run slice verbs with argv; returns process exit code. */
13
18
  export function run(argv) {
@@ -11,7 +11,7 @@ import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
11
11
  import { tmpdir } from "node:os";
12
12
  import { dirname, join, resolve } from "node:path";
13
13
  import { fileURLToPath } from "node:url";
14
- import { cachePut } from "../../core/dist/cache/operations.js";
14
+ import { cachePut } from "@deftai/directive-core/dist/cache/operations.js";
15
15
  /** Strip volatile UUIDs and timestamps before compare. */
16
16
  export function normalizeOutput(text) {
17
17
  return text
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { resolve } from "node:path";
3
3
  import { fileURLToPath } from "node:url";
4
- import { accept, createDefaultDeps, deferAction, formatDecision, history, markDuplicate, needsAc, reject, reset, status, TriageError, UpstreamCloseError, } from "../../core/dist/triage/actions/index.js";
4
+ import { accept, createDefaultDeps, deferAction, formatDecision, history, markDuplicate, needsAc, reject, reset, status, TriageError, UpstreamCloseError, } from "@deftai/directive-core/dist/triage/actions/index.js";
5
5
  const VALID_CMDS = new Set([
6
6
  "accept",
7
7
  "reject",
@@ -13,7 +13,7 @@ export interface ParsedArgs {
13
13
  emitJson: boolean;
14
14
  error?: string;
15
15
  }
16
- type BootstrapModule = typeof import("../../core/dist/triage/bootstrap/index.js");
16
+ type BootstrapModule = typeof import("@deftai/directive-core/dist/triage/bootstrap/index.js");
17
17
  /** Parse triage-bootstrap CLI args, mirroring the Python argparse surface. */
18
18
  export declare function parseArgs(argv: string[]): ParsedArgs;
19
19
  /** Run triage:bootstrap with an injected core module (test seam). */
@@ -1,10 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { statSync } from "node:fs";
3
- import { dirname, join, resolve } from "node:path";
4
- import { fileURLToPath, pathToFileURL } from "node:url";
3
+ import { resolve } from "node:path";
4
+ import { fileURLToPath } from "node:url";
5
5
  async function loadBootstrapModule() {
6
- const corePath = join(dirname(fileURLToPath(import.meta.url)), "../../core/dist/triage/bootstrap/index.js");
7
- return import(pathToFileURL(corePath).href);
6
+ // Direct dynamic import of the published package subpath -- resolves via core's
7
+ // "./dist/*.js" export map in both the monorepo and a flat npm install (#1993).
8
+ // The prior hand-built relative path broke once published (and my mechanical
9
+ // import rewrite turned it into a non-existent path under packages/cli/dist).
10
+ return import("@deftai/directive-core/dist/triage/bootstrap/index.js");
8
11
  }
9
12
  /** Parse triage-bootstrap CLI args, mirroring the Python argparse surface. */
10
13
  export function parseArgs(argv) {
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { join, resolve } from "node:path";
3
3
  import { fileURLToPath } from "node:url";
4
- import { bulkActionWithDefaults, CacheEmptyError } from "../../core/dist/triage/bulk/index.js";
5
- import { interceptHelp } from "../../core/dist/triage/help/index.js";
4
+ import { bulkActionWithDefaults, CacheEmptyError, } from "@deftai/directive-core/dist/triage/bulk/index.js";
5
+ import { interceptHelp } from "@deftai/directive-core/dist/triage/help/index.js";
6
6
  export function parseArgs(argv) {
7
7
  const parsed = {
8
8
  action: "",
@@ -2,7 +2,7 @@
2
2
  import { statSync } from "node:fs";
3
3
  import { resolve } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
- import { listProject, validateProject } from "../../core/dist/triage/classify/index.js";
5
+ import { listProject, validateProject } from "@deftai/directive-core/dist/triage/classify/index.js";
6
6
  /** Parse triage-classify CLI args, mirroring the Python argparse surface. */
7
7
  export function parseArgs(argv) {
8
8
  const parsed = {
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { fileURLToPath } from "node:url";
3
- import { runHelp } from "../../core/dist/triage/help/index.js";
3
+ import { runHelp } from "@deftai/directive-core/dist/triage/help/index.js";
4
4
  export function run(argv) {
5
5
  return runHelp(argv);
6
6
  }
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { dirname, resolve } from "node:path";
3
3
  import { fileURLToPath } from "node:url";
4
- import { activeReferencedIssueNumbers, buildQueue, collectOrphanIssueNumbers, DEFAULT_QUEUE_LIMIT, loadCachedIssues, loadSliceRecords, readAuditEntries, renderQueue, resolveRankingLabels, resolveRepo, } from "../../core/dist/triage/queue/index.js";
4
+ import { activeReferencedIssueNumbers, buildQueue, collectOrphanIssueNumbers, DEFAULT_QUEUE_LIMIT, loadCachedIssues, loadSliceRecords, readAuditEntries, renderQueue, resolveRankingLabels, resolveRepo, } from "@deftai/directive-core/dist/triage/queue/index.js";
5
5
  /** Parse triage-queue CLI args for the queue subcommand. */
6
6
  export function parseArgs(argv) {
7
7
  const parsed = {
@@ -2,7 +2,7 @@
2
2
  import { statSync } from "node:fs";
3
3
  import { resolve } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
- import { emitReconcileJson, reconcile, reconcileSummary, } from "../../core/dist/triage/reconcile/index.js";
5
+ import { emitReconcileJson, reconcile, reconcileSummary, } from "@deftai/directive-core/dist/triage/reconcile/index.js";
6
6
  export function parseArgs(argv) {
7
7
  const parsed = {
8
8
  projectRoot: process.env.DEFT_PROJECT_ROOT ?? ".",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { resolve } from "node:path";
3
3
  import { fileURLToPath } from "node:url";
4
- import { refreshActive } from "../../core/dist/triage/refresh/index.js";
4
+ import { refreshActive } from "@deftai/directive-core/dist/triage/refresh/index.js";
5
5
  export function parseArgs(argv) {
6
6
  let projectRoot = ".";
7
7
  for (let i = 0; i < argv.length; i += 1) {
@@ -2,7 +2,7 @@
2
2
  import { statSync } from "node:fs";
3
3
  import { resolve } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
- import { addIgnore, computeDrift, renderDriftReport, } from "../../core/dist/triage/scope-drift/index.js";
5
+ import { addIgnore, computeDrift, renderDriftReport, } from "@deftai/directive-core/dist/triage/scope-drift/index.js";
6
6
  export function parseArgs(argv) {
7
7
  const parsed = { projectRoot: process.env.DEFT_PROJECT_ROOT ?? "." };
8
8
  for (let i = 0; i < argv.length; i += 1) {
@@ -4,10 +4,15 @@
4
4
  * Delegates to the core implementation at packages/core/dist/triage/scope/cli.js.
5
5
  */
6
6
  import { spawnSync } from "node:child_process";
7
- import { dirname, join } from "node:path";
7
+ import { createRequire } from "node:module";
8
8
  import { fileURLToPath } from "node:url";
9
+ const require = createRequire(import.meta.url);
10
+ // Resolve the core CLI by its published package name so it works both in the
11
+ // source monorepo and under a flattened npm install (#1993). The bare specifier
12
+ // resolves via @deftai/directive-core's "./dist/*.js" export map; a hand-built
13
+ // relative path would point at the non-existent "@deftai/core" once published.
9
14
  function coreCliPath() {
10
- return join(dirname(fileURLToPath(import.meta.url)), "../../core/dist/triage/scope/cli.js");
15
+ return require.resolve("@deftai/directive-core/dist/triage/scope/cli.js");
11
16
  }
12
17
  /** Run triage:scope with argv; returns process exit code. */
13
18
  export function run(argv) {
@@ -2,8 +2,8 @@
2
2
  import { existsSync, statSync } from "node:fs";
3
3
  import { dirname, join, resolve } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
- import { interceptHelp } from "../../core/dist/triage/help/index.js";
6
- import { DEFAULT_FIXTURE_REL, parseSmoketestArgs, runSmoketest, } from "../../core/dist/triage/smoketest/index.js";
5
+ import { interceptHelp } from "@deftai/directive-core/dist/triage/help/index.js";
6
+ import { DEFAULT_FIXTURE_REL, parseSmoketestArgs, runSmoketest, } from "@deftai/directive-core/dist/triage/smoketest/index.js";
7
7
  function resolveDeftRoot() {
8
8
  if (process.env.DEFT_ROOT !== undefined && process.env.DEFT_ROOT.length > 0) {
9
9
  return resolve(process.env.DEFT_ROOT);
@@ -2,8 +2,8 @@
2
2
  import { existsSync, statSync } from "node:fs";
3
3
  import { resolve } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
- import { interceptHelp } from "../../core/dist/triage/help/index.js";
6
- import { RECONCILE_HINT, subscribe, unsubscribe } from "../../core/dist/triage/subscribe/index.js";
5
+ import { interceptHelp } from "@deftai/directive-core/dist/triage/help/index.js";
6
+ import { RECONCILE_HINT, subscribe, unsubscribe, } from "@deftai/directive-core/dist/triage/subscribe/index.js";
7
7
  export function parseArgs(argv) {
8
8
  const parsed = {
9
9
  op: "",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { resolve } from "node:path";
3
3
  import { fileURLToPath } from "node:url";
4
- import { appendHistory, computeSummary, formatSummary, pythonStyleStringify, SUMMARY_HISTORY_REL_PATH, summaryResultToRecord, utcIso, } from "../../core/dist/triage/summary/index.js";
4
+ import { appendHistory, computeSummary, formatSummary, pythonStyleStringify, SUMMARY_HISTORY_REL_PATH, summaryResultToRecord, utcIso, } from "@deftai/directive-core/dist/triage/summary/index.js";
5
5
  /** Parse triage-summary CLI args, mirroring the Python argparse surface. */
6
6
  export function parseArgs(argv) {
7
7
  const parsed = {
@@ -2,7 +2,7 @@
2
2
  import { statSync } from "node:fs";
3
3
  import { resolve } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
- import { runDefaultMode } from "../../core/dist/triage/welcome/default-mode.js";
5
+ import { runDefaultMode } from "@deftai/directive-core/dist/triage/welcome/default-mode.js";
6
6
  export function parseArgs(argv) {
7
7
  const parsed = {
8
8
  projectRoot: process.env.DEFT_PROJECT_ROOT ?? ".",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deftai/directive",
3
- "version": "0.56.0",
3
+ "version": "0.56.2",
4
4
  "description": "Directive CLI — npm install path for the Deft Directive framework.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -42,8 +42,8 @@
42
42
  "provenance": true
43
43
  },
44
44
  "dependencies": {
45
- "@deftai/directive-core": "^0.56.0",
46
- "@deftai/directive-content": "^0.56.0"
45
+ "@deftai/directive-core": "^0.56.2",
46
+ "@deftai/directive-content": "^0.56.2"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "tsc -b"