@opencode/core 0.0.0-dev-19987 → 0.0.0-dev-19989
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{state-63xxrs1k.js → integration-02e8rxmk.js} +11 -11
- package/dist/chunks/{state-kd9z5t9k.js → integration-03j9b3jk.js} +58 -58
- package/dist/chunks/{state-m3zza4qd.js → integration-05xfxpq7.js} +8 -8
- package/dist/chunks/{state-6wdhtwwf.js → integration-09narjj3.js} +19 -19
- package/dist/chunks/{state-4ysqm8zf.js → integration-0fpecbz0.js} +14 -14
- package/dist/chunks/{state-qgn6gcr1.js → integration-0jwsre1p.js} +5 -5
- package/dist/chunks/{state-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-0q0f95c6.js → integration-0q0f95c6.js} +1 -1
- package/dist/chunks/{state-hcp58akx.js → integration-0tdteykj.js} +43 -43
- package/dist/chunks/{state-07pd4vcj.js → integration-182k75zp.js} +10 -10
- package/dist/chunks/{state-dsybc7nn.js → integration-187bvr26.js} +26 -26
- package/dist/chunks/{state-zhq6vg7a.js → integration-19w9qk9n.js} +1 -1
- package/dist/chunks/{state-1acjjqhc.js → integration-1acjjqhc.js} +1 -1
- package/dist/chunks/{state-3sdc9e54.js → integration-1cx00bqb.js} +11 -11
- package/dist/chunks/{state-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-1chcdynj.js → integration-1fhwmga5.js} +15 -15
- package/dist/chunks/{state-ratrq7cm.js → integration-1g7epwpd.js} +7 -7
- package/dist/chunks/{state-dx8srcfp.js → integration-1hmf3n9v.js} +24 -24
- package/dist/chunks/{state-jf8j6bh6.js → integration-1w0ze9ww.js} +10 -10
- package/dist/chunks/integration-1x11rq2a.js +18 -0
- package/dist/chunks/{state-1ygqh575.js → integration-1ygqh575.js} +2 -2
- package/dist/chunks/{state-amgg2zvk.js → integration-20bc4xwk.js} +10 -10
- package/dist/chunks/{state-21r38tys.js → integration-21r38tys.js} +1 -1
- package/dist/chunks/{state-920akmr8.js → integration-21x81dn7.js} +13 -13
- package/dist/chunks/{state-2402vzrj.js → integration-2402vzrj.js} +1 -1
- package/dist/chunks/{state-jt5zqcnj.js → integration-24pra0tb.js} +23 -23
- package/dist/chunks/{state-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-vtt0yr3x.js → integration-2c7hjkzv.js} +13 -13
- package/dist/chunks/{state-54tz6as1.js → integration-2e1bjvsf.js} +9 -9
- package/dist/chunks/{state-xsjeyn3d.js → integration-2egga9pe.js} +22 -22
- package/dist/chunks/{state-94s48bjb.js → integration-2hg7qvzt.js} +5 -5
- package/dist/chunks/{state-e2qnmkmv.js → integration-2trq3hb0.js} +16 -16
- package/dist/chunks/{state-2df1zbc2.js → integration-2v69z2tf.js} +32 -32
- package/dist/chunks/{state-g61g38x8.js → integration-2vf4e947.js} +12 -12
- package/dist/chunks/{state-bxa5630a.js → integration-2z2t85b8.js} +9 -9
- package/dist/chunks/integration-377qe2jc.js +503 -0
- package/dist/chunks/{state-7bx1s60a.js → integration-37nf6pc6.js} +89 -89
- package/dist/chunks/{state-qt4daa5e.js → integration-389yye29.js} +37 -37
- package/dist/chunks/{state-zepzj8t0.js → integration-38wtynka.js} +26 -26
- package/dist/chunks/{state-7hvzkmeb.js → integration-39nmrk64.js} +11 -11
- package/dist/chunks/{state-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-3j9bgvtg.js → integration-3j9bgvtg.js} +2 -2
- package/dist/chunks/{state-ydm596x3.js → integration-3px23hty.js} +14 -14
- package/dist/chunks/{state-w1vgrpj6.js → integration-3py9tntd.js} +3 -3
- package/dist/chunks/{state-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-44ke2mar.js → integration-3tq5qxbk.js} +8 -8
- package/dist/chunks/{state-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-bbfste2n.js → integration-3xy8va9h.js} +12 -12
- package/dist/chunks/{state-xzx5fa3q.js → integration-3yac4whj.js} +50 -50
- package/dist/chunks/{state-jjd79y98.js → integration-40syfmqs.js} +17 -17
- package/dist/chunks/{state-pnrmr4rz.js → integration-43t7v33g.js} +5 -5
- package/dist/chunks/{state-h3c9f1nz.js → integration-48j2zt1v.js} +11 -11
- package/dist/chunks/{state-g82jw6gg.js → integration-4922jtsz.js} +4 -4
- package/dist/chunks/{state-9a5q7tkv.js → integration-4c4kdbcc.js} +22 -22
- package/dist/chunks/{state-7a0djmqj.js → integration-4qawj64e.js} +3 -3
- package/dist/chunks/{state-4dyvnqdf.js → integration-4wda806b.js} +4 -4
- package/dist/chunks/{state-ggcakazf.js → integration-4wjgkdq6.js} +11 -11
- package/dist/chunks/{state-xfkkasph.js → integration-57b9ws8p.js} +7 -7
- package/dist/chunks/{state-a1bz86dw.js → integration-5c4hm403.js} +3 -3
- package/dist/chunks/{state-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{state-rzd4jsfj.js → integration-5dfqdsj7.js} +14 -14
- package/dist/chunks/{state-m7va1g8x.js → integration-5frpvc34.js} +2 -2
- package/dist/chunks/{state-jdwnx8pe.js → integration-5j0yb59s.js} +39 -39
- package/dist/chunks/{state-g4dbe96p.js → integration-5p1rfdyq.js} +23 -23
- package/dist/chunks/{state-zghndv56.js → integration-5rdwjsjt.js} +28 -28
- package/dist/chunks/{state-tn0aqsam.js → integration-5sj81wm5.js} +5 -5
- package/dist/chunks/{state-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-5yzzbxa7.js → integration-5yzzbxa7.js} +1 -1
- package/dist/chunks/{state-2e69wwha.js → integration-656y7mct.js} +29 -29
- package/dist/chunks/{state-669tq793.js → integration-669tq793.js} +1 -1
- package/dist/chunks/{state-8nar0chc.js → integration-67bv38kp.js} +18 -18
- package/dist/chunks/{state-beg6ypph.js → integration-68n7hrte.js} +20 -20
- package/dist/chunks/{state-mb0j4q21.js → integration-6gya8kk4.js} +8 -8
- package/dist/chunks/{state-ajdjch6h.js → integration-6hjx5zpb.js} +9 -9
- package/dist/chunks/{state-wday4843.js → integration-6kwbg8wh.js} +11 -11
- package/dist/chunks/{state-6msgmcgs.js → integration-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-k9eqq2e9.js → integration-6prmm348.js} +17 -17
- package/dist/chunks/{state-aj2z9raa.js → integration-6qm6swf7.js} +1 -1
- package/dist/chunks/{state-ec87kc5z.js → integration-6rjq4ad6.js} +4 -4
- package/dist/chunks/{state-cdzfnnfc.js → integration-6ryjh4tb.js} +9 -9
- package/dist/chunks/{state-hk9vqsvv.js → integration-6t859kwb.js} +8 -8
- package/dist/chunks/{state-xns7fgqg.js → integration-72m6hkvd.js} +6 -6
- package/dist/chunks/{state-40rc7ac6.js → integration-75j49bre.js} +5 -5
- package/dist/chunks/{state-vcb4zatg.js → integration-770a54sa.js} +4 -4
- package/dist/chunks/{state-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-7w3s9kd0.js → integration-7s6gk46a.js} +7 -7
- package/dist/chunks/{state-dedzzeqk.js → integration-7xk93j5g.js} +9 -9
- package/dist/chunks/{state-cvfdeyxj.js → integration-7ycq9z6v.js} +17 -17
- package/dist/chunks/{state-5c0f1prt.js → integration-81czwxpn.js} +4 -4
- package/dist/chunks/{state-s8a6xw4k.js → integration-87zr47vs.js} +13 -13
- package/dist/chunks/{state-pjd8p6gf.js → integration-8ca7gxyh.js} +38 -38
- package/dist/chunks/{state-yjptyezs.js → integration-8cmvxv2n.js} +5 -5
- package/dist/chunks/{state-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-256nx13v.js → integration-8q7cq0y1.js} +3 -3
- package/dist/chunks/{state-gnrsfd5m.js → integration-9d2414c3.js} +28 -28
- package/dist/chunks/{state-tkwnk4jh.js → integration-9dh77anx.js} +7 -7
- package/dist/chunks/{state-stxdqzsk.js → integration-a0zk2rzn.js} +24 -24
- package/dist/chunks/{state-9wev4xx9.js → integration-a2t1w91b.js} +10 -10
- package/dist/chunks/{state-p6hvzet5.js → integration-a400dzpg.js} +5 -5
- package/dist/chunks/{state-5gt7xfyw.js → integration-a4j0h1fs.js} +11 -11
- package/dist/chunks/{state-ec6wrcn5.js → integration-a7cjve08.js} +16 -16
- package/dist/chunks/{state-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{state-g6rzw7q6.js → integration-aqjh8shd.js} +27 -27
- package/dist/chunks/{state-x704vwdd.js → integration-as71pn4z.js} +12 -12
- package/dist/chunks/{state-4rzsfdgf.js → integration-asb0e5kp.js} +12 -12
- package/dist/chunks/{state-mvbvb2ym.js → integration-b2p7bkwd.js} +4 -4
- package/dist/chunks/{state-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-tnwmy3fn.js → integration-b6vw8m9y.js} +3 -3
- package/dist/chunks/{state-969v6yxw.js → integration-b6xep9de.js} +4 -4
- package/dist/chunks/{state-x392k3xw.js → integration-b8zd1dgj.js} +17 -17
- package/dist/chunks/{state-ww9qvp54.js → integration-btbt01w5.js} +5 -5
- package/dist/chunks/{state-jf72b1az.js → integration-bzmfcsv9.js} +26 -26
- package/dist/chunks/{state-14xcjfaz.js → integration-c0r6f7mm.js} +23 -23
- package/dist/chunks/{state-qdjw24f7.js → integration-c4dzwhsa.js} +42 -42
- package/dist/chunks/{state-qe2799nx.js → integration-c6zy8edb.js} +27 -27
- package/dist/chunks/{state-8h1rar5v.js → integration-cccfnh5a.js} +26 -26
- package/dist/chunks/{state-nbhnp41v.js → integration-cjjah1w8.js} +16 -16
- package/dist/chunks/{state-7bazm11g.js → integration-cpkwkf9h.js} +46 -46
- package/dist/chunks/{state-gjwgx2c5.js → integration-cwa6csj7.js} +9 -9
- package/dist/chunks/{state-2a6rn6yr.js → integration-d0k1g5nx.js} +6 -6
- package/dist/chunks/{state-85e1v2sb.js → integration-d2wn45h0.js} +9 -9
- package/dist/chunks/{state-qbke3kgq.js → integration-d7wd0fc3.js} +24 -24
- package/dist/chunks/{state-4sn99hha.js → integration-d9s573fh.js} +7 -7
- package/dist/chunks/{state-nejw5358.js → integration-d9zdz2z2.js} +32 -32
- package/dist/chunks/{state-xk69ahjq.js → integration-dcgqazna.js} +177 -177
- package/dist/chunks/{state-af04s6ss.js → integration-ddj0ymwc.js} +5 -5
- package/dist/chunks/{state-dsambs2d.js → integration-df3df5tx.js} +1 -1
- package/dist/chunks/{state-12n9xz34.js → integration-dfmjf6m5.js} +7 -7
- package/dist/chunks/{state-8p4f9s12.js → integration-dj2t23y0.js} +2 -2
- package/dist/chunks/{state-35k05k98.js → integration-dm45fdp1.js} +27 -27
- package/dist/chunks/{state-9x6v8nxw.js → integration-dn0hfwjd.js} +17 -17
- package/dist/chunks/{state-fw2v9256.js → integration-dpja50vx.js} +8 -8
- package/dist/chunks/{state-vq0pq1hf.js → integration-dyny52wp.js} +10 -10
- package/dist/chunks/{state-j2e42xvh.js → integration-dz9vhg1s.js} +17 -17
- package/dist/chunks/{state-vmvde4w9.js → integration-e0x1410n.js} +12 -12
- package/dist/chunks/{state-9a3ps1ng.js → integration-e8cxnywm.js} +53 -53
- package/dist/chunks/{state-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-mgaev69e.js → integration-eq3wzp13.js} +20 -20
- package/dist/chunks/{state-vsgqqedx.js → integration-eqpk1bdp.js} +12 -12
- package/dist/chunks/{state-erw5rpbs.js → integration-erw5rpbs.js} +2 -2
- package/dist/chunks/{state-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-cq37gk0t.js → integration-evq6r5pz.js} +4 -4
- package/dist/chunks/{state-24r7k6mc.js → integration-f5wf4yvx.js} +18 -18
- package/dist/chunks/{state-9gsqbh9p.js → integration-f8pfj2sc.js} +15 -15
- package/dist/chunks/{state-68bmj4r5.js → integration-fc3y0cf9.js} +30 -30
- package/dist/chunks/{state-bzbmf0ke.js → integration-fdhrvswx.js} +15 -15
- package/dist/chunks/{state-ncvzejv0.js → integration-fnmgnefe.js} +23 -23
- package/dist/chunks/{state-7e0d1mpp.js → integration-fthkkkhg.js} +3 -3
- package/dist/chunks/{state-fxbjtjnd.js → integration-fxbjtjnd.js} +1 -1
- package/dist/chunks/{state-vjbq76n5.js → integration-fza5jp61.js} +24 -24
- package/dist/chunks/{state-43n7bj9p.js → integration-g26xt907.js} +22 -22
- package/dist/chunks/{state-maj0r7ss.js → integration-g3ggp856.js} +27 -27
- package/dist/chunks/{state-3rgktn1y.js → integration-g3nv7gdt.js} +3 -3
- package/dist/chunks/{state-td6ehhd6.js → integration-g53y8d7p.js} +11 -11
- package/dist/chunks/{state-24dd53tp.js → integration-g74mfj6n.js} +9 -9
- package/dist/chunks/{state-5g1k2x2w.js → integration-g99b61ts.js} +19 -19
- package/dist/chunks/{state-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-4dgbcxzg.js → integration-h6r3nrb9.js} +4 -4
- package/dist/chunks/{state-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-tz4g707y.js → integration-h7kye0w6.js} +31 -31
- package/dist/chunks/{state-f828m53h.js → integration-hdnk95c8.js} +2 -2
- package/dist/chunks/{state-z3nay82g.js → integration-hes1j7ga.js} +9 -9
- package/dist/chunks/{state-1j9zc48m.js → integration-hf35qd4r.js} +6 -6
- package/dist/chunks/{state-zh7z2axx.js → integration-hkxx6036.js} +4 -4
- package/dist/chunks/{state-satmk7yw.js → integration-hm85x9m1.js} +5 -5
- package/dist/chunks/{state-khdh8nas.js → integration-hp4jmy1m.js} +28 -28
- package/dist/chunks/{state-4jm74est.js → integration-hrsemg44.js} +23 -23
- package/dist/chunks/{state-f35htakt.js → integration-hs2a3b3x.js} +6 -6
- package/dist/chunks/{state-q8m5at2c.js → integration-hx34f59r.js} +3 -3
- package/dist/chunks/{state-cqg8v4c7.js → integration-j15mfg1p.js} +6 -6
- package/dist/chunks/{state-j56e64zr.js → integration-j56e64zr.js} +1 -1
- package/dist/chunks/{state-3p323ymy.js → integration-j6n5stzb.js} +5 -5
- package/dist/chunks/{state-gc4k3fky.js → integration-jbj3etk1.js} +23 -23
- package/dist/chunks/{state-e2ntgy55.js → integration-jf5sdrr3.js} +18 -18
- package/dist/chunks/{state-ccfnnbbv.js → integration-jjvrgtbx.js} +11 -11
- package/dist/chunks/{state-b25x8xnb.js → integration-jx4jx4s1.js} +2 -2
- package/dist/chunks/{state-k3c624dm.js → integration-k3c624dm.js} +3 -3
- package/dist/chunks/{state-5vyyk18a.js → integration-kannkt6w.js} +25 -25
- package/dist/chunks/{state-ye639aav.js → integration-kb52ax7j.js} +19 -19
- package/dist/chunks/{state-x6zehq8q.js → integration-kfj975qw.js} +28 -28
- package/dist/chunks/{state-p7kban1t.js → integration-kpn6yc1h.js} +24 -24
- package/dist/chunks/{state-vmea8g6y.js → integration-kw3768dw.js} +13 -13
- package/dist/chunks/{state-cfpkc3c9.js → integration-m0jqrx5p.js} +2 -2
- package/dist/chunks/{state-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
- package/dist/chunks/{state-82gwmp8p.js → integration-m6yfnwxk.js} +17 -17
- package/dist/chunks/{state-e0j28ztz.js → integration-m9tffrca.js} +16 -16
- package/dist/chunks/{state-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-xxbqrttr.js → integration-mawajdgt.js} +27 -27
- package/dist/chunks/{state-s418py6z.js → integration-mbhr9f82.js} +44 -44
- package/dist/chunks/{state-1bbkgx8g.js → integration-mhkvc446.js} +3 -3
- package/dist/chunks/{state-f3ngv102.js → integration-mjymc32g.js} +4 -4
- package/dist/chunks/{state-258tza17.js → integration-mvfdckk2.js} +6 -6
- package/dist/chunks/{state-gmgjpvnn.js → integration-mw2fg6pj.js} +34 -34
- package/dist/chunks/{state-phjaars8.js → integration-n0pywpq4.js} +6 -6
- package/dist/chunks/{state-nfafr5xt.js → integration-n9xbr5qs.js} +9 -9
- package/dist/chunks/{state-pnaxc6j9.js → integration-ngts6ef0.js} +8 -8
- package/dist/chunks/{state-axpfp605.js → integration-nh0mjxp7.js} +37 -37
- package/dist/chunks/{state-hkcwzywy.js → integration-nq9f2sea.js} +29 -29
- package/dist/chunks/integration-nqcy5pz9.js +26 -0
- package/dist/chunks/{state-rvaqgq0f.js → integration-nzkapjrr.js} +6 -6
- package/dist/chunks/{state-p28j5sbe.js → integration-p28j5sbe.js} +2 -2
- package/dist/chunks/{state-wavy99wc.js → integration-p6kr751s.js} +11 -11
- package/dist/chunks/{state-tpjhxhtx.js → integration-pc2a84et.js} +3 -3
- package/dist/chunks/{state-qvtz2jxg.js → integration-pdpyb20r.js} +8 -8
- package/dist/chunks/{state-tjedn1bk.js → integration-ph842b28.js} +4 -4
- package/dist/chunks/{state-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{state-dfeghqnh.js → integration-ps52ddqb.js} +15 -15
- package/dist/chunks/{state-b7ew3pv2.js → integration-pxb2vxqa.js} +72 -72
- package/dist/chunks/{state-jmp1cgqn.js → integration-pz751ev0.js} +32 -32
- package/dist/chunks/integration-qapv375x.js +4 -0
- package/dist/chunks/{state-pwr8kbjj.js → integration-qb18929a.js} +12 -12
- package/dist/chunks/{state-ecneytc0.js → integration-qckd8gyq.js} +19 -19
- package/dist/chunks/{state-xgq75542.js → integration-qcnxzm3p.js} +4 -4
- package/dist/chunks/{state-vfqx7caj.js → integration-qhqcr1gh.js} +11 -11
- package/dist/chunks/{state-9q1s0tyn.js → integration-qmgpwst3.js} +15 -15
- package/dist/chunks/{state-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{state-pdb37evm.js → integration-qw358esm.js} +8 -8
- package/dist/chunks/{state-774g8ja7.js → integration-qzm805mn.js} +11 -11
- package/dist/chunks/{state-w94gdkfg.js → integration-r0jaxdnm.js} +9 -9
- package/dist/chunks/{state-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-rdvzw9t8.js → integration-resym6eg.js} +15 -15
- package/dist/chunks/{state-rhjbct0v.js → integration-rhjbct0v.js} +1 -1
- package/dist/chunks/{state-zvt5dnpc.js → integration-rpg9c19m.js} +4 -4
- package/dist/chunks/{state-zeh9ct20.js → integration-rq775frq.js} +2 -2
- package/dist/chunks/{state-2cqnphx6.js → integration-rwmpkape.js} +11 -11
- package/dist/chunks/{state-e5fdxfkw.js → integration-s4naetvv.js} +11 -11
- package/dist/chunks/{state-t8rwn89y.js → integration-s6s23k6p.js} +45 -45
- package/dist/chunks/{state-zh2phv9k.js → integration-s9taesah.js} +10 -10
- package/dist/chunks/{state-jxkpjs94.js → integration-ses997a2.js} +47 -47
- package/dist/chunks/{state-z24r31ms.js → integration-sk5xsj6r.js} +297 -297
- package/dist/chunks/{state-qvb3nf84.js → integration-sm965ndy.js} +8 -8
- package/dist/chunks/{state-zj8f3y17.js → integration-sszbt98e.js} +26 -26
- package/dist/chunks/{state-4vpwrdft.js → integration-swrygd8g.js} +12 -12
- package/dist/chunks/{state-rs95eanb.js → integration-t2saf4f4.js} +27 -27
- package/dist/chunks/{state-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-89znhe33.js → integration-tcezcvh9.js} +4 -4
- package/dist/chunks/{state-n3xehdaz.js → integration-tcpv6fet.js} +7 -7
- package/dist/chunks/{state-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{state-e23w9d35.js → integration-tgcnk5sw.js} +12 -12
- package/dist/chunks/{state-tvtrv512.js → integration-tvtrv512.js} +1 -1
- package/dist/chunks/{state-a549hgdk.js → integration-v3fhj47b.js} +20 -20
- package/dist/chunks/{state-grp8hrc0.js → integration-v3pr8qqf.js} +5 -5
- package/dist/chunks/{state-13ggeyh8.js → integration-v8nsmxgn.js} +8 -8
- package/dist/chunks/{state-shqb7w7j.js → integration-v9w25wjm.js} +8 -8
- package/dist/chunks/{state-8xz4k282.js → integration-vanf8egc.js} +13 -13
- package/dist/chunks/{state-589961pp.js → integration-vc0087w5.js} +32 -32
- package/dist/chunks/{state-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{state-ejwjq12k.js → integration-vh11gp7b.js} +33 -33
- package/dist/chunks/{state-r98e92ep.js → integration-vncycja5.js} +4 -4
- package/dist/chunks/integration-vww0cb17.js +252 -0
- package/dist/chunks/{state-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{state-h7dhztqn.js → integration-wfhatf27.js} +26 -26
- package/dist/chunks/{state-jv4eadh7.js → integration-wnys78fq.js} +5 -5
- package/dist/chunks/{state-zz26p3g5.js → integration-wyhfv9gp.js} +11 -11
- package/dist/chunks/{state-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-grehnhs0.js → integration-x2vsx718.js} +5 -5
- package/dist/chunks/{state-567a7rs0.js → integration-x8dsmyvq.js} +32 -32
- package/dist/chunks/{state-ajvrh1yc.js → integration-x9mtwtp0.js} +4 -4
- package/dist/chunks/{state-k5ecf9q0.js → integration-xp22rsqd.js} +39 -39
- package/dist/chunks/{state-n0h0amn2.js → integration-xpdazfxb.js} +31 -31
- package/dist/chunks/{state-sat5e2rs.js → integration-xq41t9za.js} +6 -6
- package/dist/chunks/{state-26makf88.js → integration-xt1tdxgr.js} +41 -41
- package/dist/chunks/{state-p0smjn4a.js → integration-y0kek7d1.js} +30 -30
- package/dist/chunks/{state-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-fa2zpvfy.js → integration-y6kc6tp4.js} +86 -86
- package/dist/chunks/{state-jwcy2c2z.js → integration-y71avatq.js} +4 -4
- package/dist/chunks/{state-v51m7ygs.js → integration-y8wrs88g.js} +8 -8
- package/dist/chunks/{state-yrhqyw5v.js → integration-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-2fmt93mx.js → integration-yrkehnw4.js} +17 -17
- package/dist/chunks/{state-yrznvahk.js → integration-yrznvahk.js} +2 -2
- package/dist/chunks/{state-gv6a8nnw.js → integration-yyb7tjpc.js} +2 -2
- package/dist/chunks/{state-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-z63w68vq.js → integration-z63w68vq.js} +2 -2
- package/dist/chunks/{state-9bt3zpnc.js → integration-z7dhyn6r.js} +49 -49
- package/dist/chunks/{state-gsm7z1g1.js → integration-zgdfctg1.js} +13 -13
- package/dist/chunks/{state-z2v46jm6.js → integration-zm909a0b.js} +27 -27
- package/dist/chunks/{state-nj0t66hd.js → integration-zqkb6vnp.js} +6 -6
- package/dist/chunks/{state-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/chunks/{state-s3qbv9e3.js → integration-zzh81dpa.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +90 -90
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +77 -77
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +128 -128
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +16 -16
- 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 +91 -91
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/state-1tm0r3ht.js +0 -4
- package/dist/chunks/state-aee32p22.js +0 -252
- package/dist/chunks/state-jqh9b0xq.js +0 -18
- package/dist/chunks/state-r6zy1qmr.js +0 -26
- package/dist/chunks/state-z45g6xtg.js +0 -503
- /package/dist/chunks/{state-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-5qd3pb7m.js → integration-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → integration-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → integration-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-twg0f83k.js → integration-twg0f83k.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-dfmjf6m5.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-df3df5tx.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./integration-57b9ws8p.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./integration-zzh81dpa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer4,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer4 = Layer.effect(
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service3.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node87] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service3, layer4, node4, exports_sdk };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./integration-zzh81dpa.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./integration-m9tffrca.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node73
|
|
12
|
+
} from "./integration-fza5jp61.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service41,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node44
|
|
20
|
+
} from "./integration-g26xt907.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service62,
|
|
23
|
+
node65
|
|
24
|
+
} from "./integration-ngts6ef0.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service38,
|
|
27
|
+
node41
|
|
28
|
+
} from "./integration-sm965ndy.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./integration-8q7cq0y1.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service39,
|
|
35
|
+
node42
|
|
36
|
+
} from "./integration-z7dhyn6r.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./integration-as71pn4z.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./integration-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service37,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node40
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service37 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service37, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service83;
|
|
91
|
+
const location = yield* Service80;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service41;
|
|
94
|
+
const environment = yield* Service70;
|
|
95
|
+
const hooks = yield* Service62;
|
|
96
|
+
const environments = yield* Service38;
|
|
97
|
+
const config = yield* Service39;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError6({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service37.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node40 = makeLocationNode({
|
|
320
|
+
service: Service37,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
node87,
|
|
324
|
+
node84,
|
|
325
325
|
Global.node,
|
|
326
|
-
node70,
|
|
327
|
-
node62,
|
|
328
|
-
node74,
|
|
329
326
|
node44,
|
|
330
|
-
|
|
327
|
+
node73,
|
|
328
|
+
node65,
|
|
329
|
+
node41,
|
|
330
|
+
node42,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service37, cleanup2, node40, exports_shell4 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node73
|
|
9
|
+
} from "./integration-fza5jp61.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./integration-d9zdz2z2.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service10,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node12,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service10 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service70;
|
|
331
|
+
return Service10.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node12 = makeLocationNode({ service: Service10, layer, deps: [node73] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service10, read2, node12, exports_read_filesystem };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./integration-sk5xsj6r.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID13.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./integration-z7dhyn6r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service6
|
|
6
|
+
} from "./integration-wfhatf27.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction2 = {};
|
|
16
16
|
__export(exports_compaction2, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin26
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin26 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service39;
|
|
26
|
+
const compaction = yield* Service6;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin45 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin26, exports_compaction2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-2hg7qvzt.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event7,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service40,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured6,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer16,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node43,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event7 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service40 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service40.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service40.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer16().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service40).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service40, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured6(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service40, layer: layer16(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node43 = configured6();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event7, hasNativeBinding2, Native3, Options7, Service40, Test3, layer16, testLayer3, nativeLayer2, nativeNode2, configured6, node43, exports_watcher };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./integration-sk5xsj6r.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./integration-fza5jp61.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service70;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|