@opencode/core 0.0.0-dev-170 → 0.0.0-dev-172
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +81 -81
- package/dist/chunks/{project-034tev2y.js → schema-034tev2y.js} +2 -2
- package/dist/chunks/{project-vvcp0tk0.js → schema-04z78z4p.js} +19 -19
- package/dist/chunks/{project-z3cpcmma.js → schema-061s75p4.js} +3 -3
- package/dist/chunks/{project-h9k240yj.js → schema-090m30xj.js} +45 -45
- package/dist/chunks/{project-qqg9c0kv.js → schema-0ahs07zn.js} +4 -4
- package/dist/chunks/{project-gdegh7ym.js → schema-0cfns17n.js} +50 -50
- package/dist/chunks/{project-zs9j6ctn.js → schema-0drtew17.js} +36 -36
- package/dist/chunks/schema-0kar9yb6.js +26 -0
- package/dist/chunks/{project-kzwnk51j.js → schema-0m3hsgex.js} +23 -23
- package/dist/chunks/{project-79n4cqja.js → schema-0wqwjmtr.js} +10 -10
- package/dist/chunks/{project-7nrp2fgb.js → schema-15j8kqyp.js} +6 -6
- package/dist/chunks/{project-4mw87j2f.js → schema-1c950baa.js} +5 -5
- package/dist/chunks/{project-0k0cpw4p.js → schema-1enrjds2.js} +27 -27
- package/dist/chunks/{project-1ep2p91f.js → schema-1ep2p91f.js} +2 -2
- package/dist/chunks/{project-xt0z8zst.js → schema-1kn6jdkn.js} +4 -4
- package/dist/chunks/{project-rnbc7s2k.js → schema-1m459fdp.js} +10 -10
- package/dist/chunks/{project-1tz71j9c.js → schema-1rdchn1p.js} +12 -12
- package/dist/chunks/{project-124q93e5.js → schema-1w0tbadz.js} +30 -30
- package/dist/chunks/{project-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
- package/dist/chunks/{project-ktsdcenb.js → schema-1x5b7tgq.js} +16 -16
- package/dist/chunks/{project-p7vhpwh8.js → schema-1yq9hg58.js} +5 -5
- package/dist/chunks/{project-4f22kke0.js → schema-1yxgftn3.js} +11 -11
- package/dist/chunks/{project-204s3925.js → schema-204s3925.js} +1 -1
- package/dist/chunks/{project-psc6haxf.js → schema-210pe7vf.js} +34 -34
- package/dist/chunks/{project-n7e2n2r9.js → schema-21qby824.js} +323 -323
- package/dist/chunks/{project-sq958vhs.js → schema-269arx00.js} +22 -22
- package/dist/chunks/{project-zg0jbn27.js → schema-26x8chrq.js} +6 -6
- package/dist/chunks/{project-19311dth.js → schema-26z001ty.js} +17 -17
- package/dist/chunks/{project-nt2tnka6.js → schema-2cx4pwwp.js} +13 -13
- package/dist/chunks/{project-ft3m1rtv.js → schema-2dah0fcg.js} +5 -5
- package/dist/chunks/{project-eh1k8bp1.js → schema-2ha14jpx.js} +5 -5
- package/dist/chunks/{project-nva4mbph.js → schema-2mkw5nnf.js} +26 -26
- package/dist/chunks/{project-6d5phvpe.js → schema-3cnqskb9.js} +45 -45
- package/dist/chunks/{project-eppkswgj.js → schema-3fbhx6a4.js} +15 -15
- package/dist/chunks/{project-7jvcwqbb.js → schema-3g3amc73.js} +11 -11
- package/dist/chunks/{project-c13q7adm.js → schema-3gr2x4rj.js} +23 -23
- package/dist/chunks/{project-q3w0bdwb.js → schema-3h3qy8d6.js} +11 -11
- package/dist/chunks/{project-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-j2q3svc5.js → schema-3ng4e935.js} +20 -20
- package/dist/chunks/{project-3nnrz6f6.js → schema-3nnrz6f6.js} +1 -1
- package/dist/chunks/{project-qckvhxzw.js → schema-3sxgyymf.js} +11 -11
- package/dist/chunks/{project-2fa41nq0.js → schema-3t4pqd58.js} +21 -21
- package/dist/chunks/{project-799g0xtq.js → schema-3x9h4h7w.js} +31 -31
- package/dist/chunks/{project-r8t391st.js → schema-3zadjdx1.js} +31 -31
- package/dist/chunks/{project-me9p9d4t.js → schema-408p671s.js} +78 -78
- package/dist/chunks/{project-40za9wsf.js → schema-40za9wsf.js} +2 -2
- package/dist/chunks/{project-2vrz8qrs.js → schema-448jnkaf.js} +8 -8
- package/dist/chunks/{project-ey4zchg3.js → schema-4ct751ez.js} +32 -32
- package/dist/chunks/{project-gzx9tr3x.js → schema-4dqzxk7p.js} +35 -35
- package/dist/chunks/{project-4pyp9zr9.js → schema-4pyp9zr9.js} +1 -1
- package/dist/chunks/{project-bn5mm526.js → schema-4qg5d7zq.js} +3 -3
- package/dist/chunks/{project-dqz301c6.js → schema-4rzb5v1e.js} +12 -12
- package/dist/chunks/{project-wqtd6dn9.js → schema-4s5pdsz9.js} +6 -6
- package/dist/chunks/{project-4v008n1t.js → schema-4v008n1t.js} +1 -1
- package/dist/chunks/{project-w4kkwae7.js → schema-50q6hzkb.js} +14 -14
- package/dist/chunks/{project-s6jhc88p.js → schema-50w453fn.js} +12 -12
- package/dist/chunks/{project-s30exhfx.js → schema-552y5q35.js} +12 -12
- package/dist/chunks/{project-5ebc4mtx.js → schema-5b4vr08c.js} +10 -10
- package/dist/chunks/{project-adqpdtcv.js → schema-5jnjkx8j.js} +28 -28
- package/dist/chunks/{project-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{project-wzwsv8q3.js → schema-5r72z9dp.js} +8 -8
- package/dist/chunks/{project-a31zznv1.js → schema-5t9jfe1j.js} +14 -14
- package/dist/chunks/{project-ey3djwrh.js → schema-5vwbz2vn.js} +2 -2
- package/dist/chunks/{project-xf5kfeqa.js → schema-5wkj2ywt.js} +15 -15
- package/dist/chunks/{project-z016zt19.js → schema-5x26af84.js} +4 -4
- package/dist/chunks/{project-7xm26dej.js → schema-5y2afnr7.js} +51 -51
- package/dist/chunks/{project-rrad2nt9.js → schema-61ennm6n.js} +4 -4
- package/dist/chunks/{project-9p4gea0z.js → schema-63g612mw.js} +3 -3
- package/dist/chunks/{project-6esdw8yj.js → schema-6esdw8yj.js} +1 -1
- package/dist/chunks/{project-d73nr425.js → schema-6f28nday.js} +43 -43
- package/dist/chunks/{project-mfv1rfcp.js → schema-6n305hg2.js} +9 -9
- package/dist/chunks/{project-76cb1hcw.js → schema-76cb1hcw.js} +1 -1
- package/dist/chunks/{project-nah043kf.js → schema-770pw0s1.js} +4 -4
- package/dist/chunks/{project-aze2b8kp.js → schema-7aatzr77.js} +30 -30
- package/dist/chunks/{project-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-9wzjb77v.js → schema-7jz89kf0.js} +5 -5
- package/dist/chunks/{project-05bsswg1.js → schema-7kxnx84r.js} +27 -27
- package/dist/chunks/{project-mba9snx8.js → schema-7p1vn3s6.js} +9 -9
- package/dist/chunks/{project-w11ey1wa.js → schema-7pa3t2xk.js} +11 -11
- package/dist/chunks/{project-xd934wrq.js → schema-7rm7mm2f.js} +6 -6
- package/dist/chunks/{project-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
- package/dist/chunks/{project-2ttzh2h6.js → schema-7y8v7c8e.js} +11 -11
- package/dist/chunks/{project-mnmgb4vy.js → schema-7yh8xe92.js} +21 -21
- package/dist/chunks/{project-3qevjexk.js → schema-8bhq06zm.js} +5 -5
- package/dist/chunks/{project-aym7h9kd.js → schema-8ek83jqy.js} +36 -36
- package/dist/chunks/{project-txdrszf7.js → schema-8eqybnrh.js} +5 -5
- package/dist/chunks/{project-5w021j54.js → schema-8gz737b7.js} +4 -4
- package/dist/chunks/{project-8jztxfpf.js → schema-8jztxfpf.js} +1 -1
- package/dist/chunks/{project-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
- package/dist/chunks/{project-90zstvax.js → schema-90zstvax.js} +1 -1
- package/dist/chunks/{project-2tprm9m6.js → schema-94rrg3vb.js} +47 -47
- package/dist/chunks/{project-r9mkamcg.js → schema-9e9bdq1p.js} +11 -11
- package/dist/chunks/{project-94pnpden.js → schema-9exzskw1.js} +74 -74
- package/dist/chunks/{project-y1325wkv.js → schema-9kverp60.js} +14 -14
- package/dist/chunks/{project-zx29snpc.js → schema-9r0x1bva.js} +9 -9
- package/dist/chunks/{project-ds061g1g.js → schema-9rhy1jhz.js} +35 -35
- package/dist/chunks/{project-zgd8t41s.js → schema-9z9tayqc.js} +9 -9
- package/dist/chunks/{project-eq7epvew.js → schema-a4qm5kkz.js} +3 -3
- package/dist/chunks/{project-2tjq87z5.js → schema-a6dwmrq2.js} +23 -23
- package/dist/chunks/{project-e46kqp3e.js → schema-aa5aqj1j.js} +11 -11
- package/dist/chunks/{project-d4w7jtq9.js → schema-adrdbcay.js} +17 -17
- package/dist/chunks/{project-7dm987a9.js → schema-ae69f5xb.js} +12 -12
- package/dist/chunks/{project-s3s9hs0c.js → schema-afq6afk6.js} +22 -22
- package/dist/chunks/{project-f4h8jhts.js → schema-ah0gjdxz.js} +44 -44
- package/dist/chunks/{project-1h6fjecm.js → schema-at9e0pnj.js} +29 -29
- package/dist/chunks/{project-ayjs7tqn.js → schema-ayjs7tqn.js} +2 -2
- package/dist/chunks/{project-a1meba53.js → schema-b0k6q4r7.js} +21 -21
- package/dist/chunks/{project-b6vsg801.js → schema-b6vsg801.js} +2 -2
- package/dist/chunks/{project-pcfd06vh.js → schema-b8nj54vk.js} +20 -20
- package/dist/chunks/{project-71dc9dsf.js → schema-b9bpy08a.js} +17 -17
- package/dist/chunks/{project-g65rdf98.js → schema-bhxshkcp.js} +37 -37
- package/dist/chunks/{project-k6kbygd0.js → schema-bkkedvkd.js} +5 -5
- package/dist/chunks/{project-27sjz104.js → schema-btbftat3.js} +4 -4
- package/dist/chunks/{project-459w24x0.js → schema-btkemy5f.js} +16 -16
- package/dist/chunks/{project-nzep71h9.js → schema-cbrqsbxs.js} +35 -35
- package/dist/chunks/{project-hrn2e2cq.js → schema-cc9g74x6.js} +7 -7
- package/dist/chunks/{project-jv5e37k4.js → schema-ce2ydvyh.js} +49 -49
- package/dist/chunks/{project-hr2wbp44.js → schema-chb25f6y.js} +9 -9
- package/dist/chunks/{project-6jcsbcjf.js → schema-cke2hwj1.js} +14 -14
- package/dist/chunks/{project-3vs2fbhh.js → schema-cr4v66wc.js} +18 -18
- package/dist/chunks/{project-8drcqw0f.js → schema-ct5fctns.js} +17 -17
- package/dist/chunks/{project-34ar8crh.js → schema-ctbc3d2x.js} +9 -9
- package/dist/chunks/{project-cwrgdav8.js → schema-cwrgdav8.js} +2 -2
- package/dist/chunks/{project-5qc37f80.js → schema-cxn0c79x.js} +13 -13
- package/dist/chunks/{project-2pgc8tgc.js → schema-czjbmn1x.js} +3 -3
- package/dist/chunks/{project-d2887f8n.js → schema-d2887f8n.js} +1 -1
- package/dist/chunks/{project-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
- package/dist/chunks/{project-t4sgv1fk.js → schema-d9vx7wx0.js} +15 -15
- package/dist/chunks/{project-zx6h37zb.js → schema-df57mhq9.js} +17 -17
- package/dist/chunks/{project-xtbg8a45.js → schema-dfxm9epe.js} +23 -23
- package/dist/chunks/{project-cfcfv7cp.js → schema-dh1g62nj.js} +23 -23
- package/dist/chunks/{project-1b0ss9v1.js → schema-dh7yr4e4.js} +33 -33
- package/dist/chunks/{project-38by4s4r.js → schema-dn4sdd79.js} +28 -28
- package/dist/chunks/{project-3j1m3tq4.js → schema-ds7r37yp.js} +5 -5
- package/dist/chunks/{project-dt77769w.js → schema-dt77769w.js} +1 -1
- package/dist/chunks/{project-w7tc5k17.js → schema-dtjqx0e4.js} +23 -23
- package/dist/chunks/{project-4vm9vmfx.js → schema-e0sctgnq.js} +15 -15
- package/dist/chunks/{project-nf3ytnjv.js → schema-e1frhwek.js} +8 -8
- package/dist/chunks/{project-e834z07m.js → schema-e834z07m.js} +1 -1
- package/dist/chunks/{project-psr6t8k9.js → schema-e9zqgb96.js} +38 -38
- package/dist/chunks/{project-zx69eakp.js → schema-ehb90vmh.js} +15 -15
- package/dist/chunks/{project-fzpw41ny.js → schema-ehsb21bg.js} +22 -22
- package/dist/chunks/{project-fv82f688.js → schema-ek1rnzpg.js} +13 -13
- package/dist/chunks/{project-dmbhcq3k.js → schema-f1q86js6.js} +12 -12
- package/dist/chunks/{project-fvtargsj.js → schema-f4bj65gc.js} +1 -1
- package/dist/chunks/{project-gyk73bm7.js → schema-fajmsesy.js} +14 -14
- package/dist/chunks/{project-fffv3p7h.js → schema-fffv3p7h.js} +1 -1
- package/dist/chunks/{project-prq7xxp2.js → schema-fg9p65nk.js} +6 -6
- package/dist/chunks/{project-38ywgb00.js → schema-fpb1sgsj.js} +21 -21
- package/dist/chunks/{project-dtqc2fsd.js → schema-fv6xxc7y.js} +11 -11
- package/dist/chunks/{project-wr3re1en.js → schema-fznmdakp.js} +4 -4
- package/dist/chunks/{project-ewexpb9k.js → schema-g13qewtb.js} +6 -6
- package/dist/chunks/{project-ayxp4qd3.js → schema-g1w8m9xc.js} +194 -194
- package/dist/chunks/{project-r96ere88.js → schema-g9ndtp1p.js} +4 -4
- package/dist/chunks/{project-gg8p9cgs.js → schema-gg8p9cgs.js} +3 -3
- package/dist/chunks/{project-3gezxapr.js → schema-gj697h3c.js} +17 -17
- package/dist/chunks/{project-dzj6a01f.js → schema-gjwgtksd.js} +44 -44
- package/dist/chunks/{project-wcgrwyye.js → schema-grp5rwdb.js} +10 -10
- package/dist/chunks/{project-q1nnka74.js → schema-h097nhc1.js} +8 -8
- package/dist/chunks/{project-5h5p4jk8.js → schema-h0ppebc3.js} +8 -8
- package/dist/chunks/{project-nhdw7njq.js → schema-h1qzytc1.js} +22 -22
- package/dist/chunks/{project-86sj6v0r.js → schema-hapd2mq8.js} +31 -31
- package/dist/chunks/{project-80j4qbe9.js → schema-hbmj972w.js} +17 -17
- package/dist/chunks/{project-3wezf27v.js → schema-hc8nqjwe.js} +9 -9
- package/dist/chunks/{project-9562mf0m.js → schema-hdfrs5mg.js} +9 -9
- package/dist/chunks/{project-xnh55p1t.js → schema-hfgk9wzg.js} +7 -7
- package/dist/chunks/{project-ahzfx2tk.js → schema-hkt99n7n.js} +6 -6
- package/dist/chunks/{project-hpg1pkwy.js → schema-hpg1pkwy.js} +1 -1
- package/dist/chunks/{project-2zp5a6yg.js → schema-hqxkkta1.js} +3 -3
- package/dist/chunks/{project-kvhc1fwr.js → schema-hte5j8rj.js} +52 -52
- package/dist/chunks/{project-zhq6s34y.js → schema-hvwz7mjy.js} +5 -5
- package/dist/chunks/{project-f6mm2amt.js → schema-j0fb9gww.js} +6 -6
- package/dist/chunks/{project-fjma1jv2.js → schema-j2na3mwa.js} +32 -32
- package/dist/chunks/{project-nx583b5g.js → schema-j6rxfpjy.js} +12 -12
- package/dist/chunks/{project-14gt304f.js → schema-j7jb94ac.js} +25 -25
- package/dist/chunks/{project-3kdbrncp.js → schema-ja63h2sr.js} +5 -5
- package/dist/chunks/{project-8x9y3wj0.js → schema-jcqm84fr.js} +9 -9
- package/dist/chunks/{project-f6x4r6gn.js → schema-jesqdct3.js} +4 -4
- package/dist/chunks/{project-jfaecv01.js → schema-jfaecv01.js} +1 -1
- package/dist/chunks/{project-bsezhyhb.js → schema-jj7tzx6g.js} +24 -24
- package/dist/chunks/{project-gas2q22w.js → schema-jrc11jm8.js} +9 -9
- package/dist/chunks/{project-5fh1z4z1.js → schema-jspw90cp.js} +18 -18
- package/dist/chunks/{project-jtnps1zs.js → schema-jtnps1zs.js} +2 -2
- package/dist/chunks/{project-rx76597h.js → schema-jzepz2rk.js} +26 -26
- package/dist/chunks/{project-sjqk8nme.js → schema-k031ef6b.js} +24 -24
- package/dist/chunks/{project-t7bjgsbt.js → schema-k2yq3k02.js} +16 -16
- package/dist/chunks/{project-rcb3tjxw.js → schema-k624yqda.js} +4 -4
- package/dist/chunks/{project-h316rdv7.js → schema-k7b253ks.js} +44 -44
- package/dist/chunks/{project-k814nvkf.js → schema-k814nvkf.js} +1 -1
- package/dist/chunks/{project-wby0kqsc.js → schema-k9zkdd2y.js} +4 -4
- package/dist/chunks/{project-fghe2ptw.js → schema-kbdkx2jg.js} +23 -23
- package/dist/chunks/{project-qfdapvtz.js → schema-kf8fsxtd.js} +54 -54
- package/dist/chunks/{project-160yv0cs.js → schema-kmzgegqq.js} +8 -8
- package/dist/chunks/{project-1g1hpfaj.js → schema-kprhyz1z.js} +83 -83
- package/dist/chunks/{project-x040dv0w.js → schema-kq6ta67e.js} +25 -25
- package/dist/chunks/{project-7hq1xj9b.js → schema-krr7tknq.js} +23 -23
- package/dist/chunks/{project-kt3bjfbg.js → schema-kt3bjfbg.js} +1 -1
- package/dist/chunks/{project-3vt72wg3.js → schema-kxh38scf.js} +27 -27
- package/dist/chunks/{project-m1714858.js → schema-m1714858.js} +1 -1
- package/dist/chunks/{project-602fj4e2.js → schema-m4f8sh63.js} +25 -25
- package/dist/chunks/{project-0g4awprx.js → schema-m8sj5xmd.js} +1 -1
- package/dist/chunks/{project-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-e717qx8y.js → schema-mnw2gt42.js} +23 -23
- package/dist/chunks/{project-wdt8vddk.js → schema-mpxecfx5.js} +11 -11
- package/dist/chunks/{project-rnvvyp42.js → schema-myxan7r3.js} +6 -6
- package/dist/chunks/schema-n3r3rt18.js +18 -0
- package/dist/chunks/{project-cq02s23n.js → schema-n5wkbxzm.js} +11 -11
- package/dist/chunks/{project-jfb3emas.js → schema-nj7fnw38.js} +51 -51
- package/dist/chunks/{project-hs34szv9.js → schema-nnhp4nhp.js} +14 -14
- package/dist/chunks/{project-p015t6z3.js → schema-p015t6z3.js} +2 -2
- package/dist/chunks/{project-7sdtxe0n.js → schema-p7f9amnf.js} +8 -8
- package/dist/chunks/schema-p8c3k4sp.js +257 -0
- package/dist/chunks/{project-skp3ezgj.js → schema-pe59pxdd.js} +20 -20
- package/dist/chunks/{project-6vq97qmv.js → schema-pfq1ksym.js} +5 -5
- package/dist/chunks/{project-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{project-z2vzs3fj.js → schema-pq666zke.js} +29 -29
- package/dist/chunks/{project-xfgzn115.js → schema-py366xq1.js} +12 -12
- package/dist/chunks/{project-q63cb7ap.js → schema-q63cb7ap.js} +3 -3
- package/dist/chunks/{project-sq4s6wq1.js → schema-qah7t4da.js} +6 -6
- package/dist/chunks/{project-62tathnt.js → schema-qfdchg71.js} +24 -24
- package/dist/chunks/{project-chy3akzh.js → schema-qg7hdk6m.js} +15 -15
- package/dist/chunks/{project-qp7r0hxv.js → schema-qp7r0hxv.js} +1 -1
- package/dist/chunks/{project-hhwk9qya.js → schema-qpwdfbas.js} +7 -7
- package/dist/chunks/{project-5epte933.js → schema-qsee9sfb.js} +2 -2
- package/dist/chunks/{project-jen2k315.js → schema-qtfmf1tm.js} +31 -31
- package/dist/chunks/{project-cj1qh6za.js → schema-qyn9kdbg.js} +33 -33
- package/dist/chunks/{project-jbzdmrt6.js → schema-qzcxxbs6.js} +38 -38
- package/dist/chunks/{project-qga7e6rc.js → schema-qzzez12v.js} +11 -11
- package/dist/chunks/{project-r0yr0wbs.js → schema-r0yr0wbs.js} +1 -1
- package/dist/chunks/{project-3aaxk4qf.js → schema-r1emyrvf.js} +2 -2
- package/dist/chunks/{project-r542h3bh.js → schema-r542h3bh.js} +1 -1
- package/dist/chunks/{project-qdh34tk1.js → schema-r5wdg4a9.js} +8 -8
- package/dist/chunks/{project-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
- package/dist/chunks/{project-9thcrcbn.js → schema-rccanh0n.js} +31 -31
- package/dist/chunks/{project-cmgxfm60.js → schema-rk0m1k2s.js} +12 -12
- package/dist/chunks/{project-kdpv2zf1.js → schema-rmstegws.js} +38 -38
- package/dist/chunks/{project-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
- package/dist/chunks/{project-q5tw4zz6.js → schema-rthtd3fc.js} +38 -38
- package/dist/chunks/{project-sa3fpqfw.js → schema-sa3fpqfw.js} +2 -2
- package/dist/chunks/{project-heb8hctq.js → schema-saa9e38s.js} +1 -1
- package/dist/chunks/{project-zq48vbqh.js → schema-skfxre3x.js} +27 -27
- package/dist/chunks/{project-sqjzf8x2.js → schema-sqjzf8x2.js} +1 -1
- package/dist/chunks/{project-8xv62g9a.js → schema-sqpw74e5.js} +23 -23
- package/dist/chunks/{project-maw15393.js → schema-srey9s68.js} +13 -13
- package/dist/chunks/{project-svcy3p9a.js → schema-svcy3p9a.js} +1 -1
- package/dist/chunks/{project-sd52sx5g.js → schema-t3b400sf.js} +4 -4
- package/dist/chunks/{project-tzyd7gqa.js → schema-t5jqs5j7.js} +2 -2
- package/dist/chunks/{project-tn22qbfv.js → schema-t78wmv83.js} +17 -17
- package/dist/chunks/{project-h1pe7txv.js → schema-tbn2mnzh.js} +3 -3
- package/dist/chunks/{project-3v4n5zps.js → schema-tcsxprfy.js} +31 -31
- package/dist/chunks/{project-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
- package/dist/chunks/{project-pnwsrq7c.js → schema-tf9r37f3.js} +11 -11
- package/dist/chunks/{project-0dbrkw6r.js → schema-tg57hhy1.js} +21 -21
- package/dist/chunks/{project-twssxy5n.js → schema-twssxy5n.js} +2 -2
- package/dist/chunks/{project-gchbbwt8.js → schema-txbj6sh8.js} +11 -11
- package/dist/chunks/{project-b33ebngj.js → schema-v0jzprfb.js} +12 -12
- package/dist/chunks/{project-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
- package/dist/chunks/{project-dpcjrdrj.js → schema-vqf4085a.js} +13 -13
- package/dist/chunks/{project-mjncwgp7.js → schema-vyc6s2qb.js} +19 -19
- package/dist/chunks/{project-9q8g9sv8.js → schema-w35wzz9x.js} +4 -4
- package/dist/chunks/{project-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-9yrnwmme.js → schema-w5sf4kaa.js} +8 -8
- package/dist/chunks/{project-hhcxg32b.js → schema-wahr43z1.js} +4 -4
- package/dist/chunks/{project-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
- package/dist/chunks/{project-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{project-wr1az2wc.js → schema-wfmjjmyz.js} +17 -17
- package/dist/chunks/{project-wnhgecwx.js → schema-wnhgecwx.js} +1 -1
- package/dist/chunks/{project-db8965yk.js → schema-wv0e3mfz.js} +27 -27
- package/dist/chunks/{project-7wmd0erc.js → schema-x9s6m3f5.js} +37 -37
- package/dist/chunks/{project-9h4962kz.js → schema-xc81ym32.js} +14 -14
- package/dist/chunks/{project-bstexjd6.js → schema-xd9cc171.js} +5 -5
- package/dist/chunks/{project-4e9277vr.js → schema-xpa3vb6e.js} +19 -19
- package/dist/chunks/{project-2mbjfaxd.js → schema-xsact9zs.js} +4 -4
- package/dist/chunks/{project-6mxrg4kx.js → schema-xtfsy8hb.js} +7 -7
- package/dist/chunks/{project-yara3q77.js → schema-yara3q77.js} +2 -2
- package/dist/chunks/{project-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
- package/dist/chunks/{project-k293y0h3.js → schema-yfcb8j9k.js} +5 -5
- package/dist/chunks/{project-vq0wjetv.js → schema-yhe5e00v.js} +9 -9
- package/dist/chunks/{project-a9q6fvpe.js → schema-ymz7p2c9.js} +3 -3
- package/dist/chunks/{project-sxz3hzr2.js → schema-yzwnyabz.js} +11 -11
- package/dist/chunks/{project-z38nccrw.js → schema-z38nccrw.js} +1 -1
- package/dist/chunks/{project-6qd66m37.js → schema-zbrhs51n.js} +25 -25
- package/dist/chunks/{project-88vg190z.js → schema-zpr60y31.js} +6 -6
- package/dist/chunks/{project-sgg5jrrm.js → schema-zt231353.js} +32 -32
- package/dist/chunks/{project-p2cjbm1q.js → schema-zzzjcb07.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -377
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- 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 +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -110
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- 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 +107 -107
- 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-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +368 -368
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -365
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +110 -110
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +128 -128
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +128 -128
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +357 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +228 -228
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +152 -152
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +99 -99
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +143 -143
- package/dist/tool/plugin/write.js +156 -156
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- 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 +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +93 -93
- package/dist/voice.js +96 -96
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/project-2224t6nn.js +0 -257
- package/dist/chunks/project-d77dj7jw.js +0 -18
- package/dist/chunks/project-megfknn9.js +0 -26
- /package/dist/chunks/{project-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1jakw16s.js → schema-1jakw16s.js} +0 -0
- /package/dist/chunks/{project-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2bv980vf.js → schema-2bv980vf.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4m86bj6y.js → schema-4m86bj6y.js} +0 -0
- /package/dist/chunks/{project-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-5w3e23ze.js → schema-5w3e23ze.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{project-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{project-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a058387c.js → schema-a058387c.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-beh6qq61.js → schema-beh6qq61.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cqv5kn06.js → schema-cqv5kn06.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-fkpq3x5p.js → schema-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jwr30sdr.js → schema-jwr30sdr.js} +0 -0
- /package/dist/chunks/{project-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-m18g726c.js → schema-m18g726c.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-ncqqe42p.js → schema-ncqqe42p.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-p71gwv9c.js → schema-p71gwv9c.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node85
|
|
5
|
+
} from "./schema-5t9jfe1j.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-1kn6jdkn.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-204s3925.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
24
|
-
File: () =>
|
|
23
|
+
Event: () => Event10,
|
|
24
|
+
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
26
|
+
Options: () => Options4,
|
|
27
|
+
Service: () => Service44,
|
|
28
|
+
configured: () => configured5,
|
|
29
|
+
layer: () => layer16,
|
|
30
|
+
node: () => node47
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { createPatch } from "diff";
|
|
35
|
-
class
|
|
35
|
+
class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
36
36
|
path: Schema.String,
|
|
37
37
|
content: Schema.String
|
|
38
38
|
}) {
|
|
39
39
|
}
|
|
40
|
-
var Files = Schema.Array(
|
|
40
|
+
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event10 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options4 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service44 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer16 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service82;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
57
57
|
editor: (editor) => ({
|
|
58
58
|
list: () => Array.from(editor.files.values()),
|
|
59
|
-
add: (file) => editor.files.set(file.path, new
|
|
59
|
+
add: (file) => editor.files.set(file.path, new File2(file)),
|
|
60
60
|
update: (path, update) => {
|
|
61
61
|
const current = editor.files.get(path);
|
|
62
62
|
if (!current)
|
|
@@ -69,9 +69,9 @@ var layer24 = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make21({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer24 = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service44.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer24 = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured5(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
108
|
-
deps: [
|
|
106
|
+
service: Service44,
|
|
107
|
+
layer: layer16(options),
|
|
108
|
+
deps: [node85]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node47 = configured5();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export {
|
|
142
|
+
export { File2, Event10, Options4, Service44, layer16, configured5, node47, exports_instruction_discovery };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
3
|
+
Info15,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-qsee9sfb.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service86,
|
|
11
11
|
node90
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-tbn2mnzh.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service82,
|
|
16
|
+
node85
|
|
17
|
+
} from "./schema-5t9jfe1j.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node84
|
|
21
|
+
} from "./schema-5y2afnr7.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service53,
|
|
24
|
+
node55
|
|
25
|
+
} from "./schema-qah7t4da.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-gg8p9cgs.js";
|
|
32
32
|
import {
|
|
33
33
|
enabled2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./schema-15j8kqyp.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
36
|
+
NotFoundError10,
|
|
37
37
|
InvalidListCursorError2,
|
|
38
38
|
MessageNotFoundError2,
|
|
39
39
|
ForkEmptyError2,
|
|
@@ -45,80 +45,80 @@ import {
|
|
|
45
45
|
BusyError2,
|
|
46
46
|
InboxConflictError2,
|
|
47
47
|
SkillNotFoundError2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./schema-4s5pdsz9.js";
|
|
49
49
|
import {
|
|
50
50
|
current2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./schema-5x26af84.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
node54,
|
|
54
54
|
listWithRefs2
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./schema-7kxnx84r.js";
|
|
56
56
|
import {
|
|
57
57
|
snapshot2
|
|
58
|
-
} from "./
|
|
58
|
+
} from "./schema-e0sctgnq.js";
|
|
59
59
|
import {
|
|
60
60
|
Slug2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./schema-gebd4c9n.js";
|
|
62
62
|
import {
|
|
63
63
|
SessionAlreadyProjected2,
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
64
|
+
node26
|
|
65
|
+
} from "./schema-269arx00.js";
|
|
66
66
|
import {
|
|
67
67
|
Metadata2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
node86
|
|
69
|
+
} from "./schema-grp5rwdb.js";
|
|
70
70
|
import {
|
|
71
71
|
ListInput3,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
72
|
+
Service69,
|
|
73
|
+
node72
|
|
74
|
+
} from "./schema-1rdchn1p.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service55,
|
|
77
|
+
node57
|
|
78
|
+
} from "./schema-50q6hzkb.js";
|
|
79
79
|
import {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
} from "./
|
|
80
|
+
Service50,
|
|
81
|
+
node53
|
|
82
|
+
} from "./schema-qzcxxbs6.js";
|
|
83
83
|
import {
|
|
84
84
|
llmClient2
|
|
85
|
-
} from "./
|
|
85
|
+
} from "./schema-p015t6z3.js";
|
|
86
86
|
import {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
87
|
+
Service34,
|
|
88
|
+
node37
|
|
89
|
+
} from "./schema-3g3amc73.js";
|
|
90
90
|
import {
|
|
91
91
|
generate2
|
|
92
|
-
} from "./
|
|
92
|
+
} from "./schema-4rzb5v1e.js";
|
|
93
93
|
import {
|
|
94
94
|
execute2
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./schema-448jnkaf.js";
|
|
96
96
|
import {
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
Service66,
|
|
98
|
+
node69,
|
|
99
99
|
canonical3
|
|
100
|
-
} from "./
|
|
100
|
+
} from "./schema-1yxgftn3.js";
|
|
101
101
|
import {
|
|
102
102
|
DestinationNotFoundError2,
|
|
103
103
|
DestinationNotDirectoryError2,
|
|
104
104
|
DestinationUnavailableError2,
|
|
105
105
|
Service22,
|
|
106
106
|
node25
|
|
107
|
-
} from "./
|
|
107
|
+
} from "./schema-hte5j8rj.js";
|
|
108
108
|
import {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
} from "./
|
|
109
|
+
Service36,
|
|
110
|
+
node39
|
|
111
|
+
} from "./schema-h097nhc1.js";
|
|
112
112
|
import {
|
|
113
113
|
make14
|
|
114
|
-
} from "./
|
|
114
|
+
} from "./schema-hapd2mq8.js";
|
|
115
115
|
import {
|
|
116
116
|
TurnRangeError2,
|
|
117
117
|
turn2
|
|
118
|
-
} from "./
|
|
118
|
+
} from "./schema-txbj6sh8.js";
|
|
119
119
|
import {
|
|
120
120
|
__export
|
|
121
|
-
} from "./
|
|
121
|
+
} from "./schema-9rqn6x4v.js";
|
|
122
122
|
|
|
123
123
|
// src/session.ts
|
|
124
124
|
var exports_session = {};
|
|
@@ -132,14 +132,14 @@ __export(exports_session, {
|
|
|
132
132
|
ForkEmptyError: () => ForkEmptyError2,
|
|
133
133
|
ID: () => ID10,
|
|
134
134
|
InboxConflictError: () => InboxConflictError2,
|
|
135
|
-
Info: () =>
|
|
135
|
+
Info: () => Info15,
|
|
136
136
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
137
137
|
ListAnchor: () => ListAnchor2,
|
|
138
138
|
ListCursor: () => ListCursor2,
|
|
139
139
|
ListInput: () => ListInput2,
|
|
140
140
|
MessageDecodeError: () => MessageDecodeError2,
|
|
141
141
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
142
|
-
NotFoundError: () =>
|
|
142
|
+
NotFoundError: () => NotFoundError10,
|
|
143
143
|
PromptConflictError: () => PromptConflictError2,
|
|
144
144
|
Service: () => Service21,
|
|
145
145
|
Session: () => exports_session,
|
|
@@ -164,17 +164,17 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const database = yield* Service86;
|
|
166
166
|
const db = database.db;
|
|
167
|
-
const bus = yield*
|
|
168
|
-
const projects = yield*
|
|
169
|
-
const execution = yield*
|
|
167
|
+
const bus = yield* Service82;
|
|
168
|
+
const projects = yield* Service81;
|
|
169
|
+
const execution = yield* Service50;
|
|
170
170
|
const llm = yield* LLMClient.Service;
|
|
171
|
-
const transport = yield*
|
|
172
|
-
const store = yield*
|
|
173
|
-
const instances = yield*
|
|
171
|
+
const transport = yield* Service34;
|
|
172
|
+
const store = yield* Service69;
|
|
173
|
+
const instances = yield* Service53;
|
|
174
174
|
const moves = yield* Service22;
|
|
175
|
-
const jobs = yield*
|
|
176
|
-
const environments = yield*
|
|
177
|
-
const locations = yield*
|
|
175
|
+
const jobs = yield* Service55;
|
|
176
|
+
const environments = yield* Service36;
|
|
177
|
+
const locations = yield* Service66;
|
|
178
178
|
const sessions = yield* make14();
|
|
179
179
|
const keepsMediaRefs = (session) => enabled2.pipe(instances.provide(session), Effect.catch((cause) => Effect.logWarning("could not resolve experimental.media_blob; serving media inline", { cause }).pipe(Effect.as(false))));
|
|
180
180
|
const isDurableSessionEvent = (item) => Object.hasOwn(SessionEvent2.Durable.cases, item.type);
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
186
186
|
return recorded;
|
|
187
187
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
188
188
|
if (input.parentID && parent === undefined)
|
|
189
|
-
return yield* new
|
|
189
|
+
return yield* new NotFoundError10({ sessionID: input.parentID });
|
|
190
190
|
const location = parent?.location ?? (input.location && canonical3(input.location));
|
|
191
191
|
if (location === undefined)
|
|
192
192
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -324,11 +324,11 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
324
324
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
325
325
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
326
326
|
const session = yield* result.get(input.sessionID);
|
|
327
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
327
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service86, database), Effect.provideService(LLMClient.Service, llm));
|
|
328
328
|
}),
|
|
329
329
|
command: Effect.fn("Session.command")(function* (input) {
|
|
330
330
|
const session = yield* result.get(input.sessionID);
|
|
331
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
331
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service53, instances));
|
|
332
332
|
}),
|
|
333
333
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
334
334
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -376,22 +376,22 @@ var node24 = Node.makeGlobalNode({
|
|
|
376
376
|
service: Service21,
|
|
377
377
|
layer,
|
|
378
378
|
deps: [
|
|
379
|
-
|
|
380
|
-
|
|
379
|
+
node57,
|
|
380
|
+
node39,
|
|
381
381
|
node90,
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
382
|
+
node85,
|
|
383
|
+
node84,
|
|
384
|
+
node53,
|
|
385
|
+
node37,
|
|
386
386
|
llmClient2,
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
387
|
+
node72,
|
|
388
|
+
node55,
|
|
389
|
+
node54,
|
|
390
390
|
node25,
|
|
391
|
-
|
|
392
|
-
|
|
391
|
+
node26,
|
|
392
|
+
node69,
|
|
393
393
|
FSUtil.node,
|
|
394
|
-
|
|
394
|
+
node86
|
|
395
395
|
]
|
|
396
396
|
});
|
|
397
397
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./schema-m4f8sh63.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./schema-qah7t4da.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-n3r3rt18.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
22
|
+
const instances = yield* Service53;
|
|
23
23
|
yield* Effect.gen(function* () {
|
|
24
24
|
yield* awaitActivation2;
|
|
25
|
-
const commands = yield*
|
|
25
|
+
const commands = yield* Service48;
|
|
26
26
|
yield* commands.execute({
|
|
27
27
|
name: input.command,
|
|
28
28
|
invocation: {
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-grp5rwdb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./schema-5t9jfe1j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID16,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Event19
|
|
11
|
+
} from "./schema-tcsxprfy.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-61ennm6n.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-qtfmf1tm.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID13
|
|
22
|
+
} from "./schema-dh7yr4e4.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service71
|
|
25
|
+
} from "./schema-ce2ydvyh.js";
|
|
26
26
|
import {
|
|
27
27
|
Remote2,
|
|
28
28
|
Document2,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
make11
|
|
30
|
+
} from "./schema-k9zkdd2y.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-d9vx7wx0.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./schema-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
ID4,
|
|
41
41
|
Input14,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./schema-2mkw5nnf.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -91,7 +91,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
91
91
|
}
|
|
92
92
|
function oauth(http) {
|
|
93
93
|
return {
|
|
94
|
-
integrationID:
|
|
94
|
+
integrationID: ID14.make("opencode"),
|
|
95
95
|
method: {
|
|
96
96
|
id: methodID,
|
|
97
97
|
type: "oauth",
|
|
@@ -156,10 +156,10 @@ var OpencodePlugin2 = define({
|
|
|
156
156
|
id: "opencode.provider.opencode",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
158
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service82;
|
|
160
160
|
const client = yield* HttpClient.HttpClient;
|
|
161
161
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
162
|
-
const config = yield*
|
|
162
|
+
const config = yield* Service71;
|
|
163
163
|
const scope = yield* Scope.Scope;
|
|
164
164
|
const loading = Semaphore.makeUnsafe(1);
|
|
165
165
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -195,13 +195,13 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
});
|
|
196
196
|
let integrated;
|
|
197
197
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
198
|
-
yield* config.integration?.(
|
|
199
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID ===
|
|
198
|
+
yield* config.integration?.(ID14.make("opencode"), document) ?? Effect.void;
|
|
199
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID14.make("opencode"));
|
|
200
200
|
});
|
|
201
201
|
const publish = Effect.fnUntraced(function* (next) {
|
|
202
|
-
yield* integrate(next.remote && next.connection &&
|
|
203
|
-
integrationID:
|
|
204
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
202
|
+
yield* integrate(next.remote && next.connection && make11({
|
|
203
|
+
integrationID: ID14.make("opencode"),
|
|
204
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID16.make(next.connection.id) } : next.connection,
|
|
205
205
|
organization: next.organization,
|
|
206
206
|
info: next.remote
|
|
207
207
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
integrate2(providers, integrated);
|
|
250
250
|
});
|
|
251
251
|
yield* ctx.provider.transform((providers) => {
|
|
252
|
-
const item = providers.get(
|
|
252
|
+
const item = providers.get(ID13.opencode);
|
|
253
253
|
if (!item)
|
|
254
254
|
return;
|
|
255
255
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -261,7 +261,7 @@ var OpencodePlugin2 = define({
|
|
|
261
261
|
});
|
|
262
262
|
});
|
|
263
263
|
yield* ctx.model.transform((models) => {
|
|
264
|
-
const item = models.provider.get(
|
|
264
|
+
const item = models.provider.get(ID13.opencode);
|
|
265
265
|
if (!item)
|
|
266
266
|
return;
|
|
267
267
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -276,7 +276,7 @@ var OpencodePlugin2 = define({
|
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
yield* ctx.websearch.transform((editor) => {
|
|
279
|
-
const provider =
|
|
279
|
+
const provider = ID4.make("opencode");
|
|
280
280
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
281
281
|
editor.add(search(provider, snapshot.connection));
|
|
282
282
|
});
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
316
316
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
317
317
|
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
318
|
-
|
|
318
|
+
ID13.opencode,
|
|
319
319
|
...Object.keys(next.remote?.providers ?? {})
|
|
320
320
|
]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
321
321
|
});
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
onlyIfMissing: true
|
|
329
329
|
});
|
|
330
330
|
});
|
|
331
|
-
yield* bus.subscribe(
|
|
331
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
332
332
|
yield* poll();
|
|
333
333
|
})
|
|
334
334
|
});
|