@opencode/core 0.0.0-dev-1153 → 0.0.0-dev-1155
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 +11 -11
- package/dist/artifact.js +239 -239
- package/dist/bus.js +80 -80
- package/dist/chunks/{instruction-discovery-tzt99ah6.js → filesystem-00j42c4a.js} +21 -21
- package/dist/chunks/{instruction-discovery-034tev2y.js → filesystem-034tev2y.js} +2 -2
- package/dist/chunks/{instruction-discovery-jc07kfqy.js → filesystem-04tq37rg.js} +43 -43
- package/dist/chunks/{instruction-discovery-fad7ck4n.js → filesystem-05rxf7ag.js} +20 -20
- package/dist/chunks/{instruction-discovery-w4b7bwcc.js → filesystem-06kr05p9.js} +37 -37
- package/dist/chunks/{instruction-discovery-z90agx01.js → filesystem-083b6r2x.js} +27 -27
- package/dist/chunks/{instruction-discovery-x211k02e.js → filesystem-0fn5ab0k.js} +26 -26
- package/dist/chunks/{instruction-discovery-1v2g13eq.js → filesystem-0h86f0az.js} +4 -4
- package/dist/chunks/{instruction-discovery-zywexr00.js → filesystem-0kgbgg4w.js} +5 -5
- package/dist/chunks/{instruction-discovery-0ma9gw4f.js → filesystem-0ma9gw4f.js} +2 -2
- package/dist/chunks/{instruction-discovery-8rapdqzr.js → filesystem-0php2d2a.js} +4 -4
- package/dist/chunks/{instruction-discovery-5841d17s.js → filesystem-0srmv9a7.js} +26 -26
- package/dist/chunks/{instruction-discovery-mteec8jy.js → filesystem-0ty7x2vf.js} +32 -32
- package/dist/chunks/{instruction-discovery-03afj9c3.js → filesystem-0x2ag7me.js} +73 -73
- package/dist/chunks/{instruction-discovery-fxqzc3wz.js → filesystem-0zz2bnr1.js} +15 -15
- package/dist/chunks/{instruction-discovery-crfddmzc.js → filesystem-12a87htm.js} +8 -8
- package/dist/chunks/{instruction-discovery-6pgf8bat.js → filesystem-14q26q0h.js} +16 -16
- package/dist/chunks/{instruction-discovery-t5z530n0.js → filesystem-14qtwrnd.js} +28 -28
- package/dist/chunks/{instruction-discovery-aedwt843.js → filesystem-160yv0cs.js} +6 -6
- package/dist/chunks/{instruction-discovery-sf2g0dhx.js → filesystem-16m4fety.js} +10 -10
- package/dist/chunks/{instruction-discovery-1aqsckx4.js → filesystem-1aqsckx4.js} +1 -1
- package/dist/chunks/{instruction-discovery-wtb6b8ak.js → filesystem-1d41vqxy.js} +30 -30
- package/dist/chunks/{instruction-discovery-btj7qfrq.js → filesystem-1ef5n38d.js} +18 -18
- package/dist/chunks/{instruction-discovery-1ep2p91f.js → filesystem-1ep2p91f.js} +2 -2
- package/dist/chunks/{instruction-discovery-xv0qa4h5.js → filesystem-1rncpvfz.js} +17 -17
- package/dist/chunks/{instruction-discovery-0thdzspe.js → filesystem-1tcdzert.js} +9 -9
- package/dist/chunks/{instruction-discovery-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/filesystem-1xjver7d.js +16 -0
- package/dist/chunks/{instruction-discovery-pdpr5yq4.js → filesystem-1y1at900.js} +13 -13
- package/dist/chunks/filesystem-1ywg999t.js +273 -0
- package/dist/chunks/{instruction-discovery-2yey3x5y.js → filesystem-1zd29w7p.js} +6 -6
- package/dist/chunks/{instruction-discovery-k03pwv3y.js → filesystem-21f92tpx.js} +5 -5
- package/dist/chunks/{instruction-discovery-851tvzsa.js → filesystem-23mseg9w.js} +10 -10
- package/dist/chunks/{instruction-discovery-8b3vzgkx.js → filesystem-25h84942.js} +4 -4
- package/dist/chunks/{instruction-discovery-d6r1rrpz.js → filesystem-2cjx21jp.js} +30 -30
- package/dist/chunks/{instruction-discovery-xt9jkaz5.js → filesystem-2cpdbpj8.js} +16 -16
- package/dist/chunks/{instruction-discovery-565gd501.js → filesystem-2d5vwg09.js} +6 -6
- package/dist/chunks/{instruction-discovery-2fc7eemy.js → filesystem-2fc7eemy.js} +1 -1
- package/dist/chunks/{instruction-discovery-gxg6ze57.js → filesystem-2jt5ssd0.js} +3 -3
- package/dist/chunks/{instruction-discovery-jq989e3q.js → filesystem-2ns59sfh.js} +10 -10
- package/dist/chunks/{instruction-discovery-bf8fdj8f.js → filesystem-2r0xhr37.js} +4 -4
- package/dist/chunks/{instruction-discovery-2s9mae96.js → filesystem-2s9mae96.js} +3 -3
- package/dist/chunks/{instruction-discovery-5zxbvv2f.js → filesystem-2yzwas0f.js} +14 -14
- package/dist/chunks/{instruction-discovery-r1xq63dv.js → filesystem-324k4kgm.js} +3 -3
- package/dist/chunks/{instruction-discovery-77ps6e0h.js → filesystem-36tjmfsy.js} +4 -4
- package/dist/chunks/{instruction-discovery-3adw4bt5.js → filesystem-3adw4bt5.js} +2 -2
- package/dist/chunks/{instruction-discovery-shqxbeh8.js → filesystem-3b3p5y89.js} +8 -8
- package/dist/chunks/{instruction-discovery-dbh7wv8t.js → filesystem-3fzw2dgx.js} +13 -13
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{instruction-discovery-63xym3gh.js → filesystem-3ryz99p0.js} +4 -4
- package/dist/chunks/{instruction-discovery-cgfzjrj1.js → filesystem-3s9hkh01.js} +2 -2
- package/dist/chunks/{instruction-discovery-qpyw4vs7.js → filesystem-3smzfgkv.js} +8 -8
- package/dist/chunks/{instruction-discovery-hyfh4454.js → filesystem-3v1jab5g.js} +7 -7
- package/dist/chunks/{instruction-discovery-hxey5wfe.js → filesystem-3w4j854v.js} +10 -10
- package/dist/chunks/{instruction-discovery-40y6dtc2.js → filesystem-40y6dtc2.js} +1 -1
- package/dist/chunks/{instruction-discovery-kkbhzqpn.js → filesystem-43j7jt16.js} +16 -16
- package/dist/chunks/{instruction-discovery-zsyf2zbn.js → filesystem-444evg8n.js} +33 -33
- package/dist/chunks/{instruction-discovery-bz5ttvd0.js → filesystem-491q2x3b.js} +19 -19
- package/dist/chunks/{instruction-discovery-4dx1dgte.js → filesystem-4dx1dgte.js} +1 -1
- package/dist/chunks/{instruction-discovery-4f25tdd0.js → filesystem-4f25tdd0.js} +1 -1
- package/dist/chunks/{instruction-discovery-8phpm80f.js → filesystem-4gxktgp4.js} +25 -25
- package/dist/chunks/filesystem-4n5cstwr.js +579 -0
- package/dist/chunks/{instruction-discovery-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{instruction-discovery-90fzt9r0.js → filesystem-4ydapqmf.js} +7 -7
- package/dist/chunks/{instruction-discovery-74wq58h4.js → filesystem-53g3ek9f.js} +19 -19
- package/dist/chunks/{instruction-discovery-211a3q4s.js → filesystem-5bcr6264.js} +15 -15
- package/dist/chunks/{instruction-discovery-6n28yw7w.js → filesystem-5fc8hcg9.js} +28 -28
- package/dist/chunks/{instruction-discovery-5azf7efg.js → filesystem-5fjyrr2e.js} +18 -18
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-hegmxvyf.js → filesystem-5pah5g87.js} +18 -18
- package/dist/chunks/{instruction-discovery-nag9kgj3.js → filesystem-5r3dv39m.js} +9 -9
- package/dist/chunks/{instruction-discovery-5whx36p1.js → filesystem-5whx36p1.js} +1 -1
- package/dist/chunks/{instruction-discovery-f3m66xst.js → filesystem-5xkprpgc.js} +13 -13
- package/dist/chunks/{instruction-discovery-f7s4spfm.js → filesystem-68dsae6w.js} +19 -19
- package/dist/chunks/{instruction-discovery-dg2jnfxe.js → filesystem-6er1m856.js} +32 -32
- package/dist/chunks/{instruction-discovery-y7znp26y.js → filesystem-6gpahs7y.js} +25 -25
- package/dist/chunks/{instruction-discovery-h8jsdbsf.js → filesystem-6j19asys.js} +40 -40
- package/dist/chunks/{instruction-discovery-qtf35215.js → filesystem-6q8jj3zs.js} +3 -3
- package/dist/chunks/{instruction-discovery-vz94dcmp.js → filesystem-6vcwkhp6.js} +25 -25
- package/dist/chunks/{instruction-discovery-80mg3ag8.js → filesystem-775hqbnd.js} +3 -3
- package/dist/chunks/{instruction-discovery-zjf7xdar.js → filesystem-77e37j3z.js} +30 -30
- package/dist/chunks/{instruction-discovery-m55fbe5c.js → filesystem-79dx1dc6.js} +2 -2
- package/dist/chunks/{instruction-discovery-35yb2skd.js → filesystem-79f5ryf5.js} +11 -11
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-rk6fefec.js → filesystem-7dc4gc5v.js} +32 -32
- package/dist/chunks/{instruction-discovery-51gph2p8.js → filesystem-7f186e6p.js} +12 -12
- package/dist/chunks/{instruction-discovery-brsgs2wc.js → filesystem-7fczfqhg.js} +12 -12
- package/dist/chunks/{instruction-discovery-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instruction-discovery-7weczvnd.js → filesystem-7weczvnd.js} +1 -1
- package/dist/chunks/{instruction-discovery-7at1ma80.js → filesystem-7ynxdpkt.js} +59 -59
- package/dist/chunks/{instruction-discovery-v4me6kas.js → filesystem-7yv86tzv.js} +17 -17
- package/dist/chunks/{instruction-discovery-80pdk984.js → filesystem-80pdk984.js} +1 -1
- package/dist/chunks/{instruction-discovery-85jq8dht.js → filesystem-85jq8dht.js} +1 -1
- package/dist/chunks/{instruction-discovery-0qrcky28.js → filesystem-8cxxjpvd.js} +18 -18
- package/dist/chunks/{instruction-discovery-5ns414kb.js → filesystem-8dfptpqb.js} +4 -4
- package/dist/chunks/{instruction-discovery-8kjyvwy5.js → filesystem-8kjyvwy5.js} +1 -1
- package/dist/chunks/{instruction-discovery-8sxe6kv8.js → filesystem-8sxe6kv8.js} +2 -2
- package/dist/chunks/{instruction-discovery-had7hjjk.js → filesystem-8w95ndt2.js} +14 -14
- package/dist/chunks/{instruction-discovery-3ehzsbnd.js → filesystem-8wdkt6y0.js} +6 -6
- package/dist/chunks/{instruction-discovery-f4q6q9g7.js → filesystem-8ws1cnew.js} +15 -15
- package/dist/chunks/{instruction-discovery-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instruction-discovery-cwjpm71j.js → filesystem-8xmc89yx.js} +22 -22
- package/dist/chunks/{instruction-discovery-kbgs7tyr.js → filesystem-8xz27cp9.js} +4 -4
- package/dist/chunks/{instruction-discovery-8zv0xmg5.js → filesystem-8zv0xmg5.js} +1 -1
- package/dist/chunks/{instruction-discovery-38aws4xb.js → filesystem-90ct6wq4.js} +4 -4
- package/dist/chunks/{instruction-discovery-h09sgzzh.js → filesystem-94n1qn39.js} +1 -1
- package/dist/chunks/{instruction-discovery-963hk181.js → filesystem-963hk181.js} +2 -2
- package/dist/chunks/{instruction-discovery-9k5sz97t.js → filesystem-96xmncfy.js} +4 -4
- package/dist/chunks/{instruction-discovery-fwjn606w.js → filesystem-96yvqpwb.js} +11 -11
- package/dist/chunks/{instruction-discovery-mppmbmfm.js → filesystem-9fcfg85h.js} +12 -12
- package/dist/chunks/{instruction-discovery-0d3jspgf.js → filesystem-9jer5kqh.js} +12 -12
- package/dist/chunks/{instruction-discovery-w79nt68w.js → filesystem-9q8g9sv8.js} +4 -4
- package/dist/chunks/{instruction-discovery-mrb722ne.js → filesystem-9qxtrk0a.js} +28 -28
- package/dist/chunks/{instruction-discovery-tqddkgfh.js → filesystem-9y2szkpc.js} +20 -20
- package/dist/chunks/{instruction-discovery-54j96p5g.js → filesystem-9y4ybsjj.js} +21 -21
- package/dist/chunks/{instruction-discovery-nv9tsjma.js → filesystem-9yqjp86x.js} +6 -6
- package/dist/chunks/{instruction-discovery-f2bpz795.js → filesystem-9zz91ck0.js} +19 -19
- package/dist/chunks/{instruction-discovery-hd6849p0.js → filesystem-a2c7ns4r.js} +8 -8
- package/dist/chunks/{instruction-discovery-5737r2r0.js → filesystem-ackgvjab.js} +4 -4
- package/dist/chunks/{instruction-discovery-xd165rkg.js → filesystem-ahhdqv1f.js} +11 -11
- package/dist/chunks/{instruction-discovery-f8b8gmka.js → filesystem-apmfn43p.js} +19 -19
- package/dist/chunks/{instruction-discovery-37k6b6nc.js → filesystem-aq906svt.js} +6 -6
- package/dist/chunks/{instruction-discovery-9en2rs5a.js → filesystem-ay2fkrah.js} +33 -33
- package/dist/chunks/{instruction-discovery-ayjs7tqn.js → filesystem-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instruction-discovery-90xdgt1w.js → filesystem-b0je4vth.js} +18 -18
- package/dist/chunks/{instruction-discovery-9thsheb8.js → filesystem-b1azjyxw.js} +11 -11
- package/dist/chunks/{instruction-discovery-dp676nvg.js → filesystem-b1x243mb.js} +20 -20
- package/dist/chunks/{instruction-discovery-w6hvype4.js → filesystem-b62kntzp.js} +34 -34
- package/dist/chunks/{instruction-discovery-m5brqekz.js → filesystem-b62sbhp2.js} +9 -9
- package/dist/chunks/{instruction-discovery-3k17hp5t.js → filesystem-b6cq1fvz.js} +4 -4
- package/dist/chunks/{instruction-discovery-xtm7eb3w.js → filesystem-b9d5jw54.js} +15 -15
- package/dist/chunks/{instruction-discovery-4zz6w6ms.js → filesystem-bamve3at.js} +21 -21
- package/dist/chunks/{instruction-discovery-v9yvqqrp.js → filesystem-be4x5m7x.js} +15 -15
- package/dist/chunks/{instruction-discovery-0m9q59s6.js → filesystem-bex4xsk5.js} +4 -4
- package/dist/chunks/{instruction-discovery-vn6xermp.js → filesystem-bffnw3zy.js} +9 -9
- package/dist/chunks/{instruction-discovery-jkdcm5hg.js → filesystem-bhfd478d.js} +4 -4
- package/dist/chunks/{instruction-discovery-bstexjd6.js → filesystem-bstexjd6.js} +1 -1
- package/dist/chunks/{instruction-discovery-mkej1b2m.js → filesystem-bvhssps7.js} +26 -26
- package/dist/chunks/{instruction-discovery-5snd9tm8.js → filesystem-bwkfv57n.js} +34 -34
- package/dist/chunks/{instruction-discovery-zpdbqgja.js → filesystem-by8ty0bx.js} +4 -4
- package/dist/chunks/{instruction-discovery-ga873zcx.js → filesystem-bydyckw6.js} +3 -3
- package/dist/chunks/{instruction-discovery-edm37t96.js → filesystem-c1bfpsqy.js} +3 -3
- package/dist/chunks/{instruction-discovery-eed8734c.js → filesystem-c57y1876.js} +20 -20
- package/dist/chunks/{instruction-discovery-c7cw818c.js → filesystem-c7cw818c.js} +2 -2
- package/dist/chunks/{instruction-discovery-yx2k1m7z.js → filesystem-c9z1d5hy.js} +11 -11
- package/dist/chunks/{instruction-discovery-rpp2kc73.js → filesystem-cgfra67r.js} +16 -16
- package/dist/chunks/{instruction-discovery-74vyk6h3.js → filesystem-cgmxejc8.js} +27 -27
- package/dist/chunks/{instruction-discovery-zfnf49qv.js → filesystem-cjdqh2wj.js} +5 -5
- package/dist/chunks/{instruction-discovery-5cs4624n.js → filesystem-ckttgx1m.js} +4 -4
- package/dist/chunks/{instruction-discovery-51143kyp.js → filesystem-cs92ehcm.js} +8 -8
- package/dist/chunks/{instruction-discovery-yk4ram99.js → filesystem-csxpn9yn.js} +3 -3
- package/dist/chunks/{instruction-discovery-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
- package/dist/chunks/{instruction-discovery-xt32eh7n.js → filesystem-czmwpxsy.js} +13 -13
- package/dist/chunks/{instruction-discovery-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
- package/dist/chunks/{instruction-discovery-52tez8pf.js → filesystem-dpcxbnzm.js} +5 -5
- package/dist/chunks/{instruction-discovery-8xb43s2n.js → filesystem-dsxe3vjz.js} +11 -11
- package/dist/chunks/{instruction-discovery-dt77769w.js → filesystem-dt77769w.js} +1 -1
- package/dist/chunks/{instruction-discovery-61prxpw3.js → filesystem-ekhvmsd2.js} +9 -9
- package/dist/chunks/{instruction-discovery-eqw4pqj1.js → filesystem-eqw4pqj1.js} +2 -2
- package/dist/chunks/{instruction-discovery-b69xerkv.js → filesystem-ewp531bs.js} +19 -19
- package/dist/chunks/{instruction-discovery-zyt6d85k.js → filesystem-exy8xd7k.js} +11 -11
- package/dist/chunks/filesystem-f8ma18fn.js +18 -0
- package/dist/chunks/{instruction-discovery-e97q27ja.js → filesystem-fc74xdpv.js} +33 -33
- package/dist/chunks/{instruction-discovery-035wadpx.js → filesystem-ffvvmdd5.js} +7 -7
- package/dist/chunks/{instruction-discovery-fg9p65nk.js → filesystem-fg9p65nk.js} +2 -2
- package/dist/chunks/{instruction-discovery-re298r9b.js → filesystem-fmvrz9hx.js} +42 -42
- package/dist/chunks/{instruction-discovery-qnvtz2t2.js → filesystem-ft91cex6.js} +13 -13
- package/dist/chunks/{instruction-discovery-hfffyp2t.js → filesystem-fwke0v11.js} +12 -12
- package/dist/chunks/{instruction-discovery-vba8q50y.js → filesystem-fxstjx9a.js} +10 -10
- package/dist/chunks/{instruction-discovery-b26ddj6h.js → filesystem-g4txs7zc.js} +4 -4
- package/dist/chunks/{instruction-discovery-3yg3yfc8.js → filesystem-g5a4a3mq.js} +14 -14
- package/dist/chunks/{instruction-discovery-46edcy5z.js → filesystem-g6aam94y.js} +18 -18
- package/dist/chunks/{instruction-discovery-2pvfmx83.js → filesystem-gatcy5wf.js} +15 -15
- package/dist/chunks/{instruction-discovery-jewn735m.js → filesystem-gbetm1xc.js} +2 -2
- package/dist/chunks/{instruction-discovery-gbjdnr5j.js → filesystem-gbjdnr5j.js} +2 -2
- package/dist/chunks/{instruction-discovery-kvzqn3zd.js → filesystem-gfgvxw2h.js} +1 -1
- package/dist/chunks/{instruction-discovery-ghrv1g9c.js → filesystem-ghrv1g9c.js} +1 -1
- package/dist/chunks/{instruction-discovery-nk4zbsjk.js → filesystem-gshvyxec.js} +5 -5
- package/dist/chunks/{instruction-discovery-5f16dwav.js → filesystem-gx76kxxn.js} +11 -11
- package/dist/chunks/{instruction-discovery-sxnf7z66.js → filesystem-gzm4ykdm.js} +21 -21
- package/dist/chunks/{instruction-discovery-4vzr2b15.js → filesystem-h5chy42v.js} +3 -3
- package/dist/chunks/{instruction-discovery-mhjnrb9y.js → filesystem-h6e51344.js} +10 -10
- package/dist/chunks/{instruction-discovery-4apw5rjv.js → filesystem-h7ccewpy.js} +3 -3
- package/dist/chunks/{instruction-discovery-6zk77rv1.js → filesystem-h8apfp5a.js} +14 -14
- package/dist/chunks/{instruction-discovery-8k0n5fmy.js → filesystem-h8bg152s.js} +12 -12
- package/dist/chunks/{instruction-discovery-2zw0bpzz.js → filesystem-he2040d4.js} +5 -5
- package/dist/chunks/{instruction-discovery-hgzwgvze.js → filesystem-hgzwgvze.js} +2 -2
- package/dist/chunks/{instruction-discovery-znyqp5km.js → filesystem-hh8a7g2z.js} +18 -18
- package/dist/chunks/{instruction-discovery-p8v9r4cy.js → filesystem-hn0c49ha.js} +3 -3
- package/dist/chunks/{instruction-discovery-yrzzffpc.js → filesystem-hpsk3ppz.js} +13 -13
- package/dist/chunks/{instruction-discovery-j1j5a4cs.js → filesystem-hs74eps7.js} +11 -11
- package/dist/chunks/filesystem-hv4b246c.js +35 -0
- package/dist/chunks/{instruction-discovery-6b1atqrz.js → filesystem-hwpa77gc.js} +83 -83
- package/dist/chunks/{instruction-discovery-tfn15285.js → filesystem-hww7tg5r.js} +18 -18
- package/dist/chunks/{instruction-discovery-g72wprn0.js → filesystem-j1ftk7bn.js} +15 -15
- package/dist/chunks/{instruction-discovery-mqc7jytp.js → filesystem-j26j1va9.js} +9 -9
- package/dist/chunks/{instruction-discovery-tr8x705m.js → filesystem-j376ae4e.js} +5 -5
- package/dist/chunks/{instruction-discovery-fyecaaqs.js → filesystem-j4qxbzz7.js} +13 -13
- package/dist/chunks/{instruction-discovery-9gzp3xxs.js → filesystem-j6xgaej1.js} +14 -14
- package/dist/chunks/{instruction-discovery-ze75qvmd.js → filesystem-j9nxzz3g.js} +3 -3
- package/dist/chunks/{instruction-discovery-jm70asfg.js → filesystem-jm70asfg.js} +1 -1
- package/dist/chunks/{instruction-discovery-9v8y74jx.js → filesystem-jngkd2xt.js} +20 -20
- package/dist/chunks/{instruction-discovery-jv5ccajn.js → filesystem-jv5ccajn.js} +2 -2
- package/dist/chunks/{instruction-discovery-44pmzq9c.js → filesystem-jxd6f16v.js} +2 -2
- package/dist/chunks/{instruction-discovery-qp2bqrv2.js → filesystem-jycw55y7.js} +4 -4
- package/dist/chunks/{instruction-discovery-tyyndmaj.js → filesystem-k2r0m066.js} +12 -12
- package/dist/chunks/{instruction-discovery-e4n07h02.js → filesystem-k77faqfm.js} +7 -7
- package/dist/chunks/{instruction-discovery-hewrhn21.js → filesystem-k8tgqm9f.js} +16 -16
- package/dist/chunks/{instruction-discovery-kj9n5bvh.js → filesystem-kj9n5bvh.js} +1 -1
- package/dist/chunks/{instruction-discovery-qbgm4r04.js → filesystem-kkg2t6c6.js} +40 -40
- package/dist/chunks/{instruction-discovery-7nqkf5r1.js → filesystem-kmekj7m2.js} +4 -4
- package/dist/chunks/{instruction-discovery-n320gsn2.js → filesystem-kq4fnwb1.js} +4 -4
- package/dist/chunks/{instruction-discovery-s32axedd.js → filesystem-kr8bp0nb.js} +5 -5
- package/dist/chunks/{instruction-discovery-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
- package/dist/chunks/{instruction-discovery-sbwwra50.js → filesystem-kwf3mc6b.js} +4 -4
- package/dist/chunks/filesystem-kwjwsaah.js +26 -0
- package/dist/chunks/{instruction-discovery-w4enjgdf.js → filesystem-kx57agve.js} +15 -15
- package/dist/chunks/{instruction-discovery-7z3k0amd.js → filesystem-kxdwvqnx.js} +23 -23
- package/dist/chunks/{instruction-discovery-e2k92rxq.js → filesystem-kxkzc9ky.js} +24 -24
- package/dist/chunks/{instruction-discovery-kzczzf4v.js → filesystem-kzczzf4v.js} +1 -1
- package/dist/chunks/{instruction-discovery-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{instruction-discovery-m90tx7mw.js → filesystem-m90tx7mw.js} +1 -1
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-x52vwb3b.js → filesystem-madhs7qf.js} +3 -3
- package/dist/chunks/{instruction-discovery-mb7mbhnz.js → filesystem-mb7mbhnz.js} +3 -3
- package/dist/chunks/{instruction-discovery-881j5wbk.js → filesystem-mf0kks93.js} +17 -17
- package/dist/chunks/{instruction-discovery-cww6fxth.js → filesystem-mnmjr1v5.js} +16 -16
- package/dist/chunks/{instruction-discovery-htp3v7c6.js → filesystem-mnx4hk0n.js} +8 -8
- package/dist/chunks/{instruction-discovery-y4nwfrre.js → filesystem-mpp1y76d.js} +19 -19
- package/dist/chunks/{instruction-discovery-6ncy35y2.js → filesystem-mpq3970x.js} +12 -12
- package/dist/chunks/{instruction-discovery-0c1h5397.js → filesystem-mwbh0fme.js} +14 -14
- package/dist/chunks/{instruction-discovery-xvgk7gyc.js → filesystem-mz3k47ct.js} +3 -3
- package/dist/chunks/{instruction-discovery-2mdc9532.js → filesystem-n1q9dan8.js} +86 -86
- package/dist/chunks/{instruction-discovery-w3dv62af.js → filesystem-n2tfgszc.js} +7 -7
- package/dist/chunks/{instruction-discovery-p94p4v4n.js → filesystem-n3j33rb6.js} +4 -4
- package/dist/chunks/{instruction-discovery-yx1qqaw2.js → filesystem-nc4bhxkd.js} +16 -16
- package/dist/chunks/{instruction-discovery-6g42hr39.js → filesystem-ntnvj5mg.js} +7 -7
- package/dist/chunks/{instruction-discovery-d2s54vh2.js → filesystem-nw3gtmag.js} +7 -7
- package/dist/chunks/{instruction-discovery-c7c8tg0t.js → filesystem-nw8met9v.js} +38 -38
- package/dist/chunks/{instruction-discovery-4v3pcqtp.js → filesystem-nwda1bfv.js} +19 -19
- package/dist/chunks/{instruction-discovery-1yq9hg58.js → filesystem-p7vhpwh8.js} +5 -5
- package/dist/chunks/{instruction-discovery-56qf5pkg.js → filesystem-pa971bt4.js} +8 -8
- package/dist/chunks/{instruction-discovery-58bqby8s.js → filesystem-pg8c6wdy.js} +12 -12
- package/dist/chunks/{instruction-discovery-d3trzhn7.js → filesystem-pk5ktw9t.js} +47 -47
- package/dist/chunks/{instruction-discovery-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-etrnj9s7.js → filesystem-pnwsrq7c.js} +8 -8
- package/dist/chunks/{instruction-discovery-df00vpge.js → filesystem-pp3k6pe8.js} +21 -21
- package/dist/chunks/{instruction-discovery-rj7j5fvs.js → filesystem-px7qpgcn.js} +4 -4
- package/dist/chunks/{instruction-discovery-sspx505g.js → filesystem-q3n6jbga.js} +52 -52
- package/dist/chunks/{instruction-discovery-c4trrgtk.js → filesystem-q50958an.js} +4 -4
- package/dist/chunks/{instruction-discovery-51beeett.js → filesystem-q7qbye6s.js} +35 -35
- package/dist/chunks/{instruction-discovery-z23bdzz9.js → filesystem-qfsm01t2.js} +32 -32
- package/dist/chunks/{instruction-discovery-vnt6tp0c.js → filesystem-qhxa6c6a.js} +39 -39
- package/dist/chunks/{instruction-discovery-cxab28sr.js → filesystem-qk5sk9d1.js} +7 -7
- package/dist/chunks/{instruction-discovery-dqr8k8k1.js → filesystem-qkaww9q1.js} +11 -11
- package/dist/chunks/{instruction-discovery-mhs3my2j.js → filesystem-qp2996hh.js} +14 -8
- package/dist/chunks/{instruction-discovery-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
- package/dist/chunks/{instruction-discovery-rrt9n5y1.js → filesystem-qz4vhj1z.js} +22 -22
- package/dist/chunks/{instruction-discovery-4fxfq119.js → filesystem-r0jx365g.js} +11 -11
- package/dist/chunks/{instruction-discovery-xacrkbdt.js → filesystem-r17fbvme.js} +4 -4
- package/dist/chunks/{instruction-discovery-9v1p8cr8.js → filesystem-r1x3rphc.js} +36 -36
- package/dist/chunks/{instruction-discovery-h38wmyv2.js → filesystem-r2xmn65f.js} +31 -31
- package/dist/chunks/{instruction-discovery-5enarcya.js → filesystem-r41sfy63.js} +9 -9
- package/dist/chunks/{instruction-discovery-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instruction-discovery-p76me67c.js → filesystem-rbg54dp1.js} +4 -4
- package/dist/chunks/{instruction-discovery-rgc9cx3e.js → filesystem-rgc9cx3e.js} +2 -2
- package/dist/chunks/{instruction-discovery-ss1xw8cf.js → filesystem-rge58vnh.js} +18 -18
- package/dist/chunks/{instruction-discovery-2tfft3sg.js → filesystem-rh3ncdjm.js} +6 -6
- package/dist/chunks/{instruction-discovery-8wgcnn8x.js → filesystem-rm9v0bwn.js} +12 -12
- package/dist/chunks/{instruction-discovery-2p60zmnr.js → filesystem-s1ba0vj0.js} +2 -2
- package/dist/chunks/{instruction-discovery-c1sfsxsr.js → filesystem-s5zrq09q.js} +8 -8
- package/dist/chunks/{instruction-discovery-ma610d6h.js → filesystem-s8kfvqtc.js} +4 -4
- package/dist/chunks/{instruction-discovery-sbya78hr.js → filesystem-sbya78hr.js} +1 -1
- package/dist/chunks/{instruction-discovery-x150ncgg.js → filesystem-sdn2zcx3.js} +2 -2
- package/dist/chunks/{instruction-discovery-v304z5qp.js → filesystem-sh6sjrys.js} +2 -2
- package/dist/chunks/{instruction-discovery-0j7gp832.js → filesystem-sqjzf8x2.js} +4 -4
- package/dist/chunks/{instruction-discovery-myqgwh25.js → filesystem-svaf9hke.js} +37 -37
- package/dist/chunks/{instruction-discovery-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
- package/dist/chunks/{instruction-discovery-27b5kgf3.js → filesystem-t190ewm6.js} +7 -7
- package/dist/chunks/{instruction-discovery-y1n277rb.js → filesystem-t48jrnqq.js} +3 -3
- package/dist/chunks/{instruction-discovery-v4bj6baw.js → filesystem-tb2mrvc9.js} +4 -4
- package/dist/chunks/{instruction-discovery-tbpn7jtk.js → filesystem-tbpn7jtk.js} +1 -1
- package/dist/chunks/{instruction-discovery-cy8my17p.js → filesystem-tc7r93jj.js} +6 -6
- package/dist/chunks/{instruction-discovery-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{instruction-discovery-mhnsj6re.js → filesystem-tf77d83d.js} +31 -31
- package/dist/chunks/{instruction-discovery-gxs71cxp.js → filesystem-tg7s7b5t.js} +4 -4
- package/dist/chunks/{instruction-discovery-c778ygtz.js → filesystem-thkr7sfr.js} +9 -9
- package/dist/chunks/{instruction-discovery-k9jm3edz.js → filesystem-tjpnqare.js} +10 -10
- package/dist/chunks/{instruction-discovery-94wn1mc5.js → filesystem-tn1by9h5.js} +23 -23
- package/dist/chunks/{instruction-discovery-tv99e7gw.js → filesystem-tr6gb3ke.js} +16 -16
- package/dist/chunks/{instruction-discovery-tvtps2q9.js → filesystem-tvtps2q9.js} +1 -1
- package/dist/chunks/{instruction-discovery-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
- package/dist/chunks/{instruction-discovery-mv39kpx4.js → filesystem-txdz8mmb.js} +8 -8
- package/dist/chunks/{instruction-discovery-wd93ek5c.js → filesystem-txgc4ptp.js} +16 -16
- package/dist/chunks/{instruction-discovery-9y8sz18v.js → filesystem-v15cxm8r.js} +9 -9
- package/dist/chunks/{instruction-discovery-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instruction-discovery-vjf35v1f.js → filesystem-vjf35v1f.js} +1 -1
- package/dist/chunks/{instruction-discovery-yepd7x5v.js → filesystem-vjhrddsw.js} +5 -5
- package/dist/chunks/{instruction-discovery-jqyrzb5z.js → filesystem-vk0z4zg0.js} +23 -23
- package/dist/chunks/{instruction-discovery-jk3np0zg.js → filesystem-vnt99xy7.js} +2 -2
- package/dist/chunks/{instruction-discovery-h91vm5r2.js → filesystem-vq0qa3sh.js} +9 -9
- package/dist/chunks/{instruction-discovery-wvr8xscb.js → filesystem-vwcz1f45.js} +5 -5
- package/dist/chunks/{instruction-discovery-y660wfqf.js → filesystem-vzydmz2c.js} +14 -14
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-495vdj1c.js → filesystem-w48gbg6x.js} +8 -8
- package/dist/chunks/{instruction-discovery-dpa26g0y.js → filesystem-w5r8nw58.js} +18 -18
- package/dist/chunks/{instruction-discovery-xfssasxx.js → filesystem-w83qxrsc.js} +8 -8
- package/dist/chunks/{instruction-discovery-2vmes2jj.js → filesystem-w8jdb2jn.js} +14 -14
- package/dist/chunks/{instruction-discovery-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{instruction-discovery-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-qh55xb1q.js → filesystem-wd8c1es6.js} +46 -46
- package/dist/chunks/{instruction-discovery-e20m5vpy.js → filesystem-wedze56r.js} +17 -17
- package/dist/chunks/{instruction-discovery-wegkxhrn.js → filesystem-wegkxhrn.js} +2 -2
- package/dist/chunks/{instruction-discovery-v4fnvjqa.js → filesystem-wn6h1xmg.js} +52 -52
- package/dist/chunks/{instruction-discovery-w687dnns.js → filesystem-wr3re1en.js} +4 -4
- package/dist/chunks/{instruction-discovery-6t40r86m.js → filesystem-wxgjsayh.js} +11 -11
- package/dist/chunks/{instruction-discovery-d49ngaxv.js → filesystem-x645n76j.js} +23 -23
- package/dist/chunks/{instruction-discovery-tqjx2vg6.js → filesystem-x82r7ffc.js} +21 -21
- package/dist/chunks/{instruction-discovery-h100vy7q.js → filesystem-xdmazz3w.js} +33 -33
- package/dist/chunks/{instruction-discovery-k21bxb8h.js → filesystem-xgjg0k83.js} +12 -12
- package/dist/chunks/{instruction-discovery-xxschbft.js → filesystem-xjr6c8m4.js} +4 -4
- package/dist/chunks/{instruction-discovery-b7nkz392.js → filesystem-xtq9xpt1.js} +1 -1
- package/dist/chunks/{instruction-discovery-cfbg5xqr.js → filesystem-xy63rwa2.js} +5 -5
- package/dist/chunks/{instruction-discovery-dasdv6ax.js → filesystem-y1jg12an.js} +9 -9
- package/dist/chunks/{instruction-discovery-ftwtj193.js → filesystem-y4h9vdhr.js} +9 -9
- package/dist/chunks/{instruction-discovery-8tapm24k.js → filesystem-y8wtdb2c.js} +41 -41
- package/dist/chunks/{instruction-discovery-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{instruction-discovery-db7xqzv8.js → filesystem-ycyeq6c3.js} +20 -20
- package/dist/chunks/{instruction-discovery-50k5bes4.js → filesystem-yhx801ee.js} +5 -5
- package/dist/chunks/{instruction-discovery-yf6pqjwa.js → filesystem-ykvbdmjf.js} +9 -9
- package/dist/chunks/{instruction-discovery-yr705xyq.js → filesystem-yr705xyq.js} +1 -1
- package/dist/chunks/{instruction-discovery-yvtc2x31.js → filesystem-yvtc2x31.js} +1 -1
- package/dist/chunks/{instruction-discovery-vggvrbn0.js → filesystem-z1ma5m5g.js} +7 -7
- package/dist/chunks/{instruction-discovery-j8cxwgns.js → filesystem-z6p3htzk.js} +11 -11
- package/dist/chunks/{instruction-discovery-gc2mx407.js → filesystem-z9tq0y3w.js} +21 -21
- package/dist/chunks/{instruction-discovery-8p7trcr7.js → filesystem-zf9mw93b.js} +20 -20
- package/dist/chunks/{instruction-discovery-1w3geam7.js → filesystem-zq6pgs90.js} +146 -146
- package/dist/chunks/{instruction-discovery-2s4n401s.js → filesystem-zqng6tfv.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +149 -149
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +156 -156
- package/dist/command.js +88 -88
- 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 +134 -134
- package/dist/config/plugin/command.js +245 -245
- package/dist/config/plugin/compaction.js +174 -174
- package/dist/config/plugin/compatibility.js +154 -154
- 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 +131 -131
- 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 +150 -150
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +157 -157
- 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 +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +88 -88
- 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 +98 -98
- package/dist/effect/app-node-builder.js +442 -442
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +81 -81
- package/dist/file-access.js +161 -161
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +165 -165
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +255 -255
- package/dist/filesystem/protected.js +1 -1
- 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 +116 -116
- package/dist/flag.js +136 -136
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +123 -123
- package/dist/git.js +7 -7
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +3 -3
- 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 +433 -433
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +183 -183
- package/dist/location-lifecycle.js +154 -154
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +430 -430
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +159 -159
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +158 -158
- 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 +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +246 -246
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +411 -411
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +150 -150
- 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 +134 -134
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- 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 +3 -3
- 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 +115 -115
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +111 -111
- 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 +3 -3
- 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 +4 -4
- 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 +110 -110
- 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 +141 -141
- package/dist/plugin/provider/local.js +138 -138
- 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 +141 -141
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +134 -134
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +162 -162
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +90 -90
- 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 +132 -132
- package/dist/plugin/provider/vllm.js +141 -141
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +240 -240
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +151 -151
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +421 -421
- 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 +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +103 -103
- 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 +101 -101
- package/dist/reference.js +99 -99
- 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 +251 -251
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +259 -259
- 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 +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +176 -176
- package/dist/session/context.js +206 -206
- 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 +265 -265
- package/dist/session/execution.js +168 -168
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +147 -147
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +172 -172
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +168 -168
- package/dist/session/projector.js +147 -147
- package/dist/session/prompt.js +152 -152
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +143 -143
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +259 -259
- 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 +154 -154
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +167 -167
- package/dist/session/runner/to-llm-message.js +141 -141
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +192 -192
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +151 -151
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +146 -146
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +242 -242
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +246 -246
- package/dist/session/usage.js +1 -1
- package/dist/session.js +240 -240
- 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 +2 -2
- package/dist/skill/instructions.js +153 -153
- package/dist/skill.js +154 -154
- 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 +187 -187
- package/dist/tool/plugin/artifact.js +241 -241
- package/dist/tool/plugin/edit.js +171 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +173 -173
- package/dist/tool/plugin/grep.js +172 -172
- package/dist/tool/plugin/image-generate.js +250 -250
- package/dist/tool/plugin/mcp-resource.js +170 -170
- package/dist/tool/plugin/opencode.js +167 -167
- package/dist/tool/plugin/patch.js +172 -172
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +176 -176
- package/dist/tool/plugin/schedule.js +257 -257
- package/dist/tool/plugin/shell.js +244 -244
- package/dist/tool/plugin/skill.js +161 -161
- package/dist/tool/plugin/subagent.js +249 -249
- package/dist/tool/plugin/todo.js +157 -157
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +172 -172
- package/dist/tool/read-filesystem.js +116 -116
- 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 +166 -166
- package/dist/usage-limits.js +100 -100
- 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 +4 -4
- package/dist/variant.js +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- 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 +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-aqczazaa.js +0 -16
- package/dist/chunks/instruction-discovery-d0qk8x1g.js +0 -579
- package/dist/chunks/instruction-discovery-d77dj7jw.js +0 -18
- package/dist/chunks/instruction-discovery-g50gdqzq.js +0 -26
- package/dist/chunks/instruction-discovery-pzbqcy5h.js +0 -35
- package/dist/chunks/instruction-discovery-tbbbsrjp.js +0 -273
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kah00gy.js → filesystem-1kah00gy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4qk9sjk2.js → filesystem-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6agm2x70.js → filesystem-6agm2x70.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7rvsyqjv.js → filesystem-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ean2d8b5.js → filesystem-ean2d8b5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-syrav9an.js → filesystem-syrav9an.js} +0 -0
- /package/dist/chunks/{instruction-discovery-t03h4f5z.js → filesystem-t03h4f5z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ty7weeps.js → filesystem-ty7weeps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-v2dnd5dt.js → filesystem-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-vtarvj67.js → filesystem-vtarvj67.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x4th4bpe.js → filesystem-x4th4bpe.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-zxpyjp51.js → filesystem-zxpyjp51.js} +0 -0
- /package/dist/chunks/{instruction-discovery-zz5vv3aq.js → filesystem-zz5vv3aq.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-hv4b246c.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-r41sfy63.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
register2
|
|
9
|
+
} from "./filesystem-xjr6c8m4.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/websearch/parallel.ts
|
|
15
15
|
var exports_parallel = {};
|
|
16
16
|
__export(exports_parallel, {
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin26,
|
|
18
18
|
WebSearchParallel: () => exports_parallel,
|
|
19
|
-
endpoint: () =>
|
|
19
|
+
endpoint: () => endpoint6
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Schema } from "effect";
|
|
23
23
|
import { HttpClient } from "effect/http";
|
|
24
|
-
var
|
|
24
|
+
var endpoint6 = "https://search.parallel.ai/mcp";
|
|
25
25
|
var McpInput = Schema.Struct({
|
|
26
26
|
objective: Schema.String,
|
|
27
27
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -50,16 +50,16 @@ var McpOutput = Schema.Struct({
|
|
|
50
50
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
51
51
|
structuredContent: SearchResponse
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Plugin26 = define({
|
|
54
54
|
id: "opencode.websearch.parallel",
|
|
55
55
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
56
56
|
const http = yield* HttpClient.HttpClient;
|
|
57
|
-
yield*
|
|
57
|
+
yield* register2(ctx, {
|
|
58
58
|
id: "parallel",
|
|
59
59
|
name: "Parallel",
|
|
60
60
|
env: "PARALLEL_API_KEY",
|
|
61
61
|
execute: (input, credential) => Effect.gen(function* () {
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
|
|
63
63
|
objective: input.query,
|
|
64
64
|
search_queries: [input.query]
|
|
65
65
|
}, {
|
|
@@ -82,4 +82,4 @@ var Plugin22 = define({
|
|
|
82
82
|
})
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { endpoint6, Plugin26, exports_parallel };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/websearch/provider.ts
|
|
6
6
|
var exports_provider = {};
|
|
7
7
|
__export(exports_provider, {
|
|
8
8
|
WebSearchProvider: () => exports_provider,
|
|
9
|
-
register: () =>
|
|
9
|
+
register: () => register2
|
|
10
10
|
});
|
|
11
11
|
import { Effect } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var register2 = Effect.fn("WebSearchProvider.register")(function* (ctx, provider) {
|
|
13
13
|
yield* ctx.integration.transform((editor) => {
|
|
14
14
|
editor.update(provider.id, (integration) => integration.name = provider.name);
|
|
15
15
|
editor.method.update({
|
|
@@ -34,4 +34,4 @@ var register3 = Effect.fn("WebSearchProvider.register")(function* (ctx, provider
|
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { register2, exports_provider };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizeContent2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-7rvsyqjv.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/tool-input-repair.ts
|
|
10
10
|
var exports_tool_input_repair = {};
|
|
11
11
|
__export(exports_tool_input_repair, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin29,
|
|
13
13
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
14
14
|
});
|
|
15
15
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -18,7 +18,7 @@ import { Effect, Option, Predicate, Schema } from "effect";
|
|
|
18
18
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
19
19
|
var maxDepth = 6;
|
|
20
20
|
var aliases = new Map([["bash", "shell"]]);
|
|
21
|
-
var
|
|
21
|
+
var Plugin29 = define({
|
|
22
22
|
id: "opencode.tool.input.repair",
|
|
23
23
|
effect: (ctx) => Effect.gen(function* () {
|
|
24
24
|
const aliased = new Map;
|
|
@@ -153,4 +153,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
153
153
|
return compatible ? [repaired] : value;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Plugin29, exports_tool_input_repair };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-hv4b246c.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-r41sfy63.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
register2
|
|
9
|
+
} from "./filesystem-xjr6c8m4.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/websearch/firecrawl.ts
|
|
15
15
|
var exports_firecrawl = {};
|
|
16
16
|
__export(exports_firecrawl, {
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin25,
|
|
18
18
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
19
19
|
endpoint: () => endpoint5
|
|
20
20
|
});
|
|
@@ -40,11 +40,11 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
40
40
|
})
|
|
41
41
|
}));
|
|
42
42
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
43
|
-
var
|
|
43
|
+
var Plugin25 = define({
|
|
44
44
|
id: "opencode.websearch.firecrawl",
|
|
45
45
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
46
46
|
const http = yield* HttpClient.HttpClient;
|
|
47
|
-
yield*
|
|
47
|
+
yield* register2(ctx, {
|
|
48
48
|
id: "firecrawl",
|
|
49
49
|
name: "Firecrawl",
|
|
50
50
|
env: "FIRECRAWL_API_KEY",
|
|
@@ -66,4 +66,4 @@ var Plugin24 = define({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
export { endpoint5,
|
|
69
|
+
export { endpoint5, Plugin25, exports_firecrawl };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./filesystem-6j19asys.js";
|
|
4
4
|
import {
|
|
5
5
|
definition2,
|
|
6
6
|
normalizedName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-7rvsyqjv.js";
|
|
8
8
|
import {
|
|
9
9
|
toSessionError2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-1zd29w7p.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service53
|
|
13
|
+
} from "./filesystem-1xjver7d.js";
|
|
14
14
|
import {
|
|
15
15
|
extension2,
|
|
16
16
|
display2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-3v1jab5g.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/codemode/tool.ts
|
|
23
23
|
var exports_tool2 = {};
|
|
@@ -104,7 +104,7 @@ var create3 = (inventory, executeTool, permission, flag) => {
|
|
|
104
104
|
return resultValue(executed);
|
|
105
105
|
}),
|
|
106
106
|
hooks: progressHooks(record)
|
|
107
|
-
}), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(
|
|
107
|
+
}), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service53, context), Effect.provideService(Service67, permission));
|
|
108
108
|
const toolCalls = yield* Ref.get(calls);
|
|
109
109
|
const collected = (yield* Ref.get(files)).toSorted((left, right) => left.index - right.index).flatMap((item) => item.files);
|
|
110
110
|
const output = formatResult(result);
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./filesystem-491q2x3b.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service85
|
|
7
|
+
} from "./filesystem-tr6gb3ke.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service73
|
|
11
|
+
} from "./filesystem-pk5ktw9t.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-6q8jj3zs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service59
|
|
17
|
+
} from "./filesystem-ft91cex6.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service67
|
|
22
|
+
} from "./filesystem-6j19asys.js";
|
|
23
23
|
import {
|
|
24
24
|
Service25
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-0x2ag7me.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-sqjzf8x2.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service7
|
|
31
|
+
} from "./filesystem-5pah5g87.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input5,
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin5,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description3,
|
|
44
|
+
name: () => name5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name5 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -57,7 +57,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
57
57
|
].join(`
|
|
58
58
|
`)
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input5 = Schema.Struct({
|
|
61
61
|
agent: Schema.String.annotate({
|
|
62
62
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
63
63
|
}),
|
|
@@ -73,12 +73,12 @@ var Input12 = Schema.Struct({
|
|
|
73
73
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
|
-
var
|
|
76
|
+
var Output4 = Schema.Struct({
|
|
77
77
|
sessionID: SessionSchema2.ID,
|
|
78
78
|
status: Schema.Literals(["completed", "running"]),
|
|
79
79
|
output: Schema.String
|
|
80
80
|
});
|
|
81
|
-
var
|
|
81
|
+
var description3 = [
|
|
82
82
|
"Spawns an agent in a child session to work on the specified task.",
|
|
83
83
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
84
84
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -87,16 +87,16 @@ var description7 = [
|
|
|
87
87
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
88
88
|
].join(`
|
|
89
89
|
`);
|
|
90
|
-
var
|
|
90
|
+
var Plugin5 = {
|
|
91
91
|
id: "opencode.tool.subagent",
|
|
92
92
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
93
93
|
const sessions = yield* Service25;
|
|
94
|
-
const jobs = yield*
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const config = yield*
|
|
97
|
-
const permission = yield*
|
|
98
|
-
const models = yield*
|
|
99
|
-
const subagents = yield*
|
|
94
|
+
const jobs = yield* Service59;
|
|
95
|
+
const agents = yield* Service71;
|
|
96
|
+
const config = yield* Service73;
|
|
97
|
+
const permission = yield* Service67;
|
|
98
|
+
const models = yield* Service85;
|
|
99
|
+
const subagents = yield* Service7;
|
|
100
100
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
101
101
|
const ref = yield* Effect.try({
|
|
102
102
|
try: () => Ref3.parse(input),
|
|
@@ -118,11 +118,11 @@ var Plugin52 = {
|
|
|
118
118
|
return ref;
|
|
119
119
|
});
|
|
120
120
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
121
|
-
name:
|
|
121
|
+
name: name5,
|
|
122
122
|
options: { codemode: false },
|
|
123
|
-
description:
|
|
124
|
-
input:
|
|
125
|
-
output:
|
|
123
|
+
description: description3,
|
|
124
|
+
input: Input5,
|
|
125
|
+
output: Output4,
|
|
126
126
|
execute: (input, context) => Effect.gen(function* () {
|
|
127
127
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
128
128
|
let current = parent;
|
|
@@ -142,7 +142,7 @@ var Plugin52 = {
|
|
|
142
142
|
if (agent.mode === "primary")
|
|
143
143
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
144
144
|
yield* permission.assert({
|
|
145
|
-
action:
|
|
145
|
+
action: name5,
|
|
146
146
|
resources: [agent.id],
|
|
147
147
|
save: [agent.id],
|
|
148
148
|
...invocation2(context)
|
|
@@ -215,7 +215,7 @@ ${output.output}
|
|
|
215
215
|
})))
|
|
216
216
|
})).pipe(Effect.orDie);
|
|
217
217
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
218
|
-
if (event.tool !==
|
|
218
|
+
if (event.tool !== name5 || !Predicate.isObject(event.input))
|
|
219
219
|
return;
|
|
220
220
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
221
221
|
return;
|
|
@@ -227,13 +227,13 @@ ${output.output}
|
|
|
227
227
|
event.input = input;
|
|
228
228
|
}));
|
|
229
229
|
const hook = (event) => Effect.gen(function* () {
|
|
230
|
-
const tool = event.tools[
|
|
230
|
+
const tool = event.tools[name5];
|
|
231
231
|
if (!tool)
|
|
232
232
|
return;
|
|
233
233
|
const selected = yield* agents.resolve(event.agent);
|
|
234
234
|
if (!selected)
|
|
235
235
|
return;
|
|
236
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
236
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
237
237
|
if (available.length === 0)
|
|
238
238
|
return;
|
|
239
239
|
tool.description = [
|
|
@@ -250,4 +250,4 @@ ${output.output}
|
|
|
250
250
|
})
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
export {
|
|
253
|
+
export { name5, Input5, Output4, description3, Plugin5, exports_subagent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-96xmncfy.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID20,
|
|
20
|
+
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError13,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service90,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
28
|
layer: () => layer29,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node92,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID20 = Form.ID;
|
|
39
|
+
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID20
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID20
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID20
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID20,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service90 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer29 = Layer.effect(
|
|
84
|
+
var layer29 = Layer.effect(Service90, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service93;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -90,7 +90,7 @@ var layer29 = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError13({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID20.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer29 = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service90.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node92 = makeLocationNode({ service: Service90, layer: layer29, deps: [node95] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID20, Info30, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service90, layer29, node92, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service87
|
|
6
|
+
} from "./filesystem-j4qxbzz7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service87;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./filesystem-9yqjp86x.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-f8ma18fn.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-c1bfpsqy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./filesystem-mwbh0fme.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service58;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service90
|
|
3
|
+
} from "./filesystem-ycyeq6c3.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./filesystem-6j19asys.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/tool/plugin/question.ts
|
|
13
13
|
var exports_question = {};
|
|
@@ -54,8 +54,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
54
54
|
var Plugin55 = {
|
|
55
55
|
id: "opencode.tool.question",
|
|
56
56
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
57
|
-
const forms = yield*
|
|
58
|
-
const permission = yield*
|
|
57
|
+
const forms = yield* Service90;
|
|
58
|
+
const permission = yield* Service67;
|
|
59
59
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
60
60
|
name: name15,
|
|
61
61
|
options: { codemode: false },
|