windmill-cli 1.604.0 → 1.606.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.
@@ -22,7 +22,7 @@ import { pull as hubPull } from "./commands/hub/hub.js";
22
22
  import { pull, push } from "./commands/sync/sync.js";
23
23
  import { add as workspaceAdd } from "./commands/workspace/workspace.js";
24
24
  export { flow, app, script, workspace, resource, resourceType, user, variable, hub, folder, schedule, trigger, sync, gitsyncSettings, instance, dev, hubPull, pull, push, workspaceAdd, };
25
- export declare const VERSION = "1.604.0";
25
+ export declare const VERSION = "1.606.0";
26
26
  export { WM_FORK_PREFIX } from "./core/constants.js";
27
27
  declare const command: Command<{
28
28
  workspace?: (import("../deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType & string) | undefined;
@@ -4695,6 +4695,10 @@ export type CreateAccountData = {
4695
4695
  * OAuth token URL override for resource-level authentication (client_credentials flow only)
4696
4696
  */
4697
4697
  cc_token_url?: string;
4698
+ /**
4699
+ * MCP server URL for MCP OAuth token refresh
4700
+ */
4701
+ mcp_server_url?: string;
4698
4702
  };
4699
4703
  workspace: string;
4700
4704
  };
@@ -9952,4 +9956,40 @@ export type ListMcpToolsData = {
9952
9956
  workspace: string;
9953
9957
  };
9954
9958
  export type ListMcpToolsResponse = (Array<EndpointTool>);
9959
+ export type DiscoverMcpOauthData = {
9960
+ requestBody: {
9961
+ /**
9962
+ * URL of the MCP server to discover OAuth metadata from
9963
+ */
9964
+ mcp_server_url: string;
9965
+ };
9966
+ };
9967
+ export type DiscoverMcpOauthResponse = ({
9968
+ scopes_supported?: Array<(string)>;
9969
+ authorization_endpoint?: string;
9970
+ token_endpoint?: string;
9971
+ registration_endpoint?: string;
9972
+ supports_dynamic_registration?: boolean;
9973
+ });
9974
+ export type StartMcpOauthPopupData = {
9975
+ /**
9976
+ * URL of the MCP server to connect to
9977
+ */
9978
+ mcpServerUrl: string;
9979
+ /**
9980
+ * Comma-separated list of OAuth scopes to request
9981
+ */
9982
+ scopes?: string;
9983
+ };
9984
+ export type McpOauthCallbackData = {
9985
+ /**
9986
+ * OAuth authorization code
9987
+ */
9988
+ code: string;
9989
+ /**
9990
+ * CSRF state token
9991
+ */
9992
+ state: string;
9993
+ };
9994
+ export type McpOauthCallbackResponse = (string);
9955
9995
  //# sourceMappingURL=types.gen.d.ts.map