@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,43 +1,43 @@
|
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
} from "./location-service-map-
|
|
6
|
+
Service88,
|
|
7
|
+
node91
|
|
8
|
+
} from "./location-service-map-n9atbz3d.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./location-service-map-
|
|
10
|
+
Service67,
|
|
11
|
+
node68
|
|
12
|
+
} from "./location-service-map-2dgwkg1r.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
15
|
} from "./location-service-map-tczq8hjw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service48,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./location-service-map-
|
|
19
|
+
node50
|
|
20
|
+
} from "./location-service-map-qzywas3w.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
Service78,
|
|
23
23
|
node80
|
|
24
|
-
} from "./location-service-map-
|
|
24
|
+
} from "./location-service-map-sbzezcpx.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./location-service-map-
|
|
26
|
+
Service46,
|
|
27
|
+
node48
|
|
28
|
+
} from "./location-service-map-kc4ez2ea.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
31
|
} from "./location-service-map-qtf35215.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
34
|
+
Service79,
|
|
35
35
|
node81
|
|
36
|
-
} from "./location-service-map-
|
|
36
|
+
} from "./location-service-map-1tc3mk2s.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./location-service-map-
|
|
40
|
+
} from "./location-service-map-dnern54h.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
43
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -48,10 +48,10 @@ __export(exports_shell4, {
|
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
49
|
NotFoundError: () => NotFoundError8,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service45,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node47
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service45 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service91;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service88;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service48;
|
|
95
|
+
const environment = yield* Service67;
|
|
96
|
+
const hooks = yield* Service78;
|
|
97
|
+
const environments = yield* Service46;
|
|
98
|
+
const config = yield* Service79;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
336
336
|
const command = yield* Deferred.await(ready);
|
|
337
337
|
return command.info;
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service45.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node47 = makeLocationNode({
|
|
342
|
+
service: Service45,
|
|
343
343
|
layer: layer(),
|
|
344
344
|
deps: [
|
|
345
345
|
node94,
|
|
346
|
-
|
|
346
|
+
node91,
|
|
347
347
|
Global.node,
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
node50,
|
|
349
|
+
node68,
|
|
350
350
|
node80,
|
|
351
|
-
|
|
351
|
+
node48,
|
|
352
352
|
node81,
|
|
353
353
|
cleanupNode
|
|
354
354
|
]
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
export { NotFoundError8, RETENTION2, DIRECTORY2,
|
|
357
|
+
export { NotFoundError8, RETENTION2, DIRECTORY2, Service45, cleanup2, node47, exports_shell4 };
|
|
@@ -13,7 +13,7 @@ var exports_retry = {};
|
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make20,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make20 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make19 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make20, exports_retry };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-service-map-
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-service-map-1tc3mk2s.js";
|
|
4
4
|
import {
|
|
5
5
|
observe2
|
|
6
6
|
} from "./location-service-map-tvtps2q9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolver2
|
|
9
|
-
} from "./location-service-map-
|
|
9
|
+
} from "./location-service-map-2ew6y5vn.js";
|
|
10
10
|
import {
|
|
11
11
|
Condition2,
|
|
12
|
-
|
|
12
|
+
ID5,
|
|
13
13
|
Outcome3,
|
|
14
14
|
Request2,
|
|
15
15
|
Status2,
|
|
16
16
|
toCreateInput2,
|
|
17
17
|
When2,
|
|
18
|
-
|
|
18
|
+
NotFoundError3,
|
|
19
19
|
DisabledError2,
|
|
20
|
-
|
|
21
|
-
} from "./location-service-map-
|
|
20
|
+
Service17
|
|
21
|
+
} from "./location-service-map-5hkz9yhf.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
var exports_schedule = {};
|
|
28
28
|
__export(exports_schedule, {
|
|
29
29
|
IDInput: () => IDInput2,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin45,
|
|
31
31
|
ScheduleTools: () => exports_schedule,
|
|
32
32
|
View: () => View2
|
|
33
33
|
});
|
|
@@ -40,7 +40,7 @@ var schedule_default = 'Manage scheduled prompts for this session.\n\nRequest: $
|
|
|
40
40
|
|
|
41
41
|
// src/tool/plugin/schedule.ts
|
|
42
42
|
var View2 = Schema.Struct({
|
|
43
|
-
id:
|
|
43
|
+
id: ID5,
|
|
44
44
|
name: Schema.String.pipe(optional),
|
|
45
45
|
when: When2,
|
|
46
46
|
tz: Schema.String,
|
|
@@ -61,19 +61,19 @@ var ListOutput = Schema.Struct({
|
|
|
61
61
|
schedules: Schema.Array(View2)
|
|
62
62
|
});
|
|
63
63
|
var IDInput2 = Schema.Struct({
|
|
64
|
-
id:
|
|
64
|
+
id: ID5.annotate({ description: "Schedule id from schedule_list." })
|
|
65
65
|
});
|
|
66
|
-
var RemoveOutput = Schema.Struct({ id:
|
|
67
|
-
var
|
|
66
|
+
var RemoveOutput = Schema.Struct({ id: ID5, removed: Schema.Boolean });
|
|
67
|
+
var Plugin45 = {
|
|
68
68
|
id: "opencode.tool.schedule",
|
|
69
69
|
effect: Effect.fn("ScheduleTools.Plugin")(function* (ctx) {
|
|
70
|
-
const config = yield*
|
|
71
|
-
const schedules = yield*
|
|
70
|
+
const config = yield* Service79;
|
|
71
|
+
const schedules = yield* Service17;
|
|
72
72
|
const loaded = yield* observe2(config, ctx.event, Effect.andThen(ctx.tool.reload(), ctx.command.reload()));
|
|
73
73
|
const flags = yield* resolver2;
|
|
74
74
|
const enabled = () => flags(loaded.entries).schedules.enabled;
|
|
75
75
|
const allowed = (sessionID) => schedules.enabled(sessionID).pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError2)));
|
|
76
|
-
const owned = (id, sessionID) => allowed(sessionID).pipe(Effect.andThen(schedules.get(id)), Effect.filterOrFail((info) => info.sessionID === sessionID, () => new
|
|
76
|
+
const owned = (id, sessionID) => allowed(sessionID).pipe(Effect.andThen(schedules.get(id)), Effect.filterOrFail((info) => info.sessionID === sessionID, () => new NotFoundError3({ scheduleID: id })));
|
|
77
77
|
const failure = (error) => new ToolFailure({ message: error.message, error });
|
|
78
78
|
yield* ctx.tool.transform((editor) => {
|
|
79
79
|
if (!enabled())
|
|
@@ -201,4 +201,4 @@ function toView(info) {
|
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
export { View2, IDInput2,
|
|
204
|
+
export { View2, IDInput2, Plugin45, exports_schedule };
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./location-service-map-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./location-service-map-
|
|
6
|
+
} from "./location-service-map-qsem0vdh.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./location-service-map-
|
|
9
|
+
} from "./location-service-map-r7qkr4sp.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./location-service-map-
|
|
3
|
+
} from "./location-service-map-69bkh81c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./location-service-map-
|
|
5
|
+
ID19,
|
|
6
|
+
Service86
|
|
7
|
+
} from "./location-service-map-jvg53mgd.js";
|
|
8
8
|
import {
|
|
9
9
|
key3
|
|
10
|
-
} from "./location-service-map-
|
|
10
|
+
} from "./location-service-map-n320gsn2.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./location-service-map-
|
|
13
|
+
} from "./location-service-map-ef02y9qf.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
16
|
} from "./location-service-map-x4th4bpe.js";
|
|
17
17
|
import {
|
|
18
18
|
ID17,
|
|
19
|
-
|
|
20
|
-
} from "./location-service-map-
|
|
19
|
+
Service84
|
|
20
|
+
} from "./location-service-map-ssfmzrvb.js";
|
|
21
21
|
import {
|
|
22
22
|
ID16
|
|
23
|
-
} from "./location-service-map-
|
|
23
|
+
} from "./location-service-map-xzm3sj27.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service53,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./location-service-map-
|
|
28
|
+
} from "./location-service-map-3qk6hnkm.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./location-service-map-
|
|
31
|
+
} from "./location-service-map-jtk8bhhb.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./location-service-map-
|
|
35
|
+
} from "./location-service-map-sf65mwty.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./location-service-map-
|
|
38
|
+
} from "./location-service-map-ghv294f1.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -79,9 +79,9 @@ function make16(endpoints = {
|
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
80
|
const configured = yield* configuredSettings2(ID17.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service86;
|
|
83
|
+
const providers = yield* Service84;
|
|
84
|
+
const cache = yield* Service53;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
87
87
|
const resourceIDs = new Map;
|
|
@@ -150,7 +150,7 @@ function make16(endpoints = {
|
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
152
|
const connection = yield* ctx.integration.connection.active(ID17.azure);
|
|
153
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
153
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
156
156
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -3,42 +3,42 @@ import {
|
|
|
3
3
|
} from "./location-service-map-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./location-service-map-
|
|
6
|
+
Service83
|
|
7
|
+
} from "./location-service-map-xzm3sj27.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./location-service-map-
|
|
9
|
+
Service79
|
|
10
|
+
} from "./location-service-map-1tc3mk2s.js";
|
|
11
11
|
import {
|
|
12
12
|
observe2
|
|
13
13
|
} from "./location-service-map-tvtps2q9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./location-service-map-
|
|
15
|
+
Service67
|
|
16
|
+
} from "./location-service-map-2dgwkg1r.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionMessage2
|
|
19
19
|
} from "./location-service-map-gftt206x.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
|
-
|
|
23
|
-
} from "./location-service-map-
|
|
22
|
+
Service74
|
|
23
|
+
} from "./location-service-map-xq5v0hg3.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./location-service-map-
|
|
25
|
+
Service66
|
|
26
|
+
} from "./location-service-map-8nc0weg1.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./location-service-map-
|
|
28
|
+
Service60
|
|
29
|
+
} from "./location-service-map-fdtptgdr.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./location-service-map-
|
|
31
|
+
text3
|
|
32
|
+
} from "./location-service-map-25h84942.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./location-service-map-
|
|
34
|
+
Service59
|
|
35
|
+
} from "./location-service-map-mvwtp5v0.js";
|
|
36
36
|
import {
|
|
37
37
|
detect2
|
|
38
38
|
} from "./location-service-map-4pyp9zr9.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./location-service-map-
|
|
40
|
+
Service21
|
|
41
|
+
} from "./location-service-map-eb6wntew.js";
|
|
42
42
|
import {
|
|
43
43
|
collectBoundedResponseBody2
|
|
44
44
|
} from "./location-service-map-3v8g72cx.js";
|
|
@@ -50,13 +50,13 @@ import {
|
|
|
50
50
|
var exports_image_generate = {};
|
|
51
51
|
__export(exports_image_generate, {
|
|
52
52
|
ImageGenerateTool: () => exports_image_generate,
|
|
53
|
-
Input: () =>
|
|
53
|
+
Input: () => Input11,
|
|
54
54
|
MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
|
|
55
|
-
Output: () =>
|
|
56
|
-
Plugin: () =>
|
|
55
|
+
Output: () => Output8,
|
|
56
|
+
Plugin: () => Plugin51,
|
|
57
57
|
defaultModel: () => defaultModel2,
|
|
58
|
-
description: () =>
|
|
59
|
-
name: () =>
|
|
58
|
+
description: () => description4,
|
|
59
|
+
name: () => name11
|
|
60
60
|
});
|
|
61
61
|
import path from "path";
|
|
62
62
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -64,7 +64,7 @@ import { Identifier } from "@opencode/schema/identifier";
|
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
65
|
import { Duration, Effect, Schema, Scope, Stream } from "effect";
|
|
66
66
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
67
|
-
var
|
|
67
|
+
var name11 = "experimental_image_generate";
|
|
68
68
|
var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
|
|
69
69
|
var DOWNLOAD_TIMEOUT = Duration.seconds(30);
|
|
70
70
|
var GENERATE_TIMEOUT = Duration.minutes(30);
|
|
@@ -75,7 +75,7 @@ var EXTENSIONS = {
|
|
|
75
75
|
"image/webp": ".webp",
|
|
76
76
|
"image/gif": ".gif"
|
|
77
77
|
};
|
|
78
|
-
var
|
|
78
|
+
var description4 = [
|
|
79
79
|
"Generates a new image, or edits existing ones.",
|
|
80
80
|
"Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
|
|
81
81
|
"Images you pass are used as the source to edit, or as references for style and subject.",
|
|
@@ -84,7 +84,7 @@ var description5 = [
|
|
|
84
84
|
"Don't repeat a request unless the user asks."
|
|
85
85
|
].join(`
|
|
86
86
|
`);
|
|
87
|
-
var
|
|
87
|
+
var Input11 = Schema.Struct({
|
|
88
88
|
prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
|
|
89
89
|
description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
|
|
90
90
|
}),
|
|
@@ -98,25 +98,25 @@ var Input5 = Schema.Struct({
|
|
|
98
98
|
description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
|
-
var
|
|
101
|
+
var Output8 = Schema.Struct({
|
|
102
102
|
id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
|
|
103
103
|
path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
|
|
104
104
|
model: Schema.String.annotate({ description: "providerID/modelID" })
|
|
105
105
|
});
|
|
106
|
-
var
|
|
106
|
+
var Plugin51 = {
|
|
107
107
|
id: "opencode.tool.image-generate",
|
|
108
108
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const environment = yield*
|
|
111
|
-
const generate = yield*
|
|
109
|
+
const access = yield* Service66;
|
|
110
|
+
const environment = yield* Service67;
|
|
111
|
+
const generate = yield* Service60;
|
|
112
112
|
const global = yield* Global.Service;
|
|
113
113
|
const http = yield* HttpClient.HttpClient;
|
|
114
|
-
const config = yield*
|
|
115
|
-
const jobs = yield*
|
|
114
|
+
const config = yield* Service79;
|
|
115
|
+
const jobs = yield* Service59;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
|
-
const sessions = yield*
|
|
118
|
-
const models = yield*
|
|
119
|
-
const permission = yield*
|
|
117
|
+
const sessions = yield* Service21;
|
|
118
|
+
const models = yield* Service83;
|
|
119
|
+
const permission = yield* Service74;
|
|
120
120
|
const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
|
|
121
121
|
const available = yield* models.available(["image"]);
|
|
122
122
|
if (!input) {
|
|
@@ -196,12 +196,12 @@ var Plugin43 = {
|
|
|
196
196
|
id: input.notificationID,
|
|
197
197
|
sessionID: input.sessionID,
|
|
198
198
|
description: "Image generation",
|
|
199
|
-
text:
|
|
199
|
+
text: text3({
|
|
200
200
|
id: input.id,
|
|
201
201
|
state: info.status,
|
|
202
202
|
body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
|
|
203
203
|
}),
|
|
204
|
-
metadata: { source:
|
|
204
|
+
metadata: { source: name11, jobID: input.id, state: info.status, path: input.file }
|
|
205
205
|
});
|
|
206
206
|
yield* jobs.completeBackground(input.notificationID);
|
|
207
207
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
@@ -220,11 +220,11 @@ var Plugin43 = {
|
|
|
220
220
|
if (!enabled || imageGenerate(loaded.entries) === false)
|
|
221
221
|
return;
|
|
222
222
|
editor.add({
|
|
223
|
-
name:
|
|
223
|
+
name: name11,
|
|
224
224
|
options: { codemode: false },
|
|
225
|
-
description:
|
|
226
|
-
input:
|
|
227
|
-
output:
|
|
225
|
+
description: description4,
|
|
226
|
+
input: Input11,
|
|
227
|
+
output: Output8,
|
|
228
228
|
execute: (input, context) => Effect.gen(function* () {
|
|
229
229
|
const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
|
|
230
230
|
const model = resolved.model;
|
|
@@ -233,7 +233,7 @@ var Plugin43 = {
|
|
|
233
233
|
const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
|
|
234
234
|
const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
|
|
235
235
|
yield* permission.assert({
|
|
236
|
-
action:
|
|
236
|
+
action: name11,
|
|
237
237
|
resources: [ref],
|
|
238
238
|
save: ["*"],
|
|
239
239
|
metadata: { ...input, model: ref },
|
|
@@ -287,7 +287,7 @@ Use the read tool on this path to view the image.`;
|
|
|
287
287
|
yield* jobs.start({
|
|
288
288
|
id,
|
|
289
289
|
notificationID,
|
|
290
|
-
type:
|
|
290
|
+
type: name11,
|
|
291
291
|
title: input.prompt,
|
|
292
292
|
metadata: { sessionID: context.sessionID, path: stem, model: ref },
|
|
293
293
|
recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
|
|
@@ -326,4 +326,4 @@ function acceptsImages(model) {
|
|
|
326
326
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name11, MAX_INPUT_BYTES2, description4, Input11, Output8, Plugin51, defaultModel2, exports_image_generate };
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
environment2
|
|
7
|
-
} from "./location-service-map-
|
|
7
|
+
} from "./location-service-map-qzywas3w.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
10
|
} from "./location-service-map-bhmrqjy3.js";
|
|
@@ -17,16 +17,16 @@ var exports_persistent_pty = {};
|
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
|
-
NotFoundError: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError5,
|
|
21
21
|
Options: () => Options3,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
|
-
Service: () =>
|
|
24
|
-
UnavailableError: () =>
|
|
23
|
+
Service: () => Service19,
|
|
24
|
+
UnavailableError: () => UnavailableError4,
|
|
25
25
|
UnsupportedError: () => UnsupportedError2,
|
|
26
26
|
available: () => available3,
|
|
27
27
|
configured: () => configured3,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer12,
|
|
29
|
+
node: () => node22
|
|
30
30
|
});
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import path from "node:path";
|
|
@@ -50,12 +50,12 @@ var Options3 = Schema.Struct({
|
|
|
50
50
|
root: Schema.optional(Schema.String)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
54
54
|
message: Schema.String
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
59
59
|
ptyID: Pty.ID
|
|
60
60
|
}) {
|
|
61
61
|
}
|
|
@@ -71,9 +71,9 @@ class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedE
|
|
|
71
71
|
}) {
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service19 extends Context.Service()("@opencode/PersistentPty") {
|
|
75
75
|
}
|
|
76
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
76
|
+
var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service91;
|
|
78
78
|
const global = yield* Global.Service;
|
|
79
79
|
const context = yield* Effect.context();
|
|
@@ -96,7 +96,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
96
96
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
97
97
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
98
98
|
if (!found)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
100
100
|
return found;
|
|
101
101
|
});
|
|
102
102
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -158,7 +158,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
158
158
|
});
|
|
159
159
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
160
160
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
161
|
-
return yield* new
|
|
161
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
162
162
|
const id = current.get(sessionID);
|
|
163
163
|
if (!id)
|
|
164
164
|
return null;
|
|
@@ -244,7 +244,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
244
244
|
detach: attachment.detach
|
|
245
245
|
};
|
|
246
246
|
});
|
|
247
|
-
return
|
|
247
|
+
return Service19.of({
|
|
248
248
|
list,
|
|
249
249
|
get,
|
|
250
250
|
create,
|
|
@@ -261,17 +261,17 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
261
261
|
attach
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
264
|
+
var layer12 = makeLayer();
|
|
265
265
|
var configured3 = (options) => makeGlobalNode({
|
|
266
|
-
service:
|
|
267
|
-
layer: options === undefined ?
|
|
266
|
+
service: Service19,
|
|
267
|
+
layer: options === undefined ? layer12 : makeLayer(options),
|
|
268
268
|
deps: [node94, Global.node]
|
|
269
269
|
});
|
|
270
|
-
var
|
|
270
|
+
var node22 = configured3();
|
|
271
271
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
272
272
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
273
|
-
var unexpected = (response) => Effect.fail(new
|
|
274
|
-
var unavailable = (error) => new
|
|
273
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
274
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
275
275
|
function toInfo(value) {
|
|
276
276
|
const status = value.lifecycle.status;
|
|
277
277
|
return {
|
|
@@ -304,4 +304,4 @@ function fromID(value) {
|
|
|
304
304
|
return parsed;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
export { Options3,
|
|
307
|
+
export { Options3, UnavailableError4, NotFoundError5, InvalidCwdError2, UnsupportedError2, Service19, layer12, configured3, node22, exports_persistent_pty, Handoff2, available3 };
|