@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
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-service-map-
|
|
2
|
+
Service87
|
|
3
|
+
} from "./location-service-map-3bhsvex0.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./location-service-map-
|
|
6
|
+
Service74
|
|
7
|
+
} from "./location-service-map-xq5v0hg3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID8,
|
|
10
10
|
Result2,
|
|
11
11
|
ProviderRequiredError2,
|
|
12
12
|
DisabledError4,
|
|
13
13
|
RequestError2,
|
|
14
|
-
|
|
15
|
-
} from "./location-service-map-
|
|
14
|
+
Service20
|
|
15
|
+
} from "./location-service-map-94h03cj4.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
// src/tool/plugin/websearch.ts
|
|
21
21
|
var exports_websearch2 = {};
|
|
22
22
|
__export(exports_websearch2, {
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input4,
|
|
24
24
|
NO_RESULTS: () => NO_RESULTS2,
|
|
25
25
|
Plugin: () => Plugin41,
|
|
26
26
|
WebSearchTool: () => exports_websearch2,
|
|
27
27
|
description: () => description3,
|
|
28
|
-
name: () =>
|
|
28
|
+
name: () => name4
|
|
29
29
|
});
|
|
30
30
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
31
31
|
import { Effect, Schema, Semaphore } from "effect";
|
|
32
32
|
import { HttpClientError } from "effect/http";
|
|
33
|
-
var
|
|
33
|
+
var name4 = "websearch";
|
|
34
34
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
35
35
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
36
36
|
var httpErrors = new Map([
|
|
@@ -40,28 +40,28 @@ var httpErrors = new Map([
|
|
|
40
40
|
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
41
41
|
|
|
42
42
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
43
|
-
var
|
|
43
|
+
var Input4 = Schema.Struct({
|
|
44
44
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
45
45
|
});
|
|
46
46
|
var Output = Schema.Struct({
|
|
47
|
-
provider:
|
|
47
|
+
provider: ID8,
|
|
48
48
|
results: Schema.Array(Result2)
|
|
49
49
|
});
|
|
50
50
|
var Plugin41 = {
|
|
51
51
|
id: "opencode.tool.websearch",
|
|
52
52
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const websearch = yield*
|
|
53
|
+
const permission = yield* Service74;
|
|
54
|
+
const forms = yield* Service87;
|
|
55
|
+
const websearch = yield* Service20;
|
|
56
56
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
57
|
-
name:
|
|
57
|
+
name: name4,
|
|
58
58
|
options: { codemode: false },
|
|
59
59
|
description: description3,
|
|
60
|
-
input:
|
|
60
|
+
input: Input4,
|
|
61
61
|
output: Output,
|
|
62
62
|
execute: (input, context) => Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [input.query],
|
|
66
66
|
save: ["*"],
|
|
67
67
|
metadata: input,
|
|
@@ -175,7 +175,7 @@ ${result.content}` : ""}`;
|
|
|
175
175
|
const hook = (event) => Effect.gen(function* () {
|
|
176
176
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
177
177
|
if (disabled || (yield* websearch.providers()).length === 0)
|
|
178
|
-
delete event.tools[
|
|
178
|
+
delete event.tools[name4];
|
|
179
179
|
});
|
|
180
180
|
yield* ctx.session.hook("context", hook);
|
|
181
181
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -183,4 +183,4 @@ ${result.content}` : ""}`;
|
|
|
183
183
|
})
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
export {
|
|
186
|
+
export { name4, NO_RESULTS2, description3, Input4, Plugin41, exports_websearch2 };
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
AbsolutePath2
|
|
6
6
|
} from "./location-service-map-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID11,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./location-service-map-
|
|
10
|
+
} from "./location-service-map-7nfeq8p6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID11.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -7,7 +7,7 @@ var exports_connection2 = {};
|
|
|
7
7
|
__export(exports_connection2, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info27,
|
|
11
11
|
IntegrationConnection: () => exports_connection2,
|
|
12
12
|
Status: () => Status4,
|
|
13
13
|
key: () => key3
|
|
@@ -15,7 +15,7 @@ __export(exports_connection2, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info27 = Connection.Info;
|
|
19
19
|
var Status4 = Connection.Status;
|
|
20
20
|
function key3(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key3(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info27, Status4, key3, exports_connection2 };
|
|
@@ -20,7 +20,7 @@ __export(exports_instructions7, {
|
|
|
20
20
|
hash: () => hash2,
|
|
21
21
|
join: () => join2,
|
|
22
22
|
listUpdate: () => listUpdate2,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make31,
|
|
24
24
|
read: () => read5,
|
|
25
25
|
removed: () => removed2,
|
|
26
26
|
renderInitial: () => renderInitial2,
|
|
@@ -52,7 +52,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
var empty3 = [];
|
|
55
|
-
function
|
|
55
|
+
function make31(source) {
|
|
56
56
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
57
57
|
const encode = Schema.encodeSync(source.codec);
|
|
58
58
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -213,4 +213,4 @@ function requireText(key, kind, text) {
|
|
|
213
213
|
return text;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
216
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make31, combine2, read5, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, listUpdate2, exports_instructions7 };
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
var exports_service = {};
|
|
7
7
|
__export(exports_service, {
|
|
8
8
|
Plugin: () => exports_service,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service23,
|
|
10
10
|
awaitActivation: () => awaitActivation2
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
|
|
14
|
-
class
|
|
14
|
+
class Service23 extends Context.Service()("@opencode/Plugin") {
|
|
15
15
|
}
|
|
16
|
-
var awaitActivation2 =
|
|
16
|
+
var awaitActivation2 = Service23.use((plugins) => plugins.awaitActivation);
|
|
17
17
|
|
|
18
|
-
export {
|
|
18
|
+
export { Service23, awaitActivation2, exports_service };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./location-service-map-yr705xyq.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./location-service-map-
|
|
7
|
+
} from "./location-service-map-tfv6wxag.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
var exports_session2 = {};
|
|
14
14
|
__export(exports_session2, {
|
|
15
15
|
ClaudeSessionHooks: () => exports_session2,
|
|
16
|
-
register: () =>
|
|
16
|
+
register: () => register5
|
|
17
17
|
});
|
|
18
18
|
import { AssistantMessage, ToolMessage } from "@opencode/ai/effect";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
@@ -28,7 +28,7 @@ var flagToolError = (part) => {
|
|
|
28
28
|
};
|
|
29
29
|
return { ...part, providerMetadata: { ...part.providerMetadata, [ID3]: flags } };
|
|
30
30
|
};
|
|
31
|
-
var
|
|
31
|
+
var register5 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
32
32
|
yield* ctx.session.hook("model.request", (event) => Effect.gen(function* () {
|
|
33
33
|
event.headers[HEADER2] = event.kind;
|
|
34
34
|
if (event.kind !== "primary")
|
|
@@ -53,4 +53,4 @@ var register3 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
|
53
53
|
}), { providerID: ID3 });
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { register5, exports_session2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./location-service-map-
|
|
2
|
+
Service89,
|
|
3
|
+
node92
|
|
4
|
+
} from "./location-service-map-smp0jmk5.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -9,28 +9,28 @@ import {
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info30,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref5,
|
|
15
|
+
Service: () => Service88,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node91,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info30, Ref as Ref5, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
23
23
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
24
24
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
25
|
-
class
|
|
25
|
+
class Service88 extends Context.Service()("@opencode/Location") {
|
|
26
26
|
}
|
|
27
|
-
var
|
|
28
|
-
var layer = (ref) => Layer.effect(
|
|
27
|
+
var node91 = LayerNode.unbound(Service88, tags.values.location);
|
|
28
|
+
var layer = (ref) => Layer.effect(Service88, Effect.gen(function* () {
|
|
29
29
|
const fs = yield* FSUtil.Service;
|
|
30
|
-
const project = yield*
|
|
30
|
+
const project = yield* Service89;
|
|
31
31
|
const persist = ref.workspaceID !== undefined || (yield* fs.isDir(ref.directory));
|
|
32
32
|
const resolved = yield* project.resolve(ref.directory, { persist });
|
|
33
|
-
return
|
|
33
|
+
return Service88.of({
|
|
34
34
|
directory: ref.directory,
|
|
35
35
|
workspaceID: ref.workspaceID,
|
|
36
36
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -38,9 +38,9 @@ var layer = (ref) => Layer.effect(Service84, Effect.gen(function* () {
|
|
|
38
38
|
});
|
|
39
39
|
}));
|
|
40
40
|
var boundNode2 = (ref) => makeLocationNode({
|
|
41
|
-
service:
|
|
41
|
+
service: Service88,
|
|
42
42
|
layer: layer(ref),
|
|
43
|
-
deps: [FSUtil.node,
|
|
43
|
+
deps: [FSUtil.node, node92]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Info30, Ref5, response2, Service88, node91, boundNode2, exports_location };
|
|
@@ -5,30 +5,30 @@ import {
|
|
|
5
5
|
RelativePath2
|
|
6
6
|
} from "./location-service-map-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./location-service-map-
|
|
8
|
+
Service88
|
|
9
|
+
} from "./location-service-map-n9atbz3d.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./location-service-map-
|
|
11
|
+
Service67
|
|
12
|
+
} from "./location-service-map-2dgwkg1r.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./location-service-map-
|
|
14
|
+
Service58
|
|
15
|
+
} from "./location-service-map-k7vzwxnh.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
GlobInput2,
|
|
19
19
|
Entry2
|
|
20
|
-
} from "./location-service-map-
|
|
20
|
+
} from "./location-service-map-d4ea8b84.js";
|
|
21
21
|
import {
|
|
22
22
|
pathType2,
|
|
23
23
|
bounded2
|
|
24
|
-
} from "./location-service-map-
|
|
24
|
+
} from "./location-service-map-1dmn0wdc.js";
|
|
25
25
|
import {
|
|
26
26
|
invocation2,
|
|
27
|
-
|
|
28
|
-
} from "./location-service-map-
|
|
27
|
+
Service74
|
|
28
|
+
} from "./location-service-map-xq5v0hg3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./location-service-map-
|
|
30
|
+
Service66
|
|
31
|
+
} from "./location-service-map-8nc0weg1.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
34
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -37,17 +37,17 @@ import {
|
|
|
37
37
|
var exports_glob = {};
|
|
38
38
|
__export(exports_glob, {
|
|
39
39
|
GlobTool: () => exports_glob,
|
|
40
|
-
Input: () =>
|
|
41
|
-
Output: () =>
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
40
|
+
Input: () => Input6,
|
|
41
|
+
Output: () => Output5,
|
|
42
|
+
Plugin: () => Plugin43,
|
|
43
|
+
name: () => name6,
|
|
44
|
+
toModelContent: () => toModelContent5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import path from "path";
|
|
49
|
-
var
|
|
50
|
-
var
|
|
49
|
+
var name6 = "glob";
|
|
50
|
+
var Input6 = Schema.Struct({
|
|
51
51
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
52
52
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
53
53
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -59,34 +59,34 @@ var Input2 = Schema.Struct({
|
|
|
59
59
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
60
60
|
})
|
|
61
61
|
});
|
|
62
|
-
var
|
|
63
|
-
var
|
|
62
|
+
var Output5 = Schema.Array(Entry2);
|
|
63
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
64
64
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
65
65
|
if (truncated)
|
|
66
66
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
67
67
|
return lines.join(`
|
|
68
68
|
`);
|
|
69
69
|
};
|
|
70
|
-
var
|
|
70
|
+
var Plugin43 = {
|
|
71
71
|
id: "opencode.tool.glob",
|
|
72
72
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
73
|
-
const environment = yield*
|
|
74
|
-
const ripgrep = yield*
|
|
75
|
-
const location = yield*
|
|
76
|
-
const access = yield*
|
|
77
|
-
const permission = yield*
|
|
73
|
+
const environment = yield* Service67;
|
|
74
|
+
const ripgrep = yield* Service58;
|
|
75
|
+
const location = yield* Service88;
|
|
76
|
+
const access = yield* Service66;
|
|
77
|
+
const permission = yield* Service74;
|
|
78
78
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
79
|
-
name:
|
|
79
|
+
name: name6,
|
|
80
80
|
options: { codemode: false },
|
|
81
81
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
82
|
-
input:
|
|
83
|
-
output:
|
|
82
|
+
input: Input6,
|
|
83
|
+
output: Output5,
|
|
84
84
|
execute: (input, context) => Effect.gen(function* () {
|
|
85
85
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
86
86
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
87
87
|
yield* access.authorizeExternal([target], context);
|
|
88
88
|
yield* permission.assert({
|
|
89
|
-
action:
|
|
89
|
+
action: name6,
|
|
90
90
|
resources: [input.pattern],
|
|
91
91
|
save: ["*"],
|
|
92
92
|
metadata: {
|
|
@@ -111,11 +111,11 @@ var Plugin40 = {
|
|
|
111
111
|
};
|
|
112
112
|
}).pipe(Effect.map((result) => ({
|
|
113
113
|
output: result.entries,
|
|
114
|
-
content:
|
|
114
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
115
115
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
116
116
|
})), Effect.mapError(toolFailure2(`Unable to find files matching ${input.pattern}`)))
|
|
117
117
|
})).pipe(Effect.orDie);
|
|
118
118
|
})
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { name6, Input6, Output5, toModelContent5, Plugin43, exports_glob };
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/websearch/provider.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
WebSearchProvider: () =>
|
|
9
|
-
register: () =>
|
|
6
|
+
var exports_provider3 = {};
|
|
7
|
+
__export(exports_provider3, {
|
|
8
|
+
WebSearchProvider: () => exports_provider3,
|
|
9
|
+
register: () => register8
|
|
10
10
|
});
|
|
11
11
|
import { Effect } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var register8 = Effect.fn("WebSearchProvider.register")(function* (ctx, provider) {
|
|
13
13
|
yield* ctx.integration.transform((editor) => {
|
|
14
14
|
editor.update(provider.id, (integration) => integration.name = provider.name);
|
|
15
15
|
editor.method.update({
|
|
@@ -34,4 +34,4 @@ var register2 = Effect.fn("WebSearchProvider.register")(function* (ctx, provider
|
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { register8, exports_provider3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID17,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./location-service-map-
|
|
4
|
+
} from "./location-service-map-ssfmzrvb.js";
|
|
5
5
|
import {
|
|
6
6
|
ID16,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info24,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./location-service-map-
|
|
10
|
+
} from "./location-service-map-xzm3sj27.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./location-service-map-
|
|
3
|
+
} from "./location-service-map-69bkh81c.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./location-service-map-
|
|
6
|
+
Service86
|
|
7
|
+
} from "./location-service-map-jvg53mgd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID18,
|
|
10
10
|
MethodID2,
|
|
11
|
-
|
|
12
|
-
} from "./location-service-map-
|
|
11
|
+
Service85
|
|
12
|
+
} from "./location-service-map-ef02y9qf.js";
|
|
13
13
|
import {
|
|
14
14
|
success2,
|
|
15
15
|
error2
|
|
16
16
|
} from "./location-service-map-yb20nhc3.js";
|
|
17
17
|
import {
|
|
18
18
|
ID17
|
|
19
|
-
} from "./location-service-map-
|
|
19
|
+
} from "./location-service-map-ssfmzrvb.js";
|
|
20
20
|
import {
|
|
21
21
|
configuredSettings2
|
|
22
|
-
} from "./location-service-map-
|
|
22
|
+
} from "./location-service-map-jtk8bhhb.js";
|
|
23
23
|
import {
|
|
24
24
|
onSwitch2,
|
|
25
25
|
reloadIfChanged2
|
|
26
|
-
} from "./location-service-map-
|
|
26
|
+
} from "./location-service-map-sf65mwty.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,7 +31,7 @@ import { Form } from "@opencode/schema/form";
|
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
33
|
var providerID = ID17.make("snowflake-cortex");
|
|
34
|
-
var integrationID =
|
|
34
|
+
var integrationID = ID18.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service86;
|
|
57
|
+
const integrations = yield* Service85;
|
|
58
58
|
const configured = yield* configuredSettings2(providerID);
|
|
59
59
|
const account = { value: "" };
|
|
60
60
|
const saved = Effect.gen(function* () {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
onSwitch2
|
|
3
|
-
} from "./location-service-map-
|
|
3
|
+
} from "./location-service-map-sf65mwty.js";
|
|
4
4
|
import {
|
|
5
5
|
isLoggedIn2
|
|
6
6
|
} from "./location-service-map-2p60zmnr.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3
|
|
9
|
-
} from "./location-service-map-
|
|
9
|
+
} from "./location-service-map-tfv6wxag.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -16,11 +16,11 @@ var exports_integration = {};
|
|
|
16
16
|
__export(exports_integration, {
|
|
17
17
|
ClaudeIntegration: () => exports_integration,
|
|
18
18
|
METHOD_ID: () => METHOD_ID2,
|
|
19
|
-
register: () =>
|
|
19
|
+
register: () => register6
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Stream, SubscriptionRef } from "effect";
|
|
22
22
|
var METHOD_ID2 = "claude-login";
|
|
23
|
-
var
|
|
23
|
+
var register6 = Effect.fn("ClaudeIntegration.register")(function* (ctx, status) {
|
|
24
24
|
yield* ctx.integration.transform((editor) => {
|
|
25
25
|
editor.update(ID3, (integration) => {
|
|
26
26
|
integration.name = "Claude Agent";
|
|
@@ -58,4 +58,4 @@ function problem(state) {
|
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
export { METHOD_ID2,
|
|
61
|
+
export { METHOD_ID2, register6, exports_integration };
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./location-service-map-
|
|
8
|
+
} from "./location-service-map-8z6m94af.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRows2,
|
|
11
11
|
decodeMessageRowsWithRefs2,
|
|
12
12
|
load6
|
|
13
|
-
} from "./location-service-map-
|
|
13
|
+
} from "./location-service-map-c84y5n18.js";
|
|
14
14
|
import {
|
|
15
15
|
fromRow2
|
|
16
16
|
} from "./location-service-map-x150ncgg.js";
|
|
@@ -22,9 +22,9 @@ import {
|
|
|
22
22
|
var exports_store = {};
|
|
23
23
|
__export(exports_store, {
|
|
24
24
|
ListInput: () => ListInput3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service75,
|
|
26
26
|
SessionStore: () => exports_store,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node77
|
|
28
28
|
});
|
|
29
29
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -54,9 +54,9 @@ var ListProjectInput = Schema.Struct({
|
|
|
54
54
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
55
55
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service75 extends Context.Service()("@opencode/SessionStore") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
60
60
|
const { db } = yield* Service92;
|
|
61
61
|
const messageRows = Effect.fnUntraced(function* (input) {
|
|
62
62
|
const direction = input.cursor?.direction ?? "next";
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
71
71
|
return direction === "previous" ? rows.toReversed() : rows;
|
|
72
72
|
});
|
|
73
73
|
const messageRow = (messageID) => db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
74
|
-
return
|
|
74
|
+
return Service75.of({
|
|
75
75
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
76
76
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
77
77
|
return row ? fromRow2(row) : undefined;
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
143
143
|
})
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node77 = makeGlobalNode({ service: Service75, layer, deps: [node95] });
|
|
147
147
|
|
|
148
|
-
export { ListInput3,
|
|
148
|
+
export { ListInput3, Service75, node77, exports_store };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-service-map-
|
|
2
|
+
make9
|
|
3
|
+
} from "./location-service-map-26wfx3k0.js";
|
|
4
4
|
import {
|
|
5
5
|
original2
|
|
6
6
|
} from "./location-service-map-gxs71cxp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./location-service-map-
|
|
8
|
+
make8
|
|
9
|
+
} from "./location-service-map-anvcme1c.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
var exports_convert_claude_stream = {};
|
|
16
16
|
__export(exports_convert_claude_stream, {
|
|
17
17
|
ConvertClaudeStream: () => exports_convert_claude_stream,
|
|
18
|
-
make: () =>
|
|
18
|
+
make: () => make7
|
|
19
19
|
});
|
|
20
20
|
import { Provider } from "@opencode/schema/provider";
|
|
21
|
-
function
|
|
22
|
-
const usage =
|
|
23
|
-
const failure =
|
|
21
|
+
function make7(tools) {
|
|
22
|
+
const usage = make9();
|
|
23
|
+
const failure = make8();
|
|
24
24
|
const streamed = new Set;
|
|
25
25
|
const blocks = new Map;
|
|
26
26
|
let messageID = "";
|
|
@@ -152,4 +152,4 @@ function make9(tools) {
|
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { make7, exports_convert_claude_stream };
|