@opencode/core 0.0.0-dev-20115 → 0.0.0-dev-20116
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +92 -92
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{generate-yxn70j2j.js → location-01f4j364.js} +48 -48
- package/dist/chunks/{generate-htfm5hm2.js → location-03t2qqvv.js} +13 -13
- package/dist/chunks/{generate-ydpvnw0r.js → location-0aj75bwd.js} +10 -10
- package/dist/chunks/{generate-5c9sd73s.js → location-0fx1c86e.js} +8 -8
- package/dist/chunks/{generate-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-n78y29v0.js → location-0pj7r3g9.js} +6 -6
- package/dist/chunks/{generate-3v0kbfet.js → location-19xkyn56.js} +6 -6
- package/dist/chunks/{generate-yp2x3t23.js → location-1acjjqhc.js} +4 -4
- package/dist/chunks/{generate-tv09qagv.js → location-1ck5k8kv.js} +54 -54
- package/dist/chunks/{generate-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-wq4mmp7m.js → location-1ed2t66p.js} +4 -4
- package/dist/chunks/{generate-mg9my19h.js → location-1fw2a5v8.js} +19 -19
- package/dist/chunks/{generate-wtgzqz62.js → location-1fw2j5nt.js} +15 -15
- package/dist/chunks/{generate-2z03bkx6.js → location-1k0gwr79.js} +5 -5
- package/dist/chunks/{generate-gghkw5p5.js → location-1mmj9ptd.js} +21 -21
- package/dist/chunks/{generate-ebhw3mq4.js → location-1p1pkch2.js} +4 -4
- package/dist/chunks/{generate-s26hbv8p.js → location-1y283654.js} +4 -4
- package/dist/chunks/{generate-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{generate-vyqn3nqs.js → location-23sxaqwc.js} +6 -6
- package/dist/chunks/{generate-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{generate-3bw4v39f.js → location-297fvhht.js} +6 -6
- package/dist/chunks/{generate-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-7dqw4kz8.js → location-2k8khapm.js} +5 -5
- package/dist/chunks/{generate-8bpcqbtr.js → location-2nm881nd.js} +36 -36
- package/dist/chunks/{generate-3dx765w3.js → location-2sdsg8hd.js} +4 -4
- package/dist/chunks/{generate-tcdcapjr.js → location-2vwytvym.js} +3 -3
- package/dist/chunks/{generate-na4s0x3w.js → location-2xyf62b8.js} +18 -18
- package/dist/chunks/{generate-7p3fcf52.js → location-3b3sjaea.js} +26 -26
- package/dist/chunks/{generate-vek5t477.js → location-3b7yp3yb.js} +9 -9
- package/dist/chunks/{generate-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-r03v0hjj.js → location-3geshwka.js} +39 -39
- package/dist/chunks/{generate-2qd48t7m.js → location-3h2v8zyx.js} +14 -14
- package/dist/chunks/{generate-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-bfhawprk.js → location-3qz3cqmw.js} +9 -9
- package/dist/chunks/{generate-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-z2wn3pyy.js → location-3x01x5fw.js} +33 -33
- package/dist/chunks/{generate-7d7mc7nn.js → location-3xhamg8z.js} +22 -22
- package/dist/chunks/{generate-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-kmdz5r4y.js → location-4ac1m1qr.js} +16 -16
- package/dist/chunks/{generate-sve65ey2.js → location-4av968fa.js} +11 -11
- package/dist/chunks/{generate-nnh0aynp.js → location-4bp3k7wq.js} +22 -22
- package/dist/chunks/{generate-kw185j9a.js → location-4c1rxfbw.js} +28 -28
- package/dist/chunks/{generate-3ka6c8fj.js → location-4k8s27v0.js} +46 -46
- package/dist/chunks/{generate-2fghpfkp.js → location-4nxzd025.js} +37 -37
- package/dist/chunks/{generate-z8m5seqj.js → location-4swmeq5r.js} +20 -20
- package/dist/chunks/{generate-hehaxqkv.js → location-4wwqnvbr.js} +4 -4
- package/dist/chunks/{generate-ey7ggjjv.js → location-4y0r7mzr.js} +30 -30
- package/dist/chunks/{generate-1wqg2ck8.js → location-4zc4m5x1.js} +20 -20
- package/dist/chunks/{generate-0cgtmc8a.js → location-507seqed.js} +12 -12
- package/dist/chunks/{generate-kwrf6mrp.js → location-53fyba40.js} +4 -4
- package/dist/chunks/{generate-ckecvw8r.js → location-54tcyq79.js} +2 -2
- package/dist/chunks/{generate-33w4ejhs.js → location-56gdpj1q.js} +6 -6
- package/dist/chunks/{generate-2fgn2we9.js → location-57ez7d0k.js} +9 -9
- package/dist/chunks/{generate-q3t37ft6.js → location-5cmxdwv8.js} +3 -3
- package/dist/chunks/{generate-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-5ekn9679.js → location-5ekn9679.js} +1 -1
- package/dist/chunks/{generate-q4fmv0xv.js → location-5hx7d1d6.js} +5 -5
- package/dist/chunks/{generate-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-pmw6zdhr.js → location-60a7aq3m.js} +4 -4
- package/dist/chunks/{generate-zcjrg8ya.js → location-65r5fmg1.js} +3 -3
- package/dist/chunks/{generate-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{generate-vzbekny8.js → location-6bbptzqx.js} +10 -10
- package/dist/chunks/{generate-gcqgchj4.js → location-6eh7mf2d.js} +45 -45
- package/dist/chunks/{generate-0rkxpd3w.js → location-6h3d6agz.js} +16 -16
- package/dist/chunks/{generate-bt5w0njk.js → location-6kjm4skb.js} +30 -30
- package/dist/chunks/{generate-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-txcvczgx.js → location-6nwf24cr.js} +25 -25
- package/dist/chunks/{generate-135dqwpd.js → location-6xsq0j7c.js} +11 -11
- package/dist/chunks/{generate-hzp6wvvn.js → location-74pmmvr2.js} +18 -18
- package/dist/chunks/{generate-q8n9d2sh.js → location-768gsh1v.js} +8 -8
- package/dist/chunks/{generate-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-8aaqm6qj.js → location-7dbmnfn4.js} +8 -8
- package/dist/chunks/location-7fj5dwt0.js +18 -0
- package/dist/chunks/{generate-a22s65z7.js → location-7k3q3d83.js} +25 -25
- package/dist/chunks/{generate-y4n2nqts.js → location-7kk85578.js} +10 -10
- package/dist/chunks/{generate-vnpwkwtz.js → location-7m8brd3v.js} +25 -25
- package/dist/chunks/{generate-pbt7bx9c.js → location-7sd0c8rg.js} +20 -20
- package/dist/chunks/{generate-6dxb6f6k.js → location-81y9yw83.js} +26 -26
- package/dist/chunks/{generate-5vs0p599.js → location-8b8ytmh0.js} +27 -27
- package/dist/chunks/{generate-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-e4670fxf.js → location-8eddaw1a.js} +10 -10
- package/dist/chunks/{generate-srn8r8jz.js → location-8rq5pj8d.js} +21 -21
- package/dist/chunks/{generate-50d7ccq3.js → location-8ssk0f6f.js} +22 -22
- package/dist/chunks/{generate-xx13ga85.js → location-8t78hkck.js} +5 -5
- package/dist/chunks/{generate-e0xdgz0m.js → location-91nmpsq2.js} +11 -11
- package/dist/chunks/{generate-j2gexte7.js → location-9460kg37.js} +15 -15
- package/dist/chunks/{generate-djdxfn23.js → location-985n4tmz.js} +20 -20
- package/dist/chunks/{generate-f9qkrfrz.js → location-9c2t2wzg.js} +20 -20
- package/dist/chunks/{generate-2tdwad47.js → location-9cwbb6wq.js} +13 -13
- package/dist/chunks/{generate-pn9jkae5.js → location-9e3m1zbj.js} +14 -14
- package/dist/chunks/{generate-bmbezxvj.js → location-9px7vs5v.js} +12 -12
- package/dist/chunks/{generate-48yaw2g6.js → location-9w8ge49v.js} +33 -33
- package/dist/chunks/{generate-y8adhbbs.js → location-a1wfbxb7.js} +3 -3
- package/dist/chunks/{generate-tx9w5tca.js → location-a2qe2ev9.js} +8 -8
- package/dist/chunks/{generate-btbmdjwj.js → location-a2rpfkac.js} +4 -4
- package/dist/chunks/{generate-aw6rh0e0.js → location-a2xpbx89.js} +18 -18
- package/dist/chunks/{generate-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-9chjmrjd.js → location-abzvj8se.js} +20 -20
- package/dist/chunks/{generate-vrjazymd.js → location-ac8rsxy9.js} +1 -1
- package/dist/chunks/{generate-2y92msa0.js → location-adb13ap1.js} +8 -8
- package/dist/chunks/{generate-3n114cxc.js → location-adq9w6n2.js} +13 -13
- package/dist/chunks/{generate-y7t0d5q6.js → location-ae1n2vcd.js} +4 -4
- package/dist/chunks/{generate-nkttmmpy.js → location-agxa4bew.js} +4 -4
- package/dist/chunks/{generate-fpm8vwy4.js → location-am7x992s.js} +26 -26
- package/dist/chunks/{generate-d97kjvmj.js → location-ar78w6r7.js} +13 -13
- package/dist/chunks/{generate-mvk2jfk4.js → location-axj216nc.js} +5 -5
- package/dist/chunks/{generate-e7shfttd.js → location-ayngm31m.js} +6 -6
- package/dist/chunks/{generate-km5mjpbt.js → location-azk5qm9y.js} +3 -3
- package/dist/chunks/{generate-k8962brh.js → location-b27vhd2z.js} +7 -7
- package/dist/chunks/{generate-sn6ab8mn.js → location-b2ekx9f0.js} +29 -29
- package/dist/chunks/{generate-pwaxk50r.js → location-b57qjs4r.js} +13 -13
- package/dist/chunks/{generate-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-v1sqp18z.js → location-be3cm6t8.js} +10 -10
- package/dist/chunks/{generate-z07pqspn.js → location-bjtzbw4r.js} +3 -3
- package/dist/chunks/{generate-ewvdpzth.js → location-bvh0dnby.js} +15 -15
- package/dist/chunks/{generate-e40qhhm8.js → location-bwfm0pq2.js} +10 -10
- package/dist/chunks/{generate-m40fkmb4.js → location-c6bhh4n4.js} +15 -15
- package/dist/chunks/{generate-j5w2yx54.js → location-c8bydgjz.js} +6 -6
- package/dist/chunks/{generate-44h5tttr.js → location-cpj0znwe.js} +4 -4
- package/dist/chunks/{generate-2sejkfem.js → location-d4he2qe1.js} +9 -9
- package/dist/chunks/{generate-wb66k78e.js → location-dfgmewgp.js} +20 -20
- package/dist/chunks/{generate-96av1tye.js → location-dfsbkvhf.js} +24 -24
- package/dist/chunks/{generate-5na67w3t.js → location-dh3f2wjs.js} +4 -4
- package/dist/chunks/{generate-rcjabzwr.js → location-dvakt18b.js} +5 -5
- package/dist/chunks/{generate-fjq2vs6z.js → location-e4qcyv9a.js} +6 -6
- package/dist/chunks/{generate-dtp9vetf.js → location-e5t466vb.js} +16 -16
- package/dist/chunks/{generate-qb1vw869.js → location-e6yahscf.js} +39 -39
- package/dist/chunks/{generate-eaj1djv9.js → location-eaj1djv9.js} +1 -1
- package/dist/chunks/{generate-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-tz4n1mmd.js → location-embw8kgh.js} +4 -4
- package/dist/chunks/{generate-erw5rpbs.js → location-erw5rpbs.js} +2 -2
- package/dist/chunks/{generate-1wj59nq5.js → location-espmheeq.js} +8 -8
- package/dist/chunks/{generate-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-tn0aqsam.js → location-evbgk2k8.js} +5 -5
- package/dist/chunks/{generate-cv19meg5.js → location-f0hb9jkt.js} +7 -7
- package/dist/chunks/{generate-ge5cpj3r.js → location-f2zjsb8r.js} +5 -5
- package/dist/chunks/{generate-cavr175a.js → location-f3ngv102.js} +4 -4
- package/dist/chunks/{generate-ynpb9wcp.js → location-fd78hjz1.js} +14 -14
- package/dist/chunks/{generate-d6bnq78f.js → location-fsbsakce.js} +46 -46
- package/dist/chunks/{generate-36nf603s.js → location-fx2b1hjm.js} +30 -30
- package/dist/chunks/{generate-jpv1641y.js → location-fyfmcsz4.js} +8 -8
- package/dist/chunks/{generate-er4hwy7c.js → location-g1389kf8.js} +15 -15
- package/dist/chunks/{generate-mnp2fbq7.js → location-g2nw1xqv.js} +15 -15
- package/dist/chunks/location-g2syt5m4.js +26 -0
- package/dist/chunks/{generate-vpr681xz.js → location-gb506f8f.js} +8 -8
- package/dist/chunks/{generate-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-94ek1h2f.js → location-gfvb90ym.js} +2 -2
- package/dist/chunks/{generate-y5df08dr.js → location-gmjq4p6e.js} +12 -12
- package/dist/chunks/{generate-8whe1ftd.js → location-grdhps1x.js} +10 -10
- package/dist/chunks/{generate-w9m1hehb.js → location-gsade59m.js} +42 -42
- package/dist/chunks/{generate-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{generate-reg6q42h.js → location-h4z1mxff.js} +5 -5
- package/dist/chunks/{generate-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-b0rvnc5h.js → location-h9p3eaf6.js} +49 -49
- package/dist/chunks/{generate-za9cx4qh.js → location-hdthj1pw.js} +8 -8
- package/dist/chunks/{generate-ba3st6n3.js → location-hq8x7218.js} +2 -2
- package/dist/chunks/{generate-basnvkrt.js → location-hs6snqek.js} +3 -3
- package/dist/chunks/{generate-7rats573.js → location-hsxnx20j.js} +17 -17
- package/dist/chunks/{generate-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-312csvmh.js → location-j9kmfek4.js} +10 -10
- package/dist/chunks/{generate-gzafw2k2.js → location-ja6k9001.js} +20 -20
- package/dist/chunks/{generate-9hqhm2d2.js → location-jjvby67f.js} +30 -30
- package/dist/chunks/{generate-408p2t6a.js → location-jk4f05ze.js} +25 -25
- package/dist/chunks/{generate-dsh6f6yj.js → location-jxg8s3q7.js} +37 -37
- package/dist/chunks/{generate-nzks3jc8.js → location-k3c624dm.js} +3 -3
- package/dist/chunks/{generate-g26gfjk9.js → location-k57bwrpv.js} +15 -15
- package/dist/chunks/{generate-wwgrxbk4.js → location-kbmv5jj4.js} +10 -10
- package/dist/chunks/{generate-hs0gycjv.js → location-kkzhas3n.js} +15 -15
- package/dist/chunks/{generate-0cazcqtd.js → location-kp64qvy5.js} +13 -13
- package/dist/chunks/{generate-hqax1sk6.js → location-kpagms85.js} +3 -3
- package/dist/chunks/{generate-rj7bpn2q.js → location-kqhr74xx.js} +11 -11
- package/dist/chunks/{generate-xxyw0hgj.js → location-kx3h33dw.js} +33 -33
- package/dist/chunks/{generate-pek3718z.js → location-m2gq6g3f.js} +14 -14
- package/dist/chunks/{generate-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{generate-05v90r5t.js → location-m4cee681.js} +32 -32
- package/dist/chunks/{generate-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-swgq8cqr.js → location-mm4y1vec.js} +9 -9
- package/dist/chunks/{generate-q4qc13yr.js → location-mqdgyeyb.js} +37 -37
- package/dist/chunks/location-mxcjqyq2.js +507 -0
- package/dist/chunks/{generate-kh5864kc.js → location-mxy24mwp.js} +16 -16
- package/dist/chunks/{generate-058r5a9s.js → location-mxysbntw.js} +16 -16
- package/dist/chunks/{generate-p0b30zvt.js → location-mzxp1erh.js} +11 -11
- package/dist/chunks/location-n1vpgy0w.js +252 -0
- package/dist/chunks/{generate-v7twaqy7.js → location-n6ksxyfn.js} +20 -20
- package/dist/chunks/{generate-wcrxxh2z.js → location-n7j9881n.js} +35 -35
- package/dist/chunks/{generate-8j75q05v.js → location-n9gphx1q.js} +50 -50
- package/dist/chunks/{generate-hgs5ny64.js → location-nk62h6vq.js} +11 -11
- package/dist/chunks/{generate-arzv5pyn.js → location-nzsaey6w.js} +28 -28
- package/dist/chunks/{generate-nxhqveyz.js → location-p44d8wdy.js} +5 -5
- package/dist/chunks/{generate-500fmqbd.js → location-p4m4s18q.js} +11 -11
- package/dist/chunks/{generate-m2yg46wj.js → location-p838w68h.js} +11 -11
- package/dist/chunks/{generate-r06z5h03.js → location-pgp81qmz.js} +22 -22
- package/dist/chunks/{generate-g0445xdp.js → location-phstrbs2.js} +8 -8
- package/dist/chunks/{generate-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{generate-qg0jgkcp.js → location-pnv527nz.js} +9 -9
- package/dist/chunks/{generate-wd3x2cqz.js → location-psazpmmj.js} +2 -2
- package/dist/chunks/{generate-4478d6jr.js → location-pswh67x4.js} +22 -22
- package/dist/chunks/{generate-9gz4pnve.js → location-pvqs4ftm.js} +18 -18
- package/dist/chunks/{generate-9sp5ch6w.js → location-pxqk86pg.js} +35 -35
- package/dist/chunks/{generate-6pc27hjz.js → location-py3kkmfq.js} +6 -6
- package/dist/chunks/{generate-cybk5p7c.js → location-pycfhy4b.js} +69 -69
- package/dist/chunks/{generate-cfsjmcx3.js → location-q14ch0nx.js} +16 -16
- package/dist/chunks/{generate-s375a249.js → location-q826ync2.js} +6 -6
- package/dist/chunks/{generate-4yqq56vx.js → location-qaq56wgb.js} +27 -27
- package/dist/chunks/{generate-4sx6m46k.js → location-qj3gnppz.js} +7 -7
- package/dist/chunks/{generate-hpjt3c9f.js → location-qna75g91.js} +9 -9
- package/dist/chunks/{generate-p6frwh1y.js → location-qrk0wdh6.js} +26 -26
- package/dist/chunks/{generate-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-ev27g8wa.js → location-qxwwr1gq.js} +29 -29
- package/dist/chunks/{generate-vtpkq4qf.js → location-r3c4069c.js} +1 -1
- package/dist/chunks/{generate-mhkvc446.js → location-r5x6zcsm.js} +3 -3
- package/dist/chunks/{generate-mqzwkyay.js → location-r7nsrefv.js} +4 -4
- package/dist/chunks/{generate-ve4pfa0n.js → location-r98e92ep.js} +4 -4
- package/dist/chunks/{generate-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-7vv29s32.js → location-rf0y5eh4.js} +24 -24
- package/dist/chunks/{generate-cpy6gm2a.js → location-rph3zd4r.js} +6 -6
- package/dist/chunks/{generate-gzre948x.js → location-rscjyhv7.js} +12 -12
- package/dist/chunks/{generate-vz9yhsd3.js → location-rxt4hayg.js} +21 -21
- package/dist/chunks/{generate-4vd7n6yw.js → location-s0xm2j83.js} +1 -1
- package/dist/chunks/{generate-peprph1j.js → location-s9h9scfs.js} +32 -32
- package/dist/chunks/{generate-gr6sts3c.js → location-sdz1jvnx.js} +24 -24
- package/dist/chunks/{generate-g25em2wa.js → location-shc6e287.js} +6 -6
- package/dist/chunks/{generate-wgzm9wz2.js → location-srm5dkg4.js} +11 -11
- package/dist/chunks/{generate-gzvxer3a.js → location-stgfa99z.js} +5 -5
- package/dist/chunks/{generate-gsxdchbh.js → location-sy7bpksq.js} +9 -9
- package/dist/chunks/{generate-kjqhhdrj.js → location-syy9ejxw.js} +6 -6
- package/dist/chunks/{generate-a54cg76a.js → location-t1mex8wk.js} +25 -25
- package/dist/chunks/{generate-0z594a3n.js → location-t499jz6c.js} +89 -89
- package/dist/chunks/{generate-7fzbbf6p.js → location-t4tcrb48.js} +16 -16
- package/dist/chunks/{generate-4krywg4p.js → location-t76e5nz5.js} +13 -13
- package/dist/chunks/{generate-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{generate-ahwm19b7.js → location-thsgfmbw.js} +40 -40
- package/dist/chunks/{generate-4z9rzteq.js → location-tjk393t5.js} +24 -24
- package/dist/chunks/{generate-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-bgbs76xx.js → location-v9m5zf1e.js} +24 -24
- package/dist/chunks/{generate-g8f2cmxd.js → location-vaqmry9v.js} +19 -19
- package/dist/chunks/{generate-a1fy41p6.js → location-vdzv7yjc.js} +92 -92
- package/dist/chunks/{generate-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-jca4demv.js → location-vmgq4x8b.js} +2 -2
- package/dist/chunks/{generate-gmjjhz4f.js → location-vmwh049b.js} +6 -6
- package/dist/chunks/{generate-v44xvwz4.js → location-vq17w8qr.js} +27 -27
- package/dist/chunks/{generate-r3889vak.js → location-vyk7vhw6.js} +13 -13
- package/dist/chunks/{generate-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-y52aqrcn.js → location-w00d9zq5.js} +5 -5
- package/dist/chunks/{generate-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-b5vd5f2s.js → location-w52q72ce.js} +3 -3
- package/dist/chunks/{generate-3gc9tq7p.js → location-w9fhgmm1.js} +15 -15
- package/dist/chunks/{generate-k8dasee7.js → location-was7srj9.js} +8 -8
- package/dist/chunks/{generate-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{generate-0jq9fyba.js → location-wk5z6jzv.js} +9 -9
- package/dist/chunks/{generate-zxfgyqze.js → location-wken1bg3.js} +9 -9
- package/dist/chunks/{generate-tjbwbrpf.js → location-wqzamyz2.js} +10 -10
- package/dist/chunks/{generate-8k1taj4b.js → location-wv7as3sa.js} +23 -23
- package/dist/chunks/{generate-4wgvb1zg.js → location-wy8s1je1.js} +6 -6
- package/dist/chunks/{generate-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-rmebftez.js → location-x1yd8b8p.js} +181 -181
- package/dist/chunks/{generate-jrwd5gjp.js → location-xb7aahsd.js} +13 -13
- package/dist/chunks/{generate-ysa4kjbr.js → location-xbhyazxt.js} +24 -24
- package/dist/chunks/{generate-n46we7c3.js → location-xdgdk0j5.js} +43 -43
- package/dist/chunks/{generate-z3nay82g.js → location-xdx7acry.js} +9 -9
- package/dist/chunks/{generate-drwq78ky.js → location-xfkkasph.js} +4 -4
- package/dist/chunks/{generate-xkntkrq7.js → location-xkntkrq7.js} +2 -2
- package/dist/chunks/{generate-g7nv64e4.js → location-xt03kzcc.js} +16 -16
- package/dist/chunks/{generate-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{generate-fgbmk54h.js → location-ycpstswg.js} +11 -11
- package/dist/chunks/{generate-k1qrnqst.js → location-yf10kn3d.js} +8 -8
- package/dist/chunks/{generate-0r7yqxbf.js → location-yjptyezs.js} +5 -5
- package/dist/chunks/{generate-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{generate-7w8dz25z.js → location-yse7wqh5.js} +28 -28
- package/dist/chunks/{generate-wp7yrr8t.js → location-yzpn3sp5.js} +22 -22
- package/dist/chunks/{generate-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-n6f6v89y.js → location-z4th9443.js} +11 -11
- package/dist/chunks/{generate-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{generate-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-8exb21m6.js → location-ztassjcr.js} +18 -18
- package/dist/chunks/{generate-6fra3cd5.js → location-zvm2bmhj.js} +5 -5
- package/dist/chunks/{generate-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/effect/app-node-platform.d.ts +1 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/generate-2tf17v0s.js +0 -26
- package/dist/chunks/generate-cpx588df.js +0 -507
- package/dist/chunks/generate-phz3h32g.js +0 -18
- package/dist/chunks/generate-q1k3p0aj.js +0 -252
- /package/dist/chunks/{generate-0mesazry.js → location-0mesazry.js} +0 -0
- /package/dist/chunks/{generate-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-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: () => Service47,
|
|
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 Service47 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service47, exports_runner };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
10
|
+
configured: () => configured7,
|
|
11
|
+
layer: () => layer21,
|
|
12
12
|
make: () => make19,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node58,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node58 = configured7();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make19, useragent2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer21, configured7, node58, exports_app };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info13
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info13 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info13, exports_attachment };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service59
|
|
4
|
+
} from "./location-e6yahscf.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin44,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin44 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service59;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin24 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin44, exports_warming };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./location-4y0r7mzr.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-shc6e287.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID7.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info18,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info18 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info18, exports_permission };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-2sdsg8hd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./location-6h3d6agz.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./location-h9p3eaf6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin43
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin43 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service80;
|
|
200
|
+
const mcp = yield* Service41;
|
|
201
201
|
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin43, exports_command2 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service59
|
|
7
|
+
} from "./location-e6yahscf.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service73
|
|
13
|
+
} from "./location-v9m5zf1e.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./location-g1389kf8.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service75
|
|
19
|
+
} from "./location-n9gphx1q.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service19,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-2xyf62b8.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-5ekn9679.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service70,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-1fw2a5v8.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service57
|
|
37
|
+
} from "./location-4k8s27v0.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service29
|
|
40
|
+
} from "./location-vdzv7yjc.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-ae1n2vcd.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin28,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
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.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input9 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
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."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin28 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service29;
|
|
122
|
+
const jobs = yield* Service52;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service73;
|
|
125
|
+
const access = yield* Service19;
|
|
126
|
+
const shell = yield* Service57;
|
|
127
|
+
const shellSelect = yield* Service70;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service75;
|
|
130
|
+
const config = yield* Service59;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin14 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name9,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin14 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name9,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input9,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin14 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name9,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name9];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin28, exports_shell2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-2sdsg8hd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./location-gmjq4p6e.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./location-6h3d6agz.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-7fj5dwt0.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service60,
|
|
18
|
+
node63
|
|
19
|
+
} from "./location-8ssk0f6f.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node23
|
|
22
|
+
} from "./location-xt03kzcc.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service8,
|
|
25
|
+
node10
|
|
26
|
+
} from "./location-d4he2qe1.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node4
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service60;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
|
+
const policy = yield* Service8;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node4 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node63, FSUtil.node, node84, node86, node87, node23, node10]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node4, exports_location_watcher };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./location-tjk393t5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./location-c8bydgjz.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-7fj5dwt0.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service49;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service62,
|
|
6
|
+
node65
|
|
7
|
+
} from "./location-6bbptzqx.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-5cmxdwv8.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service52,
|
|
23
23
|
make: () => make18,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node54
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service52 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -87,7 +87,7 @@ function decrementSession(input, sessionID) {
|
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
89
|
var make18 = Effect.gen(function* () {
|
|
90
|
-
const kv = yield*
|
|
90
|
+
const kv = yield* Service62;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make18 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service52.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make18 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service52, make18);
|
|
362
|
+
var node54 = makeGlobalNode({ service: Service52, layer, deps: [node65] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service52, make18, node54, exports_job };
|