@opencode/core 0.0.0-dev-19517 → 0.0.0-dev-19519
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{model-26ym7a2d.js → aisdk-06dxphr1.js} +4 -4
- package/dist/chunks/{model-zfcp8yb0.js → aisdk-0artwwxx.js} +3 -3
- package/dist/chunks/{model-7925xp00.js → aisdk-0bm6edds.js} +22 -22
- package/dist/chunks/{model-jvz76js5.js → aisdk-0mh9zxm8.js} +3 -3
- package/dist/chunks/{model-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-rsb1fe67.js → aisdk-0pb75hch.js} +5 -5
- package/dist/chunks/{model-0q0f95c6.js → aisdk-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-hcz3zddy.js → aisdk-0r7yqxbf.js} +5 -5
- package/dist/chunks/{model-emy07np5.js → aisdk-0smbfg2x.js} +20 -20
- package/dist/chunks/{model-rtrzf183.js → aisdk-0tpmsbdx.js} +26 -26
- package/dist/chunks/{model-km3xepye.js → aisdk-0xmhxrpt.js} +14 -14
- package/dist/chunks/{model-jg0hsq4w.js → aisdk-139g1kzm.js} +18 -18
- package/dist/chunks/{model-nq6g47t1.js → aisdk-19dwmd9m.js} +35 -35
- package/dist/chunks/{model-r608fp9k.js → aisdk-1awgbxp7.js} +9 -9
- package/dist/chunks/{model-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-j11b5gx2.js → aisdk-1jf9k91m.js} +10 -10
- package/dist/chunks/{model-q0awa4pk.js → aisdk-1vang8nn.js} +6 -6
- package/dist/chunks/{model-1ygqh575.js → aisdk-1ygqh575.js} +2 -2
- package/dist/chunks/{model-fs6bp36w.js → aisdk-219neeqh.js} +5 -5
- package/dist/chunks/{model-21r38tys.js → aisdk-21r38tys.js} +1 -1
- package/dist/chunks/{model-v8bbbck7.js → aisdk-224w1t6x.js} +27 -27
- package/dist/chunks/{model-2402vzrj.js → aisdk-2402vzrj.js} +1 -1
- package/dist/chunks/{model-tj0j24wc.js → aisdk-244ce5kg.js} +12 -12
- package/dist/chunks/{model-j55g5gc5.js → aisdk-252gv536.js} +10 -10
- package/dist/chunks/{model-34ytdzas.js → aisdk-265kqrgy.js} +1 -1
- package/dist/chunks/{model-s437nttj.js → aisdk-26688qyv.js} +21 -21
- package/dist/chunks/{model-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-frrmzkpb.js → aisdk-2bdehndw.js} +19 -19
- package/dist/chunks/{model-qqmmpd78.js → aisdk-2bvfj2rk.js} +12 -12
- package/dist/chunks/{model-zde5750y.js → aisdk-2e96adxv.js} +9 -9
- package/dist/chunks/{model-4wdant8n.js → aisdk-2gpc374w.js} +4 -4
- package/dist/chunks/{model-a8hpxnmk.js → aisdk-2j2abz0x.js} +13 -13
- package/dist/chunks/{model-njr1pezb.js → aisdk-33n3bzdy.js} +6 -6
- package/dist/chunks/{model-trn0ebkj.js → aisdk-35wynegs.js} +2 -2
- package/dist/chunks/{model-5j19hd5e.js → aisdk-3970aszm.js} +19 -19
- package/dist/chunks/{model-bjgvxsns.js → aisdk-3978dcz8.js} +23 -23
- package/dist/chunks/aisdk-3c9tahfk.js +247 -0
- package/dist/chunks/{model-0dbz5dpj.js → aisdk-3cgpfn1y.js} +6 -6
- package/dist/chunks/{model-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-08y7zr51.js → aisdk-3kasv3ej.js} +15 -15
- package/dist/chunks/{model-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-7qq57c1m.js → aisdk-4780s8zr.js} +9 -9
- package/dist/chunks/{model-hdbg4dz4.js → aisdk-478b42xc.js} +20 -20
- package/dist/chunks/{model-px95k3y4.js → aisdk-4d4ewk63.js} +59 -59
- package/dist/chunks/{model-0ajdgxne.js → aisdk-4y66k410.js} +5 -5
- package/dist/chunks/{model-0hw9gmp4.js → aisdk-4z647y8j.js} +68 -68
- package/dist/chunks/{model-61jhnvfj.js → aisdk-4z8f8a6g.js} +28 -28
- package/dist/chunks/{model-mtgrzfqg.js → aisdk-5cegyqsx.js} +29 -29
- package/dist/chunks/{model-sp4p9hk5.js → aisdk-5cge38yz.js} +26 -26
- package/dist/chunks/{model-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
- package/dist/chunks/{model-4s650q2q.js → aisdk-5fg8kh1z.js} +4 -4
- package/dist/chunks/{model-9wc403zm.js → aisdk-5h7adtbk.js} +5 -5
- package/dist/chunks/{model-6ck2t1rv.js → aisdk-5kptn8c0.js} +9 -9
- package/dist/chunks/{model-stbyfcvy.js → aisdk-5pddvan8.js} +17 -17
- package/dist/chunks/{model-0393spk4.js → aisdk-5q7r74pf.js} +25 -25
- package/dist/chunks/{model-4wbg1ywa.js → aisdk-5svkfz8e.js} +34 -34
- package/dist/chunks/{model-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-nwywsssq.js → aisdk-5td81y36.js} +16 -16
- package/dist/chunks/{model-cmwkp3r5.js → aisdk-5xtgfte3.js} +8 -8
- package/dist/chunks/{model-sn1q4jhb.js → aisdk-5y0b1sf4.js} +7 -7
- package/dist/chunks/{model-669tq793.js → aisdk-669tq793.js} +1 -1
- package/dist/chunks/{model-vvqyasfx.js → aisdk-6dxd8b4m.js} +34 -34
- package/dist/chunks/{model-5mdrv3hm.js → aisdk-6ersrjne.js} +6 -6
- package/dist/chunks/{model-6msgmcgs.js → aisdk-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-sd864pem.js → aisdk-6rxp5wnv.js} +14 -14
- package/dist/chunks/{model-zcqf6png.js → aisdk-6sth7kcr.js} +6 -6
- package/dist/chunks/{model-vkxpz7g2.js → aisdk-6tt5evqq.js} +4 -4
- package/dist/chunks/{model-g500fjm7.js → aisdk-70d2s7af.js} +1 -1
- package/dist/chunks/{model-e09967m1.js → aisdk-70n0c9wz.js} +15 -15
- package/dist/chunks/{model-71q4at8m.js → aisdk-71q4at8m.js} +1 -1
- package/dist/chunks/{model-c11jf028.js → aisdk-73h4t500.js} +10 -10
- package/dist/chunks/{model-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-18ercc3f.js → aisdk-7d86regf.js} +49 -49
- package/dist/chunks/{model-qgn6gcr1.js → aisdk-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-2g4vvh0x.js → aisdk-7gtpvgdx.js} +17 -17
- package/dist/chunks/{model-sqetbg69.js → aisdk-7tsf3dvt.js} +10 -10
- package/dist/chunks/{model-7wdjtyr9.js → aisdk-7w99qc9d.js} +3 -3
- package/dist/chunks/{model-vj40030b.js → aisdk-858cj2yj.js} +34 -34
- package/dist/chunks/{model-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-8p4f9s12.js → aisdk-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-6ra2j2vw.js → aisdk-924smr84.js} +42 -42
- package/dist/chunks/{model-d5c48xqa.js → aisdk-9dq8a76t.js} +8 -8
- package/dist/chunks/{model-w8xr7nv8.js → aisdk-9eh6sf6d.js} +5 -5
- package/dist/chunks/{model-9qbkfj45.js → aisdk-9wh61bgm.js} +29 -29
- package/dist/chunks/{model-k9scmdec.js → aisdk-9wxns9qt.js} +171 -171
- package/dist/chunks/{model-9p7k60b1.js → aisdk-a0e3cbw8.js} +4 -4
- package/dist/chunks/{model-a1bz86dw.js → aisdk-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-3qtwe70s.js → aisdk-a4mz35v6.js} +23 -23
- package/dist/chunks/{model-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
- package/dist/chunks/{model-bda9rjxj.js → aisdk-akybccbs.js} +9 -9
- package/dist/chunks/{model-dwax96b2.js → aisdk-anqp1ket.js} +2 -2
- package/dist/chunks/{model-11qz0t8e.js → aisdk-aw8000ag.js} +6 -6
- package/dist/chunks/{model-g8bpgwc7.js → aisdk-awhc7e7g.js} +4 -4
- package/dist/chunks/{model-cmm96jj5.js → aisdk-axzgnajw.js} +31 -31
- package/dist/chunks/{model-yzf6cb4v.js → aisdk-azy7dvcj.js} +35 -35
- package/dist/chunks/{model-ca43bk3t.js → aisdk-b6b3hb57.js} +25 -25
- package/dist/chunks/{model-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-9wt1dgrq.js → aisdk-bqmb3fxw.js} +16 -16
- package/dist/chunks/{model-vvx5a9vg.js → aisdk-c1p0t0c6.js} +22 -22
- package/dist/chunks/{model-n6zxgjsd.js → aisdk-c3fsn6h2.js} +11 -11
- package/dist/chunks/{model-vs57cc1w.js → aisdk-ccsjbhvb.js} +13 -13
- package/dist/chunks/{model-cfpkc3c9.js → aisdk-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-gdkxy9zr.js → aisdk-cmcggjyd.js} +9 -9
- package/dist/chunks/{model-4crb2xwh.js → aisdk-cvp7ggs2.js} +9 -9
- package/dist/chunks/{model-gy4p1xkh.js → aisdk-cvtmmhw6.js} +1 -1
- package/dist/chunks/{model-b10jyp57.js → aisdk-d50f2zf5.js} +1 -1
- package/dist/chunks/{model-ndaxx38h.js → aisdk-d5w2qn28.js} +18 -18
- package/dist/chunks/{model-rbzvkf7k.js → aisdk-ddxwkhz9.js} +24 -24
- package/dist/chunks/{model-yn2b00qa.js → aisdk-de74m766.js} +14 -14
- package/dist/chunks/{model-6fcggqzm.js → aisdk-dg3h0a92.js} +17 -17
- package/dist/chunks/{model-2f0bjgcj.js → aisdk-dj9sq318.js} +5 -5
- package/dist/chunks/{model-01zqne1p.js → aisdk-dkvgqwgn.js} +43 -43
- package/dist/chunks/{model-jwcy2c2z.js → aisdk-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-ddt2bs9e.js → aisdk-e2hjzebn.js} +4 -4
- package/dist/chunks/{model-hk6wyp9w.js → aisdk-e33xfcyq.js} +24 -24
- package/dist/chunks/{model-4f5d4waw.js → aisdk-e9nz6801.js} +15 -15
- package/dist/chunks/{model-wn601hgc.js → aisdk-ek5ar3qc.js} +8 -8
- package/dist/chunks/{model-427hzfby.js → aisdk-ems07c8m.js} +6 -6
- package/dist/chunks/{model-0gr7cw0d.js → aisdk-epaqsvmn.js} +4 -4
- package/dist/chunks/{model-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-tyhtmtb1.js → aisdk-ey7s2smf.js} +13 -13
- package/dist/chunks/{model-jwvj9vdn.js → aisdk-eyg9ws1k.js} +19 -19
- package/dist/chunks/{model-5m0dtv2d.js → aisdk-f3vnnygg.js} +6 -6
- package/dist/chunks/{model-4fq18jmq.js → aisdk-f7e914y9.js} +23 -23
- package/dist/chunks/{model-f828m53h.js → aisdk-f828m53h.js} +2 -2
- package/dist/chunks/{model-kjcjq4b3.js → aisdk-fa8bhyre.js} +26 -26
- package/dist/chunks/{model-pw609sjz.js → aisdk-fbxj5bg3.js} +28 -28
- package/dist/chunks/{model-sypghty7.js → aisdk-fmrt92vm.js} +10 -10
- package/dist/chunks/{model-3q7h00b9.js → aisdk-fnnct887.js} +27 -27
- package/dist/chunks/{model-zzsqbm8r.js → aisdk-fnsnmz3s.js} +11 -11
- package/dist/chunks/{model-fxbjtjnd.js → aisdk-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-af350n58.js → aisdk-g6cp7sgb.js} +40 -40
- package/dist/chunks/{model-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-6ten4jdj.js → aisdk-gfm5qb5s.js} +11 -11
- package/dist/chunks/{model-kn2e7a30.js → aisdk-gnmm0eyh.js} +6 -6
- package/dist/chunks/{model-fhs97t90.js → aisdk-gsx0ryk4.js} +5 -5
- package/dist/chunks/{model-gv6a8nnw.js → aisdk-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-g2y161wv.js → aisdk-gwydwvmj.js} +5 -5
- package/dist/chunks/{model-33r7arbr.js → aisdk-gxsccdtc.js} +41 -41
- package/dist/chunks/aisdk-gyce5qg1.js +18 -0
- package/dist/chunks/{model-h03wrkyp.js → aisdk-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-g5p9v76r.js → aisdk-h09j9c2e.js} +18 -18
- package/dist/chunks/{model-c23d720g.js → aisdk-h2r7bbkd.js} +11 -11
- package/dist/chunks/{model-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-qqt871ed.js → aisdk-hec2v6w6.js} +46 -46
- package/dist/chunks/{model-95a4nxen.js → aisdk-hq13sp65.js} +18 -18
- package/dist/chunks/{model-ennqj48b.js → aisdk-hq59abab.js} +85 -85
- package/dist/chunks/{model-cgtmrgbf.js → aisdk-hz9157mg.js} +10 -10
- package/dist/chunks/{model-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
- package/dist/chunks/{model-r08zwg3r.js → aisdk-j7se7r15.js} +9 -9
- package/dist/chunks/{model-v5w9803s.js → aisdk-jdh6s7jq.js} +8 -8
- package/dist/chunks/{model-19vf66h0.js → aisdk-jfqtm2ew.js} +4 -4
- package/dist/chunks/{model-dw1xw5kf.js → aisdk-jr3e8pb9.js} +5 -5
- package/dist/chunks/{model-6s4by8s0.js → aisdk-jvjn3aa2.js} +13 -13
- package/dist/chunks/{model-s8j6jbjj.js → aisdk-jw80jp6b.js} +21 -21
- package/dist/chunks/{model-a5fqa70n.js → aisdk-jxt4v063.js} +7 -7
- package/dist/chunks/{model-zpn9qnw3.js → aisdk-k3a2w7sd.js} +4 -4
- package/dist/chunks/{model-xcs774s4.js → aisdk-k5gqmr58.js} +17 -17
- package/dist/chunks/{model-e4dz0fmv.js → aisdk-kdhns56g.js} +30 -30
- package/dist/chunks/{model-kg06axw8.js → aisdk-kg06axw8.js} +1 -1
- package/dist/chunks/{model-e3mczv1f.js → aisdk-kt3y8h6r.js} +47 -47
- package/dist/chunks/{model-pfhdynjr.js → aisdk-kvexghzj.js} +32 -32
- package/dist/chunks/{model-evy1cf6y.js → aisdk-kw3rpzz6.js} +6 -6
- package/dist/chunks/{model-ng8mejvs.js → aisdk-kwh8rdnc.js} +8 -8
- package/dist/chunks/{model-zs4k4bm4.js → aisdk-kwk78dnv.js} +12 -12
- package/dist/chunks/{model-6hdpz7r5.js → aisdk-kzwbfm8p.js} +24 -24
- package/dist/chunks/{model-rwdp7x1n.js → aisdk-m05zvapk.js} +9 -9
- package/dist/chunks/{model-fnnbcqtc.js → aisdk-m4z4h769.js} +20 -20
- package/dist/chunks/{model-ggcxy6ha.js → aisdk-m5mymr4j.js} +25 -25
- package/dist/chunks/{model-47ms443m.js → aisdk-m6g7jkxp.js} +7 -7
- package/dist/chunks/{model-cnkpq623.js → aisdk-m91kavyw.js} +6 -6
- package/dist/chunks/{model-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-m3j98nth.js → aisdk-mce7j10b.js} +11 -11
- package/dist/chunks/{model-y5aw8mtm.js → aisdk-mdgf1tr5.js} +16 -16
- package/dist/chunks/{model-1bbkgx8g.js → aisdk-mhkvc446.js} +3 -3
- package/dist/chunks/{model-5bs4txnv.js → aisdk-mk2528ak.js} +11 -11
- package/dist/chunks/{model-3j9mgshd.js → aisdk-msk50a9j.js} +24 -24
- package/dist/chunks/{model-hy1g3bgf.js → aisdk-mz6ae2yf.js} +1 -1
- package/dist/chunks/{model-zrs7pmt3.js → aisdk-n0pywpq4.js} +6 -6
- package/dist/chunks/{model-kyf2eze9.js → aisdk-n3gg6d5p.js} +9 -9
- package/dist/chunks/{model-vstdng3x.js → aisdk-n4x12xf7.js} +52 -52
- package/dist/chunks/{model-znfzvn2k.js → aisdk-ncwp57gn.js} +11 -11
- package/dist/chunks/{model-ggtjpswj.js → aisdk-ne2cd2m1.js} +19 -19
- package/dist/chunks/{model-f33hbkq0.js → aisdk-ng5bkzwz.js} +17 -17
- package/dist/chunks/{model-nhy5jxhy.js → aisdk-nhy5jxhy.js} +1 -1
- package/dist/chunks/{model-7mv990wx.js → aisdk-nk984zqg.js} +16 -16
- package/dist/chunks/{model-hm6af37m.js → aisdk-nng2ktcm.js} +2 -2
- package/dist/chunks/{model-49dhn78k.js → aisdk-nnk8dd8x.js} +10 -10
- package/dist/chunks/{model-nv5vn7qx.js → aisdk-nv5vn7qx.js} +2 -2
- package/dist/chunks/{model-avm8jn6n.js → aisdk-nxhqveyz.js} +5 -5
- package/dist/chunks/{model-7ydv0qnt.js → aisdk-p1a96z2b.js} +13 -13
- package/dist/chunks/{model-hacxhjzv.js → aisdk-p8wja8y5.js} +62 -62
- package/dist/chunks/{model-j935v87r.js → aisdk-paphc93g.js} +2 -2
- package/dist/chunks/{model-vnk050b0.js → aisdk-peryqyrz.js} +85 -85
- package/dist/chunks/{model-1mty6vw9.js → aisdk-pf455e0p.js} +12 -12
- package/dist/chunks/{model-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{model-aqtmwthd.js → aisdk-ps5sf8py.js} +38 -38
- package/dist/chunks/{model-2eknmf3c.js → aisdk-pt65ttd0.js} +14 -14
- package/dist/chunks/{model-z1cqpf8w.js → aisdk-pvp6d6mk.js} +20 -20
- package/dist/chunks/{model-aa9jsfqg.js → aisdk-pxgfjhef.js} +284 -284
- package/dist/chunks/{model-s77a7x78.js → aisdk-pzd97zp3.js} +11 -11
- package/dist/chunks/{model-fxd0s1jx.js → aisdk-pzhysev7.js} +8 -8
- package/dist/chunks/{model-h378ch1a.js → aisdk-q7j71zxc.js} +25 -25
- package/dist/chunks/aisdk-qapv375x.js +4 -0
- package/dist/chunks/{model-n5wh41er.js → aisdk-qbteesy0.js} +20 -20
- package/dist/chunks/{model-kfchwe9z.js → aisdk-qdw968f8.js} +22 -22
- package/dist/chunks/{model-ysj42rak.js → aisdk-qjwa214h.js} +11 -11
- package/dist/chunks/{model-25yd6z24.js → aisdk-qm02pys1.js} +9 -9
- package/dist/chunks/{model-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{model-f8ndr4p9.js → aisdk-r9359xqd.js} +22 -22
- package/dist/chunks/{model-r9mregkx.js → aisdk-r9mregkx.js} +2 -2
- package/dist/chunks/{model-1acjjqhc.js → aisdk-rhraev7y.js} +4 -4
- package/dist/chunks/{model-x5wa15pd.js → aisdk-rjhjfq7n.js} +24 -24
- package/dist/chunks/{model-rsym84ch.js → aisdk-rk0rec3h.js} +9 -9
- package/dist/chunks/{model-qf49agjw.js → aisdk-rphdqnvd.js} +32 -32
- package/dist/chunks/{model-a5xy8rps.js → aisdk-s1awdw9x.js} +8 -8
- package/dist/chunks/{model-kx7xa2sp.js → aisdk-s617fcbn.js} +4 -4
- package/dist/chunks/{model-1wtaecq5.js → aisdk-s7z8792h.js} +7 -7
- package/dist/chunks/{model-0gdmqesm.js → aisdk-s8d7rejh.js} +4 -4
- package/dist/chunks/{model-s9yxznb6.js → aisdk-s9yxznb6.js} +1 -1
- package/dist/chunks/{model-cdxne2ts.js → aisdk-saf0zegx.js} +13 -13
- package/dist/chunks/{model-d0dbw1j5.js → aisdk-sd60vjdv.js} +22 -22
- package/dist/chunks/{model-3skdg1nm.js → aisdk-sednt3jq.js} +32 -32
- package/dist/chunks/{model-yqbkvtfa.js → aisdk-sk749243.js} +32 -32
- package/dist/chunks/{model-1d13423j.js → aisdk-sp9f9gq5.js} +11 -11
- package/dist/chunks/{model-bev58rz9.js → aisdk-sqcj7v6g.js} +24 -24
- package/dist/chunks/{model-5vtpc8vp.js → aisdk-sy6czt1v.js} +27 -27
- package/dist/chunks/{model-8gt682ks.js → aisdk-t1f31a8j.js} +25 -25
- package/dist/chunks/{model-2653mqwd.js → aisdk-t1pd95j1.js} +11 -11
- package/dist/chunks/{model-0qbfsv0x.js → aisdk-t2p9dx1c.js} +4 -4
- package/dist/chunks/{model-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-89znhe33.js → aisdk-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-6h7ssv2c.js → aisdk-tddm3rmf.js} +17 -17
- package/dist/chunks/{model-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{model-gmnnjgny.js → aisdk-th38bspn.js} +5 -5
- package/dist/chunks/{model-970yf2am.js → aisdk-tryx8gd9.js} +9 -9
- package/dist/chunks/{model-tvtrv512.js → aisdk-tvtrv512.js} +1 -1
- package/dist/chunks/{model-an7cqtb7.js → aisdk-ve4pfa0n.js} +4 -4
- package/dist/chunks/{model-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/{model-bwmrk78f.js → aisdk-vpznpbtb.js} +17 -17
- package/dist/chunks/{model-7yqnf43w.js → aisdk-vyqn3nqs.js} +4 -4
- package/dist/chunks/{model-vzcthcp8.js → aisdk-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-j8hv5r0n.js → aisdk-w0888ddm.js} +15 -15
- package/dist/chunks/{model-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-cdf4b59p.js → aisdk-w79n40hd.js} +51 -51
- package/dist/chunks/{model-z1bp4kmj.js → aisdk-wa0m3aez.js} +27 -27
- package/dist/chunks/{model-nsexsark.js → aisdk-wa6svv6d.js} +2 -2
- package/dist/chunks/{model-yyfky2bj.js → aisdk-wavq5vqb.js} +1 -1
- package/dist/chunks/{model-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{model-afw0evk7.js → aisdk-wp00kwxt.js} +20 -20
- package/dist/chunks/{model-89z7vhwa.js → aisdk-wpqx8hg0.js} +37 -37
- package/dist/chunks/{model-r7nsrefv.js → aisdk-wsrtcsj8.js} +8 -8
- package/dist/chunks/{model-bzfw32px.js → aisdk-ww8p5b1k.js} +9 -9
- package/dist/chunks/{model-x1ezjp6w.js → aisdk-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-qkevazrs.js → aisdk-xbpna4bp.js} +12 -12
- package/dist/chunks/{model-pnsrke6y.js → aisdk-xbvrr98x.js} +20 -20
- package/dist/chunks/{model-9c2qq6zd.js → aisdk-xghvv9rn.js} +1 -1
- package/dist/chunks/{model-rfxdn812.js → aisdk-xp1j24tq.js} +45 -45
- package/dist/chunks/{model-wtbqz04z.js → aisdk-xt6sjn1c.js} +6 -6
- package/dist/chunks/{model-av9b8y59.js → aisdk-xw4p555a.js} +32 -32
- package/dist/chunks/{model-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-47th8ec4.js → aisdk-y5h36fh7.js} +11 -11
- package/dist/chunks/{model-v2bqrexr.js → aisdk-y6y6c1gd.js} +7 -7
- package/dist/chunks/{model-xb43fy6r.js → aisdk-ybax85s4.js} +30 -30
- package/dist/chunks/{model-64bd1qya.js → aisdk-yd9wcedj.js} +24 -24
- package/dist/chunks/{model-pagpqc31.js → aisdk-yhz9n5rz.js} +33 -33
- package/dist/chunks/{model-yrhqyw5v.js → aisdk-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-s4enseaf.js → aisdk-yrznvahk.js} +2 -2
- package/dist/chunks/{model-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-29x78va6.js → aisdk-z63w68vq.js} +6 -6
- package/dist/chunks/{model-91t0qgnn.js → aisdk-za368f76.js} +9 -9
- package/dist/chunks/{model-k5jh3d8v.js → aisdk-zdw85t5j.js} +43 -43
- package/dist/chunks/{model-00pw3h10.js → aisdk-ze2vws08.js} +27 -27
- package/dist/chunks/{model-zeh9ct20.js → aisdk-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-01ebgy6x.js → aisdk-zgfa8dqj.js} +25 -25
- package/dist/chunks/{model-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +85 -85
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- 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 +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- 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 +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +85 -85
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +110 -110
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- 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 +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/model-0mesazry.js +0 -4
- package/dist/chunks/model-9zdhvgqs.js +0 -18
- package/dist/chunks/model-p57y74xn.js +0 -247
- /package/dist/chunks/{model-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-922hggd3.js → aisdk-922hggd3.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hjbc5kem.js → aisdk-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{model-hrnqkpcd.js → aisdk-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-sk3qaz4a.js → aisdk-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-twg0f83k.js → aisdk-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID10,
|
|
3
|
+
Info24,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-7w99qc9d.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
Service80,
|
|
11
|
-
node85
|
|
12
|
-
} from "./model-znfzvn2k.js";
|
|
13
|
-
import {
|
|
14
|
-
isSynced2,
|
|
15
10
|
Service77,
|
|
16
11
|
node82
|
|
17
|
-
} from "./
|
|
12
|
+
} from "./aisdk-ncwp57gn.js";
|
|
18
13
|
import {
|
|
14
|
+
isSynced2,
|
|
19
15
|
Service75,
|
|
20
16
|
node80
|
|
21
|
-
} from "./
|
|
17
|
+
} from "./aisdk-mdgf1tr5.js";
|
|
22
18
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
19
|
+
Service67,
|
|
20
|
+
node72
|
|
21
|
+
} from "./aisdk-hec2v6w6.js";
|
|
22
|
+
import {
|
|
23
|
+
Service59,
|
|
24
|
+
node64
|
|
25
|
+
} from "./aisdk-6sth7kcr.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node62
|
|
34
|
+
} from "./aisdk-ybax85s4.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./aisdk-6tt5evqq.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./aisdk-6rxp5wnv.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./aisdk-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node25
|
|
47
|
+
} from "./aisdk-rjhjfq7n.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node37
|
|
51
|
+
} from "./aisdk-t1pd95j1.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError8,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,50 +61,50 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./aisdk-2e96adxv.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service63,
|
|
68
|
+
node68
|
|
69
|
+
} from "./aisdk-3970aszm.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service61,
|
|
72
|
+
node66
|
|
73
|
+
} from "./aisdk-vpznpbtb.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service55,
|
|
76
|
+
node61
|
|
77
|
+
} from "./aisdk-924smr84.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./aisdk-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
82
|
Service26,
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
83
|
+
node30
|
|
84
|
+
} from "./aisdk-jxt4v063.js";
|
|
85
85
|
import {
|
|
86
86
|
generate3
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./aisdk-pt65ttd0.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./aisdk-pzhysev7.js";
|
|
91
91
|
import {
|
|
92
92
|
DestinationNotFoundError2,
|
|
93
93
|
DestinationNotDirectoryError2,
|
|
94
94
|
DestinationUnavailableError2,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service20,
|
|
96
|
+
node24
|
|
97
|
+
} from "./aisdk-p8wja8y5.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service34,
|
|
100
|
+
node39
|
|
101
|
+
} from "./aisdk-s1awdw9x.js";
|
|
102
102
|
import {
|
|
103
103
|
make12
|
|
104
|
-
} from "./
|
|
104
|
+
} from "./aisdk-5svkfz8e.js";
|
|
105
105
|
import {
|
|
106
106
|
__export
|
|
107
|
-
} from "./
|
|
107
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
108
108
|
|
|
109
109
|
// src/session.ts
|
|
110
110
|
var exports_session = {};
|
|
@@ -115,21 +115,21 @@ __export(exports_session, {
|
|
|
115
115
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
116
116
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
117
117
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
118
|
-
ID: () =>
|
|
118
|
+
ID: () => ID10,
|
|
119
119
|
InboxConflictError: () => InboxConflictError2,
|
|
120
|
-
Info: () =>
|
|
120
|
+
Info: () => Info24,
|
|
121
121
|
ListAnchor: () => ListAnchor2,
|
|
122
|
-
ListInput: () =>
|
|
122
|
+
ListInput: () => ListInput3,
|
|
123
123
|
MessageDecodeError: () => MessageDecodeError2,
|
|
124
124
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
125
|
-
NotFoundError: () =>
|
|
125
|
+
NotFoundError: () => NotFoundError8,
|
|
126
126
|
PromptConflictError: () => PromptConflictError2,
|
|
127
|
-
Service: () =>
|
|
127
|
+
Service: () => Service19,
|
|
128
128
|
Session: () => exports_session,
|
|
129
129
|
SessionSchema: () => SessionSchema2,
|
|
130
130
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
131
131
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
132
|
-
node: () =>
|
|
132
|
+
node: () => node23
|
|
133
133
|
});
|
|
134
134
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
135
135
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -139,26 +139,26 @@ import { Model } from "@opencode/schema/model";
|
|
|
139
139
|
import path from "path";
|
|
140
140
|
import { Node } from "@opencode/util/effect/app-node";
|
|
141
141
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
142
|
-
var
|
|
143
|
-
class
|
|
142
|
+
var ListInput3 = ListInput4;
|
|
143
|
+
class Service19 extends Context.Service()("@opencode/Session") {
|
|
144
144
|
}
|
|
145
|
-
var layer = Layer.effect(
|
|
145
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
146
146
|
const app = yield* Metadata2;
|
|
147
|
-
const database = yield*
|
|
147
|
+
const database = yield* Service77;
|
|
148
148
|
const db = database.db;
|
|
149
|
-
const bus = yield*
|
|
150
|
-
const projects = yield*
|
|
151
|
-
const execution = yield*
|
|
149
|
+
const bus = yield* Service75;
|
|
150
|
+
const projects = yield* Service67;
|
|
151
|
+
const execution = yield* Service55;
|
|
152
152
|
const llm = yield* LLMClient.Service;
|
|
153
153
|
const transport = yield* Service26;
|
|
154
|
-
const store = yield*
|
|
155
|
-
const instances = yield*
|
|
156
|
-
const moves = yield*
|
|
157
|
-
const jobs = yield*
|
|
158
|
-
const environments = yield*
|
|
154
|
+
const store = yield* Service63;
|
|
155
|
+
const instances = yield* Service59;
|
|
156
|
+
const moves = yield* Service20;
|
|
157
|
+
const jobs = yield* Service61;
|
|
158
|
+
const environments = yield* Service34;
|
|
159
159
|
const sessions = yield* make12();
|
|
160
160
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
161
|
-
const result =
|
|
161
|
+
const result = Service19.of({
|
|
162
162
|
create: Effect.fn("Session.create")(function* (input) {
|
|
163
163
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
164
164
|
const recorded = yield* store.get(sessionID);
|
|
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
166
166
|
return recorded;
|
|
167
167
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
168
168
|
if (input.parentID && parent === undefined)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError8({ sessionID: input.parentID });
|
|
170
170
|
const location = parent?.location ?? input.location;
|
|
171
171
|
if (location === undefined)
|
|
172
172
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -260,11 +260,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
260
260
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
261
261
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
262
262
|
const session = yield* result.get(input.sessionID);
|
|
263
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
263
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service77, database), Effect.provideService(LLMClient.Service, llm));
|
|
264
264
|
}),
|
|
265
265
|
command: Effect.fn("Session.command")(function* (input) {
|
|
266
266
|
const session = yield* result.get(input.sessionID);
|
|
267
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
267
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service59, instances));
|
|
268
268
|
}),
|
|
269
269
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
270
270
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -305,26 +305,26 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
305
305
|
});
|
|
306
306
|
return result;
|
|
307
307
|
}));
|
|
308
|
-
var
|
|
309
|
-
service:
|
|
308
|
+
var node23 = Node.makeGlobalNode({
|
|
309
|
+
service: Service19,
|
|
310
310
|
layer,
|
|
311
311
|
deps: [
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
node85,
|
|
312
|
+
node66,
|
|
313
|
+
node39,
|
|
315
314
|
node82,
|
|
316
315
|
node80,
|
|
317
|
-
|
|
318
|
-
|
|
316
|
+
node72,
|
|
317
|
+
node61,
|
|
318
|
+
node30,
|
|
319
319
|
llmClient2,
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
node23,
|
|
320
|
+
node68,
|
|
321
|
+
node64,
|
|
322
|
+
node62,
|
|
324
323
|
node24,
|
|
324
|
+
node25,
|
|
325
325
|
FSUtil.node,
|
|
326
|
-
|
|
326
|
+
node37
|
|
327
327
|
]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { ListAnchor2,
|
|
330
|
+
export { ListAnchor2, ListInput3, Service19, node23, exports_session };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./aisdk-tddm3rmf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service66;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Info7,
|
|
6
|
-
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-0tpmsbdx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service50
|
|
11
|
+
} from "./aisdk-7d86regf.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
@@ -427,14 +427,14 @@ var Plugin11 = define({
|
|
|
427
427
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
428
428
|
yield* ctx.skill.transform((editor) => {
|
|
429
429
|
editor.add(Info7.make({
|
|
430
|
-
id:
|
|
430
|
+
id: ID4.make("opencode"),
|
|
431
431
|
name: Name2.make("OpenCode"),
|
|
432
432
|
description: OpencodeDescription2,
|
|
433
433
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
434
434
|
content: OpencodeContent2
|
|
435
435
|
}));
|
|
436
436
|
editor.add(Info7.make({
|
|
437
|
-
id:
|
|
437
|
+
id: ID4.make("report"),
|
|
438
438
|
name: Name2.make("Report"),
|
|
439
439
|
description: REPORT_DESCRIPTION,
|
|
440
440
|
slash: true,
|
|
@@ -463,7 +463,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
463
463
|
`);
|
|
464
464
|
});
|
|
465
465
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
466
|
-
const config = yield*
|
|
466
|
+
const config = yield* Service50;
|
|
467
467
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
468
468
|
});
|
|
469
469
|
function terminal() {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service80,
|
|
10
|
+
node: () => node85
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service80 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service80.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node85 = makeLocationNode({ service: Service80, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service80, node85, exports_hooks };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info19
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info19 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info22 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info19, exports_command5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-33n3bzdy.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin9,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin9 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin9, generate2, exports_variant };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service48,
|
|
6
|
+
node53
|
|
7
|
+
} from "./aisdk-msk50a9j.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service16,
|
|
17
|
+
node: () => node19,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service16 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service48;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service16.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node19 = makeLocationNode({ service: Service16, layer, deps: [node53] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service16, readText2, syncTextBom2, node19, exports_file_mutation };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info17,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info17, exports_permission };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
11
|
Service: () => Service26,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node30
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -358,9 +358,9 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
|
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
359
|
return Service26.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node30 = makeGlobalNode({ service: Service26, layer: layer11, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export { Service26, makeLayer2,
|
|
366
|
+
export { Service26, makeLayer2, layer11, node30, exports_model_transport };
|