@opencode-ai/core 0.0.0-dev-19113 → 0.0.0-dev-19115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{schema-0e0xafbb.js → command-0e0xafbb.js} +2 -2
- package/dist/chunks/{schema-0ez61b8c.js → command-0ez61b8c.js} +2 -2
- package/dist/chunks/{schema-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-6gdw6h0x.js → command-0ptrrsjf.js} +22 -22
- package/dist/chunks/{schema-0s9ayhjt.js → command-0s9ayhjt.js} +1 -1
- package/dist/chunks/{schema-19e0cjgc.js → command-0yrmd491.js} +18 -18
- package/dist/chunks/{schema-14hmenm3.js → command-14hmenm3.js} +1 -1
- package/dist/chunks/{schema-xb7ts4ht.js → command-18v0n603.js} +17 -17
- package/dist/chunks/{schema-71gdr5b1.js → command-1bdhjw18.js} +8 -8
- package/dist/chunks/{schema-1ct4r87x.js → command-1ct4r87x.js} +1 -1
- package/dist/chunks/{schema-arkd3wpw.js → command-1eb7zprr.js} +5 -5
- package/dist/chunks/{schema-gb2d2dnx.js → command-1m2qxpbx.js} +9 -9
- package/dist/chunks/{schema-bd8qc9hq.js → command-1n22b4te.js} +4 -4
- package/dist/chunks/{schema-49vqye4b.js → command-1wndzdy1.js} +23 -23
- package/dist/chunks/{schema-vfnppjq7.js → command-1z9d9trm.js} +11 -11
- package/dist/chunks/{schema-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{schema-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{schema-z63w68vq.js → command-29x78va6.js} +6 -6
- package/dist/chunks/{schema-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-2ht70gj7.js → command-2ht70gj7.js} +1 -1
- package/dist/chunks/{schema-2jqmte8w.js → command-2jqmte8w.js} +2 -2
- package/dist/chunks/{schema-1qm36p24.js → command-2p8f7m2b.js} +6 -6
- package/dist/chunks/{schema-0vj1jrz2.js → command-2qan6xse.js} +33 -33
- package/dist/chunks/{schema-x4q3fes7.js → command-2vaz3fgd.js} +30 -30
- package/dist/chunks/{schema-0wexhrg6.js → command-2w9k586s.js} +22 -22
- package/dist/chunks/{schema-gdvy8fx6.js → command-3fc6dm20.js} +4 -4
- package/dist/chunks/{schema-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-m68bnfyk.js → command-3jwbxfdj.js} +37 -37
- package/dist/chunks/{schema-d33d0znm.js → command-3q0nngn9.js} +9 -9
- package/dist/chunks/{schema-gcs6fwp7.js → command-3q60g5tw.js} +21 -21
- package/dist/chunks/{schema-3qzbfqsy.js → command-3qzbfqsy.js} +2 -2
- package/dist/chunks/{schema-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-jnkr0b22.js → command-3vdwy4mz.js} +8 -8
- package/dist/chunks/{schema-465hbgy4.js → command-3wbgnpam.js} +21 -21
- package/dist/chunks/{schema-3wfq9j39.js → command-3wfq9j39.js} +2 -2
- package/dist/chunks/{schema-pm8h9tzz.js → command-3zxznrdw.js} +32 -32
- package/dist/chunks/{schema-454k5vzh.js → command-454k5vzh.js} +1 -1
- package/dist/chunks/{schema-3b8x608h.js → command-45kzw0p8.js} +9 -9
- package/dist/chunks/{schema-ptakx6pw.js → command-48h7as0e.js} +18 -18
- package/dist/chunks/{schema-dn5rar9h.js → command-4ct4f13p.js} +18 -18
- package/dist/chunks/{schema-g7dk7q7q.js → command-4hj13xk2.js} +4 -4
- package/dist/chunks/{schema-pq59jms5.js → command-4jcgzkct.js} +17 -17
- package/dist/chunks/{schema-7cxbprz9.js → command-4k07pfeq.js} +9 -9
- package/dist/chunks/{schema-1b1362z0.js → command-4kfzb8gv.js} +279 -279
- package/dist/chunks/{schema-gxf68msc.js → command-4p3f57ee.js} +7 -7
- package/dist/chunks/{schema-zr385g01.js → command-4qs4g79n.js} +34 -34
- package/dist/chunks/{schema-4r2nyarf.js → command-4r2nyarf.js} +1 -1
- package/dist/chunks/{schema-g3drbzg8.js → command-4rpnxrre.js} +49 -49
- package/dist/chunks/{schema-232z5d71.js → command-4sjd4f28.js} +9 -9
- package/dist/chunks/{schema-wbypftda.js → command-4t040z03.js} +16 -16
- package/dist/chunks/{schema-ksgctcgv.js → command-4we2taax.js} +14 -14
- package/dist/chunks/{schema-8z1zv58q.js → command-4y9deqpk.js} +24 -24
- package/dist/chunks/{schema-4z6b0fg6.js → command-4z6b0fg6.js} +1 -1
- package/dist/chunks/{schema-wq3pj38h.js → command-52v0cq2v.js} +11 -11
- package/dist/chunks/{schema-tdz2d0bf.js → command-55yvdk0c.js} +11 -11
- package/dist/chunks/{schema-x25z0w3c.js → command-578j1xdj.js} +10 -10
- package/dist/chunks/{schema-ty1azyrs.js → command-58dzf215.js} +14 -14
- package/dist/chunks/{schema-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-5fmxt4p5.js → command-5fmxt4p5.js} +1 -1
- package/dist/chunks/{schema-5jvc5tg2.js → command-5jvc5tg2.js} +1 -1
- package/dist/chunks/{schema-vsr56sgz.js → command-5k3f87xj.js} +3 -3
- package/dist/chunks/{schema-j935v87r.js → command-5qd3pb7m.js} +2 -2
- package/dist/chunks/{schema-g77vssk4.js → command-5rw6je3s.js} +3 -3
- package/dist/chunks/{schema-mzr3jh1b.js → command-5w9qjdt3.js} +2 -2
- package/dist/chunks/{schema-rmkjmdgc.js → command-60q8mcwp.js} +8 -8
- package/dist/chunks/{schema-zpensxqb.js → command-67nkcjnx.js} +17 -17
- package/dist/chunks/{schema-1pcpac3c.js → command-6dbg2gn2.js} +46 -46
- package/dist/chunks/{schema-6h414ywr.js → command-6h414ywr.js} +2 -2
- package/dist/chunks/{schema-6tf8tr4v.js → command-6tf8tr4v.js} +2 -2
- package/dist/chunks/{schema-6z5bwd8g.js → command-6z5bwd8g.js} +2 -2
- package/dist/chunks/{schema-711hfp6y.js → command-711hfp6y.js} +2 -2
- package/dist/chunks/{schema-hz4jmg6a.js → command-73azkrsd.js} +19 -19
- package/dist/chunks/{schema-wb48nz2p.js → command-77tfyndb.js} +9 -9
- package/dist/chunks/{schema-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-84615681.js → command-7k848sc6.js} +14 -14
- package/dist/chunks/{schema-bz9tscha.js → command-7nbw4m6q.js} +11 -11
- package/dist/chunks/{schema-ghs32kwn.js → command-7rsx16tt.js} +10 -10
- package/dist/chunks/{schema-ky34zdc2.js → command-7vhvnd6j.js} +87 -87
- package/dist/chunks/{schema-j5208yae.js → command-7w3s9kd0.js} +4 -4
- package/dist/chunks/{schema-6t6jdtfj.js → command-7ym5twnq.js} +41 -41
- package/dist/chunks/{schema-5ymv3zps.js → command-84gdxzwd.js} +10 -10
- package/dist/chunks/{schema-003fsg5n.js → command-854ca1e8.js} +24 -24
- package/dist/chunks/{schema-86s3977f.js → command-86s3977f.js} +1 -1
- package/dist/chunks/{schema-cmzeyqty.js → command-8f30jcen.js} +15 -15
- package/dist/chunks/{schema-f2c1rw5q.js → command-8npyp30c.js} +8 -8
- package/dist/chunks/{schema-3m6r3y2t.js → command-8zpj8ga2.js} +6 -6
- package/dist/chunks/{schema-93a8yfjt.js → command-93a8yfjt.js} +2 -2
- package/dist/chunks/{schema-v1tf4pqw.js → command-9b3160jy.js} +9 -9
- package/dist/chunks/{schema-p325kmej.js → command-9qj8fy7h.js} +9 -9
- package/dist/chunks/{schema-9qm9egsn.js → command-9qm9egsn.js} +2 -2
- package/dist/chunks/{schema-p2wtsv0s.js → command-9rem8hjd.js} +11 -11
- package/dist/chunks/command-9sh4wc5j.js +18 -0
- package/dist/chunks/{schema-wnae6eaa.js → command-9x7bsm9r.js} +88 -88
- package/dist/chunks/{schema-qteavpav.js → command-9ym4a5yt.js} +21 -21
- package/dist/chunks/{schema-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-n3jkd22a.js → command-ag4rn41e.js} +4 -4
- package/dist/chunks/{schema-gra7g7yn.js → command-ajeyjrs8.js} +6 -6
- package/dist/chunks/{schema-ajtjthsy.js → command-ajtjthsy.js} +2 -2
- package/dist/chunks/{schema-hmwt0jyx.js → command-avf2gxwn.js} +27 -27
- package/dist/chunks/{schema-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-b9wsbatv.js → command-b9wsbatv.js} +1 -1
- package/dist/chunks/{schema-vns5fd4r.js → command-bc0bp3re.js} +8 -8
- package/dist/chunks/{schema-qvvp9gqp.js → command-bc8zabkg.js} +8 -8
- package/dist/chunks/{schema-6z0cx0hp.js → command-bp4zbqtd.js} +5 -5
- package/dist/chunks/{schema-yg7c986n.js → command-c26ks60e.js} +22 -22
- package/dist/chunks/{schema-tzfkbvz2.js → command-c28brx2k.js} +9 -9
- package/dist/chunks/{schema-1c9254mw.js → command-c5rwfbwf.js} +19 -19
- package/dist/chunks/{schema-q8pp2sp9.js → command-c80ydkjz.js} +46 -46
- package/dist/chunks/{schema-xewvqdfm.js → command-cjy05afp.js} +25 -25
- package/dist/chunks/command-csvvt798.js +22 -0
- package/dist/chunks/{schema-sxx6cwa9.js → command-cxnm9dwg.js} +13 -13
- package/dist/chunks/{schema-y5e1a3sd.js → command-cy3cnjq8.js} +4 -4
- package/dist/chunks/{schema-hge35dz1.js → command-d674kx35.js} +11 -11
- package/dist/chunks/{schema-d72308c8.js → command-d72308c8.js} +2 -2
- package/dist/chunks/{schema-tmxfds8c.js → command-df9bnbjn.js} +9 -9
- package/dist/chunks/{schema-vep9yay1.js → command-djtdz80w.js} +4 -4
- package/dist/chunks/{schema-ptrvg6rv.js → command-dqwszdkc.js} +9 -9
- package/dist/chunks/{schema-fcxqfnez.js → command-drn755cb.js} +43 -43
- package/dist/chunks/{schema-wxxmn71z.js → command-dv0xdbpz.js} +12 -12
- package/dist/chunks/{schema-1rs9f67k.js → command-dxvz0qx6.js} +13 -13
- package/dist/chunks/{schema-aw2k3wz6.js → command-dzntxkaj.js} +62 -62
- package/dist/chunks/{schema-3bxg9k4v.js → command-e0nkwt9z.js} +4 -4
- package/dist/chunks/{schema-e5b0qn1c.js → command-e5b0qn1c.js} +1 -1
- package/dist/chunks/{schema-604brgxe.js → command-e5rv1qf4.js} +15 -15
- package/dist/chunks/{schema-cwy94s7d.js → command-ehkcz9nm.js} +28 -28
- package/dist/chunks/{schema-x9k9x3cg.js → command-ekmzxrqe.js} +8 -8
- package/dist/chunks/{schema-hr5qjpq8.js → command-ex99dnp9.js} +9 -9
- package/dist/chunks/{schema-5sg4xzjf.js → command-ez5b8bq3.js} +7 -7
- package/dist/chunks/{schema-cv9nfd2x.js → command-f18yxx57.js} +6 -6
- package/dist/chunks/{schema-f1kgb3zy.js → command-f1kgb3zy.js} +3 -3
- package/dist/chunks/command-f4j0pa50.js +4 -0
- package/dist/chunks/{schema-xbk3bkv8.js → command-fbfj6zdn.js} +4 -4
- package/dist/chunks/{schema-51607pcx.js → command-ff1sw35j.js} +35 -35
- package/dist/chunks/{schema-gyt4m0mz.js → command-fvxhrhfw.js} +13 -13
- package/dist/chunks/{schema-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{schema-fxypknc8.js → command-fxypknc8.js} +1 -1
- package/dist/chunks/{schema-g41n1fn3.js → command-g41n1fn3.js} +1 -1
- package/dist/chunks/{schema-bxb1xesv.js → command-g7csxrs7.js} +4 -4
- package/dist/chunks/{schema-k6j9nnzb.js → command-g8p4v1rh.js} +10 -10
- package/dist/chunks/{schema-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-cr2cj2wh.js → command-ght27my6.js} +15 -15
- package/dist/chunks/{schema-ghvd297g.js → command-gpp6afyt.js} +20 -20
- package/dist/chunks/{schema-8dbsynwt.js → command-gzd7t3bg.js} +4 -4
- package/dist/chunks/{schema-gsh994c1.js → command-h2st8tcp.js} +20 -20
- package/dist/chunks/{schema-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-1bfx2f8w.js → command-ha4v9y42.js} +17 -17
- package/dist/chunks/{schema-31jaghp0.js → command-hbwagpks.js} +11 -11
- package/dist/chunks/{schema-heyhwy2w.js → command-heyhwy2w.js} +1 -1
- package/dist/chunks/{schema-fqjmww7h.js → command-hjm0k3fp.js} +2 -2
- package/dist/chunks/{schema-41mncz27.js → command-hjrjbgez.js} +5 -5
- package/dist/chunks/{schema-hrvm11jt.js → command-hrvm11jt.js} +3 -3
- package/dist/chunks/{schema-6wvc17bv.js → command-hv5tmyxa.js} +21 -21
- package/dist/chunks/{schema-hzecryb5.js → command-hzecryb5.js} +3 -3
- package/dist/chunks/{schema-cqg8v4c7.js → command-j15mfg1p.js} +6 -6
- package/dist/chunks/{schema-mxrkvygc.js → command-j3v7m4b4.js} +7 -7
- package/dist/chunks/{schema-xh4mehyn.js → command-j57dr7w8.js} +27 -27
- package/dist/chunks/{schema-q2b1ymqp.js → command-j83byb14.js} +4 -4
- package/dist/chunks/{schema-89b63vz0.js → command-jc31v14r.js} +9 -9
- package/dist/chunks/{schema-9ynjk36a.js → command-jmkbp1h5.js} +13 -13
- package/dist/chunks/{schema-z0vc91aj.js → command-jn88vsgf.js} +36 -36
- package/dist/chunks/{schema-qp9er4j6.js → command-jnbaqc7b.js} +20 -20
- package/dist/chunks/{schema-b8z4k5ce.js → command-jvh9gk2c.js} +25 -25
- package/dist/chunks/{schema-f0nz223j.js → command-jwcy2c2z.js} +4 -4
- package/dist/chunks/{schema-k4bwy1x5.js → command-k4bwy1x5.js} +1 -1
- package/dist/chunks/{schema-ek47zmt8.js → command-k5kpsmwm.js} +20 -20
- package/dist/chunks/{schema-m8y7v2t2.js → command-k6s5w27h.js} +10 -10
- package/dist/chunks/{schema-d216944b.js → command-k8962brh.js} +4 -4
- package/dist/chunks/{schema-k8feg6vv.js → command-k8feg6vv.js} +1 -1
- package/dist/chunks/{schema-kg06axw8.js → command-kg06axw8.js} +1 -1
- package/dist/chunks/{schema-h0171c2t.js → command-kj8q7mtc.js} +23 -23
- package/dist/chunks/{schema-hw4pv20g.js → command-kvsjn1dr.js} +2 -2
- package/dist/chunks/{schema-dx71f7x8.js → command-kwqsq9eb.js} +1 -1
- package/dist/chunks/{schema-a5nkh94p.js → command-kx2gvdct.js} +4 -4
- package/dist/chunks/{schema-ddqrdvz9.js → command-m1annk93.js} +13 -13
- package/dist/chunks/{schema-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-mcxg6pmm.js → command-mcxg6pmm.js} +1 -1
- package/dist/chunks/{schema-hf39trxb.js → command-megebd3a.js} +4 -4
- package/dist/chunks/{schema-c8adm2ya.js → command-mh85gtv1.js} +11 -11
- package/dist/chunks/{schema-mhkvc446.js → command-mhkvc446.js} +1 -1
- package/dist/chunks/{schema-47hx03vq.js → command-mhsg1yty.js} +10 -10
- package/dist/chunks/{schema-03bnknpm.js → command-mt8fk037.js} +33 -33
- package/dist/chunks/{schema-c0faa19c.js → command-mtcjf44p.js} +8 -8
- package/dist/chunks/{schema-8jb23qqb.js → command-mv1gp3nd.js} +10 -10
- package/dist/chunks/{schema-03r09nmf.js → command-mw7ytvy7.js} +11 -11
- package/dist/chunks/{schema-drrwt7ne.js → command-mw9mt08r.js} +17 -17
- package/dist/chunks/{schema-x4r7m2ed.js → command-mxppkm1b.js} +27 -27
- package/dist/chunks/{schema-aqe02c8d.js → command-mznxs8d6.js} +43 -43
- package/dist/chunks/{schema-by3wynxz.js → command-n5gana85.js} +15 -15
- package/dist/chunks/{schema-yzqwwj2t.js → command-nakmymdz.js} +58 -58
- package/dist/chunks/{schema-nz06j3y4.js → command-natwdt6v.js} +32 -32
- package/dist/chunks/{schema-z2hjzsqf.js → command-ne4gjgk6.js} +10 -10
- package/dist/chunks/{schema-gpf623h2.js → command-njfhyprf.js} +26 -26
- package/dist/chunks/{schema-mg9kt97e.js → command-nkpkrkfc.js} +55 -55
- package/dist/chunks/{schema-npjjgcke.js → command-npkajqde.js} +25 -25
- package/dist/chunks/{schema-dq1m6vbr.js → command-nxbchyd1.js} +12 -12
- package/dist/chunks/{schema-r80rqf00.js → command-p4b86tx8.js} +6 -6
- package/dist/chunks/{schema-93zj7k35.js → command-p5d8w6vs.js} +31 -31
- package/dist/chunks/{schema-04y4kq5h.js → command-p8vd7n39.js} +18 -18
- package/dist/chunks/{schema-dwag0pt8.js → command-pcednt3p.js} +51 -51
- package/dist/chunks/{schema-dmeb760c.js → command-pdae5shs.js} +11 -11
- package/dist/chunks/{schema-ddhdzq1z.js → command-pdgqnwae.js} +11 -11
- package/dist/chunks/{schema-5d7pjmem.js → command-pgzzhbmy.js} +8 -8
- package/dist/chunks/{schema-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{schema-4t3td2wa.js → command-q8rpcfw0.js} +8 -8
- package/dist/chunks/{schema-j9p9k0ns.js → command-qav3zztn.js} +20 -20
- package/dist/chunks/{schema-b44wx9et.js → command-qbhkz4mz.js} +36 -36
- package/dist/chunks/{schema-bhpqzk3s.js → command-qfnycs03.js} +7 -7
- package/dist/chunks/{schema-607tc6va.js → command-qgn6gcr1.js} +5 -5
- package/dist/chunks/command-qgqmyz30.js +243 -0
- package/dist/chunks/{schema-jdcgdbf4.js → command-qhdhv0w2.js} +15 -15
- package/dist/chunks/{schema-0wmajvd3.js → command-qr1qsn5r.js} +17 -17
- package/dist/chunks/{schema-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-r8dhm0tv.js → command-r8dhm0tv.js} +1 -1
- package/dist/chunks/{schema-h722e297.js → command-r9hy8h05.js} +5 -5
- package/dist/chunks/{schema-1a62n4b4.js → command-rgks3f05.js} +8 -8
- package/dist/chunks/{schema-rmy3e5eg.js → command-rmy3e5eg.js} +1 -1
- package/dist/chunks/{schema-m9gnqnf3.js → command-rqajaxax.js} +154 -154
- package/dist/chunks/{schema-fgsnpp9b.js → command-rx0dsajq.js} +9 -9
- package/dist/chunks/{schema-rgkrj14r.js → command-rxsvjy6j.js} +20 -20
- package/dist/chunks/{schema-0czjyq8r.js → command-rzhgj3wg.js} +15 -15
- package/dist/chunks/{schema-13henw9b.js → command-s0fzeym9.js} +8 -8
- package/dist/chunks/{schema-etv9h02v.js → command-s1zas8dv.js} +11 -11
- package/dist/chunks/{schema-s3eqpch7.js → command-s3eqpch7.js} +1 -1
- package/dist/chunks/{schema-kxmdptat.js → command-s41xc0fx.js} +2 -2
- package/dist/chunks/{schema-a38ny1e6.js → command-s4ye7va7.js} +12 -12
- package/dist/chunks/{schema-25x8afv5.js → command-s631mnhv.js} +22 -22
- package/dist/chunks/{schema-embxdc05.js → command-s64tx33c.js} +22 -22
- package/dist/chunks/{schema-sba4qhjf.js → command-sba4qhjf.js} +1 -1
- package/dist/chunks/{schema-6e9zjh3b.js → command-sjwwpfw7.js} +39 -39
- package/dist/chunks/{schema-j2823k0a.js → command-t7rtampj.js} +2 -2
- package/dist/chunks/{schema-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-89znhe33.js → command-tcezcvh9.js} +4 -4
- package/dist/chunks/{schema-thfv75je.js → command-thfv75je.js} +2 -2
- package/dist/chunks/{schema-885z9zv8.js → command-tj4a33e3.js} +26 -26
- package/dist/chunks/{schema-tjykrgmx.js → command-tjykrgmx.js} +1 -1
- package/dist/chunks/{schema-86gvg13r.js → command-tnsej14z.js} +28 -28
- package/dist/chunks/{schema-kqh4e8mv.js → command-tz2h76xm.js} +9 -9
- package/dist/chunks/{schema-na32d9q8.js → command-v63xgfyn.js} +3 -3
- package/dist/chunks/{schema-n9mbvtnm.js → command-vbr4w0aw.js} +31 -31
- package/dist/chunks/{schema-9n0vkmbk.js → command-vedqaezr.js} +4 -4
- package/dist/chunks/{schema-n7cf8wem.js → command-vvhr8ap4.js} +31 -31
- package/dist/chunks/{schema-k4wm54be.js → command-vw50vsx1.js} +11 -11
- package/dist/chunks/{schema-a2qpghxp.js → command-w0117ta3.js} +23 -23
- package/dist/chunks/{schema-mrndz1s0.js → command-w16pqxss.js} +23 -23
- package/dist/chunks/{schema-fqsas06y.js → command-w21nff9d.js} +25 -25
- package/dist/chunks/{schema-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{schema-wgxn7ww3.js → command-wgxn7ww3.js} +2 -2
- package/dist/chunks/{schema-1twm75cg.js → command-wsdbxk0t.js} +7 -7
- package/dist/chunks/{schema-5xry5f48.js → command-x0pd42vp.js} +15 -15
- package/dist/chunks/{schema-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-pv4m0g3w.js → command-x4f0ty3q.js} +8 -8
- package/dist/chunks/{schema-8vvsq35t.js → command-xnz7e9v2.js} +26 -26
- package/dist/chunks/{schema-xqsy6kp0.js → command-xqsy6kp0.js} +1 -1
- package/dist/chunks/{schema-erdqw2zp.js → command-xynvqm4b.js} +15 -15
- package/dist/chunks/{schema-ar126axr.js → command-y092mk2a.js} +6 -6
- package/dist/chunks/{schema-e8zea55p.js → command-y0kje1kq.js} +5 -5
- package/dist/chunks/{schema-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-7b58fdzm.js → command-y3kam97a.js} +29 -29
- package/dist/chunks/{schema-yfbd16n1.js → command-yfbd16n1.js} +2 -2
- package/dist/chunks/{schema-ykcesz1b.js → command-ykcesz1b.js} +4 -4
- package/dist/chunks/{schema-5t62h84z.js → command-yxwewdw9.js} +9 -9
- package/dist/chunks/{schema-sr8h0x87.js → command-yzsm82be.js} +23 -23
- package/dist/chunks/{schema-z1k01bn4.js → command-z1k01bn4.js} +2 -2
- package/dist/chunks/{schema-cvtn0ena.js → command-z2bjgnfj.js} +20 -20
- package/dist/chunks/{schema-jzwyrcyp.js → command-zk6hkb9n.js} +31 -31
- package/dist/chunks/{schema-zk8c4w5t.js → command-zk8c4w5t.js} +5 -5
- package/dist/chunks/{schema-xzwtfmxp.js → command-zmnepbn3.js} +7 -7
- package/dist/chunks/{schema-zn2pq4p8.js → command-zn2pq4p8.js} +2 -2
- package/dist/chunks/{schema-8gwm888c.js → command-zpgxjj6y.js} +16 -16
- package/dist/chunks/{schema-bh9tqa98.js → command-zqj49qgm.js} +32 -32
- package/dist/chunks/{schema-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{schema-0b2z71cm.js → command-zzjwypeh.js} +6 -6
- 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 +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +110 -110
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- 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 +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 +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 +3 -3
- package/dist/filesystem/watcher.js +13 -13
- 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 +77 -77
- 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 +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- 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 +2 -2
- package/dist/models-dev.js +74 -74
- 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 +107 -107
- 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 +210 -210
- 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 +116 -116
- 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 +68 -68
- 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 +331 -331
- 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 +82 -82
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +1 -1
- 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 +84 -84
- package/dist/reference.js +84 -84
- 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 +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +2 -2
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- 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 +201 -201
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +212 -212
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- 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 +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +115 -115
- 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 +204 -204
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- 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 +13 -13
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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 +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- 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-zv0fedm2.js +0 -22
- /package/dist/chunks/{schema-0fabt78z.js → command-0fabt78z.js} +0 -0
- /package/dist/chunks/{schema-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3t738kvx.js → command-3t738kvx.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-41nvscxy.js → command-41nvscxy.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-982e01ww.js → command-982e01ww.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mntxs535.js → command-mntxs535.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-p8qxwesx.js → command-p8qxwesx.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-se0s1eqw.js → command-se0s1eqw.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x1b8g1yb.js → command-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → command-z9919s4g.js} +0 -0
- /package/dist/chunks/{schema-zbjnn3ac.js → command-zbjnn3ac.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./command-4jcgzkct.js";
|
|
7
7
|
import {
|
|
8
8
|
externalDirectoryPermission2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service13
|
|
10
|
+
} from "./command-zpgxjj6y.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service42
|
|
13
|
+
} from "./command-nkpkrkfc.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service11
|
|
16
|
+
} from "./command-jnbaqc7b.js";
|
|
17
17
|
import {
|
|
18
18
|
NotFound2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-2a5m3afh.js";
|
|
20
20
|
import {
|
|
21
21
|
MEDIA_MIMES2,
|
|
22
22
|
BinaryFileError2,
|
|
@@ -27,26 +27,26 @@ import {
|
|
|
27
27
|
FileContent2,
|
|
28
28
|
TextPage2,
|
|
29
29
|
ListPage2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service12
|
|
31
|
+
} from "./command-67nkcjnx.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/read.ts
|
|
37
37
|
var exports_read = {};
|
|
38
38
|
__export(exports_read, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
|
+
Plugin: () => Plugin41,
|
|
41
41
|
ReadTool: () => exports_read,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name10,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { basename, dirname, join } from "path";
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
49
|
-
var
|
|
49
|
+
var name10 = "read";
|
|
50
50
|
var FILENAME = "AGENTS.md";
|
|
51
51
|
var LocationInput = Schema.Struct({
|
|
52
52
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
|
|
|
57
57
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
58
58
|
})
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input10 = LocationInput;
|
|
61
61
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
62
|
-
var
|
|
62
|
+
var Plugin41 = {
|
|
63
63
|
id: "opencode.tool.read",
|
|
64
64
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
65
|
-
const reader = yield*
|
|
66
|
-
const mutation = yield*
|
|
67
|
-
const permission = yield*
|
|
68
|
-
const sessionInstructions = yield*
|
|
65
|
+
const reader = yield* Service12;
|
|
66
|
+
const mutation = yield* Service13;
|
|
67
|
+
const permission = yield* Service42;
|
|
68
|
+
const sessionInstructions = yield* Service11;
|
|
69
69
|
const fs = yield* FSUtil.Service;
|
|
70
|
-
const location = yield*
|
|
70
|
+
const location = yield* Service68;
|
|
71
71
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
72
|
-
name:
|
|
72
|
+
name: name10,
|
|
73
73
|
options: { codemode: false },
|
|
74
74
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
75
|
-
input:
|
|
75
|
+
input: Input10,
|
|
76
76
|
output: Output,
|
|
77
77
|
execute: (input, context) => {
|
|
78
78
|
return Effect.gen(function* () {
|
|
@@ -90,7 +90,7 @@ var Plugin42 = {
|
|
|
90
90
|
source
|
|
91
91
|
});
|
|
92
92
|
yield* permission.assert({
|
|
93
|
-
action:
|
|
93
|
+
action: name10,
|
|
94
94
|
resources: [target.resource],
|
|
95
95
|
save: ["*"],
|
|
96
96
|
sessionID: context.sessionID,
|
|
@@ -141,7 +141,7 @@ var Plugin42 = {
|
|
|
141
141
|
return { output: result.content, path: result.path };
|
|
142
142
|
}).pipe(Effect.map((result) => ({
|
|
143
143
|
output: result.output,
|
|
144
|
-
content:
|
|
144
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
145
145
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
146
146
|
})), Effect.mapError((error) => {
|
|
147
147
|
if (error instanceof ToolFailure)
|
|
@@ -173,7 +173,7 @@ ${suggestions.join(`
|
|
|
173
173
|
});
|
|
174
174
|
})
|
|
175
175
|
};
|
|
176
|
-
var
|
|
176
|
+
var toModelContent4 = (path, offset, output) => {
|
|
177
177
|
if (output.type === "file" && output.encoding === "base64")
|
|
178
178
|
return [
|
|
179
179
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -208,4 +208,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
208
208
|
`);
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { name10, Input10, Plugin41, toModelContent4, exports_read };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./command-mh85gtv1.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-d72308c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID5,
|
|
17
|
+
Info: () => Info7,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service43,
|
|
21
|
+
node: () => node45
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode-ai/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode-ai/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID5 = PermissionSaved.ID;
|
|
29
|
+
var Info7 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service43 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID5.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service43.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node45 = makeGlobalNode({ service: Service43, layer, deps: [node84] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID5, Info7, ListInput4, AddInput2, Service43, node45, exports_saved };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./command-pdae5shs.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service70,
|
|
15
|
-
node73
|
|
16
|
-
} from "./schema-pq59jms5.js";
|
|
9
|
+
Event19,
|
|
10
|
+
Service75,
|
|
11
|
+
node78
|
|
12
|
+
} from "./command-vvhr8ap4.js";
|
|
17
13
|
import {
|
|
18
14
|
Service68,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
15
|
+
node71
|
|
16
|
+
} from "./command-4jcgzkct.js";
|
|
17
|
+
import {
|
|
18
|
+
Service55,
|
|
19
|
+
node57
|
|
20
|
+
} from "./command-4y9deqpk.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service74,
|
|
24
|
+
node77
|
|
25
|
+
} from "./command-jvh9gk2c.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service73,
|
|
34
|
+
node76
|
|
35
|
+
} from "./command-vbr4w0aw.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./command-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError3,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service36,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured4,
|
|
66
|
+
layer: () => layer16,
|
|
67
|
+
node: () => node38
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID14.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
|
|
|
91
91
|
}) {
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Tool3 extends Schema.Class("MCP.Tool")({
|
|
95
95
|
server: ServerName2,
|
|
96
96
|
name: Schema.String,
|
|
97
97
|
codemode: Schema.Boolean.pipe(Schema.optional),
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service36 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service68;
|
|
178
|
+
const environment = yield* Service55;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service74;
|
|
181
|
+
const integration = yield* Service73;
|
|
182
|
+
const credentials = yield* Service75;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID14.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -285,7 +285,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
285
285
|
const elicitation = {
|
|
286
286
|
create: (input) => Effect.gen(function* () {
|
|
287
287
|
if (input.params.mode === "url") {
|
|
288
|
-
const formID =
|
|
288
|
+
const formID = ID15.create();
|
|
289
289
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
290
290
|
urlElicitations.set(key, formID);
|
|
291
291
|
return yield* forms.ask({
|
|
@@ -328,7 +328,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
328
328
|
yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
|
|
329
329
|
})
|
|
330
330
|
};
|
|
331
|
-
const toTool = (server, entry, def) => new
|
|
331
|
+
const toTool = (server, entry, def) => new Tool3({
|
|
332
332
|
server,
|
|
333
333
|
name: def.name,
|
|
334
334
|
codemode: entry.config.codemode,
|
|
@@ -403,7 +403,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
403
403
|
entry.scope = scope;
|
|
404
404
|
const authProvider = yield* connectProvider(entry);
|
|
405
405
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
406
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
406
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope), Effect.exit);
|
|
407
407
|
if (Exit.isSuccess(result)) {
|
|
408
408
|
entry.client = result.value.connection;
|
|
409
409
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -527,7 +527,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
527
527
|
yield* startServer(name, entry);
|
|
528
528
|
}).pipe(locks.withLock(name));
|
|
529
529
|
});
|
|
530
|
-
fork(bus.subscribe(
|
|
530
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
531
531
|
const state = create3({
|
|
532
532
|
name: "mcp",
|
|
533
533
|
initial: () => ({
|
|
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
557
557
|
concurrency: "unbounded",
|
|
558
558
|
discard: true
|
|
559
559
|
}));
|
|
560
|
-
return
|
|
560
|
+
return Service36.of({
|
|
561
561
|
transform: state.transform,
|
|
562
562
|
reload: state.reload,
|
|
563
563
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -677,14 +677,14 @@ var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
677
677
|
})
|
|
678
678
|
});
|
|
679
679
|
}));
|
|
680
|
-
function
|
|
680
|
+
function configured4(options) {
|
|
681
681
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
683
|
-
layer:
|
|
684
|
-
deps: [
|
|
682
|
+
service: Service36,
|
|
683
|
+
layer: layer16(options),
|
|
684
|
+
deps: [node71, node57, node83, node77, node76, node78]
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var node38 = configured4();
|
|
688
688
|
function toElicitationField(key, property, required) {
|
|
689
689
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
690
690
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2,
|
|
738
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service36, Options4, layer16, configured4, node38, exports_mcp4 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./command-mh85gtv1.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-jwcy2c2z.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -19,12 +19,12 @@ __export(exports_bus, {
|
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
21
|
Service: () => Service79,
|
|
22
|
-
configured: () =>
|
|
22
|
+
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node83,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -78,10 +78,10 @@ var isDefinition = (input) => !Array.isArray(input);
|
|
|
78
78
|
|
|
79
79
|
class Service79 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
83
|
service: Service79,
|
|
84
|
-
deps: [
|
|
84
|
+
deps: [node84],
|
|
85
85
|
layer: Layer.effect(Service79, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
@@ -539,6 +539,6 @@ function configured11(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node83 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured12, node83, exports_bus };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-55yvdk0c.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-pdae5shs.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./command-vvhr8ap4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-vbr4w0aw.js";
|
|
15
15
|
import {
|
|
16
16
|
ID18,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-4z6b0fg6.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-wsdbxk0t.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -167,7 +167,7 @@ var AzurePlugin2 = define({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
170
|
-
yield* bus.subscribe(
|
|
170
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
171
171
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
172
172
|
if (evt.model.providerID !== ID18.azure)
|
|
173
173
|
return;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./command-8f30jcen.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service19
|
|
6
|
+
} from "./command-7vhvnd6j.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make8 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service19;
|
|
24
|
+
const jobs = yield* Service47;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./command-mhsg1yty.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-93a8yfjt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make17
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode-ai/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make17 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service70;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make10 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make17, exports_git2 };
|