@opencode/core 0.0.0-dev-21318 → 0.0.0-dev-21325
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{persistent-pty-0rhcgknv.js → workspace-00bpreyp.js} +5 -5
- package/dist/chunks/{persistent-pty-nz47wyzy.js → workspace-0axw4cdg.js} +13 -13
- package/dist/chunks/{persistent-pty-77awh5p4.js → workspace-0bbp34cp.js} +17 -17
- package/dist/chunks/{persistent-pty-20hv8fes.js → workspace-0ce32fr4.js} +36 -36
- package/dist/chunks/{persistent-pty-zjtrsxny.js → workspace-0cg871e2.js} +5 -5
- package/dist/chunks/{persistent-pty-ez3v055x.js → workspace-0dd87czj.js} +7 -7
- package/dist/chunks/{persistent-pty-am4eehff.js → workspace-0m50r3dd.js} +6 -6
- package/dist/chunks/{persistent-pty-0nndfddn.js → workspace-0qwg22c0.js} +26 -26
- package/dist/chunks/{persistent-pty-0vbcp93d.js → workspace-0vbcp93d.js} +2 -2
- package/dist/chunks/{persistent-pty-fjr4y1sz.js → workspace-0w5f9s8v.js} +35 -35
- package/dist/chunks/{persistent-pty-jyj86nsz.js → workspace-0ye85ewf.js} +13 -13
- package/dist/chunks/{persistent-pty-f6pky1vc.js → workspace-0yw4a88g.js} +26 -26
- package/dist/chunks/{persistent-pty-qnjyk5by.js → workspace-129qsmff.js} +38 -38
- package/dist/chunks/{persistent-pty-9md2mt7s.js → workspace-14jssy00.js} +24 -24
- package/dist/chunks/{persistent-pty-h03re434.js → workspace-15rpx8aj.js} +10 -10
- package/dist/chunks/{persistent-pty-eajddnhb.js → workspace-1eejkkq1.js} +10 -10
- package/dist/chunks/{persistent-pty-9eq17axm.js → workspace-1n7e9j67.js} +9 -9
- package/dist/chunks/{persistent-pty-qeee8n96.js → workspace-1r5er5gw.js} +2 -2
- package/dist/chunks/{persistent-pty-0jwsre1p.js → workspace-2k8khapm.js} +5 -5
- package/dist/chunks/{persistent-pty-x9yke5vr.js → workspace-2k98hq88.js} +14 -14
- package/dist/chunks/{persistent-pty-yysedm6f.js → workspace-2rcafj7k.js} +21 -21
- package/dist/chunks/{persistent-pty-t4q75hqt.js → workspace-2tr0nx32.js} +3 -3
- package/dist/chunks/{persistent-pty-emhr29ne.js → workspace-2ya4c35z.js} +15 -15
- package/dist/chunks/{persistent-pty-q2mbf3pn.js → workspace-2z794wvw.js} +20 -20
- package/dist/chunks/{persistent-pty-k41hn50r.js → workspace-33vm7gkt.js} +16 -16
- package/dist/chunks/{persistent-pty-6wqpa5p1.js → workspace-34bwsn1r.js} +15 -15
- package/dist/chunks/{persistent-pty-6znwa2ze.js → workspace-35hset4p.js} +16 -14
- package/dist/chunks/{persistent-pty-25yddszk.js → workspace-395q6j9z.js} +6 -6
- package/dist/chunks/{persistent-pty-d4a9a1gx.js → workspace-39v18tkx.js} +14 -14
- package/dist/chunks/{persistent-pty-a8nkje97.js → workspace-3a2jzke2.js} +7 -7
- package/dist/chunks/{persistent-pty-amtxxzg7.js → workspace-3a9ms3hh.js} +23 -23
- package/dist/chunks/{persistent-pty-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3hwn7j4h.js → workspace-3hwn7j4h.js} +2 -2
- package/dist/chunks/{persistent-pty-17d5gh3d.js → workspace-3m1j57ch.js} +32 -32
- package/dist/chunks/{persistent-pty-hq42ga31.js → workspace-3scc1v2h.js} +4 -4
- package/dist/chunks/{persistent-pty-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-adeqnqa8.js → workspace-487xqpbs.js} +1 -1
- package/dist/chunks/workspace-48ncedfj.js +517 -0
- package/dist/chunks/{persistent-pty-btd9bnp8.js → workspace-4c9c6ycn.js} +14 -14
- package/dist/chunks/{persistent-pty-sqmmasjp.js → workspace-4drn66za.js} +19 -19
- package/dist/chunks/{persistent-pty-eamzdkr9.js → workspace-4qh62hyz.js} +6 -6
- package/dist/chunks/{persistent-pty-vh14538p.js → workspace-4xxbrg9e.js} +16 -16
- package/dist/chunks/{persistent-pty-54ma36ye.js → workspace-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-n0kentm7.js → workspace-56nvstf3.js} +45 -45
- package/dist/chunks/{persistent-pty-vrrq7v3g.js → workspace-57myy5jh.js} +5 -5
- package/dist/chunks/{persistent-pty-5b77hntt.js → workspace-5b77hntt.js} +4 -4
- package/dist/chunks/{persistent-pty-sk770vk8.js → workspace-5efe86tm.js} +19 -19
- package/dist/chunks/{persistent-pty-j0aph1pe.js → workspace-5etnctqg.js} +11 -11
- package/dist/chunks/{persistent-pty-s2z0d44b.js → workspace-5fec3t3w.js} +9 -9
- package/dist/chunks/{persistent-pty-eqefekej.js → workspace-5m4xzttx.js} +4 -4
- package/dist/chunks/{persistent-pty-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-g0fh3ss2.js → workspace-5tze7dnz.js} +18 -18
- package/dist/chunks/{persistent-pty-xxsrzv4p.js → workspace-64ydq5vx.js} +36 -36
- package/dist/chunks/{persistent-pty-carh3x97.js → workspace-66q175pd.js} +30 -30
- package/dist/chunks/{persistent-pty-6827pfxn.js → workspace-6827pfxn.js} +1 -1
- package/dist/chunks/{persistent-pty-vy5j2tyc.js → workspace-68rzgjzt.js} +1 -1
- package/dist/chunks/{persistent-pty-rq7yc33n.js → workspace-6as2835f.js} +2 -2
- package/dist/chunks/{persistent-pty-55vsgkjg.js → workspace-6fdt7xdh.js} +12 -12
- package/dist/chunks/{persistent-pty-zz9094w6.js → workspace-6r4011t4.js} +17 -17
- package/dist/chunks/{persistent-pty-r66vvgts.js → workspace-6vmw9wnm.js} +30 -30
- package/dist/chunks/{persistent-pty-6xb47vfp.js → workspace-6xb47vfp.js} +1 -1
- package/dist/chunks/{persistent-pty-9mawegkx.js → workspace-6yjzvzz7.js} +148 -148
- package/dist/chunks/{persistent-pty-0fjq3n4t.js → workspace-70rrh1jt.js} +18 -18
- package/dist/chunks/{persistent-pty-s6an5wth.js → workspace-7125243h.js} +22 -22
- package/dist/chunks/{persistent-pty-qaswbwd2.js → workspace-724pece3.js} +20 -20
- package/dist/chunks/{persistent-pty-wbk0qewy.js → workspace-73wr0wn5.js} +6 -6
- package/dist/chunks/{persistent-pty-775gj3j1.js → workspace-775gj3j1.js} +2 -2
- package/dist/chunks/{persistent-pty-k0y4bd87.js → workspace-7bmg41hz.js} +24 -24
- package/dist/chunks/{persistent-pty-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-5z5javj1.js → workspace-7d0zaa3e.js} +33 -33
- package/dist/chunks/{persistent-pty-vqeemvyx.js → workspace-7j1qnw50.js} +14 -14
- package/dist/chunks/{persistent-pty-fcs9x2eq.js → workspace-7nmzr4tw.js} +16 -16
- package/dist/chunks/{persistent-pty-zft5sqdw.js → workspace-7sqmcx2n.js} +19 -19
- package/dist/chunks/{persistent-pty-s33waz5b.js → workspace-816wrsdg.js} +15 -15
- package/dist/chunks/{persistent-pty-k2e5s4re.js → workspace-836dar0r.js} +18 -18
- package/dist/chunks/{persistent-pty-84txncab.js → workspace-84txncab.js} +1 -1
- package/dist/chunks/{persistent-pty-m662wk7b.js → workspace-85b50y94.js} +3 -3
- package/dist/chunks/{persistent-pty-bmc8ajke.js → workspace-8k9sf03v.js} +20 -20
- package/dist/chunks/{persistent-pty-8m6m0r52.js → workspace-8m6m0r52.js} +1 -1
- package/dist/chunks/{persistent-pty-g4f8ytex.js → workspace-8mc96dk8.js} +7 -7
- package/dist/chunks/{persistent-pty-8mywswrd.js → workspace-8mywswrd.js} +1 -1
- package/dist/chunks/{persistent-pty-rrt0a0ha.js → workspace-8n9x2wf6.js} +3 -3
- package/dist/chunks/{persistent-pty-rkprpv83.js → workspace-8sze2n9a.js} +6 -6
- package/dist/chunks/{persistent-pty-j6hdhn3t.js → workspace-9168hh8v.js} +4 -4
- package/dist/chunks/{persistent-pty-y40k0vp3.js → workspace-96bcdxrb.js} +16 -16
- package/dist/chunks/{persistent-pty-983z13s5.js → workspace-975jhw57.js} +11 -11
- package/dist/chunks/{persistent-pty-1wsnph7m.js → workspace-9ey36q4m.js} +9 -9
- package/dist/chunks/{persistent-pty-me0hkc2z.js → workspace-9gvb7e77.js} +11 -11
- package/dist/chunks/{persistent-pty-a5v8ppv0.js → workspace-9m2z5enk.js} +11 -11
- package/dist/chunks/{persistent-pty-a20pjse5.js → workspace-a20pjse5.js} +3 -3
- package/dist/chunks/{persistent-pty-edrmdtr5.js → workspace-a2ew8a62.js} +7 -7
- package/dist/chunks/{persistent-pty-3h7b0ae1.js → workspace-a3540p22.js} +3 -3
- package/dist/chunks/{persistent-pty-cb7pdjkb.js → workspace-abme7df5.js} +32 -32
- package/dist/chunks/{persistent-pty-x661k3y3.js → workspace-addxnjmp.js} +4 -4
- package/dist/chunks/{persistent-pty-035sr1nw.js → workspace-akdg9baw.js} +20 -20
- package/dist/chunks/{persistent-pty-q7468z42.js → workspace-aztr5199.js} +21 -21
- package/dist/chunks/{persistent-pty-6e60yqyp.js → workspace-ba3ye61h.js} +26 -26
- package/dist/chunks/{persistent-pty-7ht1svp9.js → workspace-be6ka8gp.js} +11 -11
- package/dist/chunks/{persistent-pty-2jqwmjzy.js → workspace-betwgrzy.js} +6 -6
- package/dist/chunks/{persistent-pty-23zvew7z.js → workspace-bfv9bv9k.js} +6 -6
- package/dist/chunks/{persistent-pty-t7errb51.js → workspace-bhkqcsz5.js} +6 -6
- package/dist/chunks/{persistent-pty-m9sgcpcv.js → workspace-bhwn3mdf.js} +4 -4
- package/dist/chunks/{persistent-pty-whb9jbcp.js → workspace-bm8any7a.js} +13 -13
- package/dist/chunks/{persistent-pty-2cd9y53g.js → workspace-bncanr8s.js} +17 -17
- package/dist/chunks/{persistent-pty-n26v5e0b.js → workspace-bpa5zts5.js} +22 -22
- package/dist/chunks/{persistent-pty-bzeyqsqd.js → workspace-bzeyqsqd.js} +1 -1
- package/dist/chunks/{persistent-pty-c41wscbt.js → workspace-c41wscbt.js} +2 -2
- package/dist/chunks/{persistent-pty-4zvfssd5.js → workspace-c4vz8ygb.js} +15 -15
- package/dist/chunks/{persistent-pty-c8ax2afj.js → workspace-c8ax2afj.js} +2 -2
- package/dist/chunks/{persistent-pty-w7vq87x6.js → workspace-ck2p3d1n.js} +16 -16
- package/dist/chunks/{persistent-pty-3y24yfnm.js → workspace-ckxsmqkn.js} +9 -9
- package/dist/chunks/{persistent-pty-tpw6cwsb.js → workspace-cmwkp3r5.js} +8 -8
- package/dist/chunks/{persistent-pty-7k2k32yg.js → workspace-cp9v0ke2.js} +9 -9
- package/dist/chunks/workspace-csaj70e7.js +257 -0
- package/dist/chunks/{persistent-pty-tv4xwgy3.js → workspace-d4cpb889.js} +24 -24
- package/dist/chunks/{persistent-pty-cwa6csj7.js → workspace-d4he2qe1.js} +9 -9
- package/dist/chunks/{persistent-pty-3f2ed3kj.js → workspace-dbws17em.js} +46 -46
- package/dist/chunks/{persistent-pty-qkt0m9pt.js → workspace-dfk2fy4x.js} +27 -27
- package/dist/chunks/workspace-dhzfkndg.js +26 -0
- package/dist/chunks/{persistent-pty-sxvetcyn.js → workspace-dtqb8q68.js} +28 -28
- package/dist/chunks/{persistent-pty-3dk6vdcf.js → workspace-dzmd97ab.js} +10 -10
- package/dist/chunks/{persistent-pty-5qd3pb7m.js → workspace-e3qxr5gk.js} +2 -2
- package/dist/chunks/{persistent-pty-n87gffhn.js → workspace-e75nwzcy.js} +9 -9
- package/dist/chunks/{persistent-pty-yp2x3t23.js → workspace-e7gxy7fd.js} +2 -12
- package/dist/chunks/{persistent-pty-phvw6tnp.js → workspace-e8ajnka6.js} +23 -23
- package/dist/chunks/{persistent-pty-r2z489rp.js → workspace-ed1g29hy.js} +3 -3
- package/dist/chunks/{persistent-pty-x6msxz42.js → workspace-eddee9wq.js} +21 -21
- package/dist/chunks/{persistent-pty-eej6y6fw.js → workspace-eej6y6fw.js} +2 -2
- package/dist/chunks/{persistent-pty-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-4e4yjs3s.js → workspace-ema7vtfw.js} +1 -1
- package/dist/chunks/{persistent-pty-s670sq9m.js → workspace-epmjqtn9.js} +6 -6
- package/dist/chunks/{persistent-pty-es1vcfrp.js → workspace-es1vcfrp.js} +3 -3
- package/dist/chunks/{persistent-pty-3ssz1k3q.js → workspace-ez7s6tte.js} +8 -8
- package/dist/chunks/{persistent-pty-nyydq7ew.js → workspace-f2d84ktx.js} +5 -5
- package/dist/chunks/{persistent-pty-4ghta6c5.js → workspace-f7taj08h.js} +12 -12
- package/dist/chunks/{persistent-pty-cjx84n6d.js → workspace-fbwehany.js} +24 -24
- package/dist/chunks/{persistent-pty-fcy631f0.js → workspace-fcy631f0.js} +1 -1
- package/dist/chunks/{persistent-pty-j4fafyv9.js → workspace-fj1y8zh4.js} +14 -14
- package/dist/chunks/{persistent-pty-nd4tfyg0.js → workspace-g686f6pq.js} +9 -9
- package/dist/chunks/{persistent-pty-edx5d1yh.js → workspace-g6fhhb6h.js} +9 -9
- package/dist/chunks/{persistent-pty-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-b39zvbqb.js → workspace-gd8r8nhp.js} +14 -14
- package/dist/chunks/{persistent-pty-a546n9dx.js → workspace-gjg41fb3.js} +1 -1
- package/dist/chunks/{persistent-pty-y8p4cb47.js → workspace-gp18yva6.js} +18 -18
- package/dist/chunks/{persistent-pty-q37amjjg.js → workspace-grvpncm1.js} +8 -8
- package/dist/chunks/{persistent-pty-v40z4tye.js → workspace-gvywkdtv.js} +44 -44
- package/dist/chunks/{persistent-pty-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-hsnnjyxg.js → workspace-ha9ebeck.js} +18 -18
- package/dist/chunks/{persistent-pty-xcd0eash.js → workspace-hdab2k61.js} +6 -6
- package/dist/chunks/{persistent-pty-jfp883ba.js → workspace-hfee8c4k.js} +3 -3
- package/dist/chunks/{persistent-pty-sqk4q3nv.js → workspace-hfg4raen.js} +11 -11
- package/dist/chunks/{persistent-pty-hgz4x7wa.js → workspace-hgz4x7wa.js} +1 -1
- package/dist/chunks/{persistent-pty-yf9n42xk.js → workspace-hkfp1kbx.js} +6 -6
- package/dist/chunks/{persistent-pty-xda8t08s.js → workspace-hkr9khf6.js} +15 -15
- package/dist/chunks/{persistent-pty-g8mv3vbb.js → workspace-j6ktnsbj.js} +12 -12
- package/dist/chunks/{persistent-pty-tcyndk34.js → workspace-jekwsxa3.js} +13 -13
- package/dist/chunks/{persistent-pty-wgahhr0x.js → workspace-jnsr04qk.js} +8 -8
- package/dist/chunks/{persistent-pty-rs9qg7cf.js → workspace-jrnftmvm.js} +9 -9
- package/dist/chunks/{persistent-pty-asnz67s1.js → workspace-jthjdk0j.js} +32 -32
- package/dist/chunks/{persistent-pty-gbe60986.js → workspace-jw98zwm9.js} +12 -12
- package/dist/chunks/{persistent-pty-aqebbdxj.js → workspace-k189p03s.js} +18 -18
- package/dist/chunks/{persistent-pty-36qpgp0j.js → workspace-k80rnbms.js} +3 -3
- package/dist/chunks/{persistent-pty-xnc4q7tf.js → workspace-kaz9m2wt.js} +19 -19
- package/dist/chunks/{persistent-pty-ep3f3pzc.js → workspace-kby4jqsa.js} +86 -86
- package/dist/chunks/{persistent-pty-hq3c8me3.js → workspace-khmqacep.js} +4 -4
- package/dist/chunks/{persistent-pty-mgx30ams.js → workspace-khwgh4fa.js} +13 -13
- package/dist/chunks/{persistent-pty-n2srvep7.js → workspace-kkp8zx71.js} +4 -4
- package/dist/chunks/{persistent-pty-k9rjnmc5.js → workspace-kntmrtbr.js} +4 -4
- package/dist/chunks/{persistent-pty-kwb1v3vj.js → workspace-kwb1v3vj.js} +1 -1
- package/dist/chunks/{persistent-pty-pah6vszw.js → workspace-kyz0dcnm.js} +66 -66
- package/dist/chunks/{persistent-pty-6d7mtdks.js → workspace-m3zz1pbm.js} +42 -42
- package/dist/chunks/{persistent-pty-mxnmfhj8.js → workspace-m7gpjmsn.js} +21 -21
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-maspj1v3.js → workspace-maspj1v3.js} +1 -1
- package/dist/chunks/{persistent-pty-5wfxtdqx.js → workspace-mh62zmc2.js} +8 -8
- package/dist/chunks/{persistent-pty-fs2f0xkk.js → workspace-mnnf39w5.js} +21 -21
- package/dist/chunks/{persistent-pty-514z3gf3.js → workspace-ms7jp0yr.js} +10 -10
- package/dist/chunks/{persistent-pty-38963ezr.js → workspace-mwes9mjk.js} +7 -7
- package/dist/chunks/{persistent-pty-ty2f7v9a.js → workspace-n663b2j1.js} +10 -10
- package/dist/chunks/workspace-n95b3jav.js +18 -0
- package/dist/chunks/{persistent-pty-93c0dbkk.js → workspace-nd71w6g8.js} +5 -5
- package/dist/chunks/{persistent-pty-2688anfm.js → workspace-np3pwsmz.js} +19 -19
- package/dist/chunks/{persistent-pty-nz56sr1f.js → workspace-nz56sr1f.js} +2 -2
- package/dist/chunks/{persistent-pty-na1s3jgb.js → workspace-p99p8xsn.js} +21 -21
- package/dist/chunks/{persistent-pty-eksc9b63.js → workspace-p9bsq7m2.js} +11 -11
- package/dist/chunks/{persistent-pty-7nskfpwv.js → workspace-pck8dycb.js} +24 -24
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-j15m0rxy.js → workspace-prxnrnem.js} +7 -7
- package/dist/chunks/{persistent-pty-3r96jsjz.js → workspace-pvx62cma.js} +12 -12
- package/dist/chunks/{persistent-pty-6bazcnan.js → workspace-q1askysg.js} +14 -14
- package/dist/chunks/{persistent-pty-z0gbbqnd.js → workspace-q3c4f1my.js} +33 -33
- package/dist/chunks/{persistent-pty-1t2v27cd.js → workspace-q6nve0by.js} +41 -41
- package/dist/chunks/{persistent-pty-5r7ac250.js → workspace-q74m295h.js} +5 -5
- package/dist/chunks/{persistent-pty-qnc92qwc.js → workspace-qnc92qwc.js} +1 -1
- package/dist/chunks/{persistent-pty-ygdna4kr.js → workspace-qne3fa44.js} +5 -5
- package/dist/chunks/{persistent-pty-j1ycnkr6.js → workspace-qs9m684n.js} +4 -4
- package/dist/chunks/{persistent-pty-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-mm2wf4xp.js → workspace-qtjmb4ab.js} +53 -53
- package/dist/chunks/{persistent-pty-9a5j5arz.js → workspace-qwz8s9r3.js} +3 -3
- package/dist/chunks/{persistent-pty-45swxcnn.js → workspace-qxyst2j3.js} +28 -28
- package/dist/chunks/{persistent-pty-3gdz7m67.js → workspace-rd7mwgeg.js} +39 -39
- package/dist/chunks/{persistent-pty-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-h9rm1rrn.js → workspace-rf80fxgj.js} +5 -5
- package/dist/chunks/{persistent-pty-24f3f4ex.js → workspace-rfr6z38x.js} +2 -2
- package/dist/chunks/{persistent-pty-5mz3x8vb.js → workspace-rg6srhxk.js} +27 -27
- package/dist/chunks/{persistent-pty-5tad8fcc.js → workspace-rjncrwa9.js} +13 -13
- package/dist/chunks/{persistent-pty-4y7j986s.js → workspace-rpjgfq5s.js} +9 -9
- package/dist/chunks/{persistent-pty-1p3zcfwq.js → workspace-rz8vj7wk.js} +11 -11
- package/dist/chunks/{persistent-pty-0996nyz8.js → workspace-s1kvmffy.js} +9 -9
- package/dist/chunks/{persistent-pty-ydkcdr9n.js → workspace-s5m70yjn.js} +28 -28
- package/dist/chunks/{persistent-pty-8058wneq.js → workspace-s5zm3kz6.js} +15 -15
- package/dist/chunks/{persistent-pty-ef9fmmj9.js → workspace-sbcg8x13.js} +9 -9
- package/dist/chunks/{persistent-pty-sm301jd3.js → workspace-sc4cwva4.js} +5 -5
- package/dist/chunks/{persistent-pty-w1w1g3rz.js → workspace-sd1a0922.js} +11 -11
- package/dist/chunks/{persistent-pty-x39rm370.js → workspace-sfm14d1e.js} +21 -21
- package/dist/chunks/{persistent-pty-cpccs97c.js → workspace-sg2n288w.js} +33 -33
- package/dist/chunks/{persistent-pty-5y480sgp.js → workspace-sk5hrgtc.js} +8 -8
- package/dist/chunks/{persistent-pty-jg4qz7te.js → workspace-sqwt51e4.js} +24 -24
- package/dist/chunks/{persistent-pty-er69x7n9.js → workspace-sv7642z1.js} +42 -42
- package/dist/chunks/{persistent-pty-syv4x271.js → workspace-syv4x271.js} +1 -1
- package/dist/chunks/{persistent-pty-t1ndffwz.js → workspace-szyc73at.js} +11 -11
- package/dist/chunks/{persistent-pty-t550f9t1.js → workspace-t550f9t1.js} +1 -1
- package/dist/chunks/{persistent-pty-33b5xt83.js → workspace-t9g5qx6x.js} +3 -3
- package/dist/chunks/{persistent-pty-sx8q409h.js → workspace-tanf9p38.js} +50 -50
- package/dist/chunks/{persistent-pty-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-5xqqgpy7.js → workspace-tjkhcpzj.js} +6 -6
- package/dist/chunks/{persistent-pty-2saep75g.js → workspace-tjqn214s.js} +8 -8
- package/dist/chunks/{persistent-pty-vpzmhxff.js → workspace-tk9s4v6e.js} +9 -9
- package/dist/chunks/{persistent-pty-tkb22qbm.js → workspace-tkb22qbm.js} +2 -2
- package/dist/chunks/{persistent-pty-tm0kqsz3.js → workspace-tm0kqsz3.js} +1 -1
- package/dist/chunks/{persistent-pty-mk51tt9h.js → workspace-tqt8bre9.js} +13 -13
- package/dist/chunks/{persistent-pty-v9dvedb1.js → workspace-tvanmaph.js} +13 -13
- package/dist/chunks/{persistent-pty-makc3bj9.js → workspace-tvpcregj.js} +14 -14
- package/dist/chunks/{persistent-pty-tyytaxap.js → workspace-tyytaxap.js} +1 -1
- package/dist/chunks/{persistent-pty-x8ga927e.js → workspace-v210v162.js} +7 -7
- package/dist/chunks/{persistent-pty-v7p4zvkq.js → workspace-v7p4zvkq.js} +2 -2
- package/dist/chunks/{persistent-pty-9m1d1fqb.js → workspace-vbdmbvtf.js} +9 -9
- package/dist/chunks/{persistent-pty-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-5bes61s4.js → workspace-vez48pfx.js} +47 -47
- package/dist/chunks/{persistent-pty-mxfgkdzc.js → workspace-vfextq23.js} +16 -16
- package/dist/chunks/{persistent-pty-mywch70t.js → workspace-vfnd3k6z.js} +36 -36
- package/dist/chunks/{persistent-pty-ny7egkeb.js → workspace-vfs981a1.js} +34 -34
- package/dist/chunks/{persistent-pty-vhgfq7sf.js → workspace-vk5se0kv.js} +20 -20
- package/dist/chunks/{persistent-pty-86sh86sv.js → workspace-vvvbxd1g.js} +15 -15
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-ye0tt9gc.js → workspace-wa8h6qzv.js} +4 -4
- package/dist/chunks/{persistent-pty-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-1fj32kga.js → workspace-weqr8f9h.js} +6 -6
- package/dist/chunks/{persistent-pty-vqsk1a30.js → workspace-wjkmnf2c.js} +15 -15
- package/dist/chunks/{persistent-pty-drdy3fh6.js → workspace-x1h8xjp6.js} +4 -4
- package/dist/chunks/{persistent-pty-8e9wk3v6.js → workspace-x22cxzrs.js} +2 -2
- package/dist/chunks/{persistent-pty-b5wyey98.js → workspace-x4mvkh9e.js} +33 -33
- package/dist/chunks/{persistent-pty-pzs9fcbn.js → workspace-xahh758q.js} +84 -84
- package/dist/chunks/{persistent-pty-fx5bd5w2.js → workspace-xed622nd.js} +24 -24
- package/dist/chunks/{persistent-pty-pv0cg4pn.js → workspace-xejgt214.js} +13 -13
- package/dist/chunks/{persistent-pty-drwq78ky.js → workspace-xfkkasph.js} +4 -4
- package/dist/chunks/{persistent-pty-xaazkcd4.js → workspace-xvm099w8.js} +19 -19
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-wa9g86nq.js → workspace-y5rf7nzv.js} +4 -4
- package/dist/chunks/{persistent-pty-y71avatq.js → workspace-y71avatq.js} +1 -1
- package/dist/chunks/{persistent-pty-mb1r8vg9.js → workspace-y9ajbnt7.js} +29 -29
- package/dist/chunks/{persistent-pty-3cqwnyj9.js → workspace-ynmknp8q.js} +11 -11
- package/dist/chunks/{persistent-pty-msxpg58k.js → workspace-yrp0ypz1.js} +3 -3
- package/dist/chunks/{persistent-pty-1ffvrpkg.js → workspace-ywt8jp22.js} +6 -6
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-4071dj26.js → workspace-z0efhj86.js} +8 -8
- package/dist/chunks/{persistent-pty-583x3kah.js → workspace-z0w4h7pg.js} +15 -15
- package/dist/chunks/{persistent-pty-z18fegx4.js → workspace-z18fegx4.js} +1 -1
- package/dist/chunks/{persistent-pty-t4b6mted.js → workspace-z2rrnsn5.js} +2 -2
- package/dist/chunks/{persistent-pty-rzs3gq0x.js → workspace-z733aene.js} +8 -8
- package/dist/chunks/{persistent-pty-hsm9kfyy.js → workspace-z7jj2nw1.js} +20 -20
- package/dist/chunks/{persistent-pty-k76fn4kw.js → workspace-zav06jzw.js} +4 -4
- package/dist/chunks/{persistent-pty-0jmk01at.js → workspace-zqwp0gg4.js} +17 -17
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +147 -147
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- 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-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +14 -14
- package/dist/types/job.d.ts +1 -0
- package/dist/types/location-activity.d.ts +2 -1
- package/dist/types/session/execution.d.ts +2 -5
- package/dist/types/session/run-coordinator.d.ts +2 -5
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-5wm8vv17.js +0 -257
- package/dist/chunks/persistent-pty-9sh4wc5j.js +0 -18
- package/dist/chunks/persistent-pty-a3q4bfq8.js +0 -26
- package/dist/chunks/persistent-pty-rety19fn.js +0 -517
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → workspace-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t0ybcrp.js → workspace-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → workspace-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jze0r7bz.js → workspace-jze0r7bz.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → workspace-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-pkyv6v7h.js → workspace-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{persistent-pty-pyv0edze.js → workspace-pyv0edze.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wjj7prxr.js → workspace-wjj7prxr.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-3scc1v2h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node70
|
|
7
|
+
} from "./workspace-pck8dycb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service4,
|
|
10
|
+
node6
|
|
11
|
+
} from "./workspace-dfk2fy4x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./workspace-15rpx8aj.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service39
|
|
17
|
+
} from "./workspace-n95b3jav.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
node26,
|
|
20
|
+
ID3
|
|
21
|
+
} from "./workspace-724pece3.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service5,
|
|
24
|
+
node7
|
|
25
|
+
} from "./workspace-cmwkp3r5.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-48ncedfj.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make10,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./workspace-q1askysg.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service6,
|
|
38
|
+
node8
|
|
39
|
+
} from "./workspace-g6fhhb6h.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service12,
|
|
42
|
+
node14
|
|
43
|
+
} from "./workspace-s1kvmffy.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./workspace-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
failures: [
|
|
128
128
|
...failures.values(),
|
|
129
129
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
130
|
-
id:
|
|
130
|
+
id: ID3.make(plugin.id),
|
|
131
131
|
source: plugin.source ?? { type: "builtin" },
|
|
132
132
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
133
133
|
features: { server: true, ...plugin.features }
|
|
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
139
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
140
|
+
const managed = yield* Service20;
|
|
141
|
+
const registry = yield* Service39;
|
|
142
|
+
const sdk = yield* Service6;
|
|
143
|
+
const instance = yield* Service5;
|
|
144
|
+
const sources = yield* Service4;
|
|
145
|
+
const modules = yield* make10();
|
|
146
146
|
const bus = yield* Service85;
|
|
147
|
-
const updates = yield*
|
|
147
|
+
const updates = yield* Service12;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
node12,
|
|
223
|
+
node26,
|
|
224
|
+
node8,
|
|
225
|
+
node7,
|
|
227
226
|
node6,
|
|
227
|
+
node14,
|
|
228
228
|
node89,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node70,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-0dd87czj.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./workspace-4xxbrg9e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./workspace-k189p03s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./workspace-kaz9m2wt.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./workspace-34bwsn1r.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Plugin: () => Plugin21,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name3,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name3 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin21 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service16;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service82;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name3,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input3,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin10 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent3 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name3, Input3, Plugin21, toModelContent3, exports_read };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-a3540p22.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-es1vcfrp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info7,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info7 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service86;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [node90] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info7, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service46,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node49
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service46 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service46.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node49 = makeLocationNode({ service: Service46, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service46, node49, exports_image2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./workspace-sv7642z1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./workspace-d4he2qe1.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin13
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin13 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service67;
|
|
26
|
+
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin45 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin13, exports_location_watcher2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service12 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service12.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node14 = makeGlobalNode({ service: Service12, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service12, node14, exports_update };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service86,
|
|
9
9
|
node90
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-a3540p22.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node76
|
|
18
|
+
} from "./workspace-jnsr04qk.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID10,
|
|
31
|
+
Info: () => Info20,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service73,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured9,
|
|
36
|
+
node: () => node75
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID10 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info20 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID10,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info29 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID10,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service73 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service73,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node90,
|
|
70
|
+
deps: [node90, node76]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service84, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info20({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service84, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service73.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID10.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service84, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node75 = configured9();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID10, Info20, NotFound2, CreateConflict2, Service73, configured9, node75, exports_workspace };
|