@opencode/core 0.0.0-dev-21049 → 0.0.0-dev-21054
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{tool-92jqywd0.js → generate-01t0v2a1.js} +17 -17
- package/dist/chunks/{tool-tp63ett8.js → generate-05srcpjk.js} +8 -8
- package/dist/chunks/{tool-d0ge418f.js → generate-071n8q0k.js} +2 -2
- package/dist/chunks/{tool-vx1yezxz.js → generate-0anmdph3.js} +4 -4
- package/dist/chunks/{tool-1b7ejmxt.js → generate-0ap853b9.js} +8 -8
- package/dist/chunks/{tool-6g7e4dd5.js → generate-0bg0bx69.js} +9 -9
- package/dist/chunks/{tool-fcrkznn8.js → generate-0jwsre1p.js} +5 -5
- package/dist/chunks/{tool-5ds65g7m.js → generate-0nk3877v.js} +153 -153
- package/dist/chunks/{tool-0vbcp93d.js → generate-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-d9rb3zvs.js → generate-1070ksmc.js} +70 -70
- package/dist/chunks/{tool-93jnn70z.js → generate-1bmjn0qh.js} +8 -8
- package/dist/chunks/{tool-qa5pp94n.js → generate-1h4e0rj0.js} +8 -8
- package/dist/chunks/{tool-09qqh49h.js → generate-1h971vmj.js} +26 -26
- package/dist/chunks/{tool-gv51xe32.js → generate-1k5dztrp.js} +16 -16
- package/dist/chunks/{tool-cnrvnbz5.js → generate-1n6yzk0h.js} +28 -28
- package/dist/chunks/{tool-12t6z3cz.js → generate-1r2e3bq1.js} +1 -1
- package/dist/chunks/{tool-m01k28hg.js → generate-1vekecep.js} +20 -20
- package/dist/chunks/{tool-khmqacep.js → generate-1w2wqhfv.js} +4 -4
- package/dist/chunks/{tool-87b0tycv.js → generate-2hy9kqsr.js} +11 -11
- package/dist/chunks/{tool-47bgsghd.js → generate-2mx25k6g.js} +3 -3
- package/dist/chunks/{tool-f8c51dk5.js → generate-2vzrqptq.js} +13 -13
- package/dist/chunks/{tool-ehyjreag.js → generate-2wwmqsg4.js} +21 -21
- package/dist/chunks/{tool-afrtgck4.js → generate-3ewed21c.js} +4 -4
- package/dist/chunks/{tool-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-3hwn7j4h.js → generate-3hwn7j4h.js} +2 -2
- package/dist/chunks/{tool-eeaf82dq.js → generate-3rtxz4nr.js} +8 -8
- package/dist/chunks/{tool-5kpd3qqk.js → generate-3sedkwj5.js} +3 -3
- package/dist/chunks/{tool-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-fkpfeb1d.js → generate-3tnvxzxk.js} +27 -27
- package/dist/chunks/{tool-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-jcc9efy7.js → generate-3w9g8mjh.js} +15 -15
- package/dist/chunks/{tool-nck54nhp.js → generate-3wv0f6jd.js} +20 -20
- package/dist/chunks/{tool-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-jb4mrxfg.js → generate-40ghg7kt.js} +17 -17
- package/dist/chunks/{tool-c29z7hcx.js → generate-4cqhey0z.js} +29 -29
- package/dist/chunks/{tool-mx9vqzsb.js → generate-4mwpykj0.js} +6 -6
- package/dist/chunks/{tool-95f8ca4q.js → generate-4pw4dpny.js} +13 -13
- package/dist/chunks/{tool-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-5kmqhqkx.js → generate-54t6wcfs.js} +14 -14
- package/dist/chunks/{tool-87t3sg69.js → generate-5c4744th.js} +10 -10
- package/dist/chunks/{tool-6yz0wx8n.js → generate-5fykfdj7.js} +5 -5
- package/dist/chunks/{tool-kwh0g9yr.js → generate-5j0rxhfv.js} +6 -6
- package/dist/chunks/{tool-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-376dj1j3.js → generate-5n9j5wtj.js} +10 -10
- package/dist/chunks/{tool-70h0erza.js → generate-5pcd22tw.js} +35 -35
- package/dist/chunks/{tool-xa2yqved.js → generate-5q337x67.js} +20 -20
- package/dist/chunks/{tool-4fjma7m8.js → generate-5vamn5f0.js} +16 -16
- package/dist/chunks/{tool-kp9fp1hg.js → generate-63tw8ewp.js} +27 -27
- package/dist/chunks/{tool-r6ewd7yw.js → generate-69j36hsy.js} +11 -11
- package/dist/chunks/{tool-gpvphjq8.js → generate-6dsr17hj.js} +7 -7
- package/dist/chunks/{tool-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
- package/dist/chunks/{tool-pf9eybg4.js → generate-6xj5atjz.js} +17 -17
- package/dist/chunks/{tool-fmabef4g.js → generate-7097t0y6.js} +30 -30
- package/dist/chunks/{tool-v5qvjexb.js → generate-71a08fe0.js} +4 -4
- package/dist/chunks/{tool-yd6x1vtb.js → generate-72hthxnt.js} +15 -15
- package/dist/chunks/{tool-x2a7tbvm.js → generate-76anbyf9.js} +25 -25
- package/dist/chunks/{tool-775gj3j1.js → generate-775gj3j1.js} +2 -2
- package/dist/chunks/{tool-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-yyptd6zt.js → generate-7csh27a2.js} +8 -8
- package/dist/chunks/{tool-cwq5cw92.js → generate-7knbdkcv.js} +6 -6
- package/dist/chunks/{tool-1hz0wgam.js → generate-7m5zb45r.js} +22 -22
- package/dist/chunks/{tool-0nxben1n.js → generate-7s875pzt.js} +35 -35
- package/dist/chunks/{tool-8f721ffb.js → generate-7wr00f7v.js} +2 -2
- package/dist/chunks/{tool-k7b35hhb.js → generate-82q34vh5.js} +1 -1
- package/dist/chunks/{tool-84txncab.js → generate-84txncab.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → generate-89znhe33.js} +4 -4
- package/dist/chunks/{tool-kkcq69qv.js → generate-8b7vdg12.js} +22 -22
- package/dist/chunks/{tool-8022akpp.js → generate-8gwrms8p.js} +30 -30
- package/dist/chunks/{tool-gg52rjyc.js → generate-8gzbm524.js} +21 -21
- package/dist/chunks/{tool-mbdexebc.js → generate-8m5nbx44.js} +9 -9
- package/dist/chunks/{tool-8m6m0r52.js → generate-8m6m0r52.js} +1 -1
- package/dist/chunks/{tool-btsvt50k.js → generate-8pmds7gm.js} +8 -8
- package/dist/chunks/{tool-0qrpzpdx.js → generate-8vb5d0k9.js} +11 -11
- package/dist/chunks/{tool-52zr48d6.js → generate-8z19v7kn.js} +18 -18
- package/dist/chunks/{tool-j09zfasm.js → generate-91qna3x0.js} +3 -3
- package/dist/chunks/{tool-m1z5ek08.js → generate-96kj8cwg.js} +8 -8
- package/dist/chunks/{tool-t0stdxg1.js → generate-9bqxbpd3.js} +18 -18
- package/dist/chunks/{tool-0eyv36ts.js → generate-9cgfz7h7.js} +36 -36
- package/dist/chunks/{tool-5ezpm4ww.js → generate-9dsttw4z.js} +15 -15
- package/dist/chunks/{tool-t27cpqqf.js → generate-9jbscvjb.js} +11 -11
- package/dist/chunks/generate-9zdhvgqs.js +18 -0
- package/dist/chunks/{tool-e0f7tvrt.js → generate-a4x9zvh4.js} +28 -28
- package/dist/chunks/{tool-r0b0zdb7.js → generate-a9bxyrk7.js} +19 -19
- package/dist/chunks/{tool-cyt5dtwd.js → generate-agxmfjyz.js} +12 -12
- package/dist/chunks/{tool-9rpqzg1a.js → generate-ahpvh0qh.js} +15 -15
- package/dist/chunks/{tool-dp9e102f.js → generate-am1pfj1j.js} +16 -16
- package/dist/chunks/{tool-enceqnms.js → generate-amwffs47.js} +11 -11
- package/dist/chunks/{tool-bhwamkf8.js → generate-apjfvd4b.js} +15 -15
- package/dist/chunks/{tool-4k48dskj.js → generate-ar5mc61q.js} +45 -45
- package/dist/chunks/{tool-xjjxg6fg.js → generate-b3n2m6z1.js} +10 -10
- package/dist/chunks/{tool-2z796rds.js → generate-b4xz3rj2.js} +24 -24
- package/dist/chunks/{tool-t7t1s02j.js → generate-bkxy3fmj.js} +17 -17
- package/dist/chunks/{tool-espax8zg.js → generate-bp8fbaqn.js} +4 -4
- package/dist/chunks/{tool-jvtxec42.js → generate-bq0dpqvb.js} +24 -24
- package/dist/chunks/{tool-bnpshxh6.js → generate-bydx84xj.js} +10 -10
- package/dist/chunks/{tool-c1fqxshp.js → generate-c1fqxshp.js} +3 -3
- package/dist/chunks/{tool-vgsjm2js.js → generate-ccccg9p9.js} +12 -12
- package/dist/chunks/{tool-xcd5qje4.js → generate-cfh86604.js} +28 -28
- package/dist/chunks/{tool-fprpd8rr.js → generate-cv2pnjjr.js} +9 -9
- package/dist/chunks/{tool-b44y2phb.js → generate-cw4qzwxd.js} +29 -29
- package/dist/chunks/{tool-rxva3spn.js → generate-d46vhdw9.js} +17 -17
- package/dist/chunks/{tool-z44d18ne.js → generate-d667439x.js} +11 -11
- package/dist/chunks/{tool-xahevxwt.js → generate-d8ej1z2n.js} +22 -22
- package/dist/chunks/{tool-vsp43hx6.js → generate-d92v4ckc.js} +11 -11
- package/dist/chunks/{tool-4ka8hhjj.js → generate-df1qmfr6.js} +5 -5
- package/dist/chunks/{tool-q9099wq0.js → generate-dhcb13vn.js} +11 -11
- package/dist/chunks/{tool-49zdgxhw.js → generate-dk4hwhdr.js} +29 -29
- package/dist/chunks/{tool-dqxsqydv.js → generate-dqxsqydv.js} +1 -1
- package/dist/chunks/{tool-57b9ws8p.js → generate-drwq78ky.js} +5 -5
- package/dist/chunks/{tool-9b00c1fb.js → generate-dtqg9ce1.js} +5 -5
- package/dist/chunks/{tool-4704tty5.js → generate-dvkgpknc.js} +2 -2
- package/dist/chunks/{tool-g8a3dkpa.js → generate-e9601x98.js} +18 -18
- package/dist/chunks/{tool-t550f9t1.js → generate-eaj1djv9.js} +8 -8
- package/dist/chunks/{tool-cqw1m3c7.js → generate-eddengze.js} +17 -17
- package/dist/chunks/{tool-eej6y6fw.js → generate-eej6y6fw.js} +2 -2
- package/dist/chunks/{tool-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-vq6g8cn6.js → generate-enkjvn5q.js} +15 -15
- package/dist/chunks/{tool-en4jjy2t.js → generate-esegdgmk.js} +25 -25
- package/dist/chunks/{tool-560byads.js → generate-evk6zkcq.js} +4 -4
- package/dist/chunks/{tool-jqsqbmjz.js → generate-evsfckqf.js} +41 -41
- package/dist/chunks/{tool-yp2x3t23.js → generate-f2n192rq.js} +4 -4
- package/dist/chunks/{tool-ga7mt0se.js → generate-f4363qyc.js} +12 -12
- package/dist/chunks/{tool-m6vhnv41.js → generate-f81ndarb.js} +10 -10
- package/dist/chunks/{tool-r9z49qnw.js → generate-faa69vmx.js} +22 -22
- package/dist/chunks/generate-fbenq8x7.js +253 -0
- package/dist/chunks/{tool-wd141nz2.js → generate-fmrd1syc.js} +24 -24
- package/dist/chunks/{tool-s2j6jbe4.js → generate-frnezgjg.js} +11 -11
- package/dist/chunks/{tool-6jpn1xds.js → generate-g5wck6q5.js} +1 -1
- package/dist/chunks/{tool-5gq9j52j.js → generate-g86p3sbb.js} +17 -17
- package/dist/chunks/{tool-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-47jkzegy.js → generate-gj71zhbs.js} +5 -5
- package/dist/chunks/{tool-7b2ys08c.js → generate-gkje6q8k.js} +10 -10
- package/dist/chunks/{tool-nncsyyge.js → generate-gm7mr6jh.js} +12 -12
- package/dist/chunks/{tool-e0yqexzb.js → generate-gsmxa9xr.js} +57 -57
- package/dist/chunks/{tool-n19kh25r.js → generate-gwaf4cyv.js} +9 -9
- package/dist/chunks/{tool-g6q255vp.js → generate-gxb21q80.js} +29 -29
- package/dist/chunks/{tool-jabbs2pc.js → generate-h0snx40f.js} +46 -46
- package/dist/chunks/{tool-xkgdf0k8.js → generate-h270dq38.js} +20 -20
- package/dist/chunks/{tool-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-h7s7r6s9.js → generate-h7s7r6s9.js} +2 -2
- package/dist/chunks/{tool-zsr4wwhv.js → generate-h9wp8z5w.js} +4 -4
- package/dist/chunks/{tool-h28ky92f.js → generate-hahwqeq8.js} +24 -24
- package/dist/chunks/{tool-wqm3ja7g.js → generate-hd83dh2f.js} +37 -37
- package/dist/chunks/{tool-2th9fvys.js → generate-hgbd7cxk.js} +19 -19
- package/dist/chunks/{tool-hgz4x7wa.js → generate-hgz4x7wa.js} +1 -1
- package/dist/chunks/{tool-0dy26cax.js → generate-hhesmccg.js} +33 -33
- package/dist/chunks/{tool-jjw2fst0.js → generate-hn6a15xx.js} +11 -11
- package/dist/chunks/{tool-230ecda4.js → generate-j3gc35s1.js} +9 -9
- package/dist/chunks/{tool-9pa8tak9.js → generate-j52rd44q.js} +2 -2
- package/dist/chunks/{tool-62jddv0q.js → generate-jdzprmf9.js} +94 -94
- package/dist/chunks/{tool-c00bz1vb.js → generate-jk8p456r.js} +15 -15
- package/dist/chunks/{tool-d43tgzm4.js → generate-jvvc3tfq.js} +9 -9
- package/dist/chunks/{tool-15zrfa03.js → generate-k16vc511.js} +3 -3
- package/dist/chunks/{tool-eh6ej367.js → generate-k1n0z3hy.js} +5 -5
- package/dist/chunks/{tool-n9axg7zh.js → generate-k3ep6trx.js} +4 -4
- package/dist/chunks/{tool-wpvb0vtd.js → generate-k4zyw2nm.js} +13 -13
- package/dist/chunks/{tool-tkwrxyh9.js → generate-k9jhgjja.js} +31 -31
- package/dist/chunks/{tool-n721bpxh.js → generate-ka08c8ay.js} +55 -55
- package/dist/chunks/{tool-0spfg2bb.js → generate-kc73d18f.js} +11 -11
- package/dist/chunks/{tool-mcgg1rg4.js → generate-kwb1v3vj.js} +8 -12
- package/dist/chunks/{tool-qdafbg7b.js → generate-kyyfcrk0.js} +88 -88
- package/dist/chunks/{tool-6mvkgxje.js → generate-m3s5jpc5.js} +5 -5
- package/dist/chunks/{tool-v4cvsrx9.js → generate-m8memjz6.js} +23 -23
- package/dist/chunks/{tool-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-maspj1v3.js → generate-maspj1v3.js} +1 -1
- package/dist/chunks/{tool-jc5z6esd.js → generate-mm8rx0zc.js} +11 -11
- package/dist/chunks/{tool-70qn9w1v.js → generate-mnbgc3d3.js} +22 -22
- package/dist/chunks/{tool-mqqhst8y.js → generate-mv3hx7wz.js} +4 -4
- package/dist/chunks/{tool-x661k3y3.js → generate-mxvxcxwy.js} +4 -4
- package/dist/chunks/{tool-7myztyss.js → generate-n2n11v5a.js} +47 -47
- package/dist/chunks/{tool-s2b5phw1.js → generate-n52r0562.js} +19 -19
- package/dist/chunks/{tool-prg7pynr.js → generate-nb3f6w45.js} +3 -3
- package/dist/chunks/{tool-fwa0h3zy.js → generate-nkgy7qzc.js} +37 -37
- package/dist/chunks/{tool-v42hp0t0.js → generate-nne9m83r.js} +53 -53
- package/dist/chunks/{tool-vzjqqmke.js → generate-nyf3r9sv.js} +13 -13
- package/dist/chunks/{tool-b92e8n45.js → generate-p11w4b9k.js} +13 -13
- package/dist/chunks/{tool-pa8pe2x7.js → generate-p4mj4rdp.js} +8 -8
- package/dist/chunks/{tool-6hh8tjw2.js → generate-pbfwh0cy.js} +7 -7
- package/dist/chunks/{tool-5714egxe.js → generate-pg92tjkz.js} +3 -3
- package/dist/chunks/{tool-15qc111y.js → generate-pgnbkjx3.js} +11 -11
- package/dist/chunks/{tool-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{tool-143qq2q9.js → generate-ppw6hb80.js} +3 -3
- package/dist/chunks/{tool-ktw141zw.js → generate-pqjexccd.js} +9 -9
- package/dist/chunks/{tool-29eykq4v.js → generate-pvrvkbhh.js} +15 -15
- package/dist/chunks/{tool-3cdf983x.js → generate-pxy8n8h3.js} +31 -31
- package/dist/chunks/{tool-jmsw07fh.js → generate-q0ned2s3.js} +6 -6
- package/dist/chunks/{tool-twvynhvt.js → generate-q2csr2es.js} +9 -9
- package/dist/chunks/{tool-e58xrjgm.js → generate-q6bbd52s.js} +14 -14
- package/dist/chunks/{tool-fdv8dmm1.js → generate-qaqya2pp.js} +16 -16
- package/dist/chunks/{tool-qmqgtz8f.js → generate-qmqgtz8f.js} +2 -2
- package/dist/chunks/{tool-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-9z41w441.js → generate-qt9t7q4b.js} +9 -9
- package/dist/chunks/{tool-sgs6tqcg.js → generate-qv7zpqjy.js} +18 -18
- package/dist/chunks/{tool-98wwwshm.js → generate-qy68wck0.js} +20 -20
- package/dist/chunks/{tool-vdnkbznm.js → generate-r1bjv49t.js} +37 -37
- package/dist/chunks/{tool-wwx93a2b.js → generate-r2p171t1.js} +14 -14
- package/dist/chunks/{tool-g686f6pq.js → generate-r70na3yp.js} +9 -9
- package/dist/chunks/{tool-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-rert0e01.js → generate-rert0e01.js} +2 -2
- package/dist/chunks/{tool-xkskqrtp.js → generate-rgnm4ne9.js} +46 -46
- package/dist/chunks/{tool-jh7q4nc1.js → generate-rh34kz5h.js} +20 -20
- package/dist/chunks/{tool-jpakg8mx.js → generate-rhpcbsgm.js} +13 -12
- package/dist/chunks/{tool-rj3eygr5.js → generate-rj3eygr5.js} +2 -2
- package/dist/chunks/{tool-w92k2e0p.js → generate-rkprpv83.js} +8 -8
- package/dist/chunks/{tool-f8a4hwr2.js → generate-rnkfkjx7.js} +9 -9
- package/dist/chunks/{tool-vn4qg1y1.js → generate-ry3xr853.js} +308 -308
- package/dist/chunks/{tool-2bekqz3a.js → generate-s375a249.js} +17 -17
- package/dist/chunks/{tool-sa8ekw3f.js → generate-sa8ekw3f.js} +2 -2
- package/dist/chunks/{tool-pbzbjmff.js → generate-sayz7w61.js} +31 -31
- package/dist/chunks/{tool-e8ajjxsc.js → generate-se19yq23.js} +30 -30
- package/dist/chunks/{tool-0n5ns49k.js → generate-sg61y373.js} +4 -4
- package/dist/chunks/{tool-wyszaa0p.js → generate-sgv997by.js} +23 -23
- package/dist/chunks/{tool-vw9027f9.js → generate-sk0624bk.js} +45 -45
- package/dist/chunks/{tool-3pytycam.js → generate-sp3pgdf2.js} +3 -3
- package/dist/chunks/{tool-dvr9mxdx.js → generate-stjjdw20.js} +6 -6
- package/dist/chunks/{tool-3wfexhse.js → generate-sw9b0dc0.js} +13 -13
- package/dist/chunks/{tool-sxcaecc0.js → generate-sxcaecc0.js} +1 -1
- package/dist/chunks/{tool-syv4x271.js → generate-syv4x271.js} +1 -1
- package/dist/chunks/{tool-m22hh5g2.js → generate-t05b08ea.js} +32 -32
- package/dist/chunks/{tool-1w2t7fyn.js → generate-t64a1aj0.js} +4 -4
- package/dist/chunks/generate-t68wqmfr.js +26 -0
- package/dist/chunks/{tool-j49xa6cy.js → generate-t9vjgvv8.js} +1 -1
- package/dist/chunks/{tool-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-axr9kwmj.js → generate-tc10cd1e.js} +50 -50
- package/dist/chunks/{tool-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{tool-tm0kqsz3.js → generate-tm0kqsz3.js} +1 -1
- package/dist/chunks/{tool-jgxf7b5z.js → generate-tn5v4cx9.js} +3 -3
- package/dist/chunks/{tool-tyytaxap.js → generate-tyytaxap.js} +1 -1
- package/dist/chunks/{tool-z082bpte.js → generate-tzm94any.js} +20 -20
- package/dist/chunks/{tool-v4nfzjvf.js → generate-v4nfzjvf.js} +1 -1
- package/dist/chunks/{tool-g5j27e7f.js → generate-v6fdb8n6.js} +9 -9
- package/dist/chunks/{tool-v7p4zvkq.js → generate-v7p4zvkq.js} +2 -2
- package/dist/chunks/{tool-yy7ctzsd.js → generate-ve62rjje.js} +19 -19
- package/dist/chunks/{tool-wn04sytp.js → generate-veh1f6j0.js} +7 -7
- package/dist/chunks/{tool-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-a6j5r86g.js → generate-vk8wgjyj.js} +5 -5
- package/dist/chunks/{tool-99va16k7.js → generate-vzpgjgke.js} +22 -22
- package/dist/chunks/{tool-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-cdb4d5hn.js → generate-w3bj1jer.js} +8 -8
- package/dist/chunks/{tool-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-7kfb2kjh.js → generate-w5td0veh.js} +12 -12
- package/dist/chunks/{tool-6yybhc5e.js → generate-w96edct9.js} +3 -3
- package/dist/chunks/{tool-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{tool-tyjrg911.js → generate-wk5z6jzv.js} +9 -9
- package/dist/chunks/{tool-w6v0a0a0.js → generate-wrx4sjkw.js} +14 -14
- package/dist/chunks/{tool-11w9b7qd.js → generate-wx35xcjk.js} +27 -27
- package/dist/chunks/{tool-qbxqra2w.js → generate-x5rxe7a3.js} +4 -4
- package/dist/chunks/{tool-7grdpmn4.js → generate-x7wx9fmc.js} +34 -34
- package/dist/chunks/{tool-pr04h4tn.js → generate-xds5mpa8.js} +3 -3
- package/dist/chunks/{tool-dx4kydrk.js → generate-xfzg7nd9.js} +9 -9
- package/dist/chunks/{tool-s1s9gt8f.js → generate-xt8h6gjm.js} +16 -16
- package/dist/chunks/{tool-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-fr6f0teb.js → generate-y5hem6kv.js} +26 -26
- package/dist/chunks/{tool-f0nz223j.js → generate-y71avatq.js} +4 -4
- package/dist/chunks/{tool-s43hmkm2.js → generate-yf8a7cch.js} +6 -6
- package/dist/chunks/{tool-he27pt63.js → generate-yqc6bamn.js} +1 -1
- package/dist/chunks/{tool-t3zshges.js → generate-yv7jpcsm.js} +9 -9
- package/dist/chunks/{tool-ywt8jp22.js → generate-ywt8jp22.js} +2 -2
- package/dist/chunks/{tool-exasynrg.js → generate-yy7d5g6b.js} +3 -3
- package/dist/chunks/{tool-a79qvj6d.js → generate-yytdzks0.js} +29 -29
- package/dist/chunks/{tool-9zt3hyj2.js → generate-yzd8hexf.js} +25 -25
- package/dist/chunks/{tool-61xwzbr6.js → generate-z07grcde.js} +31 -31
- package/dist/chunks/{tool-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-1gjkdexd.js → generate-z795g1hq.js} +10 -10
- package/dist/chunks/{tool-teddrkej.js → generate-zawpzr3y.js} +29 -29
- package/dist/chunks/{tool-jvf3yq6v.js → generate-zcrspsvn.js} +4 -4
- package/dist/chunks/{tool-n9asf4py.js → generate-zcs6gcpb.js} +21 -21
- package/dist/chunks/{tool-vb6sw3y2.js → generate-zn0jbbhx.js} +19 -19
- package/dist/chunks/{tool-djs19gy2.js → generate-zpmvc38s.js} +2 -2
- package/dist/chunks/{tool-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-cmmdg65p.js → generate-zrq8kphx.js} +8 -8
- package/dist/chunks/{tool-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-zyk1yjk8.js → generate-zyk1yjk8.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -118
- package/dist/config/plugin/command.js +205 -207
- package/dist/config/plugin/compaction.js +154 -156
- package/dist/config/plugin/compatibility.js +134 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -119
- package/dist/config/plugin/image.js +116 -118
- package/dist/config/plugin/instruction.js +114 -116
- package/dist/config/plugin/location-watcher.js +116 -118
- package/dist/config/plugin/mcp.js +123 -125
- package/dist/config/plugin/policy.js +115 -117
- package/dist/config/plugin/provider.js +116 -118
- package/dist/config/plugin/reference.js +118 -120
- package/dist/config/plugin/shell.js +116 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +135 -137
- package/dist/config/plugin/snapshot.js +116 -118
- package/dist/config/plugin/source.js +113 -115
- package/dist/config/plugin/tool-output.js +117 -119
- package/dist/config/plugin/websearch.js +115 -117
- package/dist/config/plugin/worktree.js +118 -120
- package/dist/config/variable.js +1 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -368
- 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 +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +218 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- 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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +354 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -125
- package/dist/plugin/provider/local.js +122 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -127
- package/dist/plugin/provider/openai.js +118 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +167 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +217 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -166
- package/dist/session/shell.js +130 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +213 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +208 -210
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +212 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/config/variable.d.ts +1 -43
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +23 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/tool-q0xm7vwc.js +0 -25
- package/dist/chunks/tool-qc068m1q.js +0 -18
- package/dist/chunks/tool-qtqva6ax.js +0 -253
- package/dist/chunks/tool-y7mkpdv1.js +0 -26
- /package/dist/chunks/{tool-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{tool-pyv0edze.js → generate-pyv0edze.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node76
|
|
5
|
+
} from "./generate-frnezgjg.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-h9wp8z5w.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service64,
|
|
12
|
+
node67
|
|
13
|
+
} from "./generate-zrq8kphx.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-ka08c8ay.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-8vb5d0k9.js";
|
|
20
20
|
import {
|
|
21
21
|
Error5
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-8b7vdg12.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service27,
|
|
28
|
+
node31
|
|
29
|
+
} from "./generate-d667439x.js";
|
|
30
30
|
import {
|
|
31
31
|
make14
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./generate-drwq78ky.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./generate-yqc6bamn.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service26,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer11,
|
|
48
|
+
node: () => node30,
|
|
49
49
|
outputLimit: () => outputLimit2,
|
|
50
50
|
unsupportedParts: () => unsupportedParts2
|
|
51
51
|
});
|
|
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
|
|
|
156
156
|
});
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
161
|
+
var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
162
|
+
const hooks = yield* Service64;
|
|
163
|
+
const transport = yield* Service27;
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
166
|
const session = input.session;
|
|
@@ -265,17 +265,17 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
265
265
|
};
|
|
266
266
|
});
|
|
267
267
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
268
|
-
return
|
|
268
|
+
return Service26.of({
|
|
269
269
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
270
270
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
271
271
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
272
272
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
273
273
|
});
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
277
|
-
layer:
|
|
278
|
-
deps: [
|
|
275
|
+
var node30 = makeLocationNode({
|
|
276
|
+
service: Service26,
|
|
277
|
+
layer: layer11,
|
|
278
|
+
deps: [node67, node31, node76]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
281
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service26, layer11, node30, exports_model_request };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service43,
|
|
10
|
+
node: () => node45
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service43 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node45 = LayerNode.unbound(Service43, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service43, node45, exports_service2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-frnezgjg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./generate-q6bbd52s.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./generate-zawpzr3y.js";
|
|
11
11
|
import {
|
|
12
12
|
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-7097t0y6.js";
|
|
15
15
|
import {
|
|
16
16
|
ID12
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-dk4hwhdr.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-pxy8n8h3.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service84;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID11.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-tn5v4cx9.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-c1fqxshp.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-8pmds7gm.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-j52rd44q.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput3,
|
|
24
|
+
Service: () => Service47,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node49
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service47 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service85;
|
|
59
|
-
return
|
|
59
|
+
return Service47.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node49 = makeGlobalNode({ service: Service47, layer, deps: [node89] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput3, Service47, node49, exports_store };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service80
|
|
14
|
+
} from "./generate-am1pfj1j.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-bq0dpqvb.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin40,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin40 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service80;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin40, exports_git };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info7,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info7 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info7, exports_mcp5 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service33
|
|
6
|
+
} from "./generate-h0snx40f.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./generate-ka08c8ay.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin9
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin9 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service33;
|
|
26
|
+
const permission = yield* Service46;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin3 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin9, exports_mcp_resource };
|
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-tn5v4cx9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./generate-q6bbd52s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./generate-4mwpykj0.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError6,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-pqjexccd.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service47
|
|
29
|
+
} from "./generate-54t6wcfs.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service42
|
|
34
|
+
} from "./generate-faa69vmx.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service40
|
|
37
|
+
} from "./generate-nkgy7qzc.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./generate-qaqya2pp.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./generate-zn0jbbhx.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./generate-q2csr2es.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./generate-8m5nbx44.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./generate-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service84;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service47;
|
|
69
|
+
const instances = yield* Service43;
|
|
70
|
+
const execution = yield* Service40;
|
|
71
|
+
const admission = yield* Service42;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError6({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service85, database), Effect.provideService(Service84, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service84, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make12, exports_session2 };
|