@opencode/core 0.0.0-dev-19370 → 0.0.0-dev-19371
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{credential-8tzm5kpv.js → instruction-discovery-013av1x8.js} +14 -14
- package/dist/chunks/{credential-cw7k1zn0.js → instruction-discovery-07ag7k0e.js} +28 -28
- package/dist/chunks/{credential-v5tz0txx.js → instruction-discovery-09zd0szw.js} +32 -32
- package/dist/chunks/{credential-y7x142mt.js → instruction-discovery-0e5r1skn.js} +8 -8
- package/dist/chunks/{credential-q567r7t6.js → instruction-discovery-0ex6px1z.js} +8 -8
- package/dist/chunks/{credential-p0p6txpm.js → instruction-discovery-0fm4fvvj.js} +24 -24
- package/dist/chunks/{credential-1dfhrqqs.js → instruction-discovery-0hpxrkyb.js} +5 -5
- package/dist/chunks/instruction-discovery-0j1a1t13.js +22 -0
- package/dist/chunks/{credential-qnkzwnkk.js → instruction-discovery-0kb9m1f6.js} +10 -10
- package/dist/chunks/instruction-discovery-0mesazry.js +4 -0
- package/dist/chunks/{credential-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{credential-0q0f95c6.js → instruction-discovery-0q0f95c6.js} +1 -1
- package/dist/chunks/{credential-dy52c8h1.js → instruction-discovery-1a3gk442.js} +15 -15
- package/dist/chunks/{credential-ffnezcy6.js → instruction-discovery-1d6q6my0.js} +46 -46
- package/dist/chunks/{credential-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
- package/dist/chunks/{credential-msq0jde0.js → instruction-discovery-1hc11dc4.js} +4 -4
- package/dist/chunks/{credential-966c8cap.js → instruction-discovery-1ka62ajm.js} +25 -25
- package/dist/chunks/{credential-26pye05k.js → instruction-discovery-1nhndn61.js} +7 -7
- package/dist/chunks/{credential-3batxdes.js → instruction-discovery-1ptb02zb.js} +45 -45
- package/dist/chunks/{credential-c9v3njsq.js → instruction-discovery-1rjn7b92.js} +6 -6
- package/dist/chunks/{credential-kyfddjrj.js → instruction-discovery-1wxb385z.js} +1 -1
- package/dist/chunks/{credential-r8d99g81.js → instruction-discovery-1xj25msm.js} +18 -18
- package/dist/chunks/{credential-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
- package/dist/chunks/{credential-6h73sxmp.js → instruction-discovery-2402vzrj.js} +5 -5
- package/dist/chunks/{credential-vmar8n8n.js → instruction-discovery-24gjgxem.js} +17 -17
- package/dist/chunks/{credential-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
- package/dist/chunks/{credential-gsx0ryk4.js → instruction-discovery-2bt6bea8.js} +9 -9
- package/dist/chunks/{credential-wb9vn7gc.js → instruction-discovery-2n6x26ww.js} +3 -3
- package/dist/chunks/{credential-tzar2m42.js → instruction-discovery-2nnczm4n.js} +87 -87
- package/dist/chunks/{credential-33kgjfz5.js → instruction-discovery-2rpj59nm.js} +84 -84
- package/dist/chunks/{credential-bsmwhs5j.js → instruction-discovery-2seywkaq.js} +13 -13
- package/dist/chunks/{credential-a5drzcdb.js → instruction-discovery-2tbcxsee.js} +19 -19
- package/dist/chunks/{credential-bajakh74.js → instruction-discovery-2tfmgkzg.js} +4 -4
- package/dist/chunks/{credential-04cfyv7b.js → instruction-discovery-2vvechqa.js} +32 -32
- package/dist/chunks/{credential-ejv06xv9.js → instruction-discovery-32zkwxf4.js} +54 -54
- package/dist/chunks/{credential-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-dsgca7mb.js → instruction-discovery-3fqhs30r.js} +11 -11
- package/dist/chunks/{credential-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-7b5mp5c8.js → instruction-discovery-3mwx79t2.js} +17 -17
- package/dist/chunks/{credential-p33ejz0k.js → instruction-discovery-3q1jyqhd.js} +1 -1
- package/dist/chunks/{credential-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-dj9sq318.js → instruction-discovery-3w2b2yj4.js} +5 -5
- package/dist/chunks/{credential-mb942295.js → instruction-discovery-3wrtxrr4.js} +6 -6
- package/dist/chunks/{credential-pg4ttegr.js → instruction-discovery-42n6z8pq.js} +32 -32
- package/dist/chunks/{credential-rzs3gq0x.js → instruction-discovery-4c8bw516.js} +8 -8
- package/dist/chunks/{credential-e4f8tf4k.js → instruction-discovery-4dxrwc2h.js} +63 -63
- package/dist/chunks/{credential-9c1g789v.js → instruction-discovery-4g2w7pq2.js} +9 -9
- package/dist/chunks/{credential-1h4ktfcf.js → instruction-discovery-4mkcvr19.js} +5 -5
- package/dist/chunks/{credential-q2ytqwwa.js → instruction-discovery-4s43gdt0.js} +11 -11
- package/dist/chunks/instruction-discovery-4yx2wtwn.js +247 -0
- package/dist/chunks/{credential-e6hmchc5.js → instruction-discovery-510m7gjw.js} +5 -5
- package/dist/chunks/{credential-1319r755.js → instruction-discovery-516fypfz.js} +32 -32
- package/dist/chunks/{credential-1ygqh575.js → instruction-discovery-56gdpj1q.js} +9 -9
- package/dist/chunks/{credential-3sqtj86k.js → instruction-discovery-56yety9r.js} +41 -41
- package/dist/chunks/{credential-a1bz86dw.js → instruction-discovery-5c4hm403.js} +3 -3
- package/dist/chunks/{credential-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
- package/dist/chunks/{credential-rce8n207.js → instruction-discovery-5fhmv1q3.js} +34 -34
- package/dist/chunks/{credential-x9nmc2sn.js → instruction-discovery-5nsrms9d.js} +1 -1
- package/dist/chunks/{credential-eddgwn1r.js → instruction-discovery-5s33gdzw.js} +22 -22
- package/dist/chunks/{credential-kkxyzwpq.js → instruction-discovery-5sb8wf39.js} +18 -18
- package/dist/chunks/{credential-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
- package/dist/chunks/{credential-pny7yx7d.js → instruction-discovery-5zem9v7d.js} +13 -13
- package/dist/chunks/instruction-discovery-619r8v3y.js +18 -0
- package/dist/chunks/{credential-669tq793.js → instruction-discovery-669tq793.js} +1 -1
- package/dist/chunks/{credential-bgs9y14h.js → instruction-discovery-66r9f6z1.js} +5 -5
- package/dist/chunks/{credential-1nzs1dt7.js → instruction-discovery-6anwy9fs.js} +5 -5
- package/dist/chunks/{credential-xwrmknpr.js → instruction-discovery-6cb6sp75.js} +4 -4
- package/dist/chunks/{credential-m4455s3y.js → instruction-discovery-6fd16rw2.js} +26 -26
- package/dist/chunks/{credential-bzrne2cf.js → instruction-discovery-6fs1bwmd.js} +27 -27
- package/dist/chunks/{credential-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
- package/dist/chunks/{credential-tksm74b3.js → instruction-discovery-6q6sza9m.js} +27 -27
- package/dist/chunks/{credential-txc11aqg.js → instruction-discovery-6vmq095n.js} +8 -8
- package/dist/chunks/{credential-21a5jk7k.js → instruction-discovery-71m7qv0m.js} +11 -11
- package/dist/chunks/{credential-71q4at8m.js → instruction-discovery-71q4at8m.js} +1 -1
- package/dist/chunks/{credential-4f4r2056.js → instruction-discovery-75rf4veb.js} +20 -20
- package/dist/chunks/{credential-tq9yxfd0.js → instruction-discovery-77vr9fvh.js} +50 -50
- package/dist/chunks/{credential-1b74es1f.js → instruction-discovery-7bjy8qnq.js} +16 -16
- package/dist/chunks/{credential-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-0hch6svz.js → instruction-discovery-7bszj1cq.js} +30 -30
- package/dist/chunks/{credential-esafk7q3.js → instruction-discovery-7dqw4kz8.js} +5 -5
- package/dist/chunks/{credential-jkw62c4x.js → instruction-discovery-7gqvs912.js} +18 -18
- package/dist/chunks/{credential-4sdp0m6c.js → instruction-discovery-7ng2f82v.js} +34 -34
- package/dist/chunks/{credential-yc60x9p4.js → instruction-discovery-7vc0yr26.js} +15 -15
- package/dist/chunks/{credential-k0ncd55s.js → instruction-discovery-7wp5vt1y.js} +11 -11
- package/dist/chunks/{credential-gsdcmbmr.js → instruction-discovery-7xbncs63.js} +52 -52
- package/dist/chunks/{credential-b1xevyg4.js → instruction-discovery-7ynajkh9.js} +26 -26
- package/dist/chunks/{credential-drxtvntd.js → instruction-discovery-83x6p9kd.js} +1 -1
- package/dist/chunks/{credential-844ef7ks.js → instruction-discovery-844ef7ks.js} +1 -1
- package/dist/chunks/{credential-dnanfhkd.js → instruction-discovery-8bk6ht13.js} +15 -15
- package/dist/chunks/{credential-svntbjgt.js → instruction-discovery-8bzjxz67.js} +25 -25
- package/dist/chunks/{credential-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
- package/dist/chunks/{credential-hv14eds1.js → instruction-discovery-8gq8wjx2.js} +9 -9
- package/dist/chunks/{credential-pefy2fys.js → instruction-discovery-90e5nz4z.js} +4 -4
- package/dist/chunks/{credential-9m3dk78v.js → instruction-discovery-93hpb89x.js} +3 -3
- package/dist/chunks/{credential-b191y2av.js → instruction-discovery-9875sft1.js} +3 -3
- package/dist/chunks/{credential-bpgg8zv2.js → instruction-discovery-9bkp3vk6.js} +14 -14
- package/dist/chunks/{credential-yjqv8qmq.js → instruction-discovery-9edcvf27.js} +10 -10
- package/dist/chunks/{credential-ratrq7cm.js → instruction-discovery-a46v4e4v.js} +4 -4
- package/dist/chunks/{credential-jd8xsdb7.js → instruction-discovery-a823mjcm.js} +20 -20
- package/dist/chunks/{credential-13p69r1g.js → instruction-discovery-a8vp0knq.js} +7 -7
- package/dist/chunks/{credential-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
- package/dist/chunks/{credential-n5650byf.js → instruction-discovery-avhz3daf.js} +17 -17
- package/dist/chunks/{credential-jaevav1w.js → instruction-discovery-b2zyk4ye.js} +13 -13
- package/dist/chunks/{credential-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
- package/dist/chunks/{credential-wq4tenhy.js → instruction-discovery-bbrn9wt5.js} +11 -11
- package/dist/chunks/{credential-q3mrh7hn.js → instruction-discovery-be85q6rn.js} +6 -6
- package/dist/chunks/{credential-hrm8y51b.js → instruction-discovery-bjyhjfk1.js} +25 -25
- package/dist/chunks/{credential-kg7hpk6b.js → instruction-discovery-bv2fytjm.js} +20 -20
- package/dist/chunks/{credential-qhbg58t9.js → instruction-discovery-c7ecgrk6.js} +6 -6
- package/dist/chunks/{credential-nqnvy2d4.js → instruction-discovery-cc5pkwqg.js} +47 -47
- package/dist/chunks/{credential-p9tm0mrs.js → instruction-discovery-ccedsq4e.js} +18 -18
- package/dist/chunks/{credential-83jbspt8.js → instruction-discovery-cf8tr9ph.js} +3 -3
- package/dist/chunks/instruction-discovery-chckjpc4.js +462 -0
- package/dist/chunks/{credential-c576t1j6.js → instruction-discovery-cmbqfntm.js} +9 -9
- package/dist/chunks/{credential-05jaqbfy.js → instruction-discovery-cssamdmg.js} +17 -17
- package/dist/chunks/{credential-4j4j6b7c.js → instruction-discovery-cyr4v3cw.js} +21 -21
- package/dist/chunks/{credential-rfhr4evy.js → instruction-discovery-d13x8xp9.js} +25 -25
- package/dist/chunks/{credential-x92tzhpc.js → instruction-discovery-d25rvqmh.js} +14 -14
- package/dist/chunks/{credential-4eb3ngbp.js → instruction-discovery-d3k4bsrs.js} +6 -6
- package/dist/chunks/{credential-yn5yksm3.js → instruction-discovery-dbd00eyb.js} +6 -6
- package/dist/chunks/{credential-hq4namph.js → instruction-discovery-dc5a176q.js} +13 -13
- package/dist/chunks/{credential-crkg5x17.js → instruction-discovery-dht98sv3.js} +17 -17
- package/dist/chunks/{credential-8p4f9s12.js → instruction-discovery-dj2t23y0.js} +2 -2
- package/dist/chunks/{credential-dpkg50ah.js → instruction-discovery-dpkg50ah.js} +1 -1
- package/dist/chunks/{credential-gb33nbqp.js → instruction-discovery-dskz157b.js} +41 -41
- package/dist/chunks/{credential-8f79ekhe.js → instruction-discovery-dwhk5b05.js} +20 -20
- package/dist/chunks/{credential-sc5zwnjf.js → instruction-discovery-e51w6w3b.js} +7 -7
- package/dist/chunks/{credential-t550f9t1.js → instruction-discovery-eaj1djv9.js} +8 -8
- package/dist/chunks/{credential-s90d8d6b.js → instruction-discovery-edbfpfck.js} +6 -6
- package/dist/chunks/{credential-ff6j3eyt.js → instruction-discovery-eh5zsyp8.js} +13 -13
- package/dist/chunks/{credential-k8mz02ds.js → instruction-discovery-eh92xjb9.js} +34 -34
- package/dist/chunks/{credential-a8bn8zg0.js → instruction-discovery-ej2hdnaa.js} +4 -4
- package/dist/chunks/{credential-af3pq8fz.js → instruction-discovery-en74w496.js} +5 -5
- package/dist/chunks/{credential-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
- package/dist/chunks/{credential-m4r2ec35.js → instruction-discovery-ev4g7n3e.js} +25 -25
- package/dist/chunks/{credential-8gcdc49z.js → instruction-discovery-exjxmebg.js} +5 -5
- package/dist/chunks/{credential-wm06yq12.js → instruction-discovery-f1bvj3rd.js} +25 -25
- package/dist/chunks/{credential-t0x5rdq8.js → instruction-discovery-fjmrr6sh.js} +9 -9
- package/dist/chunks/{credential-7vqdbxhf.js → instruction-discovery-frf5pa85.js} +21 -21
- package/dist/chunks/{credential-1398rwbr.js → instruction-discovery-fvt53xkj.js} +32 -32
- package/dist/chunks/{credential-fxbjtjnd.js → instruction-discovery-fxbjtjnd.js} +1 -1
- package/dist/chunks/{credential-w5837gkz.js → instruction-discovery-g01nxz4d.js} +1 -1
- package/dist/chunks/{credential-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-7g3h93b8.js → instruction-discovery-gn781x5c.js} +17 -17
- package/dist/chunks/{credential-05ffq7ws.js → instruction-discovery-gped56y4.js} +10 -10
- package/dist/chunks/{credential-5kzc33a4.js → instruction-discovery-gt0cxfk7.js} +1 -1
- package/dist/chunks/{credential-th5km1p3.js → instruction-discovery-gv6a8nnw.js} +5 -5
- package/dist/chunks/{credential-h03wrkyp.js → instruction-discovery-h03wrkyp.js} +2 -2
- package/dist/chunks/{credential-qjhwvxvx.js → instruction-discovery-h3e0pdjz.js} +18 -18
- package/dist/chunks/{credential-zcrvs66x.js → instruction-discovery-h57cfva4.js} +23 -23
- package/dist/chunks/{credential-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-ay8ez75v.js → instruction-discovery-haffsr0x.js} +32 -32
- package/dist/chunks/{credential-2feh4c3v.js → instruction-discovery-hb72rahq.js} +18 -18
- package/dist/chunks/{credential-yckq38a0.js → instruction-discovery-hbsxx67k.js} +22 -22
- package/dist/chunks/{credential-z56nne8r.js → instruction-discovery-hdfkmsb1.js} +38 -38
- package/dist/chunks/{credential-f828m53h.js → instruction-discovery-hdnk95c8.js} +2 -2
- package/dist/chunks/{credential-xmhy143a.js → instruction-discovery-hhfebk12.js} +6 -6
- package/dist/chunks/{credential-j4xyrz15.js → instruction-discovery-hhndk190.js} +17 -17
- package/dist/chunks/{credential-e82z9tr0.js → instruction-discovery-hjt4xg1x.js} +7 -7
- package/dist/chunks/{credential-zjmsgra3.js → instruction-discovery-hne3qtyj.js} +5 -5
- package/dist/chunks/{credential-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{credential-j5eg37j2.js → instruction-discovery-jcdkcw30.js} +23 -23
- package/dist/chunks/{credential-jpreg3hv.js → instruction-discovery-jg0vs890.js} +3 -3
- package/dist/chunks/{credential-7rr0m4bs.js → instruction-discovery-jrdjmdbf.js} +24 -24
- package/dist/chunks/{credential-6k8padng.js → instruction-discovery-jwm8j6jh.js} +9 -9
- package/dist/chunks/{credential-ywa477g8.js → instruction-discovery-jwqwxd9a.js} +35 -35
- package/dist/chunks/{credential-e9cy62py.js → instruction-discovery-jygyrd66.js} +4 -4
- package/dist/chunks/{credential-015cheya.js → instruction-discovery-jymdtt95.js} +4 -4
- package/dist/chunks/{credential-q928s5sj.js → instruction-discovery-ka2k270b.js} +8 -8
- package/dist/chunks/{credential-kg06axw8.js → instruction-discovery-kg06axw8.js} +1 -1
- package/dist/chunks/{credential-ybjz3e3p.js → instruction-discovery-kh9gj6fg.js} +2 -2
- package/dist/chunks/{credential-dda3kyyb.js → instruction-discovery-kksf6wrm.js} +11 -11
- package/dist/chunks/{credential-b15px6y4.js → instruction-discovery-kne26kkt.js} +27 -27
- package/dist/chunks/{credential-3g58nq9n.js → instruction-discovery-ktg44z5t.js} +171 -171
- package/dist/chunks/{credential-cfpkc3c9.js → instruction-discovery-m0jqrx5p.js} +2 -2
- package/dist/chunks/{credential-er05gb0t.js → instruction-discovery-m42hzdpg.js} +12 -12
- package/dist/chunks/{credential-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-h4e6gkjy.js → instruction-discovery-mfp3ds1s.js} +11 -11
- package/dist/chunks/{credential-mkcjrzeh.js → instruction-discovery-mkcjrzeh.js} +1 -1
- package/dist/chunks/{credential-fvn9gckt.js → instruction-discovery-mndr4ybt.js} +22 -22
- package/dist/chunks/{credential-mhkvc446.js → instruction-discovery-mvfsc1pv.js} +3 -3
- package/dist/chunks/{credential-pw9v3g6d.js → instruction-discovery-mw934p8z.js} +8 -8
- package/dist/chunks/{credential-qaf3yvw3.js → instruction-discovery-n0a61x39.js} +16 -16
- package/dist/chunks/{credential-6rm0dwms.js → instruction-discovery-n0yakzgj.js} +4 -4
- package/dist/chunks/{credential-ed29z705.js → instruction-discovery-n53pthfb.js} +4 -4
- package/dist/chunks/{credential-8r1kcnkf.js → instruction-discovery-n6v4qqax.js} +8 -8
- package/dist/chunks/{credential-aqsvh3mt.js → instruction-discovery-n7tqtybm.js} +4 -4
- package/dist/chunks/{credential-zetb5yra.js → instruction-discovery-na2veqbs.js} +4 -4
- package/dist/chunks/{credential-5dsh741q.js → instruction-discovery-ncfk57aw.js} +14 -14
- package/dist/chunks/{credential-djgrr753.js → instruction-discovery-np0e3ae6.js} +27 -27
- package/dist/chunks/{credential-z2ymbzcw.js → instruction-discovery-nrb4wwn8.js} +20 -20
- package/dist/chunks/{credential-d2aac7k2.js → instruction-discovery-nxhqveyz.js} +5 -5
- package/dist/chunks/{credential-mgpvk6q1.js → instruction-discovery-p14ehj6j.js} +17 -17
- package/dist/chunks/{credential-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{credential-n3yewg4x.js → instruction-discovery-pmmrp2gy.js} +8 -8
- package/dist/chunks/{credential-7hdna1a1.js → instruction-discovery-pqa1w537.js} +14 -14
- package/dist/chunks/{credential-qtnnx2m7.js → instruction-discovery-pzgnhxvj.js} +41 -41
- package/dist/chunks/{credential-58jet3bj.js → instruction-discovery-q0pezbdn.js} +24 -24
- package/dist/chunks/{credential-qrxqsn15.js → instruction-discovery-q8pd2zjz.js} +20 -20
- package/dist/chunks/{credential-snndsnj2.js → instruction-discovery-qahvmdvb.js} +43 -43
- package/dist/chunks/{credential-enjtf4g5.js → instruction-discovery-qhhwejbz.js} +26 -26
- package/dist/chunks/{credential-6640nxyp.js → instruction-discovery-qp85chj3.js} +18 -18
- package/dist/chunks/{credential-8w44pm91.js → instruction-discovery-qrfkxqda.js} +2 -2
- package/dist/chunks/{credential-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-ck0ahkdp.js → instruction-discovery-r3q6pmcz.js} +8 -8
- package/dist/chunks/{credential-4xe4npvy.js → instruction-discovery-r4mhm636.js} +20 -20
- package/dist/chunks/{credential-yp2x3t23.js → instruction-discovery-r8xr0va3.js} +4 -4
- package/dist/chunks/{credential-mxcvjysz.js → instruction-discovery-rdf939bf.js} +12 -12
- package/dist/chunks/{credential-xw0r27ex.js → instruction-discovery-rpg9c19m.js} +4 -4
- package/dist/chunks/{credential-hyd8y20x.js → instruction-discovery-s7731dqm.js} +2 -2
- package/dist/chunks/{credential-ayzmjt8w.js → instruction-discovery-sa02mddm.js} +34 -34
- package/dist/chunks/{credential-dtrk9gzb.js → instruction-discovery-sgm9fmvw.js} +22 -22
- package/dist/chunks/{credential-7fy1mpjh.js → instruction-discovery-sh9pyrtp.js} +20 -20
- package/dist/chunks/{credential-5jjjy8t8.js → instruction-discovery-spq00ka2.js} +10 -10
- package/dist/chunks/{credential-yx2kztkn.js → instruction-discovery-ss846j3y.js} +16 -16
- package/dist/chunks/{credential-tscy7q8w.js → instruction-discovery-t71m7ha1.js} +30 -30
- package/dist/chunks/{credential-hczynf47.js → instruction-discovery-t8111hhj.js} +9 -9
- package/dist/chunks/{credential-prhyc2hv.js → instruction-discovery-t8mcaem5.js} +1 -1
- package/dist/chunks/{credential-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-89znhe33.js → instruction-discovery-tcezcvh9.js} +4 -4
- package/dist/chunks/{credential-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{credential-shh6fz4q.js → instruction-discovery-tm7zr4pr.js} +4 -4
- package/dist/chunks/{credential-s7zpjck1.js → instruction-discovery-tnahabn5.js} +11 -11
- package/dist/chunks/{credential-v8tn9yq8.js → instruction-discovery-ts721f0v.js} +10 -10
- package/dist/chunks/{credential-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
- package/dist/chunks/{credential-s1y2e255.js → instruction-discovery-txw580h0.js} +42 -42
- package/dist/chunks/{credential-0wd4jbpn.js → instruction-discovery-v2cnm3g2.js} +11 -11
- package/dist/chunks/{credential-kxcd42x8.js → instruction-discovery-v9hj2zp6.js} +36 -36
- package/dist/chunks/{credential-aqapmjqb.js → instruction-discovery-v9txp1qz.js} +10 -10
- package/dist/chunks/{credential-vncycja5.js → instruction-discovery-ve4pfa0n.js} +4 -4
- package/dist/chunks/{credential-r7cr63pb.js → instruction-discovery-ve686vvv.js} +9 -9
- package/dist/chunks/{credential-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-trt7jtkk.js → instruction-discovery-vgae25ec.js} +11 -11
- package/dist/chunks/{credential-q312td4y.js → instruction-discovery-vqxxa0z6.js} +18 -18
- package/dist/chunks/{credential-h4j6qtac.js → instruction-discovery-vth3sqng.js} +12 -12
- package/dist/chunks/{credential-vnn0ngfa.js → instruction-discovery-vxrtct5k.js} +9 -9
- package/dist/chunks/{credential-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
- package/dist/chunks/{credential-essb66p0.js → instruction-discovery-w1xac8nv.js} +26 -26
- package/dist/chunks/{credential-mjanhrey.js → instruction-discovery-w2t9zb6q.js} +15 -15
- package/dist/chunks/{credential-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{credential-st6cv0zf.js → instruction-discovery-weg6n8ch.js} +41 -41
- package/dist/chunks/{credential-0m29xn9k.js → instruction-discovery-wpk9fyyk.js} +30 -30
- package/dist/chunks/{credential-rfs6vkg6.js → instruction-discovery-wqk5yr6e.js} +8 -8
- package/dist/chunks/{credential-y2vjxt4h.js → instruction-discovery-wv6hz6db.js} +9 -9
- package/dist/chunks/{credential-4p7g3wg8.js → instruction-discovery-x01696tg.js} +28 -28
- package/dist/chunks/{credential-dkgmj00c.js → instruction-discovery-x0e6qwje.js} +20 -20
- package/dist/chunks/{credential-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
- package/dist/chunks/{credential-x43y2vfs.js → instruction-discovery-x43y2vfs.js} +2 -2
- package/dist/chunks/{credential-cvs5r53p.js → instruction-discovery-xc1crrp1.js} +6 -6
- package/dist/chunks/{credential-089q26yp.js → instruction-discovery-xdet2c8p.js} +15 -15
- package/dist/chunks/{credential-h54g1dhn.js → instruction-discovery-xggv9zzh.js} +5 -5
- package/dist/chunks/{credential-ekab52cg.js → instruction-discovery-xj2v2q7r.js} +6 -6
- package/dist/chunks/{credential-cbtntvbe.js → instruction-discovery-xq1bh1bq.js} +7 -7
- package/dist/chunks/{credential-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-34jgwge8.js → instruction-discovery-y4j4htjy.js} +9 -9
- package/dist/chunks/{credential-3nxb9rvh.js → instruction-discovery-y5mrfvw4.js} +9 -9
- package/dist/chunks/{credential-v1szd0f8.js → instruction-discovery-y719r58y.js} +28 -28
- package/dist/chunks/{credential-f7ehr2sm.js → instruction-discovery-yb94xmg0.js} +9 -9
- package/dist/chunks/{credential-10w8kkbh.js → instruction-discovery-yh1xbxjs.js} +33 -33
- package/dist/chunks/{credential-2nycvdb8.js → instruction-discovery-yj348szg.js} +33 -33
- package/dist/chunks/{credential-rxpr5tzb.js → instruction-discovery-yn2mq5w8.js} +17 -17
- package/dist/chunks/{credential-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
- package/dist/chunks/{credential-yrznvahk.js → instruction-discovery-yrznvahk.js} +2 -2
- package/dist/chunks/{credential-7vx5fws8.js → instruction-discovery-yt1ptz87.js} +22 -22
- package/dist/chunks/{credential-rnnysrbx.js → instruction-discovery-yttr6rv8.js} +3 -3
- package/dist/chunks/{credential-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-z63w68vq.js → instruction-discovery-z63w68vq.js} +2 -2
- package/dist/chunks/{credential-b8q0kteq.js → instruction-discovery-z9pt3sjd.js} +4 -4
- package/dist/chunks/{credential-5z248baa.js → instruction-discovery-zb37q2qm.js} +11 -11
- package/dist/chunks/{credential-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
- package/dist/chunks/{credential-z1f4gy9p.js → instruction-discovery-zerdtc7d.js} +4 -4
- package/dist/chunks/{credential-4e4ycstq.js → instruction-discovery-zjgypzx6.js} +10 -10
- package/dist/chunks/{credential-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-ewhzqcma.js → instruction-discovery-zrntq85h.js} +7 -7
- package/dist/chunks/{credential-fwr271s3.js → instruction-discovery-zwb6xfp8.js} +24 -24
- package/dist/chunks/{credential-4naz9raq.js → instruction-discovery-zwsn0yg2.js} +6 -6
- package/dist/chunks/{credential-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- package/dist/chunks/{credential-cwmq7ztw.js → instruction-discovery-zxwpk2nb.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +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 +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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +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 +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- 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 +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- 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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- 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 +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +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 +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- 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 +91 -91
- package/package.json +8 -8
- package/dist/chunks/credential-4vjscmnp.js +0 -247
- package/dist/chunks/credential-6kdq0pjd.js +0 -4
- package/dist/chunks/credential-h2j3v1fy.js +0 -462
- package/dist/chunks/credential-qdyb70sk.js +0 -18
- package/dist/chunks/credential-tw6y6bmq.js +0 -22
- /package/dist/chunks/{credential-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a1tpkmh4.js → instruction-discovery-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-hrnqkpcd.js → instruction-discovery-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-paphc93g.js → instruction-discovery-paphc93g.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-twg0f83k.js → instruction-discovery-twg0f83k.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./instruction-discovery-gn781x5c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service24
|
|
9
|
+
} from "./instruction-discovery-1xj25msm.js";
|
|
10
10
|
import {
|
|
11
11
|
Service9
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-m42hzdpg.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service8
|
|
27
|
+
} from "./instruction-discovery-cssamdmg.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Plugin: () => Plugin28,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name10,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name10 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input10 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin28 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
61
|
+
const reader = yield* Service8;
|
|
62
|
+
const access = yield* Service24;
|
|
63
63
|
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service75;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name10,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input10,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin39 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent4 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name10, Input10, Plugin28, toModelContent4, exports_read };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./instruction-discovery-1ptb02zb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service7
|
|
6
|
+
} from "./instruction-discovery-fjmrr6sh.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin16
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin16 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service64;
|
|
26
|
+
const policy = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin22 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin16, exports_location_watcher2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-n53pthfb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service22,
|
|
6
|
+
Event6
|
|
7
|
+
} from "./instruction-discovery-yh1xbxjs.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -14,7 +14,7 @@ import { Effect, Stream } from "effect";
|
|
|
14
14
|
var ModelsDevPlugin2 = define({
|
|
15
15
|
id: "opencode.models.dev",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
|
-
const modelsDev = yield*
|
|
17
|
+
const modelsDev = yield* Service22;
|
|
18
18
|
const bus = yield* Service79;
|
|
19
19
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
20
20
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -49,7 +49,7 @@ var ModelsDevPlugin2 = define({
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
-
yield* bus.subscribe(
|
|
52
|
+
yield* bus.subscribe(Event6.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
55
|
function environmentNames(provider) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-spq00ka2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID17,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-c7ecgrk6.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-1nhndn61.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID17.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./instruction-discovery-1ptb02zb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./instruction-discovery-77vr9fvh.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin5,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin5 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service64;
|
|
28
|
+
const mcp = yield* Service39;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin5, register2, exports_mcp };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-n53pthfb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./instruction-discovery-09zd0szw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error4
|
|
9
|
+
} from "./instruction-discovery-8bzjxz67.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./instruction-discovery-rdf939bf.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-xj2v2q7r.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-6cb6sp75.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instruction-discovery-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instruction-discovery-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-hhfebk12.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service44;
|
|
58
|
+
const toolOutput = yield* Service50;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error4({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info23
|
|
7
|
+
} from "./instruction-discovery-ej2hdnaa.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info22
|
|
10
|
+
} from "./instruction-discovery-0e5r1skn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info19
|
|
13
|
+
} from "./instruction-discovery-3w2b2yj4.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info20
|
|
16
|
+
} from "./instruction-discovery-a46v4e4v.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info21
|
|
19
|
+
} from "./instruction-discovery-cmbqfntm.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instruction-discovery-21r38tys.js";
|
|
23
23
|
import {
|
|
24
24
|
Info16
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instruction-discovery-6anwy9fs.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info15
|
|
28
|
+
} from "./instruction-discovery-nxhqveyz.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instruction-discovery-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info17
|
|
34
|
+
} from "./instruction-discovery-510m7gjw.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./instruction-discovery-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info18
|
|
40
|
+
} from "./instruction-discovery-ve4pfa0n.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info14,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info14 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info9 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info20)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info18).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,21 +113,21 @@ var Info9 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info22), plan: Schema.optional(Info22) }), [Schema.Record(Schema.String, Info22)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info22),
|
|
119
|
+
build: Schema.optional(Info22),
|
|
120
|
+
general: Schema.optional(Info22),
|
|
121
|
+
explore: Schema.optional(Info22),
|
|
122
|
+
title: Schema.optional(Info22),
|
|
123
|
+
summary: Schema.optional(Info22),
|
|
124
|
+
compaction: Schema.optional(Info22)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info22)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info17)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info15, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info21).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
133
|
lsp: Schema.optional(Info16).annotate({
|
|
@@ -137,9 +137,9 @@ var Info9 = Schema.Struct({
|
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info23),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info19).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info9 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info14, exports_config2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-n53pthfb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./instruction-discovery-gn781x5c.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instruction-discovery-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info5,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service26,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node30
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service26 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service75;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service26.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node30 = makeLocationNode({
|
|
165
|
+
service: Service26,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node80, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service26, node30, exports_vcs };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./instruction-discovery-1ptb02zb.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin42,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin42 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service64;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -90,4 +90,4 @@ var Plugin5 = define({
|
|
|
90
90
|
})
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
export {
|
|
93
|
+
export { Plugin42, exports_warming };
|