oh-my-codex 0.21.32 → 0.21.34
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/Cargo.lock +6 -6
- package/Cargo.toml +1 -1
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js +3 -3
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
- package/dist/team/__tests__/dispatch-finalization-journal.test.d.ts +2 -0
- package/dist/team/__tests__/dispatch-finalization-journal.test.d.ts.map +1 -0
- package/dist/team/__tests__/dispatch-finalization-journal.test.js +199 -0
- package/dist/team/__tests__/dispatch-finalization-journal.test.js.map +1 -0
- package/dist/team/__tests__/runtime.test.js +119 -0
- package/dist/team/__tests__/runtime.test.js.map +1 -1
- package/dist/team/__tests__/scaling.test.js +23 -0
- package/dist/team/__tests__/scaling.test.js.map +1 -1
- package/dist/team/__tests__/shutdown-preservation.test.d.ts +2 -0
- package/dist/team/__tests__/shutdown-preservation.test.d.ts.map +1 -0
- package/dist/team/__tests__/shutdown-preservation.test.js +747 -0
- package/dist/team/__tests__/shutdown-preservation.test.js.map +1 -0
- package/dist/team/__tests__/worktree.test.js +121 -3
- package/dist/team/__tests__/worktree.test.js.map +1 -1
- package/dist/team/runtime.d.ts.map +1 -1
- package/dist/team/runtime.js +244 -50
- package/dist/team/runtime.js.map +1 -1
- package/dist/team/scaling.js +1 -1
- package/dist/team/scaling.js.map +1 -1
- package/dist/team/state/dispatch-recovery.d.ts +10 -0
- package/dist/team/state/dispatch-recovery.d.ts.map +1 -1
- package/dist/team/state/dispatch-recovery.js +26 -2
- package/dist/team/state/dispatch-recovery.js.map +1 -1
- package/dist/team/state.d.ts.map +1 -1
- package/dist/team/state.js +2 -3
- package/dist/team/state.js.map +1 -1
- package/dist/team/worktree.d.ts +28 -0
- package/dist/team/worktree.d.ts.map +1 -1
- package/dist/team/worktree.js +210 -3
- package/dist/team/worktree.js.map +1 -1
- package/package.json +1 -1
- package/plugins/oh-my-codex/.codex-plugin/plugin.json +1 -1
package/Cargo.lock
CHANGED
|
@@ -32,7 +32,7 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
|
32
32
|
|
|
33
33
|
[[package]]
|
|
34
34
|
name = "omx-api"
|
|
35
|
-
version = "0.21.
|
|
35
|
+
version = "0.21.34"
|
|
36
36
|
dependencies = [
|
|
37
37
|
"serde",
|
|
38
38
|
"serde_json",
|
|
@@ -40,14 +40,14 @@ dependencies = [
|
|
|
40
40
|
|
|
41
41
|
[[package]]
|
|
42
42
|
name = "omx-explore-harness"
|
|
43
|
-
version = "0.21.
|
|
43
|
+
version = "0.21.34"
|
|
44
44
|
dependencies = [
|
|
45
45
|
"libc",
|
|
46
46
|
]
|
|
47
47
|
|
|
48
48
|
[[package]]
|
|
49
49
|
name = "omx-mux"
|
|
50
|
-
version = "0.21.
|
|
50
|
+
version = "0.21.34"
|
|
51
51
|
dependencies = [
|
|
52
52
|
"serde",
|
|
53
53
|
"serde_json",
|
|
@@ -55,7 +55,7 @@ dependencies = [
|
|
|
55
55
|
|
|
56
56
|
[[package]]
|
|
57
57
|
name = "omx-runtime"
|
|
58
|
-
version = "0.21.
|
|
58
|
+
version = "0.21.34"
|
|
59
59
|
dependencies = [
|
|
60
60
|
"fs2",
|
|
61
61
|
"libc",
|
|
@@ -67,7 +67,7 @@ dependencies = [
|
|
|
67
67
|
|
|
68
68
|
[[package]]
|
|
69
69
|
name = "omx-runtime-core"
|
|
70
|
-
version = "0.21.
|
|
70
|
+
version = "0.21.34"
|
|
71
71
|
dependencies = [
|
|
72
72
|
"fs2",
|
|
73
73
|
"serde",
|
|
@@ -76,7 +76,7 @@ dependencies = [
|
|
|
76
76
|
|
|
77
77
|
[[package]]
|
|
78
78
|
name = "omx-sparkshell"
|
|
79
|
-
version = "0.21.
|
|
79
|
+
version = "0.21.34"
|
|
80
80
|
dependencies = [
|
|
81
81
|
"omx-mux",
|
|
82
82
|
]
|
package/Cargo.toml
CHANGED
|
@@ -1098,7 +1098,7 @@ exit 1
|
|
|
1098
1098
|
await assert.rejects(() => drainPendingTeamDispatch({ cwd, injector }), /exec-scoped failed/);
|
|
1099
1099
|
assert.equal((await readDispatchRequest('alpha', queued.request.request_id, cwd))?.status, 'pending');
|
|
1100
1100
|
const journalPath = join(cwd, '.omx/state/team/alpha/dispatch/runtime-finalizations.jsonl');
|
|
1101
|
-
assert.deepEqual((await readFile(journalPath, 'utf8')).trim().split('\n').map((line) => JSON.parse(line).command), ['MarkNotified', 'MarkDelivered']);
|
|
1101
|
+
assert.deepEqual((await readFile(journalPath, 'utf8')).trim().split('\n').filter(Boolean).map((line) => JSON.parse(line).command), ['MarkNotified', 'MarkDelivered']);
|
|
1102
1102
|
delete process.env.OMX_TEST_REJECT_MARK_NOTIFIED;
|
|
1103
1103
|
assert.equal((await drainPendingTeamDispatch({ cwd, injector })).processed, 0);
|
|
1104
1104
|
assert.equal(injections, 1, 'a confirmed injection must never be retried while its receipt is reconciled');
|
|
@@ -1155,7 +1155,7 @@ exit 1
|
|
|
1155
1155
|
const { drainPendingTeamDispatch } = await import('../../scripts/notify-hook/team-dispatch.js');
|
|
1156
1156
|
assert.equal((await drainPendingTeamDispatch({ cwd, maxPerTick: 5 })).processed, 1);
|
|
1157
1157
|
const journal = join(cwd, '.omx/state/team/alpha/dispatch/runtime-finalizations.jsonl');
|
|
1158
|
-
assert.deepEqual((await readFile(journal, 'utf8')).trim().split('\n').map(line => JSON.parse(line).command), ['MarkNotified', 'MarkDelivered', 'MarkNotified', 'MarkDelivered']);
|
|
1158
|
+
assert.deepEqual((await readFile(journal, 'utf8')).trim().split('\n').filter(Boolean).map(line => JSON.parse(line).command), ['MarkNotified', 'MarkDelivered', 'MarkNotified', 'MarkDelivered']);
|
|
1159
1159
|
await writeFile(runtime, supported);
|
|
1160
1160
|
await chmod(runtime, 0o755);
|
|
1161
1161
|
await writeFile(projectionPath, pendingProjection);
|
|
@@ -1326,7 +1326,7 @@ exit 1
|
|
|
1326
1326
|
await writeFile(compatPath, pending);
|
|
1327
1327
|
const journalPath = join(stateDir, 'team', 'alpha', 'dispatch', 'runtime-finalizations.jsonl');
|
|
1328
1328
|
const journal = await readFile(journalPath, 'utf8');
|
|
1329
|
-
const journalCommands = journal.trim().split('\n').map((line) => JSON.parse(line).command);
|
|
1329
|
+
const journalCommands = journal.trim().split('\n').filter(Boolean).map((line) => JSON.parse(line).command);
|
|
1330
1330
|
assert.deepEqual(journalCommands, mode === 'default-injector'
|
|
1331
1331
|
? ['MarkNotified', 'MarkDelivered', 'MarkNotified', 'MarkDelivered']
|
|
1332
1332
|
: [mode === 'failed' ? 'MarkFailed' : 'MarkNotified']);
|