@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-k02enjmv.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service83,
|
|
17
|
+
node: () => node87
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service83 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service87).db;
|
|
26
|
-
return
|
|
26
|
+
return Service83.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node87 = makeGlobalNode({ service: Service83, layer, deps: [node91] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service83, node87, exports_kv };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node82
|
|
7
|
+
} from "./integration-mzzay4f0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-xd9cc171.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service83,
|
|
16
|
+
node87
|
|
17
|
+
} from "./integration-77zdhryd.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,7 +30,7 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service47,
|
|
34
34
|
isError: () => isError2,
|
|
35
35
|
node: () => node49,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service47 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,27 +101,27 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service78;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service83;
|
|
110
|
+
return Service47.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
124
|
-
const originReference = origin ?
|
|
124
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
125
125
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
126
126
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
127
127
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -170,9 +170,9 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
170
170
|
});
|
|
171
171
|
}));
|
|
172
172
|
var node49 = makeGlobalNode({
|
|
173
|
-
service:
|
|
173
|
+
service: Service47,
|
|
174
174
|
layer,
|
|
175
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
175
|
+
deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node87]
|
|
176
176
|
});
|
|
177
177
|
function errorMessage(error) {
|
|
178
178
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
181
181
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
184
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service47, isError2, validateBranch2, node49, exports_repository_cache };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./integration-9r1sq0hf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./integration-mn0kbaek.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input2,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin2,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name2,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name2 = "skill";
|
|
30
|
+
var Input2 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin2 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service41;
|
|
51
|
+
const permission = yield* Service52;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name2,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input2,
|
|
57
|
+
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name2,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin24 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name2, Input2, Output2, description2, toModelOutput2, Plugin2, exports_skill };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-582km8zz.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-vd3b3yk9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node80
|
|
12
|
+
} from "./integration-w3ewejsb.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service72,
|
|
20
|
+
node75,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./integration-414jxfdf.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,27 +30,27 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service71,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node74,
|
|
45
|
+
parse: () => parse4,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
53
|
+
var ID11 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info21 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service71 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
74
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service72;
|
|
76
76
|
const bus = yield* Service86;
|
|
77
|
-
const location = yield*
|
|
77
|
+
const location = yield* Service76;
|
|
78
78
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
79
79
|
let input;
|
|
80
80
|
const state = create3({
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
120
120
|
const models = writable(providerID);
|
|
121
121
|
if (!models)
|
|
122
122
|
return;
|
|
123
|
-
const model = draft(providerID, modelID) ??
|
|
123
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
124
124
|
update(model);
|
|
125
125
|
model.id = modelID;
|
|
126
126
|
model.providerID = providerID;
|
|
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
189
189
|
];
|
|
190
190
|
}));
|
|
191
191
|
if (disableFree)
|
|
192
|
-
for (const providerID of [
|
|
192
|
+
for (const providerID of [ID12.opencode, ID12.make("opencode-go")])
|
|
193
193
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
194
194
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
195
195
|
models.delete(id);
|
|
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
216
216
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
217
217
|
});
|
|
218
218
|
});
|
|
219
|
-
yield* bus.subscribe(
|
|
220
|
-
return
|
|
219
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
+
return Service71.of({
|
|
221
221
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
222
222
|
reload,
|
|
223
223
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
236
236
|
})
|
|
237
237
|
});
|
|
238
238
|
}));
|
|
239
|
-
var
|
|
239
|
+
var node74 = makeLocationNode({ service: Service71, layer, deps: [node75, node90, node80] });
|
|
240
240
|
var PREFERRED_FREE = [
|
|
241
241
|
"big-pickle",
|
|
242
242
|
"deepseek-v4.1-flash-free",
|
|
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
|
|
|
244
244
|
"muse-spark-1.3-contributor-free"
|
|
245
245
|
];
|
|
246
246
|
function preferFree(models) {
|
|
247
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
247
|
+
const freeOnly = models.every((model) => model.providerID === ID12.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
248
248
|
if (!freeOnly)
|
|
249
249
|
return models;
|
|
250
250
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -260,12 +260,12 @@ function compatibility2(input) {
|
|
|
260
260
|
return;
|
|
261
261
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function parse4(input) {
|
|
264
264
|
const index = input.indexOf("/");
|
|
265
265
|
return {
|
|
266
|
-
providerID:
|
|
267
|
-
modelID:
|
|
266
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
267
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
export {
|
|
271
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service71, node74, supportsText2, compatibility2, parse4, exports_model2, Event15 };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service74,
|
|
8
8
|
node77
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-gjatpjy7.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-wb5aj4gb.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-2z1j29yd.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 = {};
|
|
22
22
|
__export(exports_read_filesystem, {
|
|
23
23
|
BinaryFileError: () => BinaryFileError2,
|
|
24
24
|
FileContent: () => FileContent2,
|
|
25
|
-
ListEntry: () =>
|
|
25
|
+
ListEntry: () => ListEntry2,
|
|
26
26
|
ListPage: () => ListPage2,
|
|
27
27
|
MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
|
|
28
28
|
MAX_READ_BYTES: () => MAX_READ_BYTES2,
|
|
@@ -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: () => Service25,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node28,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
|
101
101
|
next: Schema.optionalKey(PositiveInt2)
|
|
102
102
|
}) {
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var ListEntry2 = Schema.Struct({
|
|
105
105
|
path: RelativePath2,
|
|
106
106
|
type: Schema.Literals(["file", "directory", "symlink"])
|
|
107
107
|
}).annotate({ identifier: "ReadTool.ListEntry" });
|
|
108
108
|
|
|
109
109
|
class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
110
110
|
type: Schema.Literal("list-page"),
|
|
111
|
-
entries: Schema.Array(
|
|
111
|
+
entries: Schema.Array(ListEntry2),
|
|
112
112
|
truncated: Schema.Boolean,
|
|
113
113
|
next: Schema.optionalKey(PositiveInt2)
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service25 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 = {}) {
|
|
@@ -227,7 +227,7 @@ var list = (items, page) => {
|
|
|
227
227
|
const offset = page.offset || 1;
|
|
228
228
|
const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
|
|
229
229
|
const visible = items.flatMap((item) => item.type === "other" ? [] : [
|
|
230
|
-
|
|
230
|
+
ListEntry2.make({
|
|
231
231
|
path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
|
|
232
232
|
type: item.type
|
|
233
233
|
})
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
333
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
334
334
|
const environment = yield* Service74;
|
|
335
|
-
return
|
|
335
|
+
return Service25.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node28 = makeLocationNode({ service: Service25, layer, deps: [node77] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service25, read2, node28, exports_read_filesystem };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service60,
|
|
10
|
+
node: () => node62
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service60 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service60.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node62 = makeLocationNode({ service: Service60, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service60, node62, exports_hooks };
|