@hiai-gg/hiai-opencode 0.1.8 → 0.2.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.
Files changed (139) hide show
  1. package/.env.example +0 -19
  2. package/AGENTS.md +214 -54
  3. package/ARCHITECTURE.md +9 -11
  4. package/LICENSE.md +4 -3
  5. package/README.md +95 -95
  6. package/assets/cli/hiai-opencode.mjs +137 -86
  7. package/config/.logs/subtask2.log +2 -0
  8. package/config/.mcp.json +45 -0
  9. package/config/.opencode/palace/knowledge_graph.sqlite3 +0 -0
  10. package/config/.opencode/palace/knowledge_graph.sqlite3-shm +0 -0
  11. package/config/.opencode/palace/knowledge_graph.sqlite3-wal +0 -0
  12. package/config/hiai-opencode.schema.json +176 -62
  13. package/dist/agents/builtin-agents/{guard-agent.d.ts → manager-agent.d.ts} +1 -1
  14. package/dist/agents/dynamic-agent-policy-sections.d.ts +2 -0
  15. package/dist/agents/{guard → manager}/agent.d.ts +7 -7
  16. package/dist/agents/manager/default-prompt-sections.d.ts +5 -0
  17. package/dist/agents/manager/default.d.ts +2 -0
  18. package/dist/agents/manager/index.d.ts +2 -0
  19. package/dist/agents/{guard → manager}/prompt-section-builder.d.ts +1 -1
  20. package/dist/agents/{guard → manager}/shared-prompt.d.ts +2 -2
  21. package/dist/agents/prompt-library/index.d.ts +0 -1
  22. package/dist/agents/strategist/behavioral-summary.d.ts +1 -1
  23. package/dist/agents/strategist/high-accuracy-mode.d.ts +1 -1
  24. package/dist/agents/strategist/identity-constraints.d.ts +1 -1
  25. package/dist/agents/strategist/index.d.ts +1 -1
  26. package/dist/agents/strategist/interview-mode.d.ts +1 -1
  27. package/dist/agents/strategist/plan-generation.d.ts +1 -1
  28. package/dist/agents/strategist/plan-template.d.ts +1 -1
  29. package/dist/agents/strategist/system-prompt.d.ts +3 -3
  30. package/dist/agents/types.d.ts +2 -2
  31. package/dist/agents/writer.d.ts +7 -0
  32. package/dist/config/index.d.ts +4 -6
  33. package/dist/config/platform-schema.d.ts +64 -56
  34. package/dist/config/schema/agent-names.d.ts +9 -10
  35. package/dist/config/schema/agent-overrides.d.ts +2 -258
  36. package/dist/config/schema/browser-automation.d.ts +0 -4
  37. package/dist/config/schema/{oh-my-opencode-config.d.ts → hiai-opencode-config.d.ts} +4 -261
  38. package/dist/config/schema/hooks.d.ts +1 -1
  39. package/dist/config/schema/index.d.ts +2 -2
  40. package/dist/config/schema/ralph-loop.d.ts +2 -0
  41. package/dist/config/types.d.ts +7 -5
  42. package/dist/create-hooks.d.ts +3 -0
  43. package/dist/features/boulder-state/constants.d.ts +1 -1
  44. package/dist/features/boulder-state/types.d.ts +1 -1
  45. package/dist/features/builtin-commands/templates/refactor.d.ts +1 -1
  46. package/dist/features/builtin-skills/skills/{playwright.d.ts → agent-browser.d.ts} +0 -1
  47. package/dist/features/builtin-skills/skills/index.d.ts +1 -2
  48. package/dist/hooks/critic-plans-only/agent-matcher.d.ts +1 -0
  49. package/dist/hooks/critic-plans-only/constants.d.ts +6 -0
  50. package/dist/hooks/critic-plans-only/hook.d.ts +11 -0
  51. package/dist/hooks/critic-plans-only/index.d.ts +3 -0
  52. package/dist/hooks/critic-plans-only/path-policy.d.ts +1 -0
  53. package/dist/hooks/index.d.ts +2 -1
  54. package/dist/hooks/json-error-recovery/hook.d.ts +1 -1
  55. package/dist/hooks/manager/hook-name.d.ts +1 -0
  56. package/dist/hooks/{guard → manager}/system-reminder-templates.d.ts +2 -2
  57. package/dist/hooks/mempalace-auto-save/constants.d.ts +1 -0
  58. package/dist/hooks/mempalace-auto-save/handler.d.ts +13 -0
  59. package/dist/hooks/mempalace-auto-save/index.d.ts +15 -0
  60. package/dist/hooks/mempalace-auto-save/types.d.ts +16 -0
  61. package/dist/hooks/strategist-md-only/constants.d.ts +2 -2
  62. package/dist/hooks/todo-continuation-enforcer/auto-loop.d.ts +23 -0
  63. package/dist/hooks/todo-continuation-enforcer/handler.d.ts +5 -0
  64. package/dist/hooks/todo-continuation-enforcer/idle-event.d.ts +5 -0
  65. package/dist/hooks/todo-continuation-enforcer/types.d.ts +18 -0
  66. package/dist/index.js +1359 -1952
  67. package/dist/internals/plugins/pty/pty/tools/list.d.ts +2 -5
  68. package/dist/mcp/registry.d.ts +1 -1
  69. package/dist/mcp/types.d.ts +0 -4
  70. package/dist/plugin/hooks/create-continuation-hooks.d.ts +6 -1
  71. package/dist/plugin/tool-registry.d.ts +4 -2
  72. package/dist/plugin-handlers/agent-priority-order.d.ts +2 -2
  73. package/dist/shared/agent-display-names.d.ts +2 -2
  74. package/dist/shared/system-directive.d.ts +2 -2
  75. package/dist/tools/agent-browser/constants.d.ts +16 -0
  76. package/dist/tools/agent-browser/index.d.ts +4 -0
  77. package/dist/tools/agent-browser/integration.d.ts +2 -0
  78. package/dist/tools/agent-browser/tools.d.ts +2 -0
  79. package/dist/tools/agent-browser/types.d.ts +80 -0
  80. package/dist/tools/call-hiai-agent/background-agent-executor.d.ts +5 -0
  81. package/dist/tools/{call-omo-agent → call-hiai-agent}/background-executor.d.ts +2 -2
  82. package/dist/tools/call-hiai-agent/constants.d.ts +3 -0
  83. package/dist/tools/{call-omo-agent → call-hiai-agent}/index.d.ts +1 -1
  84. package/dist/tools/{call-omo-agent → call-hiai-agent}/session-creator.d.ts +2 -2
  85. package/dist/tools/{call-omo-agent → call-hiai-agent}/subagent-session-creator.d.ts +2 -2
  86. package/dist/tools/{call-omo-agent → call-hiai-agent}/sync-executor.d.ts +2 -2
  87. package/dist/tools/{call-omo-agent → call-hiai-agent}/tools.d.ts +1 -1
  88. package/dist/tools/{call-omo-agent → call-hiai-agent}/types.d.ts +2 -2
  89. package/dist/tools/delegate-task/constants.d.ts +1 -1
  90. package/dist/tools/delegate-task/sub-agent.d.ts +1 -1
  91. package/dist/tools/index.d.ts +2 -1
  92. package/dist/tools/task/todo-sync.d.ts +1 -1
  93. package/docs/HOOKS.md +126 -0
  94. package/docs/HOOK_TIMINGS.md +58 -0
  95. package/docs/PERMISSIONS.md +84 -0
  96. package/docs/quickstart.md +60 -0
  97. package/hiai-opencode.json +14 -22
  98. package/package.json +13 -11
  99. package/skills/firecrawl-cli/SKILL.md +314 -0
  100. package/skills/firecrawl-cli/rules/install.md +98 -0
  101. package/assets/mcp/playwright.mjs +0 -83
  102. package/assets/mcp/rag.mjs +0 -236
  103. package/dist/agents/brainstormer.d.ts +0 -7
  104. package/dist/agents/guard/default-prompt-sections.d.ts +0 -6
  105. package/dist/agents/guard/default.d.ts +0 -2
  106. package/dist/agents/guard/index.d.ts +0 -2
  107. package/dist/agents/platform-manager.d.ts +0 -7
  108. package/dist/agents/prompt-library/platform.d.ts +0 -1
  109. package/dist/features/builtin-skills/skills/playwright-cli.d.ts +0 -10
  110. package/dist/hooks/guard/hook-name.d.ts +0 -1
  111. package/dist/tools/call-omo-agent/background-agent-executor.d.ts +0 -5
  112. package/dist/tools/call-omo-agent/constants.d.ts +0 -3
  113. /package/dist/hooks/{guard → manager}/background-launch-session-tracking.d.ts +0 -0
  114. /package/dist/hooks/{guard → manager}/bob-path.d.ts +0 -0
  115. /package/dist/hooks/{guard → manager}/boulder-continuation-injector.d.ts +0 -0
  116. /package/dist/hooks/{guard → manager}/boulder-session-lineage.d.ts +0 -0
  117. /package/dist/hooks/{guard → manager}/event-handler.d.ts +0 -0
  118. /package/dist/hooks/{guard → manager}/final-wave-approval-gate.d.ts +0 -0
  119. /package/dist/hooks/{guard → manager}/final-wave-plan-state.d.ts +0 -0
  120. /package/dist/hooks/{guard → manager}/guard-hook.d.ts +0 -0
  121. /package/dist/hooks/{guard → manager}/idle-event.d.ts +0 -0
  122. /package/dist/hooks/{guard → manager}/index.d.ts +0 -0
  123. /package/dist/hooks/{guard → manager}/is-abort-error.d.ts +0 -0
  124. /package/dist/hooks/{guard → manager}/recent-model-resolver.d.ts +0 -0
  125. /package/dist/hooks/{guard → manager}/resolve-active-boulder-session.d.ts +0 -0
  126. /package/dist/hooks/{guard → manager}/session-last-agent.d.ts +0 -0
  127. /package/dist/hooks/{guard → manager}/subagent-session-id.d.ts +0 -0
  128. /package/dist/hooks/{guard → manager}/task-context.d.ts +0 -0
  129. /package/dist/hooks/{guard → manager}/tool-execute-after.d.ts +0 -0
  130. /package/dist/hooks/{guard → manager}/tool-execute-before.d.ts +0 -0
  131. /package/dist/hooks/{guard → manager}/types.d.ts +0 -0
  132. /package/dist/hooks/{guard → manager}/verification-reminders.d.ts +0 -0
  133. /package/dist/hooks/{guard → manager}/write-edit-tool-policy.d.ts +0 -0
  134. /package/dist/tools/{call-omo-agent → call-hiai-agent}/agent-resolver.d.ts +0 -0
  135. /package/dist/tools/{call-omo-agent → call-hiai-agent}/completion-poller.d.ts +0 -0
  136. /package/dist/tools/{call-omo-agent → call-hiai-agent}/message-dir.d.ts +0 -0
  137. /package/dist/tools/{call-omo-agent → call-hiai-agent}/message-processor.d.ts +0 -0
  138. /package/dist/tools/{call-omo-agent → call-hiai-agent}/message-storage-directory.d.ts +0 -0
  139. /package/dist/tools/{call-omo-agent → call-hiai-agent}/tool-context-with-metadata.d.ts +0 -0
@@ -64,7 +64,7 @@ export declare const ModelSlotsConfigSchema: z.ZodObject<{
64
64
  design: "design";
65
65
  }>>;
66
66
  }, z.core.$strip>]>>;
67
- guard: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
67
+ manager: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
68
68
  model: z.ZodString;
69
69
  recommended: z.ZodOptional<z.ZodEnum<{
70
70
  high: "high";
@@ -112,7 +112,7 @@ export declare const ModelSlotsConfigSchema: z.ZodObject<{
112
112
  design: "design";
113
113
  }>>;
114
114
  }, z.core.$strip>]>>;
115
- manager: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
115
+ writer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
116
116
  model: z.ZodString;
117
117
  recommended: z.ZodOptional<z.ZodEnum<{
118
118
  high: "high";
@@ -124,7 +124,7 @@ export declare const ModelSlotsConfigSchema: z.ZodObject<{
124
124
  design: "design";
125
125
  }>>;
126
126
  }, z.core.$strip>]>>;
127
- brainstormer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
127
+ vision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
128
128
  model: z.ZodString;
129
129
  recommended: z.ZodOptional<z.ZodEnum<{
130
130
  high: "high";
@@ -136,7 +136,7 @@ export declare const ModelSlotsConfigSchema: z.ZodObject<{
136
136
  design: "design";
137
137
  }>>;
138
138
  }, z.core.$strip>]>>;
139
- vision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
139
+ sub: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
140
140
  model: z.ZodString;
141
141
  recommended: z.ZodOptional<z.ZodEnum<{
142
142
  high: "high";
@@ -148,7 +148,19 @@ export declare const ModelSlotsConfigSchema: z.ZodObject<{
148
148
  design: "design";
149
149
  }>>;
150
150
  }, z.core.$strip>]>>;
151
- sub: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
151
+ guard: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
152
+ model: z.ZodString;
153
+ recommended: z.ZodOptional<z.ZodEnum<{
154
+ high: "high";
155
+ xhigh: "xhigh";
156
+ middle: "middle";
157
+ fast: "fast";
158
+ vision: "vision";
159
+ writing: "writing";
160
+ design: "design";
161
+ }>>;
162
+ }, z.core.$strip>]>>;
163
+ brainstormer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
152
164
  model: z.ZodString;
153
165
  recommended: z.ZodOptional<z.ZodEnum<{
154
166
  high: "high";
@@ -226,10 +238,6 @@ export declare const McpServerConfigSchema: z.ZodObject<{
226
238
  remote: "remote";
227
239
  local: "local";
228
240
  }>>;
229
- provider: z.ZodOptional<z.ZodEnum<{
230
- exa: "exa";
231
- tavily: "tavily";
232
- }>>;
233
241
  url: z.ZodOptional<z.ZodString>;
234
242
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
235
243
  command: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -313,10 +321,6 @@ export declare const PermissionsConfigSchema: z.ZodObject<{
313
321
  allow: "allow";
314
322
  deny: "deny";
315
323
  }>>;
316
- websearch: z.ZodOptional<z.ZodEnum<{
317
- allow: "allow";
318
- deny: "deny";
319
- }>>;
320
324
  codesearch: z.ZodOptional<z.ZodEnum<{
321
325
  allow: "allow";
322
326
  deny: "deny";
@@ -389,7 +393,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
389
393
  design: "design";
390
394
  }>>;
391
395
  }, z.core.$strip>]>>;
392
- guard: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
396
+ manager: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
393
397
  model: z.ZodString;
394
398
  recommended: z.ZodOptional<z.ZodEnum<{
395
399
  high: "high";
@@ -437,7 +441,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
437
441
  design: "design";
438
442
  }>>;
439
443
  }, z.core.$strip>]>>;
440
- manager: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
444
+ writer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
441
445
  model: z.ZodString;
442
446
  recommended: z.ZodOptional<z.ZodEnum<{
443
447
  high: "high";
@@ -449,7 +453,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
449
453
  design: "design";
450
454
  }>>;
451
455
  }, z.core.$strip>]>>;
452
- brainstormer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
456
+ vision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
453
457
  model: z.ZodString;
454
458
  recommended: z.ZodOptional<z.ZodEnum<{
455
459
  high: "high";
@@ -461,7 +465,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
461
465
  design: "design";
462
466
  }>>;
463
467
  }, z.core.$strip>]>>;
464
- vision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
468
+ sub: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
465
469
  model: z.ZodString;
466
470
  recommended: z.ZodOptional<z.ZodEnum<{
467
471
  high: "high";
@@ -473,7 +477,19 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
473
477
  design: "design";
474
478
  }>>;
475
479
  }, z.core.$strip>]>>;
476
- sub: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
480
+ guard: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
481
+ model: z.ZodString;
482
+ recommended: z.ZodOptional<z.ZodEnum<{
483
+ high: "high";
484
+ xhigh: "xhigh";
485
+ middle: "middle";
486
+ fast: "fast";
487
+ vision: "vision";
488
+ writing: "writing";
489
+ design: "design";
490
+ }>>;
491
+ }, z.core.$strip>]>>;
492
+ brainstormer: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
477
493
  model: z.ZodString;
478
494
  recommended: z.ZodOptional<z.ZodEnum<{
479
495
  high: "high";
@@ -491,7 +507,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
491
507
  model: z.ZodString;
492
508
  description: z.ZodOptional<z.ZodString>;
493
509
  }, z.core.$strip>>;
494
- guard: z.ZodOptional<z.ZodObject<{
510
+ manager: z.ZodOptional<z.ZodObject<{
495
511
  model: z.ZodString;
496
512
  description: z.ZodOptional<z.ZodString>;
497
513
  }, z.core.$strip>>;
@@ -527,11 +543,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
527
543
  model: z.ZodString;
528
544
  description: z.ZodOptional<z.ZodString>;
529
545
  }, z.core.$strip>>;
530
- "platform-manager": z.ZodOptional<z.ZodObject<{
531
- model: z.ZodString;
532
- description: z.ZodOptional<z.ZodString>;
533
- }, z.core.$strip>>;
534
- brainstormer: z.ZodOptional<z.ZodObject<{
546
+ writer: z.ZodOptional<z.ZodObject<{
535
547
  model: z.ZodString;
536
548
  description: z.ZodOptional<z.ZodString>;
537
549
  }, z.core.$strip>>;
@@ -555,10 +567,6 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
555
567
  model: z.ZodString;
556
568
  description: z.ZodOptional<z.ZodString>;
557
569
  }, z.core.$strip>>;
558
- manager: z.ZodOptional<z.ZodObject<{
559
- model: z.ZodString;
560
- description: z.ZodOptional<z.ZodString>;
561
- }, z.core.$strip>>;
562
570
  vision: z.ZodOptional<z.ZodObject<{
563
571
  model: z.ZodString;
564
572
  description: z.ZodOptional<z.ZodString>;
@@ -603,6 +611,14 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
603
611
  model: z.ZodString;
604
612
  description: z.ZodOptional<z.ZodString>;
605
613
  }, z.core.$strip>>;
614
+ guard: z.ZodOptional<z.ZodObject<{
615
+ model: z.ZodString;
616
+ description: z.ZodOptional<z.ZodString>;
617
+ }, z.core.$strip>>;
618
+ brainstormer: z.ZodOptional<z.ZodObject<{
619
+ model: z.ZodString;
620
+ description: z.ZodOptional<z.ZodString>;
621
+ }, z.core.$strip>>;
606
622
  }, z.core.$catchall<z.ZodObject<{
607
623
  model: z.ZodString;
608
624
  description: z.ZodOptional<z.ZodString>;
@@ -630,7 +646,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
630
646
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
631
647
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
632
648
  }, z.core.$strip>>;
633
- guard: z.ZodOptional<z.ZodObject<{
649
+ manager: z.ZodOptional<z.ZodObject<{
634
650
  fallbackChain: z.ZodArray<z.ZodObject<{
635
651
  providers: z.ZodArray<z.ZodString>;
636
652
  model: z.ZodString;
@@ -828,7 +844,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
828
844
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
829
845
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
830
846
  }, z.core.$strip>>;
831
- "platform-manager": z.ZodOptional<z.ZodObject<{
847
+ writer: z.ZodOptional<z.ZodObject<{
832
848
  fallbackChain: z.ZodArray<z.ZodObject<{
833
849
  providers: z.ZodArray<z.ZodString>;
834
850
  model: z.ZodString;
@@ -850,7 +866,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
850
866
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
851
867
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
852
868
  }, z.core.$strip>>;
853
- brainstormer: z.ZodOptional<z.ZodObject<{
869
+ "agent-skills": z.ZodOptional<z.ZodObject<{
854
870
  fallbackChain: z.ZodArray<z.ZodObject<{
855
871
  providers: z.ZodArray<z.ZodString>;
856
872
  model: z.ZodString;
@@ -872,7 +888,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
872
888
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
873
889
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
874
890
  }, z.core.$strip>>;
875
- "agent-skills": z.ZodOptional<z.ZodObject<{
891
+ general: z.ZodOptional<z.ZodObject<{
876
892
  fallbackChain: z.ZodArray<z.ZodObject<{
877
893
  providers: z.ZodArray<z.ZodString>;
878
894
  model: z.ZodString;
@@ -894,7 +910,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
894
910
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
895
911
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
896
912
  }, z.core.$strip>>;
897
- general: z.ZodOptional<z.ZodObject<{
913
+ zoe: z.ZodOptional<z.ZodObject<{
898
914
  fallbackChain: z.ZodArray<z.ZodObject<{
899
915
  providers: z.ZodArray<z.ZodString>;
900
916
  model: z.ZodString;
@@ -916,7 +932,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
916
932
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
917
933
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
918
934
  }, z.core.$strip>>;
919
- zoe: z.ZodOptional<z.ZodObject<{
935
+ build: z.ZodOptional<z.ZodObject<{
920
936
  fallbackChain: z.ZodArray<z.ZodObject<{
921
937
  providers: z.ZodArray<z.ZodString>;
922
938
  model: z.ZodString;
@@ -938,7 +954,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
938
954
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
939
955
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
940
956
  }, z.core.$strip>>;
941
- build: z.ZodOptional<z.ZodObject<{
957
+ "pre-plan": z.ZodOptional<z.ZodObject<{
942
958
  fallbackChain: z.ZodArray<z.ZodObject<{
943
959
  providers: z.ZodArray<z.ZodString>;
944
960
  model: z.ZodString;
@@ -960,7 +976,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
960
976
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
961
977
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
962
978
  }, z.core.$strip>>;
963
- "pre-plan": z.ZodOptional<z.ZodObject<{
979
+ vision: z.ZodOptional<z.ZodObject<{
964
980
  fallbackChain: z.ZodArray<z.ZodObject<{
965
981
  providers: z.ZodArray<z.ZodString>;
966
982
  model: z.ZodString;
@@ -982,7 +998,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
982
998
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
983
999
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
984
1000
  }, z.core.$strip>>;
985
- manager: z.ZodOptional<z.ZodObject<{
1001
+ logician: z.ZodOptional<z.ZodObject<{
986
1002
  fallbackChain: z.ZodArray<z.ZodObject<{
987
1003
  providers: z.ZodArray<z.ZodString>;
988
1004
  model: z.ZodString;
@@ -1004,7 +1020,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1004
1020
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1005
1021
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1006
1022
  }, z.core.$strip>>;
1007
- vision: z.ZodOptional<z.ZodObject<{
1023
+ librarian: z.ZodOptional<z.ZodObject<{
1008
1024
  fallbackChain: z.ZodArray<z.ZodObject<{
1009
1025
  providers: z.ZodArray<z.ZodString>;
1010
1026
  model: z.ZodString;
@@ -1026,7 +1042,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1026
1042
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1027
1043
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1028
1044
  }, z.core.$strip>>;
1029
- logician: z.ZodOptional<z.ZodObject<{
1045
+ explore: z.ZodOptional<z.ZodObject<{
1030
1046
  fallbackChain: z.ZodArray<z.ZodObject<{
1031
1047
  providers: z.ZodArray<z.ZodString>;
1032
1048
  model: z.ZodString;
@@ -1048,7 +1064,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1048
1064
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1049
1065
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1050
1066
  }, z.core.$strip>>;
1051
- librarian: z.ZodOptional<z.ZodObject<{
1067
+ ui: z.ZodOptional<z.ZodObject<{
1052
1068
  fallbackChain: z.ZodArray<z.ZodObject<{
1053
1069
  providers: z.ZodArray<z.ZodString>;
1054
1070
  model: z.ZodString;
@@ -1070,7 +1086,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1070
1086
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1071
1087
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1072
1088
  }, z.core.$strip>>;
1073
- explore: z.ZodOptional<z.ZodObject<{
1089
+ "code-reviewer": z.ZodOptional<z.ZodObject<{
1074
1090
  fallbackChain: z.ZodArray<z.ZodObject<{
1075
1091
  providers: z.ZodArray<z.ZodString>;
1076
1092
  model: z.ZodString;
@@ -1092,7 +1108,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1092
1108
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1093
1109
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1094
1110
  }, z.core.$strip>>;
1095
- ui: z.ZodOptional<z.ZodObject<{
1111
+ "systematic-debugger": z.ZodOptional<z.ZodObject<{
1096
1112
  fallbackChain: z.ZodArray<z.ZodObject<{
1097
1113
  providers: z.ZodArray<z.ZodString>;
1098
1114
  model: z.ZodString;
@@ -1114,7 +1130,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1114
1130
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1115
1131
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1116
1132
  }, z.core.$strip>>;
1117
- "code-reviewer": z.ZodOptional<z.ZodObject<{
1133
+ mindmodel: z.ZodOptional<z.ZodObject<{
1118
1134
  fallbackChain: z.ZodArray<z.ZodObject<{
1119
1135
  providers: z.ZodArray<z.ZodString>;
1120
1136
  model: z.ZodString;
@@ -1136,7 +1152,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1136
1152
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1137
1153
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1138
1154
  }, z.core.$strip>>;
1139
- "systematic-debugger": z.ZodOptional<z.ZodObject<{
1155
+ "ledger-creator": z.ZodOptional<z.ZodObject<{
1140
1156
  fallbackChain: z.ZodArray<z.ZodObject<{
1141
1157
  providers: z.ZodArray<z.ZodString>;
1142
1158
  model: z.ZodString;
@@ -1158,7 +1174,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1158
1174
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1159
1175
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1160
1176
  }, z.core.$strip>>;
1161
- mindmodel: z.ZodOptional<z.ZodObject<{
1177
+ bootstrapper: z.ZodOptional<z.ZodObject<{
1162
1178
  fallbackChain: z.ZodArray<z.ZodObject<{
1163
1179
  providers: z.ZodArray<z.ZodString>;
1164
1180
  model: z.ZodString;
@@ -1180,7 +1196,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1180
1196
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1181
1197
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1182
1198
  }, z.core.$strip>>;
1183
- "ledger-creator": z.ZodOptional<z.ZodObject<{
1199
+ "project-initializer": z.ZodOptional<z.ZodObject<{
1184
1200
  fallbackChain: z.ZodArray<z.ZodObject<{
1185
1201
  providers: z.ZodArray<z.ZodString>;
1186
1202
  model: z.ZodString;
@@ -1202,7 +1218,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1202
1218
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1203
1219
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1204
1220
  }, z.core.$strip>>;
1205
- bootstrapper: z.ZodOptional<z.ZodObject<{
1221
+ guard: z.ZodOptional<z.ZodObject<{
1206
1222
  fallbackChain: z.ZodArray<z.ZodObject<{
1207
1223
  providers: z.ZodArray<z.ZodString>;
1208
1224
  model: z.ZodString;
@@ -1224,7 +1240,7 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1224
1240
  requiresAnyModel: z.ZodOptional<z.ZodBoolean>;
1225
1241
  requiresProvider: z.ZodOptional<z.ZodArray<z.ZodString>>;
1226
1242
  }, z.core.$strip>>;
1227
- "project-initializer": z.ZodOptional<z.ZodObject<{
1243
+ brainstormer: z.ZodOptional<z.ZodObject<{
1228
1244
  fallbackChain: z.ZodArray<z.ZodObject<{
1229
1245
  providers: z.ZodArray<z.ZodString>;
1230
1246
  model: z.ZodString;
@@ -1325,10 +1341,6 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1325
1341
  remote: "remote";
1326
1342
  local: "local";
1327
1343
  }>>;
1328
- provider: z.ZodOptional<z.ZodEnum<{
1329
- exa: "exa";
1330
- tavily: "tavily";
1331
- }>>;
1332
1344
  url: z.ZodOptional<z.ZodString>;
1333
1345
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1334
1346
  command: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1412,10 +1424,6 @@ export declare const HiaiOpencodeConfigSchema: z.ZodObject<{
1412
1424
  allow: "allow";
1413
1425
  deny: "deny";
1414
1426
  }>>;
1415
- websearch: z.ZodOptional<z.ZodEnum<{
1416
- allow: "allow";
1417
- deny: "deny";
1418
- }>>;
1419
1427
  codesearch: z.ZodOptional<z.ZodEnum<{
1420
1428
  allow: "allow";
1421
1429
  deny: "deny";
@@ -6,16 +6,15 @@ export declare const BuiltinAgentNameSchema: z.ZodEnum<{
6
6
  critic: "critic";
7
7
  designer: "designer";
8
8
  multimodal: "multimodal";
9
- brainstormer: "brainstormer";
9
+ writer: "writer";
10
10
  "agent-skills": "agent-skills";
11
- guard: "guard";
12
- "platform-manager": "platform-manager";
11
+ manager: "manager";
13
12
  "quality-guardian": "quality-guardian";
14
13
  researcher: "researcher";
15
14
  sub: "sub";
15
+ vision: "vision";
16
16
  }>;
17
17
  export declare const BuiltinSkillNameSchema: z.ZodEnum<{
18
- playwright: "playwright";
19
18
  "agent-browser": "agent-browser";
20
19
  "dev-browser": "dev-browser";
21
20
  "frontend-ui-ux": "frontend-ui-ux";
@@ -30,14 +29,14 @@ export declare const OverridableAgentNameSchema: z.ZodEnum<{
30
29
  critic: "critic";
31
30
  designer: "designer";
32
31
  multimodal: "multimodal";
33
- brainstormer: "brainstormer";
32
+ writer: "writer";
34
33
  "agent-skills": "agent-skills";
35
- guard: "guard";
36
- "platform-manager": "platform-manager";
34
+ manager: "manager";
37
35
  "quality-guardian": "quality-guardian";
38
36
  researcher: "researcher";
39
37
  sub: "sub";
40
38
  build: "build";
39
+ vision: "vision";
41
40
  general: "general";
42
41
  zoe: "zoe";
43
42
  "pre-plan": "pre-plan";
@@ -61,13 +60,13 @@ export declare const AgentNameSchema: z.ZodEnum<{
61
60
  critic: "critic";
62
61
  designer: "designer";
63
62
  multimodal: "multimodal";
64
- brainstormer: "brainstormer";
63
+ writer: "writer";
65
64
  "agent-skills": "agent-skills";
66
- guard: "guard";
67
- "platform-manager": "platform-manager";
65
+ manager: "manager";
68
66
  "quality-guardian": "quality-guardian";
69
67
  researcher: "researcher";
70
68
  sub: "sub";
69
+ vision: "vision";
71
70
  }>;
72
71
  export type AgentName = z.infer<typeof AgentNameSchema>;
73
72
  export type BuiltinSkillName = z.infer<typeof BuiltinSkillNameSchema>;