@opencode/core 0.0.0-dev-20313 → 0.0.0-dev-20314
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{mime-qp3v07n2.js → worktree-05xfxpq7.js} +8 -8
- package/dist/chunks/{mime-az86rdes.js → worktree-07ka27pw.js} +46 -46
- package/dist/chunks/{mime-3hztvsm2.js → worktree-0b08qf3v.js} +8 -8
- package/dist/chunks/{mime-51f5btjf.js → worktree-0jkw1j53.js} +6 -6
- package/dist/chunks/{mime-hqhv7mdc.js → worktree-0k65zfrv.js} +93 -93
- package/dist/chunks/{mime-y1k316x7.js → worktree-0nc4skqk.js} +9 -9
- package/dist/chunks/{mime-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-6ewc431y.js → worktree-0qy4awsn.js} +28 -28
- package/dist/chunks/{mime-0bvxv887.js → worktree-0xxe8pk9.js} +1 -1
- package/dist/chunks/{mime-cqw6cdvp.js → worktree-0z5kb6hf.js} +3 -3
- package/dist/chunks/{mime-s5te2snc.js → worktree-0zz42z4j.js} +14 -14
- package/dist/chunks/{mime-6hjx5zpb.js → worktree-11dqjexa.js} +9 -9
- package/dist/chunks/{mime-f2n192rq.js → worktree-1acjjqhc.js} +4 -4
- package/dist/chunks/{mime-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-7cjd7khd.js → worktree-1fm7vbk4.js} +12 -12
- package/dist/chunks/{mime-e116eqmm.js → worktree-1sejb65e.js} +15 -15
- package/dist/chunks/{mime-1ygqh575.js → worktree-1ygqh575.js} +2 -2
- package/dist/chunks/{mime-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{mime-86qzxe6p.js → worktree-277eer69.js} +4 -4
- package/dist/chunks/{mime-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-7dqw4kz8.js → worktree-2k8khapm.js} +5 -5
- package/dist/chunks/{mime-hqtdpqr0.js → worktree-2kba3xe6.js} +32 -32
- package/dist/chunks/{mime-zjbet8sc.js → worktree-2mxwjfq3.js} +33 -33
- package/dist/chunks/{mime-kt3jj51e.js → worktree-2v3kr2zz.js} +42 -42
- package/dist/chunks/{mime-33yj27jx.js → worktree-2wfhz1m8.js} +23 -23
- package/dist/chunks/{mime-xp9r2800.js → worktree-2wmsjg7e.js} +12 -12
- package/dist/chunks/{mime-bhanz19k.js → worktree-2x11xqq5.js} +25 -25
- package/dist/chunks/{mime-ke0z872r.js → worktree-34nypsh0.js} +9 -9
- package/dist/chunks/{mime-3wtwcac4.js → worktree-34q1q4g3.js} +4 -4
- package/dist/chunks/{mime-n8wmwqh5.js → worktree-37xnkr9x.js} +42 -42
- package/dist/chunks/{mime-hdt5jza4.js → worktree-3ebwcaah.js} +44 -44
- package/dist/chunks/{mime-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-a2ha056e.js → worktree-3grjp0nz.js} +12 -12
- package/dist/chunks/{mime-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-ncy5rznb.js → worktree-3kxsbfdd.js} +27 -27
- package/dist/chunks/{mime-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-y4x01mr9.js → worktree-3zm2m16b.js} +20 -20
- package/dist/chunks/{mime-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-eadwe8aa.js → worktree-4857ee0e.js} +60 -60
- package/dist/chunks/{mime-s5met55r.js → worktree-4a0nv7mx.js} +8 -8
- package/dist/chunks/{mime-1rn5pcm9.js → worktree-4j4tgtq5.js} +4 -4
- package/dist/chunks/{mime-cmbqfntm.js → worktree-4jv7e9dq.js} +7 -7
- package/dist/chunks/{mime-25r1eecn.js → worktree-4tg3mvfj.js} +33 -33
- package/dist/chunks/{mime-taefpmye.js → worktree-4wj5hqyp.js} +13 -13
- package/dist/chunks/{mime-nsarsp7q.js → worktree-4yvz2rcy.js} +12 -12
- package/dist/chunks/{mime-9cydgjz5.js → worktree-50fh3k1w.js} +13 -13
- package/dist/chunks/{mime-54ma36ye.js → worktree-54ma36ye.js} +1 -1
- package/dist/chunks/{mime-afn4sy7g.js → worktree-59fdznsn.js} +15 -15
- package/dist/chunks/{mime-x0fde1xx.js → worktree-5cbjsbf2.js} +7 -7
- package/dist/chunks/{mime-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-e1q5cwtm.js → worktree-5e7ha89d.js} +15 -15
- package/dist/chunks/{mime-t170e6wz.js → worktree-5g59cdd4.js} +48 -48
- package/dist/chunks/{mime-t5tdm947.js → worktree-5j6r72e5.js} +1 -1
- package/dist/chunks/{mime-qw01w2d3.js → worktree-5m5pvpe6.js} +14 -14
- package/dist/chunks/{mime-e3qxr5gk.js → worktree-5qd3pb7m.js} +2 -2
- package/dist/chunks/{mime-cm6rspm4.js → worktree-5qpsy98w.js} +24 -24
- package/dist/chunks/{mime-z8zck0ks.js → worktree-5rpzdny6.js} +25 -25
- package/dist/chunks/{mime-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-pc3cky8g.js → worktree-5xn2kdjj.js} +66 -66
- package/dist/chunks/{mime-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{mime-p814zz9p.js → worktree-6apn3h4b.js} +6 -6
- package/dist/chunks/{mime-rpbregqt.js → worktree-6gtt5snn.js} +35 -35
- package/dist/chunks/{mime-bvdzy3b6.js → worktree-6gx3r2kv.js} +14 -14
- package/dist/chunks/{mime-z1qevpew.js → worktree-6hzy2d5p.js} +43 -43
- package/dist/chunks/{mime-ysqck8dm.js → worktree-6jn9sxf3.js} +29 -29
- package/dist/chunks/{mime-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-81erp61x.js → worktree-6r564qq4.js} +6 -6
- package/dist/chunks/{mime-49kffmcb.js → worktree-6rebv3cw.js} +1 -1
- package/dist/chunks/{mime-mdp9rdzc.js → worktree-6xk05h7s.js} +6 -6
- package/dist/chunks/{mime-rtybzfcq.js → worktree-7627eybd.js} +15 -15
- package/dist/chunks/{mime-2rz6ncje.js → worktree-77vpx1b6.js} +15 -15
- package/dist/chunks/{mime-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-je313m2p.js → worktree-7f76ypb7.js} +13 -13
- package/dist/chunks/{mime-bvf0wdyb.js → worktree-7f7t51gq.js} +11 -11
- package/dist/chunks/{mime-mwgye60v.js → worktree-7fp3pbdt.js} +28 -28
- package/dist/chunks/{mime-bta0ybxm.js → worktree-7qann507.js} +51 -51
- package/dist/chunks/{mime-b99aam1h.js → worktree-7sgyf0xz.js} +6 -6
- package/dist/chunks/{mime-gbvzckwb.js → worktree-7twg7rgh.js} +17 -17
- package/dist/chunks/{mime-qth74v4j.js → worktree-818pfwc9.js} +11 -11
- package/dist/chunks/{mime-zt2wxgys.js → worktree-83xp5e3e.js} +2 -2
- package/dist/chunks/{mime-84txncab.js → worktree-84txncab.js} +1 -1
- package/dist/chunks/{mime-h4n2wkkq.js → worktree-87temrgz.js} +11 -11
- package/dist/chunks/{mime-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-hherkmhx.js → worktree-8edxm6pr.js} +10 -10
- package/dist/chunks/{mime-gqtcfxzj.js → worktree-8gh9vszs.js} +27 -27
- package/dist/chunks/{mime-m91gvp7t.js → worktree-8hbfdwcy.js} +8 -8
- package/dist/chunks/{mime-cb8sty85.js → worktree-8s0ze3zt.js} +12 -12
- package/dist/chunks/{mime-jbh3j8a1.js → worktree-92dk74jt.js} +11 -11
- package/dist/chunks/{mime-5wnsdnvg.js → worktree-93fchcwg.js} +24 -24
- package/dist/chunks/{mime-gfvb90ym.js → worktree-94ek1h2f.js} +2 -2
- package/dist/chunks/{mime-b7v4cx43.js → worktree-9b00c1fb.js} +5 -5
- package/dist/chunks/{mime-9hn6k4tm.js → worktree-9hn6k4tm.js} +1 -1
- package/dist/chunks/{mime-p3nnj4yz.js → worktree-9n87anw0.js} +5 -5
- package/dist/chunks/{mime-yeh8gxdw.js → worktree-9x0b5x9j.js} +14 -14
- package/dist/chunks/{mime-p66qjhtx.js → worktree-a43gst0m.js} +3 -3
- package/dist/chunks/{mime-wcabeap5.js → worktree-a4e1tewd.js} +2 -2
- package/dist/chunks/{mime-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-t6nez1qb.js → worktree-abrjz9qv.js} +18 -18
- package/dist/chunks/{mime-vqj3azhn.js → worktree-adbp0bjj.js} +8 -8
- package/dist/chunks/{mime-j8afcsyc.js → worktree-afjydgk3.js} +4 -4
- package/dist/chunks/{mime-d81htm9m.js → worktree-aj9wrhbp.js} +9 -9
- package/dist/chunks/{mime-3rxzsgqg.js → worktree-akpb58q4.js} +18 -18
- package/dist/chunks/{mime-39w1asnb.js → worktree-ap2tpm1x.js} +24 -24
- package/dist/chunks/{mime-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-736kjmv5.js → worktree-b92gs9tv.js} +24 -24
- package/dist/chunks/{mime-jvf3yq6v.js → worktree-baaqp4zd.js} +4 -4
- package/dist/chunks/{mime-h00dcv9k.js → worktree-bb5562zs.js} +26 -26
- package/dist/chunks/{mime-wa1ngtd6.js → worktree-bpa6zfs4.js} +85 -85
- package/dist/chunks/{mime-9yzhjbqe.js → worktree-brpj3swx.js} +32 -32
- package/dist/chunks/{mime-15vfys0s.js → worktree-c3nyckct.js} +22 -22
- package/dist/chunks/{mime-x2qdxhwm.js → worktree-c66ced72.js} +8 -8
- package/dist/chunks/{mime-59yhj8jd.js → worktree-cac6dn0k.js} +8 -8
- package/dist/chunks/{mime-54tcyq79.js → worktree-ckecvw8r.js} +2 -2
- package/dist/chunks/{mime-57ez7d0k.js → worktree-dc6tzc5b.js} +9 -9
- package/dist/chunks/{mime-h4cy7b1p.js → worktree-de6phzbx.js} +9 -9
- package/dist/chunks/{mime-jdkhxpw2.js → worktree-df33jmy2.js} +22 -22
- package/dist/chunks/worktree-dfjfj6f0.js +252 -0
- package/dist/chunks/{mime-qmqgtz8f.js → worktree-djszqvmq.js} +9 -9
- package/dist/chunks/{mime-cvh273xa.js → worktree-dkq1mqd6.js} +4 -4
- package/dist/chunks/{mime-mpk0rfs5.js → worktree-dnxkq42g.js} +4 -4
- package/dist/chunks/{mime-y71avatq.js → worktree-dpkg50ah.js} +4 -4
- package/dist/chunks/{mime-t3qfjyhq.js → worktree-dqanwn8q.js} +28 -28
- package/dist/chunks/{mime-fpv42apm.js → worktree-e7f86dzg.js} +12 -12
- package/dist/chunks/{mime-c002sfge.js → worktree-ebpkp5tm.js} +1 -1
- package/dist/chunks/{mime-ecfe7b91.js → worktree-ecfe7b91.js} +2 -2
- package/dist/chunks/{mime-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-2f0bjgcj.js → worktree-evbgk2k8.js} +5 -5
- package/dist/chunks/{mime-neryd8wx.js → worktree-eycgq67k.js} +39 -39
- package/dist/chunks/{mime-bxjhmhmp.js → worktree-f40tx9v5.js} +7 -7
- package/dist/chunks/{mime-tz73gj91.js → worktree-f8hpcc62.js} +23 -23
- package/dist/chunks/{mime-5kvhtkw7.js → worktree-fa575c2x.js} +20 -20
- package/dist/chunks/{mime-f62qkzqr.js → worktree-fhz5gfgy.js} +5 -5
- package/dist/chunks/{mime-g7zv24b4.js → worktree-fk0r5cwe.js} +12 -12
- package/dist/chunks/{mime-yxeskf5d.js → worktree-fnz0r7q7.js} +11 -11
- package/dist/chunks/{mime-1n5b1bg9.js → worktree-fr5646w7.js} +43 -43
- package/dist/chunks/{mime-vx2jjxyh.js → worktree-fy02dvg1.js} +24 -24
- package/dist/chunks/{mime-gc0nryjc.js → worktree-fyq3qmbb.js} +4 -4
- package/dist/chunks/{mime-6m42r3np.js → worktree-g190xswt.js} +21 -21
- package/dist/chunks/{mime-d4d8f9t0.js → worktree-g36vf30t.js} +13 -13
- package/dist/chunks/{mime-v3r5gag3.js → worktree-g3bz5gs9.js} +19 -19
- package/dist/chunks/{mime-g54tr09m.js → worktree-g8rmq192.js} +14 -14
- package/dist/chunks/{mime-j6vmfb80.js → worktree-garp4qw6.js} +2 -2
- package/dist/chunks/{mime-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-g1g60kvh.js → worktree-gfzbkctm.js} +21 -21
- package/dist/chunks/{mime-b0ajbprs.js → worktree-ghxjqect.js} +10 -10
- package/dist/chunks/{mime-gkv7xnqh.js → worktree-gm0g7gcc.js} +16 -16
- package/dist/chunks/{mime-6m3a2mps.js → worktree-gm1x238t.js} +8 -8
- package/dist/chunks/{mime-99yfe0r7.js → worktree-gsaq8s04.js} +25 -25
- package/dist/chunks/{mime-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{mime-zgc7xacd.js → worktree-gyccd9n7.js} +28 -28
- package/dist/chunks/{mime-8x2m4zyf.js → worktree-h316dbp4.js} +11 -11
- package/dist/chunks/{mime-xsgk3b13.js → worktree-h5m7e0fe.js} +9 -9
- package/dist/chunks/{mime-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-vawx05v8.js → worktree-hanh6chz.js} +10 -10
- package/dist/chunks/{mime-cy8kf7y4.js → worktree-hcvxcehv.js} +16 -16
- package/dist/chunks/{mime-xp3fh2h7.js → worktree-hd8vw2pw.js} +1 -1
- package/dist/chunks/{mime-4p4vsbmn.js → worktree-herfy2z0.js} +13 -13
- package/dist/chunks/{mime-vxfgb42n.js → worktree-hkarc3f0.js} +9 -9
- package/dist/chunks/{mime-h88a23a4.js → worktree-htbmzt7n.js} +14 -14
- package/dist/chunks/{mime-seewk876.js → worktree-hy20qw0x.js} +11 -11
- package/dist/chunks/{mime-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-qxcyne2s.js → worktree-jp5y0tg6.js} +12 -12
- package/dist/chunks/{mime-v6wvfvb5.js → worktree-jtq10j8j.js} +25 -25
- package/dist/chunks/{mime-z4n41egd.js → worktree-jvhjazwr.js} +11 -11
- package/dist/chunks/{mime-s768kpsq.js → worktree-jw8n4n6p.js} +17 -17
- package/dist/chunks/{mime-k3c624dm.js → worktree-k3c624dm.js} +3 -3
- package/dist/chunks/{mime-7nzqtgrv.js → worktree-k3dyg6dm.js} +11 -11
- package/dist/chunks/{mime-jrd8n4ss.js → worktree-k96bfvzz.js} +16 -16
- package/dist/chunks/{mime-zzrrbgba.js → worktree-kf269fqw.js} +33 -33
- package/dist/chunks/{mime-xhh2g16k.js → worktree-kk69x7kr.js} +16 -16
- package/dist/chunks/{mime-5r74vard.js → worktree-knad820t.js} +13 -13
- package/dist/chunks/{mime-cce6ph02.js → worktree-kvh070sc.js} +30 -30
- package/dist/chunks/{mime-tyqkzprt.js → worktree-ky3seynh.js} +2 -2
- package/dist/chunks/{mime-1wvgnk1g.js → worktree-kztetyb1.js} +26 -26
- package/dist/chunks/{mime-ny0h5vaa.js → worktree-m02w9rze.js} +28 -28
- package/dist/chunks/{mime-xgttfafx.js → worktree-m2vze1yq.js} +10 -10
- package/dist/chunks/{mime-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{mime-z8cdm3x5.js → worktree-m84c3eg8.js} +15 -15
- package/dist/chunks/{mime-98xm54pa.js → worktree-m8h3g6ey.js} +5 -5
- package/dist/chunks/{mime-0qgk6w9n.js → worktree-m8jn794n.js} +27 -27
- package/dist/chunks/{mime-nyncjmg2.js → worktree-m92xhnzy.js} +3 -3
- package/dist/chunks/{mime-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-mhkvc446.js → worktree-mhkvc446.js} +1 -1
- package/dist/chunks/{mime-ddewqhrj.js → worktree-mje1cxe4.js} +27 -27
- package/dist/chunks/{mime-jy3q8cv1.js → worktree-mn20a28a.js} +11 -11
- package/dist/chunks/{mime-5wy10x3h.js → worktree-msy23jaw.js} +23 -23
- package/dist/chunks/{mime-k0vy1bn4.js → worktree-mve018rq.js} +25 -25
- package/dist/chunks/{mime-zsr300m5.js → worktree-mvksx64m.js} +4 -4
- package/dist/chunks/{mime-d9xpkbzn.js → worktree-n810d9f4.js} +11 -11
- package/dist/chunks/{mime-fq38msey.js → worktree-n9a5crpx.js} +8 -8
- package/dist/chunks/{mime-wky05gpe.js → worktree-nwxgwzyy.js} +9 -9
- package/dist/chunks/{mime-88x53pa5.js → worktree-pa3vm0gt.js} +20 -20
- package/dist/chunks/{mime-hb93kbdq.js → worktree-pb82r3ma.js} +11 -11
- package/dist/chunks/{mime-yt0fqk68.js → worktree-pecb0brz.js} +5 -5
- package/dist/chunks/{mime-kxpygcw9.js → worktree-pf2hb43r.js} +4 -4
- package/dist/chunks/{mime-xg1smyb4.js → worktree-pgtq6dzx.js} +24 -24
- package/dist/chunks/{mime-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{mime-zksnztrh.js → worktree-pnd0g9pf.js} +5 -5
- package/dist/chunks/{mime-nq7qbqzc.js → worktree-pnv527nz.js} +9 -9
- package/dist/chunks/{mime-tqgw27sd.js → worktree-prdv2mte.js} +4 -4
- package/dist/chunks/{mime-fvheg6hn.js → worktree-ps28zk1z.js} +16 -16
- package/dist/chunks/{mime-6pc27hjz.js → worktree-py3kkmfq.js} +6 -6
- package/dist/chunks/{mime-rgr41gv6.js → worktree-pzjt7r8f.js} +6 -6
- package/dist/chunks/{mime-dgmhv6tx.js → worktree-q4s4x04b.js} +24 -24
- package/dist/chunks/{mime-r9jhct3m.js → worktree-qaj4vhma.js} +1 -1
- package/dist/chunks/worktree-qc068m1q.js +18 -0
- package/dist/chunks/{mime-hcz3zddy.js → worktree-qjnxxf51.js} +5 -5
- package/dist/chunks/{mime-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-9yf0ac6q.js → worktree-r0s9vhwa.js} +9 -9
- package/dist/chunks/{mime-w8vr61qy.js → worktree-r5vpsbwz.js} +24 -24
- package/dist/chunks/{mime-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-0gdmqesm.js → worktree-rhjbct0v.js} +4 -4
- package/dist/chunks/{mime-ae0qbqv4.js → worktree-rvyqzb1a.js} +27 -27
- package/dist/chunks/{mime-ycthhee6.js → worktree-rwan6hkh.js} +13 -13
- package/dist/chunks/{mime-k8962brh.js → worktree-ryr25ayn.js} +7 -7
- package/dist/chunks/{mime-hyepxvrx.js → worktree-s0sx2v9z.js} +143 -143
- package/dist/chunks/{mime-4q9qstee.js → worktree-s3b2wgtr.js} +11 -11
- package/dist/chunks/{mime-s9t8h2r3.js → worktree-s5c30328.js} +6 -6
- package/dist/chunks/{mime-6n81s92k.js → worktree-s7m1jgh3.js} +32 -32
- package/dist/chunks/{mime-vvs4w6a9.js → worktree-senast2p.js} +17 -17
- package/dist/chunks/{mime-xqyvragt.js → worktree-sgemhp45.js} +17 -17
- package/dist/chunks/{mime-evz8zsp8.js → worktree-smzykshb.js} +6 -6
- package/dist/chunks/{mime-5wa9166z.js → worktree-swh571tt.js} +1 -1
- package/dist/chunks/{mime-h01jydf6.js → worktree-sxwx9tkq.js} +37 -37
- package/dist/chunks/worktree-t3czs8ed.js +26 -0
- package/dist/chunks/{mime-5j1yphcz.js → worktree-t5fc0zjg.js} +3 -3
- package/dist/chunks/{mime-agc47n8g.js → worktree-t794wzvf.js} +29 -29
- package/dist/chunks/{mime-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{mime-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{mime-gppx8txq.js → worktree-tgtk0jyg.js} +17 -17
- package/dist/chunks/{mime-tj4p1pwk.js → worktree-tha3vvwn.js} +5 -5
- package/dist/chunks/{mime-c67mern1.js → worktree-tta4ne66.js} +18 -18
- package/dist/chunks/{mime-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-xwnmpk6k.js → worktree-twe926b3.js} +12 -12
- package/dist/chunks/{mime-v7z2bvyd.js → worktree-v7z2bvyd.js} +1 -1
- package/dist/chunks/{mime-e1xy8ma3.js → worktree-varpx0pc.js} +15 -15
- package/dist/chunks/{mime-1fh7j17j.js → worktree-vd5yy21v.js} +35 -35
- package/dist/chunks/{mime-xvp1j2dc.js → worktree-vd7rzxqf.js} +5 -5
- package/dist/chunks/{mime-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-smmjzqd8.js → worktree-vhqg2wpr.js} +34 -34
- package/dist/chunks/{mime-bct739vz.js → worktree-vncycja5.js} +4 -4
- package/dist/chunks/{mime-qn7wxx8v.js → worktree-vqhx5d1p.js} +33 -33
- package/dist/chunks/{mime-nxq4zdb6.js → worktree-vrxaz2n4.js} +8 -8
- package/dist/chunks/{mime-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-2n295dmf.js → worktree-w3x9v1nk.js} +8 -8
- package/dist/chunks/{mime-rm5asm1e.js → worktree-w8m5q4xe.js} +18 -18
- package/dist/chunks/{mime-psazpmmj.js → worktree-wd3x2cqz.js} +2 -2
- package/dist/chunks/{mime-df7dv463.js → worktree-wd71bnwr.js} +29 -29
- package/dist/chunks/{mime-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{mime-610885f9.js → worktree-wgss2cbp.js} +11 -11
- package/dist/chunks/{mime-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-09cb3z8d.js → worktree-x79bsykc.js} +11 -11
- package/dist/chunks/{mime-pheba7cs.js → worktree-xeavwtd2.js} +28 -28
- package/dist/chunks/{mime-drwq78ky.js → worktree-xfkkasph.js} +4 -4
- package/dist/chunks/{mime-0whn2e1v.js → worktree-xj9aad7z.js} +44 -44
- package/dist/chunks/{mime-dmqcgk4z.js → worktree-xkntkrq7.js} +5 -5
- package/dist/chunks/{mime-k7kbxkf1.js → worktree-xp0f2vnn.js} +5 -5
- package/dist/chunks/{mime-0qq1h64n.js → worktree-xpjcprn4.js} +22 -22
- package/dist/chunks/{mime-csdaj16z.js → worktree-xxynqx5z.js} +2 -2
- package/dist/chunks/{mime-vrh7caxe.js → worktree-y019w46x.js} +323 -323
- package/dist/chunks/{mime-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-a0h0we6y.js → worktree-y3m4vy1g.js} +60 -60
- package/dist/chunks/{mime-bcayz7we.js → worktree-yg13730w.js} +17 -17
- package/dist/chunks/{mime-c1r5z1xg.js → worktree-yntvrfmt.js} +18 -18
- package/dist/chunks/{mime-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-s4enseaf.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-8n53myxr.js → worktree-yvyjs43v.js} +33 -33
- package/dist/chunks/{mime-stwn097e.js → worktree-z04dqx9d.js} +6 -6
- package/dist/chunks/{mime-bjtzbw4r.js → worktree-z07pqspn.js} +3 -3
- package/dist/chunks/{mime-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-81g5661k.js → worktree-z0ya5s7h.js} +9 -9
- package/dist/chunks/{mime-k3081vdc.js → worktree-z16xbst3.js} +11 -11
- package/dist/chunks/{mime-bv9946cx.js → worktree-z4b5t13m.js} +22 -22
- package/dist/chunks/{mime-7bpzgkas.js → worktree-z4jtqfv3.js} +6 -6
- package/dist/chunks/{mime-ktccht67.js → worktree-z4ygwn82.js} +12 -12
- package/dist/chunks/{mime-29x78va6.js → worktree-z63w68vq.js} +6 -6
- package/dist/chunks/{mime-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-4kad3bpp.js → worktree-zqcr6gem.js} +20 -20
- package/dist/chunks/{mime-y6g7bmsm.js → worktree-zqm7km32.js} +8 -8
- package/dist/chunks/{mime-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +99 -99
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +97 -97
- 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 +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- 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 +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +7 -7
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/mime-1x11rq2a.js +0 -18
- package/dist/chunks/mime-387qsnec.js +0 -252
- package/dist/chunks/mime-8p9hzp1h.js +0 -26
- /package/dist/chunks/{mime-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./worktree-xj9aad7z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./worktree-eycgq67k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin31,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin31 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service46;
|
|
28
|
+
const mcp = yield* Service39;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin31, register2, exports_mcp2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./worktree-z16xbst3.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service83,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node87,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service83 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service83,
|
|
84
|
+
deps: [node88],
|
|
85
|
+
layer: Layer.effect(Service83, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service84;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service83.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node87 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service83, configured12, node87, exports_bus };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-m8jn794n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./worktree-bb5562zs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin12,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,10 +23,10 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin12 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
|
-
const models = yield*
|
|
29
|
+
const models = yield* Service73;
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
31
31
|
if (event.options.textVerbosity !== undefined)
|
|
32
32
|
return;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin12, exports_verbosity };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service47,
|
|
3
|
+
node50
|
|
4
|
+
} from "./worktree-5qpsy98w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node80
|
|
8
|
+
} from "./worktree-ps28zk1z.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node49
|
|
12
|
+
} from "./worktree-xj9aad7z.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-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: () => Service11,
|
|
26
26
|
empty: () => empty2,
|
|
27
27
|
layer: () => layer6,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node13
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ 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 Service11 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var layer6 = Layer.effect(
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service46;
|
|
40
|
+
const watcher = yield* Service47;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service77;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service6, 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 Service11.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 layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node13 = makeLocationNode({
|
|
74
|
+
service: Service11,
|
|
75
75
|
layer: layer6,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node49, FSUtil.node, node50, node80]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service11,
|
|
80
|
+
layer: Layer.succeed(Service11, Service11.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 { Service11, layer6, node13, empty2, exports_source };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./worktree-gm0g7gcc.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event11,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options9,
|
|
30
|
+
Service: () => Service59,
|
|
31
|
+
configured: () => configured8,
|
|
32
|
+
layer: () => layer23,
|
|
33
|
+
node: () => node61
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event11 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options9 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service59 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer23 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event11.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service59.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured8(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service59,
|
|
110
|
+
layer: layer23(options),
|
|
111
|
+
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node61 = configured8();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event11, Options9, Service59, layer23, configured8, node61, exports_instruction_discovery };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./worktree-xj9aad7z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./worktree-1fm7vbk4.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin44
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin44 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service46;
|
|
27
|
+
const output = yield* Service57;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin30 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin44, exports_tool_output };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service67,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node70
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service67 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service67.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service67, node70, exports_image2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-n810d9f4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./worktree-gm0g7gcc.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-jtq10j8j.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-r5vpsbwz.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-m8jn794n.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-pzjt7r8f.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -45,7 +45,7 @@ var AzurePlugin2 = define({
|
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
46
|
const configured = yield* configuredSettings2(ID13.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service83;
|
|
49
49
|
const tokens = new Map;
|
|
50
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
51
51
|
const loaded = {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-n810d9f4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./worktree-gm0g7gcc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID18,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event20,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service80
|
|
12
|
+
} from "./worktree-jtq10j8j.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-dnxkq42g.js";
|
|
16
16
|
import {
|
|
17
17
|
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-r5vpsbwz.js";
|
|
20
20
|
import {
|
|
21
21
|
ID13,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-m8jn794n.js";
|
|
24
24
|
import {
|
|
25
25
|
ID12,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info26
|
|
28
|
+
} from "./worktree-bb5562zs.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./worktree-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -171,8 +171,8 @@ function listen(server) {
|
|
|
171
171
|
var ChatGPTPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const bus = yield*
|
|
175
|
-
const credentials = yield*
|
|
174
|
+
const bus = yield* Service83;
|
|
175
|
+
const credentials = yield* Service80;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID18.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model,
|
|
341
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info26.default(ID13.openai, ID12.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|