@opencode/core 0.0.0-dev-21654 → 0.0.0-dev-21661
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{repository-cache-98vm4ve1.js → model-retry-09pgmfn5.js} +3 -3
- package/dist/chunks/{repository-cache-h5q3bctd.js → model-retry-0eaaaj4x.js} +8 -8
- package/dist/chunks/{repository-cache-8ev1pcqt.js → model-retry-0etvtzr7.js} +8 -8
- package/dist/chunks/{repository-cache-997dsrmm.js → model-retry-0gka690g.js} +4 -4
- package/dist/chunks/{repository-cache-s1s90sgh.js → model-retry-0qev6pn3.js} +13 -13
- package/dist/chunks/{repository-cache-vhv0edzw.js → model-retry-15b56cgm.js} +4 -4
- package/dist/chunks/{repository-cache-ydsespw1.js → model-retry-160yv0cs.js} +4 -4
- package/dist/chunks/{repository-cache-1711wf45.js → model-retry-16z8xvrr.js} +12 -12
- package/dist/chunks/{repository-cache-jcqm84fr.js → model-retry-18g90bpv.js} +9 -9
- package/dist/chunks/{repository-cache-5agv5pnb.js → model-retry-1gde04cj.js} +9 -9
- package/dist/chunks/{repository-cache-316j7v8e.js → model-retry-1gv4f02v.js} +3 -3
- package/dist/chunks/{repository-cache-cb840yf6.js → model-retry-1pd714jw.js} +22 -22
- package/dist/chunks/{repository-cache-6y1pjz6k.js → model-retry-1q6rtcwx.js} +11 -11
- package/dist/chunks/{repository-cache-6g7sbevv.js → model-retry-1rpbm281.js} +9 -9
- package/dist/chunks/{repository-cache-jz5m0jmz.js → model-retry-1x14vdzp.js} +57 -57
- package/dist/chunks/{repository-cache-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-ytbmzjv3.js → model-retry-20bsrc0x.js} +12 -12
- package/dist/chunks/{repository-cache-vm0wcjea.js → model-retry-20nwq5j7.js} +9 -9
- package/dist/chunks/{repository-cache-sqtvtx7d.js → model-retry-2352cqpm.js} +22 -22
- package/dist/chunks/{repository-cache-1ep2p91f.js → model-retry-27w5k9zf.js} +2 -2
- package/dist/chunks/{repository-cache-3bp279dk.js → model-retry-295s1tfa.js} +16 -16
- package/dist/chunks/{repository-cache-qqg9c0kv.js → model-retry-2azy8kv6.js} +4 -4
- package/dist/chunks/{repository-cache-g96fpxa4.js → model-retry-2wmk5873.js} +4 -4
- package/dist/chunks/{repository-cache-2z1j29yd.js → model-retry-2z1j29yd.js} +1 -1
- package/dist/chunks/{repository-cache-0421tmwc.js → model-retry-32s59e8p.js} +9 -9
- package/dist/chunks/{repository-cache-1xj3kh2r.js → model-retry-33jrma66.js} +22 -22
- package/dist/chunks/{repository-cache-ayjs7tqn.js → model-retry-3cbjf1nt.js} +2 -2
- package/dist/chunks/{repository-cache-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-cache-z5gn6yp1.js → model-retry-3x6mzmtb.js} +33 -33
- package/dist/chunks/{repository-cache-w2eysc6j.js → model-retry-40za9wsf.js} +9 -9
- package/dist/chunks/{repository-cache-7y79ykyn.js → model-retry-4efv169t.js} +7 -7
- package/dist/chunks/{repository-cache-57t7dmdr.js → model-retry-4eyfa5bt.js} +18 -18
- package/dist/chunks/{repository-cache-g4y5gz37.js → model-retry-4fzjj0zw.js} +6 -6
- package/dist/chunks/{repository-cache-m8wgw1ap.js → model-retry-4j6ygzg0.js} +20 -20
- package/dist/chunks/{repository-cache-x5qs9jyb.js → model-retry-4kxrtmfk.js} +32 -32
- package/dist/chunks/{repository-cache-6tnd2r5t.js → model-retry-4nh7jqqy.js} +81 -81
- package/dist/chunks/{repository-cache-tmmqa6ew.js → model-retry-4p63kbz0.js} +20 -20
- package/dist/chunks/{repository-cache-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-4xvmh7wp.js → model-retry-4xvmh7wp.js} +3 -3
- package/dist/chunks/{repository-cache-jgzdw78p.js → model-retry-4z2d5fre.js} +22 -22
- package/dist/chunks/{repository-cache-w12njt9q.js → model-retry-504h1h2p.js} +5 -5
- package/dist/chunks/{repository-cache-q9vkgwxm.js → model-retry-5bnhtwbz.js} +50 -50
- package/dist/chunks/{repository-cache-shmxrrpn.js → model-retry-5bwswyjb.js} +25 -25
- package/dist/chunks/{repository-cache-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-js4fqk0b.js → model-retry-5ntvbkr3.js} +35 -35
- package/dist/chunks/{repository-cache-v5gy4fh6.js → model-retry-5r72z9dp.js} +8 -8
- package/dist/chunks/{repository-cache-yxeqx0e7.js → model-retry-5r8en0fy.js} +9 -9
- package/dist/chunks/{repository-cache-etxarc0c.js → model-retry-5v7kgtbj.js} +1 -1
- package/dist/chunks/{repository-cache-3gh72xqr.js → model-retry-61wyp4gr.js} +4 -4
- package/dist/chunks/{repository-cache-6esdw8yj.js → model-retry-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-cache-ajjhf6jy.js → model-retry-6fshephh.js} +24 -24
- package/dist/chunks/{repository-cache-6pjqjmy2.js → model-retry-6pjqjmy2.js} +1 -1
- package/dist/chunks/{repository-cache-epqvz6sp.js → model-retry-6pk7avk3.js} +13 -13
- package/dist/chunks/{repository-cache-v0r2q4dy.js → model-retry-6z7s29v1.js} +27 -27
- package/dist/chunks/{repository-cache-w8qtt4th.js → model-retry-76cb1hcw.js} +4 -4
- package/dist/chunks/{repository-cache-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-wjjhfpfw.js → model-retry-7cy37jqv.js} +7 -7
- package/dist/chunks/{repository-cache-bbwsfe1r.js → model-retry-7d4vabvg.js} +27 -27
- package/dist/chunks/{repository-cache-yyb6gzd4.js → model-retry-7gq17r0e.js} +11 -11
- package/dist/chunks/{repository-cache-majbhfqf.js → model-retry-7pg8rm12.js} +8 -8
- package/dist/chunks/{repository-cache-j5c0nw1x.js → model-retry-7vrs0mxf.js} +12 -12
- package/dist/chunks/{repository-cache-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-rdcxq6dg.js → model-retry-7xrq36hz.js} +39 -39
- package/dist/chunks/{repository-cache-1d7c9p74.js → model-retry-88wp77t0.js} +37 -37
- package/dist/chunks/{repository-cache-06ne1vpq.js → model-retry-8gpczyd8.js} +9 -9
- package/dist/chunks/{repository-cache-qjgzc4b4.js → model-retry-8jztxfpf.js} +4 -4
- package/dist/chunks/{repository-cache-3kdbrncp.js → model-retry-8wc2fpae.js} +5 -5
- package/dist/chunks/{repository-cache-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-qkxp7296.js → model-retry-8zmpysdb.js} +1 -1
- package/dist/chunks/{repository-cache-91rj84md.js → model-retry-91rj84md.js} +1 -1
- package/dist/chunks/{repository-cache-xqaf1wtx.js → model-retry-945mzj2f.js} +16 -16
- package/dist/chunks/{repository-cache-g8ptsmqj.js → model-retry-95x7pe01.js} +14 -14
- package/dist/chunks/{repository-cache-kmpm0sjp.js → model-retry-9abfe0c3.js} +15 -15
- package/dist/chunks/{repository-cache-js82nf9k.js → model-retry-9gzd5sdz.js} +14 -14
- package/dist/chunks/{repository-cache-qjx0zx6g.js → model-retry-9wbkt707.js} +23 -23
- package/dist/chunks/{repository-cache-f2kxhge1.js → model-retry-a0ze7ap3.js} +10 -10
- package/dist/chunks/{repository-cache-64mfsmgx.js → model-retry-a634j94t.js} +13 -13
- package/dist/chunks/{repository-cache-1djcyy3s.js → model-retry-a6zfrhwy.js} +15 -15
- package/dist/chunks/{repository-cache-dvhq7cxa.js → model-retry-a8rk6bya.js} +18 -18
- package/dist/chunks/{repository-cache-d79ca6ae.js → model-retry-adfgt62e.js} +14 -14
- package/dist/chunks/{repository-cache-034tev2y.js → model-retry-aj7mw0zk.js} +2 -2
- package/dist/chunks/{repository-cache-x588deh8.js → model-retry-akeabbgf.js} +6 -6
- package/dist/chunks/{repository-cache-dapvcjq1.js → model-retry-antzfpbp.js} +22 -22
- package/dist/chunks/{repository-cache-48zhenr1.js → model-retry-aqtvbfp8.js} +2 -2
- package/dist/chunks/{repository-cache-b0mv4wxm.js → model-retry-b0mv4wxm.js} +2 -2
- package/dist/chunks/{repository-cache-b6vsg801.js → model-retry-b6vsg801.js} +2 -2
- package/dist/chunks/{repository-cache-apz0gy3j.js → model-retry-bdhbhy6a.js} +14 -14
- package/dist/chunks/{repository-cache-r4xyerk1.js → model-retry-bdv51ks6.js} +40 -40
- package/dist/chunks/{repository-cache-j623kct8.js → model-retry-bh48jfkc.js} +146 -146
- package/dist/chunks/{repository-cache-bjhzkqyk.js → model-retry-bjhzkqyk.js} +1 -1
- package/dist/chunks/{repository-cache-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-cache-1qbwk3vx.js → model-retry-btsa3r6q.js} +1 -1
- package/dist/chunks/{repository-cache-c3cfh5w6.js → model-retry-c3cfh5w6.js} +2 -2
- package/dist/chunks/{repository-cache-s2pfznc4.js → model-retry-c4970w7t.js} +6 -6
- package/dist/chunks/{repository-cache-7bg5w1mh.js → model-retry-c5m2a8vb.js} +8 -8
- package/dist/chunks/{repository-cache-jkg2pe84.js → model-retry-cfkc8wvf.js} +4 -4
- package/dist/chunks/{repository-cache-trtfktz1.js → model-retry-cfkzqjea.js} +25 -25
- package/dist/chunks/{repository-cache-5n23vyzy.js → model-retry-ckhajkac.js} +11 -11
- package/dist/chunks/{repository-cache-6n4ac7kc.js → model-retry-cmjj196d.js} +32 -32
- package/dist/chunks/{repository-cache-6nw1th37.js → model-retry-cvqzdst0.js} +4 -4
- package/dist/chunks/{repository-cache-hy96gn3p.js → model-retry-d0h8t5hk.js} +9 -9
- package/dist/chunks/{repository-cache-c9t2ty9q.js → model-retry-d2887f8n.js} +4 -4
- package/dist/chunks/{repository-cache-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-1erzekvj.js → model-retry-daaznt2t.js} +2 -2
- package/dist/chunks/model-retry-das67r30.js +26 -0
- package/dist/chunks/{repository-cache-hpfjxvqq.js → model-retry-dmhcp16a.js} +19 -19
- package/dist/chunks/{repository-cache-998yhzzq.js → model-retry-dvj9ct8m.js} +3 -3
- package/dist/chunks/{repository-cache-05t45fgn.js → model-retry-dw7m3xvw.js} +20 -20
- package/dist/chunks/{repository-cache-txs3q12t.js → model-retry-dw8101p3.js} +24 -24
- package/dist/chunks/{repository-cache-dqfcynkm.js → model-retry-dxtt3dn7.js} +48 -48
- package/dist/chunks/{repository-cache-m1gzeghs.js → model-retry-e3e7vv2j.js} +10 -10
- package/dist/chunks/{repository-cache-masd7ga8.js → model-retry-e5dqjz6v.js} +4 -4
- package/dist/chunks/{repository-cache-e834z07m.js → model-retry-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-rfkydm6q.js → model-retry-ea0wswcg.js} +22 -22
- package/dist/chunks/{repository-cache-qnst15rb.js → model-retry-ecw9kts4.js} +16 -16
- package/dist/chunks/{repository-cache-ef5x83kb.js → model-retry-ef5x83kb.js} +1 -1
- package/dist/chunks/model-retry-ewms6j9b.js +523 -0
- package/dist/chunks/{repository-cache-1vg1fscw.js → model-retry-ezfrkc6y.js} +14 -14
- package/dist/chunks/{repository-cache-tsfhzs96.js → model-retry-f49gwp6r.js} +25 -25
- package/dist/chunks/model-retry-f8ma18fn.js +18 -0
- package/dist/chunks/{repository-cache-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-cache-362gf1js.js → model-retry-fhjm4z34.js} +32 -32
- package/dist/chunks/{repository-cache-pkwzrktv.js → model-retry-fmhdrg4y.js} +28 -28
- package/dist/chunks/{repository-cache-z2wxp724.js → model-retry-fn90fkvf.js} +15 -15
- package/dist/chunks/{repository-cache-a10bphs2.js → model-retry-g02cgtqg.js} +92 -92
- package/dist/chunks/{repository-cache-g5h9c0rr.js → model-retry-g5h9c0rr.js} +2 -2
- package/dist/chunks/{repository-cache-95a59wgr.js → model-retry-gddkg3ta.js} +28 -28
- package/dist/chunks/{repository-cache-336ztn5g.js → model-retry-gg5ajwfv.js} +37 -37
- package/dist/chunks/{repository-cache-207ajt2h.js → model-retry-ghrzdqqx.js} +5 -5
- package/dist/chunks/{repository-cache-pacbbjc0.js → model-retry-gj8x1tda.js} +5 -5
- package/dist/chunks/{repository-cache-a93j7cb6.js → model-retry-gj9fd72a.js} +16 -16
- package/dist/chunks/{repository-cache-kpyf14q1.js → model-retry-gmwwyjpc.js} +15 -15
- package/dist/chunks/{repository-cache-7vxtg88a.js → model-retry-gqy3s5ng.js} +24 -24
- package/dist/chunks/{repository-cache-s1bnsxce.js → model-retry-grv9e0a8.js} +35 -35
- package/dist/chunks/{repository-cache-mkadae17.js → model-retry-h2v6w9fm.js} +21 -21
- package/dist/chunks/{repository-cache-hgyydanp.js → model-retry-h6yftxtc.js} +32 -32
- package/dist/chunks/{repository-cache-hfwb91mh.js → model-retry-h86hs4jx.js} +12 -12
- package/dist/chunks/{repository-cache-ykqsc6sd.js → model-retry-hd9p2qrn.js} +12 -12
- package/dist/chunks/{repository-cache-27bs79w9.js → model-retry-hfc726b7.js} +2 -2
- package/dist/chunks/{repository-cache-7epm6vve.js → model-retry-hg04c070.js} +18 -18
- package/dist/chunks/{repository-cache-0xdzzbfj.js → model-retry-hjw91gt8.js} +4 -4
- package/dist/chunks/{repository-cache-s2dpb278.js → model-retry-hk6b7xe4.js} +36 -36
- package/dist/chunks/{repository-cache-scxnsnp9.js → model-retry-hnrrf75a.js} +10 -10
- package/dist/chunks/{repository-cache-j113cymg.js → model-retry-j113cymg.js} +1 -1
- package/dist/chunks/{repository-cache-kq1mzbp8.js → model-retry-j5644rm0.js} +24 -24
- package/dist/chunks/{repository-cache-3hq0yj39.js → model-retry-j8qp8vb7.js} +2 -2
- package/dist/chunks/{repository-cache-z5k5qppw.js → model-retry-jav3q4wh.js} +9 -9
- package/dist/chunks/{repository-cache-507qjdd6.js → model-retry-jeyepegn.js} +7 -7
- package/dist/chunks/{repository-cache-n3mttp9c.js → model-retry-jq4gkdch.js} +44 -44
- package/dist/chunks/{repository-cache-3pmyxw75.js → model-retry-jt5vb9t1.js} +18 -18
- package/dist/chunks/{repository-cache-vx3jgdek.js → model-retry-jzh23w2y.js} +3 -3
- package/dist/chunks/{repository-cache-8ykqf5wm.js → model-retry-jzpxygg0.js} +9 -9
- package/dist/chunks/{repository-cache-ss1jzj40.js → model-retry-k2qg1sgb.js} +21 -21
- package/dist/chunks/{repository-cache-xjz1c7y8.js → model-retry-k4pkx3h8.js} +1 -1
- package/dist/chunks/{repository-cache-k814nvkf.js → model-retry-k814nvkf.js} +1 -1
- package/dist/chunks/{repository-cache-3f8v07ch.js → model-retry-kj1j79ct.js} +11 -11
- package/dist/chunks/{repository-cache-bqwdyg2t.js → model-retry-kjgnzevm.js} +9 -9
- package/dist/chunks/{repository-cache-0k1p4s69.js → model-retry-knncxtrw.js} +7 -7
- package/dist/chunks/{repository-cache-36sdsjr1.js → model-retry-kr6h74hd.js} +4 -4
- package/dist/chunks/{repository-cache-tqwxcfvf.js → model-retry-kt8g20y3.js} +10 -10
- package/dist/chunks/{repository-cache-dexpzvpz.js → model-retry-ktxkps69.js} +72 -72
- package/dist/chunks/{repository-cache-bee3dq4t.js → model-retry-m04867d5.js} +2 -2
- package/dist/chunks/{repository-cache-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-epb2tz48.js → model-retry-m2hnwcn8.js} +9 -9
- package/dist/chunks/{repository-cache-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
- package/dist/chunks/{repository-cache-ga3nj1ct.js → model-retry-mfvka9j5.js} +6 -6
- package/dist/chunks/{repository-cache-c8666r4c.js → model-retry-mt3ysty9.js} +3 -3
- package/dist/chunks/{repository-cache-9db9x33r.js → model-retry-mw1nm45k.js} +10 -10
- package/dist/chunks/{repository-cache-n0p0277s.js → model-retry-n0p0277s.js} +1 -1
- package/dist/chunks/{repository-cache-j49x6kf4.js → model-retry-n7wnam13.js} +8 -8
- package/dist/chunks/{repository-cache-770pw0s1.js → model-retry-nah043kf.js} +4 -4
- package/dist/chunks/{repository-cache-spy53wnz.js → model-retry-nekjk3x1.js} +17 -17
- package/dist/chunks/{repository-cache-p015t6z3.js → model-retry-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-cache-j1sdj48j.js → model-retry-p4gac2xv.js} +24 -24
- package/dist/chunks/{repository-cache-fbmv4zkf.js → model-retry-p4nbw5fh.js} +32 -32
- package/dist/chunks/{repository-cache-pc1v25hk.js → model-retry-pc1v25hk.js} +1 -1
- package/dist/chunks/{repository-cache-d8zqpry0.js → model-retry-pdw6wz0h.js} +10 -10
- package/dist/chunks/{repository-cache-0j8j5tyq.js → model-retry-pfyk31y2.js} +5 -5
- package/dist/chunks/{repository-cache-efrks8s7.js → model-retry-pgeypdwc.js} +22 -22
- package/dist/chunks/{repository-cache-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-h04fff7h.js → model-retry-pppg3y1y.js} +41 -41
- package/dist/chunks/{repository-cache-18fakw40.js → model-retry-pqrp5r8r.js} +21 -21
- package/dist/chunks/{repository-cache-vmvx5n1d.js → model-retry-q8skw5t4.js} +11 -11
- package/dist/chunks/{repository-cache-dy4mqkt9.js → model-retry-qbat39qr.js} +4 -4
- package/dist/chunks/{repository-cache-xq0cmmmd.js → model-retry-qe6vkhvx.js} +15 -15
- package/dist/chunks/{repository-cache-ae12v80k.js → model-retry-qgmn31h3.js} +30 -30
- package/dist/chunks/{repository-cache-bygpv8tp.js → model-retry-qjqtgprh.js} +3 -3
- package/dist/chunks/model-retry-qrbjjv6t.js +257 -0
- package/dist/chunks/{repository-cache-6d6xnsqa.js → model-retry-qvw98tg0.js} +5 -5
- package/dist/chunks/{repository-cache-bgjq6n3s.js → model-retry-qxbnebsm.js} +48 -48
- package/dist/chunks/{repository-cache-dgc6zgst.js → model-retry-qy1wtshc.js} +8 -8
- package/dist/chunks/{repository-cache-e34d40ft.js → model-retry-qyjpv9b5.js} +15 -15
- package/dist/chunks/{repository-cache-r0yr0wbs.js → model-retry-r0yr0wbs.js} +1 -1
- package/dist/chunks/{repository-cache-2vt8hxhk.js → model-retry-r3hh8w6n.js} +24 -24
- package/dist/chunks/{repository-cache-xj361v57.js → model-retry-r8a6rr1y.js} +13 -13
- package/dist/chunks/{repository-cache-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-cache-w9kbxh01.js → model-retry-rf0axqhe.js} +16 -16
- package/dist/chunks/{repository-cache-8nyf59xc.js → model-retry-rfqv2m6w.js} +6 -6
- package/dist/chunks/{repository-cache-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-0m0bmnz6.js → model-retry-rxcn9dmj.js} +18 -18
- package/dist/chunks/{repository-cache-nn952gpa.js → model-retry-s3aa97yb.js} +26 -26
- package/dist/chunks/{repository-cache-g3dxjs5g.js → model-retry-s6zqqgcc.js} +12 -12
- package/dist/chunks/{repository-cache-daa7zsg6.js → model-retry-s71ympam.js} +15 -15
- package/dist/chunks/{repository-cache-s7kyse9r.js → model-retry-s7kyse9r.js} +1 -1
- package/dist/chunks/{repository-cache-d5p6tmrf.js → model-retry-s7pe5jpp.js} +12 -12
- package/dist/chunks/{repository-cache-5555hpps.js → model-retry-sd3cteb1.js} +3 -3
- package/dist/chunks/{repository-cache-1q4dac4t.js → model-retry-sdxydkh6.js} +11 -11
- package/dist/chunks/{repository-cache-vdkq80q2.js → model-retry-sgsbvhae.js} +22 -22
- package/dist/chunks/{repository-cache-n6q34c7t.js → model-retry-sjxh0ebt.js} +4 -4
- package/dist/chunks/{repository-cache-hvnf17n2.js → model-retry-sm6vx8r5.js} +21 -21
- package/dist/chunks/{repository-cache-sqjzf8x2.js → model-retry-sqjzf8x2.js} +1 -1
- package/dist/chunks/{repository-cache-kzkf7na7.js → model-retry-t00mk0ke.js} +25 -25
- package/dist/chunks/{repository-cache-hv3v4m8k.js → model-retry-t3mtxhe8.js} +16 -16
- package/dist/chunks/{repository-cache-jsqqb0ba.js → model-retry-tbbj6rhj.js} +9 -9
- package/dist/chunks/{repository-cache-x14n6813.js → model-retry-tc3wr7kw.js} +10 -10
- package/dist/chunks/{repository-cache-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-gvq5deds.js → model-retry-tfkjdz6t.js} +3 -3
- package/dist/chunks/{repository-cache-wcqq4kvm.js → model-retry-thtmsm01.js} +30 -30
- package/dist/chunks/{repository-cache-882abr6x.js → model-retry-tjcpgb0t.js} +3 -3
- package/dist/chunks/{repository-cache-xfffv0qn.js → model-retry-tsemnbjg.js} +36 -36
- package/dist/chunks/{repository-cache-tw8zr1ps.js → model-retry-tw8zr1ps.js} +1 -1
- package/dist/chunks/{repository-cache-twv2r8f4.js → model-retry-twv2r8f4.js} +2 -2
- package/dist/chunks/{repository-cache-xmav9z9e.js → model-retry-tx653dhe.js} +23 -23
- package/dist/chunks/{repository-cache-e8pm465n.js → model-retry-tx91wa5k.js} +4 -4
- package/dist/chunks/{repository-cache-5dnrgg7g.js → model-retry-txfdt2b0.js} +15 -15
- package/dist/chunks/{repository-cache-mt89smwx.js → model-retry-v1y7x4cv.js} +14 -14
- package/dist/chunks/{repository-cache-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-cache-tjze7m48.js → model-retry-v7edqz63.js} +9 -9
- package/dist/chunks/{repository-cache-5zrxpy3q.js → model-retry-v9ez2kgh.js} +5 -5
- package/dist/chunks/{repository-cache-5qdsq766.js → model-retry-vck6kdh7.js} +29 -29
- package/dist/chunks/{repository-cache-vd3b3yk9.js → model-retry-vd3b3yk9.js} +1 -1
- package/dist/chunks/{repository-cache-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-g7esga4v.js → model-retry-vmfhgzt5.js} +5 -5
- package/dist/chunks/{repository-cache-bfknhky6.js → model-retry-vrq9j7rb.js} +9 -9
- package/dist/chunks/{repository-cache-bkp072jg.js → model-retry-vryb9jrf.js} +6 -6
- package/dist/chunks/{repository-cache-y85xtnja.js → model-retry-vsdtm3y6.js} +13 -13
- package/dist/chunks/{repository-cache-bx39zcgj.js → model-retry-w1zjn144.js} +11 -11
- package/dist/chunks/{repository-cache-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-c295kw9q.js → model-retry-w445jyrw.js} +6 -6
- package/dist/chunks/{repository-cache-fznmdakp.js → model-retry-w687dnns.js} +4 -4
- package/dist/chunks/{repository-cache-bwsq2f4f.js → model-retry-w7cnq13e.js} +41 -41
- package/dist/chunks/{repository-cache-12dpmfar.js → model-retry-w830et9m.js} +11 -11
- package/dist/chunks/{repository-cache-e45fk36t.js → model-retry-w9w8mt4n.js} +4 -4
- package/dist/chunks/{repository-cache-1914d4m2.js → model-retry-waexrkk0.js} +35 -35
- package/dist/chunks/{repository-cache-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-cache-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-ygxwp2qk.js → model-retry-wecx54fa.js} +43 -43
- package/dist/chunks/{repository-cache-fayv5fjb.js → model-retry-wh6kfv27.js} +51 -51
- package/dist/chunks/{repository-cache-sy5y9pr1.js → model-retry-wjkdsmbm.js} +14 -14
- package/dist/chunks/{repository-cache-fhcyw9er.js → model-retry-wkgj5k69.js} +5 -5
- package/dist/chunks/{repository-cache-q8f5hf3a.js → model-retry-wmtep305.js} +28 -28
- package/dist/chunks/{repository-cache-cegnsd8m.js → model-retry-wnr6a5h7.js} +33 -33
- package/dist/chunks/{repository-cache-taa02m37.js → model-retry-x2s7p62g.js} +13 -13
- package/dist/chunks/{repository-cache-v9snnrq5.js → model-retry-xby873vx.js} +20 -20
- package/dist/chunks/{repository-cache-t746b1c9.js → model-retry-xe04d561.js} +13 -13
- package/dist/chunks/{repository-cache-pq54n2x2.js → model-retry-xegc1gxr.js} +17 -17
- package/dist/chunks/{repository-cache-fera0h98.js → model-retry-xn0dkv9k.js} +10 -10
- package/dist/chunks/{repository-cache-g4nys0an.js → model-retry-xp3wxx2t.js} +19 -19
- package/dist/chunks/{repository-cache-xqwqgje7.js → model-retry-xv9gw8q2.js} +13 -13
- package/dist/chunks/{repository-cache-ks3wwvy5.js → model-retry-xvee63d2.js} +9 -9
- package/dist/chunks/{repository-cache-5jjy01jh.js → model-retry-y1249fzv.js} +12 -12
- package/dist/chunks/{repository-cache-4ay36gmp.js → model-retry-y3xtvwd4.js} +16 -16
- package/dist/chunks/{repository-cache-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-1ytqv3fd.js → model-retry-yfyqcpqq.js} +6 -6
- package/dist/chunks/{repository-cache-ex2c5m6n.js → model-retry-ygy08vjq.js} +27 -27
- package/dist/chunks/{repository-cache-q92ejtxw.js → model-retry-yq1gzmdm.js} +27 -27
- package/dist/chunks/{repository-cache-5azq9rsq.js → model-retry-yr0q3nx1.js} +6 -6
- package/dist/chunks/{repository-cache-5jrgt8vn.js → model-retry-ytzfdnxp.js} +18 -18
- package/dist/chunks/{repository-cache-h0prck52.js → model-retry-yy9yh1zy.js} +15 -15
- package/dist/chunks/{repository-cache-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-9r40bkxv.js → model-retry-z0t0wh6t.js} +8 -8
- package/dist/chunks/{repository-cache-f1d6w5yp.js → model-retry-z16rqh1h.js} +11 -11
- package/dist/chunks/{repository-cache-ry1q6mjw.js → model-retry-z26cgg3v.js} +20 -20
- package/dist/chunks/{repository-cache-z38nccrw.js → model-retry-z38nccrw.js} +1 -1
- package/dist/chunks/{repository-cache-nvvc4vjs.js → model-retry-z4svz70a.js} +4 -4
- package/dist/chunks/{repository-cache-9jt80rn9.js → model-retry-zjy8xeq5.js} +35 -35
- package/dist/chunks/{repository-cache-zkg84ctx.js → model-retry-zkg84ctx.js} +1 -1
- package/dist/chunks/{repository-cache-c1wt3632.js → model-retry-zp9devnn.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +89 -89
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- 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 +93 -93
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +136 -136
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +92 -92
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +135 -135
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/repository-cache-6bshxcsx.js +0 -18
- package/dist/chunks/repository-cache-hwag7jbr.js +0 -523
- package/dist/chunks/repository-cache-m2yjxv7r.js +0 -26
- package/dist/chunks/repository-cache-qnhptmb8.js +0 -257
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → model-retry-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5fjb7ams.js → model-retry-5fjb7ams.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a058387c.js → model-retry-a058387c.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e3qxr5gk.js → model-retry-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → model-retry-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./model-retry-95x7pe01.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./model-retry-6fshephh.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service44
|
|
15
|
+
} from "./model-retry-4eyfa5bt.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-retry-h6yftxtc.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service55
|
|
24
|
+
} from "./model-retry-wecx54fa.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service18
|
|
27
|
+
} from "./model-retry-a8rk6bya.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input7,
|
|
37
|
+
Output: () => Output4,
|
|
38
|
+
Plugin: () => Plugin41,
|
|
39
|
+
name: () => name7,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name7 = "glob";
|
|
46
|
+
var Input7 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input9 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output4 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin41 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service61;
|
|
70
|
+
const ripgrep = yield* Service44;
|
|
71
|
+
const location = yield* Service82;
|
|
72
|
+
const access = yield* Service18;
|
|
73
|
+
const permission = yield* Service55;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name7,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input7,
|
|
79
|
+
output: Output4,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name7,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin11 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name7, Input7, Output4, toModelContent4, Plugin41, exports_glob };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./model-retry-qxbnebsm.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-6pjqjmy2.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service55
|
|
10
|
+
} from "./model-retry-wecx54fa.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input12,
|
|
20
|
+
Output: () => Output8,
|
|
21
|
+
Plugin: () => Plugin48,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name12,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name12 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input12 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output8 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin48 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service58;
|
|
68
|
+
const permission = yield* Service55;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input12,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name12,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin3 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name12, Info2, Input12, Output8, summarize2, Plugin48, exports_todo };
|
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./model-retry-95x7pe01.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service39,
|
|
12
|
+
node42
|
|
13
|
+
} from "./model-retry-gddkg3ta.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event6,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError4,
|
|
34
|
+
Service: () => Service38,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node41
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
65
65
|
return `Access denied to directory: ${this.directory}`;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var Content2 = Schema.Struct({
|
|
69
69
|
uri: Schema.String,
|
|
70
70
|
name: Schema.String.pipe(Schema.optional),
|
|
71
71
|
content: Schema.String,
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event6 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service38 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service38, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service82;
|
|
102
|
+
const search = yield* Service39;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service38.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError4({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError4({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node41 = makeLocationNode({
|
|
162
|
+
service: Service38,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node,
|
|
164
|
+
deps: [FSUtil.node, node86, node42]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service38, node41, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-0etvtzr7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./model-retry-hd9p2qrn.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-fn90fkvf.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-bjhzkqyk.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-retry-k2qg1sgb.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service78
|
|
22
|
+
} from "./model-retry-pgeypdwc.js";
|
|
23
23
|
import {
|
|
24
24
|
ID12,
|
|
25
25
|
Info21
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-retry-s71ympam.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-yb20nhc3.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
61
|
-
const bus = yield*
|
|
60
|
+
const providers = yield* Service78;
|
|
61
|
+
const bus = yield* Service85;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
64
64
|
const loaded = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-09pgmfn5.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-8jztxfpf.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service85,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node89,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -78,13 +78,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
78
78
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
79
79
|
var isDefinition = (input) => !Array.isArray(input);
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service85 extends Context.Service()("@opencode/Bus") {
|
|
82
82
|
}
|
|
83
83
|
function configured12(options) {
|
|
84
84
|
return makeGlobalNode({
|
|
85
|
-
service:
|
|
85
|
+
service: Service85,
|
|
86
86
|
deps: [node90],
|
|
87
|
-
layer: Layer.effect(
|
|
87
|
+
layer: Layer.effect(Service85, Effect.gen(function* () {
|
|
88
88
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
89
89
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
90
90
|
const pubsub = {
|
|
@@ -527,7 +527,7 @@ function configured12(options) {
|
|
|
527
527
|
list.push((event) => projector(event));
|
|
528
528
|
projectors.set(key, list);
|
|
529
529
|
});
|
|
530
|
-
return
|
|
530
|
+
return Service85.of({
|
|
531
531
|
publish,
|
|
532
532
|
publishAll,
|
|
533
533
|
subscribe,
|
|
@@ -541,6 +541,6 @@ function configured12(options) {
|
|
|
541
541
|
}))
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
|
-
var
|
|
544
|
+
var node89 = configured12();
|
|
545
545
|
|
|
546
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
546
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service85, configured12, node89, exports_bus };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-jzh23w2y.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-s7kyse9r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./model-retry-jzpxygg0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info15
|
|
12
|
+
} from "./model-retry-2azy8kv6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info16
|
|
15
|
+
} from "./model-retry-gj8x1tda.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-v9ez2kgh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info17
|
|
21
|
+
} from "./model-retry-8wc2fpae.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-retry-hjw91gt8.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info16, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -440,7 +440,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
440
440
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
441
441
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
442
442
|
return [];
|
|
443
|
-
const provider = decodeValue(
|
|
443
|
+
const provider = decodeValue(Info17, raw, path, diagnostics);
|
|
444
444
|
if (provider === undefined)
|
|
445
445
|
return [];
|
|
446
446
|
const destination = providerID2(name);
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-retry-j113cymg.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-pgeypdwc.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-s71ympam.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|