@opencode/core 0.0.0-dev-163 → 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/{skill-034tev2y.js → schema-034tev2y.js} +2 -2
- package/dist/chunks/{skill-vnycbc10.js → schema-04z78z4p.js} +21 -21
- package/dist/chunks/{skill-0a5dxn0x.js → schema-061s75p4.js} +3 -3
- package/dist/chunks/{skill-am9yzy1e.js → schema-090m30xj.js} +36 -36
- package/dist/chunks/{skill-cpvd08na.js → schema-0ahs07zn.js} +4 -4
- package/dist/chunks/{skill-tfmd9fwy.js → schema-0cfns17n.js} +45 -45
- package/dist/chunks/{skill-bamxkp5g.js → schema-0drtew17.js} +36 -36
- package/dist/chunks/schema-0kar9yb6.js +26 -0
- package/dist/chunks/{skill-yhxq0ph1.js → schema-0m3hsgex.js} +30 -30
- package/dist/chunks/{skill-5mnzh5sc.js → schema-0wqwjmtr.js} +11 -11
- package/dist/chunks/{skill-6y7j79mm.js → schema-15j8kqyp.js} +6 -6
- package/dist/chunks/{skill-5qnntnk2.js → schema-1c950baa.js} +5 -5
- package/dist/chunks/{skill-tvmvfkbc.js → schema-1enrjds2.js} +27 -27
- package/dist/chunks/{skill-1ep2p91f.js → schema-1ep2p91f.js} +2 -2
- package/dist/chunks/{skill-1kn6jdkn.js → schema-1kn6jdkn.js} +1 -1
- package/dist/chunks/{skill-3jcbynxa.js → schema-1m459fdp.js} +10 -10
- package/dist/chunks/{skill-v9wmh59m.js → schema-1rdchn1p.js} +15 -15
- package/dist/chunks/{skill-2dfqqm60.js → schema-1w0tbadz.js} +23 -23
- package/dist/chunks/{skill-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
- package/dist/chunks/{skill-eb8kyfw1.js → schema-1x5b7tgq.js} +18 -18
- package/dist/chunks/{skill-p7vhpwh8.js → schema-1yq9hg58.js} +5 -5
- package/dist/chunks/{skill-ndec2g7f.js → schema-1yxgftn3.js} +9 -9
- package/dist/chunks/{skill-204s3925.js → schema-204s3925.js} +1 -1
- package/dist/chunks/{skill-8035m94h.js → schema-210pe7vf.js} +41 -41
- package/dist/chunks/{skill-xdf117h8.js → schema-21qby824.js} +318 -318
- package/dist/chunks/{skill-4j373htp.js → schema-269arx00.js} +25 -25
- package/dist/chunks/{skill-qnqasnye.js → schema-26x8chrq.js} +6 -6
- package/dist/chunks/{skill-trcq3z22.js → schema-26z001ty.js} +15 -15
- package/dist/chunks/{skill-essbs1k7.js → schema-2cx4pwwp.js} +13 -13
- package/dist/chunks/{skill-z7efmy73.js → schema-2dah0fcg.js} +5 -5
- package/dist/chunks/{skill-73bccqdv.js → schema-2ha14jpx.js} +5 -5
- package/dist/chunks/{skill-pjvr3qb3.js → schema-2mkw5nnf.js} +22 -22
- package/dist/chunks/{skill-hmk43ts9.js → schema-3cnqskb9.js} +41 -41
- package/dist/chunks/{skill-n1dbvrxa.js → schema-3fbhx6a4.js} +15 -15
- package/dist/chunks/{skill-2bvfvv2f.js → schema-3g3amc73.js} +9 -9
- package/dist/chunks/{skill-kewetrmz.js → schema-3gr2x4rj.js} +20 -20
- package/dist/chunks/{skill-4np0zqes.js → schema-3h3qy8d6.js} +11 -11
- package/dist/chunks/{skill-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-32jh04q0.js → schema-3ng4e935.js} +20 -20
- package/dist/chunks/{skill-3nnrz6f6.js → schema-3nnrz6f6.js} +1 -1
- package/dist/chunks/{skill-rxe7p33y.js → schema-3sxgyymf.js} +9 -9
- package/dist/chunks/{skill-6ap3eaze.js → schema-3t4pqd58.js} +16 -16
- package/dist/chunks/{skill-m29vy67z.js → schema-3x9h4h7w.js} +30 -30
- package/dist/chunks/{skill-19sn1tff.js → schema-3zadjdx1.js} +25 -25
- package/dist/chunks/{skill-6mtbmyr8.js → schema-408p671s.js} +90 -90
- package/dist/chunks/{skill-w2eysc6j.js → schema-40za9wsf.js} +9 -9
- package/dist/chunks/{skill-wer98kyb.js → schema-448jnkaf.js} +8 -8
- package/dist/chunks/{skill-hqkbkg9n.js → schema-4ct751ez.js} +29 -29
- package/dist/chunks/{skill-nr1dehp0.js → schema-4dqzxk7p.js} +35 -35
- package/dist/chunks/{skill-4pyp9zr9.js → schema-4pyp9zr9.js} +1 -1
- package/dist/chunks/{skill-bcdcevt1.js → schema-4qg5d7zq.js} +3 -3
- package/dist/chunks/{skill-epat7ra2.js → schema-4rzb5v1e.js} +18 -18
- package/dist/chunks/{skill-0ep44wk4.js → schema-4s5pdsz9.js} +6 -6
- package/dist/chunks/{skill-4v008n1t.js → schema-4v008n1t.js} +1 -1
- package/dist/chunks/{skill-5s40rnay.js → schema-50q6hzkb.js} +8 -8
- package/dist/chunks/{skill-05ew005d.js → schema-50w453fn.js} +12 -12
- package/dist/chunks/{skill-v9cr40x8.js → schema-552y5q35.js} +12 -12
- package/dist/chunks/{skill-nkraqmq3.js → schema-5b4vr08c.js} +13 -13
- package/dist/chunks/{skill-1yphnjpe.js → schema-5jnjkx8j.js} +28 -28
- package/dist/chunks/{skill-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-9437wt4d.js → schema-5r72z9dp.js} +8 -8
- package/dist/chunks/{skill-ngz6cn3c.js → schema-5t9jfe1j.js} +18 -18
- package/dist/chunks/{skill-6p4z6825.js → schema-5vwbz2vn.js} +2 -2
- package/dist/chunks/{skill-xpadfym9.js → schema-5wkj2ywt.js} +18 -18
- package/dist/chunks/{skill-5x26af84.js → schema-5x26af84.js} +4 -4
- package/dist/chunks/{skill-pmyeg67v.js → schema-5y2afnr7.js} +29 -29
- package/dist/chunks/{skill-61ennm6n.js → schema-61ennm6n.js} +1 -1
- package/dist/chunks/{skill-s25y11dt.js → schema-63g612mw.js} +3 -3
- package/dist/chunks/{skill-6esdw8yj.js → schema-6esdw8yj.js} +1 -1
- package/dist/chunks/{skill-61qx5y3q.js → schema-6f28nday.js} +40 -40
- package/dist/chunks/{skill-afqm4g5m.js → schema-6n305hg2.js} +9 -9
- package/dist/chunks/{skill-76cb1hcw.js → schema-76cb1hcw.js} +1 -1
- package/dist/chunks/{skill-770pw0s1.js → schema-770pw0s1.js} +1 -1
- package/dist/chunks/{skill-qk1k47zm.js → schema-7aatzr77.js} +28 -28
- package/dist/chunks/{skill-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-rfy1qsv0.js → schema-7jz89kf0.js} +5 -5
- package/dist/chunks/{skill-h03fjw9b.js → schema-7kxnx84r.js} +32 -32
- package/dist/chunks/{skill-epvvzesw.js → schema-7p1vn3s6.js} +9 -9
- package/dist/chunks/{skill-xm8wrjs5.js → schema-7pa3t2xk.js} +11 -11
- package/dist/chunks/{skill-3rrjy1gv.js → schema-7rm7mm2f.js} +9 -9
- package/dist/chunks/{skill-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
- package/dist/chunks/{skill-yqh7zqgy.js → schema-7y8v7c8e.js} +11 -11
- package/dist/chunks/{skill-ms1wawne.js → schema-7yh8xe92.js} +21 -21
- package/dist/chunks/{skill-ttqtdfz1.js → schema-8bhq06zm.js} +5 -5
- package/dist/chunks/{skill-7gywx03k.js → schema-8ek83jqy.js} +31 -31
- package/dist/chunks/{skill-bgt8yv0k.js → schema-8eqybnrh.js} +5 -5
- package/dist/chunks/{skill-nd2dg6zm.js → schema-8gz737b7.js} +4 -4
- package/dist/chunks/{skill-8jztxfpf.js → schema-8jztxfpf.js} +1 -1
- package/dist/chunks/{skill-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
- package/dist/chunks/{skill-90zstvax.js → schema-90zstvax.js} +1 -1
- package/dist/chunks/{skill-zec3dvrx.js → schema-94rrg3vb.js} +50 -50
- package/dist/chunks/{skill-5wcw8brx.js → schema-9e9bdq1p.js} +11 -11
- package/dist/chunks/{skill-zjsdvc9v.js → schema-9exzskw1.js} +74 -74
- package/dist/chunks/{skill-a54tt8tb.js → schema-9kverp60.js} +14 -14
- package/dist/chunks/{skill-g1ay4zd8.js → schema-9r0x1bva.js} +9 -9
- package/dist/chunks/{skill-w2fpj83c.js → schema-9rhy1jhz.js} +35 -35
- package/dist/chunks/{skill-0anyt1n6.js → schema-9z9tayqc.js} +5 -5
- package/dist/chunks/{skill-f8hh9n1c.js → schema-a4qm5kkz.js} +3 -3
- package/dist/chunks/{skill-rby3wm67.js → schema-a6dwmrq2.js} +17 -17
- package/dist/chunks/{skill-wdyn1ab2.js → schema-aa5aqj1j.js} +8 -8
- package/dist/chunks/{skill-b6j6r4ej.js → schema-adrdbcay.js} +17 -17
- package/dist/chunks/{skill-ban6zjwx.js → schema-ae69f5xb.js} +10 -10
- package/dist/chunks/{skill-4cse8p3m.js → schema-afq6afk6.js} +22 -22
- package/dist/chunks/{skill-vq14rzh9.js → schema-ah0gjdxz.js} +43 -43
- package/dist/chunks/{skill-xybtmwwq.js → schema-at9e0pnj.js} +32 -32
- package/dist/chunks/{skill-ayjs7tqn.js → schema-ayjs7tqn.js} +2 -2
- package/dist/chunks/{skill-37vw2nj8.js → schema-b0k6q4r7.js} +25 -25
- package/dist/chunks/{skill-b6vsg801.js → schema-b6vsg801.js} +2 -2
- package/dist/chunks/{skill-2kr5775s.js → schema-b8nj54vk.js} +23 -23
- package/dist/chunks/{skill-arbe3xjc.js → schema-b9bpy08a.js} +22 -22
- package/dist/chunks/{skill-y0ha8pg7.js → schema-bhxshkcp.js} +25 -25
- package/dist/chunks/{skill-pr5m753x.js → schema-bkkedvkd.js} +5 -5
- package/dist/chunks/{skill-k4krbr57.js → schema-btbftat3.js} +4 -4
- package/dist/chunks/{skill-1rjhx841.js → schema-btkemy5f.js} +13 -13
- package/dist/chunks/{skill-k4nkwk6k.js → schema-cbrqsbxs.js} +27 -27
- package/dist/chunks/{skill-7bx2zmjp.js → schema-cc9g74x6.js} +7 -7
- package/dist/chunks/{skill-r7eqq3d9.js → schema-ce2ydvyh.js} +46 -46
- package/dist/chunks/{skill-9cxh8y9p.js → schema-chb25f6y.js} +9 -9
- package/dist/chunks/{skill-z0b8nnqv.js → schema-cke2hwj1.js} +14 -14
- package/dist/chunks/{skill-89q2nt0d.js → schema-cr4v66wc.js} +18 -18
- package/dist/chunks/{skill-6pzwfz31.js → schema-ct5fctns.js} +21 -21
- package/dist/chunks/{skill-raytzsm9.js → schema-ctbc3d2x.js} +9 -9
- package/dist/chunks/{skill-cwrgdav8.js → schema-cwrgdav8.js} +2 -2
- package/dist/chunks/{skill-dpv3c7v6.js → schema-cxn0c79x.js} +15 -15
- package/dist/chunks/{skill-30nyfavy.js → schema-czjbmn1x.js} +3 -3
- package/dist/chunks/{skill-d2887f8n.js → schema-d2887f8n.js} +1 -1
- package/dist/chunks/{skill-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
- package/dist/chunks/{skill-9nmb08f7.js → schema-d9vx7wx0.js} +15 -15
- package/dist/chunks/{skill-hbjf5446.js → schema-df57mhq9.js} +17 -17
- package/dist/chunks/{skill-znk3jx2t.js → schema-dfxm9epe.js} +28 -28
- package/dist/chunks/{skill-b61v6d5c.js → schema-dh1g62nj.js} +22 -22
- package/dist/chunks/{skill-tjsmtshz.js → schema-dh7yr4e4.js} +24 -24
- package/dist/chunks/{skill-wcx1pj5t.js → schema-dn4sdd79.js} +28 -28
- package/dist/chunks/{skill-3j1m3tq4.js → schema-ds7r37yp.js} +5 -5
- package/dist/chunks/{skill-dt77769w.js → schema-dt77769w.js} +1 -1
- package/dist/chunks/{skill-vzv6y601.js → schema-dtjqx0e4.js} +25 -25
- package/dist/chunks/{skill-jchw1kv4.js → schema-e0sctgnq.js} +16 -16
- package/dist/chunks/{skill-en8b94nd.js → schema-e1frhwek.js} +6 -6
- package/dist/chunks/{skill-e834z07m.js → schema-e834z07m.js} +1 -1
- package/dist/chunks/{skill-9ca2rzpk.js → schema-e9zqgb96.js} +29 -29
- package/dist/chunks/{skill-fab4ec1x.js → schema-ehb90vmh.js} +15 -15
- package/dist/chunks/{skill-7rqmk5w1.js → schema-ehsb21bg.js} +19 -19
- package/dist/chunks/{skill-rmv4btrj.js → schema-ek1rnzpg.js} +13 -13
- package/dist/chunks/{skill-91kh0p1x.js → schema-f1q86js6.js} +12 -12
- package/dist/chunks/{skill-913wjczz.js → schema-f4bj65gc.js} +1 -1
- package/dist/chunks/{skill-ee9g468w.js → schema-fajmsesy.js} +12 -12
- package/dist/chunks/{skill-fffv3p7h.js → schema-fffv3p7h.js} +1 -1
- package/dist/chunks/{skill-fg9p65nk.js → schema-fg9p65nk.js} +2 -2
- package/dist/chunks/{skill-nvhett0n.js → schema-fpb1sgsj.js} +18 -18
- package/dist/chunks/{skill-gs87gpdt.js → schema-fv6xxc7y.js} +14 -14
- package/dist/chunks/{skill-wr3re1en.js → schema-fznmdakp.js} +4 -4
- package/dist/chunks/{skill-4az1a8cs.js → schema-g13qewtb.js} +6 -6
- package/dist/chunks/{skill-qz3x11k1.js → schema-g1w8m9xc.js} +177 -177
- package/dist/chunks/{skill-zgmrepvs.js → schema-g9ndtp1p.js} +4 -4
- package/dist/chunks/{skill-gg8p9cgs.js → schema-gg8p9cgs.js} +3 -3
- package/dist/chunks/{skill-j2enqxax.js → schema-gj697h3c.js} +20 -20
- package/dist/chunks/{skill-3f40a73m.js → schema-gjwgtksd.js} +41 -41
- package/dist/chunks/{skill-8qkh3bqb.js → schema-grp5rwdb.js} +8 -8
- package/dist/chunks/{skill-bmw1c1w2.js → schema-h097nhc1.js} +8 -8
- package/dist/chunks/{skill-pm3q2zxn.js → schema-h0ppebc3.js} +8 -8
- package/dist/chunks/{skill-njmbjpvg.js → schema-h1qzytc1.js} +25 -25
- package/dist/chunks/{skill-rag25emf.js → schema-hapd2mq8.js} +37 -37
- package/dist/chunks/{skill-405qk1h7.js → schema-hbmj972w.js} +14 -14
- package/dist/chunks/{skill-q2qaf7wx.js → schema-hc8nqjwe.js} +9 -9
- package/dist/chunks/{skill-hdfrs5mg.js → schema-hdfrs5mg.js} +2 -2
- package/dist/chunks/{skill-m37sd98t.js → schema-hfgk9wzg.js} +4 -4
- package/dist/chunks/{skill-9r049acs.js → schema-hkt99n7n.js} +6 -6
- package/dist/chunks/{skill-hpg1pkwy.js → schema-hpg1pkwy.js} +1 -1
- package/dist/chunks/{skill-vb80j1wh.js → schema-hqxkkta1.js} +3 -3
- package/dist/chunks/{skill-ztwsgc1d.js → schema-hte5j8rj.js} +61 -61
- package/dist/chunks/{skill-zvp0bfyt.js → schema-hvwz7mjy.js} +5 -5
- package/dist/chunks/{skill-nkd8v4pa.js → schema-j0fb9gww.js} +6 -6
- package/dist/chunks/{skill-fvjhjrzf.js → schema-j2na3mwa.js} +32 -32
- package/dist/chunks/{skill-9k7nxg7x.js → schema-j6rxfpjy.js} +13 -13
- package/dist/chunks/{skill-qw96sn3j.js → schema-j7jb94ac.js} +25 -25
- package/dist/chunks/{skill-ja63h2sr.js → schema-ja63h2sr.js} +2 -2
- package/dist/chunks/{skill-gcjdgkn2.js → schema-jcqm84fr.js} +9 -9
- package/dist/chunks/{skill-5pshy8sw.js → schema-jesqdct3.js} +4 -4
- package/dist/chunks/{skill-jfaecv01.js → schema-jfaecv01.js} +1 -1
- package/dist/chunks/{skill-14zytdp5.js → schema-jj7tzx6g.js} +21 -21
- package/dist/chunks/{skill-3vjmwmxb.js → schema-jrc11jm8.js} +9 -9
- package/dist/chunks/{skill-b3d7ny6a.js → schema-jspw90cp.js} +15 -15
- package/dist/chunks/{skill-jtnps1zs.js → schema-jtnps1zs.js} +2 -2
- package/dist/chunks/{skill-aj5e77t9.js → schema-jzepz2rk.js} +19 -19
- package/dist/chunks/{skill-e44cxw6m.js → schema-k031ef6b.js} +24 -24
- package/dist/chunks/{skill-sp9dvky5.js → schema-k2yq3k02.js} +16 -16
- package/dist/chunks/{skill-ng1eyj3g.js → schema-k624yqda.js} +4 -4
- package/dist/chunks/{skill-a03n3gm8.js → schema-k7b253ks.js} +44 -44
- package/dist/chunks/{skill-k814nvkf.js → schema-k814nvkf.js} +1 -1
- package/dist/chunks/{skill-k9zkdd2y.js → schema-k9zkdd2y.js} +1 -1
- package/dist/chunks/{skill-c8r01r98.js → schema-kbdkx2jg.js} +23 -23
- package/dist/chunks/{skill-vaw3dvy1.js → schema-kf8fsxtd.js} +54 -54
- package/dist/chunks/{skill-9kg5w032.js → schema-kmzgegqq.js} +8 -8
- package/dist/chunks/{skill-kmhtvf6k.js → schema-kprhyz1z.js} +87 -87
- package/dist/chunks/{skill-jsw35a0h.js → schema-kq6ta67e.js} +25 -25
- package/dist/chunks/{skill-ddmr4kyb.js → schema-krr7tknq.js} +9 -9
- package/dist/chunks/{skill-kt3bjfbg.js → schema-kt3bjfbg.js} +1 -1
- package/dist/chunks/{skill-pq0kc3ar.js → schema-kxh38scf.js} +27 -27
- package/dist/chunks/{skill-m1714858.js → schema-m1714858.js} +1 -1
- package/dist/chunks/{skill-wg6jstvf.js → schema-m4f8sh63.js} +25 -25
- package/dist/chunks/{skill-rpmrbcva.js → schema-m8sj5xmd.js} +4 -4
- package/dist/chunks/{skill-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-btb3pt6y.js → schema-mnw2gt42.js} +17 -17
- package/dist/chunks/{skill-qz8ywq1d.js → schema-mpxecfx5.js} +9 -9
- package/dist/chunks/{skill-j6684nar.js → schema-myxan7r3.js} +6 -6
- package/dist/chunks/schema-n3r3rt18.js +18 -0
- package/dist/chunks/{skill-bvczkwhn.js → schema-n5wkbxzm.js} +11 -11
- package/dist/chunks/{skill-mpn128rf.js → schema-nj7fnw38.js} +43 -43
- package/dist/chunks/{skill-wkw52rsc.js → schema-nnhp4nhp.js} +11 -11
- package/dist/chunks/{skill-p015t6z3.js → schema-p015t6z3.js} +2 -2
- package/dist/chunks/{skill-agqd6nxz.js → schema-p7f9amnf.js} +6 -6
- package/dist/chunks/schema-p8c3k4sp.js +257 -0
- package/dist/chunks/{skill-9a8sby2n.js → schema-pe59pxdd.js} +18 -18
- package/dist/chunks/{skill-sykc9y4a.js → schema-pfq1ksym.js} +5 -5
- package/dist/chunks/{skill-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{skill-qdndt55z.js → schema-pq666zke.js} +32 -32
- package/dist/chunks/{skill-97vq97zw.js → schema-py366xq1.js} +9 -9
- package/dist/chunks/{skill-q63cb7ap.js → schema-q63cb7ap.js} +3 -3
- package/dist/chunks/{skill-k3cw2t6y.js → schema-qah7t4da.js} +6 -6
- package/dist/chunks/{skill-aygdtr2v.js → schema-qfdchg71.js} +24 -24
- package/dist/chunks/{skill-wf6trj2q.js → schema-qg7hdk6m.js} +15 -15
- package/dist/chunks/{skill-qp7r0hxv.js → schema-qp7r0hxv.js} +1 -1
- package/dist/chunks/{skill-rfk05w8t.js → schema-qpwdfbas.js} +4 -4
- package/dist/chunks/{skill-vtgxp655.js → schema-qsee9sfb.js} +2 -2
- package/dist/chunks/{skill-b29fyxt2.js → schema-qtfmf1tm.js} +21 -21
- package/dist/chunks/{skill-n85dj6ja.js → schema-qyn9kdbg.js} +23 -23
- package/dist/chunks/{skill-tk2afw03.js → schema-qzcxxbs6.js} +38 -38
- package/dist/chunks/{skill-yamg44ys.js → schema-qzzez12v.js} +11 -11
- package/dist/chunks/{skill-r0yr0wbs.js → schema-r0yr0wbs.js} +1 -1
- package/dist/chunks/{skill-qzsrq0m2.js → schema-r1emyrvf.js} +2 -2
- package/dist/chunks/{skill-r542h3bh.js → schema-r542h3bh.js} +1 -1
- package/dist/chunks/{skill-98qreggg.js → schema-r5wdg4a9.js} +8 -8
- package/dist/chunks/{skill-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
- package/dist/chunks/{skill-5wxa8xqp.js → schema-rccanh0n.js} +29 -29
- package/dist/chunks/{skill-fmc822pf.js → schema-rk0m1k2s.js} +12 -12
- package/dist/chunks/{skill-sgzfd5gg.js → schema-rmstegws.js} +33 -33
- package/dist/chunks/{skill-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
- package/dist/chunks/{skill-mx8m5z6n.js → schema-rthtd3fc.js} +35 -35
- package/dist/chunks/{skill-sa3fpqfw.js → schema-sa3fpqfw.js} +2 -2
- package/dist/chunks/{skill-eqz11q1g.js → schema-saa9e38s.js} +4 -4
- package/dist/chunks/{skill-s7wsa77y.js → schema-skfxre3x.js} +27 -27
- package/dist/chunks/{skill-sqjzf8x2.js → schema-sqjzf8x2.js} +1 -1
- package/dist/chunks/{skill-z6yfre4a.js → schema-sqpw74e5.js} +22 -22
- package/dist/chunks/{skill-zxv2n26m.js → schema-srey9s68.js} +13 -13
- package/dist/chunks/{skill-svcy3p9a.js → schema-svcy3p9a.js} +1 -1
- package/dist/chunks/{skill-n6nq4z64.js → schema-t3b400sf.js} +4 -4
- package/dist/chunks/{skill-ks317rcp.js → schema-t5jqs5j7.js} +2 -2
- package/dist/chunks/{skill-wzy85xvx.js → schema-t78wmv83.js} +24 -24
- package/dist/chunks/{skill-55k6j35k.js → schema-tbn2mnzh.js} +11 -11
- package/dist/chunks/{skill-mn0e9cd8.js → schema-tcsxprfy.js} +21 -21
- package/dist/chunks/{skill-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
- package/dist/chunks/{skill-d390zwf3.js → schema-tf9r37f3.js} +11 -11
- package/dist/chunks/{skill-ntadaps1.js → schema-tg57hhy1.js} +18 -18
- package/dist/chunks/{skill-twssxy5n.js → schema-twssxy5n.js} +2 -2
- package/dist/chunks/{skill-8fx14zah.js → schema-txbj6sh8.js} +11 -11
- package/dist/chunks/{skill-d8bep251.js → schema-v0jzprfb.js} +14 -14
- package/dist/chunks/{skill-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
- package/dist/chunks/{skill-e7rv6cb7.js → schema-vqf4085a.js} +14 -14
- package/dist/chunks/{skill-4wwq8aee.js → schema-vyc6s2qb.js} +14 -14
- package/dist/chunks/{skill-2kg89srt.js → schema-w35wzz9x.js} +4 -4
- package/dist/chunks/{skill-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-zccn1z3t.js → schema-w5sf4kaa.js} +8 -8
- package/dist/chunks/{skill-r2rkpkst.js → schema-wahr43z1.js} +4 -4
- package/dist/chunks/{skill-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
- package/dist/chunks/{skill-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{skill-ddfxq7x3.js → schema-wfmjjmyz.js} +20 -20
- package/dist/chunks/{skill-wnhgecwx.js → schema-wnhgecwx.js} +1 -1
- package/dist/chunks/{skill-p6dffgb0.js → schema-wv0e3mfz.js} +11 -11
- package/dist/chunks/{skill-yptr342z.js → schema-x9s6m3f5.js} +32 -32
- package/dist/chunks/{skill-ga0fj4ee.js → schema-xc81ym32.js} +9 -9
- package/dist/chunks/{skill-bstexjd6.js → schema-xd9cc171.js} +5 -5
- package/dist/chunks/{skill-1k90x68w.js → schema-xpa3vb6e.js} +17 -17
- package/dist/chunks/{skill-hd3k4wz8.js → schema-xsact9zs.js} +4 -4
- package/dist/chunks/{skill-aq94p1jm.js → schema-xtfsy8hb.js} +7 -7
- package/dist/chunks/{skill-yara3q77.js → schema-yara3q77.js} +2 -2
- package/dist/chunks/{skill-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
- package/dist/chunks/{skill-9beykft8.js → schema-yfcb8j9k.js} +5 -5
- package/dist/chunks/{skill-pae7shj2.js → schema-yhe5e00v.js} +9 -9
- package/dist/chunks/{skill-ymz7p2c9.js → schema-ymz7p2c9.js} +3 -3
- package/dist/chunks/{skill-pss36gg9.js → schema-yzwnyabz.js} +11 -11
- package/dist/chunks/{skill-z38nccrw.js → schema-z38nccrw.js} +1 -1
- package/dist/chunks/{skill-rmpw1pc8.js → schema-zbrhs51n.js} +33 -33
- package/dist/chunks/{skill-2h215caw.js → schema-zpr60y31.js} +6 -6
- package/dist/chunks/{skill-9fvg35k7.js → schema-zt231353.js} +32 -32
- package/dist/chunks/{skill-xe5v3ymg.js → schema-zzzjcb07.js} +9 -9
- 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 +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- 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 +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- 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 +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- 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 +120 -120
- 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 +83 -83
- package/dist/database/database.js +76 -76
- 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 +98 -98
- 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 +103 -103
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- 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 +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- 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 +99 -99
- 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 +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- 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 +93 -93
- 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 +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- 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 +143 -143
- 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 +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- 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 +130 -130
- 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 +130 -130
- 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 +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +234 -234
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +96 -96
- 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 +158 -158
- 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 +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +140 -140
- 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 +153 -153
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +156 -156
- 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 +172 -172
- 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 +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +228 -228
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- 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 +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +101 -101
- 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 +165 -165
- 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 +222 -222
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +222 -222
- package/dist/tool/plugin/todo.js +143 -143
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +141 -141
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- 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 +95 -95
- 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 +2 -2
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +88 -88
- 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 +86 -86
- 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/skill-86pkm0fq.js +0 -26
- package/dist/chunks/skill-fg9gx7xd.js +0 -257
- package/dist/chunks/skill-z7bdqmx5.js +0 -18
- /package/dist/chunks/{skill-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1jakw16s.js → schema-1jakw16s.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2bv980vf.js → schema-2bv980vf.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4m86bj6y.js → schema-4m86bj6y.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5w3e23ze.js → schema-5w3e23ze.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a058387c.js → schema-a058387c.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-beh6qq61.js → schema-beh6qq61.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cqv5kn06.js → schema-cqv5kn06.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fkpq3x5p.js → schema-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jwr30sdr.js → schema-jwr30sdr.js} +0 -0
- /package/dist/chunks/{skill-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-m18g726c.js → schema-m18g726c.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-ncqqe42p.js → schema-ncqqe42p.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-p71gwv9c.js → schema-p71gwv9c.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./schema-5t9jfe1j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-xd9cc171.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service83,
|
|
17
|
+
node87
|
|
18
|
+
} from "./schema-kbdkx2jg.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-204s3925.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event8,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info8,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service39,
|
|
36
36
|
Source: () => Source3,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node42
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
46
|
var Source3 = Reference.Source;
|
|
47
|
-
var
|
|
47
|
+
var Info8 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service39 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
|
-
const bus = yield*
|
|
54
|
-
const cache = yield*
|
|
53
|
+
const bus = yield* Service82;
|
|
54
|
+
const cache = yield* Service83;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,8 +61,8 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
65
|
-
const repository =
|
|
64
|
+
return [Info8.make({ ...info, path: source.path })];
|
|
65
|
+
const repository = parse5(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
68
68
|
if (source.branch) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info8.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service39.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node42 = makeLocationNode({
|
|
117
|
+
service: Service39,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node,
|
|
119
|
+
deps: [Global.node, node85, node87]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2, Source3,
|
|
122
|
+
export { LocalSource2, GitSource2, Source3, Info8, Service39, node42, exports_reference2, Event8 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
nativeSettings2,
|
|
6
6
|
timeouts2,
|
|
7
7
|
mergeOverlay2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-dh7yr4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
stringify2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-1jakw16s.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/aisdk.ts
|
|
17
17
|
var exports_aisdk = {};
|
|
18
18
|
__export(exports_aisdk, {
|
|
19
19
|
AISDK: () => exports_aisdk,
|
|
20
20
|
InitError: () => InitError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service57,
|
|
22
22
|
locationLayer: () => locationLayer2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node59
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -153,7 +153,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
153
153
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
154
154
|
|
|
155
155
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
156
|
-
providerID:
|
|
156
|
+
providerID: ID13,
|
|
157
157
|
cause: Schema.Defect()
|
|
158
158
|
}) {
|
|
159
159
|
}
|
|
@@ -161,9 +161,9 @@ function initError(providerID) {
|
|
|
161
161
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class Service57 extends Context.Service()("@opencode/AISDK") {
|
|
165
165
|
}
|
|
166
|
-
var locationLayer2 = Layer.effect(
|
|
166
|
+
var locationLayer2 = Layer.effect(Service57, Effect.gen(function* () {
|
|
167
167
|
let sdkHooks = [];
|
|
168
168
|
let languageHooks = [];
|
|
169
169
|
const languages = new Map;
|
|
@@ -201,7 +201,7 @@ var locationLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
201
201
|
}
|
|
202
202
|
return event;
|
|
203
203
|
});
|
|
204
|
-
const service =
|
|
204
|
+
const service = Service57.of({
|
|
205
205
|
hook: {
|
|
206
206
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
207
207
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -863,6 +863,6 @@ function providerErrorMessage(error) {
|
|
|
863
863
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
864
864
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
865
865
|
}
|
|
866
|
-
var
|
|
866
|
+
var node59 = makeLocationNode({ service: Service57, layer: locationLayer2, deps: [] });
|
|
867
867
|
|
|
868
|
-
export { InitError2,
|
|
868
|
+
export { InitError2, Service57, locationLayer2, node59, exports_aisdk };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-61ennm6n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./schema-5t9jfe1j.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-tcsxprfy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-qtfmf1tm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./schema-dh7yr4e4.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./schema-cbrqsbxs.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-zzzjcb07.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-grp5rwdb.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID11
|
|
33
|
+
} from "./schema-kq6ta67e.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./schema-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID14.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,8 +164,8 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
168
|
-
const bus = yield*
|
|
167
|
+
const providers = yield* Service76;
|
|
168
|
+
const bus = yield* Service82;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
171
171
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -181,7 +181,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
186
|
try: () => load3(url, {
|
|
187
187
|
...provider?.headers,
|
|
@@ -203,7 +203,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID13.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
241
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID13.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID13.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID13.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./schema-5t9jfe1j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service78,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-jzepz2rk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service81,
|
|
11
|
+
node84
|
|
12
|
+
} from "./schema-5y2afnr7.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref5,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node83
|
|
17
|
+
} from "./schema-hbmj972w.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-1yxgftn3.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service67,
|
|
26
|
+
node70
|
|
27
|
+
} from "./schema-0cfns17n.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service65,
|
|
30
|
+
node68
|
|
31
|
+
} from "./schema-tg57hhy1.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./schema-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service64,
|
|
41
|
+
node: () => node67
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service64 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service82;
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service67;
|
|
54
|
+
const forms = yield* Service78;
|
|
55
|
+
const rpc = yield* Service65;
|
|
56
|
+
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service64.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node67 = makeLocationNode({
|
|
89
|
+
service: Service64,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [
|
|
91
|
+
deps: [node85, node83, node70, node84, node81, node68]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service64, node67, exports_location_lifecycle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9kverp60.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make6 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make9 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make6();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make6, LMStudioPlugin2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./schema-hbmj972w.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service15
|
|
12
|
+
} from "./schema-j7jb94ac.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service10
|
|
15
|
+
} from "./schema-b8nj54vk.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service28
|
|
26
|
+
} from "./schema-ct5fctns.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input12,
|
|
35
|
+
Plugin: () => Plugin29,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name12,
|
|
38
|
+
toModelContent: () => toModelContent6
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name12 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input12 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin29 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
62
|
-
const sessionInstructions = yield*
|
|
60
|
+
const reader = yield* Service28;
|
|
61
|
+
const access = yield* Service15;
|
|
62
|
+
const sessionInstructions = yield* Service10;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service80;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name12,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input12,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin9 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -143,7 +143,7 @@ ${suggestions.join(`
|
|
|
143
143
|
});
|
|
144
144
|
})
|
|
145
145
|
};
|
|
146
|
-
var
|
|
146
|
+
var toModelContent6 = (path, offset, output) => {
|
|
147
147
|
if (output.type === "file" && output.encoding === "base64")
|
|
148
148
|
return [
|
|
149
149
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name12, Input12, Plugin29, toModelContent6, exports_read };
|