@krapht/ork 1.0.0-alpha.5 → 1.0.0-alpha.7

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 (32) hide show
  1. package/dist/{__build_info__-Dl8yTEu-.mjs → __build_info__-BGoaUwLd.mjs} +72 -3
  2. package/dist/bin.mjs +149 -44
  3. package/dist/{clean-DYVmLkd4.mjs → clean-BPITM-6p.mjs} +1 -1
  4. package/dist/{completion-BVx917Yr.mjs → completion-CCn8xWmO.mjs} +5 -5
  5. package/dist/{context-CepHRoj9.mjs → context-CZNM454F.mjs} +3 -3
  6. package/dist/{decide-CK_-lI5V.mjs → decide-DsA6kOT7.mjs} +1 -1
  7. package/dist/{find-DWiDJ5Lc.mjs → find-ntyniv2E.mjs} +1 -1
  8. package/dist/{format-yBEAXZhk.mjs → format-DaROJUgG.mjs} +34 -5
  9. package/dist/{in-a-run-CKFIeMpU.mjs → in-a-run-D_fnj1Mw.mjs} +1 -1
  10. package/dist/{limits-CwzPe9wZ.mjs → limits-BKzVMwkt.mjs} +1 -1
  11. package/dist/{list-BE02pCZ9.mjs → list-D9HPWLPH.mjs} +1 -1
  12. package/dist/{mcp-DMuBbUHU.mjs → mcp-BFl3cIDp.mjs} +6 -6
  13. package/dist/{output-BhYkshYq.mjs → output-CwqlG1Le.mjs} +11 -2
  14. package/dist/{pause-C_Q0W6iX.mjs → pause-DhgKQORW.mjs} +4 -4
  15. package/dist/{relay-COCvG-0I.mjs → relay-Cp8JGrdv.mjs} +2 -2
  16. package/dist/{remove-RVcX1KqP.mjs → remove-CSpT_nJH.mjs} +3 -3
  17. package/dist/{send-OVpRei_5.mjs → send-CHiYkM6X.mjs} +3 -3
  18. package/dist/{src-Do_MhwiV.mjs → src-BsLHKQRc.mjs} +3903 -3204
  19. package/dist/{src-QEycKJWk.mjs → src-BwnitlJh.mjs} +8 -77
  20. package/dist/{src-HxtJOMRr.mjs → src-CUeMUVwW.mjs} +40 -23
  21. package/dist/{src-CxZr4Bp2.mjs → src-DhGLtYR-.mjs} +54 -21
  22. package/dist/ui/assets/{app-DzI77WV9.js → app-D4CoH-lh.js} +8 -8
  23. package/dist/ui/assets/app-Dt_tjFj6.css +1 -0
  24. package/dist/ui/assets/{index-2G_6XIIv.js → index-DxDGdEwz.js} +2 -2
  25. package/dist/ui/index.html +1 -1
  26. package/dist/{ui-Dz_qfUOz.mjs → ui-BxE0L7V0.mjs} +4 -4
  27. package/dist/{usage-BcLUZ1xw.mjs → usage-BuzDsEhq.mjs} +5 -5
  28. package/dist/{watch-Buyn0Mhz.mjs → watch-CCj0vU3B.mjs} +6 -6
  29. package/dist/{workflows-1sntXqSd.mjs → workflows-BNCDD6J-.mjs} +3 -3
  30. package/dist/{worktrees-B_Go_A9w.mjs → worktrees-DBBcaimX.mjs} +10 -4
  31. package/package.json +1 -1
  32. package/dist/ui/assets/app-pTYGrAbI.css +0 -1
@@ -19,7 +19,7 @@
19
19
  href="/favicon.svg"
20
20
  type="image/svg+xml"
21
21
  />
22
- <script type="module" crossorigin src="/assets/index-2G_6XIIv.js"></script>
22
+ <script type="module" crossorigin src="/assets/index-DxDGdEwz.js"></script>
23
23
  <link rel="modulepreload" crossorigin href="/assets/theme-CdXvqTQ6.js">
24
24
  <link rel="stylesheet" crossorigin href="/assets/index-BPIbqRRb.css">
25
25
  </head>
@@ -1,7 +1,7 @@
1
- import { n as ORK_VERSION, t as ORK_NAME } from "./__build_info__-Dl8yTEu-.mjs";
2
- import { a as write, i as style, o as writeErr } from "./output-BhYkshYq.mjs";
3
- import { i as uiFilePath, l as newToken, n as startServer, r as runningServer, t as DEFAULT_PORT } from "./src-QEycKJWk.mjs";
4
- import { a as mayShowSignIn } from "./in-a-run-CKFIeMpU.mjs";
1
+ import { n as ORK_VERSION, t as ORK_NAME } from "./__build_info__-BGoaUwLd.mjs";
2
+ import { a as write, i as style, o as writeErr } from "./output-CwqlG1Le.mjs";
3
+ import { a as mayShowSignIn } from "./in-a-run-D_fnj1Mw.mjs";
4
+ import { i as uiFilePath, l as newToken, n as startServer, r as runningServer, t as DEFAULT_PORT } from "./src-BwnitlJh.mjs";
5
5
  import path from "node:path";
6
6
  import { constants } from "node:os";
7
7
  import { spawn } from "node:child_process";
@@ -1,9 +1,9 @@
1
- import { En as runDirOf, c as usd, ht as liveStatus, wn as placeFor } from "./src-Do_MhwiV.mjs";
2
- import "./format-yBEAXZhk.mjs";
3
- import { a as write, c as openStore, i as style, n as cost, o as writeErr, t as confirm } from "./output-BhYkshYq.mjs";
4
- import { n as listOrkWorktrees, t as createdWorktrees } from "./list-BE02pCZ9.mjs";
1
+ import { En as runDirOf, bt as liveStatus, c as usd, wn as placeFor } from "./src-BsLHKQRc.mjs";
2
+ import "./format-DaROJUgG.mjs";
3
+ import { a as write, c as openStore, i as style, n as cost, o as writeErr, t as confirm } from "./output-CwqlG1Le.mjs";
4
+ import { n as listOrkWorktrees, t as createdWorktrees } from "./list-D9HPWLPH.mjs";
5
5
  import { n as usageReport, t as USAGE_DIMENSIONS } from "./report-DK4LGqwF.mjs";
6
- import { n as limitsHere } from "./limits-CwzPe9wZ.mjs";
6
+ import { n as limitsHere } from "./limits-BKzVMwkt.mjs";
7
7
  import { existsSync, rmSync } from "node:fs";
8
8
  import { defineCommand } from "citty";
9
9
  // ../core/src/store/prune.ts
@@ -1,9 +1,9 @@
1
- import { $n as isToolNode, Cn as placeFiles, S as readProjectTriggers, T as watchingPid, b as triggerStanding, ht as liveStatus, nr as timeoutMs, ot as detachRun, qn as CheckReportSchema, v as triggersReport, w as takeWatchLock, x as declaredTriggers, xt as stillTheSameProcess, y as createWatcher } from "./src-Do_MhwiV.mjs";
2
- import { n as newRunId } from "./find-DWiDJ5Lc.mjs";
3
- import { a as write, c as openStore, i as style, o as writeErr, r as plain, t as confirm } from "./output-BhYkshYq.mjs";
4
- import { c as toolExecutor, o as spawnTool, s as mcpCallExecutor } from "./src-HxtJOMRr.mjs";
5
- import { i as runLimits, r as limitsRefusal } from "./limits-CwzPe9wZ.mjs";
6
- import { t as acceptRefusal } from "./in-a-run-CKFIeMpU.mjs";
1
+ import { Cn as placeFiles, Dt as stillTheSameProcess, S as readProjectTriggers, T as watchingPid, Yn as CheckReportSchema, b as triggerStanding, bt as liveStatus, er as isToolNode, it as detachRun, nr as timeoutMs, v as triggersReport, w as takeWatchLock, x as declaredTriggers, y as createWatcher } from "./src-BsLHKQRc.mjs";
2
+ import { n as newRunId } from "./find-ntyniv2E.mjs";
3
+ import { a as write, c as openStore, i as style, o as writeErr, r as plain, t as confirm } from "./output-CwqlG1Le.mjs";
4
+ import { c as toolExecutor, o as spawnTool, s as mcpCallExecutor } from "./src-CUeMUVwW.mjs";
5
+ import { i as runLimits, r as limitsRefusal } from "./limits-BKzVMwkt.mjs";
6
+ import { t as acceptRefusal } from "./in-a-run-D_fnj1Mw.mjs";
7
7
  import path from "node:path";
8
8
  import { mkdirSync } from "node:fs";
9
9
  import { homedir } from "node:os";
@@ -1,6 +1,6 @@
1
- import { Cn as placeFiles, En as runDirOf, kn as inside, wn as placeFor } from "./src-Do_MhwiV.mjs";
2
- import { i as builtinWorkflowFile, r as builtinProblem, s as isBuiltinArg } from "./decide-CK_-lI5V.mjs";
3
- import { c as openStore, l as storePath, o as writeErr } from "./output-BhYkshYq.mjs";
1
+ import { Cn as placeFiles, En as runDirOf, kn as inside, wn as placeFor } from "./src-BsLHKQRc.mjs";
2
+ import { i as builtinWorkflowFile, r as builtinProblem, s as isBuiltinArg } from "./decide-DsA6kOT7.mjs";
3
+ import { c as openStore, l as storePath, o as writeErr } from "./output-CwqlG1Le.mjs";
4
4
  import path from "node:path";
5
5
  import { existsSync, readdirSync, statSync } from "node:fs";
6
6
  // src/project/place.ts
@@ -1,7 +1,7 @@
1
- import { D as inspectProject } from "./src-Do_MhwiV.mjs";
2
- import { a as write, c as openStore, i as style, o as writeErr, t as confirm } from "./output-BhYkshYq.mjs";
3
- import { a as planClean, i as keyOf, o as stepActs, t as applyClean } from "./clean-DYVmLkd4.mjs";
4
- import { a as readWorktrees, c as planLine, n as lostWork, o as labelOf, r as planRemove, s as mergeStateOf, t as applyRemove, u as stateParts } from "./remove-RVcX1KqP.mjs";
1
+ import { D as inspectProject } from "./src-BsLHKQRc.mjs";
2
+ import { a as write, c as openStore, i as style, o as writeErr, t as confirm } from "./output-CwqlG1Le.mjs";
3
+ import { a as planClean, i as keyOf, o as stepActs, t as applyClean } from "./clean-BPITM-6p.mjs";
4
+ import { a as readWorktrees, c as planLine, n as lostWork, o as labelOf, r as planRemove, s as mergeStateOf, t as applyRemove, u as stateParts } from "./remove-CSpT_nJH.mjs";
5
5
  import path from "node:path";
6
6
  import { defineCommand } from "citty";
7
7
  // src/project/worktrees.ts
@@ -123,6 +123,12 @@ const clean = defineCommand({
123
123
  yes
124
124
  },
125
125
  run: async ({ args }) => {
126
+ const [name] = args._;
127
+ if (name !== void 0) {
128
+ writeErr(`\`clean\` takes no name (got ${name}); to remove one worktree: ork worktrees remove ${name}`);
129
+ process.exitCode = 1;
130
+ return;
131
+ }
126
132
  const found = await here();
127
133
  if (found === null) return;
128
134
  const filter = { merged: !args.all };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krapht/ork",
3
- "version": "1.0.0-alpha.5",
3
+ "version": "1.0.0-alpha.7",
4
4
  "description": "Orchestrate Claude agents on your machine: hierarchical, serializable workflows with a CLI and a localhost UI.",
5
5
  "keywords": [
6
6
  "claude",