@vforsh/argus-client 0.1.2

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.
Files changed (39) hide show
  1. package/README.md +94 -0
  2. package/dist/.tsbuildinfo +1 -0
  3. package/dist/client/createArgusClient.d.ts +8 -0
  4. package/dist/client/createArgusClient.d.ts.map +1 -0
  5. package/dist/client/createArgusClient.js +136 -0
  6. package/dist/client/createArgusClient.js.map +1 -0
  7. package/dist/client/queryParams.d.ts +4 -0
  8. package/dist/client/queryParams.d.ts.map +1 -0
  9. package/dist/client/queryParams.js +123 -0
  10. package/dist/client/queryParams.js.map +1 -0
  11. package/dist/client/watcherRequest.d.ts +20 -0
  12. package/dist/client/watcherRequest.d.ts.map +1 -0
  13. package/dist/client/watcherRequest.js +39 -0
  14. package/dist/client/watcherRequest.js.map +1 -0
  15. package/dist/http/fetchJson.d.ts +2 -0
  16. package/dist/http/fetchJson.d.ts.map +1 -0
  17. package/dist/http/fetchJson.js +2 -0
  18. package/dist/http/fetchJson.js.map +1 -0
  19. package/dist/index.d.ts +3 -0
  20. package/dist/index.d.ts.map +1 -0
  21. package/dist/index.js +2 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/logs/previewLogEvent.d.ts +3 -0
  24. package/dist/logs/previewLogEvent.d.ts.map +1 -0
  25. package/dist/logs/previewLogEvent.js +6 -0
  26. package/dist/logs/previewLogEvent.js.map +1 -0
  27. package/dist/registry/readAndPruneRegistry.d.ts +11 -0
  28. package/dist/registry/readAndPruneRegistry.d.ts.map +1 -0
  29. package/dist/registry/readAndPruneRegistry.js +14 -0
  30. package/dist/registry/readAndPruneRegistry.js.map +1 -0
  31. package/dist/time/parseDurationMs.d.ts +2 -0
  32. package/dist/time/parseDurationMs.d.ts.map +1 -0
  33. package/dist/time/parseDurationMs.js +18 -0
  34. package/dist/time/parseDurationMs.js.map +1 -0
  35. package/dist/types.d.ts +148 -0
  36. package/dist/types.d.ts.map +1 -0
  37. package/dist/types.js +2 -0
  38. package/dist/types.js.map +1 -0
  39. package/package.json +32 -0
package/README.md ADDED
@@ -0,0 +1,94 @@
1
+ # @vforsh/argus-client
2
+
3
+ Node-only client for Argus watcher list/logs APIs.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @vforsh/argus-client
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ts
14
+ import { createArgusClient } from '@vforsh/argus-client'
15
+
16
+ const client = createArgusClient()
17
+
18
+ const list = await client.list()
19
+ const logs = await client.logs('app', { mode: 'preview', since: '10m', levels: ['error'] })
20
+ ```
21
+
22
+ ## API
23
+
24
+ ### `createArgusClient(options?)`
25
+
26
+ ```ts
27
+ type ArgusClientOptions = {
28
+ registryPath?: string
29
+ ttlMs?: number
30
+ timeoutMs?: number
31
+ }
32
+ ```
33
+
34
+ - `registryPath`: override registry path instead of `ARGUS_REGISTRY_PATH` / default.
35
+ - `ttlMs`: staleness threshold for pruning watchers (default `DEFAULT_TTL_MS`).
36
+ - `timeoutMs`: default HTTP timeout; applied as 2s for status and 5s for logs.
37
+
38
+ ### `client.list(options?)`
39
+
40
+ ```ts
41
+ type ListOptions = {
42
+ byCwd?: string
43
+ }
44
+
45
+ type ListResult = {
46
+ watcher: WatcherRecord
47
+ reachable: boolean
48
+ status?: StatusResponse
49
+ error?: string
50
+ }
51
+ ```
52
+
53
+ - Reads registry, prunes stale entries, pings `/status` for each watcher.
54
+ - Unreachable watchers are removed from the registry, but still returned with `reachable: false` and `error`.
55
+ - `byCwd` filters watchers by `cwd` substring (empty/whitespace treated as unset).
56
+
57
+ ### `client.logs(watcherId, options?)`
58
+
59
+ ```ts
60
+ type LogsOptions = {
61
+ mode?: 'preview' | 'full'
62
+ levels?: string | LogLevel[]
63
+ match?: string | string[]
64
+ matchCase?: 'sensitive' | 'insensitive'
65
+ source?: string
66
+ after?: number
67
+ limit?: number
68
+ since?: string | number
69
+ }
70
+
71
+ type LogsResult = {
72
+ events: LogEvent[]
73
+ nextAfter: number
74
+ }
75
+ ```
76
+
77
+ - `mode: 'preview'` (default) returns events with `args` bounded via `previewValue`.
78
+ - `mode: 'full'` returns raw events from the watcher.
79
+ - `levels` accepts comma-separated string or array; maps to watcher `/logs` query.
80
+ - `match` accepts regex patterns (string or array); multiple patterns use OR semantics.
81
+ - `matchCase` controls regex case-sensitivity (`insensitive` by default server-side).
82
+ - `source` filters by `LogEvent.source` substring.
83
+ - `since` accepts a duration string (e.g. `"10m"`, `"2h"`, `"30s"`) or a duration in ms.
84
+
85
+ ## Errors
86
+
87
+ - Throws on invalid inputs (`since`, `after`, `limit`).
88
+ - Throws if the watcher id is not in the registry.
89
+ - If the watcher is unreachable, the registry entry is removed and the call throws.
90
+
91
+ ## Notes
92
+
93
+ - `list()` and `logs()` prune stale registry entries before doing work.
94
+ - This package is Node-only and uses the Argus registry on disk.
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../argus-core/dist/protocol/logs.d.ts","../../argus-core/dist/registry/types.d.ts","../../argus-core/dist/protocol/version.d.ts","../../argus-core/dist/protocol/http/status.d.ts","../../argus-core/dist/protocol/http/logs.d.ts","../../argus-core/dist/protocol/http/net.d.ts","../../argus-core/dist/protocol/http/eval.d.ts","../../argus-core/dist/protocol/http/trace.d.ts","../../argus-core/dist/protocol/http/screenshot.d.ts","../../argus-core/dist/protocol/http/snapshot.d.ts","../../argus-core/dist/protocol/http/code.d.ts","../../argus-core/dist/protocol/http/dom.d.ts","../../argus-core/dist/protocol/http/storage.d.ts","../../argus-core/dist/protocol/http/auth.d.ts","../../argus-core/dist/protocol/http/emulation.d.ts","../../argus-core/dist/protocol/http/throttle.d.ts","../../argus-core/dist/protocol/http/errors.d.ts","../../argus-core/dist/protocol/http.d.ts","../../argus-core/dist/registry/registry.d.ts","../../argus-core/dist/registry/paths.d.ts","../../argus-core/dist/logs/previewstringify.d.ts","../../argus-core/dist/textpattern.d.ts","../../argus-core/dist/auth/cookies.d.ts","../../argus-core/dist/http/fetch.d.ts","../../argus-core/dist/index.d.ts","../src/types.ts","../src/logs/previewlogevent.ts","../src/registry/readandpruneregistry.ts","../src/time/parsedurationms.ts","../src/client/queryparams.ts","../src/http/fetchjson.ts","../src/client/watcherrequest.ts","../src/client/createargusclient.ts","../src/index.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/utility.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/header.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/globals.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/blob.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/console.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/crypto.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/encoding.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/importmeta.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/messaging.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/performance.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/timers.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/web-globals/url.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/assert.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/buffer.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/child_process.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/cluster.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/console.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/constants.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/crypto.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/dgram.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/dns.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/domain.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/events.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/fs.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/http.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/http2.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/https.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/inspector.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/inspector/promises.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/module.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/net.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/os.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/path.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/path/posix.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/path/win32.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/process.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/punycode.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/querystring.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/quic.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/readline.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/repl.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/sea.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/stream.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/test.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/test/reporters.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/timers.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/tls.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/tty.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/url.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/util.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/util/types.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/v8.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/vm.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/wasi.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/zlib.d.ts","../../../node_modules/.bun/@types+node@25.1.0/node_modules/@types/node/index.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/client-stats.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/client.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/h2c-client.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/mock-call-history.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/snapshot-agent.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/api.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/cache-interceptor.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/util.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.bun/undici-types@7.16.0/node_modules/undici-types/index.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/globals.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/s3.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/fetch.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/jsx.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/bun.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/extensions.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/devserver.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/ffi.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/html-rewriter.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/jsc.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/sqlite.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/vendor/expect-type/utils.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/vendor/expect-type/overloads.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/vendor/expect-type/branding.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/vendor/expect-type/messages.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/vendor/expect-type/index.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/test.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/wasm.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/overrides.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/deprecated.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/redis.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/shell.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/serve.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/sql.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/security.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/bundle.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/bun.ns.d.ts","../../../node_modules/.bun/bun-types@1.3.8/node_modules/bun-types/index.d.ts"],"fileIdsList":[[99,117,118,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,119,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,159,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,121,126,128,131,132,135,137,138,139,141,151,156,168,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,121,122,128,131,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,123,128,132,135,137,138,139,151,169,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,124,125,128,132,135,137,138,139,142,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,125,128,132,135,137,138,139,151,156,165,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,126,128,131,132,135,137,138,139,141,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,119,120,127,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,129,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,130,131,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,119,120,128,131,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,131,132,133,135,137,138,139,151,156,168,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,131,132,133,135,137,138,139,151,156,159,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,131,132,134,135,137,138,139,141,151,156,168,214,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,131,132,134,135,137,138,139,141,151,156,165,168,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,134,135,136,137,138,139,151,156,165,168,215,216,217,219,221,232,233,234,235,236,237,238,239],[97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,131,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,140,151,168,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,131,132,135,137,138,139,141,151,156,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,142,151,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,143,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,131,132,135,137,138,139,146,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,148,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,149,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,125,128,132,135,137,138,139,141,151,159,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,131,132,135,137,138,139,151,152,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,153,169,172,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,131,132,135,137,138,139,151,156,158,159,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,157,159,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,159,169,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,160,215,216,217,219,221,232,234,235,236,237,238,239],[99,117,120,128,132,135,137,138,139,151,156,162,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,156,161,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,131,132,135,137,138,139,151,163,164,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,163,164,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,125,128,132,135,137,138,139,141,151,156,165,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,166,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,141,151,167,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,134,135,137,138,139,149,151,168,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,169,170,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,125,128,132,135,137,138,139,151,170,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,156,171,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,140,151,172,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,173,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,123,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,125,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,169,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,214,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,168,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,174,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,146,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,159,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,164,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,131,132,133,135,137,138,139,146,151,156,159,168,171,172,174,214,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,156,175,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,125,128,132,134,135,137,138,139,151,165,169,174,214,215,216,217,218,221,222,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,214,215,216,219,221,232,234,235,236,237,238,239],[99,120,125,128,132,135,137,138,139,146,151,156,159,165,169,174,214,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,176,215,216,217,219,220,221,222,223,224,225,231,232,233,234,235,236,237,238,239,240,241],[99,120,123,125,128,132,133,135,137,138,139,142,151,159,165,168,175,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,236,237,238,239],[99,120,128,132,135,137,138,139,151,215,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,238,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,237,238,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,225,232,234,235,236,237,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,230,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,226,227,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,226,227,228,229,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,226,228,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,226,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,215,216,217,219,221,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,168,180,183,186,187,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,156,168,183,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,168,183,187,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,156,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,177,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,181,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,168,179,180,183,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,141,151,165,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,176,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,176,177,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,141,151,168,179,183,215,216,217,219,221,232,233,234,235,236,237,238,239],[94,95,96,99,120,128,131,132,135,137,138,139,151,156,168,178,182,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,183,191,199,215,216,217,219,221,232,234,235,236,237,238,239],[95,99,120,128,132,135,137,138,139,151,181,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,183,208,209,215,216,217,219,221,232,234,235,236,237,238,239],[95,99,120,128,132,135,137,138,139,151,159,168,176,178,183,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,176,177,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,183,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,168,179,183,215,216,217,219,221,232,233,234,235,236,237,238,239],[94,99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,177,178,179,181,182,183,184,185,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,212,213,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,183,201,204,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,183,191,192,193,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,181,183,192,194,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,182,215,216,217,219,221,232,234,235,236,237,238,239],[95,99,120,128,132,135,137,138,139,151,177,183,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,183,187,192,194,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,187,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,168,181,183,186,215,216,217,219,221,232,233,234,235,236,237,238,239],[95,99,120,128,132,135,137,138,139,151,179,183,191,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,156,215,216,217,219,221,232,233,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,183,201,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,194,215,216,217,219,221,232,234,235,236,237,238,239],[99,120,128,132,135,137,138,139,151,159,174,176,177,183,208,215,216,217,219,221,232,233,234,235,236,237,238,239],[84,85,86,87,89,91,99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[85,88,99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[84,87,90,99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[84,99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[85,92,99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[60,61,62,77,78,79,80,81,82,83,99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[63,64,65,66,67,68,69,70,71,72,73,74,75,76,99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[60,99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[61,62,99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239],[61,99,120,128,132,135,137,138,139,151,215,216,217,219,221,232,234,235,236,237,238,239]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"76ef53888bb9b030bcacfbb1a66a2348da4c03efef443f52c4f8520a0ed396bc","impliedFormat":99},{"version":"c2343f15df4588cdf66c86b3e7efc36662f9be36198510e7524d5401a269046b","impliedFormat":99},{"version":"f33322906fc4d33cb708053a62052e0ae4031b3675bc456c61afa6f687397325","impliedFormat":99},{"version":"55d15a2a4461561a2f53efd358bd4f13ba06205fab46e247f16f2fa63ebbc14b","impliedFormat":99},{"version":"69cfb0170ec83248a4d4e25b06d8ae984f11914b3a076fb4e0c75b9d75eca504","impliedFormat":99},{"version":"3f6af18bf124781b3e88e3eee037a5a766cfb3f5d7c2a9b4d8f2e1e2fc8441a8","impliedFormat":99},{"version":"ed1d82c3aacfd3dfa53428f29e782d4d11bd5e79f7a36766910cdf6ea435e57d","impliedFormat":99},{"version":"6e54af5fdedb75e6b5fd2fae16b499d70f348b22e8574a8453f8db8dc5c5df5b","impliedFormat":99},{"version":"88f00f09c3a09f747aa53d9f11fe46d7eb07f06159ceb0936a016318eeee8c4b","impliedFormat":99},{"version":"11355d59e4b8d3b9ff6d03992054640aeb2513b19a96cd60b5e2d42ef0531656","impliedFormat":99},{"version":"2874e48ac3cbde60f07ccd88fa38d042b2bd51f2f9bb05aef25b4daa0ca34f91","impliedFormat":99},{"version":"2a0b0ea1442d885d16a1d05c9543d7991475af021052a8444a9df97416c04626","impliedFormat":99},{"version":"5e46d49d4d991be36374c28c17aeb62808ba8d3e99c44d1eff34ddfaec8acac0","impliedFormat":99},{"version":"a3fa3fa3499b20463cc2790aeb539ca5a765722e7a482a446064e0cdfd1f3ad3","impliedFormat":99},{"version":"37a1b3156c151c0a455ad20826cd0fb6ca2bc8850a3eba63990cef6789469560","impliedFormat":99},{"version":"de630f86db3f62b30bd7cc2e9527dcd97fac31b2add25e3eea286eff921055c9","impliedFormat":99},{"version":"ccd08553d1daa7556f3b4d168595857a18ac6eb4cd8f62039fc2e53c6858a097","impliedFormat":99},{"version":"00646aa49baf1eb7db6fff0c773f8d15284a232dc63c9f10e04f66a729f02cf4","impliedFormat":99},{"version":"deb636066b421cb1e9901ff05995323176b38ae55c3aef56babace9cecbe365e","impliedFormat":99},{"version":"b77a3be6ad97731ea56590f14689b04c9443cc8f0e67335cf1ebfce370775bed","impliedFormat":99},{"version":"5e2627afc634c674b8ed2be0a543e1d81b817177ca1c81445c4c73077ebdc5ad","impliedFormat":99},{"version":"c4d0a29d23c15985a4b0d3e5f5221bff62393f3a2577a485b08108126766f6b1","impliedFormat":99},{"version":"8615c4bff5517876412e208cd01dbe231ed3f588153fc5e27a489705213062f0","impliedFormat":99},{"version":"9c5cda8dcdf62c8c9b87ab62a1fddf2d514adaa631db5558ee3927a14aee062f","impliedFormat":99},{"version":"e40e432e6e2e8cf3d26cd558b78478aeb4a3059d4052950b790f4934c7315ebb","impliedFormat":99},{"version":"3e89edeeb8c3ce8c0d316471c940420767867ab0df1782e3032b2944c3fa83d0","signature":"cc02b8a13752f7aa3c3207ef1100ff31018e0b5b2ddfd71a4822c33cb932c32e","impliedFormat":99},{"version":"bd1f4df51a937066e95ca4b1c3a72ebe22b294e4e2f78ebc2106665797b84dc0","signature":"db970fb486785190b639d08535febb1fe0deacad49fabb014a487c237267208c","impliedFormat":99},{"version":"bec07c65c61c64fd0c331ce7d447ee120258e90eae06beb6e85864f1d990869a","signature":"947578b0c0d2ef08a65f367485f55aa569dbc69d95a737531354c3424846ee35","impliedFormat":99},{"version":"b07be55ff139ce2692a959e8447e9b6ab231e8578f6d5fc5b621d8e469962277","signature":"b5e8ab09f36b7134fbcf273ac3e8a372a8c83838224e8566e3345ce2ffb4a0bc","impliedFormat":99},{"version":"e188c82795767b433f4360ba367d9d9ecfd96b109abbf54988640056f027af7c","signature":"e1a83aac51efd42e766a720ddba6fc3a2f81a382aefb6472ab5500c34c284bad","impliedFormat":99},{"version":"2c433d1bab0289cdccd00ecdb053aa9426a3da96d9b7af57d5c49975763aab42","signature":"db64f94aafd4545b4113bc48a3ac2c2ed7505d6d01ae579426957a38813b74b7","impliedFormat":99},{"version":"113ed2c38c86545b70bd89244da1a6bedc728826937b0f3936709cd4d68b061c","signature":"ec8db60c618f787144234b12e225bb17a849d00744c87569c8a90616bb0d4020","impliedFormat":99},{"version":"bd1e8e6fcd0ca3f08e9767f6ca216ae8ea70520b6abaef43d61da48ba0d4f83f","signature":"e5fa69a5d2ad40a81d5a0d5079f47827274bc86f1a5c3f8d5c2a14b4f873b94a","impliedFormat":99},{"version":"c7247e849084529b0b66cb424263fba8664bc820a130ada2cc2350f3469f9e14","signature":"7975ceb9b833c43ad3bfa0721f0d657cdf6cda315f2b8ef00ea5fc74514ab2df","impliedFormat":99},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"0ccdaa19852d25ecd84eec365c3bfa16e7859cadecf6e9ca6d0dbbbee439743f","affectsGlobalScope":true,"impliedFormat":1},{"version":"438b41419b1df9f1fbe33b5e1b18f5853432be205991d1b19f5b7f351675541e","affectsGlobalScope":true,"impliedFormat":1},{"version":"096116f8fedc1765d5bd6ef360c257b4a9048e5415054b3bf3c41b07f8951b0b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5e01375c9e124a83b52ee4b3244ed1a4d214a6cfb54ac73e164a823a4a7860a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f90ae2bbce1505e67f2f6502392e318f5714bae82d2d969185c4a6cecc8af2fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b58e207b93a8f1c88bbf2a95ddc686ac83962b13830fe8ad3f404ffc7051fb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1fefabcb2b06736a66d2904074d56268753654805e829989a46a0161cd8412c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"c18a99f01eb788d849ad032b31cafd49de0b19e083fe775370834c5675d7df8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5247874c2a23b9a62d178ae84f2db6a1d54e6c9a2e7e057e178cc5eea13757fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"dd0109710de4cd93e245121ab86d8c66d20f3ead80074b68e9c3e349c4f53342","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3275d55fac10b799c9546804126239baf020d220136163f763b55a74e50e750","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa68a0a3b7cb32c00e39ee3cd31f8f15b80cac97dce51b6ee7fc14a1e8deb30b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c36e755bced82df7fb6ce8169265d0a7bb046ab4e2cb6d0da0cb72b22033e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a93de4ff8a63bafe62ba86b89af1df0ccb5e40bb85b0c67d6bbcfdcf96bf3d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"90e85f9bc549dfe2b5749b45fe734144e96cd5d04b38eae244028794e142a77e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0a5deeb610b2a50a6350bd23df6490036a1773a8a71d70f2f9549ab009e67ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"435b3711465425770ed2ee2f1cf00ce071835265e0851a7dc4600ab4b007550e","impliedFormat":1},{"version":"7e49f52a159435fc8df4de9dc377ef5860732ca2dc9efec1640531d3cf5da7a3","impliedFormat":1},{"version":"dd4bde4bdc2e5394aed6855e98cf135dfdf5dd6468cad842e03116d31bbcc9bc","impliedFormat":1},{"version":"4d4e879009a84a47c05350b8dca823036ba3a29a3038efed1be76c9f81e45edf","affectsGlobalScope":true,"impliedFormat":1},{"version":"cf83d90d5faf27b994c2e79af02e32b555dbfe42cd9bd1571445f2168d1f4e2d","impliedFormat":1},{"version":"9ba13b47cb450a438e3076c4a3f6afb9dc85e17eae50f26d4b2d72c0688c9251","impliedFormat":1},{"version":"b64cd4401633ea4ecadfd700ddc8323a13b63b106ac7127c1d2726f32424622c","impliedFormat":1},{"version":"37c6e5fe5715814412b43cc9b50b24c67a63c4e04e753e0d1305970d65417a60","impliedFormat":1},{"version":"0e28335ac43f4d94dd2fe6d9e6fa6813570640839addd10d309d7985f33a6308","impliedFormat":1},{"version":"ee0e4946247f842c6dd483cbb60a5e6b484fee07996e3a7bc7343dfb68a04c5d","impliedFormat":1},{"version":"ef051f42b7e0ef5ca04552f54c4552eac84099d64b6c5ad0ef4033574b6035b8","impliedFormat":1},{"version":"853a43154f1d01b0173d9cbd74063507ece57170bad7a3b68f3fa1229ad0a92f","impliedFormat":1},{"version":"56231e3c39a031bfb0afb797690b20ed4537670c93c0318b72d5180833d98b72","impliedFormat":1},{"version":"5cc7c39031bfd8b00ad58f32143d59eb6ffc24f5d41a20931269011dccd36c5e","impliedFormat":1},{"version":"b0b69c61b0f0ec8ca15db4c8c41f6e77f4cacb784d42bca948f42dea33e8757e","affectsGlobalScope":true,"impliedFormat":1},{"version":"f96a48183254c00d24575401f1a761b4ce4927d927407e7862a83e06ce5d6964","impliedFormat":1},{"version":"cc25940cfb27aa538e60d465f98bb5068d4d7d33131861ace43f04fe6947d68f","impliedFormat":1},{"version":"e6f370b5c1d52edabb93ef055d0c0c396a98be77db8aa022fcc3670787b8b5f5","impliedFormat":1},{"version":"01ff95aa1443e3f7248974e5a771f513cb2ac158c8898f470a1792f817bee497","impliedFormat":1},{"version":"9d96a7ce809392ff2cb99691acf7c62e632fe56897356ba013b689277aca3619","impliedFormat":1},{"version":"42a05d8f239f74587d4926aba8cc54792eed8e8a442c7adc9b38b516642aadfe","impliedFormat":1},{"version":"5d21b58d60383cc6ab9ad3d3e265d7d25af24a2c9b506247e0e50b0a884920be","impliedFormat":1},{"version":"101f482fd48cb4c7c0468dcc6d62c843d842977aea6235644b1edd05e81fbf22","impliedFormat":1},{"version":"ae6757460f37078884b1571a3de3ebaf724d827d7e1d53626c02b3c2a408ac63","affectsGlobalScope":true,"impliedFormat":1},{"version":"27c0a08e343c6a0ae17bd13ba6d44a9758236dc904cd5e4b43456996cd51f520","impliedFormat":1},{"version":"3ef397f12387eff17f550bc484ea7c27d21d43816bbe609d495107f44b97e933","impliedFormat":1},{"version":"1023282e2ba810bc07905d3668349fbd37a26411f0c8f94a70ef3c05fe523fcf","impliedFormat":1},{"version":"b214ebcf76c51b115453f69729ee8aa7b7f8eccdae2a922b568a45c2d7ff52f7","impliedFormat":1},{"version":"429c9cdfa7d126255779efd7e6d9057ced2d69c81859bbab32073bad52e9ba76","impliedFormat":1},{"version":"6f80e51ba310608cd71bcdc09a171d7bbfb3b316048601c9ec215ce16a8dcfbc","impliedFormat":1},{"version":"10947bb49601aeec9ea1dddf61ef6e4f8442f949bd40a8008e12b129deb037be","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f2c62938251b45715fd2a9887060ec4fbc8724727029d1cbce373747252bdd7","impliedFormat":1},{"version":"e3ace08b6bbd84655d41e244677b474fd995923ffef7149ddb68af8848b60b05","impliedFormat":1},{"version":"132580b0e86c48fab152bab850fc57a4b74fe915c8958d2ccb052b809a44b61c","impliedFormat":1},{"version":"af4ab0aa8908fc9a655bb833d3bc28e117c4f0e1038c5a891546158beb25accb","impliedFormat":1},{"version":"69c9a5a9392e8564bd81116e1ed93b13205201fb44cb35a7fde8c9f9e21c4b23","impliedFormat":1},{"version":"5f8fc37f8434691ffac1bfd8fc2634647da2c0e84253ab5d2dd19a7718915b35","impliedFormat":1},{"version":"5981c2340fd8b076cae8efbae818d42c11ffc615994cb060b1cd390795f1be2b","impliedFormat":1},{"version":"1641d32611fc7aa82cdd9fa38ff18349aac4eda9e032ced76b21943673887f9a","impliedFormat":1},{"version":"ed4f674fc8c0c993cc7e145069ac44129e03519b910c62be206a0cc777bdc60b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0250da3eb85c99624f974e77ef355cdf86f43980251bc371475c2b397ba55bcd","impliedFormat":1},{"version":"f1c93e046fb3d9b7f8249629f4b63dc068dd839b824dd0aa39a5e68476dc9420","impliedFormat":1},{"version":"3d3a5f27ffbc06c885dd4d5f9ee20de61faf877fe2c3a7051c4825903d9a7fdc","impliedFormat":1},{"version":"12806f9f085598ef930edaf2467a5fa1789a878fba077cd27e85dc5851e11834","impliedFormat":1},{"version":"17d06eb5709839c7ce719f0c38ada6f308fb433f2cd6d8c87b35856e07400950","impliedFormat":1},{"version":"a43fe41c33d0a192a0ecaf9b92e87bef3709c9972e6d53c42c49251ccb962d69","impliedFormat":1},{"version":"a177959203c017fad3ecc4f3d96c8757a840957a4959a3ae00dab9d35961ca6c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc727ccf9b36e257ff982ea0badeffbfc2c151802f741bddff00c6af3b784cf","impliedFormat":1},{"version":"2a00d005e3af99cd1cfa75220e60c61b04bfb6be7ca7453bfe2ef6cca37cc03c","impliedFormat":1},{"version":"4844a4c9b4b1e812b257676ed8a80b3f3be0e29bf05e742cc2ea9c3c6865e6c6","impliedFormat":1},{"version":"064878a60367e0407c42fb7ba02a2ea4d83257357dc20088e549bd4d89433e9c","impliedFormat":1},{"version":"14d4bd22d1b05824971b98f7e91b2484c90f1a684805c330476641417c3d9735","impliedFormat":1},{"version":"586eaf66bace2e731cee0ddfbfac326ad74a83c1acfeac4afb2db85ad23226c7","impliedFormat":1},{"version":"b484ec11ba00e3a2235562a41898d55372ccabe607986c6fa4f4aba72093749f","impliedFormat":1},{"version":"d1a14d87cedcf4f0b8173720d6eb29cc02878bf2b6dabf9c9d9cee742f275368","impliedFormat":1},{"version":"41ef7992c555671a8fe54db302788adefa191ded810a50329b79d20a6772d14c","impliedFormat":1},{"version":"041a7781b9127ab568d2cdcce62c58fdea7c7407f40b8c50045d7866a2727130","impliedFormat":1},{"version":"b37f83e7deea729aa9ce5593f78905afb45b7532fdff63041d374f60059e7852","impliedFormat":1},{"version":"e1cb68f3ef3a8dd7b2a9dfb3de482ed6c0f1586ba0db4e7d73c1d2147b6ffc51","impliedFormat":1},{"version":"55cdbeebe76a1fa18bbd7e7bf73350a2173926bd3085bb050cf5a5397025ee4e","impliedFormat":1},{"version":"3a80bc85f38526ca3b08007ee80712e7bb0601df178b23fbf0bf87036fce40ce","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"2931540c47ee0ff8a62860e61782eb17b155615db61e36986e54645ec67f67c2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"f6faf5f74e4c4cc309a6c6a6c4da02dbb840be5d3e92905a23dcd7b2b0bd1986","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"3bacf516d686d08682751a3bd2519ea3b8041a164bfb4f1d35728993e70a2426","impliedFormat":1},{"version":"7fb266686238369442bd1719bc0d7edd0199da4fb8540354e1ff7f16669b4323","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"c183b931b68ad184bc8e8372bf663f3d33304772fb482f29fb91b3c391031f3e","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"48cc3ec153b50985fb95153258a710782b25975b10dd4ac8a4f3920632d10790","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"e1528ca65ac90f6fa0e4a247eb656b4263c470bb22d9033e466463e13395e599","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"866078923a56d026e39243b4392e282c1c63159723996fa89243140e1388a98d","impliedFormat":1},{"version":"6e215dac8b234548d91b718f9c07d5b09473cd5cabb29053fcd8be0af190acb6","affectsGlobalScope":true,"impliedFormat":1},{"version":"dbecf494aac7d3ee1b23cdaafae0d0bfea8590567fc153db58fe00ed9fa66c24","impliedFormat":1},{"version":"f3d3e999a323c85c8a63ce90c6e4624ff89fe137a0e2508fddc08e0556d08abf","impliedFormat":1},{"version":"314607151cc203975193d5f44765f38597be3b0a43f466d3c1bfb17176dd3bd3","impliedFormat":1},{"version":"13b67080c26e140e8521f2cb7de76fd55af4ed4aaadffea8fd8be9e260c186fd","impliedFormat":1},{"version":"f40aad6c91017f20fc542f5701ec41e0f6aeba63c61bbf7aa13266ec29a50a3b","impliedFormat":1},{"version":"fc9e630f9302d0414ccd6c8ed2706659cff5ae454a56560c6122fa4a3fac5bbd","affectsGlobalScope":true,"impliedFormat":1},{"version":"aa0a44af370a2d7c1aac988a17836f57910a6c52689f52f5b3ac1d4c6cadcb23","impliedFormat":1},{"version":"0ac74c7586880e26b6a599c710b59284a284e084a2bbc82cd40fb3fbfdea71ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ce12357dadbb8efc4e4ec4dab709c8071bf992722fc9adfea2fe0bd5b50923f","impliedFormat":1},{"version":"b5a907deaba678e5083ccdd7cc063a3a8c3413c688098f6de29d6e4cefabc85f","impliedFormat":1},{"version":"ffd344731abee98a0a85a735b19052817afd2156d97d1410819cd9bcd1bd575e","impliedFormat":1},{"version":"475e07c959f4766f90678425b45cf58ac9b95e50de78367759c1e5118e85d5c3","impliedFormat":1},{"version":"a524ae401b30a1b0814f1bbcdae459da97fa30ae6e22476e506bb3f82e3d9456","impliedFormat":1},{"version":"7375e803c033425e27cb33bae21917c106cb37b508fd242cccd978ef2ee244c7","impliedFormat":1},{"version":"eeb890c7e9218afdad2f30ad8a76b0b0b5161d11ce13b6723879de408e6bc47a","impliedFormat":1},{"version":"561c795984d06b91091780cebeac616e9e41d83240770e1af14e6ec083b713d5","impliedFormat":1},{"version":"dfbcc400ac6d20b941ccc7bd9031b9d9f54e4d495dd79117334e771959df4805","affectsGlobalScope":true,"impliedFormat":1},{"version":"944d65951e33a13068be5cd525ec42bf9bc180263ba0b723fa236970aa21f611","affectsGlobalScope":true,"impliedFormat":1},{"version":"6b386c7b6ce6f369d18246904fa5eac73566167c88fb6508feba74fa7501a384","affectsGlobalScope":true,"impliedFormat":1},{"version":"592a109e67b907ffd2078cd6f727d5c326e06eaada169eef8fb18546d96f6797","impliedFormat":1},{"version":"f2eb1e35cae499d57e34b4ac3650248776fe7dbd9a3ec34b23754cfd8c22fceb","impliedFormat":1},{"version":"fbed43a6fcf5b675f5ec6fc960328114777862b58a2bb19c109e8fc1906caa09","impliedFormat":1},{"version":"9e98bd421e71f70c75dae7029e316745c89fa7b8bc8b43a91adf9b82c206099c","impliedFormat":1},{"version":"fc803e6b01f4365f71f51f9ce13f71396766848204d4f7a1b2b6154434b84b15","impliedFormat":1},{"version":"f3afcc0d6f77a9ca2d2c5c92eb4b89cd38d6fa4bdc1410d626bd701760a977ec","impliedFormat":1},{"version":"c8109fe76467db6e801d0edfbc50e6826934686467c9418ce6b246232ce7f109","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6f803e4e45915d58e721c04ec17830c6e6678d1e3e00e28edf3d52720909cea","affectsGlobalScope":true,"impliedFormat":1}],"root":[[85,93]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":199,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[117,1],[118,1],[119,2],[99,3],[120,4],[121,5],[122,6],[97,7],[123,8],[124,9],[125,10],[126,11],[127,12],[128,13],[129,13],[130,14],[131,15],[132,16],[133,17],[100,7],[98,7],[134,18],[135,19],[136,20],[176,21],[137,22],[138,23],[139,22],[140,24],[141,25],[142,26],[143,27],[144,27],[145,27],[146,28],[147,29],[148,30],[149,31],[150,32],[151,33],[152,33],[153,34],[154,7],[155,7],[156,35],[157,36],[158,35],[159,37],[160,38],[161,39],[162,40],[163,41],[164,42],[165,43],[166,44],[167,45],[168,46],[169,47],[170,48],[171,49],[172,50],[173,51],[101,22],[102,7],[103,52],[104,53],[105,7],[106,54],[107,7],[108,55],[109,56],[110,57],[111,57],[112,58],[113,7],[114,59],[115,60],[116,56],[174,61],[175,62],[219,63],[241,7],[240,7],[234,64],[221,65],[220,7],[217,66],[222,7],[215,67],[223,7],[242,68],[224,7],[218,7],[233,69],[235,70],[216,71],[239,72],[237,73],[236,74],[238,75],[225,7],[231,76],[228,77],[230,78],[229,79],[227,80],[226,7],[232,81],[58,7],[59,7],[11,7],[10,7],[2,7],[12,7],[13,7],[14,7],[15,7],[16,7],[17,7],[18,7],[19,7],[3,7],[20,7],[21,7],[4,7],[22,7],[26,7],[23,7],[24,7],[25,7],[27,7],[28,7],[29,7],[5,7],[30,7],[31,7],[32,7],[33,7],[6,7],[37,7],[34,7],[35,7],[36,7],[38,7],[7,7],[39,7],[44,7],[45,7],[40,7],[41,7],[42,7],[43,7],[8,7],[49,7],[46,7],[47,7],[48,7],[50,7],[9,7],[51,7],[52,7],[53,7],[55,7],[54,7],[1,7],[56,7],[57,7],[191,82],[203,83],[189,84],[204,85],[213,86],[180,87],[181,88],[179,89],[212,90],[207,91],[211,92],[183,93],[200,94],[182,95],[210,96],[177,97],[178,98],[184,99],[185,7],[190,100],[188,99],[95,101],[214,102],[205,103],[194,104],[193,99],[195,105],[198,106],[192,107],[196,108],[208,90],[186,109],[187,110],[199,111],[96,112],[202,113],[201,99],[197,114],[206,7],[94,7],[209,115],[92,116],[89,117],[91,118],[90,119],[93,120],[86,119],[87,119],[88,7],[85,119],[82,7],[83,7],[84,121],[80,7],[77,122],[73,7],[70,7],[71,7],[74,7],[76,7],[66,7],[64,123],[65,7],[68,7],[69,7],[63,124],[72,7],[75,7],[67,7],[60,7],[62,7],[79,7],[78,125],[61,7],[81,7]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
@@ -0,0 +1,8 @@
1
+ import type { ArgusClient, ArgusClientOptions } from '../types.js';
2
+ /**
3
+ * Create an Argus client for list/logs queries.
4
+ * Throws on invalid input, missing watcher, or unreachable watcher.
5
+ * Note: list/logs prune stale registry entries and remove unreachable watchers.
6
+ */
7
+ export declare const createArgusClient: (options?: ArgusClientOptions) => ArgusClient;
8
+ //# sourceMappingURL=createArgusClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createArgusClient.d.ts","sourceRoot":"","sources":["../../src/client/createArgusClient.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACX,WAAW,EACX,kBAAkB,EAelB,MAAM,aAAa,CAAA;AAMpB;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,UAAS,kBAAuB,KAAG,WAoHpE,CAAA"}
@@ -0,0 +1,136 @@
1
+ import { DEFAULT_TTL_MS } from '@vforsh/argus-core';
2
+ import { previewLogEvent } from '../logs/previewLogEvent.js';
3
+ import { readAndPruneRegistry } from '../registry/readAndPruneRegistry.js';
4
+ import { buildLogsParams, buildNetParams } from './queryParams.js';
5
+ import { requestWatcher } from './watcherRequest.js';
6
+ /**
7
+ * Create an Argus client for list/logs queries.
8
+ * Throws on invalid input, missing watcher, or unreachable watcher.
9
+ * Note: list/logs prune stale registry entries and remove unreachable watchers.
10
+ */
11
+ export const createArgusClient = (options = {}) => {
12
+ const registryPath = options.registryPath;
13
+ const ttlMs = options.ttlMs ?? DEFAULT_TTL_MS;
14
+ const listTimeoutMs = options.timeoutMs ?? 2_000;
15
+ const logsTimeoutMs = options.timeoutMs ?? 5_000;
16
+ return {
17
+ list: async (listOptions = {}) => {
18
+ const registry = await readAndPruneRegistry({ registryPath, ttlMs });
19
+ const byCwd = normalizeByCwd(listOptions.byCwd);
20
+ const watchers = byCwd ? filterByCwd(registry, byCwd) : Object.values(registry.watchers);
21
+ if (watchers.length === 0) {
22
+ return [];
23
+ }
24
+ const results = [];
25
+ for (const watcher of watchers) {
26
+ try {
27
+ const { data: status } = await requestWatcher({ registryPath, ttlMs }, watcher.id, {
28
+ path: '/status',
29
+ timeoutMs: listTimeoutMs,
30
+ });
31
+ results.push({ watcher, reachable: true, status });
32
+ }
33
+ catch (error) {
34
+ results.push({ watcher, reachable: false, error: formatError(error) });
35
+ }
36
+ }
37
+ return results;
38
+ },
39
+ logs: async (watcherId, logsOptions = {}) => {
40
+ const params = buildLogsParams(logsOptions);
41
+ const { data: response } = await requestWatcher({ registryPath, ttlMs }, watcherId, {
42
+ path: '/logs',
43
+ query: params,
44
+ timeoutMs: logsTimeoutMs,
45
+ });
46
+ const mode = logsOptions.mode ?? 'preview';
47
+ const events = mode === 'full' ? response.events : response.events.map((event) => previewLogEvent(event));
48
+ return {
49
+ events,
50
+ nextAfter: response.nextAfter,
51
+ };
52
+ },
53
+ net: async (watcherId, netOptions = {}) => {
54
+ const params = buildNetParams(netOptions);
55
+ const { data: response } = await requestWatcher({ registryPath, ttlMs }, watcherId, {
56
+ path: '/net',
57
+ query: params,
58
+ timeoutMs: logsTimeoutMs,
59
+ });
60
+ return {
61
+ requests: response.requests,
62
+ nextAfter: response.nextAfter,
63
+ };
64
+ },
65
+ eval: async (watcherId, evalOptions) => {
66
+ if (!evalOptions || !evalOptions.expression || evalOptions.expression.trim() === '') {
67
+ throw new Error('expression is required');
68
+ }
69
+ const timeoutMs = evalOptions.timeoutMs ?? logsTimeoutMs;
70
+ const { data: response } = await requestWatcher({ registryPath, ttlMs }, watcherId, {
71
+ path: '/eval',
72
+ timeoutMs,
73
+ method: 'POST',
74
+ body: evalOptions,
75
+ });
76
+ return {
77
+ result: response.result,
78
+ type: response.type,
79
+ exception: response.exception,
80
+ };
81
+ },
82
+ traceStart: async (watcherId, traceOptions = {}) => {
83
+ const { data: response } = await requestWatcher({ registryPath, ttlMs }, watcherId, {
84
+ path: '/trace/start',
85
+ timeoutMs: 10_000,
86
+ method: 'POST',
87
+ body: traceOptions,
88
+ });
89
+ return { traceId: response.traceId, sessionName: response.sessionName, outFile: response.outFile };
90
+ },
91
+ traceStop: async (watcherId, traceOptions = {}) => {
92
+ const { data: response } = await requestWatcher({ registryPath, ttlMs }, watcherId, {
93
+ path: '/trace/stop',
94
+ timeoutMs: 20_000,
95
+ method: 'POST',
96
+ body: traceOptions,
97
+ });
98
+ return {
99
+ sessionName: response.sessionName,
100
+ outFile: response.outFile,
101
+ eventCount: response.eventCount,
102
+ durationMs: response.durationMs,
103
+ };
104
+ },
105
+ screenshot: async (watcherId, screenshotOptions = {}) => {
106
+ const { data: response } = await requestWatcher({ registryPath, ttlMs }, watcherId, {
107
+ path: '/screenshot',
108
+ timeoutMs: logsTimeoutMs,
109
+ method: 'POST',
110
+ body: screenshotOptions,
111
+ });
112
+ return { outFile: response.outFile, clipped: response.clipped };
113
+ },
114
+ };
115
+ };
116
+ const normalizeByCwd = (value) => {
117
+ if (value == null) {
118
+ return undefined;
119
+ }
120
+ const trimmed = value.trim();
121
+ if (!trimmed) {
122
+ return undefined;
123
+ }
124
+ return trimmed;
125
+ };
126
+ const filterByCwd = (registry, byCwd) => Object.values(registry.watchers).filter((watcher) => watcher.cwd && watcher.cwd.includes(byCwd));
127
+ const formatError = (error) => {
128
+ if (!error) {
129
+ return 'unknown error';
130
+ }
131
+ if (error instanceof Error) {
132
+ return error.message;
133
+ }
134
+ return String(error);
135
+ };
136
+ //# sourceMappingURL=createArgusClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createArgusClient.js","sourceRoot":"","sources":["../../src/client/createArgusClient.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAmBnD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,UAA8B,EAAE,EAAe,EAAE;IAClF,MAAM,YAAY,GAAG,OAAO,CAAC,YAAY,CAAA;IACzC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,cAAc,CAAA;IAC7C,MAAM,aAAa,GAAG,OAAO,CAAC,SAAS,IAAI,KAAK,CAAA;IAChD,MAAM,aAAa,GAAG,OAAO,CAAC,SAAS,IAAI,KAAK,CAAA;IAEhD,OAAO;QACN,IAAI,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A;IACvB,CAAC;IACD,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC,OAAO,CAAA;IACrB,CAAC;IACD,OAAO,MAAM,CAAC,KAAK,CAAC,CAAA;AACrB,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { LogsOptions, NetOptions } from '../types.js';
2
+ export declare const buildLogsParams: (options: LogsOptions) => URLSearchParams;
3
+ export declare const buildNetParams: (options: NetOptions) => URLSearchParams;
4
+ //# sourceMappingURL=queryParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queryParams.d.ts","sourceRoot":"","sources":["../../src/client/queryParams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAG1D,eAAO,MAAM,eAAe,GAAI,SAAS,WAAW,KAAG,eAwCtD,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,SAAS,UAAU,KAAG,eAuBpD,CAAA"}
@@ -0,0 +1,123 @@
1
+ import { parseDurationMs } from '../time/parseDurationMs.js';
2
+ export const buildLogsParams = (options) => {
3
+ const params = new URLSearchParams();
4
+ const after = normalizeNonNegativeNumber('after', options.after);
5
+ if (after != null) {
6
+ params.set('after', String(after));
7
+ }
8
+ const limit = normalizeNonNegativeNumber('limit', options.limit);
9
+ if (limit != null) {
10
+ params.set('limit', String(limit));
11
+ }
12
+ const levels = normalizeLevels(options.levels);
13
+ if (levels) {
14
+ params.set('levels', levels);
15
+ }
16
+ const match = normalizeMatch(options.match);
17
+ if (match) {
18
+ for (const pattern of match) {
19
+ params.append('match', pattern);
20
+ }
21
+ }
22
+ const matchCase = normalizeMatchCase(options.matchCase);
23
+ if (matchCase) {
24
+ params.set('matchCase', matchCase);
25
+ }
26
+ const source = normalizeQueryValue(options.source);
27
+ if (source) {
28
+ params.set('source', source);
29
+ }
30
+ const sinceTs = resolveSinceTs(options.since);
31
+ if (sinceTs != null) {
32
+ params.set('sinceTs', String(sinceTs));
33
+ }
34
+ return params;
35
+ };
36
+ export const buildNetParams = (options) => {
37
+ const params = new URLSearchParams();
38
+ const after = normalizeNonNegativeNumber('after', options.after);
39
+ if (after != null) {
40
+ params.set('after', String(after));
41
+ }
42
+ const limit = normalizeNonNegativeNumber('limit', options.limit);
43
+ if (limit != null) {
44
+ params.set('limit', String(limit));
45
+ }
46
+ const sinceTs = resolveSinceTs(options.since);
47
+ if (sinceTs != null) {
48
+ params.set('sinceTs', String(sinceTs));
49
+ }
50
+ const grep = normalizeQueryValue(options.grep);
51
+ if (grep) {
52
+ params.set('grep', grep);
53
+ }
54
+ return params;
55
+ };
56
+ const normalizeLevels = (levels) => {
57
+ if (levels == null) {
58
+ return undefined;
59
+ }
60
+ if (Array.isArray(levels)) {
61
+ const normalized = levels.map((level) => level.trim()).filter(Boolean);
62
+ if (normalized.length === 0) {
63
+ return undefined;
64
+ }
65
+ return normalized.join(',');
66
+ }
67
+ const trimmed = levels.trim();
68
+ return trimmed ? trimmed : undefined;
69
+ };
70
+ const normalizeMatch = (match) => {
71
+ if (match == null) {
72
+ return undefined;
73
+ }
74
+ const values = Array.isArray(match) ? match : [match];
75
+ const normalized = values.map((value) => value.trim());
76
+ if (normalized.some((value) => value.length === 0)) {
77
+ throw new Error('Invalid match value: empty pattern.');
78
+ }
79
+ return normalized;
80
+ };
81
+ const normalizeMatchCase = (matchCase) => {
82
+ if (matchCase == null) {
83
+ return undefined;
84
+ }
85
+ if (matchCase !== 'sensitive' && matchCase !== 'insensitive') {
86
+ throw new Error(`Invalid matchCase value: ${matchCase}`);
87
+ }
88
+ return matchCase;
89
+ };
90
+ const resolveSinceTs = (value) => {
91
+ if (value == null) {
92
+ return undefined;
93
+ }
94
+ const durationMs = typeof value === 'number' ? normalizeNonNegativeNumber('since', value) : parseDurationOrThrow(value);
95
+ if (durationMs == null) {
96
+ return undefined;
97
+ }
98
+ return Date.now() - durationMs;
99
+ };
100
+ const normalizeQueryValue = (value) => {
101
+ if (value == null) {
102
+ return undefined;
103
+ }
104
+ const trimmed = value.trim();
105
+ return trimmed ? trimmed : undefined;
106
+ };
107
+ const parseDurationOrThrow = (value) => {
108
+ const duration = parseDurationMs(value);
109
+ if (duration == null) {
110
+ throw new Error(`Invalid since value: ${value}`);
111
+ }
112
+ return duration;
113
+ };
114
+ const normalizeNonNegativeNumber = (label, value) => {
115
+ if (value == null) {
116
+ return undefined;
117
+ }
118
+ if (!Number.isFinite(value) || value < 0) {
119
+ throw new Error(`Invalid ${label} value: ${value}`);
120
+ }
121
+ return value;
122
+ };
123
+ //# sourceMappingURL=queryParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queryParams.js","sourceRoot":"","sources":["../../src/client/queryParams.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,OAAoB,EAAmB,EAAE;IACxE,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAA;IACpC,MAAM,KAAK,GAAG,0BAA0B,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,CAAA;IAChE,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QACnB,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;IACnC,CAAC;IAED,MAAM,KAAK,GAAG,0BAA0B,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,CAAA;IAChE,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QACnB,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;IACnC,CAAC;IAED,MAAM,MAAM,GAAG,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;IAC9C,IAAI,MAAM,EAAE,CAAC;QACZ,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;IAC7B,CAAC;IAED,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B,CAAC,CAAA;AAED,MAAM,mBAAmB,GAAG,CAAC,KAAc,EAAsB,EAAE;IAClE,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QACnB,OAAO,SAAS,CAAA;IACjB,CAAC;IAED,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE,CAAA;IAC5B,OAAO,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAA;AACrC,CAAC,CAAA;AAED,MAAM,oBAAoB,GAAG,CAAC,KAAa,EAAU,EAAE;IACtD,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,CAAC,CAAA;IACvC,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,wBAAwB,KAAK,EAAE,CAAC,CAAA;IACjD,CAAC;IACD,OAAO,QAAQ,CAAA;AAChB,CAAC,CAAA;AAED,MAAM,0BAA0B,GAAG,CAAC,KAAa,EAAE,KAAc,EAAsB,EAAE;IACxF,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QACnB,OAAO,SAAS,CAAA;IACjB,CAAC;IAED,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC;QAC1C,MAAM,IAAI,KAAK,CAAC,WAAW,KAAK,WAAW,KAAK,EAAE,CAAC,CAAA;IACpD,CAAC;IAED,OAAO,KAAK,CAAA;AACb,CAAC,CAAA"}
@@ -0,0 +1,20 @@
1
+ import type { WatcherRecord } from '@vforsh/argus-core';
2
+ import type { HttpOptions } from '../http/fetchJson.js';
3
+ type RegistryContext = {
4
+ registryPath?: string;
5
+ ttlMs: number;
6
+ };
7
+ type WatcherRequestOptions = {
8
+ path: string;
9
+ query?: URLSearchParams;
10
+ timeoutMs?: number;
11
+ method?: HttpOptions['method'];
12
+ body?: unknown;
13
+ };
14
+ export declare const withWatcher: <T>(context: RegistryContext, watcherId: string, callback: (watcher: WatcherRecord) => Promise<T>) => Promise<T>;
15
+ export declare const requestWatcher: <T>(context: RegistryContext, watcherId: string, options: WatcherRequestOptions) => Promise<{
16
+ watcher: WatcherRecord;
17
+ data: T;
18
+ }>;
19
+ export {};
20
+ //# sourceMappingURL=watcherRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"watcherRequest.d.ts","sourceRoot":"","sources":["../../src/client/watcherRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAIvD,KAAK,eAAe,GAAG;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;CACb,CAAA;AAED,KAAK,qBAAqB,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAA;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAA;CACd,CAAA;AAED,eAAO,MAAM,WAAW,GAAU,CAAC,EAAE,SAAS,eAAe,EAAE,WAAW,MAAM,EAAE,UAAU,CAAC,OAAO,EAAE,aAAa,KAAK,OAAO,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,CAAC,CAQ7I,CAAA;AAED,eAAO,MAAM,cAAc,GAAU,CAAC,EACrC,SAAS,eAAe,EACxB,WAAW,MAAM,EACjB,SAAS,qBAAqB,KAC5B,OAAO,CAAC;IAAE,OAAO,EAAE,aAAa,CAAC;IAAC,IAAI,EAAE,CAAC,CAAA;CAAE,CAa3C,CAAA"}
@@ -0,0 +1,39 @@
1
+ import { fetchJson } from '../http/fetchJson.js';
2
+ import { readAndPruneRegistry, removeWatcherAndPersist } from '../registry/readAndPruneRegistry.js';
3
+ export const withWatcher = async (context, watcherId, callback) => {
4
+ const registry = await readAndPruneRegistry({ registryPath: context.registryPath, ttlMs: context.ttlMs });
5
+ const watcher = registry.watchers[watcherId];
6
+ if (!watcher) {
7
+ throw new Error(`Watcher not found: ${watcherId}`);
8
+ }
9
+ return callback(watcher);
10
+ };
11
+ export const requestWatcher = async (context, watcherId, options) => withWatcher(context, watcherId, async (watcher) => {
12
+ try {
13
+ const data = await fetchJson(buildWatcherUrl(watcher, options.path, options.query), {
14
+ timeoutMs: options.timeoutMs,
15
+ method: options.method,
16
+ body: options.body,
17
+ });
18
+ return { watcher, data };
19
+ }
20
+ catch (error) {
21
+ await removeWatcherAndPersist(watcher.id, context.registryPath);
22
+ throw new Error(formatWatcherTransportError(watcher, error));
23
+ }
24
+ });
25
+ const buildWatcherUrl = (watcher, path, query) => {
26
+ const qs = query?.toString();
27
+ return `http://${watcher.host}:${watcher.port}${path}${qs ? `?${qs}` : ''}`;
28
+ };
29
+ const formatWatcherTransportError = (watcher, error) => `${watcher.id}: failed to reach watcher (${formatUnknownError(error)})`;
30
+ const formatUnknownError = (error) => {
31
+ if (!error) {
32
+ return 'unknown error';
33
+ }
34
+ if (error instanceof Error) {
35
+ return error.message;
36
+ }
37
+ return String(error);
38
+ };
39
+ //# sourceMappingURL=watcherRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"watcherRequest.js","sourceRoot":"","sources":["../../src/client/watcherRequest.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAA;AAenG,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,EAAK,OAAwB,EAAE,SAAiB,EAAE,QAAgD,EAAc,EAAE;IACjJ,MAAM,QAAQ,GAAG,MAAM,oBAAoB,CAAC,EAAE,YAAY,EAAE,OAAO,CAAC,YAAY,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAA;IACzG,MAAM,OAA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C5E,CAAC,CAAA;AAED,MAAM,2BAA2B,GAAG,CAAC,OAAkC,EAAE,KAAc,EAAU,EAAE,CAClG,GAAG,OAAO,CAAC,EAAE,8BAA8B,kBAAkB,CAAC,KAAK,CAAC,GAAG,CAAA;AAExE,MAAM,kBAAkB,GAAG,CAAC,KAAc,EAAU,EAAE;IACrD,IAAI,CAAC,KAAK,EAAE,CAAC;QACZ,OAAO,eAAe,CAAA;IACvB,CAAC;IACD,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC,OAAO,CAAA;IACrB,CAAC;IACD,OAAO,MAAM,CAAC,KAAK,CAAC,CAAA;AACrB,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { fetchJson, type HttpOptions } from '@vforsh/argus-core';
2
+ //# sourceMappingURL=fetchJson.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchJson.d.ts","sourceRoot":"","sources":["../../src/http/fetchJson.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { fetchJson } from '@vforsh/argus-core';
2
+ //# sourceMappingURL=fetchJson.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchJson.js","sourceRoot":"","sources":["../../src/http/fetchJson.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoB,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export type { ArgusClient, ArgusClientOptions, EvalOptions, EvalResult, ListOptions, ListResult, LogsMode, LogsOptions, LogsResult, NetOptions, NetResult, ScreenshotOptions, ScreenshotResult, TraceStartOptions, TraceStartResult, TraceStopOptions, TraceStopResult, } from './types.js';
2
+ export { createArgusClient } from './client/createArgusClient.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,WAAW,EACX,UAAU,EACV,QAAQ,EACR,WAAW,EACX,UAAU,EACV,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,GAChB,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export { createArgusClient } from './client/createArgusClient.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { LogEvent } from '@vforsh/argus-core';
2
+ export declare const previewLogEvent: (event: LogEvent) => LogEvent;
3
+ //# sourceMappingURL=previewLogEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"previewLogEvent.d.ts","sourceRoot":"","sources":["../../src/logs/previewLogEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAGlD,eAAO,MAAM,eAAe,GAAI,OAAO,QAAQ,KAAG,QAGhD,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { previewValue } from '@vforsh/argus-core';
2
+ export const previewLogEvent = (event) => ({
3
+ ...event,
4
+ args: event.args.map((arg) => previewValue(arg)),
5
+ });
6
+ //# sourceMappingURL=previewLogEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"previewLogEvent.js","sourceRoot":"","sources":["../../src/logs/previewLogEvent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAe,EAAY,EAAE,CAAC,CAAC;IAC9D,GAAG,KAAK;IACR,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;CAChD,CAAC,CAAA"}
@@ -0,0 +1,11 @@
1
+ import type { RegistryV1 } from '@vforsh/argus-core';
2
+ type RegistryOptions = {
3
+ registryPath?: string;
4
+ ttlMs?: number;
5
+ };
6
+ /** Read + prune stale entries atomically (locked read-modify-write). */
7
+ export declare const readAndPruneRegistry: (options?: RegistryOptions) => Promise<RegistryV1>;
8
+ /** Remove a watcher entry atomically (locked read-modify-write). */
9
+ export declare const removeWatcherAndPersist: (id: string, registryPath?: string) => Promise<RegistryV1>;
10
+ export {};
11
+ //# sourceMappingURL=readAndPruneRegistry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readAndPruneRegistry.d.ts","sourceRoot":"","sources":["../../src/registry/readAndPruneRegistry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,KAAK,eAAe,GAAG;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,wEAAwE;AACxE,eAAO,MAAM,oBAAoB,GAAU,UAAS,eAAoB,KAAG,OAAO,CAAC,UAAU,CAM5F,CAAA;AAED,oEAAoE;AACpE,eAAO,MAAM,uBAAuB,GAAU,IAAI,MAAM,EAAE,eAAe,MAAM,KAAG,OAAO,CAAC,UAAU,CAEnG,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { DEFAULT_TTL_MS, pruneStaleWatchers, removeWatcherEntry, updateRegistry } from '@vforsh/argus-core';
2
+ /** Read + prune stale entries atomically (locked read-modify-write). */
3
+ export const readAndPruneRegistry = async (options = {}) => {
4
+ const ttlMs = options.ttlMs ?? DEFAULT_TTL_MS;
5
+ return updateRegistry((registry) => {
6
+ const { registry: pruned } = pruneStaleWatchers(registry, Date.now(), ttlMs);
7
+ return pruned;
8
+ }, options.registryPath);
9
+ };
10
+ /** Remove a watcher entry atomically (locked read-modify-write). */
11
+ export const removeWatcherAndPersist = async (id, registryPath) => {
12
+ return updateRegistry((registry) => removeWatcherEntry(registry, id), registryPath);
13
+ };
14
+ //# sourceMappingURL=readAndPruneRegistry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readAndPruneRegistry.js","sourceRoot":"","sources":["../../src/registry/readAndPruneRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAQ3G,wEAAwE;AACxE,MAAM,CAAC,MAAM,oBAAoB,GAAG,KAAK,EAAE,UAA2B,EAAE,EAAuB,EAAE;IAChG,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,cAAc,CAAA;IAC7C,OAAO,cAAc,CAAC,CAAC,QAAQ,EAAE,EAAE;QAClC,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,kBAAkB,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,EAAE,EAAE,KAAK,CAAC,CAAA;QAC5E,OAAO,MAAM,CAAA;IACd,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;AACzB,CAAC,CAAA;AAED,oEAAoE;AACpE,MAAM,CAAC,MAAM,uBAAuB,GAAG,KAAK,EAAE,EAAU,EAAE,YAAqB,EAAuB,EAAE;IACvG,OAAO,cAAc,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,kBAAkB,CAAC,QAAQ,EAAE,EAAE,CAAC,EAAE,YAAY,CAAC,CAAA;AACpF,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const parseDurationMs: (value: string) => number | null;
2
+ //# sourceMappingURL=parseDurationMs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseDurationMs.d.ts","sourceRoot":"","sources":["../../src/time/parseDurationMs.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,MAAM,GAAG,IAoBxD,CAAA"}
@@ -0,0 +1,18 @@
1
+ export const parseDurationMs = (value) => {
2
+ const trimmed = value.trim();
3
+ if (!trimmed) {
4
+ return null;
5
+ }
6
+ const match = trimmed.match(/^([0-9]+(?:\.[0-9]+)?)(ms|s|m|h|d)?$/);
7
+ if (!match) {
8
+ return null;
9
+ }
10
+ const amount = Number(match[1]);
11
+ if (!Number.isFinite(amount)) {
12
+ return null;
13
+ }
14
+ const unit = match[2] ?? 's';
15
+ const multiplier = unit === 'ms' ? 1 : unit === 's' ? 1_000 : unit === 'm' ? 60_000 : unit === 'h' ? 3_600_000 : 86_400_000;
16
+ return amount * multiplier;
17
+ };
18
+ //# sourceMappingURL=parseDurationMs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseDurationMs.js","sourceRoot":"","sources":["../../src/time/parseDurationMs.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAa,EAAiB,EAAE;IAC/D,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE,CAAA;IAC5B,IAAI,CAAC,OAAO,EAAE,CAAC;QACd,OAAO,IAAI,CAAA;IACZ,CAAC;IAED,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAA;IACnE,IAAI,CAAC,KAAK,EAAE,CAAC;QACZ,OAAO,IAAI,CAAA;IACZ,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAA;IACZ,CAAC;IAED,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,CAAA;IAC5B,MAAM,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAA;IAE3H,OAAO,MAAM,GAAG,UAAU,CAAA;AAC3B,CAAC,CAAA"}
@@ -0,0 +1,148 @@
1
+ import type { LogEvent, LogLevel, NetworkRequestSummary, StatusResponse, WatcherRecord } from '@vforsh/argus-core';
2
+ /** Options for configuring the Argus client. */
3
+ export type ArgusClientOptions = {
4
+ /** Override registry path instead of using `ARGUS_REGISTRY_PATH` / default. */
5
+ registryPath?: string;
6
+ /** TTL used for pruning stale watchers before list/logs. Default: `DEFAULT_TTL_MS`. */
7
+ ttlMs?: number;
8
+ /** Default HTTP timeout (ms). */
9
+ timeoutMs?: number;
10
+ };
11
+ /** Options for listing watchers from the registry. */
12
+ export type ListOptions = {
13
+ /** Filter watchers by cwd substring, like CLI. */
14
+ byCwd?: string;
15
+ };
16
+ /** Result entry for a single watcher in list results. */
17
+ export type ListResult = {
18
+ /** The watcher record as stored in the registry. */
19
+ watcher: WatcherRecord;
20
+ /** Whether we could reach `GET /status`. */
21
+ reachable: boolean;
22
+ /** Status response when reachable. */
23
+ status?: StatusResponse;
24
+ /** Error message when unreachable. */
25
+ error?: string;
26
+ };
27
+ /** Controls how log event args are returned. */
28
+ export type LogsMode = 'preview' | 'full';
29
+ /** Options for fetching logs from a watcher. */
30
+ export type LogsOptions = {
31
+ mode?: LogsMode;
32
+ levels?: string | LogLevel[];
33
+ /** Regex match patterns (repeatable). */
34
+ match?: string | string[];
35
+ /** Regex case handling for `match` patterns. */
36
+ matchCase?: 'sensitive' | 'insensitive';
37
+ /** Filter by log event source substring. */
38
+ source?: string;
39
+ after?: number;
40
+ limit?: number;
41
+ /**
42
+ * Filter by time window.
43
+ * - If string: parsed like CLI (e.g. "10m", "2h")
44
+ * - If number: treated as durationMs
45
+ */
46
+ since?: string | number;
47
+ };
48
+ /** Logs response data with pagination cursor. */
49
+ export type LogsResult = {
50
+ events: LogEvent[];
51
+ nextAfter: number;
52
+ };
53
+ /** Options for fetching network request summaries. */
54
+ export type NetOptions = {
55
+ after?: number;
56
+ limit?: number;
57
+ /**
58
+ * Filter by time window.
59
+ * - If string: parsed like CLI (e.g. "10m", "2h")
60
+ * - If number: treated as durationMs
61
+ */
62
+ since?: string | number;
63
+ /** Substring match over redacted URLs. */
64
+ grep?: string;
65
+ };
66
+ /** Network request summary results with pagination cursor. */
67
+ export type NetResult = {
68
+ requests: NetworkRequestSummary[];
69
+ nextAfter: number;
70
+ };
71
+ /** Options for evaluating a JS expression in the connected page. */
72
+ export type EvalOptions = {
73
+ /** JS expression to execute. */
74
+ expression: string;
75
+ /** Await promises before returning. Defaults to true. */
76
+ awaitPromise?: boolean;
77
+ /**
78
+ * Enable Chrome's REPL mode for console-style evaluation.
79
+ * Defaults to true and allows native top-level `await`.
80
+ */
81
+ replMode?: boolean;
82
+ /** Command timeout in milliseconds. */
83
+ timeoutMs?: number;
84
+ /** Return by value when possible. Defaults to true. */
85
+ returnByValue?: boolean;
86
+ };
87
+ /** Result of a remote evaluation. */
88
+ export type EvalResult = {
89
+ result: unknown;
90
+ type: string | null;
91
+ exception: {
92
+ text: string;
93
+ details?: unknown;
94
+ } | null;
95
+ };
96
+ /** Options for starting a Chrome trace. */
97
+ export type TraceStartOptions = {
98
+ outFile?: string;
99
+ categories?: string;
100
+ options?: string;
101
+ };
102
+ /** Trace start result metadata. */
103
+ export type TraceStartResult = {
104
+ traceId: string;
105
+ sessionName: string;
106
+ outFile: string;
107
+ };
108
+ /** Options for stopping an active trace. */
109
+ export type TraceStopOptions = {
110
+ traceId?: string;
111
+ outFile?: string;
112
+ };
113
+ /** Trace stop result metadata. */
114
+ export type TraceStopResult = {
115
+ sessionName: string;
116
+ outFile: string;
117
+ eventCount: number;
118
+ durationMs: number;
119
+ };
120
+ /** Options for capturing a screenshot. */
121
+ export type ScreenshotOptions = {
122
+ outFile?: string;
123
+ selector?: string;
124
+ format?: 'png';
125
+ };
126
+ /** Screenshot result metadata. */
127
+ export type ScreenshotResult = {
128
+ outFile: string;
129
+ clipped: boolean;
130
+ };
131
+ /** Argus client API. */
132
+ export type ArgusClient = {
133
+ /** List registered watcher servers. */
134
+ list: (options?: ListOptions) => Promise<ListResult[]>;
135
+ /** Fetch log events from a watcher. */
136
+ logs: (watcherId: string, options?: LogsOptions) => Promise<LogsResult>;
137
+ /** Fetch network request summaries from a watcher. */
138
+ net: (watcherId: string, options?: NetOptions) => Promise<NetResult>;
139
+ /** Evaluate a JS expression in the connected page. */
140
+ eval: (watcherId: string, options: EvalOptions) => Promise<EvalResult>;
141
+ /** Start Chrome tracing and write to disk on the watcher. */
142
+ traceStart: (watcherId: string, options?: TraceStartOptions) => Promise<TraceStartResult>;
143
+ /** Stop an active Chrome trace and finalize the file. */
144
+ traceStop: (watcherId: string, options?: TraceStopOptions) => Promise<TraceStopResult>;
145
+ /** Capture a screenshot and write to disk on the watcher. */
146
+ screenshot: (watcherId: string, options?: ScreenshotOptions) => Promise<ScreenshotResult>;
147
+ };
148
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,qBAAqB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElH,gDAAgD;AAChD,MAAM,MAAM,kBAAkB,GAAG;IAChC,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,SAAS,CAAC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AAiB,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAA;CACzF,CAAA"}
package/dist/types.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@vforsh/argus-client",
3
+ "version": "0.1.2",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/vforsh/argus.git",
7
+ "directory": "packages/argus-client"
8
+ },
9
+ "type": "module",
10
+ "main": "./dist/index.js",
11
+ "types": "./dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "default": "./dist/index.js"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "dependencies": {
25
+ "@vforsh/argus-core": "workspace:*"
26
+ },
27
+ "scripts": {
28
+ "clean": "node ../../scripts/clean-dist.mjs",
29
+ "build": "npm run clean && tsc -b",
30
+ "typecheck": "tsc -b --pretty false --noEmit"
31
+ }
32
+ }