@opencode/core 0.0.0-dev-20528 → 0.0.0-dev-20530
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{bus-t6msp11s.js → location-services-03tt90jk.js} +6 -6
- package/dist/chunks/{bus-n04q887z.js → location-services-05cz6jg3.js} +40 -40
- package/dist/chunks/{bus-wvn6r189.js → location-services-096px9f6.js} +15 -15
- package/dist/chunks/{bus-yh0kz87z.js → location-services-0gncymkq.js} +3 -3
- package/dist/chunks/{bus-0j77ygfz.js → location-services-0j77ygfz.js} +2 -2
- package/dist/chunks/{bus-kbj2dgab.js → location-services-0nde5ztd.js} +5 -5
- package/dist/chunks/{bus-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
- package/dist/chunks/{bus-ckjey40x.js → location-services-11ya7e37.js} +18 -18
- package/dist/chunks/{bus-15nepkqg.js → location-services-15nepkqg.js} +1 -1
- package/dist/chunks/{bus-cqk9t7df.js → location-services-17z3bbv9.js} +31 -31
- package/dist/chunks/{bus-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-84h8c373.js → location-services-1dvck2a7.js} +2 -2
- package/dist/chunks/{bus-x94qb275.js → location-services-1dxc92sj.js} +20 -20
- package/dist/chunks/{bus-fm2qvscf.js → location-services-1g7epwpd.js} +7 -7
- package/dist/chunks/{bus-9qcmtpsj.js → location-services-1gt845xh.js} +17 -17
- package/dist/chunks/{bus-0h47pg7m.js → location-services-1nd58swx.js} +7 -7
- package/dist/chunks/{bus-cfsekr6v.js → location-services-1p07q0wb.js} +4 -4
- package/dist/chunks/{bus-7q4asrqv.js → location-services-1wacgr71.js} +10 -10
- package/dist/chunks/location-services-1x11rq2a.js +18 -0
- package/dist/chunks/{bus-062bw71t.js → location-services-1ydczpcc.js} +8 -8
- package/dist/chunks/{bus-56gdpj1q.js → location-services-1ygqh575.js} +9 -9
- package/dist/chunks/{bus-j7a3k319.js → location-services-21nyz24p.js} +24 -24
- package/dist/chunks/{bus-j8m1p4p1.js → location-services-29qym6xz.js} +4 -4
- package/dist/chunks/{bus-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-2ccvkpx1.js → location-services-2ccvkpx1.js} +2 -2
- package/dist/chunks/{bus-rar8z9yk.js → location-services-2cq23wdv.js} +17 -17
- package/dist/chunks/{bus-ky8sey70.js → location-services-2hz4g5a0.js} +15 -15
- package/dist/chunks/{bus-r66xghd9.js → location-services-2k71kv7p.js} +4 -4
- package/dist/chunks/{bus-dzyereph.js → location-services-2kkd680a.js} +26 -26
- package/dist/chunks/{bus-4yg5qhvj.js → location-services-306aw7pj.js} +13 -13
- package/dist/chunks/{bus-b7hk97w1.js → location-services-35t6ttr8.js} +6 -6
- package/dist/chunks/{bus-7v9pb5aa.js → location-services-3bccehnd.js} +15 -15
- package/dist/chunks/{bus-qdbrb2ae.js → location-services-3bcp9tcb.js} +20 -20
- package/dist/chunks/{bus-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-7s3an50r.js → location-services-3t60d24d.js} +7 -7
- package/dist/chunks/{bus-xa8b9tvy.js → location-services-3tdjtawa.js} +19 -19
- package/dist/chunks/{bus-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-psevvpfg.js → location-services-3zsbex97.js} +7 -7
- package/dist/chunks/{bus-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{bus-z6c3x22d.js → location-services-47jkzegy.js} +5 -5
- package/dist/chunks/{bus-evxzag28.js → location-services-4qmsae37.js} +16 -16
- package/dist/chunks/{bus-6mvsw307.js → location-services-4yz0w7jw.js} +6 -6
- package/dist/chunks/{bus-ths52tqb.js → location-services-4z6jw1ap.js} +9 -9
- package/dist/chunks/{bus-hq8zt1th.js → location-services-51f5btjf.js} +6 -6
- package/dist/chunks/{bus-hgmvgqm7.js → location-services-54a5h3cp.js} +7 -7
- package/dist/chunks/{bus-54ma36ye.js → location-services-54ma36ye.js} +1 -1
- package/dist/chunks/{bus-thagpx6h.js → location-services-56wzkp6v.js} +4 -4
- package/dist/chunks/{bus-rz03v147.js → location-services-576ykjfd.js} +5 -5
- package/dist/chunks/{bus-g5w8qwbj.js → location-services-57b9ws8p.js} +7 -7
- package/dist/chunks/{bus-sft7r91c.js → location-services-5d9y40bw.js} +45 -45
- package/dist/chunks/{bus-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-8zp79j7j.js → location-services-5dkn69vz.js} +4 -4
- package/dist/chunks/{bus-dzmh4f25.js → location-services-5q2sn302.js} +24 -24
- package/dist/chunks/{bus-y0s875v8.js → location-services-5rf8vkfb.js} +2 -2
- package/dist/chunks/{bus-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-7pb5msvq.js → location-services-63g5w6eg.js} +15 -15
- package/dist/chunks/{bus-98q6njb0.js → location-services-6427tn4t.js} +33 -33
- package/dist/chunks/{bus-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{bus-vts12sgn.js → location-services-69mpjg5g.js} +12 -12
- package/dist/chunks/{bus-hh9zdb1h.js → location-services-6cm87je5.js} +48 -48
- package/dist/chunks/{bus-hafepx0m.js → location-services-6qcdg29g.js} +12 -12
- package/dist/chunks/{bus-1npcx4x5.js → location-services-6sns5rxp.js} +11 -11
- package/dist/chunks/{bus-k1qrnqst.js → location-services-6ysrkrkr.js} +8 -8
- package/dist/chunks/{bus-f75zav2x.js → location-services-71az546q.js} +2 -2
- package/dist/chunks/location-services-72y6shjk.js +253 -0
- package/dist/chunks/{bus-7yh4e7ss.js → location-services-73tb2d7t.js} +3 -3
- package/dist/chunks/{bus-n88t58eh.js → location-services-793mfp5y.js} +11 -11
- package/dist/chunks/{bus-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-5m8z81sk.js → location-services-7cwq0zah.js} +17 -17
- package/dist/chunks/{bus-3a151g65.js → location-services-7k7rxgxx.js} +5 -5
- package/dist/chunks/{bus-p675gkya.js → location-services-7p5aq3na.js} +5 -5
- package/dist/chunks/{bus-vrx5s5q9.js → location-services-80n34cd1.js} +18 -18
- package/dist/chunks/{bus-tcawe1f3.js → location-services-80s6dtdj.js} +20 -20
- package/dist/chunks/{bus-69r9gc94.js → location-services-83192k8b.js} +26 -26
- package/dist/chunks/{bus-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-33fymb46.js → location-services-8dp59zh1.js} +16 -16
- package/dist/chunks/{bus-88r1cn22.js → location-services-8q3n6zce.js} +3 -3
- package/dist/chunks/{bus-5zymz6xz.js → location-services-8r8nd0ms.js} +8 -8
- package/dist/chunks/{bus-r89hfgxs.js → location-services-91gd960f.js} +40 -40
- package/dist/chunks/{bus-dmg6kksp.js → location-services-91ta8h24.js} +21 -21
- package/dist/chunks/{bus-8hpx4v08.js → location-services-96sh9736.js} +22 -22
- package/dist/chunks/{bus-agam93qz.js → location-services-98dvjmyd.js} +5 -5
- package/dist/chunks/{bus-kb9j3d72.js → location-services-9e5bzkjp.js} +3 -3
- package/dist/chunks/{bus-br0tr5aq.js → location-services-9hn6k4tm.js} +8 -8
- package/dist/chunks/{bus-32hqb9rg.js → location-services-9rdtm9z9.js} +1 -1
- package/dist/chunks/{bus-dg7vv6km.js → location-services-9wj6fez5.js} +26 -26
- package/dist/chunks/{bus-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-3tcgjz9c.js → location-services-acsd8j4w.js} +7 -7
- package/dist/chunks/{bus-7mw37t8g.js → location-services-ae351thd.js} +19 -19
- package/dist/chunks/{bus-p4pkk9xt.js → location-services-amzhydp5.js} +11 -11
- package/dist/chunks/{bus-xmgnb5pn.js → location-services-asx81bf4.js} +74 -74
- package/dist/chunks/{bus-97xtdwm1.js → location-services-b4qtg5kt.js} +32 -32
- package/dist/chunks/{bus-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-xcf5a4h9.js → location-services-bec3vmnk.js} +3 -3
- package/dist/chunks/{bus-2k2k1e4d.js → location-services-bejm5g3q.js} +22 -22
- package/dist/chunks/{bus-jaah0z8w.js → location-services-bh0j0ejr.js} +29 -29
- package/dist/chunks/{bus-p5m43jmh.js → location-services-bkzzkcp1.js} +27 -27
- package/dist/chunks/{bus-d8nj9df2.js → location-services-bnmse778.js} +38 -38
- package/dist/chunks/{bus-21rk0v2x.js → location-services-bw8y35yn.js} +31 -31
- package/dist/chunks/{bus-avrevnxw.js → location-services-bwmp558k.js} +9 -9
- package/dist/chunks/{bus-attbt6m1.js → location-services-c4ga7p7a.js} +13 -13
- package/dist/chunks/{bus-0avwb0pz.js → location-services-c719znjm.js} +5 -5
- package/dist/chunks/{bus-0ew4w6t8.js → location-services-c7sr67b6.js} +36 -36
- package/dist/chunks/{bus-14cna52h.js → location-services-cfv81dax.js} +8 -8
- package/dist/chunks/{bus-kyccdhtf.js → location-services-ch1bhxkj.js} +11 -11
- package/dist/chunks/{bus-2pnhn36q.js → location-services-ch7gp8n3.js} +4 -4
- package/dist/chunks/{bus-vefmky7z.js → location-services-cn8s3zh6.js} +20 -20
- package/dist/chunks/{bus-26ye3vwj.js → location-services-cwqv2y4s.js} +8 -8
- package/dist/chunks/{bus-b1t7hkt2.js → location-services-d1redp2d.js} +9 -9
- package/dist/chunks/{bus-mw4m8fya.js → location-services-d8nets6x.js} +22 -22
- package/dist/chunks/{bus-2qx1vwxr.js → location-services-dcfz9rmq.js} +27 -27
- package/dist/chunks/{bus-d4he2qe1.js → location-services-djszqvmq.js} +9 -9
- package/dist/chunks/{bus-bhb1nrwe.js → location-services-dmep75t1.js} +18 -18
- package/dist/chunks/{bus-b00fjsj8.js → location-services-dp97mn0x.js} +16 -16
- package/dist/chunks/{bus-nxm207yx.js → location-services-dpkg50ah.js} +4 -4
- package/dist/chunks/{bus-mp5qahyg.js → location-services-dq4mrw7y.js} +34 -34
- package/dist/chunks/{bus-sksw2c3r.js → location-services-dxwh6df2.js} +11 -11
- package/dist/chunks/{bus-prnf2p7v.js → location-services-dy5xnnh4.js} +27 -27
- package/dist/chunks/{bus-a2tncpxa.js → location-services-e54pghc5.js} +1 -1
- package/dist/chunks/{bus-jqxjpj4d.js → location-services-e5a4gg50.js} +8 -8
- package/dist/chunks/{bus-mx1qtak0.js → location-services-e8bvn5cj.js} +15 -15
- package/dist/chunks/{bus-6nv0705h.js → location-services-eaysnt5p.js} +11 -11
- package/dist/chunks/{bus-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-v2zxy9vy.js → location-services-eg9c94rq.js} +1 -1
- package/dist/chunks/{bus-kn1wn28d.js → location-services-ek3ym7nd.js} +24 -24
- package/dist/chunks/{bus-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-kxy7nzzk.js → location-services-ew26j40t.js} +23 -23
- package/dist/chunks/{bus-5rp0d938.js → location-services-eyq9d4vh.js} +13 -13
- package/dist/chunks/{bus-av1badb0.js → location-services-f0488f1h.js} +24 -24
- package/dist/chunks/{bus-d0xt6pb0.js → location-services-f0fmda6d.js} +44 -44
- package/dist/chunks/{bus-gg4dpy88.js → location-services-fhz5gfgy.js} +5 -5
- package/dist/chunks/{bus-z7vdbf44.js → location-services-fmg2jgk0.js} +20 -20
- package/dist/chunks/{bus-fz37x9gn.js → location-services-fq13x5az.js} +33 -33
- package/dist/chunks/{bus-vnnb4fd2.js → location-services-fqkxjj3z.js} +11 -11
- package/dist/chunks/{bus-68v5rke7.js → location-services-fstaqnf8.js} +22 -22
- package/dist/chunks/{bus-wq5ry9pe.js → location-services-fv7mhdzb.js} +32 -32
- package/dist/chunks/{bus-jygqzb3h.js → location-services-g2y161wv.js} +5 -5
- package/dist/chunks/{bus-srq8z0b0.js → location-services-g31erja1.js} +9 -9
- package/dist/chunks/{bus-fw7xxda2.js → location-services-g75nm6vt.js} +13 -13
- package/dist/chunks/{bus-9x77fmbz.js → location-services-gc4fb455.js} +4 -4
- package/dist/chunks/{bus-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-wmk7jyr0.js → location-services-gdy5ap82.js} +13 -13
- package/dist/chunks/{bus-4kyzs2qw.js → location-services-gf7mpgj8.js} +13 -13
- package/dist/chunks/{bus-s4eg4czg.js → location-services-gt5ee8yx.js} +31 -31
- package/dist/chunks/{bus-3cegwx68.js → location-services-h2b79v29.js} +2 -2
- package/dist/chunks/{bus-8whseyrk.js → location-services-h5w29vws.js} +1 -1
- package/dist/chunks/{bus-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-ejcp9k6a.js → location-services-h7xdbfr9.js} +11 -11
- package/dist/chunks/{bus-4mgcp0pb.js → location-services-h8a2ys21.js} +24 -24
- package/dist/chunks/{bus-59djkhay.js → location-services-hcd9xg01.js} +9 -9
- package/dist/chunks/{bus-bww70sgj.js → location-services-hfkd247d.js} +4 -4
- package/dist/chunks/{bus-gh4cdc92.js → location-services-hsmzpkd0.js} +10 -10
- package/dist/chunks/{bus-m4me3t1z.js → location-services-ht81kaer.js} +42 -42
- package/dist/chunks/{bus-cxg1v9xt.js → location-services-htepd477.js} +10 -10
- package/dist/chunks/{bus-4ax44qck.js → location-services-hzxpbhjb.js} +36 -36
- package/dist/chunks/{bus-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-pc4a07xm.js → location-services-j5wv36q7.js} +8 -8
- package/dist/chunks/{bus-sk6yq7gh.js → location-services-j699ja9e.js} +3 -3
- package/dist/chunks/{bus-fpecnkgp.js → location-services-jc6a671q.js} +9 -9
- package/dist/chunks/{bus-dfya69s0.js → location-services-jy017j42.js} +16 -16
- package/dist/chunks/{bus-3q3tbh2k.js → location-services-k6fbnsbn.js} +42 -42
- package/dist/chunks/{bus-pw950zh1.js → location-services-kh4e2ye6.js} +5 -5
- package/dist/chunks/{bus-57myy5jh.js → location-services-kjdm35cs.js} +5 -5
- package/dist/chunks/{bus-63rqqvz6.js → location-services-kx7n1dq7.js} +8 -8
- package/dist/chunks/{bus-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{bus-pgdf7f6z.js → location-services-m7v6xzd4.js} +18 -18
- package/dist/chunks/{bus-3abbgv3w.js → location-services-m89hz4zx.js} +48 -48
- package/dist/chunks/{bus-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-6g7tcwcb.js → location-services-mfja0wt4.js} +3 -3
- package/dist/chunks/{bus-rhtnc6e7.js → location-services-mhebypdn.js} +24 -24
- package/dist/chunks/{bus-b12m1t8w.js → location-services-mmkp1phh.js} +11 -11
- package/dist/chunks/{bus-tbgq5war.js → location-services-mtedkk5d.js} +4 -4
- package/dist/chunks/{bus-t4vhf3zd.js → location-services-mxh3m9mn.js} +37 -37
- package/dist/chunks/{bus-mxvxcxwy.js → location-services-mxvxcxwy.js} +1 -1
- package/dist/chunks/{bus-ebvq7s73.js → location-services-nan3d3dz.js} +66 -66
- package/dist/chunks/{bus-6508c6yq.js → location-services-nbjzwp5d.js} +15 -15
- package/dist/chunks/{bus-0q1hsqvw.js → location-services-nbwfnqq9.js} +4 -4
- package/dist/chunks/{bus-3x5m0wp2.js → location-services-ncv98mvt.js} +25 -25
- package/dist/chunks/{bus-d9h8yfv6.js → location-services-neszysma.js} +19 -19
- package/dist/chunks/{bus-gpffk3sd.js → location-services-nmtdsvx9.js} +2 -2
- package/dist/chunks/{bus-mpmd08n4.js → location-services-nysaz71n.js} +16 -16
- package/dist/chunks/{bus-2mb2wnf1.js → location-services-p88p5be6.js} +23 -23
- package/dist/chunks/{bus-tp2cn5ae.js → location-services-p8ezbzew.js} +10 -10
- package/dist/chunks/{bus-jzjcb49d.js → location-services-pa1p5yy8.js} +23 -23
- package/dist/chunks/{bus-qcz3a2pj.js → location-services-pctadb69.js} +3 -3
- package/dist/chunks/{bus-tvc1vb6k.js → location-services-pj6d0n09.js} +15 -15
- package/dist/chunks/{bus-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{bus-b9beb9jd.js → location-services-pr8xmdjh.js} +11 -11
- package/dist/chunks/{bus-xaehw3v9.js → location-services-prh82gjm.js} +30 -30
- package/dist/chunks/{bus-9h82ctm8.js → location-services-pzqxv0r1.js} +13 -13
- package/dist/chunks/{bus-5s4d2rwe.js → location-services-q7wrc6aj.js} +5 -5
- package/dist/chunks/{bus-hmhp1yt2.js → location-services-q97grcvd.js} +4 -4
- package/dist/chunks/{bus-s5h4p73x.js → location-services-qa96c720.js} +6 -6
- package/dist/chunks/{bus-1n5v9331.js → location-services-qepdgwe1.js} +11 -11
- package/dist/chunks/{bus-7dqw4kz8.js → location-services-qgn6gcr1.js} +5 -5
- package/dist/chunks/{bus-xj1ny1rv.js → location-services-qm5fm3bt.js} +14 -14
- package/dist/chunks/{bus-a53cn5ne.js → location-services-qmymcrm4.js} +173 -173
- package/dist/chunks/{bus-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
- package/dist/chunks/{bus-kbgwbpaq.js → location-services-qp4aj71v.js} +24 -24
- package/dist/chunks/{bus-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-qxjc9qry.js → location-services-qxjc9qry.js} +3 -3
- package/dist/chunks/{bus-q8xdd368.js → location-services-r2787m6t.js} +18 -18
- package/dist/chunks/{bus-kswjze58.js → location-services-r3t0jhn1.js} +8 -8
- package/dist/chunks/{bus-g97m3cx8.js → location-services-r6dbtj4q.js} +8 -8
- package/dist/chunks/{bus-spzjt392.js → location-services-r82zwd42.js} +68 -68
- package/dist/chunks/{bus-5aps1zy9.js → location-services-r9w3djhf.js} +9 -9
- package/dist/chunks/{bus-8btdadkw.js → location-services-raeyd1af.js} +5 -5
- package/dist/chunks/{bus-qqx9qqxa.js → location-services-rbz22khx.js} +23 -23
- package/dist/chunks/{bus-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-rf7wnnvv.js → location-services-rjdtmcrf.js} +8 -8
- package/dist/chunks/{bus-f1k63k1a.js → location-services-rsthda1v.js} +16 -16
- package/dist/chunks/{bus-hcwc3h8h.js → location-services-s4mdabvn.js} +18 -18
- package/dist/chunks/{bus-n4d3d4w3.js → location-services-s5qxm7c2.js} +11 -11
- package/dist/chunks/{bus-s8d7rejh.js → location-services-s8d7rejh.js} +1 -1
- package/dist/chunks/{bus-wecqtg5s.js → location-services-scgrse2b.js} +5 -5
- package/dist/chunks/{bus-sesvvx24.js → location-services-skw0fsa5.js} +3 -3
- package/dist/chunks/{bus-jxbgt45t.js → location-services-smh7ywje.js} +35 -35
- package/dist/chunks/{bus-5cbjwyn2.js → location-services-sv1tz1j9.js} +37 -37
- package/dist/chunks/location-services-ta9yt1nw.js +507 -0
- package/dist/chunks/{bus-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{bus-sw9ya77t.js → location-services-tf3pd2x6.js} +9 -9
- package/dist/chunks/{bus-p23dhdth.js → location-services-tfkn2j35.js} +14 -14
- package/dist/chunks/{bus-qsare228.js → location-services-tfwask6p.js} +5 -5
- package/dist/chunks/{bus-tag6x3x4.js → location-services-thtzhryg.js} +8 -8
- package/dist/chunks/{bus-44nxam66.js → location-services-tjrpxc7a.js} +19 -19
- package/dist/chunks/{bus-mbca2hxa.js → location-services-v67tzb22.js} +19 -19
- package/dist/chunks/{bus-ycgg54q6.js → location-services-vbspm9c9.js} +8 -8
- package/dist/chunks/{bus-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-m1ebtf8y.js → location-services-vjg4x591.js} +28 -28
- package/dist/chunks/{bus-zt3khfp6.js → location-services-vjwe1yhb.js} +29 -29
- package/dist/chunks/{bus-rjaxefsm.js → location-services-vqkd8k7q.js} +13 -13
- package/dist/chunks/{bus-ff5sg8nr.js → location-services-vww3v1mh.js} +29 -29
- package/dist/chunks/{bus-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{bus-84txncab.js → location-services-w1eejvng.js} +5 -5
- package/dist/chunks/{bus-c8sdstdm.js → location-services-w2t53qcf.js} +20 -20
- package/dist/chunks/{bus-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-7nk92rs9.js → location-services-w9aqgmsm.js} +20 -20
- package/dist/chunks/{bus-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{bus-mcqt9qjk.js → location-services-wdsqgzqf.js} +7 -7
- package/dist/chunks/{bus-7zavcbms.js → location-services-weadtc0s.js} +6 -6
- package/dist/chunks/{bus-0dp46qqw.js → location-services-wk2wkhpf.js} +10 -10
- package/dist/chunks/{bus-nx817z3s.js → location-services-wzn75axg.js} +8 -8
- package/dist/chunks/{bus-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-epppjn0x.js → location-services-x3v54rjw.js} +10 -10
- package/dist/chunks/{bus-mqwmb34d.js → location-services-x63nnht6.js} +12 -12
- package/dist/chunks/{bus-7ya4bwdq.js → location-services-xdkbmmq8.js} +41 -41
- package/dist/chunks/{bus-xkntkrq7.js → location-services-xkntkrq7.js} +2 -2
- package/dist/chunks/location-services-xvpw4qdm.js +26 -0
- package/dist/chunks/{bus-ndkksb5f.js → location-services-xwt6md90.js} +9 -9
- package/dist/chunks/{bus-s0rpadc8.js → location-services-xxq7ze3r.js} +35 -35
- package/dist/chunks/{bus-9ftsnmnn.js → location-services-y0pv4cb8.js} +3 -3
- package/dist/chunks/{bus-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-gwa2mc6d.js → location-services-y45q3gec.js} +19 -19
- package/dist/chunks/{bus-j6pqrj3v.js → location-services-y8x0erkd.js} +21 -21
- package/dist/chunks/{bus-a0d5603r.js → location-services-ybcc8h5s.js} +6 -6
- package/dist/chunks/{bus-3q8rvzgr.js → location-services-yda3nh9t.js} +5 -5
- package/dist/chunks/{bus-rtpbxsk2.js → location-services-yhswtzyx.js} +32 -32
- package/dist/chunks/{bus-2zttkrbk.js → location-services-yj068028.js} +24 -24
- package/dist/chunks/{bus-4mk0yh5v.js → location-services-ynezmcte.js} +17 -17
- package/dist/chunks/{bus-r8xr0va3.js → location-services-yp2x3t23.js} +4 -4
- package/dist/chunks/{bus-cytj1s2b.js → location-services-ypkp13p0.js} +9 -9
- package/dist/chunks/{bus-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-m2dm6aaw.js → location-services-z3k9mdkt.js} +21 -21
- package/dist/chunks/{bus-xzhjfv9h.js → location-services-za2xmcvh.js} +28 -28
- package/dist/chunks/{bus-embw8kgh.js → location-services-zcrspsvn.js} +4 -4
- package/dist/chunks/{bus-rx9ava5n.js → location-services-zfs8ae4p.js} +4 -4
- package/dist/chunks/{bus-h575n3kc.js → location-services-zgzz49jn.js} +4 -4
- package/dist/chunks/{bus-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-63kpjth9.js → location-services-zvwz45r0.js} +9 -9
- package/dist/chunks/{bus-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +211 -211
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +203 -203
- 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 +7 -7
- package/dist/shell.js +126 -126
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/bus-60msy0h1.js +0 -26
- package/dist/chunks/bus-a92xy198.js +0 -507
- package/dist/chunks/bus-by5v678g.js +0 -18
- package/dist/chunks/bus-pmem3b8z.js +0 -253
- /package/dist/chunks/{bus-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e3qxr5gk.js → location-services-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-dy5xnnh4.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service47,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node49
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID12,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service47 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service47, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service47.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node49 = makeLocationNode({ service: Service47, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service47, locationLayer2, node49, exports_aisdk };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-y0pv4cb8.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-mtedkk5d.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-rjdtmcrf.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service60,
|
|
21
|
+
node64
|
|
22
|
+
} from "./location-services-69mpjg5g.js";
|
|
23
23
|
import {
|
|
24
24
|
Service26,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
node29
|
|
26
|
+
} from "./location-services-asx81bf4.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service5,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer5,
|
|
42
|
+
node: () => node7
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service5 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
64
|
const context = yield* Service26;
|
|
65
|
-
const store = yield*
|
|
65
|
+
const store = yield* Service60;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service5.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node7 = makeLocationNode({
|
|
151
|
+
service: Service5,
|
|
152
|
+
layer: layer5,
|
|
153
|
+
deps: [node87, llmClient2, node29, node64, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service5, isUntitled2, layer5, node7, exports_title };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-1wacgr71.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-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: () => Plugin8,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
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/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "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 Plugin8 = 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 Plugin35 = 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, endpoint6, "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 Plugin35 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin8, exports_firecrawl };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-amzhydp5.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-y0pv4cb8.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service79,
|
|
17
|
+
node: () => node83
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service79 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service79.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service79, node83, exports_kv };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-1wacgr71.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-mtedkk5d.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID17,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event20,
|
|
11
|
+
Service77
|
|
12
|
+
} from "./location-services-vjg4x591.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-mxvxcxwy.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-pa1p5yy8.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Service71
|
|
26
|
+
} from "./location-services-dy5xnnh4.js";
|
|
27
27
|
import {
|
|
28
28
|
ID10
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-bh0j0ejr.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-services-35t6ttr8.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make5(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service77;
|
|
81
|
+
const providers = yield* Service71;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make10(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID12.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make10(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make10(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID12.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make10(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make10(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make10(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID12.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make10(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make10(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID12.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID12.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make10(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID12.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make10(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID12.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID12.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make10(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID12.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make5();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make5, AzurePlugin2 };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-mtedkk5d.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service2,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node3
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service2 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service2.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node3 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node87] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service2, layer4, node3, exports_sdk };
|