@opencode/core 0.0.0-dev-1295 → 0.0.0-dev-1296
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 +92 -92
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +9 -9
- package/dist/artifact.js +258 -258
- package/dist/bus.js +84 -84
- package/dist/chunks/{repository-034tev2y.js → model-retry-034tev2y.js} +2 -2
- package/dist/chunks/{repository-6tw2hsz8.js → model-retry-091fm073.js} +12 -12
- package/dist/chunks/{repository-0fvxehme.js → model-retry-0fvxehme.js} +2 -2
- package/dist/chunks/{repository-8tjj9rtv.js → model-retry-0qdv0842.js} +12 -12
- package/dist/chunks/{repository-0gdrrj59.js → model-retry-0t4nwps0.js} +4 -4
- package/dist/chunks/{repository-hj0xet7m.js → model-retry-10pn4eb5.js} +5 -5
- package/dist/chunks/{repository-z7r7vmcc.js → model-retry-14f8knpd.js} +16 -16
- package/dist/chunks/{repository-933032vd.js → model-retry-15pbjvhv.js} +5 -5
- package/dist/chunks/{repository-jp9d3jyy.js → model-retry-15q0ymzx.js} +17 -17
- package/dist/chunks/{repository-3crjv7w7.js → model-retry-18hbsgcw.js} +16 -16
- package/dist/chunks/{repository-1aqsckx4.js → model-retry-1aqsckx4.js} +1 -1
- package/dist/chunks/{repository-h5j1t2ft.js → model-retry-1dtzyf2w.js} +22 -22
- package/dist/chunks/{repository-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-qxb7dfc7.js → model-retry-1fsgeav2.js} +57 -57
- package/dist/chunks/{repository-zy4b93eg.js → model-retry-1ra3771t.js} +5 -5
- package/dist/chunks/{repository-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-w687dnns.js → model-retry-1yped5qa.js} +4 -4
- package/dist/chunks/{repository-1yq9hg58.js → model-retry-1yq9hg58.js} +1 -1
- package/dist/chunks/{repository-vk792x7x.js → model-retry-20fq0wad.js} +22 -22
- package/dist/chunks/{repository-erw3q77e.js → model-retry-24tp732n.js} +8 -8
- package/dist/chunks/{repository-tb2mrvc9.js → model-retry-26wfx3k0.js} +4 -4
- package/dist/chunks/{repository-e9h2qsxa.js → model-retry-2749z806.js} +14 -14
- package/dist/chunks/{repository-z4w3231s.js → model-retry-2b7whw4a.js} +35 -35
- package/dist/chunks/{repository-n99tbm1k.js → model-retry-2bxdgvd9.js} +19 -19
- package/dist/chunks/{repository-afzp9kbc.js → model-retry-2edbhpy5.js} +9 -9
- package/dist/chunks/{repository-2fc7eemy.js → model-retry-2fc7eemy.js} +1 -1
- package/dist/chunks/{repository-kkq7zywd.js → model-retry-2grzewjw.js} +38 -38
- package/dist/chunks/{repository-vszek5yb.js → model-retry-2kv0k6r1.js} +6 -6
- package/dist/chunks/{repository-ff4xqyp0.js → model-retry-2r85g90k.js} +26 -26
- package/dist/chunks/{repository-ggx84v7x.js → model-retry-2s9mae96.js} +6 -6
- package/dist/chunks/{repository-wds6xyh6.js → model-retry-2w22t8ax.js} +41 -41
- package/dist/chunks/{repository-5whx36p1.js → model-retry-2ytp0tvq.js} +4 -4
- package/dist/chunks/{repository-n2jwyyf2.js → model-retry-328bf5fx.js} +18 -18
- package/dist/chunks/{repository-jhaw84mg.js → model-retry-349apszt.js} +34 -34
- package/dist/chunks/{repository-mxx8515c.js → model-retry-3d85xyf4.js} +375 -375
- package/dist/chunks/{repository-qgv3bwcw.js → model-retry-3dqq9gn5.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-ksqm0fh2.js → model-retry-3k3x9sbj.js} +5 -5
- package/dist/chunks/{repository-3knw41x0.js → model-retry-3k7mf083.js} +9 -9
- package/dist/chunks/{repository-w0drzbgw.js → model-retry-3k8betg3.js} +18 -18
- package/dist/chunks/{repository-hj3r42js.js → model-retry-3kzj6mg1.js} +19 -19
- package/dist/chunks/{repository-jz2mpads.js → model-retry-3m2czhe6.js} +6 -6
- package/dist/chunks/{repository-fx32ndrh.js → model-retry-3n83wc2c.js} +6 -6
- package/dist/chunks/{repository-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-1hzyh15y.js → model-retry-3q73yqpv.js} +31 -31
- package/dist/chunks/{repository-86rqf3w8.js → model-retry-3sjmqfd8.js} +5 -5
- package/dist/chunks/{repository-qa8wq1bx.js → model-retry-3tnz5sgn.js} +2 -2
- package/dist/chunks/{repository-s6zk46kh.js → model-retry-3wdg2vz7.js} +39 -39
- package/dist/chunks/{repository-gzm6fcqq.js → model-retry-3xwdqzn1.js} +14 -14
- package/dist/chunks/{repository-52840mb9.js → model-retry-3zakkr5m.js} +15 -15
- package/dist/chunks/{repository-40y6dtc2.js → model-retry-40y6dtc2.js} +1 -1
- package/dist/chunks/{repository-40za9wsf.js → model-retry-40za9wsf.js} +2 -2
- package/dist/chunks/{repository-sjdm6j9a.js → model-retry-46wp4j5s.js} +15 -15
- package/dist/chunks/{repository-d7ghtrxv.js → model-retry-495vdj1c.js} +8 -8
- package/dist/chunks/{repository-z262y3bk.js → model-retry-4bfnqy0c.js} +17 -17
- package/dist/chunks/{repository-4dfqsw0d.js → model-retry-4dfqsw0d.js} +1 -1
- package/dist/chunks/{repository-4dx1dgte.js → model-retry-4dx1dgte.js} +1 -1
- package/dist/chunks/{repository-883s1ske.js → model-retry-4exqcqyt.js} +25 -25
- package/dist/chunks/{repository-4f25tdd0.js → model-retry-4f25tdd0.js} +1 -1
- package/dist/chunks/{repository-jgr611bs.js → model-retry-4f8ypqyw.js} +2 -2
- package/dist/chunks/{repository-a5w0t351.js → model-retry-4fqb7bj2.js} +24 -24
- package/dist/chunks/{repository-jnpx970n.js → model-retry-4h47fwz8.js} +23 -23
- package/dist/chunks/{repository-pn1g3a6b.js → model-retry-4mhgjeaw.js} +9 -9
- package/dist/chunks/{repository-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-78shhwap.js → model-retry-4v0y3s2e.js} +28 -28
- package/dist/chunks/{repository-075tnmpp.js → model-retry-4v4b6x27.js} +39 -39
- package/dist/chunks/{repository-d390zwf3.js → model-retry-4ygb74tw.js} +8 -8
- package/dist/chunks/{repository-xpjxmhsa.js → model-retry-53jrkz5f.js} +5 -5
- package/dist/chunks/{repository-wqqvsnnx.js → model-retry-55phx77e.js} +7 -7
- package/dist/chunks/{repository-rre0hjx2.js → model-retry-57wgnfy6.js} +8 -8
- package/dist/chunks/{repository-y7a06hmq.js → model-retry-5dshr504.js} +7 -7
- package/dist/chunks/{repository-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-wtft8ef2.js → model-retry-5r4v1zkh.js} +4 -4
- package/dist/chunks/{repository-9jmkx442.js → model-retry-5s5sf5ct.js} +15 -15
- package/dist/chunks/{repository-tcxn00q3.js → model-retry-5z2vgqsy.js} +17 -17
- package/dist/chunks/{repository-tagr13r7.js → model-retry-5z5rge5r.js} +21 -21
- package/dist/chunks/{repository-9zwexsxs.js → model-retry-61qraad9.js} +5 -5
- package/dist/chunks/{repository-mjwhre59.js → model-retry-625axahf.js} +5 -5
- package/dist/chunks/{repository-gkx18e3k.js → model-retry-64fy8m1r.js} +3 -3
- package/dist/chunks/{repository-wvh4mmya.js → model-retry-667wgg12.js} +29 -29
- package/dist/chunks/{repository-j7d5jxht.js → model-retry-68j4m5qv.js} +11 -11
- package/dist/chunks/{repository-9f3jsh1d.js → model-retry-6h8vcvjm.js} +9 -9
- package/dist/chunks/{repository-7de1jspm.js → model-retry-6jz6cj67.js} +5 -5
- package/dist/chunks/{repository-0q9em7pe.js → model-retry-6tndtenk.js} +26 -26
- package/dist/chunks/{repository-8t14wrn8.js → model-retry-6vhg36rj.js} +11 -11
- package/dist/chunks/{repository-r279jrjw.js → model-retry-6xqsykwa.js} +93 -93
- package/dist/chunks/{repository-mkvkcrcf.js → model-retry-71fn3hf3.js} +39 -39
- package/dist/chunks/{repository-fb4dw218.js → model-retry-76can8nc.js} +20 -20
- package/dist/chunks/{repository-80mg3ag8.js → model-retry-775hqbnd.js} +3 -3
- package/dist/chunks/{repository-a6qcwttn.js → model-retry-77n50j8n.js} +12 -12
- package/dist/chunks/{repository-8rn80sq6.js → model-retry-7az9823q.js} +4 -4
- package/dist/chunks/{repository-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-9hnkp272.js → model-retry-7j1a3wmk.js} +11 -11
- package/dist/chunks/{repository-8w92qacv.js → model-retry-7mkaydvr.js} +18 -18
- package/dist/chunks/{repository-nhp7k6g9.js → model-retry-7n1c2gf8.js} +43 -43
- package/dist/chunks/{repository-rgq5xsj8.js → model-retry-7r81nz66.js} +40 -40
- package/dist/chunks/{repository-7tx5zndv.js → model-retry-7tx5zndv.js} +2 -2
- package/dist/chunks/{repository-2x334bmq.js → model-retry-7vhxchqw.js} +22 -22
- package/dist/chunks/{repository-731rr466.js → model-retry-7vz66qdt.js} +3 -3
- package/dist/chunks/{repository-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-7weczvnd.js → model-retry-7weczvnd.js} +1 -1
- package/dist/chunks/model-retry-7wng9pms.js +273 -0
- package/dist/chunks/{repository-3qgwywyc.js → model-retry-7zs4mqwf.js} +4 -4
- package/dist/chunks/{repository-80pdk984.js → model-retry-80pdk984.js} +1 -1
- package/dist/chunks/{repository-e7hkgzd9.js → model-retry-80zs2z7e.js} +24 -24
- package/dist/chunks/{repository-gg524fet.js → model-retry-815bscc5.js} +7 -7
- package/dist/chunks/{repository-85jq8dht.js → model-retry-85jq8dht.js} +1 -1
- package/dist/chunks/{repository-8b3vzgkx.js → model-retry-8b3vzgkx.js} +1 -1
- package/dist/chunks/{repository-8pefwsjs.js → model-retry-8c5thnyc.js} +4 -4
- package/dist/chunks/{repository-4gv8hekr.js → model-retry-8ck4vskz.js} +36 -36
- package/dist/chunks/{repository-y0rznfn7.js → model-retry-8h6qcqsp.js} +23 -23
- package/dist/chunks/{repository-8kjyvwy5.js → model-retry-8kjyvwy5.js} +1 -1
- package/dist/chunks/{repository-dna90dc9.js → model-retry-8kztn3dj.js} +5 -5
- package/dist/chunks/{repository-bekg9j7j.js → model-retry-8rs0m7ne.js} +23 -23
- package/dist/chunks/{repository-8sxe6kv8.js → model-retry-8sxe6kv8.js} +2 -2
- package/dist/chunks/{repository-j372c61n.js → model-retry-8vyyfba0.js} +11 -11
- package/dist/chunks/{repository-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-8zv0xmg5.js → model-retry-8zv0xmg5.js} +1 -1
- package/dist/chunks/{repository-74m4g95v.js → model-retry-927fj99d.js} +20 -20
- package/dist/chunks/{repository-a0fq0pbv.js → model-retry-963hk181.js} +9 -9
- package/dist/chunks/{repository-aczc0e5b.js → model-retry-9g3vqnsq.js} +10 -10
- package/dist/chunks/{repository-nwkfswnm.js → model-retry-9kb7cvqj.js} +11 -11
- package/dist/chunks/{repository-tg4p7551.js → model-retry-9xf3pksr.js} +25 -25
- package/dist/chunks/{repository-kn4zqwcq.js → model-retry-9zfcngb4.js} +3 -3
- package/dist/chunks/{repository-4tc7e79j.js → model-retry-a0h9n4yn.js} +38 -38
- package/dist/chunks/{repository-dsd5wyar.js → model-retry-a5hn6end.js} +5 -5
- package/dist/chunks/model-retry-a610t88q.js +18 -0
- package/dist/chunks/{repository-vzyp2xnz.js → model-retry-a84bsdq1.js} +5 -5
- package/dist/chunks/{repository-e0zepttq.js → model-retry-ag6d02bt.js} +18 -18
- package/dist/chunks/{repository-agje4kmn.js → model-retry-agje4kmn.js} +1 -1
- package/dist/chunks/{repository-rdrzgfkv.js → model-retry-akfm4532.js} +8 -8
- package/dist/chunks/{repository-g5ajqn12.js → model-retry-anvcme1c.js} +4 -4
- package/dist/chunks/{repository-02aqb0hw.js → model-retry-apgx4zf7.js} +20 -20
- package/dist/chunks/{repository-rsp3mteq.js → model-retry-aq48hhzx.js} +20 -20
- package/dist/chunks/{repository-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
- package/dist/chunks/{repository-ds3x2h8w.js → model-retry-b2adpddk.js} +15 -15
- package/dist/chunks/{repository-mym403hh.js → model-retry-b7nkz392.js} +1 -1
- package/dist/chunks/{repository-19db04m1.js → model-retry-bbyh8hwm.js} +4 -4
- package/dist/chunks/{repository-7f6kc9pt.js → model-retry-bfpzgz6w.js} +5 -5
- package/dist/chunks/{repository-52a0vpb2.js → model-retry-bmg41xmg.js} +48 -48
- package/dist/chunks/{repository-a6vptk3v.js → model-retry-bmxgvxbw.js} +10 -10
- package/dist/chunks/{repository-1aes4e9d.js → model-retry-bq6zz71s.js} +22 -22
- package/dist/chunks/{repository-y8nypnxs.js → model-retry-bq828n5y.js} +29 -29
- package/dist/chunks/{repository-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-bkxm042y.js → model-retry-bt78nyr8.js} +9 -9
- package/dist/chunks/{repository-5zjvj63j.js → model-retry-c3fgcd3v.js} +41 -41
- package/dist/chunks/{repository-3c7qpzd7.js → model-retry-c5m2a8vb.js} +8 -8
- package/dist/chunks/{repository-ra5f49x0.js → model-retry-c5mv65df.js} +18 -18
- package/dist/chunks/{repository-dg5naf6e.js → model-retry-c5zvymhv.js} +4 -4
- package/dist/chunks/{repository-c6x7d2ts.js → model-retry-c6x7d2ts.js} +1 -1
- package/dist/chunks/{repository-2sm5ch0r.js → model-retry-cay00gdv.js} +28 -28
- package/dist/chunks/{repository-08kgq63a.js → model-retry-cde8qab1.js} +13 -13
- package/dist/chunks/{repository-rjdsgaq2.js → model-retry-cr571syx.js} +15 -15
- package/dist/chunks/{repository-3mcdazc4.js → model-retry-cvntc25c.js} +8 -8
- package/dist/chunks/{repository-cwrgdav8.js → model-retry-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-q5v60jsn.js → model-retry-d58fy8mx.js} +45 -45
- package/dist/chunks/{repository-1q7tn8wg.js → model-retry-d5n845vw.js} +21 -21
- package/dist/chunks/{repository-ejgm7w4x.js → model-retry-dbbkyw7c.js} +13 -13
- package/dist/chunks/{repository-gxch3nm8.js → model-retry-dcwr9369.js} +24 -24
- package/dist/chunks/{repository-jvdg4s4q.js → model-retry-dg51p885.js} +85 -85
- package/dist/chunks/{repository-0kphx6m0.js → model-retry-dhhwsjs6.js} +58 -58
- package/dist/chunks/{repository-72fnktma.js → model-retry-dhv4mfxz.js} +34 -34
- package/dist/chunks/{repository-wm9tjz56.js → model-retry-dkmvggzp.js} +26 -26
- package/dist/chunks/{repository-9bqhtztk.js → model-retry-dm80djc7.js} +19 -19
- package/dist/chunks/{repository-rkq6y9xm.js → model-retry-dmtr0n9v.js} +191 -191
- package/dist/chunks/{repository-xqesnw9t.js → model-retry-dt5a52ky.js} +2 -2
- package/dist/chunks/{repository-dt77769w.js → model-retry-dt77769w.js} +1 -1
- package/dist/chunks/{repository-93fptvw0.js → model-retry-e0nfbn8k.js} +33 -33
- package/dist/chunks/{repository-94kg4pr2.js → model-retry-e3jjhejk.js} +45 -45
- package/dist/chunks/{repository-nde04cgd.js → model-retry-e5ax2xrh.js} +7 -7
- package/dist/chunks/{repository-zqjd7nbm.js → model-retry-edm37t96.js} +3 -3
- package/dist/chunks/{repository-q2z2msfx.js → model-retry-ee2edeb1.js} +6 -6
- package/dist/chunks/{repository-eqw4pqj1.js → model-retry-eqw4pqj1.js} +2 -2
- package/dist/chunks/{repository-4ez88w3t.js → model-retry-et3bggtj.js} +19 -19
- package/dist/chunks/{repository-2cks5jyr.js → model-retry-etv4jxej.js} +5 -5
- package/dist/chunks/{repository-60ey6p5f.js → model-retry-ewjgt5mg.js} +10 -10
- package/dist/chunks/{repository-qa5v9vbm.js → model-retry-ey111c4r.js} +5 -5
- package/dist/chunks/{repository-p5jwrm42.js → model-retry-f2zjpyt5.js} +7 -7
- package/dist/chunks/{repository-bd7bren2.js → model-retry-f6mssv9c.js} +16 -16
- package/dist/chunks/{repository-5mcs1phj.js → model-retry-fcq3f784.js} +5 -5
- package/dist/chunks/{repository-036t2kfc.js → model-retry-fd06pqyn.js} +10 -10
- package/dist/chunks/{repository-prq7xxp2.js → model-retry-fg9p65nk.js} +6 -6
- package/dist/chunks/{repository-jev05t8t.js → model-retry-fkkr4y2t.js} +23 -23
- package/dist/chunks/{repository-fnrhryqq.js → model-retry-fnrhryqq.js} +1 -1
- package/dist/chunks/{repository-qkc3z5ds.js → model-retry-fstdtr31.js} +4 -4
- package/dist/chunks/{repository-86yjpch2.js → model-retry-fvy19nrt.js} +17 -17
- package/dist/chunks/{repository-9zx7r65b.js → model-retry-g4dya16n.js} +35 -35
- package/dist/chunks/{repository-nen4dd64.js → model-retry-g4nrtg52.js} +29 -29
- package/dist/chunks/{repository-g4txs7zc.js → model-retry-g4txs7zc.js} +4 -4
- package/dist/chunks/{repository-m5mzeqng.js → model-retry-g5hm9gne.js} +28 -28
- package/dist/chunks/{repository-ybws1qgk.js → model-retry-g650r2x6.js} +4 -4
- package/dist/chunks/{repository-gbjdnr5j.js → model-retry-gbjdnr5j.js} +2 -2
- package/dist/chunks/{repository-57mvpke6.js → model-retry-gfkj8pg2.js} +22 -22
- package/dist/chunks/{repository-1cwf02y7.js → model-retry-gfq64twp.js} +13 -13
- package/dist/chunks/{repository-ghrv1g9c.js → model-retry-ghrv1g9c.js} +1 -1
- package/dist/chunks/{repository-2cnj5468.js → model-retry-gssgrah2.js} +4 -4
- package/dist/chunks/{repository-gxs71cxp.js → model-retry-gxs71cxp.js} +1 -1
- package/dist/chunks/{repository-3cm6sehk.js → model-retry-gz1wv23a.js} +16 -16
- package/dist/chunks/{repository-hym86aeq.js → model-retry-h09zepvb.js} +10 -10
- package/dist/chunks/{repository-2dq8jpdd.js → model-retry-h4yybdgt.js} +9 -9
- package/dist/chunks/{repository-hh7dvhm4.js → model-retry-h8v758tv.js} +4 -4
- package/dist/chunks/{repository-r6g0pp9s.js → model-retry-haqhc53f.js} +7 -7
- package/dist/chunks/{repository-nmqks962.js → model-retry-hgvzfra1.js} +13 -13
- package/dist/chunks/{repository-hgzwgvze.js → model-retry-hgzwgvze.js} +2 -2
- package/dist/chunks/{repository-22726xzj.js → model-retry-hn8kcxz7.js} +17 -17
- package/dist/chunks/{repository-4y6h7701.js → model-retry-j0hy5st1.js} +29 -29
- package/dist/chunks/{repository-j376ae4e.js → model-retry-j376ae4e.js} +1 -1
- package/dist/chunks/{repository-77bcp5wq.js → model-retry-j6y0smqe.js} +18 -18
- package/dist/chunks/{repository-ecncedhr.js → model-retry-j98b4kym.js} +11 -11
- package/dist/chunks/{repository-ze75qvmd.js → model-retry-j9nxzz3g.js} +3 -3
- package/dist/chunks/{repository-k9rwbxer.js → model-retry-jbx2ytam.js} +17 -17
- package/dist/chunks/{repository-6fvhexbh.js → model-retry-jfpz2mnn.js} +4 -4
- package/dist/chunks/{repository-jt3wcppe.js → model-retry-jja1z2vg.js} +8 -8
- package/dist/chunks/{repository-vmxsyvj6.js → model-retry-jkdcm5hg.js} +4 -4
- package/dist/chunks/{repository-jm70asfg.js → model-retry-jm70asfg.js} +1 -1
- package/dist/chunks/{repository-jxd6f16v.js → model-retry-jxd6f16v.js} +2 -2
- package/dist/chunks/{repository-zqm9n0j1.js → model-retry-k2kne4hj.js} +30 -30
- package/dist/chunks/{repository-6d623jwb.js → model-retry-k46zft5f.js} +53 -53
- package/dist/chunks/{repository-0rzkqjqm.js → model-retry-kb8grmy4.js} +22 -22
- package/dist/chunks/{repository-ndpn1932.js → model-retry-kggmge9g.js} +14 -14
- package/dist/chunks/{repository-6xtjqz2m.js → model-retry-kh0hrg97.js} +4 -4
- package/dist/chunks/{repository-kmzgegqq.js → model-retry-kmzgegqq.js} +1 -1
- package/dist/chunks/{repository-jy8sxj26.js → model-retry-kr143xzh.js} +10 -10
- package/dist/chunks/{repository-0syj7h06.js → model-retry-ks693xed.js} +10 -10
- package/dist/chunks/{repository-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
- package/dist/chunks/{repository-8wx5ae1x.js → model-retry-kv5h436t.js} +19 -19
- package/dist/chunks/{repository-vn5ba1v3.js → model-retry-kyefafz7.js} +16 -16
- package/dist/chunks/{repository-kzczzf4v.js → model-retry-kzczzf4v.js} +1 -1
- package/dist/chunks/{repository-kzdam8c6.js → model-retry-kzdam8c6.js} +2 -2
- package/dist/chunks/{repository-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{repository-adpq3e4w.js → model-retry-m350zk4x.js} +8 -8
- package/dist/chunks/{repository-m90tx7mw.js → model-retry-m90tx7mw.js} +1 -1
- package/dist/chunks/{repository-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-mb7mbhnz.js → model-retry-mb7mbhnz.js} +3 -3
- package/dist/chunks/{repository-xvk67q7t.js → model-retry-me10dk9t.js} +14 -14
- package/dist/chunks/{repository-2kg89srt.js → model-retry-mf63ygpr.js} +4 -4
- package/dist/chunks/{repository-jvtd2tv8.js → model-retry-mqmkyzwr.js} +3 -3
- package/dist/chunks/{repository-mwnxvxbk.js → model-retry-mwnxvxbk.js} +1 -1
- package/dist/chunks/{repository-8qrf03x0.js → model-retry-mze7znq0.js} +4 -4
- package/dist/chunks/{repository-44w9n9s7.js → model-retry-n320gsn2.js} +4 -4
- package/dist/chunks/{repository-y4gksshd.js → model-retry-n3bcrrqw.js} +59 -59
- package/dist/chunks/{repository-34dqnfkc.js → model-retry-n8kyszt2.js} +6 -6
- package/dist/chunks/{repository-vc5wyrht.js → model-retry-neknd9vt.js} +33 -33
- package/dist/chunks/{repository-dekwarse.js → model-retry-nqhzmekw.js} +33 -33
- package/dist/chunks/{repository-f2xmw0q9.js → model-retry-nqnhdn1e.js} +23 -23
- package/dist/chunks/{repository-rsbnpsp6.js → model-retry-nrrvmsf7.js} +4 -4
- package/dist/chunks/{repository-9d072b6q.js → model-retry-nsdn2f4g.js} +12 -12
- package/dist/chunks/{repository-9j7f5x07.js → model-retry-nwmfh7bd.js} +26 -26
- package/dist/chunks/{repository-w6s4w6nr.js → model-retry-p1hn1ay8.js} +3 -3
- package/dist/chunks/{repository-00awaz76.js → model-retry-p5tk1xdz.js} +11 -11
- package/dist/chunks/{repository-dwsh12fh.js → model-retry-p6k55dzp.js} +25 -25
- package/dist/chunks/{repository-nq82rmey.js → model-retry-pcjhzmpm.js} +11 -11
- package/dist/chunks/{repository-1h6n0ysm.js → model-retry-pde2d58k.js} +28 -28
- package/dist/chunks/{repository-md0yj4wk.js → model-retry-pgtkf8d9.js} +32 -32
- package/dist/chunks/{repository-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{repository-amv5w5q7.js → model-retry-psf2cz52.js} +13 -13
- package/dist/chunks/{repository-nzazpc8g.js → model-retry-pwhf257g.js} +37 -37
- package/dist/chunks/{repository-pcqz0mdk.js → model-retry-q0q5p15d.js} +8 -8
- package/dist/chunks/{repository-sazfq51k.js → model-retry-q2qn9pec.js} +3 -3
- package/dist/chunks/{repository-hwgpdvjp.js → model-retry-q52a0xmm.js} +15 -15
- package/dist/chunks/{repository-7s8ymmn3.js → model-retry-q69fea8d.js} +6 -6
- package/dist/chunks/{repository-02mvxpmz.js → model-retry-q963thn8.js} +6 -6
- package/dist/chunks/{repository-nr915jn7.js → model-retry-qfz6bxfd.js} +4 -4
- package/dist/chunks/{repository-khn3h0zf.js → model-retry-qm453fgb.js} +6 -6
- package/dist/chunks/{repository-qp7r0hxv.js → model-retry-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-3beq3wdw.js → model-retry-qtf35215.js} +3 -3
- package/dist/chunks/{repository-0kjnhnat.js → model-retry-qyafh6c0.js} +10 -10
- package/dist/chunks/{repository-zs3nra86.js → model-retry-r1wj65t2.js} +21 -21
- package/dist/chunks/{repository-97243vbs.js → model-retry-r499zw42.js} +80 -80
- package/dist/chunks/{repository-3kh5eq90.js → model-retry-r8623cwy.js} +12 -12
- package/dist/chunks/{repository-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-440d70yp.js → model-retry-rbt238x6.js} +20 -20
- package/dist/chunks/{repository-rgc9cx3e.js → model-retry-rgc9cx3e.js} +2 -2
- package/dist/chunks/{repository-ef93qkt9.js → model-retry-rjg17fm7.js} +13 -13
- package/dist/chunks/{repository-0y16qpbq.js → model-retry-rzgzmmsy.js} +20 -20
- package/dist/chunks/{repository-s1ba0vj0.js → model-retry-s1ba0vj0.js} +2 -2
- package/dist/chunks/{repository-hswcgjnv.js → model-retry-s84es42m.js} +3 -3
- package/dist/chunks/{repository-sbya78hr.js → model-retry-sbya78hr.js} +1 -1
- package/dist/chunks/{repository-2hc2yyeh.js → model-retry-sbzezcpx.js} +8 -8
- package/dist/chunks/{repository-3s23b7nf.js → model-retry-sc61rjh5.js} +9 -9
- package/dist/chunks/{repository-bs1g9tnx.js → model-retry-sjzs80zr.js} +21 -21
- package/dist/chunks/{repository-wrr9v7mg.js → model-retry-sk5qsbcw.js} +5 -5
- package/dist/chunks/{repository-b4wh2b3v.js → model-retry-spb4g8aj.js} +8 -8
- package/dist/chunks/{repository-h6emrs48.js → model-retry-ss6cpaky.js} +4 -4
- package/dist/chunks/{repository-svcy3p9a.js → model-retry-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-tvstap8v.js → model-retry-t1bc5svt.js} +8 -8
- package/dist/chunks/{repository-9rqfe4ad.js → model-retry-t48jrnqq.js} +3 -3
- package/dist/chunks/{repository-srcf351v.js → model-retry-t61eas2m.js} +8 -8
- package/dist/chunks/{repository-tbpn7jtk.js → model-retry-tbpn7jtk.js} +1 -1
- package/dist/chunks/{repository-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-fgarm31a.js → model-retry-tmq9jgfn.js} +35 -35
- package/dist/chunks/{repository-3a8968hy.js → model-retry-tr3c1hr0.js} +14 -14
- package/dist/chunks/{repository-tvtps2q9.js → model-retry-tvtps2q9.js} +1 -1
- package/dist/chunks/{repository-twssxy5n.js → model-retry-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-wvvnzt41.js → model-retry-txcpr02b.js} +16 -16
- package/dist/chunks/{repository-4erzfp4b.js → model-retry-txe55pgv.js} +7 -7
- package/dist/chunks/{repository-tvfb4cnx.js → model-retry-txq0kcg0.js} +13 -13
- package/dist/chunks/{repository-3d3k30ev.js → model-retry-v2jmw1hp.js} +9 -9
- package/dist/chunks/{repository-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-2bzjnwzn.js → model-retry-v5d3jf35.js} +11 -11
- package/dist/chunks/{repository-as8prksk.js → model-retry-v6bymc68.js} +33 -33
- package/dist/chunks/{repository-5n3vkvkg.js → model-retry-v99gtden.js} +21 -21
- package/dist/chunks/{repository-gw350h34.js → model-retry-vcz165ne.js} +16 -16
- package/dist/chunks/{repository-jm1xng1y.js → model-retry-vdxwczv6.js} +47 -47
- package/dist/chunks/{repository-vjf35v1f.js → model-retry-vjf35v1f.js} +1 -1
- package/dist/chunks/{repository-pqk22v3f.js → model-retry-vjmraqjf.js} +25 -25
- package/dist/chunks/{repository-rpx37cdg.js → model-retry-vm0473yf.js} +23 -23
- package/dist/chunks/{repository-gq39yebw.js → model-retry-w1e5009d.js} +12 -12
- package/dist/chunks/{repository-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-w4xw9ac5.js → model-retry-w4xw9ac5.js} +2 -2
- package/dist/chunks/{repository-kgmdm1mc.js → model-retry-w87hzrb3.js} +6 -6
- package/dist/chunks/{repository-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{repository-wegkxhrn.js → model-retry-wegkxhrn.js} +2 -2
- package/dist/chunks/{repository-adwsp3br.js → model-retry-wmsn6fsz.js} +11 -11
- package/dist/chunks/{repository-3by0w2ax.js → model-retry-wqgsq883.js} +16 -16
- package/dist/chunks/{repository-3ddecqpa.js → model-retry-wwwhnnrb.js} +12 -12
- package/dist/chunks/{repository-2c6sxtb9.js → model-retry-x150ncgg.js} +2 -2
- package/dist/chunks/{repository-cea6hd02.js → model-retry-xeeabgfh.js} +12 -12
- package/dist/chunks/{repository-5r6kmg8r.js → model-retry-xfchhe29.js} +57 -57
- package/dist/chunks/{repository-859w1rtj.js → model-retry-xjbsd7zy.js} +9 -9
- package/dist/chunks/{repository-xjr6c8m4.js → model-retry-xjr6c8m4.js} +1 -1
- package/dist/chunks/{repository-80ej5eef.js → model-retry-xk90d7ar.js} +31 -31
- package/dist/chunks/{repository-67wwskyb.js → model-retry-xksw6ev0.js} +4 -4
- package/dist/chunks/{repository-22m1t7j6.js → model-retry-xnc04a8y.js} +21 -21
- package/dist/chunks/{repository-jwf2mwjn.js → model-retry-xwagvjey.js} +13 -13
- package/dist/chunks/{repository-zqnv9fqk.js → model-retry-xyv3z5gg.js} +35 -35
- package/dist/chunks/{repository-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-3btmr5ck.js → model-retry-yj4sw9dy.js} +3 -3
- package/dist/chunks/{repository-0cw2pp5w.js → model-retry-yjrgmzdq.js} +42 -42
- package/dist/chunks/{repository-2prt43t7.js → model-retry-ypzfmdvb.js} +4 -4
- package/dist/chunks/{repository-yr705xyq.js → model-retry-yr705xyq.js} +1 -1
- package/dist/chunks/{repository-twbzdyjv.js → model-retry-ysbfp3jb.js} +6 -6
- package/dist/chunks/{repository-1t7x0sp9.js → model-retry-yv09dmea.js} +11 -11
- package/dist/chunks/{repository-yvtc2x31.js → model-retry-yvtc2x31.js} +1 -1
- package/dist/chunks/{repository-mgcsgjq4.js → model-retry-yydqqga9.js} +4 -4
- package/dist/chunks/{repository-z0wbgq7s.js → model-retry-z0wbgq7s.js} +1 -1
- package/dist/chunks/{repository-zph6xvvn.js → model-retry-z6gkct3a.js} +50 -50
- package/dist/chunks/{repository-e9e1fhjv.js → model-retry-zdn1ptym.js} +22 -22
- package/dist/chunks/{repository-rxmw0rhb.js → model-retry-zjvqphdj.js} +11 -11
- package/dist/chunks/{repository-a75y8c3w.js → model-retry-zq2w2t7s.js} +12 -12
- package/dist/chunks/{repository-yhx5bx5z.js → model-retry-zqaq7e3k.js} +23 -23
- package/dist/chunks/{repository-zqjk3b05.js → model-retry-zssj66mt.js} +32 -32
- package/dist/chunks/{repository-w0nrctbj.js → model-retry-ztmds42j.js} +9 -9
- 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 +95 -95
- package/dist/config/integration.js +3 -3
- 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 +247 -247
- 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 +133 -133
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -158
- 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 +132 -132
- 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 +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/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 +108 -108
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +260 -260
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/flag.js +132 -132
- 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 +98 -98
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +6 -6
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- 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 +104 -104
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +190 -190
- 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 +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- 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 +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- 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 +1 -1
- 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 +132 -132
- 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 +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- 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 +3 -3
- 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 +81 -81
- 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 +2 -2
- 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 +8 -8
- 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 +5 -5
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin/websearch/tinyfish.js +5 -5
- package/dist/plugin.js +258 -258
- 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 +101 -101
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -264
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +275 -275
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +174 -174
- 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 +91 -91
- 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 +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +1 -1
- 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 +249 -249
- 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 +149 -149
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +106 -106
- 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 +187 -187
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +166 -166
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +249 -249
- 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 +151 -151
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +253 -253
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +160 -160
- package/dist/tool/plugin/write.js +171 -171
- 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/usage-limits.js +100 -100
- 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 +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +95 -95
- package/dist/websearch.js +103 -103
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +7 -7
- 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 +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/repository-8x060fmy.js +0 -18
- package/dist/chunks/repository-hm90a926.js +0 -273
- /package/dist/chunks/{repository-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kah00gy.js → model-retry-1kah00gy.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4qk9sjk2.js → model-retry-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-5w3e23ze.js → model-retry-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-6agm2x70.js → model-retry-6agm2x70.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-7rvsyqjv.js → model-retry-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9ceax7yg.js → model-retry-9ceax7yg.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-ade8csyh.js → model-retry-ade8csyh.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-beh6qq61.js → model-retry-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-ean2d8b5.js → model-retry-ean2d8b5.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fkpq3x5p.js → model-retry-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-nh4v3znn.js → model-retry-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-p71gwv9c.js → model-retry-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-syrav9an.js → model-retry-syrav9an.js} +0 -0
- /package/dist/chunks/{repository-t03h4f5z.js → model-retry-t03h4f5z.js} +0 -0
- /package/dist/chunks/{repository-ty7weeps.js → model-retry-ty7weeps.js} +0 -0
- /package/dist/chunks/{repository-v2dnd5dt.js → model-retry-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{repository-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-vtarvj67.js → model-retry-vtarvj67.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x4th4bpe.js → model-retry-x4th4bpe.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
- /package/dist/chunks/{repository-zxpyjp51.js → model-retry-zxpyjp51.js} +0 -0
- /package/dist/chunks/{repository-zz5vv3aq.js → model-retry-zz5vv3aq.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service16
|
|
3
|
+
} from "./model-retry-xk90d7ar.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/tool/plugin/write.ts
|
|
9
9
|
var exports_write = {};
|
|
10
10
|
__export(exports_write, {
|
|
11
|
-
Input: () =>
|
|
12
|
-
Output: () =>
|
|
13
|
-
Plugin: () =>
|
|
11
|
+
Input: () => Input4,
|
|
12
|
+
Output: () => Output4,
|
|
13
|
+
Plugin: () => Plugin23,
|
|
14
14
|
WriteTool: () => exports_write,
|
|
15
|
-
name: () =>
|
|
15
|
+
name: () => name4
|
|
16
16
|
});
|
|
17
17
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
18
18
|
import { Effect, Schema } from "effect";
|
|
19
|
-
var
|
|
20
|
-
var
|
|
19
|
+
var name4 = "write";
|
|
20
|
+
var Input4 = Schema.Struct({
|
|
21
21
|
path: Schema.String.annotate({
|
|
22
22
|
description: "Path to the file to write to"
|
|
23
23
|
}),
|
|
24
24
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
25
25
|
});
|
|
26
|
-
var
|
|
27
|
-
var
|
|
26
|
+
var Output4 = Schema.String;
|
|
27
|
+
var Plugin23 = {
|
|
28
28
|
id: "opencode.tool.write",
|
|
29
29
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
30
|
-
const fileWrite = yield*
|
|
30
|
+
const fileWrite = yield* Service16;
|
|
31
31
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
32
|
-
name:
|
|
32
|
+
name: name4,
|
|
33
33
|
options: { codemode: false, permission: "edit" },
|
|
34
34
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
35
35
|
|
|
36
36
|
Missing parent directories are created automatically.
|
|
37
37
|
|
|
38
38
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
39
|
-
input:
|
|
40
|
-
output:
|
|
39
|
+
input: Input4,
|
|
40
|
+
output: Output4,
|
|
41
41
|
execute: (input, context) => fileWrite.write(input, context).pipe(Effect.map((written) => ({
|
|
42
42
|
output: `${written.existed ? "Wrote" : "Created"} file successfully: ${written.resource}`
|
|
43
43
|
})), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
@@ -45,4 +45,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { name4, Input4, Output4, Plugin23, exports_write };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-2ytp0tvq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./model-retry-927fj99d.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/mcp/connection.ts
|
|
12
12
|
var exports_connection = {};
|
|
@@ -60,7 +60,7 @@ function make26(input) {
|
|
|
60
60
|
clientInfo: input.clientInfo,
|
|
61
61
|
roots: !input.shared,
|
|
62
62
|
events: input.mcpEvents
|
|
63
|
-
}).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(
|
|
63
|
+
}).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(Service56, input.environment), Effect.provideService(FetchHttpClient.Fetch, input.fetch), Scope.provide(scope), (effect) => config.type === "remote" && !input.shared ? endpointLoads.withLock(config.url)(effect) : effect, Effect.exit);
|
|
64
64
|
if (Exit.isSuccess(result) && !result.value.tools) {
|
|
65
65
|
yield* Scope.close(scope, Exit.void);
|
|
66
66
|
state.scope = undefined;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service93
|
|
3
|
+
} from "./model-retry-77n50j8n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service83,
|
|
6
6
|
Event15
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-gz1wv23a.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin20,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin20 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service93;
|
|
24
|
+
const wellknown = yield* Service83;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -45,4 +45,4 @@ var Plugin2 = define({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin20, exports_plugin };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/stored.ts
|
|
9
9
|
var exports_stored = {};
|
|
10
10
|
__export(exports_stored, {
|
|
11
|
-
File: () =>
|
|
11
|
+
File: () => File3,
|
|
12
12
|
FileRef: () => FileRef2,
|
|
13
13
|
Ref: () => Ref2,
|
|
14
14
|
SessionStored: () => exports_stored,
|
|
@@ -28,10 +28,10 @@ var refHash2 = (ref) => ref.slice("media:".length);
|
|
|
28
28
|
var ref2 = (hash) => `media:${hash}`;
|
|
29
29
|
var { data: _, ...attachment } = FileAttachment.fields;
|
|
30
30
|
var FileRef2 = Schema.Struct({ ...attachment, uri: Ref2 });
|
|
31
|
-
var
|
|
31
|
+
var File3 = Schema.Union([FileAttachment, FileRef2]);
|
|
32
32
|
var ToolFileRef2 = Schema.Struct({ ...Tool.FileContent.fields, uri: Ref2 });
|
|
33
|
-
var files = Schema.Array(
|
|
33
|
+
var files = Schema.Array(File3).pipe(optional);
|
|
34
34
|
var UserPayload3 = Schema.Struct({ ...InboxUserPayload.fields, files });
|
|
35
35
|
var User3 = Schema.Struct({ ...SessionMessage2.User.fields, files });
|
|
36
36
|
|
|
37
|
-
export { Ref2, refHash2, ref2, FileRef2,
|
|
37
|
+
export { Ref2, refHash2, ref2, FileRef2, File3, ToolFileRef2, UserPayload3, User3, exports_stored };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./model-retry-ag6d02bt.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service90
|
|
9
|
+
} from "./model-retry-jbx2ytam.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service81
|
|
12
|
+
} from "./model-retry-vdxwczv6.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-retry-vm0473yf.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service11
|
|
20
|
+
} from "./model-retry-xjbsd7zy.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-retry-ee2edeb1.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
26
|
scan2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-retry-yvtc2x31.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
35
|
-
ConfigSkillPlugin: () =>
|
|
36
|
-
Plugin: () =>
|
|
33
|
+
var exports_skill3 = {};
|
|
34
|
+
__export(exports_skill3, {
|
|
35
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
36
|
+
Plugin: () => Plugin50
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin50 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service81;
|
|
47
|
+
const discovery = yield* Service11;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service90;
|
|
51
|
+
const watcher = yield* Service82;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -179,4 +179,4 @@ var Plugin21 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin50, exports_skill3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service64,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service64 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service64, exports_runner };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-7az9823q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service93
|
|
6
|
+
} from "./model-retry-77n50j8n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./model-retry-w87hzrb3.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-retry-a610t88q.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-retry-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
preview2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-xeeabgfh.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-retry-2fc7eemy.js";
|
|
22
22
|
import {
|
|
23
23
|
baseTranscript2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-retry-neknd9vt.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service27
|
|
27
|
+
} from "./model-retry-r499zw42.js";
|
|
28
28
|
import {
|
|
29
29
|
record2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/generate.ts
|
|
36
36
|
var exports_generate = {};
|
|
@@ -41,13 +41,13 @@ __export(exports_generate, {
|
|
|
41
41
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect } from "effect";
|
|
43
43
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service65;
|
|
45
45
|
const database = yield* Service94;
|
|
46
46
|
const llm = yield* LLMClient.Service;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service93;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
49
|
yield* awaitActivation2;
|
|
50
|
-
const context = yield*
|
|
50
|
+
const context = yield* Service27;
|
|
51
51
|
const selection = yield* context.select(input.session.id);
|
|
52
52
|
const model = yield* context.resolveModel(selection.session, { kind: "generate", agent: selection.agent.id });
|
|
53
53
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./model-retry-77n50j8n.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-3zakkr5m.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-v2dnd5dt.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Options: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError9,
|
|
21
|
+
Options: () => Options5,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
23
|
ProcessNotFoundError: () => ProcessNotFoundError2,
|
|
24
|
-
RequestError: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
UnavailableError: () =>
|
|
24
|
+
RequestError: () => RequestError3,
|
|
25
|
+
Service: () => Service50,
|
|
26
|
+
UnavailableError: () => UnavailableError3,
|
|
27
27
|
available: () => available4,
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
28
|
+
configured: () => configured6,
|
|
29
|
+
layer: () => layer20,
|
|
30
30
|
layerWith: () => layerWith2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node53
|
|
32
32
|
});
|
|
33
33
|
import { stat } from "node:fs/promises";
|
|
34
34
|
import path from "node:path";
|
|
@@ -48,22 +48,22 @@ import { Global } from "@opencode/util/global";
|
|
|
48
48
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
49
49
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
50
50
|
import { available as available4 } from "#persistent-pty-binary";
|
|
51
|
-
var
|
|
51
|
+
var Options5 = Schema.Struct({
|
|
52
52
|
handoff: Schema.optional(Handoff),
|
|
53
53
|
root: Schema.optional(Schema.String)
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
57
57
|
message: Schema.String
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class RequestError3 extends Schema.TaggedError()("PersistentPty.RequestError", {
|
|
62
62
|
message: Schema.String
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
67
67
|
ptyID: Pty.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -77,10 +77,10 @@ class InvalidCwdError2 extends Schema.TaggedError()("PersistentPty.InvalidCwdErr
|
|
|
77
77
|
}) {
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
class
|
|
80
|
+
class Service50 extends Context.Service()("@opencode/PersistentPty") {
|
|
81
81
|
}
|
|
82
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
83
|
-
const bus = yield*
|
|
82
|
+
var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* () {
|
|
83
|
+
const bus = yield* Service93;
|
|
84
84
|
const global = yield* Global.Service;
|
|
85
85
|
const context = yield* Effect.context();
|
|
86
86
|
const runFork = Effect.runForkWith(context);
|
|
@@ -103,7 +103,7 @@ var makeLayer = (options = {}) => Layer.effect(Service44, Effect.gen(function* (
|
|
|
103
103
|
const parsed = parseID(id);
|
|
104
104
|
const found = parsed === undefined ? undefined : yield* lookup(daemon, parsed).pipe(Effect.mapError(unavailable));
|
|
105
105
|
if (found?.mode !== "pty")
|
|
106
|
-
return yield* new
|
|
106
|
+
return yield* new NotFoundError9({ ptyID: id });
|
|
107
107
|
return toInfo(found);
|
|
108
108
|
});
|
|
109
109
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -163,7 +163,7 @@ var makeLayer = (options = {}) => Layer.effect(Service44, Effect.gen(function* (
|
|
|
163
163
|
});
|
|
164
164
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
165
165
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
166
|
-
return yield* new
|
|
166
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
167
167
|
const id = current.get(sessionID);
|
|
168
168
|
if (!id)
|
|
169
169
|
return null;
|
|
@@ -297,7 +297,7 @@ var makeLayer = (options = {}) => Layer.effect(Service44, Effect.gen(function* (
|
|
|
297
297
|
return yield* unexpectedPipe(response);
|
|
298
298
|
return response.processes.map(toPipeInfo);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service50.of({
|
|
301
301
|
list,
|
|
302
302
|
get,
|
|
303
303
|
create,
|
|
@@ -322,14 +322,14 @@ var makeLayer = (options = {}) => Layer.effect(Service44, Effect.gen(function* (
|
|
|
322
322
|
listPipes
|
|
323
323
|
});
|
|
324
324
|
}));
|
|
325
|
-
var
|
|
325
|
+
var layer20 = makeLayer();
|
|
326
326
|
var layerWith2 = (options) => makeLayer(options);
|
|
327
|
-
var
|
|
328
|
-
service:
|
|
329
|
-
layer: options === undefined ?
|
|
330
|
-
deps: [
|
|
327
|
+
var configured6 = (options) => makeGlobalNode({
|
|
328
|
+
service: Service50,
|
|
329
|
+
layer: options === undefined ? layer20 : makeLayer(options),
|
|
330
|
+
deps: [node95, Global.node]
|
|
331
331
|
});
|
|
332
|
-
var
|
|
332
|
+
var node53 = configured6();
|
|
333
333
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
334
334
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
335
335
|
var lookup = (daemon, id) => daemon.requestIfRunning({ op: "get", id }).pipe(Effect.catchIf((error) => error.kind === "request", () => Effect.succeed(undefined)), Effect.flatMap((response) => {
|
|
@@ -339,10 +339,10 @@ var lookup = (daemon, id) => daemon.requestIfRunning({ op: "get", id }).pipe(Eff
|
|
|
339
339
|
return Effect.fail(new Error(`unexpected opencode-pty response: ${response.type}`));
|
|
340
340
|
return Effect.succeed(response.process);
|
|
341
341
|
}));
|
|
342
|
-
var unexpected = (response) => Effect.fail(new
|
|
343
|
-
var unavailable = (error) => new
|
|
344
|
-
var pipeError = (error) => error.kind === "request" || error.kind === "response" ? new
|
|
345
|
-
var unexpectedPipe = (response) => Effect.fail(new
|
|
342
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
343
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
344
|
+
var pipeError = (error) => error.kind === "request" || error.kind === "response" ? new RequestError3({ message: error.message }) : new UnavailableError3({ message: error.message });
|
|
345
|
+
var unexpectedPipe = (response) => Effect.fail(new RequestError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
346
346
|
function toInfo(value) {
|
|
347
347
|
if (!value.pty)
|
|
348
348
|
throw new Error(`opencode-pty process ${value.id} is not a terminal`);
|
|
@@ -414,4 +414,4 @@ function fromID(value) {
|
|
|
414
414
|
return parsed;
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
export {
|
|
417
|
+
export { Options5, UnavailableError3, RequestError3, NotFoundError9, ProcessNotFoundError2, InvalidCwdError2, Service50, layer20, layerWith2, configured6, node53, exports_persistent_pty, Handoff2, available4 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./model-retry-77n50j8n.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-n320gsn2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID18,
|
|
14
14
|
Service87,
|
|
15
15
|
node89,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Event18
|
|
17
|
+
} from "./model-retry-80zs2z7e.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service90,
|
|
20
|
+
node92
|
|
21
|
+
} from "./model-retry-jbx2ytam.js";
|
|
22
22
|
import {
|
|
23
23
|
AISDK_PREFIX2,
|
|
24
24
|
isAISDK2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
mergeOverlay2,
|
|
28
28
|
mergeHeaders2,
|
|
29
29
|
rewrite2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-m90tx7mw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/provider.ts
|
|
36
36
|
var exports_provider5 = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_provider5, {
|
|
|
41
41
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
42
42
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
43
43
|
Event: () => Event17,
|
|
44
|
-
ID: () =>
|
|
45
|
-
Info: () =>
|
|
44
|
+
ID: () => ID17,
|
|
45
|
+
Info: () => Info25,
|
|
46
46
|
LoadError: () => LoadError3,
|
|
47
47
|
Provider: () => exports_provider5,
|
|
48
48
|
Request: () => Request4,
|
|
49
|
-
Service: () =>
|
|
49
|
+
Service: () => Service86,
|
|
50
50
|
Settings: () => Settings2,
|
|
51
51
|
Transport: () => Transport2,
|
|
52
52
|
aisdk: () => aisdk2,
|
|
@@ -58,7 +58,7 @@ __export(exports_provider5, {
|
|
|
58
58
|
mergeOverlay: () => mergeOverlay2,
|
|
59
59
|
modelSettings: () => modelSettings2,
|
|
60
60
|
nativeSettings: () => nativeSettings2,
|
|
61
|
-
node: () =>
|
|
61
|
+
node: () => node88,
|
|
62
62
|
packageName: () => packageName2,
|
|
63
63
|
timeout: () => timeout2,
|
|
64
64
|
timeouts: () => timeouts2,
|
|
@@ -73,7 +73,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
73
73
|
import { Credential } from "@opencode/schema/credential";
|
|
74
74
|
import { freeze } from "immer";
|
|
75
75
|
import { Event as Event17 } from "@opencode/schema/provider";
|
|
76
|
-
var
|
|
76
|
+
var ID17 = Provider.ID;
|
|
77
77
|
|
|
78
78
|
class LoadError3 extends Schema.TaggedError()("Provider.LoadError", {
|
|
79
79
|
package: Schema.String,
|
|
@@ -312,9 +312,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
312
312
|
var Cache2 = Provider.Cache;
|
|
313
313
|
var Transport2 = Provider.Transport;
|
|
314
314
|
var Settings2 = Provider.Settings;
|
|
315
|
-
var
|
|
315
|
+
var Info25 = Provider.Info;
|
|
316
316
|
|
|
317
|
-
class
|
|
317
|
+
class Service86 extends Context.Service()("@opencode/Provider") {
|
|
318
318
|
}
|
|
319
319
|
var definitions = new WeakMap;
|
|
320
320
|
function index(providerID, models) {
|
|
@@ -327,10 +327,10 @@ function index(providerID, models) {
|
|
|
327
327
|
definitions.set(models, indexes);
|
|
328
328
|
return result;
|
|
329
329
|
}
|
|
330
|
-
var layer = Layer.effect(
|
|
331
|
-
const bus = yield*
|
|
330
|
+
var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
331
|
+
const bus = yield* Service93;
|
|
332
332
|
const integrations = yield* Service87;
|
|
333
|
-
const location = yield*
|
|
333
|
+
const location = yield* Service90;
|
|
334
334
|
const state = create4({
|
|
335
335
|
name: "provider",
|
|
336
336
|
initial: () => new Map,
|
|
@@ -341,7 +341,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
341
341
|
const current = records.get(id);
|
|
342
342
|
if (current)
|
|
343
343
|
return current;
|
|
344
|
-
const added = { provider:
|
|
344
|
+
const added = { provider: Info25.empty(id), models: new Map };
|
|
345
345
|
records.set(id, added);
|
|
346
346
|
maps.add(added.models);
|
|
347
347
|
return added;
|
|
@@ -424,7 +424,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
424
424
|
const available = Array.from(records.values()).filter((record) => {
|
|
425
425
|
if (record.provider.activation === "disabled")
|
|
426
426
|
return false;
|
|
427
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
427
|
+
const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
|
|
428
428
|
if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
|
|
429
429
|
return false;
|
|
430
430
|
if (record.provider.activation === "enabled")
|
|
@@ -450,8 +450,8 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
450
450
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
451
451
|
});
|
|
452
452
|
});
|
|
453
|
-
yield* bus.subscribe([
|
|
454
|
-
return
|
|
453
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
454
|
+
return Service86.of({
|
|
455
455
|
transform: state.transform,
|
|
456
456
|
reload: state.reload,
|
|
457
457
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -460,7 +460,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
460
460
|
snapshot
|
|
461
461
|
});
|
|
462
462
|
}));
|
|
463
|
-
var
|
|
463
|
+
var node88 = makeLocationNode({ service: Service86, layer, deps: [node95, node89, node92] });
|
|
464
464
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
465
465
|
const module = yield* Effect.tryPromise({
|
|
466
466
|
try: () => {
|
|
@@ -482,4 +482,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
482
482
|
return module;
|
|
483
483
|
});
|
|
484
484
|
|
|
485
|
-
export {
|
|
485
|
+
export { ID17, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, tls2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service86, node88, exports_provider5, Event17 };
|