@staff0rd/assist 0.1205.1 → 0.1205.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-files +81 -81
- package/dist/{addActivity-C7CQU77O.js → addActivity-JBMTTLVR.js} +2 -2
- package/dist/{addPhase-XIZBVLKI.js → addPhase-IJTUEHSG.js} +3 -3
- package/dist/{advise-Y3AWGNRW.js → advise-3QQ2PJML.js} +3 -3
- package/dist/{askCheck-MBWUKVDX.js → askCheck-KCPWRFQL.js} +7 -7
- package/dist/{askDesign-2OGGVOTR.js → askDesign-XAU67FYK.js} +1 -1
- package/dist/{branch-5BMQG22A.js → branch-TQIQ4DWM.js} +3 -3
- package/dist/built-version +1 -1
- package/dist/{chunk-W3OYAV5A.js → chunk-4ULABTCG.js} +1 -1
- package/dist/{chunk-OAWQQXXJ.js → chunk-5C2UAG5J.js} +1 -1
- package/dist/{chunk-HXCP3QNZ.js → chunk-5FNPSCNE.js} +4 -3
- package/dist/{chunk-ENMUADPA.js → chunk-5KXYK67B.js} +1 -1
- package/dist/{chunk-B3UDYQVE.js → chunk-5ROERL77.js} +1 -1
- package/dist/{chunk-SAWRIZKP.js → chunk-AUYDP2O5.js} +1 -1
- package/dist/{chunk-JVJVXNZE.js → chunk-BB6BYQAJ.js} +5 -5
- package/dist/{chunk-LCHO6Y6J.js → chunk-C42634QC.js} +1 -1
- package/dist/{chunk-EWMLE2BH.js → chunk-CCFQBCLE.js} +1 -1
- package/dist/{chunk-Q7Z2WK7K.js → chunk-CI6PMW2K.js} +1 -1
- package/dist/{chunk-L5YYTG6U.js → chunk-DKLLBYDI.js} +1 -1
- package/dist/{chunk-LMJ6SN7O.js → chunk-DOC7WLXZ.js} +2 -2
- package/dist/{chunk-RK6SQ3LG.js → chunk-DOMHDQJP.js} +3 -3
- package/dist/{chunk-VGGATBZX.js → chunk-EE7PSI65.js} +2 -2
- package/dist/{chunk-C2EXUOAJ.js → chunk-EOZSVWJ5.js} +2 -2
- package/dist/{chunk-WMASQXAY.js → chunk-GMV2WGDO.js} +1 -1
- package/dist/{chunk-QC7AMI2B.js → chunk-HYY23KKM.js} +3 -3
- package/dist/{chunk-DRWCRBYW.js → chunk-IW72YNJY.js} +2 -2
- package/dist/{chunk-MNN7QCJK.js → chunk-K5Q5SHKB.js} +1 -1
- package/dist/{chunk-TYTFLRU3.js → chunk-KI4CFWBK.js} +1 -1
- package/dist/{chunk-CRVWU2AZ.js → chunk-KW25SDKW.js} +1 -1
- package/dist/{chunk-XPMD3FVL.js → chunk-L3CPQJLB.js} +1 -1
- package/dist/{chunk-VXRF3XZY.js → chunk-LSDPNEXD.js} +1 -1
- package/dist/{chunk-Q46O2NY4.js → chunk-LWBI35ZN.js} +1 -1
- package/dist/{chunk-LSELJBYW.js → chunk-MJJNSW7W.js} +6 -6
- package/dist/{chunk-RUBYT3RB.js → chunk-MTS5DWRV.js} +7 -7
- package/dist/{chunk-4R3UNIRM.js → chunk-N25OUARM.js} +1 -1
- package/dist/{chunk-335SBSOO.js → chunk-NCUKLM37.js} +2 -2
- package/dist/{chunk-Y54ZGQFJ.js → chunk-PENX3NNT.js} +39 -6
- package/dist/{chunk-HSTR2OOZ.js → chunk-RLERRRDD.js} +1 -1
- package/dist/{chunk-ZHCUJKMW.js → chunk-S2TTVGYO.js} +1 -1
- package/dist/{chunk-VANA6DOS.js → chunk-S6W5RNKO.js} +1 -1
- package/dist/{chunk-ISWATEG7.js → chunk-S7JW4HJZ.js} +1 -1
- package/dist/{chunk-Y2XFGQ6N.js → chunk-SJZJRE2A.js} +1 -1
- package/dist/{chunk-DLTBIPYE.js → chunk-TA4XOADC.js} +1 -1
- package/dist/{chunk-6372ROCN.js → chunk-VK6K5OHZ.js} +1 -1
- package/dist/{chunk-XUS642CO.js → chunk-XRKN6SYT.js} +1 -1
- package/dist/{chunk-HFIKQCUQ.js → chunk-Y6LCJ5IE.js} +1 -1
- package/dist/{cliHook-ZJXLCZHK.js → cliHook-2EVKZ3ZF.js} +6 -6
- package/dist/{cliHookCheck-YH3XDEK4.js → cliHookCheck-7RDNU5JI.js} +2 -2
- package/dist/{codexHook-QEHTWREP.js → codexHook-BKO3VKOY.js} +8 -8
- package/dist/commands/sessions/web/bundle.js +1 -1
- package/dist/{commit-EISKJT6B.js → commit-QD6E3OTY.js} +4 -4
- package/dist/{doctorNodes-TGTS7BMN.js → doctorNodes-JC2PND6T.js} +3 -3
- package/dist/{done-IXD5E52K.js → done-KXBKYOWE.js} +4 -4
- package/dist/{editHook-DA75RROQ.js → editHook-2DXZ5EHB.js} +6 -6
- package/dist/{fixConflict-4LWMD7JI.js → fixConflict-KGMJSITO.js} +4 -4
- package/dist/index.js +50 -50
- package/dist/{launchMode-7JYECT64.js → launchMode-27QSHHK6.js} +14 -14
- package/dist/{list-EKL2KRSR.js → list-WBSYD672.js} +5 -5
- package/dist/{migrate-4NLGUKDN.js → migrate-6U25EHIB.js} +3 -3
- package/dist/{next-FD7FY4DO.js → next-GDSE4ZIY.js} +13 -13
- package/dist/{phaseDone-47FHVZMJ.js → phaseDone-W2HKXE2D.js} +5 -5
- package/dist/{piHook-QA64V47N.js → piHook-MAHA4KVO.js} +6 -6
- package/dist/{propose-N2VLT5CX.js → propose-BUUVMSPI.js} +4 -4
- package/dist/{refine-LBB7FSXO.js → refine-YXEXLFRY.js} +15 -15
- package/dist/{restartNode-LQC33YYU.js → restartNode-43Z2XTZJ.js} +5 -5
- package/dist/{review-MGY7E5RJ.js → review-Y5BVWSCC.js} +4 -4
- package/dist/{reviewPrComments-3J4RK73O.js → reviewPrComments-XKKF7546.js} +4 -4
- package/dist/{rewindPhase-5PNIOK6O.js → rewindPhase-MP4VW7R2.js} +8 -8
- package/dist/{run-Y3EFHKBH.js → run-FGPS4VHX.js} +11 -11
- package/dist/{run-R2BVMRHJ.js → run-K6HIOS4R.js} +11 -11
- package/dist/{runDaemon-FDBXVVAC.js → runDaemon-RZCRWMXO.js} +15 -15
- package/dist/{runParallelPhase-GYVHPFDR.js → runParallelPhase-YZAS265S.js} +76 -32
- package/dist/{runRefine-ER3SA3A3.js → runRefine-YXHHCUJH.js} +15 -15
- package/dist/{scan-6ZB5QDCR.js → scan-URR7C6AP.js} +2 -2
- package/dist/{schemaConfirm-FHHRQADX.js → schemaConfirm-66VXNCII.js} +2 -2
- package/dist/{schemaLock-HCK5ZN5K.js → schemaLock-443HDBLY.js} +2 -2
- package/dist/{schemaUnlock-2PFO2FOR.js → schemaUnlock-VHCIAGWZ.js} +2 -2
- package/dist/{search-FD4ASTTK.js → search-G4BEEJKD.js} +5 -5
- package/dist/{show-KAZ5DQQ5.js → show-2WZSRR34.js} +3 -3
- package/dist/{show-UG3HAYTY.js → show-WADTA2JE.js} +3 -3
- package/dist/{signExtension-NEHXMI3S.js → signExtension-WKXLS54R.js} +1 -1
- package/dist/{updateNode-F7RAJWGM.js → updateNode-CQI53XIV.js} +5 -5
- package/dist/{updatePlan-BXHTV2F2.js → updatePlan-PU6HSSHC.js} +4 -4
- package/dist/{web-QGG74UCG.js → web-3ULIWB53.js} +16 -16
- package/dist/{web-YOE7ORW4.js → web-55F2ZQH4.js} +16 -16
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
next
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5FNPSCNE.js";
|
|
4
4
|
import {
|
|
5
5
|
pullIfConfigured
|
|
6
6
|
} from "./chunk-47M6PGQN.js";
|
|
7
7
|
import {
|
|
8
8
|
run
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MJJNSW7W.js";
|
|
10
10
|
import {
|
|
11
11
|
launchBlocker
|
|
12
12
|
} from "./chunk-F2JUYGQ7.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
readSignal,
|
|
16
16
|
stopWatching,
|
|
17
17
|
watchForMarker
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HYY23KKM.js";
|
|
19
19
|
import {
|
|
20
20
|
resumeNudge
|
|
21
21
|
} from "./chunk-7NZOH4LN.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./chunk-3DNFNT2L.js";
|
|
32
32
|
import {
|
|
33
33
|
isBlocked
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-RLERRRDD.js";
|
|
35
35
|
import {
|
|
36
36
|
loadItemSummaries
|
|
37
37
|
} from "./chunk-XQNMAZBW.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
} from "./chunk-N65VOEFI.js";
|
|
50
50
|
import {
|
|
51
51
|
harnessAdapter
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PENX3NNT.js";
|
|
53
53
|
|
|
54
54
|
// src/commands/backlog/launchMode.ts
|
|
55
55
|
import chalk3 from "chalk";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
isDocsPath,
|
|
9
9
|
isSchemaPath,
|
|
10
10
|
mentionsDocsPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CCFQBCLE.js";
|
|
12
12
|
import {
|
|
13
13
|
isSchemaLocked
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-L3CPQJLB.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-CI6PMW2K.js";
|
|
25
25
|
import {
|
|
26
26
|
inWebSession
|
|
27
27
|
} from "./chunk-HKGCLAZ7.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveReviewPhase
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S6W5RNKO.js";
|
|
4
4
|
import {
|
|
5
5
|
resolvePlan
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Y6LCJ5IE.js";
|
|
7
7
|
|
|
8
8
|
// src/commands/backlog/resolveRewindPlan.ts
|
|
9
9
|
function resolveRewindPlan(item) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkoutPr
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K5Q5SHKB.js";
|
|
4
4
|
import {
|
|
5
5
|
launchBlocker
|
|
6
6
|
} from "./chunk-F2JUYGQ7.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-3DNFNT2L.js";
|
|
20
20
|
import {
|
|
21
21
|
harnessAdapter
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PENX3NNT.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/launchPrSkill.ts
|
|
25
25
|
import chalk from "chalk";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backlogPhaseActivity,
|
|
3
3
|
recordPhaseSession
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DKLLBYDI.js";
|
|
5
5
|
import {
|
|
6
6
|
resumeNudge
|
|
7
7
|
} from "./chunk-7NZOH4LN.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-5ZQMQXEX.js";
|
|
27
27
|
import {
|
|
28
28
|
buildPhasePrompt
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KI4CFWBK.js";
|
|
30
30
|
import {
|
|
31
31
|
getReady
|
|
32
32
|
} from "./chunk-VOQKEIEV.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
} from "./chunk-P6KSXCDA.js";
|
|
39
39
|
import {
|
|
40
40
|
harnessAdapter
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-PENX3NNT.js";
|
|
42
42
|
import {
|
|
43
43
|
getSignalPath
|
|
44
44
|
} from "./chunk-P23ZWXGY.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-5ZQMQXEX.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveRewindPlan
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EE7PSI65.js";
|
|
10
10
|
import {
|
|
11
11
|
resolvePlan
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Y6LCJ5IE.js";
|
|
13
13
|
import {
|
|
14
14
|
resetPhaseAndDependents,
|
|
15
15
|
updateStatus
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
createBranch,
|
|
20
20
|
generateBranchSlug
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XRKN6SYT.js";
|
|
22
22
|
import {
|
|
23
23
|
inWebSession
|
|
24
24
|
} from "./chunk-HKGCLAZ7.js";
|
|
25
25
|
import {
|
|
26
26
|
executePhase
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HYY23KKM.js";
|
|
28
28
|
import {
|
|
29
29
|
backlogPhaseActivity
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DKLLBYDI.js";
|
|
31
31
|
import {
|
|
32
32
|
awaitHarness
|
|
33
33
|
} from "./chunk-ZYK7V4PG.js";
|
|
@@ -59,10 +59,10 @@ import {
|
|
|
59
59
|
import {
|
|
60
60
|
buildReviewPhase,
|
|
61
61
|
resolveReviewPhase
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-S6W5RNKO.js";
|
|
63
63
|
import {
|
|
64
64
|
resolvePlan
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-Y6LCJ5IE.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-PENX3NNT.js";
|
|
90
90
|
import {
|
|
91
91
|
buildFeature
|
|
92
92
|
} from "./chunk-LKZ7J5AK.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-JM57BCD6.js";
|
|
11
11
|
import {
|
|
12
12
|
firstBrokenHop
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5C2UAG5J.js";
|
|
14
14
|
import {
|
|
15
15
|
describePeerError,
|
|
16
16
|
fetchPeerJson
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
resolveLinkTarget,
|
|
40
40
|
usageWindowKey,
|
|
41
41
|
watcherLogPath
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-GMV2WGDO.js";
|
|
43
43
|
import {
|
|
44
44
|
TRACE_HEADER,
|
|
45
45
|
newTraceId
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
ASSIST_VERSION,
|
|
49
49
|
PROTOCOL_VERSION
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-VK6K5OHZ.js";
|
|
51
51
|
import {
|
|
52
52
|
findLinkSpec
|
|
53
53
|
} from "./chunk-K2SS6JVP.js";
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
} from "./chunk-UJBW7FVI.js";
|
|
85
85
|
import {
|
|
86
86
|
targetConversationEvents
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-NCUKLM37.js";
|
|
88
88
|
import {
|
|
89
89
|
configEntryLayers,
|
|
90
90
|
ghFailure,
|
|
@@ -245,7 +245,7 @@ import {
|
|
|
245
245
|
} from "./chunk-VXKPQCJZ.js";
|
|
246
246
|
import {
|
|
247
247
|
rewindItemToPhase
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-IW72YNJY.js";
|
|
249
249
|
import {
|
|
250
250
|
loadItemSummaries,
|
|
251
251
|
phaseUsageTotals,
|
|
@@ -268,7 +268,7 @@ import {
|
|
|
268
268
|
} from "./chunk-CD2DY5Q2.js";
|
|
269
269
|
import {
|
|
270
270
|
resolveRewindPlan
|
|
271
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-EE7PSI65.js";
|
|
272
272
|
import {
|
|
273
273
|
deleteItem,
|
|
274
274
|
getOrigin,
|
|
@@ -317,7 +317,7 @@ import {
|
|
|
317
317
|
discoverSessionJsonlPaths,
|
|
318
318
|
harnessAdapter,
|
|
319
319
|
parseSessionFile
|
|
320
|
-
} from "./chunk-
|
|
320
|
+
} from "./chunk-PENX3NNT.js";
|
|
321
321
|
import {
|
|
322
322
|
harnessLabel
|
|
323
323
|
} from "./chunk-D7PUN52R.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lookupConversation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C42634QC.js";
|
|
4
4
|
import {
|
|
5
5
|
harnessAdapter,
|
|
6
6
|
readTranscriptTail
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PENX3NNT.js";
|
|
8
8
|
|
|
9
9
|
// src/commands/sessions/shared/targetConversationEvents.ts
|
|
10
10
|
async function targetConversationEvents(cwd, target) {
|
|
@@ -3579,14 +3579,30 @@ function createSdkExit(emit, child) {
|
|
|
3579
3579
|
};
|
|
3580
3580
|
}
|
|
3581
3581
|
|
|
3582
|
+
// src/commands/sessions/daemon/sdk/sdkEventListeners.ts
|
|
3583
|
+
function sdkEventListeners() {
|
|
3584
|
+
const listeners = [];
|
|
3585
|
+
let resumed = false;
|
|
3586
|
+
return {
|
|
3587
|
+
onEvent: (listener) => {
|
|
3588
|
+
listeners.push(listener);
|
|
3589
|
+
if (resumed) listener({ kind: "resumed" });
|
|
3590
|
+
},
|
|
3591
|
+
emit: (event) => {
|
|
3592
|
+
if (event.kind === "resumed") resumed = true;
|
|
3593
|
+
for (const listener of listeners) listener(event);
|
|
3594
|
+
}
|
|
3595
|
+
};
|
|
3596
|
+
}
|
|
3597
|
+
|
|
3582
3598
|
// src/commands/sessions/daemon/sdk/sdkSessionHandle.ts
|
|
3583
3599
|
function sdkSessionHandle(label, backgroundTasks) {
|
|
3584
|
-
const
|
|
3600
|
+
const events = sdkEventListeners();
|
|
3585
3601
|
let turn;
|
|
3586
3602
|
let prefixer;
|
|
3587
3603
|
const unbound = (action) => daemonLog(`${label} sdk ${action} dropped: query not started`);
|
|
3588
3604
|
const handle = {
|
|
3589
|
-
onEvent:
|
|
3605
|
+
onEvent: events.onEvent,
|
|
3590
3606
|
send: (text) => turn ? turn.send(text) : unbound("message"),
|
|
3591
3607
|
interrupt: () => turn ? turn.interrupt() : unbound("interrupt"),
|
|
3592
3608
|
dequeue: (index, text) => {
|
|
@@ -3603,9 +3619,7 @@ function sdkSessionHandle(label, backgroundTasks) {
|
|
|
3603
3619
|
};
|
|
3604
3620
|
return {
|
|
3605
3621
|
handle,
|
|
3606
|
-
emit:
|
|
3607
|
-
for (const listener of listeners) listener(event);
|
|
3608
|
-
},
|
|
3622
|
+
emit: events.emit,
|
|
3609
3623
|
/* why: held shell results join a message only as it reaches Claude, so a
|
|
3610
3624
|
* message queued mid-turn still picks up output that finished after it. */
|
|
3611
3625
|
prefix: (text) => {
|
|
@@ -4592,6 +4606,24 @@ var claudeSdkAdapter = {
|
|
|
4592
4606
|
// src/commands/sessions/daemon/sdk/codex/codexSdkDriver.ts
|
|
4593
4607
|
import { Codex } from "@openai/codex-sdk";
|
|
4594
4608
|
|
|
4609
|
+
// src/commands/sessions/daemon/sdk/codex/awaitCodexResume.ts
|
|
4610
|
+
function awaitCodexResume(label, threadId, control) {
|
|
4611
|
+
findCodexRolloutPath(threadId).then(
|
|
4612
|
+
(rollout) => {
|
|
4613
|
+
daemonLog(
|
|
4614
|
+
rollout ? `${label} codex sdk resume complete: ${rollout}` : `${label} codex sdk resume found no rollout for thread ${threadId}`
|
|
4615
|
+
);
|
|
4616
|
+
control.emit({ kind: "resumed" });
|
|
4617
|
+
},
|
|
4618
|
+
(error) => {
|
|
4619
|
+
daemonLog(
|
|
4620
|
+
`${label} codex sdk resume lookup failed: ${error instanceof Error ? error.message : String(error)}`
|
|
4621
|
+
);
|
|
4622
|
+
control.emit({ kind: "resumed" });
|
|
4623
|
+
}
|
|
4624
|
+
);
|
|
4625
|
+
}
|
|
4626
|
+
|
|
4595
4627
|
// src/commands/sessions/daemon/sdk/codex/codexSdkConfig.ts
|
|
4596
4628
|
function codexSdkConfig(args) {
|
|
4597
4629
|
const config = {
|
|
@@ -4735,7 +4767,7 @@ function codexTurnEvents(input, runTurn, label) {
|
|
|
4735
4767
|
// src/commands/sessions/daemon/sdk/codex/codexSdkDriver.ts
|
|
4736
4768
|
var codexSdkDriver = {
|
|
4737
4769
|
harness: "codex-sdk",
|
|
4738
|
-
start: ({ opts: opts2, label, abort, input }) => {
|
|
4770
|
+
start: ({ opts: opts2, label, abort, control, input }) => {
|
|
4739
4771
|
prepareCodexLaunch(opts2.cwd);
|
|
4740
4772
|
const options = codexSdkOptions(opts2);
|
|
4741
4773
|
daemonLog(
|
|
@@ -4743,6 +4775,7 @@ var codexSdkDriver = {
|
|
|
4743
4775
|
);
|
|
4744
4776
|
const codex = new Codex(options.codex);
|
|
4745
4777
|
const thread = opts2.resumeId ? codex.resumeThread(opts2.resumeId, options.thread) : codex.startThread(options.thread);
|
|
4778
|
+
if (opts2.resumeId) awaitCodexResume(label, opts2.resumeId, control);
|
|
4746
4779
|
const turns = codexTurnEvents(
|
|
4747
4780
|
input,
|
|
4748
4781
|
async (text, signal) => (await thread.runStreamed(text, {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decideToolOperations,
|
|
3
3
|
logPolicyDeny
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DOMHDQJP.js";
|
|
5
5
|
import "./chunk-CDU6M5IX.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-CCFQBCLE.js";
|
|
7
|
+
import "./chunk-L3CPQJLB.js";
|
|
8
8
|
import "./chunk-QM5642B7.js";
|
|
9
9
|
import {
|
|
10
10
|
currentExecutionIdentity
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S7JW4HJZ.js";
|
|
12
12
|
import "./chunk-ZMH7UZNP.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-CI6PMW2K.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-KG5JSDGB.js";
|
|
|
28
28
|
import "./chunk-GLWZIHQB.js";
|
|
29
29
|
import {
|
|
30
30
|
claudeAdapter
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PENX3NNT.js";
|
|
32
32
|
import "./chunk-MRUIXQXS.js";
|
|
33
33
|
import "./chunk-NMFBCWVV.js";
|
|
34
34
|
import "./chunk-ASVTB7SX.js";
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
findTruncatedReadDenyRaw,
|
|
6
6
|
isApprovedRead,
|
|
7
7
|
splitCompound
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CI6PMW2K.js";
|
|
9
9
|
import "./chunk-VDXS55BC.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-PENX3NNT.js";
|
|
11
11
|
import "./chunk-MRUIXQXS.js";
|
|
12
12
|
import "./chunk-NMFBCWVV.js";
|
|
13
13
|
import "./chunk-ASVTB7SX.js";
|