@opencode/core 0.0.0-dev-20042 → 0.0.0-dev-20043
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{persistent-pty-ndmt31ja.js → aisdk-0a0q6pwz.js} +8 -8
- package/dist/chunks/{persistent-pty-6am04jn1.js → aisdk-0java4bc.js} +42 -42
- package/dist/chunks/aisdk-0mesazry.js +4 -0
- package/dist/chunks/{persistent-pty-fqeda9mf.js → aisdk-0mmgcj54.js} +21 -21
- package/dist/chunks/{persistent-pty-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-8xvk34tp.js → aisdk-0qrsrrf1.js} +8 -8
- package/dist/chunks/{persistent-pty-cgkdtpn3.js → aisdk-0s819d2z.js} +87 -87
- package/dist/chunks/{persistent-pty-hm529q5d.js → aisdk-13qme1fa.js} +22 -22
- package/dist/chunks/{persistent-pty-hbyhqfhs.js → aisdk-150yg2gd.js} +5 -5
- package/dist/chunks/{persistent-pty-ey7c8yx5.js → aisdk-19trpjps.js} +8 -8
- package/dist/chunks/{persistent-pty-r8xr0va3.js → aisdk-1acjjqhc.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-5qxx2m82.js → aisdk-1fy9785z.js} +3 -3
- package/dist/chunks/{persistent-pty-hj5k1nvz.js → aisdk-1k3gd00q.js} +50 -50
- package/dist/chunks/aisdk-1sq2hj63.js +26 -0
- package/dist/chunks/{persistent-pty-4d3yg0sd.js → aisdk-1z0zvxs4.js} +6 -6
- package/dist/chunks/{persistent-pty-21r38tys.js → aisdk-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-hg9qxph4.js → aisdk-23qf75cd.js} +11 -11
- package/dist/chunks/{persistent-pty-y170be0p.js → aisdk-23yqmb8f.js} +11 -11
- package/dist/chunks/{persistent-pty-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-kk3qww5s.js → aisdk-2j39ymwc.js} +23 -23
- package/dist/chunks/{persistent-pty-r677t44f.js → aisdk-2yp7980w.js} +33 -33
- package/dist/chunks/{persistent-pty-4ws8fjcn.js → aisdk-301trp6s.js} +41 -41
- package/dist/chunks/{persistent-pty-2eegacq4.js → aisdk-30846h32.js} +8 -8
- package/dist/chunks/{persistent-pty-1ygqh575.js → aisdk-33w4ejhs.js} +6 -6
- package/dist/chunks/{persistent-pty-bhd4rr5x.js → aisdk-36bfp3ph.js} +15 -15
- package/dist/chunks/{persistent-pty-c78bbtc9.js → aisdk-3cfzdc8e.js} +5 -5
- package/dist/chunks/{persistent-pty-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-sg81b8ak.js → aisdk-3gqqpt8p.js} +9 -9
- package/dist/chunks/{persistent-pty-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-31k44zkb.js → aisdk-3pd9cgf5.js} +9 -9
- package/dist/chunks/{persistent-pty-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3ktbe3hf.js → aisdk-3zgzsr0q.js} +6 -6
- package/dist/chunks/{persistent-pty-xr54qchj.js → aisdk-3zmmkmaf.js} +8 -8
- package/dist/chunks/{persistent-pty-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-sds13m34.js → aisdk-41wzkj33.js} +8 -8
- package/dist/chunks/{persistent-pty-39q291vc.js → aisdk-49ytw9e6.js} +21 -21
- package/dist/chunks/{persistent-pty-n6881739.js → aisdk-4cr6q8tp.js} +22 -22
- package/dist/chunks/{persistent-pty-et5dj639.js → aisdk-4hgmwzg4.js} +25 -25
- package/dist/chunks/{persistent-pty-apek9f9a.js → aisdk-4m64c65m.js} +24 -24
- package/dist/chunks/{persistent-pty-2x1xwv6h.js → aisdk-4nd6ya58.js} +15 -15
- package/dist/chunks/{persistent-pty-r4v8qatr.js → aisdk-4qav2fem.js} +8 -8
- package/dist/chunks/{persistent-pty-5zr303av.js → aisdk-4rsyzgyb.js} +7 -7
- package/dist/chunks/{persistent-pty-57ez7d0k.js → aisdk-57ez7d0k.js} +2 -2
- package/dist/chunks/{persistent-pty-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-yfj0yy3f.js → aisdk-5drdw4ad.js} +5 -5
- package/dist/chunks/{persistent-pty-5ekn9679.js → aisdk-5ekn9679.js} +1 -1
- package/dist/chunks/{persistent-pty-pgnaq8k5.js → aisdk-5hca813f.js} +37 -37
- package/dist/chunks/{persistent-pty-bwvhsys1.js → aisdk-5qhpwbp8.js} +17 -17
- package/dist/chunks/{persistent-pty-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-wq4mmp7m.js → aisdk-5xpznt2d.js} +4 -4
- package/dist/chunks/{persistent-pty-cmwkp3r5.js → aisdk-5xtgfte3.js} +8 -8
- package/dist/chunks/{persistent-pty-gmjq4p6e.js → aisdk-607q5haz.js} +5 -5
- package/dist/chunks/{persistent-pty-enrp2nyv.js → aisdk-614h0x94.js} +24 -24
- package/dist/chunks/{persistent-pty-669tq793.js → aisdk-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-73hrd7m9.js → aisdk-6ah266bh.js} +6 -6
- package/dist/chunks/{persistent-pty-5brb0pbm.js → aisdk-6bpp9beb.js} +168 -168
- package/dist/chunks/{persistent-pty-2402vzrj.js → aisdk-6h73sxmp.js} +5 -5
- package/dist/chunks/{persistent-pty-jegrsze7.js → aisdk-6kj0q6js.js} +43 -43
- package/dist/chunks/{persistent-pty-6msgmcgs.js → aisdk-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-b0mhge8s.js → aisdk-6sw8nmq3.js} +1 -1
- package/dist/chunks/{persistent-pty-gx8rf7xa.js → aisdk-6vt2w020.js} +11 -11
- package/dist/chunks/{persistent-pty-ajvrh1yc.js → aisdk-6xwcf1a8.js} +4 -4
- package/dist/chunks/{persistent-pty-w4scjadp.js → aisdk-6ysrkrkr.js} +8 -8
- package/dist/chunks/{persistent-pty-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-0jwsre1p.js → aisdk-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-cr07tj7n.js → aisdk-7gvwkz6m.js} +5 -5
- package/dist/chunks/{persistent-pty-8pw1b0j6.js → aisdk-7q7mfth4.js} +11 -11
- package/dist/chunks/{persistent-pty-4685a8f7.js → aisdk-7rjgn8bj.js} +15 -15
- package/dist/chunks/{persistent-pty-0qd1hc9n.js → aisdk-7sv1gmyv.js} +5 -5
- package/dist/chunks/{persistent-pty-pgxezfdk.js → aisdk-7v0wrj4c.js} +5 -5
- package/dist/chunks/{persistent-pty-ph20cxtq.js → aisdk-7v81x33d.js} +9 -9
- package/dist/chunks/{persistent-pty-mncdga5g.js → aisdk-7ypyawfv.js} +1 -1
- package/dist/chunks/{persistent-pty-chwd528f.js → aisdk-84cy8r8q.js} +5 -5
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-cj484d79.js → aisdk-8ew6f0n8.js} +8 -8
- package/dist/chunks/{persistent-pty-prpvt0tr.js → aisdk-8qr332cz.js} +13 -13
- package/dist/chunks/{persistent-pty-hkx3gg44.js → aisdk-8rsf771b.js} +25 -25
- package/dist/chunks/{persistent-pty-6y4kmedr.js → aisdk-8sjp7en6.js} +78 -78
- package/dist/chunks/{persistent-pty-0bx2se0g.js → aisdk-8we7jnmb.js} +11 -11
- package/dist/chunks/{persistent-pty-94ek1h2f.js → aisdk-94ek1h2f.js} +2 -2
- package/dist/chunks/{persistent-pty-g58xhhsy.js → aisdk-9ajwmfn8.js} +52 -52
- package/dist/chunks/{persistent-pty-eqtj21ma.js → aisdk-9cr4gnp8.js} +13 -13
- package/dist/chunks/{persistent-pty-jca4demv.js → aisdk-9jwxq161.js} +2 -2
- package/dist/chunks/{persistent-pty-4k8me329.js → aisdk-9k4dsn9s.js} +2 -2
- package/dist/chunks/{persistent-pty-nmjdsd9n.js → aisdk-9qtpfedr.js} +13 -13
- package/dist/chunks/{persistent-pty-2vgzs72b.js → aisdk-9w4ppqge.js} +5 -5
- package/dist/chunks/{persistent-pty-02e6q2g2.js → aisdk-9wsscq4s.js} +61 -61
- package/dist/chunks/{persistent-pty-g8d3gcyj.js → aisdk-a2ew8a62.js} +7 -7
- package/dist/chunks/{persistent-pty-7xzxry9y.js → aisdk-a327e9v3.js} +5 -5
- package/dist/chunks/{persistent-pty-rbd4k96t.js → aisdk-a5bcffjj.js} +16 -16
- package/dist/chunks/{persistent-pty-j8s0raxh.js → aisdk-a7ca17ex.js} +16 -16
- package/dist/chunks/{persistent-pty-s43hhkdm.js → aisdk-aad6bg3s.js} +29 -29
- package/dist/chunks/{persistent-pty-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-yrvhhsj7.js → aisdk-acqxbg4k.js} +12 -12
- package/dist/chunks/{persistent-pty-7gryrk58.js → aisdk-afbb2www.js} +23 -23
- package/dist/chunks/{persistent-pty-6hc4pxhc.js → aisdk-arxah4je.js} +3 -3
- package/dist/chunks/{persistent-pty-xq7gw347.js → aisdk-awykrb7t.js} +43 -43
- package/dist/chunks/{persistent-pty-0735k9hj.js → aisdk-b5mdm4wc.js} +17 -17
- package/dist/chunks/{persistent-pty-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-hq8zt1th.js → aisdk-b99w0g26.js} +6 -6
- package/dist/chunks/{persistent-pty-90w267cj.js → aisdk-bdjtm858.js} +18 -18
- package/dist/chunks/{persistent-pty-f8h9tg4t.js → aisdk-bh5r0ywp.js} +4 -4
- package/dist/chunks/{persistent-pty-k589v2yc.js → aisdk-bhna4c8e.js} +18 -18
- package/dist/chunks/{persistent-pty-t4cdje0c.js → aisdk-bnnnfr1h.js} +4 -4
- package/dist/chunks/{persistent-pty-5qkxfyep.js → aisdk-bscb95cy.js} +4 -4
- package/dist/chunks/{persistent-pty-7k1gvst3.js → aisdk-bxw160v3.js} +4 -4
- package/dist/chunks/{persistent-pty-d6d69879.js → aisdk-c2g6qb9t.js} +15 -15
- package/dist/chunks/{persistent-pty-cavr175a.js → aisdk-cavr175a.js} +1 -1
- package/dist/chunks/{persistent-pty-ckecvw8r.js → aisdk-ckecvw8r.js} +2 -2
- package/dist/chunks/{persistent-pty-dfnn5kbd.js → aisdk-cnacsjhk.js} +3 -3
- package/dist/chunks/{persistent-pty-bsd2nd03.js → aisdk-csea7638.js} +18 -18
- package/dist/chunks/{persistent-pty-zav06jzw.js → aisdk-ctmr8zqa.js} +4 -4
- package/dist/chunks/{persistent-pty-p5ntwjzn.js → aisdk-cvphz1qf.js} +11 -11
- package/dist/chunks/{persistent-pty-cwa6csj7.js → aisdk-cwa6csj7.js} +2 -2
- package/dist/chunks/{persistent-pty-wqb2bwtv.js → aisdk-d84aefxh.js} +5 -5
- package/dist/chunks/{persistent-pty-pz5z3jcr.js → aisdk-ddhq0d0y.js} +38 -38
- package/dist/chunks/{persistent-pty-07yja43e.js → aisdk-df2b9eza.js} +11 -11
- package/dist/chunks/{persistent-pty-768gsh1v.js → aisdk-df2tmfns.js} +6 -6
- package/dist/chunks/{persistent-pty-53fyba40.js → aisdk-dg2cj1yd.js} +4 -4
- package/dist/chunks/{persistent-pty-y71avatq.js → aisdk-dpkg50ah.js} +4 -4
- package/dist/chunks/{persistent-pty-xfkkasph.js → aisdk-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-gw2tvx6f.js → aisdk-e5qbkagq.js} +11 -11
- package/dist/chunks/{persistent-pty-0xp9wjxv.js → aisdk-e66gtfvp.js} +29 -29
- package/dist/chunks/{persistent-pty-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-kh3ehkc0.js → aisdk-ejwj3fxg.js} +4 -4
- package/dist/chunks/{persistent-pty-h663anem.js → aisdk-eqq925v7.js} +14 -14
- package/dist/chunks/{persistent-pty-erw5rpbs.js → aisdk-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-gw4e1bwq.js → aisdk-f0qe216m.js} +34 -34
- package/dist/chunks/{persistent-pty-f43wcbcr.js → aisdk-f4jw3e7w.js} +17 -17
- package/dist/chunks/{persistent-pty-1q803bdb.js → aisdk-f4rjsfva.js} +6 -6
- package/dist/chunks/{persistent-pty-xe08wmx0.js → aisdk-f724wvfx.js} +20 -20
- package/dist/chunks/{persistent-pty-fm4gasdc.js → aisdk-fj29krbq.js} +29 -29
- package/dist/chunks/{persistent-pty-1z9ngvxm.js → aisdk-fj3mzqxp.js} +12 -12
- package/dist/chunks/{persistent-pty-wmdbx2q5.js → aisdk-fj48dtty.js} +20 -20
- package/dist/chunks/{persistent-pty-g8jasmdt.js → aisdk-g8jasmdt.js} +3 -3
- package/dist/chunks/{persistent-pty-dwj2yfa0.js → aisdk-g9na247e.js} +27 -27
- package/dist/chunks/{persistent-pty-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-kqjd1yhv.js → aisdk-gd8nda9a.js} +8 -8
- package/dist/chunks/{persistent-pty-rqqq06ty.js → aisdk-gdkm09q9.js} +28 -28
- package/dist/chunks/{persistent-pty-0p8fja5q.js → aisdk-ggre7qjc.js} +34 -34
- package/dist/chunks/{persistent-pty-ss4mfvwp.js → aisdk-ghcc1exw.js} +5 -5
- package/dist/chunks/{persistent-pty-k1sg37e2.js → aisdk-gj07xn6c.js} +4 -4
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → aisdk-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-8dzzav18.js → aisdk-h54hk005.js} +4 -4
- package/dist/chunks/{persistent-pty-cpj0znwe.js → aisdk-h6r3nrb9.js} +4 -4
- package/dist/chunks/{persistent-pty-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-3f3jqxta.js → aisdk-h8tv1jm0.js} +17 -17
- package/dist/chunks/{persistent-pty-pzwa7kng.js → aisdk-h9sgrmr0.js} +12 -12
- package/dist/chunks/{persistent-pty-n0knvxp1.js → aisdk-hn2a1jts.js} +17 -17
- package/dist/chunks/{persistent-pty-8wsye86r.js → aisdk-hpfvhvya.js} +8 -8
- package/dist/chunks/{persistent-pty-zhth6nwz.js → aisdk-hzn7gray.js} +8 -8
- package/dist/chunks/{persistent-pty-b8kh8k48.js → aisdk-j104s97f.js} +18 -18
- package/dist/chunks/{persistent-pty-bpjsyh0e.js → aisdk-j1et25fn.js} +23 -23
- package/dist/chunks/{persistent-pty-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-gapsx7my.js → aisdk-j6vwkzpm.js} +20 -20
- package/dist/chunks/{persistent-pty-3dav9012.js → aisdk-jbsysrkf.js} +9 -9
- package/dist/chunks/{persistent-pty-d1fh6jb3.js → aisdk-jcvwj9jm.js} +30 -30
- package/dist/chunks/{persistent-pty-rvrv9k52.js → aisdk-jtxrazbm.js} +30 -30
- package/dist/chunks/{persistent-pty-2wyfts5g.js → aisdk-jv4bkc1v.js} +21 -21
- package/dist/chunks/{persistent-pty-ayw4b9ht.js → aisdk-jxdfsfqg.js} +8 -8
- package/dist/chunks/{persistent-pty-j64w6b8p.js → aisdk-k09eseht.js} +26 -26
- package/dist/chunks/{persistent-pty-gd9e8kac.js → aisdk-k0agtv8c.js} +13 -13
- package/dist/chunks/{persistent-pty-k3c624dm.js → aisdk-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-r3c4069c.js → aisdk-k53npxr2.js} +1 -1
- package/dist/chunks/{persistent-pty-d5fc3ham.js → aisdk-kcafvxea.js} +21 -21
- package/dist/chunks/{persistent-pty-tn3aw0th.js → aisdk-kearjya1.js} +16 -16
- package/dist/chunks/{persistent-pty-e8nxqz0t.js → aisdk-kjqja31j.js} +16 -16
- package/dist/chunks/{persistent-pty-mwpvdsq8.js → aisdk-kk1agj7a.js} +20 -20
- package/dist/chunks/{persistent-pty-44ke2mar.js → aisdk-knb7evpn.js} +2 -2
- package/dist/chunks/{persistent-pty-pzgzmqw9.js → aisdk-kwr9b569.js} +15 -15
- package/dist/chunks/{persistent-pty-tjedn1bk.js → aisdk-m0r31qfn.js} +4 -4
- package/dist/chunks/{persistent-pty-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-xw1ps8cb.js → aisdk-md1mxm32.js} +13 -13
- package/dist/chunks/{persistent-pty-eq1pz5kg.js → aisdk-mhkvc446.js} +3 -3
- package/dist/chunks/{persistent-pty-2g96k7vx.js → aisdk-mrvphsyr.js} +1 -1
- package/dist/chunks/{persistent-pty-4pfpv52f.js → aisdk-mtr0qdvt.js} +8 -8
- package/dist/chunks/{persistent-pty-8qc9bzp8.js → aisdk-mxmf76sr.js} +17 -17
- package/dist/chunks/{persistent-pty-hrd0j5f2.js → aisdk-mzm8rqr7.js} +9 -9
- package/dist/chunks/{persistent-pty-4d5pscc0.js → aisdk-n8a0h2pm.js} +9 -9
- package/dist/chunks/{persistent-pty-neppcg31.js → aisdk-njm9g9x3.js} +22 -22
- package/dist/chunks/{persistent-pty-66t0h02t.js → aisdk-np82xyew.js} +16 -16
- package/dist/chunks/{persistent-pty-1a1mrdgb.js → aisdk-nqr5ekqz.js} +25 -25
- package/dist/chunks/{persistent-pty-544cyea4.js → aisdk-nrqfcddc.js} +13 -13
- package/dist/chunks/{persistent-pty-bqvjxhzq.js → aisdk-ns15zm60.js} +6 -6
- package/dist/chunks/aisdk-p23am7q5.js +503 -0
- package/dist/chunks/{persistent-pty-1qvkgnpd.js → aisdk-pgjxk18r.js} +28 -28
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-9v19sw1s.js → aisdk-pqyzdwpj.js} +31 -31
- package/dist/chunks/{persistent-pty-7vbsp9bb.js → aisdk-ptff6sjs.js} +11 -11
- package/dist/chunks/aisdk-q509s3k3.js +18 -0
- package/dist/chunks/{persistent-pty-gcftrmma.js → aisdk-q8d57wmy.js} +48 -48
- package/dist/chunks/{persistent-pty-1stbn8g0.js → aisdk-q8hxnt6y.js} +7 -7
- package/dist/chunks/{persistent-pty-7k434ymz.js → aisdk-q8j10mn3.js} +12 -12
- package/dist/chunks/{persistent-pty-s4ahaey6.js → aisdk-q9e07d2s.js} +7 -7
- package/dist/chunks/{persistent-pty-679wzm8a.js → aisdk-qbw5z373.js} +31 -31
- package/dist/chunks/{persistent-pty-qg0jgkcp.js → aisdk-qg0jgkcp.js} +2 -2
- package/dist/chunks/{persistent-pty-h5crna56.js → aisdk-qhsdqg8d.js} +26 -26
- package/dist/chunks/{persistent-pty-cwykn6m4.js → aisdk-qmtyj29t.js} +9 -9
- package/dist/chunks/{persistent-pty-t898jj0x.js → aisdk-qrf18deb.js} +13 -13
- package/dist/chunks/{persistent-pty-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-xj2bvnk1.js → aisdk-qzfge27n.js} +15 -15
- package/dist/chunks/{persistent-pty-15zevn5w.js → aisdk-r33ff4dw.js} +6 -6
- package/dist/chunks/{persistent-pty-6d0k74d0.js → aisdk-rcpjzbgq.js} +7 -7
- package/dist/chunks/{persistent-pty-b5s03rd7.js → aisdk-rcs0ttvg.js} +3 -3
- package/dist/chunks/{persistent-pty-s1x2d4kw.js → aisdk-rdq063h9.js} +17 -17
- package/dist/chunks/{persistent-pty-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-mw5r620c.js → aisdk-reqy9a92.js} +21 -21
- package/dist/chunks/{persistent-pty-56scbdfa.js → aisdk-rnvh3dsy.js} +22 -22
- package/dist/chunks/{persistent-pty-y56hh3ws.js → aisdk-rst4cyxn.js} +9 -9
- package/dist/chunks/{persistent-pty-qp3v07n2.js → aisdk-rtgcb18b.js} +8 -8
- package/dist/chunks/{persistent-pty-4t9wz2vk.js → aisdk-ryprma71.js} +10 -10
- package/dist/chunks/{persistent-pty-7z7az0f5.js → aisdk-s0hza5ac.js} +4 -4
- package/dist/chunks/{persistent-pty-yxpsvedr.js → aisdk-s10j4zrr.js} +13 -13
- package/dist/chunks/{persistent-pty-6ydfbg1r.js → aisdk-s467t6d3.js} +20 -20
- package/dist/chunks/{persistent-pty-eaj1djv9.js → aisdk-s8d7rejh.js} +6 -6
- package/dist/chunks/{persistent-pty-crhd7pgs.js → aisdk-se4ds7p4.js} +20 -20
- package/dist/chunks/{persistent-pty-q3t37ft6.js → aisdk-skyymkrr.js} +3 -3
- package/dist/chunks/{persistent-pty-1636sbse.js → aisdk-sx7145gr.js} +22 -22
- package/dist/chunks/{persistent-pty-90rjpb8w.js → aisdk-sykjr06b.js} +11 -11
- package/dist/chunks/{persistent-pty-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-89znhe33.js → aisdk-tcezcvh9.js} +4 -4
- package/dist/chunks/{persistent-pty-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-n9z7mj6d.js → aisdk-tgbbcyzv.js} +27 -27
- package/dist/chunks/{persistent-pty-t7gzm03g.js → aisdk-tm61rbhm.js} +14 -14
- package/dist/chunks/{persistent-pty-tvtrv512.js → aisdk-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-mkhen09b.js → aisdk-v79x8jzm.js} +4 -4
- package/dist/chunks/{persistent-pty-m6bhc56w.js → aisdk-v83ykmtz.js} +9 -9
- package/dist/chunks/{persistent-pty-58fpexbr.js → aisdk-vdezy000.js} +7 -7
- package/dist/chunks/{persistent-pty-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-zz56sx2x.js → aisdk-vfgkq0y4.js} +11 -11
- package/dist/chunks/{persistent-pty-jgnkgs1r.js → aisdk-vjs4934y.js} +23 -23
- package/dist/chunks/{persistent-pty-t9zs3egg.js → aisdk-vncycja5.js} +4 -4
- package/dist/chunks/{persistent-pty-g5r6kmbd.js → aisdk-vpykqa8z.js} +27 -27
- package/dist/chunks/{persistent-pty-vtxr0yy2.js → aisdk-vtxr0yy2.js} +2 -2
- package/dist/chunks/{persistent-pty-bm48e2a0.js → aisdk-vwxpba44.js} +6 -6
- package/dist/chunks/{persistent-pty-9cn3db03.js → aisdk-vy1fzztp.js} +35 -35
- package/dist/chunks/{persistent-pty-vzcthcp8.js → aisdk-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-hxj44d9p.js → aisdk-w0vhv3nr.js} +22 -22
- package/dist/chunks/{persistent-pty-7vtw3tkk.js → aisdk-w1cebep0.js} +2 -2
- package/dist/chunks/{persistent-pty-q7r8ektg.js → aisdk-w1hs50qs.js} +7 -7
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-17ggxybq.js → aisdk-w7vjeneh.js} +38 -38
- package/dist/chunks/{persistent-pty-gg7pg1rj.js → aisdk-wbkyxrgf.js} +5 -5
- package/dist/chunks/{persistent-pty-wd3x2cqz.js → aisdk-wd3x2cqz.js} +2 -2
- package/dist/chunks/{persistent-pty-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-yjpe6epv.js → aisdk-weje2hnw.js} +6 -6
- package/dist/chunks/{persistent-pty-5pt64gxx.js → aisdk-wj8xe67y.js} +24 -24
- package/dist/chunks/{persistent-pty-8eh4zvff.js → aisdk-x0at58h7.js} +16 -16
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → aisdk-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-6qv05xq0.js → aisdk-x2g3x7xx.js} +32 -32
- package/dist/chunks/{persistent-pty-xcwzx241.js → aisdk-x53kfsbc.js} +11 -11
- package/dist/chunks/aisdk-xfndja2y.js +252 -0
- package/dist/chunks/{persistent-pty-hmn5tmn4.js → aisdk-xhrync7w.js} +12 -12
- package/dist/chunks/{persistent-pty-x3yd748b.js → aisdk-xhz5mp1h.js} +15 -15
- package/dist/chunks/{persistent-pty-fcj2ezqc.js → aisdk-xxze4mr0.js} +16 -16
- package/dist/chunks/{persistent-pty-gj0qw44p.js → aisdk-xzbdt9ab.js} +15 -15
- package/dist/chunks/{persistent-pty-g95rc6bm.js → aisdk-xzqbnygg.js} +5 -5
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-yhnkyc0a.js → aisdk-y2f8s5as.js} +26 -26
- package/dist/chunks/{persistent-pty-depwzj9d.js → aisdk-y56ehv6b.js} +9 -9
- package/dist/chunks/{persistent-pty-bx1t6bcv.js → aisdk-y9vcbm1p.js} +11 -11
- package/dist/chunks/{persistent-pty-ggfg2vv6.js → aisdk-yqaxhd4h.js} +8 -8
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → aisdk-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → aisdk-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-rcbfacwh.js → aisdk-yvaqedcc.js} +6 -6
- package/dist/chunks/{persistent-pty-z07pqspn.js → aisdk-z07pqspn.js} +3 -3
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-j7kjea59.js → aisdk-z3q2cbzw.js} +11 -11
- package/dist/chunks/{persistent-pty-tw6qbae6.js → aisdk-z5j3hngj.js} +20 -20
- package/dist/chunks/{persistent-pty-z63w68vq.js → aisdk-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-re89hen7.js → aisdk-z8dnjp6n.js} +3 -3
- package/dist/chunks/{persistent-pty-zeh9ct20.js → aisdk-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-0w62qmxp.js → aisdk-zfq801h6.js} +4 -4
- package/dist/chunks/{persistent-pty-55cx5064.js → aisdk-zkkhmxqr.js} +9 -9
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-6xypr7jz.js → aisdk-zrw5m3sy.js} +10 -10
- package/dist/chunks/{persistent-pty-sg4wm2jf.js → aisdk-zwvttwhj.js} +43 -43
- package/dist/chunks/{persistent-pty-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-86dkkjnf.js → aisdk-zzmc825q.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +94 -94
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +123 -123
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-4v7qdvcn.js +0 -18
- package/dist/chunks/persistent-pty-ha2kee0e.js +0 -503
- package/dist/chunks/persistent-pty-kx0ks824.js +0 -26
- package/dist/chunks/persistent-pty-qapv375x.js +0 -4
- package/dist/chunks/persistent-pty-rh3p3f6n.js +0 -252
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → aisdk-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → aisdk-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → aisdk-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-fj29krbq.js";
|
|
5
5
|
import {
|
|
6
6
|
ID6,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info20,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-j104s97f.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,7 +71,7 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-1fy9785z.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-bxw160v3.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-vtxr0yy2.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./aisdk-wd3x2cqz.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-z07pqspn.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./aisdk-fj48dtty.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./aisdk-5xpznt2d.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./aisdk-xzbdt9ab.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./aisdk-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node23
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var
|
|
462
|
+
var node23 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
|
|
463
463
|
|
|
464
|
-
export { SessionAlreadyProjected2,
|
|
464
|
+
export { SessionAlreadyProjected2, node23, exports_projector };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-bxw160v3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service76,
|
|
8
|
+
node80
|
|
9
|
+
} from "./aisdk-jcvwj9jm.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-y2f8s5as.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event17,
|
|
35
|
+
ID: () => ID13,
|
|
36
|
+
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service75,
|
|
44
|
+
node: () => node79
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
66
|
+
var ID13 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info29 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID13,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service75 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service76;
|
|
110
110
|
const bus = yield* Service83;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info29.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
285
285
|
const persistence = yield* createCredential({
|
|
286
286
|
integrationID: attempt.integrationID,
|
|
287
287
|
label: attempt.label,
|
|
288
|
-
value:
|
|
288
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
289
289
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
290
290
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
291
291
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service75.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
453
453
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
454
454
|
if (connection.type === "env") {
|
|
455
455
|
const key = process.env[connection.name];
|
|
456
|
-
return key ?
|
|
456
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
457
457
|
}
|
|
458
458
|
const credential = yield* credentials.get(connection.id);
|
|
459
459
|
if (!credential)
|
|
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
486
486
|
yield* createCredential({
|
|
487
487
|
integrationID: input.integrationID,
|
|
488
488
|
label: input.label,
|
|
489
|
-
value:
|
|
489
|
+
value: Key4.make({
|
|
490
490
|
type: "key",
|
|
491
491
|
key: input.key,
|
|
492
492
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node79 = makeLocationNode({
|
|
584
|
+
service: Service75,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node80, node87, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export {
|
|
589
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node79, exports_integration, Event17 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./aisdk-6kj0q6js.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service15
|
|
6
|
+
} from "./aisdk-6ysrkrkr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin33
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin33 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service57;
|
|
29
|
+
const managed = yield* Service15;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin47 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin33, exports_policy };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-bxw160v3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service28,
|
|
7
|
+
node31
|
|
8
|
+
} from "./aisdk-301trp6s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node66
|
|
12
|
+
} from "./aisdk-9ajwmfn8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service38,
|
|
15
|
+
node41
|
|
16
|
+
} from "./aisdk-njm9g9x3.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service24,
|
|
26
26
|
layer: () => layer10,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node28
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service24 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer10 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service28;
|
|
42
|
+
const tools = yield* Service38;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service63;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer10 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
123
|
+
var node28 = makeLocationNode({
|
|
124
|
+
service: Service24,
|
|
125
125
|
layer: layer10,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node41, node31, node87, node66]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service24, layer10, node28, exports_mcp3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-q8d57wmy.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-bxw160v3.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-9k4dsn9s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service71,
|
|
11
|
+
node74
|
|
12
|
+
} from "./aisdk-kcafvxea.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service55,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node58
|
|
20
|
+
} from "./aisdk-qzfge27n.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service67,
|
|
23
|
+
node70
|
|
24
|
+
} from "./aisdk-30846h32.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service54,
|
|
27
|
+
node57
|
|
28
|
+
} from "./aisdk-hpfvhvya.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-skyymkrr.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service57,
|
|
35
|
+
node60
|
|
36
|
+
} from "./aisdk-6kj0q6js.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./aisdk-q8j10mn3.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError7,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service53,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node56
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service53 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service53, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service83;
|
|
91
91
|
const location = yield* Service80;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service55;
|
|
94
|
+
const environment = yield* Service71;
|
|
95
|
+
const hooks = yield* Service67;
|
|
96
|
+
const environments = yield* Service54;
|
|
97
|
+
const config = yield* Service57;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError7({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError7({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service53.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node56 = makeLocationNode({
|
|
320
|
+
service: Service53,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node87,
|
|
324
324
|
node84,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node58,
|
|
327
|
+
node74,
|
|
328
|
+
node70,
|
|
329
|
+
node57,
|
|
330
|
+
node60,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, Service53, cleanup2, node56, exports_shell4 };
|