@opencode/core 0.0.0-dev-1189 → 0.0.0-dev-1216
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 +90 -90
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +257 -253
- package/dist/bus.js +80 -80
- package/dist/chunks/{location-activity-ejhpn1zw.js → model-retry-02fhhstm.js} +10 -10
- package/dist/chunks/{location-activity-034tev2y.js → model-retry-034tev2y.js} +2 -2
- package/dist/chunks/{location-activity-96v83mw6.js → model-retry-09rceteh.js} +5 -5
- package/dist/chunks/{location-activity-4a6te6v5.js → model-retry-0a8xczw5.js} +20 -20
- package/dist/chunks/{location-activity-9patswq3.js → model-retry-0ddtt1rb.js} +19 -19
- package/dist/chunks/{location-activity-nyra3jrn.js → model-retry-0dy226kc.js} +41 -41
- package/dist/chunks/{location-activity-8phyhj48.js → model-retry-0ext5n9t.js} +11 -11
- package/dist/chunks/{location-activity-ttz31trp.js → model-retry-0fvxehme.js} +5 -5
- package/dist/chunks/{location-activity-0z8p57aa.js → model-retry-0gx6fzah.js} +10 -10
- package/dist/chunks/{location-activity-0ma9gw4f.js → model-retry-0ma9gw4f.js} +2 -2
- package/dist/chunks/model-retry-0qyw66gp.js +273 -0
- package/dist/chunks/{location-activity-f8r0krks.js → model-retry-0zvwhvr5.js} +10 -10
- package/dist/chunks/{location-activity-7exb23vv.js → model-retry-1abx79xn.js} +10 -10
- package/dist/chunks/{location-activity-1aqsckx4.js → model-retry-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-activity-0j7gp832.js → model-retry-1aryjtsy.js} +22 -5
- package/dist/chunks/{location-activity-yn98x6sz.js → model-retry-1b2cxmga.js} +22 -22
- package/dist/chunks/{location-activity-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-activity-yfpbqyw8.js → model-retry-1k2wffy4.js} +11 -11
- package/dist/chunks/{location-activity-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-activity-wr3re1en.js → model-retry-1yped5qa.js} +4 -4
- package/dist/chunks/{location-activity-h26dq1rf.js → model-retry-20px12h8.js} +8 -8
- package/dist/chunks/{location-activity-4abn0bnk.js → model-retry-2cc0zt21.js} +25 -25
- package/dist/chunks/{location-activity-95yav327.js → model-retry-2cnxsjyc.js} +20 -20
- package/dist/chunks/{location-activity-tmbr44c5.js → model-retry-2e32zktp.js} +9 -9
- package/dist/chunks/{location-activity-2fc7eemy.js → model-retry-2fc7eemy.js} +1 -1
- package/dist/chunks/{location-activity-mf8fyg0x.js → model-retry-2fp0jt6s.js} +30 -30
- package/dist/chunks/{location-activity-dkbzka62.js → model-retry-2jk2eaf8.js} +8 -8
- package/dist/chunks/{location-activity-pb8daj1x.js → model-retry-2prt43t7.js} +3 -1
- package/dist/chunks/{location-activity-wb78an69.js → model-retry-2v3capeq.js} +14 -14
- package/dist/chunks/{location-activity-hzp4htwq.js → model-retry-30qkek6h.js} +17 -17
- package/dist/chunks/{location-activity-qmyjm0e6.js → model-retry-30swr9rt.js} +19 -19
- package/dist/chunks/{location-activity-z86xm8vj.js → model-retry-31c9mc6y.js} +24 -24
- package/dist/chunks/{location-activity-3861p289.js → model-retry-329aeaw0.js} +49 -49
- package/dist/chunks/{location-activity-10pafdky.js → model-retry-35xwmx6k.js} +12 -12
- package/dist/chunks/{location-activity-7z9fy3fj.js → model-retry-380f7ky3.js} +10 -10
- package/dist/chunks/{location-activity-gerka9tj.js → model-retry-3adw4bt5.js} +9 -9
- package/dist/chunks/{location-activity-tzw9b24f.js → model-retry-3gjensde.js} +13 -13
- package/dist/chunks/{location-activity-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-jn6kbxpn.js → model-retry-3j862yd2.js} +4 -4
- package/dist/chunks/{location-activity-tmc7xdjs.js → model-retry-3nnrz6f6.js} +4 -4
- package/dist/chunks/{location-activity-p5tk1xdz.js → model-retry-3qevzq3v.js} +8 -8
- package/dist/chunks/{location-activity-kmyxgdj8.js → model-retry-3r1ydfdn.js} +10 -10
- package/dist/chunks/{location-activity-0ahs07zn.js → model-retry-3ryz99p0.js} +4 -4
- package/dist/chunks/{location-activity-32w3b1hj.js → model-retry-3syj8115.js} +19 -19
- package/dist/chunks/{location-activity-5enarcya.js → model-retry-40za9wsf.js} +6 -6
- package/dist/chunks/{location-activity-bwr3xw82.js → model-retry-42je62vc.js} +3 -3
- package/dist/chunks/{location-activity-c3fqrk0x.js → model-retry-432cy2ab.js} +16 -16
- package/dist/chunks/{location-activity-4x785n8p.js → model-retry-47q1swan.js} +28 -28
- package/dist/chunks/{location-activity-fwjn606w.js → model-retry-48sb3xry.js} +11 -11
- package/dist/chunks/{location-activity-q8j6hn0v.js → model-retry-48vkv2zp.js} +23 -23
- package/dist/chunks/{location-activity-azbrxdsa.js → model-retry-4dk3ggh9.js} +4 -4
- package/dist/chunks/{location-activity-4dx1dgte.js → model-retry-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-activity-4f25tdd0.js → model-retry-4f25tdd0.js} +1 -1
- package/dist/chunks/{location-activity-fv062e0v.js → model-retry-4jyt793m.js} +2 -2
- package/dist/chunks/{location-activity-4pyp9zr9.js → model-retry-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-activity-c7qezhgt.js → model-retry-4rx53fa9.js} +55 -55
- package/dist/chunks/{location-activity-p4k1pvq2.js → model-retry-4sp0pwej.js} +25 -25
- package/dist/chunks/{location-activity-p6a4tmtk.js → model-retry-4tmv59f3.js} +16 -16
- package/dist/chunks/{location-activity-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{location-activity-94e33dpz.js → model-retry-4vzr2b15.js} +3 -3
- package/dist/chunks/{location-activity-g8t4vrb7.js → model-retry-4wxtepaa.js} +1 -1
- package/dist/chunks/{location-activity-n97zh6d4.js → model-retry-50380zjw.js} +14 -14
- package/dist/chunks/{location-activity-3th648yw.js → model-retry-56zc6607.js} +12 -12
- package/dist/chunks/{location-activity-259200je.js → model-retry-5cgn0v09.js} +18 -18
- package/dist/chunks/{location-activity-xec09xsk.js → model-retry-5g9v6hdw.js} +15 -15
- package/dist/chunks/{location-activity-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-activity-11k5e8cr.js → model-retry-5x3grz7y.js} +12 -12
- package/dist/chunks/{location-activity-vk9cahsx.js → model-retry-5xadkbnd.js} +23 -23
- package/dist/chunks/{location-activity-p7vhpwh8.js → model-retry-5zrxpy3q.js} +5 -5
- package/dist/chunks/{location-activity-01p574a1.js → model-retry-5zzzgtm0.js} +17 -17
- package/dist/chunks/{location-activity-zdgd64s1.js → model-retry-630f57dr.js} +15 -15
- package/dist/chunks/{location-activity-y3p3hzkr.js → model-retry-67zhfnr5.js} +5 -5
- package/dist/chunks/{location-activity-jhng9yhr.js → model-retry-6ab8246z.js} +16 -16
- package/dist/chunks/{location-activity-msaeewhc.js → model-retry-6e4ngh43.js} +24 -24
- package/dist/chunks/{location-activity-0txpnr4q.js → model-retry-6h8nkgjb.js} +14 -14
- package/dist/chunks/{location-activity-3y1d5ea0.js → model-retry-6wvdj9kp.js} +19 -19
- package/dist/chunks/{location-activity-fag2pae9.js → model-retry-7bgajff9.js} +98 -95
- package/dist/chunks/{location-activity-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-983a1rvz.js → model-retry-7cf5w11a.js} +5 -5
- package/dist/chunks/model-retry-7enabm5z.js +26 -0
- package/dist/chunks/{location-activity-azxajdzf.js → model-retry-7mxcsx9x.js} +13 -13
- package/dist/chunks/{location-activity-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-activity-7weczvnd.js → model-retry-7weczvnd.js} +1 -1
- package/dist/chunks/{location-activity-307g7cby.js → model-retry-7zxbyqhz.js} +17 -17
- package/dist/chunks/{location-activity-80mg3ag8.js → model-retry-80mg3ag8.js} +3 -3
- package/dist/chunks/{location-activity-80pdk984.js → model-retry-80pdk984.js} +1 -1
- package/dist/chunks/{location-activity-85jq8dht.js → model-retry-85jq8dht.js} +1 -1
- package/dist/chunks/{location-activity-4zces15n.js → model-retry-881fy3d8.js} +21 -21
- package/dist/chunks/{location-activity-8b3vzgkx.js → model-retry-8b3vzgkx.js} +1 -1
- package/dist/chunks/{location-activity-nb1gj9ac.js → model-retry-8cja266h.js} +22 -22
- package/dist/chunks/{location-activity-8kjyvwy5.js → model-retry-8kjyvwy5.js} +1 -1
- package/dist/chunks/{location-activity-qe7s52ph.js → model-retry-8rt25ezk.js} +10 -10
- package/dist/chunks/{location-activity-8sxe6kv8.js → model-retry-8sxe6kv8.js} +2 -2
- package/dist/chunks/{location-activity-q1e8bp5e.js → model-retry-8vb53tx0.js} +41 -41
- package/dist/chunks/{location-activity-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-activity-4584vyzb.js → model-retry-8xvx9gbc.js} +21 -21
- package/dist/chunks/{location-activity-gdk2kkzd.js → model-retry-8zqzm5np.js} +12 -12
- package/dist/chunks/{location-activity-8zv0xmg5.js → model-retry-8zv0xmg5.js} +1 -1
- package/dist/chunks/{location-activity-rwg4d25z.js → model-retry-90bxm3w0.js} +25 -25
- package/dist/chunks/{location-activity-anvcme1c.js → model-retry-90ct6wq4.js} +4 -4
- package/dist/chunks/{location-activity-62vdqgkn.js → model-retry-93fz3ark.js} +13 -13
- package/dist/chunks/{location-activity-xcgh4dvn.js → model-retry-93sddvhm.js} +14 -14
- package/dist/chunks/{location-activity-68cs06h1.js → model-retry-963hk181.js} +5 -5
- package/dist/chunks/{location-activity-vhrx5pgm.js → model-retry-96j1qp1j.js} +36 -36
- package/dist/chunks/{location-activity-j05by2k7.js → model-retry-9907wfrv.js} +9 -9
- package/dist/chunks/{location-activity-e63rktft.js → model-retry-99z197m3.js} +3 -3
- package/dist/chunks/{location-activity-2kg89srt.js → model-retry-9q8g9sv8.js} +4 -4
- package/dist/chunks/{location-activity-8bcc8xgx.js → model-retry-9rqfe4ad.js} +3 -3
- package/dist/chunks/{location-activity-pa4jjrfj.js → model-retry-9wc9780e.js} +7 -7
- package/dist/chunks/{location-activity-w4edwzs6.js → model-retry-9wp8fvve.js} +5 -5
- package/dist/chunks/{location-activity-60f00hw1.js → model-retry-a0pwz2ja.js} +24 -24
- package/dist/chunks/{location-activity-msd83k1v.js → model-retry-a0vpc40p.js} +142 -142
- package/dist/chunks/{location-activity-d13wb45y.js → model-retry-a1832zrw.js} +47 -50
- package/dist/chunks/{location-activity-gn6qas9s.js → model-retry-a1qwck5h.js} +8 -8
- package/dist/chunks/{location-activity-xy63rwa2.js → model-retry-a3dc5jdz.js} +5 -5
- package/dist/chunks/{location-activity-9dcw8585.js → model-retry-a4fgwpxr.js} +35 -35
- package/dist/chunks/{location-activity-zgx04581.js → model-retry-a52bkq65.js} +86 -86
- package/dist/chunks/{location-activity-s1ba0vj0.js → model-retry-ad21tgm2.js} +4 -4
- package/dist/chunks/{location-activity-gnda98wj.js → model-retry-adg8bb2p.js} +19 -19
- package/dist/chunks/{location-activity-88ency95.js → model-retry-aemyyd40.js} +7 -7
- package/dist/chunks/{location-activity-wvr8xscb.js → model-retry-agje4kmn.js} +4 -4
- package/dist/chunks/{location-activity-f0wd56k0.js → model-retry-aq5rdsap.js} +79 -55
- package/dist/chunks/{location-activity-sk1wsyc0.js → model-retry-aq6k3cf3.js} +146 -47
- package/dist/chunks/{location-activity-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-activity-hdgks5jc.js → model-retry-azmzce5q.js} +11 -11
- package/dist/chunks/{location-activity-vrwpw4d9.js → model-retry-b8gjcvbw.js} +2 -2
- package/dist/chunks/{location-activity-qeykm4ef.js → model-retry-b9902ptq.js} +3 -3
- package/dist/chunks/{location-activity-me215f18.js → model-retry-baefqw34.js} +1 -1
- package/dist/chunks/{location-activity-bj78ahtb.js → model-retry-bb3pv0r8.js} +7 -7
- package/dist/chunks/{location-activity-vmxsyvj6.js → model-retry-bhfd478d.js} +4 -4
- package/dist/chunks/{location-activity-br73ffdd.js → model-retry-bhrptrfq.js} +21 -21
- package/dist/chunks/{location-activity-dq5x26wr.js → model-retry-brz3f9n9.js} +18 -18
- package/dist/chunks/{location-activity-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
- package/dist/chunks/{location-activity-zvsp5ejd.js → model-retry-c6fbha32.js} +12 -12
- package/dist/chunks/{location-activity-ntwjh2sf.js → model-retry-c8xv9zc0.js} +11 -11
- package/dist/chunks/{location-activity-f5n884p5.js → model-retry-caeva7y1.js} +8 -8
- package/dist/chunks/{location-activity-1xbt38p9.js → model-retry-cb67h20a.js} +5 -5
- package/dist/chunks/{location-activity-2rj26xgs.js → model-retry-cc6s66e5.js} +13 -13
- package/dist/chunks/{location-activity-e43zzsea.js → model-retry-cerajcym.js} +4 -4
- package/dist/chunks/{location-activity-p8n4qmz2.js → model-retry-cj2zr1px.js} +12 -12
- package/dist/chunks/{location-activity-sdtjj50m.js → model-retry-cn285h91.js} +8 -8
- package/dist/chunks/{location-activity-wb5f78d4.js → model-retry-cvht37xw.js} +29 -29
- package/dist/chunks/{location-activity-cwrgdav8.js → model-retry-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-activity-rkccq6en.js → model-retry-cx8yve48.js} +23 -23
- package/dist/chunks/{location-activity-4g3sdj5g.js → model-retry-d28v9scs.js} +9 -9
- package/dist/chunks/{location-activity-8rt0g2q0.js → model-retry-d3q9v104.js} +1 -1
- package/dist/chunks/{location-activity-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-activity-kgac02m6.js → model-retry-d5z41q63.js} +1 -1
- package/dist/chunks/model-retry-d77dj7jw.js +18 -0
- package/dist/chunks/{location-activity-qs5xzg3q.js → model-retry-dc3sk665.js} +59 -59
- package/dist/chunks/{location-activity-0hxcpwt2.js → model-retry-denh2jb2.js} +8 -6
- package/dist/chunks/{location-activity-dt77769w.js → model-retry-dt77769w.js} +1 -1
- package/dist/chunks/{location-activity-ytfzaq3h.js → model-retry-dv57xqt1.js} +9 -9
- package/dist/chunks/{location-activity-1vxp16ke.js → model-retry-dvjpmffy.js} +18 -18
- package/dist/chunks/{location-activity-vv8mgh6x.js → model-retry-e2fbpykw.js} +21 -21
- package/dist/chunks/{location-activity-qdcw92xs.js → model-retry-e3qgsftg.js} +14 -14
- package/dist/chunks/{location-activity-40cqa2b9.js → model-retry-e6h0js2y.js} +7 -7
- package/dist/chunks/{location-activity-61prxpw3.js → model-retry-e8xb975w.js} +9 -9
- package/dist/chunks/{location-activity-k9wf7q91.js → model-retry-ea4xbpys.js} +2 -2
- package/dist/chunks/{location-activity-9y8xe00x.js → model-retry-ebqkfy2r.js} +11 -11
- package/dist/chunks/{location-activity-65f036v7.js → model-retry-ec77n7yf.js} +23 -23
- package/dist/chunks/{location-activity-4ak8h3nf.js → model-retry-edapz20f.js} +5 -5
- package/dist/chunks/{location-activity-0ma0x37k.js → model-retry-eg34w9c3.js} +4 -4
- package/dist/chunks/{location-activity-ak54v7cm.js → model-retry-ejazfhce.js} +20 -20
- package/dist/chunks/{location-activity-eqw4pqj1.js → model-retry-eqw4pqj1.js} +2 -2
- package/dist/chunks/{location-activity-kzarts6c.js → model-retry-esn0ce8j.js} +12 -12
- package/dist/chunks/{location-activity-7pnk6snw.js → model-retry-evbf0h8n.js} +4 -4
- package/dist/chunks/{location-activity-w30hge0x.js → model-retry-evy3hmsj.js} +12 -12
- package/dist/chunks/{location-activity-crfddmzc.js → model-retry-exwhc5hz.js} +8 -8
- package/dist/chunks/{location-activity-g6qsprqz.js → model-retry-f761xza1.js} +30 -30
- package/dist/chunks/{location-activity-papqhc4g.js → model-retry-f7bpy73v.js} +9 -9
- package/dist/chunks/{location-activity-65g80aew.js → model-retry-fcskamac.js} +9 -9
- package/dist/chunks/model-retry-ff9rbk43.js +144 -0
- package/dist/chunks/{location-activity-prq7xxp2.js → model-retry-fg9p65nk.js} +6 -6
- package/dist/chunks/{location-activity-e0ec3m7s.js → model-retry-fjr1tg8h.js} +30 -30
- package/dist/chunks/{location-activity-vw4vx41s.js → model-retry-fkqnmv7m.js} +9 -9
- package/dist/chunks/{location-activity-zhcnn9f8.js → model-retry-fm88cqwd.js} +19 -19
- package/dist/chunks/{location-activity-6hd8dvqz.js → model-retry-fng6r8ys.js} +18 -18
- package/dist/chunks/{location-activity-mgz48a7z.js → model-retry-g1m8att5.js} +20 -19
- package/dist/chunks/{location-activity-2n444ktb.js → model-retry-g1x3338p.js} +2 -2
- package/dist/chunks/{location-activity-v6rpb2km.js → model-retry-g5cw3qgb.js} +9 -9
- package/dist/chunks/{location-activity-z9m3agwm.js → model-retry-g6fhsb58.js} +11 -11
- package/dist/chunks/{location-activity-vecy8ha1.js → model-retry-g8n6nxn7.js} +37 -37
- package/dist/chunks/{location-activity-gbjdnr5j.js → model-retry-gbjdnr5j.js} +2 -2
- package/dist/chunks/{location-activity-vx9fqhdy.js → model-retry-gbm37efj.js} +10 -10
- package/dist/chunks/{location-activity-nnzapfh6.js → model-retry-gdq3b2dw.js} +35 -35
- package/dist/chunks/model-retry-ge0z7z6r.js +54 -0
- package/dist/chunks/{location-activity-jzpa2zq3.js → model-retry-ggq1y9n4.js} +26 -26
- package/dist/chunks/{location-activity-ggx84v7x.js → model-retry-ggx84v7x.js} +3 -3
- package/dist/chunks/{location-activity-jdvnekkx.js → model-retry-gh5gjszb.js} +34 -34
- package/dist/chunks/{location-activity-ghrv1g9c.js → model-retry-ghrv1g9c.js} +1 -1
- package/dist/chunks/{location-activity-26wfx3k0.js → model-retry-gmemj5zs.js} +4 -4
- package/dist/chunks/{location-activity-z8hz2rvm.js → model-retry-gny4fw8g.js} +14 -14
- package/dist/chunks/{location-activity-gxs71cxp.js → model-retry-gxs71cxp.js} +1 -1
- package/dist/chunks/{location-activity-d7kg89na.js → model-retry-gyfe4a17.js} +26 -26
- package/dist/chunks/{location-activity-h65mpq05.js → model-retry-gzet49gd.js} +28 -28
- package/dist/chunks/{location-activity-rg3a21bt.js → model-retry-h0nvnzve.js} +10 -10
- package/dist/chunks/{location-activity-r6pfcaac.js → model-retry-h7mck9ey.js} +74 -40
- package/dist/chunks/{location-activity-g81tfxfe.js → model-retry-h99kpe06.js} +15 -15
- package/dist/chunks/{location-activity-hgzwgvze.js → model-retry-hgzwgvze.js} +2 -2
- package/dist/chunks/{location-activity-d2eamxgc.js → model-retry-hjs6kb92.js} +35 -35
- package/dist/chunks/{location-activity-h115jkmr.js → model-retry-hq1yfezb.js} +6 -6
- package/dist/chunks/{location-activity-hy8c1z76.js → model-retry-hy8c1z76.js} +1 -1
- package/dist/chunks/{location-activity-keqfffms.js → model-retry-j1aj7ka8.js} +15 -15
- package/dist/chunks/{location-activity-yx5mjfyw.js → model-retry-j3n8xjy6.js} +7 -7
- package/dist/chunks/{location-activity-3txg0pd7.js → model-retry-j6vesw1n.js} +11 -11
- package/dist/chunks/model-retry-jaq18jgp.js +16 -0
- package/dist/chunks/{location-activity-ybws1qgk.js → model-retry-jcz74541.js} +6 -6
- package/dist/chunks/{location-activity-j34hwhf1.js → model-retry-jfvyzykx.js} +16 -16
- package/dist/chunks/{location-activity-j376ae4e.js → model-retry-jht64jd1.js} +7 -7
- package/dist/chunks/{location-activity-jm70asfg.js → model-retry-jm70asfg.js} +1 -1
- package/dist/chunks/{location-activity-4fvxkjpf.js → model-retry-jn02p7w8.js} +33 -33
- package/dist/chunks/{location-activity-wy2y7272.js → model-retry-jns4gqy7.js} +4 -4
- package/dist/chunks/{location-activity-4q3x8e5j.js → model-retry-jx75pjbb.js} +10 -10
- package/dist/chunks/{location-activity-5w76ffww.js → model-retry-jzyf28t6.js} +32 -32
- package/dist/chunks/{location-activity-0t1c5a6x.js → model-retry-k08th43v.js} +8 -8
- package/dist/chunks/{location-activity-mk35zcws.js → model-retry-k28r1t9f.js} +31 -28
- package/dist/chunks/{location-activity-83xvdhwx.js → model-retry-k2w93ba9.js} +36 -36
- package/dist/chunks/{location-activity-y9dxj5hx.js → model-retry-k34er33s.js} +22 -22
- package/dist/chunks/{location-activity-2yvt6v2s.js → model-retry-ke6ptzrg.js} +6 -6
- package/dist/chunks/{location-activity-vybxfazm.js → model-retry-kpjr6knp.js} +12 -12
- package/dist/chunks/{location-activity-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-activity-6g4w6g7e.js → model-retry-kxamksb3.js} +17 -17
- package/dist/chunks/{location-activity-81xpsfpw.js → model-retry-kyc0r0ht.js} +7 -7
- package/dist/chunks/{location-activity-kzczzf4v.js → model-retry-kzczzf4v.js} +1 -1
- package/dist/chunks/{location-activity-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{location-activity-zpdbqgja.js → model-retry-m4p4r8nc.js} +26 -3
- package/dist/chunks/model-retry-m8prejn4.js +35 -0
- package/dist/chunks/{location-activity-m90tx7mw.js → model-retry-m90tx7mw.js} +1 -1
- package/dist/chunks/{location-activity-h5n4xk2m.js → model-retry-m91bny15.js} +15 -15
- package/dist/chunks/{location-activity-v9tnwncv.js → model-retry-m998j73k.js} +11 -11
- package/dist/chunks/{location-activity-2va0az3e.js → model-retry-m9a9fe6f.js} +25 -12
- package/dist/chunks/{location-activity-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-mb7mbhnz.js → model-retry-mb7mbhnz.js} +3 -3
- package/dist/chunks/{location-activity-p3hzp7sb.js → model-retry-mesdejg4.js} +20 -20
- package/dist/chunks/{location-activity-f7yjcjcf.js → model-retry-mrjhcth0.js} +2 -2
- package/dist/chunks/{location-activity-d8xwypsq.js → model-retry-mzj1qzjq.js} +28 -28
- package/dist/chunks/{location-activity-t4ay2exb.js → model-retry-n0q6v9g9.js} +6 -6
- package/dist/chunks/{location-activity-n320gsn2.js → model-retry-n320gsn2.js} +1 -1
- package/dist/chunks/{location-activity-8dfptpqb.js → model-retry-n3na61j9.js} +4 -4
- package/dist/chunks/{location-activity-t40k5adv.js → model-retry-n4chev15.js} +42 -42
- package/dist/chunks/{location-activity-kzdam8c6.js → model-retry-nn2nd58t.js} +5 -5
- package/dist/chunks/{location-activity-hqrc2baf.js → model-retry-nq3gw3nz.js} +33 -33
- package/dist/chunks/{location-activity-a3fn0gmm.js → model-retry-nw314s9d.js} +2 -2
- package/dist/chunks/{location-activity-w87hzrb3.js → model-retry-p9jvgf3w.js} +6 -6
- package/dist/chunks/{location-activity-whrvc5yt.js → model-retry-phy3xrma.js} +11 -11
- package/dist/chunks/{location-activity-85krztkg.js → model-retry-pkbe14me.js} +36 -36
- package/dist/chunks/{location-activity-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-69bhmmwc.js → model-retry-pm5952we.js} +45 -45
- package/dist/chunks/{location-activity-65n9jqtg.js → model-retry-pnwsrq7c.js} +8 -8
- package/dist/chunks/{location-activity-3vtan2xs.js → model-retry-pqr3184k.js} +16 -16
- package/dist/chunks/{location-activity-q95mpwpj.js → model-retry-pr9etnbc.js} +15 -15
- package/dist/chunks/{location-activity-qz548dpg.js → model-retry-pv9k69qc.js} +80 -80
- package/dist/chunks/{location-activity-mz1cm3bt.js → model-retry-pvjmct39.js} +4 -4
- package/dist/chunks/{location-activity-0dvn80d6.js → model-retry-pwjd9d5z.js} +29 -30
- package/dist/chunks/{location-activity-c5zvymhv.js → model-retry-px7qpgcn.js} +4 -4
- package/dist/chunks/{location-activity-crw51rj8.js → model-retry-pzj8t5rk.js} +11 -11
- package/dist/chunks/{location-activity-htf1d8r0.js → model-retry-q8hw2skb.js} +12 -12
- package/dist/chunks/{location-activity-6y7ahvt4.js → model-retry-qacp188h.js} +8 -8
- package/dist/chunks/{location-activity-ggdqkh1w.js → model-retry-qbqyqs78.js} +13 -13
- package/dist/chunks/{location-activity-08s7mc2h.js → model-retry-qdc1w9ks.js} +26 -26
- package/dist/chunks/{location-activity-7qb1fq6e.js → model-retry-qeg6dv9a.js} +25 -25
- package/dist/chunks/{location-activity-qfz6bxfd.js → model-retry-qfz6bxfd.js} +1 -1
- package/dist/chunks/{location-activity-qp7r0hxv.js → model-retry-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-activity-9ay6bv7n.js → model-retry-qpqdpqrv.js} +14 -14
- package/dist/chunks/{location-activity-572yjfhb.js → model-retry-qv7g05k4.js} +5 -5
- package/dist/chunks/{location-activity-wpvhb4mw.js → model-retry-r61v17gv.js} +49 -49
- package/dist/chunks/{location-activity-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-activity-rgc9cx3e.js → model-retry-rgc9cx3e.js} +2 -2
- package/dist/chunks/{location-activity-6bk60ymy.js → model-retry-rhg4046s.js} +21 -21
- package/dist/chunks/{location-activity-7vjjsggp.js → model-retry-rja7p7xq.js} +3 -3
- package/dist/chunks/{location-activity-aktxy66n.js → model-retry-rmfzdfxf.js} +19 -19
- package/dist/chunks/{location-activity-srbrtv12.js → model-retry-rpqdece5.js} +4 -4
- package/dist/chunks/{location-activity-r94sj6cp.js → model-retry-rv31kkjr.js} +2 -2
- package/dist/chunks/{location-activity-5whx36p1.js → model-retry-s47rahr7.js} +4 -4
- package/dist/chunks/{location-activity-bh8de8tn.js → model-retry-s5g14t6y.js} +6 -6
- package/dist/chunks/{location-activity-nzwmfvkc.js → model-retry-s70c1f4z.js} +18 -18
- package/dist/chunks/{location-activity-as63tf3s.js → model-retry-s9xvbj60.js} +4 -4
- package/dist/chunks/{location-activity-sbya78hr.js → model-retry-sbya78hr.js} +1 -1
- package/dist/chunks/{location-activity-6csdnz4f.js → model-retry-sd1es34h.js} +8 -8
- package/dist/chunks/{location-activity-40y6dtc2.js → model-retry-sh9dx4s1.js} +4 -4
- package/dist/chunks/{location-activity-pcjz5rw4.js → model-retry-sp5gfv0g.js} +35 -35
- package/dist/chunks/{location-activity-kw911p39.js → model-retry-srb5ekkn.js} +16 -16
- package/dist/chunks/{location-activity-svcy3p9a.js → model-retry-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-activity-47yxgmye.js → model-retry-t84ct0bh.js} +6 -6
- package/dist/chunks/{location-activity-tbpn7jtk.js → model-retry-tbpn7jtk.js} +1 -1
- package/dist/chunks/{location-activity-hr1k69kw.js → model-retry-tck9nc1r.js} +16 -16
- package/dist/chunks/{location-activity-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-activity-5v11gha6.js → model-retry-tenwd8mx.js} +15 -15
- package/dist/chunks/model-retry-tn2h78aa.js +40 -0
- package/dist/chunks/{location-activity-g4txs7zc.js → model-retry-tp1jb13k.js} +7 -7
- package/dist/chunks/{location-activity-p030exqn.js → model-retry-tv9fhf77.js} +6 -6
- package/dist/chunks/{location-activity-mgdfa8tn.js → model-retry-tve6atr2.js} +29 -29
- package/dist/chunks/{location-activity-tvtps2q9.js → model-retry-tvtps2q9.js} +1 -1
- package/dist/chunks/{location-activity-jxd6f16v.js → model-retry-twhtcdx9.js} +4 -4
- package/dist/chunks/{location-activity-twssxy5n.js → model-retry-twssxy5n.js} +2 -2
- package/dist/chunks/{location-activity-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-activity-7dh5wvxz.js → model-retry-v32atjwq.js} +13 -13
- package/dist/chunks/{location-activity-q7srkfd6.js → model-retry-v5w4jpez.js} +6 -6
- package/dist/chunks/{location-activity-pxaxd55t.js → model-retry-vb8zbt9n.js} +4 -4
- package/dist/chunks/{location-activity-2q02zgmq.js → model-retry-vfy39f1m.js} +24 -24
- package/dist/chunks/{location-activity-vjf35v1f.js → model-retry-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-activity-ayfytmn9.js → model-retry-vjhrddsw.js} +5 -5
- package/dist/chunks/{location-activity-qcsxmv3j.js → model-retry-vrkt2gzc.js} +23 -23
- package/dist/chunks/{location-activity-0cqszewh.js → model-retry-vzep8vzj.js} +9 -9
- package/dist/chunks/{location-activity-kmpqz1v9.js → model-retry-w03ds3y6.js} +8 -8
- package/dist/chunks/{location-activity-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-7nqkf5r1.js → model-retry-w4xw9ac5.js} +2 -2
- package/dist/chunks/{location-activity-nr5t2j9y.js → model-retry-w5v5zxbk.js} +8 -8
- package/dist/chunks/{location-activity-e57sgs6c.js → model-retry-w6sqcs8d.js} +29 -29
- package/dist/chunks/{location-activity-9g2fb6aq.js → model-retry-w71w1vyw.js} +45 -45
- package/dist/chunks/{location-activity-edat02hn.js → model-retry-w89hjt3b.js} +13 -13
- package/dist/chunks/{location-activity-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-activity-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-m55fbe5c.js → model-retry-weexxn37.js} +5 -5
- package/dist/chunks/{location-activity-wegkxhrn.js → model-retry-wegkxhrn.js} +2 -2
- package/dist/chunks/{location-activity-75kcc234.js → model-retry-wha2430v.js} +3 -3
- package/dist/chunks/{location-activity-dbbfs4xp.js → model-retry-wnyqvj32.js} +17 -17
- package/dist/chunks/{location-activity-me73e0by.js → model-retry-wsy64217.js} +17 -17
- package/dist/chunks/{location-activity-pv3986h3.js → model-retry-wt8qw9kc.js} +13 -13
- package/dist/chunks/{location-activity-g4qzwayf.js → model-retry-x19yfq7e.js} +17 -17
- package/dist/chunks/{location-activity-xnw8sww6.js → model-retry-x2vkwk6x.js} +4 -4
- package/dist/chunks/{location-activity-r17fbvme.js → model-retry-xacrkbdt.js} +4 -4
- package/dist/chunks/{location-activity-tc12cntp.js → model-retry-xd5qa272.js} +51 -68
- package/dist/chunks/{location-activity-es5cpnhv.js → model-retry-xg7gtsp9.js} +6 -6
- package/dist/chunks/{location-activity-xxschbft.js → model-retry-xjr6c8m4.js} +4 -4
- package/dist/chunks/{location-activity-wxry0ce6.js → model-retry-xxf442y8.js} +23 -23
- package/dist/chunks/{location-activity-zhbrm8j1.js → model-retry-xxfjb0zd.js} +7 -7
- package/dist/chunks/{location-activity-7a45b9s1.js → model-retry-y2wfh8nz.js} +5 -5
- package/dist/chunks/{location-activity-hdnm6hsc.js → model-retry-y3jkqygv.js} +37 -37
- package/dist/chunks/{location-activity-vvtf3kr8.js → model-retry-y9dg44tb.js} +20 -20
- package/dist/chunks/{location-activity-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-activity-9b9bbfhq.js → model-retry-ybv2sjse.js} +28 -28
- package/dist/chunks/{location-activity-cy9kmfpk.js → model-retry-ye051wpe.js} +5 -5
- package/dist/chunks/{location-activity-yr705xyq.js → model-retry-yr705xyq.js} +1 -1
- package/dist/chunks/{location-activity-yvtc2x31.js → model-retry-yvtc2x31.js} +1 -1
- package/dist/chunks/{location-activity-x9t0ynvq.js → model-retry-ywb0hxgs.js} +16 -16
- package/dist/chunks/{location-activity-xksw6ev0.js → model-retry-yybgvvmq.js} +4 -4
- package/dist/chunks/{location-activity-nttn14j9.js → model-retry-yydqqga9.js} +4 -4
- package/dist/chunks/{location-activity-z0wbgq7s.js → model-retry-z0wbgq7s.js} +1 -1
- package/dist/chunks/{location-activity-qzd5230r.js → model-retry-zdty93sz.js} +4 -4
- package/dist/chunks/{location-activity-ze75qvmd.js → model-retry-ze75qvmd.js} +3 -3
- package/dist/chunks/model-retry-zgxh77gy.js +587 -0
- package/dist/chunks/{location-activity-h63mf2pj.js → model-retry-zkybrta7.js} +4 -4
- package/dist/chunks/{location-activity-5hh7d9p8.js → model-retry-zmmx3t8v.js} +31 -31
- package/dist/chunks/{location-activity-hd71w18k.js → model-retry-zr3s1x67.js} +37 -37
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +149 -149
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +156 -156
- 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 +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +248 -245
- package/dist/config/plugin/compaction.js +174 -174
- package/dist/config/plugin/compatibility.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +131 -131
- package/dist/config/plugin/location-watcher.js +133 -133
- package/dist/config/plugin/mcp.js +148 -148
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +133 -133
- package/dist/config/plugin/skill-file.js +150 -150
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +157 -157
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +79 -79
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +78 -78
- 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 +100 -100
- package/dist/effect/app-node-builder.js +449 -447
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +161 -161
- package/dist/file-mutation.js +104 -104
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +165 -165
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +259 -255
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +134 -134
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +113 -113
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -105
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +440 -438
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +7 -7
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +92 -92
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -183
- package/dist/location-lifecycle.js +154 -154
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +437 -435
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +159 -159
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +87 -87
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +160 -160
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +109 -109
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- 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 +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +250 -246
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +417 -414
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +150 -150
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +147 -147
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +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 +111 -111
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +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 +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +162 -162
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +241 -241
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +153 -153
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +425 -422
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +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 +7 -7
- package/dist/plugin.js +261 -257
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +99 -99
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +91 -91
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +255 -251
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +261 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +172 -172
- package/dist/session/context.js +206 -206
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +375 -319
- package/dist/session/execution/subagent-report.js +152 -0
- package/dist/session/execution.js +176 -172
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +151 -151
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +145 -145
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +172 -172
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -172
- package/dist/session/projector.js +148 -147
- package/dist/session/prompt.js +152 -152
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +143 -143
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +262 -259
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +154 -154
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +167 -167
- package/dist/session/runner/to-llm-message.js +141 -141
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +196 -192
- package/dist/session/shell.js +151 -151
- package/dist/session/skill.js +153 -153
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +146 -146
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -1
- package/dist/session/subagent-job.js +175 -242
- package/dist/session/subagent-metadata.js +18 -0
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +254 -250
- package/dist/session/usage.js +1 -1
- package/dist/session.js +250 -246
- package/dist/shared-cache.js +3 -3
- 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 +15 -15
- package/dist/shell.js +149 -149
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +155 -155
- package/dist/skill.js +160 -160
- package/dist/snapshot.js +106 -106
- package/dist/state.js +3 -3
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +189 -189
- package/dist/tool/plugin/artifact.js +245 -241
- package/dist/tool/plugin/edit.js +171 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +175 -175
- package/dist/tool/plugin/grep.js +174 -174
- package/dist/tool/plugin/image-generate.js +254 -250
- package/dist/tool/plugin/mcp-events.js +166 -166
- package/dist/tool/plugin/mcp-resource.js +170 -170
- package/dist/tool/plugin/opencode.js +167 -167
- package/dist/tool/plugin/patch.js +172 -172
- package/dist/tool/plugin/question.js +150 -150
- package/dist/tool/plugin/read.js +176 -176
- package/dist/tool/plugin/schedule.js +261 -257
- package/dist/tool/plugin/shell.js +252 -248
- package/dist/tool/plugin/skill.js +159 -159
- package/dist/tool/plugin/subagent.js +244 -241
- package/dist/tool/plugin/todo.js +157 -157
- package/dist/tool/plugin/webfetch.js +159 -159
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +172 -172
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +166 -166
- package/dist/types/job/list.d.ts +2 -0
- package/dist/types/job.d.ts +30 -0
- package/dist/types/session/background.d.ts +26 -31
- package/dist/types/session/execution/subagent-report.d.ts +45 -0
- package/dist/types/session/execution.d.ts +2 -1
- package/dist/types/session/run-coordinator.d.ts +2 -0
- package/dist/types/session/store.d.ts +9 -0
- package/dist/types/session/subagent-completion.d.ts +16 -4
- package/dist/types/session/subagent-job.d.ts +5 -4
- package/dist/types/session/subagent-metadata.d.ts +22 -0
- package/dist/types/tool/plugin/shell.d.ts +1 -2
- package/dist/types/tool/plugin/subagent.d.ts +2 -2
- 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 +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +9 -9
- package/dist/chunks/location-activity-7yv5xa0k.js +0 -18
- package/dist/chunks/location-activity-8dbvkn8p.js +0 -35
- package/dist/chunks/location-activity-hwjeswzd.js +0 -73
- package/dist/chunks/location-activity-njxc53e0.js +0 -587
- package/dist/chunks/location-activity-rbrp5637.js +0 -273
- package/dist/chunks/location-activity-v75ctyf4.js +0 -26
- package/dist/chunks/location-activity-v7t8gep2.js +0 -16
- /package/dist/chunks/{location-activity-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kah00gy.js → model-retry-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4qk9sjk2.js → model-retry-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-5w3e23ze.js → model-retry-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-activity-6agm2x70.js → model-retry-6agm2x70.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-7rvsyqjv.js → model-retry-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-beh6qq61.js → model-retry-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-ean2d8b5.js → model-retry-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fkpq3x5p.js → model-retry-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-nh4v3znn.js → model-retry-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-p71gwv9c.js → model-retry-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-syrav9an.js → model-retry-syrav9an.js} +0 -0
- /package/dist/chunks/{location-activity-t03h4f5z.js → model-retry-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-activity-ty7weeps.js → model-retry-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-activity-v2dnd5dt.js → model-retry-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{location-activity-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-activity-vtarvj67.js → model-retry-vtarvj67.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x4th4bpe.js → model-retry-x4th4bpe.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-activity-zxpyjp51.js → model-retry-zxpyjp51.js} +0 -0
- /package/dist/chunks/{location-activity-zz5vv3aq.js → model-retry-zz5vv3aq.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-0ma9gw4f.js";
|
|
4
4
|
import {
|
|
5
5
|
ID18,
|
|
6
6
|
Service86,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-ywb0hxgs.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
17
|
+
Service: () => Service14,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer10,
|
|
21
|
+
node: () => node16
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -31,15 +31,15 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service14 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer10 = Layer.effect(Service14, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
44
|
const integrations = yield* Service86;
|
|
45
45
|
const findConnection = (provider, methods = ["key"]) => integrations.get(ID18.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
@@ -67,10 +67,10 @@ var layer11 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
67
67
|
if (!engine)
|
|
68
68
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
69
69
|
const found = yield* source(engine);
|
|
70
|
-
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new
|
|
70
|
+
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: found.provider, message: error.message }))) : undefined;
|
|
71
71
|
const access = found && credential && sessionAccess(found.provider, credential);
|
|
72
72
|
if (found === undefined || access === undefined)
|
|
73
|
-
return yield* new
|
|
73
|
+
return yield* new UnavailableError2({
|
|
74
74
|
service: engine.provider,
|
|
75
75
|
message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
|
|
76
76
|
});
|
|
@@ -79,13 +79,13 @@ var layer11 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
79
79
|
session: input.session,
|
|
80
80
|
transport: input.transport,
|
|
81
81
|
...access
|
|
82
|
-
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new
|
|
82
|
+
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service14.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
88
|
-
layer:
|
|
86
|
+
var node16 = makeLocationNode({
|
|
87
|
+
service: Service14,
|
|
88
|
+
layer: layer10,
|
|
89
89
|
deps: [node88, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError2, Service14, layer10, node16, exports_voice };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-4dk3ggh9.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-sh9dx4s1.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-n320gsn2.js";
|
|
12
12
|
import {
|
|
13
13
|
ID18,
|
|
14
14
|
Service86,
|
|
15
15
|
node88,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Event18
|
|
17
|
+
} from "./model-retry-ywb0hxgs.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service90,
|
|
20
|
+
node92
|
|
21
|
+
} from "./model-retry-gny4fw8g.js";
|
|
22
22
|
import {
|
|
23
23
|
AISDK_PREFIX2,
|
|
24
24
|
isAISDK2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
mergeOverlay2,
|
|
28
28
|
mergeHeaders2,
|
|
29
29
|
rewrite2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-m90tx7mw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/provider.ts
|
|
36
36
|
var exports_provider5 = {};
|
|
@@ -40,9 +40,9 @@ __export(exports_provider5, {
|
|
|
40
40
|
Compaction: () => Compaction3,
|
|
41
41
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
42
42
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
43
|
-
Event: () =>
|
|
43
|
+
Event: () => Event17,
|
|
44
44
|
ID: () => ID17,
|
|
45
|
-
Info: () =>
|
|
45
|
+
Info: () => Info24,
|
|
46
46
|
LoadError: () => LoadError3,
|
|
47
47
|
Provider: () => exports_provider5,
|
|
48
48
|
Request: () => Request4,
|
|
@@ -71,7 +71,7 @@ import { HttpTimeout } from "@opencode/ai/effect";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
74
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
75
75
|
var ID17 = Provider.ID;
|
|
76
76
|
|
|
77
77
|
class LoadError3 extends Schema.TaggedError()("Provider.LoadError", {
|
|
@@ -140,6 +140,7 @@ var builtins = new Map([
|
|
|
140
140
|
["@opencode/ai/providers/fireworks", () => import("@opencode/ai/providers/fireworks")],
|
|
141
141
|
["@opencode/ai/providers/fireworks/embeddings", () => import("@opencode/ai/providers/fireworks/embeddings")],
|
|
142
142
|
["@opencode/ai/providers/google", () => import("@opencode/ai/providers/google")],
|
|
143
|
+
["@opencode/ai/providers/google/decisions", () => import("@opencode/ai/providers/google/decisions")],
|
|
143
144
|
["@opencode/ai/providers/google/interactions", () => import("@opencode/ai/providers/google/interactions")],
|
|
144
145
|
["@opencode/ai/providers/google/embeddings", () => import("@opencode/ai/providers/google/embeddings")],
|
|
145
146
|
["@opencode/ai/providers/google/images", () => import("@opencode/ai/providers/google/images")],
|
|
@@ -299,7 +300,7 @@ var Compaction3 = Provider.Compaction;
|
|
|
299
300
|
var Cache2 = Provider.Cache;
|
|
300
301
|
var Transport2 = Provider.Transport;
|
|
301
302
|
var Settings2 = Provider.Settings;
|
|
302
|
-
var
|
|
303
|
+
var Info24 = Provider.Info;
|
|
303
304
|
|
|
304
305
|
class Service85 extends Context.Service()("@opencode/Provider") {
|
|
305
306
|
}
|
|
@@ -317,7 +318,7 @@ function index(providerID, models) {
|
|
|
317
318
|
var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
318
319
|
const bus = yield* Service93;
|
|
319
320
|
const integrations = yield* Service86;
|
|
320
|
-
const location = yield*
|
|
321
|
+
const location = yield* Service90;
|
|
321
322
|
const state = create4({
|
|
322
323
|
name: "provider",
|
|
323
324
|
initial: () => new Map,
|
|
@@ -328,7 +329,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
328
329
|
const current = records.get(id);
|
|
329
330
|
if (current)
|
|
330
331
|
return current;
|
|
331
|
-
const added = { provider:
|
|
332
|
+
const added = { provider: Info24.empty(id), models: new Map };
|
|
332
333
|
records.set(id, added);
|
|
333
334
|
maps.add(added.models);
|
|
334
335
|
return added;
|
|
@@ -437,7 +438,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
437
438
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
438
439
|
});
|
|
439
440
|
});
|
|
440
|
-
yield* bus.subscribe([
|
|
441
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
441
442
|
return Service85.of({
|
|
442
443
|
transform: state.transform,
|
|
443
444
|
reload: state.reload,
|
|
@@ -447,7 +448,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
447
448
|
snapshot
|
|
448
449
|
});
|
|
449
450
|
}));
|
|
450
|
-
var node87 = makeLocationNode({ service: Service85, layer, deps: [node95, node88,
|
|
451
|
+
var node87 = makeLocationNode({ service: Service85, layer, deps: [node95, node88, node92] });
|
|
451
452
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
452
453
|
const module = yield* Effect.tryPromise({
|
|
453
454
|
try: () => {
|
|
@@ -469,4 +470,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
469
470
|
return module;
|
|
470
471
|
});
|
|
471
472
|
|
|
472
|
-
export { ID17, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, Request4, Compaction3, Cache2, Transport2, Settings2,
|
|
473
|
+
export { ID17, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service85, node87, exports_provider5, Event17 };
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
4
|
var ID14 = Session.ID;
|
|
5
|
-
var
|
|
5
|
+
var Info20 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export { ID14,
|
|
7
|
+
export { ID14, Info20, SessionSchema2 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-rb9dy4dg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service90
|
|
13
|
+
} from "./model-retry-gny4fw8g.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-881fy3d8.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin3 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service90;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin3, exports_hg };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./model-retry-0dy226kc.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-tvtps2q9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin44
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin44 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service71;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin13 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin44, exports_websearch2 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service69,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node71
|
|
5
|
+
} from "./model-retry-m8prejn4.js";
|
|
6
6
|
import {
|
|
7
7
|
join2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-8rt25ezk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node72
|
|
12
|
+
} from "./model-retry-a1qwck5h.js";
|
|
13
13
|
import {
|
|
14
14
|
DeclinedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-retry-n4chev15.js";
|
|
16
16
|
import {
|
|
17
17
|
CancelledError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-dv57xqt1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Error3
|
|
21
|
+
} from "./model-retry-tve6atr2.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
get5
|
|
24
|
+
} from "./model-retry-3nnrz6f6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service38,
|
|
27
|
+
node41
|
|
28
|
+
} from "./model-retry-j6vesw1n.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make27
|
|
31
|
+
} from "./model-retry-agje4kmn.js";
|
|
32
32
|
import {
|
|
33
33
|
toLLMMessages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-mrjhcth0.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/model-request.ts
|
|
40
40
|
var exports_model_request = {};
|
|
41
41
|
__export(exports_model_request, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service37,
|
|
43
43
|
SessionModelRequest: () => exports_model_request,
|
|
44
44
|
baseTranscript: () => baseTranscript2,
|
|
45
45
|
boundImages: () => boundImages2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer16,
|
|
47
|
+
node: () => node40,
|
|
48
48
|
outputLimit: () => outputLimit2,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
@@ -81,7 +81,7 @@ var baseTranscript2 = (input) => {
|
|
|
81
81
|
return {
|
|
82
82
|
providerMetadataKey,
|
|
83
83
|
system: [
|
|
84
|
-
SystemPart.make(input.agent.system ? input.agent.system :
|
|
84
|
+
SystemPart.make(input.agent.system ? input.agent.system : make27(input.tools.definitions.map((tool) => tool.name))),
|
|
85
85
|
{
|
|
86
86
|
...SystemPart.make(join2(input.initial)),
|
|
87
87
|
metadata: { experimental: { instructions: input.initial } }
|
|
@@ -187,19 +187,19 @@ var boundImages2 = (messages) => {
|
|
|
187
187
|
});
|
|
188
188
|
};
|
|
189
189
|
|
|
190
|
-
class
|
|
190
|
+
class Service37 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
191
191
|
}
|
|
192
|
-
var
|
|
193
|
-
const hooks = yield*
|
|
194
|
-
const transport = yield*
|
|
195
|
-
const app = yield*
|
|
192
|
+
var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
193
|
+
const hooks = yield* Service70;
|
|
194
|
+
const transport = yield* Service38;
|
|
195
|
+
const app = yield* Service69;
|
|
196
196
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
197
197
|
const session = input.session;
|
|
198
198
|
const model = input.model;
|
|
199
199
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
200
200
|
const tools = input.tools ?? {
|
|
201
201
|
definitions: [],
|
|
202
|
-
execute: () => new
|
|
202
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
203
203
|
};
|
|
204
204
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: JSON.parse(JSON.stringify(t.inputSchema)) }, t]));
|
|
205
205
|
const shaped = yield* shape({
|
|
@@ -217,7 +217,7 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
217
217
|
const entries = Object.entries(shaped.options);
|
|
218
218
|
const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
|
|
219
219
|
const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
|
|
220
|
-
const affinity =
|
|
220
|
+
const affinity = get5(session);
|
|
221
221
|
const base = ai.request({
|
|
222
222
|
model: model.model,
|
|
223
223
|
headers: {
|
|
@@ -290,17 +290,17 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
290
290
|
};
|
|
291
291
|
});
|
|
292
292
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
293
|
-
return
|
|
293
|
+
return Service37.of({
|
|
294
294
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
295
295
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
296
296
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
297
297
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
298
298
|
});
|
|
299
299
|
}));
|
|
300
|
-
var
|
|
301
|
-
service:
|
|
302
|
-
layer:
|
|
303
|
-
deps: [
|
|
300
|
+
var node40 = makeLocationNode({
|
|
301
|
+
service: Service37,
|
|
302
|
+
layer: layer16,
|
|
303
|
+
deps: [node72, node41, node71]
|
|
304
304
|
});
|
|
305
305
|
|
|
306
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
306
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service37, layer16, node40, exports_model_request };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
groups2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-vjf35v1f.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/sync/decide.ts
|
|
9
9
|
var exports_decide = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-1abx79xn.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service74,
|
|
17
|
+
node: () => node76
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service74 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service94).db;
|
|
26
|
-
return
|
|
26
|
+
return Service74.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node76 = makeGlobalNode({ service: Service74, layer, deps: [node96] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service74, node76, exports_kv };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service90
|
|
6
|
+
} from "./model-retry-gny4fw8g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service61
|
|
9
|
+
} from "./model-retry-ejazfhce.js";
|
|
10
10
|
import {
|
|
11
11
|
InvalidPatternError2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service60
|
|
13
|
+
} from "./model-retry-5cgn0v09.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_SEARCH_LIMIT2,
|
|
16
16
|
GrepInput2,
|
|
17
17
|
Entry2,
|
|
18
18
|
Match2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-retry-48vkv2zp.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service64
|
|
23
|
+
} from "./model-retry-n4chev15.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service17
|
|
26
|
+
} from "./model-retry-4sp0pwej.js";
|
|
27
27
|
import {
|
|
28
28
|
pathType2,
|
|
29
29
|
bounded2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-rja7p7xq.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/grep.ts
|
|
36
36
|
var exports_grep = {};
|
|
37
37
|
__export(exports_grep, {
|
|
38
38
|
GrepTool: () => exports_grep,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
39
|
+
Input: () => Input13,
|
|
40
|
+
Output: () => Output9,
|
|
41
|
+
Plugin: () => Plugin36,
|
|
42
|
+
name: () => name13,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Schema } from "effect";
|
|
47
47
|
import path from "path";
|
|
48
|
-
var
|
|
49
|
-
var
|
|
48
|
+
var name13 = "grep";
|
|
49
|
+
var Input13 = Schema.Struct({
|
|
50
50
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
51
51
|
description: "Regular expression or literal text to match in file contents."
|
|
52
52
|
}),
|
|
@@ -66,8 +66,8 @@ var Input7 = Schema.Struct({
|
|
|
66
66
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
67
67
|
})
|
|
68
68
|
});
|
|
69
|
-
var
|
|
70
|
-
var
|
|
69
|
+
var Output9 = Schema.Array(Match2);
|
|
70
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
71
71
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
72
72
|
let current = "";
|
|
73
73
|
for (const match of matches) {
|
|
@@ -84,25 +84,25 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
84
84
|
return lines.join(`
|
|
85
85
|
`);
|
|
86
86
|
};
|
|
87
|
-
var
|
|
87
|
+
var Plugin36 = {
|
|
88
88
|
id: "opencode.tool.grep",
|
|
89
89
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
90
|
-
const environment = yield*
|
|
91
|
-
const ripgrep = yield*
|
|
92
|
-
const location = yield*
|
|
93
|
-
const access = yield*
|
|
94
|
-
const permission = yield*
|
|
90
|
+
const environment = yield* Service61;
|
|
91
|
+
const ripgrep = yield* Service60;
|
|
92
|
+
const location = yield* Service90;
|
|
93
|
+
const access = yield* Service17;
|
|
94
|
+
const permission = yield* Service64;
|
|
95
95
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
96
|
-
name:
|
|
96
|
+
name: name13,
|
|
97
97
|
options: { codemode: false },
|
|
98
98
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
99
|
-
input:
|
|
100
|
-
output:
|
|
99
|
+
input: Input13,
|
|
100
|
+
output: Output9,
|
|
101
101
|
execute: (input, context) => Effect.gen(function* () {
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name13,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -139,7 +139,7 @@ var Plugin47 = {
|
|
|
139
139
|
};
|
|
140
140
|
}).pipe(Effect.map((result) => ({
|
|
141
141
|
output: result.matches,
|
|
142
|
-
content:
|
|
142
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
143
143
|
...match,
|
|
144
144
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
145
145
|
})), result.truncated),
|
|
@@ -149,4 +149,4 @@ var Plugin47 = {
|
|
|
149
149
|
})
|
|
150
150
|
};
|
|
151
151
|
|
|
152
|
-
export {
|
|
152
|
+
export { name13, Input13, Output9, toModelContent5, Plugin36, exports_grep };
|