oh-my-opencode-slim.schema.json 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674
  1. {
  2. "$schema": "https://json-schema.org/draft/2020-12/schema",
  3. "type": "object",
  4. "properties": {
  5. "preset": {
  6. "type": "string"
  7. },
  8. "setDefaultAgent": {
  9. "type": "boolean"
  10. },
  11. "scoringEngineVersion": {
  12. "type": "string",
  13. "enum": [
  14. "v1",
  15. "v2-shadow",
  16. "v2"
  17. ]
  18. },
  19. "balanceProviderUsage": {
  20. "type": "boolean"
  21. },
  22. "manualPlan": {
  23. "type": "object",
  24. "properties": {
  25. "orchestrator": {
  26. "type": "object",
  27. "properties": {
  28. "primary": {
  29. "type": "string",
  30. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  31. },
  32. "fallback1": {
  33. "type": "string",
  34. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  35. },
  36. "fallback2": {
  37. "type": "string",
  38. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  39. },
  40. "fallback3": {
  41. "type": "string",
  42. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  43. }
  44. },
  45. "required": [
  46. "primary",
  47. "fallback1",
  48. "fallback2",
  49. "fallback3"
  50. ]
  51. },
  52. "oracle": {
  53. "type": "object",
  54. "properties": {
  55. "primary": {
  56. "type": "string",
  57. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  58. },
  59. "fallback1": {
  60. "type": "string",
  61. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  62. },
  63. "fallback2": {
  64. "type": "string",
  65. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  66. },
  67. "fallback3": {
  68. "type": "string",
  69. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  70. }
  71. },
  72. "required": [
  73. "primary",
  74. "fallback1",
  75. "fallback2",
  76. "fallback3"
  77. ]
  78. },
  79. "designer": {
  80. "type": "object",
  81. "properties": {
  82. "primary": {
  83. "type": "string",
  84. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  85. },
  86. "fallback1": {
  87. "type": "string",
  88. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  89. },
  90. "fallback2": {
  91. "type": "string",
  92. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  93. },
  94. "fallback3": {
  95. "type": "string",
  96. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  97. }
  98. },
  99. "required": [
  100. "primary",
  101. "fallback1",
  102. "fallback2",
  103. "fallback3"
  104. ]
  105. },
  106. "explorer": {
  107. "type": "object",
  108. "properties": {
  109. "primary": {
  110. "type": "string",
  111. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  112. },
  113. "fallback1": {
  114. "type": "string",
  115. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  116. },
  117. "fallback2": {
  118. "type": "string",
  119. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  120. },
  121. "fallback3": {
  122. "type": "string",
  123. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  124. }
  125. },
  126. "required": [
  127. "primary",
  128. "fallback1",
  129. "fallback2",
  130. "fallback3"
  131. ]
  132. },
  133. "librarian": {
  134. "type": "object",
  135. "properties": {
  136. "primary": {
  137. "type": "string",
  138. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  139. },
  140. "fallback1": {
  141. "type": "string",
  142. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  143. },
  144. "fallback2": {
  145. "type": "string",
  146. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  147. },
  148. "fallback3": {
  149. "type": "string",
  150. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  151. }
  152. },
  153. "required": [
  154. "primary",
  155. "fallback1",
  156. "fallback2",
  157. "fallback3"
  158. ]
  159. },
  160. "fixer": {
  161. "type": "object",
  162. "properties": {
  163. "primary": {
  164. "type": "string",
  165. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  166. },
  167. "fallback1": {
  168. "type": "string",
  169. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  170. },
  171. "fallback2": {
  172. "type": "string",
  173. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  174. },
  175. "fallback3": {
  176. "type": "string",
  177. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  178. }
  179. },
  180. "required": [
  181. "primary",
  182. "fallback1",
  183. "fallback2",
  184. "fallback3"
  185. ]
  186. }
  187. },
  188. "required": [
  189. "orchestrator",
  190. "oracle",
  191. "designer",
  192. "explorer",
  193. "librarian",
  194. "fixer"
  195. ],
  196. "additionalProperties": false
  197. },
  198. "presets": {
  199. "type": "object",
  200. "propertyNames": {
  201. "type": "string"
  202. },
  203. "additionalProperties": {
  204. "type": "object",
  205. "propertyNames": {
  206. "type": "string"
  207. },
  208. "additionalProperties": {
  209. "type": "object",
  210. "properties": {
  211. "model": {
  212. "anyOf": [
  213. {
  214. "type": "string"
  215. },
  216. {
  217. "type": "array",
  218. "items": {
  219. "anyOf": [
  220. {
  221. "type": "string"
  222. },
  223. {
  224. "type": "object",
  225. "properties": {
  226. "id": {
  227. "type": "string"
  228. },
  229. "variant": {
  230. "type": "string"
  231. }
  232. },
  233. "required": [
  234. "id"
  235. ]
  236. }
  237. ]
  238. }
  239. }
  240. ]
  241. },
  242. "temperature": {
  243. "type": "number",
  244. "minimum": 0,
  245. "maximum": 2
  246. },
  247. "variant": {
  248. "type": "string"
  249. },
  250. "skills": {
  251. "type": "array",
  252. "items": {
  253. "type": "string"
  254. }
  255. },
  256. "mcps": {
  257. "type": "array",
  258. "items": {
  259. "type": "string"
  260. }
  261. },
  262. "options": {
  263. "type": "object",
  264. "propertyNames": {
  265. "type": "string"
  266. },
  267. "additionalProperties": {}
  268. },
  269. "displayName": {
  270. "type": "string",
  271. "minLength": 1
  272. }
  273. }
  274. }
  275. }
  276. },
  277. "agents": {
  278. "type": "object",
  279. "propertyNames": {
  280. "type": "string"
  281. },
  282. "additionalProperties": {
  283. "type": "object",
  284. "properties": {
  285. "model": {
  286. "anyOf": [
  287. {
  288. "type": "string"
  289. },
  290. {
  291. "type": "array",
  292. "items": {
  293. "anyOf": [
  294. {
  295. "type": "string"
  296. },
  297. {
  298. "type": "object",
  299. "properties": {
  300. "id": {
  301. "type": "string"
  302. },
  303. "variant": {
  304. "type": "string"
  305. }
  306. },
  307. "required": [
  308. "id"
  309. ]
  310. }
  311. ]
  312. }
  313. }
  314. ]
  315. },
  316. "temperature": {
  317. "type": "number",
  318. "minimum": 0,
  319. "maximum": 2
  320. },
  321. "variant": {
  322. "type": "string"
  323. },
  324. "skills": {
  325. "type": "array",
  326. "items": {
  327. "type": "string"
  328. }
  329. },
  330. "mcps": {
  331. "type": "array",
  332. "items": {
  333. "type": "string"
  334. }
  335. },
  336. "options": {
  337. "type": "object",
  338. "propertyNames": {
  339. "type": "string"
  340. },
  341. "additionalProperties": {}
  342. },
  343. "displayName": {
  344. "type": "string",
  345. "minLength": 1
  346. }
  347. }
  348. }
  349. },
  350. "disabled_agents": {
  351. "description": "Agent names to disable completely. Disabled agents are not instantiated and cannot be delegated to. Orchestrator and council internal agents (councillor, council-master) cannot be disabled. By default, 'observer' is disabled. Remove it from this list and configure a vision-capable model to enable.",
  352. "type": "array",
  353. "items": {
  354. "type": "string"
  355. }
  356. },
  357. "disabled_mcps": {
  358. "type": "array",
  359. "items": {
  360. "type": "string"
  361. }
  362. },
  363. "multiplexer": {
  364. "type": "object",
  365. "properties": {
  366. "type": {
  367. "default": "none",
  368. "type": "string",
  369. "enum": [
  370. "auto",
  371. "tmux",
  372. "zellij",
  373. "none"
  374. ]
  375. },
  376. "layout": {
  377. "default": "main-vertical",
  378. "type": "string",
  379. "enum": [
  380. "main-horizontal",
  381. "main-vertical",
  382. "tiled",
  383. "even-horizontal",
  384. "even-vertical"
  385. ]
  386. },
  387. "main_pane_size": {
  388. "default": 60,
  389. "type": "number",
  390. "minimum": 20,
  391. "maximum": 80
  392. }
  393. }
  394. },
  395. "tmux": {
  396. "type": "object",
  397. "properties": {
  398. "enabled": {
  399. "default": false,
  400. "type": "boolean"
  401. },
  402. "layout": {
  403. "default": "main-vertical",
  404. "type": "string",
  405. "enum": [
  406. "main-horizontal",
  407. "main-vertical",
  408. "tiled",
  409. "even-horizontal",
  410. "even-vertical"
  411. ]
  412. },
  413. "main_pane_size": {
  414. "default": 60,
  415. "type": "number",
  416. "minimum": 20,
  417. "maximum": 80
  418. }
  419. }
  420. },
  421. "websearch": {
  422. "type": "object",
  423. "properties": {
  424. "provider": {
  425. "default": "exa",
  426. "type": "string",
  427. "enum": [
  428. "exa",
  429. "tavily"
  430. ]
  431. }
  432. }
  433. },
  434. "background": {
  435. "type": "object",
  436. "properties": {
  437. "maxConcurrentStarts": {
  438. "default": 10,
  439. "type": "number",
  440. "minimum": 1,
  441. "maximum": 50
  442. }
  443. }
  444. },
  445. "interview": {
  446. "type": "object",
  447. "properties": {
  448. "maxQuestions": {
  449. "default": 2,
  450. "type": "integer",
  451. "minimum": 1,
  452. "maximum": 10
  453. },
  454. "outputFolder": {
  455. "default": "interview",
  456. "type": "string",
  457. "minLength": 1
  458. },
  459. "autoOpenBrowser": {
  460. "default": true,
  461. "type": "boolean"
  462. },
  463. "port": {
  464. "default": 0,
  465. "type": "integer",
  466. "minimum": 0,
  467. "maximum": 65535
  468. },
  469. "dashboard": {
  470. "default": false,
  471. "type": "boolean"
  472. }
  473. }
  474. },
  475. "todoContinuation": {
  476. "type": "object",
  477. "properties": {
  478. "maxContinuations": {
  479. "default": 5,
  480. "description": "Maximum consecutive auto-continuations before stopping to ask user",
  481. "type": "integer",
  482. "minimum": 1,
  483. "maximum": 50
  484. },
  485. "cooldownMs": {
  486. "default": 3000,
  487. "description": "Delay in ms before auto-continuing (gives user time to abort)",
  488. "type": "integer",
  489. "minimum": 0,
  490. "maximum": 30000
  491. },
  492. "autoEnable": {
  493. "default": false,
  494. "description": "Automatically enable auto-continue when the orchestrator session has enough todos",
  495. "type": "boolean"
  496. },
  497. "autoEnableThreshold": {
  498. "default": 4,
  499. "description": "Number of todos that triggers auto-enable (only used when autoEnable is true)",
  500. "type": "integer",
  501. "minimum": 1,
  502. "maximum": 50
  503. }
  504. }
  505. },
  506. "fallback": {
  507. "type": "object",
  508. "properties": {
  509. "enabled": {
  510. "default": true,
  511. "type": "boolean"
  512. },
  513. "timeoutMs": {
  514. "default": 15000,
  515. "type": "number",
  516. "minimum": 0
  517. },
  518. "retryDelayMs": {
  519. "default": 500,
  520. "type": "number",
  521. "minimum": 0
  522. },
  523. "chains": {
  524. "default": {},
  525. "type": "object",
  526. "properties": {
  527. "orchestrator": {
  528. "minItems": 1,
  529. "type": "array",
  530. "items": {
  531. "type": "string"
  532. }
  533. },
  534. "oracle": {
  535. "minItems": 1,
  536. "type": "array",
  537. "items": {
  538. "type": "string"
  539. }
  540. },
  541. "designer": {
  542. "minItems": 1,
  543. "type": "array",
  544. "items": {
  545. "type": "string"
  546. }
  547. },
  548. "explorer": {
  549. "minItems": 1,
  550. "type": "array",
  551. "items": {
  552. "type": "string"
  553. }
  554. },
  555. "librarian": {
  556. "minItems": 1,
  557. "type": "array",
  558. "items": {
  559. "type": "string"
  560. }
  561. },
  562. "fixer": {
  563. "minItems": 1,
  564. "type": "array",
  565. "items": {
  566. "type": "string"
  567. }
  568. }
  569. },
  570. "additionalProperties": {
  571. "minItems": 1,
  572. "type": "array",
  573. "items": {
  574. "type": "string"
  575. }
  576. }
  577. },
  578. "retry_on_empty": {
  579. "default": true,
  580. "description": "When true (default), empty provider responses are treated as failures, triggering fallback/retry. Set to false to treat them as successes.",
  581. "type": "boolean"
  582. }
  583. }
  584. },
  585. "council": {
  586. "type": "object",
  587. "properties": {
  588. "master": {
  589. "type": "object",
  590. "properties": {
  591. "model": {
  592. "type": "string",
  593. "pattern": "^[^/\\s]+\\/[^\\s]+$",
  594. "description": "Model ID for the council master (e.g. \"anthropic/claude-opus-4-6\")"
  595. },
  596. "variant": {
  597. "type": "string"
  598. },
  599. "prompt": {
  600. "description": "Optional role/guidance injected into the master synthesis prompt",
  601. "type": "string"
  602. }
  603. },
  604. "required": [
  605. "model"
  606. ]
  607. },
  608. "presets": {
  609. "type": "object",
  610. "propertyNames": {
  611. "type": "string"
  612. },
  613. "additionalProperties": {
  614. "type": "object",
  615. "propertyNames": {
  616. "type": "string"
  617. },
  618. "additionalProperties": {
  619. "type": "object",
  620. "propertyNames": {
  621. "type": "string"
  622. },
  623. "additionalProperties": {}
  624. }
  625. }
  626. },
  627. "master_timeout": {
  628. "default": 300000,
  629. "type": "number",
  630. "minimum": 0
  631. },
  632. "councillors_timeout": {
  633. "default": 180000,
  634. "type": "number",
  635. "minimum": 0
  636. },
  637. "default_preset": {
  638. "default": "default",
  639. "type": "string"
  640. },
  641. "master_fallback": {
  642. "description": "Fallback models for the council master. Tried in order if the primary model fails. Example: [\"anthropic/claude-sonnet-4-6\", \"openai/gpt-5.4\"]",
  643. "type": "array",
  644. "items": {
  645. "type": "string",
  646. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  647. }
  648. },
  649. "councillor_execution_mode": {
  650. "default": "parallel",
  651. "description": "Execution mode for councillors. \"serial\" runs them one at a time (required for single-model systems). \"parallel\" runs them concurrently (default, faster for multi-model systems).",
  652. "type": "string",
  653. "enum": [
  654. "parallel",
  655. "serial"
  656. ]
  657. },
  658. "councillor_retries": {
  659. "default": 3,
  660. "description": "Number of retry attempts for councillors and master that return empty responses (e.g. due to provider rate limiting). Default: 3 retries.",
  661. "type": "integer",
  662. "minimum": 0,
  663. "maximum": 5
  664. }
  665. },
  666. "required": [
  667. "master",
  668. "presets"
  669. ]
  670. }
  671. },
  672. "title": "oh-my-opencode-slim",
  673. "description": "Configuration schema for oh-my-opencode-slim plugin for OpenCode"
  674. }