@opencode/core 0.0.0-dev-520 → 0.0.0-dev-522
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +232 -232
- package/dist/bus.js +84 -84
- package/dist/chunks/{models-dev-2fs41t6z.js → model-retry-00s7gjcf.js} +50 -50
- package/dist/chunks/{models-dev-034tev2y.js → model-retry-034tev2y.js} +2 -2
- package/dist/chunks/{models-dev-9gqxw8aj.js → model-retry-03akfpcj.js} +54 -54
- package/dist/chunks/{models-dev-wsvvv98e.js → model-retry-040ahvwp.js} +18 -18
- package/dist/chunks/{models-dev-qeaxszy5.js → model-retry-046swykb.js} +42 -42
- package/dist/chunks/{models-dev-9apzdnmb.js → model-retry-05gcdst7.js} +34 -34
- package/dist/chunks/{models-dev-c6x7d2ts.js → model-retry-0ahs07zn.js} +4 -4
- package/dist/chunks/{models-dev-ybws1qgk.js → model-retry-0h86f0az.js} +4 -4
- package/dist/chunks/{models-dev-wr3re1en.js → model-retry-0h8y3ex8.js} +4 -4
- package/dist/chunks/{models-dev-4tbd29v9.js → model-retry-0j2whhmm.js} +2 -2
- package/dist/chunks/{models-dev-sqjzf8x2.js → model-retry-0j7gp832.js} +4 -4
- package/dist/chunks/{models-dev-mr0jha0m.js → model-retry-0m2wn4td.js} +36 -36
- package/dist/chunks/{models-dev-0ma9gw4f.js → model-retry-0ma9gw4f.js} +2 -2
- package/dist/chunks/{models-dev-g3z5509y.js → model-retry-0n28khqy.js} +9 -9
- package/dist/chunks/{models-dev-981kdm68.js → model-retry-0pkyagxm.js} +15 -15
- package/dist/chunks/{models-dev-r75f2j8n.js → model-retry-0qs2w0pq.js} +8 -8
- package/dist/chunks/{models-dev-3sypscef.js → model-retry-0shwd63d.js} +25 -25
- package/dist/chunks/{models-dev-bswkwm8e.js → model-retry-0tcj55vp.js} +11 -11
- package/dist/chunks/{models-dev-ss4ezae1.js → model-retry-0vhe3zz8.js} +8 -8
- package/dist/chunks/{models-dev-3x5spe7k.js → model-retry-0yrs0ja2.js} +14 -14
- package/dist/chunks/{models-dev-h2mnznzc.js → model-retry-133hy8g0.js} +6 -6
- package/dist/chunks/{models-dev-1aqsckx4.js → model-retry-1aqsckx4.js} +1 -1
- package/dist/chunks/{models-dev-7qc759fc.js → model-retry-1e7234jn.js} +16 -16
- package/dist/chunks/{models-dev-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
- package/dist/chunks/{models-dev-rxh89mcc.js → model-retry-1gz7zm0b.js} +11 -11
- package/dist/chunks/{models-dev-gnt81ytp.js → model-retry-1hzp2809.js} +32 -32
- package/dist/chunks/{models-dev-w92w94j6.js → model-retry-1qvny275.js} +59 -59
- package/dist/chunks/{models-dev-fnhzatmk.js → model-retry-1v68nqjc.js} +3 -3
- package/dist/chunks/{models-dev-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{models-dev-kf4nngv7.js → model-retry-1yh4cc2k.js} +4 -4
- package/dist/chunks/{models-dev-p7vhpwh8.js → model-retry-1yq9hg58.js} +5 -5
- package/dist/chunks/{models-dev-4jjmsy98.js → model-retry-21104yg0.js} +15 -15
- package/dist/chunks/{models-dev-q204edfg.js → model-retry-2379nghw.js} +18 -18
- package/dist/chunks/{models-dev-pxgdhbwc.js → model-retry-23ec8jz8.js} +14 -14
- package/dist/chunks/{models-dev-v7j91v3a.js → model-retry-26vw3nkf.js} +20 -20
- package/dist/chunks/{models-dev-pgbhde20.js → model-retry-2h6k8afz.js} +8 -8
- package/dist/chunks/{models-dev-r5eah90w.js → model-retry-2hccw83s.js} +16 -16
- package/dist/chunks/{models-dev-8e6emw52.js → model-retry-2t8sxxq3.js} +4 -4
- package/dist/chunks/{models-dev-76v2gmcj.js → model-retry-2tqrg817.js} +7 -7
- package/dist/chunks/{models-dev-ywt1ke3p.js → model-retry-2ywepbfj.js} +4 -4
- package/dist/chunks/{models-dev-jhjkb3m1.js → model-retry-2zt8ns9h.js} +21 -21
- package/dist/chunks/{models-dev-peex572r.js → model-retry-313pdhz2.js} +13 -13
- package/dist/chunks/{models-dev-em45wbby.js → model-retry-33v5y19x.js} +37 -37
- package/dist/chunks/{models-dev-1359n7vx.js → model-retry-3627dt3h.js} +24 -24
- package/dist/chunks/{models-dev-rp6t20zc.js → model-retry-3adw4bt5.js} +9 -9
- package/dist/chunks/{models-dev-539dw32x.js → model-retry-3bgf9gas.js} +4 -4
- package/dist/chunks/{models-dev-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{models-dev-qv8akf42.js → model-retry-3j3557gf.js} +26 -26
- package/dist/chunks/{models-dev-g0wazp6g.js → model-retry-3mc10hy0.js} +12 -12
- package/dist/chunks/{models-dev-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
- package/dist/chunks/{models-dev-r17fbvme.js → model-retry-3qgwywyc.js} +4 -4
- package/dist/chunks/{models-dev-3spf441s.js → model-retry-3spf441s.js} +1 -1
- package/dist/chunks/{models-dev-40y6dtc2.js → model-retry-40y6dtc2.js} +1 -1
- package/dist/chunks/{models-dev-t8zzer9k.js → model-retry-45fvmn93.js} +36 -36
- package/dist/chunks/{models-dev-4dx1dgte.js → model-retry-4dx1dgte.js} +1 -1
- package/dist/chunks/{models-dev-8b0kmznz.js → model-retry-4et74f6b.js} +5 -5
- package/dist/chunks/{models-dev-dpk9qt35.js → model-retry-4m58d2b7.js} +18 -18
- package/dist/chunks/{models-dev-astbbzr1.js → model-retry-4nhx1m4t.js} +35 -35
- package/dist/chunks/{models-dev-4pyp9zr9.js → model-retry-4pyp9zr9.js} +1 -1
- package/dist/chunks/{models-dev-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{models-dev-fnwek46t.js → model-retry-50d0hzz1.js} +11 -11
- package/dist/chunks/{models-dev-er5a95yb.js → model-retry-50eg523m.js} +5 -5
- package/dist/chunks/{models-dev-wpdhj81v.js → model-retry-510sqk2z.js} +18 -18
- package/dist/chunks/{models-dev-8yjdw37w.js → model-retry-52bq3fza.js} +15 -15
- package/dist/chunks/{models-dev-b8s66ae1.js → model-retry-55g2q5p5.js} +2 -2
- package/dist/chunks/{models-dev-aw9xxgb6.js → model-retry-56xvxeba.js} +22 -22
- package/dist/chunks/{models-dev-9zmdp3d4.js → model-retry-56z5jcfe.js} +9 -9
- package/dist/chunks/{models-dev-pr2jd1pw.js → model-retry-57xm15c5.js} +18 -18
- package/dist/chunks/{models-dev-qvtwmp4v.js → model-retry-58wf94jx.js} +6 -6
- package/dist/chunks/{models-dev-7sys7h1d.js → model-retry-5ax50e2x.js} +5 -5
- package/dist/chunks/{models-dev-9ne6s3an.js → model-retry-5ay8k29b.js} +5 -5
- package/dist/chunks/{models-dev-6v1smjzc.js → model-retry-5fcpfsvm.js} +13 -13
- package/dist/chunks/{models-dev-sgsrmr7j.js → model-retry-5kfyzpnv.js} +6 -6
- package/dist/chunks/{models-dev-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{models-dev-zyq2pv4t.js → model-retry-5n0rnk8e.js} +4 -4
- package/dist/chunks/{models-dev-zqxx6dne.js → model-retry-5nt4d42h.js} +25 -25
- package/dist/chunks/{models-dev-3ape71t3.js → model-retry-5pr10cy5.js} +4 -4
- package/dist/chunks/{models-dev-hh06s8kc.js → model-retry-5tktyjsz.js} +94 -94
- package/dist/chunks/{models-dev-79gmerh5.js → model-retry-5tsqkt8q.js} +43 -43
- package/dist/chunks/{models-dev-09036fj7.js → model-retry-65jde9q7.js} +24 -24
- package/dist/chunks/{models-dev-v7qrpdbz.js → model-retry-67x3kfmd.js} +11 -11
- package/dist/chunks/{models-dev-rsp5b9jc.js → model-retry-687fy18w.js} +9 -9
- package/dist/chunks/model-retry-6bshxcsx.js +18 -0
- package/dist/chunks/{models-dev-1vjf85yj.js → model-retry-6dz7wdar.js} +15 -15
- package/dist/chunks/{models-dev-t7bewc0e.js → model-retry-6f7h967y.js} +25 -25
- package/dist/chunks/{models-dev-akxcteqp.js → model-retry-6kfhwn66.js} +19 -19
- package/dist/chunks/{models-dev-cxh6dntt.js → model-retry-6tdmx8x3.js} +37 -37
- package/dist/chunks/{models-dev-81s489w9.js → model-retry-6wanefsy.js} +31 -31
- package/dist/chunks/{models-dev-mx3cdq66.js → model-retry-6xyc0kax.js} +18 -18
- package/dist/chunks/{models-dev-0zggth4t.js → model-retry-714sva13.js} +14 -14
- package/dist/chunks/{models-dev-775hqbnd.js → model-retry-775hqbnd.js} +3 -3
- package/dist/chunks/{models-dev-r8fawayg.js → model-retry-78bvm8j8.js} +21 -21
- package/dist/chunks/{models-dev-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/{models-dev-rsjed8mj.js → model-retry-7n50n386.js} +7 -7
- package/dist/chunks/{models-dev-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{models-dev-7weczvnd.js → model-retry-7weczvnd.js} +1 -1
- package/dist/chunks/{models-dev-9m7cabq7.js → model-retry-84p2h2nr.js} +13 -13
- package/dist/chunks/{models-dev-6pt1ptwp.js → model-retry-87n69sem.js} +1 -1
- package/dist/chunks/{models-dev-h3b857xk.js → model-retry-88kypjvy.js} +4 -4
- package/dist/chunks/{models-dev-89287pr7.js → model-retry-89287pr7.js} +1 -1
- package/dist/chunks/{models-dev-25h84942.js → model-retry-8b3vzgkx.js} +4 -4
- package/dist/chunks/{models-dev-840q9sv6.js → model-retry-8b6vc372.js} +37 -37
- package/dist/chunks/{models-dev-r8ggbrxb.js → model-retry-8c6wzkmq.js} +19 -19
- package/dist/chunks/{models-dev-8cg7mtm3.js → model-retry-8cg7mtm3.js} +1 -1
- package/dist/chunks/{models-dev-ev0qj6en.js → model-retry-8ghknd81.js} +17 -17
- package/dist/chunks/{models-dev-8sxe6kv8.js → model-retry-8sxe6kv8.js} +2 -2
- package/dist/chunks/{models-dev-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{models-dev-8s9ddmbv.js → model-retry-8y1x94rh.js} +33 -33
- package/dist/chunks/{models-dev-hxrgam12.js → model-retry-90khhth6.js} +27 -27
- package/dist/chunks/{models-dev-90zstvax.js → model-retry-90zstvax.js} +1 -1
- package/dist/chunks/{models-dev-963hk181.js → model-retry-963hk181.js} +2 -2
- package/dist/chunks/{models-dev-96djdqw5.js → model-retry-96djdqw5.js} +4 -4
- package/dist/chunks/{models-dev-5f4szecm.js → model-retry-96zbwb42.js} +16 -16
- package/dist/chunks/{models-dev-8z5tvkkr.js → model-retry-9gzp0nca.js} +6 -6
- package/dist/chunks/{models-dev-61qraad9.js → model-retry-9zwexsxs.js} +5 -5
- package/dist/chunks/{models-dev-t8qz6m67.js → model-retry-absdbppj.js} +18 -18
- package/dist/chunks/{models-dev-7vv88b08.js → model-retry-ahjhkwwj.js} +13 -13
- package/dist/chunks/{models-dev-4cvzngpb.js → model-retry-ak1hfr5m.js} +13 -13
- package/dist/chunks/{models-dev-mexxk2wp.js → model-retry-aqpm8sjd.js} +9 -9
- package/dist/chunks/{models-dev-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
- package/dist/chunks/{models-dev-65sf3f4v.js → model-retry-ayy9hq9v.js} +25 -25
- package/dist/chunks/{models-dev-b6vsg801.js → model-retry-b6vsg801.js} +2 -2
- package/dist/chunks/{models-dev-kkwyzymh.js → model-retry-b96e45z7.js} +12 -12
- package/dist/chunks/{models-dev-s320htan.js → model-retry-bbv7h0sc.js} +8 -8
- package/dist/chunks/{models-dev-4npamq5m.js → model-retry-bc1zr08q.js} +40 -40
- package/dist/chunks/{models-dev-q3dgr01p.js → model-retry-bh17g5gv.js} +43 -43
- package/dist/chunks/{models-dev-xksw6ev0.js → model-retry-brv6mkyx.js} +4 -4
- package/dist/chunks/{models-dev-52ybpzng.js → model-retry-bsmhfrg4.js} +4 -4
- package/dist/chunks/{models-dev-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
- package/dist/chunks/{models-dev-a4bc5ac1.js → model-retry-bwfka8tb.js} +17 -17
- package/dist/chunks/{models-dev-kf7akw68.js → model-retry-byj3h104.js} +27 -27
- package/dist/chunks/{models-dev-255d143x.js → model-retry-byr6f84d.js} +4 -4
- package/dist/chunks/{models-dev-vmfxk0v2.js → model-retry-bzbtkgr3.js} +88 -88
- package/dist/chunks/{models-dev-pnj7csk1.js → model-retry-cfgvgebt.js} +3 -3
- package/dist/chunks/{models-dev-k0key5ts.js → model-retry-chy84r4k.js} +38 -38
- package/dist/chunks/{models-dev-rh819e55.js → model-retry-cmgjhmvc.js} +9 -9
- package/dist/chunks/{models-dev-6gbkszb7.js → model-retry-ctk26xy0.js} +18 -18
- package/dist/chunks/{models-dev-cwrgdav8.js → model-retry-cwrgdav8.js} +2 -2
- package/dist/chunks/{models-dev-q3ssw6np.js → model-retry-d1tfjsd6.js} +3 -3
- package/dist/chunks/{models-dev-9rk65kh2.js → model-retry-d3m6k2ad.js} +25 -25
- package/dist/chunks/{models-dev-zys4cehd.js → model-retry-d44g1qb4.js} +17 -17
- package/dist/chunks/{models-dev-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{models-dev-hvdy8jqz.js → model-retry-d67xjgd2.js} +19 -19
- package/dist/chunks/{models-dev-2hkzaq4t.js → model-retry-dfj6hfj3.js} +48 -48
- package/dist/chunks/{models-dev-x0tcqka7.js → model-retry-dfxqvc4e.js} +5 -5
- package/dist/chunks/{models-dev-c5zvymhv.js → model-retry-dg5naf6e.js} +4 -4
- package/dist/chunks/{models-dev-xs8j6k38.js → model-retry-djqhmdnb.js} +4 -4
- package/dist/chunks/{models-dev-tvf2rn12.js → model-retry-dkpjsqx5.js} +6 -6
- package/dist/chunks/{models-dev-5xrnzrts.js → model-retry-dnern54h.js} +11 -11
- package/dist/chunks/{models-dev-scdss6xt.js → model-retry-ds3yqcse.js} +25 -25
- package/dist/chunks/{models-dev-dt77769w.js → model-retry-dt77769w.js} +1 -1
- package/dist/chunks/{models-dev-9a48jhr2.js → model-retry-dtne69m2.js} +10 -10
- package/dist/chunks/{models-dev-sp2np1b9.js → model-retry-dx1wjjx5.js} +87 -87
- package/dist/chunks/{models-dev-r7c1nz11.js → model-retry-dznv9wr0.js} +6 -6
- package/dist/chunks/{models-dev-b3y1efby.js → model-retry-e0jw5zf9.js} +32 -32
- package/dist/chunks/{models-dev-bte8jx51.js → model-retry-e3apafn0.js} +11 -11
- package/dist/chunks/{models-dev-e834z07m.js → model-retry-e834z07m.js} +1 -1
- package/dist/chunks/{models-dev-bx7j7a9m.js → model-retry-edccdjgn.js} +45 -45
- package/dist/chunks/{models-dev-8a0hrah6.js → model-retry-eev65t0h.js} +7 -7
- package/dist/chunks/{models-dev-wvc8twck.js → model-retry-eg2d7vgw.js} +23 -23
- package/dist/chunks/{models-dev-g31443cy.js → model-retry-eg634yz2.js} +9 -9
- package/dist/chunks/{models-dev-4myvxafj.js → model-retry-ene5d8sz.js} +28 -28
- package/dist/chunks/{models-dev-nn2nd58t.js → model-retry-ep6pe98a.js} +7 -7
- package/dist/chunks/{models-dev-eqw4pqj1.js → model-retry-eqw4pqj1.js} +2 -2
- package/dist/chunks/model-retry-er8gj22z.js +26 -0
- package/dist/chunks/{models-dev-qn2az2yf.js → model-retry-evw2arw5.js} +18 -18
- package/dist/chunks/{models-dev-82phgae0.js → model-retry-f32m8sjz.js} +5 -5
- package/dist/chunks/{models-dev-a8qn6zex.js → model-retry-f4zhj8dy.js} +7 -7
- package/dist/chunks/{models-dev-c7rfhgcz.js → model-retry-f5h1k6kg.js} +14 -14
- package/dist/chunks/{models-dev-5kv53nmy.js → model-retry-fep26vdr.js} +6 -6
- package/dist/chunks/{models-dev-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
- package/dist/chunks/{models-dev-fg9p65nk.js → model-retry-fg9p65nk.js} +2 -2
- package/dist/chunks/{models-dev-63n7yy89.js → model-retry-fh4mtqct.js} +19 -19
- package/dist/chunks/{models-dev-pccd8eww.js → model-retry-fjtt755v.js} +14 -14
- package/dist/chunks/{models-dev-pv2scne3.js → model-retry-fnctwaab.js} +353 -353
- package/dist/chunks/{models-dev-q1rqkjke.js → model-retry-fwv5jk54.js} +12 -12
- package/dist/chunks/{models-dev-jvqk8x80.js → model-retry-g1p8tryc.js} +11 -11
- package/dist/chunks/{models-dev-gbjdnr5j.js → model-retry-gbjdnr5j.js} +2 -2
- package/dist/chunks/{models-dev-7y7ccew4.js → model-retry-gdgh5wxk.js} +48 -48
- package/dist/chunks/{models-dev-ghrv1g9c.js → model-retry-ghrv1g9c.js} +1 -1
- package/dist/chunks/{models-dev-106hcjqa.js → model-retry-gpsveqwr.js} +15 -15
- package/dist/chunks/{models-dev-ewfdhmzg.js → model-retry-grkedb35.js} +14 -14
- package/dist/chunks/{models-dev-vcrsw2zb.js → model-retry-gvca9fq4.js} +40 -40
- package/dist/chunks/{models-dev-34awertv.js → model-retry-h4ng16ej.js} +18 -18
- package/dist/chunks/{models-dev-3y7pxfxj.js → model-retry-h5gm5jf1.js} +7 -7
- package/dist/chunks/{models-dev-f1kz5n9z.js → model-retry-hcjkd60y.js} +29 -29
- package/dist/chunks/{models-dev-y50kesw3.js → model-retry-hr3kczcs.js} +9 -9
- package/dist/chunks/{models-dev-3r3bfyep.js → model-retry-hvt5qccz.js} +9 -9
- package/dist/chunks/{models-dev-bmk8m4fm.js → model-retry-hx3v7gkd.js} +10 -10
- package/dist/chunks/{models-dev-j376ae4e.js → model-retry-j376ae4e.js} +1 -1
- package/dist/chunks/model-retry-j571r41k.js +265 -0
- package/dist/chunks/{models-dev-s9wwak1y.js → model-retry-j6hzybbs.js} +9 -9
- package/dist/chunks/{models-dev-j9nxzz3g.js → model-retry-j9nxzz3g.js} +3 -3
- package/dist/chunks/{models-dev-31xyd6qf.js → model-retry-jeg20vnb.js} +25 -25
- package/dist/chunks/{models-dev-k0g26cj3.js → model-retry-jffrhh9g.js} +31 -31
- package/dist/chunks/{models-dev-jhwp234h.js → model-retry-jhwp234h.js} +1 -1
- package/dist/chunks/{models-dev-jnhgr88h.js → model-retry-jnhgr88h.js} +4 -4
- package/dist/chunks/{models-dev-mf66fzzt.js → model-retry-jqsxth3s.js} +12 -12
- package/dist/chunks/{models-dev-jxd6f16v.js → model-retry-jxd6f16v.js} +2 -2
- package/dist/chunks/{models-dev-t57k599v.js → model-retry-k6ymtmb5.js} +5 -5
- package/dist/chunks/{models-dev-6vn20tjh.js → model-retry-k7k2wzdy.js} +19 -19
- package/dist/chunks/{models-dev-gbdjjg0a.js → model-retry-kanv5jxz.js} +11 -11
- package/dist/chunks/{models-dev-487rztgh.js → model-retry-kc4ez2ea.js} +8 -8
- package/dist/chunks/{models-dev-kh8gdsej.js → model-retry-kh8gdsej.js} +1 -1
- package/dist/chunks/{models-dev-wzfa06mn.js → model-retry-kj9n5bvh.js} +4 -4
- package/dist/chunks/{models-dev-aj87ytjx.js → model-retry-kkcrh3pd.js} +22 -22
- package/dist/chunks/{models-dev-ybnse77h.js → model-retry-kkmtmrgc.js} +11 -11
- package/dist/chunks/{models-dev-7nqkf5r1.js → model-retry-kmekj7m2.js} +4 -4
- package/dist/chunks/{models-dev-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
- package/dist/chunks/{models-dev-7vzd44ap.js → model-retry-kza4z7tg.js} +24 -24
- package/dist/chunks/{models-dev-kzczzf4v.js → model-retry-kzczzf4v.js} +1 -1
- package/dist/chunks/{models-dev-v4bj6baw.js → model-retry-kze6nzna.js} +7 -7
- package/dist/chunks/{models-dev-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{models-dev-80sna9qv.js → model-retry-m1drnt0x.js} +3 -3
- package/dist/chunks/{models-dev-vgsjjnks.js → model-retry-m1sd1nzj.js} +27 -27
- package/dist/chunks/{models-dev-jkaysv0d.js → model-retry-m8gg2r61.js} +17 -17
- package/dist/chunks/{models-dev-zq96bstz.js → model-retry-m979knme.js} +8 -8
- package/dist/chunks/{models-dev-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{models-dev-mb7mbhnz.js → model-retry-mb7mbhnz.js} +3 -3
- package/dist/chunks/{models-dev-r20jwzev.js → model-retry-mcvp24xr.js} +53 -53
- package/dist/chunks/{models-dev-ra5v2atr.js → model-retry-mepfg8er.js} +11 -11
- package/dist/chunks/{models-dev-w79nt68w.js → model-retry-mf63ygpr.js} +4 -4
- package/dist/chunks/{models-dev-p2xj0wk0.js → model-retry-mmmhs07p.js} +20 -20
- package/dist/chunks/{models-dev-abnct1zh.js → model-retry-mn48dts9.js} +12 -12
- package/dist/chunks/{models-dev-sbz71ybr.js → model-retry-mqe7nf5n.js} +3 -3
- package/dist/chunks/{models-dev-0stb90wm.js → model-retry-mt9pskbw.js} +8 -8
- package/dist/chunks/{models-dev-1v6fz6dm.js → model-retry-n2fh0ez3.js} +29 -29
- package/dist/chunks/{models-dev-hvrfvt7b.js → model-retry-n4rc99nq.js} +25 -25
- package/dist/chunks/{models-dev-faq72tte.js → model-retry-n6gzv18t.js} +31 -31
- package/dist/chunks/{models-dev-8xs47yqq.js → model-retry-n7yjqep5.js} +18 -18
- package/dist/chunks/{models-dev-4qtzh2rh.js → model-retry-n8c07vr4.js} +16 -16
- package/dist/chunks/{models-dev-yf95vf39.js → model-retry-nc4hvdtz.js} +24 -24
- package/dist/chunks/{models-dev-gmvx62js.js → model-retry-nj5362c0.js} +37 -37
- package/dist/chunks/{models-dev-kc4kqcjf.js → model-retry-npsqt33r.js} +8 -8
- package/dist/chunks/{models-dev-mabxvp1h.js → model-retry-p1x6snt1.js} +4 -4
- package/dist/chunks/{models-dev-qfqy0kvn.js → model-retry-p26htzqx.js} +8 -8
- package/dist/chunks/{models-dev-2b2r7h3k.js → model-retry-p2tvx8t7.js} +9 -9
- package/dist/chunks/{models-dev-xjrs91pg.js → model-retry-p5x5ke5n.js} +5 -5
- package/dist/chunks/{models-dev-d6sekhy9.js → model-retry-paj10b95.js} +60 -60
- package/dist/chunks/{models-dev-42skeddh.js → model-retry-pcz6jjc3.js} +20 -20
- package/dist/chunks/{models-dev-74n4v3v3.js → model-retry-pe2nkaqs.js} +20 -20
- package/dist/chunks/{models-dev-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{models-dev-fg4ay5g2.js → model-retry-pppy9358.js} +9 -9
- package/dist/chunks/{models-dev-xqgmm78d.js → model-retry-q4aaye94.js} +35 -35
- package/dist/chunks/{models-dev-mc5n3nb3.js → model-retry-q8gvdtzg.js} +9 -9
- package/dist/chunks/{models-dev-3hec83r0.js → model-retry-qf6vnvtz.js} +19 -19
- package/dist/chunks/{models-dev-qp7r0hxv.js → model-retry-qp7r0hxv.js} +1 -1
- package/dist/chunks/{models-dev-jtcprerj.js → model-retry-qphqztqn.js} +15 -15
- package/dist/chunks/{models-dev-wbyb22ag.js → model-retry-qpq3aa4d.js} +27 -27
- package/dist/chunks/{models-dev-qqvy8y24.js → model-retry-qqvy8y24.js} +1 -1
- package/dist/chunks/{models-dev-4w13b11v.js → model-retry-qst89rrd.js} +3 -3
- package/dist/chunks/{models-dev-a4h8tact.js → model-retry-qwz12hkq.js} +4 -4
- package/dist/chunks/{models-dev-wcag4vwh.js → model-retry-r343yv53.js} +5 -5
- package/dist/chunks/{models-dev-5reka6qy.js → model-retry-r3yd059b.js} +3 -3
- package/dist/chunks/{models-dev-4f25tdd0.js → model-retry-r542h3bh.js} +5 -5
- package/dist/chunks/{models-dev-anvcme1c.js → model-retry-r7f89qmp.js} +4 -4
- package/dist/chunks/{models-dev-j33ymfvv.js → model-retry-radt6btp.js} +8 -8
- package/dist/chunks/{models-dev-s52psbhr.js → model-retry-raq8tkwj.js} +2 -2
- package/dist/chunks/{models-dev-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{models-dev-rgc9cx3e.js → model-retry-rgc9cx3e.js} +2 -2
- package/dist/chunks/{models-dev-h5chy42v.js → model-retry-rj7jtxy8.js} +3 -3
- package/dist/chunks/{models-dev-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
- package/dist/chunks/{models-dev-qy87t5v3.js → model-retry-rz8v6ye2.js} +16 -16
- package/dist/chunks/{models-dev-5bsc4369.js → model-retry-rzrpwr1q.js} +28 -28
- package/dist/chunks/{models-dev-9637w9v6.js → model-retry-s0hsmfvj.js} +33 -33
- package/dist/chunks/{models-dev-s1ba0vj0.js → model-retry-s1ba0vj0.js} +2 -2
- package/dist/chunks/{models-dev-5ph14r3q.js → model-retry-s4n4vg8r.js} +38 -38
- package/dist/chunks/{models-dev-6vmc5w5e.js → model-retry-s5pb553a.js} +16 -16
- package/dist/chunks/{models-dev-5jv86pcw.js → model-retry-s7teqg5a.js} +34 -34
- package/dist/chunks/{models-dev-sa3fpqfw.js → model-retry-sa3fpqfw.js} +2 -2
- package/dist/chunks/{models-dev-sbya78hr.js → model-retry-sbya78hr.js} +1 -1
- package/dist/chunks/{models-dev-y8f2narr.js → model-retry-stsmc9a4.js} +29 -29
- package/dist/chunks/{models-dev-svcy3p9a.js → model-retry-svcy3p9a.js} +1 -1
- package/dist/chunks/{models-dev-xjtwrf13.js → model-retry-sx3k1r24.js} +12 -12
- package/dist/chunks/{models-dev-fwz1byk4.js → model-retry-t3qgac3j.js} +5 -5
- package/dist/chunks/{models-dev-ef1ecm8p.js → model-retry-t5ja9d0g.js} +24 -24
- package/dist/chunks/{models-dev-fjdt6ks7.js → model-retry-t6m54dwp.js} +5 -5
- package/dist/chunks/{models-dev-keay53sy.js → model-retry-ta7eff0d.js} +35 -35
- package/dist/chunks/{models-dev-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{models-dev-vt4r9rmy.js → model-retry-teav1bzy.js} +9 -9
- package/dist/chunks/{models-dev-gxs71cxp.js → model-retry-tg7s7b5t.js} +4 -4
- package/dist/chunks/{models-dev-j2npre74.js → model-retry-tgx2mcr0.js} +5 -5
- package/dist/chunks/{models-dev-tvtps2q9.js → model-retry-tvtps2q9.js} +1 -1
- package/dist/chunks/{models-dev-3sfw6cf3.js → model-retry-twp2mmjd.js} +25 -25
- package/dist/chunks/{models-dev-twssxy5n.js → model-retry-twssxy5n.js} +2 -2
- package/dist/chunks/{models-dev-xq7dcvvw.js → model-retry-tww5npzc.js} +6 -6
- package/dist/chunks/{models-dev-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
- package/dist/chunks/{models-dev-kmzgegqq.js → model-retry-v5hpj9dd.js} +8 -8
- package/dist/chunks/{models-dev-zz024c9m.js → model-retry-v8wxce3j.js} +18 -18
- package/dist/chunks/{models-dev-7whg59rv.js → model-retry-vgbhzz5z.js} +12 -12
- package/dist/chunks/{models-dev-rpw4ta0a.js → model-retry-vhbaker9.js} +25 -25
- package/dist/chunks/{models-dev-a1qwck5h.js → model-retry-vj50rhab.js} +8 -8
- package/dist/chunks/{models-dev-vjf35v1f.js → model-retry-vjf35v1f.js} +1 -1
- package/dist/chunks/{models-dev-n9daepbv.js → model-retry-vmrnw26k.js} +4 -4
- package/dist/chunks/{models-dev-rx5g8wpz.js → model-retry-vms99yab.js} +26 -26
- package/dist/chunks/{models-dev-wvr8xscb.js → model-retry-vwcz1f45.js} +5 -5
- package/dist/chunks/{models-dev-8wjgamp7.js → model-retry-vzppetdn.js} +6 -6
- package/dist/chunks/{models-dev-wvk702p0.js → model-retry-w00pmpz4.js} +11 -11
- package/dist/chunks/{models-dev-40za9wsf.js → model-retry-w2eysc6j.js} +9 -9
- package/dist/chunks/{models-dev-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{models-dev-hrfsj0r4.js → model-retry-w9df92qk.js} +11 -11
- package/dist/chunks/{models-dev-m7xh3h0x.js → model-retry-w9w8mt4n.js} +4 -4
- package/dist/chunks/{models-dev-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{models-dev-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{models-dev-wegkxhrn.js → model-retry-wegkxhrn.js} +2 -2
- package/dist/chunks/{models-dev-1xb40zjp.js → model-retry-weqc7sb9.js} +3 -3
- package/dist/chunks/{models-dev-wfdx5ztx.js → model-retry-wfdx5ztx.js} +1 -1
- package/dist/chunks/{models-dev-wnhgecwx.js → model-retry-wnhgecwx.js} +1 -1
- package/dist/chunks/{models-dev-2tnb6a64.js → model-retry-wtppas8f.js} +15 -15
- package/dist/chunks/{models-dev-rgq0m54q.js → model-retry-wv2cr0rm.js} +41 -41
- package/dist/chunks/{models-dev-kehqaged.js → model-retry-wxynfj5e.js} +14 -14
- package/dist/chunks/{models-dev-xst4s343.js → model-retry-x2ndfy6h.js} +11 -11
- package/dist/chunks/{models-dev-9rvj63pd.js → model-retry-x6xv13fq.js} +13 -13
- package/dist/chunks/{models-dev-71z9nzm5.js → model-retry-x9a09dck.js} +11 -11
- package/dist/chunks/{models-dev-e1134c7v.js → model-retry-xbrwr3dr.js} +23 -23
- package/dist/chunks/{models-dev-sx0fye2w.js → model-retry-xdg7qpd5.js} +21 -21
- package/dist/chunks/{models-dev-ffervyvx.js → model-retry-xmxf0jav.js} +25 -25
- package/dist/chunks/{models-dev-zncnjp2v.js → model-retry-xvjkaw2n.js} +10 -10
- package/dist/chunks/{models-dev-xjr6c8m4.js → model-retry-xxschbft.js} +4 -4
- package/dist/chunks/{models-dev-p44b0fhn.js → model-retry-y0cxba2k.js} +25 -25
- package/dist/chunks/{models-dev-fkpesatt.js → model-retry-y0f40vmx.js} +21 -21
- package/dist/chunks/{models-dev-8erb6nvp.js → model-retry-y346hdw2.js} +23 -23
- package/dist/chunks/{models-dev-m01chjt2.js → model-retry-y9p823a5.js} +21 -21
- package/dist/chunks/{models-dev-cq1cxh4j.js → model-retry-y9qqg13e.js} +6 -6
- package/dist/chunks/{models-dev-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{models-dev-v50y6bc1.js → model-retry-yb9qqmha.js} +8 -8
- package/dist/chunks/{models-dev-5t204jaz.js → model-retry-ympz6dt8.js} +5 -5
- package/dist/chunks/{models-dev-yr705xyq.js → model-retry-yr705xyq.js} +1 -1
- package/dist/chunks/{models-dev-v4wpm22p.js → model-retry-yr85y3b1.js} +11 -11
- package/dist/chunks/{models-dev-yvtc2x31.js → model-retry-yvtc2x31.js} +1 -1
- package/dist/chunks/{models-dev-jenq9tt8.js → model-retry-yzem1831.js} +191 -191
- package/dist/chunks/{models-dev-58kt7pn4.js → model-retry-z5tnba5f.js} +17 -17
- package/dist/chunks/{models-dev-91r8w5sh.js → model-retry-z9zvwr5a.js} +30 -30
- package/dist/chunks/{models-dev-76g2mt49.js → model-retry-zaaxhjqc.js} +31 -31
- package/dist/chunks/{models-dev-q8vpz88g.js → model-retry-zgv53tvs.js} +20 -20
- package/dist/chunks/{models-dev-nqk0wxmx.js → model-retry-zx68twwp.js} +19 -19
- package/dist/chunks/{models-dev-f470xfq6.js → model-retry-zx7hpb7p.js} +14 -14
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +234 -234
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +151 -151
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +130 -130
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/database.js +81 -81
- 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 +62 -62
- 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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +435 -435
- 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 +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +247 -247
- 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 +114 -114
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- 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 +426 -426
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +94 -94
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +423 -423
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +105 -105
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +104 -104
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +149 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +238 -238
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +402 -402
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- 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 +1 -1
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +157 -157
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- 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 +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +414 -414
- 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 +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +245 -245
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +243 -243
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -251
- 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 +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +200 -200
- 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 +248 -248
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +202 -202
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +143 -143
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +252 -252
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +180 -180
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +86 -86
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +231 -231
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +245 -245
- package/dist/session/usage.js +3 -3
- package/dist/session.js +237 -237
- 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 +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +106 -106
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +180 -180
- package/dist/tool/plugin/artifact.js +230 -230
- package/dist/tool/plugin/edit.js +167 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +249 -249
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +238 -238
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +168 -168
- 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 +161 -161
- 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 +105 -105
- 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 +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +89 -89
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- 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 +107 -107
- package/package.json +8 -8
- package/dist/chunks/models-dev-js390b3d.js +0 -265
- package/dist/chunks/models-dev-mg70ty3v.js +0 -26
- package/dist/chunks/models-dev-z7bdqmx5.js +0 -18
- /package/dist/chunks/{models-dev-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{models-dev-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{models-dev-108x4f4w.js → model-retry-108x4f4w.js} +0 -0
- /package/dist/chunks/{models-dev-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{models-dev-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{models-dev-1kah00gy.js → model-retry-1kah00gy.js} +0 -0
- /package/dist/chunks/{models-dev-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{models-dev-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{models-dev-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
- /package/dist/chunks/{models-dev-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{models-dev-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{models-dev-3af0jn4w.js → model-retry-3af0jn4w.js} +0 -0
- /package/dist/chunks/{models-dev-3asan66x.js → model-retry-3asan66x.js} +0 -0
- /package/dist/chunks/{models-dev-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{models-dev-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
- /package/dist/chunks/{models-dev-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{models-dev-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{models-dev-4qk9sjk2.js → model-retry-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{models-dev-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
- /package/dist/chunks/{models-dev-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{models-dev-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
- /package/dist/chunks/{models-dev-5w3e23ze.js → model-retry-5w3e23ze.js} +0 -0
- /package/dist/chunks/{models-dev-6agm2x70.js → model-retry-6agm2x70.js} +0 -0
- /package/dist/chunks/{models-dev-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{models-dev-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{models-dev-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{models-dev-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{models-dev-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{models-dev-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{models-dev-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{models-dev-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{models-dev-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{models-dev-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{models-dev-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{models-dev-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
- /package/dist/chunks/{models-dev-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
- /package/dist/chunks/{models-dev-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
- /package/dist/chunks/{models-dev-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{models-dev-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{models-dev-beh6qq61.js → model-retry-beh6qq61.js} +0 -0
- /package/dist/chunks/{models-dev-bhmrqjy3.js → model-retry-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{models-dev-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{models-dev-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{models-dev-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{models-dev-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
- /package/dist/chunks/{models-dev-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{models-dev-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{models-dev-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{models-dev-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
- /package/dist/chunks/{models-dev-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{models-dev-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{models-dev-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{models-dev-ean2d8b5.js → model-retry-ean2d8b5.js} +0 -0
- /package/dist/chunks/{models-dev-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{models-dev-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{models-dev-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{models-dev-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{models-dev-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{models-dev-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{models-dev-fkpq3x5p.js → model-retry-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{models-dev-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
- /package/dist/chunks/{models-dev-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{models-dev-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{models-dev-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{models-dev-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{models-dev-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{models-dev-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{models-dev-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{models-dev-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{models-dev-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{models-dev-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{models-dev-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
- /package/dist/chunks/{models-dev-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{models-dev-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{models-dev-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{models-dev-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{models-dev-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{models-dev-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{models-dev-nh4v3znn.js → model-retry-nh4v3znn.js} +0 -0
- /package/dist/chunks/{models-dev-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{models-dev-p71gwv9c.js → model-retry-p71gwv9c.js} +0 -0
- /package/dist/chunks/{models-dev-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{models-dev-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{models-dev-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
- /package/dist/chunks/{models-dev-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{models-dev-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{models-dev-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{models-dev-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{models-dev-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{models-dev-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{models-dev-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{models-dev-syrav9an.js → model-retry-syrav9an.js} +0 -0
- /package/dist/chunks/{models-dev-t03h4f5z.js → model-retry-t03h4f5z.js} +0 -0
- /package/dist/chunks/{models-dev-ty7weeps.js → model-retry-ty7weeps.js} +0 -0
- /package/dist/chunks/{models-dev-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{models-dev-vtarvj67.js → model-retry-vtarvj67.js} +0 -0
- /package/dist/chunks/{models-dev-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{models-dev-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{models-dev-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{models-dev-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{models-dev-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
- /package/dist/chunks/{models-dev-x61499pn.js → model-retry-x61499pn.js} +0 -0
- /package/dist/chunks/{models-dev-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{models-dev-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{models-dev-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{models-dev-z0h12gs8.js → model-retry-z0h12gs8.js} +0 -0
- /package/dist/chunks/{models-dev-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{models-dev-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
- /package/dist/chunks/{models-dev-zxpyjp51.js → model-retry-zxpyjp51.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
real2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-96djdqw5.js";
|
|
4
4
|
import {
|
|
5
5
|
registry2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-0pkyagxm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
make8
|
|
9
|
+
} from "./model-retry-y9qqg13e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service87
|
|
12
|
+
} from "./model-retry-714sva13.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
register8,
|
|
15
15
|
connection2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-qf6vnvtz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
register5
|
|
19
|
+
} from "./model-retry-f4zhj8dy.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
register6
|
|
22
|
+
} from "./model-retry-687fy18w.js";
|
|
23
23
|
import {
|
|
24
24
|
register4
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-retry-1yh4cc2k.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
register7
|
|
28
|
+
} from "./model-retry-5kfyzpnv.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service70
|
|
31
|
+
} from "./model-retry-pe2nkaqs.js";
|
|
32
32
|
import {
|
|
33
33
|
spawner2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-0h8y3ex8.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/claude-agent/index.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
38
38
|
import { Effect, Option, Stream } from "effect";
|
|
39
39
|
var ID2 = "opencode.provider.claude-agent";
|
|
40
|
-
var
|
|
40
|
+
var make7 = (io, registry = registry2()) => define({
|
|
41
41
|
id: ID2,
|
|
42
42
|
effect: Effect.fn("ClaudeAgent.Plugin")(function* (ctx) {
|
|
43
|
-
const environment = yield* Effect.serviceOption(
|
|
44
|
-
const location = yield* Effect.serviceOption(
|
|
43
|
+
const environment = yield* Effect.serviceOption(Service70);
|
|
44
|
+
const location = yield* Effect.serviceOption(Service87);
|
|
45
45
|
if (Option.isSome(location) && location.value.workspaceID !== undefined)
|
|
46
46
|
return;
|
|
47
47
|
if (Option.isSome(environment) && environment.value.spawner === spawner2)
|
|
48
48
|
return;
|
|
49
|
-
const status = yield*
|
|
49
|
+
const status = yield* make8(io, () => connection2(ctx));
|
|
50
50
|
const sessions = yield* registry.attach({ io, status, storage: ctx.storage, directory: ctx.location.directory });
|
|
51
51
|
yield* ctx.event.subscribe({
|
|
52
52
|
types: ["session.execution.succeeded", "session.execution.failed", "session.execution.interrupted"]
|
|
53
53
|
}).pipe(Stream.runForEach((event) => sessions.idle(event.data.sessionID)), Effect.forkScoped({ startImmediately: true }));
|
|
54
|
-
yield*
|
|
54
|
+
yield* register8(ctx, status, io);
|
|
55
55
|
yield* register4(ctx, status);
|
|
56
|
-
yield*
|
|
57
|
-
yield*
|
|
58
|
-
yield*
|
|
56
|
+
yield* register5(ctx, sessions);
|
|
57
|
+
yield* register7(ctx);
|
|
58
|
+
yield* register6(ctx);
|
|
59
59
|
})
|
|
60
60
|
});
|
|
61
|
-
var ClaudeAgentPlugin2 =
|
|
61
|
+
var ClaudeAgentPlugin2 = make7(real2);
|
|
62
62
|
|
|
63
|
-
export { ID2,
|
|
63
|
+
export { ID2, make7, ClaudeAgentPlugin2 };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service89,
|
|
9
|
+
node92
|
|
10
|
+
} from "./model-retry-vgbhzz5z.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service87,
|
|
13
|
+
node90
|
|
14
|
+
} from "./model-retry-714sva13.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-retry-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID9,
|
|
27
|
+
Service: () => Service42,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node45,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID9 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service42 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service89;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service87;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID9.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
141
141
|
for (const [file, snapshot] of input.files) {
|
|
142
142
|
const absolute = path.resolve(worktree, file);
|
|
143
143
|
if (!FSUtil.contains(worktree, absolute))
|
|
144
|
-
return yield* new
|
|
144
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
145
145
|
files.set(file, TreeID2.make(snapshot));
|
|
146
146
|
}
|
|
147
147
|
return files;
|
|
148
148
|
});
|
|
149
149
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
150
150
|
if (!enabled())
|
|
151
|
-
return yield* new
|
|
151
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node45 = makeLocationNode({
|
|
158
|
+
service: Service42,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node92, Global.node, node90]
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer3 = Layer.succeed(Service85, Service85.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error2({
|
|
174
174
|
operation,
|
|
175
175
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
176
176
|
cause
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID9, Error2, Service42, node45, noopLayer2, exports_snapshot2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
load3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-j376ae4e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/probe.ts
|
|
9
9
|
var exports_probe = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service87
|
|
6
|
+
} from "./model-retry-714sva13.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
11
|
makeFiles2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-retry-rgc9cx3e.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-retry-twssxy5n.js";
|
|
16
16
|
import {
|
|
17
17
|
invocation2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service71
|
|
19
|
+
} from "./model-retry-gvca9fq4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service68
|
|
22
|
+
} from "./model-retry-n4rc99nq.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service7
|
|
25
|
+
} from "./model-retry-ayy9hq9v.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
ID10,
|
|
28
28
|
uri2,
|
|
29
29
|
isUri2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service66
|
|
31
|
+
} from "./model-retry-qpq3aa4d.js";
|
|
32
32
|
import {
|
|
33
33
|
isSafeSegment2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-3adw4bt5.js";
|
|
35
35
|
import {
|
|
36
36
|
BinaryFileError2,
|
|
37
37
|
MediaIngestLimitError2,
|
|
@@ -41,27 +41,27 @@ import {
|
|
|
41
41
|
FileContent2,
|
|
42
42
|
TextPage2,
|
|
43
43
|
ListPage2,
|
|
44
|
-
|
|
44
|
+
Service34,
|
|
45
45
|
read2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./model-retry-z5tnba5f.js";
|
|
47
47
|
import {
|
|
48
48
|
__export
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
50
50
|
|
|
51
51
|
// src/tool/plugin/read.ts
|
|
52
52
|
var exports_read = {};
|
|
53
53
|
__export(exports_read, {
|
|
54
|
-
Input: () =>
|
|
55
|
-
Plugin: () =>
|
|
54
|
+
Input: () => Input7,
|
|
55
|
+
Plugin: () => Plugin9,
|
|
56
56
|
ReadTool: () => exports_read,
|
|
57
|
-
name: () =>
|
|
58
|
-
toModelContent: () =>
|
|
57
|
+
name: () => name7,
|
|
58
|
+
toModelContent: () => toModelContent3
|
|
59
59
|
});
|
|
60
60
|
import { basename, dirname, join } from "path";
|
|
61
61
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
62
62
|
import { Effect, Schema } from "effect";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
|
-
var
|
|
64
|
+
var name7 = "read";
|
|
65
65
|
var FILENAME = "AGENTS.md";
|
|
66
66
|
var LocationInput = Schema.Struct({
|
|
67
67
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -72,23 +72,23 @@ var LocationInput = Schema.Struct({
|
|
|
72
72
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Input7 = LocationInput;
|
|
76
76
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
77
|
-
var
|
|
77
|
+
var Plugin9 = {
|
|
78
78
|
id: "opencode.tool.read",
|
|
79
79
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
80
|
-
const reader = yield*
|
|
81
|
-
const access = yield*
|
|
82
|
-
const permission = yield*
|
|
83
|
-
const skills = yield*
|
|
84
|
-
const sessionInstructions = yield*
|
|
80
|
+
const reader = yield* Service34;
|
|
81
|
+
const access = yield* Service68;
|
|
82
|
+
const permission = yield* Service71;
|
|
83
|
+
const skills = yield* Service66;
|
|
84
|
+
const sessionInstructions = yield* Service7;
|
|
85
85
|
const fs = yield* FSUtil.Service;
|
|
86
|
-
const location = yield*
|
|
86
|
+
const location = yield* Service87;
|
|
87
87
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
88
|
-
name:
|
|
88
|
+
name: name7,
|
|
89
89
|
options: { codemode: false },
|
|
90
90
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
91
|
-
input:
|
|
91
|
+
input: Input7,
|
|
92
92
|
output: Output,
|
|
93
93
|
execute: (input, context) => {
|
|
94
94
|
return Effect.gen(function* () {
|
|
@@ -96,7 +96,7 @@ var Plugin39 = {
|
|
|
96
96
|
const parsed = parseSkillUri(input.path);
|
|
97
97
|
if (!parsed)
|
|
98
98
|
return yield* new ToolFailure({ message: `File not found: ${input.path}` });
|
|
99
|
-
const id =
|
|
99
|
+
const id = ID10.make(parsed.id);
|
|
100
100
|
const skill = yield* skills.get(id);
|
|
101
101
|
if (!skill || !isUri2(skill.path))
|
|
102
102
|
return yield* new ToolFailure({ message: `File not found: ${input.path}` });
|
|
@@ -163,7 +163,7 @@ var Plugin39 = {
|
|
|
163
163
|
return { output: result.content, path: result.path };
|
|
164
164
|
}).pipe(Effect.map((result) => ({
|
|
165
165
|
output: result.output,
|
|
166
|
-
content:
|
|
166
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
167
167
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
168
168
|
})), Effect.mapError((error) => {
|
|
169
169
|
if (error instanceof ToolFailure)
|
|
@@ -240,7 +240,7 @@ function parseSkillUri(value) {
|
|
|
240
240
|
return;
|
|
241
241
|
return { id, target: rest === "" ? "/" : `/${rest}`, uri: uri2(id, rest || undefined) };
|
|
242
242
|
}
|
|
243
|
-
var
|
|
243
|
+
var toModelContent3 = (path, offset, output) => {
|
|
244
244
|
if (output.type === "file" && output.encoding === "base64")
|
|
245
245
|
return [
|
|
246
246
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -276,4 +276,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
276
276
|
`);
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name7, Input7, Plugin9, toModelContent3, exports_read };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node94
|
|
4
|
+
} from "./model-retry-x2ndfy6h.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-8cg7mtm3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service90,
|
|
22
22
|
configured: () => configured13,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node93,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -84,13 +84,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
84
84
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
85
85
|
var isDefinition = (input) => !Array.isArray(input);
|
|
86
86
|
|
|
87
|
-
class
|
|
87
|
+
class Service90 extends Context.Service()("@opencode/Bus") {
|
|
88
88
|
}
|
|
89
89
|
function configured13(options) {
|
|
90
90
|
return makeGlobalNode({
|
|
91
|
-
service:
|
|
92
|
-
deps: [
|
|
93
|
-
layer: Layer.effect(
|
|
91
|
+
service: Service90,
|
|
92
|
+
deps: [node94],
|
|
93
|
+
layer: Layer.effect(Service90, Effect.gen(function* () {
|
|
94
94
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
95
95
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
96
96
|
const pubsub = {
|
|
@@ -101,7 +101,7 @@ function configured13(options) {
|
|
|
101
101
|
const projectors = new Map;
|
|
102
102
|
const listeners = new Array;
|
|
103
103
|
const durableLocks = makeUnsafe2();
|
|
104
|
-
const { db } = yield*
|
|
104
|
+
const { db } = yield* Service91;
|
|
105
105
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
106
106
|
const persist = options?.persist ?? false;
|
|
107
107
|
const sessions = new Map;
|
|
@@ -515,7 +515,7 @@ function configured13(options) {
|
|
|
515
515
|
list.push((event) => projector(event));
|
|
516
516
|
projectors.set(key, list);
|
|
517
517
|
});
|
|
518
|
-
return
|
|
518
|
+
return Service90.of({
|
|
519
519
|
publish,
|
|
520
520
|
publishAll,
|
|
521
521
|
subscribe,
|
|
@@ -529,6 +529,6 @@ function configured13(options) {
|
|
|
529
529
|
}))
|
|
530
530
|
});
|
|
531
531
|
}
|
|
532
|
-
var
|
|
532
|
+
var node93 = configured13();
|
|
533
533
|
|
|
534
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
534
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service90, configured13, node93, exports_bus };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-vgbhzz5z.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-gebd4c9n.js";
|
|
10
|
+
import {
|
|
11
|
+
Service91,
|
|
12
|
+
node94
|
|
13
|
+
} from "./model-retry-x2ndfy6h.js";
|
|
10
14
|
import {
|
|
11
15
|
Service90,
|
|
12
16
|
node93
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
Service89,
|
|
16
|
-
node92
|
|
17
|
-
} from "./models-dev-6vmc5w5e.js";
|
|
17
|
+
} from "./model-retry-s5pb553a.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-retry-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-retry-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
25
|
ID21,
|
|
26
26
|
NotFoundError14
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-retry-3j3557gf.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref5
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-714sva13.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service57,
|
|
33
|
+
node58
|
|
34
|
+
} from "./model-retry-pppy9358.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./model-retry-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service19
|
|
41
|
+
} from "./model-retry-fh4mtqct.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -50,18 +50,18 @@ __export(exports_worktree2, {
|
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
52
|
Event: () => Event5,
|
|
53
|
-
Info: () =>
|
|
53
|
+
Info: () => Info6,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry2,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service18,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node21
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,7 +75,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput4 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info6 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry2 = Worktree.ListEntry;
|
|
81
81
|
|
|
@@ -92,15 +92,15 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
92
92
|
}
|
|
93
93
|
var Event5 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service18 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const database = yield*
|
|
99
|
+
const database = yield* Service91;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service90;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service57;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref5.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service19).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service18.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node21 = Node.makeGlobalNode({
|
|
260
|
+
service: Service18,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node,
|
|
262
|
+
deps: [FSUtil.node, node93, node94, AppProcess.node, node58]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput4, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput4, RemoveInput2, Info6, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service18, node21, exports_worktree2, OperationError2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-qaymkmh1.js";
|
|
7
7
|
|
|
8
8
|
// src/util/git-executable.ts
|
|
9
9
|
import { existsSync, realpathSync } from "node:fs";
|