@staff0rd/assist 0.1214.0 → 0.1214.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/.build-files +81 -81
- package/dist/{addActivity-WLEREK6S.js → addActivity-DY7S7I5F.js} +2 -2
- package/dist/{addPhase-QZJV42LT.js → addPhase-2XXJJRXL.js} +3 -3
- package/dist/{advise-5THTRMZU.js → advise-FS4GVSXP.js} +3 -3
- package/dist/{askCheck-5T4VYDAE.js → askCheck-IKW6PU3B.js} +7 -7
- package/dist/{askDesign-3CYL6V6S.js → askDesign-TS5AT5FP.js} +1 -1
- package/dist/{branch-E6NNTI5B.js → branch-UZXEDKQU.js} +3 -3
- package/dist/built-version +1 -1
- package/dist/{chunk-JKAJD2M6.js → chunk-2OKJ7YCH.js} +5 -5
- package/dist/{chunk-XBEUDQK7.js → chunk-2YZ3UJTQ.js} +2 -2
- package/dist/{chunk-EA3XAFFA.js → chunk-33H52QZU.js} +2 -2
- package/dist/{chunk-I34RLNRZ.js → chunk-5474S4TN.js} +3 -3
- package/dist/{chunk-7XRKREJ5.js → chunk-5P7K4AQE.js} +1 -1
- package/dist/{chunk-NGRN34EK.js → chunk-5Y7KNNE5.js} +1 -1
- package/dist/{chunk-XA4T6AIZ.js → chunk-64HHCDHS.js} +2 -2
- package/dist/{chunk-C2TWNP4O.js → chunk-A7WO6EF6.js} +1 -1
- package/dist/{chunk-GPLGZH22.js → chunk-BPGCGA6K.js} +1 -1
- package/dist/{chunk-DU4L4EOJ.js → chunk-C6Z2IWVI.js} +19 -4
- package/dist/{chunk-J43DTOUI.js → chunk-CTY4AJIV.js} +1 -1
- package/dist/{chunk-AZPGWWRD.js → chunk-FSXMAIYV.js} +1 -1
- package/dist/{chunk-JFAGJ4OH.js → chunk-GBGG7HOT.js} +1 -1
- package/dist/{chunk-OI2TSNWI.js → chunk-HE7RXRWG.js} +1 -1
- package/dist/{chunk-CGRXKBLB.js → chunk-HIJ7BDJP.js} +6 -6
- package/dist/{chunk-WC6J2PBT.js → chunk-I3FJHKL7.js} +1 -1
- package/dist/{chunk-5YZRUE2O.js → chunk-JDWLCYR7.js} +1 -1
- package/dist/{chunk-N3FVHMLA.js → chunk-LOX4TNWP.js} +1 -1
- package/dist/{chunk-QJ3Q7SV7.js → chunk-LPY2WQTW.js} +1 -1
- package/dist/{chunk-S5G4EVHG.js → chunk-LVPIUSB6.js} +2 -2
- package/dist/{chunk-QPPBG6M7.js → chunk-M2UR3JHD.js} +2 -0
- package/dist/{chunk-RU3C3FRL.js → chunk-MVEIW5QZ.js} +2 -2
- package/dist/{chunk-YT265ZZN.js → chunk-N5M746ZC.js} +3 -3
- package/dist/{chunk-Q5L3GBM3.js → chunk-OL4GLE6S.js} +2 -2
- package/dist/{chunk-KNCMXHIU.js → chunk-PIU2MX64.js} +1 -1
- package/dist/{chunk-ZFFJBAKX.js → chunk-Q7IZYBKP.js} +1 -1
- package/dist/{chunk-IHHE5QX2.js → chunk-QGHBSRLY.js} +1 -1
- package/dist/{chunk-BLDYUHH5.js → chunk-QWCE5HUM.js} +1 -1
- package/dist/{chunk-ZYQSZ6FB.js → chunk-ROP5NQU7.js} +1 -1
- package/dist/{chunk-74YIV5PU.js → chunk-TP4K7PB2.js} +7 -7
- package/dist/{chunk-JRTINAVH.js → chunk-TS4DZXFR.js} +1 -1
- package/dist/{chunk-MMQBAXCE.js → chunk-VGS5ZEQT.js} +1 -1
- package/dist/{chunk-HYMSYVT4.js → chunk-VRPFTMP6.js} +1 -1
- package/dist/{chunk-F3QYRXOU.js → chunk-VW44HB3H.js} +1 -1
- package/dist/{chunk-O6Q4JWN7.js → chunk-X5O7FDBB.js} +88 -34
- package/dist/{chunk-B64KPPKV.js → chunk-XKG5JNUN.js} +1 -1
- package/dist/{chunk-CT364X7G.js → chunk-YBW444MI.js} +1 -1
- package/dist/{chunk-EAMHKVRO.js → chunk-YT6CBKZ7.js} +1 -1
- package/dist/{cliHook-4D4LISRU.js → cliHook-ZH26VV66.js} +6 -6
- package/dist/{cliHookCheck-N7Y7LGBT.js → cliHookCheck-7SP43BCE.js} +2 -2
- package/dist/{codexHook-Y4COLYV6.js → codexHook-YNXCZZPE.js} +8 -8
- package/dist/commands/sessions/web/bundle.js +1 -1
- package/dist/{commit-O2KBD22J.js → commit-LHJTMN3C.js} +4 -4
- package/dist/{doctorNodes-PN3H5W5O.js → doctorNodes-P656ZODQ.js} +3 -3
- package/dist/{done-SPU5EUVS.js → done-MRMZFNXS.js} +4 -4
- package/dist/{editHook-M2B5PM72.js → editHook-3ZOOUXVV.js} +6 -6
- package/dist/{fixConflict-2GLJCN7U.js → fixConflict-2ACSK5C3.js} +4 -4
- package/dist/index.js +50 -50
- package/dist/{launchMode-BRJSCO2I.js → launchMode-34HUNGBB.js} +14 -14
- package/dist/{list-QPIQ7SBP.js → list-L5L7IDYR.js} +5 -5
- package/dist/{migrate-IYLDSCPZ.js → migrate-LAS3GAZH.js} +3 -3
- package/dist/{next-BDHKGIWA.js → next-FHJH4RNK.js} +13 -13
- package/dist/{phaseDone-IXGC6PEA.js → phaseDone-CLPYIRVD.js} +5 -5
- package/dist/{piHook-TP5BAMBD.js → piHook-KSGLBWGJ.js} +6 -6
- package/dist/{propose-YI6GRXLS.js → propose-XYTPZBC5.js} +4 -4
- package/dist/{refine-C5BXW2J3.js → refine-2FMOFB7C.js} +15 -15
- package/dist/{restartNode-ULUCEZCU.js → restartNode-2WN74YK4.js} +5 -5
- package/dist/{review-3DKFGPGK.js → review-2D36TUAO.js} +4 -4
- package/dist/{reviewPrComments-LCEVPQBL.js → reviewPrComments-JILBLWMX.js} +4 -4
- package/dist/{rewindPhase-2KIEXBDU.js → rewindPhase-QHHZFRUA.js} +8 -8
- package/dist/{run-VZWSXEAB.js → run-CBSRAMXF.js} +11 -11
- package/dist/{run-MWLHRVOF.js → run-PNWUU4NU.js} +11 -11
- package/dist/{runDaemon-3V34QP5Q.js → runDaemon-NR2PQHIW.js} +33 -20
- package/dist/{runParallelPhase-RSOTL3M3.js → runParallelPhase-XX5MRTOA.js} +7 -7
- package/dist/{runRefine-2XXWUSY7.js → runRefine-2RFOSI5R.js} +15 -15
- package/dist/{scan-5FILQLN6.js → scan-ZPPKNT7W.js} +2 -2
- package/dist/{schemaConfirm-YK5HAMPP.js → schemaConfirm-4JT4FBEJ.js} +2 -2
- package/dist/{schemaLock-TP2G7QZC.js → schemaLock-7MRLU5CS.js} +2 -2
- package/dist/{schemaUnlock-4UR4JREF.js → schemaUnlock-4CVDKWDY.js} +2 -2
- package/dist/{search-XBMTV42H.js → search-HEEUAALR.js} +5 -5
- package/dist/{show-ANI44V7N.js → show-HWHCYCPM.js} +3 -3
- package/dist/{show-QWC64PQO.js → show-U3FTUMWL.js} +3 -3
- package/dist/{signExtension-PCLDZ7Z6.js → signExtension-BONJRXE2.js} +1 -1
- package/dist/{updateNode-WPWB4XLO.js → updateNode-MEBAXSIE.js} +5 -5
- package/dist/{updatePlan-CZII6UIC.js → updatePlan-U6FVT54O.js} +4 -4
- package/dist/{web-BP3AUMBE.js → web-G5QTYYKL.js} +16 -16
- package/dist/{web-4LMQD5LI.js → web-P4RNCC5F.js} +16 -16
- package/package.json +1 -1
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-LQMXLKPW.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveRewindPlan
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MVEIW5QZ.js";
|
|
10
10
|
import {
|
|
11
11
|
resolvePlan
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GBGG7HOT.js";
|
|
13
13
|
import {
|
|
14
14
|
resetPhaseAndDependents,
|
|
15
15
|
updateStatus
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-HB2TXZX4.js";
|
|
4
4
|
import {
|
|
5
5
|
run
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HIJ7BDJP.js";
|
|
7
7
|
import {
|
|
8
8
|
isLockedByOther
|
|
9
9
|
} from "./chunk-BXGPF3TG.js";
|
|
10
10
|
import {
|
|
11
11
|
isBlocked,
|
|
12
12
|
typeLabel
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ROP5NQU7.js";
|
|
14
14
|
import {
|
|
15
15
|
loadBacklog
|
|
16
16
|
} from "./chunk-GINJQIVR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backlogPhaseActivity,
|
|
3
3
|
recordPhaseSession
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XKG5JNUN.js";
|
|
5
5
|
import {
|
|
6
6
|
resumeNudge
|
|
7
7
|
} from "./chunk-7NZOH4LN.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-LQMXLKPW.js";
|
|
27
27
|
import {
|
|
28
28
|
buildPhasePrompt
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YT6CBKZ7.js";
|
|
30
30
|
import {
|
|
31
31
|
getReady
|
|
32
32
|
} from "./chunk-GINJQIVR.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
} from "./chunk-2R4VODAU.js";
|
|
39
39
|
import {
|
|
40
40
|
harnessAdapter
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-M2UR3JHD.js";
|
|
42
42
|
import {
|
|
43
43
|
getSignalPath
|
|
44
44
|
} from "./chunk-P23ZWXGY.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkoutPr
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X5O7FDBB.js";
|
|
4
4
|
import {
|
|
5
5
|
launchBlocker
|
|
6
6
|
} from "./chunk-U3IQIWLI.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-3DNFNT2L.js";
|
|
20
20
|
import {
|
|
21
21
|
harnessAdapter
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-M2UR3JHD.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/launchPrSkill.ts
|
|
25
25
|
import chalk from "chalk";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-LKDW2GWH.js";
|
|
24
24
|
import {
|
|
25
25
|
loginShellCommand
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-M2UR3JHD.js";
|
|
27
27
|
import {
|
|
28
28
|
daemonLog
|
|
29
29
|
} from "./chunk-MRUIXQXS.js";
|
|
@@ -105,14 +105,14 @@ function nextWorktreePath(clone, base, isTaken) {
|
|
|
105
105
|
import { basename as basename2 } from "path";
|
|
106
106
|
var FETCH_TIMEOUT_MS = 6e4;
|
|
107
107
|
async function addWorktree(clone, path, trunk, startPoint) {
|
|
108
|
-
const
|
|
108
|
+
const fetched2 = await gitResult(
|
|
109
109
|
clone,
|
|
110
110
|
["fetch", "--quiet"],
|
|
111
111
|
FETCH_TIMEOUT_MS
|
|
112
112
|
);
|
|
113
|
-
if (!
|
|
113
|
+
if (!fetched2.ok)
|
|
114
114
|
daemonLog(
|
|
115
|
-
`fetch before allocating a worktree for clone ${clone} failed, branching off local refs: ${
|
|
115
|
+
`fetch before allocating a worktree for clone ${clone} failed, branching off local refs: ${fetched2.error}`
|
|
116
116
|
);
|
|
117
117
|
const start = startPoint ? { ref: startPoint, track: false } : await worktreeStartPoint(clone, trunk);
|
|
118
118
|
await git(clone, [
|
|
@@ -586,6 +586,20 @@ function message(error) {
|
|
|
586
586
|
return error instanceof Error ? error.message : String(error);
|
|
587
587
|
}
|
|
588
588
|
|
|
589
|
+
// src/commands/sessions/daemon/worktree/tipSetFromRemote.ts
|
|
590
|
+
var fetched = /^(fetch|clone)\b|^pull\b.*: Fast-forward$/;
|
|
591
|
+
var fromRef = /^branch: (?:Created from|Reset to) (\S+)$|^merge (\S+): Fast-forward$/;
|
|
592
|
+
function isRemoteRef(ref, remotes) {
|
|
593
|
+
const name = ref.replace(/^refs\/remotes\//, "");
|
|
594
|
+
return remotes.some((remote) => name.startsWith(`${remote}/`));
|
|
595
|
+
}
|
|
596
|
+
function tipSetFromRemote(subject, remotes) {
|
|
597
|
+
if (fetched.test(subject)) return true;
|
|
598
|
+
const match = fromRef.exec(subject);
|
|
599
|
+
const ref = match?.[1] ?? match?.[2];
|
|
600
|
+
return !!ref && isRemoteRef(ref, remotes);
|
|
601
|
+
}
|
|
602
|
+
|
|
589
603
|
// src/commands/sessions/daemon/worktree/worktreeWithBranch.ts
|
|
590
604
|
function worktreeWithBranch(listing, branch) {
|
|
591
605
|
let path = null;
|
|
@@ -599,6 +613,7 @@ function worktreeWithBranch(listing, branch) {
|
|
|
599
613
|
}
|
|
600
614
|
|
|
601
615
|
export {
|
|
616
|
+
tipSetFromRemote,
|
|
602
617
|
allocateTree,
|
|
603
618
|
installFailureMessage,
|
|
604
619
|
killTree,
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
createBranch,
|
|
17
17
|
generateBranchSlug
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-I3FJHKL7.js";
|
|
19
19
|
import {
|
|
20
20
|
inWebSession
|
|
21
21
|
} from "./chunk-HKGCLAZ7.js";
|
|
22
22
|
import {
|
|
23
23
|
executePhase
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5474S4TN.js";
|
|
25
25
|
import {
|
|
26
26
|
backlogPhaseActivity
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XKG5JNUN.js";
|
|
28
28
|
import {
|
|
29
29
|
awaitHarness
|
|
30
30
|
} from "./chunk-ZYK7V4PG.js";
|
|
@@ -59,10 +59,10 @@ import {
|
|
|
59
59
|
import {
|
|
60
60
|
buildReviewPhase,
|
|
61
61
|
resolveReviewPhase
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-BPGCGA6K.js";
|
|
63
63
|
import {
|
|
64
64
|
resolvePlan
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-GBGG7HOT.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-M2UR3JHD.js";
|
|
90
90
|
import {
|
|
91
91
|
buildFeature
|
|
92
92
|
} from "./chunk-LKZ7J5AK.js";
|
|
@@ -4953,6 +4953,8 @@ async function* claudeTurnEvents(messages, label) {
|
|
|
4953
4953
|
for await (const message2 of messages) {
|
|
4954
4954
|
logSdkMessage(label, message2);
|
|
4955
4955
|
observeUsage(message2);
|
|
4956
|
+
if (message2.type === "system" && message2.subtype === "init")
|
|
4957
|
+
yield { kind: "conversation", id: message2.session_id };
|
|
4956
4958
|
const status = sdkTurnStatus(message2);
|
|
4957
4959
|
if (status) yield { kind: "status", status };
|
|
4958
4960
|
const background = backgroundTasks(message2);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveReviewPhase
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BPGCGA6K.js";
|
|
4
4
|
import {
|
|
5
5
|
resolvePlan
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GBGG7HOT.js";
|
|
7
7
|
|
|
8
8
|
// src/commands/backlog/resolveRewindPlan.ts
|
|
9
9
|
function resolveRewindPlan(item) {
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
isDocsPath,
|
|
9
9
|
isSchemaPath,
|
|
10
10
|
mentionsDocsPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JDWLCYR7.js";
|
|
12
12
|
import {
|
|
13
13
|
isSchemaLocked
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Q7IZYBKP.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-HE7RXRWG.js";
|
|
25
25
|
import {
|
|
26
26
|
inWebSession
|
|
27
27
|
} from "./chunk-HKGCLAZ7.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lookupConversation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A7WO6EF6.js";
|
|
4
4
|
import {
|
|
5
5
|
harnessAdapter,
|
|
6
6
|
readTranscriptTail
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M2UR3JHD.js";
|
|
8
8
|
|
|
9
9
|
// src/commands/sessions/shared/targetConversationEvents.ts
|
|
10
10
|
async function targetConversationEvents(cwd, target) {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-JM57BCD6.js";
|
|
11
11
|
import {
|
|
12
12
|
firstBrokenHop
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5Y7KNNE5.js";
|
|
14
14
|
import {
|
|
15
15
|
describePeerError,
|
|
16
16
|
fetchPeerJson
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
resolveLinkTarget,
|
|
41
41
|
usageWindowKey,
|
|
42
42
|
watcherLogPath
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-QWCE5HUM.js";
|
|
44
44
|
import {
|
|
45
45
|
TRACE_HEADER,
|
|
46
46
|
newTraceId
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
import {
|
|
49
49
|
ASSIST_VERSION,
|
|
50
50
|
PROTOCOL_VERSION
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-PIU2MX64.js";
|
|
52
52
|
import {
|
|
53
53
|
findLinkSpec
|
|
54
54
|
} from "./chunk-JWMBBFAS.js";
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
} from "./chunk-UJBW7FVI.js";
|
|
86
86
|
import {
|
|
87
87
|
targetConversationEvents
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-OL4GLE6S.js";
|
|
89
89
|
import {
|
|
90
90
|
configEntryLayers,
|
|
91
91
|
ghFailure,
|
|
@@ -252,7 +252,7 @@ import {
|
|
|
252
252
|
} from "./chunk-ILJBR4Z5.js";
|
|
253
253
|
import {
|
|
254
254
|
rewindItemToPhase
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-2YZ3UJTQ.js";
|
|
256
256
|
import {
|
|
257
257
|
loadItemSummaries,
|
|
258
258
|
phaseUsageTotals,
|
|
@@ -281,7 +281,7 @@ import {
|
|
|
281
281
|
} from "./chunk-AA4LR7TZ.js";
|
|
282
282
|
import {
|
|
283
283
|
resolveRewindPlan
|
|
284
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-MVEIW5QZ.js";
|
|
285
285
|
import {
|
|
286
286
|
deleteItem,
|
|
287
287
|
getOrigin,
|
|
@@ -330,7 +330,7 @@ import {
|
|
|
330
330
|
discoverSessionJsonlPaths,
|
|
331
331
|
harnessAdapter,
|
|
332
332
|
parseSessionFile
|
|
333
|
-
} from "./chunk-
|
|
333
|
+
} from "./chunk-M2UR3JHD.js";
|
|
334
334
|
import {
|
|
335
335
|
harnessLabel
|
|
336
336
|
} from "./chunk-XZSATLYY.js";
|