@opencode/core 0.0.0-dev-21201 → 0.0.0-dev-21207
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{generate-p5grttz1.js → persistent-pty-07hm112z.js} +36 -36
- package/dist/chunks/{generate-97h9dstt.js → persistent-pty-0a4xt203.js} +16 -16
- package/dist/chunks/{generate-hkffa77z.js → persistent-pty-0b5g1ynf.js} +4 -4
- package/dist/chunks/{generate-n821n20x.js → persistent-pty-0bamrq62.js} +22 -22
- package/dist/chunks/{generate-r7z06xw0.js → persistent-pty-0e4dr41z.js} +37 -37
- package/dist/chunks/{generate-gnpa5mn8.js → persistent-pty-0ehmmcyw.js} +17 -17
- package/dist/chunks/{generate-5x16q44j.js → persistent-pty-0hvxqb6d.js} +30 -30
- package/dist/chunks/{generate-vwq3bzaf.js → persistent-pty-0jmz7zhd.js} +10 -10
- package/dist/chunks/{generate-szhvfkp6.js → persistent-pty-0kq1vnt2.js} +19 -19
- package/dist/chunks/{generate-jsj7rmb6.js → persistent-pty-0m15zpmn.js} +18 -18
- package/dist/chunks/{generate-mrefkyyq.js → persistent-pty-0qfx4vg1.js} +5 -5
- package/dist/chunks/{generate-eqe06c60.js → persistent-pty-0tz9w1hv.js} +40 -40
- package/dist/chunks/{generate-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{generate-r2wdjp82.js → persistent-pty-0vs1brv3.js} +8 -8
- package/dist/chunks/{generate-40jpxat6.js → persistent-pty-18g55aa2.js} +6 -6
- package/dist/chunks/{generate-rh3hvas6.js → persistent-pty-19m9vfay.js} +16 -16
- package/dist/chunks/{generate-p37cw4rj.js → persistent-pty-1ajx6rf5.js} +8 -8
- package/dist/chunks/{generate-g2x9m4s9.js → persistent-pty-1gzh7x8v.js} +15 -15
- package/dist/chunks/{generate-j77jx3jb.js → persistent-pty-1jge3f37.js} +34 -34
- package/dist/chunks/{generate-r4q0brfc.js → persistent-pty-1mgnj47k.js} +3 -3
- package/dist/chunks/{generate-ftpjb7c3.js → persistent-pty-1msrarhd.js} +28 -28
- package/dist/chunks/{generate-pfq1ksym.js → persistent-pty-1nwxscpy.js} +5 -5
- package/dist/chunks/{generate-46wps90y.js → persistent-pty-1pav5ndx.js} +20 -20
- package/dist/chunks/{generate-apyxdd5c.js → persistent-pty-1qpcq0yb.js} +19 -19
- package/dist/chunks/{generate-khmqacep.js → persistent-pty-1w2wqhfv.js} +4 -4
- package/dist/chunks/{generate-ggnwgtvx.js → persistent-pty-23hfca39.js} +4 -4
- package/dist/chunks/{generate-m4ay8zc3.js → persistent-pty-26pvtrrv.js} +30 -30
- package/dist/chunks/{generate-mm2041e2.js → persistent-pty-287dc9gj.js} +11 -11
- package/dist/chunks/{generate-a0y26jw4.js → persistent-pty-296pqcyw.js} +4 -4
- package/dist/chunks/{generate-h9ybj0dp.js → persistent-pty-29jpnasx.js} +12 -12
- package/dist/chunks/{generate-bh7zjcn6.js → persistent-pty-2b974e2a.js} +20 -20
- package/dist/chunks/{generate-r2m716tb.js → persistent-pty-2mq1h16s.js} +9 -9
- package/dist/chunks/{generate-fvay2ke4.js → persistent-pty-2pvdeqne.js} +86 -86
- package/dist/chunks/{generate-nr1ht2p9.js → persistent-pty-2sf5w7c0.js} +8 -8
- package/dist/chunks/{generate-d3ebfx6x.js → persistent-pty-2xt21v74.js} +9 -9
- package/dist/chunks/{generate-6ctkc7g2.js → persistent-pty-3126pgvt.js} +29 -29
- package/dist/chunks/{generate-vthepxc9.js → persistent-pty-368fk4db.js} +2 -2
- package/dist/chunks/{generate-42n7x6v3.js → persistent-pty-36rq9ymx.js} +6 -6
- package/dist/chunks/{generate-mxxvm3hc.js → persistent-pty-374251z8.js} +16 -16
- package/dist/chunks/{generate-dzw83ac5.js → persistent-pty-38phfjcn.js} +9 -9
- package/dist/chunks/{generate-8rg28a98.js → persistent-pty-39vged4c.js} +12 -12
- package/dist/chunks/{generate-rjq8wmvv.js → persistent-pty-39z47dss.js} +13 -13
- package/dist/chunks/{generate-pnaxc6j9.js → persistent-pty-3a83a0n4.js} +8 -8
- package/dist/chunks/{generate-arz7hw7x.js → persistent-pty-3dedrcqz.js} +3 -3
- package/dist/chunks/{generate-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-8yde7yhj.js → persistent-pty-3fkmq7pq.js} +9 -9
- package/dist/chunks/{generate-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3hwn7j4h.js → persistent-pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{generate-7vdx0bbg.js → persistent-pty-3j7kj2y8.js} +15 -15
- package/dist/chunks/{generate-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-zyz4g0ys.js → persistent-pty-3sv35849.js} +27 -27
- package/dist/chunks/{generate-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-q5pynxgh.js → persistent-pty-41mnrj5z.js} +12 -12
- package/dist/chunks/{generate-ejfcq634.js → persistent-pty-45yxkxq5.js} +4 -4
- package/dist/chunks/{generate-rk7eg0n7.js → persistent-pty-4d3befan.js} +8 -8
- package/dist/chunks/{generate-jc4wv75z.js → persistent-pty-4p1cenkk.js} +45 -45
- package/dist/chunks/{generate-jh682bf3.js → persistent-pty-4rmh7taa.js} +8 -8
- package/dist/chunks/{generate-x519dv4j.js → persistent-pty-4rv9xmb7.js} +11 -11
- package/dist/chunks/{generate-bxfd39by.js → persistent-pty-53wmdg2z.js} +26 -26
- package/dist/chunks/{generate-s13f39cf.js → persistent-pty-546wh2b3.js} +13 -13
- package/dist/chunks/{generate-g8vstf03.js → persistent-pty-54f956qq.js} +13 -13
- package/dist/chunks/{generate-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
- package/dist/chunks/{generate-j8qhqvx8.js → persistent-pty-57ws9skg.js} +22 -22
- package/dist/chunks/{generate-24nextkm.js → persistent-pty-5cdwp8x1.js} +11 -11
- package/dist/chunks/{generate-g6yfr6ja.js → persistent-pty-5fykfdj7.js} +5 -5
- package/dist/chunks/{generate-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-76m4msn9.js → persistent-pty-5x0spf49.js} +49 -49
- package/dist/chunks/{generate-7dqw4kz8.js → persistent-pty-607tc6va.js} +5 -5
- package/dist/chunks/{generate-6827pfxn.js → persistent-pty-6827pfxn.js} +1 -1
- package/dist/chunks/{generate-wgxkjpdd.js → persistent-pty-68g6xwqn.js} +18 -18
- package/dist/chunks/{generate-sz5rmx8q.js → persistent-pty-68spmrpe.js} +3 -3
- package/dist/chunks/{generate-fdbnp50v.js → persistent-pty-6hcchj7j.js} +70 -70
- package/dist/chunks/{generate-ncyym10m.js → persistent-pty-6m2evtbw.js} +17 -17
- package/dist/chunks/{generate-xherg1x9.js → persistent-pty-6qx5ffhj.js} +3 -3
- package/dist/chunks/{generate-qgahkyyr.js → persistent-pty-6v03kn10.js} +30 -30
- package/dist/chunks/{generate-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{generate-3g8j9he4.js → persistent-pty-6xcvt31d.js} +1 -1
- package/dist/chunks/{generate-080tfazd.js → persistent-pty-76nj6dhf.js} +7 -7
- package/dist/chunks/{generate-775gj3j1.js → persistent-pty-775gj3j1.js} +2 -2
- package/dist/chunks/{generate-5e6kt3vp.js → persistent-pty-7b0e7y4m.js} +6 -6
- package/dist/chunks/{generate-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-0ns3955d.js → persistent-pty-7eqp7xtn.js} +176 -176
- package/dist/chunks/{generate-py3kkmfq.js → persistent-pty-7fkffz83.js} +4 -4
- package/dist/chunks/{generate-149ww98r.js → persistent-pty-7g7x9kjy.js} +6 -6
- package/dist/chunks/{generate-a01105mq.js → persistent-pty-7gvejd0q.js} +26 -26
- package/dist/chunks/{generate-k45cm24m.js → persistent-pty-7j2qrq70.js} +31 -31
- package/dist/chunks/{generate-jgqmcces.js → persistent-pty-7k8y39tb.js} +45 -45
- package/dist/chunks/persistent-pty-7n7aetrn.js +513 -0
- package/dist/chunks/{generate-y945vb8n.js → persistent-pty-7s8vtvkc.js} +8 -8
- package/dist/chunks/{generate-4y39m51q.js → persistent-pty-7y5ptgp2.js} +11 -11
- package/dist/chunks/{generate-84txncab.js → persistent-pty-84txncab.js} +1 -1
- package/dist/chunks/{generate-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
- package/dist/chunks/{generate-hmqggt0z.js → persistent-pty-8m4ndff2.js} +26 -26
- package/dist/chunks/{generate-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{generate-fg7nvtjy.js → persistent-pty-8mxaw1fa.js} +43 -43
- package/dist/chunks/{generate-gnnw4atk.js → persistent-pty-8nqwyyrr.js} +20 -20
- package/dist/chunks/{generate-karx3kgp.js → persistent-pty-8qw7ce1p.js} +21 -21
- package/dist/chunks/{generate-91qna3x0.js → persistent-pty-91qna3x0.js} +3 -3
- package/dist/chunks/{generate-waskdk5r.js → persistent-pty-97aeaand.js} +4 -4
- package/dist/chunks/{generate-ryarz677.js → persistent-pty-98kr54cv.js} +28 -28
- package/dist/chunks/{generate-h896pcm5.js → persistent-pty-9ae44cfy.js} +6 -6
- package/dist/chunks/{generate-6z0h4rce.js → persistent-pty-9n49pgr6.js} +22 -22
- package/dist/chunks/{generate-f2hqdn62.js → persistent-pty-9nmz2bca.js} +9 -9
- package/dist/chunks/{generate-6a82qsz1.js → persistent-pty-9nv551d5.js} +11 -11
- package/dist/chunks/{generate-fx2js9bg.js → persistent-pty-9qjz7egn.js} +24 -24
- package/dist/chunks/persistent-pty-9zy3g968.js +26 -0
- package/dist/chunks/{generate-q4axk96g.js → persistent-pty-a0z8gye3.js} +13 -13
- package/dist/chunks/{generate-bnkdg7qv.js → persistent-pty-a4xxkpja.js} +13 -13
- package/dist/chunks/{generate-b12fh71z.js → persistent-pty-aacha31a.js} +5 -5
- package/dist/chunks/{generate-shy8zm2a.js → persistent-pty-ak0n8wqr.js} +3 -3
- package/dist/chunks/{generate-n80tey8m.js → persistent-pty-argqn24j.js} +20 -20
- package/dist/chunks/{generate-b2jzzyp8.js → persistent-pty-avyh4w4k.js} +18 -18
- package/dist/chunks/{generate-qfj50933.js → persistent-pty-ay5c0bv3.js} +25 -25
- package/dist/chunks/{generate-37hhh2vs.js → persistent-pty-b2df57q2.js} +1 -1
- package/dist/chunks/{generate-9dgp8fag.js → persistent-pty-b3kbpvds.js} +50 -50
- package/dist/chunks/{generate-m0ptpkd8.js → persistent-pty-bcxm7vqe.js} +11 -11
- package/dist/chunks/{generate-v29xn8f1.js → persistent-pty-bfc3jzxx.js} +14 -14
- package/dist/chunks/{generate-w67mkghx.js → persistent-pty-bgfh09k4.js} +19 -19
- package/dist/chunks/{generate-efzvzatf.js → persistent-pty-bq3rfpty.js} +21 -21
- package/dist/chunks/{generate-gj71zhbs.js → persistent-pty-bx0gyb4h.js} +5 -5
- package/dist/chunks/{generate-bzeyqsqd.js → persistent-pty-bzeyqsqd.js} +1 -1
- package/dist/chunks/{generate-pzm75kh2.js → persistent-pty-c0nr5bpp.js} +20 -20
- package/dist/chunks/{generate-c1fqxshp.js → persistent-pty-c1fqxshp.js} +3 -3
- package/dist/chunks/{generate-3kass1x4.js → persistent-pty-c75t29hq.js} +11 -11
- package/dist/chunks/{generate-embw8kgh.js → persistent-pty-ca7w653e.js} +4 -4
- package/dist/chunks/{generate-kr6b5ws7.js → persistent-pty-catab2z7.js} +3 -3
- package/dist/chunks/{generate-m91gvp7t.js → persistent-pty-cdqe3acw.js} +6 -6
- package/dist/chunks/{generate-grwryfk3.js → persistent-pty-cne5fydz.js} +15 -15
- package/dist/chunks/{generate-cp937pt4.js → persistent-pty-cp937pt4.js} +1 -1
- package/dist/chunks/{generate-g4tehmc6.js → persistent-pty-cw4vxgxd.js} +26 -26
- package/dist/chunks/{generate-d1a28jh7.js → persistent-pty-d1a28jh7.js} +2 -2
- package/dist/chunks/{generate-v5dkyp31.js → persistent-pty-d216944b.js} +7 -7
- package/dist/chunks/{generate-m8xhzamz.js → persistent-pty-dcsvv0a8.js} +5 -5
- package/dist/chunks/{generate-c70r8365.js → persistent-pty-dcvyzbc9.js} +23 -23
- package/dist/chunks/{generate-9dk9f4te.js → persistent-pty-df3a40xp.js} +16 -16
- package/dist/chunks/{generate-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{generate-fn9t717r.js → persistent-pty-dq407baf.js} +6 -6
- package/dist/chunks/{generate-pjbmnn5d.js → persistent-pty-dy0tp0j6.js} +10 -10
- package/dist/chunks/{generate-ncyx88y1.js → persistent-pty-e0pc35xj.js} +32 -32
- package/dist/chunks/{generate-rjyhgtyc.js → persistent-pty-e87gf2rh.js} +7 -7
- package/dist/chunks/{generate-eej6y6fw.js → persistent-pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-1acjjqhc.js → persistent-pty-f2n192rq.js} +4 -4
- package/dist/chunks/{generate-dar3hyn7.js → persistent-pty-fawagqxt.js} +23 -23
- package/dist/chunks/{generate-fcy631f0.js → persistent-pty-fcy631f0.js} +1 -1
- package/dist/chunks/{generate-c13ag1bn.js → persistent-pty-fgg1h6tp.js} +15 -15
- package/dist/chunks/{generate-89bb6baa.js → persistent-pty-fqhbsnr5.js} +8 -8
- package/dist/chunks/{generate-6sgzzrav.js → persistent-pty-fqyjd71p.js} +25 -25
- package/dist/chunks/{generate-vbg8rtpq.js → persistent-pty-fv4sm444.js} +33 -33
- package/dist/chunks/{generate-b0z2891m.js → persistent-pty-fwbmh39w.js} +4 -4
- package/dist/chunks/{generate-cb2h0j1t.js → persistent-pty-g1kxasap.js} +17 -17
- package/dist/chunks/{generate-a4nh07be.js → persistent-pty-g7fa7svs.js} +23 -23
- package/dist/chunks/{generate-6tc37tey.js → persistent-pty-gakes9sg.js} +9 -9
- package/dist/chunks/{generate-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-aj3rbcf1.js → persistent-pty-gm31ynds.js} +5 -5
- package/dist/chunks/{generate-cqmzp0mx.js → persistent-pty-gs0drmb7.js} +5 -5
- package/dist/chunks/{generate-qb4f6xmp.js → persistent-pty-gshnfpyh.js} +22 -22
- package/dist/chunks/{generate-6tcy41jb.js → persistent-pty-gzqd72by.js} +15 -15
- package/dist/chunks/{generate-d362veps.js → persistent-pty-h26kdy9n.js} +24 -24
- package/dist/chunks/{generate-nwvmg0fn.js → persistent-pty-h2955e8q.js} +17 -17
- package/dist/chunks/{generate-66wr1y9a.js → persistent-pty-h5h55k1t.js} +4 -4
- package/dist/chunks/{generate-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-80scg3y3.js → persistent-pty-h90v2x9d.js} +4 -4
- package/dist/chunks/{generate-ngmxgv0g.js → persistent-pty-hdfxv9rf.js} +13 -13
- package/dist/chunks/{generate-fjrfzm7z.js → persistent-pty-he0cfhpc.js} +42 -42
- package/dist/chunks/{generate-hgz4x7wa.js → persistent-pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{generate-rw61g3we.js → persistent-pty-hk8s4rpe.js} +18 -18
- package/dist/chunks/{generate-2hv7g8ph.js → persistent-pty-hkajtpqc.js} +2 -2
- package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
- package/dist/chunks/{generate-nxmm6209.js → persistent-pty-hv3fvgxa.js} +4 -4
- package/dist/chunks/{generate-bwgeqdk4.js → persistent-pty-hyry98jx.js} +17 -17
- package/dist/chunks/{generate-m8gczy5t.js → persistent-pty-j4yfb354.js} +11 -11
- package/dist/chunks/{generate-zby0cawh.js → persistent-pty-jj579w2g.js} +24 -24
- package/dist/chunks/{generate-rmn06tv3.js → persistent-pty-k3bwfq85.js} +4 -4
- package/dist/chunks/{generate-3btk6sd6.js → persistent-pty-k8xwrkek.js} +45 -45
- package/dist/chunks/{generate-dtjxe34e.js → persistent-pty-kee9eehy.js} +8 -8
- package/dist/chunks/{generate-mx4p7qc7.js → persistent-pty-khzq4x05.js} +27 -27
- package/dist/chunks/{generate-y7nndgyc.js → persistent-pty-kjd40bgk.js} +9 -9
- package/dist/chunks/persistent-pty-kt23qymt.js +257 -0
- package/dist/chunks/{generate-kwb1v3vj.js → persistent-pty-kwb1v3vj.js} +1 -1
- package/dist/chunks/{generate-3qvj434t.js → persistent-pty-m05fbbj0.js} +84 -84
- package/dist/chunks/{generate-hwbt70tw.js → persistent-pty-m1skjvb8.js} +1 -1
- package/dist/chunks/{generate-w6hqqfrn.js → persistent-pty-m87p00k5.js} +8 -8
- package/dist/chunks/{generate-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
- package/dist/chunks/{generate-f4fzpthd.js → persistent-pty-mbjmp2z7.js} +43 -43
- package/dist/chunks/{generate-a09b619x.js → persistent-pty-md3yr6xj.js} +7 -7
- package/dist/chunks/{generate-6sagrjcx.js → persistent-pty-mswjsdq2.js} +18 -18
- package/dist/chunks/{generate-ehygg6sf.js → persistent-pty-mswsvpz6.js} +1 -1
- package/dist/chunks/{generate-addxnjmp.js → persistent-pty-mxvxcxwy.js} +4 -4
- package/dist/chunks/{generate-dys7k0s0.js → persistent-pty-n61013np.js} +8 -8
- package/dist/chunks/{generate-dsb0ttzc.js → persistent-pty-nmhvfjt2.js} +17 -17
- package/dist/chunks/{generate-yad4tbft.js → persistent-pty-nq3qw2vm.js} +4 -4
- package/dist/chunks/{generate-jvncv862.js → persistent-pty-nt017e08.js} +11 -11
- package/dist/chunks/{generate-5bnha4a9.js → persistent-pty-nt2cm5g7.js} +2 -2
- package/dist/chunks/{generate-n1n192bv.js → persistent-pty-nxe4pcap.js} +4 -4
- package/dist/chunks/{generate-f98v112d.js → persistent-pty-p1dnjvcc.js} +5 -5
- package/dist/chunks/{generate-3g642jy4.js → persistent-pty-pb1esjts.js} +10 -10
- package/dist/chunks/{generate-4pggza71.js → persistent-pty-pes8a9te.js} +36 -36
- package/dist/chunks/{generate-xcd63yev.js → persistent-pty-pjnrv22w.js} +11 -11
- package/dist/chunks/{generate-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-exwt628r.js → persistent-pty-pkm7e8th.js} +6 -6
- package/dist/chunks/{generate-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{generate-xm6xth1b.js → persistent-pty-pwxqqvpq.js} +24 -24
- package/dist/chunks/{generate-rwxf188v.js → persistent-pty-pxmy34vh.js} +13 -13
- package/dist/chunks/{generate-mrvexgqt.js → persistent-pty-q4d4j6bt.js} +17 -17
- package/dist/chunks/{generate-03gknxvn.js → persistent-pty-q5rwhrtr.js} +32 -32
- package/dist/chunks/{generate-0xw4533y.js → persistent-pty-qgccrhvw.js} +8 -8
- package/dist/chunks/{generate-c591c83b.js → persistent-pty-qgzg94dt.js} +17 -17
- package/dist/chunks/{generate-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{generate-xfkkasph.js → persistent-pty-qqeeq2t9.js} +7 -7
- package/dist/chunks/{generate-yjhj4zwb.js → persistent-pty-qs13swd0.js} +48 -48
- package/dist/chunks/{generate-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-rert0e01.js → persistent-pty-rert0e01.js} +2 -2
- package/dist/chunks/{generate-rj3eygr5.js → persistent-pty-rj3eygr5.js} +2 -2
- package/dist/chunks/{generate-7k98dxqk.js → persistent-pty-rtvdsvz0.js} +10 -10
- package/dist/chunks/{generate-9sv3ea6j.js → persistent-pty-rx905nvw.js} +11 -11
- package/dist/chunks/{generate-24rc0c34.js → persistent-pty-ryt5ycva.js} +20 -20
- package/dist/chunks/{generate-vy8jrsdb.js → persistent-pty-s1rzx2rx.js} +16 -16
- package/dist/chunks/{generate-kq63he01.js → persistent-pty-s4e55a1y.js} +5 -5
- package/dist/chunks/{generate-sa8ekw3f.js → persistent-pty-sa8ekw3f.js} +2 -2
- package/dist/chunks/{generate-0w8yd4gf.js → persistent-pty-se3cmajw.js} +18 -18
- package/dist/chunks/{generate-14tjad02.js → persistent-pty-sj31pcmn.js} +33 -33
- package/dist/chunks/{generate-e80seqcp.js → persistent-pty-sxcaecc0.js} +3 -3
- package/dist/chunks/{generate-475gm7w9.js → persistent-pty-sxgg5vg7.js} +17 -17
- package/dist/chunks/{generate-syv4x271.js → persistent-pty-syv4x271.js} +1 -1
- package/dist/chunks/{generate-x9j3ktrk.js → persistent-pty-t0pyhqcw.js} +11 -11
- package/dist/chunks/{generate-0ca0gn91.js → persistent-pty-t0tz8gfx.js} +12 -12
- package/dist/chunks/{generate-s8d7rejh.js → persistent-pty-t550f9t1.js} +4 -4
- package/dist/chunks/{generate-xwb84dzk.js → persistent-pty-t6dt94yt.js} +11 -11
- package/dist/chunks/{generate-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-ffjraqq7.js → persistent-pty-tcxp8tq6.js} +3 -3
- package/dist/chunks/{generate-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{generate-kggd2yhz.js → persistent-pty-tea6mbfw.js} +10 -10
- package/dist/chunks/{generate-tm0kqsz3.js → persistent-pty-tm0kqsz3.js} +1 -1
- package/dist/chunks/{generate-w271hm3d.js → persistent-pty-tpbvzr1y.js} +15 -15
- package/dist/chunks/{generate-manwb5tf.js → persistent-pty-ts10gvyd.js} +14 -14
- package/dist/chunks/{generate-tyytaxap.js → persistent-pty-tyytaxap.js} +1 -1
- package/dist/chunks/{generate-v210v162.js → persistent-pty-v210v162.js} +2 -2
- package/dist/chunks/{generate-vdq2jh6f.js → persistent-pty-v293qw80.js} +22 -22
- package/dist/chunks/{generate-hh9fc0w8.js → persistent-pty-v2rhndg3.js} +32 -32
- package/dist/chunks/{generate-v7p4zvkq.js → persistent-pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{generate-nd1pd7yg.js → persistent-pty-v9ncrnjw.js} +9 -9
- package/dist/chunks/{generate-bs9bmazf.js → persistent-pty-v9t8k6fh.js} +14 -14
- package/dist/chunks/{generate-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-v08njbym.js → persistent-pty-vhekmsjv.js} +5 -5
- package/dist/chunks/{generate-3mkrtgmz.js → persistent-pty-vk73as10.js} +20 -20
- package/dist/chunks/{generate-a0eqybx1.js → persistent-pty-vnvv926v.js} +11 -11
- package/dist/chunks/{generate-rvesa5k7.js → persistent-pty-vtbat0ks.js} +21 -21
- package/dist/chunks/{generate-apv97swk.js → persistent-pty-vvgahrge.js} +28 -28
- package/dist/chunks/{generate-qxm16qy9.js → persistent-pty-vxb9f0te.js} +7 -7
- package/dist/chunks/{generate-y8xq7ga8.js → persistent-pty-vxttbewe.js} +7 -7
- package/dist/chunks/{generate-0805dz2c.js → persistent-pty-vzm2s9ff.js} +8 -8
- package/dist/chunks/{generate-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-b5n8znr2.js → persistent-pty-w9qdmkss.js} +26 -26
- package/dist/chunks/{generate-4f5f1e58.js → persistent-pty-wak88xg7.js} +16 -16
- package/dist/chunks/{generate-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{generate-44e6fh5f.js → persistent-pty-wjr337jx.js} +44 -44
- package/dist/chunks/{generate-wjr9rjd7.js → persistent-pty-wjr9rjd7.js} +2 -2
- package/dist/chunks/{generate-zdse71m2.js → persistent-pty-ww7z4zes.js} +23 -23
- package/dist/chunks/{generate-t9ymh72b.js → persistent-pty-x5hm6bvw.js} +7 -7
- package/dist/chunks/{generate-rkm2zns9.js → persistent-pty-xacqwv33.js} +8 -8
- package/dist/chunks/{generate-z4ztj7g0.js → persistent-pty-xf8yqmad.js} +9 -9
- package/dist/chunks/{generate-90kmffnn.js → persistent-pty-xpyhv29g.js} +27 -27
- package/dist/chunks/{generate-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-7v9zxh8s.js → persistent-pty-ybt6a39d.js} +6 -6
- package/dist/chunks/{generate-ba8y31bh.js → persistent-pty-yfcvgves.js} +21 -21
- package/dist/chunks/{generate-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-rt1d4x09.js → persistent-pty-z5tkq5nc.js} +25 -25
- package/dist/chunks/{generate-j78e14ba.js → persistent-pty-zd0masta.js} +50 -50
- package/dist/chunks/{generate-f10p82d7.js → persistent-pty-zdhjww4c.js} +9 -9
- package/dist/chunks/{generate-f893ew9g.js → persistent-pty-znznz47e.js} +11 -11
- package/dist/chunks/{generate-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zpr8mzes.js → persistent-pty-zswavtpb.js} +5 -5
- package/dist/chunks/{generate-8s2szf4d.js → persistent-pty-zvkna10r.js} +25 -25
- package/dist/chunks/{generate-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +115 -115
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/generate-5rafqc7n.js +0 -26
- package/dist/chunks/generate-by5v678g.js +0 -18
- package/dist/chunks/generate-eynva37m.js +0 -257
- package/dist/chunks/generate-m067xvhw.js +0 -513
- /package/dist/chunks/{generate-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{generate-pyv0edze.js → persistent-pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make15 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make15, exports_run_coordinator };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./persistent-pty-9n49pgr6.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service82
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-hkajtpqc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service43
|
|
12
|
+
} from "./persistent-pty-7k8y39tb.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./persistent-pty-8m4ndff2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service6
|
|
20
|
+
} from "./persistent-pty-kjd40bgk.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-7b0e7y4m.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
26
|
scan2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-bzeyqsqd.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
33
|
var exports_skill = {};
|
|
34
34
|
__export(exports_skill, {
|
|
35
35
|
ConfigSkillPlugin: () => exports_skill,
|
|
36
|
-
Plugin: () =>
|
|
36
|
+
Plugin: () => Plugin8
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin8 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service43;
|
|
47
|
+
const discovery = yield* Service6;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
50
|
const location = yield* Service82;
|
|
51
|
-
const watcher = yield*
|
|
51
|
+
const watcher = yield* Service44;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -91,7 +91,7 @@ var Plugin19 = define({
|
|
|
91
91
|
const sources = () => {
|
|
92
92
|
const result = [];
|
|
93
93
|
const add = (source) => {
|
|
94
|
-
if (result.some((item) =>
|
|
94
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
95
95
|
return;
|
|
96
96
|
result.push(source);
|
|
97
97
|
};
|
|
@@ -116,7 +116,7 @@ var Plugin19 = define({
|
|
|
116
116
|
};
|
|
117
117
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
118
118
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
119
|
-
source:
|
|
119
|
+
source: Source4.key(source),
|
|
120
120
|
cause
|
|
121
121
|
}).pipe(Effect.as([]))));
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -144,7 +144,7 @@ var Plugin19 = define({
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
yield* Effect.logDebug("skill source loaded", {
|
|
147
|
-
source:
|
|
147
|
+
source: Source4.key(source),
|
|
148
148
|
type: source.type,
|
|
149
149
|
directories,
|
|
150
150
|
skills: skills.map((skill) => skill.id)
|
|
@@ -163,7 +163,7 @@ var Plugin19 = define({
|
|
|
163
163
|
if (file) {
|
|
164
164
|
yield* Effect.logInfo("skills rescanned", {
|
|
165
165
|
file,
|
|
166
|
-
sources: current.map(
|
|
166
|
+
sources: current.map(Source4.key),
|
|
167
167
|
skills: loaded.skills.map((skill) => skill.id)
|
|
168
168
|
});
|
|
169
169
|
}
|
|
@@ -179,4 +179,4 @@ var Plugin19 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin8, exports_skill };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info12,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-8m4ndff2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service43
|
|
11
|
+
} from "./persistent-pty-7k8y39tb.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill2 = {};
|
|
18
18
|
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin30,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
@@ -424,20 +424,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
424
424
|
var ReportContent2 = report_default;
|
|
425
425
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
426
426
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
427
|
-
var
|
|
427
|
+
var Plugin30 = define({
|
|
428
428
|
id: "opencode.skill",
|
|
429
429
|
effect: Effect.fn(function* (ctx) {
|
|
430
430
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
431
431
|
yield* ctx.skill.transform((editor) => {
|
|
432
|
-
editor.add(
|
|
433
|
-
id:
|
|
432
|
+
editor.add(Info12.make({
|
|
433
|
+
id: ID5.make("opencode"),
|
|
434
434
|
name: Name2.make("OpenCode"),
|
|
435
435
|
description: OpencodeDescription2,
|
|
436
436
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
437
437
|
content: OpencodeContent2
|
|
438
438
|
}));
|
|
439
|
-
editor.add(
|
|
440
|
-
id:
|
|
439
|
+
editor.add(Info12.make({
|
|
440
|
+
id: ID5.make("report"),
|
|
441
441
|
name: Name2.make("Report"),
|
|
442
442
|
description: REPORT_DESCRIPTION,
|
|
443
443
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service43;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin30, exports_skill2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service42,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service42 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service42, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service42.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service54, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node44 = makeGlobalNode({ service: Service42, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service42, node44, exports_environment };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service84,
|
|
9
9
|
node88
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-aacha31a.js";
|
|
11
11
|
import {
|
|
12
12
|
Service82,
|
|
13
13
|
node86
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-hkajtpqc.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID10,
|
|
27
|
+
Service: () => Service73,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node77,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,18 +34,18 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID10 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service73 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service84;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID10.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service73.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node77 = makeLocationNode({
|
|
153
|
+
service: Service73,
|
|
154
154
|
layer,
|
|
155
155
|
deps: [FSUtil.node, node88, Global.node, node86]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer3 = Layer.succeed(
|
|
157
|
+
var noopLayer3 = Layer.succeed(Service73, Service73.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service56, Service56.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error5({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID10, Error5, Service73, node77, noopLayer3, exports_snapshot2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node53
|
|
5
|
+
} from "./persistent-pty-t6dt94yt.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-nxe4pcap.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node62
|
|
13
|
+
} from "./persistent-pty-3a83a0n4.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-5x0spf49.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-x5hm6bvw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./persistent-pty-zvkna10r.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service26,
|
|
28
|
+
node30
|
|
29
|
+
} from "./persistent-pty-rx905nvw.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make13
|
|
32
|
+
} from "./persistent-pty-qqeeq2t9.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./persistent-pty-6xcvt31d.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service25,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer11,
|
|
48
|
+
node: () => node29,
|
|
49
49
|
outputLimit: () => outputLimit2,
|
|
50
50
|
unsupportedParts: () => unsupportedParts2
|
|
51
51
|
});
|
|
@@ -83,7 +83,7 @@ var baseTranscript2 = (input) => {
|
|
|
83
83
|
return {
|
|
84
84
|
providerMetadataKey,
|
|
85
85
|
system: [
|
|
86
|
-
input.agent.system ? input.agent.system :
|
|
86
|
+
input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
|
|
87
87
|
input.initial
|
|
88
88
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
89
89
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
|
|
|
156
156
|
});
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class Service25 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
161
|
+
var layer11 = Layer.effect(Service25, Effect.gen(function* () {
|
|
162
|
+
const hooks = yield* Service59;
|
|
163
|
+
const transport = yield* Service26;
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
166
|
const session = input.session;
|
|
@@ -168,7 +168,7 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
168
168
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
169
169
|
const tools = input.tools ?? {
|
|
170
170
|
definitions: [],
|
|
171
|
-
execute: () => new
|
|
171
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
172
172
|
};
|
|
173
173
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
174
174
|
const shaped = yield* shape({
|
|
@@ -265,17 +265,17 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
265
265
|
};
|
|
266
266
|
});
|
|
267
267
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
268
|
-
return
|
|
268
|
+
return Service25.of({
|
|
269
269
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
270
270
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
271
271
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
272
272
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
273
273
|
});
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
277
|
-
layer:
|
|
278
|
-
deps: [
|
|
275
|
+
var node29 = makeLocationNode({
|
|
276
|
+
service: Service25,
|
|
277
|
+
layer: layer11,
|
|
278
|
+
deps: [node62, node30, node53]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
281
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service25, layer11, node29, exports_model_request };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-0kq1vnt2.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service65,
|
|
8
|
+
node68
|
|
9
|
+
} from "./persistent-pty-8qw7ce1p.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./persistent-pty-7j2qrq70.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service14,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node16,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service14 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service65;
|
|
335
|
+
return Service14.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [node68] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service14, read2, node16, exports_read_filesystem };
|