@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./kv-hbc76d7d.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service74,
|
|
12
|
+
node79
|
|
13
|
+
} from "./kv-2yszhqmy.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service14,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node18
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service14 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service77;
|
|
44
|
+
const location = yield* Service74;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service74, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service14.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node18 = makeLocationNode({ service: Service14, layer, deps: [node82, node79] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service14, node18, exports_rpc, define2 };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./kv-hbc76d7d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node41
|
|
7
|
+
} from "./kv-zexvvc7n.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service6,
|
|
10
|
+
node8
|
|
11
|
+
} from "./kv-76t127xa.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service28
|
|
14
|
+
} from "./kv-ht5y0zrb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node16,
|
|
17
|
+
ID2
|
|
18
|
+
} from "./kv-7a29j4fa.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service3,
|
|
21
|
+
node5
|
|
22
|
+
} from "./kv-dv1qgsyq.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-25d4ex09.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make6,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./kv-re7yvca6.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
33
|
Service4,
|
|
34
34
|
node6
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./kv-gnnjg0ex.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service2,
|
|
38
|
+
node4
|
|
39
|
+
} from "./kv-py90b8jm.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./kv-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
46
46
|
__export(exports_supervisor, {
|
|
47
47
|
PluginSupervisor: () => exports_supervisor,
|
|
48
48
|
layer: () => layer3,
|
|
49
|
-
node: () =>
|
|
49
|
+
node: () => node3
|
|
50
50
|
});
|
|
51
51
|
import { Event } from "@opencode/schema/config";
|
|
52
52
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
115
115
|
failures: [
|
|
116
116
|
...failures.values(),
|
|
117
117
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
118
|
-
id:
|
|
118
|
+
id: ID2.make(plugin.id),
|
|
119
119
|
source: plugin.source ?? { type: "builtin" },
|
|
120
120
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
121
121
|
features: { server: true, ...plugin.features }
|
|
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
127
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
-
const registry = yield*
|
|
128
|
+
const registry = yield* Service28;
|
|
129
129
|
const sdk = yield* Service4;
|
|
130
|
-
const instance = yield*
|
|
131
|
-
const sources = yield*
|
|
132
|
-
const modules = yield*
|
|
133
|
-
const bus = yield*
|
|
134
|
-
const updates = yield*
|
|
130
|
+
const instance = yield* Service3;
|
|
131
|
+
const sources = yield* Service6;
|
|
132
|
+
const modules = yield* make6();
|
|
133
|
+
const bus = yield* Service77;
|
|
134
|
+
const updates = yield* Service2;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
209
|
+
node16,
|
|
210
210
|
node6,
|
|
211
|
-
node7,
|
|
212
|
-
node10,
|
|
213
211
|
node5,
|
|
214
|
-
|
|
212
|
+
node8,
|
|
213
|
+
node4,
|
|
214
|
+
node82,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node41,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -221,6 +221,6 @@ function pluginSource(target) {
|
|
|
221
221
|
return { type: "local", path: target };
|
|
222
222
|
return { type: "package", target };
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
225
225
|
|
|
226
|
-
export { layer3,
|
|
226
|
+
export { layer3, node3, exports_supervisor };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-3ry8aa1g.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./kv-hbc76d7d.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-msq0jde0.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-eng4dpjw.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./kv-pstg3rfm.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./kv-zqzbxqrm.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./kv-2zas8aff.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./kv-ptfbb8fh.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./kv-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./kv-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./kv-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service11,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer7,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node14,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service11 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,8 +298,8 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer7 = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
301
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service77;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service81).db;
|
|
305
305
|
const state = create3({
|
|
@@ -607,7 +607,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
607
607
|
}
|
|
608
608
|
}));
|
|
609
609
|
});
|
|
610
|
-
return
|
|
610
|
+
return Service11.of({
|
|
611
611
|
transform: state.transform,
|
|
612
612
|
reload: state.reload,
|
|
613
613
|
enabled: () => state.get().auto,
|
|
@@ -616,10 +616,10 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
616
616
|
compactManual
|
|
617
617
|
});
|
|
618
618
|
}));
|
|
619
|
-
var
|
|
620
|
-
service:
|
|
619
|
+
var node14 = makeLocationNode({
|
|
620
|
+
service: Service11,
|
|
621
621
|
layer: layer7,
|
|
622
|
-
deps: [
|
|
622
|
+
deps: [node82, node86, llmClient2]
|
|
623
623
|
});
|
|
624
624
|
|
|
625
|
-
export {
|
|
625
|
+
export { Service11, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info8,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info8 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info8, exports_permission };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-3ry8aa1g.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info20,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service60,
|
|
21
|
+
node: () => node64
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info20 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service60 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service81).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID8.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service60.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node64 = makeGlobalNode({ service: Service60, layer, deps: [node86] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID8, Info20, ListInput4, AddInput2, Service60, node64, exports_saved };
|
|
@@ -1,57 +1,57 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service66,
|
|
11
|
+
node70
|
|
12
|
+
} from "./kv-evyg9j9p.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service57,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node61
|
|
20
|
+
} from "./kv-qce7m269.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service62,
|
|
23
|
+
node66
|
|
24
|
+
} from "./kv-cfv81dax.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service31,
|
|
27
|
+
node35
|
|
28
|
+
} from "./kv-703jyx7f.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-256nx13v.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service37,
|
|
35
|
+
node40
|
|
36
|
+
} from "./kv-6qxwpmhr.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./kv-yzye1zm0.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./kv-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError3,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service30,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node34
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError3 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service30 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service30, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service77;
|
|
91
|
+
const location = yield* Service74;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service57;
|
|
94
|
+
const environment = yield* Service66;
|
|
95
|
+
const hooks = yield* Service62;
|
|
96
|
+
const environments = yield* Service31;
|
|
97
|
+
const config = yield* Service37;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError3({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError3({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service30.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node34 = makeLocationNode({
|
|
320
|
+
service: Service30,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
node85,
|
|
324
323
|
node82,
|
|
324
|
+
node79,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node61,
|
|
327
|
+
node70,
|
|
328
|
+
node66,
|
|
329
|
+
node35,
|
|
330
|
+
node40,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError3, RETENTION2, DIRECTORY2, Service30, cleanup2, node34, exports_shell4 };
|