@staff0rd/assist 0.1209.6 → 0.1209.8
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-files +85 -86
- package/dist/{addActivity-YKRWHDDK.js → addActivity-PLNFAQVP.js} +2 -2
- package/dist/{addPhase-HCYCO6WL.js → addPhase-TTGDRRKJ.js} +3 -3
- package/dist/{advise-LQQG2JTZ.js → advise-36VIPPXJ.js} +3 -3
- package/dist/{askCheck-KQ4M5XFX.js → askCheck-DRRBLFHP.js} +7 -7
- package/dist/{askDesign-7NHZE4PU.js → askDesign-MJ6BAVD7.js} +1 -1
- package/dist/{branch-SUODJM5R.js → branch-OMFTQK3W.js} +3 -3
- package/dist/built-version +1 -1
- package/dist/{chunk-JDF34HO3.js → chunk-36F3K7HM.js} +2 -2
- package/dist/{chunk-HFGNF7NK.js → chunk-3B3TZFFZ.js} +1 -1
- package/dist/{chunk-HHXELNDU.js → chunk-3COAWQ2J.js} +1 -1
- package/dist/{chunk-CFWQJWDW.js → chunk-3EPOPLVB.js} +1 -1
- package/dist/{chunk-HXZYVTTL.js → chunk-3MQCI3HR.js} +1 -1
- package/dist/{chunk-TOXTBZV3.js → chunk-4JVS2C67.js} +1 -1
- package/dist/{chunk-ZYT7WIUX.js → chunk-4VJXZMG4.js} +2 -2
- package/dist/{chunk-NXPYQYDV.js → chunk-5FZEIJNQ.js} +1 -1
- package/dist/{chunk-FMAGVS7I.js → chunk-5GE4SCZV.js} +1 -1
- package/dist/{chunk-QCKYTR4J.js → chunk-5XORAPRE.js} +1 -1
- package/dist/{chunk-SRGPQCG6.js → chunk-734KE2N6.js} +1 -1
- package/dist/{chunk-7J25YEYE.js → chunk-7TL5FF4G.js} +1 -1
- package/dist/{chunk-MUHZ22VQ.js → chunk-7VTFCHIT.js} +1 -1
- package/dist/{chunk-2QEKX3ZH.js → chunk-AVWHLYRU.js} +1 -1
- package/dist/{chunk-A3RU24P7.js → chunk-AZKNSOKB.js} +1 -1
- package/dist/{chunk-QBWJTD22.js → chunk-BCBJMZGJ.js} +21 -8
- package/dist/{chunk-X5L4BF4G.js → chunk-BZ4NSHKC.js} +1 -1
- package/dist/{chunk-PJZB3K6O.js → chunk-CGTWGF4R.js} +2 -2
- package/dist/{chunk-4L55STF2.js → chunk-DOIDAWFX.js} +5 -5
- package/dist/{chunk-HJX4D37O.js → chunk-GCC3III2.js} +1 -1
- package/dist/{chunk-EWGXEKB6.js → chunk-GCVGBOX5.js} +8 -26
- package/dist/{chunk-PI5I6JVZ.js → chunk-GH2U4GVZ.js} +3 -3
- package/dist/{chunk-F62PXYEY.js → chunk-HFUFS7V6.js} +1 -1
- package/dist/{chunk-IWLMMPOH.js → chunk-HG2J53VZ.js} +2 -2
- package/dist/{chunk-FICFMJU7.js → chunk-ITQOKBXS.js} +1 -1
- package/dist/{chunk-TJ4NHEKM.js → chunk-J5FJLOMS.js} +1 -1
- package/dist/{chunk-L6QVABKD.js → chunk-K6FSJTVW.js} +1 -1
- package/dist/{chunk-PK7ZQCHY.js → chunk-LCEKIRDI.js} +3 -3
- package/dist/{chunk-MTF4W7UO.js → chunk-M6G6HBNN.js} +2 -2
- package/dist/{chunk-CKHRMDH7.js → chunk-NBA3Z4TA.js} +1 -1
- package/dist/{chunk-7SFSU7KH.js → chunk-NEC6OVBH.js} +6 -6
- package/dist/{chunk-F7CYMCYS.js → chunk-NH4S6JMP.js} +1 -1
- package/dist/{chunk-65OULTY2.js → chunk-QK6LOFXI.js} +92 -18
- package/dist/{chunk-T3ILT475.js → chunk-TARU4556.js} +1 -1
- package/dist/{chunk-QAJUCN3A.js → chunk-UOYZCIWZ.js} +20 -1
- package/dist/{chunk-XR4OTQRO.js → chunk-VIKP2CPB.js} +9 -9
- package/dist/{chunk-UKV4LM33.js → chunk-YMENSLWI.js} +1 -1
- package/dist/{chunk-7OD23NOD.js → chunk-YP4LPJ7P.js} +1 -1
- package/dist/{chunk-FYYZG4GY.js → chunk-YR3NOIK4.js} +20 -4
- package/dist/{chunk-RW4DR3KX.js → chunk-ZPA2ZLQF.js} +3 -3
- package/dist/{chunk-FDBOIVN6.js → chunk-ZZPDMUIS.js} +2 -2
- package/dist/{cliHook-3NHHQRAW.js → cliHook-6AK4SZVH.js} +6 -6
- package/dist/{cliHookCheck-YUISV7EH.js → cliHookCheck-BXTWEIKL.js} +2 -2
- package/dist/{codexHook-RXFE7LFF.js → codexHook-CKPLYNYI.js} +8 -8
- package/dist/commands/sessions/web/bundle.js +4 -4
- package/dist/{commit-HQLG2RRB.js → commit-XOT7U5LZ.js} +4 -4
- package/dist/{doctorNodes-FOVMXMKX.js → doctorNodes-KRVVGZ3H.js} +3 -3
- package/dist/{done-JAPZKWHV.js → done-7XDZ5EOV.js} +4 -4
- package/dist/{editHook-7JKIZEK7.js → editHook-RG7F5O5G.js} +6 -6
- package/dist/{fixConflict-ZRI6ETPM.js → fixConflict-SHPVWNCI.js} +7 -8
- package/dist/index.js +51 -51
- package/dist/{launchMode-W5BMC63G.js → launchMode-E6C56QJ5.js} +17 -18
- package/dist/{list-Y7BPDZI7.js → list-LWGNQ5OI.js} +5 -5
- package/dist/{migrate-SKAUA7P5.js → migrate-L6IK3N53.js} +3 -3
- package/dist/{next-DHWIMBFY.js → next-RU4CE65F.js} +16 -17
- package/dist/{phaseDone-QMLIPFFE.js → phaseDone-LXJHLT2U.js} +5 -5
- package/dist/{piHook-6PSKZYAN.js → piHook-3DLZZNQI.js} +6 -6
- package/dist/{propose-Z622RYH6.js → propose-S3E5BT6R.js} +4 -4
- package/dist/{pullIfConfigured-OZ5OPCR2.js → pullIfConfigured-2IBMXTYT.js} +2 -3
- package/dist/{refine-WGVHO3JG.js → refine-PM727EVL.js} +18 -19
- package/dist/{restartNode-ZWJIN24E.js → restartNode-KLNVUHES.js} +5 -5
- package/dist/{review-5PESQCJS.js → review-63J2YROM.js} +7 -8
- package/dist/{reviewPrComments-HN4PLUDK.js → reviewPrComments-BOOP6SKN.js} +7 -8
- package/dist/{rewindPhase-LPSAPBI3.js → rewindPhase-LUTTHL7A.js} +8 -8
- package/dist/{run-BAUQRPDJ.js → run-T4LRCNGP.js} +12 -12
- package/dist/{run-DH6MREID.js → run-XKK6RIXT.js} +14 -15
- package/dist/{runDaemon-JQGDNWCB.js → runDaemon-5QC62HXQ.js} +27 -23
- package/dist/{runParallelPhase-6OQWXJER.js → runParallelPhase-TF7ICWA2.js} +7 -7
- package/dist/{runRefine-HTMH4XVU.js → runRefine-U5VSEHLT.js} +18 -19
- package/dist/{scan-4347WF2M.js → scan-QGGG4PDJ.js} +2 -2
- package/dist/{schemaConfirm-OKZDVD44.js → schemaConfirm-JZDXHHJB.js} +2 -2
- package/dist/{schemaLock-VWYRZKKD.js → schemaLock-X5744CQX.js} +2 -2
- package/dist/{schemaUnlock-5OZJ4W4P.js → schemaUnlock-POW6IROW.js} +2 -2
- package/dist/{search-XAJYFW5I.js → search-XENUF5PM.js} +5 -5
- package/dist/{show-7UDZL3I7.js → show-75ROW5SY.js} +3 -3
- package/dist/{show-3ARD4BT6.js → show-TKEXHAGK.js} +3 -3
- package/dist/{signExtension-MQ357423.js → signExtension-OD33BOCP.js} +1 -1
- package/dist/{updateNode-A6GTMYAJ.js → updateNode-XBXWVBTG.js} +5 -5
- package/dist/{updatePlan-IYFJRUIY.js → updatePlan-6CS7QADL.js} +4 -4
- package/dist/{web-I4CRK3AP.js → web-EYVVF2JJ.js} +19 -18
- package/dist/{web-HOTM6DIB.js → web-FQDB4QQA.js} +19 -18
- package/package.json +1 -1
- package/dist/chunk-B3JSQA5D.js +0 -25
|
@@ -67,10 +67,29 @@ function gitSyncOrNull(cwd, args) {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
// src/commands/sessions/daemon/worktree/cloneHead.ts
|
|
71
|
+
function cloneHead(clone) {
|
|
72
|
+
return gitOrNull(clone, ["symbolic-ref", "--short", "HEAD"]);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// src/commands/sessions/daemon/worktree/remoteDefaultBranch.ts
|
|
76
|
+
async function remoteDefaultBranch(clone) {
|
|
77
|
+
const head = await gitOrNull(clone, [
|
|
78
|
+
"symbolic-ref",
|
|
79
|
+
"--short",
|
|
80
|
+
"refs/remotes/origin/HEAD"
|
|
81
|
+
]);
|
|
82
|
+
if (!head) return await cloneHead(clone) ?? "main";
|
|
83
|
+
const slash = head.indexOf("/");
|
|
84
|
+
return slash === -1 ? head : head.slice(slash + 1);
|
|
85
|
+
}
|
|
86
|
+
|
|
70
87
|
export {
|
|
71
88
|
git,
|
|
72
89
|
gitOrNull,
|
|
73
90
|
gitResult,
|
|
74
91
|
gitSyncResult,
|
|
75
|
-
gitSyncOrNull
|
|
92
|
+
gitSyncOrNull,
|
|
93
|
+
cloneHead,
|
|
94
|
+
remoteDefaultBranch
|
|
76
95
|
};
|
|
@@ -9,25 +9,22 @@ import {
|
|
|
9
9
|
parkedExitCode,
|
|
10
10
|
releaseLock
|
|
11
11
|
} from "./chunk-BXGPF3TG.js";
|
|
12
|
-
import {
|
|
13
|
-
worktreeConfigFor
|
|
14
|
-
} from "./chunk-QWYSWWN5.js";
|
|
15
12
|
import {
|
|
16
13
|
launchBlocker
|
|
17
14
|
} from "./chunk-LQMU4BUO.js";
|
|
18
15
|
import {
|
|
19
16
|
createBranch,
|
|
20
17
|
generateBranchSlug
|
|
21
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-734KE2N6.js";
|
|
22
19
|
import {
|
|
23
20
|
inWebSession
|
|
24
21
|
} from "./chunk-HKGCLAZ7.js";
|
|
25
22
|
import {
|
|
26
23
|
executePhase
|
|
27
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GH2U4GVZ.js";
|
|
28
25
|
import {
|
|
29
26
|
backlogPhaseActivity
|
|
30
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4JVS2C67.js";
|
|
31
28
|
import {
|
|
32
29
|
awaitHarness
|
|
33
30
|
} from "./chunk-ZYK7V4PG.js";
|
|
@@ -44,6 +41,9 @@ import {
|
|
|
44
41
|
import {
|
|
45
42
|
phaseGit
|
|
46
43
|
} from "./chunk-VVUYBY6D.js";
|
|
44
|
+
import {
|
|
45
|
+
worktreeConfigFor
|
|
46
|
+
} from "./chunk-QWYSWWN5.js";
|
|
47
47
|
import {
|
|
48
48
|
updateCurrentPhase
|
|
49
49
|
} from "./chunk-QV2GMC3R.js";
|
|
@@ -59,10 +59,10 @@ import {
|
|
|
59
59
|
import {
|
|
60
60
|
buildReviewPhase,
|
|
61
61
|
resolveReviewPhase
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-YMENSLWI.js";
|
|
63
63
|
import {
|
|
64
64
|
resolvePlan
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-3EPOPLVB.js";
|
|
66
66
|
import {
|
|
67
67
|
findOneItem,
|
|
68
68
|
getOrigin,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
import {
|
|
87
87
|
harnessAdapter,
|
|
88
88
|
withoutResumeSession
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-BCBJMZGJ.js";
|
|
90
90
|
import {
|
|
91
91
|
buildFeature
|
|
92
92
|
} from "./chunk-LKZ7J5AK.js";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
cloneHead,
|
|
3
|
+
gitOrNull,
|
|
4
|
+
gitSyncOrNull,
|
|
5
|
+
remoteDefaultBranch
|
|
6
|
+
} from "./chunk-UOYZCIWZ.js";
|
|
4
7
|
|
|
5
8
|
// src/commands/sessions/daemon/worktree/listWorktreePaths.ts
|
|
6
9
|
function listWorktreePaths(cwd) {
|
|
@@ -27,6 +30,18 @@ function gitCommonDir(cwd) {
|
|
|
27
30
|
]);
|
|
28
31
|
}
|
|
29
32
|
|
|
33
|
+
// src/commands/sessions/daemon/worktree/worktreeStartPoint.ts
|
|
34
|
+
async function worktreeStartPoint(clone, trunk) {
|
|
35
|
+
const branch = trunk ? await cloneTrunkBranch(clone) : await remoteDefaultBranch(clone);
|
|
36
|
+
const ref = `origin/${branch}`;
|
|
37
|
+
if (await gitOrNull(clone, ["rev-parse", "--verify", "--quiet", ref]))
|
|
38
|
+
return { ref, track: trunk };
|
|
39
|
+
return { ref: "HEAD", track: false };
|
|
40
|
+
}
|
|
41
|
+
async function cloneTrunkBranch(clone) {
|
|
42
|
+
return await cloneHead(clone) ?? remoteDefaultBranch(clone);
|
|
43
|
+
}
|
|
44
|
+
|
|
30
45
|
// src/commands/sessions/daemon/worktree/canonicalTreePath.ts
|
|
31
46
|
import { realpathSync } from "fs";
|
|
32
47
|
import { resolve } from "path";
|
|
@@ -39,9 +54,10 @@ function canonicalTreePath(path) {
|
|
|
39
54
|
}
|
|
40
55
|
|
|
41
56
|
export {
|
|
42
|
-
canonicalTreePath,
|
|
43
57
|
listWorktreePaths,
|
|
44
58
|
mainWorktree,
|
|
45
59
|
listLocalBranches,
|
|
46
|
-
gitCommonDir
|
|
60
|
+
gitCommonDir,
|
|
61
|
+
worktreeStartPoint,
|
|
62
|
+
canonicalTreePath
|
|
47
63
|
};
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
isDocsPath,
|
|
9
9
|
isSchemaPath,
|
|
10
10
|
mentionsDocsPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AZKNSOKB.js";
|
|
12
12
|
import {
|
|
13
13
|
isSchemaLocked
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BZ4NSHKC.js";
|
|
15
15
|
import {
|
|
16
16
|
findBuiltinDenyRaw,
|
|
17
17
|
findDeny,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isApprovedRead,
|
|
22
22
|
resolvePermission,
|
|
23
23
|
splitCompound
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AVWHLYRU.js";
|
|
25
25
|
import {
|
|
26
26
|
inWebSession
|
|
27
27
|
} from "./chunk-HKGCLAZ7.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
canonicalTreePath,
|
|
6
6
|
mainWorktree
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YR3NOIK4.js";
|
|
8
8
|
import {
|
|
9
9
|
worktreeAttributionIncludingReaped
|
|
10
10
|
} from "./chunk-WYNRHOR7.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
codexRolloutMeta,
|
|
17
17
|
deriveHistoryFields,
|
|
18
18
|
readCodexHeadLines
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BCBJMZGJ.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveHarness
|
|
22
22
|
} from "./chunk-XZSATLYY.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decideToolOperations,
|
|
3
3
|
logPolicyDeny
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZPA2ZLQF.js";
|
|
5
5
|
import "./chunk-CDU6M5IX.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-AZKNSOKB.js";
|
|
7
|
+
import "./chunk-BZ4NSHKC.js";
|
|
8
8
|
import "./chunk-ZN4PSZSA.js";
|
|
9
9
|
import {
|
|
10
10
|
currentExecutionIdentity
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TARU4556.js";
|
|
12
12
|
import "./chunk-ZMH7UZNP.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-AVWHLYRU.js";
|
|
14
14
|
import "./chunk-VDXS55BC.js";
|
|
15
15
|
import "./chunk-HKGCLAZ7.js";
|
|
16
16
|
import "./chunk-FPWL4VRC.js";
|
|
@@ -28,7 +28,7 @@ import "./chunk-2HVXTV2K.js";
|
|
|
28
28
|
import "./chunk-AC5H7ZZJ.js";
|
|
29
29
|
import {
|
|
30
30
|
claudeAdapter
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-BCBJMZGJ.js";
|
|
32
32
|
import "./chunk-MRUIXQXS.js";
|
|
33
33
|
import "./chunk-NMFBCWVV.js";
|
|
34
34
|
import "./chunk-PA3ILSLY.js";
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
findTruncatedReadDenyRaw,
|
|
6
6
|
isApprovedRead,
|
|
7
7
|
splitCompound
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AVWHLYRU.js";
|
|
9
9
|
import "./chunk-VDXS55BC.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-BCBJMZGJ.js";
|
|
11
11
|
import "./chunk-MRUIXQXS.js";
|
|
12
12
|
import "./chunk-NMFBCWVV.js";
|
|
13
13
|
import "./chunk-PA3ILSLY.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decideToolOperations,
|
|
3
3
|
logPolicyDeny
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZPA2ZLQF.js";
|
|
5
5
|
import "./chunk-CDU6M5IX.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-AZKNSOKB.js";
|
|
7
|
+
import "./chunk-BZ4NSHKC.js";
|
|
8
8
|
import "./chunk-ZN4PSZSA.js";
|
|
9
9
|
import {
|
|
10
10
|
currentExecutionIdentity
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TARU4556.js";
|
|
12
12
|
import "./chunk-ZMH7UZNP.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-AVWHLYRU.js";
|
|
14
14
|
import "./chunk-VDXS55BC.js";
|
|
15
15
|
import "./chunk-HKGCLAZ7.js";
|
|
16
16
|
import {
|
|
@@ -20,7 +20,7 @@ import "./chunk-FPWL4VRC.js";
|
|
|
20
20
|
import "./chunk-H63MI5HI.js";
|
|
21
21
|
import {
|
|
22
22
|
adviceHookPayload
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-J5FJLOMS.js";
|
|
24
24
|
import "./chunk-P7FVAGFQ.js";
|
|
25
25
|
import "./chunk-XJTXAL22.js";
|
|
26
26
|
import {
|
|
@@ -40,11 +40,11 @@ import "./chunk-A45XXOEA.js";
|
|
|
40
40
|
import "./chunk-J6ULAU7G.js";
|
|
41
41
|
import "./chunk-2HVXTV2K.js";
|
|
42
42
|
import "./chunk-AC5H7ZZJ.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-K6FSJTVW.js";
|
|
44
44
|
import "./chunk-2F2IKQDM.js";
|
|
45
45
|
import {
|
|
46
46
|
codexAdapter
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-BCBJMZGJ.js";
|
|
48
48
|
import "./chunk-MRUIXQXS.js";
|
|
49
49
|
import "./chunk-NMFBCWVV.js";
|
|
50
50
|
import "./chunk-PA3ILSLY.js";
|