@opencode/core 0.0.0-dev-19435 → 0.0.0-dev-19436
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-en58n665.js → generate-09atk14q.js} +10 -10
- package/dist/chunks/{location-m8nqv7st.js → generate-0ctcqb5r.js} +25 -25
- package/dist/chunks/{location-dyysx4dq.js → generate-0jkkj5x0.js} +6 -6
- package/dist/chunks/{location-m1y7e9ek.js → generate-0nzybmd6.js} +23 -23
- package/dist/chunks/{location-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-3af3sqg9.js → generate-0wtspe5f.js} +15 -15
- package/dist/chunks/{location-xshrq19q.js → generate-0xma9y6h.js} +16 -16
- package/dist/chunks/{location-1as6q9f6.js → generate-0yr4mqa9.js} +7 -7
- package/dist/chunks/{location-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-x80tm2rf.js → generate-1f4gyz0n.js} +18 -18
- package/dist/chunks/{location-gc9rycst.js → generate-1k2mzmz4.js} +7 -7
- package/dist/chunks/{location-qx0n0hnh.js → generate-1n9n5b3d.js} +19 -19
- package/dist/chunks/{location-bfrarwjs.js → generate-1p8pj4gq.js} +5 -5
- package/dist/chunks/{location-eewaj409.js → generate-1pscxtyc.js} +14 -14
- package/dist/chunks/{location-yryey8bw.js → generate-1qkyvz7t.js} +25 -25
- package/dist/chunks/{location-qycwybve.js → generate-1wj59nq5.js} +11 -11
- package/dist/chunks/{location-q17hktv8.js → generate-1yrdzb9h.js} +16 -16
- package/dist/chunks/{location-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{location-2402vzrj.js → generate-2402vzrj.js} +1 -1
- package/dist/chunks/{location-gvnbva7c.js → generate-27pxjv6r.js} +11 -11
- package/dist/chunks/{location-g7j46mhj.js → generate-282ycpdt.js} +11 -11
- package/dist/chunks/{location-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-hdmnnff5.js → generate-2gpyj5kx.js} +5 -5
- package/dist/chunks/{location-gs13a0mc.js → generate-2ktqxpjb.js} +56 -56
- package/dist/chunks/{location-qqs4xmxe.js → generate-2xsd6cxc.js} +54 -54
- package/dist/chunks/{location-1ygqh575.js → generate-33w4ejhs.js} +6 -6
- package/dist/chunks/{location-y14y9keq.js → generate-39pny36r.js} +1 -1
- package/dist/chunks/{location-w79zsp0s.js → generate-39r80e1r.js} +1 -1
- package/dist/chunks/{location-81swgkk7.js → generate-3e8pesde.js} +9 -9
- package/dist/chunks/{location-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-swabsky0.js → generate-3v0kbfet.js} +6 -6
- package/dist/chunks/{location-c0xs0mpv.js → generate-460qmyvt.js} +23 -23
- package/dist/chunks/{location-gw2vvezc.js → generate-46d75zpd.js} +9 -9
- package/dist/chunks/{location-8hg6030g.js → generate-49s5q05k.js} +14 -14
- package/dist/chunks/{location-ekvngk86.js → generate-4mef8aht.js} +7 -7
- package/dist/chunks/{location-2sc5vdwx.js → generate-4qftt0ad.js} +7 -7
- package/dist/chunks/{location-xaadjf4r.js → generate-4r6mae84.js} +24 -24
- package/dist/chunks/{location-829mfcx0.js → generate-4vz798w9.js} +9 -9
- package/dist/chunks/{location-t45hv4wr.js → generate-4w9k0mjw.js} +15 -15
- package/dist/chunks/{location-rmdyxgmk.js → generate-52fpbh6z.js} +8 -8
- package/dist/chunks/{location-ca9c6syk.js → generate-59jshr4n.js} +30 -30
- package/dist/chunks/{location-bte2cbsy.js → generate-5bsnye8q.js} +27 -27
- package/dist/chunks/{location-a1bz86dw.js → generate-5c4hm403.js} +3 -3
- package/dist/chunks/{location-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{location-f8hxd4bv.js → generate-5ks7kb4v.js} +20 -20
- package/dist/chunks/{location-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-yb440psp.js → generate-60a2mxse.js} +5 -5
- package/dist/chunks/{location-ep6qtvyr.js → generate-61b2b0jm.js} +30 -30
- package/dist/chunks/{location-pw9v3g6d.js → generate-64s65d1n.js} +5 -5
- package/dist/chunks/{location-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{location-yjdnpxry.js → generate-69kxc8pj.js} +19 -19
- package/dist/chunks/{location-y506eeqx.js → generate-6f6vgmrt.js} +17 -17
- package/dist/chunks/{location-hv4jntb9.js → generate-6g3dpzke.js} +18 -18
- package/dist/chunks/{location-hky8et6e.js → generate-6h2n816c.js} +18 -18
- package/dist/chunks/{location-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-h7jk4asw.js → generate-6q1acxff.js} +43 -43
- package/dist/chunks/{location-f6t340ae.js → generate-6ya4w7xv.js} +18 -18
- package/dist/chunks/{location-71q4at8m.js → generate-71q4at8m.js} +1 -1
- package/dist/chunks/{location-ppdy6qwe.js → generate-72nr9cry.js} +4 -4
- package/dist/chunks/{location-7b15y959.js → generate-7b15y959.js} +1 -1
- package/dist/chunks/{location-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-qvf5hp1t.js → generate-7d9ys0qb.js} +33 -33
- package/dist/chunks/{location-2k8khapm.js → generate-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-ax870rrv.js → generate-7gqemh59.js} +7 -7
- package/dist/chunks/{location-bndvft47.js → generate-7pfda458.js} +21 -21
- package/dist/chunks/{location-39s9xh8n.js → generate-7tnppf00.js} +16 -16
- package/dist/chunks/{location-etwfhkz9.js → generate-7wwfbcqc.js} +9 -9
- package/dist/chunks/{location-wknpsqf7.js → generate-81z6ssen.js} +30 -30
- package/dist/chunks/{location-tm7ffpnn.js → generate-83h91mzx.js} +6 -6
- package/dist/chunks/{location-410zfba8.js → generate-8467n133.js} +2 -2
- package/dist/chunks/{location-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-cj3c3by5.js → generate-8gkxrww8.js} +18 -18
- package/dist/chunks/{location-j0fb3yen.js → generate-8j9290cj.js} +26 -26
- package/dist/chunks/{location-3tbkqww7.js → generate-8yay56x4.js} +5 -5
- package/dist/chunks/{location-sdtwcfar.js → generate-92s5ptt1.js} +32 -32
- package/dist/chunks/{location-226tafxp.js → generate-96yt6zt0.js} +1 -1
- package/dist/chunks/{location-sst0ghmm.js → generate-98f102c3.js} +13 -13
- package/dist/chunks/{location-yz4r56ez.js → generate-99qv6bna.js} +23 -23
- package/dist/chunks/{location-4sr2v72b.js → generate-9bz2v5s0.js} +10 -10
- package/dist/chunks/{location-r8qagt8b.js → generate-9r6hh7kf.js} +17 -17
- package/dist/chunks/{location-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{location-rp7ht49k.js → generate-abw1kwbq.js} +39 -39
- package/dist/chunks/{location-k44by2q5.js → generate-adr43mc1.js} +21 -21
- package/dist/chunks/{location-vdpzq508.js → generate-aws7z9kx.js} +18 -18
- package/dist/chunks/{location-xgpdceje.js → generate-ay6pntn3.js} +24 -24
- package/dist/chunks/{location-03b5nb02.js → generate-aygt8q9r.js} +12 -12
- package/dist/chunks/{location-389stghd.js → generate-az4749a7.js} +11 -11
- package/dist/chunks/{location-n002fnqn.js → generate-azsc15mm.js} +46 -46
- package/dist/chunks/{location-q3d655mj.js → generate-b1xvncj7.js} +81 -81
- package/dist/chunks/{location-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-sycr0cxz.js → generate-b7rrt7yp.js} +26 -26
- package/dist/chunks/{location-b8q5k5sw.js → generate-b8ppthjy.js} +20 -20
- package/dist/chunks/{location-2xsh895f.js → generate-bny867va.js} +11 -11
- package/dist/chunks/{location-kpe4e0s9.js → generate-bp2j6a1f.js} +17 -17
- package/dist/chunks/{location-w08q9gc9.js → generate-bs2kgc24.js} +22 -22
- package/dist/chunks/{location-pzfzh42t.js → generate-c0y0jbg7.js} +15 -15
- package/dist/chunks/{location-zcrspsvn.js → generate-ca7w653e.js} +4 -4
- package/dist/chunks/{location-3t8eac1t.js → generate-cavr175a.js} +4 -4
- package/dist/chunks/{location-svv6qsvk.js → generate-ccmz1r19.js} +2 -2
- package/dist/chunks/{location-2qjvwhpy.js → generate-cdtwy1r3.js} +29 -29
- package/dist/chunks/{location-rp8jz6x1.js → generate-cpy6gm2a.js} +6 -6
- package/dist/chunks/{location-t268s8j2.js → generate-cv20tjt8.js} +14 -14
- package/dist/chunks/{location-rz6djy9m.js → generate-cysjstt0.js} +34 -34
- package/dist/chunks/{location-4pfqqkn9.js → generate-czz1mk0t.js} +25 -25
- package/dist/chunks/{location-bsj0k59k.js → generate-d18798dz.js} +29 -29
- package/dist/chunks/{location-tgnvbkra.js → generate-d9a9xnav.js} +20 -20
- package/dist/chunks/{location-n25jd2cw.js → generate-daf03bc6.js} +30 -30
- package/dist/chunks/{location-8p4f9s12.js → generate-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-k5jcx5w1.js → generate-dk6e62g5.js} +9 -9
- package/dist/chunks/{location-ezedb5nb.js → generate-dp5bsb0e.js} +12 -12
- package/dist/chunks/{location-y8z56cqz.js → generate-dpskyeh4.js} +24 -24
- package/dist/chunks/{location-ae9ptqg3.js → generate-e1rvn8vw.js} +4 -4
- package/dist/chunks/{location-2f0bjgcj.js → generate-e3mxans8.js} +5 -5
- package/dist/chunks/{location-cvaj0dbv.js → generate-eagyeves.js} +15 -15
- package/dist/chunks/{location-t072myer.js → generate-ebhw3mq4.js} +4 -4
- package/dist/chunks/{location-tgsqfs3c.js → generate-efqcpyxk.js} +39 -39
- package/dist/chunks/{location-ayhzktfb.js → generate-em4ar646.js} +30 -30
- package/dist/chunks/{location-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-bha4atvq.js → generate-evq6r5pz.js} +4 -4
- package/dist/chunks/{location-vhbmzvty.js → generate-ezt0m903.js} +24 -24
- package/dist/chunks/{location-zwsxqnjr.js → generate-f2daj8m5.js} +15 -15
- package/dist/chunks/{location-7j0rmcxv.js → generate-f8q7mv7a.js} +1 -1
- package/dist/chunks/{location-whhmk8k9.js → generate-fbyxhnwk.js} +11 -11
- package/dist/chunks/{location-5x0v6vja.js → generate-fgh0kbhd.js} +1 -1
- package/dist/chunks/{location-x7vckax8.js → generate-fq0va44m.js} +9 -9
- package/dist/chunks/{location-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-s6xwevjp.js → generate-fygdb7h7.js} +3 -3
- package/dist/chunks/{location-ent09bmt.js → generate-g6vpggfr.js} +4 -4
- package/dist/chunks/{location-1j70cen6.js → generate-gasky795.js} +24 -24
- package/dist/chunks/{location-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-pec4bm3r.js → generate-gjqr6zrn.js} +13 -13
- package/dist/chunks/{location-jbhgm1pg.js → generate-gp6jffzn.js} +13 -13
- package/dist/chunks/{location-mfpdf0ta.js → generate-gtq86vsq.js} +7 -7
- package/dist/chunks/{location-h03wrkyp.js → generate-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-4hyxw530.js → generate-h0hnsk02.js} +6 -6
- package/dist/chunks/{location-2hgjbaq7.js → generate-h1cbn5my.js} +4 -4
- package/dist/chunks/{location-y8f7dagd.js → generate-h1fvy1gd.js} +17 -17
- package/dist/chunks/{location-j26kwb45.js → generate-h5yrfjqd.js} +10 -10
- package/dist/chunks/{location-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-8s8mxddj.js → generate-h6z8d5tn.js} +4 -4
- package/dist/chunks/{location-gx10v58f.js → generate-hc7vzb2a.js} +18 -18
- package/dist/chunks/{location-f828m53h.js → generate-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-a5z4fv32.js → generate-hp8a6key.js} +26 -26
- package/dist/chunks/{location-qdyxpk4m.js → generate-hr1ws8e2.js} +40 -40
- package/dist/chunks/{location-rpr7nt0p.js → generate-htw1ycyk.js} +11 -11
- package/dist/chunks/{location-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{location-zzqyq7ew.js → generate-j5nsxvak.js} +35 -35
- package/dist/chunks/{location-5vqd2904.js → generate-jesy7fcc.js} +17 -17
- package/dist/chunks/{location-vc5bk1c0.js → generate-jexg7ppr.js} +13 -13
- package/dist/chunks/{location-m0kbr7p9.js → generate-jp9jb5qe.js} +11 -11
- package/dist/chunks/{location-t96n3knx.js → generate-jqcr0tvq.js} +30 -30
- package/dist/chunks/{location-yt0fqk68.js → generate-jwbqhvyy.js} +5 -5
- package/dist/chunks/{location-f7ehr2sm.js → generate-jwx4y25k.js} +2 -2
- package/dist/chunks/{location-czkxp88d.js → generate-jxt422gf.js} +8 -8
- package/dist/chunks/{location-zxvgyezd.js → generate-k16ay38w.js} +1 -1
- package/dist/chunks/{location-9y8gg6zj.js → generate-k53abcyj.js} +8 -8
- package/dist/chunks/{location-cc10ch8m.js → generate-k7gbetc5.js} +20 -20
- package/dist/chunks/{location-ratrq7cm.js → generate-k8962brh.js} +7 -7
- package/dist/chunks/{location-kg06axw8.js → generate-kg06axw8.js} +1 -1
- package/dist/chunks/generate-kn2ed1ny.js +247 -0
- package/dist/chunks/{location-v542w56z.js → generate-kqphnfc4.js} +23 -23
- package/dist/chunks/{location-qgqfnjyk.js → generate-krm885fd.js} +86 -86
- package/dist/chunks/{location-srhw5zxk.js → generate-ks5znfvj.js} +8 -8
- package/dist/chunks/{location-ncaez7fb.js → generate-ksz0h0wp.js} +1 -1
- package/dist/chunks/{location-ky1ech8t.js → generate-ktppz2xf.js} +6 -6
- package/dist/chunks/{location-kyrbgmgz.js → generate-kyrbgmgz.js} +2 -2
- package/dist/chunks/{location-cfpkc3c9.js → generate-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-ae99a08d.js → generate-m1sc7qpq.js} +4 -4
- package/dist/chunks/{location-a24v126d.js → generate-m27pyyd3.js} +8 -8
- package/dist/chunks/{location-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-ndmv45hp.js → generate-mf9m2v67.js} +3 -3
- package/dist/chunks/{location-paegk39x.js → generate-mfhfdr54.js} +4 -4
- package/dist/chunks/{location-3be754jd.js → generate-mfz1jzpf.js} +7 -7
- package/dist/chunks/{location-bpqahvg7.js → generate-mgx963cj.js} +8 -8
- package/dist/chunks/{location-eq1pz5kg.js → generate-mhkvc446.js} +3 -3
- package/dist/chunks/{location-bh19jbb0.js → generate-mj59rbhw.js} +6 -6
- package/dist/chunks/{location-mkcjrzeh.js → generate-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-16tb5cjj.js → generate-mkk216y0.js} +14 -14
- package/dist/chunks/{location-n8f3mzga.js → generate-mm4qk4sz.js} +4 -4
- package/dist/chunks/{location-aab08neh.js → generate-mmebaszg.js} +23 -23
- package/dist/chunks/{location-bvr2g14r.js → generate-mnv392bk.js} +11 -11
- package/dist/chunks/{location-29e0nmzb.js → generate-mxnz8za5.js} +20 -20
- package/dist/chunks/{location-qhs4rngb.js → generate-n48wz30s.js} +30 -30
- package/dist/chunks/{location-2wyd3ps6.js → generate-n76fdqym.js} +5 -5
- package/dist/chunks/{location-nhy5jxhy.js → generate-nhy5jxhy.js} +1 -1
- package/dist/chunks/{location-3bvf0a01.js → generate-njqcqwne.js} +32 -32
- package/dist/chunks/generate-nn82kedb.js +22 -0
- package/dist/chunks/{location-s138m409.js → generate-nyb0p7a8.js} +14 -14
- package/dist/chunks/{location-q7cq3y4p.js → generate-p2ms2xer.js} +46 -46
- package/dist/chunks/{location-96yrngjz.js → generate-p2r27tsk.js} +11 -11
- package/dist/chunks/{location-dwfyc9qf.js → generate-pggbgfqn.js} +11 -11
- package/dist/chunks/{location-bqs6z16n.js → generate-pjg5vxkm.js} +5 -5
- package/dist/chunks/{location-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-9tbtdqpf.js → generate-pkmfek68.js} +4 -4
- package/dist/chunks/{location-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{location-p6drjj8h.js → generate-q3pfqd80.js} +6 -6
- package/dist/chunks/{location-1q5awywt.js → generate-q4fmv0xv.js} +5 -5
- package/dist/chunks/{location-y2r22c8c.js → generate-qrfzss76.js} +63 -63
- package/dist/chunks/{location-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{location-6bsjh9v7.js → generate-qvj9tamg.js} +301 -301
- package/dist/chunks/{location-8q61w4ba.js → generate-r01t9b5y.js} +8 -8
- package/dist/chunks/{location-mk60nzq1.js → generate-r9babyk8.js} +1 -1
- package/dist/chunks/{location-eaj1djv9.js → generate-rhjbct0v.js} +8 -8
- package/dist/chunks/{location-zeh9ct20.js → generate-rq775frq.js} +2 -2
- package/dist/chunks/{location-rwc534w8.js → generate-rqac2h8p.js} +17 -17
- package/dist/chunks/{location-07g0wp3c.js → generate-s13d9hm5.js} +41 -41
- package/dist/chunks/{location-k3zbr1bh.js → generate-s64cbx49.js} +7 -7
- package/dist/chunks/{location-56ek0vvh.js → generate-sex50t12.js} +13 -13
- package/dist/chunks/{location-j2p38w15.js → generate-sj0pg1d2.js} +46 -46
- package/dist/chunks/{location-j556b5bm.js → generate-srkwgq29.js} +25 -25
- package/dist/chunks/{location-58gxdv9m.js → generate-ss43wqfj.js} +12 -12
- package/dist/chunks/{location-m86bnw2c.js → generate-sw3r3x1t.js} +9 -9
- package/dist/chunks/{location-wb8znxk9.js → generate-sygp3w95.js} +9 -9
- package/dist/chunks/{location-fjmrr6sh.js → generate-t0x5rdq8.js} +9 -9
- package/dist/chunks/{location-pfwdjrz4.js → generate-t7z3zppm.js} +2 -2
- package/dist/chunks/{location-29arvqx0.js → generate-ta4djbce.js} +170 -170
- package/dist/chunks/{location-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{location-kg1vvjz6.js → generate-tqfej29b.js} +16 -16
- package/dist/chunks/{location-2x8aavte.js → generate-tqskq136.js} +8 -8
- package/dist/chunks/{location-sq0fsqh3.js → generate-tqw8zxxy.js} +11 -11
- package/dist/chunks/{location-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{location-7smaqcb0.js → generate-v0k42p31.js} +18 -18
- package/dist/chunks/{location-hnr5yq9h.js → generate-v5hpcsb0.js} +5 -5
- package/dist/chunks/{location-b33xe3vz.js → generate-v894zy29.js} +22 -22
- package/dist/chunks/{location-889pe7d8.js → generate-vd9xqktw.js} +46 -46
- package/dist/chunks/{location-3j8sdtpz.js → generate-ve4pfa0n.js} +4 -4
- package/dist/chunks/{location-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/generate-vnkjks7b.js +18 -0
- package/dist/chunks/{location-bde8na58.js → generate-vxqvp5m2.js} +29 -29
- package/dist/chunks/{location-nxjhxkv3.js → generate-vyj892hr.js} +12 -12
- package/dist/chunks/{location-b1chm04x.js → generate-vyqn3nqs.js} +9 -9
- package/dist/chunks/{location-e8ne3dpa.js → generate-vyxhsqdc.js} +20 -20
- package/dist/chunks/{location-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-ve6nm2s5.js → generate-vzm76b3t.js} +6 -6
- package/dist/chunks/{location-czmgezh1.js → generate-w0vj055n.js} +24 -24
- package/dist/chunks/{location-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{location-wh6nx8gk.js → generate-wdgp3mgb.js} +4 -4
- package/dist/chunks/{location-xv590yw7.js → generate-wfvawqgc.js} +24 -24
- package/dist/chunks/{location-8m3d2bhh.js → generate-wy2fjyd3.js} +8 -8
- package/dist/chunks/{location-h8ja802q.js → generate-wzymtbz6.js} +4 -4
- package/dist/chunks/{location-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-x43y2vfs.js → generate-x43y2vfs.js} +2 -2
- package/dist/chunks/{location-c03trhyz.js → generate-x4x0qw1a.js} +24 -24
- package/dist/chunks/{location-wx89x9gj.js → generate-xj0bxjy7.js} +17 -17
- package/dist/chunks/{location-e61xx2n8.js → generate-xnpbk0pc.js} +5 -5
- package/dist/chunks/{location-gzg98a5d.js → generate-xvaj3ykh.js} +6 -6
- package/dist/chunks/{location-tmbxdmay.js → generate-xz2sz7jr.js} +38 -38
- package/dist/chunks/{location-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-s6g7bkfa.js → generate-y24frd6r.js} +11 -11
- package/dist/chunks/{location-szfjwb31.js → generate-y60800f4.js} +3 -3
- package/dist/chunks/{location-dpkg50ah.js → generate-y71avatq.js} +4 -4
- package/dist/chunks/{location-1jk276m1.js → generate-yayba5wy.js} +3 -3
- package/dist/chunks/{location-yddgxcp4.js → generate-yddgxcp4.js} +2 -2
- package/dist/chunks/{location-qxqbfyt6.js → generate-ygw6154k.js} +31 -31
- package/dist/chunks/{location-141fpr1p.js → generate-yjaa8gp1.js} +27 -27
- package/dist/chunks/{location-f2n192rq.js → generate-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-t5d3pp3j.js → generate-ypf30vrs.js} +17 -17
- package/dist/chunks/{location-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-yrznvahk.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/{location-th5km1p3.js → generate-yyb7tjpc.js} +5 -5
- package/dist/chunks/{location-kjtkant2.js → generate-yycwsgqa.js} +10 -10
- package/dist/chunks/{location-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-5rp8v4vz.js → generate-z5f02dmr.js} +19 -19
- package/dist/chunks/{location-z63w68vq.js → generate-z63w68vq.js} +2 -2
- package/dist/chunks/{location-dchs2g52.js → generate-z69s9t6b.js} +5 -5
- package/dist/chunks/{location-psg6js8p.js → generate-zkpb4mnd.js} +27 -27
- package/dist/chunks/{location-j69nrb2c.js → generate-zmcvkbyh.js} +17 -17
- package/dist/chunks/{location-hvpzgxgs.js → generate-znesh5ka.js} +9 -9
- package/dist/chunks/{location-xcrbymt7.js → generate-zpja4yre.js} +43 -43
- package/dist/chunks/{location-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-v7br46vm.js → generate-ztcv1eyd.js} +4 -4
- package/dist/chunks/{location-v4t0dn9g.js → generate-zv3e7t68.js} +2 -2
- package/dist/chunks/{location-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +84 -84
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +68 -68
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +109 -109
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/location-4v7qdvcn.js +0 -18
- package/dist/chunks/location-a0etbwks.js +0 -22
- package/dist/chunks/location-w850rf70.js +0 -247
- /package/dist/chunks/{location-0mesazry.js → generate-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{location-hrnqkpcd.js → generate-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-paphc93g.js → generate-paphc93g.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → generate-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-m27pyyd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info28,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-9bz2v5s0.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
ModalModels: () => exports_models2,
|
|
20
|
+
get: () => get3
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID18.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get3(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID13.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID13.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info28.make({
|
|
92
|
+
...Info28.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID13.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get3, exports_models2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./generate-4r6mae84.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service64;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service67,
|
|
9
|
+
node71
|
|
10
|
+
} from "./generate-h5yrfjqd.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service65,
|
|
13
|
+
node69
|
|
14
|
+
} from "./generate-rqac2h8p.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service30,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node34,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service30 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service67;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service65;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service30.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node34 = makeLocationNode({
|
|
139
|
+
service: Service30,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node71, Global.node, node69]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service30, Service30.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service71, Service71.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error2({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID4, Error2, Service30, node34, noopLayer2, exports_snapshot2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service34
|
|
3
|
+
} from "./generate-vzm76b3t.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-vnkjks7b.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-83h91mzx.js";
|
|
10
10
|
import {
|
|
11
11
|
Service39
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-98f102c3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,7 +22,7 @@ __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*
|
|
25
|
+
const instances = yield* Service34;
|
|
26
26
|
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-ztcv1eyd.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event13,
|
|
18
|
+
ID: () => ID8,
|
|
19
|
+
Info: () => Info22,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service61,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node65
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event13 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID8 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID8.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info22 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service61 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info22.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID8.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service61.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID8.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID8.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node65 = makeLocationNode({ service: Service61, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID8, Name3, defaultID2, Color2, Info22, Service61, node65, exports_agent4, Event13 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-yayba5wy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./generate-vzm76b3t.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-vnkjks7b.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-mfhfdr54.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-tqskq136.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-61b2b0jm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service19
|
|
21
|
+
} from "./generate-krm885fd.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate3
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service34;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service19;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate3,
|
|
74
|
+
export { generate3, exports_generate };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service34
|
|
3
|
+
} from "./generate-vzm76b3t.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-vnkjks7b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./generate-azsc15mm.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service34;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-ztcv1eyd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service67,
|
|
7
|
+
node71
|
|
8
|
+
} from "./generate-h5yrfjqd.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service65,
|
|
11
|
+
node69
|
|
12
|
+
} from "./generate-rqac2h8p.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-vnkjks7b.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service51,
|
|
18
|
+
node54
|
|
19
|
+
} from "./generate-v894zy29.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node19
|
|
22
|
+
} from "./generate-8gkxrww8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node15
|
|
26
|
+
} from "./generate-t0x5rdq8.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service65;
|
|
47
|
+
const watcher = yield* Service51;
|
|
48
48
|
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service67;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node54, FSUtil.node, node69, node71, node84, node19, node15]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|