@opencode/core 0.0.0-dev-20857 → 0.0.0-dev-20859
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/account/sql.js +1 -1
- package/dist/agent.js +75 -75
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{shell-k8bpgq9y.js → models-dev-0h3bmwzg.js} +3 -3
- package/dist/chunks/{shell-0jq9fyba.js → models-dev-0jq9fyba.js} +2 -2
- package/dist/chunks/{shell-57q58vcn.js → models-dev-0kxvzjqb.js} +8 -8
- package/dist/chunks/{shell-4ny6ge39.js → models-dev-0q0wg4xp.js} +2 -2
- package/dist/chunks/{shell-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
- package/dist/chunks/{shell-pk6nmean.js → models-dev-0vvhvyba.js} +9 -9
- package/dist/chunks/{shell-63db42yp.js → models-dev-127b9nq3.js} +2 -2
- package/dist/chunks/models-dev-17ycsp3w.js +26 -0
- package/dist/chunks/{shell-0xg4dbhf.js → models-dev-18qdyfs3.js} +9 -9
- package/dist/chunks/{shell-rv5y0vmv.js → models-dev-18vazzn9.js} +10 -10
- package/dist/chunks/{shell-e8vwfchq.js → models-dev-19ezngz8.js} +6 -6
- package/dist/chunks/{shell-bjx1sjef.js → models-dev-1ffvrpkg.js} +6 -6
- package/dist/chunks/{shell-3vwa7tag.js → models-dev-1fv76e68.js} +4 -4
- package/dist/chunks/{shell-1akek5x1.js → models-dev-1pwmnsys.js} +28 -28
- package/dist/chunks/{shell-2jqxqhvd.js → models-dev-1vg111bv.js} +24 -24
- package/dist/chunks/{shell-9zkr33jc.js → models-dev-20nanq9y.js} +29 -24
- package/dist/chunks/{shell-q4pbgert.js → models-dev-22wdbsts.js} +8 -8
- package/dist/chunks/{shell-fw4m26gt.js → models-dev-24chregn.js} +16 -16
- package/dist/chunks/{shell-tk5yhcbe.js → models-dev-2ganz3y8.js} +1 -1
- package/dist/chunks/{shell-7jvqc6c6.js → models-dev-2qzyfzsa.js} +6 -6
- package/dist/chunks/{shell-9dnw0m4x.js → models-dev-2sntqjaq.js} +16 -16
- package/dist/chunks/{shell-2vvh33eb.js → models-dev-2vvh33eb.js} +2 -2
- package/dist/chunks/{shell-pqzzsrxq.js → models-dev-374ye17y.js} +13 -13
- package/dist/chunks/{shell-fegk541e.js → models-dev-38adaqc0.js} +5 -5
- package/dist/chunks/{shell-j2t2p12e.js → models-dev-3cqwnyj9.js} +8 -8
- package/dist/chunks/{shell-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3hwn7j4h.js → models-dev-3hwn7j4h.js} +2 -2
- package/dist/chunks/{shell-nndebfwy.js → models-dev-3jrhrefn.js} +3 -3
- package/dist/chunks/{shell-mx9vqzsb.js → models-dev-3ppptnan.js} +6 -6
- package/dist/chunks/{shell-53b2w85q.js → models-dev-3rw41r48.js} +40 -40
- package/dist/chunks/{shell-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
- package/dist/chunks/{shell-zj5zbbtb.js → models-dev-4cb8f7fk.js} +6 -6
- package/dist/chunks/{shell-632pjh68.js → models-dev-4gknt9fd.js} +8 -8
- package/dist/chunks/{shell-3xz8c404.js → models-dev-4t1gj9yh.js} +14 -14
- package/dist/chunks/{shell-4ts7tf6z.js → models-dev-4ts7tf6z.js} +2 -2
- package/dist/chunks/{shell-ysxfpacz.js → models-dev-4y22yp3a.js} +10 -10
- package/dist/chunks/{shell-qgbx7jx4.js → models-dev-52j8y2jv.js} +22 -22
- package/dist/chunks/{shell-w3jswt4w.js → models-dev-55gcgw3e.js} +20 -20
- package/dist/chunks/{shell-mah44h74.js → models-dev-5e9r84ee.js} +18 -18
- package/dist/chunks/{shell-h1f6pjh7.js → models-dev-5enhjtjj.js} +13 -13
- package/dist/chunks/{shell-yyrccqnw.js → models-dev-5fh04hx0.js} +11 -11
- package/dist/chunks/{shell-2tpp7g1c.js → models-dev-5hje56dy.js} +10 -10
- package/dist/chunks/{shell-5m9w47nd.js → models-dev-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-p37cw4rj.js → models-dev-5yzzbxa7.js} +8 -8
- package/dist/chunks/{shell-2k8khapm.js → models-dev-607tc6va.js} +5 -5
- package/dist/chunks/{shell-8rfck53x.js → models-dev-61j0dmjj.js} +9 -9
- package/dist/chunks/{shell-8y8ypgde.js → models-dev-647967zt.js} +15 -15
- package/dist/chunks/{shell-4bme9fsw.js → models-dev-68wyf5bm.js} +4 -4
- package/dist/chunks/{shell-e3ztwkqf.js → models-dev-6943eppc.js} +21 -21
- package/dist/chunks/{shell-5s7atwjr.js → models-dev-698b69sb.js} +23 -23
- package/dist/chunks/{shell-3a932jrg.js → models-dev-6e3h9s4c.js} +24 -24
- package/dist/chunks/{shell-3nm0194b.js → models-dev-6gw9y4bj.js} +20 -20
- package/dist/chunks/{shell-kg25nbg7.js → models-dev-6kvq4g2x.js} +18 -18
- package/dist/chunks/{shell-qh14mjfc.js → models-dev-6m0bz93p.js} +25 -25
- package/dist/chunks/{shell-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
- package/dist/chunks/{shell-s08px70s.js → models-dev-6zqpyfbt.js} +17 -17
- package/dist/chunks/{shell-r6zqzxy3.js → models-dev-70m140w6.js} +10 -10
- package/dist/chunks/{shell-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-2wjcem9c.js → models-dev-7r5hmjg5.js} +5 -5
- package/dist/chunks/{shell-xt19rdf3.js → models-dev-81mmn3a0.js} +6 -6
- package/dist/chunks/{shell-j30cfxah.js → models-dev-825k8aw8.js} +8 -8
- package/dist/chunks/{shell-pf6q70e9.js → models-dev-82d1et5t.js} +125 -125
- package/dist/chunks/{shell-v42vq798.js → models-dev-82y99j0b.js} +4 -4
- package/dist/chunks/{shell-84txncab.js → models-dev-84txncab.js} +1 -1
- package/dist/chunks/{shell-c3mck475.js → models-dev-8674dt24.js} +13 -13
- package/dist/chunks/{shell-983vvjqk.js → models-dev-887nqayc.js} +18 -18
- package/dist/chunks/{shell-8m6m0r52.js → models-dev-8m6m0r52.js} +1 -1
- package/dist/chunks/{shell-mp6d0dty.js → models-dev-8n69n882.js} +8 -8
- package/dist/chunks/{shell-6pc27hjz.js → models-dev-8sze2n9a.js} +2 -2
- package/dist/chunks/{shell-w9g6mbyt.js → models-dev-8v3dx1b1.js} +15 -10
- package/dist/chunks/{shell-cvkxtcs1.js → models-dev-8yrsrcqn.js} +8 -8
- package/dist/chunks/{shell-91qna3x0.js → models-dev-91qna3x0.js} +3 -3
- package/dist/chunks/{shell-ye89ra46.js → models-dev-95vtkt33.js} +15 -15
- package/dist/chunks/{shell-q1c758g9.js → models-dev-97krh25m.js} +3 -3
- package/dist/chunks/{shell-5f5jqs5q.js → models-dev-9cmzbzxt.js} +22 -22
- package/dist/chunks/{shell-9qq9n83k.js → models-dev-9k0wbz69.js} +9 -9
- package/dist/chunks/{shell-wmhzr98j.js → models-dev-9mpm97f6.js} +17 -17
- package/dist/chunks/{shell-s80ty4qk.js → models-dev-9wrrb0yb.js} +17 -17
- package/dist/chunks/{shell-682w9aj8.js → models-dev-9wx1dm4d.js} +26 -26
- package/dist/chunks/{shell-qh6nb83h.js → models-dev-9y49bz8y.js} +4 -4
- package/dist/chunks/{shell-vn01hwr7.js → models-dev-a2t0s2yb.js} +32 -32
- package/dist/chunks/{shell-68np1yjd.js → models-dev-a4t865ze.js} +46 -46
- package/dist/chunks/{shell-j5wgpdyg.js → models-dev-adkf1mef.js} +4 -4
- package/dist/chunks/{shell-33t10hcv.js → models-dev-aet8a8m6.js} +20 -20
- package/dist/chunks/{shell-pq1zagfs.js → models-dev-aqq7qq15.js} +50 -50
- package/dist/chunks/{shell-gzy6twtn.js → models-dev-av393dca.js} +19 -19
- package/dist/chunks/{shell-f6nebfwf.js → models-dev-ayxtq27e.js} +7 -7
- package/dist/chunks/{shell-entw2tdd.js → models-dev-b2r2w48a.js} +16 -16
- package/dist/chunks/{shell-scgrse2b.js → models-dev-b3f8fkhc.js} +5 -5
- package/dist/chunks/{shell-z8y202y4.js → models-dev-bp2y3nv0.js} +27 -27
- package/dist/chunks/{shell-s0a13pd7.js → models-dev-bwqxdjjg.js} +7 -7
- package/dist/chunks/{shell-c41wscbt.js → models-dev-c41wscbt.js} +2 -2
- package/dist/chunks/{shell-c8ax2afj.js → models-dev-c8ax2afj.js} +2 -2
- package/dist/chunks/{shell-2k8k9dqx.js → models-dev-cg1v189h.js} +11 -11
- package/dist/chunks/{shell-rvmjpvff.js → models-dev-d2wg8ycw.js} +41 -41
- package/dist/chunks/{shell-ymg992xw.js → models-dev-d55j8a6m.js} +11 -11
- package/dist/chunks/{shell-64xe14bq.js → models-dev-d5fjkd30.js} +9 -9
- package/dist/chunks/{shell-xd893mcj.js → models-dev-d5k6qz6m.js} +14 -14
- package/dist/chunks/{shell-gqtdsdt7.js → models-dev-db2wf4at.js} +4 -4
- package/dist/chunks/{shell-7q04ztt9.js → models-dev-denz7pvs.js} +11 -11
- package/dist/chunks/{shell-8bqqxrfh.js → models-dev-dnbgra15.js} +20 -20
- package/dist/chunks/{shell-0hqe3qpg.js → models-dev-dtv3x9wh.js} +32 -32
- package/dist/chunks/models-dev-dxj72tfx.js +18 -0
- package/dist/chunks/{shell-cf0jnzc0.js → models-dev-e3w9vdzz.js} +3 -3
- package/dist/chunks/{shell-2c3zkedc.js → models-dev-e8v4tyd8.js} +7 -7
- package/dist/chunks/{shell-eaj1djv9.js → models-dev-eaj1djv9.js} +1 -1
- package/dist/chunks/{shell-6hh8tjw2.js → models-dev-edrmdtr5.js} +7 -7
- package/dist/chunks/{shell-eej6y6fw.js → models-dev-eej6y6fw.js} +2 -2
- package/dist/chunks/{shell-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-es1vcfrp.js → models-dev-es1vcfrp.js} +3 -3
- package/dist/chunks/{shell-abx6ba1k.js → models-dev-etrah8tf.js} +6 -6
- package/dist/chunks/{shell-h0wknqx0.js → models-dev-f062g88n.js} +12 -12
- package/dist/chunks/{shell-f29mbr7f.js → models-dev-f29mbr7f.js} +1 -1
- package/dist/chunks/models-dev-f5tf24pd.js +253 -0
- package/dist/chunks/{shell-7cw62h38.js → models-dev-f8tkgn5s.js} +16 -16
- package/dist/chunks/{shell-arpm3677.js → models-dev-fh0gp1g6.js} +25 -25
- package/dist/chunks/{shell-841ny8t5.js → models-dev-frwnkyqj.js} +1 -1
- package/dist/chunks/{shell-0j99dzqs.js → models-dev-fy2g7ryf.js} +25 -25
- package/dist/chunks/{shell-87x2mn9m.js → models-dev-g5thp7qf.js} +33 -33
- package/dist/chunks/{shell-wh6zw745.js → models-dev-g6yfr6ja.js} +5 -5
- package/dist/chunks/{shell-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-5zaqnmf3.js → models-dev-ge15eywb.js} +11 -11
- package/dist/chunks/{shell-ybqgtr0n.js → models-dev-gem7d763.js} +9 -9
- package/dist/chunks/{shell-3pw25jfp.js → models-dev-ggw4qjdj.js} +11 -11
- package/dist/chunks/{shell-ft3hqk2c.js → models-dev-gjwgx2c5.js} +9 -9
- package/dist/chunks/{shell-gk8qb678.js → models-dev-gk8qb678.js} +1 -1
- package/dist/chunks/{shell-8wyr28s0.js → models-dev-gsfpqf0z.js} +20 -15
- package/dist/chunks/{shell-jvf3yq6v.js → models-dev-gst7axd9.js} +4 -4
- package/dist/chunks/{shell-krn5wsz0.js → models-dev-gtbbts5w.js} +8 -8
- package/dist/chunks/{shell-88j1htk6.js → models-dev-gvyvbnms.js} +3 -3
- package/dist/chunks/{shell-2jmthg8v.js → models-dev-gwwmhhky.js} +9 -9
- package/dist/chunks/{shell-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-31xfzrxg.js → models-dev-h7s7r6s9.js} +5 -5
- package/dist/chunks/{shell-z9w42y3k.js → models-dev-h9y1jbrp.js} +24 -24
- package/dist/chunks/{shell-ev7b3fzk.js → models-dev-hbz3dq43.js} +12 -12
- package/dist/chunks/{shell-hgz4x7wa.js → models-dev-hgz4x7wa.js} +1 -1
- package/dist/chunks/{shell-fxaymqdw.js → models-dev-hq3c8me3.js} +4 -4
- package/dist/chunks/{shell-118n48gh.js → models-dev-hwt2tm4a.js} +6 -6
- package/dist/chunks/{shell-vk1989fk.js → models-dev-j3zd635k.js} +5 -5
- package/dist/chunks/{shell-j56e64zr.js → models-dev-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-dtgwcqw4.js → models-dev-jd32emjx.js} +11 -11
- package/dist/chunks/{shell-g8z8mf78.js → models-dev-jkcwyt6p.js} +20 -20
- package/dist/chunks/{shell-df6av868.js → models-dev-jq3943v9.js} +7 -7
- package/dist/chunks/{shell-mttz8j9s.js → models-dev-jq5e7nes.js} +11 -11
- package/dist/chunks/{shell-ks02k8er.js → models-dev-k19akd89.js} +8 -8
- package/dist/chunks/{shell-mvd5p9bb.js → models-dev-k34nj8c9.js} +13 -13
- package/dist/chunks/{shell-s4vt6k96.js → models-dev-k43nyay6.js} +13 -13
- package/dist/chunks/{shell-ff1pt9vp.js → models-dev-k8e7ekdf.js} +4 -4
- package/dist/chunks/{shell-67jmpk4a.js → models-dev-k9rphyjs.js} +3 -3
- package/dist/chunks/{shell-kf6psgf8.js → models-dev-knrxc9g3.js} +14 -14
- package/dist/chunks/{shell-p92dhjvd.js → models-dev-kz8r75e4.js} +24 -24
- package/dist/chunks/{shell-vbfgae2j.js → models-dev-kzc3h1h3.js} +4 -4
- package/dist/chunks/{shell-r6wk3e1b.js → models-dev-m069vd74.js} +9 -9
- package/dist/chunks/{shell-2468dt4m.js → models-dev-m1xtt4y5.js} +11 -11
- package/dist/chunks/{shell-fw7y5174.js → models-dev-m96k3bkt.js} +16 -16
- package/dist/chunks/{shell-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-mt35knet.js → models-dev-mhj1gmv2.js} +10 -10
- package/dist/chunks/{shell-az60rtqd.js → models-dev-mkezy99k.js} +3 -3
- package/dist/chunks/{shell-c4c13zy6.js → models-dev-mqr0et5e.js} +13 -13
- package/dist/chunks/{shell-cpj79xmq.js → models-dev-mt0x4r8y.js} +19 -19
- package/dist/chunks/{shell-ss358qx3.js → models-dev-mtpeagzc.js} +3 -3
- package/dist/chunks/{shell-ktk04ca5.js → models-dev-mv5c0h3x.js} +6 -6
- package/dist/chunks/{shell-93jjqfz5.js → models-dev-mw7nwdkh.js} +6 -6
- package/dist/chunks/{shell-sw70p10z.js → models-dev-n01hsn3w.js} +43 -43
- package/dist/chunks/{shell-11kenztd.js → models-dev-n7c9kffx.js} +21 -21
- package/dist/chunks/{shell-rzj4ym1h.js → models-dev-n9m213t7.js} +9 -9
- package/dist/chunks/{shell-pwmg338d.js → models-dev-neksqwq6.js} +2 -2
- package/dist/chunks/{shell-181x02k0.js → models-dev-nfy0j2qk.js} +29 -29
- package/dist/chunks/{shell-e80seqcp.js → models-dev-nma959mg.js} +3 -3
- package/dist/chunks/{shell-g6r2vvv3.js → models-dev-nnjnsc1s.js} +13 -13
- package/dist/chunks/{shell-xb9ncd0s.js → models-dev-nppymsqd.js} +10 -10
- package/dist/chunks/{shell-28cbs3s9.js → models-dev-nw3bkfwn.js} +22 -22
- package/dist/chunks/{shell-1s00cqm4.js → models-dev-nywrw2rv.js} +21 -21
- package/dist/chunks/{shell-82bdeemj.js → models-dev-p2sw0m36.js} +46 -46
- package/dist/chunks/{shell-tpkp3zjz.js → models-dev-p871771t.js} +14 -14
- package/dist/chunks/{shell-pnxzm4kn.js → models-dev-p99txfpw.js} +30 -29
- package/dist/chunks/{shell-phfrfwqb.js → models-dev-paaty2hy.js} +14 -14
- package/dist/chunks/{shell-qmpmkqxw.js → models-dev-pavee1b2.js} +30 -30
- package/dist/chunks/{shell-f8rnhecd.js → models-dev-pb231g4a.js} +11 -11
- package/dist/chunks/{shell-gp9jqd59.js → models-dev-pck7vvdx.js} +6 -6
- package/dist/chunks/{shell-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → models-dev-pknna89w.js} +1 -1
- package/dist/chunks/{shell-k03emvff.js → models-dev-pxqeypnt.js} +3 -3
- package/dist/chunks/{shell-jdz4qjxc.js → models-dev-pyg4v0b6.js} +4 -4
- package/dist/chunks/{shell-q0xm7vwc.js → models-dev-q0xm7vwc.js} +2 -2
- package/dist/chunks/{shell-rates9x1.js → models-dev-q297xgrc.js} +11 -11
- package/dist/chunks/{shell-q5e7cmwt.js → models-dev-q5e7cmwt.js} +1 -1
- package/dist/chunks/{shell-rpb33kad.js → models-dev-q8k64wqz.js} +11 -11
- package/dist/chunks/{shell-vbskb40y.js → models-dev-qe05a2bz.js} +15 -15
- package/dist/chunks/{shell-58hng72m.js → models-dev-qf76qvkk.js} +5 -5
- package/dist/chunks/{shell-mqzwkyay.js → models-dev-qf9g6tp9.js} +8 -8
- package/dist/chunks/{shell-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
- package/dist/chunks/{shell-rfxw09g8.js → models-dev-qrsmaxpv.js} +11 -11
- package/dist/chunks/{shell-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-e3hb41re.js → models-dev-qsjdw6zx.js} +9 -9
- package/dist/chunks/{shell-1yafhzvh.js → models-dev-qwvs60pp.js} +18 -18
- package/dist/chunks/{shell-r94pvvab.js → models-dev-r94pvvab.js} +1 -1
- package/dist/chunks/{shell-k0sn68eq.js → models-dev-rcjkxq8e.js} +24 -24
- package/dist/chunks/{shell-qtkjtvs8.js → models-dev-rdq446ee.js} +33 -33
- package/dist/chunks/{shell-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-5f4jfw0a.js → models-dev-rhcjcads.js} +11 -11
- package/dist/chunks/{shell-qt9fyfar.js → models-dev-rm8qkk51.js} +81 -81
- package/dist/chunks/{shell-0ktwtxn5.js → models-dev-rq8mp9zh.js} +27 -27
- package/dist/chunks/{shell-f6x208qp.js → models-dev-rt393x0g.js} +28 -28
- package/dist/chunks/{shell-hyay7qq8.js → models-dev-rt3hmfjg.js} +5 -5
- package/dist/chunks/{shell-fnf0t1mw.js → models-dev-ryhdpedp.js} +4 -4
- package/dist/chunks/{shell-gz22y1bs.js → models-dev-rz81a41x.js} +32 -32
- package/dist/chunks/{shell-mqqhst8y.js → models-dev-s2z0d44b.js} +4 -4
- package/dist/chunks/{shell-s208y4th.js → models-dev-s7w1n9db.js} +26 -26
- package/dist/chunks/{shell-ts860kc8.js → models-dev-sds13m34.js} +12 -12
- package/dist/chunks/{shell-svtyq4ac.js → models-dev-sek363pm.js} +23 -23
- package/dist/chunks/{shell-ktbyzt1t.js → models-dev-skz3ykf8.js} +68 -68
- package/dist/chunks/{shell-sbfx8qse.js → models-dev-sr10jt0g.js} +13 -13
- package/dist/chunks/{shell-svcw9x3w.js → models-dev-svcw9x3w.js} +5 -5
- package/dist/chunks/{shell-faz53sv5.js → models-dev-sxxv73z5.js} +1 -1
- package/dist/chunks/{shell-syv4x271.js → models-dev-syv4x271.js} +1 -1
- package/dist/chunks/{shell-g3mtxeza.js → models-dev-t2svpsp8.js} +27 -27
- package/dist/chunks/{shell-c2whqjrb.js → models-dev-t5qdg2d6.js} +44 -44
- package/dist/chunks/{shell-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → models-dev-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-tdstcens.js → models-dev-tdstcens.js} +1 -1
- package/dist/chunks/{shell-tkb22qbm.js → models-dev-tkb22qbm.js} +2 -2
- package/dist/chunks/{shell-tm0kqsz3.js → models-dev-tm0kqsz3.js} +1 -1
- package/dist/chunks/{shell-xdy68qwd.js → models-dev-tpg3rrhy.js} +18 -18
- package/dist/chunks/{shell-zm45khrf.js → models-dev-tvdyt1f2.js} +13 -13
- package/dist/chunks/{shell-2ktf0ed2.js → models-dev-tx9w5tca.js} +8 -8
- package/dist/chunks/{shell-tyytaxap.js → models-dev-tyytaxap.js} +1 -1
- package/dist/chunks/{shell-v0es1rhs.js → models-dev-v0es1rhs.js} +2 -2
- package/dist/chunks/{shell-r70na3yp.js → models-dev-v1vh7s4p.js} +9 -9
- package/dist/chunks/{shell-v7p4zvkq.js → models-dev-v7p4zvkq.js} +2 -2
- package/dist/chunks/{shell-wpe961ww.js → models-dev-v897zbhh.js} +10 -10
- package/dist/chunks/{shell-zvzcnbnd.js → models-dev-v8w8krek.js} +10 -10
- package/dist/chunks/{shell-1sj6n9gw.js → models-dev-vapve5e1.js} +28 -28
- package/dist/chunks/{shell-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-h9pnpq88.js → models-dev-vfjhn2wd.js} +4 -4
- package/dist/chunks/{shell-tbt8nw36.js → models-dev-vmcw6w9a.js} +19 -19
- package/dist/chunks/{shell-9e7yf4tn.js → models-dev-vy569zcr.js} +15 -15
- package/dist/chunks/{shell-zad8d2d9.js → models-dev-vzrjrdpg.js} +17 -17
- package/dist/chunks/{shell-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
- package/dist/chunks/{shell-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → models-dev-wd87259q.js} +1 -1
- package/dist/chunks/{shell-0gkn8nvr.js → models-dev-x084de2t.js} +9 -9
- package/dist/chunks/{shell-wr1923h8.js → models-dev-x19bay7e.js} +31 -31
- package/dist/chunks/{shell-33vqne08.js → models-dev-x3bxg7jp.js} +28 -28
- package/dist/chunks/{shell-eq7gpfag.js → models-dev-x7fmrxm4.js} +41 -41
- package/dist/chunks/{shell-b07bdj3t.js → models-dev-x9kv5ets.js} +6 -6
- package/dist/chunks/{shell-zv6d9m0q.js → models-dev-xapca0z6.js} +8 -8
- package/dist/chunks/{shell-7gy4tvah.js → models-dev-xcmk6yw7.js} +11 -11
- package/dist/chunks/{shell-drwq78ky.js → models-dev-xfkkasph.js} +4 -4
- package/dist/chunks/{shell-epmd2pwp.js → models-dev-xjm3547e.js} +5 -5
- package/dist/chunks/{shell-w3nh5stq.js → models-dev-xpkv9yx2.js} +320 -320
- package/dist/chunks/{shell-pv9sm355.js → models-dev-xqytcf95.js} +1 -1
- package/dist/chunks/{shell-byxe4xe3.js → models-dev-xrmxwe4z.js} +22 -22
- package/dist/chunks/{shell-xmx6k93b.js → models-dev-xskeg1my.js} +3 -3
- package/dist/chunks/{shell-kx7rze29.js → models-dev-xtst01x3.js} +2 -2
- package/dist/chunks/{shell-h6645hhn.js → models-dev-xxqyc97q.js} +14 -14
- package/dist/chunks/{shell-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-qsz061kc.js → models-dev-y37ep2y1.js} +4 -4
- package/dist/chunks/{shell-y71avatq.js → models-dev-y71avatq.js} +1 -1
- package/dist/chunks/{shell-rpzx8dkj.js → models-dev-y8ywfhz0.js} +31 -31
- package/dist/chunks/{shell-zw1fbe70.js → models-dev-yas3qt8d.js} +11 -11
- package/dist/chunks/{shell-r8797p99.js → models-dev-ydd0n9pq.js} +2 -2
- package/dist/chunks/{shell-47jkzegy.js → models-dev-ygdna4kr.js} +5 -5
- package/dist/chunks/{shell-f2n192rq.js → models-dev-yp2x3t23.js} +4 -4
- package/dist/chunks/{shell-dsdpa88b.js → models-dev-yqbtp4nn.js} +24 -24
- package/dist/chunks/{shell-9sz12wvq.js → models-dev-ytpyksxf.js} +33 -33
- package/dist/chunks/{shell-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-bqwra9sc.js → models-dev-z5frhjvt.js} +65 -65
- package/dist/chunks/{shell-3h23vtn4.js → models-dev-zbt6nn6v.js} +8 -8
- package/dist/chunks/{shell-xeajrh0t.js → models-dev-zm51nxtb.js} +14 -14
- package/dist/chunks/{shell-y0mc46pw.js → models-dev-zn5v3n4q.js} +9 -9
- package/dist/chunks/{shell-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-jp4zc2gb.js → models-dev-zxjahm5e.js} +17 -17
- package/dist/chunks/{shell-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +101 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/agent.d.ts +1 -0
- package/dist/types/image/photon.d.ts +2 -2
- package/dist/types/model.d.ts +4 -0
- package/dist/types/plugin/provider/chatgpt.d.ts +2 -1
- package/dist/types/plugin/provider/openai.d.ts +2 -1
- package/dist/types/provider.d.ts +6 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/shell-gk3sxse2.js +0 -26
- package/dist/chunks/shell-rap9a73h.js +0 -18
- package/dist/chunks/shell-t2gkmt3j.js +0 -253
- /package/dist/chunks/{shell-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → models-dev-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → models-dev-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → models-dev-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5qd3pb7m.js → models-dev-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → models-dev-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → models-dev-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → models-dev-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → models-dev-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-bw78ga2c.js → models-dev-bw78ga2c.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → models-dev-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → models-dev-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → models-dev-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → models-dev-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → models-dev-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → models-dev-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → models-dev-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-pkyv6v7h.js → models-dev-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{shell-pyv0edze.js → models-dev-pyv0edze.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → models-dev-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → models-dev-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-0q0wg4xp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./models-dev-6943eppc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service15,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./models-dev-sr10jt0g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./models-dev-ggw4qjdj.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service75
|
|
17
|
+
} from "./models-dev-d2wg8ycw.js";
|
|
18
18
|
import {
|
|
19
19
|
Service16,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./models-dev-cg1v189h.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./models-dev-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input7,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin9,
|
|
36
|
+
name: () => name7
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name7 = "edit";
|
|
43
|
+
var Input7 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input12 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin9 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
196
|
const access = yield* Service16;
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
197
|
+
const fileMutation = yield* Service15;
|
|
198
|
+
const environment = yield* Service47;
|
|
199
|
+
const formatter = yield* Service14;
|
|
200
200
|
const location = yield* Service81;
|
|
201
|
-
const permission = yield*
|
|
201
|
+
const permission = yield* Service75;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name7,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input7,
|
|
207
|
+
output: Output5,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin49 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name7, Input7, Output5, Plugin9, exports_edit };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service45,
|
|
3
|
+
node47
|
|
4
|
+
} from "./models-dev-9cmzbzxt.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./models-dev-0q0wg4xp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service44,
|
|
11
|
+
node46
|
|
12
|
+
} from "./models-dev-3rw41r48.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./models-dev-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service6,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer6,
|
|
28
|
+
node: () => node7
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service6 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service44;
|
|
40
|
+
const watcher = yield* Service45;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service81;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service6.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node7 = makeLocationNode({
|
|
74
|
+
service: Service6,
|
|
75
|
+
layer: layer6,
|
|
76
|
+
deps: [node46, FSUtil.node, node47, node85]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service6,
|
|
80
|
+
layer: Layer.succeed(Service6, Service6.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service6, layer6, node7, empty2, exports_source };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-82y99j0b.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./models-dev-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./models-dev-db2wf4at.js";
|
|
12
12
|
import {
|
|
13
13
|
ID10,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
14
|
+
Service70,
|
|
15
|
+
node74,
|
|
16
|
+
Event16
|
|
17
|
+
} from "./models-dev-698b69sb.js";
|
|
18
18
|
import {
|
|
19
19
|
Service81,
|
|
20
20
|
node85
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./models-dev-0q0wg4xp.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -38,23 +38,24 @@ __export(exports_provider3, {
|
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
41
|
-
Event: () =>
|
|
41
|
+
Event: () => Event15,
|
|
42
42
|
ID: () => ID9,
|
|
43
|
-
Info: () =>
|
|
43
|
+
Info: () => Info18,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
46
|
Request: () => Request2,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service69,
|
|
48
48
|
Settings: () => Settings2,
|
|
49
49
|
Transport: () => Transport2,
|
|
50
50
|
aisdk: () => aisdk2,
|
|
51
|
+
encoding: () => encoding2,
|
|
51
52
|
isAISDK: () => isAISDK2,
|
|
52
53
|
loadPackage: () => loadPackage2,
|
|
53
54
|
mergeHeaders: () => mergeHeaders2,
|
|
54
55
|
mergeOverlay: () => mergeOverlay2,
|
|
55
56
|
modelSettings: () => modelSettings2,
|
|
56
57
|
nativeSettings: () => nativeSettings2,
|
|
57
|
-
node: () =>
|
|
58
|
+
node: () => node73,
|
|
58
59
|
packageName: () => packageName2,
|
|
59
60
|
timeout: () => timeout2,
|
|
60
61
|
timeouts: () => timeouts2
|
|
@@ -68,7 +69,7 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
68
69
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
69
70
|
import { Credential } from "@opencode/schema/credential";
|
|
70
71
|
import { freeze } from "immer";
|
|
71
|
-
import { Event as
|
|
72
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
72
73
|
var ID9 = Provider.ID;
|
|
73
74
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
75
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -197,7 +198,7 @@ var loadPackage2 = Effect.fn("Provider.loadPackage")(function* (input, npm) {
|
|
|
197
198
|
});
|
|
198
199
|
return yield* importPackage(specifier, entrypoint);
|
|
199
200
|
});
|
|
200
|
-
var CORE_KEYS = ["chunkTimeout", "compaction", "fetch", "headerTimeout", "timeout", "transport"];
|
|
201
|
+
var CORE_KEYS = ["chunkTimeout", "compaction", "encoding", "fetch", "headerTimeout", "timeout", "transport"];
|
|
201
202
|
var PROVIDER_ONLY_KEYS = ["chunkTimeout", "headerTimeout", "timeout", "transport"];
|
|
202
203
|
function nativeSettings2(settings) {
|
|
203
204
|
return Struct.omit(settings, CORE_KEYS);
|
|
@@ -217,6 +218,10 @@ function timeouts2(settings) {
|
|
|
217
218
|
chunkTimeout: timeout2(settings.chunkTimeout) ?? DEFAULT_TIMEOUT_MS3
|
|
218
219
|
};
|
|
219
220
|
}
|
|
221
|
+
var decodeEncoding = Schema.decodeUnknownOption(Provider.Encoding);
|
|
222
|
+
function encoding2(settings) {
|
|
223
|
+
return Option.getOrUndefined(decodeEncoding(settings.encoding));
|
|
224
|
+
}
|
|
220
225
|
function mergeOverlay2(base, overlay) {
|
|
221
226
|
if (base === undefined)
|
|
222
227
|
return overlay && decodeJsonRecord({ ...overlay });
|
|
@@ -246,9 +251,9 @@ var Request2 = Provider.Request;
|
|
|
246
251
|
var Compaction3 = Provider.Compaction;
|
|
247
252
|
var Transport2 = Provider.Transport;
|
|
248
253
|
var Settings2 = Provider.Settings;
|
|
249
|
-
var
|
|
254
|
+
var Info18 = Provider.Info;
|
|
250
255
|
|
|
251
|
-
class
|
|
256
|
+
class Service69 extends Context.Service()("@opencode/Provider") {
|
|
252
257
|
}
|
|
253
258
|
var definitions = new WeakMap;
|
|
254
259
|
function index(providerID, models) {
|
|
@@ -261,9 +266,9 @@ function index(providerID, models) {
|
|
|
261
266
|
definitions.set(models, indexes);
|
|
262
267
|
return result;
|
|
263
268
|
}
|
|
264
|
-
var layer = Layer.effect(
|
|
269
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
265
270
|
const bus = yield* Service84;
|
|
266
|
-
const integrations = yield*
|
|
271
|
+
const integrations = yield* Service70;
|
|
267
272
|
const location = yield* Service81;
|
|
268
273
|
const state = create3({
|
|
269
274
|
name: "provider",
|
|
@@ -275,7 +280,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
275
280
|
const current = records.get(id);
|
|
276
281
|
if (current)
|
|
277
282
|
return current;
|
|
278
|
-
const added = { provider:
|
|
283
|
+
const added = { provider: Info18.empty(id), models: new Map };
|
|
279
284
|
records.set(id, added);
|
|
280
285
|
maps.add(added.models);
|
|
281
286
|
return added;
|
|
@@ -382,8 +387,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
382
387
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
383
388
|
});
|
|
384
389
|
});
|
|
385
|
-
yield* bus.subscribe([
|
|
386
|
-
return
|
|
390
|
+
yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
391
|
+
return Service69.of({
|
|
387
392
|
transform: state.transform,
|
|
388
393
|
reload: state.reload,
|
|
389
394
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -392,7 +397,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
392
397
|
snapshot
|
|
393
398
|
});
|
|
394
399
|
}));
|
|
395
|
-
var
|
|
400
|
+
var node73 = makeLocationNode({ service: Service69, layer, deps: [node88, node74, node85] });
|
|
396
401
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
397
402
|
const module = yield* Effect.tryPromise({
|
|
398
403
|
try: () => {
|
|
@@ -670,4 +675,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
670
675
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
671
676
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
672
677
|
|
|
673
|
-
export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2,
|
|
678
|
+
export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info18, Service69, node73, exports_provider3, Event15 };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./models-dev-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./models-dev-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
13
|
Service81
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./models-dev-0q0wg4xp.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./models-dev-9wrrb0yb.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin22,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,7 +33,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin22 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
39
|
const location = yield* Service81;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin22, exports_git };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-e3w9vdzz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./models-dev-3ppptnan.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-dxj72tfx.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-f29mbr7f.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-zbt6nn6v.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-nfy0j2qk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service25
|
|
21
|
+
} from "./models-dev-skz3ykf8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service40;
|
|
36
36
|
const database = yield* Service85;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service25;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-82y99j0b.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event19,
|
|
18
18
|
ID: () => ID15,
|
|
19
19
|
Info: () => Info25,
|
|
20
20
|
Name: () => Name3,
|
|
@@ -25,7 +25,7 @@ __export(exports_agent4, {
|
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
28
|
+
import { Event as Event19 } from "@opencode/schema/agent";
|
|
29
29
|
var ID15 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
31
|
var defaultID2 = ID15.make("build");
|
|
@@ -103,4 +103,4 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
103
103
|
}));
|
|
104
104
|
var node83 = makeLocationNode({ service: Service79, layer, deps: [node88] });
|
|
105
105
|
|
|
106
|
-
export { ID15, Name3, defaultID2, Color2, Info25, Service79, node83, exports_agent4,
|
|
106
|
+
export { ID15, Name3, defaultID2, Color2, Info25, Service79, node83, exports_agent4, Event19 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-e3w9vdzz.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-82y99j0b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./models-dev-3ppptnan.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
14
|
ID5,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./models-dev-xxqyc97q.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./models-dev-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./models-dev-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./models-dev-19ezngz8.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./models-dev-es1vcfrp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,11 +41,11 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service40;
|
|
45
45
|
const database = yield* Service85;
|
|
46
46
|
const bus = yield* Service84;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
48
|
+
const snapshot = yield* Service50;
|
|
49
49
|
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
@@ -73,10 +73,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
76
|
+
const instances = yield* Service40;
|
|
77
77
|
const bus = yield* Service84;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service50;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
82
|
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./models-dev-9cmzbzxt.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service56
|
|
13
|
+
} from "./models-dev-xrmxwe4z.js";
|
|
14
14
|
import {
|
|
15
15
|
Service81
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./models-dev-0q0wg4xp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin33
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { sameDirectory } from "@opencode/util/path";
|
|
31
31
|
import { dirname, join } from "path";
|
|
32
32
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin33 = define({
|
|
34
34
|
id: "opencode.config.instruction",
|
|
35
35
|
effect: Effect.fn(function* () {
|
|
36
|
-
const discovery = yield*
|
|
36
|
+
const discovery = yield* Service56;
|
|
37
37
|
if (!discovery.project && !discovery.global)
|
|
38
38
|
return;
|
|
39
39
|
yield* Effect.gen(function* () {
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const location = yield* Service81;
|
|
43
|
-
const watcher = yield*
|
|
43
|
+
const watcher = yield* Service45;
|
|
44
44
|
const changes = yield* PubSub.sliding(1);
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
|
|
|
115
115
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { Plugin33, exports_instruction };
|