@opencode/core 0.0.0-dev-988 → 0.0.0-dev-996
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +250 -250
- package/dist/bus.js +80 -80
- package/dist/chunks/{persistent-pty-2r9gcp3b.js → location-activity-00rjcp90.js} +9 -9
- package/dist/chunks/{persistent-pty-aj7mw0zk.js → location-activity-034tev2y.js} +2 -2
- package/dist/chunks/{persistent-pty-bj78ahtb.js → location-activity-035wadpx.js} +7 -7
- package/dist/chunks/{persistent-pty-j2k5pa8j.js → location-activity-060xxbvs.js} +8 -8
- package/dist/chunks/{persistent-pty-fej0mc5f.js → location-activity-0c67app6.js} +15 -15
- package/dist/chunks/{persistent-pty-qse369mr.js → location-activity-0dx5swga.js} +4 -4
- package/dist/chunks/{persistent-pty-8x1c8cbs.js → location-activity-0ekkvkgy.js} +36 -36
- package/dist/chunks/{persistent-pty-jc8zng93.js → location-activity-0erws5nw.js} +16 -16
- package/dist/chunks/{persistent-pty-h27z0pdg.js → location-activity-0esbj2c7.js} +18 -18
- package/dist/chunks/{persistent-pty-bcbefk6v.js → location-activity-0h73hepz.js} +29 -29
- package/dist/chunks/{persistent-pty-0w8j3sch.js → location-activity-0htk41c6.js} +22 -22
- package/dist/chunks/{persistent-pty-31f9vfby.js → location-activity-0jf76kjc.js} +15 -15
- package/dist/chunks/{persistent-pty-379m7qbk.js → location-activity-0m1vsfdy.js} +14 -14
- package/dist/chunks/{persistent-pty-0ma9gw4f.js → location-activity-0ma9gw4f.js} +2 -2
- package/dist/chunks/{persistent-pty-z7881fav.js → location-activity-0mtp185z.js} +5 -5
- package/dist/chunks/{persistent-pty-62860jrq.js → location-activity-0p2rb0tf.js} +11 -11
- package/dist/chunks/{persistent-pty-jyaz1nc7.js → location-activity-0zcgfmp9.js} +108 -73
- package/dist/chunks/{persistent-pty-hj0xet7m.js → location-activity-10pn4eb5.js} +5 -5
- package/dist/chunks/{persistent-pty-1aqsckx4.js → location-activity-1aqsckx4.js} +1 -1
- package/dist/chunks/{persistent-pty-2ezzn69c.js → location-activity-1dsh2pge.js} +6 -6
- package/dist/chunks/{persistent-pty-27w5k9zf.js → location-activity-1ep2p91f.js} +2 -2
- package/dist/chunks/{persistent-pty-wfdx5ztx.js → location-activity-1fjzrn8a.js} +4 -4
- package/dist/chunks/{persistent-pty-cb5xn3e4.js → location-activity-1hq2xsx4.js} +28 -28
- package/dist/chunks/{persistent-pty-1n2wt30b.js → location-activity-1n2wt30b.js} +3 -3
- package/dist/chunks/{persistent-pty-eab8jqyn.js → location-activity-1q602hdf.js} +71 -71
- package/dist/chunks/{persistent-pty-ekscjtd6.js → location-activity-1r889nkf.js} +27 -27
- package/dist/chunks/{persistent-pty-k08w40vs.js → location-activity-1tny6hfz.js} +12 -12
- package/dist/chunks/{persistent-pty-65v8315f.js → location-activity-1w1ef3h8.js} +19 -19
- package/dist/chunks/{persistent-pty-1x2knyw4.js → location-activity-1x2knyw4.js} +1 -1
- package/dist/chunks/{persistent-pty-1yq9hg58.js → location-activity-1yq9hg58.js} +1 -1
- package/dist/chunks/{persistent-pty-p5cvsygg.js → location-activity-1z4jkcn6.js} +16 -16
- package/dist/chunks/{persistent-pty-25h84942.js → location-activity-25h84942.js} +1 -1
- package/dist/chunks/{persistent-pty-d19j6trw.js → location-activity-26wrgv0v.js} +36 -36
- package/dist/chunks/{persistent-pty-xdvhz3zf.js → location-activity-29kj4x2t.js} +5 -5
- package/dist/chunks/{persistent-pty-gwa1e55p.js → location-activity-2a9w6gxd.js} +7 -7
- package/dist/chunks/{persistent-pty-2fc7eemy.js → location-activity-2fc7eemy.js} +1 -1
- package/dist/chunks/{persistent-pty-zphajxee.js → location-activity-2qfjh0k1.js} +10 -10
- package/dist/chunks/{persistent-pty-r8j6adpk.js → location-activity-2rh14hgc.js} +27 -27
- package/dist/chunks/{persistent-pty-90hn1ef8.js → location-activity-2vzvmjqc.js} +41 -41
- package/dist/chunks/{persistent-pty-j3hkn5rx.js → location-activity-2z1xxbqm.js} +11 -11
- package/dist/chunks/{persistent-pty-kzr2cvxb.js → location-activity-3475p3h3.js} +27 -27
- package/dist/chunks/{persistent-pty-169eh6gv.js → location-activity-36ma2ktv.js} +9 -9
- package/dist/chunks/{persistent-pty-38aws4xb.js → location-activity-38aws4xb.js} +1 -1
- package/dist/chunks/{persistent-pty-jpyq6v5r.js → location-activity-39mpv137.js} +19 -19
- package/dist/chunks/{persistent-pty-3adw4bt5.js → location-activity-3adw4bt5.js} +2 -2
- package/dist/chunks/{persistent-pty-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3nnrz6f6.js → location-activity-3nnrz6f6.js} +1 -1
- package/dist/chunks/{persistent-pty-3k928xyp.js → location-activity-3rsrbtcv.js} +10 -10
- package/dist/chunks/{persistent-pty-p0pg9q3g.js → location-activity-3s2kfhx1.js} +12 -12
- package/dist/chunks/{persistent-pty-t62dywgn.js → location-activity-3spf441s.js} +6 -6
- package/dist/chunks/{persistent-pty-e2kjgcxh.js → location-activity-3v3x1ygh.js} +4 -4
- package/dist/chunks/{persistent-pty-40y6dtc2.js → location-activity-40y6dtc2.js} +1 -1
- package/dist/chunks/{persistent-pty-40za9wsf.js → location-activity-40za9wsf.js} +2 -2
- package/dist/chunks/{persistent-pty-g5mpag0z.js → location-activity-48qyn8yf.js} +23 -23
- package/dist/chunks/{persistent-pty-4dx1dgte.js → location-activity-4dx1dgte.js} +1 -1
- package/dist/chunks/{persistent-pty-n41csmpq.js → location-activity-4e4errwj.js} +9 -9
- package/dist/chunks/{persistent-pty-4f25tdd0.js → location-activity-4f25tdd0.js} +1 -1
- package/dist/chunks/{persistent-pty-fmjsjtqm.js → location-activity-4gmbvmjy.js} +4 -4
- package/dist/chunks/{persistent-pty-fangmcnr.js → location-activity-4j62hym1.js} +5 -5
- package/dist/chunks/{persistent-pty-4pyp9zr9.js → location-activity-4pyp9zr9.js} +1 -1
- package/dist/chunks/{persistent-pty-chs9fz48.js → location-activity-4s541ks1.js} +32 -32
- package/dist/chunks/{persistent-pty-qeq89js1.js → location-activity-4sydjvze.js} +6 -6
- package/dist/chunks/{persistent-pty-4v008n1t.js → location-activity-4v008n1t.js} +1 -1
- package/dist/chunks/{persistent-pty-4vzr2b15.js → location-activity-4vzr2b15.js} +3 -3
- package/dist/chunks/{persistent-pty-0bgm53cb.js → location-activity-510qrtcz.js} +8 -8
- package/dist/chunks/{persistent-pty-m3qxcrv4.js → location-activity-5aknxtaa.js} +20 -20
- package/dist/chunks/{persistent-pty-syv1b86k.js → location-activity-5d4m7gvw.js} +18 -18
- package/dist/chunks/{persistent-pty-5m9w47nd.js → location-activity-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-x68gzpe3.js → location-activity-5mnj6xva.js} +9 -9
- package/dist/chunks/{persistent-pty-s47rahr7.js → location-activity-5whx36p1.js} +4 -4
- package/dist/chunks/{persistent-pty-cct49zht.js → location-activity-62rzdr7z.js} +5 -5
- package/dist/chunks/{persistent-pty-wtzwx2np.js → location-activity-64bt5e2s.js} +12 -12
- package/dist/chunks/{persistent-pty-67mxzy6e.js → location-activity-67mxzy6e.js} +1 -1
- package/dist/chunks/{persistent-pty-79ktbp6e.js → location-activity-6fvjxv8r.js} +9 -9
- package/dist/chunks/{persistent-pty-fsfxa1dm.js → location-activity-6fw1easb.js} +9 -9
- package/dist/chunks/{persistent-pty-9f3jsh1d.js → location-activity-6h8vcvjm.js} +9 -9
- package/dist/chunks/{persistent-pty-m0gethed.js → location-activity-6qfb11te.js} +24 -24
- package/dist/chunks/{persistent-pty-27ka4x0n.js → location-activity-6qfd54tr.js} +9 -9
- package/dist/chunks/{persistent-pty-6y2b864j.js → location-activity-6y2b864j.js} +1 -1
- package/dist/chunks/{persistent-pty-wsaeky5c.js → location-activity-6zqj57jz.js} +30 -30
- package/dist/chunks/{persistent-pty-9zwexsxs.js → location-activity-78p2h4ex.js} +5 -5
- package/dist/chunks/{persistent-pty-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-ndt8s4x6.js → location-activity-7cayqy5d.js} +5 -5
- package/dist/chunks/{persistent-pty-fyazzfvp.js → location-activity-7dhft84n.js} +16 -16
- package/dist/chunks/{persistent-pty-00d8nzmf.js → location-activity-7dnjyp96.js} +7 -7
- package/dist/chunks/{persistent-pty-4h3am8af.js → location-activity-7mseqapy.js} +37 -37
- package/dist/chunks/{persistent-pty-cahhqd74.js → location-activity-7nnwb549.js} +15 -15
- package/dist/chunks/{persistent-pty-cycwgpca.js → location-activity-7r19kxps.js} +9 -9
- package/dist/chunks/{persistent-pty-kmzgegqq.js → location-activity-7tpyp9vw.js} +8 -8
- package/dist/chunks/{persistent-pty-7w2ypzdf.js → location-activity-7w2ypzdf.js} +1 -1
- package/dist/chunks/{persistent-pty-7weczvnd.js → location-activity-7weczvnd.js} +1 -1
- package/dist/chunks/{persistent-pty-80mg3ag8.js → location-activity-80mg3ag8.js} +3 -3
- package/dist/chunks/{persistent-pty-80pdk984.js → location-activity-80pdk984.js} +1 -1
- package/dist/chunks/location-activity-8258e8nj.js +571 -0
- package/dist/chunks/{persistent-pty-b9ww1fvf.js → location-activity-889wyzdh.js} +8 -8
- package/dist/chunks/{persistent-pty-kzncg94e.js → location-activity-88p3h7nk.js} +22 -22
- package/dist/chunks/{persistent-pty-m9cv6g17.js → location-activity-8dbjg6mz.js} +4 -4
- package/dist/chunks/{persistent-pty-0k2ysg4e.js → location-activity-8fnj0geg.js} +96 -102
- package/dist/chunks/{persistent-pty-75ryxqjp.js → location-activity-8gja9xgt.js} +31 -31
- package/dist/chunks/{persistent-pty-2gsh130x.js → location-activity-8j3yax1c.js} +170 -170
- package/dist/chunks/{persistent-pty-gpgjm6pk.js → location-activity-8jgeksv4.js} +12 -12
- package/dist/chunks/{persistent-pty-cgvm0v2b.js → location-activity-8kfmsamr.js} +5 -5
- package/dist/chunks/{persistent-pty-bb3mmwvh.js → location-activity-8sxe6kv8.js} +2 -2
- package/dist/chunks/{persistent-pty-8wtp7s3z.js → location-activity-8wtp7s3z.js} +1 -1
- package/dist/chunks/{persistent-pty-1sesbncw.js → location-activity-8x7rdfvs.js} +5 -5
- package/dist/chunks/{persistent-pty-3xt58t8k.js → location-activity-8zepfx5h.js} +16 -16
- package/dist/chunks/{persistent-pty-8zv0xmg5.js → location-activity-8zv0xmg5.js} +1 -1
- package/dist/chunks/{persistent-pty-azaz8swp.js → location-activity-90cg0bk4.js} +59 -59
- package/dist/chunks/{persistent-pty-bs9ct2t6.js → location-activity-93maa4yb.js} +15 -15
- package/dist/chunks/{persistent-pty-mags7jcv.js → location-activity-9bpg3tt7.js} +1 -1
- package/dist/chunks/{persistent-pty-dyyem79e.js → location-activity-9bzxhkep.js} +24 -22
- package/dist/chunks/{persistent-pty-q53r7jxg.js → location-activity-9cjasp80.js} +2 -2
- package/dist/chunks/{persistent-pty-tnh82bfg.js → location-activity-9ggd1j8m.js} +22 -22
- package/dist/chunks/{persistent-pty-0g5c7cmg.js → location-activity-9r2t10a4.js} +11 -11
- package/dist/chunks/{persistent-pty-9rqfe4ad.js → location-activity-9rqfe4ad.js} +1 -1
- package/dist/chunks/{persistent-pty-xz07m27x.js → location-activity-9sk33afj.js} +6 -6
- package/dist/chunks/{persistent-pty-6eq73h10.js → location-activity-9vbcan47.js} +10 -10
- package/dist/chunks/{persistent-pty-2vywdpsz.js → location-activity-a39f6ma8.js} +14 -14
- package/dist/chunks/{persistent-pty-x8b639v8.js → location-activity-a7t4d85n.js} +19 -19
- package/dist/chunks/{persistent-pty-7c4w75tq.js → location-activity-a9xkd458.js} +8 -8
- package/dist/chunks/{persistent-pty-7nedf101.js → location-activity-ac2m4w5t.js} +24 -24
- package/dist/chunks/{persistent-pty-18b1hh0p.js → location-activity-ac642rmg.js} +9 -9
- package/dist/chunks/{persistent-pty-fcrx8q29.js → location-activity-avj9j4j9.js} +5 -5
- package/dist/chunks/{persistent-pty-3cbjf1nt.js → location-activity-ayjs7tqn.js} +2 -2
- package/dist/chunks/{persistent-pty-sd64mz2a.js → location-activity-aywyxfd5.js} +10 -10
- package/dist/chunks/{persistent-pty-m8zx2yvr.js → location-activity-b5gsnw86.js} +6 -6
- package/dist/chunks/{persistent-pty-576xydex.js → location-activity-b9a7y4ft.js} +9 -9
- package/dist/chunks/{persistent-pty-1p31vrwb.js → location-activity-bdznyaxe.js} +12 -12
- package/dist/chunks/{persistent-pty-1920g9pm.js → location-activity-bsfmt1kn.js} +15 -15
- package/dist/chunks/{persistent-pty-bstexjd6.js → location-activity-bstexjd6.js} +1 -1
- package/dist/chunks/{persistent-pty-tty3rz1f.js → location-activity-bw28vmby.js} +27 -27
- package/dist/chunks/{persistent-pty-s6r0q7cv.js → location-activity-bx9zrw8k.js} +12 -12
- package/dist/chunks/{persistent-pty-zpdbqgja.js → location-activity-by8ty0bx.js} +4 -4
- package/dist/chunks/{persistent-pty-rhv95hk9.js → location-activity-c6x7d2ts.js} +7 -7
- package/dist/chunks/{persistent-pty-k0f962d1.js → location-activity-cb5m3w1v.js} +1 -1
- package/dist/chunks/{persistent-pty-wm90eka7.js → location-activity-cded3nca.js} +6 -6
- package/dist/chunks/{persistent-pty-myjye4h5.js → location-activity-cmrcpy67.js} +9 -9
- package/dist/chunks/{persistent-pty-vbfeqqyf.js → location-activity-cny6t0ze.js} +11 -11
- package/dist/chunks/{persistent-pty-021eawgn.js → location-activity-cvncg7pk.js} +46 -46
- package/dist/chunks/{persistent-pty-cwrgdav8.js → location-activity-cwrgdav8.js} +2 -2
- package/dist/chunks/{persistent-pty-kzdam8c6.js → location-activity-cxab28sr.js} +5 -5
- package/dist/chunks/{persistent-pty-js7tyv8y.js → location-activity-cxj34pqw.js} +18 -18
- package/dist/chunks/{persistent-pty-d4v9tmah.js → location-activity-d4v9tmah.js} +2 -2
- package/dist/chunks/{persistent-pty-e57s5jf4.js → location-activity-d8k69rrj.js} +12 -12
- package/dist/chunks/{persistent-pty-6vh0vyy2.js → location-activity-ddb8r7xy.js} +4 -4
- package/dist/chunks/{persistent-pty-ytcxcgws.js → location-activity-ddftaxpm.js} +18 -18
- package/dist/chunks/{persistent-pty-65n9jqtg.js → location-activity-dkrnptrz.js} +11 -11
- package/dist/chunks/{persistent-pty-s6mybr77.js → location-activity-dps2qcf8.js} +5 -5
- package/dist/chunks/{persistent-pty-dt77769w.js → location-activity-dt77769w.js} +1 -1
- package/dist/chunks/{persistent-pty-fyfzbt3s.js → location-activity-dv250zvr.js} +2 -2
- package/dist/chunks/{persistent-pty-3sfneeay.js → location-activity-e0q4wf65.js} +26 -26
- package/dist/chunks/{persistent-pty-j0zznkf8.js → location-activity-e4zpg4z0.js} +25 -25
- package/dist/chunks/{persistent-pty-8ph304nh.js → location-activity-e6gdtkv8.js} +54 -54
- package/dist/chunks/{persistent-pty-aj3tvxn5.js → location-activity-e8zxjyz3.js} +47 -47
- package/dist/chunks/{persistent-pty-dbwvxspc.js → location-activity-ecj07vsr.js} +5 -5
- package/dist/chunks/{persistent-pty-gra18tqp.js → location-activity-efbpez59.js} +2 -2
- package/dist/chunks/{persistent-pty-n3vtawq1.js → location-activity-efc55t7r.js} +5 -5
- package/dist/chunks/{persistent-pty-v8wxce3j.js → location-activity-ek948a01.js} +16 -16
- package/dist/chunks/{persistent-pty-r45nfa48.js → location-activity-ekhvmsd2.js} +9 -9
- package/dist/chunks/{persistent-pty-4qr8me9t.js → location-activity-eprtraqv.js} +51 -51
- package/dist/chunks/{persistent-pty-eqw4pqj1.js → location-activity-eqw4pqj1.js} +2 -2
- package/dist/chunks/{persistent-pty-v6rcf05t.js → location-activity-evmz9kb3.js} +5 -5
- package/dist/chunks/{persistent-pty-bjm764ph.js → location-activity-f15j4dgd.js} +24 -24
- package/dist/chunks/{persistent-pty-s5f28rtz.js → location-activity-f88g8qgt.js} +15 -15
- package/dist/chunks/{persistent-pty-zwzrrsgb.js → location-activity-f9wak4r7.js} +28 -28
- package/dist/chunks/location-activity-fac24x5v.js +26 -0
- package/dist/chunks/{persistent-pty-crrcr980.js → location-activity-fd7khgeb.js} +8 -8
- package/dist/chunks/{persistent-pty-2q09cksc.js → location-activity-fd93cpf7.js} +13 -13
- package/dist/chunks/{persistent-pty-fffv3p7h.js → location-activity-fffv3p7h.js} +1 -1
- package/dist/chunks/{persistent-pty-fg9p65nk.js → location-activity-fg9p65nk.js} +2 -2
- package/dist/chunks/{persistent-pty-hrqdgrax.js → location-activity-fkaf8bsr.js} +29 -29
- package/dist/chunks/{persistent-pty-w98wyk66.js → location-activity-fqspfaqz.js} +6 -6
- package/dist/chunks/{persistent-pty-6679kzb1.js → location-activity-fscg06tv.js} +3 -3
- package/dist/chunks/{persistent-pty-vtjrwfmx.js → location-activity-fv4w1p1a.js} +11 -11
- package/dist/chunks/{persistent-pty-g4txs7zc.js → location-activity-g4txs7zc.js} +4 -4
- package/dist/chunks/{persistent-pty-gfa77hh3.js → location-activity-g560pw3b.js} +3 -3
- package/dist/chunks/{persistent-pty-8a5ffhv6.js → location-activity-g5cv56w6.js} +16 -16
- package/dist/chunks/{persistent-pty-v1n7yrde.js → location-activity-g6hb547x.js} +7 -7
- package/dist/chunks/{persistent-pty-gbjdnr5j.js → location-activity-gbjdnr5j.js} +2 -2
- package/dist/chunks/{persistent-pty-zrjjm8jj.js → location-activity-gfdh7c4s.js} +11 -11
- package/dist/chunks/{persistent-pty-r5771ffp.js → location-activity-ggpacbaz.js} +27 -27
- package/dist/chunks/{persistent-pty-pn1g3a6b.js → location-activity-ghc591q0.js} +9 -9
- package/dist/chunks/{persistent-pty-ghrv1g9c.js → location-activity-ghrv1g9c.js} +1 -1
- package/dist/chunks/{persistent-pty-pgm9r03y.js → location-activity-gj6pb42a.js} +8 -8
- package/dist/chunks/{persistent-pty-gwyytpcj.js → location-activity-gwyytpcj.js} +3 -3
- package/dist/chunks/{persistent-pty-gxs71cxp.js → location-activity-gxs71cxp.js} +1 -1
- package/dist/chunks/{persistent-pty-4gx9s146.js → location-activity-h097nhc1.js} +8 -8
- package/dist/chunks/{persistent-pty-mqwv2vx4.js → location-activity-h0nzr4sv.js} +24 -24
- package/dist/chunks/{persistent-pty-cqb0n3fq.js → location-activity-h7v194n2.js} +14 -14
- package/dist/chunks/{persistent-pty-cebm6gh7.js → location-activity-hegf1ek4.js} +26 -26
- package/dist/chunks/{persistent-pty-hgzwgvze.js → location-activity-hgzwgvze.js} +2 -2
- package/dist/chunks/{persistent-pty-4c380jdv.js → location-activity-hpc0gk8b.js} +5 -5
- package/dist/chunks/{persistent-pty-d01dvtjs.js → location-activity-hss7c9jn.js} +9 -9
- package/dist/chunks/{persistent-pty-dxzcjhf2.js → location-activity-hx7jc2hb.js} +39 -39
- package/dist/chunks/{persistent-pty-tbxzr82g.js → location-activity-hy0t0zaj.js} +41 -41
- package/dist/chunks/{persistent-pty-wtw4dg7j.js → location-activity-j02x3dyj.js} +25 -25
- package/dist/chunks/{persistent-pty-j376ae4e.js → location-activity-j376ae4e.js} +1 -1
- package/dist/chunks/{persistent-pty-xf84h0zm.js → location-activity-jb4g9t1w.js} +34 -34
- package/dist/chunks/{persistent-pty-679f891g.js → location-activity-jddpekrx.js} +26 -26
- package/dist/chunks/{persistent-pty-26wfx3k0.js → location-activity-jjvvtnfs.js} +4 -4
- package/dist/chunks/{persistent-pty-vmxsyvj6.js → location-activity-jkdcm5hg.js} +4 -4
- package/dist/chunks/{persistent-pty-jm70asfg.js → location-activity-jm70asfg.js} +1 -1
- package/dist/chunks/{persistent-pty-0mgprbja.js → location-activity-jnhgr88h.js} +6 -6
- package/dist/chunks/{persistent-pty-jxd6f16v.js → location-activity-jxd6f16v.js} +2 -2
- package/dist/chunks/{persistent-pty-rxqx09cq.js → location-activity-jxpc1pxh.js} +4 -4
- package/dist/chunks/{persistent-pty-j0c5b0my.js → location-activity-k12eexw5.js} +9 -9
- package/dist/chunks/{persistent-pty-z5v37w21.js → location-activity-k46dd5bg.js} +4 -4
- package/dist/chunks/{persistent-pty-qfndfdn2.js → location-activity-k5s2fz17.js} +18 -18
- package/dist/chunks/{persistent-pty-r9ydap1v.js → location-activity-k7x0tbw8.js} +8 -8
- package/dist/chunks/{persistent-pty-410cmxqw.js → location-activity-k8rvjwkt.js} +13 -13
- package/dist/chunks/{persistent-pty-zzzxb6t4.js → location-activity-kb1qw0vj.js} +12 -12
- package/dist/chunks/{persistent-pty-67wwskyb.js → location-activity-kbgs7tyr.js} +4 -4
- package/dist/chunks/{persistent-pty-d1x1e4m3.js → location-activity-kdgpdb69.js} +9 -9
- package/dist/chunks/{persistent-pty-te0bb5bb.js → location-activity-kgd4sn94.js} +2 -2
- package/dist/chunks/{persistent-pty-2pjsby5k.js → location-activity-kk3qvsqt.js} +27 -27
- package/dist/chunks/{persistent-pty-t74ah8g0.js → location-activity-krvkksx0.js} +8 -8
- package/dist/chunks/{persistent-pty-by3dfb9a.js → location-activity-krx4jr1c.js} +5 -5
- package/dist/chunks/{persistent-pty-kt3bjfbg.js → location-activity-kt3bjfbg.js} +1 -1
- package/dist/chunks/{persistent-pty-eevmahfp.js → location-activity-kvwam7pp.js} +82 -82
- package/dist/chunks/{persistent-pty-pkq1wpkw.js → location-activity-kwxbwfm2.js} +5 -5
- package/dist/chunks/{persistent-pty-2nh0ey4b.js → location-activity-kyarg3na.js} +15 -15
- package/dist/chunks/{persistent-pty-kzczzf4v.js → location-activity-kzczzf4v.js} +1 -1
- package/dist/chunks/{persistent-pty-91zax5nz.js → location-activity-kzye6rfv.js} +7 -7
- package/dist/chunks/{persistent-pty-1j2vdga2.js → location-activity-m127qzv8.js} +16 -16
- package/dist/chunks/{persistent-pty-m1714858.js → location-activity-m1714858.js} +1 -1
- package/dist/chunks/{persistent-pty-1ee83ay6.js → location-activity-m3ksxvf7.js} +45 -45
- package/dist/chunks/{persistent-pty-9vktj2ym.js → location-activity-m5jyyryc.js} +11 -11
- package/dist/chunks/{persistent-pty-rmwandh4.js → location-activity-m5kp9rp7.js} +6 -6
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-8z6m94af.js → location-activity-mb7mbhnz.js} +3 -3
- package/dist/chunks/{persistent-pty-1k9axd8y.js → location-activity-mdq06z4b.js} +20 -20
- package/dist/chunks/{persistent-pty-ra4xy3sf.js → location-activity-mdxr7fs4.js} +4 -4
- package/dist/chunks/{persistent-pty-y4n6pw34.js → location-activity-mgcsgjq4.js} +4 -4
- package/dist/chunks/{persistent-pty-n9dafyr4.js → location-activity-mhmcbvd0.js} +12 -12
- package/dist/chunks/{persistent-pty-9180dk1z.js → location-activity-mwn1n71a.js} +79 -79
- package/dist/chunks/{persistent-pty-88qcpm0s.js → location-activity-n6wp57kg.js} +17 -17
- package/dist/chunks/{persistent-pty-ypjs1a93.js → location-activity-n72q345c.js} +21 -21
- package/dist/chunks/{persistent-pty-pgq7k9pc.js → location-activity-nfqmn8e9.js} +32 -32
- package/dist/chunks/{persistent-pty-w7v8yaha.js → location-activity-nka2a9zj.js} +13 -13
- package/dist/chunks/{persistent-pty-yndyntgn.js → location-activity-nvk38rh1.js} +6 -6
- package/dist/chunks/{persistent-pty-m29ya97c.js → location-activity-p9a2b190.js} +17 -17
- package/dist/chunks/{persistent-pty-7ke2z32d.js → location-activity-pana0d56.js} +3 -3
- package/dist/chunks/{persistent-pty-1229n7m7.js → location-activity-pbxbpt8j.js} +20 -20
- package/dist/chunks/{persistent-pty-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-6t6mca70.js → location-activity-pmca0s6a.js} +20 -20
- package/dist/chunks/{persistent-pty-1d2avepr.js → location-activity-pv3n3gkp.js} +16 -16
- package/dist/chunks/{persistent-pty-hfcgeme7.js → location-activity-pvhhmfa8.js} +3 -3
- package/dist/chunks/{persistent-pty-s79v6bct.js → location-activity-px7qpgcn.js} +4 -4
- package/dist/chunks/{persistent-pty-ds45kb71.js → location-activity-pzwkb7hz.js} +17 -17
- package/dist/chunks/{persistent-pty-ge33ydrf.js → location-activity-q1e07ma6.js} +4 -4
- package/dist/chunks/{persistent-pty-narsds6h.js → location-activity-q2pvrber.js} +18 -18
- package/dist/chunks/{persistent-pty-89287pr7.js → location-activity-q42tzrxa.js} +14 -8
- package/dist/chunks/{persistent-pty-20pz8hm4.js → location-activity-q7xbjzkk.js} +20 -20
- package/dist/chunks/{persistent-pty-889n34gd.js → location-activity-q8k3c1gx.js} +6 -6
- package/dist/chunks/{persistent-pty-8djgdk72.js → location-activity-q8rv0re1.js} +32 -32
- package/dist/chunks/{persistent-pty-ve7s6b96.js → location-activity-q8wy1z9s.js} +3 -3
- package/dist/chunks/{persistent-pty-jh913zzv.js → location-activity-qe5b0zcy.js} +4 -4
- package/dist/chunks/{persistent-pty-zawcq8n2.js → location-activity-qfymcrwq.js} +16 -16
- package/dist/chunks/{persistent-pty-qp7r0hxv.js → location-activity-qp7r0hxv.js} +1 -1
- package/dist/chunks/{persistent-pty-pw2qb9m1.js → location-activity-qsvdrma3.js} +24 -24
- package/dist/chunks/{persistent-pty-5sz6y1na.js → location-activity-r2fekfy0.js} +5 -5
- package/dist/chunks/{persistent-pty-f146xf76.js → location-activity-r7yxfaj3.js} +11 -11
- package/dist/chunks/{persistent-pty-rb9dy4dg.js → location-activity-rb9dy4dg.js} +1 -1
- package/dist/chunks/{persistent-pty-2de9bpp3.js → location-activity-rdj4197w.js} +8 -8
- package/dist/chunks/{persistent-pty-rgc9cx3e.js → location-activity-rgc9cx3e.js} +2 -2
- package/dist/chunks/{persistent-pty-mhyjgj2x.js → location-activity-rhna2ssf.js} +26 -26
- package/dist/chunks/{persistent-pty-6ptss8kd.js → location-activity-rng9zeec.js} +21 -21
- package/dist/chunks/{persistent-pty-1yey6n2a.js → location-activity-rrr87d3s.js} +8 -8
- package/dist/chunks/{persistent-pty-rt5dr6hb.js → location-activity-rt5dr6hb.js} +1 -1
- package/dist/chunks/{persistent-pty-wnfdfa2g.js → location-activity-rzj88t76.js} +16 -16
- package/dist/chunks/{persistent-pty-s1ba0vj0.js → location-activity-s1ba0vj0.js} +2 -2
- package/dist/chunks/{persistent-pty-sbya78hr.js → location-activity-sbya78hr.js} +1 -1
- package/dist/chunks/{persistent-pty-grccfrgp.js → location-activity-smbywb2a.js} +13 -13
- package/dist/chunks/{persistent-pty-sqjzf8x2.js → location-activity-sqjzf8x2.js} +1 -1
- package/dist/chunks/{persistent-pty-hbpy0rcn.js → location-activity-sqts3p50.js} +3 -3
- package/dist/chunks/{persistent-pty-ry6j5n0w.js → location-activity-ssettrfs.js} +3 -3
- package/dist/chunks/{persistent-pty-svcy3p9a.js → location-activity-svcy3p9a.js} +1 -1
- package/dist/chunks/location-activity-sz230g83.js +265 -0
- package/dist/chunks/{persistent-pty-qava8dj6.js → location-activity-t1g2khpn.js} +11 -11
- package/dist/chunks/{persistent-pty-gs4n4z2g.js → location-activity-t7wb0apt.js} +6 -6
- package/dist/chunks/{persistent-pty-zx5gvp2n.js → location-activity-tabevs76.js} +11 -11
- package/dist/chunks/{persistent-pty-tbpn7jtk.js → location-activity-tbpn7jtk.js} +1 -1
- package/dist/chunks/{persistent-pty-tczq8hjw.js → location-activity-tczq8hjw.js} +1 -1
- package/dist/chunks/{persistent-pty-xqsw566f.js → location-activity-terekt3r.js} +5 -5
- package/dist/chunks/{persistent-pty-96gx2220.js → location-activity-trh1jbx6.js} +60 -58
- package/dist/chunks/{persistent-pty-377e96qy.js → location-activity-tsq6crq4.js} +17 -17
- package/dist/chunks/{persistent-pty-tvtps2q9.js → location-activity-tvtps2q9.js} +1 -1
- package/dist/chunks/{persistent-pty-twssxy5n.js → location-activity-twssxy5n.js} +2 -2
- package/dist/chunks/{persistent-pty-ba8zvn9k.js → location-activity-v04r6f7q.js} +14 -14
- package/dist/chunks/{persistent-pty-ff5bbvbq.js → location-activity-v2fwzkqz.js} +8 -8
- package/dist/chunks/{persistent-pty-v2r1d0zg.js → location-activity-v2r1d0zg.js} +1 -1
- package/dist/chunks/{persistent-pty-ge5a5w7j.js → location-activity-v31b92yg.js} +4 -4
- package/dist/chunks/{persistent-pty-1hgracqd.js → location-activity-v3yddtd5.js} +16 -16
- package/dist/chunks/{persistent-pty-va39f3mc.js → location-activity-v5n3nf4c.js} +6 -6
- package/dist/chunks/location-activity-vdh3rgac.js +18 -0
- package/dist/chunks/{persistent-pty-vjf35v1f.js → location-activity-vjf35v1f.js} +1 -1
- package/dist/chunks/{persistent-pty-kj951gzb.js → location-activity-vnv7ss20.js} +17 -17
- package/dist/chunks/{persistent-pty-v512wx86.js → location-activity-vrcdfdca.js} +25 -25
- package/dist/chunks/{persistent-pty-ttayexjx.js → location-activity-w1mt9bsf.js} +43 -43
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-rnktn9vv.js → location-activity-w4kcd26h.js} +14 -14
- package/dist/chunks/{persistent-pty-wr3re1en.js → location-activity-w687dnns.js} +4 -4
- package/dist/chunks/{persistent-pty-2kg89srt.js → location-activity-w79nt68w.js} +4 -4
- package/dist/chunks/{persistent-pty-xc23ff0h.js → location-activity-w87hzrb3.js} +6 -6
- package/dist/chunks/{persistent-pty-wakvkjy4.js → location-activity-wakvkjy4.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-nx4vzyjd.js → location-activity-wegkxhrn.js} +2 -2
- package/dist/chunks/{persistent-pty-sxsffefh.js → location-activity-wny58e1w.js} +23 -23
- package/dist/chunks/{persistent-pty-rg5pbdym.js → location-activity-wq9rd87h.js} +12 -12
- package/dist/chunks/{persistent-pty-wt99tj4q.js → location-activity-wt99tj4q.js} +2 -2
- package/dist/chunks/{persistent-pty-8kahevqa.js → location-activity-wtdwpc0r.js} +11 -11
- package/dist/chunks/{persistent-pty-cnj75yzs.js → location-activity-wy2y7272.js} +4 -4
- package/dist/chunks/{persistent-pty-wrszexx5.js → location-activity-wz0fwyg7.js} +3 -3
- package/dist/chunks/{persistent-pty-fwc5tj9a.js → location-activity-x3c9tvtc.js} +4 -4
- package/dist/chunks/{persistent-pty-6n49gz2e.js → location-activity-x422a9et.js} +22 -22
- package/dist/chunks/{persistent-pty-xacrkbdt.js → location-activity-xacrkbdt.js} +1 -1
- package/dist/chunks/{persistent-pty-q6ktd5wj.js → location-activity-xg1cwz7z.js} +35 -35
- package/dist/chunks/{persistent-pty-t54kw4zq.js → location-activity-xjr6c8m4.js} +7 -7
- package/dist/chunks/{persistent-pty-7a9fk795.js → location-activity-xtbmah48.js} +5 -5
- package/dist/chunks/{persistent-pty-9e1p320x.js → location-activity-xv41a6mw.js} +21 -21
- package/dist/chunks/{persistent-pty-xvn8mnch.js → location-activity-xvn8mnch.js} +1 -1
- package/dist/chunks/{persistent-pty-y8dehjp8.js → location-activity-xwfy2t4t.js} +13 -13
- package/dist/chunks/{persistent-pty-5f32stg6.js → location-activity-xznn3w6t.js} +21 -21
- package/dist/chunks/{persistent-pty-2w47fmb5.js → location-activity-xzr6wfd6.js} +5 -5
- package/dist/chunks/{persistent-pty-1zt7z6nh.js → location-activity-y0an0pgj.js} +13 -13
- package/dist/chunks/{persistent-pty-2664dn9w.js → location-activity-y1ym04kn.js} +20 -20
- package/dist/chunks/{persistent-pty-00na28bw.js → location-activity-y5zj405g.js} +22 -22
- package/dist/chunks/{persistent-pty-z0c26qk4.js → location-activity-y9c350ew.js} +2 -2
- package/dist/chunks/{persistent-pty-yb20nhc3.js → location-activity-yb20nhc3.js} +1 -1
- package/dist/chunks/{persistent-pty-ybws1qgk.js → location-activity-ybws1qgk.js} +4 -4
- package/dist/chunks/{persistent-pty-0xrjkq89.js → location-activity-yeshfv6k.js} +15 -15
- package/dist/chunks/{persistent-pty-kbzfkjas.js → location-activity-yg94xy1y.js} +24 -24
- package/dist/chunks/{persistent-pty-5eh9tjaj.js → location-activity-yjbt87ed.js} +13 -13
- package/dist/chunks/{persistent-pty-yr705xyq.js → location-activity-yr705xyq.js} +1 -1
- package/dist/chunks/{persistent-pty-ddkyqs5k.js → location-activity-yv5j6c30.js} +16 -16
- package/dist/chunks/{persistent-pty-yvtc2x31.js → location-activity-yvtc2x31.js} +1 -1
- package/dist/chunks/{persistent-pty-2ntxzg74.js → location-activity-z8bh6r34.js} +2 -2
- package/dist/chunks/{persistent-pty-k0n5zbj0.js → location-activity-za4qj2fd.js} +11 -11
- package/dist/chunks/{persistent-pty-ze75qvmd.js → location-activity-ze75qvmd.js} +3 -3
- package/dist/chunks/{persistent-pty-ayfgzbqc.js → location-activity-zf4fv60m.js} +27 -27
- package/dist/chunks/{persistent-pty-e7h7pgt8.js → location-activity-zg7db9me.js} +9 -9
- package/dist/chunks/{persistent-pty-dj72n6pz.js → location-activity-zkn3krye.js} +41 -41
- package/dist/chunks/{persistent-pty-gnkmn8c6.js → location-activity-zsycgpha.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +155 -155
- 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 +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +130 -130
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +129 -129
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +7 -7
- 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 +104 -104
- 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/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 +432 -432
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +94 -94
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +80 -80
- package/dist/location-activity.js +181 -181
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +150 -150
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +410 -410
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- 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 +4 -4
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- 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 +112 -112
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- 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 +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- 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 +106 -106
- package/dist/plugin/warming.js +128 -128
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +253 -253
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +246 -246
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +143 -143
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +240 -240
- package/dist/session/usage.js +1 -1
- package/dist/session.js +239 -239
- 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 +15 -15
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +153 -153
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +171 -171
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +163 -163
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +169 -169
- 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 +3 -3
- package/dist/tool.js +161 -161
- package/dist/types/shell/result.d.ts +1 -1
- package/dist/usage-limits.js +100 -100
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +5 -5
- 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 +109 -109
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-4h45rre0.js +0 -26
- package/dist/chunks/persistent-pty-61jdfweb.js +0 -571
- package/dist/chunks/persistent-pty-8x060fmy.js +0 -18
- package/dist/chunks/persistent-pty-z58m437x.js +0 -265
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-108x4f4w.js → location-activity-108x4f4w.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kah00gy.js → location-activity-1kah00gy.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → location-activity-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3af0jn4w.js → location-activity-3af0jn4w.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4qk9sjk2.js → location-activity-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5w3e23ze.js → location-activity-5w3e23ze.js} +0 -0
- /package/dist/chunks/{persistent-pty-6agm2x70.js → location-activity-6agm2x70.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → location-activity-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → location-activity-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-beh6qq61.js → location-activity-beh6qq61.js} +0 -0
- /package/dist/chunks/{persistent-pty-bhmrqjy3.js → location-activity-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cqv5kn06.js → location-activity-cqv5kn06.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-ean2d8b5.js → location-activity-ean2d8b5.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fkpq3x5p.js → location-activity-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → location-activity-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwr30sdr.js → location-activity-jwr30sdr.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → location-activity-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-nh4v3znn.js → location-activity-nh4v3znn.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-p71gwv9c.js → location-activity-p71gwv9c.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-syrav9an.js → location-activity-syrav9an.js} +0 -0
- /package/dist/chunks/{persistent-pty-t03h4f5z.js → location-activity-t03h4f5z.js} +0 -0
- /package/dist/chunks/{persistent-pty-ty7weeps.js → location-activity-ty7weeps.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → location-activity-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-vtarvj67.js → location-activity-vtarvj67.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x4th4bpe.js → location-activity-x4th4bpe.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-z0h12gs8.js → location-activity-z0h12gs8.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
- /package/dist/chunks/{persistent-pty-zxpyjp51.js → location-activity-zxpyjp51.js} +0 -0
- /package/dist/chunks/{persistent-pty-zz5vv3aq.js → location-activity-zz5vv3aq.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-bx9zrw8k.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make19 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make13 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make19();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make19, LMStudioPlugin2 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./location-activity-pzwkb7hz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service75
|
|
12
|
+
} from "./location-activity-tsq6crq4.js";
|
|
13
13
|
import {
|
|
14
14
|
invocation2,
|
|
15
15
|
Service70
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-f15j4dgd.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service48,
|
|
19
19
|
resolvePath2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-pmca0s6a.js";
|
|
21
21
|
import {
|
|
22
22
|
output2,
|
|
23
23
|
notice2,
|
|
24
24
|
metadata2,
|
|
25
25
|
notification2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-q42tzrxa.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service45,
|
|
29
29
|
name17
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-9bzxhkep.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
NotFoundError6,
|
|
33
|
+
Service35
|
|
34
|
+
} from "./location-activity-0zcgfmp9.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service20
|
|
37
|
+
} from "./location-activity-mwn1n71a.js";
|
|
38
38
|
import {
|
|
39
39
|
scan3
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-activity-mdxr7fs4.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/tool/plugin/shell.ts
|
|
46
46
|
var exports_shell2 = {};
|
|
47
47
|
__export(exports_shell2, {
|
|
48
48
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
49
|
-
Input: () =>
|
|
50
|
-
Plugin: () =>
|
|
49
|
+
Input: () => Input5,
|
|
50
|
+
Plugin: () => Plugin41,
|
|
51
51
|
ShellTool: () => exports_shell2,
|
|
52
|
-
name: () =>
|
|
52
|
+
name: () => name5
|
|
53
53
|
});
|
|
54
54
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
55
55
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
56
|
-
var
|
|
56
|
+
var name5 = "shell";
|
|
57
57
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
58
58
|
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.";
|
|
59
59
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -67,7 +67,7 @@ var description = (shell) => [
|
|
|
67
67
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
68
68
|
"Background commands return immediately, and you will be notified when they complete."
|
|
69
69
|
].join(" ");
|
|
70
|
-
var
|
|
70
|
+
var Input5 = Schema.Struct({
|
|
71
71
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
72
72
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
73
73
|
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."
|
|
@@ -91,14 +91,14 @@ var Output = Schema.Struct({
|
|
|
91
91
|
output: Schema.String,
|
|
92
92
|
status: Schema.optionalKey(Schema.Literals(["completed", "running"]))
|
|
93
93
|
});
|
|
94
|
-
var resultMessages = (output) => {
|
|
95
|
-
const notice = output.status === "running" ? BACKGROUND_INSTRUCTION : notice2(output);
|
|
94
|
+
var resultMessages = (output, timeout) => {
|
|
95
|
+
const notice = output.status === "running" ? BACKGROUND_INSTRUCTION : notice2(output, timeout);
|
|
96
96
|
return [...output.output ? [output.output] : [], ...notice ? [notice] : []];
|
|
97
97
|
};
|
|
98
|
-
var toolResult = (output) => {
|
|
98
|
+
var toolResult = (output, timeout) => {
|
|
99
99
|
return {
|
|
100
100
|
output,
|
|
101
|
-
content: resultMessages(output).map((text) => ({ type: "text", text })),
|
|
101
|
+
content: resultMessages(output, timeout).map((text) => ({ type: "text", text })),
|
|
102
102
|
metadata: {
|
|
103
103
|
status: output.status,
|
|
104
104
|
...metadata2(output),
|
|
@@ -113,16 +113,16 @@ Output is streaming to: ${file}`,
|
|
|
113
113
|
truncated: false,
|
|
114
114
|
status: "running"
|
|
115
115
|
});
|
|
116
|
-
var
|
|
116
|
+
var Plugin41 = {
|
|
117
117
|
id: "opencode.tool.shell",
|
|
118
118
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
119
|
-
const sessions = yield*
|
|
120
|
-
const jobs = yield*
|
|
119
|
+
const sessions = yield* Service20;
|
|
120
|
+
const jobs = yield* Service75;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
|
-
const environment = yield*
|
|
123
|
-
const access = yield*
|
|
124
|
-
const shell = yield*
|
|
125
|
-
const shellSelect = yield*
|
|
122
|
+
const environment = yield* Service58;
|
|
123
|
+
const access = yield* Service48;
|
|
124
|
+
const shell = yield* Service35;
|
|
125
|
+
const shellSelect = yield* Service45;
|
|
126
126
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
127
127
|
const permission = yield* Service70;
|
|
128
128
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
@@ -137,7 +137,7 @@ var Plugin51 = {
|
|
|
137
137
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
138
138
|
if (parsed.commands.length > 0)
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name5,
|
|
141
141
|
resources: parsed.commands.map((command) => command.resource),
|
|
142
142
|
save: parsed.commands.map((command) => command.save),
|
|
143
143
|
...invocation2(context)
|
|
@@ -152,9 +152,7 @@ var Plugin51 = {
|
|
|
152
152
|
if (!info || info.status === "running")
|
|
153
153
|
return;
|
|
154
154
|
const output = info.status === "completed" ? yield* Deferred.await(settled) : undefined;
|
|
155
|
-
const text = output ?
|
|
156
|
-
|
|
157
|
-
`) : info.status === "error" ? info.error ?? "Command failed" : "Cancelled";
|
|
155
|
+
const text = output ? info.output ?? "" : info.status === "error" ? info.error ?? "Command failed" : "Cancelled";
|
|
158
156
|
yield* sessions.synthetic({
|
|
159
157
|
...info.notificationID ? { id: info.notificationID } : {},
|
|
160
158
|
sessionID,
|
|
@@ -172,77 +170,73 @@ var Plugin51 = {
|
|
|
172
170
|
yield* jobs.completeBackground(info.notificationID);
|
|
173
171
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
174
172
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
175
|
-
name:
|
|
173
|
+
name: name5,
|
|
176
174
|
options: { codemode: false },
|
|
177
175
|
description: description(),
|
|
178
|
-
input:
|
|
176
|
+
input: Input5,
|
|
179
177
|
output: Output,
|
|
180
|
-
execute: (input, context) =>
|
|
178
|
+
execute: (input, context) => {
|
|
181
179
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
182
180
|
let finalTimeout = timeout;
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
invocation.
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
const
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
output: output.timeout ? `${output.output}
|
|
206
|
-
|
|
207
|
-
Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if the command is expected to take longer.` : output.output,
|
|
208
|
-
status: "completed"
|
|
209
|
-
};
|
|
210
|
-
}).pipe(Effect.tap((output) => Deferred.succeed(settled, output)), Effect.map((output) => resultMessages(output).join(`
|
|
181
|
+
return Effect.gen(function* () {
|
|
182
|
+
const info = yield* shell.create({
|
|
183
|
+
command: input.command,
|
|
184
|
+
cwd: input.workdir,
|
|
185
|
+
timeout,
|
|
186
|
+
shell: yield* compatibleShell,
|
|
187
|
+
metadata: { sessionID: context.sessionID }
|
|
188
|
+
}, (invocation) => Effect.gen(function* () {
|
|
189
|
+
invocation.env.AGENT = "1";
|
|
190
|
+
invocation.env.OPENCODE = "1";
|
|
191
|
+
invocation.env.AI_AGENT ||= "opencode";
|
|
192
|
+
invocation.env.OPENCODE_SESSION_ID = context.sessionID;
|
|
193
|
+
finalTimeout = yield* prepare(invocation, context);
|
|
194
|
+
}));
|
|
195
|
+
yield* context.progress({ shellID: info.id });
|
|
196
|
+
const settled = yield* Deferred.make();
|
|
197
|
+
const run = Effect.gen(function* () {
|
|
198
|
+
const result = yield* shell.result(info);
|
|
199
|
+
if (!result.capture)
|
|
200
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
201
|
+
return { ...output2(result), status: "completed" };
|
|
202
|
+
}).pipe(Effect.tap((output) => Deferred.succeed(settled, output)), Effect.map((output) => resultMessages(output, finalTimeout).join(`
|
|
211
203
|
|
|
212
204
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
205
|
+
const job = yield* jobs.start({
|
|
206
|
+
id: info.id,
|
|
207
|
+
type: name5,
|
|
208
|
+
title: info.command,
|
|
209
|
+
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
210
|
+
recovery: {
|
|
211
|
+
kind: "shell",
|
|
212
|
+
sessionID: context.sessionID,
|
|
213
|
+
shellID: info.id,
|
|
214
|
+
command: info.command
|
|
215
|
+
},
|
|
216
|
+
run
|
|
217
|
+
});
|
|
218
|
+
if (input.background === true) {
|
|
219
|
+
yield* jobs.background(job.id);
|
|
220
|
+
yield* notifyWhenDone(context.sessionID, job.id, info.id, info.command, settled);
|
|
221
|
+
return backgroundResult(info.id, info.file);
|
|
222
|
+
}
|
|
223
|
+
const result = yield* jobs.block({ id: job.id, sessionID: context.sessionID }).pipe(Effect.onInterrupt(() => jobs.cancel(job.id).pipe(Effect.ignore)));
|
|
224
|
+
if (result?.type === "backgrounded") {
|
|
225
|
+
yield* shell.timeout(info.id, 0);
|
|
226
|
+
finalTimeout = 0;
|
|
227
|
+
yield* notifyWhenDone(context.sessionID, job.id, info.id, info.command, settled);
|
|
228
|
+
return backgroundResult(info.id, info.file);
|
|
229
|
+
}
|
|
230
|
+
if (result?.info.status === "error")
|
|
231
|
+
return yield* Effect.fail(new Error(result.info.error ?? "Command failed"));
|
|
232
|
+
if (result?.info.status === "cancelled")
|
|
233
|
+
return yield* Effect.fail(new Error("Command cancelled"));
|
|
234
|
+
return yield* Deferred.await(settled);
|
|
235
|
+
}).pipe(Effect.map((output) => toolResult(output, finalTimeout)), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })));
|
|
236
|
+
}
|
|
243
237
|
})).pipe(Effect.orDie);
|
|
244
238
|
const hook = (event) => Effect.gen(function* () {
|
|
245
|
-
const tool = event.tools[
|
|
239
|
+
const tool = event.tools[name5];
|
|
246
240
|
if (!tool)
|
|
247
241
|
return;
|
|
248
242
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -253,4 +247,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
253
247
|
})
|
|
254
248
|
};
|
|
255
249
|
|
|
256
|
-
export {
|
|
250
|
+
export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin41, exports_shell2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-xvn8mnch.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-m127qzv8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID17,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-xznn3w6t.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
aisdk2,
|
|
14
14
|
mergeOverlay2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service81
|
|
16
|
+
} from "./location-activity-mdq06z4b.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
ID15
|
|
19
|
+
} from "./location-activity-0htk41c6.js";
|
|
20
20
|
import {
|
|
21
21
|
load4,
|
|
22
22
|
derive2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-4e4errwj.js";
|
|
24
24
|
import {
|
|
25
25
|
useragent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-wtdwpc0r.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID22
|
|
29
|
+
} from "./location-activity-y5zj405g.js";
|
|
30
30
|
import {
|
|
31
31
|
get5
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-activity-3nnrz6f6.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
34
|
+
Service43,
|
|
35
35
|
fingerprint2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-activity-fd7khgeb.js";
|
|
37
37
|
import {
|
|
38
38
|
start3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-activity-r2fekfy0.js";
|
|
40
40
|
import {
|
|
41
41
|
activeCredential2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-activity-q8k3c1gx.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/provider/github-copilot.ts
|
|
45
45
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -73,7 +73,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
73
73
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
74
74
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
75
75
|
var oauth = (app) => ({
|
|
76
|
-
integrationID:
|
|
76
|
+
integrationID: ID17.make("github-copilot"),
|
|
77
77
|
method: {
|
|
78
78
|
id: methodID,
|
|
79
79
|
type: "oauth",
|
|
@@ -171,8 +171,8 @@ var oauth = (app) => ({
|
|
|
171
171
|
var GithubCopilotPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.github.copilot",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const providers = yield*
|
|
175
|
-
const cache = yield*
|
|
174
|
+
const providers = yield* Service81;
|
|
175
|
+
const cache = yield* Service43;
|
|
176
176
|
const http = yield* HttpClient.HttpClient;
|
|
177
177
|
const outbound = yield* FetchHttpClient.Fetch;
|
|
178
178
|
const discovered = yield* start3({
|
|
@@ -185,7 +185,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
185
185
|
if (!connection || credential?.type !== "oauth")
|
|
186
186
|
return { connection, value: {} };
|
|
187
187
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
188
|
-
const headers = (yield* providers.get(
|
|
188
|
+
const headers = (yield* providers.get(ID16.githubCopilot))?.headers ?? {};
|
|
189
189
|
const models = yield* cache.get({
|
|
190
190
|
key: modelsKey(connection, url, headers),
|
|
191
191
|
...options,
|
|
@@ -206,7 +206,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
206
206
|
editor.method.update(oauth(ctx.app));
|
|
207
207
|
});
|
|
208
208
|
yield* ctx.provider.transform((evt) => {
|
|
209
|
-
const item = evt.get(
|
|
209
|
+
const item = evt.get(ID16.githubCopilot);
|
|
210
210
|
if (!item)
|
|
211
211
|
return;
|
|
212
212
|
const loaded = discovered.current;
|
|
@@ -235,8 +235,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
235
235
|
}
|
|
236
236
|
});
|
|
237
237
|
yield* ctx.model.transform((models) => {
|
|
238
|
-
if (models.get(
|
|
239
|
-
models.update(
|
|
238
|
+
if (models.get(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"))) {
|
|
239
|
+
models.update(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"), (model) => {
|
|
240
240
|
model.enabled = false;
|
|
241
241
|
});
|
|
242
242
|
}
|
|
@@ -247,7 +247,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
247
247
|
evt.options.fetch = copilotFetch2(typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined, evt.options.fetch, ctx.app);
|
|
248
248
|
const mod = yield* Effect.promise(() => import("../github-copilot/copilot-provider.js"));
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
|
-
}), { providerID:
|
|
250
|
+
}), { providerID: ID16.githubCopilot });
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
252
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
253
253
|
return;
|
|
@@ -257,12 +257,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
257
257
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
258
258
|
if (interaction !== "conversation-agent")
|
|
259
259
|
evt.headers["x-initiator"] = "agent";
|
|
260
|
-
}), { providerID:
|
|
260
|
+
}), { providerID: ID16.githubCopilot });
|
|
261
261
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
262
262
|
const loaded = discovered.current;
|
|
263
263
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
264
264
|
return;
|
|
265
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
265
|
+
const agent = yield* ctx.agent.get({ agentID: ID22.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
266
266
|
return;
|
|
267
267
|
}));
|
|
268
268
|
if (agent?.data.model)
|
|
@@ -273,7 +273,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
273
273
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app, fetch: outbound }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
274
274
|
return;
|
|
275
275
|
}));
|
|
276
|
-
}), { providerID:
|
|
276
|
+
}), { providerID: ID16.githubCopilot });
|
|
277
277
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
278
278
|
const token = evt.request.headers.get("x-api-key");
|
|
279
279
|
if (!token)
|
|
@@ -281,7 +281,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
281
281
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
282
282
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
283
283
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body));
|
|
284
|
-
}), { providerID:
|
|
284
|
+
}), { providerID: ID16.githubCopilot });
|
|
285
285
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
286
286
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
287
287
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -299,7 +299,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
299
299
|
const gpt = /^gpt-(\d+)/.exec(id);
|
|
300
300
|
const responses = gpt !== null && Number(gpt[1]) >= 5 && !id.startsWith("gpt-5-mini") || id.startsWith("grok-") || id.startsWith("mai-code-");
|
|
301
301
|
evt.language = responses ? evt.sdk.responses(id) : evt.sdk.chat(id);
|
|
302
|
-
}), { providerID:
|
|
302
|
+
}), { providerID: ID16.githubCopilot });
|
|
303
303
|
})
|
|
304
304
|
});
|
|
305
305
|
function modelsKey(connection, url, headers) {
|