@krapht/ork 1.0.0-alpha.5 → 1.0.0-alpha.6
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/{__build_info__-Dl8yTEu-.mjs → __build_info__-CxH89h1r.mjs} +2 -2
- package/dist/bin.mjs +28 -28
- package/dist/{clean-DYVmLkd4.mjs → clean-BbrkMQQi.mjs} +1 -1
- package/dist/{completion-BVx917Yr.mjs → completion-BeS2NCgO.mjs} +5 -5
- package/dist/{context-CepHRoj9.mjs → context-CHV6aTs7.mjs} +3 -3
- package/dist/{decide-CK_-lI5V.mjs → decide-Cnt7o3ya.mjs} +1 -1
- package/dist/{find-DWiDJ5Lc.mjs → find-Dy2H5IvT.mjs} +1 -1
- package/dist/{format-yBEAXZhk.mjs → format-OL0E1AjA.mjs} +2 -2
- package/dist/{in-a-run-CKFIeMpU.mjs → in-a-run-emTc-kZI.mjs} +1 -1
- package/dist/{limits-CwzPe9wZ.mjs → limits-TxTnWxix.mjs} +1 -1
- package/dist/{list-BE02pCZ9.mjs → list-P5CfcoWx.mjs} +1 -1
- package/dist/{mcp-DMuBbUHU.mjs → mcp-qUwFT9yi.mjs} +6 -6
- package/dist/{output-BhYkshYq.mjs → output-CjOPL8W0.mjs} +1 -1
- package/dist/{pause-C_Q0W6iX.mjs → pause-CBSAxtTp.mjs} +4 -4
- package/dist/{relay-COCvG-0I.mjs → relay-UgK1Cp9a.mjs} +2 -2
- package/dist/{remove-RVcX1KqP.mjs → remove-ccycC3vI.mjs} +3 -3
- package/dist/{send-OVpRei_5.mjs → send-B39-Xeo7.mjs} +3 -3
- package/dist/{src-CxZr4Bp2.mjs → src-5-sCA7cY.mjs} +50 -19
- package/dist/{src-HxtJOMRr.mjs → src-8nec4uoe.mjs} +1 -1
- package/dist/{src-Do_MhwiV.mjs → src-DG4dyBqm.mjs} +7 -0
- package/dist/{src-QEycKJWk.mjs → src-jyCJE1kd.mjs} +7 -7
- package/dist/ui/assets/{app-DzI77WV9.js → app-C1DAgdU2.js} +7 -7
- package/dist/ui/assets/app-Dt_tjFj6.css +1 -0
- package/dist/ui/assets/{index-2G_6XIIv.js → index-BZKXPhht.js} +2 -2
- package/dist/ui/index.html +1 -1
- package/dist/{ui-Dz_qfUOz.mjs → ui-DmJWLgxL.mjs} +4 -4
- package/dist/{usage-BcLUZ1xw.mjs → usage-Bh1lVioA.mjs} +5 -5
- package/dist/{watch-Buyn0Mhz.mjs → watch-C_vcsn_g.mjs} +6 -6
- package/dist/{workflows-1sntXqSd.mjs → workflows-lpexsAYt.mjs} +3 -3
- package/dist/{worktrees-B_Go_A9w.mjs → worktrees-D4bVVKfY.mjs} +10 -4
- package/package.json +1 -1
- package/dist/ui/assets/app-pTYGrAbI.css +0 -1
package/dist/ui/index.html
CHANGED
|
@@ -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-
|
|
22
|
+
<script type="module" crossorigin src="/assets/index-BZKXPhht.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__-
|
|
2
|
-
import { a as write, i as style, o as writeErr } from "./output-
|
|
3
|
-
import { i as uiFilePath, l as newToken, n as startServer, r as runningServer, t as DEFAULT_PORT } from "./src-
|
|
4
|
-
import { a as mayShowSignIn } from "./in-a-run-
|
|
1
|
+
import { n as ORK_VERSION, t as ORK_NAME } from "./__build_info__-CxH89h1r.mjs";
|
|
2
|
+
import { a as write, i as style, o as writeErr } from "./output-CjOPL8W0.mjs";
|
|
3
|
+
import { i as uiFilePath, l as newToken, n as startServer, r as runningServer, t as DEFAULT_PORT } from "./src-jyCJE1kd.mjs";
|
|
4
|
+
import { a as mayShowSignIn } from "./in-a-run-emTc-kZI.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-
|
|
2
|
-
import "./format-
|
|
3
|
-
import { a as write, c as openStore, i as style, n as cost, o as writeErr, t as confirm } from "./output-
|
|
4
|
-
import { n as listOrkWorktrees, t as createdWorktrees } from "./list-
|
|
1
|
+
import { En as runDirOf, c as usd, ht as liveStatus, wn as placeFor } from "./src-DG4dyBqm.mjs";
|
|
2
|
+
import "./format-OL0E1AjA.mjs";
|
|
3
|
+
import { a as write, c as openStore, i as style, n as cost, o as writeErr, t as confirm } from "./output-CjOPL8W0.mjs";
|
|
4
|
+
import { n as listOrkWorktrees, t as createdWorktrees } from "./list-P5CfcoWx.mjs";
|
|
5
5
|
import { n as usageReport, t as USAGE_DIMENSIONS } from "./report-DK4LGqwF.mjs";
|
|
6
|
-
import { n as limitsHere } from "./limits-
|
|
6
|
+
import { n as limitsHere } from "./limits-TxTnWxix.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-
|
|
2
|
-
import { n as newRunId } from "./find-
|
|
3
|
-
import { a as write, c as openStore, i as style, o as writeErr, r as plain, t as confirm } from "./output-
|
|
4
|
-
import { c as toolExecutor, o as spawnTool, s as mcpCallExecutor } from "./src-
|
|
5
|
-
import { i as runLimits, r as limitsRefusal } from "./limits-
|
|
6
|
-
import { t as acceptRefusal } from "./in-a-run-
|
|
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-DG4dyBqm.mjs";
|
|
2
|
+
import { n as newRunId } from "./find-Dy2H5IvT.mjs";
|
|
3
|
+
import { a as write, c as openStore, i as style, o as writeErr, r as plain, t as confirm } from "./output-CjOPL8W0.mjs";
|
|
4
|
+
import { c as toolExecutor, o as spawnTool, s as mcpCallExecutor } from "./src-8nec4uoe.mjs";
|
|
5
|
+
import { i as runLimits, r as limitsRefusal } from "./limits-TxTnWxix.mjs";
|
|
6
|
+
import { t as acceptRefusal } from "./in-a-run-emTc-kZI.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-
|
|
2
|
-
import { i as builtinWorkflowFile, r as builtinProblem, s as isBuiltinArg } from "./decide-
|
|
3
|
-
import { c as openStore, l as storePath, o as writeErr } from "./output-
|
|
1
|
+
import { Cn as placeFiles, En as runDirOf, kn as inside, wn as placeFor } from "./src-DG4dyBqm.mjs";
|
|
2
|
+
import { i as builtinWorkflowFile, r as builtinProblem, s as isBuiltinArg } from "./decide-Cnt7o3ya.mjs";
|
|
3
|
+
import { c as openStore, l as storePath, o as writeErr } from "./output-CjOPL8W0.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-
|
|
2
|
-
import { a as write, c as openStore, i as style, o as writeErr, t as confirm } from "./output-
|
|
3
|
-
import { a as planClean, i as keyOf, o as stepActs, t as applyClean } from "./clean-
|
|
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-
|
|
1
|
+
import { D as inspectProject } from "./src-DG4dyBqm.mjs";
|
|
2
|
+
import { a as write, c as openStore, i as style, o as writeErr, t as confirm } from "./output-CjOPL8W0.mjs";
|
|
3
|
+
import { a as planClean, i as keyOf, o as stepActs, t as applyClean } from "./clean-BbrkMQQi.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-ccycC3vI.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