@opencode/core 0.0.0-dev-19426 → 0.0.0-dev-19427
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{persistent-pty-07z0gam2.js → config-04sbkdwc.js} +2 -2
- package/dist/chunks/{persistent-pty-eanp9d5s.js → config-080jjftm.js} +38 -38
- package/dist/chunks/{persistent-pty-af4kcksd.js → config-0996nyz8.js} +9 -9
- package/dist/chunks/{persistent-pty-hb21dksg.js → config-0cyncc7e.js} +11 -11
- package/dist/chunks/{persistent-pty-s8d7rejh.js → config-0gdmqesm.js} +4 -4
- package/dist/chunks/{persistent-pty-vypqtakx.js → config-0jx2kcb6.js} +1 -1
- package/dist/chunks/{persistent-pty-gq9ysr8h.js → config-0nes75s0.js} +6 -6
- package/dist/chunks/{persistent-pty-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → config-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-771pt6a1.js → config-0r543n7w.js} +9 -9
- package/dist/chunks/{persistent-pty-5t0z2mmn.js → config-0rjbp7af.js} +5 -5
- package/dist/chunks/{persistent-pty-m5y0j72z.js → config-0y0fy2ct.js} +18 -18
- package/dist/chunks/{persistent-pty-1z0pzthf.js → config-0y4a2eys.js} +3 -3
- package/dist/chunks/{persistent-pty-bby00dsd.js → config-121k57vw.js} +8 -8
- package/dist/chunks/{persistent-pty-7z50rzs6.js → config-18300jzq.js} +11 -11
- package/dist/chunks/{persistent-pty-6fdj6kdr.js → config-1ak7w0y1.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-9njfg5h4.js → config-1nawpdar.js} +19 -19
- package/dist/chunks/{persistent-pty-56gdpj1q.js → config-1ygqh575.js} +9 -9
- package/dist/chunks/config-210dr5bd.js +247 -0
- package/dist/chunks/{persistent-pty-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-hrndf12w.js → config-26ym7a2d.js} +4 -4
- package/dist/chunks/{persistent-pty-29x78va6.js → config-29x78va6.js} +2 -2
- package/dist/chunks/{persistent-pty-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-qjfza5jp.js → config-2aer1yk3.js} +28 -28
- package/dist/chunks/{persistent-pty-1tq060df.js → config-2d57kztd.js} +6 -6
- package/dist/chunks/{persistent-pty-d5yt5jwb.js → config-2pkcpn7k.js} +20 -20
- package/dist/chunks/{persistent-pty-jvzfedhz.js → config-2s3vs4q7.js} +10 -10
- package/dist/chunks/{persistent-pty-5r7wtzhh.js → config-2t4fwem2.js} +20 -20
- package/dist/chunks/{persistent-pty-64a4x0vc.js → config-2vem9984.js} +9 -9
- package/dist/chunks/{persistent-pty-0h54jqbs.js → config-3cwb9jzf.js} +8 -8
- package/dist/chunks/{persistent-pty-mtft99cd.js → config-3cz8rj72.js} +5 -5
- package/dist/chunks/{persistent-pty-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-g2rsct3h.js → config-3n4jppc0.js} +6 -6
- package/dist/chunks/{persistent-pty-2sb6srdd.js → config-3rjjvc4m.js} +9 -9
- package/dist/chunks/{persistent-pty-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-fq1h1v14.js → config-3t4rpvx0.js} +3 -3
- package/dist/chunks/{persistent-pty-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-nw2nz702.js → config-3ythc6yv.js} +4 -4
- package/dist/chunks/{persistent-pty-j39pwvkg.js → config-4d0h0zpx.js} +6 -6
- package/dist/chunks/{persistent-pty-n52fcynn.js → config-4fnmr1se.js} +30 -30
- package/dist/chunks/{persistent-pty-fsxrvzy1.js → config-4p9erpdr.js} +8 -8
- package/dist/chunks/{persistent-pty-75q7adw5.js → config-4wtpxfp6.js} +16 -16
- package/dist/chunks/{persistent-pty-mge8n18z.js → config-52y26kps.js} +5 -5
- package/dist/chunks/{persistent-pty-35wxgrz4.js → config-5908qhdy.js} +14 -14
- package/dist/chunks/{persistent-pty-pps99k3k.js → config-5b05e64m.js} +25 -25
- package/dist/chunks/{persistent-pty-smj81yy7.js → config-5cphae0w.js} +26 -26
- package/dist/chunks/{persistent-pty-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-bkrv928p.js → config-5jsk88ac.js} +85 -85
- package/dist/chunks/{persistent-pty-jer3sd0r.js → config-5kp564w1.js} +11 -11
- package/dist/chunks/{persistent-pty-twy35tz0.js → config-5kptn8c0.js} +9 -9
- package/dist/chunks/{persistent-pty-6feaep00.js → config-5n1g8faq.js} +25 -25
- package/dist/chunks/{persistent-pty-7wc683m2.js → config-5pdzgdxg.js} +2 -2
- package/dist/chunks/{persistent-pty-x30a5wep.js → config-5pffmstf.js} +3 -3
- package/dist/chunks/{persistent-pty-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-9vd61c30.js → config-5webd478.js} +20 -20
- package/dist/chunks/{persistent-pty-rzn68cdd.js → config-5zpyp4z2.js} +9 -9
- package/dist/chunks/{persistent-pty-7hpb1swa.js → config-61fyb2a3.js} +21 -21
- package/dist/chunks/{persistent-pty-1jzr98sp.js → config-63fj94e7.js} +11 -11
- package/dist/chunks/{persistent-pty-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-3ajmv4vc.js → config-6be0w3hg.js} +21 -21
- package/dist/chunks/{persistent-pty-qfd3egxj.js → config-6df1nwa0.js} +10 -10
- package/dist/chunks/{persistent-pty-2402vzrj.js → config-6h73sxmp.js} +5 -5
- package/dist/chunks/{persistent-pty-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-nyba91e3.js → config-6v1tvx37.js} +23 -23
- package/dist/chunks/{persistent-pty-aavsyw27.js → config-6xw6hfxy.js} +24 -24
- package/dist/chunks/{persistent-pty-21nf8x37.js → config-716zws2t.js} +5 -5
- package/dist/chunks/{persistent-pty-71q4at8m.js → config-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-ws70e1ew.js → config-73qe7w20.js} +40 -40
- package/dist/chunks/{persistent-pty-r5x6zcsm.js → config-73tb2d7t.js} +3 -3
- package/dist/chunks/{persistent-pty-1ybn2y83.js → config-74c01z77.js} +46 -46
- package/dist/chunks/{persistent-pty-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-xck95xk4.js → config-7cgwyxtc.js} +18 -18
- package/dist/chunks/{persistent-pty-2vgrpkws.js → config-7dab4f7d.js} +20 -20
- package/dist/chunks/{persistent-pty-y20gv630.js → config-7dexpn2v.js} +32 -32
- package/dist/chunks/{persistent-pty-e9x29tk8.js → config-7jj9ww0g.js} +17 -17
- package/dist/chunks/{persistent-pty-mrw4weg4.js → config-7jkg984e.js} +5 -5
- package/dist/chunks/{persistent-pty-ez87t20v.js → config-7wwq8wqs.js} +41 -41
- package/dist/chunks/{persistent-pty-qryc0yk4.js → config-7xn0ak3t.js} +47 -47
- package/dist/chunks/{persistent-pty-p9e7n5cp.js → config-7z8hcgfe.js} +39 -39
- package/dist/chunks/{persistent-pty-7cbt97qs.js → config-7zgw0769.js} +39 -39
- package/dist/chunks/{persistent-pty-m3s16k4y.js → config-83d60b5q.js} +11 -11
- package/dist/chunks/{persistent-pty-esdnemd6.js → config-862gqftt.js} +1 -1
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-8p4f9s12.js → config-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-h2gyv3sg.js → config-8pkvmqn2.js} +1 -1
- package/dist/chunks/{persistent-pty-grfax6bg.js → config-8q7vzyvq.js} +15 -15
- package/dist/chunks/{persistent-pty-he2978am.js → config-8rahwd83.js} +17 -17
- package/dist/chunks/{persistent-pty-a46v4e4v.js → config-8x96bj0m.js} +7 -7
- package/dist/chunks/{persistent-pty-qcahbspj.js → config-94hawnvy.js} +10 -10
- package/dist/chunks/{persistent-pty-v8aeq3gs.js → config-967d7zym.js} +32 -32
- package/dist/chunks/{persistent-pty-6kvtrg8a.js → config-98k0cdha.js} +6 -6
- package/dist/chunks/{persistent-pty-zss1wv0f.js → config-98zkxtvb.js} +56 -56
- package/dist/chunks/{persistent-pty-qshadkbd.js → config-9af4hgzp.js} +17 -17
- package/dist/chunks/{persistent-pty-b0grxa7w.js → config-9b00c1fb.js} +5 -5
- package/dist/chunks/{persistent-pty-a1bz86dw.js → config-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-3w2b2yj4.js → config-ag9w8cw1.js} +5 -5
- package/dist/chunks/{persistent-pty-t8wk4avw.js → config-az4749a7.js} +9 -9
- package/dist/chunks/{persistent-pty-9gyd2w40.js → config-b10jyp57.js} +1 -1
- package/dist/chunks/{persistent-pty-bx134keb.js → config-b2r3edrw.js} +9 -9
- package/dist/chunks/{persistent-pty-bwtw07rb.js → config-b4aanydw.js} +4 -4
- package/dist/chunks/{persistent-pty-9k2v62xn.js → config-b4jw9d4v.js} +1 -1
- package/dist/chunks/{persistent-pty-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-h322wpay.js → config-bgdg82ee.js} +3 -3
- package/dist/chunks/{persistent-pty-81swgkk7.js → config-byp1chnz.js} +9 -9
- package/dist/chunks/{persistent-pty-avr3wk77.js → config-c1j4d1x8.js} +15 -15
- package/dist/chunks/{persistent-pty-q34x7630.js → config-c4dahkdv.js} +4 -4
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → config-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-d8qpv23y.js → config-cqegaqd0.js} +41 -41
- package/dist/chunks/{persistent-pty-aagvkkxy.js → config-cwjx0559.js} +24 -24
- package/dist/chunks/{persistent-pty-ttqfmzkf.js → config-d2kzsg1r.js} +4 -4
- package/dist/chunks/{persistent-pty-55fm1b9t.js → config-d3xzc5yd.js} +29 -29
- package/dist/chunks/{persistent-pty-gvcny074.js → config-d47m9tc9.js} +7 -7
- package/dist/chunks/{persistent-pty-h28mzj1y.js → config-desmpezp.js} +43 -43
- package/dist/chunks/{persistent-pty-andaq6rh.js → config-df2wv8bx.js} +12 -12
- package/dist/chunks/{persistent-pty-7b15y959.js → config-dv1qgsyq.js} +8 -8
- package/dist/chunks/{persistent-pty-f873qhwf.js → config-e0fydr9g.js} +17 -17
- package/dist/chunks/{persistent-pty-gcaewnb3.js → config-e0vtkr8g.js} +6 -6
- package/dist/chunks/{persistent-pty-exnvqzq0.js → config-e3zqxkjh.js} +25 -25
- package/dist/chunks/{persistent-pty-cgwhtan4.js → config-e43gp79w.js} +18 -18
- package/dist/chunks/{persistent-pty-nx4935gj.js → config-e5vktses.js} +14 -14
- package/dist/chunks/{persistent-pty-b2v3nqsm.js → config-e7vjb8xb.js} +17 -17
- package/dist/chunks/{persistent-pty-atpcpkf0.js → config-e8fqe44x.js} +27 -27
- package/dist/chunks/{persistent-pty-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-c7m75h3c.js → config-ev1z17mg.js} +1 -1
- package/dist/chunks/{persistent-pty-yp2x3t23.js → config-f2n192rq.js} +4 -4
- package/dist/chunks/{persistent-pty-aahnsagd.js → config-f65gecnf.js} +24 -24
- package/dist/chunks/{persistent-pty-akt3csds.js → config-f7waqs9s.js} +8 -8
- package/dist/chunks/{persistent-pty-f828m53h.js → config-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-4vm0hqbg.js → config-f8khf541.js} +7 -7
- package/dist/chunks/{persistent-pty-qz2hjw9m.js → config-fbjpvkak.js} +6 -6
- package/dist/chunks/{persistent-pty-7dqw4kz8.js → config-fcrkznn8.js} +5 -5
- package/dist/chunks/{persistent-pty-tge42xv9.js → config-fhhh5fpv.js} +24 -24
- package/dist/chunks/{persistent-pty-7rgb98b3.js → config-fkya8xgs.js} +25 -25
- package/dist/chunks/{persistent-pty-1bvxxf6d.js → config-fmr28pax.js} +6 -6
- package/dist/chunks/{persistent-pty-7zkd12m7.js → config-fq5tybeh.js} +13 -13
- package/dist/chunks/{persistent-pty-7e7r6h4f.js → config-ftwyyc7q.js} +11 -11
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-3sapyj2b.js → config-g02c2j6c.js} +15 -15
- package/dist/chunks/{persistent-pty-tybgdchd.js → config-g36pzvek.js} +41 -41
- package/dist/chunks/{persistent-pty-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-8xbg7ftz.js → config-ghdn73s2.js} +8 -8
- package/dist/chunks/{persistent-pty-721tb84k.js → config-grqp3cmb.js} +3 -3
- package/dist/chunks/{persistent-pty-h03wrkyp.js → config-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-6mgtcd6n.js → config-h0n719fv.js} +26 -26
- package/dist/chunks/{persistent-pty-2v34zfk0.js → config-h2mpge2c.js} +13 -13
- package/dist/chunks/config-h6rmx1e7.js +22 -0
- package/dist/chunks/{persistent-pty-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-m86bnw2c.js → config-h7ygw6q4.js} +9 -9
- package/dist/chunks/{persistent-pty-84gm4pzb.js → config-hc9y5yrm.js} +13 -13
- package/dist/chunks/{persistent-pty-vmq7ehpy.js → config-hnr5yq9h.js} +5 -5
- package/dist/chunks/{persistent-pty-warydmh4.js → config-hpz3494e.js} +23 -23
- package/dist/chunks/{persistent-pty-vze96k0n.js → config-hyj2vz80.js} +4 -4
- package/dist/chunks/{persistent-pty-dxygqc36.js → config-hzcq6r0f.js} +17 -17
- package/dist/chunks/{persistent-pty-tjfw1za4.js → config-j2qn64gj.js} +11 -11
- package/dist/chunks/{persistent-pty-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/config-j5b0wgyp.js +462 -0
- package/dist/chunks/{persistent-pty-g246acm2.js → config-jarjgmjf.js} +16 -16
- package/dist/chunks/{persistent-pty-g7bd3bxh.js → config-jcqksr1s.js} +13 -13
- package/dist/chunks/{persistent-pty-69najtqd.js → config-jke8kf8k.js} +23 -23
- package/dist/chunks/{persistent-pty-zbr6jhfd.js → config-jnykdmk9.js} +22 -22
- package/dist/chunks/{persistent-pty-qt3ydrbb.js → config-jr2wm6h1.js} +79 -79
- package/dist/chunks/{persistent-pty-g5zzrv8s.js → config-jrrv4qtc.js} +15 -15
- package/dist/chunks/{persistent-pty-mdkf98yy.js → config-jrzxfgsz.js} +5 -5
- package/dist/chunks/{persistent-pty-159kg1rb.js → config-jzd3jr9p.js} +15 -15
- package/dist/chunks/{persistent-pty-84tssp1s.js → config-k1dcmph1.js} +6 -6
- package/dist/chunks/{persistent-pty-bhydgh2x.js → config-kc19q4nv.js} +18 -18
- package/dist/chunks/{persistent-pty-m4xc242r.js → config-kfyjm1bj.js} +15 -15
- package/dist/chunks/{persistent-pty-kg06axw8.js → config-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-axdmkq6x.js → config-kgs2gyn8.js} +15 -15
- package/dist/chunks/{persistent-pty-fppgezky.js → config-kgzd18rf.js} +28 -28
- package/dist/chunks/{persistent-pty-c3t7yrgz.js → config-kjmc9q6p.js} +6 -6
- package/dist/chunks/{persistent-pty-9h6x7gyv.js → config-kw9fkdsd.js} +15 -15
- package/dist/chunks/{persistent-pty-8z17e00v.js → config-kyrbgmgz.js} +2 -2
- package/dist/chunks/{persistent-pty-915t83ht.js → config-m0yean37.js} +11 -11
- package/dist/chunks/{persistent-pty-h15vyfzd.js → config-m3wg7f1z.js} +10 -10
- package/dist/chunks/{persistent-pty-e8mbapm5.js → config-m4kgf6ca.js} +6 -6
- package/dist/chunks/{persistent-pty-hxh4hb0e.js → config-m80ew2zz.js} +17 -17
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-g6986w1q.js → config-mb7tvf4x.js} +33 -33
- package/dist/chunks/{persistent-pty-cvvekyt1.js → config-mbnc4twk.js} +20 -20
- package/dist/chunks/{persistent-pty-kpgdrxya.js → config-mcjr5rma.js} +10 -10
- package/dist/chunks/{persistent-pty-mkcjrzeh.js → config-mkcjrzeh.js} +1 -1
- package/dist/chunks/{persistent-pty-kt5w8vxh.js → config-mkh51v61.js} +10 -10
- package/dist/chunks/{persistent-pty-3trbxeqx.js → config-mv54rrkq.js} +1 -1
- package/dist/chunks/{persistent-pty-5f411mky.js → config-mzykdn05.js} +10 -10
- package/dist/chunks/{persistent-pty-ww3mwnc7.js → config-nhbeg3qa.js} +11 -11
- package/dist/chunks/{persistent-pty-hjt4xg1x.js → config-nhy5jxhy.js} +4 -4
- package/dist/chunks/{persistent-pty-7ba6wjkk.js → config-nhzetgd2.js} +18 -18
- package/dist/chunks/{persistent-pty-pbmjghd7.js → config-ns8hfw5m.js} +11 -11
- package/dist/chunks/{persistent-pty-bgp3qmdj.js → config-nw3ed1mk.js} +38 -38
- package/dist/chunks/{persistent-pty-enc0sym2.js → config-pbvcetj3.js} +18 -18
- package/dist/chunks/config-pf31ssb9.js +18 -0
- package/dist/chunks/{persistent-pty-xrmsdwza.js → config-pghpsfx8.js} +32 -32
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-jzpbgybv.js → config-pp9bqr7w.js} +20 -20
- package/dist/chunks/{persistent-pty-cqyts73c.js → config-pxa5mnve.js} +33 -33
- package/dist/chunks/{persistent-pty-s76nk363.js → config-q6jxhr7p.js} +12 -12
- package/dist/chunks/{persistent-pty-ggwxhvn5.js → config-q879j799.js} +28 -28
- package/dist/chunks/{persistent-pty-jk9xsz7x.js → config-qq71fy0p.js} +22 -22
- package/dist/chunks/{persistent-pty-7yqnf43w.js → config-qq8x5mwt.js} +6 -6
- package/dist/chunks/{persistent-pty-fg7rbsd2.js → config-qs001aqx.js} +8 -8
- package/dist/chunks/{persistent-pty-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-vabb23s0.js → config-qstjqs7y.js} +1 -1
- package/dist/chunks/{persistent-pty-72xz0ztc.js → config-qwkmaj58.js} +65 -65
- package/dist/chunks/{persistent-pty-hj2v5ffq.js → config-r1pwacvm.js} +36 -36
- package/dist/chunks/{persistent-pty-bf6dt9pk.js → config-r43g2czz.js} +12 -12
- package/dist/chunks/{persistent-pty-stesey4a.js → config-rj8xn73b.js} +4 -4
- package/dist/chunks/{persistent-pty-c6j5rb3b.js → config-rmmx4qnr.js} +4 -4
- package/dist/chunks/{persistent-pty-9vqpghck.js → config-rncrryjg.js} +26 -26
- package/dist/chunks/{persistent-pty-bkxbsem7.js → config-rp8qt6s9.js} +21 -21
- package/dist/chunks/{persistent-pty-r3meafyq.js → config-rpqwx9z1.js} +15 -15
- package/dist/chunks/{persistent-pty-vqyjqhb3.js → config-s1x6275h.js} +13 -13
- package/dist/chunks/{persistent-pty-s4enseaf.js → config-s4enseaf.js} +2 -2
- package/dist/chunks/{persistent-pty-3zc5jvmt.js → config-s9mkjwxj.js} +23 -23
- package/dist/chunks/{persistent-pty-qv60t1mv.js → config-smssq42f.js} +9 -9
- package/dist/chunks/{persistent-pty-emyaygjm.js → config-snx4kq1r.js} +54 -54
- package/dist/chunks/{persistent-pty-9t9a8468.js → config-t9j7pbck.js} +27 -27
- package/dist/chunks/{persistent-pty-s51v67se.js → config-tayccbp0.js} +5 -5
- package/dist/chunks/{persistent-pty-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-0c8kwbsp.js → config-tcerhjb9.js} +18 -18
- package/dist/chunks/{persistent-pty-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-fgcgd4rw.js → config-tewgewgq.js} +13 -13
- package/dist/chunks/{persistent-pty-tc9rqwe8.js → config-tgysfc69.js} +9 -9
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → config-th5km1p3.js} +5 -5
- package/dist/chunks/{persistent-pty-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-87rksg4x.js → config-v5dm1t52.js} +18 -18
- package/dist/chunks/{persistent-pty-485fr60v.js → config-v84z85pp.js} +8 -8
- package/dist/chunks/{persistent-pty-ynnp4yam.js → config-va1yysyv.js} +11 -11
- package/dist/chunks/{persistent-pty-3j8sdtpz.js → config-ve4pfa0n.js} +4 -4
- package/dist/chunks/{persistent-pty-b99w0g26.js → config-ve6nm2s5.js} +6 -6
- package/dist/chunks/{persistent-pty-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-21thbrk0.js → config-vh7c63t2.js} +25 -25
- package/dist/chunks/{persistent-pty-6tt5evqq.js → config-vkxpz7g2.js} +4 -4
- package/dist/chunks/{persistent-pty-xsgnaeym.js → config-vts1skcq.js} +17 -17
- package/dist/chunks/{persistent-pty-612qpymn.js → config-vyt5132f.js} +15 -15
- package/dist/chunks/{persistent-pty-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-s1htzk4a.js → config-w097dxjk.js} +26 -26
- package/dist/chunks/{persistent-pty-k8g3dj73.js → config-w2t9q7d6.js} +28 -28
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-k0nnq3t9.js → config-w6zk8pbt.js} +6 -6
- package/dist/chunks/{persistent-pty-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-jbp58yvw.js → config-wn0rwpc4.js} +8 -8
- package/dist/chunks/{persistent-pty-m7vxemcg.js → config-x07swckw.js} +11 -11
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-x43y2vfs.js → config-x43y2vfs.js} +2 -2
- package/dist/chunks/{persistent-pty-gpw9mxzt.js → config-x5m8r6tq.js} +34 -34
- package/dist/chunks/{persistent-pty-zepncfka.js → config-xdk9p2qn.js} +4 -4
- package/dist/chunks/{persistent-pty-zw5b53zw.js → config-xj97y6sx.js} +43 -43
- package/dist/chunks/{persistent-pty-g22feqm7.js → config-xwr11g7g.js} +9 -9
- package/dist/chunks/{persistent-pty-9yqcsx6m.js → config-xx23fqgj.js} +20 -20
- package/dist/chunks/{persistent-pty-7vhhzrrm.js → config-xy3hb6gv.js} +6 -6
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-0e44rvxq.js → config-y4xy21re.js} +12 -12
- package/dist/chunks/{persistent-pty-2j1x0myt.js → config-y5qhjknn.js} +7 -7
- package/dist/chunks/{persistent-pty-dpkg50ah.js → config-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-t7fdnyc8.js → config-y733bjqp.js} +20 -20
- package/dist/chunks/{persistent-pty-yddgxcp4.js → config-yddgxcp4.js} +2 -2
- package/dist/chunks/{persistent-pty-bhzctmd7.js → config-yhm50jqs.js} +16 -16
- package/dist/chunks/{persistent-pty-mqy9bkz8.js → config-yn68rwy1.js} +4 -4
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-6j8myhdp.js → config-ytfft4zc.js} +4 -4
- package/dist/chunks/{persistent-pty-rs226bz6.js → config-yy11cnfq.js} +5 -5
- package/dist/chunks/{persistent-pty-1hxa6pzb.js → config-yzr0k2jx.js} +30 -30
- package/dist/chunks/{persistent-pty-5a5hve6r.js → config-yzvghwtp.js} +22 -22
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-2hnfpkj9.js → config-z2e219bb.js} +24 -24
- package/dist/chunks/{persistent-pty-0cc4q6tf.js → config-zcrpa3mr.js} +7 -7
- package/dist/chunks/{persistent-pty-cxmh4q5b.js → config-zcrspsvn.js} +4 -4
- package/dist/chunks/{persistent-pty-bw0vgseb.js → config-ze5v0a14.js} +8 -8
- package/dist/chunks/{persistent-pty-j9jre7ys.js → config-zecem4fz.js} +174 -174
- package/dist/chunks/{persistent-pty-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-m18hwpd1.js → config-zkes3v37.js} +8 -8
- package/dist/chunks/{persistent-pty-0m5hy3yw.js → config-zpv3n05j.js} +33 -33
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- 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 +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +95 -95
- package/dist/mcp/instructions.js +116 -116
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- 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 +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +113 -113
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +117 -117
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-9r5tkcxt.js +0 -247
- package/dist/chunks/persistent-pty-gqh9qxps.js +0 -462
- package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
- package/dist/chunks/persistent-pty-t9b0v4z9.js +0 -22
- /package/dist/chunks/{persistent-pty-0mesazry.js → config-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → config-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-j935v87r.js → config-j935v87r.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-bgdg82ee.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-rj8xn73b.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service71,
|
|
14
|
+
node75
|
|
15
|
+
} from "./config-mkh51v61.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID15,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event16,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-byp1chnz.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./config-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID14,
|
|
40
|
+
Info: () => Info28,
|
|
41
|
+
NotFoundError: () => NotFoundError8,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service70,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node74,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID14 = ID15;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info28 = Info29;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError8 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID14
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service70 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service71;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event16.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID14.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
167
167
|
time_updated: Date.now()
|
|
168
168
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
169
169
|
if (!row)
|
|
170
|
-
return yield* new
|
|
170
|
+
return yield* new NotFoundError8({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event16.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID14.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID14.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID14.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID14.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID14.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID14.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service70.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node74 = makeGlobalNode({
|
|
277
|
+
service: Service70,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node84, node85, FSUtil.node,
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node75, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID14, Vcs2, Current2, Info28, UpdateInput3, NotFoundError8, root2, Service70, node74, exports_project };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-rj8xn73b.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service69,
|
|
7
|
+
node73
|
|
8
|
+
} from "./config-vts1skcq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node66
|
|
12
|
+
} from "./config-6xw6hfxy.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service54,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node57
|
|
20
|
+
} from "./config-8q7vzyvq.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service73,
|
|
23
|
+
node77
|
|
24
|
+
} from "./config-121k57vw.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service35,
|
|
27
|
+
node39
|
|
28
|
+
} from "./config-3cwb9jzf.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-grqp3cmb.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service65,
|
|
35
|
+
node69
|
|
36
|
+
} from "./config-7z8hcgfe.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./config-q6jxhr7p.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError4,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service34,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node38
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service34 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service79;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service69;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service54;
|
|
94
|
+
const environment = yield* Service63;
|
|
95
|
+
const hooks = yield* Service73;
|
|
96
|
+
const environments = yield* Service35;
|
|
97
|
+
const config = yield* Service65;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError4({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError4({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service34.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node38 = makeLocationNode({
|
|
320
|
+
service: Service34,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node84,
|
|
324
|
-
node81,
|
|
325
|
-
Global.node,
|
|
326
|
-
node67,
|
|
327
|
-
node63,
|
|
328
324
|
node73,
|
|
329
|
-
|
|
330
|
-
|
|
325
|
+
Global.node,
|
|
326
|
+
node57,
|
|
327
|
+
node66,
|
|
328
|
+
node77,
|
|
329
|
+
node39,
|
|
330
|
+
node69,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError4, RETENTION2, DIRECTORY2, Service34, cleanup2, node38, exports_shell4 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-rj8xn73b.js";
|
|
5
5
|
import {
|
|
6
6
|
Event19,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./config-7dab4f7d.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service66,
|
|
12
|
+
node70
|
|
13
|
+
} from "./config-jnykdmk9.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service69,
|
|
19
|
+
node73
|
|
20
|
+
} from "./config-vts1skcq.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-z2e219bb.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-tayccbp0.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service67,
|
|
36
|
+
Event15,
|
|
37
|
+
node71
|
|
38
|
+
} from "./config-e43gp79w.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./config-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options8,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service65,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured9,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer21,
|
|
53
|
+
node: () => node69,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -78,7 +78,7 @@ var Options8 = Schema.Struct({
|
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service65 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service65, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer21 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
99
|
+
const location = yield* Service69;
|
|
100
|
+
const watcher = yield* Service66;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
102
|
+
const credentials = yield* Service77;
|
|
103
|
+
const wellknown = yield* Service67;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -224,7 +224,7 @@ var layer24 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer24 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service65.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured9(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service65,
|
|
248
|
+
layer: layer21(options),
|
|
249
|
+
deps: [node70, node84, FSUtil.node, Global.node, node73, node81, node71]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node69 = configured9();
|
|
253
253
|
|
|
254
|
-
export { latest2, Options8,
|
|
254
|
+
export { latest2, Options8, Service65, Test2, testLayer2, layer21, configured9, node69, exports_config };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-rj8xn73b.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node70
|
|
7
|
+
} from "./config-jnykdmk9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service9,
|
|
10
|
+
node12
|
|
11
|
+
} from "./config-e8fqe44x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service26
|
|
14
|
+
} from "./config-pf31ssb9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node21,
|
|
17
17
|
ID3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-7cgwyxtc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service3,
|
|
21
|
+
node5
|
|
22
|
+
} from "./config-dv1qgsyq.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-j5b0wgyp.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make6,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-4p9erpdr.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
Service12,
|
|
34
|
-
node15
|
|
35
|
-
} from "./persistent-pty-kpgdrxya.js";
|
|
36
|
-
import {
|
|
37
33
|
Service5,
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
34
|
+
node7
|
|
35
|
+
} from "./config-mcjr5rma.js";
|
|
36
|
+
import {
|
|
37
|
+
Service4,
|
|
38
|
+
node6
|
|
39
|
+
} from "./config-0996nyz8.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./config-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
46
46
|
__export(exports_supervisor, {
|
|
47
47
|
PluginSupervisor: () => exports_supervisor,
|
|
48
|
-
layer: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
layer: () => layer3,
|
|
49
|
+
node: () => node4
|
|
50
50
|
});
|
|
51
51
|
import { Event } from "@opencode/schema/config";
|
|
52
52
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
124
124
|
pending: [...pending]
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
|
-
var
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
131
|
-
const sources = yield*
|
|
132
|
-
const modules = yield*
|
|
127
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
+
const registry = yield* Service26;
|
|
129
|
+
const sdk = yield* Service5;
|
|
130
|
+
const instance = yield* Service3;
|
|
131
|
+
const sources = yield* Service9;
|
|
132
|
+
const modules = yield* make6();
|
|
133
133
|
const bus = yield* Service79;
|
|
134
|
-
const updates = yield*
|
|
134
|
+
const updates = yield* Service4;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
210
|
-
node15,
|
|
211
|
-
node9,
|
|
209
|
+
node21,
|
|
212
210
|
node7,
|
|
213
|
-
|
|
211
|
+
node5,
|
|
212
|
+
node12,
|
|
213
|
+
node6,
|
|
214
214
|
node84,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node70,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -221,6 +221,6 @@ function pluginSource(target) {
|
|
|
221
221
|
return { type: "local", path: target };
|
|
222
222
|
return { type: "package", target };
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { layer3, node4, exports_supervisor };
|