@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./workspace-129qsmff.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service82,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node86,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service82 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node86 = LayerNode.unbound(Service82, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service83;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service82.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service82,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node87]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info27, Ref4, response2, Service82, node86, boundNode2, exports_location };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service62
|
|
4
|
+
} from "./workspace-7125243h.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./workspace-m7gpjmsn.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service67
|
|
12
|
+
} from "./workspace-sv7642z1.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-8n9x2wf6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service53
|
|
18
|
+
} from "./workspace-35hset4p.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service59
|
|
22
|
+
} from "./workspace-gvywkdtv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service28
|
|
25
|
+
} from "./workspace-kby4jqsa.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./workspace-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service11
|
|
31
|
+
} from "./workspace-4drn66za.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./workspace-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin30,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description3,
|
|
44
|
+
name: () => name10
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name10 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input10 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input8 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output8 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description3 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin30 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service28;
|
|
93
|
+
const jobs = yield* Service53;
|
|
94
|
+
const agents = yield* Service62;
|
|
95
|
+
const config = yield* Service67;
|
|
96
|
+
const permission = yield* Service59;
|
|
97
|
+
const models = yield* Service76;
|
|
98
|
+
const subagents = yield* Service11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin8 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description3,
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin8 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name10,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin8 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID8.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name10 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name10];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name10, Input10, Output8, description3, Plugin30, exports_subagent };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-t550f9t1.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-es1vcfrp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./workspace-4xxbrg9e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service15,
|
|
12
|
+
node17
|
|
13
|
+
} from "./workspace-0qwg22c0.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -33,11 +33,11 @@ __export(exports_filesystem, {
|
|
|
33
33
|
Match: () => Match2,
|
|
34
34
|
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service14,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node16
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -107,12 +107,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
107
107
|
}
|
|
108
108
|
var Event2 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service82;
|
|
115
|
+
const search = yield* Service15;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -131,7 +131,7 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
131
131
|
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service14.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node16 = makeLocationNode({
|
|
175
|
+
service: Service14,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node86, node17]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./workspace-sv7642z1.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin6 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service67;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin41 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin6, exports_websearch };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info16,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule3
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info16 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info16, exports_permission2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-xvm099w8.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-a3540p22.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-tkb22qbm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
@@ -15,13 +15,13 @@ __export(exports_saved, {
|
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ConflictError: () => ConflictError2,
|
|
17
17
|
ID: () => ID7,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info12,
|
|
19
19
|
ListInput: () => ListInput5,
|
|
20
|
-
NotFoundError: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError9,
|
|
21
21
|
PermissionSaved: () => exports_saved,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UpdateInput: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service61,
|
|
23
|
+
UpdateInput: () => UpdateInput3,
|
|
24
|
+
node: () => node63
|
|
25
25
|
});
|
|
26
26
|
import { eq } from "drizzle-orm";
|
|
27
27
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -30,7 +30,7 @@ import { Project } from "@opencode/schema/project";
|
|
|
30
30
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
32
32
|
var ID7 = PermissionSaved.ID;
|
|
33
|
-
var
|
|
33
|
+
var Info12 = PermissionSaved.Info;
|
|
34
34
|
var ListInput5 = Schema.Struct({
|
|
35
35
|
projectID: Project.ID.pipe(Schema.optional)
|
|
36
36
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -39,13 +39,13 @@ var AddInput2 = Schema.Struct({
|
|
|
39
39
|
action: Schema.String,
|
|
40
40
|
resources: Schema.Array(Schema.String)
|
|
41
41
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
42
|
-
var
|
|
42
|
+
var UpdateInput3 = Schema.Struct({
|
|
43
43
|
id: ID7,
|
|
44
44
|
action: Schema.String.pipe(Schema.optional),
|
|
45
45
|
resource: Schema.String.pipe(Schema.optional)
|
|
46
46
|
}).annotate({ identifier: "PermissionSaved.UpdateInput" });
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
49
49
|
id: ID7
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
@@ -57,9 +57,9 @@ class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError
|
|
|
57
57
|
}) {
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service61 extends Context.Service()("@opencode/PermissionSaved") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
62
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
63
63
|
const db = (yield* Service86).db;
|
|
64
64
|
const list = Effect.fnUntraced(function* (input) {
|
|
65
65
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -78,18 +78,18 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
78
78
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
79
79
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
80
80
|
if (!current)
|
|
81
|
-
return yield* new
|
|
81
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
82
82
|
const action = input.action ?? current.action;
|
|
83
83
|
const resource = input.resource ?? current.resource;
|
|
84
84
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
85
85
|
if (!updated)
|
|
86
|
-
return yield* new
|
|
86
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
87
87
|
return info(updated);
|
|
88
88
|
});
|
|
89
89
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
90
90
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
91
91
|
});
|
|
92
|
-
return
|
|
92
|
+
return Service61.of({ list, add, update, remove });
|
|
93
93
|
}));
|
|
94
94
|
var isUniqueViolation = (error) => {
|
|
95
95
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -107,6 +107,6 @@ var info = (row) => ({
|
|
|
107
107
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
var
|
|
110
|
+
var node63 = makeGlobalNode({ service: Service61, layer, deps: [node90] });
|
|
111
111
|
|
|
112
|
-
export { ID7,
|
|
112
|
+
export { ID7, Info12, ListInput5, AddInput2, UpdateInput3, NotFoundError9, ConflictError2, Service61, node63, exports_saved };
|