@opencode/core 0.0.0-dev-19620 → 0.0.0-dev-19623
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 +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{config-cn8sqj9q.js → kv-000s6ppq.js} +12 -12
- package/dist/chunks/{config-pmr4s4kc.js → kv-00z3vp5f.js} +4 -4
- package/dist/chunks/kv-0bfex5kv.js +251 -0
- package/dist/chunks/{config-gfjmx2tb.js → kv-0hf14ygz.js} +4 -4
- package/dist/chunks/{config-hhxyj69g.js → kv-0p9khnwg.js} +26 -26
- package/dist/chunks/{config-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-7v9pxec5.js → kv-0qh5w3y3.js} +4 -4
- package/dist/chunks/{config-s9vxdr24.js → kv-0x1f3jzb.js} +22 -22
- package/dist/chunks/{config-9mdtzecd.js → kv-173jj7tx.js} +32 -32
- package/dist/chunks/{config-eq1pz5kg.js → kv-1bbkgx8g.js} +3 -3
- package/dist/chunks/{config-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-ref137j6.js → kv-1k60r70m.js} +13 -13
- package/dist/chunks/{config-f48bmwtv.js → kv-1m3zfdm1.js} +5 -5
- package/dist/chunks/{config-1ygqh575.js → kv-1ygqh575.js} +2 -2
- package/dist/chunks/{config-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{config-r33ff4dw.js → kv-23pqda6t.js} +6 -6
- package/dist/chunks/{config-6h73sxmp.js → kv-2402vzrj.js} +5 -5
- package/dist/chunks/{config-5cmxdwv8.js → kv-256nx13v.js} +3 -3
- package/dist/chunks/{config-rj3zc9k8.js → kv-25d4ex09.js} +301 -301
- package/dist/chunks/{config-gpa99hwg.js → kv-25rkwwb0.js} +20 -20
- package/dist/chunks/{config-sqbvksyk.js → kv-2746bvgx.js} +8 -8
- package/dist/chunks/{config-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-ftra40n9.js → kv-2a5re4tg.js} +3 -3
- package/dist/chunks/{config-m1979k5p.js → kv-2dgc4mrf.js} +30 -30
- package/dist/chunks/{config-57ez7d0k.js → kv-2fgn2we9.js} +9 -9
- package/dist/chunks/{config-kd8wqpk3.js → kv-2jrp6256.js} +58 -58
- package/dist/chunks/{config-k3942g9h.js → kv-2yszhqmy.js} +16 -16
- package/dist/chunks/{config-082j28at.js → kv-2zas8aff.js} +4 -4
- package/dist/chunks/{config-zy39rx0a.js → kv-38867f4j.js} +30 -30
- package/dist/chunks/{config-j8fqp1rw.js → kv-39f9a2ac.js} +19 -19
- package/dist/chunks/{config-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-y93vqz97.js → kv-3nqp36v2.js} +36 -36
- package/dist/chunks/{config-4mg4d8r9.js → kv-3ry8aa1g.js} +3 -3
- package/dist/chunks/{config-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-c78bbtc9.js → kv-3w0fmcng.js} +5 -5
- package/dist/chunks/{config-3de56gd9.js → kv-3y6xetxr.js} +22 -22
- package/dist/chunks/{config-hjt4xg1x.js → kv-47gsdddb.js} +7 -7
- package/dist/chunks/{config-44h5tttr.js → kv-4dgbcxzg.js} +4 -4
- package/dist/chunks/{config-w6czwadd.js → kv-4dtev0rk.js} +38 -38
- package/dist/chunks/{config-2m7svab7.js → kv-4nr9wd27.js} +88 -88
- package/dist/chunks/{config-tacs2yqm.js → kv-4xmteg1s.js} +32 -32
- package/dist/chunks/{config-01a7je3t.js → kv-54b82f2n.js} +32 -32
- package/dist/chunks/{config-ba8mse6q.js → kv-56jh955g.js} +9 -9
- package/dist/chunks/{config-b5myacj1.js → kv-5amxz9j6.js} +22 -22
- package/dist/chunks/{config-4gdprx9j.js → kv-5avxf4c0.js} +3 -3
- package/dist/chunks/{config-4yrxhb6j.js → kv-5b7y8wzj.js} +6 -6
- package/dist/chunks/{config-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{config-9vsg8yc4.js → kv-5hs6vj28.js} +32 -32
- package/dist/chunks/{config-3dnvhw7p.js → kv-5r0x1r7p.js} +9 -9
- package/dist/chunks/{config-pe7t7t2c.js → kv-5r43j5vb.js} +29 -29
- package/dist/chunks/{config-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-4f5hf89x.js → kv-5z3ttj1d.js} +4 -4
- package/dist/chunks/{config-fcrkznn8.js → kv-607tc6va.js} +5 -5
- package/dist/chunks/{config-bw07e7gc.js → kv-60dgxeja.js} +1 -1
- package/dist/chunks/{config-hwe7x4em.js → kv-63xctefh.js} +6 -6
- package/dist/chunks/{config-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{config-09znq5v6.js → kv-6c84hha3.js} +9 -9
- package/dist/chunks/{config-ghfpptr2.js → kv-6fmt9tdd.js} +3 -3
- package/dist/chunks/{config-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-t1rx5jyv.js → kv-6qxwpmhr.js} +49 -49
- package/dist/chunks/{config-481njsdn.js → kv-703jyx7f.js} +8 -8
- package/dist/chunks/{config-f5qar08c.js → kv-74zn6w4z.js} +32 -32
- package/dist/chunks/{config-53p8tn45.js → kv-75qbc1r5.js} +4 -4
- package/dist/chunks/{config-gye5ymp9.js → kv-76t127xa.js} +27 -27
- package/dist/chunks/{config-3qn6xs8f.js → kv-77qxf24p.js} +8 -8
- package/dist/chunks/{config-4gd731xa.js → kv-77ym3dpk.js} +7 -7
- package/dist/chunks/{config-fcfj6g1p.js → kv-79k7hz9a.js} +22 -22
- package/dist/chunks/{config-yt1r22a2.js → kv-7a29j4fa.js} +22 -22
- package/dist/chunks/{config-5d02jmpq.js → kv-7ap3z812.js} +11 -11
- package/dist/chunks/{config-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-q8x0g613.js → kv-7wftqea5.js} +11 -11
- package/dist/chunks/{config-7z7az0f5.js → kv-7z7az0f5.js} +1 -1
- package/dist/chunks/{config-7dtazzwr.js → kv-82av5642.js} +9 -9
- package/dist/chunks/{config-rqmwkd1g.js → kv-84kfk9s7.js} +12 -12
- package/dist/chunks/{config-tcezcvh9.js → kv-89znhe33.js} +4 -4
- package/dist/chunks/{config-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-8p4f9s12.js → kv-8p4f9s12.js} +2 -2
- package/dist/chunks/{config-mbj59j53.js → kv-8s9tc0va.js} +12 -12
- package/dist/chunks/{config-1km8dk21.js → kv-913xk5s4.js} +19 -19
- package/dist/chunks/{config-x7cjmgkw.js → kv-94xs014t.js} +22 -22
- package/dist/chunks/{config-wsjfr4d3.js → kv-95zvs7pv.js} +5 -5
- package/dist/chunks/{config-j5208yae.js → kv-9c1k5ss1.js} +9 -9
- package/dist/chunks/{config-b0ayvr0x.js → kv-9cc2y271.js} +23 -23
- package/dist/chunks/{config-9cpn9ax9.js → kv-9fw064pz.js} +9 -9
- package/dist/chunks/{config-xdyh6fgr.js → kv-9j1ee014.js} +11 -11
- package/dist/chunks/{config-y6rxdhkr.js → kv-a12afxed.js} +12 -12
- package/dist/chunks/{config-a1bz86dw.js → kv-a1bz86dw.js} +3 -3
- package/dist/chunks/{config-4pp10hk6.js → kv-a2z881sa.js} +25 -25
- package/dist/chunks/{config-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{config-cad40pv7.js → kv-apx97bqs.js} +19 -19
- package/dist/chunks/{config-3n3mkc0a.js → kv-avc8n21j.js} +17 -17
- package/dist/chunks/{config-pbdz66w6.js → kv-b01ceker.js} +33 -33
- package/dist/chunks/{config-f2p7c97r.js → kv-b54tf645.js} +35 -35
- package/dist/chunks/{config-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-07n19tq3.js → kv-b6tre5mz.js} +47 -47
- package/dist/chunks/{config-bha4atvq.js → kv-bajakh74.js} +4 -4
- package/dist/chunks/{config-nrcmaa2f.js → kv-bhmfd91z.js} +14 -14
- package/dist/chunks/{config-f37w05r2.js → kv-bjw197y6.js} +28 -28
- package/dist/chunks/{config-gm5wm00c.js → kv-bmrqs97x.js} +14 -14
- package/dist/chunks/{config-y2z5qgwy.js → kv-bry7c84m.js} +3 -3
- package/dist/chunks/{config-brn8szsg.js → kv-bw49bxdg.js} +17 -17
- package/dist/chunks/{config-wq0gz2nf.js → kv-c7tg714r.js} +18 -18
- package/dist/chunks/{config-jvf3yq6v.js → kv-ca7w653e.js} +4 -4
- package/dist/chunks/{config-12jxxftq.js → kv-ccgd81x1.js} +16 -16
- package/dist/chunks/{config-cfpkc3c9.js → kv-cfpkc3c9.js} +2 -2
- package/dist/chunks/{config-n66sm98c.js → kv-cfv81dax.js} +8 -8
- package/dist/chunks/{config-28whzyd9.js → kv-cqz7jdzq.js} +9 -9
- package/dist/chunks/{config-a5rvh4nv.js → kv-cyb6tyga.js} +5 -5
- package/dist/chunks/{config-4fp0neyv.js → kv-czhr22am.js} +5 -5
- package/dist/chunks/{config-sk01cyn9.js → kv-d3nw1z3y.js} +18 -18
- package/dist/chunks/{config-t2q9hcwk.js → kv-d4ps61ed.js} +17 -17
- package/dist/chunks/{config-569tr4pc.js → kv-d5eywxy9.js} +4 -4
- package/dist/chunks/{config-hydf4jck.js → kv-d6w883g1.js} +11 -11
- package/dist/chunks/{config-mdm1g8s7.js → kv-d6wpxf5g.js} +20 -20
- package/dist/chunks/{config-ps5yzaa8.js → kv-dgfys0e7.js} +24 -24
- package/dist/chunks/{config-cmwkp3r5.js → kv-dv1qgsyq.js} +8 -8
- package/dist/chunks/{config-65rr7ck3.js → kv-dv816140.js} +13 -13
- package/dist/chunks/{config-w7da87xb.js → kv-e3env12g.js} +27 -27
- package/dist/chunks/{config-e5nv3ght.js → kv-e5nv3ght.js} +2 -2
- package/dist/chunks/{config-zt03gkt5.js → kv-e5vq6wef.js} +4 -4
- package/dist/chunks/{config-d66crwzg.js → kv-e847jpav.js} +9 -9
- package/dist/chunks/{config-rdp8w1tj.js → kv-eahxvfzb.js} +16 -16
- package/dist/chunks/{config-t0rt79at.js → kv-ebjp0zrd.js} +11 -11
- package/dist/chunks/{config-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/kv-ej0m8kr9.js +26 -0
- package/dist/chunks/{config-vmwh049b.js → kv-ek6datne.js} +6 -6
- package/dist/chunks/{config-qby8jf2p.js → kv-eng4dpjw.js} +8 -8
- package/dist/chunks/{config-ne3kjeyx.js → kv-epvaqs7p.js} +17 -17
- package/dist/chunks/{config-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-v00ee303.js → kv-evyg9j9p.js} +24 -24
- package/dist/chunks/{config-3atm5pec.js → kv-eyqq4r43.js} +8 -8
- package/dist/chunks/{config-f828m53h.js → kv-f828m53h.js} +2 -2
- package/dist/chunks/{config-tk5pet79.js → kv-f8bsc4qs.js} +17 -17
- package/dist/chunks/{config-he7wn027.js → kv-fcn2s4nd.js} +10 -10
- package/dist/chunks/{config-jc0ymxqr.js → kv-ff3yr28h.js} +39 -39
- package/dist/chunks/{config-vy1eywvp.js → kv-fjm3wm2r.js} +56 -56
- package/dist/chunks/{config-pmzxmx7p.js → kv-fn3n3knf.js} +27 -27
- package/dist/chunks/{config-0mhcx6tn.js → kv-fvnjzq7z.js} +19 -19
- package/dist/chunks/{config-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-m3yhsweq.js → kv-g362qsf9.js} +44 -44
- package/dist/chunks/{config-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-rj7j27xs.js → kv-gnnjg0ex.js} +6 -6
- package/dist/chunks/{config-hknfap8y.js → kv-gq06js2h.js} +36 -36
- package/dist/chunks/{config-gv6a8nnw.js → kv-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
- package/dist/chunks/{config-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-34s6cg07.js → kv-h72xjy6w.js} +7 -7
- package/dist/chunks/{config-b18f862j.js → kv-hbc76d7d.js} +12 -12
- package/dist/chunks/{config-f67713nv.js → kv-hckkjbnk.js} +5 -5
- package/dist/chunks/{config-vzg7frpw.js → kv-hkj7yhh3.js} +29 -29
- package/dist/chunks/{config-07z04894.js → kv-hmgs48nc.js} +23 -23
- package/dist/chunks/kv-ht5y0zrb.js +18 -0
- package/dist/chunks/{config-9r9pq2ty.js → kv-hw7kpg6m.js} +10 -10
- package/dist/chunks/kv-hxa7m5za.js +4 -0
- package/dist/chunks/{config-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{config-qjn00rtb.js → kv-jbjg772j.js} +5 -5
- package/dist/chunks/{config-mg37ak55.js → kv-jkwan860.js} +34 -34
- package/dist/chunks/{config-8d4je01t.js → kv-jq23kxh0.js} +2 -2
- package/dist/chunks/{config-bmha4d8f.js → kv-jq4t0r1h.js} +13 -13
- package/dist/chunks/{config-y71avatq.js → kv-jwcy2c2z.js} +4 -4
- package/dist/chunks/{config-0kyv5em2.js → kv-jwec4pw9.js} +4 -4
- package/dist/chunks/{config-1xww6kdy.js → kv-k90kzz46.js} +15 -15
- package/dist/chunks/{config-rvv9w8j7.js → kv-ksth9vw7.js} +11 -11
- package/dist/chunks/{config-s6e2pa35.js → kv-kyga3jc5.js} +1 -1
- package/dist/chunks/{config-cjwndxkq.js → kv-kyjp3xwm.js} +23 -23
- package/dist/chunks/{config-pn8tp4tb.js → kv-kzmtwy1e.js} +67 -67
- package/dist/chunks/{config-m86bnw2c.js → kv-m2d0j7c0.js} +9 -9
- package/dist/chunks/{config-vmgq4x8b.js → kv-m7va1g8x.js} +2 -2
- package/dist/chunks/{config-yxmwekd1.js → kv-m8zsrjj5.js} +30 -30
- package/dist/chunks/{config-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-r7krxm43.js → kv-max6kkrx.js} +23 -23
- package/dist/chunks/{config-zznte351.js → kv-mdsrvxsg.js} +41 -41
- package/dist/chunks/{config-btqxeatv.js → kv-mg6gw4ep.js} +19 -19
- package/dist/chunks/{config-71e6t07v.js → kv-mhqan6gd.js} +17 -17
- package/dist/chunks/{config-0gb302ex.js → kv-mnd2r93q.js} +10 -10
- package/dist/chunks/{config-jrvsyn0z.js → kv-msddpymt.js} +20 -20
- package/dist/chunks/{config-w1k39n5e.js → kv-msq0jde0.js} +4 -4
- package/dist/chunks/{config-h4gk7zvx.js → kv-mszgtet4.js} +3 -3
- package/dist/chunks/{config-8xb4fn80.js → kv-mw6jzdfy.js} +5 -5
- package/dist/chunks/{config-zx20m7ss.js → kv-myf4cx11.js} +29 -29
- package/dist/chunks/{config-w2dvrnz2.js → kv-n5qnh25p.js} +10 -10
- package/dist/chunks/{config-xe94yqgp.js → kv-ngdt5g2x.js} +4 -4
- package/dist/chunks/{config-mc9c1zbf.js → kv-nq8dwvv9.js} +13 -13
- package/dist/chunks/{config-yejepwtj.js → kv-nwyr7p3b.js} +5 -5
- package/dist/chunks/{config-7gvwkz6m.js → kv-pecb0brz.js} +5 -5
- package/dist/chunks/{config-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{config-9sbvqvys.js → kv-pksmcpyw.js} +32 -32
- package/dist/chunks/{config-4jc5c4h4.js → kv-pstg3rfm.js} +1 -1
- package/dist/chunks/{config-9r929b30.js → kv-ptfbb8fh.js} +3 -3
- package/dist/chunks/{config-ywrabq02.js → kv-pv90mvjj.js} +20 -20
- package/dist/chunks/{config-depwzj9d.js → kv-py90b8jm.js} +9 -9
- package/dist/chunks/{config-w2mb4z4n.js → kv-q2avwc19.js} +17 -17
- package/dist/chunks/{config-9xf855tq.js → kv-qce7m269.js} +19 -19
- package/dist/chunks/{config-rbb9szz8.js → kv-qd0y41g2.js} +12 -12
- package/dist/chunks/{config-n67mgy0c.js → kv-qd3vq2t8.js} +23 -23
- package/dist/chunks/{config-c4vcfcbt.js → kv-qmqgtz8f.js} +9 -9
- package/dist/chunks/{config-vmq7ehpy.js → kv-qn4ba14w.js} +5 -5
- package/dist/chunks/{config-dag2nrwr.js → kv-qq4m7zv9.js} +46 -46
- package/dist/chunks/{config-553ta1rf.js → kv-qqngb6za.js} +28 -28
- package/dist/chunks/{config-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{config-nmx43amf.js → kv-r2kyfyma.js} +10 -10
- package/dist/chunks/{config-va70fm6r.js → kv-r7hfka79.js} +20 -20
- package/dist/chunks/{config-r9mregkx.js → kv-r9mregkx.js} +2 -2
- package/dist/chunks/{config-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-46tyheva.js → kv-re7yvca6.js} +8 -8
- package/dist/chunks/{config-k3kxt7h3.js → kv-rtv6ahp9.js} +6 -6
- package/dist/chunks/{config-cjp58b5b.js → kv-rwc1bv1d.js} +23 -23
- package/dist/chunks/{config-8mfdap3f.js → kv-s0agc963.js} +8 -8
- package/dist/chunks/{config-tgpkg1mv.js → kv-s1epcrn4.js} +12 -12
- package/dist/chunks/{config-sad597vp.js → kv-s58geyf9.js} +17 -17
- package/dist/chunks/{config-ewmwb483.js → kv-s82aax5r.js} +18 -18
- package/dist/chunks/{config-n0bqns9b.js → kv-s8n2c1h9.js} +39 -39
- package/dist/chunks/{config-vvte70ab.js → kv-sbxm9m4q.js} +26 -26
- package/dist/chunks/{config-k2h4r4s0.js → kv-sez5jh81.js} +4 -4
- package/dist/chunks/{config-bt4a0k6p.js → kv-smqfa53a.js} +17 -17
- package/dist/chunks/{config-c41he9zp.js → kv-sn1m3xe8.js} +49 -49
- package/dist/chunks/{config-3bqsmn8j.js → kv-sp6n8mjs.js} +9 -9
- package/dist/chunks/{config-bgk88e04.js → kv-spfby1d7.js} +38 -38
- package/dist/chunks/{config-vr0jy3rn.js → kv-spxp8qyj.js} +35 -35
- package/dist/chunks/{config-0b9jragr.js → kv-ss608w0a.js} +6 -6
- package/dist/chunks/{config-mbnzj7fq.js → kv-swdttv06.js} +14 -14
- package/dist/chunks/{config-a2ew8a62.js → kv-sxz6gkc3.js} +7 -7
- package/dist/chunks/{config-w1xxf7tm.js → kv-t494fre1.js} +14 -14
- package/dist/chunks/{config-eaj1djv9.js → kv-t550f9t1.js} +8 -8
- package/dist/chunks/{config-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-3r916n3t.js → kv-tbcsecz1.js} +6 -6
- package/dist/chunks/{config-kypcf4qg.js → kv-tct5ctj4.js} +23 -23
- package/dist/chunks/{config-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{config-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{config-0wdk316n.js → kv-v7zbrah6.js} +8 -8
- package/dist/chunks/{config-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{config-j49tgg6r.js → kv-vn2j9jh8.js} +28 -28
- package/dist/chunks/{config-3ghk67v3.js → kv-vqrh0kjk.js} +15 -15
- package/dist/chunks/{config-z2qbjhyn.js → kv-vykevjvn.js} +5 -5
- package/dist/chunks/{config-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-4jkwnjww.js → kv-w80nhn5w.js} +181 -181
- package/dist/chunks/{config-hx2psyfh.js → kv-wbhrmzsp.js} +13 -13
- package/dist/chunks/{config-nm1c1912.js → kv-wc70p2m4.js} +54 -54
- package/dist/chunks/{config-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{config-ygxjh9rx.js → kv-wk9x33ze.js} +32 -32
- package/dist/chunks/{config-xpx0gg6d.js → kv-wqed8vyv.js} +11 -11
- package/dist/chunks/{config-c5gg6rgh.js → kv-wr2jg199.js} +11 -11
- package/dist/chunks/{config-t7eadng9.js → kv-wwrj63s4.js} +21 -21
- package/dist/chunks/{config-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-sd4y1mcp.js → kv-x5v2mb0g.js} +8 -8
- package/dist/chunks/{config-qf1faf3j.js → kv-x73xgq81.js} +18 -18
- package/dist/chunks/{config-w3fxp1m0.js → kv-xan21tpb.js} +9 -9
- package/dist/chunks/{config-pztqrn0p.js → kv-xcb08vvz.js} +8 -8
- package/dist/chunks/{config-82drw8c2.js → kv-xnd1tqg9.js} +24 -24
- package/dist/chunks/{config-zgav49qc.js → kv-xsyv644k.js} +94 -94
- package/dist/chunks/{config-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-thzkma29.js → kv-y8pdtezz.js} +6 -6
- package/dist/chunks/{config-r4amq9j8.js → kv-y9ybwmsd.js} +11 -11
- package/dist/chunks/{config-d8hxcene.js → kv-ynn8fm83.js} +33 -33
- package/dist/chunks/{config-1acjjqhc.js → kv-yp2x3t23.js} +4 -4
- package/dist/chunks/{config-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-yrznvahk.js → kv-yrznvahk.js} +2 -2
- package/dist/chunks/{config-84vfkt4j.js → kv-yzye1zm0.js} +12 -12
- package/dist/chunks/{config-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-z63w68vq.js → kv-z63w68vq.js} +2 -2
- package/dist/chunks/{config-9as7e6ma.js → kv-z697dyyp.js} +43 -43
- package/dist/chunks/{config-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-kygx0r76.js → kv-zexvvc7n.js} +22 -22
- package/dist/chunks/{config-cy3hxfvf.js → kv-zg90m4kh.js} +7 -7
- package/dist/chunks/{config-v0xe2nxv.js → kv-zhfaz766.js} +17 -17
- package/dist/chunks/{config-ew7nbhn8.js → kv-zkeg4fzb.js} +41 -41
- package/dist/chunks/{config-xkg16ng2.js → kv-zkwy923f.js} +36 -36
- package/dist/chunks/{config-147z1f8h.js → kv-zqzbxqrm.js} +30 -30
- package/dist/chunks/{config-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-d7cwqg7e.js → kv-ztq8fy9b.js} +10 -10
- package/dist/chunks/{config-958f6mdd.js → kv-zxfj2cfx.js} +32 -32
- package/dist/chunks/{config-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- 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 +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- 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 +123 -123
- package/dist/config/plugin/worktree.js +125 -125
- 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 +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- 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 +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- 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 +119 -119
- 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 +69 -69
- 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 +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- 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 +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- 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 +130 -130
- 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 +149 -149
- 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 +78 -78
- 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 +115 -115
- package/dist/session/model-transport.js +7 -7
- 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 +111 -111
- 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 +169 -169
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +92 -92
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/config-0mesazry.js +0 -4
- package/dist/chunks/config-9sh4wc5j.js +0 -18
- package/dist/chunks/config-psx5q6he.js +0 -26
- package/dist/chunks/config-t632knej.js +0 -251
- /package/dist/chunks/{config-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node79
|
|
4
|
+
} from "./kv-2yszhqmy.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Formatter: () =>
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
13
|
+
var exports_formatter3 = {};
|
|
14
|
+
__export(exports_formatter3, {
|
|
15
|
+
Formatter: () => exports_formatter3,
|
|
16
|
+
Service: () => Service43,
|
|
17
|
+
node: () => node47
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service43 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service74;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service43.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node47 = makeLocationNode({
|
|
91
|
+
service: Service43,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node79, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service43, node47, exports_formatter3 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-xcb08vvz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./kv-hbc76d7d.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./kv-ynn8fm83.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-5hs6vj28.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-b54tf645.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID13.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID13.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service77;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID12.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
if (!chatgpt)
|
|
@@ -194,7 +194,7 @@ var OpenAIPlugin2 = define({
|
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.model.transform((models) => {
|
|
197
|
-
for (const model of models.list(
|
|
197
|
+
for (const model of models.list(ID12.openai)) {
|
|
198
198
|
models.update(model.providerID, model.id, (draft) => {
|
|
199
199
|
draft.capabilities.responsesWebsockets = true;
|
|
200
200
|
draft.websocket = true;
|
|
@@ -224,9 +224,9 @@ var OpenAIPlugin2 = define({
|
|
|
224
224
|
evt.baseURL = codexBaseURL;
|
|
225
225
|
evt.headers.originator = "opencode";
|
|
226
226
|
evt.headers["session-id"] = evt.sessionID;
|
|
227
|
-
}), { providerID:
|
|
227
|
+
}), { providerID: ID12.openai });
|
|
228
228
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
229
|
-
yield* bus.subscribe(
|
|
229
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
230
230
|
})
|
|
231
231
|
});
|
|
232
232
|
function headers(contentType, app) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-vykevjvn.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service55
|
|
7
|
+
} from "./kv-b01ceker.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-256nx13v.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-ek6datne.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service55;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./kv-hbc76d7d.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-fjm3wm2r.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event11,
|
|
21
21
|
ID: () => ID6,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info19,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service58,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node62,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event11 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
42
|
+
var Info19 = Skill.Info;
|
|
43
43
|
var ID6 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
@@ -71,10 +71,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service58 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service77;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service58.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node62 = makeLocationNode({
|
|
112
|
+
service: Service58,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node82]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info19, ID6, Name2, available2, toModelOutput3, prepare3, Service58, node62, exports_skill5, Event11 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-sez5jh81.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info7
|
|
9
|
+
} from "./kv-eyqq4r43.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info15
|
|
12
|
+
} from "./kv-3w0fmcng.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info13
|
|
15
|
+
} from "./kv-sxz6gkc3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info10
|
|
18
|
+
} from "./kv-pecb0brz.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
22
|
-
import {
|
|
23
|
-
Info21
|
|
24
|
-
} from "./config-vmq7ehpy.js";
|
|
21
|
+
} from "./kv-607tc6va.js";
|
|
25
22
|
import {
|
|
26
23
|
Info12
|
|
27
|
-
} from "./
|
|
24
|
+
} from "./kv-qn4ba14w.js";
|
|
25
|
+
import {
|
|
26
|
+
Info6
|
|
27
|
+
} from "./kv-z697dyyp.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./kv-jwec4pw9.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./kv-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info6.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info7, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info7, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info10, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info12, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node5, bound2, exports_instance2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service39,
|
|
3
|
+
node42,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-2746bvgx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service36,
|
|
8
|
+
node39
|
|
9
|
+
} from "./kv-63xctefh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service14
|
|
12
|
+
} from "./kv-s82aax5r.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-0bfex5kv.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service39, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
29
29
|
return Effect.void;
|
|
30
30
|
if (Exit.isSuccess(exit)) {
|
|
31
|
-
build.close = Context.get(exit.value,
|
|
31
|
+
build.close = Context.get(exit.value, Service14).close;
|
|
32
32
|
return Effect.void;
|
|
33
33
|
}
|
|
34
34
|
MutableHashMap.remove(builds, ref);
|
|
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
50
50
|
})
|
|
51
51
|
};
|
|
52
52
|
const bindings = [
|
|
53
|
-
|
|
53
|
+
node39.replace(Layer.succeed(Service36, {
|
|
54
54
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
55
55
|
})),
|
|
56
56
|
...replacements,
|
|
57
|
-
|
|
57
|
+
node42.replace(Layer.succeed(Service39, map))
|
|
58
58
|
];
|
|
59
59
|
return map;
|
|
60
60
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./kv-2yszhqmy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./kv-x73xgq81.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service12
|
|
12
|
+
} from "./kv-wwrj63s4.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service5
|
|
27
|
+
} from "./kv-zhfaz766.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./kv-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Plugin: () => Plugin16,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name2,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name2 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input2 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin16 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service5;
|
|
62
|
+
const access = yield* Service50;
|
|
63
|
+
const sessionInstructions = yield* Service12;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service74;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name2,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input2,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin45 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent2 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name2, Input2, Plugin16, toModelContent2, exports_read };
|