@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,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./aisdk-224w1t6x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./aisdk-4d4ewk63.js";
|
|
7
7
|
import {
|
|
8
8
|
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service43
|
|
14
|
+
} from "./aisdk-26688qyv.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-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: () => Input7,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin39,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name7
|
|
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 name7 = "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([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `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 Input7 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin39 = {
|
|
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* Service62;
|
|
53
|
+
const forms = yield* Service73;
|
|
54
|
+
const websearch = yield* Service43;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name7,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input7,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name7,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (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[name7];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name7, NO_RESULTS2, description4, Input7, Plugin39, exports_websearch2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./model-znfzvn2k.js";
|
|
5
1
|
import {
|
|
6
2
|
Service77,
|
|
7
3
|
node82
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./aisdk-ncwp57gn.js";
|
|
5
|
+
import {
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./aisdk-mdgf1tr5.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID17,
|
|
25
|
+
Info: () => Info32,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service74,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node79
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID17 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info32 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID17,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service74 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service77).db;
|
|
55
|
+
const bus = yield* Service75;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info32({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service74.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info32({
|
|
80
|
+
id: ID17.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node79 = makeGlobalNode({ service: Service74, layer, deps: [node82, node80] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID17, OAuth3, Key4, Value2, Event20, Info32, Service74, node79, exports_credential };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Plugin6
|
|
3
|
-
} from "./model-g2y161wv.js";
|
|
4
1
|
import {
|
|
5
2
|
Plugin4
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./aisdk-gwydwvmj.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin2
|
|
6
|
+
} from "./aisdk-m91kavyw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Plugin3
|
|
9
|
+
} from "./aisdk-qm02pys1.js";
|
|
10
10
|
import {
|
|
11
11
|
Plugin5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-kw3rpzz6.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/websearch/index.ts
|
|
15
15
|
var WebSearchPlugins2 = [
|
|
16
|
-
Plugin6,
|
|
17
16
|
Plugin4,
|
|
18
|
-
|
|
17
|
+
Plugin2,
|
|
18
|
+
Plugin3,
|
|
19
19
|
Plugin5
|
|
20
20
|
];
|
|
21
21
|
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./aisdk-7d86regf.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service48
|
|
13
|
+
} from "./aisdk-msk50a9j.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service61
|
|
16
|
+
} from "./aisdk-vpznpbtb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service62
|
|
19
|
+
} from "./aisdk-4d4ewk63.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service45,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-h09j9c2e.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service40,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./aisdk-0bm6edds.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service33
|
|
37
|
+
} from "./aisdk-w79n40hd.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service19
|
|
40
|
+
} from "./aisdk-hq59abab.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./aisdk-5fg8kh1z.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input11,
|
|
53
|
+
Plugin: () => Plugin43,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name11
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name11 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input11 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin43 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service19;
|
|
122
|
+
const jobs = yield* Service61;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service48;
|
|
125
|
+
const access = yield* Service45;
|
|
126
|
+
const shell = yield* Service33;
|
|
127
|
+
const shellSelect = yield* Service40;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service62;
|
|
130
|
+
const config = yield* Service50;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin40 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name11,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin40 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name11,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input11,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin40 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name11,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name11];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin43, exports_shell2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
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
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./aisdk-h09j9c2e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./aisdk-sd60vjdv.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./aisdk-5pddvan8.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input8,
|
|
36
|
+
Plugin: () => Plugin40,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name8,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name8 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input8 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin40 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service45;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service66;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name8,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input8,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin43 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent4 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name8, Input8, Plugin40, toModelContent4, exports_read };
|