@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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service41,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service41 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service41, exports_runner };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9bjnw33a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID20,
|
|
6
|
+
Service89
|
|
7
|
+
} from "./state-3ck5pzsd.js";
|
|
8
8
|
import {
|
|
9
9
|
key3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-n320gsn2.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-fgzhd4f7.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-x4th4bpe.js";
|
|
17
17
|
import {
|
|
18
18
|
ID17,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service86
|
|
20
|
+
} from "./state-97d0bxh6.js";
|
|
21
21
|
import {
|
|
22
22
|
ID16
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-3djagcat.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service56,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-9fgy5dtv.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./state-109ycj4d.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./state-85wm61p0.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./state-hd5gh2tq.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,7 +70,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
70
70
|
}));
|
|
71
71
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
72
72
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
73
|
-
function
|
|
73
|
+
function make21(endpoints = {
|
|
74
74
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
75
75
|
management: "https://management.azure.com"
|
|
76
76
|
}) {
|
|
@@ -79,9 +79,9 @@ function make4(endpoints = {
|
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
80
|
const configured = yield* configuredSettings2(ID17.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service89;
|
|
83
|
+
const providers = yield* Service86;
|
|
84
|
+
const cache = yield* Service56;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
87
87
|
const resourceIDs = new Map;
|
|
@@ -150,7 +150,7 @@ function make4(endpoints = {
|
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
152
|
const connection = yield* ctx.integration.connection.active(ID17.azure);
|
|
153
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
153
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
156
156
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -328,7 +328,7 @@ function make4(endpoints = {
|
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make21();
|
|
332
332
|
function deploymentsKey(connection, credential, url) {
|
|
333
333
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
334
334
|
return `azure:${key3(connection)}${access}:${url}`;
|
|
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
394
394
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { make21, AzurePlugin2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
load3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-j376ae4e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/fork.ts
|
|
9
9
|
var exports_fork = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-s47rahr7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./state-awc294qn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/mcp/connection.ts
|
|
12
12
|
var exports_connection = {};
|
|
13
13
|
__export(exports_connection, {
|
|
14
14
|
McpConnection: () => exports_connection,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make26
|
|
16
16
|
});
|
|
17
17
|
import { Cause, Effect, Exit, Scope } from "effect";
|
|
18
18
|
import { FetchHttpClient } from "effect/http";
|
|
19
19
|
var endpointLoads = makeUnsafe2();
|
|
20
|
-
function
|
|
20
|
+
function make26(input) {
|
|
21
21
|
const state = {};
|
|
22
22
|
const whenLive = (client) => (effect) => input.callbacks(Effect.suspend(() => state.client === client ? effect : Effect.void).pipe(input.lock, Effect.ignore));
|
|
23
23
|
const refreshTools = (client) => client.tools().pipe(Effect.map((tools) => {
|
|
@@ -60,7 +60,7 @@ function make25(input) {
|
|
|
60
60
|
clientInfo: input.clientInfo,
|
|
61
61
|
roots: !input.shared,
|
|
62
62
|
events: input.mcpEvents
|
|
63
|
-
}).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(
|
|
63
|
+
}).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(Service64, input.environment), Effect.provideService(FetchHttpClient.Fetch, input.fetch), Scope.provide(scope), (effect) => config.type === "remote" && !input.shared ? endpointLoads.withLock(config.url)(effect) : effect, Effect.exit);
|
|
64
64
|
if (Exit.isSuccess(result) && !result.value.tools) {
|
|
65
65
|
yield* Scope.close(scope, Exit.void);
|
|
66
66
|
state.scope = undefined;
|
|
@@ -113,4 +113,4 @@ function make25(input) {
|
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
export {
|
|
116
|
+
export { make26, exports_connection };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SEARCH_TIMEOUT_MS2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-35tpvsnd.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/search.ts
|
|
12
12
|
var exports_search = {};
|
|
@@ -1,93 +1,93 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-6gjb87wc.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-jv28pj5x.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatGPTPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-kzv3grbw.js";
|
|
13
13
|
import {
|
|
14
14
|
ClaudeAgentPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-chnap7qb.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareAIGatewayPlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-0hhk97e6.js";
|
|
19
19
|
import {
|
|
20
20
|
CloudflareWorkersAIPlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-427haqbe.js";
|
|
22
22
|
import {
|
|
23
23
|
DatabricksPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-beh6qq61.js";
|
|
25
25
|
import {
|
|
26
26
|
DigitalOceanPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-fes325b1.js";
|
|
28
28
|
import {
|
|
29
29
|
GithubCopilotPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-1cgctss4.js";
|
|
31
31
|
import {
|
|
32
32
|
GitLabPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-vjjnj6g4.js";
|
|
34
34
|
import {
|
|
35
35
|
GoogleVertexPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./state-enbnk4v1.js";
|
|
37
37
|
import {
|
|
38
38
|
KiloPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./state-qg3g05ea.js";
|
|
40
40
|
import {
|
|
41
41
|
LLMGatewayPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./state-phqefw3j.js";
|
|
43
43
|
import {
|
|
44
44
|
LMStudioPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./state-nd2e51yr.js";
|
|
46
46
|
import {
|
|
47
47
|
ModalPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./state-mvmm73ke.js";
|
|
49
49
|
import {
|
|
50
50
|
NeonPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./state-ve7vex1e.js";
|
|
52
52
|
import {
|
|
53
53
|
NvidiaPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./state-24dcb14g.js";
|
|
55
55
|
import {
|
|
56
56
|
OllamaPlugin2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./state-ary6xecs.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
59
|
+
OpenAIPlugin3
|
|
60
|
+
} from "./state-9q00jv0h.js";
|
|
61
61
|
import {
|
|
62
62
|
OpenAIContextCapsPlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./state-w65a8kme.js";
|
|
64
64
|
import {
|
|
65
65
|
SnowflakeCortexPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./state-sktstmq7.js";
|
|
67
67
|
import {
|
|
68
68
|
OpencodePlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./state-hs7q0dfv.js";
|
|
70
70
|
import {
|
|
71
71
|
OpenRouterPlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./state-t65b4mrh.js";
|
|
73
73
|
import {
|
|
74
74
|
PoePlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./state-d1g7k0n1.js";
|
|
76
76
|
import {
|
|
77
77
|
PromptCacheKeyPlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./state-hcxmzztb.js";
|
|
79
79
|
import {
|
|
80
80
|
SapAICorePlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./state-hmp5x989.js";
|
|
82
82
|
import {
|
|
83
83
|
VLLMPlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./state-hk7vvr1w.js";
|
|
85
85
|
import {
|
|
86
86
|
XAIPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./state-cqwm3s9e.js";
|
|
88
88
|
import {
|
|
89
89
|
ZenmuxPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./state-jjkms2e6.js";
|
|
91
91
|
|
|
92
92
|
// src/plugin/provider.ts
|
|
93
93
|
var ProviderPlugins2 = [
|
|
@@ -111,7 +111,7 @@ var ProviderPlugins2 = [
|
|
|
111
111
|
OllamaPlugin2,
|
|
112
112
|
OpencodePlugin2,
|
|
113
113
|
SnowflakeCortexPlugin2,
|
|
114
|
-
|
|
114
|
+
OpenAIPlugin3,
|
|
115
115
|
OpenAIContextCapsPlugin2,
|
|
116
116
|
OpenRouterPlugin2,
|
|
117
117
|
PoePlugin2,
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-dt77769w.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-m90tx7mw.js";
|
|
10
10
|
import {
|
|
11
11
|
compatibility2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-3djagcat.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/v1/config/migrate.ts
|
|
18
18
|
var exports_migrate = {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID18,
|
|
7
|
+
Service87,
|
|
8
|
+
node89
|
|
9
|
+
} from "./state-fgzhd4f7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
17
|
Info: () => Info3,
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
18
|
+
Service: () => Service14,
|
|
19
|
+
UnavailableError: () => UnavailableError3,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer11,
|
|
22
|
+
node: () => node16
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -31,21 +31,21 @@ import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
var Info3 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service14 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer11 = Layer.effect(Service14, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service87;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID18.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer10 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError3({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer10 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service14.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node16 = makeLocationNode({
|
|
72
|
+
service: Service14,
|
|
73
|
+
layer: layer11,
|
|
74
|
+
deps: [node89, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export { Info3,
|
|
133
|
+
export { Info3, UnavailableError3, Service14, layer11, node16, exports_usage_limits };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
managesTransactionsNatively2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-f4svtajv.js";
|
|
4
4
|
import {
|
|
5
5
|
_20260805200742_import_legacy_credentials_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-zz5vv3aq.js";
|
|
7
7
|
import {
|
|
8
8
|
migrations2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-egsmxz2f.js";
|
|
10
10
|
import {
|
|
11
11
|
schema_gen_default
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-6agm2x70.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/database/migration.ts
|
|
18
18
|
var exports_migration = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-2fc7eemy.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make5,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make21 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make5, exports_retry };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9bjnw33a.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service89
|
|
7
|
+
} from "./state-3ck5pzsd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID18,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-fgzhd4f7.js";
|
|
12
12
|
import {
|
|
13
13
|
mergeOverlay2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-m90tx7mw.js";
|
|
15
15
|
import {
|
|
16
16
|
ID17
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-97d0bxh6.js";
|
|
18
18
|
import {
|
|
19
19
|
ID16,
|
|
20
20
|
VariantID2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Info24
|
|
22
|
+
} from "./state-3djagcat.js";
|
|
23
23
|
import {
|
|
24
24
|
success2,
|
|
25
25
|
error2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-yb20nhc3.js";
|
|
27
27
|
import {
|
|
28
28
|
submit2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-z0wbgq7s.js";
|
|
30
30
|
import {
|
|
31
31
|
get5
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./state-3nnrz6f6.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./state-109ycj4d.js";
|
|
36
36
|
import {
|
|
37
37
|
onSwitch2,
|
|
38
38
|
reloadIfChanged2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./state-85wm61p0.js";
|
|
40
40
|
import {
|
|
41
41
|
activeCredential2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./state-hd5gh2tq.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/provider/chatgpt.ts
|
|
45
45
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -52,7 +52,7 @@ var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
|
52
52
|
var resource = "https://api.openai.com/v1";
|
|
53
53
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
54
54
|
var providerID = ID17.openai;
|
|
55
|
-
var integrationID =
|
|
55
|
+
var integrationID = ID18.make("openai");
|
|
56
56
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
57
57
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
58
58
|
var fallbackModels = new Set([
|
|
@@ -195,7 +195,7 @@ function listen(server) {
|
|
|
195
195
|
var ChatGPTPlugin2 = define({
|
|
196
196
|
id: "opencode.provider.chatgpt",
|
|
197
197
|
effect: Effect.fn(function* (ctx) {
|
|
198
|
-
const credentials = yield*
|
|
198
|
+
const credentials = yield* Service89;
|
|
199
199
|
const loading = Semaphore.makeUnsafe(1);
|
|
200
200
|
let chatgpt;
|
|
201
201
|
let source;
|
|
@@ -209,7 +209,7 @@ var ChatGPTPlugin2 = define({
|
|
|
209
209
|
yield* ctx.integration.transform((editor) => {
|
|
210
210
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
211
211
|
});
|
|
212
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
212
|
+
yield* Effect.forEach(yield* credentials.list(ID18.make("openai")), (entry) => {
|
|
213
213
|
const value = entry.value;
|
|
214
214
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
215
215
|
return Effect.void;
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(ID16.make(model.slug))).map((model) => deriveModel(model,
|
|
341
|
+
...remote.filter((model) => !known.has(ID16.make(model.slug))).map((model) => deriveModel(model, Info24.default(ID17.openai, ID16.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|