@opencode/core 0.0.0-dev-1248 → 0.0.0-dev-1249
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 +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +262 -262
- package/dist/bus.js +80 -80
- package/dist/chunks/{project-034tev2y.js → models-dev-034tev2y.js} +2 -2
- package/dist/chunks/{project-3pp8pwgj.js → models-dev-036gwwdk.js} +10 -10
- package/dist/chunks/{project-d7tb3b2k.js → models-dev-074xg9ma.js} +20 -20
- package/dist/chunks/{project-fth92xh7.js → models-dev-0dr3svmj.js} +30 -30
- package/dist/chunks/{project-ttz31trp.js → models-dev-0fvxehme.js} +5 -5
- package/dist/chunks/{project-d35tjgrr.js → models-dev-0jz7nv7z.js} +17 -17
- package/dist/chunks/{project-0ma9gw4f.js → models-dev-0ma9gw4f.js} +2 -2
- package/dist/chunks/{project-hq3r0yyq.js → models-dev-0tq2d6dg.js} +3 -3
- package/dist/chunks/{project-rxr06xej.js → models-dev-10tppzn0.js} +39 -39
- package/dist/chunks/{project-6dcmk7yw.js → models-dev-12zb2585.js} +11 -11
- package/dist/chunks/models-dev-17srztax.js +273 -0
- package/dist/chunks/{project-j6j9dn7c.js → models-dev-17vv02bx.js} +50 -50
- package/dist/chunks/{project-1aqsckx4.js → models-dev-1aqsckx4.js} +1 -1
- package/dist/chunks/{project-1aryjtsy.js → models-dev-1aryjtsy.js} +1 -1
- package/dist/chunks/{project-mbrsysta.js → models-dev-1b0qbzmq.js} +9 -9
- package/dist/chunks/{project-1ep2p91f.js → models-dev-1ep2p91f.js} +2 -2
- package/dist/chunks/{project-f1nv7wz1.js → models-dev-1gvkrgdr.js} +19 -19
- package/dist/chunks/{project-k15fwzw4.js → models-dev-1sd43ehx.js} +8 -8
- package/dist/chunks/{project-q08zdk0z.js → models-dev-1wv3qfgy.js} +2 -2
- package/dist/chunks/{project-1x2knyw4.js → models-dev-1x2knyw4.js} +1 -1
- package/dist/chunks/{project-fznmdakp.js → models-dev-1yped5qa.js} +4 -4
- package/dist/chunks/{project-0nsnpsj5.js → models-dev-1z5tywt5.js} +28 -28
- package/dist/chunks/{project-jj7tthaa.js → models-dev-22skzacy.js} +17 -17
- package/dist/chunks/{project-bnnynr5w.js → models-dev-25gdkdwc.js} +22 -22
- package/dist/chunks/{project-6ntww4tm.js → models-dev-2836gmpy.js} +11 -11
- package/dist/chunks/{project-j7kbxvat.js → models-dev-2aq5drwv.js} +13 -13
- package/dist/chunks/{project-f4krjp8e.js → models-dev-2bswbpgz.js} +5 -5
- package/dist/chunks/models-dev-2dkjcnxp.js +18 -0
- package/dist/chunks/{project-2fc7eemy.js → models-dev-2fc7eemy.js} +1 -1
- package/dist/chunks/{project-w79nt68w.js → models-dev-2kg89srt.js} +4 -4
- package/dist/chunks/{project-2p60zmnr.js → models-dev-2p60zmnr.js} +2 -2
- package/dist/chunks/{project-2prt43t7.js → models-dev-2prt43t7.js} +1 -1
- package/dist/chunks/{project-kz8ph6xm.js → models-dev-2t9zmecr.js} +11 -11
- package/dist/chunks/{project-2ytp0tvq.js → models-dev-2ytp0tvq.js} +1 -1
- package/dist/chunks/{project-sehckb7w.js → models-dev-2zqt1yf0.js} +11 -11
- package/dist/chunks/{project-3y3jbad2.js → models-dev-3307jmcw.js} +28 -28
- package/dist/chunks/{project-nq381v9m.js → models-dev-3660j8hx.js} +18 -18
- package/dist/chunks/{project-cyppd8z1.js → models-dev-36qzrbfm.js} +4 -4
- package/dist/chunks/{project-1vkebezz.js → models-dev-3exv56dr.js} +7 -7
- package/dist/chunks/{project-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-3nnrz6f6.js → models-dev-3nnrz6f6.js} +1 -1
- package/dist/chunks/{project-7zs4mqwf.js → models-dev-3qgwywyc.js} +4 -4
- package/dist/chunks/{project-xhkfsh82.js → models-dev-3s5mnk17.js} +10 -10
- package/dist/chunks/{project-ay6wrfq3.js → models-dev-3ys3jnn6.js} +9 -9
- package/dist/chunks/{project-9c0e36dm.js → models-dev-3yvhwd75.js} +16 -16
- package/dist/chunks/{project-x44wax5s.js → models-dev-401dk584.js} +10 -10
- package/dist/chunks/{project-40y6dtc2.js → models-dev-40y6dtc2.js} +1 -1
- package/dist/chunks/{project-sqp3n15g.js → models-dev-411az615.js} +5 -5
- package/dist/chunks/{project-4py1f4td.js → models-dev-41et1cv2.js} +4 -4
- package/dist/chunks/{project-5z294gtv.js → models-dev-41wtn2rc.js} +30 -30
- package/dist/chunks/{project-44pmzq9c.js → models-dev-44pmzq9c.js} +2 -2
- package/dist/chunks/{project-m4p4r8nc.js → models-dev-4dfqsw0d.js} +4 -4
- package/dist/chunks/{project-4dx1dgte.js → models-dev-4dx1dgte.js} +1 -1
- package/dist/chunks/{project-4f25tdd0.js → models-dev-4f25tdd0.js} +1 -1
- package/dist/chunks/{project-3q0f2ar2.js → models-dev-4jnd3yaw.js} +32 -32
- package/dist/chunks/{project-4pyp9zr9.js → models-dev-4pyp9zr9.js} +1 -1
- package/dist/chunks/{project-2ppya83s.js → models-dev-4rhh5519.js} +20 -20
- package/dist/chunks/{project-4v008n1t.js → models-dev-4v008n1t.js} +1 -1
- package/dist/chunks/{project-1qs9np1d.js → models-dev-4v2wj9d1.js} +25 -25
- package/dist/chunks/{project-j5hjhyyz.js → models-dev-4yr3m3vt.js} +17 -17
- package/dist/chunks/{project-792v9nnn.js → models-dev-503vrym4.js} +48 -48
- package/dist/chunks/{project-gm67qj8v.js → models-dev-5375ekav.js} +21 -21
- package/dist/chunks/models-dev-55gc1djp.js +26 -0
- package/dist/chunks/{project-x150ncgg.js → models-dev-57kvbh9f.js} +2 -2
- package/dist/chunks/{project-m1517jpk.js → models-dev-5dch2d3h.js} +4 -4
- package/dist/chunks/{project-pkvq7mzj.js → models-dev-5gsbjvy1.js} +14 -14
- package/dist/chunks/{project-5m9w47nd.js → models-dev-5m9w47nd.js} +1 -1
- package/dist/chunks/{project-bhfd478d.js → models-dev-5n0rnk8e.js} +4 -4
- package/dist/chunks/{project-fk3cbne6.js → models-dev-5zwkwjk5.js} +5 -5
- package/dist/chunks/{project-g8jb4w4h.js → models-dev-66ky6rkx.js} +8 -8
- package/dist/chunks/{project-sbqqz40r.js → models-dev-67717epw.js} +10 -10
- package/dist/chunks/{project-rda0b3ts.js → models-dev-6gzka0b1.js} +38 -38
- package/dist/chunks/{project-fhr7jde6.js → models-dev-6rakh7se.js} +39 -39
- package/dist/chunks/{project-agje4kmn.js → models-dev-6y2b864j.js} +4 -4
- package/dist/chunks/{project-4xg51qdn.js → models-dev-7144tr9n.js} +24 -24
- package/dist/chunks/{project-qtf35215.js → models-dev-721tb84k.js} +3 -3
- package/dist/chunks/{project-qkzx84kf.js → models-dev-72sgf0r4.js} +9 -9
- package/dist/chunks/{project-z0dwjd53.js → models-dev-74c27j14.js} +19 -19
- package/dist/chunks/{project-fgqwc3av.js → models-dev-77141tbf.js} +81 -81
- package/dist/chunks/{project-80mg3ag8.js → models-dev-775hqbnd.js} +3 -3
- package/dist/chunks/{project-jmcqpt3k.js → models-dev-77wyzsg6.js} +9 -9
- package/dist/chunks/{project-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-dyq31xsa.js → models-dev-7cpytdah.js} +19 -19
- package/dist/chunks/{project-519xahjx.js → models-dev-7m0j8vyd.js} +8 -8
- package/dist/chunks/{project-7w2ypzdf.js → models-dev-7w2ypzdf.js} +1 -1
- package/dist/chunks/{project-wqvgzbkg.js → models-dev-7w6pswv3.js} +46 -46
- package/dist/chunks/{project-7weczvnd.js → models-dev-7weczvnd.js} +1 -1
- package/dist/chunks/{project-emeqx0zc.js → models-dev-7x80x97n.js} +5 -5
- package/dist/chunks/{project-d08p3xwc.js → models-dev-7xgxjkjs.js} +16 -16
- package/dist/chunks/{project-80pdk984.js → models-dev-80pdk984.js} +1 -1
- package/dist/chunks/{project-85jq8dht.js → models-dev-85jq8dht.js} +1 -1
- package/dist/chunks/{project-d3egxprz.js → models-dev-89397t1d.js} +6 -6
- package/dist/chunks/{project-8b3vzgkx.js → models-dev-8b3vzgkx.js} +1 -1
- package/dist/chunks/{project-8qbavr51.js → models-dev-8eeaq463.js} +28 -28
- package/dist/chunks/{project-xnq89a6b.js → models-dev-8exsnsjy.js} +24 -24
- package/dist/chunks/{project-h0z75tx2.js → models-dev-8jam8rgg.js} +7 -7
- package/dist/chunks/{project-8kjyvwy5.js → models-dev-8kjyvwy5.js} +1 -1
- package/dist/chunks/{project-0chd5a7v.js → models-dev-8rvvszr7.js} +35 -35
- package/dist/chunks/{project-8sxe6kv8.js → models-dev-8sxe6kv8.js} +2 -2
- package/dist/chunks/{project-8wtp7s3z.js → models-dev-8wtp7s3z.js} +1 -1
- package/dist/chunks/{project-aw1f31nn.js → models-dev-8xb43s2n.js} +11 -11
- package/dist/chunks/{project-8zv0xmg5.js → models-dev-8zv0xmg5.js} +1 -1
- package/dist/chunks/{project-963hk181.js → models-dev-963hk181.js} +2 -2
- package/dist/chunks/{project-wzg33x21.js → models-dev-99afqya7.js} +8 -8
- package/dist/chunks/{project-2x8s18r7.js → models-dev-9f2c9ywc.js} +12 -12
- package/dist/chunks/{project-2j5rqqks.js → models-dev-9hkx6g65.js} +4 -4
- package/dist/chunks/{project-4krz84m7.js → models-dev-9khz0wq9.js} +7 -7
- package/dist/chunks/{project-q69fea8d.js → models-dev-9nx8mhfz.js} +3 -3
- package/dist/chunks/{project-8bcc8xgx.js → models-dev-9rqfe4ad.js} +3 -3
- package/dist/chunks/{project-4mj95crb.js → models-dev-9s820j2q.js} +22 -22
- package/dist/chunks/{project-a0f8fvmt.js → models-dev-9sk33afj.js} +2 -2
- package/dist/chunks/{project-71ypmw89.js → models-dev-9z6nk1zx.js} +5 -5
- package/dist/chunks/{project-t755enys.js → models-dev-a06yk0q9.js} +7 -7
- package/dist/chunks/{project-v278eqfj.js → models-dev-a3wtn3np.js} +7 -7
- package/dist/chunks/{project-3j1mscdb.js → models-dev-a7cpsvay.js} +17 -17
- package/dist/chunks/{project-3tnz5sgn.js → models-dev-a7svfngn.js} +9 -9
- package/dist/chunks/{project-fw42cez6.js → models-dev-a96zt9fa.js} +23 -23
- package/dist/chunks/{project-431pxc15.js → models-dev-a9rnyedt.js} +20 -20
- package/dist/chunks/{project-yggj1nmg.js → models-dev-ab1fc26x.js} +8 -8
- package/dist/chunks/{project-ztnrsjpf.js → models-dev-ab3f4bax.js} +9 -9
- package/dist/chunks/{project-pqt6ydvr.js → models-dev-abt7pefr.js} +18 -18
- package/dist/chunks/{project-ashdrv1y.js → models-dev-ashdrv1y.js} +3 -3
- package/dist/chunks/{project-cfcevk7c.js → models-dev-asspwq2b.js} +47 -47
- package/dist/chunks/{project-ayjs7tqn.js → models-dev-ayjs7tqn.js} +2 -2
- package/dist/chunks/{project-qmv06rw9.js → models-dev-ayxrbkc3.js} +23 -23
- package/dist/chunks/{project-483sd1yb.js → models-dev-b238ekta.js} +7 -7
- package/dist/chunks/{project-b26ddj6h.js → models-dev-b26ddj6h.js} +4 -4
- package/dist/chunks/{project-1r1g9mrd.js → models-dev-b5pbp0hv.js} +3 -3
- package/dist/chunks/{project-v820yqm0.js → models-dev-bbj0kdb6.js} +14 -14
- package/dist/chunks/{project-zr2728mt.js → models-dev-bn6bgy83.js} +11 -11
- package/dist/chunks/{project-ag6d02bt.js → models-dev-bq5mnsak.js} +18 -18
- package/dist/chunks/{project-ysrg4cfd.js → models-dev-brhkexf4.js} +39 -39
- package/dist/chunks/{project-ncmgrs0g.js → models-dev-brx6sc7a.js} +11 -11
- package/dist/chunks/{project-wccdp8cp.js → models-dev-bsrzhmad.js} +18 -18
- package/dist/chunks/{project-bstexjd6.js → models-dev-bstexjd6.js} +1 -1
- package/dist/chunks/{project-mvj868xr.js → models-dev-c16qx4nk.js} +4 -4
- package/dist/chunks/{project-9vctdnkw.js → models-dev-c464vfv3.js} +43 -43
- package/dist/chunks/{project-26g4haz7.js → models-dev-c4rgxskh.js} +5 -5
- package/dist/chunks/{project-c6x7d2ts.js → models-dev-c6x7d2ts.js} +1 -1
- package/dist/chunks/{project-6k3ybkzz.js → models-dev-cdn7w1yf.js} +36 -36
- package/dist/chunks/{project-qnbbavg6.js → models-dev-cejy63q3.js} +3 -3
- package/dist/chunks/{project-0dtrfk3r.js → models-dev-cnkzwjmj.js} +46 -46
- package/dist/chunks/{project-z2pm94c8.js → models-dev-cqb3c6c8.js} +3 -3
- package/dist/chunks/{project-e5sstke6.js → models-dev-crhg36zh.js} +49 -49
- package/dist/chunks/{project-cwrgdav8.js → models-dev-cwrgdav8.js} +2 -2
- package/dist/chunks/{project-3w2222m1.js → models-dev-cwvpx71b.js} +13 -13
- package/dist/chunks/{project-mdbdmczz.js → models-dev-cz87j0ck.js} +19 -19
- package/dist/chunks/{project-etrnj9s7.js → models-dev-d390zwf3.js} +8 -8
- package/dist/chunks/{project-d4v9tmah.js → models-dev-d4v9tmah.js} +2 -2
- package/dist/chunks/{project-64eaqz1s.js → models-dev-d7ybkkhr.js} +14 -14
- package/dist/chunks/{project-n2kx2jb9.js → models-dev-d88tks42.js} +16 -16
- package/dist/chunks/{project-cakbknzd.js → models-dev-d94bgxtd.js} +6 -6
- package/dist/chunks/{project-8tfy862m.js → models-dev-dadgn4qn.js} +28 -28
- package/dist/chunks/{project-y7p2c18y.js → models-dev-dpb445m7.js} +36 -36
- package/dist/chunks/{project-8tdv4j48.js → models-dev-dqn4a6f5.js} +8 -8
- package/dist/chunks/{project-dt77769w.js → models-dev-dt77769w.js} +1 -1
- package/dist/chunks/{project-6yxp1w4q.js → models-dev-e03hqj6t.js} +22 -22
- package/dist/chunks/{project-0arbppaz.js → models-dev-e1w30ysn.js} +4 -4
- package/dist/chunks/{project-y8tnnwde.js → models-dev-e4tpen90.js} +7 -7
- package/dist/chunks/{project-crrcr980.js → models-dev-e5653pfs.js} +8 -8
- package/dist/chunks/{project-raztesy5.js → models-dev-e8q0fqbh.js} +19 -19
- package/dist/chunks/{project-jvr2w17w.js → models-dev-edk39wr9.js} +7 -7
- package/dist/chunks/{project-a3qfb72q.js → models-dev-em5w5fk4.js} +13 -13
- package/dist/chunks/{project-eqw4pqj1.js → models-dev-eqw4pqj1.js} +2 -2
- package/dist/chunks/{project-fxht90a9.js → models-dev-et4jk2zb.js} +7 -7
- package/dist/chunks/{project-b7xfdchc.js → models-dev-feandpgj.js} +5 -5
- package/dist/chunks/{project-62n2y8nj.js → models-dev-ffbfz33z.js} +83 -83
- package/dist/chunks/{project-j23ftw7c.js → models-dev-ffgd7sxj.js} +64 -64
- package/dist/chunks/{project-fg9p65nk.js → models-dev-fg9p65nk.js} +2 -2
- package/dist/chunks/{project-gnm40gsw.js → models-dev-fhsy5y43.js} +6 -6
- package/dist/chunks/{project-8xe8t0kv.js → models-dev-fnjc5egz.js} +25 -25
- package/dist/chunks/{project-xsefsvkd.js → models-dev-fy0dv4fq.js} +31 -31
- package/dist/chunks/{project-cm34zpbh.js → models-dev-gb9b99d4.js} +19 -19
- package/dist/chunks/{project-gbjdnr5j.js → models-dev-gbjdnr5j.js} +2 -2
- package/dist/chunks/{project-az1s11wb.js → models-dev-gd2ak518.js} +24 -24
- package/dist/chunks/{project-0t5w8q7r.js → models-dev-ge29etah.js} +10 -10
- package/dist/chunks/{project-ghrv1g9c.js → models-dev-ghrv1g9c.js} +1 -1
- package/dist/chunks/{project-9x773dww.js → models-dev-gs7yvkb2.js} +18 -18
- package/dist/chunks/{project-7epxk7kn.js → models-dev-gvrjpsf2.js} +33 -33
- package/dist/chunks/{project-2s9mae96.js → models-dev-gwyytpcj.js} +6 -6
- package/dist/chunks/{project-2mbjfaxd.js → models-dev-h0rg6s60.js} +4 -4
- package/dist/chunks/{project-rha71f46.js → models-dev-h31v01da.js} +4 -4
- package/dist/chunks/{project-bfj43ee4.js → models-dev-h5bnrcjf.js} +29 -29
- package/dist/chunks/{project-wxge6eyq.js → models-dev-hc81v1j0.js} +7 -7
- package/dist/chunks/{project-x7eswtzx.js → models-dev-hcg204f8.js} +19 -19
- package/dist/chunks/{project-hgzwgvze.js → models-dev-hgzwgvze.js} +2 -2
- package/dist/chunks/{project-10pn4eb5.js → models-dev-hj0xet7m.js} +5 -5
- package/dist/chunks/{project-sxfhstyp.js → models-dev-hya46b8b.js} +17 -17
- package/dist/chunks/{project-kevxjcad.js → models-dev-hyba7qbc.js} +35 -35
- package/dist/chunks/{project-baecht6p.js → models-dev-j46ahd2y.js} +3 -3
- package/dist/chunks/{project-ze75qvmd.js → models-dev-j9nxzz3g.js} +3 -3
- package/dist/chunks/{project-gmemj5zs.js → models-dev-jjvvtnfs.js} +4 -4
- package/dist/chunks/{project-vv9nrnd0.js → models-dev-jm1j0z3g.js} +49 -49
- package/dist/chunks/{project-jm70asfg.js → models-dev-jm70asfg.js} +1 -1
- package/dist/chunks/{project-fw5gnxq9.js → models-dev-jmwq7fxp.js} +12 -12
- package/dist/chunks/{project-bzk9fs6r.js → models-dev-jrkmyv6v.js} +5 -5
- package/dist/chunks/{project-fsngmdgw.js → models-dev-jv6n0527.js} +2 -2
- package/dist/chunks/{project-trxz1dq4.js → models-dev-jvf0ev2n.js} +8 -8
- package/dist/chunks/{project-j2j44k42.js → models-dev-jwkdm3re.js} +26 -26
- package/dist/chunks/{project-38atze3s.js → models-dev-jwve1gmd.js} +4 -4
- package/dist/chunks/{project-tk5c1z6k.js → models-dev-jztytfhj.js} +9 -9
- package/dist/chunks/{project-tyecybg9.js → models-dev-k131j362.js} +24 -24
- package/dist/chunks/{project-dy31561s.js → models-dev-k3hrkc4t.js} +11 -11
- package/dist/chunks/{project-qfz6bxfd.js → models-dev-k46dd5bg.js} +4 -4
- package/dist/chunks/{project-wqw765en.js → models-dev-k83xz8k1.js} +4 -4
- package/dist/chunks/{project-w61ck1ev.js → models-dev-kbny2wyz.js} +3 -3
- package/dist/chunks/{project-548n6y2b.js → models-dev-kenvfkxx.js} +3 -3
- package/dist/chunks/{project-9zfcngb4.js → models-dev-kn4zqwcq.js} +3 -3
- package/dist/chunks/{project-kt3bjfbg.js → models-dev-kt3bjfbg.js} +1 -1
- package/dist/chunks/{project-kzczzf4v.js → models-dev-kzczzf4v.js} +1 -1
- package/dist/chunks/{project-m1714858.js → models-dev-m1714858.js} +1 -1
- package/dist/chunks/{project-y6mxt1yk.js → models-dev-m3y05qqg.js} +8 -8
- package/dist/chunks/{project-caa2677f.js → models-dev-m4ez3kpg.js} +15 -15
- package/dist/chunks/{project-m4ktxxg2.js → models-dev-m59f0jsq.js} +16 -16
- package/dist/chunks/{project-q40c3wbt.js → models-dev-m5k3z65y.js} +21 -21
- package/dist/chunks/{project-m90tx7mw.js → models-dev-m90tx7mw.js} +1 -1
- package/dist/chunks/{project-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-mb7mbhnz.js → models-dev-mb7mbhnz.js} +3 -3
- package/dist/chunks/{project-qp2996hh.js → models-dev-mbhm97dq.js} +5 -5
- package/dist/chunks/{project-s1ph7h9e.js → models-dev-mggd6rz4.js} +8 -8
- package/dist/chunks/{project-0x9bxa2j.js → models-dev-mjrcsjpa.js} +9 -9
- package/dist/chunks/models-dev-mjwn9j3n.js +16 -0
- package/dist/chunks/{project-3f3v4jga.js → models-dev-mkpjksfm.js} +21 -21
- package/dist/chunks/{project-57mza00s.js → models-dev-msd2a3qm.js} +4 -4
- package/dist/chunks/{project-ntzk619r.js → models-dev-mtmepcgb.js} +5 -5
- package/dist/chunks/{project-k4dq8cde.js → models-dev-mycjt3c4.js} +13 -13
- package/dist/chunks/{project-vvmxza90.js → models-dev-n1barjca.js} +12 -12
- package/dist/chunks/{project-epa60wfv.js → models-dev-n5gqv84h.js} +38 -38
- package/dist/chunks/{project-8ev79zfj.js → models-dev-n8s10273.js} +15 -15
- package/dist/chunks/{project-p1dfpbqk.js → models-dev-nax6hemm.js} +5 -5
- package/dist/chunks/{project-t1dv4jn6.js → models-dev-nb6eank2.js} +182 -182
- package/dist/chunks/{project-mt2k28pm.js → models-dev-nbbbhn0d.js} +12 -12
- package/dist/chunks/{project-rt678kzv.js → models-dev-nd4gwe8n.js} +8 -8
- package/dist/chunks/{project-nvsqe6fp.js → models-dev-new0drwr.js} +11 -11
- package/dist/chunks/{project-b7nkz392.js → models-dev-nfhv1t94.js} +1 -1
- package/dist/chunks/{project-archncmc.js → models-dev-nhcy02rj.js} +11 -11
- package/dist/chunks/{project-9c8qa8aw.js → models-dev-nhdmttk7.js} +2 -2
- package/dist/chunks/{project-e4zwmx34.js → models-dev-nrvth3gs.js} +1 -1
- package/dist/chunks/{project-jyj92zxe.js → models-dev-nwq7jx8j.js} +17 -17
- package/dist/chunks/{project-a8xx5dja.js → models-dev-nxbp65an.js} +33 -33
- package/dist/chunks/{project-zzb1j0z2.js → models-dev-p3g00wwf.js} +18 -18
- package/dist/chunks/{project-39cj188s.js → models-dev-p47b4gcf.js} +13 -13
- package/dist/chunks/{project-1yq9hg58.js → models-dev-p7vhpwh8.js} +5 -5
- package/dist/chunks/{project-zhwbpn2g.js → models-dev-pbt2g20a.js} +11 -11
- package/dist/chunks/{project-171mzba9.js → models-dev-phfskz3b.js} +11 -11
- package/dist/chunks/{project-pknna89w.js → models-dev-pknna89w.js} +1 -1
- package/dist/chunks/{project-cqqf6ekq.js → models-dev-pnn3s5d3.js} +41 -41
- package/dist/chunks/{project-9c5de9ex.js → models-dev-prmg9r20.js} +27 -27
- package/dist/chunks/{project-sq4s6wq1.js → models-dev-ps53yrdv.js} +6 -6
- package/dist/chunks/{project-1zf4sf6z.js → models-dev-psg2c0d7.js} +29 -29
- package/dist/chunks/{project-rj3fktzd.js → models-dev-pww2npsx.js} +30 -30
- package/dist/chunks/{project-q3s01060.js → models-dev-q42wnwkn.js} +26 -26
- package/dist/chunks/{project-f2zjpyt5.js → models-dev-q5bk3gvt.js} +5 -5
- package/dist/chunks/{project-8h1vpp1z.js → models-dev-q6yzczqe.js} +37 -37
- package/dist/chunks/{project-h1h55cx7.js → models-dev-q7q1hz4r.js} +6 -6
- package/dist/chunks/{project-8fc4zxgz.js → models-dev-qeeszv1y.js} +17 -17
- package/dist/chunks/{project-qkn1vdbd.js → models-dev-qkn1vdbd.js} +5 -5
- package/dist/chunks/{project-qp7r0hxv.js → models-dev-qp7r0hxv.js} +1 -1
- package/dist/chunks/{project-waaa4p97.js → models-dev-qzbde1s8.js} +11 -11
- package/dist/chunks/{project-jjk54350.js → models-dev-r1z10d9v.js} +5 -5
- package/dist/chunks/{project-r41sfy63.js → models-dev-r41sfy63.js} +2 -2
- package/dist/chunks/{project-ez0cbkx8.js → models-dev-r850460d.js} +9 -9
- package/dist/chunks/{project-rb9dy4dg.js → models-dev-rb9dy4dg.js} +1 -1
- package/dist/chunks/{project-gjnqq892.js → models-dev-rcm52t2a.js} +11 -11
- package/dist/chunks/{project-rgc9cx3e.js → models-dev-rgc9cx3e.js} +2 -2
- package/dist/chunks/{project-2aym7hfw.js → models-dev-rnwwjk76.js} +43 -43
- package/dist/chunks/{project-ha0b45v6.js → models-dev-rp5f3yaf.js} +6 -6
- package/dist/chunks/{project-7mav3dfd.js → models-dev-rxkawxzk.js} +15 -15
- package/dist/chunks/{project-fna9a5p4.js → models-dev-rz2y1pft.js} +2 -2
- package/dist/chunks/{project-90ct6wq4.js → models-dev-rzg6y5rp.js} +4 -4
- package/dist/chunks/{project-wheb3a6d.js → models-dev-rznx9j3h.js} +10 -10
- package/dist/chunks/{project-7r8fsv9c.js → models-dev-s5zrq09q.js} +8 -8
- package/dist/chunks/{project-ab4f9jgy.js → models-dev-s98b02bx.js} +59 -59
- package/dist/chunks/{project-sbya78hr.js → models-dev-sbya78hr.js} +1 -1
- package/dist/chunks/{project-22m053ef.js → models-dev-sc2q6fjh.js} +10 -10
- package/dist/chunks/{project-y3p3hzkr.js → models-dev-scmk72rv.js} +5 -5
- package/dist/chunks/{project-npbr9jyn.js → models-dev-sdh2063v.js} +14 -14
- package/dist/chunks/{project-g6rdk21d.js → models-dev-sq4h7xsb.js} +8 -8
- package/dist/chunks/{project-epq42292.js → models-dev-ssa9fwjg.js} +8 -8
- package/dist/chunks/{project-8s7nwkg4.js → models-dev-svc21q29.js} +7 -7
- package/dist/chunks/{project-svcy3p9a.js → models-dev-svcy3p9a.js} +1 -1
- package/dist/chunks/{project-5kxgn6ep.js → models-dev-svyd1y4y.js} +25 -25
- package/dist/chunks/{project-z1mn6jt8.js → models-dev-sw4n5bmm.js} +30 -30
- package/dist/chunks/{project-6qsycem6.js → models-dev-sz2vvhaw.js} +18 -18
- package/dist/chunks/{project-1y4ftnew.js → models-dev-t0k1b86s.js} +29 -29
- package/dist/chunks/{project-xtzfbvhp.js → models-dev-t41fha5x.js} +25 -25
- package/dist/chunks/{project-tbpn7jtk.js → models-dev-tbpn7jtk.js} +1 -1
- package/dist/chunks/{project-tczq8hjw.js → models-dev-tczq8hjw.js} +1 -1
- package/dist/chunks/{project-vt4r9rmy.js → models-dev-teav1bzy.js} +9 -9
- package/dist/chunks/{project-tg7s7b5t.js → models-dev-tg7s7b5t.js} +1 -1
- package/dist/chunks/{project-ek0bfxad.js → models-dev-th9rthb3.js} +27 -27
- package/dist/chunks/{project-v8smz8w2.js → models-dev-tm032edj.js} +18 -18
- package/dist/chunks/{project-phtpfj49.js → models-dev-tprnj4bx.js} +23 -23
- package/dist/chunks/{project-tr8x705m.js → models-dev-tr8x705m.js} +1 -1
- package/dist/chunks/{project-tvtps2q9.js → models-dev-tvtps2q9.js} +1 -1
- package/dist/chunks/{project-xw0enpct.js → models-dev-tw10da7t.js} +28 -28
- package/dist/chunks/{project-twssxy5n.js → models-dev-twssxy5n.js} +2 -2
- package/dist/chunks/{project-fk1xpptr.js → models-dev-v2bed4mt.js} +13 -13
- package/dist/chunks/{project-xg22f7xw.js → models-dev-v2gjf0st.js} +26 -26
- package/dist/chunks/{project-v2r1d0zg.js → models-dev-v2r1d0zg.js} +1 -1
- package/dist/chunks/{project-tg1vr1qt.js → models-dev-v5hpj9dd.js} +8 -8
- package/dist/chunks/{project-519yr74w.js → models-dev-vata69ge.js} +7 -7
- package/dist/chunks/{project-rq5hxvfv.js → models-dev-vcj9zh6x.js} +23 -23
- package/dist/chunks/{project-vjf35v1f.js → models-dev-vjf35v1f.js} +1 -1
- package/dist/chunks/{project-0nrjqdgb.js → models-dev-vjs7g5et.js} +14 -14
- package/dist/chunks/{project-03bwqn7t.js → models-dev-vmzwb0qj.js} +352 -352
- package/dist/chunks/{project-c5zvymhv.js → models-dev-vt2d6wap.js} +4 -4
- package/dist/chunks/{project-qw36vqr6.js → models-dev-w3rbbg8v.js} +18 -18
- package/dist/chunks/{project-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-wakvkjy4.js → models-dev-wakvkjy4.js} +1 -1
- package/dist/chunks/{project-wd87259q.js → models-dev-wd87259q.js} +1 -1
- package/dist/chunks/{project-wegkxhrn.js → models-dev-wegkxhrn.js} +2 -2
- package/dist/chunks/models-dev-wg5hbyss.js +35 -0
- package/dist/chunks/{project-xr4330c9.js → models-dev-wjwtw3h3.js} +22 -22
- package/dist/chunks/{project-jhp1phrh.js → models-dev-x38dc4ac.js} +16 -16
- package/dist/chunks/{project-8wepr19g.js → models-dev-x4qeqj8p.js} +17 -17
- package/dist/chunks/{project-cqcp610d.js → models-dev-x7bv6znx.js} +6 -6
- package/dist/chunks/{project-e2rxxat4.js → models-dev-x8setz9q.js} +15 -15
- package/dist/chunks/{project-zevbv6wf.js → models-dev-xbew5jev.js} +9 -9
- package/dist/chunks/{project-e50a5zr1.js → models-dev-xcsyresq.js} +20 -20
- package/dist/chunks/{project-xjr6c8m4.js → models-dev-xjr6c8m4.js} +1 -1
- package/dist/chunks/{project-qkpj5qxb.js → models-dev-xrvteddv.js} +23 -23
- package/dist/chunks/{project-vyphjyvg.js → models-dev-xtjqxxcv.js} +12 -12
- package/dist/chunks/{project-n320gsn2.js → models-dev-xvn8mnch.js} +4 -4
- package/dist/chunks/{project-efg8vddt.js → models-dev-xxk39qrw.js} +16 -16
- package/dist/chunks/{project-et64y3fp.js → models-dev-y7mkxmgg.js} +17 -17
- package/dist/chunks/{project-rh4pkht4.js → models-dev-y8z079xb.js} +24 -24
- package/dist/chunks/{project-yb20nhc3.js → models-dev-yb20nhc3.js} +1 -1
- package/dist/chunks/{project-dsdkv40h.js → models-dev-yc9e3qmh.js} +15 -15
- package/dist/chunks/{project-w973ra0e.js → models-dev-ymkdz6p6.js} +19 -19
- package/dist/chunks/{project-yr705xyq.js → models-dev-yr705xyq.js} +1 -1
- package/dist/chunks/{project-cxe1m6wk.js → models-dev-ys8wgayz.js} +4 -4
- package/dist/chunks/{project-vs4msq84.js → models-dev-yst76qk4.js} +13 -13
- package/dist/chunks/{project-yybgvvmq.js → models-dev-yts2a8qm.js} +4 -4
- package/dist/chunks/{project-yvtc2x31.js → models-dev-yvtc2x31.js} +1 -1
- package/dist/chunks/{project-xsb8dtts.js → models-dev-ywk5586w.js} +9 -9
- package/dist/chunks/{project-z0wbgq7s.js → models-dev-z0wbgq7s.js} +1 -1
- package/dist/chunks/{project-05yy5vxh.js → models-dev-z3rm581n.js} +34 -34
- package/dist/chunks/{project-e23fvnj0.js → models-dev-z7yb7t4m.js} +81 -81
- package/dist/chunks/{project-y138r13n.js → models-dev-zj5gmb3b.js} +44 -44
- package/dist/chunks/{project-dnx5tzbn.js → models-dev-zr8qnheg.js} +4 -4
- package/dist/chunks/{project-ys0r0yhy.js → models-dev-ztmabfc5.js} +27 -27
- package/dist/chunks/{project-9sah8c90.js → models-dev-ztwy9msv.js} +8 -8
- package/dist/chunks/{project-tzt95cez.js → models-dev-zw9jt06x.js} +6 -6
- package/dist/chunks/{project-81x66nn9.js → models-dev-zy0gch8w.js} +3 -3
- 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 +8 -8
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +92 -92
- 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 +130 -130
- package/dist/config/plugin/location-watcher.js +133 -133
- 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 +131 -131
- 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 +156 -156
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +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 +98 -98
- package/dist/effect/app-node-builder.js +450 -450
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +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 +6 -6
- package/dist/filesystem/location-watcher.js +260 -260
- 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 +118 -118
- package/dist/flag.js +132 -132
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +123 -123
- package/dist/git.js +7 -7
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +96 -96
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +4 -4
- 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 +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +184 -184
- 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 +94 -94
- 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 +155 -155
- package/dist/mcp/instructions.js +190 -190
- 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 +113 -113
- package/dist/model-resolver.js +113 -113
- 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 +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- 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 +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- 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 +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +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 +430 -430
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +262 -262
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +113 -113
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +99 -99
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +266 -266
- package/dist/session/execution/subagent-report.js +145 -145
- 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 +152 -152
- 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 +148 -148
- package/dist/session/message-updater.js +4 -4
- 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 +1 -1
- 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 +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- 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 +143 -143
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +171 -171
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +254 -254
- 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 +13 -13
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +161 -161
- 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 +189 -189
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +257 -257
- 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 +173 -173
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +260 -260
- package/dist/tool/plugin/shell.js +249 -249
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +156 -156
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +173 -173
- 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 +167 -167
- package/dist/usage-limits.js +98 -98
- 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 +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +98 -98
- package/dist/worktree.js +101 -101
- package/package.json +8 -8
- package/dist/chunks/project-7yv5xa0k.js +0 -18
- package/dist/chunks/project-gc9w7cv4.js +0 -26
- package/dist/chunks/project-qhgv9qa4.js +0 -273
- package/dist/chunks/project-xdvt2kx8.js +0 -35
- package/dist/chunks/project-y32xxt00.js +0 -16
- /package/dist/chunks/{project-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1kah00gy.js → models-dev-1kah00gy.js} +0 -0
- /package/dist/chunks/{project-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4qk9sjk2.js → models-dev-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → models-dev-53557ph1.js} +0 -0
- /package/dist/chunks/{project-5w3e23ze.js → models-dev-5w3e23ze.js} +0 -0
- /package/dist/chunks/{project-6agm2x70.js → models-dev-6agm2x70.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → models-dev-6prwharc.js} +0 -0
- /package/dist/chunks/{project-6q2bdcd1.js → models-dev-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-7rvsyqjv.js → models-dev-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → models-dev-822emrt2.js} +0 -0
- /package/dist/chunks/{project-84wd9syh.js → models-dev-84wd9syh.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9ceax7yg.js → models-dev-9ceax7yg.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-ade8csyh.js → models-dev-ade8csyh.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-beh6qq61.js → models-dev-beh6qq61.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cqv5kn06.js → models-dev-cqv5kn06.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → models-dev-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-ean2d8b5.js → models-dev-ean2d8b5.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-fkpq3x5p.js → models-dev-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → models-dev-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → models-dev-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hcxmzztb.js → models-dev-hcxmzztb.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → models-dev-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jwr30sdr.js → models-dev-jwr30sdr.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-m18g726c.js → models-dev-m18g726c.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-nh4v3znn.js → models-dev-nh4v3znn.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-p71gwv9c.js → models-dev-p71gwv9c.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-syrav9an.js → models-dev-syrav9an.js} +0 -0
- /package/dist/chunks/{project-t03h4f5z.js → models-dev-t03h4f5z.js} +0 -0
- /package/dist/chunks/{project-ty7weeps.js → models-dev-ty7weeps.js} +0 -0
- /package/dist/chunks/{project-v2dnd5dt.js → models-dev-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{project-ve7vex1e.js → models-dev-ve7vex1e.js} +0 -0
- /package/dist/chunks/{project-vtarvj67.js → models-dev-vtarvj67.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x4th4bpe.js → models-dev-x4th4bpe.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
- /package/dist/chunks/{project-zxpyjp51.js → models-dev-zxpyjp51.js} +0 -0
- /package/dist/chunks/{project-zz5vv3aq.js → models-dev-zz5vv3aq.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node80
|
|
8
|
+
} from "./models-dev-0dr3svmj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node62
|
|
12
|
+
} from "./models-dev-7w6pswv3.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
24
|
-
InvalidRequestError: () =>
|
|
21
|
+
var exports_generate2 = {};
|
|
22
|
+
__export(exports_generate2, {
|
|
23
|
+
Generate: () => exports_generate2,
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError2,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service60,
|
|
29
|
+
UnavailableError: () => UnavailableError4,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer23,
|
|
32
|
+
node: () => node61
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError2 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service60 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer23 = Layer.effect(Service60, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service61;
|
|
89
|
+
const models = yield* Service79;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer12 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(ai.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer12 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service60.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError2({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError2({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node61 = makeLocationNode({
|
|
219
|
+
service: Service60,
|
|
220
|
+
layer: layer23,
|
|
221
|
+
deps: [node62, node80, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service60, layer23, node61, exports_generate2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-m90tx7mw.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-0dr3svmj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-41et1cv2.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service74
|
|
11
|
+
} from "./models-dev-asspwq2b.js";
|
|
12
12
|
import {
|
|
13
13
|
DirectoryNotFoundError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./models-dev-t0k1b86s.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service73
|
|
17
|
+
} from "./models-dev-9s820j2q.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service42,
|
|
20
|
+
node43
|
|
21
|
+
} from "./models-dev-ps53yrdv.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessage2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./models-dev-gftt206x.js";
|
|
25
25
|
import {
|
|
26
26
|
SessionInboxTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./models-dev-mb7mbhnz.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service39,
|
|
30
|
+
node41
|
|
31
|
+
} from "./models-dev-6rakh7se.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service21,
|
|
34
|
+
node24
|
|
35
|
+
} from "./models-dev-ffbfz33z.js";
|
|
36
36
|
import {
|
|
37
37
|
validate2,
|
|
38
38
|
describe2,
|
|
39
39
|
authorize2,
|
|
40
40
|
evaluate2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./models-dev-pww2npsx.js";
|
|
42
42
|
import {
|
|
43
43
|
ScheduleTable2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./models-dev-wegkxhrn.js";
|
|
45
45
|
import {
|
|
46
46
|
__export
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
48
48
|
|
|
49
49
|
// src/schedule.ts
|
|
50
50
|
var exports_schedule2 = {};
|
|
51
51
|
__export(exports_schedule2, {
|
|
52
52
|
Condition: () => Condition2,
|
|
53
53
|
ConditionInput: () => ConditionInput2,
|
|
54
|
-
CreateInput: () =>
|
|
54
|
+
CreateInput: () => CreateInput2,
|
|
55
55
|
DisabledError: () => DisabledError2,
|
|
56
|
-
ID: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
ID: () => ID4,
|
|
57
|
+
Info: () => Info3,
|
|
58
58
|
InvalidError: () => InvalidError2,
|
|
59
|
-
NotFoundError: () =>
|
|
59
|
+
NotFoundError: () => NotFoundError2,
|
|
60
60
|
Outcome: () => Outcome3,
|
|
61
61
|
Request: () => Request2,
|
|
62
62
|
Schedule: () => exports_schedule2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service13,
|
|
64
64
|
Status: () => Status2,
|
|
65
65
|
When: () => When2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node15,
|
|
67
67
|
toCreateInput: () => toCreateInput2
|
|
68
68
|
});
|
|
69
69
|
import { randomUUID } from "node:crypto";
|
|
@@ -73,18 +73,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
73
73
|
import {
|
|
74
74
|
Condition as Condition2,
|
|
75
75
|
ConditionInput as ConditionInput2,
|
|
76
|
-
CreateInput as
|
|
76
|
+
CreateInput as CreateInput2,
|
|
77
77
|
durationMillis,
|
|
78
|
-
ID as
|
|
79
|
-
Info as
|
|
78
|
+
ID as ID4,
|
|
79
|
+
Info as Info3,
|
|
80
80
|
Outcome as Outcome3,
|
|
81
81
|
Request as Request2,
|
|
82
82
|
Status as Status2,
|
|
83
83
|
toCreateInput as toCreateInput2,
|
|
84
84
|
When as When2
|
|
85
85
|
} from "@opencode/schema/schedule";
|
|
86
|
-
class
|
|
87
|
-
scheduleID:
|
|
86
|
+
class NotFoundError2 extends Schema.TaggedError()("Schedule.NotFoundError", {
|
|
87
|
+
scheduleID: ID4
|
|
88
88
|
}) {
|
|
89
89
|
get message() {
|
|
90
90
|
return `Schedule not found: ${this.scheduleID}`;
|
|
@@ -105,7 +105,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
class
|
|
108
|
+
class Service13 extends Context.Service()("@opencode/Schedule") {
|
|
109
109
|
}
|
|
110
110
|
var MINUTE = 60000;
|
|
111
111
|
var HOUR = 60 * MINUTE;
|
|
@@ -191,23 +191,23 @@ var toInfo = (row, lastOutput) => ({
|
|
|
191
191
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
192
192
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
193
193
|
});
|
|
194
|
-
var layer = Layer.effect(
|
|
194
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
195
195
|
const database = yield* Service94;
|
|
196
196
|
const db = database.db;
|
|
197
|
-
const sessions = yield*
|
|
198
|
-
const instances = yield*
|
|
199
|
-
const execution = yield*
|
|
197
|
+
const sessions = yield* Service21;
|
|
198
|
+
const instances = yield* Service42;
|
|
199
|
+
const execution = yield* Service39;
|
|
200
200
|
const doorbell = yield* Latch.make();
|
|
201
201
|
const settings = (session) => Effect.gen(function* () {
|
|
202
|
-
const config = yield*
|
|
203
|
-
const flags = yield*
|
|
202
|
+
const config = yield* Service74;
|
|
203
|
+
const flags = yield* Service73;
|
|
204
204
|
const entries = yield* config.entries();
|
|
205
205
|
return {
|
|
206
206
|
enabled: flags.resolve(entries).schedules.enabled,
|
|
207
207
|
timezone: latest2(entries, "timezone")
|
|
208
208
|
};
|
|
209
209
|
}).pipe(instances.provide(session));
|
|
210
|
-
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
|
|
210
|
+
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 NotFoundError2({ scheduleID: id }))));
|
|
211
211
|
const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
|
|
212
212
|
const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
|
|
213
213
|
const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
|
|
@@ -481,7 +481,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
481
481
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
482
482
|
return Math.min(at.value, after ?? at.value);
|
|
483
483
|
});
|
|
484
|
-
return
|
|
484
|
+
return Service13.of({
|
|
485
485
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
486
486
|
const session = yield* sessions.get(input.sessionID);
|
|
487
487
|
const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
|
|
@@ -500,7 +500,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
500
500
|
const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
|
|
501
501
|
if (ends !== null && due > ends)
|
|
502
502
|
return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
|
|
503
|
-
const scheduleID =
|
|
503
|
+
const scheduleID = ID4.create();
|
|
504
504
|
const seeded = check === undefined ? UNSEEDED : yield* Effect.gen(function* () {
|
|
505
505
|
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));
|
|
506
506
|
const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
|
|
@@ -593,10 +593,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
593
593
|
run
|
|
594
594
|
});
|
|
595
595
|
}));
|
|
596
|
-
var
|
|
597
|
-
service:
|
|
596
|
+
var node15 = makeGlobalNode({
|
|
597
|
+
service: Service13,
|
|
598
598
|
layer,
|
|
599
|
-
deps: [node96,
|
|
599
|
+
deps: [node96, node24, node41, node43]
|
|
600
600
|
});
|
|
601
601
|
|
|
602
|
-
export { Condition2, ConditionInput2,
|
|
602
|
+
export { Condition2, ConditionInput2, CreateInput2, ID4, Info3, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError2, InvalidError2, DisabledError2, Service13, node15, exports_schedule2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service90
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-rz2y1pft.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-zr8qnheg.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref5,
|
|
7
7
|
Service90,
|
|
8
8
|
node92
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-rz2y1pft.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service81,
|
|
12
|
+
node82
|
|
13
|
+
} from "./models-dev-y7mkxmgg.js";
|
|
14
14
|
import {
|
|
15
15
|
cleanup3
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./models-dev-tczq8hjw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service88,
|
|
19
19
|
args2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
node90
|
|
21
|
+
} from "./models-dev-e8q0fqbh.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
Service56,
|
|
24
|
+
node57,
|
|
25
25
|
available4
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./models-dev-dadgn4qn.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service72,
|
|
29
|
+
node73
|
|
30
|
+
} from "./models-dev-s5zrq09q.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service55,
|
|
33
|
+
node56
|
|
34
|
+
} from "./models-dev-dqn4a6f5.js";
|
|
35
35
|
import {
|
|
36
36
|
SessionSchema2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./models-dev-721tb84k.js";
|
|
38
38
|
import {
|
|
39
39
|
latest2,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service74,
|
|
41
|
+
node75
|
|
42
|
+
} from "./models-dev-asspwq2b.js";
|
|
43
43
|
import {
|
|
44
44
|
MAX_LINES2,
|
|
45
45
|
MAX_BYTES2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./models-dev-brx6sc7a.js";
|
|
47
47
|
import {
|
|
48
48
|
__export
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
50
50
|
|
|
51
51
|
// src/shell.ts
|
|
52
52
|
var exports_shell4 = {};
|
|
53
53
|
__export(exports_shell4, {
|
|
54
54
|
DIRECTORY: () => DIRECTORY2,
|
|
55
55
|
Daemon: () => Daemon2,
|
|
56
|
-
NotFoundError: () =>
|
|
56
|
+
NotFoundError: () => NotFoundError7,
|
|
57
57
|
RETENTION: () => RETENTION2,
|
|
58
|
-
Service: () =>
|
|
58
|
+
Service: () => Service54,
|
|
59
59
|
Shell: () => exports_shell4,
|
|
60
60
|
ToolCall: () => ToolCall2,
|
|
61
61
|
cleanup: () => cleanup2,
|
|
62
62
|
daemonNode: () => daemonNode2,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node55
|
|
64
64
|
});
|
|
65
65
|
import path from "path";
|
|
66
66
|
import {
|
|
@@ -85,7 +85,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
85
85
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
86
86
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
87
87
|
import { Global } from "@opencode/util/global";
|
|
88
|
-
class
|
|
88
|
+
class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
89
89
|
id: Shell.ID
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
@@ -114,12 +114,12 @@ var Stored = Schema.Struct({
|
|
|
114
114
|
});
|
|
115
115
|
var decodeStored = Schema.decodeUnknownOption(Stored);
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service54 extends Context.Service()("@opencode/Shell") {
|
|
118
118
|
}
|
|
119
119
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
120
120
|
const fs = yield* FSUtil.Service;
|
|
121
121
|
const global = yield* Global.Service;
|
|
122
|
-
const pty = yield*
|
|
122
|
+
const pty = yield* Service56;
|
|
123
123
|
const directory = path.join(global.data, DIRECTORY2);
|
|
124
124
|
const projects = yield* fs.readDirectoryEntries(directory).pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "Directory")), Effect.orElseSucceed(() => []));
|
|
125
125
|
const files = yield* Effect.forEach(projects, (project) => fs.readDirectoryEntries(path.join(directory, project.name)).pipe(Effect.map((entries) => entries.flatMap((entry) => entry.type === "File" && /^sh_[0-9a-f]{12}.*\.out$/.test(entry.name) ? [path.join(directory, project.name, entry.name)] : [])), Effect.orElseSucceed(() => [])), { concurrency: 8 });
|
|
@@ -139,14 +139,14 @@ var cleanupLayer = Layer.effectDiscard(cleanup2().pipe(Effect.repeat(Schedule.sp
|
|
|
139
139
|
var cleanupNode = makeGlobalNode({
|
|
140
140
|
name: "shell-output-cleanup",
|
|
141
141
|
layer: cleanupLayer,
|
|
142
|
-
deps: [FSUtil.node, Global.node,
|
|
142
|
+
deps: [FSUtil.node, Global.node, node57]
|
|
143
143
|
});
|
|
144
144
|
|
|
145
145
|
class Daemon2 extends Context.Service()("@opencode/Shell/Daemon") {
|
|
146
146
|
}
|
|
147
147
|
var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
148
148
|
const bus = yield* Service93;
|
|
149
|
-
const pty = yield*
|
|
149
|
+
const pty = yield* Service56;
|
|
150
150
|
const scope = yield* Effect.scope;
|
|
151
151
|
const context = yield* Effect.context();
|
|
152
152
|
const global = yield* Global.Service;
|
|
@@ -188,7 +188,7 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
188
188
|
yield* Fiber.interrupt(run.wait);
|
|
189
189
|
yield* pty.terminatePipe(run.process).pipe(Effect.ignore);
|
|
190
190
|
yield* Effect.promise(() => unlink(run.info.file).catch(() => {}));
|
|
191
|
-
yield* Deferred.fail(run.done, new
|
|
191
|
+
yield* Deferred.fail(run.done, new NotFoundError7({ id }));
|
|
192
192
|
if (run.info.status === "running")
|
|
193
193
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" }, { location: ref });
|
|
194
194
|
yield* bus.publish(Shell.Event.Deleted, { id }, { location: ref });
|
|
@@ -381,17 +381,17 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
381
381
|
var daemonNode2 = makeGlobalNode({
|
|
382
382
|
service: Daemon2,
|
|
383
383
|
layer: daemonLayer,
|
|
384
|
-
deps: [node95, Global.node,
|
|
384
|
+
deps: [node95, Global.node, node57]
|
|
385
385
|
});
|
|
386
|
-
var layer = () => Layer.effect(
|
|
386
|
+
var layer = () => Layer.effect(Service54, Effect.gen(function* () {
|
|
387
387
|
const bus = yield* Service93;
|
|
388
388
|
const location = yield* Service90;
|
|
389
389
|
const global = yield* Global.Service;
|
|
390
|
-
const shell = yield*
|
|
391
|
-
const environment = yield*
|
|
392
|
-
const hooks = yield*
|
|
393
|
-
const environments = yield*
|
|
394
|
-
const config = yield*
|
|
390
|
+
const shell = yield* Service88;
|
|
391
|
+
const environment = yield* Service81;
|
|
392
|
+
const hooks = yield* Service72;
|
|
393
|
+
const environments = yield* Service55;
|
|
394
|
+
const config = yield* Service74;
|
|
395
395
|
const daemon = yield* Daemon2;
|
|
396
396
|
const context = yield* Effect.context();
|
|
397
397
|
const runFork = Effect.runForkWith(context);
|
|
@@ -414,7 +414,7 @@ var layer = () => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
414
414
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
415
415
|
const command = commands.get(id) ?? runs?.get(id);
|
|
416
416
|
if (!command)
|
|
417
|
-
return yield* new
|
|
417
|
+
return yield* new NotFoundError7({ id });
|
|
418
418
|
return command;
|
|
419
419
|
});
|
|
420
420
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -427,7 +427,7 @@ var layer = () => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
427
427
|
commands.delete(id);
|
|
428
428
|
if (command.timeoutFiber)
|
|
429
429
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
430
|
-
yield* Deferred.fail(command.done, new
|
|
430
|
+
yield* Deferred.fail(command.done, new NotFoundError7({ id }));
|
|
431
431
|
yield* Effect.promise(() => unlink(command.info.file).catch(() => {}));
|
|
432
432
|
if (command.info.status === "running")
|
|
433
433
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -757,7 +757,7 @@ var layer = () => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
757
757
|
const command = yield* Deferred.await(ready);
|
|
758
758
|
return command.info;
|
|
759
759
|
});
|
|
760
|
-
return
|
|
760
|
+
return Service54.of({
|
|
761
761
|
create,
|
|
762
762
|
list,
|
|
763
763
|
get,
|
|
@@ -799,21 +799,21 @@ function formatSize(bytes) {
|
|
|
799
799
|
const kb = bytes / 1024;
|
|
800
800
|
return kb > 1024 ? `${(kb / 1024).toFixed(1)} MB` : `${Math.round(kb)} KB`;
|
|
801
801
|
}
|
|
802
|
-
var
|
|
803
|
-
service:
|
|
802
|
+
var node55 = makeLocationNode({
|
|
803
|
+
service: Service54,
|
|
804
804
|
layer: layer(),
|
|
805
805
|
deps: [
|
|
806
806
|
node95,
|
|
807
807
|
node92,
|
|
808
808
|
Global.node,
|
|
809
|
-
|
|
810
|
-
node79,
|
|
809
|
+
node90,
|
|
811
810
|
node82,
|
|
811
|
+
node73,
|
|
812
|
+
node56,
|
|
812
813
|
node75,
|
|
813
|
-
node83,
|
|
814
814
|
daemonNode2,
|
|
815
815
|
cleanupNode
|
|
816
816
|
]
|
|
817
817
|
});
|
|
818
818
|
|
|
819
|
-
export {
|
|
819
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, ToolCall2, Service54, cleanup2, Daemon2, daemonNode2, node55, exports_shell4 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./models-dev-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|