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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290
  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. "compactSidebar": {
  12. "description": "Use the compact TUI sidebar layout. Defaults to true; set false to use the expanded layout.",
  13. "type": "boolean"
  14. },
  15. "stripOrchestratorModel": {
  16. "description": "When true, omit orchestrator.model and orchestrator.variant from the SDK config so OpenCode uses the session model selected with /model after subagent dispatch. An explicitly selected preset that sets orchestrator.model is preserved. Defaults to false.",
  17. "type": "boolean"
  18. },
  19. "autoUpdate": {
  20. "description": "Disable automatic installation of plugin updates when false. Defaults to true.",
  21. "type": "boolean"
  22. },
  23. "presets": {
  24. "type": "object",
  25. "propertyNames": {
  26. "type": "string"
  27. },
  28. "additionalProperties": {
  29. "type": "object",
  30. "propertyNames": {
  31. "type": "string"
  32. },
  33. "additionalProperties": {
  34. "type": "object",
  35. "properties": {
  36. "model": {
  37. "anyOf": [
  38. {
  39. "type": "string"
  40. },
  41. {
  42. "minItems": 1,
  43. "type": "array",
  44. "items": {
  45. "anyOf": [
  46. {
  47. "type": "string"
  48. },
  49. {
  50. "type": "object",
  51. "properties": {
  52. "id": {
  53. "type": "string"
  54. },
  55. "variant": {
  56. "type": "string"
  57. }
  58. },
  59. "required": [
  60. "id"
  61. ]
  62. }
  63. ]
  64. }
  65. }
  66. ]
  67. },
  68. "temperature": {
  69. "type": "number",
  70. "minimum": 0,
  71. "maximum": 2
  72. },
  73. "variant": {
  74. "type": "string"
  75. },
  76. "skills": {
  77. "type": "array",
  78. "items": {
  79. "type": "string"
  80. }
  81. },
  82. "mcps": {
  83. "type": "array",
  84. "items": {
  85. "type": "string"
  86. }
  87. },
  88. "prompt": {
  89. "type": "string",
  90. "minLength": 1
  91. },
  92. "orchestratorPrompt": {
  93. "type": "string",
  94. "minLength": 1
  95. },
  96. "options": {
  97. "type": "object",
  98. "propertyNames": {
  99. "type": "string"
  100. },
  101. "additionalProperties": {}
  102. },
  103. "displayName": {
  104. "type": "string",
  105. "minLength": 1
  106. },
  107. "permission": {
  108. "anyOf": [
  109. {
  110. "type": "string",
  111. "enum": [
  112. "ask",
  113. "allow",
  114. "deny"
  115. ]
  116. },
  117. {
  118. "type": "object",
  119. "properties": {
  120. "read": {
  121. "anyOf": [
  122. {
  123. "type": "string",
  124. "enum": [
  125. "ask",
  126. "allow",
  127. "deny"
  128. ]
  129. },
  130. {
  131. "type": "object",
  132. "propertyNames": {
  133. "type": "string"
  134. },
  135. "additionalProperties": {
  136. "type": "string",
  137. "enum": [
  138. "ask",
  139. "allow",
  140. "deny"
  141. ]
  142. }
  143. }
  144. ]
  145. },
  146. "edit": {
  147. "anyOf": [
  148. {
  149. "type": "string",
  150. "enum": [
  151. "ask",
  152. "allow",
  153. "deny"
  154. ]
  155. },
  156. {
  157. "type": "object",
  158. "propertyNames": {
  159. "type": "string"
  160. },
  161. "additionalProperties": {
  162. "type": "string",
  163. "enum": [
  164. "ask",
  165. "allow",
  166. "deny"
  167. ]
  168. }
  169. }
  170. ]
  171. },
  172. "glob": {
  173. "anyOf": [
  174. {
  175. "type": "string",
  176. "enum": [
  177. "ask",
  178. "allow",
  179. "deny"
  180. ]
  181. },
  182. {
  183. "type": "object",
  184. "propertyNames": {
  185. "type": "string"
  186. },
  187. "additionalProperties": {
  188. "type": "string",
  189. "enum": [
  190. "ask",
  191. "allow",
  192. "deny"
  193. ]
  194. }
  195. }
  196. ]
  197. },
  198. "grep": {
  199. "anyOf": [
  200. {
  201. "type": "string",
  202. "enum": [
  203. "ask",
  204. "allow",
  205. "deny"
  206. ]
  207. },
  208. {
  209. "type": "object",
  210. "propertyNames": {
  211. "type": "string"
  212. },
  213. "additionalProperties": {
  214. "type": "string",
  215. "enum": [
  216. "ask",
  217. "allow",
  218. "deny"
  219. ]
  220. }
  221. }
  222. ]
  223. },
  224. "list": {
  225. "anyOf": [
  226. {
  227. "type": "string",
  228. "enum": [
  229. "ask",
  230. "allow",
  231. "deny"
  232. ]
  233. },
  234. {
  235. "type": "object",
  236. "propertyNames": {
  237. "type": "string"
  238. },
  239. "additionalProperties": {
  240. "type": "string",
  241. "enum": [
  242. "ask",
  243. "allow",
  244. "deny"
  245. ]
  246. }
  247. }
  248. ]
  249. },
  250. "bash": {
  251. "anyOf": [
  252. {
  253. "type": "string",
  254. "enum": [
  255. "ask",
  256. "allow",
  257. "deny"
  258. ]
  259. },
  260. {
  261. "type": "object",
  262. "propertyNames": {
  263. "type": "string"
  264. },
  265. "additionalProperties": {
  266. "type": "string",
  267. "enum": [
  268. "ask",
  269. "allow",
  270. "deny"
  271. ]
  272. }
  273. }
  274. ]
  275. },
  276. "task": {
  277. "anyOf": [
  278. {
  279. "type": "string",
  280. "enum": [
  281. "ask",
  282. "allow",
  283. "deny"
  284. ]
  285. },
  286. {
  287. "type": "object",
  288. "propertyNames": {
  289. "type": "string"
  290. },
  291. "additionalProperties": {
  292. "type": "string",
  293. "enum": [
  294. "ask",
  295. "allow",
  296. "deny"
  297. ]
  298. }
  299. }
  300. ]
  301. },
  302. "external_directory": {
  303. "anyOf": [
  304. {
  305. "type": "string",
  306. "enum": [
  307. "ask",
  308. "allow",
  309. "deny"
  310. ]
  311. },
  312. {
  313. "type": "object",
  314. "propertyNames": {
  315. "type": "string"
  316. },
  317. "additionalProperties": {
  318. "type": "string",
  319. "enum": [
  320. "ask",
  321. "allow",
  322. "deny"
  323. ]
  324. }
  325. }
  326. ]
  327. },
  328. "lsp": {
  329. "anyOf": [
  330. {
  331. "type": "string",
  332. "enum": [
  333. "ask",
  334. "allow",
  335. "deny"
  336. ]
  337. },
  338. {
  339. "type": "object",
  340. "propertyNames": {
  341. "type": "string"
  342. },
  343. "additionalProperties": {
  344. "type": "string",
  345. "enum": [
  346. "ask",
  347. "allow",
  348. "deny"
  349. ]
  350. }
  351. }
  352. ]
  353. },
  354. "skill": {
  355. "anyOf": [
  356. {
  357. "type": "string",
  358. "enum": [
  359. "ask",
  360. "allow",
  361. "deny"
  362. ]
  363. },
  364. {
  365. "type": "object",
  366. "propertyNames": {
  367. "type": "string"
  368. },
  369. "additionalProperties": {
  370. "type": "string",
  371. "enum": [
  372. "ask",
  373. "allow",
  374. "deny"
  375. ]
  376. }
  377. }
  378. ]
  379. },
  380. "todowrite": {
  381. "type": "string",
  382. "enum": [
  383. "ask",
  384. "allow",
  385. "deny"
  386. ]
  387. },
  388. "question": {
  389. "type": "string",
  390. "enum": [
  391. "ask",
  392. "allow",
  393. "deny"
  394. ]
  395. },
  396. "webfetch": {
  397. "type": "string",
  398. "enum": [
  399. "ask",
  400. "allow",
  401. "deny"
  402. ]
  403. },
  404. "websearch": {
  405. "type": "string",
  406. "enum": [
  407. "ask",
  408. "allow",
  409. "deny"
  410. ]
  411. },
  412. "codesearch": {
  413. "type": "string",
  414. "enum": [
  415. "ask",
  416. "allow",
  417. "deny"
  418. ]
  419. },
  420. "doom_loop": {
  421. "type": "string",
  422. "enum": [
  423. "ask",
  424. "allow",
  425. "deny"
  426. ]
  427. }
  428. },
  429. "additionalProperties": {
  430. "anyOf": [
  431. {
  432. "type": "string",
  433. "enum": [
  434. "ask",
  435. "allow",
  436. "deny"
  437. ]
  438. },
  439. {
  440. "type": "object",
  441. "propertyNames": {
  442. "type": "string"
  443. },
  444. "additionalProperties": {
  445. "type": "string",
  446. "enum": [
  447. "ask",
  448. "allow",
  449. "deny"
  450. ]
  451. }
  452. }
  453. ]
  454. }
  455. }
  456. ]
  457. }
  458. },
  459. "additionalProperties": false
  460. }
  461. }
  462. },
  463. "agents": {
  464. "type": "object",
  465. "propertyNames": {
  466. "type": "string"
  467. },
  468. "additionalProperties": {
  469. "type": "object",
  470. "properties": {
  471. "model": {
  472. "anyOf": [
  473. {
  474. "type": "string"
  475. },
  476. {
  477. "minItems": 1,
  478. "type": "array",
  479. "items": {
  480. "anyOf": [
  481. {
  482. "type": "string"
  483. },
  484. {
  485. "type": "object",
  486. "properties": {
  487. "id": {
  488. "type": "string"
  489. },
  490. "variant": {
  491. "type": "string"
  492. }
  493. },
  494. "required": [
  495. "id"
  496. ]
  497. }
  498. ]
  499. }
  500. }
  501. ]
  502. },
  503. "temperature": {
  504. "type": "number",
  505. "minimum": 0,
  506. "maximum": 2
  507. },
  508. "variant": {
  509. "type": "string"
  510. },
  511. "skills": {
  512. "type": "array",
  513. "items": {
  514. "type": "string"
  515. }
  516. },
  517. "mcps": {
  518. "type": "array",
  519. "items": {
  520. "type": "string"
  521. }
  522. },
  523. "prompt": {
  524. "type": "string",
  525. "minLength": 1
  526. },
  527. "orchestratorPrompt": {
  528. "type": "string",
  529. "minLength": 1
  530. },
  531. "options": {
  532. "type": "object",
  533. "propertyNames": {
  534. "type": "string"
  535. },
  536. "additionalProperties": {}
  537. },
  538. "displayName": {
  539. "type": "string",
  540. "minLength": 1
  541. },
  542. "permission": {
  543. "anyOf": [
  544. {
  545. "type": "string",
  546. "enum": [
  547. "ask",
  548. "allow",
  549. "deny"
  550. ]
  551. },
  552. {
  553. "type": "object",
  554. "properties": {
  555. "read": {
  556. "anyOf": [
  557. {
  558. "type": "string",
  559. "enum": [
  560. "ask",
  561. "allow",
  562. "deny"
  563. ]
  564. },
  565. {
  566. "type": "object",
  567. "propertyNames": {
  568. "type": "string"
  569. },
  570. "additionalProperties": {
  571. "type": "string",
  572. "enum": [
  573. "ask",
  574. "allow",
  575. "deny"
  576. ]
  577. }
  578. }
  579. ]
  580. },
  581. "edit": {
  582. "anyOf": [
  583. {
  584. "type": "string",
  585. "enum": [
  586. "ask",
  587. "allow",
  588. "deny"
  589. ]
  590. },
  591. {
  592. "type": "object",
  593. "propertyNames": {
  594. "type": "string"
  595. },
  596. "additionalProperties": {
  597. "type": "string",
  598. "enum": [
  599. "ask",
  600. "allow",
  601. "deny"
  602. ]
  603. }
  604. }
  605. ]
  606. },
  607. "glob": {
  608. "anyOf": [
  609. {
  610. "type": "string",
  611. "enum": [
  612. "ask",
  613. "allow",
  614. "deny"
  615. ]
  616. },
  617. {
  618. "type": "object",
  619. "propertyNames": {
  620. "type": "string"
  621. },
  622. "additionalProperties": {
  623. "type": "string",
  624. "enum": [
  625. "ask",
  626. "allow",
  627. "deny"
  628. ]
  629. }
  630. }
  631. ]
  632. },
  633. "grep": {
  634. "anyOf": [
  635. {
  636. "type": "string",
  637. "enum": [
  638. "ask",
  639. "allow",
  640. "deny"
  641. ]
  642. },
  643. {
  644. "type": "object",
  645. "propertyNames": {
  646. "type": "string"
  647. },
  648. "additionalProperties": {
  649. "type": "string",
  650. "enum": [
  651. "ask",
  652. "allow",
  653. "deny"
  654. ]
  655. }
  656. }
  657. ]
  658. },
  659. "list": {
  660. "anyOf": [
  661. {
  662. "type": "string",
  663. "enum": [
  664. "ask",
  665. "allow",
  666. "deny"
  667. ]
  668. },
  669. {
  670. "type": "object",
  671. "propertyNames": {
  672. "type": "string"
  673. },
  674. "additionalProperties": {
  675. "type": "string",
  676. "enum": [
  677. "ask",
  678. "allow",
  679. "deny"
  680. ]
  681. }
  682. }
  683. ]
  684. },
  685. "bash": {
  686. "anyOf": [
  687. {
  688. "type": "string",
  689. "enum": [
  690. "ask",
  691. "allow",
  692. "deny"
  693. ]
  694. },
  695. {
  696. "type": "object",
  697. "propertyNames": {
  698. "type": "string"
  699. },
  700. "additionalProperties": {
  701. "type": "string",
  702. "enum": [
  703. "ask",
  704. "allow",
  705. "deny"
  706. ]
  707. }
  708. }
  709. ]
  710. },
  711. "task": {
  712. "anyOf": [
  713. {
  714. "type": "string",
  715. "enum": [
  716. "ask",
  717. "allow",
  718. "deny"
  719. ]
  720. },
  721. {
  722. "type": "object",
  723. "propertyNames": {
  724. "type": "string"
  725. },
  726. "additionalProperties": {
  727. "type": "string",
  728. "enum": [
  729. "ask",
  730. "allow",
  731. "deny"
  732. ]
  733. }
  734. }
  735. ]
  736. },
  737. "external_directory": {
  738. "anyOf": [
  739. {
  740. "type": "string",
  741. "enum": [
  742. "ask",
  743. "allow",
  744. "deny"
  745. ]
  746. },
  747. {
  748. "type": "object",
  749. "propertyNames": {
  750. "type": "string"
  751. },
  752. "additionalProperties": {
  753. "type": "string",
  754. "enum": [
  755. "ask",
  756. "allow",
  757. "deny"
  758. ]
  759. }
  760. }
  761. ]
  762. },
  763. "lsp": {
  764. "anyOf": [
  765. {
  766. "type": "string",
  767. "enum": [
  768. "ask",
  769. "allow",
  770. "deny"
  771. ]
  772. },
  773. {
  774. "type": "object",
  775. "propertyNames": {
  776. "type": "string"
  777. },
  778. "additionalProperties": {
  779. "type": "string",
  780. "enum": [
  781. "ask",
  782. "allow",
  783. "deny"
  784. ]
  785. }
  786. }
  787. ]
  788. },
  789. "skill": {
  790. "anyOf": [
  791. {
  792. "type": "string",
  793. "enum": [
  794. "ask",
  795. "allow",
  796. "deny"
  797. ]
  798. },
  799. {
  800. "type": "object",
  801. "propertyNames": {
  802. "type": "string"
  803. },
  804. "additionalProperties": {
  805. "type": "string",
  806. "enum": [
  807. "ask",
  808. "allow",
  809. "deny"
  810. ]
  811. }
  812. }
  813. ]
  814. },
  815. "todowrite": {
  816. "type": "string",
  817. "enum": [
  818. "ask",
  819. "allow",
  820. "deny"
  821. ]
  822. },
  823. "question": {
  824. "type": "string",
  825. "enum": [
  826. "ask",
  827. "allow",
  828. "deny"
  829. ]
  830. },
  831. "webfetch": {
  832. "type": "string",
  833. "enum": [
  834. "ask",
  835. "allow",
  836. "deny"
  837. ]
  838. },
  839. "websearch": {
  840. "type": "string",
  841. "enum": [
  842. "ask",
  843. "allow",
  844. "deny"
  845. ]
  846. },
  847. "codesearch": {
  848. "type": "string",
  849. "enum": [
  850. "ask",
  851. "allow",
  852. "deny"
  853. ]
  854. },
  855. "doom_loop": {
  856. "type": "string",
  857. "enum": [
  858. "ask",
  859. "allow",
  860. "deny"
  861. ]
  862. }
  863. },
  864. "additionalProperties": {
  865. "anyOf": [
  866. {
  867. "type": "string",
  868. "enum": [
  869. "ask",
  870. "allow",
  871. "deny"
  872. ]
  873. },
  874. {
  875. "type": "object",
  876. "propertyNames": {
  877. "type": "string"
  878. },
  879. "additionalProperties": {
  880. "type": "string",
  881. "enum": [
  882. "ask",
  883. "allow",
  884. "deny"
  885. ]
  886. }
  887. }
  888. ]
  889. }
  890. }
  891. ]
  892. }
  893. },
  894. "additionalProperties": false
  895. }
  896. },
  897. "disabled_agents": {
  898. "description": "Agent names to disable completely. Disabled agents are not instantiated and cannot be delegated to. Orchestrator and council internal agents (councillor) cannot be disabled. By default, 'observer' is disabled. Remove it from this list and configure a vision-capable model to enable.",
  899. "type": "array",
  900. "items": {
  901. "type": "string"
  902. }
  903. },
  904. "image_routing": {
  905. "description": "How image attachments are handled. When omitted, preserves legacy conditional behavior: intercept attachments only when observer is enabled. \"auto\": requires observer to be enabled and saves attachments to disk before nudging delegation to @observer. \"direct\": always passes attachments to the orchestrator untouched.",
  906. "type": "string",
  907. "enum": [
  908. "auto",
  909. "direct"
  910. ]
  911. },
  912. "disabled_mcps": {
  913. "description": "MCP server names to disable completely. Disabled servers are not started and cannot be used by agents.",
  914. "type": "array",
  915. "items": {
  916. "type": "string"
  917. }
  918. },
  919. "disabled_tools": {
  920. "description": "Tool names to disable completely. Disabled tools are not registered with OpenCode and cannot be used by agents.",
  921. "type": "array",
  922. "items": {
  923. "type": "string"
  924. }
  925. },
  926. "disabled_skills": {
  927. "description": "Skill names to disable completely. Disabled skills are not granted to agents, even when referenced by presets or agent overrides.",
  928. "type": "array",
  929. "items": {
  930. "type": "string"
  931. }
  932. },
  933. "multiplexer": {
  934. "type": "object",
  935. "properties": {
  936. "type": {
  937. "default": "none",
  938. "type": "string",
  939. "enum": [
  940. "auto",
  941. "tmux",
  942. "zellij",
  943. "herdr",
  944. "kitty",
  945. "cmux",
  946. "none"
  947. ]
  948. },
  949. "layout": {
  950. "default": "main-vertical",
  951. "type": "string",
  952. "enum": [
  953. "main-horizontal",
  954. "main-vertical",
  955. "tiled",
  956. "even-horizontal",
  957. "even-vertical"
  958. ]
  959. },
  960. "main_pane_size": {
  961. "default": 60,
  962. "type": "number",
  963. "minimum": 20,
  964. "maximum": 80
  965. },
  966. "zellij_pane_mode": {
  967. "default": "agent-tab",
  968. "type": "string",
  969. "enum": [
  970. "agent-tab",
  971. "current-tab"
  972. ]
  973. }
  974. }
  975. },
  976. "tmux": {
  977. "type": "object",
  978. "properties": {
  979. "enabled": {
  980. "default": false,
  981. "type": "boolean"
  982. },
  983. "layout": {
  984. "default": "main-vertical",
  985. "type": "string",
  986. "enum": [
  987. "main-horizontal",
  988. "main-vertical",
  989. "tiled",
  990. "even-horizontal",
  991. "even-vertical"
  992. ]
  993. },
  994. "main_pane_size": {
  995. "default": 60,
  996. "type": "number",
  997. "minimum": 20,
  998. "maximum": 80
  999. }
  1000. }
  1001. },
  1002. "websearch": {
  1003. "type": "object",
  1004. "properties": {
  1005. "provider": {
  1006. "default": "exa",
  1007. "type": "string",
  1008. "enum": [
  1009. "exa",
  1010. "tavily"
  1011. ]
  1012. }
  1013. }
  1014. },
  1015. "interview": {
  1016. "type": "object",
  1017. "properties": {
  1018. "maxQuestions": {
  1019. "default": 2,
  1020. "type": "integer",
  1021. "minimum": 1,
  1022. "maximum": 10
  1023. },
  1024. "outputFolder": {
  1025. "default": "interview",
  1026. "type": "string",
  1027. "minLength": 1
  1028. },
  1029. "autoOpenBrowser": {
  1030. "default": true,
  1031. "description": "Automatically open the interview UI in your default browser during interactive runs. Disabled automatically in tests and CI.",
  1032. "type": "boolean"
  1033. },
  1034. "port": {
  1035. "default": 0,
  1036. "type": "integer",
  1037. "minimum": 0,
  1038. "maximum": 65535
  1039. },
  1040. "dashboard": {
  1041. "default": false,
  1042. "type": "boolean"
  1043. }
  1044. }
  1045. },
  1046. "backgroundJobs": {
  1047. "type": "object",
  1048. "properties": {
  1049. "maxSessionsPerAgent": {
  1050. "default": 2,
  1051. "type": "integer",
  1052. "minimum": 1,
  1053. "maximum": 10
  1054. },
  1055. "readContextMinLines": {
  1056. "default": 10,
  1057. "type": "integer",
  1058. "minimum": 0,
  1059. "maximum": 1000
  1060. },
  1061. "readContextMaxFiles": {
  1062. "default": 8,
  1063. "type": "integer",
  1064. "minimum": 0,
  1065. "maximum": 50
  1066. }
  1067. }
  1068. },
  1069. "fallback": {
  1070. "type": "object",
  1071. "properties": {
  1072. "enabled": {
  1073. "default": true,
  1074. "type": "boolean"
  1075. },
  1076. "timeoutMs": {
  1077. "default": 15000,
  1078. "type": "number",
  1079. "minimum": 0
  1080. },
  1081. "retryDelayMs": {
  1082. "default": 500,
  1083. "type": "number",
  1084. "minimum": 0
  1085. },
  1086. "maxRetries": {
  1087. "default": 3,
  1088. "description": "Number of consecutive 429/rate-limit responses tolerated on the same model before aborting (or swapping to the next fallback model when a chain is configured).",
  1089. "type": "integer",
  1090. "minimum": 0,
  1091. "maximum": 9007199254740991
  1092. },
  1093. "retry_on_empty": {
  1094. "default": true,
  1095. "description": "When true (default), empty provider responses are treated as failures, triggering fallback/retry. Set to false to treat them as successes.",
  1096. "type": "boolean"
  1097. },
  1098. "runtimeOverride": {
  1099. "description": "DEPRECATED: no longer used. Previously controlled whether out-of-chain runtime model picks triggered fallback. Fallback is now always disabled when a user explicitly selects a model via /model.",
  1100. "type": "boolean"
  1101. }
  1102. },
  1103. "additionalProperties": false
  1104. },
  1105. "council": {
  1106. "type": "object",
  1107. "properties": {
  1108. "presets": {
  1109. "type": "object",
  1110. "propertyNames": {
  1111. "type": "string"
  1112. },
  1113. "additionalProperties": {
  1114. "type": "object",
  1115. "propertyNames": {
  1116. "type": "string"
  1117. },
  1118. "additionalProperties": {
  1119. "type": "object",
  1120. "propertyNames": {
  1121. "type": "string"
  1122. },
  1123. "additionalProperties": {}
  1124. }
  1125. }
  1126. },
  1127. "timeout": {
  1128. "default": 180000,
  1129. "type": "number",
  1130. "minimum": 0
  1131. },
  1132. "default_preset": {
  1133. "default": "default",
  1134. "type": "string"
  1135. },
  1136. "councillor_execution_mode": {
  1137. "default": "parallel",
  1138. "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).",
  1139. "type": "string",
  1140. "enum": [
  1141. "parallel",
  1142. "serial"
  1143. ]
  1144. },
  1145. "councillor_retries": {
  1146. "default": 3,
  1147. "description": "Number of retry attempts for councillors that return empty responses (e.g. due to provider rate limiting). Default: 3 retries.",
  1148. "type": "integer",
  1149. "minimum": 0,
  1150. "maximum": 5
  1151. },
  1152. "master": {
  1153. "description": "DEPRECATED - ignored. Council agent synthesizes directly."
  1154. }
  1155. },
  1156. "required": [
  1157. "presets"
  1158. ]
  1159. },
  1160. "companion": {
  1161. "type": "object",
  1162. "properties": {
  1163. "enabled": {
  1164. "type": "boolean"
  1165. },
  1166. "binaryPath": {
  1167. "description": "Path to a custom companion binary to launch.",
  1168. "type": "string",
  1169. "minLength": 1
  1170. },
  1171. "position": {
  1172. "type": "string",
  1173. "enum": [
  1174. "bottom-right",
  1175. "bottom-left",
  1176. "top-right",
  1177. "top-left"
  1178. ]
  1179. },
  1180. "size": {
  1181. "type": "string",
  1182. "enum": [
  1183. "small",
  1184. "medium",
  1185. "large"
  1186. ]
  1187. },
  1188. "gifPack": {
  1189. "description": "Bundled companion animation pack to use.",
  1190. "type": "string",
  1191. "enum": [
  1192. "default"
  1193. ]
  1194. },
  1195. "loopStyle": {
  1196. "description": "Companion animation playback style: classic loops or smooth ping-pong playback.",
  1197. "type": "string",
  1198. "enum": [
  1199. "classic",
  1200. "smooth"
  1201. ]
  1202. },
  1203. "speed": {
  1204. "description": "Companion animation playback speed multiplier. Defaults to 1.",
  1205. "type": "number",
  1206. "minimum": 0.25,
  1207. "maximum": 4
  1208. },
  1209. "debug": {
  1210. "description": "Enable verbose native companion debug logs.",
  1211. "type": "boolean"
  1212. }
  1213. }
  1214. },
  1215. "acpAgents": {
  1216. "type": "object",
  1217. "propertyNames": {
  1218. "type": "string"
  1219. },
  1220. "additionalProperties": {
  1221. "type": "object",
  1222. "properties": {
  1223. "command": {
  1224. "type": "string",
  1225. "minLength": 1
  1226. },
  1227. "args": {
  1228. "default": [],
  1229. "type": "array",
  1230. "items": {
  1231. "type": "string"
  1232. }
  1233. },
  1234. "env": {
  1235. "default": {},
  1236. "type": "object",
  1237. "propertyNames": {
  1238. "type": "string"
  1239. },
  1240. "additionalProperties": {
  1241. "type": "string"
  1242. }
  1243. },
  1244. "cwd": {
  1245. "type": "string",
  1246. "minLength": 1
  1247. },
  1248. "description": {
  1249. "type": "string",
  1250. "minLength": 1
  1251. },
  1252. "prompt": {
  1253. "type": "string",
  1254. "minLength": 1
  1255. },
  1256. "orchestratorPrompt": {
  1257. "type": "string",
  1258. "minLength": 1
  1259. },
  1260. "wrapperModel": {
  1261. "type": "string",
  1262. "pattern": "^[^/\\s]+\\/[^\\s]+$"
  1263. },
  1264. "timeoutMs": {
  1265. "default": 0,
  1266. "description": "Timeout for a single ACP run in milliseconds. Set to 0 to disable the timeout.",
  1267. "type": "integer",
  1268. "minimum": 0,
  1269. "maximum": 2147483647
  1270. },
  1271. "permissionMode": {
  1272. "default": "ask",
  1273. "type": "string",
  1274. "enum": [
  1275. "ask",
  1276. "allow",
  1277. "reject"
  1278. ]
  1279. }
  1280. },
  1281. "required": [
  1282. "command"
  1283. ],
  1284. "additionalProperties": false
  1285. }
  1286. }
  1287. },
  1288. "title": "oh-my-opencode-slim",
  1289. "description": "Configuration schema for oh-my-opencode-slim plugin for OpenCode"
  1290. }