dispach 0.2.0 → 0.2.2

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 (226) hide show
  1. package/README.md +144 -49
  2. package/dist/APEv2Parser-etzjd528.js +5 -0
  3. package/dist/{FlacParser-6jwner07.js.map → APEv2Parser-etzjd528.js.map} +1 -1
  4. package/dist/{AiffParser-n65syezh.js → AiffParser-y21k3fak.js} +3 -3
  5. package/dist/{AiffParser-n65syezh.js.map → AiffParser-y21k3fak.js.map} +1 -1
  6. package/dist/App-4w3qkcs4.js +11 -0
  7. package/dist/{App-pmqmzsb3.js.map → App-4w3qkcs4.js.map} +1 -1
  8. package/dist/{AsfParser-da1fqvxz.js → AsfParser-wd98k2h4.js} +3 -3
  9. package/dist/{AsfParser-da1fqvxz.js.map → AsfParser-wd98k2h4.js.map} +1 -1
  10. package/dist/{ConfigEditor-4nqbeejh.js → ConfigEditor-vk7vxaa6.js} +3 -3
  11. package/dist/{ConfigEditor-4nqbeejh.js.map → ConfigEditor-vk7vxaa6.js.map} +1 -1
  12. package/dist/{DsdiffParser-gk95sj7t.js → DsdiffParser-cbfaj500.js} +3 -3
  13. package/dist/{DsdiffParser-gk95sj7t.js.map → DsdiffParser-cbfaj500.js.map} +1 -1
  14. package/dist/{DsfParser-b0enevjw.js → DsfParser-tybrja4x.js} +3 -3
  15. package/dist/{DsfParser-b0enevjw.js.map → DsfParser-tybrja4x.js.map} +1 -1
  16. package/dist/FlacParser-7t7da7qy.js +5 -0
  17. package/dist/{APEv2Parser-jdp5yp24.js.map → FlacParser-7t7da7qy.js.map} +1 -1
  18. package/dist/{KeyProbe-rspsxpsr.js → KeyProbe-5anphmb7.js} +3 -3
  19. package/dist/{KeyProbe-rspsxpsr.js.map → KeyProbe-5anphmb7.js.map} +1 -1
  20. package/dist/{MP4Parser-ph7rv2fn.js → MP4Parser-gc94h1n9.js} +3 -3
  21. package/dist/{MP4Parser-ph7rv2fn.js.map → MP4Parser-gc94h1n9.js.map} +1 -1
  22. package/dist/{MatroskaParser-fjk1mpct.js → MatroskaParser-cy2k4fac.js} +3 -3
  23. package/dist/{MatroskaParser-fjk1mpct.js.map → MatroskaParser-cy2k4fac.js.map} +1 -1
  24. package/dist/{MpegParser-vp7cj8ts.js → MpegParser-c460fwf0.js} +3 -3
  25. package/dist/{MpegParser-vp7cj8ts.js.map → MpegParser-c460fwf0.js.map} +1 -1
  26. package/dist/{MusepackParser-v22gft1f.js → MusepackParser-8mq2eabg.js} +3 -3
  27. package/dist/{MusepackParser-v22gft1f.js.map → MusepackParser-8mq2eabg.js.map} +1 -1
  28. package/dist/OggParser-7dnc6apg.js +5 -0
  29. package/dist/{OggParser-as1m8xsa.js.map → OggParser-7dnc6apg.js.map} +1 -1
  30. package/dist/Picker-j7txnm7w.js +5 -0
  31. package/dist/{Picker-jkmd5xnx.js.map → Picker-j7txnm7w.js.map} +1 -1
  32. package/dist/SessionPicker-hpv2ncsb.js +5 -0
  33. package/dist/{SessionPicker-3712ke3k.js.map → SessionPicker-hpv2ncsb.js.map} +3 -3
  34. package/dist/SkillBrowser-qc542n71.js +5 -0
  35. package/dist/{SkillBrowser-qhsyszt4.js.map → SkillBrowser-qc542n71.js.map} +1 -1
  36. package/dist/{WavPackParser-b4qqavzg.js → WavPackParser-kt7cds9c.js} +3 -3
  37. package/dist/{WavPackParser-b4qqavzg.js.map → WavPackParser-kt7cds9c.js.map} +1 -1
  38. package/dist/{WaveParser-fqs1h38f.js → WaveParser-g47ja0vy.js} +3 -3
  39. package/dist/{WaveParser-fqs1h38f.js.map → WaveParser-g47ja0vy.js.map} +1 -1
  40. package/dist/WizardApp-q4p979d1.js +5 -0
  41. package/dist/{WizardApp-qrq36nv8.js.map → WizardApp-q4p979d1.js.map} +3 -3
  42. package/dist/{channels-gf31stv7.js → channels-4t89qpdt.js} +18 -18
  43. package/dist/{channels-gf31stv7.js.map → channels-4t89qpdt.js.map} +1 -1
  44. package/dist/client.d.ts +242 -1
  45. package/dist/client.js +11 -11
  46. package/dist/client.js.map +5 -5
  47. package/dist/config-35r6n1gh.js +24 -0
  48. package/dist/{config-z2cd0c5f.js.map → config-35r6n1gh.js.map} +1 -1
  49. package/dist/credential-dpdgg4j6.js +19 -0
  50. package/dist/{credential-h0wmsjsw.js.map → credential-dpdgg4j6.js.map} +1 -1
  51. package/dist/{index-3s2q0m64.js → index-0444sh6x.js} +4 -4
  52. package/dist/{index-3s2q0m64.js.map → index-0444sh6x.js.map} +1 -1
  53. package/dist/{index-v271gbaz.js → index-095hrkyr.js} +6 -6
  54. package/dist/{index-v271gbaz.js.map → index-095hrkyr.js.map} +1 -1
  55. package/dist/index-1x8mzvz7.js +6 -0
  56. package/dist/{index-rhv6gqpt.js.map → index-1x8mzvz7.js.map} +1 -1
  57. package/dist/index-2bsardvh.js +5 -0
  58. package/dist/{index-tny7c703.js.map → index-2bsardvh.js.map} +2 -2
  59. package/dist/{index-9m6b14b4.js → index-2zjh5zd5.js} +4 -4
  60. package/dist/{index-9m6b14b4.js.map → index-2zjh5zd5.js.map} +1 -1
  61. package/dist/{index-t6xnecdx.js → index-323jvr1g.js} +4 -4
  62. package/dist/{index-t6xnecdx.js.map → index-323jvr1g.js.map} +1 -1
  63. package/dist/{index-gace5ac7.js → index-3826kf9t.js} +5 -5
  64. package/dist/{index-gace5ac7.js.map → index-3826kf9t.js.map} +1 -1
  65. package/dist/index-38gs9anh.js +9 -0
  66. package/dist/{index-b7qc21s7.js.map → index-38gs9anh.js.map} +1 -1
  67. package/dist/index-3c5jt6by.js +5 -0
  68. package/dist/{index-3mvenfbg.js.map → index-3c5jt6by.js.map} +2 -2
  69. package/dist/{index-k2q76dhw.js → index-3vzf253k.js} +7 -7
  70. package/dist/{index-k2q76dhw.js.map → index-3vzf253k.js.map} +1 -1
  71. package/dist/{index-t5d8ey5t.js → index-42e29zs4.js} +4 -4
  72. package/dist/{index-t5d8ey5t.js.map → index-42e29zs4.js.map} +1 -1
  73. package/dist/{index-v7mz396x.js → index-4fj1k64j.js} +4 -4
  74. package/dist/{index-v7mz396x.js.map → index-4fj1k64j.js.map} +1 -1
  75. package/dist/{index-gqbny9gy.js → index-51x0n5z0.js} +6 -6
  76. package/dist/{index-gqbny9gy.js.map → index-51x0n5z0.js.map} +1 -1
  77. package/dist/index-664xcamy.js +110 -0
  78. package/dist/index-664xcamy.js.map +13 -0
  79. package/dist/index-7mn8ack9.js +6 -0
  80. package/dist/{index-qe3ybzh6.js.map → index-7mn8ack9.js.map} +2 -2
  81. package/dist/index-8edck2pr.js +6 -0
  82. package/dist/{index-kktaw552.js.map → index-8edck2pr.js.map} +1 -1
  83. package/dist/index-8h6kewy1.js +9 -0
  84. package/dist/{index-s4a28ctb.js.map → index-8h6kewy1.js.map} +1 -1
  85. package/dist/index-8tmv33mr.js +6 -0
  86. package/dist/{index-v6taf4vn.js.map → index-8tmv33mr.js.map} +1 -1
  87. package/dist/index-9914wh1d.js +6 -0
  88. package/dist/index-9914wh1d.js.map +10 -0
  89. package/dist/{index-y6r1k2yd.js → index-a2eh8dnk.js} +7 -7
  90. package/dist/{index-y6r1k2yd.js.map → index-a2eh8dnk.js.map} +1 -1
  91. package/dist/{index-81vj1bxe.js → index-bqdkm3de.js} +4 -4
  92. package/dist/{index-81vj1bxe.js.map → index-bqdkm3de.js.map} +1 -1
  93. package/dist/{index-rfa0ztab.js → index-dzy19wtf.js} +4 -4
  94. package/dist/{index-rfa0ztab.js.map → index-dzy19wtf.js.map} +1 -1
  95. package/dist/{index-c2qjdz4q.js → index-eqqd4k4f.js} +9 -9
  96. package/dist/{index-c2qjdz4q.js.map → index-eqqd4k4f.js.map} +1 -1
  97. package/dist/{index-g1d06ct5.js → index-ew997be5.js} +7 -7
  98. package/dist/{index-g1d06ct5.js.map → index-ew997be5.js.map} +1 -1
  99. package/dist/{index-0v2gw4mk.js → index-fa9wvpyw.js} +3 -3
  100. package/dist/{index-0v2gw4mk.js.map → index-fa9wvpyw.js.map} +1 -1
  101. package/dist/{index-rvq7t636.js → index-fbsrhcga.js} +4 -4
  102. package/dist/{index-rvq7t636.js.map → index-fbsrhcga.js.map} +1 -1
  103. package/dist/index-fcsg95m5.js +11 -0
  104. package/dist/{index-5nprb9px.js.map → index-fcsg95m5.js.map} +1 -1
  105. package/dist/{index-dgrwpzz9.js → index-gbkma7ds.js} +4 -4
  106. package/dist/{index-dgrwpzz9.js.map → index-gbkma7ds.js.map} +1 -1
  107. package/dist/{index-0m0x1454.js → index-gq1npngp.js} +4 -4
  108. package/dist/{index-0m0x1454.js.map → index-gq1npngp.js.map} +1 -1
  109. package/dist/index-haypwvzd.js +308 -0
  110. package/dist/index-haypwvzd.js.map +21 -0
  111. package/dist/{index-g8n8rhtr.js → index-jc4kmfwa.js} +4 -4
  112. package/dist/{index-g8n8rhtr.js.map → index-jc4kmfwa.js.map} +1 -1
  113. package/dist/index-kjqksgch.js +429 -0
  114. package/dist/index-kjqksgch.js.map +12 -0
  115. package/dist/{index-es4bgkbh.js → index-m6fqx0ch.js} +7 -7
  116. package/dist/{index-es4bgkbh.js.map → index-m6fqx0ch.js.map} +1 -1
  117. package/dist/{index-60jxyzbe.js → index-ma6p7bt4.js} +4 -4
  118. package/dist/{index-60jxyzbe.js.map → index-ma6p7bt4.js.map} +1 -1
  119. package/dist/index-nvc24414.js +6 -0
  120. package/dist/{index-2yj11ykt.js.map → index-nvc24414.js.map} +1 -1
  121. package/dist/index-nxhqf597.js +6 -0
  122. package/dist/{index-m5rmhcez.js.map → index-nxhqf597.js.map} +1 -1
  123. package/dist/{index-jmnjcw61.js → index-p1zy871m.js} +4 -4
  124. package/dist/{index-jmnjcw61.js.map → index-p1zy871m.js.map} +1 -1
  125. package/dist/{index-2pzgta33.js → index-p6ya59m6.js} +5 -5
  126. package/dist/{index-2pzgta33.js.map → index-p6ya59m6.js.map} +1 -1
  127. package/dist/{index-6c4p19m1.js → index-pszmnhgq.js} +2 -2
  128. package/dist/index-qg9bn980.js +1213 -0
  129. package/dist/{index-1h9pqnec.js.map → index-qg9bn980.js.map} +28 -25
  130. package/dist/index-qgsdgbk8.js +5 -0
  131. package/dist/{index-ak304afj.js.map → index-qgsdgbk8.js.map} +2 -2
  132. package/dist/index-r4ax3x4d.js +74 -0
  133. package/dist/index-r4ax3x4d.js.map +13 -0
  134. package/dist/{index-m01mb74d.js → index-snz49ndn.js} +4 -4
  135. package/dist/{index-m01mb74d.js.map → index-snz49ndn.js.map} +1 -1
  136. package/dist/index-twn9bfm2.js +8 -0
  137. package/dist/{index-dwxmy0kx.js.map → index-twn9bfm2.js.map} +2 -2
  138. package/dist/{index-0p9p6fvc.js → index-wc4entme.js} +10 -10
  139. package/dist/{index-0p9p6fvc.js.map → index-wc4entme.js.map} +3 -3
  140. package/dist/{index-wxmqyv4c.js → index-ynsvkqgb.js} +4 -4
  141. package/dist/{index-wxmqyv4c.js.map → index-ynsvkqgb.js.map} +1 -1
  142. package/dist/index-ytxbw8py.js +63 -0
  143. package/dist/{index-fcqy46mh.js.map → index-ytxbw8py.js.map} +2 -2
  144. package/dist/index-yw3fby4n.js +6 -0
  145. package/dist/{index-dh2g58s1.js.map → index-yw3fby4n.js.map} +2 -2
  146. package/dist/{index-ccpq4k6r.js → index-z157at3s.js} +28 -28
  147. package/dist/{index-ccpq4k6r.js.map → index-z157at3s.js.map} +1 -1
  148. package/dist/{index-s78sq9g1.js → index-zce9gy22.js} +64 -64
  149. package/dist/{index-s78sq9g1.js.map → index-zce9gy22.js.map} +1 -1
  150. package/dist/{index-jv7egrh2.js → index-zw6wyas6.js} +4 -4
  151. package/dist/{index-jv7egrh2.js.map → index-zw6wyas6.js.map} +1 -1
  152. package/dist/index.js +308 -292
  153. package/dist/index.js.map +15 -12
  154. package/dist/init.d.ts.map +1 -1
  155. package/dist/lib/agent-template.d.ts +5 -0
  156. package/dist/lib/agent-template.d.ts.map +1 -1
  157. package/dist/lib/commands.d.ts.map +1 -1
  158. package/dist/lib/init-flow.d.ts +7 -30
  159. package/dist/lib/init-flow.d.ts.map +1 -1
  160. package/dist/lib/owner.d.ts +49 -0
  161. package/dist/lib/owner.d.ts.map +1 -0
  162. package/dist/lib/presets.d.ts +44 -0
  163. package/dist/lib/presets.d.ts.map +1 -0
  164. package/dist/lib/provision.d.ts +8 -1
  165. package/dist/lib/provision.d.ts.map +1 -1
  166. package/dist/lib/relay-client.d.ts +17 -0
  167. package/dist/lib/relay-client.d.ts.map +1 -0
  168. package/dist/lib/schema.d.ts +2 -0
  169. package/dist/lib/schema.d.ts.map +1 -1
  170. package/dist/lib/sessions-view.d.ts +2 -0
  171. package/dist/lib/sessions-view.d.ts.map +1 -1
  172. package/dist/lib/source.d.ts +17 -0
  173. package/dist/lib/source.d.ts.map +1 -1
  174. package/dist/lib/wizard.d.ts.map +1 -1
  175. package/dist/owner.d.ts +16 -0
  176. package/dist/owner.d.ts.map +1 -0
  177. package/dist/run.d.ts.map +1 -1
  178. package/dist/serve.d.ts.map +1 -1
  179. package/dist/transcript.d.ts.map +1 -1
  180. package/dist/web-zph4h3p9.js +14 -0
  181. package/dist/{web-stkkwyka.js.map → web-zph4h3p9.js.map} +1 -1
  182. package/dist/wire.d.ts +31 -0
  183. package/dist/wire.js +2 -2
  184. package/dist/wire.js.map +4 -4
  185. package/dist/wrapper-f662ny3r.js +5 -0
  186. package/dist/{wrapper-bwxbqa53.js.map → wrapper-f662ny3r.js.map} +1 -1
  187. package/package.json +5 -2
  188. package/dist/APEv2Parser-jdp5yp24.js +0 -5
  189. package/dist/App-pmqmzsb3.js +0 -11
  190. package/dist/FlacParser-6jwner07.js +0 -5
  191. package/dist/OggParser-as1m8xsa.js +0 -5
  192. package/dist/Picker-jkmd5xnx.js +0 -5
  193. package/dist/SessionPicker-3712ke3k.js +0 -5
  194. package/dist/SkillBrowser-qhsyszt4.js +0 -5
  195. package/dist/WizardApp-qrq36nv8.js +0 -5
  196. package/dist/config-z2cd0c5f.js +0 -24
  197. package/dist/credential-h0wmsjsw.js +0 -19
  198. package/dist/index-026q0y3a.js +0 -6
  199. package/dist/index-026q0y3a.js.map +0 -10
  200. package/dist/index-1h9pqnec.js +0 -1194
  201. package/dist/index-1wxw30j1.js +0 -74
  202. package/dist/index-1wxw30j1.js.map +0 -13
  203. package/dist/index-2yj11ykt.js +0 -6
  204. package/dist/index-358nsn9t.js +0 -65
  205. package/dist/index-358nsn9t.js.map +0 -21
  206. package/dist/index-3mvenfbg.js +0 -5
  207. package/dist/index-5nprb9px.js +0 -11
  208. package/dist/index-ak304afj.js +0 -5
  209. package/dist/index-b7qc21s7.js +0 -9
  210. package/dist/index-dh2g58s1.js +0 -6
  211. package/dist/index-dwxmy0kx.js +0 -8
  212. package/dist/index-fcqy46mh.js +0 -63
  213. package/dist/index-kktaw552.js +0 -6
  214. package/dist/index-m5rmhcez.js +0 -6
  215. package/dist/index-qe3ybzh6.js +0 -6
  216. package/dist/index-rhv6gqpt.js +0 -6
  217. package/dist/index-s4a28ctb.js +0 -9
  218. package/dist/index-tny7c703.js +0 -5
  219. package/dist/index-v6taf4vn.js +0 -6
  220. package/dist/index-y605a1rj.js +0 -429
  221. package/dist/index-y605a1rj.js.map +0 -11
  222. package/dist/index-z88f35vs.js +0 -96
  223. package/dist/index-z88f35vs.js.map +0 -13
  224. package/dist/web-stkkwyka.js +0 -14
  225. package/dist/wrapper-bwxbqa53.js +0 -5
  226. /package/dist/{index-6c4p19m1.js.map → index-pszmnhgq.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import{Y}from"./index-3s2q0m64.js";import{vo,Po,dt,ut,Et}from"./index-v6taf4vn.js";var s=" · ",l=3;function Hs(n,e){let t=[{kind:"title",text:Y(n.title,e)}],r=n.agent===void 0?n.summary:[`${n.agent.name}${s}${n.agent.model}`,n.summary].filter((a)=>a!=="").join(s);if(r!=="")t.push({kind:"summary",text:Y(r,e)});let i=n.state??[];if(i.length>0)t.push({kind:"state",text:Y(i.map((a)=>a.label).join(s),e)});let o=n.warnings??[];for(let a of o.slice(0,l))t.push({kind:"warning",text:Y(`⚠ ${a}`,e)});if(o.length>l)t.push({kind:"warning",text:Y(`⚠ and ${o.length-l} more`,e)});return t}function Ks(n,e){let t=n.map((i)=>`${i.key} ${i.does}`),r="";for(let i of t){let o=r===""?i:`${r}${s}${i}`;if([...o].length>e)break;r=o}return r===""?Y(t[0]??"",e):r}function br(n,e){let t=[n.title];if(n.summary!=="")t.push(n.summary);if(n.agent!==void 0)t.push(n.agent.name,n.agent.model);let r=n.warnings??[];if(r.length>0)t.push(`⚠ ${r.length} note${r.length===1?"":"s"} at the top`);return Y(t.join(s),e)}var Ys={key:"q",does:"back"};function u(n,e){return n===void 0||n<=0?e:n}function ke(n,e){return Math.max(vo,Math.min(Po,u(n,e)))}function js(n,e){return Math.max(dt,Math.min(ut,u(n,e)-Et))}
3
- export{Hs,Ks,br,Ys,ke,js};
2
+ import{Y}from"./index-0444sh6x.js";import{Go,Fo,EA,CA,pA}from"./index-8tmv33mr.js";var s=" · ",l=3;function Ws(n,e){let t=[{kind:"title",text:Y(n.title,e)}],r=n.agent===void 0?n.summary:[`${n.agent.name}${s}${n.agent.model}`,n.summary].filter((a)=>a!=="").join(s);if(r!=="")t.push({kind:"summary",text:Y(r,e)});let i=n.state??[];if(i.length>0)t.push({kind:"state",text:Y(i.map((a)=>a.label).join(s),e)});let o=n.warnings??[];for(let a of o.slice(0,l))t.push({kind:"warning",text:Y(`⚠ ${a}`,e)});if(o.length>l)t.push({kind:"warning",text:Y(`⚠ and ${o.length-l} more`,e)});return t}function zs(n,e){let t=n.map((i)=>`${i.key} ${i.does}`),r="";for(let i of t){let o=r===""?i:`${r}${s}${i}`;if([...o].length>e)break;r=o}return r===""?Y(t[0]??"",e):r}function Mr(n,e){let t=[n.title];if(n.summary!=="")t.push(n.summary);if(n.agent!==void 0)t.push(n.agent.name,n.agent.model);let r=n.warnings??[];if(r.length>0)t.push(`⚠ ${r.length} note${r.length===1?"":"s"} at the top`);return Y(t.join(s),e)}var Zs={key:"q",does:"back"};function u(n,e){return n===void 0||n<=0?e:n}function Pe(n,e){return Math.max(Go,Math.min(Fo,u(n,e)))}function $s(n,e){return Math.max(EA,Math.min(CA,u(n,e)-pA))}
3
+ export{Ws,zs,Mr,Zs,Pe,$s};
4
4
 
5
- //# debugId=DDB3AFA5BDF4AB2864756E2164756E21
6
- //# sourceMappingURL=index-g8n8rhtr.js.map
5
+ //# debugId=7DDD131F8D8489F064756E2164756E21
6
+ //# sourceMappingURL=index-jc4kmfwa.js.map
@@ -5,6 +5,6 @@
5
5
  "/**\n * What every screen has in common, as data: the header block and the footer's key hints.\n *\n * ## Why this is a module and not a component\n *\n * Three surfaces had a banner before this existed — chat, the wizard, the agent picker — and each\n * decided its own title, its own context lines and its own key hints, in JSX. So the *content* of a\n * header was only observable by mounting a renderer, and the one thing worth asserting about it is\n * exactly that content: whether the agent in scope is named, whether a session-wide warning is still\n * visible after the screen scrolls, whether the footer fits.\n *\n * Everything here is text in, text out. `Screen.tsx` is one consumer; a test asserting a header names\n * the right agent is another, and neither can drift from the other because there is one derivation.\n *\n * ## The rule the header exists to enforce\n *\n * CLAUDE.md: anything true for the whole session belongs where a person still sees it after\n * scrolling. On an inline surface that could be a line printed at the top; on the alternate screen\n * there *is* no scrolling past, so it has to be the header or nowhere. `warnings` is therefore part\n * of the header's shape rather than something each screen remembers to render.\n *\n * Colour is not decided here, for `render.ts`'s reason: this module has no idea whether it is being\n * read from a terminal or a log file, and that is `resolveMode`'s question.\n */\n\nimport {\n MAX_SCREEN_COLUMNS,\n MAX_SCREEN_ROWS,\n MIN_SCREEN_COLUMNS,\n MIN_SCREEN_ROWS,\n SCREEN_CHROME_ROWS,\n} from \"#lib/const\"\nimport { clip } from \"#lib/rows\"\n\n/**\n * A live fact about the runtime, shown as a word rather than a sentence.\n *\n * `tone` is a role, never a colour — the component maps it. A literal colour name here would put\n * appearance in a pure module and break the one-home rule `theme.ts` exists for.\n */\nexport interface StateChip {\n readonly label: string\n readonly tone: \"ok\" | \"warn\" | \"off\"\n}\n\nexport interface ScreenHeader {\n /** Product identity — `BRAND.name` and the version. The one line that is the same everywhere. */\n readonly title: string\n /** What this screen is, and the counts that make it worth looking at. */\n readonly summary: string\n /**\n * The agent this screen acts on, when it acts on one.\n *\n * Present so it is impossible to install a skill into, or stop, an agent you did not mean.\n * Absent — not blank — on the machine-level screens: `sources` is a registry shared by every\n * agent on the machine, and naming one there would be a lie about the scope of what you are\n * changing.\n */\n readonly agent?: { readonly name: string; readonly model: string }\n readonly state?: readonly StateChip[]\n /** True for the whole session, so it stays in the frame rather than scrolling away. */\n readonly warnings?: readonly string[]\n}\n\nexport interface KeyHint {\n /** As a reader sees it: `↑↓`, `enter`, `^C`, `⌥⏎`. */\n readonly key: string\n readonly does: string\n}\n\nconst SEPARATOR = \" · \"\n/** Warnings past this many are counted rather than listed — a header is not a log. */\nconst WARNINGS_SHOWN = 3\n\n/**\n * One rendered line, tagged with what it is.\n *\n * Tagged rather than returned as plain strings because the component styles each kind differently and\n * the alternative is worse in both directions: a flat list of strings forces the renderer to guess by\n * index (which broke the first time a header had no state row), and having the renderer rebuild the\n * summary from `header.agent` itself would be a second derivation of the one thing this module exists\n * to derive once. The kind travels with the text; appearance stays in `theme.ts`.\n */\nexport interface HeaderLine {\n readonly kind: \"title\" | \"summary\" | \"state\" | \"warning\"\n readonly text: string\n}\n\n/** The header, as tagged lines, each already clipped to the width. */\nexport function headerLines(header: ScreenHeader, width: number): readonly HeaderLine[] {\n const lines: HeaderLine[] = [{ kind: \"title\", text: clip(header.title, width) }]\n\n // The agent rides on the summary line rather than taking one of its own. It is the same fact —\n // \"what am I looking at, and whose\" — and a separate line for it pushes the body down on every\n // screen to say something the summary was already the place for.\n const scope =\n header.agent === undefined\n ? header.summary\n : [`${header.agent.name}${SEPARATOR}${header.agent.model}`, header.summary]\n .filter((part) => part !== \"\")\n .join(SEPARATOR)\n if (scope !== \"\") lines.push({ kind: \"summary\", text: clip(scope, width) })\n\n const chips = header.state ?? []\n if (chips.length > 0) {\n lines.push({\n kind: \"state\",\n text: clip(chips.map((chip) => chip.label).join(SEPARATOR), width),\n })\n }\n\n const warnings = header.warnings ?? []\n for (const warning of warnings.slice(0, WARNINGS_SHOWN)) {\n lines.push({ kind: \"warning\", text: clip(`⚠ ${warning}`, width) })\n }\n // Counted, not dropped. A header that silently showed three of five warnings would be the\n // trimmed-catalogue failure again: true of what is on screen, false of what is the case.\n if (warnings.length > WARNINGS_SHOWN) {\n lines.push({\n kind: \"warning\",\n text: clip(`⚠ and ${warnings.length - WARNINGS_SHOWN} more`, width),\n })\n }\n\n return lines\n}\n\n/**\n * The footer: what the keys do, on one line, clipped.\n *\n * One line and never two. A footer that wraps moves the body every time the hints change, and the\n * hints change per screen state — so a two-line footer means the list jumps as you use it. Hints are\n * dropped from the end when they do not fit, which is why the caller orders them by how likely\n * somebody is to need reminding: movement first, the destructive one last.\n */\nexport function hintLine(hints: readonly KeyHint[], width: number): string {\n const rendered = hints.map((hint) => `${hint.key} ${hint.does}`)\n // Longest prefix that fits. Built up rather than clipped down, so the line never ends in half a\n // hint — `enter inst…` reads as a different key than the one it is.\n let line = \"\"\n for (const hint of rendered) {\n const next = line === \"\" ? hint : `${line}${SEPARATOR}${hint}`\n if ([...next].length > width) break\n line = next\n }\n // Nothing fit: one clipped hint beats an empty footer, because a screen with no visible way out\n // is the worst thing a full-screen surface can be.\n return line === \"\" ? clip(rendered[0] ?? \"\", width) : line\n}\n\n/**\n * The whole header on one line, for a surface that cannot spare three.\n *\n * The chat is that surface. Its opening banner already says the version, the store, the session and every\n * load warning — and on the alternate screen that banner scrolls out of the window, taking the\n * session-wide facts with it. `headerLines`' three-to-six rows would fix that and cost a fifth of a short\n * terminal permanently, so this is the compromise the rule actually asks for: identity and scope always\n * visible, warnings reduced to a count that says where the detail is.\n *\n * A count rather than the text, deliberately. One warning wrapped over two lines is a header that changes\n * height, which is the one thing a fixed-height frame cannot have.\n */\nexport function titleLine(header: ScreenHeader, width: number): string {\n const parts = [header.title]\n // The summary was dropped here while `Screen` renders it on its own dim line, so a surface using the\n // one-line variant silently lost its label: the conversation switcher passed \"pick a conversation\"\n // and the settings editor \"settings\", and neither ever appeared. Empty adds nothing, which is what\n // the chat header passes.\n if (header.summary !== \"\") parts.push(header.summary)\n if (header.agent !== undefined) parts.push(header.agent.name, header.agent.model)\n const warnings = header.warnings ?? []\n if (warnings.length > 0) {\n parts.push(`\\u26a0 ${warnings.length} note${warnings.length === 1 ? \"\" : \"s\"} at the top`)\n }\n return clip(parts.join(SEPARATOR), width)\n}\n\n/** The hint every alternate-screen surface carries, so no screen invents its own word for leaving. */\nexport const QUIT_HINT: KeyHint = { key: \"q\", does: \"back\" }\n\n/**\n * Terminal columns and rows a screen may use, clamped.\n *\n * Here rather than beside the one command that first needed them. They were exported from `browse.ts`,\n * which is imported both statically (by the wizard) and dynamically (by the command) — and the bundler\n * emitted the export twice, producing a `Duplicate export of 'windowFor'` that every test passed straight\n * through because tests import source, not the bundle. Screen arithmetic belongs with the screen.\n */\n/**\n * Zero means unknown, not zero.\n *\n * A pty genuinely reports a width of 0 — recorded in `lib/const.ts` beside `FALLBACK_COLUMNS`, measured\n * under `script -q`, and handled correctly in `useTerminalSize` since it was written. It was *not* handled\n * here, so a caller passing the stream's own measurement clamped to the 40-column floor and laid its rows\n * out for half the terminal. Found in a real capture: the session picker's rows came out 43 characters wide\n * on an 80-column screen, uniformly — which reads as a design choice rather than as a bug.\n *\n * `?? fallback` alone does not cover it, because 0 is not nullish. The same trap, one operator away.\n */\nfunction known(measured: number | undefined, fallback: number): number {\n return measured === undefined || measured <= 0 ? fallback : measured\n}\n\nexport function screenColumns(columns: number | undefined, fallback: number): number {\n return Math.max(MIN_SCREEN_COLUMNS, Math.min(MAX_SCREEN_COLUMNS, known(columns, fallback)))\n}\n\nexport function screenRows(rows: number | undefined, fallback: number): number {\n return Math.max(\n MIN_SCREEN_ROWS,\n Math.min(MAX_SCREEN_ROWS, known(rows, fallback) - SCREEN_CHROME_ROWS),\n )\n}\n"
6
6
  ],
7
7
  "mappings": ";mFAsEA,IAAM,EAAY,MAEZ,EAAiB,EAiBhB,SAAS,EAAW,CAAC,EAAsB,EAAsC,CACpF,IAAM,EAAsB,CAAC,CAAE,KAAM,QAAS,KAAM,EAAK,EAAO,MAAO,CAAK,CAAE,CAAC,EAKzE,EACF,EAAO,QAAU,OACX,EAAO,QACP,CAAC,GAAG,EAAO,MAAM,OAAO,IAAY,EAAO,MAAM,QAAS,EAAO,OAAO,EACnE,OAAO,CAAC,IAAS,IAAS,EAAE,EAC5B,KAAK,CAAS,EAC7B,GAAI,IAAU,GAAI,EAAM,KAAK,CAAE,KAAM,UAAW,KAAM,EAAK,EAAO,CAAK,CAAE,CAAC,EAE1E,IAAM,EAAQ,EAAO,OAAS,CAAC,EAC/B,GAAI,EAAM,OAAS,EACf,EAAM,KAAK,CACP,KAAM,QACN,KAAM,EAAK,EAAM,IAAI,CAAC,IAAS,EAAK,KAAK,EAAE,KAAK,CAAS,EAAG,CAAK,CACrE,CAAC,EAGL,IAAM,EAAW,EAAO,UAAY,CAAC,EACrC,QAAW,KAAW,EAAS,MAAM,EAAG,CAAc,EAClD,EAAM,KAAK,CAAE,KAAM,UAAW,KAAM,EAAK,KAAK,IAAW,CAAK,CAAE,CAAC,EAIrE,GAAI,EAAS,OAAS,EAClB,EAAM,KAAK,CACP,KAAM,UACN,KAAM,EAAK,SAAS,EAAS,OAAS,SAAuB,CAAK,CACtE,CAAC,EAGL,OAAO,EAWJ,SAAS,EAAQ,CAAC,EAA2B,EAAuB,CACvE,IAAM,EAAW,EAAM,IAAI,CAAC,IAAS,GAAG,EAAK,OAAO,EAAK,MAAM,EAG3D,EAAO,GACX,QAAW,KAAQ,EAAU,CACzB,IAAM,EAAO,IAAS,GAAK,EAAO,GAAG,IAAO,IAAY,IACxD,GAAI,CAAC,GAAG,CAAI,EAAE,OAAS,EAAO,MAC9B,EAAO,EAIX,OAAO,IAAS,GAAK,EAAK,EAAS,IAAM,GAAI,CAAK,EAAI,EAenD,SAAS,EAAS,CAAC,EAAsB,EAAuB,CACnE,IAAM,EAAQ,CAAC,EAAO,KAAK,EAK3B,GAAI,EAAO,UAAY,GAAI,EAAM,KAAK,EAAO,OAAO,EACpD,GAAI,EAAO,QAAU,OAAW,EAAM,KAAK,EAAO,MAAM,KAAM,EAAO,MAAM,KAAK,EAChF,IAAM,EAAW,EAAO,UAAY,CAAC,EACrC,GAAI,EAAS,OAAS,EAClB,EAAM,KAAK,KAAU,EAAS,cAAc,EAAS,SAAW,EAAI,GAAK,gBAAgB,EAE7F,OAAO,EAAK,EAAM,KAAK,CAAS,EAAG,CAAK,EAIrC,IAAM,GAAqB,CAAE,IAAK,IAAK,KAAM,MAAO,EAqB3D,SAAS,CAAK,CAAC,EAA8B,EAA0B,CACnE,OAAO,IAAa,QAAa,GAAY,EAAI,EAAW,EAGzD,SAAS,EAAa,CAAC,EAA6B,EAA0B,CACjF,OAAO,KAAK,IAAI,GAAoB,KAAK,IAAI,GAAoB,EAAM,EAAS,CAAQ,CAAC,CAAC,EAGvF,SAAS,EAAU,CAAC,EAA0B,EAA0B,CAC3E,OAAO,KAAK,IACR,GACA,KAAK,IAAI,GAAiB,EAAM,EAAM,CAAQ,EAAI,EAAkB,CACxE",
8
- "debugId": "DDB3AFA5BDF4AB2864756E2164756E21",
8
+ "debugId": "7DDD131F8D8489F064756E2164756E21",
9
9
  "names": []
10
10
  }
@@ -0,0 +1,429 @@
1
+ #!/usr/bin/env node
2
+ import{t,po,Xt}from"./index-qg9bn980.js";var mr=`---
3
+ name: {{SKILL_NAME}}
4
+ description: Replace this description with what the skill does and when to use it, naming the specific words someone would type — file formats, tool names, the error they are looking at. Selection is lexical and this sentence is all it has.
5
+ metadata:
6
+ "{{WHEN_NOT_TO_USE_KEY}}": >
7
+ Replace this too. Say what this skill is NOT for, and name the skill or the plain answer
8
+ that handles those cases instead.
9
+ ---
10
+
11
+ <!--
12
+ SKILL.md — one procedure the agent follows on the turns that call for it.
13
+
14
+ The format is agentskills.io, so this folder is portable to other clients. The spec's fields are
15
+ \`name\` (which must equal this directory's name), \`description\`, and optionally \`license\`,
16
+ \`compatibility\`, \`metadata\` and \`allowed-tools\`. Anything else is ignored rather than refused.
17
+
18
+ HOW SELECTION WORKS, because it changes how you write the description. The harness ranks every
19
+ skill's name and description against what was just asked, picks at most \`skills.maxActive\`, and
20
+ injects the winner. The model does not choose — so the description is a routing signal aimed at a
21
+ lexical scorer, not a pitch aimed at a reader. Concrete nouns beat adjectives. A description whose
22
+ only distinctive word is a common verb activates on any turn using that verb: measured, a skill
23
+ opening "Write and debug a Dockerfile" was selected for "write me a haiku about autumn".
24
+
25
+ Negative guidance is not a spec field, which is why it lives under \`metadata\`. It is worth writing
26
+ anyway — negative examples are the cheapest routing improvement available — and \`skills validate\`
27
+ warns when it is missing. It is never required to load, so a skill vendored from elsewhere works
28
+ as it arrives.
29
+
30
+ THE BODY IS INJECTED VERBATIM on every turn this skill activates, so every line below is paid for.
31
+ Write steps, not background. Detail that is only occasionally needed goes in \`references/\` for the
32
+ model to read on demand. These HTML comments are stripped before the model sees the file, so
33
+ authoring notes like this one are free.
34
+
35
+ SCRIPTS. Drop an executable into \`scripts/\` and it becomes a tool named
36
+ \`skill.{{SKILL_NAME}}.<filename>\`, callable only while this skill is active. A \`.py\` runs under \`python3\`,
37
+ or under \`uv run\` if this folder has a \`pyproject.toml\` or \`requirements.txt\`; \`.ts\` and \`.js\` run
38
+ under the host; anything else needs an executable bit and a shebang. A file in \`scripts/\` that
39
+ matches none of those will never run, and \`skills validate\` says so. A deterministic script beats
40
+ instructions the model has to interpret — prefer one wherever the work is mechanical.
41
+ -->
42
+
43
+ Replace everything below with the steps.
44
+
45
+ 1. State the first step as an action, not a topic.
46
+ 2. Where a step has a rule that was learned the hard way, say the rule and why — a step with a
47
+ reason generalises to the case you did not think of.
48
+ 3. Say what to report at the end, and what not to do. A procedure that does not say where it stops
49
+ gets carried into the next turn.
50
+ `;var T={"AGENTS.md":`---
51
+ tier: static
52
+ editable: none
53
+ budget: 800
54
+ ---
55
+
56
+ <!--
57
+ AGENTS.md — what this agent DOES: responsibilities and operating procedure.
58
+
59
+ TIER 0. Sent every turn, cached, read-only to the agent. Budget: 800 tokens.
60
+
61
+ The identity lives in SOUL.md; this file is deliberately free of personality. The split
62
+ is the one the wider ecosystem converged on: if SOUL.md answers "who are you?", AGENTS.md
63
+ answers "what do you do, and how?" Mixing them makes both files harder to maintain — a
64
+ tone change should never touch a procedure, and a workflow change should never risk the
65
+ voice.
66
+
67
+ WHAT THIS FILE IS FOR: the agent's job, stated as scope; how it works through a task;
68
+ when and where it records things. Operational truth that holds whatever mood the prose
69
+ in SOUL.md is in.
70
+
71
+ WHAT IT IS NOT FOR: rules and boundaries (POLICY.md and the soul's <rules> block own
72
+ those, and the rule counter budgets them), facts about the user (USER.md), or anything
73
+ enforced in code — a procedure written here is advisory the way all prompt text is.
74
+
75
+ STYLE: declarative first person — "I check X before Y", never "Check X before Y". This
76
+ is not cosmetic: obligation-shaped lines (imperative openers, must/never/always) count
77
+ against the same rule budget as everything else in the static tier, and a procedures
78
+ file written as commands reads as twenty rules. Written as description, it reads as one
79
+ job. The workspace command's authoring checks will tell you if a line counts.
80
+ -->
81
+
82
+ # What I do
83
+
84
+ {{RESPONSIBILITIES}}
85
+
86
+ # How I work
87
+
88
+ {{WORKFLOW}}
89
+
90
+ # How I use memory
91
+
92
+ {{MEMORY_PROCEDURE}}
93
+
94
+ <!-- ── Team ──────────────────────────────────────────────────────────────────────────
95
+ Sub-agent responsibilities and handoff routing, for an agent with a \`team\` block. This
96
+ section stays commented out until the agent has one: comments are stripped before the
97
+ model sees the file, and a visible instruction to "hand off to the research agent" on an
98
+ agent with nobody to hand to produces confidently narrated handoffs that never happened.
99
+
100
+ # Team
101
+
102
+ - <sub-agent>: <what it owns, and what I hand it>
103
+ - <sub-agent>: <what it owns, and what I hand it>
104
+
105
+ What comes back from a sub-agent I treat as a draft to check, not a fact to repeat.
106
+ ──────────────────────────────────────────────────────────────────────────────────── -->
107
+ `,"POLICY.md":`---
108
+ tier: static
109
+ editable: none
110
+ budget: 600
111
+ ---
112
+
113
+ <!--
114
+ POLICY.md — the few standing boundaries worth prompt tokens.
115
+
116
+ TIER 0. Sent every turn, cached, read-only. Budget: 600 tokens.
117
+
118
+ READ THIS BEFORE WRITING ANYTHING HERE.
119
+
120
+ This file is NOT a security control. Prompt-level restrictions are advisory: automated
121
+ attacks defeat them on open-weight models at very high success rates, and patient
122
+ multi-turn pressure defeats them with no tooling at all. Anything you need to be TRUE
123
+ must be enforced in code at the tool boundary.
124
+
125
+ Belongs in code, not here How to enforce it
126
+ --------------------------------- --------------------------------------------
127
+ Cannot spend money no payment tool, or approval middleware
128
+ Cannot email arbitrary people recipient allowlist in the tool
129
+ Cannot delete data no destructive tool bound to this agent
130
+ Cannot read other users' data scoped credentials, per agent
131
+ Cannot exceed a budget usage tracking in middleware
132
+ Cannot touch production separate credentials per environment
133
+
134
+ Belongs here
135
+ ---------------------------------
136
+ Tone under pressure
137
+ When to defer rather than act
138
+ What to decline, and how
139
+ What to do when uncertain
140
+
141
+ If you find yourself writing "never" about something that would be expensive if it
142
+ happened, stop and write a wrapToolCall middleware instead.
143
+
144
+ STATE THE REASON alongside each boundary. A boundary with a rationale generalises to
145
+ situations you didn't enumerate; a bare prohibition only covers what it names.
146
+
147
+ STYLE: match the target output, same as the identity file. Prose for chat agents.
148
+
149
+ BUDGET: two or three items. They count against the same rule budget as the identity
150
+ file, AGENTS.md, and
151
+ REMINDER.md. Many agents need none — delete the file and the loader skips it.
152
+ -->
153
+
154
+ # Policy
155
+
156
+ <!--
157
+ Soft boundaries, each with its reason.
158
+
159
+ Weak: Never share information about other people.
160
+ Better: If something involves a person other than the user and they haven't said what
161
+ to share, ask before including it — the user knows the relationship and I don't.
162
+ -->
163
+
164
+ {{BOUNDARIES}}
165
+
166
+ <!--
167
+ One line: what the agent does when it doesn't know, can't reach a tool, or hits an
168
+ ambiguous request. A defined fallback measurably reduces confabulation and gives the
169
+ agent somewhere to go other than guessing.
170
+ -->
171
+
172
+ {{UNCERTAINTY_BEHAVIOUR}}
173
+ `,"USER.md":`---
174
+ tier: volatile
175
+ editable: append
176
+ budget: 1500
177
+ ---
178
+
179
+ <!--
180
+ USER.md — what the agent knows about the person it works for.
181
+
182
+ TIER 1. Sent every turn, UNCACHED. Budget: 1500 tokens.
183
+
184
+ You write this file. The agent reads it every turn. memory_write does not land
185
+ here — that tool writes MEMORY.md, which declared eviction: oldest. This file
186
+ is appendable so you can add a standing fact by hand; notes the agent saves
187
+ have a budget and an overflow, and this file has neither.
188
+
189
+ This file sits AFTER cache breakpoint A because the volatile tier changes:
190
+ MEMORY.md is rewritten on every save, and a changing file ahead of the
191
+ breakpoint would invalidate the cached prefix on every write with no error
192
+ and no symptom beyond the bill.
193
+
194
+ WHAT THIS FILE IS FOR: standing facts about the user — name, role, timezone,
195
+ context, preferences they should not have to restate. Facts, not transcript:
196
+ "prefers answers under a paragraph" belongs here; "asked about the weather on
197
+ Tuesday" does not.
198
+
199
+ WHAT IT IS NOT FOR: rules. An obligation written here escapes the rule budget's
200
+ count (volatile is excluded — it holds facts about the person, not policy) but
201
+ the model reads it like any other instruction, so a rule hidden here is a rule
202
+ nobody budgeted for. Put rules in the soul's <rules> block and let the guard
203
+ count them.
204
+
205
+ WHAT IT IS NOT FOR: working notes. A save that lands here has no eviction and
206
+ grows until the next load fails. Promote a settled fact from MEMORY.md into
207
+ this file by hand.
208
+
209
+ FORMAT: short declarative lines, one fact per line, in prose — not bullets.
210
+ Models imitate form. Keep the authored part small and stable — every token
211
+ here is paid on every turn.
212
+ -->
213
+
214
+ # {{USER}}
215
+
216
+ {{USER_FACTS}}
217
+
218
+ <!--
219
+ Add standing facts below, one prose sentence each. Leave a line out rather than
220
+ guessing. Timezone, how they like to be addressed, role and recurring people,
221
+ length and tone, tools they always want or never want.
222
+ -->
223
+ `,"MEMORY.md":`---
224
+ tier: volatile
225
+ editable: replace
226
+ budget: 2000
227
+ eviction: oldest
228
+ ---
229
+
230
+ <!--
231
+ MEMORY.md — the agent's working memory.
232
+
233
+ TIER 1. Sent every turn, UNCACHED, agent-writable (replace + oldest-first eviction).
234
+ Budget: 2000 tokens.
235
+
236
+ memory_write lands here. The runtime resolves ONE write target — the writable
237
+ volatile file that declared \`eviction: oldest\` — and the model never chooses a
238
+ filename, because choosing would be a second decision on every save and that is
239
+ the two-hop shape small models fail. Declared order does not decide it: USER.md
240
+ is listed first and is writable, and saves still land HERE. That is why USER.md
241
+ does not grow until the agent refuses to boot.
242
+
243
+ WHAT THIS FILE IS FOR: state that matters across sessions but is not a durable
244
+ fact about the user — open threads, decisions taken, things promised. It is
245
+ capped and evicting by design: working memory that only ever grows becomes a
246
+ second conversation history, paid for on every turn.
247
+
248
+ WHAT IT IS NOT FOR: an archive. When something stops being working state and
249
+ becomes a fact about the person, it belongs in USER.md; when it is reference
250
+ material needed only sometimes, it belongs in knowledge/, which costs nothing
251
+ on the turns that don't mention it.
252
+
253
+ Leave the body empty below this comment. The agent fills it; you don't.
254
+ -->
255
+ `,"REMINDER.md":`---
256
+ tier: reminder
257
+ editable: none
258
+ budget: 500
259
+ ---
260
+
261
+ <!--
262
+ REMINDER.md — one or two rules, re-asserted where attention is strongest.
263
+
264
+ TIER 2. Injected AFTER the conversation history, before retrieved memory and the current input.
265
+ Budget: 500 tokens — and using a fraction of it is the point.
266
+
267
+ Rule adherence decays over a conversation and compaction does not reliably reset it.
268
+ Attention is stronger at both ends of the context than in the middle, so a rule stated
269
+ once at the top of a thirty-turn session is effectively in the middle. This file re-states
270
+ the one or two rules that must survive turn thirty, at the recency position.
271
+
272
+ ONE OR TWO RULES. This is not a second policy file: everything here counts against the
273
+ same rule budget as the rest of the static tier (the model does not know the text came from
274
+ different files), and a reminder tier that grows into a policy file spends the position
275
+ it exists to exploit.
276
+
277
+ Pick the rule whose failure is most expensive — usually the confirm-before-consequences
278
+ one — and restate it in the same words the identity file uses. Same words, not a paraphrase: two
279
+ phrasings of one rule read as two rules.
280
+
281
+ Omit this file entirely for short-lived agents; drift isn't a problem under ~10 turns.
282
+ -->
283
+
284
+ {{REMINDER_RULE}}
285
+ `,"SOUL.md":`---
286
+ tier: static
287
+ budget: 1400
288
+ ---
289
+
290
+ <!--
291
+ SOUL.md — the long-form identity document, in the style of a model constitution.
292
+
293
+ This file ships ONLY to a model that meets context.soul.requires (a big window on a
294
+ frontier-class id). Anything else gets SOUL.compact.md instead and never sees this file.
295
+ Its premise is that a capable model, given enough understanding of the goals, can derive
296
+ rules the author never wrote — so write it as explanation, not instruction.
297
+
298
+ The <rules> block is the exception: rules survive distillation verbatim and hold on every
299
+ model. Keep each rule to ONE LINE — the rule counter is line-based. The prose outside
300
+ <rules> is exempt from rule counting for this file only; the compact file enjoys no such
301
+ exemption.
302
+
303
+ A soul owns WHO the agent is. Operations — responsibilities, workflows, team routing —
304
+ live in AGENTS.md, which coexists with the soul; what must not exist is a second identity
305
+ document in the same prefix, because two identities contradict each other.
306
+
307
+ Every paragraph here is a starting point, not a script. The fastest way to a distinctive
308
+ agent is rewriting "How I sound" in the voice you actually want back, then re-deriving
309
+ SOUL.compact.md by hand to match. Edit this file first, the compact one second — never
310
+ the reverse.
311
+ -->
312
+
313
+ # Who {{AGENT_NAME}} is
314
+
315
+ {{SOUL_WHO}}
316
+
317
+ {{SOUL_MEASURE}}
318
+
319
+ # How I think about answers
320
+
321
+ {{SOUL_ANSWERS}}
322
+
323
+ <rules>
324
+ {{RULE_CONFIRM}}
325
+ {{RULE_HONESTY}}
326
+ {{RULE_MEMORY}}
327
+ </rules>
328
+
329
+ # How I sound
330
+
331
+ {{SOUL_VOICE}}
332
+
333
+ ## How I talk
334
+
335
+ <!--
336
+ Three short exchanges, in the voice above. This is the highest-leverage section in the
337
+ file and the main defence against generic output — an example demonstrates a voice that
338
+ adjectives can only describe. Keep them varied: three examples about one topic produce
339
+ an agent that steers every conversation toward it. The placeholders below are deliberate:
340
+ the workspace command warns until you replace them with real exchanges.
341
+ -->
342
+
343
+ <example>
344
+ {{USER}}: {{INPUT_1}}
345
+ {{AGENT_NAME}}: {{REPLY_1}}
346
+ </example>
347
+
348
+ <example>
349
+ {{USER}}: {{INPUT_2}}
350
+ {{AGENT_NAME}}: {{REPLY_2}}
351
+ </example>
352
+
353
+ <example>
354
+ {{USER}}: {{INPUT_3}}
355
+ {{AGENT_NAME}}: {{REPLY_3}}
356
+ </example>
357
+
358
+ # What I refuse to become
359
+
360
+ {{SOUL_REFUSE}}
361
+ `,"SOUL.compact.md":`---
362
+ tier: static
363
+ budget: 800
364
+ ---
365
+
366
+ <!--
367
+ Compact identity, derived from SOUL.md. This is the file small models actually run on, so
368
+ every sentence here is paid for on every turn — keep it to the few that produce the voice.
369
+ The long document stays the source of truth: edit it first, then re-derive this by hand.
370
+
371
+ Unlike SOUL.md, EVERY line here counts against the rule budget, not just the <rules>
372
+ block — a small model does not get the benefit of the derivation exemption, because it is
373
+ precisely the model that cannot derive.
374
+ -->
375
+
376
+ # Who {{AGENT_NAME}} is
377
+
378
+ {{SOUL_COMPACT_WHO}}
379
+
380
+ # How I think about answers
381
+
382
+ {{SOUL_COMPACT_ANSWERS}}
383
+
384
+ <rules>
385
+ {{RULE_CONFIRM}}
386
+ {{RULE_HONESTY}}
387
+ {{RULE_MEMORY}}
388
+ </rules>
389
+
390
+ # How I sound
391
+
392
+ {{SOUL_COMPACT_VOICE}}
393
+
394
+ ## How I talk
395
+
396
+ <!-- The same three exchanges as SOUL.md, or trimmed variants — same voice, fewer words. -->
397
+
398
+ <example>
399
+ {{USER}}: {{INPUT_1}}
400
+ {{AGENT_NAME}}: {{REPLY_1}}
401
+ </example>
402
+
403
+ <example>
404
+ {{USER}}: {{INPUT_2}}
405
+ {{AGENT_NAME}}: {{REPLY_2}}
406
+ </example>
407
+
408
+ <example>
409
+ {{USER}}: {{INPUT_3}}
410
+ {{AGENT_NAME}}: {{REPLY_3}}
411
+ </example>
412
+
413
+ # What I refuse to become
414
+
415
+ {{SOUL_REFUSE}}
416
+ `};function lo(e,n){return e.replace(/\{\{\s*([A-Za-z0-9_]+)\s*\}\}/g,(o,r)=>{let a=n[r];return a===void 0?o:a})}var ze=[{id:"openai",label:"OpenAI",modelId:"gpt-5-6-sol",baseUrl:"https://api.openai.com/v1",apiKeyEnv:"MODEL_API_KEY"},{id:"anthropic",label:"Anthropic (OpenAI-compatible endpoint)",modelId:"claude-sonnet-5",baseUrl:"https://api.anthropic.com/v1",apiKeyEnv:"MODEL_API_KEY"},{id:"deepseek",label:"DeepSeek",modelId:"deepseek-v4-flash",baseUrl:"https://api.deepseek.com/v1",apiKeyEnv:"MODEL_API_KEY"},{id:"openrouter",label:"OpenRouter (many providers, one key)",modelId:"deepseek/deepseek-chat",baseUrl:"https://openrouter.ai/api/v1",apiKeyEnv:"MODEL_API_KEY"},{id:"groq",label:"Groq",modelId:"llama-3.3-70b-versatile",baseUrl:"https://api.groq.com/openai/v1",apiKeyEnv:"MODEL_API_KEY"},{id:"nvidia",label:"NVIDIA NIM",modelId:"meta/llama-3.3-70b-instruct",baseUrl:"https://integrate.api.nvidia.com/v1",apiKeyEnv:"MODEL_API_KEY"},{id:"ollama",label:"Ollama (local, no key)",modelId:"qwen3.5:9b",baseUrl:"http://localhost:11434/v1"},{id:"ollama-cloud",label:"Ollama Cloud (hosted, needs a key)",modelId:"gpt-oss:120b",baseUrl:"https://ollama.com/v1",apiKeyEnv:"MODEL_API_KEY"},{id:"bedrock",label:"AWS Bedrock (Converse; credentials from the AWS chain)",modelId:"eu.anthropic.claude-sonnet-4-6",baseUrl:"",api:"bedrock-converse",region:"eu-west-1"},{id:"custom",label:"any other OpenAI-compatible endpoint",modelId:"",baseUrl:"",apiKeyEnv:"MODEL_API_KEY"}];function Vt(e){return ze.find((n)=>n.id===e)}var _=[{slug:"now",note:"read-only: runs in parallel with other reads"},{slug:"memory_write",note:"mutating: serialises, holds a reserved write slot, never retried"},{slug:"memory_forget",note:"mutating: lists by query, deletes only the ids it listed"},{slug:"artifact_read",note:"read-only: follows the pointer compaction leaves behind"}],re=_.map((e)=>e.slug);function S(e){let n=e.replace(/\s+/g," ").trim();return n.length<=200?n:`${n.slice(0,199)}…`}var b=[{value:"none",label:"no — the block is written commented, with an example"},{value:"daily",label:"a daily briefing at 08:00"},{value:"hourly",label:"an hourly check"}];function C(e){return b.find((n)=>n.value===e)}var u=[{value:"sandbox",label:"the sandbox",hint:"run it by name from anywhere"},{value:"here",label:"the current directory",hint:"every later command needs its path"},{value:"custom",label:"somewhere else",hint:"type a path"}];function U(e){return u.find((n)=>n.value===e)}function FA(e,n,o){if(n===void 0)return;if(e==="sandbox")return`${o.agentDirBase}/${at(n)}`;if(e==="here")return`./${at(n)}`;return}var c=[{value:"none",label:"No — but it will know the web tools exist and can ask you to enable them",pinned:[]},{value:"fetch",label:"Read pages — it can open a URL you give it. No account or key needed",pinned:["web_fetch"]},{value:"search",label:"Search and read — needs an API key from a search provider",pinned:["web_search","web_fetch"]}];function N(e){return c.find((n)=>n.value===e)}var d=[{value:"tavily",label:"Tavily — built for agents, generous free tier",apiKeyEnv:"TAVILY_API_KEY"},{value:"brave",label:"Brave Search",apiKeyEnv:"BRAVE_API_KEY"},{value:"exa",label:"Exa — neural search, returns page excerpts",apiKeyEnv:"EXA_API_KEY"}];function Io(e){return d.find((n)=>n.value===e)}var En="COMPOSIO_API_KEY",m=[{value:"none",label:"No — but it will know the route exists and can tell you how to switch it on",pinned:[]},{value:"connected",label:"Yes — Gmail, Slack, Notion and ~1,000 more, via a Composio account",pinned:["composio_search","composio_connect"]}];function x(e){return m.find((n)=>n.value===e)}var uo="TELEGRAM_BOT_TOKEN",p=[{value:"none",label:"No — it is reachable through the CLI and the API only"},{value:"connected",label:"Yes — a Telegram bot, long-poll (needs no public URL)"}];function P(e){return p.find((n)=>n.value===e)}var g=[{value:"none",label:"No"},{value:"connected",label:"Yes — unofficial, and it can get a number banned. Use a spare one."}];function M(e){return g.find((n)=>n.value===e)}var w=[{value:"none",label:"No"},{value:"local",label:"Yes — HTTP, SSE and WebSocket on 127.0.0.1:7420"}];function K(e){return w.find((n)=>n.value===e)}var f=[{value:"service",label:"Yes — in the background: starts at login, restarts on crash"},{value:"none",label:"No — it runs while you have `serve` open in a terminal"}];function W(e){return f.find((n)=>n.value===e)}var UA=[{value:"find",label:"Yes — pick from the catalogue: real skills, tick as many as you want"},{value:"starter",label:"Yes — with one worked example to copy"},{value:"none",label:"An empty directory — the concept is there, the procedures are not"}];function Y(e){return UA.find((n)=>n.value===e)}var l=[{value:"none",label:"No — it can talk and remember, and change its own settings when you ask",pinned:["config_read","config_set"],allow:["memory_write","config_set"]},{value:"read",label:"Read only — it can read and search files, but change nothing",pinned:["file_read","glob","grep","config_read","config_set"],allow:["memory_write","config_set"]},{value:"write",label:"Read and write files — confined to its own workspace, no shell",pinned:["file_read","file_write","file_edit","glob","grep","config_read","config_set"],allow:["memory_write","file_write","file_edit","config_set"]},{value:"full",label:"Yes — read and write files, run commands, and change its own configuration",pinned:["file_read","file_write","file_edit","glob","grep","exec","config_read","config_set"],allow:["memory_write","file_write","file_edit","exec","config_set"]}];function E(e){return l.find((n)=>n.value===e)}var Sr=["user","name","purpose","preset","model","baseUrl","region","apiKey","system","web","webBackend","webKey","composio","composioKey","telegram","telegramAllow","telegramToken","whatsapp","whatsappNumber","skills","daemon","dirChoice","dir"],Cn=new Set(["apiKey","webKey","composioKey","telegramToken"]);function at(e){let n=e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"");return n===""?"agent":n}function aA(e,n){let o=e.preset===void 0?void 0:Vt(e.preset);for(let r of Sr){if(e[r]!==void 0)continue;if(r==="apiKey"&&o!==void 0&&o.apiKeyEnv===void 0)continue;if(r==="baseUrl"&&o?.api==="bedrock-converse")continue;if(r==="region"&&o?.api!=="bedrock-converse")continue;if((r==="webBackend"||r==="webKey")&&e.web!=="search")continue;if(r==="dir"&&e.dirChoice!=="custom")continue;if(r==="dirChoice"&&e.dir!==void 0)continue;if(r==="composioKey"&&e.composio!=="connected")continue;if((r==="telegramToken"||r==="telegramAllow")&&e.telegram!=="connected")continue;if(r==="whatsappNumber"&&e.whatsapp!=="connected")continue;switch(r){case"user":return{step:r,prompt:"Your name",fallback:""};case"name":return{step:r,prompt:"The agent's name",fallback:""};case"purpose":return{step:r,prompt:"What is it for, in one line",fallback:"helping with whatever comes up"};case"preset":return{step:r,prompt:"Model endpoint",fallback:"1",options:ze.map((a)=>({value:a.id,label:a.label}))};case"model":return{step:r,prompt:"Model id",fallback:o?.modelId??""};case"baseUrl":return{step:r,prompt:"Base URL",fallback:o?.baseUrl??""};case"region":return{step:r,prompt:"AWS region",fallback:o?.region??"us-east-1"};case"apiKey":return{step:r,prompt:"Model API key",fallback:"",optional:!0};case"system":return{step:r,prompt:"Can it act on this computer?",fallback:"1",options:l.map((a)=>({value:a.value,label:a.label}))};case"web":return{step:r,prompt:"Can it reach the internet?",fallback:"1",options:c.map((a)=>({value:a.value,label:a.label}))};case"webBackend":return{step:r,prompt:"Search backend",fallback:"1",options:d.map((a)=>({value:a.value,label:a.label}))};case"webKey":return{step:r,prompt:`${Io(e.webBackend??"tavily")?.label.split(" —")[0]??"Search"} API key`,fallback:"",optional:!0};case"composio":return{step:r,prompt:"Can it use your other apps?",fallback:"1",options:m.map((a)=>({value:a.value,label:a.label}))};case"composioKey":return{step:r,prompt:"Composio API key",fallback:"",optional:!0};case"telegram":return{step:r,prompt:"Can people message it on Telegram?",fallback:"1",options:p.map((a)=>({value:a.value,label:a.label}))};case"telegramAllow":return{step:r,prompt:"Your Telegram handle — who may message it",fallback:"",optional:!0};case"telegramToken":return{step:r,prompt:"Telegram bot token (from @BotFather)",fallback:"",optional:!0};case"whatsapp":return{step:r,prompt:"Can people message it on WhatsApp?",fallback:"1",options:g.map((a)=>({value:a.value,label:a.label}))};case"whatsappNumber":return{step:r,prompt:"Your WhatsApp number in digits, no + — the account it links to",fallback:"",optional:!0};case"skills":return{step:r,prompt:"Give it a skills directory? A skill is a procedure it follows when the turn calls for one.",fallback:"starter",options:UA.map((a)=>({value:a.value,label:a.label}))};case"daemon":return{step:r,prompt:"Keep it running in the background?",fallback:"service",options:f.map((a)=>({value:a.value,label:a.label}))};case"dirChoice":return{step:r,prompt:"Where should it live?",fallback:"1",options:u.map((a)=>({value:a.value,label:FA(a.value,e.name,n)??a.label,hint:a.hint}))};case"dir":return{step:r,prompt:"Path to create it at",fallback:""}}}return}function oi(e){let n=e.trim();if(/\s/.test(n))return{ok:!1,reason:"is one handle, with no spaces — for example @moeen."};let o=n.startsWith("@")?n.slice(1):n;if(!/^[A-Za-z0-9_]{5,32}$/.test(o))return{ok:!1,reason:/-/.test(o)?"contains a hyphen, and a Telegram handle cannot — they are letters, digits and underscores only. Did you mean an underscore?":"is not a Telegram handle: 5-32 characters, letters, digits and underscores only. Leave it empty to allow nobody for now."};return{ok:!0,value:`@${o}`}}var H=/^[A-Z_][A-Z0-9_]*$/;function Wt(e,n){let o=n.trim();switch(e){case"user":case"name":case"model":case"purpose":return o===""?{ok:!1,reason:"cannot be empty."}:{ok:!0,value:o};case"preset":{let a=ze[Number(o)-1]??Vt(o.toLowerCase());return a===void 0?{ok:!1,reason:`pick 1-${ze.length}, or a name: ${ze.map((s)=>s.id).join(", ")}.`}:{ok:!0,value:a.id}}case"web":{let a=c[Number(o)-1]??N(o.toLowerCase());return a===void 0?{ok:!1,reason:`pick 1-${c.length}, or a name: ${c.map((s)=>s.value).join(", ")}.`}:{ok:!0,value:a.value}}case"webBackend":{let a=d[Number(o)-1]??Io(o.toLowerCase());return a===void 0?{ok:!1,reason:`pick 1-${d.length}, or a name: ${d.map((s)=>s.value).join(", ")}.`}:{ok:!0,value:a.value}}case"webKey":case"composioKey":case"telegramToken":return{ok:!0,value:o};case"telegramAllow":{let r=o.trim();if(r==="")return{ok:!0,value:""};return oi(r)}case"telegram":{let a=p[Number(o)-1]??P(o.toLowerCase());return a===void 0?{ok:!1,reason:`pick 1-${p.length}, or a name: ${p.map((s)=>s.value).join(", ")}.`}:{ok:!0,value:a.value}}case"whatsapp":{let a=g[Number(o)-1]??M(o.toLowerCase());return a===void 0?{ok:!1,reason:`pick 1-${g.length}, or a name: ${g.map((s)=>s.value).join(", ")}.`}:{ok:!0,value:a.value}}case"whatsappNumber":{let r=o.trim();if(r==="")return{ok:!0,value:""};let a=r.replace(/[^0-9]/g,"");if(!/^[0-9]{6,20}$/.test(a))return{ok:!1,reason:"that is not a WhatsApp number — use the digits including the country code, with no + and no spaces."};return{ok:!0,value:a}}case"server":{let a=w[Number(o)-1]??K(o.toLowerCase());return a===void 0?{ok:!1,reason:`pick 1-${w.length}, or a name: ${w.map((s)=>s.value).join(", ")}.`}:{ok:!0,value:a.value}}case"schedules":{let a=b[Number(o)-1]??C(o.toLowerCase());return a===void 0?{ok:!1,reason:`pick 1-${b.length}, or a name: ${b.map((s)=>s.value).join(", ")}.`}:{ok:!0,value:a.value}}case"skillsPick":return{ok:!0,value:o.trim()};case"skillsSearch":return{ok:!0,value:o.trim()};case"skills":{let a=UA[Number(o)-1]??Y(o.toLowerCase());return a===void 0?{ok:!1,reason:`pick 1-${UA.length}, or a name: ${UA.map((s)=>s.value).join(", ")}.`}:{ok:!0,value:a.value}}case"daemon":{let a=f[Number(o)-1]??W(o.toLowerCase());return a===void 0?{ok:!1,reason:`pick 1-${f.length}, or a name: ${f.map((s)=>s.value).join(", ")}.`}:{ok:!0,value:a.value}}case"composio":{let a=m[Number(o)-1]??x(o.toLowerCase());return a===void 0?{ok:!1,reason:`pick 1-${m.length}, or a name: ${m.map((s)=>s.value).join(", ")}.`}:{ok:!0,value:a.value}}case"region":return/^[a-z]{2}(-[a-z]+)+-\d$/.test(o)?{ok:!0,value:o}:{ok:!1,reason:"is not an AWS region name, such as eu-west-1 or us-east-1."};case"baseUrl":{let r;try{r=new URL(o)}catch{return{ok:!1,reason:"must be an absolute URL, e.g. https://api.example.com/v1."}}if(r.protocol!=="http:"&&r.protocol!=="https:")return{ok:!1,reason:"only http and https are supported."};if(r.pathname.endsWith("/chat/completions"))return{ok:!1,reason:"must end at the version segment — the runtime appends /chat/completions itself."};return{ok:!0,value:o}}case"apiKeyEnv":return H.test(o)?{ok:!0,value:o}:{ok:!1,reason:"must be an env var name, like MODEL_API_KEY."};case"apiKey":return{ok:!0,value:o};case"serverToken":return{ok:!0,value:o};case"system":{let a=l[Number(o)-1]??E(o.toLowerCase());return a===void 0?{ok:!1,reason:`pick 1-${l.length}, or a name: ${l.map((s)=>s.value).join(", ")}.`}:{ok:!0,value:a.value}}case"dirChoice":{let a=u[Number(o)-1]??U(o.toLowerCase());return a===void 0?{ok:!1,reason:`pick 1-${u.length}, or a name: ${u.map((s)=>s.value).join(", ")}.`}:{ok:!0,value:a.value}}case"dir":return o===""?{ok:!1,reason:"cannot be empty."}:{ok:!0,value:o}}}function B(e){let n=e.system,o=E(n)??l[0],r=o?.pinned.includes("exec")===!0,a=o?.pinned.includes("file_read")===!0,s=o?.pinned.includes("file_write")===!0,v=o===void 0||o.pinned.length===0?[" # Nothing is enabled. Add tools here and permit them in the policy block below."]:!a?[" # This agent cannot read, write or run anything. It CAN read this file and change it when"," # you ask — which is how you turn the rest on without editing YAML yourself."," #"," # It is told which tools exist and are not enabled, so ask it for something it cannot do"," # and it will name the tool and offer to add it. A change takes effect on the next start."," #"," # To enable them by hand instead, add to pinned:"," # file_read, glob, grep read and search files"," # file_write, file_edit change files, confined to workspace/"," # exec run shell commands — the confinement does not bind it"]:r?[" # This agent can read and change files and run shell commands. What it may run is decided"," # by the policy block below — narrow it, and prefer the file tools over the shell, whose"," # target a rule cannot see inside a command string."," #"," # Writes are confined to workspace/. To open another directory, give the system"," # provider a writeRoots list — the agent cannot add one to itself, by design."," # That confinement binds the file tools and NOT exec, whose target lives inside a"," # shell string no path check can see."]:s?[" # This agent can read files and change them, and cannot run commands. That combination",' # is the only one in which "confined to workspace/" is a true statement — a shell'," # carries its target inside a string no path check can look inside."," #"," # To open another directory, give the system provider a writeRoots list. The agent"," # cannot add one to itself, by design."]:[" # This agent can read and search files and change nothing. Reading is still not nothing:"," # anything it reads can carry text a stranger wrote, which is why the write gate exists."," #"," # Reading is not confined; changing things would be, but nothing here changes things."],L=o?.pinned??[],y=N(e.web)?.pinned??[],k=I(e);return[" # ── providers: where tools come from ──",...v," #"," # Several may be configured at once — this is a map, not a choice. Each block is that"," # provider's own configuration and it refuses a key it does not read."," providers:"," system: {}",...r?[" # system: { writeRoots: [~/code/my-project] } # absolute, or relative to this file"]:[],"",...y.length===0?[" # Named with nothing pinned. It cannot reach the internet, and it knows the two"," # tools exist and will tell you which one to enable rather than saying it can't."," # web_fetch needs no key; web_search needs one, named here:"," # web: { backend: tavily, apiKeyEnv: TAVILY_API_KEY } # tavily | brave | exa"," web: {}"]:k===void 0?[" # Reading pages only. No key and no account: web_fetch takes a URL you or the"," # person gave it. To add search, pick a backend and name its variable:"," # web: { backend: tavily, apiKeyEnv: TAVILY_API_KEY } # tavily | brave | exa"," web: {}"]:[" # Search and page reading. The key lives in the .env beside this file; this names"," # only the variable, and a literal key here fails validation."," web:",` backend: ${k.value}`,` apiKeyEnv: ${k.apiKeyEnv}`]," # Addresses on this machine or this network are refused and no setting permits them."," # Neither tool can change anything, but what they return is text a stranger wrote — so it"," # is fenced as data, and a tool that CHANGES something needs an allow rule after one runs.","",...G(e),""," # What the model is actually given, from any provider above. A slug no configured provider"," # has fails the load naming it — nothing is ever dropped quietly."," pinned:",...L.map((h)=>` - ${h}`),...y.map((h)=>` - ${h}`),...y.includes("web_search")?[]:[" # - web_search"],...y.includes("web_fetch")?[]:[" # - web_fetch"],...R(e).map((h)=>` - ${h}`),...xA(e)?[" # App tools land here once composio_search has found them — ask the agent for what"," # you want and it writes the slug itself. A slug typed in by hand needs",` # \`${t.slug} tools . --warm\` first: boot resolves from a cache and makes no`," # request, so an unwarmed slug fails the load rather than fetching."," # - GMAIL_FETCH_EMAILS"," # - composio_workbench # runs Python in Composio's sandbox, under no rule here"]:[" # - GMAIL_FETCH_EMAILS"]]}function xA(e){return e.composio==="connected"}function R(e){return x(e.composio)?.pinned??[]}var D=["composio_connect","composio_workbench"];function F(e){return D.includes(e)}function G(e){let n=[" # Your other apps — Gmail, Slack, Notion, ~1,000 more — through a Composio account."," # Two tools do the setup: composio_search finds what a task needs and saves the"," # definitions, composio_connect returns the sign-in link. Ask the agent for an app and it"," # pins the slug itself with config_set; the new tool is live after a restart."];if(!xA(e))return[...n," # Named with nothing pinned, so it knows the route exists and can tell you the line"," # to add. To switch it on: pin the two tools below, put a key in .env, and give this"," # block the two settings shown here.",` # composio: { apiKeyEnv: ${En}, userId: default }`," composio: {}"];return[...n," composio:",` apiKeyEnv: ${En}`," # Whose accounts these are, in Composio's terms — not a name of yours. One person on",' # one machine wants "default", and a connection made under it is reused by every later'," # session. Change it only to keep two people's accounts apart on one agent."," userId: default"]}function j(e){let n=E(e.system)??l[0],o=n?.pinned.includes("exec")===!0,r=[...n?.allow??[],...R(e).filter(F)],a=[" # ── which calls run, which ask, and which are refused ──"," # deny wins over allow, first match, and being more specific never reorders that. A rule"," # naming a primary content field — exec(command:rm *) — is refused at load, because a"," # compound command defeats it and a rule that can be defeated reads as protection."," #"," # Below every setting here is a floor that cannot be lowered: rm -rf / and rm -rf ~,"," # --no-preserve-root, fork bombs, mkfs, and dd to a block device are never permitted."," policy:"," mode: allow # allow | ask | deny — for calls no rule mentions"];if(r.length===0)return[...a," allow: []"," deny: []"," onNoApprover: deny"];return[...a," # Authorises these even once untrusted content has entered the turn. Remove one and that"," # tool stops working for the rest of any turn that has read a file — which is the gate"," # doing its job, and worth choosing on purpose rather than discovering."," allow:",...r.map((s)=>` - "${s}"`),...o?[" deny:"," # Narrow these to taste. A pattern matches the command, and every part of a",' # compound must match for an allow — so "git status && rm -rf x" is not allowed'," # by exec(git status:*).",' - "exec(rm *)"',' - "exec(sudo *)"']:[" deny: []"],' onNoApprover: deny # what "ask" means with nobody to ask — a schedule, a pipe']}function V(e){return po(e).capabilities.nativeTools?[" # native: the model's own function calling. nlt (calls written as text) is the opt-in for"," # a model without it; the harness benchmark in evals/harness/ has both, per model."," dialect: native"]:[" # nlt: calls written as text, because the capability registry does not know this model to"," # call tools natively. If it does, `dialect: native` was ahead on 13 of 14 measured models."," dialect: nlt"]}function wr(e,n){let o=q(e);return[{relPath:"agent.yaml",contents:X(e,n)},...["SOUL.md","SOUL.compact.md","AGENTS.md","POLICY.md","USER.md","MEMORY.md","REMINDER.md"].map((r)=>({relPath:`workspace/${r}`,contents:lo(T[r],o)})),...e.skills==="starter"?[{relPath:"skills/starter/SKILL.md",contents:lo(mr,o)}]:[{relPath:"skills/.keep",contents:""}],{relPath:"knowledge/.keep",contents:""},{relPath:".env.example",contents:ee(e)},{relPath:".env",contents:J(e)},{relPath:".gitignore",contents:e.whatsapp==="connected"?`.env
417
+ .whatsapp/
418
+ `:`.env
419
+ `}]}function q(e){let{user:n,name:o,purpose:r}=e,a=`I confirm before I send, spend or schedule anything ${n} didn't ask for in so many words, and before I delete anything at all, because I'm wired into live systems and mistakes there are expensive.`,s=`When I don't know something I say so and offer to go find out, rather than producing something plausible and letting ${n} discover the difference later.`,v=`When ${n} tells me something worth keeping — a fact about them, a preference, a decision — I save it with memory_write in the same turn, because the conversation is not memory and a new session starts without it.`;return{AGENT_NAME:o,USER:n,WHEN_NOT_TO_USE_KEY:Xt(),SKILL_NAME:"starter",RULE_CONFIRM:a,RULE_HONESTY:s,RULE_MEMORY:v,SOUL_WHO:`I'm ${o}. I work with ${n}, and this is what I'm for: ${r}. `+"The relationship is the point — I'm not a search box; I'm closer to a colleague "+`who holds context so ${n} doesn't have to.`,SOUL_MEASURE:"The measure of whether I'm working is not how impressive my answers are — it's "+`whether ${n}'s day runs smoother because I was in it.`,SOUL_ANSWERS:`I lead with the answer and put the reasoning after it, when the reasoning is worth having. Disagreement is part of the job: if I think an idea is bad I say so once, plainly, with the reason, and then help with it anyway if ${n} still wants it. When I'm unsure I name the part I'm unsure about instead of hedging the whole `+"answer into mush — an unhelpful answer isn't the safe one, it just moves the cost "+`somewhere ${n} can't see it.`,SOUL_VOICE:"I write the way people write to each other: plain sentences, no headers, no bullet lists unless there's genuinely a list. Short is a courtesy. I skip performed "+"enthusiasm and padded pleasantries — warmth, where it shows, is in remembering "+`things ${n} didn't ask me to remember.`,SOUL_REFUSE:"A yes-machine. The moment I optimise for sounding agreeable over being right, I stop being worth talking to.",SOUL_COMPACT_WHO:`I'm ${o}. I work with ${n} — ${r}. The measure of whether I'm working is whether ${n}'s day runs smoother because I was in it.`,SOUL_COMPACT_ANSWERS:"I lead with the answer and put the reasoning after it. When I'm unsure I name the part I'm unsure about instead of hedging the whole answer into mush.",SOUL_COMPACT_VOICE:"I write plain sentences: no headers, no bullet lists unless there's genuinely a list. Short is a courtesy.",RESPONSIBILITIES:`My job: ${r}. A task ${n} hands me stays mine until it's done, handed `+`back, or blocked — and when it's blocked, ${n} hears what's blocking it rather than silence.`,WORKFLOW:`I look at what I already know — the files in my context and what ${n} told me `+`earlier — before asking ${n} to repeat themselves. For anything with more than one step I say the plan in a line first, so a wrong direction costs one message instead of the whole job. Work that touches live systems goes through the confirmation rule in my identity file.`,MEMORY_PROCEDURE:`USER.md is the standing picture of ${n} — name, role, preferences they wrote. `+`MEMORY.md is my working notes: when ${n} tells me something worth keeping I save it with memory_write in the same turn, and those notes come back every turn until older ones overflow into the memory directory, where they return when the question matches. Earlier conversations are searched the same way. When a saved note and what ${n} just said disagree, the person wins and I correct the note.`,BOUNDARIES:`If something involves a person other than ${n} and ${n} hasn't said what to `+`share, I ask before including it — ${n} knows the relationship and I don't.`,UNCERTAINTY_BEHAVIOUR:`When I can't reach a tool or a request is ambiguous, I say which part is unclear and ask, because guessing just moves the cost somewhere ${n} can't see it.`,USER_FACTS:`${n} is the person I work for.
420
+ What they brought me in for: ${r}.`,REMINDER_RULE:a}}var i=(e)=>`# ── ${e} ${"─".repeat(Math.max(1,88-e.length))}`;function A(e){if(e.whatsapp!=="connected")return[];let n=e.whatsappNumber??"";return[" # Unofficial: this runs Baileys, which reverse-engineers WhatsApp Web. The number can be"," # banned and there is no appeal — use a spare one.",` # Pairing does not complete under Bun; every install of \`${t.slug}\` runs under Node, so`," # this only matters when running from a checkout with bun. The channel says so at start."," - type: whatsapp"," id: wa # the channel segment of every session key it produces"," authDir: ./.whatsapp # the paired session — 0600, and gitignored for you",' # What the phone lists under Linked devices: "Google Chrome (<deviceName>)". The left'," # half is fixed by the protocol; only the bracket is yours. Some accounts refuse a"," # non-standard name under pairing-by-code — if pairing is refused, remove this and pair"," # again. New pairings only; a linked device keeps the name it was paired with.",` # deviceName: ${at(e.name)}`,...n===""?[" # No number, so pairing is a QR to scan. Set pairWith to the account's own"," # number, digits with no +, and it becomes a code you type into the phone.",' # pairWith: "8801711223344"']:[" # The account this agent becomes a linked device of. Pairing is an"," # eight-character code typed into the phone, under Linked devices.",` pairWith: "${n}"`],...n===""?[" # INBOUND ONLY, and an empty list permits nobody — which is the safe default."," # Message it and the log prints the exact line to paste here. A + is fine."," allowFrom: []"]:[" # INBOUND ONLY. You are in it, so the chat with yourself works. Add others"," # from the log, which names a refused sender and prints the line. A + is fine.",` allowFrom: ["${n}"]`]]}function z(e){if(e.telegram!=="connected"&&e.whatsapp==="connected")return[i("channels"),"# The channel connects AFTER the runtime is ready and never blocks it. Only",`# \`${t.slug} serve\` starts it; \`${t.slug} run\` builds the same agent with`,"# channels switched off. Pairing is a QR: start it and the channel reports needs_input,","# which the web UI draws and `GET /v1/agents/<id>` carries.","channels:",...A(e),"","# Where a turn with no origin goes — a scheduled run, or an API call asking for delivery.","delivery:"," default: wa",""];if(e.telegram!=="connected")return[i("channels — not configured"),"# Reachable through the CLI and the API only.","#",'# You do not have to edit this by hand: ask the agent — "put yourself on Telegram" —',"# and it writes the block below with config_set, then tells you which variable to fill","# in. Two things stay yours either way, and it will say so rather than doing them:","# the token, because .env is protected, and allowFrom, because who may talk to it is","# not its decision. Get a token from @BotFather with /newbot.","#","# allowFrom is INBOUND ONLY, and omitting it permits nobody — which is safe and","# workable: message the bot and the log prints the exact line to paste here.","# channels:","# - type: telegram","# id: tg",`# tokenEnv: ${uo}`,"# mode: longpoll",'# allowFrom: ["@your-handle"]',"# delivery:","# default: tg",""];let n=e.telegramAllow??"";return[i("channels"),"# Long-poll: no public URL, no inbound firewall rule. Switch to webhook by setting","# mode: webhook and webhookUrl once this runtime has a public HTTPS address.","#","# The bot connects AFTER the runtime is ready and never blocks it — a bad token surfaces",`# as an event and the HTTP surface keeps serving. Only \`${t.slug} serve\` starts it;`,`# \`${t.slug} run\` builds the same agent with channels switched off.`,"channels:"," - type: telegram"," id: tg # the channel segment of every session key it produces",` tokenEnv: ${uo}`," mode: longpoll # or webhook, with webhookUrl below",` # webhookUrl: https://your-host/v1/channels/tg/webhook/${at(e.name)}`,...n===""?[" # INBOUND ONLY, and an empty list permits nobody — which is the safe default."," # Message the bot and the log prints the exact line to paste here."," allowFrom: []"]:[" # INBOUND ONLY. It grants nothing on delivery, and omitting it permits nobody.",` allowFrom: ["${n}"]`],...A(e),"","# Where a turn with no origin goes — a scheduled run, or an API call asking for delivery.","delivery:"," default: tg",""]}function Q(e){let n=e.server==="local";return[i("http api"),...n?["# On, loopback only — the token is in the .env beside this file. Set","# enabled: false to switch it off."]:['# Off — ask the agent to "turn on your HTTP API" and it flips this, or set',`# enabled: true here. \`${t.slug} init --server local\` is the default; this`,"# agent was created with --server none."],"# A non-loopback host REFUSES to start without a token, and host and tokenEnv are the two","# fields the agent may not change: an agent that runs shell commands, exposed on 0.0.0.0,","# looks identical to a safe one until someone finds it.","server:",` enabled: ${n}`," host: 127.0.0.1"," port: 7420",` tokenEnv: ${t.envPrefix}API_TOKEN`,""]}function Z(e){let n=[i("schedules"),`# Only \`${t.slug} serve\` fires these. \`run\` reconciles them so they are listed and`,"# validated, and starts no timer.","#","# cron observes DST: an occurrence whose local time does not exist on a spring-forward day","# is SKIPPED, and a repeated fall-back hour fires ONCE. Avoid 00:00-03:00 and neither","# applies. every is interval-anchored and ignores DST. Each fire carries a fixed offset","# derived from the id — at most a tenth of the interval, capped at 15 minutes — so many","# schedules do not hit one endpoint at the same instant.","#",'# deliver is required: { channel, to }, or the literal "none" for the event stream only.'];if(e.schedules==="daily")return[...n,"schedules:"," - id: morning-brief"," kind: cron",' expr: "0 8 * * *" # 08:00 in the timezone below',` timezone: ${O()}`,' task: "Summarise what is on today and anything left over from yesterday."',' deliver: none # or { channel: tg, to: "@your-handle" } once a channel exists',""];if(e.schedules==="hourly")return[...n,"schedules:"," - id: hourly-check"," kind: every"," expr: 1h",' task: "Check for anything that needs attention and say nothing if all is well."',' deliver: none # or { channel: tg, to: "@your-handle" } once a channel exists',""];return[...n,"# schedules:","# - id: morning-brief","# kind: cron # cron | every | at",'# expr: "0 8 * * *" # cron: 5 or 6 field | every: "15m" | at: ISO 8601',`# timezone: ${O()}`,'# task: "Summarise the day ahead."',"# deliver: none",""]}function O(){return Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC"}function X(e,n){let o=at(e.name),r=[`# ${e.name} — generated by \`${t.slug} init\`.`,"#","# Everything active below is what init configured; everything commented arrives with the","# phase named beside it, and is REFUSED AT LOAD if uncommented early — the runtime never","# silently ignores configuration. docs/02-SPEC-MANIFEST.md is the binding reference.","",`apiVersion: ${t.apiVersion}`,`id: ${o}`,`name: ${e.name}`,...S(e.purpose)===""?[]:[`description: ${JSON.stringify(S(e.purpose))}`],"",i("model"),"model:"," main:",` id: ${e.model}`];if(e.region!==void 0)r.push(" # AWS Bedrock over the Converse API. No URL and no key variable: credentials come from"," # the AWS default chain — environment, a named profile, the container or instance role."," api: bedrock-converse"," options:",` region: ${e.region}`," # profile: my-aws-profile");else r.push(" # Must end at the version segment; the runtime appends /chat/completions itself.",` baseUrl: ${e.baseUrl}`," # Both take ${VAR} if you would rather set them from the environment — a container, say."," # The KEY never goes here in either form; the manifest names its variable, below.");if(e.apiKeyEnv!==void 0)r.push(" # The *name* of an env var, never a value — a literal key fails validation.",` apiKeyEnv: ${e.apiKeyEnv}`);return r.push(" # temperature: 0.3 # some models refuse any temperature; leave unset for those"," # reasoningEffort: none # none | minimal | low | medium | high — a reasoning model"," # # bills its thinking to the output budget; verify per endpoint"," # topP: 0.95"," # maxTokens: 4096"," # streamUsage: true # OpenAI extension; needed for real token counts on Ollama"," # Override the shipped capability registry only when it is wrong for your endpoint."," # capabilities:"," # contextWindow: 32768"," # thinking: none # none | anthropic | openai | deepseek"," # promptStyle: # how workspace files render for this model (Phase 3.5)"," # delimiters: plain # xml | markdown | plain"," # intensity: emphatic # emphatic | neutral | soft",""," # A cheap model for tool selection and summarisation. `$ref` reuses a role."," # selector:"," # id: a-cheaper-model",...e.region===void 0?[` # baseUrl: ${e.baseUrl}`]:[" # api: bedrock-converse",` # options: { region: ${e.region} }`]," # compactor: { $ref: model.selector }","",i("context"),"context:"," workspace: ./workspace",""," # Tier 0 — cached, read-only. Identity is NOT listed here: the soul below (or its"," # distilled compact file) ships it. AGENTS.md is operations — what the agent does,"," # not who it is — which is why the two coexist."," static:"," - AGENTS.md"," - POLICY.md",""," # Tier 1 — after the cache breakpoint, so a memory write never invalidates the prefix."," volatile:"," - USER.md"," - MEMORY.md",""," # Tier 2 — re-asserted after the history, where attention is strongest."," reminder: REMINDER.md",""," # How much of the window to keep free for the reply, so the prompt cannot crowd it out."," # This is NOT a cap on what the model may generate — nothing is sent as max_tokens unless"," # you set model.main.maxTokens. Generous because a reasoning model thinks here too."," reserveOutput: 8192",...n===void 0?[]:["",` # The window the endpoint published for ${e.model} when this file was made, from`,` # ${n.source}. A fact about the endpoint, not the model: change it if the`," # model is served somewhere else.",` window: ${n.tokens}`],""," # Capability-gated identity: SOUL.md ships only to a model meeting `requires`; anything"," # else gets the hand-edited compact file. Edit SOUL.md first, then re-derive"," # SOUL.compact.md to match — never the reverse."," soul:"," file: SOUL.md",' requires: { contextWindow: ">=200000", class: frontier }'," onUnmet: distill"," distilled: SOUL.compact.md",""," # Defaults shown; uncomment to change. Budgets fail the load naming the file — never"," # silent truncation."," # observationMaxTokens: 2000 # not a default: absent means 5% of the window, 2,000 to 32,000"," # budgets: { static: 2000, volatile: 3500, reminder: 500, total: 6000 }"," # rules:"," # perRuleSuccess: 0.90 # measure with `bun run eval:rules` in a checkout, do not guess"," # reliabilityTarget: 0.80 # at 0.90 per rule this permits TWO rules, not four"," # onExceed: fail","",i("tools"),"tools:"," # Config only, never auto-detected: behaviour must not drift when the model changes.",...V(e.model),""," # Built-in tools, resolved from memory. Never sent to a remote provider."," local:",..._.map((a)=>` - ${a.slug.padEnd(14)}# ${a.note}`),""," budget:"," max: 24"," reserveWrite: 6 # slots held for mutating tools so reads cannot starve writes","",...B(e),""," # tools.search finds a TOOL in the provider's catalogue — nothing to do with web search."," # Off by design in v1: search-then-execute is two-hop reasoning, where small models fail."," search:"," enabled: false","",...j(e),""," # ── the write gate ──"," # A tool whose output came from outside this conversation taints the turn. After that, a"," # tool that CHANGES something needs explicit authorisation — one of the allow rules above,",' # or a live approval. "refuse" never prompts, which is what makes it right for a schedule.'," untrusted:"," onMutate: refuse # refuse | confirm | allow","",i("limits"),"limits:"," # Generous, because a step budget is not a plan. The old default here was 6 — sized for a"," # two-tool chain, call/observe/call/observe/reply and one spare — and it cut a real agent"," # off one step after it had installed the dependency it needed, with the reply ending on",' # "Let me install it". Real work recovers, and recovery costs steps.'," maxSteps: 40"," # This is what catches a model that is stuck rather than working: identical consecutive"," # calls, same tool AND same arguments. Two is a retry, often correct. Three is a pattern."," noProgress:"," identicalCalls: 3"," # Both of these were overridden here at 120000 and 30000, tighter than the defaults for no"," # stated reason — and 6 steps x 30s already exceeded the 120s turn, so the wall clock would"," # have fired first on slow tools. The schema defaults are 1800000 and 120000; uncomment to"," # change them rather than to restate them."," # turnTimeoutMs: 1800000"," # toolTimeoutMs: 120000","",...z(e),...Q(e),i("later phases — refused at load until they ship"),"# Phase 7 — phase-scoped tool visibility (the strongest published small-model lever)","# phases:",'# triage: { entry: true, allow: ["now"] }','# act: { allow: ["*"] }',"","# Skills — procedures the harness selects from the turn's input, at most maxActive per turn.","# The model does not choose one; ranking happens before the turn. `skills list` shows them.","skills:"," dir: ./skills"," maxActive: 1"," threshold: 0.35 # normalised floor; below it nothing activates"," # # there is no token budget: maxActive is the only limit, and a"," # # skill's size is shown in the catalogue where you choose it","","# Memory — what carries across sessions. Retrieved per turn and BM25-ranked, never pinned:",'# slot 10 is retrieved, and compaction may drop it. `memory search <agent> "..."` shows what a',"# question would recall; `memory rebuild <agent>` re-reads the notes and the conversations.","memory:"," retriever: fts5"," dir: ./memory # where eviction files older notes. Indexed, never carried;"," # # created on first eviction, so its absence is not an error"," maxActive: 5"," threshold: 0.2 # lexical relevance × original-query coverage × recency"," budget: 2000 # a ceiling, not a target. One exchange bills about 370 tokens"," includeHistory: true # index clean prose, not only what was deliberately saved."," # # Tool output and replies derived from it are never indexed: text a"," # # stranger wrote must not outlive the write gate"," shared: true # a saved note is also recalled by your other agents (agents:<you>)."," # # A stand-in or a room never reads it","","# Sessions — how a conversation is chosen. owner: your turns from the web, the terminal and","# every channel share one, and a stranger keeps their own. channel-peer: one per surface.",'# "New conversation" in the web or the terminal starts afresh everywhere at once.',"sessions:"," scope: owner","","# Delegation — ask: your other agents can ask this one a question (ask_agent), and it can",'# ask them. Both have to say yes. Off is "keep me out of it".',"delegation:"," ask: true","","# Knowledge — reference material that activates only on the turns that mention it. Tier 3:","# retrieved, never pinned, outside the workspace budget, and compaction may drop it.","# Every .md in that directory is an entry and must open with frontmatter naming its","# keywords, so a plain README.md there fails the load. An entry looks like:","# ---","# keywords: [invoice, billing, VAT]","# ---","# Whatever this agent should know whenever one of those words comes up.","knowledge:"," dir: ./knowledge"," maxActive: 2 # entries in one turn"," budget: 600 # total across them. One entry over this fails the load: it could"," # # never activate, and silently unreachable is the wrong answer."," # # Matching is whole-word and case-insensitive against the input","",...Z(e),"# Plugins — extra channels, tool providers and script runners, resolved at boot.","# Looked up in three places, in order: this binary's built-in registry, then",`# ~/${t.stateDir}/plugins/<name>/ where \`${t.slug} plugins add\` puts one, then a module`,"# import. A relative path is only ever a path, resolved against this file's directory.","# Nothing is installed while the process runs, so a plugin is one self-contained bundle.","# Trusted in-process code: `permissions` is advisory in v1 — recorded, surfaced by",`# \`${t.slug} plugins list\`, enforced by nothing. Install plugins you trust.`,"# plugins:",`# - "${t.packageScope}/channel-telegram"`,""),r.join(`
421
+ `)}function J(e){let n=["# Secrets for this agent. Gitignored, and the only thing that belongs here.","# Everything else — model, endpoint, tools, permissions — is in agent.yaml."];if(e.apiKeyEnv!==void 0)n.push(`${e.apiKeyEnv}=${e.apiKey??""}`);let o=I(e);if(o!==void 0)n.push(""),n.push(`# ${o.label.split(" —")[0]??o.value}, for web_search.`),n.push(`${o.apiKeyEnv}=${e.webKey??""}`);if(xA(e))n.push(""),n.push("# Composio, for your other apps. Needed to warm the cache and to execute."),n.push(`${En}=${e.composioKey??""}`);if(e.telegram==="connected")n.push(""),n.push("# Telegram. From @BotFather with /newbot; /revoke invalidates it immediately."),n.push(`${uo}=${e.telegramToken??""}`);if(e.serverToken!==void 0&&e.serverToken!=="")n.push(""),n.push("# The HTTP API's bearer token. Generated. In the sandbox every agent shares the host's,"),n.push("# kept in agents/.api-token — change it there and restart the server."),n.push(`${t.envPrefix}API_TOKEN=${e.serverToken}`);return`${n.join(`
422
+ `)}
423
+ `}function I(e){if(e.web!=="search")return;return Io(e.webBackend??"tavily")??d[0]}function ee(e){let n=I(e),o=["# Copy to .env beside the manifest and fill in the values. Never commit the copy.","# Only secrets belong here. The model, the endpoint, the tools and the permissions are all","# in agent.yaml, where you can read them without opening a second file.",""];if(e.apiKeyEnv===void 0)o.push("# This endpoint needs no key — agent.yaml omits apiKeyEnv entirely, so there is nothing","# to put here yet. A hosted endpoint would name its variable there and you would set it","# here, like:","# MODEL_API_KEY=");else o.push(`${e.apiKeyEnv}=`);if(n!==void 0)o.push("",`# ${n.label.split(" —")[0]??n.value}, for web_search.`),o.push(`${n.apiKeyEnv}=`);if(xA(e))o.push("","# Composio, for your other apps."),o.push(`${En}=`);return`${o.join(`
424
+ `)}
425
+ `}
426
+ export{mr,lo,ze,Vt,FA,Io,En,uo,UA,Sr,Cn,at,aA,oi,Wt,xA,wr};
427
+
428
+ //# debugId=62C847321C06FD2464756E2164756E21
429
+ //# sourceMappingURL=index-kjqksgch.js.map