@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,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
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
16
|
ID: () => ID12,
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
17
|
+
Info: () => Info14,
|
|
18
|
+
NotFoundError: () => NotFoundError9,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
20
|
Service: () => Service66,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node67
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,9 +26,9 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID12 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info14 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
32
|
id: ID12
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
@@ -61,12 +61,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node67 = makeGlobalNode({ service: Service66, layer, deps: [node96] });
|
|
94
94
|
|
|
95
|
-
export { ID12,
|
|
95
|
+
export { ID12, Info14, NotFoundError9, ConflictError2, Service66, node67, exports_saved };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-nxw1zf8h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node86
|
|
8
|
+
} from "./location-service-map-pzapmsw9.js";
|
|
9
9
|
import {
|
|
10
10
|
Service67,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node68
|
|
12
|
+
} from "./location-service-map-keja7rv1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError8
|
|
15
|
+
} from "./location-service-map-3rdts4z3.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-1aqsckx4.js";
|
|
19
19
|
import {
|
|
20
20
|
Service65,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node66
|
|
22
|
+
} from "./location-service-map-xrx499nq.js";
|
|
23
23
|
import {
|
|
24
24
|
Service66,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
node67
|
|
26
|
+
} from "./location-service-map-f6hn2jkf.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service76,
|
|
29
|
+
node77
|
|
30
|
+
} from "./location-service-map-eam2557n.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -41,7 +41,7 @@ __export(exports_permission, {
|
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
42
|
Event: () => Event12,
|
|
43
43
|
ID: () => ID11,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError7,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request3,
|
|
@@ -53,7 +53,7 @@ __export(exports_permission, {
|
|
|
53
53
|
evaluate: () => evaluate3,
|
|
54
54
|
invocation: () => invocation2,
|
|
55
55
|
merge: () => merge2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node65
|
|
57
57
|
});
|
|
58
58
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
59
59
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
@@ -99,7 +99,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
102
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
103
103
|
requestID: ID11
|
|
104
104
|
}) {
|
|
105
105
|
}
|
|
@@ -118,11 +118,11 @@ class Service64 extends Context.Service()("@opencode/Permission") {
|
|
|
118
118
|
}
|
|
119
119
|
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
120
120
|
const bus = yield* Service93;
|
|
121
|
-
const location = yield*
|
|
121
|
+
const location = yield* Service84;
|
|
122
122
|
const agents = yield* Service67;
|
|
123
123
|
const sessions = yield* Service65;
|
|
124
124
|
const saved = yield* Service66;
|
|
125
|
-
const hooks = yield*
|
|
125
|
+
const hooks = yield* Service76;
|
|
126
126
|
const pending = new Map;
|
|
127
127
|
let closed = false;
|
|
128
128
|
const close = Effect.gen(function* () {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
145
145
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
146
146
|
const session = yield* sessions.get(sessionID);
|
|
147
147
|
if (!session)
|
|
148
|
-
return yield* new
|
|
148
|
+
return yield* new NotFoundError8({ sessionID });
|
|
149
149
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
150
150
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
151
151
|
});
|
|
@@ -258,7 +258,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
258
258
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
259
259
|
const existing = pending.get(input.requestID);
|
|
260
260
|
if (!existing)
|
|
261
|
-
return yield* new
|
|
261
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
262
262
|
yield* bus.publish(Permission.Event.Replied, {
|
|
263
263
|
sessionID: existing.request.sessionID,
|
|
264
264
|
requestID: existing.request.id,
|
|
@@ -315,10 +315,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
315
315
|
});
|
|
316
316
|
return Service64.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
|
|
317
317
|
}));
|
|
318
|
-
var
|
|
318
|
+
var node65 = makeLocationNode({
|
|
319
319
|
service: Service64,
|
|
320
320
|
layer,
|
|
321
|
-
deps: [node95,
|
|
321
|
+
deps: [node95, node86, node68, node66, node67, node77]
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
export { PermissionEffect, ID11, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2,
|
|
324
|
+
export { PermissionEffect, ID11, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate3, merge2, Service64, node65, exports_permission, Rule2, Ruleset2, Event12 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-nxw1zf8h.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
8
|
expiring2,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service92,
|
|
10
|
+
node94
|
|
11
|
+
} from "./location-service-map-ma5b68np.js";
|
|
12
12
|
import {
|
|
13
13
|
changes2,
|
|
14
14
|
create4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-40y6dtc2.js";
|
|
16
16
|
import {
|
|
17
17
|
key3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-azqdag7d.js";
|
|
19
19
|
import {
|
|
20
20
|
validateAnswer2,
|
|
21
21
|
validateFields2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-4wpen61a.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/integration.ts
|
|
28
28
|
var exports_integration3 = {};
|
|
@@ -37,18 +37,18 @@ __export(exports_integration3, {
|
|
|
37
37
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
38
38
|
CommandMethod: () => CommandMethod2,
|
|
39
39
|
EnvMethod: () => EnvMethod2,
|
|
40
|
-
Event: () =>
|
|
40
|
+
Event: () => Event19,
|
|
41
41
|
ExternalMethod: () => ExternalMethod2,
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
42
|
+
ID: () => ID20,
|
|
43
|
+
Info: () => Info29,
|
|
44
44
|
Integration: () => exports_integration3,
|
|
45
45
|
KeyMethod: () => KeyMethod2,
|
|
46
46
|
Method: () => Method2,
|
|
47
47
|
MethodID: () => MethodID2,
|
|
48
48
|
OAuthMethod: () => OAuthMethod2,
|
|
49
|
-
Ref: () =>
|
|
50
|
-
Service: () =>
|
|
51
|
-
node: () =>
|
|
49
|
+
Ref: () => Ref5,
|
|
50
|
+
Service: () => Service90,
|
|
51
|
+
node: () => node92
|
|
52
52
|
});
|
|
53
53
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
54
54
|
import {
|
|
@@ -70,8 +70,8 @@ import {
|
|
|
70
70
|
import { Integration } from "@opencode/schema/integration";
|
|
71
71
|
import { AppProcess } from "@opencode/util/process";
|
|
72
72
|
import { ChildProcess } from "effect/process";
|
|
73
|
-
import { Event as
|
|
74
|
-
var
|
|
73
|
+
import { Event as Event19 } from "@opencode/schema/integration";
|
|
74
|
+
var ID20 = Integration.ID;
|
|
75
75
|
var MethodID2 = Integration.MethodID;
|
|
76
76
|
var AttemptID2 = Integration.AttemptID;
|
|
77
77
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -80,7 +80,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
80
80
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
81
81
|
var EnvMethod2 = Integration.EnvMethod;
|
|
82
82
|
var Method2 = Integration.Method;
|
|
83
|
-
var
|
|
83
|
+
var Info29 = Integration.Info;
|
|
84
84
|
var Attempt2 = Integration.Attempt;
|
|
85
85
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
86
86
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -103,19 +103,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
106
|
-
integrationID:
|
|
106
|
+
integrationID: ID20,
|
|
107
107
|
attemptID: AttemptID2
|
|
108
108
|
}) {
|
|
109
109
|
}
|
|
110
|
-
var
|
|
110
|
+
var Ref5 = Integration.Ref;
|
|
111
111
|
|
|
112
|
-
class
|
|
112
|
+
class Service90 extends Context.Service()("@opencode/Integration") {
|
|
113
113
|
}
|
|
114
114
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
115
115
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
116
116
|
var scrubInterval = Duration.seconds(30);
|
|
117
|
-
var layer = Layer.effect(
|
|
118
|
-
const credentials = yield*
|
|
117
|
+
var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
118
|
+
const credentials = yield* Service92;
|
|
119
119
|
const bus = yield* Service93;
|
|
120
120
|
const processes = yield* AppProcess.Service;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
@@ -202,7 +202,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
202
202
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
203
203
|
return [...credentials, ...env];
|
|
204
204
|
};
|
|
205
|
-
const project = (entry, connections) =>
|
|
205
|
+
const project = (entry, connections) => Info29.make({
|
|
206
206
|
id: entry.ref.id,
|
|
207
207
|
name: entry.ref.name,
|
|
208
208
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -404,7 +404,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
404
404
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
405
405
|
return CommandAttempt2.make({ attemptID, time });
|
|
406
406
|
});
|
|
407
|
-
return
|
|
407
|
+
return Service90.of({
|
|
408
408
|
transform: state.transform,
|
|
409
409
|
reload: state.reload,
|
|
410
410
|
revision: state.revision,
|
|
@@ -562,10 +562,10 @@ var answerError = (form, answer, method) => {
|
|
|
562
562
|
if (method && Object.keys(answer).length > 0)
|
|
563
563
|
return `${method} method does not accept a form answer`;
|
|
564
564
|
};
|
|
565
|
-
var
|
|
566
|
-
service:
|
|
565
|
+
var node92 = makeLocationNode({
|
|
566
|
+
service: Service90,
|
|
567
567
|
layer,
|
|
568
|
-
deps: [
|
|
568
|
+
deps: [node94, node95, AppProcess.node]
|
|
569
569
|
});
|
|
570
570
|
|
|
571
|
-
export {
|
|
571
|
+
export { ID20, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref5, Service90, node92, exports_integration3, Event19 };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-7rvsyqjv.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service84
|
|
9
|
+
} from "./location-service-map-pzapmsw9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service79
|
|
12
|
+
} from "./location-service-map-26qqgt6g.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service61
|
|
15
|
+
} from "./location-service-map-geem5nsj.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
GlobInput2,
|
|
19
19
|
Entry2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-ext3f0g2.js";
|
|
21
21
|
import {
|
|
22
22
|
pathType2,
|
|
23
23
|
bounded2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-pnk364rs.js";
|
|
25
25
|
import {
|
|
26
26
|
invocation2,
|
|
27
27
|
Service64
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-service-map-f985r6kr.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service63
|
|
31
|
+
} from "./location-service-map-jmv1ywcg.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/glob.ts
|
|
37
37
|
var exports_glob = {};
|
|
38
38
|
__export(exports_glob, {
|
|
39
39
|
GlobTool: () => exports_glob,
|
|
40
|
-
Input: () =>
|
|
41
|
-
Output: () =>
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
40
|
+
Input: () => Input12,
|
|
41
|
+
Output: () => Output8,
|
|
42
|
+
Plugin: () => Plugin36,
|
|
43
|
+
name: () => name12,
|
|
44
|
+
toModelContent: () => toModelContent4
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import path from "path";
|
|
49
|
-
var
|
|
50
|
-
var
|
|
49
|
+
var name12 = "glob";
|
|
50
|
+
var Input12 = Schema.Struct({
|
|
51
51
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
52
52
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
53
53
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -59,34 +59,34 @@ var Input6 = Schema.Struct({
|
|
|
59
59
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
60
60
|
})
|
|
61
61
|
});
|
|
62
|
-
var
|
|
63
|
-
var
|
|
62
|
+
var Output8 = Schema.Array(Entry2);
|
|
63
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
64
64
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
65
65
|
if (truncated)
|
|
66
66
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
67
67
|
return lines.join(`
|
|
68
68
|
`);
|
|
69
69
|
};
|
|
70
|
-
var
|
|
70
|
+
var Plugin36 = {
|
|
71
71
|
id: "opencode.tool.glob",
|
|
72
72
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
73
|
-
const environment = yield*
|
|
74
|
-
const ripgrep = yield*
|
|
75
|
-
const location = yield*
|
|
76
|
-
const access = yield*
|
|
73
|
+
const environment = yield* Service79;
|
|
74
|
+
const ripgrep = yield* Service61;
|
|
75
|
+
const location = yield* Service84;
|
|
76
|
+
const access = yield* Service63;
|
|
77
77
|
const permission = yield* Service64;
|
|
78
78
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
79
|
-
name:
|
|
79
|
+
name: name12,
|
|
80
80
|
options: { codemode: false },
|
|
81
81
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
82
|
-
input:
|
|
83
|
-
output:
|
|
82
|
+
input: Input12,
|
|
83
|
+
output: Output8,
|
|
84
84
|
execute: (input, context) => Effect.gen(function* () {
|
|
85
85
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
86
86
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
87
87
|
yield* access.authorizeExternal([target], context);
|
|
88
88
|
yield* permission.assert({
|
|
89
|
-
action:
|
|
89
|
+
action: name12,
|
|
90
90
|
resources: [input.pattern],
|
|
91
91
|
save: ["*"],
|
|
92
92
|
metadata: {
|
|
@@ -111,11 +111,11 @@ var Plugin26 = {
|
|
|
111
111
|
};
|
|
112
112
|
}).pipe(Effect.map((result) => ({
|
|
113
113
|
output: result.entries,
|
|
114
|
-
content:
|
|
114
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
115
115
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
116
116
|
})), Effect.mapError(toolFailure2(`Unable to find files matching ${input.pattern}`)))
|
|
117
117
|
})).pipe(Effect.orDie);
|
|
118
118
|
})
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { name12, Input12, Output8, toModelContent4, Plugin36, exports_glob };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_OPTION2,
|
|
3
3
|
INSTRUCTIONS_OPTION2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-k46dd5bg.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-xwc195j0.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/instructions.ts
|
|
13
13
|
var exports_instructions = {};
|
|
14
14
|
__export(exports_instructions, {
|
|
15
15
|
ClaudeInstructions: () => exports_instructions,
|
|
16
|
-
register: () =>
|
|
16
|
+
register: () => register5
|
|
17
17
|
});
|
|
18
18
|
import { Effect, Option, Schema } from "effect";
|
|
19
19
|
var KINDS = ["context", "generate", "compaction"];
|
|
@@ -23,7 +23,7 @@ var InstructionsMetadata = Schema.Struct({
|
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
var SUPPLIED_BY_CLAUDE = new Set(["core/date", "core/environment"]);
|
|
26
|
-
var
|
|
26
|
+
var register5 = Effect.fn("ClaudeInstructions.register")(function* (ctx) {
|
|
27
27
|
yield* Effect.forEach(KINDS, (kind) => ctx.session.hook(kind, (event) => Effect.gen(function* () {
|
|
28
28
|
const agent = yield* ctx.agent.get({ agentID: event.agent }).pipe(Effect.orDie);
|
|
29
29
|
event.options[AGENT_OPTION2] = agent.data.system ?? "";
|
|
@@ -49,4 +49,4 @@ function instructions(system) {
|
|
|
49
49
|
`);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { register5, exports_instructions };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/stored.ts
|
|
9
9
|
var exports_stored = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make32,
|
|
5
5
|
listUpdate2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-t62dywgn.js";
|
|
7
7
|
import {
|
|
8
8
|
ID9,
|
|
9
9
|
Name2,
|
|
10
10
|
available3,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service47,
|
|
12
|
+
node49
|
|
13
|
+
} from "./location-service-map-5hzkr2ah.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions4 = {};
|
|
20
|
+
__export(exports_instructions4, {
|
|
21
|
+
Service: () => Service34,
|
|
22
|
+
SkillInstructions: () => exports_instructions4,
|
|
23
|
+
node: () => node38
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -56,14 +56,14 @@ var update = listUpdate2({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service34 extends Context.Service()("@opencode/SkillInstructions") {
|
|
60
60
|
}
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const skills = yield*
|
|
63
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
62
|
+
const skills = yield* Service47;
|
|
63
|
+
return Service34.of({
|
|
64
64
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
65
65
|
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
66
|
-
return
|
|
66
|
+
return make32({
|
|
67
67
|
key: Key3.make("core/skill-guidance"),
|
|
68
68
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
69
69
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -76,6 +76,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node38 = makeLocationNode({ service: Service34, layer, deps: [node49] });
|
|
80
80
|
|
|
81
|
-
export {
|
|
81
|
+
export { Service34, node38, exports_instructions4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/goal.ts
|
|
6
6
|
var exports_goal = {};
|
|
@@ -9,7 +9,7 @@ __export(exports_goal, {
|
|
|
9
9
|
MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
|
|
10
10
|
MAX_ROUNDS: () => MAX_ROUNDS2,
|
|
11
11
|
MAX_STALLS: () => MAX_STALLS2,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin13,
|
|
13
13
|
WAIT_LIMIT: () => WAIT_LIMIT2
|
|
14
14
|
});
|
|
15
15
|
import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
|
|
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
|
|
|
102
102
|
});
|
|
103
103
|
var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
|
|
104
104
|
var USAGE = "Usage: /goal <objective> | pause | resume | clear";
|
|
105
|
-
var
|
|
105
|
+
var Plugin13 = define({
|
|
106
106
|
id: "opencode.goal",
|
|
107
107
|
effect: Effect.fn(function* (ctx) {
|
|
108
108
|
const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
|
|
@@ -407,4 +407,4 @@ function escape(text) {
|
|
|
407
407
|
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2,
|
|
410
|
+
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin13, exports_goal };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service64
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-f985r6kr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./location-service-map-gkb3m8fg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/codemode/fetch.ts
|
|
12
12
|
var exports_fetch = {};
|
|
@@ -27,7 +27,7 @@ var fetch = (input, init = {}) => Effect.gen(function* () {
|
|
|
27
27
|
return yield* Effect.fail(new Error("fetch cannot be used for filesystem access."));
|
|
28
28
|
if (parsed?.username || parsed?.password)
|
|
29
29
|
return yield* Effect.fail(new TypeError("fetch cannot be used with credentials in the URL."));
|
|
30
|
-
const execution = yield*
|
|
30
|
+
const execution = yield* Service45;
|
|
31
31
|
const permission = yield* Service64;
|
|
32
32
|
const source = { type: "tool", messageID: execution.messageID, id: execution.id };
|
|
33
33
|
yield* permission.assert({
|