@opencode/core 0.0.0-dev-970 → 0.0.0-dev-973
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/agent.js +75 -75
- package/dist/aisdk-native.js +83 -83
- package/dist/aisdk.js +88 -88
- package/dist/app.js +9 -9
- package/dist/artifact.js +207 -207
- package/dist/bus.js +65 -65
- package/dist/chunks/{location-service-map-epyqs1ym.js → location-service-map-019vg0b3.js} +19 -19
- package/dist/chunks/{location-service-map-yf7q8mkf.js → location-service-map-096jk8dr.js} +11 -11
- package/dist/chunks/{location-service-map-s7xmscg6.js → location-service-map-0s129ff3.js} +22 -22
- package/dist/chunks/{location-service-map-0cvwd5qg.js → location-service-map-0ss97c1c.js} +4 -4
- package/dist/chunks/{location-service-map-twes2qfe.js → location-service-map-0wr9a8zx.js} +12 -12
- package/dist/chunks/{location-service-map-2stmvjwk.js → location-service-map-142nfb5s.js} +1 -1
- package/dist/chunks/{location-service-map-ns6tqd1v.js → location-service-map-188h5b8g.js} +5 -5
- package/dist/chunks/{location-service-map-pxv8jpx9.js → location-service-map-1993va64.js} +2 -2
- package/dist/chunks/{location-service-map-0ym9tmz0.js → location-service-map-1dmn0wdc.js} +1 -1
- package/dist/chunks/{location-service-map-kpkbxn13.js → location-service-map-1tc3mk2s.js} +37 -37
- package/dist/chunks/{location-service-map-n6w8gz4f.js → location-service-map-22cc810t.js} +29 -29
- package/dist/chunks/{location-service-map-8b3vzgkx.js → location-service-map-25h84942.js} +3 -3
- package/dist/chunks/{location-service-map-jjvvtnfs.js → location-service-map-26wfx3k0.js} +3 -3
- package/dist/chunks/{location-service-map-1ep2p91f.js → location-service-map-27w5k9zf.js} +1 -1
- package/dist/chunks/{location-service-map-g2y9msp5.js → location-service-map-2dgwkg1r.js} +17 -17
- package/dist/chunks/{location-service-map-n9ams6v2.js → location-service-map-2dqa8y27.js} +23 -23
- package/dist/chunks/{location-service-map-w1s38ew0.js → location-service-map-2ew6y5vn.js} +4 -4
- package/dist/chunks/{location-service-map-j59mwt3r.js → location-service-map-2g09jv71.js} +7 -7
- package/dist/chunks/{location-service-map-ey6c5g4a.js → location-service-map-2jjywjb3.js} +7 -7
- package/dist/chunks/{location-service-map-4nq240cq.js → location-service-map-2rnkgek5.js} +23 -23
- package/dist/chunks/{location-service-map-xcdf7s43.js → location-service-map-2wx5ykg8.js} +25 -25
- package/dist/chunks/{location-service-map-7ft4zevt.js → location-service-map-2yh63fjg.js} +12 -12
- package/dist/chunks/{location-service-map-bj12xcmr.js → location-service-map-39dc213b.js} +16 -16
- package/dist/chunks/{location-service-map-7re5q9q1.js → location-service-map-3bhsvex0.js} +22 -22
- package/dist/chunks/{location-service-map-ayjs7tqn.js → location-service-map-3cbjf1nt.js} +1 -1
- package/dist/chunks/{location-service-map-asqhzk9v.js → location-service-map-3ppfbg49.js} +7 -7
- package/dist/chunks/{location-service-map-zqs2n7ek.js → location-service-map-3qk6hnkm.js} +7 -7
- package/dist/chunks/{location-service-map-apheghgs.js → location-service-map-41qqvf5d.js} +4 -4
- package/dist/chunks/{location-service-map-qn5467sm.js → location-service-map-438k3ccg.js} +4 -4
- package/dist/chunks/{location-service-map-3vwa8psq.js → location-service-map-453vdcy0.js} +6 -6
- package/dist/chunks/{location-service-map-cx5d00cc.js → location-service-map-4b2hh714.js} +24 -24
- package/dist/chunks/{location-service-map-h53v6dca.js → location-service-map-4f89zp5m.js} +6 -6
- package/dist/chunks/{location-service-map-447vc9n5.js → location-service-map-4p4fp24p.js} +13 -13
- package/dist/chunks/{location-service-map-g79c5bhd.js → location-service-map-4ppgas72.js} +25 -25
- package/dist/chunks/{location-service-map-rhx7sxcq.js → location-service-map-50emzza2.js} +6 -6
- package/dist/chunks/{location-service-map-2whdzg5g.js → location-service-map-53jqawwm.js} +5 -5
- package/dist/chunks/{location-service-map-qqwt8q1p.js → location-service-map-57mbh4q4.js} +34 -34
- package/dist/chunks/{location-service-map-wybw4z9m.js → location-service-map-58b5dpsr.js} +14 -14
- package/dist/chunks/{location-service-map-jdpaw59m.js → location-service-map-5aqhr27k.js} +15 -15
- package/dist/chunks/{location-service-map-40za9wsf.js → location-service-map-5enarcya.js} +4 -4
- package/dist/chunks/{location-service-map-b73e3y9f.js → location-service-map-5hkz9yhf.js} +43 -43
- package/dist/chunks/{location-service-map-fqg2m573.js → location-service-map-5jm7ma5d.js} +5 -5
- package/dist/chunks/{location-service-map-qjdwt2a0.js → location-service-map-5m7tvbcm.js} +14 -14
- package/dist/chunks/{location-service-map-xksw6ev0.js → location-service-map-67wwskyb.js} +3 -3
- package/dist/chunks/{location-service-map-t6cd21z0.js → location-service-map-69bkh81c.js} +10 -10
- package/dist/chunks/{location-service-map-xf7ax5gh.js → location-service-map-6f063ac8.js} +8 -8
- package/dist/chunks/{location-service-map-cmfsh121.js → location-service-map-6rdjx3xj.js} +20 -20
- package/dist/chunks/{location-service-map-s9gzqkvf.js → location-service-map-6wen1dqm.js} +31 -31
- package/dist/chunks/{location-service-map-9mq8w79n.js → location-service-map-6yvk7h5s.js} +2 -2
- package/dist/chunks/{location-service-map-4pga3thr.js → location-service-map-6zepe8sp.js} +6 -6
- package/dist/chunks/location-service-map-70mpaaxe.js +26 -0
- package/dist/chunks/{location-service-map-eyw1sawb.js → location-service-map-71mxm98h.js} +10 -10
- package/dist/chunks/{location-service-map-2e30dxv1.js → location-service-map-739wjk09.js} +3 -3
- package/dist/chunks/{location-service-map-d0312xq3.js → location-service-map-757tt31e.js} +7 -7
- package/dist/chunks/{location-service-map-cnh7rm97.js → location-service-map-7h22etv1.js} +3 -3
- package/dist/chunks/{location-service-map-g7mwhv30.js → location-service-map-7jqsvgxx.js} +3 -3
- package/dist/chunks/{location-service-map-t33gpcy7.js → location-service-map-7nfeq8p6.js} +19 -19
- package/dist/chunks/{location-service-map-r2xmv5t4.js → location-service-map-7qc3ands.js} +15 -15
- package/dist/chunks/{location-service-map-8sxe6kv8.js → location-service-map-7qrph824.js} +1 -1
- package/dist/chunks/{location-service-map-5s1x6pd0.js → location-service-map-84p0683d.js} +7 -7
- package/dist/chunks/{location-service-map-etsp2y1s.js → location-service-map-88e7t75k.js} +55 -55
- package/dist/chunks/{location-service-map-nhhnb9vx.js → location-service-map-89evah1w.js} +7 -7
- package/dist/chunks/{location-service-map-t48jrnqq.js → location-service-map-8bcc8xgx.js} +2 -2
- package/dist/chunks/{location-service-map-sf8vjr0c.js → location-service-map-8d88p553.js} +8 -8
- package/dist/chunks/{location-service-map-snzmnvar.js → location-service-map-8ffp5f2g.js} +20 -20
- package/dist/chunks/{location-service-map-jg59462v.js → location-service-map-8gdtdwvz.js} +10 -10
- package/dist/chunks/{location-service-map-2t5tz7pp.js → location-service-map-8k9kc8fb.js} +7 -7
- package/dist/chunks/{location-service-map-5h00h7zt.js → location-service-map-8nc0weg1.js} +22 -22
- package/dist/chunks/{location-service-map-6hq7fm6h.js → location-service-map-8rq5g6rr.js} +33 -33
- package/dist/chunks/{location-service-map-y5qp99tm.js → location-service-map-8rxt3mnk.js} +22 -22
- package/dist/chunks/{location-service-map-ddwaa558.js → location-service-map-8xs8wyc8.js} +3 -3
- package/dist/chunks/{location-service-map-mb7mbhnz.js → location-service-map-8z6m94af.js} +1 -1
- package/dist/chunks/{location-service-map-a16ynwmv.js → location-service-map-8zfa2stf.js} +7 -7
- package/dist/chunks/{location-service-map-v4w7v700.js → location-service-map-94h03cj4.js} +19 -19
- package/dist/chunks/{location-service-map-kc7hjxms.js → location-service-map-9am7h7rn.js} +14 -14
- package/dist/chunks/{location-service-map-6h8vcvjm.js → location-service-map-9f3jsh1d.js} +7 -7
- package/dist/chunks/{location-service-map-75ht1bjk.js → location-service-map-9psgwyyq.js} +38 -38
- package/dist/chunks/{location-service-map-n249yph7.js → location-service-map-9qhy2hgv.js} +17 -17
- package/dist/chunks/{location-service-map-91tfjwsb.js → location-service-map-a3w98701.js} +12 -12
- package/dist/chunks/{location-service-map-58wf94jx.js → location-service-map-a4ww6fpm.js} +5 -5
- package/dist/chunks/{location-service-map-q4xbvmw6.js → location-service-map-ajs0x7d0.js} +23 -23
- package/dist/chunks/{location-service-map-2p4q64fe.js → location-service-map-an7pb355.js} +12 -12
- package/dist/chunks/{location-service-map-38aws4xb.js → location-service-map-anvcme1c.js} +3 -3
- package/dist/chunks/{location-service-map-r2kvpk3q.js → location-service-map-asksg6tb.js} +4 -4
- package/dist/chunks/{location-service-map-33w4pyer.js → location-service-map-axkqceaa.js} +3 -3
- package/dist/chunks/{location-service-map-jp0z9hc6.js → location-service-map-b6py4jyc.js} +13 -13
- package/dist/chunks/{location-service-map-7nbph4x3.js → location-service-map-b74w7m9s.js} +13 -13
- package/dist/chunks/{location-service-map-dce0gc84.js → location-service-map-b8w8dwcg.js} +4 -4
- package/dist/chunks/{location-service-map-rsmbj9xw.js → location-service-map-b9t5dvjs.js} +77 -77
- package/dist/chunks/{location-service-map-razwz46n.js → location-service-map-baj2beb3.js} +6 -6
- package/dist/chunks/{location-service-map-8ne359q4.js → location-service-map-bfgd6f8q.js} +9 -9
- package/dist/chunks/{location-service-map-chrje8zg.js → location-service-map-bhcam1t8.js} +27 -27
- package/dist/chunks/{location-service-map-035wadpx.js → location-service-map-bj78ahtb.js} +6 -6
- package/dist/chunks/{location-service-map-nvxpxehc.js → location-service-map-bje271cn.js} +22 -22
- package/dist/chunks/{location-service-map-np1dg1nt.js → location-service-map-brgze1p9.js} +18 -18
- package/dist/chunks/{location-service-map-xd9cc171.js → location-service-map-bstexjd6.js} +4 -4
- package/dist/chunks/{location-service-map-0mvqhycb.js → location-service-map-bsw7zeqr.js} +39 -39
- package/dist/chunks/{location-service-map-drp1dqs2.js → location-service-map-c3zd083b.js} +3 -3
- package/dist/chunks/{location-service-map-jskpwk88.js → location-service-map-c57pvgwh.js} +10 -10
- package/dist/chunks/{location-service-map-9x0d1vks.js → location-service-map-c74d0hp2.js} +13 -13
- package/dist/chunks/{location-service-map-fs6p6xtq.js → location-service-map-c84y5n18.js} +4 -4
- package/dist/chunks/{location-service-map-qpjbesae.js → location-service-map-ccarde52.js} +8 -8
- package/dist/chunks/{location-service-map-6a3k8ax5.js → location-service-map-cjc5310n.js} +24 -24
- package/dist/chunks/{location-service-map-91bxtgyw.js → location-service-map-ckrpn4va.js} +2 -2
- package/dist/chunks/{location-service-map-eewtf5ya.js → location-service-map-cxp7b2aq.js} +6 -6
- package/dist/chunks/{location-service-map-t97xk712.js → location-service-map-d37yyfby.js} +16 -16
- package/dist/chunks/{location-service-map-rst8f4ce.js → location-service-map-d4ea8b84.js} +28 -28
- package/dist/chunks/{location-service-map-xtes6nh4.js → location-service-map-d9272gev.js} +12 -12
- package/dist/chunks/{location-service-map-szjyr6ex.js → location-service-map-dadjk22h.js} +7 -7
- package/dist/chunks/{location-service-map-4yee01q8.js → location-service-map-dnern54h.js} +8 -8
- package/dist/chunks/{location-service-map-p51vmgn4.js → location-service-map-dnkw7vn1.js} +26 -26
- package/dist/chunks/{location-service-map-jq9tfxv6.js → location-service-map-dtemvce2.js} +9 -9
- package/dist/chunks/{location-service-map-zf8wb2cm.js → location-service-map-dyey5fsz.js} +1 -1
- package/dist/chunks/{location-service-map-trswbwzj.js → location-service-map-e4e1w5t0.js} +13 -13
- package/dist/chunks/{location-service-map-a71xh68f.js → location-service-map-e6x62v22.js} +6 -6
- package/dist/chunks/{location-service-map-9twaesrv.js → location-service-map-eb6wntew.js} +74 -74
- package/dist/chunks/{location-service-map-zmwgkerf.js → location-service-map-eep35epz.js} +34 -34
- package/dist/chunks/{location-service-map-s71h25gb.js → location-service-map-ef02y9qf.js} +29 -29
- package/dist/chunks/{location-service-map-x3g0080y.js → location-service-map-ehzedj4z.js} +68 -68
- package/dist/chunks/{location-service-map-39sgvy3e.js → location-service-map-f2s1j7gm.js} +2 -2
- package/dist/chunks/{location-service-map-vs5hwaeh.js → location-service-map-fa6qs40d.js} +14 -14
- package/dist/chunks/{location-service-map-d7gt9c98.js → location-service-map-faq01r7m.js} +47 -47
- package/dist/chunks/{location-service-map-4dyr9a9p.js → location-service-map-fdtptgdr.js} +27 -27
- package/dist/chunks/{location-service-map-h4fmry3z.js → location-service-map-fh8bgndd.js} +15 -15
- package/dist/chunks/{location-service-map-xfvhrpz8.js → location-service-map-fkpx9w36.js} +12 -12
- package/dist/chunks/{location-service-map-9n15rgsz.js → location-service-map-fpvqc1d7.js} +10 -10
- package/dist/chunks/{location-service-map-w9w8mt4n.js → location-service-map-fwp9mfc9.js} +3 -3
- package/dist/chunks/{location-service-map-mmrh0ajh.js → location-service-map-fy4bq8ag.js} +49 -49
- package/dist/chunks/{location-service-map-68pm7xyb.js → location-service-map-g0skyqr7.js} +10 -10
- package/dist/chunks/{location-service-map-07gv3cvb.js → location-service-map-gdsp8hm2.js} +20 -20
- package/dist/chunks/{location-service-map-wtvmvg7b.js → location-service-map-gf5reppa.js} +4 -4
- package/dist/chunks/{location-service-map-0ajf21q0.js → location-service-map-ghv294f1.js} +6 -6
- package/dist/chunks/{location-service-map-2d7ryfn4.js → location-service-map-gpx8v1ht.js} +36 -36
- package/dist/chunks/{location-service-map-ckn0kvtp.js → location-service-map-gwyytpcj.js} +3 -3
- package/dist/chunks/{location-service-map-pmymas23.js → location-service-map-gxbr0055.js} +16 -16
- package/dist/chunks/{location-service-map-vmx2vcpf.js → location-service-map-gym2axer.js} +2 -2
- package/dist/chunks/{location-service-map-kg3rhxqh.js → location-service-map-h809t5jh.js} +1 -1
- package/dist/chunks/{location-service-map-mnqfevbn.js → location-service-map-he7rx5jj.js} +18 -18
- package/dist/chunks/{location-service-map-h2hm2g8t.js → location-service-map-hh33xrdy.js} +45 -45
- package/dist/chunks/{location-service-map-jvf39xty.js → location-service-map-hkfwsxpr.js} +21 -21
- package/dist/chunks/{location-service-map-nx2y07xh.js → location-service-map-hs806j8f.js} +12 -12
- package/dist/chunks/{location-service-map-160yv0cs.js → location-service-map-hy8c1z76.js} +7 -7
- package/dist/chunks/{location-service-map-bg11bxw8.js → location-service-map-hyqydt8h.js} +31 -31
- package/dist/chunks/{location-service-map-3qgwywyc.js → location-service-map-j1zpf99x.js} +4 -4
- package/dist/chunks/{location-service-map-c6x7d2ts.js → location-service-map-j3f8hyeg.js} +3 -3
- package/dist/chunks/{location-service-map-hscqyzzr.js → location-service-map-jaw9dwdf.js} +14 -14
- package/dist/chunks/{location-service-map-zjhynz16.js → location-service-map-jb6d85pt.js} +7 -7
- package/dist/chunks/{location-service-map-973encw5.js → location-service-map-jghwjznt.js} +15 -15
- package/dist/chunks/{location-service-map-vmw8rtda.js → location-service-map-jner1s22.js} +18 -18
- package/dist/chunks/{location-service-map-ecr995fs.js → location-service-map-jp8xqdan.js} +27 -27
- package/dist/chunks/{location-service-map-vazw0bag.js → location-service-map-jtk8bhhb.js} +6 -6
- package/dist/chunks/{location-service-map-yvp60zk7.js → location-service-map-jvg53mgd.js} +25 -25
- package/dist/chunks/{location-service-map-3xnggsbt.js → location-service-map-k12jnnez.js} +16 -16
- package/dist/chunks/{location-service-map-yjeshp9y.js → location-service-map-k12qn4yz.js} +9 -9
- package/dist/chunks/{location-service-map-4ygb74tw.js → location-service-map-k4zmz5a6.js} +3 -3
- package/dist/chunks/{location-service-map-zzcj9e1j.js → location-service-map-k7vzwxnh.js} +15 -15
- package/dist/chunks/{location-service-map-5hcahzy3.js → location-service-map-kb1zqre7.js} +13 -13
- package/dist/chunks/{location-service-map-m06qa9cv.js → location-service-map-kc4ez2ea.js} +7 -7
- package/dist/chunks/{location-service-map-9qznnh3b.js → location-service-map-knzkarpp.js} +1 -1
- package/dist/chunks/{location-service-map-zyfhsknv.js → location-service-map-kp2338hr.js} +7 -7
- package/dist/chunks/{location-service-map-x5cd4jne.js → location-service-map-ky67gy21.js} +4 -4
- package/dist/chunks/{location-service-map-cxab28sr.js → location-service-map-kzdam8c6.js} +3 -3
- package/dist/chunks/{location-service-map-cr2qs22g.js → location-service-map-m0n8cq9w.js} +12 -12
- package/dist/chunks/{location-service-map-0pw59c02.js → location-service-map-m0nsf5y2.js} +15 -15
- package/dist/chunks/{location-service-map-y3jptkxg.js → location-service-map-m1j5sdmt.js} +9 -9
- package/dist/chunks/{location-service-map-d9nvm9ve.js → location-service-map-m2gpkvct.js} +3 -3
- package/dist/chunks/{location-service-map-3ctmdbrr.js → location-service-map-mj484a3p.js} +1 -1
- package/dist/chunks/{location-service-map-18s112xv.js → location-service-map-mv3as24f.js} +10 -10
- package/dist/chunks/{location-service-map-4jk7qg5v.js → location-service-map-mvdagmde.js} +37 -37
- package/dist/chunks/{location-service-map-r1tnxvjw.js → location-service-map-mvwtp5v0.js} +10 -10
- package/dist/chunks/{location-service-map-q4emj1v3.js → location-service-map-mxfjr4ca.js} +20 -20
- package/dist/chunks/{location-service-map-47hhybs3.js → location-service-map-myapgk7m.js} +3 -3
- package/dist/chunks/{location-service-map-azqdag7d.js → location-service-map-n320gsn2.js} +3 -3
- package/dist/chunks/{location-service-map-r7zrbnjn.js → location-service-map-n3j33rb6.js} +3 -3
- package/dist/chunks/{location-service-map-f8ma18fn.js → location-service-map-n3r3rt18.js} +4 -4
- package/dist/chunks/{location-service-map-4nzty7kx.js → location-service-map-n7ctqr31.js} +4 -4
- package/dist/chunks/{location-service-map-wtf7nhyw.js → location-service-map-n9atbz3d.js} +16 -16
- package/dist/chunks/{location-service-map-d9q583fv.js → location-service-map-n9wj57cs.js} +33 -33
- package/dist/chunks/{location-service-map-xjr6c8m4.js → location-service-map-nad3qcx8.js} +6 -6
- package/dist/chunks/{location-service-map-amg1aj03.js → location-service-map-nb4vvqsv.js} +2 -2
- package/dist/chunks/{location-service-map-74zb0y7m.js → location-service-map-nd9109gx.js} +12 -12
- package/dist/chunks/{location-service-map-2pn4vap1.js → location-service-map-ndz638ed.js} +5 -5
- package/dist/chunks/{location-service-map-hhffjnpv.js → location-service-map-npwasgte.js} +10 -10
- package/dist/chunks/{location-service-map-wegkxhrn.js → location-service-map-nx4vzyjd.js} +1 -1
- package/dist/chunks/{location-service-map-ac642rmg.js → location-service-map-p5tk1xdz.js} +9 -9
- package/dist/chunks/{location-service-map-dsjz1vv4.js → location-service-map-pqj5cbbn.js} +1 -1
- package/dist/chunks/{location-service-map-vt2d6wap.js → location-service-map-px7qpgcn.js} +3 -3
- package/dist/chunks/{location-service-map-tvfds4tp.js → location-service-map-q67pnmbz.js} +11 -11
- package/dist/chunks/{location-service-map-b5dpqy2c.js → location-service-map-q6p7wc6f.js} +15 -15
- package/dist/chunks/location-service-map-qfckw5e9.js +265 -0
- package/dist/chunks/{location-service-map-k46dd5bg.js → location-service-map-qfz6bxfd.js} +3 -3
- package/dist/chunks/{location-service-map-mrpnjyvf.js → location-service-map-qj27ec1j.js} +4 -4
- package/dist/chunks/{location-service-map-k3cx6fhe.js → location-service-map-qsdghx1p.js} +3 -3
- package/dist/chunks/{location-service-map-47f6b8tm.js → location-service-map-qzywas3w.js} +10 -10
- package/dist/chunks/{location-service-map-qp0m4yty.js → location-service-map-r0zxn6hq.js} +15 -15
- package/dist/chunks/{location-service-map-bq78n87k.js → location-service-map-r7qkr4sp.js} +1 -1
- package/dist/chunks/{location-service-map-2xaq7xy0.js → location-service-map-rcw86hwe.js} +14 -14
- package/dist/chunks/{location-service-map-d4f6e1qk.js → location-service-map-rcysm5e2.js} +7 -7
- package/dist/chunks/{location-service-map-xjbsd7zy.js → location-service-map-rmwt269d.js} +7 -7
- package/dist/chunks/{location-service-map-hg0zpqcr.js → location-service-map-rqymq7ws.js} +15 -15
- package/dist/chunks/{location-service-map-05dx4pdw.js → location-service-map-rxby8af3.js} +18 -18
- package/dist/chunks/{location-service-map-jb22m7ee.js → location-service-map-rzyhn1np.js} +17 -17
- package/dist/chunks/{location-service-map-c86rnejg.js → location-service-map-s2wymfp5.js} +13 -13
- package/dist/chunks/{location-service-map-fb2eem9j.js → location-service-map-s77zz24v.js} +13 -13
- package/dist/chunks/{location-service-map-p9x26950.js → location-service-map-sbzezcpx.js} +6 -6
- package/dist/chunks/location-service-map-sdv35jy7.js +571 -0
- package/dist/chunks/{location-service-map-ffh76het.js → location-service-map-sf65mwty.js} +6 -6
- package/dist/chunks/{location-service-map-cgdpqw4z.js → location-service-map-shdvtx4x.js} +18 -18
- package/dist/chunks/{location-service-map-1t6gfbsv.js → location-service-map-smp0jmk5.js} +46 -46
- package/dist/chunks/{location-service-map-0j7gp832.js → location-service-map-sqjzf8x2.js} +3 -3
- package/dist/chunks/{location-service-map-adrk7adg.js → location-service-map-ssfmzrvb.js} +21 -21
- package/dist/chunks/{location-service-map-rj7jtxy8.js → location-service-map-stbett4v.js} +1 -1
- package/dist/chunks/{location-service-map-ncfzdscw.js → location-service-map-t2n9nrk9.js} +5 -5
- package/dist/chunks/{location-service-map-ahp6kk67.js → location-service-map-tfv6wxag.js} +7 -7
- package/dist/chunks/{location-service-map-f2nzj6et.js → location-service-map-tj6g9xqy.js} +7 -7
- package/dist/chunks/{location-service-map-889wyzdh.js → location-service-map-tvzc46fq.js} +6 -6
- package/dist/chunks/{location-service-map-1vwnrgtd.js → location-service-map-v036n2mc.js} +7 -7
- package/dist/chunks/{location-service-map-q44bjpzt.js → location-service-map-v2wyv1hf.js} +2 -2
- package/dist/chunks/{location-service-map-yev6wfq3.js → location-service-map-v9dx8w0r.js} +2 -2
- package/dist/chunks/{location-service-map-jkdcm5hg.js → location-service-map-vmxsyvj6.js} +3 -3
- package/dist/chunks/{location-service-map-f0q2th5h.js → location-service-map-vp8qf7ye.js} +23 -23
- package/dist/chunks/{location-service-map-pz4gqzrx.js → location-service-map-vq9v4ct0.js} +18 -18
- package/dist/chunks/{location-service-map-ddsa3wvr.js → location-service-map-vqg7yj5n.js} +20 -20
- package/dist/chunks/{location-service-map-vheh6c3b.js → location-service-map-vtzpejz0.js} +4 -4
- package/dist/chunks/{location-service-map-49tm8jfk.js → location-service-map-vwhvwc3z.js} +33 -33
- package/dist/chunks/{location-service-map-967rr661.js → location-service-map-vxp8sdce.js} +34 -34
- package/dist/chunks/{location-service-map-9a95g445.js → location-service-map-vymjdf9c.js} +28 -28
- package/dist/chunks/{location-service-map-ya7f8hxf.js → location-service-map-vz4kbkt7.js} +17 -17
- package/dist/chunks/{location-service-map-96ywr6jb.js → location-service-map-w1n16jkh.js} +7 -7
- package/dist/chunks/{location-service-map-pfhc8mkz.js → location-service-map-w340e1qr.js} +16 -16
- package/dist/chunks/{location-service-map-w70dtd3h.js → location-service-map-w5r1v3vk.js} +10 -10
- package/dist/chunks/{location-service-map-wr0bhgv3.js → location-service-map-w7gd0jah.js} +25 -25
- package/dist/chunks/{location-service-map-kgz2ee7r.js → location-service-map-wa9arbgy.js} +8 -8
- package/dist/chunks/{location-service-map-dp3344js.js → location-service-map-wccsww3w.js} +19 -19
- package/dist/chunks/{location-service-map-035kzm9s.js → location-service-map-wct9v6zd.js} +7 -7
- package/dist/chunks/{location-service-map-vjbh35wz.js → location-service-map-we1d2qse.js} +1 -1
- package/dist/chunks/{location-service-map-k29prd47.js → location-service-map-wf5qab0t.js} +29 -29
- package/dist/chunks/{location-service-map-48d833pv.js → location-service-map-wn6ty5x1.js} +20 -20
- package/dist/chunks/{location-service-map-w687dnns.js → location-service-map-wr3re1en.js} +3 -3
- package/dist/chunks/{location-service-map-0at5mqc3.js → location-service-map-wx08h2ph.js} +24 -24
- package/dist/chunks/{location-service-map-rarw3p02.js → location-service-map-wyrkgr4m.js} +5 -5
- package/dist/chunks/{location-service-map-nnyrgr4w.js → location-service-map-wzbgwqy6.js} +2 -2
- package/dist/chunks/{location-service-map-k0zgry91.js → location-service-map-wzypnt86.js} +16 -16
- package/dist/chunks/{location-service-map-sqrgzp9r.js → location-service-map-x0025dxz.js} +15 -15
- package/dist/chunks/{location-service-map-7nb8tm12.js → location-service-map-x0vk0gwd.js} +3 -3
- package/dist/chunks/{location-service-map-0zvwjbfc.js → location-service-map-x3aand8e.js} +12 -12
- package/dist/chunks/{location-service-map-h0vy47s4.js → location-service-map-xdkyd5yq.js} +4 -4
- package/dist/chunks/{location-service-map-xgbchcps.js → location-service-map-xgbzz9bj.js} +32 -32
- package/dist/chunks/{location-service-map-jn04c0gd.js → location-service-map-xnzmbpaf.js} +7 -7
- package/dist/chunks/{location-service-map-gvtvrj6a.js → location-service-map-xq5v0hg3.js} +34 -34
- package/dist/chunks/{location-service-map-yckg307d.js → location-service-map-xvw47v91.js} +4 -4
- package/dist/chunks/{location-service-map-2haa3swk.js → location-service-map-xzm3sj27.js} +18 -18
- package/dist/chunks/{location-service-map-m6st8qpx.js → location-service-map-y0cbz4nx.js} +174 -174
- package/dist/chunks/{location-service-map-02h52xzt.js → location-service-map-y5e28xn1.js} +1 -1
- package/dist/chunks/{location-service-map-2wy1qaer.js → location-service-map-y5h9v3za.js} +9 -9
- package/dist/chunks/{location-service-map-9591qhgc.js → location-service-map-yb5mamag.js} +14 -14
- package/dist/chunks/{location-service-map-6fax7fbe.js → location-service-map-ybv2dt0g.js} +13 -13
- package/dist/chunks/location-service-map-yc9fq4e8.js +16 -0
- package/dist/chunks/{location-service-map-nyc4jwvb.js → location-service-map-yh1frphp.js} +3 -3
- package/dist/chunks/{location-service-map-mtbwfv8e.js → location-service-map-yqjhn64f.js} +9 -9
- package/dist/chunks/{location-service-map-3r9ww8nx.js → location-service-map-ywaqrdt0.js} +10 -10
- package/dist/chunks/{location-service-map-mjxkht31.js → location-service-map-yys43y5n.js} +33 -33
- package/dist/chunks/{location-service-map-w2jztwem.js → location-service-map-zfed2xdh.js} +30 -30
- package/dist/chunks/{location-service-map-8c5e66t8.js → location-service-map-zgsym63d.js} +12 -12
- package/dist/chunks/{location-service-map-9h81fvq8.js → location-service-map-zn99gyc6.js} +8 -8
- package/dist/chunks/{location-service-map-by8ty0bx.js → location-service-map-zpdbqgja.js} +3 -3
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +119 -119
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +124 -124
- package/dist/command.js +75 -75
- package/dist/config/discovery.js +76 -76
- package/dist/config/integration.js +3 -3
- package/dist/config/normalize.js +90 -90
- package/dist/config/plugin/agent.js +107 -107
- package/dist/config/plugin/command.js +197 -197
- package/dist/config/plugin/compaction.js +136 -136
- package/dist/config/plugin/compatibility.js +122 -122
- package/dist/config/plugin/formatter.js +106 -106
- package/dist/config/plugin/image.js +105 -105
- package/dist/config/plugin/instruction.js +106 -106
- package/dist/config/plugin/location-watcher.js +107 -107
- package/dist/config/plugin/mcp.js +116 -116
- package/dist/config/plugin/policy.js +105 -105
- package/dist/config/plugin/provider.js +107 -107
- package/dist/config/plugin/reference.js +107 -107
- package/dist/config/plugin/shell.js +105 -105
- package/dist/config/plugin/skill-file.js +119 -119
- package/dist/config/plugin/skill.js +125 -125
- package/dist/config/plugin/snapshot.js +105 -105
- package/dist/config/plugin/source.js +108 -108
- package/dist/config/plugin/tool-output.js +105 -105
- package/dist/config/plugin/websearch.js +104 -104
- package/dist/config/plugin/worktree.js +107 -107
- package/dist/config.js +107 -107
- package/dist/credential.js +77 -77
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +9 -9
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +63 -63
- package/dist/database/v1-migration.bun.js +23 -23
- package/dist/effect/app-node-builder.js +282 -282
- package/dist/environment/environment.js +82 -82
- package/dist/environment/index.js +83 -83
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +130 -130
- package/dist/file-mutation.js +84 -84
- package/dist/file-write.js +133 -133
- package/dist/filesystem/file-watch.js +12 -12
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +210 -210
- package/dist/filesystem/search.js +87 -87
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +90 -90
- package/dist/flag.js +103 -103
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +81 -81
- package/dist/generate.js +97 -97
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +2 -2
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +85 -85
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/notice.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +371 -371
- package/dist/instruction-discovery.js +74 -74
- package/dist/instructions/builtins.js +81 -81
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +71 -71
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +78 -78
- package/dist/location-lifecycle.js +124 -124
- package/dist/location-service-map.js +80 -80
- package/dist/location-services.js +369 -369
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +54 -54
- package/dist/mcp/connection.js +80 -80
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +155 -155
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/pool.js +88 -88
- package/dist/mcp/stdio.js +127 -127
- package/dist/modal/models.js +85 -85
- package/dist/model-resolver.js +90 -90
- package/dist/model.js +90 -90
- package/dist/models-dev.js +92 -92
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +123 -123
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty.js +68 -68
- package/dist/plugin/agent.js +72 -72
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +201 -201
- package/dist/plugin/identity.js +4 -4
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +348 -348
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +89 -89
- package/dist/plugin/module.js +104 -104
- package/dist/plugin/optimize.js +3 -3
- package/dist/plugin/plan.js +120 -120
- package/dist/plugin/provider/amazon-bedrock.js +87 -87
- package/dist/plugin/provider/azure.js +107 -107
- package/dist/plugin/provider/chatgpt.js +107 -107
- package/dist/plugin/provider/claude-agent/aisdk.js +96 -96
- package/dist/plugin/provider/claude-agent/claude/query-options.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/sessions.js +10 -10
- package/dist/plugin/provider/claude-agent/claude/status.js +6 -6
- package/dist/plugin/provider/claude-agent/index.js +118 -118
- package/dist/plugin/provider/claude-agent/instructions.js +92 -92
- package/dist/plugin/provider/claude-agent/integration.js +93 -93
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +90 -90
- package/dist/plugin/provider/claude-agent/session.js +91 -91
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
- 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/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
- package/dist/plugin/provider/claude-agent/tools/server.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +106 -106
- package/dist/plugin/provider/cloudflare-workers-ai.js +106 -106
- package/dist/plugin/provider/configured.js +102 -102
- package/dist/plugin/provider/credential-settings.js +71 -71
- package/dist/plugin/provider/digitalocean.js +89 -89
- package/dist/plugin/provider/github-copilot.js +91 -91
- package/dist/plugin/provider/gitlab.js +89 -89
- package/dist/plugin/provider/google-vertex.js +103 -103
- package/dist/plugin/provider/llmgateway.js +72 -72
- package/dist/plugin/provider/lmstudio.js +111 -111
- package/dist/plugin/provider/local.js +108 -108
- package/dist/plugin/provider/modal.js +89 -89
- package/dist/plugin/provider/ollama.js +111 -111
- package/dist/plugin/provider/openai-context-caps.js +87 -87
- package/dist/plugin/provider/openai.js +109 -109
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +85 -85
- package/dist/plugin/provider/poe.js +72 -72
- package/dist/plugin/provider/refresh.js +70 -70
- package/dist/plugin/provider/sap-ai-core.js +84 -84
- package/dist/plugin/provider/snowflake-cortex.js +106 -106
- package/dist/plugin/provider/vllm.js +111 -111
- package/dist/plugin/provider/xai.js +85 -85
- package/dist/plugin/provider.js +193 -193
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +123 -123
- package/dist/plugin/supervisor.js +358 -358
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +3 -3
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +80 -80
- package/dist/plugin/verbosity.js +87 -87
- package/dist/plugin/warming.js +105 -105
- 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 +3 -3
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +213 -213
- package/dist/project/icon.js +3 -3
- package/dist/project/schema.js +7 -7
- package/dist/project/sql.js +2 -2
- package/dist/project.js +84 -84
- package/dist/provider.js +87 -87
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +86 -86
- package/dist/rpc.js +80 -80
- package/dist/schedule/check.js +205 -205
- package/dist/schedule/sql.js +4 -4
- package/dist/schedule.js +219 -219
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +106 -106
- package/dist/session/command.js +70 -70
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +79 -79
- package/dist/session/environment.js +5 -5
- package/dist/session/execution/restart.js +130 -130
- package/dist/session/execution.js +137 -137
- package/dist/session/generate.js +168 -168
- package/dist/session/history.js +110 -110
- package/dist/session/inbox.js +119 -119
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +5 -5
- package/dist/session/instructions.js +115 -115
- package/dist/session/model-request.js +135 -135
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +136 -136
- package/dist/session/projector.js +115 -115
- package/dist/session/prompt.js +121 -121
- package/dist/session/revert.js +113 -113
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +212 -212
- package/dist/session/runner/model.js +92 -92
- package/dist/session/runner/publish-llm-event.js +122 -122
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +133 -133
- package/dist/session/runner/to-llm-message.js +111 -111
- package/dist/session/session.js +149 -149
- package/dist/session/shell.js +113 -113
- package/dist/session/skill.js +121 -121
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +116 -116
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +192 -192
- package/dist/session/title.js +170 -170
- package/dist/session/to-session-error.js +121 -121
- package/dist/session/transfer.js +122 -122
- package/dist/session.js +195 -195
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +114 -114
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +125 -125
- package/dist/skill.js +128 -128
- package/dist/snapshot.js +85 -85
- package/dist/tool/mcp.js +152 -152
- package/dist/tool/plugin/artifact.js +194 -194
- package/dist/tool/plugin/edit.js +138 -138
- package/dist/tool/plugin/glob.js +141 -141
- package/dist/tool/plugin/grep.js +141 -141
- package/dist/tool/plugin/image-generate.js +204 -204
- package/dist/tool/plugin/mcp-resource.js +137 -137
- package/dist/tool/plugin/opencode.js +134 -134
- package/dist/tool/plugin/patch.js +139 -139
- package/dist/tool/plugin/question.js +118 -118
- package/dist/tool/plugin/read.js +143 -143
- package/dist/tool/plugin/schedule.js +210 -210
- package/dist/tool/plugin/shell.js +199 -199
- package/dist/tool/plugin/skill.js +129 -129
- package/dist/tool/plugin/subagent.js +195 -195
- package/dist/tool/plugin/todo.js +126 -126
- package/dist/tool/plugin/webfetch.js +127 -127
- package/dist/tool/plugin/websearch.js +123 -123
- package/dist/tool/plugin/write.js +140 -140
- package/dist/tool/read-filesystem.js +88 -88
- package/dist/tool/search.js +83 -83
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +132 -132
- package/dist/usage-limits.js +82 -82
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +1 -1
- package/dist/v1/config/migrate.js +85 -85
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +85 -85
- package/dist/vcs.js +83 -83
- package/dist/voice.js +76 -76
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +71 -71
- package/dist/wellknown.js +70 -70
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +1 -1
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree/strategies.js +83 -83
- package/dist/worktree.js +91 -91
- package/package.json +9 -9
- package/dist/chunks/location-service-map-208nbn7x.js +0 -16
- package/dist/chunks/location-service-map-c8tmbghs.js +0 -265
- package/dist/chunks/location-service-map-kmcjg8r6.js +0 -26
- package/dist/chunks/location-service-map-x00nbws1.js +0 -571
- /package/dist/chunks/{location-service-map-775hqbnd.js → location-service-map-80mg3ag8.js} +0 -0
- /package/dist/chunks/{location-service-map-jv5ccajn.js → location-service-map-9wk4aggv.js} +0 -0
- /package/dist/chunks/{location-service-map-034tev2y.js → location-service-map-aj7mw0zk.js} +0 -0
- /package/dist/chunks/{location-service-map-d4v9tmah.js → location-service-map-gn8tkhbf.js} +0 -0
- /package/dist/chunks/{location-service-map-y1q6s0as.js → location-service-map-qsem0vdh.js} +0 -0
- /package/dist/chunks/{location-service-map-r3t4c5mc.js → location-service-map-r54rewjw.js} +0 -0
- /package/dist/chunks/{location-service-map-2dkgmfy3.js → location-service-map-rn76exj4.js} +0 -0
- /package/dist/chunks/{location-service-map-me6dj8kt.js → location-service-map-xchg3q21.js} +0 -0
- /package/dist/chunks/{location-service-map-j9nxzz3g.js → location-service-map-ze75qvmd.js} +0 -0
|
@@ -4,33 +4,33 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
Service92,
|
|
6
6
|
node95
|
|
7
|
-
} from "./location-service-map-
|
|
7
|
+
} from "./location-service-map-739wjk09.js";
|
|
8
8
|
import {
|
|
9
9
|
Service91,
|
|
10
10
|
node94
|
|
11
|
-
} from "./location-service-map-
|
|
11
|
+
} from "./location-service-map-y5e28xn1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./location-service-map-
|
|
13
|
+
Service90,
|
|
14
|
+
node93
|
|
15
|
+
} from "./location-service-map-2g09jv71.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID22,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./location-service-map-
|
|
23
|
+
} from "./location-service-map-kp2338hr.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./location-service-map-
|
|
27
|
+
} from "./location-service-map-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./location-service-map-
|
|
30
|
+
} from "./location-service-map-7qrph824.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./location-service-map-
|
|
33
|
+
} from "./location-service-map-3cbjf1nt.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
36
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -40,15 +40,15 @@ var exports_project = {};
|
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
45
|
-
NotFoundError: () =>
|
|
43
|
+
ID: () => ID21,
|
|
44
|
+
Info: () => Info31,
|
|
45
|
+
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service89,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
50
|
configured: () => configured12,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node92,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info31 = Info32;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service89 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,10 +111,10 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service90;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service91;
|
|
120
120
|
const db = (yield* Service92).db;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID21.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError14({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event21.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID21.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID21.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID21.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID21.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service89.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
350
|
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service89,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [node94, node95, FSUtil.node,
|
|
354
|
+
deps: [node94, node95, FSUtil.node, node93, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node92 = configured12();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service89;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node92]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service89, configured12, node92, sweepNode2, exports_project };
|
|
@@ -8,11 +8,11 @@ __export(exports_subagent_completion, {
|
|
|
8
8
|
NO_TEXT: () => NO_TEXT2,
|
|
9
9
|
SubagentCompletion: () => exports_subagent_completion,
|
|
10
10
|
deliver: () => deliver2,
|
|
11
|
-
text: () =>
|
|
11
|
+
text: () => text2
|
|
12
12
|
});
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
var NO_TEXT2 = "Subagent completed without a text response.";
|
|
15
|
-
function
|
|
15
|
+
function text2(message) {
|
|
16
16
|
if (message?.type !== "assistant")
|
|
17
17
|
return NO_TEXT2;
|
|
18
18
|
return message.content.filter((part) => part.type === "text").map((part) => part.text).filter((text) => text.length > 0).join(`
|
|
@@ -38,4 +38,4 @@ ${text}
|
|
|
38
38
|
yield* jobs.completeBackground(input.notificationID);
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export { NO_TEXT2,
|
|
41
|
+
export { NO_TEXT2, text2, deliver2, exports_subagent_completion };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./location-service-map-
|
|
4
|
+
} from "./location-service-map-y5e28xn1.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
8
|
} from "./location-service-map-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./location-service-map-
|
|
11
|
+
} from "./location-service-map-n320gsn2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./location-service-map-
|
|
13
|
+
ID18,
|
|
14
|
+
Service85,
|
|
15
|
+
node88,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./location-service-map-ef02y9qf.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./location-service-map-
|
|
19
|
+
Service88,
|
|
20
|
+
node91
|
|
21
|
+
} from "./location-service-map-n9atbz3d.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -37,7 +37,7 @@ __export(exports_provider5, {
|
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider5,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service84,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider5, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node87,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -579,7 +579,7 @@ var Transport2 = Provider.Transport;
|
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
580
|
var Info25 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service84 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,10 +592,10 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
595
|
+
var layer = Layer.effect(Service84, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service91;
|
|
597
|
-
const integrations = yield*
|
|
598
|
-
const location = yield*
|
|
597
|
+
const integrations = yield* Service85;
|
|
598
|
+
const location = yield* Service88;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -687,7 +687,7 @@ var layer = Layer.effect(Service83, Effect2.gen(function* () {
|
|
|
687
687
|
const available = Array.from(records.values()).filter((record) => {
|
|
688
688
|
if (record.provider.activation === "disabled")
|
|
689
689
|
return false;
|
|
690
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
690
|
+
const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
|
|
691
691
|
if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
|
|
692
692
|
return false;
|
|
693
693
|
if (record.provider.activation === "enabled")
|
|
@@ -713,8 +713,8 @@ var layer = Layer.effect(Service83, Effect2.gen(function* () {
|
|
|
713
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
|
-
yield* bus.subscribe([
|
|
717
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service84.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service83, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node87 = makeLocationNode({ service: Service84, layer, deps: [node94, node88, node91] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service84, node87, exports_provider5, Event17 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./location-service-map-
|
|
2
|
+
ID18,
|
|
3
|
+
Service85
|
|
4
|
+
} from "./location-service-map-ef02y9qf.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service85;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID18.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID17,
|
|
3
3
|
aisdk2
|
|
4
|
-
} from "./location-service-map-
|
|
4
|
+
} from "./location-service-map-ssfmzrvb.js";
|
|
5
5
|
import {
|
|
6
6
|
ID16,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Family2,
|
|
9
9
|
Info24
|
|
10
|
-
} from "./location-service-map-
|
|
10
|
+
} from "./location-service-map-xzm3sj27.js";
|
|
11
11
|
import {
|
|
12
12
|
connectionEnv2
|
|
13
|
-
} from "./location-service-map-
|
|
13
|
+
} from "./location-service-map-bj78ahtb.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./location-service-map-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/provider/claude-agent/provider.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
ClaudeProvider: () =>
|
|
19
|
+
var exports_provider = {};
|
|
20
|
+
__export(exports_provider, {
|
|
21
|
+
ClaudeProvider: () => exports_provider,
|
|
22
22
|
ID: () => ID3,
|
|
23
23
|
PACKAGE: () => PACKAGE2,
|
|
24
24
|
connection: () => connection2,
|
|
@@ -131,4 +131,4 @@ function toModel(model, prices) {
|
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
export { ID3, PACKAGE2, register7, connection2,
|
|
134
|
+
export { ID3, PACKAGE2, register7, connection2, exports_provider };
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service52,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node53
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service52 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
48
48
|
const state = create4({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service52.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node53 = makeLocationNode({ service: Service52, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service52, node53, exports_image2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-service-map-
|
|
2
|
+
make7
|
|
3
|
+
} from "./location-service-map-p5tk1xdz.js";
|
|
4
4
|
import {
|
|
5
5
|
HEADER2,
|
|
6
6
|
SESSION_HEADER2,
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
AGENT_OPTION2,
|
|
11
11
|
INSTRUCTIONS_OPTION2,
|
|
12
|
-
|
|
12
|
+
make10,
|
|
13
13
|
utility2
|
|
14
|
-
} from "./location-service-map-
|
|
14
|
+
} from "./location-service-map-qfz6bxfd.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
17
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -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 = make7(offered);
|
|
60
|
+
const system = primary || branch ? make10(agent, instructions) : utility2(options.prompt);
|
|
61
61
|
let cancelled = false;
|
|
62
62
|
let task;
|
|
63
63
|
const stream = new ReadableStream({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node95
|
|
4
|
-
} from "./location-service-map-
|
|
4
|
+
} from "./location-service-map-739wjk09.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
7
|
} from "./location-service-map-3hepkmqq.js";
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service82,
|
|
17
17
|
node: () => node84
|
|
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 Service82 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service92).db;
|
|
26
|
-
return
|
|
26
|
+
return Service82.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 node84 = makeGlobalNode({ service:
|
|
54
|
+
var node84 = makeGlobalNode({ service: Service82, layer, deps: [node95] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service82, node84, exports_kv };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./location-service-map-
|
|
3
|
+
} from "./location-service-map-ssfmzrvb.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./location-service-map-
|
|
6
|
+
} from "./location-service-map-xzm3sj27.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID17
|
|
3
|
-
} from "./location-service-map-
|
|
3
|
+
} from "./location-service-map-ssfmzrvb.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialSettings2,
|
|
6
6
|
metadataSettings2
|
|
7
|
-
} from "./location-service-map-
|
|
7
|
+
} from "./location-service-map-ghv294f1.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/amazon-bedrock.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
ToolHooks: () => exports_hooks,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make11
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make11(pending) {
|
|
12
12
|
const before = async (input) => {
|
|
13
13
|
if (input.hook_event_name === "PreToolUse")
|
|
14
14
|
pending.before(input.tool_use_id, input.tool_name);
|
|
@@ -28,4 +28,4 @@ function make13(pending) {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make11, exports_hooks };
|