@opencode/core 0.0.0-dev-1295 → 0.0.0-dev-1297
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 +88 -88
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +256 -256
- package/dist/bus.js +84 -84
- package/dist/chunks/{repository-w0drzbgw.js → tool-output-00tn74xw.js} +17 -17
- package/dist/chunks/{repository-4y6h7701.js → tool-output-07pjn45g.js} +31 -31
- package/dist/chunks/{repository-ds3x2h8w.js → tool-output-097n65nv.js} +13 -13
- package/dist/chunks/{repository-dsd5wyar.js → tool-output-0d3npgtp.js} +5 -5
- package/dist/chunks/{repository-0fvxehme.js → tool-output-0fvxehme.js} +2 -2
- package/dist/chunks/{repository-tg4p7551.js → tool-output-0g9zm4m8.js} +25 -25
- package/dist/chunks/{repository-075tnmpp.js → tool-output-0pc59a0n.js} +39 -39
- package/dist/chunks/{repository-cea6hd02.js → tool-output-0raqdzdp.js} +12 -12
- package/dist/chunks/{repository-fb4dw218.js → tool-output-0smddadw.js} +23 -23
- package/dist/chunks/{repository-rpx37cdg.js → tool-output-0zvg0tcx.js} +27 -27
- package/dist/chunks/{repository-8tjj9rtv.js → tool-output-12m872qf.js} +12 -12
- package/dist/chunks/{repository-n2jwyyf2.js → tool-output-12qy29rk.js} +15 -15
- package/dist/chunks/{repository-7s8ymmn3.js → tool-output-17wdez1g.js} +6 -6
- package/dist/chunks/{repository-5zjvj63j.js → tool-output-185nt9tx.js} +26 -26
- package/dist/chunks/{repository-1aqsckx4.js → tool-output-1aqsckx4.js} +1 -1
- package/dist/chunks/{repository-wtft8ef2.js → tool-output-1awffag3.js} +4 -4
- package/dist/chunks/{repository-a6vptk3v.js → tool-output-1e29nfvb.js} +10 -10
- package/dist/chunks/{repository-1cwf02y7.js → tool-output-1nx0f6sm.js} +13 -13
- package/dist/chunks/{repository-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-vc5wyrht.js → tool-output-25420gcv.js} +33 -33
- package/dist/chunks/{repository-tb2mrvc9.js → tool-output-26wfx3k0.js} +4 -4
- package/dist/chunks/{repository-1ep2p91f.js → tool-output-27w5k9zf.js} +2 -2
- package/dist/chunks/{repository-22726xzj.js → tool-output-2a7g6nbn.js} +16 -16
- package/dist/chunks/{repository-q2z2msfx.js → tool-output-2b0yjqf5.js} +6 -6
- package/dist/chunks/{repository-m5mzeqng.js → tool-output-2ekmpj3v.js} +28 -28
- package/dist/chunks/{repository-2fc7eemy.js → tool-output-2fc7eemy.js} +1 -1
- package/dist/chunks/{repository-3beq3wdw.js → tool-output-2n444ktb.js} +3 -3
- package/dist/chunks/{repository-tcxn00q3.js → tool-output-2pc3cc01.js} +17 -17
- package/dist/chunks/{repository-dekwarse.js → tool-output-2zzxwx70.js} +21 -21
- package/dist/chunks/{repository-d390zwf3.js → tool-output-31avdb49.js} +8 -8
- package/dist/chunks/{repository-bekg9j7j.js → tool-output-34n4fxjh.js} +27 -27
- package/dist/chunks/{repository-srcf351v.js → tool-output-34x7qexp.js} +8 -8
- package/dist/chunks/{repository-e9e1fhjv.js → tool-output-36tts5yb.js} +20 -20
- package/dist/chunks/{repository-933032vd.js → tool-output-3737d3b5.js} +5 -5
- package/dist/chunks/{repository-vzyp2xnz.js → tool-output-375dhvyd.js} +5 -5
- package/dist/chunks/{repository-859w1rtj.js → tool-output-3adw4bt5.js} +9 -9
- package/dist/chunks/{repository-ayjs7tqn.js → tool-output-3cbjf1nt.js} +2 -2
- package/dist/chunks/{repository-wrr9v7mg.js → tool-output-3em2z4he.js} +5 -5
- package/dist/chunks/{repository-bs1g9tnx.js → tool-output-3ew8j3zv.js} +24 -24
- package/dist/chunks/{repository-zy4b93eg.js → tool-output-3f261ghb.js} +3 -3
- package/dist/chunks/{repository-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-wqqvsnnx.js → tool-output-3j7hx6c1.js} +7 -7
- package/dist/chunks/{repository-3nnrz6f6.js → tool-output-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-3qgwywyc.js → tool-output-3qgwywyc.js} +1 -1
- package/dist/chunks/{repository-qa8wq1bx.js → tool-output-3tt6s45g.js} +9 -9
- package/dist/chunks/{repository-40y6dtc2.js → tool-output-40y6dtc2.js} +1 -1
- package/dist/chunks/{repository-40za9wsf.js → tool-output-40za9wsf.js} +2 -2
- package/dist/chunks/{repository-jvdg4s4q.js → tool-output-43pkpfnv.js} +88 -88
- package/dist/chunks/{repository-mkvkcrcf.js → tool-output-48910wn5.js} +40 -40
- package/dist/chunks/{repository-5n3vkvkg.js → tool-output-48qcwzv0.js} +13 -13
- package/dist/chunks/{repository-jy8sxj26.js → tool-output-4avh1g83.js} +10 -10
- package/dist/chunks/{repository-yhx5bx5z.js → tool-output-4aw0q114.js} +25 -25
- package/dist/chunks/{repository-3c7qpzd7.js → tool-output-4dtvemx5.js} +8 -8
- package/dist/chunks/{repository-4dx1dgte.js → tool-output-4dx1dgte.js} +1 -1
- package/dist/chunks/{repository-4f25tdd0.js → tool-output-4f25tdd0.js} +1 -1
- package/dist/chunks/{repository-adwsp3br.js → tool-output-4gn6w73f.js} +11 -11
- package/dist/chunks/{repository-nzazpc8g.js → tool-output-4ht8npmp.js} +27 -27
- package/dist/chunks/{repository-gq39yebw.js → tool-output-4qpf2scx.js} +12 -12
- package/dist/chunks/{repository-ef93qkt9.js → tool-output-4sxf1d4g.js} +13 -13
- package/dist/chunks/{repository-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-440d70yp.js → tool-output-4wpfyc8f.js} +20 -20
- package/dist/chunks/{repository-as8prksk.js → tool-output-4wr7st1v.js} +28 -28
- package/dist/chunks/{repository-57mvpke6.js → tool-output-4yrx7mw2.js} +22 -22
- package/dist/chunks/{repository-nhp7k6g9.js → tool-output-583kyzns.js} +42 -42
- package/dist/chunks/{repository-wm9tjz56.js → tool-output-5at5veyd.js} +26 -26
- package/dist/chunks/{repository-e7hkgzd9.js → tool-output-5jmk5a3n.js} +31 -31
- package/dist/chunks/{repository-kgmdm1mc.js → tool-output-5m6a7xby.js} +6 -6
- package/dist/chunks/{repository-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-ff4xqyp0.js → tool-output-5q5qyynj.js} +26 -26
- package/dist/chunks/{repository-jvtd2tv8.js → tool-output-5qqpdn12.js} +3 -3
- package/dist/chunks/{repository-d7ghtrxv.js → tool-output-5thev09r.js} +8 -8
- package/dist/chunks/{repository-xvk67q7t.js → tool-output-62zvb7fc.js} +16 -16
- package/dist/chunks/{repository-vk792x7x.js → tool-output-66mq5zqq.js} +21 -21
- package/dist/chunks/{repository-r6g0pp9s.js → tool-output-6abskgmt.js} +7 -7
- package/dist/chunks/{repository-qgv3bwcw.js → tool-output-6eywrmd8.js} +1 -1
- package/dist/chunks/{repository-xpjxmhsa.js → tool-output-6fw0tg75.js} +5 -5
- package/dist/chunks/{repository-72fnktma.js → tool-output-6hvaf9a9.js} +47 -47
- package/dist/chunks/{repository-wds6xyh6.js → tool-output-6qhcrw7w.js} +38 -38
- package/dist/chunks/{repository-agje4kmn.js → tool-output-6y2b864j.js} +4 -4
- package/dist/chunks/{repository-3knw41x0.js → tool-output-71sesd5c.js} +9 -9
- package/dist/chunks/{repository-bd7bren2.js → tool-output-765g4m9b.js} +13 -13
- package/dist/chunks/{repository-1h6n0ysm.js → tool-output-7778z8aw.js} +28 -28
- package/dist/chunks/{repository-6fvhexbh.js → tool-output-79p981ds.js} +6 -6
- package/dist/chunks/{repository-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-2hc2yyeh.js → tool-output-7f840skq.js} +8 -8
- package/dist/chunks/{repository-ra5f49x0.js → tool-output-7jqnmm0z.js} +25 -18
- package/dist/chunks/{repository-j372c61n.js → tool-output-7qk6r02p.js} +11 -11
- package/dist/chunks/{repository-7tx5zndv.js → tool-output-7tx5zndv.js} +2 -2
- package/dist/chunks/{repository-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-7weczvnd.js → tool-output-7weczvnd.js} +1 -1
- package/dist/chunks/{repository-rgq5xsj8.js → tool-output-7x817vwp.js} +41 -41
- package/dist/chunks/{repository-0q9em7pe.js → tool-output-7y233aje.js} +21 -21
- package/dist/chunks/{repository-80mg3ag8.js → tool-output-80mg3ag8.js} +3 -3
- package/dist/chunks/{repository-80pdk984.js → tool-output-80pdk984.js} +1 -1
- package/dist/chunks/{repository-3cm6sehk.js → tool-output-82bdt3jr.js} +21 -21
- package/dist/chunks/{repository-85jq8dht.js → tool-output-85jq8dht.js} +1 -1
- package/dist/chunks/{repository-94kg4pr2.js → tool-output-893czykm.js} +40 -40
- package/dist/chunks/{repository-8b3vzgkx.js → tool-output-8b3vzgkx.js} +1 -1
- package/dist/chunks/{repository-731rr466.js → tool-output-8cbf301r.js} +5 -5
- package/dist/chunks/{repository-hswcgjnv.js → tool-output-8exmes7c.js} +3 -3
- package/dist/chunks/{repository-8kjyvwy5.js → tool-output-8kjyvwy5.js} +1 -1
- package/dist/chunks/{repository-wvvnzt41.js → tool-output-8rhvz3y5.js} +10 -10
- package/dist/chunks/{repository-0cw2pp5w.js → tool-output-8tyhrz71.js} +41 -41
- package/dist/chunks/{repository-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-hwgpdvjp.js → tool-output-8wy1cd40.js} +15 -15
- package/dist/chunks/{repository-5r6kmg8r.js → tool-output-8y9tz2j7.js} +59 -59
- package/dist/chunks/{repository-mb7mbhnz.js → tool-output-8z6m94af.js} +3 -3
- package/dist/chunks/{repository-8zv0xmg5.js → tool-output-8zv0xmg5.js} +1 -1
- package/dist/chunks/{repository-6d623jwb.js → tool-output-92djjtjs.js} +49 -49
- package/dist/chunks/{repository-zph6xvvn.js → tool-output-943nh4ze.js} +50 -50
- package/dist/chunks/{repository-3by0w2ax.js → tool-output-943zv55c.js} +16 -16
- package/dist/chunks/{repository-7de1jspm.js → tool-output-94ad2kz0.js} +5 -5
- package/dist/chunks/{repository-wvh4mmya.js → tool-output-94fxvfyc.js} +29 -29
- package/dist/chunks/{repository-a0fq0pbv.js → tool-output-963hk181.js} +9 -9
- package/dist/chunks/{repository-a75y8c3w.js → tool-output-96mjamgd.js} +15 -15
- package/dist/chunks/{repository-rre0hjx2.js → tool-output-98rd8r57.js} +8 -8
- package/dist/chunks/{repository-mxx8515c.js → tool-output-9ce98hmn.js} +353 -353
- package/dist/chunks/{repository-jev05t8t.js → tool-output-9qzrt0zj.js} +25 -25
- package/dist/chunks/{repository-1t7x0sp9.js → tool-output-9t96z90j.js} +11 -11
- package/dist/chunks/{repository-3btmr5ck.js → tool-output-9tbngfpq.js} +3 -3
- package/dist/chunks/{repository-9zwexsxs.js → tool-output-9zwexsxs.js} +2 -2
- package/dist/chunks/{repository-2c6sxtb9.js → tool-output-a3fn0gmm.js} +2 -2
- package/dist/chunks/tool-output-a610t88q.js +18 -0
- package/dist/chunks/{repository-ggx84v7x.js → tool-output-a6s57dw6.js} +6 -6
- package/dist/chunks/{repository-y7a06hmq.js → tool-output-ae7jwmty.js} +9 -9
- package/dist/chunks/{repository-034tev2y.js → tool-output-aj7mw0zk.js} +2 -2
- package/dist/chunks/{repository-g5ajqn12.js → tool-output-anvcme1c.js} +4 -4
- package/dist/chunks/{repository-w0nrctbj.js → tool-output-av6fre5x.js} +9 -9
- package/dist/chunks/{repository-3s23b7nf.js → tool-output-avgm60nc.js} +9 -9
- package/dist/chunks/{repository-jm1xng1y.js → tool-output-b1vrb478.js} +58 -58
- package/dist/chunks/{repository-dwsh12fh.js → tool-output-b4bpngzw.js} +28 -28
- package/dist/chunks/{repository-97243vbs.js → tool-output-b5nk2130.js} +69 -69
- package/dist/chunks/{repository-5mcs1phj.js → tool-output-b8te8n20.js} +8 -8
- package/dist/chunks/{repository-2bzjnwzn.js → tool-output-bac4khx9.js} +8 -8
- package/dist/chunks/{repository-8sxe6kv8.js → tool-output-bb3mmwvh.js} +2 -2
- package/dist/chunks/{repository-jp9d3jyy.js → tool-output-bbxdkdfq.js} +17 -17
- package/dist/chunks/{repository-nwkfswnm.js → tool-output-bnwd5p44.js} +11 -11
- package/dist/chunks/{repository-6xtjqz2m.js → tool-output-btnkw9ag.js} +4 -4
- package/dist/chunks/{repository-80ej5eef.js → tool-output-c3164qy2.js} +31 -31
- package/dist/chunks/{repository-dg5naf6e.js → tool-output-c5zvymhv.js} +4 -4
- package/dist/chunks/{repository-9d072b6q.js → tool-output-c8y3ng4c.js} +12 -12
- package/dist/chunks/{repository-afzp9kbc.js → tool-output-cd5q8yw3.js} +9 -9
- package/dist/chunks/{repository-86rqf3w8.js → tool-output-ce0gxeev.js} +13 -13
- package/dist/chunks/{repository-md0yj4wk.js → tool-output-cgg3nk45.js} +32 -32
- package/dist/chunks/{repository-78shhwap.js → tool-output-ck3jy9jz.js} +25 -25
- package/dist/chunks/{repository-2cks5jyr.js → tool-output-cm7nfh91.js} +5 -5
- package/dist/chunks/{repository-jnpx970n.js → tool-output-ctcn9cg4.js} +23 -23
- package/dist/chunks/{repository-cwrgdav8.js → tool-output-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-2dq8jpdd.js → tool-output-d29c5j98.js} +7 -7
- package/dist/chunks/{repository-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-rjdsgaq2.js → tool-output-d6p984z7.js} +16 -16
- package/dist/chunks/{repository-qa5v9vbm.js → tool-output-d93erz9q.js} +5 -5
- package/dist/chunks/{repository-j7d5jxht.js → tool-output-dekdxaz1.js} +5 -5
- package/dist/chunks/{repository-22m1t7j6.js → tool-output-dppfekhy.js} +21 -21
- package/dist/chunks/{repository-0kjnhnat.js → tool-output-dsdtbx6t.js} +10 -10
- package/dist/chunks/{repository-3a8968hy.js → tool-output-dsrcs0db.js} +12 -12
- package/dist/chunks/{repository-dt77769w.js → tool-output-dt77769w.js} +1 -1
- package/dist/chunks/{repository-k9rwbxer.js → tool-output-dvz4cp0t.js} +17 -17
- package/dist/chunks/{repository-rxmw0rhb.js → tool-output-dwrq2ff0.js} +11 -11
- package/dist/chunks/{repository-86yjpch2.js → tool-output-dwtj67ns.js} +17 -17
- package/dist/chunks/{repository-52840mb9.js → tool-output-dzedhk5f.js} +18 -18
- package/dist/chunks/{repository-jgr611bs.js → tool-output-ebba37g6.js} +2 -2
- package/dist/chunks/{repository-eqw4pqj1.js → tool-output-eqw4pqj1.js} +2 -2
- package/dist/chunks/{repository-tvfb4cnx.js → tool-output-ermqmx0e.js} +15 -15
- package/dist/chunks/{repository-xqesnw9t.js → tool-output-ey9kdhht.js} +2 -2
- package/dist/chunks/{repository-r279jrjw.js → tool-output-eyep3375.js} +97 -97
- package/dist/chunks/{repository-amv5w5q7.js → tool-output-fb3avabz.js} +13 -13
- package/dist/chunks/{repository-fnrhryqq.js → tool-output-fnrhryqq.js} +1 -1
- package/dist/chunks/{repository-8rn80sq6.js → tool-output-fw4fd2n6.js} +4 -4
- package/dist/chunks/{repository-w687dnns.js → tool-output-fznmdakp.js} +4 -4
- package/dist/chunks/{repository-g4txs7zc.js → tool-output-g4txs7zc.js} +4 -4
- package/dist/chunks/{repository-02aqb0hw.js → tool-output-g844nwvy.js} +20 -20
- package/dist/chunks/{repository-gbjdnr5j.js → tool-output-gbjdnr5j.js} +2 -2
- package/dist/chunks/{repository-nq82rmey.js → tool-output-gesjets7.js} +8 -8
- package/dist/chunks/{repository-gxs71cxp.js → tool-output-gxs71cxp.js} +1 -1
- package/dist/chunks/{repository-e0zepttq.js → tool-output-h1fsnw74.js} +18 -18
- package/dist/chunks/tool-output-h5t3apvc.js +35 -0
- package/dist/chunks/{repository-74m4g95v.js → tool-output-h9beesa2.js} +20 -20
- package/dist/chunks/{repository-z262y3bk.js → tool-output-h9gjv8v3.js} +12 -12
- package/dist/chunks/{repository-hgzwgvze.js → tool-output-hgzwgvze.js} +2 -2
- package/dist/chunks/{repository-hj0xet7m.js → tool-output-hj0xet7m.js} +2 -2
- package/dist/chunks/{repository-e9h2qsxa.js → tool-output-hm7tfban.js} +11 -11
- package/dist/chunks/{repository-9hnkp272.js → tool-output-j0n6w2e3.js} +11 -11
- package/dist/chunks/{repository-zqnv9fqk.js → tool-output-j0yr2xej.js} +37 -37
- package/dist/chunks/{repository-4ez88w3t.js → tool-output-j1p040vg.js} +19 -19
- package/dist/chunks/{repository-j376ae4e.js → tool-output-j376ae4e.js} +1 -1
- package/dist/chunks/{repository-pcqz0mdk.js → tool-output-j8mfx5qn.js} +8 -8
- package/dist/chunks/{repository-rdrzgfkv.js → tool-output-j9ne08cm.js} +6 -6
- package/dist/chunks/{repository-s6zk46kh.js → tool-output-jhmkfb1g.js} +39 -39
- package/dist/chunks/{repository-jt3wcppe.js → tool-output-jja1z2vg.js} +8 -8
- package/dist/chunks/{repository-a5w0t351.js → tool-output-jkz9hm8s.js} +24 -24
- package/dist/chunks/{repository-jm70asfg.js → tool-output-jm70asfg.js} +1 -1
- package/dist/chunks/{repository-zqm9n0j1.js → tool-output-jpv10xns.js} +30 -30
- package/dist/chunks/{repository-8t14wrn8.js → tool-output-jqztd8gr.js} +14 -14
- package/dist/chunks/{repository-jxd6f16v.js → tool-output-jxd6f16v.js} +2 -2
- package/dist/chunks/{repository-jz2mpads.js → tool-output-jz2mpads.js} +3 -3
- package/dist/chunks/{repository-2sm5ch0r.js → tool-output-k10mvm5q.js} +28 -28
- package/dist/chunks/{repository-0y16qpbq.js → tool-output-k53ebp1q.js} +20 -20
- package/dist/chunks/{repository-3d3k30ev.js → tool-output-kava32wg.js} +9 -9
- package/dist/chunks/{repository-4gv8hekr.js → tool-output-kgfb7q3s.js} +33 -33
- package/dist/chunks/{repository-tvstap8v.js → tool-output-kgvdfgff.js} +5 -5
- package/dist/chunks/{repository-hj3r42js.js → tool-output-kk6p03vc.js} +31 -31
- package/dist/chunks/{repository-kn4zqwcq.js → tool-output-kn4zqwcq.js} +3 -3
- package/dist/chunks/{repository-q5v60jsn.js → tool-output-kq4fsc21.js} +43 -43
- package/dist/chunks/{repository-zqjk3b05.js → tool-output-kqzdf1mx.js} +29 -29
- package/dist/chunks/{repository-kt3bjfbg.js → tool-output-kt3bjfbg.js} +1 -1
- package/dist/chunks/{repository-kzczzf4v.js → tool-output-kzczzf4v.js} +1 -1
- package/dist/chunks/{repository-kzdam8c6.js → tool-output-kzdam8c6.js} +2 -2
- package/dist/chunks/{repository-gzm6fcqq.js → tool-output-m0f1jrtd.js} +9 -9
- package/dist/chunks/{repository-m1714858.js → tool-output-m1714858.js} +1 -1
- package/dist/chunks/{repository-4dfqsw0d.js → tool-output-m4p4r8nc.js} +4 -4
- package/dist/chunks/{repository-0gdrrj59.js → tool-output-m6cfdtf3.js} +4 -4
- package/dist/chunks/{repository-4erzfp4b.js → tool-output-m7007fgs.js} +7 -7
- package/dist/chunks/{repository-m90tx7mw.js → tool-output-m90tx7mw.js} +1 -1
- package/dist/chunks/{repository-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-dna90dc9.js → tool-output-mb8pxd7d.js} +10 -10
- package/dist/chunks/{repository-mym403hh.js → tool-output-me215f18.js} +1 -1
- package/dist/chunks/{repository-8w92qacv.js → tool-output-mhh0gvaj.js} +18 -18
- package/dist/chunks/{repository-vszek5yb.js → tool-output-mjbeqs7y.js} +12 -12
- package/dist/chunks/tool-output-mjtp0h49.js +26 -0
- package/dist/chunks/{repository-mjwhre59.js → tool-output-mjwhre59.js} +3 -3
- package/dist/chunks/{repository-f2xmw0q9.js → tool-output-mnrt2f46.js} +23 -23
- package/dist/chunks/{repository-02mvxpmz.js → tool-output-mr8m8yd2.js} +6 -6
- package/dist/chunks/{repository-mwnxvxbk.js → tool-output-mwnxvxbk.js} +1 -1
- package/dist/chunks/{repository-0rzkqjqm.js → tool-output-n23r22p1.js} +19 -19
- package/dist/chunks/{repository-44w9n9s7.js → tool-output-n320gsn2.js} +4 -4
- package/dist/chunks/{repository-77bcp5wq.js → tool-output-n6vr15z6.js} +18 -18
- package/dist/chunks/{repository-nde04cgd.js → tool-output-n9ahkepv.js} +9 -9
- package/dist/chunks/{repository-9bqhtztk.js → tool-output-nbwtt1a5.js} +22 -22
- package/dist/chunks/{repository-qxb7dfc7.js → tool-output-ncmbkp6w.js} +61 -61
- package/dist/chunks/{repository-jwf2mwjn.js → tool-output-nj6phe7f.js} +13 -13
- package/dist/chunks/{repository-pqk22v3f.js → tool-output-njv6mm8y.js} +32 -32
- package/dist/chunks/{repository-pn1g3a6b.js → tool-output-nkaf1g71.js} +9 -9
- package/dist/chunks/{repository-0syj7h06.js → tool-output-nrzatqgv.js} +10 -10
- package/dist/chunks/{repository-h5j1t2ft.js → tool-output-nsc491tc.js} +27 -27
- package/dist/chunks/{repository-wegkxhrn.js → tool-output-nx4vzyjd.js} +2 -2
- package/dist/chunks/{repository-9j7f5x07.js → tool-output-p0a0cwz5.js} +26 -26
- package/dist/chunks/{repository-8qrf03x0.js → tool-output-p3gecn2d.js} +10 -10
- package/dist/chunks/{repository-b4wh2b3v.js → tool-output-p3zyd7kt.js} +6 -6
- package/dist/chunks/{repository-twbzdyjv.js → tool-output-p4cmv6wx.js} +6 -6
- package/dist/chunks/{repository-883s1ske.js → tool-output-p4qgh5tp.js} +25 -25
- package/dist/chunks/{repository-1aes4e9d.js → tool-output-p5e2tvxb.js} +16 -16
- package/dist/chunks/{repository-00awaz76.js → tool-output-p5tk1xdz.js} +11 -11
- package/dist/chunks/{repository-08kgq63a.js → tool-output-p61adxpn.js} +13 -13
- package/dist/chunks/{repository-1yq9hg58.js → tool-output-p7vhpwh8.js} +5 -5
- package/dist/chunks/{repository-gkx18e3k.js → tool-output-p8t97w5n.js} +9 -9
- package/dist/chunks/{repository-hym86aeq.js → tool-output-phha5j89.js} +10 -10
- package/dist/chunks/{repository-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{repository-8pefwsjs.js → tool-output-pkzp018n.js} +4 -4
- package/dist/chunks/{repository-fx32ndrh.js → tool-output-pp4es8y0.js} +6 -6
- package/dist/chunks/{repository-prq7xxp2.js → tool-output-prq7xxp2.js} +2 -2
- package/dist/chunks/{repository-rsbnpsp6.js → tool-output-pvasr7tj.js} +4 -4
- package/dist/chunks/{repository-3kh5eq90.js → tool-output-pydtmsy2.js} +14 -14
- package/dist/chunks/{repository-vn5ba1v3.js → tool-output-q2cpsarb.js} +20 -20
- package/dist/chunks/{repository-2x334bmq.js → tool-output-q5hxjqd0.js} +26 -26
- package/dist/chunks/{repository-036t2kfc.js → tool-output-q7n88zjf.js} +12 -12
- package/dist/chunks/{repository-3mcdazc4.js → tool-output-qe7pm9kb.js} +8 -8
- package/dist/chunks/{repository-nr915jn7.js → tool-output-qfz6bxfd.js} +4 -4
- package/dist/chunks/tool-output-qg49xspf.js +273 -0
- package/dist/chunks/{repository-9f3jsh1d.js → tool-output-qh5g3qaw.js} +5 -5
- package/dist/chunks/{repository-qp7r0hxv.js → tool-output-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-ejgm7w4x.js → tool-output-qtqtmqgs.js} +24 -24
- package/dist/chunks/{repository-h6emrs48.js → tool-output-qw1w4c69.js} +4 -4
- package/dist/chunks/{repository-9jmkx442.js → tool-output-qz76xp85.js} +17 -17
- package/dist/chunks/{repository-0kphx6m0.js → tool-output-r73129ya.js} +64 -64
- package/dist/chunks/{repository-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-jhaw84mg.js → tool-output-rc487wde.js} +34 -34
- package/dist/chunks/{repository-qkc3z5ds.js → tool-output-rcbjwvze.js} +4 -4
- package/dist/chunks/{repository-p5jwrm42.js → tool-output-rdg052zg.js} +7 -7
- package/dist/chunks/{repository-rgc9cx3e.js → tool-output-rgc9cx3e.js} +2 -2
- package/dist/chunks/{repository-s1ba0vj0.js → tool-output-s1ba0vj0.js} +2 -2
- package/dist/chunks/{repository-5whx36p1.js → tool-output-s47rahr7.js} +4 -4
- package/dist/chunks/{repository-34dqnfkc.js → tool-output-s7z48b5w.js} +3 -3
- package/dist/chunks/{repository-rkq6y9xm.js → tool-output-s9ny2dad.js} +179 -179
- package/dist/chunks/{repository-sbya78hr.js → tool-output-sbya78hr.js} +1 -1
- package/dist/chunks/{repository-kkq7zywd.js → tool-output-sdkka26g.js} +43 -43
- package/dist/chunks/{repository-ghrv1g9c.js → tool-output-sdt5j0rm.js} +4 -4
- package/dist/chunks/{repository-ecncedhr.js → tool-output-sktgxqbh.js} +11 -11
- package/dist/chunks/{repository-60ey6p5f.js → tool-output-std290kj.js} +10 -10
- package/dist/chunks/{repository-svcy3p9a.js → tool-output-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-zs3nra86.js → tool-output-svq6b8q7.js} +32 -32
- package/dist/chunks/{repository-9rqfe4ad.js → tool-output-t48jrnqq.js} +3 -3
- package/dist/chunks/{repository-3ddecqpa.js → tool-output-tabx0ch9.js} +12 -12
- package/dist/chunks/{repository-tbpn7jtk.js → tool-output-tbpn7jtk.js} +1 -1
- package/dist/chunks/{repository-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-1q7tn8wg.js → tool-output-tdk4pz0t.js} +21 -21
- package/dist/chunks/{repository-kmzgegqq.js → tool-output-tg1vr1qt.js} +8 -8
- package/dist/chunks/{repository-19db04m1.js → tool-output-tgkqbb5t.js} +4 -4
- package/dist/chunks/{repository-fgarm31a.js → tool-output-tj786yf5.js} +32 -32
- package/dist/chunks/{repository-adpq3e4w.js → tool-output-tm6bf2dc.js} +8 -8
- package/dist/chunks/{repository-rsp3mteq.js → tool-output-tnr70dfe.js} +20 -20
- package/dist/chunks/{repository-tvtps2q9.js → tool-output-tvtps2q9.js} +1 -1
- package/dist/chunks/{repository-twssxy5n.js → tool-output-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-mgcsgjq4.js → tool-output-tx91wa5k.js} +4 -4
- package/dist/chunks/{repository-ndpn1932.js → tool-output-v032wgv8.js} +14 -14
- package/dist/chunks/{repository-2kg89srt.js → tool-output-v0t96s7a.js} +4 -4
- package/dist/chunks/{repository-v2r1d0zg.js → tool-output-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-w6s4w6nr.js → tool-output-vfwnsz88.js} +3 -3
- package/dist/chunks/{repository-vjf35v1f.js → tool-output-vjf35v1f.js} +1 -1
- package/dist/chunks/{repository-vmxsyvj6.js → tool-output-vmxsyvj6.js} +1 -1
- package/dist/chunks/{repository-nmqks962.js → tool-output-vqzffxap.js} +13 -13
- package/dist/chunks/{repository-7f6kc9pt.js → tool-output-vtz9thd2.js} +5 -5
- package/dist/chunks/{repository-y8nypnxs.js → tool-output-w3fk54e7.js} +31 -31
- package/dist/chunks/{repository-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-sazfq51k.js → tool-output-wcv1kw9r.js} +3 -3
- package/dist/chunks/{repository-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{repository-3crjv7w7.js → tool-output-wk65tmzt.js} +16 -16
- package/dist/chunks/{repository-4tc7e79j.js → tool-output-wx2w0d80.js} +36 -36
- package/dist/chunks/{repository-nen4dd64.js → tool-output-wxzh8jwz.js} +32 -32
- package/dist/chunks/{repository-8wx5ae1x.js → tool-output-wydfnpen.js} +14 -14
- package/dist/chunks/{repository-zqjd7nbm.js → tool-output-wyrr125q.js} +6 -6
- package/dist/chunks/{repository-52a0vpb2.js → tool-output-wz0rthyq.js} +44 -44
- package/dist/chunks/{repository-gg524fet.js → tool-output-x25cg35y.js} +7 -7
- package/dist/chunks/{repository-y0rznfn7.js → tool-output-x9qrbejn.js} +15 -15
- package/dist/chunks/{repository-hh7dvhm4.js → tool-output-xa3zdbt8.js} +4 -4
- package/dist/chunks/{repository-bstexjd6.js → tool-output-xd9cc171.js} +5 -5
- package/dist/chunks/{repository-sjdm6j9a.js → tool-output-xjek49gg.js} +13 -13
- package/dist/chunks/{repository-xjr6c8m4.js → tool-output-xjr6c8m4.js} +1 -1
- package/dist/chunks/{repository-bkxm042y.js → tool-output-xkjj7abq.js} +9 -9
- package/dist/chunks/{repository-67wwskyb.js → tool-output-xksw6ev0.js} +4 -4
- package/dist/chunks/{repository-c6x7d2ts.js → tool-output-xmx7xj34.js} +4 -4
- package/dist/chunks/{repository-93fptvw0.js → tool-output-xncgy128.js} +39 -39
- package/dist/chunks/{repository-ksqm0fh2.js → tool-output-xqv2r4aj.js} +5 -5
- package/dist/chunks/{repository-khn3h0zf.js → tool-output-xw0srn6a.js} +6 -6
- package/dist/chunks/{repository-w4xw9ac5.js → tool-output-xz07m27x.js} +2 -2
- package/dist/chunks/{repository-y4gksshd.js → tool-output-xzt0d48g.js} +59 -59
- package/dist/chunks/{repository-gxch3nm8.js → tool-output-y9h30vhz.js} +19 -19
- package/dist/chunks/{repository-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-ybws1qgk.js → tool-output-ybws1qgk.js} +4 -4
- package/dist/chunks/{repository-2prt43t7.js → tool-output-ypzfmdvb.js} +4 -4
- package/dist/chunks/{repository-1hzyh15y.js → tool-output-yqsn849f.js} +23 -23
- package/dist/chunks/{repository-yr705xyq.js → tool-output-yr705xyq.js} +1 -1
- package/dist/chunks/{repository-yvtc2x31.js → tool-output-yvtc2x31.js} +1 -1
- package/dist/chunks/{repository-9zx7r65b.js → tool-output-yxcgefks.js} +28 -28
- package/dist/chunks/{repository-z0wbgq7s.js → tool-output-z0wbgq7s.js} +1 -1
- package/dist/chunks/{repository-6tw2hsz8.js → tool-output-z9p4vph2.js} +12 -12
- package/dist/chunks/{repository-2cnj5468.js → tool-output-zb5dszq5.js} +4 -4
- package/dist/chunks/{repository-tagr13r7.js → tool-output-ze2cg7e7.js} +23 -23
- package/dist/chunks/{repository-ze75qvmd.js → tool-output-ze75qvmd.js} +3 -3
- package/dist/chunks/{repository-z4w3231s.js → tool-output-zqs3qbzx.js} +32 -32
- package/dist/chunks/{repository-a6qcwttn.js → tool-output-zragvvgt.js} +12 -12
- package/dist/chunks/{repository-n99tbm1k.js → tool-output-zsncfqq0.js} +11 -11
- package/dist/chunks/{repository-z7r7vmcc.js → tool-output-zy8ydhnh.js} +19 -19
- package/dist/chunks/{repository-gw350h34.js → tool-output-zzs0sbfh.js} +14 -14
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +6 -6
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +245 -245
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +133 -133
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/client-tls/client-tls.bun.js +1 -1
- package/dist/effect/client-tls/client-tls.node.js +1 -1
- package/dist/effect/client-tls/client-tls.workerd.js +1 -1
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +260 -260
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +136 -136
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +117 -117
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +97 -97
- package/dist/instructions/index.js +6 -6
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +190 -190
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +186 -186
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -118
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +147 -147
- package/dist/plugin/provider/claude-agent/instructions.js +111 -111
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +426 -426
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +254 -254
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +258 -258
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +275 -275
- package/dist/session/execution/subagent-report.js +145 -145
- package/dist/session/execution.js +170 -170
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +152 -152
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +194 -194
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +260 -260
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -251
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +161 -161
- package/dist/snapshot.js +100 -100
- 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 +191 -191
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +168 -168
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +153 -153
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +260 -260
- package/dist/tool/plugin/shell.js +251 -251
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/types/plugin/provider/claude-agent/claude/status.d.ts +1 -0
- package/dist/usage-limits.js +96 -96
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +96 -96
- package/dist/voice.js +99 -99
- package/dist/websearch.js +103 -103
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +98 -98
- package/dist/worktree.js +101 -101
- package/package.json +8 -8
- package/dist/chunks/repository-8x060fmy.js +0 -18
- package/dist/chunks/repository-aczc0e5b.js +0 -35
- package/dist/chunks/repository-erw3q77e.js +0 -26
- package/dist/chunks/repository-hm90a926.js +0 -273
- /package/dist/chunks/{repository-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kah00gy.js → tool-output-1kah00gy.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4qk9sjk2.js → tool-output-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-5w3e23ze.js → tool-output-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-6agm2x70.js → tool-output-6agm2x70.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-7rvsyqjv.js → tool-output-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9ceax7yg.js → tool-output-9ceax7yg.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-ade8csyh.js → tool-output-ade8csyh.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-beh6qq61.js → tool-output-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cqv5kn06.js → tool-output-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-ean2d8b5.js → tool-output-ean2d8b5.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fkpq3x5p.js → tool-output-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jwr30sdr.js → tool-output-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-nh4v3znn.js → tool-output-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-p71gwv9c.js → tool-output-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-syrav9an.js → tool-output-syrav9an.js} +0 -0
- /package/dist/chunks/{repository-t03h4f5z.js → tool-output-t03h4f5z.js} +0 -0
- /package/dist/chunks/{repository-ty7weeps.js → tool-output-ty7weeps.js} +0 -0
- /package/dist/chunks/{repository-v2dnd5dt.js → tool-output-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{repository-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-vtarvj67.js → tool-output-vtarvj67.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x4th4bpe.js → tool-output-x4th4bpe.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
- /package/dist/chunks/{repository-zxpyjp51.js → tool-output-zxpyjp51.js} +0 -0
- /package/dist/chunks/{repository-zz5vv3aq.js → tool-output-zz5vv3aq.js} +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service93,
|
|
4
|
+
node95
|
|
5
|
+
} from "./tool-output-zragvvgt.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk2 = {};
|
|
12
12
|
__export(exports_sdk2, {
|
|
13
13
|
SdkPlugins: () => exports_sdk2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer4,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer4 = Layer.effect(
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service93;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service3.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node95] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service3, layer4, node4, exports_sdk2 };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin5
|
|
3
|
+
} from "./tool-output-d29c5j98.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin4
|
|
6
|
+
} from "./tool-output-std290kj.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin11
|
|
9
|
+
} from "./tool-output-p3gecn2d.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin10
|
|
12
|
+
} from "./tool-output-p8t97w5n.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin6
|
|
15
|
+
} from "./tool-output-ce0gxeev.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin5,
|
|
20
|
+
Plugin4,
|
|
21
|
+
Plugin11,
|
|
22
|
+
Plugin10,
|
|
23
|
+
Plugin6
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make11
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-vmxsyvj6.js";
|
|
4
4
|
import {
|
|
5
5
|
make12
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-kzdam8c6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/query-options.ts
|
|
12
12
|
var exports_query_options = {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID18,
|
|
7
|
+
Service86,
|
|
8
|
+
node88
|
|
9
|
+
} from "./tool-output-5jmk5a3n.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
17
|
Info: () => Info4,
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
18
|
+
Service: () => Service19,
|
|
19
|
+
UnavailableError: () => UnavailableError2,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
21
|
layer: () => layer11,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node21
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -31,21 +31,21 @@ import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
var Info4 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service19 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var layer11 = Layer.effect(
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer11 = Layer.effect(Service19, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service86;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID18.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer11 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError2({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer11 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service19.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
71
|
+
var node21 = makeLocationNode({
|
|
72
|
+
service: Service19,
|
|
73
73
|
layer: layer11,
|
|
74
|
-
deps: [
|
|
74
|
+
deps: [node88, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export { Info4,
|
|
133
|
+
export { Info4, UnavailableError2, Service19, layer11, node21, exports_usage_limits };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Hash2,
|
|
3
|
-
|
|
3
|
+
read5,
|
|
4
4
|
diff2,
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-rdg052zg.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-8z6m94af.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -36,7 +36,7 @@ __export(exports_instruction_state, {
|
|
|
36
36
|
import { and, eq, gte, inArray, sql } from "drizzle-orm";
|
|
37
37
|
import { Effect, Option } from "effect";
|
|
38
38
|
var observe3 = Effect.fn("InstructionState.observe")(function* (db, instructions, sessionID) {
|
|
39
|
-
const [observed, stored] = yield* Effect.all([
|
|
39
|
+
const [observed, stored] = yield* Effect.all([read5(instructions), find(db, sessionID)], {
|
|
40
40
|
concurrency: "unbounded"
|
|
41
41
|
});
|
|
42
42
|
const result = yield* observeAgainst(observed, stored?.current_values);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-7tx5zndv.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-kqzdf1mx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service82,
|
|
11
|
+
node84
|
|
12
|
+
} from "./tool-output-583kyzns.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
21
|
var exports_generate2 = {};
|
|
@@ -25,11 +25,11 @@ __export(exports_generate2, {
|
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service74,
|
|
29
29
|
UnavailableError: () => UnavailableError5,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer27,
|
|
32
|
+
node: () => node75
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -81,11 +81,11 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service74 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer27 = Layer.effect(Service74, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
88
|
+
const resolver = yield* Service82;
|
|
89
89
|
const models = yield* Service83;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
@@ -163,7 +163,7 @@ var layer23 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
165
|
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({ message: "Generation credentials are unavailable" })));
|
|
166
|
-
return
|
|
166
|
+
return Service74.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node75 = makeLocationNode({
|
|
219
|
+
service: Service74,
|
|
220
|
+
layer: layer27,
|
|
221
|
+
deps: [node84, node85, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2,
|
|
224
|
+
export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service74, layer27, node75, exports_generate2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection2 = {};
|
|
7
7
|
__export(exports_connection2, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info27,
|
|
11
11
|
IntegrationConnection: () => exports_connection2,
|
|
12
12
|
Status: () => Status4,
|
|
13
13
|
key: () => key3
|
|
@@ -15,7 +15,7 @@ __export(exports_connection2, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info27 = Connection.Info;
|
|
19
19
|
var Status4 = Connection.Status;
|
|
20
20
|
function key3(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key3(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info27, Status4, key3, exports_connection2 };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-h5t3apvc.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-kk6p03vc.js";
|
|
7
7
|
import {
|
|
8
8
|
key3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-n320gsn2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID18,
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-5jmk5a3n.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
ID17
|
|
16
|
+
} from "./tool-output-wxzh8jwz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID16,
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-kqzdf1mx.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-yb20nhc3.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service54
|
|
26
|
+
} from "./tool-output-5thev09r.js";
|
|
27
27
|
import {
|
|
28
28
|
start3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-output-ae7jwmty.js";
|
|
30
30
|
import {
|
|
31
31
|
activeCredential2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-output-79p981ds.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/digitalocean.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
36
36
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
37
37
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID17.make("digitalocean");
|
|
39
|
+
var integrationID = ID18.make("digitalocean");
|
|
40
40
|
var methodID = MethodID2.make("browser");
|
|
41
41
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
42
42
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -124,7 +124,7 @@ var oauth = {
|
|
|
124
124
|
var DigitalOceanPlugin2 = define({
|
|
125
125
|
id: "opencode.provider.digitalocean",
|
|
126
126
|
effect: Effect.fn(function* (ctx) {
|
|
127
|
-
const cache = yield*
|
|
127
|
+
const cache = yield* Service54;
|
|
128
128
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
129
129
|
const discovered = yield* start3({
|
|
130
130
|
integrationID,
|
|
@@ -160,7 +160,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
160
160
|
return;
|
|
161
161
|
for (const router of discovered.current.routers) {
|
|
162
162
|
const id = `router:${router.name}`;
|
|
163
|
-
if (evt.get(providerID)?.models.has(
|
|
163
|
+
if (evt.get(providerID)?.models.has(ID16.make(id)))
|
|
164
164
|
continue;
|
|
165
165
|
evt.models.update(providerID, id, (draft) => {
|
|
166
166
|
draft.name = router.name;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service93
|
|
3
|
+
} from "./tool-output-zragvvgt.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-kqzdf1mx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service13,
|
|
9
|
+
Event2
|
|
10
|
+
} from "./tool-output-j0yr2xej.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
42
|
-
const bus = yield*
|
|
41
|
+
const modelsDev = yield* Service13;
|
|
42
|
+
const bus = yield* Service93;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
45
45
|
for (const provider of loaded.data) {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-mwnxvxbk.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./tool-output-kq4fsc21.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/webfetch.ts
|
|
20
20
|
var exports_webfetch = {};
|
|
21
21
|
__export(exports_webfetch, {
|
|
22
22
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input8,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
25
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin48,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description6,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name8
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
38
|
+
var name8 = "webfetch";
|
|
39
39
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
42
|
-
var
|
|
42
|
+
var description6 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
43
43
|
|
|
44
44
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
45
45
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
46
|
-
var
|
|
46
|
+
var Input8 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input12 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input8.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
|
|
|
119
119
|
return extractTextFromHTML2(content);
|
|
120
120
|
return content;
|
|
121
121
|
};
|
|
122
|
-
var
|
|
122
|
+
var Plugin48 = {
|
|
123
123
|
id: "opencode.tool.webfetch",
|
|
124
124
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
125
125
|
const http = yield* HttpClient.HttpClient;
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service58;
|
|
127
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
128
|
-
name:
|
|
128
|
+
name: name8,
|
|
129
129
|
options: { codemode: false },
|
|
130
|
-
description:
|
|
131
|
-
input:
|
|
130
|
+
description: description6,
|
|
131
|
+
input: Input8,
|
|
132
132
|
output: Output,
|
|
133
133
|
execute: (input, context) => Effect.gen(function* () {
|
|
134
134
|
const url = input.url.split("#")[0];
|
|
@@ -137,7 +137,7 @@ var Plugin53 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name8,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin53 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name8,
|
|
149
149
|
resources: [next],
|
|
150
150
|
metadata: { ...input, url: next },
|
|
151
151
|
...invocation2(context)
|
|
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
|
|
|
199
199
|
parser.end();
|
|
200
200
|
return text.trim();
|
|
201
201
|
}
|
|
202
|
-
export {
|
|
202
|
+
export { name8, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description6, Input8, MAX_REDIRECTS2, Plugin48, extractTextFromHTML2, exports_webfetch };
|