@slack/radar-mcp 1.18.1 → 1.19.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 +2 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/web-child-env.js +10 -7
- package/dist/shared/android.d.ts +10 -21
- package/dist/shared/android.js +30 -9
- package/dist/shared/ios.d.ts +5 -10
- package/dist/shared/ios.js +23 -5
- package/dist/shared/transport.d.ts +31 -19
- package/dist/shared/wire.d.ts +24 -0
- package/dist/shared/wire.js +6 -0
- package/dist/web/macapp/RadarApp.swift +24 -4
- package/dist/web/public/index.html +27 -3
- package/dist/web/public/next/app.js +163 -18
- package/dist/web/public/next/feed.js +60 -11
- package/dist/web/public/next/filter.js +24 -11
- package/dist/web/public/next/store.js +577 -28
- package/dist/web/server.d.ts +12 -2
- package/dist/web/server.js +459 -41
- package/package.json +1 -1
package/dist/web/server.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import http from "http";
|
|
2
|
+
import type { StatusReason } from "../shared/wire.js";
|
|
2
3
|
import { type DashboardScreenController } from "../shared/dashboard-screen.js";
|
|
3
4
|
import type { ProcessState } from "../shared/transport.js";
|
|
4
5
|
import { type LogFrame } from "./log-session.js";
|
|
@@ -211,9 +212,13 @@ export declare function isOpenToAnyCaller(urlPath: string, method: string | unde
|
|
|
211
212
|
*/
|
|
212
213
|
export declare function isLocalHostHeader(host: string | string[] | undefined, allowedHosts?: string | undefined): boolean;
|
|
213
214
|
export declare function enableResultBody(enabled: boolean, onEnabled?: () => void, processState?: ProcessState): {
|
|
214
|
-
enabled:
|
|
215
|
-
|
|
215
|
+
enabled: true;
|
|
216
|
+
} | {
|
|
217
|
+
enabled: false;
|
|
218
|
+
error: string;
|
|
219
|
+
instructs: boolean;
|
|
216
220
|
};
|
|
221
|
+
export declare function _setEnableFaultForTest(err: Error | null, delayMs?: number): void;
|
|
217
222
|
export declare const DEVICE_SOURCES: Record<string, {
|
|
218
223
|
segment: string;
|
|
219
224
|
arrayKey: string;
|
|
@@ -235,4 +240,9 @@ type ParsedLog = LogFrame;
|
|
|
235
240
|
* Exported for tests.
|
|
236
241
|
*/
|
|
237
242
|
export declare function parseLogcat(line: string, resolvePkg?: (pid: number) => string | undefined): ParsedLog | null;
|
|
243
|
+
export declare function _setStreamResponseTimeoutForTest(ms: number | null): void;
|
|
244
|
+
export declare function _setOutageDiagnosisTtlForTest(ms: number | null): void;
|
|
245
|
+
export declare function _setOutageProbeForTest(probe: (() => Promise<"present" | "absent" | "unknown">) | null): void;
|
|
246
|
+
export declare function _diagnoseOutageForTest(): Promise<StatusReason | null>;
|
|
247
|
+
export declare function _invalidateOutageDiagnosisForTest(): void;
|
|
238
248
|
export { WEB_PORT };
|