@opencode/core 0.0.0-dev-21802 → 0.0.0-dev-21812
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 +87 -87
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-pc1v25hk.js → integration-033a0jkt.js} +3 -3
- package/dist/chunks/{location-034tev2y.js → integration-034tev2y.js} +2 -2
- package/dist/chunks/{location-r2z94j39.js → integration-099h1hwj.js} +6 -6
- package/dist/chunks/{location-fznmdakp.js → integration-0h8y3ex8.js} +4 -4
- package/dist/chunks/{location-0q213vj2.js → integration-0p88zpcm.js} +4 -4
- package/dist/chunks/{location-3aj7rrf8.js → integration-0v8grjzs.js} +9 -9
- package/dist/chunks/{location-x4y1x265.js → integration-1bs2cpw9.js} +13 -13
- package/dist/chunks/{location-z5m176sc.js → integration-1cymfj1p.js} +23 -23
- package/dist/chunks/{location-1ep2p91f.js → integration-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-17a3f6rk.js → integration-1ghdp8kk.js} +44 -44
- package/dist/chunks/{location-wv5ws3cz.js → integration-1nys593y.js} +23 -23
- package/dist/chunks/{location-wnpz0s1q.js → integration-1qx3pmcb.js} +6 -6
- package/dist/chunks/{location-q5vn80g9.js → integration-1smgd7ca.js} +14 -14
- package/dist/chunks/{location-vpnzc5p3.js → integration-1txcpx25.js} +34 -34
- package/dist/chunks/{location-1x2knyw4.js → integration-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-6s8srms1.js → integration-1xcgmt4f.js} +23 -23
- package/dist/chunks/{location-f4x3m1jb.js → integration-21wsmemr.js} +10 -10
- package/dist/chunks/{location-xjx81hwy.js → integration-22vn2tfc.js} +36 -36
- package/dist/chunks/{location-a0stp6fn.js → integration-24dnymca.js} +7 -7
- package/dist/chunks/{location-pypxtw5w.js → integration-27z7tz04.js} +18 -18
- package/dist/chunks/{location-w4hzka6x.js → integration-2a7m102q.js} +18 -18
- package/dist/chunks/{location-543xpwr1.js → integration-2jzy5gvp.js} +13 -13
- package/dist/chunks/{location-ymrm2a13.js → integration-2k41ftbf.js} +9 -9
- package/dist/chunks/{location-6rrz3dm6.js → integration-2m9ncb4x.js} +4 -4
- package/dist/chunks/{location-rbckb2ty.js → integration-2qzjejty.js} +17 -17
- package/dist/chunks/{location-fnp0jseg.js → integration-2wvpxzhr.js} +5 -5
- package/dist/chunks/{location-2z1j29yd.js → integration-2z1j29yd.js} +1 -1
- package/dist/chunks/{location-tpm1qpxt.js → integration-32s59e8p.js} +9 -9
- package/dist/chunks/{location-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-amtc5egd.js → integration-3k0zbkzd.js} +45 -45
- package/dist/chunks/{location-5rffp0ca.js → integration-3myyj9jx.js} +25 -25
- package/dist/chunks/{location-3nnrz6f6.js → integration-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-x6615g0m.js → integration-3qncy4kt.js} +3 -3
- package/dist/chunks/{location-hn6pth2p.js → integration-3vj2p3vv.js} +14 -14
- package/dist/chunks/{location-p42xfgpg.js → integration-3zmhjc9p.js} +26 -26
- package/dist/chunks/{location-w6frvacy.js → integration-414jxfdf.js} +32 -32
- package/dist/chunks/{location-km5sdhrx.js → integration-43sfaggh.js} +55 -55
- package/dist/chunks/{location-53ehad73.js → integration-4739vc91.js} +9 -9
- package/dist/chunks/{location-y4n6pw34.js → integration-4pw98qd4.js} +4 -4
- package/dist/chunks/{location-4v008n1t.js → integration-4v008n1t.js} +1 -1
- package/dist/chunks/{location-0bpkyfh4.js → integration-4vgk4w6a.js} +19 -19
- package/dist/chunks/{location-6grvz7sb.js → integration-4wvhc9k4.js} +22 -22
- package/dist/chunks/{location-xkfczkpn.js → integration-4xvmh7wp.js} +3 -3
- package/dist/chunks/{location-8j2gg8hq.js → integration-54emna5z.js} +21 -21
- package/dist/chunks/{location-cfchc4zb.js → integration-582km8zz.js} +4 -4
- package/dist/chunks/{location-c6jk0q5d.js → integration-5bffra33.js} +3 -3
- package/dist/chunks/{location-sjmm3wxa.js → integration-5fjb7ams.js} +4 -14
- package/dist/chunks/{location-5m9w47nd.js → integration-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-mw1hb2pb.js → integration-5qee7q8k.js} +20 -20
- package/dist/chunks/{location-cv0k61fs.js → integration-5v3c0w31.js} +33 -33
- package/dist/chunks/{location-04s74fx7.js → integration-6285fq4d.js} +8 -8
- package/dist/chunks/{location-cdq478xq.js → integration-62ecjyyq.js} +26 -26
- package/dist/chunks/{location-26sbc8wa.js → integration-6a013r1n.js} +24 -24
- package/dist/chunks/{location-b8w355z9.js → integration-6a7ezx2c.js} +13 -13
- package/dist/chunks/{location-tv1fv7bp.js → integration-6d6xnsqa.js} +5 -5
- package/dist/chunks/{location-f9wg2df5.js → integration-6es4hneh.js} +8 -8
- package/dist/chunks/{location-6esdw8yj.js → integration-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-sgnyye5r.js → integration-6gyjkw7v.js} +26 -26
- package/dist/chunks/{location-6pjqjmy2.js → integration-6pjqjmy2.js} +1 -1
- package/dist/chunks/{location-bxx0c1dy.js → integration-6yretb28.js} +11 -11
- package/dist/chunks/{location-8nsfhtx4.js → integration-74yt0vzq.js} +44 -44
- package/dist/chunks/{location-76cb1hcw.js → integration-76cb1hcw.js} +1 -1
- package/dist/chunks/{location-bntc87tw.js → integration-77zdhryd.js} +10 -10
- package/dist/chunks/{location-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-cxpnepvy.js → integration-7d9wahhq.js} +21 -21
- package/dist/chunks/{location-dg4g4j0t.js → integration-7jv8arzj.js} +28 -28
- package/dist/chunks/{location-ej5n7emy.js → integration-7msw3csv.js} +34 -34
- package/dist/chunks/{location-7w2ypzdf.js → integration-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-ja9tn20r.js → integration-7xwzfpqh.js} +16 -16
- package/dist/chunks/{location-231a8wys.js → integration-7ye4ae45.js} +8 -8
- package/dist/chunks/{location-a6g0efdt.js → integration-8aqd9tw0.js} +40 -40
- package/dist/chunks/{location-6ejgy672.js → integration-8b714bza.js} +4 -4
- package/dist/chunks/{location-v76p8btm.js → integration-8vg666x5.js} +5 -5
- package/dist/chunks/{location-6y263vp8.js → integration-8wc2fpae.js} +5 -5
- package/dist/chunks/{location-9b1bq8k1.js → integration-8wht8kc5.js} +8 -8
- package/dist/chunks/{location-8wtp7s3z.js → integration-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-cb47sqp9.js → integration-8x2emzdm.js} +18 -18
- package/dist/chunks/{location-ecrg8485.js → integration-8zgwz0zm.js} +11 -11
- package/dist/chunks/{location-91rj84md.js → integration-91rj84md.js} +1 -1
- package/dist/chunks/{location-998yhzzq.js → integration-998yhzzq.js} +3 -3
- package/dist/chunks/{location-q9dg54zr.js → integration-9cdp65mn.js} +10 -10
- package/dist/chunks/{location-9cx9sm2q.js → integration-9cx9sm2q.js} +1 -1
- package/dist/chunks/{location-r64cczjp.js → integration-9e9qdt9b.js} +11 -11
- package/dist/chunks/{location-tg1vr1qt.js → integration-9kg5w032.js} +8 -8
- package/dist/chunks/{location-x514tm1v.js → integration-9r1sq0hf.js} +52 -52
- package/dist/chunks/integration-a4baghsc.js +26 -0
- package/dist/chunks/{location-wm875330.js → integration-a5hswdc1.js} +32 -32
- package/dist/chunks/integration-a610t88q.js +18 -0
- package/dist/chunks/{location-6xvr7jf7.js → integration-a9jemgtr.js} +3 -3
- package/dist/chunks/{location-d3db3qjf.js → integration-aevv1b27.js} +14 -14
- package/dist/chunks/{location-wdmx20pv.js → integration-af0k6e03.js} +9 -9
- package/dist/chunks/{location-ayjs7tqn.js → integration-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-4c9pmv36.js → integration-azcb3gk3.js} +16 -16
- package/dist/chunks/{location-b0mv4wxm.js → integration-b0mv4wxm.js} +2 -2
- package/dist/chunks/{location-yeyr4dj8.js → integration-b68fg4f6.js} +30 -30
- package/dist/chunks/{location-b6vsg801.js → integration-b6vsg801.js} +2 -2
- package/dist/chunks/{location-4f258480.js → integration-bdx4kxdv.js} +21 -21
- package/dist/chunks/{location-kkew1p9e.js → integration-bh1et42v.js} +6 -6
- package/dist/chunks/{location-c06ba7a3.js → integration-bmavx65t.js} +21 -21
- package/dist/chunks/{location-qj7jded1.js → integration-btjvwe70.js} +14 -14
- package/dist/chunks/{location-0hc0bbs9.js → integration-bvafcta0.js} +4 -4
- package/dist/chunks/{location-a59j6a4y.js → integration-c3nr5wcj.js} +7 -7
- package/dist/chunks/{location-0nykq6f5.js → integration-c445b2ma.js} +23 -23
- package/dist/chunks/{location-6ypa0r1z.js → integration-c5vw9ajk.js} +22 -22
- package/dist/chunks/{location-0d0matx1.js → integration-cdpx3xqr.js} +31 -31
- package/dist/chunks/{location-3ryz99p0.js → integration-cpvd08na.js} +4 -4
- package/dist/chunks/{location-tfg9hd0y.js → integration-cqjv9nck.js} +28 -28
- package/dist/chunks/{location-j19v72kq.js → integration-cvx8nhbw.js} +21 -21
- package/dist/chunks/{location-d4v9tmah.js → integration-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-hpj591dz.js → integration-d9f8cqns.js} +16 -16
- package/dist/chunks/{location-1ccg85h0.js → integration-dd3y08z3.js} +14 -14
- package/dist/chunks/{location-at9bq00k.js → integration-dggevncg.js} +36 -36
- package/dist/chunks/{location-a4g64ecz.js → integration-dr0fct71.js} +24 -24
- package/dist/chunks/{location-qah7t4da.js → integration-dwwyec8z.js} +6 -6
- package/dist/chunks/{location-p3c47fx7.js → integration-e2p6x81g.js} +25 -25
- package/dist/chunks/{location-5qd3pb7m.js → integration-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-9p9xqj3m.js → integration-e5dqjz6v.js} +8 -8
- package/dist/chunks/{location-jk9f0yn5.js → integration-e5gw6wwr.js} +10 -10
- package/dist/chunks/{location-e834z07m.js → integration-e834z07m.js} +1 -1
- package/dist/chunks/{location-6qzrsg19.js → integration-eegzrrtz.js} +11 -11
- package/dist/chunks/{location-bhaqjw7f.js → integration-ehfeyf7e.js} +3 -3
- package/dist/chunks/{location-z3bph6wb.js → integration-ej3th1h3.js} +5 -5
- package/dist/chunks/{location-bkdm27vv.js → integration-ek9rkj5r.js} +193 -193
- package/dist/chunks/{location-jb3ek66v.js → integration-enar5c8c.js} +20 -20
- package/dist/chunks/{location-ahnc65m5.js → integration-ewf8e1z3.js} +9 -9
- package/dist/chunks/{location-h9zgxh73.js → integration-ez61m5xe.js} +5 -5
- package/dist/chunks/{location-ghwgmbde.js → integration-f9bma1qn.js} +12 -12
- package/dist/chunks/{location-dkjms5pz.js → integration-fcvr1d3d.js} +26 -26
- package/dist/chunks/{location-fffv3p7h.js → integration-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-ehd7jrz2.js → integration-fkgr69m7.js} +11 -11
- package/dist/chunks/{location-kj2jaw6z.js → integration-fzjtn9cy.js} +4 -4
- package/dist/chunks/{location-075x5646.js → integration-g4netsws.js} +19 -19
- package/dist/chunks/{location-g5h9c0rr.js → integration-g5h9c0rr.js} +2 -2
- package/dist/chunks/{location-d126gacg.js → integration-g8dxatgd.js} +10 -10
- package/dist/chunks/{location-n95rn34w.js → integration-gjatpjy7.js} +11 -11
- package/dist/chunks/{location-xkp5751n.js → integration-gjw4pr93.js} +17 -17
- package/dist/chunks/{location-nbftzetf.js → integration-gs020t2a.js} +3 -3
- package/dist/chunks/{location-x3r2mbb5.js → integration-gt45kfe9.js} +9 -9
- package/dist/chunks/{location-ngxrbh81.js → integration-h27fzsgv.js} +26 -26
- package/dist/chunks/{location-1vd7snte.js → integration-h4k78rza.js} +33 -33
- package/dist/chunks/{location-vdgmg1hd.js → integration-hd1zzqtm.js} +12 -12
- package/dist/chunks/{location-xsact9zs.js → integration-hd3k4wz8.js} +4 -4
- package/dist/chunks/{location-r0rzdwgt.js → integration-hhn1e55x.js} +8 -8
- package/dist/chunks/{location-8n0m92g8.js → integration-hwx3r6b1.js} +17 -17
- package/dist/chunks/{location-j113cymg.js → integration-j113cymg.js} +1 -1
- package/dist/chunks/{location-3azbbmvr.js → integration-j4a3jt28.js} +15 -15
- package/dist/chunks/{location-aw8nv5py.js → integration-jdfk1cmv.js} +26 -26
- package/dist/chunks/{location-ag7xc6h3.js → integration-jh0qv5w1.js} +15 -15
- package/dist/chunks/{location-wgq490fn.js → integration-jjpbn9y3.js} +19 -19
- package/dist/chunks/{location-rqjkyyyt.js → integration-jr035f3y.js} +15 -15
- package/dist/chunks/{location-jje57wwm.js → integration-jry8eft3.js} +17 -17
- package/dist/chunks/{location-qtqp5fvy.js → integration-jtp9n393.js} +30 -30
- package/dist/chunks/{location-5pjcmgbp.js → integration-k02enjmv.js} +3 -3
- package/dist/chunks/{location-2bmn10af.js → integration-k3knae48.js} +6 -6
- package/dist/chunks/{location-xgfj5271.js → integration-k4z47hf4.js} +11 -11
- package/dist/chunks/{location-k814nvkf.js → integration-k814nvkf.js} +1 -1
- package/dist/chunks/{location-jsvgjjsg.js → integration-kj42jrrq.js} +32 -32
- package/dist/chunks/{location-15hh3cbc.js → integration-kjg0r6wn.js} +10 -10
- package/dist/chunks/{location-y7z4tzab.js → integration-kpsjcb79.js} +323 -323
- package/dist/chunks/{location-avxtkthz.js → integration-kqy4hbwk.js} +86 -86
- package/dist/chunks/{location-kt3bjfbg.js → integration-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-agxdnhx2.js → integration-kv3ttt63.js} +59 -45
- package/dist/chunks/{location-hdvwg22j.js → integration-kxgkgtx4.js} +4 -4
- package/dist/chunks/{location-mnex4cdr.js → integration-kyjtz1sy.js} +5 -5
- package/dist/chunks/{location-m1714858.js → integration-m1714858.js} +1 -1
- package/dist/chunks/{location-sv689qty.js → integration-m2xmg036.js} +17 -17
- package/dist/chunks/{location-kme5wqcz.js → integration-m5e9s2n3.js} +20 -20
- package/dist/chunks/{location-px99x85z.js → integration-m676x6pr.js} +17 -17
- package/dist/chunks/{location-c0hpt3fm.js → integration-m7g89f9n.js} +2 -2
- package/dist/chunks/{location-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-maspj1v3.js → integration-maspj1v3.js} +1 -1
- package/dist/chunks/{location-ma9n1kat.js → integration-mdp36yda.js} +3 -3
- package/dist/chunks/{location-2f2nr3wk.js → integration-mh81y02m.js} +11 -11
- package/dist/chunks/{location-vghb18mt.js → integration-mmhxtjpe.js} +16 -16
- package/dist/chunks/{location-1y0wdj51.js → integration-mmx1mfjr.js} +9 -9
- package/dist/chunks/{location-f4mz2h0w.js → integration-mn0kbaek.js} +23 -23
- package/dist/chunks/{location-embmaz50.js → integration-mnx664ps.js} +42 -42
- package/dist/chunks/{location-9je5s229.js → integration-mpg7afbk.js} +1 -1
- package/dist/chunks/{location-c9t2ty9q.js → integration-mtkfycnh.js} +4 -4
- package/dist/chunks/{location-m7nf5dp7.js → integration-mvc3vb2a.js} +18 -18
- package/dist/chunks/{location-tkkm20f7.js → integration-mw8s5zmh.js} +12 -12
- package/dist/chunks/{location-8whp40kv.js → integration-my4zabxr.js} +3 -3
- package/dist/chunks/{location-gksz2zdz.js → integration-mzzay4f0.js} +12 -12
- package/dist/chunks/{location-nbpgh3d1.js → integration-n0p57zwx.js} +15 -15
- package/dist/chunks/{location-njfj8ewx.js → integration-n6y7mxjs.js} +10 -10
- package/dist/chunks/{location-770pw0s1.js → integration-nah043kf.js} +4 -4
- package/dist/chunks/{location-gw9sk7ym.js → integration-ncys0ejx.js} +38 -38
- package/dist/chunks/{location-f4sjmcvy.js → integration-ndw46kc6.js} +13 -13
- package/dist/chunks/{location-qzzv0ezg.js → integration-nhfzsa1p.js} +7 -7
- package/dist/chunks/{location-3shw1cbx.js → integration-ns1gkfmt.js} +7 -7
- package/dist/chunks/{location-4f51t6yt.js → integration-ns4tg1vk.js} +33 -33
- package/dist/chunks/{location-nkc01eya.js → integration-nsew6na4.js} +7 -7
- package/dist/chunks/{location-k781pf8j.js → integration-nt2e7ypv.js} +22 -22
- package/dist/chunks/{location-cb3hqvs8.js → integration-nw3gns4q.js} +85 -85
- package/dist/chunks/{location-p015t6z3.js → integration-p015t6z3.js} +2 -2
- package/dist/chunks/{location-4cggrrsp.js → integration-pa7nwqm2.js} +1 -1
- package/dist/chunks/{location-9b28cy4d.js → integration-pacbbjc0.js} +5 -5
- package/dist/chunks/{location-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{location-nn8wg6es.js → integration-pmz7p4sy.js} +4 -4
- package/dist/chunks/{location-0ear39jp.js → integration-pp110xbz.js} +11 -11
- package/dist/chunks/{location-16mb5f8v.js → integration-pq8a5ftn.js} +30 -30
- package/dist/chunks/{location-gyptvmbk.js → integration-pvhdzchd.js} +23 -23
- package/dist/chunks/{location-yrvdznpz.js → integration-pzh119na.js} +20 -20
- package/dist/chunks/{location-g9ccq630.js → integration-q0sfsmmy.js} +52 -52
- package/dist/chunks/{location-ab01g4cm.js → integration-q0x40dkk.js} +9 -9
- package/dist/chunks/{location-ete0teby.js → integration-q820hr6k.js} +10 -10
- package/dist/chunks/{location-qjgzc4b4.js → integration-qjgzc4b4.js} +1 -1
- package/dist/chunks/{location-0aqnrq7x.js → integration-qjj39fzk.js} +33 -33
- package/dist/chunks/{location-x3gjy9c2.js → integration-qmxyfk6f.js} +9 -9
- package/dist/chunks/{location-984v65na.js → integration-qqfn68em.js} +17 -17
- package/dist/chunks/{location-48fr60f0.js → integration-qr09n5wa.js} +1 -1
- package/dist/chunks/{location-r0yr0wbs.js → integration-r0yr0wbs.js} +1 -1
- package/dist/chunks/{location-r542h3bh.js → integration-r542h3bh.js} +1 -1
- package/dist/chunks/{location-a7hcemwv.js → integration-r7xar5ns.js} +11 -11
- package/dist/chunks/{location-1rx1hnzt.js → integration-r9478m04.js} +2 -2
- package/dist/chunks/{location-rb9dy4dg.js → integration-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-vrcsa8qx.js → integration-rjnacbrz.js} +9 -9
- package/dist/chunks/{location-1h4xhwew.js → integration-rkpdfm1f.js} +29 -29
- package/dist/chunks/{location-288dktsv.js → integration-rrewaqtd.js} +4 -4
- package/dist/chunks/{location-rt5dr6hb.js → integration-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-3753v25r.js → integration-s4vbq7v2.js} +16 -16
- package/dist/chunks/{location-g6dfma3d.js → integration-s7xmnr8t.js} +2 -2
- package/dist/chunks/{location-9bag7kem.js → integration-s8hzhf5a.js} +8 -8
- package/dist/chunks/{location-mjx1xb4v.js → integration-s8p4z092.js} +9 -9
- package/dist/chunks/{location-sa3fpqfw.js → integration-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-dgny4tbd.js → integration-sjc0rtcr.js} +33 -33
- package/dist/chunks/{location-3bn9zxbg.js → integration-sp4szsb6.js} +9 -9
- package/dist/chunks/{location-sqjzf8x2.js → integration-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-rn8hfrah.js → integration-sztnemvs.js} +19 -19
- package/dist/chunks/{location-3r5s1csz.js → integration-t63ar4cc.js} +28 -28
- package/dist/chunks/{location-y8gj0fyz.js → integration-ta7szm67.js} +11 -11
- package/dist/chunks/{location-tczq8hjw.js → integration-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-y15wyx54.js → integration-tep6g6t6.js} +2 -2
- package/dist/chunks/{location-9btvkpqm.js → integration-tq47yr9q.js} +9 -9
- package/dist/chunks/integration-twhys2c4.js +261 -0
- package/dist/chunks/{location-twv2r8f4.js → integration-twv2r8f4.js} +2 -2
- package/dist/chunks/{location-2s1jcspe.js → integration-txmkmbh1.js} +8 -8
- package/dist/chunks/{location-v2r1d0zg.js → integration-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-4zw1mhch.js → integration-v3v80szh.js} +10 -10
- package/dist/chunks/{location-p7vhpwh8.js → integration-v9ez2kgh.js} +5 -5
- package/dist/chunks/{location-n8snqzaz.js → integration-vcz53cnc.js} +15 -15
- package/dist/chunks/{location-vd3b3yk9.js → integration-vd3b3yk9.js} +1 -1
- package/dist/chunks/{location-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{location-m37sd98t.js → integration-vmfhgzt5.js} +4 -4
- package/dist/chunks/{location-1s73zfxt.js → integration-vs2m3t8d.js} +16 -16
- package/dist/chunks/{location-ftv2mfjw.js → integration-w1qfq64t.js} +1 -1
- package/dist/chunks/{location-67fvqagb.js → integration-w22292kr.js} +39 -39
- package/dist/chunks/{location-bqwdyg2t.js → integration-w22yp63b.js} +9 -9
- package/dist/chunks/{location-40za9wsf.js → integration-w2eysc6j.js} +9 -9
- package/dist/chunks/{location-ywpksxwp.js → integration-w3ewejsb.js} +17 -17
- package/dist/chunks/{location-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-wakvkjy4.js → integration-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-g5tgmp0p.js → integration-wb5aj4gb.js} +30 -30
- package/dist/chunks/{location-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{location-b92bqb2e.js → integration-weewmp9q.js} +25 -25
- package/dist/chunks/{location-f6939148.js → integration-wf2cyww0.js} +5 -5
- package/dist/chunks/{location-fnz8rg5r.js → integration-wr8dn7z1.js} +5 -5
- package/dist/chunks/{location-pbaqepy9.js → integration-x38zy5q9.js} +5 -5
- package/dist/chunks/{location-rxbr5cvt.js → integration-x5jmwpjz.js} +41 -41
- package/dist/chunks/{location-h2fhca2s.js → integration-xap91x1p.js} +10 -10
- package/dist/chunks/{location-bstexjd6.js → integration-xd9cc171.js} +5 -5
- package/dist/chunks/{location-fmye6e29.js → integration-xgb9jx38.js} +6 -6
- package/dist/chunks/{location-npqdxqpg.js → integration-xjdsgsgc.js} +20 -20
- package/dist/chunks/{location-mc0e6tx9.js → integration-xkpbrv2c.js} +33 -33
- package/dist/chunks/{location-er214sbb.js → integration-xm8dep68.js} +17 -17
- package/dist/chunks/{location-ewepcnn2.js → integration-xs0pgsh6.js} +5 -5
- package/dist/chunks/{location-kdr2amtg.js → integration-y8bhjcew.js} +21 -21
- package/dist/chunks/{location-yb20nhc3.js → integration-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-tan2h6ve.js → integration-yc8z54tz.js} +60 -40
- package/dist/chunks/{location-x16k5wpx.js → integration-yh280zkr.js} +36 -36
- package/dist/chunks/{location-pac9cg3x.js → integration-yyqzfxc7.js} +4 -4
- package/dist/chunks/{location-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-2xwkyk0m.js → integration-z2qbjhyn.js} +5 -5
- package/dist/chunks/{location-z38nccrw.js → integration-z38nccrw.js} +1 -1
- package/dist/chunks/{location-f6k1kfp3.js → integration-z7qgckdk.js} +46 -46
- package/dist/chunks/{location-eqc54gfq.js → integration-z7wnyb4t.js} +5 -5
- package/dist/chunks/{location-zbqbngfz.js → integration-z8ym8esj.js} +13 -13
- package/dist/chunks/{location-6pns0xkq.js → integration-z9kr5gn7.js} +9 -9
- package/dist/chunks/{location-zkg84ctx.js → integration-zkg84ctx.js} +1 -1
- package/dist/chunks/{location-vwvg46tm.js → integration-zmwx25fz.js} +2 -2
- package/dist/chunks/{location-8ggafv1b.js → integration-zrdtx4x3.js} +14 -14
- package/dist/chunks/{location-eqqpepv4.js → integration-zwmk0vgz.js} +8 -8
- package/dist/chunks/{location-af84d9dx.js → integration-zx7azpzt.js} +13 -13
- package/dist/chunks/{location-42jd4697.js → integration-zzdv5d93.js} +4 -4
- package/dist/chunks/{location-73ws2247.js → integration-zzpc27z9.js} +65 -65
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +87 -87
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -374
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +74 -74
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +107 -107
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +110 -110
- package/dist/git.js +11 -11
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +365 -365
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +362 -362
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +143 -143
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +120 -120
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +84 -84
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +102 -102
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- package/dist/session/environment.js +3 -3
- 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 +131 -131
- package/dist/session/generate.js +167 -167
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +131 -131
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +117 -117
- package/dist/snapshot.js +96 -96
- 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 +140 -140
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +118 -118
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +116 -116
- package/dist/tool/plugin/websearch.js +117 -117
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +107 -107
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +91 -91
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +96 -96
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/location-6617700v.js +0 -26
- package/dist/chunks/location-d77dj7jw.js +0 -18
- package/dist/chunks/location-ge8wzs3p.js +0 -261
- /package/dist/chunks/{location-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → integration-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → integration-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → integration-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a058387c.js → integration-a058387c.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cqv5kn06.js → integration-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → integration-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jwr30sdr.js → integration-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → integration-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → integration-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-pkyv6v7h.js → integration-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → integration-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wjj7prxr.js → integration-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-582km8zz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Event19
|
|
6
|
+
} from "./integration-jtp9n393.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID16
|
|
9
|
+
} from "./integration-a5hswdc1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID12
|
|
12
|
+
} from "./integration-414jxfdf.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/openai-context-caps.ts
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Stream } from "effect";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID16.make("openai");
|
|
18
18
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
19
19
|
var legacyInput = 272000;
|
|
20
20
|
var currentInput = 500000;
|
|
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
34
34
|
yield* ctx.model.transform((models) => {
|
|
35
35
|
if (!signedIn)
|
|
36
36
|
return;
|
|
37
|
-
for (const model of models.list(
|
|
37
|
+
for (const model of models.list(ID12.openai)) {
|
|
38
38
|
models.update(model.providerID, model.id, (draft) => {
|
|
39
39
|
const input = cap(draft.modelID ?? draft.id);
|
|
40
40
|
if ((draft.limit.input || draft.limit.context) <= input)
|
|
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
yield* bus.subscribe(
|
|
46
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
function cap(apiID) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options5,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options5 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options5]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options5, Spec2, exports_plugin3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node80
|
|
4
|
+
} from "./integration-w3ewejsb.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service14,
|
|
17
|
+
node: () => node16
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service14 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service76;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service14.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node16 = makeLocationNode({
|
|
91
|
+
service: Service14,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node80, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service14, node16, exports_formatter2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
@@ -28,7 +28,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
31
|
+
function make14(tools) {
|
|
32
32
|
return render3(system_default, tools);
|
|
33
33
|
}
|
|
34
34
|
function render3(prompt, tools) {
|
|
@@ -46,4 +46,4 @@ function render3(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info9,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-mn0kbaek.js";
|
|
9
9
|
import {
|
|
10
10
|
Service61
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-22vn2tfc.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin40,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin40 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info9.make({
|
|
439
|
+
id: ID5.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info9.make({
|
|
446
|
+
id: ID5.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin40, exports_skill3 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
6
|
Service61
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-22vn2tfc.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-zkg84ctx.js";
|
|
11
11
|
import {
|
|
12
12
|
Service74
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-gjatpjy7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service64
|
|
16
|
+
} from "./integration-azcb3gk3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service52
|
|
19
|
+
} from "./integration-9r1sq0hf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service15,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-xm8dep68.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./integration-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service85,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./integration-zx7azpzt.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
NotFoundError9,
|
|
36
36
|
Service58
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./integration-h4k78rza.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./integration-kqy4hbwk.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan3
|
|
43
|
+
} from "./integration-nsew6na4.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./integration-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input13,
|
|
53
|
+
Plugin: () => Plugin15,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name13
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name13 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
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.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input13 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
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."
|
|
@@ -117,18 +117,18 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin15 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service20;
|
|
124
|
+
const jobs = yield* Service64;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
126
|
const environment = yield* Service74;
|
|
127
|
-
const access = yield*
|
|
127
|
+
const access = yield* Service15;
|
|
128
128
|
const shell = yield* Service58;
|
|
129
|
-
const shellSelect = yield*
|
|
129
|
+
const shellSelect = yield* Service85;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
131
|
+
const permission = yield* Service52;
|
|
132
132
|
const config = yield* Service61;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
@@ -140,7 +140,7 @@ var Plugin27 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin27 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name13,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin27 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name13,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input13,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin27 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name13,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name13];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name13, DEFAULT_TIMEOUT_MS2, Input13, Plugin15, exports_shell };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service5.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node7, exports_update };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node81
|
|
4
|
+
} from "./integration-z7qgckdk.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info24,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref3,
|
|
15
|
+
Service: () => Service76,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node80,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info24, Ref as Ref3, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service76 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node80 = LayerNode.unbound(Service76, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service76, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service77;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service76.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service76,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node81]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info24, Ref3, response2, Service76, node80, boundNode2, exports_location };
|