@opencode/core 0.0.0-dev-1113 → 0.0.0-dev-1136
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 +86 -86
- package/dist/aisdk-native.js +13 -102
- package/dist/aisdk.js +109 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +248 -247
- package/dist/bus.js +80 -80
- package/dist/chunks/{event-logger-esrbs7gn.js → usage-limits-007v2xwb.js} +11 -11
- package/dist/chunks/{event-logger-znhaxcg6.js → usage-limits-00tzm6xw.js} +10 -10
- package/dist/chunks/{event-logger-1sxb3psr.js → usage-limits-00wmrtha.js} +21 -21
- package/dist/chunks/{event-logger-pmzch7m4.js → usage-limits-01zfkgbg.js} +33 -33
- package/dist/chunks/{event-logger-034tev2y.js → usage-limits-034tev2y.js} +2 -2
- package/dist/chunks/{event-logger-18fzkjp1.js → usage-limits-07zvewtp.js} +27 -27
- package/dist/chunks/{event-logger-66fdrqh3.js → usage-limits-0bdk8pxj.js} +5 -5
- package/dist/chunks/{event-logger-0j7gp832.js → usage-limits-0j7gp832.js} +1 -1
- package/dist/chunks/{event-logger-0ma9gw4f.js → usage-limits-0ma9gw4f.js} +2 -2
- package/dist/chunks/{event-logger-0n720z3p.js → usage-limits-0n720z3p.js} +3 -3
- package/dist/chunks/{event-logger-t2pwp6ga.js → usage-limits-0p1t9ayv.js} +6 -4
- package/dist/chunks/{event-logger-xs3mct42.js → usage-limits-0sqkmrgk.js} +31 -31
- package/dist/chunks/{event-logger-3nwc4br8.js → usage-limits-0v9zvpyd.js} +11 -11
- package/dist/chunks/{event-logger-vsy95w6y.js → usage-limits-0xzz5bc5.js} +4 -4
- package/dist/chunks/{event-logger-p9bdt98v.js → usage-limits-13g31adg.js} +11 -11
- package/dist/chunks/{event-logger-b69bmpdt.js → usage-limits-14vpqtw6.js} +7 -7
- package/dist/chunks/{event-logger-j89vgk1a.js → usage-limits-163rzv3x.js} +4 -4
- package/dist/chunks/{event-logger-kkcr90y5.js → usage-limits-18ftbw9s.js} +42 -42
- package/dist/chunks/{event-logger-1aqsckx4.js → usage-limits-1aqsckx4.js} +1 -1
- package/dist/chunks/{event-logger-navtns2p.js → usage-limits-1ce0p61k.js} +4 -4
- package/dist/chunks/{event-logger-1ep2p91f.js → usage-limits-1ep2p91f.js} +2 -2
- package/dist/chunks/{event-logger-xxhqt9fy.js → usage-limits-1h178xsr.js} +12 -12
- package/dist/chunks/{event-logger-1g59n4ke.js → usage-limits-1j2q7rrr.js} +45 -45
- package/dist/chunks/{event-logger-1eycap5a.js → usage-limits-1jh4g484.js} +6 -4
- package/dist/chunks/{event-logger-msd2a3qm.js → usage-limits-1v2g13eq.js} +4 -4
- package/dist/chunks/{event-logger-1x2knyw4.js → usage-limits-1x2knyw4.js} +1 -1
- package/dist/chunks/{event-logger-gdjvy95e.js → usage-limits-1xx8jyp0.js} +1 -1
- package/dist/chunks/{event-logger-1yq9hg58.js → usage-limits-1yq9hg58.js} +1 -1
- package/dist/chunks/{event-logger-1405v0ft.js → usage-limits-1yrs5r5s.js} +6 -6
- package/dist/chunks/{event-logger-g19nx061.js → usage-limits-204d346f.js} +8 -8
- package/dist/chunks/{event-logger-cv6amnmh.js → usage-limits-20pht57w.js} +4 -4
- package/dist/chunks/{event-logger-pk1r23xg.js → usage-limits-22z20x00.js} +9 -7
- package/dist/chunks/{event-logger-nxa9bacs.js → usage-limits-2368y051.js} +18 -18
- package/dist/chunks/{event-logger-2fc7eemy.js → usage-limits-2fc7eemy.js} +1 -1
- package/dist/chunks/{event-logger-2p60zmnr.js → usage-limits-2p60zmnr.js} +2 -2
- package/dist/chunks/{event-logger-2wwajzba.js → usage-limits-2rqsj4wa.js} +9 -9
- package/dist/chunks/{event-logger-9rgr5dz2.js → usage-limits-2y8q1569.js} +6 -6
- package/dist/chunks/{event-logger-gqm2znwx.js → usage-limits-32720cxc.js} +10 -10
- package/dist/chunks/{event-logger-j7qckhxk.js → usage-limits-378jpew0.js} +29 -29
- package/dist/chunks/{event-logger-yk6vrpjv.js → usage-limits-37hhv4wy.js} +14 -14
- package/dist/chunks/{event-logger-3adw4bt5.js → usage-limits-3adw4bt5.js} +2 -2
- package/dist/chunks/{event-logger-hdqh66q4.js → usage-limits-3aj095vc.js} +16 -16
- package/dist/chunks/{event-logger-c33ds09z.js → usage-limits-3e5a50ew.js} +23 -23
- package/dist/chunks/{event-logger-vvgwz3r3.js → usage-limits-3gv0pst8.js} +43 -43
- package/dist/chunks/{event-logger-3hepkmqq.js → usage-limits-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-rqzcywgp.js → usage-limits-3k376a4c.js} +22 -22
- package/dist/chunks/{event-logger-3nnrz6f6.js → usage-limits-3nnrz6f6.js} +1 -1
- package/dist/chunks/{event-logger-y57z4ty1.js → usage-limits-3px36xtd.js} +7 -7
- package/dist/chunks/{event-logger-jprkdsj1.js → usage-limits-3rnrta3c.js} +14 -12
- package/dist/chunks/{event-logger-40y6dtc2.js → usage-limits-40y6dtc2.js} +1 -1
- package/dist/chunks/{event-logger-gprgc0ky.js → usage-limits-42p2d32x.js} +11 -11
- package/dist/chunks/{event-logger-44pmzq9c.js → usage-limits-44pmzq9c.js} +2 -2
- package/dist/chunks/{event-logger-czva0sbq.js → usage-limits-45n8x791.js} +3 -3
- package/dist/chunks/{event-logger-s1p4kfq2.js → usage-limits-4c54bdmv.js} +14 -14
- package/dist/chunks/{event-logger-kkb7zeg6.js → usage-limits-4dtvemx5.js} +8 -8
- package/dist/chunks/{event-logger-4dx1dgte.js → usage-limits-4dx1dgte.js} +1 -1
- package/dist/chunks/{event-logger-4f25tdd0.js → usage-limits-4f25tdd0.js} +1 -1
- package/dist/chunks/{event-logger-4pyp9zr9.js → usage-limits-4pyp9zr9.js} +1 -1
- package/dist/chunks/{event-logger-4v008n1t.js → usage-limits-4v008n1t.js} +1 -1
- package/dist/chunks/{event-logger-phj3hdak.js → usage-limits-4vk5s36p.js} +13 -13
- package/dist/chunks/{event-logger-4vzr2b15.js → usage-limits-4vzr2b15.js} +3 -3
- package/dist/chunks/{event-logger-vnyym5w5.js → usage-limits-526zrbs5.js} +17 -17
- package/dist/chunks/{event-logger-69azy48j.js → usage-limits-54cbb0bw.js} +15 -13
- package/dist/chunks/{event-logger-8ctrpnmd.js → usage-limits-5asgddgx.js} +6 -6
- package/dist/chunks/{event-logger-w2eysc6j.js → usage-limits-5enarcya.js} +6 -6
- package/dist/chunks/{event-logger-5m9w47nd.js → usage-limits-5m9w47nd.js} +1 -1
- package/dist/chunks/{event-logger-5kp10me9.js → usage-limits-5p8ng2jk.js} +5 -5
- package/dist/chunks/{event-logger-1b1b2awz.js → usage-limits-5rk89tzr.js} +10 -10
- package/dist/chunks/{event-logger-se87a3zb.js → usage-limits-5s6k48sx.js} +8 -8
- package/dist/chunks/{event-logger-3v50s0nm.js → usage-limits-5w1mdqt7.js} +4 -4
- package/dist/chunks/{event-logger-5whx36p1.js → usage-limits-5whx36p1.js} +1 -1
- package/dist/chunks/{event-logger-s4kyhetj.js → usage-limits-5zpqhmp2.js} +3 -3
- package/dist/chunks/{event-logger-k2xab646.js → usage-limits-601qms6t.js} +36 -36
- package/dist/chunks/{event-logger-trr9tcht.js → usage-limits-6529fwjr.js} +132 -132
- package/dist/chunks/usage-limits-67zk70a4.js +273 -0
- package/dist/chunks/{event-logger-jpyh1hye.js → usage-limits-6czvh5et.js} +8 -8
- package/dist/chunks/{event-logger-mbae72nx.js → usage-limits-6f38jrmr.js} +31 -31
- package/dist/chunks/{event-logger-31avdb49.js → usage-limits-6f6jm3cp.js} +5 -5
- package/dist/chunks/{event-logger-wy0eemkf.js → usage-limits-6gtbfcr3.js} +39 -39
- package/dist/chunks/{event-logger-yzmveq4t.js → usage-limits-6hmpncep.js} +4 -4
- package/dist/chunks/{event-logger-agje4kmn.js → usage-limits-6y2b864j.js} +4 -4
- package/dist/chunks/{event-logger-9gtb18mh.js → usage-limits-70rrpkbb.js} +23 -23
- package/dist/chunks/{event-logger-by9evpeq.js → usage-limits-73128jds.js} +76 -85
- package/dist/chunks/{event-logger-80mg3ag8.js → usage-limits-775hqbnd.js} +3 -3
- package/dist/chunks/{event-logger-mhs3my2j.js → usage-limits-786y1vw3.js} +5 -5
- package/dist/chunks/{event-logger-7bmhse3q.js → usage-limits-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-qc96arjj.js → usage-limits-7e467hjm.js} +17 -17
- package/dist/chunks/{event-logger-7597v4tt.js → usage-limits-7ew4ds6e.js} +20 -20
- package/dist/chunks/{event-logger-2mjpg0fh.js → usage-limits-7j5gw7wh.js} +18 -18
- package/dist/chunks/{event-logger-v5hpj9dd.js → usage-limits-7tpyp9vw.js} +8 -8
- package/dist/chunks/{event-logger-7w2ypzdf.js → usage-limits-7w2ypzdf.js} +1 -1
- package/dist/chunks/{event-logger-7weczvnd.js → usage-limits-7weczvnd.js} +1 -1
- package/dist/chunks/{event-logger-80pdk984.js → usage-limits-80pdk984.js} +1 -1
- package/dist/chunks/{event-logger-85jq8dht.js → usage-limits-85jq8dht.js} +1 -1
- package/dist/chunks/{event-logger-1wwn04ne.js → usage-limits-85sd3wwa.js} +7 -5
- package/dist/chunks/{event-logger-qzejd7f7.js → usage-limits-89zxy6kj.js} +4 -4
- package/dist/chunks/{event-logger-tyz1xxgg.js → usage-limits-8aq22acg.js} +12 -12
- package/dist/chunks/{event-logger-8b3vzgkx.js → usage-limits-8b3vzgkx.js} +1 -1
- package/dist/chunks/{event-logger-8sxe6kv8.js → usage-limits-8sxe6kv8.js} +2 -2
- package/dist/chunks/{event-logger-hmt0aq1n.js → usage-limits-8tnpwq6r.js} +7 -7
- package/dist/chunks/{event-logger-t13a1kza.js → usage-limits-8wnsjf6c.js} +10 -10
- package/dist/chunks/{event-logger-8wtp7s3z.js → usage-limits-8wtp7s3z.js} +1 -1
- package/dist/chunks/{event-logger-qf2rejye.js → usage-limits-8x3hmqtd.js} +8 -8
- package/dist/chunks/{event-logger-5gt6xxh0.js → usage-limits-8xgserg9.js} +18 -18
- package/dist/chunks/{event-logger-8zv0xmg5.js → usage-limits-8zv0xmg5.js} +1 -1
- package/dist/chunks/{event-logger-53p9an57.js → usage-limits-91fd3s93.js} +3 -3
- package/dist/chunks/{event-logger-xry6b927.js → usage-limits-93f0ne34.js} +15 -15
- package/dist/chunks/{event-logger-963hk181.js → usage-limits-963hk181.js} +2 -2
- package/dist/chunks/{event-logger-6h22vkjj.js → usage-limits-9dckqgd9.js} +15 -15
- package/dist/chunks/{event-logger-5rc0mw2y.js → usage-limits-9gqwytrb.js} +79 -79
- package/dist/chunks/{event-logger-nqapd17g.js → usage-limits-9n5f64nr.js} +51 -349
- package/dist/chunks/{event-logger-t2t84wnr.js → usage-limits-9q7f1dnx.js} +6 -6
- package/dist/chunks/{event-logger-12ty16e5.js → usage-limits-9vcbn99r.js} +9 -7
- package/dist/chunks/{event-logger-ykwqc35q.js → usage-limits-9w9varqp.js} +30 -30
- package/dist/chunks/{event-logger-ccs24sb1.js → usage-limits-a0qf5rjp.js} +6 -6
- package/dist/chunks/{event-logger-a1tswj55.js → usage-limits-a1tswj55.js} +5 -5
- package/dist/chunks/usage-limits-a4ycrxnw.js +26 -0
- package/dist/chunks/{event-logger-sepvmzyq.js → usage-limits-ac1r7wtz.js} +47 -47
- package/dist/chunks/{event-logger-52yw03dq.js → usage-limits-adfw2kqv.js} +70 -51
- package/dist/chunks/{event-logger-ppksk96r.js → usage-limits-ar7h7cxw.js} +9 -9
- package/dist/chunks/{event-logger-ayjs7tqn.js → usage-limits-ayjs7tqn.js} +2 -2
- package/dist/chunks/{event-logger-b26ddj6h.js → usage-limits-b26ddj6h.js} +4 -4
- package/dist/chunks/{event-logger-ym2p62b8.js → usage-limits-b4nm0waw.js} +12 -12
- package/dist/chunks/{event-logger-bdv8sqrq.js → usage-limits-b7nkz392.js} +1 -1
- package/dist/chunks/{event-logger-gn1mqypz.js → usage-limits-bepf8h36.js} +3 -3
- package/dist/chunks/{event-logger-8eabsqma.js → usage-limits-bk4k41m0.js} +16 -16
- package/dist/chunks/{event-logger-sbfaben9.js → usage-limits-bsfkzme1.js} +9 -9
- package/dist/chunks/{event-logger-bstexjd6.js → usage-limits-bstexjd6.js} +1 -1
- package/dist/chunks/{event-logger-by8ty0bx.js → usage-limits-by8ty0bx.js} +1 -1
- package/dist/chunks/{event-logger-srns3bm7.js → usage-limits-c2q9zfkf.js} +4 -4
- package/dist/chunks/{event-logger-nvcdrhhs.js → usage-limits-c30j6zhw.js} +12 -12
- package/dist/chunks/{event-logger-c7cw818c.js → usage-limits-c7cw818c.js} +2 -2
- package/dist/chunks/{event-logger-gnffb83q.js → usage-limits-cfh2c4vx.js} +27 -27
- package/dist/chunks/{event-logger-py55jhgs.js → usage-limits-cjeshgaf.js} +8 -8
- package/dist/chunks/{event-logger-vmxsyvj6.js → usage-limits-cr4rfj9z.js} +4 -4
- package/dist/chunks/{event-logger-9ak383kn.js → usage-limits-cs4r3jr9.js} +346 -346
- package/dist/chunks/{event-logger-6h8vcvjm.js → usage-limits-ctmpqb7w.js} +9 -9
- package/dist/chunks/{event-logger-cwrgdav8.js → usage-limits-cwrgdav8.js} +2 -2
- package/dist/chunks/{event-logger-d4v9tmah.js → usage-limits-d4v9tmah.js} +2 -2
- package/dist/chunks/{event-logger-7c0reg91.js → usage-limits-d6zsrev0.js} +19 -19
- package/dist/chunks/{event-logger-236v01y4.js → usage-limits-db48qj7n.js} +16 -16
- package/dist/chunks/{event-logger-9abc2hvj.js → usage-limits-dbzr9wdf.js} +2 -2
- package/dist/chunks/{event-logger-vza0xppb.js → usage-limits-dc51qbmr.js} +20 -20
- package/dist/chunks/{event-logger-229tvxdn.js → usage-limits-dg5naf6e.js} +4 -4
- package/dist/chunks/{event-logger-catexwd9.js → usage-limits-dka29ds1.js} +17 -17
- package/dist/chunks/{event-logger-dt77769w.js → usage-limits-dt77769w.js} +1 -1
- package/dist/chunks/{event-logger-204pt6zy.js → usage-limits-dvde2pc4.js} +20 -20
- package/dist/chunks/{event-logger-t6m1f1nr.js → usage-limits-e3jz9n7h.js} +7 -7
- package/dist/chunks/{event-logger-wvabezmt.js → usage-limits-e3qg51pp.js} +78 -78
- package/dist/chunks/{event-logger-74tyjh6e.js → usage-limits-e3xbncmc.js} +10 -10
- package/dist/chunks/{event-logger-62pdvj00.js → usage-limits-ea2m5hc4.js} +8 -8
- package/dist/chunks/{event-logger-axb3jxxx.js → usage-limits-eh25zjz2.js} +10 -10
- package/dist/chunks/{event-logger-0m5d6w73.js → usage-limits-ejgeqqx1.js} +8 -8
- package/dist/chunks/{event-logger-eqw4pqj1.js → usage-limits-eqw4pqj1.js} +2 -2
- package/dist/chunks/{event-logger-c09y0a8j.js → usage-limits-eqz858fr.js} +11 -11
- package/dist/chunks/{event-logger-1gs5shqp.js → usage-limits-f50vp3tr.js} +26 -26
- package/dist/chunks/{event-logger-mrrgnjks.js → usage-limits-fas9x0zj.js} +8 -8
- package/dist/chunks/{event-logger-7r8fsv9c.js → usage-limits-fc93665r.js} +8 -8
- package/dist/chunks/{event-logger-vm8c1d8g.js → usage-limits-fcv1wwdz.js} +27 -27
- package/dist/chunks/{event-logger-9vs0azc6.js → usage-limits-ffv17rwk.js} +3 -3
- package/dist/chunks/{event-logger-fg9p65nk.js → usage-limits-fg9p65nk.js} +2 -2
- package/dist/chunks/{event-logger-z9sd8dz0.js → usage-limits-fjn6cgzk.js} +8 -8
- package/dist/chunks/{event-logger-ebwb1pjw.js → usage-limits-ftc624e5.js} +25 -25
- package/dist/chunks/{event-logger-zg6kvcwy.js → usage-limits-g3qdsj3j.js} +25 -25
- package/dist/chunks/{event-logger-84xc7tef.js → usage-limits-g7q2rrzt.js} +8 -8
- package/dist/chunks/{event-logger-gbjdnr5j.js → usage-limits-gbjdnr5j.js} +2 -2
- package/dist/chunks/{event-logger-17g4yjgf.js → usage-limits-gfv3bamm.js} +10 -10
- package/dist/chunks/{event-logger-fdhgp1py.js → usage-limits-gh3tqavf.js} +6 -6
- package/dist/chunks/{event-logger-ghrv1g9c.js → usage-limits-ghrv1g9c.js} +1 -1
- package/dist/chunks/{event-logger-bvzhsv1z.js → usage-limits-ght93wgr.js} +31 -29
- package/dist/chunks/{event-logger-g2g3q0mz.js → usage-limits-gk943ye1.js} +9 -9
- package/dist/chunks/{event-logger-trvprh1b.js → usage-limits-gkqyq5r9.js} +15 -15
- package/dist/chunks/{event-logger-pzstew35.js → usage-limits-gnqkjjxq.js} +41 -41
- package/dist/chunks/{event-logger-9fyhps97.js → usage-limits-grnwbwna.js} +14 -14
- package/dist/chunks/usage-limits-grzehpz7.js +18 -0
- package/dist/chunks/{event-logger-tg2nrpwh.js → usage-limits-gtg5artq.js} +12 -12
- package/dist/chunks/{event-logger-tg7s7b5t.js → usage-limits-gxs71cxp.js} +4 -4
- package/dist/chunks/{event-logger-by419q6p.js → usage-limits-h6c1ek8j.js} +2 -2
- package/dist/chunks/{event-logger-k9hrc3vn.js → usage-limits-h9nn55c5.js} +22 -22
- package/dist/chunks/{event-logger-8tnyp6pb.js → usage-limits-hced1q2j.js} +4 -4
- package/dist/chunks/{event-logger-dpjqk3bp.js → usage-limits-hdyhwc9f.js} +10 -10
- package/dist/chunks/{event-logger-7r2bnw1k.js → usage-limits-hgyfjph1.js} +14 -14
- package/dist/chunks/{event-logger-hgzwgvze.js → usage-limits-hgzwgvze.js} +2 -2
- package/dist/chunks/{event-logger-qz34r0te.js → usage-limits-hhc7y5y0.js} +10 -10
- package/dist/chunks/{event-logger-0y6t6xp0.js → usage-limits-hjhzj75t.js} +20 -20
- package/dist/chunks/{event-logger-x3xxqp17.js → usage-limits-hmktf0nf.js} +44 -44
- package/dist/chunks/{event-logger-fck9h0f5.js → usage-limits-hvd5tw3z.js} +14 -14
- package/dist/chunks/{event-logger-1qqw3m6b.js → usage-limits-hvk1hafx.js} +4 -4
- package/dist/chunks/{event-logger-bvb1sd0r.js → usage-limits-j1egny1s.js} +12 -10
- package/dist/chunks/{event-logger-ze75qvmd.js → usage-limits-j9nxzz3g.js} +3 -3
- package/dist/chunks/{event-logger-jm70asfg.js → usage-limits-jm70asfg.js} +1 -1
- package/dist/chunks/{event-logger-9zwexsxs.js → usage-limits-jv5ccajn.js} +5 -5
- package/dist/chunks/{event-logger-fnrdyy28.js → usage-limits-jyf1m81b.js} +23 -23
- package/dist/chunks/{event-logger-g7f5ghnr.js → usage-limits-k50gg9mr.js} +3 -3
- package/dist/chunks/{event-logger-4negnnh9.js → usage-limits-kkshxp48.js} +18 -18
- package/dist/chunks/{event-logger-z12eb397.js → usage-limits-kq5y9fax.js} +13 -13
- package/dist/chunks/{event-logger-tbkej2pm.js → usage-limits-krqy0qqf.js} +28 -28
- package/dist/chunks/{event-logger-kt3bjfbg.js → usage-limits-kt3bjfbg.js} +1 -1
- package/dist/chunks/{event-logger-2abvv00g.js → usage-limits-kwjvsxtm.js} +36 -36
- package/dist/chunks/{event-logger-9h900fbv.js → usage-limits-kxvavz0b.js} +19 -19
- package/dist/chunks/{event-logger-ebm59rwb.js → usage-limits-kzb30q6z.js} +16 -16
- package/dist/chunks/{event-logger-kzczzf4v.js → usage-limits-kzczzf4v.js} +1 -1
- package/dist/chunks/{event-logger-bf5nea6e.js → usage-limits-m07x43ss.js} +9 -9
- package/dist/chunks/{event-logger-m1714858.js → usage-limits-m1714858.js} +1 -1
- package/dist/chunks/{event-logger-dsckms85.js → usage-limits-m30pzkfp.js} +3 -3
- package/dist/chunks/{event-logger-6kj37xtx.js → usage-limits-m7bb3gwb.js} +2 -2
- package/dist/chunks/{event-logger-kctgyte9.js → usage-limits-m7razs27.js} +33 -31
- package/dist/chunks/{event-logger-cjbr99h3.js → usage-limits-m8rxqpkg.js} +3 -3
- package/dist/chunks/usage-limits-m90tx7mw.js +314 -0
- package/dist/chunks/{event-logger-m9w0rfyh.js → usage-limits-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-mb7mbhnz.js → usage-limits-mb7mbhnz.js} +3 -3
- package/dist/chunks/{event-logger-21z5cqvx.js → usage-limits-mcxvs31m.js} +12 -12
- package/dist/chunks/{event-logger-qgpgzdea.js → usage-limits-mfmt126m.js} +22 -18
- package/dist/chunks/{event-logger-hrvwhqwx.js → usage-limits-ms258ef6.js} +11 -11
- package/dist/chunks/{event-logger-rrcsh98p.js → usage-limits-mth3cj04.js} +13 -13
- package/dist/chunks/{event-logger-jve8yzs5.js → usage-limits-mzxjpf7k.js} +11 -11
- package/dist/chunks/{event-logger-n320gsn2.js → usage-limits-n320gsn2.js} +1 -1
- package/dist/chunks/{event-logger-hjqbpbr7.js → usage-limits-n6k0bagf.js} +24 -20
- package/dist/chunks/{event-logger-9a4z6g6v.js → usage-limits-nc5q8vet.js} +21 -21
- package/dist/chunks/{event-logger-2xke8qjh.js → usage-limits-net9d0fx.js} +23 -23
- package/dist/chunks/{event-logger-nq1mg43n.js → usage-limits-nq1mg43n.js} +1 -1
- package/dist/chunks/{event-logger-a4h6pxrn.js → usage-limits-nwyc7xwk.js} +10 -10
- package/dist/chunks/{event-logger-r2a0a4bw.js → usage-limits-ny73nq33.js} +11 -11
- package/dist/chunks/{event-logger-h17gwerx.js → usage-limits-p0dbwaqv.js} +9 -9
- package/dist/chunks/{event-logger-cv4f6p3s.js → usage-limits-p239k93p.js} +37 -37
- package/dist/chunks/{event-logger-j5e9v225.js → usage-limits-p3nfbtvb.js} +10 -10
- package/dist/chunks/{event-logger-mwwjbs9t.js → usage-limits-p6se6c3r.js} +11 -11
- package/dist/chunks/{event-logger-2nbc4y74.js → usage-limits-p7qb8jbp.js} +22 -22
- package/dist/chunks/{event-logger-mk4ry4zx.js → usage-limits-pas7cje7.js} +11 -11
- package/dist/chunks/{event-logger-2tb60655.js → usage-limits-pbr6dek6.js} +6 -6
- package/dist/chunks/{event-logger-ah042x70.js → usage-limits-pe00mm5s.js} +15 -15
- package/dist/chunks/{event-logger-scn5v30h.js → usage-limits-pj4g6jw6.js} +9 -9
- package/dist/chunks/{event-logger-pknna89w.js → usage-limits-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-wrxtv31x.js → usage-limits-q2t4f8zk.js} +10 -10
- package/dist/chunks/{event-logger-q42tzrxa.js → usage-limits-q42tzrxa.js} +1 -1
- package/dist/chunks/{event-logger-qxmvncaw.js → usage-limits-q5bd917m.js} +2 -2
- package/dist/chunks/{event-logger-9p7wq7rp.js → usage-limits-q855xgy8.js} +9 -9
- package/dist/chunks/{event-logger-e08yd50f.js → usage-limits-q9s971fk.js} +13 -13
- package/dist/chunks/{event-logger-hzbj86qh.js → usage-limits-qa2jv7nb.js} +24 -24
- package/dist/chunks/{event-logger-yx7jjv83.js → usage-limits-qah7t4da.js} +6 -6
- package/dist/chunks/{event-logger-9vwegfqe.js → usage-limits-qf9gv2d2.js} +22 -22
- package/dist/chunks/{event-logger-71whxrms.js → usage-limits-qft9y4hy.js} +3 -3
- package/dist/chunks/{event-logger-9qnbq3vx.js → usage-limits-qh3gs631.js} +28 -28
- package/dist/chunks/{event-logger-93dx00nb.js → usage-limits-qhbe3ak7.js} +10 -10
- package/dist/chunks/{event-logger-qp7r0hxv.js → usage-limits-qp7r0hxv.js} +1 -1
- package/dist/chunks/{event-logger-hab30nez.js → usage-limits-qr56g015.js} +21 -21
- package/dist/chunks/{event-logger-dg3a8dxd.js → usage-limits-qra2yhaf.js} +9 -9
- package/dist/chunks/{event-logger-nv2c5e9q.js → usage-limits-qtf35215.js} +2 -2
- package/dist/chunks/{event-logger-e4xfbd9v.js → usage-limits-qw6m5vap.js} +11 -11
- package/dist/chunks/{event-logger-hee88gg0.js → usage-limits-r0wkvse5.js} +5 -5
- package/dist/chunks/{event-logger-nxx92j0m.js → usage-limits-r7zprqr5.js} +5 -5
- package/dist/chunks/{event-logger-xe1tkw14.js → usage-limits-r8ec70nh.js} +13 -13
- package/dist/chunks/{event-logger-rb9dy4dg.js → usage-limits-rb9dy4dg.js} +1 -1
- package/dist/chunks/{event-logger-rgc9cx3e.js → usage-limits-rgc9cx3e.js} +2 -2
- package/dist/chunks/{event-logger-jr6xaaj3.js → usage-limits-rkj43f4z.js} +3 -3
- package/dist/chunks/{event-logger-sxg3hyg4.js → usage-limits-rsh3wnz1.js} +3 -3
- package/dist/chunks/{event-logger-nve6e534.js → usage-limits-rv5b319h.js} +1 -1
- package/dist/chunks/{event-logger-rxzae9a0.js → usage-limits-s6bqntgs.js} +15 -15
- package/dist/chunks/{event-logger-1hpvdz46.js → usage-limits-s6p6xy3r.js} +27 -27
- package/dist/chunks/{event-logger-mm9k1f5d.js → usage-limits-sbh2sz2j.js} +33 -33
- package/dist/chunks/{event-logger-sbya78hr.js → usage-limits-sbya78hr.js} +1 -1
- package/dist/chunks/{event-logger-4tbkx5db.js → usage-limits-sf7z16qf.js} +11 -11
- package/dist/chunks/{event-logger-srtkqavm.js → usage-limits-sf85ryyv.js} +19 -19
- package/dist/chunks/{event-logger-cye1hsyt.js → usage-limits-sfrpj36e.js} +30 -30
- package/dist/chunks/{event-logger-6kcr5ssk.js → usage-limits-shsvp7vp.js} +18 -18
- package/dist/chunks/{event-logger-n1vb7ty0.js → usage-limits-sjt0mtq1.js} +24 -24
- package/dist/chunks/{event-logger-svcy3p9a.js → usage-limits-svcy3p9a.js} +1 -1
- package/dist/chunks/{event-logger-6edbc7zm.js → usage-limits-sx27c7qs.js} +7 -7
- package/dist/chunks/{event-logger-s8qtxmzm.js → usage-limits-t62dywgn.js} +4 -4
- package/dist/chunks/{event-logger-ee6s32g7.js → usage-limits-t8ypkyyc.js} +21 -21
- package/dist/chunks/{event-logger-tbpn7jtk.js → usage-limits-tbpn7jtk.js} +1 -1
- package/dist/chunks/{event-logger-tczq8hjw.js → usage-limits-tczq8hjw.js} +1 -1
- package/dist/chunks/{event-logger-yyn6663f.js → usage-limits-td0ccqka.js} +7 -7
- package/dist/chunks/{event-logger-rbjr7pjh.js → usage-limits-tfxry2e2.js} +9 -9
- package/dist/chunks/{event-logger-2zf2xpqt.js → usage-limits-tr2nk892.js} +26 -26
- package/dist/chunks/{event-logger-tr8x705m.js → usage-limits-tr8x705m.js} +1 -1
- package/dist/chunks/{event-logger-pc2z5rmg.js → usage-limits-trsth5nr.js} +3 -3
- package/dist/chunks/{event-logger-tvtps2q9.js → usage-limits-tvtps2q9.js} +1 -1
- package/dist/chunks/{event-logger-twssxy5n.js → usage-limits-twssxy5n.js} +2 -2
- package/dist/chunks/{event-logger-kgfhs1vx.js → usage-limits-twtdr6y0.js} +39 -39
- package/dist/chunks/{event-logger-2swc61r8.js → usage-limits-txjws9vm.js} +11 -11
- package/dist/chunks/{event-logger-v2r1d0zg.js → usage-limits-v2r1d0zg.js} +1 -1
- package/dist/chunks/{event-logger-cg7vt0tj.js → usage-limits-v325dg72.js} +17 -17
- package/dist/chunks/{event-logger-c0fe0nyt.js → usage-limits-v4bj6baw.js} +4 -4
- package/dist/chunks/{event-logger-p9rtyaeb.js → usage-limits-v73ga3me.js} +28 -28
- package/dist/chunks/{event-logger-xeptqpdz.js → usage-limits-vb7smdbq.js} +5 -5
- package/dist/chunks/{event-logger-trz2ewrq.js → usage-limits-vbfqpmv9.js} +21 -21
- package/dist/chunks/{event-logger-dpvbae88.js → usage-limits-vjf1wnjw.js} +21 -21
- package/dist/chunks/{event-logger-vjf35v1f.js → usage-limits-vjf35v1f.js} +1 -1
- package/dist/chunks/{event-logger-e309devy.js → usage-limits-vmxh67a6.js} +6 -6
- package/dist/chunks/{event-logger-cx8zcgr7.js → usage-limits-vw4p4fbt.js} +4 -4
- package/dist/chunks/{event-logger-09r3yeam.js → usage-limits-vz8yk5dt.js} +3 -3
- package/dist/chunks/{event-logger-w3wsvvr9.js → usage-limits-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-v0t96s7a.js → usage-limits-w79nt68w.js} +4 -4
- package/dist/chunks/{event-logger-xrphqft4.js → usage-limits-w8ex0f27.js} +6 -6
- package/dist/chunks/{event-logger-wakvkjy4.js → usage-limits-wakvkjy4.js} +1 -1
- package/dist/chunks/{event-logger-wd87259q.js → usage-limits-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-wegkxhrn.js → usage-limits-wegkxhrn.js} +2 -2
- package/dist/chunks/{event-logger-1fjzrn8a.js → usage-limits-wfdx5ztx.js} +4 -4
- package/dist/chunks/{event-logger-1a61z5p9.js → usage-limits-wk0531zk.js} +13 -13
- package/dist/chunks/{event-logger-yfpk2rs8.js → usage-limits-wn08rbng.js} +19 -19
- package/dist/chunks/{event-logger-6sxxeane.js → usage-limits-wn13ypz9.js} +15 -15
- package/dist/chunks/{event-logger-wr3re1en.js → usage-limits-wr3re1en.js} +1 -1
- package/dist/chunks/{event-logger-zx9394z8.js → usage-limits-wvqyzeay.js} +18 -18
- package/dist/chunks/{event-logger-qzxv1rpq.js → usage-limits-ww791pww.js} +14 -12
- package/dist/chunks/{event-logger-hretfjjx.js → usage-limits-x150ncgg.js} +2 -2
- package/dist/chunks/{event-logger-xfja57t8.js → usage-limits-x36pdner.js} +9 -9
- package/dist/chunks/{event-logger-23e53c96.js → usage-limits-x3eexw8z.js} +4 -4
- package/dist/chunks/{event-logger-bf3ta493.js → usage-limits-x4qkf6h2.js} +23 -23
- package/dist/chunks/{event-logger-8wk0dbzx.js → usage-limits-xa9a76g6.js} +21 -21
- package/dist/chunks/{event-logger-xacrkbdt.js → usage-limits-xacrkbdt.js} +1 -1
- package/dist/chunks/{event-logger-5azf7efg.js → usage-limits-xfrnyd0a.js} +14 -14
- package/dist/chunks/{event-logger-cpvd08na.js → usage-limits-xmx7xj34.js} +4 -4
- package/dist/chunks/{event-logger-pkh610ny.js → usage-limits-xs8fxyyv.js} +5 -5
- package/dist/chunks/{event-logger-xdcpcrtr.js → usage-limits-xsact9zs.js} +4 -4
- package/dist/chunks/{event-logger-k8dmzv23.js → usage-limits-xvn32npp.js} +5 -5
- package/dist/chunks/{event-logger-wkhxkt7d.js → usage-limits-xx0bwd8h.js} +33 -33
- package/dist/chunks/{event-logger-xxschbft.js → usage-limits-xxschbft.js} +1 -1
- package/dist/chunks/{event-logger-w4xw9ac5.js → usage-limits-xz07m27x.js} +2 -2
- package/dist/chunks/usage-limits-y32xxt00.js +16 -0
- package/dist/chunks/{event-logger-5xqbc9ax.js → usage-limits-y3sw9ykq.js} +15 -15
- package/dist/chunks/{event-logger-nxfezg21.js → usage-limits-y40wf3tb.js} +31 -31
- package/dist/chunks/{event-logger-48jhdcm9.js → usage-limits-y4zf405k.js} +59 -59
- package/dist/chunks/{event-logger-wk6b9ypq.js → usage-limits-y9azjp7e.js} +19 -19
- package/dist/chunks/{event-logger-yb20nhc3.js → usage-limits-yb20nhc3.js} +1 -1
- package/dist/chunks/{event-logger-pv8fd74w.js → usage-limits-yk4ram99.js} +6 -6
- package/dist/chunks/{event-logger-nvct0p75.js → usage-limits-ymq5559q.js} +13 -13
- package/dist/chunks/{event-logger-7nb8tm12.js → usage-limits-ynzdgah7.js} +5 -5
- package/dist/chunks/{event-logger-yts2a8qm.js → usage-limits-ypj1acmt.js} +4 -4
- package/dist/chunks/{event-logger-yr705xyq.js → usage-limits-yr705xyq.js} +1 -1
- package/dist/chunks/{event-logger-4deandmx.js → usage-limits-yswt24xe.js} +5 -5
- package/dist/chunks/{event-logger-smyjd7yt.js → usage-limits-yv0mxjwc.js} +4 -4
- package/dist/chunks/{event-logger-yvtc2x31.js → usage-limits-yvtc2x31.js} +1 -1
- package/dist/chunks/{event-logger-vy82c25s.js → usage-limits-ywz68vkg.js} +46 -46
- package/dist/chunks/{event-logger-jgd4e8e6.js → usage-limits-z080rjh6.js} +4 -4
- package/dist/chunks/{event-logger-3djr6w5h.js → usage-limits-z67zmw03.js} +35 -35
- package/dist/chunks/{event-logger-7am2es19.js → usage-limits-zabc2wfq.js} +15 -13
- package/dist/chunks/{event-logger-hrpg1pdd.js → usage-limits-zmtdeb8k.js} +7 -7
- package/dist/chunks/{event-logger-brzs5sbk.js → usage-limits-zq5y2v36.js} +15 -15
- package/dist/chunks/{event-logger-gtq5kqdt.js → usage-limits-zt2mz163.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +149 -148
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +156 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -112
- package/dist/config/plugin/agent.js +132 -131
- package/dist/config/plugin/command.js +240 -239
- package/dist/config/plugin/compaction.js +174 -173
- package/dist/config/plugin/compatibility.js +154 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -131
- package/dist/config/plugin/image.js +131 -130
- package/dist/config/plugin/instruction.js +131 -130
- package/dist/config/plugin/location-watcher.js +133 -132
- package/dist/config/plugin/mcp.js +142 -141
- package/dist/config/plugin/policy.js +129 -128
- package/dist/config/plugin/provider.js +131 -130
- package/dist/config/plugin/reference.js +133 -132
- package/dist/config/plugin/shell.js +131 -130
- package/dist/config/plugin/skill-file.js +150 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +155 -154
- package/dist/config/plugin/snapshot.js +131 -130
- package/dist/config/plugin/source.js +133 -132
- package/dist/config/plugin/tool-output.js +132 -131
- package/dist/config/plugin/websearch.js +130 -129
- package/dist/config/plugin/worktree.js +133 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +130 -129
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +98 -98
- package/dist/effect/app-node-builder.js +442 -441
- 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 +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +161 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +165 -164
- 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 -254
- 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 +7 -7
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +132 -131
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +119 -118
- package/dist/git.js +7 -7
- package/dist/github-copilot/models.js +105 -104
- 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 +433 -432
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +92 -92
- 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 +180 -179
- package/dist/location-lifecycle.js +154 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +430 -429
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +159 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +190 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +158 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -104
- package/dist/model-resolver.js +113 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -146
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- 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 +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +246 -245
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +409 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -110
- package/dist/plugin/module.js +130 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +150 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -106
- package/dist/plugin/provider/azure.js +134 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +134 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +147 -146
- package/dist/plugin/provider/claude-agent/instructions.js +115 -114
- package/dist/plugin/provider/claude-agent/integration.js +116 -115
- 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 -108
- package/dist/plugin/provider/claude-agent/session.js +113 -112
- 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 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -130
- package/dist/plugin/provider/configured.js +127 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -111
- package/dist/plugin/provider/gitlab.js +110 -109
- package/dist/plugin/provider/google-vertex.js +128 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +141 -140
- package/dist/plugin/provider/local.js +138 -137
- package/dist/plugin/provider/modal.js +109 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +141 -140
- package/dist/plugin/provider/openai-context-caps.js +107 -106
- package/dist/plugin/provider/openai.js +134 -133
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +162 -161
- package/dist/plugin/provider/openrouter.js +105 -104
- 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 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +132 -131
- package/dist/plugin/provider/vllm.js +141 -140
- package/dist/plugin/provider/xai.js +105 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +240 -239
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +153 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -418
- 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 -106
- package/dist/plugin/warming.js +131 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +253 -252
- 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 +114 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +99 -99
- 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 +251 -250
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +265 -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 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +174 -173
- package/dist/session/context.js +206 -205
- 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 +246 -245
- package/dist/session/execution.js +170 -169
- package/dist/session/generate.js +206 -205
- package/dist/session/history.js +140 -139
- package/dist/session/inbox.js +151 -150
- 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 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +172 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +172 -171
- package/dist/session/projector.js +147 -146
- package/dist/session/prompt.js +152 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +143 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +259 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -114
- package/dist/session/runner/publish-llm-event.js +154 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +165 -164
- package/dist/session/runner/to-llm-message.js +141 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +189 -188
- package/dist/session/shell.js +146 -145
- package/dist/session/skill.js +151 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +142 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +239 -238
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +208 -207
- package/dist/session/to-session-error.js +153 -152
- package/dist/session/transfer.js +244 -243
- package/dist/session/usage.js +1 -1
- package/dist/session.js +239 -238
- 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 +9 -9
- package/dist/shell.js +148 -147
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +155 -154
- package/dist/skill.js +158 -157
- package/dist/snapshot.js +104 -104
- 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 +189 -188
- package/dist/tool/plugin/artifact.js +238 -237
- package/dist/tool/plugin/edit.js +171 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +173 -172
- package/dist/tool/plugin/grep.js +174 -173
- package/dist/tool/plugin/image-generate.js +249 -248
- package/dist/tool/plugin/mcp-resource.js +170 -169
- package/dist/tool/plugin/opencode.js +167 -166
- package/dist/tool/plugin/patch.js +170 -169
- package/dist/tool/plugin/question.js +152 -151
- package/dist/tool/plugin/read.js +176 -175
- package/dist/tool/plugin/schedule.js +257 -256
- package/dist/tool/plugin/shell.js +243 -242
- package/dist/tool/plugin/skill.js +159 -158
- package/dist/tool/plugin/subagent.js +246 -245
- package/dist/tool/plugin/todo.js +157 -156
- package/dist/tool/plugin/webfetch.js +161 -160
- package/dist/tool/plugin/websearch.js +157 -156
- package/dist/tool/plugin/write.js +172 -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 +162 -161
- package/dist/types/aisdk-native.d.ts +14 -1
- package/dist/types/flag.d.ts +2 -2
- package/dist/types/plugin/provider/github-copilot.d.ts +2 -1
- package/dist/types/provider.d.ts +1 -11
- package/dist/types/session/runner/step.d.ts +3 -12
- package/dist/types/tool/plugin/shell.d.ts +2 -1
- package/dist/usage-limits.js +98 -98
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -105
- 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 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +96 -96
- package/dist/voice.js +101 -101
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- 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 +105 -105
- package/package.json +8 -8
- package/dist/chunks/event-logger-atydkx9v.js +0 -26
- package/dist/chunks/event-logger-cm0nas3h.js +0 -16
- package/dist/chunks/event-logger-mmv9rrab.js +0 -273
- package/dist/chunks/event-logger-qmh7vbk2.js +0 -18
- /package/dist/chunks/{event-logger-0qkdqm5v.js → usage-limits-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → usage-limits-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → usage-limits-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → usage-limits-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kah00gy.js → usage-limits-1kah00gy.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → usage-limits-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → usage-limits-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → usage-limits-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → usage-limits-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → usage-limits-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → usage-limits-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → usage-limits-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4qk9sjk2.js → usage-limits-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → usage-limits-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-5w3e23ze.js → usage-limits-5w3e23ze.js} +0 -0
- /package/dist/chunks/{event-logger-6agm2x70.js → usage-limits-6agm2x70.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → usage-limits-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-6q2bdcd1.js → usage-limits-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → usage-limits-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → usage-limits-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → usage-limits-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-84wd9syh.js → usage-limits-84wd9syh.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → usage-limits-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → usage-limits-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → usage-limits-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → usage-limits-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → usage-limits-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → usage-limits-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → usage-limits-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-beh6qq61.js → usage-limits-beh6qq61.js} +0 -0
- /package/dist/chunks/{event-logger-bhmrqjy3.js → usage-limits-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → usage-limits-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → usage-limits-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → usage-limits-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cqv5kn06.js → usage-limits-cqv5kn06.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → usage-limits-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → usage-limits-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → usage-limits-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → usage-limits-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → usage-limits-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → usage-limits-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-ean2d8b5.js → usage-limits-ean2d8b5.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → usage-limits-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → usage-limits-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → usage-limits-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → usage-limits-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → usage-limits-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → usage-limits-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fkpq3x5p.js → usage-limits-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → usage-limits-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → usage-limits-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → usage-limits-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hcxmzztb.js → usage-limits-hcxmzztb.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → usage-limits-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → usage-limits-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → usage-limits-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → usage-limits-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → usage-limits-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jwr30sdr.js → usage-limits-jwr30sdr.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → usage-limits-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-m18g726c.js → usage-limits-m18g726c.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → usage-limits-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → usage-limits-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → usage-limits-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → usage-limits-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-nh4v3znn.js → usage-limits-nh4v3znn.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → usage-limits-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-p71gwv9c.js → usage-limits-p71gwv9c.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → usage-limits-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → usage-limits-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → usage-limits-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → usage-limits-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → usage-limits-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → usage-limits-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → usage-limits-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → usage-limits-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → usage-limits-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-syrav9an.js → usage-limits-syrav9an.js} +0 -0
- /package/dist/chunks/{event-logger-t03h4f5z.js → usage-limits-t03h4f5z.js} +0 -0
- /package/dist/chunks/{event-logger-ty7weeps.js → usage-limits-ty7weeps.js} +0 -0
- /package/dist/chunks/{event-logger-ve7vex1e.js → usage-limits-ve7vex1e.js} +0 -0
- /package/dist/chunks/{event-logger-vtarvj67.js → usage-limits-vtarvj67.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → usage-limits-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → usage-limits-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → usage-limits-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → usage-limits-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x4th4bpe.js → usage-limits-x4th4bpe.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → usage-limits-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → usage-limits-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → usage-limits-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-z0h12gs8.js → usage-limits-z0h12gs8.js} +0 -0
- /package/dist/chunks/{event-logger-z5v4ffb3.js → usage-limits-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → usage-limits-z9919s4g.js} +0 -0
- /package/dist/chunks/{event-logger-zxpyjp51.js → usage-limits-zxpyjp51.js} +0 -0
- /package/dist/chunks/{event-logger-zz5vv3aq.js → usage-limits-zz5vv3aq.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
NotFound3,
|
|
6
6
|
WrongKind2,
|
|
7
7
|
Failed2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./usage-limits-svcy3p9a.js";
|
|
9
9
|
import {
|
|
10
10
|
Service90
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./usage-limits-dbzr9wdf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service67
|
|
14
|
+
} from "./usage-limits-526zrbs5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service20
|
|
17
|
+
} from "./usage-limits-42p2d32x.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service21,
|
|
20
20
|
readText2,
|
|
21
21
|
syncTextBom2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./usage-limits-mth3cj04.js";
|
|
23
23
|
import {
|
|
24
24
|
invocation2,
|
|
25
25
|
Service73
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./usage-limits-3aj095vc.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service22,
|
|
29
29
|
resolvePath2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./usage-limits-wn08rbng.js";
|
|
31
31
|
import {
|
|
32
32
|
fileDiff2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./usage-limits-6prwharc.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/plugin/patch.ts
|
|
39
39
|
var exports_patch = {};
|
|
40
40
|
__export(exports_patch, {
|
|
41
41
|
Applied: () => Applied2,
|
|
42
|
-
Input: () =>
|
|
43
|
-
Output: () =>
|
|
42
|
+
Input: () => Input9,
|
|
43
|
+
Output: () => Output7,
|
|
44
44
|
PatchTool: () => exports_patch,
|
|
45
|
-
Plugin: () =>
|
|
46
|
-
name: () =>
|
|
45
|
+
Plugin: () => Plugin46,
|
|
46
|
+
name: () => name9,
|
|
47
47
|
toModelContent: () => toModelContent4
|
|
48
48
|
});
|
|
49
49
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -89,8 +89,8 @@ It is important to remember:
|
|
|
89
89
|
`;
|
|
90
90
|
|
|
91
91
|
// src/tool/plugin/patch.ts
|
|
92
|
-
var
|
|
93
|
-
var
|
|
92
|
+
var name9 = "patch";
|
|
93
|
+
var Input9 = Schema.Struct({
|
|
94
94
|
patchText: Schema.String.annotate({
|
|
95
95
|
description: "The full patch text describing add, update, and delete operations"
|
|
96
96
|
})
|
|
@@ -100,7 +100,7 @@ var Applied2 = Schema.Struct({
|
|
|
100
100
|
resource: Schema.String,
|
|
101
101
|
target: Schema.String
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var Output7 = Schema.Struct({
|
|
104
104
|
applied: Schema.Array(Applied2),
|
|
105
105
|
files: Schema.Array(FileDiff.Info)
|
|
106
106
|
});
|
|
@@ -109,21 +109,21 @@ var toModelContent4 = (output) => [
|
|
|
109
109
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
110
110
|
].join(`
|
|
111
111
|
`);
|
|
112
|
-
var
|
|
112
|
+
var Plugin46 = {
|
|
113
113
|
id: "opencode.tool.patch",
|
|
114
114
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
115
|
-
const environment = yield*
|
|
116
|
-
const access = yield*
|
|
117
|
-
const fileMutation = yield*
|
|
118
|
-
const formatter = yield*
|
|
115
|
+
const environment = yield* Service67;
|
|
116
|
+
const access = yield* Service22;
|
|
117
|
+
const fileMutation = yield* Service21;
|
|
118
|
+
const formatter = yield* Service20;
|
|
119
119
|
const location = yield* Service90;
|
|
120
120
|
const permission = yield* Service73;
|
|
121
121
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
122
|
-
name:
|
|
122
|
+
name: name9,
|
|
123
123
|
options: { codemode: false, permission: "edit" },
|
|
124
124
|
description: patch_default,
|
|
125
|
-
input:
|
|
126
|
-
output:
|
|
125
|
+
input: Input9,
|
|
126
|
+
output: Output7,
|
|
127
127
|
execute: (input, context) => {
|
|
128
128
|
const applied = [];
|
|
129
129
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -325,4 +325,4 @@ function trimDiff(diff) {
|
|
|
325
325
|
`);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
export {
|
|
328
|
+
export { name9, Input9, Applied2, Output7, toModelContent4, Plugin46, exports_patch };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./usage-limits-vw4p4fbt.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./usage-limits-2rqsj4wa.js";
|
|
13
13
|
import {
|
|
14
14
|
Service90,
|
|
15
15
|
node92
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./usage-limits-dbzr9wdf.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create4
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./usage-limits-40y6dtc2.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./usage-limits-5whx36p1.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./usage-limits-rb9dy4dg.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./usage-limits-hgzwgvze.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin23
|
|
3
|
+
} from "./usage-limits-gh3tqavf.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin24
|
|
6
|
+
} from "./usage-limits-8wnsjf6c.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin25
|
|
9
|
+
} from "./usage-limits-5rk89tzr.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin21
|
|
12
|
+
} from "./usage-limits-qra2yhaf.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin22
|
|
15
|
+
} from "./usage-limits-zq5y2v36.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin23,
|
|
20
|
+
Plugin24,
|
|
21
|
+
Plugin25,
|
|
22
|
+
Plugin21,
|
|
23
|
+
Plugin22
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service83
|
|
7
|
+
} from "./usage-limits-mfmt126m.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service80
|
|
10
|
+
} from "./usage-limits-twtdr6y0.js";
|
|
11
11
|
import {
|
|
12
12
|
observe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./usage-limits-tvtps2q9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./usage-limits-526zrbs5.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionMessage2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./usage-limits-gftt206x.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
22
|
Service73
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-3aj095vc.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service22
|
|
26
|
+
} from "./usage-limits-wn08rbng.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service17
|
|
29
|
+
} from "./usage-limits-6f38jrmr.js";
|
|
30
30
|
import {
|
|
31
31
|
text2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./usage-limits-8b3vzgkx.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
Service54
|
|
35
|
+
} from "./usage-limits-7e467hjm.js";
|
|
36
36
|
import {
|
|
37
37
|
detect2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./usage-limits-4pyp9zr9.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service28
|
|
41
|
+
} from "./usage-limits-9gqwytrb.js";
|
|
42
42
|
import {
|
|
43
43
|
collectBoundedResponseBody2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./usage-limits-3v8g72cx.js";
|
|
45
45
|
import {
|
|
46
46
|
__export
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
48
48
|
|
|
49
49
|
// src/tool/plugin/image-generate.ts
|
|
50
50
|
var exports_image_generate = {};
|
|
51
51
|
__export(exports_image_generate, {
|
|
52
52
|
ImageGenerateTool: () => exports_image_generate,
|
|
53
|
-
Input: () =>
|
|
53
|
+
Input: () => Input2,
|
|
54
54
|
MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
|
|
55
|
-
Output: () =>
|
|
56
|
-
Plugin: () =>
|
|
55
|
+
Output: () => Output2,
|
|
56
|
+
Plugin: () => Plugin38,
|
|
57
57
|
defaultModel: () => defaultModel2,
|
|
58
|
-
description: () =>
|
|
59
|
-
name: () =>
|
|
58
|
+
description: () => description3,
|
|
59
|
+
name: () => name2
|
|
60
60
|
});
|
|
61
61
|
import path from "path";
|
|
62
62
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -64,7 +64,7 @@ import { Identifier } from "@opencode/schema/identifier";
|
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
65
|
import { Duration, Effect, Schema, Scope, Stream } from "effect";
|
|
66
66
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
67
|
-
var
|
|
67
|
+
var name2 = "experimental_image_generate";
|
|
68
68
|
var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
|
|
69
69
|
var DOWNLOAD_TIMEOUT = Duration.seconds(30);
|
|
70
70
|
var GENERATE_TIMEOUT = Duration.minutes(30);
|
|
@@ -75,7 +75,7 @@ var EXTENSIONS = {
|
|
|
75
75
|
"image/webp": ".webp",
|
|
76
76
|
"image/gif": ".gif"
|
|
77
77
|
};
|
|
78
|
-
var
|
|
78
|
+
var description3 = [
|
|
79
79
|
"Generates a new image, or edits existing ones.",
|
|
80
80
|
"Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
|
|
81
81
|
"Images you pass are used as the source to edit, or as references for style and subject.",
|
|
@@ -84,7 +84,7 @@ var description2 = [
|
|
|
84
84
|
"Don't repeat a request unless the user asks."
|
|
85
85
|
].join(`
|
|
86
86
|
`);
|
|
87
|
-
var
|
|
87
|
+
var Input2 = Schema.Struct({
|
|
88
88
|
prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
|
|
89
89
|
description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
|
|
90
90
|
}),
|
|
@@ -98,24 +98,24 @@ var Input6 = Schema.Struct({
|
|
|
98
98
|
description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
|
-
var
|
|
101
|
+
var Output2 = Schema.Struct({
|
|
102
102
|
id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
|
|
103
103
|
path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
|
|
104
104
|
model: Schema.String.annotate({ description: "providerID/modelID" })
|
|
105
105
|
});
|
|
106
|
-
var
|
|
106
|
+
var Plugin38 = {
|
|
107
107
|
id: "opencode.tool.image-generate",
|
|
108
108
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const environment = yield*
|
|
111
|
-
const generate = yield*
|
|
109
|
+
const access = yield* Service22;
|
|
110
|
+
const environment = yield* Service67;
|
|
111
|
+
const generate = yield* Service17;
|
|
112
112
|
const global = yield* Global.Service;
|
|
113
113
|
const http = yield* HttpClient.HttpClient;
|
|
114
|
-
const config = yield*
|
|
115
|
-
const jobs = yield*
|
|
114
|
+
const config = yield* Service80;
|
|
115
|
+
const jobs = yield* Service54;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
|
-
const sessions = yield*
|
|
118
|
-
const models = yield*
|
|
117
|
+
const sessions = yield* Service28;
|
|
118
|
+
const models = yield* Service83;
|
|
119
119
|
const permission = yield* Service73;
|
|
120
120
|
const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
|
|
121
121
|
const available = yield* models.available(["image"]);
|
|
@@ -201,7 +201,7 @@ var Plugin23 = {
|
|
|
201
201
|
state: info.status,
|
|
202
202
|
body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
|
|
203
203
|
}),
|
|
204
|
-
metadata: { source:
|
|
204
|
+
metadata: { source: name2, jobID: input.id, state: info.status, path: input.file }
|
|
205
205
|
});
|
|
206
206
|
yield* jobs.completeBackground(input.notificationID);
|
|
207
207
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
@@ -220,11 +220,11 @@ var Plugin23 = {
|
|
|
220
220
|
if (!enabled || imageGenerate(loaded.entries) === false)
|
|
221
221
|
return;
|
|
222
222
|
editor.add({
|
|
223
|
-
name:
|
|
223
|
+
name: name2,
|
|
224
224
|
options: { codemode: false },
|
|
225
|
-
description:
|
|
226
|
-
input:
|
|
227
|
-
output:
|
|
225
|
+
description: description3,
|
|
226
|
+
input: Input2,
|
|
227
|
+
output: Output2,
|
|
228
228
|
execute: (input, context) => Effect.gen(function* () {
|
|
229
229
|
const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
|
|
230
230
|
const model = resolved.model;
|
|
@@ -233,7 +233,7 @@ var Plugin23 = {
|
|
|
233
233
|
const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
|
|
234
234
|
const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
|
|
235
235
|
yield* permission.assert({
|
|
236
|
-
action:
|
|
236
|
+
action: name2,
|
|
237
237
|
resources: [ref],
|
|
238
238
|
save: ["*"],
|
|
239
239
|
metadata: { ...input, model: ref },
|
|
@@ -287,7 +287,7 @@ Use the read tool on this path to view the image.`;
|
|
|
287
287
|
yield* jobs.start({
|
|
288
288
|
id,
|
|
289
289
|
notificationID,
|
|
290
|
-
type:
|
|
290
|
+
type: name2,
|
|
291
291
|
title: input.prompt,
|
|
292
292
|
metadata: { sessionID: context.sessionID, path: stem, model: ref },
|
|
293
293
|
recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
|
|
@@ -326,4 +326,4 @@ function acceptsImages(model) {
|
|
|
326
326
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name2, MAX_INPUT_BYTES2, description3, Input2, Output2, Plugin38, defaultModel2, exports_image_generate };
|
|
@@ -1,73 +1,76 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service67
|
|
9
|
+
} from "./usage-limits-526zrbs5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./usage-limits-7e467hjm.js";
|
|
13
|
+
import {
|
|
14
|
+
enabled3
|
|
15
|
+
} from "./usage-limits-7ew4ds6e.js";
|
|
13
16
|
import {
|
|
14
17
|
invocation2,
|
|
15
18
|
Service73
|
|
16
|
-
} from "./
|
|
19
|
+
} from "./usage-limits-3aj095vc.js";
|
|
17
20
|
import {
|
|
18
|
-
|
|
21
|
+
Service22,
|
|
19
22
|
resolvePath2
|
|
20
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-wn08rbng.js";
|
|
21
24
|
import {
|
|
22
25
|
output2,
|
|
23
26
|
notice2,
|
|
24
27
|
metadata2,
|
|
25
28
|
notification2
|
|
26
|
-
} from "./
|
|
29
|
+
} from "./usage-limits-q42tzrxa.js";
|
|
27
30
|
import {
|
|
28
|
-
|
|
31
|
+
Service70,
|
|
29
32
|
name17
|
|
30
|
-
} from "./
|
|
33
|
+
} from "./usage-limits-hvd5tw3z.js";
|
|
31
34
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
35
|
+
NotFoundError8,
|
|
36
|
+
Service64
|
|
37
|
+
} from "./usage-limits-18ftbw9s.js";
|
|
35
38
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
39
|
+
Service28
|
|
40
|
+
} from "./usage-limits-9gqwytrb.js";
|
|
38
41
|
import {
|
|
39
42
|
scan3
|
|
40
|
-
} from "./
|
|
43
|
+
} from "./usage-limits-x3eexw8z.js";
|
|
41
44
|
import {
|
|
42
45
|
__export
|
|
43
|
-
} from "./
|
|
46
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
44
47
|
|
|
45
48
|
// src/tool/plugin/shell.ts
|
|
46
49
|
var exports_shell2 = {};
|
|
47
50
|
__export(exports_shell2, {
|
|
48
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
49
|
-
Input: () =>
|
|
50
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input14,
|
|
53
|
+
Plugin: () => Plugin54,
|
|
51
54
|
ShellTool: () => exports_shell2,
|
|
52
|
-
name: () =>
|
|
55
|
+
name: () => name14
|
|
53
56
|
});
|
|
54
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
55
|
-
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
56
|
-
var
|
|
58
|
+
import { Deferred, Effect, Option, Schema, Scope } from "effect";
|
|
59
|
+
var name14 = "shell";
|
|
57
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
58
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
59
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
60
|
-
var description = (shell) => [
|
|
63
|
+
var description = (shell, autoBackground = false) => [
|
|
61
64
|
"Execute a shell command and return its output.",
|
|
62
65
|
...shell ? [`Commands run on ${OS} using ${shell}.`] : [],
|
|
63
66
|
"Quote file paths containing spaces or special characters.",
|
|
64
67
|
"Prefer dedicated tools over shell commands when possible.",
|
|
65
68
|
"When output is large, the full result is saved to a file and a truncated preview is returned.",
|
|
66
69
|
"Rely on automatic truncation unless filtering the output is more useful.",
|
|
67
|
-
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
70
|
+
autoBackground ? "Commands still running after their timeout move to the background." : "Commands accept an optional timeout, background commands have no timeout by default.",
|
|
68
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
69
72
|
].join(" ");
|
|
70
|
-
var
|
|
73
|
+
var Input14 = Schema.Struct({
|
|
71
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
72
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
73
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -83,6 +86,7 @@ var StructuredOutput = Schema.Struct({
|
|
|
83
86
|
exit: Schema.optionalKey(Schema.Number),
|
|
84
87
|
signal: Schema.optionalKey(Schema.String),
|
|
85
88
|
shellID: Schema.optionalKey(Schema.String),
|
|
89
|
+
pid: Schema.optionalKey(NonNegativeInt2),
|
|
86
90
|
truncated: Schema.Boolean,
|
|
87
91
|
timeout: Schema.optionalKey(Schema.Boolean)
|
|
88
92
|
});
|
|
@@ -102,29 +106,40 @@ var toolResult = (output, timeout) => {
|
|
|
102
106
|
metadata: {
|
|
103
107
|
status: output.status,
|
|
104
108
|
...metadata2(output),
|
|
105
|
-
...output.shellID !== undefined ? { shellID: output.shellID } : {}
|
|
109
|
+
...output.shellID !== undefined ? { shellID: output.shellID } : {},
|
|
110
|
+
...output.pid !== undefined ? { pid: output.pid } : {}
|
|
106
111
|
}
|
|
107
112
|
};
|
|
108
113
|
};
|
|
109
|
-
var backgroundResult = (
|
|
110
|
-
output:
|
|
111
|
-
|
|
112
|
-
|
|
114
|
+
var backgroundResult = (info, timeout) => ({
|
|
115
|
+
output: [
|
|
116
|
+
`Command moved to the background (shell ID: ${info.id}).`,
|
|
117
|
+
...info.pid === undefined ? [] : [`PID: ${info.pid}`],
|
|
118
|
+
`Output is streaming to: ${info.file}`,
|
|
119
|
+
...timeout === undefined ? [] : [
|
|
120
|
+
"",
|
|
121
|
+
`The command did not finish within its timeout of ${timeout / 1000} seconds and was moved to the background. Do not start another copy while it is running.`
|
|
122
|
+
]
|
|
123
|
+
].join(`
|
|
124
|
+
`),
|
|
125
|
+
shellID: info.id,
|
|
126
|
+
...info.pid === undefined ? {} : { pid: info.pid },
|
|
113
127
|
truncated: false,
|
|
114
128
|
status: "running"
|
|
115
129
|
});
|
|
116
|
-
var
|
|
130
|
+
var Plugin54 = {
|
|
117
131
|
id: "opencode.tool.shell",
|
|
118
132
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
119
|
-
const sessions = yield*
|
|
120
|
-
const jobs = yield*
|
|
133
|
+
const sessions = yield* Service28;
|
|
134
|
+
const jobs = yield* Service54;
|
|
121
135
|
const scope = yield* Scope.Scope;
|
|
122
|
-
const environment = yield*
|
|
123
|
-
const access = yield*
|
|
124
|
-
const shell = yield*
|
|
125
|
-
const shellSelect = yield*
|
|
136
|
+
const environment = yield* Service67;
|
|
137
|
+
const access = yield* Service22;
|
|
138
|
+
const shell = yield* Service64;
|
|
139
|
+
const shellSelect = yield* Service70;
|
|
126
140
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
127
141
|
const permission = yield* Service73;
|
|
142
|
+
const autoBackground = yield* enabled3("shell_timeout_background");
|
|
128
143
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
129
144
|
const target = yield* access.resolve({ path: invocation.cwd, kind: "directory" });
|
|
130
145
|
invocation.cwd = target.absolute;
|
|
@@ -137,7 +152,7 @@ var Plugin31 = {
|
|
|
137
152
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
138
153
|
if (parsed.commands.length > 0)
|
|
139
154
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
155
|
+
action: name14,
|
|
141
156
|
resources: parsed.commands.map((command) => command.resource),
|
|
142
157
|
save: parsed.commands.map((command) => command.save),
|
|
143
158
|
...invocation2(context)
|
|
@@ -170,10 +185,10 @@ var Plugin31 = {
|
|
|
170
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
171
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
172
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
173
|
-
name:
|
|
188
|
+
name: name14,
|
|
174
189
|
options: { codemode: false },
|
|
175
|
-
description: description(),
|
|
176
|
-
input:
|
|
190
|
+
description: description(undefined, autoBackground),
|
|
191
|
+
input: Input14,
|
|
177
192
|
output: Output,
|
|
178
193
|
execute: (input, context) => {
|
|
179
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -191,20 +206,22 @@ var Plugin31 = {
|
|
|
191
206
|
invocation.env.AI_AGENT ||= "opencode";
|
|
192
207
|
invocation.env.OPENCODE_SESSION_ID = context.sessionID;
|
|
193
208
|
finalTimeout = yield* prepare(invocation, context);
|
|
209
|
+
if (autoBackground)
|
|
210
|
+
invocation.timeout = 0;
|
|
194
211
|
}));
|
|
195
212
|
yield* context.progress({ shellID: info.id });
|
|
196
213
|
const settled = yield* Deferred.make();
|
|
197
214
|
const run = Effect.gen(function* () {
|
|
198
215
|
const result = yield* shell.result(info);
|
|
199
216
|
if (!result.capture)
|
|
200
|
-
return yield* new
|
|
217
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
201
218
|
return { ...output2(result), status: "completed" };
|
|
202
219
|
}).pipe(Effect.tap((output) => Deferred.succeed(settled, output)), Effect.map((output) => resultMessages(output, finalTimeout).join(`
|
|
203
220
|
|
|
204
221
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
205
222
|
const job = yield* jobs.start({
|
|
206
223
|
id: info.id,
|
|
207
|
-
type:
|
|
224
|
+
type: name14,
|
|
208
225
|
title: info.command,
|
|
209
226
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
210
227
|
recovery: {
|
|
@@ -218,14 +235,16 @@ var Plugin31 = {
|
|
|
218
235
|
if (input.background === true) {
|
|
219
236
|
yield* jobs.background(job.id);
|
|
220
237
|
yield* notifyWhenDone(context.sessionID, job.id, info.id, info.command, settled);
|
|
221
|
-
return backgroundResult(info
|
|
238
|
+
return backgroundResult(info);
|
|
222
239
|
}
|
|
223
|
-
const
|
|
240
|
+
const waiting = jobs.block({ id: job.id, sessionID: context.sessionID });
|
|
241
|
+
const result = yield* (autoBackground && finalTimeout > 0 ? waiting.pipe(Effect.timeoutOption(finalTimeout), Effect.flatMap((result) => Option.isSome(result) ? Effect.succeed(result.value) : jobs.background(job.id).pipe(Effect.map((info) => info ? { type: "backgrounded", info, timedOut: true } : undefined)))) : waiting).pipe(Effect.onInterrupt(() => jobs.cancel(job.id).pipe(Effect.ignore)));
|
|
224
242
|
if (result?.type === "backgrounded") {
|
|
225
243
|
yield* shell.timeout(info.id, 0);
|
|
244
|
+
const elapsed = "timedOut" in result ? finalTimeout : undefined;
|
|
226
245
|
finalTimeout = 0;
|
|
227
246
|
yield* notifyWhenDone(context.sessionID, job.id, info.id, info.command, settled);
|
|
228
|
-
return backgroundResult(info
|
|
247
|
+
return backgroundResult(info, elapsed);
|
|
229
248
|
}
|
|
230
249
|
if (result?.info.status === "error")
|
|
231
250
|
return yield* Effect.fail(new Error(result.info.error ?? "Command failed"));
|
|
@@ -239,10 +258,10 @@ var Plugin31 = {
|
|
|
239
258
|
}
|
|
240
259
|
})).pipe(Effect.orDie);
|
|
241
260
|
const hook = (event) => Effect.gen(function* () {
|
|
242
|
-
const tool = event.tools[
|
|
261
|
+
const tool = event.tools[name14];
|
|
243
262
|
if (!tool)
|
|
244
263
|
return;
|
|
245
|
-
tool.description = description(name17(yield* compatibleShell));
|
|
264
|
+
tool.description = description(name17(yield* compatibleShell), autoBackground);
|
|
246
265
|
});
|
|
247
266
|
yield* ctx.session.hook("context", hook);
|
|
248
267
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -250,4 +269,4 @@ var Plugin31 = {
|
|
|
250
269
|
})
|
|
251
270
|
};
|
|
252
271
|
|
|
253
|
-
export {
|
|
272
|
+
export { name14, DEFAULT_TIMEOUT_MS2, Input14, Plugin54, exports_shell2 };
|