@opencode/core 0.0.0-dev-1220 → 0.0.0-dev-1224
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 +90 -90
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +254 -254
- package/dist/bus.js +80 -80
- package/dist/chunks/{location-service-map-am7ngvf1.js → state-00ceerga.js} +39 -39
- package/dist/chunks/{location-service-map-034tev2y.js → state-034tev2y.js} +2 -2
- package/dist/chunks/{location-service-map-h6wjw172.js → state-0dnk7p9t.js} +4 -4
- package/dist/chunks/{location-service-map-psrhxzkz.js → state-0hhk97e6.js} +3 -3
- package/dist/chunks/{location-service-map-0ma9gw4f.js → state-0ma9gw4f.js} +2 -2
- package/dist/chunks/{location-service-map-m69zetst.js → state-0vaa0e61.js} +24 -24
- package/dist/chunks/{location-service-map-jhw46fwd.js → state-109ycj4d.js} +7 -7
- package/dist/chunks/{location-service-map-b9xk4a2d.js → state-10j04twc.js} +19 -19
- package/dist/chunks/{location-service-map-f6fg6vvn.js → state-13gs6whz.js} +74 -74
- package/dist/chunks/{location-service-map-ymkxf774.js → state-15mkcj75.js} +27 -27
- package/dist/chunks/{location-service-map-q9btxw33.js → state-15rmc56z.js} +13 -13
- package/dist/chunks/{location-service-map-zhh8k8xm.js → state-1a9h65em.js} +13 -13
- package/dist/chunks/{location-service-map-1aqsckx4.js → state-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-service-map-1aryjtsy.js → state-1aryjtsy.js} +1 -1
- package/dist/chunks/{location-service-map-x4mywqhm.js → state-1cgctss4.js} +27 -27
- package/dist/chunks/{location-service-map-1ep2p91f.js → state-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-service-map-pa86bx7k.js → state-1h56tgqc.js} +17 -17
- package/dist/chunks/{location-service-map-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-service-map-whm5zz1t.js → state-1xhvy0a1.js} +24 -24
- package/dist/chunks/{location-service-map-h4yybdgt.js → state-1zqfq3fa.js} +11 -11
- package/dist/chunks/{location-service-map-9f01b31z.js → state-27fqdypx.js} +15 -15
- package/dist/chunks/{location-service-map-q5nhhrfg.js → state-29t5ms5a.js} +3 -3
- package/dist/chunks/{location-service-map-xhkdczkv.js → state-2asypf8v.js} +25 -25
- package/dist/chunks/{location-service-map-cxab28sr.js → state-2bswbpgz.js} +4 -4
- package/dist/chunks/{location-service-map-2fc7eemy.js → state-2fc7eemy.js} +1 -1
- package/dist/chunks/{location-service-map-zqyjms4e.js → state-2fqhctvv.js} +18 -18
- package/dist/chunks/{location-service-map-nmvs1w2h.js → state-2fsxdb0d.js} +21 -21
- package/dist/chunks/{location-service-map-v0t96s7a.js → state-2kg89srt.js} +4 -4
- package/dist/chunks/{location-service-map-2prt43t7.js → state-2prt43t7.js} +1 -1
- package/dist/chunks/{location-service-map-ext3f0g2.js → state-35tpvsnd.js} +32 -32
- package/dist/chunks/{location-service-map-jgrd23gk.js → state-36wtp86d.js} +4 -4
- package/dist/chunks/{location-service-map-ma5b68np.js → state-3ck5pzsd.js} +28 -28
- package/dist/chunks/{location-service-map-4jrz2103.js → state-3djagcat.js} +28 -28
- package/dist/chunks/{location-service-map-pzapmsw9.js → state-3efg5d53.js} +17 -17
- package/dist/chunks/{location-service-map-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/state-3k8dzdg4.js +273 -0
- package/dist/chunks/{location-service-map-rw8egndv.js → state-3nft16zg.js} +31 -31
- package/dist/chunks/{location-service-map-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-service-map-6njqpc4h.js → state-3nv1v92r.js} +18 -18
- package/dist/chunks/{location-service-map-wyx40t4c.js → state-3qw8teq0.js} +32 -32
- package/dist/chunks/{location-service-map-40y6dtc2.js → state-40y6dtc2.js} +1 -1
- package/dist/chunks/{location-service-map-w26zvd0j.js → state-427haqbe.js} +3 -3
- package/dist/chunks/{location-service-map-58wf94jx.js → state-4bwthz3m.js} +6 -6
- package/dist/chunks/{location-service-map-bjdfaaqt.js → state-4dg21t77.js} +47 -47
- package/dist/chunks/{location-service-map-4dx1dgte.js → state-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-service-map-4f25tdd0.js → state-4f25tdd0.js} +1 -1
- package/dist/chunks/{location-service-map-pb695e6y.js → state-4gneve8v.js} +40 -40
- package/dist/chunks/{location-service-map-fvpd8xf4.js → state-4p679b5s.js} +7 -7
- package/dist/chunks/{location-service-map-4pyp9zr9.js → state-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-service-map-h55fmb1a.js → state-4qfnvyqn.js} +11 -11
- package/dist/chunks/{location-service-map-ne36spdb.js → state-4qxrae77.js} +16 -16
- package/dist/chunks/{location-service-map-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{location-service-map-4vzr2b15.js → state-4vzr2b15.js} +3 -3
- package/dist/chunks/{location-service-map-2j0c0bkd.js → state-4y5qk8wr.js} +12 -12
- package/dist/chunks/{location-service-map-b9yhhwa8.js → state-52by9wz1.js} +23 -23
- package/dist/chunks/{location-service-map-q904er84.js → state-59r2jq59.js} +35 -35
- package/dist/chunks/{location-service-map-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-service-map-jkdcm5hg.js → state-5n0rnk8e.js} +4 -4
- package/dist/chunks/{location-service-map-cvjm9kyy.js → state-5nc9cxcx.js} +87 -87
- package/dist/chunks/{location-service-map-g6axqj60.js → state-5njhb98r.js} +6 -6
- package/dist/chunks/{location-service-map-gbaqg25w.js → state-5strrb1w.js} +10 -10
- package/dist/chunks/{location-service-map-ybws1qgk.js → state-5wyjxme5.js} +7 -7
- package/dist/chunks/state-5zcyx99g.js +16 -0
- package/dist/chunks/{location-service-map-jvqb0g9x.js → state-627a6t8n.js} +13 -13
- package/dist/chunks/{location-service-map-fbtyzv9j.js → state-6508jazp.js} +36 -36
- package/dist/chunks/{location-service-map-eb8c6fze.js → state-6a3n96rr.js} +49 -49
- package/dist/chunks/{location-service-map-ertr84a8.js → state-6d99zds6.js} +10 -10
- package/dist/chunks/{location-service-map-jqk89bd7.js → state-6ey5hxvm.js} +51 -51
- package/dist/chunks/{location-service-map-g444w85h.js → state-6gjb87wc.js} +2 -2
- package/dist/chunks/{location-service-map-5sans6bz.js → state-6pahazrx.js} +10 -10
- package/dist/chunks/{location-service-map-fhywfw5q.js → state-6ssbb960.js} +19 -19
- package/dist/chunks/{location-service-map-ptr45ne2.js → state-6v3qw19h.js} +16 -16
- package/dist/chunks/{location-service-map-swghd0xk.js → state-6xm9jdbn.js} +2 -2
- package/dist/chunks/{location-service-map-t48jrnqq.js → state-73ff1310.js} +3 -3
- package/dist/chunks/{location-service-map-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-7y2v4hfe.js → state-7g1dpkev.js} +8 -8
- package/dist/chunks/{location-service-map-s345ggan.js → state-7hm90z9h.js} +13 -13
- package/dist/chunks/state-7khw6ctp.js +587 -0
- package/dist/chunks/{location-service-map-7rkp71zx.js → state-7pf24df8.js} +36 -36
- package/dist/chunks/{location-service-map-h76s4kjs.js → state-7r2vp639.js} +41 -41
- package/dist/chunks/{location-service-map-avhm30cb.js → state-7v7sk204.js} +39 -39
- package/dist/chunks/{location-service-map-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-service-map-7weczvnd.js → state-7weczvnd.js} +1 -1
- package/dist/chunks/{location-service-map-wt5scvyx.js → state-7z0rb6fn.js} +20 -20
- package/dist/chunks/{location-service-map-80mg3ag8.js → state-80mg3ag8.js} +3 -3
- package/dist/chunks/{location-service-map-80pdk984.js → state-80pdk984.js} +1 -1
- package/dist/chunks/{location-service-map-595th08f.js → state-81d4j08k.js} +28 -28
- package/dist/chunks/{location-service-map-85jq8dht.js → state-85jq8dht.js} +1 -1
- package/dist/chunks/{location-service-map-0czm8y1n.js → state-85wm61p0.js} +10 -10
- package/dist/chunks/{location-service-map-3qevzq3v.js → state-87kxp3gn.js} +11 -11
- package/dist/chunks/{location-service-map-26z536aq.js → state-8atgymfb.js} +7 -7
- package/dist/chunks/{location-service-map-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
- package/dist/chunks/{location-service-map-wvc2mr1n.js → state-8c2aw5yp.js} +14 -14
- package/dist/chunks/{location-service-map-nhnsmwa2.js → state-8c2cgf6e.js} +19 -19
- package/dist/chunks/{location-service-map-hmnadmg1.js → state-8gc717j2.js} +24 -24
- package/dist/chunks/{location-service-map-8kjyvwy5.js → state-8kjyvwy5.js} +1 -1
- package/dist/chunks/{location-service-map-2y8q1569.js → state-8rapdqzr.js} +4 -4
- package/dist/chunks/{location-service-map-8sxe6kv8.js → state-8sxe6kv8.js} +2 -2
- package/dist/chunks/{location-service-map-mje8hwz2.js → state-8vy8myv0.js} +24 -24
- package/dist/chunks/{location-service-map-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-service-map-8zv0xmg5.js → state-8zv0xmg5.js} +1 -1
- package/dist/chunks/{location-service-map-q2qnwv2q.js → state-9279jmms.js} +14 -14
- package/dist/chunks/{location-service-map-m0mdkbcd.js → state-930967qy.js} +11 -11
- package/dist/chunks/{location-service-map-8rh7wfkh.js → state-963hk181.js} +9 -9
- package/dist/chunks/{location-service-map-zzaqb64w.js → state-97d0bxh6.js} +29 -29
- package/dist/chunks/state-9bjnw33a.js +35 -0
- package/dist/chunks/{location-service-map-xb8jhjsn.js → state-9evh4g6t.js} +15 -15
- package/dist/chunks/{location-service-map-tmxr2s7a.js → state-9fgy5dtv.js} +8 -8
- package/dist/chunks/{location-service-map-035wadpx.js → state-9khz0wq9.js} +5 -5
- package/dist/chunks/{location-service-map-5w4prsbk.js → state-9q00jv0h.js} +16 -16
- package/dist/chunks/{location-service-map-js6668m3.js → state-a0f8fvmt.js} +8 -8
- package/dist/chunks/{location-service-map-sm910czp.js → state-a60yvsvr.js} +16 -16
- package/dist/chunks/{location-service-map-5ve5n6vy.js → state-a9qdt05j.js} +19 -19
- package/dist/chunks/{location-service-map-m3dfmqn8.js → state-agje4kmn.js} +7 -7
- package/dist/chunks/{location-service-map-ytjqcjc1.js → state-ary6xecs.js} +4 -4
- package/dist/chunks/{location-service-map-26qqgt6g.js → state-awc294qn.js} +20 -20
- package/dist/chunks/{location-service-map-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-service-map-pm1efkmx.js → state-aypj46ae.js} +56 -56
- package/dist/chunks/{location-service-map-4k5g9167.js → state-b7nkz392.js} +1 -1
- package/dist/chunks/{location-service-map-gmemj5zs.js → state-ba5f9dy2.js} +4 -4
- package/dist/chunks/{location-service-map-kkg6023m.js → state-bbytzacy.js} +9 -9
- package/dist/chunks/{location-service-map-brv6mkyx.js → state-brv6mkyx.js} +1 -1
- package/dist/chunks/{location-service-map-xd9cc171.js → state-bstexjd6.js} +5 -5
- package/dist/chunks/{location-service-map-jgg5a07m.js → state-cbat45jb.js} +37 -37
- package/dist/chunks/{location-service-map-h002b5k3.js → state-cbce2z70.js} +4 -4
- package/dist/chunks/{location-service-map-s4csrqb1.js → state-chnap7qb.js} +26 -26
- package/dist/chunks/{location-service-map-5m3xrn1j.js → state-cjqsf6bw.js} +9 -9
- package/dist/chunks/{location-service-map-fmjsjtqm.js → state-cpe35zww.js} +4 -4
- package/dist/chunks/{location-service-map-8vyvqb1j.js → state-cqwm3s9e.js} +10 -10
- package/dist/chunks/{location-service-map-sb1d3bsy.js → state-cr77hmd1.js} +32 -32
- package/dist/chunks/{location-service-map-d01nznqf.js → state-cse5rjp3.js} +12 -12
- package/dist/chunks/{location-service-map-1ymvpjxg.js → state-ctd3k3x6.js} +7 -7
- package/dist/chunks/{location-service-map-k46dd5bg.js → state-cv6amnmh.js} +4 -4
- package/dist/chunks/{location-service-map-cwrgdav8.js → state-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-service-map-p7zpdpm1.js → state-d1g7k0n1.js} +6 -6
- package/dist/chunks/{location-service-map-31avdb49.js → state-d390zwf3.js} +8 -8
- package/dist/chunks/{location-service-map-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-service-map-m770pykc.js → state-da44vmvv.js} +17 -17
- package/dist/chunks/{location-service-map-28b4bne6.js → state-dfpyr7py.js} +6 -6
- package/dist/chunks/{location-service-map-jbca85dn.js → state-dg5naf6e.js} +4 -4
- package/dist/chunks/{location-service-map-7hvbm4vg.js → state-djkt98xq.js} +33 -33
- package/dist/chunks/{location-service-map-0z8gvv1t.js → state-djnm8m9y.js} +17 -17
- package/dist/chunks/{location-service-map-yhr036sq.js → state-dkvpwghq.js} +29 -29
- package/dist/chunks/{location-service-map-f37kewrv.js → state-dr704ma6.js} +39 -39
- package/dist/chunks/{location-service-map-0njmt8zh.js → state-dsn35pkw.js} +43 -43
- package/dist/chunks/{location-service-map-dt77769w.js → state-dt77769w.js} +1 -1
- package/dist/chunks/{location-service-map-2d9nbxqm.js → state-e0xk049a.js} +3 -3
- package/dist/chunks/{location-service-map-87gmjfrb.js → state-e30cnwrb.js} +12 -12
- package/dist/chunks/{location-service-map-za9b4crp.js → state-e9efqbvz.js} +19 -19
- package/dist/chunks/{location-service-map-rn0w7wg1.js → state-e9embajv.js} +18 -18
- package/dist/chunks/{location-service-map-gfrnab9p.js → state-eb56k80z.js} +21 -21
- package/dist/chunks/{location-service-map-xrx499nq.js → state-ebxw5th9.js} +12 -12
- package/dist/chunks/{location-service-map-3rdts4z3.js → state-edm37t96.js} +6 -6
- package/dist/chunks/{location-service-map-53c7sqv0.js → state-eeqr2ezx.js} +8 -8
- package/dist/chunks/{location-service-map-zggd4859.js → state-eezvz286.js} +14 -14
- package/dist/chunks/{location-service-map-ccr7e384.js → state-egsmxz2f.js} +59 -59
- package/dist/chunks/{location-service-map-zkpv5a2h.js → state-ehhg2xcr.js} +14 -14
- package/dist/chunks/{location-service-map-08v7z8bj.js → state-ek8dn5z5.js} +4 -4
- package/dist/chunks/{location-service-map-1j92jnza.js → state-emskjcb9.js} +18 -18
- package/dist/chunks/{location-service-map-8qcty0p0.js → state-enbnk4v1.js} +10 -10
- package/dist/chunks/{location-service-map-81y1mrna.js → state-eqfxx9cj.js} +11 -11
- package/dist/chunks/{location-service-map-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
- package/dist/chunks/{location-service-map-q2r16wj1.js → state-evw2hqks.js} +6 -6
- package/dist/chunks/state-ezna1kdx.js +18 -0
- package/dist/chunks/{location-service-map-nnbdc6m0.js → state-f4svtajv.js} +1 -1
- package/dist/chunks/{location-service-map-2j8622j5.js → state-fc9qhm4k.js} +18 -18
- package/dist/chunks/{location-service-map-1wmegvp4.js → state-fes325b1.js} +16 -16
- package/dist/chunks/{location-service-map-fg9p65nk.js → state-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-service-map-f9r5vc5m.js → state-fgzhd4f7.js} +28 -28
- package/dist/chunks/{location-service-map-qp2996hh.js → state-fjwkbb1x.js} +5 -5
- package/dist/chunks/{location-service-map-cysnk3h2.js → state-fkkq8w99.js} +24 -24
- package/dist/chunks/{location-service-map-6sm4rdnh.js → state-fmers9j5.js} +9 -9
- package/dist/chunks/{location-service-map-wf30e74t.js → state-fp9bkp4s.js} +9 -9
- package/dist/chunks/{location-service-map-7npyf6h4.js → state-fwmxwjyq.js} +19 -19
- package/dist/chunks/{location-service-map-e4ecj54z.js → state-fzattvf9.js} +48 -48
- package/dist/chunks/{location-service-map-sp43w917.js → state-g3v06dfq.js} +10 -10
- package/dist/chunks/{location-service-map-g4txs7zc.js → state-g4txs7zc.js} +4 -4
- package/dist/chunks/{location-service-map-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
- package/dist/chunks/{location-service-map-ghrv1g9c.js → state-ghrv1g9c.js} +1 -1
- package/dist/chunks/{location-service-map-cz0wf6jj.js → state-gnrnwaff.js} +20 -20
- package/dist/chunks/{location-service-map-1rb6r5aa.js → state-gnwx4pxd.js} +11 -11
- package/dist/chunks/{location-service-map-s8hsdmb3.js → state-gnz7qpne.js} +24 -24
- package/dist/chunks/{location-service-map-hmxtna5r.js → state-gpr6mhvd.js} +61 -61
- package/dist/chunks/{location-service-map-szdxz5vf.js → state-gpz3zcsm.js} +17 -17
- package/dist/chunks/{location-service-map-wb2pmb95.js → state-h0scc2f8.js} +5 -5
- package/dist/chunks/{location-service-map-gyrf1n0c.js → state-h4vx8t2t.js} +6 -6
- package/dist/chunks/{location-service-map-34h2w1vr.js → state-hct41e8k.js} +14 -14
- package/dist/chunks/{location-service-map-r7yf6cnn.js → state-hd5gh2tq.js} +6 -6
- package/dist/chunks/{location-service-map-zm807etq.js → state-hd8w7nxr.js} +5 -5
- package/dist/chunks/{location-service-map-hgzwgvze.js → state-hgzwgvze.js} +2 -2
- package/dist/chunks/{location-service-map-hjrsm6gr.js → state-hk7vvr1w.js} +4 -4
- package/dist/chunks/{location-service-map-55khavy8.js → state-hmp5x989.js} +2 -2
- package/dist/chunks/{location-service-map-5tf8xt83.js → state-hs7q0dfv.js} +38 -38
- package/dist/chunks/{location-service-map-vnn2f0te.js → state-htvtdz3s.js} +35 -35
- package/dist/chunks/state-hww5z1ja.js +26 -0
- package/dist/chunks/{location-service-map-j376ae4e.js → state-j376ae4e.js} +1 -1
- package/dist/chunks/{location-service-map-k98yejja.js → state-j3f8hyeg.js} +7 -7
- package/dist/chunks/{location-service-map-qh7cn1xx.js → state-j408af94.js} +15 -15
- package/dist/chunks/{location-service-map-kpebncjk.js → state-j4vp8fq6.js} +11 -11
- package/dist/chunks/{location-service-map-88pq2e61.js → state-jh82ppf8.js} +34 -34
- package/dist/chunks/{location-service-map-jm70asfg.js → state-jm70asfg.js} +1 -1
- package/dist/chunks/{location-service-map-w9w8mt4n.js → state-jns4gqy7.js} +4 -4
- package/dist/chunks/{location-service-map-3r0557xv.js → state-jv28pj5x.js} +22 -22
- package/dist/chunks/{location-service-map-jxd6f16v.js → state-jxd6f16v.js} +2 -2
- package/dist/chunks/{location-service-map-vq33ceav.js → state-jy6nqey9.js} +8 -8
- package/dist/chunks/{location-service-map-pnk364rs.js → state-k5pkx81j.js} +3 -3
- package/dist/chunks/{location-service-map-y7z3rpdg.js → state-kkbwffhf.js} +32 -32
- package/dist/chunks/{location-service-map-5gg1twsx.js → state-kqtyt155.js} +4 -4
- package/dist/chunks/{location-service-map-4r9t3qge.js → state-kqzd954s.js} +25 -25
- package/dist/chunks/{location-service-map-q11srg2a.js → state-ksg1ge82.js} +5 -5
- package/dist/chunks/{location-service-map-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-service-map-2s9mae96.js → state-ktck1cjp.js} +6 -6
- package/dist/chunks/{location-service-map-kzczzf4v.js → state-kzczzf4v.js} +1 -1
- package/dist/chunks/{location-service-map-vcdn6g4d.js → state-kzv3grbw.js} +19 -19
- package/dist/chunks/{location-service-map-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{location-service-map-m4p4r8nc.js → state-m4p4r8nc.js} +1 -1
- package/dist/chunks/{location-service-map-m90tx7mw.js → state-m90tx7mw.js} +1 -1
- package/dist/chunks/{location-service-map-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-mb7mbhnz.js → state-mb7mbhnz.js} +3 -3
- package/dist/chunks/{location-service-map-jxsy4av0.js → state-mvmm73ke.js} +16 -16
- package/dist/chunks/{location-service-map-756txk4v.js → state-mx3cbz75.js} +14 -14
- package/dist/chunks/{location-service-map-dd3s6rjc.js → state-n1n71mfr.js} +9 -9
- package/dist/chunks/{location-service-map-azqdag7d.js → state-n320gsn2.js} +4 -4
- package/dist/chunks/{location-service-map-keja7rv1.js → state-narxvgx9.js} +17 -17
- package/dist/chunks/{location-service-map-1svrgee7.js → state-nd2e51yr.js} +4 -4
- package/dist/chunks/{location-service-map-fv8ygwk0.js → state-nd788t6c.js} +7 -7
- package/dist/chunks/{location-service-map-s615zsdr.js → state-ng5phben.js} +21 -21
- package/dist/chunks/{location-service-map-sfnbsatt.js → state-nmbew64m.js} +46 -46
- package/dist/chunks/{location-service-map-ts5j28rr.js → state-nxbnzhh1.js} +3 -3
- package/dist/chunks/{location-service-map-9ry2hy7r.js → state-p5memtjr.js} +18 -18
- package/dist/chunks/{location-service-map-xwc195j0.js → state-p6s20s7v.js} +10 -10
- package/dist/chunks/{location-service-map-1yq9hg58.js → state-p7vhpwh8.js} +5 -5
- package/dist/chunks/{location-service-map-t62dywgn.js → state-p94p4v4n.js} +4 -4
- package/dist/chunks/{location-service-map-amkza0xb.js → state-pffxc541.js} +16 -16
- package/dist/chunks/{location-service-map-g9ndtp1p.js → state-pgqxr0th.js} +4 -4
- package/dist/chunks/{location-service-map-6c2edk9s.js → state-phqefw3j.js} +5 -5
- package/dist/chunks/{location-service-map-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-8vehvdj9.js → state-pvh525kc.js} +24 -24
- package/dist/chunks/{location-service-map-682r9fgy.js → state-px6wqt9a.js} +10 -10
- package/dist/chunks/{location-service-map-48pqttyc.js → state-q3t09a1r.js} +16 -16
- package/dist/chunks/{location-service-map-15eetdmc.js → state-qj27vsmx.js} +31 -31
- package/dist/chunks/{location-service-map-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-service-map-0eyg86wb.js → state-qq8nxmq8.js} +12 -12
- package/dist/chunks/{location-service-map-psb1wzhv.js → state-qtf35215.js} +2 -2
- package/dist/chunks/{location-service-map-erj42gt4.js → state-qvhq5dtp.js} +17 -17
- package/dist/chunks/{location-service-map-p9bnptzw.js → state-qvscvz7g.js} +30 -30
- package/dist/chunks/{location-service-map-eam2557n.js → state-r0wrga32.js} +4 -4
- package/dist/chunks/{location-service-map-crhr9065.js → state-r1qh9q3s.js} +5 -5
- package/dist/chunks/{location-service-map-r8awm2rp.js → state-r3sws3fk.js} +15 -15
- package/dist/chunks/{location-service-map-86sgqceh.js → state-r4ey0dp4.js} +7 -7
- package/dist/chunks/{location-service-map-8ytffmf3.js → state-r5t319e4.js} +13 -13
- package/dist/chunks/{location-service-map-pk7zej4a.js → state-r932s1aq.js} +21 -21
- package/dist/chunks/{location-service-map-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-service-map-6ez86e1h.js → state-rf2e2mym.js} +28 -28
- package/dist/chunks/{location-service-map-rgc9cx3e.js → state-rgc9cx3e.js} +2 -2
- package/dist/chunks/{location-service-map-35bxypg0.js → state-rgceh5wf.js} +21 -21
- package/dist/chunks/{location-service-map-a6ahad7w.js → state-rgpq9amq.js} +7 -7
- package/dist/chunks/{location-service-map-8f92b62n.js → state-rgptf7vs.js} +23 -23
- package/dist/chunks/{location-service-map-8fbd74bt.js → state-rmeffpf9.js} +11 -11
- package/dist/chunks/{location-service-map-xjbsd7zy.js → state-rp6t20zc.js} +9 -9
- package/dist/chunks/{location-service-map-s1ba0vj0.js → state-s1ba0vj0.js} +2 -2
- package/dist/chunks/{location-service-map-gjnfhh6c.js → state-s1t4haaj.js} +28 -28
- package/dist/chunks/{location-service-map-mgmgpmkj.js → state-s2rw6bpt.js} +30 -30
- package/dist/chunks/{location-service-map-yb82w2a1.js → state-s3jahghs.js} +25 -25
- package/dist/chunks/{location-service-map-s47rahr7.js → state-s47rahr7.js} +1 -1
- package/dist/chunks/{location-service-map-mecckpwv.js → state-s81kawhg.js} +7 -7
- package/dist/chunks/{location-service-map-sbya78hr.js → state-sbya78hr.js} +1 -1
- package/dist/chunks/{location-service-map-90ct6wq4.js → state-sf9y72b7.js} +4 -4
- package/dist/chunks/{location-service-map-tqq8e0e3.js → state-skh0vv1h.js} +2 -2
- package/dist/chunks/{location-service-map-y8gddqc4.js → state-sktstmq7.js} +14 -14
- package/dist/chunks/{location-service-map-f985r6kr.js → state-smk8519c.js} +41 -41
- package/dist/chunks/{location-service-map-vvs86ggc.js → state-sq2460zj.js} +5 -5
- package/dist/chunks/{location-service-map-svcy3p9a.js → state-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-service-map-jeww68x2.js → state-t1cpgcqv.js} +11 -11
- package/dist/chunks/{location-service-map-93sjg7bj.js → state-t65b4mrh.js} +1 -1
- package/dist/chunks/{location-service-map-razzrrby.js → state-t69jc1z4.js} +5 -5
- package/dist/chunks/{location-service-map-78p2h4ex.js → state-t8erkws8.js} +5 -5
- package/dist/chunks/{location-service-map-tbpn7jtk.js → state-tbpn7jtk.js} +1 -1
- package/dist/chunks/{location-service-map-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-service-map-gxs71cxp.js → state-tg7s7b5t.js} +4 -4
- package/dist/chunks/{location-service-map-tbgsf036.js → state-tnqc7dvm.js} +181 -181
- package/dist/chunks/{location-service-map-z4nh6wq0.js → state-tqnb7fam.js} +17 -17
- package/dist/chunks/{location-service-map-ddvn7d3w.js → state-tqx9c315.js} +8 -8
- package/dist/chunks/{location-service-map-rfdg5dmq.js → state-tts1m72y.js} +11 -11
- package/dist/chunks/{location-service-map-0fvxehme.js → state-ttz31trp.js} +5 -5
- package/dist/chunks/{location-service-map-tvtps2q9.js → state-tvtps2q9.js} +1 -1
- package/dist/chunks/{location-service-map-ae45krb0.js → state-twn0g4c4.js} +14 -14
- package/dist/chunks/{location-service-map-twssxy5n.js → state-twssxy5n.js} +2 -2
- package/dist/chunks/{location-service-map-9fy2xype.js → state-tye10t2g.js} +15 -15
- package/dist/chunks/{location-service-map-geem5nsj.js → state-v159dwgd.js} +18 -18
- package/dist/chunks/{location-service-map-43wnwdt1.js → state-v291rggy.js} +33 -33
- package/dist/chunks/{location-service-map-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-service-map-vas4244f.js → state-v4qeya6z.js} +12 -12
- package/dist/chunks/{location-service-map-krvaf23f.js → state-v6atjk4t.js} +13 -13
- package/dist/chunks/{location-service-map-me99kem2.js → state-v8dnj16f.js} +14 -14
- package/dist/chunks/{location-service-map-j9ne08cm.js → state-v9edw38w.js} +8 -8
- package/dist/chunks/{location-service-map-ckwsx23f.js → state-v9wprw03.js} +45 -45
- package/dist/chunks/{location-service-map-p4x8wqyz.js → state-vf55m751.js} +18 -18
- package/dist/chunks/{location-service-map-vjf35v1f.js → state-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-service-map-r8brma3d.js → state-vjjnj6g4.js} +17 -17
- package/dist/chunks/{location-service-map-f6hn2jkf.js → state-vmwdw956.js} +21 -21
- package/dist/chunks/{location-service-map-zamccnb2.js → state-vngwnm7r.js} +32 -32
- package/dist/chunks/{location-service-map-e174pryb.js → state-vq1ppevj.js} +8 -8
- package/dist/chunks/{location-service-map-6h8vcvjm.js → state-vt4r9rmy.js} +9 -9
- package/dist/chunks/{location-service-map-vypd0943.js → state-vzbnr37h.js} +8 -8
- package/dist/chunks/{location-service-map-gz69975a.js → state-w0ee2s96.js} +5 -5
- package/dist/chunks/{location-service-map-jahcymnp.js → state-w26ydvkj.js} +15 -15
- package/dist/chunks/{location-service-map-40za9wsf.js → state-w2eysc6j.js} +9 -9
- package/dist/chunks/{location-service-map-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-xbkzc6k0.js → state-w65a8kme.js} +6 -6
- package/dist/chunks/{location-service-map-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-service-map-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-wegkxhrn.js → state-wegkxhrn.js} +2 -2
- package/dist/chunks/{location-service-map-zr1wmh0k.js → state-wevk3aaq.js} +17 -17
- package/dist/chunks/{location-service-map-1j8v57a6.js → state-wfyabtyf.js} +92 -92
- package/dist/chunks/{location-service-map-xn1x61je.js → state-wjcg0vp3.js} +3 -3
- package/dist/chunks/{location-service-map-0np7wz4e.js → state-wjz4g2jq.js} +4 -4
- package/dist/chunks/{location-service-map-3jsxda5g.js → state-wmkrkwan.js} +8 -8
- package/dist/chunks/{location-service-map-46h6vd96.js → state-wpjpmdpx.js} +8 -8
- package/dist/chunks/{location-service-map-fznmdakp.js → state-wr3re1en.js} +4 -4
- package/dist/chunks/{location-service-map-5hzkr2ah.js → state-wz7en73q.js} +25 -25
- package/dist/chunks/{location-service-map-eww617aq.js → state-wzf5k0ay.js} +11 -11
- package/dist/chunks/{location-service-map-gnkw4dwe.js → state-x150ncgg.js} +2 -2
- package/dist/chunks/{location-service-map-xacrkbdt.js → state-xacrkbdt.js} +1 -1
- package/dist/chunks/{location-service-map-dnfbfcty.js → state-xnvj0mm3.js} +3 -3
- package/dist/chunks/{location-service-map-swmqj1es.js → state-xvxdf7j2.js} +8 -8
- package/dist/chunks/{location-service-map-xjr6c8m4.js → state-xxschbft.js} +4 -4
- package/dist/chunks/{location-service-map-04b11r13.js → state-y5mtf85h.js} +56 -56
- package/dist/chunks/{location-service-map-4wpen61a.js → state-y7v4rbnm.js} +23 -23
- package/dist/chunks/{location-service-map-jmv1ywcg.js → state-y8extacy.js} +23 -23
- package/dist/chunks/{location-service-map-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-service-map-a5qrcs7y.js → state-yd4vfr0t.js} +11 -11
- package/dist/chunks/{location-service-map-t03vbevb.js → state-ydet8tgv.js} +30 -30
- package/dist/chunks/{location-service-map-va1p1kqg.js → state-yh9adn63.js} +20 -20
- package/dist/chunks/{location-service-map-vjhrddsw.js → state-ynzdgah7.js} +5 -5
- package/dist/chunks/{location-service-map-nxw1zf8h.js → state-yr4nm0tc.js} +4 -4
- package/dist/chunks/{location-service-map-yr705xyq.js → state-yr705xyq.js} +1 -1
- package/dist/chunks/{location-service-map-yvtc2x31.js → state-yvtc2x31.js} +1 -1
- package/dist/chunks/{location-service-map-p3wjgdtj.js → state-ywxpr5ha.js} +18 -18
- package/dist/chunks/{location-service-map-3ex1ss0s.js → state-yxb8rzbt.js} +9 -9
- package/dist/chunks/{location-service-map-fd4wsrfy.js → state-yzyzjx54.js} +9 -9
- package/dist/chunks/{location-service-map-z0wbgq7s.js → state-z0wbgq7s.js} +1 -1
- package/dist/chunks/{location-service-map-ze75qvmd.js → state-ze75qvmd.js} +3 -3
- package/dist/chunks/{location-service-map-k3mzzvn2.js → state-zhbst51w.js} +28 -28
- package/dist/chunks/{location-service-map-s2g09ryt.js → state-zqeyams7.js} +25 -25
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +149 -149
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +156 -156
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +247 -247
- package/dist/config/plugin/compaction.js +174 -174
- package/dist/config/plugin/compatibility.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +131 -131
- package/dist/config/plugin/location-watcher.js +133 -133
- package/dist/config/plugin/mcp.js +148 -148
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +133 -133
- package/dist/config/plugin/skill-file.js +150 -150
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +157 -157
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +448 -448
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +159 -159
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +165 -165
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +258 -258
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +134 -134
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +439 -439
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +186 -186
- package/dist/location-lifecycle.js +154 -154
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +436 -436
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +159 -159
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +188 -188
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +160 -160
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +249 -249
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +416 -416
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +150 -150
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +114 -114
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +111 -111
- package/dist/plugin/provider/claude-agent/session.js +111 -111
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +137 -137
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +162 -162
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +241 -241
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +153 -153
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +426 -426
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +260 -260
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +254 -254
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +268 -268
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +176 -176
- package/dist/session/context.js +206 -206
- package/dist/session/diff.js +101 -101
- 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 +272 -272
- package/dist/session/execution/subagent-report.js +144 -144
- package/dist/session/execution.js +173 -173
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +172 -172
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +175 -175
- package/dist/session/projector.js +147 -147
- package/dist/session/prompt.js +152 -152
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +143 -143
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +259 -259
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +154 -154
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +165 -165
- package/dist/session/runner/to-llm-message.js +141 -141
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +195 -195
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +151 -151
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +146 -146
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +174 -174
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +253 -253
- package/dist/session/usage.js +1 -1
- package/dist/session.js +249 -249
- package/dist/shared-cache.js +5 -5
- 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 +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +153 -153
- package/dist/skill.js +162 -162
- package/dist/snapshot.js +102 -102
- 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 +187 -187
- package/dist/tool/plugin/artifact.js +244 -244
- package/dist/tool/plugin/edit.js +171 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +175 -175
- package/dist/tool/plugin/grep.js +174 -174
- package/dist/tool/plugin/image-generate.js +255 -255
- package/dist/tool/plugin/mcp-events.js +166 -166
- package/dist/tool/plugin/mcp-resource.js +170 -170
- package/dist/tool/plugin/opencode.js +167 -167
- package/dist/tool/plugin/patch.js +172 -172
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +176 -176
- package/dist/tool/plugin/schedule.js +260 -260
- package/dist/tool/plugin/shell.js +251 -251
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +249 -249
- package/dist/tool/plugin/todo.js +157 -157
- package/dist/tool/plugin/webfetch.js +161 -161
- package/dist/tool/plugin/websearch.js +157 -157
- package/dist/tool/plugin/write.js +172 -172
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +166 -166
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- 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/variant.js +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/location-service-map-73rcrfx8.js +0 -587
- package/dist/chunks/location-service-map-7yv5xa0k.js +0 -18
- package/dist/chunks/location-service-map-gbt004k4.js +0 -35
- package/dist/chunks/location-service-map-gkb3m8fg.js +0 -16
- package/dist/chunks/location-service-map-hqbjgxtf.js +0 -26
- package/dist/chunks/location-service-map-k908hcrc.js +0 -273
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kah00gy.js → state-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-5w3e23ze.js → state-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-service-map-6agm2x70.js → state-6agm2x70.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-7rvsyqjv.js → state-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-beh6qq61.js → state-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cqv5kn06.js → state-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-ean2d8b5.js → state-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jwr30sdr.js → state-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-nh4v3znn.js → state-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-p71gwv9c.js → state-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-syrav9an.js → state-syrav9an.js} +0 -0
- /package/dist/chunks/{location-service-map-t03h4f5z.js → state-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-service-map-ty7weeps.js → state-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-service-map-v2dnd5dt.js → state-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{location-service-map-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-service-map-vtarvj67.js → state-vtarvj67.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x4th4bpe.js → state-x4th4bpe.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → state-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-service-map-zxpyjp51.js → state-zxpyjp51.js} +0 -0
- /package/dist/chunks/{location-service-map-zz5vv3aq.js → state-zz5vv3aq.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeFiles2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-rgc9cx3e.js";
|
|
4
4
|
import {
|
|
5
5
|
makeLocalDriver2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-cwrgdav8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service90,
|
|
9
|
+
node92
|
|
10
|
+
} from "./state-3efg5d53.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service65,
|
|
13
|
+
node67
|
|
14
|
+
} from "./state-zhbst51w.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/environment/environment.ts
|
|
20
20
|
var exports_environment3 = {};
|
|
21
21
|
__export(exports_environment3, {
|
|
22
22
|
EnvironmentService: () => exports_environment3,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service64,
|
|
24
|
+
node: () => node66
|
|
25
25
|
});
|
|
26
26
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
27
27
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
|
|
30
|
-
class
|
|
30
|
+
class Service64 extends Context.Service()("@opencode/Environment") {
|
|
31
31
|
}
|
|
32
|
-
var layer = Layer.effect(
|
|
32
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
33
33
|
const spawner = yield* ChildProcessSpawner;
|
|
34
|
-
const location = yield*
|
|
35
|
-
const workspace = yield*
|
|
34
|
+
const location = yield* Service90;
|
|
35
|
+
const workspace = yield* Service65;
|
|
36
36
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
37
|
-
return
|
|
37
|
+
return Service64.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
40
|
-
service:
|
|
39
|
+
var node66 = makeLocationNode({
|
|
40
|
+
service: Service64,
|
|
41
41
|
layer,
|
|
42
|
-
deps: [CrossSpawnSpawner.node,
|
|
42
|
+
deps: [CrossSpawnSpawner.node, node92, node67]
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
export {
|
|
45
|
+
export { Service64, node66, exports_environment3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-yr4nm0tc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Ref5,
|
|
7
|
+
Service90,
|
|
8
|
+
node92
|
|
9
|
+
} from "./state-3efg5d53.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service64,
|
|
12
|
+
node66
|
|
13
|
+
} from "./state-awc294qn.js";
|
|
14
14
|
import {
|
|
15
15
|
cleanup3
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-tczq8hjw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service50,
|
|
19
19
|
args2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
node52
|
|
21
|
+
} from "./state-8c2cgf6e.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
23
|
+
Service49,
|
|
24
|
+
node51,
|
|
25
|
+
available3
|
|
26
|
+
} from "./state-ydet8tgv.js";
|
|
27
27
|
import {
|
|
28
28
|
Service76,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
node78
|
|
30
|
+
} from "./state-r0wrga32.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service39,
|
|
33
|
+
node42
|
|
34
|
+
} from "./state-vq1ppevj.js";
|
|
35
35
|
import {
|
|
36
36
|
SessionSchema2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./state-qtf35215.js";
|
|
38
38
|
import {
|
|
39
39
|
latest2,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service79,
|
|
41
|
+
node81
|
|
42
|
+
} from "./state-6ey5hxvm.js";
|
|
43
43
|
import {
|
|
44
44
|
MAX_LINES2,
|
|
45
45
|
MAX_BYTES2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./state-gnwx4pxd.js";
|
|
47
47
|
import {
|
|
48
48
|
__export
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./state-9rqn6x4v.js";
|
|
50
50
|
|
|
51
51
|
// src/shell.ts
|
|
52
52
|
var exports_shell4 = {};
|
|
53
53
|
__export(exports_shell4, {
|
|
54
54
|
DIRECTORY: () => DIRECTORY2,
|
|
55
55
|
Daemon: () => Daemon2,
|
|
56
|
-
NotFoundError: () =>
|
|
56
|
+
NotFoundError: () => NotFoundError6,
|
|
57
57
|
RETENTION: () => RETENTION2,
|
|
58
|
-
Service: () =>
|
|
58
|
+
Service: () => Service38,
|
|
59
59
|
Shell: () => exports_shell4,
|
|
60
60
|
ToolCall: () => ToolCall2,
|
|
61
61
|
cleanup: () => cleanup2,
|
|
62
62
|
daemonNode: () => daemonNode2,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node41
|
|
64
64
|
});
|
|
65
65
|
import path from "path";
|
|
66
66
|
import {
|
|
@@ -85,7 +85,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
85
85
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
86
86
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
87
87
|
import { Global } from "@opencode/util/global";
|
|
88
|
-
class
|
|
88
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
89
89
|
id: Shell.ID
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
@@ -114,12 +114,12 @@ var Stored = Schema.Struct({
|
|
|
114
114
|
});
|
|
115
115
|
var decodeStored = Schema.decodeUnknownOption(Stored);
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service38 extends Context.Service()("@opencode/Shell") {
|
|
118
118
|
}
|
|
119
119
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
120
120
|
const fs = yield* FSUtil.Service;
|
|
121
121
|
const global = yield* Global.Service;
|
|
122
|
-
const pty = yield*
|
|
122
|
+
const pty = yield* Service49;
|
|
123
123
|
const directory = path.join(global.data, DIRECTORY2);
|
|
124
124
|
const projects = yield* fs.readDirectoryEntries(directory).pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "Directory")), Effect.orElseSucceed(() => []));
|
|
125
125
|
const files = yield* Effect.forEach(projects, (project) => fs.readDirectoryEntries(path.join(directory, project.name)).pipe(Effect.map((entries) => entries.flatMap((entry) => entry.type === "File" && /^sh_[0-9a-f]{12}.*\.out$/.test(entry.name) ? [path.join(directory, project.name, entry.name)] : [])), Effect.orElseSucceed(() => [])), { concurrency: 8 });
|
|
@@ -139,14 +139,14 @@ var cleanupLayer = Layer.effectDiscard(cleanup2().pipe(Effect.repeat(Schedule.sp
|
|
|
139
139
|
var cleanupNode = makeGlobalNode({
|
|
140
140
|
name: "shell-output-cleanup",
|
|
141
141
|
layer: cleanupLayer,
|
|
142
|
-
deps: [FSUtil.node, Global.node,
|
|
142
|
+
deps: [FSUtil.node, Global.node, node51]
|
|
143
143
|
});
|
|
144
144
|
|
|
145
145
|
class Daemon2 extends Context.Service()("@opencode/Shell/Daemon") {
|
|
146
146
|
}
|
|
147
147
|
var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
148
148
|
const bus = yield* Service93;
|
|
149
|
-
const pty = yield*
|
|
149
|
+
const pty = yield* Service49;
|
|
150
150
|
const scope = yield* Effect.scope;
|
|
151
151
|
const context = yield* Effect.context();
|
|
152
152
|
const global = yield* Global.Service;
|
|
@@ -156,7 +156,7 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
156
156
|
const place = (location) => {
|
|
157
157
|
const runs = new Map;
|
|
158
158
|
const exitOrder = [];
|
|
159
|
-
const ref =
|
|
159
|
+
const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
160
160
|
const outputDir = path.join(global.data, DIRECTORY2, location.project.id);
|
|
161
161
|
const persisted = (run) => ({
|
|
162
162
|
id: run.info.id,
|
|
@@ -188,7 +188,7 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
188
188
|
yield* Fiber.interrupt(run.wait);
|
|
189
189
|
yield* pty.terminatePipe(run.process).pipe(Effect.ignore);
|
|
190
190
|
yield* Effect.promise(() => unlink(run.info.file).catch(() => {}));
|
|
191
|
-
yield* Deferred.fail(run.done, new
|
|
191
|
+
yield* Deferred.fail(run.done, new NotFoundError6({ id }));
|
|
192
192
|
if (run.info.status === "running")
|
|
193
193
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" }, { location: ref });
|
|
194
194
|
yield* bus.publish(Shell.Event.Deleted, { id }, { location: ref });
|
|
@@ -381,23 +381,23 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
381
381
|
var daemonNode2 = makeGlobalNode({
|
|
382
382
|
service: Daemon2,
|
|
383
383
|
layer: daemonLayer,
|
|
384
|
-
deps: [node95, Global.node,
|
|
384
|
+
deps: [node95, Global.node, node51]
|
|
385
385
|
});
|
|
386
|
-
var layer = () => Layer.effect(
|
|
386
|
+
var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
387
387
|
const bus = yield* Service93;
|
|
388
|
-
const location = yield*
|
|
388
|
+
const location = yield* Service90;
|
|
389
389
|
const global = yield* Global.Service;
|
|
390
|
-
const shell = yield*
|
|
391
|
-
const environment = yield*
|
|
390
|
+
const shell = yield* Service50;
|
|
391
|
+
const environment = yield* Service64;
|
|
392
392
|
const hooks = yield* Service76;
|
|
393
|
-
const environments = yield*
|
|
394
|
-
const config = yield*
|
|
393
|
+
const environments = yield* Service39;
|
|
394
|
+
const config = yield* Service79;
|
|
395
395
|
const daemon = yield* Daemon2;
|
|
396
396
|
const context = yield* Effect.context();
|
|
397
397
|
const runFork = Effect.runForkWith(context);
|
|
398
398
|
const commands = new Map;
|
|
399
399
|
const exitOrder = [];
|
|
400
|
-
const runs = location.workspaceID === undefined &&
|
|
400
|
+
const runs = location.workspaceID === undefined && available3 ? yield* daemon.at(location) : undefined;
|
|
401
401
|
const outputDir = path.join(global.data, DIRECTORY2, location.project.id);
|
|
402
402
|
const { mkdir, unlink, stat } = yield* Effect.promise(() => import("fs/promises"));
|
|
403
403
|
const { createWriteStream, createReadStream } = yield* Effect.promise(() => import("fs"));
|
|
@@ -414,7 +414,7 @@ var layer = () => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
414
414
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
415
415
|
const command = commands.get(id) ?? runs?.get(id);
|
|
416
416
|
if (!command)
|
|
417
|
-
return yield* new
|
|
417
|
+
return yield* new NotFoundError6({ id });
|
|
418
418
|
return command;
|
|
419
419
|
});
|
|
420
420
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -427,7 +427,7 @@ var layer = () => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
427
427
|
commands.delete(id);
|
|
428
428
|
if (command.timeoutFiber)
|
|
429
429
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
430
|
-
yield* Deferred.fail(command.done, new
|
|
430
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
431
431
|
yield* Effect.promise(() => unlink(command.info.file).catch(() => {}));
|
|
432
432
|
if (command.info.status === "running")
|
|
433
433
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -757,7 +757,7 @@ var layer = () => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
757
757
|
const command = yield* Deferred.await(ready);
|
|
758
758
|
return command.info;
|
|
759
759
|
});
|
|
760
|
-
return
|
|
760
|
+
return Service38.of({
|
|
761
761
|
create,
|
|
762
762
|
list,
|
|
763
763
|
get,
|
|
@@ -799,21 +799,21 @@ function formatSize(bytes) {
|
|
|
799
799
|
const kb = bytes / 1024;
|
|
800
800
|
return kb > 1024 ? `${(kb / 1024).toFixed(1)} MB` : `${Math.round(kb)} KB`;
|
|
801
801
|
}
|
|
802
|
-
var
|
|
803
|
-
service:
|
|
802
|
+
var node41 = makeLocationNode({
|
|
803
|
+
service: Service38,
|
|
804
804
|
layer: layer(),
|
|
805
805
|
deps: [
|
|
806
806
|
node95,
|
|
807
|
-
|
|
807
|
+
node92,
|
|
808
808
|
Global.node,
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
node77,
|
|
812
|
-
node73,
|
|
809
|
+
node52,
|
|
810
|
+
node66,
|
|
813
811
|
node78,
|
|
812
|
+
node42,
|
|
813
|
+
node81,
|
|
814
814
|
daemonNode2,
|
|
815
815
|
cleanupNode
|
|
816
816
|
]
|
|
817
817
|
});
|
|
818
818
|
|
|
819
|
-
export {
|
|
819
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, ToolCall2, Service38, cleanup2, Daemon2, daemonNode2, node41, exports_shell4 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/language-model/usage.ts
|
|
6
6
|
var exports_usage = {};
|
|
7
7
|
__export(exports_usage, {
|
|
8
8
|
ClaudeUsage: () => exports_usage,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make13
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make13() {
|
|
12
12
|
const messages = new Map;
|
|
13
13
|
let last;
|
|
14
14
|
function update(id, usage) {
|
|
@@ -52,4 +52,4 @@ function make8() {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { make13, exports_usage };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./state-smk8519c.js";
|
|
4
4
|
import {
|
|
5
5
|
definition2,
|
|
6
6
|
normalizedName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-7rvsyqjv.js";
|
|
8
8
|
import {
|
|
9
9
|
toSessionError2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-5njhb98r.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service68
|
|
13
|
+
} from "./state-5zcyx99g.js";
|
|
14
14
|
import {
|
|
15
15
|
extension2,
|
|
16
16
|
display2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-nd788t6c.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/codemode/tool.ts
|
|
23
23
|
var exports_tool2 = {};
|
|
@@ -105,7 +105,7 @@ var create3 = (inventory, executeTool, permission) => {
|
|
|
105
105
|
return resultValue(executed);
|
|
106
106
|
}),
|
|
107
107
|
hooks: progressHooks(record)
|
|
108
|
-
}), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(
|
|
108
|
+
}), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service68, context), Effect.provideService(Service73, permission));
|
|
109
109
|
const toolCalls = yield* Ref.get(calls);
|
|
110
110
|
const collected = (yield* Ref.get(files)).toSorted((left, right) => left.index - right.index).flatMap((item) => item.files);
|
|
111
111
|
const output = formatResult(result);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-7rvsyqjv.js";
|
|
4
4
|
import {
|
|
5
5
|
NotFound3,
|
|
6
6
|
WrongKind2,
|
|
7
7
|
Failed2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-svcy3p9a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service90
|
|
11
|
+
} from "./state-3efg5d53.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./state-awc294qn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service66
|
|
17
|
+
} from "./state-r3sws3fk.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service63,
|
|
20
20
|
readText2,
|
|
21
21
|
syncTextBom2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-7hm90z9h.js";
|
|
23
23
|
import {
|
|
24
24
|
invocation2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service73
|
|
26
|
+
} from "./state-smk8519c.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service62,
|
|
29
29
|
resolvePath2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-y8extacy.js";
|
|
31
31
|
import {
|
|
32
32
|
fileDiff2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-6prwharc.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./state-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/plugin/patch.ts
|
|
39
39
|
var exports_patch = {};
|
|
40
40
|
__export(exports_patch, {
|
|
41
41
|
Applied: () => Applied2,
|
|
42
|
-
Input: () =>
|
|
43
|
-
Output: () =>
|
|
42
|
+
Input: () => Input11,
|
|
43
|
+
Output: () => Output9,
|
|
44
44
|
PatchTool: () => exports_patch,
|
|
45
|
-
Plugin: () =>
|
|
46
|
-
name: () =>
|
|
47
|
-
toModelContent: () =>
|
|
45
|
+
Plugin: () => Plugin16,
|
|
46
|
+
name: () => name11,
|
|
47
|
+
toModelContent: () => toModelContent5
|
|
48
48
|
});
|
|
49
49
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
50
50
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -111,8 +111,8 @@ eof_line: "*** End of File" LF
|
|
|
111
111
|
`;
|
|
112
112
|
|
|
113
113
|
// src/tool/plugin/patch.ts
|
|
114
|
-
var
|
|
115
|
-
var
|
|
114
|
+
var name11 = "patch";
|
|
115
|
+
var Input11 = Schema.Struct({
|
|
116
116
|
patchText: Schema.String.annotate({
|
|
117
117
|
description: "The full patch text describing add, update, and delete operations"
|
|
118
118
|
})
|
|
@@ -122,31 +122,31 @@ var Applied2 = Schema.Struct({
|
|
|
122
122
|
resource: Schema.String,
|
|
123
123
|
target: Schema.String
|
|
124
124
|
});
|
|
125
|
-
var
|
|
125
|
+
var Output9 = Schema.Struct({
|
|
126
126
|
applied: Schema.Array(Applied2),
|
|
127
127
|
files: Schema.Array(FileDiff.Info)
|
|
128
128
|
});
|
|
129
|
-
var
|
|
129
|
+
var toModelContent5 = (output) => [
|
|
130
130
|
"Success. Updated the following files:",
|
|
131
131
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
132
132
|
].join(`
|
|
133
133
|
`);
|
|
134
|
-
var
|
|
134
|
+
var Plugin16 = {
|
|
135
135
|
id: "opencode.tool.patch",
|
|
136
136
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
137
|
-
const environment = yield*
|
|
138
|
-
const access = yield*
|
|
139
|
-
const fileMutation = yield*
|
|
140
|
-
const formatter = yield*
|
|
141
|
-
const location = yield*
|
|
142
|
-
const permission = yield*
|
|
137
|
+
const environment = yield* Service64;
|
|
138
|
+
const access = yield* Service62;
|
|
139
|
+
const fileMutation = yield* Service63;
|
|
140
|
+
const formatter = yield* Service66;
|
|
141
|
+
const location = yield* Service90;
|
|
142
|
+
const permission = yield* Service73;
|
|
143
143
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
144
|
-
name:
|
|
144
|
+
name: name11,
|
|
145
145
|
options: { codemode: false, permission: "edit" },
|
|
146
146
|
description: patch_default,
|
|
147
|
-
input:
|
|
147
|
+
input: Input11,
|
|
148
148
|
freeform: { type: "lark", grammar: patch_grammar_default },
|
|
149
|
-
output:
|
|
149
|
+
output: Output9,
|
|
150
150
|
execute: (input, context) => {
|
|
151
151
|
const applied = [];
|
|
152
152
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -288,7 +288,7 @@ var Plugin38 = {
|
|
|
288
288
|
return { applied, files };
|
|
289
289
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
290
290
|
output,
|
|
291
|
-
content:
|
|
291
|
+
content: toModelContent5(output),
|
|
292
292
|
metadata: { files: output.files }
|
|
293
293
|
})), Effect.mapError(toolFailure2("Unable to apply patch")));
|
|
294
294
|
}
|
|
@@ -348,4 +348,4 @@ function trimDiff(diff) {
|
|
|
348
348
|
`);
|
|
349
349
|
}
|
|
350
350
|
|
|
351
|
-
export {
|
|
351
|
+
export { name11, Input11, Applied2, Output9, toModelContent5, Plugin16, exports_patch };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
scan4,
|
|
3
3
|
scanPowerShell2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-8zv0xmg5.js";
|
|
5
5
|
import {
|
|
6
6
|
name17,
|
|
7
7
|
ps2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-8c2cgf6e.js";
|
|
9
9
|
import {
|
|
10
10
|
match3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-1aqsckx4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/shell/parse.ts
|
|
17
17
|
var exports_parse = {};
|