@opencode/core 0.0.0-dev-19371 → 0.0.0-dev-19372
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 +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{instruction-discovery-jygyrd66.js → pty-02zskd6f.js} +4 -4
- package/dist/chunks/{instruction-discovery-r3q6pmcz.js → pty-07770t2t.js} +6 -6
- package/dist/chunks/{instruction-discovery-yb94xmg0.js → pty-0996nyz8.js} +9 -9
- package/dist/chunks/{instruction-discovery-eaj1djv9.js → pty-0gdmqesm.js} +8 -8
- package/dist/chunks/{instruction-discovery-mfp3ds1s.js → pty-0gg4eh9d.js} +11 -11
- package/dist/chunks/{instruction-discovery-0hpxrkyb.js → pty-0hpxrkyb.js} +2 -2
- package/dist/chunks/{instruction-discovery-y4j4htjy.js → pty-0jzeq7bg.js} +9 -9
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-t8mcaem5.js → pty-0pyqcms3.js} +1 -1
- package/dist/chunks/{instruction-discovery-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{instruction-discovery-jcdkcw30.js → pty-0wmswe57.js} +20 -20
- package/dist/chunks/{instruction-discovery-8gq8wjx2.js → pty-0x1qwe4m.js} +6 -6
- package/dist/chunks/{instruction-discovery-qhhwejbz.js → pty-0x4g6ndm.js} +16 -16
- package/dist/chunks/{instruction-discovery-5fhmv1q3.js → pty-0xkh6216.js} +23 -23
- package/dist/chunks/{instruction-discovery-4dxrwc2h.js → pty-102jvkd5.js} +65 -65
- package/dist/chunks/{instruction-discovery-7ng2f82v.js → pty-107fwvqp.js} +35 -35
- package/dist/chunks/{instruction-discovery-6cb6sp75.js → pty-14p0bf99.js} +4 -4
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-np0e3ae6.js → pty-1khr35v4.js} +27 -27
- package/dist/chunks/{instruction-discovery-fvt53xkj.js → pty-1y981vcy.js} +30 -30
- package/dist/chunks/{instruction-discovery-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-ej2hdnaa.js → pty-2pnhn36q.js} +21 -21
- package/dist/chunks/{instruction-discovery-z9pt3sjd.js → pty-2x9w7gwc.js} +4 -4
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → pty-33w4ejhs.js} +6 -6
- package/dist/chunks/{instruction-discovery-yh1xbxjs.js → pty-357v7vj3.js} +33 -33
- package/dist/chunks/{instruction-discovery-hhndk190.js → pty-3a50zsz9.js} +17 -17
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-x01696tg.js → pty-3mke1r8k.js} +28 -28
- package/dist/chunks/{instruction-discovery-zwb6xfp8.js → pty-3pmjwr1e.js} +24 -24
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-jg0vs890.js → pty-3zhfhk0f.js} +5 -5
- package/dist/chunks/{instruction-discovery-4s43gdt0.js → pty-40d8dwxk.js} +14 -14
- package/dist/chunks/{instruction-discovery-vxrtct5k.js → pty-41q0v4q7.js} +9 -9
- package/dist/chunks/{instruction-discovery-09zd0szw.js → pty-47fetphe.js} +33 -33
- package/dist/chunks/{instruction-discovery-hdfkmsb1.js → pty-4azybn4n.js} +36 -36
- package/dist/chunks/{instruction-discovery-yn2mq5w8.js → pty-4dfh6zmw.js} +9 -9
- package/dist/chunks/{instruction-discovery-jrdjmdbf.js → pty-4qv5c5xf.js} +26 -26
- package/dist/chunks/{instruction-discovery-2seywkaq.js → pty-4rph1v41.js} +13 -13
- package/dist/chunks/{instruction-discovery-exjxmebg.js → pty-4sksr709.js} +5 -5
- package/dist/chunks/{instruction-discovery-9875sft1.js → pty-4z80d8a9.js} +3 -3
- package/dist/chunks/{instruction-discovery-xdet2c8p.js → pty-51kcvgxx.js} +15 -15
- package/dist/chunks/{instruction-discovery-kh9gj6fg.js → pty-526v470z.js} +2 -2
- package/dist/chunks/{instruction-discovery-bjyhjfk1.js → pty-578n16w1.js} +29 -29
- package/dist/chunks/{instruction-discovery-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-t71m7ha1.js → pty-5g6xb262.js} +30 -30
- package/dist/chunks/{instruction-discovery-n6v4qqax.js → pty-5j4skxhh.js} +11 -11
- package/dist/chunks/{instruction-discovery-ss846j3y.js → pty-5j7h8n2k.js} +12 -12
- package/dist/chunks/{instruction-discovery-1d6q6my0.js → pty-5sjkzzsa.js} +46 -46
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-mndr4ybt.js → pty-5vs9ndt5.js} +26 -26
- package/dist/chunks/{instruction-discovery-e51w6w3b.js → pty-5zthbsee.js} +7 -7
- package/dist/chunks/{instruction-discovery-a8vp0knq.js → pty-60geffh5.js} +7 -7
- package/dist/chunks/{instruction-discovery-qahvmdvb.js → pty-6126dgt1.js} +46 -46
- package/dist/chunks/{instruction-discovery-dwhk5b05.js → pty-62k5e5wb.js} +20 -20
- package/dist/chunks/{instruction-discovery-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-2402vzrj.js → pty-6h73sxmp.js} +5 -5
- package/dist/chunks/{instruction-discovery-2bt6bea8.js → pty-6jnybvqn.js} +9 -9
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-en74w496.js → pty-6qw5vjfk.js} +5 -5
- package/dist/chunks/{instruction-discovery-hbsxx67k.js → pty-6xe913v8.js} +22 -22
- package/dist/chunks/{instruction-discovery-r4mhm636.js → pty-6zm1wyjc.js} +18 -18
- package/dist/chunks/{instruction-discovery-71q4at8m.js → pty-71q4at8m.js} +1 -1
- package/dist/chunks/{instruction-discovery-dskz157b.js → pty-76mrr06k.js} +41 -41
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-1xj25msm.js → pty-7ce2cjd5.js} +18 -18
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → pty-7dqw4kz8.js} +1 -1
- package/dist/chunks/{instruction-discovery-n7tqtybm.js → pty-7rjdtxkk.js} +4 -4
- package/dist/chunks/{instruction-discovery-pmmrp2gy.js → pty-7xggmshf.js} +8 -8
- package/dist/chunks/{instruction-discovery-y5mrfvw4.js → pty-81swgkk7.js} +9 -9
- package/dist/chunks/{instruction-discovery-1hc11dc4.js → pty-88sz8qcd.js} +4 -4
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-sa02mddm.js → pty-8gtqgsn5.js} +32 -32
- package/dist/chunks/{instruction-discovery-1nhndn61.js → pty-8kcmt1fk.js} +7 -7
- package/dist/chunks/{instruction-discovery-dj2t23y0.js → pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{instruction-discovery-93hpb89x.js → pty-8vct2pgr.js} +3 -3
- package/dist/chunks/{instruction-discovery-n53pthfb.js → pty-8w0tny4e.js} +4 -4
- package/dist/chunks/{instruction-discovery-ka2k270b.js → pty-9cg0vjy1.js} +8 -8
- package/dist/chunks/{instruction-discovery-vgae25ec.js → pty-9ef57syn.js} +11 -11
- package/dist/chunks/{instruction-discovery-07ag7k0e.js → pty-9fxpdq0y.js} +26 -26
- package/dist/chunks/{instruction-discovery-h3e0pdjz.js → pty-9m9t2a7k.js} +16 -16
- package/dist/chunks/{instruction-discovery-c7ecgrk6.js → pty-9p3b3m98.js} +6 -6
- package/dist/chunks/{instruction-discovery-5c4hm403.js → pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{instruction-discovery-1ka62ajm.js → pty-a1dptbm0.js} +18 -18
- package/dist/chunks/{instruction-discovery-kksf6wrm.js → pty-a31gkhvw.js} +11 -11
- package/dist/chunks/{instruction-discovery-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-5nsrms9d.js → pty-abkdt1xb.js} +1 -1
- package/dist/chunks/{instruction-discovery-hhfebk12.js → pty-ajghh6ra.js} +6 -6
- package/dist/chunks/{instruction-discovery-7bszj1cq.js → pty-an126cry.js} +28 -28
- package/dist/chunks/{instruction-discovery-wv6hz6db.js → pty-b1rqwz98.js} +9 -9
- package/dist/chunks/{instruction-discovery-3q1jyqhd.js → pty-b3wkxfg9.js} +1 -1
- package/dist/chunks/{instruction-discovery-cssamdmg.js → pty-b428793c.js} +15 -15
- package/dist/chunks/{instruction-discovery-6vmq095n.js → pty-b5svzbqe.js} +11 -11
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-2tbcxsee.js → pty-b7n25z46.js} +19 -19
- package/dist/chunks/{instruction-discovery-qrfkxqda.js → pty-bagg3g1z.js} +2 -2
- package/dist/chunks/{instruction-discovery-y719r58y.js → pty-bgks4w36.js} +28 -28
- package/dist/chunks/{instruction-discovery-be85q6rn.js → pty-bh8p3ktg.js} +6 -6
- package/dist/chunks/{instruction-discovery-32zkwxf4.js → pty-bw8xqn9c.js} +53 -53
- package/dist/chunks/{instruction-discovery-2vvechqa.js → pty-bxft0ra9.js} +32 -32
- package/dist/chunks/pty-by5v678g.js +18 -0
- package/dist/chunks/{instruction-discovery-1ptb02zb.js → pty-c487kk09.js} +41 -41
- package/dist/chunks/{instruction-discovery-a823mjcm.js → pty-c4twzx9w.js} +22 -22
- package/dist/chunks/{instruction-discovery-hne3qtyj.js → pty-c9cenec4.js} +5 -5
- package/dist/chunks/{instruction-discovery-1wxb385z.js → pty-cd4mc13g.js} +1 -1
- package/dist/chunks/{instruction-discovery-cmbqfntm.js → pty-cf3tj770.js} +5 -5
- package/dist/chunks/{instruction-discovery-zwsn0yg2.js → pty-cf7stcnz.js} +6 -6
- package/dist/chunks/{instruction-discovery-m0jqrx5p.js → pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instruction-discovery-t8111hhj.js → pty-cgs7ndjq.js} +9 -9
- package/dist/chunks/{instruction-discovery-jwm8j6jh.js → pty-cj4mykbe.js} +9 -9
- package/dist/chunks/{instruction-discovery-dht98sv3.js → pty-cjr8y0wq.js} +20 -20
- package/dist/chunks/{instruction-discovery-4c8bw516.js → pty-cny5rd43.js} +8 -8
- package/dist/chunks/{instruction-discovery-2rpj59nm.js → pty-crd48we5.js} +83 -83
- package/dist/chunks/{instruction-discovery-cf8tr9ph.js → pty-cwtk2d1m.js} +6 -6
- package/dist/chunks/{instruction-discovery-cc5pkwqg.js → pty-d1f48wm0.js} +47 -47
- package/dist/chunks/{instruction-discovery-77vr9fvh.js → pty-dcdbx179.js} +43 -43
- package/dist/chunks/{instruction-discovery-d13x8xp9.js → pty-ddmrj1q7.js} +27 -27
- package/dist/chunks/{instruction-discovery-rpg9c19m.js → pty-dhmh7aw6.js} +4 -4
- package/dist/chunks/{instruction-discovery-844ef7ks.js → pty-dv1qgsyq.js} +8 -8
- package/dist/chunks/{instruction-discovery-1rjn7b92.js → pty-e1sywrpy.js} +4 -4
- package/dist/chunks/{instruction-discovery-xggv9zzh.js → pty-eea9n1gg.js} +5 -5
- package/dist/chunks/{instruction-discovery-p14ehj6j.js → pty-eg20r4ae.js} +17 -17
- package/dist/chunks/{instruction-discovery-2nnczm4n.js → pty-egkwkxxa.js} +85 -85
- package/dist/chunks/{instruction-discovery-mvfsc1pv.js → pty-eq1pz5kg.js} +3 -3
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-vth3sqng.js → pty-ewyzxja9.js} +10 -10
- package/dist/chunks/{instruction-discovery-90e5nz4z.js → pty-exrwhhqk.js} +4 -4
- package/dist/chunks/{instruction-discovery-s7731dqm.js → pty-ezs85qj9.js} +2 -2
- package/dist/chunks/{instruction-discovery-dbd00eyb.js → pty-f242nvhy.js} +6 -6
- package/dist/chunks/{instruction-discovery-r8xr0va3.js → pty-f2n192rq.js} +4 -4
- package/dist/chunks/{instruction-discovery-weg6n8ch.js → pty-f4dw8gwj.js} +38 -38
- package/dist/chunks/{instruction-discovery-hdnk95c8.js → pty-f828m53h.js} +2 -2
- package/dist/chunks/{instruction-discovery-nrb4wwn8.js → pty-f9dcx0s3.js} +20 -20
- package/dist/chunks/{instruction-discovery-0fm4fvvj.js → pty-feebpcf8.js} +23 -23
- package/dist/chunks/{instruction-discovery-3w2b2yj4.js → pty-fpmq6gma.js} +5 -5
- package/dist/chunks/{instruction-discovery-pzgnhxvj.js → pty-fr2caje5.js} +41 -41
- package/dist/chunks/{instruction-discovery-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instruction-discovery-yttr6rv8.js → pty-g254301b.js} +3 -3
- package/dist/chunks/{instruction-discovery-3mwx79t2.js → pty-gcbpht8g.js} +20 -20
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-83x6p9kd.js → pty-gf4qtxm6.js} +1 -1
- package/dist/chunks/{instruction-discovery-7vc0yr26.js → pty-ghe33san.js} +15 -15
- package/dist/chunks/{instruction-discovery-66r9f6z1.js → pty-ghrzdqqx.js} +5 -5
- package/dist/chunks/{instruction-discovery-zerdtc7d.js → pty-gj9xpvv3.js} +2 -2
- package/dist/chunks/{instruction-discovery-4g2w7pq2.js → pty-gqqez5b8.js} +9 -9
- package/dist/chunks/{instruction-discovery-gped56y4.js → pty-gtjpq3yd.js} +10 -10
- package/dist/chunks/{instruction-discovery-3fqhs30r.js → pty-gvvw2n81.js} +11 -11
- package/dist/chunks/{instruction-discovery-frf5pa85.js → pty-gw1k03mf.js} +21 -21
- package/dist/chunks/{instruction-discovery-haffsr0x.js → pty-gy3ftesa.js} +30 -30
- package/dist/chunks/{instruction-discovery-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-7bjy8qnq.js → pty-h91yv7bq.js} +12 -12
- package/dist/chunks/{instruction-discovery-510m7gjw.js → pty-hcz3zddy.js} +5 -5
- package/dist/chunks/{instruction-discovery-1a3gk442.js → pty-hdsygwhy.js} +15 -15
- package/dist/chunks/{instruction-discovery-ts721f0v.js → pty-hv7vaf99.js} +10 -10
- package/dist/chunks/{instruction-discovery-xq1bh1bq.js → pty-hw55hn24.js} +7 -7
- package/dist/chunks/pty-j4rqb0e8.js +462 -0
- package/dist/chunks/{instruction-discovery-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-paphc93g.js → pty-j935v87r.js} +2 -2
- package/dist/chunks/pty-jcst6tya.js +247 -0
- package/dist/chunks/{instruction-discovery-9edcvf27.js → pty-jefma2gq.js} +10 -10
- package/dist/chunks/{instruction-discovery-v9txp1qz.js → pty-jfdrs8g9.js} +10 -10
- package/dist/chunks/{instruction-discovery-a46v4e4v.js → pty-jfqtm2ew.js} +4 -4
- package/dist/chunks/{instruction-discovery-n0a61x39.js → pty-jjc2e0wf.js} +16 -16
- package/dist/chunks/{instruction-discovery-5s33gdzw.js → pty-jrvvap85.js} +18 -18
- package/dist/chunks/{instruction-discovery-0ex6px1z.js → pty-jsaewa63.js} +8 -8
- package/dist/chunks/{instruction-discovery-eh5zsyp8.js → pty-jt2m25jy.js} +9 -9
- package/dist/chunks/{instruction-discovery-b2zyk4ye.js → pty-jxcvs55h.js} +13 -13
- package/dist/chunks/{instruction-discovery-avhz3daf.js → pty-jy3rk2pm.js} +17 -17
- package/dist/chunks/{instruction-discovery-jwqwxd9a.js → pty-k8a0mrdq.js} +38 -38
- package/dist/chunks/{instruction-discovery-yt1ptz87.js → pty-ken34rgm.js} +20 -20
- package/dist/chunks/{instruction-discovery-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{instruction-discovery-516fypfz.js → pty-khy2t77v.js} +30 -30
- package/dist/chunks/{instruction-discovery-txw580h0.js → pty-kjr2p1gf.js} +40 -40
- package/dist/chunks/{instruction-discovery-n0yakzgj.js → pty-kv3072p9.js} +4 -4
- package/dist/chunks/{instruction-discovery-na2veqbs.js → pty-kwgqzsmm.js} +4 -4
- package/dist/chunks/{instruction-discovery-6fd16rw2.js → pty-m0f7gyab.js} +23 -23
- package/dist/chunks/{instruction-discovery-7wp5vt1y.js → pty-m0pn08h0.js} +11 -11
- package/dist/chunks/{instruction-discovery-75rf4veb.js → pty-m2r7xkr0.js} +20 -20
- package/dist/chunks/{instruction-discovery-hb72rahq.js → pty-m5aw9kqs.js} +14 -14
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-0kb9m1f6.js → pty-mf3kdcv1.js} +10 -10
- package/dist/chunks/{instruction-discovery-mkcjrzeh.js → pty-mkcjrzeh.js} +1 -1
- package/dist/chunks/{instruction-discovery-eh92xjb9.js → pty-mnewsc6w.js} +34 -34
- package/dist/chunks/{instruction-discovery-tm7zr4pr.js → pty-mqy0jkn2.js} +4 -4
- package/dist/chunks/{instruction-discovery-nxhqveyz.js → pty-mtft99cd.js} +5 -5
- package/dist/chunks/{instruction-discovery-vqxxa0z6.js → pty-mwva2wqz.js} +15 -15
- package/dist/chunks/{instruction-discovery-kne26kkt.js → pty-nfk4q15c.js} +27 -27
- package/dist/chunks/{instruction-discovery-gt0cxfk7.js → pty-ng5shs3s.js} +1 -1
- package/dist/chunks/{instruction-discovery-hjt4xg1x.js → pty-nhy5jxhy.js} +4 -4
- package/dist/chunks/{instruction-discovery-w1xac8nv.js → pty-nw5w3cjp.js} +26 -26
- package/dist/chunks/{instruction-discovery-fjmrr6sh.js → pty-p1wf2k30.js} +9 -9
- package/dist/chunks/{instruction-discovery-5zem9v7d.js → pty-p9ts1dg8.js} +13 -13
- package/dist/chunks/{instruction-discovery-sgm9fmvw.js → pty-pc04q47q.js} +22 -22
- package/dist/chunks/{instruction-discovery-yj348szg.js → pty-pe79rxdj.js} +33 -33
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-ve686vvv.js → pty-pqd1mzxt.js} +9 -9
- package/dist/chunks/{instruction-discovery-wpk9fyyk.js → pty-q1bbvmq4.js} +25 -25
- package/dist/chunks/{instruction-discovery-71m7qv0m.js → pty-q1hjdkpd.js} +11 -11
- package/dist/chunks/{instruction-discovery-wqk5yr6e.js → pty-q1tx050w.js} +8 -8
- package/dist/chunks/{instruction-discovery-ccedsq4e.js → pty-q24fq4k9.js} +9 -9
- package/dist/chunks/{instruction-discovery-7xbncs63.js → pty-q6rs4hjt.js} +57 -57
- package/dist/chunks/{instruction-discovery-6fs1bwmd.js → pty-qgp720zn.js} +19 -19
- package/dist/chunks/{instruction-discovery-xj2v2q7r.js → pty-qgy2rw28.js} +9 -9
- package/dist/chunks/{instruction-discovery-gn781x5c.js → pty-qpw0y00r.js} +16 -16
- package/dist/chunks/{instruction-discovery-ve4pfa0n.js → pty-qq11w61w.js} +4 -4
- package/dist/chunks/{instruction-discovery-013av1x8.js → pty-qr736bxy.js} +14 -14
- package/dist/chunks/{instruction-discovery-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-6anwy9fs.js → pty-qz49fwgp.js} +6 -6
- package/dist/chunks/{instruction-discovery-xc1crrp1.js → pty-qzdews7q.js} +6 -6
- package/dist/chunks/{instruction-discovery-ev4g7n3e.js → pty-r0xf0e5c.js} +23 -23
- package/dist/chunks/{instruction-discovery-ncfk57aw.js → pty-r8febyms.js} +14 -14
- package/dist/chunks/{instruction-discovery-8bk6ht13.js → pty-r8nahq2d.js} +15 -15
- package/dist/chunks/{instruction-discovery-3wrtxrr4.js → pty-rbygrj0c.js} +6 -6
- package/dist/chunks/{instruction-discovery-jymdtt95.js → pty-refnp3pv.js} +4 -4
- package/dist/chunks/{instruction-discovery-spq00ka2.js → pty-rkg39e93.js} +10 -10
- package/dist/chunks/pty-rnevd4w8.js +22 -0
- package/dist/chunks/{instruction-discovery-6q6sza9m.js → pty-rrdk89a5.js} +21 -21
- package/dist/chunks/{instruction-discovery-cyr4v3cw.js → pty-rssnh3zg.js} +24 -24
- package/dist/chunks/{instruction-discovery-h57cfva4.js → pty-rxjhrqx1.js} +23 -23
- package/dist/chunks/{instruction-discovery-bv2fytjm.js → pty-rxyhbgbe.js} +20 -20
- package/dist/chunks/{instruction-discovery-zjgypzx6.js → pty-rzyzyf97.js} +5 -5
- package/dist/chunks/{instruction-discovery-m42hzdpg.js → pty-s0fyf8fb.js} +19 -19
- package/dist/chunks/{instruction-discovery-yrznvahk.js → pty-s4enseaf.js} +2 -2
- package/dist/chunks/{instruction-discovery-42n6z8pq.js → pty-s4sy206n.js} +30 -30
- package/dist/chunks/{instruction-discovery-mw934p8z.js → pty-s8bz6z4k.js} +8 -8
- package/dist/chunks/{instruction-discovery-24gjgxem.js → pty-sgaqms2z.js} +17 -17
- package/dist/chunks/{instruction-discovery-x0e6qwje.js → pty-sgvsg5c7.js} +13 -13
- package/dist/chunks/{instruction-discovery-zb37q2qm.js → pty-sr4mx09d.js} +11 -11
- package/dist/chunks/{instruction-discovery-f1bvj3rd.js → pty-szjmac0q.js} +17 -17
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-zrntq85h.js → pty-te0vzhy5.js} +10 -10
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → pty-th5km1p3.js} +5 -5
- package/dist/chunks/{instruction-discovery-2n6x26ww.js → pty-tp2tr8k0.js} +3 -3
- package/dist/chunks/{instruction-discovery-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-dc5a176q.js → pty-tzaf1sec.js} +13 -13
- package/dist/chunks/{instruction-discovery-d3k4bsrs.js → pty-v1y1zkts.js} +6 -6
- package/dist/chunks/{instruction-discovery-v9hj2zp6.js → pty-v6wk655t.js} +34 -34
- package/dist/chunks/{instruction-discovery-edbfpfck.js → pty-v8jfbz3g.js} +6 -6
- package/dist/chunks/{instruction-discovery-g01nxz4d.js → pty-v9cmgtcf.js} +1 -1
- package/dist/chunks/{instruction-discovery-rdf939bf.js → pty-vaynpwqg.js} +12 -12
- package/dist/chunks/{instruction-discovery-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-2tfmgkzg.js → pty-vkxpz7g2.js} +4 -4
- package/dist/chunks/{instruction-discovery-zxwpk2nb.js → pty-vyqtz9n7.js} +1 -1
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-7ynajkh9.js → pty-w7zd1bg5.js} +26 -26
- package/dist/chunks/{instruction-discovery-56yety9r.js → pty-w8dmehha.js} +37 -37
- package/dist/chunks/{instruction-discovery-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-7gqvs912.js → pty-wf7nhwxb.js} +18 -18
- package/dist/chunks/{instruction-discovery-pqa1w537.js → pty-wnqzfj2j.js} +10 -10
- package/dist/chunks/{instruction-discovery-qp85chj3.js → pty-wreggwv7.js} +18 -18
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-x43y2vfs.js → pty-x43y2vfs.js} +2 -2
- package/dist/chunks/{instruction-discovery-8bzjxz67.js → pty-xa6by1f1.js} +24 -24
- package/dist/chunks/{instruction-discovery-q8pd2zjz.js → pty-xdzdvgbv.js} +15 -15
- package/dist/chunks/{instruction-discovery-bbrn9wt5.js → pty-xj584aw0.js} +11 -11
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{instruction-discovery-tnahabn5.js → pty-yfbmjfv9.js} +11 -11
- package/dist/chunks/{instruction-discovery-sh9pyrtp.js → pty-ym4367vb.js} +20 -20
- package/dist/chunks/{instruction-discovery-w2t9zb6q.js → pty-yntqacmd.js} +15 -15
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-4mkcvr19.js → pty-yww5gzhe.js} +5 -5
- package/dist/chunks/{instruction-discovery-d25rvqmh.js → pty-yy158baq.js} +11 -11
- package/dist/chunks/{instruction-discovery-ktg44z5t.js → pty-yzsvg0b0.js} +162 -162
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-9bkp3vk6.js → pty-z5c2cr5p.js} +14 -14
- package/dist/chunks/{instruction-discovery-v2cnm3g2.js → pty-z5wc9zep.js} +11 -11
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-5sb8wf39.js → pty-zjqdssy0.js} +16 -16
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-q0pezbdn.js → pty-zvpdk192.js} +24 -24
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-0e5r1skn.js → pty-zyr433b0.js} +11 -11
- 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 +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- 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 +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +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 +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +87 -87
- 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 +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +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 +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 +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 +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 +6 -6
- 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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +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 +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +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 +118 -118
- 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 +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +103 -103
- 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 +3 -3
- 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 +5 -5
- 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 +1 -1
- 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 +72 -72
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-0j1a1t13.js +0 -22
- package/dist/chunks/instruction-discovery-4yx2wtwn.js +0 -247
- package/dist/chunks/instruction-discovery-619r8v3y.js +0 -18
- package/dist/chunks/instruction-discovery-chckjpc4.js +0 -462
- /package/dist/chunks/{instruction-discovery-0mesazry.js → pty-0mesazry.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./pty-c487kk09.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service70
|
|
13
|
+
} from "./pty-3pmjwr1e.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./pty-jy3rk2pm.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service51
|
|
19
|
+
} from "./pty-q6rs4hjt.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service13,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-7ce2cjd5.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service73,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-gw1k03mf.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service63
|
|
37
|
+
} from "./pty-d1f48wm0.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service25
|
|
40
|
+
} from "./pty-crd48we5.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./pty-refnp3pv.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./pty-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin13,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name12 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input12 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin13 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service25;
|
|
122
|
+
const jobs = yield* Service50;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service70;
|
|
125
|
+
const access = yield* Service13;
|
|
126
|
+
const shell = yield* Service63;
|
|
127
|
+
const shellSelect = yield* Service73;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service51;
|
|
130
|
+
const config = yield* Service67;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin21 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name12,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin21 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name12,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input12,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin21 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name12,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name12];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin13, exports_shell };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-8w0tny4e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./pty-qpw0y00r.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-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: () => Info30,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service75,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node80
|
|
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 Info30, 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 Service75 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
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(Service26, 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(Info30));
|
|
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(Service26, 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 Service75.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(Service26, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node80 = makeLocationNode({
|
|
165
|
+
service: Service75,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info30, Mode2, DiffError2, Service75, node80, exports_vcs };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse5,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse5(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse4(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse5(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node13 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node13, exports_discovery };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./pty-9p3b3m98.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID16.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID16.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-rkg39e93.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-8w0tny4e.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./pty-5g6xb262.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-q1bbvmq4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9p3b3m98.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-8kcmt1fk.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID16.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const tokens = new Map;
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID16.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID16.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID16.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
170
|
-
yield* bus.subscribe(
|
|
170
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
171
171
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
172
|
-
if (evt.model.providerID !==
|
|
172
|
+
if (evt.model.providerID !== ID16.azure)
|
|
173
173
|
return;
|
|
174
|
-
const connection = yield* ctx.integration.connection.active(
|
|
174
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
175
175
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
})) : undefined;
|
|
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID16.azure });
|
|
188
188
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
189
189
|
if (evt.package !== "@ai-sdk/azure")
|
|
190
190
|
return;
|
|
191
|
-
if (evt.model.providerID ===
|
|
191
|
+
if (evt.model.providerID === ID16.azure) {
|
|
192
192
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
193
193
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
194
194
|
}
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
evt.sdk = mod.createAzure(evt.options);
|
|
198
198
|
}));
|
|
199
199
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
200
|
-
if (evt.model.providerID !==
|
|
200
|
+
if (evt.model.providerID !== ID16.azure)
|
|
201
201
|
return;
|
|
202
202
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
203
203
|
}));
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-8w0tny4e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./pty-mf3kdcv1.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service34,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-by5v678g.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-yzsvg0b0.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service34,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node24
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service79;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service74;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service34.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node24 = Node.makeLocationNode({
|
|
226
|
+
service: Service34,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node24, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|