@opencode/core 0.0.0-dev-19623 → 0.0.0-dev-19624
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{kv-kzmtwy1e.js → model-resolver-05nvcser.js} +68 -68
- package/dist/chunks/{kv-wwrj63s4.js → model-resolver-08ecq38n.js} +21 -21
- package/dist/chunks/{kv-zkwy923f.js → model-resolver-0erxy7q5.js} +35 -35
- package/dist/chunks/{kv-gnnjg0ex.js → model-resolver-0kac7454.js} +13 -13
- package/dist/chunks/model-resolver-0mesazry.js +4 -0
- package/dist/chunks/{kv-cyb6tyga.js → model-resolver-0mknfjdk.js} +8 -8
- package/dist/chunks/{kv-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-pv90mvjj.js → model-resolver-0pjtw5ng.js} +22 -22
- package/dist/chunks/{kv-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{kv-fjm3wm2r.js → model-resolver-0qkw0z8d.js} +44 -44
- package/dist/chunks/{kv-jq23kxh0.js → model-resolver-0sefqgtv.js} +2 -2
- package/dist/chunks/{kv-zqzbxqrm.js → model-resolver-0tmbmzm8.js} +32 -32
- package/dist/chunks/{kv-00z3vp5f.js → model-resolver-0v53mg2y.js} +4 -4
- package/dist/chunks/{kv-xcb08vvz.js → model-resolver-0z8c9324.js} +11 -11
- package/dist/chunks/{kv-000s6ppq.js → model-resolver-0zpzqjkr.js} +16 -16
- package/dist/chunks/{kv-apx97bqs.js → model-resolver-1032maa7.js} +11 -11
- package/dist/chunks/{kv-173jj7tx.js → model-resolver-13cyde70.js} +29 -29
- package/dist/chunks/{kv-yp2x3t23.js → model-resolver-1acjjqhc.js} +4 -4
- package/dist/chunks/{kv-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-pksmcpyw.js → model-resolver-1j146x5q.js} +26 -26
- package/dist/chunks/{kv-wr2jg199.js → model-resolver-1qvh69xy.js} +8 -8
- package/dist/chunks/model-resolver-1x11rq2a.js +18 -0
- package/dist/chunks/{kv-1ygqh575.js → model-resolver-1ygqh575.js} +2 -2
- package/dist/chunks/{kv-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{kv-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
- package/dist/chunks/{kv-0hf14ygz.js → model-resolver-2a2x9s8s.js} +2 -2
- package/dist/chunks/{kv-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-3nqp36v2.js → model-resolver-2ay9edyp.js} +36 -36
- package/dist/chunks/{kv-m2d0j7c0.js → model-resolver-2bt6bea8.js} +9 -9
- package/dist/chunks/{kv-d4ps61ed.js → model-resolver-2e8y9zy9.js} +10 -10
- package/dist/chunks/{kv-2fgn2we9.js → model-resolver-2fgn2we9.js} +2 -2
- package/dist/chunks/{kv-jbjg772j.js → model-resolver-2twrdw90.js} +3 -3
- package/dist/chunks/{kv-b01ceker.js → model-resolver-300e8nzh.js} +21 -21
- package/dist/chunks/{kv-5z3ttj1d.js → model-resolver-34z1s69y.js} +6 -6
- package/dist/chunks/model-resolver-365vt7ws.js +26 -0
- package/dist/chunks/{kv-74zn6w4z.js → model-resolver-38ha70wd.js} +31 -31
- package/dist/chunks/{kv-5hs6vj28.js → model-resolver-3bt2kz20.js} +18 -18
- package/dist/chunks/{kv-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-cqz7jdzq.js → model-resolver-3fhgk65j.js} +6 -6
- package/dist/chunks/{kv-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-s8n2c1h9.js → model-resolver-3m0v8keb.js} +45 -45
- package/dist/chunks/{kv-c7tg714r.js → model-resolver-3p50jy0h.js} +18 -18
- package/dist/chunks/{kv-eyqq4r43.js → model-resolver-3pbjq009.js} +8 -8
- package/dist/chunks/{kv-x73xgq81.js → model-resolver-3r42cc5z.js} +17 -17
- package/dist/chunks/{kv-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-d5eywxy9.js → model-resolver-3tg3qg3s.js} +4 -4
- package/dist/chunks/{kv-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-r7hfka79.js → model-resolver-3w3j0q5e.js} +11 -11
- package/dist/chunks/{kv-ynn8fm83.js → model-resolver-40h30d2e.js} +31 -31
- package/dist/chunks/{kv-rwc1bv1d.js → model-resolver-41r8dwtv.js} +19 -19
- package/dist/chunks/{kv-s1epcrn4.js → model-resolver-47yce66j.js} +12 -12
- package/dist/chunks/{kv-703jyx7f.js → model-resolver-4c8bw516.js} +8 -8
- package/dist/chunks/{kv-4dgbcxzg.js → model-resolver-4dgbcxzg.js} +1 -1
- package/dist/chunks/{kv-6qxwpmhr.js → model-resolver-4gjh4rrg.js} +48 -48
- package/dist/chunks/{kv-xsyv644k.js → model-resolver-4kreg4y2.js} +93 -93
- package/dist/chunks/{kv-hw7kpg6m.js → model-resolver-502d3ppp.js} +10 -10
- package/dist/chunks/{kv-9j1ee014.js → model-resolver-50341da0.js} +9 -9
- package/dist/chunks/{kv-fvnjzq7z.js → model-resolver-55qn5pqp.js} +15 -15
- package/dist/chunks/{kv-6c84hha3.js → model-resolver-56bnbftg.js} +9 -9
- package/dist/chunks/{kv-e5vq6wef.js → model-resolver-56cevs0r.js} +4 -4
- package/dist/chunks/{kv-w80nhn5w.js → model-resolver-5887gt1n.js} +134 -134
- package/dist/chunks/{kv-gq06js2h.js → model-resolver-58cchz3y.js} +33 -33
- package/dist/chunks/{kv-wc70p2m4.js → model-resolver-58ppqsv0.js} +48 -48
- package/dist/chunks/{kv-a1bz86dw.js → model-resolver-5c4hm403.js} +3 -3
- package/dist/chunks/{kv-2jrp6256.js → model-resolver-5d3x9756.js} +56 -56
- package/dist/chunks/{kv-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-913xk5s4.js → model-resolver-5q5x7c6y.js} +12 -12
- package/dist/chunks/{kv-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{kv-0qh5w3y3.js → model-resolver-67k4gcxk.js} +4 -4
- package/dist/chunks/{kv-5r0x1r7p.js → model-resolver-6e23dps4.js} +9 -9
- package/dist/chunks/{kv-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-zxfj2cfx.js → model-resolver-76j33bwa.js} +31 -31
- package/dist/chunks/{kv-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/model-resolver-7cd0656b.js +468 -0
- package/dist/chunks/{kv-0p9khnwg.js → model-resolver-7dcxm99m.js} +20 -20
- package/dist/chunks/{kv-2dgc4mrf.js → model-resolver-7jdzwnm1.js} +37 -37
- package/dist/chunks/{kv-2zas8aff.js → model-resolver-7qh570j7.js} +4 -4
- package/dist/chunks/{kv-czhr22am.js → model-resolver-7xqgs4c2.js} +3 -3
- package/dist/chunks/{kv-7z7az0f5.js → model-resolver-7z7az0f5.js} +1 -1
- package/dist/chunks/{kv-avc8n21j.js → model-resolver-80nc4spm.js} +6 -6
- package/dist/chunks/{kv-xnd1tqg9.js → model-resolver-88ksh428.js} +24 -24
- package/dist/chunks/{kv-mg6gw4ep.js → model-resolver-89hfccde.js} +12 -12
- package/dist/chunks/{kv-mw6jzdfy.js → model-resolver-89qakztx.js} +3 -3
- package/dist/chunks/{kv-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-spfby1d7.js → model-resolver-93p64q73.js} +37 -37
- package/dist/chunks/{kv-82av5642.js → model-resolver-956r61jq.js} +9 -9
- package/dist/chunks/{kv-1m3zfdm1.js → model-resolver-9d28t3h2.js} +2 -2
- package/dist/chunks/{kv-zg90m4kh.js → model-resolver-9h4pky5p.js} +7 -7
- package/dist/chunks/{kv-4xmteg1s.js → model-resolver-9mgkh4de.js} +32 -32
- package/dist/chunks/{kv-79k7hz9a.js → model-resolver-9vq2t1gs.js} +3 -3
- package/dist/chunks/{kv-5amxz9j6.js → model-resolver-9zzh4kq9.js} +25 -25
- package/dist/chunks/{kv-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-23pqda6t.js → model-resolver-ab9238g2.js} +5 -5
- package/dist/chunks/{kv-swdttv06.js → model-resolver-adefstcf.js} +14 -14
- package/dist/chunks/{kv-5r43j5vb.js → model-resolver-aepg8z33.js} +29 -29
- package/dist/chunks/{kv-pecb0brz.js → model-resolver-af04s6ss.js} +5 -5
- package/dist/chunks/{kv-py90b8jm.js → model-resolver-af4kcksd.js} +9 -9
- package/dist/chunks/{kv-wqed8vyv.js → model-resolver-ajt0qmtr.js} +11 -11
- package/dist/chunks/{kv-n5qnh25p.js → model-resolver-anvx7hcz.js} +10 -10
- package/dist/chunks/{kv-cfv81dax.js → model-resolver-aq5y8b9e.js} +8 -8
- package/dist/chunks/{kv-bw49bxdg.js → model-resolver-avt77bbv.js} +11 -11
- package/dist/chunks/{kv-4dtev0rk.js → model-resolver-away93r8.js} +22 -22
- package/dist/chunks/{kv-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-k90kzz46.js → model-resolver-b6tfwsrv.js} +15 -15
- package/dist/chunks/{kv-vqrh0kjk.js → model-resolver-b85pverc.js} +12 -12
- package/dist/chunks/{kv-v7zbrah6.js → model-resolver-bby7k7hh.js} +8 -8
- package/dist/chunks/{kv-ff3yr28h.js → model-resolver-bc36thva.js} +39 -39
- package/dist/chunks/{kv-jwec4pw9.js → model-resolver-bes7d2ad.js} +4 -4
- package/dist/chunks/{kv-qn4ba14w.js → model-resolver-bgxcxs0p.js} +5 -5
- package/dist/chunks/{kv-bry7c84m.js → model-resolver-bs5rr28p.js} +1 -1
- package/dist/chunks/{kv-9c1k5ss1.js → model-resolver-bscb95cy.js} +8 -8
- package/dist/chunks/{kv-4nr9wd27.js → model-resolver-btty7p3w.js} +81 -81
- package/dist/chunks/{kv-hbc76d7d.js → model-resolver-c4vkqgmy.js} +12 -12
- package/dist/chunks/{kv-3y6xetxr.js → model-resolver-c5wz01h2.js} +22 -22
- package/dist/chunks/{kv-wbhrmzsp.js → model-resolver-ca9547p7.js} +13 -13
- package/dist/chunks/{kv-77qxf24p.js → model-resolver-cdhqsg5m.js} +8 -8
- package/dist/chunks/{kv-77ym3dpk.js → model-resolver-cgv57mmc.js} +8 -8
- package/dist/chunks/{kv-eng4dpjw.js → model-resolver-cjdr13sd.js} +8 -8
- package/dist/chunks/{kv-jq4t0r1h.js → model-resolver-cw541prr.js} +13 -13
- package/dist/chunks/{kv-fcn2s4nd.js → model-resolver-cysw23rm.js} +10 -10
- package/dist/chunks/{kv-qmqgtz8f.js → model-resolver-d3tz2ej1.js} +9 -9
- package/dist/chunks/model-resolver-d4wbe6d2.js +251 -0
- package/dist/chunks/{kv-fn3n3knf.js → model-resolver-dabzsmb9.js} +25 -25
- package/dist/chunks/{kv-qce7m269.js → model-resolver-dbqjqbdf.js} +15 -15
- package/dist/chunks/{kv-f8bsc4qs.js → model-resolver-de5th1w4.js} +17 -17
- package/dist/chunks/{kv-ca7w653e.js → model-resolver-dhmh7aw6.js} +4 -4
- package/dist/chunks/{kv-8p4f9s12.js → model-resolver-dj2t23y0.js} +2 -2
- package/dist/chunks/{kv-jwcy2c2z.js → model-resolver-dpkg50ah.js} +4 -4
- package/dist/chunks/{kv-ss608w0a.js → model-resolver-dyqrmyzp.js} +6 -6
- package/dist/chunks/{kv-e847jpav.js → model-resolver-e0kanx6f.js} +9 -9
- package/dist/chunks/{kv-y8pdtezz.js → model-resolver-e53te25d.js} +6 -6
- package/dist/chunks/{kv-e5nv3ght.js → model-resolver-e5nv3ght.js} +2 -2
- package/dist/chunks/{kv-47gsdddb.js → model-resolver-e82z9tr0.js} +4 -4
- package/dist/chunks/{kv-ngdt5g2x.js → model-resolver-ec3p188n.js} +2 -2
- package/dist/chunks/{kv-sp6n8mjs.js → model-resolver-ee0x7daj.js} +6 -6
- package/dist/chunks/{kv-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-25rkwwb0.js → model-resolver-eg6jxap1.js} +19 -19
- package/dist/chunks/{kv-h72xjy6w.js → model-resolver-eh5gfzyw.js} +7 -7
- package/dist/chunks/{kv-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-sez5jh81.js → model-resolver-f3ngv102.js} +4 -4
- package/dist/chunks/{kv-wk9x33ze.js → model-resolver-f5cjs50g.js} +35 -35
- package/dist/chunks/{kv-pstg3rfm.js → model-resolver-fch79rh9.js} +1 -1
- package/dist/chunks/{kv-95zvs7pv.js → model-resolver-fgad9zs1.js} +5 -5
- package/dist/chunks/{kv-myf4cx11.js → model-resolver-fkhk4y1m.js} +24 -24
- package/dist/chunks/{kv-s82aax5r.js → model-resolver-frdfcpkk.js} +17 -17
- package/dist/chunks/{kv-0x1f3jzb.js → model-resolver-frva07hn.js} +15 -15
- package/dist/chunks/{kv-94xs014t.js → model-resolver-fw2sr2pv.js} +24 -24
- package/dist/chunks/{kv-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-bjw197y6.js → model-resolver-fyd77bxh.js} +28 -28
- package/dist/chunks/{kv-eahxvfzb.js → model-resolver-g608bnp8.js} +25 -25
- package/dist/chunks/{kv-rtv6ahp9.js → model-resolver-g8atgw3j.js} +4 -4
- package/dist/chunks/{kv-sbxm9m4q.js → model-resolver-gbmzg7c6.js} +28 -28
- package/dist/chunks/{kv-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-mszgtet4.js → model-resolver-gezs4z4f.js} +6 -6
- package/dist/chunks/{kv-mhqan6gd.js → model-resolver-gk0n48rz.js} +20 -20
- package/dist/chunks/{kv-qq4m7zv9.js → model-resolver-gs8qb5fn.js} +43 -43
- package/dist/chunks/{kv-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-ptfbb8fh.js → model-resolver-gxajrtvj.js} +6 -6
- package/dist/chunks/{kv-d3nw1z3y.js → model-resolver-gzfky56a.js} +16 -16
- package/dist/chunks/{kv-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
- package/dist/chunks/{kv-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-d6wpxf5g.js → model-resolver-h8thwg15.js} +28 -28
- package/dist/chunks/{kv-f828m53h.js → model-resolver-hdnk95c8.js} +2 -2
- package/dist/chunks/{kv-7a29j4fa.js → model-resolver-hfgb7cv0.js} +22 -22
- package/dist/chunks/{kv-7ap3z812.js → model-resolver-hwxw7j17.js} +11 -11
- package/dist/chunks/{kv-s58geyf9.js → model-resolver-hzh4basz.js} +17 -17
- package/dist/chunks/{kv-vn2j9jh8.js → model-resolver-j03x6629.js} +21 -21
- package/dist/chunks/{kv-yzye1zm0.js → model-resolver-j2sw0176.js} +12 -12
- package/dist/chunks/{kv-d6w883g1.js → model-resolver-j34azf71.js} +8 -8
- package/dist/chunks/{kv-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-2yszhqmy.js → model-resolver-jetrtpqb.js} +11 -11
- package/dist/chunks/{kv-epvaqs7p.js → model-resolver-jk8r4hg4.js} +11 -11
- package/dist/chunks/{kv-bajakh74.js → model-resolver-jmphe03k.js} +4 -4
- package/dist/chunks/{kv-9cc2y271.js → model-resolver-jrcdwmcs.js} +22 -22
- package/dist/chunks/{kv-q2avwc19.js → model-resolver-jt9m14re.js} +17 -17
- package/dist/chunks/{kv-x5v2mb0g.js → model-resolver-jta15jv0.js} +8 -8
- package/dist/chunks/{kv-3ry8aa1g.js → model-resolver-jw46dxtn.js} +3 -3
- package/dist/chunks/{kv-sn1m3xe8.js → model-resolver-jzh1899s.js} +47 -47
- package/dist/chunks/{kv-a2z881sa.js → model-resolver-k9vjcjta.js} +25 -25
- package/dist/chunks/{kv-bhmfd91z.js → model-resolver-kgfjjf6a.js} +11 -11
- package/dist/chunks/{kv-smqfa53a.js → model-resolver-kkyytty7.js} +12 -12
- package/dist/chunks/{kv-z697dyyp.js → model-resolver-kpa7g2mg.js} +37 -37
- package/dist/chunks/{kv-m8zsrjj5.js → model-resolver-ksk58mrq.js} +30 -30
- package/dist/chunks/{kv-76t127xa.js → model-resolver-kwsqyj6a.js} +26 -26
- package/dist/chunks/{kv-cfpkc3c9.js → model-resolver-m0jqrx5p.js} +2 -2
- package/dist/chunks/{kv-s0agc963.js → model-resolver-m3zza4qd.js} +5 -5
- package/dist/chunks/{kv-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-jkwan860.js → model-resolver-me3mgk02.js} +37 -37
- package/dist/chunks/{kv-msq0jde0.js → model-resolver-mfhfdr54.js} +4 -4
- package/dist/chunks/{kv-1bbkgx8g.js → model-resolver-mhkvc446.js} +3 -3
- package/dist/chunks/{kv-zhfaz766.js → model-resolver-mjfthb8v.js} +17 -17
- package/dist/chunks/{kv-54b82f2n.js → model-resolver-mtgfyzt9.js} +14 -14
- package/dist/chunks/{kv-ztq8fy9b.js → model-resolver-mw2nv40j.js} +8 -8
- package/dist/chunks/{kv-kyjp3xwm.js → model-resolver-n07q14gc.js} +20 -20
- package/dist/chunks/{kv-b54tf645.js → model-resolver-n3ev54rj.js} +19 -19
- package/dist/chunks/{kv-6fmt9tdd.js → model-resolver-n8cx0va0.js} +1 -1
- package/dist/chunks/{kv-38867f4j.js → model-resolver-n8zt5qe2.js} +26 -26
- package/dist/chunks/{kv-qd0y41g2.js → model-resolver-n936bkhn.js} +12 -12
- package/dist/chunks/{kv-qd3vq2t8.js → model-resolver-neze0rnk.js} +23 -23
- package/dist/chunks/{kv-r2kyfyma.js → model-resolver-nr0ashrr.js} +10 -10
- package/dist/chunks/{kv-max6kkrx.js → model-resolver-nvhcbejc.js} +12 -12
- package/dist/chunks/{kv-8s9tc0va.js → model-resolver-pcvs4s42.js} +15 -15
- package/dist/chunks/{kv-256nx13v.js → model-resolver-pg3x4kqe.js} +3 -3
- package/dist/chunks/{kv-75qbc1r5.js → model-resolver-pg99pk3y.js} +4 -4
- package/dist/chunks/{kv-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{kv-xan21tpb.js → model-resolver-pvd6ntgs.js} +9 -9
- package/dist/chunks/{kv-9fw064pz.js → model-resolver-q1fttkg5.js} +6 -6
- package/dist/chunks/{kv-nq8dwvv9.js → model-resolver-q3xkv71r.js} +13 -13
- package/dist/chunks/{kv-b6tre5mz.js → model-resolver-q7bzmzk3.js} +47 -47
- package/dist/chunks/{kv-60dgxeja.js → model-resolver-qf7ga1s6.js} +1 -1
- package/dist/chunks/{kv-607tc6va.js → model-resolver-qgn6gcr1.js} +5 -5
- package/dist/chunks/{kv-5avxf4c0.js → model-resolver-qjgpmpt2.js} +5 -5
- package/dist/chunks/{kv-tbcsecz1.js → model-resolver-qnrbpj9b.js} +6 -6
- package/dist/chunks/{kv-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-r9mregkx.js → model-resolver-r9mregkx.js} +2 -2
- package/dist/chunks/{kv-84kfk9s7.js → model-resolver-ragd31v1.js} +12 -12
- package/dist/chunks/{kv-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-mnd2r93q.js → model-resolver-rtsrdkh6.js} +8 -8
- package/dist/chunks/{kv-39f9a2ac.js → model-resolver-rwnjbtn0.js} +19 -19
- package/dist/chunks/{kv-hckkjbnk.js → model-resolver-s8214884.js} +1 -1
- package/dist/chunks/{kv-zkeg4fzb.js → model-resolver-sf22njts.js} +41 -41
- package/dist/chunks/{kv-ebjp0zrd.js → model-resolver-stppr3m7.js} +6 -6
- package/dist/chunks/{kv-sxz6gkc3.js → model-resolver-sxz6gkc3.js} +1 -1
- package/dist/chunks/{kv-3w0fmcng.js → model-resolver-t0fxg8b9.js} +5 -5
- package/dist/chunks/{kv-t550f9t1.js → model-resolver-t550f9t1.js} +1 -1
- package/dist/chunks/{kv-y9ybwmsd.js → model-resolver-t597x4d8.js} +11 -11
- package/dist/chunks/{kv-dgfys0e7.js → model-resolver-t6a2ah85.js} +22 -22
- package/dist/chunks/{kv-vykevjvn.js → model-resolver-t71v2ka4.js} +5 -5
- package/dist/chunks/{kv-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{kv-m7va1g8x.js → model-resolver-tgpa0z63.js} +2 -2
- package/dist/chunks/{kv-qqngb6za.js → model-resolver-tgq28bjx.js} +20 -20
- package/dist/chunks/{kv-hkj7yhh3.js → model-resolver-tv8bzv1t.js} +29 -29
- package/dist/chunks/{kv-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-a12afxed.js → model-resolver-twghag3f.js} +12 -12
- package/dist/chunks/{kv-evyg9j9p.js → model-resolver-v3rr0qnk.js} +23 -23
- package/dist/chunks/{kv-63xctefh.js → model-resolver-v8jfbz3g.js} +6 -6
- package/dist/chunks/{kv-dv816140.js → model-resolver-vdbejzap.js} +13 -13
- package/dist/chunks/{kv-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-e3env12g.js → model-resolver-vz8e1ew2.js} +27 -27
- package/dist/chunks/{kv-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{kv-5b7y8wzj.js → model-resolver-wyfy9p70.js} +6 -6
- package/dist/chunks/{kv-hmgs48nc.js → model-resolver-x0v2vg57.js} +3 -3
- package/dist/chunks/{kv-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-bmrqs97x.js → model-resolver-x30xw0sc.js} +12 -12
- package/dist/chunks/{kv-dv1qgsyq.js → model-resolver-x3et2xth.js} +8 -8
- package/dist/chunks/{kv-zexvvc7n.js → model-resolver-xawz5m8n.js} +22 -22
- package/dist/chunks/{kv-tct5ctj4.js → model-resolver-xdf7vygc.js} +23 -23
- package/dist/chunks/{kv-msddpymt.js → model-resolver-xe1vchrn.js} +18 -18
- package/dist/chunks/{kv-nwyr7p3b.js → model-resolver-xh37m7r6.js} +3 -3
- package/dist/chunks/{kv-mdsrvxsg.js → model-resolver-xk7wccaw.js} +21 -21
- package/dist/chunks/{kv-7wftqea5.js → model-resolver-xqed8619.js} +11 -11
- package/dist/chunks/{kv-2a5re4tg.js → model-resolver-xtv2mh4r.js} +3 -3
- package/dist/chunks/{kv-1k60r70m.js → model-resolver-y0tc0hsd.js} +13 -13
- package/dist/chunks/{kv-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-ccgd81x1.js → model-resolver-y8bx4nrt.js} +16 -16
- package/dist/chunks/{kv-re7yvca6.js → model-resolver-y98q1xgq.js} +8 -8
- package/dist/chunks/{kv-ek6datne.js → model-resolver-yby6xn0t.js} +6 -6
- package/dist/chunks/{kv-spxp8qyj.js → model-resolver-yhm2n21y.js} +18 -18
- package/dist/chunks/{kv-ksth9vw7.js → model-resolver-ymeq0df2.js} +11 -11
- package/dist/chunks/{kv-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-2746bvgx.js → model-resolver-z10et0r2.js} +8 -8
- package/dist/chunks/{kv-g362qsf9.js → model-resolver-z1ahc81n.js} +23 -23
- package/dist/chunks/{kv-56jh955g.js → model-resolver-z580hhtr.js} +11 -11
- package/dist/chunks/{kv-kyga3jc5.js → model-resolver-z5wa85ag.js} +1 -1
- package/dist/chunks/{kv-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{kv-t494fre1.js → model-resolver-zdjzyrvw.js} +5 -5
- package/dist/chunks/{kv-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +91 -91
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +90 -90
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/kv-0bfex5kv.js +0 -251
- package/dist/chunks/kv-25d4ex09.js +0 -468
- package/dist/chunks/kv-ej0m8kr9.js +0 -26
- package/dist/chunks/kv-ht5y0zrb.js +0 -18
- package/dist/chunks/kv-hxa7m5za.js +0 -4
- /package/dist/chunks/{kv-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service62,
|
|
6
|
+
node65
|
|
7
|
+
} from "./model-resolver-502d3ppp.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-pg3x4kqe.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service50,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node53
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service50 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
|
|
|
77
77
|
next.set(sessionID, count - 1);
|
|
78
78
|
return next;
|
|
79
79
|
}
|
|
80
|
-
var
|
|
81
|
-
const kv = yield*
|
|
80
|
+
var make18 = Effect.gen(function* () {
|
|
81
|
+
const kv = yield* Service62;
|
|
82
82
|
const state = {
|
|
83
83
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
84
84
|
scope: yield* Scope.Scope
|
|
@@ -307,7 +307,7 @@ var make22 = Effect.gen(function* () {
|
|
|
307
307
|
return recovered;
|
|
308
308
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
309
309
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
310
|
-
return
|
|
310
|
+
return Service50.of({
|
|
311
311
|
get,
|
|
312
312
|
start,
|
|
313
313
|
wait,
|
|
@@ -319,7 +319,7 @@ var make22 = Effect.gen(function* () {
|
|
|
319
319
|
completeBackground
|
|
320
320
|
});
|
|
321
321
|
});
|
|
322
|
-
var layer = Layer.effect(
|
|
323
|
-
var
|
|
322
|
+
var layer = Layer.effect(Service50, make18);
|
|
323
|
+
var node53 = makeGlobalNode({ service: Service50, layer, deps: [node65] });
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { Service50, make18, node53, exports_job };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./model-resolver-jt9m14re.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service21
|
|
6
|
+
} from "./model-resolver-4kreg4y2.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make10 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service21;
|
|
24
|
+
const jobs = yield* Service50;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gezs4z4f.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-xtv2mh4r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./model-resolver-c4vkqgmy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service75,
|
|
7
7
|
node79
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-jetrtpqb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node66
|
|
12
|
+
} from "./model-resolver-v3rr0qnk.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service66,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node70
|
|
20
|
+
} from "./model-resolver-dbqjqbdf.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service58,
|
|
23
|
+
node61
|
|
24
|
+
} from "./model-resolver-aq5y8b9e.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service43,
|
|
27
|
+
node47
|
|
28
|
+
} from "./model-resolver-4c8bw516.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-pg3x4kqe.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service52,
|
|
35
|
+
node55
|
|
36
|
+
} from "./model-resolver-4gjh4rrg.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./model-resolver-j2sw0176.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service42,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node46
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service42 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service80;
|
|
91
|
+
const location = yield* Service75;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service66;
|
|
94
|
+
const environment = yield* Service63;
|
|
95
|
+
const hooks = yield* Service58;
|
|
96
|
+
const environments = yield* Service43;
|
|
97
|
+
const config = yield* Service52;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError5({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service42.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node46 = makeLocationNode({
|
|
320
|
+
service: Service42,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
323
|
+
node85,
|
|
324
324
|
node79,
|
|
325
325
|
Global.node,
|
|
326
|
-
node61,
|
|
327
326
|
node70,
|
|
328
327
|
node66,
|
|
329
|
-
|
|
330
|
-
|
|
328
|
+
node61,
|
|
329
|
+
node47,
|
|
330
|
+
node55,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service42, cleanup2, node46, exports_shell4 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-r9mregkx.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service78,
|
|
17
|
+
node82
|
|
18
|
+
} from "./model-resolver-56bnbftg.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service58,
|
|
21
|
+
node61
|
|
22
|
+
} from "./model-resolver-aq5y8b9e.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service35,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node39
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service35 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service58;
|
|
58
|
+
const image = yield* Service78;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service35.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -264,10 +264,10 @@ function namespaceError(name) {
|
|
|
264
264
|
return;
|
|
265
265
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
266
266
|
}
|
|
267
|
-
var
|
|
268
|
-
service:
|
|
267
|
+
var node39 = makeLocationNode({
|
|
268
|
+
service: Service35,
|
|
269
269
|
layer,
|
|
270
|
-
deps: [
|
|
270
|
+
deps: [node61, node82]
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
export { RegistrationError2,
|
|
273
|
+
export { RegistrationError2, Service35, node39, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service52
|
|
4
|
+
} from "./model-resolver-4gjh4rrg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./model-resolver-dbqjqbdf.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin40
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin40 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service52;
|
|
27
|
+
const shell = yield* Service66;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin30 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin40, exports_shell2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-jw46dxtn.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ID: () => ID8,
|
|
17
|
-
Info: () =>
|
|
17
|
+
Info: () => Info19,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service56,
|
|
21
|
+
node: () => node59
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -26,7 +26,7 @@ import { Project } from "@opencode/schema/project";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID8 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info19 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service56 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service81).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service56.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node59 = makeGlobalNode({ service: Service56, layer, deps: [node86] });
|
|
68
68
|
|
|
69
|
-
export { ID8,
|
|
69
|
+
export { ID8, Info19, ListInput4, AddInput2, Service56, node59, exports_saved };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info18
|
|
7
|
+
} from "./model-resolver-f3ngv102.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info17
|
|
10
|
+
} from "./model-resolver-3pbjq009.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info12
|
|
13
|
+
} from "./model-resolver-t0fxg8b9.js";
|
|
14
14
|
import {
|
|
15
15
|
Info13
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-sxz6gkc3.js";
|
|
17
17
|
import {
|
|
18
18
|
Info11
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-bscb95cy.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-21r38tys.js";
|
|
23
23
|
import {
|
|
24
24
|
Info14
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-ab9238g2.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info16
|
|
28
|
+
} from "./model-resolver-af04s6ss.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-qgn6gcr1.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info10
|
|
34
|
+
} from "./model-resolver-bgxcxs0p.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./model-resolver-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info15
|
|
40
|
+
} from "./model-resolver-0v53mg2y.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info9,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info9 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -71,7 +71,7 @@ var Info6 = Schema.Struct({
|
|
|
71
71
|
command: Schema.optional(Schema.Record(Schema.String, Info13)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info15).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,20 +113,20 @@ var Info6 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info17), plan: Schema.optional(Info17) }), [Schema.Record(Schema.String, Info17)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info17),
|
|
119
|
+
build: Schema.optional(Info17),
|
|
120
|
+
general: Schema.optional(Info17),
|
|
121
|
+
explore: Schema.optional(Info17),
|
|
122
|
+
title: Schema.optional(Info17),
|
|
123
|
+
summary: Schema.optional(Info17),
|
|
124
|
+
compaction: Schema.optional(Info17)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info17)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info10)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info16, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
130
|
formatter: Schema.optional(Info11).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
@@ -137,9 +137,9 @@ var Info6 = Schema.Struct({
|
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info18),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info12).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info6 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info9, exports_config2 };
|