@opencode/core 0.0.0-dev-19372 → 0.0.0-dev-19376
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +79 -79
- package/dist/chunks/{pty-0gdmqesm.js → plugin-02nrjc1r.js} +8 -8
- package/dist/chunks/{pty-1y981vcy.js → plugin-037afy93.js} +30 -30
- package/dist/chunks/{pty-578n16w1.js → plugin-03wjykbb.js} +29 -29
- package/dist/chunks/{pty-s8bz6z4k.js → plugin-05xfxpq7.js} +5 -5
- package/dist/chunks/{pty-r8nahq2d.js → plugin-0c8dvqnh.js} +15 -15
- package/dist/chunks/{pty-f9dcx0s3.js → plugin-0mcxwjfb.js} +17 -17
- package/dist/chunks/{pty-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → plugin-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-kv3072p9.js → plugin-0smskw7v.js} +4 -4
- package/dist/chunks/{pty-pqd1mzxt.js → plugin-0v658crk.js} +9 -9
- package/dist/chunks/{pty-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-0hpxrkyb.js → plugin-1dfhrqqs.js} +5 -5
- package/dist/chunks/{pty-5j7h8n2k.js → plugin-1qcma6tm.js} +10 -10
- package/dist/chunks/{pty-exrwhhqk.js → plugin-1wyzkwp4.js} +4 -4
- package/dist/chunks/{pty-33w4ejhs.js → plugin-1ygqh575.js} +6 -6
- package/dist/chunks/{pty-107fwvqp.js → plugin-2002mdfk.js} +33 -33
- package/dist/chunks/{pty-21r38tys.js → plugin-21r38tys.js} +1 -1
- package/dist/chunks/{pty-02zskd6f.js → plugin-24sbpj7j.js} +4 -4
- package/dist/chunks/{pty-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-rkg39e93.js → plugin-2b6sywcb.js} +11 -11
- package/dist/chunks/{pty-r0xf0e5c.js → plugin-2d1xw8ev.js} +17 -17
- package/dist/chunks/{pty-4azybn4n.js → plugin-2dmhvvz9.js} +34 -34
- package/dist/chunks/{pty-te0vzhy5.js → plugin-2f85tfmp.js} +7 -7
- package/dist/chunks/{pty-7dqw4kz8.js → plugin-2k8khapm.js} +5 -5
- package/dist/chunks/{pty-yww5gzhe.js → plugin-2pxk13gr.js} +5 -5
- package/dist/chunks/{pty-mf3kdcv1.js → plugin-2w0a68bw.js} +10 -10
- package/dist/chunks/{pty-hdsygwhy.js → plugin-2x7gy88h.js} +12 -12
- package/dist/chunks/{pty-cf3tj770.js → plugin-2y34zzjz.js} +4 -4
- package/dist/chunks/{pty-jy3rk2pm.js → plugin-34j98c57.js} +17 -17
- package/dist/chunks/{pty-cd4mc13g.js → plugin-38c819ax.js} +1 -1
- package/dist/chunks/{pty-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-8w0tny4e.js → plugin-3jvtkk55.js} +4 -4
- package/dist/chunks/{pty-v1y1zkts.js → plugin-3n755bhv.js} +6 -6
- package/dist/chunks/{pty-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-47fetphe.js → plugin-3zq5ckw0.js} +32 -32
- package/dist/chunks/{pty-76mrr06k.js → plugin-49jnfhxh.js} +43 -43
- package/dist/chunks/{pty-c9cenec4.js → plugin-4yy9g0cd.js} +5 -5
- package/dist/chunks/{pty-k8a0mrdq.js → plugin-53wp9sep.js} +38 -38
- package/dist/chunks/{pty-5daktx2q.js → plugin-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-jfdrs8g9.js → plugin-5f7y8zfy.js} +10 -10
- package/dist/chunks/{pty-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-60geffh5.js → plugin-5t6zvaxr.js} +7 -7
- package/dist/chunks/{pty-9cg0vjy1.js → plugin-5trk58xb.js} +8 -8
- package/dist/chunks/{pty-0xkh6216.js → plugin-5wg533gv.js} +23 -23
- package/dist/chunks/{pty-bagg3g1z.js → plugin-5xg0610v.js} +2 -2
- package/dist/chunks/{pty-m0f7gyab.js → plugin-5z7jgags.js} +19 -19
- package/dist/chunks/{pty-qgy2rw28.js → plugin-6178vqjw.js} +9 -9
- package/dist/chunks/{pty-6xe913v8.js → plugin-638hpxs4.js} +22 -22
- package/dist/chunks/{pty-669tq793.js → plugin-669tq793.js} +1 -1
- package/dist/chunks/{pty-6h73sxmp.js → plugin-6h73sxmp.js} +1 -1
- package/dist/chunks/{pty-v9cmgtcf.js → plugin-6jem5b6x.js} +1 -1
- package/dist/chunks/{pty-6msgmcgs.js → plugin-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-b7n25z46.js → plugin-6td58200.js} +19 -19
- package/dist/chunks/{pty-w8dmehha.js → plugin-6yh42490.js} +35 -35
- package/dist/chunks/{pty-71q4at8m.js → plugin-71q4at8m.js} +1 -1
- package/dist/chunks/{pty-w7zd1bg5.js → plugin-71th643h.js} +26 -26
- package/dist/chunks/{pty-ng5shs3s.js → plugin-74x46t3v.js} +1 -1
- package/dist/chunks/{pty-5zthbsee.js → plugin-77h3m1tv.js} +7 -7
- package/dist/chunks/{pty-q6rs4hjt.js → plugin-7a57jeh0.js} +59 -59
- package/dist/chunks/{pty-9ef57syn.js → plugin-7aevrr08.js} +11 -11
- package/dist/chunks/{pty-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-jrvvap85.js → plugin-7bz3pt5p.js} +22 -22
- package/dist/chunks/{pty-dcdbx179.js → plugin-7n18d0n5.js} +39 -39
- package/dist/chunks/{pty-0gg4eh9d.js → plugin-7nyvvt3z.js} +11 -11
- package/dist/chunks/{pty-5j4skxhh.js → plugin-7qqsgkx7.js} +8 -8
- package/dist/chunks/{pty-d1f48wm0.js → plugin-7s3ccnjj.js} +47 -47
- package/dist/chunks/{pty-mqy0jkn2.js → plugin-7z7az0f5.js} +4 -4
- package/dist/chunks/{pty-rbygrj0c.js → plugin-7zs56f9j.js} +6 -6
- package/dist/chunks/{pty-zyr433b0.js → plugin-818pfwc9.js} +11 -11
- package/dist/chunks/{pty-dv1qgsyq.js → plugin-844ef7ks.js} +8 -8
- package/dist/chunks/{pty-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-yntqacmd.js → plugin-8dgv8rha.js} +15 -15
- package/dist/chunks/{pty-gqqez5b8.js → plugin-8n32e0sd.js} +9 -9
- package/dist/chunks/{pty-8p4f9s12.js → plugin-8p4f9s12.js} +2 -2
- package/dist/chunks/{pty-cf7stcnz.js → plugin-8v726bht.js} +9 -9
- package/dist/chunks/{pty-jt2m25jy.js → plugin-8w67wwd8.js} +13 -13
- package/dist/chunks/{pty-9p3b3m98.js → plugin-942f7qpg.js} +8 -8
- package/dist/chunks/{pty-ghe33san.js → plugin-9bt6kxvh.js} +15 -15
- package/dist/chunks/{pty-jefma2gq.js → plugin-9edcvf27.js} +10 -10
- package/dist/chunks/{pty-vkxpz7g2.js → plugin-9gr8y5ys.js} +4 -4
- package/dist/chunks/{pty-pe79rxdj.js → plugin-9p450f1p.js} +30 -30
- package/dist/chunks/{pty-81swgkk7.js → plugin-9pv0dm11.js} +9 -9
- package/dist/chunks/{pty-8vct2pgr.js → plugin-9vs0xtad.js} +3 -3
- package/dist/chunks/{pty-v8jfbz3g.js → plugin-9yr2yfq4.js} +5 -5
- package/dist/chunks/{pty-mtft99cd.js → plugin-a1a50ys5.js} +5 -5
- package/dist/chunks/{pty-a1bz86dw.js → plugin-a1bz86dw.js} +3 -3
- package/dist/chunks/{pty-feebpcf8.js → plugin-a4d5zav4.js} +19 -19
- package/dist/chunks/{pty-aaet6srn.js → plugin-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-qz49fwgp.js → plugin-ab9238g2.js} +4 -4
- package/dist/chunks/{pty-c487kk09.js → plugin-advj38vx.js} +43 -43
- package/dist/chunks/{pty-9m9t2a7k.js → plugin-amdd0qvr.js} +14 -14
- package/dist/chunks/{pty-refnp3pv.js → plugin-aq3m41mm.js} +4 -4
- package/dist/chunks/{pty-bw8xqn9c.js → plugin-av27br1g.js} +38 -38
- package/dist/chunks/{pty-khy2t77v.js → plugin-axrtbykr.js} +32 -32
- package/dist/chunks/{pty-cjr8y0wq.js → plugin-b6g7f40g.js} +20 -20
- package/dist/chunks/{pty-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-0996nyz8.js → plugin-b8b3f19r.js} +9 -9
- package/dist/chunks/{pty-3a50zsz9.js → plugin-bghdztc0.js} +15 -15
- package/dist/chunks/{pty-nfk4q15c.js → plugin-bjj97j9e.js} +19 -19
- package/dist/chunks/{pty-wnqzfj2j.js → plugin-bq1nsww9.js} +12 -12
- package/dist/chunks/{pty-kjr2p1gf.js → plugin-bswzew6v.js} +40 -40
- package/dist/chunks/{pty-yfbmjfv9.js → plugin-c187dy92.js} +11 -11
- package/dist/chunks/{pty-ddmrj1q7.js → plugin-cb5abmph.js} +27 -27
- package/dist/chunks/{pty-q24fq4k9.js → plugin-cc001en5.js} +12 -12
- package/dist/chunks/{pty-3mke1r8k.js → plugin-cdvee0sw.js} +21 -21
- package/dist/chunks/{pty-cfpkc3c9.js → plugin-cfpkc3c9.js} +2 -2
- package/dist/chunks/{pty-rrdk89a5.js → plugin-cg9bd3td.js} +21 -21
- package/dist/chunks/{pty-hw55hn24.js → plugin-chsw4vbj.js} +10 -10
- package/dist/chunks/{pty-357v7vj3.js → plugin-cqt69dfx.js} +33 -33
- package/dist/chunks/{pty-jfqtm2ew.js → plugin-d216944b.js} +7 -7
- package/dist/chunks/{pty-wreggwv7.js → plugin-d66d8ava.js} +17 -17
- package/dist/chunks/{pty-vaynpwqg.js → plugin-da0sngsz.js} +12 -12
- package/dist/chunks/{pty-j4rqb0e8.js → plugin-dg8vxwkk.js} +287 -287
- package/dist/chunks/{pty-c4twzx9w.js → plugin-dj9n6xpq.js} +22 -22
- package/dist/chunks/{pty-bh8p3ktg.js → plugin-dkd5sz5m.js} +6 -6
- package/dist/chunks/{pty-y71avatq.js → plugin-dpkg50ah.js} +4 -4
- package/dist/chunks/{pty-bxft0ra9.js → plugin-dq70j2z6.js} +32 -32
- package/dist/chunks/{pty-5vs9ndt5.js → plugin-dwc6yqk2.js} +26 -26
- package/dist/chunks/{pty-r8febyms.js → plugin-dzwny9ty.js} +14 -14
- package/dist/chunks/{pty-7rjdtxkk.js → plugin-eaer3ysp.js} +4 -4
- package/dist/chunks/{pty-b1rqwz98.js → plugin-ecy1wnbf.js} +9 -9
- package/dist/chunks/{pty-egkwkxxa.js → plugin-eh0ytejy.js} +72 -72
- package/dist/chunks/{pty-crd48we5.js → plugin-eh5hj286.js} +61 -61
- package/dist/chunks/{pty-xa6by1f1.js → plugin-emaackpw.js} +24 -24
- package/dist/chunks/{pty-eq1pz5kg.js → plugin-eq1pz5kg.js} +1 -1
- package/dist/chunks/{pty-h91yv7bq.js → plugin-ercg1sp5.js} +12 -12
- package/dist/chunks/{pty-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-cwtk2d1m.js → plugin-evyg6yz2.js} +6 -6
- package/dist/chunks/{pty-fr2caje5.js → plugin-f7nm44hn.js} +37 -37
- package/dist/chunks/{pty-f828m53h.js → plugin-f828m53h.js} +2 -2
- package/dist/chunks/{pty-a1dptbm0.js → plugin-fe1vdz8k.js} +18 -18
- package/dist/chunks/{pty-6qw5vjfk.js → plugin-fqvj2kck.js} +5 -5
- package/dist/chunks/{pty-fxbjtjnd.js → plugin-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-2pnhn36q.js → plugin-g190xswt.js} +21 -21
- package/dist/chunks/{pty-q1bbvmq4.js → plugin-g3js9x3g.js} +23 -23
- package/dist/chunks/{pty-62k5e5wb.js → plugin-g3qr39tx.js} +20 -20
- package/dist/chunks/{pty-rzyzyf97.js → plugin-g3x6e23j.js} +5 -5
- package/dist/chunks/{pty-qr736bxy.js → plugin-gcpmpxha.js} +11 -11
- package/dist/chunks/{pty-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-cny5rd43.js → plugin-gdezgtpw.js} +8 -8
- package/dist/chunks/{pty-nw5w3cjp.js → plugin-gq0qfvqb.js} +26 -26
- package/dist/chunks/{pty-th5km1p3.js → plugin-gv6a8nnw.js} +5 -5
- package/dist/chunks/{pty-yy158baq.js → plugin-gx5dh1nn.js} +11 -11
- package/dist/chunks/{pty-h03wrkyp.js → plugin-h03wrkyp.js} +2 -2
- package/dist/chunks/{pty-4rph1v41.js → plugin-h33x0bjj.js} +13 -13
- package/dist/chunks/{pty-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-f242nvhy.js → plugin-h72f9dze.js} +6 -6
- package/dist/chunks/{pty-gvvw2n81.js → plugin-h877gcsr.js} +8 -8
- package/dist/chunks/{pty-7ce2cjd5.js → plugin-hctt1sp1.js} +18 -18
- package/dist/chunks/{pty-5g6xb262.js → plugin-hh0gtfpy.js} +30 -30
- package/dist/chunks/{pty-nhy5jxhy.js → plugin-hjt4xg1x.js} +4 -4
- package/dist/chunks/{pty-ken34rgm.js → plugin-hysngwxn.js} +19 -19
- package/dist/chunks/{pty-3pmjwr1e.js → plugin-hz7z9jvj.js} +24 -24
- package/dist/chunks/{pty-sgvsg5c7.js → plugin-j17m4n96.js} +13 -13
- package/dist/chunks/{pty-102jvkd5.js → plugin-j3xhxtqk.js} +59 -59
- package/dist/chunks/{pty-j56e64zr.js → plugin-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-an126cry.js → plugin-ja9434fw.js} +26 -26
- package/dist/chunks/{pty-qzdews7q.js → plugin-jc9zddw6.js} +4 -4
- package/dist/chunks/{pty-gtjpq3yd.js → plugin-jqyhs0n3.js} +9 -9
- package/dist/chunks/{pty-mnewsc6w.js → plugin-jrqqqgb2.js} +34 -34
- package/dist/chunks/{pty-e1sywrpy.js → plugin-jxzgt2ek.js} +6 -6
- package/dist/chunks/{pty-4sksr709.js → plugin-jz7c2zhp.js} +5 -5
- package/dist/chunks/{pty-51kcvgxx.js → plugin-kb6wt6mk.js} +18 -18
- package/dist/chunks/{pty-m2r7xkr0.js → plugin-kef739p8.js} +18 -18
- package/dist/chunks/{pty-kg06axw8.js → plugin-kg06axw8.js} +1 -1
- package/dist/chunks/{pty-a31gkhvw.js → plugin-kksf6wrm.js} +11 -11
- package/dist/chunks/{pty-abkdt1xb.js → plugin-kqddbhjm.js} +1 -1
- package/dist/chunks/{pty-tzaf1sec.js → plugin-kry7ztwc.js} +10 -10
- package/dist/chunks/{pty-z5c2cr5p.js → plugin-ksqxpq8d.js} +14 -14
- package/dist/chunks/{pty-gw1k03mf.js → plugin-ksxmc9x1.js} +13 -13
- package/dist/chunks/{pty-0pyqcms3.js → plugin-ktbdk3tc.js} +1 -1
- package/dist/chunks/plugin-m2sa41zf.js +22 -0
- package/dist/chunks/{pty-gcbpht8g.js → plugin-m7bgjgz6.js} +17 -17
- package/dist/chunks/{pty-6jnybvqn.js → plugin-m86bnw2c.js} +9 -9
- package/dist/chunks/{pty-ym4367vb.js → plugin-m91ntkmw.js} +20 -20
- package/dist/chunks/{pty-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-6zm1wyjc.js → plugin-mercwyd3.js} +16 -16
- package/dist/chunks/{pty-mkcjrzeh.js → plugin-mkcjrzeh.js} +1 -1
- package/dist/chunks/{pty-40d8dwxk.js → plugin-mn7crxms.js} +11 -11
- package/dist/chunks/{pty-sr4mx09d.js → plugin-mr742j4k.js} +11 -11
- package/dist/chunks/{pty-z5wc9zep.js → plugin-mre86tv8.js} +11 -11
- package/dist/chunks/{pty-eg20r4ae.js → plugin-mt0f8r91.js} +15 -15
- package/dist/chunks/{pty-q1hjdkpd.js → plugin-mx2edcwk.js} +11 -11
- package/dist/chunks/{pty-9fxpdq0y.js → plugin-myc6gyha.js} +28 -28
- package/dist/chunks/{pty-14p0bf99.js → plugin-n27zd08h.js} +4 -4
- package/dist/chunks/{pty-41q0v4q7.js → plugin-nbbccrwa.js} +9 -9
- package/dist/chunks/{pty-f4dw8gwj.js → plugin-ngp4stkx.js} +38 -38
- package/dist/chunks/{pty-yzsvg0b0.js → plugin-nn9cf4ye.js} +156 -156
- package/dist/chunks/{pty-kwgqzsmm.js → plugin-nwjnz9r2.js} +4 -4
- package/dist/chunks/{pty-rssnh3zg.js → plugin-nz2rf55x.js} +24 -24
- package/dist/chunks/{pty-cj4mykbe.js → plugin-p1dzk7aa.js} +9 -9
- package/dist/chunks/{pty-bgks4w36.js → plugin-p4sfc3k8.js} +24 -24
- package/dist/chunks/{pty-jxcvs55h.js → plugin-p529s0a0.js} +13 -13
- package/dist/chunks/{pty-v6wk655t.js → plugin-p7nf5x0r.js} +36 -36
- package/dist/chunks/{pty-s0fyf8fb.js → plugin-p9djhk08.js} +19 -19
- package/dist/chunks/{pty-88sz8qcd.js → plugin-paegk39x.js} +4 -4
- package/dist/chunks/{pty-j935v87r.js → plugin-paphc93g.js} +2 -2
- package/dist/chunks/{pty-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{pty-4dfh6zmw.js → plugin-pwpet4xy.js} +11 -11
- package/dist/chunks/{pty-wf7nhwxb.js → plugin-q0hn24q9.js} +24 -24
- package/dist/chunks/{pty-ghrzdqqx.js → plugin-q17z9dx8.js} +5 -5
- package/dist/chunks/{pty-xj584aw0.js → plugin-qe2w2evk.js} +11 -11
- package/dist/chunks/{pty-szjmac0q.js → plugin-qeyty0gb.js} +13 -13
- package/dist/chunks/{pty-qpw0y00r.js → plugin-qf2z6nsx.js} +16 -16
- package/dist/chunks/{pty-hcz3zddy.js → plugin-qjnxxf51.js} +5 -5
- package/dist/chunks/{pty-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-f2n192rq.js → plugin-r8xr0va3.js} +4 -4
- package/dist/chunks/plugin-rap9a73h.js +18 -0
- package/dist/chunks/plugin-rh1zsg2m.js +247 -0
- package/dist/chunks/{pty-1khr35v4.js → plugin-rn1mktsz.js} +27 -27
- package/dist/chunks/{pty-tp2tr8k0.js → plugin-s0mhjpvv.js} +3 -3
- package/dist/chunks/{pty-q1tx050w.js → plugin-s9rabgca.js} +8 -8
- package/dist/chunks/{pty-5sjkzzsa.js → plugin-shf0xgem.js} +46 -46
- package/dist/chunks/{pty-3zhfhk0f.js → plugin-sj7dgz8c.js} +5 -5
- package/dist/chunks/{pty-ajghh6ra.js → plugin-sp90gjh5.js} +3 -3
- package/dist/chunks/{pty-qq11w61w.js → plugin-sx1n432n.js} +4 -4
- package/dist/chunks/{pty-fpmq6gma.js → plugin-t0fxg8b9.js} +5 -5
- package/dist/chunks/{pty-4qv5c5xf.js → plugin-t0sm8tsz.js} +23 -23
- package/dist/chunks/{pty-p1wf2k30.js → plugin-t0x5rdq8.js} +9 -9
- package/dist/chunks/{pty-b428793c.js → plugin-t3qmh3gx.js} +15 -15
- package/dist/chunks/{pty-dhmh7aw6.js → plugin-t7n9q6bq.js} +4 -4
- package/dist/chunks/{pty-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{pty-0wmswe57.js → plugin-tkqjch9b.js} +15 -15
- package/dist/chunks/{pty-tvtrv512.js → plugin-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-ezs85qj9.js → plugin-tx1bbn1t.js} +2 -2
- package/dist/chunks/{pty-0x4g6ndm.js → plugin-tymf8mj9.js} +24 -24
- package/dist/chunks/{pty-m0pn08h0.js → plugin-v1rfafwf.js} +6 -6
- package/dist/chunks/{pty-8gtqgsn5.js → plugin-v2fmp9g9.js} +33 -33
- package/dist/chunks/{pty-rxyhbgbe.js → plugin-v2vabg13.js} +20 -20
- package/dist/chunks/{pty-mwva2wqz.js → plugin-v460csvx.js} +15 -15
- package/dist/chunks/{pty-pc04q47q.js → plugin-v5kfew3t.js} +24 -24
- package/dist/chunks/{pty-zjqdssy0.js → plugin-v8eqxbay.js} +15 -15
- package/dist/chunks/{pty-eea9n1gg.js → plugin-v94e6qv3.js} +5 -5
- package/dist/chunks/{pty-qgp720zn.js → plugin-vcvf9nyw.js} +12 -12
- package/dist/chunks/{pty-hv7vaf99.js → plugin-vec9g2ky.js} +10 -10
- package/dist/chunks/{pty-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-rxjhrqx1.js → plugin-veyy8et3.js} +20 -20
- package/dist/chunks/{pty-gy3ftesa.js → plugin-vneznamf.js} +27 -27
- package/dist/chunks/{pty-526v470z.js → plugin-vxyyfk13.js} +2 -2
- package/dist/chunks/{pty-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-sgaqms2z.js → plugin-w6q4snd7.js} +17 -17
- package/dist/chunks/{pty-b3wkxfg9.js → plugin-w79zsp0s.js} +1 -1
- package/dist/chunks/{pty-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{pty-6126dgt1.js → plugin-weqfqt5h.js} +41 -41
- package/dist/chunks/{pty-vyqtz9n7.js → plugin-wpmdzrrb.js} +1 -1
- package/dist/chunks/{pty-x1ezjp6w.js → plugin-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-x43y2vfs.js → plugin-x43y2vfs.js} +2 -2
- package/dist/chunks/{pty-p9ts1dg8.js → plugin-xb87zqhc.js} +11 -11
- package/dist/chunks/{pty-gf4qtxm6.js → plugin-xkjyxwdt.js} +1 -1
- package/dist/chunks/{pty-0x1qwe4m.js → plugin-xpmv5zp6.js} +6 -6
- package/dist/chunks/{pty-jsaewa63.js → plugin-xskhzebk.js} +8 -8
- package/dist/chunks/{pty-0jzeq7bg.js → plugin-xtqerdb0.js} +9 -9
- package/dist/chunks/{pty-b5svzbqe.js → plugin-xw2reg2q.js} +11 -11
- package/dist/chunks/{pty-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-7xggmshf.js → plugin-y8765w0k.js} +8 -8
- package/dist/chunks/{pty-07770t2t.js → plugin-y8p3zjbc.js} +4 -4
- package/dist/chunks/{pty-ewyzxja9.js → plugin-yczdwmb5.js} +10 -10
- package/dist/chunks/{pty-yrhqyw5v.js → plugin-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-s4enseaf.js → plugin-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-s4sy206n.js → plugin-ytxckmz2.js} +32 -32
- package/dist/chunks/{pty-4z80d8a9.js → plugin-yzzyakej.js} +3 -3
- package/dist/chunks/{pty-jjc2e0wf.js → plugin-z00wb3zk.js} +16 -16
- package/dist/chunks/{pty-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-cgs7ndjq.js → plugin-z5vdj0hp.js} +9 -9
- package/dist/chunks/{pty-29x78va6.js → plugin-z63w68vq.js} +6 -6
- package/dist/chunks/{pty-m5aw9kqs.js → plugin-z6e5fen7.js} +8 -8
- package/dist/chunks/{pty-zvpdk192.js → plugin-zc32fwc3.js} +24 -24
- package/dist/chunks/{pty-8kcmt1fk.js → plugin-zc5qb0ej.js} +5 -5
- package/dist/chunks/{pty-xdzdvgbv.js → plugin-zdkcymxv.js} +15 -15
- package/dist/chunks/{pty-g254301b.js → plugin-ze2n42e7.js} +3 -3
- package/dist/chunks/{pty-zeh9ct20.js → plugin-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-gj9xpvv3.js → plugin-zerdtc7d.js} +2 -2
- package/dist/chunks/{pty-2x9w7gwc.js → plugin-zjm0xfps.js} +4 -4
- package/dist/chunks/{pty-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- 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 +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +113 -113
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +360 -360
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +87 -87
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- 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 +3 -3
- package/dist/instance.js +351 -351
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +76 -76
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +87 -87
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +143 -143
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +212 -212
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +122 -122
- package/dist/session/projector.js +82 -82
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +84 -84
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/pty-by5v678g.js +0 -18
- package/dist/chunks/pty-jcst6tya.js +0 -247
- package/dist/chunks/pty-rnevd4w8.js +0 -22
- /package/dist/chunks/{pty-0mesazry.js → plugin-0mesazry.js} +0 -0
- /package/dist/chunks/{pty-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → plugin-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a1tpkmh4.js → plugin-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-hrnqkpcd.js → plugin-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → plugin-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → plugin-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info16
|
|
6
|
+
} from "./plugin-g190xswt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info15
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info16)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info15, exports_agent3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node8
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node8 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node8, bound2, exports_instance2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-yzzyakej.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info26,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service69,
|
|
21
|
+
node: () => node73
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info26 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service69 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID13.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service69.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node73 = makeGlobalNode({ service: Service69, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID13, Info26, ListInput4, AddInput2, Service69, node73, exports_saved };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./plugin-9yr2yfq4.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-6178vqjw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./plugin-7bz3pt5p.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service48;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service65), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-2b6sywcb.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin6,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin6 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin15 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin15 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin6, exports_firecrawl };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node77
|
|
7
|
+
} from "./plugin-hz7z9jvj.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service72,
|
|
17
|
+
node: () => node76,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service72 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service73;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service72.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [node77] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service72, readText2, syncTextBom2, node76, exports_file_mutation };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID8,
|
|
10
|
+
Info: () => Info22,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
|
-
Request: () =>
|
|
13
|
+
Request: () => Request2,
|
|
14
14
|
Settings: () => Settings2,
|
|
15
15
|
aisdk: () => aisdk2,
|
|
16
16
|
isAISDK: () => isAISDK2,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID8 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -137,9 +137,9 @@ function mergeHeaders2(base, overlay) {
|
|
|
137
137
|
return result;
|
|
138
138
|
}, new Map).values());
|
|
139
139
|
}
|
|
140
|
-
var
|
|
140
|
+
var Request2 = Provider.Request;
|
|
141
141
|
var Settings2 = Provider.Settings;
|
|
142
|
-
var
|
|
142
|
+
var Info22 = Provider.Info;
|
|
143
143
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
144
144
|
const module = yield* Effect.tryPromise({
|
|
145
145
|
try: () => {
|
|
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
161
161
|
return module;
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info22, exports_provider3 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./plugin-v5kfew3t.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service43
|
|
13
|
+
} from "./plugin-71th643h.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./plugin-qf2z6nsx.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin43
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin43 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service43;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service75;
|
|
42
|
+
const watcher = yield* Service41;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin43, exports_instruction };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service77,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node82
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service77 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service77.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node82 = makeGlobalNode({ service: Service77, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service77, node82, exports_git3 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-02nrjc1r.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|