@opencode/core 0.0.0-dev-465 → 0.0.0-dev-468
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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +246 -246
- package/dist/bus.js +80 -80
- package/dist/chunks/{shell-ejaf3aea.js → tool-output-003nb3x9.js} +6 -6
- package/dist/chunks/{shell-034tev2y.js → tool-output-034tev2y.js} +2 -2
- package/dist/chunks/{shell-manxzwyw.js → tool-output-0f7cqh9y.js} +24 -24
- package/dist/chunks/{shell-v502p7z6.js → tool-output-0g084y6g.js} +9 -9
- package/dist/chunks/{shell-0ma9gw4f.js → tool-output-0ma9gw4f.js} +2 -2
- package/dist/chunks/{shell-k0harkkt.js → tool-output-0mncc170.js} +7 -7
- package/dist/chunks/{shell-ga0hwpmj.js → tool-output-0qn973hg.js} +47 -47
- package/dist/chunks/{shell-0rfpy0ry.js → tool-output-0w5jtxws.js} +4 -4
- package/dist/chunks/{shell-kb2zgvc1.js → tool-output-10xvpzbz.js} +11 -11
- package/dist/chunks/{shell-94sdk5nw.js → tool-output-15x6q7ay.js} +28 -28
- package/dist/chunks/{shell-1aqsckx4.js → tool-output-1aqsckx4.js} +1 -1
- package/dist/chunks/{shell-bkvw770v.js → tool-output-1dzaet6x.js} +32 -32
- package/dist/chunks/{shell-1ep2p91f.js → tool-output-1ep2p91f.js} +2 -2
- package/dist/chunks/{shell-ts4hehzs.js → tool-output-1k3fpg92.js} +13 -13
- package/dist/chunks/{shell-jjvvtnfs.js → tool-output-1q07fp1w.js} +4 -4
- package/dist/chunks/{shell-msd2a3qm.js → tool-output-1v2g13eq.js} +4 -4
- package/dist/chunks/{shell-f341sazs.js → tool-output-1vbrkdbs.js} +3 -3
- package/dist/chunks/{shell-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-p7vhpwh8.js → tool-output-1yq9hg58.js} +5 -5
- package/dist/chunks/{shell-4p3w35h1.js → tool-output-1zyreaf5.js} +5 -5
- package/dist/chunks/{shell-jrza9z9p.js → tool-output-20f8tgrs.js} +77 -77
- package/dist/chunks/{shell-pnwsrq7c.js → tool-output-233argac.js} +8 -8
- package/dist/chunks/{shell-040p24pd.js → tool-output-24e6ax7n.js} +28 -28
- package/dist/chunks/{shell-8b3vzgkx.js → tool-output-25h84942.js} +4 -4
- package/dist/chunks/{shell-htwf7p98.js → tool-output-26b1y7rt.js} +18 -18
- package/dist/chunks/{shell-tqe31r73.js → tool-output-2mekcvss.js} +24 -33
- package/dist/chunks/{shell-6d36eb51.js → tool-output-2mjf8t6w.js} +15 -15
- package/dist/chunks/{shell-5jm7ma5d.js → tool-output-2mn1j6hz.js} +8 -8
- package/dist/chunks/{shell-vawa39yd.js → tool-output-2p0swzms.js} +6 -6
- package/dist/chunks/{shell-2p60zmnr.js → tool-output-2p60zmnr.js} +2 -2
- package/dist/chunks/{shell-2vvqd5b2.js → tool-output-2wxwzjqh.js} +19 -19
- package/dist/chunks/{shell-jtbhy41n.js → tool-output-34mdyaah.js} +20 -20
- package/dist/chunks/{shell-sf9y72b7.js → tool-output-38aws4xb.js} +4 -4
- package/dist/chunks/{shell-3syq9mvg.js → tool-output-3d7bg7jv.js} +21 -21
- package/dist/chunks/{shell-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-g44xe0cc.js → tool-output-3hgz1z2m.js} +10 -10
- package/dist/chunks/{shell-aqc52x8j.js → tool-output-3jc4acfe.js} +21 -21
- package/dist/chunks/{shell-ke6gn2q4.js → tool-output-3n7vn1tw.js} +21 -21
- package/dist/chunks/{shell-3nnrz6f6.js → tool-output-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shell-98d2pk7v.js → tool-output-3vgty9hw.js} +29 -29
- package/dist/chunks/{shell-dcz55bfx.js → tool-output-3wyhrqfb.js} +8 -8
- package/dist/chunks/{shell-40y6dtc2.js → tool-output-40y6dtc2.js} +1 -1
- package/dist/chunks/{shell-r41sfy63.js → tool-output-40za9wsf.js} +6 -6
- package/dist/chunks/{shell-44pmzq9c.js → tool-output-44pmzq9c.js} +2 -2
- package/dist/chunks/{shell-4d2dtj2f.js → tool-output-4d2dtj2f.js} +1 -1
- package/dist/chunks/{shell-4dx1dgte.js → tool-output-4dx1dgte.js} +1 -1
- package/dist/chunks/{shell-4f25tdd0.js → tool-output-4f25tdd0.js} +1 -1
- package/dist/chunks/{shell-4pyp9zr9.js → tool-output-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shell-65f73r4q.js → tool-output-4q33662b.js} +17 -17
- package/dist/chunks/{shell-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-k06jk51w.js → tool-output-4ze21y5e.js} +20 -20
- package/dist/chunks/{shell-b1vrvztg.js → tool-output-56pf6jzp.js} +8 -8
- package/dist/chunks/{shell-d4jcffkv.js → tool-output-58ep7nm1.js} +30 -30
- package/dist/chunks/{shell-h8sr682c.js → tool-output-5bkchar3.js} +36 -36
- package/dist/chunks/{shell-pahpqhen.js → tool-output-5cne3tjk.js} +32 -32
- package/dist/chunks/{shell-4rp3htw6.js → tool-output-5cvxvtjb.js} +15 -15
- package/dist/chunks/{shell-q6yya7b3.js → tool-output-5ebw3s4g.js} +5 -5
- package/dist/chunks/{shell-2474mxpw.js → tool-output-5ftq3225.js} +5 -5
- package/dist/chunks/{shell-p567ah5p.js → tool-output-5gvc3re6.js} +32 -32
- package/dist/chunks/{shell-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-nah5rrgf.js → tool-output-5mhm4vfj.js} +25 -25
- package/dist/chunks/{shell-545zmj2x.js → tool-output-5n09j8yg.js} +7 -7
- package/dist/chunks/{shell-nxgpjp9m.js → tool-output-5t6r72gb.js} +12 -12
- package/dist/chunks/{shell-dy2c8wap.js → tool-output-60869ztc.js} +3 -3
- package/dist/chunks/{shell-yts2a8qm.js → tool-output-67wwskyb.js} +4 -4
- package/dist/chunks/{shell-mmztn61e.js → tool-output-694pnq3x.js} +3 -27
- package/dist/chunks/{shell-82k3xms4.js → tool-output-69mqj339.js} +16 -16
- package/dist/chunks/{shell-6d0d1q6g.js → tool-output-6d0d1q6g.js} +4 -4
- package/dist/chunks/{shell-raekntxf.js → tool-output-6v0patxj.js} +26 -26
- package/dist/chunks/{shell-7xbhdkrc.js → tool-output-6x3ndttp.js} +4 -4
- package/dist/chunks/{shell-7421h3wj.js → tool-output-6xskjdg4.js} +7 -7
- package/dist/chunks/{shell-m4htaz91.js → tool-output-6y88akds.js} +9 -9
- package/dist/chunks/{shell-5g4wyt45.js → tool-output-76293m8w.js} +40 -40
- package/dist/chunks/{shell-76cb1hcw.js → tool-output-76cb1hcw.js} +1 -1
- package/dist/chunks/{shell-eja4146r.js → tool-output-784aez8k.js} +8 -8
- package/dist/chunks/{shell-pbd184me.js → tool-output-78hmycys.js} +6 -6
- package/dist/chunks/{shell-79k544d0.js → tool-output-79k544d0.js} +1 -1
- package/dist/chunks/{shell-qad793ts.js → tool-output-7bdqzxt9.js} +6 -6
- package/dist/chunks/{shell-r6p171n0.js → tool-output-7bf7hj9s.js} +13 -13
- package/dist/chunks/{shell-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-a2tfhpat.js → tool-output-7fc9d4g7.js} +12 -12
- package/dist/chunks/{shell-dpzrt5dr.js → tool-output-7fv8psxd.js} +9 -9
- package/dist/chunks/{shell-vw6qznfc.js → tool-output-7jewgrz3.js} +3 -3
- package/dist/chunks/{shell-n7ydet6g.js → tool-output-7jm9ds1n.js} +18 -18
- package/dist/chunks/{shell-7kr66rt3.js → tool-output-7kr66rt3.js} +1 -1
- package/dist/chunks/{shell-ryrymzcp.js → tool-output-7m6c0hj2.js} +11 -11
- package/dist/chunks/{shell-cvjvzdz5.js → tool-output-7qk9epd7.js} +44 -53
- package/dist/chunks/{shell-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-7weczvnd.js → tool-output-7weczvnd.js} +1 -1
- package/dist/chunks/{shell-gr5zcj6j.js → tool-output-7whn3c9q.js} +14 -14
- package/dist/chunks/{shell-80mg3ag8.js → tool-output-80mg3ag8.js} +3 -3
- package/dist/chunks/{shell-89287pr7.js → tool-output-89287pr7.js} +1 -1
- package/dist/chunks/{shell-hepdz7ts.js → tool-output-8gjkw0js.js} +10 -10
- package/dist/chunks/{shell-yxf516kp.js → tool-output-8r9v0q4w.js} +15 -15
- package/dist/chunks/{shell-8sxe6kv8.js → tool-output-8sxe6kv8.js} +2 -2
- package/dist/chunks/{shell-8wjgamp7.js → tool-output-8wjgamp7.js} +3 -3
- package/dist/chunks/{shell-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shell-90zstvax.js → tool-output-90zstvax.js} +1 -1
- package/dist/chunks/{shell-w49gkjv3.js → tool-output-93fxe9zc.js} +35 -35
- package/dist/chunks/{shell-9ntfe833.js → tool-output-963hk181.js} +9 -9
- package/dist/chunks/{shell-2jke7tr0.js → tool-output-98sn12ya.js} +11 -11
- package/dist/chunks/{shell-y5gqt1e1.js → tool-output-9cb2b2x0.js} +21 -21
- package/dist/chunks/{shell-xmhf9056.js → tool-output-9g038b7v.js} +4 -4
- package/dist/chunks/{shell-0kp0wh9k.js → tool-output-9hyv3ajx.js} +17 -17
- package/dist/chunks/{shell-b169bypd.js → tool-output-9q24xs2v.js} +11 -11
- package/dist/chunks/{shell-kdsq4e7s.js → tool-output-a9d80qez.js} +5 -5
- package/dist/chunks/{shell-jx0hjy4h.js → tool-output-a9zrx39y.js} +14 -14
- package/dist/chunks/{shell-zka969pz.js → tool-output-ac2zwpmx.js} +6 -6
- package/dist/chunks/{shell-zkkcbbg7.js → tool-output-adnc1c99.js} +3 -3
- package/dist/chunks/{shell-nv9tsjma.js → tool-output-ag4egyv9.js} +6 -6
- package/dist/chunks/{shell-zrf5e5ze.js → tool-output-aj83cngs.js} +6 -6
- package/dist/chunks/{shell-xewng6rg.js → tool-output-atz91cs9.js} +77 -77
- package/dist/chunks/{shell-ayjs7tqn.js → tool-output-ayjs7tqn.js} +2 -2
- package/dist/chunks/{shell-pkvd7azb.js → tool-output-b00xhfda.js} +7 -7
- package/dist/chunks/{shell-2bsm227b.js → tool-output-b1w7ct0q.js} +9 -9
- package/dist/chunks/{shell-b6vsg801.js → tool-output-b6vsg801.js} +2 -2
- package/dist/chunks/{shell-dpgr420w.js → tool-output-ba7dfhfp.js} +8 -8
- package/dist/chunks/{shell-5v64kr5e.js → tool-output-bh8w17xh.js} +16 -16
- package/dist/chunks/{shell-5n0rnk8e.js → tool-output-bhfd478d.js} +4 -4
- package/dist/chunks/{shell-bstexjd6.js → tool-output-bstexjd6.js} +1 -1
- package/dist/chunks/{shell-nxad7th9.js → tool-output-bterja0n.js} +5 -5
- package/dist/chunks/{shell-35csqt1p.js → tool-output-c9zhd1c6.js} +2 -2
- package/dist/chunks/{shell-1zjhez7w.js → tool-output-cat0vb1y.js} +17 -17
- package/dist/chunks/{shell-nynymykp.js → tool-output-cbt2qz57.js} +11 -11
- package/dist/chunks/{shell-qrc4x7ag.js → tool-output-cncmn02m.js} +5 -5
- package/dist/chunks/{shell-xmx7xj34.js → tool-output-cpvd08na.js} +4 -4
- package/dist/chunks/{shell-cwrgdav8.js → tool-output-cwrgdav8.js} +2 -2
- package/dist/chunks/{shell-2kedh6bd.js → tool-output-d34c0f98.js} +8 -8
- package/dist/chunks/{shell-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-vt2d6wap.js → tool-output-dg5naf6e.js} +4 -4
- package/dist/chunks/tool-output-dj32dvym.js +261 -0
- package/dist/chunks/{shell-8h2gen7d.js → tool-output-drgga8bz.js} +1 -1
- package/dist/chunks/{shell-dt77769w.js → tool-output-dt77769w.js} +1 -1
- package/dist/chunks/{shell-dm4dg66e.js → tool-output-dvxnt4qw.js} +35 -35
- package/dist/chunks/{shell-dxsywhez.js → tool-output-dxsywhez.js} +1 -1
- package/dist/chunks/{shell-arpffjcf.js → tool-output-e0vqfz96.js} +7 -7
- package/dist/chunks/{shell-yc8a8z71.js → tool-output-e2cspmt5.js} +12 -12
- package/dist/chunks/{shell-j2ad8zaa.js → tool-output-e3d9wnyc.js} +11 -11
- package/dist/chunks/{shell-417c9c9v.js → tool-output-e44hy6kp.js} +8 -8
- package/dist/chunks/{shell-hdccpxfa.js → tool-output-e4befdmj.js} +9 -9
- package/dist/chunks/{shell-e834z07m.js → tool-output-e834z07m.js} +1 -1
- package/dist/chunks/{shell-71qggcd8.js → tool-output-e8sv3ecx.js} +15 -15
- package/dist/chunks/{shell-k5hr4jsm.js → tool-output-eck7g38n.js} +10 -10
- package/dist/chunks/{shell-dzq8zq93.js → tool-output-efk301g8.js} +29 -29
- package/dist/chunks/{shell-we3rxj18.js → tool-output-ej9jn8mj.js} +30 -30
- package/dist/chunks/{shell-f1zqazwd.js → tool-output-ekqb8f4k.js} +12 -12
- package/dist/chunks/{shell-3cxqzb3v.js → tool-output-eqad68fz.js} +19 -19
- package/dist/chunks/{shell-eqw4pqj1.js → tool-output-eqw4pqj1.js} +2 -2
- package/dist/chunks/{shell-4fe1n7tb.js → tool-output-er9xytph.js} +3 -3
- package/dist/chunks/{shell-4mjnw62p.js → tool-output-es1eqkr0.js} +4 -4
- package/dist/chunks/{shell-kj0qyd2n.js → tool-output-ev3m9bcx.js} +11 -11
- package/dist/chunks/{shell-cp5bx62d.js → tool-output-ewdy5g4h.js} +5 -5
- package/dist/chunks/{shell-f529qshs.js → tool-output-ewr5gkwb.js} +10 -10
- package/dist/chunks/tool-output-ezna1kdx.js +18 -0
- package/dist/chunks/{shell-asn5bbr7.js → tool-output-f4317sb4.js} +11 -11
- package/dist/chunks/{shell-et5sv7w6.js → tool-output-fcqh8bpp.js} +30 -30
- package/dist/chunks/{shell-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
- package/dist/chunks/{shell-bpcpdsyz.js → tool-output-ffqz4qa7.js} +12 -12
- package/dist/chunks/{shell-fg9p65nk.js → tool-output-fg9p65nk.js} +2 -2
- package/dist/chunks/{shell-j692gbqm.js → tool-output-fjxgnb22.js} +16 -16
- package/dist/chunks/{shell-8whcgxh6.js → tool-output-fvhkzny2.js} +25 -25
- package/dist/chunks/{shell-w687dnns.js → tool-output-fznmdakp.js} +4 -4
- package/dist/chunks/{shell-kde8bh48.js → tool-output-gb8v6gwe.js} +3 -3
- package/dist/chunks/{shell-gbjdnr5j.js → tool-output-gbjdnr5j.js} +2 -2
- package/dist/chunks/{shell-tcr6nryh.js → tool-output-gdzky9ye.js} +20 -20
- package/dist/chunks/{shell-0k4enc1e.js → tool-output-ggsyfnd7.js} +8 -8
- package/dist/chunks/{shell-tg7s7b5t.js → tool-output-gxs71cxp.js} +4 -4
- package/dist/chunks/{shell-gw8w2ecv.js → tool-output-h4cqsg37.js} +21 -21
- package/dist/chunks/{shell-k4c59awx.js → tool-output-h5bwdsb5.js} +35 -35
- package/dist/chunks/{shell-vcfmjhsk.js → tool-output-h5x6jdbe.js} +21 -21
- package/dist/chunks/{shell-r0c1dw80.js → tool-output-h6qp7cak.js} +7 -7
- package/dist/chunks/{shell-nemnqzpn.js → tool-output-h9hc66h4.js} +4 -4
- package/dist/chunks/{shell-4shxa28k.js → tool-output-he0d9e52.js} +10 -10
- package/dist/chunks/{shell-hpg1pkwy.js → tool-output-hpg1pkwy.js} +1 -1
- package/dist/chunks/{shell-3z256ehv.js → tool-output-hr4kpn3s.js} +12 -12
- package/dist/chunks/{shell-7h7tvtg0.js → tool-output-hretfjjx.js} +2 -2
- package/dist/chunks/{shell-rtq6f36v.js → tool-output-ht9cd5a6.js} +20 -20
- package/dist/chunks/{shell-qz03pvet.js → tool-output-j1fsn7bn.js} +26 -28
- package/dist/chunks/{shell-ywsh2end.js → tool-output-j3rhnfwy.js} +27 -27
- package/dist/chunks/{shell-5qygesq2.js → tool-output-jkrj3e3r.js} +14 -14
- package/dist/chunks/{shell-3xzdqkgk.js → tool-output-jkw133re.js} +8 -8
- package/dist/chunks/{shell-00emjtgf.js → tool-output-jsb54h12.js} +11 -11
- package/dist/chunks/{shell-jtnps1zs.js → tool-output-jtnps1zs.js} +2 -2
- package/dist/chunks/{shell-8d8bpxw1.js → tool-output-jy9vhdfa.js} +13 -13
- package/dist/chunks/{shell-mspp9r7z.js → tool-output-jyzwnaxr.js} +25 -25
- package/dist/chunks/{shell-xmrtptd7.js → tool-output-k0nmr3d0.js} +11 -11
- package/dist/chunks/{shell-xzkyvxr5.js → tool-output-k12c5f6w.js} +19 -19
- package/dist/chunks/{shell-1kabyqnj.js → tool-output-k3gnvwmc.js} +10 -10
- package/dist/chunks/{shell-mh9vmay3.js → tool-output-kfnngk0d.js} +35 -35
- package/dist/chunks/{shell-bf90mjba.js → tool-output-kg500zpr.js} +33 -33
- package/dist/chunks/{shell-tkxh0sy1.js → tool-output-kmysz3kf.js} +59 -59
- package/dist/chunks/{shell-hks1njp6.js → tool-output-krmwacza.js} +23 -23
- package/dist/chunks/{shell-rxrex22c.js → tool-output-krxsh9ks.js} +27 -27
- package/dist/chunks/{shell-kt3bjfbg.js → tool-output-kt3bjfbg.js} +1 -1
- package/dist/chunks/{shell-cjxzecd3.js → tool-output-kv2t3cyj.js} +11 -11
- package/dist/chunks/{shell-kzczzf4v.js → tool-output-kzczzf4v.js} +1 -1
- package/dist/chunks/{shell-m1714858.js → tool-output-m1714858.js} +1 -1
- package/dist/chunks/{shell-3swyf5ws.js → tool-output-m17rt52q.js} +9 -9
- package/dist/chunks/{shell-23gzzjhj.js → tool-output-m2vvefb9.js} +23 -23
- package/dist/chunks/tool-output-m6cfdtf3.js +16 -0
- package/dist/chunks/{shell-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-mb7mbhnz.js → tool-output-mb7mbhnz.js} +3 -3
- package/dist/chunks/{shell-5ddrpwk6.js → tool-output-mbqn2nbf.js} +16 -16
- package/dist/chunks/{shell-1e0m81t0.js → tool-output-mc2p1ws7.js} +25 -25
- package/dist/chunks/{shell-j530dmk3.js → tool-output-mk99ka2e.js} +27 -16
- package/dist/chunks/{shell-tsn86mx2.js → tool-output-mn5s68kz.js} +13 -13
- package/dist/chunks/{shell-0qk5pe9a.js → tool-output-mq4pmep5.js} +17 -17
- package/dist/chunks/{shell-kg11qpg0.js → tool-output-mxnpz060.js} +3 -3
- package/dist/chunks/tool-output-n5wmf7e7.js +26 -0
- package/dist/chunks/{shell-5m3xrn1j.js → tool-output-nd2qx06s.js} +9 -9
- package/dist/chunks/{shell-s2r2pnt0.js → tool-output-nf1q0ebc.js} +49 -49
- package/dist/chunks/{shell-fbrgsmtf.js → tool-output-ngbqbpny.js} +14 -14
- package/dist/chunks/{shell-2bswbpgz.js → tool-output-nn2nd58t.js} +7 -7
- package/dist/chunks/{shell-1ksh4fnr.js → tool-output-nq646sks.js} +27 -27
- package/dist/chunks/{shell-wr41p3w8.js → tool-output-nq8r7s52.js} +5 -5
- package/dist/chunks/{shell-20pht57w.js → tool-output-nr915jn7.js} +4 -4
- package/dist/chunks/{shell-y1havdw8.js → tool-output-nv2c5e9q.js} +2 -2
- package/dist/chunks/{shell-bsvd1v20.js → tool-output-nw1saj90.js} +43 -43
- package/dist/chunks/{shell-9py6bjjz.js → tool-output-nz9pn5jw.js} +15 -15
- package/dist/chunks/{shell-pzaq70q9.js → tool-output-nzaxwfce.js} +30 -30
- package/dist/chunks/{shell-59bwar9d.js → tool-output-nzm9kpg0.js} +51 -51
- package/dist/chunks/{shell-ca63tz3e.js → tool-output-p2sff4ab.js} +17 -17
- package/dist/chunks/{shell-hsnq1va6.js → tool-output-p55ejza0.js} +5 -5
- package/dist/chunks/{shell-00mm7sz0.js → tool-output-pf3vmkke.js} +62 -62
- package/dist/chunks/{shell-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{shell-aemypr0w.js → tool-output-ppbjty95.js} +36 -36
- package/dist/chunks/{shell-1d0ke3en.js → tool-output-pr168ar6.js} +17 -17
- package/dist/chunks/{shell-tt238xjp.js → tool-output-pxv0r0tk.js} +21 -21
- package/dist/chunks/{shell-v79xqr7f.js → tool-output-q3z02may.js} +6 -6
- package/dist/chunks/{shell-mhfmyj0b.js → tool-output-q3z0vr5a.js} +9 -9
- package/dist/chunks/{shell-pag4xfhb.js → tool-output-qa8vg83d.js} +15 -15
- package/dist/chunks/{shell-27am0nxs.js → tool-output-qg6qvrnm.js} +2 -2
- package/dist/chunks/{shell-aa6xdz07.js → tool-output-qgmkp9j8.js} +27 -27
- package/dist/chunks/{shell-1b374rvg.js → tool-output-qhwrm2rz.js} +1 -1
- package/dist/chunks/{shell-hw6pphkn.js → tool-output-qnk9w869.js} +23 -23
- package/dist/chunks/{shell-qp7r0hxv.js → tool-output-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shell-130fytvk.js → tool-output-qpmemebt.js} +2 -2
- package/dist/chunks/{shell-qqvy8y24.js → tool-output-qqvy8y24.js} +1 -1
- package/dist/chunks/{shell-9nfnb3g4.js → tool-output-qrwmr4mb.js} +39 -39
- package/dist/chunks/{shell-4ez7xsyp.js → tool-output-qs0v2njn.js} +4 -4
- package/dist/chunks/{shell-k3cx6fhe.js → tool-output-qsdghx1p.js} +4 -4
- package/dist/chunks/{shell-77t0c3mg.js → tool-output-qyb0apjn.js} +18 -18
- package/dist/chunks/{shell-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shell-ma7ga16t.js → tool-output-rcv43n97.js} +26 -26
- package/dist/chunks/{shell-n7e7s5bj.js → tool-output-rfwkesfc.js} +38 -38
- package/dist/chunks/{shell-1p9ch0x1.js → tool-output-rhte1d85.js} +7 -7
- package/dist/chunks/{shell-rpswk8jh.js → tool-output-rj5f6m6g.js} +20 -20
- package/dist/chunks/{shell-zrhyvfx1.js → tool-output-rk2h67k3.js} +83 -83
- package/dist/chunks/{shell-r1ta80gs.js → tool-output-rk6pkc68.js} +16 -16
- package/dist/chunks/{shell-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shell-8aaze06e.js → tool-output-rv8zvzdc.js} +9 -9
- package/dist/chunks/{shell-h7n1gjdj.js → tool-output-rxmrkyph.js} +21 -21
- package/dist/chunks/{shell-319wad08.js → tool-output-s4kyhetj.js} +3 -3
- package/dist/chunks/{shell-48ehpby2.js → tool-output-s6h1tbfj.js} +15 -15
- package/dist/chunks/{shell-sa3fpqfw.js → tool-output-sa3fpqfw.js} +2 -2
- package/dist/chunks/{shell-sbya78hr.js → tool-output-sbya78hr.js} +1 -1
- package/dist/chunks/{shell-sbz71ybr.js → tool-output-sbz71ybr.js} +1 -1
- package/dist/chunks/{shell-vvmxstq0.js → tool-output-sqj1fmw3.js} +8 -8
- package/dist/chunks/{shell-0j7gp832.js → tool-output-sqjzf8x2.js} +4 -4
- package/dist/chunks/{shell-svcy3p9a.js → tool-output-svcy3p9a.js} +1 -1
- package/dist/chunks/{shell-p76me67c.js → tool-output-syncbfr5.js} +4 -4
- package/dist/chunks/{shell-szwm4crx.js → tool-output-szwm4crx.js} +4 -4
- package/dist/chunks/{shell-h80pa431.js → tool-output-t1c5djej.js} +31 -31
- package/dist/chunks/{shell-6h12g5bh.js → tool-output-t5pccnhe.js} +15 -15
- package/dist/chunks/{shell-9zwexsxs.js → tool-output-t8erkws8.js} +5 -5
- package/dist/chunks/{shell-01cqz7aj.js → tool-output-tcbneg83.js} +54 -54
- package/dist/chunks/{shell-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-v5hpj9dd.js → tool-output-tg1vr1qt.js} +8 -8
- package/dist/chunks/{shell-tbbm7qd5.js → tool-output-th2hp9ev.js} +12 -12
- package/dist/chunks/{shell-am7ta0nf.js → tool-output-tj4hnhpr.js} +31 -31
- package/dist/chunks/{shell-4dvkb29z.js → tool-output-tjm2sr5g.js} +27 -27
- package/dist/chunks/{shell-9q5gq7ze.js → tool-output-tkmbybpd.js} +9 -9
- package/dist/chunks/{shell-v0cx50ys.js → tool-output-tn27k7n2.js} +17 -17
- package/dist/chunks/{shell-27ss26ee.js → tool-output-tpc5s4y5.js} +50 -50
- package/dist/chunks/{shell-tr8x705m.js → tool-output-tr8x705m.js} +1 -1
- package/dist/chunks/{shell-twssxy5n.js → tool-output-twssxy5n.js} +2 -2
- package/dist/chunks/{shell-v2r1d0zg.js → tool-output-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-ebd6f33r.js → tool-output-v74x3na4.js} +7 -7
- package/dist/chunks/{shell-nvj41790.js → tool-output-v77zgkhm.js} +5 -5
- package/dist/chunks/{shell-ybsabavr.js → tool-output-vakqs29q.js} +2 -2
- package/dist/chunks/{shell-23es92k5.js → tool-output-vbthxz0p.js} +15 -15
- package/dist/chunks/{shell-cj70cypp.js → tool-output-vc37r1zq.js} +13 -13
- package/dist/chunks/{shell-c3cdf05z.js → tool-output-veq5jnq3.js} +18 -18
- package/dist/chunks/{shell-vjf35v1f.js → tool-output-vjf35v1f.js} +1 -1
- package/dist/chunks/{shell-gcjdgkn2.js → tool-output-vrcsa8qx.js} +9 -9
- package/dist/chunks/{shell-vq0qa3sh.js → tool-output-vt4r9rmy.js} +9 -9
- package/dist/chunks/{shell-857vb2tx.js → tool-output-vtkgm0rk.js} +4 -4
- package/dist/chunks/{shell-n24xn8vw.js → tool-output-vx0rqq3s.js} +35 -35
- package/dist/chunks/{shell-kdegksg6.js → tool-output-vx8z5gpr.js} +9 -9
- package/dist/chunks/tool-output-vzyjvy19.js +555 -0
- package/dist/chunks/{shell-5w0meyw9.js → tool-output-w2wjze7r.js} +11 -11
- package/dist/chunks/{shell-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-ttpy3t1j.js → tool-output-w5zv77p4.js} +4 -4
- package/dist/chunks/{shell-9q8g9sv8.js → tool-output-w79nt68w.js} +4 -4
- package/dist/chunks/{shell-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{shell-wegkxhrn.js → tool-output-wegkxhrn.js} +2 -2
- package/dist/chunks/{shell-7jry1hfe.js → tool-output-wfmpece2.js} +26 -26
- package/dist/chunks/{shell-8t99kr38.js → tool-output-wfs84ra6.js} +4 -4
- package/dist/chunks/{shell-sfb3jftk.js → tool-output-wk8jtf2z.js} +28 -28
- package/dist/chunks/{shell-effmgbqf.js → tool-output-wmv27f9c.js} +5 -5
- package/dist/chunks/{shell-wnhgecwx.js → tool-output-wnhgecwx.js} +1 -1
- package/dist/chunks/{shell-3b69gpgy.js → tool-output-wshxcgwp.js} +34 -34
- package/dist/chunks/{shell-tan6b1vs.js → tool-output-wt3svnfa.js} +36 -36
- package/dist/chunks/{shell-k8wjfbpq.js → tool-output-wvwgxcbr.js} +43 -43
- package/dist/chunks/{shell-347g12m8.js → tool-output-wwax6h97.js} +21 -21
- package/dist/chunks/{shell-mzm8bzzq.js → tool-output-wws03c5r.js} +4 -4
- package/dist/chunks/{shell-jhvxamvb.js → tool-output-wy9q57d6.js} +10 -10
- package/dist/chunks/{shell-7y2j04q1.js → tool-output-x0tb4wca.js} +7 -7
- package/dist/chunks/{shell-x4mcewfn.js → tool-output-x4mcewfn.js} +2 -2
- package/dist/chunks/{shell-7m9mfsct.js → tool-output-x6613ah8.js} +13 -13
- package/dist/chunks/{shell-wappvfwj.js → tool-output-xd3zm682.js} +18 -18
- package/dist/chunks/{shell-r1meka4m.js → tool-output-xe8ck1p9.js} +21 -21
- package/dist/chunks/{shell-9mn5nav0.js → tool-output-xft6dn0a.js} +13 -13
- package/dist/chunks/{shell-f66ptma4.js → tool-output-xtfjfdah.js} +48 -48
- package/dist/chunks/{shell-qf4qmx1w.js → tool-output-xw4jh0fq.js} +11 -11
- package/dist/chunks/{shell-ej9bat5k.js → tool-output-y0dmyt4t.js} +11 -11
- package/dist/chunks/{shell-pd36x1w1.js → tool-output-y4ahsw2v.js} +8 -8
- package/dist/chunks/{shell-bwz1yd0d.js → tool-output-y9wqzmeb.js} +10 -10
- package/dist/chunks/{shell-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-g5hyrw0d.js → tool-output-ybr9qycb.js} +26 -26
- package/dist/chunks/{shell-2veb62my.js → tool-output-yk1y9yyc.js} +11 -11
- package/dist/chunks/{shell-v6j3p2g6.js → tool-output-ykqp9ed4.js} +30 -30
- package/dist/chunks/{shell-ppjqz50g.js → tool-output-ynqstxnz.js} +182 -182
- package/dist/chunks/{shell-yr705xyq.js → tool-output-yr705xyq.js} +1 -1
- package/dist/chunks/{shell-y0z2gqqa.js → tool-output-yrevsbh2.js} +9 -9
- package/dist/chunks/{shell-yvtc2x31.js → tool-output-yvtc2x31.js} +1 -1
- package/dist/chunks/{shell-h8dz3ery.js → tool-output-z0fjqy87.js} +4 -4
- package/dist/chunks/{shell-ze75qvmd.js → tool-output-ze75qvmd.js} +3 -3
- package/dist/chunks/{shell-tmd1r8tg.js → tool-output-zfyb5tr4.js} +4 -4
- package/dist/chunks/{shell-w4raeb9k.js → tool-output-zrc3e38m.js} +4 -4
- package/dist/chunks/{shell-zjx1mcwr.js → tool-output-zx10qtpe.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- 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 +3 -3
- 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 +130 -130
- package/dist/config/plugin/command.js +229 -229
- 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 +130 -130
- package/dist/config/plugin/mcp.js +137 -137
- 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 +132 -132
- 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 +131 -131
- 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 +135 -135
- 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 +77 -77
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +103 -103
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +243 -243
- 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 +11 -11
- package/dist/filesystem.js +117 -117
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- 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 +3 -3
- 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 -421
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +96 -96
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- 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 +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- 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 +181 -181
- 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 +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +151 -151
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +113 -113
- 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 -397
- 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 -132
- 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 +145 -145
- 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 +3 -3
- 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 +6 -6
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- 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 +3 -3
- 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 +4 -4
- 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 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- 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 -107
- 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 +87 -87
- 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 -212
- 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 +409 -409
- 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 +130 -130
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +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 +113 -113
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +247 -247
- 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 +243 -243
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- 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 +166 -166
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +235 -235
- package/dist/session/usage.js +1 -1
- package/dist/session.js +229 -229
- package/dist/shared-cache.js +5 -5
- 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 +152 -152
- package/dist/snapshot.js +106 -106
- 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 +180 -180
- 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 +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- 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 +235 -235
- 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 +157 -157
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/agent.d.ts +14 -0
- package/dist/types/model.d.ts +28 -0
- package/dist/types/plugin/provider/credential-settings.d.ts +4 -0
- package/dist/types/provider.d.ts +63 -0
- package/dist/types/session/model-request.d.ts +2 -2
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +97 -97
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- 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/shell-1jwmcgkd.js +0 -555
- package/dist/chunks/shell-5k2qf3dt.js +0 -261
- package/dist/chunks/shell-7yv5xa0k.js +0 -18
- package/dist/chunks/shell-b7xx3v4y.js +0 -26
- package/dist/chunks/shell-y32xxt00.js +0 -16
- /package/dist/chunks/{shell-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kah00gy.js → tool-output-1kah00gy.js} +0 -0
- /package/dist/chunks/{shell-1pevy3nx.js → tool-output-1pevy3nx.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4qk9sjk2.js → tool-output-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5w3e23ze.js → tool-output-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shell-6agm2x70.js → tool-output-6agm2x70.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-beh6qq61.js → tool-output-beh6qq61.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cqv5kn06.js → tool-output-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-dbht28n9.js → tool-output-dbht28n9.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ean2d8b5.js → tool-output-ean2d8b5.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fkpq3x5p.js → tool-output-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jwr30sdr.js → tool-output-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-nh4v3znn.js → tool-output-nh4v3znn.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p71gwv9c.js → tool-output-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-syrav9an.js → tool-output-syrav9an.js} +0 -0
- /package/dist/chunks/{shell-t03h4f5z.js → tool-output-t03h4f5z.js} +0 -0
- /package/dist/chunks/{shell-ty7weeps.js → tool-output-ty7weeps.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-vtarvj67.js → tool-output-vtarvj67.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./tool-output-e8sv3ecx.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./tool-output-h5x6jdbe.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service73
|
|
11
|
+
} from "./tool-output-nzm9kpg0.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-nv2c5e9q.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service80
|
|
17
|
+
} from "./tool-output-a9zrx39y.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate3,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service68
|
|
21
|
+
} from "./tool-output-rfwkesfc.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service31
|
|
24
|
+
} from "./tool-output-rk2h67k3.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-output-sqjzf8x2.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service9
|
|
30
|
+
} from "./tool-output-wwax6h97.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input13,
|
|
39
|
+
Output: () => Output9,
|
|
40
|
+
Plugin: () => Plugin52,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
|
-
description: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
description: () => description7,
|
|
43
|
+
name: () => name13
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name13 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input13 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input8 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output9 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description7 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin52 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service31;
|
|
93
|
+
const jobs = yield* Service80;
|
|
94
|
+
const agents = yield* Service72;
|
|
95
|
+
const config = yield* Service73;
|
|
96
|
+
const permission = yield* Service68;
|
|
97
|
+
const models = yield* Service81;
|
|
98
|
+
const subagents = yield* Service9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref3.parse(input),
|
|
@@ -117,11 +117,11 @@ var Plugin10 = {
|
|
|
117
117
|
return ref;
|
|
118
118
|
});
|
|
119
119
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
120
|
-
name:
|
|
120
|
+
name: name13,
|
|
121
121
|
options: { codemode: false },
|
|
122
|
-
description:
|
|
123
|
-
input:
|
|
124
|
-
output:
|
|
122
|
+
description: description7,
|
|
123
|
+
input: Input13,
|
|
124
|
+
output: Output9,
|
|
125
125
|
execute: (input, context) => Effect.gen(function* () {
|
|
126
126
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
127
127
|
let current = parent;
|
|
@@ -141,7 +141,7 @@ var Plugin10 = {
|
|
|
141
141
|
if (agent.mode === "primary")
|
|
142
142
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name13,
|
|
145
145
|
resources: [agent.id],
|
|
146
146
|
save: [agent.id],
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -220,7 +220,7 @@ ${output.output}
|
|
|
220
220
|
})))
|
|
221
221
|
})).pipe(Effect.orDie);
|
|
222
222
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
223
|
-
if (event.tool !==
|
|
223
|
+
if (event.tool !== name13 || !Predicate.isObject(event.input))
|
|
224
224
|
return;
|
|
225
225
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
226
226
|
return;
|
|
@@ -232,13 +232,13 @@ ${output.output}
|
|
|
232
232
|
event.input = input;
|
|
233
233
|
}));
|
|
234
234
|
const hook = (event) => Effect.gen(function* () {
|
|
235
|
-
const tool = event.tools[
|
|
235
|
+
const tool = event.tools[name13];
|
|
236
236
|
if (!tool)
|
|
237
237
|
return;
|
|
238
238
|
const selected = yield* agents.resolve(event.agent);
|
|
239
239
|
if (!selected)
|
|
240
240
|
return;
|
|
241
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
241
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name13, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
242
242
|
if (available.length === 0)
|
|
243
243
|
return;
|
|
244
244
|
tool.description = [
|
|
@@ -255,4 +255,4 @@ ${output.output}
|
|
|
255
255
|
})
|
|
256
256
|
};
|
|
257
257
|
|
|
258
|
-
export {
|
|
258
|
+
export { name13, Input13, Output9, description7, Plugin52, exports_subagent };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node83
|
|
4
|
+
} from "./tool-output-a9zrx39y.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service31,
|
|
7
|
+
node34
|
|
8
|
+
} from "./tool-output-rk2h67k3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-sqjzf8x2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service9,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node11
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service9 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service31;
|
|
30
|
+
const jobs = yield* Service80;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service9.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -53,7 +53,7 @@ var make = Effect.gen(function* () {
|
|
|
53
53
|
yield* sessions.resume(recovery.childSessionID);
|
|
54
54
|
const messages = yield* sessions.messages({ sessionID: recovery.childSessionID, order: "desc", limit: 20 });
|
|
55
55
|
const assistant = messages.find((message) => message.type === "assistant" && message.time.completed !== undefined && message.error === undefined);
|
|
56
|
-
return
|
|
56
|
+
return text2(assistant);
|
|
57
57
|
})
|
|
58
58
|
}).pipe(Effect.setContext(context)),
|
|
59
59
|
background: Effect.fn("SubagentJob.background")(function* (recovery) {
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node11 = Node.makeGlobalNode({
|
|
68
|
+
service: Service9,
|
|
69
|
+
layer: Layer.effect(Service9, make),
|
|
70
|
+
deps: [node34, node83]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service9, node11, exports_subagent_job };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info27,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status4,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info27 = Connection.Info;
|
|
19
19
|
var Status4 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info27, Status4, key2, exports_connection };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -8,17 +8,17 @@ __export(exports_app, {
|
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured11,
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
11
|
+
layer: () => layer26,
|
|
12
|
+
make: () => make31,
|
|
13
|
+
node: () => node81,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make31()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make31(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make32(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer:
|
|
33
|
-
var
|
|
31
|
+
var layer26 = (input) => Layer.succeed(Metadata2, make31(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer26(input), deps: [] });
|
|
33
|
+
var node81 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make31, useragent2, layer26, configured11, node81, exports_app };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
make12
|
|
3
|
+
} from "./tool-output-bhfd478d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
make11
|
|
6
|
+
} from "./tool-output-nn2nd58t.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/query-options.ts
|
|
12
12
|
var exports_query_options = {};
|
|
@@ -78,14 +78,14 @@ async function session2(input) {
|
|
|
78
78
|
systemPrompt: input.system,
|
|
79
79
|
includePartialMessages: true,
|
|
80
80
|
persistSession: input.persist,
|
|
81
|
-
hooks:
|
|
81
|
+
hooks: make12(input.pending),
|
|
82
82
|
mcpServers: {}
|
|
83
83
|
};
|
|
84
84
|
if (input.maxOutputTokens !== undefined) {
|
|
85
85
|
options.env = { ...options.env, CLAUDE_CODE_MAX_OUTPUT_TOKENS: String(input.maxOutputTokens) };
|
|
86
86
|
}
|
|
87
87
|
if (input.tools.length > 0)
|
|
88
|
-
options.mcpServers = { opencode: await
|
|
88
|
+
options.mcpServers = { opencode: await make11(input.tools, input.pending) };
|
|
89
89
|
if (input.resume !== undefined) {
|
|
90
90
|
options.resume = input.resume;
|
|
91
91
|
return options;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service64,
|
|
3
|
+
node66
|
|
4
|
+
} from "./tool-output-ag4egyv9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Service76,
|
|
7
|
+
node78,
|
|
8
8
|
canonical3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-yk1y9yyc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service28
|
|
12
|
+
} from "./tool-output-5bkchar3.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-dj32dvym.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
var HELD_WARNING_AFTER = "30 seconds";
|
|
20
20
|
function buildLocationServiceMap2(replacements = []) {
|
|
21
|
-
return Layer.effect(
|
|
21
|
+
return Layer.effect(Service76, Effect.gen(function* () {
|
|
22
22
|
const owner = yield* Effect.scope;
|
|
23
23
|
const builds = MutableHashMap.empty();
|
|
24
24
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
const finish = Effect.suspend(() => {
|
|
29
29
|
if (Exit.isSuccess(exit)) {
|
|
30
30
|
return Effect.gen(function* () {
|
|
31
|
-
const lifecycle = Context.get(exit.value,
|
|
31
|
+
const lifecycle = Context.get(exit.value, Service28);
|
|
32
32
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
33
33
|
return yield* lifecycle.shutdown;
|
|
34
34
|
build.close = lifecycle.shutdown;
|
|
@@ -65,11 +65,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
65
65
|
}).pipe(Effect.uninterruptible)
|
|
66
66
|
};
|
|
67
67
|
const bindings = [
|
|
68
|
-
|
|
68
|
+
node66.replace(Layer.succeed(Service64, {
|
|
69
69
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
70
70
|
})),
|
|
71
71
|
...replacements,
|
|
72
|
-
|
|
72
|
+
node78.replace(Layer.succeed(Service76, map))
|
|
73
73
|
];
|
|
74
74
|
return map;
|
|
75
75
|
}));
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-qs0v2njn.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref5,
|
|
11
|
+
Service85,
|
|
12
|
+
node88
|
|
13
|
+
} from "./tool-output-4q33662b.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service29,
|
|
23
23
|
define: () => define2,
|
|
24
24
|
eventDefinition: () => eventDefinition2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node32
|
|
26
26
|
});
|
|
27
27
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
28
28
|
import { Event } from "@opencode/schema/event";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
31
|
-
class
|
|
31
|
+
class Service29 extends Context.Service()("@opencode/Rpc") {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
class DeclaredError extends Error {
|
|
@@ -40,10 +40,10 @@ class DeclaredError extends Error {
|
|
|
40
40
|
this.data = data;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service89;
|
|
45
|
-
const location = yield*
|
|
46
|
-
const ref =
|
|
45
|
+
const location = yield* Service85;
|
|
46
|
+
const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
47
47
|
const closed = yield* Deferred.make();
|
|
48
48
|
const callContext = {
|
|
49
49
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -119,19 +119,19 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
119
119
|
const registered = events.get(name);
|
|
120
120
|
if (!registered)
|
|
121
121
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
122
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
122
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service85, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
return
|
|
127
|
+
return Service29.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node32 = makeLocationNode({ service: Service29, layer, deps: [node92, node88] });
|
|
130
130
|
var fields = {
|
|
131
131
|
id: Event.ID,
|
|
132
132
|
created: Schema.Finite,
|
|
133
133
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
134
|
-
location: optional2(
|
|
134
|
+
location: optional2(Ref5)
|
|
135
135
|
};
|
|
136
136
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
137
137
|
var jsonSchemas = new WeakMap;
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service29, node32, eventDefinition2, exports_rpc, define2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./tool-output-nzm9kpg0.js";
|
|
5
5
|
import {
|
|
6
6
|
Content2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Event7,
|
|
8
|
+
ID8,
|
|
9
|
+
Info9,
|
|
10
10
|
ProviderID2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service30
|
|
12
|
+
} from "./tool-output-pf3vmkke.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-hpg1pkwy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/plugin/artifact.ts
|
|
21
21
|
var exports_artifact = {};
|
|
@@ -23,7 +23,7 @@ __export(exports_artifact, {
|
|
|
23
23
|
ArtifactTools: () => exports_artifact,
|
|
24
24
|
CreateToolInput: () => CreateToolInput2,
|
|
25
25
|
DeleteToolInput: () => DeleteToolInput2,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin47,
|
|
27
27
|
ReadToolInput: () => ReadToolInput2,
|
|
28
28
|
UpdateToolInput: () => UpdateToolInput2
|
|
29
29
|
});
|
|
@@ -43,10 +43,10 @@ var CreateToolInput2 = Schema.Struct({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
var ReadToolInput2 = Schema.Struct({
|
|
46
|
-
id:
|
|
46
|
+
id: ID8.annotate({ description: "Artifact ID (art_...) to read." })
|
|
47
47
|
});
|
|
48
48
|
var UpdateToolInput2 = Schema.Struct({
|
|
49
|
-
id:
|
|
49
|
+
id: ID8.annotate({ description: "Artifact ID (art_...) to update." }),
|
|
50
50
|
title: Schema.String.pipe(optional).annotate({ description: "Updated title, or omit to keep the current title." }),
|
|
51
51
|
files: Schema.Record(Schema.String, Schema.String).annotate({
|
|
52
52
|
description: "Replacement UTF-8 file map keyed by relative path."
|
|
@@ -54,24 +54,24 @@ var UpdateToolInput2 = Schema.Struct({
|
|
|
54
54
|
entry: Schema.String.pipe(optional).annotate({ description: "Updated entry file path." })
|
|
55
55
|
});
|
|
56
56
|
var DeleteToolInput2 = Schema.Struct({
|
|
57
|
-
id:
|
|
57
|
+
id: ID8.annotate({ description: "Artifact ID (art_...) to delete." })
|
|
58
58
|
});
|
|
59
59
|
var DeleteToolOutput = Schema.Struct({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8,
|
|
61
61
|
deleted: Schema.Boolean
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var Plugin47 = {
|
|
64
64
|
id: "opencode.tool.artifact",
|
|
65
65
|
effect: Effect.fn("ArtifactTools.Plugin")(function* (ctx) {
|
|
66
|
-
const config = yield*
|
|
67
|
-
const artifacts = yield*
|
|
66
|
+
const config = yield* Service73;
|
|
67
|
+
const artifacts = yield* Service30;
|
|
68
68
|
const promptSnapshot = { text: yield* renderCreateDescription(artifacts) };
|
|
69
69
|
const refreshTools = Effect.gen(function* () {
|
|
70
70
|
promptSnapshot.text = yield* renderCreateDescription(artifacts);
|
|
71
71
|
yield* ctx.tool.reload();
|
|
72
72
|
});
|
|
73
73
|
const loaded = yield* observe2(config, ctx.event, refreshTools);
|
|
74
|
-
yield* ctx.event.subscribe({ types: [
|
|
74
|
+
yield* ctx.event.subscribe({ types: [Event7.Updated.type] }).pipe(Stream.runForEach(() => refreshTools), Effect.forkScoped({ startImmediately: true }));
|
|
75
75
|
const enabled = () => latest2(loaded.entries, "experimental")?.artifacts === true;
|
|
76
76
|
const failure = (error) => new ToolFailure({ message: error.message, error });
|
|
77
77
|
yield* ctx.tool.transform((editor) => {
|
|
@@ -81,7 +81,7 @@ var Plugin15 = {
|
|
|
81
81
|
name: "artifact_create",
|
|
82
82
|
description: promptSnapshot.text,
|
|
83
83
|
input: CreateToolInput2,
|
|
84
|
-
output:
|
|
84
|
+
output: Info9,
|
|
85
85
|
options: { namespace: "opencode", codemode: true },
|
|
86
86
|
execute: (input, context) => artifacts.create({
|
|
87
87
|
title: input.title,
|
|
@@ -109,7 +109,7 @@ var Plugin15 = {
|
|
|
109
109
|
name: "artifact_update",
|
|
110
110
|
description: "Replace an existing artifact's files at the same ID and URL.",
|
|
111
111
|
input: UpdateToolInput2,
|
|
112
|
-
output:
|
|
112
|
+
output: Info9,
|
|
113
113
|
options: { namespace: "opencode", codemode: true },
|
|
114
114
|
execute: (input, context) => artifacts.update(input.id, {
|
|
115
115
|
title: input.title,
|
|
@@ -149,4 +149,4 @@ function renderCreateDescription(artifacts) {
|
|
|
149
149
|
}));
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2,
|
|
152
|
+
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin47, exports_artifact };
|