@opencode/core 0.0.0-dev-861 → 0.0.0-dev-865
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 +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +246 -246
- package/dist/bus.js +80 -80
- package/dist/chunks/{rpc-4dvqp5r3.js → formatter-01jtn3jt.js} +12 -12
- package/dist/chunks/{rpc-034tev2y.js → formatter-034tev2y.js} +2 -2
- package/dist/chunks/{rpc-xjbsd7zy.js → formatter-04whjz6n.js} +9 -9
- package/dist/chunks/{rpc-6v6tb60f.js → formatter-04x5d7tg.js} +21 -21
- package/dist/chunks/{rpc-vj1z8yh0.js → formatter-06t25jfn.js} +3 -3
- package/dist/chunks/{rpc-8tf4btmq.js → formatter-0b4wk00k.js} +37 -37
- package/dist/chunks/{rpc-hej3n9y2.js → formatter-0bc0s7q2.js} +32 -32
- package/dist/chunks/{rpc-0ma9gw4f.js → formatter-0ma9gw4f.js} +2 -2
- package/dist/chunks/{rpc-0php2d2a.js → formatter-0php2d2a.js} +4 -4
- package/dist/chunks/{rpc-1wafrhtw.js → formatter-14f6cknn.js} +9 -9
- package/dist/chunks/{rpc-18b1hh0p.js → formatter-17b8a7h3.js} +8 -8
- package/dist/chunks/{rpc-d5gwjh1t.js → formatter-17pf7kwj.js} +59 -59
- package/dist/chunks/{rpc-7etk558g.js → formatter-188zx7cy.js} +46 -46
- package/dist/chunks/{rpc-791dgkb3.js → formatter-190p202t.js} +8 -8
- package/dist/chunks/{rpc-1aqsckx4.js → formatter-1aqsckx4.js} +1 -1
- package/dist/chunks/{rpc-8r6131h2.js → formatter-1aw2x2g1.js} +37 -37
- package/dist/chunks/{rpc-1ep2p91f.js → formatter-1ep2p91f.js} +2 -2
- package/dist/chunks/{rpc-7mcsf5h5.js → formatter-1j3nthy7.js} +27 -27
- package/dist/chunks/{rpc-0p1e3dzx.js → formatter-1n1nkkrn.js} +46 -46
- package/dist/chunks/{rpc-pq3mfpva.js → formatter-1nmvxqy8.js} +21 -21
- package/dist/chunks/{rpc-ybqqq4xt.js → formatter-1nqhncvz.js} +5 -5
- package/dist/chunks/{rpc-e1k4h0e3.js → formatter-1pmqh8qv.js} +20 -20
- package/dist/chunks/{rpc-kxer15s9.js → formatter-1pvb81s9.js} +13 -13
- package/dist/chunks/{rpc-jmfhvccy.js → formatter-1t88z3mv.js} +46 -46
- package/dist/chunks/{rpc-tyf9qyk3.js → formatter-1ty7b14z.js} +18 -18
- package/dist/chunks/{rpc-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
- package/dist/chunks/{rpc-p7vhpwh8.js → formatter-1yq9hg58.js} +5 -5
- package/dist/chunks/{rpc-25h84942.js → formatter-25h84942.js} +1 -1
- package/dist/chunks/{rpc-2bxvk2a8.js → formatter-2bxvk2a8.js} +4 -4
- package/dist/chunks/{rpc-xnnmtfwa.js → formatter-2da3p5ha.js} +11 -11
- package/dist/chunks/{rpc-2fc7eemy.js → formatter-2fc7eemy.js} +1 -1
- package/dist/chunks/{rpc-2r1es908.js → formatter-2r1es908.js} +2 -2
- package/dist/chunks/{rpc-a5nqnssw.js → formatter-2sxdcnnf.js} +12 -12
- package/dist/chunks/{rpc-7cznqn8t.js → formatter-2t6wmfav.js} +30 -30
- package/dist/chunks/{rpc-1f3h1shr.js → formatter-2xjbwscy.js} +7 -7
- package/dist/chunks/{rpc-y9hckaaa.js → formatter-319wad08.js} +6 -6
- package/dist/chunks/{rpc-20h7fhny.js → formatter-36j3hwjd.js} +86 -86
- package/dist/chunks/{rpc-gmgrv0mr.js → formatter-391awen2.js} +17 -17
- package/dist/chunks/{rpc-vpmpj8fp.js → formatter-3f41qvkq.js} +17 -17
- package/dist/chunks/{rpc-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-26a33cta.js → formatter-3hp0smnh.js} +12 -12
- package/dist/chunks/{rpc-ktt4nw8p.js → formatter-3jppwm00.js} +13 -13
- package/dist/chunks/{rpc-e4zsphcs.js → formatter-3jswetgz.js} +3 -3
- package/dist/chunks/{rpc-xna4e162.js → formatter-3qv7xs34.js} +29 -29
- package/dist/chunks/{rpc-1bhv8zam.js → formatter-3y3fhf7j.js} +48 -48
- package/dist/chunks/{rpc-9crznw0z.js → formatter-3y7eemx6.js} +20 -20
- package/dist/chunks/{rpc-h7ccfbx0.js → formatter-40n8ppxw.js} +25 -25
- package/dist/chunks/{rpc-40y6dtc2.js → formatter-40y6dtc2.js} +1 -1
- package/dist/chunks/{rpc-q6arxqqm.js → formatter-460vmw8w.js} +23 -23
- package/dist/chunks/{rpc-7bps1dte.js → formatter-462fxr5p.js} +21 -21
- package/dist/chunks/{rpc-kdqxzawa.js → formatter-49rkndpa.js} +6 -6
- package/dist/chunks/{rpc-4dx1dgte.js → formatter-4dx1dgte.js} +1 -1
- package/dist/chunks/{rpc-db3kvff5.js → formatter-4efchg26.js} +33 -33
- package/dist/chunks/{rpc-4f25tdd0.js → formatter-4f25tdd0.js} +1 -1
- package/dist/chunks/{rpc-pnntxey3.js → formatter-4jq39cgz.js} +18 -18
- package/dist/chunks/{rpc-4pyp9zr9.js → formatter-4pyp9zr9.js} +1 -1
- package/dist/chunks/{rpc-4v008n1t.js → formatter-4v008n1t.js} +1 -1
- package/dist/chunks/{rpc-11asagw2.js → formatter-4ytd7550.js} +5 -5
- package/dist/chunks/{rpc-t6t3ssh4.js → formatter-5054vdeb.js} +9 -9
- package/dist/chunks/{rpc-d85t9smt.js → formatter-5497411e.js} +6 -6
- package/dist/chunks/{rpc-kjxd73zj.js → formatter-579e76gr.js} +23 -23
- package/dist/chunks/{rpc-4pk7f9nf.js → formatter-58g0a04a.js} +14 -14
- package/dist/chunks/{rpc-9wnj0gnx.js → formatter-59nsnfpb.js} +45 -45
- package/dist/chunks/{rpc-jfchf9p7.js → formatter-5e505sxn.js} +23 -23
- package/dist/chunks/{rpc-40za9wsf.js → formatter-5enarcya.js} +6 -6
- package/dist/chunks/{rpc-4w32tw7d.js → formatter-5f0vfy9y.js} +33 -33
- package/dist/chunks/{rpc-3xpckjjd.js → formatter-5f1ncc2c.js} +3 -3
- package/dist/chunks/{rpc-83kcy84g.js → formatter-5jycs2n1.js} +24 -24
- package/dist/chunks/{rpc-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{rpc-g4wtpjy2.js → formatter-5sxtvgwc.js} +35 -35
- package/dist/chunks/{rpc-43vqvg2q.js → formatter-5w15szyt.js} +11 -11
- package/dist/chunks/{rpc-jzz000pa.js → formatter-61jmn53p.js} +7 -7
- package/dist/chunks/{rpc-f2j2mk4e.js → formatter-6bed4hp6.js} +4 -4
- package/dist/chunks/{rpc-9rqhy0gk.js → formatter-6cqkw5v2.js} +7 -7
- package/dist/chunks/{rpc-xn3989ae.js → formatter-6ja3v7jz.js} +15 -15
- package/dist/chunks/{rpc-1hhemhjd.js → formatter-6k7qbxnn.js} +32 -32
- package/dist/chunks/{rpc-2715sbc5.js → formatter-6kn7wkyf.js} +27 -27
- package/dist/chunks/{rpc-n9j00gkv.js → formatter-722x1xwe.js} +33 -33
- package/dist/chunks/{rpc-80mg3ag8.js → formatter-775hqbnd.js} +3 -3
- package/dist/chunks/{rpc-btap3q8e.js → formatter-78vjmt2y.js} +21 -21
- package/dist/chunks/{rpc-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-s1706cpe.js → formatter-7d8cet6e.js} +14 -14
- package/dist/chunks/{rpc-6bcwq14n.js → formatter-7h22etv1.js} +5 -5
- package/dist/chunks/{rpc-6sg7v011.js → formatter-7h7tvtg0.js} +2 -2
- package/dist/chunks/{rpc-1bm4cab6.js → formatter-7jmmf5w0.js} +36 -36
- package/dist/chunks/{rpc-9a4adatd.js → formatter-7pp4cpj7.js} +2 -2
- package/dist/chunks/{rpc-kqddg63j.js → formatter-7rrs0ze8.js} +3 -3
- package/dist/chunks/{rpc-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
- package/dist/chunks/{rpc-7weczvnd.js → formatter-7weczvnd.js} +1 -1
- package/dist/chunks/{rpc-e8n3448a.js → formatter-7xr7r4jz.js} +43 -43
- package/dist/chunks/{rpc-xbm420df.js → formatter-82m30djg.js} +11 -11
- package/dist/chunks/{rpc-5h9adf0w.js → formatter-82x53r2z.js} +15 -15
- package/dist/chunks/{rpc-6pcg5yd7.js → formatter-86w3k3jn.js} +8 -8
- package/dist/chunks/{rpc-ghs99jzr.js → formatter-886wk6e4.js} +44 -44
- package/dist/chunks/{rpc-89287pr7.js → formatter-89287pr7.js} +1 -1
- package/dist/chunks/{rpc-8cg7mtm3.js → formatter-8cg7mtm3.js} +1 -1
- package/dist/chunks/{rpc-g9pbbxd8.js → formatter-8dq8fydp.js} +5 -5
- package/dist/chunks/{rpc-re33cwkb.js → formatter-8hkrd747.js} +18 -18
- package/dist/chunks/{rpc-kd34g9k4.js → formatter-8mf5c4cs.js} +40 -40
- package/dist/chunks/{rpc-8sxe6kv8.js → formatter-8sxe6kv8.js} +2 -2
- package/dist/chunks/{rpc-htdssxgs.js → formatter-8tmmcgam.js} +15 -15
- package/dist/chunks/{rpc-ee0gjhg7.js → formatter-8vzwrhne.js} +12 -12
- package/dist/chunks/{rpc-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
- package/dist/chunks/{rpc-hvq55m6p.js → formatter-8yqdr341.js} +25 -25
- package/dist/chunks/{rpc-8zv0xmg5.js → formatter-8zv0xmg5.js} +1 -1
- package/dist/chunks/{rpc-38aws4xb.js → formatter-90ct6wq4.js} +4 -4
- package/dist/chunks/{rpc-c4cws4p8.js → formatter-94e33dpz.js} +3 -3
- package/dist/chunks/{rpc-7f4fsc8a.js → formatter-95gnnm04.js} +5 -5
- package/dist/chunks/{rpc-39qkv8bz.js → formatter-9appvztd.js} +55 -55
- package/dist/chunks/{rpc-43ynpx5q.js → formatter-9evw8dtp.js} +40 -40
- package/dist/chunks/{rpc-gxe8scwy.js → formatter-9n2p8t0x.js} +51 -51
- package/dist/chunks/{rpc-963hk181.js → formatter-9ntfe833.js} +9 -9
- package/dist/chunks/{rpc-v0t96s7a.js → formatter-9q8g9sv8.js} +4 -4
- package/dist/chunks/{rpc-xbfrv6bw.js → formatter-9sjv2d5r.js} +11 -11
- package/dist/chunks/{rpc-7q1vwdp4.js → formatter-9sm5dced.js} +4 -4
- package/dist/chunks/{rpc-dykwaxp1.js → formatter-9wj3rk24.js} +6 -6
- package/dist/chunks/{rpc-f2gb0ee5.js → formatter-a1604cz1.js} +31 -31
- package/dist/chunks/{rpc-82gndh7w.js → formatter-a4ww6fpm.js} +5 -5
- package/dist/chunks/{rpc-pk63e400.js → formatter-a940k0mr.js} +50 -50
- package/dist/chunks/{rpc-3897tfc1.js → formatter-abq1xga2.js} +26 -26
- package/dist/chunks/{rpc-28ttvtr7.js → formatter-aj8ftb0g.js} +22 -22
- package/dist/chunks/{rpc-7trh537f.js → formatter-atbb2jvc.js} +9 -9
- package/dist/chunks/{rpc-ayjs7tqn.js → formatter-ayjs7tqn.js} +2 -2
- package/dist/chunks/{rpc-xvn8mnch.js → formatter-azqdag7d.js} +4 -4
- package/dist/chunks/{rpc-pa0x4f33.js → formatter-b920rmqx.js} +27 -27
- package/dist/chunks/{rpc-5st4tcp8.js → formatter-bam0shk8.js} +4 -4
- package/dist/chunks/{rpc-0a7tf3pm.js → formatter-bbsmh31s.js} +18 -18
- package/dist/chunks/{rpc-hh2w6y9a.js → formatter-brm53p81.js} +8 -8
- package/dist/chunks/{rpc-bstexjd6.js → formatter-bstexjd6.js} +1 -1
- package/dist/chunks/{rpc-s7pdhk37.js → formatter-bw3k3wd2.js} +12 -12
- package/dist/chunks/{rpc-pdtjhw8d.js → formatter-bwjgtmwy.js} +2 -2
- package/dist/chunks/{rpc-seckfsdk.js → formatter-bzdgwsh7.js} +3 -3
- package/dist/chunks/{rpc-j1a5xztc.js → formatter-c24qaswk.js} +10 -10
- package/dist/chunks/{rpc-wrcrf9j2.js → formatter-c3q5wjkf.js} +11 -11
- package/dist/chunks/{rpc-47zh6r3g.js → formatter-c5rxwcbw.js} +8 -8
- package/dist/chunks/{rpc-g6xmqstx.js → formatter-c69aj48s.js} +11 -11
- package/dist/chunks/{rpc-6jnrewhf.js → formatter-ca1hzz0z.js} +7 -7
- package/dist/chunks/{rpc-t5tjdhzg.js → formatter-cbtnxvcn.js} +5 -5
- package/dist/chunks/{rpc-k0a6bj3f.js → formatter-cejbpqa1.js} +12 -12
- package/dist/chunks/{rpc-nxdhn1jp.js → formatter-cgvm0v2b.js} +5 -5
- package/dist/chunks/{rpc-ggx84v7x.js → formatter-ckn0kvtp.js} +6 -6
- package/dist/chunks/{rpc-f32m8sjz.js → formatter-cr44ae3x.js} +5 -5
- package/dist/chunks/{rpc-4696heqj.js → formatter-crm2q05d.js} +20 -20
- package/dist/chunks/{rpc-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
- package/dist/chunks/{rpc-7ap9qj06.js → formatter-cxck91n0.js} +369 -369
- package/dist/chunks/{rpc-ajem3ncg.js → formatter-cz6zq61v.js} +19 -19
- package/dist/chunks/{rpc-44mnwzyg.js → formatter-d1qcr8fw.js} +38 -38
- package/dist/chunks/{rpc-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
- package/dist/chunks/{rpc-wezq1e92.js → formatter-d9p9wz0k.js} +16 -16
- package/dist/chunks/{rpc-t6799mtr.js → formatter-dbkxr978.js} +38 -38
- package/dist/chunks/{rpc-7bg5w1mh.js → formatter-dd57nsvn.js} +8 -8
- package/dist/chunks/{rpc-50668k55.js → formatter-dde2qwh3.js} +13 -13
- package/dist/chunks/{rpc-qk4rhkh3.js → formatter-dgzqhywr.js} +28 -28
- package/dist/chunks/{rpc-cxf9gc6e.js → formatter-dnn6wj94.js} +32 -32
- package/dist/chunks/{rpc-p9jmt18g.js → formatter-dnqgyvcs.js} +8 -8
- package/dist/chunks/{rpc-9qfm6vqg.js → formatter-dr5n1z2t.js} +6 -6
- package/dist/chunks/{rpc-dt77769w.js → formatter-dt77769w.js} +1 -1
- package/dist/chunks/{rpc-ja1p00cm.js → formatter-dxb9x019.js} +10 -10
- package/dist/chunks/{rpc-wfyt0e6y.js → formatter-dyjpx4sz.js} +14 -14
- package/dist/chunks/{rpc-zk96hss4.js → formatter-e2rxhtz1.js} +20 -20
- package/dist/chunks/{rpc-gpn4kfzh.js → formatter-e4vwpp3x.js} +42 -42
- package/dist/chunks/{rpc-pzh3dz09.js → formatter-e59vnxe2.js} +4 -4
- package/dist/chunks/{rpc-qsfbp3f4.js → formatter-e695tyyc.js} +19 -19
- package/dist/chunks/{rpc-5mng8er9.js → formatter-e7sqbkcv.js} +33 -33
- package/dist/chunks/{rpc-d7y3f2g7.js → formatter-e7ycqhk7.js} +12 -12
- package/dist/chunks/{rpc-e834z07m.js → formatter-e834z07m.js} +1 -1
- package/dist/chunks/{rpc-xvfa31c5.js → formatter-eb2f27bg.js} +19 -19
- package/dist/chunks/{rpc-wv7hdzrr.js → formatter-eg74x36h.js} +15 -15
- package/dist/chunks/{rpc-d063bsma.js → formatter-eh6jgsax.js} +25 -25
- package/dist/chunks/{rpc-eqw4pqj1.js → formatter-eqw4pqj1.js} +2 -2
- package/dist/chunks/{rpc-jdg77tdg.js → formatter-es2mhdt2.js} +10 -10
- package/dist/chunks/{rpc-t4xze8b6.js → formatter-f21rn7ba.js} +33 -33
- package/dist/chunks/{rpc-13rrkfmp.js → formatter-f65kgnv8.js} +9 -9
- package/dist/chunks/{rpc-fffv3p7h.js → formatter-fffv3p7h.js} +1 -1
- package/dist/chunks/{rpc-prq7xxp2.js → formatter-fg9p65nk.js} +6 -6
- package/dist/chunks/{rpc-63btws75.js → formatter-fha7mvk7.js} +11 -11
- package/dist/chunks/{rpc-z7cs49p0.js → formatter-fmdkrwrn.js} +4 -4
- package/dist/chunks/{rpc-jns4gqy7.js → formatter-fwp9mfc9.js} +4 -4
- package/dist/chunks/{rpc-d9n2a2pp.js → formatter-fxt37m13.js} +4 -4
- package/dist/chunks/{rpc-wr3re1en.js → formatter-fznmdakp.js} +4 -4
- package/dist/chunks/{rpc-7ahdznh5.js → formatter-g1fcxs4b.js} +16 -16
- package/dist/chunks/{rpc-d7qrxhp3.js → formatter-g37e6x7t.js} +11 -11
- package/dist/chunks/{rpc-gbjdnr5j.js → formatter-gbjdnr5j.js} +2 -2
- package/dist/chunks/{rpc-syq2k790.js → formatter-gc6sesrp.js} +5 -5
- package/dist/chunks/{rpc-ghrv1g9c.js → formatter-ghrv1g9c.js} +1 -1
- package/dist/chunks/{rpc-xwk64xxj.js → formatter-gnvjakky.js} +6 -6
- package/dist/chunks/{rpc-pw0qbjgj.js → formatter-gvhhb16e.js} +10 -10
- package/dist/chunks/{rpc-gxs71cxp.js → formatter-gxs71cxp.js} +1 -1
- package/dist/chunks/{rpc-pn6yy2t3.js → formatter-gy24j455.js} +9 -9
- package/dist/chunks/{rpc-ffntcaey.js → formatter-h78y9ban.js} +6 -6
- package/dist/chunks/{rpc-y5mw034k.js → formatter-hdra124r.js} +20 -20
- package/dist/chunks/{rpc-hgzwgvze.js → formatter-hgzwgvze.js} +2 -2
- package/dist/chunks/{rpc-6m2fbsk7.js → formatter-hv2wkb70.js} +12 -12
- package/dist/chunks/{rpc-nv7ayknb.js → formatter-hx5wkzf9.js} +9 -9
- package/dist/chunks/{rpc-wy90jx89.js → formatter-hzsjezy7.js} +28 -28
- package/dist/chunks/{rpc-a69c08z1.js → formatter-hzwghdjj.js} +75 -75
- package/dist/chunks/{rpc-ptjtkjd9.js → formatter-j9fg6g8g.js} +14 -14
- package/dist/chunks/{rpc-ze75qvmd.js → formatter-j9nxzz3g.js} +3 -3
- package/dist/chunks/{rpc-br5r0tq5.js → formatter-jas2494q.js} +6 -6
- package/dist/chunks/{rpc-twghvwpe.js → formatter-jepn8wet.js} +11 -11
- package/dist/chunks/{rpc-bhfd478d.js → formatter-jkdcm5hg.js} +4 -4
- package/dist/chunks/{rpc-jm70asfg.js → formatter-jm70asfg.js} +1 -1
- package/dist/chunks/{rpc-jn4bf1at.js → formatter-jn4bf1at.js} +4 -4
- package/dist/chunks/{rpc-qpyk5d8t.js → formatter-jrc5d03r.js} +18 -18
- package/dist/chunks/{rpc-78p2h4ex.js → formatter-jv5ccajn.js} +5 -5
- package/dist/chunks/{rpc-gp5zen1s.js → formatter-jzrwgq7d.js} +5 -5
- package/dist/chunks/{rpc-29kcrfyg.js → formatter-k220jtaq.js} +18 -18
- package/dist/chunks/{rpc-jv0775cm.js → formatter-k948axj8.js} +13 -13
- package/dist/chunks/{rpc-kj9n5bvh.js → formatter-kj9n5bvh.js} +1 -1
- package/dist/chunks/{rpc-knpbkrg7.js → formatter-knpbkrg7.js} +1 -1
- package/dist/chunks/{rpc-9yhnvghs.js → formatter-ktqj1g4e.js} +17 -17
- package/dist/chunks/{rpc-2683bk9g.js → formatter-kw23vkf0.js} +1 -1
- package/dist/chunks/{rpc-kzczzf4v.js → formatter-kzczzf4v.js} +1 -1
- package/dist/chunks/{rpc-93xmyh8q.js → formatter-kzdam8c6.js} +5 -5
- package/dist/chunks/{rpc-m1714858.js → formatter-m1714858.js} +1 -1
- package/dist/chunks/{rpc-jqfrpy0b.js → formatter-m528r48h.js} +4 -4
- package/dist/chunks/{rpc-a9kesdtb.js → formatter-m9eqf525.js} +14 -14
- package/dist/chunks/{rpc-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-mb7mbhnz.js → formatter-mb7mbhnz.js} +3 -3
- package/dist/chunks/formatter-me0dhgxs.js +18 -0
- package/dist/chunks/{rpc-j5m7vskh.js → formatter-mgjkb3q9.js} +16 -16
- package/dist/chunks/{rpc-df87n3hs.js → formatter-mhybmd81.js} +5 -5
- package/dist/chunks/{rpc-mm06edep.js → formatter-mm06edep.js} +1 -1
- package/dist/chunks/{rpc-ynx2zq42.js → formatter-n2zntr3x.js} +14 -14
- package/dist/chunks/{rpc-n3j33rb6.js → formatter-n3j33rb6.js} +1 -1
- package/dist/chunks/{rpc-6e2qmyvd.js → formatter-nbwq9q3z.js} +18 -18
- package/dist/chunks/{rpc-97t6y31j.js → formatter-nd0yw221.js} +18 -18
- package/dist/chunks/{rpc-8359jgfd.js → formatter-nns2vpeq.js} +21 -21
- package/dist/chunks/{rpc-5jr9f9bb.js → formatter-nsxtnwmn.js} +18 -18
- package/dist/chunks/{rpc-czwy3yzx.js → formatter-nyxvvj5y.js} +7 -7
- package/dist/chunks/{rpc-11mv2m9a.js → formatter-p096p0j8.js} +11 -11
- package/dist/chunks/{rpc-a1hxe26x.js → formatter-p2b8vxy7.js} +18 -18
- package/dist/chunks/{rpc-eh2g2936.js → formatter-p4gxpsfq.js} +17 -17
- package/dist/chunks/{rpc-0ar1vzx3.js → formatter-pa29fvfw.js} +9 -9
- package/dist/chunks/{rpc-pah254n3.js → formatter-pah254n3.js} +2 -2
- package/dist/chunks/{rpc-hh2vhtae.js → formatter-pj4q32fw.js} +5 -5
- package/dist/chunks/{rpc-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-p8rxq6rt.js → formatter-pkxz14rf.js} +28 -28
- package/dist/chunks/{rpc-31avdb49.js → formatter-pnwsrq7c.js} +8 -8
- package/dist/chunks/{rpc-da06ew08.js → formatter-pw3y0kv7.js} +33 -33
- package/dist/chunks/{rpc-23esnr2h.js → formatter-q5mkf928.js} +9 -9
- package/dist/chunks/{rpc-z17hee3v.js → formatter-q5s65q06.js} +10 -10
- package/dist/chunks/{rpc-h0tqfb67.js → formatter-qb1aqthb.js} +7 -7
- package/dist/chunks/{rpc-jjfmry33.js → formatter-qf23cwjr.js} +8 -8
- package/dist/chunks/{rpc-bqa8ney4.js → formatter-qj27ec1j.js} +4 -4
- package/dist/chunks/{rpc-rwfvck14.js → formatter-qm3mb6wy.js} +45 -45
- package/dist/chunks/{rpc-5mss64vq.js → formatter-qna09r86.js} +11 -11
- package/dist/chunks/{rpc-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
- package/dist/chunks/{rpc-ddk9r8x2.js → formatter-qpg0c8cd.js} +37 -37
- package/dist/chunks/{rpc-k3cx6fhe.js → formatter-qsdghx1p.js} +4 -4
- package/dist/chunks/{rpc-81w30k1e.js → formatter-qwrr0jvw.js} +21 -21
- package/dist/chunks/{rpc-9xw5npdk.js → formatter-qzne0y4b.js} +12 -12
- package/dist/chunks/{rpc-z2xe5rth.js → formatter-r17fbvme.js} +4 -4
- package/dist/chunks/{rpc-9yd64rvx.js → formatter-r7r55277.js} +8 -8
- package/dist/chunks/{rpc-1gbv6vz0.js → formatter-ra55yq66.js} +196 -196
- package/dist/chunks/{rpc-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
- package/dist/chunks/{rpc-rgc9cx3e.js → formatter-rgc9cx3e.js} +2 -2
- package/dist/chunks/{rpc-p2tvx8t7.js → formatter-rgr196vp.js} +9 -9
- package/dist/chunks/{rpc-px7qpgcn.js → formatter-rj7j5fvs.js} +4 -4
- package/dist/chunks/{rpc-2rxvky20.js → formatter-rkn3nvvk.js} +12 -12
- package/dist/chunks/{rpc-rt3tm8bx.js → formatter-rm5newhf.js} +23 -23
- package/dist/chunks/{rpc-7se80rjj.js → formatter-rr8qxmb2.js} +13 -13
- package/dist/chunks/{rpc-f42k401t.js → formatter-rs0wv723.js} +8 -8
- package/dist/chunks/{rpc-rt5dr6hb.js → formatter-rt5dr6hb.js} +1 -1
- package/dist/chunks/{rpc-g6p5hmfw.js → formatter-ry9kgmxx.js} +22 -22
- package/dist/chunks/{rpc-x9gejc4p.js → formatter-s31504vr.js} +28 -28
- package/dist/chunks/{rpc-sbya78hr.js → formatter-sbya78hr.js} +1 -1
- package/dist/chunks/{rpc-ypqw1r8m.js → formatter-sem9k07g.js} +12 -12
- package/dist/chunks/{rpc-wcvx7etc.js → formatter-sggby6e0.js} +30 -30
- package/dist/chunks/{rpc-01qxsr49.js → formatter-shcmwajq.js} +11 -11
- package/dist/chunks/{rpc-9q3esdmz.js → formatter-sj44qsq0.js} +3 -3
- package/dist/chunks/{rpc-ayq1132w.js → formatter-sjqdc3d2.js} +3 -3
- package/dist/chunks/{rpc-sqjzf8x2.js → formatter-sqjzf8x2.js} +1 -1
- package/dist/chunks/{rpc-e51z67dx.js → formatter-st6smqg8.js} +49 -49
- package/dist/chunks/{rpc-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
- package/dist/chunks/{rpc-742xw0qv.js → formatter-swmy6bdm.js} +16 -16
- package/dist/chunks/{rpc-773jwpw1.js → formatter-t2n4mph0.js} +15 -15
- package/dist/chunks/{rpc-dbatw319.js → formatter-t48jrnqq.js} +3 -3
- package/dist/chunks/{rpc-cdcth1j8.js → formatter-t48kvm7k.js} +29 -29
- package/dist/chunks/{rpc-61qe3hdq.js → formatter-t5src62n.js} +22 -22
- package/dist/chunks/{rpc-26wfx3k0.js → formatter-tb2mrvc9.js} +4 -4
- package/dist/chunks/{rpc-tbpn7jtk.js → formatter-tbpn7jtk.js} +1 -1
- package/dist/chunks/{rpc-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
- package/dist/chunks/formatter-tffmg9gf.js +26 -0
- package/dist/chunks/{rpc-8d2bz6m6.js → formatter-tg1vr1qt.js} +6 -6
- package/dist/chunks/{rpc-3nnrz6f6.js → formatter-tmc7xdjs.js} +4 -4
- package/dist/chunks/{rpc-thv6gj8x.js → formatter-tp9c5szp.js} +25 -25
- package/dist/chunks/{rpc-beeqm8z6.js → formatter-ts810ksn.js} +17 -17
- package/dist/chunks/{rpc-yeqja44m.js → formatter-tsp8zs30.js} +19 -19
- package/dist/chunks/{rpc-twssxy5n.js → formatter-twssxy5n.js} +2 -2
- package/dist/chunks/{rpc-gyvakvrh.js → formatter-tzgptbbz.js} +6 -6
- package/dist/chunks/{rpc-vmvxvqqw.js → formatter-v1fezpxa.js} +9 -9
- package/dist/chunks/{rpc-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
- package/dist/chunks/{rpc-q9aerynr.js → formatter-v4wwqybb.js} +4 -4
- package/dist/chunks/{rpc-vjf35v1f.js → formatter-vjf35v1f.js} +1 -1
- package/dist/chunks/{rpc-2d9z2b6b.js → formatter-vm4r8c2h.js} +7 -7
- package/dist/chunks/{rpc-6h8vcvjm.js → formatter-vt4r9rmy.js} +9 -9
- package/dist/chunks/{rpc-vx48nk5j.js → formatter-vwpfwfnc.js} +17 -17
- package/dist/chunks/{rpc-7ghrk14r.js → formatter-w2bm7rcb.js} +7 -7
- package/dist/chunks/{rpc-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-baemjjm9.js → formatter-w4h9md63.js} +7 -7
- package/dist/chunks/{rpc-e4k0p0sk.js → formatter-w6p8bjs1.js} +11 -11
- package/dist/chunks/{rpc-ra164myg.js → formatter-w8bwfw9c.js} +4 -4
- package/dist/chunks/{rpc-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
- package/dist/chunks/{rpc-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-jwe5zbcp.js → formatter-wdhr44xg.js} +21 -21
- package/dist/chunks/{rpc-48wfz3vn.js → formatter-wdvvkkyt.js} +10 -10
- package/dist/chunks/{rpc-wegkxhrn.js → formatter-wegkxhrn.js} +2 -2
- package/dist/chunks/{rpc-c7cw818c.js → formatter-wt99tj4q.js} +5 -5
- package/dist/chunks/{rpc-cwny942x.js → formatter-wzr5sk33.js} +21 -21
- package/dist/chunks/{rpc-8ns51sns.js → formatter-xb541x9f.js} +15 -15
- package/dist/chunks/{rpc-5mtjs6dc.js → formatter-xcr6ym5q.js} +4 -4
- package/dist/chunks/{rpc-9mwhr9n0.js → formatter-xk416gw9.js} +3 -3
- package/dist/chunks/{rpc-8xz27cp9.js → formatter-xksw6ev0.js} +4 -4
- package/dist/chunks/{rpc-3ryz99p0.js → formatter-xmx7xj34.js} +4 -4
- package/dist/chunks/formatter-xs7b4mh9.js +265 -0
- package/dist/chunks/{rpc-tx91wa5k.js → formatter-xsvq7cjt.js} +4 -4
- package/dist/chunks/{rpc-mzffn9bc.js → formatter-xtyr0vxr.js} +4 -4
- package/dist/chunks/{rpc-kynzxss7.js → formatter-xw7jgzaq.js} +35 -35
- package/dist/chunks/{rpc-d4gaqavb.js → formatter-xwp8qm05.js} +8 -8
- package/dist/chunks/{rpc-xjr6c8m4.js → formatter-xxschbft.js} +4 -4
- package/dist/chunks/{rpc-v37bc009.js → formatter-y1havdw8.js} +3 -3
- package/dist/chunks/{rpc-8ypx79c5.js → formatter-y87tgqds.js} +16 -16
- package/dist/chunks/{rpc-09408fvf.js → formatter-y9dbx8k9.js} +15 -15
- package/dist/chunks/{rpc-edpaaaqh.js → formatter-yakt9am8.js} +80 -80
- package/dist/chunks/{rpc-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
- package/dist/chunks/{rpc-yfzrzhty.js → formatter-ydbf7ftg.js} +31 -31
- package/dist/chunks/{rpc-yr705xyq.js → formatter-yr705xyq.js} +1 -1
- package/dist/chunks/{rpc-75a2gs08.js → formatter-ys900tws.js} +1 -1
- package/dist/chunks/{rpc-qmm7bjv0.js → formatter-yv6w041m.js} +21 -21
- package/dist/chunks/{rpc-yvtc2x31.js → formatter-yvtc2x31.js} +1 -1
- package/dist/chunks/{rpc-m0b3p516.js → formatter-ywdv7n61.js} +8 -8
- package/dist/chunks/{rpc-bsa1xkvx.js → formatter-z0bpmy1p.js} +21 -21
- package/dist/chunks/{rpc-zkkq2e49.js → formatter-z1evp8kp.js} +29 -29
- package/dist/chunks/{rpc-c9w08acj.js → formatter-z1vx8gv8.js} +16 -16
- package/dist/chunks/{rpc-2ccj2sep.js → formatter-z5gtrv9c.js} +31 -31
- package/dist/chunks/{rpc-bzcyzzrp.js → formatter-z5v5t6fe.js} +8 -8
- package/dist/chunks/{rpc-4trj2kny.js → formatter-z6c0s5pf.js} +11 -11
- package/dist/chunks/{rpc-shmm65xt.js → formatter-zge3pbhf.js} +4 -4
- package/dist/chunks/{rpc-y58j7evj.js → formatter-zmks66h6.js} +18 -18
- package/dist/chunks/{rpc-by8ty0bx.js → formatter-zpdbqgja.js} +4 -4
- package/dist/chunks/{rpc-hxe8hxzw.js → formatter-zz1b46kp.js} +28 -28
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +438 -438
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -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 +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +129 -129
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- 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 +3 -3
- package/dist/instance.js +429 -429
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- 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 +180 -180
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- 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 +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +131 -131
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- 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 +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- package/dist/plugin/provider/claude-agent/integration.js +115 -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 +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -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 +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- 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 +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +253 -253
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +205 -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 +245 -245
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +144 -144
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +244 -244
- package/dist/session/usage.js +1 -1
- package/dist/session.js +243 -243
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +106 -106
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +184 -184
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +170 -170
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +163 -163
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- 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 +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +9 -9
- package/dist/chunks/rpc-qccans48.js +0 -26
- package/dist/chunks/rpc-z7bdqmx5.js +0 -18
- package/dist/chunks/rpc-zakrk7k3.js +0 -265
- /package/dist/chunks/{rpc-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-108x4f4w.js → formatter-108x4f4w.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kah00gy.js → formatter-1kah00gy.js} +0 -0
- /package/dist/chunks/{rpc-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3af0jn4w.js → formatter-3af0jn4w.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4qk9sjk2.js → formatter-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
- /package/dist/chunks/{rpc-6agm2x70.js → formatter-6agm2x70.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-beh6qq61.js → formatter-beh6qq61.js} +0 -0
- /package/dist/chunks/{rpc-bhmrqjy3.js → formatter-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-ean2d8b5.js → formatter-ean2d8b5.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-nh4v3znn.js → formatter-nh4v3znn.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-syrav9an.js → formatter-syrav9an.js} +0 -0
- /package/dist/chunks/{rpc-t03h4f5z.js → formatter-t03h4f5z.js} +0 -0
- /package/dist/chunks/{rpc-ty7weeps.js → formatter-ty7weeps.js} +0 -0
- /package/dist/chunks/{rpc-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{rpc-vtarvj67.js → formatter-vtarvj67.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x4th4bpe.js → formatter-x4th4bpe.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-z0h12gs8.js → formatter-z0h12gs8.js} +0 -0
- /package/dist/chunks/{rpc-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → formatter-z9919s4g.js} +0 -0
- /package/dist/chunks/{rpc-zxpyjp51.js → formatter-zxpyjp51.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service80,
|
|
7
|
-
node83
|
|
8
|
-
} from "./rpc-cdcth1j8.js";
|
|
4
|
+
} from "./formatter-0ma9gw4f.js";
|
|
9
5
|
import {
|
|
10
6
|
Service78,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
7
|
+
node80
|
|
8
|
+
} from "./formatter-t48kvm7k.js";
|
|
9
|
+
import {
|
|
10
|
+
Service66,
|
|
11
|
+
node68
|
|
12
|
+
} from "./formatter-qm3mb6wy.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
21
|
var exports_generate2 = {};
|
|
@@ -25,11 +25,11 @@ __export(exports_generate2, {
|
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service65,
|
|
29
|
+
UnavailableError: () => UnavailableError4,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer22,
|
|
32
|
+
node: () => node67
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service65 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer22 = Layer.effect(Service65, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service66;
|
|
89
|
+
const models = yield* Service78;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer26 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(ai.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer26 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service65.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node67 = makeLocationNode({
|
|
219
|
+
service: Service65,
|
|
220
|
+
layer: layer22,
|
|
221
|
+
deps: [node68, node80, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service65, layer22, node67, exports_generate2 };
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-p096p0j8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID21,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-hzsjezy7.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-azqdag7d.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID20,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-zz1b46kp.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
ID17
|
|
21
|
+
} from "./formatter-b920rmqx.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make32
|
|
26
|
+
} from "./formatter-r17fbvme.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service76
|
|
29
|
+
} from "./formatter-9n2p8t0x.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./formatter-xb541x9f.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service70
|
|
36
|
+
} from "./formatter-yv6w041m.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./formatter-tzgptbbz.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
41
|
+
Options9,
|
|
42
42
|
defaultServer2,
|
|
43
43
|
server2,
|
|
44
44
|
headers2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./formatter-qf23cwjr.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
File2,
|
|
48
|
+
Service40
|
|
49
|
+
} from "./formatter-eh6jgsax.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
51
|
+
Service55,
|
|
52
52
|
fingerprint2
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./formatter-dnqgyvcs.js";
|
|
54
54
|
import {
|
|
55
55
|
isSafeSegment2,
|
|
56
56
|
isSafeRelativePath2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./formatter-04whjz6n.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
ID10,
|
|
60
|
+
Input16,
|
|
61
61
|
Response2
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./formatter-e7sqbkcv.js";
|
|
63
63
|
import {
|
|
64
64
|
onSwitch2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./formatter-2xjbwscy.js";
|
|
66
66
|
|
|
67
67
|
// src/plugin/provider/opencode.ts
|
|
68
68
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -131,7 +131,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
131
131
|
}
|
|
132
132
|
function oauth(http) {
|
|
133
133
|
return {
|
|
134
|
-
integrationID:
|
|
134
|
+
integrationID: ID20.make("opencode"),
|
|
135
135
|
method: {
|
|
136
136
|
id: methodID,
|
|
137
137
|
type: "oauth",
|
|
@@ -198,12 +198,12 @@ var OpencodePlugin2 = define({
|
|
|
198
198
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
199
199
|
const client = yield* HttpClient.HttpClient;
|
|
200
200
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
201
|
-
const config = yield*
|
|
202
|
-
const discovery = yield*
|
|
203
|
-
const skills = yield*
|
|
204
|
-
const cache = yield*
|
|
201
|
+
const config = yield* Service76;
|
|
202
|
+
const discovery = yield* Service40;
|
|
203
|
+
const skills = yield* Service70;
|
|
204
|
+
const cache = yield* Service55;
|
|
205
205
|
const scope = yield* Scope.Scope;
|
|
206
|
-
const settings = yield*
|
|
206
|
+
const settings = yield* Options9;
|
|
207
207
|
const loading = Semaphore.makeUnsafe(1);
|
|
208
208
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined, access: undefined };
|
|
209
209
|
let instructions = [];
|
|
@@ -246,13 +246,13 @@ var OpencodePlugin2 = define({
|
|
|
246
246
|
const fallback = (connection) => key3(connection) === key3(snapshot.connection) ? { ...snapshot, connection } : { remote: undefined, connection, organization: undefined, access: undefined };
|
|
247
247
|
let integrated;
|
|
248
248
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
249
|
-
yield* config.integration?.(
|
|
250
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
249
|
+
yield* config.integration?.(ID20.make("opencode"), document) ?? Effect.void;
|
|
250
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID20.make("opencode"));
|
|
251
251
|
});
|
|
252
252
|
const publish = Effect.fnUntraced(function* (next) {
|
|
253
|
-
const document = next.remote && next.connection &&
|
|
254
|
-
integrationID:
|
|
255
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
253
|
+
const document = next.remote && next.connection && make32({
|
|
254
|
+
integrationID: ID20.make("opencode"),
|
|
255
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID21.make(next.connection.id) } : next.connection,
|
|
256
256
|
organization: next.organization,
|
|
257
257
|
info: next.remote
|
|
258
258
|
});
|
|
@@ -261,7 +261,7 @@ var OpencodePlugin2 = define({
|
|
|
261
261
|
});
|
|
262
262
|
const syncLibrary = (next, allowed) => {
|
|
263
263
|
const library = allowed ? Option.getOrUndefined(Schema.decodeUnknownOption(Library)(next.remote?.library)) : undefined;
|
|
264
|
-
instructions = (library?.instructions ?? []).map((item) => new
|
|
264
|
+
instructions = (library?.instructions ?? []).map((item) => new File2({ path: `OpenCode Console instruction ${item.id}`, content: item.content }));
|
|
265
265
|
if (!allowed)
|
|
266
266
|
librarySkills = { owner: "", items: [] };
|
|
267
267
|
return FiberHandle.run(skillDownload, loadSkills(next.connection, library?.skills ?? []).pipe(Effect.flatMap((loaded) => {
|
|
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
|
|
|
303
303
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
304
304
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
305
305
|
const server = yield* normalizeServer(server2(credential));
|
|
306
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
306
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input16)({
|
|
307
307
|
query: input.query,
|
|
308
308
|
providerID
|
|
309
309
|
}));
|
|
@@ -332,7 +332,7 @@ var OpencodePlugin2 = define({
|
|
|
332
332
|
integrate2(providers, integrated);
|
|
333
333
|
});
|
|
334
334
|
yield* ctx.provider.transform((providers) => {
|
|
335
|
-
const item = providers.get(
|
|
335
|
+
const item = providers.get(ID17.opencode);
|
|
336
336
|
if (!item)
|
|
337
337
|
return;
|
|
338
338
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -344,7 +344,7 @@ var OpencodePlugin2 = define({
|
|
|
344
344
|
});
|
|
345
345
|
});
|
|
346
346
|
yield* ctx.model.transform((models) => {
|
|
347
|
-
const item = models.provider.get(
|
|
347
|
+
const item = models.provider.get(ID17.opencode);
|
|
348
348
|
if (!item)
|
|
349
349
|
return;
|
|
350
350
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -359,7 +359,7 @@ var OpencodePlugin2 = define({
|
|
|
359
359
|
}
|
|
360
360
|
});
|
|
361
361
|
yield* ctx.websearch.transform((editor) => {
|
|
362
|
-
const provider =
|
|
362
|
+
const provider = ID10.make("opencode");
|
|
363
363
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
364
364
|
editor.add(search(provider, snapshot.connection));
|
|
365
365
|
});
|
|
@@ -406,7 +406,7 @@ var OpencodePlugin2 = define({
|
|
|
406
406
|
});
|
|
407
407
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
408
408
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
409
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
409
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID17.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
410
410
|
});
|
|
411
411
|
yield* guard(snapshot);
|
|
412
412
|
yield* ctx.session.hook("prompt", () => check(Duration.minutes(1), Duration.seconds(3)));
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-9sm5dced.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info15,
|
|
18
|
+
NotFoundError: () => NotFoundError12,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service73,
|
|
21
|
+
node: () => node75
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info15 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError12 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID13
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID13,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service73 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service92).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID13.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError12({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError12({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service73.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node75 = makeGlobalNode({ service: Service73, layer, deps: [node96] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID13, Info15, NotFoundError12, ConflictError2, Service73, node75, exports_saved };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-hzsjezy7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID20,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-zz1b46kp.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-yb20nhc3.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID20.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-fmdkrwrn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./formatter-f21rn7ba.js";
|
|
7
7
|
import {
|
|
8
8
|
StepFailedError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-319wad08.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
toSessionError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-9wj3rk24.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error3
|
|
18
|
+
} from "./formatter-3qv7xs34.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service86
|
|
21
|
+
} from "./formatter-82m30djg.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-4f25tdd0.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-sj44qsq0.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-ckn0kvtp.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make18
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -50,11 +50,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
50
50
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
51
51
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
52
52
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
53
|
-
var
|
|
53
|
+
var make18 = Effect.gen(function* () {
|
|
54
54
|
const bus = yield* Service91;
|
|
55
55
|
const llm = yield* LLMClient.Service;
|
|
56
|
-
const snapshots = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const snapshots = yield* Service39;
|
|
57
|
+
const toolOutput = yield* Service86;
|
|
58
58
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
59
59
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
60
60
|
const started = yield* Clock.currentTimeMillis;
|
|
@@ -76,7 +76,7 @@ var make3 = Effect.gen(function* () {
|
|
|
76
76
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
77
77
|
const executeTool = (call) => {
|
|
78
78
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
79
|
-
return new
|
|
79
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
80
80
|
return input.prepared.executeTool({
|
|
81
81
|
sessionID: input.sessionID,
|
|
82
82
|
agent: input.agent,
|
|
@@ -231,4 +231,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
231
231
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
232
232
|
};
|
|
233
233
|
|
|
234
|
-
export { Outcome2,
|
|
234
|
+
export { Outcome2, make18, exports_step };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-8cg7mtm3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service63,
|
|
6
|
+
node64
|
|
7
|
+
} from "./formatter-e2rxhtz1.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service62,
|
|
17
|
+
node: () => node63,
|
|
18
18
|
readOptionalText: () => readOptionalText2,
|
|
19
19
|
readText: () => readText2,
|
|
20
20
|
syncTextBom: () => syncTextBom2
|
|
@@ -23,7 +23,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
23
23
|
import { Context, Effect, Layer } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Bom } from "@opencode/util/bom";
|
|
26
|
-
class
|
|
26
|
+
class Service62 extends Context.Service()("@opencode/FileMutation") {
|
|
27
27
|
}
|
|
28
28
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
29
29
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -39,8 +39,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
39
39
|
return synced.text;
|
|
40
40
|
});
|
|
41
41
|
var transactionLocks = makeUnsafe2();
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const environment = yield*
|
|
42
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
43
|
+
const environment = yield* Service63;
|
|
44
44
|
const locks = makeUnsafe2();
|
|
45
45
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
46
46
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
62
62
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, bom)));
|
|
63
63
|
return { ...writeResult(input.target, current !== undefined), bom };
|
|
64
64
|
})));
|
|
65
|
-
return
|
|
65
|
+
return Service62.of({ withLock, write, writeTextPreservingBom });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node63 = makeLocationNode({ service: Service62, layer, deps: [node64] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Service62, readText2, readOptionalText2, syncTextBom2, node63, exports_file_mutation };
|