@opencode/core 0.0.0-dev-19564 → 0.0.0-dev-19566
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{location-mutation-ea8nv0r7.js → skill-01375378.js} +2 -2
- package/dist/chunks/{location-mutation-2c6z0znx.js → skill-03nven2r.js} +15 -15
- package/dist/chunks/{location-mutation-2ve45fd6.js → skill-06tybfx6.js} +5 -5
- package/dist/chunks/{location-mutation-c2czmzrr.js → skill-06v35k2r.js} +34 -34
- package/dist/chunks/{location-mutation-g14zqp48.js → skill-0axr4kr0.js} +6 -6
- package/dist/chunks/{location-mutation-09nsett5.js → skill-0bm6edds.js} +14 -14
- package/dist/chunks/{location-mutation-pgjngt2x.js → skill-0d176nsj.js} +13 -13
- package/dist/chunks/skill-0mesazry.js +4 -0
- package/dist/chunks/{location-mutation-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-mutation-0q0f95c6.js → skill-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-mutation-ztr79pxm.js → skill-0xnv56ea.js} +11 -11
- package/dist/chunks/{location-mutation-s9r3zx9c.js → skill-10z84w3c.js} +32 -32
- package/dist/chunks/{location-mutation-ebq30a0s.js → skill-1bs1spav.js} +20 -20
- package/dist/chunks/{location-mutation-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-mutation-0r8s4ygg.js → skill-1eh4gn3y.js} +13 -13
- package/dist/chunks/{location-mutation-rfmxnttp.js → skill-1g3v23b5.js} +28 -28
- package/dist/chunks/{location-mutation-saszz0tm.js → skill-1jtrbqfx.js} +11 -11
- package/dist/chunks/{location-mutation-cza9j1er.js → skill-1nfpt5r1.js} +1 -1
- package/dist/chunks/{location-mutation-0w62qmxp.js → skill-1q3whged.js} +8 -8
- package/dist/chunks/{location-mutation-96te9d4b.js → skill-1q5awywt.js} +5 -5
- package/dist/chunks/{location-mutation-6kh673ej.js → skill-1tp8ewbt.js} +27 -27
- package/dist/chunks/{location-mutation-yvnshmpd.js → skill-1wxqst5x.js} +17 -17
- package/dist/chunks/{location-mutation-mfqp6xfm.js → skill-1ygqh575.js} +6 -6
- package/dist/chunks/{location-mutation-g7e74qdq.js → skill-1zkmxa9g.js} +69 -69
- package/dist/chunks/{location-mutation-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{location-mutation-2402vzrj.js → skill-2402vzrj.js} +1 -1
- package/dist/chunks/{location-mutation-29x78va6.js → skill-29x78va6.js} +2 -2
- package/dist/chunks/{location-mutation-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mutation-j4wvd8nr.js → skill-2ag9ma2b.js} +5 -5
- package/dist/chunks/{location-mutation-3w5k6gvs.js → skill-2d4xjm6v.js} +78 -78
- package/dist/chunks/{location-mutation-5d5383gp.js → skill-2evyaa68.js} +4 -4
- package/dist/chunks/{location-mutation-mpadvkka.js → skill-2hac07k5.js} +28 -28
- package/dist/chunks/{location-mutation-wh3mwy9y.js → skill-2nbt55tc.js} +8 -8
- package/dist/chunks/{location-mutation-v8nxbcj1.js → skill-2wkv1t8b.js} +18 -18
- package/dist/chunks/{location-mutation-ypa7vnhd.js → skill-30s937mt.js} +15 -15
- package/dist/chunks/{location-mutation-gk0f8ry6.js → skill-33hfc43a.js} +25 -25
- package/dist/chunks/{location-mutation-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-mutation-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-mutation-40v84sj9.js → skill-3ne75qq3.js} +36 -36
- package/dist/chunks/{location-mutation-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mutation-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-mutation-xb0fd5mw.js → skill-4bj2dz2y.js} +11 -11
- package/dist/chunks/{location-mutation-x9dbpt97.js → skill-4gkbfhep.js} +14 -14
- package/dist/chunks/{location-mutation-f8n871vd.js → skill-4mb6vwcb.js} +24 -24
- package/dist/chunks/{location-mutation-j32h6ccb.js → skill-4pgsdndd.js} +5 -5
- package/dist/chunks/{location-mutation-s846mwed.js → skill-4pvvh4dq.js} +16 -16
- package/dist/chunks/{location-mutation-rjhg2a6b.js → skill-4x245b0q.js} +8 -8
- package/dist/chunks/{location-mutation-40dnmwzh.js → skill-4ybtfae2.js} +47 -47
- package/dist/chunks/{location-mutation-zecqrkk8.js → skill-5026zm2d.js} +15 -15
- package/dist/chunks/{location-mutation-4y8mn7kc.js → skill-59350cgc.js} +19 -19
- package/dist/chunks/{location-mutation-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{location-mutation-6d9mz4vp.js → skill-5kptn8c0.js} +9 -9
- package/dist/chunks/{location-mutation-8ddz1vt2.js → skill-5mgjh8kn.js} +50 -50
- package/dist/chunks/skill-5mkcfzsp.js +247 -0
- package/dist/chunks/{location-mutation-xfw70qwk.js → skill-5qmpf8x7.js} +9 -9
- package/dist/chunks/{location-mutation-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-mutation-x2vke7v6.js → skill-5t719cx6.js} +26 -26
- package/dist/chunks/{location-mutation-0m5s60pw.js → skill-5v53trz0.js} +22 -22
- package/dist/chunks/{location-mutation-qcanms4y.js → skill-5vxfv4v1.js} +9 -9
- package/dist/chunks/{location-mutation-8a0b7fze.js → skill-5x00wpxg.js} +4 -4
- package/dist/chunks/{location-mutation-p1q7pebv.js → skill-646p19dj.js} +20 -20
- package/dist/chunks/{location-mutation-22m95qs7.js → skill-64kphnzf.js} +4 -4
- package/dist/chunks/{location-mutation-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{location-mutation-830a973a.js → skill-671z00ac.js} +6 -6
- package/dist/chunks/{location-mutation-hqkqhxar.js → skill-6d94346x.js} +14 -14
- package/dist/chunks/{location-mutation-80n8qn88.js → skill-6e08fkqj.js} +4 -4
- package/dist/chunks/{location-mutation-ssns9qef.js → skill-6fd1ezmz.js} +6 -6
- package/dist/chunks/{location-mutation-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-mutation-r9d4hscn.js → skill-6zq5hsb7.js} +19 -19
- package/dist/chunks/{location-mutation-71q4at8m.js → skill-71q4at8m.js} +1 -1
- package/dist/chunks/{location-mutation-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-mutation-8ympxaqs.js → skill-7eq0pkzk.js} +45 -45
- package/dist/chunks/{location-mutation-rt60rjhz.js → skill-7fd2zyfz.js} +24 -24
- package/dist/chunks/{location-mutation-4e7426jc.js → skill-7m5f9412.js} +8 -8
- package/dist/chunks/{location-mutation-42g1c063.js → skill-7mhgqmsq.js} +12 -12
- package/dist/chunks/{location-mutation-3dbc59q6.js → skill-7sp9s905.js} +43 -43
- package/dist/chunks/{location-mutation-721tb84k.js → skill-7wdjtyr9.js} +3 -3
- package/dist/chunks/{location-mutation-3nqb3pr0.js → skill-7xypaa9t.js} +9 -9
- package/dist/chunks/{location-mutation-st8zm3j0.js → skill-84n3z6xx.js} +37 -37
- package/dist/chunks/{location-mutation-qmy7xtej.js → skill-8baymvr8.js} +1 -1
- package/dist/chunks/{location-mutation-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-mutation-4e4x7r7e.js → skill-8kx13bg7.js} +29 -29
- package/dist/chunks/{location-mutation-dj2t23y0.js → skill-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-mutation-nza8psrb.js → skill-8p7fpmkf.js} +30 -30
- package/dist/chunks/{location-mutation-hm5k8eah.js → skill-8rhfg1k0.js} +8 -8
- package/dist/chunks/{location-mutation-1a3hsqby.js → skill-90shr1wy.js} +6 -6
- package/dist/chunks/{location-mutation-xpqchpdr.js → skill-93gaenk7.js} +17 -17
- package/dist/chunks/{location-mutation-avbgj43b.js → skill-95rjbf83.js} +9 -9
- package/dist/chunks/{location-mutation-jtht6z7a.js → skill-9cgwn6m2.js} +13 -13
- package/dist/chunks/{location-mutation-9kqeqy6k.js → skill-9dck95a9.js} +6 -6
- package/dist/chunks/{location-mutation-eqhfcyge.js → skill-9pmg1ryd.js} +22 -22
- package/dist/chunks/{location-mutation-5c4hm403.js → skill-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-mutation-at5d07az.js → skill-a46v4e4v.js} +4 -4
- package/dist/chunks/{location-mutation-7zvmg7rn.js → skill-a4se06gq.js} +20 -20
- package/dist/chunks/{location-mutation-8bq9and0.js → skill-aaa44gqz.js} +43 -43
- package/dist/chunks/{location-mutation-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{location-mutation-svqx5t8q.js → skill-ahp3rcdq.js} +28 -28
- package/dist/chunks/{location-mutation-r98e92ep.js → skill-an7cqtb7.js} +4 -4
- package/dist/chunks/{location-mutation-q0cff0df.js → skill-aqk6aqtx.js} +7 -7
- package/dist/chunks/{location-mutation-756ebc25.js → skill-ar4krswx.js} +17 -17
- package/dist/chunks/{location-mutation-7rreentk.js → skill-asbst37a.js} +30 -30
- package/dist/chunks/{location-mutation-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mutation-qzngwt2w.js → skill-bfc4vy4d.js} +15 -15
- package/dist/chunks/{location-mutation-zx7qqg4g.js → skill-bhyfhjgb.js} +25 -25
- package/dist/chunks/{location-mutation-p3axd9rw.js → skill-bqnadhhv.js} +14 -14
- package/dist/chunks/{location-mutation-xp4jy0cy.js → skill-br51dzet.js} +23 -23
- package/dist/chunks/{location-mutation-prktd40w.js → skill-bshpke5g.js} +16 -16
- package/dist/chunks/{location-mutation-gkdvs18m.js → skill-c5743v3q.js} +4 -4
- package/dist/chunks/{location-mutation-m0jqrx5p.js → skill-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-mutation-6z9fsyfc.js → skill-ckezr5c7.js} +20 -20
- package/dist/chunks/{location-mutation-azkjskpr.js → skill-cm0mcd2y.js} +25 -25
- package/dist/chunks/{location-mutation-gnx4ytbv.js → skill-cq37gk0t.js} +4 -4
- package/dist/chunks/{location-mutation-havqpvtm.js → skill-cqsw9wfb.js} +155 -150
- package/dist/chunks/{location-mutation-y8kyqmaw.js → skill-cr2jjdjc.js} +3 -3
- package/dist/chunks/{location-mutation-tgqjfyja.js → skill-cw8m5w0x.js} +3 -3
- package/dist/chunks/{location-mutation-23p1tfef.js → skill-cy946kxe.js} +30 -30
- package/dist/chunks/{location-mutation-b189wbnb.js → skill-db79f6jy.js} +21 -21
- package/dist/chunks/{location-mutation-5ftfpzwn.js → skill-dk7ppdwd.js} +9 -9
- package/dist/chunks/{location-mutation-h15s1ggr.js → skill-dmpqr52q.js} +22 -22
- package/dist/chunks/{location-mutation-wk5z6jzv.js → skill-dtsq3qdh.js} +9 -9
- package/dist/chunks/{location-mutation-e5nv3ght.js → skill-e5nv3ght.js} +2 -2
- package/dist/chunks/{location-mutation-w1vmy2yk.js → skill-e8jk0evy.js} +34 -34
- package/dist/chunks/{location-mutation-1dxc6w5e.js → skill-e9w3b6g9.js} +2 -2
- package/dist/chunks/{location-mutation-cen4xjmh.js → skill-ej62hn28.js} +7 -7
- package/dist/chunks/{location-mutation-dw1fjyb0.js → skill-enks4xxx.js} +5 -5
- package/dist/chunks/{location-mutation-5qn0g44r.js → skill-er3fk19c.js} +11 -11
- package/dist/chunks/{location-mutation-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-mutation-5rbfmx4w.js → skill-evt2jh61.js} +27 -27
- package/dist/chunks/{location-mutation-ag6km62t.js → skill-f00vsxd1.js} +22 -22
- package/dist/chunks/{location-mutation-x353b1jt.js → skill-f6b2zhhx.js} +4 -4
- package/dist/chunks/{location-mutation-hdnk95c8.js → skill-f828m53h.js} +2 -2
- package/dist/chunks/{location-mutation-sj2m2bnv.js → skill-f879qf3m.js} +30 -30
- package/dist/chunks/{location-mutation-avm8jn6n.js → skill-f90chkmn.js} +5 -5
- package/dist/chunks/{location-mutation-2k8khapm.js → skill-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-mutation-32860tzt.js → skill-ff09sh13.js} +14 -14
- package/dist/chunks/{location-mutation-q99ra9zv.js → skill-fgg7zh81.js} +1 -1
- package/dist/chunks/{location-mutation-jeanpfns.js → skill-fhnehbw5.js} +1 -1
- package/dist/chunks/{location-mutation-fpmq6gma.js → skill-fpmq6gma.js} +2 -2
- package/dist/chunks/{location-mutation-d97067kg.js → skill-ft86xs6z.js} +22 -22
- package/dist/chunks/{location-mutation-rm0t6fxx.js → skill-fw0cvrc3.js} +11 -11
- package/dist/chunks/{location-mutation-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-mutation-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mutation-002t2knz.js → skill-gdh82427.js} +10 -10
- package/dist/chunks/{location-mutation-p0hpbrjm.js → skill-gkgcazrf.js} +11 -11
- package/dist/chunks/{location-mutation-nd3j4h6h.js → skill-gr15z38v.js} +15 -15
- package/dist/chunks/{location-mutation-45mzvrpj.js → skill-gthtp8p8.js} +13 -13
- package/dist/chunks/{location-mutation-gv6a8nnw.js → skill-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-mutation-m44xxmhq.js → skill-gxkfm4fc.js} +44 -44
- package/dist/chunks/{location-mutation-0fs3kyg5.js → skill-gyr9n4f3.js} +33 -33
- package/dist/chunks/{location-mutation-nca7p386.js → skill-gzbkpp9m.js} +4 -4
- package/dist/chunks/{location-mutation-h03wrkyp.js → skill-h03wrkyp.js} +2 -2
- package/dist/chunks/skill-h1dp9edv.js +26 -0
- package/dist/chunks/{location-mutation-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-mutation-m2d0j7c0.js → skill-h7ygw6q4.js} +9 -9
- package/dist/chunks/{location-mutation-6tsg30fm.js → skill-hm6af37m.js} +2 -2
- package/dist/chunks/{location-mutation-tw5aca0f.js → skill-hqyqh6rn.js} +15 -15
- package/dist/chunks/skill-ht5y0zrb.js +18 -0
- package/dist/chunks/{location-mutation-zadsjct7.js → skill-htfb37gq.js} +20 -20
- package/dist/chunks/{location-mutation-3qwwmjvv.js → skill-hthaaz5q.js} +14 -14
- package/dist/chunks/{location-mutation-cx72pxrk.js → skill-j4f4j9dg.js} +76 -76
- package/dist/chunks/{location-mutation-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{location-mutation-56yb8k9y.js → skill-jkhmv1yj.js} +41 -41
- package/dist/chunks/{location-mutation-y71avatq.js → skill-jwcy2c2z.js} +4 -4
- package/dist/chunks/{location-mutation-hn57h045.js → skill-k76fn4kw.js} +4 -4
- package/dist/chunks/{location-mutation-t0c4ga77.js → skill-kcpx2cv0.js} +11 -11
- package/dist/chunks/{location-mutation-kg06axw8.js → skill-kg06axw8.js} +1 -1
- package/dist/chunks/{location-mutation-zepncfka.js → skill-kk00bynn.js} +4 -4
- package/dist/chunks/{location-mutation-4gdbehx0.js → skill-kma7g2g6.js} +3 -3
- package/dist/chunks/{location-mutation-g6daz9wc.js → skill-kwj6ym9a.js} +20 -20
- package/dist/chunks/{location-mutation-4786se8r.js → skill-kz70mmnm.js} +1 -1
- package/dist/chunks/{location-mutation-3c1tgrea.js → skill-m2manvsf.js} +6 -6
- package/dist/chunks/{location-mutation-y2rk8dp4.js → skill-m6rgwa12.js} +20 -20
- package/dist/chunks/{location-mutation-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mutation-gb4t7546.js → skill-majvaz3t.js} +4 -4
- package/dist/chunks/{location-mutation-a2pn1a9k.js → skill-mbt93z0x.js} +32 -32
- package/dist/chunks/{location-mutation-dz5pbebx.js → skill-mczb9836.js} +31 -31
- package/dist/chunks/{location-mutation-by5prp7a.js → skill-mgqq0b40.js} +13 -13
- package/dist/chunks/{location-mutation-j028xdjb.js → skill-mhkvc446.js} +3 -3
- package/dist/chunks/{location-mutation-8fpjdh7x.js → skill-mkgrvnvv.js} +23 -23
- package/dist/chunks/{location-mutation-3v55e3wy.js → skill-mpy89vrd.js} +11 -11
- package/dist/chunks/skill-ms5tmnxy.js +466 -0
- package/dist/chunks/{location-mutation-a626x82j.js → skill-mtg9yx94.js} +10 -10
- package/dist/chunks/{location-mutation-njsny4x2.js → skill-mzf2r8yt.js} +4 -4
- package/dist/chunks/{location-mutation-mfgwze5t.js → skill-n0p3acfp.js} +31 -31
- package/dist/chunks/{location-mutation-79sek60j.js → skill-ngjd88mv.js} +6 -6
- package/dist/chunks/{location-mutation-hjt4xg1x.js → skill-nhy5jxhy.js} +4 -4
- package/dist/chunks/{location-mutation-ged9323g.js → skill-njz5ccbp.js} +20 -20
- package/dist/chunks/{location-mutation-tx9qvpbt.js → skill-nv5vn7qx.js} +6 -6
- package/dist/chunks/{location-mutation-8bxqq8qq.js → skill-nvwek7ap.js} +14 -14
- package/dist/chunks/{location-mutation-1gdg00yg.js → skill-nxn2kzp1.js} +7 -7
- package/dist/chunks/{location-mutation-7yqjxrmz.js → skill-p0b4ytnr.js} +4 -4
- package/dist/chunks/{location-mutation-vmq7ehpy.js → skill-p1nm93x7.js} +5 -5
- package/dist/chunks/{location-mutation-bh95vxve.js → skill-peg0jxnw.js} +5 -5
- package/dist/chunks/{location-mutation-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-mutation-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{location-mutation-xeeebs9m.js → skill-psseg6gz.js} +18 -18
- package/dist/chunks/{location-mutation-61bd1sp4.js → skill-pz8tvbwy.js} +25 -25
- package/dist/chunks/{location-mutation-ytxwmf2d.js → skill-q23w5e56.js} +47 -47
- package/dist/chunks/{location-mutation-3z3b7hny.js → skill-q2xm8ywb.js} +6 -6
- package/dist/chunks/{location-mutation-wctfcgtb.js → skill-q5xvhvda.js} +6 -6
- package/dist/chunks/{location-mutation-2weqeydf.js → skill-q6jtrfjv.js} +8 -8
- package/dist/chunks/{location-mutation-nw7hjf1f.js → skill-qbg098tt.js} +5 -5
- package/dist/chunks/{location-mutation-155tpmtv.js → skill-qe1nvdxq.js} +12 -12
- package/dist/chunks/{location-mutation-eck8tbm6.js → skill-qga0ccjf.js} +13 -13
- package/dist/chunks/{location-mutation-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mutation-91defnq2.js → skill-qyppqm7x.js} +5 -5
- package/dist/chunks/{location-mutation-drknmmyh.js → skill-r9cxq18p.js} +9 -9
- package/dist/chunks/{location-mutation-r9mregkx.js → skill-r9mregkx.js} +2 -2
- package/dist/chunks/{location-mutation-w6ktwb78.js → skill-rb3w3mf5.js} +3 -3
- package/dist/chunks/{location-mutation-j872qyn8.js → skill-rbww1jty.js} +9 -9
- package/dist/chunks/{location-mutation-3n3mkc0a.js → skill-reqevd7p.js} +13 -13
- package/dist/chunks/{location-mutation-eaj1djv9.js → skill-rhjbct0v.js} +8 -8
- package/dist/chunks/{location-mutation-yp2x3t23.js → skill-rhraev7y.js} +4 -4
- package/dist/chunks/{location-mutation-pjmw00w1.js → skill-rsym84ch.js} +9 -9
- package/dist/chunks/{location-mutation-ptdkvqj8.js → skill-s2a7ms73.js} +17 -17
- package/dist/chunks/{location-mutation-s4enseaf.js → skill-s4enseaf.js} +2 -2
- package/dist/chunks/{location-mutation-zjsss10y.js → skill-s4mq18h8.js} +43 -43
- package/dist/chunks/{location-mutation-zvzsvx7v.js → skill-s4paccff.js} +30 -30
- package/dist/chunks/{location-mutation-sjn6yd28.js → skill-s68jd7zp.js} +21 -21
- package/dist/chunks/{location-mutation-1gbd2vd1.js → skill-s7w3bkgd.js} +19 -19
- package/dist/chunks/{location-mutation-p9zpeys6.js → skill-sge1r8v3.js} +22 -22
- package/dist/chunks/{location-mutation-p43178kr.js → skill-sp8nzrcy.js} +27 -27
- package/dist/chunks/{location-mutation-0vh7wtpp.js → skill-srrwg402.js} +39 -39
- package/dist/chunks/{location-mutation-q2f8db2z.js → skill-ssnweha5.js} +4 -4
- package/dist/chunks/{location-mutation-y30m186f.js → skill-syy1fpb7.js} +10 -10
- package/dist/chunks/{location-mutation-7c7hzhbc.js → skill-t072myer.js} +4 -4
- package/dist/chunks/{location-mutation-81b6h368.js → skill-t1m7vjmh.js} +34 -34
- package/dist/chunks/{location-mutation-0cj6ty0b.js → skill-t31e2ene.js} +18 -18
- package/dist/chunks/{location-mutation-1xwjzdvm.js → skill-t3x2aywx.js} +6 -6
- package/dist/chunks/{location-mutation-nha3eq47.js → skill-t5300mbg.js} +7 -7
- package/dist/chunks/{location-mutation-vpt86awd.js → skill-t7tn9nzb.js} +12 -12
- package/dist/chunks/{location-mutation-j12av41v.js → skill-t85epm91.js} +34 -34
- package/dist/chunks/{location-mutation-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mutation-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-mutation-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{location-mutation-b8q51j9a.js → skill-terbmby9.js} +8 -8
- package/dist/chunks/{location-mutation-gfdhz5ky.js → skill-thw967m6.js} +29 -29
- package/dist/chunks/{location-mutation-2xzhcth1.js → skill-tjb84e6a.js} +3 -3
- package/dist/chunks/{location-mutation-m7y3f53v.js → skill-tsxna0y7.js} +4 -4
- package/dist/chunks/{location-mutation-461gn80r.js → skill-ttxbat7j.js} +7 -7
- package/dist/chunks/{location-mutation-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{location-mutation-axqcdv2d.js → skill-twemh9fr.js} +18 -18
- package/dist/chunks/{location-mutation-jb6dyfep.js → skill-twvspynz.js} +22 -22
- package/dist/chunks/{location-mutation-qk5wb864.js → skill-v881kzw6.js} +28 -28
- package/dist/chunks/{location-mutation-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{location-mutation-pfvv90k2.js → skill-vj2aakfx.js} +13 -13
- package/dist/chunks/{location-mutation-gmrap60s.js → skill-vwj2k05g.js} +41 -41
- package/dist/chunks/{location-mutation-fg7rbsd2.js → skill-vyrd71eq.js} +8 -8
- package/dist/chunks/{location-mutation-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-mutation-ka1skk0q.js → skill-w0zssjna.js} +6 -6
- package/dist/chunks/{location-mutation-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mutation-evg5mjek.js → skill-w5mj437j.js} +4 -4
- package/dist/chunks/{location-mutation-kc69rtta.js → skill-wcbkr9bz.js} +14 -14
- package/dist/chunks/{location-mutation-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{location-mutation-6gny55sm.js → skill-wrb0wsfb.js} +43 -43
- package/dist/chunks/{location-mutation-bxv7jnj4.js → skill-wshm9q8m.js} +11 -11
- package/dist/chunks/{location-mutation-3ktmg79z.js → skill-wtjfe85z.js} +9 -9
- package/dist/chunks/{location-mutation-ctkv6efh.js → skill-wvpq0bw3.js} +1 -1
- package/dist/chunks/{location-mutation-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mutation-5xtgfte3.js → skill-x3et2xth.js} +4 -4
- package/dist/chunks/{location-mutation-e17bkqjz.js → skill-xbh0n0bt.js} +1 -1
- package/dist/chunks/{location-mutation-hdsh760p.js → skill-xdqzyjdf.js} +21 -21
- package/dist/chunks/{location-mutation-jmrdwkcs.js → skill-xsbvjmfr.js} +8 -8
- package/dist/chunks/{location-mutation-sv95vjkv.js → skill-xw56ns46.js} +7 -7
- package/dist/chunks/{location-mutation-9910m0jv.js → skill-xzrhk1ha.js} +25 -25
- package/dist/chunks/{location-mutation-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-mutation-31q0a33n.js → skill-ypahpsfj.js} +16 -16
- package/dist/chunks/{location-mutation-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-mutation-mxhkxpa6.js → skill-yrzv9673.js} +8 -8
- package/dist/chunks/{location-mutation-95ex4w9n.js → skill-yvj9xk3b.js} +11 -11
- package/dist/chunks/{location-mutation-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-mutation-5bsh4yae.js → skill-z3s2t8bt.js} +11 -11
- package/dist/chunks/{location-mutation-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-mutation-6z7pdagf.js → skill-zhr8w949.js} +29 -29
- package/dist/chunks/{location-mutation-5797ytnh.js → skill-zk96wdqc.js} +10 -10
- package/dist/chunks/{location-mutation-9d8v8ke2.js → skill-znzt4zz9.js} +10 -10
- package/dist/chunks/{location-mutation-470e2dhw.js → skill-zqedtey4.js} +14 -14
- package/dist/chunks/{location-mutation-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-mutation-2dnw6675.js → skill-zr8dax7v.js} +18 -18
- package/dist/chunks/{location-mutation-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-mutation-vewqeqd1.js → skill-zzx2b7cx.js} +11 -11
- package/dist/chunks/{location-mutation-qqrzp26h.js → skill-zzy75p67.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +364 -364
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +94 -94
- package/dist/git.js +4 -4
- 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 +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +352 -352
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- 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 +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +99 -99
- 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/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +145 -145
- package/dist/session/diff.js +85 -85
- 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 +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- 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 +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +215 -215
- 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 +9 -9
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- 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 +121 -121
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +86 -86
- package/dist/websearch.js +75 -75
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/location-mutation-1j3gmg45.js +0 -26
- package/dist/chunks/location-mutation-9qs3tcsp.js +0 -466
- package/dist/chunks/location-mutation-gj0jgfzh.js +0 -247
- package/dist/chunks/location-mutation-jqh9b0xq.js +0 -18
- package/dist/chunks/location-mutation-qapv375x.js +0 -4
- /package/dist/chunks/{location-mutation-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-mutation-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-mutation-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-mutation-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-mutation-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-mutation-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-mutation-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-mutation-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-mutation-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-mutation-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{location-mutation-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-mutation-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-mutation-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-mutation-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-mutation-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-mutation-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-mutation-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-mutation-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{location-mutation-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-mutation-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{location-mutation-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-mutation-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-mutation-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{location-mutation-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-mutation-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-mutation-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{location-mutation-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-mutation-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-mutation-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-mutation-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-mutation-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-mutation-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-mutation-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-mutation-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-mutation-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-mutation-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-mutation-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-mutation-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-mutation-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-mutation-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-mutation-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-mutation-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{location-mutation-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-mutation-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-mutation-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-mutation-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-mutation-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-mutation-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-mutation-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-mutation-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-mutation-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-mutation-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-mutation-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-mutation-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-mutation-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{location-mutation-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-mutation-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{location-mutation-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-mutation-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{location-mutation-hrnqkpcd.js → skill-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-mutation-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-mutation-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-mutation-j935v87r.js → skill-j935v87r.js} +0 -0
- /package/dist/chunks/{location-mutation-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-mutation-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-mutation-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mutation-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-mutation-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-mutation-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-mutation-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-mutation-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-mutation-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-mutation-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-mutation-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-mutation-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-mutation-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-mutation-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-mutation-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-mutation-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-mutation-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-mutation-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-mutation-twg0f83k.js → skill-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-mutation-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-mutation-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-mutation-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-mutation-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-mutation-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{location-mutation-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-mutation-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-mutation-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-mutation-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-mutation-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-mutation-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-j935v87r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event17,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options9,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service71,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured11,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer25,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node76,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event17 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load3());
|
|
@@ -57,14 +57,14 @@ var Options9 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service71 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer25 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service71.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service71.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service71).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service71, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured11(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service71, layer: layer25(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node76 = configured11();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event17, hasNativeBinding2, Native3, Options9, Service71, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured11, node76, exports_watcher };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-syy1fpb7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID15
|
|
6
|
+
} from "./skill-0axr4kr0.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID15.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-0axr4kr0.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID13
|
|
8
|
+
} from "./skill-znzt4zz9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service77
|
|
11
|
+
} from "./skill-ypahpsfj.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event19
|
|
15
|
+
} from "./skill-1g3v23b5.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID11,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-mczb9836.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service66
|
|
22
|
+
} from "./skill-ahp3rcdq.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get3
|
|
25
|
+
} from "./skill-s2a7ms73.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./skill-syy1fpb7.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID11.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,8 +155,8 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
159
|
-
const bus = yield*
|
|
158
|
+
const catalog = yield* Service66;
|
|
159
|
+
const bus = yield* Service77;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
162
162
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID15.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID15.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID15.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID13.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID13.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID13.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID15.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID15.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID15.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID15.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID15.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID15.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./skill-ypahpsfj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service73,
|
|
8
|
+
node78
|
|
9
|
+
} from "./skill-1g3v23b5.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-8kx13bg7.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
|
+
ID: () => ID11,
|
|
35
|
+
Info: () => Info14,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service67,
|
|
43
|
+
node: () => node72
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
65
|
+
var ID11 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info14 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,14 +87,14 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service67 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service73;
|
|
97
|
+
const bus = yield* Service77;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info14.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service67.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key4.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node72 = makeLocationNode({
|
|
569
|
+
service: Service67,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node78, node82, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID11, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info14, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service67, node72, exports_integration, Event15 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./skill-wshm9q8m.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service79,
|
|
17
|
+
node: () => node84
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service79 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service80).db;
|
|
26
|
+
return Service79.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node84 = makeGlobalNode({ service: Service79, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service79, node84, exports_kv };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make9(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make9 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Service74,
|
|
7
7
|
node79
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-qbg098tt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service14,
|
|
11
|
+
node17
|
|
12
|
+
} from "./skill-cm0mcd2y.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,18 +21,18 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event2,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
|
-
NotFoundError: () =>
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
ReadInput: () => ReadInput2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service13,
|
|
34
34
|
Submatch: () => Submatch2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node16
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import path from "path";
|
|
@@ -44,7 +44,7 @@ var ReadInput2 = Schema.Struct({
|
|
|
44
44
|
path: RelativePath2
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
48
48
|
path: RelativePath2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
78
78
|
limit: Schema.optionalKey(PositiveInt2)
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
|
-
var
|
|
81
|
+
var Event2 = FileSystem.Event;
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class Service13 extends Context.Service()("@opencode/FileSystem") {
|
|
84
84
|
}
|
|
85
|
-
var baseLayer = Layer.effect(
|
|
85
|
+
var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
86
86
|
const fs = yield* FSUtil.Service;
|
|
87
87
|
const location = yield* Service74;
|
|
88
|
-
const search = yield*
|
|
88
|
+
const search = yield* Service14;
|
|
89
89
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
90
90
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
91
91
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -96,15 +96,15 @@ var baseLayer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
96
96
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
97
97
|
return { absolute, real, directory: location.directory };
|
|
98
98
|
});
|
|
99
|
-
return
|
|
99
|
+
return Service13.of({
|
|
100
100
|
find: search.find,
|
|
101
101
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
102
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
103
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
102
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
103
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
104
104
|
if (info.type !== "File")
|
|
105
105
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
106
106
|
return {
|
|
107
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
107
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
108
108
|
mime: FSUtil.mimeType(target.real)
|
|
109
109
|
};
|
|
110
110
|
}),
|
|
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
131
|
+
var node16 = makeLocationNode({
|
|
132
|
+
service: Service13,
|
|
133
133
|
layer: baseLayer,
|
|
134
|
-
deps: [FSUtil.node, node79,
|
|
134
|
+
deps: [FSUtil.node, node79, node17]
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
export { FindInput2, ReadInput2,
|
|
137
|
+
export { FindInput2, ReadInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|