@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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./kv-6qxwpmhr.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin29
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin29 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service37;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
27
27
|
yield* ctx.provider.transform((providers) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin33 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin29, exports_policy };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer19,
|
|
12
12
|
make: () => make18,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node43,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make18(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer19 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
|
|
33
|
+
var node43 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make18, useragent2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer19, configured6, node43, exports_app };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./kv-hbc76d7d.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event13,
|
|
18
|
+
ID: () => ID9,
|
|
19
|
+
Info: () => Info22,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service63,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node67
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event13 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID9 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID9.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info22 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service63 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service77;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info22.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID9.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service63.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID9.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID9.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node67 = makeLocationNode({ service: Service63, layer, deps: [node82, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID9, Name3, defaultID2, Color2, Info22, Service63, node67, exports_agent4, Event13 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID18,
|
|
3
|
+
Info34,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-256nx13v.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-3ry8aa1g.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service77,
|
|
16
|
+
node82
|
|
17
|
+
} from "./kv-hbc76d7d.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node80
|
|
21
|
+
} from "./kv-mdsrvxsg.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service36,
|
|
24
|
+
node39
|
|
25
|
+
} from "./kv-63xctefh.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node37
|
|
34
|
+
} from "./kv-tct5ctj4.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./kv-bajakh74.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./kv-epvaqs7p.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./kv-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node23
|
|
47
|
+
} from "./kv-39f9a2ac.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node43
|
|
51
|
+
} from "./kv-xcb08vvz.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError8,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./kv-ek6datne.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service61,
|
|
68
|
+
node65
|
|
69
|
+
} from "./kv-bmrqs97x.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service79,
|
|
72
|
+
node84
|
|
73
|
+
} from "./kv-q2avwc19.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service32,
|
|
76
|
+
node36
|
|
77
|
+
} from "./kv-zkeg4fzb.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./kv-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service27,
|
|
83
|
+
node32
|
|
84
|
+
} from "./kv-56jh955g.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./kv-000s6ppq.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./kv-v7zbrah6.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service39,
|
|
93
|
+
node42
|
|
94
|
+
} from "./kv-2746bvgx.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service18,
|
|
100
|
+
node22
|
|
101
|
+
} from "./kv-2jrp6256.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service31,
|
|
104
|
+
node35
|
|
105
|
+
} from "./kv-703jyx7f.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./kv-wk9x33ze.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./kv-d6w883g1.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./kv-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID18,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info34,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError8,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service17,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node21
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput2 = ListInput5;
|
|
152
|
+
class Service17 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service81;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service77;
|
|
159
|
+
const projects = yield* Service75;
|
|
160
|
+
const execution = yield* Service32;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service27;
|
|
163
|
+
const store = yield* Service61;
|
|
164
|
+
const instances = yield* Service36;
|
|
165
|
+
const moves = yield* Service18;
|
|
166
|
+
const jobs = yield* Service79;
|
|
167
|
+
const environments = yield* Service31;
|
|
168
|
+
const locations = yield* Service39;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service17.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError8({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service81, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service36, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node21 = Node.makeGlobalNode({
|
|
330
|
+
service: Service17,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
node84,
|
|
334
|
+
node35,
|
|
335
335
|
node86,
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
node40,
|
|
340
|
-
llmClient2,
|
|
341
|
-
node73,
|
|
342
|
-
node47,
|
|
343
|
-
node46,
|
|
344
|
-
node31,
|
|
336
|
+
node82,
|
|
337
|
+
node80,
|
|
338
|
+
node36,
|
|
345
339
|
node32,
|
|
346
|
-
|
|
340
|
+
llmClient2,
|
|
341
|
+
node65,
|
|
342
|
+
node39,
|
|
343
|
+
node37,
|
|
344
|
+
node22,
|
|
345
|
+
node23,
|
|
346
|
+
node42,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node43
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2,
|
|
352
|
+
export { ListAnchor2, ListInput2, Service17, node21, exports_session };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-b54tf645.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-spxp8qyj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve3
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve3(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -497,4 +497,4 @@ var PROTOCOLS = {
|
|
|
497
497
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
-
export {
|
|
500
|
+
export { resolve3, exports_variant };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./kv-6qxwpmhr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./kv-6c84hha3.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin41
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin41 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service37;
|
|
26
|
+
const image = yield* Service68;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin18 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin41, exports_image };
|