@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,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID6,
|
|
3
|
+
Service52
|
|
4
|
+
} from "./snapshot-p5sb783n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./snapshot-h1qn8583.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service61
|
|
10
|
+
} from "./snapshot-4v3djrtk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service60,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9e5kb4vq.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./snapshot-2qvabp3y.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./snapshot-hwpj14yn.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin32
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin32 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service61;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin25 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service60;
|
|
60
|
+
const sessions = yield* Service18;
|
|
61
|
+
const agents = yield* Service52;
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin25 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID6.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin32, exports_command2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-0dxxpvrv.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-zbbb3ea3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-sfef216m.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-fkd6hgre.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./snapshot-y8ezxhwv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-1k0p56b5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID12
|
|
17
|
+
} from "./snapshot-0dxxpvrv.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-zbbb3ea3.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID12.make("digitalocean");
|
|
31
|
+
var integrationID = ID13.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID11.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node80
|
|
9
|
+
} from "./snapshot-515kh3g7.js";
|
|
10
10
|
import {
|
|
11
11
|
Content3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-4xwq6ydp.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -327,12 +327,12 @@ var nthNewline = (bytes, count) => {
|
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
329
|
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
330
|
-
const environment = yield*
|
|
330
|
+
const environment = yield* Service77;
|
|
331
331
|
return Service12.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var node14 = makeLocationNode({ service: Service12, layer, deps: [
|
|
336
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [node80] });
|
|
337
337
|
|
|
338
338
|
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./snapshot-515kh3g7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service77;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service57,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node59
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service57 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service57, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service57.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service48, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node59 = makeGlobalNode({ service: Service57, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service57, node59, exports_environment };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-yhasxqe7.js";
|
|
8
8
|
import {
|
|
9
9
|
Service82,
|
|
10
10
|
node86
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-fkd6hgre.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service81,
|
|
14
|
+
node85
|
|
15
|
+
} from "./snapshot-y5df08dr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info34,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info33,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node84,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info33 = Info34;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,9 +93,9 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service81;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
100
|
const bus = yield* Service82;
|
|
101
101
|
const db = (yield* Service83).db;
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID17.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event21.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID17.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID17.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID17.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID17.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service80.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node84 = makeGlobalNode({
|
|
276
|
+
service: Service80,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node86, node87, FSUtil.node,
|
|
278
|
+
deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./snapshot-qxnqqz71.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./snapshot-qg8gzcn5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID10,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service68
|
|
14
|
+
} from "./snapshot-1tsw6z5q.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin45,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
26
|
description: () => description5,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input9 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID10,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin45 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service49;
|
|
53
|
+
const forms = yield* Service74;
|
|
54
|
+
const websearch = yield* Service68;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name9,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description5,
|
|
59
|
-
input:
|
|
59
|
+
input: Input9,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name9,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name9];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name9, NO_RESULTS2, description5, Input9, Plugin45, exports_websearch2 };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service82,
|
|
4
4
|
node86
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-fkd6hgre.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-t550f9t1.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event4,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
29
|
Options: () => Options4,
|
|
@@ -42,7 +42,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event4 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
48
|
var Options4 = Schema.Struct({
|
|
@@ -72,9 +72,9 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event4.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make19({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event4, Options4, Service31, layer14, configured4, node34, exports_instruction_discovery };
|