oh-my-opencode 3.2.3 → 3.2.4
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/agents/atlas/utils.d.ts +1 -1
- package/dist/agents/dynamic-agent-prompt-builder.d.ts +6 -0
- package/dist/cli/doctor/checks/model-resolution.d.ts +2 -0
- package/dist/cli/index.js +2381 -3495
- package/dist/config/schema.d.ts +80 -55
- package/dist/features/background-agent/manager.d.ts +2 -0
- package/dist/features/boulder-state/storage.d.ts +1 -1
- package/dist/features/boulder-state/types.d.ts +2 -0
- package/dist/features/claude-tasks/storage.d.ts +2 -0
- package/dist/hooks/auto-update-checker/constants.d.ts +1 -1
- package/dist/hooks/category-skill-reminder/index.d.ts +2 -1
- package/dist/hooks/compaction-context-injector/index.d.ts +1 -8
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/write-existing-file-guard/index.d.ts +2 -0
- package/dist/index.js +2660 -15706
- package/dist/plugin-state.d.ts +0 -1
- package/dist/shared/connected-providers-cache.d.ts +8 -1
- package/dist/shared/disabled-tools.d.ts +2 -0
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/migration.d.ts +12 -0
- package/dist/shared/model-availability.d.ts +2 -1
- package/dist/shared/model-requirements.d.ts +1 -0
- package/dist/shared/port-utils.d.ts +9 -0
- package/dist/tools/delegate-task/constants.d.ts +5 -1
- package/dist/tools/delegate-task/types.d.ts +5 -0
- package/dist/tools/look-at/types.d.ts +2 -1
- package/dist/tools/lsp/client.d.ts +4 -0
- package/package.json +8 -8
- package/dist/shared/ollama-ndjson-parser.d.ts +0 -108
package/dist/config/schema.d.ts
CHANGED
|
@@ -1,49 +1,50 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const BuiltinAgentNameSchema: z.ZodEnum<{
|
|
3
3
|
sisyphus: "sisyphus";
|
|
4
|
-
|
|
5
|
-
atlas: "atlas";
|
|
6
|
-
metis: "metis";
|
|
7
|
-
momus: "momus";
|
|
4
|
+
hephaestus: "hephaestus";
|
|
8
5
|
oracle: "oracle";
|
|
9
6
|
librarian: "librarian";
|
|
10
7
|
explore: "explore";
|
|
11
8
|
"multimodal-looker": "multimodal-looker";
|
|
12
|
-
|
|
9
|
+
metis: "metis";
|
|
10
|
+
momus: "momus";
|
|
11
|
+
atlas: "atlas";
|
|
12
|
+
prometheus: "prometheus";
|
|
13
13
|
}>;
|
|
14
14
|
export declare const BuiltinSkillNameSchema: z.ZodEnum<{
|
|
15
15
|
playwright: "playwright";
|
|
16
16
|
"agent-browser": "agent-browser";
|
|
17
|
+
"dev-browser": "dev-browser";
|
|
17
18
|
"frontend-ui-ux": "frontend-ui-ux";
|
|
18
19
|
"git-master": "git-master";
|
|
19
20
|
}>;
|
|
20
21
|
export declare const OverridableAgentNameSchema: z.ZodEnum<{
|
|
21
|
-
plan: "plan";
|
|
22
22
|
sisyphus: "sisyphus";
|
|
23
|
-
|
|
24
|
-
atlas: "atlas";
|
|
25
|
-
metis: "metis";
|
|
26
|
-
momus: "momus";
|
|
27
|
-
"sisyphus-junior": "sisyphus-junior";
|
|
28
|
-
build: "build";
|
|
23
|
+
hephaestus: "hephaestus";
|
|
29
24
|
oracle: "oracle";
|
|
30
25
|
librarian: "librarian";
|
|
31
26
|
explore: "explore";
|
|
32
27
|
"multimodal-looker": "multimodal-looker";
|
|
33
|
-
|
|
28
|
+
metis: "metis";
|
|
29
|
+
momus: "momus";
|
|
30
|
+
atlas: "atlas";
|
|
31
|
+
build: "build";
|
|
32
|
+
plan: "plan";
|
|
33
|
+
prometheus: "prometheus";
|
|
34
|
+
"sisyphus-junior": "sisyphus-junior";
|
|
34
35
|
"OpenCode-Builder": "OpenCode-Builder";
|
|
35
36
|
}>;
|
|
36
37
|
export declare const AgentNameSchema: z.ZodEnum<{
|
|
37
38
|
sisyphus: "sisyphus";
|
|
38
|
-
|
|
39
|
-
atlas: "atlas";
|
|
40
|
-
metis: "metis";
|
|
41
|
-
momus: "momus";
|
|
39
|
+
hephaestus: "hephaestus";
|
|
42
40
|
oracle: "oracle";
|
|
43
41
|
librarian: "librarian";
|
|
44
42
|
explore: "explore";
|
|
45
43
|
"multimodal-looker": "multimodal-looker";
|
|
46
|
-
|
|
44
|
+
metis: "metis";
|
|
45
|
+
momus: "momus";
|
|
46
|
+
atlas: "atlas";
|
|
47
|
+
prometheus: "prometheus";
|
|
47
48
|
}>;
|
|
48
49
|
export declare const HookNameSchema: z.ZodEnum<{
|
|
49
50
|
atlas: "atlas";
|
|
@@ -55,10 +56,12 @@ export declare const HookNameSchema: z.ZodEnum<{
|
|
|
55
56
|
"comment-checker": "comment-checker";
|
|
56
57
|
"grep-output-truncator": "grep-output-truncator";
|
|
57
58
|
"tool-output-truncator": "tool-output-truncator";
|
|
59
|
+
"question-label-truncator": "question-label-truncator";
|
|
58
60
|
"directory-agents-injector": "directory-agents-injector";
|
|
59
61
|
"directory-readme-injector": "directory-readme-injector";
|
|
60
62
|
"empty-task-response-detector": "empty-task-response-detector";
|
|
61
63
|
"think-mode": "think-mode";
|
|
64
|
+
"subagent-question-blocker": "subagent-question-blocker";
|
|
62
65
|
"preemptive-compaction": "preemptive-compaction";
|
|
63
66
|
"rules-injector": "rules-injector";
|
|
64
67
|
"background-notification": "background-notification";
|
|
@@ -80,12 +83,20 @@ export declare const HookNameSchema: z.ZodEnum<{
|
|
|
80
83
|
"sisyphus-junior-notepad": "sisyphus-junior-notepad";
|
|
81
84
|
"start-work": "start-work";
|
|
82
85
|
"unstable-agent-babysitter": "unstable-agent-babysitter";
|
|
86
|
+
"task-reminder": "task-reminder";
|
|
87
|
+
"task-resume-info": "task-resume-info";
|
|
83
88
|
"stop-continuation-guard": "stop-continuation-guard";
|
|
84
89
|
"tasks-todowrite-disabler": "tasks-todowrite-disabler";
|
|
90
|
+
"write-existing-file-guard": "write-existing-file-guard";
|
|
85
91
|
}>;
|
|
86
92
|
export declare const BuiltinCommandNameSchema: z.ZodEnum<{
|
|
93
|
+
"ralph-loop": "ralph-loop";
|
|
87
94
|
"start-work": "start-work";
|
|
88
95
|
"init-deep": "init-deep";
|
|
96
|
+
"ulw-loop": "ulw-loop";
|
|
97
|
+
"cancel-ralph": "cancel-ralph";
|
|
98
|
+
refactor: "refactor";
|
|
99
|
+
"stop-continuation": "stop-continuation";
|
|
89
100
|
}>;
|
|
90
101
|
export declare const AgentOverrideConfigSchema: z.ZodObject<{
|
|
91
102
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -100,8 +111,8 @@ export declare const AgentOverrideConfigSchema: z.ZodObject<{
|
|
|
100
111
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
101
112
|
description: z.ZodOptional<z.ZodString>;
|
|
102
113
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
103
|
-
subagent: "subagent";
|
|
104
114
|
primary: "primary";
|
|
115
|
+
subagent: "subagent";
|
|
105
116
|
all: "all";
|
|
106
117
|
}>>;
|
|
107
118
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -171,8 +182,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
171
182
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
172
183
|
description: z.ZodOptional<z.ZodString>;
|
|
173
184
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
174
|
-
subagent: "subagent";
|
|
175
185
|
primary: "primary";
|
|
186
|
+
subagent: "subagent";
|
|
176
187
|
all: "all";
|
|
177
188
|
}>>;
|
|
178
189
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -241,8 +252,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
241
252
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
242
253
|
description: z.ZodOptional<z.ZodString>;
|
|
243
254
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
244
|
-
subagent: "subagent";
|
|
245
255
|
primary: "primary";
|
|
256
|
+
subagent: "subagent";
|
|
246
257
|
all: "all";
|
|
247
258
|
}>>;
|
|
248
259
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -311,8 +322,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
311
322
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
312
323
|
description: z.ZodOptional<z.ZodString>;
|
|
313
324
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
314
|
-
subagent: "subagent";
|
|
315
325
|
primary: "primary";
|
|
326
|
+
subagent: "subagent";
|
|
316
327
|
all: "all";
|
|
317
328
|
}>>;
|
|
318
329
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -381,8 +392,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
381
392
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
382
393
|
description: z.ZodOptional<z.ZodString>;
|
|
383
394
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
384
|
-
subagent: "subagent";
|
|
385
395
|
primary: "primary";
|
|
396
|
+
subagent: "subagent";
|
|
386
397
|
all: "all";
|
|
387
398
|
}>>;
|
|
388
399
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -451,8 +462,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
451
462
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
452
463
|
description: z.ZodOptional<z.ZodString>;
|
|
453
464
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
454
|
-
subagent: "subagent";
|
|
455
465
|
primary: "primary";
|
|
466
|
+
subagent: "subagent";
|
|
456
467
|
all: "all";
|
|
457
468
|
}>>;
|
|
458
469
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -521,8 +532,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
521
532
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
522
533
|
description: z.ZodOptional<z.ZodString>;
|
|
523
534
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
524
|
-
subagent: "subagent";
|
|
525
535
|
primary: "primary";
|
|
536
|
+
subagent: "subagent";
|
|
526
537
|
all: "all";
|
|
527
538
|
}>>;
|
|
528
539
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -591,8 +602,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
591
602
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
592
603
|
description: z.ZodOptional<z.ZodString>;
|
|
593
604
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
594
|
-
subagent: "subagent";
|
|
595
605
|
primary: "primary";
|
|
606
|
+
subagent: "subagent";
|
|
596
607
|
all: "all";
|
|
597
608
|
}>>;
|
|
598
609
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -661,8 +672,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
661
672
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
662
673
|
description: z.ZodOptional<z.ZodString>;
|
|
663
674
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
664
|
-
subagent: "subagent";
|
|
665
675
|
primary: "primary";
|
|
676
|
+
subagent: "subagent";
|
|
666
677
|
all: "all";
|
|
667
678
|
}>>;
|
|
668
679
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -731,8 +742,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
731
742
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
732
743
|
description: z.ZodOptional<z.ZodString>;
|
|
733
744
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
734
|
-
subagent: "subagent";
|
|
735
745
|
primary: "primary";
|
|
746
|
+
subagent: "subagent";
|
|
736
747
|
all: "all";
|
|
737
748
|
}>>;
|
|
738
749
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -801,8 +812,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
801
812
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
802
813
|
description: z.ZodOptional<z.ZodString>;
|
|
803
814
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
804
|
-
subagent: "subagent";
|
|
805
815
|
primary: "primary";
|
|
816
|
+
subagent: "subagent";
|
|
806
817
|
all: "all";
|
|
807
818
|
}>>;
|
|
808
819
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -871,8 +882,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
871
882
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
872
883
|
description: z.ZodOptional<z.ZodString>;
|
|
873
884
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
874
|
-
subagent: "subagent";
|
|
875
885
|
primary: "primary";
|
|
886
|
+
subagent: "subagent";
|
|
876
887
|
all: "all";
|
|
877
888
|
}>>;
|
|
878
889
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -941,8 +952,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
941
952
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
942
953
|
description: z.ZodOptional<z.ZodString>;
|
|
943
954
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
944
|
-
subagent: "subagent";
|
|
945
955
|
primary: "primary";
|
|
956
|
+
subagent: "subagent";
|
|
946
957
|
all: "all";
|
|
947
958
|
}>>;
|
|
948
959
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1011,8 +1022,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1011
1022
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1012
1023
|
description: z.ZodOptional<z.ZodString>;
|
|
1013
1024
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1014
|
-
subagent: "subagent";
|
|
1015
1025
|
primary: "primary";
|
|
1026
|
+
subagent: "subagent";
|
|
1016
1027
|
all: "all";
|
|
1017
1028
|
}>>;
|
|
1018
1029
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1081,8 +1092,8 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1081
1092
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1082
1093
|
description: z.ZodOptional<z.ZodString>;
|
|
1083
1094
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1084
|
-
subagent: "subagent";
|
|
1085
1095
|
primary: "primary";
|
|
1096
|
+
subagent: "subagent";
|
|
1086
1097
|
all: "all";
|
|
1087
1098
|
}>>;
|
|
1088
1099
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1403,12 +1414,14 @@ export declare const TmuxConfigSchema: z.ZodObject<{
|
|
|
1403
1414
|
agent_pane_min_width: z.ZodDefault<z.ZodNumber>;
|
|
1404
1415
|
}, z.core.$strip>;
|
|
1405
1416
|
export declare const SisyphusTasksConfigSchema: z.ZodObject<{
|
|
1406
|
-
storage_path: z.
|
|
1417
|
+
storage_path: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
task_list_id: z.ZodOptional<z.ZodString>;
|
|
1407
1419
|
claude_code_compat: z.ZodDefault<z.ZodBoolean>;
|
|
1408
1420
|
}, z.core.$strip>;
|
|
1409
1421
|
export declare const SisyphusConfigSchema: z.ZodObject<{
|
|
1410
1422
|
tasks: z.ZodOptional<z.ZodObject<{
|
|
1411
|
-
storage_path: z.
|
|
1423
|
+
storage_path: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
task_list_id: z.ZodOptional<z.ZodString>;
|
|
1412
1425
|
claude_code_compat: z.ZodDefault<z.ZodBoolean>;
|
|
1413
1426
|
}, z.core.$strip>>;
|
|
1414
1427
|
}, z.core.$strip>;
|
|
@@ -1419,19 +1432,20 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1419
1432
|
disabled_mcps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1420
1433
|
disabled_agents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1421
1434
|
sisyphus: "sisyphus";
|
|
1422
|
-
|
|
1423
|
-
atlas: "atlas";
|
|
1424
|
-
metis: "metis";
|
|
1425
|
-
momus: "momus";
|
|
1435
|
+
hephaestus: "hephaestus";
|
|
1426
1436
|
oracle: "oracle";
|
|
1427
1437
|
librarian: "librarian";
|
|
1428
1438
|
explore: "explore";
|
|
1429
1439
|
"multimodal-looker": "multimodal-looker";
|
|
1430
|
-
|
|
1440
|
+
metis: "metis";
|
|
1441
|
+
momus: "momus";
|
|
1442
|
+
atlas: "atlas";
|
|
1443
|
+
prometheus: "prometheus";
|
|
1431
1444
|
}>>>;
|
|
1432
1445
|
disabled_skills: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1433
1446
|
playwright: "playwright";
|
|
1434
1447
|
"agent-browser": "agent-browser";
|
|
1448
|
+
"dev-browser": "dev-browser";
|
|
1435
1449
|
"frontend-ui-ux": "frontend-ui-ux";
|
|
1436
1450
|
"git-master": "git-master";
|
|
1437
1451
|
}>>>;
|
|
@@ -1445,10 +1459,12 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1445
1459
|
"comment-checker": "comment-checker";
|
|
1446
1460
|
"grep-output-truncator": "grep-output-truncator";
|
|
1447
1461
|
"tool-output-truncator": "tool-output-truncator";
|
|
1462
|
+
"question-label-truncator": "question-label-truncator";
|
|
1448
1463
|
"directory-agents-injector": "directory-agents-injector";
|
|
1449
1464
|
"directory-readme-injector": "directory-readme-injector";
|
|
1450
1465
|
"empty-task-response-detector": "empty-task-response-detector";
|
|
1451
1466
|
"think-mode": "think-mode";
|
|
1467
|
+
"subagent-question-blocker": "subagent-question-blocker";
|
|
1452
1468
|
"preemptive-compaction": "preemptive-compaction";
|
|
1453
1469
|
"rules-injector": "rules-injector";
|
|
1454
1470
|
"background-notification": "background-notification";
|
|
@@ -1470,12 +1486,20 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1470
1486
|
"sisyphus-junior-notepad": "sisyphus-junior-notepad";
|
|
1471
1487
|
"start-work": "start-work";
|
|
1472
1488
|
"unstable-agent-babysitter": "unstable-agent-babysitter";
|
|
1489
|
+
"task-reminder": "task-reminder";
|
|
1490
|
+
"task-resume-info": "task-resume-info";
|
|
1473
1491
|
"stop-continuation-guard": "stop-continuation-guard";
|
|
1474
1492
|
"tasks-todowrite-disabler": "tasks-todowrite-disabler";
|
|
1493
|
+
"write-existing-file-guard": "write-existing-file-guard";
|
|
1475
1494
|
}>>>;
|
|
1476
1495
|
disabled_commands: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1496
|
+
"ralph-loop": "ralph-loop";
|
|
1477
1497
|
"start-work": "start-work";
|
|
1478
1498
|
"init-deep": "init-deep";
|
|
1499
|
+
"ulw-loop": "ulw-loop";
|
|
1500
|
+
"cancel-ralph": "cancel-ralph";
|
|
1501
|
+
refactor: "refactor";
|
|
1502
|
+
"stop-continuation": "stop-continuation";
|
|
1479
1503
|
}>>>;
|
|
1480
1504
|
disabled_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1481
1505
|
agents: z.ZodOptional<z.ZodObject<{
|
|
@@ -1492,8 +1516,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1492
1516
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1493
1517
|
description: z.ZodOptional<z.ZodString>;
|
|
1494
1518
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1495
|
-
subagent: "subagent";
|
|
1496
1519
|
primary: "primary";
|
|
1520
|
+
subagent: "subagent";
|
|
1497
1521
|
all: "all";
|
|
1498
1522
|
}>>;
|
|
1499
1523
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1562,8 +1586,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1562
1586
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1563
1587
|
description: z.ZodOptional<z.ZodString>;
|
|
1564
1588
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1565
|
-
subagent: "subagent";
|
|
1566
1589
|
primary: "primary";
|
|
1590
|
+
subagent: "subagent";
|
|
1567
1591
|
all: "all";
|
|
1568
1592
|
}>>;
|
|
1569
1593
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1632,8 +1656,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1632
1656
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1633
1657
|
description: z.ZodOptional<z.ZodString>;
|
|
1634
1658
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1635
|
-
subagent: "subagent";
|
|
1636
1659
|
primary: "primary";
|
|
1660
|
+
subagent: "subagent";
|
|
1637
1661
|
all: "all";
|
|
1638
1662
|
}>>;
|
|
1639
1663
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1702,8 +1726,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1702
1726
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1703
1727
|
description: z.ZodOptional<z.ZodString>;
|
|
1704
1728
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1705
|
-
subagent: "subagent";
|
|
1706
1729
|
primary: "primary";
|
|
1730
|
+
subagent: "subagent";
|
|
1707
1731
|
all: "all";
|
|
1708
1732
|
}>>;
|
|
1709
1733
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1772,8 +1796,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1772
1796
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1773
1797
|
description: z.ZodOptional<z.ZodString>;
|
|
1774
1798
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1775
|
-
subagent: "subagent";
|
|
1776
1799
|
primary: "primary";
|
|
1800
|
+
subagent: "subagent";
|
|
1777
1801
|
all: "all";
|
|
1778
1802
|
}>>;
|
|
1779
1803
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1842,8 +1866,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1842
1866
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1843
1867
|
description: z.ZodOptional<z.ZodString>;
|
|
1844
1868
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1845
|
-
subagent: "subagent";
|
|
1846
1869
|
primary: "primary";
|
|
1870
|
+
subagent: "subagent";
|
|
1847
1871
|
all: "all";
|
|
1848
1872
|
}>>;
|
|
1849
1873
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1912,8 +1936,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1912
1936
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1913
1937
|
description: z.ZodOptional<z.ZodString>;
|
|
1914
1938
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1915
|
-
subagent: "subagent";
|
|
1916
1939
|
primary: "primary";
|
|
1940
|
+
subagent: "subagent";
|
|
1917
1941
|
all: "all";
|
|
1918
1942
|
}>>;
|
|
1919
1943
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -1982,8 +2006,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
1982
2006
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1983
2007
|
description: z.ZodOptional<z.ZodString>;
|
|
1984
2008
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1985
|
-
subagent: "subagent";
|
|
1986
2009
|
primary: "primary";
|
|
2010
|
+
subagent: "subagent";
|
|
1987
2011
|
all: "all";
|
|
1988
2012
|
}>>;
|
|
1989
2013
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -2052,8 +2076,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2052
2076
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
2053
2077
|
description: z.ZodOptional<z.ZodString>;
|
|
2054
2078
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2055
|
-
subagent: "subagent";
|
|
2056
2079
|
primary: "primary";
|
|
2080
|
+
subagent: "subagent";
|
|
2057
2081
|
all: "all";
|
|
2058
2082
|
}>>;
|
|
2059
2083
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -2122,8 +2146,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2122
2146
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
2123
2147
|
description: z.ZodOptional<z.ZodString>;
|
|
2124
2148
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2125
|
-
subagent: "subagent";
|
|
2126
2149
|
primary: "primary";
|
|
2150
|
+
subagent: "subagent";
|
|
2127
2151
|
all: "all";
|
|
2128
2152
|
}>>;
|
|
2129
2153
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -2192,8 +2216,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2192
2216
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
2193
2217
|
description: z.ZodOptional<z.ZodString>;
|
|
2194
2218
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2195
|
-
subagent: "subagent";
|
|
2196
2219
|
primary: "primary";
|
|
2220
|
+
subagent: "subagent";
|
|
2197
2221
|
all: "all";
|
|
2198
2222
|
}>>;
|
|
2199
2223
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -2262,8 +2286,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2262
2286
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
2263
2287
|
description: z.ZodOptional<z.ZodString>;
|
|
2264
2288
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2265
|
-
subagent: "subagent";
|
|
2266
2289
|
primary: "primary";
|
|
2290
|
+
subagent: "subagent";
|
|
2267
2291
|
all: "all";
|
|
2268
2292
|
}>>;
|
|
2269
2293
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -2332,8 +2356,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2332
2356
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
2333
2357
|
description: z.ZodOptional<z.ZodString>;
|
|
2334
2358
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2335
|
-
subagent: "subagent";
|
|
2336
2359
|
primary: "primary";
|
|
2360
|
+
subagent: "subagent";
|
|
2337
2361
|
all: "all";
|
|
2338
2362
|
}>>;
|
|
2339
2363
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -2402,8 +2426,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2402
2426
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
2403
2427
|
description: z.ZodOptional<z.ZodString>;
|
|
2404
2428
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2405
|
-
subagent: "subagent";
|
|
2406
2429
|
primary: "primary";
|
|
2430
|
+
subagent: "subagent";
|
|
2407
2431
|
all: "all";
|
|
2408
2432
|
}>>;
|
|
2409
2433
|
color: z.ZodOptional<z.ZodString>;
|
|
@@ -2612,7 +2636,8 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
|
|
|
2612
2636
|
}, z.core.$strip>>;
|
|
2613
2637
|
sisyphus: z.ZodOptional<z.ZodObject<{
|
|
2614
2638
|
tasks: z.ZodOptional<z.ZodObject<{
|
|
2615
|
-
storage_path: z.
|
|
2639
|
+
storage_path: z.ZodOptional<z.ZodString>;
|
|
2640
|
+
task_list_id: z.ZodOptional<z.ZodString>;
|
|
2616
2641
|
claude_code_compat: z.ZodDefault<z.ZodBoolean>;
|
|
2617
2642
|
}, z.core.$strip>>;
|
|
2618
2643
|
}, z.core.$strip>>;
|
|
@@ -110,6 +110,8 @@ export declare class BackgroundManager {
|
|
|
110
110
|
private tryCompleteTask;
|
|
111
111
|
private notifyParentSession;
|
|
112
112
|
private formatDuration;
|
|
113
|
+
private isAbortedSessionError;
|
|
114
|
+
private getErrorText;
|
|
113
115
|
private hasRunningTasks;
|
|
114
116
|
private pruneStaleTasksAndNotifications;
|
|
115
117
|
private checkAndInterruptStaleTasks;
|
|
@@ -25,4 +25,4 @@ export declare function getPlanName(planPath: string): string;
|
|
|
25
25
|
/**
|
|
26
26
|
* Create a new boulder state for a plan.
|
|
27
27
|
*/
|
|
28
|
-
export declare function createBoulderState(planPath: string, sessionId: string): BoulderState;
|
|
28
|
+
export declare function createBoulderState(planPath: string, sessionId: string, agent?: string): BoulderState;
|
|
@@ -13,6 +13,8 @@ export interface BoulderState {
|
|
|
13
13
|
session_ids: string[];
|
|
14
14
|
/** Plan name derived from filename */
|
|
15
15
|
plan_name: string;
|
|
16
|
+
/** Agent type to use when resuming (e.g., 'atlas') */
|
|
17
|
+
agent?: string;
|
|
16
18
|
}
|
|
17
19
|
export interface PlanProgress {
|
|
18
20
|
/** Total number of checkboxes */
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { z } from "zod";
|
|
2
2
|
import type { OhMyOpenCodeConfig } from "../../config/schema";
|
|
3
3
|
export declare function getTaskDir(config?: Partial<OhMyOpenCodeConfig>): string;
|
|
4
|
+
export declare function sanitizePathSegment(value: string): string;
|
|
5
|
+
export declare function resolveTaskListId(config?: Partial<OhMyOpenCodeConfig>): string;
|
|
4
6
|
export declare function ensureDir(dirPath: string): void;
|
|
5
7
|
export declare function readJsonSafe<T>(filePath: string, schema: z.ZodType<T>): T | null;
|
|
6
8
|
export declare function writeJsonAtomic(filePath: string, data: unknown): void;
|
|
@@ -3,8 +3,8 @@ export declare const NPM_REGISTRY_URL = "https://registry.npmjs.org/-/package/oh
|
|
|
3
3
|
export declare const NPM_FETCH_TIMEOUT = 5000;
|
|
4
4
|
export declare const CACHE_DIR: string;
|
|
5
5
|
export declare const VERSION_FILE: string;
|
|
6
|
-
export declare const INSTALLED_PACKAGE_JSON: string;
|
|
7
6
|
export declare function getWindowsAppdataDir(): string | null;
|
|
8
7
|
export declare const USER_CONFIG_DIR: string;
|
|
9
8
|
export declare const USER_OPENCODE_CONFIG: string;
|
|
10
9
|
export declare const USER_OPENCODE_CONFIG_JSONC: string;
|
|
10
|
+
export declare const INSTALLED_PACKAGE_JSON: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PluginInput } from "@opencode-ai/plugin";
|
|
2
|
+
import type { AvailableSkill } from "../../agents/dynamic-agent-prompt-builder";
|
|
2
3
|
interface ToolExecuteInput {
|
|
3
4
|
tool: string;
|
|
4
5
|
sessionID: string;
|
|
@@ -10,7 +11,7 @@ interface ToolExecuteOutput {
|
|
|
10
11
|
output: string;
|
|
11
12
|
metadata: unknown;
|
|
12
13
|
}
|
|
13
|
-
export declare function createCategorySkillReminderHook(_ctx: PluginInput): {
|
|
14
|
+
export declare function createCategorySkillReminderHook(_ctx: PluginInput, availableSkills?: AvailableSkill[]): {
|
|
14
15
|
"tool.execute.after": (input: ToolExecuteInput, output: ToolExecuteOutput) => Promise<void>;
|
|
15
16
|
event: ({ event }: {
|
|
16
17
|
event: {
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
sessionID: string;
|
|
3
|
-
providerID: string;
|
|
4
|
-
modelID: string;
|
|
5
|
-
usageRatio: number;
|
|
6
|
-
directory: string;
|
|
7
|
-
}
|
|
8
|
-
export declare function createCompactionContextInjector(): (ctx: SummarizeContext) => Promise<void>;
|
|
1
|
+
export declare function createCompactionContextInjector(): () => string;
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -31,7 +31,8 @@ export { createDelegateTaskRetryHook } from "./delegate-task-retry";
|
|
|
31
31
|
export { createQuestionLabelTruncatorHook } from "./question-label-truncator";
|
|
32
32
|
export { createSubagentQuestionBlockerHook } from "./subagent-question-blocker";
|
|
33
33
|
export { createStopContinuationGuardHook, type StopContinuationGuard } from "./stop-continuation-guard";
|
|
34
|
-
export { createCompactionContextInjector
|
|
34
|
+
export { createCompactionContextInjector } from "./compaction-context-injector";
|
|
35
35
|
export { createUnstableAgentBabysitterHook } from "./unstable-agent-babysitter";
|
|
36
36
|
export { createPreemptiveCompactionHook } from "./preemptive-compaction";
|
|
37
37
|
export { createTasksTodowriteDisablerHook } from "./tasks-todowrite-disabler";
|
|
38
|
+
export { createWriteExistingFileGuardHook } from "./write-existing-file-guard";
|