@opencode/core 0.0.0-dev-158 → 0.0.0-dev-163
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{formatter-034tev2y.js → skill-034tev2y.js} +2 -2
- package/dist/chunks/{formatter-6qazmz99.js → skill-05ew005d.js} +12 -12
- package/dist/chunks/{formatter-xppfe2fc.js → skill-0a5dxn0x.js} +6 -6
- package/dist/chunks/{formatter-zgd8t41s.js → skill-0anyt1n6.js} +9 -9
- package/dist/chunks/{formatter-5ryxmec5.js → skill-0ep44wk4.js} +6 -6
- package/dist/chunks/{formatter-hmr6cy4x.js → skill-14zytdp5.js} +24 -24
- package/dist/chunks/{formatter-q0zr1qvh.js → skill-19sn1tff.js} +29 -29
- package/dist/chunks/{formatter-1ep2p91f.js → skill-1ep2p91f.js} +2 -2
- package/dist/chunks/{formatter-dxx03d8y.js → skill-1k90x68w.js} +15 -15
- package/dist/chunks/{formatter-xt0z8zst.js → skill-1kn6jdkn.js} +4 -4
- package/dist/chunks/{formatter-zxf918eb.js → skill-1rjhx841.js} +16 -16
- package/dist/chunks/{formatter-1x2knyw4.js → skill-1x2knyw4.js} +1 -1
- package/dist/chunks/{formatter-mvfz5wz8.js → skill-1yphnjpe.js} +31 -31
- package/dist/chunks/{formatter-204s3925.js → skill-204s3925.js} +1 -1
- package/dist/chunks/{formatter-2eqy3gj5.js → skill-2bvfvv2f.js} +11 -11
- package/dist/chunks/{formatter-6qzks2cs.js → skill-2dfqqm60.js} +30 -30
- package/dist/chunks/{formatter-p8047wat.js → skill-2h215caw.js} +6 -6
- package/dist/chunks/{formatter-9axz1114.js → skill-2kg89srt.js} +4 -4
- package/dist/chunks/{formatter-932fxf16.js → skill-2kr5775s.js} +22 -22
- package/dist/chunks/{formatter-4mppp49g.js → skill-30nyfavy.js} +3 -3
- package/dist/chunks/{formatter-bmvsb49w.js → skill-32jh04q0.js} +22 -22
- package/dist/chunks/{formatter-d0d9kmtc.js → skill-37vw2nj8.js} +25 -25
- package/dist/chunks/{formatter-r1gtje4t.js → skill-3f40a73m.js} +48 -48
- package/dist/chunks/{formatter-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-haf3v3hy.js → skill-3j1m3tq4.js} +5 -5
- package/dist/chunks/{formatter-d9jhw6m8.js → skill-3jcbynxa.js} +10 -10
- package/dist/chunks/{formatter-3nnrz6f6.js → skill-3nnrz6f6.js} +1 -1
- package/dist/chunks/{formatter-veq51cxc.js → skill-3rrjy1gv.js} +9 -9
- package/dist/chunks/{formatter-tpjvtcx1.js → skill-3vjmwmxb.js} +9 -9
- package/dist/chunks/{formatter-njz5cw42.js → skill-405qk1h7.js} +14 -14
- package/dist/chunks/{formatter-tc1bwtzj.js → skill-4az1a8cs.js} +6 -6
- package/dist/chunks/{formatter-43d5xc6d.js → skill-4cse8p3m.js} +19 -19
- package/dist/chunks/{formatter-te7zt5ht.js → skill-4j373htp.js} +25 -25
- package/dist/chunks/{formatter-ntxfz25d.js → skill-4np0zqes.js} +11 -11
- package/dist/chunks/{formatter-4pyp9zr9.js → skill-4pyp9zr9.js} +1 -1
- package/dist/chunks/{formatter-4v008n1t.js → skill-4v008n1t.js} +1 -1
- package/dist/chunks/{formatter-fzfqydht.js → skill-4wwq8aee.js} +12 -12
- package/dist/chunks/{formatter-dyqb2r8n.js → skill-55k6j35k.js} +11 -11
- package/dist/chunks/{formatter-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-8k57btrj.js → skill-5mnzh5sc.js} +10 -10
- package/dist/chunks/{formatter-wbgzj0hw.js → skill-5pshy8sw.js} +2 -2
- package/dist/chunks/{formatter-bj9smzzw.js → skill-5qnntnk2.js} +1 -1
- package/dist/chunks/{formatter-yb49ndda.js → skill-5s40rnay.js} +14 -14
- package/dist/chunks/{formatter-kyy1rfta.js → skill-5wcw8brx.js} +14 -14
- package/dist/chunks/{formatter-vh9ps45p.js → skill-5wxa8xqp.js} +29 -29
- package/dist/chunks/{formatter-pbbktnbz.js → skill-5x26af84.js} +4 -4
- package/dist/chunks/{formatter-bjhzkqyk.js → skill-61ennm6n.js} +4 -4
- package/dist/chunks/{formatter-g9wm4gaf.js → skill-61qx5y3q.js} +41 -41
- package/dist/chunks/{formatter-xqwysx3w.js → skill-6ap3eaze.js} +21 -21
- package/dist/chunks/{formatter-6esdw8yj.js → skill-6esdw8yj.js} +1 -1
- package/dist/chunks/{formatter-w97d1ng8.js → skill-6mtbmyr8.js} +93 -93
- package/dist/chunks/{formatter-yj5kgc24.js → skill-6p4z6825.js} +2 -2
- package/dist/chunks/{formatter-tted8b2w.js → skill-6pzwfz31.js} +19 -19
- package/dist/chunks/{formatter-0ah4y9r0.js → skill-6y7j79mm.js} +6 -6
- package/dist/chunks/{formatter-2q4pnacr.js → skill-73bccqdv.js} +3 -3
- package/dist/chunks/{formatter-w8qtt4th.js → skill-76cb1hcw.js} +4 -4
- package/dist/chunks/{formatter-nah043kf.js → skill-770pw0s1.js} +4 -4
- package/dist/chunks/{formatter-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-daz8d7a2.js → skill-7bx2zmjp.js} +7 -7
- package/dist/chunks/{formatter-kykpneqp.js → skill-7gywx03k.js} +35 -35
- package/dist/chunks/{formatter-928cg9e5.js → skill-7rqmk5w1.js} +16 -16
- package/dist/chunks/{formatter-7w2ypzdf.js → skill-7w2ypzdf.js} +1 -1
- package/dist/chunks/{formatter-h1pm2szr.js → skill-8035m94h.js} +34 -34
- package/dist/chunks/skill-86pkm0fq.js +26 -0
- package/dist/chunks/{formatter-xwbhabkb.js → skill-89q2nt0d.js} +18 -18
- package/dist/chunks/{formatter-rte3fk8q.js → skill-8fx14zah.js} +11 -11
- package/dist/chunks/{formatter-11hfp36g.js → skill-8jztxfpf.js} +4 -4
- package/dist/chunks/{formatter-3qx04rj6.js → skill-8qkh3bqb.js} +11 -11
- package/dist/chunks/{formatter-8wtp7s3z.js → skill-8wtp7s3z.js} +1 -1
- package/dist/chunks/{formatter-90zstvax.js → skill-90zstvax.js} +1 -1
- package/dist/chunks/{formatter-n7pbqev4.js → skill-913wjczz.js} +1 -1
- package/dist/chunks/{formatter-fghrgnwr.js → skill-91kh0p1x.js} +12 -12
- package/dist/chunks/{formatter-8x6dz44a.js → skill-9437wt4d.js} +5 -5
- package/dist/chunks/{formatter-1543h8d7.js → skill-97vq97zw.js} +12 -12
- package/dist/chunks/{formatter-hy59nt95.js → skill-98qreggg.js} +8 -8
- package/dist/chunks/{formatter-exxfv8pa.js → skill-9a8sby2n.js} +10 -10
- package/dist/chunks/{formatter-ydnwtp95.js → skill-9beykft8.js} +2 -2
- package/dist/chunks/{formatter-wefmyskm.js → skill-9ca2rzpk.js} +43 -43
- package/dist/chunks/{formatter-bf446n6z.js → skill-9cxh8y9p.js} +6 -6
- package/dist/chunks/{formatter-bqm8vams.js → skill-9fvg35k7.js} +32 -32
- package/dist/chunks/{formatter-2pxa8g39.js → skill-9k7nxg7x.js} +13 -13
- package/dist/chunks/{formatter-aedwt843.js → skill-9kg5w032.js} +8 -8
- package/dist/chunks/{formatter-yq3rxhjy.js → skill-9nmb08f7.js} +15 -15
- package/dist/chunks/{formatter-dm6ksgvz.js → skill-9r049acs.js} +8 -8
- package/dist/chunks/{formatter-t6gnwazt.js → skill-a03n3gm8.js} +45 -45
- package/dist/chunks/{formatter-bxe49cp6.js → skill-a54tt8tb.js} +12 -12
- package/dist/chunks/{formatter-g1mxmsmn.js → skill-afqm4g5m.js} +9 -9
- package/dist/chunks/{formatter-e2ne77ac.js → skill-agqd6nxz.js} +4 -4
- package/dist/chunks/{formatter-a52hhzb9.js → skill-aj5e77t9.js} +19 -19
- package/dist/chunks/{formatter-vfp0pkkd.js → skill-am9yzy1e.js} +45 -45
- package/dist/chunks/{formatter-8sm9cepf.js → skill-aq94p1jm.js} +7 -7
- package/dist/chunks/{formatter-1k41bg7a.js → skill-arbe3xjc.js} +24 -24
- package/dist/chunks/{formatter-0gb5rjdd.js → skill-aygdtr2v.js} +24 -24
- package/dist/chunks/{formatter-ayjs7tqn.js → skill-ayjs7tqn.js} +2 -2
- package/dist/chunks/{formatter-knjx9f3g.js → skill-b29fyxt2.js} +26 -26
- package/dist/chunks/{formatter-5ff5nded.js → skill-b3d7ny6a.js} +18 -18
- package/dist/chunks/{formatter-8m1jxte5.js → skill-b61v6d5c.js} +21 -21
- package/dist/chunks/{formatter-394cy0eq.js → skill-b6j6r4ej.js} +17 -17
- package/dist/chunks/{formatter-b6vsg801.js → skill-b6vsg801.js} +2 -2
- package/dist/chunks/{formatter-1gnb2fcg.js → skill-bamxkp5g.js} +33 -33
- package/dist/chunks/{formatter-jyhg77x6.js → skill-ban6zjwx.js} +8 -8
- package/dist/chunks/{formatter-46ka2acm.js → skill-bcdcevt1.js} +1 -1
- package/dist/chunks/{formatter-8a2eg3tn.js → skill-bgt8yv0k.js} +5 -5
- package/dist/chunks/{formatter-7a1enj4j.js → skill-bmw1c1w2.js} +8 -8
- package/dist/chunks/{formatter-bstexjd6.js → skill-bstexjd6.js} +1 -1
- package/dist/chunks/{formatter-0n41t4zq.js → skill-btb3pt6y.js} +23 -23
- package/dist/chunks/{formatter-bvjg0ay9.js → skill-bvczkwhn.js} +6 -6
- package/dist/chunks/{formatter-03v86jt2.js → skill-c8r01r98.js} +20 -20
- package/dist/chunks/{formatter-t211gxpv.js → skill-cpvd08na.js} +4 -4
- package/dist/chunks/{formatter-cwrgdav8.js → skill-cwrgdav8.js} +2 -2
- package/dist/chunks/{formatter-d2887f8n.js → skill-d2887f8n.js} +1 -1
- package/dist/chunks/{formatter-gtz8ev1y.js → skill-d390zwf3.js} +8 -8
- package/dist/chunks/{formatter-d4v9tmah.js → skill-d4v9tmah.js} +2 -2
- package/dist/chunks/{formatter-j7v80qje.js → skill-d8bep251.js} +14 -14
- package/dist/chunks/{formatter-24jfnbzz.js → skill-ddfxq7x3.js} +22 -22
- package/dist/chunks/{formatter-n2ppx7kr.js → skill-ddmr4kyb.js} +6 -6
- package/dist/chunks/{formatter-f46kh10v.js → skill-dpv3c7v6.js} +18 -18
- package/dist/chunks/{formatter-dt77769w.js → skill-dt77769w.js} +1 -1
- package/dist/chunks/{formatter-52eavcth.js → skill-e44cxw6m.js} +24 -24
- package/dist/chunks/{formatter-snrj9yj5.js → skill-e7rv6cb7.js} +13 -13
- package/dist/chunks/{formatter-e834z07m.js → skill-e834z07m.js} +1 -1
- package/dist/chunks/{formatter-tgt0ac12.js → skill-eb8kyfw1.js} +18 -18
- package/dist/chunks/{formatter-avpbktef.js → skill-ee9g468w.js} +14 -14
- package/dist/chunks/{formatter-jvta4zhp.js → skill-en8b94nd.js} +8 -8
- package/dist/chunks/{formatter-qgndh80m.js → skill-epat7ra2.js} +14 -14
- package/dist/chunks/{formatter-7jgy946c.js → skill-epvvzesw.js} +9 -9
- package/dist/chunks/{formatter-wyenqtwf.js → skill-eqz11q1g.js} +4 -4
- package/dist/chunks/{formatter-4pev1txy.js → skill-essbs1k7.js} +13 -13
- package/dist/chunks/{formatter-spsvk66e.js → skill-f8hh9n1c.js} +3 -3
- package/dist/chunks/{formatter-6vygy4ry.js → skill-fab4ec1x.js} +15 -15
- package/dist/chunks/{formatter-fffv3p7h.js → skill-fffv3p7h.js} +1 -1
- package/dist/chunks/skill-fg9gx7xd.js +257 -0
- package/dist/chunks/{formatter-prq7xxp2.js → skill-fg9p65nk.js} +6 -6
- package/dist/chunks/{formatter-1628er8f.js → skill-fmc822pf.js} +10 -10
- package/dist/chunks/{formatter-6cycb20b.js → skill-fvjhjrzf.js} +30 -30
- package/dist/chunks/{formatter-9qcg53ez.js → skill-g1ay4zd8.js} +9 -9
- package/dist/chunks/{formatter-33nja2we.js → skill-ga0fj4ee.js} +14 -14
- package/dist/chunks/{formatter-n7bnkb3p.js → skill-gcjdgkn2.js} +9 -9
- package/dist/chunks/{formatter-gg8p9cgs.js → skill-gg8p9cgs.js} +3 -3
- package/dist/chunks/{formatter-4h077zh3.js → skill-gs87gpdt.js} +11 -11
- package/dist/chunks/{formatter-ezm560et.js → skill-h03fjw9b.js} +25 -25
- package/dist/chunks/{formatter-wkhea23b.js → skill-hbjf5446.js} +17 -17
- package/dist/chunks/{formatter-c5kjsz6q.js → skill-hd3k4wz8.js} +4 -4
- package/dist/chunks/{formatter-hdfrs5mg.js → skill-hdfrs5mg.js} +2 -2
- package/dist/chunks/{formatter-pqf7d7qx.js → skill-hmk43ts9.js} +28 -28
- package/dist/chunks/{formatter-hpg1pkwy.js → skill-hpg1pkwy.js} +1 -1
- package/dist/chunks/{formatter-71wc3kpp.js → skill-hqkbkg9n.js} +23 -23
- package/dist/chunks/{formatter-ga1rq104.js → skill-j2enqxax.js} +17 -17
- package/dist/chunks/{formatter-b954wvww.js → skill-j6684nar.js} +6 -6
- package/dist/chunks/{formatter-szcgc7h4.js → skill-ja63h2sr.js} +5 -5
- package/dist/chunks/{formatter-hhp2fdnq.js → skill-jchw1kv4.js} +18 -18
- package/dist/chunks/{formatter-jfaecv01.js → skill-jfaecv01.js} +1 -1
- package/dist/chunks/{formatter-p4yppz28.js → skill-jsw35a0h.js} +22 -22
- package/dist/chunks/{formatter-jtnps1zs.js → skill-jtnps1zs.js} +2 -2
- package/dist/chunks/{formatter-8zkf5cgt.js → skill-k3cw2t6y.js} +6 -6
- package/dist/chunks/{formatter-g9rrt98n.js → skill-k4krbr57.js} +4 -4
- package/dist/chunks/{formatter-tee81xg3.js → skill-k4nkwk6k.js} +28 -28
- package/dist/chunks/{formatter-k814nvkf.js → skill-k814nvkf.js} +1 -1
- package/dist/chunks/{formatter-snb901t2.js → skill-k9zkdd2y.js} +4 -4
- package/dist/chunks/{formatter-r6cac6pk.js → skill-kewetrmz.js} +17 -17
- package/dist/chunks/{formatter-dqkdjpwm.js → skill-kmhtvf6k.js} +91 -91
- package/dist/chunks/{formatter-tc4kyz8e.js → skill-ks317rcp.js} +2 -2
- package/dist/chunks/{formatter-kt3bjfbg.js → skill-kt3bjfbg.js} +1 -1
- package/dist/chunks/{formatter-m1714858.js → skill-m1714858.js} +1 -1
- package/dist/chunks/{formatter-djt3gtf7.js → skill-m29vy67z.js} +33 -33
- package/dist/chunks/{formatter-g7esga4v.js → skill-m37sd98t.js} +7 -7
- package/dist/chunks/{formatter-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-5yg7bvsq.js → skill-mn0e9cd8.js} +29 -29
- package/dist/chunks/{formatter-gzq9abr2.js → skill-mpn128rf.js} +49 -49
- package/dist/chunks/{formatter-t2ad8a1g.js → skill-ms1wawne.js} +21 -21
- package/dist/chunks/{formatter-q4fqeak2.js → skill-mx8m5z6n.js} +36 -36
- package/dist/chunks/{formatter-sqkx7p5n.js → skill-n1dbvrxa.js} +15 -15
- package/dist/chunks/{formatter-19qgrets.js → skill-n6nq4z64.js} +4 -4
- package/dist/chunks/{formatter-7jhpt6w3.js → skill-n85dj6ja.js} +25 -25
- package/dist/chunks/{formatter-g9w27t38.js → skill-nd2dg6zm.js} +4 -4
- package/dist/chunks/{formatter-bsh8r5kc.js → skill-ndec2g7f.js} +9 -9
- package/dist/chunks/{formatter-10vw2nd8.js → skill-ng1eyj3g.js} +2 -2
- package/dist/chunks/{formatter-na9deryv.js → skill-ngz6cn3c.js} +16 -16
- package/dist/chunks/{formatter-j6wmqcnw.js → skill-njmbjpvg.js} +13 -13
- package/dist/chunks/{formatter-qxdpy5f9.js → skill-nkd8v4pa.js} +6 -6
- package/dist/chunks/{formatter-kddgr42t.js → skill-nkraqmq3.js} +13 -13
- package/dist/chunks/{formatter-45ggea5m.js → skill-nr1dehp0.js} +35 -35
- package/dist/chunks/{formatter-6rr0vdf1.js → skill-ntadaps1.js} +18 -18
- package/dist/chunks/{formatter-485n4jd3.js → skill-nvhett0n.js} +21 -21
- package/dist/chunks/{formatter-p015t6z3.js → skill-p015t6z3.js} +2 -2
- package/dist/chunks/{formatter-k9dfpmz2.js → skill-p6dffgb0.js} +17 -17
- package/dist/chunks/{formatter-p7vhpwh8.js → skill-p7vhpwh8.js} +1 -1
- package/dist/chunks/{formatter-yxrr31d8.js → skill-pae7shj2.js} +9 -9
- package/dist/chunks/{formatter-nk8ph50s.js → skill-pjvr3qb3.js} +26 -26
- package/dist/chunks/{formatter-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-me7kxg3j.js → skill-pm3q2zxn.js} +8 -8
- package/dist/chunks/{formatter-xvmzfnq9.js → skill-pmyeg67v.js} +26 -26
- package/dist/chunks/{formatter-7a92ptrh.js → skill-pq0kc3ar.js} +29 -29
- package/dist/chunks/{formatter-61a4qrs4.js → skill-pr5m753x.js} +5 -5
- package/dist/chunks/{formatter-7zczqtrc.js → skill-pss36gg9.js} +11 -11
- package/dist/chunks/{formatter-fw94v8hy.js → skill-q2qaf7wx.js} +9 -9
- package/dist/chunks/{formatter-q63cb7ap.js → skill-q63cb7ap.js} +3 -3
- package/dist/chunks/{formatter-qkkhqeq2.js → skill-qdndt55z.js} +32 -32
- package/dist/chunks/{formatter-p8rfhtpq.js → skill-qk1k47zm.js} +32 -32
- package/dist/chunks/{formatter-nrtygxmh.js → skill-qnqasnye.js} +6 -6
- package/dist/chunks/{formatter-qp7r0hxv.js → skill-qp7r0hxv.js} +1 -1
- package/dist/chunks/{formatter-7m2ptj4e.js → skill-qw96sn3j.js} +25 -25
- package/dist/chunks/{formatter-av82cvsk.js → skill-qz3x11k1.js} +159 -159
- package/dist/chunks/{formatter-fwsczgrj.js → skill-qz8ywq1d.js} +11 -11
- package/dist/chunks/{formatter-cgn6nf8q.js → skill-qzsrq0m2.js} +2 -2
- package/dist/chunks/{formatter-r0yr0wbs.js → skill-r0yr0wbs.js} +1 -1
- package/dist/chunks/{formatter-m0kgc17n.js → skill-r2rkpkst.js} +4 -4
- package/dist/chunks/{formatter-r542h3bh.js → skill-r542h3bh.js} +1 -1
- package/dist/chunks/{formatter-28hr9nbt.js → skill-r7eqq3d9.js} +51 -51
- package/dist/chunks/{formatter-mvyy6qpx.js → skill-rag25emf.js} +34 -34
- package/dist/chunks/{formatter-p1njj0by.js → skill-raytzsm9.js} +9 -9
- package/dist/chunks/{formatter-rb9dy4dg.js → skill-rb9dy4dg.js} +1 -1
- package/dist/chunks/{formatter-hkv4p8qn.js → skill-rby3wm67.js} +23 -23
- package/dist/chunks/{formatter-ygqxcxbg.js → skill-rfk05w8t.js} +7 -7
- package/dist/chunks/{formatter-3n5jkvcw.js → skill-rfy1qsv0.js} +5 -5
- package/dist/chunks/{formatter-w4psgs9e.js → skill-rmpw1pc8.js} +32 -32
- package/dist/chunks/{formatter-grfya7tj.js → skill-rmv4btrj.js} +13 -13
- package/dist/chunks/{formatter-txf773fv.js → skill-rpmrbcva.js} +4 -4
- package/dist/chunks/{formatter-rt5dr6hb.js → skill-rt5dr6hb.js} +1 -1
- package/dist/chunks/{formatter-q3g8wbya.js → skill-rxe7p33y.js} +11 -11
- package/dist/chunks/{formatter-t2k4jjyh.js → skill-s25y11dt.js} +5 -5
- package/dist/chunks/{formatter-6v3s9y2a.js → skill-s7wsa77y.js} +27 -27
- package/dist/chunks/{formatter-sa3fpqfw.js → skill-sa3fpqfw.js} +2 -2
- package/dist/chunks/{formatter-jy1r7v62.js → skill-sgzfd5gg.js} +18 -18
- package/dist/chunks/{formatter-8vhprsgd.js → skill-sp9dvky5.js} +19 -19
- package/dist/chunks/{formatter-sqjzf8x2.js → skill-sqjzf8x2.js} +1 -1
- package/dist/chunks/{formatter-svcy3p9a.js → skill-svcy3p9a.js} +1 -1
- package/dist/chunks/{formatter-96te9d4b.js → skill-sykc9y4a.js} +5 -5
- package/dist/chunks/{formatter-tczq8hjw.js → skill-tczq8hjw.js} +1 -1
- package/dist/chunks/{formatter-g8jkqxma.js → skill-tfmd9fwy.js} +50 -50
- package/dist/chunks/{formatter-wmaqz1y8.js → skill-tjsmtshz.js} +29 -29
- package/dist/chunks/{formatter-re939ggz.js → skill-tk2afw03.js} +39 -39
- package/dist/chunks/{formatter-stdt3xb1.js → skill-trcq3z22.js} +11 -11
- package/dist/chunks/{formatter-aj89322e.js → skill-ttqtdfz1.js} +5 -5
- package/dist/chunks/{formatter-sg8xjaz5.js → skill-tvmvfkbc.js} +27 -27
- package/dist/chunks/{formatter-twssxy5n.js → skill-twssxy5n.js} +2 -2
- package/dist/chunks/{formatter-v2r1d0zg.js → skill-v2r1d0zg.js} +1 -1
- package/dist/chunks/{formatter-dxb8mgza.js → skill-v9cr40x8.js} +12 -12
- package/dist/chunks/{formatter-dr3tmh6a.js → skill-v9wmh59m.js} +15 -15
- package/dist/chunks/{formatter-df6rebg4.js → skill-vaw3dvy1.js} +54 -54
- package/dist/chunks/{formatter-vg0erq9k.js → skill-vb80j1wh.js} +3 -3
- package/dist/chunks/{formatter-22ajefah.js → skill-vnycbc10.js} +21 -21
- package/dist/chunks/{formatter-c5zneedc.js → skill-vq14rzh9.js} +20 -20
- package/dist/chunks/{formatter-pyzjd10w.js → skill-vtgxp655.js} +2 -2
- package/dist/chunks/{formatter-gy6xyr2j.js → skill-vzv6y601.js} +27 -27
- package/dist/chunks/{formatter-5enarcya.js → skill-w2eysc6j.js} +6 -6
- package/dist/chunks/{formatter-z96chytr.js → skill-w2fpj83c.js} +35 -35
- package/dist/chunks/{formatter-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-wakvkjy4.js → skill-wakvkjy4.js} +1 -1
- package/dist/chunks/{formatter-56xn1hkj.js → skill-wcx1pj5t.js} +28 -28
- package/dist/chunks/{formatter-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-5vtsbcft.js → skill-wdyn1ab2.js} +11 -11
- package/dist/chunks/{formatter-7a3gzg35.js → skill-wer98kyb.js} +8 -8
- package/dist/chunks/{formatter-0fgefsmm.js → skill-wf6trj2q.js} +15 -15
- package/dist/chunks/{formatter-aprzax25.js → skill-wg6jstvf.js} +20 -20
- package/dist/chunks/{formatter-xjpxpj55.js → skill-wkw52rsc.js} +14 -14
- package/dist/chunks/{formatter-wnhgecwx.js → skill-wnhgecwx.js} +1 -1
- package/dist/chunks/{formatter-w687dnns.js → skill-wr3re1en.js} +4 -4
- package/dist/chunks/{formatter-w670rhyr.js → skill-wzy85xvx.js} +24 -24
- package/dist/chunks/{formatter-m6ha5htp.js → skill-xdf117h8.js} +331 -331
- package/dist/chunks/{formatter-taahtb0c.js → skill-xe5v3ymg.js} +6 -6
- package/dist/chunks/{formatter-fng6wk28.js → skill-xm8wrjs5.js} +11 -11
- package/dist/chunks/{formatter-51s5kn8z.js → skill-xpadfym9.js} +18 -18
- package/dist/chunks/{formatter-zs0e4nbm.js → skill-xybtmwwq.js} +23 -23
- package/dist/chunks/{formatter-cfa85z7t.js → skill-y0ha8pg7.js} +37 -37
- package/dist/chunks/{formatter-3ga08nvd.js → skill-yamg44ys.js} +11 -11
- package/dist/chunks/{formatter-yara3q77.js → skill-yara3q77.js} +2 -2
- package/dist/chunks/{formatter-yb20nhc3.js → skill-yb20nhc3.js} +1 -1
- package/dist/chunks/{formatter-4dn49050.js → skill-yhxq0ph1.js} +30 -30
- package/dist/chunks/{formatter-pakndkhn.js → skill-ymz7p2c9.js} +3 -3
- package/dist/chunks/{formatter-q28pv36z.js → skill-yptr342z.js} +38 -38
- package/dist/chunks/{formatter-6q4pe2tt.js → skill-yqh7zqgy.js} +11 -11
- package/dist/chunks/{formatter-5cn8xe5s.js → skill-z0b8nnqv.js} +18 -18
- package/dist/chunks/{formatter-z38nccrw.js → skill-z38nccrw.js} +1 -1
- package/dist/chunks/{formatter-fe32wyxe.js → skill-z6yfre4a.js} +12 -12
- package/dist/chunks/skill-z7bdqmx5.js +18 -0
- package/dist/chunks/{formatter-n7s957jj.js → skill-z7efmy73.js} +10 -10
- package/dist/chunks/{formatter-dht0teee.js → skill-zccn1z3t.js} +5 -5
- package/dist/chunks/{formatter-txvbkf9b.js → skill-zec3dvrx.js} +51 -51
- package/dist/chunks/{formatter-d8p3t516.js → skill-zgmrepvs.js} +4 -4
- package/dist/chunks/{formatter-408rv1ek.js → skill-zjsdvc9v.js} +77 -77
- package/dist/chunks/{formatter-5rf46hdm.js → skill-znk3jx2t.js} +25 -25
- package/dist/chunks/{formatter-0dyf8jqq.js → skill-ztwsgc1d.js} +60 -60
- package/dist/chunks/{formatter-pf9gr1ec.js → skill-zvp0bfyt.js} +3 -3
- package/dist/chunks/{formatter-mk6v4p35.js → skill-zxv2n26m.js} +13 -13
- 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 +85 -85
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +3 -3
- 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 +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +111 -111
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -365
- package/dist/location.js +93 -93
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +115 -115
- 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 +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- 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 +121 -121
- 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 +121 -121
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- 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 +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- 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 +162 -162
- 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 +231 -231
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +136 -136
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +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 +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +230 -230
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +150 -150
- package/dist/snapshot.js +99 -99
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +156 -156
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +143 -143
- package/dist/tool/plugin/websearch.js +143 -143
- package/dist/tool/plugin/write.js +152 -152
- 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 +5 -5
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +108 -108
- package/package.json +8 -8
- package/dist/chunks/formatter-3zat5gdw.js +0 -26
- package/dist/chunks/formatter-a885h41h.js +0 -257
- package/dist/chunks/formatter-k62y2wy8.js +0 -18
- /package/dist/chunks/{formatter-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1jakw16s.js → skill-1jakw16s.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2bv980vf.js → skill-2bv980vf.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4m86bj6y.js → skill-4m86bj6y.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-5w3e23ze.js → skill-5w3e23ze.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a058387c.js → skill-a058387c.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-beh6qq61.js → skill-beh6qq61.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cqv5kn06.js → skill-cqv5kn06.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fkpq3x5p.js → skill-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → skill-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jwr30sdr.js → skill-jwr30sdr.js} +0 -0
- /package/dist/chunks/{formatter-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → skill-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-ncqqe42p.js → skill-ncqqe42p.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-p71gwv9c.js → skill-p71gwv9c.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
stringify2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-1jakw16s.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-bgt8yv0k.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./skill-ngz6cn3c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./skill-rmpw1pc8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./skill-e44cxw6m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service86
|
|
12
|
+
} from "./skill-xm8wrjs5.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-0ep44wk4.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-bgt8yv0k.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-r542h3bh.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-30nyfavy.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-qnqasnye.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service84;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service80;
|
|
58
|
+
const toolOutput = yield* Service86;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make9 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
223
223
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
224
224
|
};
|
|
225
225
|
|
|
226
|
-
export { Outcome2,
|
|
226
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
6
|
ID13,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node80
|
|
9
|
+
} from "./skill-b29fyxt2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info4,
|
|
18
|
+
Service: () => Service18,
|
|
19
|
+
UnavailableError: () => UnavailableError3,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer10,
|
|
22
|
+
node: () => node20
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info4 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service18 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service76;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
45
|
const connection = yield* integrations.connection.active(ID13.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer26 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError3({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer26 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service18.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node20 = makeLocationNode({
|
|
72
|
+
service: Service18,
|
|
73
|
+
layer: layer10,
|
|
74
|
+
deps: [node80, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info4, UnavailableError3, Service18, layer10, node20, exports_usage_limits };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./skill-r7eqq3d9.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service60
|
|
13
|
+
} from "./skill-aygdtr2v.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service55
|
|
16
|
+
} from "./skill-5s40rnay.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service64
|
|
19
|
+
} from "./skill-tfmd9fwy.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service17,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-qw96sn3j.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service46,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-4cse8p3m.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service43
|
|
37
|
+
} from "./skill-zec3dvrx.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./skill-6mtbmyr8.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan2
|
|
43
|
+
} from "./skill-rfk05w8t.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./skill-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input13,
|
|
53
|
+
Plugin: () => Plugin15,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name13
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name13 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input13 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin15 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service20;
|
|
124
|
+
const jobs = yield* Service55;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service60;
|
|
127
|
+
const access = yield* Service17;
|
|
128
|
+
const shell = yield* Service43;
|
|
129
|
+
const shellSelect = yield* Service46;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service64;
|
|
132
|
+
const config = yield* Service69;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin42 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin42 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name13,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin42 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name13,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input13,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin42 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name13,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name13];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name13, DEFAULT_TIMEOUT_MS2, Input13, Plugin15, exports_shell };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-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: () => Info17,
|
|
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 Info17 = Schema.Union([Local2, Remote3]).annotate({ discriminator: "type" });
|
|
74
74
|
|
|
75
|
-
export { Local2, OAuth2, Remote3,
|
|
75
|
+
export { Local2, OAuth2, Remote3, Info17, exports_mcp5 };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-rb9dy4dg.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-sa3fpqfw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service81
|
|
14
|
+
} from "./skill-405qk1h7.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-wzy85xvx.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin34,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin34 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service81;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -588,4 +588,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
588
588
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
589
589
|
});
|
|
590
590
|
|
|
591
|
-
export {
|
|
591
|
+
export { Plugin34, exports_git };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-8qkh3bqb.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-w2eysc6j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin37,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin37 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin25 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin25 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint2, Plugin37, exports_parallel };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-0ep44wk4.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read4
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-1kn6jdkn.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-gg8p9cgs.js";
|
|
14
14
|
import {
|
|
15
15
|
initial2,
|
|
16
16
|
preview3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-5x26af84.js";
|
|
18
18
|
import {
|
|
19
19
|
User3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-fg9p65nk.js";
|
|
21
21
|
import {
|
|
22
22
|
hydrate2,
|
|
23
23
|
keepRefs2,
|
|
24
24
|
describe2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./skill-6y7j79mm.js";
|
|
26
26
|
import {
|
|
27
27
|
messageToText2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./skill-v2r1d0zg.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/history.ts
|
|
34
34
|
var exports_history = {};
|