@krapht/ork 1.0.0-alpha.1 → 1.0.0-alpha.3
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__-D9lSlMFy.mjs → __build_info__-BwrKe6yz.mjs} +2 -2
- package/dist/bin.mjs +63 -31
- package/dist/{clean-CA_Oi2Wl.mjs → clean-hXSaN8BT.mjs} +1 -1
- package/dist/{completion-DBGfL-gN.mjs → completion-Cga01yQP.mjs} +5 -5
- package/dist/{context-6x3kXREO.mjs → context-mCAwzFFM.mjs} +3 -3
- package/dist/{decide-CoIJh34e.mjs → decide-BvZnKErW.mjs} +1 -1
- package/dist/{find-rBBk7Jui.mjs → find-CbetS8I2.mjs} +1 -1
- package/dist/{format-zMmhqyLE.mjs → format-D87bY6Ud.mjs} +2 -2
- package/dist/{in-a-run-DdAakpRR.mjs → in-a-run-Bs4Wv-Cz.mjs} +1 -1
- package/dist/{limits-BPM9wUlV.mjs → limits-RzKQ_zPk.mjs} +1 -1
- package/dist/{list-Bv5Lxu7z.mjs → list-DX65Sbu7.mjs} +1 -1
- package/dist/{mcp-DM30MFBw.mjs → mcp-DKrrxowo.mjs} +6 -6
- package/dist/{output-TV_j7Ni0.mjs → output-Q3TZ-Ave.mjs} +1 -1
- package/dist/{pause-C7lJkSma.mjs → pause-B5Z41lR3.mjs} +4 -4
- package/dist/{relay-BipJYszF.mjs → relay-BLnjMdjT.mjs} +2 -2
- package/dist/{remove-BDs9isB6.mjs → remove-IbcZOemm.mjs} +3 -3
- package/dist/{send-nbkjf3sc.mjs → send-CJKEhBL1.mjs} +3 -3
- package/dist/{src-B0TT7DBi.mjs → src-BTDzibW3.mjs} +7 -7
- package/dist/{src-hrj2h0IZ.mjs → src-DnETlJ1r.mjs} +122 -26
- package/dist/{src-B9v0lDc6.mjs → src-LSxjnWDH.mjs} +1 -1
- package/dist/{src-BxUJPGa5.mjs → src-XDSRnAZV.mjs} +1 -1
- package/dist/ui/assets/{app-CmkynZyW.js → app-BNElhp7Z.js} +1 -1
- package/dist/ui/assets/{index-CPx74lFf.js → index-BkI68sr5.js} +2 -2
- package/dist/ui/index.html +1 -1
- package/dist/{ui-B98FSboa.mjs → ui-fvrO7Gxd.mjs} +4 -4
- package/dist/{usage-EW7DI6Z7.mjs → usage-bNdcBcj9.mjs} +5 -5
- package/dist/{watch-BAkSGaOp.mjs → watch-EhlO304A.mjs} +6 -6
- package/dist/{workflows-vsEohqa7.mjs → workflows-C5hYAVcE.mjs} +3 -3
- package/dist/{worktrees-Ahj9rdWK.mjs → worktrees-BQFcpYz1.mjs} +5 -5
- package/package.json +1 -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-BkI68sr5.js"></script>
|
|
23
23
|
<link rel="modulepreload" crossorigin href="/assets/theme-3xH5jxKs.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__-BwrKe6yz.mjs";
|
|
2
|
+
import { a as write, i as style, o as writeErr } from "./output-Q3TZ-Ave.mjs";
|
|
3
|
+
import { i as uiFilePath, l as newToken, n as startServer, r as runningServer, t as DEFAULT_PORT } from "./src-BTDzibW3.mjs";
|
|
4
|
+
import { a as mayShowSignIn } from "./in-a-run-Bs4Wv-Cz.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 { Cn as runDirOf, c as usd, ht as liveStatus, xn as placeFor } from "./src-
|
|
2
|
-
import { a as write, c as openStore, i as style, n as cost, o as writeErr, t as confirm } from "./output-
|
|
3
|
-
import { n as listOrkWorktrees, t as createdWorktrees } from "./list-
|
|
1
|
+
import { Cn as runDirOf, c as usd, ht as liveStatus, xn as placeFor } from "./src-DnETlJ1r.mjs";
|
|
2
|
+
import { a as write, c as openStore, i as style, n as cost, o as writeErr, t as confirm } from "./output-Q3TZ-Ave.mjs";
|
|
3
|
+
import { n as listOrkWorktrees, t as createdWorktrees } from "./list-DX65Sbu7.mjs";
|
|
4
4
|
import { n as usageReport, t as USAGE_DIMENSIONS } from "./report-DK4LGqwF.mjs";
|
|
5
|
-
import "./format-
|
|
6
|
-
import { n as limitsHere } from "./limits-
|
|
5
|
+
import "./format-D87bY6Ud.mjs";
|
|
6
|
+
import { n as limitsHere } from "./limits-RzKQ_zPk.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 timeoutMs, S as readProjectTriggers, T as watchingPid, Wn as CheckReportSchema, Xn as isToolNode, b as triggerStanding, bn as placeFiles, ht as liveStatus, ot as detachRun, 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 { i as runLimits, r as limitsRefusal } from "./limits-
|
|
5
|
-
import { c as toolExecutor, o as spawnTool, s as mcpCallExecutor } from "./src-
|
|
6
|
-
import { t as acceptRefusal } from "./in-a-run-
|
|
1
|
+
import { $n as timeoutMs, S as readProjectTriggers, T as watchingPid, Wn as CheckReportSchema, Xn as isToolNode, b as triggerStanding, bn as placeFiles, ht as liveStatus, ot as detachRun, v as triggersReport, w as takeWatchLock, x as declaredTriggers, xt as stillTheSameProcess, y as createWatcher } from "./src-DnETlJ1r.mjs";
|
|
2
|
+
import { n as newRunId } from "./find-CbetS8I2.mjs";
|
|
3
|
+
import { a as write, c as openStore, i as style, o as writeErr, r as plain, t as confirm } from "./output-Q3TZ-Ave.mjs";
|
|
4
|
+
import { i as runLimits, r as limitsRefusal } from "./limits-RzKQ_zPk.mjs";
|
|
5
|
+
import { c as toolExecutor, o as spawnTool, s as mcpCallExecutor } from "./src-XDSRnAZV.mjs";
|
|
6
|
+
import { t as acceptRefusal } from "./in-a-run-Bs4Wv-Cz.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 runDirOf, En as inside, bn as placeFiles, xn 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 runDirOf, En as inside, bn as placeFiles, xn as placeFor } from "./src-DnETlJ1r.mjs";
|
|
2
|
+
import { i as builtinWorkflowFile, r as builtinProblem, s as isBuiltinArg } from "./decide-BvZnKErW.mjs";
|
|
3
|
+
import { c as openStore, l as storePath, o as writeErr } from "./output-Q3TZ-Ave.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-DnETlJ1r.mjs";
|
|
2
|
+
import { a as write, c as openStore, i as style, o as writeErr, t as confirm } from "./output-Q3TZ-Ave.mjs";
|
|
3
|
+
import { a as planClean, i as keyOf, o as stepActs, t as applyClean } from "./clean-hXSaN8BT.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-IbcZOemm.mjs";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
// src/project/worktrees.ts
|
|
@@ -171,7 +171,7 @@ const remove = defineCommand({
|
|
|
171
171
|
const found = await here();
|
|
172
172
|
if (found === null) return;
|
|
173
173
|
const byPath = path.resolve(args.target);
|
|
174
|
-
const item = found.items.find((i) => keyOf(i) === args.target || i.path === byPath);
|
|
174
|
+
const item = found.items.find((i) => keyOf(i) === args.target || labelOf(i) === args.target || i.path === byPath);
|
|
175
175
|
const planned = planRemove(found, item === void 0 ? args.target : keyOf(item), args.branch);
|
|
176
176
|
if (!planned.ok) {
|
|
177
177
|
writeErr(planned.error);
|
package/package.json
CHANGED