@opencode-ai/core 0.0.0-dev-19109 → 0.0.0-dev-19113
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/{git-sf60rpxa.js → schema-003fsg5n.js} +24 -24
- package/dist/chunks/{git-67583cjw.js → schema-03bnknpm.js} +32 -32
- package/dist/chunks/{git-6tjj8n2y.js → schema-03r09nmf.js} +11 -11
- package/dist/chunks/{git-a9yhhx2n.js → schema-04y4kq5h.js} +18 -18
- package/dist/chunks/{git-e9zkahnk.js → schema-0b2z71cm.js} +8 -8
- package/dist/chunks/{git-24kkj0mr.js → schema-0czjyq8r.js} +20 -20
- package/dist/chunks/{git-0e0xafbb.js → schema-0e0xafbb.js} +2 -2
- package/dist/chunks/{git-90eb95eh.js → schema-0ez61b8c.js} +2 -2
- package/dist/chunks/{git-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-0s9ayhjt.js → schema-0s9ayhjt.js} +1 -1
- package/dist/chunks/{git-6ex02c0j.js → schema-0vj1jrz2.js} +30 -30
- package/dist/chunks/{git-43kgstp5.js → schema-0wexhrg6.js} +24 -24
- package/dist/chunks/{git-3e31qste.js → schema-0wmajvd3.js} +21 -21
- package/dist/chunks/{git-tdtn9dc8.js → schema-13henw9b.js} +10 -10
- package/dist/chunks/{git-jdnwrjf1.js → schema-14hmenm3.js} +3 -3
- package/dist/chunks/{git-pxpsfjdb.js → schema-19e0cjgc.js} +16 -16
- package/dist/chunks/{git-ysdbg6vk.js → schema-1a62n4b4.js} +8 -8
- package/dist/chunks/{git-f2wqyxa1.js → schema-1b1362z0.js} +279 -279
- package/dist/chunks/{git-qhyptzpa.js → schema-1bfx2f8w.js} +17 -17
- package/dist/chunks/{git-t29n1950.js → schema-1c9254mw.js} +19 -19
- package/dist/chunks/{git-1ct4r87x.js → schema-1ct4r87x.js} +1 -1
- package/dist/chunks/{git-5aq57b09.js → schema-1pcpac3c.js} +45 -45
- package/dist/chunks/{git-e5h75gt4.js → schema-1qm36p24.js} +6 -6
- package/dist/chunks/{git-qwdgxhzc.js → schema-1rs9f67k.js} +13 -13
- package/dist/chunks/{git-3wbeqzmg.js → schema-1twm75cg.js} +7 -7
- package/dist/chunks/{git-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{git-1xhwd09p.js → schema-232z5d71.js} +11 -11
- package/dist/chunks/{git-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{git-efxjj9hq.js → schema-25x8afv5.js} +24 -24
- package/dist/chunks/{git-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-2ht70gj7.js → schema-2ht70gj7.js} +1 -1
- package/dist/chunks/{git-2jqmte8w.js → schema-2jqmte8w.js} +2 -2
- package/dist/chunks/{git-dvzrr6hd.js → schema-31jaghp0.js} +8 -8
- package/dist/chunks/{git-0yjzv1xx.js → schema-3b8x608h.js} +11 -11
- package/dist/chunks/{git-czy35k71.js → schema-3bxg9k4v.js} +4 -4
- package/dist/chunks/{git-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-98e54nj4.js → schema-3m6r3y2t.js} +3 -3
- package/dist/chunks/{git-3qzbfqsy.js → schema-3qzbfqsy.js} +2 -2
- package/dist/chunks/{git-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-sxaj9jh7.js → schema-3wfq9j39.js} +12 -12
- package/dist/chunks/{git-hjrjbgez.js → schema-41mncz27.js} +5 -5
- package/dist/chunks/{git-454k5vzh.js → schema-454k5vzh.js} +1 -1
- package/dist/chunks/{git-ajq4mc28.js → schema-465hbgy4.js} +23 -23
- package/dist/chunks/{git-g0awv9rp.js → schema-47hx03vq.js} +6 -6
- package/dist/chunks/{git-mc1a8gkf.js → schema-49vqye4b.js} +23 -23
- package/dist/chunks/{git-4r2nyarf.js → schema-4r2nyarf.js} +1 -1
- package/dist/chunks/{git-gaa7qhhm.js → schema-4t3td2wa.js} +3 -3
- package/dist/chunks/{git-hc4b3kyg.js → schema-4z6b0fg6.js} +6 -6
- package/dist/chunks/{git-b4fncx34.js → schema-51607pcx.js} +35 -35
- package/dist/chunks/{git-s5qzv7b1.js → schema-5d7pjmem.js} +8 -8
- package/dist/chunks/{git-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{git-5fmxt4p5.js → schema-5fmxt4p5.js} +1 -1
- package/dist/chunks/{git-5jvc5tg2.js → schema-5jvc5tg2.js} +1 -1
- package/dist/chunks/{git-ez5b8bq3.js → schema-5sg4xzjf.js} +7 -7
- package/dist/chunks/{git-a3aqw4jk.js → schema-5t62h84z.js} +9 -9
- package/dist/chunks/{git-2q21hkva.js → schema-5xry5f48.js} +19 -19
- package/dist/chunks/{git-hjv5med1.js → schema-5ymv3zps.js} +10 -10
- package/dist/chunks/{git-q1cagyca.js → schema-604brgxe.js} +15 -15
- package/dist/chunks/{git-7dqw4kz8.js → schema-607tc6va.js} +5 -5
- package/dist/chunks/{git-t7xwk1e5.js → schema-6e9zjh3b.js} +39 -39
- package/dist/chunks/{git-46rehjdx.js → schema-6gdw6h0x.js} +20 -20
- package/dist/chunks/{git-na3y75gh.js → schema-6h414ywr.js} +5 -5
- package/dist/chunks/{git-wcn3expk.js → schema-6t6jdtfj.js} +43 -43
- package/dist/chunks/{git-6tf8tr4v.js → schema-6tf8tr4v.js} +2 -2
- package/dist/chunks/{git-m2a0x0j7.js → schema-6wvc17bv.js} +21 -21
- package/dist/chunks/{git-jw51n901.js → schema-6z0cx0hp.js} +5 -5
- package/dist/chunks/{git-6z5bwd8g.js → schema-6z5bwd8g.js} +2 -2
- package/dist/chunks/{git-711hfp6y.js → schema-711hfp6y.js} +2 -2
- package/dist/chunks/{git-1bdhjw18.js → schema-71gdr5b1.js} +8 -8
- package/dist/chunks/{git-fg46k2f2.js → schema-7b58fdzm.js} +39 -39
- package/dist/chunks/{git-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-thrargpz.js → schema-7cxbprz9.js} +9 -9
- package/dist/chunks/schema-7zk4hah4.js +4 -0
- package/dist/chunks/{git-25v3hshg.js → schema-84615681.js} +30 -30
- package/dist/chunks/{git-4wmw0yz2.js → schema-86gvg13r.js} +26 -26
- package/dist/chunks/{git-4c5k13je.js → schema-86s3977f.js} +1 -1
- package/dist/chunks/{git-4gzm36d2.js → schema-885z9zv8.js} +38 -38
- package/dist/chunks/{git-dns6mj49.js → schema-89b63vz0.js} +9 -9
- package/dist/chunks/{git-tcezcvh9.js → schema-89znhe33.js} +4 -4
- package/dist/chunks/{git-12gh2r0n.js → schema-8dbsynwt.js} +4 -4
- package/dist/chunks/{git-gadrrcfg.js → schema-8gwm888c.js} +16 -16
- package/dist/chunks/{git-jt4qmvd6.js → schema-8jb23qqb.js} +34 -34
- package/dist/chunks/{git-48wd3yf5.js → schema-8vvsq35t.js} +28 -28
- package/dist/chunks/{git-2nfezth6.js → schema-8z1zv58q.js} +24 -24
- package/dist/chunks/{git-93a8yfjt.js → schema-93a8yfjt.js} +2 -2
- package/dist/chunks/{git-bfsqkmyv.js → schema-93zj7k35.js} +31 -31
- package/dist/chunks/{git-157wf8eb.js → schema-9n0vkmbk.js} +4 -4
- package/dist/chunks/{git-9qm9egsn.js → schema-9qm9egsn.js} +2 -2
- package/dist/chunks/{git-6grqxh82.js → schema-9ynjk36a.js} +16 -16
- package/dist/chunks/{git-59fb75f8.js → schema-a2qpghxp.js} +26 -26
- package/dist/chunks/{git-y8xfsac8.js → schema-a38ny1e6.js} +18 -18
- package/dist/chunks/{git-kx2gvdct.js → schema-a5nkh94p.js} +4 -4
- package/dist/chunks/{git-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{git-ajtjthsy.js → schema-ajtjthsy.js} +2 -2
- package/dist/chunks/{git-b4nfgv2f.js → schema-aqe02c8d.js} +36 -36
- package/dist/chunks/schema-ar126axr.js +20 -0
- package/dist/chunks/{git-pp549hae.js → schema-arkd3wpw.js} +5 -5
- package/dist/chunks/{git-19kh8pdt.js → schema-aw2k3wz6.js} +65 -65
- package/dist/chunks/{git-wrz65vt8.js → schema-b44wx9et.js} +36 -36
- package/dist/chunks/{git-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-qxs44qv5.js → schema-b8z4k5ce.js} +25 -25
- package/dist/chunks/{git-b9wsbatv.js → schema-b9wsbatv.js} +1 -1
- package/dist/chunks/{git-txyczmks.js → schema-bd8qc9hq.js} +11 -11
- package/dist/chunks/{git-qezf6xep.js → schema-bh9tqa98.js} +32 -32
- package/dist/chunks/{git-ehncf743.js → schema-bhpqzk3s.js} +7 -7
- package/dist/chunks/{git-zqg3qsz2.js → schema-bxb1xesv.js} +4 -4
- package/dist/chunks/{git-97sjq870.js → schema-by3wynxz.js} +27 -27
- package/dist/chunks/{git-35vc2dck.js → schema-bz9tscha.js} +11 -11
- package/dist/chunks/{git-6e958v7x.js → schema-c0faa19c.js} +6 -6
- package/dist/chunks/{git-e8920g29.js → schema-c8adm2ya.js} +11 -11
- package/dist/chunks/{git-5dz1cjsc.js → schema-cmzeyqty.js} +15 -15
- package/dist/chunks/{git-ss0awb04.js → schema-cqg8v4c7.js} +6 -6
- package/dist/chunks/{git-rzwk2s92.js → schema-cr2cj2wh.js} +15 -15
- package/dist/chunks/{git-f6nrgepv.js → schema-cv9nfd2x.js} +9 -9
- package/dist/chunks/{git-6191z5s4.js → schema-cvtn0ena.js} +18 -18
- package/dist/chunks/{git-db9r0kw7.js → schema-cwy94s7d.js} +28 -28
- package/dist/chunks/{git-ratrq7cm.js → schema-d216944b.js} +7 -7
- package/dist/chunks/{git-t6jxcej1.js → schema-d33d0znm.js} +6 -6
- package/dist/chunks/{git-d72308c8.js → schema-d72308c8.js} +2 -2
- package/dist/chunks/{git-3vkr20g6.js → schema-ddhdzq1z.js} +22 -22
- package/dist/chunks/{git-wtxfc7wq.js → schema-ddqrdvz9.js} +11 -11
- package/dist/chunks/{git-7dwfb2vf.js → schema-dmeb760c.js} +11 -11
- package/dist/chunks/{git-8737zb6q.js → schema-dn5rar9h.js} +18 -18
- package/dist/chunks/{git-jpx0fz2c.js → schema-dq1m6vbr.js} +12 -12
- package/dist/chunks/{git-dj6ed4p5.js → schema-drrwt7ne.js} +13 -13
- package/dist/chunks/{git-pt2y64as.js → schema-dwag0pt8.js} +51 -51
- package/dist/chunks/{git-gj0v7ayb.js → schema-dx71f7x8.js} +1 -1
- package/dist/chunks/{git-14s8ve6g.js → schema-e5b0qn1c.js} +1 -1
- package/dist/chunks/{git-gjqgpz3y.js → schema-e8zea55p.js} +3 -3
- package/dist/chunks/{git-zb3c6va5.js → schema-ek47zmt8.js} +20 -20
- package/dist/chunks/{git-94nnnvbh.js → schema-embxdc05.js} +20 -20
- package/dist/chunks/{git-na3rzezk.js → schema-erdqw2zp.js} +15 -15
- package/dist/chunks/{git-s1zas8dv.js → schema-etv9h02v.js} +11 -11
- package/dist/chunks/{git-y71avatq.js → schema-f0nz223j.js} +4 -4
- package/dist/chunks/{git-g4j5mcjp.js → schema-f1kgb3zy.js} +17 -17
- package/dist/chunks/{git-ba723ajb.js → schema-f2c1rw5q.js} +8 -8
- package/dist/chunks/{git-dnmyvy59.js → schema-fcxqfnez.js} +41 -41
- package/dist/chunks/{git-rqpsfqy9.js → schema-fgsnpp9b.js} +6 -6
- package/dist/chunks/{git-daxtdgx4.js → schema-fqjmww7h.js} +2 -2
- package/dist/chunks/{git-4sqztht9.js → schema-fqsas06y.js} +25 -25
- package/dist/chunks/{git-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{git-fxypknc8.js → schema-fxypknc8.js} +1 -1
- package/dist/chunks/{git-pyfcms0g.js → schema-g3drbzg8.js} +49 -49
- package/dist/chunks/{git-1sfe7ky6.js → schema-g41n1fn3.js} +5 -5
- package/dist/chunks/{git-5gx2hdkx.js → schema-g77vssk4.js} +3 -3
- package/dist/chunks/{git-4p9rm7az.js → schema-g7dk7q7q.js} +6 -6
- package/dist/chunks/{git-nt48h9be.js → schema-gb2d2dnx.js} +6 -6
- package/dist/chunks/{git-nb73njp3.js → schema-gcs6fwp7.js} +26 -26
- package/dist/chunks/{git-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-3fc6dm20.js → schema-gdvy8fx6.js} +4 -4
- package/dist/chunks/{git-0dxc7qjc.js → schema-ghs32kwn.js} +10 -10
- package/dist/chunks/{git-4w13mmvc.js → schema-ghvd297g.js} +20 -20
- package/dist/chunks/{git-v0vsseqe.js → schema-gpf623h2.js} +26 -26
- package/dist/chunks/{git-dhct43ra.js → schema-gra7g7yn.js} +6 -6
- package/dist/chunks/{git-h2st8tcp.js → schema-gsh994c1.js} +20 -20
- package/dist/chunks/{git-9nv74sc2.js → schema-gxf68msc.js} +11 -11
- package/dist/chunks/{git-j76h0y45.js → schema-gyt4m0mz.js} +13 -13
- package/dist/chunks/{git-8kemf7hy.js → schema-h0171c2t.js} +25 -25
- package/dist/chunks/{git-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-rzejcw32.js → schema-h722e297.js} +5 -5
- package/dist/chunks/{git-heyhwy2w.js → schema-heyhwy2w.js} +1 -1
- package/dist/chunks/{git-fb63p1mh.js → schema-hf39trxb.js} +6 -6
- package/dist/chunks/{git-rnzzvk35.js → schema-hge35dz1.js} +11 -11
- package/dist/chunks/{git-ktk9jmx4.js → schema-hmwt0jyx.js} +27 -27
- package/dist/chunks/{git-d7zznenn.js → schema-hr5qjpq8.js} +9 -9
- package/dist/chunks/{git-hrvm11jt.js → schema-hrvm11jt.js} +3 -3
- package/dist/chunks/{git-kvsjn1dr.js → schema-hw4pv20g.js} +2 -2
- package/dist/chunks/{git-sxx28m10.js → schema-hz4jmg6a.js} +16 -16
- package/dist/chunks/{git-2tdj64pz.js → schema-hzecryb5.js} +18 -18
- package/dist/chunks/{git-43mprarq.js → schema-j2823k0a.js} +2 -2
- package/dist/chunks/{git-pjedbq3k.js → schema-j5208yae.js} +4 -4
- package/dist/chunks/{git-5qd3pb7m.js → schema-j935v87r.js} +2 -2
- package/dist/chunks/{git-fxx3ng1x.js → schema-j9p9k0ns.js} +20 -20
- package/dist/chunks/{git-btsk8b9y.js → schema-jdcgdbf4.js} +15 -15
- package/dist/chunks/{git-kzmwhpqp.js → schema-jnkr0b22.js} +7 -7
- package/dist/chunks/{git-gw3wk82x.js → schema-jzwyrcyp.js} +37 -37
- package/dist/chunks/{git-k4bwy1x5.js → schema-k4bwy1x5.js} +1 -1
- package/dist/chunks/{git-r6spzpk4.js → schema-k4wm54be.js} +11 -11
- package/dist/chunks/{git-nh5wbzxs.js → schema-k6j9nnzb.js} +10 -10
- package/dist/chunks/{git-0rag4e4f.js → schema-k8feg6vv.js} +4 -4
- package/dist/chunks/{git-kg06axw8.js → schema-kg06axw8.js} +1 -1
- package/dist/chunks/{git-d283m366.js → schema-kqh4e8mv.js} +11 -11
- package/dist/chunks/{git-me5tkfc4.js → schema-ksgctcgv.js} +14 -14
- package/dist/chunks/{git-62fymqzv.js → schema-kxmdptat.js} +6 -6
- package/dist/chunks/{git-e4xqgmkc.js → schema-ky34zdc2.js} +86 -86
- package/dist/chunks/{git-f90y20kg.js → schema-m68bnfyk.js} +37 -37
- package/dist/chunks/{git-0ywdd1cz.js → schema-m8y7v2t2.js} +10 -10
- package/dist/chunks/{git-hjwyx7yr.js → schema-m9gnqnf3.js} +164 -164
- package/dist/chunks/{git-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-p3e4re21.js → schema-mcxg6pmm.js} +1 -1
- package/dist/chunks/{git-zr9q2xht.js → schema-mg9kt97e.js} +55 -55
- package/dist/chunks/{git-mhkvc446.js → schema-mhkvc446.js} +1 -1
- package/dist/chunks/{git-yn7pyct1.js → schema-mrndz1s0.js} +17 -17
- package/dist/chunks/{git-br76cj0n.js → schema-mxrkvygc.js} +7 -7
- package/dist/chunks/{git-3bp7f1wy.js → schema-mzr3jh1b.js} +4 -4
- package/dist/chunks/{git-ch60wd2z.js → schema-n3jkd22a.js} +4 -4
- package/dist/chunks/{git-2jk00ej8.js → schema-n7cf8wem.js} +31 -31
- package/dist/chunks/{git-bafjfafm.js → schema-n9mbvtnm.js} +31 -31
- package/dist/chunks/{git-a65jk3dg.js → schema-na32d9q8.js} +3 -3
- package/dist/chunks/{git-kfd3jmfd.js → schema-npjjgcke.js} +25 -25
- package/dist/chunks/{git-0q5bpm08.js → schema-nz06j3y4.js} +32 -32
- package/dist/chunks/{git-gnaht1j5.js → schema-p2wtsv0s.js} +11 -11
- package/dist/chunks/{git-rvn46zq7.js → schema-p325kmej.js} +9 -9
- package/dist/chunks/{git-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{git-tr0r9c4y.js → schema-pm8h9tzz.js} +32 -32
- package/dist/chunks/{git-s1pbqs1h.js → schema-pq59jms5.js} +17 -17
- package/dist/chunks/{git-shr0f69z.js → schema-ptakx6pw.js} +18 -18
- package/dist/chunks/{git-1ptjnbjx.js → schema-ptrvg6rv.js} +9 -9
- package/dist/chunks/{git-xqxbvg49.js → schema-pv4m0g3w.js} +10 -10
- package/dist/chunks/{git-3j8sdtpz.js → schema-q2b1ymqp.js} +4 -4
- package/dist/chunks/schema-q509s3k3.js +18 -0
- package/dist/chunks/{git-m25pdrkb.js → schema-q8pp2sp9.js} +46 -46
- package/dist/chunks/{git-mzxw2z9s.js → schema-qp9er4j6.js} +20 -20
- package/dist/chunks/{git-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{git-3z8xdy4t.js → schema-qteavpav.js} +21 -21
- package/dist/chunks/{git-eqkknbny.js → schema-qvvp9gqp.js} +8 -8
- package/dist/chunks/{git-4hz2mmtn.js → schema-r80rqf00.js} +6 -6
- package/dist/chunks/{git-r8dhm0tv.js → schema-r8dhm0tv.js} +1 -1
- package/dist/chunks/{git-btx2ztyd.js → schema-rgkrj14r.js} +24 -24
- package/dist/chunks/{git-759pz1a2.js → schema-rmkjmdgc.js} +8 -8
- package/dist/chunks/{git-abvdbqvv.js → schema-rmy3e5eg.js} +3 -3
- package/dist/chunks/{git-zfnpc7fv.js → schema-s3eqpch7.js} +1 -1
- package/dist/chunks/{git-sba4qhjf.js → schema-sba4qhjf.js} +1 -1
- package/dist/chunks/{git-2vjvjjyp.js → schema-sr8h0x87.js} +30 -30
- package/dist/chunks/{git-4ss9n79c.js → schema-sxx6cwa9.js} +13 -13
- package/dist/chunks/{git-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/schema-tcjeexqf.js +243 -0
- package/dist/chunks/{git-tpk8ft80.js → schema-tdz2d0bf.js} +11 -11
- package/dist/chunks/{git-thfv75je.js → schema-thfv75je.js} +2 -2
- package/dist/chunks/{git-tjykrgmx.js → schema-tjykrgmx.js} +1 -1
- package/dist/chunks/{git-t4es3k9e.js → schema-tmxfds8c.js} +9 -9
- package/dist/chunks/{git-qdaqxxg9.js → schema-ty1azyrs.js} +18 -18
- package/dist/chunks/{git-yz728bf4.js → schema-tzfkbvz2.js} +9 -9
- package/dist/chunks/{git-rved4v7n.js → schema-v1tf4pqw.js} +9 -9
- package/dist/chunks/{git-z3xgatyd.js → schema-vep9yay1.js} +4 -4
- package/dist/chunks/{git-qy2nesre.js → schema-vfnppjq7.js} +11 -11
- package/dist/chunks/{git-hbs35kex.js → schema-vns5fd4r.js} +8 -8
- package/dist/chunks/{git-9y1phk8d.js → schema-vsr56sgz.js} +3 -3
- package/dist/chunks/{git-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-1tfrzsx7.js → schema-wb48nz2p.js} +9 -9
- package/dist/chunks/{git-yvhsxjzj.js → schema-wbypftda.js} +16 -16
- package/dist/chunks/{git-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{git-kyd4za44.js → schema-wgxn7ww3.js} +4 -4
- package/dist/chunks/{git-2hymcpzh.js → schema-wnae6eaa.js} +87 -87
- package/dist/chunks/{git-naywqbg0.js → schema-wq3pj38h.js} +11 -11
- package/dist/chunks/{git-ypa7521y.js → schema-wxxmn71z.js} +12 -12
- package/dist/chunks/{git-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-0qwbfr5b.js → schema-x25z0w3c.js} +10 -10
- package/dist/chunks/{git-hvxfxr0a.js → schema-x4q3fes7.js} +37 -37
- package/dist/chunks/{git-jf453wex.js → schema-x4r7m2ed.js} +31 -31
- package/dist/chunks/{git-szasc975.js → schema-x9k9x3cg.js} +8 -8
- package/dist/chunks/{git-mqmk3ma0.js → schema-xb7ts4ht.js} +17 -17
- package/dist/chunks/{git-q32xhvm0.js → schema-xbk3bkv8.js} +4 -4
- package/dist/chunks/{git-n3sy9ccz.js → schema-xewvqdfm.js} +25 -25
- package/dist/chunks/{git-54q64t4d.js → schema-xh4mehyn.js} +25 -25
- package/dist/chunks/{git-k2qp0rt7.js → schema-xqsy6kp0.js} +1 -1
- package/dist/chunks/{git-tjmzx5hc.js → schema-xzwtfmxp.js} +7 -7
- package/dist/chunks/{git-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-3kbb63t8.js → schema-y5e1a3sd.js} +4 -4
- package/dist/chunks/{git-yfbd16n1.js → schema-yfbd16n1.js} +2 -2
- package/dist/chunks/{git-7ah5wmet.js → schema-yg7c986n.js} +24 -24
- package/dist/chunks/{git-vtq1wfzg.js → schema-ykcesz1b.js} +4 -4
- package/dist/chunks/{git-2ba8yhta.js → schema-yzqwwj2t.js} +58 -58
- package/dist/chunks/{git-54k2rsgg.js → schema-z0vc91aj.js} +28 -28
- package/dist/chunks/{git-z1k01bn4.js → schema-z1k01bn4.js} +2 -2
- package/dist/chunks/{git-qp4k32t2.js → schema-z2hjzsqf.js} +10 -10
- package/dist/chunks/{git-29x78va6.js → schema-z63w68vq.js} +6 -6
- package/dist/chunks/{git-7r0r50e5.js → schema-zk8c4w5t.js} +5 -5
- package/dist/chunks/{git-6ym5me7r.js → schema-zn2pq4p8.js} +5 -5
- package/dist/chunks/{git-qr5nkndc.js → schema-zpensxqb.js} +17 -17
- package/dist/chunks/{git-0mm37wse.js → schema-zr385g01.js} +41 -41
- package/dist/chunks/{git-cw8gg7dp.js → schema-zv0fedm2.js} +9 -9
- package/dist/chunks/{git-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- 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 +83 -83
- 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 +113 -113
- 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 +116 -116
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +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 +86 -86
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- 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 +3 -3
- 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 +71 -71
- 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 +116 -116
- 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 +7 -7
- 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 +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 +84 -84
- 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 +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 +114 -114
- 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 +74 -74
- package/dist/plugin/service.js +5 -5
- 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 +80 -80
- 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 +6 -6
- 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 +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 +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 +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 +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- 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 +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +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 +201 -201
- 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 +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +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 +86 -86
- 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 +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +110 -110
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- 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 +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 +7 -7
- 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 +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 +4 -4
- 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 +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 +88 -88
- package/package.json +7 -7
- package/dist/chunks/git-bsaaxbhg.js +0 -20
- package/dist/chunks/git-bwt7bpgq.js +0 -18
- package/dist/chunks/git-f4j0pa50.js +0 -4
- package/dist/chunks/git-m3crx9ys.js +0 -243
- /package/dist/chunks/{git-0fabt78z.js → schema-0fabt78z.js} +0 -0
- /package/dist/chunks/{git-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t738kvx.js → schema-3t738kvx.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-41nvscxy.js → schema-41nvscxy.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-982e01ww.js → schema-982e01ww.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a1tpkmh4.js → schema-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mntxs535.js → schema-mntxs535.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-p8qxwesx.js → schema-p8qxwesx.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-se0s1eqw.js → schema-se0s1eqw.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x1b8g1yb.js → schema-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → schema-z9919s4g.js} +0 -0
- /package/dist/chunks/{git-zbjnn3ac.js → schema-zbjnn3ac.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node83
|
|
4
|
+
} from "./schema-c8adm2ya.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-f0nz223j.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-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: () => configured11,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node82,
|
|
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 configured11(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
83
|
service: Service79,
|
|
84
|
-
deps: [
|
|
84
|
+
deps: [node83],
|
|
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 configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node82 = configured11();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured11, node82, exports_bus };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node83
|
|
4
|
+
} from "./schema-c8adm2ya.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service79,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
node82
|
|
9
|
+
} from "./schema-dmeb760c.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-mntxs535.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-982e01ww.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-yfbd16n1.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-p8qxwesx.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-9qm9egsn.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-hrvm11jt.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./schema-6gdw6h0x.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./schema-bxb1xesv.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./schema-19e0cjgc.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./schema-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./schema-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node22
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
455
455
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
456
456
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
458
|
+
var node22 = makeGlobalNode({ name: "session-projector", layer, deps: [node82, node83] });
|
|
459
459
|
|
|
460
|
-
export { SessionAlreadyProjected2,
|
|
460
|
+
export { SessionAlreadyProjected2, node22, exports_projector };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-xewvqdfm.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-mg9kt97e.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent = {};
|
|
15
15
|
__export(exports_agent, {
|
|
16
16
|
AgentPlugin: () => exports_agent,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin10
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin10 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin15 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID8.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID8.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin15 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID8.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID8.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID8.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin15 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin10, exports_agent };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-0e0xafbb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service58,
|
|
6
|
+
node60
|
|
7
|
+
} from "./schema-7b58fdzm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
@@ -16,8 +16,8 @@ __export(exports_generate2, {
|
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
17
|
Service: () => Service57,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer19,
|
|
20
|
+
node: () => node59
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode-ai/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,9 +35,9 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
35
35
|
|
|
36
36
|
class Service57 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer19 = Layer.effect(Service57, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service58;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -62,10 +62,10 @@ var layer21 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
62
62
|
})));
|
|
63
63
|
return Service57.of({ text });
|
|
64
64
|
}));
|
|
65
|
-
var
|
|
65
|
+
var node59 = makeLocationNode({
|
|
66
66
|
service: Service57,
|
|
67
|
-
layer:
|
|
68
|
-
deps: [
|
|
67
|
+
layer: layer19,
|
|
68
|
+
deps: [node60, llmClient2]
|
|
69
69
|
});
|
|
70
70
|
|
|
71
|
-
export { ModelSelectionError2, UnavailableError3, Service57,
|
|
71
|
+
export { ModelSelectionError2, UnavailableError3, Service57, layer19, node59, exports_generate2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-f0nz223j.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
|
-
node83
|
|
7
|
-
} from "./git-7dwfb2vf.js";
|
|
8
|
-
import {
|
|
9
|
-
Event20,
|
|
10
|
-
Service78,
|
|
11
6
|
node82
|
|
12
|
-
} from "./
|
|
7
|
+
} from "./schema-dmeb760c.js";
|
|
8
|
+
import {
|
|
9
|
+
Event14,
|
|
10
|
+
Service63,
|
|
11
|
+
node65
|
|
12
|
+
} from "./schema-n7cf8wem.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service70,
|
|
15
|
+
node73
|
|
16
|
+
} from "./schema-pq59jms5.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service68,
|
|
19
|
+
node70
|
|
20
|
+
} from "./schema-8z1zv58q.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID10,
|
|
23
|
+
Service61,
|
|
24
|
+
node63
|
|
25
|
+
} from "./schema-b8z4k5ce.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service60,
|
|
34
|
+
node62
|
|
35
|
+
} from "./schema-n9mbvtnm.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./schema-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: () => Options2,
|
|
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: () => Service34,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool2,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured2,
|
|
66
|
+
layer: () => layer14,
|
|
67
|
+
node: () => node36
|
|
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: ID9.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 Tool2 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 Service34 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options2 = 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 layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service70;
|
|
178
|
+
const environment = yield* Service68;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service61;
|
|
181
|
+
const integration = yield* Service60;
|
|
182
|
+
const credentials = yield* Service63;
|
|
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 layer17 = (options) => Layer.effect(Service39, 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 = ID9.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -285,7 +285,7 @@ var layer17 = (options) => Layer.effect(Service39, 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 = ID10.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 layer17 = (options) => Layer.effect(Service39, 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 Tool2({
|
|
332
332
|
server,
|
|
333
333
|
name: def.name,
|
|
334
334
|
codemode: entry.config.codemode,
|
|
@@ -403,7 +403,7 @@ var layer17 = (options) => Layer.effect(Service39, 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(Service68, 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 layer17 = (options) => Layer.effect(Service39, 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(Event14.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 layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
557
557
|
concurrency: "unbounded",
|
|
558
558
|
discard: true
|
|
559
559
|
}));
|
|
560
|
-
return
|
|
560
|
+
return Service34.of({
|
|
561
561
|
transform: state.transform,
|
|
562
562
|
reload: state.reload,
|
|
563
563
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -677,14 +677,14 @@ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
677
677
|
})
|
|
678
678
|
});
|
|
679
679
|
}));
|
|
680
|
-
function
|
|
680
|
+
function configured2(options) {
|
|
681
681
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
683
|
-
layer:
|
|
684
|
-
deps: [
|
|
682
|
+
service: Service34,
|
|
683
|
+
layer: layer14(options),
|
|
684
|
+
deps: [node73, node70, node82, node63, node62, node65]
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var node36 = configured2();
|
|
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, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service34, Options2, layer14, configured2, node36, exports_mcp4 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-dx71f7x8.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make21,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-3m6r3y2t.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-c8adm2ya.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-dmeb760c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service32
|
|
9
|
+
} from "./schema-ar126axr.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-p8qxwesx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service44
|
|
16
|
+
} from "./schema-sr8h0x87.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-mntxs535.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-982e01ww.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-tzfkbvz2.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-hrvm11jt.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service32;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service44;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service32;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service44;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|