@opencode/core 0.0.0-dev-1189 → 0.0.0-dev-1219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +90 -90
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +9 -9
- package/dist/artifact.js +259 -255
- package/dist/bus.js +80 -80
- package/dist/chunks/{location-activity-4q3x8e5j.js → vcs-02v1amh4.js} +19 -19
- package/dist/chunks/{location-activity-034tev2y.js → vcs-034tev2y.js} +2 -2
- package/dist/chunks/{location-activity-pxaxd55t.js → vcs-04gnzy0p.js} +7 -7
- package/dist/chunks/{location-activity-0ahs07zn.js → vcs-0ahs07zn.js} +1 -1
- package/dist/chunks/{location-activity-h5n4xk2m.js → vcs-0crda0p7.js} +15 -15
- package/dist/chunks/{location-activity-01p574a1.js → vcs-0cts79f1.js} +15 -15
- package/dist/chunks/{location-activity-96v83mw6.js → vcs-0k516apc.js} +7 -7
- package/dist/chunks/{location-activity-0ma9gw4f.js → vcs-0ma9gw4f.js} +2 -2
- package/dist/chunks/{location-activity-83xvdhwx.js → vcs-0p5jsb5b.js} +36 -36
- package/dist/chunks/{location-activity-88ency95.js → vcs-12xyba0f.js} +7 -7
- package/dist/chunks/{location-activity-62vdqgkn.js → vcs-131e66zf.js} +13 -13
- package/dist/chunks/{location-activity-qs5xzg3q.js → vcs-16c89azp.js} +59 -59
- package/dist/chunks/{location-activity-zgx04581.js → vcs-19dmrv0g.js} +86 -86
- package/dist/chunks/{location-activity-1aqsckx4.js → vcs-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-activity-0j7gp832.js → vcs-1aryjtsy.js} +22 -5
- package/dist/chunks/{location-activity-1ep2p91f.js → vcs-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-activity-wb5f78d4.js → vcs-1jcj1dar.js} +27 -27
- package/dist/chunks/{location-activity-hd71w18k.js → vcs-1m89j3q6.js} +48 -48
- package/dist/chunks/{location-activity-papqhc4g.js → vcs-1weakr5w.js} +9 -9
- package/dist/chunks/{location-activity-1x2knyw4.js → vcs-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-activity-wr3re1en.js → vcs-1yped5qa.js} +4 -4
- package/dist/chunks/{location-activity-p7vhpwh8.js → vcs-1yq9hg58.js} +5 -5
- package/dist/chunks/{location-activity-as63tf3s.js → vcs-21bxzpyx.js} +8 -8
- package/dist/chunks/{location-activity-75kcc234.js → vcs-2a602abw.js} +3 -3
- package/dist/chunks/{location-activity-sk1wsyc0.js → vcs-2ac9bhfe.js} +144 -45
- package/dist/chunks/{location-activity-2fc7eemy.js → vcs-2fc7eemy.js} +1 -1
- package/dist/chunks/{location-activity-gnda98wj.js → vcs-2g00j4kp.js} +19 -19
- package/dist/chunks/{location-activity-pb8daj1x.js → vcs-2prt43t7.js} +3 -1
- package/dist/chunks/{location-activity-9patswq3.js → vcs-2rwes0j6.js} +21 -21
- package/dist/chunks/{location-activity-65f036v7.js → vcs-2sc4vp01.js} +23 -23
- package/dist/chunks/{location-activity-2va0az3e.js → vcs-2w2td8xf.js} +25 -12
- package/dist/chunks/{location-activity-nzwmfvkc.js → vcs-2yfjehyw.js} +18 -18
- package/dist/chunks/{location-activity-7a45b9s1.js → vcs-34jmrg3g.js} +10 -10
- package/dist/chunks/{location-activity-81xpsfpw.js → vcs-352j0mbq.js} +7 -7
- package/dist/chunks/{location-activity-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-tmc7xdjs.js → vcs-3nnrz6f6.js} +4 -4
- package/dist/chunks/{location-activity-7vjjsggp.js → vcs-3tz9w9wn.js} +3 -3
- package/dist/chunks/{location-activity-4fvxkjpf.js → vcs-42kc27wm.js} +32 -32
- package/dist/chunks/{location-activity-2yvt6v2s.js → vcs-43xe0kmm.js} +6 -6
- package/dist/chunks/{location-activity-wpvhb4mw.js → vcs-49x6xjmj.js} +53 -53
- package/dist/chunks/{location-activity-4dx1dgte.js → vcs-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-activity-4f25tdd0.js → vcs-4f25tdd0.js} +1 -1
- package/dist/chunks/{location-activity-azbrxdsa.js → vcs-4m173h4a.js} +4 -4
- package/dist/chunks/{location-activity-z8hz2rvm.js → vcs-4m1thj7j.js} +14 -14
- package/dist/chunks/{location-activity-nttn14j9.js → vcs-4pw98qd4.js} +4 -4
- package/dist/chunks/{location-activity-4pyp9zr9.js → vcs-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-activity-q8j6hn0v.js → vcs-4qmhdsrr.js} +30 -30
- package/dist/chunks/{location-activity-47yxgmye.js → vcs-4rqydwy9.js} +9 -9
- package/dist/chunks/{location-activity-hqrc2baf.js → vcs-4sbg4377.js} +33 -33
- package/dist/chunks/{location-activity-4v008n1t.js → vcs-4v008n1t.js} +1 -1
- package/dist/chunks/{location-activity-40cqa2b9.js → vcs-4xjdjntw.js} +8 -8
- package/dist/chunks/{location-activity-keqfffms.js → vcs-4xtj2fxj.js} +15 -15
- package/dist/chunks/{location-activity-j34hwhf1.js → vcs-534rpm4j.js} +16 -16
- package/dist/chunks/{location-activity-2rj26xgs.js → vcs-58d3t39r.js} +13 -13
- package/dist/chunks/{location-activity-cy9kmfpk.js → vcs-5d1cx7j8.js} +5 -5
- package/dist/chunks/{location-activity-m55fbe5c.js → vcs-5jhjzfke.js} +5 -5
- package/dist/chunks/{location-activity-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-activity-vmxsyvj6.js → vcs-5n0rnk8e.js} +4 -4
- package/dist/chunks/{location-activity-xy63rwa2.js → vcs-5wf5b6nt.js} +5 -5
- package/dist/chunks/{location-activity-0ma0x37k.js → vcs-5zx96zkz.js} +4 -4
- package/dist/chunks/{location-activity-msaeewhc.js → vcs-660anf5p.js} +26 -26
- package/dist/chunks/{location-activity-0hxcpwt2.js → vcs-661vk301.js} +5 -3
- package/dist/chunks/{location-activity-rg3a21bt.js → vcs-6k6af9f2.js} +15 -15
- package/dist/chunks/{location-activity-6bk60ymy.js → vcs-6k8gzseq.js} +15 -15
- package/dist/chunks/{location-activity-jdvnekkx.js → vcs-6tjap5hj.js} +36 -36
- package/dist/chunks/{location-activity-qeykm4ef.js → vcs-6vvgyz1b.js} +3 -3
- package/dist/chunks/{location-activity-wvr8xscb.js → vcs-6y2b864j.js} +4 -4
- package/dist/chunks/{location-activity-y9dxj5hx.js → vcs-75b2pg4z.js} +20 -20
- package/dist/chunks/{location-activity-kzarts6c.js → vcs-75c7nxbn.js} +14 -14
- package/dist/chunks/{location-activity-p3hzp7sb.js → vcs-769kdwpb.js} +26 -26
- package/dist/chunks/{location-activity-80mg3ag8.js → vcs-775hqbnd.js} +3 -3
- package/dist/chunks/{location-activity-w30hge0x.js → vcs-79zsgxar.js} +7 -7
- package/dist/chunks/{location-activity-kmpqz1v9.js → vcs-7a5eg1t8.js} +8 -8
- package/dist/chunks/{location-activity-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-vw4vx41s.js → vcs-7c4t55kb.js} +9 -9
- package/dist/chunks/vcs-7g0y79k5.js +26 -0
- package/dist/chunks/{location-activity-n97zh6d4.js → vcs-7gb5gn5w.js} +11 -11
- package/dist/chunks/{location-activity-tzw9b24f.js → vcs-7kpykc0q.js} +22 -22
- package/dist/chunks/{location-activity-nnzapfh6.js → vcs-7n9wgq6s.js} +25 -25
- package/dist/chunks/{location-activity-5v11gha6.js → vcs-7rtaxsj0.js} +15 -15
- package/dist/chunks/{location-activity-e63rktft.js → vcs-7s9cna6k.js} +5 -5
- package/dist/chunks/{location-activity-7w2ypzdf.js → vcs-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-activity-7weczvnd.js → vcs-7weczvnd.js} +1 -1
- package/dist/chunks/{location-activity-h115jkmr.js → vcs-7x1awmpz.js} +14 -14
- package/dist/chunks/{location-activity-qmyjm0e6.js → vcs-7zg0ntxq.js} +16 -16
- package/dist/chunks/{location-activity-80pdk984.js → vcs-80pdk984.js} +1 -1
- package/dist/chunks/{location-activity-85jq8dht.js → vcs-85jq8dht.js} +1 -1
- package/dist/chunks/{location-activity-p5tk1xdz.js → vcs-87kxp3gn.js} +11 -11
- package/dist/chunks/{location-activity-8b3vzgkx.js → vcs-8b3vzgkx.js} +1 -1
- package/dist/chunks/{location-activity-61prxpw3.js → vcs-8bgnr0we.js} +9 -9
- package/dist/chunks/{location-activity-ggx84v7x.js → vcs-8ctrpnmd.js} +6 -6
- package/dist/chunks/{location-activity-ytfzaq3h.js → vcs-8jex7vvx.js} +14 -14
- package/dist/chunks/{location-activity-8kjyvwy5.js → vcs-8kjyvwy5.js} +1 -1
- package/dist/chunks/{location-activity-vk9cahsx.js → vcs-8q41s33p.js} +23 -23
- package/dist/chunks/{location-activity-q95mpwpj.js → vcs-8qx2qdsd.js} +20 -20
- package/dist/chunks/{location-activity-8sxe6kv8.js → vcs-8sxe6kv8.js} +2 -2
- package/dist/chunks/{location-activity-8wtp7s3z.js → vcs-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-activity-gdk2kkzd.js → vcs-8zqzm5np.js} +12 -12
- package/dist/chunks/{location-activity-8zv0xmg5.js → vcs-8zv0xmg5.js} +1 -1
- package/dist/chunks/{location-activity-68cs06h1.js → vcs-963hk181.js} +5 -5
- package/dist/chunks/{location-activity-h63mf2pj.js → vcs-97qktgxb.js} +8 -8
- package/dist/chunks/{location-activity-r94sj6cp.js → vcs-97rz0s4b.js} +2 -2
- package/dist/chunks/{location-activity-0dvn80d6.js → vcs-9bfe2zxn.js} +24 -25
- package/dist/chunks/{location-activity-6g4w6g7e.js → vcs-9pjzs4bv.js} +16 -16
- package/dist/chunks/{location-activity-2q02zgmq.js → vcs-9r8p76cm.js} +26 -26
- package/dist/chunks/vcs-a610t88q.js +18 -0
- package/dist/chunks/{location-activity-nr5t2j9y.js → vcs-a8bdqvkf.js} +8 -8
- package/dist/chunks/{location-activity-7exb23vv.js → vcs-aag9968h.js} +10 -10
- package/dist/chunks/{location-activity-s1ba0vj0.js → vcs-ad21tgm2.js} +4 -4
- package/dist/chunks/{location-activity-9dcw8585.js → vcs-agebbq7k.js} +37 -37
- package/dist/chunks/{location-activity-hdgks5jc.js → vcs-ar15sb7x.js} +11 -11
- package/dist/chunks/{location-activity-qe7s52ph.js → vcs-axzm0hz5.js} +4 -4
- package/dist/chunks/{location-activity-ayjs7tqn.js → vcs-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-activity-jn6kbxpn.js → vcs-b46jyqag.js} +4 -4
- package/dist/chunks/{location-activity-26wfx3k0.js → vcs-ba5f9dy2.js} +4 -4
- package/dist/chunks/{location-activity-pv3986h3.js → vcs-bdqv4qrz.js} +5 -5
- package/dist/chunks/vcs-bjr2w07n.js +144 -0
- package/dist/chunks/{location-activity-xksw6ev0.js → vcs-brv6mkyx.js} +4 -4
- package/dist/chunks/{location-activity-bstexjd6.js → vcs-bstexjd6.js} +1 -1
- package/dist/chunks/{location-activity-w4edwzs6.js → vcs-bszd1e77.js} +5 -5
- package/dist/chunks/{location-activity-1vxp16ke.js → vcs-bv7ck5p0.js} +16 -16
- package/dist/chunks/{location-activity-mf8fyg0x.js → vcs-bz10jzr0.js} +30 -30
- package/dist/chunks/{location-activity-3th648yw.js → vcs-c42m1624.js} +12 -12
- package/dist/chunks/{location-activity-me73e0by.js → vcs-ca858e3w.js} +17 -17
- package/dist/chunks/{location-activity-h65mpq05.js → vcs-cfgd1geb.js} +31 -31
- package/dist/chunks/{location-activity-x9t0ynvq.js → vcs-crzksb96.js} +22 -22
- package/dist/chunks/{location-activity-11k5e8cr.js → vcs-csp4hhtk.js} +12 -12
- package/dist/chunks/{location-activity-5w76ffww.js → vcs-cv7ck33b.js} +32 -32
- package/dist/chunks/{location-activity-cwrgdav8.js → vcs-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-activity-d4v9tmah.js → vcs-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-activity-r6pfcaac.js → vcs-d4wz50jd.js} +74 -40
- package/dist/chunks/{location-activity-65g80aew.js → vcs-d4z9rf1y.js} +9 -9
- package/dist/chunks/{location-activity-7z9fy3fj.js → vcs-d5tkpntf.js} +10 -10
- package/dist/chunks/{location-activity-es5cpnhv.js → vcs-d79n75hr.js} +6 -6
- package/dist/chunks/{location-activity-k9wf7q91.js → vcs-dds9bkaw.js} +8 -8
- package/dist/chunks/{location-activity-4a6te6v5.js → vcs-djnah9fh.js} +23 -23
- package/dist/chunks/{location-activity-dt77769w.js → vcs-dt77769w.js} +1 -1
- package/dist/chunks/{location-activity-2n444ktb.js → vcs-dv250zvr.js} +2 -2
- package/dist/chunks/{location-activity-kgac02m6.js → vcs-dvvv4p01.js} +3 -3
- package/dist/chunks/{location-activity-bwr3xw82.js → vcs-dz7fr1ns.js} +5 -5
- package/dist/chunks/{location-activity-0t1c5a6x.js → vcs-e2y377nr.js} +10 -10
- package/dist/chunks/{location-activity-qdcw92xs.js → vcs-e4y9kzyf.js} +11 -11
- package/dist/chunks/{location-activity-sdtjj50m.js → vcs-e58pc0yg.js} +8 -8
- package/dist/chunks/vcs-e5rvhc3a.js +54 -0
- package/dist/chunks/{location-activity-v9tnwncv.js → vcs-e6wk82ha.js} +14 -14
- package/dist/chunks/{location-activity-08s7mc2h.js → vcs-eesa6bbt.js} +26 -26
- package/dist/chunks/{location-activity-4ak8h3nf.js → vcs-egg4dqh6.js} +5 -5
- package/dist/chunks/{location-activity-kmyxgdj8.js → vcs-ejk73nxj.js} +16 -16
- package/dist/chunks/{location-activity-f0wd56k0.js → vcs-en9j72hh.js} +79 -55
- package/dist/chunks/{location-activity-kzdam8c6.js → vcs-ep6pe98a.js} +7 -7
- package/dist/chunks/{location-activity-eqw4pqj1.js → vcs-eqw4pqj1.js} +2 -2
- package/dist/chunks/{location-activity-br73ffdd.js → vcs-erc02vma.js} +13 -13
- package/dist/chunks/{location-activity-65n9jqtg.js → vcs-etrnj9s7.js} +8 -8
- package/dist/chunks/{location-activity-aktxy66n.js → vcs-ev0a5txq.js} +16 -16
- package/dist/chunks/{location-activity-3861p289.js → vcs-fd15d2wr.js} +51 -51
- package/dist/chunks/{location-activity-ak54v7cm.js → vcs-ffwjzh0h.js} +20 -20
- package/dist/chunks/{location-activity-prq7xxp2.js → vcs-fg9p65nk.js} +6 -6
- package/dist/chunks/{location-activity-9ay6bv7n.js → vcs-fh2wy1nm.js} +14 -14
- package/dist/chunks/{location-activity-pcjz5rw4.js → vcs-fhy06wzc.js} +33 -33
- package/dist/chunks/{location-activity-t4ay2exb.js → vcs-fpk22jqa.js} +6 -6
- package/dist/chunks/{location-activity-4zces15n.js → vcs-frhnvnsq.js} +21 -21
- package/dist/chunks/{location-activity-8phyhj48.js → vcs-g246v62s.js} +11 -11
- package/dist/chunks/{location-activity-mgz48a7z.js → vcs-g7y1q6xm.js} +29 -28
- package/dist/chunks/{location-activity-4g3sdj5g.js → vcs-g7zhrrp0.js} +8 -8
- package/dist/chunks/{location-activity-nyra3jrn.js → vcs-g945w6qm.js} +45 -45
- package/dist/chunks/{location-activity-gbjdnr5j.js → vcs-gbjdnr5j.js} +2 -2
- package/dist/chunks/{location-activity-hr1k69kw.js → vcs-gcc0fz8a.js} +23 -23
- package/dist/chunks/{location-activity-ghrv1g9c.js → vcs-ghrv1g9c.js} +1 -1
- package/dist/chunks/{location-activity-pa4jjrfj.js → vcs-gn0mm1bn.js} +10 -10
- package/dist/chunks/{location-activity-fag2pae9.js → vcs-gnvm8xfe.js} +96 -93
- package/dist/chunks/{location-activity-ntwjh2sf.js → vcs-gxf9zpwj.js} +9 -9
- package/dist/chunks/{location-activity-8rt0g2q0.js → vcs-gzpa45ne.js} +1 -1
- package/dist/chunks/{location-activity-z9m3agwm.js → vcs-h1cq7gze.js} +11 -11
- package/dist/chunks/{location-activity-bj78ahtb.js → vcs-h5gm5jf1.js} +7 -7
- package/dist/chunks/{location-activity-vvtf3kr8.js → vcs-hat5tb6s.js} +20 -20
- package/dist/chunks/{location-activity-ejhpn1zw.js → vcs-hgpjp92y.js} +17 -17
- package/dist/chunks/{location-activity-hgzwgvze.js → vcs-hgzwgvze.js} +2 -2
- package/dist/chunks/vcs-hhdn31zm.js +273 -0
- package/dist/chunks/{location-activity-tc12cntp.js → vcs-hj8t6bmj.js} +65 -82
- package/dist/chunks/{location-activity-zhcnn9f8.js → vcs-hr5fd93v.js} +19 -19
- package/dist/chunks/{location-activity-572yjfhb.js → vcs-ht3kpbye.js} +7 -7
- package/dist/chunks/{location-activity-rwg4d25z.js → vcs-hw0n80n0.js} +24 -24
- package/dist/chunks/{location-activity-fwjn606w.js → vcs-j1g9t5xr.js} +9 -9
- package/dist/chunks/{location-activity-e0ec3m7s.js → vcs-j2ktfpns.js} +33 -33
- package/dist/chunks/{location-activity-f5n884p5.js → vcs-j4vq1w59.js} +14 -14
- package/dist/chunks/{location-activity-htf1d8r0.js → vcs-j6mh7sc2.js} +12 -12
- package/dist/chunks/{location-activity-vecy8ha1.js → vcs-j7en239p.js} +37 -37
- package/dist/chunks/{location-activity-r17fbvme.js → vcs-j82m12k7.js} +7 -7
- package/dist/chunks/{location-activity-c7qezhgt.js → vcs-j8r9whvv.js} +54 -54
- package/dist/chunks/{location-activity-ze75qvmd.js → vcs-j9nxzz3g.js} +3 -3
- package/dist/chunks/{location-activity-j376ae4e.js → vcs-jht64jd1.js} +7 -7
- package/dist/chunks/{location-activity-jm70asfg.js → vcs-jm70asfg.js} +1 -1
- package/dist/chunks/{location-activity-f8r0krks.js → vcs-jmcf28dg.js} +7 -7
- package/dist/chunks/{location-activity-crfddmzc.js → vcs-k7fcp7vh.js} +8 -8
- package/dist/chunks/{location-activity-srbrtv12.js → vcs-k9tfbp0j.js} +4 -4
- package/dist/chunks/{location-activity-rkccq6en.js → vcs-kbbq81j9.js} +30 -30
- package/dist/chunks/{location-activity-kt3bjfbg.js → vcs-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-activity-g6qsprqz.js → vcs-kt4fd40n.js} +39 -39
- package/dist/chunks/{location-activity-kzczzf4v.js → vcs-kzczzf4v.js} +1 -1
- package/dist/chunks/{location-activity-m1714858.js → vcs-m1714858.js} +1 -1
- package/dist/chunks/{location-activity-zpdbqgja.js → vcs-m4p4r8nc.js} +26 -3
- package/dist/chunks/{location-activity-m90tx7mw.js → vcs-m90tx7mw.js} +1 -1
- package/dist/chunks/{location-activity-d8xwypsq.js → vcs-m98b2w92.js} +28 -28
- package/dist/chunks/{location-activity-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-mb7mbhnz.js → vcs-mb7mbhnz.js} +3 -3
- package/dist/chunks/{location-activity-6y7ahvt4.js → vcs-mjs7y9vr.js} +8 -8
- package/dist/chunks/{location-activity-69bhmmwc.js → vcs-ms056222.js} +52 -52
- package/dist/chunks/{location-activity-dq5x26wr.js → vcs-mx5nc67c.js} +16 -16
- package/dist/chunks/{location-activity-v6rpb2km.js → vcs-mzswv163.js} +9 -9
- package/dist/chunks/{location-activity-n320gsn2.js → vcs-n320gsn2.js} +1 -1
- package/dist/chunks/{location-activity-mk35zcws.js → vcs-n4x529g9.js} +29 -26
- package/dist/chunks/{location-activity-ggdqkh1w.js → vcs-n733vhbz.js} +13 -13
- package/dist/chunks/{location-activity-q7srkfd6.js → vcs-n8sp5sqr.js} +3 -3
- package/dist/chunks/{location-activity-4584vyzb.js → vcs-n9epf6fd.js} +18 -18
- package/dist/chunks/{location-activity-vrwpw4d9.js → vcs-nb5mevrm.js} +5 -5
- package/dist/chunks/{location-activity-vv8mgh6x.js → vcs-ncn4tbq7.js} +21 -21
- package/dist/chunks/{location-activity-zhbrm8j1.js → vcs-ne2703s1.js} +13 -13
- package/dist/chunks/{location-activity-zvsp5ejd.js → vcs-nejqwj7z.js} +20 -20
- package/dist/chunks/{location-activity-qz548dpg.js → vcs-njnh3p7p.js} +86 -86
- package/dist/chunks/{location-activity-95yav327.js → vcs-nmtdz1w0.js} +18 -18
- package/dist/chunks/{location-activity-8bcc8xgx.js → vcs-nq1mg43n.js} +3 -3
- package/dist/chunks/{location-activity-mgdfa8tn.js → vcs-nr4dvdgd.js} +28 -28
- package/dist/chunks/{location-activity-q1e8bp5e.js → vcs-nwzv5wm9.js} +41 -41
- package/dist/chunks/{location-activity-j05by2k7.js → vcs-nx3ph89n.js} +7 -7
- package/dist/chunks/{location-activity-msd83k1v.js → vcs-p3vqybhf.js} +193 -193
- package/dist/chunks/{location-activity-wxry0ce6.js → vcs-p4haqvv2.js} +33 -33
- package/dist/chunks/{location-activity-g81tfxfe.js → vcs-pakenzcq.js} +18 -18
- package/dist/chunks/{location-activity-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-0txpnr4q.js → vcs-pms3q1e3.js} +20 -20
- package/dist/chunks/{location-activity-vybxfazm.js → vcs-pqkf8d2t.js} +12 -12
- package/dist/chunks/{location-activity-0z8p57aa.js → vcs-q5cze1yy.js} +10 -10
- package/dist/chunks/{location-activity-jzpa2zq3.js → vcs-qm6e8xdp.js} +34 -34
- package/dist/chunks/{location-activity-qp7r0hxv.js → vcs-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-activity-vhrx5pgm.js → vcs-qq5qpn8n.js} +34 -34
- package/dist/chunks/{location-activity-0cqszewh.js → vcs-qqvgxt64.js} +12 -12
- package/dist/chunks/{location-activity-94e33dpz.js → vcs-qzxcgvak.js} +3 -3
- package/dist/chunks/{location-activity-gn6qas9s.js → vcs-r0wrga32.js} +8 -8
- package/dist/chunks/{location-activity-xcgh4dvn.js → vcs-r36bppx4.js} +16 -16
- package/dist/chunks/vcs-r403crat.js +587 -0
- package/dist/chunks/{location-activity-fv062e0v.js → vcs-r91xbvx0.js} +2 -2
- package/dist/chunks/{location-activity-4abn0bnk.js → vcs-ra2y9mrs.js} +23 -23
- package/dist/chunks/{location-activity-w87hzrb3.js → vcs-ra34yqmw.js} +6 -6
- package/dist/chunks/{location-activity-hy8c1z76.js → vcs-ra6js1h8.js} +8 -8
- package/dist/chunks/{location-activity-rb9dy4dg.js → vcs-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-activity-crw51rj8.js → vcs-ret8pyk0.js} +11 -11
- package/dist/chunks/{location-activity-d7kg89na.js → vcs-revxzz8f.js} +28 -28
- package/dist/chunks/{location-activity-whrvc5yt.js → vcs-rg8r5ec2.js} +13 -13
- package/dist/chunks/{location-activity-rgc9cx3e.js → vcs-rgc9cx3e.js} +2 -2
- package/dist/chunks/{location-activity-zdgd64s1.js → vcs-rnb8kwqq.js} +17 -17
- package/dist/chunks/{location-activity-60f00hw1.js → vcs-rqf8a69d.js} +24 -24
- package/dist/chunks/{location-activity-e43zzsea.js → vcs-ryx92xjx.js} +4 -4
- package/dist/chunks/{location-activity-qcsxmv3j.js → vcs-s2syzcpb.js} +23 -23
- package/dist/chunks/{location-activity-hzp4htwq.js → vcs-s30hgmaz.js} +20 -20
- package/dist/chunks/{location-activity-5whx36p1.js → vcs-s47rahr7.js} +4 -4
- package/dist/chunks/{location-activity-5hh7d9p8.js → vcs-s4nj6bfp.js} +31 -31
- package/dist/chunks/{location-activity-wb78an69.js → vcs-s9vy80gd.js} +11 -11
- package/dist/chunks/{location-activity-sbya78hr.js → vcs-sbya78hr.js} +1 -1
- package/dist/chunks/{location-activity-anvcme1c.js → vcs-sf9y72b7.js} +4 -4
- package/dist/chunks/{location-activity-40y6dtc2.js → vcs-sh9dx4s1.js} +4 -4
- package/dist/chunks/{location-activity-3vtan2xs.js → vcs-sj56zmpr.js} +16 -16
- package/dist/chunks/{location-activity-7qb1fq6e.js → vcs-sr7gka35.js} +28 -28
- package/dist/chunks/{location-activity-p8n4qmz2.js → vcs-ss6k3tnj.js} +7 -7
- package/dist/chunks/{location-activity-xec09xsk.js → vcs-sv43xx95.js} +15 -15
- package/dist/chunks/{location-activity-svcy3p9a.js → vcs-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-activity-8dbvkn8p.js → vcs-t6y3kvw8.js} +10 -10
- package/dist/chunks/{location-activity-y3p3hzkr.js → vcs-t8erkws8.js} +5 -5
- package/dist/chunks/{location-activity-1xbt38p9.js → vcs-t9veb6y1.js} +8 -8
- package/dist/chunks/{location-activity-4x785n8p.js → vcs-tagvt54e.js} +23 -23
- package/dist/chunks/{location-activity-tbpn7jtk.js → vcs-tbpn7jtk.js} +1 -1
- package/dist/chunks/{location-activity-tczq8hjw.js → vcs-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-activity-vx9fqhdy.js → vcs-tezkr1ww.js} +10 -10
- package/dist/chunks/{location-activity-gxs71cxp.js → vcs-tg7s7b5t.js} +4 -4
- package/dist/chunks/vcs-tkxx25dy.js +16 -0
- package/dist/chunks/vcs-tn2h78aa.js +40 -0
- package/dist/chunks/{location-activity-g4txs7zc.js → vcs-tp1jb13k.js} +7 -7
- package/dist/chunks/{location-activity-307g7cby.js → vcs-tspm938k.js} +18 -18
- package/dist/chunks/{location-activity-ttz31trp.js → vcs-ttz31trp.js} +2 -2
- package/dist/chunks/{location-activity-t40k5adv.js → vcs-tvhk9714.js} +40 -40
- package/dist/chunks/{location-activity-tvtps2q9.js → vcs-tvtps2q9.js} +1 -1
- package/dist/chunks/{location-activity-jxd6f16v.js → vcs-twhtcdx9.js} +4 -4
- package/dist/chunks/{location-activity-twssxy5n.js → vcs-twssxy5n.js} +2 -2
- package/dist/chunks/{location-activity-jhng9yhr.js → vcs-ty8fbjx7.js} +10 -10
- package/dist/chunks/{location-activity-v2r1d0zg.js → vcs-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-activity-6hd8dvqz.js → vcs-v50kv936.js} +17 -17
- package/dist/chunks/{location-activity-mz1cm3bt.js → vcs-v5ht8g08.js} +6 -6
- package/dist/chunks/{location-activity-8dfptpqb.js → vcs-v8bjwhbx.js} +4 -4
- package/dist/chunks/{location-activity-9y8xe00x.js → vcs-vdpgxjpq.js} +11 -11
- package/dist/chunks/{location-activity-xnw8sww6.js → vcs-vedk66pp.js} +4 -4
- package/dist/chunks/{location-activity-c3fqrk0x.js → vcs-vf3a4d8f.js} +21 -21
- package/dist/chunks/{location-activity-vjf35v1f.js → vcs-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-activity-qfz6bxfd.js → vcs-vmqe41cb.js} +4 -4
- package/dist/chunks/{location-activity-nb1gj9ac.js → vcs-vr9xw7pd.js} +16 -16
- package/dist/chunks/{location-activity-edat02hn.js → vcs-vrkes29y.js} +20 -20
- package/dist/chunks/{location-activity-c5zvymhv.js → vcs-vt2d6wap.js} +4 -4
- package/dist/chunks/{location-activity-9b9bbfhq.js → vcs-vt9sjb73.js} +28 -28
- package/dist/chunks/{location-activity-dkbzka62.js → vcs-vxy48rwm.js} +8 -8
- package/dist/chunks/{location-activity-d2eamxgc.js → vcs-w1cgrt0v.js} +46 -46
- package/dist/chunks/{location-activity-5enarcya.js → vcs-w2eysc6j.js} +6 -6
- package/dist/chunks/{location-activity-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/vcs-w5e50jre.js +334 -0
- package/dist/chunks/{location-activity-tmbr44c5.js → vcs-w6q11ycf.js} +12 -12
- package/dist/chunks/{location-activity-2kg89srt.js → vcs-w79nt68w.js} +4 -4
- package/dist/chunks/{location-activity-h26dq1rf.js → vcs-w819s37e.js} +6 -6
- package/dist/chunks/{location-activity-p030exqn.js → vcs-w9qq4h6z.js} +6 -6
- package/dist/chunks/{location-activity-p6a4tmtk.js → vcs-wa5tnss3.js} +39 -39
- package/dist/chunks/{location-activity-wakvkjy4.js → vcs-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-activity-32w3b1hj.js → vcs-watynpph.js} +38 -38
- package/dist/chunks/{location-activity-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-wegkxhrn.js → vcs-wegkxhrn.js} +2 -2
- package/dist/chunks/{location-activity-3y1d5ea0.js → vcs-wkb27y77.js} +15 -15
- package/dist/chunks/{location-activity-6csdnz4f.js → vcs-wksmdxa4.js} +8 -8
- package/dist/chunks/{location-activity-983a1rvz.js → vcs-wr6rz0q1.js} +5 -5
- package/dist/chunks/{location-activity-azxajdzf.js → vcs-ws808z13.js} +13 -13
- package/dist/chunks/{location-activity-kw911p39.js → vcs-wxedqf16.js} +18 -18
- package/dist/chunks/{location-activity-10pafdky.js → vcs-x9vxwf07.js} +10 -10
- package/dist/chunks/{location-activity-hdnm6hsc.js → vcs-xdq3k9fq.js} +43 -43
- package/dist/chunks/{location-activity-gerka9tj.js → vcs-xjbsd7zy.js} +9 -9
- package/dist/chunks/{location-activity-yx5mjfyw.js → vcs-xnpdacqs.js} +7 -7
- package/dist/chunks/{location-activity-yn98x6sz.js → vcs-xnwfp9ce.js} +25 -25
- package/dist/chunks/{location-activity-ybws1qgk.js → vcs-xp7vz6kd.js} +9 -9
- package/dist/chunks/{location-activity-259200je.js → vcs-xq3ayqx7.js} +14 -14
- package/dist/chunks/{location-activity-d13wb45y.js → vcs-xspgre18.js} +35 -38
- package/dist/chunks/{location-activity-xxschbft.js → vcs-xxschbft.js} +1 -1
- package/dist/chunks/{location-activity-7dh5wvxz.js → vcs-xxzh4c78.js} +27 -27
- package/dist/chunks/{location-activity-7nqkf5r1.js → vcs-xz07m27x.js} +2 -2
- package/dist/chunks/{location-activity-p4k1pvq2.js → vcs-xzvw6m7f.js} +25 -25
- package/dist/chunks/{location-activity-bh8de8tn.js → vcs-y29f4a28.js} +6 -6
- package/dist/chunks/{location-activity-7pnk6snw.js → vcs-y516jzpx.js} +4 -4
- package/dist/chunks/{location-activity-a3fn0gmm.js → vcs-y9c350ew.js} +2 -2
- package/dist/chunks/{location-activity-yb20nhc3.js → vcs-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-activity-z86xm8vj.js → vcs-yggg3kmz.js} +24 -24
- package/dist/chunks/{location-activity-9g2fb6aq.js → vcs-yknk0652.js} +47 -47
- package/dist/chunks/{location-activity-ayfytmn9.js → vcs-ynzdgah7.js} +5 -5
- package/dist/chunks/{location-activity-e57sgs6c.js → vcs-yqr0935n.js} +31 -31
- package/dist/chunks/{location-activity-yr705xyq.js → vcs-yr705xyq.js} +1 -1
- package/dist/chunks/{location-activity-g8t4vrb7.js → vcs-yt9dxrs0.js} +5 -5
- package/dist/chunks/{location-activity-yvtc2x31.js → vcs-yvtc2x31.js} +1 -1
- package/dist/chunks/{location-activity-z0wbgq7s.js → vcs-z0wbgq7s.js} +1 -1
- package/dist/chunks/{location-activity-3txg0pd7.js → vcs-z4cb48cy.js} +11 -11
- package/dist/chunks/{location-activity-g4qzwayf.js → vcs-z8w650j7.js} +46 -46
- package/dist/chunks/{location-activity-yfpbqyw8.js → vcs-zgxvemfr.js} +11 -11
- package/dist/chunks/{location-activity-f7yjcjcf.js → vcs-zhggxxnb.js} +2 -2
- package/dist/chunks/{location-activity-85krztkg.js → vcs-zmj0r39g.js} +33 -33
- package/dist/chunks/{location-activity-qzd5230r.js → vcs-zrefc17h.js} +4 -4
- package/dist/chunks/{location-activity-me215f18.js → vcs-zsycgpha.js} +1 -1
- package/dist/chunks/{location-activity-wy2y7272.js → vcs-ztf6n3de.js} +4 -4
- 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 +3 -3
- package/dist/codemode/tool.js +156 -156
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- 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 +246 -243
- package/dist/config/plugin/compaction.js +174 -174
- package/dist/config/plugin/compatibility.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +131 -131
- package/dist/config/plugin/location-watcher.js +133 -133
- package/dist/config/plugin/mcp.js +144 -144
- 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 +157 -157
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +88 -88
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +79 -79
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +78 -78
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +100 -100
- package/dist/effect/app-node-builder.js +449 -447
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +4 -4
- package/dist/filesystem/location-watcher.js +259 -255
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +134 -134
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +119 -119
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -105
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +440 -438
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -183
- package/dist/location-lifecycle.js +154 -154
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +437 -435
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +159 -159
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +147 -147
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +103 -91
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +160 -160
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +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 +118 -118
- 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 +155 -155
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +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 +250 -246
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +417 -414
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +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 +6 -6
- 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 +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +162 -162
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +241 -241
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +153 -153
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +429 -426
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +7 -7
- 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 +255 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +99 -99
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +255 -251
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +269 -265
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +133 -133
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +373 -317
- package/dist/session/execution/subagent-report.js +152 -0
- package/dist/session/execution.js +176 -172
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +153 -153
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +147 -147
- 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 +176 -172
- package/dist/session/projector.js +148 -147
- package/dist/session/prompt.js +152 -152
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +143 -143
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +262 -259
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +154 -154
- package/dist/session/runner/retry.js +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 +3 -3
- package/dist/session/session.js +196 -192
- package/dist/session/shell.js +151 -151
- package/dist/session/skill.js +153 -153
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +146 -146
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -1
- package/dist/session/subagent-job.js +172 -239
- package/dist/session/subagent-metadata.js +18 -0
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +256 -252
- package/dist/session/usage.js +1 -1
- package/dist/session.js +248 -244
- 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 +11 -11
- package/dist/shell.js +149 -149
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +155 -155
- package/dist/skill.js +160 -160
- package/dist/snapshot.js +106 -106
- package/dist/state.js +3 -3
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +189 -189
- package/dist/tool/plugin/artifact.js +245 -241
- package/dist/tool/plugin/edit.js +171 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +173 -173
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +254 -250
- package/dist/tool/plugin/mcp-events.js +166 -166
- package/dist/tool/plugin/mcp-resource.js +170 -170
- package/dist/tool/plugin/opencode.js +167 -167
- package/dist/tool/plugin/patch.js +172 -172
- package/dist/tool/plugin/question.js +152 -152
- package/dist/tool/plugin/read.js +176 -176
- package/dist/tool/plugin/schedule.js +261 -257
- package/dist/tool/plugin/shell.js +246 -242
- package/dist/tool/plugin/skill.js +161 -161
- package/dist/tool/plugin/subagent.js +252 -249
- package/dist/tool/plugin/todo.js +157 -157
- package/dist/tool/plugin/webfetch.js +161 -161
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +170 -170
- package/dist/tool/read-filesystem.js +116 -116
- 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/job/list.d.ts +2 -0
- package/dist/types/job.d.ts +30 -0
- package/dist/types/session/background.d.ts +26 -31
- package/dist/types/session/execution/subagent-report.d.ts +45 -0
- package/dist/types/session/execution.d.ts +2 -1
- package/dist/types/session/run-coordinator.d.ts +2 -0
- package/dist/types/session/store.d.ts +9 -0
- package/dist/types/session/subagent-completion.d.ts +16 -4
- package/dist/types/session/subagent-job.d.ts +5 -4
- package/dist/types/session/subagent-metadata.d.ts +22 -0
- package/dist/types/shell.d.ts +2 -2
- package/dist/types/tool/plugin/shell.d.ts +1 -2
- package/dist/types/tool/plugin/subagent.d.ts +2 -2
- package/dist/usage-limits.js +92 -92
- 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 +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- 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 +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +10 -10
- package/dist/chunks/location-activity-7yv5xa0k.js +0 -18
- package/dist/chunks/location-activity-dbbfs4xp.js +0 -378
- package/dist/chunks/location-activity-hwjeswzd.js +0 -73
- package/dist/chunks/location-activity-njxc53e0.js +0 -587
- package/dist/chunks/location-activity-rbrp5637.js +0 -273
- package/dist/chunks/location-activity-v75ctyf4.js +0 -26
- package/dist/chunks/location-activity-v7t8gep2.js +0 -16
- /package/dist/chunks/{location-activity-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kah00gy.js → vcs-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4qk9sjk2.js → vcs-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-5w3e23ze.js → vcs-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-activity-6agm2x70.js → vcs-6agm2x70.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-7rvsyqjv.js → vcs-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-beh6qq61.js → vcs-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cqv5kn06.js → vcs-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-ean2d8b5.js → vcs-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fkpq3x5p.js → vcs-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jwr30sdr.js → vcs-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-nh4v3znn.js → vcs-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-p71gwv9c.js → vcs-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-syrav9an.js → vcs-syrav9an.js} +0 -0
- /package/dist/chunks/{location-activity-t03h4f5z.js → vcs-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-activity-ty7weeps.js → vcs-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-activity-v2dnd5dt.js → vcs-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{location-activity-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-activity-vtarvj67.js → vcs-vtarvj67.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x4th4bpe.js → vcs-x4th4bpe.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → vcs-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-activity-zxpyjp51.js → vcs-zxpyjp51.js} +0 -0
- /package/dist/chunks/{location-activity-zz5vv3aq.js → vcs-zz5vv3aq.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
managesTransactionsNatively2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-gzpa45ne.js";
|
|
4
4
|
import {
|
|
5
5
|
makeWithDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-w9qq4h6z.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
apply4
|
|
9
|
+
} from "./vcs-e58pc0yg.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/database/database.ts
|
|
15
15
|
var exports_database = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_database, {
|
|
|
19
19
|
Service: () => Service94,
|
|
20
20
|
configured: () => configured14,
|
|
21
21
|
configuredClient: () => configuredClient2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer31,
|
|
23
23
|
layerFromClient: () => layerFromClient2,
|
|
24
24
|
node: () => node96
|
|
25
25
|
});
|
|
@@ -50,7 +50,7 @@ var databaseLayer = (lock) => Layer.effect(Service94, Effect.gen(function* () {
|
|
|
50
50
|
if (supportsForeignKeyToggle && !durableObject)
|
|
51
51
|
yield* db.run("PRAGMA foreign_keys = ON");
|
|
52
52
|
const semaphore = yield* lock;
|
|
53
|
-
yield* semaphore.withPermit(
|
|
53
|
+
yield* semaphore.withPermit(apply4(db));
|
|
54
54
|
return { db };
|
|
55
55
|
}).pipe(Effect.orDie));
|
|
56
56
|
var locks = new Map;
|
|
@@ -62,7 +62,7 @@ function lockFor(filename) {
|
|
|
62
62
|
locks.set(filename, lock);
|
|
63
63
|
return lock;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function layer31(options = { path: ":memory:" }) {
|
|
66
66
|
return Layer.unwrap(Effect.gen(function* () {
|
|
67
67
|
const provide = (filename) => databaseLayer(filename === ":memory:" ? Semaphore.make(1) : Effect.succeed(lockFor(filename))).pipe(Layer.provide(sqliteLayer({ filename })));
|
|
68
68
|
const filename = options.path ?? ":memory:";
|
|
@@ -86,7 +86,7 @@ async function restrictToOwner(filename) {
|
|
|
86
86
|
}
|
|
87
87
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
88
88
|
function configured14(options) {
|
|
89
|
-
return makeGlobalNode({ service: Service94, layer:
|
|
89
|
+
return makeGlobalNode({ service: Service94, layer: layer31(options), deps: [Global.node] });
|
|
90
90
|
}
|
|
91
91
|
function configuredClient2(client) {
|
|
92
92
|
return makeGlobalNode({
|
|
@@ -97,4 +97,4 @@ function configuredClient2(client) {
|
|
|
97
97
|
}
|
|
98
98
|
var node96 = configured14({ path: ":memory:" });
|
|
99
99
|
|
|
100
|
-
export { Options9, Service94,
|
|
100
|
+
export { Options9, Service94, layer31, layerFromClient2, configured14, configuredClient2, node96, exports_database };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
load4
|
|
3
|
+
} from "./vcs-jht64jd1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/probe.ts
|
|
9
9
|
var exports_probe = {};
|
|
@@ -38,7 +38,7 @@ var run2 = Effect.fn("ClaudeProbe.run")(function* (options) {
|
|
|
38
38
|
const stop = Promise.withResolvers();
|
|
39
39
|
return yield* Effect.acquireUseRelease(Effect.tryPromise({
|
|
40
40
|
try: async () => {
|
|
41
|
-
const { query } = await
|
|
41
|
+
const { query } = await load4();
|
|
42
42
|
return query({ prompt: waitFor(stop.promise), options: { ...options, persistSession: false } });
|
|
43
43
|
},
|
|
44
44
|
catch: (cause) => new ProbeError2({ cause })
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-7rvsyqjv.js";
|
|
4
4
|
import {
|
|
5
5
|
NotFound3,
|
|
6
6
|
WrongKind2,
|
|
7
7
|
Failed2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-svcy3p9a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service90
|
|
11
|
+
} from "./vcs-4m1thj7j.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service71
|
|
14
|
+
} from "./vcs-ffwjzh0h.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service69
|
|
17
|
+
} from "./vcs-7rtaxsj0.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service68,
|
|
20
20
|
readText2,
|
|
21
21
|
syncTextBom2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-ne2703s1.js";
|
|
23
23
|
import {
|
|
24
24
|
invocation2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service73
|
|
26
|
+
} from "./vcs-tvhk9714.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service70,
|
|
29
29
|
resolvePath2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-xzvw6m7f.js";
|
|
31
31
|
import {
|
|
32
32
|
fileDiff2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-6prwharc.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./vcs-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/plugin/patch.ts
|
|
39
39
|
var exports_patch = {};
|
|
40
40
|
__export(exports_patch, {
|
|
41
41
|
Applied: () => Applied2,
|
|
42
|
-
Input: () =>
|
|
43
|
-
Output: () =>
|
|
42
|
+
Input: () => Input11,
|
|
43
|
+
Output: () => Output8,
|
|
44
44
|
PatchTool: () => exports_patch,
|
|
45
|
-
Plugin: () =>
|
|
46
|
-
name: () =>
|
|
47
|
-
toModelContent: () =>
|
|
45
|
+
Plugin: () => Plugin14,
|
|
46
|
+
name: () => name11,
|
|
47
|
+
toModelContent: () => toModelContent5
|
|
48
48
|
});
|
|
49
49
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
50
50
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -111,8 +111,8 @@ eof_line: "*** End of File" LF
|
|
|
111
111
|
`;
|
|
112
112
|
|
|
113
113
|
// src/tool/plugin/patch.ts
|
|
114
|
-
var
|
|
115
|
-
var
|
|
114
|
+
var name11 = "patch";
|
|
115
|
+
var Input11 = Schema.Struct({
|
|
116
116
|
patchText: Schema.String.annotate({
|
|
117
117
|
description: "The full patch text describing add, update, and delete operations"
|
|
118
118
|
})
|
|
@@ -122,31 +122,31 @@ var Applied2 = Schema.Struct({
|
|
|
122
122
|
resource: Schema.String,
|
|
123
123
|
target: Schema.String
|
|
124
124
|
});
|
|
125
|
-
var
|
|
125
|
+
var Output8 = Schema.Struct({
|
|
126
126
|
applied: Schema.Array(Applied2),
|
|
127
127
|
files: Schema.Array(FileDiff.Info)
|
|
128
128
|
});
|
|
129
|
-
var
|
|
129
|
+
var toModelContent5 = (output) => [
|
|
130
130
|
"Success. Updated the following files:",
|
|
131
131
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
132
132
|
].join(`
|
|
133
133
|
`);
|
|
134
|
-
var
|
|
134
|
+
var Plugin14 = {
|
|
135
135
|
id: "opencode.tool.patch",
|
|
136
136
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
137
|
-
const environment = yield*
|
|
138
|
-
const access = yield*
|
|
139
|
-
const fileMutation = yield*
|
|
140
|
-
const formatter = yield*
|
|
141
|
-
const location = yield*
|
|
142
|
-
const permission = yield*
|
|
137
|
+
const environment = yield* Service71;
|
|
138
|
+
const access = yield* Service70;
|
|
139
|
+
const fileMutation = yield* Service68;
|
|
140
|
+
const formatter = yield* Service69;
|
|
141
|
+
const location = yield* Service90;
|
|
142
|
+
const permission = yield* Service73;
|
|
143
143
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
144
|
-
name:
|
|
144
|
+
name: name11,
|
|
145
145
|
options: { codemode: false, permission: "edit" },
|
|
146
146
|
description: patch_default,
|
|
147
|
-
input:
|
|
147
|
+
input: Input11,
|
|
148
148
|
freeform: { type: "lark", grammar: patch_grammar_default },
|
|
149
|
-
output:
|
|
149
|
+
output: Output8,
|
|
150
150
|
execute: (input, context) => {
|
|
151
151
|
const applied = [];
|
|
152
152
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -288,7 +288,7 @@ var Plugin46 = {
|
|
|
288
288
|
return { applied, files };
|
|
289
289
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
290
290
|
output,
|
|
291
|
-
content:
|
|
291
|
+
content: toModelContent5(output),
|
|
292
292
|
metadata: { files: output.files }
|
|
293
293
|
})), Effect.mapError(toolFailure2("Unable to apply patch")));
|
|
294
294
|
}
|
|
@@ -348,4 +348,4 @@ function trimDiff(diff) {
|
|
|
348
348
|
`);
|
|
349
349
|
}
|
|
350
350
|
|
|
351
|
-
export {
|
|
351
|
+
export { name11, Input11, Applied2, Output8, toModelContent5, Plugin14, exports_patch };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./vcs-g945w6qm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./vcs-7c4t55kb.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-tvtps2q9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin20
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin20 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service80;
|
|
26
|
+
const image = yield* Service56;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin8 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin20, exports_image };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions7 = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_instructions7, {
|
|
|
20
20
|
hash: () => hash2,
|
|
21
21
|
join: () => join2,
|
|
22
22
|
listUpdate: () => listUpdate2,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make35,
|
|
24
24
|
read: () => read5,
|
|
25
25
|
removed: () => removed2,
|
|
26
26
|
renderInitial: () => renderInitial2,
|
|
@@ -52,7 +52,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
var empty3 = [];
|
|
55
|
-
function
|
|
55
|
+
function make35(source) {
|
|
56
56
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
57
57
|
const encode = Schema.encodeSync(source.codec);
|
|
58
58
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -213,4 +213,4 @@ function requireText(key, kind, text) {
|
|
|
213
213
|
return text;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
216
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make35, combine2, read5, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, listUpdate2, exports_instructions7 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/fork-notice.ts
|
|
6
6
|
var exports_fork_notice = {};
|
|
7
7
|
__export(exports_fork_notice, {
|
|
8
8
|
ForkNoticePlugin: () => exports_fork_notice,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin48
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { SessionMessage } from "@opencode/schema/session-message";
|
|
@@ -18,7 +18,7 @@ This conversation is a fork of another conversation, copied up to the previous m
|
|
|
18
18
|
- Otherwise work normally: new tasks need no extra checks, branches or questions.
|
|
19
19
|
- If it's unclear whether this fork or the original should do something, ask.
|
|
20
20
|
</fork-notice>`;
|
|
21
|
-
var
|
|
21
|
+
var Plugin48 = define({
|
|
22
22
|
id: "opencode.fork-notice",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
24
24
|
yield* ctx.session.hook("fork", ({ sessionID }) => ctx.session.synthetic({
|
|
@@ -31,4 +31,4 @@ var Plugin30 = define({
|
|
|
31
31
|
})
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Plugin48, exports_fork_notice };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/language-model/usage.ts
|
|
6
6
|
var exports_usage = {};
|
|
7
7
|
__export(exports_usage, {
|
|
8
8
|
ClaudeUsage: () => exports_usage,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make13
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make13() {
|
|
12
12
|
const messages = new Map;
|
|
13
13
|
let last;
|
|
14
14
|
function update(id, usage) {
|
|
@@ -52,4 +52,4 @@ function make9() {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { make13, exports_usage };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make35,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-axzm0hz5.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
lookup2,
|
|
11
11
|
namespaceLine2,
|
|
12
12
|
cost2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-85jq8dht.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/codemode/instructions.ts
|
|
19
19
|
var exports_instructions4 = {};
|
|
@@ -125,7 +125,7 @@ var key = Key4.make("core/codemode");
|
|
|
125
125
|
var codec = Schema.toCodecJson(Summary2);
|
|
126
126
|
var make24 = (inventory) => {
|
|
127
127
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
128
|
-
return
|
|
128
|
+
return make35({
|
|
129
129
|
key,
|
|
130
130
|
codec,
|
|
131
131
|
read: Effect.succeed(catalog),
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import {
|
|
2
|
+
outstanding2
|
|
3
|
+
} from "./vcs-m4p4r8nc.js";
|
|
4
|
+
import {
|
|
5
|
+
SessionMessage2
|
|
6
|
+
} from "./vcs-gftt206x.js";
|
|
7
|
+
import {
|
|
8
|
+
SyntheticPayload2
|
|
9
|
+
} from "./vcs-660anf5p.js";
|
|
10
|
+
import {
|
|
11
|
+
NO_TEXT2,
|
|
12
|
+
text3,
|
|
13
|
+
formatBody2,
|
|
14
|
+
deliver2
|
|
15
|
+
} from "./vcs-1aryjtsy.js";
|
|
16
|
+
import {
|
|
17
|
+
notify2
|
|
18
|
+
} from "./vcs-tn2h78aa.js";
|
|
19
|
+
import {
|
|
20
|
+
__export
|
|
21
|
+
} from "./vcs-9rqn6x4v.js";
|
|
22
|
+
|
|
23
|
+
// src/session/execution/subagent-report.ts
|
|
24
|
+
var exports_subagent_report = {};
|
|
25
|
+
__export(exports_subagent_report, {
|
|
26
|
+
SubagentReport: () => exports_subagent_report,
|
|
27
|
+
make: () => make27
|
|
28
|
+
});
|
|
29
|
+
import { Effect, Result } from "effect";
|
|
30
|
+
var make27 = (deps) => {
|
|
31
|
+
const periods = new Map;
|
|
32
|
+
const started = (sessionID, period) => {
|
|
33
|
+
periods.set(sessionID, period);
|
|
34
|
+
};
|
|
35
|
+
const clear = (sessionID) => {
|
|
36
|
+
periods.delete(sessionID);
|
|
37
|
+
};
|
|
38
|
+
const resolveBody = Effect.fnUntraced(function* (sessionID, outcome, startedSeq, mode) {
|
|
39
|
+
if (outcome.type === "failed")
|
|
40
|
+
return { status: "error", body: outcome.error.message };
|
|
41
|
+
if (outcome.type === "interrupted")
|
|
42
|
+
return { status: "cancelled", body: "Subagent cancelled" };
|
|
43
|
+
const assistant = yield* deps.store.lastAssistantAfter({ sessionID, afterSeq: startedSeq }).pipe(Effect.result);
|
|
44
|
+
if (Result.isFailure(assistant))
|
|
45
|
+
return { status: "error", body: assistant.failure.message };
|
|
46
|
+
if (assistant.success !== undefined) {
|
|
47
|
+
return { status: "completed", body: text3(assistant.success) };
|
|
48
|
+
}
|
|
49
|
+
if (mode === "background")
|
|
50
|
+
return { status: "completed", body: NO_TEXT2 };
|
|
51
|
+
return;
|
|
52
|
+
});
|
|
53
|
+
const deliverReport = Effect.fnUntraced(function* (report) {
|
|
54
|
+
const parentID = report.recovery.parentSessionID;
|
|
55
|
+
if (!(yield* deps.store.get(parentID))) {
|
|
56
|
+
yield* deps.jobs.completeBackground(report.notificationID);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const delivered = yield* deliver2({
|
|
60
|
+
synthetic: (notice) => deps.inbox.admit({
|
|
61
|
+
id: notice.id ?? report.notificationID,
|
|
62
|
+
sessionID: notice.sessionID,
|
|
63
|
+
item: {
|
|
64
|
+
type: "synthetic",
|
|
65
|
+
payload: SyntheticPayload2.make({
|
|
66
|
+
text: notice.text,
|
|
67
|
+
description: notice.description,
|
|
68
|
+
metadata: notice.metadata
|
|
69
|
+
}),
|
|
70
|
+
delivery: "steer"
|
|
71
|
+
}
|
|
72
|
+
})
|
|
73
|
+
}, deps.jobs, report).pipe(Effect.as(true), Effect.catchTag("SessionInbox.LifecycleConflict", (conflict) => Effect.logWarning("Subagent report notification ID conflicted in parent inbox", {
|
|
74
|
+
childSessionID: report.recovery.childSessionID,
|
|
75
|
+
parentSessionID: parentID,
|
|
76
|
+
notificationID: report.notificationID,
|
|
77
|
+
conflict
|
|
78
|
+
}).pipe(Effect.as(false))), Effect.catchDefect((defect) => deps.store.get(parentID).pipe(Effect.flatMap((parent) => parent === undefined ? deps.jobs.completeBackground(report.notificationID).pipe(Effect.as(false)) : Effect.die(defect)))));
|
|
79
|
+
if (!delivered)
|
|
80
|
+
return;
|
|
81
|
+
const parent = yield* deps.store.get(parentID);
|
|
82
|
+
if (parent && !parent.revert)
|
|
83
|
+
yield* deps.wake(parentID);
|
|
84
|
+
});
|
|
85
|
+
const prepare = Effect.fnUntraced(function* (sessionID, outcome) {
|
|
86
|
+
const period = periods.get(sessionID);
|
|
87
|
+
periods.delete(sessionID);
|
|
88
|
+
const jobState = yield* deps.jobs.prepareSubagentReport(sessionID, period?.boundGeneration);
|
|
89
|
+
const initial = yield* deps.store.get(sessionID);
|
|
90
|
+
if (!initial?.parentID && jobState.mode === "none") {
|
|
91
|
+
return {
|
|
92
|
+
commit: () => deps.store.release(sessionID),
|
|
93
|
+
deliver: Effect.void
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
const running = initial?.parentID ? yield* outstanding2(deps.jobs, deps.store, sessionID, yield* deps.draining) : [];
|
|
97
|
+
const box = { postCommit: { type: "none" } };
|
|
98
|
+
const commit = () => Effect.gen(function* () {
|
|
99
|
+
box.postCommit = { type: "none" };
|
|
100
|
+
yield* deps.store.release(sessionID);
|
|
101
|
+
const child = yield* deps.store.get(sessionID);
|
|
102
|
+
const parent = child?.parentID ? yield* deps.store.get(child.parentID) : undefined;
|
|
103
|
+
if (!child?.parentID || !notify2(child.metadata) || !parent) {
|
|
104
|
+
if (jobState.mode === "background") {
|
|
105
|
+
yield* deps.jobs.deleteBackgroundRow(jobState.notificationID);
|
|
106
|
+
box.postCommit = { type: "cleanup", notificationID: jobState.notificationID };
|
|
107
|
+
}
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
const resolved = yield* resolveBody(sessionID, outcome, period?.startedSeq, jobState.mode);
|
|
111
|
+
if (!resolved)
|
|
112
|
+
return;
|
|
113
|
+
const formatted = formatBody2(resolved.body, child.id, running);
|
|
114
|
+
const recovery = jobState.mode === "background" ? jobState.recovery : {
|
|
115
|
+
kind: "subagent",
|
|
116
|
+
parentSessionID: child.parentID,
|
|
117
|
+
childSessionID: child.id,
|
|
118
|
+
agent: child.agent ?? "subagent",
|
|
119
|
+
description: child.title ?? "Subagent"
|
|
120
|
+
};
|
|
121
|
+
const report = {
|
|
122
|
+
notificationID: jobState.mode === "background" ? jobState.notificationID : SessionMessage2.ID.create(),
|
|
123
|
+
recovery,
|
|
124
|
+
status: resolved.status,
|
|
125
|
+
...resolved.status === "completed" ? { output: formatted } : { error: formatted },
|
|
126
|
+
...jobState.mode === "background" ? { startedAt: jobState.startedAt } : {}
|
|
127
|
+
};
|
|
128
|
+
yield* deps.jobs.recordSubagentReport(report);
|
|
129
|
+
box.postCommit = { type: "deliver", report };
|
|
130
|
+
});
|
|
131
|
+
const deliver = Effect.uninterruptible(Effect.suspend(() => {
|
|
132
|
+
const current = box.postCommit;
|
|
133
|
+
if (current.type === "none")
|
|
134
|
+
return Effect.void;
|
|
135
|
+
if (current.type === "cleanup")
|
|
136
|
+
return deps.jobs.completeBackground(current.notificationID);
|
|
137
|
+
return deliverReport(current.report);
|
|
138
|
+
}));
|
|
139
|
+
return { commit, deliver };
|
|
140
|
+
});
|
|
141
|
+
return { started, clear, prepare };
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
export { make27, exports_subagent_report };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/sync/record.ts
|
|
6
6
|
var exports_record = {};
|
|
7
7
|
__export(exports_record, {
|
|
8
8
|
SessionRecord: () => exports_record,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make10
|
|
10
10
|
});
|
|
11
11
|
import { Effect, Option, Schema } from "effect";
|
|
12
12
|
var Checkpoint = Schema.Struct({ hash: Schema.String, claudeMessageID: Schema.optional(Schema.String) });
|
|
@@ -15,7 +15,7 @@ var Record = Schema.Struct({
|
|
|
15
15
|
history: Schema.optional(Schema.Array(Checkpoint)),
|
|
16
16
|
interrupted: Schema.optional(Schema.Boolean)
|
|
17
17
|
});
|
|
18
|
-
function
|
|
18
|
+
function make10(storage) {
|
|
19
19
|
return {
|
|
20
20
|
get: Effect.fn("SessionRecord.get")(function* (sessionID) {
|
|
21
21
|
const saved = Schema.decodeUnknownOption(Record)(yield* storage.get(`sessions/${sessionID}`));
|
|
@@ -25,4 +25,4 @@ function make6(storage) {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { make10, exports_record };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-syrav9an.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/opencode-watches.ts
|
|
9
9
|
var exports_opencode_watches = {};
|
|
@@ -16,7 +16,7 @@ __export(exports_opencode_watches, {
|
|
|
16
16
|
WINDOW_LIMIT: () => WINDOW_LIMIT2,
|
|
17
17
|
fence: () => fence2,
|
|
18
18
|
header: () => header2,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make21,
|
|
20
20
|
shellTarget: () => shellTarget2
|
|
21
21
|
});
|
|
22
22
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -77,7 +77,7 @@ var Problem = Schema.Struct({ message: Schema.optional(Schema.String), limit: Sc
|
|
|
77
77
|
var ShellInput = Schema.Struct({ command: Schema.String });
|
|
78
78
|
var ShellOutput = Schema.Struct({ exit: Schema.optional(Schema.Number), output: Schema.String });
|
|
79
79
|
var hubs = new Map;
|
|
80
|
-
var
|
|
80
|
+
var make21 = Effect.fnUntraced(function* (ctx, http) {
|
|
81
81
|
const scope = yield* Scope.Scope;
|
|
82
82
|
let current;
|
|
83
83
|
const streakKey = (sessionID) => `watch-streak:${sessionID}`;
|
|
@@ -476,4 +476,4 @@ ${text}
|
|
|
476
476
|
${ticks}`;
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
export { header2, LEASE_CLOSE_CODE2, OVERSIZED_CLOSE_CODE2, ACK_LIMIT2, WINDOW_LIMIT2, PROMPT_LIMIT2,
|
|
479
|
+
export { header2, LEASE_CLOSE_CODE2, OVERSIZED_CLOSE_CODE2, ACK_LIMIT2, WINDOW_LIMIT2, PROMPT_LIMIT2, make21, shellTarget2, fence2, exports_opencode_watches };
|