@opencode/core 0.0.0-dev-20654 → 0.0.0-dev-20655
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 +66 -66
- package/dist/aisdk-native.js +63 -63
- package/dist/aisdk.js +68 -68
- package/dist/app.js +9 -9
- package/dist/bus.js +52 -52
- package/dist/chunks/{app-4tp5hkr9.js → app-04e56h6g.js} +19 -19
- package/dist/chunks/{app-7ht5hy0j.js → app-04jg6nm3.js} +18 -18
- package/dist/chunks/{app-5p8ngbgk.js → app-0c8a6nan.js} +86 -86
- package/dist/chunks/{app-bha5yh8f.js → app-0ejp3s31.js} +13 -13
- package/dist/chunks/{app-q0xm7vwc.js → app-0j77ygfz.js} +4 -4
- package/dist/chunks/{app-sw35smzz.js → app-0p3t72g7.js} +11 -11
- package/dist/chunks/{app-vqmv0wny.js → app-0xymhvjv.js} +15 -15
- package/dist/chunks/{app-rm6wvaj8.js → app-16bxftmt.js} +16 -16
- package/dist/chunks/{app-r8xr0va3.js → app-1acjjqhc.js} +3 -3
- package/dist/chunks/{app-d2czbp48.js → app-1b4m0bzf.js} +3 -3
- package/dist/chunks/{app-jhdanssh.js → app-1fe3twba.js} +34 -34
- package/dist/chunks/{app-e1as76v8.js → app-1gh24mt2.js} +36 -36
- package/dist/chunks/{app-x1w9s84m.js → app-1h0m70r1.js} +22 -22
- package/dist/chunks/{app-h3d1wmv7.js → app-1jksvqp2.js} +23 -23
- package/dist/chunks/{app-5nvyfvs2.js → app-1m23n1zc.js} +10 -10
- package/dist/chunks/{app-qk10qjqd.js → app-1mkt64e2.js} +3 -3
- package/dist/chunks/{app-dzw83ac5.js → app-1rh4yqvv.js} +7 -7
- package/dist/chunks/{app-kgdwkpsf.js → app-20k6bs8s.js} +9 -9
- package/dist/chunks/{app-0zyqvhq9.js → app-20y2srhq.js} +7 -7
- package/dist/chunks/{app-5fnmkqwj.js → app-242d3xz3.js} +6 -6
- package/dist/chunks/{app-r2ens31f.js → app-29fgs7mf.js} +28 -28
- package/dist/chunks/{app-nx45m9pa.js → app-2awzhxm4.js} +9 -9
- package/dist/chunks/{app-4ts7tf6z.js → app-2ccvkpx1.js} +1 -1
- package/dist/chunks/{app-3jrsp1yh.js → app-2dcxqaf0.js} +20 -20
- package/dist/chunks/{app-6r04yh88.js → app-2h8kq5g8.js} +2 -2
- package/dist/chunks/{app-cavr175a.js → app-2pnhn36q.js} +20 -20
- package/dist/chunks/{app-qmqgtz8f.js → app-2sejkfem.js} +7 -7
- package/dist/chunks/{app-yxmqamfs.js → app-301dthfh.js} +21 -21
- package/dist/chunks/{app-a4ae1mqs.js → app-325sge2s.js} +1 -1
- package/dist/chunks/{app-5ntmp6zc.js → app-3322t3cd.js} +21 -21
- package/dist/chunks/{app-j6z9wjgn.js → app-35bmy1pq.js} +18 -18
- package/dist/chunks/{app-vd3r3z5p.js → app-3p3qdx74.js} +1 -1
- package/dist/chunks/{app-6cz210g8.js → app-3pshrbxs.js} +6 -6
- package/dist/chunks/{app-3fxa2vs0.js → app-45p1457d.js} +39 -39
- package/dist/chunks/{app-m500pqbj.js → app-4ayp82yx.js} +145 -145
- package/dist/chunks/{app-01b47qtp.js → app-4b3qsvz5.js} +10 -10
- package/dist/chunks/{app-b2ckxg46.js → app-4dhf6qr5.js} +14 -14
- package/dist/chunks/{app-a19614zv.js → app-4ghyx0ra.js} +13 -13
- package/dist/chunks/{app-pec8ewpc.js → app-4k4xw99j.js} +10 -10
- package/dist/chunks/{app-ht5y0zrb.js → app-4v7qdvcn.js} +4 -4
- package/dist/chunks/{app-bsprd9wx.js → app-4x7mprc7.js} +5 -5
- package/dist/chunks/{app-33w4ejhs.js → app-56gdpj1q.js} +4 -4
- package/dist/chunks/{app-8tt02aa5.js → app-57e9z27j.js} +7 -7
- package/dist/chunks/{app-r2751jnn.js → app-5bebnv6a.js} +63 -63
- package/dist/chunks/{app-jzz42hqp.js → app-5cwdzrbq.js} +7 -7
- package/dist/chunks/{app-c4ejyagw.js → app-5p8wf6j7.js} +21 -21
- package/dist/chunks/{app-qn9g45dx.js → app-5vgy46me.js} +1 -1
- package/dist/chunks/{app-bbqm5gby.js → app-5w6eg69j.js} +19 -19
- package/dist/chunks/{app-tx3h7197.js → app-5xnx6s0g.js} +4 -4
- package/dist/chunks/{app-x8esnxbb.js → app-67p37xz4.js} +1 -1
- package/dist/chunks/{app-p944wxep.js → app-68yqgpv3.js} +40 -40
- package/dist/chunks/{app-3zbwexce.js → app-6h1ernme.js} +9 -9
- package/dist/chunks/{app-5qjwke21.js → app-6myapkvy.js} +18 -18
- package/dist/chunks/{app-f59ep6tb.js → app-6qtegkg3.js} +8 -8
- package/dist/chunks/{app-10bgj2qs.js → app-6s2ddzje.js} +44 -44
- package/dist/chunks/{app-xc71fexb.js → app-6xrnn9ah.js} +15 -15
- package/dist/chunks/{app-y9rxzeem.js → app-76tyfscq.js} +12 -12
- package/dist/chunks/{app-vs90824y.js → app-791sstd7.js} +20 -20
- package/dist/chunks/{app-26sz20hb.js → app-7b0bmdfp.js} +6 -6
- package/dist/chunks/{app-wdy45rw8.js → app-7cjh5p1y.js} +7 -7
- package/dist/chunks/{app-yja0z1nt.js → app-7cxp1twe.js} +23 -23
- package/dist/chunks/{app-ywe4gqtj.js → app-7gganw90.js} +1 -1
- package/dist/chunks/{app-nxh69913.js → app-7jqg3t26.js} +7 -7
- package/dist/chunks/{app-cgmwwjnd.js → app-7v13wked.js} +8 -8
- package/dist/chunks/{app-nda7119r.js → app-7w42a7vr.js} +25 -25
- package/dist/chunks/{app-derpzkc9.js → app-7z20pvgb.js} +7 -7
- package/dist/chunks/{app-0rw9nv2q.js → app-8phv1wh2.js} +8 -8
- package/dist/chunks/{app-h7fgzsk1.js → app-9014prnx.js} +12 -12
- package/dist/chunks/{app-m6cy21rm.js → app-9706e9af.js} +15 -15
- package/dist/chunks/{app-yz1dgv86.js → app-9g2bkc9w.js} +4 -4
- package/dist/chunks/{app-vm93y64s.js → app-9h0hm6c7.js} +19 -19
- package/dist/chunks/{app-95tmncnd.js → app-9kdznkft.js} +153 -153
- package/dist/chunks/{app-1yb457c1.js → app-9w4vxw73.js} +18 -18
- package/dist/chunks/{app-h7v41q2b.js → app-9whkbvte.js} +2 -2
- package/dist/chunks/{app-z0rw1ncf.js → app-9z3aytcr.js} +21 -21
- package/dist/chunks/{app-gy3hfqwa.js → app-a89j2j3v.js} +9 -9
- package/dist/chunks/{app-x661k3y3.js → app-addxnjmp.js} +3 -3
- package/dist/chunks/{app-fgb4ey1w.js → app-af8m3dqx.js} +4 -4
- package/dist/chunks/{app-4fvakk57.js → app-ahket4sj.js} +1 -1
- package/dist/chunks/{app-38225d31.js → app-amtff23s.js} +19 -19
- package/dist/chunks/{app-kermnw9y.js → app-an481r60.js} +21 -21
- package/dist/chunks/{app-awezfaj7.js → app-apkykmcv.js} +35 -35
- package/dist/chunks/{app-x4dkc3v3.js → app-ar6cqpvd.js} +9 -9
- package/dist/chunks/{app-s8r1bxm7.js → app-aya0m2nn.js} +14 -14
- package/dist/chunks/{app-92pqdpde.js → app-b0cc5wa1.js} +15 -15
- package/dist/chunks/{app-qa3qhgw8.js → app-b27vhd2z.js} +3 -3
- package/dist/chunks/{app-xxa9zwx6.js → app-b63vc8wa.js} +14 -14
- package/dist/chunks/{app-yb20yvhc.js → app-b8rcbyp3.js} +12 -12
- package/dist/chunks/{app-354wsgxx.js → app-bae9fd7v.js} +32 -32
- package/dist/chunks/{app-0xfrdwvr.js → app-bgb55b52.js} +22 -22
- package/dist/chunks/{app-j9kaagt3.js → app-bj79fbq7.js} +23 -23
- package/dist/chunks/{app-bx2wmar1.js → app-bkcfv8em.js} +13 -13
- package/dist/chunks/{app-nj11v1kf.js → app-bzg3gwdp.js} +44 -44
- package/dist/chunks/{app-d4q7zemf.js → app-c74t9qz0.js} +21 -21
- package/dist/chunks/{app-9pkbw0h1.js → app-cx5qjy2q.js} +17 -17
- package/dist/chunks/{app-ye6d7t69.js → app-d08g2ggt.js} +30 -30
- package/dist/chunks/{app-rvxgx5k2.js → app-d5513v78.js} +10 -10
- package/dist/chunks/{app-6q6gqmwq.js → app-d7gsy00f.js} +1 -1
- package/dist/chunks/{app-m1ay94aq.js → app-dbkg7j5s.js} +15 -15
- package/dist/chunks/{app-bpdcdgy4.js → app-dhgz4p5g.js} +20 -20
- package/dist/chunks/{app-q5hzqnd5.js → app-dk3gfcvg.js} +312 -312
- package/dist/chunks/{app-6t3bxbt1.js → app-dr9djctk.js} +17 -17
- package/dist/chunks/{app-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
- package/dist/chunks/{app-bf8fwsb9.js → app-ebpd15x1.js} +4 -4
- package/dist/chunks/{app-m1mdr3t4.js → app-eff940as.js} +33 -33
- package/dist/chunks/{app-c4e8pskq.js → app-ep2tbpq0.js} +2 -2
- package/dist/chunks/{app-p3c1m468.js → app-f2ymgd1y.js} +9 -9
- package/dist/chunks/{app-awqkms3h.js → app-f597wsw6.js} +8 -8
- package/dist/chunks/{app-pn4m98w3.js → app-fbfqd6t5.js} +24 -24
- package/dist/chunks/{app-z6pt0vvw.js → app-fe1pry9k.js} +3 -3
- package/dist/chunks/{app-t9bwbksh.js → app-fh6mwhcg.js} +15 -15
- package/dist/chunks/{app-77svsnty.js → app-fyyxce3k.js} +9 -9
- package/dist/chunks/{app-tmkqb4m5.js → app-g945yz75.js} +30 -30
- package/dist/chunks/{app-pq2931dk.js → app-gfypdtgg.js} +9 -9
- package/dist/chunks/{app-jhs71wy2.js → app-gmyrpb2t.js} +16 -16
- package/dist/chunks/{app-gey4pgq5.js → app-gvra8byy.js} +5 -5
- package/dist/chunks/{app-wcy74va6.js → app-gz06afsr.js} +12 -12
- package/dist/chunks/app-h44meb81.js +26 -0
- package/dist/chunks/{app-1pxz8ven.js → app-h83xjv7f.js} +3 -3
- package/dist/chunks/{app-scgrse2b.js → app-hdkng2sj.js} +3 -3
- package/dist/chunks/{app-21fbcwms.js → app-hhjq2279.js} +6 -6
- package/dist/chunks/{app-yrzy80wg.js → app-hwwy1ym4.js} +10 -10
- package/dist/chunks/{app-5ktf0rcf.js → app-hxnmxwjb.js} +11 -11
- package/dist/chunks/{app-smzkt4h8.js → app-j4tsbt5k.js} +23 -23
- package/dist/chunks/{app-37eb9j4g.js → app-j9vjkm8n.js} +11 -11
- package/dist/chunks/{app-myrb3mwv.js → app-jat658e1.js} +13 -13
- package/dist/chunks/{app-89znh5jn.js → app-jc3azejp.js} +22 -22
- package/dist/chunks/{app-r71fb6ch.js → app-jcx1xx7s.js} +8 -8
- package/dist/chunks/{app-ctz7jbry.js → app-jhpaar4x.js} +7 -7
- package/dist/chunks/{app-6ydeeanc.js → app-jkv8g5mz.js} +7 -7
- package/dist/chunks/{app-qncy8rqx.js → app-jnvev7pc.js} +31 -31
- package/dist/chunks/{app-k0nnq3t9.js → app-k3kxt7h3.js} +5 -5
- package/dist/chunks/{app-w8v7x0t4.js → app-k5s0pr56.js} +24 -24
- package/dist/chunks/{app-8a6ws7jr.js → app-k70p9jzb.js} +7 -7
- package/dist/chunks/{app-k0j6xj92.js → app-k7y9nwy7.js} +78 -78
- package/dist/chunks/{app-4dnhnsrw.js → app-kdhmv3km.js} +10 -10
- package/dist/chunks/{app-vfjhn2wd.js → app-knevfgda.js} +3 -3
- package/dist/chunks/{app-5jrta31j.js → app-kt8356a3.js} +30 -30
- package/dist/chunks/{app-bz46fwta.js → app-m1mccnkp.js} +22 -22
- package/dist/chunks/{app-b7zw3vx0.js → app-m8n8f8f1.js} +22 -22
- package/dist/chunks/{app-2za1r32n.js → app-mgh0wzph.js} +13 -13
- package/dist/chunks/{app-a1gpj94z.js → app-mvfsc1pv.js} +2 -2
- package/dist/chunks/{app-qhyw2gmb.js → app-mwkrjy8y.js} +9 -9
- package/dist/chunks/{app-ws6r9wxd.js → app-mzkxtmwj.js} +48 -48
- package/dist/chunks/{app-6fnv26db.js → app-nd6gy5bw.js} +12 -12
- package/dist/chunks/{app-9a3kc0hm.js → app-nd6t1tpn.js} +12 -12
- package/dist/chunks/{app-qyp7nx31.js → app-ne07e3sg.js} +26 -26
- package/dist/chunks/{app-x5paqj6j.js → app-ngv8w6cp.js} +13 -13
- package/dist/chunks/{app-bkh2zg02.js → app-nwhb2xra.js} +3 -3
- package/dist/chunks/{app-m4y7kpay.js → app-nxdkhax1.js} +8 -8
- package/dist/chunks/{app-tcay1cqt.js → app-p7a39gy5.js} +5 -5
- package/dist/chunks/{app-r8bv4q06.js → app-pwzyebmy.js} +8 -8
- package/dist/chunks/{app-g35x6qc6.js → app-py8bz5dh.js} +16 -16
- package/dist/chunks/{app-fgawfjx8.js → app-pybq8189.js} +2 -2
- package/dist/chunks/{app-553hyqc1.js → app-q41gjxsv.js} +18 -18
- package/dist/chunks/{app-nj38n445.js → app-q5bs9ych.js} +8 -8
- package/dist/chunks/{app-a6rrmb2t.js → app-q66krdtm.js} +6 -6
- package/dist/chunks/{app-at1kfnmk.js → app-qby9dwvd.js} +7 -7
- package/dist/chunks/{app-m2dbveed.js → app-qpg4an21.js} +10 -10
- package/dist/chunks/{app-vx3jgdek.js → app-qsee9sfb.js} +3 -3
- package/dist/chunks/{app-09erbt4s.js → app-r7jxkywv.js} +16 -16
- package/dist/chunks/{app-vjmj34bj.js → app-rdh9syxk.js} +9 -9
- package/dist/chunks/{app-qcj1qarq.js → app-reymgymz.js} +32 -32
- package/dist/chunks/{app-2e853yyk.js → app-rftk81m0.js} +35 -35
- package/dist/chunks/{app-ccv5fkkn.js → app-rjq8wmvv.js} +10 -10
- package/dist/chunks/{app-nzxj697k.js → app-rq424w6d.js} +7 -7
- package/dist/chunks/{app-xwwz1fcf.js → app-rrfvxgdj.js} +21 -21
- package/dist/chunks/{app-r44petzp.js → app-rrpq0de9.js} +7 -7
- package/dist/chunks/{app-b5c9dynj.js → app-rszvgpa6.js} +13 -13
- package/dist/chunks/{app-ykt494b9.js → app-rx9ava5n.js} +1 -1
- package/dist/chunks/{app-np17306k.js → app-s0y0yn56.js} +6 -6
- package/dist/chunks/{app-7mnw5w78.js → app-s6fz7zhe.js} +2 -2
- package/dist/chunks/{app-9t7a50xb.js → app-s8d7rejh.js} +3 -3
- package/dist/chunks/{app-qadcnyv9.js → app-s9bkmqx5.js} +8 -8
- package/dist/chunks/{app-9h8mrsf7.js → app-s9rfegk5.js} +17 -17
- package/dist/chunks/{app-vhg3kvj9.js → app-sdzb5d81.js} +43 -43
- package/dist/chunks/{app-6e5ndhjv.js → app-sgy8ytrb.js} +2 -2
- package/dist/chunks/{app-f26q4c2q.js → app-srj2pvnr.js} +13 -13
- package/dist/chunks/{app-0s3chswr.js → app-sssj1js0.js} +24 -24
- package/dist/chunks/{app-39rxwxkd.js → app-t157y7h9.js} +15 -15
- package/dist/chunks/{app-gcabepm0.js → app-t6jtyfth.js} +7 -7
- package/dist/chunks/{app-80scg3y3.js → app-tbmac1c7.js} +3 -3
- package/dist/chunks/{app-k6pmx2m2.js → app-td2q8pwv.js} +30 -30
- package/dist/chunks/{app-2r6s1han.js → app-tdkczycq.js} +3 -3
- package/dist/chunks/{app-977n1gvn.js → app-tjd55h1j.js} +1 -1
- package/dist/chunks/{app-qzgv83g8.js → app-trfe10aq.js} +48 -48
- package/dist/chunks/{app-ye968f26.js → app-tv9y8cre.js} +28 -28
- package/dist/chunks/{app-dhmh7aw6.js → app-tz4n1mmd.js} +3 -3
- package/dist/chunks/{app-fpecnkgp.js → app-v0es1rhs.js} +7 -7
- package/dist/chunks/{app-5pyjqqve.js → app-v3691hzd.js} +1 -1
- package/dist/chunks/{app-0mekpjct.js → app-v8djm3tk.js} +32 -32
- package/dist/chunks/{app-yn6dgm22.js → app-va1aqcgj.js} +8 -8
- package/dist/chunks/{app-hrtswde4.js → app-vcx4y3fv.js} +14 -14
- package/dist/chunks/{app-xq7hn9w5.js → app-vpw5h8ff.js} +3 -3
- package/dist/chunks/{app-84txncab.js → app-w1eejvng.js} +4 -4
- package/dist/chunks/{app-mterk9bb.js → app-w22hqb2b.js} +13 -13
- package/dist/chunks/{app-e1bn0v82.js → app-w56bmt8q.js} +1 -1
- package/dist/chunks/{app-9hwaqfsw.js → app-wbgabvvj.js} +3 -3
- package/dist/chunks/{app-xbvv70jj.js → app-wbrpy97e.js} +7 -7
- package/dist/chunks/{app-ev618wrn.js → app-wkt2r7t8.js} +2 -2
- package/dist/chunks/{app-4qt3dk25.js → app-wp4df68x.js} +9 -9
- package/dist/chunks/{app-4xfpc9x8.js → app-wrdre0d4.js} +33 -33
- package/dist/chunks/{app-jb7afjsg.js → app-ws2cps2z.js} +6 -6
- package/dist/chunks/{app-qt4hgj4v.js → app-wxzwjz1v.js} +32 -32
- package/dist/chunks/{app-m6r7asx4.js → app-wygm2re9.js} +12 -12
- package/dist/chunks/{app-77237k3k.js → app-x1e01gbv.js} +15 -15
- package/dist/chunks/{app-r1vnz2ze.js → app-x9e148je.js} +14 -14
- package/dist/chunks/{app-rehtxfbe.js → app-xa67z4h8.js} +1 -1
- package/dist/chunks/{app-b1hb30m9.js → app-xccs5pvc.js} +7 -7
- package/dist/chunks/{app-jzzy94zk.js → app-xf8yqmad.js} +7 -7
- package/dist/chunks/{app-frtrentt.js → app-xj54bchx.js} +1 -1
- package/dist/chunks/{app-dmqcgk4z.js → app-xkntkrq7.js} +3 -3
- package/dist/chunks/{app-ex71f260.js → app-xp199s9v.js} +23 -23
- package/dist/chunks/{app-tx92n959.js → app-xs53z2pm.js} +3 -3
- package/dist/chunks/{app-1kr92pjq.js → app-y77syfze.js} +24 -24
- package/dist/chunks/{app-pengrcv5.js → app-yj324k3c.js} +5 -5
- package/dist/chunks/{app-3qaj82j9.js → app-yt3hy1g9.js} +3 -3
- package/dist/chunks/{app-xb3m1p56.js → app-yw1qgh4m.js} +12 -12
- package/dist/chunks/{app-eg4w172k.js → app-z0k8ktqm.js} +1 -1
- package/dist/chunks/{app-7zet489v.js → app-z52sz3cr.js} +28 -28
- package/dist/chunks/{app-77y1s1rs.js → app-z9w0t9mp.js} +9 -9
- package/dist/chunks/{app-0xw58msr.js → app-zqapp3sx.js} +8 -8
- package/dist/chunks/{app-5ms2rpmc.js → app-zy98sty6.js} +1 -1
- package/dist/codemode/instructions.js +6 -6
- package/dist/command.js +66 -66
- package/dist/config/discovery.js +57 -57
- package/dist/config/normalize.js +72 -72
- package/dist/config/plugin/agent.js +88 -88
- package/dist/config/plugin/command.js +162 -162
- package/dist/config/plugin/compaction.js +115 -115
- package/dist/config/plugin/compatibility.js +103 -103
- package/dist/config/plugin/formatter.js +87 -87
- package/dist/config/plugin/image.js +86 -86
- package/dist/config/plugin/instruction.js +64 -64
- package/dist/config/plugin/location-watcher.js +88 -88
- package/dist/config/plugin/mcp.js +94 -94
- package/dist/config/plugin/policy.js +87 -87
- package/dist/config/plugin/provider.js +86 -86
- package/dist/config/plugin/reference.js +88 -88
- package/dist/config/plugin/shell.js +86 -86
- package/dist/config/plugin/skill-file.js +72 -72
- package/dist/config/plugin/skill.js +106 -106
- package/dist/config/plugin/snapshot.js +86 -86
- package/dist/config/plugin/source.js +89 -89
- package/dist/config/plugin/tool-output.js +87 -87
- package/dist/config/plugin/websearch.js +85 -85
- package/dist/config/plugin/worktree.js +87 -87
- package/dist/config/variable.js +2 -2
- package/dist/config.js +92 -92
- package/dist/credential.js +62 -62
- package/dist/database/database.js +51 -51
- 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 +40 -40
- package/dist/database/migration.js +41 -41
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +234 -234
- package/dist/environment/environment.js +64 -64
- package/dist/environment/index.js +66 -66
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +75 -75
- package/dist/file-mutation.js +65 -65
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +175 -175
- package/dist/filesystem/search.js +66 -66
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +71 -71
- package/dist/form.js +61 -61
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +62 -62
- package/dist/generate.js +77 -77
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +65 -65
- 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/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +299 -299
- package/dist/instruction-discovery.js +65 -65
- package/dist/instructions/builtins.js +62 -62
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +66 -66
- package/dist/job.js +61 -61
- package/dist/kv.js +56 -56
- package/dist/location-activity.js +53 -53
- package/dist/location-lifecycle.js +78 -78
- package/dist/location-service-map.js +61 -61
- package/dist/location-services.js +297 -297
- package/dist/location.js +62 -62
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +79 -79
- package/dist/mcp/instructions.js +90 -90
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +61 -61
- package/dist/modal/models.js +65 -65
- package/dist/model-resolver.js +72 -72
- package/dist/model.js +76 -76
- package/dist/models-dev.js +80 -80
- package/dist/permission/saved.js +60 -60
- package/dist/permission.js +82 -82
- package/dist/persistent-pty/index.js +69 -69
- package/dist/persistent-pty.js +55 -55
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +72 -72
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +166 -166
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/internal.js +272 -272
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +69 -69
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/plan.js +73 -73
- package/dist/plugin/provider/amazon-bedrock.js +64 -64
- package/dist/plugin/provider/azure.js +87 -87
- package/dist/plugin/provider/chatgpt.js +66 -66
- package/dist/plugin/provider/cloudflare-ai-gateway.js +84 -84
- package/dist/plugin/provider/cloudflare-workers-ai.js +84 -84
- package/dist/plugin/provider/configured.js +83 -83
- package/dist/plugin/provider/digitalocean.js +66 -66
- package/dist/plugin/provider/github-copilot.js +68 -68
- package/dist/plugin/provider/gitlab.js +66 -66
- package/dist/plugin/provider/google-vertex.js +64 -64
- package/dist/plugin/provider/llmgateway.js +59 -59
- package/dist/plugin/provider/lmstudio.js +87 -87
- package/dist/plugin/provider/local.js +84 -84
- package/dist/plugin/provider/modal.js +66 -66
- package/dist/plugin/provider/ollama.js +87 -87
- package/dist/plugin/provider/openai.js +65 -65
- package/dist/plugin/provider/opencode.js +69 -69
- package/dist/plugin/provider/openrouter.js +65 -65
- package/dist/plugin/provider/poe.js +59 -59
- package/dist/plugin/provider/prompt-cache-key.js +64 -64
- package/dist/plugin/provider/sap-ai-core.js +64 -64
- package/dist/plugin/provider/snowflake-cortex.js +85 -85
- package/dist/plugin/provider/vercel.js +64 -64
- package/dist/plugin/provider/vllm.js +87 -87
- package/dist/plugin/provider/xai.js +65 -65
- package/dist/plugin/provider.js +120 -120
- package/dist/plugin/sdk.js +59 -59
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +104 -104
- package/dist/plugin/supervisor.js +288 -288
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/vcs/git.js +61 -61
- package/dist/plugin/vcs/hg.js +61 -61
- package/dist/plugin/verbosity.js +67 -67
- package/dist/plugin/warming.js +85 -85
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +179 -179
- package/dist/project/schema.js +7 -7
- package/dist/project.js +63 -63
- package/dist/provider.js +71 -71
- package/dist/pty.js +73 -73
- package/dist/reference/instructions.js +66 -66
- package/dist/reference.js +66 -66
- package/dist/repository-cache.js +59 -59
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +67 -67
- package/dist/rpc.js +61 -61
- package/dist/session/command.js +57 -57
- package/dist/session/compaction.js +94 -94
- package/dist/session/context.js +111 -111
- package/dist/session/diff.js +61 -61
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +113 -113
- package/dist/session/execution.js +97 -97
- package/dist/session/generate.js +112 -112
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +64 -64
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +59 -59
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +65 -65
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +84 -84
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +98 -98
- package/dist/session/projector.js +61 -61
- package/dist/session/prompt.js +76 -76
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +62 -62
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +176 -176
- package/dist/session/runner/model.js +72 -72
- package/dist/session/runner/publish-llm-event.js +82 -82
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +89 -89
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +127 -127
- package/dist/session/shell.js +98 -98
- package/dist/session/skill.js +74 -74
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +63 -63
- package/dist/session/subagent-job.js +158 -158
- package/dist/session/title.js +112 -112
- package/dist/session/to-session-error.js +81 -81
- package/dist/session/transfer.js +110 -110
- package/dist/session.js +166 -166
- package/dist/shell/parse.js +4 -4
- package/dist/shell/select.js +12 -12
- package/dist/shell.js +101 -101
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +78 -78
- package/dist/skill.js +83 -83
- package/dist/snapshot.js +68 -68
- package/dist/tool/mcp.js +91 -91
- package/dist/tool/plugin/edit.js +86 -86
- package/dist/tool/plugin/glob.js +89 -89
- package/dist/tool/plugin/grep.js +89 -89
- package/dist/tool/plugin/mcp-resource.js +81 -81
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +80 -80
- package/dist/tool/plugin/question.js +74 -74
- package/dist/tool/plugin/read.js +90 -90
- package/dist/tool/plugin/shell.js +164 -164
- package/dist/tool/plugin/skill.js +80 -80
- package/dist/tool/plugin/subagent.js +167 -167
- package/dist/tool/plugin/webfetch.js +79 -79
- package/dist/tool/plugin/websearch.js +83 -83
- package/dist/tool/plugin/write.js +88 -88
- package/dist/tool/read-filesystem.js +69 -69
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +65 -65
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +67 -67
- package/dist/vcs.js +64 -64
- package/dist/websearch.js +61 -61
- package/dist/wellknown/plugin.js +57 -57
- package/dist/wellknown.js +62 -62
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +63 -63
- package/dist/worktree/git.js +4 -4
- package/dist/worktree/strategies.js +63 -63
- package/dist/worktree.js +71 -71
- package/package.json +8 -8
- package/dist/chunks/app-x82s002v.js +0 -26
- /package/dist/chunks/{app-zw4pk1bw.js → app-b7v4cx43.js} +0 -0
- /package/dist/chunks/{app-85gpctef.js → app-d9yqcqn2.js} +0 -0
- /package/dist/chunks/{app-ynmespmv.js → app-jtgyfgpv.js} +0 -0
- /package/dist/chunks/{app-pkxfpd18.js → app-mypwhdkk.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./app-
|
|
4
|
+
} from "./app-5vgy46me.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./app-
|
|
6
|
+
Event19,
|
|
7
|
+
Service75,
|
|
8
|
+
node79
|
|
9
|
+
} from "./app-rrfvxgdj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./app-
|
|
11
|
+
Service69,
|
|
12
|
+
node73
|
|
13
|
+
} from "./app-1h0m70r1.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
16
|
} from "./app-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./app-
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./app-fh6mwhcg.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./app-
|
|
23
|
+
} from "./app-2ccvkpx1.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./app-
|
|
26
|
+
} from "./app-0xymhvjv.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./app-
|
|
30
|
+
} from "./app-vpw5h8ff.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
33
|
} from "./app-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./app-
|
|
35
|
+
Service70,
|
|
36
|
+
Event15,
|
|
37
|
+
node74
|
|
38
|
+
} from "./app-amtff23s.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
41
|
} from "./app-9rqn6x4v.js";
|
|
@@ -44,13 +44,13 @@ import {
|
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options8,
|
|
48
|
+
Service: () => Service68,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured10,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer23,
|
|
53
|
+
node: () => node72,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options8 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service68 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service68, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service80;
|
|
97
|
+
const watcher = yield* Service69;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service75;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service70;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer22 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer22 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service68.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer22 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured10(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service68,
|
|
268
|
+
layer: layer23(options),
|
|
269
|
+
deps: [node73, node87, FSUtil.node, Global.node, node84, node79, node74]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node72 = configured10();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options8, Service68, Test2, testLayer2, layer23, configured10, node72, exports_config };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
PositiveInt2
|
|
3
3
|
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./app-
|
|
5
|
+
Info18
|
|
6
|
+
} from "./app-2pnhn36q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent4 = {};
|
|
13
|
+
__export(exports_agent4, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent4,
|
|
15
|
+
Info: () => Info17
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info18)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info17 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info17, exports_agent4 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./app-
|
|
4
|
+
} from "./app-5vgy46me.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
} from "./app-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./app-
|
|
12
|
+
} from "./app-apkykmcv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./app-
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./app-fh6mwhcg.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info4,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service21,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node24
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service21 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
61
|
+
const location = yield* Service80;
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service21.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node24 = makeLocationNode({
|
|
191
|
+
service: Service21,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node84, node87]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service21, node24, exports_vcs };
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service79,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node83
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service79 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service79.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node83 = makeLocationNode({
|
|
137
|
+
service: Service79,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service79, node83, exports_tool_output2 };
|
|
@@ -4,25 +4,25 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./app-
|
|
7
|
+
} from "./app-5vgy46me.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./app-
|
|
9
|
+
Event19,
|
|
10
|
+
Service75,
|
|
11
|
+
node79
|
|
12
|
+
} from "./app-rrfvxgdj.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./app-
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./app-fh6mwhcg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./app-
|
|
18
|
+
Service57,
|
|
19
|
+
node59
|
|
20
|
+
} from "./app-5w6eg69j.js";
|
|
21
21
|
import {
|
|
22
22
|
ID15,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./app-
|
|
23
|
+
Service76,
|
|
24
|
+
node80
|
|
25
|
+
} from "./app-yw1qgh4m.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
@@ -30,9 +30,9 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./app-
|
|
33
|
+
Service74,
|
|
34
|
+
node78
|
|
35
|
+
} from "./app-3322t3cd.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
38
|
} from "./app-9rqn6x4v.js";
|
|
@@ -41,20 +41,20 @@ import {
|
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service33,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node36
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service33 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const environment = yield* Service57;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service76;
|
|
119
|
+
const integration = yield* Service74;
|
|
120
|
+
const credentials = yield* Service75;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -145,7 +145,7 @@ var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,14 +154,14 @@ var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError5({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
@@ -269,7 +269,7 @@ var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service57, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer12 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service33.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service33,
|
|
536
|
+
layer: layer14(options),
|
|
537
|
+
deps: [node84, node59, node87, node80, node78, node79]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node36 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service33, Options4, layer14, configured4, node36, exports_mcp4 };
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
RelativePath2
|
|
5
5
|
} from "./app-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./app-
|
|
7
|
+
Service57,
|
|
8
|
+
node59
|
|
9
|
+
} from "./app-5w6eg69j.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
12
|
} from "./app-8d7r5vzw.js";
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service51,
|
|
24
|
+
node: () => node53
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service51 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service57;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service51.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node53 = makeLocationNode({ service: Service51, layer, deps: [node59, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service51, node53, exports_ripgrep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./app-
|
|
2
|
+
Service68
|
|
3
|
+
} from "./app-68yqgpv3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./app-
|
|
5
|
+
Service11
|
|
6
|
+
} from "./app-2sejkfem.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
9
|
} from "./app-qsdy395h.js";
|
|
@@ -12,18 +12,18 @@ import {
|
|
|
12
12
|
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin15
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin15 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service68;
|
|
26
|
+
const policy = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin36 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin15, exports_location_watcher };
|