@joshuafolkken/kit 1.1383.0 → 1.1387.0
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/hooks/batch-guard.js +6 -6
- package/dist/hooks/{chunk-4MGHBTOM.js → chunk-2YSW3CXH.js} +8 -2
- package/dist/hooks/{chunk-KCF2YE7O.js → chunk-DCY2GWHC.js} +5 -5
- package/dist/hooks/{chunk-KC6LUZZ2.js → chunk-EAQEGME7.js} +1 -1
- package/dist/hooks/{chunk-LC56R53A.js → chunk-EBSHN25W.js} +3 -3
- package/dist/hooks/{chunk-6MAW7BCM.js → chunk-GJ7JPIHN.js} +14 -14
- package/dist/hooks/{chunk-6AC4C2IO.js → chunk-GNDJ7NJ7.js} +59 -462
- package/dist/hooks/{chunk-LOJTBU5V.js → chunk-IYVOLN6A.js} +3 -3
- package/dist/hooks/{chunk-Y5R47QHU.js → chunk-J3KSS7II.js} +1 -1
- package/dist/hooks/{chunk-RYP3TSUJ.js → chunk-LMWBRJIP.js} +3 -3
- package/dist/hooks/{chunk-TT742SIO.js → chunk-SL4GQ2XP.js} +2 -2
- package/dist/hooks/{chunk-YKUITFT7.js → chunk-STDSEPWU.js} +2 -2
- package/dist/hooks/{chunk-2X2ART5G.js → chunk-U32VSRNG.js} +420 -4
- package/dist/hooks/{chunk-7VSZ2N4B.js → chunk-WNFJLBXI.js} +3 -3
- package/dist/hooks/codex-hook-adapter.js +13 -13
- package/dist/hooks/duplicate-read-guard.js +7 -7
- package/dist/hooks/format-edited.js +3 -3
- package/dist/hooks/inputs.json +208 -206
- package/dist/hooks/investigation-guard.js +7 -7
- package/dist/hooks/pretool-guard.js +12 -12
- package/dist/hooks/session-lang.js +65 -9
- package/dist/hooks/stop-guard.js +91 -23
- package/dist/josh.js +1 -1
- package/package.json +1 -1
- package/scripts/backlog/backlog-drive-cli.ts +2 -4
- package/scripts/backlog/backlog-drive-launch.ts +2 -0
- package/scripts/backlog/backlog-drive-owner.ts +72 -5
- package/scripts/backlog/backlogrun-launch.ts +56 -5
- package/scripts/document/document-byte-budget.ts +1 -1
- package/scripts/init/start-plan.ts +15 -4
- package/scripts/init/start-steps.ts +31 -3
- package/scripts/init/start.ts +20 -13
- package/scripts/josh/josh-commands-project.ts +1 -1
- package/scripts/run/board/run-board-header.ts +39 -13
- package/scripts/run/board/run-board-read.ts +9 -2
- package/scripts/run/board/run-board-setup.ts +73 -0
- package/scripts/run/board/run-board-span.ts +49 -7
- package/scripts/run/board/run-board-status.ts +10 -6
- package/scripts/run/board/run-board-tick.ts +10 -2
- package/scripts/run/carry/run-carry-added.ts +1 -1
- package/scripts/run/carry/run-carry-change.ts +1 -1
- package/scripts/run/carry/run-carry-cli.ts +37 -7
- package/scripts/run/carry/run-carry-ended.ts +9 -1
- package/scripts/run/carry/run-carry.ts +16 -0
- package/scripts/run/event/run-event-render.ts +1 -0
- package/scripts/run/event/run-event-setup.ts +47 -0
- package/scripts/run/event/run-event-stream.ts +26 -5
- package/scripts/run/run-stranded-detect.ts +58 -12
- package/scripts/run/wake/run-wake-cli.ts +51 -6
- package/scripts/run/wake/run-wake-describe.ts +2 -0
- package/scripts/run/wake/run-wake-driver.ts +10 -1
- package/scripts/run/wake/run-wake-handoff.ts +1 -1
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
load_environment_file,
|
|
10
10
|
notice_refusal_path,
|
|
11
11
|
refusal_path
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-LMWBRJIP.js";
|
|
13
|
+
import "./chunk-EAQEGME7.js";
|
|
14
|
+
import "./chunk-EBSHN25W.js";
|
|
15
|
+
import "./chunk-SL4GQ2XP.js";
|
|
16
|
+
import "./chunk-J3KSS7II.js";
|
|
17
|
+
import "./chunk-2YSW3CXH.js";
|
|
18
18
|
import "./chunk-NEC4AT4Z.js";
|
|
19
19
|
export {
|
|
20
20
|
DISABLED_VALUES,
|
|
@@ -1341,7 +1341,7 @@ function next_added(carry, additions) {
|
|
|
1341
1341
|
}
|
|
1342
1342
|
function add_issues(target, carry, additions) {
|
|
1343
1343
|
const next = { ...carry, added: next_added(carry, additions) };
|
|
1344
|
-
stamp_file.
|
|
1344
|
+
stamp_file.replace_stamp(target, next);
|
|
1345
1345
|
return next;
|
|
1346
1346
|
}
|
|
1347
1347
|
var run_carry_added = { add_issues, ordered };
|
|
@@ -1434,7 +1434,7 @@ function apply_change(target, carry, change, now = /* @__PURE__ */ new Date()) {
|
|
|
1434
1434
|
done: next_done(carry, effective.done),
|
|
1435
1435
|
retrospective: effective.retrospective === true || carry.retrospective
|
|
1436
1436
|
};
|
|
1437
|
-
stamp_file.
|
|
1437
|
+
stamp_file.replace_stamp(target, next);
|
|
1438
1438
|
return next;
|
|
1439
1439
|
}
|
|
1440
1440
|
var run_carry_change = { apply_change };
|
|
@@ -2119,6 +2119,11 @@ function is_owned_by(carry, owner) {
|
|
|
2119
2119
|
function is_foreign_live_owner(carry, owner) {
|
|
2120
2120
|
return is_owner_live(carry) && !is_owned_by(carry, owner);
|
|
2121
2121
|
}
|
|
2122
|
+
function is_held_by_another(carry, is_live = is_owner_live) {
|
|
2123
|
+
const caller = owner_of(process.pid);
|
|
2124
|
+
const is_own = carry.owner_pid === caller.pid && carry.owner_start === caller.start;
|
|
2125
|
+
return !is_own && is_live(carry);
|
|
2126
|
+
}
|
|
2122
2127
|
function is_handed_off_to(carry, invocation) {
|
|
2123
2128
|
return carry.is_handed_off === true && carry.invocation === invocation;
|
|
2124
2129
|
}
|
|
@@ -2205,6 +2210,7 @@ var run_carry = {
|
|
|
2205
2210
|
fresh_carry,
|
|
2206
2211
|
is_count_refused,
|
|
2207
2212
|
is_foreign_live_owner,
|
|
2213
|
+
is_held_by_another,
|
|
2208
2214
|
is_owner_live,
|
|
2209
2215
|
lost_message,
|
|
2210
2216
|
nothing_to_resume_message,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
investigation_reads
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WNFJLBXI.js";
|
|
4
4
|
import {
|
|
5
5
|
lane_guard_policy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EAQEGME7.js";
|
|
7
7
|
import {
|
|
8
8
|
hook_decision
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EBSHN25W.js";
|
|
10
10
|
import {
|
|
11
11
|
time_spans
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SL4GQ2XP.js";
|
|
13
13
|
import {
|
|
14
14
|
json_value
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2YSW3CXH.js";
|
|
16
16
|
|
|
17
17
|
// scripts/delegation/duplicate-read-guard.ts
|
|
18
18
|
import { statSync } from "node:fs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
time_density_hook,
|
|
3
3
|
time_hook_transcript
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SL4GQ2XP.js";
|
|
5
5
|
import {
|
|
6
6
|
josh_environment_file
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J3KSS7II.js";
|
|
8
8
|
import {
|
|
9
9
|
json_value
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2YSW3CXH.js";
|
|
11
11
|
import {
|
|
12
12
|
stamp_file
|
|
13
13
|
} from "./chunk-NEC4AT4Z.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
duplicate_read_outcome
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DCY2GWHC.js";
|
|
4
4
|
import {
|
|
5
5
|
ALREADY_DONE_LABEL,
|
|
6
6
|
CONTEXT_CUT_THRESHOLD,
|
|
@@ -20,15 +20,12 @@ import {
|
|
|
20
20
|
repo_party,
|
|
21
21
|
run_cut,
|
|
22
22
|
run_cut_handoff,
|
|
23
|
-
run_event_scope,
|
|
24
|
-
run_event_stream,
|
|
25
|
-
run_event_stream_emit,
|
|
26
23
|
run_hold,
|
|
27
24
|
run_tail_rule,
|
|
28
25
|
session_cite,
|
|
29
26
|
shell_segments,
|
|
30
27
|
tail_commands
|
|
31
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GNDJ7NJ7.js";
|
|
32
29
|
import {
|
|
33
30
|
ancestor_directories,
|
|
34
31
|
find_local_bin_upwards
|
|
@@ -40,26 +37,29 @@ import {
|
|
|
40
37
|
issue_cite,
|
|
41
38
|
lane_registry,
|
|
42
39
|
repo_origin,
|
|
40
|
+
run_event_scope,
|
|
41
|
+
run_event_stream,
|
|
42
|
+
run_event_stream_emit,
|
|
43
43
|
run_headless
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-U32VSRNG.js";
|
|
45
45
|
import {
|
|
46
46
|
error_text
|
|
47
47
|
} from "./chunk-CDY4NFQG.js";
|
|
48
48
|
import {
|
|
49
49
|
batch_outcome
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-LMWBRJIP.js";
|
|
51
51
|
import {
|
|
52
52
|
investigation_refusal
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-IYVOLN6A.js";
|
|
54
54
|
import {
|
|
55
55
|
investigation_reads
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-WNFJLBXI.js";
|
|
57
57
|
import {
|
|
58
58
|
lane_guard_policy
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-EAQEGME7.js";
|
|
60
60
|
import {
|
|
61
61
|
hook_decision
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-EBSHN25W.js";
|
|
63
63
|
import {
|
|
64
64
|
cost_attribute,
|
|
65
65
|
cost_blocks,
|
|
@@ -67,10 +67,10 @@ import {
|
|
|
67
67
|
time_batch_guard,
|
|
68
68
|
time_density_hook,
|
|
69
69
|
time_shell
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-SL4GQ2XP.js";
|
|
71
71
|
import {
|
|
72
72
|
lane_child_marker
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-J3KSS7II.js";
|
|
74
74
|
import {
|
|
75
75
|
PORCELAIN_FLAG,
|
|
76
76
|
cli_flags,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
lane_paths,
|
|
85
85
|
own_session,
|
|
86
86
|
run_carry
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-2YSW3CXH.js";
|
|
88
88
|
import {
|
|
89
89
|
PLATFORM_TEMP_ROOT,
|
|
90
90
|
PROBE_TIMEOUT_MS,
|