@opencode/core 0.0.0-dev-1126 → 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 +92 -92
- package/dist/aisdk-native.js +13 -102
- package/dist/aisdk.js +109 -108
- package/dist/app.js +5 -5
- package/dist/artifact.js +248 -247
- package/dist/bus.js +84 -84
- package/dist/chunks/{console-access-ezve4deb.js → usage-limits-007v2xwb.js} +11 -11
- package/dist/chunks/{console-access-hnktkp4a.js → usage-limits-00tzm6xw.js} +8 -8
- package/dist/chunks/{console-access-478jw1m7.js → usage-limits-00wmrtha.js} +21 -21
- package/dist/chunks/{console-access-818cphj9.js → usage-limits-01zfkgbg.js} +35 -35
- package/dist/chunks/{console-access-aj7mw0zk.js → usage-limits-034tev2y.js} +2 -2
- package/dist/chunks/{console-access-bhffp7ar.js → usage-limits-07zvewtp.js} +32 -32
- package/dist/chunks/{console-access-66fdrqh3.js → usage-limits-0bdk8pxj.js} +5 -5
- package/dist/chunks/{console-access-sqjzf8x2.js → usage-limits-0j7gp832.js} +4 -4
- package/dist/chunks/{console-access-0ma9gw4f.js → usage-limits-0ma9gw4f.js} +2 -2
- package/dist/chunks/{console-access-xjk1b0d0.js → usage-limits-0n720z3p.js} +5 -5
- package/dist/chunks/{console-access-69t06asz.js → usage-limits-0p1t9ayv.js} +6 -4
- package/dist/chunks/{console-access-wyas8mex.js → usage-limits-0sqkmrgk.js} +23 -23
- package/dist/chunks/{console-access-63zbe581.js → usage-limits-0v9zvpyd.js} +11 -11
- package/dist/chunks/{console-access-6trn8gdk.js → usage-limits-0xzz5bc5.js} +12 -12
- package/dist/chunks/{console-access-44hmkskf.js → usage-limits-13g31adg.js} +11 -11
- package/dist/chunks/{console-access-av78dz5z.js → usage-limits-14vpqtw6.js} +7 -7
- package/dist/chunks/{console-access-m6f92zzq.js → usage-limits-163rzv3x.js} +4 -4
- package/dist/chunks/{console-access-05dbvsne.js → usage-limits-18ftbw9s.js} +47 -47
- package/dist/chunks/{console-access-1aqsckx4.js → usage-limits-1aqsckx4.js} +1 -1
- package/dist/chunks/{console-access-0dmgdz9r.js → usage-limits-1ce0p61k.js} +4 -4
- package/dist/chunks/{console-access-27w5k9zf.js → usage-limits-1ep2p91f.js} +2 -2
- package/dist/chunks/{console-access-nyephkv6.js → usage-limits-1h178xsr.js} +10 -10
- package/dist/chunks/{console-access-pcqhjygz.js → usage-limits-1j2q7rrr.js} +56 -56
- package/dist/chunks/{console-access-n6nb2j18.js → usage-limits-1jh4g484.js} +6 -4
- package/dist/chunks/{console-access-msd2a3qm.js → usage-limits-1v2g13eq.js} +4 -4
- package/dist/chunks/{console-access-1x2knyw4.js → usage-limits-1x2knyw4.js} +1 -1
- package/dist/chunks/{console-access-gxpy42vf.js → usage-limits-1xx8jyp0.js} +1 -1
- package/dist/chunks/{console-access-1yq9hg58.js → usage-limits-1yq9hg58.js} +1 -1
- package/dist/chunks/{console-access-v7myxbq2.js → usage-limits-1yrs5r5s.js} +6 -6
- package/dist/chunks/{console-access-mqfebq9k.js → usage-limits-204d346f.js} +10 -10
- package/dist/chunks/{console-access-kj9n5bvh.js → usage-limits-20pht57w.js} +4 -4
- package/dist/chunks/{console-access-wvtzz06b.js → usage-limits-22z20x00.js} +9 -7
- package/dist/chunks/{console-access-x5taj672.js → usage-limits-2368y051.js} +18 -18
- package/dist/chunks/{console-access-2fc7eemy.js → usage-limits-2fc7eemy.js} +1 -1
- package/dist/chunks/{console-access-2p60zmnr.js → usage-limits-2p60zmnr.js} +2 -2
- package/dist/chunks/{console-access-p8s1gd4s.js → usage-limits-2rqsj4wa.js} +16 -16
- package/dist/chunks/{console-access-tycv7n3a.js → usage-limits-2y8q1569.js} +4 -4
- package/dist/chunks/{console-access-w8bxj784.js → usage-limits-32720cxc.js} +13 -13
- package/dist/chunks/{console-access-w9bhmwnd.js → usage-limits-378jpew0.js} +31 -31
- package/dist/chunks/{console-access-700fkdfk.js → usage-limits-37hhv4wy.js} +14 -14
- package/dist/chunks/{console-access-3adw4bt5.js → usage-limits-3adw4bt5.js} +2 -2
- package/dist/chunks/{console-access-145jh0dz.js → usage-limits-3aj095vc.js} +45 -45
- package/dist/chunks/{console-access-j6pwh0dw.js → usage-limits-3e5a50ew.js} +25 -25
- package/dist/chunks/{console-access-12gpnb3q.js → usage-limits-3gv0pst8.js} +46 -46
- package/dist/chunks/{console-access-3hepkmqq.js → usage-limits-3hepkmqq.js} +1 -1
- package/dist/chunks/{console-access-w6vn3rjm.js → usage-limits-3k376a4c.js} +18 -18
- package/dist/chunks/{console-access-3nnrz6f6.js → usage-limits-3nnrz6f6.js} +1 -1
- package/dist/chunks/{console-access-txa287bv.js → usage-limits-3px36xtd.js} +7 -7
- package/dist/chunks/{console-access-qyfjn2hj.js → usage-limits-3rnrta3c.js} +14 -12
- package/dist/chunks/{console-access-40y6dtc2.js → usage-limits-40y6dtc2.js} +1 -1
- package/dist/chunks/{console-access-q7frhe9q.js → usage-limits-42p2d32x.js} +11 -11
- package/dist/chunks/{console-access-44pmzq9c.js → usage-limits-44pmzq9c.js} +2 -2
- package/dist/chunks/{console-access-v9x3g7mt.js → usage-limits-45n8x791.js} +3 -3
- package/dist/chunks/{console-access-dfp3y6d2.js → usage-limits-4c54bdmv.js} +14 -14
- package/dist/chunks/{console-access-jrpm8zaa.js → usage-limits-4dtvemx5.js} +8 -8
- package/dist/chunks/{console-access-4dx1dgte.js → usage-limits-4dx1dgte.js} +1 -1
- package/dist/chunks/{console-access-4f25tdd0.js → usage-limits-4f25tdd0.js} +1 -1
- package/dist/chunks/{console-access-4pyp9zr9.js → usage-limits-4pyp9zr9.js} +1 -1
- package/dist/chunks/{console-access-4v008n1t.js → usage-limits-4v008n1t.js} +1 -1
- package/dist/chunks/{console-access-syz0tpbb.js → usage-limits-4vk5s36p.js} +13 -13
- package/dist/chunks/{console-access-04qc8z7j.js → usage-limits-4vzr2b15.js} +3 -3
- package/dist/chunks/{console-access-zeyczbcm.js → usage-limits-526zrbs5.js} +17 -17
- package/dist/chunks/{console-access-54jthg9b.js → usage-limits-54cbb0bw.js} +15 -13
- package/dist/chunks/{console-access-8ctrpnmd.js → usage-limits-5asgddgx.js} +6 -6
- package/dist/chunks/{console-access-w2eysc6j.js → usage-limits-5enarcya.js} +6 -6
- package/dist/chunks/{console-access-5m9w47nd.js → usage-limits-5m9w47nd.js} +1 -1
- package/dist/chunks/{console-access-kknh0h5t.js → usage-limits-5p8ng2jk.js} +5 -5
- package/dist/chunks/{console-access-sv7s7tsw.js → usage-limits-5rk89tzr.js} +10 -10
- package/dist/chunks/{console-access-exn36q76.js → usage-limits-5s6k48sx.js} +9 -9
- package/dist/chunks/{console-access-9tvpxs1q.js → usage-limits-5w1mdqt7.js} +4 -4
- package/dist/chunks/{console-access-s47rahr7.js → usage-limits-5whx36p1.js} +4 -4
- package/dist/chunks/{console-access-b09zhmpv.js → usage-limits-5zpqhmp2.js} +6 -6
- package/dist/chunks/{console-access-fv6qyfge.js → usage-limits-601qms6t.js} +39 -39
- package/dist/chunks/{console-access-pk967bv4.js → usage-limits-6529fwjr.js} +149 -149
- package/dist/chunks/usage-limits-67zk70a4.js +273 -0
- package/dist/chunks/{console-access-xc0zwvrt.js → usage-limits-6czvh5et.js} +8 -8
- package/dist/chunks/{console-access-2f7q2xs5.js → usage-limits-6f38jrmr.js} +27 -27
- package/dist/chunks/{console-access-6f6jm3cp.js → usage-limits-6f6jm3cp.js} +3 -3
- package/dist/chunks/{console-access-a8p6aj20.js → usage-limits-6gtbfcr3.js} +46 -46
- package/dist/chunks/{console-access-70p2rqfj.js → usage-limits-6hmpncep.js} +4 -4
- package/dist/chunks/{console-access-agje4kmn.js → usage-limits-6y2b864j.js} +4 -4
- package/dist/chunks/{console-access-qsgy58tk.js → usage-limits-70rrpkbb.js} +23 -23
- package/dist/chunks/{console-access-zshnqxfx.js → usage-limits-73128jds.js} +79 -88
- package/dist/chunks/{console-access-80mg3ag8.js → usage-limits-775hqbnd.js} +3 -3
- package/dist/chunks/{console-access-mhs3my2j.js → usage-limits-786y1vw3.js} +5 -5
- package/dist/chunks/{console-access-7bmhse3q.js → usage-limits-7bmhse3q.js} +1 -1
- package/dist/chunks/{console-access-qdx40m6v.js → usage-limits-7e467hjm.js} +16 -16
- package/dist/chunks/{console-access-hvnpgnn3.js → usage-limits-7ew4ds6e.js} +20 -20
- package/dist/chunks/{console-access-nh28c849.js → usage-limits-7j5gw7wh.js} +21 -21
- package/dist/chunks/{console-access-9kg5w032.js → usage-limits-7tpyp9vw.js} +8 -8
- package/dist/chunks/{console-access-7w2ypzdf.js → usage-limits-7w2ypzdf.js} +1 -1
- package/dist/chunks/{console-access-7weczvnd.js → usage-limits-7weczvnd.js} +1 -1
- package/dist/chunks/{console-access-80pdk984.js → usage-limits-80pdk984.js} +1 -1
- package/dist/chunks/{console-access-85jq8dht.js → usage-limits-85jq8dht.js} +1 -1
- package/dist/chunks/{console-access-w1vfdhmh.js → usage-limits-85sd3wwa.js} +7 -5
- package/dist/chunks/{console-access-1hvdxct0.js → usage-limits-89zxy6kj.js} +1 -1
- package/dist/chunks/{console-access-aj3nfnth.js → usage-limits-8aq22acg.js} +12 -12
- package/dist/chunks/{console-access-25h84942.js → usage-limits-8b3vzgkx.js} +4 -4
- package/dist/chunks/{console-access-bb3mmwvh.js → usage-limits-8sxe6kv8.js} +2 -2
- package/dist/chunks/{console-access-327kchex.js → usage-limits-8tnpwq6r.js} +7 -7
- package/dist/chunks/{console-access-a0s6r7wt.js → usage-limits-8wnsjf6c.js} +7 -7
- package/dist/chunks/{console-access-8wtp7s3z.js → usage-limits-8wtp7s3z.js} +1 -1
- package/dist/chunks/{console-access-htft8eqa.js → usage-limits-8x3hmqtd.js} +8 -8
- package/dist/chunks/{console-access-dxjjehhs.js → usage-limits-8xgserg9.js} +21 -21
- package/dist/chunks/{console-access-8zv0xmg5.js → usage-limits-8zv0xmg5.js} +1 -1
- package/dist/chunks/{console-access-fvsgbxx2.js → usage-limits-91fd3s93.js} +5 -5
- package/dist/chunks/{console-access-mchqdswg.js → usage-limits-93f0ne34.js} +19 -19
- package/dist/chunks/{console-access-963hk181.js → usage-limits-963hk181.js} +2 -2
- package/dist/chunks/{console-access-pnysxsn1.js → usage-limits-9dckqgd9.js} +21 -21
- package/dist/chunks/{console-access-46g5cwr6.js → usage-limits-9gqwytrb.js} +92 -92
- package/dist/chunks/{console-access-xksyjy3w.js → usage-limits-9n5f64nr.js} +54 -352
- package/dist/chunks/{console-access-2s5g9t6w.js → usage-limits-9q7f1dnx.js} +6 -6
- package/dist/chunks/{console-access-z46n0fxw.js → usage-limits-9vcbn99r.js} +9 -7
- package/dist/chunks/{console-access-2z5pfyrb.js → usage-limits-9w9varqp.js} +35 -35
- package/dist/chunks/{console-access-pz30z7w0.js → usage-limits-a0qf5rjp.js} +21 -21
- package/dist/chunks/{console-access-p93dxgte.js → usage-limits-a1tswj55.js} +12 -12
- package/dist/chunks/usage-limits-a4ycrxnw.js +26 -0
- package/dist/chunks/{console-access-gtq409gb.js → usage-limits-ac1r7wtz.js} +51 -51
- package/dist/chunks/{console-access-7zst3jdz.js → usage-limits-adfw2kqv.js} +72 -53
- package/dist/chunks/{console-access-skqr3ef8.js → usage-limits-ar7h7cxw.js} +9 -9
- package/dist/chunks/{console-access-3cbjf1nt.js → usage-limits-ayjs7tqn.js} +2 -2
- package/dist/chunks/{console-access-b26ddj6h.js → usage-limits-b26ddj6h.js} +4 -4
- package/dist/chunks/{console-access-s1f5jhyk.js → usage-limits-b4nm0waw.js} +16 -16
- package/dist/chunks/{console-access-me215f18.js → usage-limits-b7nkz392.js} +1 -1
- package/dist/chunks/{console-access-6fq11get.js → usage-limits-bepf8h36.js} +3 -3
- package/dist/chunks/{console-access-x28ajtxe.js → usage-limits-bk4k41m0.js} +22 -22
- package/dist/chunks/{console-access-xzhs6mgn.js → usage-limits-bsfkzme1.js} +9 -9
- package/dist/chunks/{console-access-bstexjd6.js → usage-limits-bstexjd6.js} +1 -1
- package/dist/chunks/{console-access-by8ty0bx.js → usage-limits-by8ty0bx.js} +1 -1
- package/dist/chunks/{console-access-tpga7phq.js → usage-limits-c2q9zfkf.js} +4 -4
- package/dist/chunks/{console-access-5ev4kdyd.js → usage-limits-c30j6zhw.js} +12 -12
- package/dist/chunks/{console-access-c7cw818c.js → usage-limits-c7cw818c.js} +2 -2
- package/dist/chunks/{console-access-af7qvbnj.js → usage-limits-cfh2c4vx.js} +31 -31
- package/dist/chunks/{console-access-68kxwn1j.js → usage-limits-cjeshgaf.js} +8 -8
- package/dist/chunks/{console-access-jkdcm5hg.js → usage-limits-cr4rfj9z.js} +4 -4
- package/dist/chunks/usage-limits-cs4r3jr9.js +577 -0
- package/dist/chunks/{console-access-qh5g3qaw.js → usage-limits-ctmpqb7w.js} +9 -9
- package/dist/chunks/{console-access-cwrgdav8.js → usage-limits-cwrgdav8.js} +2 -2
- package/dist/chunks/{console-access-d4v9tmah.js → usage-limits-d4v9tmah.js} +2 -2
- package/dist/chunks/{console-access-fpkg144f.js → usage-limits-d6zsrev0.js} +19 -19
- package/dist/chunks/{console-access-ysm1ew58.js → usage-limits-db48qj7n.js} +20 -20
- package/dist/chunks/{console-access-wat1f99y.js → usage-limits-dbzr9wdf.js} +2 -2
- package/dist/chunks/{console-access-e1kfce1z.js → usage-limits-dc51qbmr.js} +20 -20
- package/dist/chunks/{console-access-229tvxdn.js → usage-limits-dg5naf6e.js} +4 -4
- package/dist/chunks/{console-access-g374vjhm.js → usage-limits-dka29ds1.js} +17 -17
- package/dist/chunks/{console-access-dt77769w.js → usage-limits-dt77769w.js} +1 -1
- package/dist/chunks/{console-access-xjspp0nm.js → usage-limits-dvde2pc4.js} +20 -20
- package/dist/chunks/{console-access-22azp77r.js → usage-limits-e3jz9n7h.js} +9 -9
- package/dist/chunks/{console-access-ngxew0f3.js → usage-limits-e3qg51pp.js} +81 -81
- package/dist/chunks/{console-access-5v57y532.js → usage-limits-e3xbncmc.js} +22 -22
- package/dist/chunks/{console-access-8z5rk5rm.js → usage-limits-ea2m5hc4.js} +8 -8
- package/dist/chunks/{console-access-ez2vjmkd.js → usage-limits-eh25zjz2.js} +13 -13
- package/dist/chunks/{console-access-ejgeqqx1.js → usage-limits-ejgeqqx1.js} +1 -1
- package/dist/chunks/{console-access-eqw4pqj1.js → usage-limits-eqw4pqj1.js} +2 -2
- package/dist/chunks/{console-access-3abk0zea.js → usage-limits-eqz858fr.js} +11 -11
- package/dist/chunks/{console-access-evc0sp78.js → usage-limits-f50vp3tr.js} +30 -30
- package/dist/chunks/{console-access-cpq32mrd.js → usage-limits-fas9x0zj.js} +8 -8
- package/dist/chunks/{console-access-z6g4szpb.js → usage-limits-fc93665r.js} +8 -8
- package/dist/chunks/{console-access-y2n4a3qg.js → usage-limits-fcv1wwdz.js} +25 -25
- package/dist/chunks/{console-access-pfq0vz60.js → usage-limits-ffv17rwk.js} +3 -3
- package/dist/chunks/{console-access-prq7xxp2.js → usage-limits-fg9p65nk.js} +6 -6
- package/dist/chunks/{console-access-pmdtw20k.js → usage-limits-fjn6cgzk.js} +8 -8
- package/dist/chunks/{console-access-7a2pan0c.js → usage-limits-ftc624e5.js} +19 -19
- package/dist/chunks/{console-access-s1j5vajh.js → usage-limits-g3qdsj3j.js} +15 -15
- package/dist/chunks/{console-access-26fn9xjv.js → usage-limits-g7q2rrzt.js} +8 -8
- package/dist/chunks/{console-access-gbjdnr5j.js → usage-limits-gbjdnr5j.js} +2 -2
- package/dist/chunks/{console-access-x64nxesj.js → usage-limits-gfv3bamm.js} +7 -7
- package/dist/chunks/{console-access-fdhgp1py.js → usage-limits-gh3tqavf.js} +6 -6
- package/dist/chunks/{console-access-ghrv1g9c.js → usage-limits-ghrv1g9c.js} +1 -1
- package/dist/chunks/{console-access-ssm7pgtt.js → usage-limits-ght93wgr.js} +34 -32
- package/dist/chunks/{console-access-c3rxt9mg.js → usage-limits-gk943ye1.js} +6 -6
- package/dist/chunks/{console-access-tcrnav6y.js → usage-limits-gkqyq5r9.js} +15 -15
- package/dist/chunks/{console-access-39xyskhj.js → usage-limits-gnqkjjxq.js} +38 -38
- package/dist/chunks/{console-access-dk3vq3c0.js → usage-limits-grnwbwna.js} +16 -16
- package/dist/chunks/usage-limits-grzehpz7.js +18 -0
- package/dist/chunks/{console-access-q114evkh.js → usage-limits-gtg5artq.js} +10 -10
- package/dist/chunks/{console-access-tg7s7b5t.js → usage-limits-gxs71cxp.js} +4 -4
- package/dist/chunks/{console-access-ey1q4t6p.js → usage-limits-h6c1ek8j.js} +2 -2
- package/dist/chunks/{console-access-5bdhbfnv.js → usage-limits-h9nn55c5.js} +22 -22
- package/dist/chunks/{console-access-3bgf9gas.js → usage-limits-hced1q2j.js} +4 -4
- package/dist/chunks/{console-access-dy74atx8.js → usage-limits-hdyhwc9f.js} +8 -8
- package/dist/chunks/{console-access-3f8gah40.js → usage-limits-hgyfjph1.js} +12 -12
- package/dist/chunks/{console-access-hgzwgvze.js → usage-limits-hgzwgvze.js} +2 -2
- package/dist/chunks/{console-access-heaknw37.js → usage-limits-hhc7y5y0.js} +10 -10
- package/dist/chunks/{console-access-g3qr791c.js → usage-limits-hjhzj75t.js} +28 -28
- package/dist/chunks/{console-access-gqbyke6q.js → usage-limits-hmktf0nf.js} +55 -55
- package/dist/chunks/{console-access-1j62qemv.js → usage-limits-hvd5tw3z.js} +13 -13
- package/dist/chunks/{console-access-5mctbva8.js → usage-limits-hvk1hafx.js} +4 -4
- package/dist/chunks/{console-access-znv913nb.js → usage-limits-j1egny1s.js} +12 -10
- package/dist/chunks/{console-access-ze75qvmd.js → usage-limits-j9nxzz3g.js} +3 -3
- package/dist/chunks/{console-access-jm70asfg.js → usage-limits-jm70asfg.js} +1 -1
- package/dist/chunks/{console-access-jv5ccajn.js → usage-limits-jv5ccajn.js} +2 -2
- package/dist/chunks/{console-access-2ypwe4rv.js → usage-limits-jyf1m81b.js} +25 -25
- package/dist/chunks/{console-access-fbf0pjvh.js → usage-limits-k50gg9mr.js} +3 -3
- package/dist/chunks/{console-access-rcptnvfg.js → usage-limits-kkshxp48.js} +18 -18
- package/dist/chunks/{console-access-nb781kea.js → usage-limits-kq5y9fax.js} +13 -13
- package/dist/chunks/{console-access-j3vvtn18.js → usage-limits-krqy0qqf.js} +17 -17
- package/dist/chunks/{console-access-kt3bjfbg.js → usage-limits-kt3bjfbg.js} +1 -1
- package/dist/chunks/{console-access-hf71y4w1.js → usage-limits-kwjvsxtm.js} +38 -38
- package/dist/chunks/{console-access-03ktjqgw.js → usage-limits-kxvavz0b.js} +31 -31
- package/dist/chunks/{console-access-3zhtz7zv.js → usage-limits-kzb30q6z.js} +21 -21
- package/dist/chunks/{console-access-kzczzf4v.js → usage-limits-kzczzf4v.js} +1 -1
- package/dist/chunks/{console-access-07sysp34.js → usage-limits-m07x43ss.js} +9 -9
- package/dist/chunks/{console-access-m1714858.js → usage-limits-m1714858.js} +1 -1
- package/dist/chunks/{console-access-7v3bxnq8.js → usage-limits-m30pzkfp.js} +24 -24
- package/dist/chunks/{console-access-d8jrfj17.js → usage-limits-m7bb3gwb.js} +2 -2
- package/dist/chunks/{console-access-btad6fdg.js → usage-limits-m7razs27.js} +31 -29
- package/dist/chunks/{console-access-rrwapx1k.js → usage-limits-m8rxqpkg.js} +3 -3
- package/dist/chunks/usage-limits-m90tx7mw.js +314 -0
- package/dist/chunks/{console-access-m9w0rfyh.js → usage-limits-m9w0rfyh.js} +1 -1
- package/dist/chunks/{console-access-8z6m94af.js → usage-limits-mb7mbhnz.js} +3 -3
- package/dist/chunks/{console-access-016qw9c5.js → usage-limits-mcxvs31m.js} +12 -12
- package/dist/chunks/{console-access-yqnmpmgy.js → usage-limits-mfmt126m.js} +25 -21
- package/dist/chunks/{console-access-nzthwq44.js → usage-limits-ms258ef6.js} +14 -14
- package/dist/chunks/{console-access-tearbbhv.js → usage-limits-mth3cj04.js} +13 -13
- package/dist/chunks/{console-access-a3gzgt68.js → usage-limits-mzxjpf7k.js} +10 -10
- package/dist/chunks/{console-access-n320gsn2.js → usage-limits-n320gsn2.js} +1 -1
- package/dist/chunks/{console-access-k77m49sa.js → usage-limits-n6k0bagf.js} +24 -20
- package/dist/chunks/{console-access-xthwf30d.js → usage-limits-nc5q8vet.js} +26 -26
- package/dist/chunks/{console-access-91c00znj.js → usage-limits-net9d0fx.js} +23 -23
- package/dist/chunks/{console-access-nq1mg43n.js → usage-limits-nq1mg43n.js} +1 -1
- package/dist/chunks/{console-access-cdpg6eew.js → usage-limits-nwyc7xwk.js} +10 -10
- package/dist/chunks/{console-access-4wrw35nf.js → usage-limits-ny73nq33.js} +11 -11
- package/dist/chunks/{console-access-0e67e1t6.js → usage-limits-p0dbwaqv.js} +11 -11
- package/dist/chunks/{console-access-vb4j4pxq.js → usage-limits-p239k93p.js} +33 -33
- package/dist/chunks/{console-access-s0ad7dsm.js → usage-limits-p3nfbtvb.js} +8 -8
- package/dist/chunks/{console-access-cxbx7zf0.js → usage-limits-p6se6c3r.js} +11 -11
- package/dist/chunks/{console-access-txz9rewy.js → usage-limits-p7qb8jbp.js} +24 -24
- package/dist/chunks/{console-access-k9m9erg6.js → usage-limits-pas7cje7.js} +8 -8
- package/dist/chunks/{console-access-6rra74mh.js → usage-limits-pbr6dek6.js} +9 -9
- package/dist/chunks/{console-access-g1zjzx8j.js → usage-limits-pe00mm5s.js} +15 -15
- package/dist/chunks/{console-access-8bgnr0we.js → usage-limits-pj4g6jw6.js} +9 -9
- package/dist/chunks/{console-access-pknna89w.js → usage-limits-pknna89w.js} +1 -1
- package/dist/chunks/{console-access-ajxfcbbm.js → usage-limits-q2t4f8zk.js} +10 -10
- package/dist/chunks/{console-access-q42tzrxa.js → usage-limits-q42tzrxa.js} +1 -1
- package/dist/chunks/{console-access-ftqt7vt3.js → usage-limits-q5bd917m.js} +2 -2
- package/dist/chunks/{console-access-mhezkrf9.js → usage-limits-q855xgy8.js} +9 -9
- package/dist/chunks/{console-access-97hrk100.js → usage-limits-q9s971fk.js} +16 -16
- package/dist/chunks/{console-access-m6rt7d60.js → usage-limits-qa2jv7nb.js} +25 -25
- package/dist/chunks/{console-access-nv9tsjma.js → usage-limits-qah7t4da.js} +6 -6
- package/dist/chunks/{console-access-ks82pkxv.js → usage-limits-qf9gv2d2.js} +31 -31
- package/dist/chunks/{console-access-31n4pkqx.js → usage-limits-qft9y4hy.js} +3 -3
- package/dist/chunks/{console-access-y6tapfg7.js → usage-limits-qh3gs631.js} +34 -34
- package/dist/chunks/{console-access-gjb66y7t.js → usage-limits-qhbe3ak7.js} +7 -7
- package/dist/chunks/{console-access-qp7r0hxv.js → usage-limits-qp7r0hxv.js} +1 -1
- package/dist/chunks/{console-access-ahh6fjzm.js → usage-limits-qr56g015.js} +22 -22
- package/dist/chunks/{console-access-69977w2a.js → usage-limits-qra2yhaf.js} +9 -9
- package/dist/chunks/{console-access-2n444ktb.js → usage-limits-qtf35215.js} +3 -3
- package/dist/chunks/{console-access-qmj5kb7j.js → usage-limits-qw6m5vap.js} +11 -11
- package/dist/chunks/{console-access-dc5bdqkv.js → usage-limits-r0wkvse5.js} +11 -11
- package/dist/chunks/{console-access-ad6zqy0v.js → usage-limits-r7zprqr5.js} +7 -7
- package/dist/chunks/{console-access-8wqpz5wk.js → usage-limits-r8ec70nh.js} +16 -16
- package/dist/chunks/{console-access-rb9dy4dg.js → usage-limits-rb9dy4dg.js} +1 -1
- package/dist/chunks/{console-access-rgc9cx3e.js → usage-limits-rgc9cx3e.js} +2 -2
- package/dist/chunks/{console-access-4jqhq68j.js → usage-limits-rkj43f4z.js} +3 -3
- package/dist/chunks/{console-access-5zbv1n35.js → usage-limits-rsh3wnz1.js} +3 -3
- package/dist/chunks/{console-access-xp4xtpmf.js → usage-limits-rv5b319h.js} +1 -1
- package/dist/chunks/{console-access-3mz4bjd8.js → usage-limits-s6bqntgs.js} +17 -17
- package/dist/chunks/{console-access-pf7kx039.js → usage-limits-s6p6xy3r.js} +36 -36
- package/dist/chunks/{console-access-vegy9rbt.js → usage-limits-sbh2sz2j.js} +24 -24
- package/dist/chunks/{console-access-sbya78hr.js → usage-limits-sbya78hr.js} +1 -1
- package/dist/chunks/{console-access-fnb7tsjp.js → usage-limits-sf7z16qf.js} +11 -11
- package/dist/chunks/{console-access-3e2dypxx.js → usage-limits-sf85ryyv.js} +19 -19
- package/dist/chunks/{console-access-nw6w45p3.js → usage-limits-sfrpj36e.js} +30 -30
- package/dist/chunks/{console-access-jvdfzba2.js → usage-limits-shsvp7vp.js} +22 -22
- package/dist/chunks/{console-access-4jptyz6y.js → usage-limits-sjt0mtq1.js} +26 -26
- package/dist/chunks/{console-access-svcy3p9a.js → usage-limits-svcy3p9a.js} +1 -1
- package/dist/chunks/{console-access-6edbc7zm.js → usage-limits-sx27c7qs.js} +7 -7
- package/dist/chunks/{console-access-n3j33rb6.js → usage-limits-t62dywgn.js} +4 -4
- package/dist/chunks/{console-access-t11z612g.js → usage-limits-t8ypkyyc.js} +24 -24
- package/dist/chunks/{console-access-tbpn7jtk.js → usage-limits-tbpn7jtk.js} +1 -1
- package/dist/chunks/{console-access-tczq8hjw.js → usage-limits-tczq8hjw.js} +1 -1
- package/dist/chunks/{console-access-z4gjsd04.js → usage-limits-td0ccqka.js} +7 -7
- package/dist/chunks/{console-access-wp3gwd43.js → usage-limits-tfxry2e2.js} +11 -11
- package/dist/chunks/{console-access-gjsh233h.js → usage-limits-tr2nk892.js} +29 -29
- package/dist/chunks/{console-access-tr8x705m.js → usage-limits-tr8x705m.js} +1 -1
- package/dist/chunks/{console-access-435gy1tb.js → usage-limits-trsth5nr.js} +6 -6
- package/dist/chunks/{console-access-tvtps2q9.js → usage-limits-tvtps2q9.js} +1 -1
- package/dist/chunks/{console-access-twssxy5n.js → usage-limits-twssxy5n.js} +2 -2
- package/dist/chunks/{console-access-ernk41n0.js → usage-limits-twtdr6y0.js} +39 -39
- package/dist/chunks/{console-access-qn178psk.js → usage-limits-txjws9vm.js} +11 -11
- package/dist/chunks/{console-access-v2r1d0zg.js → usage-limits-v2r1d0zg.js} +1 -1
- package/dist/chunks/{console-access-pewv95xk.js → usage-limits-v325dg72.js} +20 -20
- package/dist/chunks/{console-access-kzkz6676.js → usage-limits-v4bj6baw.js} +4 -4
- package/dist/chunks/{console-access-mbt71hy1.js → usage-limits-v73ga3me.js} +31 -31
- package/dist/chunks/{console-access-k661rgny.js → usage-limits-vb7smdbq.js} +5 -5
- package/dist/chunks/{console-access-p3xymq4j.js → usage-limits-vbfqpmv9.js} +21 -21
- package/dist/chunks/{console-access-a2dkjyq5.js → usage-limits-vjf1wnjw.js} +30 -30
- package/dist/chunks/{console-access-vjf35v1f.js → usage-limits-vjf35v1f.js} +1 -1
- package/dist/chunks/{console-access-xxdprspw.js → usage-limits-vmxh67a6.js} +4 -4
- package/dist/chunks/{console-access-j5w8ntyc.js → usage-limits-vw4p4fbt.js} +16 -16
- package/dist/chunks/{console-access-1351nr0e.js → usage-limits-vz8yk5dt.js} +3 -3
- package/dist/chunks/{console-access-w3wsvvr9.js → usage-limits-w3wsvvr9.js} +1 -1
- package/dist/chunks/{console-access-w79nt68w.js → usage-limits-w79nt68w.js} +1 -1
- package/dist/chunks/{console-access-fqg2m573.js → usage-limits-w8ex0f27.js} +6 -6
- package/dist/chunks/{console-access-wakvkjy4.js → usage-limits-wakvkjy4.js} +1 -1
- package/dist/chunks/{console-access-wd87259q.js → usage-limits-wd87259q.js} +1 -1
- package/dist/chunks/{console-access-nx4vzyjd.js → usage-limits-wegkxhrn.js} +2 -2
- package/dist/chunks/{console-access-wfdx5ztx.js → usage-limits-wfdx5ztx.js} +1 -1
- package/dist/chunks/{console-access-40nfq217.js → usage-limits-wk0531zk.js} +18 -18
- package/dist/chunks/{console-access-mgrxab88.js → usage-limits-wn08rbng.js} +22 -22
- package/dist/chunks/{console-access-8dcx9jfj.js → usage-limits-wn13ypz9.js} +15 -15
- package/dist/chunks/{console-access-wr3re1en.js → usage-limits-wr3re1en.js} +1 -1
- package/dist/chunks/{console-access-gp5gmen1.js → usage-limits-wvqyzeay.js} +24 -24
- package/dist/chunks/{console-access-njsx36jc.js → usage-limits-ww791pww.js} +14 -12
- package/dist/chunks/{console-access-a3fn0gmm.js → usage-limits-x150ncgg.js} +2 -2
- package/dist/chunks/{console-access-kzewrrv0.js → usage-limits-x36pdner.js} +9 -9
- package/dist/chunks/{console-access-yryfg5wr.js → usage-limits-x3eexw8z.js} +4 -4
- package/dist/chunks/{console-access-m0qbf2np.js → usage-limits-x4qkf6h2.js} +29 -29
- package/dist/chunks/{console-access-b34wt9qr.js → usage-limits-xa9a76g6.js} +25 -25
- package/dist/chunks/{console-access-xacrkbdt.js → usage-limits-xacrkbdt.js} +1 -1
- package/dist/chunks/{console-access-5azf7efg.js → usage-limits-xfrnyd0a.js} +14 -14
- package/dist/chunks/{console-access-xmx7xj34.js → usage-limits-xmx7xj34.js} +1 -1
- package/dist/chunks/{console-access-w2ym4xxz.js → usage-limits-xs8fxyyv.js} +15 -15
- package/dist/chunks/{console-access-p76me67c.js → usage-limits-xsact9zs.js} +4 -4
- package/dist/chunks/{console-access-vd2hy105.js → usage-limits-xvn32npp.js} +5 -5
- package/dist/chunks/{console-access-tf3hezvc.js → usage-limits-xx0bwd8h.js} +35 -35
- package/dist/chunks/{console-access-xxschbft.js → usage-limits-xxschbft.js} +1 -1
- package/dist/chunks/{console-access-w4xw9ac5.js → usage-limits-xz07m27x.js} +2 -2
- package/dist/chunks/{console-access-4xz8p7j7.js → usage-limits-y32xxt00.js} +4 -4
- package/dist/chunks/{console-access-9gtr84y2.js → usage-limits-y3sw9ykq.js} +9 -9
- package/dist/chunks/{console-access-hpwqm92y.js → usage-limits-y40wf3tb.js} +36 -36
- package/dist/chunks/{console-access-0rfge6zv.js → usage-limits-y4zf405k.js} +59 -59
- package/dist/chunks/{console-access-3w55ezbs.js → usage-limits-y9azjp7e.js} +13 -13
- package/dist/chunks/{console-access-yb20nhc3.js → usage-limits-yb20nhc3.js} +1 -1
- package/dist/chunks/{console-access-0hxcpwt2.js → usage-limits-yk4ram99.js} +3 -3
- package/dist/chunks/{console-access-m12n9xkc.js → usage-limits-ymq5559q.js} +13 -13
- package/dist/chunks/{console-access-ynzdgah7.js → usage-limits-ynzdgah7.js} +2 -2
- package/dist/chunks/{console-access-yts2a8qm.js → usage-limits-ypj1acmt.js} +4 -4
- package/dist/chunks/{console-access-yr705xyq.js → usage-limits-yr705xyq.js} +1 -1
- package/dist/chunks/{console-access-ftynw918.js → usage-limits-yswt24xe.js} +5 -5
- package/dist/chunks/{console-access-frhz8x30.js → usage-limits-yv0mxjwc.js} +4 -4
- package/dist/chunks/{console-access-yvtc2x31.js → usage-limits-yvtc2x31.js} +1 -1
- package/dist/chunks/{console-access-hqw1sn6r.js → usage-limits-ywz68vkg.js} +47 -47
- package/dist/chunks/{console-access-jgd4e8e6.js → usage-limits-z080rjh6.js} +4 -4
- package/dist/chunks/{console-access-wtys11e1.js → usage-limits-z67zmw03.js} +37 -37
- package/dist/chunks/{console-access-hc4x0xtb.js → usage-limits-zabc2wfq.js} +15 -13
- package/dist/chunks/{console-access-bfjeeya9.js → usage-limits-zmtdeb8k.js} +7 -7
- package/dist/chunks/{console-access-1je62nqx.js → usage-limits-zq5y2v36.js} +15 -15
- package/dist/chunks/{console-access-te075nf2.js → usage-limits-zt2mz163.js} +29 -29
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- 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 +131 -130
- 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 +88 -88
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +101 -101
- package/dist/effect/app-node-builder.js +442 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +85 -85
- 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 +91 -91
- 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 +114 -114
- package/dist/flag.js +132 -131
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +119 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -104
- 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 -432
- package/dist/instruction-discovery.js +97 -97
- 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 +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 +186 -185
- 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 +126 -126
- 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 +111 -110
- 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 +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +157 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- 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 +139 -138
- 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 +81 -81
- 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 +7 -7
- 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 +113 -113
- package/dist/reference/instructions.js +101 -101
- 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 +263 -262
- 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 +133 -132
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +256 -255
- package/dist/session/execution.js +168 -167
- package/dist/session/generate.js +206 -205
- package/dist/session/history.js +140 -139
- package/dist/session/inbox.js +147 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +84 -84
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +257 -256
- 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 +5 -5
- package/dist/session/session.js +187 -186
- 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 +87 -87
- package/dist/session/store.js +146 -145
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +235 -234
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +204 -203
- package/dist/session/to-session-error.js +153 -152
- package/dist/session/transfer.js +252 -251
- package/dist/session/usage.js +1 -1
- package/dist/session.js +245 -244
- package/dist/shared-cache.js +1 -1
- 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 +160 -159
- package/dist/snapshot.js +102 -102
- 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 -186
- 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 +168 -167
- 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 +172 -171
- package/dist/tool/plugin/question.js +148 -147
- 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 +161 -160
- package/dist/tool/plugin/subagent.js +244 -243
- 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 +164 -163
- 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 +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 +3 -3
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +106 -105
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +105 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +91 -91
- 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 +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/console-access-145rv6ez.js +0 -18
- package/dist/chunks/console-access-f88gwvks.js +0 -577
- package/dist/chunks/console-access-hb0pk4qb.js +0 -273
- package/dist/chunks/console-access-m1a893c4.js +0 -26
- /package/dist/chunks/{console-access-0qkdqm5v.js → usage-limits-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{console-access-0zkw76rk.js → usage-limits-0zkw76rk.js} +0 -0
- /package/dist/chunks/{console-access-17cy0kzp.js → usage-limits-17cy0kzp.js} +0 -0
- /package/dist/chunks/{console-access-1cnp2v09.js → usage-limits-1cnp2v09.js} +0 -0
- /package/dist/chunks/{console-access-1kah00gy.js → usage-limits-1kah00gy.js} +0 -0
- /package/dist/chunks/{console-access-24dcb14g.js → usage-limits-24dcb14g.js} +0 -0
- /package/dist/chunks/{console-access-2710q6r3.js → usage-limits-2710q6r3.js} +0 -0
- /package/dist/chunks/{console-access-2c3vjs8z.js → usage-limits-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{console-access-359p4xyc.js → usage-limits-359p4xyc.js} +0 -0
- /package/dist/chunks/{console-access-3v8g72cx.js → usage-limits-3v8g72cx.js} +0 -0
- /package/dist/chunks/{console-access-43n2bw4t.js → usage-limits-43n2bw4t.js} +0 -0
- /package/dist/chunks/{console-access-4knz6hnm.js → usage-limits-4knz6hnm.js} +0 -0
- /package/dist/chunks/{console-access-4qk9sjk2.js → usage-limits-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{console-access-53557ph1.js → usage-limits-53557ph1.js} +0 -0
- /package/dist/chunks/{console-access-5w3e23ze.js → usage-limits-5w3e23ze.js} +0 -0
- /package/dist/chunks/{console-access-6agm2x70.js → usage-limits-6agm2x70.js} +0 -0
- /package/dist/chunks/{console-access-6prwharc.js → usage-limits-6prwharc.js} +0 -0
- /package/dist/chunks/{console-access-6q2bdcd1.js → usage-limits-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{console-access-7akdwqpd.js → usage-limits-7akdwqpd.js} +0 -0
- /package/dist/chunks/{console-access-7m9af43g.js → usage-limits-7m9af43g.js} +0 -0
- /package/dist/chunks/{console-access-822emrt2.js → usage-limits-822emrt2.js} +0 -0
- /package/dist/chunks/{console-access-84wd9syh.js → usage-limits-84wd9syh.js} +0 -0
- /package/dist/chunks/{console-access-88xbtdfr.js → usage-limits-88xbtdfr.js} +0 -0
- /package/dist/chunks/{console-access-8n3pysct.js → usage-limits-8n3pysct.js} +0 -0
- /package/dist/chunks/{console-access-8wj87zfr.js → usage-limits-8wj87zfr.js} +0 -0
- /package/dist/chunks/{console-access-9a4afbnw.js → usage-limits-9a4afbnw.js} +0 -0
- /package/dist/chunks/{console-access-9rqn6x4v.js → usage-limits-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{console-access-aqzs7mqg.js → usage-limits-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{console-access-atq7p7m5.js → usage-limits-atq7p7m5.js} +0 -0
- /package/dist/chunks/{console-access-beh6qq61.js → usage-limits-beh6qq61.js} +0 -0
- /package/dist/chunks/{console-access-bhmrqjy3.js → usage-limits-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{console-access-bkyjaxrp.js → usage-limits-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{console-access-bmr6ed5q.js → usage-limits-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{console-access-cf4snx6d.js → usage-limits-cf4snx6d.js} +0 -0
- /package/dist/chunks/{console-access-cqv5kn06.js → usage-limits-cqv5kn06.js} +0 -0
- /package/dist/chunks/{console-access-cvy3z8tj.js → usage-limits-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{console-access-d9fn303g.js → usage-limits-d9fn303g.js} +0 -0
- /package/dist/chunks/{console-access-d9jj8t3e.js → usage-limits-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{console-access-df08tz66.js → usage-limits-df08tz66.js} +0 -0
- /package/dist/chunks/{console-access-dy18nga0.js → usage-limits-dy18nga0.js} +0 -0
- /package/dist/chunks/{console-access-e5kj55wp.js → usage-limits-e5kj55wp.js} +0 -0
- /package/dist/chunks/{console-access-ean2d8b5.js → usage-limits-ean2d8b5.js} +0 -0
- /package/dist/chunks/{console-access-ec1grn59.js → usage-limits-ec1grn59.js} +0 -0
- /package/dist/chunks/{console-access-emrn6kk6.js → usage-limits-emrn6kk6.js} +0 -0
- /package/dist/chunks/{console-access-f0mxakyp.js → usage-limits-f0mxakyp.js} +0 -0
- /package/dist/chunks/{console-access-f6n9ztr4.js → usage-limits-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{console-access-faypxj3z.js → usage-limits-faypxj3z.js} +0 -0
- /package/dist/chunks/{console-access-fd410y7t.js → usage-limits-fd410y7t.js} +0 -0
- /package/dist/chunks/{console-access-fkpq3x5p.js → usage-limits-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{console-access-g86h250q.js → usage-limits-g86h250q.js} +0 -0
- /package/dist/chunks/{console-access-gebd4c9n.js → usage-limits-gebd4c9n.js} +0 -0
- /package/dist/chunks/{console-access-gftt206x.js → usage-limits-gftt206x.js} +0 -0
- /package/dist/chunks/{console-access-hcxmzztb.js → usage-limits-hcxmzztb.js} +0 -0
- /package/dist/chunks/{console-access-hk9envan.js → usage-limits-hk9envan.js} +0 -0
- /package/dist/chunks/{console-access-j2ntwpah.js → usage-limits-j2ntwpah.js} +0 -0
- /package/dist/chunks/{console-access-jjkms2e6.js → usage-limits-jjkms2e6.js} +0 -0
- /package/dist/chunks/{console-access-jr7sbwjy.js → usage-limits-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{console-access-jwfs4k6c.js → usage-limits-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{console-access-jwr30sdr.js → usage-limits-jwr30sdr.js} +0 -0
- /package/dist/chunks/{console-access-jzg6c2d5.js → usage-limits-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{console-access-m18g726c.js → usage-limits-m18g726c.js} +0 -0
- /package/dist/chunks/{console-access-mp448xyj.js → usage-limits-mp448xyj.js} +0 -0
- /package/dist/chunks/{console-access-msx8hqn2.js → usage-limits-msx8hqn2.js} +0 -0
- /package/dist/chunks/{console-access-n05xt0ee.js → usage-limits-n05xt0ee.js} +0 -0
- /package/dist/chunks/{console-access-n3j8tn72.js → usage-limits-n3j8tn72.js} +0 -0
- /package/dist/chunks/{console-access-nh4v3znn.js → usage-limits-nh4v3znn.js} +0 -0
- /package/dist/chunks/{console-access-njntx4h6.js → usage-limits-njntx4h6.js} +0 -0
- /package/dist/chunks/{console-access-p71gwv9c.js → usage-limits-p71gwv9c.js} +0 -0
- /package/dist/chunks/{console-access-q3sfg36h.js → usage-limits-q3sfg36h.js} +0 -0
- /package/dist/chunks/{console-access-q74kybfr.js → usage-limits-q74kybfr.js} +0 -0
- /package/dist/chunks/{console-access-qb87gjwd.js → usage-limits-qb87gjwd.js} +0 -0
- /package/dist/chunks/{console-access-qfa1cgps.js → usage-limits-qfa1cgps.js} +0 -0
- /package/dist/chunks/{console-access-qg3g05ea.js → usage-limits-qg3g05ea.js} +0 -0
- /package/dist/chunks/{console-access-qrg20bc0.js → usage-limits-qrg20bc0.js} +0 -0
- /package/dist/chunks/{console-access-rcb2kzg1.js → usage-limits-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{console-access-sdp7kfr6.js → usage-limits-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{console-access-ssg3fenm.js → usage-limits-ssg3fenm.js} +0 -0
- /package/dist/chunks/{console-access-syrav9an.js → usage-limits-syrav9an.js} +0 -0
- /package/dist/chunks/{console-access-t03h4f5z.js → usage-limits-t03h4f5z.js} +0 -0
- /package/dist/chunks/{console-access-ty7weeps.js → usage-limits-ty7weeps.js} +0 -0
- /package/dist/chunks/{console-access-ve7vex1e.js → usage-limits-ve7vex1e.js} +0 -0
- /package/dist/chunks/{console-access-vtarvj67.js → usage-limits-vtarvj67.js} +0 -0
- /package/dist/chunks/{console-access-w803qqfp.js → usage-limits-w803qqfp.js} +0 -0
- /package/dist/chunks/{console-access-wc3fc9cn.js → usage-limits-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{console-access-wer8tq1h.js → usage-limits-wer8tq1h.js} +0 -0
- /package/dist/chunks/{console-access-wtztk69x.js → usage-limits-wtztk69x.js} +0 -0
- /package/dist/chunks/{console-access-x4th4bpe.js → usage-limits-x4th4bpe.js} +0 -0
- /package/dist/chunks/{console-access-y44na4kk.js → usage-limits-y44na4kk.js} +0 -0
- /package/dist/chunks/{console-access-y8f7s663.js → usage-limits-y8f7s663.js} +0 -0
- /package/dist/chunks/{console-access-ygaqb7jw.js → usage-limits-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{console-access-z0h12gs8.js → usage-limits-z0h12gs8.js} +0 -0
- /package/dist/chunks/{console-access-z5v4ffb3.js → usage-limits-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{console-access-z9919s4g.js → usage-limits-z9919s4g.js} +0 -0
- /package/dist/chunks/{console-access-zxpyjp51.js → usage-limits-zxpyjp51.js} +0 -0
- /package/dist/chunks/{console-access-zz5vv3aq.js → usage-limits-zz5vv3aq.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./usage-limits-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
6
|
ID18,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service86,
|
|
8
|
+
node88
|
|
9
|
+
} from "./usage-limits-7j5gw7wh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info8,
|
|
18
|
+
Service: () => Service26,
|
|
19
|
+
UnavailableError: () => UnavailableError4,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer12,
|
|
22
|
+
node: () => node29
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info8 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError4 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service26 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service86;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
45
|
const connection = yield* integrations.connection.active(ID18.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer11 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError4({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer11 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service26.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node29 = makeLocationNode({
|
|
72
|
+
service: Service26,
|
|
73
|
+
layer: layer12,
|
|
74
|
+
deps: [node88, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError4({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError4({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info8, UnavailableError4, Service26, layer12, node29, exports_usage_limits };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID17
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-9n5f64nr.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-9vcbn99r.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./usage-limits-vmxh67a6.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service94
|
|
3
|
+
} from "./usage-limits-0xzz5bc5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./usage-limits-bsfkzme1.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./usage-limits-grzehpz7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service79
|
|
15
|
+
} from "./usage-limits-fc93665r.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./usage-limits-5zpqhmp2.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read4
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./usage-limits-qhbe3ak7.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service46
|
|
30
|
+
} from "./usage-limits-wvqyzeay.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service79;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service46;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -142,14 +142,14 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
142
142
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
143
143
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
144
144
|
return { data: Base64.make(data), mime };
|
|
145
|
-
const image = yield*
|
|
145
|
+
const image = yield* Service61;
|
|
146
146
|
const label = attachmentLabel(input);
|
|
147
147
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
148
148
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
149
149
|
return { data: Base64.make(normalized.content), mime: normalized.mime };
|
|
150
150
|
});
|
|
151
151
|
var readBlobAttachment = Effect.fn("SessionPrompt.readBlobAttachment")(function* (uri) {
|
|
152
|
-
const { db } = yield*
|
|
152
|
+
const { db } = yield* Service94;
|
|
153
153
|
const blob = yield* read4(db, refHash2(uri));
|
|
154
154
|
if (!blob)
|
|
155
155
|
return yield* new AttachmentError2({ uri, message: `Attachment is no longer stored: ${uri}` });
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service53,
|
|
3
|
+
node55
|
|
4
|
+
} from "./usage-limits-qah7t4da.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Service89,
|
|
7
|
+
node91,
|
|
8
8
|
canonical3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-ar7h7cxw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service71
|
|
12
|
+
} from "./usage-limits-vjf1wnjw.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./usage-limits-67zk70a4.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
var HELD_WARNING_AFTER = "30 seconds";
|
|
20
20
|
function buildLocationServiceMap2(replacements = []) {
|
|
21
|
-
return Layer.effect(
|
|
21
|
+
return Layer.effect(Service89, Effect.gen(function* () {
|
|
22
22
|
const owner = yield* Effect.scope;
|
|
23
23
|
const builds = MutableHashMap.empty();
|
|
24
24
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
const finish = Effect.suspend(() => {
|
|
29
29
|
if (Exit.isSuccess(exit)) {
|
|
30
30
|
return Effect.gen(function* () {
|
|
31
|
-
const lifecycle = Context.get(exit.value,
|
|
31
|
+
const lifecycle = Context.get(exit.value, Service71);
|
|
32
32
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
33
33
|
return yield* lifecycle.shutdown;
|
|
34
34
|
build.close = lifecycle.shutdown;
|
|
@@ -65,11 +65,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
65
65
|
}).pipe(Effect.uninterruptible)
|
|
66
66
|
};
|
|
67
67
|
const bindings = [
|
|
68
|
-
|
|
68
|
+
node55.replace(Layer.succeed(Service53, {
|
|
69
69
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
70
70
|
})),
|
|
71
71
|
...replacements,
|
|
72
|
-
|
|
72
|
+
node91.replace(Layer.succeed(Service89, map))
|
|
73
73
|
];
|
|
74
74
|
return map;
|
|
75
75
|
}));
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service94,
|
|
3
|
+
node96
|
|
4
|
+
} from "./usage-limits-0xzz5bc5.js";
|
|
1
5
|
import {
|
|
2
6
|
Service93,
|
|
3
7
|
node95
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service92,
|
|
7
|
-
node94
|
|
8
|
-
} from "./console-access-j5w8ntyc.js";
|
|
8
|
+
} from "./usage-limits-vw4p4fbt.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./usage-limits-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./usage-limits-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
@@ -26,10 +26,10 @@ __export(exports_credential, {
|
|
|
26
26
|
Info: () => Info28,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service87,
|
|
30
30
|
Value: () => Value2,
|
|
31
31
|
expiring: () => expiring2,
|
|
32
|
-
node: () =>
|
|
32
|
+
node: () => node89
|
|
33
33
|
});
|
|
34
34
|
import { asc, desc, eq } from "drizzle-orm";
|
|
35
35
|
import { Cause, Clock, Context, Duration, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -54,11 +54,11 @@ class Info28 extends Schema.Class("Credential.Info")({
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service87 extends Context.Service()("@opencode/Credential") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const db = (yield*
|
|
61
|
-
const bus = yield*
|
|
59
|
+
var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
60
|
+
const db = (yield* Service94).db;
|
|
61
|
+
const bus = yield* Service93;
|
|
62
62
|
const flock = yield* EffectFlock.Service;
|
|
63
63
|
const scope = yield* Effect.scope;
|
|
64
64
|
const pending = new Map;
|
|
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
93
93
|
pending.set(id, fiber);
|
|
94
94
|
return yield* restore(Fiber.join(fiber));
|
|
95
95
|
}));
|
|
96
|
-
const service =
|
|
96
|
+
const service = Service87.of({
|
|
97
97
|
refresh: Effect.fn("Credential.refresh")((id, input) => lock(id, Effect.gen(function* () {
|
|
98
98
|
const current = yield* service.get(id);
|
|
99
99
|
if (current?.value.type !== "oauth")
|
|
@@ -233,6 +233,6 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
233
233
|
});
|
|
234
234
|
return service;
|
|
235
235
|
}));
|
|
236
|
-
var
|
|
236
|
+
var node89 = makeGlobalNode({ service: Service87, layer, deps: [node96, node95, EffectFlock.node] });
|
|
237
237
|
|
|
238
|
-
export { ID19, OAuth3, Key4, External2, Value2, Event19, expiring2, Info28,
|
|
238
|
+
export { ID19, OAuth3, Key4, External2, Value2, Event19, expiring2, Info28, Service87, node89, exports_credential };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service94,
|
|
3
|
+
node96
|
|
4
|
+
} from "./usage-limits-0xzz5bc5.js";
|
|
1
5
|
import {
|
|
2
6
|
Service93,
|
|
3
7
|
node95
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service92,
|
|
7
|
-
node94
|
|
8
|
-
} from "./console-access-j5w8ntyc.js";
|
|
8
|
+
} from "./usage-limits-vw4p4fbt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node56
|
|
12
|
+
} from "./usage-limits-7e467hjm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service53,
|
|
15
|
+
node55
|
|
16
|
+
} from "./usage-limits-qah7t4da.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./usage-limits-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make28
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./usage-limits-wfdx5ztx.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service51
|
|
26
|
+
} from "./usage-limits-xsact9zs.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service74,
|
|
29
|
+
node76
|
|
30
|
+
} from "./usage-limits-xs8fxyyv.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./usage-limits-9q7f1dnx.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./usage-limits-qa2jv7nb.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service50,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
46
|
layer: () => layer20,
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
47
|
+
node: () => node53,
|
|
48
|
+
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service50 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var layer20 = Layer.effect(
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
67
|
-
const db = (yield*
|
|
62
|
+
var layer20 = Layer.effect(Service50, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service74;
|
|
64
|
+
const instances = yield* Service53;
|
|
65
|
+
const bus = yield* Service93;
|
|
66
|
+
const jobs = yield* Service54;
|
|
67
|
+
const db = (yield* Service94).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
70
70
|
commit: () => store.claim(sessionID)
|
|
@@ -76,7 +76,7 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service51.use((runner) => runner.drain({ sessionID, force, continuation, promotable, stepped })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable, result.stepped),
|
|
@@ -104,7 +104,7 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service50.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
126
|
+
var node53 = makeGlobalNode({
|
|
127
|
+
service: Service50,
|
|
128
128
|
layer: layer20,
|
|
129
|
-
deps: [
|
|
129
|
+
deps: [node76, node55, node95, node96, node56]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service49, Service49.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service50, terminal2, layer20, node53, noopLayer3, exports_execution };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service93,
|
|
4
|
+
node95
|
|
5
|
+
} from "./usage-limits-vw4p4fbt.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make32,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./usage-limits-t62dywgn.js";
|
|
13
13
|
import {
|
|
14
14
|
create4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./usage-limits-40y6dtc2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
24
|
-
File: () =>
|
|
23
|
+
Event: () => Event11,
|
|
24
|
+
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
26
|
+
Options: () => Options4,
|
|
27
|
+
Service: () => Service60,
|
|
28
|
+
configured: () => configured5,
|
|
29
|
+
layer: () => layer23,
|
|
30
|
+
node: () => node61
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { createPatch } from "diff";
|
|
35
|
-
class
|
|
35
|
+
class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
36
36
|
path: Schema.String,
|
|
37
37
|
content: Schema.String
|
|
38
38
|
}) {
|
|
39
39
|
}
|
|
40
|
-
var Files = Schema.Array(
|
|
40
|
+
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event11 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options4 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service60 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service93;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
57
57
|
editor: (editor) => ({
|
|
58
58
|
list: () => Array.from(editor.files.values()),
|
|
59
|
-
add: (file) => editor.files.set(file.path, new
|
|
59
|
+
add: (file) => editor.files.set(file.path, new File2(file)),
|
|
60
60
|
update: (path, update) => {
|
|
61
61
|
const current = editor.files.get(path);
|
|
62
62
|
if (!current)
|
|
@@ -69,9 +69,9 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event11.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make32({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service60.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured5(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
108
|
-
deps: [
|
|
106
|
+
service: Service60,
|
|
107
|
+
layer: layer23(options),
|
|
108
|
+
deps: [node95]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node61 = configured5();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -140,4 +140,4 @@ ${render([after])}`;
|
|
|
140
140
|
`);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
export {
|
|
143
|
+
export { File2, Event11, Options4, Service60, layer23, configured5, node61, exports_instruction_discovery };
|