@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,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./schema-tbn2mnzh.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
17
|
Info: () => Info14,
|
|
18
|
-
NotFoundError: () =>
|
|
18
|
+
NotFoundError: () => NotFoundError9,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node71
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
29
|
var Info14 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID9
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID9,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const db = (yield*
|
|
45
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
46
|
+
const db = (yield* Service86).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
49
49
|
return rows.map(info);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID9.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service68.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node90] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID9, Info14, NotFoundError9, ConflictError2, Service68, node71, exports_saved };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./schema-5t9jfe1j.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service80,
|
|
10
|
+
node83
|
|
11
|
+
} from "./schema-hbmj972w.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service47,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node50
|
|
16
|
+
} from "./schema-afq6afk6.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event3,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
27
|
ID: () => ID2,
|
|
28
28
|
Info: () => Info3,
|
|
29
29
|
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service16,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node18
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
@@ -54,12 +54,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service16 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service82;
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const shell = yield* Service47;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service16.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node18 = makeLocationNode({
|
|
273
|
+
service: Service16,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node85, node83, node50]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export { ID2, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2,
|
|
278
|
+
export { ID2, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service16, node18, exports_pty, Event3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-0cfns17n.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin13
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai/effect";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin13 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin13, exports_plan };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9kverp60.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make4 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make10 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make4();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make4, VLLMPlugin2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node83
|
|
4
|
+
} from "./schema-hbmj972w.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-1kn6jdkn.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service29,
|
|
19
|
+
node: () => node32
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service29 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service80;
|
|
29
|
+
return Service29.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node32 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node83] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service29, node32, exports_builtins };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./schema-5t9jfe1j.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-204s3925.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node83
|
|
12
|
+
} from "./schema-hbmj972w.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
19
|
+
Service76,
|
|
20
20
|
node79,
|
|
21
21
|
Event16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-dh7yr4e4.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
36
|
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
@@ -42,16 +42,16 @@ __export(exports_model2, {
|
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
46
|
-
parse: () =>
|
|
45
|
+
node: () => node77,
|
|
46
|
+
parse: () => parse4,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
49
49
|
import { Model } from "@opencode/schema/model";
|
|
50
50
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
|
-
import { Event as
|
|
54
|
-
var
|
|
53
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
54
|
+
var ID12 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -74,9 +74,9 @@ var Info22 = Model.Info;
|
|
|
74
74
|
class Service74 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
76
|
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
77
|
-
const providers = yield*
|
|
78
|
-
const bus = yield*
|
|
79
|
-
const location = yield*
|
|
77
|
+
const providers = yield* Service76;
|
|
78
|
+
const bus = yield* Service82;
|
|
79
|
+
const location = yield* Service80;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
81
81
|
let input;
|
|
82
82
|
const state = create3({
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID13.opencode, ID13.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node77 = makeLocationNode({ service: Service74, layer, deps: [node79, node85, node83] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -271,12 +271,12 @@ function compatibility2(input) {
|
|
|
271
271
|
return;
|
|
272
272
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function parse4(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info22, Service74, node77, supportsText2, compatibility2, parse4, exports_model2, Event14 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -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
|
Event19,
|
|
7
|
-
|
|
7
|
+
Service79,
|
|
8
8
|
node82
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-tcsxprfy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service72,
|
|
12
|
+
node75
|
|
13
|
+
} from "./schema-cr4v66wc.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node83
|
|
20
|
+
} from "./schema-hbmj972w.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-7w2ypzdf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-jspw90cp.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-2dah0fcg.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./schema-1x2knyw4.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service75,
|
|
37
|
+
Event15,
|
|
38
|
+
node78
|
|
39
|
+
} from "./schema-dh1g62nj.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./schema-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options7,
|
|
49
|
+
Service: () => Service71,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured9,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer24,
|
|
54
|
+
node: () => node74,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options7 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -76,7 +76,7 @@ var Options6 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service71 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -100,16 +100,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
100
100
|
return document ? next.set(integrationID, document) : next;
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
|
-
return Context.empty().pipe(Context.add(
|
|
103
|
+
return Context.empty().pipe(Context.add(Service71, service), Context.add(Test2, service));
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
|
-
const location = yield*
|
|
108
|
-
const watcher = yield*
|
|
109
|
-
const bus = yield*
|
|
110
|
-
const credentials = yield*
|
|
107
|
+
const location = yield* Service80;
|
|
108
|
+
const watcher = yield* Service72;
|
|
109
|
+
const bus = yield* Service82;
|
|
110
|
+
const credentials = yield* Service79;
|
|
111
111
|
const globalService = yield* Global.Service;
|
|
112
|
-
const wellknown = yield*
|
|
112
|
+
const wellknown = yield* Service75;
|
|
113
113
|
const processes = yield* AppProcess.Service;
|
|
114
114
|
const integrations = new Map;
|
|
115
115
|
const context = yield* Effect.context();
|
|
@@ -264,7 +264,7 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
264
264
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
265
265
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
267
|
-
yield* bus.subscribe(
|
|
267
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
268
268
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
269
269
|
if (!wellknown.snapshot().length)
|
|
270
270
|
return Effect.void;
|
|
@@ -292,7 +292,7 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
292
292
|
`);
|
|
293
293
|
yield* requestReload;
|
|
294
294
|
}, (effect) => updateLock.withPermit(effect));
|
|
295
|
-
return
|
|
295
|
+
return Service71.of({
|
|
296
296
|
entries: Effect.fnUntraced(function* () {
|
|
297
297
|
return configs;
|
|
298
298
|
}),
|
|
@@ -312,22 +312,22 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}));
|
|
315
|
-
function
|
|
315
|
+
function configured9(options) {
|
|
316
316
|
return makeLocationNode({
|
|
317
|
-
service:
|
|
318
|
-
layer:
|
|
317
|
+
service: Service71,
|
|
318
|
+
layer: layer24(options),
|
|
319
319
|
deps: [
|
|
320
|
-
|
|
321
|
-
|
|
320
|
+
node75,
|
|
321
|
+
node85,
|
|
322
322
|
FSUtil.node,
|
|
323
323
|
Global.node,
|
|
324
|
-
|
|
324
|
+
node83,
|
|
325
325
|
node82,
|
|
326
|
-
|
|
326
|
+
node78,
|
|
327
327
|
AppProcess.node
|
|
328
328
|
]
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var
|
|
331
|
+
var node74 = configured9();
|
|
332
332
|
|
|
333
|
-
export { latest2,
|
|
333
|
+
export { latest2, Options7, Service71, Test2, testLayer2, layer24, configured9, node74, exports_config };
|