@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
|
@@ -9,23 +9,23 @@ import {
|
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event21,
|
|
13
|
+
ID: () => ID22,
|
|
14
|
+
Info: () => Info32,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput5,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID22 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info32 = Project.Info;
|
|
24
24
|
var UpdateInput5 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event21 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID22, Current3, Info32, UpdateInput5, Event21, Vcs3, exports_schema };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./location-service-map-2p60zmnr.js";
|
|
4
4
|
import {
|
|
5
5
|
base2
|
|
6
|
-
} from "./location-service-map-
|
|
6
|
+
} from "./location-service-map-bj78ahtb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
var exports_status = {};
|
|
13
13
|
__export(exports_status, {
|
|
14
14
|
ClaudeStatus: () => exports_status,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make4
|
|
16
16
|
});
|
|
17
17
|
import { Effect, Semaphore, SubscriptionRef } from "effect";
|
|
18
|
-
var
|
|
18
|
+
var make4 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
19
19
|
const state = yield* SubscriptionRef.make({ type: "checking" });
|
|
20
20
|
const lock = yield* Semaphore.make(1);
|
|
21
21
|
const refresh = Effect.fn("ClaudeStatus.refresh")(function* () {
|
|
@@ -33,4 +33,4 @@ var make7 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
|
33
33
|
return { state, refresh, report };
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
export {
|
|
36
|
+
export { make4, exports_status };
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
var exports_server = {};
|
|
13
13
|
__export(exports_server, {
|
|
14
14
|
ToolServer: () => exports_server,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make12
|
|
16
16
|
});
|
|
17
|
-
async function
|
|
17
|
+
async function make12(tools, pending) {
|
|
18
18
|
const { Server } = await import("@modelcontextprotocol/server");
|
|
19
19
|
const server = new Server({ name: "opencode", version: "1.0.0" }, { capabilities: { tools: {} } });
|
|
20
20
|
const definitions = tools.map((tool) => ({
|
|
@@ -34,4 +34,4 @@ async function make14(tools, pending) {
|
|
|
34
34
|
return { type: "sdk", name: "opencode", instance: server };
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { make12, exports_server };
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
-
} from "./location-service-map-
|
|
6
|
+
} from "./location-service-map-jvg53mgd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID18,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./location-service-map-
|
|
10
|
+
} from "./location-service-map-ef02y9qf.js";
|
|
11
11
|
import {
|
|
12
12
|
success2,
|
|
13
13
|
error2
|
|
@@ -16,20 +16,20 @@ import {
|
|
|
16
16
|
ID17,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2
|
|
19
|
-
} from "./location-service-map-
|
|
19
|
+
} from "./location-service-map-ssfmzrvb.js";
|
|
20
20
|
import {
|
|
21
21
|
get5
|
|
22
22
|
} from "./location-service-map-3nnrz6f6.js";
|
|
23
23
|
import {
|
|
24
24
|
configuredSettings2
|
|
25
|
-
} from "./location-service-map-
|
|
25
|
+
} from "./location-service-map-jtk8bhhb.js";
|
|
26
26
|
import {
|
|
27
27
|
onSwitch2,
|
|
28
28
|
reloadIfChanged2
|
|
29
|
-
} from "./location-service-map-
|
|
29
|
+
} from "./location-service-map-sf65mwty.js";
|
|
30
30
|
import {
|
|
31
31
|
activeCredential2
|
|
32
|
-
} from "./location-service-map-
|
|
32
|
+
} from "./location-service-map-ghv294f1.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/openai.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -53,7 +53,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
53
53
|
}));
|
|
54
54
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
55
55
|
var browser = (app) => ({
|
|
56
|
-
integrationID:
|
|
56
|
+
integrationID: ID18.make("openai"),
|
|
57
57
|
method: {
|
|
58
58
|
id: browserMethodID,
|
|
59
59
|
type: "oauth",
|
|
@@ -126,7 +126,7 @@ function addressInUse(error) {
|
|
|
126
126
|
return "code" in error && error.code === "EADDRINUSE";
|
|
127
127
|
}
|
|
128
128
|
var headless = (app) => ({
|
|
129
|
-
integrationID:
|
|
129
|
+
integrationID: ID18.make("openai"),
|
|
130
130
|
method: {
|
|
131
131
|
id: headlessMethodID,
|
|
132
132
|
type: "oauth",
|
|
@@ -168,7 +168,7 @@ var headless = (app) => ({
|
|
|
168
168
|
}),
|
|
169
169
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
170
170
|
});
|
|
171
|
-
var
|
|
171
|
+
var OpenAIPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.openai",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
174
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -340,4 +340,4 @@ function claim(token) {
|
|
|
340
340
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
export {
|
|
343
|
+
export { OpenAIPlugin2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91
|
|
3
|
-
} from "./location-service-map-
|
|
3
|
+
} from "./location-service-map-y5e28xn1.js";
|
|
4
4
|
import {
|
|
5
5
|
group2,
|
|
6
6
|
batch2,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
inherit2
|
|
10
10
|
} from "./location-service-map-40y6dtc2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service23,
|
|
13
13
|
awaitActivation2
|
|
14
|
-
} from "./location-service-map-
|
|
14
|
+
} from "./location-service-map-n3r3rt18.js";
|
|
15
15
|
import {
|
|
16
16
|
make21,
|
|
17
17
|
requirements3
|
|
18
|
-
} from "./location-service-map-
|
|
18
|
+
} from "./location-service-map-y0cbz4nx.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -23,24 +23,24 @@ import {
|
|
|
23
23
|
// src/plugin.ts
|
|
24
24
|
var exports_plugin2 = {};
|
|
25
25
|
__export(exports_plugin2, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event4,
|
|
27
27
|
GuiBundle: () => GuiBundle2,
|
|
28
|
-
ID: () =>
|
|
29
|
-
Info: () =>
|
|
28
|
+
ID: () => ID6,
|
|
29
|
+
Info: () => Info6,
|
|
30
30
|
Plugin: () => exports_plugin2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service23,
|
|
32
32
|
Source: () => Source2,
|
|
33
33
|
State: () => State2,
|
|
34
34
|
awaitActivation: () => awaitActivation2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node20
|
|
36
36
|
});
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event4, GuiBundle as GuiBundle2, ID as ID6, Info as Info6, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
38
38
|
import { readFile } from "node:fs/promises";
|
|
39
39
|
import { fileURLToPath } from "node:url";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service91;
|
|
45
45
|
const scope = yield* Scope.make();
|
|
46
46
|
const active = new Map;
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
211
211
|
yield* shutdown2(Scope.close(scope, exit));
|
|
212
212
|
}));
|
|
213
213
|
yield* Effect.addFinalizer(close);
|
|
214
|
-
return
|
|
214
|
+
return Service23.of({
|
|
215
215
|
activate,
|
|
216
216
|
close,
|
|
217
217
|
awaitActivation: ready.await,
|
|
@@ -229,10 +229,10 @@ function slotInfo(slot) {
|
|
|
229
229
|
features: slot.plugin.features ?? { server: true }
|
|
230
230
|
};
|
|
231
231
|
}
|
|
232
|
-
var
|
|
233
|
-
service:
|
|
232
|
+
var node20 = Node.makeLocationNode({
|
|
233
|
+
service: Service23,
|
|
234
234
|
layer,
|
|
235
235
|
deps: [requirements3]
|
|
236
236
|
});
|
|
237
237
|
|
|
238
|
-
export {
|
|
238
|
+
export { node20, exports_plugin2, Event4, GuiBundle2, ID6, Info6, Source2, State2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./location-service-map-
|
|
3
|
+
Service79
|
|
4
|
+
} from "./location-service-map-1tc3mk2s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./location-service-map-
|
|
6
|
+
Service47
|
|
7
|
+
} from "./location-service-map-dnern54h.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
10
|
} from "./location-service-map-tvtps2q9.js";
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin6
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin6 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service79;
|
|
27
|
+
const output = yield* Service47;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin35 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin6, exports_tool_output };
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
makeUnsafe2
|
|
3
3
|
} from "./location-service-map-8cg7mtm3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-service-map-
|
|
5
|
+
Service67
|
|
6
|
+
} from "./location-service-map-2dgwkg1r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -59,7 +59,7 @@ function make25(input) {
|
|
|
59
59
|
elicitation: input.elicitation,
|
|
60
60
|
clientInfo: input.clientInfo,
|
|
61
61
|
roots: !input.shared
|
|
62
|
-
}).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(
|
|
62
|
+
}).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(Service67, input.environment), Effect.provideService(FetchHttpClient.Fetch, input.fetch), Scope.provide(scope), (effect) => config.type === "remote" && !input.shared ? endpointLoads.withLock(config.url)(effect) : effect, Effect.exit);
|
|
63
63
|
if (Exit.isSuccess(result) && !result.value.tools) {
|
|
64
64
|
yield* Scope.close(scope, Exit.void);
|
|
65
65
|
state.scope = undefined;
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./location-service-map-z0h12gs8.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./location-service-map-
|
|
9
|
+
} from "./location-service-map-asksg6tb.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./location-service-map-
|
|
5
|
+
Service33
|
|
6
|
+
} from "./location-service-map-88e7t75k.js";
|
|
7
7
|
import {
|
|
8
8
|
invocation2,
|
|
9
|
-
|
|
10
|
-
} from "./location-service-map-
|
|
9
|
+
Service74
|
|
10
|
+
} from "./location-service-map-xq5v0hg3.js";
|
|
11
11
|
import {
|
|
12
12
|
MEDIA_MIMES2
|
|
13
|
-
} from "./location-service-map-
|
|
13
|
+
} from "./location-service-map-x3aand8e.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -19,15 +19,15 @@ import {
|
|
|
19
19
|
var exports_mcp_resource = {};
|
|
20
20
|
__export(exports_mcp_resource, {
|
|
21
21
|
McpResourceTools: () => exports_mcp_resource,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin38
|
|
23
23
|
});
|
|
24
24
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
26
|
-
var
|
|
26
|
+
var Plugin38 = {
|
|
27
27
|
id: "opencode.tools.mcp-resources",
|
|
28
28
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
29
|
-
const mcp = yield*
|
|
30
|
-
const permission = yield*
|
|
29
|
+
const mcp = yield* Service33;
|
|
30
|
+
const permission = yield* Service74;
|
|
31
31
|
yield* ctx.tool.transform((editor) => {
|
|
32
32
|
editor.add({
|
|
33
33
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin47 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin38, exports_mcp_resource };
|
|
@@ -3,42 +3,42 @@ import {
|
|
|
3
3
|
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./location-service-map-
|
|
6
|
+
} from "./location-service-map-2g09jv71.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
9
|
} from "./location-service-map-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service92,
|
|
12
12
|
node95
|
|
13
|
-
} from "./location-service-map-
|
|
13
|
+
} from "./location-service-map-739wjk09.js";
|
|
14
14
|
import {
|
|
15
15
|
Service91,
|
|
16
16
|
node94
|
|
17
|
-
} from "./location-service-map-
|
|
17
|
+
} from "./location-service-map-y5e28xn1.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./location-service-map-
|
|
20
|
+
} from "./location-service-map-aj7mw0zk.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./location-service-map-
|
|
23
|
+
} from "./location-service-map-3cbjf1nt.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./location-service-map-
|
|
25
|
+
ID21,
|
|
26
|
+
NotFoundError14
|
|
27
|
+
} from "./location-service-map-smp0jmk5.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./location-service-map-
|
|
29
|
+
Ref5
|
|
30
|
+
} from "./location-service-map-n9atbz3d.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./location-service-map-
|
|
32
|
+
Service73,
|
|
33
|
+
node75
|
|
34
|
+
} from "./location-service-map-ywaqrdt0.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./location-service-map-
|
|
38
|
+
} from "./location-service-map-gn8tkhbf.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./location-service-map-
|
|
40
|
+
Service55
|
|
41
|
+
} from "./location-service-map-shdvtx4x.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
44
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -46,22 +46,22 @@ import {
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput5,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event10,
|
|
53
|
+
Info: () => Info12,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service54,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node55
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput5 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info12 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID21, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event10 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service54 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service92;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service91;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service73;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError14({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref5.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service55).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event10.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service54.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node55 = Node.makeGlobalNode({
|
|
260
|
+
service: Service54,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node94, node95, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node94, node95, AppProcess.node, node75]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput5, RemoveInput2, Info12, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event10, Service54, node55, exports_worktree2, OperationError2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node95
|
|
4
|
-
} from "./location-service-map-
|
|
4
|
+
} from "./location-service-map-739wjk09.js";
|
|
5
5
|
import {
|
|
6
6
|
RecoverySchema2
|
|
7
7
|
} from "./location-service-map-b7nkz392.js";
|
|
@@ -22,9 +22,9 @@ import {
|
|
|
22
22
|
var exports_job = {};
|
|
23
23
|
__export(exports_job, {
|
|
24
24
|
Job: () => exports_job,
|
|
25
|
-
Service: () =>
|
|
26
|
-
make: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
Service: () => Service59,
|
|
26
|
+
make: () => make29,
|
|
27
|
+
node: () => node60
|
|
28
28
|
});
|
|
29
29
|
import { asc, eq, or } from "drizzle-orm";
|
|
30
30
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
@@ -40,7 +40,7 @@ var Background = Schema.Struct({
|
|
|
40
40
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
41
41
|
var COMPLETED_LIMIT = 25;
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service59 extends Context.Service()("@opencode/Job") {
|
|
44
44
|
}
|
|
45
45
|
function snapshot(job) {
|
|
46
46
|
return {
|
|
@@ -98,7 +98,7 @@ function decrementSession(input, sessionID) {
|
|
|
98
98
|
next.set(sessionID, count - 1);
|
|
99
99
|
return next;
|
|
100
100
|
}
|
|
101
|
-
var
|
|
101
|
+
var make29 = Effect.gen(function* () {
|
|
102
102
|
const db = (yield* Service92).db;
|
|
103
103
|
const state = {
|
|
104
104
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
@@ -392,7 +392,7 @@ var make28 = Effect.gen(function* () {
|
|
|
392
392
|
next.delete(entry[0]);
|
|
393
393
|
return next;
|
|
394
394
|
})));
|
|
395
|
-
return
|
|
395
|
+
return Service59.of({
|
|
396
396
|
get,
|
|
397
397
|
start,
|
|
398
398
|
wait,
|
|
@@ -407,7 +407,7 @@ var make28 = Effect.gen(function* () {
|
|
|
407
407
|
completeBackground
|
|
408
408
|
});
|
|
409
409
|
});
|
|
410
|
-
var layer = Layer.effect(
|
|
411
|
-
var
|
|
410
|
+
var layer = Layer.effect(Service59, make29);
|
|
411
|
+
var node60 = makeGlobalNode({ service: Service59, layer, deps: [node95] });
|
|
412
412
|
|
|
413
|
-
export {
|
|
413
|
+
export { Service59, make29, node60, exports_job };
|