@opencode-ai/core 0.0.0-dev-19113 → 0.0.0-dev-19114
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 +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{schema-ghs32kwn.js → rpc-05x7kg3x.js} +10 -10
- package/dist/chunks/{schema-x4r7m2ed.js → rpc-08aze5ws.js} +31 -31
- package/dist/chunks/{schema-zr385g01.js → rpc-0c2bm2k8.js} +46 -46
- package/dist/chunks/{schema-0e0xafbb.js → rpc-0e0xafbb.js} +2 -2
- package/dist/chunks/{schema-5d7pjmem.js → rpc-0gxwyxn9.js} +11 -11
- package/dist/chunks/{schema-gb2d2dnx.js → rpc-0n8tzkkd.js} +9 -9
- package/dist/chunks/{schema-ptrvg6rv.js → rpc-0nsz8vzd.js} +9 -9
- package/dist/chunks/{schema-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-k8feg6vv.js → rpc-0rag4e4f.js} +4 -4
- package/dist/chunks/{schema-0s9ayhjt.js → rpc-0s9ayhjt.js} +1 -1
- package/dist/chunks/{schema-x9k9x3cg.js → rpc-0vzfvg04.js} +8 -8
- package/dist/chunks/{schema-jzwyrcyp.js → rpc-11zyvh05.js} +37 -37
- package/dist/chunks/{schema-465hbgy4.js → rpc-13a4dv0y.js} +23 -23
- package/dist/chunks/{schema-m9gnqnf3.js → rpc-13wt57az.js} +165 -165
- package/dist/chunks/{schema-1ct4r87x.js → rpc-1ct4r87x.js} +1 -1
- package/dist/chunks/{schema-a5nkh94p.js → rpc-1f1wzhgc.js} +4 -4
- package/dist/chunks/{schema-mcxg6pmm.js → rpc-1hyh32dx.js} +1 -1
- package/dist/chunks/{schema-z2hjzsqf.js → rpc-1mkf2rwt.js} +10 -10
- package/dist/chunks/{schema-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{schema-2402vzrj.js → rpc-2402vzrj.js} +1 -1
- package/dist/chunks/{schema-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-bh9tqa98.js → rpc-2bmk1p60.js} +26 -26
- package/dist/chunks/{schema-2ht70gj7.js → rpc-2ht70gj7.js} +1 -1
- package/dist/chunks/{schema-2jqmte8w.js → rpc-2jqmte8w.js} +2 -2
- package/dist/chunks/{schema-e5b0qn1c.js → rpc-2kf7re16.js} +1 -1
- package/dist/chunks/{schema-9n0vkmbk.js → rpc-2ksdcbcj.js} +4 -4
- package/dist/chunks/{schema-03bnknpm.js → rpc-2pka3nkn.js} +33 -33
- package/dist/chunks/{schema-qteavpav.js → rpc-2ptt8nrr.js} +20 -20
- package/dist/chunks/{schema-49vqye4b.js → rpc-362kye7e.js} +25 -25
- package/dist/chunks/{schema-xewvqdfm.js → rpc-3bm3cy1r.js} +22 -22
- package/dist/chunks/{schema-41mncz27.js → rpc-3cm4x8pz.js} +5 -5
- package/dist/chunks/{schema-gdvy8fx6.js → rpc-3fc6dm20.js} +4 -4
- package/dist/chunks/{schema-6h414ywr.js → rpc-3g2y1byn.js} +5 -5
- package/dist/chunks/{schema-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3qzbfqsy.js → rpc-3qzbfqsy.js} +2 -2
- package/dist/chunks/{schema-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-c8adm2ya.js → rpc-3wv0wb6p.js} +11 -11
- package/dist/chunks/{schema-hf39trxb.js → rpc-3x4vyhkr.js} +6 -6
- package/dist/chunks/{schema-454k5vzh.js → rpc-454k5vzh.js} +1 -1
- package/dist/chunks/{schema-pm8h9tzz.js → rpc-4cpnf65c.js} +31 -31
- package/dist/chunks/{schema-8jb23qqb.js → rpc-4f62s5at.js} +32 -32
- package/dist/chunks/{schema-4r2nyarf.js → rpc-4r2nyarf.js} +1 -1
- package/dist/chunks/{schema-mxrkvygc.js → rpc-4rkx0bt1.js} +7 -7
- package/dist/chunks/rpc-4v7qdvcn.js +18 -0
- package/dist/chunks/{schema-13henw9b.js → rpc-53rarqxp.js} +7 -7
- package/dist/chunks/{schema-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-5fmxt4p5.js → rpc-5fmxt4p5.js} +1 -1
- package/dist/chunks/{schema-5jvc5tg2.js → rpc-5jvc5tg2.js} +1 -1
- package/dist/chunks/{schema-6e9zjh3b.js → rpc-5qvt5yk2.js} +39 -39
- package/dist/chunks/{schema-yzqwwj2t.js → rpc-5t5ksy9c.js} +54 -54
- package/dist/chunks/{schema-hz4jmg6a.js → rpc-5z2s6r3m.js} +18 -18
- package/dist/chunks/{schema-hmwt0jyx.js → rpc-6426t8cq.js} +26 -26
- package/dist/chunks/{schema-8dbsynwt.js → rpc-681pyqye.js} +4 -4
- package/dist/chunks/{schema-232z5d71.js → rpc-68w074am.js} +11 -11
- package/dist/chunks/{schema-003fsg5n.js → rpc-6es5bxv4.js} +18 -18
- package/dist/chunks/{schema-cwy94s7d.js → rpc-6gbhcw7b.js} +20 -20
- package/dist/chunks/{schema-6tf8tr4v.js → rpc-6tf8tr4v.js} +2 -2
- package/dist/chunks/{schema-j2823k0a.js → rpc-6yk53f3y.js} +2 -2
- package/dist/chunks/{schema-6z5bwd8g.js → rpc-6z5bwd8g.js} +2 -2
- package/dist/chunks/{schema-86gvg13r.js → rpc-6zynhbga.js} +28 -28
- package/dist/chunks/{schema-711hfp6y.js → rpc-711hfp6y.js} +2 -2
- package/dist/chunks/{schema-s3eqpch7.js → rpc-72scwqkv.js} +1 -1
- package/dist/chunks/{schema-rmkjmdgc.js → rpc-759pz1a2.js} +8 -8
- package/dist/chunks/{schema-pv4m0g3w.js → rpc-79e6z3n4.js} +10 -10
- package/dist/chunks/{schema-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-drrwt7ne.js → rpc-7frpa3vk.js} +17 -17
- package/dist/chunks/{schema-by3wynxz.js → rpc-7g2wyn62.js} +26 -26
- package/dist/chunks/{schema-ddhdzq1z.js → rpc-7jdqkrnt.js} +22 -22
- package/dist/chunks/{schema-hge35dz1.js → rpc-7jykqdz2.js} +11 -11
- package/dist/chunks/{schema-rmy3e5eg.js → rpc-7n09dgdk.js} +3 -3
- package/dist/chunks/{schema-aw2k3wz6.js → rpc-7p4c7sjp.js} +68 -68
- package/dist/chunks/rpc-835wsdkr.js +243 -0
- package/dist/chunks/{schema-qp9er4j6.js → rpc-88fx4v6q.js} +19 -19
- package/dist/chunks/{schema-0b2z71cm.js → rpc-8a1wqn9j.js} +6 -6
- package/dist/chunks/{schema-f2c1rw5q.js → rpc-8enbe2zj.js} +8 -8
- package/dist/chunks/{schema-gra7g7yn.js → rpc-8ftyy1y4.js} +4 -4
- package/dist/chunks/{schema-8vvsq35t.js → rpc-8tb94gac.js} +28 -28
- package/dist/chunks/{schema-1bfx2f8w.js → rpc-8wp61sve.js} +15 -15
- package/dist/chunks/{schema-p2wtsv0s.js → rpc-8yb6ktry.js} +11 -11
- package/dist/chunks/{schema-xbk3bkv8.js → rpc-8zj8e59x.js} +4 -4
- package/dist/chunks/{schema-93a8yfjt.js → rpc-93a8yfjt.js} +2 -2
- package/dist/chunks/{schema-c0faa19c.js → rpc-97f5v037.js} +8 -8
- package/dist/chunks/{schema-604brgxe.js → rpc-9aknjvfg.js} +13 -13
- package/dist/chunks/{schema-885z9zv8.js → rpc-9b0zy0qp.js} +35 -35
- package/dist/chunks/{schema-sxx6cwa9.js → rpc-9e0xajhk.js} +13 -13
- package/dist/chunks/{schema-9qm9egsn.js → rpc-9qm9egsn.js} +2 -2
- package/dist/chunks/{schema-m68bnfyk.js → rpc-9ta1ym7w.js} +37 -37
- package/dist/chunks/{schema-1pcpac3c.js → rpc-9zrnh5xs.js} +45 -45
- package/dist/chunks/{schema-3m6r3y2t.js → rpc-a82phm85.js} +6 -6
- package/dist/chunks/{schema-h722e297.js → rpc-a9zfrvqc.js} +5 -5
- package/dist/chunks/{schema-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-1b1362z0.js → rpc-aaqvfjmc.js} +289 -289
- package/dist/chunks/{schema-5t62h84z.js → rpc-abz7a5b3.js} +9 -9
- package/dist/chunks/{schema-dq1m6vbr.js → rpc-agbwq1v1.js} +12 -12
- package/dist/chunks/{schema-mrndz1s0.js → rpc-agypkckn.js} +23 -23
- package/dist/chunks/{schema-ajtjthsy.js → rpc-ajtjthsy.js} +2 -2
- package/dist/chunks/{schema-wxxmn71z.js → rpc-akr89kgy.js} +12 -12
- package/dist/chunks/{schema-g7dk7q7q.js → rpc-awvzwpe5.js} +6 -6
- package/dist/chunks/{schema-vfnppjq7.js → rpc-b53s1hq4.js} +11 -11
- package/dist/chunks/rpc-b5q5y4vk.js +4 -0
- package/dist/chunks/{schema-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-mg9kt97e.js → rpc-b9t840km.js} +46 -46
- package/dist/chunks/{schema-b9wsbatv.js → rpc-b9wsbatv.js} +1 -1
- package/dist/chunks/{schema-thfv75je.js → rpc-bcezcar3.js} +5 -5
- package/dist/chunks/{schema-q2b1ymqp.js → rpc-bct739vz.js} +4 -4
- package/dist/chunks/{schema-jdcgdbf4.js → rpc-bpj5emke.js} +15 -15
- package/dist/chunks/{schema-0ez61b8c.js → rpc-bzxkbfsh.js} +2 -2
- package/dist/chunks/{schema-4t3td2wa.js → rpc-c45qpk7m.js} +5 -5
- package/dist/chunks/{schema-xqsy6kp0.js → rpc-c6p2r8tp.js} +1 -1
- package/dist/chunks/{schema-cr2cj2wh.js → rpc-cn4y6mk1.js} +12 -12
- package/dist/chunks/{schema-rgkrj14r.js → rpc-cv5vc9nm.js} +20 -20
- package/dist/chunks/{schema-x25z0w3c.js → rpc-cvhw1js2.js} +7 -7
- package/dist/chunks/{schema-mzr3jh1b.js → rpc-d2pvyrbx.js} +4 -4
- package/dist/chunks/{schema-j9p9k0ns.js → rpc-d54cj6d5.js} +20 -20
- package/dist/chunks/{schema-d72308c8.js → rpc-d72308c8.js} +2 -2
- package/dist/chunks/{schema-xzwtfmxp.js → rpc-d8k9asg8.js} +7 -7
- package/dist/chunks/{schema-89b63vz0.js → rpc-d910tjb6.js} +9 -9
- package/dist/chunks/{schema-v1tf4pqw.js → rpc-dkxcwvcg.js} +9 -9
- package/dist/chunks/{schema-7b58fdzm.js → rpc-dkzv161j.js} +39 -39
- package/dist/chunks/{schema-k6j9nnzb.js → rpc-dnn1mfa9.js} +10 -10
- package/dist/chunks/{schema-14hmenm3.js → rpc-dw3xrg89.js} +3 -3
- package/dist/chunks/{schema-aqe02c8d.js → rpc-dw7nx357.js} +28 -28
- package/dist/chunks/{schema-gpf623h2.js → rpc-dyjhg8hd.js} +26 -26
- package/dist/chunks/{schema-0wexhrg6.js → rpc-e0c61twq.js} +22 -22
- package/dist/chunks/{schema-7cxbprz9.js → rpc-e11tpvzs.js} +9 -9
- package/dist/chunks/{schema-wq3pj38h.js → rpc-e3gwwck0.js} +11 -11
- package/dist/chunks/{schema-6gdw6h0x.js → rpc-e5e2w1y3.js} +17 -17
- package/dist/chunks/{schema-71gdr5b1.js → rpc-ecj1d35v.js} +8 -8
- package/dist/chunks/{schema-8gwm888c.js → rpc-edyt7veh.js} +14 -14
- package/dist/chunks/{schema-jnkr0b22.js → rpc-eq7n8p4e.js} +10 -10
- package/dist/chunks/{schema-d33d0znm.js → rpc-esmjj44a.js} +9 -9
- package/dist/chunks/{schema-n7cf8wem.js → rpc-ex26y97c.js} +31 -31
- package/dist/chunks/{schema-5sg4xzjf.js → rpc-ez5b8bq3.js} +7 -7
- package/dist/chunks/{schema-m8y7v2t2.js → rpc-f8qtv88y.js} +10 -10
- package/dist/chunks/{schema-1twm75cg.js → rpc-f9kjby5r.js} +7 -7
- package/dist/chunks/{schema-ptakx6pw.js → rpc-fcbhp7q1.js} +18 -18
- package/dist/chunks/{schema-607tc6va.js → rpc-fcrkznn8.js} +5 -5
- package/dist/chunks/{schema-xb7ts4ht.js → rpc-fdybstan.js} +17 -17
- package/dist/chunks/{schema-1c9254mw.js → rpc-fjhz18m3.js} +22 -22
- package/dist/chunks/{schema-npjjgcke.js → rpc-fmxyf492.js} +27 -27
- package/dist/chunks/{schema-y5e1a3sd.js → rpc-fqae1sy2.js} +4 -4
- package/dist/chunks/{schema-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
- package/dist/chunks/{schema-fxypknc8.js → rpc-fxypknc8.js} +1 -1
- package/dist/chunks/{schema-e8zea55p.js → rpc-g0z069dn.js} +5 -5
- package/dist/chunks/{schema-na32d9q8.js → rpc-g9hcz8g4.js} +3 -3
- package/dist/chunks/{schema-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-dn5rar9h.js → rpc-gm9r9zqf.js} +18 -18
- package/dist/chunks/{schema-31jaghp0.js → rpc-gn28t5xn.js} +14 -14
- package/dist/chunks/{schema-wgxn7ww3.js → rpc-gqzvtz8d.js} +4 -4
- package/dist/chunks/{schema-6t6jdtfj.js → rpc-gvj0n0b8.js} +43 -43
- package/dist/chunks/{schema-j5208yae.js → rpc-gzbkpp9m.js} +4 -4
- package/dist/chunks/{schema-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-tdz2d0bf.js → rpc-havr56k6.js} +11 -11
- package/dist/chunks/{schema-heyhwy2w.js → rpc-heyhwy2w.js} +1 -1
- package/dist/chunks/{schema-ek47zmt8.js → rpc-hkfdkmkj.js} +16 -16
- package/dist/chunks/{schema-3bxg9k4v.js → rpc-hky6zsj8.js} +4 -4
- package/dist/chunks/{schema-1a62n4b4.js → rpc-hm8am6ct.js} +8 -8
- package/dist/chunks/{schema-hrvm11jt.js → rpc-hrvm11jt.js} +3 -3
- package/dist/chunks/{schema-0czjyq8r.js → rpc-hskdg1tj.js} +20 -20
- package/dist/chunks/{schema-hw4pv20g.js → rpc-hw4pv20g.js} +2 -2
- package/dist/chunks/{schema-84615681.js → rpc-j1g84fdq.js} +28 -28
- package/dist/chunks/{schema-0vj1jrz2.js → rpc-j4wxjfwy.js} +28 -28
- package/dist/chunks/{schema-gyt4m0mz.js → rpc-jg1vwa91.js} +13 -13
- package/dist/chunks/{schema-n3jkd22a.js → rpc-jj3qxa52.js} +4 -4
- package/dist/chunks/{schema-ddqrdvz9.js → rpc-jj9xsyb9.js} +13 -13
- package/dist/chunks/{schema-pq59jms5.js → rpc-jjtztttc.js} +14 -14
- package/dist/chunks/{schema-tzfkbvz2.js → rpc-jpnc116f.js} +3 -3
- package/dist/chunks/{schema-f0nz223j.js → rpc-jwcy2c2z.js} +4 -4
- package/dist/chunks/{schema-a2qpghxp.js → rpc-k1a72sje.js} +24 -24
- package/dist/chunks/{schema-0wmajvd3.js → rpc-k3fb46c0.js} +17 -17
- package/dist/chunks/{schema-k4bwy1x5.js → rpc-k4bwy1x5.js} +1 -1
- package/dist/chunks/{schema-bhpqzk3s.js → rpc-k6sj68zp.js} +7 -7
- package/dist/chunks/{schema-arkd3wpw.js → rpc-kejw0t4e.js} +5 -5
- package/dist/chunks/{schema-embxdc05.js → rpc-kexr6zkj.js} +17 -17
- package/dist/chunks/{schema-kg06axw8.js → rpc-kg06axw8.js} +1 -1
- package/dist/chunks/{schema-47hx03vq.js → rpc-kpzf6j9d.js} +10 -10
- package/dist/chunks/{schema-fcxqfnez.js → rpc-krmx2xyr.js} +41 -41
- package/dist/chunks/{schema-93zj7k35.js → rpc-kyb8p98y.js} +31 -31
- package/dist/chunks/{schema-n9mbvtnm.js → rpc-m4673ea2.js} +31 -31
- package/dist/chunks/{schema-r80rqf00.js → rpc-m51pq2yd.js} +6 -6
- package/dist/chunks/{schema-f1kgb3zy.js → rpc-m6v4gpqz.js} +11 -11
- package/dist/chunks/{schema-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-19e0cjgc.js → rpc-mafy3fh7.js} +18 -18
- package/dist/chunks/{schema-mhkvc446.js → rpc-mhkvc446.js} +1 -1
- package/dist/chunks/{schema-25x8afv5.js → rpc-mke2843p.js} +22 -22
- package/dist/chunks/{schema-ykcesz1b.js → rpc-mpbw7sv7.js} +4 -4
- package/dist/chunks/{schema-8z1zv58q.js → rpc-mq8dv1hp.js} +23 -23
- package/dist/chunks/{schema-gxf68msc.js → rpc-mzsb370n.js} +7 -7
- package/dist/chunks/{schema-hr5qjpq8.js → rpc-nrz5c8c1.js} +9 -9
- package/dist/chunks/{schema-cqg8v4c7.js → rpc-p0b4ytnr.js} +6 -6
- package/dist/chunks/{schema-51607pcx.js → rpc-pb1tcd0x.js} +34 -34
- package/dist/chunks/{schema-vsr56sgz.js → rpc-pbv7m5sr.js} +3 -3
- package/dist/chunks/{schema-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-a38ny1e6.js → rpc-pkkvpc61.js} +16 -16
- package/dist/chunks/{schema-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{schema-dwag0pt8.js → rpc-q3hv2sj9.js} +53 -53
- package/dist/chunks/{schema-wnae6eaa.js → rpc-q485ymv2.js} +86 -86
- package/dist/chunks/{schema-kqh4e8mv.js → rpc-q55daa19.js} +11 -11
- package/dist/chunks/{schema-ky34zdc2.js → rpc-q58618g1.js} +81 -81
- package/dist/chunks/{schema-d216944b.js → rpc-qa3qhgw8.js} +7 -7
- package/dist/chunks/{schema-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-5ymv3zps.js → rpc-qw4tavyr.js} +10 -10
- package/dist/chunks/{schema-6z0cx0hp.js → rpc-r05hg6dq.js} +5 -5
- package/dist/chunks/{schema-ty1azyrs.js → rpc-r6p8n554.js} +14 -14
- package/dist/chunks/{schema-r8dhm0tv.js → rpc-r8dhm0tv.js} +1 -1
- package/dist/chunks/{schema-k4wm54be.js → rpc-rde9wvyt.js} +11 -11
- package/dist/chunks/{schema-g41n1fn3.js → rpc-re7ze2ma.js} +5 -5
- package/dist/chunks/{schema-zv0fedm2.js → rpc-rp7g6xwr.js} +11 -11
- package/dist/chunks/{schema-z0vc91aj.js → rpc-rrq6kz97.js} +36 -36
- package/dist/chunks/{schema-p325kmej.js → rpc-rvn46zq7.js} +9 -9
- package/dist/chunks/{schema-sba4qhjf.js → rpc-sba4qhjf.js} +1 -1
- package/dist/chunks/{schema-zpensxqb.js → rpc-sj09nt66.js} +17 -17
- package/dist/chunks/{schema-g77vssk4.js → rpc-sp67jf0a.js} +3 -3
- package/dist/chunks/{schema-bz9tscha.js → rpc-sqqtc4xq.js} +11 -11
- package/dist/chunks/{schema-5xry5f48.js → rpc-sygak18j.js} +13 -13
- package/dist/chunks/{schema-9ynjk36a.js → rpc-t28cy6st.js} +16 -16
- package/dist/chunks/{schema-4z6b0fg6.js → rpc-t53mj6v6.js} +6 -6
- package/dist/chunks/{schema-cmzeyqty.js → rpc-t6f6dd4d.js} +13 -13
- package/dist/chunks/{schema-b44wx9et.js → rpc-t789mvnh.js} +36 -36
- package/dist/chunks/{schema-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-89znhe33.js → rpc-tcezcvh9.js} +4 -4
- package/dist/chunks/{schema-erdqw2zp.js → rpc-tcqnna6w.js} +15 -15
- package/dist/chunks/{schema-tjykrgmx.js → rpc-tjykrgmx.js} +1 -1
- package/dist/chunks/{schema-bxb1xesv.js → rpc-trt6hbzz.js} +4 -4
- package/dist/chunks/{schema-1rs9f67k.js → rpc-tv79vecj.js} +13 -13
- package/dist/chunks/{schema-wbypftda.js → rpc-txppa427.js} +16 -16
- package/dist/chunks/{schema-b8z4k5ce.js → rpc-v0sae4m8.js} +25 -25
- package/dist/chunks/{schema-fqsas06y.js → rpc-v550zfzq.js} +26 -26
- package/dist/chunks/{schema-x4q3fes7.js → rpc-v6ym2mbm.js} +29 -29
- package/dist/chunks/{schema-1qm36p24.js → rpc-vg1f7981.js} +6 -6
- package/dist/chunks/{schema-04y4kq5h.js → rpc-vg7vz8a0.js} +18 -18
- package/dist/chunks/{schema-zk8c4w5t.js → rpc-vrpz8t5t.js} +5 -5
- package/dist/chunks/{schema-hzecryb5.js → rpc-vv86pfn4.js} +12 -12
- package/dist/chunks/{schema-03r09nmf.js → rpc-vvn5h3hg.js} +11 -11
- package/dist/chunks/{schema-cv9nfd2x.js → rpc-vz05mr0w.js} +9 -9
- package/dist/chunks/{schema-g3drbzg8.js → rpc-w09bvaae.js} +47 -47
- package/dist/chunks/{schema-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-dmeb760c.js → rpc-w55q2m1g.js} +11 -11
- package/dist/chunks/{schema-yg7c986n.js → rpc-w6k1qeax.js} +24 -24
- package/dist/chunks/{schema-fqjmww7h.js → rpc-w8h6fvwh.js} +2 -2
- package/dist/chunks/{schema-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{schema-tmxfds8c.js → rpc-wjdvdpz4.js} +9 -9
- package/dist/chunks/{schema-etv9h02v.js → rpc-wnwn53rt.js} +8 -8
- package/dist/chunks/{schema-86s3977f.js → rpc-wta8nv8e.js} +1 -1
- package/dist/chunks/{schema-gsh994c1.js → rpc-wtm3m4mv.js} +4 -4
- package/dist/chunks/{schema-kxmdptat.js → rpc-wy3a9ktx.js} +6 -6
- package/dist/chunks/{schema-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-dx71f7x8.js → rpc-x64q5xrw.js} +1 -1
- package/dist/chunks/{schema-fgsnpp9b.js → rpc-xdqwr4d8.js} +6 -6
- package/dist/chunks/{schema-h0171c2t.js → rpc-xgjn1vmq.js} +25 -25
- package/dist/chunks/{schema-xh4mehyn.js → rpc-xw7hdwrj.js} +27 -27
- package/dist/chunks/{schema-ar126axr.js → rpc-y092mk2a.js} +6 -6
- package/dist/chunks/{schema-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-nz06j3y4.js → rpc-y1wkrapf.js} +32 -32
- package/dist/chunks/{schema-3b8x608h.js → rpc-y3xxj3sg.js} +11 -11
- package/dist/chunks/{schema-q8pp2sp9.js → rpc-ydwy5z2b.js} +46 -46
- package/dist/chunks/{schema-yfbd16n1.js → rpc-yfbd16n1.js} +2 -2
- package/dist/chunks/{schema-gcs6fwp7.js → rpc-ygw4aaat.js} +26 -26
- package/dist/chunks/{schema-cvtn0ena.js → rpc-yq5tbn9k.js} +17 -17
- package/dist/chunks/{schema-ksgctcgv.js → rpc-yrydy187.js} +14 -14
- package/dist/chunks/{schema-ghvd297g.js → rpc-yvsdtapc.js} +17 -17
- package/dist/chunks/{schema-3wfq9j39.js → rpc-ywpw23hy.js} +12 -12
- package/dist/chunks/{schema-wb48nz2p.js → rpc-ywszqpxp.js} +9 -9
- package/dist/chunks/{schema-z1k01bn4.js → rpc-z1k01bn4.js} +2 -2
- package/dist/chunks/{schema-zn2pq4p8.js → rpc-z2zzq6cg.js} +5 -5
- package/dist/chunks/{schema-vep9yay1.js → rpc-z3xgatyd.js} +4 -4
- package/dist/chunks/{schema-z63w68vq.js → rpc-z63w68vq.js} +2 -2
- package/dist/chunks/{schema-sr8h0x87.js → rpc-zjhjw14a.js} +28 -28
- package/dist/chunks/{schema-vns5fd4r.js → rpc-zq9fnn7x.js} +11 -11
- package/dist/chunks/{schema-qvvp9gqp.js → rpc-zt79yd0y.js} +8 -8
- package/dist/chunks/{schema-6wvc17bv.js → rpc-ztb7vdkc.js} +20 -20
- package/dist/chunks/{schema-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{schema-bd8qc9hq.js → rpc-zy59706a.js} +8 -8
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +70 -70
- 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 +356 -356
- 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 +88 -88
- 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 +70 -70
- 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 +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +84 -84
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +208 -208
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- 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 +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +80 -80
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +82 -82
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- 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 +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- package/dist/tool/plugin/edit.js +110 -110
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +102 -102
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error.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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +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 +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +86 -86
- package/package.json +7 -7
- package/dist/chunks/schema-7zk4hah4.js +0 -4
- package/dist/chunks/schema-q509s3k3.js +0 -18
- package/dist/chunks/schema-tcjeexqf.js +0 -243
- /package/dist/chunks/{schema-0fabt78z.js → rpc-0fabt78z.js} +0 -0
- /package/dist/chunks/{schema-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3t738kvx.js → rpc-3t738kvx.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-41nvscxy.js → rpc-41nvscxy.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-982e01ww.js → rpc-982e01ww.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a1tpkmh4.js → rpc-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-j935v87r.js → rpc-j935v87r.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mntxs535.js → rpc-mntxs535.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-p8qxwesx.js → rpc-p8qxwesx.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-se0s1eqw.js → rpc-se0s1eqw.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-twg0f83k.js → rpc-twg0f83k.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x1b8g1yb.js → rpc-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → rpc-z9919s4g.js} +0 -0
- /package/dist/chunks/{schema-zbjnn3ac.js → rpc-zbjnn3ac.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-t53mj6v6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./rpc-68w074am.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-bzxkbfsh.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
VariantID2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Ref3
|
|
20
|
+
} from "./rpc-ywpw23hy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service74,
|
|
24
|
+
node78
|
|
25
|
+
} from "./rpc-m4673ea2.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service72,
|
|
28
|
+
node76
|
|
29
|
+
} from "./rpc-ygw4aaat.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./rpc-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service59,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
41
41
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
42
42
|
fromCatalogModel: () => fromCatalogModel2,
|
|
43
43
|
hasPackage: () => hasPackage2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer24,
|
|
45
|
+
node: () => node62,
|
|
46
46
|
resolveModel: () => resolveModel2,
|
|
47
47
|
withVariant: () => withVariant2
|
|
48
48
|
});
|
|
@@ -52,8 +52,8 @@ import { Auth } from "@opencode-ai/ai/route";
|
|
|
52
52
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
53
53
|
import { Npm } from "@opencode-ai/util/npm";
|
|
54
54
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
55
|
-
providerID:
|
|
56
|
-
modelID:
|
|
55
|
+
providerID: ID14,
|
|
56
|
+
modelID: ID13,
|
|
57
57
|
variant: VariantID2
|
|
58
58
|
}) {
|
|
59
59
|
get message() {
|
|
@@ -62,8 +62,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
65
|
-
providerID:
|
|
66
|
-
modelID:
|
|
65
|
+
providerID: ID14,
|
|
66
|
+
modelID: ID13,
|
|
67
67
|
package: Schema.String
|
|
68
68
|
}) {
|
|
69
69
|
get message() {
|
|
@@ -72,8 +72,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
75
|
-
providerID:
|
|
76
|
-
modelID:
|
|
75
|
+
providerID: ID14,
|
|
76
|
+
modelID: ID13,
|
|
77
77
|
variables: Schema.Array(Schema.String)
|
|
78
78
|
}) {
|
|
79
79
|
get message() {
|
|
@@ -81,7 +81,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service59 extends Context.Service()("@opencode/ModelResolver") {
|
|
85
85
|
}
|
|
86
86
|
var withVariant2 = (model, variantID) => {
|
|
87
87
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -203,14 +203,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
203
203
|
});
|
|
204
204
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
205
205
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
206
|
-
var
|
|
207
|
-
const catalog = yield*
|
|
208
|
-
const integrations = yield*
|
|
206
|
+
var layer24 = Layer.effect(Service59, Effect.gen(function* () {
|
|
207
|
+
const catalog = yield* Service72;
|
|
208
|
+
const integrations = yield* Service74;
|
|
209
209
|
const npm = yield* Npm.Service;
|
|
210
|
-
const aisdk = yield*
|
|
210
|
+
const aisdk = yield* Service73;
|
|
211
211
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
212
212
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
213
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
213
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID15.make(selected.providerID));
|
|
214
214
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
215
215
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
216
216
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -220,7 +220,7 @@ var layer20 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
220
220
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
221
221
|
return {
|
|
222
222
|
model: runtime,
|
|
223
|
-
ref:
|
|
223
|
+
ref: Ref3.make({
|
|
224
224
|
id: selected.id,
|
|
225
225
|
providerID: selected.providerID,
|
|
226
226
|
...variant === undefined ? {} : { variant }
|
|
@@ -230,7 +230,7 @@ var layer20 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
230
230
|
limit: selected.limit
|
|
231
231
|
};
|
|
232
232
|
});
|
|
233
|
-
return
|
|
233
|
+
return Service59.of({
|
|
234
234
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
235
235
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
236
236
|
if (!selected)
|
|
@@ -247,10 +247,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
247
247
|
const name = packageName2(packageName);
|
|
248
248
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode-ai/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
|
|
249
249
|
}
|
|
250
|
-
var
|
|
251
|
-
service:
|
|
252
|
-
layer:
|
|
253
|
-
deps: [
|
|
250
|
+
var node62 = makeLocationNode({
|
|
251
|
+
service: Service59,
|
|
252
|
+
layer: layer24,
|
|
253
|
+
deps: [node76, node78, Npm.node, node77]
|
|
254
254
|
});
|
|
255
255
|
|
|
256
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3,
|
|
256
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service59, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node62, exports_model_resolver };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./rpc-jjtztttc.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode-ai/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service69;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./rpc-t53mj6v6.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/snowflake-cortex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -52,7 +52,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
52
52
|
id: "opencode.provider.snowflake.cortex",
|
|
53
53
|
effect: Effect.fn(function* (ctx) {
|
|
54
54
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
55
|
-
if (evt.model.providerID !==
|
|
55
|
+
if (evt.model.providerID !== ID14.make("snowflake-cortex"))
|
|
56
56
|
return;
|
|
57
57
|
const token = process.env.SNOWFLAKE_CORTEX_TOKEN ?? process.env.SNOWFLAKE_CORTEX_PAT ?? (typeof evt.options.token === "string" ? evt.options.token : undefined) ?? (typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined);
|
|
58
58
|
const upstream = typeof evt.options.fetch === "function" ? evt.options.fetch : undefined;
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node75
|
|
6
|
+
} from "./rpc-kpzf6j9d.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID12
|
|
9
|
+
} from "./rpc-0nsz8vzd.js";
|
|
10
10
|
import {
|
|
11
11
|
Slug2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-gebd4c9n.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node84
|
|
16
|
+
} from "./rpc-3wv0wb6p.js";
|
|
17
17
|
import {
|
|
18
18
|
Service79,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node83
|
|
20
|
+
} from "./rpc-w55q2m1g.js";
|
|
21
21
|
import {
|
|
22
22
|
ProjectTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-9qm9egsn.js";
|
|
24
24
|
import {
|
|
25
25
|
WorktreeTable2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-ajtjthsy.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service69,
|
|
29
29
|
node73
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-jjtztttc.js";
|
|
31
31
|
import {
|
|
32
32
|
DirectoryUnavailableError2,
|
|
33
33
|
canonical2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./rpc-93a8yfjt.js";
|
|
35
35
|
import {
|
|
36
36
|
make10
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./rpc-c45qpk7m.js";
|
|
38
38
|
import {
|
|
39
39
|
__export
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./rpc-9rqn6x4v.js";
|
|
41
41
|
|
|
42
42
|
// src/worktree.ts
|
|
43
43
|
var exports_worktree = {};
|
|
44
44
|
__export(exports_worktree, {
|
|
45
|
-
CreateInput: () =>
|
|
45
|
+
CreateInput: () => CreateInput2,
|
|
46
46
|
DestinationExistsError: () => DestinationExistsError2,
|
|
47
47
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
48
48
|
DuplicateStrategyError: () => DuplicateStrategyError2,
|
|
49
49
|
Event: () => Event3,
|
|
50
|
-
Info: () =>
|
|
50
|
+
Info: () => Info2,
|
|
51
51
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
52
52
|
List: () => List2,
|
|
53
53
|
ListEntry: () => ListEntry3,
|
|
54
|
-
ListInput: () =>
|
|
54
|
+
ListInput: () => ListInput3,
|
|
55
55
|
RefreshInput: () => RefreshInput2,
|
|
56
56
|
RefreshResult: () => RefreshResult2,
|
|
57
57
|
RemoveInput: () => RemoveInput2,
|
|
@@ -73,24 +73,24 @@ import { Worktree } from "@opencode-ai/schema/worktree";
|
|
|
73
73
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
74
74
|
import { ChildProcess } from "effect/unstable/process";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
78
|
var RefreshInput2 = Schema.Struct({
|
|
79
|
-
projectID:
|
|
79
|
+
projectID: ID12
|
|
80
80
|
}).annotate({ identifier: "Worktree.RefreshInput" });
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
86
|
-
var
|
|
85
|
+
var Info2 = Worktree.Info;
|
|
86
|
+
var ListInput3 = Worktree.ListInput;
|
|
87
87
|
var List2 = Worktree.List;
|
|
88
88
|
var ListEntry3 = Schema.Struct({
|
|
89
89
|
directory: AbsolutePath2,
|
|
90
90
|
type: Schema.Literals(["root", "worktree"])
|
|
91
91
|
}).annotate({ identifier: "Worktree.ListEntry" });
|
|
92
92
|
|
|
93
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
93
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID12, directory: Schema.optional(AbsolutePath2) }) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -109,7 +109,7 @@ var Event3 = Worktree.Event;
|
|
|
109
109
|
class Service15 extends Context.Service()("@opencode/v2/Worktree") {
|
|
110
110
|
}
|
|
111
111
|
var refreshAfterBoot2 = Effect.gen(function* () {
|
|
112
|
-
const location = yield*
|
|
112
|
+
const location = yield* Service69;
|
|
113
113
|
const worktrees = yield* Service15;
|
|
114
114
|
yield* Effect.gen(function* () {
|
|
115
115
|
yield* Effect.logInfo("worktree refresh started", { projectID: location.project.id });
|
|
@@ -255,7 +255,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
255
255
|
var node17 = makeGlobalNode({
|
|
256
256
|
service: Service15,
|
|
257
257
|
layer,
|
|
258
|
-
deps: [FSUtil.node,
|
|
258
|
+
deps: [FSUtil.node, node75, node83, node84, AppProcess.node]
|
|
259
259
|
});
|
|
260
260
|
var refreshNode2 = makeLocationNode({
|
|
261
261
|
name: "worktree-refresh",
|
|
@@ -263,4 +263,4 @@ var refreshNode2 = makeLocationNode({
|
|
|
263
263
|
deps: [node17, node73]
|
|
264
264
|
});
|
|
265
265
|
|
|
266
|
-
export { StrategyID2,
|
|
266
|
+
export { StrategyID2, CreateInput2, RemoveInput2, RefreshInput2, RefreshResult2, Info2, ListInput3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, DuplicateStrategyError2, Event3, Service15, refreshAfterBoot2, node17, refreshNode2, exports_worktree };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node83
|
|
4
|
+
} from "./rpc-w55q2m1g.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service40,
|
|
7
|
+
node42
|
|
8
|
+
} from "./rpc-q3hv2sj9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service64,
|
|
11
|
+
node68
|
|
12
|
+
} from "./rpc-b9t840km.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service52,
|
|
15
|
+
node55
|
|
16
|
+
} from "./rpc-xgjn1vmq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service39,
|
|
26
|
+
layer: () => layer16,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
32
32
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service39 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service40;
|
|
42
|
+
const tools = yield* Service52;
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service64;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -112,12 +112,12 @@ var layer13 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service39.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [
|
|
117
|
+
var node41 = makeLocationNode({
|
|
118
|
+
service: Service39,
|
|
119
|
+
layer: layer16,
|
|
120
|
+
deps: [node55, node42, node83, node68]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2, name14,
|
|
123
|
+
export { namespace2, name14, Service39, layer16, node41, exports_mcp3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node83
|
|
4
|
+
} from "./rpc-w55q2m1g.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node82
|
|
8
|
+
} from "./rpc-mzsb370n.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event20,
|
|
21
|
+
ID: () => ID18,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,27 +28,27 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service77,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node81
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode-ai/schema/websearch";
|
|
36
36
|
import { Context, Effect, Layer, Option, Schema } from "effect";
|
|
37
37
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
38
|
-
import { Event as
|
|
39
|
-
var
|
|
38
|
+
import { Event as Event20 } from "@opencode-ai/schema/websearch";
|
|
39
|
+
var ID18 = WebSearch.ID;
|
|
40
40
|
var Provider2 = WebSearch.Provider;
|
|
41
41
|
var Input14 = WebSearch.Input;
|
|
42
42
|
var Result2 = WebSearch.Result;
|
|
43
43
|
var Response2 = WebSearch.Response;
|
|
44
44
|
var ProviderKey2 = "websearch:provider";
|
|
45
|
-
var Selection2 = Schema.Union([
|
|
45
|
+
var Selection2 = Schema.Union([ID18, Schema.Literal("random"), Schema.Literal(false)]);
|
|
46
46
|
|
|
47
47
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
51
|
-
providerID:
|
|
51
|
+
providerID: ID18
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -56,14 +56,14 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
59
|
-
providerID:
|
|
59
|
+
providerID: ID18,
|
|
60
60
|
cause: Schema.Defect()
|
|
61
61
|
}) {
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service77 extends Context.Service()("@opencode/WebSearch") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
66
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
67
67
|
const bus = yield* Service79;
|
|
68
68
|
const kv = yield* Service78;
|
|
69
69
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
106
106
|
return yield* new ProviderRequiredError2;
|
|
107
107
|
return provider;
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service77.of({
|
|
110
110
|
transform: state.transform,
|
|
111
111
|
reload: state.reload,
|
|
112
112
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -129,10 +129,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
129
129
|
})
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
132
|
+
var node81 = makeLocationNode({
|
|
133
|
+
service: Service77,
|
|
134
134
|
layer,
|
|
135
|
-
deps: [
|
|
135
|
+
deps: [node83, node82]
|
|
136
136
|
});
|
|
137
137
|
|
|
138
|
-
export {
|
|
138
|
+
export { ID18, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service77, node81, exports_websearch3, Event20 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-t53mj6v6.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service54
|
|
8
|
+
} from "./rpc-9zrnh5xs.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin42
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode-ai/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin42 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service54;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -151,4 +151,4 @@ function configuredProviders(entries) {
|
|
|
151
151
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
export {
|
|
154
|
+
export { Plugin42, exports_provider };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./rpc-9zrnh5xs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./rpc-13a4dv0y.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin35
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
|
+
const compaction = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin27 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin35, exports_compaction };
|