@opencode/core 0.0.0-dev-414 → 0.0.0-dev-416
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +244 -244
- package/dist/bus.js +84 -84
- package/dist/chunks/{tool-output-58pttf49.js → rpc-003yp2qb.js} +14 -14
- package/dist/chunks/{tool-output-034tev2y.js → rpc-034tev2y.js} +2 -2
- package/dist/chunks/{tool-output-47ryrbsr.js → rpc-053t38hf.js} +34 -34
- package/dist/chunks/{tool-output-91hd72e6.js → rpc-0f2rj61r.js} +13 -13
- package/dist/chunks/{tool-output-m0nv2s6g.js → rpc-0wc0170a.js} +19 -19
- package/dist/chunks/{tool-output-2nz0hz4v.js → rpc-0x4avvrg.js} +6 -6
- package/dist/chunks/rpc-0z1kk8n9.js +66 -0
- package/dist/chunks/{tool-output-2mfvt79s.js → rpc-0ztp0khy.js} +40 -40
- package/dist/chunks/{tool-output-w626vwya.js → rpc-11kznhm7.js} +16 -16
- package/dist/chunks/{tool-output-vevkpw32.js → rpc-14wknv36.js} +27 -27
- package/dist/chunks/{tool-output-7tpyp9vw.js → rpc-160yv0cs.js} +8 -8
- package/dist/chunks/{tool-output-q8pshc7p.js → rpc-16jn7cn7.js} +31 -31
- package/dist/chunks/{tool-output-gm3aap8b.js → rpc-16mfx2c5.js} +16 -16
- package/dist/chunks/{tool-output-s1fq37pt.js → rpc-17fahn3m.js} +36 -36
- package/dist/chunks/{tool-output-1aqsckx4.js → rpc-1aqsckx4.js} +1 -1
- package/dist/chunks/{tool-output-1ep2p91f.js → rpc-1ep2p91f.js} +2 -2
- package/dist/chunks/{tool-output-y5f43ss0.js → rpc-1h062x6t.js} +19 -19
- package/dist/chunks/{tool-output-sbz71ybr.js → rpc-1scgcwfj.js} +3 -3
- package/dist/chunks/{tool-output-msd2a3qm.js → rpc-1v2g13eq.js} +4 -4
- package/dist/chunks/{tool-output-1x5nxxj6.js → rpc-1vk6hrwj.js} +19 -19
- package/dist/chunks/{tool-output-z1wjfz5r.js → rpc-1w279wcd.js} +5 -5
- package/dist/chunks/{tool-output-1x2knyw4.js → rpc-1x2knyw4.js} +1 -1
- package/dist/chunks/{tool-output-1yq9hg58.js → rpc-1yq9hg58.js} +1 -1
- package/dist/chunks/{tool-output-hjnjc3ts.js → rpc-233argac.js} +8 -8
- package/dist/chunks/{tool-output-25h84942.js → rpc-25h84942.js} +1 -1
- package/dist/chunks/{tool-output-k471febm.js → rpc-26e1psex.js} +15 -15
- package/dist/chunks/{tool-output-2p60zmnr.js → rpc-2p60zmnr.js} +2 -2
- package/dist/chunks/{tool-output-hk5d44cj.js → rpc-313zmk5k.js} +18 -18
- package/dist/chunks/{tool-output-38aws4xb.js → rpc-38aws4xb.js} +1 -1
- package/dist/chunks/{tool-output-m7xh3h0x.js → rpc-3gv0spa2.js} +4 -4
- package/dist/chunks/{tool-output-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-output-4b2d4jvr.js → rpc-3mb214kb.js} +44 -44
- package/dist/chunks/{tool-output-3pr4hzmd.js → rpc-3mvx38w7.js} +46 -46
- package/dist/chunks/{tool-output-3nnrz6f6.js → rpc-3nnrz6f6.js} +1 -1
- package/dist/chunks/{tool-output-b9538ehs.js → rpc-3rn9q11q.js} +11 -11
- package/dist/chunks/{tool-output-72twm2v4.js → rpc-3tanpf6c.js} +8 -8
- package/dist/chunks/{tool-output-40y6dtc2.js → rpc-40y6dtc2.js} +1 -1
- package/dist/chunks/{tool-output-w2eysc6j.js → rpc-40za9wsf.js} +9 -9
- package/dist/chunks/{tool-output-44pmzq9c.js → rpc-44pmzq9c.js} +2 -2
- package/dist/chunks/{tool-output-5mrmepdz.js → rpc-4atban0p.js} +26 -26
- package/dist/chunks/{tool-output-6s25qbx5.js → rpc-4dgy431j.js} +20 -20
- package/dist/chunks/{tool-output-4dx1dgte.js → rpc-4dx1dgte.js} +1 -1
- package/dist/chunks/{tool-output-r542h3bh.js → rpc-4f25tdd0.js} +5 -5
- package/dist/chunks/{tool-output-vsrcvdbp.js → rpc-4j1pjsa9.js} +9 -9
- package/dist/chunks/{tool-output-r2qs3xm4.js → rpc-4naj32e0.js} +5 -5
- package/dist/chunks/{tool-output-4pyp9zr9.js → rpc-4pyp9zr9.js} +1 -1
- package/dist/chunks/{tool-output-4v008n1t.js → rpc-4v008n1t.js} +1 -1
- package/dist/chunks/{tool-output-6e014dxf.js → rpc-53kbtjgk.js} +4 -4
- package/dist/chunks/{tool-output-nw5e8k36.js → rpc-57aqwfwp.js} +9 -9
- package/dist/chunks/{tool-output-kbvmeww6.js → rpc-5a5pr3ck.js} +16 -16
- package/dist/chunks/{tool-output-gvtbqs37.js → rpc-5jgqfq96.js} +24 -24
- package/dist/chunks/{tool-output-pn1g3a6b.js → rpc-5jve1gyn.js} +9 -9
- package/dist/chunks/{tool-output-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-output-5nnwax6m.js → rpc-5nnwax6m.js} +2 -2
- package/dist/chunks/{tool-output-jjwgamnn.js → rpc-5qwnbn94.js} +40 -40
- package/dist/chunks/{tool-output-awr8zced.js → rpc-5qzrmt86.js} +11 -11
- package/dist/chunks/{tool-output-nw6m28kg.js → rpc-5y90z918.js} +8 -8
- package/dist/chunks/{tool-output-y18044z9.js → rpc-690yahak.js} +27 -27
- package/dist/chunks/{tool-output-6wcgn2sn.js → rpc-6benpqn8.js} +11 -11
- package/dist/chunks/{tool-output-6esdw8yj.js → rpc-6esdw8yj.js} +1 -1
- package/dist/chunks/{tool-output-8x9y3wj0.js → rpc-6twykydk.js} +9 -9
- package/dist/chunks/{tool-output-23sxcper.js → rpc-6vx2fqsh.js} +52 -43
- package/dist/chunks/{tool-output-3bgf9gas.js → rpc-6xtjqz2m.js} +4 -4
- package/dist/chunks/{tool-output-0q74zvx8.js → rpc-73n38n5m.js} +5 -5
- package/dist/chunks/{tool-output-76cb1hcw.js → rpc-76cb1hcw.js} +1 -1
- package/dist/chunks/{tool-output-512c6xck.js → rpc-773xawyx.js} +30 -30
- package/dist/chunks/{tool-output-jv5ccajn.js → rpc-78p2h4ex.js} +5 -5
- package/dist/chunks/{tool-output-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-output-cvekmevm.js → rpc-7c3byvqa.js} +3 -3
- package/dist/chunks/{tool-output-9eehkm70.js → rpc-7etptj4x.js} +3 -3
- package/dist/chunks/{tool-output-rcwte2gz.js → rpc-7fsmcf5c.js} +5 -5
- package/dist/chunks/{tool-output-7kr66rt3.js → rpc-7kr66rt3.js} +1 -1
- package/dist/chunks/{tool-output-4jmbjz4b.js → rpc-7mve9j0q.js} +12 -12
- package/dist/chunks/{tool-output-7nqkf5r1.js → rpc-7nqkf5r1.js} +2 -2
- package/dist/chunks/{tool-output-89t125av.js → rpc-7pw3eeq7.js} +24 -24
- package/dist/chunks/{tool-output-86h84dgm.js → rpc-7s50p6s5.js} +12 -12
- package/dist/chunks/{tool-output-x6rj5ag8.js → rpc-7t85rym9.js} +29 -29
- package/dist/chunks/{tool-output-2dxmxezk.js → rpc-7tb32prv.js} +28 -28
- package/dist/chunks/{tool-output-zenbbnxs.js → rpc-7v32djr5.js} +4 -4
- package/dist/chunks/{tool-output-7w2ypzdf.js → rpc-7w2ypzdf.js} +1 -1
- package/dist/chunks/{tool-output-p5234p6z.js → rpc-80cy8wxt.js} +17 -17
- package/dist/chunks/{tool-output-775hqbnd.js → rpc-80mg3ag8.js} +3 -3
- package/dist/chunks/{tool-output-ymrht6aq.js → rpc-81m33mvt.js} +15 -15
- package/dist/chunks/{tool-output-fffs0adq.js → rpc-836ahjv0.js} +91 -91
- package/dist/chunks/{tool-output-89287pr7.js → rpc-89287pr7.js} +1 -1
- package/dist/chunks/{tool-output-a2wbfja7.js → rpc-89rb9xh3.js} +14 -14
- package/dist/chunks/{tool-output-z7t4av84.js → rpc-8bae9qg4.js} +5 -5
- package/dist/chunks/{tool-output-mczqk924.js → rpc-8kzyxvcj.js} +16 -16
- package/dist/chunks/{tool-output-12a87htm.js → rpc-8n09hdvs.js} +8 -8
- package/dist/chunks/{tool-output-d4r7bw8v.js → rpc-8sa14nhd.js} +11 -11
- package/dist/chunks/{tool-output-8wtp7s3z.js → rpc-8wtp7s3z.js} +1 -1
- package/dist/chunks/{tool-output-xksw6ev0.js → rpc-8xz27cp9.js} +4 -4
- package/dist/chunks/{tool-output-90zstvax.js → rpc-90zstvax.js} +1 -1
- package/dist/chunks/{tool-output-qk5sk9d1.js → rpc-93xmyh8q.js} +4 -4
- package/dist/chunks/{tool-output-hhad1vm6.js → rpc-95f8dd5e.js} +84 -84
- package/dist/chunks/{tool-output-d9jtx293.js → rpc-99h31re4.js} +6 -6
- package/dist/chunks/{tool-output-x2vva8d3.js → rpc-9frvjbed.js} +18 -18
- package/dist/chunks/{tool-output-fhkqk1r9.js → rpc-9h29zwzz.js} +25 -30
- package/dist/chunks/{tool-output-rc2vjfj3.js → rpc-9v96avtt.js} +10 -10
- package/dist/chunks/{tool-output-k299tfhp.js → rpc-a4ycr27e.js} +17 -17
- package/dist/chunks/{tool-output-7v3a25eq.js → rpc-a9k8tc5j.js} +22 -22
- package/dist/chunks/{tool-output-ea95xyjz.js → rpc-aaxh80qp.js} +22 -22
- package/dist/chunks/{tool-output-4h870mwt.js → rpc-ack38t55.js} +9 -9
- package/dist/chunks/{tool-output-nr30s6az.js → rpc-adm9hbm7.js} +36 -36
- package/dist/chunks/{tool-output-3vb4mqdz.js → rpc-akn4t001.js} +6 -6
- package/dist/chunks/{tool-output-26hq56c8.js → rpc-asaqahta.js} +8 -8
- package/dist/chunks/{tool-output-7mqhc36n.js → rpc-ay5revt4.js} +29 -29
- package/dist/chunks/{tool-output-ayjs7tqn.js → rpc-ayjs7tqn.js} +2 -2
- package/dist/chunks/{tool-output-aayef9sa.js → rpc-az3g39r9.js} +27 -27
- package/dist/chunks/{tool-output-8cg7mtm3.js → rpc-b2armg7w.js} +4 -4
- package/dist/chunks/{tool-output-97nmq6qt.js → rpc-b9t1pfge.js} +13 -13
- package/dist/chunks/{tool-output-99a35fj9.js → rpc-bj7w10bj.js} +45 -45
- package/dist/chunks/{tool-output-bstexjd6.js → rpc-bstexjd6.js} +1 -1
- package/dist/chunks/{tool-output-0gdrrj59.js → rpc-c7gk57p6.js} +4 -4
- package/dist/chunks/{tool-output-vsjdp9ys.js → rpc-c9ckycx8.js} +63 -63
- package/dist/chunks/{tool-output-vppgzv8k.js → rpc-c9mxd3eg.js} +25 -25
- package/dist/chunks/{tool-output-t2p0ew0j.js → rpc-cm015486.js} +28 -28
- package/dist/chunks/{tool-output-s0v7rep7.js → rpc-cnt6bnzr.js} +11 -11
- package/dist/chunks/{tool-output-4nrzv09y.js → rpc-cq6fw8sx.js} +3 -3
- package/dist/chunks/{tool-output-cr4rfj9z.js → rpc-cr4rfj9z.js} +1 -1
- package/dist/chunks/{tool-output-vt4r9rmy.js → rpc-ctmpqb7w.js} +9 -9
- package/dist/chunks/{tool-output-cwrgdav8.js → rpc-cwrgdav8.js} +2 -2
- package/dist/chunks/{tool-output-d2dt6bgk.js → rpc-d2dt6bgk.js} +2 -2
- package/dist/chunks/{tool-output-d4v9tmah.js → rpc-d4v9tmah.js} +2 -2
- package/dist/chunks/{tool-output-dt77769w.js → rpc-dt77769w.js} +1 -1
- package/dist/chunks/{tool-output-fayfa192.js → rpc-dtscfpm0.js} +14 -14
- package/dist/chunks/{tool-output-p81x92nj.js → rpc-dveyat1s.js} +18 -18
- package/dist/chunks/{tool-output-bdrs2z3m.js → rpc-e31mk9fd.js} +4 -4
- package/dist/chunks/{tool-output-e834z07m.js → rpc-e834z07m.js} +1 -1
- package/dist/chunks/{tool-output-9bxk99c0.js → rpc-en8se85n.js} +35 -35
- package/dist/chunks/{tool-output-eqw4pqj1.js → rpc-eqw4pqj1.js} +2 -2
- package/dist/chunks/{tool-output-vj06p0pw.js → rpc-etemhy56.js} +21 -21
- package/dist/chunks/{tool-output-wytjz9m1.js → rpc-evg94e0m.js} +36 -36
- package/dist/chunks/rpc-ezna1kdx.js +18 -0
- package/dist/chunks/{tool-output-y015ger5.js → rpc-ezxpw9py.js} +14 -14
- package/dist/chunks/{tool-output-wwx5ard4.js → rpc-f1nhy0sx.js} +32 -32
- package/dist/chunks/{tool-output-5y1sjzb3.js → rpc-f1r0yd0j.js} +15 -15
- package/dist/chunks/{tool-output-ger7zcw0.js → rpc-f5x1bra2.js} +83 -83
- package/dist/chunks/{tool-output-h0vegxnz.js → rpc-f6813r2x.js} +16 -16
- package/dist/chunks/rpc-fatxb1h0.js +261 -0
- package/dist/chunks/{tool-output-f832y1x6.js → rpc-fbc398mr.js} +17 -17
- package/dist/chunks/{tool-output-fffv3p7h.js → rpc-fffv3p7h.js} +1 -1
- package/dist/chunks/{tool-output-fg9p65nk.js → rpc-fg9p65nk.js} +2 -2
- package/dist/chunks/{tool-output-67722fpf.js → rpc-fh36nf8c.js} +15 -15
- package/dist/chunks/{tool-output-tawxrnzy.js → rpc-fj2kqg5f.js} +9 -9
- package/dist/chunks/{tool-output-qvtwmp4v.js → rpc-fkasyrab.js} +6 -6
- package/dist/chunks/{tool-output-abpd71k8.js → rpc-fs61hn2z.js} +35 -35
- package/dist/chunks/{tool-output-zap2qrn6.js → rpc-fyp4nyd4.js} +53 -53
- package/dist/chunks/{tool-output-j0p3wt22.js → rpc-g4v74gy6.js} +8 -8
- package/dist/chunks/{tool-output-fdsq4nkg.js → rpc-g5fnnx9z.js} +38 -38
- package/dist/chunks/{tool-output-8bwt60nn.js → rpc-gaf6qzjh.js} +25 -25
- package/dist/chunks/{tool-output-7acjz561.js → rpc-gaz3gjfe.js} +17 -17
- package/dist/chunks/{tool-output-gbjdnr5j.js → rpc-gbjdnr5j.js} +2 -2
- package/dist/chunks/{tool-output-9ajmt6vp.js → rpc-gcxh5vx1.js} +28 -28
- package/dist/chunks/{tool-output-a0j8qq2q.js → rpc-ghdkeaam.js} +10 -10
- package/dist/chunks/{tool-output-e6443jt4.js → rpc-gjxr7tfs.js} +26 -26
- package/dist/chunks/{tool-output-ngzda9ew.js → rpc-gvdabkps.js} +11 -11
- package/dist/chunks/{tool-output-tg7s7b5t.js → rpc-gxs71cxp.js} +4 -4
- package/dist/chunks/{tool-output-swp9676w.js → rpc-h3n8tyn9.js} +76 -54
- package/dist/chunks/{tool-output-9p4ehe4s.js → rpc-h4a24dsn.js} +1 -1
- package/dist/chunks/{tool-output-tye4jm7z.js → rpc-h87b1agq.js} +13 -13
- package/dist/chunks/{tool-output-hh7kjqtw.js → rpc-hh7kjqtw.js} +1 -1
- package/dist/chunks/{tool-output-hpg1pkwy.js → rpc-hpg1pkwy.js} +1 -1
- package/dist/chunks/{tool-output-645bvkjp.js → rpc-hqccc9by.js} +26 -26
- package/dist/chunks/{tool-output-b8s66ae1.js → rpc-hretfjjx.js} +2 -2
- package/dist/chunks/{tool-output-nagnkqr6.js → rpc-j1n6cdx3.js} +28 -28
- package/dist/chunks/{tool-output-r17fbvme.js → rpc-j82m12k7.js} +7 -7
- package/dist/chunks/{tool-output-jg2zh5pw.js → rpc-j8xp337f.js} +22 -22
- package/dist/chunks/{tool-output-vnt9yanb.js → rpc-jadkkbh8.js} +49 -49
- package/dist/chunks/{tool-output-5np0zeyb.js → rpc-jbx05nge.js} +3 -3
- package/dist/chunks/{tool-output-1cfb3ja4.js → rpc-jgttmm4a.js} +5 -5
- package/dist/chunks/{tool-output-62zd5tzk.js → rpc-jjvvtnfs.js} +5 -5
- package/dist/chunks/{tool-output-zv05gzp2.js → rpc-jkzfstx9.js} +8 -8
- package/dist/chunks/{tool-output-1sggqcq7.js → rpc-jrdqc7et.js} +15 -15
- package/dist/chunks/{tool-output-jtnps1zs.js → rpc-jtnps1zs.js} +2 -2
- package/dist/chunks/{tool-output-ny7f08vg.js → rpc-jww34mk0.js} +27 -27
- package/dist/chunks/{tool-output-rht77n8g.js → rpc-jxmjatb5.js} +46 -46
- package/dist/chunks/{tool-output-k46dd5bg.js → rpc-k46dd5bg.js} +1 -1
- package/dist/chunks/{tool-output-bzk4e86s.js → rpc-k5nze2cd.js} +14 -14
- package/dist/chunks/{tool-output-9rkwrxfk.js → rpc-k8ydvx9t.js} +59 -59
- package/dist/chunks/{tool-output-1q3ynm4k.js → rpc-kcjdv8bm.js} +4 -4
- package/dist/chunks/{tool-output-ds7rcmaq.js → rpc-kkrssrbd.js} +6 -6
- package/dist/chunks/{tool-output-910fvjmp.js → rpc-kpkjbdm7.js} +18 -18
- package/dist/chunks/{tool-output-kt3bjfbg.js → rpc-kt3bjfbg.js} +1 -1
- package/dist/chunks/{tool-output-kzczzf4v.js → rpc-kzczzf4v.js} +1 -1
- package/dist/chunks/{tool-output-m1714858.js → rpc-m1714858.js} +1 -1
- package/dist/chunks/{tool-output-akgyqp61.js → rpc-m4a57d5d.js} +42 -42
- package/dist/chunks/{tool-output-5z8he119.js → rpc-m8000t4j.js} +12 -12
- package/dist/chunks/{tool-output-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-output-mb7mbhnz.js → rpc-mb7mbhnz.js} +3 -3
- package/dist/chunks/{tool-output-1mx2bc9e.js → rpc-mct7a04t.js} +14 -14
- package/dist/chunks/{tool-output-0b163asm.js → rpc-me2hzm4v.js} +18 -18
- package/dist/chunks/{tool-output-g6dp5760.js → rpc-mnvgqty7.js} +21 -21
- package/dist/chunks/{tool-output-4vtptq5k.js → rpc-mr1qea7m.js} +20 -20
- package/dist/chunks/{tool-output-50yzfa9j.js → rpc-mw0artam.js} +11 -11
- package/dist/chunks/{tool-output-wws03c5r.js → rpc-mzm8bzzq.js} +4 -4
- package/dist/chunks/{tool-output-epek4a5p.js → rpc-n3czbcc8.js} +12 -12
- package/dist/chunks/{tool-output-9m6c4ezy.js → rpc-n4nfadeg.js} +77 -72
- package/dist/chunks/{tool-output-9qrwb8k7.js → rpc-n4njf5qd.js} +13 -13
- package/dist/chunks/{tool-output-9sy1j1hj.js → rpc-n59awk7t.js} +6 -6
- package/dist/chunks/{tool-output-d4c7shmq.js → rpc-n5kddzgv.js} +20 -20
- package/dist/chunks/rpc-n66np8d1.js +52 -0
- package/dist/chunks/{tool-output-nah043kf.js → rpc-nah043kf.js} +1 -1
- package/dist/chunks/{tool-output-p6zg4dhx.js → rpc-narjdbd2.js} +21 -21
- package/dist/chunks/{tool-output-m4yf5w44.js → rpc-natbyxsp.js} +4 -4
- package/dist/chunks/{tool-output-010nnc36.js → rpc-nc69wymw.js} +2 -2
- package/dist/chunks/{tool-output-1g3qyytn.js → rpc-ncew0vb7.js} +43 -43
- package/dist/chunks/{tool-output-z5vfezcj.js → rpc-nrn54an1.js} +4 -4
- package/dist/chunks/{tool-output-djbenah6.js → rpc-ntxqw4zz.js} +26 -26
- package/dist/chunks/{tool-output-1xb40zjp.js → rpc-nv2c5e9q.js} +2 -2
- package/dist/chunks/{tool-output-yda8zn6p.js → rpc-nxvc44k8.js} +10 -10
- package/dist/chunks/{tool-output-ycwx78vx.js → rpc-nyf5hwvb.js} +11 -11
- package/dist/chunks/{tool-output-fvb41pf8.js → rpc-nzmw8n1y.js} +12 -12
- package/dist/chunks/{tool-output-p015t6z3.js → rpc-p015t6z3.js} +2 -2
- package/dist/chunks/{tool-output-a7yp6d7t.js → rpc-p2jax678.js} +16 -16
- package/dist/chunks/{tool-output-knp9m8w9.js → rpc-p35s2f0x.js} +17 -17
- package/dist/chunks/{tool-output-ekwgaabz.js → rpc-p4hj3rpp.js} +9 -9
- package/dist/chunks/{tool-output-jepvzq3c.js → rpc-pfwhzn8k.js} +4 -4
- package/dist/chunks/{tool-output-tp5zrv48.js → rpc-pj9ytb2t.js} +8 -8
- package/dist/chunks/{tool-output-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{tool-output-b7bv7jb3.js → rpc-pxfbqz3r.js} +5 -5
- package/dist/chunks/{tool-output-qyd1p9rf.js → rpc-q482fffg.js} +36 -36
- package/dist/chunks/{tool-output-6n7pn9gh.js → rpc-q645m655.js} +17 -17
- package/dist/chunks/{tool-output-7p9rt9ey.js → rpc-q6z6t8x0.js} +9 -9
- package/dist/chunks/{tool-output-n0jdt3rz.js → rpc-qdj0qsvg.js} +40 -40
- package/dist/chunks/{tool-output-y7pr8mjg.js → rpc-qfgdwcd7.js} +7 -7
- package/dist/chunks/{tool-output-e142mz3h.js → rpc-qj2pkgjz.js} +4 -4
- package/dist/chunks/{tool-output-xmezeey3.js → rpc-qjv30t73.js} +6 -6
- package/dist/chunks/{tool-output-29ama3y5.js → rpc-qp4rek59.js} +39 -39
- package/dist/chunks/{tool-output-qp7r0hxv.js → rpc-qp7r0hxv.js} +1 -1
- package/dist/chunks/{tool-output-qqvy8y24.js → rpc-qqvy8y24.js} +1 -1
- package/dist/chunks/{tool-output-vzppetdn.js → rpc-qw2t3dzn.js} +6 -6
- package/dist/chunks/{tool-output-rkj6wcfg.js → rpc-qyfc9v9c.js} +32 -32
- package/dist/chunks/{tool-output-3p57dcxh.js → rpc-r96ere88.js} +4 -4
- package/dist/chunks/{tool-output-rb9dy4dg.js → rpc-rb9dy4dg.js} +1 -1
- package/dist/chunks/{tool-output-dm6r7tzz.js → rpc-rdscbfg2.js} +5 -5
- package/dist/chunks/{tool-output-m19sy26v.js → rpc-rf1vxx78.js} +6 -6
- package/dist/chunks/{tool-output-wwd95bf7.js → rpc-rh29xf90.js} +5 -5
- package/dist/chunks/{tool-output-jhhtxfg3.js → rpc-rjkfg8bm.js} +3 -3
- package/dist/chunks/{tool-output-p1z0fq97.js → rpc-rrm5yn5h.js} +25 -32
- package/dist/chunks/{tool-output-rt5dr6hb.js → rpc-rt5dr6hb.js} +1 -1
- package/dist/chunks/{tool-output-s7k5h28y.js → rpc-rxh3nxpw.js} +25 -25
- package/dist/chunks/{tool-output-rec5aqyp.js → rpc-s4kyhetj.js} +3 -3
- package/dist/chunks/{tool-output-k22x5ye3.js → rpc-s8cpj9fb.js} +25 -25
- package/dist/chunks/{tool-output-sa3fpqfw.js → rpc-sa3fpqfw.js} +2 -2
- package/dist/chunks/{tool-output-sbya78hr.js → rpc-sbya78hr.js} +1 -1
- package/dist/chunks/{tool-output-ckhwx57m.js → rpc-sgc6405s.js} +30 -30
- package/dist/chunks/{tool-output-rsa28rqp.js → rpc-shtnpd1d.js} +7 -7
- package/dist/chunks/{tool-output-t8bwj9jx.js → rpc-sm6ta99e.js} +15 -15
- package/dist/chunks/{tool-output-sqjzf8x2.js → rpc-sqjzf8x2.js} +1 -1
- package/dist/chunks/{tool-output-05p6s1y0.js → rpc-ss8ra66z.js} +9 -9
- package/dist/chunks/{tool-output-q29s8h24.js → rpc-st4byt9w.js} +17 -17
- package/dist/chunks/{tool-output-svcy3p9a.js → rpc-svcy3p9a.js} +1 -1
- package/dist/chunks/{tool-output-gakb3x60.js → rpc-sw6m62cd.js} +14 -14
- package/dist/chunks/{tool-output-szwm4crx.js → rpc-szwm4crx.js} +4 -4
- package/dist/chunks/{tool-output-mvdsgs7j.js → rpc-szz5g1cm.js} +24 -24
- package/dist/chunks/{tool-output-j9hh82jk.js → rpc-t6ase0yh.js} +17 -17
- package/dist/chunks/{tool-output-xz39hjpy.js → rpc-t6rbahh6.js} +18 -18
- package/dist/chunks/{tool-output-zjak90x9.js → rpc-t808fjx2.js} +28 -28
- package/dist/chunks/{tool-output-05ba5mfj.js → rpc-t9m5ffg7.js} +11 -11
- package/dist/chunks/{tool-output-4t5ggsxr.js → rpc-tbyvd26d.js} +25 -25
- package/dist/chunks/{tool-output-grywys1z.js → rpc-tckq1zd3.js} +3 -3
- package/dist/chunks/{tool-output-tczq8hjw.js → rpc-tczq8hjw.js} +1 -1
- package/dist/chunks/{tool-output-n6ggezyx.js → rpc-tf1xn9q6.js} +13 -13
- package/dist/chunks/{tool-output-sdhj15t2.js → rpc-thh5wg1b.js} +21 -21
- package/dist/chunks/{tool-output-svre0zes.js → rpc-tjc6f4pm.js} +3 -3
- package/dist/chunks/{tool-output-had5ky31.js → rpc-tnz34mgg.js} +25 -25
- package/dist/chunks/{tool-output-rw6jesk4.js → rpc-tpprkter.js} +4 -4
- package/dist/chunks/{tool-output-tr8x705m.js → rpc-tr8x705m.js} +1 -1
- package/dist/chunks/{tool-output-yrmdwehr.js → rpc-trrzz0pv.js} +9 -9
- package/dist/chunks/{tool-output-twssxy5n.js → rpc-twssxy5n.js} +2 -2
- package/dist/chunks/{tool-output-9tjv61ta.js → rpc-tyak2n23.js} +27 -27
- package/dist/chunks/{tool-output-j3b9gser.js → rpc-v1cmtwqq.js} +31 -31
- package/dist/chunks/{tool-output-v2r1d0zg.js → rpc-v2r1d0zg.js} +1 -1
- package/dist/chunks/rpc-v3be0dee.js +555 -0
- package/dist/chunks/{tool-output-6m4mcxgr.js → rpc-v8vsfr7j.js} +19 -19
- package/dist/chunks/{tool-output-sn0grdfw.js → rpc-vascph72.js} +6 -6
- package/dist/chunks/{tool-output-ncghqsj0.js → rpc-vd0tvg8q.js} +5 -5
- package/dist/chunks/{tool-output-jc1ry150.js → rpc-veb23xdb.js} +13 -13
- package/dist/chunks/{tool-output-bnhtga9d.js → rpc-vhhvf33t.js} +11 -11
- package/dist/chunks/{tool-output-vjf35v1f.js → rpc-vjf35v1f.js} +1 -1
- package/dist/chunks/{tool-output-14n1rax1.js → rpc-vqf9x4n2.js} +14 -14
- package/dist/chunks/{tool-output-nme5sxr1.js → rpc-vrnse76x.js} +11 -11
- package/dist/chunks/{tool-output-rj7j5fvs.js → rpc-vt2d6wap.js} +4 -4
- package/dist/chunks/{tool-output-9sym950x.js → rpc-vt9btcah.js} +4 -4
- package/dist/chunks/{tool-output-7qkt4q81.js → rpc-w0xfwvp8.js} +11 -11
- package/dist/chunks/{tool-output-7y4ph9hc.js → rpc-w3wcj2dt.js} +41 -41
- package/dist/chunks/{tool-output-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-output-wr3re1en.js → rpc-w687dnns.js} +4 -4
- package/dist/chunks/{tool-output-bpwbgrn1.js → rpc-w6rj4brd.js} +18 -18
- package/dist/chunks/{tool-output-2kg89srt.js → rpc-w79nt68w.js} +4 -4
- package/dist/chunks/{tool-output-4s0j67en.js → rpc-w7x9xhr0.js} +5 -5
- package/dist/chunks/rpc-w9e1hhap.js +74 -0
- package/dist/chunks/{tool-output-1xwkm2n4.js → rpc-w9r2bhp7.js} +7 -7
- package/dist/chunks/{tool-output-wakvkjy4.js → rpc-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-output-e3dgmqen.js → rpc-wbz71wqg.js} +11 -11
- package/dist/chunks/{tool-output-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{tool-output-wegkxhrn.js → rpc-wegkxhrn.js} +2 -2
- package/dist/chunks/{tool-output-k3cx6fhe.js → rpc-wfdx5ztx.js} +4 -4
- package/dist/chunks/{tool-output-wnhgecwx.js → rpc-wnhgecwx.js} +1 -1
- package/dist/chunks/{tool-output-ck93vgh7.js → rpc-wr39a8nh.js} +40 -40
- package/dist/chunks/{tool-output-9ezz371g.js → rpc-wtsms3my.js} +13 -13
- package/dist/chunks/{tool-output-wvr8xscb.js → rpc-wvr8xscb.js} +1 -1
- package/dist/chunks/{tool-output-8vhjrmh4.js → rpc-ww813j0m.js} +20 -20
- package/dist/chunks/{tool-output-d093jf42.js → rpc-x09egrtq.js} +26 -26
- package/dist/chunks/{tool-output-qxpm6yha.js → rpc-x34ysmrm.js} +5 -5
- package/dist/chunks/{tool-output-rjkph18f.js → rpc-x5mq78kg.js} +8 -8
- package/dist/chunks/{tool-output-tw1emtk5.js → rpc-x5q8dexz.js} +8 -8
- package/dist/chunks/{tool-output-nrjwhj54.js → rpc-x771mf3a.js} +17 -17
- package/dist/chunks/{tool-output-55d3516c.js → rpc-x7xjn570.js} +17 -17
- package/dist/chunks/{tool-output-rwgb98jw.js → rpc-xb8695ce.js} +2 -2
- package/dist/chunks/{tool-output-m5h9jhne.js → rpc-xf3y3k6n.js} +21 -21
- package/dist/chunks/{tool-output-5byqfn78.js → rpc-xj5xdzrv.js} +59 -59
- package/dist/chunks/{tool-output-j3f8hyeg.js → rpc-xmx7xj34.js} +4 -4
- package/dist/chunks/{tool-output-94e33dpz.js → rpc-xtr9hwyk.js} +3 -3
- package/dist/chunks/{tool-output-3cvrmmry.js → rpc-xy2adanr.js} +11 -11
- package/dist/chunks/{tool-output-wjwwany9.js → rpc-xykgae23.js} +7 -7
- package/dist/chunks/{tool-output-5n637sdt.js → rpc-y8gj21cy.js} +20 -20
- package/dist/chunks/rpc-y8gkkgea.js +26 -0
- package/dist/chunks/{tool-output-yara3q77.js → rpc-yara3q77.js} +2 -2
- package/dist/chunks/{tool-output-yb20nhc3.js → rpc-yb20nhc3.js} +1 -1
- package/dist/chunks/{tool-output-4szm9gmw.js → rpc-yb8k4fwr.js} +30 -30
- package/dist/chunks/{tool-output-9yd9g58m.js → rpc-ymt4gvf5.js} +25 -25
- package/dist/chunks/{tool-output-yr705xyq.js → rpc-yr705xyq.js} +1 -1
- package/dist/chunks/{tool-output-912hxr42.js → rpc-z3tfgyrb.js} +35 -35
- package/dist/chunks/{tool-output-jtcqy3t1.js → rpc-z8a4mkdq.js} +6 -6
- package/dist/chunks/{tool-output-j9nxzz3g.js → rpc-ze75qvmd.js} +3 -3
- package/dist/chunks/{tool-output-5vc0ksv3.js → rpc-zkr99nfe.js} +51 -51
- package/dist/chunks/{tool-output-6c4sqzpk.js → rpc-zma0vbn5.js} +11 -11
- package/dist/chunks/{tool-output-w4ae7zfx.js → rpc-zmyya5j2.js} +16 -16
- package/dist/chunks/{tool-output-41q15x2p.js → rpc-zr8knj2t.js} +193 -193
- package/dist/chunks/{tool-output-pxa6t0fv.js → rpc-zrgf1q50.js} +8 -8
- package/dist/chunks/{tool-output-963hk181.js → rpc-zyfhsknv.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +129 -129
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +81 -81
- 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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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 +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -428
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- 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 +85 -85
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +115 -115
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +112 -112
- 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 +112 -112
- 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/notice.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 +421 -419
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +102 -102
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +175 -175
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -416
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +179 -179
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +149 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -395
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -130
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +143 -143
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -106
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -108
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -105
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +96 -0
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -210
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +407 -405
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +128 -128
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +241 -241
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +242 -242
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +146 -146
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +86 -86
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +225 -225
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +200 -200
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +243 -243
- package/dist/session/usage.js +3 -3
- package/dist/session.js +229 -229
- package/dist/shared-cache.js +16 -0
- 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 +13 -13
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +147 -147
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +104 -104
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/image-generate.js +237 -237
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +111 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +157 -157
- package/dist/types/github-copilot/models.d.ts +4 -3
- package/dist/types/modal/models.d.ts +27 -3
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/plugin/provider/azure.d.ts +3 -2
- package/dist/types/plugin/provider/digitalocean.d.ts +2 -2
- package/dist/types/plugin/provider/github-copilot.d.ts +3 -2
- package/dist/types/plugin/provider/modal.d.ts +3 -2
- package/dist/types/plugin/provider/refresh.d.ts +35 -0
- package/dist/types/shared-cache.d.ts +30 -0
- package/dist/usage-limits.js +98 -98
- 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 +105 -105
- 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 +2 -2
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/tool-output-44x04625.js +0 -75
- package/dist/chunks/tool-output-6bshxcsx.js +0 -18
- package/dist/chunks/tool-output-7n7tjwsx.js +0 -261
- package/dist/chunks/tool-output-8w0p4c6e.js +0 -549
- package/dist/chunks/tool-output-k8xt9y3w.js +0 -26
- /package/dist/chunks/{tool-output-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-output-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-output-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-output-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-output-1kah00gy.js → rpc-1kah00gy.js} +0 -0
- /package/dist/chunks/{tool-output-1pevy3nx.js → rpc-1pevy3nx.js} +0 -0
- /package/dist/chunks/{tool-output-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-output-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-output-2bv980vf.js → rpc-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-output-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-output-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-output-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-output-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-output-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-output-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-output-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-output-4qk9sjk2.js → rpc-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{tool-output-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-output-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-output-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-output-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-output-5w3e23ze.js → rpc-5w3e23ze.js} +0 -0
- /package/dist/chunks/{tool-output-6agm2x70.js → rpc-6agm2x70.js} +0 -0
- /package/dist/chunks/{tool-output-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-output-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-output-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-output-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-output-7stb81gk.js → rpc-7stb81gk.js} +0 -0
- /package/dist/chunks/{tool-output-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-output-84wd9syh.js → rpc-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-output-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-output-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-output-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-output-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-output-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-output-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-output-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-output-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-output-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-output-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-output-beh6qq61.js → rpc-beh6qq61.js} +0 -0
- /package/dist/chunks/{tool-output-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-output-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-output-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-output-cqv5kn06.js → rpc-cqv5kn06.js} +0 -0
- /package/dist/chunks/{tool-output-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-output-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-output-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-output-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-output-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-output-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-output-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-output-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-output-ean2d8b5.js → rpc-ean2d8b5.js} +0 -0
- /package/dist/chunks/{tool-output-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-output-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-output-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-output-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-output-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-output-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-output-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-output-fkpq3x5p.js → rpc-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{tool-output-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-output-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-output-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-output-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-output-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-output-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-output-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-output-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-output-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-output-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-output-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-output-jwr30sdr.js → rpc-jwr30sdr.js} +0 -0
- /package/dist/chunks/{tool-output-jze0r7bz.js → rpc-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-output-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-output-m18g726c.js → rpc-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-output-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-output-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-output-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-output-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-output-nh4v3znn.js → rpc-nh4v3znn.js} +0 -0
- /package/dist/chunks/{tool-output-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-output-p71gwv9c.js → rpc-p71gwv9c.js} +0 -0
- /package/dist/chunks/{tool-output-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-output-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-output-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-output-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-output-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-output-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-output-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-output-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-output-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-output-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-output-t03h4f5z.js → rpc-t03h4f5z.js} +0 -0
- /package/dist/chunks/{tool-output-ty7weeps.js → rpc-ty7weeps.js} +0 -0
- /package/dist/chunks/{tool-output-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-output-vtarvj67.js → rpc-vtarvj67.js} +0 -0
- /package/dist/chunks/{tool-output-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-output-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-output-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-output-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-output-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-output-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-output-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-output-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-output-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-output-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-output-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-t9m5ffg7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service89
|
|
6
|
+
} from "./rpc-11kznhm7.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service87
|
|
11
|
+
} from "./rpc-az3g39r9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID20,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service86
|
|
16
|
+
} from "./rpc-g5fnnx9z.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-yb20nhc3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID17
|
|
23
|
+
} from "./rpc-gcxh5vx1.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-rf1vxx78.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID17.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID20.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service87;
|
|
57
|
+
const integrations = yield* Service86;
|
|
58
|
+
const bus = yield* Service89;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./rpc-fkasyrab.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-ezna1kdx.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-s4kyhetj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service67
|
|
12
|
+
} from "./rpc-14wknv36.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service62;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service67), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-jgttmm4a.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./rpc-c9mxd3eg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./rpc-fkasyrab.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-ezna1kdx.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
22
|
+
const instances = yield* Service62;
|
|
23
23
|
yield* Effect.gen(function* () {
|
|
24
24
|
yield* awaitActivation2;
|
|
25
|
-
const commands = yield*
|
|
25
|
+
const commands = yield* Service46;
|
|
26
26
|
yield* commands.execute({
|
|
27
27
|
name: input.command,
|
|
28
28
|
invocation: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-s4kyhetj.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthorizationError2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-g5fnnx9z.js";
|
|
8
8
|
import {
|
|
9
9
|
CorrectedError2,
|
|
10
10
|
BlockedError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-0ztp0khy.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-bj7w10bj.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-80cy8wxt.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai/effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service90
|
|
3
|
+
} from "./rpc-nyf5hwvb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service89
|
|
6
|
+
} from "./rpc-11kznhm7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./rpc-fkasyrab.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-89287pr7.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError11,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,54 +20,54 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-s4kyhetj.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service73
|
|
29
|
+
} from "./rpc-f1r0yd0j.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service61
|
|
33
|
+
} from "./rpc-j1n6cdx3.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service59
|
|
36
|
+
} from "./rpc-m4a57d5d.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./rpc-kpkjbdm7.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./rpc-narjdbd2.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
start4
|
|
47
|
+
} from "./rpc-m8000t4j.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./rpc-p4hj3rpp.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./rpc-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session4 = {};
|
|
57
57
|
__export(exports_session4, {
|
|
58
58
|
Session: () => exports_session4,
|
|
59
|
-
make: () =>
|
|
59
|
+
make: () => make24
|
|
60
60
|
});
|
|
61
61
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
|
-
var
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const database = yield*
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
64
|
+
var make24 = Effect.fn("Session.make")(function* () {
|
|
65
|
+
const bus = yield* Service89;
|
|
66
|
+
const database = yield* Service90;
|
|
67
|
+
const store = yield* Service73;
|
|
68
|
+
const instances = yield* Service62;
|
|
69
|
+
const execution = yield* Service59;
|
|
70
|
+
const admission = yield* Service61;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -155,7 +155,7 @@ var make23 = Effect.fn("Session.make")(function* () {
|
|
|
155
155
|
sessionID: session.id,
|
|
156
156
|
item
|
|
157
157
|
});
|
|
158
|
-
}).pipe(instances.provide(session), Effect.provideService(
|
|
158
|
+
}).pipe(instances.provide(session), Effect.provideService(Service90, database), Effect.provideService(FSUtil.Service, fs));
|
|
159
159
|
}).pipe(Effect.catchTag("SessionInbox.LifecycleConflict", () => new PromptConflictError2({ sessionID, messageID })));
|
|
160
160
|
if (input.resume !== false)
|
|
161
161
|
yield* execution.wake(sessionID);
|
|
@@ -164,7 +164,7 @@ var make23 = Effect.fn("Session.make")(function* () {
|
|
|
164
164
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
165
165
|
const session = yield* get(sessionID);
|
|
166
166
|
const running = yield* Effect.gen(function* () {
|
|
167
|
-
const started = yield*
|
|
167
|
+
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service62, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
168
168
|
text: `User shell command failed to start:
|
|
169
169
|
${input.command}
|
|
170
170
|
|
|
@@ -193,7 +193,7 @@ ${error.message}`,
|
|
|
193
193
|
});
|
|
194
194
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
195
195
|
const session = yield* get(sessionID);
|
|
196
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
196
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service62, instances));
|
|
197
197
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
198
198
|
sessionID,
|
|
199
199
|
id: skill.id,
|
|
@@ -250,13 +250,13 @@ ${error.message}`,
|
|
|
250
250
|
const session = yield* get(sessionID);
|
|
251
251
|
if (yield* execution.isActive(sessionID))
|
|
252
252
|
return yield* new BusyError2({ sessionID });
|
|
253
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
253
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service90, database), Effect.provideService(Service89, bus));
|
|
254
254
|
});
|
|
255
255
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
259
|
+
yield* clear2(session).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service89, bus));
|
|
260
260
|
return yield* execution.wake(sessionID);
|
|
261
261
|
});
|
|
262
262
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -348,4 +348,4 @@ ${error.message}`,
|
|
|
348
348
|
return { forSession };
|
|
349
349
|
});
|
|
350
350
|
|
|
351
|
-
export {
|
|
351
|
+
export { make24, exports_session4 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service89,
|
|
3
|
+
node92
|
|
4
|
+
} from "./rpc-11kznhm7.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/agent.ts
|
|
14
14
|
var exports_agent3 = {};
|
|
@@ -16,27 +16,27 @@ __export(exports_agent3, {
|
|
|
16
16
|
Agent: () => exports_agent3,
|
|
17
17
|
Color: () => Color2,
|
|
18
18
|
Event: () => Event14,
|
|
19
|
-
ID: () =>
|
|
19
|
+
ID: () => ID14,
|
|
20
20
|
Info: () => Info17,
|
|
21
21
|
Name: () => Name3,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service75,
|
|
23
23
|
defaultID: () => defaultID2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node78
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Event as Event14 } from "@opencode/schema/agent";
|
|
30
|
-
var
|
|
30
|
+
var ID14 = Agent.ID;
|
|
31
31
|
var Name3 = Agent.Name;
|
|
32
|
-
var defaultID2 =
|
|
32
|
+
var defaultID2 = ID14.make("build");
|
|
33
33
|
var Color2 = Agent.Color;
|
|
34
34
|
var Info17 = Agent.Info;
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service75 extends Context.Service()("@opencode/Agent") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
39
|
-
const bus = yield*
|
|
38
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
39
|
+
const bus = yield* Service89;
|
|
40
40
|
const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
|
|
41
41
|
const selectedDefault = (data) => {
|
|
42
42
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
80
80
|
}),
|
|
81
81
|
notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
|
|
82
82
|
});
|
|
83
|
-
return
|
|
83
|
+
return Service75.of({
|
|
84
84
|
transform: state.transform,
|
|
85
85
|
reload: state.reload,
|
|
86
86
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
88
88
|
}),
|
|
89
89
|
resolve: Effect.fnUntraced(function* (id) {
|
|
90
90
|
if (id !== undefined)
|
|
91
|
-
return state.get().agents.get(
|
|
91
|
+
return state.get().agents.get(ID14.make(id));
|
|
92
92
|
return selectedDefault(state.get());
|
|
93
93
|
}),
|
|
94
94
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
102
102
|
})
|
|
103
103
|
});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var node78 = makeLocationNode({ service: Service75, layer, deps: [node92] });
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { ID14, Name3, defaultID2, Color2, Info17, Service75, node78, exports_agent3, Event14 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_OPTION2,
|
|
3
3
|
INSTRUCTIONS_OPTION2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-k46dd5bg.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-1h062x6t.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/instructions.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ClaudeInstructions: () =>
|
|
16
|
-
register: () =>
|
|
13
|
+
var exports_instructions = {};
|
|
14
|
+
__export(exports_instructions, {
|
|
15
|
+
ClaudeInstructions: () => exports_instructions,
|
|
16
|
+
register: () => register4
|
|
17
17
|
});
|
|
18
18
|
import { Effect, Option, Schema } from "effect";
|
|
19
19
|
var KINDS = ["context", "generate", "compaction"];
|
|
@@ -23,7 +23,7 @@ var InstructionsMetadata = Schema.Struct({
|
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
var SUPPLIED_BY_CLAUDE = new Set(["core/date", "core/environment"]);
|
|
26
|
-
var
|
|
26
|
+
var register4 = Effect.fn("ClaudeInstructions.register")(function* (ctx) {
|
|
27
27
|
yield* Effect.forEach(KINDS, (kind) => ctx.session.hook(kind, (event) => Effect.gen(function* () {
|
|
28
28
|
const agent = yield* ctx.agent.get({ agentID: event.agent }).pipe(Effect.orDie);
|
|
29
29
|
event.options[AGENT_OPTION2] = agent.data.system ?? "";
|
|
@@ -49,4 +49,4 @@ function instructions(system) {
|
|
|
49
49
|
`);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { register4, exports_instructions };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./rpc-szz5g1cm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./rpc-fbc398mr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service72
|
|
15
|
+
} from "./rpc-0ztp0khy.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service25,
|
|
18
18
|
resolvePath2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-tbyvd26d.js";
|
|
20
20
|
import {
|
|
21
21
|
output2,
|
|
22
22
|
notice2,
|
|
23
23
|
metadata2,
|
|
24
24
|
notification2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./rpc-89287pr7.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
Service56,
|
|
28
28
|
name17
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-1vk6hrwj.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
NotFoundError9,
|
|
32
|
+
Service51
|
|
33
|
+
} from "./rpc-zkr99nfe.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service29
|
|
36
|
+
} from "./rpc-836ahjv0.js";
|
|
37
37
|
import {
|
|
38
38
|
scan3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./rpc-qj2pkgjz.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./rpc-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/tool/plugin/shell.ts
|
|
45
45
|
var exports_shell = {};
|
|
46
46
|
__export(exports_shell, {
|
|
47
47
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
48
|
-
Input: () =>
|
|
49
|
-
Plugin: () =>
|
|
48
|
+
Input: () => Input10,
|
|
49
|
+
Plugin: () => Plugin32,
|
|
50
50
|
ShellTool: () => exports_shell,
|
|
51
|
-
name: () =>
|
|
51
|
+
name: () => name10
|
|
52
52
|
});
|
|
53
53
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
54
54
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
55
|
-
var
|
|
55
|
+
var name10 = "shell";
|
|
56
56
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
57
57
|
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.";
|
|
58
58
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -66,7 +66,7 @@ var description = (shell) => [
|
|
|
66
66
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
67
67
|
"Background commands return immediately, and you will be notified when they complete."
|
|
68
68
|
].join(" ");
|
|
69
|
-
var
|
|
69
|
+
var Input10 = Schema.Struct({
|
|
70
70
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
71
71
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
72
72
|
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."
|
|
@@ -112,18 +112,18 @@ Output is streaming to: ${file}`,
|
|
|
112
112
|
truncated: false,
|
|
113
113
|
status: "running"
|
|
114
114
|
});
|
|
115
|
-
var
|
|
115
|
+
var Plugin32 = {
|
|
116
116
|
id: "opencode.tool.shell",
|
|
117
117
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
118
|
-
const sessions = yield*
|
|
119
|
-
const jobs = yield*
|
|
118
|
+
const sessions = yield* Service29;
|
|
119
|
+
const jobs = yield* Service66;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
|
-
const environment = yield*
|
|
122
|
-
const access = yield*
|
|
123
|
-
const shell = yield*
|
|
124
|
-
const shellSelect = yield*
|
|
121
|
+
const environment = yield* Service54;
|
|
122
|
+
const access = yield* Service25;
|
|
123
|
+
const shell = yield* Service51;
|
|
124
|
+
const shellSelect = yield* Service56;
|
|
125
125
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service72;
|
|
127
127
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
128
128
|
const source = {
|
|
129
129
|
type: "tool",
|
|
@@ -141,7 +141,7 @@ var Plugin6 = {
|
|
|
141
141
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
142
142
|
if (parsed.commands.length > 0)
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name10,
|
|
145
145
|
resources: parsed.commands.map((command) => command.resource),
|
|
146
146
|
save: parsed.commands.map((command) => command.save),
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -178,10 +178,10 @@ var Plugin6 = {
|
|
|
178
178
|
yield* jobs.completeBackground(info.notificationID);
|
|
179
179
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
180
180
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
181
|
-
name:
|
|
181
|
+
name: name10,
|
|
182
182
|
options: { codemode: false },
|
|
183
183
|
description: description(),
|
|
184
|
-
input:
|
|
184
|
+
input: Input10,
|
|
185
185
|
output: Output,
|
|
186
186
|
execute: (input, context) => Effect.gen(function* () {
|
|
187
187
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -204,7 +204,7 @@ var Plugin6 = {
|
|
|
204
204
|
const run = Effect.gen(function* () {
|
|
205
205
|
const result = yield* shell.result(info);
|
|
206
206
|
if (!result.capture)
|
|
207
|
-
return yield* new
|
|
207
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
208
208
|
const output = output2(result);
|
|
209
209
|
return {
|
|
210
210
|
...output,
|
|
@@ -218,7 +218,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
218
218
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
219
219
|
const job = yield* jobs.start({
|
|
220
220
|
id: info.id,
|
|
221
|
-
type:
|
|
221
|
+
type: name10,
|
|
222
222
|
title: info.command,
|
|
223
223
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
224
224
|
recovery: {
|
|
@@ -248,7 +248,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
248
248
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
249
249
|
})).pipe(Effect.orDie);
|
|
250
250
|
const hook = (event) => Effect.gen(function* () {
|
|
251
|
-
const tool = event.tools[
|
|
251
|
+
const tool = event.tools[name10];
|
|
252
252
|
if (!tool)
|
|
253
253
|
return;
|
|
254
254
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -259,4 +259,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
259
259
|
})
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin32, exports_shell };
|