@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,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service80,
|
|
6
|
-
node85
|
|
7
|
-
} from "./config-b18f862j.js";
|
|
8
|
-
import {
|
|
9
|
-
Event17,
|
|
10
|
-
Service64,
|
|
11
|
-
node69
|
|
12
|
-
} from "./config-d8hxcene.js";
|
|
3
|
+
} from "./kv-jwcy2c2z.js";
|
|
13
4
|
import {
|
|
14
5
|
Service77,
|
|
15
6
|
node82
|
|
16
|
-
} from "./
|
|
7
|
+
} from "./kv-hbc76d7d.js";
|
|
8
|
+
import {
|
|
9
|
+
Event18,
|
|
10
|
+
Service72,
|
|
11
|
+
node77
|
|
12
|
+
} from "./kv-ynn8fm83.js";
|
|
13
|
+
import {
|
|
14
|
+
Service74,
|
|
15
|
+
node79
|
|
16
|
+
} from "./kv-2yszhqmy.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service66,
|
|
19
|
+
node70
|
|
20
|
+
} from "./kv-evyg9j9p.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service73,
|
|
24
|
+
node78
|
|
25
|
+
} from "./kv-vn2j9jh8.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./kv-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service71,
|
|
34
|
+
node76
|
|
35
|
+
} from "./kv-5hs6vj28.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./kv-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service22,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured3,
|
|
57
|
+
layer: () => layer12,
|
|
58
|
+
node: () => node27
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -92,21 +92,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
92
92
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
93
93
|
var cloneConfig = (config) => structuredClone(config);
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service22 extends Context.Service()("@opencode/MCP") {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Options3 = Schema.Struct({
|
|
98
98
|
clientInfo: Schema.optional(Schema.Struct({
|
|
99
99
|
name: Schema.String,
|
|
100
100
|
version: Schema.String
|
|
101
101
|
}))
|
|
102
102
|
});
|
|
103
|
-
var
|
|
104
|
-
const location = yield*
|
|
105
|
-
const environment = yield*
|
|
106
|
-
const bus = yield*
|
|
107
|
-
const forms = yield*
|
|
108
|
-
const integration = yield*
|
|
109
|
-
const credentials = yield*
|
|
103
|
+
var layer12 = (options) => Layer.effect(Service22, Effect.gen(function* () {
|
|
104
|
+
const location = yield* Service74;
|
|
105
|
+
const environment = yield* Service66;
|
|
106
|
+
const bus = yield* Service77;
|
|
107
|
+
const forms = yield* Service73;
|
|
108
|
+
const integration = yield* Service71;
|
|
109
|
+
const credentials = yield* Service72;
|
|
110
110
|
const root = yield* Effect.scope;
|
|
111
111
|
const fork = yield* FiberSet.makeRuntime();
|
|
112
112
|
const entries = new Map;
|
|
@@ -118,7 +118,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
const remote = entry.config;
|
|
120
120
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
121
|
-
const integrationID =
|
|
121
|
+
const integrationID = ID13.make(suffix);
|
|
122
122
|
entry.integrationID = integrationID;
|
|
123
123
|
owned.add(integrationID);
|
|
124
124
|
const methodID = MethodID2.make(suffix);
|
|
@@ -134,7 +134,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
134
134
|
method: { id: methodID, type: "oauth", label: name },
|
|
135
135
|
authorize: () => Effect.gen(function* () {
|
|
136
136
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
137
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
137
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service72, credentials));
|
|
138
138
|
})
|
|
139
139
|
});
|
|
140
140
|
}).pipe(Scope.provide(scope));
|
|
@@ -143,19 +143,19 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
143
143
|
const name = ServerName2.make(server);
|
|
144
144
|
const entry = entries.get(name);
|
|
145
145
|
if (!entry)
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new NotFoundError2({ server: name });
|
|
147
147
|
return { name, entry };
|
|
148
148
|
});
|
|
149
149
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
150
150
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
151
151
|
return;
|
|
152
152
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
153
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
153
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service72, credentials));
|
|
154
154
|
});
|
|
155
155
|
const elicitation = {
|
|
156
156
|
create: (input) => Effect.gen(function* () {
|
|
157
157
|
if (input.params.mode === "url") {
|
|
158
|
-
const formID =
|
|
158
|
+
const formID = ID15.create();
|
|
159
159
|
const elicitationID = input.params.elicitationId;
|
|
160
160
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
161
161
|
if (key)
|
|
@@ -239,7 +239,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
239
239
|
entry.scope = scope;
|
|
240
240
|
const authProvider = yield* connectProvider(entry);
|
|
241
241
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
242
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
242
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service66, environment), Scope.provide(scope), Effect.exit);
|
|
243
243
|
if (Exit.isSuccess(result)) {
|
|
244
244
|
entry.client = result.value.connection;
|
|
245
245
|
entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
|
|
@@ -363,7 +363,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
363
363
|
yield* startServer(name, entry);
|
|
364
364
|
}).pipe(locks.withLock(name));
|
|
365
365
|
});
|
|
366
|
-
fork(bus.subscribe(
|
|
366
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
367
367
|
const state = create3({
|
|
368
368
|
name: "mcp",
|
|
369
369
|
initial: () => ({
|
|
@@ -389,7 +389,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
389
389
|
}),
|
|
390
390
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
391
391
|
});
|
|
392
|
-
return
|
|
392
|
+
return Service22.of({
|
|
393
393
|
transform: state.transform,
|
|
394
394
|
reload: state.reload,
|
|
395
395
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -508,14 +508,14 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
508
508
|
})
|
|
509
509
|
});
|
|
510
510
|
}));
|
|
511
|
-
function
|
|
511
|
+
function configured3(options) {
|
|
512
512
|
return makeLocationNode({
|
|
513
|
-
service:
|
|
514
|
-
layer:
|
|
515
|
-
deps: [
|
|
513
|
+
service: Service22,
|
|
514
|
+
layer: layer12(options),
|
|
515
|
+
deps: [node79, node70, node82, node78, node76, node77]
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
|
-
var
|
|
518
|
+
var node27 = configured3();
|
|
519
519
|
function toElicitationField(key, property, required) {
|
|
520
520
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
521
521
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
|
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
569
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service22, Options3, layer12, configured3, node27, exports_mcp4 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-3ry8aa1g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./kv-hbc76d7d.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./kv-63xctefh.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-ek6datne.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service61
|
|
29
|
+
} from "./kv-bmrqs97x.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service34
|
|
34
|
+
} from "./kv-tct5ctj4.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service32
|
|
37
|
+
} from "./kv-zkeg4fzb.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./kv-ccgd81x1.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./kv-rwc1bv1d.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./kv-e847jpav.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./kv-82av5642.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./kv-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
|
-
const bus = yield*
|
|
66
|
+
const bus = yield* Service77;
|
|
67
67
|
const database = yield* Service81;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service61;
|
|
69
|
+
const instances = yield* Service36;
|
|
70
|
+
const execution = yield* Service32;
|
|
71
|
+
const admission = yield* Service34;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError8({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service36, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service36, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service36, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service81, database), Effect.provideService(Service77, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service77, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service37
|
|
4
|
+
} from "./kv-6qxwpmhr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./kv-yzye1zm0.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin36
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin36 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service37;
|
|
27
|
+
const output = yield* Service45;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin29 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin36, exports_tool_output };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service37
|
|
4
|
+
} from "./kv-6qxwpmhr.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin34
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin34 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service37;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin24 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin34, exports_websearch2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./config-b18f862j.js";
|
|
5
1
|
import {
|
|
6
2
|
Service77,
|
|
7
3
|
node82
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./kv-hbc76d7d.js";
|
|
5
|
+
import {
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./kv-2yszhqmy.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service61,
|
|
14
|
+
node65
|
|
15
|
+
} from "./kv-bmrqs97x.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service12,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node15
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service12 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service77;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service61;
|
|
41
|
+
const location = yield* Service74;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service12.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node15 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node82, FSUtil.node, node79, node65]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service12, node15, exports_instructions };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./kv-q2avwc19.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service17
|
|
6
|
+
} from "./kv-xsyv644k.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make10 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service17;
|
|
24
|
+
const jobs = yield* Service79;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-mdsrvxsg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
node79
|
|
10
|
+
} from "./kv-2yszhqmy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service59,
|
|
13
|
+
node63
|
|
14
|
+
} from "./kv-fjm3wm2r.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service50,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node54,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service50 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service74;
|
|
61
|
+
const permission = yield* Service59;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service50.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node54 = makeLocationNode({ service: Service50, layer, deps: [FSUtil.node, node79, node63] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service50, resolvePath2, node54, exports_file_access };
|