@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,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service73
|
|
4
|
+
} from "./schema-kq6ta67e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service80
|
|
7
|
+
} from "./schema-hbmj972w.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service71
|
|
10
|
+
} from "./schema-ce2ydvyh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service47,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-afq6afk6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service21
|
|
17
|
+
} from "./schema-408p671s.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service11
|
|
20
|
+
} from "./schema-k2yq3k02.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-e834z07m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin43
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
39
39
|
import { ChildProcess } from "effect/process";
|
|
40
40
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
41
41
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
42
|
-
var
|
|
42
|
+
var Plugin43 = define({
|
|
43
43
|
id: "opencode.config.command",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
|
-
const config = yield*
|
|
45
|
+
const config = yield* Service71;
|
|
46
46
|
const fs = yield* FSUtil.Service;
|
|
47
47
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
48
48
|
if (entry.type === "document")
|
|
@@ -52,12 +52,12 @@ var Plugin21 = define({
|
|
|
52
52
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
53
53
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
54
54
|
});
|
|
55
|
-
const location = yield*
|
|
55
|
+
const location = yield* Service80;
|
|
56
56
|
const processes = yield* AppProcess.Service;
|
|
57
|
-
const shell = yield*
|
|
58
|
-
const sessions = yield*
|
|
59
|
-
const agents = yield*
|
|
60
|
-
const subagents = yield*
|
|
57
|
+
const shell = yield* Service47;
|
|
58
|
+
const sessions = yield* Service21;
|
|
59
|
+
const agents = yield* Service73;
|
|
60
|
+
const subagents = yield* Service11;
|
|
61
61
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
62
62
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
63
63
|
});
|
|
@@ -78,7 +78,7 @@ var Plugin21 = define({
|
|
|
78
78
|
name,
|
|
79
79
|
description: command.description,
|
|
80
80
|
execute: (input) => Effect.gen(function* () {
|
|
81
|
-
const agent = command.agent === undefined ? undefined :
|
|
81
|
+
const agent = command.agent === undefined ? undefined : ID11.make(command.agent);
|
|
82
82
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
83
83
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
84
84
|
id: command.model.model,
|
|
@@ -204,4 +204,4 @@ var argumentRegex = /\$(?:ARGUMENTS|([1-9]\d*))/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin43, exports_command2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
+
Service82,
|
|
4
|
+
node85
|
|
5
|
+
} from "./schema-5t9jfe1j.js";
|
|
6
|
+
import {
|
|
3
7
|
Service84,
|
|
4
8
|
node88
|
|
5
|
-
} from "./
|
|
6
|
-
import {
|
|
7
|
-
Service79,
|
|
8
|
-
node83
|
|
9
|
-
} from "./skill-nkraqmq3.js";
|
|
9
|
+
} from "./schema-5b4vr08c.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event15,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service75,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node78,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service75 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event15 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
57
57
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
58
58
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
61
61
|
const manifest = yield* inspect2(input.origin);
|
|
62
62
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
63
63
|
});
|
|
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
85
|
-
const bus = yield*
|
|
84
|
+
const kv = yield* Service84;
|
|
85
|
+
const bus = yield* Service82;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
88
88
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service75.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node78 = makeGlobalNode({ service: Service75, layer, deps: [httpClient, node88, node85] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service75, Event15, inspect2, resolve4, node78, exports_wellknown };
|
|
@@ -1,27 +1,27 @@
|
|
|
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
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-61ennm6n.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
ID14,
|
|
14
|
+
Service77,
|
|
15
15
|
node80,
|
|
16
16
|
Event17
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-qtfmf1tm.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node83
|
|
21
|
+
} from "./schema-hbmj972w.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_provider3, {
|
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
34
|
Event: () => Event16,
|
|
35
|
-
ID: () =>
|
|
35
|
+
ID: () => ID13,
|
|
36
36
|
Info: () => Info23,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider3,
|
|
39
39
|
Request: () => Request3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service76,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -333,7 +333,7 @@ var decode = Schema.decodeUnknownSync(Legacy);
|
|
|
333
333
|
|
|
334
334
|
// src/provider.ts
|
|
335
335
|
import { Event as Event16 } from "@opencode/schema/provider";
|
|
336
|
-
var
|
|
336
|
+
var ID13 = Provider.ID;
|
|
337
337
|
var AISDK_PREFIX2 = "aisdk:";
|
|
338
338
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
339
339
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -574,7 +574,7 @@ var Transport2 = Provider.Transport;
|
|
|
574
574
|
var Settings2 = Provider.Settings;
|
|
575
575
|
var Info23 = Provider.Info;
|
|
576
576
|
|
|
577
|
-
class
|
|
577
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
578
578
|
}
|
|
579
579
|
var definitions = new WeakMap;
|
|
580
580
|
function index(providerID, models) {
|
|
@@ -587,10 +587,10 @@ function index(providerID, models) {
|
|
|
587
587
|
definitions.set(models, indexes);
|
|
588
588
|
return result;
|
|
589
589
|
}
|
|
590
|
-
var layer = Layer.effect(
|
|
591
|
-
const bus = yield*
|
|
592
|
-
const integrations = yield*
|
|
593
|
-
const location = yield*
|
|
590
|
+
var layer = Layer.effect(Service76, Effect2.gen(function* () {
|
|
591
|
+
const bus = yield* Service82;
|
|
592
|
+
const integrations = yield* Service77;
|
|
593
|
+
const location = yield* Service80;
|
|
594
594
|
const state = create3({
|
|
595
595
|
name: "provider",
|
|
596
596
|
initial: () => new Map,
|
|
@@ -682,7 +682,7 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
|
|
|
682
682
|
const available = Array.from(records.values()).filter((record) => {
|
|
683
683
|
if (record.provider.activation === "disabled")
|
|
684
684
|
return false;
|
|
685
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
685
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
686
686
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
687
687
|
return false;
|
|
688
688
|
if (record.provider.activation === "enabled")
|
|
@@ -709,7 +709,7 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
|
|
|
709
709
|
});
|
|
710
710
|
});
|
|
711
711
|
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
712
|
-
return
|
|
712
|
+
return Service76.of({
|
|
713
713
|
transform: state.transform,
|
|
714
714
|
reload: state.reload,
|
|
715
715
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -718,7 +718,7 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
|
|
|
718
718
|
snapshot
|
|
719
719
|
});
|
|
720
720
|
}));
|
|
721
|
-
var node79 = makeLocationNode({ service:
|
|
721
|
+
var node79 = makeLocationNode({ service: Service76, layer, deps: [node85, node80, node83] });
|
|
722
722
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
723
723
|
const module = yield* Effect2.tryPromise({
|
|
724
724
|
try: () => {
|
|
@@ -740,4 +740,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
740
740
|
return module;
|
|
741
741
|
});
|
|
742
742
|
|
|
743
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
743
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info23, Service76, node79, exports_provider3, Event16 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./schema-0cfns17n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service42
|
|
10
|
+
} from "./schema-kxh38scf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input2,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin18,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name2,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name2 = "skill";
|
|
30
|
+
var Input2 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin18 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service42;
|
|
51
|
+
const permission = yield* Service67;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name2,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input2,
|
|
57
|
+
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name2,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin8 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name2, Input2, Output2, description2, toModelOutput2, Plugin18, exports_skill2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote3
|
|
@@ -70,6 +70,6 @@ var Remote3 = Schema.Struct({
|
|
|
70
70
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
71
71
|
})
|
|
72
72
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
73
|
-
var
|
|
73
|
+
var Info18 = Schema.Union([Local2, Remote3]).annotate({ discriminator: "type" });
|
|
74
74
|
|
|
75
|
-
export { Local2, OAuth2, Remote3,
|
|
75
|
+
export { Local2, OAuth2, Remote3, Info18, exports_mcp5 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node83
|
|
7
|
+
} from "./schema-hbmj972w.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service41,
|
|
10
|
+
node44
|
|
11
|
+
} from "./schema-cke2hwj1.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-76cb1hcw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service38,
|
|
25
|
+
configured: () => configured4,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node41
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service38 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
56
|
-
const location = yield*
|
|
57
|
-
const ripgrep = yield*
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service38, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service80;
|
|
57
|
+
const ripgrep = yield* Service41;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service38.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
123
|
-
const location = yield*
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service38, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service80;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
126
126
|
if (typeof state === "object" && state.result.ok)
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service52, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service38.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -200,16 +200,16 @@ var makeFffLayer2 = (create) => Layer.effect(Service52, Effect.gen(function* ()
|
|
|
200
200
|
}));
|
|
201
201
|
var fffLayer2 = makeFffLayer2(Fff.create);
|
|
202
202
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
203
|
-
const location = yield*
|
|
203
|
+
const location = yield* Service80;
|
|
204
204
|
if (location.workspaceID)
|
|
205
205
|
return ripgrepLayer;
|
|
206
206
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
207
207
|
return ripgrepLayer;
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured4(options) {
|
|
211
|
+
return makeLocationNode({ service: Service38, layer: layer(options), deps: [node83, node44] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node41 = configured4();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service38, makeFffLayer2, fffLayer2, configured4, node41, exports_search };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./schema-tbn2mnzh.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-1kn6jdkn.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-gg8p9cgs.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info7,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info7 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service86;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node35 = makeGlobalNode({ service: Service32, layer, deps: [node90] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info7, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node35, exports_instruction_entry };
|