@opencode/core 0.0.0-dev-147 → 0.0.0-dev-150
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 +87 -87
- 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-20hs3de4.js → file-mutation-02jpp536.js} +36 -36
- package/dist/chunks/{command-034tev2y.js → file-mutation-034tev2y.js} +2 -2
- package/dist/chunks/{command-kkew1p9e.js → file-mutation-04mewp1n.js} +6 -6
- package/dist/chunks/{command-f01y088k.js → file-mutation-09bv4atg.js} +5 -5
- package/dist/chunks/{command-0f8tg23y.js → file-mutation-0f8tg23y.js} +3 -3
- package/dist/chunks/{command-v9ffx0tz.js → file-mutation-0m350p2y.js} +15 -15
- package/dist/chunks/{command-5xkp6yc1.js → file-mutation-0qaf62d8.js} +11 -11
- package/dist/chunks/{command-wy39txpv.js → file-mutation-0qs8yesb.js} +20 -20
- package/dist/chunks/{command-vc5eegtv.js → file-mutation-0tgj0enh.js} +8 -8
- package/dist/chunks/{command-vwvg46tm.js → file-mutation-0w2jttgf.js} +2 -2
- package/dist/chunks/{command-fm82e0z4.js → file-mutation-0wy96kee.js} +9 -9
- package/dist/chunks/{command-e1jp2z5s.js → file-mutation-0yy582wq.js} +8 -8
- package/dist/chunks/{command-gs31mcp0.js → file-mutation-1ck73ww0.js} +22 -22
- package/dist/chunks/{command-1ep2p91f.js → file-mutation-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-zxjgzmwm.js → file-mutation-1sfajnh7.js} +54 -54
- package/dist/chunks/{command-63q56kkm.js → file-mutation-1t3qy2r0.js} +5 -5
- package/dist/chunks/{command-1x2knyw4.js → file-mutation-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-p7vhpwh8.js → file-mutation-1yq9hg58.js} +5 -5
- package/dist/chunks/{command-2022h574.js → file-mutation-1zx0pxwe.js} +5 -5
- package/dist/chunks/{command-204s3925.js → file-mutation-204s3925.js} +1 -1
- package/dist/chunks/{command-2fr8hm5d.js → file-mutation-22g4mmnz.js} +17 -17
- package/dist/chunks/{command-zg0jbn27.js → file-mutation-26x8chrq.js} +6 -6
- package/dist/chunks/{command-0a2a3t6z.js → file-mutation-291261ha.js} +15 -15
- package/dist/chunks/{command-frhmmft9.js → file-mutation-2cywgpj2.js} +12 -12
- package/dist/chunks/{command-tek21tes.js → file-mutation-2em4q09y.js} +4 -4
- package/dist/chunks/{command-4mty8f1g.js → file-mutation-2ndq7hcx.js} +32 -32
- package/dist/chunks/{command-wze2rh1w.js → file-mutation-2qcan4gv.js} +15 -15
- package/dist/chunks/{command-zb17hmp7.js → file-mutation-2r5550sa.js} +26 -26
- package/dist/chunks/{command-tcmyp6yy.js → file-mutation-2s3pxq91.js} +4 -4
- package/dist/chunks/{command-855nk7ek.js → file-mutation-2xzxwh9n.js} +42 -42
- package/dist/chunks/file-mutation-301cc765.js +511 -0
- package/dist/chunks/{command-pnwsrq7c.js → file-mutation-31avdb49.js} +8 -8
- package/dist/chunks/{command-nfanb3qk.js → file-mutation-34asacga.js} +13 -13
- package/dist/chunks/{command-5yqpd0c6.js → file-mutation-36cfnhgq.js} +32 -32
- package/dist/chunks/{command-p745vxmt.js → file-mutation-36qx82yz.js} +8 -8
- package/dist/chunks/{command-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-tg5s95kk.js → file-mutation-3mth2z3s.js} +14 -14
- package/dist/chunks/{command-9wzjb77v.js → file-mutation-3n5jkvcw.js} +5 -5
- package/dist/chunks/{command-3nnrz6f6.js → file-mutation-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-mfw28sm0.js → file-mutation-3phywp6k.js} +17 -17
- package/dist/chunks/{command-3ryz99p0.js → file-mutation-3ryz99p0.js} +1 -1
- package/dist/chunks/{command-p62jemgq.js → file-mutation-42d0kh11.js} +11 -11
- package/dist/chunks/{command-yvzg1qya.js → file-mutation-44s5ds88.js} +43 -43
- package/dist/chunks/{command-7jz8b159.js → file-mutation-488y184h.js} +37 -37
- package/dist/chunks/{command-9vf3vq7b.js → file-mutation-4cr9j35r.js} +21 -21
- package/dist/chunks/{command-86p8bbrs.js → file-mutation-4db922nk.js} +12 -12
- package/dist/chunks/{command-dqpjcdfr.js → file-mutation-4ddsgm24.js} +9 -9
- package/dist/chunks/{command-4pyp9zr9.js → file-mutation-4pyp9zr9.js} +1 -1
- package/dist/chunks/{command-4v008n1t.js → file-mutation-4v008n1t.js} +1 -1
- package/dist/chunks/{command-as683dr2.js → file-mutation-55mnpje1.js} +17 -17
- package/dist/chunks/{command-4wtjrc2f.js → file-mutation-57cc6ds0.js} +35 -35
- package/dist/chunks/{command-fjxznerj.js → file-mutation-5cwfc2ka.js} +13 -13
- package/dist/chunks/{command-sr40d3da.js → file-mutation-5hbegf98.js} +5 -5
- package/dist/chunks/{command-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-da8fh3w6.js → file-mutation-615ze5mc.js} +13 -13
- package/dist/chunks/{command-zba5tm1j.js → file-mutation-61ennm6n.js} +4 -4
- package/dist/chunks/{command-ahyb432b.js → file-mutation-66vehr1c.js} +3 -3
- package/dist/chunks/{command-qygtycqa.js → file-mutation-6cn2mxvv.js} +9 -9
- package/dist/chunks/{command-6esdw8yj.js → file-mutation-6esdw8yj.js} +1 -1
- package/dist/chunks/{command-7j073thm.js → file-mutation-6fjxz4z4.js} +97 -97
- package/dist/chunks/file-mutation-6h2wa517.js +257 -0
- package/dist/chunks/{command-g5fr6wr5.js → file-mutation-6vdm78sx.js} +23 -23
- package/dist/chunks/{command-1jc2pb62.js → file-mutation-6xks9hqy.js} +19 -19
- package/dist/chunks/{command-3kdbrncp.js → file-mutation-6xqtcmxs.js} +5 -5
- package/dist/chunks/{command-76cb1hcw.js → file-mutation-76cb1hcw.js} +1 -1
- package/dist/chunks/{command-770pw0s1.js → file-mutation-770pw0s1.js} +1 -1
- package/dist/chunks/{command-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-v4ek9rx4.js → file-mutation-7hb0ye5y.js} +6 -6
- package/dist/chunks/{command-n3bkb5q1.js → file-mutation-7rw1vw5b.js} +8 -8
- package/dist/chunks/{command-17v1k4r5.js → file-mutation-7szmtnr1.js} +4 -4
- package/dist/chunks/{command-7w2ypzdf.js → file-mutation-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-cpzme4dc.js → file-mutation-8441pj9h.js} +20 -20
- package/dist/chunks/{command-8etsby8r.js → file-mutation-84q6t6ac.js} +48 -48
- package/dist/chunks/{command-z2sxkq9m.js → file-mutation-89rmqxc6.js} +11 -11
- package/dist/chunks/{command-wa02e4w7.js → file-mutation-8bmfs902.js} +25 -25
- package/dist/chunks/{command-ata4hxyc.js → file-mutation-8dzwfsfj.js} +9 -9
- package/dist/chunks/{command-8jztxfpf.js → file-mutation-8jztxfpf.js} +1 -1
- package/dist/chunks/{command-q5hbf1bz.js → file-mutation-8wpev9de.js} +1 -1
- package/dist/chunks/{command-8wtp7s3z.js → file-mutation-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-90zstvax.js → file-mutation-90zstvax.js} +1 -1
- package/dist/chunks/{command-2efjc0sy.js → file-mutation-92smj43y.js} +4 -4
- package/dist/chunks/{command-ayeq9fxf.js → file-mutation-9bc1thgt.js} +8 -8
- package/dist/chunks/{command-jtz26s32.js → file-mutation-9xzhsdnm.js} +9 -9
- package/dist/chunks/{command-0anyt1n6.js → file-mutation-9z9tayqc.js} +5 -5
- package/dist/chunks/{command-qerad60p.js → file-mutation-9zc50dp0.js} +4 -4
- package/dist/chunks/{command-vjy3t4hp.js → file-mutation-a5hkphf1.js} +15 -15
- package/dist/chunks/{command-xr08hmyf.js → file-mutation-a6sanqb6.js} +18 -18
- package/dist/chunks/{command-ac6xf83y.js → file-mutation-a72t788c.js} +18 -18
- package/dist/chunks/{command-8322pcqg.js → file-mutation-a9gs869n.js} +12 -12
- package/dist/chunks/{command-dk4kgb96.js → file-mutation-ajdh0zra.js} +13 -13
- package/dist/chunks/{command-9fktqme4.js → file-mutation-avfx08wj.js} +23 -23
- package/dist/chunks/{command-tar054ab.js → file-mutation-aycr4par.js} +47 -47
- package/dist/chunks/{command-ayjs7tqn.js → file-mutation-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-s4wh0s60.js → file-mutation-b23hpydp.js} +4 -4
- package/dist/chunks/{command-b6vsg801.js → file-mutation-b6vsg801.js} +2 -2
- package/dist/chunks/{command-w687dnns.js → file-mutation-b6z35kmf.js} +4 -4
- package/dist/chunks/{command-t2r27f6d.js → file-mutation-b9tvtgtk.js} +16 -16
- package/dist/chunks/{command-1me66rte.js → file-mutation-bb9y3cr3.js} +47 -47
- package/dist/chunks/{command-7rnxwetx.js → file-mutation-bgtvwfds.js} +11 -11
- package/dist/chunks/{command-bqne9xnh.js → file-mutation-br0jzkw0.js} +18 -18
- package/dist/chunks/{command-bstexjd6.js → file-mutation-bstexjd6.js} +1 -1
- package/dist/chunks/{command-2j2qh23v.js → file-mutation-bv5h9gn1.js} +1 -1
- package/dist/chunks/{command-t56wpkx3.js → file-mutation-bwj0e09a.js} +15 -15
- package/dist/chunks/{command-rcbjwvze.js → file-mutation-c5kjsz6q.js} +4 -4
- package/dist/chunks/{command-d2887f8n.js → file-mutation-c9t2ty9q.js} +4 -4
- package/dist/chunks/{command-qg71vpy1.js → file-mutation-ccbxgw01.js} +11 -11
- package/dist/chunks/{command-ty9942w5.js → file-mutation-cff47hc0.js} +27 -27
- package/dist/chunks/{command-jjkdygwn.js → file-mutation-cgfk4g4x.js} +11 -11
- package/dist/chunks/{command-rpkw1g3t.js → file-mutation-ch0v3cp9.js} +33 -33
- package/dist/chunks/{command-t6bdq4ae.js → file-mutation-cpsrm9kz.js} +32 -32
- package/dist/chunks/{command-zkgb2v1a.js → file-mutation-cqqjw5e0.js} +27 -27
- package/dist/chunks/{command-8vdz7xys.js → file-mutation-ct7725a2.js} +11 -11
- package/dist/chunks/{command-cwrgdav8.js → file-mutation-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-d4v9tmah.js → file-mutation-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-rew8mj1n.js → file-mutation-d53xcg4f.js} +10 -10
- package/dist/chunks/{command-6nkfgcmr.js → file-mutation-d65zxn08.js} +21 -21
- package/dist/chunks/{command-y4n6pw34.js → file-mutation-d8p3t516.js} +4 -4
- package/dist/chunks/{command-htb45g8t.js → file-mutation-dbj4j4p0.js} +11 -11
- package/dist/chunks/{command-dt77769w.js → file-mutation-dt77769w.js} +1 -1
- package/dist/chunks/{command-dsnd5zgh.js → file-mutation-dvrysxe9.js} +25 -25
- package/dist/chunks/{command-1mcvp2zr.js → file-mutation-e6197nkp.js} +6 -6
- package/dist/chunks/{command-e834z07m.js → file-mutation-e834z07m.js} +1 -1
- package/dist/chunks/{command-rjm1mwc3.js → file-mutation-ehpmpmqy.js} +2 -2
- package/dist/chunks/{command-vtazzqvz.js → file-mutation-erzzkc7h.js} +37 -37
- package/dist/chunks/{command-4q0yhm9h.js → file-mutation-eyck5g6r.js} +4 -4
- package/dist/chunks/{command-amrj7qc1.js → file-mutation-ez4nhay2.js} +6 -6
- package/dist/chunks/{command-0ns80rp4.js → file-mutation-f5q6vy05.js} +24 -24
- package/dist/chunks/{command-364mvxtt.js → file-mutation-f6a72pnd.js} +9 -9
- package/dist/chunks/{command-2qnb4nns.js → file-mutation-f6egh6v0.js} +5 -5
- package/dist/chunks/{command-q7x29y72.js → file-mutation-faazj2st.js} +35 -35
- package/dist/chunks/{command-fffv3p7h.js → file-mutation-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-fg9p65nk.js → file-mutation-fg9p65nk.js} +2 -2
- package/dist/chunks/{command-408sdsd3.js → file-mutation-fnjr23v9.js} +25 -25
- package/dist/chunks/{command-xd4wg3dz.js → file-mutation-fvsxqh4k.js} +13 -13
- package/dist/chunks/{command-yem8zf21.js → file-mutation-g59pth55.js} +10 -10
- package/dist/chunks/{command-sym2g66c.js → file-mutation-g5vc4awh.js} +6 -6
- package/dist/chunks/{command-3pcdyetm.js → file-mutation-g9kk5sfb.js} +12 -12
- package/dist/chunks/{command-5s47xvcx.js → file-mutation-ga5dber3.js} +13 -13
- package/dist/chunks/{command-zag65vbv.js → file-mutation-gam5pswh.js} +28 -28
- package/dist/chunks/{command-g853qrcj.js → file-mutation-gawyv5h6.js} +26 -26
- package/dist/chunks/{command-gg8p9cgs.js → file-mutation-gg8p9cgs.js} +3 -3
- package/dist/chunks/{command-gtn9c16a.js → file-mutation-gtn9c16a.js} +1 -1
- package/dist/chunks/{command-z2ttmvzn.js → file-mutation-gxk9nqgj.js} +15 -15
- package/dist/chunks/{command-vg0ft4mp.js → file-mutation-h4n5s0gm.js} +18 -18
- package/dist/chunks/{command-bxbgm0np.js → file-mutation-h8ktp5nz.js} +24 -24
- package/dist/chunks/{command-byb3djp0.js → file-mutation-hcs64hj8.js} +31 -31
- package/dist/chunks/{command-hdfrs5mg.js → file-mutation-hdfrs5mg.js} +2 -2
- package/dist/chunks/{command-yqw7dbm9.js → file-mutation-hmfc8wjy.js} +20 -20
- package/dist/chunks/{command-hpg1pkwy.js → file-mutation-hpg1pkwy.js} +1 -1
- package/dist/chunks/{command-2zp5a6yg.js → file-mutation-hqxkkta1.js} +3 -3
- package/dist/chunks/{command-0ytd7j9m.js → file-mutation-hte3z5j4.js} +5 -5
- package/dist/chunks/{command-1z6t7raf.js → file-mutation-hvvf9qw8.js} +6 -6
- package/dist/chunks/{command-1csrjc8n.js → file-mutation-hzw8faeh.js} +5 -5
- package/dist/chunks/{command-vjrk7mrg.js → file-mutation-jb168mmq.js} +25 -25
- package/dist/chunks/{command-c5m2a8vb.js → file-mutation-jc512s3p.js} +8 -8
- package/dist/chunks/{command-vrcsa8qx.js → file-mutation-jcqm84fr.js} +9 -9
- package/dist/chunks/{command-jfaecv01.js → file-mutation-jfaecv01.js} +1 -1
- package/dist/chunks/{command-a20g6ne5.js → file-mutation-jft4dbeh.js} +14 -14
- package/dist/chunks/{command-v0gm0fq4.js → file-mutation-jpfg3bv3.js} +11 -11
- package/dist/chunks/{command-bfaa3fyj.js → file-mutation-jrc6mwxy.js} +9 -9
- package/dist/chunks/{command-jtnps1zs.js → file-mutation-jtnps1zs.js} +2 -2
- package/dist/chunks/{command-y44nw84n.js → file-mutation-jw74caa4.js} +37 -37
- package/dist/chunks/{command-5n6y45s7.js → file-mutation-jzk4jfxk.js} +29 -29
- package/dist/chunks/{command-d3q76dbt.js → file-mutation-k6j7z2k4.js} +13 -13
- package/dist/chunks/{command-k814nvkf.js → file-mutation-k814nvkf.js} +1 -1
- package/dist/chunks/{command-5jvt7m5p.js → file-mutation-kb4zeprx.js} +25 -25
- package/dist/chunks/{command-k02np800.js → file-mutation-kj99f3y3.js} +25 -25
- package/dist/chunks/{command-padn2eeq.js → file-mutation-knsnfpmh.js} +13 -13
- package/dist/chunks/{command-3j6ymswq.js → file-mutation-kp1vg9ss.js} +2 -2
- package/dist/chunks/{command-kt3bjfbg.js → file-mutation-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-m6ss8v1v.js → file-mutation-kx9nywdq.js} +8 -8
- package/dist/chunks/{command-xsmvaqb0.js → file-mutation-m05gm3xd.js} +14 -14
- package/dist/chunks/{command-m1714858.js → file-mutation-m1714858.js} +1 -1
- package/dist/chunks/{command-a6t5v42q.js → file-mutation-m5z3tkyc.js} +7 -7
- package/dist/chunks/{command-wrtc07rs.js → file-mutation-m91kzycp.js} +12 -12
- package/dist/chunks/{command-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-xqdc6ght.js → file-mutation-mbv7k5zt.js} +28 -28
- package/dist/chunks/{command-6h4b9nqg.js → file-mutation-mgxf3nw1.js} +8 -8
- package/dist/chunks/{command-mt5p9bn9.js → file-mutation-n0dfvze1.js} +12 -12
- package/dist/chunks/{command-3571pbex.js → file-mutation-n1650mfh.js} +8 -8
- package/dist/chunks/file-mutation-n3r3rt18.js +18 -0
- package/dist/chunks/{command-ysp28c2z.js → file-mutation-n5rt61vk.js} +5 -5
- package/dist/chunks/{command-jhsa714p.js → file-mutation-n6wkrbw6.js} +33 -33
- package/dist/chunks/{command-fwb4xs1d.js → file-mutation-n7bhcchc.js} +22 -22
- package/dist/chunks/{command-nf3nsvxh.js → file-mutation-nf3nsvxh.js} +4 -4
- package/dist/chunks/{command-43d5xc6d.js → file-mutation-nkfn7phj.js} +19 -19
- package/dist/chunks/{command-xcgf2a96.js → file-mutation-nwbbxj2q.js} +27 -27
- package/dist/chunks/{command-2440020h.js → file-mutation-nwe4qtzq.js} +14 -14
- package/dist/chunks/{command-p015t6z3.js → file-mutation-p015t6z3.js} +2 -2
- package/dist/chunks/{command-z7c8gxnm.js → file-mutation-p0q2ne2s.js} +19 -19
- package/dist/chunks/{command-vnbbybtr.js → file-mutation-p4gp7n98.js} +32 -32
- package/dist/chunks/{command-5c3dvsd0.js → file-mutation-phzz8nf6.js} +60 -60
- package/dist/chunks/{command-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{command-03gg8qqd.js → file-mutation-pr24arth.js} +27 -27
- package/dist/chunks/{command-hwpnj6c7.js → file-mutation-psj7p3gy.js} +20 -20
- package/dist/chunks/{command-d3xp083n.js → file-mutation-pwqzey69.js} +11 -11
- package/dist/chunks/{command-5epjyysv.js → file-mutation-pxbzzzzm.js} +196 -196
- package/dist/chunks/{command-t3gyy76t.js → file-mutation-q110nakk.js} +43 -43
- package/dist/chunks/{command-n1f7r4jg.js → file-mutation-q2w99wmr.js} +11 -11
- package/dist/chunks/{command-894m97aw.js → file-mutation-q3w50k8c.js} +28 -28
- package/dist/chunks/{command-q63cb7ap.js → file-mutation-q63cb7ap.js} +3 -3
- package/dist/chunks/{command-sje0z0tk.js → file-mutation-q9z0p7gh.js} +16 -16
- package/dist/chunks/{command-cq3k11qx.js → file-mutation-qcmchz52.js} +4 -4
- package/dist/chunks/{command-qp7r0hxv.js → file-mutation-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-0qkbb4f9.js → file-mutation-qqve4v8g.js} +12 -12
- package/dist/chunks/{command-4sv1dg8q.js → file-mutation-qv4vz01m.js} +11 -11
- package/dist/chunks/{command-hgwzxrzc.js → file-mutation-qwc0pngt.js} +45 -45
- package/dist/chunks/{command-v7xj81rq.js → file-mutation-qy453c32.js} +6 -6
- package/dist/chunks/{command-r0yr0wbs.js → file-mutation-r0yr0wbs.js} +1 -1
- package/dist/chunks/{command-40za9wsf.js → file-mutation-r41sfy63.js} +6 -6
- package/dist/chunks/{command-r542h3bh.js → file-mutation-r542h3bh.js} +1 -1
- package/dist/chunks/{command-rb9dy4dg.js → file-mutation-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-vjx7pmy6.js → file-mutation-rc5cfkkt.js} +14 -14
- package/dist/chunks/{command-t646ab44.js → file-mutation-rcxfmvg3.js} +3 -3
- package/dist/chunks/{command-e1m4p0v5.js → file-mutation-rkkrzzbq.js} +16 -16
- package/dist/chunks/{command-rvwg8rn3.js → file-mutation-rr4kc3kv.js} +3 -3
- package/dist/chunks/{command-rt5dr6hb.js → file-mutation-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-7f7rnj0t.js → file-mutation-rz6zznan.js} +11 -11
- package/dist/chunks/{command-8dk4kc5x.js → file-mutation-s3zszyzt.js} +24 -24
- package/dist/chunks/{command-3fjfxwbz.js → file-mutation-s9ynkngn.js} +23 -23
- package/dist/chunks/{command-sa3fpqfw.js → file-mutation-sa3fpqfw.js} +2 -2
- package/dist/chunks/{command-sr1dt70d.js → file-mutation-sawge6zb.js} +5 -5
- package/dist/chunks/{command-8k289es9.js → file-mutation-sqc0p8sq.js} +15 -15
- package/dist/chunks/{command-sqjzf8x2.js → file-mutation-sqjzf8x2.js} +1 -1
- package/dist/chunks/{command-jjg0fd2w.js → file-mutation-stj6qkja.js} +30 -30
- package/dist/chunks/{command-svcy3p9a.js → file-mutation-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-4drgpw32.js → file-mutation-sykc9y4a.js} +5 -5
- package/dist/chunks/{command-v38aff5x.js → file-mutation-syrgmen4.js} +32 -32
- package/dist/chunks/{command-2x6gw633.js → file-mutation-t07kmxgp.js} +29 -29
- package/dist/chunks/{command-r8ygw0sc.js → file-mutation-t30gga41.js} +13 -13
- package/dist/chunks/{command-t50ft15e.js → file-mutation-tazdrhsb.js} +89 -89
- package/dist/chunks/{command-tczq8hjw.js → file-mutation-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-vk0va4ns.js → file-mutation-tfnfgxqy.js} +7 -7
- package/dist/chunks/{command-kmzgegqq.js → file-mutation-tg1vr1qt.js} +8 -8
- package/dist/chunks/{command-t6p5basa.js → file-mutation-tpx6dfdg.js} +9 -9
- package/dist/chunks/{command-5bv1cvz4.js → file-mutation-tvhsqegv.js} +12 -12
- package/dist/chunks/{command-twssxy5n.js → file-mutation-twssxy5n.js} +2 -2
- package/dist/chunks/{command-9q8g9sv8.js → file-mutation-v0t96s7a.js} +4 -4
- package/dist/chunks/{command-41j13f84.js → file-mutation-v1bqj1yq.js} +4 -4
- package/dist/chunks/{command-v2r1d0zg.js → file-mutation-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-h1vvy3p9.js → file-mutation-v5mw2t49.js} +36 -36
- package/dist/chunks/{command-fxd1refm.js → file-mutation-v7sj5brm.js} +9 -9
- package/dist/chunks/{command-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{command-cvkyy8as.js → file-mutation-vhc9amj9.js} +16 -16
- package/dist/chunks/{command-zma8kk4y.js → file-mutation-vjsahgsx.js} +20 -20
- package/dist/chunks/{command-g7esga4v.js → file-mutation-vmfhgzt5.js} +5 -5
- package/dist/chunks/{command-yb65w6k9.js → file-mutation-vp8n94ta.js} +22 -22
- package/dist/chunks/{command-jd1hqz7r.js → file-mutation-vrg9pvbr.js} +4 -4
- package/dist/chunks/{command-zw0est8d.js → file-mutation-vye0b1vt.js} +77 -77
- package/dist/chunks/{command-hbyynrh9.js → file-mutation-vyeahs8y.js} +15 -15
- package/dist/chunks/{command-w307e9wj.js → file-mutation-w307e9wj.js} +1 -1
- package/dist/chunks/{command-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-76jsvc9q.js → file-mutation-w6c5q4g8.js} +51 -51
- package/dist/chunks/{command-sb04x4h3.js → file-mutation-w7gfejrx.js} +23 -23
- package/dist/chunks/{command-wakvkjy4.js → file-mutation-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{command-21kkeetz.js → file-mutation-we7rx8f6.js} +24 -24
- package/dist/chunks/file-mutation-wm0kh7y8.js +26 -0
- package/dist/chunks/{command-wnhgecwx.js → file-mutation-wnhgecwx.js} +1 -1
- package/dist/chunks/{command-9r0x1bva.js → file-mutation-wrd39zd3.js} +9 -9
- package/dist/chunks/{command-bghtn7x8.js → file-mutation-wrj223sh.js} +34 -34
- package/dist/chunks/{command-t4xy5q2h.js → file-mutation-wrnggakg.js} +21 -21
- package/dist/chunks/{command-kqgx07am.js → file-mutation-wy6d4nzf.js} +3 -3
- package/dist/chunks/{command-5hf3gx0g.js → file-mutation-x46ssyqq.js} +14 -14
- package/dist/chunks/{command-w71j32r1.js → file-mutation-x9xdyhyz.js} +22 -22
- package/dist/chunks/{command-vpfvr7pj.js → file-mutation-xav8p412.js} +52 -52
- package/dist/chunks/{command-nkyxjm4a.js → file-mutation-xj5ejtth.js} +17 -17
- package/dist/chunks/{command-3fcp3vfx.js → file-mutation-xjxwv06c.js} +33 -33
- package/dist/chunks/{command-rmzznxa2.js → file-mutation-xktxpnft.js} +27 -27
- package/dist/chunks/{command-yhv04qhe.js → file-mutation-xphx33pk.js} +3 -3
- package/dist/chunks/{command-1sp5hyz3.js → file-mutation-y04qvqhx.js} +41 -41
- package/dist/chunks/{command-egv8e2hp.js → file-mutation-y369bsvk.js} +22 -22
- package/dist/chunks/{command-dtrp02zs.js → file-mutation-y457bc3h.js} +7 -7
- package/dist/chunks/{command-nbg58ndn.js → file-mutation-y9f9p42a.js} +47 -47
- package/dist/chunks/{command-yara3q77.js → file-mutation-yara3q77.js} +2 -2
- package/dist/chunks/{command-yb20nhc3.js → file-mutation-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-cxqt8363.js → file-mutation-yggcq3r2.js} +18 -18
- package/dist/chunks/{command-bw7z95jg.js → file-mutation-yj2b5f3h.js} +35 -35
- package/dist/chunks/{command-s55xdrfs.js → file-mutation-ynkzga2v.js} +38 -38
- package/dist/chunks/{command-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-z38nccrw.js → file-mutation-z38nccrw.js} +1 -1
- package/dist/chunks/{command-3gbz2z4m.js → file-mutation-z64rkn65.js} +32 -32
- package/dist/chunks/{command-8whp40kv.js → file-mutation-zb5gs1ba.js} +3 -3
- package/dist/chunks/{command-p9p598qb.js → file-mutation-zdvvded9.js} +25 -25
- package/dist/chunks/{command-dh3t098k.js → file-mutation-zrm686mt.js} +9 -9
- package/dist/chunks/{command-zg6yp68a.js → file-mutation-zy3tpbx7.js} +21 -21
- package/dist/chunks/{command-3ebws65w.js → file-mutation-zzj2xcr4.js} +6 -6
- package/dist/chunks/{command-54hpetsb.js → file-mutation-zzwc8gnd.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +119 -119
- 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 +123 -123
- 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 +124 -124
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/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 +98 -98
- 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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +4 -4
- 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 +9 -9
- package/dist/filesystem.js +112 -112
- 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 +88 -88
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +84 -84
- 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 +93 -93
- 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 +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +110 -110
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- 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 +225 -225
- 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 +357 -357
- 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 +7 -7
- 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 +8 -8
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +107 -107
- 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 +94 -94
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- 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 +5 -5
- 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 +156 -156
- package/dist/session/projector.js +134 -134
- 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 +3 -3
- 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 +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +144 -144
- package/dist/snapshot.js +97 -97
- 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 +158 -158
- 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 +147 -147
- 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 +141 -141
- package/dist/tool/plugin/write.js +156 -156
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- 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 +4 -4
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- 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 +108 -108
- 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-dhwr4tpt.js +0 -511
- package/dist/chunks/command-me0dhgxs.js +0 -18
- /package/dist/chunks/{command-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1jakw16s.js → file-mutation-1jakw16s.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4m86bj6y.js → file-mutation-4m86bj6y.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → file-mutation-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a058387c.js → file-mutation-a058387c.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → file-mutation-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → file-mutation-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → file-mutation-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → file-mutation-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-ncqqe42p.js → file-mutation-ncqqe42p.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → file-mutation-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./file-mutation-q9z0p7gh.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service81
|
|
9
|
+
} from "./file-mutation-3mth2z3s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service72
|
|
12
|
+
} from "./file-mutation-84q6t6ac.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-0qs8yesb.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service6
|
|
20
|
+
} from "./file-mutation-jcqm84fr.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-v1bqj1yq.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
26
|
scan3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-770pw0s1.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
33
|
var exports_skill3 = {};
|
|
34
34
|
__export(exports_skill3, {
|
|
35
35
|
ConfigSkillPlugin: () => exports_skill3,
|
|
36
|
-
Plugin: () =>
|
|
36
|
+
Plugin: () => Plugin46
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin46 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service72;
|
|
47
|
+
const discovery = yield* Service6;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service81;
|
|
51
|
+
const watcher = yield* Service73;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -179,4 +179,4 @@ var Plugin43 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin46, exports_skill3 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./file-mutation-rkkrzzbq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./file-mutation-xjxwv06c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service73,
|
|
12
|
+
node77
|
|
13
|
+
} from "./file-mutation-q9z0p7gh.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service81,
|
|
19
|
+
node85
|
|
20
|
+
} from "./file-mutation-3mth2z3s.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-7w2ypzdf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-vhc9amj9.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mutation-hte3z5j4.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-1x2knyw4.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service74,
|
|
37
|
+
Event14,
|
|
38
|
+
node78
|
|
39
|
+
} from "./file-mutation-avfx08wj.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options7,
|
|
49
|
+
Service: () => Service72,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured10,
|
|
52
52
|
latest: () => latest2,
|
|
53
53
|
layer: () => layer25,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node76,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options7 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -76,7 +76,7 @@ var Options6 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service72 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -100,16 +100,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
100
100
|
return document ? next.set(integrationID, document) : next;
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
|
-
return Context.empty().pipe(Context.add(
|
|
103
|
+
return Context.empty().pipe(Context.add(Service72, service), Context.add(Test2, service));
|
|
104
104
|
}));
|
|
105
|
-
var layer25 = (options) => Layer.effect(
|
|
105
|
+
var layer25 = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
|
-
const location = yield*
|
|
108
|
-
const watcher = yield*
|
|
109
|
-
const bus = yield*
|
|
110
|
-
const credentials = yield*
|
|
107
|
+
const location = yield* Service81;
|
|
108
|
+
const watcher = yield* Service73;
|
|
109
|
+
const bus = yield* Service84;
|
|
110
|
+
const credentials = yield* Service79;
|
|
111
111
|
const globalService = yield* Global.Service;
|
|
112
|
-
const wellknown = yield*
|
|
112
|
+
const wellknown = yield* Service74;
|
|
113
113
|
const processes = yield* AppProcess.Service;
|
|
114
114
|
const integrations = new Map;
|
|
115
115
|
const context = yield* Effect.context();
|
|
@@ -263,8 +263,8 @@ var layer25 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
263
263
|
}, (effect) => reloadLock.withPermit(effect));
|
|
264
264
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
265
265
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
266
|
-
yield* bus.subscribe(
|
|
267
|
-
yield* bus.subscribe(
|
|
266
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
267
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
268
268
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
269
269
|
if (!wellknown.snapshot().length)
|
|
270
270
|
return Effect.void;
|
|
@@ -292,7 +292,7 @@ var layer25 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
292
292
|
`);
|
|
293
293
|
yield* requestReload;
|
|
294
294
|
}, (effect) => updateLock.withPermit(effect));
|
|
295
|
-
return
|
|
295
|
+
return Service72.of({
|
|
296
296
|
entries: Effect.fnUntraced(function* () {
|
|
297
297
|
return configs;
|
|
298
298
|
}),
|
|
@@ -312,22 +312,22 @@ var layer25 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}));
|
|
315
|
-
function
|
|
315
|
+
function configured10(options) {
|
|
316
316
|
return makeLocationNode({
|
|
317
|
-
service:
|
|
317
|
+
service: Service72,
|
|
318
318
|
layer: layer25(options),
|
|
319
319
|
deps: [
|
|
320
|
-
|
|
321
|
-
|
|
320
|
+
node77,
|
|
321
|
+
node88,
|
|
322
322
|
FSUtil.node,
|
|
323
323
|
Global.node,
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
324
|
+
node85,
|
|
325
|
+
node83,
|
|
326
|
+
node78,
|
|
327
327
|
AppProcess.node
|
|
328
328
|
]
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var
|
|
331
|
+
var node76 = configured10();
|
|
332
332
|
|
|
333
|
-
export { latest2,
|
|
333
|
+
export { latest2, Options7, Service72, Test2, testLayer2, layer25, configured10, node76, exports_config };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-y369bsvk.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent = {};
|
|
12
12
|
__export(exports_agent, {
|
|
13
13
|
AgentPlugin: () => exports_agent,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin20
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin20 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin17 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID10.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID10.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID10.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID10.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID10.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin17 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin20, exports_agent };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./file-mutation-y9f9p42a.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
24
|
-
MAX_RESPONSE_BYTES: () =>
|
|
24
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
25
25
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin16,
|
|
27
27
|
WebFetchTool: () => exports_webfetch,
|
|
28
28
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
29
|
-
description: () =>
|
|
29
|
+
description: () => description5,
|
|
30
30
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
31
|
-
name: () =>
|
|
31
|
+
name: () => name13
|
|
32
32
|
});
|
|
33
33
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
34
34
|
import { Duration, Effect, Schema } from "effect";
|
|
35
35
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { Parser } from "htmlparser2";
|
|
37
|
-
var
|
|
38
|
-
var
|
|
37
|
+
var name13 = "webfetch";
|
|
38
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
39
39
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
40
40
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
41
|
-
var
|
|
41
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
42
42
|
|
|
43
43
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
44
44
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
45
|
-
var
|
|
45
|
+
var Input13 = Schema.Struct({
|
|
46
46
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
47
47
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
48
48
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -52,7 +52,7 @@ var Input7 = Schema.Struct({
|
|
|
52
52
|
var Output = Schema.Struct({
|
|
53
53
|
url: Schema.String,
|
|
54
54
|
contentType: Schema.String,
|
|
55
|
-
format:
|
|
55
|
+
format: Input13.fields.format,
|
|
56
56
|
output: Schema.String
|
|
57
57
|
});
|
|
58
58
|
var acceptHeader = (format) => {
|
|
@@ -103,7 +103,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
103
103
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
104
104
|
});
|
|
105
105
|
}));
|
|
106
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
106
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
107
107
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
108
108
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
109
109
|
var convert = (content, contentType, format) => {
|
|
@@ -115,16 +115,16 @@ var convert = (content, contentType, format) => {
|
|
|
115
115
|
return extractTextFromHTML2(content);
|
|
116
116
|
return content;
|
|
117
117
|
};
|
|
118
|
-
var
|
|
118
|
+
var Plugin16 = {
|
|
119
119
|
id: "opencode.tool.webfetch",
|
|
120
120
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
121
121
|
const http = yield* HttpClient.HttpClient;
|
|
122
|
-
const permission = yield*
|
|
122
|
+
const permission = yield* Service68;
|
|
123
123
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
124
|
-
name:
|
|
124
|
+
name: name13,
|
|
125
125
|
options: { codemode: false },
|
|
126
|
-
description:
|
|
127
|
-
input:
|
|
126
|
+
description: description5,
|
|
127
|
+
input: Input13,
|
|
128
128
|
output: Output,
|
|
129
129
|
execute: (input, context) => Effect.gen(function* () {
|
|
130
130
|
yield* Effect.try({
|
|
@@ -132,7 +132,7 @@ var Plugin23 = {
|
|
|
132
132
|
catch: (error) => error
|
|
133
133
|
});
|
|
134
134
|
yield* permission.assert({
|
|
135
|
-
action:
|
|
135
|
+
action: name13,
|
|
136
136
|
resources: [input.url],
|
|
137
137
|
save: ["*"],
|
|
138
138
|
metadata: input,
|
|
@@ -142,7 +142,7 @@ var Plugin23 = {
|
|
|
142
142
|
});
|
|
143
143
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
144
144
|
const check = (url) => permission.assertNotDenied({
|
|
145
|
-
action:
|
|
145
|
+
action: name13,
|
|
146
146
|
resources: [url],
|
|
147
147
|
metadata: { ...input, url },
|
|
148
148
|
sessionID: context.sessionID,
|
|
@@ -198,4 +198,4 @@ function extractTextFromHTML2(html) {
|
|
|
198
198
|
parser.end();
|
|
199
199
|
return text.trim();
|
|
200
200
|
}
|
|
201
|
-
export {
|
|
201
|
+
export { name13, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input13, MAX_REDIRECTS2, Plugin16, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./file-mutation-hvvf9qw8.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-n3r3rt18.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-04mewp1n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./file-mutation-0qs8yesb.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service40;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./file-mutation-ch0v3cp9.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-zzj2xcr4.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service86,
|
|
10
|
+
node: () => node90
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service86 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service86.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node90 = makeLocationNode({ service: Service86, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service86, node90, exports_hooks };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref5
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-3mth2z3s.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service65,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node69,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service65 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service65, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node69 = LayerNode.unbound(Service65, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service65;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -48,4 +48,4 @@ function canonical3(ref) {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Service65, node69, reload2, canonical3, exports_location_service_map };
|