@moberg_hr/work-tree 2.22.0 → 2.22.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.
- package/dist/{answer-MWBEM7P7.js → answer-HQVJNI26.js} +2 -2
- package/dist/bin.js +1 -1
- package/dist/{child-OAKEKASR.js → child-ZN7PG7DR.js} +2 -2
- package/dist/{chunk-KWHHB737.js → chunk-BRIYWWE3.js} +7 -2
- package/dist/chunk-BRIYWWE3.js.map +1 -0
- package/dist/{chunk-ZLIW4G24.js → chunk-FGWGPTQC.js} +10 -10
- package/dist/chunk-VQ63WDRZ.js +9 -0
- package/dist/{cli-KRTX5VN7.js → cli-FK3WEKNF.js} +3 -3
- package/dist/{pty-host-4LWIAULG.js → pty-host-UWBE2OIL.js} +2 -2
- package/dist/{report-2NXU55QS.js → report-3YX5PLOE.js} +2 -2
- package/dist/{send-S3BBWJHD.js → send-4CKKTNQX.js} +2 -2
- package/dist/{start-JGVD2O5V.js → start-E7KVWGW6.js} +21 -12
- package/dist/start-E7KVWGW6.js.map +1 -0
- package/dist/{wait-RULOZMLR.js → wait-BVU2IHP3.js} +2 -2
- package/dist/wd-bin.js +2 -2
- package/dist/web/assets/{PtyView-BTvDVP2F.js → PtyView-CI7F38MV.js} +27 -27
- package/dist/web/assets/PtyView-CI7F38MV.js.map +1 -0
- package/dist/web/assets/{index-CBDCRV_L.js → index-45mmMijZ.js} +9 -9
- package/dist/web/assets/index-45mmMijZ.js.map +1 -0
- package/dist/web/index.html +1 -1
- package/dist/{web-4JKMKTTD.js → web-B4C2O7GU.js} +9 -5
- package/dist/web-B4C2O7GU.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/plugins/work-tree/skills/work-sessions/SKILL.md +1 -1
- package/dist/chunk-KWHHB737.js.map +0 -1
- package/dist/chunk-TIRRXH6I.js +0 -9
- package/dist/start-JGVD2O5V.js.map +0 -1
- package/dist/web/assets/PtyView-BTvDVP2F.js.map +0 -1
- package/dist/web/assets/index-CBDCRV_L.js.map +0 -1
- package/dist/web-4JKMKTTD.js.map +0 -1
- /package/dist/{answer-MWBEM7P7.js.map → answer-HQVJNI26.js.map} +0 -0
- /package/dist/{child-OAKEKASR.js.map → child-ZN7PG7DR.js.map} +0 -0
- /package/dist/{chunk-ZLIW4G24.js.map → chunk-FGWGPTQC.js.map} +0 -0
- /package/dist/{chunk-TIRRXH6I.js.map → chunk-VQ63WDRZ.js.map} +0 -0
- /package/dist/{cli-KRTX5VN7.js.map → cli-FK3WEKNF.js.map} +0 -0
- /package/dist/{pty-host-4LWIAULG.js.map → pty-host-UWBE2OIL.js.map} +0 -0
- /package/dist/{report-2NXU55QS.js.map → report-3YX5PLOE.js.map} +0 -0
- /package/dist/{send-S3BBWJHD.js.map → send-4CKKTNQX.js.map} +0 -0
- /package/dist/{wait-RULOZMLR.js.map → wait-BVU2IHP3.js.map} +0 -0
package/dist/web/index.html
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
})();
|
|
28
28
|
</script>
|
|
29
|
-
<script type="module" crossorigin src="/assets/index-
|
|
29
|
+
<script type="module" crossorigin src="/assets/index-45mmMijZ.js"></script>
|
|
30
30
|
<link rel="stylesheet" crossorigin href="/assets/index-C-u0RGnu.css">
|
|
31
31
|
</head>
|
|
32
32
|
<body>
|
|
@@ -86,8 +86,9 @@ import {
|
|
|
86
86
|
setupAgentUsage
|
|
87
87
|
} from "./chunk-I2JMZBZY.js";
|
|
88
88
|
import {
|
|
89
|
+
archivedRefusal,
|
|
89
90
|
sendToSession
|
|
90
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-BRIYWWE3.js";
|
|
91
92
|
import {
|
|
92
93
|
MAX_NOTE_CHARS,
|
|
93
94
|
readNote,
|
|
@@ -622,7 +623,7 @@ import "./chunk-HF4VUIGE.js";
|
|
|
622
623
|
import "./chunk-YQSWVHKK.js";
|
|
623
624
|
import {
|
|
624
625
|
VERSION
|
|
625
|
-
} from "./chunk-
|
|
626
|
+
} from "./chunk-VQ63WDRZ.js";
|
|
626
627
|
import {
|
|
627
628
|
resolveProjectTarget
|
|
628
629
|
} from "./chunk-IPHADNF5.js";
|
|
@@ -769,7 +770,10 @@ function realDeps(app) {
|
|
|
769
770
|
start: async (id) => !!await ensurePty(id, { initialPrompt: NOTE_NUDGE }).catch(() => null),
|
|
770
771
|
resume: async (id) => !!await ensurePty(id).catch(() => null),
|
|
771
772
|
state: (id) => readStatus(id)?.state ?? null,
|
|
772
|
-
archived: (id) =>
|
|
773
|
+
archived: (id) => {
|
|
774
|
+
const s = findSession2(id);
|
|
775
|
+
return s?.archivedAt ? { target: s.target, branch: s.branch } : null;
|
|
776
|
+
},
|
|
773
777
|
// From before --unsafe was retired (legacy-unsafe.ts; remove next release).
|
|
774
778
|
stillUnsafe: legacyUnsafeCheck(ptyPids),
|
|
775
779
|
// `work stop`: recorded like a sleep, so the Terminal tab starts it again when opened.
|
|
@@ -808,7 +812,7 @@ function mountSessionControlRoutes(app, opts) {
|
|
|
808
812
|
const id = c.req.param("id");
|
|
809
813
|
const s = findSession2(id);
|
|
810
814
|
if (!s) return c.json({ error: "unknown session" }, 404);
|
|
811
|
-
if (s.archivedAt) return c.json({ error:
|
|
815
|
+
if (s.archivedAt) return c.json({ error: archivedRefusal(s) }, 409);
|
|
812
816
|
if (deps.hostRuns(id)) return c.json({ how: "running" });
|
|
813
817
|
if (deps.runningOutside(id) && (await body(c)).force !== true) {
|
|
814
818
|
return c.json(
|
|
@@ -15400,4 +15404,4 @@ export {
|
|
|
15400
15404
|
stopExisting,
|
|
15401
15405
|
webCommand
|
|
15402
15406
|
};
|
|
15403
|
-
//# sourceMappingURL=web-
|
|
15407
|
+
//# sourceMappingURL=web-B4C2O7GU.js.map
|