@opencode/core 0.0.0-dev-19915 → 0.0.0-dev-19918
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 +82 -82
- 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/{generate-b01c3z2q.js → snapshot-01va1f3z.js} +11 -11
- package/dist/chunks/{generate-vtq71d35.js → snapshot-08q4gqz4.js} +33 -33
- package/dist/chunks/{generate-0996nyz8.js → snapshot-0996nyz8.js} +2 -2
- package/dist/chunks/{generate-p3nvtprr.js → snapshot-0dxxpvrv.js} +297 -297
- package/dist/chunks/{generate-0en0hh3r.js → snapshot-0en0hh3r.js} +1 -1
- package/dist/chunks/{generate-ptzf6svk.js → snapshot-0f1qz0xp.js} +1 -1
- package/dist/chunks/{generate-s9na07f2.js → snapshot-0j7qrmec.js} +9 -9
- package/dist/chunks/{generate-je62fjgn.js → snapshot-0n2pct96.js} +13 -13
- package/dist/chunks/{generate-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
- package/dist/chunks/{generate-z4snjgfg.js → snapshot-0s6p893r.js} +12 -12
- package/dist/chunks/{generate-gtg525qf.js → snapshot-12nx056f.js} +20 -20
- package/dist/chunks/{generate-fgrsbrs2.js → snapshot-1bjkr610.js} +20 -20
- package/dist/chunks/{generate-kt71pmwz.js → snapshot-1cxyh013.js} +38 -38
- package/dist/chunks/{generate-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-0fem12h8.js → snapshot-1k0p56b5.js} +25 -25
- package/dist/chunks/{generate-9np3zvmg.js → snapshot-1paqn7pb.js} +3 -3
- package/dist/chunks/{generate-gx16nh21.js → snapshot-1pfd9v32.js} +4 -4
- package/dist/chunks/{generate-6jcx2vqk.js → snapshot-1qvnrgnm.js} +5 -5
- package/dist/chunks/snapshot-1tm0r3ht.js +4 -0
- package/dist/chunks/{generate-468wfx9w.js → snapshot-1tsw6z5q.js} +23 -23
- package/dist/chunks/{generate-gbf09wq5.js → snapshot-1wy5n9az.js} +14 -14
- package/dist/chunks/{generate-1ygqh575.js → snapshot-1ygqh575.js} +2 -2
- package/dist/chunks/{generate-tdpndm1c.js → snapshot-207ajt2h.js} +5 -5
- package/dist/chunks/{generate-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{generate-bk82wy0q.js → snapshot-227yvkjk.js} +18 -18
- package/dist/chunks/{generate-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
- package/dist/chunks/snapshot-240vr0zv.js +26 -0
- package/dist/chunks/{generate-bcpk7r0m.js → snapshot-297h1t6n.js} +6 -6
- package/dist/chunks/{generate-z63w68vq.js → snapshot-29x78va6.js} +6 -6
- package/dist/chunks/{generate-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-0jwsre1p.js → snapshot-2k8khapm.js} +5 -5
- package/dist/chunks/{generate-9j0bgnvq.js → snapshot-2nwtcrtm.js} +15 -15
- package/dist/chunks/{generate-fjkt0sjh.js → snapshot-2qvabp3y.js} +90 -90
- package/dist/chunks/{generate-h8yerwe6.js → snapshot-2yhh3qjr.js} +45 -45
- package/dist/chunks/{generate-s1sn43f6.js → snapshot-2zb7hvef.js} +11 -11
- package/dist/chunks/{generate-p38k89q1.js → snapshot-32e100es.js} +295 -295
- package/dist/chunks/{generate-4wtgdyea.js → snapshot-36nfz72w.js} +5 -5
- package/dist/chunks/{generate-yt0fqk68.js → snapshot-3cz8rj72.js} +5 -5
- package/dist/chunks/{generate-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-fnwyw2er.js → snapshot-3g4cjerq.js} +24 -24
- package/dist/chunks/{generate-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-0h7mncab.js → snapshot-3hm6b6w1.js} +43 -43
- package/dist/chunks/{generate-m5r3e6sc.js → snapshot-3jrpcqd5.js} +11 -11
- package/dist/chunks/{generate-wktdcmn3.js → snapshot-3kvfbz1t.js} +13 -13
- package/dist/chunks/{generate-2gjqtbpb.js → snapshot-3qecda58.js} +16 -16
- package/dist/chunks/{generate-qb9204h6.js → snapshot-3rjv2ezq.js} +7 -7
- package/dist/chunks/{generate-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-zqx8wcya.js → snapshot-3tq5qxbk.js} +6 -6
- package/dist/chunks/{generate-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-qk3skfh1.js → snapshot-49hnhagb.js} +3 -3
- package/dist/chunks/{generate-ebe9bak5.js → snapshot-4dgbcxzg.js} +4 -4
- package/dist/chunks/{generate-et344232.js → snapshot-4mr0ayfy.js} +11 -11
- package/dist/chunks/{generate-s4qtke3p.js → snapshot-4v3djrtk.js} +41 -41
- package/dist/chunks/{generate-2km7m4mh.js → snapshot-4xwq6ydp.js} +21 -21
- package/dist/chunks/{generate-ahk33sx3.js → snapshot-515kh3g7.js} +24 -24
- package/dist/chunks/{generate-4137199z.js → snapshot-54rgykb4.js} +34 -34
- package/dist/chunks/{generate-qqeeq2t9.js → snapshot-57b9ws8p.js} +4 -4
- package/dist/chunks/{generate-nf3r8qb2.js → snapshot-57ez7d0k.js} +9 -9
- package/dist/chunks/{generate-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-y2a6ds97.js → snapshot-5mysqa8q.js} +13 -13
- package/dist/chunks/{generate-eev6jqyc.js → snapshot-5q4hds9b.js} +12 -12
- package/dist/chunks/{generate-hjkhkj6y.js → snapshot-5sdk1ksb.js} +5 -5
- package/dist/chunks/{generate-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-ewv48zmm.js → snapshot-5wkzkny2.js} +82 -82
- package/dist/chunks/{generate-cwem3g1g.js → snapshot-5wm9afx8.js} +5 -5
- package/dist/chunks/{generate-669tq793.js → snapshot-669tq793.js} +1 -1
- package/dist/chunks/{generate-kenng7k5.js → snapshot-6cjy68b4.js} +8 -8
- package/dist/chunks/{generate-467s6nxb.js → snapshot-6k2q6075.js} +11 -11
- package/dist/chunks/{generate-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-2q8c0gm7.js → snapshot-6pzw4973.js} +9 -9
- package/dist/chunks/{generate-spt9fbav.js → snapshot-6sh1ew48.js} +4 -4
- package/dist/chunks/{generate-006zyfbw.js → snapshot-6yja57a1.js} +11 -11
- package/dist/chunks/{generate-025avdj6.js → snapshot-72q5tb77.js} +25 -25
- package/dist/chunks/{generate-4bzdzhey.js → snapshot-77zp8ekx.js} +3 -3
- package/dist/chunks/{generate-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-eqnqgvn0.js → snapshot-7eg6dqxg.js} +15 -15
- package/dist/chunks/{generate-8mnt8kwt.js → snapshot-7ewn52v4.js} +9 -9
- package/dist/chunks/{generate-jw5e50e7.js → snapshot-7qqexqse.js} +4 -4
- package/dist/chunks/{generate-8aaqm6qj.js → snapshot-7sbn2nrf.js} +8 -8
- package/dist/chunks/{generate-1w2rgvgc.js → snapshot-7v11ez50.js} +41 -41
- package/dist/chunks/{generate-pg7dzk1q.js → snapshot-83v594et.js} +23 -23
- package/dist/chunks/{generate-a5gjdttc.js → snapshot-8481wvek.js} +11 -11
- package/dist/chunks/{generate-cs075kwz.js → snapshot-87pcjbpk.js} +11 -11
- package/dist/chunks/{generate-mfhfdr54.js → snapshot-88sz8qcd.js} +4 -4
- package/dist/chunks/{generate-89znhe33.js → snapshot-89znhe33.js} +1 -1
- package/dist/chunks/{generate-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-66mcxdya.js → snapshot-8hx3mgak.js} +7 -7
- package/dist/chunks/{generate-05xfxpq7.js → snapshot-8mfdap3f.js} +8 -8
- package/dist/chunks/{generate-8p4f9s12.js → snapshot-8p4f9s12.js} +2 -2
- package/dist/chunks/{generate-j2s4fcjm.js → snapshot-8xm8h2fj.js} +35 -35
- package/dist/chunks/{generate-1swhfer2.js → snapshot-8z0pbs4j.js} +24 -24
- package/dist/chunks/{generate-xhyfjham.js → snapshot-926bkgeb.js} +10 -10
- package/dist/chunks/{generate-34k4z2mf.js → snapshot-9775ehqa.js} +11 -11
- package/dist/chunks/{generate-kjktbwf3.js → snapshot-99jn3w6h.js} +5 -5
- package/dist/chunks/{generate-fygh9jmr.js → snapshot-9a33zaq7.js} +37 -37
- package/dist/chunks/{generate-3f4vjzp5.js → snapshot-9e5kb4vq.js} +15 -15
- package/dist/chunks/{generate-52w8ykvs.js → snapshot-9z9vq71f.js} +5 -5
- package/dist/chunks/{generate-08x19res.js → snapshot-9zzvxnk4.js} +27 -27
- package/dist/chunks/{generate-a1bz86dw.js → snapshot-a1bz86dw.js} +3 -3
- package/dist/chunks/{generate-9qzpz6ej.js → snapshot-a3dv7zdb.js} +11 -11
- package/dist/chunks/{generate-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-k7zzwya2.js → snapshot-acv47zt7.js} +20 -20
- package/dist/chunks/{generate-jm843vy5.js → snapshot-add3qbra.js} +24 -24
- package/dist/chunks/{generate-eq20ba7x.js → snapshot-ak9msbxp.js} +6 -6
- package/dist/chunks/{generate-7etmzzkb.js → snapshot-asm6nkhw.js} +22 -22
- package/dist/chunks/{generate-zsnh4763.js → snapshot-avc8n21j.js} +11 -11
- package/dist/chunks/{generate-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-bab96271.js → snapshot-b8r0xcn3.js} +15 -15
- package/dist/chunks/{generate-6x2rtf6n.js → snapshot-basfgcpb.js} +9 -9
- package/dist/chunks/{generate-ve4pfa0n.js → snapshot-bct739vz.js} +4 -4
- package/dist/chunks/{generate-r8572ydm.js → snapshot-c24025a3.js} +33 -33
- package/dist/chunks/{generate-djszqvmq.js → snapshot-c765mh8b.js} +9 -9
- package/dist/chunks/{generate-cfpkc3c9.js → snapshot-cfpkc3c9.js} +2 -2
- package/dist/chunks/{generate-5gygmtrp.js → snapshot-chmxcbh0.js} +2 -2
- package/dist/chunks/{generate-r90t3skp.js → snapshot-cymrx2yv.js} +10 -10
- package/dist/chunks/{generate-qte5z7bc.js → snapshot-d1khqved.js} +5 -5
- package/dist/chunks/{generate-gyecctkc.js → snapshot-d5nv655v.js} +13 -13
- package/dist/chunks/{generate-n7cnqe0p.js → snapshot-d6njtwzp.js} +15 -15
- package/dist/chunks/{generate-a4140sej.js → snapshot-dgdmz9dk.js} +42 -42
- package/dist/chunks/{generate-et8hxw0a.js → snapshot-dkkfh4ym.js} +10 -10
- package/dist/chunks/{generate-6vd6cxtp.js → snapshot-dtdk40xf.js} +20 -20
- package/dist/chunks/{generate-92c128b4.js → snapshot-dz8n4239.js} +2 -2
- package/dist/chunks/{generate-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
- package/dist/chunks/{generate-s6bwzk9r.js → snapshot-eb4b5bz3.js} +16 -16
- package/dist/chunks/{generate-ec87kc5z.js → snapshot-ec87kc5z.js} +1 -1
- package/dist/chunks/{generate-020j3mp2.js → snapshot-edxk8hxa.js} +6 -6
- package/dist/chunks/{generate-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-6anwy9fs.js → snapshot-efv4s0g0.js} +4 -4
- package/dist/chunks/{generate-bry9ga0b.js → snapshot-em9d1scw.js} +2 -2
- package/dist/chunks/{generate-erw5rpbs.js → snapshot-erw5rpbs.js} +2 -2
- package/dist/chunks/{generate-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-nqyk3grw.js → snapshot-eyqz59yv.js} +27 -27
- package/dist/chunks/{generate-9e6qvnjr.js → snapshot-f1wamhh9.js} +3 -3
- package/dist/chunks/{generate-1tsjn6cx.js → snapshot-f79v0g24.js} +8 -8
- package/dist/chunks/{generate-f828m53h.js → snapshot-f828m53h.js} +2 -2
- package/dist/chunks/{generate-5aqxh65v.js → snapshot-fcrbte1a.js} +17 -17
- package/dist/chunks/{generate-zs994txj.js → snapshot-ffk3sqjz.js} +175 -175
- package/dist/chunks/{generate-fhs97t90.js → snapshot-fhs97t90.js} +2 -2
- package/dist/chunks/{generate-ttm2705a.js → snapshot-fkd6hgre.js} +4 -4
- package/dist/chunks/{generate-9mayah99.js → snapshot-fktrzxv2.js} +23 -23
- package/dist/chunks/{generate-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
- package/dist/chunks/{generate-cg8mw5ap.js → snapshot-g2scjc1h.js} +16 -16
- package/dist/chunks/{generate-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-fystd85k.js → snapshot-gf7f2369.js} +8 -8
- package/dist/chunks/{generate-rygtch4c.js → snapshot-gkn3qjca.js} +10 -10
- package/dist/chunks/{generate-wac2p1pk.js → snapshot-grvxsv8g.js} +44 -44
- package/dist/chunks/{generate-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
- package/dist/chunks/{generate-3sstnap9.js → snapshot-gw4jaga4.js} +17 -17
- package/dist/chunks/{generate-ct9qn75j.js → snapshot-h08xbcwy.js} +16 -16
- package/dist/chunks/{generate-qwasgp8v.js → snapshot-h1qn8583.js} +16 -16
- package/dist/chunks/{generate-b2jrkcgy.js → snapshot-h3tvpw8w.js} +10 -10
- package/dist/chunks/{generate-0wd91se4.js → snapshot-h5gg2zpa.js} +11 -11
- package/dist/chunks/{generate-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-5dqhbf4t.js → snapshot-hpmk596y.js} +5 -5
- package/dist/chunks/{generate-qgsdwrdp.js → snapshot-hwpj14yn.js} +11 -11
- package/dist/chunks/{generate-zhsvargz.js → snapshot-j1fmzt34.js} +23 -23
- package/dist/chunks/{generate-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-vqfzq50h.js → snapshot-j5w2yx54.js} +6 -6
- package/dist/chunks/{generate-fetmcry8.js → snapshot-j6h2gdpk.js} +7 -7
- package/dist/chunks/{generate-m4p4mhce.js → snapshot-jcmgjywg.js} +18 -18
- package/dist/chunks/{generate-63m47ghd.js → snapshot-jet8hdqn.js} +3 -3
- package/dist/chunks/{generate-qa3qhgw8.js → snapshot-jfqtm2ew.js} +4 -4
- package/dist/chunks/{generate-jvnghvnw.js → snapshot-jvnghvnw.js} +1 -1
- package/dist/chunks/{generate-aefrgm9z.js → snapshot-jxgt6pbb.js} +5 -5
- package/dist/chunks/{generate-mm9gyng9.js → snapshot-k0d1xxqk.js} +21 -21
- package/dist/chunks/{generate-7raq9vyn.js → snapshot-k37p5nkb.js} +54 -54
- package/dist/chunks/{generate-7n8gnwtg.js → snapshot-k8k832mz.js} +10 -10
- package/dist/chunks/{generate-ctwst137.js → snapshot-kngk7ekq.js} +43 -43
- package/dist/chunks/{generate-hym83zep.js → snapshot-kpg05k00.js} +9 -9
- package/dist/chunks/{generate-qrcs80c4.js → snapshot-kpnvzqmk.js} +32 -32
- package/dist/chunks/{generate-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
- package/dist/chunks/{generate-hn57h045.js → snapshot-m70sbz6t.js} +4 -4
- package/dist/chunks/{generate-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-khhfmx5f.js → snapshot-mbd1g1gn.js} +11 -11
- package/dist/chunks/{generate-73tb2d7t.js → snapshot-mhkvc446.js} +3 -3
- package/dist/chunks/{generate-4x1pakvw.js → snapshot-n42ba9gn.js} +17 -17
- package/dist/chunks/{generate-rj4tp187.js → snapshot-n7bp00a9.js} +9 -9
- package/dist/chunks/{generate-p261ekdc.js → snapshot-n8jdpmyw.js} +21 -21
- package/dist/chunks/{generate-ba4w6g48.js → snapshot-nfpfdzzq.js} +12 -12
- package/dist/chunks/{generate-gc9j7k3x.js → snapshot-ngcseqx6.js} +24 -24
- package/dist/chunks/{generate-er20hz79.js → snapshot-ns7y5gsg.js} +24 -24
- package/dist/chunks/{generate-nzks3jc8.js → snapshot-nzks3jc8.js} +3 -3
- package/dist/chunks/{generate-p28j5sbe.js → snapshot-p28j5sbe.js} +2 -2
- package/dist/chunks/{generate-8tqgka7y.js → snapshot-p5sb783n.js} +24 -24
- package/dist/chunks/{generate-dv1qgsyq.js → snapshot-pa8pe2x7.js} +8 -8
- package/dist/chunks/{generate-81wr8hqp.js → snapshot-peessvmh.js} +17 -17
- package/dist/chunks/{generate-phz3h32g.js → snapshot-phz3h32g.js} +1 -1
- package/dist/chunks/{generate-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{generate-czmjnx84.js → snapshot-ppw6hb80.js} +3 -3
- package/dist/chunks/{generate-dzpn4m2j.js → snapshot-pvd1aac5.js} +9 -9
- package/dist/chunks/{generate-fs7vq6tk.js → snapshot-pxnx3jws.js} +10 -10
- package/dist/chunks/{generate-8k4wrnk2.js → snapshot-q4fb8v0s.js} +6 -6
- package/dist/chunks/{generate-wc0dzmvn.js → snapshot-q7eva1bt.js} +7 -7
- package/dist/chunks/{generate-680r6an6.js → snapshot-q8c31t1h.js} +9 -9
- package/dist/chunks/{generate-17wbgvpj.js → snapshot-q8r3tany.js} +10 -10
- package/dist/chunks/{generate-ttm1q0kg.js → snapshot-qcg269cc.js} +9 -9
- package/dist/chunks/{generate-1b1ysvrc.js → snapshot-qfkr68h4.js} +33 -33
- package/dist/chunks/{generate-4nqr3vv7.js → snapshot-qg8gzcn5.js} +52 -52
- package/dist/chunks/{generate-g8jasmdt.js → snapshot-qs001aqx.js} +11 -11
- package/dist/chunks/{generate-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-fhz5gfgy.js → snapshot-qsr9synt.js} +5 -5
- package/dist/chunks/{generate-cypq54sk.js → snapshot-qxnqqz71.js} +23 -23
- package/dist/chunks/{generate-txx9st8t.js → snapshot-r07hx0qa.js} +4 -4
- package/dist/chunks/{generate-b4pq521n.js → snapshot-r40m3trx.js} +23 -23
- package/dist/chunks/{generate-ndzcbbvx.js → snapshot-r6gyp0hg.js} +8 -8
- package/dist/chunks/{generate-16f0abez.js → snapshot-ra5z4ps1.js} +26 -26
- package/dist/chunks/{generate-4gya7rk6.js → snapshot-rag8xjjp.js} +9 -9
- package/dist/chunks/{generate-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-5k92hdxp.js → snapshot-res40x03.js} +9 -9
- package/dist/chunks/{generate-r09kcce2.js → snapshot-rjz2ptqc.js} +4 -4
- package/dist/chunks/{generate-ed737rsr.js → snapshot-rt9qxada.js} +14 -14
- package/dist/chunks/{generate-dx7v3b91.js → snapshot-rv482cw3.js} +13 -13
- package/dist/chunks/{generate-7hwhf7n5.js → snapshot-ry6ysv5n.js} +8 -8
- package/dist/chunks/{generate-ptjg6r5v.js → snapshot-s2fmxh4v.js} +6 -6
- package/dist/chunks/{generate-yrznvahk.js → snapshot-s4enseaf.js} +2 -2
- package/dist/chunks/{generate-67baksp2.js → snapshot-sbb8y8tx.js} +17 -17
- package/dist/chunks/{generate-fch79rh9.js → snapshot-scq4khx8.js} +1 -1
- package/dist/chunks/{generate-8krsydjn.js → snapshot-sfef216m.js} +11 -11
- package/dist/chunks/{generate-56c5b5gd.js → snapshot-sfjrng7c.js} +5 -5
- package/dist/chunks/{generate-fdmdcz0h.js → snapshot-skh45krj.js} +20 -20
- package/dist/chunks/{generate-m9k0wbax.js → snapshot-sm6sfq52.js} +35 -35
- package/dist/chunks/{generate-h3pyx580.js → snapshot-swz6y1sy.js} +25 -25
- package/dist/chunks/{generate-vkxpz7g2.js → snapshot-szgy4byf.js} +4 -4
- package/dist/chunks/{generate-50xhyj86.js → snapshot-t3xjshrx.js} +15 -15
- package/dist/chunks/{generate-gxqczrrk.js → snapshot-t4zheh1d.js} +12 -12
- package/dist/chunks/{generate-0gdmqesm.js → snapshot-t550f9t1.js} +4 -4
- package/dist/chunks/{generate-1ptm6hmd.js → snapshot-t64dppmy.js} +47 -47
- package/dist/chunks/{generate-kwqhvt42.js → snapshot-tab08rms.js} +20 -20
- package/dist/chunks/{generate-39s7s8pm.js → snapshot-tamx2nm7.js} +15 -15
- package/dist/chunks/{generate-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{generate-6b60be2p.js → snapshot-tdwctzr1.js} +4 -4
- package/dist/chunks/{generate-9f95htjy.js → snapshot-tea21kc4.js} +3 -3
- package/dist/chunks/{generate-tjedn1bk.js → snapshot-tjedn1bk.js} +1 -1
- package/dist/chunks/{generate-88adn62y.js → snapshot-tm43hzvw.js} +20 -20
- package/dist/chunks/{generate-dj9sq318.js → snapshot-tn0aqsam.js} +5 -5
- package/dist/chunks/{generate-9cck0fs0.js → snapshot-ttd2td3m.js} +3 -3
- package/dist/chunks/{generate-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-pmzfczzx.js → snapshot-v8kmk7mn.js} +3 -3
- package/dist/chunks/{generate-gzj5kv74.js → snapshot-vd7s2rzk.js} +37 -37
- package/dist/chunks/{generate-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-8n32ahfj.js → snapshot-vj2pcnzd.js} +25 -25
- package/dist/chunks/{generate-z78j2g86.js → snapshot-vsn3eh9m.js} +13 -13
- package/dist/chunks/{generate-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-a725016h.js → snapshot-w1szzbf4.js} +6 -6
- package/dist/chunks/{generate-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{generate-qb623j79.js → snapshot-wdab569y.js} +15 -15
- package/dist/chunks/snapshot-whsnckpq.js +252 -0
- package/dist/chunks/{generate-w4pr70gm.js → snapshot-wxyacwk8.js} +11 -11
- package/dist/chunks/{generate-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-8s3794y9.js → snapshot-x433czyk.js} +19 -19
- package/dist/chunks/{generate-va4cvfc3.js → snapshot-x94jh6a9.js} +20 -20
- package/dist/chunks/{generate-cavr175a.js → snapshot-xdk9p2qn.js} +21 -21
- package/dist/chunks/{generate-z46y8a13.js → snapshot-xp108yq8.js} +17 -17
- package/dist/chunks/{generate-fj02ctk5.js → snapshot-xqm1j7tf.js} +25 -25
- package/dist/chunks/{generate-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-cnvnzs5z.js → snapshot-y5df08dr.js} +12 -12
- package/dist/chunks/{generate-y71avatq.js → snapshot-y71avatq.js} +1 -1
- package/dist/chunks/{generate-mtpgkgh0.js → snapshot-y7vaxdze.js} +9 -9
- package/dist/chunks/{generate-ev47vst9.js → snapshot-y8bxsnf7.js} +24 -24
- package/dist/chunks/{generate-9s7dwqjf.js → snapshot-y8ezxhwv.js} +28 -28
- package/dist/chunks/{generate-n4v58wv0.js → snapshot-ya3n45hn.js} +4 -4
- package/dist/chunks/{generate-6z4h7bb7.js → snapshot-yft1494k.js} +14 -14
- package/dist/chunks/{generate-537bw0gn.js → snapshot-yhasxqe7.js} +3 -3
- package/dist/chunks/{generate-f2n192rq.js → snapshot-yp2x3t23.js} +4 -4
- package/dist/chunks/{generate-fmvs6bfp.js → snapshot-yqvr5hzh.js} +1 -1
- package/dist/chunks/{generate-y8tj7gpt.js → snapshot-yr0r9rzs.js} +43 -43
- package/dist/chunks/{generate-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-bfemdc8w.js → snapshot-ywk686kv.js} +13 -13
- package/dist/chunks/{generate-9a43fp12.js → snapshot-yykb4za3.js} +17 -17
- package/dist/chunks/{generate-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-t19r84ws.js → snapshot-z3r5zwpy.js} +12 -12
- package/dist/chunks/{generate-80gttzr5.js → snapshot-z8ctqpjx.js} +33 -33
- package/dist/chunks/{generate-gv35t99p.js → snapshot-zbbb3ea3.js} +31 -31
- package/dist/chunks/{generate-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-0bxbewg9.js → snapshot-zeqcvq2v.js} +24 -24
- package/dist/chunks/{generate-m22w3jkd.js → snapshot-zg39cdtn.js} +30 -30
- package/dist/chunks/{generate-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-8g6jyz2b.js → snapshot-ztx2p85y.js} +17 -17
- package/dist/chunks/{generate-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/chunks/{generate-qra1vg7x.js → snapshot-zztpwz1h.js} +64 -64
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +122 -122
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- 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 +121 -121
- 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 +368 -368
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -99
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +359 -359
- package/dist/instruction-discovery.js +74 -74
- 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 +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- 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 +99 -99
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- 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 +1 -1
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- 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 +158 -158
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- 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 +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- 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 +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- 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 +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +122 -122
- package/dist/tool/plugin/edit.js +113 -113
- 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 +1 -1
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/generate-0mesazry.js +0 -4
- package/dist/chunks/generate-qp2n6zp9.js +0 -26
- package/dist/chunks/generate-x90gshdg.js +0 -252
- /package/dist/chunks/{generate-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → snapshot-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-fkd6hgre.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info13,
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Service: () => Service54,
|
|
21
|
+
layer: () => layer19,
|
|
22
|
+
node: () => node56
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode/schema/command";
|
|
28
|
+
var Info13 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service54 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer19 = Layer.effect(Service54, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info13.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service54.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node56 = makeLocationNode({
|
|
75
|
+
service: Service54,
|
|
76
|
+
layer: layer19,
|
|
77
77
|
deps: [node86]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info13, NotFoundError7, ExecutionError2, Service54, layer19, node56, exports_command4, Event10 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-yhasxqe7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-fkd6hgre.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service36,
|
|
11
|
+
node38
|
|
12
|
+
} from "./snapshot-j5w2yx54.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./snapshot-7v11ez50.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-h1qn8583.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service46,
|
|
26
|
+
node48
|
|
27
|
+
} from "./snapshot-n7bp00a9.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError5
|
|
33
|
+
} from "./snapshot-res40x03.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./snapshot-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service34
|
|
39
|
+
} from "./snapshot-m70sbz6t.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service51,
|
|
42
|
+
node53
|
|
43
|
+
} from "./snapshot-3qecda58.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service35,
|
|
48
|
+
node37,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./snapshot-dtdk40xf.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service33,
|
|
53
|
+
node36
|
|
54
|
+
} from "./snapshot-vd7s2rzk.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node23
|
|
57
|
+
} from "./snapshot-g2scjc1h.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service19,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node22
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service19 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service80;
|
|
92
|
+
const locations = yield* Service46;
|
|
93
|
+
const store = yield* Service51;
|
|
94
|
+
const execution = yield* Service33;
|
|
95
|
+
const instances = yield* Service36;
|
|
96
|
+
const admission = yield* Service35;
|
|
97
97
|
const database = yield* Service83;
|
|
98
98
|
const bus = yield* Service82;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError5({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service34.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service19.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node22 = makeGlobalNode({
|
|
167
|
+
service: Service19,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node84,
|
|
173
|
+
node48,
|
|
174
|
+
node53,
|
|
175
|
+
node36,
|
|
176
|
+
node38,
|
|
177
|
+
node37,
|
|
178
178
|
node87,
|
|
179
179
|
node86,
|
|
180
|
-
|
|
180
|
+
node23
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node22, exports_move };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./snapshot-zbbb3ea3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./snapshot-4v3djrtk.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-w1szzbf4.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service61;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID11.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make5();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-fkd6hgre.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./snapshot-h1qn8583.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node80
|
|
12
|
+
} from "./snapshot-515kh3g7.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service60,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node62
|
|
20
|
+
} from "./snapshot-9e5kb4vq.js";
|
|
21
21
|
import {
|
|
22
22
|
Service59,
|
|
23
23
|
node61
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-jvnghvnw.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service57,
|
|
27
|
+
node59
|
|
28
|
+
} from "./snapshot-7sbn2nrf.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-ppw6hb80.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service61,
|
|
35
|
+
node63
|
|
36
|
+
} from "./snapshot-4v3djrtk.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./snapshot-nfpfdzzq.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError8,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service56,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node58
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError8 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service56 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service56, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service82;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service79;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
93
|
+
const shell = yield* Service60;
|
|
94
|
+
const environment = yield* Service77;
|
|
95
95
|
const hooks = yield* Service59;
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
96
|
+
const environments = yield* Service57;
|
|
97
|
+
const config = yield* Service61;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError8({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError8({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service56.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node58 = makeLocationNode({
|
|
320
|
+
service: Service56,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node86,
|
|
324
|
-
|
|
324
|
+
node83,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
node62,
|
|
327
|
+
node80,
|
|
328
328
|
node61,
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
node59,
|
|
330
|
+
node63,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError8, RETENTION2, DIRECTORY2, Service56, cleanup2, node58, exports_shell4 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./snapshot-4v3djrtk.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin31
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service61;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
27
27
|
const policies = () => loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
28
28
|
yield* ctx.provider.transform((providers) => {
|
|
@@ -46,4 +46,4 @@ var Plugin29 = define({
|
|
|
46
46
|
})
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin31, exports_policy };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./snapshot-515kh3g7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service76,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-0n2pct96.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service47
|
|
11
|
+
} from "./snapshot-2nwtcrtm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service49
|
|
14
|
+
} from "./snapshot-qg8gzcn5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service48
|
|
17
|
+
} from "./snapshot-jcmgjywg.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin41,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin41 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service48;
|
|
56
|
+
const fileMutation = yield* Service76;
|
|
57
|
+
const environment = yield* Service77;
|
|
58
|
+
const formatter = yield* Service47;
|
|
59
|
+
const permission = yield* Service49;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input6,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output5, toModelContent4, Plugin41, exports_write };
|