@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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-narxvgx9.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin46
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin46 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin15 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID14.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID14.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID14.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID14.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID14.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin15 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin46, exports_agent2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make32,
|
|
14
|
+
node: () => node68,
|
|
15
15
|
registry: () => registry3,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make32 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry3(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node68 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make32, RegistryService2, registry3, registryNode2, node68, exports_driver };
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./state-awc294qn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./state-v6atjk4t.js";
|
|
13
13
|
import {
|
|
14
14
|
enabled3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-pvh525kc.js";
|
|
16
16
|
import {
|
|
17
17
|
invocation2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service73
|
|
19
|
+
} from "./state-smk8519c.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service62,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-y8extacy.js";
|
|
24
24
|
import {
|
|
25
25
|
toolFailure2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-7rvsyqjv.js";
|
|
27
27
|
import {
|
|
28
28
|
output2,
|
|
29
29
|
interrupted2,
|
|
30
30
|
notice2,
|
|
31
31
|
metadata2,
|
|
32
32
|
notification2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-8kjyvwy5.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
Service50,
|
|
36
36
|
name17
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./state-8c2cgf6e.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
39
|
+
NotFoundError6,
|
|
40
|
+
Service38
|
|
41
|
+
} from "./state-aypj46ae.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
} from "./
|
|
43
|
+
Service22
|
|
44
|
+
} from "./state-wfyabtyf.js";
|
|
45
45
|
import {
|
|
46
46
|
scan3
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./state-cbce2z70.js";
|
|
48
48
|
import {
|
|
49
49
|
__export
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./state-9rqn6x4v.js";
|
|
51
51
|
|
|
52
52
|
// src/tool/plugin/shell.ts
|
|
53
|
-
var
|
|
54
|
-
__export(
|
|
53
|
+
var exports_shell2 = {};
|
|
54
|
+
__export(exports_shell2, {
|
|
55
55
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
56
|
-
Input: () =>
|
|
57
|
-
Plugin: () =>
|
|
58
|
-
ShellTool: () =>
|
|
56
|
+
Input: () => Input14,
|
|
57
|
+
Plugin: () => Plugin37,
|
|
58
|
+
ShellTool: () => exports_shell2,
|
|
59
59
|
backgroundToolResult: () => backgroundToolResult2,
|
|
60
|
-
name: () =>
|
|
60
|
+
name: () => name14,
|
|
61
61
|
reattach: () => reattach2
|
|
62
62
|
});
|
|
63
63
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
64
64
|
import { Deferred, Effect, Fiber, Option, Schema } from "effect";
|
|
65
|
-
var
|
|
65
|
+
var name14 = "shell";
|
|
66
66
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
67
67
|
var INTERRUPT_WAIT = "500 millis";
|
|
68
68
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
@@ -77,7 +77,7 @@ var description = (shell, autoBackground = false) => [
|
|
|
77
77
|
autoBackground ? "Commands still running after their timeout move to the background." : "Commands accept an optional timeout, background commands have no timeout by default.",
|
|
78
78
|
"Background commands return immediately, and you will be notified when they complete."
|
|
79
79
|
].join(" ");
|
|
80
|
-
var
|
|
80
|
+
var Input14 = Schema.Struct({
|
|
81
81
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
82
82
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
83
83
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -162,7 +162,7 @@ var startJob = Effect.fnUntraced(function* (jobs, shell, input) {
|
|
|
162
162
|
const settled = yield* Deferred.make();
|
|
163
163
|
const job = yield* jobs.start({
|
|
164
164
|
id: info.id,
|
|
165
|
-
type:
|
|
165
|
+
type: name14,
|
|
166
166
|
title: info.command,
|
|
167
167
|
metadata: { sessionID: input.sessionID, shellID: info.id },
|
|
168
168
|
recovery: {
|
|
@@ -176,7 +176,7 @@ var startJob = Effect.fnUntraced(function* (jobs, shell, input) {
|
|
|
176
176
|
run: Effect.gen(function* () {
|
|
177
177
|
const result = yield* shell.result(info);
|
|
178
178
|
if (!result.capture)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
180
180
|
return { ...output2(result), status: "completed" };
|
|
181
181
|
}).pipe(Effect.tap((output) => Deferred.succeed(settled, output)), Effect.map((output) => resultMessages(output, input.timeout?.()).join(`
|
|
182
182
|
|
|
@@ -209,17 +209,17 @@ var reattach2 = Effect.fnUntraced(function* (input) {
|
|
|
209
209
|
return yield* notifying.pipe(Effect.catch((error) => Effect.logWarning("failed to report a recovered shell command", { id: input.info.id, error })));
|
|
210
210
|
yield* input.shell.watch(notifying);
|
|
211
211
|
});
|
|
212
|
-
var
|
|
212
|
+
var Plugin37 = {
|
|
213
213
|
id: "opencode.tool.shell",
|
|
214
214
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
215
|
-
const sessions = yield*
|
|
216
|
-
const jobs = yield*
|
|
217
|
-
const environment = yield*
|
|
218
|
-
const access = yield*
|
|
219
|
-
const shell = yield*
|
|
220
|
-
const shellSelect = yield*
|
|
215
|
+
const sessions = yield* Service22;
|
|
216
|
+
const jobs = yield* Service53;
|
|
217
|
+
const environment = yield* Service64;
|
|
218
|
+
const access = yield* Service62;
|
|
219
|
+
const shell = yield* Service38;
|
|
220
|
+
const shellSelect = yield* Service50;
|
|
221
221
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
222
|
-
const permission = yield*
|
|
222
|
+
const permission = yield* Service73;
|
|
223
223
|
const autoBackground = yield* enabled3("shell_timeout_background");
|
|
224
224
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
225
225
|
const target = yield* access.resolve({ path: invocation.cwd, kind: "directory" });
|
|
@@ -233,7 +233,7 @@ var Plugin34 = {
|
|
|
233
233
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
234
234
|
if (parsed.commands.length > 0)
|
|
235
235
|
yield* permission.assert({
|
|
236
|
-
action:
|
|
236
|
+
action: name14,
|
|
237
237
|
resources: parsed.commands.map((command) => command.resource),
|
|
238
238
|
save: parsed.commands.map((command) => command.save),
|
|
239
239
|
...invocation2(context)
|
|
@@ -260,10 +260,10 @@ var Plugin34 = {
|
|
|
260
260
|
});
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
263
|
-
name:
|
|
263
|
+
name: name14,
|
|
264
264
|
options: { codemode: false },
|
|
265
265
|
description: description(undefined, autoBackground),
|
|
266
|
-
input:
|
|
266
|
+
input: Input14,
|
|
267
267
|
output: Output,
|
|
268
268
|
execute: (input, context) => {
|
|
269
269
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -332,7 +332,7 @@ var Plugin34 = {
|
|
|
332
332
|
}
|
|
333
333
|
})).pipe(Effect.orDie);
|
|
334
334
|
const hook = (event) => Effect.gen(function* () {
|
|
335
|
-
const tool = event.tools[
|
|
335
|
+
const tool = event.tools[name14];
|
|
336
336
|
if (!tool)
|
|
337
337
|
return;
|
|
338
338
|
tool.description = description(name17(yield* compatibleShell), autoBackground);
|
|
@@ -343,4 +343,4 @@ var Plugin34 = {
|
|
|
343
343
|
})
|
|
344
344
|
};
|
|
345
345
|
|
|
346
|
-
export {
|
|
346
|
+
export { name14, DEFAULT_TIMEOUT_MS2, Input14, backgroundToolResult2, reattach2, Plugin37, exports_shell2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load7
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-4qk9sjk2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native2,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service80,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured9,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer27,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node82,
|
|
23
23
|
testLayer: () => testLayer4
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -50,14 +50,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
50
50
|
class Native2 extends Context.Service()("@opencode/Watcher/Native") {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service80 extends Context.Service()("@opencode/Watcher") {
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var layer27 = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
59
59
|
if (options?.enabled === false) {
|
|
60
|
-
return
|
|
60
|
+
return Service80.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
61
61
|
}
|
|
62
62
|
const native = yield* Native2;
|
|
63
63
|
const watchers = yield* RcMap.make({
|
|
@@ -98,7 +98,7 @@ var layer28 = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
98
98
|
return Stream.fromSubscription(subscription);
|
|
99
99
|
}));
|
|
100
100
|
});
|
|
101
|
-
return
|
|
101
|
+
return Service80.of({ subscribe });
|
|
102
102
|
}));
|
|
103
103
|
var testLayer4 = Layer.effectContext(Effect.gen(function* () {
|
|
104
104
|
const subscriptions = [];
|
|
@@ -122,9 +122,9 @@ var testLayer4 = Layer.effectContext(Effect.gen(function* () {
|
|
|
122
122
|
};
|
|
123
123
|
})
|
|
124
124
|
});
|
|
125
|
-
const context = yield* Layer.build(
|
|
125
|
+
const context = yield* Layer.build(layer27().pipe(Layer.provide(Layer.succeed(Native2, native))));
|
|
126
126
|
const test = Test3.of({
|
|
127
|
-
subscribe: Context.get(context,
|
|
127
|
+
subscribe: Context.get(context, Service80).subscribe,
|
|
128
128
|
emit: (update) => Effect.sync(() => {
|
|
129
129
|
const target = path.resolve(update.path);
|
|
130
130
|
active.forEach((matches, publish) => {
|
|
@@ -134,7 +134,7 @@ var testLayer4 = Layer.effectContext(Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
136
136
|
});
|
|
137
|
-
return Context.empty().pipe(Context.add(
|
|
137
|
+
return Context.empty().pipe(Context.add(Service80, test), Context.add(Test3, test));
|
|
138
138
|
}));
|
|
139
139
|
var nativeLayer2 = Layer.succeed(Native2, Native2.of({
|
|
140
140
|
subscribe: (input) => {
|
|
@@ -159,10 +159,10 @@ var nativeLayer2 = Layer.succeed(Native2, Native2.of({
|
|
|
159
159
|
}
|
|
160
160
|
}));
|
|
161
161
|
var nativeNode = makeGlobalNode({ service: Native2, layer: nativeLayer2, deps: [] });
|
|
162
|
-
function
|
|
163
|
-
return makeGlobalNode({ service:
|
|
162
|
+
function configured9(options) {
|
|
163
|
+
return makeGlobalNode({ service: Service80, layer: layer27(options), deps: [nativeNode] });
|
|
164
164
|
}
|
|
165
|
-
var
|
|
165
|
+
var node82 = configured9();
|
|
166
166
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
167
167
|
if (!native || !backend) {
|
|
168
168
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -182,4 +182,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
182
182
|
}).pipe(Effect.as(undefined))));
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
export { hasNativeBinding2, Native2,
|
|
185
|
+
export { hasNativeBinding2, Native2, Service80, Test3, layer27, testLayer4, nativeLayer2, configured9, node82, exports_watcher };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9bjnw33a.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-3ck5pzsd.js";
|
|
7
7
|
import {
|
|
8
8
|
key3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-n320gsn2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID18,
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-fgzhd4f7.js";
|
|
14
14
|
import {
|
|
15
15
|
aisdk2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-m90tx7mw.js";
|
|
17
17
|
import {
|
|
18
18
|
ID17,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service86
|
|
20
|
+
} from "./state-97d0bxh6.js";
|
|
21
21
|
import {
|
|
22
22
|
ID16,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info24
|
|
24
|
+
} from "./state-3djagcat.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
submit2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./state-z0wbgq7s.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
reloadIfChanged2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./state-85wm61p0.js";
|
|
36
36
|
import {
|
|
37
37
|
credentialSettings2,
|
|
38
38
|
metadataSettings2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./state-hd5gh2tq.js";
|
|
40
40
|
|
|
41
41
|
// src/plugin/provider/gitlab.ts
|
|
42
42
|
import os from "os";
|
|
@@ -45,7 +45,7 @@ import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
|
45
45
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
46
46
|
import { Form } from "@opencode/schema/form";
|
|
47
47
|
var providerID = ID17.gitlab;
|
|
48
|
-
var integrationID =
|
|
48
|
+
var integrationID = ID18.make("gitlab");
|
|
49
49
|
var methodID = MethodID2.make("pkce");
|
|
50
50
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
51
51
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -66,7 +66,7 @@ var refreshRetention = 60000;
|
|
|
66
66
|
var GitLabPlugin2 = define({
|
|
67
67
|
id: "opencode.provider.gitlab",
|
|
68
68
|
effect: Effect.fn(function* (ctx) {
|
|
69
|
-
const providers = yield*
|
|
69
|
+
const providers = yield* Service86;
|
|
70
70
|
const http = yield* HttpClient.HttpClient;
|
|
71
71
|
const loading = Semaphore.makeUnsafe(1);
|
|
72
72
|
const loaded = {};
|
|
@@ -202,7 +202,7 @@ var GitLabPlugin2 = define({
|
|
|
202
202
|
models: [
|
|
203
203
|
...item.models.values(),
|
|
204
204
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
205
|
-
...
|
|
205
|
+
...Info24.default(providerID, ID16.make(model.id)),
|
|
206
206
|
name: `Agent Platform (${model.name})`,
|
|
207
207
|
package: aisdk2("gitlab-ai-provider"),
|
|
208
208
|
settings: { workflowRef: model.ref },
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-0dnk7p9t.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info16,
|
|
18
|
+
NotFoundError: () => NotFoundError11,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service74,
|
|
21
|
+
node: () => node76
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info16 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError11 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID13
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID13,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service74 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service94).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID13.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError11({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError11({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service74.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node76 = makeGlobalNode({ service: Service74, layer, deps: [node96] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID13, Info16, NotFoundError11, ConflictError2, Service74, node76, exports_saved };
|