@opencode/core 0.0.0-dev-21163 → 0.0.0-dev-21164
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{snapshot-e3jt2v5b.js → state-04xdpyc7.js} +14 -14
- package/dist/chunks/{snapshot-kyd66f1c.js → state-06fwzbc7.js} +36 -36
- package/dist/chunks/{snapshot-2n9dancj.js → state-0a9v6p0f.js} +3 -3
- package/dist/chunks/{snapshot-kqx1b4hy.js → state-0b5g1ynf.js} +4 -4
- package/dist/chunks/{snapshot-e9hx7ajy.js → state-0jb86j0j.js} +26 -26
- package/dist/chunks/{snapshot-0vbcp93d.js → state-0vbcp93d.js} +2 -2
- package/dist/chunks/{snapshot-58s85cax.js → state-0y567k9j.js} +11 -11
- package/dist/chunks/{snapshot-2erqmtdk.js → state-0ys6pg51.js} +28 -28
- package/dist/chunks/{snapshot-aeg5ttrh.js → state-12rden0r.js} +16 -16
- package/dist/chunks/{snapshot-w2q8zjmz.js → state-14q6bv5p.js} +25 -25
- package/dist/chunks/{snapshot-m0ke1azk.js → state-1degfmvd.js} +18 -18
- package/dist/chunks/{snapshot-6k8an2y9.js → state-1e7ww9bh.js} +33 -33
- package/dist/chunks/{snapshot-bzeyqsqd.js → state-1ep4rre3.js} +4 -4
- package/dist/chunks/{snapshot-2nsmqgb6.js → state-1nhqthzg.js} +6 -6
- package/dist/chunks/{snapshot-wd0x6d30.js → state-1p4qe8rf.js} +8 -8
- package/dist/chunks/{snapshot-g4k7z9cy.js → state-1xxyjdwj.js} +23 -23
- package/dist/chunks/{snapshot-v6gb7zv2.js → state-2a6rn6yr.js} +6 -6
- package/dist/chunks/{snapshot-hat53091.js → state-2je2vwxy.js} +29 -29
- package/dist/chunks/{snapshot-m8jd5x1y.js → state-2jxcp2qh.js} +19 -19
- package/dist/chunks/{snapshot-tyaq71bb.js → state-2kzmk4xx.js} +30 -30
- package/dist/chunks/{snapshot-k1gpp38j.js → state-32c6d2g9.js} +17 -17
- package/dist/chunks/{snapshot-fn366g0y.js → state-36c3ee22.js} +17 -17
- package/dist/chunks/{snapshot-ytwc37vz.js → state-3f5qvfyk.js} +35 -35
- package/dist/chunks/{snapshot-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-3hwn7j4h.js → state-3hwn7j4h.js} +2 -2
- package/dist/chunks/{snapshot-40v9kngq.js → state-3jyr06yg.js} +9 -9
- package/dist/chunks/{snapshot-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-6283stes.js → state-3y0h35ga.js} +15 -15
- package/dist/chunks/{snapshot-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{snapshot-syp4sv4b.js → state-46mv6j9f.js} +4 -4
- package/dist/chunks/{snapshot-b674v2dg.js → state-47jkzegy.js} +5 -5
- package/dist/chunks/{snapshot-rhzmt3es.js → state-4e3zx06r.js} +27 -27
- package/dist/chunks/{snapshot-4y0vwgtn.js → state-4r80m7sf.js} +20 -20
- package/dist/chunks/{snapshot-w39jehkq.js → state-4xpgt2w9.js} +5 -5
- package/dist/chunks/{snapshot-8n55hgev.js → state-4yqedry9.js} +17 -17
- package/dist/chunks/{snapshot-n1n192bv.js → state-4z58m4b4.js} +4 -4
- package/dist/chunks/{snapshot-m7dmhh8f.js → state-50b15zdf.js} +13 -13
- package/dist/chunks/{snapshot-3b09jk82.js → state-52wgxwr3.js} +22 -22
- package/dist/chunks/{snapshot-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{snapshot-36e2pc4w.js → state-54z0pcys.js} +5 -5
- package/dist/chunks/{snapshot-bmr56wjg.js → state-5fec3t3w.js} +9 -9
- package/dist/chunks/{snapshot-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/state-5trgskkw.js +112 -0
- package/dist/chunks/{snapshot-8v6pyhej.js → state-5yzzbxa7.js} +8 -8
- package/dist/chunks/{snapshot-6827pfxn.js → state-6827pfxn.js} +1 -1
- package/dist/chunks/{snapshot-85gwbv31.js → state-68rj5w6w.js} +23 -23
- package/dist/chunks/{snapshot-dxcm25gw.js → state-6hjx5zpb.js} +9 -9
- package/dist/chunks/{snapshot-z8y4g21a.js → state-6pj4aq9f.js} +14 -14
- package/dist/chunks/{snapshot-a8aatv38.js → state-6szz86ph.js} +11 -11
- package/dist/chunks/{snapshot-6xb47vfp.js → state-6xb47vfp.js} +1 -1
- package/dist/chunks/{snapshot-6panyeh0.js → state-7171kgjs.js} +21 -21
- package/dist/chunks/{snapshot-scmhh9pc.js → state-74x5w3z1.js} +10 -10
- package/dist/chunks/{snapshot-775gj3j1.js → state-775gj3j1.js} +2 -2
- package/dist/chunks/{snapshot-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-7dqw4kz8.js → state-7dqw4kz8.js} +1 -1
- package/dist/chunks/{snapshot-q1wtg1gk.js → state-7emf5024.js} +11 -11
- package/dist/chunks/{snapshot-6wh7xaz2.js → state-7wftzz1s.js} +13 -13
- package/dist/chunks/{snapshot-s9d01kr9.js → state-826pmkg6.js} +3 -3
- package/dist/chunks/{snapshot-xspp19dx.js → state-830wccwk.js} +36 -36
- package/dist/chunks/{snapshot-h7abwd3r.js → state-83n4xtav.js} +38 -38
- package/dist/chunks/{snapshot-mc5t502r.js → state-8ftngv0m.js} +20 -20
- package/dist/chunks/{snapshot-8m6m0r52.js → state-8m6m0r52.js} +1 -1
- package/dist/chunks/{snapshot-0ekyh4s7.js → state-8nc6bgmq.js} +32 -32
- package/dist/chunks/{snapshot-6pc27hjz.js → state-8sze2n9a.js} +2 -2
- package/dist/chunks/{snapshot-mk05kat5.js → state-8vwdhsen.js} +24 -24
- package/dist/chunks/{snapshot-91qna3x0.js → state-91qna3x0.js} +3 -3
- package/dist/chunks/{snapshot-5g4kkmpn.js → state-924wa2tb.js} +13 -13
- package/dist/chunks/{snapshot-04ryjj00.js → state-93jtvh07.js} +9 -9
- package/dist/chunks/{snapshot-wygkcgsy.js → state-944z6h65.js} +47 -47
- package/dist/chunks/{snapshot-m1rtee8r.js → state-9g63gfxm.js} +39 -39
- package/dist/chunks/{snapshot-a1njnwz6.js → state-9h7zjkfp.js} +3 -3
- package/dist/chunks/{snapshot-7q4bfbvn.js → state-9s0s93fc.js} +7 -7
- package/dist/chunks/{snapshot-dg21j1ns.js → state-9smfp2a8.js} +45 -45
- package/dist/chunks/{snapshot-6hqckrrx.js → state-9v4nxjff.js} +16 -16
- package/dist/chunks/{snapshot-cm0xwavf.js → state-9ye1n4d4.js} +14 -14
- package/dist/chunks/{snapshot-v8xncc8s.js → state-9zs8zr4d.js} +23 -23
- package/dist/chunks/{snapshot-snk2tj6r.js → state-a8ffpsx1.js} +26 -26
- package/dist/chunks/{snapshot-wz6jmfs0.js → state-aatr6m39.js} +9 -9
- package/dist/chunks/{snapshot-7azh8zbv.js → state-acq56fsz.js} +30 -30
- package/dist/chunks/{snapshot-x661k3y3.js → state-addxnjmp.js} +4 -4
- package/dist/chunks/{snapshot-qr1s19a1.js → state-amjr18r9.js} +3 -3
- package/dist/chunks/{snapshot-z4qtxhqf.js → state-amqjr904.js} +15 -15
- package/dist/chunks/{snapshot-435smvjz.js → state-anpb8jtk.js} +27 -27
- package/dist/chunks/{snapshot-3sxvetjy.js → state-asmz18sf.js} +24 -24
- package/dist/chunks/{snapshot-8pz94dzf.js → state-awbven8r.js} +23 -23
- package/dist/chunks/{snapshot-1b80kj0v.js → state-b6khc3p6.js} +15 -15
- package/dist/chunks/{snapshot-jf7ekgm9.js → state-bea3g4pw.js} +8 -8
- package/dist/chunks/{snapshot-9m2243zx.js → state-bgw4pfqr.js} +11 -11
- package/dist/chunks/{snapshot-ywt8jp22.js → state-bjx1sjef.js} +9 -9
- package/dist/chunks/state-by5v678g.js +18 -0
- package/dist/chunks/{snapshot-bzsrs4wb.js → state-byqfybbv.js} +10 -10
- package/dist/chunks/{snapshot-c1fqxshp.js → state-c1fqxshp.js} +3 -3
- package/dist/chunks/{snapshot-143qq2q9.js → state-c2sed5cq.js} +3 -3
- package/dist/chunks/{snapshot-nxrgqcj9.js → state-c46vpdfe.js} +24 -24
- package/dist/chunks/{snapshot-fj7gaszw.js → state-c5ggqzvz.js} +12 -12
- package/dist/chunks/{snapshot-hmpj5xfy.js → state-c7h7h1sa.js} +21 -21
- package/dist/chunks/{snapshot-d3twtd49.js → state-c926a9vq.js} +13 -13
- package/dist/chunks/{snapshot-ndy2c9ss.js → state-c9t1dcyx.js} +47 -47
- package/dist/chunks/{snapshot-bm6m2f01.js → state-ca1sdfxv.js} +26 -26
- package/dist/chunks/{snapshot-mj4y2amk.js → state-cb3tvw3f.js} +35 -35
- package/dist/chunks/{snapshot-bzpwbrxf.js → state-cbpk9ydt.js} +45 -45
- package/dist/chunks/{snapshot-bfegkxfd.js → state-cdzn34jf.js} +8 -8
- package/dist/chunks/{snapshot-79y18c4v.js → state-d1c3kaqr.js} +28 -28
- package/dist/chunks/{snapshot-adjewt1g.js → state-d32520t0.js} +17 -17
- package/dist/chunks/{snapshot-347v34hz.js → state-dhs04fwy.js} +5 -5
- package/dist/chunks/{snapshot-sdwcvaj2.js → state-djhm8fct.js} +1 -1
- package/dist/chunks/{snapshot-ft3hqk2c.js → state-djszqvmq.js} +9 -9
- package/dist/chunks/{snapshot-xrgc67sb.js → state-dn1vkgh6.js} +2 -2
- package/dist/chunks/{snapshot-b03ryzq6.js → state-dqfn4xgm.js} +1 -1
- package/dist/chunks/{snapshot-qxwd849a.js → state-dx79m8ve.js} +18 -18
- package/dist/chunks/{snapshot-erbqd3nv.js → state-e2kwjmz0.js} +47 -47
- package/dist/chunks/{snapshot-2ny3jh00.js → state-e3d48see.js} +10 -10
- package/dist/chunks/{snapshot-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
- package/dist/chunks/{snapshot-62b0hcmy.js → state-e4qzknek.js} +11 -11
- package/dist/chunks/{snapshot-eej6y6fw.js → state-eej6y6fw.js} +2 -2
- package/dist/chunks/{snapshot-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-j0cf4nzm.js → state-ejm2mja7.js} +20 -20
- package/dist/chunks/{snapshot-pym14gm6.js → state-ewwfdr8f.js} +49 -49
- package/dist/chunks/{snapshot-vaxg751d.js → state-f6b8xx7n.js} +7 -7
- package/dist/chunks/{snapshot-26q7jvhr.js → state-f9d85sya.js} +48 -48
- package/dist/chunks/{snapshot-fcy631f0.js → state-fcy631f0.js} +1 -1
- package/dist/chunks/{snapshot-16x4r2s1.js → state-fdht6mpx.js} +20 -20
- package/dist/chunks/{snapshot-v8v7jg08.js → state-fdradw2e.js} +87 -87
- package/dist/chunks/{snapshot-r682d5ha.js → state-fe1j0m2p.js} +3 -3
- package/dist/chunks/{snapshot-jm9njkm8.js → state-fm72x4ef.js} +5 -5
- package/dist/chunks/{snapshot-415az79b.js → state-fphjyfn7.js} +9 -9
- package/dist/chunks/{snapshot-khmqacep.js → state-fxaymqdw.js} +4 -4
- package/dist/chunks/{snapshot-gpk600j1.js → state-g21r4nge.js} +8 -8
- package/dist/chunks/{snapshot-y3zkdgh7.js → state-g5gtgc56.js} +28 -28
- package/dist/chunks/{snapshot-phz50fbd.js → state-g686f6pq.js} +9 -9
- package/dist/chunks/{snapshot-bf7csrhb.js → state-g9k9gtcq.js} +15 -15
- package/dist/chunks/{snapshot-hsxaxx1c.js → state-g9wmmzt4.js} +34 -34
- package/dist/chunks/{snapshot-3g8j9he4.js → state-gd0tnyjc.js} +1 -1
- package/dist/chunks/{snapshot-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-7qet95x0.js → state-geenf2p7.js} +27 -27
- package/dist/chunks/{snapshot-tmf823cr.js → state-gh0jst0q.js} +7 -7
- package/dist/chunks/{snapshot-fj8d9ky6.js → state-ghz6dcrw.js} +11 -11
- package/dist/chunks/{snapshot-xgz548nj.js → state-gr68k0te.js} +46 -46
- package/dist/chunks/{snapshot-gxaq7zhw.js → state-gzwn65aj.js} +18 -18
- package/dist/chunks/{snapshot-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-h7s7r6s9.js → state-h7s7r6s9.js} +2 -2
- package/dist/chunks/{snapshot-f9693ket.js → state-h7tvrppv.js} +17 -17
- package/dist/chunks/{snapshot-hgz4x7wa.js → state-hgz4x7wa.js} +1 -1
- package/dist/chunks/{snapshot-5haf30hz.js → state-hpdd1er4.js} +38 -38
- package/dist/chunks/{snapshot-84htwe8c.js → state-hqf9gdsc.js} +79 -79
- package/dist/chunks/{snapshot-8bqq47bs.js → state-hrhze3cc.js} +4 -4
- package/dist/chunks/{snapshot-es4zr9pq.js → state-hyay7qq8.js} +8 -8
- package/dist/chunks/{snapshot-chsa9tsb.js → state-j3bjw6yh.js} +11 -11
- package/dist/chunks/{snapshot-3raex6t0.js → state-j5h5wtv3.js} +8 -8
- package/dist/chunks/{snapshot-3dp5zkcc.js → state-jangkfdc.js} +18 -18
- package/dist/chunks/{snapshot-d3718gj5.js → state-jbrpfam1.js} +28 -28
- package/dist/chunks/{snapshot-q9317srt.js → state-jh1xj5qc.js} +18 -18
- package/dist/chunks/{snapshot-tn3z2tca.js → state-k4n40zz3.js} +22 -22
- package/dist/chunks/{snapshot-n9j93z9k.js → state-ka2dn2m1.js} +52 -52
- package/dist/chunks/{snapshot-hvq4weyw.js → state-kepm3fq6.js} +15 -15
- package/dist/chunks/{snapshot-7bxgp08m.js → state-kgen349b.js} +8 -8
- package/dist/chunks/{snapshot-ebm4wmmx.js → state-kmheh9sq.js} +9 -9
- package/dist/chunks/{snapshot-d4fh8taq.js → state-kshw4apv.js} +5 -5
- package/dist/chunks/{snapshot-2mxt17n5.js → state-kt95y7ck.js} +3 -3
- package/dist/chunks/{snapshot-kwb1v3vj.js → state-kwb1v3vj.js} +1 -1
- package/dist/chunks/{snapshot-94jw5d4f.js → state-m1zv8vg2.js} +13 -13
- package/dist/chunks/{snapshot-q1a6xb3r.js → state-m25y3kv4.js} +5 -5
- package/dist/chunks/{snapshot-210p74nv.js → state-m9cxx8a5.js} +6 -6
- package/dist/chunks/{snapshot-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-maspj1v3.js → state-maspj1v3.js} +1 -1
- package/dist/chunks/{snapshot-9pa8tak9.js → state-mb14aw74.js} +2 -2
- package/dist/chunks/{snapshot-94qkbmw6.js → state-mmfyj663.js} +8 -8
- package/dist/chunks/{snapshot-5vty9d1v.js → state-mqmm1j72.js} +5 -5
- package/dist/chunks/{snapshot-q1szfc13.js → state-n53dqfr6.js} +4 -4
- package/dist/chunks/{snapshot-xhg5qrkn.js → state-nanc2j11.js} +26 -26
- package/dist/chunks/{snapshot-dec9hyae.js → state-nezvftw4.js} +16 -16
- package/dist/chunks/{snapshot-rk7s9xkn.js → state-ngyhb3xw.js} +4 -4
- package/dist/chunks/{snapshot-3a56ctkk.js → state-nmh3d9z7.js} +18 -18
- package/dist/chunks/{snapshot-34f31van.js → state-nq2ddahe.js} +15 -15
- package/dist/chunks/{snapshot-wr7ps67x.js → state-nrk5vjbf.js} +5 -5
- package/dist/chunks/{snapshot-e6ekz585.js → state-nxwqj47z.js} +27 -27
- package/dist/chunks/state-nxyky8fq.js +26 -0
- package/dist/chunks/{snapshot-g1b1wp2e.js → state-p7b5znyc.js} +12 -12
- package/dist/chunks/{snapshot-gj8ct3zv.js → state-p8jakte0.js} +74 -74
- package/dist/chunks/{snapshot-camn9k3d.js → state-pdxm3yxv.js} +27 -27
- package/dist/chunks/{snapshot-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-yfa5tj4a.js → state-pr9wjwdp.js} +19 -19
- package/dist/chunks/{snapshot-nrt5px6v.js → state-ptm6ehsf.js} +25 -25
- package/dist/chunks/{snapshot-gv3y5r8d.js → state-pyjedrk0.js} +14 -14
- package/dist/chunks/{snapshot-63rftvt3.js → state-pz18wrqx.js} +19 -19
- package/dist/chunks/{snapshot-q6y0t2xd.js → state-qb7tzan5.js} +29 -29
- package/dist/chunks/{snapshot-bqk1xv54.js → state-qgnwqvsz.js} +14 -14
- package/dist/chunks/{snapshot-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{snapshot-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-7j7jdcww.js → state-qxvxcxx4.js} +50 -50
- package/dist/chunks/{snapshot-qh0k1p1d.js → state-r1cv1102.js} +32 -32
- package/dist/chunks/{snapshot-ed1g29hy.js → state-r2z489rp.js} +3 -3
- package/dist/chunks/{snapshot-077jc6hy.js → state-r3bk1756.js} +19 -19
- package/dist/chunks/{snapshot-xtahemgj.js → state-r83h5v0b.js} +24 -24
- package/dist/chunks/{snapshot-9msepacv.js → state-r9yctxmr.js} +12 -12
- package/dist/chunks/{snapshot-cqjagng5.js → state-ra5zedqg.js} +31 -31
- package/dist/chunks/{snapshot-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-rert0e01.js → state-rert0e01.js} +2 -2
- package/dist/chunks/{snapshot-rj3eygr5.js → state-rj3eygr5.js} +2 -2
- package/dist/chunks/{snapshot-3b5z0erk.js → state-rz015waj.js} +11 -11
- package/dist/chunks/{snapshot-n6s2wxqy.js → state-rz6s0eqf.js} +11 -11
- package/dist/chunks/{snapshot-sa8ekw3f.js → state-sa8ekw3f.js} +2 -2
- package/dist/chunks/{snapshot-s2yckgzf.js → state-sc62fwhg.js} +5 -5
- package/dist/chunks/{snapshot-m14r162y.js → state-sgsbd493.js} +9 -9
- package/dist/chunks/{snapshot-rntct4v8.js → state-skfgvw6a.js} +46 -46
- package/dist/chunks/{snapshot-kqnkx5cp.js → state-skqv3z06.js} +11 -11
- package/dist/chunks/{snapshot-0v80x1f6.js → state-sn3f2xcp.js} +4 -4
- package/dist/chunks/{snapshot-q2w9h836.js → state-sr8dhdek.js} +39 -39
- package/dist/chunks/{snapshot-d49pgqdb.js → state-sy0ygxnp.js} +13 -13
- package/dist/chunks/{snapshot-syv4x271.js → state-syv4x271.js} +1 -1
- package/dist/chunks/{snapshot-2nykmre5.js → state-t2tm0scr.js} +9 -9
- package/dist/chunks/{snapshot-rhjbct0v.js → state-t550f9t1.js} +4 -4
- package/dist/chunks/state-t8byfdwz.js +513 -0
- package/dist/chunks/{snapshot-ggw6bs31.js → state-t9b24vtt.js} +22 -22
- package/dist/chunks/{snapshot-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-en2e8yfm.js → state-tb1hhae9.js} +20 -20
- package/dist/chunks/{snapshot-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{snapshot-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-n9h5d100.js → state-tep0381a.js} +11 -11
- package/dist/chunks/{snapshot-b21nzxaa.js → state-tgjzfg6g.js} +4 -4
- package/dist/chunks/{snapshot-kkp8zx71.js → state-tjedn1bk.js} +4 -4
- package/dist/chunks/{snapshot-tm0kqsz3.js → state-tm0kqsz3.js} +1 -1
- package/dist/chunks/{snapshot-xfktpdj6.js → state-tt8gc4fv.js} +6 -6
- package/dist/chunks/{snapshot-akmtzpb0.js → state-tvx85zav.js} +11 -11
- package/dist/chunks/{snapshot-tyytaxap.js → state-tyytaxap.js} +1 -1
- package/dist/chunks/{snapshot-ktd4dqz2.js → state-v03m1nmw.js} +14 -14
- package/dist/chunks/state-v0yrtskr.js +257 -0
- package/dist/chunks/{snapshot-hg3614cy.js → state-v210v162.js} +11 -11
- package/dist/chunks/{snapshot-7sbkp4xb.js → state-v5dkyp31.js} +4 -4
- package/dist/chunks/{snapshot-4wwf6t92.js → state-v63rdfcv.js} +6 -6
- package/dist/chunks/{snapshot-v7p4zvkq.js → state-v7p4zvkq.js} +2 -2
- package/dist/chunks/{snapshot-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-p32gghmn.js → state-vjttfn3j.js} +14 -14
- package/dist/chunks/{snapshot-c5ed65gp.js → state-vnp7fp1s.js} +10 -10
- package/dist/chunks/{snapshot-cd9wyv5p.js → state-vp6xanzc.js} +32 -32
- package/dist/chunks/{snapshot-m2hjyvdx.js → state-vppcbm3y.js} +10 -10
- package/dist/chunks/{snapshot-xshtvwne.js → state-vv030mg9.js} +4 -4
- package/dist/chunks/{snapshot-m9gt5bdn.js → state-vvb3m2vh.js} +16 -16
- package/dist/chunks/{snapshot-qvb3nf84.js → state-vwpcpzep.js} +8 -8
- package/dist/chunks/{snapshot-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{snapshot-w1eejvng.js → state-w1eejvng.js} +1 -1
- package/dist/chunks/{snapshot-c6xh4c6j.js → state-w2h1ghwm.js} +6 -6
- package/dist/chunks/{snapshot-djsc6asp.js → state-w2k3w8z1.js} +50 -50
- package/dist/chunks/{snapshot-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-qhphvxes.js → state-w4axh9wz.js} +8 -8
- package/dist/chunks/{snapshot-hkw38179.js → state-w5y70ybv.js} +16 -16
- package/dist/chunks/{snapshot-qmh7t0e0.js → state-w8e3kjgk.js} +17 -17
- package/dist/chunks/{snapshot-y9jvxck8.js → state-w9683aa4.js} +15 -15
- package/dist/chunks/{snapshot-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-03phhxcy.js → state-weqd0pg4.js} +13 -13
- package/dist/chunks/{snapshot-eqyse9qm.js → state-whahtmr1.js} +13 -13
- package/dist/chunks/{snapshot-t9kr6xs7.js → state-wn44tgv3.js} +19 -19
- package/dist/chunks/{snapshot-w5na3y5v.js → state-wt4renp3.js} +18 -18
- package/dist/chunks/{snapshot-qq5jvte1.js → state-wxb0hg2e.js} +3 -3
- package/dist/chunks/{snapshot-yt82vp1a.js → state-x6r5yamz.js} +4 -4
- package/dist/chunks/{snapshot-kv4b22ns.js → state-x7qpwy5v.js} +16 -16
- package/dist/chunks/{snapshot-3wd8382n.js → state-x91k2b7m.js} +5 -5
- package/dist/chunks/{snapshot-drwq78ky.js → state-xfkkasph.js} +4 -4
- package/dist/chunks/{snapshot-qtv1rbvp.js → state-xm2cv5jq.js} +14 -14
- package/dist/chunks/{snapshot-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-pnaxc6j9.js → state-y2yt4szk.js} +8 -8
- package/dist/chunks/{snapshot-jwcy2c2z.js → state-y71avatq.js} +4 -4
- package/dist/chunks/{snapshot-eh6ej367.js → state-yd4bzqjj.js} +5 -5
- package/dist/chunks/{snapshot-hfqhg2b8.js → state-yfg8gsqz.js} +17 -17
- package/dist/chunks/{snapshot-8xdzhf48.js → state-yg9zenm6.js} +22 -22
- package/dist/chunks/{snapshot-n1nekz5z.js → state-yht2bm2a.js} +33 -33
- package/dist/chunks/{snapshot-r0rvp0ej.js → state-yk343m11.js} +45 -45
- package/dist/chunks/{snapshot-r8xr0va3.js → state-yp2x3t23.js} +4 -4
- package/dist/chunks/{snapshot-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-nakxk70k.js → state-z57ykapg.js} +14 -14
- package/dist/chunks/{snapshot-d0btjp9b.js → state-z63mj70r.js} +22 -22
- package/dist/chunks/{snapshot-xsredejr.js → state-zhxpdph0.js} +187 -187
- package/dist/chunks/{snapshot-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-84jw3qpq.js → state-zsjyy8cs.js} +29 -29
- package/dist/chunks/{snapshot-78zkn3vy.js → state-ztxkbmy1.js} +24 -24
- package/dist/chunks/{snapshot-zee1rnkq.js → state-zvt5dnpc.js} +4 -4
- package/dist/chunks/{snapshot-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- 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 +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +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 +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +102 -102
- 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 +101 -101
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- 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 +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/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 +113 -113
- 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 +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +10 -10
- package/dist/project/sql.js +4 -4
- package/dist/project.js +94 -94
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- 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 +138 -138
- 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 +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- 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 +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +86 -86
- 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 +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- 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 +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/permission/saved.d.ts +26 -1
- 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 +3 -3
- 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 +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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/snapshot-4k437ew3.js +0 -257
- package/dist/chunks/snapshot-619r8v3y.js +0 -18
- package/dist/chunks/snapshot-9esz1w1b.js +0 -73
- package/dist/chunks/snapshot-g34gxbpj.js +0 -26
- package/dist/chunks/snapshot-mwky8rtw.js +0 -513
- /package/dist/chunks/{snapshot-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jze0r7bz.js → state-jze0r7bz.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{snapshot-pyv0edze.js → state-pyv0edze.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wjj7prxr.js → state-wjj7prxr.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./state-nezvftw4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service76
|
|
12
|
+
} from "./state-8vwdhsen.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./state-nmh3d9z7.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-acq56fsz.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service54
|
|
26
|
+
} from "./state-ewwfdr8f.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service17
|
|
29
|
+
} from "./state-jh1xj5qc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./state-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
38
|
Input: () => Input11,
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Output: () => Output8,
|
|
40
|
+
Plugin: () => Plugin30,
|
|
41
41
|
name: () => name11,
|
|
42
|
-
toModelContent: () =>
|
|
42
|
+
toModelContent: () => toModelContent6
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
@@ -65,8 +65,8 @@ var Input11 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output8 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,20 +83,20 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin30 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service76;
|
|
90
|
+
const ripgrep = yield* Service74;
|
|
91
|
+
const location = yield* Service82;
|
|
92
|
+
const access = yield* Service17;
|
|
93
|
+
const permission = yield* Service54;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
95
|
name: name11,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
98
|
input: Input11,
|
|
99
|
-
output:
|
|
99
|
+
output: Output8,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
@@ -144,7 +144,7 @@ var Plugin29 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin29 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export { name11, Input11,
|
|
157
|
+
export { name11, Input11, Output8, toModelContent6, Plugin30, exports_grep };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./state-nezvftw4.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make19,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-t550f9t1.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-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: () => Service41,
|
|
19
|
+
node: () => node44
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service41 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service82;
|
|
29
|
+
return Service41.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make19({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make19({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node44 = makeLocationNode({ service: Service41, layer, deps: [Global.node, node86] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service41, node44, exports_builtins };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./state-nezvftw4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service17
|
|
9
|
+
} from "./state-jh1xj5qc.js";
|
|
10
10
|
import {
|
|
11
11
|
Service6
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-3y0h35ga.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service7
|
|
27
|
+
} from "./state-kepm3fq6.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input8,
|
|
36
|
+
Plugin: () => Plugin27,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name8,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name8 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input8 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin27 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
61
|
+
const reader = yield* Service7;
|
|
62
|
+
const access = yield* Service17;
|
|
63
63
|
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service82;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name8,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input8,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin20 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent4 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name8, Input8, Plugin27, toModelContent4, exports_read };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./state-r9yctxmr.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
@@ -15,17 +15,17 @@ __export(exports_command4, {
|
|
|
15
15
|
Command: () => exports_command4,
|
|
16
16
|
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info9,
|
|
19
19
|
NotFoundError: () => NotFoundError7,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service53,
|
|
21
21
|
layer: () => layer22,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node55
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
import { Event as Event9 } from "@opencode/schema/command";
|
|
28
|
-
var
|
|
28
|
+
var Info9 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service53 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var layer22 = Layer.effect(
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer22 = Layer.effect(Service53, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service85;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer22 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info9.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service53.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,10 +71,10 @@ var layer22 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
74
|
+
var node55 = makeLocationNode({
|
|
75
|
+
service: Service53,
|
|
76
76
|
layer: layer22,
|
|
77
|
-
deps: [
|
|
77
|
+
deps: [node89]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info9, NotFoundError7, ExecutionError2, Service53, layer22, node55, exports_command4, Event9 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./state-r9yctxmr.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
ID11,
|
|
14
|
-
Service73,
|
|
15
|
-
node77,
|
|
16
|
-
Event17
|
|
17
|
-
} from "./snapshot-hat53091.js";
|
|
11
|
+
} from "./state-addxnjmp.js";
|
|
18
12
|
import {
|
|
13
|
+
ID14,
|
|
19
14
|
Service79,
|
|
20
|
-
node83
|
|
21
|
-
|
|
15
|
+
node83,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./state-2je2vwxy.js";
|
|
18
|
+
import {
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./state-nezvftw4.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event17,
|
|
43
|
+
ID: () => ID13,
|
|
44
|
+
Info: () => Info22,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service78,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node82,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
75
|
+
var ID13 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -283,9 +283,9 @@ var Request3 = Provider.Request;
|
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info22 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service78 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,10 +298,10 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
301
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service85;
|
|
303
|
+
const integrations = yield* Service79;
|
|
304
|
+
const location = yield* Service82;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service78.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node86] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service78, node82, exports_provider3, Event17 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/plugin/skill-scan.ts
|
|
6
6
|
var exports_skill_scan = {};
|
|
7
7
|
__export(exports_skill_scan, {
|
|
8
8
|
SkillScan: () => exports_skill_scan,
|
|
9
9
|
ignore: () => ignore2,
|
|
10
|
-
scan: () =>
|
|
10
|
+
scan: () => scan3
|
|
11
11
|
});
|
|
12
12
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
13
13
|
import path from "path";
|
|
14
14
|
import { Effect } from "effect";
|
|
15
15
|
var MAX_DEPTH = 6;
|
|
16
16
|
var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
|
|
17
|
-
var
|
|
17
|
+
var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
18
18
|
const fs = yield* FSUtil.Service;
|
|
19
19
|
const files = [];
|
|
20
20
|
const queue = [{ directory: root, depth: 0 }];
|
|
@@ -39,4 +39,4 @@ var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
|
39
39
|
return files.toSorted();
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export { ignore2,
|
|
42
|
+
export { ignore2, scan3, exports_skill_scan };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-c2sed5cq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError10, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./state-1degfmvd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./state-2a6rn6yr.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-by5v678g.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service47;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service53), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|