@opencode-ai/core 0.0.0-dev-19115 → 0.0.0-dev-19116
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/catalog.js +82 -82
- package/dist/chunks/{command-drn755cb.js → persistent-pty-02ghykkt.js} +47 -47
- package/dist/chunks/{command-2w9k586s.js → persistent-pty-038hmbfv.js} +26 -26
- package/dist/chunks/{command-tz2h76xm.js → persistent-pty-039t5jx1.js} +9 -9
- package/dist/chunks/{command-0e0xafbb.js → persistent-pty-0e0xafbb.js} +2 -2
- package/dist/chunks/{command-0ez61b8c.js → persistent-pty-0ez61b8c.js} +2 -2
- package/dist/chunks/{command-qgn6gcr1.js → persistent-pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{command-ag4rn41e.js → persistent-pty-0k2v0y72.js} +4 -4
- package/dist/chunks/{command-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-84gdxzwd.js → persistent-pty-0q7jjq5p.js} +12 -12
- package/dist/chunks/{command-k8feg6vv.js → persistent-pty-0rag4e4f.js} +4 -4
- package/dist/chunks/{command-0s9ayhjt.js → persistent-pty-0s9ayhjt.js} +1 -1
- package/dist/chunks/{command-j83byb14.js → persistent-pty-0v53mg2y.js} +4 -4
- package/dist/chunks/{command-gzd7t3bg.js → persistent-pty-12gh2r0n.js} +4 -4
- package/dist/chunks/{command-3wbgnpam.js → persistent-pty-13b7zb7a.js} +23 -23
- package/dist/chunks/{command-14hmenm3.js → persistent-pty-14hmenm3.js} +1 -1
- package/dist/chunks/{command-w0117ta3.js → persistent-pty-15vsdprz.js} +25 -25
- package/dist/chunks/{command-cjy05afp.js → persistent-pty-1cse2xtn.js} +27 -27
- package/dist/chunks/{command-1ct4r87x.js → persistent-pty-1ct4r87x.js} +1 -1
- package/dist/chunks/persistent-pty-1k2nkqs9.js +243 -0
- package/dist/chunks/{command-1wndzdy1.js → persistent-pty-1pae77tt.js} +28 -28
- package/dist/chunks/{command-njfhyprf.js → persistent-pty-1qdvjv25.js} +28 -28
- package/dist/chunks/{command-cy3cnjq8.js → persistent-pty-1t8g2pth.js} +4 -4
- package/dist/chunks/{command-4ct4f13p.js → persistent-pty-1xdvak68.js} +24 -24
- package/dist/chunks/{command-rgks3f05.js → persistent-pty-1zmt232p.js} +8 -8
- package/dist/chunks/persistent-pty-20s8sfqs.js +450 -0
- package/dist/chunks/{command-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{command-g8p4v1rh.js → persistent-pty-22wknqry.js} +10 -10
- package/dist/chunks/{command-77tfyndb.js → persistent-pty-23c0csww.js} +9 -9
- package/dist/chunks/{command-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{command-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-mv1gp3nd.js → persistent-pty-2grmq5yz.js} +34 -34
- package/dist/chunks/{command-2ht70gj7.js → persistent-pty-2ht70gj7.js} +1 -1
- package/dist/chunks/{command-2jqmte8w.js → persistent-pty-2jqmte8w.js} +2 -2
- package/dist/chunks/{command-h2st8tcp.js → persistent-pty-2m4g9ewj.js} +18 -18
- package/dist/chunks/{command-ght27my6.js → persistent-pty-2nhytzg2.js} +18 -18
- package/dist/chunks/{command-k8962brh.js → persistent-pty-34rkz0x9.js} +4 -4
- package/dist/chunks/{command-w16pqxss.js → persistent-pty-3bmsdbgc.js} +21 -21
- package/dist/chunks/{command-hjrjbgez.js → persistent-pty-3cm4x8pz.js} +5 -5
- package/dist/chunks/{command-s64tx33c.js → persistent-pty-3d8pr09w.js} +20 -20
- package/dist/chunks/{command-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3qzbfqsy.js → persistent-pty-3qzbfqsy.js} +2 -2
- package/dist/chunks/{command-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-1m2qxpbx.js → persistent-pty-41j7tnv9.js} +9 -9
- package/dist/chunks/{command-454k5vzh.js → persistent-pty-454k5vzh.js} +1 -1
- package/dist/chunks/{command-dv0xdbpz.js → persistent-pty-4ffy803j.js} +12 -12
- package/dist/chunks/{command-4r2nyarf.js → persistent-pty-4r2nyarf.js} +1 -1
- package/dist/chunks/{command-4z6b0fg6.js → persistent-pty-4z6b0fg6.js} +1 -1
- package/dist/chunks/{command-nakmymdz.js → persistent-pty-51nwj3e2.js} +56 -56
- package/dist/chunks/{command-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{command-67nkcjnx.js → persistent-pty-5djpcxd2.js} +11 -11
- package/dist/chunks/{command-5fmxt4p5.js → persistent-pty-5fmxt4p5.js} +1 -1
- package/dist/chunks/{command-5jvc5tg2.js → persistent-pty-5jvc5tg2.js} +1 -1
- package/dist/chunks/{command-5k3f87xj.js → persistent-pty-5k3f87xj.js} +1 -1
- package/dist/chunks/{command-kwqsq9eb.js → persistent-pty-608x8pfm.js} +1 -1
- package/dist/chunks/{command-y3kam97a.js → persistent-pty-61vgpbh6.js} +35 -35
- package/dist/chunks/{command-3wfq9j39.js → persistent-pty-6cmxkhbe.js} +10 -10
- package/dist/chunks/{command-fbfj6zdn.js → persistent-pty-6ehp7zc5.js} +4 -4
- package/dist/chunks/{command-6tf8tr4v.js → persistent-pty-6tf8tr4v.js} +2 -2
- package/dist/chunks/{command-4hj13xk2.js → persistent-pty-6xkccwtq.js} +4 -4
- package/dist/chunks/{command-mw7ytvy7.js → persistent-pty-6y243n7t.js} +11 -11
- package/dist/chunks/{command-711hfp6y.js → persistent-pty-711hfp6y.js} +2 -2
- package/dist/chunks/{command-j57dr7w8.js → persistent-pty-75ecc7tz.js} +29 -29
- package/dist/chunks/{command-3q60g5tw.js → persistent-pty-75yd3t4x.js} +25 -25
- package/dist/chunks/{command-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-9ym4a5yt.js → persistent-pty-7d3hynex.js} +23 -23
- package/dist/chunks/{command-mznxs8d6.js → persistent-pty-7ejv2hd0.js} +45 -45
- package/dist/chunks/{command-1bdhjw18.js → persistent-pty-7hw31dwt.js} +5 -5
- package/dist/chunks/{command-1z9d9trm.js → persistent-pty-7rgs2zq8.js} +11 -11
- package/dist/chunks/{command-7w3s9kd0.js → persistent-pty-7w3s9kd0.js} +1 -1
- package/dist/chunks/{command-4k07pfeq.js → persistent-pty-7z714152.js} +9 -9
- package/dist/chunks/{command-pgzzhbmy.js → persistent-pty-7zak5xvr.js} +11 -11
- package/dist/chunks/persistent-pty-7zk4hah4.js +4 -0
- package/dist/chunks/{command-86s3977f.js → persistent-pty-86s3977f.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
- package/dist/chunks/{command-4p3f57ee.js → persistent-pty-8ftz6ejv.js} +13 -13
- package/dist/chunks/{command-f18yxx57.js → persistent-pty-8p28ygyr.js} +9 -9
- package/dist/chunks/{command-93a8yfjt.js → persistent-pty-93a8yfjt.js} +2 -2
- package/dist/chunks/{command-45kzw0p8.js → persistent-pty-9aq2mrk7.js} +11 -11
- package/dist/chunks/{command-v63xgfyn.js → persistent-pty-9fm1kxq4.js} +3 -3
- package/dist/chunks/{command-tnsej14z.js → persistent-pty-9mwzjgyd.js} +28 -28
- package/dist/chunks/{command-c28brx2k.js → persistent-pty-9staja66.js} +9 -9
- package/dist/chunks/{command-wsdbxk0t.js → persistent-pty-9x2w7v1q.js} +7 -7
- package/dist/chunks/{command-kj8q7mtc.js → persistent-pty-9xmd3vp9.js} +24 -24
- package/dist/chunks/{command-4qs4g79n.js → persistent-pty-a3pq3n59.js} +41 -41
- package/dist/chunks/{command-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{command-qhdhv0w2.js → persistent-pty-ad75gk38.js} +15 -15
- package/dist/chunks/{command-sjwwpfw7.js → persistent-pty-ahexa12d.js} +41 -41
- package/dist/chunks/{command-ajeyjrs8.js → persistent-pty-ak6efjp5.js} +6 -6
- package/dist/chunks/{command-6h414ywr.js → persistent-pty-awqyf91x.js} +5 -5
- package/dist/chunks/{command-zk8c4w5t.js → persistent-pty-b0grxa7w.js} +5 -5
- package/dist/chunks/{command-ehkcz9nm.js → persistent-pty-b4wqy378.js} +18 -18
- package/dist/chunks/{command-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-w21nff9d.js → persistent-pty-b8r2rjw8.js} +25 -25
- package/dist/chunks/{command-b9wsbatv.js → persistent-pty-b9wsbatv.js} +1 -1
- package/dist/chunks/{command-y092mk2a.js → persistent-pty-ba9rkfcs.js} +6 -6
- package/dist/chunks/{command-megebd3a.js → persistent-pty-bf4rn6za.js} +4 -4
- package/dist/chunks/{command-j15mfg1p.js → persistent-pty-bjs2yq5f.js} +6 -6
- package/dist/chunks/{command-8f30jcen.js → persistent-pty-bnxgfjcz.js} +17 -17
- package/dist/chunks/{command-zqj49qgm.js → persistent-pty-byd5pdh7.js} +32 -32
- package/dist/chunks/{command-7nbw4m6q.js → persistent-pty-c3cb06f5.js} +13 -13
- package/dist/chunks/{command-4jcgzkct.js → persistent-pty-c44391z3.js} +17 -17
- package/dist/chunks/{command-dxvz0qx6.js → persistent-pty-c69vx815.js} +13 -13
- package/dist/chunks/{command-3jwbxfdj.js → persistent-pty-cb52j08x.js} +37 -37
- package/dist/chunks/{command-bc0bp3re.js → persistent-pty-cmp1gbzr.js} +8 -8
- package/dist/chunks/{command-rqajaxax.js → persistent-pty-cnzcswpq.js} +167 -167
- package/dist/chunks/{command-4rpnxrre.js → persistent-pty-cq3yemdf.js} +46 -46
- package/dist/chunks/{command-rx0dsajq.js → persistent-pty-csd2kfzw.js} +9 -9
- package/dist/chunks/{command-j3v7m4b4.js → persistent-pty-ctqk5yba.js} +7 -7
- package/dist/chunks/{command-djtdz80w.js → persistent-pty-djtdz80w.js} +1 -1
- package/dist/chunks/{command-2qan6xse.js → persistent-pty-dm4vv4a6.js} +37 -37
- package/dist/chunks/{command-578j1xdj.js → persistent-pty-dnk7gmhh.js} +10 -10
- package/dist/chunks/{command-dzntxkaj.js → persistent-pty-dskqvp6c.js} +68 -68
- package/dist/chunks/{command-zmnepbn3.js → persistent-pty-dypfnnxv.js} +7 -7
- package/dist/chunks/{command-9b3160jy.js → persistent-pty-e18bnnvs.js} +9 -9
- package/dist/chunks/{command-7rsx16tt.js → persistent-pty-e3bzzpkn.js} +10 -10
- package/dist/chunks/{command-48h7as0e.js → persistent-pty-e3rf8krc.js} +20 -20
- package/dist/chunks/{command-s631mnhv.js → persistent-pty-e4b60twv.js} +22 -22
- package/dist/chunks/{command-e5b0qn1c.js → persistent-pty-e5b0qn1c.js} +1 -1
- package/dist/chunks/{command-tj4a33e3.js → persistent-pty-e8zb6afy.js} +34 -34
- package/dist/chunks/{command-vbr4w0aw.js → persistent-pty-egz8g656.js} +33 -33
- package/dist/chunks/{command-mhkvc446.js → persistent-pty-eq1pz5kg.js} +3 -3
- package/dist/chunks/{command-g7csxrs7.js → persistent-pty-ey1a04aj.js} +4 -4
- package/dist/chunks/{command-ez5b8bq3.js → persistent-pty-ez5b8bq3.js} +1 -1
- package/dist/chunks/{command-3q0nngn9.js → persistent-pty-ezq5zned.js} +9 -9
- package/dist/chunks/{command-jwcy2c2z.js → persistent-pty-f0nz223j.js} +4 -4
- package/dist/chunks/{command-8npyp30c.js → persistent-pty-f2c1rw5q.js} +8 -8
- package/dist/chunks/{command-3zxznrdw.js → persistent-pty-f4h69zw7.js} +32 -32
- package/dist/chunks/{command-jmkbp1h5.js → persistent-pty-f7p58vk5.js} +13 -13
- package/dist/chunks/{command-52v0cq2v.js → persistent-pty-f86dfzph.js} +11 -11
- package/dist/chunks/{command-hjm0k3fp.js → persistent-pty-f8r5v8zg.js} +2 -2
- package/dist/chunks/{command-mxppkm1b.js → persistent-pty-fadw8aff.js} +27 -27
- package/dist/chunks/{command-vw50vsx1.js → persistent-pty-fak1e3ja.js} +16 -16
- package/dist/chunks/{command-mtcjf44p.js → persistent-pty-fgjfecz2.js} +6 -6
- package/dist/chunks/{command-jn88vsgf.js → persistent-pty-fsea1w0p.js} +36 -36
- package/dist/chunks/{command-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-fxypknc8.js → persistent-pty-fxypknc8.js} +1 -1
- package/dist/chunks/{command-cxnm9dwg.js → persistent-pty-fy3x4dmh.js} +13 -13
- package/dist/chunks/{command-hrvm11jt.js → persistent-pty-g2dy4bvs.js} +3 -3
- package/dist/chunks/{command-d72308c8.js → persistent-pty-g2gt0w0k.js} +2 -2
- package/dist/chunks/{command-1n22b4te.js → persistent-pty-g3xm713x.js} +13 -13
- package/dist/chunks/{command-g41n1fn3.js → persistent-pty-g41n1fn3.js} +1 -1
- package/dist/chunks/{command-nxbchyd1.js → persistent-pty-g9a9rqx4.js} +15 -15
- package/dist/chunks/{command-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-pdae5shs.js → persistent-pty-gfze89fe.js} +18 -18
- package/dist/chunks/{command-mh85gtv1.js → persistent-pty-gg2fk1c4.js} +15 -15
- package/dist/chunks/{command-hzecryb5.js → persistent-pty-ggsr10e7.js} +10 -10
- package/dist/chunks/{command-hbwagpks.js → persistent-pty-gkvzh88r.js} +11 -11
- package/dist/chunks/{command-c5rwfbwf.js → persistent-pty-h0z0jvv9.js} +20 -20
- package/dist/chunks/{command-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-ex99dnp9.js → persistent-pty-h9k9cmfx.js} +5 -5
- package/dist/chunks/{command-s0fzeym9.js → persistent-pty-hc00199r.js} +10 -10
- package/dist/chunks/{command-xynvqm4b.js → persistent-pty-heq22s2d.js} +17 -17
- package/dist/chunks/{command-heyhwy2w.js → persistent-pty-heyhwy2w.js} +1 -1
- package/dist/chunks/{command-y0kje1kq.js → persistent-pty-hmt4vayt.js} +5 -5
- package/dist/chunks/{command-avf2gxwn.js → persistent-pty-hnhdj7rj.js} +27 -27
- package/dist/chunks/{command-k5kpsmwm.js → persistent-pty-hqty32ca.js} +25 -25
- package/dist/chunks/{command-jvh9gk2c.js → persistent-pty-hrabpqyz.js} +29 -29
- package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
- package/dist/chunks/{command-kvsjn1dr.js → persistent-pty-hw4pv20g.js} +2 -2
- package/dist/chunks/{command-5rw6je3s.js → persistent-pty-j0y8f0xq.js} +3 -3
- package/dist/chunks/{command-0ptrrsjf.js → persistent-pty-j2y37yhm.js} +21 -21
- package/dist/chunks/{command-zk6hkb9n.js → persistent-pty-j3kams4z.js} +37 -37
- package/dist/chunks/{command-1eb7zprr.js → persistent-pty-j43tf9gr.js} +5 -5
- package/dist/chunks/{command-df9bnbjn.js → persistent-pty-j53zazwc.js} +9 -9
- package/dist/chunks/{command-ykcesz1b.js → persistent-pty-j7s4pw35.js} +4 -4
- package/dist/chunks/{command-2p8f7m2b.js → persistent-pty-j844sf2z.js} +6 -6
- package/dist/chunks/{command-5qd3pb7m.js → persistent-pty-j935v87r.js} +2 -2
- package/dist/chunks/{command-ne4gjgk6.js → persistent-pty-jcsk617h.js} +13 -13
- package/dist/chunks/{command-2vaz3fgd.js → persistent-pty-jg2z2cg4.js} +38 -38
- package/dist/chunks/{command-73azkrsd.js → persistent-pty-jx8dgn9c.js} +16 -16
- package/dist/chunks/{command-mw9mt08r.js → persistent-pty-k37hxh7q.js} +22 -22
- package/dist/chunks/{command-k4bwy1x5.js → persistent-pty-k4bwy1x5.js} +1 -1
- package/dist/chunks/{command-d674kx35.js → persistent-pty-k6gmgah6.js} +9 -9
- package/dist/chunks/{command-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{command-yfbd16n1.js → persistent-pty-kk3rr3qh.js} +5 -5
- package/dist/chunks/{command-p4b86tx8.js → persistent-pty-kyktj0vd.js} +6 -6
- package/dist/chunks/{command-9qj8fy7h.js → persistent-pty-m1peg48k.js} +9 -9
- package/dist/chunks/{command-bc8zabkg.js → persistent-pty-m8s7yz94.js} +8 -8
- package/dist/chunks/{command-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-mcxg6pmm.js → persistent-pty-mcxg6pmm.js} +1 -1
- package/dist/chunks/{command-60q8mcwp.js → persistent-pty-msqakgxm.js} +8 -8
- package/dist/chunks/{command-m1annk93.js → persistent-pty-mszhq5w3.js} +11 -11
- package/dist/chunks/{command-5w9qjdt3.js → persistent-pty-mzr3jh1b.js} +2 -2
- package/dist/chunks/{command-pdgqnwae.js → persistent-pty-mzr4n29e.js} +13 -13
- package/dist/chunks/{command-pcednt3p.js → persistent-pty-n0cjdfmr.js} +49 -49
- package/dist/chunks/{command-x0pd42vp.js → persistent-pty-n2jk6qtv.js} +15 -15
- package/dist/chunks/{command-854ca1e8.js → persistent-pty-n8c15cqp.js} +26 -26
- package/dist/chunks/{command-3vdwy4mz.js → persistent-pty-nejtgedz.js} +10 -10
- package/dist/chunks/{command-58dzf215.js → persistent-pty-njxgh0n2.js} +14 -14
- package/dist/chunks/{command-e0nkwt9z.js → persistent-pty-nnhtcagv.js} +4 -4
- package/dist/chunks/{command-n5gana85.js → persistent-pty-nqajw534.js} +27 -27
- package/dist/chunks/{command-yzsm82be.js → persistent-pty-nrvhq0he.js} +24 -24
- package/dist/chunks/{command-t7rtampj.js → persistent-pty-nvem0zh0.js} +2 -2
- package/dist/chunks/{command-ff1sw35j.js → persistent-pty-nxa8wnw5.js} +35 -35
- package/dist/chunks/{command-ekmzxrqe.js → persistent-pty-p317p1wz.js} +8 -8
- package/dist/chunks/{command-4sjd4f28.js → persistent-pty-p4vsqmpc.js} +9 -9
- package/dist/chunks/{command-zzjwypeh.js → persistent-pty-pf6xx1eb.js} +4 -4
- package/dist/chunks/{command-f1kgb3zy.js → persistent-pty-pfdftes8.js} +9 -9
- package/dist/chunks/{command-qfnycs03.js → persistent-pty-pha9f2e6.js} +7 -7
- package/dist/chunks/{command-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-4t040z03.js → persistent-pty-pjw71kmm.js} +16 -16
- package/dist/chunks/{command-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{command-18v0n603.js → persistent-pty-psg7avar.js} +20 -20
- package/dist/chunks/{command-gpp6afyt.js → persistent-pty-pt72vb4m.js} +24 -24
- package/dist/chunks/{command-c80ydkjz.js → persistent-pty-pt9vp53c.js} +46 -46
- package/dist/chunks/{command-k6s5w27h.js → persistent-pty-q3b0vsmg.js} +10 -10
- package/dist/chunks/{command-vedqaezr.js → persistent-pty-qf2z5hbw.js} +4 -4
- package/dist/chunks/{command-qbhkz4mz.js → persistent-pty-qkvqzff6.js} +32 -32
- package/dist/chunks/{command-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{command-9qm9egsn.js → persistent-pty-qvbcabdc.js} +2 -2
- package/dist/chunks/{command-rzhgj3wg.js → persistent-pty-r2kxtd6z.js} +17 -17
- package/dist/chunks/{command-r8dhm0tv.js → persistent-pty-r8dhm0tv.js} +1 -1
- package/dist/chunks/{command-nkpkrkfc.js → persistent-pty-rbyt0q31.js} +62 -62
- package/dist/chunks/{command-vvhr8ap4.js → persistent-pty-rc2v55kv.js} +35 -35
- package/dist/chunks/{command-kx2gvdct.js → persistent-pty-rgpp5x08.js} +4 -4
- package/dist/chunks/{command-rmy3e5eg.js → persistent-pty-rmy3e5eg.js} +1 -1
- package/dist/chunks/{command-ha4v9y42.js → persistent-pty-rys4mg1v.js} +19 -19
- package/dist/chunks/{command-s3eqpch7.js → persistent-pty-s3eqpch7.js} +1 -1
- package/dist/chunks/{command-8zpj8ga2.js → persistent-pty-s5f025jh.js} +6 -6
- package/dist/chunks/{command-sba4qhjf.js → persistent-pty-sba4qhjf.js} +1 -1
- package/dist/chunks/{command-7ym5twnq.js → persistent-pty-sg6b5yba.js} +39 -39
- package/dist/chunks/{command-4we2taax.js → persistent-pty-sgv9af10.js} +14 -14
- package/dist/chunks/{command-e5rv1qf4.js → persistent-pty-t0av4jg5.js} +15 -15
- package/dist/chunks/{command-6dbg2gn2.js → persistent-pty-t5zy0tn8.js} +48 -48
- package/dist/chunks/{command-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-zpgxjj6y.js → persistent-pty-tcsbw5z6.js} +16 -16
- package/dist/chunks/{command-55yvdk0c.js → persistent-pty-tdz2d0bf.js} +11 -11
- package/dist/chunks/{command-z2bjgnfj.js → persistent-pty-tge6005x.js} +15 -15
- package/dist/chunks/{command-thfv75je.js → persistent-pty-thfv75je.js} +2 -2
- package/dist/chunks/{command-tjykrgmx.js → persistent-pty-tjykrgmx.js} +1 -1
- package/dist/chunks/{command-xnz7e9v2.js → persistent-pty-v59vraf9.js} +30 -30
- package/dist/chunks/{command-dqwszdkc.js → persistent-pty-v60ecprk.js} +9 -9
- package/dist/chunks/{command-qr1qsn5r.js → persistent-pty-v6d825jm.js} +23 -23
- package/dist/chunks/{command-p5d8w6vs.js → persistent-pty-vpcrvpem.js} +24 -24
- package/dist/chunks/{command-npkajqde.js → persistent-pty-vsj8va3n.js} +29 -29
- package/dist/chunks/{command-rxsvjy6j.js → persistent-pty-vta8yyap.js} +31 -31
- package/dist/chunks/{command-wgxn7ww3.js → persistent-pty-vtmd3szc.js} +4 -4
- package/dist/chunks/{command-9rem8hjd.js → persistent-pty-vyrgm4zq.js} +11 -11
- package/dist/chunks/{command-0yrmd491.js → persistent-pty-vyrse5sf.js} +18 -18
- package/dist/chunks/{command-6z5bwd8g.js → persistent-pty-w3jym6ha.js} +6 -6
- package/dist/chunks/{command-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-p8vd7n39.js → persistent-pty-w7v3ectx.js} +20 -20
- package/dist/chunks/{command-s41xc0fx.js → persistent-pty-wanpp1k7.js} +8 -8
- package/dist/chunks/{command-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{command-hv5tmyxa.js → persistent-pty-wdsftsg6.js} +23 -23
- package/dist/chunks/{command-yxwewdw9.js → persistent-pty-wfhhk81x.js} +9 -9
- package/dist/chunks/{command-7vhvnd6j.js → persistent-pty-wfhxja34.js} +89 -89
- package/dist/chunks/{command-4y9deqpk.js → persistent-pty-wfq5jtmb.js} +24 -24
- package/dist/chunks/{command-s4ye7va7.js → persistent-pty-wkq1a691.js} +16 -16
- package/dist/chunks/persistent-pty-wpa9nskr.js +22 -0
- package/dist/chunks/{command-x4f0ty3q.js → persistent-pty-wpgkb29z.js} +7 -7
- package/dist/chunks/{command-natwdt6v.js → persistent-pty-ws50g6ew.js} +29 -29
- package/dist/chunks/{command-bp4zbqtd.js → persistent-pty-wy1gn0qd.js} +5 -5
- package/dist/chunks/{command-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-jc31v14r.js → persistent-pty-x4bzwk8v.js} +9 -9
- package/dist/chunks/{command-mt8fk037.js → persistent-pty-xba749n3.js} +36 -36
- package/dist/chunks/{command-c26ks60e.js → persistent-pty-xe339285.js} +24 -24
- package/dist/chunks/{command-9x7bsm9r.js → persistent-pty-xm1jwy74.js} +86 -86
- package/dist/chunks/{command-xqsy6kp0.js → persistent-pty-xqsy6kp0.js} +1 -1
- package/dist/chunks/{command-7k848sc6.js → persistent-pty-xt7b81sn.js} +20 -20
- package/dist/chunks/{command-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-s1zas8dv.js → persistent-pty-y4avtqgk.js} +9 -9
- package/dist/chunks/{command-ajtjthsy.js → persistent-pty-yg7sb877.js} +2 -2
- package/dist/chunks/{command-jnbaqc7b.js → persistent-pty-ygpseft7.js} +15 -15
- package/dist/chunks/{command-qav3zztn.js → persistent-pty-yrcexxg5.js} +17 -17
- package/dist/chunks/{command-r9hy8h05.js → persistent-pty-yvfkj8fv.js} +5 -5
- package/dist/chunks/{command-z1k01bn4.js → persistent-pty-z1k01bn4.js} +2 -2
- package/dist/chunks/{command-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
- package/dist/chunks/{command-q8rpcfw0.js → persistent-pty-zjey93np.js} +8 -8
- package/dist/chunks/{command-zn2pq4p8.js → persistent-pty-zn2pq4p8.js} +2 -2
- package/dist/chunks/{command-mhsg1yty.js → persistent-pty-zrz343zw.js} +10 -10
- package/dist/chunks/{command-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-fvxhrhfw.js → persistent-pty-zyvs8cv6.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- 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 +116 -116
- 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/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +72 -72
- 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 +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- 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 +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- 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 +3 -3
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +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 +210 -210
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- 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 +114 -114
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- 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 +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +331 -331
- package/dist/plugin/system-prompt.js +1 -1
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +1 -1
- 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 +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +87 -87
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +120 -120
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- 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 +73 -73
- 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 +3 -3
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- 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 +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +100 -100
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +1 -1
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +5 -5
- 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 +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +7 -7
- package/dist/chunks/command-4kfzb8gv.js +0 -450
- package/dist/chunks/command-9sh4wc5j.js +0 -18
- package/dist/chunks/command-csvvt798.js +0 -22
- package/dist/chunks/command-f4j0pa50.js +0 -4
- package/dist/chunks/command-qgqmyz30.js +0 -243
- /package/dist/chunks/{command-0fabt78z.js → persistent-pty-0fabt78z.js} +0 -0
- /package/dist/chunks/{command-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t738kvx.js → persistent-pty-3t738kvx.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-41nvscxy.js → persistent-pty-41nvscxy.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-982e01ww.js → persistent-pty-982e01ww.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a1tpkmh4.js → persistent-pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mntxs535.js → persistent-pty-mntxs535.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p8qxwesx.js → persistent-pty-p8qxwesx.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-se0s1eqw.js → persistent-pty-se0s1eqw.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x1b8g1yb.js → persistent-pty-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{command-zbjnn3ac.js → persistent-pty-zbjnn3ac.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node82
|
|
4
|
+
} from "./persistent-pty-gg2fk1c4.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./persistent-pty-gfze89fe.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-0e0xafbb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-mntxs535.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-dnk7gmhh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service62,
|
|
21
|
+
node64
|
|
22
|
+
} from "./persistent-pty-rys4mg1v.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service18,
|
|
25
|
+
node21
|
|
26
|
+
} from "./persistent-pty-xm1jwy74.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-tjykrgmx.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service6,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer6,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node8
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode-ai/ai";
|
|
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service6 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var layer6 = Layer.effect(
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service78;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service18;
|
|
65
|
+
const store = yield* Service62;
|
|
66
|
+
const db = (yield* Service79).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service6.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
150
|
+
var node8 = makeLocationNode({
|
|
151
|
+
service: Service6,
|
|
152
152
|
layer: layer6,
|
|
153
|
-
deps: [
|
|
153
|
+
deps: [node81, llmClient2, node21, node64, node82]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service6, isUntitled2, layer6, node8, exports_title };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
|
+
ID: () => ID17,
|
|
14
|
+
Info: () => Info31,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode-ai/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID17 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info31 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID17, Current3, Info31, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
Service79,
|
|
4
|
-
node83
|
|
5
|
-
} from "./command-pdae5shs.js";
|
|
6
|
-
import {
|
|
7
3
|
Service78,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
4
|
+
node81
|
|
5
|
+
} from "./persistent-pty-gfze89fe.js";
|
|
6
|
+
import {
|
|
7
|
+
Service54,
|
|
8
|
+
node56
|
|
9
|
+
} from "./persistent-pty-8ftz6ejv.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service48,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node50,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service48 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service54;
|
|
81
|
+
const bus = yield* Service78;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event10.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service48.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event10.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event10.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node50 = makeGlobalNode({ service: Service48, layer, deps: [httpClient, node56, node81] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service48, Event10, inspect2, resolve2, node50, exports_wellknown };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./persistent-pty-c44391z3.js";
|
|
7
7
|
import {
|
|
8
8
|
externalDirectoryPermission2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service45
|
|
10
|
+
} from "./persistent-pty-tcsbw5z6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service61
|
|
13
|
+
} from "./persistent-pty-rbyt0q31.js";
|
|
14
14
|
import {
|
|
15
15
|
Service11
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-ygpseft7.js";
|
|
17
17
|
import {
|
|
18
18
|
NotFound2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
20
20
|
import {
|
|
21
21
|
MEDIA_MIMES2,
|
|
22
22
|
BinaryFileError2,
|
|
@@ -28,25 +28,25 @@ import {
|
|
|
28
28
|
TextPage2,
|
|
29
29
|
ListPage2,
|
|
30
30
|
Service12
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-5djpcxd2.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/read.ts
|
|
37
37
|
var exports_read = {};
|
|
38
38
|
__export(exports_read, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input8,
|
|
40
|
+
Plugin: () => Plugin38,
|
|
41
41
|
ReadTool: () => exports_read,
|
|
42
|
-
name: () =>
|
|
42
|
+
name: () => name8,
|
|
43
43
|
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { basename, dirname, join } from "path";
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
49
|
-
var
|
|
49
|
+
var name8 = "read";
|
|
50
50
|
var FILENAME = "AGENTS.md";
|
|
51
51
|
var LocationInput = Schema.Struct({
|
|
52
52
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
|
|
|
57
57
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
58
58
|
})
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input8 = LocationInput;
|
|
61
61
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
62
|
-
var
|
|
62
|
+
var Plugin38 = {
|
|
63
63
|
id: "opencode.tool.read",
|
|
64
64
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
65
65
|
const reader = yield* Service12;
|
|
66
|
-
const mutation = yield*
|
|
67
|
-
const permission = yield*
|
|
66
|
+
const mutation = yield* Service45;
|
|
67
|
+
const permission = yield* Service61;
|
|
68
68
|
const sessionInstructions = yield* Service11;
|
|
69
69
|
const fs = yield* FSUtil.Service;
|
|
70
|
-
const location = yield*
|
|
70
|
+
const location = yield* Service75;
|
|
71
71
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
72
|
-
name:
|
|
72
|
+
name: name8,
|
|
73
73
|
options: { codemode: false },
|
|
74
74
|
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.",
|
|
75
|
-
input:
|
|
75
|
+
input: Input8,
|
|
76
76
|
output: Output,
|
|
77
77
|
execute: (input, context) => {
|
|
78
78
|
return Effect.gen(function* () {
|
|
@@ -90,7 +90,7 @@ var Plugin41 = {
|
|
|
90
90
|
source
|
|
91
91
|
});
|
|
92
92
|
yield* permission.assert({
|
|
93
|
-
action:
|
|
93
|
+
action: name8,
|
|
94
94
|
resources: [target.resource],
|
|
95
95
|
save: ["*"],
|
|
96
96
|
sessionID: context.sessionID,
|
|
@@ -208,4 +208,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
208
208
|
`);
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { name8, Input8, Plugin38, toModelContent4, exports_read };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node81
|
|
4
|
+
} from "./persistent-pty-gfze89fe.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-p8qxwesx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service53,
|
|
17
|
+
node55
|
|
18
|
+
} from "./persistent-pty-e3rf8krc.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service44,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node46
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode-ai/schema/reference";
|
|
41
41
|
import { Global } from "@opencode-ai/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode-ai/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service44 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service78;
|
|
53
|
+
const cache = yield* Service53;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service44.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node46 = makeLocationNode({
|
|
116
|
+
service: Service44,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node81, node55]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info9, Service44, node46, exports_reference2, Event8 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node81
|
|
4
|
+
} from "./persistent-pty-gfze89fe.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-n2jk6qtv.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError9,
|
|
20
|
+
Options: () => Options8,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured7,
|
|
25
|
+
layer: () => layer23,
|
|
26
|
+
node: () => node69
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode-ai/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode-ai/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options8 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service67 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service78;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError9({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service67.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer23 = makeLayer();
|
|
259
|
+
var configured7 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service67,
|
|
261
|
+
layer: options === undefined ? layer23 : makeLayer(options),
|
|
262
|
+
deps: [node81, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node69 = configured7();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options8, UnavailableError3, NotFoundError9, Service67, layer23, configured7, node69, exports_persistent_pty, Handoff2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-4z6b0fg6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID9
|
|
7
|
+
} from "./persistent-pty-6cmxkhbe.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID9.make("gpt-5-chat-latest"), ID9.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|