@rosthq/cli 0.5.4 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/docs.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +178 -52
- package/dist/index.js.map +3 -3
- package/dist/mcp-install.d.ts +16 -1
- package/dist/mcp-install.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/mcp-install.d.ts
CHANGED
|
@@ -10,17 +10,32 @@ export type McpExpiryOption = {
|
|
|
10
10
|
};
|
|
11
11
|
export type McpInstallOptions = {
|
|
12
12
|
client: McpClientName;
|
|
13
|
-
scope
|
|
13
|
+
scope?: "tenant_admin" | "seat";
|
|
14
14
|
seatId?: string;
|
|
15
15
|
json: boolean;
|
|
16
16
|
expiry: McpExpiryOption;
|
|
17
17
|
rotateTokenId?: string;
|
|
18
|
+
skipPermissions: boolean;
|
|
18
19
|
};
|
|
19
20
|
export declare function parseMcpInstallOptions(args: string[]): McpInstallOptions;
|
|
21
|
+
export declare class PendingConfirmationError extends Error {
|
|
22
|
+
readonly confirmationId: string;
|
|
23
|
+
readonly commandId: string;
|
|
24
|
+
readonly approveCommand: string;
|
|
25
|
+
readonly approveUrl?: string;
|
|
26
|
+
constructor(input: {
|
|
27
|
+
confirmationId: string;
|
|
28
|
+
commandId: string;
|
|
29
|
+
approveCommand: string;
|
|
30
|
+
approveUrl?: string;
|
|
31
|
+
});
|
|
32
|
+
toHandoffMessage(): string;
|
|
33
|
+
}
|
|
20
34
|
export declare function renderMcpInstall(input: {
|
|
21
35
|
client: CommandClient;
|
|
22
36
|
appUrl: string;
|
|
23
37
|
options: McpInstallOptions;
|
|
38
|
+
canAutoApprove?: boolean;
|
|
24
39
|
}): Promise<{
|
|
25
40
|
stdout: string;
|
|
26
41
|
stderr: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-install.d.ts","sourceRoot":"","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