@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,65 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service67
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-keja7rv1.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./location-service-map-4jrz2103.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service77
|
|
11
|
+
} from "./location-service-map-jqk89bd7.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-psb1wzhv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service62
|
|
17
|
+
} from "./location-service-map-krvaf23f.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
21
|
Service64
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-f985r6kr.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
update4
|
|
27
|
-
} from "./model-retry-tn2h78aa.js";
|
|
24
|
+
Service28
|
|
25
|
+
} from "./location-service-map-1j8v57a6.js";
|
|
28
26
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
31
|
-
import {
|
|
32
|
-
Service8
|
|
33
|
-
} from "./model-retry-ge0z7z6r.js";
|
|
27
|
+
Service12
|
|
28
|
+
} from "./location-service-map-b9yhhwa8.js";
|
|
34
29
|
import {
|
|
35
30
|
__export
|
|
36
|
-
} from "./
|
|
31
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
37
32
|
|
|
38
33
|
// src/tool/plugin/subagent.ts
|
|
39
34
|
var exports_subagent = {};
|
|
40
35
|
__export(exports_subagent, {
|
|
41
|
-
Input: () =>
|
|
42
|
-
Output: () =>
|
|
43
|
-
Plugin: () =>
|
|
36
|
+
Input: () => Input8,
|
|
37
|
+
Output: () => Output6,
|
|
38
|
+
Plugin: () => Plugin31,
|
|
44
39
|
SubagentTool: () => exports_subagent,
|
|
45
|
-
description: () =>
|
|
46
|
-
name: () =>
|
|
40
|
+
description: () => description6,
|
|
41
|
+
name: () => name8
|
|
47
42
|
});
|
|
48
43
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
49
44
|
import { Effect, Predicate, Schema } from "effect";
|
|
50
|
-
var
|
|
51
|
-
var backgroundResult = (sessionID
|
|
45
|
+
var name8 = "subagent";
|
|
46
|
+
var backgroundResult = (sessionID) => ({
|
|
52
47
|
sessionID,
|
|
53
48
|
status: "running",
|
|
54
|
-
output:
|
|
49
|
+
output: [
|
|
55
50
|
`The subagent is working in the background (sessionID: ${sessionID}). You will receive a <subagent> message when it goes idle, and again after each later round of work.`,
|
|
56
51
|
"DO NOT sleep, poll for progress, ask the subagent for status, or duplicate this subagent's work; avoid working with the same files or topics it is using.",
|
|
57
52
|
"Work on non-overlapping tasks, or briefly tell the user what you launched and end your response.",
|
|
58
53
|
"To send it follow-ups or change its instructions while it runs, call subagent again with this sessionID."
|
|
59
54
|
].join(`
|
|
60
|
-
`)
|
|
55
|
+
`)
|
|
61
56
|
});
|
|
62
|
-
var
|
|
57
|
+
var Input8 = Schema.Struct({
|
|
63
58
|
agent: Schema.String.annotate({
|
|
64
59
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
65
60
|
}),
|
|
@@ -70,35 +65,31 @@ var Input3 = Schema.Struct({
|
|
|
70
65
|
}),
|
|
71
66
|
sessionID: Schema.optionalKey(SessionSchema2.ID).annotate({
|
|
72
67
|
description: "Send a follow-up to an existing subagent, running or finished. Omit to start a new one."
|
|
73
|
-
}),
|
|
74
|
-
notify: Schema.optionalKey(Schema.Boolean).annotate({
|
|
75
|
-
description: "Send you a `<subagent>` message each time this subagent goes idle. Defaults to true for new subagents. On follow-ups (sessionID), keeps the subagent's current setting unless you pass it."
|
|
76
68
|
})
|
|
77
69
|
});
|
|
78
|
-
var
|
|
70
|
+
var Output6 = Schema.Struct({
|
|
79
71
|
sessionID: SessionSchema2.ID,
|
|
80
72
|
status: Schema.Literal("running"),
|
|
81
73
|
output: Schema.String
|
|
82
74
|
});
|
|
83
|
-
var
|
|
75
|
+
var description6 = [
|
|
84
76
|
"Spawns an agent in a child session to work on the specified task.",
|
|
85
77
|
"Subagents always run in the background: the call returns immediately with a sessionID, and you receive a `<subagent>` message each time the child goes idle, including after later work.",
|
|
86
78
|
"Keep working on non-overlapping tasks, or briefly tell the user what you launched and end your response. Do not sleep, poll for progress, or ask the child for status.",
|
|
87
79
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
88
|
-
"Pass the returned sessionID to continue that specific child conversation. A follow-up to a running child joins its current run."
|
|
89
|
-
"Pass notify=false for a new subagent only if you don't need its results: you won't receive its idle reports."
|
|
80
|
+
"Pass the returned sessionID to continue that specific child conversation. A follow-up to a running child joins its current run."
|
|
90
81
|
].join(`
|
|
91
82
|
`);
|
|
92
|
-
var
|
|
83
|
+
var Plugin31 = {
|
|
93
84
|
id: "opencode.tool.subagent",
|
|
94
85
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
95
|
-
const sessions = yield*
|
|
96
|
-
const jobs = yield*
|
|
86
|
+
const sessions = yield* Service28;
|
|
87
|
+
const jobs = yield* Service62;
|
|
97
88
|
const agents = yield* Service67;
|
|
98
|
-
const config = yield*
|
|
89
|
+
const config = yield* Service77;
|
|
99
90
|
const permission = yield* Service64;
|
|
100
|
-
const models = yield*
|
|
101
|
-
const subagents = yield*
|
|
91
|
+
const models = yield* Service81;
|
|
92
|
+
const subagents = yield* Service12;
|
|
102
93
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
103
94
|
const ref = yield* Effect.try({
|
|
104
95
|
try: () => Ref3.parse(input),
|
|
@@ -120,11 +111,11 @@ var Plugin23 = {
|
|
|
120
111
|
return ref;
|
|
121
112
|
});
|
|
122
113
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
123
|
-
name:
|
|
114
|
+
name: name8,
|
|
124
115
|
options: { codemode: false },
|
|
125
|
-
description:
|
|
126
|
-
input:
|
|
127
|
-
output:
|
|
116
|
+
description: description6,
|
|
117
|
+
input: Input8,
|
|
118
|
+
output: Output6,
|
|
128
119
|
execute: (input, context) => Effect.gen(function* () {
|
|
129
120
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
130
121
|
let current = parent;
|
|
@@ -144,7 +135,7 @@ var Plugin23 = {
|
|
|
144
135
|
if (agent.mode === "primary")
|
|
145
136
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
146
137
|
yield* permission.assert({
|
|
147
|
-
action:
|
|
138
|
+
action: name8,
|
|
148
139
|
resources: [agent.id],
|
|
149
140
|
save: [agent.id],
|
|
150
141
|
...invocation2(context)
|
|
@@ -158,11 +149,9 @@ var Plugin23 = {
|
|
|
158
149
|
if (existing !== undefined) {
|
|
159
150
|
const switched = existing.agent !== agent.id;
|
|
160
151
|
const model = override ?? (switched ? agent.model : undefined);
|
|
161
|
-
const metadata = input.notify === undefined ? undefined : update4(existing.metadata, input.notify);
|
|
162
152
|
yield* Effect.all([
|
|
163
153
|
switched ? sessions.switchAgent({ sessionID: existing.id, agent: agent.id }) : Effect.void,
|
|
164
|
-
model === undefined ? Effect.void : sessions.switchModel({ sessionID: existing.id, model })
|
|
165
|
-
metadata === undefined ? Effect.void : sessions.setMetadata({ sessionID: existing.id, metadata })
|
|
154
|
+
model === undefined ? Effect.void : sessions.switchModel({ sessionID: existing.id, model })
|
|
166
155
|
]).pipe(Effect.mapError((error) => new ToolFailure({ message: `Failed to switch subagent session: ${existing.id}`, error })));
|
|
167
156
|
}
|
|
168
157
|
const model = override ?? agent.model ?? parent.model;
|
|
@@ -170,10 +159,8 @@ var Plugin23 = {
|
|
|
170
159
|
parentID: context.sessionID,
|
|
171
160
|
title: input.description,
|
|
172
161
|
agent: agent.id,
|
|
173
|
-
model
|
|
174
|
-
metadata: withNotify2(parent.metadata, input.notify !== false)
|
|
162
|
+
model
|
|
175
163
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
176
|
-
const notify = input.notify ?? notify2(child.metadata);
|
|
177
164
|
const running = existing !== undefined && ((yield* sessions.active).has(existing.id) || (yield* jobs.get(existing.id))?.status === "running");
|
|
178
165
|
yield* context.progress({ sessionID: child.id, status: "running" });
|
|
179
166
|
yield* sessions.prompt({
|
|
@@ -190,7 +177,7 @@ var Plugin23 = {
|
|
|
190
177
|
description: input.description
|
|
191
178
|
};
|
|
192
179
|
yield* subagents.start(recovery);
|
|
193
|
-
return backgroundResult(child.id
|
|
180
|
+
return backgroundResult(child.id);
|
|
194
181
|
}).pipe(Effect.map((output) => ({
|
|
195
182
|
output,
|
|
196
183
|
content: output.output,
|
|
@@ -198,7 +185,7 @@ var Plugin23 = {
|
|
|
198
185
|
})))
|
|
199
186
|
})).pipe(Effect.orDie);
|
|
200
187
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
201
|
-
if (event.tool !==
|
|
188
|
+
if (event.tool !== name8 || !Predicate.isObject(event.input))
|
|
202
189
|
return;
|
|
203
190
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
204
191
|
return;
|
|
@@ -210,13 +197,13 @@ var Plugin23 = {
|
|
|
210
197
|
event.input = input;
|
|
211
198
|
}));
|
|
212
199
|
const hook = (event) => Effect.gen(function* () {
|
|
213
|
-
const tool = event.tools[
|
|
200
|
+
const tool = event.tools[name8];
|
|
214
201
|
if (!tool)
|
|
215
202
|
return;
|
|
216
203
|
const selected = yield* agents.resolve(event.agent);
|
|
217
204
|
if (!selected)
|
|
218
205
|
return;
|
|
219
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
206
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
220
207
|
if (available.length === 0)
|
|
221
208
|
return;
|
|
222
209
|
tool.description = [
|
|
@@ -233,4 +220,4 @@ var Plugin23 = {
|
|
|
233
220
|
})
|
|
234
221
|
};
|
|
235
222
|
|
|
236
|
-
export {
|
|
223
|
+
export { name8, Input8, Output6, description6, Plugin31, exports_subagent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection2 = {};
|
|
7
7
|
__export(exports_connection2, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info30,
|
|
11
11
|
IntegrationConnection: () => exports_connection2,
|
|
12
12
|
Status: () => Status4,
|
|
13
13
|
key: () => key3
|
|
@@ -15,7 +15,7 @@ __export(exports_connection2, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info30 = Connection.Info;
|
|
19
19
|
var Status4 = Connection.Status;
|
|
20
20
|
function key3(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key3(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info30, Status4, key3, exports_connection2 };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-h6wjw172.js";
|
|
4
4
|
import {
|
|
5
5
|
Service93
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-nxw1zf8h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./location-service-map-58wf94jx.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-7yv5xa0k.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
preview2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-sp43w917.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-2fc7eemy.js";
|
|
22
22
|
import {
|
|
23
23
|
baseTranscript2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-43wnwdt1.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service30
|
|
27
|
+
} from "./location-service-map-cvjm9kyy.js";
|
|
28
28
|
import {
|
|
29
29
|
record2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/generate.ts
|
|
36
|
-
var
|
|
37
|
-
__export(
|
|
38
|
-
SessionGenerate: () =>
|
|
36
|
+
var exports_generate2 = {};
|
|
37
|
+
__export(exports_generate2, {
|
|
38
|
+
SessionGenerate: () => exports_generate2,
|
|
39
39
|
generate: () => generate2
|
|
40
40
|
});
|
|
41
41
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect } from "effect";
|
|
43
43
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service51;
|
|
45
45
|
const database = yield* Service94;
|
|
46
46
|
const llm = yield* LLMClient.Service;
|
|
47
47
|
const bus = yield* Service93;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
49
|
yield* awaitActivation2;
|
|
50
|
-
const context = yield*
|
|
50
|
+
const context = yield* Service30;
|
|
51
51
|
const selection = yield* context.select(input.session.id);
|
|
52
52
|
const model = yield* context.resolveModel(selection.session, { kind: "generate", agent: selection.agent.id });
|
|
53
53
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -82,4 +82,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
82
82
|
}).pipe(instances.provide(input.session));
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
-
export { generate2,
|
|
85
|
+
export { generate2, exports_generate2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service62,
|
|
3
|
+
node63
|
|
4
|
+
} from "./location-service-map-krvaf23f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service48,
|
|
7
|
+
node50
|
|
8
|
+
} from "./location-service-map-h76s4kjs.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/session/subagent-job.ts
|
|
14
14
|
var exports_subagent_job = {};
|
|
15
15
|
__export(exports_subagent_job, {
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service12,
|
|
17
17
|
SubagentJob: () => exports_subagent_job,
|
|
18
|
-
layer: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
layer: () => layer9,
|
|
19
|
+
node: () => node14,
|
|
20
20
|
start: () => start4
|
|
21
21
|
});
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { Node } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service12 extends Context.Service()("@opencode/SubagentJob") {
|
|
25
25
|
}
|
|
26
26
|
function start4(jobs, execution, recovery, notificationID) {
|
|
27
27
|
const id = recovery.childSessionID;
|
|
@@ -37,18 +37,18 @@ function start4(jobs, execution, recovery, notificationID) {
|
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
var make = Effect.gen(function* () {
|
|
40
|
-
const execution = yield*
|
|
41
|
-
const jobs = yield*
|
|
40
|
+
const execution = yield* Service48;
|
|
41
|
+
const jobs = yield* Service62;
|
|
42
42
|
const context = yield* Effect.context();
|
|
43
|
-
return
|
|
43
|
+
return Service12.of({
|
|
44
44
|
start: (recovery) => start4(jobs, execution, recovery).pipe(Effect.setContext(context))
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
|
-
var
|
|
48
|
-
var
|
|
49
|
-
service:
|
|
50
|
-
layer:
|
|
51
|
-
deps: [
|
|
47
|
+
var layer9 = Layer.effect(Service12, make);
|
|
48
|
+
var node14 = Node.makeGlobalNode({
|
|
49
|
+
service: Service12,
|
|
50
|
+
layer: layer9,
|
|
51
|
+
deps: [node50, node63]
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service12, start4, layer9, node14, exports_subagent_job };
|
|
@@ -1,33 +1,33 @@
|
|
|
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
|
changes2,
|
|
11
11
|
create4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-40y6dtc2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service89,
|
|
15
|
+
node91
|
|
16
|
+
} from "./location-service-map-682r9fgy.js";
|
|
17
17
|
import {
|
|
18
18
|
Service68,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node69
|
|
20
|
+
} from "./location-service-map-8vehvdj9.js";
|
|
21
21
|
import {
|
|
22
22
|
detect2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-4pyp9zr9.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service28,
|
|
26
|
+
node31
|
|
27
|
+
} from "./location-service-map-1j8v57a6.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/artifact.ts
|
|
33
33
|
var exports_artifact2 = {};
|
|
@@ -36,22 +36,22 @@ __export(exports_artifact2, {
|
|
|
36
36
|
Capability: () => Capability2,
|
|
37
37
|
Content: () => Content2,
|
|
38
38
|
CreateInput: () => CreateInput4,
|
|
39
|
-
DisabledError: () =>
|
|
40
|
-
Event: () =>
|
|
39
|
+
DisabledError: () => DisabledError3,
|
|
40
|
+
Event: () => Event5,
|
|
41
41
|
FileMissingError: () => FileMissingError2,
|
|
42
42
|
ID: () => ID7,
|
|
43
|
-
Info: () =>
|
|
43
|
+
Info: () => Info7,
|
|
44
44
|
InvalidError: () => InvalidError3,
|
|
45
45
|
LocalProviderID: () => LocalProviderID2,
|
|
46
|
-
NotFoundError: () =>
|
|
47
|
-
Provider: () =>
|
|
46
|
+
NotFoundError: () => NotFoundError4,
|
|
47
|
+
Provider: () => Provider2,
|
|
48
48
|
ProviderError: () => ProviderError2,
|
|
49
49
|
ProviderID: () => ProviderID2,
|
|
50
|
-
ProviderNotFoundError: () =>
|
|
51
|
-
Service: () =>
|
|
52
|
-
UpdateInput: () =>
|
|
50
|
+
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
51
|
+
Service: () => Service22,
|
|
52
|
+
UpdateInput: () => UpdateInput3,
|
|
53
53
|
locate: () => locate2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node25
|
|
55
55
|
});
|
|
56
56
|
import { randomUUID } from "node:crypto";
|
|
57
57
|
import fs from "node:fs/promises";
|
|
@@ -61,12 +61,12 @@ import {
|
|
|
61
61
|
Capability as Capability2,
|
|
62
62
|
Content as Content2,
|
|
63
63
|
CreateInput as CreateInput4,
|
|
64
|
-
Event as
|
|
64
|
+
Event as Event5,
|
|
65
65
|
ID as ID7,
|
|
66
|
-
Info as
|
|
67
|
-
Provider as
|
|
66
|
+
Info as Info7,
|
|
67
|
+
Provider as Provider2,
|
|
68
68
|
ProviderID as ProviderID2,
|
|
69
|
-
UpdateInput as
|
|
69
|
+
UpdateInput as UpdateInput3
|
|
70
70
|
} from "@opencode/schema/artifact";
|
|
71
71
|
import { Global } from "@opencode/util/global";
|
|
72
72
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -74,13 +74,13 @@ import { Clock, Context, Effect, Layer, Option, Schema } from "effect";
|
|
|
74
74
|
var LocalProviderID2 = ProviderID2.make("local");
|
|
75
75
|
var ItemPrefix = "artifact:item:";
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class DisabledError3 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
|
|
78
78
|
get message() {
|
|
79
79
|
return "Artifacts are disabled; set experimental.artifacts in config";
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class NotFoundError4 extends Schema.TaggedError()("Artifact.NotFoundError", {
|
|
84
84
|
artifactID: ID7
|
|
85
85
|
}) {
|
|
86
86
|
get message() {
|
|
@@ -97,7 +97,7 @@ class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError"
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
class
|
|
100
|
+
class ProviderNotFoundError2 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
|
|
101
101
|
providerID: ProviderID2
|
|
102
102
|
}) {
|
|
103
103
|
get message() {
|
|
@@ -123,10 +123,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
class
|
|
126
|
+
class Service22 extends Context.Service()("@opencode/Artifact") {
|
|
127
127
|
}
|
|
128
128
|
var StoredRecord = Schema.Struct({
|
|
129
|
-
info:
|
|
129
|
+
info: Info7,
|
|
130
130
|
directory: Schema.String,
|
|
131
131
|
projectID: Schema.String
|
|
132
132
|
});
|
|
@@ -139,16 +139,16 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
|
|
|
139
139
|
const decoded = decodeStoredRecord(stored);
|
|
140
140
|
return Option.isSome(decoded) ? decoded.value.directory : undefined;
|
|
141
141
|
}));
|
|
142
|
-
var layer = Layer.effect(
|
|
142
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
143
143
|
const bus = yield* Service93;
|
|
144
144
|
const flags = yield* Service68;
|
|
145
145
|
const global = yield* Global.Service;
|
|
146
|
-
const kv = yield*
|
|
147
|
-
const location = yield*
|
|
148
|
-
const sessions = yield*
|
|
146
|
+
const kv = yield* Service89;
|
|
147
|
+
const location = yield* Service84;
|
|
148
|
+
const sessions = yield* Service28;
|
|
149
149
|
const rootDir = path.join(global.data, "artifacts");
|
|
150
150
|
const itemDir = (id) => path.join(rootDir, id);
|
|
151
|
-
const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new
|
|
151
|
+
const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError4({ artifactID: id }))));
|
|
152
152
|
const localProvider = {
|
|
153
153
|
id: LocalProviderID2,
|
|
154
154
|
name: "Local",
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
}),
|
|
190
|
-
notify: changes2(snapshotProviders, () => bus.publish(
|
|
190
|
+
notify: changes2(snapshotProviders, () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid))
|
|
191
191
|
});
|
|
192
192
|
const isEnabled = Effect.fn("Artifact.enabled")(() => flags.enabled("artifacts"));
|
|
193
|
-
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new
|
|
193
|
+
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError3)));
|
|
194
194
|
const activeDefaultID = () => {
|
|
195
195
|
const data = state.get();
|
|
196
196
|
return data.selection && data.providers.has(data.selection) ? data.selection : LocalProviderID2;
|
|
@@ -199,17 +199,17 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
199
199
|
const data = state.get();
|
|
200
200
|
const target = requested ?? activeDefaultID();
|
|
201
201
|
const found = data.providers.get(target);
|
|
202
|
-
return found ? Effect.succeed(found) : Effect.fail(new
|
|
202
|
+
return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
|
|
203
203
|
};
|
|
204
204
|
const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
|
|
205
|
-
return
|
|
205
|
+
return Service22.of({
|
|
206
206
|
transform: state.transform,
|
|
207
207
|
reload: state.reload,
|
|
208
208
|
enabled: isEnabled,
|
|
209
209
|
providers: Effect.fn("Artifact.providers")(function* () {
|
|
210
210
|
yield* requireEnabled();
|
|
211
211
|
const defaultID = activeDefaultID();
|
|
212
|
-
return Array.from(state.get().providers.values(), (provider) =>
|
|
212
|
+
return Array.from(state.get().providers.values(), (provider) => Provider2.make({
|
|
213
213
|
id: provider.id,
|
|
214
214
|
name: provider.name,
|
|
215
215
|
capabilities: [...provider.capabilities],
|
|
@@ -249,7 +249,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
249
249
|
const id = ID7.create();
|
|
250
250
|
const now = yield* Clock.currentTimeMillis;
|
|
251
251
|
const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
252
|
-
const info =
|
|
252
|
+
const info = Info7.make({
|
|
253
253
|
id,
|
|
254
254
|
provider: provider.id,
|
|
255
255
|
...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
293
293
|
const now = yield* Clock.currentTimeMillis;
|
|
294
294
|
const sessionID = input.sessionID ?? existing.info.sessionID;
|
|
295
295
|
const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
296
|
-
const info =
|
|
296
|
+
const info = Info7.make({
|
|
297
297
|
id,
|
|
298
298
|
provider: existing.info.provider,
|
|
299
299
|
...sessionID === undefined ? {} : { sessionID },
|
|
@@ -337,10 +337,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
337
337
|
})
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
341
|
-
service:
|
|
340
|
+
var node25 = makeLocationNode({
|
|
341
|
+
service: Service22,
|
|
342
342
|
layer,
|
|
343
|
-
deps: [node95,
|
|
343
|
+
deps: [node95, node69, Global.node, node91, node86, node31]
|
|
344
344
|
});
|
|
345
345
|
function encodeStringFiles(files) {
|
|
346
346
|
return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
|
|
@@ -481,4 +481,4 @@ function readDirectoryFiles(baseDir) {
|
|
|
481
481
|
});
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
-
export { Capability2, Content2, CreateInput4,
|
|
484
|
+
export { Capability2, Content2, CreateInput4, Event5, ID7, Info7, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError4, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service22, locate2, node25, exports_artifact2 };
|