@slack/radar-mcp 1.9.1 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/mcp/index.js +35 -47
- package/dist/mcp/session-enable.d.ts +17 -0
- package/dist/mcp/session-enable.js +104 -0
- package/dist/mcp/session-query.js +10 -2
- package/dist/mcp/tools.js +8 -7
- package/dist/shared/android.d.ts +3 -0
- package/dist/shared/android.js +48 -11
- package/dist/shared/constants.d.ts +9 -2
- package/dist/shared/constants.js +9 -2
- package/dist/shared/stream.d.ts +23 -0
- package/dist/shared/stream.js +109 -16
- package/dist/shared/transport.d.ts +18 -0
- package/dist/web/public/index.html +6 -3
- package/dist/web/public/next/app.js +1 -1
- package/dist/web/public/next/feed.js +13 -1
- package/dist/web/public/next/inspector.js +17 -4
- package/dist/web/public/next/registry.js +13 -6
- package/dist/web/public/next/store.js +8 -7
- package/dist/web/server.d.ts +4 -0
- package/dist/web/server.js +37 -33
- package/dist/web/spec.d.ts +3 -3
- package/dist/web/spec.js +6 -4
- package/package.json +1 -1
package/dist/web/spec.d.ts
CHANGED
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
* and the same validate/coerce pass runs on every push so a malformed spec surfaces
|
|
6
6
|
* an error instead of rendering silent zeros.
|
|
7
7
|
*
|
|
8
|
-
* Most sources are live STREAMS (network/rtm/clog/log/all). `db` is the odd one out:
|
|
8
|
+
* Most sources are live STREAMS (network/rtm/clog/trace/log/all). `db` is the odd one out:
|
|
9
9
|
* a read-only, point-in-time SQLite BROWSER over the on-device databases, with no viz /
|
|
10
10
|
* series / match (it has its own list -> tables -> query-grid view). The coerce and
|
|
11
11
|
* validate passes short-circuit for `db` accordingly.
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
* Sources the dashboard can read. The first
|
|
14
|
+
* Sources the dashboard can read. The first six are live streams; "all" is their unified
|
|
15
15
|
* timeline. "db" is a read-only on-device SQLite browser (a point-in-time snapshot, not a
|
|
16
16
|
* stream) and is handled as a distinct view.
|
|
17
17
|
*/
|
|
18
|
-
export declare const SOURCES: readonly ["rtm", "network", "clog", "log", "all", "db"];
|
|
18
|
+
export declare const SOURCES: readonly ["rtm", "network", "clog", "trace", "log", "all", "db"];
|
|
19
19
|
export type Source = (typeof SOURCES)[number];
|
|
20
20
|
/** Widgets a spec may compose. */
|
|
21
21
|
export declare const VIZ: readonly ["counter", "rate", "sparkline", "feed", "inspector", "graph"];
|
package/dist/web/spec.js
CHANGED
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
* and the same validate/coerce pass runs on every push so a malformed spec surfaces
|
|
6
6
|
* an error instead of rendering silent zeros.
|
|
7
7
|
*
|
|
8
|
-
* Most sources are live STREAMS (network/rtm/clog/log/all). `db` is the odd one out:
|
|
8
|
+
* Most sources are live STREAMS (network/rtm/clog/trace/log/all). `db` is the odd one out:
|
|
9
9
|
* a read-only, point-in-time SQLite BROWSER over the on-device databases, with no viz /
|
|
10
10
|
* series / match (it has its own list -> tables -> query-grid view). The coerce and
|
|
11
11
|
* validate passes short-circuit for `db` accordingly.
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
* Sources the dashboard can read. The first
|
|
14
|
+
* Sources the dashboard can read. The first six are live streams; "all" is their unified
|
|
15
15
|
* timeline. "db" is a read-only on-device SQLite browser (a point-in-time snapshot, not a
|
|
16
16
|
* stream) and is handled as a distinct view.
|
|
17
17
|
*/
|
|
18
|
-
export const SOURCES = ["rtm", "network", "clog", "log", "all", "db"];
|
|
18
|
+
export const SOURCES = ["rtm", "network", "clog", "trace", "log", "all", "db"];
|
|
19
19
|
/** Widgets a spec may compose. */
|
|
20
20
|
export const VIZ = [
|
|
21
21
|
"counter",
|
|
@@ -65,7 +65,9 @@ export function coerceSpec(input) {
|
|
|
65
65
|
? "event_type"
|
|
66
66
|
: s.source === "clog"
|
|
67
67
|
? "event_name"
|
|
68
|
-
: "
|
|
68
|
+
: s.source === "trace"
|
|
69
|
+
? "trace_name"
|
|
70
|
+
: "url";
|
|
69
71
|
s.match = { [field]: s.match };
|
|
70
72
|
}
|
|
71
73
|
}
|