@a-company/paradigm 5.8.2 → 5.9.1

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.
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
- import {
3
- AgentSpawner,
4
- extractSymbols
5
- } from "./chunk-LSRABQIY.js";
6
- import {
7
- AuditLogger
8
- } from "./chunk-PBHIFAL4.js";
9
2
  import {
10
3
  suggestAgentsForTask
11
4
  } from "./chunk-6QC3YGB6.js";
5
+ import {
6
+ AgentSpawner,
7
+ extractSymbols
8
+ } from "./chunk-45MUDW6E.js";
12
9
  import {
13
10
  loadAgentsManifest
14
11
  } from "./chunk-PMXRGPRQ.js";
12
+ import {
13
+ AuditLogger
14
+ } from "./chunk-PBHIFAL4.js";
15
15
  import {
16
16
  calculateCost
17
17
  } from "./chunk-5JGJACDU.js";
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  BackgroundOrchestrator
4
- } from "./chunk-WQITYKHM.js";
5
- import "./chunk-LSRABQIY.js";
6
- import "./chunk-PBHIFAL4.js";
7
- import "./chunk-TXESEO7Y.js";
4
+ } from "./chunk-YRZ5RPEB.js";
8
5
  import "./chunk-6QC3YGB6.js";
6
+ import "./chunk-45MUDW6E.js";
9
7
  import "./chunk-PMXRGPRQ.js";
8
+ import "./chunk-PBHIFAL4.js";
9
+ import "./chunk-TXESEO7Y.js";
10
10
  import "./chunk-5JGJACDU.js";
11
11
  import "./chunk-ZGUAAVMA.js";
12
12
  import "./chunk-EDOAWN7J.js";
@@ -17,7 +17,7 @@ async function docsServeCommand(options) {
17
17
  const shouldOpen = options.open !== false;
18
18
  console.log(chalk.cyan("\n Starting Paradigm Docs...\n"));
19
19
  try {
20
- const { startPlatformServer } = await import("./platform-server-U5L2G3EU.js");
20
+ const { startPlatformServer } = await import("./platform-server-H5YO3DQD.js");
21
21
  await startPlatformServer({
22
22
  projectDir,
23
23
  port,
package/dist/index.js CHANGED
@@ -111,7 +111,7 @@ ${chalk2.magenta("\u2569 ")}${chalk2.cyan("\u2534 \u2534\u2534\u2514\u2500\u253
111
111
  program.name("paradigm").description("Unified developer tools ecosystem").version(VERSION).addHelpText("before", banner);
112
112
  program.command("init").description("Initialize Paradigm in the current project").option("-f, --force", "Overwrite existing files").option("--name <name>", "Project name").option("--ide <ide>", "Target IDE: cursor, copilot, windsurf, claude").option("--stack <stack>", "Stack preset (e.g., nextjs, fastapi, swift-ios). Auto-detected if omitted.").option("--migrate", "Output migration prompt for existing IDE files").option("--quick", "Non-interactive mode with smart defaults").option("--dry-run", "Show what would be created without creating").action(initCommand);
113
113
  program.command("shift").description("Full project setup in one command (init + team init + scan + sync all IDEs + doctor)").option("-f, --force", "Reinitialize even if already setup").option("-q, --quick", "Skip slow operations (scan)").option("--verify", "Run health checks after setup").option("--ide <ide>", "Target specific IDE instead of all").option("--configure-models", "Force model configuration prompts for team agents").option("--stack <stack>", "Stack preset (e.g., nextjs, fastapi, swift-ios). Auto-detected if omitted.").option("--workspace <name>", "Create or join a multi-project workspace with this name (creates ../.paradigm-workspace)").option("--workspace-path <path>", "Custom workspace file location (default: ../.paradigm-workspace)").action(async (options) => {
114
- const { shiftCommand } = await import("./shift-VJUGMADR.js");
114
+ const { shiftCommand } = await import("./shift-D2JOHHBF.js");
115
115
  await shiftCommand(options);
116
116
  });
117
117
  program.command("presets").description("List available stack presets for paradigm init/shift").option("-d, --discipline <discipline>", "Filter by discipline (e.g., fullstack, api, mobile)").action(async (options) => {
@@ -254,7 +254,7 @@ flowCmd.action(() => {
254
254
  });
255
255
  var teamCmd = program.command("team").description("Multi-agent orchestration commands");
256
256
  teamCmd.command("init [path]").description("Initialize team configuration with default agents").option("-f, --force", "Overwrite existing configuration").option("--configure-models", "Force model configuration prompts").option("--no-configure-models", "Skip model configuration").option("--json", "Output as JSON").action(async (path2, options) => {
257
- const { teamInitCommand } = await import("./team-7HG7XK5C.js");
257
+ const { teamInitCommand } = await import("./team-O5MIIFMA.js");
258
258
  await teamInitCommand(path2, {
259
259
  ...options,
260
260
  configureModels: options.configureModels,
@@ -262,47 +262,47 @@ teamCmd.command("init [path]").description("Initialize team configuration with d
262
262
  });
263
263
  });
264
264
  teamCmd.command("status [path]").description("Show current team status").option("--running", "Show only running orchestrations").option("--id <id>", "Show specific orchestration").option("--json", "Output as JSON").action(async (path2, options) => {
265
- const { teamStatusCommand } = await import("./team-7HG7XK5C.js");
265
+ const { teamStatusCommand } = await import("./team-O5MIIFMA.js");
266
266
  await teamStatusCommand(path2, options);
267
267
  });
268
268
  teamCmd.command("handoff [path]").description("Hand off current task to another agent").requiredOption("-t, --to <agent>", "Target agent name").option("-s, --summary <text>", "Summary of what was done").option("--json", "Output as JSON").action(async (path2, options) => {
269
- const { teamHandoffCommand } = await import("./team-7HG7XK5C.js");
269
+ const { teamHandoffCommand } = await import("./team-O5MIIFMA.js");
270
270
  await teamHandoffCommand(path2, options);
271
271
  });
272
272
  teamCmd.command("accept [handoff-id] [path]").description("Accept a pending handoff").option("-n, --note <text>", "Acceptance note").option("--json", "Output as JSON").action(async (handoffId, path2, options) => {
273
- const { teamAcceptCommand } = await import("./team-7HG7XK5C.js");
273
+ const { teamAcceptCommand } = await import("./team-O5MIIFMA.js");
274
274
  await teamAcceptCommand(handoffId, path2, options);
275
275
  });
276
276
  teamCmd.command("check [path]").description("Check for conflicts and team health issues").option("--json", "Output as JSON").action(async (path2, options) => {
277
- const { teamCheckCommand } = await import("./team-7HG7XK5C.js");
277
+ const { teamCheckCommand } = await import("./team-O5MIIFMA.js");
278
278
  await teamCheckCommand(path2, options);
279
279
  });
280
280
  teamCmd.command("history [path]").description("Show full activity log").option("-l, --limit <number>", "Number of entries to show", "50").option("--json", "Output as JSON").action(async (path2, options) => {
281
- const { teamHistoryCommand } = await import("./team-7HG7XK5C.js");
281
+ const { teamHistoryCommand } = await import("./team-O5MIIFMA.js");
282
282
  await teamHistoryCommand(path2, { ...options, limit: parseInt(options.limit) });
283
283
  });
284
284
  teamCmd.command("reset [path]").description("Reset team state for fresh start").option("-f, --force", "Force reset even with pending work").option("--json", "Output as JSON").action(async (path2, options) => {
285
- const { teamResetCommand } = await import("./team-7HG7XK5C.js");
285
+ const { teamResetCommand } = await import("./team-O5MIIFMA.js");
286
286
  await teamResetCommand(path2, options);
287
287
  });
288
288
  teamCmd.command("spawn <agent> [path]").description("Spawn an AI agent to work on a task").requiredOption("-t, --task <task>", "Task for the agent to perform").option("-m, --model <model>", "Model to use: opus, sonnet, haiku").option("-p, --provider <provider>", "Provider: auto, claude, claude-code, claude-cli, manual").option("--budget <budget>", 'Budget limits (e.g., "tokens=100000,cost=2")').option("--timeout <ms>", "Timeout in milliseconds").option("--checkpoint", "Pause for approval before writes/deletes").option("-q, --quiet", "Suppress output").option("--json", "Output as JSON").action(async (agent, path2, options) => {
289
- const { teamSpawnCommand } = await import("./spawn-AW6GDECS.js");
289
+ const { teamSpawnCommand } = await import("./spawn-RCHNXDHE.js");
290
290
  await teamSpawnCommand(agent, path2, options);
291
291
  });
292
292
  teamCmd.command("orchestrate <task> [path]").description("Orchestrate a multi-agent task").option("--solo", "Run in solo mode (single Claude)").option("--faceted", "Run in faceted mode (multi-agent, default)").option("--compare", "Run both modes and compare results").option("--background", "Run in background mode (returns immediately)").option("--notify <methods>", "Notification methods: bell,desktop,file,webhook (default: bell)").option("-m, --model <model>", "Orchestrator model: opus, sonnet, haiku").option("-p, --provider <provider>", "Provider: auto, claude, claude-code, claude-cli, manual").option("--budget <budget>", 'Budget limits (e.g., "tokens=500000,cost=5")').option("--checkpoint", "Pause for approval between agents").option("--live", "Stream agent output live").option("--pm", "Enable PM governance (compliance checks before/after)").option("-q, --quiet", "Suppress output").option("--json", "Output as JSON").action(async (task, path2, options) => {
293
- const { teamOrchestrateCommand } = await import("./orchestrate-XZA33TJC.js");
293
+ const { teamOrchestrateCommand } = await import("./orchestrate-JLILBBJE.js");
294
294
  await teamOrchestrateCommand(task, path2, options);
295
295
  });
296
296
  teamCmd.command("diff <orchestration-id> [path]").description("Show diff of changes from a completed orchestration").option("--full", "Show full file contents").option("--json", "Output as JSON").action(async (orchestrationId, path2, options) => {
297
- const { teamDiffCommand } = await import("./diff-RQLLNAFI.js");
297
+ const { teamDiffCommand } = await import("./diff-D4X53HAC.js");
298
298
  await teamDiffCommand(orchestrationId, path2, options);
299
299
  });
300
300
  teamCmd.command("accept-orch <orchestration-id> [path]").description("Accept orchestration changes").option("-n, --note <text>", "Acceptance note").option("--json", "Output as JSON").action(async (orchestrationId, path2, options) => {
301
- const { teamAcceptOrchestrationCommand } = await import("./accept-orchestration-GX2YRWM4.js");
301
+ const { teamAcceptOrchestrationCommand } = await import("./accept-orchestration-UQLM7PTQ.js");
302
302
  await teamAcceptOrchestrationCommand(orchestrationId, path2, options);
303
303
  });
304
304
  teamCmd.command("reject-orch <orchestration-id> [path]").description("Reject orchestration changes").option("-r, --reason <text>", "Rejection reason").option("--cleanup", "Delete created files").option("--json", "Output as JSON").action(async (orchestrationId, path2, options) => {
305
- const { teamRejectOrchestrationCommand } = await import("./accept-orchestration-GX2YRWM4.js");
305
+ const { teamRejectOrchestrationCommand } = await import("./accept-orchestration-UQLM7PTQ.js");
306
306
  await teamRejectOrchestrationCommand(orchestrationId, path2, options);
307
307
  });
308
308
  teamCmd.command("cost [path]").description("Show cost summary for orchestrations").option("--from <date>", "From date (ISO format)").option("--to <date>", "To date (ISO format)").option("--days <n>", "Last N days").option("-d, --detailed", "Show detailed breakdown").option("--json", "Output as JSON").action(async (path2, options) => {
@@ -318,7 +318,7 @@ teamCmd.command("providers [path]").description("Show available agent providers
318
318
  await teamProvidersCommand(path2, options);
319
319
  });
320
320
  teamCmd.command("models [path]").description("Configure or view agent model assignments").option("--refresh", "Refresh model cache from environment").option("--json", "Output as JSON").action(async (path2, options) => {
321
- const { teamModelsCommand } = await import("./team-7HG7XK5C.js");
321
+ const { teamModelsCommand } = await import("./team-O5MIIFMA.js");
322
322
  await teamModelsCommand(path2, options);
323
323
  });
324
324
  var agentsCmd = teamCmd.command("agents").description("Agent management commands");
@@ -333,7 +333,7 @@ agentsCmd.action(() => {
333
333
  console.log("\nRun `paradigm team agents suggest --help` for options.\n");
334
334
  });
335
335
  teamCmd.action(async () => {
336
- const { teamStatusCommand } = await import("./team-7HG7XK5C.js");
336
+ const { teamStatusCommand } = await import("./team-O5MIIFMA.js");
337
337
  await teamStatusCommand(void 0, {});
338
338
  });
339
339
  var pluginCmd = program.command("plugin").description("Plugin management commands");
@@ -719,7 +719,7 @@ loreCmd.option("-p, --port <port>", "Port to run on", "3840").option("--no-open"
719
719
  await loreServeCommand(void 0, options);
720
720
  });
721
721
  program.command("serve").description("Launch Paradigm Platform \u2014 unified development management UI").option("-p, --port <port>", "Port to run on", "3850").option("--no-open", "Don't open browser automatically").option("--sections <list>", "Comma-separated sections to enable (e.g., lore,graph,git)").action(async (options) => {
722
- const { serveCommand } = await import("./serve-QWWJP2EW.js");
722
+ const { serveCommand } = await import("./serve-CAH3PHE7.js");
723
723
  await serveCommand(options);
724
724
  });
725
725
  var graphCmd = program.command("graph").description("Interactive symbol relationship graph").argument("[path]", "Project directory", void 0).option("-p, --port <port>", "Port to run on", "3841").option("--no-open", "Don't open browser automatically").action(async (path2, options) => {
@@ -857,15 +857,15 @@ universityCmd.option("-p, --port <port>", "Port to run on", "3839").option("--no
857
857
  });
858
858
  var docsCmd = program.command("docs").description("Auto-generated documentation from the symbol graph");
859
859
  docsCmd.command("serve").description("Launch interactive docs viewer in browser").option("-p, --port <port>", "Port number (default: 3850)").option("--no-open", "Do not open browser automatically").action(async (options) => {
860
- const { docsServeCommand } = await import("./docs-AIY6VNF7.js");
860
+ const { docsServeCommand } = await import("./docs-QIYKO3BR.js");
861
861
  await docsServeCommand(options);
862
862
  });
863
863
  docsCmd.command("build").description("Build static documentation site").option("-o, --output <dir>", "Output directory (default: from config or .paradigm/docs-site)").action(async (options) => {
864
- const { docsBuildCommand } = await import("./docs-AIY6VNF7.js");
864
+ const { docsBuildCommand } = await import("./docs-QIYKO3BR.js");
865
865
  await docsBuildCommand(options);
866
866
  });
867
867
  docsCmd.action(async () => {
868
- const { docsServeCommand } = await import("./docs-AIY6VNF7.js");
868
+ const { docsServeCommand } = await import("./docs-QIYKO3BR.js");
869
869
  await docsServeCommand({});
870
870
  });
871
871
  var pipelineCmd = program.command("pipeline").description("Spec pipeline \u2014 structured feature workflow with configurable gates");