@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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-fjm3wm2r.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin14
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin14 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin14, exports_plan };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
6
|
+
var exports_formatter2 = {};
|
|
7
|
+
__export(exports_formatter2, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter2,
|
|
9
|
+
Entry: () => Entry2,
|
|
10
|
+
Info: () => Info11
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry2 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info11 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry2, Info11, exports_formatter2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./kv-hbc76d7d.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service74,
|
|
12
|
+
node79
|
|
13
|
+
} from "./kv-2yszhqmy.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info16,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service44,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node48
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info16, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service44 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
|
+
const bus = yield* Service77;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info16));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service44.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node48 = makeLocationNode({
|
|
165
|
+
service: Service44,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node79, node82]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info16, Mode2, DiffError2, Service44, node48, exports_vcs };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service74
|
|
13
|
+
} from "./kv-2yszhqmy.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-9cc2y271.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin3 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service74;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin3, exports_hg };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-b54tf645.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service54,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node58
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID12,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service54 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service54, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service54.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -817,6 +817,6 @@ function providerErrorMessage(error) {
|
|
|
817
817
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
818
818
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
819
819
|
}
|
|
820
|
-
var
|
|
820
|
+
var node58 = makeLocationNode({ service: Service54, layer: locationLayer2, deps: [] });
|
|
821
821
|
|
|
822
|
-
export { InitError2,
|
|
822
|
+
export { InitError2, Service54, locationLayer2, node58, exports_aisdk };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service78,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service78 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service78.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-r9mregkx.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service68,
|
|
17
|
+
node73
|
|
18
|
+
} from "./kv-6c84hha3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service62,
|
|
21
|
+
node66
|
|
22
|
+
} from "./kv-cfv81dax.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./kv-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-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: () => Content2,
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service40,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node44
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error2, 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 Service40 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(Service40, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service62;
|
|
58
|
+
const image = yield* Service68;
|
|
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(Service73, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service40.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 node44 = makeLocationNode({
|
|
268
|
+
service: Service40,
|
|
269
269
|
layer,
|
|
270
|
-
deps: [
|
|
270
|
+
deps: [node66, node73]
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
export { RegistrationError2,
|
|
273
|
+
export { RegistrationError2, Service40, node44, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./kv-hbc76d7d.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event18
|
|
7
|
+
} from "./kv-ynn8fm83.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-5hs6vj28.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-b54tf645.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID3,
|
|
19
|
+
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-fn3n3knf.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID3
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID13.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service77;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
providers.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID13.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
sourceConnection: snapshot.connection
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const item = providers.get(
|
|
198
|
+
const item = providers.get(ID12.opencode);
|
|
199
199
|
if (!item)
|
|
200
200
|
return;
|
|
201
201
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* ctx.model.transform((models) => {
|
|
210
|
-
const item = models.provider.get(
|
|
210
|
+
const item = models.provider.get(ID12.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
|
|
|
241
241
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
242
242
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
243
243
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
244
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
244
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
245
245
|
query: input.query,
|
|
246
246
|
providerID: descriptor.providerID
|
|
247
247
|
}));
|
|
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
|
|
|
262
262
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
263
263
|
});
|
|
264
264
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
267
267
|
})
|
|
268
268
|
});
|