@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-mzzay4f0.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service87,
|
|
12
12
|
node91
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-k02enjmv.js";
|
|
14
14
|
import {
|
|
15
15
|
Service86,
|
|
16
16
|
node90
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-582km8zz.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID14,
|
|
26
|
+
NotFoundError10
|
|
27
|
+
} from "./integration-z7qgckdk.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref3
|
|
30
|
+
} from "./integration-w3ewejsb.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service50,
|
|
33
|
+
node52
|
|
34
|
+
} from "./integration-k4z47hf4.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./integration-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service49
|
|
41
|
+
} from "./integration-cvx8nhbw.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./integration-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event9,
|
|
53
|
+
Info: () => Info10,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
|
-
ListEntry: () =>
|
|
56
|
+
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service48,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node50
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info10 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
|
-
var
|
|
80
|
+
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID14, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event9 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service48 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service87;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service86;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service50;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError10({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref3.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service49).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event9.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service48.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node50 = Node.makeGlobalNode({
|
|
260
|
+
service: Service48,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node90, node91, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node90, node91, AppProcess.node, node52]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info10, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event9, Service48, node50, exports_worktree2, OperationError2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
8
|
Service: () => Service59,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node61
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service59, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node61 = makeGlobalNode({ service: Service59, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export { Service59,
|
|
31
|
+
export { Service59, node61, exports_environment };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./integration-414jxfdf.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info17 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info16 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info17, exports_provider2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./integration-mzzay4f0.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make17
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make17 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service78;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make17, exports_git2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-582km8zz.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref3,
|
|
11
|
+
Service76,
|
|
12
|
+
node80
|
|
13
|
+
} from "./integration-w3ewejsb.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service42,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node44
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service42 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service86;
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
44
|
+
const location = yield* Service76;
|
|
45
|
+
const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service42.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node44 = makeLocationNode({ service: Service42, layer, deps: [node90, node80] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref3)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service42, node44, exports_rpc, define2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service40
|
|
7
|
+
} from "./integration-kj42jrrq.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-my4zabxr.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-bh1et42v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-998yhzzq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service40;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-034tev2y.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
5
|
Service62
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-dd3y08z3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service61
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-22vn2tfc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service17,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-e5gw6wwr.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make10
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,9 +30,9 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
33
|
+
var make10 = Effect.fn("PluginModule.make")(function* () {
|
|
34
34
|
const config = yield* Service61;
|
|
35
|
-
const managed = yield*
|
|
35
|
+
const managed = yield* Service17;
|
|
36
36
|
const watcher = yield* Service62;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make10, LoadError2, exports_module };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service61
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-22vn2tfc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./integration-74yt0vzq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin31,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin31 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
@@ -25,7 +25,7 @@ var Plugin46 = define({
|
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
27
|
const config = yield* Service61;
|
|
28
|
-
const mcp = yield*
|
|
28
|
+
const mcp = yield* Service32;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin31, register2, exports_mcp };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service11,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node13
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service11 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node13 = makeLocationNode({
|
|
19
|
+
service: Service11,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service11, Service11.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service11, node13, bound2, exports_instance2 };
|