@opencode/core 0.0.0-dev-20678 → 0.0.0-dev-20679
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 +81 -81
- 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/{worktree-g7px2a66.js → wellknown-04k5f7nv.js} +93 -93
- package/dist/chunks/{worktree-0vbcp93d.js → wellknown-0emb60td.js} +2 -2
- package/dist/chunks/{worktree-fhr46ct7.js → wellknown-0hkwt15d.js} +172 -172
- package/dist/chunks/{worktree-rtbx6p6s.js → wellknown-0ktxm01m.js} +15 -15
- package/dist/chunks/{worktree-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-7ds11y3c.js → wellknown-0pdahkpz.js} +9 -9
- package/dist/chunks/{worktree-0ryd0fps.js → wellknown-0ryd0fps.js} +2 -2
- package/dist/chunks/{worktree-qkn6xzgz.js → wellknown-173pmgcq.js} +11 -11
- package/dist/chunks/{worktree-zyp8ka10.js → wellknown-19c4es28.js} +8 -8
- package/dist/chunks/{worktree-5nn9b30n.js → wellknown-1d3hf4vh.js} +21 -21
- package/dist/chunks/{worktree-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-gvwrdnb7.js → wellknown-1f9d60n1.js} +3 -3
- package/dist/chunks/{worktree-abze2epy.js → wellknown-1jj26f9v.js} +22 -22
- package/dist/chunks/{worktree-jpzbbj13.js → wellknown-1yy47k8t.js} +5 -5
- package/dist/chunks/{worktree-4wc52ngv.js → wellknown-255cfpxb.js} +19 -19
- package/dist/chunks/{worktree-0ezpynm7.js → wellknown-27fb6cga.js} +19 -19
- package/dist/chunks/{worktree-xcbn40rf.js → wellknown-27yha8rt.js} +23 -23
- package/dist/chunks/{worktree-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-ns15zm60.js → wellknown-2hteb5fn.js} +6 -6
- package/dist/chunks/{worktree-5hw3kh65.js → wellknown-2wbvtg9h.js} +22 -22
- package/dist/chunks/{worktree-z3zxqg9g.js → wellknown-33czt5j7.js} +7 -7
- package/dist/chunks/{worktree-t3mstrkb.js → wellknown-346bpdxw.js} +25 -25
- package/dist/chunks/{worktree-ype5ssfh.js → wellknown-3542zzsp.js} +16 -16
- package/dist/chunks/{worktree-zd8n3m20.js → wellknown-3agt91nk.js} +4 -4
- package/dist/chunks/{worktree-5xepet72.js → wellknown-3b1e2t2f.js} +75 -75
- package/dist/chunks/{worktree-3cegwx68.js → wellknown-3cegwx68.js} +2 -2
- package/dist/chunks/{worktree-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-yertzaey.js → wellknown-3hw9jnfj.js} +11 -11
- package/dist/chunks/{worktree-hnq9bmna.js → wellknown-3n8d9z3h.js} +28 -28
- package/dist/chunks/{worktree-g8hmyp2d.js → wellknown-3phfz8pg.js} +13 -13
- package/dist/chunks/{worktree-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-1tbv6vyw.js → wellknown-3w57jhwt.js} +8 -8
- package/dist/chunks/{worktree-v60n4k93.js → wellknown-3yjyv8ay.js} +25 -25
- package/dist/chunks/{worktree-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-zdz72ay5.js → wellknown-40ekwggk.js} +4 -4
- package/dist/chunks/{worktree-gj71zhbs.js → wellknown-43kvem2p.js} +5 -5
- package/dist/chunks/{worktree-4jeef9x8.js → wellknown-48rr034y.js} +48 -48
- package/dist/chunks/{worktree-cfbwxe1g.js → wellknown-4bsw698e.js} +1 -1
- package/dist/chunks/{worktree-w49382pb.js → wellknown-4c2df9zx.js} +8 -8
- package/dist/chunks/{worktree-6gmc3kzw.js → wellknown-4e4hq87t.js} +8 -8
- package/dist/chunks/{worktree-5zzwt5g1.js → wellknown-4m6x6rtf.js} +31 -31
- package/dist/chunks/{worktree-dejvf9w0.js → wellknown-4tbrzcn8.js} +18 -18
- package/dist/chunks/{worktree-4ts7tf6z.js → wellknown-4ts7tf6z.js} +2 -2
- package/dist/chunks/{worktree-h0mpfvff.js → wellknown-52qyp2rz.js} +327 -327
- package/dist/chunks/{worktree-17we2qek.js → wellknown-54f0hksz.js} +13 -13
- package/dist/chunks/{worktree-54ma36ye.js → wellknown-54ma36ye.js} +1 -1
- package/dist/chunks/{worktree-56gdpj1q.js → wellknown-56gdpj1q.js} +2 -2
- package/dist/chunks/{worktree-wn0425kx.js → wellknown-5b9ryv59.js} +5 -5
- package/dist/chunks/{worktree-vn3s1ht6.js → wellknown-5cg44s47.js} +13 -13
- package/dist/chunks/{worktree-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-fbv57nyx.js → wellknown-5pbtm9hs.js} +4 -4
- package/dist/chunks/{worktree-63db42yp.js → wellknown-5pyjqqve.js} +2 -2
- package/dist/chunks/{worktree-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-w9778aye.js → wellknown-5v630bnm.js} +2 -2
- package/dist/chunks/{worktree-9cwy2jha.js → wellknown-68hsqk7p.js} +22 -22
- package/dist/chunks/{worktree-6evnp53q.js → wellknown-68yf1gk3.js} +98 -98
- package/dist/chunks/{worktree-xqrtg09m.js → wellknown-6cg192sj.js} +15 -15
- package/dist/chunks/{worktree-gbzg285s.js → wellknown-6eegp3c0.js} +38 -38
- package/dist/chunks/{worktree-zm5574p5.js → wellknown-6tn7jbdw.js} +57 -57
- package/dist/chunks/{worktree-6xb47vfp.js → wellknown-6xb47vfp.js} +1 -1
- package/dist/chunks/{worktree-tznhj0ze.js → wellknown-73280wea.js} +46 -46
- package/dist/chunks/{worktree-ksg1aq7r.js → wellknown-737vdrvj.js} +18 -18
- package/dist/chunks/{worktree-d0fqnv22.js → wellknown-73hsgnrh.js} +17 -17
- package/dist/chunks/{worktree-mvmnyn7n.js → wellknown-75r8nd2c.js} +36 -36
- package/dist/chunks/{worktree-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-8g79wser.js → wellknown-7d6br3mg.js} +3 -3
- package/dist/chunks/{worktree-7gb06545.js → wellknown-7f4g3nej.js} +20 -20
- package/dist/chunks/{worktree-ah48gt2j.js → wellknown-7qwq6qbk.js} +42 -42
- package/dist/chunks/{worktree-2gec4brg.js → wellknown-7rpkbad3.js} +30 -30
- package/dist/chunks/{worktree-qm27jccq.js → wellknown-7t8bdkt7.js} +13 -13
- package/dist/chunks/{worktree-d9zcp3x2.js → wellknown-7wy8fz1g.js} +30 -30
- package/dist/chunks/{worktree-ex5gm711.js → wellknown-805mqyzz.js} +20 -20
- package/dist/chunks/{worktree-59f3e3ff.js → wellknown-80taqy91.js} +17 -17
- package/dist/chunks/{worktree-84h8c373.js → wellknown-84h8c373.js} +2 -2
- package/dist/chunks/{worktree-w1eejvng.js → wellknown-84txncab.js} +5 -5
- package/dist/chunks/{worktree-qhbw5a4b.js → wellknown-89r1t2kw.js} +9 -9
- package/dist/chunks/{worktree-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-j9c73dve.js → wellknown-8gnwkc1b.js} +17 -17
- package/dist/chunks/{worktree-ftdt7j28.js → wellknown-8jvfz5h0.js} +16 -16
- package/dist/chunks/{worktree-7c77ewax.js → wellknown-8s2p4g23.js} +28 -28
- package/dist/chunks/{worktree-f1fpav69.js → wellknown-8s6j0xgj.js} +6 -6
- package/dist/chunks/{worktree-gwb0ctjv.js → wellknown-90kht7m5.js} +48 -48
- package/dist/chunks/{worktree-we3yb86z.js → wellknown-9ev8g8qb.js} +4 -4
- package/dist/chunks/{worktree-8sfbsvhp.js → wellknown-9mt24hjb.js} +20 -20
- package/dist/chunks/{worktree-qqrjxc2w.js → wellknown-9s1fef2z.js} +12 -12
- package/dist/chunks/{worktree-wv396vej.js → wellknown-9t7a50xb.js} +6 -6
- package/dist/chunks/{worktree-hckh89c1.js → wellknown-9vxetrwd.js} +3 -3
- package/dist/chunks/{worktree-a2fssteg.js → wellknown-9xg6qs42.js} +3 -3
- package/dist/chunks/{worktree-fn9txvmy.js → wellknown-a166dkph.js} +35 -35
- package/dist/chunks/{worktree-xk6gwbtw.js → wellknown-a1g6a9yj.js} +5 -5
- package/dist/chunks/{worktree-rb0yz7b3.js → wellknown-a25h4jaw.js} +47 -47
- package/dist/chunks/{worktree-6rd4tpzh.js → wellknown-a4jk14wf.js} +34 -34
- package/dist/chunks/{worktree-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-db2wf4at.js → wellknown-addxnjmp.js} +4 -4
- package/dist/chunks/{worktree-tx92n959.js → wellknown-afjydgk3.js} +4 -4
- package/dist/chunks/{worktree-y1dpn6q8.js → wellknown-afrgtbd2.js} +5 -5
- package/dist/chunks/{worktree-vj5pc5q1.js → wellknown-ant6vppx.js} +13 -13
- package/dist/chunks/{worktree-2eegacq4.js → wellknown-at1kfnmk.js} +8 -8
- package/dist/chunks/{worktree-7hctjrk6.js → wellknown-axhkhwr8.js} +23 -23
- package/dist/chunks/{worktree-554ppjqe.js → wellknown-az3rkwbe.js} +9 -9
- package/dist/chunks/{worktree-8sze2n9a.js → wellknown-b4twkq7r.js} +2 -2
- package/dist/chunks/{worktree-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-c2j3xy4g.js → wellknown-b8j60jjz.js} +8 -8
- package/dist/chunks/{worktree-vzhe4zg6.js → wellknown-berpeycn.js} +15 -15
- package/dist/chunks/{worktree-zgwqe4kw.js → wellknown-beyp434m.js} +11 -11
- package/dist/chunks/{worktree-20k90jn5.js → wellknown-bhypc13x.js} +3 -3
- package/dist/chunks/{worktree-cnr2fbcv.js → wellknown-bpz9cye0.js} +11 -11
- package/dist/chunks/{worktree-d34h28nh.js → wellknown-bq56amyz.js} +28 -28
- package/dist/chunks/{worktree-dqwk5426.js → wellknown-bsgbbmse.js} +40 -40
- package/dist/chunks/{worktree-e8vwfchq.js → wellknown-bsprd9wx.js} +6 -6
- package/dist/chunks/{worktree-944zhfh4.js → wellknown-bxx1pwwx.js} +14 -14
- package/dist/chunks/{worktree-pdf4nf1w.js → wellknown-bzrjq2vy.js} +11 -11
- package/dist/chunks/{worktree-x995py8c.js → wellknown-ch7w39rj.js} +10 -10
- package/dist/chunks/{worktree-e9ddm36m.js → wellknown-cmmkncq8.js} +10 -10
- package/dist/chunks/{worktree-cyczn8d8.js → wellknown-cp4a2zr9.js} +32 -32
- package/dist/chunks/wellknown-ctefx7dc.js +18 -0
- package/dist/chunks/{worktree-4xpgt2w9.js → wellknown-cxbh1760.js} +5 -5
- package/dist/chunks/{worktree-2kn5e7ew.js → wellknown-d8zex0s9.js} +11 -11
- package/dist/chunks/{worktree-sqvzcy4n.js → wellknown-dd40s8jk.js} +4 -4
- package/dist/chunks/{worktree-6xjbkn91.js → wellknown-dgnn94pr.js} +16 -16
- package/dist/chunks/{worktree-w95j1aag.js → wellknown-dn58h0gr.js} +5 -5
- package/dist/chunks/{worktree-6nwqebjc.js → wellknown-dp7t54vv.js} +9 -9
- package/dist/chunks/{worktree-vgp7e6pk.js → wellknown-drqgrxrt.js} +5 -5
- package/dist/chunks/{worktree-v5dkyp31.js → wellknown-edrmdtr5.js} +7 -7
- package/dist/chunks/{worktree-kc86bjfa.js → wellknown-eeavwd92.js} +6 -6
- package/dist/chunks/{worktree-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-980jbebj.js → wellknown-ehx3qmqc.js} +11 -11
- package/dist/chunks/{worktree-q1d18pxx.js → wellknown-epwn5jzh.js} +20 -20
- package/dist/chunks/{worktree-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-r2t9nb79.js → wellknown-exs3g62t.js} +12 -12
- package/dist/chunks/{worktree-97anc7e4.js → wellknown-exzm0cze.js} +11 -11
- package/dist/chunks/{worktree-yd1hyy78.js → wellknown-f5abhewx.js} +3 -3
- package/dist/chunks/{worktree-k1qrnqst.js → wellknown-f5gy8qwh.js} +8 -8
- package/dist/chunks/{worktree-f75zav2x.js → wellknown-f75zav2x.js} +2 -2
- package/dist/chunks/{worktree-vtmyt3zh.js → wellknown-fegm0bq6.js} +22 -22
- package/dist/chunks/{worktree-ak05m9d7.js → wellknown-fkc7as9m.js} +20 -20
- package/dist/chunks/{worktree-8vz7v9xx.js → wellknown-fn6n174a.js} +19 -19
- package/dist/chunks/{worktree-tnf1wecr.js → wellknown-fs92dzhy.js} +27 -27
- package/dist/chunks/{worktree-khzvsr9n.js → wellknown-ftcs2r5x.js} +16 -16
- package/dist/chunks/{worktree-j203rygf.js → wellknown-fvvpstn0.js} +13 -13
- package/dist/chunks/{worktree-43g4wmcb.js → wellknown-g5g6qkd8.js} +5 -5
- package/dist/chunks/{worktree-xfkkasph.js → wellknown-g5w8qwbj.js} +4 -4
- package/dist/chunks/{worktree-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-8hq66769.js → wellknown-h2d4d765.js} +7 -7
- package/dist/chunks/{worktree-mad84jxc.js → wellknown-h6bm7n8h.js} +48 -48
- package/dist/chunks/{worktree-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-8rg4pjtz.js → wellknown-ha0rea1c.js} +6 -6
- package/dist/chunks/{worktree-ftw06dxe.js → wellknown-hd32csf9.js} +3 -3
- package/dist/chunks/{worktree-q5e7cmwt.js → wellknown-he27pt63.js} +1 -1
- package/dist/chunks/{worktree-4tfbnah3.js → wellknown-hptfyq97.js} +8 -8
- package/dist/chunks/{worktree-ywvdrxjw.js → wellknown-hwady861.js} +36 -36
- package/dist/chunks/{worktree-xfaszaq1.js → wellknown-j27a4emc.js} +13 -13
- package/dist/chunks/wellknown-j2e8rp7d.js +253 -0
- package/dist/chunks/{worktree-30s1jqhr.js → wellknown-j4ydyyt8.js} +5 -5
- package/dist/chunks/{worktree-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-espax8zg.js → wellknown-j8m1p4p1.js} +4 -4
- package/dist/chunks/{worktree-9e73zybw.js → wellknown-jkg43hkq.js} +24 -24
- package/dist/chunks/{worktree-kpy4tq5x.js → wellknown-jvjttr1n.js} +21 -21
- package/dist/chunks/{worktree-h4aqnj6c.js → wellknown-jz979h27.js} +12 -12
- package/dist/chunks/{worktree-7csx5nx0.js → wellknown-k0fb5tp9.js} +11 -11
- package/dist/chunks/{worktree-yv32pxkv.js → wellknown-k617rwhp.js} +18 -18
- package/dist/chunks/{worktree-a6bra8ct.js → wellknown-k8zgzs4j.js} +7 -7
- package/dist/chunks/{worktree-kb9j3d72.js → wellknown-kb9j3d72.js} +3 -3
- package/dist/chunks/{worktree-vy6tct52.js → wellknown-kgkz97qg.js} +53 -53
- package/dist/chunks/{worktree-da0z8qs1.js → wellknown-kmr16be3.js} +5 -5
- package/dist/chunks/{worktree-qr3e8w20.js → wellknown-kqrgzfyx.js} +15 -15
- package/dist/chunks/{worktree-50mzsvk4.js → wellknown-kvvk39gs.js} +4 -4
- package/dist/chunks/{worktree-vf88kmda.js → wellknown-m1hk3x7f.js} +17 -17
- package/dist/chunks/{worktree-pt9pzmkj.js → wellknown-m29c2wsb.js} +29 -29
- package/dist/chunks/{worktree-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-vyfh7cqh.js → wellknown-mb41hxq8.js} +37 -37
- package/dist/chunks/{worktree-cftk923j.js → wellknown-mdb6f0mb.js} +6 -6
- package/dist/chunks/{worktree-zyk1yjk8.js → wellknown-mha52fg8.js} +5 -5
- package/dist/chunks/{worktree-hf0f0s02.js → wellknown-mhs8r3m2.js} +30 -30
- package/dist/chunks/{worktree-x73za9sf.js → wellknown-mmzszc8z.js} +35 -35
- package/dist/chunks/{worktree-mfg7hkjp.js → wellknown-mqafpt2f.js} +1 -1
- package/dist/chunks/{worktree-17m7e5yb.js → wellknown-mqsap6m9.js} +35 -35
- package/dist/chunks/{worktree-3t7b0x40.js → wellknown-mtshsn2z.js} +26 -26
- package/dist/chunks/{worktree-s29k18d1.js → wellknown-n5wwkbj9.js} +8 -8
- package/dist/chunks/{worktree-08em3ee9.js → wellknown-n8gsyc7n.js} +28 -28
- package/dist/chunks/{worktree-fqcgpcra.js → wellknown-n9j73x72.js} +9 -9
- package/dist/chunks/{worktree-nps7pa21.js → wellknown-nen0rqf3.js} +18 -18
- package/dist/chunks/{worktree-yp2x3t23.js → wellknown-nkf980df.js} +4 -4
- package/dist/chunks/{worktree-5g5j2e1n.js → wellknown-nvr70z5w.js} +11 -11
- package/dist/chunks/{worktree-ryvhqdqz.js → wellknown-nx82gf31.js} +33 -33
- package/dist/chunks/{worktree-dpkg50ah.js → wellknown-nxm207yx.js} +4 -4
- package/dist/chunks/{worktree-3n65r2sc.js → wellknown-nzym5ntr.js} +62 -62
- package/dist/chunks/{worktree-15560esq.js → wellknown-p1nvj8z6.js} +8 -8
- package/dist/chunks/{worktree-8v6pyhej.js → wellknown-pa8pe2x7.js} +8 -8
- package/dist/chunks/{worktree-qvzmz2hd.js → wellknown-pd2x9kgq.js} +11 -11
- package/dist/chunks/{worktree-mvfv6g31.js → wellknown-ph2e6s98.js} +40 -40
- package/dist/chunks/{worktree-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-mp95dmdx.js → wellknown-pkb6p7eb.js} +11 -11
- package/dist/chunks/{worktree-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-4mwpykj0.js → wellknown-prmgem5b.js} +6 -6
- package/dist/chunks/{worktree-q0xm7vwc.js → wellknown-q0xm7vwc.js} +2 -2
- package/dist/chunks/{worktree-rk26t4bh.js → wellknown-q5ze5amg.js} +17 -17
- package/dist/chunks/{worktree-qcxtzrkv.js → wellknown-q7s4wvq2.js} +18 -18
- package/dist/chunks/{worktree-0gapa1rm.js → wellknown-qa7075pb.js} +5 -5
- package/dist/chunks/{worktree-jewzahs7.js → wellknown-qbqbaz6q.js} +4 -4
- package/dist/chunks/{worktree-7dqw4kz8.js → wellknown-qgn6gcr1.js} +5 -5
- package/dist/chunks/{worktree-gv66gg0x.js → wellknown-qm7jrdpz.js} +8 -8
- package/dist/chunks/{worktree-c765mh8b.js → wellknown-qmqgtz8f.js} +9 -9
- package/dist/chunks/{worktree-qnc92qwc.js → wellknown-qnc92qwc.js} +1 -1
- package/dist/chunks/{worktree-xh3pt0hh.js → wellknown-qpsbqnqf.js} +10 -10
- package/dist/chunks/{worktree-60ag5qjy.js → wellknown-qpw1s7bc.js} +1 -1
- package/dist/chunks/{worktree-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-qxjc9qry.js → wellknown-qxjc9qry.js} +3 -3
- package/dist/chunks/{worktree-7yh4e7ss.js → wellknown-r5x6zcsm.js} +3 -3
- package/dist/chunks/{worktree-124pajz9.js → wellknown-r6jtefwf.js} +35 -35
- package/dist/chunks/{worktree-73c0qt40.js → wellknown-r7f7xh9p.js} +9 -9
- package/dist/chunks/{worktree-4hwsr2c7.js → wellknown-r92xrcx3.js} +36 -36
- package/dist/chunks/{worktree-4p3293aj.js → wellknown-rbe4wvb2.js} +23 -23
- package/dist/chunks/{worktree-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-mfa4e2dy.js → wellknown-rmpjmpw1.js} +29 -29
- package/dist/chunks/{worktree-9bbn03rq.js → wellknown-rrjjf3fc.js} +24 -24
- package/dist/chunks/{worktree-2vs2nh1n.js → wellknown-rwm5vee1.js} +4 -4
- package/dist/chunks/{worktree-fa24ys4h.js → wellknown-s2qetmaw.js} +11 -11
- package/dist/chunks/{worktree-gt84n3fs.js → wellknown-s7v01njr.js} +14 -14
- package/dist/chunks/{worktree-1sdf2zn9.js → wellknown-srpm7hfx.js} +23 -23
- package/dist/chunks/{worktree-ye7asgrj.js → wellknown-t0vq3sxw.js} +33 -33
- package/dist/chunks/{worktree-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-z736p80b.js → wellknown-tcvz6j51.js} +28 -28
- package/dist/chunks/{worktree-vrm0t447.js → wellknown-tdcgy60y.js} +11 -11
- package/dist/chunks/{worktree-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-f2mw6jyj.js → wellknown-thc15jq6.js} +9 -9
- package/dist/chunks/{worktree-fz1ega6x.js → wellknown-tsbm8v4g.js} +11 -11
- package/dist/chunks/{worktree-9da98haa.js → wellknown-tyk1x22e.js} +11 -11
- package/dist/chunks/{worktree-n143kkat.js → wellknown-v08ftd5w.js} +45 -45
- package/dist/chunks/{worktree-d96ycdxj.js → wellknown-v26071zx.js} +30 -30
- package/dist/chunks/{worktree-vhxw02v1.js → wellknown-v9rk9z7g.js} +10 -10
- package/dist/chunks/{worktree-8w291pm7.js → wellknown-vaawya2s.js} +21 -21
- package/dist/chunks/{worktree-pgvafq4z.js → wellknown-ve1xn75q.js} +22 -22
- package/dist/chunks/{worktree-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-s3sb1ad7.js → wellknown-vgvkqx5m.js} +22 -22
- package/dist/chunks/{worktree-ss358qx3.js → wellknown-vx3jgdek.js} +3 -3
- package/dist/chunks/{worktree-n30jecw5.js → wellknown-vz0xp14q.js} +11 -11
- package/dist/chunks/{worktree-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-5t0megjy.js → wellknown-w0rrsdn6.js} +32 -32
- package/dist/chunks/{worktree-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-3v3tg56d.js → wellknown-w560apy3.js} +17 -17
- package/dist/chunks/{worktree-7qq3ahcc.js → wellknown-w5zzhgd0.js} +6 -6
- package/dist/chunks/{worktree-k2pcze7v.js → wellknown-w6f70jx8.js} +4 -4
- package/dist/chunks/{worktree-bb1b8k90.js → wellknown-wa905199.js} +15 -15
- package/dist/chunks/{worktree-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-6gde23dc.js → wellknown-wdz7by7z.js} +29 -29
- package/dist/chunks/{worktree-srq8z0b0.js → wellknown-wmz9gz0a.js} +9 -9
- package/dist/chunks/{worktree-55dytp5r.js → wellknown-wwswy3cn.js} +22 -22
- package/dist/chunks/{worktree-x90t23kx.js → wellknown-x5qes1kq.js} +24 -24
- package/dist/chunks/{worktree-v0es1rhs.js → wellknown-xecxzrdp.js} +2 -2
- package/dist/chunks/{worktree-vgwdt6gq.js → wellknown-xenw0zak.js} +33 -33
- package/dist/chunks/{worktree-xkntkrq7.js → wellknown-xkntkrq7.js} +2 -2
- package/dist/chunks/{worktree-20qzy3kz.js → wellknown-xmd7q6j6.js} +21 -21
- package/dist/chunks/{worktree-emqscpbc.js → wellknown-xpxptrwk.js} +22 -22
- package/dist/chunks/{worktree-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-cprp9kwr.js → wellknown-y4wym877.js} +35 -35
- package/dist/chunks/{worktree-q58mka6k.js → wellknown-y54hr7f3.js} +9 -9
- package/dist/chunks/{worktree-9jn3z3yz.js → wellknown-yadpvqa6.js} +46 -46
- package/dist/chunks/{worktree-8284y6xq.js → wellknown-yar9by0p.js} +9 -9
- package/dist/chunks/{worktree-qtjwvqnb.js → wellknown-ygjkz2v0.js} +4 -4
- package/dist/chunks/{worktree-cjtxsq47.js → wellknown-ykgyn99t.js} +18 -18
- package/dist/chunks/{worktree-pft5j206.js → wellknown-ytws7ykb.js} +2 -2
- package/dist/chunks/{worktree-87bb084g.js → wellknown-yx0rbatw.js} +24 -24
- package/dist/chunks/{worktree-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-1f35zj2n.js → wellknown-z25529q4.js} +21 -21
- package/dist/chunks/{worktree-y127w3hy.js → wellknown-z3z4rvt0.js} +4 -4
- package/dist/chunks/{worktree-sj5387ee.js → wellknown-z81wjjn1.js} +15 -15
- package/dist/chunks/{worktree-j2c9memp.js → wellknown-zbvarpdb.js} +35 -35
- package/dist/chunks/{worktree-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-jqfnw3hv.js → wellknown-zr67nb1x.js} +14 -14
- package/dist/chunks/{worktree-f29mbr7f.js → wellknown-zsr4wwhv.js} +4 -4
- package/dist/chunks/{worktree-zxq2ej10.js → wellknown-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 +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +363 -363
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- 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 +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- 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 +92 -92
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- 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 +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/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 +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +2 -2
- 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 +114 -114
- 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 +4 -4
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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 +135 -135
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +2 -2
- 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 +129 -129
- 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 +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- 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 +130 -130
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +15 -15
- package/dist/shell.js +132 -132
- 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 +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +12 -12
- 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 +92 -92
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/worktree-by5v678g.js +0 -18
- package/dist/chunks/worktree-y8fy98eq.js +0 -253
- /package/dist/chunks/{worktree-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-34c7v6d4.js → wellknown-34c7v6d4.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3t0ybcrp.js → wellknown-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → wellknown-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-vx3jgdek.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
31
31
|
import { Skill } from "@opencode/schema/skill";
|
|
32
32
|
import { SessionError } from "@opencode/schema/session-error";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
35
35
|
sessionID: SessionSchema2.ID
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
116
|
}) {
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./wellknown-mtshsn2z.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -12,22 +12,22 @@ __export(exports_location, {
|
|
|
12
12
|
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service80,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node84,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service80 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node84 = LayerNode.unbound(Service80, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service81;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service80.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service80,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node85]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info27, Ref4, response2,
|
|
43
|
+
export { Info27, Ref4, response2, Service80, node84, boundNode2, exports_location };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./wellknown-yadpvqa6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./wellknown-48rr034y.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin18
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin18 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
26
|
+
const compaction = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin29 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin18, exports_compaction };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./wellknown-kgkz97qg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./wellknown-6tn7jbdw.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin31
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service42;
|
|
26
|
+
const permission = yield* Service70;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin6 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin31, exports_mcp_resource };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./wellknown-bxx1pwwx.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-xmd7q6j6.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin39,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin39 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
if (location.vcs && location.vcs.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -475,4 +475,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
475
475
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
476
476
|
});
|
|
477
477
|
|
|
478
|
-
export {
|
|
478
|
+
export { Plugin39, exports_git };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./wellknown-ftcs2r5x.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service42,
|
|
7
|
+
node45
|
|
8
|
+
} from "./wellknown-kgkz97qg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node74
|
|
12
|
+
} from "./wellknown-6tn7jbdw.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service50,
|
|
15
|
+
node53
|
|
16
|
+
} from "./wellknown-xpxptrwk.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service40,
|
|
26
|
+
layer: () => layer15,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node44
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service40 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service40, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service42;
|
|
42
|
+
const tools = yield* Service50;
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const permission = yield* Service70;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer10 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer10 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer10 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service40.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node44 = makeLocationNode({
|
|
124
|
+
service: Service40,
|
|
125
|
+
layer: layer15,
|
|
126
|
+
deps: [node53, node45, node86, node74]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service40, layer15, node44, exports_mcp3 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service41,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service41 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service41.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service41, awaitActivation2, exports_service };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info12,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node63,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node63 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer21, configured11, node63, exports_app };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-9t7a50xb.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-kb9j3d72.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./wellknown-bxx1pwwx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
make22,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9t7a50xb.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service34,
|
|
19
|
+
node: () => node38
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service34 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service80;
|
|
29
|
+
return Service34.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
31
|
make22({
|
|
32
|
-
key:
|
|
32
|
+
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
40
|
make22({
|
|
41
|
-
key:
|
|
41
|
+
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node38 = makeLocationNode({ service: Service34, layer, deps: [Global.node, node84] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service34, node38, exports_builtins };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./wellknown-y4wym877.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-mdb6f0mb.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./wellknown-bxx1pwwx.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-xmd7q6j6.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin40,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin40 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service80;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin40, exports_hg };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-r92xrcx3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-t0vq3sxw.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_command4 };
|