@runlith/tagma 0.0.0-stage → 0.2.3
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/adapter/claudeHooks.d.ts +10 -0
- package/adapter/claudeHooks.js +4 -0
- package/adapter/declaration.d.ts +14 -0
- package/adapter/declaration.js +2 -0
- package/adapter/harness.d.ts +454 -0
- package/adapter/harness.js +2 -0
- package/adapter/hook.d.ts +43 -0
- package/adapter/hook.js +2 -0
- package/adapter/hostModules.d.ts +19 -0
- package/adapter/hostModules.js +2 -0
- package/adapter/loader.d.ts +10 -0
- package/adapter/loader.js +2 -0
- package/adapter/metadata.d.ts +179 -0
- package/adapter/metadata.js +4 -0
- package/adapter/payload.d.ts +19 -0
- package/adapter/payload.js +3 -0
- package/adapter/provider.d.ts +209 -0
- package/adapter/provider.js +2 -0
- package/adapter/settings.d.ts +182 -0
- package/adapter/settings.js +2 -0
- package/adapter/speech.d.ts +4 -0
- package/adapter/speech.js +2 -0
- package/host.d.ts +61223 -0
- package/package.json +134 -3
- package/plugin/Held-cvetk2wg.js +6 -0
- package/plugin/accountKey-t44g9avw.js +2 -0
- package/plugin/adapter-qdnpxs6n.js +1 -0
- package/plugin/anthropic-a4pdzrv2.js +2 -0
- package/plugin/anthropic-messages-svq0svwe.js +2 -0
- package/plugin/anthropic-q1xa9n0j.js +2 -0
- package/plugin/auth-cp8wnd0z.js +2 -0
- package/plugin/authStatus-d6scztz5.js +2 -0
- package/plugin/bundling.d.ts +30 -0
- package/plugin/bundling.js +2 -0
- package/plugin/cacheLifetime-c5mpw676.js +2 -0
- package/plugin/callback-server-q2asby82.js +16 -0
- package/plugin/capabilities-jfhf61dt.js +2 -0
- package/plugin/claudeHooks-edpg1e46.js +3 -0
- package/plugin/cli.js +21 -0
- package/plugin/cliStore-5s0qerr7.js +2 -0
- package/plugin/clientSession-tmmxm39z.js +2 -0
- package/plugin/codec-aa8mxqyr.js +1 -0
- package/plugin/connect-d7ec6kfh.js +2 -0
- package/plugin/contract-qn0z7r9c.js +1 -0
- package/plugin/credential-garn07qc.js +2 -0
- package/plugin/deepseek-fvdrmjr9.js +2 -0
- package/plugin/deepseek-sp4vxjqy.js +2 -0
- package/plugin/definition-0h3gqd2z.js +2 -0
- package/plugin/description-8xhxryaq.js +2 -0
- package/plugin/deviceGrant-axpyc7xr.js +2 -0
- package/plugin/devin-hy98d305.js +2 -0
- package/plugin/duplex-yexjcpv2.js +2 -0
- package/plugin/endpoint-0b9bsb4q.js +2 -0
- package/plugin/errors-kck87dpv.js +2 -0
- package/plugin/events-81m69vqz.js +2 -0
- package/plugin/events-s95ybm4g.js +2 -0
- package/plugin/executor-avear8af.js +2 -0
- package/plugin/failure-ddv4456n.js +2 -0
- package/plugin/framing-jnd2zm0h.js +2 -0
- package/plugin/grant-85r3bbqn.js +2 -0
- package/plugin/harness-jm3fhnwg.js +2 -0
- package/plugin/headers-w6p5sp18.js +2 -0
- package/plugin/hook-hjrk83m8.js +2 -0
- package/plugin/icon-044pa3y8.js +6 -0
- package/plugin/icon-j22svmgp.js +4 -0
- package/plugin/icon-ny6qbjvc.js +4 -0
- package/plugin/icon-pz54e8n3.js +4 -0
- package/plugin/icon-qy92jx2b.js +4 -0
- package/plugin/ids-2dndaq8y.js +2 -0
- package/plugin/images-s2kqebfv.js +2 -0
- package/plugin/index-b3yp4szm.js +2 -0
- package/plugin/index-xs7nfsck.js +2 -0
- package/plugin/lifecycle-er51apxp.js +2 -0
- package/plugin/manual-2mdscj84.js +2 -0
- package/plugin/messages-gmwcg1pq.js +2 -0
- package/plugin/metadata-gpazs3f5.js +4 -0
- package/plugin/muse-g8bc58v8.js +2 -0
- package/plugin/muse-tfe6sph7.js +2 -0
- package/plugin/museToolSchema-tbe0f3wa.js +2 -0
- package/plugin/notes-5m0m3pdr.js +2 -0
- package/plugin/object-9pjtdam7.js +2 -0
- package/plugin/open-browser-vqb7ckt1.js +2 -0
- package/plugin/openai-6f50tf64.js +2 -0
- package/plugin/openai-compatible-chat-eez8hkge.js +2 -0
- package/plugin/openai-images-haszbnft.js +2 -0
- package/plugin/openai-mfqwg6pa.js +2 -0
- package/plugin/openai-responses-1gpyp640.js +2 -0
- package/plugin/opencodeGo-1wgdjtjz.js +3 -0
- package/plugin/opencodeGo-qgw3pfg6.js +2 -0
- package/plugin/options-476akxaj.js +2 -0
- package/plugin/payload-2gr4q9g8.js +2 -0
- package/plugin/pkce-y3sh5pk8.js +2 -0
- package/plugin/plugin-0e34qaar.js +3 -0
- package/plugin/plugin-1vpp5mqk.js +4 -0
- package/plugin/plugin-1zkx860n.js +3 -0
- package/plugin/plugin-217mw9ck.js +3 -0
- package/plugin/plugin-24j9hnc7.js +3 -0
- package/plugin/plugin-2s6bq45c.js +3 -0
- package/plugin/plugin-3969dy0b.js +3 -0
- package/plugin/plugin-3b8x73y6.js +3 -0
- package/plugin/plugin-3t0qp574.js +3 -0
- package/plugin/plugin-55fbx586.js +3 -0
- package/plugin/plugin-5zq084fb.js +3 -0
- package/plugin/plugin-6a56xsx3.js +3 -0
- package/plugin/plugin-6vzw5yyr.js +3 -0
- package/plugin/plugin-72xxqm1t.js +3 -0
- package/plugin/plugin-7swap1ad.js +3 -0
- package/plugin/plugin-7te9b50h.js +3 -0
- package/plugin/plugin-7xmwhj5h.js +3 -0
- package/plugin/plugin-80gqwmjy.js +3 -0
- package/plugin/plugin-8g8myq9g.js +3 -0
- package/plugin/plugin-8q44b578.js +3 -0
- package/plugin/plugin-8v4g0q0b.js +3 -0
- package/plugin/plugin-8x3c401q.js +9 -0
- package/plugin/plugin-92sxs4r1.js +3 -0
- package/plugin/plugin-9gha9fx3.js +3 -0
- package/plugin/plugin-9zbh7788.js +3 -0
- package/plugin/plugin-a3vzpk4e.js +3 -0
- package/plugin/plugin-ak62rhwz.js +3 -0
- package/plugin/plugin-azkzdkpk.js +3 -0
- package/plugin/plugin-cydz2zhy.js +3 -0
- package/plugin/plugin-d28d8jar.js +4 -0
- package/plugin/plugin-dd951075.js +3 -0
- package/plugin/plugin-dqxdznvd.js +3 -0
- package/plugin/plugin-dsjq4tye.js +3 -0
- package/plugin/plugin-e5ybk2a2.js +3 -0
- package/plugin/plugin-eksq91yp.js +5 -0
- package/plugin/plugin-er1kc6f6.js +5 -0
- package/plugin/plugin-fjsmz1vy.js +4 -0
- package/plugin/plugin-fre9hdcg.js +3 -0
- package/plugin/plugin-g0zv4vrz.js +3 -0
- package/plugin/plugin-g4hst0jz.js +3 -0
- package/plugin/plugin-g7hrtg2p.js +3 -0
- package/plugin/plugin-gh857xdd.js +3 -0
- package/plugin/plugin-hkjxkgty.js +3 -0
- package/plugin/plugin-jxvmq18y.js +3 -0
- package/plugin/plugin-kc4z9msd.js +3 -0
- package/plugin/plugin-krbbb4ts.js +3 -0
- package/plugin/plugin-me00x60n.js +3 -0
- package/plugin/plugin-mqr325kz.js +3 -0
- package/plugin/plugin-nzacjxf9.js +3 -0
- package/plugin/plugin-p59gy5xd.js +3 -0
- package/plugin/plugin-p6x7emar.js +3 -0
- package/plugin/plugin-pdww1ma8.js +3 -0
- package/plugin/plugin-psj9935q.js +3 -0
- package/plugin/plugin-q6pvb1xf.js +3 -0
- package/plugin/plugin-r342d8zf.js +3 -0
- package/plugin/plugin-r7g3vqrm.js +3 -0
- package/plugin/plugin-rrgyjesv.js +3 -0
- package/plugin/plugin-t4xrq5q2.js +3 -0
- package/plugin/plugin-tetj2cr3.js +3 -0
- package/plugin/plugin-v80m00bq.js +14 -0
- package/plugin/plugin-vfjhxng8.js +3 -0
- package/plugin/plugin-vqrd05eg.js +3 -0
- package/plugin/plugin-w3zbkmy6.js +3 -0
- package/plugin/plugin-w8f977my.js +3 -0
- package/plugin/plugin-xbnw80pk.js +3 -0
- package/plugin/plugin-xfcgt5ba.js +36 -0
- package/plugin/plugin-y9cdpmbv.js +6 -0
- package/plugin/plugin-yg0h5k5d.js +3 -0
- package/plugin/plugin-yp736z4n.js +3 -0
- package/plugin/plugin-zrb8bbr4.js +3 -0
- package/plugin/plugin-zsv7wawc.js +3 -0
- package/plugin/plugin.d.ts +175 -0
- package/plugin/plugin.js +2 -0
- package/plugin/points.generated.d.ts +341 -0
- package/plugin/points.generated.js +2 -0
- package/plugin/process.d.ts +4 -0
- package/plugin/process.js +85 -0
- package/plugin/protocol-8c26dk6v.js +2 -0
- package/plugin/protocol.d.ts +115 -0
- package/plugin/protocol.js +2 -0
- package/plugin/provider-0b7xxyhn.js +2 -0
- package/plugin/quota-v63yvp13.js +2 -0
- package/plugin/quotaRead-esmjycnd.js +2 -0
- package/plugin/reasoning-1saw6tds.js +2 -0
- package/plugin/record-1m3vvy60.js +2 -0
- package/plugin/requests-2zyr1g8e.js +1 -0
- package/plugin/responseFold-xxhqx4sa.js +2 -0
- package/plugin/settings-8xq8dvhp.js +2 -0
- package/plugin/shared-4jndfh28.js +2 -0
- package/plugin/speech-067caz1a.js +2 -0
- package/plugin/stepfun-3en5g41d.js +2 -0
- package/plugin/stepfun-xp1c5wpk.js +2 -0
- package/plugin/stream-8yrr289z.js +2 -0
- package/plugin/svelteProgram-73v9yajk.js +2 -0
- package/plugin/synthesisDuplex-ch9jhqzt.js +2 -0
- package/plugin/template.d.ts +14 -0
- package/plugin/template.js +2 -0
- package/plugin/testing.d.ts +85 -0
- package/plugin/testing.js +4 -0
- package/plugin/tool-content-vean6rqa.js +2 -0
- package/plugin/tool-stream-fb180jmt.js +2 -0
- package/plugin/transport-j784dsdr.js +2 -0
- package/plugin/ui.generated.d.ts +1041 -0
- package/plugin/value.d.ts +8 -0
- package/plugin/value.js +2 -0
- package/plugin/vendor-pn6b5a8f.js +2 -0
- package/plugin/vendorCall-6n5chrn0.js +2 -0
- package/plugin/vendorCall-82evk8b3.js +2 -0
- package/plugin/vendorPayload-458354fv.js +2 -0
- package/plugin/vendorWeb-cz5t01m7.js +2 -0
- package/plugin/verbatim-2f2d9n02.js +2 -0
- package/plugin/xai-2cqraa99.js +2 -0
- package/plugin/xai-e8sbtk6a.js +2 -0
- package/rules/effect.d.ts +55 -0
- package/rules/effect.js +11 -0
- package/rules/rules.d.ts +342 -0
- package/rules/rules.js +50 -0
- package/types/node/assert/strict.d.ts +12 -0
- package/types/node/assert.d.ts +76 -0
- package/types/node/async_hooks.d.ts +113 -0
- package/types/node/buffer.buffer.d.ts +29 -0
- package/types/node/buffer.d.ts +162 -0
- package/types/node/child_process.d.ts +337 -0
- package/types/node/cluster.d.ts +118 -0
- package/types/node/compatibility/iterators.d.ts +11 -0
- package/types/node/console.d.ts +48 -0
- package/types/node/constants.d.ts +8 -0
- package/types/node/crypto.d.ts +847 -0
- package/types/node/dgram.d.ts +88 -0
- package/types/node/diagnostics_channel.d.ts +61 -0
- package/types/node/dns/promises.d.ts +94 -0
- package/types/node/dns.d.ts +276 -0
- package/types/node/domain.d.ts +17 -0
- package/types/node/events.d.ts +138 -0
- package/types/node/fs/promises.d.ts +253 -0
- package/types/node/fs.d.ts +1038 -0
- package/types/node/globals.d.ts +73 -0
- package/types/node/globals.typedarray.d.ts +22 -0
- package/types/node/http.d.ts +530 -0
- package/types/node/http2.d.ts +794 -0
- package/types/node/https.d.ts +66 -0
- package/types/node/index.d.ts +84 -0
- package/types/node/inspector/promises.d.ts +13 -0
- package/types/node/inspector.d.ts +61 -0
- package/types/node/inspector.generated.d.ts +1624 -0
- package/types/node/module.d.ts +187 -0
- package/types/node/net.d.ts +266 -0
- package/types/node/os.d.ts +236 -0
- package/types/node/path/posix.d.ts +8 -0
- package/types/node/path/win32.d.ts +8 -0
- package/types/node/path.d.ts +40 -0
- package/types/node/perf_hooks.d.ts +236 -0
- package/types/node/process.d.ts +436 -0
- package/types/node/punycode.d.ts +15 -0
- package/types/node/querystring.d.ts +22 -0
- package/types/node/quic.d.ts +203 -0
- package/types/node/readline/promises.d.ts +28 -0
- package/types/node/readline.d.ts +94 -0
- package/types/node/repl.d.ts +104 -0
- package/types/node/sea.d.ts +11 -0
- package/types/node/sqlite.d.ts +183 -0
- package/types/node/stream/consumers.d.ts +13 -0
- package/types/node/stream/iter.d.ts +240 -0
- package/types/node/stream/promises.d.ts +37 -0
- package/types/node/stream/web.d.ts +297 -0
- package/types/node/stream.d.ts +378 -0
- package/types/node/string_decoder.d.ts +10 -0
- package/types/node/test/reporters.d.ts +66 -0
- package/types/node/test.d.ts +462 -0
- package/types/node/timers/promises.d.ts +16 -0
- package/types/node/timers.d.ts +43 -0
- package/types/node/tls.d.ts +279 -0
- package/types/node/trace_events.d.ts +16 -0
- package/types/node/ts5.6/buffer.buffer.d.ts +26 -0
- package/types/node/ts5.6/compatibility/float16array.d.ts +43 -0
- package/types/node/ts5.6/globals.typedarray.d.ts +22 -0
- package/types/node/ts5.6/index.d.ts +84 -0
- package/types/node/ts5.7/compatibility/float16array.d.ts +50 -0
- package/types/node/ts5.7/index.d.ts +84 -0
- package/types/node/tty.d.ts +61 -0
- package/types/node/url.d.ts +165 -0
- package/types/node/util/types.d.ts +49 -0
- package/types/node/util.d.ts +320 -0
- package/types/node/v8.d.ts +178 -0
- package/types/node/vm.d.ts +130 -0
- package/types/node/wasi.d.ts +26 -0
- package/types/node/web-globals/abortcontroller.d.ts +47 -0
- package/types/node/web-globals/blob.d.ts +34 -0
- package/types/node/web-globals/console.d.ts +7 -0
- package/types/node/web-globals/crypto.d.ts +46 -0
- package/types/node/web-globals/domexception.d.ts +74 -0
- package/types/node/web-globals/encoding.d.ts +16 -0
- package/types/node/web-globals/events.d.ts +111 -0
- package/types/node/web-globals/fetch.d.ts +121 -0
- package/types/node/web-globals/importmeta.d.ts +11 -0
- package/types/node/web-globals/messaging.d.ts +32 -0
- package/types/node/web-globals/navigator.d.ts +28 -0
- package/types/node/web-globals/performance.d.ts +71 -0
- package/types/node/web-globals/storage.d.ts +26 -0
- package/types/node/web-globals/streams.d.ts +162 -0
- package/types/node/web-globals/timers.d.ts +22 -0
- package/types/node/web-globals/url.d.ts +27 -0
- package/types/node/worker_threads.d.ts +199 -0
- package/types/node/zlib/iter.d.ts +49 -0
- package/types/node/zlib.d.ts +360 -0
- package/types/undici/agent.d.ts +24 -0
- package/types/undici/api.d.ts +19 -0
- package/types/undici/balanced-pool.d.ts +16 -0
- package/types/undici/cache-interceptor.d.ts +98 -0
- package/types/undici/cache.d.ts +30 -0
- package/types/undici/client-stats.d.ts +9 -0
- package/types/undici/client.d.ts +61 -0
- package/types/undici/connector.d.ts +37 -0
- package/types/undici/content-type.d.ts +9 -0
- package/types/undici/cookies.d.ts +22 -0
- package/types/undici/diagnostics-channel.d.ts +72 -0
- package/types/undici/dispatcher.d.ts +207 -0
- package/types/undici/env-http-proxy-agent.d.ts +15 -0
- package/types/undici/errors.d.ts +117 -0
- package/types/undici/eventsource.d.ts +39 -0
- package/types/undici/fetch.d.ts +122 -0
- package/types/undici/formdata.d.ts +24 -0
- package/types/undici/global-dispatcher.d.ts +4 -0
- package/types/undici/global-origin.d.ts +3 -0
- package/types/undici/h2c-client.d.ts +35 -0
- package/types/undici/handlers.d.ts +7 -0
- package/types/undici/header.d.ts +10 -0
- package/types/undici/index.d.ts +85 -0
- package/types/undici/interceptors.d.ts +70 -0
- package/types/undici/mock-agent.d.ts +43 -0
- package/types/undici/mock-call-history.d.ts +57 -0
- package/types/undici/mock-client.d.ts +17 -0
- package/types/undici/mock-errors.d.ts +9 -0
- package/types/undici/mock-interceptor.d.ts +60 -0
- package/types/undici/mock-pool.d.ts +17 -0
- package/types/undici/patch.d.ts +21 -0
- package/types/undici/pool-stats.d.ts +11 -0
- package/types/undici/pool.d.ts +25 -0
- package/types/undici/proxy-agent.d.ts +22 -0
- package/types/undici/readable.d.ts +24 -0
- package/types/undici/retry-agent.d.ts +6 -0
- package/types/undici/retry-handler.d.ts +41 -0
- package/types/undici/round-robin-pool.d.ts +25 -0
- package/types/undici/snapshot-agent.d.ts +98 -0
- package/types/undici/socks5-proxy-agent.d.ts +17 -0
- package/types/undici/util.d.ts +4 -0
- package/types/undici/utility.d.ts +2 -0
- package/types/undici/webidl.d.ts +121 -0
- package/types/undici/websocket.d.ts +130 -0
- package/README.md +0 -3
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare module "node:path" {
|
|
2
|
+
namespace path {
|
|
3
|
+
interface ParsedPath {
|
|
4
|
+
root: string;
|
|
5
|
+
dir: string;
|
|
6
|
+
base: string;
|
|
7
|
+
ext: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
interface FormatInputPathObject {
|
|
11
|
+
root?: string | undefined;
|
|
12
|
+
dir?: string | undefined;
|
|
13
|
+
base?: string | undefined;
|
|
14
|
+
ext?: string | undefined;
|
|
15
|
+
name?: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
function normalize(path: string): string;
|
|
18
|
+
function join(...paths: string[]): string;
|
|
19
|
+
function resolve(...paths: string[]): string;
|
|
20
|
+
function matchesGlob(path: string, pattern: string): boolean;
|
|
21
|
+
function isAbsolute(path: string): boolean;
|
|
22
|
+
function relative(from: string, to: string): string;
|
|
23
|
+
function dirname(path: string): string;
|
|
24
|
+
function basename(path: string, suffix?: string): string;
|
|
25
|
+
function extname(path: string): string;
|
|
26
|
+
const sep: "\\" | "/";
|
|
27
|
+
const delimiter: ";" | ":";
|
|
28
|
+
function parse(path: string): ParsedPath;
|
|
29
|
+
function format(pathObject: FormatInputPathObject): string;
|
|
30
|
+
function toNamespacedPath(path: string): string;
|
|
31
|
+
}
|
|
32
|
+
namespace path {
|
|
33
|
+
export { path as posix, path as win32, };
|
|
34
|
+
}
|
|
35
|
+
export = path;
|
|
36
|
+
}
|
|
37
|
+
declare module "path" {
|
|
38
|
+
import path = require("node:path");
|
|
39
|
+
export = path;
|
|
40
|
+
}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
declare module "node:perf_hooks" {
|
|
2
|
+
import { InternalEventTargetEventProperties } from "node:events";
|
|
3
|
+
type EntryType = "dns" | "function" | "gc" | "http2" | "http" | "mark" | "measure" | "net" | "node" | "resource";
|
|
4
|
+
interface ConnectionTimingInfo {
|
|
5
|
+
domainLookupStartTime: number;
|
|
6
|
+
domainLookupEndTime: number;
|
|
7
|
+
connectionStartTime: number;
|
|
8
|
+
connectionEndTime: number;
|
|
9
|
+
secureConnectionStartTime: number;
|
|
10
|
+
ALPNNegotiatedProtocol: string;
|
|
11
|
+
}
|
|
12
|
+
interface FetchTimingInfo {
|
|
13
|
+
startTime: number;
|
|
14
|
+
redirectStartTime: number;
|
|
15
|
+
redirectEndTime: number;
|
|
16
|
+
postRedirectStartTime: number;
|
|
17
|
+
finalServiceWorkerStartTime: number;
|
|
18
|
+
finalNetworkRequestStartTime: number;
|
|
19
|
+
finalNetworkResponseStartTime: number;
|
|
20
|
+
endTime: number;
|
|
21
|
+
finalConnectionTimingInfo: ConnectionTimingInfo | null;
|
|
22
|
+
encodedBodySize: number;
|
|
23
|
+
decodedBodySize: number;
|
|
24
|
+
}
|
|
25
|
+
type PerformanceEntryList = PerformanceEntry[];
|
|
26
|
+
interface PerformanceMarkOptions {
|
|
27
|
+
detail?: any;
|
|
28
|
+
startTime?: number;
|
|
29
|
+
}
|
|
30
|
+
interface PerformanceMeasureOptions {
|
|
31
|
+
detail?: any;
|
|
32
|
+
duration?: number;
|
|
33
|
+
end?: string | number;
|
|
34
|
+
start?: string | number;
|
|
35
|
+
}
|
|
36
|
+
interface PerformanceObserverCallback {
|
|
37
|
+
(entries: PerformanceObserverEntryList, observer: PerformanceObserver): void;
|
|
38
|
+
}
|
|
39
|
+
interface PerformanceObserverInit {
|
|
40
|
+
buffered?: boolean;
|
|
41
|
+
entryTypes?: EntryType[];
|
|
42
|
+
type?: EntryType;
|
|
43
|
+
}
|
|
44
|
+
interface PerformanceTimerifyOptions extends TimerifyOptions {
|
|
45
|
+
}
|
|
46
|
+
interface PerformanceEventMap {
|
|
47
|
+
"resourcetimingbufferfull": Event;
|
|
48
|
+
}
|
|
49
|
+
interface Performance extends EventTarget, InternalEventTargetEventProperties<PerformanceEventMap> {
|
|
50
|
+
readonly nodeTiming: PerformanceNodeTiming;
|
|
51
|
+
readonly timeOrigin: number;
|
|
52
|
+
clearMarks(markName?: string): void;
|
|
53
|
+
clearMeasures(measureName?: string): void;
|
|
54
|
+
clearResourceTimings(resourceTimingName?: string): void;
|
|
55
|
+
getEntries(): PerformanceEntryList;
|
|
56
|
+
getEntriesByName(name: string, type?: EntryType): PerformanceEntryList;
|
|
57
|
+
getEntriesByType(type: EntryType): PerformanceEntryList;
|
|
58
|
+
mark(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;
|
|
59
|
+
markResourceTiming(timingInfo: FetchTimingInfo, requestedUrl: string, initiatorType: string, global: unknown, cacheMode: string, bodyInfo: unknown, responseStatus: number, deliveryType?: string): PerformanceResourceTiming;
|
|
60
|
+
measure(measureName: string, startMark?: string, endMark?: string): PerformanceMeasure;
|
|
61
|
+
measure(measureName: string, options: PerformanceMeasureOptions, endMark?: string): PerformanceMeasure;
|
|
62
|
+
now(): number;
|
|
63
|
+
setResourceTimingBufferSize(maxSize: number): void;
|
|
64
|
+
toJSON(): any;
|
|
65
|
+
addEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (ev: PerformanceEventMap[K]) => void, options?: AddEventListenerOptions | boolean): void;
|
|
66
|
+
addEventListener(type: string, listener: EventListener | EventListenerObject, options?: AddEventListenerOptions | boolean): void;
|
|
67
|
+
removeEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (ev: PerformanceEventMap[K]) => void, options?: EventListenerOptions | boolean): void;
|
|
68
|
+
removeEventListener(type: string, listener: EventListener | EventListenerObject, options?: EventListenerOptions | boolean): void;
|
|
69
|
+
eventLoopUtilization(utilization1?: EventLoopUtilization, utilization2?: EventLoopUtilization): EventLoopUtilization;
|
|
70
|
+
timerify<T extends (...args: any[]) => any>(fn: T, options?: TimerifyOptions): T;
|
|
71
|
+
}
|
|
72
|
+
var Performance: {
|
|
73
|
+
prototype: Performance;
|
|
74
|
+
new (): Performance;
|
|
75
|
+
};
|
|
76
|
+
interface PerformanceEntry {
|
|
77
|
+
readonly duration: number;
|
|
78
|
+
readonly entryType: EntryType;
|
|
79
|
+
readonly name: string;
|
|
80
|
+
readonly startTime: number;
|
|
81
|
+
toJSON(): any;
|
|
82
|
+
}
|
|
83
|
+
var PerformanceEntry: {
|
|
84
|
+
prototype: PerformanceEntry;
|
|
85
|
+
new (): PerformanceEntry;
|
|
86
|
+
};
|
|
87
|
+
interface PerformanceMark extends PerformanceEntry {
|
|
88
|
+
readonly detail: any;
|
|
89
|
+
readonly entryType: "mark";
|
|
90
|
+
}
|
|
91
|
+
var PerformanceMark: {
|
|
92
|
+
prototype: PerformanceMark;
|
|
93
|
+
new (markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;
|
|
94
|
+
};
|
|
95
|
+
interface PerformanceMeasure extends PerformanceEntry {
|
|
96
|
+
readonly detail: any;
|
|
97
|
+
readonly entryType: "measure";
|
|
98
|
+
}
|
|
99
|
+
var PerformanceMeasure: {
|
|
100
|
+
prototype: PerformanceMeasure;
|
|
101
|
+
new (): PerformanceMeasure;
|
|
102
|
+
};
|
|
103
|
+
interface PerformanceObserver {
|
|
104
|
+
disconnect(): void;
|
|
105
|
+
observe(options: PerformanceObserverInit): void;
|
|
106
|
+
takeRecords(): PerformanceEntryList;
|
|
107
|
+
}
|
|
108
|
+
var PerformanceObserver: {
|
|
109
|
+
prototype: PerformanceObserver;
|
|
110
|
+
new (callback: PerformanceObserverCallback): PerformanceObserver;
|
|
111
|
+
readonly supportedEntryTypes: readonly EntryType[];
|
|
112
|
+
};
|
|
113
|
+
interface PerformanceObserverEntryList {
|
|
114
|
+
getEntries(): PerformanceEntryList;
|
|
115
|
+
getEntriesByName(name: string, type?: EntryType): PerformanceEntryList;
|
|
116
|
+
getEntriesByType(type: EntryType): PerformanceEntryList;
|
|
117
|
+
}
|
|
118
|
+
var PerformanceObserverEntryList: {
|
|
119
|
+
prototype: PerformanceObserverEntryList;
|
|
120
|
+
new (): PerformanceObserverEntryList;
|
|
121
|
+
};
|
|
122
|
+
interface PerformanceResourceTiming extends PerformanceEntry {
|
|
123
|
+
readonly connectEnd: number;
|
|
124
|
+
readonly connectStart: number;
|
|
125
|
+
readonly decodedBodySize: number;
|
|
126
|
+
readonly domainLookupEnd: number;
|
|
127
|
+
readonly domainLookupStart: number;
|
|
128
|
+
readonly encodedBodySize: number;
|
|
129
|
+
readonly entryType: "resource";
|
|
130
|
+
readonly fetchStart: number;
|
|
131
|
+
readonly initiatorType: string;
|
|
132
|
+
readonly nextHopProtocol: string;
|
|
133
|
+
readonly redirectEnd: number;
|
|
134
|
+
readonly redirectStart: number;
|
|
135
|
+
readonly requestStart: number;
|
|
136
|
+
readonly responseEnd: number;
|
|
137
|
+
readonly responseStart: number;
|
|
138
|
+
readonly responseStatus: number;
|
|
139
|
+
readonly secureConnectionStart: number;
|
|
140
|
+
readonly transferSize: number;
|
|
141
|
+
readonly workerStart: number;
|
|
142
|
+
toJSON(): any;
|
|
143
|
+
}
|
|
144
|
+
var PerformanceResourceTiming: {
|
|
145
|
+
prototype: PerformanceResourceTiming;
|
|
146
|
+
new (): PerformanceResourceTiming;
|
|
147
|
+
};
|
|
148
|
+
var performance: Performance;
|
|
149
|
+
class PerformanceNodeEntry extends PerformanceEntry {
|
|
150
|
+
readonly detail: any;
|
|
151
|
+
readonly entryType: "dns" | "function" | "gc" | "http2" | "http" | "net" | "node";
|
|
152
|
+
}
|
|
153
|
+
interface UVMetrics {
|
|
154
|
+
readonly loopCount: number;
|
|
155
|
+
readonly events: number;
|
|
156
|
+
readonly eventsWaiting: number;
|
|
157
|
+
}
|
|
158
|
+
interface PerformanceNodeTiming extends PerformanceEntry {
|
|
159
|
+
readonly bootstrapComplete: number;
|
|
160
|
+
readonly entryType: "node";
|
|
161
|
+
readonly environment: number;
|
|
162
|
+
readonly idleTime: number;
|
|
163
|
+
readonly loopExit: number;
|
|
164
|
+
readonly loopStart: number;
|
|
165
|
+
readonly nodeStart: number;
|
|
166
|
+
readonly uvMetricsInfo: UVMetrics;
|
|
167
|
+
readonly v8Start: number;
|
|
168
|
+
}
|
|
169
|
+
namespace constants {
|
|
170
|
+
const NODE_PERFORMANCE_GC_MAJOR: number;
|
|
171
|
+
const NODE_PERFORMANCE_GC_MINOR: number;
|
|
172
|
+
const NODE_PERFORMANCE_GC_INCREMENTAL: number;
|
|
173
|
+
const NODE_PERFORMANCE_GC_WEAKCB: number;
|
|
174
|
+
const NODE_PERFORMANCE_GC_FLAGS_NO: number;
|
|
175
|
+
const NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED: number;
|
|
176
|
+
const NODE_PERFORMANCE_GC_FLAGS_FORCED: number;
|
|
177
|
+
const NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING: number;
|
|
178
|
+
const NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE: number;
|
|
179
|
+
const NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY: number;
|
|
180
|
+
const NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE: number;
|
|
181
|
+
}
|
|
182
|
+
interface EventLoopMonitorOptions {
|
|
183
|
+
resolution?: number | undefined;
|
|
184
|
+
}
|
|
185
|
+
interface Histogram {
|
|
186
|
+
readonly count: number;
|
|
187
|
+
readonly countBigInt: bigint;
|
|
188
|
+
readonly exceeds: number;
|
|
189
|
+
readonly exceedsBigInt: bigint;
|
|
190
|
+
readonly max: number;
|
|
191
|
+
readonly maxBigInt: number;
|
|
192
|
+
readonly mean: number;
|
|
193
|
+
readonly min: number;
|
|
194
|
+
readonly minBigInt: bigint;
|
|
195
|
+
percentile(percentile: number): number;
|
|
196
|
+
percentileBigInt(percentile: number): bigint;
|
|
197
|
+
readonly percentiles: Map<number, number>;
|
|
198
|
+
readonly percentilesBigInt: Map<bigint, bigint>;
|
|
199
|
+
reset(): void;
|
|
200
|
+
readonly stddev: number;
|
|
201
|
+
}
|
|
202
|
+
interface IntervalHistogram extends Histogram {
|
|
203
|
+
enable(): boolean;
|
|
204
|
+
disable(): boolean;
|
|
205
|
+
[Symbol.dispose](): void;
|
|
206
|
+
}
|
|
207
|
+
interface RecordableHistogram extends Histogram {
|
|
208
|
+
record(val: number | bigint): void;
|
|
209
|
+
recordDelta(): void;
|
|
210
|
+
add(other: RecordableHistogram): void;
|
|
211
|
+
}
|
|
212
|
+
interface EventLoopUtilization {
|
|
213
|
+
idle: number;
|
|
214
|
+
active: number;
|
|
215
|
+
utilization: number;
|
|
216
|
+
}
|
|
217
|
+
function eventLoopUtilization(utilization1?: EventLoopUtilization, utilization2?: EventLoopUtilization): EventLoopUtilization;
|
|
218
|
+
function monitorEventLoopDelay(options?: EventLoopMonitorOptions): IntervalHistogram;
|
|
219
|
+
interface TimerifyOptions {
|
|
220
|
+
histogram?: RecordableHistogram | undefined;
|
|
221
|
+
}
|
|
222
|
+
function timerify<T extends (...args: any[]) => any>(fn: T, options?: TimerifyOptions): T;
|
|
223
|
+
interface CreateHistogramOptions {
|
|
224
|
+
lowest?: number | bigint | undefined;
|
|
225
|
+
highest?: number | bigint | undefined;
|
|
226
|
+
figures?: number | undefined;
|
|
227
|
+
}
|
|
228
|
+
function createHistogram(options?: CreateHistogramOptions): RecordableHistogram;
|
|
229
|
+
interface MarkOptions extends PerformanceMarkOptions {
|
|
230
|
+
}
|
|
231
|
+
interface MeasureOptions extends PerformanceMeasureOptions {
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
declare module "perf_hooks" {
|
|
235
|
+
export * from "node:perf_hooks";
|
|
236
|
+
}
|