@opencode-ai/core 0.0.0-beta-19151 → 0.0.0-beta-19157
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{bus-36mzbjn4.js → wellknown-024e4rjz.js} +9 -5
- package/dist/chunks/{bus-ygw7vpbc.js → wellknown-03z534ys.js} +6 -6
- package/dist/chunks/{bus-m7vkk1dw.js → wellknown-041mrh4x.js} +25 -25
- package/dist/chunks/{bus-0e0xafbb.js → wellknown-0e0xafbb.js} +2 -2
- package/dist/chunks/{bus-nb0eyw3j.js → wellknown-0krgqetd.js} +45 -45
- package/dist/chunks/{bus-e5b0qn1c.js → wellknown-0n6t9trj.js} +1 -1
- package/dist/chunks/{bus-nep1jn7g.js → wellknown-0nk2sz5z.js} +25 -25
- package/dist/chunks/{bus-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0s9ayhjt.js → wellknown-0s9ayhjt.js} +1 -1
- package/dist/chunks/{bus-pem2nq6m.js → wellknown-0z4qk8xt.js} +4 -4
- package/dist/chunks/{bus-s45j2666.js → wellknown-174menj9.js} +32 -32
- package/dist/chunks/{bus-x7mven0m.js → wellknown-187zhppa.js} +8 -8
- package/dist/chunks/{bus-nysebb6s.js → wellknown-1a0y61fc.js} +18 -18
- package/dist/chunks/{bus-1ct4r87x.js → wellknown-1ct4r87x.js} +1 -1
- package/dist/chunks/{bus-cqdj2zee.js → wellknown-1zjgdmhv.js} +16 -16
- package/dist/chunks/{bus-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{bus-m909ryej.js → wellknown-23ym420b.js} +18 -18
- package/dist/chunks/{bus-2402vzrj.js → wellknown-2402vzrj.js} +1 -1
- package/dist/chunks/{bus-1z80kc63.js → wellknown-28pcbh69.js} +8 -8
- package/dist/chunks/{bus-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-r33ff4dw.js → wellknown-2d57kztd.js} +5 -5
- package/dist/chunks/{bus-2ht70gj7.js → wellknown-2ht70gj7.js} +1 -1
- package/dist/chunks/{bus-h9vk3x5a.js → wellknown-2j3d2w2t.js} +13 -13
- package/dist/chunks/{bus-2jqmte8w.js → wellknown-2jqmte8w.js} +2 -2
- package/dist/chunks/{bus-qgn6gcr1.js → wellknown-2k8khapm.js} +5 -5
- package/dist/chunks/{bus-a494ggh4.js → wellknown-2kj0pn7y.js} +14 -14
- package/dist/chunks/{bus-xx52rexs.js → wellknown-2w4chj1g.js} +4 -4
- package/dist/chunks/{bus-j1pn5v0m.js → wellknown-37ct2frz.js} +17 -17
- package/dist/chunks/{bus-3hf4cecm.js → wellknown-39sgaahe.js} +25 -25
- package/dist/chunks/{bus-kw84e4xy.js → wellknown-3d43f50e.js} +6 -6
- package/dist/chunks/{bus-k2ahb10n.js → wellknown-3e5q22gm.js} +25 -25
- package/dist/chunks/{bus-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-9d4efts8.js → wellknown-3g2y1byn.js} +5 -5
- package/dist/chunks/{bus-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-wgxn7ww3.js → wellknown-3n69mpxt.js} +4 -4
- package/dist/chunks/{bus-94vsv0sa.js → wellknown-3n75mgw6.js} +19 -19
- package/dist/chunks/{bus-3qzbfqsy.js → wellknown-3qzbfqsy.js} +2 -2
- package/dist/chunks/{bus-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-crh3pn7j.js → wellknown-3z627vwq.js} +9 -9
- package/dist/chunks/{bus-famd3pv6.js → wellknown-41mncz27.js} +5 -5
- package/dist/chunks/{bus-454k5vzh.js → wellknown-454k5vzh.js} +1 -1
- package/dist/chunks/{bus-3dj32zjz.js → wellknown-46v7nc60.js} +20 -20
- package/dist/chunks/{bus-fnxzs0zj.js → wellknown-49hz62j1.js} +22 -22
- package/dist/chunks/{bus-hhaz7as1.js → wellknown-4a5fwm7b.js} +17 -17
- package/dist/chunks/{bus-gdyavges.js → wellknown-4afpmjwz.js} +27 -27
- package/dist/chunks/{bus-x1nkgr2s.js → wellknown-4br8j3xe.js} +41 -41
- package/dist/chunks/{bus-zn2pq4p8.js → wellknown-4hh0p0ng.js} +5 -5
- package/dist/chunks/{bus-4r2nyarf.js → wellknown-4r2nyarf.js} +1 -1
- package/dist/chunks/wellknown-5310qyg9.js +18 -0
- package/dist/chunks/{bus-8ryk0bb9.js → wellknown-5d17xbav.js} +5 -5
- package/dist/chunks/{bus-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-5fmxt4p5.js → wellknown-5fmxt4p5.js} +1 -1
- package/dist/chunks/{bus-rmy3e5eg.js → wellknown-5hannepb.js} +3 -3
- package/dist/chunks/{bus-5jvc5tg2.js → wellknown-5jvc5tg2.js} +1 -1
- package/dist/chunks/{bus-14hmenm3.js → wellknown-5zc2x0sb.js} +3 -3
- package/dist/chunks/{bus-pchw21vv.js → wellknown-663b6dh9.js} +14 -14
- package/dist/chunks/{bus-ccgr98mz.js → wellknown-66y1b5dw.js} +9 -9
- package/dist/chunks/{bus-c8afrcwz.js → wellknown-67gs2z40.js} +18 -18
- package/dist/chunks/{bus-6z5bwd8g.js → wellknown-6abnk40k.js} +9 -9
- package/dist/chunks/{bus-arsbtf4n.js → wellknown-6ba29tk2.js} +22 -22
- package/dist/chunks/{bus-5rj9yf9k.js → wellknown-6jcrhkhg.js} +14 -14
- package/dist/chunks/{bus-ez5b8bq3.js → wellknown-6jdg21kp.js} +85 -71
- package/dist/chunks/{bus-mcxg6pmm.js → wellknown-6ta01fq9.js} +1 -1
- package/dist/chunks/{bus-ers0pt04.js → wellknown-6w9g96bv.js} +22 -22
- package/dist/chunks/{bus-711hfp6y.js → wellknown-711hfp6y.js} +2 -2
- package/dist/chunks/{bus-72nftnjy.js → wellknown-72nftnjy.js} +2 -2
- package/dist/chunks/{bus-5dbnxb1n.js → wellknown-75ws2xfr.js} +7 -7
- package/dist/chunks/{bus-6qpq0xzz.js → wellknown-76xf8n6j.js} +16 -16
- package/dist/chunks/{bus-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-3wfq9j39.js → wellknown-7nh4ntd5.js} +12 -12
- package/dist/chunks/{bus-y00kh1j2.js → wellknown-7thqmzsc.js} +82 -82
- package/dist/chunks/{bus-xpj7ktyz.js → wellknown-7wp9r7ba.js} +29 -29
- package/dist/chunks/wellknown-7zk4hah4.js +4 -0
- package/dist/chunks/{bus-mngcm6jy.js → wellknown-888k7gfv.js} +10 -10
- package/dist/chunks/{bus-nhet2z82.js → wellknown-8a3y5q1n.js} +32 -32
- package/dist/chunks/{bus-mr8a2cts.js → wellknown-8r5whp28.js} +4 -4
- package/dist/chunks/{bus-rzsjt7my.js → wellknown-8s80arjs.js} +18 -18
- package/dist/chunks/{bus-g41n1fn3.js → wellknown-917dq7d6.js} +5 -5
- package/dist/chunks/{bus-hv52frfs.js → wellknown-920cr0mh.js} +21 -21
- package/dist/chunks/{bus-ecj1d35v.js → wellknown-93wzm26s.js} +8 -8
- package/dist/chunks/{bus-86s3977f.js → wellknown-96tsfsen.js} +1 -1
- package/dist/chunks/{bus-zp7etnvg.js → wellknown-987p19s4.js} +12 -12
- package/dist/chunks/{bus-ca0hpr7t.js → wellknown-98rh1jc3.js} +11 -11
- package/dist/chunks/{bus-wp43gv37.js → wellknown-99m4pprq.js} +10 -10
- package/dist/chunks/{bus-k2x2knng.js → wellknown-9e966tng.js} +24 -24
- package/dist/chunks/{bus-qvbcabdc.js → wellknown-9qm9egsn.js} +2 -2
- package/dist/chunks/{bus-7prj1563.js → wellknown-9ttajpzr.js} +16 -16
- package/dist/chunks/{bus-jnq64gng.js → wellknown-9wt3tsrn.js} +29 -29
- package/dist/chunks/{bus-9d4wfkp0.js → wellknown-a4bdw771.js} +30 -30
- package/dist/chunks/{bus-007dvjm0.js → wellknown-a4cbam25.js} +20 -20
- package/dist/chunks/{bus-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-t8am0cpd.js → wellknown-aaf6tv83.js} +4 -4
- package/dist/chunks/{bus-xp26bn8e.js → wellknown-adysj9cr.js} +15 -15
- package/dist/chunks/{bus-yg7sb877.js → wellknown-ajtjthsy.js} +2 -2
- package/dist/chunks/{bus-2y34zzjz.js → wellknown-apn8f15b.js} +9 -9
- package/dist/chunks/{bus-nhp7y9q2.js → wellknown-avahfm6t.js} +28 -28
- package/dist/chunks/{bus-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-b9wsbatv.js → wellknown-b9wsbatv.js} +1 -1
- package/dist/chunks/{bus-tqqej2s1.js → wellknown-ba723ajb.js} +8 -8
- package/dist/chunks/{bus-ykcesz1b.js → wellknown-barxnhzp.js} +4 -4
- package/dist/chunks/{bus-exbytbx3.js → wellknown-bfdnm1te.js} +9 -9
- package/dist/chunks/{bus-6s48shje.js → wellknown-bmr4rzrd.js} +3 -3
- package/dist/chunks/{bus-hfr11a94.js → wellknown-bskj9zs2.js} +9 -9
- package/dist/chunks/{bus-7httqr41.js → wellknown-bth0hr76.js} +18 -18
- package/dist/chunks/{bus-v3bjms6p.js → wellknown-bwm9kjcw.js} +46 -46
- package/dist/chunks/wellknown-bxw8fhk8.js +247 -0
- package/dist/chunks/{bus-ds0rx3zk.js → wellknown-c2j3fvxb.js} +16 -16
- package/dist/chunks/{bus-qkzfms5c.js → wellknown-c7s9k239.js} +4 -4
- package/dist/chunks/{bus-93131cf0.js → wellknown-ceqnmb02.js} +5 -5
- package/dist/chunks/{bus-xqsy6kp0.js → wellknown-cmdp56dw.js} +1 -1
- package/dist/chunks/{bus-mnj85pt4.js → wellknown-d2x6rcjx.js} +12 -12
- package/dist/chunks/{bus-g2gt0w0k.js → wellknown-d72308c8.js} +2 -2
- package/dist/chunks/{bus-cfrqkav1.js → wellknown-dapwfvd2.js} +37 -37
- package/dist/chunks/{bus-a3x9xvd8.js → wellknown-djtdz80w.js} +4 -4
- package/dist/chunks/{bus-099ksjr7.js → wellknown-dk9a5vne.js} +5 -5
- package/dist/chunks/{bus-rk0dvaye.js → wellknown-dmwgd9rj.js} +11 -11
- package/dist/chunks/{bus-br62jje5.js → wellknown-e9z9h9yy.js} +38 -38
- package/dist/chunks/{bus-0x9msrqt.js → wellknown-fkwg44rt.js} +19 -19
- package/dist/chunks/{bus-708bhwm5.js → wellknown-frb89zj9.js} +15 -15
- package/dist/chunks/{bus-fxbjtjnd.js → wellknown-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-fxypknc8.js → wellknown-fxypknc8.js} +1 -1
- package/dist/chunks/{bus-e5pxfhgv.js → wellknown-g585tkj2.js} +4 -4
- package/dist/chunks/{bus-yyebksmm.js → wellknown-g5wgwrzw.js} +2 -2
- package/dist/chunks/{bus-5g33tj6b.js → wellknown-g94f0f01.js} +18 -18
- package/dist/chunks/{bus-g1w7kbk3.js → wellknown-gb89bdhv.js} +17 -17
- package/dist/chunks/{bus-n3rn9b9d.js → wellknown-gbmaq3ra.js} +46 -46
- package/dist/chunks/{bus-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-570hbvwx.js → wellknown-gqy8qs28.js} +10 -10
- package/dist/chunks/{bus-b2wj7kwr.js → wellknown-gw5qc7da.js} +11 -11
- package/dist/chunks/{bus-19ghveyz.js → wellknown-h0ehx5mk.js} +11 -11
- package/dist/chunks/{bus-0ez61b8c.js → wellknown-h5xdhsym.js} +2 -2
- package/dist/chunks/{bus-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-gpxh8apv.js → wellknown-h7shmymb.js} +15 -15
- package/dist/chunks/{bus-53gb87fg.js → wellknown-hcx11q7e.js} +43 -43
- package/dist/chunks/{bus-heyhwy2w.js → wellknown-heyhwy2w.js} +1 -1
- package/dist/chunks/{bus-hha4zry8.js → wellknown-hha4zry8.js} +1 -1
- package/dist/chunks/{bus-hen36v2j.js → wellknown-hhfqndnr.js} +20 -20
- package/dist/chunks/{bus-tn3hnqfz.js → wellknown-hhvbpypa.js} +10 -10
- package/dist/chunks/{bus-rfgs2k4e.js → wellknown-hnpt5b9g.js} +33 -33
- package/dist/chunks/{bus-bcezcar3.js → wellknown-hnyf01b0.js} +5 -5
- package/dist/chunks/{bus-g2dy4bvs.js → wellknown-hrvm11jt.js} +3 -3
- package/dist/chunks/{bus-hw4pv20g.js → wellknown-hw4pv20g.js} +2 -2
- package/dist/chunks/{bus-mzgjcdh7.js → wellknown-hwhktdy4.js} +27 -27
- package/dist/chunks/{bus-qcc87r2a.js → wellknown-j3pby61b.js} +6 -6
- package/dist/chunks/{bus-x5ga9etc.js → wellknown-j8fxhnqh.js} +24 -24
- package/dist/chunks/{bus-g4pn5evg.js → wellknown-jbhh2rmh.js} +8 -8
- package/dist/chunks/{bus-mx2vryrr.js → wellknown-jbzwckha.js} +21 -21
- package/dist/chunks/{bus-azaycewg.js → wellknown-jenf2w30.js} +20 -20
- package/dist/chunks/{bus-y01np14z.js → wellknown-jfvmqd5d.js} +17 -17
- package/dist/chunks/{bus-b8nbcbsg.js → wellknown-jk4n7dck.js} +11 -11
- package/dist/chunks/{bus-jwcy2c2z.js → wellknown-jwcy2c2z.js} +1 -1
- package/dist/chunks/{bus-y7pta2mg.js → wellknown-jxc8y161.js} +30 -30
- package/dist/chunks/{bus-593bc3zc.js → wellknown-k2kb66cj.js} +5 -5
- package/dist/chunks/{bus-k4bwy1x5.js → wellknown-k4bwy1x5.js} +1 -1
- package/dist/chunks/{bus-ymy83g1g.js → wellknown-kademwqx.js} +11 -11
- package/dist/chunks/{bus-0mccjmkq.js → wellknown-kbndngdv.js} +34 -34
- package/dist/chunks/{bus-p1xeps0x.js → wellknown-kcz3kyzp.js} +20 -20
- package/dist/chunks/{bus-kg06axw8.js → wellknown-kg06axw8.js} +1 -1
- package/dist/chunks/{bus-9r4cyneb.js → wellknown-kjm195mv.js} +20 -20
- package/dist/chunks/{bus-yfbd16n1.js → wellknown-kk3rr3qh.js} +5 -5
- package/dist/chunks/wellknown-kpe4sfyz.js +20 -0
- package/dist/chunks/{bus-ar6r26gf.js → wellknown-m1c4gy78.js} +30 -30
- package/dist/chunks/{bus-637qq8n2.js → wellknown-m5045k8y.js} +9 -9
- package/dist/chunks/{bus-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-v1p1x004.js → wellknown-mafkkaev.js} +3 -3
- package/dist/chunks/{bus-88ev9a66.js → wellknown-mfmy0k16.js} +8 -8
- package/dist/chunks/{bus-jy1b6ewz.js → wellknown-mhyp03ce.js} +6 -6
- package/dist/chunks/{bus-g7fn2nxc.js → wellknown-mjzbwbtj.js} +30 -30
- package/dist/chunks/{bus-cyn6trz2.js → wellknown-mp00anfa.js} +6 -6
- package/dist/chunks/{bus-wgc2mr3y.js → wellknown-mt6mcg2h.js} +2 -2
- package/dist/chunks/{bus-1bbkgx8g.js → wellknown-mvfsc1pv.js} +3 -3
- package/dist/chunks/{bus-4ttn3f9n.js → wellknown-n149779n.js} +15 -15
- package/dist/chunks/{bus-mxevvyah.js → wellknown-n2dzf7ax.js} +11 -11
- package/dist/chunks/{bus-w1jjwhhz.js → wellknown-n52mxx0b.js} +21 -21
- package/dist/chunks/{bus-m3fm0fm8.js → wellknown-n95nq84g.js} +5 -5
- package/dist/chunks/{bus-psy76y9c.js → wellknown-na7k47ng.js} +6 -6
- package/dist/chunks/{bus-4z6b0fg6.js → wellknown-nga86p6q.js} +6 -6
- package/dist/chunks/{bus-d2rwh673.js → wellknown-ngabqghr.js} +17 -17
- package/dist/chunks/{bus-48186013.js → wellknown-nhjpgrh4.js} +15 -15
- package/dist/chunks/{bus-tkptkkba.js → wellknown-njfaq3nk.js} +24 -24
- package/dist/chunks/{bus-mn4d6yy8.js → wellknown-nmdpg4hr.js} +26 -26
- package/dist/chunks/{bus-6zyntcx9.js → wellknown-nn46x40y.js} +3 -3
- package/dist/chunks/{bus-vffa83p2.js → wellknown-nqmxhx1w.js} +31 -31
- package/dist/chunks/{bus-bgjx49te.js → wellknown-ny9q6q4v.js} +23 -23
- package/dist/chunks/{bus-kkxjn8gg.js → wellknown-nykyeqwq.js} +7 -7
- package/dist/chunks/{bus-v9vvq96z.js → wellknown-nz7wfeq1.js} +39 -39
- package/dist/chunks/{bus-74k3x0m5.js → wellknown-p7eywz5b.js} +24 -24
- package/dist/chunks/{bus-3dpaf6yv.js → wellknown-pedw5n3n.js} +62 -62
- package/dist/chunks/{bus-8kg6mr26.js → wellknown-pgnp76q4.js} +19 -19
- package/dist/chunks/{bus-5jmn74tv.js → wellknown-pgt0fkwt.js} +15 -15
- package/dist/chunks/{bus-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{bus-tta5943s.js → wellknown-pmnt38wb.js} +11 -11
- package/dist/chunks/{bus-qphg5mmy.js → wellknown-pwnnz8en.js} +39 -39
- package/dist/chunks/{bus-vfxn8x23.js → wellknown-pxc9rw6c.js} +43 -43
- package/dist/chunks/{bus-q71jbywg.js → wellknown-q0xzcr7f.js} +299 -299
- package/dist/chunks/{bus-rjjem9h6.js → wellknown-q1md1zjj.js} +7 -7
- package/dist/chunks/{bus-wed177g1.js → wellknown-q7805caa.js} +6 -6
- package/dist/chunks/{bus-6p81611h.js → wellknown-q961dm7m.js} +169 -169
- package/dist/chunks/{bus-2cryvejd.js → wellknown-q9792xnb.js} +1 -1
- package/dist/chunks/{bus-45njm9q3.js → wellknown-qbzb1j1c.js} +13 -13
- package/dist/chunks/{bus-r9gjvh9g.js → wellknown-qm8ev4wm.js} +8 -8
- package/dist/chunks/{bus-0kkm17qb.js → wellknown-qqvjzcxr.js} +32 -32
- package/dist/chunks/{bus-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-x3ex91pf.js → wellknown-qw8c6yqg.js} +31 -31
- package/dist/chunks/{bus-36j5nzcr.js → wellknown-qxe975hr.js} +17 -17
- package/dist/chunks/{bus-dqe3fw1x.js → wellknown-r6cgjeqn.js} +10 -10
- package/dist/chunks/{bus-y8jjghfg.js → wellknown-r7t96r8n.js} +37 -37
- package/dist/chunks/{bus-r8dhm0tv.js → wellknown-r8dhm0tv.js} +1 -1
- package/dist/chunks/{bus-37h71zvm.js → wellknown-r8w8bq91.js} +25 -25
- package/dist/chunks/{bus-rae26gbb.js → wellknown-rae26gbb.js} +1 -1
- package/dist/chunks/{bus-p4990n7g.js → wellknown-raycc6w1.js} +3 -3
- package/dist/chunks/{bus-jwcs8hd7.js → wellknown-rfq7xs4d.js} +9 -9
- package/dist/chunks/{bus-8ye04jk8.js → wellknown-rhbe1v15.js} +18 -18
- package/dist/chunks/{bus-xjf0nspg.js → wellknown-rhp4699a.js} +9 -9
- package/dist/chunks/{bus-dc4554sh.js → wellknown-rhwwv70e.js} +11 -11
- package/dist/chunks/{bus-sdk1rkft.js → wellknown-rsvs0vjg.js} +11 -11
- package/dist/chunks/{bus-nbf26ms9.js → wellknown-rszzns79.js} +26 -26
- package/dist/chunks/{bus-65vwahm5.js → wellknown-rtm4n6fb.js} +3 -3
- package/dist/chunks/{bus-yzwjgzk2.js → wellknown-ry16e5g7.js} +11 -11
- package/dist/chunks/{bus-xr5vwsd4.js → wellknown-rz31k017.js} +9 -9
- package/dist/chunks/{bus-0njd92bg.js → wellknown-s06xe5v4.js} +13 -13
- package/dist/chunks/{bus-dn6skpfz.js → wellknown-s3rbnf14.js} +11 -11
- package/dist/chunks/{bus-6m5hv89w.js → wellknown-sba2xw4p.js} +11 -11
- package/dist/chunks/{bus-sba4qhjf.js → wellknown-sba4qhjf.js} +1 -1
- package/dist/chunks/{bus-j6f8vpjn.js → wellknown-sfyg8jca.js} +22 -22
- package/dist/chunks/{bus-v210efr7.js → wellknown-smy8j9tb.js} +16 -16
- package/dist/chunks/{bus-e2sc323g.js → wellknown-sr0zn850.js} +10 -10
- package/dist/chunks/{bus-t9zs3egg.js → wellknown-sx1n432n.js} +4 -4
- package/dist/chunks/{bus-p4spce3w.js → wellknown-sxrpqsmr.js} +9 -9
- package/dist/chunks/{bus-v8nrt0nt.js → wellknown-t1d80fqj.js} +6 -6
- package/dist/chunks/{bus-0dv7911r.js → wellknown-t2az9yje.js} +4 -4
- package/dist/chunks/{bus-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/wellknown-te378a9x.js +22 -0
- package/dist/chunks/{bus-tjykrgmx.js → wellknown-tjykrgmx.js} +1 -1
- package/dist/chunks/{bus-j6p1aehr.js → wellknown-tmfnh1q5.js} +80 -80
- package/dist/chunks/{bus-8xr8g0dt.js → wellknown-tph2mkjf.js} +9 -9
- package/dist/chunks/{bus-b0m1y6mq.js → wellknown-tppvcy65.js} +9 -9
- package/dist/chunks/{bus-at9x16kw.js → wellknown-tz1mz783.js} +29 -29
- package/dist/chunks/{bus-kvk9z22h.js → wellknown-v50e20c6.js} +36 -36
- package/dist/chunks/{bus-jfqtm2ew.js → wellknown-v5dkyp31.js} +4 -4
- package/dist/chunks/{bus-901gzjjm.js → wellknown-vhg4wxph.js} +35 -35
- package/dist/chunks/{bus-5k3f87xj.js → wellknown-vj82my2s.js} +1 -1
- package/dist/chunks/{bus-e8ja81sx.js → wellknown-vk9s0zr3.js} +21 -21
- package/dist/chunks/{bus-8yq59nhy.js → wellknown-vy9axbw1.js} +15 -15
- package/dist/chunks/{bus-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-4cb9c786.js → wellknown-w5a8z9r2.js} +4 -4
- package/dist/chunks/{bus-w08r0s8v.js → wellknown-w8hr26yt.js} +19 -19
- package/dist/chunks/{bus-862r0hmq.js → wellknown-wa6q3vex.js} +54 -54
- package/dist/chunks/{bus-hzfc5e89.js → wellknown-wbvq8g8t.js} +15 -15
- package/dist/chunks/{bus-wgz7hchk.js → wellknown-wctfcgtb.js} +6 -6
- package/dist/chunks/{bus-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{bus-hd7305av.js → wellknown-wz4fbqay.js} +34 -34
- package/dist/chunks/{bus-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-9ezmfr4d.js → wellknown-x545et0z.js} +3 -3
- package/dist/chunks/{bus-bseqm2ca.js → wellknown-xkxektkz.js} +18 -18
- package/dist/chunks/{bus-669mtdgb.js → wellknown-xnxegkmr.js} +47 -47
- package/dist/chunks/{bus-qqxx9c59.js → wellknown-xtmm7gkk.js} +10 -10
- package/dist/chunks/{bus-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-93a8yfjt.js → wellknown-y2cqme3r.js} +5 -5
- package/dist/chunks/{bus-p83qt40j.js → wellknown-y55kwzvm.js} +8 -8
- package/dist/chunks/{bus-pyzvmhjt.js → wellknown-yanbnw58.js} +7 -7
- package/dist/chunks/{bus-gyrty9a0.js → wellknown-ycfbty71.js} +4 -4
- package/dist/chunks/{bus-s3eqpch7.js → wellknown-yk5chycy.js} +1 -1
- package/dist/chunks/{bus-mkf7z2fx.js → wellknown-yqzjyyxs.js} +32 -32
- package/dist/chunks/{bus-8q4mgm57.js → wellknown-yw9364ag.js} +4 -4
- package/dist/chunks/{bus-z1k01bn4.js → wellknown-z1k01bn4.js} +2 -2
- package/dist/chunks/{bus-v4xjjhvg.js → wellknown-z3njjm07.js} +24 -24
- package/dist/chunks/{bus-z63w68vq.js → wellknown-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-0vdrg7q8.js → wellknown-z9d8dnaf.js} +9 -9
- package/dist/chunks/{bus-6tygk997.js → wellknown-zf2mdqhr.js} +12 -12
- package/dist/chunks/{bus-vxp066d4.js → wellknown-zmye7hbx.js} +20 -20
- package/dist/chunks/{bus-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/chunks/{bus-pbxwk0py.js → wellknown-zywh7q6e.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +114 -114
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +4 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +80 -80
- package/dist/reference.js +80 -80
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +4 -2
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/plugin/system-prompt.d.ts +1 -2
- package/dist/types/session/system-prompt.d.ts +1 -0
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- 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 +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/bus-4v7qdvcn.js +0 -18
- package/dist/chunks/bus-anw4cmh3.js +0 -4
- package/dist/chunks/bus-ex6w7h60.js +0 -22
- package/dist/chunks/bus-gzzxkm3c.js +0 -247
- package/dist/chunks/bus-n9mr47st.js +0 -20
- /package/dist/chunks/{bus-0fabt78z.js → wellknown-0fabt78z.js} +0 -0
- /package/dist/chunks/{bus-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3t738kvx.js → wellknown-3t738kvx.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-41nvscxy.js → wellknown-41nvscxy.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-982e01ww.js → wellknown-982e01ww.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a1tpkmh4.js → wellknown-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-j935v87r.js → wellknown-j935v87r.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mntxs535.js → wellknown-mntxs535.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p8qxwesx.js → wellknown-p8qxwesx.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-se0s1eqw.js → wellknown-se0s1eqw.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → wellknown-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x1b8g1yb.js → wellknown-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
- /package/dist/chunks/{bus-zbjnn3ac.js → wellknown-zbjnn3ac.js} +0 -0
|
@@ -2,46 +2,46 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./wellknown-37ct2frz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service72
|
|
11
|
+
} from "./wellknown-z3njjm07.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service75
|
|
14
|
+
} from "./wellknown-1a0y61fc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service15,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-2j3d2w2t.js";
|
|
20
20
|
import {
|
|
21
21
|
externalDirectoryPermission2,
|
|
22
22
|
resolvePath2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service17
|
|
24
|
+
} from "./wellknown-76xf8n6j.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service50
|
|
27
|
+
} from "./wellknown-xnxegkmr.js";
|
|
28
28
|
import {
|
|
29
29
|
fileDiff2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-6prwharc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/patch.ts
|
|
36
36
|
var exports_patch = {};
|
|
37
37
|
__export(exports_patch, {
|
|
38
38
|
Applied: () => Applied2,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
39
|
+
Input: () => Input6,
|
|
40
|
+
Output: () => Output4,
|
|
41
41
|
PatchTool: () => exports_patch,
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
42
|
+
Plugin: () => Plugin6,
|
|
43
|
+
name: () => name6,
|
|
44
|
+
toModelContent: () => toModelContent4
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
@@ -86,8 +86,8 @@ It is important to remember:
|
|
|
86
86
|
`;
|
|
87
87
|
|
|
88
88
|
// src/tool/plugin/patch.ts
|
|
89
|
-
var
|
|
90
|
-
var
|
|
89
|
+
var name6 = "patch";
|
|
90
|
+
var Input6 = Schema.Struct({
|
|
91
91
|
patchText: Schema.String.annotate({
|
|
92
92
|
description: "The full patch text describing add, update, and delete operations"
|
|
93
93
|
})
|
|
@@ -97,30 +97,30 @@ var Applied2 = Schema.Struct({
|
|
|
97
97
|
resource: Schema.String,
|
|
98
98
|
target: Schema.String
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Output4 = Schema.Struct({
|
|
101
101
|
applied: Schema.Array(Applied2),
|
|
102
102
|
files: Schema.Array(FileDiff.Info)
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var toModelContent4 = (output) => [
|
|
105
105
|
"Success. Updated the following files:",
|
|
106
106
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
107
107
|
].join(`
|
|
108
108
|
`);
|
|
109
|
-
var
|
|
109
|
+
var Plugin6 = {
|
|
110
110
|
id: "opencode.tool.patch",
|
|
111
111
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const mutation = yield*
|
|
114
|
-
const fileMutation = yield*
|
|
115
|
-
const formatter = yield*
|
|
116
|
-
const location = yield*
|
|
117
|
-
const permission = yield*
|
|
112
|
+
const environment = yield* Service72;
|
|
113
|
+
const mutation = yield* Service17;
|
|
114
|
+
const fileMutation = yield* Service15;
|
|
115
|
+
const formatter = yield* Service75;
|
|
116
|
+
const location = yield* Service76;
|
|
117
|
+
const permission = yield* Service50;
|
|
118
118
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
119
|
-
name:
|
|
119
|
+
name: name6,
|
|
120
120
|
options: { codemode: false, permission: "edit" },
|
|
121
121
|
description: patch_default,
|
|
122
|
-
input:
|
|
123
|
-
output:
|
|
122
|
+
input: Input6,
|
|
123
|
+
output: Output4,
|
|
124
124
|
execute: (input, context) => {
|
|
125
125
|
const applied = [];
|
|
126
126
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -273,7 +273,7 @@ var Plugin24 = {
|
|
|
273
273
|
return { applied, files };
|
|
274
274
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
275
275
|
output,
|
|
276
|
-
content:
|
|
276
|
+
content: toModelContent4(output),
|
|
277
277
|
metadata: { files: output.files }
|
|
278
278
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
279
279
|
}
|
|
@@ -330,4 +330,4 @@ function trimDiff(diff) {
|
|
|
330
330
|
`);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { name6, Input6, Applied2, Output4, toModelContent4, Plugin6, exports_patch };
|
|
@@ -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
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info12
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info12 = 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 Info19 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info12, exports_command5 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./wellknown-37ct2frz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service72
|
|
12
|
+
} from "./wellknown-z3njjm07.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service71
|
|
15
|
+
} from "./wellknown-g94f0f01.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-920cr0mh.js";
|
|
22
22
|
import {
|
|
23
23
|
externalDirectoryPermission2,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service17
|
|
25
|
+
} from "./wellknown-76xf8n6j.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Service50
|
|
28
|
+
} from "./wellknown-xnxegkmr.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/tool/plugin/glob.ts
|
|
34
34
|
var exports_glob = {};
|
|
35
35
|
__export(exports_glob, {
|
|
36
36
|
GlobTool: () => exports_glob,
|
|
37
|
-
Input: () =>
|
|
38
|
-
Output: () =>
|
|
39
|
-
Plugin: () =>
|
|
40
|
-
name: () =>
|
|
41
|
-
toModelContent: () =>
|
|
37
|
+
Input: () => Input11,
|
|
38
|
+
Output: () => Output7,
|
|
39
|
+
Plugin: () => Plugin12,
|
|
40
|
+
name: () => name11,
|
|
41
|
+
toModelContent: () => toModelContent5
|
|
42
42
|
});
|
|
43
43
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
44
44
|
import { Effect, Schema } from "effect";
|
|
45
45
|
import path from "path";
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var name11 = "glob";
|
|
47
|
+
var Input11 = Schema.Struct({
|
|
48
48
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
49
49
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
50
50
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -56,28 +56,28 @@ var Input8 = Schema.Struct({
|
|
|
56
56
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
|
-
var
|
|
60
|
-
var
|
|
59
|
+
var Output7 = Schema.Array(Entry2);
|
|
60
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
61
61
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
62
62
|
if (truncated)
|
|
63
63
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
64
64
|
return lines.join(`
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Plugin12 = {
|
|
68
68
|
id: "opencode.tool.glob",
|
|
69
69
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
70
|
-
const environment = yield*
|
|
71
|
-
const ripgrep = yield*
|
|
72
|
-
const location = yield*
|
|
73
|
-
const mutation = yield*
|
|
74
|
-
const permission = yield*
|
|
70
|
+
const environment = yield* Service72;
|
|
71
|
+
const ripgrep = yield* Service71;
|
|
72
|
+
const location = yield* Service76;
|
|
73
|
+
const mutation = yield* Service17;
|
|
74
|
+
const permission = yield* Service50;
|
|
75
75
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
76
|
-
name:
|
|
76
|
+
name: name11,
|
|
77
77
|
options: { codemode: false },
|
|
78
78
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
79
|
-
input:
|
|
80
|
-
output:
|
|
79
|
+
input: Input11,
|
|
80
|
+
output: Output7,
|
|
81
81
|
execute: (input, context) => Effect.gen(function* () {
|
|
82
82
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
83
83
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
@@ -91,7 +91,7 @@ var Plugin22 = {
|
|
|
91
91
|
source
|
|
92
92
|
});
|
|
93
93
|
yield* permission.assert({
|
|
94
|
-
action:
|
|
94
|
+
action: name11,
|
|
95
95
|
resources: [input.pattern],
|
|
96
96
|
save: ["*"],
|
|
97
97
|
metadata: {
|
|
@@ -126,11 +126,11 @@ var Plugin22 = {
|
|
|
126
126
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
127
127
|
}).pipe(Effect.map((result) => ({
|
|
128
128
|
output: result.entries,
|
|
129
|
-
content:
|
|
129
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
130
130
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
131
131
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
132
132
|
})).pipe(Effect.orDie);
|
|
133
133
|
})
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
export {
|
|
136
|
+
export { name11, Input11, Output7, toModelContent5, Plugin12, exports_glob };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-ycfbty71.js";
|
|
5
5
|
import {
|
|
6
6
|
llmClient2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-0e0xafbb.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionEvent2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-mntxs535.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-kg06axw8.js";
|
|
14
14
|
import {
|
|
15
15
|
toLLMMessages2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-zbjnn3ac.js";
|
|
17
17
|
import {
|
|
18
18
|
baseTranscript2,
|
|
19
19
|
unsupportedParts2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-tz1mz783.js";
|
|
21
21
|
import {
|
|
22
22
|
isRetryable2,
|
|
23
23
|
policy2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./wellknown-hnyf01b0.js";
|
|
25
25
|
import {
|
|
26
26
|
toSessionError2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./wellknown-0z4qk8xt.js";
|
|
28
28
|
import {
|
|
29
29
|
estimate2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-h6vf3j39.js";
|
|
31
31
|
import {
|
|
32
32
|
record2,
|
|
33
33
|
add2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./wellknown-tjykrgmx.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/compaction.ts
|
|
40
40
|
var exports_compaction2 = {};
|
|
41
41
|
__export(exports_compaction2, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service9,
|
|
43
43
|
SessionCompaction: () => exports_compaction2,
|
|
44
44
|
buildPrompt: () => buildPrompt2,
|
|
45
45
|
estimateTokens: () => estimateTokens2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer6,
|
|
47
|
+
node: () => node12,
|
|
48
48
|
serializeToolContent: () => serializeToolContent2,
|
|
49
49
|
truncateToolOutput: () => truncateToolOutput2
|
|
50
50
|
});
|
|
@@ -108,7 +108,7 @@ var SUMMARY_RULES = `Rules:
|
|
|
108
108
|
var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
109
109
|
`).filter((line) => line.startsWith("##"));
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
112
112
|
}
|
|
113
113
|
var estimateTokens2 = (input) => {
|
|
114
114
|
const index = input.messages.findLastIndex((message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0);
|
|
@@ -262,7 +262,7 @@ var buildPrompt2 = (update) => {
|
|
|
262
262
|
};
|
|
263
263
|
var hasSummarySection = (summary) => summary.split(`
|
|
264
264
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
265
|
-
var
|
|
265
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
266
266
|
const bus = yield* Service79;
|
|
267
267
|
const llm = yield* LLMClient.Service;
|
|
268
268
|
const state = create3({
|
|
@@ -479,7 +479,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
479
479
|
})
|
|
480
480
|
}));
|
|
481
481
|
});
|
|
482
|
-
return
|
|
482
|
+
return Service9.of({
|
|
483
483
|
transform: state.transform,
|
|
484
484
|
reload: state.reload,
|
|
485
485
|
enabled: () => state.get().auto,
|
|
@@ -488,10 +488,10 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
488
488
|
compactManual
|
|
489
489
|
});
|
|
490
490
|
}));
|
|
491
|
-
var
|
|
492
|
-
service:
|
|
493
|
-
layer:
|
|
491
|
+
var node12 = makeLocationNode({
|
|
492
|
+
service: Service9,
|
|
493
|
+
layer: layer6,
|
|
494
494
|
deps: [node84, llmClient2]
|
|
495
495
|
});
|
|
496
496
|
|
|
497
|
-
export {
|
|
497
|
+
export { Service9, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-nn46x40y.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make17,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-28pcbh69.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-hrvm11jt.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service30,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service30 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make17({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service30.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node35 = makeLocationNode({ service: Service30, layer, deps: [node85] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node35, exports_instruction_entry };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-fkwg44rt.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./wellknown-37ct2frz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key3,
|
|
7
|
+
make17,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-28pcbh69.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: () => Service25,
|
|
19
|
+
node: () => node29
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode-ai/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service25 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service76;
|
|
29
|
+
return Service25.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make17({
|
|
32
|
+
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
53
|
-
key:
|
|
52
|
+
make17({
|
|
53
|
+
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node29 = makeLocationNode({ service: Service25, layer, deps: [Global.node, node81] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service25, node29, exports_builtins };
|