@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-th2hp9ev.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service90,
|
|
12
12
|
node93
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9de5wjbr.js";
|
|
14
14
|
import {
|
|
15
15
|
Service89,
|
|
16
16
|
node92
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-69r3s0z2.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
25
|
ID21,
|
|
26
26
|
NotFoundError14
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-6rb0kxcw.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref5
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-rty8vnq8.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service70,
|
|
33
|
+
node73
|
|
34
|
+
} from "./app-xzqn2rhm.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./app-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service69
|
|
41
|
+
} from "./app-ez7r46kf.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./app-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput5,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event11,
|
|
53
|
+
Info: () => Info14,
|
|
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: () => Service68,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node71
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,9 +75,9 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput5 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info14 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
|
-
var
|
|
80
|
+
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
82
|
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID21, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
@@ -90,17 +90,17 @@ 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 Event11 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service68 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service90;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service89;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service70;
|
|
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)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref5.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service69).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event11.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service28, 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 Service68.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(Service28, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node71 = Node.makeGlobalNode({
|
|
260
|
+
service: Service68,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node92, node93, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node92, node93, AppProcess.node, node73]
|
|
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, CreateInput5, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput5, RemoveInput2, Info14, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event11, Service68, node71, exports_worktree2, OperationError2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-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: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
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 Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service4,
|
|
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(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service4, node6, bound2, exports_instance2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-69r3s0z2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service57,
|
|
17
|
+
node58
|
|
18
|
+
} from "./app-fzkjf62m.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-40y6dtc2.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./app-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event8,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info11,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
Source: () =>
|
|
37
|
-
node: () =>
|
|
35
|
+
Service: () => Service56,
|
|
36
|
+
Source: () => Source3,
|
|
37
|
+
node: () => node57
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var Source3 = Reference.Source;
|
|
47
|
+
var Info11 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service56 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const bus = yield* Service89;
|
|
54
|
-
const cache = yield*
|
|
54
|
+
const cache = yield* Service57;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,8 +61,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
65
|
-
const repository =
|
|
64
|
+
return [Info11.make({ ...info, path: source.path })];
|
|
65
|
+
const repository = parse4(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
68
68
|
if (source.branch) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info11.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service56.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node57 = makeLocationNode({
|
|
117
|
+
service: Service56,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node, node92,
|
|
119
|
+
deps: [Global.node, node92, node58]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2,
|
|
122
|
+
export { LocalSource2, GitSource2, Source3, Info11, Service56, node57, exports_reference2, Event8 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node78
|
|
4
|
+
} from "./app-8ph5tyb9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service58,
|
|
7
|
+
node59
|
|
8
|
+
} from "./app-x8fqtcqj.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-qtf35215.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service51,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node52,
|
|
24
24
|
resolved: () => resolved2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service51 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
47
47
|
}
|
|
48
48
|
var resolved2 = (model, options) => ({
|
|
49
49
|
model,
|
|
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
|
|
|
58
58
|
compaction: options.compaction,
|
|
59
59
|
transport: options.transport
|
|
60
60
|
});
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const resolver = yield*
|
|
63
|
-
const agents = yield*
|
|
64
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service58;
|
|
63
|
+
const agents = yield* Service75;
|
|
64
|
+
return Service51.of({
|
|
65
65
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
66
66
|
if (!session.model) {
|
|
67
67
|
const agent = (yield* agents.select(session.agent)).info?.model;
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node52 = makeLocationNode({ service: Service51, layer, deps: [node59, node78] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service51, resolved2, node52, exports_model };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
make9
|
|
3
|
+
} from "./app-ac642rmg.js";
|
|
4
4
|
import {
|
|
5
5
|
HEADER2,
|
|
6
6
|
SESSION_HEADER2,
|
|
7
7
|
FORK_HEADER2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-yr705xyq.js";
|
|
9
9
|
import {
|
|
10
10
|
AGENT_OPTION2,
|
|
11
11
|
INSTRUCTIONS_OPTION2,
|
|
12
|
-
|
|
12
|
+
make12,
|
|
13
13
|
utility2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-k46dd5bg.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/provider/claude-agent/language-model/claude-agent-language-model.ts
|
|
20
20
|
var exports_claude_agent_language_model = {};
|
|
@@ -56,8 +56,8 @@ class Model2 {
|
|
|
56
56
|
const sessionID = primary ? session : undefined;
|
|
57
57
|
const sourceID = primary ? headers[FORK_HEADER2] : branch ? session : undefined;
|
|
58
58
|
const offered = primary || branch ? tools : [];
|
|
59
|
-
const convert =
|
|
60
|
-
const system = primary || branch ?
|
|
59
|
+
const convert = make9(offered);
|
|
60
|
+
const system = primary || branch ? make12(agent, instructions) : utility2(options.prompt);
|
|
61
61
|
let cancelled = false;
|
|
62
62
|
let task;
|
|
63
63
|
const stream = new ReadableStream({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID17
|
|
3
|
+
} from "./app-hv7hhxe7.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-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 !== ID17.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 !== ID17.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-pdh4dm2s.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-69r3s0z2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service84
|
|
11
|
+
} from "./app-2z05z86t.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID18,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-wtm34wvt.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-hv7hhxe7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID16,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info24
|
|
24
|
+
} from "./app-q94xbs3k.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-0892kzf1.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID17.openai;
|
|
47
|
+
var integrationID = ID18.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -182,7 +182,7 @@ var ChatGPTPlugin2 = define({
|
|
|
182
182
|
id: "opencode.provider.chatgpt",
|
|
183
183
|
effect: Effect.fn(function* (ctx) {
|
|
184
184
|
const bus = yield* Service89;
|
|
185
|
-
const credentials = yield*
|
|
185
|
+
const credentials = yield* Service84;
|
|
186
186
|
const loading = Semaphore.makeUnsafe(1);
|
|
187
187
|
let chatgpt;
|
|
188
188
|
let source;
|
|
@@ -199,7 +199,7 @@ var ChatGPTPlugin2 = define({
|
|
|
199
199
|
yield* ctx.integration.transform((editor) => {
|
|
200
200
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
201
201
|
});
|
|
202
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
202
|
+
yield* Effect.forEach(yield* credentials.list(ID18.make("openai")), (entry) => {
|
|
203
203
|
const value = entry.value;
|
|
204
204
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
205
205
|
return Effect.void;
|
|
@@ -272,7 +272,7 @@ var ChatGPTPlugin2 = define({
|
|
|
272
272
|
}
|
|
273
273
|
});
|
|
274
274
|
const reload = () => loading.withPermit(load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void)));
|
|
275
|
-
yield* bus.subscribe(
|
|
275
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
276
276
|
})
|
|
277
277
|
});
|
|
278
278
|
function headers(app) {
|
|
@@ -329,7 +329,7 @@ function deriveModels2(remote, existing) {
|
|
|
329
329
|
const found = byID.get(model.modelID);
|
|
330
330
|
return found ? [deriveModel(found, model)] : [];
|
|
331
331
|
}),
|
|
332
|
-
...remote.filter((model) => !known.has(
|
|
332
|
+
...remote.filter((model) => !known.has(ID16.make(model.slug))).map((model) => deriveModel(model, Info24.default(ID17.openai, ID16.make(model.slug))))
|
|
333
333
|
];
|
|
334
334
|
}
|
|
335
335
|
function deriveModel(remote, previous) {
|