@opencode/core 0.0.0-dev-478 → 0.0.0-dev-480
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +246 -246
- package/dist/bus.js +80 -80
- package/dist/chunks/{location-t48ka35x.js → app-01sxc1c2.js} +5 -5
- package/dist/chunks/{location-034tev2y.js → app-034tev2y.js} +2 -2
- package/dist/chunks/{location-cprfv412.js → app-035wadpx.js} +5 -5
- package/dist/chunks/{location-btms4n6t.js → app-0892kzf1.js} +6 -6
- package/dist/chunks/{location-qqg9c0kv.js → app-0ahs07zn.js} +4 -4
- package/dist/chunks/{location-btmsjhq3.js → app-0bskj9a3.js} +3 -3
- package/dist/chunks/{location-9s0v8mq9.js → app-0c255mfh.js} +36 -36
- package/dist/chunks/{location-hm3yj34d.js → app-0fzs4qek.js} +54 -42
- package/dist/chunks/{location-0j7gp832.js → app-0j7gp832.js} +1 -1
- package/dist/chunks/{location-0ma9gw4f.js → app-0ma9gw4f.js} +2 -2
- package/dist/chunks/{location-f8b4vtxj.js → app-0mn5h64x.js} +7 -7
- package/dist/chunks/{location-80gjmwh8.js → app-0nm9xmph.js} +7 -7
- package/dist/chunks/{location-3abv94nw.js → app-0x8q64rn.js} +25 -25
- package/dist/chunks/{location-ztm2fw2s.js → app-14nqs3ap.js} +4 -4
- package/dist/chunks/{location-xa143r31.js → app-19bray3m.js} +15 -15
- package/dist/chunks/{location-1aqsckx4.js → app-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-xzkx2axb.js → app-1ccesh34.js} +2 -2
- package/dist/chunks/{location-xs8g25ry.js → app-1cs0ztjs.js} +12 -12
- package/dist/chunks/{location-1ep2p91f.js → app-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-b2f2q0f5.js → app-1kh27kfm.js} +189 -189
- package/dist/chunks/{location-zcrd7vqr.js → app-1ph3b4tr.js} +29 -29
- package/dist/chunks/{location-1v2g13eq.js → app-1v2g13eq.js} +4 -4
- package/dist/chunks/{location-1x2knyw4.js → app-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-8byfnzqa.js → app-1yp5yc7j.js} +20 -20
- package/dist/chunks/{location-1yq9hg58.js → app-1yq9hg58.js} +1 -1
- package/dist/chunks/{location-5gzmpdqx.js → app-1zqc9pfk.js} +17 -17
- package/dist/chunks/{location-2eagfawa.js → app-25p1apms.js} +8 -8
- package/dist/chunks/{location-f7ma11rg.js → app-27b1v58b.js} +6 -6
- package/dist/chunks/{location-zd6q0tad.js → app-29w6bfzb.js} +19 -19
- package/dist/chunks/{location-nfwb5w7c.js → app-29znb8a3.js} +17 -17
- package/dist/chunks/{location-r75k2j2e.js → app-2bxnm4ec.js} +77 -77
- package/dist/chunks/app-2dkjcnxp.js +18 -0
- package/dist/chunks/{location-4n862eer.js → app-2epj4sa1.js} +4 -4
- package/dist/chunks/{location-2p60zmnr.js → app-2p60zmnr.js} +2 -2
- package/dist/chunks/{location-r4fhs19g.js → app-2v1211kw.js} +49 -49
- package/dist/chunks/{location-w8p8mrc1.js → app-2vk2ak2q.js} +23 -23
- package/dist/chunks/{location-6med2k0z.js → app-2w814gvs.js} +12 -12
- package/dist/chunks/{location-f41nm21f.js → app-2x55c7c5.js} +31 -31
- package/dist/chunks/{location-bgv92pnc.js → app-2z05z86t.js} +28 -28
- package/dist/chunks/{location-1cycred6.js → app-2zepk20t.js} +351 -351
- package/dist/chunks/{location-wx29f1yd.js → app-323cmkwk.js} +11 -11
- package/dist/chunks/{location-qxhvhjwq.js → app-32gn4798.js} +20 -20
- package/dist/chunks/{location-k2qg9scx.js → app-33vtbrd4.js} +9 -9
- package/dist/chunks/{location-ftyd1sm5.js → app-35ntjcgy.js} +25 -25
- package/dist/chunks/{location-sd50zddj.js → app-35tprrwd.js} +26 -26
- package/dist/chunks/{location-cmxrg3hq.js → app-37k6b6nc.js} +6 -6
- package/dist/chunks/{location-z080rjh6.js → app-38aws4xb.js} +4 -4
- package/dist/chunks/{location-z0hqw6m5.js → app-390xskpw.js} +4 -4
- package/dist/chunks/{location-x3fq85a8.js → app-3b53hm86.js} +8 -8
- package/dist/chunks/{location-ea5vdr8g.js → app-3ehakt2b.js} +9 -9
- package/dist/chunks/{location-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3nnrz6f6.js → app-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-mh8k9asf.js → app-3vea0fa5.js} +5 -5
- package/dist/chunks/{location-wmv27f9c.js → app-3xvfm8m4.js} +6 -6
- package/dist/chunks/{location-7xgnh8ev.js → app-3y6ztehy.js} +26 -26
- package/dist/chunks/{location-40y6dtc2.js → app-40y6dtc2.js} +1 -1
- package/dist/chunks/{location-5enarcya.js → app-40za9wsf.js} +6 -6
- package/dist/chunks/{location-44pmzq9c.js → app-44pmzq9c.js} +2 -2
- package/dist/chunks/{location-05zpggmq.js → app-47epqbk9.js} +11 -11
- package/dist/chunks/{location-ehy9sjp9.js → app-48c4cf2k.js} +32 -32
- package/dist/chunks/{location-5bdpcmde.js → app-4aqcs7cm.js} +24 -24
- package/dist/chunks/{location-7215dbqr.js → app-4bwthz3m.js} +6 -6
- package/dist/chunks/{location-4d2dtj2f.js → app-4d2dtj2f.js} +1 -1
- package/dist/chunks/{location-4dx1dgte.js → app-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-r542h3bh.js → app-4f25tdd0.js} +5 -5
- package/dist/chunks/{location-w8mkv1ve.js → app-4fcdzvcv.js} +33 -33
- package/dist/chunks/{location-ymvxdych.js → app-4g4z4142.js} +13 -13
- package/dist/chunks/{location-e7s73w55.js → app-4n2b8756.js} +32 -32
- package/dist/chunks/{location-3w88vk1x.js → app-4nyxr47m.js} +23 -23
- package/dist/chunks/{location-4pyp9zr9.js → app-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-t1cazzj5.js → app-4t66x4kf.js} +18 -18
- package/dist/chunks/{location-4v008n1t.js → app-4v008n1t.js} +1 -1
- package/dist/chunks/{location-rsj12xsr.js → app-4z1mvv1x.js} +5 -5
- package/dist/chunks/{location-v8vd993n.js → app-56je3jta.js} +8 -8
- package/dist/chunks/{location-qfrr1ca6.js → app-59jk283z.js} +11 -11
- package/dist/chunks/{location-69pzcp8f.js → app-5fanhgfz.js} +20 -20
- package/dist/chunks/{location-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-c0tz6aqz.js → app-5neq2awb.js} +11 -11
- package/dist/chunks/{location-hkwbm6wz.js → app-5s0vqhb5.js} +14 -14
- package/dist/chunks/{location-20hgg5jf.js → app-5zpqhmp2.js} +6 -6
- package/dist/chunks/{location-tj7xdjms.js → app-690aq4ev.js} +12 -12
- package/dist/chunks/{location-q4rn7dk6.js → app-69qb4gaq.js} +17 -17
- package/dist/chunks/{location-qc6b42y1.js → app-69r3s0z2.js} +4 -4
- package/dist/chunks/{location-dq4yj94y.js → app-6c691zda.js} +16 -16
- package/dist/chunks/{location-qrfsv89s.js → app-6mtyq6z7.js} +19 -19
- package/dist/chunks/{location-902rvdsa.js → app-6r3rh7r1.js} +14 -14
- package/dist/chunks/{location-0sqy1gc0.js → app-6rb0kxcw.js} +9 -9
- package/dist/chunks/{location-0zz8hbpc.js → app-6tzaetms.js} +13 -13
- package/dist/chunks/{location-38adaqc0.js → app-6xw3seg4.js} +5 -5
- package/dist/chunks/{location-c2jf07ga.js → app-6xxb6mpe.js} +7 -7
- package/dist/chunks/{location-af6wxkep.js → app-70esdp6e.js} +3 -3
- package/dist/chunks/{location-3ztqy8t2.js → app-729wf2sv.js} +16 -16
- package/dist/chunks/{location-w8qtt4th.js → app-76cb1hcw.js} +4 -4
- package/dist/chunks/{location-775hqbnd.js → app-775hqbnd.js} +3 -3
- package/dist/chunks/{location-hw7k750h.js → app-77srnqy4.js} +18 -18
- package/dist/chunks/{location-t2nxa2bt.js → app-79nnga0g.js} +50 -50
- package/dist/chunks/{location-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-7kr66rt3.js → app-7kr66rt3.js} +1 -1
- package/dist/chunks/{location-21c3sgp2.js → app-7q7rxd99.js} +34 -34
- package/dist/chunks/{location-v5hpj9dd.js → app-7tpyp9vw.js} +8 -8
- package/dist/chunks/{location-7w2ypzdf.js → app-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-7weczvnd.js → app-7weczvnd.js} +1 -1
- package/dist/chunks/{location-p4v89att.js → app-7yfjyeqk.js} +28 -28
- package/dist/chunks/{location-2c1ahv09.js → app-7yz4rvvq.js} +17 -17
- package/dist/chunks/{location-enn619n9.js → app-889wyzdh.js} +8 -8
- package/dist/chunks/{location-v9ak48th.js → app-88ff6j75.js} +5 -5
- package/dist/chunks/{location-89287pr7.js → app-89287pr7.js} +1 -1
- package/dist/chunks/{location-8b3vzgkx.js → app-8b3vzgkx.js} +1 -1
- package/dist/chunks/{location-pafcbs3j.js → app-8e6rjbvw.js} +21 -21
- package/dist/chunks/{location-2c74hnrj.js → app-8ph5tyb9.js} +22 -22
- package/dist/chunks/{location-2m5z3n1v.js → app-8ppgdgnm.js} +4 -4
- package/dist/chunks/{location-jqkg8735.js → app-8s9gs4xt.js} +21 -21
- package/dist/chunks/{location-8sxe6kv8.js → app-8sxe6kv8.js} +2 -2
- package/dist/chunks/{location-8wtp7s3z.js → app-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-90zstvax.js → app-90zstvax.js} +1 -1
- package/dist/chunks/{location-nt907s04.js → app-94e33dpz.js} +3 -3
- package/dist/chunks/{location-963hk181.js → app-963hk181.js} +2 -2
- package/dist/chunks/{location-nfdaxe0m.js → app-9a2vwae8.js} +12 -12
- package/dist/chunks/{location-phezegb1.js → app-9de5wjbr.js} +3 -3
- package/dist/chunks/{location-qdcdbkyx.js → app-9st9tfe3.js} +9 -9
- package/dist/chunks/{location-0m6fyr40.js → app-ac642rmg.js} +11 -11
- package/dist/chunks/{location-ayjs7tqn.js → app-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-b6vsg801.js → app-b6vsg801.js} +2 -2
- package/dist/chunks/{location-xvyvqxq6.js → app-b8rax9gc.js} +3 -3
- package/dist/chunks/{location-ssgctbgc.js → app-ba5rcjwv.js} +45 -45
- package/dist/chunks/{location-e1a65yqt.js → app-bd76xnxh.js} +8 -8
- package/dist/chunks/{location-yq2fbvdd.js → app-bjx4a53x.js} +11 -11
- package/dist/chunks/{location-867yrhje.js → app-bjzy61a4.js} +5 -5
- package/dist/chunks/{location-vfbp3arj.js → app-bnnprwfj.js} +11 -11
- package/dist/chunks/{location-qnke3atb.js → app-bnqpswrr.js} +8 -8
- package/dist/chunks/{location-mkqteem8.js → app-brjmxn14.js} +16 -16
- package/dist/chunks/{location-kmfcfw9x.js → app-bsk7mddt.js} +26 -26
- package/dist/chunks/{location-xd9cc171.js → app-bstexjd6.js} +5 -5
- package/dist/chunks/{location-pt12bjpd.js → app-bvgyq84r.js} +12 -12
- package/dist/chunks/{location-qxvjc2q2.js → app-bydc9kjr.js} +12 -12
- package/dist/chunks/{location-pa9z79r3.js → app-cbf5n1y2.js} +30 -30
- package/dist/chunks/{location-mk4fxqvh.js → app-cd9gcdpg.js} +4 -4
- package/dist/chunks/{location-etbt7bfj.js → app-ck0a13vj.js} +13 -13
- package/dist/chunks/{location-5n1g0j0k.js → app-ct922x92.js} +11 -11
- package/dist/chunks/{location-cwrgdav8.js → app-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-cxab28sr.js → app-cxab28sr.js} +2 -2
- package/dist/chunks/{location-79k544d0.js → app-czwy3yzx.js} +4 -4
- package/dist/chunks/{location-d4v9tmah.js → app-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-5p2ebvgg.js → app-dcp06de2.js} +9 -9
- package/dist/chunks/{location-w18qqaet.js → app-deze0pbg.js} +40 -40
- package/dist/chunks/{location-h4r5q5wx.js → app-dghd1q51.js} +14 -14
- package/dist/chunks/{location-j08aee1v.js → app-dgyn6wwr.js} +16 -16
- package/dist/chunks/{location-dt77769w.js → app-dt77769w.js} +1 -1
- package/dist/chunks/{location-fjtpg21e.js → app-dv69vrjt.js} +28 -28
- package/dist/chunks/{location-7fpgznt3.js → app-e4zeypx4.js} +11 -11
- package/dist/chunks/{location-4fe8zn31.js → app-e6fqcwsk.js} +6 -6
- package/dist/chunks/{location-e834z07m.js → app-e834z07m.js} +1 -1
- package/dist/chunks/{location-w04br7xb.js → app-e8myj6jb.js} +11 -11
- package/dist/chunks/{location-020e7ky9.js → app-ee8h273g.js} +12 -12
- package/dist/chunks/{location-te9q1npe.js → app-egb0tdpa.js} +9 -9
- package/dist/chunks/{location-7gtyv0n0.js → app-eh2tgqqb.js} +33 -33
- package/dist/chunks/{location-p5wvj9da.js → app-ep1fdtvb.js} +30 -30
- package/dist/chunks/{location-eqw4pqj1.js → app-eqw4pqj1.js} +2 -2
- package/dist/chunks/{location-850kv106.js → app-esqtx2bv.js} +4 -4
- package/dist/chunks/{location-xgxp23qn.js → app-ewa1ec51.js} +4 -4
- package/dist/chunks/{location-w1xk7q16.js → app-ez7r46kf.js} +16 -16
- package/dist/chunks/{location-ver7wrgy.js → app-f0sjhv8k.js} +15 -15
- package/dist/chunks/{location-eby3s5xx.js → app-f3r7ra5x.js} +5 -5
- package/dist/chunks/{location-9f77sbey.js → app-f6ss1wp3.js} +40 -40
- package/dist/chunks/{location-0dwp8a0k.js → app-f9px2wq5.js} +8 -8
- package/dist/chunks/{location-kjn89aej.js → app-ff9qqsat.js} +21 -21
- package/dist/chunks/{location-fffv3p7h.js → app-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-fg9p65nk.js → app-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-377zq2ns.js → app-fm152kwa.js} +9 -9
- package/dist/chunks/{location-dn1v501c.js → app-fn6ry6x3.js} +15 -15
- package/dist/chunks/{location-eafmm9f4.js → app-fp0vcpt3.js} +5 -5
- package/dist/chunks/{location-j8haacnf.js → app-ftsg2ab9.js} +12 -12
- package/dist/chunks/{location-278r5efb.js → app-fzkjf62m.js} +20 -20
- package/dist/chunks/{location-0gwbn6a0.js → app-g4v74gy6.js} +8 -8
- package/dist/chunks/{location-gbjdnr5j.js → app-gbjdnr5j.js} +2 -2
- package/dist/chunks/app-gj6zt7jr.js +261 -0
- package/dist/chunks/{location-2xabch4h.js → app-gjghz9g4.js} +2 -2
- package/dist/chunks/{location-gxs71cxp.js → app-gxs71cxp.js} +1 -1
- package/dist/chunks/{location-2m2g9ynh.js → app-h0rg6s60.js} +4 -4
- package/dist/chunks/{location-ff1zp5s0.js → app-h9kyje9x.js} +59 -59
- package/dist/chunks/{location-kedf0ann.js → app-hbe2vhx0.js} +4 -4
- package/dist/chunks/{location-0j26xjnm.js → app-hf0syw03.js} +33 -33
- package/dist/chunks/{location-0g8zxa44.js → app-hhc0852x.js} +3 -3
- package/dist/chunks/{location-2m1yar9d.js → app-hkmsr0ex.js} +28 -28
- package/dist/chunks/{location-enatbb5b.js → app-hny7yx1q.js} +17 -17
- package/dist/chunks/{location-hpg1pkwy.js → app-hpg1pkwy.js} +1 -1
- package/dist/chunks/{location-q5jm8xc7.js → app-hsad75c7.js} +9 -9
- package/dist/chunks/{location-k1w3cq0y.js → app-htwgbsdd.js} +8 -8
- package/dist/chunks/{location-0p5j0q1n.js → app-hv7hhxe7.js} +27 -27
- package/dist/chunks/{location-4mcq6f31.js → app-hxhjnsvc.js} +9 -9
- package/dist/chunks/{location-swyqjsy1.js → app-hzg4n0pv.js} +31 -31
- package/dist/chunks/{location-rzgaj7xt.js → app-j35vrh5w.js} +33 -33
- package/dist/chunks/{location-sav95y9m.js → app-j4re26mb.js} +86 -86
- package/dist/chunks/{location-j9nxzz3g.js → app-j9nxzz3g.js} +3 -3
- package/dist/chunks/{location-3r17c5hc.js → app-jf43mb4q.js} +5 -5
- package/dist/chunks/{location-694dpcrp.js → app-jjvvtnfs.js} +7 -7
- package/dist/chunks/{location-5n0rnk8e.js → app-jkdcm5hg.js} +4 -4
- package/dist/chunks/{location-3zs77ea8.js → app-jm0x7179.js} +38 -38
- package/dist/chunks/{location-q31r0kes.js → app-jn1pk9qr.js} +27 -27
- package/dist/chunks/{location-f4xz5g1h.js → app-jqc5eb3q.js} +42 -42
- package/dist/chunks/{location-jtnps1zs.js → app-jtnps1zs.js} +2 -2
- package/dist/chunks/{location-p3q79ehf.js → app-k0q7t0cq.js} +13 -13
- package/dist/chunks/{location-wfdx5ztx.js → app-k3cx6fhe.js} +4 -4
- package/dist/chunks/{location-20pht57w.js → app-k46dd5bg.js} +4 -4
- package/dist/chunks/{location-hcm47rzd.js → app-k9mev5ma.js} +6 -6
- package/dist/chunks/{location-5fcb8v18.js → app-kak54rfk.js} +12 -12
- package/dist/chunks/{location-yts2a8qm.js → app-kbgs7tyr.js} +4 -4
- package/dist/chunks/{location-11db1ksq.js → app-kev0rknr.js} +43 -43
- package/dist/chunks/{location-9km3nys4.js → app-kevqfsd3.js} +5 -5
- package/dist/chunks/{location-ba2zb7af.js → app-kkw24wtk.js} +43 -43
- package/dist/chunks/{location-g78d4y2q.js → app-kse4pj6t.js} +41 -41
- package/dist/chunks/{location-kt3bjfbg.js → app-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-dngfnfy2.js → app-kw5k2th0.js} +10 -10
- package/dist/chunks/{location-kzczzf4v.js → app-kzczzf4v.js} +1 -1
- package/dist/chunks/{location-m1714858.js → app-m1714858.js} +1 -1
- package/dist/chunks/{location-rvcj513c.js → app-m3pwqbwq.js} +11 -11
- package/dist/chunks/{location-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mb7mbhnz.js → app-mb7mbhnz.js} +3 -3
- package/dist/chunks/{location-kp947ncn.js → app-mcgq8fg0.js} +21 -21
- package/dist/chunks/{location-v0t96s7a.js → app-mf63ygpr.js} +4 -4
- package/dist/chunks/{location-qbemgaet.js → app-mt6vzf6s.js} +13 -13
- package/dist/chunks/{location-g0hb2g1m.js → app-mvnwdwmw.js} +1 -1
- package/dist/chunks/{location-gbqssc9y.js → app-n5jj43cg.js} +4 -4
- package/dist/chunks/{location-2d8prpq8.js → app-ndvyrhxt.js} +32 -32
- package/dist/chunks/{location-8r5yfeas.js → app-nfqr52w1.js} +46 -46
- package/dist/chunks/{location-pjzawjd1.js → app-nw690v4j.js} +32 -32
- package/dist/chunks/{location-jwve1gmd.js → app-nyc4jwvb.js} +4 -4
- package/dist/chunks/{location-hy13g3t2.js → app-p8f4bkd9.js} +8 -8
- package/dist/chunks/{location-xq2jfv5r.js → app-pbtq0xh8.js} +15 -15
- package/dist/chunks/{location-a7jf338s.js → app-pdh4dm2s.js} +11 -11
- package/dist/chunks/{location-pjk4x9d0.js → app-phmgg4nn.js} +3 -3
- package/dist/chunks/{location-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{location-b8s7qvfy.js → app-pkzaafh3.js} +24 -24
- package/dist/chunks/{location-vds0szwv.js → app-psaq7w5p.js} +27 -27
- package/dist/chunks/{location-5fvb5z6a.js → app-q2c48w2f.js} +26 -26
- package/dist/chunks/{location-ygaqm4vm.js → app-q94xbs3k.js} +31 -31
- package/dist/chunks/{location-vt4r9rmy.js → app-qh5g3qaw.js} +9 -9
- package/dist/chunks/{location-jcs5sr1r.js → app-qmkmbszb.js} +18 -18
- package/dist/chunks/{location-qp7r0hxv.js → app-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-qqvy8y24.js → app-qqvy8y24.js} +1 -1
- package/dist/chunks/{location-rr81d7b6.js → app-qr8hn1sn.js} +7 -7
- package/dist/chunks/{location-p85e8ykt.js → app-qsvhv05j.js} +24 -24
- package/dist/chunks/{location-vnjc296t.js → app-qtf35215.js} +3 -3
- package/dist/chunks/{location-8t99kr38.js → app-r17fbvme.js} +4 -4
- package/dist/chunks/{location-q04tfzwg.js → app-r3am8bxq.js} +17 -17
- package/dist/chunks/{location-nb0223kt.js → app-r6r95tvq.js} +5 -5
- package/dist/chunks/{location-rb9dy4dg.js → app-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-sdtq4dtx.js → app-rhprh2s9.js} +8 -8
- package/dist/chunks/{location-vt2d6wap.js → app-rj7j5fvs.js} +4 -4
- package/dist/chunks/{location-3abk0zea.js → app-rmeffpf9.js} +11 -11
- package/dist/chunks/{location-vzppetdn.js → app-rmv7fhs4.js} +6 -6
- package/dist/chunks/{location-vfqvyvhb.js → app-rqp2fa0h.js} +10 -10
- package/dist/chunks/{location-rt5dr6hb.js → app-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-p0m3a0br.js → app-rty8vnq8.js} +2 -2
- package/dist/chunks/{location-c32zfq3f.js → app-s320htan.js} +8 -8
- package/dist/chunks/{location-rbdqmzmc.js → app-s5r5pqmg.js} +59 -59
- package/dist/chunks/{location-y5x2nzfy.js → app-s643ebaf.js} +29 -29
- package/dist/chunks/{location-sa3fpqfw.js → app-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-sbya78hr.js → app-sbya78hr.js} +1 -1
- package/dist/chunks/{location-mqe7nf5n.js → app-sbz71ybr.js} +3 -3
- package/dist/chunks/{location-vszegqvg.js → app-sj49106k.js} +11 -11
- package/dist/chunks/app-sjpm2wtc.js +26 -0
- package/dist/chunks/{location-4hhyssj0.js → app-sk38pgfv.js} +11 -11
- package/dist/chunks/{location-2xfezrfw.js → app-st0cffhr.js} +11 -11
- package/dist/chunks/{location-svcy3p9a.js → app-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-dpydvgsc.js → app-sx2sqvt0.js} +8 -8
- package/dist/chunks/{location-szwm4crx.js → app-szwm4crx.js} +4 -4
- package/dist/chunks/{location-6pmqyvpv.js → app-szxd9z8c.js} +18 -18
- package/dist/chunks/{location-twkh938h.js → app-t6fvvd0q.js} +10 -10
- package/dist/chunks/{location-78p2h4ex.js → app-t8erkws8.js} +5 -5
- package/dist/chunks/{location-tczq8hjw.js → app-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-c2x98rcc.js → app-tgfrqp5x.js} +6 -6
- package/dist/chunks/{location-th2hp9ev.js → app-th2hp9ev.js} +5 -5
- package/dist/chunks/{location-7wpfpdbm.js → app-thtdv5s3.js} +11 -11
- package/dist/chunks/{location-dy41a2ws.js → app-tj6g9xqy.js} +9 -9
- package/dist/chunks/{location-tr8x705m.js → app-tr8x705m.js} +1 -1
- package/dist/chunks/{location-twssxy5n.js → app-twssxy5n.js} +2 -2
- package/dist/chunks/{location-c7zjtvc8.js → app-tx9th86b.js} +3 -3
- package/dist/chunks/{location-v2r1d0zg.js → app-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-m2b1dm9t.js → app-vcr7qvjv.js} +6 -6
- package/dist/chunks/{location-sp63pezr.js → app-vegpmsma.js} +4 -4
- package/dist/chunks/{location-44kba8jx.js → app-ven1czbf.js} +16 -16
- package/dist/chunks/{location-6waqsvqa.js → app-vgcbppz4.js} +11 -11
- package/dist/chunks/{location-k9kkt3zc.js → app-vhdveqxn.js} +22 -22
- package/dist/chunks/{location-vjf35v1f.js → app-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-6pd0d64e.js → app-vkq1ae39.js} +11 -11
- package/dist/chunks/{location-e9tdtc9d.js → app-vsgb1f4e.js} +15 -15
- package/dist/chunks/{location-cpdqm49x.js → app-vx9d4jfk.js} +18 -18
- package/dist/chunks/{location-2vjc90sg.js → app-w3c3s7r0.js} +16 -16
- package/dist/chunks/{location-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-wr3re1en.js → app-w687dnns.js} +4 -4
- package/dist/chunks/{location-4a9gdagm.js → app-wa3m3n7k.js} +14 -14
- package/dist/chunks/{location-wakvkjy4.js → app-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-c35pc2g3.js → app-wbqm5j27.js} +71 -71
- package/dist/chunks/{location-g6r525js.js → app-wcjy6v7w.js} +9 -9
- package/dist/chunks/{location-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{location-wegkxhrn.js → app-wegkxhrn.js} +2 -2
- package/dist/chunks/{location-qg2c72fj.js → app-wffevkx6.js} +21 -21
- package/dist/chunks/{location-wnhgecwx.js → app-wnhgecwx.js} +1 -1
- package/dist/chunks/{location-qexjqm7m.js → app-wq0rd6cr.js} +12 -12
- package/dist/chunks/{location-3y1g6egy.js → app-wtm34wvt.js} +26 -26
- package/dist/chunks/{location-95sp4hdf.js → app-wws03c5r.js} +4 -4
- package/dist/chunks/{location-7dy6zmxp.js → app-wxej1nzg.js} +22 -22
- package/dist/chunks/{location-38zjc79x.js → app-wyzw1feq.js} +5 -5
- package/dist/chunks/{location-b1bx7tvc.js → app-wz104dr9.js} +3 -3
- package/dist/chunks/{location-eavcrtrz.js → app-x150ncgg.js} +2 -2
- package/dist/chunks/{location-525ha6pv.js → app-x8fqtcqj.js} +45 -45
- package/dist/chunks/{location-maq5kr1r.js → app-x9nz0k3p.js} +33 -33
- package/dist/chunks/{location-3505vmpq.js → app-xcqpvrxn.js} +21 -21
- package/dist/chunks/{location-c89cp3jt.js → app-xcygg6mt.js} +20 -20
- package/dist/chunks/{location-9h69dt5r.js → app-xfzj7gv9.js} +11 -11
- package/dist/chunks/{location-mjrcsjpa.js → app-xjbsd7zy.js} +9 -9
- package/dist/chunks/{location-m3kvqs0d.js → app-xk9149mm.js} +6 -6
- package/dist/chunks/{location-fdxbnvz1.js → app-xs0nknjh.js} +21 -21
- package/dist/chunks/{location-3xw4begd.js → app-xzqn2rhm.js} +9 -9
- package/dist/chunks/{location-gac3zvym.js → app-y6ptae2a.js} +10 -10
- package/dist/chunks/{location-1at69vbb.js → app-yadjp1dh.js} +40 -40
- package/dist/chunks/{location-yb20nhc3.js → app-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-0gdrrj59.js → app-yc9fq4e8.js} +5 -5
- package/dist/chunks/{location-q2va10hk.js → app-yd5ts3vm.js} +13 -13
- package/dist/chunks/{location-81bq9pne.js → app-yg9m2vv3.js} +21 -21
- package/dist/chunks/{location-spaxw9fh.js → app-ygvhn020.js} +8 -8
- package/dist/chunks/{location-yr705xyq.js → app-yr705xyq.js} +1 -1
- package/dist/chunks/{location-yvtc2x31.js → app-yvtc2x31.js} +1 -1
- package/dist/chunks/{location-cwj1b16q.js → app-ywnf2d1v.js} +8 -8
- package/dist/chunks/{location-jy2czfqv.js → app-yydqqga9.js} +4 -4
- package/dist/chunks/{location-vd1xy4rv.js → app-z06h1gcq.js} +21 -21
- package/dist/chunks/{location-xdkjmydk.js → app-z4zjbjyv.js} +18 -18
- package/dist/chunks/{location-4pypt2ck.js → app-zdkp82n7.js} +19 -19
- package/dist/chunks/{location-513j6ct6.js → app-zeb1kz6r.js} +20 -20
- package/dist/chunks/{location-x4mcewfn.js → app-znjfpv5m.js} +6 -6
- package/dist/chunks/{location-edjrypxb.js → app-zvqwea82.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +128 -128
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- 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/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +117 -117
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +114 -114
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +116 -116
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +155 -155
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +234 -234
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +407 -407
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- 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 +4 -4
- 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 +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +247 -247
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +239 -239
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +248 -248
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +196 -196
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +234 -234
- package/dist/session/usage.js +3 -3
- package/dist/session.js +233 -233
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +106 -106
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +166 -166
- package/dist/tool/plugin/image-generate.js +237 -237
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +162 -162
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +171 -171
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +145 -145
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +151 -151
- package/dist/tool/plugin/webfetch.js +153 -153
- package/dist/tool/plugin/websearch.js +151 -151
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +115 -115
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/usage-limits.js +98 -98
- 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 +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +96 -96
- package/dist/voice.js +95 -95
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/location-1xm5rxnq.js +0 -261
- package/dist/chunks/location-ev660z6k.js +0 -18
- package/dist/chunks/location-xrnbhdpb.js +0 -26
- /package/dist/chunks/{location-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kah00gy.js → app-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-1pevy3nx.js → app-1pevy3nx.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → app-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4qk9sjk2.js → app-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5w3e23ze.js → app-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-6agm2x70.js → app-6agm2x70.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → app-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-beh6qq61.js → app-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cqv5kn06.js → app-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-dbht28n9.js → app-dbht28n9.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ean2d8b5.js → app-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fkpq3x5p.js → app-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → app-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jwr30sdr.js → app-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → app-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-nh4v3znn.js → app-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-p71gwv9c.js → app-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-syrav9an.js → app-syrav9an.js} +0 -0
- /package/dist/chunks/{location-t03h4f5z.js → app-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-ty7weeps.js → app-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → app-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-vtarvj67.js → app-vtarvj67.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-pdh4dm2s.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-40za9wsf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin4,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin4 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin24 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin24 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin4, exports_firecrawl };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-hv7hhxe7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./app-q94xbs3k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin17,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin17 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service80;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin17, exports_verbosity };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-69r3s0z2.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-wws03c5r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID18,
|
|
14
|
+
Service83,
|
|
15
|
+
node86,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./app-wtm34wvt.js";
|
|
18
18
|
import {
|
|
19
19
|
Service86,
|
|
20
20
|
node89
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-rty8vnq8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider4 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider4, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event17,
|
|
35
|
+
ID: () => ID17,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider4,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service82,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider4, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node85,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -332,8 +332,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
332
332
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
333
333
|
|
|
334
334
|
// src/provider.ts
|
|
335
|
-
import { Event as
|
|
336
|
-
var
|
|
335
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
336
|
+
var ID17 = Provider.ID;
|
|
337
337
|
var AISDK_PREFIX2 = "aisdk:";
|
|
338
338
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
339
339
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -578,9 +578,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
578
578
|
var Cache2 = Provider.Cache;
|
|
579
579
|
var Transport2 = Provider.Transport;
|
|
580
580
|
var Settings2 = Provider.Settings;
|
|
581
|
-
var
|
|
581
|
+
var Info25 = Provider.Info;
|
|
582
582
|
|
|
583
|
-
class
|
|
583
|
+
class Service82 extends Context.Service()("@opencode/Provider") {
|
|
584
584
|
}
|
|
585
585
|
var definitions = new WeakMap;
|
|
586
586
|
function index(providerID, models) {
|
|
@@ -593,9 +593,9 @@ function index(providerID, models) {
|
|
|
593
593
|
definitions.set(models, indexes);
|
|
594
594
|
return result;
|
|
595
595
|
}
|
|
596
|
-
var layer = Layer.effect(
|
|
596
|
+
var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
597
597
|
const bus = yield* Service89;
|
|
598
|
-
const integrations = yield*
|
|
598
|
+
const integrations = yield* Service83;
|
|
599
599
|
const location = yield* Service86;
|
|
600
600
|
const state = create4({
|
|
601
601
|
name: "provider",
|
|
@@ -607,7 +607,7 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
|
|
|
607
607
|
const current = records.get(id);
|
|
608
608
|
if (current)
|
|
609
609
|
return current;
|
|
610
|
-
const added = { provider:
|
|
610
|
+
const added = { provider: Info25.empty(id), models: new Map };
|
|
611
611
|
records.set(id, added);
|
|
612
612
|
maps.add(added.models);
|
|
613
613
|
return added;
|
|
@@ -688,7 +688,7 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
|
|
|
688
688
|
const available = Array.from(records.values()).filter((record) => {
|
|
689
689
|
if (record.provider.activation === "disabled")
|
|
690
690
|
return false;
|
|
691
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
691
|
+
const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
|
|
692
692
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
693
693
|
return false;
|
|
694
694
|
if (record.provider.activation === "enabled")
|
|
@@ -714,8 +714,8 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
|
|
|
714
714
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
715
715
|
});
|
|
716
716
|
});
|
|
717
|
-
yield* bus.subscribe([
|
|
718
|
-
return
|
|
717
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
718
|
+
return Service82.of({
|
|
719
719
|
transform: state.transform,
|
|
720
720
|
reload: state.reload,
|
|
721
721
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -724,7 +724,7 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
|
|
|
724
724
|
snapshot
|
|
725
725
|
});
|
|
726
726
|
}));
|
|
727
|
-
var
|
|
727
|
+
var node85 = makeLocationNode({ service: Service82, layer, deps: [node92, node86, node89] });
|
|
728
728
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
729
729
|
const module = yield* Effect2.tryPromise({
|
|
730
730
|
try: () => {
|
|
@@ -746,4 +746,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
746
746
|
return module;
|
|
747
747
|
});
|
|
748
748
|
|
|
749
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
749
|
+
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service82, node85, exports_provider4, Event17 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-4d2dtj2f.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service6 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service6.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service6, node8, exports_update };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./app-8ph5tyb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-rty8vnq8.js";
|
|
7
7
|
import {
|
|
8
8
|
Unattended2,
|
|
9
9
|
merge2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service72
|
|
11
|
+
} from "./app-jqc5eb3q.js";
|
|
12
12
|
import {
|
|
13
13
|
qualifiedName2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-25p1apms.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service60
|
|
17
|
+
} from "./app-xcqpvrxn.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service20,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-vhdveqxn.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service30
|
|
24
|
+
} from "./app-2dkjcnxp.js";
|
|
25
25
|
import {
|
|
26
26
|
Service49
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-qsvhv05j.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service36
|
|
30
|
+
} from "./app-2x55c7c5.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
Service65,
|
|
33
33
|
args2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-729wf2sv.js";
|
|
35
35
|
import {
|
|
36
36
|
scan3
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./app-8ppgdgnm.js";
|
|
38
38
|
import {
|
|
39
39
|
__export
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./app-9rqn6x4v.js";
|
|
41
41
|
|
|
42
42
|
// src/schedule/check.ts
|
|
43
43
|
var exports_check = {};
|
|
@@ -122,7 +122,7 @@ function describe2(condition) {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
var authorize2 = Effect.fnUntraced(function* (session, name, when, check) {
|
|
125
|
-
const plugins = yield*
|
|
125
|
+
const plugins = yield* Service30;
|
|
126
126
|
yield* plugins.awaitActivation;
|
|
127
127
|
switch (check.condition.type) {
|
|
128
128
|
case "shell":
|
|
@@ -133,7 +133,7 @@ var authorize2 = Effect.fnUntraced(function* (session, name, when, check) {
|
|
|
133
133
|
});
|
|
134
134
|
var evaluate2 = Effect.fnUntraced(function* (session, check, prevState, context) {
|
|
135
135
|
const run = Effect.gen(function* () {
|
|
136
|
-
const plugins = yield*
|
|
136
|
+
const plugins = yield* Service30;
|
|
137
137
|
yield* plugins.awaitActivation;
|
|
138
138
|
switch (check.condition.type) {
|
|
139
139
|
case "shell":
|
|
@@ -148,7 +148,7 @@ var evaluate2 = Effect.fnUntraced(function* (session, check, prevState, context)
|
|
|
148
148
|
})));
|
|
149
149
|
});
|
|
150
150
|
var resolveCodeTools = Effect.fnUntraced(function* (paths) {
|
|
151
|
-
const mcp = yield*
|
|
151
|
+
const mcp = yield* Service36;
|
|
152
152
|
const tools = yield* Service49;
|
|
153
153
|
if (paths.length > 0)
|
|
154
154
|
yield* mcp.flush;
|
|
@@ -169,8 +169,8 @@ var resolveCodeTools = Effect.fnUntraced(function* (paths) {
|
|
|
169
169
|
return { tools, resolved };
|
|
170
170
|
});
|
|
171
171
|
var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, condition) {
|
|
172
|
-
const permission = yield*
|
|
173
|
-
const agents = yield*
|
|
172
|
+
const permission = yield* Service72;
|
|
173
|
+
const agents = yield* Service75;
|
|
174
174
|
const agent = yield* agents.select(session.agent);
|
|
175
175
|
const scanned = CodeMode.scanTools(condition.code);
|
|
176
176
|
if (Result.isFailure(scanned))
|
|
@@ -209,8 +209,8 @@ var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, cond
|
|
|
209
209
|
}), { discard: true });
|
|
210
210
|
});
|
|
211
211
|
var runCode = Effect.fnUntraced(function* (session, condition, prevState, context) {
|
|
212
|
-
const permission = yield*
|
|
213
|
-
const agents = yield*
|
|
212
|
+
const permission = yield* Service72;
|
|
213
|
+
const agents = yield* Service75;
|
|
214
214
|
const agent = yield* agents.select(session.agent);
|
|
215
215
|
if (!agent.info)
|
|
216
216
|
return { ok: false, error: `Agent not found: ${agent.id}` };
|
|
@@ -281,8 +281,8 @@ var runCode = Effect.fnUntraced(function* (session, condition, prevState, contex
|
|
|
281
281
|
});
|
|
282
282
|
var scanShell = Effect.fnUntraced(function* (command) {
|
|
283
283
|
const location = yield* Service86;
|
|
284
|
-
const access = yield*
|
|
285
|
-
const shellSelect = yield*
|
|
284
|
+
const access = yield* Service20;
|
|
285
|
+
const shellSelect = yield* Service65;
|
|
286
286
|
const target = yield* access.resolve({ path: location.directory, kind: "directory" }).pipe(Effect.mapError((error) => error.message));
|
|
287
287
|
const shell = yield* shellSelect.resolve({ priority: "compat" });
|
|
288
288
|
const parsed = yield* scan3(command, shell, target.absolute).pipe(Effect.mapError((error) => error.message));
|
|
@@ -292,8 +292,8 @@ var scanShell = Effect.fnUntraced(function* (command) {
|
|
|
292
292
|
return { shell, cwd: target.absolute, workspaceID: location.workspaceID, external, commands };
|
|
293
293
|
});
|
|
294
294
|
var assertShellPermissions = Effect.fnUntraced(function* (session, scanned, metadata) {
|
|
295
|
-
const permission = yield*
|
|
296
|
-
const agents = yield*
|
|
295
|
+
const permission = yield* Service72;
|
|
296
|
+
const agents = yield* Service75;
|
|
297
297
|
const agent = yield* agents.select(session.agent);
|
|
298
298
|
if (scanned.external.length > 0) {
|
|
299
299
|
yield* permission.assert({
|
|
@@ -325,7 +325,7 @@ var authorizeShell = Effect.fnUntraced(function* (session, name, when, mode, con
|
|
|
325
325
|
});
|
|
326
326
|
});
|
|
327
327
|
var runShell = Effect.fnUntraced(function* (session, condition, prevState) {
|
|
328
|
-
const environment = yield*
|
|
328
|
+
const environment = yield* Service60;
|
|
329
329
|
const scannedExit = yield* Effect.result(scanShell(condition.run));
|
|
330
330
|
if (Result.isFailure(scannedExit))
|
|
331
331
|
return { ok: false, error: scannedExit.failure };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-wws03c5r.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-2z05z86t.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID18,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-wtm34wvt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID17,
|
|
13
13
|
aisdk2,
|
|
14
14
|
mergeOverlay2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service82
|
|
16
|
+
} from "./app-hv7hhxe7.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
ID16
|
|
19
|
+
} from "./app-q94xbs3k.js";
|
|
20
20
|
import {
|
|
21
21
|
load4,
|
|
22
22
|
derive2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-vkq1ae39.js";
|
|
24
24
|
import {
|
|
25
25
|
useragent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-pdh4dm2s.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID14
|
|
29
|
+
} from "./app-8ph5tyb9.js";
|
|
30
30
|
import {
|
|
31
31
|
get5
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./app-3nnrz6f6.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
34
|
+
Service13,
|
|
35
35
|
fingerprint2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./app-s320htan.js";
|
|
37
37
|
import {
|
|
38
38
|
start3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./app-qr8hn1sn.js";
|
|
40
40
|
|
|
41
41
|
// src/plugin/provider/github-copilot.ts
|
|
42
42
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -70,7 +70,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
70
70
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
71
71
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
72
72
|
var oauth = (app) => ({
|
|
73
|
-
integrationID:
|
|
73
|
+
integrationID: ID18.make("github-copilot"),
|
|
74
74
|
method: {
|
|
75
75
|
id: methodID,
|
|
76
76
|
type: "oauth",
|
|
@@ -168,8 +168,8 @@ var oauth = (app) => ({
|
|
|
168
168
|
var GithubCopilotPlugin2 = define({
|
|
169
169
|
id: "opencode.provider.github.copilot",
|
|
170
170
|
effect: Effect.fn(function* (ctx) {
|
|
171
|
-
const providers = yield*
|
|
172
|
-
const cache = yield*
|
|
171
|
+
const providers = yield* Service82;
|
|
172
|
+
const cache = yield* Service13;
|
|
173
173
|
const http = yield* HttpClient.HttpClient;
|
|
174
174
|
const discovered = yield* start3({
|
|
175
175
|
integrationID: "github-copilot",
|
|
@@ -184,7 +184,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
184
184
|
if (!connection || credential?.type !== "oauth")
|
|
185
185
|
return { connection, value: {} };
|
|
186
186
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
187
|
-
const headers = (yield* providers.get(
|
|
187
|
+
const headers = (yield* providers.get(ID17.githubCopilot))?.headers ?? {};
|
|
188
188
|
const models = yield* cache.get({
|
|
189
189
|
key: modelsKey(connection, url, headers),
|
|
190
190
|
...options,
|
|
@@ -205,7 +205,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
205
205
|
editor.method.update(oauth(ctx.app));
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.provider.transform((evt) => {
|
|
208
|
-
const item = evt.get(
|
|
208
|
+
const item = evt.get(ID17.githubCopilot);
|
|
209
209
|
if (!item)
|
|
210
210
|
return;
|
|
211
211
|
const loaded = discovered.current;
|
|
@@ -234,14 +234,14 @@ var GithubCopilotPlugin2 = define({
|
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
236
|
yield* ctx.model.transform((models) => {
|
|
237
|
-
if (models.get(
|
|
238
|
-
models.update(
|
|
237
|
+
if (models.get(ID17.githubCopilot, ID16.make("gpt-5-chat-latest"))) {
|
|
238
|
+
models.update(ID17.githubCopilot, ID16.make("gpt-5-chat-latest"), (model) => {
|
|
239
239
|
model.enabled = false;
|
|
240
240
|
});
|
|
241
241
|
}
|
|
242
242
|
});
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID17.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID17.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,14 +260,14 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID17.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID17.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
const loaded = discovered.current;
|
|
268
268
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
269
269
|
return;
|
|
270
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
270
|
+
const agent = yield* ctx.agent.get({ agentID: ID14.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
271
271
|
return;
|
|
272
272
|
}));
|
|
273
273
|
if (agent?.data.model)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
279
279
|
return;
|
|
280
280
|
}));
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID17.githubCopilot });
|
|
282
282
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID17.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
const token = evt.request.headers.get("x-api-key");
|
|
286
286
|
if (!token)
|
|
@@ -288,9 +288,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
288
288
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
289
289
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
290
290
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
291
|
-
}), { providerID:
|
|
291
|
+
}), { providerID: ID17.githubCopilot });
|
|
292
292
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
293
|
-
if (evt.model.providerID !==
|
|
293
|
+
if (evt.model.providerID !== ID17.githubCopilot)
|
|
294
294
|
return;
|
|
295
295
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
296
296
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|