@opencode/core 0.0.0-dev-1216 → 0.0.0-dev-1220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +86 -86
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +9 -9
- package/dist/artifact.js +258 -259
- package/dist/bus.js +80 -80
- package/dist/chunks/{model-retry-034tev2y.js → location-service-map-034tev2y.js} +2 -2
- package/dist/chunks/{model-retry-bb3pv0r8.js → location-service-map-035wadpx.js} +7 -7
- package/dist/chunks/{model-retry-4rx53fa9.js → location-service-map-04b11r13.js} +54 -54
- package/dist/chunks/{model-retry-3j862yd2.js → location-service-map-08v7z8bj.js} +4 -4
- package/dist/chunks/{model-retry-9wc9780e.js → location-service-map-0czm8y1n.js} +7 -7
- package/dist/chunks/{model-retry-8zqzm5np.js → location-service-map-0eyg86wb.js} +12 -12
- package/dist/chunks/{model-retry-0fvxehme.js → location-service-map-0fvxehme.js} +2 -2
- package/dist/chunks/{model-retry-0ma9gw4f.js → location-service-map-0ma9gw4f.js} +2 -2
- package/dist/chunks/{model-retry-y3jkqygv.js → location-service-map-0njmt8zh.js} +39 -39
- package/dist/chunks/{model-retry-eg34w9c3.js → location-service-map-0np7wz4e.js} +4 -4
- package/dist/chunks/{model-retry-6wvdj9kp.js → location-service-map-0z8gvv1t.js} +19 -19
- package/dist/chunks/{model-retry-w6sqcs8d.js → location-service-map-15eetdmc.js} +29 -29
- package/dist/chunks/{model-retry-1aqsckx4.js → location-service-map-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-retry-1aryjtsy.js → location-service-map-1aryjtsy.js} +1 -1
- package/dist/chunks/{model-retry-1ep2p91f.js → location-service-map-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-retry-7bgajff9.js → location-service-map-1j8v57a6.js} +91 -94
- package/dist/chunks/{model-retry-fm88cqwd.js → location-service-map-1j92jnza.js} +19 -19
- package/dist/chunks/{model-retry-h7mck9ey.js → location-service-map-1rb6r5aa.js} +11 -11
- package/dist/chunks/{model-retry-cerajcym.js → location-service-map-1svrgee7.js} +4 -4
- package/dist/chunks/{model-retry-c6fbha32.js → location-service-map-1wmegvp4.js} +14 -14
- package/dist/chunks/{model-retry-1x2knyw4.js → location-service-map-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-vb8zbt9n.js → location-service-map-1ymvpjxg.js} +7 -7
- package/dist/chunks/{model-retry-5zrxpy3q.js → location-service-map-1yq9hg58.js} +5 -5
- package/dist/chunks/{model-retry-ejazfhce.js → location-service-map-26qqgt6g.js} +20 -20
- package/dist/chunks/{model-retry-kyc0r0ht.js → location-service-map-26z536aq.js} +7 -7
- package/dist/chunks/{model-retry-ke6ptzrg.js → location-service-map-28b4bne6.js} +6 -6
- package/dist/chunks/{model-retry-b9902ptq.js → location-service-map-2d9nbxqm.js} +3 -3
- package/dist/chunks/{model-retry-2fc7eemy.js → location-service-map-2fc7eemy.js} +1 -1
- package/dist/chunks/{model-retry-evy3hmsj.js → location-service-map-2j0c0bkd.js} +10 -10
- package/dist/chunks/{model-retry-m998j73k.js → location-service-map-2j8622j5.js} +15 -15
- package/dist/chunks/{model-retry-2prt43t7.js → location-service-map-2prt43t7.js} +1 -1
- package/dist/chunks/{model-retry-ggx84v7x.js → location-service-map-2s9mae96.js} +6 -6
- package/dist/chunks/{model-retry-9907wfrv.js → location-service-map-2y8q1569.js} +9 -9
- package/dist/chunks/{model-retry-pnwsrq7c.js → location-service-map-31avdb49.js} +8 -8
- package/dist/chunks/{model-retry-brz3f9n9.js → location-service-map-34h2w1vr.js} +18 -18
- package/dist/chunks/{model-retry-0a8xczw5.js → location-service-map-35bxypg0.js} +21 -21
- package/dist/chunks/{model-retry-e8xb975w.js → location-service-map-3ex1ss0s.js} +5 -5
- package/dist/chunks/{model-retry-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-2jk2eaf8.js → location-service-map-3jsxda5g.js} +8 -8
- package/dist/chunks/{model-retry-3nnrz6f6.js → location-service-map-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-retry-3qevzq3v.js → location-service-map-3qevzq3v.js} +4 -4
- package/dist/chunks/{model-retry-4tmv59f3.js → location-service-map-3r0557xv.js} +22 -22
- package/dist/chunks/{model-retry-v5w4jpez.js → location-service-map-3rdts4z3.js} +6 -6
- package/dist/chunks/{model-retry-sh9dx4s1.js → location-service-map-40y6dtc2.js} +4 -4
- package/dist/chunks/{model-retry-40za9wsf.js → location-service-map-40za9wsf.js} +2 -2
- package/dist/chunks/{model-retry-g8n6nxn7.js → location-service-map-43wnwdt1.js} +33 -33
- package/dist/chunks/{model-retry-w03ds3y6.js → location-service-map-46h6vd96.js} +8 -8
- package/dist/chunks/{model-retry-jfvyzykx.js → location-service-map-48pqttyc.js} +16 -16
- package/dist/chunks/{model-retry-4dx1dgte.js → location-service-map-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-retry-4f25tdd0.js → location-service-map-4f25tdd0.js} +1 -1
- package/dist/chunks/{model-retry-cx8yve48.js → location-service-map-4jrz2103.js} +25 -25
- package/dist/chunks/{model-retry-baefqw34.js → location-service-map-4k5g9167.js} +1 -1
- package/dist/chunks/{model-retry-4pyp9zr9.js → location-service-map-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-retry-bhrptrfq.js → location-service-map-4r9t3qge.js} +27 -27
- package/dist/chunks/{model-retry-4v008n1t.js → location-service-map-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-4vzr2b15.js → location-service-map-4vzr2b15.js} +3 -3
- package/dist/chunks/{model-retry-jx75pjbb.js → location-service-map-4wpen61a.js} +21 -21
- package/dist/chunks/{model-retry-zkybrta7.js → location-service-map-53c7sqv0.js} +6 -6
- package/dist/chunks/{model-retry-b8gjcvbw.js → location-service-map-55khavy8.js} +2 -2
- package/dist/chunks/{model-retry-p9jvgf3w.js → location-service-map-58wf94jx.js} +6 -6
- package/dist/chunks/{model-retry-mesdejg4.js → location-service-map-595th08f.js} +26 -26
- package/dist/chunks/{model-retry-rpqdece5.js → location-service-map-5gg1twsx.js} +4 -4
- package/dist/chunks/{model-retry-5xadkbnd.js → location-service-map-5hzkr2ah.js} +16 -16
- package/dist/chunks/{model-retry-fkqnmv7m.js → location-service-map-5m3xrn1j.js} +9 -9
- package/dist/chunks/{model-retry-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-0gx6fzah.js → location-service-map-5sans6bz.js} +10 -10
- package/dist/chunks/{model-retry-zr3s1x67.js → location-service-map-5tf8xt83.js} +38 -38
- package/dist/chunks/{model-retry-30swr9rt.js → location-service-map-5ve5n6vy.js} +19 -19
- package/dist/chunks/{model-retry-3gjensde.js → location-service-map-5w4prsbk.js} +14 -14
- package/dist/chunks/{model-retry-gbm37efj.js → location-service-map-682r9fgy.js} +10 -10
- package/dist/chunks/{model-retry-4wxtepaa.js → location-service-map-6c2edk9s.js} +5 -5
- package/dist/chunks/{model-retry-ybv2sjse.js → location-service-map-6ez86e1h.js} +20 -20
- package/dist/chunks/{model-retry-d28v9scs.js → location-service-map-6h8vcvjm.js} +9 -9
- package/dist/chunks/{model-retry-s70c1f4z.js → location-service-map-6njqpc4h.js} +12 -12
- package/dist/chunks/{model-retry-kpjr6knp.js → location-service-map-6sm4rdnh.js} +9 -9
- package/dist/chunks/location-service-map-73rcrfx8.js +587 -0
- package/dist/chunks/{model-retry-30qkek6h.js → location-service-map-756txk4v.js} +17 -17
- package/dist/chunks/{model-retry-67zhfnr5.js → location-service-map-78p2h4ex.js} +5 -5
- package/dist/chunks/{model-retry-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-jn02p7w8.js → location-service-map-7hvbm4vg.js} +30 -30
- package/dist/chunks/{model-retry-0ddtt1rb.js → location-service-map-7npyf6h4.js} +19 -19
- package/dist/chunks/{model-retry-96j1qp1j.js → location-service-map-7rkp71zx.js} +36 -36
- package/dist/chunks/{model-retry-7w2ypzdf.js → location-service-map-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-7weczvnd.js → location-service-map-7weczvnd.js} +1 -1
- package/dist/chunks/{model-retry-w5v5zxbk.js → location-service-map-7y2v4hfe.js} +8 -8
- package/dist/chunks/location-service-map-7yv5xa0k.js +18 -0
- package/dist/chunks/{model-retry-80mg3ag8.js → location-service-map-80mg3ag8.js} +3 -3
- package/dist/chunks/{model-retry-80pdk984.js → location-service-map-80pdk984.js} +1 -1
- package/dist/chunks/{model-retry-1k2wffy4.js → location-service-map-81y1mrna.js} +11 -11
- package/dist/chunks/{model-retry-85jq8dht.js → location-service-map-85jq8dht.js} +1 -1
- package/dist/chunks/{model-retry-qv7g05k4.js → location-service-map-86sgqceh.js} +5 -5
- package/dist/chunks/{model-retry-vzep8vzj.js → location-service-map-87gmjfrb.js} +12 -12
- package/dist/chunks/{model-retry-ggq1y9n4.js → location-service-map-88pq2e61.js} +17 -17
- package/dist/chunks/{model-retry-8b3vzgkx.js → location-service-map-8b3vzgkx.js} +1 -1
- package/dist/chunks/{model-retry-pr9etnbc.js → location-service-map-8f92b62n.js} +23 -23
- package/dist/chunks/{model-retry-j6vesw1n.js → location-service-map-8fbd74bt.js} +11 -11
- package/dist/chunks/{model-retry-8kjyvwy5.js → location-service-map-8kjyvwy5.js} +1 -1
- package/dist/chunks/{model-retry-hq1yfezb.js → location-service-map-8qcty0p0.js} +10 -10
- package/dist/chunks/{model-retry-963hk181.js → location-service-map-8rh7wfkh.js} +9 -9
- package/dist/chunks/{model-retry-8sxe6kv8.js → location-service-map-8sxe6kv8.js} +2 -2
- package/dist/chunks/{model-retry-90bxm3w0.js → location-service-map-8vehvdj9.js} +16 -16
- package/dist/chunks/{model-retry-y2wfh8nz.js → location-service-map-8vyvqb1j.js} +10 -10
- package/dist/chunks/{model-retry-8wtp7s3z.js → location-service-map-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-7mxcsx9x.js → location-service-map-8ytffmf3.js} +13 -13
- package/dist/chunks/{model-retry-8zv0xmg5.js → location-service-map-8zv0xmg5.js} +1 -1
- package/dist/chunks/{model-retry-90ct6wq4.js → location-service-map-90ct6wq4.js} +1 -1
- package/dist/chunks/{model-retry-d5z41q63.js → location-service-map-93sjg7bj.js} +1 -1
- package/dist/chunks/{model-retry-56zc6607.js → location-service-map-9f01b31z.js} +12 -12
- package/dist/chunks/{model-retry-7zxbyqhz.js → location-service-map-9fy2xype.js} +17 -17
- package/dist/chunks/{model-retry-5g9v6hdw.js → location-service-map-9ry2hy7r.js} +18 -18
- package/dist/chunks/{model-retry-ebqkfy2r.js → location-service-map-a5qrcs7y.js} +6 -6
- package/dist/chunks/{model-retry-k08th43v.js → location-service-map-a6ahad7w.js} +10 -10
- package/dist/chunks/{model-retry-qpqdpqrv.js → location-service-map-ae45krb0.js} +11 -11
- package/dist/chunks/{model-retry-f761xza1.js → location-service-map-am7ngvf1.js} +40 -40
- package/dist/chunks/{model-retry-qdc1w9ks.js → location-service-map-amkza0xb.js} +24 -24
- package/dist/chunks/{model-retry-xd5qa272.js → location-service-map-avhm30cb.js} +45 -58
- package/dist/chunks/{model-retry-ayjs7tqn.js → location-service-map-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-retry-n320gsn2.js → location-service-map-azqdag7d.js} +4 -4
- package/dist/chunks/{model-retry-j1aj7ka8.js → location-service-map-b9xk4a2d.js} +19 -19
- package/dist/chunks/{model-retry-ge0z7z6r.js → location-service-map-b9yhhwa8.js} +20 -20
- package/dist/chunks/{model-retry-r61v17gv.js → location-service-map-bjdfaaqt.js} +49 -49
- package/dist/chunks/{model-retry-yybgvvmq.js → location-service-map-brv6mkyx.js} +4 -4
- package/dist/chunks/{model-retry-dc3sk665.js → location-service-map-ccr7e384.js} +59 -59
- package/dist/chunks/{model-retry-a1832zrw.js → location-service-map-ckwsx23f.js} +40 -40
- package/dist/chunks/{model-retry-ye051wpe.js → location-service-map-crhr9065.js} +5 -5
- package/dist/chunks/{model-retry-a52bkq65.js → location-service-map-cvjm9kyy.js} +78 -78
- package/dist/chunks/{model-retry-cwrgdav8.js → location-service-map-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-retry-nn2nd58t.js → location-service-map-cxab28sr.js} +5 -5
- package/dist/chunks/{model-retry-31c9mc6y.js → location-service-map-cysnk3h2.js} +20 -20
- package/dist/chunks/{model-retry-6h8nkgjb.js → location-service-map-cz0wf6jj.js} +18 -18
- package/dist/chunks/{model-retry-cj2zr1px.js → location-service-map-d01nznqf.js} +7 -7
- package/dist/chunks/{model-retry-d4v9tmah.js → location-service-map-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-retry-q8hw2skb.js → location-service-map-dd3s6rjc.js} +9 -9
- package/dist/chunks/{model-retry-hy8c1z76.js → location-service-map-ddvn7d3w.js} +8 -8
- package/dist/chunks/{model-retry-s5g14t6y.js → location-service-map-dnfbfcty.js} +3 -3
- package/dist/chunks/{model-retry-dt77769w.js → location-service-map-dt77769w.js} +1 -1
- package/dist/chunks/{model-retry-exwhc5hz.js → location-service-map-e174pryb.js} +8 -8
- package/dist/chunks/{model-retry-zmmx3t8v.js → location-service-map-e4ecj54z.js} +48 -48
- package/dist/chunks/{model-retry-a1qwck5h.js → location-service-map-eam2557n.js} +8 -8
- package/dist/chunks/{model-retry-w71w1vyw.js → location-service-map-eb8c6fze.js} +47 -47
- package/dist/chunks/{model-retry-eqw4pqj1.js → location-service-map-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-retry-h0nvnzve.js → location-service-map-erj42gt4.js} +13 -13
- package/dist/chunks/{model-retry-qbqyqs78.js → location-service-map-ertr84a8.js} +13 -13
- package/dist/chunks/{model-retry-fcskamac.js → location-service-map-eww617aq.js} +11 -11
- package/dist/chunks/{model-retry-48vkv2zp.js → location-service-map-ext3f0g2.js} +30 -30
- package/dist/chunks/{model-retry-8vb53tx0.js → location-service-map-f37kewrv.js} +37 -37
- package/dist/chunks/{model-retry-pv9k69qc.js → location-service-map-f6fg6vvn.js} +84 -84
- package/dist/chunks/{model-retry-rhg4046s.js → location-service-map-f6hn2jkf.js} +12 -12
- package/dist/chunks/{model-retry-n4chev15.js → location-service-map-f985r6kr.js} +27 -27
- package/dist/chunks/{model-retry-ywb0hxgs.js → location-service-map-f9r5vc5m.js} +28 -28
- package/dist/chunks/{model-retry-pkbe14me.js → location-service-map-fbtyzv9j.js} +34 -34
- package/dist/chunks/{model-retry-t84ct0bh.js → location-service-map-fd4wsrfy.js} +6 -6
- package/dist/chunks/{model-retry-fg9p65nk.js → location-service-map-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-retry-k34er33s.js → location-service-map-fhywfw5q.js} +18 -18
- package/dist/chunks/{model-retry-n3na61j9.js → location-service-map-fmjsjtqm.js} +4 -4
- package/dist/chunks/{model-retry-aemyyd40.js → location-service-map-fv8ygwk0.js} +5 -5
- package/dist/chunks/{model-retry-dv57xqt1.js → location-service-map-fvpd8xf4.js} +5 -5
- package/dist/chunks/{model-retry-1yped5qa.js → location-service-map-fznmdakp.js} +4 -4
- package/dist/chunks/{model-retry-ea4xbpys.js → location-service-map-g444w85h.js} +2 -2
- package/dist/chunks/{model-retry-tp1jb13k.js → location-service-map-g4txs7zc.js} +7 -7
- package/dist/chunks/{model-retry-xg7gtsp9.js → location-service-map-g6axqj60.js} +6 -6
- package/dist/chunks/{model-retry-yydqqga9.js → location-service-map-g9ndtp1p.js} +4 -4
- package/dist/chunks/{model-retry-380f7ky3.js → location-service-map-gbaqg25w.js} +10 -10
- package/dist/chunks/{model-retry-gbjdnr5j.js → location-service-map-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-retry-m8prejn4.js → location-service-map-gbt004k4.js} +10 -10
- package/dist/chunks/{model-retry-5cgn0v09.js → location-service-map-geem5nsj.js} +14 -14
- package/dist/chunks/{model-retry-881fy3d8.js → location-service-map-gfrnab9p.js} +21 -21
- package/dist/chunks/{model-retry-ghrv1g9c.js → location-service-map-ghrv1g9c.js} +1 -1
- package/dist/chunks/{model-retry-mzj1qzjq.js → location-service-map-gjnfhh6c.js} +28 -28
- package/dist/chunks/location-service-map-gkb3m8fg.js +16 -0
- package/dist/chunks/{model-retry-gmemj5zs.js → location-service-map-gmemj5zs.js} +1 -1
- package/dist/chunks/{model-retry-nw314s9d.js → location-service-map-gnkw4dwe.js} +2 -2
- package/dist/chunks/{model-retry-gxs71cxp.js → location-service-map-gxs71cxp.js} +1 -1
- package/dist/chunks/{model-retry-n0q6v9g9.js → location-service-map-gyrf1n0c.js} +4 -4
- package/dist/chunks/{model-retry-cb67h20a.js → location-service-map-gz69975a.js} +5 -5
- package/dist/chunks/{model-retry-evbf0h8n.js → location-service-map-h002b5k3.js} +4 -4
- package/dist/chunks/{model-retry-48sb3xry.js → location-service-map-h4yybdgt.js} +9 -9
- package/dist/chunks/{model-retry-phy3xrma.js → location-service-map-h55fmb1a.js} +11 -11
- package/dist/chunks/{model-retry-1abx79xn.js → location-service-map-h6wjw172.js} +6 -6
- package/dist/chunks/{model-retry-aq5rdsap.js → location-service-map-h76s4kjs.js} +39 -39
- package/dist/chunks/{model-retry-hgzwgvze.js → location-service-map-hgzwgvze.js} +2 -2
- package/dist/chunks/{model-retry-zdty93sz.js → location-service-map-hjrsm6gr.js} +4 -4
- package/dist/chunks/{model-retry-nq3gw3nz.js → location-service-map-hmnadmg1.js} +32 -32
- package/dist/chunks/{model-retry-pm5952we.js → location-service-map-hmxtna5r.js} +63 -63
- package/dist/chunks/location-service-map-hqbjgxtf.js +26 -0
- package/dist/chunks/{model-retry-jht64jd1.js → location-service-map-j376ae4e.js} +7 -7
- package/dist/chunks/{model-retry-20px12h8.js → location-service-map-j9ne08cm.js} +6 -6
- package/dist/chunks/{model-retry-wt8qw9kc.js → location-service-map-jahcymnp.js} +15 -15
- package/dist/chunks/{model-retry-px7qpgcn.js → location-service-map-jbca85dn.js} +4 -4
- package/dist/chunks/{model-retry-c8xv9zc0.js → location-service-map-jeww68x2.js} +9 -9
- package/dist/chunks/{model-retry-a4fgwpxr.js → location-service-map-jgg5a07m.js} +23 -23
- package/dist/chunks/{model-retry-j3n8xjy6.js → location-service-map-jgrd23gk.js} +7 -7
- package/dist/chunks/{model-retry-09rceteh.js → location-service-map-jhw46fwd.js} +7 -7
- package/dist/chunks/{model-retry-bhfd478d.js → location-service-map-jkdcm5hg.js} +4 -4
- package/dist/chunks/{model-retry-jm70asfg.js → location-service-map-jm70asfg.js} +1 -1
- package/dist/chunks/{model-retry-4sp0pwej.js → location-service-map-jmv1ywcg.js} +23 -23
- package/dist/chunks/{model-retry-0dy226kc.js → location-service-map-jqk89bd7.js} +51 -51
- package/dist/chunks/{model-retry-w4xw9ac5.js → location-service-map-js6668m3.js} +4 -4
- package/dist/chunks/{model-retry-5zzzgtm0.js → location-service-map-jvqb0g9x.js} +11 -11
- package/dist/chunks/{model-retry-twhtcdx9.js → location-service-map-jxd6f16v.js} +4 -4
- package/dist/chunks/{model-retry-3r1ydfdn.js → location-service-map-jxsy4av0.js} +14 -14
- package/dist/chunks/{model-retry-gyfe4a17.js → location-service-map-k3mzzvn2.js} +28 -28
- package/dist/chunks/{model-retry-qfz6bxfd.js → location-service-map-k46dd5bg.js} +4 -4
- package/dist/chunks/location-service-map-k908hcrc.js +273 -0
- package/dist/chunks/{model-retry-3ryz99p0.js → location-service-map-k98yejja.js} +5 -5
- package/dist/chunks/{model-retry-kxamksb3.js → location-service-map-keja7rv1.js} +9 -9
- package/dist/chunks/{model-retry-f7bpy73v.js → location-service-map-kkg6023m.js} +8 -8
- package/dist/chunks/{model-retry-pzj8t5rk.js → location-service-map-kpebncjk.js} +11 -11
- package/dist/chunks/{model-retry-aq6k3cf3.js → location-service-map-krvaf23f.js} +17 -17
- package/dist/chunks/{model-retry-kt3bjfbg.js → location-service-map-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-retry-kzczzf4v.js → location-service-map-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-retry-azmzce5q.js → location-service-map-m0mdkbcd.js} +11 -11
- package/dist/chunks/{model-retry-m1714858.js → location-service-map-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-agje4kmn.js → location-service-map-m3dfmqn8.js} +7 -7
- package/dist/chunks/{model-retry-m4p4r8nc.js → location-service-map-m4p4r8nc.js} +1 -1
- package/dist/chunks/{model-retry-tck9nc1r.js → location-service-map-m69zetst.js} +26 -26
- package/dist/chunks/{model-retry-wsy64217.js → location-service-map-m770pykc.js} +17 -17
- package/dist/chunks/{model-retry-m90tx7mw.js → location-service-map-m90tx7mw.js} +1 -1
- package/dist/chunks/{model-retry-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-2cnxsjyc.js → location-service-map-ma5b68np.js} +28 -28
- package/dist/chunks/{model-retry-mb7mbhnz.js → location-service-map-mb7mbhnz.js} +3 -3
- package/dist/chunks/{model-retry-e3qgsftg.js → location-service-map-me99kem2.js} +5 -5
- package/dist/chunks/{model-retry-0zvwhvr5.js → location-service-map-mecckpwv.js} +8 -8
- package/dist/chunks/{model-retry-v32atjwq.js → location-service-map-mgmgpmkj.js} +30 -30
- package/dist/chunks/{model-retry-a0pwz2ja.js → location-service-map-mje8hwz2.js} +14 -14
- package/dist/chunks/{model-retry-pqr3184k.js → location-service-map-ne36spdb.js} +14 -14
- package/dist/chunks/{model-retry-8cja266h.js → location-service-map-nhnsmwa2.js} +19 -19
- package/dist/chunks/{model-retry-adg8bb2p.js → location-service-map-nmvs1w2h.js} +21 -21
- package/dist/chunks/{model-retry-d3q9v104.js → location-service-map-nnbdc6m0.js} +1 -1
- package/dist/chunks/{model-retry-4dk3ggh9.js → location-service-map-nxw1zf8h.js} +4 -4
- package/dist/chunks/{model-retry-dvjpmffy.js → location-service-map-p3wjgdtj.js} +14 -14
- package/dist/chunks/{model-retry-srb5ekkn.js → location-service-map-p4x8wqyz.js} +18 -18
- package/dist/chunks/{model-retry-pvjmct39.js → location-service-map-p7zpdpm1.js} +6 -6
- package/dist/chunks/{model-retry-gzet49gd.js → location-service-map-p9bnptzw.js} +28 -28
- package/dist/chunks/{model-retry-ec77n7yf.js → location-service-map-pa86bx7k.js} +17 -17
- package/dist/chunks/{model-retry-gh5gjszb.js → location-service-map-pb695e6y.js} +40 -40
- package/dist/chunks/{model-retry-qeg6dv9a.js → location-service-map-pk7zej4a.js} +15 -15
- package/dist/chunks/{model-retry-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-329aeaw0.js → location-service-map-pm1efkmx.js} +57 -57
- package/dist/chunks/{model-retry-rja7p7xq.js → location-service-map-pnk364rs.js} +3 -3
- package/dist/chunks/{model-retry-g1x3338p.js → location-service-map-psb1wzhv.js} +3 -3
- package/dist/chunks/{model-retry-42je62vc.js → location-service-map-psrhxzkz.js} +3 -3
- package/dist/chunks/{model-retry-6ab8246z.js → location-service-map-ptr45ne2.js} +7 -7
- package/dist/chunks/{model-retry-gny4fw8g.js → location-service-map-pzapmsw9.js} +17 -17
- package/dist/chunks/{model-retry-cn285h91.js → location-service-map-q11srg2a.js} +8 -8
- package/dist/chunks/{model-retry-93sddvhm.js → location-service-map-q2qnwv2q.js} +14 -14
- package/dist/chunks/{model-retry-wha2430v.js → location-service-map-q2r16wj1.js} +3 -3
- package/dist/chunks/{model-retry-tv9fhf77.js → location-service-map-q5nhhrfg.js} +3 -3
- package/dist/chunks/{model-retry-fjr1tg8h.js → location-service-map-q904er84.js} +33 -33
- package/dist/chunks/{model-retry-93fz3ark.js → location-service-map-q9btxw33.js} +11 -11
- package/dist/chunks/{model-retry-630f57dr.js → location-service-map-qh7cn1xx.js} +15 -15
- package/dist/chunks/{model-retry-9wp8fvve.js → location-service-map-qp2996hh.js} +5 -5
- package/dist/chunks/{model-retry-qp7r0hxv.js → location-service-map-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-retry-rv31kkjr.js → location-service-map-r7yf6cnn.js} +6 -6
- package/dist/chunks/{model-retry-tenwd8mx.js → location-service-map-r8awm2rp.js} +15 -15
- package/dist/chunks/{model-retry-w89hjt3b.js → location-service-map-r8brma3d.js} +15 -15
- package/dist/chunks/{model-retry-a3dc5jdz.js → location-service-map-razzrrby.js} +5 -5
- package/dist/chunks/{model-retry-rb9dy4dg.js → location-service-map-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-0ext5n9t.js → location-service-map-rfdg5dmq.js} +11 -11
- package/dist/chunks/{model-retry-rgc9cx3e.js → location-service-map-rgc9cx3e.js} +2 -2
- package/dist/chunks/{model-retry-2cc0zt21.js → location-service-map-rn0w7wg1.js} +21 -21
- package/dist/chunks/{model-retry-x19yfq7e.js → location-service-map-rw8egndv.js} +31 -31
- package/dist/chunks/{model-retry-ad21tgm2.js → location-service-map-s1ba0vj0.js} +4 -4
- package/dist/chunks/{model-retry-k28r1t9f.js → location-service-map-s2g09ryt.js} +26 -29
- package/dist/chunks/{model-retry-xxfjb0zd.js → location-service-map-s345ggan.js} +13 -13
- package/dist/chunks/{model-retry-s47rahr7.js → location-service-map-s47rahr7.js} +1 -1
- package/dist/chunks/{model-retry-vfy39f1m.js → location-service-map-s4csrqb1.js} +25 -25
- package/dist/chunks/{model-retry-8xvx9gbc.js → location-service-map-s615zsdr.js} +15 -15
- package/dist/chunks/{model-retry-fng6r8ys.js → location-service-map-s8hsdmb3.js} +24 -24
- package/dist/chunks/{model-retry-sp5gfv0g.js → location-service-map-sb1d3bsy.js} +27 -27
- package/dist/chunks/{model-retry-sbya78hr.js → location-service-map-sbya78hr.js} +1 -1
- package/dist/chunks/{model-retry-hjs6kb92.js → location-service-map-sfnbsatt.js} +44 -44
- package/dist/chunks/{model-retry-rmfzdfxf.js → location-service-map-sm910czp.js} +16 -16
- package/dist/chunks/{model-retry-35xwmx6k.js → location-service-map-sp43w917.js} +12 -12
- package/dist/chunks/{model-retry-svcy3p9a.js → location-service-map-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-retry-4jyt793m.js → location-service-map-swghd0xk.js} +2 -2
- package/dist/chunks/{model-retry-qacp188h.js → location-service-map-swmqj1es.js} +8 -8
- package/dist/chunks/{model-retry-y9dg44tb.js → location-service-map-szdxz5vf.js} +20 -20
- package/dist/chunks/{model-retry-47q1swan.js → location-service-map-t03vbevb.js} +22 -22
- package/dist/chunks/{model-retry-9rqfe4ad.js → location-service-map-t48jrnqq.js} +3 -3
- package/dist/chunks/{model-retry-8rt25ezk.js → location-service-map-t62dywgn.js} +6 -6
- package/dist/chunks/{model-retry-a0vpc40p.js → location-service-map-tbgsf036.js} +169 -169
- package/dist/chunks/{model-retry-tbpn7jtk.js → location-service-map-tbpn7jtk.js} +1 -1
- package/dist/chunks/{model-retry-tczq8hjw.js → location-service-map-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-e6h0js2y.js → location-service-map-tmxr2s7a.js} +8 -8
- package/dist/chunks/{model-retry-mrjhcth0.js → location-service-map-tqq8e0e3.js} +2 -2
- package/dist/chunks/{model-retry-denh2jb2.js → location-service-map-ts5j28rr.js} +6 -6
- package/dist/chunks/{model-retry-tvtps2q9.js → location-service-map-tvtps2q9.js} +1 -1
- package/dist/chunks/{model-retry-twssxy5n.js → location-service-map-twssxy5n.js} +2 -2
- package/dist/chunks/{model-retry-9q8g9sv8.js → location-service-map-v0t96s7a.js} +4 -4
- package/dist/chunks/{model-retry-v2r1d0zg.js → location-service-map-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-retry-2e32zktp.js → location-service-map-va1p1kqg.js} +15 -15
- package/dist/chunks/{model-retry-5x3grz7y.js → location-service-map-vas4244f.js} +12 -12
- package/dist/chunks/{model-retry-432cy2ab.js → location-service-map-vcdn6g4d.js} +17 -17
- package/dist/chunks/{model-retry-vjf35v1f.js → location-service-map-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-retry-vjhrddsw.js → location-service-map-vjhrddsw.js} +2 -2
- package/dist/chunks/{model-retry-gdq3b2dw.js → location-service-map-vnn2f0te.js} +33 -33
- package/dist/chunks/{model-retry-sd1es34h.js → location-service-map-vq33ceav.js} +8 -8
- package/dist/chunks/{model-retry-weexxn37.js → location-service-map-vvs86ggc.js} +2 -2
- package/dist/chunks/{model-retry-g6fhsb58.js → location-service-map-vypd0943.js} +8 -8
- package/dist/chunks/{model-retry-99z197m3.js → location-service-map-w26zvd0j.js} +3 -3
- package/dist/chunks/{model-retry-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-jns4gqy7.js → location-service-map-w9w8mt4n.js} +4 -4
- package/dist/chunks/{model-retry-wakvkjy4.js → location-service-map-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-ff9rbk43.js → location-service-map-wb2pmb95.js} +6 -9
- package/dist/chunks/{model-retry-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-wegkxhrn.js → location-service-map-wegkxhrn.js} +2 -2
- package/dist/chunks/{model-retry-g5cw3qgb.js → location-service-map-wf30e74t.js} +9 -9
- package/dist/chunks/{model-retry-e2fbpykw.js → location-service-map-whm5zz1t.js} +24 -24
- package/dist/chunks/{model-retry-h99kpe06.js → location-service-map-wt5scvyx.js} +20 -20
- package/dist/chunks/{model-retry-50380zjw.js → location-service-map-wvc2mr1n.js} +11 -11
- package/dist/chunks/{model-retry-k2w93ba9.js → location-service-map-wyx40t4c.js} +30 -30
- package/dist/chunks/{model-retry-3syj8115.js → location-service-map-x4mywqhm.js} +23 -23
- package/dist/chunks/{model-retry-xacrkbdt.js → location-service-map-xacrkbdt.js} +1 -1
- package/dist/chunks/{model-retry-m91bny15.js → location-service-map-xb8jhjsn.js} +15 -15
- package/dist/chunks/{model-retry-s9xvbj60.js → location-service-map-xbkzc6k0.js} +6 -6
- package/dist/chunks/{model-retry-bstexjd6.js → location-service-map-xd9cc171.js} +5 -5
- package/dist/chunks/{model-retry-1b2cxmga.js → location-service-map-xhkdczkv.js} +11 -11
- package/dist/chunks/{model-retry-3adw4bt5.js → location-service-map-xjbsd7zy.js} +9 -9
- package/dist/chunks/{model-retry-xjr6c8m4.js → location-service-map-xjr6c8m4.js} +1 -1
- package/dist/chunks/{model-retry-edapz20f.js → location-service-map-xn1x61je.js} +3 -3
- package/dist/chunks/{model-retry-m9a9fe6f.js → location-service-map-xrx499nq.js} +8 -8
- package/dist/chunks/{model-retry-02fhhstm.js → location-service-map-xwc195j0.js} +5 -5
- package/dist/chunks/{model-retry-2fp0jt6s.js → location-service-map-y7z3rpdg.js} +30 -30
- package/dist/chunks/{model-retry-caeva7y1.js → location-service-map-y8gddqc4.js} +14 -14
- package/dist/chunks/{model-retry-yb20nhc3.js → location-service-map-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-vrkt2gzc.js → location-service-map-yb82w2a1.js} +25 -25
- package/dist/chunks/{model-retry-jcz74541.js → location-service-map-ybws1qgk.js} +6 -6
- package/dist/chunks/{model-retry-pwjd9d5z.js → location-service-map-yhr036sq.js} +22 -22
- package/dist/chunks/{model-retry-tve6atr2.js → location-service-map-ymkxf774.js} +26 -26
- package/dist/chunks/{model-retry-yr705xyq.js → location-service-map-yr705xyq.js} +1 -1
- package/dist/chunks/{model-retry-x2vkwk6x.js → location-service-map-ytjqcjc1.js} +1 -1
- package/dist/chunks/{model-retry-yvtc2x31.js → location-service-map-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-retry-z0wbgq7s.js → location-service-map-z0wbgq7s.js} +1 -1
- package/dist/chunks/location-service-map-z4nh6wq0.js +334 -0
- package/dist/chunks/{model-retry-cvht37xw.js → location-service-map-za9b4crp.js} +21 -21
- package/dist/chunks/{model-retry-jzyf28t6.js → location-service-map-zamccnb2.js} +24 -24
- package/dist/chunks/{model-retry-ze75qvmd.js → location-service-map-ze75qvmd.js} +3 -3
- package/dist/chunks/{model-retry-2v3capeq.js → location-service-map-zggd4859.js} +11 -11
- package/dist/chunks/{model-retry-cc6s66e5.js → location-service-map-zhh8k8xm.js} +13 -13
- package/dist/chunks/{model-retry-esn0ce8j.js → location-service-map-zkpv5a2h.js} +12 -12
- package/dist/chunks/{model-retry-7cf5w11a.js → location-service-map-zm807etq.js} +5 -5
- package/dist/chunks/{model-retry-xxf442y8.js → location-service-map-zqyjms4e.js} +31 -31
- package/dist/chunks/{model-retry-6e4ngh43.js → location-service-map-zr1wmh0k.js} +20 -20
- package/dist/chunks/{model-retry-g1m8att5.js → location-service-map-zzaqb64w.js} +26 -26
- 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 +9 -9
- package/dist/codemode/tool.js +156 -156
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +245 -246
- 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 +131 -131
- package/dist/config/plugin/mcp.js +142 -142
- 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 +131 -131
- package/dist/config/plugin/skill-file.js +150 -150
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +155 -155
- 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 +130 -130
- 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 +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +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 +105 -105
- package/dist/effect/app-node-builder.js +448 -449
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +108 -108
- 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 +256 -257
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +132 -132
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- 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 +439 -440
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- 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 +184 -185
- package/dist/location-lifecycle.js +154 -154
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +436 -437
- package/dist/location.js +102 -102
- 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 +106 -94
- 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 +113 -113
- package/dist/model-resolver.js +113 -113
- 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 +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +151 -151
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +144 -144
- 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 +249 -250
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +416 -417
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- 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 +118 -118
- 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 +149 -149
- 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 +1 -1
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- package/dist/plugin/provider/claude-agent/session.js +111 -111
- 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 +142 -142
- 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 +151 -151
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +428 -429
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +260 -261
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +109 -109
- 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 +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +254 -255
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +268 -269
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +176 -176
- 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 +268 -280
- package/dist/session/execution/subagent-report.js +144 -145
- package/dist/session/execution.js +173 -174
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +145 -145
- package/dist/session/message-updater.js +2 -2
- 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 +175 -176
- package/dist/session/projector.js +147 -148
- 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 +261 -262
- 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 +5 -5
- package/dist/session/runner/step.js +167 -167
- package/dist/session/runner/to-llm-message.js +141 -141
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +193 -194
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +151 -151
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +144 -144
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +172 -173
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +253 -254
- package/dist/session/usage.js +1 -1
- package/dist/session.js +249 -250
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +155 -155
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +104 -104
- 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 +187 -187
- package/dist/tool/plugin/artifact.js +242 -243
- 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 +255 -256
- package/dist/tool/plugin/mcp-events.js +166 -166
- package/dist/tool/plugin/mcp-resource.js +168 -168
- package/dist/tool/plugin/opencode.js +167 -167
- package/dist/tool/plugin/patch.js +164 -164
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +176 -176
- package/dist/tool/plugin/schedule.js +260 -261
- package/dist/tool/plugin/shell.js +249 -250
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +251 -252
- package/dist/tool/plugin/todo.js +157 -157
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +157 -157
- 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 +164 -164
- package/dist/types/shell.d.ts +2 -2
- package/dist/types/tool/plugin/subagent.d.ts +0 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +2 -2
- 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 +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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/model-retry-0qyw66gp.js +0 -273
- package/dist/chunks/model-retry-7enabm5z.js +0 -26
- package/dist/chunks/model-retry-d77dj7jw.js +0 -18
- package/dist/chunks/model-retry-jaq18jgp.js +0 -16
- package/dist/chunks/model-retry-tn2h78aa.js +0 -40
- package/dist/chunks/model-retry-wnyqvj32.js +0 -378
- package/dist/chunks/model-retry-zgxh77gy.js +0 -587
- package/dist/session/subagent-metadata.js +0 -18
- package/dist/types/session/subagent-metadata.d.ts +0 -22
- /package/dist/chunks/{model-retry-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-1kah00gy.js → location-service-map-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4qk9sjk2.js → location-service-map-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-5w3e23ze.js → location-service-map-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-retry-6agm2x70.js → location-service-map-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-7rvsyqjv.js → location-service-map-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-beh6qq61.js → location-service-map-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cqv5kn06.js → location-service-map-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-ean2d8b5.js → location-service-map-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-fkpq3x5p.js → location-service-map-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jwr30sdr.js → location-service-map-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → location-service-map-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-nh4v3znn.js → location-service-map-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-p71gwv9c.js → location-service-map-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-syrav9an.js → location-service-map-syrav9an.js} +0 -0
- /package/dist/chunks/{model-retry-t03h4f5z.js → location-service-map-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-retry-ty7weeps.js → location-service-map-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-retry-v2dnd5dt.js → location-service-map-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-vtarvj67.js → location-service-map-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x4th4bpe.js → location-service-map-x4th4bpe.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-retry-zxpyjp51.js → location-service-map-zxpyjp51.js} +0 -0
- /package/dist/chunks/{model-retry-zz5vv3aq.js → location-service-map-zz5vv3aq.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-m90tx7mw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./location-service-map-zzaqb64w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./location-service-map-jqk89bd7.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const providers = yield*
|
|
14
|
+
const providers = yield* Service82;
|
|
15
15
|
const current = (yield* providers.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service77);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/tools/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
ToolHooks: () => exports_hooks,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make13
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make13(pending) {
|
|
12
12
|
const before = async (input) => {
|
|
13
13
|
if (input.hook_event_name === "PreToolUse")
|
|
14
14
|
pending.before(input.tool_use_id, input.tool_name);
|
|
@@ -28,4 +28,4 @@ function make12(pending) {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make13, exports_hooks };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2,
|
|
3
3
|
exists2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-svcy3p9a.js";
|
|
5
5
|
import {
|
|
6
6
|
AbsolutePath2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
8
8
|
import {
|
|
9
9
|
root2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-e4ecj54z.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service84,
|
|
13
|
+
node86
|
|
14
|
+
} from "./location-service-map-pzapmsw9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service79,
|
|
17
|
+
node80
|
|
18
|
+
} from "./location-service-map-26qqgt6g.js";
|
|
19
19
|
import {
|
|
20
20
|
invocation2,
|
|
21
21
|
Service64,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
node65
|
|
23
|
+
} from "./location-service-map-f985r6kr.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/file-access.ts
|
|
29
29
|
var exports_file_access = {};
|
|
@@ -31,8 +31,8 @@ __export(exports_file_access, {
|
|
|
31
31
|
FileAccess: () => exports_file_access,
|
|
32
32
|
Kind: () => Kind2,
|
|
33
33
|
ResolveInput: () => ResolveInput2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
node: () =>
|
|
34
|
+
Service: () => Service63,
|
|
35
|
+
node: () => node64,
|
|
36
36
|
resolvePath: () => resolvePath2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -46,17 +46,17 @@ var ResolveInput2 = Schema.Struct({
|
|
|
46
46
|
kind: Kind2.pipe(Schema.optional)
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service63 extends Context.Service()("@opencode/FileAccess") {
|
|
50
50
|
}
|
|
51
51
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
52
52
|
const normalized = FSUtil.windowsPath(input);
|
|
53
53
|
return path.resolve(directory, normalized === "~" ? home : normalized.startsWith("~/") || process.platform === "win32" && normalized.startsWith("~\\") ? path.join(home, normalized.slice(2)) : normalized);
|
|
54
54
|
};
|
|
55
55
|
var slash = (value) => value.replaceAll("\\", "/");
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const { files } = yield*
|
|
56
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
57
|
+
const { files } = yield* Service79;
|
|
58
58
|
const exists = (file) => exists2(files, file);
|
|
59
|
-
const location = yield*
|
|
59
|
+
const location = yield* Service84;
|
|
60
60
|
const permission = yield* Service64;
|
|
61
61
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
62
62
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
@@ -106,12 +106,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
106
106
|
});
|
|
107
107
|
return target;
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service63.of({ resolve, authorizeExternal, authorizeRead });
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node64 = makeLocationNode({
|
|
112
|
+
service: Service63,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node80, node86, node65]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { Kind2, ResolveInput2,
|
|
117
|
+
export { Kind2, ResolveInput2, Service63, resolvePath2, node64, exports_file_access };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-nxw1zf8h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
6
|
+
ID22,
|
|
7
|
+
Event21,
|
|
8
|
+
Service92,
|
|
9
|
+
node94
|
|
10
|
+
} from "./location-service-map-ma5b68np.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service78,
|
|
13
|
+
node79
|
|
14
|
+
} from "./location-service-map-p4x8wqyz.js";
|
|
15
15
|
import {
|
|
16
16
|
AbsolutePath2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service84,
|
|
20
|
+
node86
|
|
21
|
+
} from "./location-service-map-pzapmsw9.js";
|
|
22
22
|
import {
|
|
23
23
|
substitute2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-7w2ypzdf.js";
|
|
25
25
|
import {
|
|
26
26
|
normalize3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-service-map-p3wjgdtj.js";
|
|
28
28
|
import {
|
|
29
29
|
names4,
|
|
30
30
|
stripPreferenceMetadata2,
|
|
31
31
|
discover3
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-service-map-crhr9065.js";
|
|
33
33
|
import {
|
|
34
34
|
plan2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-service-map-1x2knyw4.js";
|
|
36
36
|
import {
|
|
37
37
|
Document3,
|
|
38
38
|
WellKnownDocument2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-service-map-xacrkbdt.js";
|
|
40
40
|
import {
|
|
41
41
|
Document2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-service-map-4dx1dgte.js";
|
|
43
43
|
import {
|
|
44
44
|
statements2,
|
|
45
45
|
decision2,
|
|
46
46
|
integrationResource2,
|
|
47
47
|
account2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-service-map-4vzr2b15.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
50
|
+
Service88,
|
|
51
|
+
Event18,
|
|
52
|
+
node90
|
|
53
|
+
} from "./location-service-map-wt5scvyx.js";
|
|
54
54
|
import {
|
|
55
55
|
__export
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
57
57
|
|
|
58
58
|
// src/config.ts
|
|
59
59
|
var exports_config = {};
|
|
60
60
|
__export(exports_config, {
|
|
61
61
|
Config: () => exports_config,
|
|
62
|
-
Options: () =>
|
|
63
|
-
Service: () =>
|
|
62
|
+
Options: () => Options7,
|
|
63
|
+
Service: () => Service77,
|
|
64
64
|
Test: () => Test2,
|
|
65
|
-
configured: () =>
|
|
65
|
+
configured: () => configured9,
|
|
66
66
|
latest: () => latest2,
|
|
67
|
-
layer: () =>
|
|
68
|
-
node: () =>
|
|
67
|
+
layer: () => layer27,
|
|
68
|
+
node: () => node78,
|
|
69
69
|
testLayer: () => testLayer3
|
|
70
70
|
});
|
|
71
71
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -81,7 +81,7 @@ import { ChildProcess } from "effect/process";
|
|
|
81
81
|
function latest2(entries, key) {
|
|
82
82
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var Options7 = Schema.Struct({
|
|
85
85
|
project: Schema.optional(Schema.Boolean),
|
|
86
86
|
global: Schema.optional(Schema.Boolean),
|
|
87
87
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -90,7 +90,7 @@ var Options5 = Schema.Struct({
|
|
|
90
90
|
content: Schema.optional(Schema.String)
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service77 extends Context.Service()("@opencode/Config") {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -116,16 +116,16 @@ var testLayer3 = (initial = [], compatibility = {
|
|
|
116
116
|
return document ? next.set(integrationID, document) : next;
|
|
117
117
|
})
|
|
118
118
|
});
|
|
119
|
-
return Context.empty().pipe(Context.add(
|
|
119
|
+
return Context.empty().pipe(Context.add(Service77, service), Context.add(Test2, service));
|
|
120
120
|
}));
|
|
121
|
-
var
|
|
121
|
+
var layer27 = (options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
122
122
|
const fs = yield* FSUtil.Service;
|
|
123
|
-
const location = yield*
|
|
124
|
-
const watcher = yield*
|
|
123
|
+
const location = yield* Service84;
|
|
124
|
+
const watcher = yield* Service78;
|
|
125
125
|
const bus = yield* Service93;
|
|
126
|
-
const credentials = yield*
|
|
126
|
+
const credentials = yield* Service92;
|
|
127
127
|
const globalService = yield* Global.Service;
|
|
128
|
-
const wellknown = yield*
|
|
128
|
+
const wellknown = yield* Service88;
|
|
129
129
|
const processes = yield* AppProcess.Service;
|
|
130
130
|
const integrations = new Map;
|
|
131
131
|
const context = yield* Effect.context();
|
|
@@ -201,7 +201,7 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
201
201
|
return yield* Effect.forEach(entries, (entry) => loadWellknownEntry(entry).pipe(Effect.map((documents) => ({ integrationID: entry.integrationID, documents }))));
|
|
202
202
|
});
|
|
203
203
|
const supplies = Effect.fnUntraced(function* (lockdown, integrationID, connection) {
|
|
204
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
204
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
|
|
205
205
|
const resource = integrationResource2(integrationID, stored ? account2(stored.value) : undefined);
|
|
206
206
|
return decision2(lockdown, "integration.use", resource) !== "deny";
|
|
207
207
|
});
|
|
@@ -299,8 +299,8 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
299
299
|
}, (effect) => reloadLock.withPermit(effect));
|
|
300
300
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
301
301
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
302
|
-
yield* bus.subscribe(
|
|
303
|
-
yield* bus.subscribe(
|
|
302
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
303
|
+
yield* bus.subscribe(Event18.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
304
304
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
305
305
|
if (!wellknown.snapshot().length)
|
|
306
306
|
return Effect.void;
|
|
@@ -328,7 +328,7 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
328
328
|
`);
|
|
329
329
|
yield* requestReload;
|
|
330
330
|
}, (effect) => updateLock.withPermit(effect));
|
|
331
|
-
return
|
|
331
|
+
return Service77.of({
|
|
332
332
|
entries: Effect.fnUntraced(function* () {
|
|
333
333
|
return configs;
|
|
334
334
|
}),
|
|
@@ -348,22 +348,22 @@ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
348
348
|
})
|
|
349
349
|
});
|
|
350
350
|
}));
|
|
351
|
-
function
|
|
351
|
+
function configured9(options) {
|
|
352
352
|
return makeLocationNode({
|
|
353
|
-
service:
|
|
354
|
-
layer:
|
|
353
|
+
service: Service77,
|
|
354
|
+
layer: layer27(options),
|
|
355
355
|
deps: [
|
|
356
|
-
|
|
356
|
+
node79,
|
|
357
357
|
node95,
|
|
358
358
|
FSUtil.node,
|
|
359
359
|
Global.node,
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
360
|
+
node86,
|
|
361
|
+
node94,
|
|
362
|
+
node90,
|
|
363
363
|
AppProcess.node
|
|
364
364
|
]
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
|
-
var
|
|
367
|
+
var node78 = configured9();
|
|
368
368
|
|
|
369
|
-
export { latest2,
|
|
369
|
+
export { latest2, Options7, Service77, Test2, testLayer3, layer27, configured9, node78, exports_config };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./location-service-map-m3dfmqn8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -434,7 +434,7 @@ function make(id, optimize, mode = "override") {
|
|
|
434
434
|
const system = event.system[0];
|
|
435
435
|
if (!system)
|
|
436
436
|
return;
|
|
437
|
-
const rendered =
|
|
437
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
438
438
|
const text = mode === "append" ? `${system.text}
|
|
439
439
|
|
|
440
440
|
${rendered}` : rendered;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-h6wjw172.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make32,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-t62dywgn.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-mb7mbhnz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info10,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
@@ -26,7 +26,7 @@ __export(exports_instruction_entry, {
|
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info10 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -64,7 +64,7 @@ class Service31 extends Context.Service()("@opencode/InstructionEntry") {
|
|
|
64
64
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
65
65
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
66
66
|
`);
|
|
67
|
-
var source = (entry) =>
|
|
67
|
+
var source = (entry) => make32({
|
|
68
68
|
key: Key3.make(`api/${entry.key}`),
|
|
69
69
|
codec: Schema.toCodecJson(Schema.Json),
|
|
70
70
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -106,6 +106,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
106
106
|
});
|
|
107
107
|
return Service31.of({ list, put, remove, load });
|
|
108
108
|
}));
|
|
109
|
-
var
|
|
109
|
+
var node35 = makeGlobalNode({ service: Service31, layer, deps: [node96] });
|
|
110
110
|
|
|
111
|
-
export { Key2,
|
|
111
|
+
export { Key2, Info10, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node35, exports_instruction_entry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
load3
|
|
3
|
+
} from "./location-service-map-j376ae4e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/fork.ts
|
|
9
9
|
var exports_fork = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_fork, {
|
|
|
12
12
|
create: () => create2
|
|
13
13
|
});
|
|
14
14
|
async function create2(sessionID, messageID) {
|
|
15
|
-
const { deleteSession, forkSession, getSessionMessages } = await
|
|
15
|
+
const { deleteSession, forkSession, getSessionMessages } = await load3();
|
|
16
16
|
const source = await getSessionMessages(sessionID);
|
|
17
17
|
const end = source.findIndex((message) => message.uuid === messageID);
|
|
18
18
|
if (end < 0)
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-azqdag7d.js";
|
|
4
4
|
import {
|
|
5
5
|
ID17,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service82
|
|
7
|
+
} from "./location-service-map-zzaqb64w.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
load5,
|
|
10
|
+
derive3
|
|
11
|
+
} from "./location-service-map-2j8622j5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service46,
|
|
14
14
|
fingerprint2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-tmxr2s7a.js";
|
|
16
16
|
import {
|
|
17
17
|
start3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-0czm8y1n.js";
|
|
19
19
|
import {
|
|
20
20
|
activeCredential2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-r7yf6cnn.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -28,8 +28,8 @@ var providerID = ID17.make("modal");
|
|
|
28
28
|
var ModalPlugin2 = define({
|
|
29
29
|
id: "opencode.provider.modal",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const providers = yield*
|
|
32
|
-
const cache = yield*
|
|
31
|
+
const providers = yield* Service82;
|
|
32
|
+
const cache = yield* Service46;
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
34
34
|
const discovered = yield* start3({
|
|
35
35
|
integrationID: "modal",
|
|
@@ -46,7 +46,7 @@ var ModalPlugin2 = define({
|
|
|
46
46
|
const models = yield* cache.get({
|
|
47
47
|
key: modelsKey(connection, apiKey, baseURL),
|
|
48
48
|
...options,
|
|
49
|
-
load: (connection ? ctx.integration.connection.resolve(connection) : Effect.undefined).pipe(Effect.map((current) => current?.type === "key" ? current.key : connection ? undefined : process.env.MODAL_PROXY_TOKEN), Effect.flatMap((key) => key ?
|
|
49
|
+
load: (connection ? ctx.integration.connection.resolve(connection) : Effect.undefined).pipe(Effect.map((current) => current?.type === "key" ? current.key : connection ? undefined : process.env.MODAL_PROXY_TOKEN), Effect.flatMap((key) => key ? load5(http, baseURL, key) : Effect.fail(new Error("Modal connection has no API key"))), Effect.map((models) => models.toSorted((a, b) => a.id.localeCompare(b.id))))
|
|
50
50
|
}).pipe(Effect.orElseSucceed(() => {
|
|
51
51
|
return;
|
|
52
52
|
}));
|
|
@@ -60,7 +60,7 @@ var ModalPlugin2 = define({
|
|
|
60
60
|
return;
|
|
61
61
|
evt.add({
|
|
62
62
|
info: item.provider,
|
|
63
|
-
models: Array.from(
|
|
63
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
64
64
|
sourceConnection: loaded.connection
|
|
65
65
|
});
|
|
66
66
|
});
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
makeFiles2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-rgc9cx3e.js";
|
|
7
7
|
import {
|
|
8
8
|
Service94,
|
|
9
9
|
node96
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-h6wjw172.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-s47rahr7.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node82
|
|
18
|
+
} from "./location-service-map-j9ne08cm.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID14,
|
|
31
|
+
Info: () => Info21,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service80,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured11,
|
|
36
|
+
node: () => node81
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID14 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info21 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID14,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info12 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID14 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID14,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service80 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service80,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node96,
|
|
70
|
+
deps: [node96, node82]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service94).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info21({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -161,9 +161,9 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
161
161
|
yield* Scope.close(connection.scope, Exit.void);
|
|
162
162
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
163
163
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
164
|
-
return
|
|
164
|
+
return Service80.of({
|
|
165
165
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
166
|
-
const workspaceID = input.id ??
|
|
166
|
+
const workspaceID = input.id ?? ID14.create();
|
|
167
167
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
168
168
|
if (existing) {
|
|
169
169
|
if (existing.provider === input.provider)
|
|
@@ -239,6 +239,6 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
239
239
|
})
|
|
240
240
|
});
|
|
241
241
|
}));
|
|
242
|
-
var
|
|
242
|
+
var node81 = configured11();
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { ID14, Info21, NotFound2, CreateConflict2, Service80, configured11, node81, exports_workspace };
|