@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./snapshot-asm6nkhw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service62;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info24,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info24 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info24, exports_mcp5 };
|
|
@@ -1,65 +1,65 @@
|
|
|
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
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-88sz8qcd.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load4
|
|
23
|
+
} from "./snapshot-01va1f3z.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-scq4khx8.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./snapshot-swz6y1sy.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./snapshot-ya3n45hn.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./snapshot-jet8hdqn.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./snapshot-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./snapshot-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service10,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer7,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node12,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer7 = Layer.effect(
|
|
301
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service82;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service83).db;
|
|
@@ -377,7 +377,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
377
377
|
webSocket
|
|
378
378
|
});
|
|
379
379
|
};
|
|
380
|
-
const original = (sessionID) =>
|
|
380
|
+
const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
|
|
381
381
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
382
382
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
383
383
|
const context = input.context;
|
|
@@ -606,7 +606,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service10.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
618
|
+
var node12 = makeLocationNode({
|
|
619
|
+
service: Service10,
|
|
620
620
|
layer: layer7,
|
|
621
621
|
deps: [node86, node87, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node12, exports_compaction3 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./snapshot-4v3djrtk.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./snapshot-515kh3g7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service38
|
|
16
|
+
} from "./snapshot-fcrbte1a.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service49
|
|
19
|
+
} from "./snapshot-qg8gzcn5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service48,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-jcmgjywg.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service60,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9e5kb4vq.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError8,
|
|
36
|
+
Service56
|
|
37
|
+
} from "./snapshot-kngk7ekq.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./snapshot-2qvabp3y.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./snapshot-1pfd9v32.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input11,
|
|
53
|
+
Plugin: () => Plugin47,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name11
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name11 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input11 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin47 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service18;
|
|
122
|
+
const jobs = yield* Service38;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service77;
|
|
125
|
+
const access = yield* Service48;
|
|
126
|
+
const shell = yield* Service56;
|
|
127
|
+
const shellSelect = yield* Service60;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service49;
|
|
130
|
+
const config = yield* Service61;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin41 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name11,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin41 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name11,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input11,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin41 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name11,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name11];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin47, exports_shell2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./snapshot-asm6nkhw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./snapshot-4v3djrtk.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-q4fb8v0s.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-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: () => Plugin25
|
|
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 Plugin25 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service61;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service62;
|
|
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 Plugin35 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin25, exports_compatibility };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./snapshot-asm6nkhw.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
12
|
Service31
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-8481wvek.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./snapshot-h1qn8583.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin20
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin20 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
35
|
const discovery = yield* Service31;
|
|
@@ -38,8 +38,8 @@ var Plugin30 = define({
|
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service79;
|
|
42
|
+
const watcher = yield* Service62;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin20, exports_instruction };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-yhasxqe7.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-a1bz86dw.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load4
|
|
12
|
+
} from "./snapshot-01va1f3z.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-em9d1scw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput4,
|
|
24
|
+
Service: () => Service51,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node53
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service51 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service83;
|
|
59
|
-
return
|
|
59
|
+
return Service51.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node53 = makeGlobalNode({ service: Service51, layer, deps: [node87] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput4, Service51, node53, exports_store };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./snapshot-4v3djrtk.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin10,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin10 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service61;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin15 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin10, exports_warming };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-57b9ws8p.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|