@opencode/core 0.0.0-dev-147 → 0.0.0-dev-149
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{command-wy39txpv.js → plugin-023350j2.js} +25 -25
- package/dist/chunks/{command-d3q76dbt.js → plugin-02xem3g7.js} +13 -13
- package/dist/chunks/{command-v4ek9rx4.js → plugin-0artd7x6.js} +6 -6
- package/dist/chunks/{command-3571pbex.js → plugin-0b7gzexh.js} +8 -8
- package/dist/chunks/{command-nbg58ndn.js → plugin-0byhdbpk.js} +38 -38
- package/dist/chunks/{command-jjg0fd2w.js → plugin-0gc20grr.js} +30 -30
- package/dist/chunks/{command-bghtn7x8.js → plugin-0j0hgpg3.js} +32 -32
- package/dist/chunks/{command-vjy3t4hp.js → plugin-0sp0v5x6.js} +15 -15
- package/dist/chunks/{command-p62jemgq.js → plugin-0vypjg2b.js} +11 -11
- package/dist/chunks/{command-bxbgm0np.js → plugin-0xhcwp0e.js} +24 -24
- package/dist/chunks/{command-bqne9xnh.js → plugin-0zfb02tz.js} +15 -15
- package/dist/chunks/{command-htb45g8t.js → plugin-10krap29.js} +11 -11
- package/dist/chunks/{command-8jztxfpf.js → plugin-11hfp36g.js} +4 -4
- package/dist/chunks/{command-1csrjc8n.js → plugin-13sfv54y.js} +5 -5
- package/dist/chunks/{command-xsmvaqb0.js → plugin-197frfyp.js} +12 -12
- package/dist/chunks/{command-gtn9c16a.js → plugin-1kn6jdkn.js} +4 -4
- package/dist/chunks/{command-1x2knyw4.js → plugin-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-vpfvr7pj.js → plugin-1xpesaja.js} +47 -47
- package/dist/chunks/{command-204s3925.js → plugin-204s3925.js} +1 -1
- package/dist/chunks/{command-zg0jbn27.js → plugin-26x8chrq.js} +6 -6
- package/dist/chunks/{command-1ep2p91f.js → plugin-27w5k9zf.js} +2 -2
- package/dist/chunks/{command-e1jp2z5s.js → plugin-2aj7fkzc.js} +8 -8
- package/dist/chunks/{command-q5hbf1bz.js → plugin-2bf9kvgn.js} +1 -1
- package/dist/chunks/{command-jtz26s32.js → plugin-2cy9cbrx.js} +11 -11
- package/dist/chunks/{command-2x6gw633.js → plugin-2dpmrcw8.js} +31 -31
- package/dist/chunks/{command-ysp28c2z.js → plugin-2gyck6q0.js} +5 -5
- package/dist/chunks/{command-fm82e0z4.js → plugin-2ht51f9z.js} +6 -6
- package/dist/chunks/{command-rcbjwvze.js → plugin-2mbjfaxd.js} +4 -4
- package/dist/chunks/{command-wze2rh1w.js → plugin-2n0r37q4.js} +12 -12
- package/dist/chunks/{command-kkew1p9e.js → plugin-2yvtks3w.js} +3 -3
- package/dist/chunks/{command-kqgx07am.js → plugin-3167kh59.js} +3 -3
- package/dist/chunks/{command-n3bkb5q1.js → plugin-31z3tt8p.js} +5 -5
- package/dist/chunks/{command-ayeq9fxf.js → plugin-360yt0tf.js} +8 -8
- package/dist/chunks/{command-qygtycqa.js → plugin-36cj4gmt.js} +9 -9
- package/dist/chunks/{command-a20g6ne5.js → plugin-37eted7f.js} +16 -16
- package/dist/chunks/{command-4drgpw32.js → plugin-38adaqc0.js} +5 -5
- package/dist/chunks/{command-rpkw1g3t.js → plugin-38hqgsk1.js} +28 -28
- package/dist/chunks/{command-bfaa3fyj.js → plugin-38qaxswc.js} +9 -9
- package/dist/chunks/{command-ayjs7tqn.js → plugin-3cbjf1nt.js} +2 -2
- package/dist/chunks/{command-wa02e4w7.js → plugin-3gp97vax.js} +25 -25
- package/dist/chunks/{command-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3kdbrncp.js → plugin-3kdbrncp.js} +2 -2
- package/dist/chunks/{command-3nnrz6f6.js → plugin-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-17v1k4r5.js → plugin-3rcscnb1.js} +4 -4
- package/dist/chunks/{command-frhmmft9.js → plugin-3tjrgpk4.js} +12 -12
- package/dist/chunks/{command-cpzme4dc.js → plugin-3vwws94n.js} +20 -20
- package/dist/chunks/{command-jd1hqz7r.js → plugin-3ytse99a.js} +2 -2
- package/dist/chunks/{command-zma8kk4y.js → plugin-42rqyp4k.js} +20 -20
- package/dist/chunks/{command-wrtc07rs.js → plugin-43e24x2b.js} +12 -12
- package/dist/chunks/{command-2440020h.js → plugin-457hahnb.js} +14 -14
- package/dist/chunks/{command-4pyp9zr9.js → plugin-4pyp9zr9.js} +1 -1
- package/dist/chunks/{command-4v008n1t.js → plugin-4v008n1t.js} +1 -1
- package/dist/chunks/{command-54hpetsb.js → plugin-5kb7v1wv.js} +23 -23
- package/dist/chunks/{command-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-20hs3de4.js → plugin-5qrcxmcm.js} +35 -35
- package/dist/chunks/{command-p7vhpwh8.js → plugin-5zrxpy3q.js} +5 -5
- package/dist/chunks/{command-da8fh3w6.js → plugin-60k7rxvs.js} +13 -13
- package/dist/chunks/{command-m6ss8v1v.js → plugin-623yr967.js} +6 -6
- package/dist/chunks/{command-s4wh0s60.js → plugin-64c707zx.js} +4 -4
- package/dist/chunks/{command-hbyynrh9.js → plugin-6c2a7p2k.js} +18 -18
- package/dist/chunks/{command-6esdw8yj.js → plugin-6esdw8yj.js} +1 -1
- package/dist/chunks/{command-76cb1hcw.js → plugin-76cb1hcw.js} +1 -1
- package/dist/chunks/{command-770pw0s1.js → plugin-770pw0s1.js} +1 -1
- package/dist/chunks/{command-5xkp6yc1.js → plugin-79cgpb4a.js} +11 -11
- package/dist/chunks/{command-6nkfgcmr.js → plugin-7aq8rkr3.js} +23 -23
- package/dist/chunks/{command-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-3pcdyetm.js → plugin-7fvcpx9m.js} +12 -12
- package/dist/chunks/{command-fxd1refm.js → plugin-7smxv6qm.js} +9 -9
- package/dist/chunks/{command-7w2ypzdf.js → plugin-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-1sp5hyz3.js → plugin-7x516nkt.js} +46 -46
- package/dist/chunks/{command-bw7z95jg.js → plugin-7ycxtgxb.js} +35 -35
- package/dist/chunks/{command-9fktqme4.js → plugin-7yz3nkr2.js} +21 -21
- package/dist/chunks/{command-0qkbb4f9.js → plugin-82776bsn.js} +12 -12
- package/dist/chunks/{command-t646ab44.js → plugin-8ft3xw2m.js} +5 -5
- package/dist/chunks/{command-zxjgzmwm.js → plugin-8jvwjrps.js} +54 -54
- package/dist/chunks/{command-zkgb2v1a.js → plugin-8n7h5d4s.js} +27 -27
- package/dist/chunks/{command-pnwsrq7c.js → plugin-8rgb2cvr.js} +11 -11
- package/dist/chunks/{command-sr40d3da.js → plugin-8w7pper6.js} +5 -5
- package/dist/chunks/{command-8wtp7s3z.js → plugin-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-90zstvax.js → plugin-90zstvax.js} +1 -1
- package/dist/chunks/{command-fjxznerj.js → plugin-91y6r506.js} +13 -13
- package/dist/chunks/{command-1me66rte.js → plugin-927xh9nh.js} +45 -45
- package/dist/chunks/{command-3fcp3vfx.js → plugin-93a9jndt.js} +34 -34
- package/dist/chunks/{command-yqw7dbm9.js → plugin-96h9ajm3.js} +23 -23
- package/dist/chunks/{command-sje0z0tk.js → plugin-97c5t57a.js} +18 -18
- package/dist/chunks/{command-tg5s95kk.js → plugin-9brshkr5.js} +17 -17
- package/dist/chunks/{command-8etsby8r.js → plugin-9dja39nt.js} +50 -50
- package/dist/chunks/{command-d3xp083n.js → plugin-9ebmah4g.js} +11 -11
- package/dist/chunks/{command-0anyt1n6.js → plugin-9f3sjfep.js} +9 -9
- package/dist/chunks/{command-r8ygw0sc.js → plugin-9hr3w0ac.js} +18 -18
- package/dist/chunks/{command-6h4b9nqg.js → plugin-9kpkhjk2.js} +8 -8
- package/dist/chunks/{command-5c3dvsd0.js → plugin-a01n3spq.js} +52 -52
- package/dist/chunks/{command-v7xj81rq.js → plugin-a15jtcfa.js} +3 -3
- package/dist/chunks/{command-rjm1mwc3.js → plugin-a3vjmkxr.js} +2 -2
- package/dist/chunks/{command-hdfrs5mg.js → plugin-af0k6e03.js} +9 -9
- package/dist/chunks/{command-034tev2y.js → plugin-aj7mw0zk.js} +2 -2
- package/dist/chunks/{command-8k289es9.js → plugin-ajnhcgwj.js} +15 -15
- package/dist/chunks/{command-3ebws65w.js → plugin-amcehceb.js} +4 -4
- package/dist/chunks/{command-7f7rnj0t.js → plugin-atx93y9v.js} +11 -11
- package/dist/chunks/{command-b6vsg801.js → plugin-b6vsg801.js} +2 -2
- package/dist/chunks/{command-ata4hxyc.js → plugin-b8987e27.js} +9 -9
- package/dist/chunks/{command-v38aff5x.js → plugin-bb2gy873.js} +30 -30
- package/dist/chunks/{command-5s47xvcx.js → plugin-bcastkv0.js} +13 -13
- package/dist/chunks/{command-gs31mcp0.js → plugin-bddgjnn0.js} +20 -20
- package/dist/chunks/{command-8vdz7xys.js → plugin-brtbsxkn.js} +11 -11
- package/dist/chunks/{command-2fr8hm5d.js → plugin-bycfeyc6.js} +16 -16
- package/dist/chunks/{command-0ns80rp4.js → plugin-c1qqsdsb.js} +15 -15
- package/dist/chunks/{command-yhv04qhe.js → plugin-cn335rzh.js} +3 -3
- package/dist/chunks/{command-vnbbybtr.js → plugin-cr66ykxa.js} +34 -34
- package/dist/chunks/{command-cwrgdav8.js → plugin-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-z2sxkq9m.js → plugin-d2w1yggf.js} +11 -11
- package/dist/chunks/{command-t2r27f6d.js → plugin-d3ssywhq.js} +14 -14
- package/dist/chunks/{command-5jvt7m5p.js → plugin-d4qn5jcn.js} +23 -23
- package/dist/chunks/{command-d4v9tmah.js → plugin-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-kmzgegqq.js → plugin-ddvn7d3w.js} +8 -8
- package/dist/chunks/{command-p745vxmt.js → plugin-drvbhkez.js} +8 -8
- package/dist/chunks/{command-dt77769w.js → plugin-dt77769w.js} +1 -1
- package/dist/chunks/{command-8dk4kc5x.js → plugin-dys0nn3x.js} +14 -14
- package/dist/chunks/{command-p9p598qb.js → plugin-e2ry9241.js} +33 -33
- package/dist/chunks/{command-tar054ab.js → plugin-e4tm35ss.js} +45 -45
- package/dist/chunks/{command-e834z07m.js → plugin-e834z07m.js} +1 -1
- package/dist/chunks/{command-zag65vbv.js → plugin-e9z9ekwf.js} +33 -33
- package/dist/chunks/{command-gg8p9cgs.js → plugin-ep59zg61.js} +3 -3
- package/dist/chunks/{command-sym2g66c.js → plugin-epkrfhse.js} +11 -11
- package/dist/chunks/{command-2efjc0sy.js → plugin-etfsdzn3.js} +4 -4
- package/dist/chunks/{command-0a2a3t6z.js → plugin-eykczw6s.js} +22 -22
- package/dist/chunks/{command-f01y088k.js → plugin-f01y088k.js} +2 -2
- package/dist/chunks/{command-amrj7qc1.js → plugin-f7jj8f84.js} +6 -6
- package/dist/chunks/plugin-f8ma18fn.js +18 -0
- package/dist/chunks/{command-5n6y45s7.js → plugin-fcbsb19f.js} +30 -30
- package/dist/chunks/{command-zg6yp68a.js → plugin-fchc5cs2.js} +12 -12
- package/dist/chunks/{command-fffv3p7h.js → plugin-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-fg9p65nk.js → plugin-fg9p65nk.js} +2 -2
- package/dist/chunks/{command-cq3k11qx.js → plugin-fjjkker5.js} +4 -4
- package/dist/chunks/{command-41j13f84.js → plugin-fqjwhs84.js} +6 -6
- package/dist/chunks/{command-03gg8qqd.js → plugin-fqjx0mtk.js} +24 -24
- package/dist/chunks/{command-as683dr2.js → plugin-g1bf65h0.js} +17 -17
- package/dist/chunks/{command-ty9942w5.js → plugin-g2tn4t9t.js} +27 -27
- package/dist/chunks/{command-qerad60p.js → plugin-gb4m33x1.js} +4 -4
- package/dist/chunks/{command-vrcsa8qx.js → plugin-gcjdgkn2.js} +9 -9
- package/dist/chunks/{command-tcmyp6yy.js → plugin-gcrehvxf.js} +4 -4
- package/dist/chunks/{command-4wtjrc2f.js → plugin-gg56aea0.js} +29 -29
- package/dist/chunks/{command-408sdsd3.js → plugin-ggxt8q7a.js} +22 -22
- package/dist/chunks/{command-1z6t7raf.js → plugin-h2xt6wet.js} +6 -6
- package/dist/chunks/{command-1jc2pb62.js → plugin-h6evkf2m.js} +19 -19
- package/dist/chunks/{command-g7esga4v.js → plugin-hfgk9wzg.js} +7 -7
- package/dist/chunks/{command-e1m4p0v5.js → plugin-hgfpvvhf.js} +16 -16
- package/dist/chunks/{command-nf3nsvxh.js → plugin-hj8dv2fv.js} +4 -4
- package/dist/chunks/{command-hpg1pkwy.js → plugin-hpg1pkwy.js} +1 -1
- package/dist/chunks/{command-9r0x1bva.js → plugin-hs9b4b47.js} +9 -9
- package/dist/chunks/{command-ac6xf83y.js → plugin-hv8gebrm.js} +15 -15
- package/dist/chunks/{command-yb65w6k9.js → plugin-j8yg66kd.js} +27 -27
- package/dist/chunks/{command-hwpnj6c7.js → plugin-jb98ea0v.js} +20 -20
- package/dist/chunks/{command-jfaecv01.js → plugin-jfaecv01.js} +1 -1
- package/dist/chunks/{command-w71j32r1.js → plugin-jgr9rt82.js} +24 -24
- package/dist/chunks/{command-2zp5a6yg.js → plugin-jh74jycr.js} +3 -3
- package/dist/chunks/{command-5bv1cvz4.js → plugin-jj25aphh.js} +11 -11
- package/dist/chunks/{command-hgwzxrzc.js → plugin-jm1kbgn5.js} +39 -39
- package/dist/chunks/{command-vg0ft4mp.js → plugin-jn9v78dn.js} +26 -26
- package/dist/chunks/{command-jtnps1zs.js → plugin-jtnps1zs.js} +2 -2
- package/dist/chunks/{command-tek21tes.js → plugin-jzsddmmt.js} +4 -4
- package/dist/chunks/{command-3j6ymswq.js → plugin-k2zdq3mp.js} +2 -2
- package/dist/chunks/{command-4sv1dg8q.js → plugin-k31rcwbk.js} +11 -11
- package/dist/chunks/{command-sr1dt70d.js → plugin-k5c2ssdt.js} +5 -5
- package/dist/chunks/{command-k814nvkf.js → plugin-k814nvkf.js} +1 -1
- package/dist/chunks/{command-ahyb432b.js → plugin-k83ve1kc.js} +6 -6
- package/dist/chunks/{command-855nk7ek.js → plugin-k87qgv3b.js} +43 -43
- package/dist/chunks/{command-w307e9wj.js → plugin-k9zkdd2y.js} +4 -4
- package/dist/chunks/{command-rmzznxa2.js → plugin-kna34kpp.js} +29 -29
- package/dist/chunks/{command-yem8zf21.js → plugin-kpaptj6h.js} +10 -10
- package/dist/chunks/{command-9vf3vq7b.js → plugin-kpbwe1qr.js} +21 -21
- package/dist/chunks/plugin-kq90df9y.js +26 -0
- package/dist/chunks/{command-kt3bjfbg.js → plugin-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-5epjyysv.js → plugin-ktg919s3.js} +187 -187
- package/dist/chunks/{command-21kkeetz.js → plugin-m07vw4yt.js} +19 -19
- package/dist/chunks/{command-q7x29y72.js → plugin-m10c82vj.js} +33 -33
- package/dist/chunks/{command-m1714858.js → plugin-m1714858.js} +1 -1
- package/dist/chunks/{command-z7c8gxnm.js → plugin-m4x6ymdg.js} +19 -19
- package/dist/chunks/{command-4mty8f1g.js → plugin-m9s6j6x5.js} +34 -34
- package/dist/chunks/{command-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-s55xdrfs.js → plugin-meevhkww.js} +46 -46
- package/dist/chunks/{command-t6bdq4ae.js → plugin-mkk6jxrn.js} +19 -19
- package/dist/chunks/{command-7rnxwetx.js → plugin-msya5s3a.js} +9 -9
- package/dist/chunks/{command-t4xy5q2h.js → plugin-n10b8vxr.js} +21 -21
- package/dist/chunks/{command-0ytd7j9m.js → plugin-n6adtcwm.js} +5 -5
- package/dist/chunks/{command-9wzjb77v.js → plugin-n72e3dxd.js} +5 -5
- package/dist/chunks/{command-3fjfxwbz.js → plugin-n74ky04a.js} +28 -28
- package/dist/chunks/{command-dh3t098k.js → plugin-npg5se5z.js} +9 -9
- package/dist/chunks/{command-8whp40kv.js → plugin-nvxqht09.js} +3 -3
- package/dist/chunks/{command-p015t6z3.js → plugin-p015t6z3.js} +2 -2
- package/dist/chunks/{command-xcgf2a96.js → plugin-p0fnxbrs.js} +27 -27
- package/dist/chunks/{command-3ryz99p0.js → plugin-p0tsr9h6.js} +4 -4
- package/dist/chunks/{command-rew8mj1n.js → plugin-p3rndcyt.js} +10 -10
- package/dist/chunks/{command-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{command-dhwr4tpt.js → plugin-pz2hbxnb.js} +314 -314
- package/dist/chunks/{command-2qnb4nns.js → plugin-q5pv97qv.js} +5 -5
- package/dist/chunks/{command-q63cb7ap.js → plugin-q63cb7ap.js} +3 -3
- package/dist/chunks/{command-v0gm0fq4.js → plugin-q6vpdb57.js} +11 -11
- package/dist/chunks/{command-vk0va4ns.js → plugin-q7cvrf9n.js} +7 -7
- package/dist/chunks/{command-7j073thm.js → plugin-qgrpvdhs.js} +89 -89
- package/dist/chunks/{command-yara3q77.js → plugin-qkw2jr9b.js} +2 -2
- package/dist/chunks/{command-h1vvy3p9.js → plugin-qmysd79e.js} +34 -34
- package/dist/chunks/{command-qp7r0hxv.js → plugin-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-t50ft15e.js → plugin-qr5d7g8r.js} +80 -80
- package/dist/chunks/{command-cvkyy8as.js → plugin-qrez554k.js} +14 -14
- package/dist/chunks/{command-894m97aw.js → plugin-qs4830ty.js} +28 -28
- package/dist/chunks/{command-76jsvc9q.js → plugin-qzwtc0ad.js} +43 -43
- package/dist/chunks/{command-r0yr0wbs.js → plugin-r0yr0wbs.js} +1 -1
- package/dist/chunks/{command-yvzg1qya.js → plugin-r1y4q7eg.js} +39 -39
- package/dist/chunks/{command-40za9wsf.js → plugin-r41sfy63.js} +6 -6
- package/dist/chunks/{command-r542h3bh.js → plugin-r542h3bh.js} +1 -1
- package/dist/chunks/{command-qg71vpy1.js → plugin-r72fjvgr.js} +11 -11
- package/dist/chunks/{command-y44nw84n.js → plugin-r7xk0eym.js} +35 -35
- package/dist/chunks/{command-rb9dy4dg.js → plugin-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-jjkdygwn.js → plugin-rckzcncc.js} +11 -11
- package/dist/chunks/{command-5yqpd0c6.js → plugin-rp6tyec3.js} +32 -32
- package/dist/chunks/{command-rt5dr6hb.js → plugin-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-63q56kkm.js → plugin-rvsw30t9.js} +5 -5
- package/dist/chunks/{command-byb3djp0.js → plugin-rvte90y7.js} +31 -31
- package/dist/chunks/{command-mfw28sm0.js → plugin-s3xbe3tv.js} +17 -17
- package/dist/chunks/{command-y4n6pw34.js → plugin-s4f8ct6t.js} +4 -4
- package/dist/chunks/{command-9q8g9sv8.js → plugin-s7kyse9r.js} +4 -4
- package/dist/chunks/{command-vtazzqvz.js → plugin-s7qpx3zw.js} +35 -35
- package/dist/chunks/{command-7jz8b159.js → plugin-s9eh0yy5.js} +37 -37
- package/dist/chunks/{command-sa3fpqfw.js → plugin-sa3fpqfw.js} +2 -2
- package/dist/chunks/{command-1mcvp2zr.js → plugin-sqcd90z6.js} +6 -6
- package/dist/chunks/{command-sqjzf8x2.js → plugin-sqjzf8x2.js} +1 -1
- package/dist/chunks/{command-xr08hmyf.js → plugin-sr3pe222.js} +21 -21
- package/dist/chunks/{command-d2887f8n.js → plugin-ssfehs1z.js} +4 -4
- package/dist/chunks/{command-vwvg46tm.js → plugin-st7p3hwb.js} +2 -2
- package/dist/chunks/{command-svcy3p9a.js → plugin-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-t56wpkx3.js → plugin-syqc1q91.js} +13 -13
- package/dist/chunks/{command-t3gyy76t.js → plugin-sz0km235.js} +41 -41
- package/dist/chunks/{command-3gbz2z4m.js → plugin-t3y9r3y2.js} +33 -33
- package/dist/chunks/{command-k02np800.js → plugin-t57f7ggb.js} +25 -25
- package/dist/chunks/{command-dqpjcdfr.js → plugin-t9qkp5rw.js} +9 -9
- package/dist/chunks/{command-tczq8hjw.js → plugin-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-twssxy5n.js → plugin-twssxy5n.js} +2 -2
- package/dist/chunks/{command-5hf3gx0g.js → plugin-ty2rqtrv.js} +17 -17
- package/dist/chunks/{command-v2r1d0zg.js → plugin-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{command-8322pcqg.js → plugin-vk3nwvaj.js} +12 -12
- package/dist/chunks/{command-c5m2a8vb.js → plugin-vq1ppevj.js} +8 -8
- package/dist/chunks/{command-fwb4xs1d.js → plugin-vw2s6thg.js} +17 -17
- package/dist/chunks/{command-2j2qh23v.js → plugin-vxp4ss06.js} +1 -1
- package/dist/chunks/{command-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-w687dnns.js → plugin-w687dnns.js} +1 -1
- package/dist/chunks/{command-xqdc6ght.js → plugin-w8waja94.js} +28 -28
- package/dist/chunks/{command-wakvkjy4.js → plugin-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-364mvxtt.js → plugin-wcqyq6xg.js} +11 -11
- package/dist/chunks/{command-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{command-wnhgecwx.js → plugin-wnhgecwx.js} +1 -1
- package/dist/chunks/{command-dk4kgb96.js → plugin-wvm11qkm.js} +16 -16
- package/dist/chunks/{command-egv8e2hp.js → plugin-wyhjxk24.js} +25 -25
- package/dist/chunks/{command-padn2eeq.js → plugin-wzsnw9zx.js} +13 -13
- package/dist/chunks/{command-nkyxjm4a.js → plugin-x19938zk.js} +17 -17
- package/dist/chunks/{command-dtrp02zs.js → plugin-x41rd3ct.js} +9 -9
- package/dist/chunks/{command-zb17hmp7.js → plugin-xbzzjpen.js} +26 -26
- package/dist/chunks/{command-bstexjd6.js → plugin-xd9cc171.js} +5 -5
- package/dist/chunks/{command-vjrk7mrg.js → plugin-xh3etvdp.js} +17 -17
- package/dist/chunks/{command-mt5p9bn9.js → plugin-xjrcpxys.js} +12 -12
- package/dist/chunks/{command-dsnd5zgh.js → plugin-xkrr3nbc.js} +25 -25
- package/dist/chunks/{command-43d5xc6d.js → plugin-xp2r83c8.js} +11 -11
- package/dist/chunks/{command-v9ffx0tz.js → plugin-xt3tj154.js} +15 -15
- package/dist/chunks/{command-2022h574.js → plugin-xty73vjp.js} +5 -5
- package/dist/chunks/{command-nfanb3qk.js → plugin-xv9vyde2.js} +10 -10
- package/dist/chunks/{command-vjx7pmy6.js → plugin-xwffaj6p.js} +14 -14
- package/dist/chunks/{command-g5fr6wr5.js → plugin-xys8w9aj.js} +23 -23
- package/dist/chunks/{command-86p8bbrs.js → plugin-y4w3wqv8.js} +12 -12
- package/dist/chunks/{command-xd4wg3dz.js → plugin-y6zkfemf.js} +13 -13
- package/dist/chunks/{command-rvwg8rn3.js → plugin-y78g3j1n.js} +3 -3
- package/dist/chunks/{command-yb20nhc3.js → plugin-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-a6t5v42q.js → plugin-ycn3cwaw.js} +7 -7
- package/dist/chunks/{command-4q0yhm9h.js → plugin-yexzw78a.js} +4 -4
- package/dist/chunks/{command-cxqt8363.js → plugin-yg3znkte.js} +18 -18
- package/dist/chunks/{command-0f8tg23y.js → plugin-ymz7p2c9.js} +3 -3
- package/dist/chunks/{command-zw0est8d.js → plugin-yrvrwg16.js} +76 -76
- package/dist/chunks/{command-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-vc5eegtv.js → plugin-z2cf1fxy.js} +8 -8
- package/dist/chunks/{command-z38nccrw.js → plugin-z38nccrw.js} +1 -1
- package/dist/chunks/{command-sb04x4h3.js → plugin-z5vsfvmb.js} +23 -23
- package/dist/chunks/{command-t6p5basa.js → plugin-zd8qpfyv.js} +9 -9
- package/dist/chunks/plugin-zjx96n3w.js +257 -0
- package/dist/chunks/{command-jhsa714p.js → plugin-zkbcvvjq.js} +33 -33
- package/dist/chunks/{command-z2ttmvzn.js → plugin-znft027p.js} +15 -15
- package/dist/chunks/{command-n1f7r4jg.js → plugin-znt4182k.js} +11 -11
- package/dist/chunks/{command-g853qrcj.js → plugin-zz4wg0fg.js} +54 -54
- package/dist/chunks/{command-zba5tm1j.js → plugin-zzdv5d93.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +76 -76
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- 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 +97 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +99 -99
- 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 +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- package/dist/git.js +11 -11
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -372
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +115 -115
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +141 -141
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +361 -361
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +90 -90
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +231 -231
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +152 -152
- package/dist/session/projector.js +132 -132
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +230 -230
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- 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 +7 -7
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +101 -101
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +10 -10
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +100 -100
- 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 +2 -2
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/command-22hp01rm.js +0 -26
- package/dist/chunks/command-59w4xjr9.js +0 -257
- package/dist/chunks/command-me0dhgxs.js +0 -18
- /package/dist/chunks/{command-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1jakw16s.js → plugin-1jakw16s.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → plugin-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4m86bj6y.js → plugin-4m86bj6y.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → plugin-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → plugin-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a058387c.js → plugin-a058387c.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → plugin-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → plugin-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → plugin-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → plugin-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → plugin-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → plugin-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → plugin-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-ncqqe42p.js → plugin-ncqqe42p.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → plugin-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → plugin-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node43
|
|
5
|
+
} from "./plugin-q6vpdb57.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service65,
|
|
8
|
+
node68
|
|
9
|
+
} from "./plugin-360yt0tf.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-0byhdbpk.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-xwffaj6p.js";
|
|
16
16
|
import {
|
|
17
17
|
Error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-xh3etvdp.js";
|
|
19
19
|
import {
|
|
20
20
|
get5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-3nnrz6f6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service36,
|
|
24
|
+
node39
|
|
25
|
+
} from "./plugin-brtbsxkn.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
make16
|
|
28
|
+
} from "./plugin-hfgk9wzg.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./plugin-k2zdq3mp.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./plugin-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service35,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
|
-
layer: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
layer: () => layer15,
|
|
44
|
+
node: () => node38,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -77,7 +77,7 @@ var baseTranscript2 = (input) => {
|
|
|
77
77
|
return {
|
|
78
78
|
providerMetadataKey,
|
|
79
79
|
system: [
|
|
80
|
-
input.agent.system ? input.agent.system :
|
|
80
|
+
input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
|
|
81
81
|
input.initial
|
|
82
82
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
83
83
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -158,11 +158,11 @@ var boundImages2 = (messages) => {
|
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const transport = yield*
|
|
163
|
+
var layer15 = Layer.effect(Service35, Effect.gen(function* () {
|
|
164
|
+
const hooks = yield* Service65;
|
|
165
|
+
const transport = yield* Service36;
|
|
166
166
|
const app = yield* Metadata2;
|
|
167
167
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
168
168
|
const session = input.session;
|
|
@@ -261,17 +261,17 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
263
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
264
|
-
return
|
|
264
|
+
return Service35.of({
|
|
265
265
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
266
266
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
267
267
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
268
268
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
269
269
|
});
|
|
270
270
|
}));
|
|
271
|
-
var
|
|
272
|
-
service:
|
|
273
|
-
layer:
|
|
274
|
-
deps: [
|
|
271
|
+
var node38 = makeLocationNode({
|
|
272
|
+
service: Service35,
|
|
273
|
+
layer: layer15,
|
|
274
|
+
deps: [node68, node39, node43]
|
|
275
275
|
});
|
|
276
276
|
|
|
277
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
277
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service35, layer15, node38, exports_model_request };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-zzdv5d93.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./plugin-hgfpvvhf.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./plugin-93a9jndt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-2dpmrcw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
19
|
Service75
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-38hqgsk1.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./plugin-gg56aea0.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./plugin-79cgpb4a.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-q6vpdb57.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID10
|
|
33
|
+
} from "./plugin-wyhjxk24.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./plugin-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID16.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -165,7 +165,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
167
|
const providers = yield* Service75;
|
|
168
|
-
const bus = yield*
|
|
168
|
+
const bus = yield* Service81;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
171
171
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -181,7 +181,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
186
|
try: () => load3(url, {
|
|
187
187
|
...provider?.headers,
|
|
@@ -203,7 +203,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID13.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID13.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID13.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID13.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-43e24x2b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./plugin-0byhdbpk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service19
|
|
9
|
+
} from "./plugin-ggxt8q7a.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-d4v9tmah.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info6,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-7x516nkt.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./plugin-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin10,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin10 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service19;
|
|
104
|
+
const permission = yield* Service60;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin24 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info6,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin10, exports_opencode };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./plugin-1xpesaja.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service60
|
|
9
|
+
} from "./plugin-0byhdbpk.js";
|
|
10
10
|
import {
|
|
11
11
|
MEDIA_MIMES2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-fchc5cs2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/tool/plugin/mcp-resource.ts
|
|
18
18
|
var exports_mcp_resource = {};
|
|
19
19
|
__export(exports_mcp_resource, {
|
|
20
20
|
McpResourceTools: () => exports_mcp_resource,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin9
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin9 = {
|
|
26
26
|
id: "opencode.tools.mcp-resources",
|
|
27
27
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
28
|
-
const mcp = yield*
|
|
29
|
-
const permission = yield*
|
|
28
|
+
const mcp = yield* Service37;
|
|
29
|
+
const permission = yield* Service60;
|
|
30
30
|
yield* ctx.tool.transform((editor) => {
|
|
31
31
|
editor.add({
|
|
32
32
|
name: "list_mcp_resources",
|
|
@@ -96,4 +96,4 @@ var Plugin30 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin9, exports_mcp_resource };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./plugin-hgfpvvhf.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-zz4wg0fg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service76,
|
|
15
|
+
node80
|
|
16
|
+
} from "./plugin-9brshkr5.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-204s3925.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,19 +29,19 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info20,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service68,
|
|
36
36
|
Untracked: () => Untracked2,
|
|
37
37
|
Vcs: () => exports_vcs,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node71
|
|
39
39
|
});
|
|
40
40
|
import path from "path";
|
|
41
41
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
42
42
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
43
43
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
44
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
44
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info20, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
|
|
45
45
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -55,12 +55,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service68 extends Context.Service()("@opencode/Vcs") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
61
61
|
const fs = yield* FSUtil.Service;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const bus = yield*
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const bus = yield* Service81;
|
|
64
64
|
const root = yield* Effect.scope;
|
|
65
65
|
const fork = yield* FiberSet.makeRuntime();
|
|
66
66
|
const vcs = location.vcs;
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
72
72
|
canonical: location.project.canonical,
|
|
73
73
|
...vcs ? { store: vcs.store } : {}
|
|
74
74
|
};
|
|
75
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
75
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info20));
|
|
76
76
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
77
77
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
78
78
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
130
130
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
131
131
|
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 }));
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return Service68.of({
|
|
134
134
|
transform: state.transform,
|
|
135
135
|
reload: state.reload,
|
|
136
136
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node71 = makeLocationNode({
|
|
193
|
+
service: Service68,
|
|
194
194
|
layer,
|
|
195
|
-
deps: [FSUtil.node,
|
|
195
|
+
deps: [FSUtil.node, node80, node85]
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
export { Base2, BranchList2, FileStatus2,
|
|
198
|
+
export { Base2, BranchList2, FileStatus2, Info20, Mode2, Untracked2, DiffError2, InitializeError2, Service68, node71, exports_vcs };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service59,
|
|
8
8
|
node62
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-dys0nn3x.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-90zstvax.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service52,
|
|
24
|
+
node: () => node55
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
|
|
|
47
47
|
});
|
|
48
48
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
51
51
|
message: Schema.String,
|
|
52
52
|
cause: Schema.optional(Schema.Defect())
|
|
53
53
|
}) {
|
|
@@ -59,12 +59,12 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
59
59
|
}) {
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service52 extends Context.Service()("@opencode/Ripgrep") {
|
|
63
63
|
}
|
|
64
|
-
var failure = (message, cause) => new
|
|
64
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
65
65
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
66
66
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
67
|
-
var layer = Layer.effect(
|
|
67
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
68
68
|
const environment = yield* Service59;
|
|
69
69
|
const binary = yield* RipgrepBinary2.Service;
|
|
70
70
|
const run = (input) => {
|
|
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
91
91
|
return code === 1 ? [] : rows;
|
|
92
92
|
}));
|
|
93
93
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
94
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
94
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
95
95
|
};
|
|
96
|
-
return
|
|
96
|
+
return Service52.of({
|
|
97
97
|
glob: (input) => run({
|
|
98
98
|
cwd: input.cwd,
|
|
99
99
|
limit: input.limit,
|
|
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
179
179
|
}))))
|
|
180
180
|
});
|
|
181
181
|
}));
|
|
182
|
-
var
|
|
182
|
+
var node55 = makeLocationNode({ service: Service52, layer, deps: [node62, RipgrepBinary2.node] });
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Error3, InvalidPatternError2, Service52, node55, exports_ripgrep };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-204s3925.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./plugin-9dja39nt.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-z38nccrw.js";
|
|
10
10
|
import {
|
|
11
11
|
statements2,
|
|
12
12
|
decision2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-ymz7p2c9.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./plugin-hpg1pkwy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/policy.ts
|
|
22
22
|
var exports_policy = {};
|
|
23
23
|
__export(exports_policy, {
|
|
24
24
|
ConfigPolicyPlugin: () => exports_policy,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin42
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
|
-
var
|
|
29
|
+
var Plugin42 = define({
|
|
30
30
|
id: "opencode.config.policy",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const config = yield*
|
|
32
|
+
const config = yield* Service63;
|
|
33
33
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
34
34
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
35
35
|
const policies = () => statements2(loaded.entries);
|
|
@@ -73,4 +73,4 @@ var Plugin46 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin42, exports_policy };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make24,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make24 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make24, exports_keyed_mutex };
|