@opencode/core 0.0.0-dev-21047 → 0.0.0-dev-21049
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{reference-rqf4m8aw.js → tool-09qqh49h.js} +25 -25
- package/dist/chunks/{reference-zgkz7fqw.js → tool-0dy26cax.js} +31 -31
- package/dist/chunks/{reference-g7m13ce8.js → tool-0eyv36ts.js} +36 -36
- package/dist/chunks/{reference-pyg4v0b6.js → tool-0n5ns49k.js} +4 -4
- package/dist/chunks/{reference-5vxqm9q6.js → tool-0nxben1n.js} +45 -45
- package/dist/chunks/{reference-w4wr1etb.js → tool-0qrpzpdx.js} +11 -11
- package/dist/chunks/{reference-3emwttkv.js → tool-0spfg2bb.js} +14 -14
- package/dist/chunks/{reference-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{reference-s5yya818.js → tool-11w9b7qd.js} +22 -22
- package/dist/chunks/{reference-85nhzk7w.js → tool-12t6z3cz.js} +1 -1
- package/dist/chunks/{reference-ss358qx3.js → tool-143qq2q9.js} +3 -3
- package/dist/chunks/{reference-6gjn20d2.js → tool-15qc111y.js} +11 -11
- package/dist/chunks/{reference-ym1z1sce.js → tool-15zrfa03.js} +3 -3
- package/dist/chunks/{reference-fqmb1432.js → tool-1b7ejmxt.js} +8 -8
- package/dist/chunks/{reference-n3kdjaet.js → tool-1gjkdexd.js} +13 -13
- package/dist/chunks/{reference-6rbe1m5x.js → tool-1hz0wgam.js} +29 -29
- package/dist/chunks/{reference-ahz9yk24.js → tool-1w2t7fyn.js} +18 -18
- package/dist/chunks/{reference-9ja41e76.js → tool-230ecda4.js} +9 -9
- package/dist/chunks/{reference-8pedcj79.js → tool-29eykq4v.js} +19 -19
- package/dist/chunks/{reference-njp0gf2a.js → tool-2bekqz3a.js} +17 -17
- package/dist/chunks/{reference-rxbse8cr.js → tool-2th9fvys.js} +22 -22
- package/dist/chunks/{reference-zzdwtnvj.js → tool-2z796rds.js} +22 -22
- package/dist/chunks/{reference-65cg4f0c.js → tool-376dj1j3.js} +10 -10
- package/dist/chunks/{reference-kenxh6gd.js → tool-3cdf983x.js} +45 -39
- package/dist/chunks/{reference-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
- package/dist/chunks/{reference-vacxjxj3.js → tool-3pytycam.js} +6 -6
- package/dist/chunks/{reference-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-kpdmttv2.js → tool-3wfexhse.js} +13 -13
- package/dist/chunks/{reference-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{reference-kprxdv5r.js → tool-4704tty5.js} +2 -2
- package/dist/chunks/{reference-s6vxrzhc.js → tool-47bgsghd.js} +5 -5
- package/dist/chunks/{reference-b674v2dg.js → tool-47jkzegy.js} +5 -5
- package/dist/chunks/{reference-676ffxyw.js → tool-49zdgxhw.js} +35 -35
- package/dist/chunks/{reference-y4ny2pth.js → tool-4fjma7m8.js} +15 -15
- package/dist/chunks/{reference-rx2dg2kh.js → tool-4k48dskj.js} +46 -46
- package/dist/chunks/{reference-pr1m8j7y.js → tool-4ka8hhjj.js} +8 -8
- package/dist/chunks/{reference-w15h4m28.js → tool-52zr48d6.js} +18 -18
- package/dist/chunks/{reference-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{reference-dqdg7a0v.js → tool-560byads.js} +4 -4
- package/dist/chunks/{reference-6wg64ttk.js → tool-5714egxe.js} +3 -3
- package/dist/chunks/{reference-drwq78ky.js → tool-57b9ws8p.js} +5 -5
- package/dist/chunks/{reference-vvtb55nw.js → tool-5ds65g7m.js} +192 -192
- package/dist/chunks/{reference-g51r3c4s.js → tool-5ezpm4ww.js} +18 -18
- package/dist/chunks/{reference-80c1z9kc.js → tool-5gq9j52j.js} +20 -20
- package/dist/chunks/{reference-bt0njgmc.js → tool-5kmqhqkx.js} +17 -17
- package/dist/chunks/{reference-67prdeth.js → tool-5kpd3qqk.js} +5 -5
- package/dist/chunks/{reference-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-xx6qpep6.js → tool-61xwzbr6.js} +35 -35
- package/dist/chunks/{reference-sa7t01dg.js → tool-62jddv0q.js} +94 -94
- package/dist/chunks/{reference-v0es1rhs.js → tool-6g7e4dd5.js} +7 -7
- package/dist/chunks/{reference-6hh8tjw2.js → tool-6hh8tjw2.js} +1 -1
- package/dist/chunks/{reference-xwxft369.js → tool-6jpn1xds.js} +1 -1
- package/dist/chunks/{reference-n0ve5gdb.js → tool-6mvkgxje.js} +5 -5
- package/dist/chunks/{reference-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{reference-qdtbhe1n.js → tool-6yybhc5e.js} +5 -5
- package/dist/chunks/{reference-g6yfr6ja.js → tool-6yz0wx8n.js} +5 -5
- package/dist/chunks/{reference-djvxnjg8.js → tool-70h0erza.js} +35 -35
- package/dist/chunks/{reference-2k20t02z.js → tool-70qn9w1v.js} +22 -22
- package/dist/chunks/{reference-775gj3j1.js → tool-775gj3j1.js} +2 -2
- package/dist/chunks/{reference-2e24zj1v.js → tool-7b2ys08c.js} +5 -5
- package/dist/chunks/{reference-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-2yn5t4yf.js → tool-7grdpmn4.js} +34 -34
- package/dist/chunks/{reference-88bhjm42.js → tool-7kfb2kjh.js} +14 -14
- package/dist/chunks/{reference-74gjv7rp.js → tool-7myztyss.js} +50 -50
- package/dist/chunks/{reference-q1m8dxm9.js → tool-8022akpp.js} +32 -32
- package/dist/chunks/{reference-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{reference-132ycjkv.js → tool-87b0tycv.js} +24 -24
- package/dist/chunks/{reference-cqy527p5.js → tool-87t3sg69.js} +10 -10
- package/dist/chunks/{reference-q2kevabj.js → tool-8f721ffb.js} +4 -4
- package/dist/chunks/{reference-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
- package/dist/chunks/{reference-dfswxmta.js → tool-92jqywd0.js} +20 -20
- package/dist/chunks/{reference-n61013np.js → tool-93jnn70z.js} +8 -8
- package/dist/chunks/{reference-zt9b6e62.js → tool-95f8ca4q.js} +17 -17
- package/dist/chunks/{reference-y179arr5.js → tool-98wwwshm.js} +31 -31
- package/dist/chunks/{reference-7der4bj9.js → tool-99va16k7.js} +22 -22
- package/dist/chunks/{reference-7xyrrtj6.js → tool-9b00c1fb.js} +5 -5
- package/dist/chunks/{reference-63db42yp.js → tool-9pa8tak9.js} +2 -2
- package/dist/chunks/{reference-f66eae49.js → tool-9rpqzg1a.js} +19 -19
- package/dist/chunks/{reference-r83ag541.js → tool-9z41w441.js} +9 -9
- package/dist/chunks/{reference-dxr3qdqn.js → tool-9zt3hyj2.js} +34 -34
- package/dist/chunks/{reference-7qen6kzn.js → tool-a6j5r86g.js} +5 -5
- package/dist/chunks/{reference-axjfn32c.js → tool-a79qvj6d.js} +22 -22
- package/dist/chunks/{reference-h90v2x9d.js → tool-afrtgck4.js} +4 -4
- package/dist/chunks/{reference-wkqr0wp4.js → tool-axr9kwmj.js} +50 -50
- package/dist/chunks/{reference-7f4pctag.js → tool-b44y2phb.js} +27 -27
- package/dist/chunks/{reference-crn6sf7s.js → tool-b92e8n45.js} +6 -6
- package/dist/chunks/{reference-w1s7mmem.js → tool-bhwamkf8.js} +15 -15
- package/dist/chunks/{reference-qtq7qc2w.js → tool-bnpshxh6.js} +10 -10
- package/dist/chunks/{reference-3fxqyn52.js → tool-btsvt50k.js} +8 -8
- package/dist/chunks/{reference-pjm3t1ca.js → tool-c00bz1vb.js} +15 -15
- package/dist/chunks/{reference-es1vcfrp.js → tool-c1fqxshp.js} +3 -3
- package/dist/chunks/{reference-7kcbr8xv.js → tool-c29z7hcx.js} +29 -29
- package/dist/chunks/{reference-256smw24.js → tool-cdb4d5hn.js} +8 -8
- package/dist/chunks/{reference-2ktf0ed2.js → tool-cmmdg65p.js} +8 -8
- package/dist/chunks/{reference-q5ewyrx0.js → tool-cnrvnbz5.js} +28 -28
- package/dist/chunks/{reference-vd7cyv2z.js → tool-cqw1m3c7.js} +29 -29
- package/dist/chunks/{reference-5ttccjpc.js → tool-cwq5cw92.js} +6 -6
- package/dist/chunks/{reference-0sgp6vrq.js → tool-cyt5dtwd.js} +12 -12
- package/dist/chunks/{reference-vbm38ps9.js → tool-d0ge418f.js} +5 -5
- package/dist/chunks/{reference-2zmfhp2c.js → tool-d43tgzm4.js} +9 -9
- package/dist/chunks/{reference-h45tnvxx.js → tool-d9rb3zvs.js} +66 -66
- package/dist/chunks/{reference-wqvnp2kw.js → tool-djs19gy2.js} +4 -4
- package/dist/chunks/{reference-2sc3sc4p.js → tool-dp9e102f.js} +16 -16
- package/dist/chunks/{reference-dqxsqydv.js → tool-dqxsqydv.js} +1 -1
- package/dist/chunks/{reference-0170kczj.js → tool-dvr9mxdx.js} +11 -11
- package/dist/chunks/{reference-6vrtx8fp.js → tool-dx4kydrk.js} +6 -6
- package/dist/chunks/{reference-whrbz81v.js → tool-e0f7tvrt.js} +29 -29
- package/dist/chunks/{reference-yak3hf0z.js → tool-e0yqexzb.js} +55 -55
- package/dist/chunks/{reference-3q9g49xq.js → tool-e58xrjgm.js} +18 -18
- package/dist/chunks/{reference-dq5fx745.js → tool-e8ajjxsc.js} +26 -26
- package/dist/chunks/{reference-y72zmemf.js → tool-eeaf82dq.js} +8 -8
- package/dist/chunks/{reference-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
- package/dist/chunks/{reference-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-zjtrsxny.js → tool-eh6ej367.js} +5 -5
- package/dist/chunks/{reference-1311jqsc.js → tool-ehyjreag.js} +12 -12
- package/dist/chunks/{reference-5527nycg.js → tool-en4jjy2t.js} +25 -25
- package/dist/chunks/{reference-1fq98kjr.js → tool-enceqnms.js} +11 -11
- package/dist/chunks/{reference-wa9g86nq.js → tool-espax8zg.js} +4 -4
- package/dist/chunks/{reference-vm7c5k2y.js → tool-exasynrg.js} +3 -3
- package/dist/chunks/{reference-dpkg50ah.js → tool-f0nz223j.js} +4 -4
- package/dist/chunks/{reference-e9mw71vf.js → tool-f8a4hwr2.js} +11 -11
- package/dist/chunks/{reference-zy8qbqak.js → tool-f8c51dk5.js} +13 -13
- package/dist/chunks/{reference-7dqw4kz8.js → tool-fcrkznn8.js} +5 -5
- package/dist/chunks/{reference-jwyrdafh.js → tool-fdv8dmm1.js} +16 -16
- package/dist/chunks/{reference-x8h454cx.js → tool-fkpfeb1d.js} +27 -27
- package/dist/chunks/{reference-rsz0h36s.js → tool-fmabef4g.js} +33 -33
- package/dist/chunks/{reference-jfzdx66h.js → tool-fprpd8rr.js} +9 -9
- package/dist/chunks/{reference-r8f59mgg.js → tool-fr6f0teb.js} +26 -26
- package/dist/chunks/{reference-z4h9wx76.js → tool-fwa0h3zy.js} +28 -28
- package/dist/chunks/{reference-azemn7z6.js → tool-g5j27e7f.js} +9 -9
- package/dist/chunks/{reference-d7x0sh0y.js → tool-g686f6pq.js} +9 -9
- package/dist/chunks/{reference-y41eqcyh.js → tool-g6q255vp.js} +25 -25
- package/dist/chunks/{reference-wx7k6370.js → tool-g8a3dkpa.js} +23 -23
- package/dist/chunks/{reference-3njtpr6j.js → tool-ga7mt0se.js} +9 -9
- package/dist/chunks/{reference-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-9dtek7rd.js → tool-gg52rjyc.js} +30 -30
- package/dist/chunks/{reference-gn5tm0bv.js → tool-gpvphjq8.js} +7 -7
- package/dist/chunks/{reference-48s9929f.js → tool-gv51xe32.js} +18 -18
- package/dist/chunks/{reference-ec56ww6f.js → tool-h28ky92f.js} +24 -24
- package/dist/chunks/{reference-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-h7s7r6s9.js → tool-h7s7r6s9.js} +2 -2
- package/dist/chunks/{reference-7zt5x37y.js → tool-he27pt63.js} +1 -1
- package/dist/chunks/{reference-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
- package/dist/chunks/{reference-91qna3x0.js → tool-j09zfasm.js} +3 -3
- package/dist/chunks/{reference-rpz1svrt.js → tool-j49xa6cy.js} +1 -1
- package/dist/chunks/{reference-hy1n1we9.js → tool-jabbs2pc.js} +47 -47
- package/dist/chunks/{reference-kph0xsh6.js → tool-jb4mrxfg.js} +17 -17
- package/dist/chunks/{reference-f8p265gv.js → tool-jc5z6esd.js} +11 -11
- package/dist/chunks/{reference-aad9zq7v.js → tool-jcc9efy7.js} +15 -15
- package/dist/chunks/{reference-t4p70czd.js → tool-jgxf7b5z.js} +11 -11
- package/dist/chunks/{reference-5697ag0y.js → tool-jh7q4nc1.js} +23 -23
- package/dist/chunks/{reference-9cjp3vjk.js → tool-jjw2fst0.js} +11 -11
- package/dist/chunks/{reference-d1bka95m.js → tool-jmsw07fh.js} +6 -6
- package/dist/chunks/{reference-fvgfymht.js → tool-jpakg8mx.js} +11 -11
- package/dist/chunks/{reference-p37hdxy1.js → tool-jqsqbmjz.js} +46 -46
- package/dist/chunks/{reference-jvf3yq6v.js → tool-jvf3yq6v.js} +1 -1
- package/dist/chunks/{reference-y456k0gx.js → tool-jvtxec42.js} +24 -24
- package/dist/chunks/{reference-agvdfdvn.js → tool-k7b35hhb.js} +5 -5
- package/dist/chunks/{reference-khmqacep.js → tool-khmqacep.js} +1 -1
- package/dist/chunks/{reference-vz1ztd4p.js → tool-kkcq69qv.js} +24 -24
- package/dist/chunks/{reference-ys0m66b2.js → tool-kp9fp1hg.js} +28 -28
- package/dist/chunks/{reference-e8vwfchq.js → tool-ktw141zw.js} +6 -6
- package/dist/chunks/{reference-ve45bn9x.js → tool-kwh0g9yr.js} +6 -6
- package/dist/chunks/{reference-p474d7yp.js → tool-m01k28hg.js} +11 -11
- package/dist/chunks/{reference-axfvp7va.js → tool-m1z5ek08.js} +8 -8
- package/dist/chunks/{reference-x7qcbpvq.js → tool-m22hh5g2.js} +36 -36
- package/dist/chunks/{reference-cnzx7642.js → tool-m6vhnv41.js} +13 -13
- package/dist/chunks/{reference-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-maspj1v3.js → tool-maspj1v3.js} +1 -1
- package/dist/chunks/{reference-nywhfaw1.js → tool-mbdexebc.js} +9 -9
- package/dist/chunks/{reference-jk540des.js → tool-mcgg1rg4.js} +14 -6
- package/dist/chunks/{reference-97aeaand.js → tool-mqqhst8y.js} +4 -4
- package/dist/chunks/{reference-51f5btjf.js → tool-mx9vqzsb.js} +6 -6
- package/dist/chunks/{reference-hfbyhya8.js → tool-n19kh25r.js} +9 -9
- package/dist/chunks/{reference-drqqcwyg.js → tool-n721bpxh.js} +57 -57
- package/dist/chunks/{reference-sy99d12a.js → tool-n9asf4py.js} +21 -21
- package/dist/chunks/{reference-drqybash.js → tool-n9axg7zh.js} +4 -4
- package/dist/chunks/{reference-rtg68wpk.js → tool-nck54nhp.js} +23 -23
- package/dist/chunks/{reference-1kwkgjs8.js → tool-nncsyyge.js} +12 -12
- package/dist/chunks/{reference-p42hj8p8.js → tool-pa8pe2x7.js} +8 -8
- package/dist/chunks/{reference-q53541n0.js → tool-pbzbjmff.js} +34 -34
- package/dist/chunks/{reference-wwh6ay7x.js → tool-pf9eybg4.js} +22 -22
- package/dist/chunks/{reference-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{reference-7m8vhqjz.js → tool-pr04h4tn.js} +3 -3
- package/dist/chunks/{reference-krdwghjp.js → tool-prg7pynr.js} +5 -5
- package/dist/chunks/{reference-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
- package/dist/chunks/{reference-gn31e51v.js → tool-q9099wq0.js} +11 -11
- package/dist/chunks/{reference-8d801c91.js → tool-qa5pp94n.js} +8 -8
- package/dist/chunks/{reference-3jxt0407.js → tool-qbxqra2w.js} +4 -4
- package/dist/chunks/tool-qc068m1q.js +18 -0
- package/dist/chunks/{reference-ew5jdcsq.js → tool-qdafbg7b.js} +91 -91
- package/dist/chunks/{reference-g6q9qykm.js → tool-qmqgtz8f.js} +9 -9
- package/dist/chunks/{reference-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{reference-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/tool-qtqva6ax.js +253 -0
- package/dist/chunks/{reference-4cqhq9mq.js → tool-r0b0zdb7.js} +19 -19
- package/dist/chunks/{reference-4jfm27c9.js → tool-r6ewd7yw.js} +11 -11
- package/dist/chunks/{reference-nkqw9m3h.js → tool-r9z49qnw.js} +22 -22
- package/dist/chunks/{reference-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{reference-tkb22qbm.js → tool-rert0e01.js} +2 -2
- package/dist/chunks/{reference-c41wscbt.js → tool-rj3eygr5.js} +2 -2
- package/dist/chunks/{reference-g7y6ccmm.js → tool-rxva3spn.js} +20 -20
- package/dist/chunks/{reference-dz85ej5f.js → tool-s1s9gt8f.js} +16 -16
- package/dist/chunks/{reference-gw8exty3.js → tool-s2b5phw1.js} +19 -19
- package/dist/chunks/{reference-p70m11t7.js → tool-s2j6jbe4.js} +11 -11
- package/dist/chunks/{reference-3ec2hwya.js → tool-s43hmkm2.js} +13 -13
- package/dist/chunks/{reference-c8ax2afj.js → tool-sa8ekw3f.js} +2 -2
- package/dist/chunks/{reference-s0kdr57z.js → tool-sgs6tqcg.js} +18 -18
- package/dist/chunks/{reference-ed1g29hy.js → tool-sxcaecc0.js} +3 -3
- package/dist/chunks/{reference-syv4x271.js → tool-syv4x271.js} +1 -1
- package/dist/chunks/{reference-hvg0snfm.js → tool-t0stdxg1.js} +16 -16
- package/dist/chunks/{reference-78824m1b.js → tool-t27cpqqf.js} +14 -14
- package/dist/chunks/{reference-azpyr670.js → tool-t3zshges.js} +11 -11
- package/dist/chunks/{reference-eaj1djv9.js → tool-t550f9t1.js} +8 -8
- package/dist/chunks/{reference-vcp5fwvv.js → tool-t7t1s02j.js} +19 -19
- package/dist/chunks/{reference-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{reference-q5423ys8.js → tool-teddrkej.js} +36 -36
- package/dist/chunks/{reference-1qqmef8y.js → tool-tkwrxyh9.js} +35 -35
- package/dist/chunks/{reference-tm0kqsz3.js → tool-tm0kqsz3.js} +1 -1
- package/dist/chunks/{reference-01es0w8g.js → tool-tp63ett8.js} +11 -11
- package/dist/chunks/{reference-htrk4y28.js → tool-twvynhvt.js} +9 -9
- package/dist/chunks/{reference-j58c5xyq.js → tool-tyjrg911.js} +9 -9
- package/dist/chunks/{reference-tyytaxap.js → tool-tyytaxap.js} +1 -1
- package/dist/chunks/{reference-cxy0as94.js → tool-v42hp0t0.js} +50 -50
- package/dist/chunks/{reference-rygkxn9n.js → tool-v4cvsrx9.js} +44 -44
- package/dist/chunks/{reference-1fmrbde1.js → tool-v4nfzjvf.js} +8 -8
- package/dist/chunks/{reference-rqraeqvr.js → tool-v5qvjexb.js} +4 -4
- package/dist/chunks/{reference-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
- package/dist/chunks/{reference-9v5dq8n9.js → tool-vb6sw3y2.js} +21 -21
- package/dist/chunks/{reference-nsxf7brj.js → tool-vdnkbznm.js} +36 -36
- package/dist/chunks/{reference-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-k4fxrsyq.js → tool-vgsjm2js.js} +15 -15
- package/dist/chunks/{reference-4f65x4ny.js → tool-vn4qg1y1.js} +334 -334
- package/dist/chunks/{reference-1wws9p1z.js → tool-vq6g8cn6.js} +15 -15
- package/dist/chunks/{reference-51vcra35.js → tool-vsp43hx6.js} +11 -11
- package/dist/chunks/{reference-36nn25hb.js → tool-vw9027f9.js} +32 -32
- package/dist/chunks/{reference-qxzvmfjp.js → tool-vx1yezxz.js} +4 -4
- package/dist/chunks/{reference-1n7cf0zt.js → tool-vzjqqmke.js} +13 -13
- package/dist/chunks/{reference-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{reference-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-f7b5ncsd.js → tool-w6v0a0a0.js} +23 -23
- package/dist/chunks/{reference-rkprpv83.js → tool-w92k2e0p.js} +8 -8
- package/dist/chunks/{reference-n1shqbp3.js → tool-wd141nz2.js} +22 -22
- package/dist/chunks/{reference-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{reference-jhzvven8.js → tool-wn04sytp.js} +7 -7
- package/dist/chunks/{reference-c74bvw4q.js → tool-wpvb0vtd.js} +13 -13
- package/dist/chunks/{reference-84d4sta2.js → tool-wqm3ja7g.js} +40 -40
- package/dist/chunks/{reference-vt08q70p.js → tool-wwx93a2b.js} +14 -14
- package/dist/chunks/{reference-nm3w2d7y.js → tool-wyszaa0p.js} +23 -23
- package/dist/chunks/{reference-qs0nx109.js → tool-x2a7tbvm.js} +25 -25
- package/dist/chunks/{reference-gqtdsdt7.js → tool-x661k3y3.js} +4 -4
- package/dist/chunks/{reference-n5esxn5z.js → tool-xa2yqved.js} +32 -32
- package/dist/chunks/{reference-63zg3mg5.js → tool-xahevxwt.js} +22 -22
- package/dist/chunks/{reference-rtdaykpn.js → tool-xcd5qje4.js} +20 -20
- package/dist/chunks/{reference-d9zmkgd4.js → tool-xjjxg6fg.js} +20 -20
- package/dist/chunks/{reference-gwf8vbvc.js → tool-xkgdf0k8.js} +20 -20
- package/dist/chunks/{reference-n5xpsxq8.js → tool-xkskqrtp.js} +44 -44
- package/dist/chunks/{reference-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/tool-y7mkpdv1.js +26 -0
- package/dist/chunks/{reference-je5d3c79.js → tool-yd6x1vtb.js} +17 -17
- package/dist/chunks/{reference-1acjjqhc.js → tool-yp2x3t23.js} +4 -4
- package/dist/chunks/{reference-wjr9rjd7.js → tool-ywt8jp22.js} +6 -6
- package/dist/chunks/{reference-4t88j5bp.js → tool-yy7ctzsd.js} +26 -26
- package/dist/chunks/{reference-mpssfq2q.js → tool-yyptd6zt.js} +8 -8
- package/dist/chunks/{reference-gm24xgn7.js → tool-z082bpte.js} +28 -28
- package/dist/chunks/{reference-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-55t5gfwz.js → tool-z44d18ne.js} +9 -9
- package/dist/chunks/{reference-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-gw7cjrad.js → tool-zsr4wwhv.js} +4 -4
- package/dist/chunks/{reference-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{reference-hdkng2sj.js → tool-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- 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 +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/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 +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/reference-9r6rs471.js +0 -26
- package/dist/chunks/reference-by5v678g.js +0 -18
- package/dist/chunks/reference-sm5yn6ps.js +0 -253
- /package/dist/chunks/{reference-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{reference-pyv0edze.js → tool-pyv0edze.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./tool-dp9e102f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./tool-v42hp0t0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service25
|
|
9
|
+
} from "./tool-vq6g8cn6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make4
|
|
12
|
+
} from "./tool-sxcaecc0.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin31
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin31 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service62;
|
|
36
|
+
const formatter = yield* Service25;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service79;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin19 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make4({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin31, exports_formatter };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-s2j6jbe4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./tool-e58xrjgm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./tool-teddrkej.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-x661k3y3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-fmabef4g.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service17
|
|
21
|
+
} from "./tool-n19kh25r.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-49zdgxhw.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-3cdf983x.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID3,
|
|
32
|
+
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-kp9fp1hg.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
57
57
|
var RemoteResponse = Schema.Struct({
|
|
58
58
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
59
59
|
websearch: Schema.Struct({
|
|
60
|
-
providerID:
|
|
60
|
+
providerID: ID3
|
|
61
61
|
}).pipe(Schema.optional),
|
|
62
62
|
mcp: Schema.Struct({
|
|
63
63
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -108,7 +108,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
108
108
|
}
|
|
109
109
|
function oauth(http) {
|
|
110
110
|
return {
|
|
111
|
-
integrationID:
|
|
111
|
+
integrationID: ID13.make("opencode"),
|
|
112
112
|
method: {
|
|
113
113
|
id: methodID,
|
|
114
114
|
type: "oauth",
|
|
@@ -172,10 +172,10 @@ function oauth(http) {
|
|
|
172
172
|
var OpencodePlugin2 = define({
|
|
173
173
|
id: "opencode.provider.opencode",
|
|
174
174
|
effect: Effect.fn(function* (ctx) {
|
|
175
|
-
const bus = yield*
|
|
175
|
+
const bus = yield* Service82;
|
|
176
176
|
const client = yield* HttpClient.HttpClient;
|
|
177
177
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
178
|
-
const managed = yield*
|
|
178
|
+
const managed = yield* Service17;
|
|
179
179
|
const scope = yield* Scope.Scope;
|
|
180
180
|
const loading = Semaphore.makeUnsafe(1);
|
|
181
181
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
providers.update(providerID, (provider) => {
|
|
228
228
|
if (source && source.provider !== provider)
|
|
229
229
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
230
|
-
provider.integrationID =
|
|
230
|
+
provider.integrationID = ID13.make("opencode");
|
|
231
231
|
if (item.canonical !== undefined)
|
|
232
232
|
provider.canonical = item.canonical;
|
|
233
233
|
if (item.name !== undefined)
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
sourceConnection: snapshot.connection
|
|
294
294
|
});
|
|
295
295
|
}
|
|
296
|
-
const item = providers.get(
|
|
296
|
+
const item = providers.get(ID12.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -305,7 +305,7 @@ var OpencodePlugin2 = define({
|
|
|
305
305
|
});
|
|
306
306
|
});
|
|
307
307
|
yield* ctx.model.transform((models) => {
|
|
308
|
-
const item = models.provider.get(
|
|
308
|
+
const item = models.provider.get(ID12.opencode);
|
|
309
309
|
if (!item)
|
|
310
310
|
return;
|
|
311
311
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -339,7 +339,7 @@ var OpencodePlugin2 = define({
|
|
|
339
339
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
340
340
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
341
341
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
342
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
342
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
343
343
|
query: input.query,
|
|
344
344
|
providerID: descriptor.providerID
|
|
345
345
|
}));
|
|
@@ -394,10 +394,10 @@ var OpencodePlugin2 = define({
|
|
|
394
394
|
});
|
|
395
395
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
396
396
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
397
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
397
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
398
398
|
});
|
|
399
399
|
yield* guard(snapshot);
|
|
400
|
-
yield* bus.subscribe(
|
|
400
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
401
401
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
402
402
|
})
|
|
403
403
|
});
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./tool-cyt5dtwd.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service81;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make15 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./tool-n721bpxh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service54
|
|
10
|
+
} from "./tool-e8ajjxsc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input10,
|
|
19
|
+
Output: () => Output6,
|
|
20
|
+
Plugin: () => Plugin11,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description5,
|
|
23
|
+
name: () => name10,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name10 = "skill";
|
|
30
|
+
var Input10 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output6 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description5 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin11 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service54;
|
|
51
|
+
const permission = yield* Service69;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name10,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description5,
|
|
56
|
+
input: Input10,
|
|
57
|
+
output: Output6,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name10,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin42 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name10, Input10, Output6, description5, toModelOutput2, Plugin11, exports_skill };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service31,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node35
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service31 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service31.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
372
|
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node35 = makeGlobalNode({ service: Service31, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service31, makeLayer2, layer14, node35, exports_model_transport };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info18,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info18 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info18, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make5,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
60
60
|
return { retry: true, attempt, delay: normalized };
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
64
64
|
const decide = yield* policy2(sessionID);
|
|
65
65
|
const wait = (input) => Effect.gen(function* () {
|
|
66
66
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -77,4 +77,4 @@ var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
77
77
|
return { decide, wait };
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { isRetryable2, policy2,
|
|
80
|
+
export { isRetryable2, policy2, make5, exports_retry };
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
render3,
|
|
3
3
|
update3,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
4
|
+
make15,
|
|
5
|
+
exports_instructions5
|
|
6
|
+
} from "../chunks/tool-2bekqz3a.js";
|
|
7
|
+
import"../chunks/tool-3fc6dm20.js";
|
|
8
|
+
import"../chunks/tool-t550f9t1.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
exports_instructions5 as CodeModeInstructions,
|
|
11
|
+
make15 as make,
|
|
12
|
+
render3 as render,
|
|
13
13
|
update3 as update
|
|
14
14
|
};
|
package/dist/codemode/tool.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
create2,
|
|
3
3
|
catalog2,
|
|
4
4
|
exports_tool2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/tool-j09zfasm.js";
|
|
6
|
+
import"../chunks/tool-pyv0edze.js";
|
|
7
|
+
import"../chunks/tool-syv4x271.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_tool2 as CodeModeTool,
|
|
10
10
|
catalog2 as catalog,
|