@opencode/core 0.0.0-dev-1296 → 0.0.0-dev-1298
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 +94 -94
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +105 -105
- package/dist/app.js +11 -11
- package/dist/artifact.js +252 -252
- package/dist/bus.js +80 -80
- package/dist/chunks/{model-retry-034tev2y.js → app-034tev2y.js} +2 -2
- package/dist/chunks/{model-retry-9zfcngb4.js → app-04qc8z7j.js} +3 -3
- package/dist/chunks/{model-retry-txcpr02b.js → app-06d1bbvt.js} +13 -13
- package/dist/chunks/{model-retry-e0nfbn8k.js → app-07zzgv1d.js} +33 -33
- package/dist/chunks/{model-retry-f6mssv9c.js → app-09dn9t9r.js} +7 -7
- package/dist/chunks/{model-retry-fcq3f784.js → app-0az7rsk5.js} +8 -8
- package/dist/chunks/{model-retry-0fvxehme.js → app-0fvxehme.js} +2 -2
- package/dist/chunks/{model-retry-7n1c2gf8.js → app-0n37z8fa.js} +41 -41
- package/dist/chunks/{model-retry-spb4g8aj.js → app-0n6r4h2p.js} +8 -8
- package/dist/chunks/{model-retry-8c5thnyc.js → app-0q4ygg3k.js} +4 -4
- package/dist/chunks/{model-retry-rbt238x6.js → app-0tpxjk5q.js} +20 -20
- package/dist/chunks/{model-retry-5z5rge5r.js → app-0vgdx4k8.js} +21 -21
- package/dist/chunks/{model-retry-p5tk1xdz.js → app-0wx31zef.js} +9 -9
- package/dist/chunks/{model-retry-zq2w2t7s.js → app-0yt7qfan.js} +9 -9
- package/dist/chunks/{model-retry-pgtkf8d9.js → app-19vycv7j.js} +28 -28
- package/dist/chunks/{model-retry-zjvqphdj.js → app-19wmfrq0.js} +11 -11
- package/dist/chunks/{model-retry-1aqsckx4.js → app-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-retry-dg51p885.js → app-1emtaxvd.js} +80 -80
- package/dist/chunks/{model-retry-1ep2p91f.js → app-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-retry-tr3c1hr0.js → app-1f6wc9pb.js} +9 -9
- package/dist/chunks/{model-retry-8ck4vskz.js → app-1k8ft69k.js} +24 -24
- package/dist/chunks/{model-retry-26wfx3k0.js → app-1q07fp1w.js} +4 -4
- package/dist/chunks/{model-retry-g650r2x6.js → app-1v2g13eq.js} +4 -4
- package/dist/chunks/{model-retry-4exqcqyt.js → app-1vjnvnf4.js} +13 -13
- package/dist/chunks/{model-retry-1x2knyw4.js → app-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-xnc04a8y.js → app-1xd6f24x.js} +21 -21
- package/dist/chunks/{model-retry-1yq9hg58.js → app-1yq9hg58.js} +1 -1
- package/dist/chunks/{model-retry-3n83wc2c.js → app-22w39cyn.js} +6 -6
- package/dist/chunks/{model-retry-4bfnqy0c.js → app-2356x7xp.js} +15 -15
- package/dist/chunks/{model-retry-6vhg36rj.js → app-28kz7qz4.js} +9 -9
- package/dist/chunks/{model-retry-wwwhnnrb.js → app-2c0kftgm.js} +12 -12
- package/dist/chunks/{model-retry-2fc7eemy.js → app-2fc7eemy.js} +1 -1
- package/dist/chunks/{model-retry-mf63ygpr.js → app-2kg89srt.js} +4 -4
- package/dist/chunks/{model-retry-s1ba0vj0.js → app-2p60zmnr.js} +2 -2
- package/dist/chunks/{model-retry-ypzfmdvb.js → app-2prt43t7.js} +4 -4
- package/dist/chunks/{model-retry-j98b4kym.js → app-2t8gnrpp.js} +11 -11
- package/dist/chunks/{model-retry-nwmfh7bd.js → app-2xkdvfhw.js} +23 -23
- package/dist/chunks/{model-retry-r1wj65t2.js → app-2ymyhs2n.js} +30 -30
- package/dist/chunks/{model-retry-apgx4zf7.js → app-32scqvk9.js} +17 -17
- package/dist/chunks/{model-retry-xjbsd7zy.js → app-3adw4bt5.js} +9 -9
- package/dist/chunks/{model-retry-z6gkct3a.js → app-3erdzsm5.js} +50 -50
- package/dist/chunks/{model-retry-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-gssgrah2.js → app-3jwc3awv.js} +4 -4
- package/dist/chunks/{model-retry-3nnrz6f6.js → app-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-retry-349apszt.js → app-3w524gp2.js} +26 -26
- package/dist/chunks/{model-retry-c3fgcd3v.js → app-4079f73p.js} +38 -38
- package/dist/chunks/{model-retry-40y6dtc2.js → app-40y6dtc2.js} +1 -1
- package/dist/chunks/{model-retry-40za9wsf.js → app-40za9wsf.js} +2 -2
- package/dist/chunks/{model-retry-hgvzfra1.js → app-42r1s2k0.js} +11 -11
- package/dist/chunks/{model-retry-xeeabgfh.js → app-431bah1h.js} +10 -10
- package/dist/chunks/{model-retry-jxd6f16v.js → app-44pmzq9c.js} +2 -2
- package/dist/chunks/{model-retry-n3bcrrqw.js → app-45tshjrx.js} +59 -59
- package/dist/chunks/{model-retry-mze7znq0.js → app-47sr2ta0.js} +10 -10
- package/dist/chunks/{model-retry-p1hn1ay8.js → app-4atz2jbc.js} +3 -3
- package/dist/chunks/{model-retry-7r81nz66.js → app-4bgm4kr6.js} +43 -43
- package/dist/chunks/{model-retry-vdxwczv6.js → app-4dgqrgn1.js} +49 -49
- package/dist/chunks/{model-retry-4dx1dgte.js → app-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-retry-4f25tdd0.js → app-4f25tdd0.js} +1 -1
- package/dist/chunks/{model-retry-r499zw42.js → app-4jwgj074.js} +85 -85
- package/dist/chunks/{model-retry-dm80djc7.js → app-4kga4xxa.js} +17 -17
- package/dist/chunks/{model-retry-5r4v1zkh.js → app-4kk1sm3s.js} +4 -4
- package/dist/chunks/{model-retry-yv09dmea.js → app-4kkyttm2.js} +9 -9
- package/dist/chunks/{model-retry-3zakkr5m.js → app-4memcdqc.js} +14 -14
- package/dist/chunks/{model-retry-nqhzmekw.js → app-4q2aw7tk.js} +33 -33
- package/dist/chunks/{model-retry-4v008n1t.js → app-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-wmsn6fsz.js → app-4zkxqe3p.js} +11 -11
- package/dist/chunks/{model-retry-bq828n5y.js → app-4zszwbgd.js} +29 -29
- package/dist/chunks/{model-retry-k46zft5f.js → app-50s5b1q5.js} +39 -39
- package/dist/chunks/{model-retry-zssj66mt.js → app-53td2d95.js} +33 -33
- package/dist/chunks/{model-retry-nrrvmsf7.js → app-544xx0nq.js} +4 -4
- package/dist/chunks/{model-retry-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-sk5qsbcw.js → app-5s00fg7y.js} +5 -5
- package/dist/chunks/{model-retry-625axahf.js → app-625axahf.js} +3 -3
- package/dist/chunks/{model-retry-3dqq9gn5.js → app-63fcs8k3.js} +1 -1
- package/dist/chunks/{model-retry-3k3x9sbj.js → app-67r5xtjx.js} +5 -5
- package/dist/chunks/{model-retry-xksw6ev0.js → app-67wwskyb.js} +4 -4
- package/dist/chunks/{model-retry-gfkj8pg2.js → app-6bzjsc4b.js} +22 -22
- package/dist/chunks/{model-retry-6h8vcvjm.js → app-6h8vcvjm.js} +2 -2
- package/dist/chunks/{model-retry-9kb7cvqj.js → app-6j9kvj0r.js} +11 -11
- package/dist/chunks/{model-retry-a84bsdq1.js → app-6q0spbws.js} +5 -5
- package/dist/chunks/{model-retry-agje4kmn.js → app-6y2b864j.js} +4 -4
- package/dist/chunks/{model-retry-kr143xzh.js → app-6z7z85pz.js} +10 -10
- package/dist/chunks/{model-retry-4f8ypqyw.js → app-71bejjcv.js} +2 -2
- package/dist/chunks/{model-retry-v6bymc68.js → app-735v3pxn.js} +25 -25
- package/dist/chunks/{model-retry-2grzewjw.js → app-74bqwk0w.js} +43 -43
- package/dist/chunks/{model-retry-15pbjvhv.js → app-74gv5g7n.js} +5 -5
- package/dist/chunks/{model-retry-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-5z2vgqsy.js → app-7c4b50qb.js} +15 -15
- package/dist/chunks/{model-retry-w1e5009d.js → app-7mrx0efj.js} +12 -12
- package/dist/chunks/{model-retry-v2jmw1hp.js → app-7nbwejb6.js} +6 -6
- package/dist/chunks/{model-retry-ks693xed.js → app-7qzetcpd.js} +10 -10
- package/dist/chunks/{model-retry-7tx5zndv.js → app-7tx5zndv.js} +2 -2
- package/dist/chunks/{model-retry-a5hn6end.js → app-7vwswne4.js} +5 -5
- package/dist/chunks/{model-retry-7w2ypzdf.js → app-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-7weczvnd.js → app-7weczvnd.js} +1 -1
- package/dist/chunks/{model-retry-me10dk9t.js → app-7xhhpq6k.js} +16 -16
- package/dist/chunks/{model-retry-775hqbnd.js → app-80mg3ag8.js} +3 -3
- package/dist/chunks/{model-retry-80pdk984.js → app-80pdk984.js} +1 -1
- package/dist/chunks/{model-retry-85jq8dht.js → app-85jq8dht.js} +1 -1
- package/dist/chunks/{model-retry-m350zk4x.js → app-8679mcme.js} +8 -8
- package/dist/chunks/{model-retry-3d85xyf4.js → app-86hgqwed.js} +360 -360
- package/dist/chunks/{model-retry-8b3vzgkx.js → app-8b3vzgkx.js} +1 -1
- package/dist/chunks/{model-retry-c5m2a8vb.js → app-8b714bza.js} +8 -8
- package/dist/chunks/{model-retry-8kjyvwy5.js → app-8kjyvwy5.js} +1 -1
- package/dist/chunks/{model-retry-3xwdqzn1.js → app-8nh9m173.js} +20 -20
- package/dist/chunks/{model-retry-8sxe6kv8.js → app-8sxe6kv8.js} +2 -2
- package/dist/chunks/{model-retry-8wtp7s3z.js → app-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-8zv0xmg5.js → app-8zv0xmg5.js} +1 -1
- package/dist/chunks/{model-retry-80zs2z7e.js → app-928dsdmw.js} +26 -26
- package/dist/chunks/{model-retry-cr571syx.js → app-9jahc3gn.js} +16 -16
- package/dist/chunks/{model-retry-zqaq7e3k.js → app-9kqew2hp.js} +32 -32
- package/dist/chunks/{model-retry-txe55pgv.js → app-9qdyq2sv.js} +4 -4
- package/dist/chunks/{model-retry-t48jrnqq.js → app-9rqfe4ad.js} +3 -3
- package/dist/chunks/{model-retry-xk90d7ar.js → app-9ttyq9xh.js} +28 -28
- package/dist/chunks/{model-retry-jfpz2mnn.js → app-9vnkqwh1.js} +6 -6
- package/dist/chunks/{model-retry-815bscc5.js → app-9x4w6e37.js} +7 -7
- package/dist/chunks/{model-retry-xfchhe29.js → app-9yawg07m.js} +54 -54
- package/dist/chunks/{model-retry-pcjhzmpm.js → app-a9pn54qx.js} +11 -11
- package/dist/chunks/{model-retry-68j4m5qv.js → app-aaky3beq.js} +11 -11
- package/dist/chunks/{model-retry-t61eas2m.js → app-adzb3c23.js} +6 -6
- package/dist/chunks/{model-retry-txq0kcg0.js → app-aheatdmh.js} +16 -16
- package/dist/chunks/{model-retry-anvcme1c.js → app-anvcme1c.js} +1 -1
- package/dist/chunks/app-aqczazaa.js +16 -0
- package/dist/chunks/{model-retry-ayjs7tqn.js → app-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-retry-3k8betg3.js → app-azyk24y0.js} +21 -21
- package/dist/chunks/{model-retry-g4txs7zc.js → app-b26ddj6h.js} +4 -4
- package/dist/chunks/app-b5x87b7y.js +273 -0
- package/dist/chunks/{model-retry-mqmkyzwr.js → app-b6sat52w.js} +3 -3
- package/dist/chunks/{model-retry-s84es42m.js → app-bbkjcv9d.js} +3 -3
- package/dist/chunks/{model-retry-bfpzgz6w.js → app-bfpzgz6w.js} +2 -2
- package/dist/chunks/{model-retry-etv4jxej.js → app-bkk47srm.js} +5 -5
- package/dist/chunks/{model-retry-3m2czhe6.js → app-br8q3jev.js} +6 -6
- package/dist/chunks/{model-retry-bstexjd6.js → app-bstexjd6.js} +1 -1
- package/dist/chunks/{model-retry-7vhxchqw.js → app-bxa700c2.js} +26 -26
- package/dist/chunks/{model-retry-c6x7d2ts.js → app-c6x7d2ts.js} +1 -1
- package/dist/chunks/{model-retry-71fn3hf3.js → app-c80me66y.js} +37 -37
- package/dist/chunks/{model-retry-091fm073.js → app-cdg2vbbp.js} +12 -12
- package/dist/chunks/{model-retry-9xf3pksr.js → app-chdbb7vb.js} +22 -22
- package/dist/chunks/{model-retry-2w22t8ax.js → app-cjaaxpzv.js} +34 -34
- package/dist/chunks/{model-retry-4mhgjeaw.js → app-cjqsf6bw.js} +9 -9
- package/dist/chunks/{model-retry-2s9mae96.js → app-ckn0kvtp.js} +6 -6
- package/dist/chunks/{model-retry-qm453fgb.js → app-cm7m5qht.js} +6 -6
- package/dist/chunks/{model-retry-fd06pqyn.js → app-ctghw4hb.js} +7 -7
- package/dist/chunks/{model-retry-cwrgdav8.js → app-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-retry-6jz6cj67.js → app-cz7g0zqk.js} +5 -5
- package/dist/chunks/{model-retry-dhhwsjs6.js → app-d0by684y.js} +62 -62
- package/dist/chunks/{model-retry-d4v9tmah.js → app-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-retry-ey111c4r.js → app-d93erz9q.js} +5 -5
- package/dist/chunks/{model-retry-j0hy5st1.js → app-daanyjbe.js} +24 -24
- package/dist/chunks/{model-retry-sjzs80zr.js → app-daaw4tr5.js} +22 -22
- package/dist/chunks/{model-retry-nqnhdn1e.js → app-dr34tymh.js} +27 -27
- package/dist/chunks/{model-retry-8vyyfba0.js → app-dsp72m8j.js} +11 -11
- package/dist/chunks/{model-retry-dt77769w.js → app-dt77769w.js} +1 -1
- package/dist/chunks/{model-retry-4h47fwz8.js → app-e04erymp.js} +20 -20
- package/dist/chunks/{model-retry-yjrgmzdq.js → app-e0ec7nxg.js} +42 -42
- package/dist/chunks/{model-retry-ag6d02bt.js → app-e0zepttq.js} +18 -18
- package/dist/chunks/{model-retry-3q73yqpv.js → app-e2nrqgcx.js} +17 -17
- package/dist/chunks/{model-retry-0qdv0842.js → app-e45hehnp.js} +12 -12
- package/dist/chunks/{model-retry-1fsgeav2.js → app-e5dst17p.js} +51 -51
- package/dist/chunks/{model-retry-3tnz5sgn.js → app-e8xb975w.js} +9 -9
- package/dist/chunks/{model-retry-dmtr0n9v.js → app-ee1t5wzz.js} +169 -169
- package/dist/chunks/{model-retry-aq48hhzx.js → app-ek8gjwfh.js} +20 -20
- package/dist/chunks/{model-retry-e3jjhejk.js → app-enaxfrgc.js} +46 -46
- package/dist/chunks/{model-retry-eqw4pqj1.js → app-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-retry-neknd9vt.js → app-es48y8zb.js} +30 -30
- package/dist/chunks/{model-retry-r8623cwy.js → app-eyprspan.js} +14 -14
- package/dist/chunks/{model-retry-f2zjpyt5.js → app-f2zjpyt5.js} +2 -2
- package/dist/chunks/{model-retry-bmxgvxbw.js → app-f4r5m85w.js} +10 -10
- package/dist/chunks/{model-retry-v99gtden.js → app-f92q3ny7.js} +21 -21
- package/dist/chunks/{model-retry-8rs0m7ne.js → app-faw8jez5.js} +23 -23
- package/dist/chunks/{model-retry-fnrhryqq.js → app-fax097qp.js} +4 -3
- package/dist/chunks/{model-retry-n8kyszt2.js → app-fe1p0jex.js} +6 -6
- package/dist/chunks/{model-retry-zdn1ptym.js → app-ffn6bn54.js} +15 -15
- package/dist/chunks/{model-retry-j6y0smqe.js → app-ffr7yn5g.js} +18 -18
- package/dist/chunks/{model-retry-fg9p65nk.js → app-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-retry-kh0hrg97.js → app-fmjsjtqm.js} +4 -4
- package/dist/chunks/{model-retry-tmq9jgfn.js → app-fndc768s.js} +30 -30
- package/dist/chunks/{model-retry-d5n845vw.js → app-fzsy9ndn.js} +15 -15
- package/dist/chunks/{model-retry-bmg41xmg.js → app-g3jdt0a7.js} +44 -44
- package/dist/chunks/{model-retry-cvntc25c.js → app-g4cg0jb2.js} +8 -8
- package/dist/chunks/{model-retry-rjg17fm7.js → app-g7qww3hk.js} +13 -13
- package/dist/chunks/{model-retry-nsdn2f4g.js → app-g903rh98.js} +12 -12
- package/dist/chunks/{model-retry-psf2cz52.js → app-g9e3kgq6.js} +6 -6
- package/dist/chunks/{model-retry-7j1a3wmk.js → app-ga1em9dk.js} +9 -9
- package/dist/chunks/{model-retry-gbjdnr5j.js → app-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-retry-ghrv1g9c.js → app-ghrv1g9c.js} +1 -1
- package/dist/chunks/{model-retry-wqgsq883.js → app-gjwc87xs.js} +16 -16
- package/dist/chunks/{model-retry-2b7whw4a.js → app-gqz2ymha.js} +27 -27
- package/dist/chunks/{model-retry-gxs71cxp.js → app-gxs71cxp.js} +1 -1
- package/dist/chunks/{model-retry-ee2edeb1.js → app-gxstn5bh.js} +4 -4
- package/dist/chunks/{model-retry-yydqqga9.js → app-h3b857xk.js} +4 -4
- package/dist/chunks/{model-retry-dhv4mfxz.js → app-h487gr3z.js} +35 -35
- package/dist/chunks/{model-retry-3sjmqfd8.js → app-h6ygtv77.js} +13 -13
- package/dist/chunks/{model-retry-sc61rjh5.js → app-hfajz7sw.js} +8 -8
- package/dist/chunks/{model-retry-hgzwgvze.js → app-hgzwgvze.js} +2 -2
- package/dist/chunks/{model-retry-10pn4eb5.js → app-hj0xet7m.js} +5 -5
- package/dist/chunks/{model-retry-x150ncgg.js → app-hretfjjx.js} +2 -2
- package/dist/chunks/{model-retry-8kztn3dj.js → app-hvwc7xt2.js} +5 -5
- package/dist/chunks/{model-retry-495vdj1c.js → app-hzbgrnvg.js} +8 -8
- package/dist/chunks/{model-retry-ysbfp3jb.js → app-j1mrfqwt.js} +6 -6
- package/dist/chunks/{model-retry-jkdcm5hg.js → app-jkdcm5hg.js} +1 -1
- package/dist/chunks/{model-retry-fvy19nrt.js → app-jkgt3vcx.js} +19 -19
- package/dist/chunks/{model-retry-jm70asfg.js → app-jm70asfg.js} +1 -1
- package/dist/chunks/{model-retry-2kv0k6r1.js → app-k1v0gnv1.js} +12 -12
- package/dist/chunks/{model-retry-h8v758tv.js → app-kdvmt146.js} +4 -4
- package/dist/chunks/{model-retry-963hk181.js → app-kh1mqnxp.js} +9 -9
- package/dist/chunks/{model-retry-qfz6bxfd.js → app-kj9n5bvh.js} +4 -4
- package/dist/chunks/{model-retry-dkmvggzp.js → app-kjb1xvsn.js} +15 -15
- package/dist/chunks/{model-retry-kmzgegqq.js → app-kmzgegqq.js} +1 -1
- package/dist/chunks/{model-retry-t1bc5svt.js → app-kspj1mw9.js} +10 -12
- package/dist/chunks/{model-retry-kt3bjfbg.js → app-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-retry-kzczzf4v.js → app-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-retry-kzdam8c6.js → app-kzdam8c6.js} +2 -2
- package/dist/chunks/{model-retry-gfq64twp.js → app-m0pckdyb.js} +11 -11
- package/dist/chunks/{model-retry-m1714858.js → app-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-d58fy8mx.js → app-m1a4txwc.js} +23 -23
- package/dist/chunks/{model-retry-akfm4532.js → app-m1pdhrmp.js} +8 -8
- package/dist/chunks/{model-retry-2edbhpy5.js → app-m2mt1nke.js} +9 -9
- package/dist/chunks/{model-retry-vm0473yf.js → app-m3fpj52g.js} +14 -14
- package/dist/chunks/{model-retry-4dfqsw0d.js → app-m4p4r8nc.js} +4 -4
- package/dist/chunks/{model-retry-24tp732n.js → app-m62510k4.js} +12 -12
- package/dist/chunks/{model-retry-m90tx7mw.js → app-m90tx7mw.js} +1 -1
- package/dist/chunks/{model-retry-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-mb7mbhnz.js → app-mb7mbhnz.js} +3 -3
- package/dist/chunks/{model-retry-927fj99d.js → app-md5se987.js} +20 -20
- package/dist/chunks/{model-retry-yj4sw9dy.js → app-mk1wzm15.js} +6 -6
- package/dist/chunks/{model-retry-3wdg2vz7.js → app-mnw3aa7v.js} +16 -16
- package/dist/chunks/{model-retry-mwnxvxbk.js → app-mwnxvxbk.js} +1 -1
- package/dist/chunks/{model-retry-kv5h436t.js → app-mz0yj2ps.js} +19 -19
- package/dist/chunks/{model-retry-57wgnfy6.js → app-n179w0k7.js} +8 -8
- package/dist/chunks/{model-retry-53jrkz5f.js → app-n661s8xa.js} +5 -5
- package/dist/chunks/{model-retry-g5hm9gne.js → app-n8nw9hqk.js} +26 -26
- package/dist/chunks/{model-retry-et3bggtj.js → app-nac3z01w.js} +16 -16
- package/dist/chunks/{model-retry-6xqsykwa.js → app-njga73jc.js} +90 -90
- package/dist/chunks/{model-retry-xwagvjey.js → app-nmhjrzks.js} +13 -13
- package/dist/chunks/{model-retry-h09zepvb.js → app-nsrvxy6e.js} +10 -10
- package/dist/chunks/{model-retry-qtf35215.js → app-nv2c5e9q.js} +2 -2
- package/dist/chunks/{model-retry-5s5sf5ct.js → app-pabxy23d.js} +15 -15
- package/dist/chunks/{model-retry-20fq0wad.js → app-pb1x6ngw.js} +19 -19
- package/dist/chunks/{model-retry-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-jja1z2vg.js → app-pmtjj8dd.js} +8 -8
- package/dist/chunks/{model-retry-fkkr4y2t.js → app-ptwm6tx9.js} +23 -23
- package/dist/chunks/app-pw6xa0kf.js +35 -0
- package/dist/chunks/{model-retry-q963thn8.js → app-q963thn8.js} +4 -4
- package/dist/chunks/{model-retry-328bf5fx.js → app-q9tr9ra0.js} +18 -18
- package/dist/chunks/{model-retry-kggmge9g.js → app-qewwq68x.js} +14 -14
- package/dist/chunks/{model-retry-4ygb74tw.js → app-qfdvj3xm.js} +11 -11
- package/dist/chunks/{model-retry-bq6zz71s.js → app-qk7j08t6.js} +22 -22
- package/dist/chunks/{model-retry-667wgg12.js → app-qn6jndk4.js} +24 -24
- package/dist/chunks/{model-retry-qp7r0hxv.js → app-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-retry-q52a0xmm.js → app-qpt9tdxm.js} +15 -15
- package/dist/chunks/{model-retry-k2kne4hj.js → app-qzggkds8.js} +30 -30
- package/dist/chunks/{model-retry-2r85g90k.js → app-qzzy82sx.js} +23 -23
- package/dist/chunks/{model-retry-rb9dy4dg.js → app-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-fstdtr31.js → app-rcbjwvze.js} +4 -4
- package/dist/chunks/{model-retry-rgc9cx3e.js → app-rgc9cx3e.js} +2 -2
- package/dist/chunks/{model-retry-14f8knpd.js → app-rwmyjw40.js} +19 -19
- package/dist/chunks/{model-retry-64fy8m1r.js → app-rxwyy6eg.js} +9 -9
- package/dist/chunks/{model-retry-q69fea8d.js → app-s2hw13ek.js} +3 -3
- package/dist/chunks/{model-retry-2ytp0tvq.js → app-s47rahr7.js} +4 -4
- package/dist/chunks/{model-retry-edm37t96.js → app-s4kyhetj.js} +6 -6
- package/dist/chunks/{model-retry-3k7mf083.js → app-s6e0apz7.js} +12 -12
- package/dist/chunks/{model-retry-c5zvymhv.js → app-s79v6bct.js} +4 -4
- package/dist/chunks/{model-retry-sbya78hr.js → app-sbya78hr.js} +1 -1
- package/dist/chunks/{model-retry-sbzezcpx.js → app-sbzezcpx.js} +1 -1
- package/dist/chunks/{model-retry-61qraad9.js → app-scmk72rv.js} +5 -5
- package/dist/chunks/{model-retry-18hbsgcw.js → app-scvkc8dk.js} +12 -12
- package/dist/chunks/{model-retry-svcy3p9a.js → app-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-retry-15q0ymzx.js → app-swe1e0er.js} +17 -17
- package/dist/chunks/{model-retry-1dtzyf2w.js → app-sz7d4zjb.js} +22 -22
- package/dist/chunks/{model-retry-8h6qcqsp.js → app-t5zzg8qw.js} +17 -17
- package/dist/chunks/{model-retry-cay00gdv.js → app-t7vam4k4.js} +20 -20
- package/dist/chunks/{model-retry-tbpn7jtk.js → app-tbpn7jtk.js} +1 -1
- package/dist/chunks/{model-retry-6tndtenk.js → app-tcv02c8z.js} +26 -26
- package/dist/chunks/{model-retry-tczq8hjw.js → app-tczq8hjw.js} +1 -1
- package/dist/chunks/app-te1466qx.js +36 -0
- package/dist/chunks/{model-retry-kyefafz7.js → app-tf44etg2.js} +18 -18
- package/dist/chunks/{model-retry-p6k55dzp.js → app-tfdmcrnk.js} +26 -26
- package/dist/chunks/{model-retry-7mkaydvr.js → app-tgeg2vgn.js} +14 -14
- package/dist/chunks/{model-retry-b2adpddk.js → app-tkcme4h8.js} +13 -13
- package/dist/chunks/{model-retry-j376ae4e.js → app-tr8x705m.js} +5 -5
- package/dist/chunks/{model-retry-tvtps2q9.js → app-tvtps2q9.js} +1 -1
- package/dist/chunks/{model-retry-h4yybdgt.js → app-twghvwpe.js} +9 -9
- package/dist/chunks/{model-retry-twssxy5n.js → app-twssxy5n.js} +2 -2
- package/dist/chunks/{model-retry-pwhf257g.js → app-v0rc9y1j.js} +46 -46
- package/dist/chunks/{model-retry-v2r1d0zg.js → app-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-retry-3kzj6mg1.js → app-v37s2wsg.js} +28 -28
- package/dist/chunks/{model-retry-gz1wv23a.js → app-v571cyrw.js} +18 -18
- package/dist/chunks/{model-retry-46wp4j5s.js → app-vaghfqb7.js} +15 -15
- package/dist/chunks/{model-retry-xyv3z5gg.js → app-vaq0jxkj.js} +30 -30
- package/dist/chunks/{model-retry-vjf35v1f.js → app-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-retry-e5ax2xrh.js → app-vsf147qc.js} +5 -5
- package/dist/chunks/{model-retry-g4dya16n.js → app-vtd1x7ac.js} +21 -21
- package/dist/chunks/{model-retry-2749z806.js → app-vzqpzn6v.js} +14 -14
- package/dist/chunks/{model-retry-5dshr504.js → app-w2b6eh26.js} +7 -7
- package/dist/chunks/{model-retry-a0h9n4yn.js → app-w3kg3ne7.js} +34 -34
- package/dist/chunks/{model-retry-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-1yped5qa.js → app-w687dnns.js} +4 -4
- package/dist/chunks/{model-retry-w87hzrb3.js → app-wa8k00xj.js} +6 -6
- package/dist/chunks/{model-retry-wakvkjy4.js → app-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-bt78nyr8.js → app-wce61sd1.js} +9 -9
- package/dist/chunks/{model-retry-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-77n50j8n.js → app-wdhayyn2.js} +4 -4
- package/dist/chunks/{model-retry-wegkxhrn.js → app-wegkxhrn.js} +2 -2
- package/dist/chunks/{model-retry-hn8kcxz7.js → app-wmx7csfb.js} +14 -14
- package/dist/chunks/{model-retry-pde2d58k.js → app-wy44f1hc.js} +28 -28
- package/dist/chunks/{model-retry-c5mv65df.js → app-wzsrta6c.js} +25 -18
- package/dist/chunks/{model-retry-dbbkyw7c.js → app-x53vnvay.js} +24 -24
- package/dist/chunks/{model-retry-haqhc53f.js → app-x53wsq7n.js} +5 -5
- package/dist/chunks/{model-retry-v5d3jf35.js → app-x9wzcjbs.js} +11 -11
- package/dist/chunks/{model-retry-7zs4mqwf.js → app-xacrkbdt.js} +4 -4
- package/dist/chunks/{model-retry-ewjgt5mg.js → app-xatc8hq4.js} +10 -10
- package/dist/chunks/{model-retry-q2qn9pec.js → app-xgxp02tx.js} +3 -3
- package/dist/chunks/{model-retry-xjr6c8m4.js → app-xjr6c8m4.js} +1 -1
- package/dist/chunks/{model-retry-4v4b6x27.js → app-xkq365q2.js} +30 -30
- package/dist/chunks/{model-retry-4v0y3s2e.js → app-xr798hwy.js} +24 -24
- package/dist/chunks/{model-retry-n320gsn2.js → app-xvn8mnch.js} +4 -4
- package/dist/chunks/{model-retry-2bxdgvd9.js → app-xw8fecae.js} +19 -19
- package/dist/chunks/{model-retry-w4xw9ac5.js → app-xz07m27x.js} +2 -2
- package/dist/chunks/{model-retry-76can8nc.js → app-y7t27j8q.js} +20 -20
- package/dist/chunks/{model-retry-7az9823q.js → app-y8hac0w9.js} +4 -4
- package/dist/chunks/{model-retry-dcwr9369.js → app-y8yvvwvq.js} +23 -23
- package/dist/chunks/{model-retry-4fqb7bj2.js → app-y9f5jet0.js} +13 -13
- package/dist/chunks/{model-retry-vjmraqjf.js → app-y9g025vh.js} +30 -30
- package/dist/chunks/{model-retry-yb20nhc3.js → app-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-ss6cpaky.js → app-ygp1k3t4.js} +4 -4
- package/dist/chunks/{model-retry-cde8qab1.js → app-yhhkh6aw.js} +13 -13
- package/dist/chunks/{model-retry-dt5a52ky.js → app-yjfpwsh1.js} +2 -2
- package/dist/chunks/{model-retry-vcz165ne.js → app-ykx2t3j1.js} +16 -16
- package/dist/chunks/{model-retry-yr705xyq.js → app-yr705xyq.js} +1 -1
- package/dist/chunks/{model-retry-yvtc2x31.js → app-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-retry-jbx2ytam.js → app-ywmqht7w.js} +16 -16
- package/dist/chunks/{model-retry-1ra3771t.js → app-yx6x3fyd.js} +5 -5
- package/dist/chunks/{model-retry-bbyh8hwm.js → app-z0dn1p3b.js} +4 -4
- package/dist/chunks/{model-retry-z0wbgq7s.js → app-z0wbgq7s.js} +1 -1
- package/dist/chunks/{model-retry-kb8grmy4.js → app-z243ybe9.js} +30 -30
- package/dist/chunks/{model-retry-rzgzmmsy.js → app-z3bc9594.js} +16 -16
- package/dist/chunks/app-z7bdqmx5.js +18 -0
- package/dist/chunks/{model-retry-55phx77e.js → app-zc6q7qmw.js} +7 -7
- package/dist/chunks/{model-retry-j9nxzz3g.js → app-ze75qvmd.js} +3 -3
- package/dist/chunks/{model-retry-q0q5p15d.js → app-zehp2v3z.js} +8 -8
- package/dist/chunks/{model-retry-g4nrtg52.js → app-zh8sfh29.js} +31 -31
- package/dist/chunks/{model-retry-7vz66qdt.js → app-zrbszj5w.js} +5 -5
- package/dist/chunks/{model-retry-ztmds42j.js → app-ztmds42j.js} +3 -3
- package/dist/chunks/{model-retry-qyafh6c0.js → app-zysxbxh3.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +88 -88
- 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 +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +247 -247
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +133 -133
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -158
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +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 +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/client-tls/client-tls.bun.js +1 -1
- package/dist/effect/client-tls/client-tls.node.js +1 -1
- package/dist/effect/client-tls/client-tls.workerd.js +1 -1
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +258 -258
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +132 -132
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -105
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -187
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +192 -192
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +114 -114
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +148 -148
- 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 +85 -85
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
- 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 +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +114 -114
- 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 +109 -109
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- 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 +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +426 -426
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +97 -97
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +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 +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +258 -258
- 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 +105 -105
- package/dist/provider.js +113 -113
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +102 -102
- 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 +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +270 -270
- 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 +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- 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 +272 -272
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +176 -176
- package/dist/session/generate.js +210 -210
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +154 -154
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +91 -91
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +194 -194
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +255 -255
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -251
- 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 +9 -9
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +155 -155
- 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 +191 -191
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +170 -170
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +251 -251
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +167 -167
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +253 -253
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +160 -160
- package/dist/tool/plugin/write.js +165 -165
- 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 +163 -163
- package/dist/types/job/recovery.d.ts +55 -3
- package/dist/types/job/sql.d.ts +23 -6
- package/dist/types/job.d.ts +32 -7
- package/dist/types/plugin/provider/claude-agent/claude/status.d.ts +1 -0
- package/dist/types/session/background.d.ts +19 -18
- package/dist/usage-limits.js +100 -100
- package/dist/util/canonical-json.js +1 -1
- 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 +7 -7
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +89 -89
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/model-retry-0t4nwps0.js +0 -16
- package/dist/chunks/model-retry-7wng9pms.js +0 -273
- package/dist/chunks/model-retry-9g3vqnsq.js +0 -35
- package/dist/chunks/model-retry-a610t88q.js +0 -18
- package/dist/chunks/model-retry-b7nkz392.js +0 -29
- /package/dist/chunks/{model-retry-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-1kah00gy.js → app-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4qk9sjk2.js → app-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-5w3e23ze.js → app-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-retry-6agm2x70.js → app-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-7rvsyqjv.js → app-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → app-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9ceax7yg.js → app-9ceax7yg.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-ade8csyh.js → app-ade8csyh.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-beh6qq61.js → app-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cqv5kn06.js → app-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-ean2d8b5.js → app-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-fkpq3x5p.js → app-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → app-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jwr30sdr.js → app-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → app-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-nh4v3znn.js → app-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-p71gwv9c.js → app-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-syrav9an.js → app-syrav9an.js} +0 -0
- /package/dist/chunks/{model-retry-t03h4f5z.js → app-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-retry-ty7weeps.js → app-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-retry-v2dnd5dt.js → app-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → app-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-vtarvj67.js → app-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x4th4bpe.js → app-x4th4bpe.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → app-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-retry-zxpyjp51.js → app-zxpyjp51.js} +0 -0
- /package/dist/chunks/{model-retry-zz5vv3aq.js → app-zz5vv3aq.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-y8hac0w9.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service93,
|
|
8
8
|
node95
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-wdhayyn2.js";
|
|
10
10
|
import {
|
|
11
11
|
AbsolutePath2,
|
|
12
12
|
RelativePath2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-z5v4ffb3.js";
|
|
14
14
|
import {
|
|
15
15
|
ProjectTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-034tev2y.js";
|
|
17
17
|
import {
|
|
18
18
|
latest2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service79
|
|
20
|
+
} from "./app-4dgqrgn1.js";
|
|
21
21
|
import {
|
|
22
22
|
batches2,
|
|
23
23
|
insertBatches2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-jm70asfg.js";
|
|
25
25
|
import {
|
|
26
26
|
SessionEvent2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-ec1grn59.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
update2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-0fvxehme.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionTable2,
|
|
36
36
|
SessionMessageTable2,
|
|
37
37
|
SessionPartTable2,
|
|
38
38
|
SessionInboxTable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./app-mb7mbhnz.js";
|
|
40
40
|
import {
|
|
41
41
|
User3
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./app-fg9p65nk.js";
|
|
43
43
|
import {
|
|
44
44
|
ForkMedia2,
|
|
45
45
|
save2,
|
|
@@ -51,41 +51,41 @@ import {
|
|
|
51
51
|
syncRefs2,
|
|
52
52
|
releaseFrom2,
|
|
53
53
|
releaseSession2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./app-zysxbxh3.js";
|
|
55
55
|
import {
|
|
56
56
|
apply2,
|
|
57
57
|
initialize3,
|
|
58
58
|
advanceEpoch2,
|
|
59
59
|
rewind2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./app-q963thn8.js";
|
|
61
61
|
import {
|
|
62
62
|
encodePart2,
|
|
63
63
|
withParts2,
|
|
64
64
|
decodePartRowSync2,
|
|
65
65
|
decodeMessageRowSync2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./app-431bah1h.js";
|
|
67
67
|
import {
|
|
68
68
|
projectAdmitted2,
|
|
69
69
|
projectDelivered2,
|
|
70
70
|
projectCancelled2,
|
|
71
71
|
projectDeliveryChanged2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./app-tfdmcrnk.js";
|
|
73
73
|
import {
|
|
74
74
|
initialize2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./app-tkcme4h8.js";
|
|
76
76
|
import {
|
|
77
77
|
Slug2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./app-gebd4c9n.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./app-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/projector.ts
|
|
84
84
|
var exports_projector = {};
|
|
85
85
|
__export(exports_projector, {
|
|
86
86
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
87
87
|
SessionProjector: () => exports_projector,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node36
|
|
89
89
|
});
|
|
90
90
|
import { castDraft, produce } from "immer";
|
|
91
91
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
@@ -254,7 +254,7 @@ var projectFork = Effect.fn("SessionProjector.projectFork")(function* (db, event
|
|
|
254
254
|
yield* initialize3(db, event.data.sessionID, event.durable.seq, event.data.instructions);
|
|
255
255
|
});
|
|
256
256
|
var partRowsEnabled = Effect.gen(function* () {
|
|
257
|
-
const config = yield* Effect.serviceOption(
|
|
257
|
+
const config = yield* Effect.serviceOption(Service79);
|
|
258
258
|
if (Option.isNone(config))
|
|
259
259
|
return false;
|
|
260
260
|
return latest2(yield* config.value.entries(), "experimental")?.part_rows === true;
|
|
@@ -745,6 +745,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
745
745
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
746
746
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
747
747
|
}));
|
|
748
|
-
var
|
|
748
|
+
var node36 = makeGlobalNode({ name: "session-projector", layer, deps: [node95, node96] });
|
|
749
749
|
|
|
750
|
-
export { SessionAlreadyProjected2,
|
|
750
|
+
export { SessionAlreadyProjected2, node36, exports_projector };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service86,
|
|
8
|
+
node88
|
|
9
|
+
} from "./app-ywmqht7w.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service56,
|
|
12
|
+
node58
|
|
13
|
+
} from "./app-faw8jez5.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event12,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError7,
|
|
34
|
+
Service: () => Service55,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node57
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event12 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service55 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service55, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service86;
|
|
102
|
+
const search = yield* Service56;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError7({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError7({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError7({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service55.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError7({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError7({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -159,10 +159,10 @@ var baseLayer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
159
159
|
})
|
|
160
160
|
});
|
|
161
161
|
}));
|
|
162
|
-
var
|
|
163
|
-
service:
|
|
162
|
+
var node57 = makeLocationNode({
|
|
163
|
+
service: Service55,
|
|
164
164
|
layer: baseLayer,
|
|
165
|
-
deps: [FSUtil.node,
|
|
165
|
+
deps: [FSUtil.node, node88, node58]
|
|
166
166
|
});
|
|
167
167
|
|
|
168
|
-
export { FindInput2, Write2,
|
|
168
|
+
export { FindInput2, Write2, NotFoundError7, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event12, Service55, node57, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-y8hac0w9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service93,
|
|
7
7
|
node95
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-wdhayyn2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service86,
|
|
11
|
+
node88
|
|
12
|
+
} from "./app-ywmqht7w.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
synthetics2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-431bah1h.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/instructions.ts
|
|
24
24
|
var exports_instructions2 = {};
|
|
25
25
|
__export(exports_instructions2, {
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service11,
|
|
27
27
|
SessionInstructions: () => exports_instructions2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node13
|
|
29
29
|
});
|
|
30
30
|
import { relative } from "path";
|
|
31
31
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -35,13 +35,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
35
35
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service93;
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const db = (yield* Service94).db;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service86;
|
|
45
45
|
const root = yield* fs.resolve(location.project.directory);
|
|
46
46
|
const inFlight = yield* Ref.make(new Map);
|
|
47
47
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -87,7 +87,7 @@ ${file.content}`).join(`
|
|
|
87
87
|
return next;
|
|
88
88
|
})));
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service11.of({ load });
|
|
91
91
|
}));
|
|
92
92
|
function previouslyInjected(db, sessionID) {
|
|
93
93
|
return Effect.gen(function* () {
|
|
@@ -98,10 +98,10 @@ function previouslyInjected(db, sessionID) {
|
|
|
98
98
|
function describePath(root, path) {
|
|
99
99
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
100
100
|
}
|
|
101
|
-
var
|
|
101
|
+
var node13 = makeLocationNode({
|
|
102
102
|
name: "session-instructions",
|
|
103
103
|
layer,
|
|
104
|
-
deps: [node95, node96, FSUtil.node,
|
|
104
|
+
deps: [node95, node96, FSUtil.node, node88]
|
|
105
105
|
});
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { Service11, node13, exports_instructions2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service12,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
13
|
isSafeRelativePath: () => isSafeRelativePath2,
|
|
14
14
|
isSafeSegment: () => isSafeSegment2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node14
|
|
16
16
|
});
|
|
17
17
|
import path from "path";
|
|
18
18
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -50,9 +50,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var layer = Layer.effect(
|
|
55
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
56
56
|
const fs = yield* FSUtil.Service;
|
|
57
57
|
const global = yield* Global.Service;
|
|
58
58
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -65,7 +65,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
65
65
|
return true;
|
|
66
66
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
67
67
|
});
|
|
68
|
-
return
|
|
68
|
+
return Service12.of({
|
|
69
69
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
70
70
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
71
71
|
const source = new URL(base);
|
|
@@ -152,6 +152,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
152
152
|
})
|
|
153
153
|
});
|
|
154
154
|
}));
|
|
155
|
-
var
|
|
155
|
+
var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
156
156
|
|
|
157
|
-
export { isSafeSegment2, isSafeRelativePath2,
|
|
157
|
+
export { isSafeSegment2, isSafeRelativePath2, Service12, node14, exports_discovery };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service94,
|
|
6
6
|
node96
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-y8hac0w9.js";
|
|
8
8
|
import {
|
|
9
9
|
Service93,
|
|
10
10
|
node95
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-wdhayyn2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service91,
|
|
14
|
+
node93
|
|
15
|
+
} from "./app-7mrx0efj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID20,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info30,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-kh1mqnxp.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./app-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: () => ID19,
|
|
44
|
+
Info: () => Info29,
|
|
45
|
+
NotFoundError: () => NotFoundError13,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service87,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured11,
|
|
51
|
+
node: () => node89,
|
|
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 ID19 = ID20;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info29 = Info30;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID19
|
|
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 Service87 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,10 +111,10 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service91;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service93;
|
|
120
120
|
const db = (yield* Service94).db;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service91, 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(Event19.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event19.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(Service91, 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 ?? ID19.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(Service91, 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(Event19.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(Event19.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(Service91, 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 ? ID19.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID19.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(Service91, 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 ? ID19.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(Service91, 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 ?? ID19.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(Service91, 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 ? ID19.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(Service91, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID19.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID19.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service91, 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, ID19.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(Service91, 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(Event19.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service87.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured11(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service87,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [node95, node96, FSUtil.node,
|
|
354
|
+
deps: [node95, node96, FSUtil.node, node93, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node89 = configured11();
|
|
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* Service87;
|
|
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: [node89]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID19, Vcs2, Current2, Info29, UpdateInput4, NotFoundError13, root2, ACTIVATE_INTERVAL2, Service87, configured11, node89, sweepNode2, exports_project };
|