@opencode/core 0.0.0-dev-19971 → 0.0.0-dev-19974
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{websearch-9zt0qaq4.js → command-0601qg4c.js} +11 -11
- package/dist/chunks/{websearch-6mtbrevk.js → command-0dtckawb.js} +15 -15
- package/dist/chunks/{websearch-g8jasmdt.js → command-0fxyxxca.js} +8 -8
- package/dist/chunks/{websearch-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-0q0f95c6.js → command-0q0f95c6.js} +1 -1
- package/dist/chunks/command-0repjh3r.js +252 -0
- package/dist/chunks/{websearch-c4b2kpxw.js → command-12ppvwww.js} +11 -11
- package/dist/chunks/{websearch-dps2ye13.js → command-15ecbz73.js} +17 -17
- package/dist/chunks/{websearch-5vz0r8c8.js → command-18fjrjyv.js} +17 -17
- package/dist/chunks/{websearch-yr8w2f7w.js → command-19wqcg6g.js} +25 -25
- package/dist/chunks/{websearch-a37y538j.js → command-1dard8rw.js} +11 -11
- package/dist/chunks/{websearch-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-8rcz2q6j.js → command-1fmn7nca.js} +29 -29
- package/dist/chunks/{websearch-2rfba7m5.js → command-1jqpcwdd.js} +13 -13
- package/dist/chunks/{websearch-9ykp1bjn.js → command-1vc7h4bf.js} +20 -20
- package/dist/chunks/{websearch-psa6e1wa.js → command-1wnwcw7r.js} +11 -11
- package/dist/chunks/{websearch-1ygqh575.js → command-1ygqh575.js} +2 -2
- package/dist/chunks/{websearch-z0tn3z5h.js → command-21bs846c.js} +15 -15
- package/dist/chunks/{websearch-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-9fe2175z.js → command-29ebz4cy.js} +21 -21
- package/dist/chunks/{websearch-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-8s8mxddj.js → command-2evyaa68.js} +4 -4
- package/dist/chunks/{websearch-atp9h773.js → command-2m0t44q9.js} +15 -15
- package/dist/chunks/{websearch-3a6re68j.js → command-35agz59w.js} +6 -6
- package/dist/chunks/{websearch-fhz5gfgy.js → command-3801kdgp.js} +5 -5
- package/dist/chunks/{websearch-n64525wv.js → command-395exzp5.js} +33 -33
- package/dist/chunks/{websearch-q5v2a16e.js → command-3f7xan5b.js} +4 -4
- package/dist/chunks/{websearch-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-k72x7rmb.js → command-3gafegkz.js} +6 -6
- package/dist/chunks/{websearch-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-gmjjhz4f.js → command-3ktbe3hf.js} +6 -6
- package/dist/chunks/{websearch-gjmk74th.js → command-3ppptnan.js} +6 -6
- package/dist/chunks/{websearch-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-hppyn5sa.js → command-3x4n1p4b.js} +11 -11
- package/dist/chunks/{websearch-xfdrc2qg.js → command-44ke2mar.js} +4 -4
- package/dist/chunks/{websearch-10915612.js → command-44ksrw62.js} +13 -13
- package/dist/chunks/{websearch-3mms5ene.js → command-4dkr59gj.js} +3 -3
- package/dist/chunks/{websearch-q17z9dx8.js → command-4drgpw32.js} +5 -5
- package/dist/chunks/{websearch-qn9b0sqe.js → command-4gv05ame.js} +11 -11
- package/dist/chunks/{websearch-tcg29b4q.js → command-4jc5c4h4.js} +1 -1
- package/dist/chunks/{websearch-09map6a0.js → command-4qm7m3m6.js} +26 -26
- package/dist/chunks/{websearch-bjnm8sq4.js → command-57aypccr.js} +3 -3
- package/dist/chunks/{websearch-v6v4kqhc.js → command-5arbc4sb.js} +50 -50
- package/dist/chunks/{websearch-a1bz86dw.js → command-5c4hm403.js} +3 -3
- package/dist/chunks/{websearch-4emms01x.js → command-5cry9dbs.js} +38 -38
- package/dist/chunks/{websearch-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-kf97d77q.js → command-5esk5nf6.js} +17 -17
- package/dist/chunks/{websearch-b2wvp900.js → command-5fygez4p.js} +5 -5
- package/dist/chunks/{websearch-a30y0zke.js → command-5mjt82ds.js} +21 -21
- package/dist/chunks/{websearch-z6wvr5eg.js → command-5qmpb97a.js} +3 -3
- package/dist/chunks/{websearch-kz4d7gxj.js → command-5r8re7cq.js} +5 -5
- package/dist/chunks/{websearch-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-ernzmvnm.js → command-5v6q8ws3.js} +38 -38
- package/dist/chunks/{websearch-2336b01z.js → command-5we7r0eg.js} +5 -5
- package/dist/chunks/{websearch-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{websearch-r2gdke7a.js → command-69zdqv0e.js} +9 -9
- package/dist/chunks/{websearch-4bfr0h1a.js → command-6axvzsm7.js} +21 -21
- package/dist/chunks/{websearch-pwvve957.js → command-6bnbyxfg.js} +9 -9
- package/dist/chunks/{websearch-fsnmy6e7.js → command-6dbd9kfr.js} +4 -4
- package/dist/chunks/{websearch-2402vzrj.js → command-6h73sxmp.js} +5 -5
- package/dist/chunks/{websearch-2cby6ycg.js → command-6jt6hkba.js} +24 -24
- package/dist/chunks/{websearch-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-nfvzb2qa.js → command-6pj7x9ww.js} +12 -12
- package/dist/chunks/{websearch-y0enq6yx.js → command-6yd319e0.js} +35 -35
- package/dist/chunks/{websearch-mv0eyhkp.js → command-76vyv3fa.js} +12 -12
- package/dist/chunks/{websearch-0f92sxzd.js → command-77hk7r89.js} +9 -9
- package/dist/chunks/{websearch-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-ezd1shxf.js → command-7nvpgp18.js} +24 -24
- package/dist/chunks/{websearch-67z5vx6v.js → command-7rx5b338.js} +13 -13
- package/dist/chunks/{websearch-490js09j.js → command-7s37cbtz.js} +10 -10
- package/dist/chunks/{websearch-kbabe8wy.js → command-7y0fda1f.js} +10 -10
- package/dist/chunks/{websearch-zans6vvk.js → command-80agk8qd.js} +33 -33
- package/dist/chunks/{websearch-rnxvhcjb.js → command-85gr95dm.js} +70 -70
- package/dist/chunks/{websearch-2k71kv7p.js → command-86qzxe6p.js} +4 -4
- package/dist/chunks/{websearch-89znhe33.js → command-89znhe33.js} +1 -1
- package/dist/chunks/{websearch-rhj3edsb.js → command-8a6kxmc8.js} +35 -35
- package/dist/chunks/{websearch-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-n8x6vg9c.js → command-8gxjxfk7.js} +34 -34
- package/dist/chunks/{websearch-qxgb7w54.js → command-8qby4p94.js} +47 -47
- package/dist/chunks/{websearch-j1g0a8z5.js → command-92rkebfh.js} +19 -19
- package/dist/chunks/{websearch-4c8bw516.js → command-97w5rk9e.js} +7 -7
- package/dist/chunks/{websearch-4nwwzap6.js → command-98r14yx2.js} +13 -13
- package/dist/chunks/{websearch-sxsb2wh5.js → command-9bh1kbwm.js} +37 -37
- package/dist/chunks/{websearch-m9x5r80r.js → command-9jyavp4h.js} +5 -5
- package/dist/chunks/{websearch-nmtdsvx9.js → command-9ksxqh2k.js} +2 -2
- package/dist/chunks/{websearch-zg4xcdcw.js → command-9tb5hr0v.js} +18 -18
- package/dist/chunks/{websearch-ch9ef3fj.js → command-9xv0kghy.js} +4 -4
- package/dist/chunks/{websearch-t7y12kcc.js → command-a16afrr2.js} +3 -3
- package/dist/chunks/{websearch-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-4rdw2jk2.js → command-aht6b1gw.js} +11 -11
- package/dist/chunks/{websearch-4argy660.js → command-azsbfkqj.js} +20 -20
- package/dist/chunks/{websearch-t23sgjx0.js → command-b3h4hk8s.js} +173 -173
- package/dist/chunks/{websearch-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-neyhfhbv.js → command-b91y5b0n.js} +20 -20
- package/dist/chunks/{websearch-x7c0erfj.js → command-bbn46np6.js} +38 -38
- package/dist/chunks/{websearch-axgxjnt4.js → command-bc7r1051.js} +8 -8
- package/dist/chunks/{websearch-8ssqt2ma.js → command-beq4zdab.js} +11 -11
- package/dist/chunks/{websearch-8h6f0t3s.js → command-bkt6pkzv.js} +20 -20
- package/dist/chunks/{websearch-1yv162eq.js → command-bp02r99k.js} +4 -4
- package/dist/chunks/{websearch-pe1tjmn3.js → command-brmtm7cf.js} +11 -11
- package/dist/chunks/{websearch-rftj34h1.js → command-bvrm6sd3.js} +26 -26
- package/dist/chunks/{websearch-5g1dq8q7.js → command-c27g0cwe.js} +14 -14
- package/dist/chunks/{websearch-5bgxqkp2.js → command-c68rk66j.js} +8 -8
- package/dist/chunks/{websearch-jdtnppjh.js → command-ca4wybjn.js} +9 -9
- package/dist/chunks/{websearch-eynpjjts.js → command-cb9ss0ge.js} +9 -9
- package/dist/chunks/{websearch-4z78jc8k.js → command-cd0z4qvb.js} +8 -8
- package/dist/chunks/{websearch-yqc7fef7.js → command-ceer43ev.js} +6 -6
- package/dist/chunks/{websearch-jdqyxw3b.js → command-cnkj3bkk.js} +6 -6
- package/dist/chunks/{websearch-bkt3ke4c.js → command-csmtma2g.js} +16 -16
- package/dist/chunks/{websearch-qmqgtz8f.js → command-cwa6csj7.js} +9 -9
- package/dist/chunks/{websearch-sgm3x1y6.js → command-d4kvcxbh.js} +18 -18
- package/dist/chunks/{websearch-qrpkzea1.js → command-d8vs3fz8.js} +25 -25
- package/dist/chunks/{websearch-57ez7d0k.js → command-d9s573fh.js} +2 -2
- package/dist/chunks/{websearch-8p4f9s12.js → command-dj2t23y0.js} +2 -2
- package/dist/chunks/{websearch-eg9c94rq.js → command-dj7ydz2q.js} +1 -1
- package/dist/chunks/{websearch-b1p2bp1h.js → command-dm0bbnwt.js} +12 -12
- package/dist/chunks/{websearch-zpya8g88.js → command-dnm7xxeh.js} +3 -3
- package/dist/chunks/{websearch-8zyqjgnv.js → command-dtyshr95.js} +20 -20
- package/dist/chunks/{websearch-hc9acsgr.js → command-e0378qy6.js} +9 -9
- package/dist/chunks/{websearch-2rshs1gx.js → command-e23rwaaf.js} +30 -30
- package/dist/chunks/{websearch-1twwwxc3.js → command-e64hjbz6.js} +10 -10
- package/dist/chunks/{websearch-d9rywp8y.js → command-eac26f80.js} +29 -29
- package/dist/chunks/{websearch-02nrjc1r.js → command-eaj1djv9.js} +4 -4
- package/dist/chunks/{websearch-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-5khnppx8.js → command-ejhgf7w3.js} +13 -13
- package/dist/chunks/{websearch-emq5vpv3.js → command-en452bs7.js} +20 -20
- package/dist/chunks/{websearch-7hb0xpq9.js → command-eqbz22z4.js} +28 -28
- package/dist/chunks/{websearch-erw5rpbs.js → command-erw5rpbs.js} +2 -2
- package/dist/chunks/{websearch-qgn6gcr1.js → command-esafk7q3.js} +5 -5
- package/dist/chunks/{websearch-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-37s12vcn.js → command-ez47arx5.js} +2 -2
- package/dist/chunks/{websearch-mgmaefw5.js → command-f2wfspan.js} +3 -3
- package/dist/chunks/{websearch-3t60d24d.js → command-f3t28nxc.js} +7 -7
- package/dist/chunks/{websearch-aqekamra.js → command-f41ena25.js} +9 -9
- package/dist/chunks/{websearch-wk20jg90.js → command-fb3kqv53.js} +42 -42
- package/dist/chunks/{websearch-wk5z6jzv.js → command-fdms3n6w.js} +9 -9
- package/dist/chunks/{websearch-mtq6xxnx.js → command-fdv30zvt.js} +4 -4
- package/dist/chunks/{websearch-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{websearch-1mpytbrd.js → command-fxjzx9zk.js} +2 -2
- package/dist/chunks/{websearch-e1jqcehv.js → command-fyxvyc63.js} +16 -16
- package/dist/chunks/{websearch-zmjry135.js → command-g2aavtfc.js} +3 -3
- package/dist/chunks/{websearch-jxy9pp01.js → command-gb73r5q4.js} +28 -28
- package/dist/chunks/{websearch-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-pvcexzwr.js → command-gezbrf6h.js} +6 -6
- package/dist/chunks/{websearch-8gxqpgph.js → command-gst7axd9.js} +4 -4
- package/dist/chunks/{websearch-p5n00eja.js → command-gzk0z5t1.js} +44 -44
- package/dist/chunks/{websearch-0pwhgh8h.js → command-h47e2fat.js} +22 -22
- package/dist/chunks/{websearch-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-mrrrmvzm.js → command-ha7xgv60.js} +20 -20
- package/dist/chunks/{websearch-f828m53h.js → command-hdnk95c8.js} +2 -2
- package/dist/chunks/{websearch-3mwrkndb.js → command-hm4csw6w.js} +15 -15
- package/dist/chunks/{websearch-wbhf1d2f.js → command-hng4xen5.js} +25 -25
- package/dist/chunks/{websearch-f9tzck21.js → command-hqn1z470.js} +14 -14
- package/dist/chunks/{websearch-hfdggbzh.js → command-hvf8bzx3.js} +15 -15
- package/dist/chunks/{websearch-657t18yv.js → command-j1h0x3qm.js} +4 -4
- package/dist/chunks/{websearch-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-68s0cpd5.js → command-j84y35zg.js} +1 -1
- package/dist/chunks/{websearch-jca4demv.js → command-jca4demv.js} +2 -2
- package/dist/chunks/{websearch-bt4vczj1.js → command-jm23qt55.js} +18 -18
- package/dist/chunks/{websearch-kskv054x.js → command-jndgkwdf.js} +6 -6
- package/dist/chunks/{websearch-hm7h5fnq.js → command-js89hyr4.js} +85 -85
- package/dist/chunks/{websearch-96dfwwyn.js → command-jshnnbm0.js} +3 -3
- package/dist/chunks/{websearch-cavr175a.js → command-jw80jp6b.js} +4 -4
- package/dist/chunks/{websearch-yt0fqk68.js → command-jwbqhvyy.js} +5 -5
- package/dist/chunks/{websearch-pvh6zpvx.js → command-k0gxj95r.js} +30 -30
- package/dist/chunks/{websearch-3yfsrc7f.js → command-k409y6k1.js} +8 -8
- package/dist/chunks/{websearch-x1zq0qjw.js → command-k6jsebqw.js} +14 -14
- package/dist/chunks/{websearch-cw351spq.js → command-k6w958j5.js} +3 -3
- package/dist/chunks/{websearch-1kq608fv.js → command-kkf65y6a.js} +24 -24
- package/dist/chunks/{websearch-gyj5qngc.js → command-kw5v92fn.js} +25 -25
- package/dist/chunks/{websearch-tt85xgdw.js → command-kz87xe09.js} +26 -26
- package/dist/chunks/{websearch-cfpkc3c9.js → command-m0jqrx5p.js} +2 -2
- package/dist/chunks/{websearch-bbx8rj45.js → command-m2k7mg07.js} +11 -11
- package/dist/chunks/{websearch-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-e0pc9hss.js → command-m4j94d0w.js} +13 -13
- package/dist/chunks/{websearch-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-9jan11yy.js → command-m9wnxg74.js} +22 -22
- package/dist/chunks/{websearch-eq1pz5kg.js → command-mhkvc446.js} +3 -3
- package/dist/chunks/{websearch-ydgy0jv4.js → command-mqzwkyay.js} +6 -6
- package/dist/chunks/{websearch-ng2t6yjv.js → command-mt1xf8xq.js} +4 -4
- package/dist/chunks/{websearch-qg0jgkcp.js → command-mvn2r3z4.js} +9 -9
- package/dist/chunks/{websearch-sc2b8fmw.js → command-mwch1h7x.js} +22 -22
- package/dist/chunks/{websearch-e3rd11p8.js → command-n80jc431.js} +17 -17
- package/dist/chunks/{websearch-3gr5sfar.js → command-ngne8dfe.js} +10 -10
- package/dist/chunks/{websearch-ctg6kqhn.js → command-njkzccyn.js} +7 -7
- package/dist/chunks/{websearch-j841wva5.js → command-nnbzrd8n.js} +15 -15
- package/dist/chunks/{websearch-1anmvv20.js → command-np4grtax.js} +21 -21
- package/dist/chunks/{websearch-r6fe7wqt.js → command-ny7zsgxc.js} +10 -10
- package/dist/chunks/{websearch-k3c624dm.js → command-nzks3jc8.js} +3 -3
- package/dist/chunks/{websearch-cpj0znwe.js → command-nzyhnfxz.js} +4 -4
- package/dist/chunks/{websearch-p28j5sbe.js → command-p28j5sbe.js} +2 -2
- package/dist/chunks/{websearch-dv1qgsyq.js → command-p37cw4rj.js} +6 -6
- package/dist/chunks/{websearch-jfgwv67f.js → command-p504gj3f.js} +8 -8
- package/dist/chunks/{websearch-8g41p69m.js → command-pdhkkygs.js} +11 -11
- package/dist/chunks/{websearch-qyv22f12.js → command-ph5q8xzv.js} +10 -10
- package/dist/chunks/{websearch-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-98v28jez.js → command-pm3aw8jw.js} +25 -25
- package/dist/chunks/{websearch-7m2tq7cp.js → command-pn2fvd3j.js} +12 -12
- package/dist/chunks/{websearch-b6m9cw84.js → command-q0r7cvmx.js} +11 -11
- package/dist/chunks/{websearch-gzahs6bb.js → command-q29a3mzv.js} +15 -15
- package/dist/chunks/{websearch-7w3s9kd0.js → command-q5nw5m1n.js} +6 -6
- package/dist/chunks/{websearch-a34cw71v.js → command-qbznwwr3.js} +8 -8
- package/dist/chunks/{websearch-484ven3d.js → command-qcqngy56.js} +10 -10
- package/dist/chunks/{websearch-ztz4j6tx.js → command-qmawctgv.js} +11 -11
- package/dist/chunks/{websearch-52j4gwnf.js → command-qmk2rxp5.js} +5 -5
- package/dist/chunks/{websearch-47j6g49p.js → command-qnv6wqrn.js} +79 -79
- package/dist/chunks/{websearch-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-273x4bvc.js → command-qsmad8q5.js} +26 -26
- package/dist/chunks/{websearch-db4bfb5s.js → command-qv6qez6w.js} +11 -11
- package/dist/chunks/{websearch-ap1jv5wd.js → command-qvx74awb.js} +7 -7
- package/dist/chunks/{websearch-sneexhcr.js → command-r5b2g718.js} +31 -31
- package/dist/chunks/{websearch-gv5sesne.js → command-r60jn89m.js} +17 -17
- package/dist/chunks/{websearch-e61g2f31.js → command-rahj5xg6.js} +8 -8
- package/dist/chunks/{websearch-sv2wt6jj.js → command-rc2rdsk3.js} +12 -12
- package/dist/chunks/{websearch-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-pb5amgwz.js → command-rgbassad.js} +23 -23
- package/dist/chunks/{websearch-p491qsmh.js → command-rkwepmqr.js} +12 -12
- package/dist/chunks/{websearch-zeh9ct20.js → command-rq775frq.js} +2 -2
- package/dist/chunks/{websearch-1t2sqhcs.js → command-rqmc9bz6.js} +4 -4
- package/dist/chunks/{websearch-tsgfq9bb.js → command-rsnh7qyx.js} +5 -5
- package/dist/chunks/{websearch-syxn4zf7.js → command-rtbgd8vv.js} +12 -12
- package/dist/chunks/{websearch-afed7ext.js → command-s2ynmxvy.js} +5 -5
- package/dist/chunks/{websearch-h5crbhmb.js → command-sds13m34.js} +15 -15
- package/dist/chunks/{websearch-19j60k9b.js → command-sf8s250z.js} +25 -25
- package/dist/chunks/{websearch-dxvesfzj.js → command-st8d6rzm.js} +40 -40
- package/dist/chunks/{websearch-bg1wpsny.js → command-svt8e23h.js} +30 -30
- package/dist/chunks/{websearch-jcynjjsm.js → command-szncdaef.js} +4 -4
- package/dist/chunks/{websearch-wbkyxrgf.js → command-t3swkhbg.js} +5 -5
- package/dist/chunks/{websearch-bct739vz.js → command-t9zs3egg.js} +4 -4
- package/dist/chunks/{websearch-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-g4mwgykz.js → command-tg765z21.js} +9 -9
- package/dist/chunks/{websearch-hcpzh4y5.js → command-tqnd21xx.js} +22 -22
- package/dist/chunks/{websearch-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-8ank75fn.js → command-tx9w5tca.js} +8 -8
- package/dist/chunks/{websearch-r0y2mygc.js → command-v5g5v3ws.js} +16 -16
- package/dist/chunks/{websearch-v3wvqj48.js → command-v7bs4fwn.js} +11 -11
- package/dist/chunks/{websearch-xh3hyv3f.js → command-vbaxqaky.js} +10 -10
- package/dist/chunks/{websearch-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/command-vnkjks7b.js +18 -0
- package/dist/chunks/{websearch-wxv342sh.js → command-vtpa8adt.js} +27 -27
- package/dist/chunks/{websearch-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-wr1n0z8j.js → command-w0825h81.js} +318 -318
- package/dist/chunks/{websearch-z7x2t1h4.js → command-w0cjdr4y.js} +24 -24
- package/dist/chunks/{websearch-paegk39x.js → command-w1k39n5e.js} +4 -4
- package/dist/chunks/{websearch-efqyzrtz.js → command-w1kts72e.js} +7 -7
- package/dist/chunks/{websearch-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-9yx7mf9e.js → command-wgzvszfr.js} +24 -24
- package/dist/chunks/{websearch-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-5zrdtdrf.js → command-x6k8vawk.js} +14 -14
- package/dist/chunks/{websearch-57b9ws8p.js → command-xfkkasph.js} +7 -7
- package/dist/chunks/{websearch-ygv8vf3r.js → command-xh0mn2db.js} +4 -4
- package/dist/chunks/{websearch-1p2sdtde.js → command-xydhn12a.js} +6 -6
- package/dist/chunks/{websearch-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-tx1ywgy3.js → command-y1q6eyqb.js} +16 -16
- package/dist/chunks/{websearch-fxqygnfa.js → command-y31b318c.js} +4 -4
- package/dist/chunks/{websearch-r6bhbggm.js → command-y32hsvj3.js} +29 -29
- package/dist/chunks/{websearch-3va2t4ne.js → command-y64kjv5k.js} +21 -21
- package/dist/chunks/{websearch-y71avatq.js → command-y71avatq.js} +1 -1
- package/dist/chunks/{websearch-pv02emkf.js → command-y91g1rqk.js} +5 -5
- package/dist/chunks/{websearch-5pep6vw4.js → command-ycrff0sc.js} +14 -14
- package/dist/chunks/{websearch-65ecsfj5.js → command-ycytvwgt.js} +23 -23
- package/dist/chunks/{websearch-r8xr0va3.js → command-yp2x3t23.js} +4 -4
- package/dist/chunks/{websearch-nwjqq5p1.js → command-ypwyy9wb.js} +13 -13
- package/dist/chunks/{websearch-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-yrznvahk.js → command-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-enpg5945.js → command-ytjd48j9.js} +16 -16
- package/dist/chunks/{websearch-eamc0k64.js → command-yx0qkvav.js} +47 -47
- package/dist/chunks/{websearch-gv6a8nnw.js → command-yyb7tjpc.js} +2 -2
- package/dist/chunks/{websearch-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-85h867b1.js → command-z0pamjge.js} +45 -45
- package/dist/chunks/{websearch-7j2yenkd.js → command-z3qta96q.js} +5 -5
- package/dist/chunks/{websearch-z63w68vq.js → command-z63w68vq.js} +2 -2
- package/dist/chunks/{websearch-7zchfbzk.js → command-z7t8qwge.js} +5 -5
- package/dist/chunks/{websearch-8wf96ssr.js → command-zg4hrway.js} +20 -20
- package/dist/chunks/{websearch-rg63q7m0.js → command-zqcfqxpy.js} +22 -22
- package/dist/chunks/{websearch-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/command-zyyeags5.js +26 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- 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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- package/dist/git.js +6 -6
- 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 +90 -90
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- 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 +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/websearch-4v7qdvcn.js +0 -18
- package/dist/chunks/websearch-ayg7q4gs.js +0 -252
- package/dist/chunks/websearch-r0snc0mf.js +0 -26
- /package/dist/chunks/{websearch-0mesazry.js → command-0mesazry.js} +0 -0
- /package/dist/chunks/{websearch-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q3t37ft6.js → command-q3t37ft6.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./command-vtpa8adt.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -2,55 +2,55 @@ import {
|
|
|
2
2
|
ID15,
|
|
3
3
|
Info30,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-q3t37ft6.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-57aypccr.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-xh0mn2db.js";
|
|
18
18
|
import {
|
|
19
19
|
Service81,
|
|
20
20
|
node85
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-c68rk66j.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service40,
|
|
24
|
+
node42
|
|
25
|
+
} from "./command-3ppptnan.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-5c4hm403.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node40
|
|
34
|
+
} from "./command-9tb5hr0v.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./command-y31b318c.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./command-q29a3mzv.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./command-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node24
|
|
47
|
+
} from "./command-csmtma2g.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node59
|
|
51
|
+
} from "./command-4gv05ame.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError10,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./command-3ktbe3hf.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service76,
|
|
68
|
+
node80
|
|
69
|
+
} from "./command-c27g0cwe.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service43,
|
|
72
|
+
node45
|
|
73
|
+
} from "./command-15ecbz73.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service36,
|
|
76
|
+
node39
|
|
77
|
+
} from "./command-bbn46np6.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./command-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service29,
|
|
83
|
+
node32
|
|
84
|
+
} from "./command-6bnbyxfg.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./command-rtbgd8vv.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./command-p504gj3f.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service41,
|
|
93
|
+
node43
|
|
94
|
+
} from "./command-f41ena25.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service20,
|
|
100
|
+
node23
|
|
101
|
+
} from "./command-5arbc4sb.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
103
|
+
Service45,
|
|
104
104
|
node47
|
|
105
|
-
} from "./
|
|
105
|
+
} from "./command-97w5rk9e.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./command-k0gxj95r.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./command-qmawctgv.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./command-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -130,15 +130,15 @@ __export(exports_session, {
|
|
|
130
130
|
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError10,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service19,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node22
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput2 =
|
|
152
|
-
class
|
|
151
|
+
var ListInput2 = ListInput4;
|
|
152
|
+
class Service19 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
159
|
const projects = yield* Service81;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service36;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service29;
|
|
163
|
+
const store = yield* Service76;
|
|
164
|
+
const instances = yield* Service40;
|
|
165
|
+
const moves = yield* Service20;
|
|
166
|
+
const jobs = yield* Service43;
|
|
167
|
+
const environments = yield* Service45;
|
|
168
|
+
const locations = yield* Service41;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service19.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError10({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service40, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node22 = Node.makeGlobalNode({
|
|
330
|
+
service: Service19,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
333
|
+
node45,
|
|
334
334
|
node47,
|
|
335
335
|
node88,
|
|
336
336
|
node87,
|
|
337
337
|
node85,
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
node39,
|
|
339
|
+
node32,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
node80,
|
|
342
|
+
node42,
|
|
343
|
+
node40,
|
|
344
|
+
node23,
|
|
345
|
+
node24,
|
|
346
|
+
node43,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node59
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2, ListInput2,
|
|
352
|
+
export { ListAnchor2, ListInput2, Service19, node22, exports_session };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-s2ynmxvy.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-fxjzx9zk.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service52,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node54,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service52 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service52.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node54 = makeLocationNode({
|
|
144
|
+
service: Service52,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service52, Service52.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error3, Service52, node54, noopLayer3, exports_snapshot2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./command-tqnd21xx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./command-st8d6rzm.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-szncdaef.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin48
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin48 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service47;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service48;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin30 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin48, exports_compatibility };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service10
|
|
3
|
+
} from "./command-m9wnxg74.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/compaction.ts
|
|
9
9
|
var exports_compaction = {};
|
|
10
10
|
__export(exports_compaction, {
|
|
11
11
|
NativeCompactionPlugin: () => exports_compaction,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin14
|
|
13
13
|
});
|
|
14
14
|
import { LLMClient, Message } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect } from "effect";
|
|
17
|
-
var
|
|
17
|
+
var Plugin14 = define({
|
|
18
18
|
id: "opencode.compaction.native",
|
|
19
19
|
effect: Effect.fn("NativeCompactionPlugin")(function* () {
|
|
20
20
|
const llm = yield* LLMClient.Service;
|
|
21
|
-
const compaction = yield*
|
|
21
|
+
const compaction = yield* Service10;
|
|
22
22
|
yield* compaction.transform((editor) => {
|
|
23
23
|
editor.native((input) => {
|
|
24
24
|
const request = input.request;
|
|
@@ -36,4 +36,4 @@ var Plugin9 = define({
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export {
|
|
39
|
+
export { Plugin14, exports_compaction };
|