@opencode/core 0.0.0-dev-955 → 0.0.0-dev-960
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 +104 -104
- package/dist/app.js +5 -5
- package/dist/artifact.js +242 -242
- package/dist/bus.js +84 -84
- package/dist/chunks/{model-resolver-mp6qsgyp.js → artifact-01nta593.js} +17 -17
- package/dist/chunks/{model-resolver-tx3g5vmq.js → artifact-023tzc2c.js} +14 -14
- package/dist/chunks/{model-resolver-034tev2y.js → artifact-034tev2y.js} +2 -2
- package/dist/chunks/{model-resolver-5947jcqa.js → artifact-03y2fc94.js} +37 -37
- package/dist/chunks/{model-resolver-px08ft37.js → artifact-05p6s1y0.js} +9 -9
- package/dist/chunks/{model-resolver-7z81aap4.js → artifact-088wmh5f.js} +11 -11
- package/dist/chunks/{model-resolver-wn72e71g.js → artifact-0ephczst.js} +35 -35
- package/dist/chunks/{model-resolver-kc6jjgz6.js → artifact-0gprsrbg.js} +3 -3
- package/dist/chunks/{model-resolver-w687dnns.js → artifact-0h8y3ex8.js} +4 -4
- package/dist/chunks/{model-resolver-0j7gp832.js → artifact-0j7gp832.js} +1 -1
- package/dist/chunks/{model-resolver-0ma9gw4f.js → artifact-0ma9gw4f.js} +2 -2
- package/dist/chunks/{model-resolver-4yj32zef.js → artifact-0mfaebw6.js} +20 -20
- package/dist/chunks/{model-resolver-pnn7z9dj.js → artifact-0nj6xyvc.js} +5 -5
- package/dist/chunks/{model-resolver-5zwfbemh.js → artifact-0reqnh07.js} +191 -191
- package/dist/chunks/{model-resolver-r0k0zykn.js → artifact-0rfdpq4d.js} +17 -17
- package/dist/chunks/{model-resolver-vx2e8sqf.js → artifact-0sp9zm8b.js} +48 -48
- package/dist/chunks/{model-resolver-s7b4430n.js → artifact-0svkmnha.js} +12 -12
- package/dist/chunks/{model-resolver-xq64ck47.js → artifact-0tvrn1v1.js} +4 -4
- package/dist/chunks/{model-resolver-tfggn6re.js → artifact-12pasksk.js} +28 -28
- package/dist/chunks/{model-resolver-xra4j8wk.js → artifact-15d2fr7s.js} +9 -9
- package/dist/chunks/{model-resolver-b0bwvcfx.js → artifact-17e6ratg.js} +6 -6
- package/dist/chunks/{model-resolver-z1ye1qyj.js → artifact-19h0jc8d.js} +89 -89
- package/dist/chunks/{model-resolver-1aqsckx4.js → artifact-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-resolver-b7nkz392.js → artifact-1b8r59qx.js} +1 -1
- package/dist/chunks/{model-resolver-1ep2p91f.js → artifact-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-resolver-5js06kta.js → artifact-1f0rdby0.js} +17 -17
- package/dist/chunks/{model-resolver-1x2knyw4.js → artifact-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-1yq9hg58.js → artifact-1yq9hg58.js} +1 -1
- package/dist/chunks/{model-resolver-enmbc2c1.js → artifact-1z68abv9.js} +12 -12
- package/dist/chunks/{model-resolver-b62sbhp2.js → artifact-1zxrx0km.js} +9 -9
- package/dist/chunks/{model-resolver-qfz6bxfd.js → artifact-20pht57w.js} +4 -4
- package/dist/chunks/{model-resolver-h9ymn086.js → artifact-2336s4tv.js} +8 -8
- package/dist/chunks/{model-resolver-h0hxey4q.js → artifact-2780xe2h.js} +5 -5
- package/dist/chunks/{model-resolver-xzaf10m4.js → artifact-27c2wrf6.js} +36 -36
- package/dist/chunks/{model-resolver-d7fpwqtt.js → artifact-29sywc7d.js} +59 -59
- package/dist/chunks/{model-resolver-5n28pc9n.js → artifact-2bfs2e0e.js} +39 -39
- package/dist/chunks/{model-resolver-2fc7eemy.js → artifact-2fc7eemy.js} +1 -1
- package/dist/chunks/{model-resolver-19yc6xr0.js → artifact-2jgc8kcd.js} +17 -17
- package/dist/chunks/{model-resolver-t5791h1y.js → artifact-2kceb2jj.js} +13 -13
- package/dist/chunks/{model-resolver-v0t96s7a.js → artifact-2kg89srt.js} +4 -4
- package/dist/chunks/{model-resolver-jp46v55q.js → artifact-2mw6mxez.js} +5 -5
- package/dist/chunks/{model-resolver-rt29q10a.js → artifact-2n1sxqes.js} +43 -43
- package/dist/chunks/{model-resolver-kjxkeadc.js → artifact-2qr0rzrp.js} +8 -8
- package/dist/chunks/{model-resolver-f5htpt59.js → artifact-2s4x0kvm.js} +13 -13
- package/dist/chunks/{model-resolver-rs5y255m.js → artifact-2yfhpypw.js} +38 -38
- package/dist/chunks/{model-resolver-25nfhamq.js → artifact-39sgvy3e.js} +4 -4
- package/dist/chunks/{model-resolver-3hepkmqq.js → artifact-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-30nntx8z.js → artifact-3k5551g2.js} +18 -18
- package/dist/chunks/{model-resolver-ynthgyw4.js → artifact-3ktax26a.js} +5 -5
- package/dist/chunks/{model-resolver-3nnrz6f6.js → artifact-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-resolver-4tqs0jzk.js → artifact-3p57dcxh.js} +4 -4
- package/dist/chunks/{model-resolver-t6xbhbt0.js → artifact-3rqpseta.js} +8 -8
- package/dist/chunks/{model-resolver-rnk70wm5.js → artifact-3savzzrz.js} +28 -28
- package/dist/chunks/{model-resolver-rw2jerq5.js → artifact-3v92t5r3.js} +22 -22
- package/dist/chunks/{model-resolver-16rxfwk3.js → artifact-3zhs1ksq.js} +10 -10
- package/dist/chunks/{model-resolver-40y6dtc2.js → artifact-40y6dtc2.js} +1 -1
- package/dist/chunks/{model-resolver-kmn2yx6x.js → artifact-42j3gjq8.js} +9 -9
- package/dist/chunks/{model-resolver-rpczda7v.js → artifact-42pxgvw1.js} +5 -5
- package/dist/chunks/{model-resolver-xaa0v9kx.js → artifact-4607pg26.js} +33 -33
- package/dist/chunks/{model-resolver-4dx1dgte.js → artifact-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-resolver-4pyp9zr9.js → artifact-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-resolver-v9fmmn1s.js → artifact-4q03q0em.js} +56 -56
- package/dist/chunks/{model-resolver-vwjwnvn0.js → artifact-4t0gk0j9.js} +2 -2
- package/dist/chunks/{model-resolver-4v008n1t.js → artifact-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-x150ncgg.js → artifact-51smt0vq.js} +2 -2
- package/dist/chunks/{model-resolver-garhgm1n.js → artifact-53zz1js3.js} +25 -25
- package/dist/chunks/{model-resolver-gwyytpcj.js → artifact-5asgddgx.js} +6 -6
- package/dist/chunks/{model-resolver-0ceypjyq.js → artifact-5bpqemyg.js} +15 -15
- package/dist/chunks/{model-resolver-cpe35zww.js → artifact-5c0ay57s.js} +4 -4
- package/dist/chunks/{model-resolver-nbbqkgb4.js → artifact-5e3xqask.js} +7 -7
- package/dist/chunks/{model-resolver-5m9w47nd.js → artifact-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-s335nrrb.js → artifact-5ny7rfcs.js} +5 -5
- package/dist/chunks/{model-resolver-ss22qbvv.js → artifact-5sj7abj0.js} +9 -9
- package/dist/chunks/{model-resolver-0y155zs1.js → artifact-66rr18gb.js} +6 -6
- package/dist/chunks/{model-resolver-a9pnpjw0.js → artifact-684sh8yv.js} +10 -10
- package/dist/chunks/{model-resolver-c0j1xhnz.js → artifact-684yxfdc.js} +14 -14
- package/dist/chunks/{model-resolver-7x764a2t.js → artifact-68epe7kv.js} +43 -34
- package/dist/chunks/{model-resolver-v4bj6baw.js → artifact-694dpcrp.js} +5 -5
- package/dist/chunks/{model-resolver-djnbs9jq.js → artifact-6bb4jmgg.js} +39 -39
- package/dist/chunks/{model-resolver-a4ye1bjy.js → artifact-6cbyh0q7.js} +22 -22
- package/dist/chunks/{model-resolver-qj3y0fcq.js → artifact-6fh5fymj.js} +8 -8
- package/dist/chunks/{model-resolver-1fjzrffe.js → artifact-6gw0nqv4.js} +31 -31
- package/dist/chunks/{model-resolver-h91vm5r2.js → artifact-6h8vcvjm.js} +9 -9
- package/dist/chunks/{model-resolver-dtme87ya.js → artifact-6j4sdj6f.js} +20 -20
- package/dist/chunks/{model-resolver-kkys5r10.js → artifact-6merkr3x.js} +37 -37
- package/dist/chunks/{model-resolver-gwddft2b.js → artifact-7192c67s.js} +28 -28
- package/dist/chunks/{model-resolver-1gt57e1e.js → artifact-743tdy9z.js} +11 -11
- package/dist/chunks/{model-resolver-nf0ssdv7.js → artifact-746z978s.js} +5 -5
- package/dist/chunks/{model-resolver-775hqbnd.js → artifact-775hqbnd.js} +3 -3
- package/dist/chunks/{model-resolver-7bmhse3q.js → artifact-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-88hvwf89.js → artifact-7ex71cjq.js} +25 -25
- package/dist/chunks/{model-resolver-vwhy63a2.js → artifact-7fqzwmsk.js} +14 -14
- package/dist/chunks/{model-resolver-msd2a3qm.js → artifact-7gve5pza.js} +8 -8
- package/dist/chunks/{model-resolver-swmy6bdm.js → artifact-7hvrn7ye.js} +14 -14
- package/dist/chunks/{model-resolver-n3hh2qv3.js → artifact-7j1wqkfj.js} +7 -7
- package/dist/chunks/{model-resolver-k5gj7jr3.js → artifact-7jkx80bs.js} +43 -43
- package/dist/chunks/{model-resolver-qj27ec1j.js → artifact-7nqkf5r1.js} +2 -2
- package/dist/chunks/{model-resolver-asgfhhtj.js → artifact-7p197hja.js} +12 -12
- package/dist/chunks/{model-resolver-7w2ypzdf.js → artifact-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-7weczvnd.js → artifact-7weczvnd.js} +1 -1
- package/dist/chunks/{model-resolver-80pdk984.js → artifact-80pdk984.js} +1 -1
- package/dist/chunks/{model-resolver-89287pr7.js → artifact-89287pr7.js} +1 -1
- package/dist/chunks/{model-resolver-8b3vzgkx.js → artifact-8b3vzgkx.js} +1 -1
- package/dist/chunks/{model-resolver-8cg7mtm3.js → artifact-8cg7mtm3.js} +1 -1
- package/dist/chunks/{model-resolver-2bswbpgz.js → artifact-8hfctyyf.js} +5 -5
- package/dist/chunks/{model-resolver-pebxp5y5.js → artifact-8sdbysvt.js} +19 -19
- package/dist/chunks/{model-resolver-8sxe6kv8.js → artifact-8sxe6kv8.js} +2 -2
- package/dist/chunks/{model-resolver-8wtp7s3z.js → artifact-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-qtvg7j9r.js → artifact-8zbxzx7w.js} +25 -25
- package/dist/chunks/{model-resolver-8zv0xmg5.js → artifact-8zv0xmg5.js} +1 -1
- package/dist/chunks/{model-resolver-atz1w742.js → artifact-94e33dpz.js} +3 -3
- package/dist/chunks/{model-resolver-w1w3hc48.js → artifact-96pwkqmt.js} +4 -4
- package/dist/chunks/{model-resolver-9vnrb151.js → artifact-9f7d7p6h.js} +21 -21
- package/dist/chunks/{model-resolver-1v62x7nb.js → artifact-9ffxq9nb.js} +9 -9
- package/dist/chunks/{model-resolver-gn85cqnh.js → artifact-9vwj3ctj.js} +7 -7
- package/dist/chunks/{model-resolver-h13d263h.js → artifact-a1jekfnk.js} +88 -88
- package/dist/chunks/{model-resolver-q8b6rxxn.js → artifact-a8scrf28.js} +16 -16
- package/dist/chunks/{model-resolver-ckdfchax.js → artifact-acyqypdd.js} +25 -25
- package/dist/chunks/{model-resolver-p1p5zv4x.js → artifact-ap1xahee.js} +5 -5
- package/dist/chunks/{model-resolver-ksw43kvm.js → artifact-argw2mv9.js} +51 -51
- package/dist/chunks/{model-resolver-305j2bn3.js → artifact-avhghzw1.js} +24 -24
- package/dist/chunks/{model-resolver-ayjs7tqn.js → artifact-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-resolver-0tm8m47h.js → artifact-b03tcp1p.js} +11 -11
- package/dist/chunks/{model-resolver-zbwzkkj6.js → artifact-b3bqz6yd.js} +31 -31
- package/dist/chunks/{model-resolver-najt5kby.js → artifact-b8dq6zbn.js} +18 -18
- package/dist/chunks/{model-resolver-fkfhdjeg.js → artifact-bjdtmntm.js} +3 -3
- package/dist/chunks/{model-resolver-zpdbqgja.js → artifact-by8ty0bx.js} +4 -4
- package/dist/chunks/{model-resolver-cat34y4z.js → artifact-bz70ks26.js} +30 -30
- package/dist/chunks/{model-resolver-1wpjn8xr.js → artifact-c3abk5vz.js} +22 -22
- package/dist/chunks/{model-resolver-nex29pj9.js → artifact-c6jssay7.js} +47 -47
- package/dist/chunks/{model-resolver-wt99tj4q.js → artifact-c7cw818c.js} +5 -5
- package/dist/chunks/{model-resolver-1xjver7d.js → artifact-c7gk57p6.js} +4 -4
- package/dist/chunks/{model-resolver-aek35f17.js → artifact-caxf7zxk.js} +22 -22
- package/dist/chunks/{model-resolver-2a4ad453.js → artifact-ce7qegav.js} +57 -57
- package/dist/chunks/{model-resolver-nz0schhs.js → artifact-cjgg4me7.js} +32 -32
- package/dist/chunks/{model-resolver-ttnv2vdn.js → artifact-cndvwyr8.js} +13 -13
- package/dist/chunks/{model-resolver-63xym3gh.js → artifact-cpvd08na.js} +4 -4
- package/dist/chunks/{model-resolver-jkdcm5hg.js → artifact-cr4rfj9z.js} +4 -4
- package/dist/chunks/{model-resolver-j4yx3b1w.js → artifact-csk34hdm.js} +4 -4
- package/dist/chunks/{model-resolver-cwrgdav8.js → artifact-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-resolver-31avdb49.js → artifact-d390zwf3.js} +8 -8
- package/dist/chunks/{model-resolver-d4v9tmah.js → artifact-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-1m93zrrd.js → artifact-d690nst1.js} +46 -46
- package/dist/chunks/{model-resolver-208qyq12.js → artifact-d79ftn5e.js} +17 -17
- package/dist/chunks/{model-resolver-qyweffd1.js → artifact-dan8sjb9.js} +6 -6
- package/dist/chunks/{model-resolver-wyea6evt.js → artifact-dfszvtxr.js} +21 -21
- package/dist/chunks/{model-resolver-rj7j5fvs.js → artifact-dg5naf6e.js} +4 -4
- package/dist/chunks/{model-resolver-1nrv139b.js → artifact-dq9r6gjp.js} +16 -16
- package/dist/chunks/{model-resolver-8tkeyxfb.js → artifact-drs6w14g.js} +12 -12
- package/dist/chunks/{model-resolver-4qts9jm2.js → artifact-dstz1yab.js} +18 -18
- package/dist/chunks/{model-resolver-dt77769w.js → artifact-dt77769w.js} +1 -1
- package/dist/chunks/{model-resolver-6amx7x2h.js → artifact-dyzar3a9.js} +13 -13
- package/dist/chunks/{model-resolver-0egfkvmt.js → artifact-e2w1bh1e.js} +6 -6
- package/dist/chunks/{model-resolver-ey9mc5c5.js → artifact-e3v03hrq.js} +45 -45
- package/dist/chunks/{model-resolver-sctz5g06.js → artifact-e3wz0jbr.js} +26 -26
- package/dist/chunks/{model-resolver-9k2g0ym6.js → artifact-e5653pfs.js} +8 -8
- package/dist/chunks/{model-resolver-7s2n0qph.js → artifact-edj0kk9f.js} +32 -32
- package/dist/chunks/{model-resolver-n4pheaw7.js → artifact-ee9rb598.js} +12 -12
- package/dist/chunks/{model-resolver-aedwt843.js → artifact-enkpkfwx.js} +8 -8
- package/dist/chunks/{model-resolver-eqw4pqj1.js → artifact-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-resolver-cm57h9tw.js → artifact-ev6faw2s.js} +9 -9
- package/dist/chunks/{model-resolver-xsg82h9c.js → artifact-ewtvdge1.js} +6 -6
- package/dist/chunks/{model-resolver-3vkvfvwt.js → artifact-ex14qddr.js} +13 -13
- package/dist/chunks/{model-resolver-56t20xve.js → artifact-excbda4d.js} +10 -10
- package/dist/chunks/{model-resolver-v5aaewsh.js → artifact-f11x4925.js} +4 -4
- package/dist/chunks/{model-resolver-q3dx51xc.js → artifact-f5cyjz2c.js} +9 -9
- package/dist/chunks/{model-resolver-h757w2se.js → artifact-f9v1b3q7.js} +13 -13
- package/dist/chunks/{model-resolver-2yvb8gsx.js → artifact-fbxt9h83.js} +21 -21
- package/dist/chunks/{model-resolver-fffv3p7h.js → artifact-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-resolver-fg9p65nk.js → artifact-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-resolver-w3db5nnn.js → artifact-fjxhe9n5.js} +28 -28
- package/dist/chunks/{model-resolver-1an0vnxq.js → artifact-fma2wdmj.js} +21 -21
- package/dist/chunks/{model-resolver-8zfqw22d.js → artifact-fnadnqwe.js} +15 -15
- package/dist/chunks/{model-resolver-qw33hgje.js → artifact-fvkbjr3x.js} +18 -18
- package/dist/chunks/{model-resolver-zpnj1tny.js → artifact-fvtgbbxy.js} +11 -11
- package/dist/chunks/{model-resolver-sczaav9c.js → artifact-g106qs1q.js} +29 -29
- package/dist/chunks/{model-resolver-2m3cx6qa.js → artifact-g1zb840a.js} +3 -3
- package/dist/chunks/{model-resolver-j7qza38z.js → artifact-g2nw11rj.js} +7 -7
- package/dist/chunks/{model-resolver-b26ddj6h.js → artifact-g4txs7zc.js} +4 -4
- package/dist/chunks/{model-resolver-5k6xrm23.js → artifact-g8vemvpr.js} +7 -7
- package/dist/chunks/{model-resolver-gbjdnr5j.js → artifact-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-resolver-ghrv1g9c.js → artifact-ghrv1g9c.js} +1 -1
- package/dist/chunks/{model-resolver-x8bn6g0h.js → artifact-gm2vm0vb.js} +25 -25
- package/dist/chunks/{model-resolver-q8326745.js → artifact-gnne2sk4.js} +24 -24
- package/dist/chunks/{model-resolver-8e56318f.js → artifact-grvyh3xe.js} +15 -15
- package/dist/chunks/{model-resolver-pc0teew3.js → artifact-gwh81hzm.js} +10 -10
- package/dist/chunks/{model-resolver-prw5shb5.js → artifact-h72115vk.js} +27 -27
- package/dist/chunks/{model-resolver-edm37t96.js → artifact-haf3e1p5.js} +6 -6
- package/dist/chunks/{model-resolver-2q81t726.js → artifact-hck1h0wx.js} +18 -18
- package/dist/chunks/{model-resolver-hgzwgvze.js → artifact-hgzwgvze.js} +2 -2
- package/dist/chunks/{model-resolver-9yqjp86x.js → artifact-hmc1gkc2.js} +6 -6
- package/dist/chunks/{model-resolver-ccp6j38y.js → artifact-hx3mz2q2.js} +8 -8
- package/dist/chunks/{model-resolver-tr8x705m.js → artifact-j376ae4e.js} +5 -5
- package/dist/chunks/{model-resolver-vyeecgqw.js → artifact-j68k6m80.js} +16 -16
- package/dist/chunks/{model-resolver-fzx6s9yr.js → artifact-j8aghjtt.js} +7 -7
- package/dist/chunks/{model-resolver-81ev3d3w.js → artifact-j8sqjsxt.js} +31 -31
- package/dist/chunks/{model-resolver-j9nxzz3g.js → artifact-j9nxzz3g.js} +3 -3
- package/dist/chunks/{model-resolver-f8qjaksx.js → artifact-j9rs7mv1.js} +11 -11
- package/dist/chunks/{model-resolver-29526e95.js → artifact-ja8bwt4z.js} +25 -25
- package/dist/chunks/{model-resolver-aw6b62hs.js → artifact-jadkxxaf.js} +19 -19
- package/dist/chunks/{model-resolver-9tntx0tg.js → artifact-jh1zq2gc.js} +12 -12
- package/dist/chunks/{model-resolver-jm70asfg.js → artifact-jm70asfg.js} +1 -1
- package/dist/chunks/{model-resolver-z1t5wyfc.js → artifact-jpvs5h9c.js} +8 -8
- package/dist/chunks/{model-resolver-k2m8pptq.js → artifact-jtn88xg7.js} +5 -5
- package/dist/chunks/{model-resolver-p2jr62an.js → artifact-jvpyq7s4.js} +19 -19
- package/dist/chunks/{model-resolver-44pmzq9c.js → artifact-jxd6f16v.js} +2 -2
- package/dist/chunks/artifact-k23mdptc.js +26 -0
- package/dist/chunks/{model-resolver-fs7bndbs.js → artifact-kaab7h2x.js} +5 -5
- package/dist/chunks/{model-resolver-kbgs7tyr.js → artifact-kbgs7tyr.js} +1 -1
- package/dist/chunks/{model-resolver-z4bmfxqk.js → artifact-kjaabnvp.js} +16 -16
- package/dist/chunks/{model-resolver-0wqvtycd.js → artifact-kjt1gsc4.js} +6 -6
- package/dist/chunks/{model-resolver-n320gsn2.js → artifact-kq4fnwb1.js} +4 -4
- package/dist/chunks/{model-resolver-dx7n85xr.js → artifact-kq8jy6v4.js} +16 -16
- package/dist/chunks/{model-resolver-w52mnfka.js → artifact-krd9fbse.js} +10 -10
- package/dist/chunks/{model-resolver-kt3bjfbg.js → artifact-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-resolver-kzczzf4v.js → artifact-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-resolver-m1714858.js → artifact-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-m9w0rfyh.js → artifact-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-mb7mbhnz.js → artifact-mb7mbhnz.js} +3 -3
- package/dist/chunks/{model-resolver-tyf1chh3.js → artifact-mf8x8z5b.js} +21 -21
- package/dist/chunks/{model-resolver-qtf35215.js → artifact-mpp83xkh.js} +3 -3
- package/dist/chunks/{model-resolver-ze34bysh.js → artifact-mstftcan.js} +18 -18
- package/dist/chunks/{model-resolver-2m6pt75m.js → artifact-mze69b16.js} +18 -18
- package/dist/chunks/{model-resolver-g218nywn.js → artifact-n0fz4hvz.js} +5 -5
- package/dist/chunks/{model-resolver-hrhdtsqf.js → artifact-n367pce1.js} +47 -47
- package/dist/chunks/{model-resolver-0zxwyar4.js → artifact-n6dz78md.js} +6 -6
- package/dist/chunks/{model-resolver-wbj062vg.js → artifact-n6fppkbq.js} +30 -30
- package/dist/chunks/{model-resolver-4k3ejajh.js → artifact-nay4073r.js} +8 -8
- package/dist/chunks/{model-resolver-x790wh7m.js → artifact-nm1w09bq.js} +21 -21
- package/dist/chunks/{model-resolver-y1n277rb.js → artifact-nq1mg43n.js} +3 -3
- package/dist/chunks/{model-resolver-eg8ahkfp.js → artifact-p0tna57r.js} +30 -30
- package/dist/chunks/{model-resolver-7g8wh7aj.js → artifact-p9a7ghyf.js} +35 -35
- package/dist/chunks/{model-resolver-64gbtxz5.js → artifact-pb82hh1j.js} +38 -38
- package/dist/chunks/{model-resolver-86k8js72.js → artifact-pgf1j7p5.js} +49 -49
- package/dist/chunks/{model-resolver-ychas7hp.js → artifact-phs7kmvd.js} +50 -50
- package/dist/chunks/{model-resolver-pknna89w.js → artifact-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-yfztsk7h.js → artifact-pmvh47qc.js} +11 -11
- package/dist/chunks/{model-resolver-q2vkjmym.js → artifact-qava8dj6.js} +9 -9
- package/dist/chunks/{model-resolver-7a7wjhyp.js → artifact-qbag486h.js} +7 -7
- package/dist/chunks/{model-resolver-sgp8jcxy.js → artifact-qexgrky7.js} +4 -4
- package/dist/chunks/{model-resolver-kfk7sbn0.js → artifact-qfexa7mt.js} +3 -3
- package/dist/chunks/{model-resolver-e96hncb3.js → artifact-qfvnat7d.js} +18 -18
- package/dist/chunks/artifact-qhzpvq0b.js +265 -0
- package/dist/chunks/{model-resolver-wt9tzd1g.js → artifact-qj72544e.js} +13 -13
- package/dist/chunks/{model-resolver-ha02ktpj.js → artifact-qjfr1059.js} +11 -11
- package/dist/chunks/{model-resolver-tzwsp11x.js → artifact-qm46tnva.js} +12 -12
- package/dist/chunks/{model-resolver-qp7r0hxv.js → artifact-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-resolver-z8nr08b9.js → artifact-qptayef0.js} +7 -7
- package/dist/chunks/{model-resolver-k3cx6fhe.js → artifact-qsdghx1p.js} +4 -4
- package/dist/chunks/{model-resolver-0cftc1cj.js → artifact-qwbf6adw.js} +8 -8
- package/dist/chunks/{model-resolver-zwt6szs0.js → artifact-qyzxh3by.js} +14 -14
- package/dist/chunks/{model-resolver-hkf8spj2.js → artifact-r17fbvme.js} +7 -7
- package/dist/chunks/{model-resolver-t1m564cg.js → artifact-r4aqx9nh.js} +8 -8
- package/dist/chunks/{model-resolver-4f25tdd0.js → artifact-r542h3bh.js} +5 -5
- package/dist/chunks/{model-resolver-n3j33rb6.js → artifact-r7zrbnjn.js} +4 -4
- package/dist/chunks/{model-resolver-rb9dy4dg.js → artifact-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-wrgtyz65.js → artifact-rdqcf2kd.js} +15 -15
- package/dist/chunks/{model-resolver-63qszgpc.js → artifact-rf5v02jm.js} +18 -18
- package/dist/chunks/{model-resolver-rgc9cx3e.js → artifact-rgc9cx3e.js} +2 -2
- package/dist/chunks/{model-resolver-2cmt08sf.js → artifact-rhnddp7n.js} +5 -5
- package/dist/chunks/{model-resolver-eeavz234.js → artifact-rhzyqjag.js} +17 -17
- package/dist/chunks/{model-resolver-w6pxevtb.js → artifact-rm7wc3b8.js} +11 -11
- package/dist/chunks/{model-resolver-963hk181.js → artifact-rn6817b0.js} +9 -9
- package/dist/chunks/{model-resolver-ncxh5hea.js → artifact-rnfrjme0.js} +20 -20
- package/dist/chunks/{model-resolver-rt5dr6hb.js → artifact-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-resolver-nh0xn3za.js → artifact-rtn9bdzs.js} +21 -21
- package/dist/chunks/{model-resolver-v2x06h94.js → artifact-rwcc01tt.js} +7 -7
- package/dist/chunks/artifact-rx23pc2t.js +571 -0
- package/dist/chunks/{model-resolver-qx8vbq4y.js → artifact-rx6d57e7.js} +43 -43
- package/dist/chunks/{model-resolver-2p60zmnr.js → artifact-s1ba0vj0.js} +2 -2
- package/dist/chunks/{model-resolver-c1sfsxsr.js → artifact-s5zrq09q.js} +8 -8
- package/dist/chunks/{model-resolver-9qa1n9yg.js → artifact-saz430dm.js} +20 -20
- package/dist/chunks/{model-resolver-hb3eng2b.js → artifact-sb9h232m.js} +18 -18
- package/dist/chunks/{model-resolver-sbya78hr.js → artifact-sbya78hr.js} +1 -1
- package/dist/chunks/{model-resolver-61qraad9.js → artifact-scmk72rv.js} +5 -5
- package/dist/chunks/{model-resolver-yk4ram99.js → artifact-scpgcczk.js} +3 -3
- package/dist/chunks/{model-resolver-48rbk961.js → artifact-sjqnr5s8.js} +25 -25
- package/dist/chunks/{model-resolver-svcy3p9a.js → artifact-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-resolver-378qq6ap.js → artifact-t26sqkzd.js} +16 -16
- package/dist/chunks/{model-resolver-q8creews.js → artifact-t5mjxac8.js} +18 -18
- package/dist/chunks/{model-resolver-tbpn7jtk.js → artifact-tbpn7jtk.js} +1 -1
- package/dist/chunks/{model-resolver-t92x0zza.js → artifact-tbxqb127.js} +27 -27
- package/dist/chunks/{model-resolver-p66p653y.js → artifact-tcjtmdqy.js} +6 -6
- package/dist/chunks/{model-resolver-tczq8hjw.js → artifact-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-1254y337.js → artifact-tds9ybpk.js} +15 -15
- package/dist/chunks/{model-resolver-y5z3432y.js → artifact-tg1z3r2b.js} +7 -7
- package/dist/chunks/{model-resolver-tg7s7b5t.js → artifact-tg7s7b5t.js} +1 -1
- package/dist/chunks/{model-resolver-jqnhb84p.js → artifact-tk2qa79d.js} +36 -36
- package/dist/chunks/{model-resolver-tvtps2q9.js → artifact-tvtps2q9.js} +1 -1
- package/dist/chunks/{model-resolver-twssxy5n.js → artifact-twssxy5n.js} +2 -2
- package/dist/chunks/{model-resolver-prfkbj99.js → artifact-v1z93482.js} +3 -3
- package/dist/chunks/{model-resolver-v2r1d0zg.js → artifact-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-resolver-r564e27w.js → artifact-v40rggfj.js} +45 -45
- package/dist/chunks/{model-resolver-9y0r5z65.js → artifact-v7x9amtm.js} +32 -32
- package/dist/chunks/artifact-v8vhf2as.js +18 -0
- package/dist/chunks/{model-resolver-c48dbhpj.js → artifact-vbmy4dv8.js} +6 -6
- package/dist/chunks/{model-resolver-c6nmgr7r.js → artifact-vegh3683.js} +91 -91
- package/dist/chunks/{model-resolver-vjf35v1f.js → artifact-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-resolver-9dqqprs2.js → artifact-vjg2rxjw.js} +15 -15
- package/dist/chunks/{model-resolver-3qcn2qs5.js → artifact-vk7ve012.js} +31 -31
- package/dist/chunks/{model-resolver-vgf57983.js → artifact-vm00temk.js} +5 -5
- package/dist/chunks/{model-resolver-2m2g9ynh.js → artifact-vsnnaxjq.js} +4 -4
- package/dist/chunks/{model-resolver-kkjv8hxa.js → artifact-w0yfsdtv.js} +4 -4
- package/dist/chunks/{model-resolver-zcpemdvy.js → artifact-w13evrkv.js} +21 -21
- package/dist/chunks/{model-resolver-w2eysc6j.js → artifact-w2eysc6j.js} +2 -2
- package/dist/chunks/{model-resolver-bbmr939d.js → artifact-w3qmp03c.js} +14 -14
- package/dist/chunks/{model-resolver-w3wsvvr9.js → artifact-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wakvkjy4.js → artifact-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-m7sx3bgz.js → artifact-wcznk7xz.js} +11 -11
- package/dist/chunks/{model-resolver-wd87259q.js → artifact-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-90che2b9.js → artifact-wec6enrg.js} +1 -1
- package/dist/chunks/{model-resolver-wegkxhrn.js → artifact-wegkxhrn.js} +2 -2
- package/dist/chunks/{model-resolver-ahvr9zks.js → artifact-wrjw35qn.js} +5 -5
- package/dist/chunks/{model-resolver-k3xh0dgs.js → artifact-wrtcwg59.js} +31 -31
- package/dist/chunks/{model-resolver-nyxvvj5y.js → artifact-wvr8xscb.js} +4 -4
- package/dist/chunks/{model-resolver-hvv8mc35.js → artifact-wywms26a.js} +25 -25
- package/dist/chunks/{model-resolver-b2nxz5gt.js → artifact-x9vd5s0r.js} +29 -29
- package/dist/chunks/{model-resolver-bstexjd6.js → artifact-xd9cc171.js} +5 -5
- package/dist/chunks/{model-resolver-tmkvp075.js → artifact-xe31a7yj.js} +20 -20
- package/dist/chunks/{model-resolver-3adw4bt5.js → artifact-xjbsd7zy.js} +9 -9
- package/dist/chunks/{model-resolver-xxschbft.js → artifact-xxschbft.js} +1 -1
- package/dist/chunks/{model-resolver-gkz7tbfj.js → artifact-xz8r956s.js} +31 -31
- package/dist/chunks/{model-resolver-7armgj4r.js → artifact-y326gskf.js} +2 -2
- package/dist/chunks/{model-resolver-cbfqvt1a.js → artifact-y5w2nrb2.js} +11 -11
- package/dist/chunks/{model-resolver-d0p5c7fg.js → artifact-y8bjk5qp.js} +12 -12
- package/dist/chunks/{model-resolver-jryxgqq0.js → artifact-y9w9sc3k.js} +25 -25
- package/dist/chunks/{model-resolver-8s85hddg.js → artifact-yatsevsv.js} +24 -24
- package/dist/chunks/{model-resolver-yb20nhc3.js → artifact-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-862f8wp5.js → artifact-yc4jz0ya.js} +6 -6
- package/dist/chunks/{model-resolver-ayfytmn9.js → artifact-yepd7x5v.js} +5 -5
- package/dist/chunks/{model-resolver-avnqt6kg.js → artifact-yj1kz1ga.js} +28 -28
- package/dist/chunks/{model-resolver-d0x2nk4r.js → artifact-ymmy827p.js} +47 -47
- package/dist/chunks/{model-resolver-yp6k58js.js → artifact-yn9rcvvw.js} +10 -10
- package/dist/chunks/{model-resolver-yr705xyq.js → artifact-yr705xyq.js} +1 -1
- package/dist/chunks/{model-resolver-7jj85bbm.js → artifact-yvn0y49k.js} +25 -25
- package/dist/chunks/{model-resolver-yvtc2x31.js → artifact-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-resolver-z080rjh6.js → artifact-z080rjh6.js} +1 -1
- package/dist/chunks/{model-resolver-5btsg0r7.js → artifact-z3xsgcpr.js} +16 -16
- package/dist/chunks/{model-resolver-4nzfme03.js → artifact-zead4rxg.js} +4 -4
- package/dist/chunks/{model-resolver-e0kdqj0n.js → artifact-zhzgpvr2.js} +11 -11
- package/dist/chunks/{model-resolver-n7vzwr2f.js → artifact-zp0nz9wc.js} +5 -5
- package/dist/chunks/{model-resolver-kcrgnjky.js → artifact-zx3dzts4.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- 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 +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- 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 +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- 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 +129 -129
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- 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 +76 -76
- 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 +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +251 -251
- 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 +7 -7
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +127 -127
- 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 +7 -7
- 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 +104 -104
- 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 +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 +431 -431
- package/dist/instruction-discovery.js +89 -89
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- 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 +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +185 -185
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +108 -108
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- 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 +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- 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 +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +409 -409
- 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 +149 -149
- 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 +3 -3
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +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 +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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +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 +159 -159
- 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 +237 -237
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +97 -97
- package/dist/plugin/vcs/hg.js +97 -97
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +251 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +112 -112
- 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 +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- 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 +250 -250
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +169 -169
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +169 -169
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- 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 +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +251 -251
- package/dist/session/usage.js +3 -3
- package/dist/session.js +243 -243
- 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 +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +102 -102
- 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 +184 -184
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +245 -245
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +163 -163
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +173 -173
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- 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 +165 -165
- 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 +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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +91 -91
- 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 +91 -91
- 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 +8 -8
- package/dist/chunks/model-resolver-00ve6mdn.js +0 -18
- package/dist/chunks/model-resolver-4h7dzzwv.js +0 -26
- package/dist/chunks/model-resolver-fss82tpd.js +0 -571
- package/dist/chunks/model-resolver-jnad4gzd.js +0 -265
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → artifact-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → artifact-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-108x4f4w.js → artifact-108x4f4w.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → artifact-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → artifact-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kah00gy.js → artifact-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → artifact-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → artifact-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → artifact-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → artifact-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → artifact-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3af0jn4w.js → artifact-3af0jn4w.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → artifact-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → artifact-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → artifact-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → artifact-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → artifact-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4qk9sjk2.js → artifact-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → artifact-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → artifact-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → artifact-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5w3e23ze.js → artifact-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-resolver-6agm2x70.js → artifact-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → artifact-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → artifact-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → artifact-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → artifact-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → artifact-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → artifact-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → artifact-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → artifact-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → artifact-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → artifact-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → artifact-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → artifact-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → artifact-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → artifact-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → artifact-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → artifact-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-beh6qq61.js → artifact-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-resolver-bhmrqjy3.js → artifact-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → artifact-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → artifact-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → artifact-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cqv5kn06.js → artifact-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → artifact-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → artifact-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → artifact-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → artifact-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → artifact-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → artifact-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → artifact-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-ean2d8b5.js → artifact-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → artifact-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → artifact-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → artifact-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → artifact-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → artifact-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → artifact-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fkpq3x5p.js → artifact-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → artifact-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → artifact-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → artifact-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → artifact-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → artifact-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → artifact-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → artifact-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → artifact-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → artifact-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → artifact-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → artifact-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jwr30sdr.js → artifact-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → artifact-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → artifact-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → artifact-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → artifact-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → artifact-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → artifact-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-nh4v3znn.js → artifact-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → artifact-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-p71gwv9c.js → artifact-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → artifact-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → artifact-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → artifact-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → artifact-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → artifact-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → artifact-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → artifact-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → artifact-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → artifact-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-syrav9an.js → artifact-syrav9an.js} +0 -0
- /package/dist/chunks/{model-resolver-t03h4f5z.js → artifact-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-resolver-ty7weeps.js → artifact-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → artifact-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-vtarvj67.js → artifact-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → artifact-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → artifact-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → artifact-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → artifact-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → artifact-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x4th4bpe.js → artifact-x4th4bpe.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → artifact-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → artifact-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → artifact-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → artifact-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-z0h12gs8.js → artifact-z0h12gs8.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → artifact-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → artifact-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-resolver-zxpyjp51.js → artifact-zxpyjp51.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./artifact-jpvs5h9c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID20,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./artifact-yvn0y49k.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./artifact-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./artifact-kq4fnwb1.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID19,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./artifact-v7x9amtm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
ID16
|
|
21
|
+
} from "./artifact-xz8r956s.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make32
|
|
26
|
+
} from "./artifact-r17fbvme.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service76
|
|
29
|
+
} from "./artifact-ymmy827p.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./artifact-grvyh3xe.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service45
|
|
36
|
+
} from "./artifact-acyqypdd.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./artifact-e2w1bh1e.js";
|
|
40
40
|
import {
|
|
41
41
|
defaultServer2,
|
|
42
42
|
server2,
|
|
43
43
|
headers2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./artifact-kt3bjfbg.js";
|
|
45
45
|
import {
|
|
46
46
|
File2,
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
47
|
+
Service51
|
|
48
|
+
} from "./artifact-saz430dm.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
Service58
|
|
51
|
+
} from "./artifact-e5653pfs.js";
|
|
52
52
|
import {
|
|
53
53
|
isSafeSegment2,
|
|
54
54
|
isSafeRelativePath2
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./artifact-xjbsd7zy.js";
|
|
56
56
|
import {
|
|
57
57
|
ID7,
|
|
58
58
|
Input15,
|
|
59
59
|
Response2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./artifact-dfszvtxr.js";
|
|
61
61
|
import {
|
|
62
62
|
onSwitch2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./artifact-qptayef0.js";
|
|
64
64
|
|
|
65
65
|
// src/plugin/provider/opencode.ts
|
|
66
66
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -129,7 +129,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
129
129
|
}
|
|
130
130
|
function oauth(http) {
|
|
131
131
|
return {
|
|
132
|
-
integrationID:
|
|
132
|
+
integrationID: ID19.make("opencode"),
|
|
133
133
|
method: {
|
|
134
134
|
id: methodID,
|
|
135
135
|
type: "oauth",
|
|
@@ -196,10 +196,10 @@ var OpencodePlugin2 = define({
|
|
|
196
196
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
197
197
|
const client = yield* HttpClient.HttpClient;
|
|
198
198
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
199
|
-
const config = yield*
|
|
200
|
-
const discovery = yield*
|
|
201
|
-
const skills = yield*
|
|
202
|
-
const cache = yield*
|
|
199
|
+
const config = yield* Service76;
|
|
200
|
+
const discovery = yield* Service51;
|
|
201
|
+
const skills = yield* Service45;
|
|
202
|
+
const cache = yield* Service58;
|
|
203
203
|
const scope = yield* Scope.Scope;
|
|
204
204
|
const loading = Semaphore.makeUnsafe(1);
|
|
205
205
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -241,13 +241,13 @@ var OpencodePlugin2 = define({
|
|
|
241
241
|
});
|
|
242
242
|
let integrated;
|
|
243
243
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
244
|
-
yield* config.integration?.(
|
|
245
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
244
|
+
yield* config.integration?.(ID19.make("opencode"), document) ?? Effect.void;
|
|
245
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID19.make("opencode"));
|
|
246
246
|
});
|
|
247
247
|
const publish = Effect.fnUntraced(function* (next) {
|
|
248
|
-
const document = next.remote && next.connection &&
|
|
249
|
-
integrationID:
|
|
250
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
248
|
+
const document = next.remote && next.connection && make32({
|
|
249
|
+
integrationID: ID19.make("opencode"),
|
|
250
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID20.make(next.connection.id) } : next.connection,
|
|
251
251
|
organization: next.organization,
|
|
252
252
|
info: next.remote
|
|
253
253
|
});
|
|
@@ -326,7 +326,7 @@ var OpencodePlugin2 = define({
|
|
|
326
326
|
integrate2(providers, integrated);
|
|
327
327
|
});
|
|
328
328
|
yield* ctx.provider.transform((providers) => {
|
|
329
|
-
const item = providers.get(
|
|
329
|
+
const item = providers.get(ID16.opencode);
|
|
330
330
|
if (!item)
|
|
331
331
|
return;
|
|
332
332
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -338,7 +338,7 @@ var OpencodePlugin2 = define({
|
|
|
338
338
|
});
|
|
339
339
|
});
|
|
340
340
|
yield* ctx.model.transform((models) => {
|
|
341
|
-
const item = models.provider.get(
|
|
341
|
+
const item = models.provider.get(ID16.opencode);
|
|
342
342
|
if (!item)
|
|
343
343
|
return;
|
|
344
344
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -392,7 +392,7 @@ var OpencodePlugin2 = define({
|
|
|
392
392
|
});
|
|
393
393
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
394
394
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
395
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
395
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID16.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
396
396
|
});
|
|
397
397
|
yield* guard(snapshot);
|
|
398
398
|
const polling = yield* FiberHandle.make();
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
node81
|
|
3
|
+
} from "./artifact-jpvs5h9c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service91,
|
|
6
|
+
node94
|
|
7
|
+
} from "./artifact-0svkmnha.js";
|
|
8
8
|
import {
|
|
9
9
|
KVTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./artifact-3hepkmqq.js";
|
|
11
11
|
import {
|
|
12
12
|
latest2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service76
|
|
14
|
+
} from "./artifact-ymmy827p.js";
|
|
15
15
|
import {
|
|
16
16
|
DirectoryNotFoundError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./artifact-cjgg4me7.js";
|
|
18
18
|
import {
|
|
19
19
|
resolver2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./artifact-3ktax26a.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service56,
|
|
23
|
+
node57
|
|
24
|
+
} from "./artifact-hmc1gkc2.js";
|
|
25
25
|
import {
|
|
26
26
|
SessionMessage2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./artifact-gftt206x.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./artifact-mb7mbhnz.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service53,
|
|
33
|
+
node55
|
|
34
|
+
} from "./artifact-2bfs2e0e.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service30,
|
|
37
|
+
node33
|
|
38
|
+
} from "./artifact-vegh3683.js";
|
|
39
39
|
import {
|
|
40
40
|
validate2,
|
|
41
41
|
describe2,
|
|
42
42
|
authorize2,
|
|
43
43
|
evaluate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./artifact-edj0kk9f.js";
|
|
45
45
|
import {
|
|
46
46
|
ScheduleTable2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./artifact-wegkxhrn.js";
|
|
48
48
|
import {
|
|
49
49
|
__export
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./artifact-9rqn6x4v.js";
|
|
51
51
|
|
|
52
52
|
// src/schedule.ts
|
|
53
53
|
var exports_schedule2 = {};
|
|
54
54
|
__export(exports_schedule2, {
|
|
55
55
|
Condition: () => Condition2,
|
|
56
56
|
ConditionInput: () => ConditionInput2,
|
|
57
|
-
CreateInput: () =>
|
|
57
|
+
CreateInput: () => CreateInput3,
|
|
58
58
|
DisabledError: () => DisabledError2,
|
|
59
|
-
ID: () =>
|
|
60
|
-
Info: () =>
|
|
59
|
+
ID: () => ID5,
|
|
60
|
+
Info: () => Info5,
|
|
61
61
|
InvalidError: () => InvalidError2,
|
|
62
|
-
NotFoundError: () =>
|
|
62
|
+
NotFoundError: () => NotFoundError3,
|
|
63
63
|
Outcome: () => Outcome3,
|
|
64
64
|
Request: () => Request2,
|
|
65
65
|
Schedule: () => exports_schedule2,
|
|
66
|
-
Service: () =>
|
|
66
|
+
Service: () => Service16,
|
|
67
67
|
Status: () => Status2,
|
|
68
68
|
When: () => When2,
|
|
69
|
-
node: () =>
|
|
69
|
+
node: () => node18,
|
|
70
70
|
toCreateInput: () => toCreateInput2
|
|
71
71
|
});
|
|
72
72
|
import { randomUUID } from "node:crypto";
|
|
@@ -76,18 +76,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
76
76
|
import {
|
|
77
77
|
Condition as Condition2,
|
|
78
78
|
ConditionInput as ConditionInput2,
|
|
79
|
-
CreateInput as
|
|
79
|
+
CreateInput as CreateInput3,
|
|
80
80
|
durationMillis,
|
|
81
|
-
ID as
|
|
82
|
-
Info as
|
|
81
|
+
ID as ID5,
|
|
82
|
+
Info as Info5,
|
|
83
83
|
Outcome as Outcome3,
|
|
84
84
|
Request as Request2,
|
|
85
85
|
Status as Status2,
|
|
86
86
|
toCreateInput as toCreateInput2,
|
|
87
87
|
When as When2
|
|
88
88
|
} from "@opencode/schema/schedule";
|
|
89
|
-
class
|
|
90
|
-
scheduleID:
|
|
89
|
+
class NotFoundError3 extends Schema.TaggedError()("Schedule.NotFoundError", {
|
|
90
|
+
scheduleID: ID5
|
|
91
91
|
}) {
|
|
92
92
|
get message() {
|
|
93
93
|
return `Schedule not found: ${this.scheduleID}`;
|
|
@@ -108,7 +108,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service16 extends Context.Service()("@opencode/Schedule") {
|
|
112
112
|
}
|
|
113
113
|
var MINUTE = 60000;
|
|
114
114
|
var HOUR = 60 * MINUTE;
|
|
@@ -194,16 +194,16 @@ var toInfo = (row, lastOutput) => ({
|
|
|
194
194
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
195
195
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
196
196
|
});
|
|
197
|
-
var layer = Layer.effect(
|
|
198
|
-
const database = yield*
|
|
197
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
198
|
+
const database = yield* Service91;
|
|
199
199
|
const db = database.db;
|
|
200
|
-
const sessions = yield*
|
|
201
|
-
const instances = yield*
|
|
202
|
-
const execution = yield*
|
|
200
|
+
const sessions = yield* Service30;
|
|
201
|
+
const instances = yield* Service56;
|
|
202
|
+
const execution = yield* Service53;
|
|
203
203
|
const doorbell = yield* Latch.make();
|
|
204
204
|
const flags = yield* resolver2;
|
|
205
205
|
const settings = (session) => Effect.gen(function* () {
|
|
206
|
-
const config = yield* Effect.serviceOption(
|
|
206
|
+
const config = yield* Effect.serviceOption(Service76);
|
|
207
207
|
if (Option.isNone(config))
|
|
208
208
|
return { enabled: false, timezone: undefined };
|
|
209
209
|
const entries = yield* config.value.entries();
|
|
@@ -212,7 +212,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
212
212
|
timezone: latest2(entries, "timezone")
|
|
213
213
|
};
|
|
214
214
|
}).pipe(instances.provide(session));
|
|
215
|
-
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new
|
|
215
|
+
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError3({ scheduleID: id }))));
|
|
216
216
|
const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
|
|
217
217
|
const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
|
|
218
218
|
const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
|
|
@@ -486,7 +486,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
486
486
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
487
487
|
return Math.min(at.value, after ?? at.value);
|
|
488
488
|
});
|
|
489
|
-
return
|
|
489
|
+
return Service16.of({
|
|
490
490
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
491
491
|
const session = yield* sessions.get(input.sessionID);
|
|
492
492
|
const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
|
|
@@ -505,7 +505,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
505
505
|
const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
|
|
506
506
|
if (ends !== null && due > ends)
|
|
507
507
|
return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
|
|
508
|
-
const scheduleID =
|
|
508
|
+
const scheduleID = ID5.create();
|
|
509
509
|
const seeded = check === undefined ? UNSEEDED : yield* Effect.gen(function* () {
|
|
510
510
|
yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", missingDirectory));
|
|
511
511
|
const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
|
|
@@ -598,10 +598,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
598
598
|
run
|
|
599
599
|
});
|
|
600
600
|
}));
|
|
601
|
-
var
|
|
602
|
-
service:
|
|
601
|
+
var node18 = makeGlobalNode({
|
|
602
|
+
service: Service16,
|
|
603
603
|
layer,
|
|
604
|
-
deps: [
|
|
604
|
+
deps: [node81, node94, node33, node55, node57]
|
|
605
605
|
});
|
|
606
606
|
|
|
607
|
-
export { Condition2, ConditionInput2,
|
|
607
|
+
export { Condition2, ConditionInput2, CreateInput3, ID5, Info5, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError3, InvalidError2, DisabledError2, Service16, node18, exports_schedule2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service92,
|
|
6
|
-
node95
|
|
7
|
-
} from "./model-resolver-s7b4430n.js";
|
|
3
|
+
} from "./artifact-z5v4ffb3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service91,
|
|
10
6
|
node94
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./artifact-0svkmnha.js";
|
|
8
|
+
import {
|
|
9
|
+
Service89,
|
|
10
|
+
node92
|
|
11
|
+
} from "./artifact-j68k6m80.js";
|
|
12
12
|
import {
|
|
13
13
|
Service90,
|
|
14
14
|
node93
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./artifact-ap1xahee.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info26,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event17,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./artifact-rn6817b0.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./artifact-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./artifact-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./artifact-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./artifact-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
45
|
-
NotFoundError: () =>
|
|
43
|
+
ID: () => ID17,
|
|
44
|
+
Info: () => Info25,
|
|
45
|
+
NotFoundError: () => NotFoundError13,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service82,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
50
|
configured: () => configured12,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node85,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID17 = ID18;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info25 = Info26;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID17
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service82 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,13 +111,13 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
117
|
const git = yield* Service90;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
|
-
const bus = yield*
|
|
120
|
-
const db = (yield*
|
|
119
|
+
const bus = yield* Service89;
|
|
120
|
+
const db = (yield* Service91).db;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
122
|
const announcing = new Set;
|
|
123
123
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event17.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event17.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID17.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError13({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID17.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID17.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID17.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID17.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service82.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
350
|
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service82,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [
|
|
354
|
+
deps: [node92, node94, FSUtil.node, node93, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node85 = configured12();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service82;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node85]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID17, Vcs2, Current2, Info25, UpdateInput4, NotFoundError13, root2, ACTIVATE_INTERVAL2, Service82, configured12, node85, sweepNode2, exports_project };
|