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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666
  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. }
  270. }
  271. }
  272. },
  273. "agents": {
  274. "type": "object",
  275. "propertyNames": {
  276. "type": "string"
  277. },
  278. "additionalProperties": {
  279. "type": "object",
  280. "properties": {
  281. "model": {
  282. "anyOf": [
  283. {
  284. "type": "string"
  285. },
  286. {
  287. "type": "array",
  288. "items": {
  289. "anyOf": [
  290. {
  291. "type": "string"
  292. },
  293. {
  294. "type": "object",
  295. "properties": {
  296. "id": {
  297. "type": "string"
  298. },
  299. "variant": {
  300. "type": "string"
  301. }
  302. },
  303. "required": [
  304. "id"
  305. ]
  306. }
  307. ]
  308. }
  309. }
  310. ]
  311. },
  312. "temperature": {
  313. "type": "number",
  314. "minimum": 0,
  315. "maximum": 2
  316. },
  317. "variant": {
  318. "type": "string"
  319. },
  320. "skills": {
  321. "type": "array",
  322. "items": {
  323. "type": "string"
  324. }
  325. },
  326. "mcps": {
  327. "type": "array",
  328. "items": {
  329. "type": "string"
  330. }
  331. },
  332. "options": {
  333. "type": "object",
  334. "propertyNames": {
  335. "type": "string"
  336. },
  337. "additionalProperties": {}
  338. }
  339. }
  340. }
  341. },
  342. "disabled_agents": {
  343. "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.",
  344. "type": "array",
  345. "items": {
  346. "type": "string"
  347. }
  348. },
  349. "disabled_mcps": {
  350. "type": "array",
  351. "items": {
  352. "type": "string"
  353. }
  354. },
  355. "multiplexer": {
  356. "type": "object",
  357. "properties": {
  358. "type": {
  359. "default": "none",
  360. "type": "string",
  361. "enum": [
  362. "auto",
  363. "tmux",
  364. "zellij",
  365. "none"
  366. ]
  367. },
  368. "layout": {
  369. "default": "main-vertical",
  370. "type": "string",
  371. "enum": [
  372. "main-horizontal",
  373. "main-vertical",
  374. "tiled",
  375. "even-horizontal",
  376. "even-vertical"
  377. ]
  378. },
  379. "main_pane_size": {
  380. "default": 60,
  381. "type": "number",
  382. "minimum": 20,
  383. "maximum": 80
  384. }
  385. }
  386. },
  387. "tmux": {
  388. "type": "object",
  389. "properties": {
  390. "enabled": {
  391. "default": false,
  392. "type": "boolean"
  393. },
  394. "layout": {
  395. "default": "main-vertical",
  396. "type": "string",
  397. "enum": [
  398. "main-horizontal",
  399. "main-vertical",
  400. "tiled",
  401. "even-horizontal",
  402. "even-vertical"
  403. ]
  404. },
  405. "main_pane_size": {
  406. "default": 60,
  407. "type": "number",
  408. "minimum": 20,
  409. "maximum": 80
  410. }
  411. }
  412. },
  413. "websearch": {
  414. "type": "object",
  415. "properties": {
  416. "provider": {
  417. "default": "exa",
  418. "type": "string",
  419. "enum": [
  420. "exa",
  421. "tavily"
  422. ]
  423. }
  424. }
  425. },
  426. "background": {
  427. "type": "object",
  428. "properties": {
  429. "maxConcurrentStarts": {
  430. "default": 10,
  431. "type": "number",
  432. "minimum": 1,
  433. "maximum": 50
  434. }
  435. }
  436. },
  437. "interview": {
  438. "type": "object",
  439. "properties": {
  440. "maxQuestions": {
  441. "default": 2,
  442. "type": "integer",
  443. "minimum": 1,
  444. "maximum": 10
  445. },
  446. "outputFolder": {
  447. "default": "interview",
  448. "type": "string",
  449. "minLength": 1
  450. },
  451. "autoOpenBrowser": {
  452. "default": true,
  453. "type": "boolean"
  454. },
  455. "port": {
  456. "default": 0,
  457. "type": "integer",
  458. "minimum": 0,
  459. "maximum": 65535
  460. },
  461. "dashboard": {
  462. "default": false,
  463. "type": "boolean"
  464. }
  465. }
  466. },
  467. "todoContinuation": {
  468. "type": "object",
  469. "properties": {
  470. "maxContinuations": {
  471. "default": 5,
  472. "description": "Maximum consecutive auto-continuations before stopping to ask user",
  473. "type": "integer",
  474. "minimum": 1,
  475. "maximum": 50
  476. },
  477. "cooldownMs": {
  478. "default": 3000,
  479. "description": "Delay in ms before auto-continuing (gives user time to abort)",
  480. "type": "integer",
  481. "minimum": 0,
  482. "maximum": 30000
  483. },
  484. "autoEnable": {
  485. "default": false,
  486. "description": "Automatically enable auto-continue when the orchestrator session has enough todos",
  487. "type": "boolean"
  488. },
  489. "autoEnableThreshold": {
  490. "default": 4,
  491. "description": "Number of todos that triggers auto-enable (only used when autoEnable is true)",
  492. "type": "integer",
  493. "minimum": 1,
  494. "maximum": 50
  495. }
  496. }
  497. },
  498. "fallback": {
  499. "type": "object",
  500. "properties": {
  501. "enabled": {
  502. "default": true,
  503. "type": "boolean"
  504. },
  505. "timeoutMs": {
  506. "default": 15000,
  507. "type": "number",
  508. "minimum": 0
  509. },
  510. "retryDelayMs": {
  511. "default": 500,
  512. "type": "number",
  513. "minimum": 0
  514. },
  515. "chains": {
  516. "default": {},
  517. "type": "object",
  518. "properties": {
  519. "orchestrator": {
  520. "minItems": 1,
  521. "type": "array",
  522. "items": {
  523. "type": "string"
  524. }
  525. },
  526. "oracle": {
  527. "minItems": 1,
  528. "type": "array",
  529. "items": {
  530. "type": "string"
  531. }
  532. },
  533. "designer": {
  534. "minItems": 1,
  535. "type": "array",
  536. "items": {
  537. "type": "string"
  538. }
  539. },
  540. "explorer": {
  541. "minItems": 1,
  542. "type": "array",
  543. "items": {
  544. "type": "string"
  545. }
  546. },
  547. "librarian": {
  548. "minItems": 1,
  549. "type": "array",
  550. "items": {
  551. "type": "string"
  552. }
  553. },
  554. "fixer": {
  555. "minItems": 1,
  556. "type": "array",
  557. "items": {
  558. "type": "string"
  559. }
  560. }
  561. },
  562. "additionalProperties": {
  563. "minItems": 1,
  564. "type": "array",
  565. "items": {
  566. "type": "string"
  567. }
  568. }
  569. },
  570. "retry_on_empty": {
  571. "default": true,
  572. "description": "When true (default), empty provider responses are treated as failures, triggering fallback/retry. Set to false to treat them as successes.",
  573. "type": "boolean"
  574. }
  575. }
  576. },
  577. "council": {
  578. "type": "object",
  579. "properties": {
  580. "master": {
  581. "type": "object",
  582. "properties": {
  583. "model": {
  584. "type": "string",
  585. "pattern": "^[^/\\s]+\\/[^\\s]+$",
  586. "description": "Model ID for the council master (e.g. \"anthropic/claude-opus-4-6\")"
  587. },
  588. "variant": {
  589. "type": "string"
  590. },
  591. "prompt": {
  592. "description": "Optional role/guidance injected into the master synthesis prompt",
  593. "type": "string"
  594. }
  595. },
  596. "required": [
  597. "model"
  598. ]
  599. },
  600. "presets": {
  601. "type": "object",
  602. "propertyNames": {
  603. "type": "string"
  604. },
  605. "additionalProperties": {
  606. "type": "object",
  607. "propertyNames": {
  608. "type": "string"
  609. },
  610. "additionalProperties": {
  611. "type": "object",
  612. "propertyNames": {
  613. "type": "string"
  614. },
  615. "additionalProperties": {}
  616. }
  617. }
  618. },
  619. "master_timeout": {
  620. "default": 300000,
  621. "type": "number",
  622. "minimum": 0
  623. },
  624. "councillors_timeout": {
  625. "default": 180000,
  626. "type": "number",
  627. "minimum": 0
  628. },
  629. "default_preset": {
  630. "default": "default",
  631. "type": "string"
  632. },
  633. "master_fallback": {
  634. "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\"]",
  635. "type": "array",
  636. "items": {
  637. "type": "string",
  638. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  639. }
  640. },
  641. "councillor_execution_mode": {
  642. "default": "parallel",
  643. "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).",
  644. "type": "string",
  645. "enum": [
  646. "parallel",
  647. "serial"
  648. ]
  649. },
  650. "councillor_retries": {
  651. "default": 3,
  652. "description": "Number of retry attempts for councillors and master that return empty responses (e.g. due to provider rate limiting). Default: 3 retries.",
  653. "type": "integer",
  654. "minimum": 0,
  655. "maximum": 5
  656. }
  657. },
  658. "required": [
  659. "master",
  660. "presets"
  661. ]
  662. }
  663. },
  664. "title": "oh-my-opencode-slim",
  665. "description": "Configuration schema for oh-my-opencode-slim plugin for OpenCode"
  666. }