@postmcp/types 0.1.26 → 0.1.27

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/index.d.mts CHANGED
@@ -359,9 +359,10 @@ interface GenerateCommandOptions {
359
359
  target?: string;
360
360
  out?: string;
361
361
  }
362
+ type SupportedExportClient = 'cursor' | 'claude' | 'windsurf' | 'opencode' | 'claude-code' | 'codex';
362
363
  interface ExportCommandOptions {
363
- target?: 'cursor' | 'claude' | 'windsurf' | 'all';
364
- client?: 'cursor' | 'claude' | 'windsurf' | 'all';
364
+ target?: SupportedExportClient | 'all' | string;
365
+ client?: SupportedExportClient | 'all' | string;
365
366
  write?: boolean;
366
367
  env?: string[];
367
368
  bearer?: string;
@@ -372,4 +373,4 @@ interface StudioCommandOptions {
372
373
  noOpen?: boolean;
373
374
  }
374
375
 
375
- export type { AsyncPollResult, AuthConfig, DryRunResult, EndpointDef, ExportCommandOptions, GenerateCommandOptions, GeneratedProject, HttpMethod, HttpRequestConfig, HttpResponseResult, HttpServerOptions, InspectCommandOptions, JSONSchemaObject, MacroDefinition, MacroExecutionResult, MacroStep, McpImageContent, NormalizedOperation, NormalizedParameter, NormalizedSpec, PostMcpCliConfig, PostMcpServerOptions, Preset, PresetCategory, PresetFieldMask, PresetMacro, ResilientHttpClientOptions, RiskTier, RunCommandOptions, SandboxAuthConfig, SecurityScheme, SecuritySchemeConfig, SerializedRequestParameters, StudioCommandOptions, TokenDietConfig, TokenDietOptions, TokenDietResult, ToolAnnotations, ToolRegistryOptions };
376
+ export type { AsyncPollResult, AuthConfig, DryRunResult, EndpointDef, ExportCommandOptions, GenerateCommandOptions, GeneratedProject, HttpMethod, HttpRequestConfig, HttpResponseResult, HttpServerOptions, InspectCommandOptions, JSONSchemaObject, MacroDefinition, MacroExecutionResult, MacroStep, McpImageContent, NormalizedOperation, NormalizedParameter, NormalizedSpec, PostMcpCliConfig, PostMcpServerOptions, Preset, PresetCategory, PresetFieldMask, PresetMacro, ResilientHttpClientOptions, RiskTier, RunCommandOptions, SandboxAuthConfig, SecurityScheme, SecuritySchemeConfig, SerializedRequestParameters, StudioCommandOptions, SupportedExportClient, TokenDietConfig, TokenDietOptions, TokenDietResult, ToolAnnotations, ToolRegistryOptions };
package/dist/index.d.ts CHANGED
@@ -359,9 +359,10 @@ interface GenerateCommandOptions {
359
359
  target?: string;
360
360
  out?: string;
361
361
  }
362
+ type SupportedExportClient = 'cursor' | 'claude' | 'windsurf' | 'opencode' | 'claude-code' | 'codex';
362
363
  interface ExportCommandOptions {
363
- target?: 'cursor' | 'claude' | 'windsurf' | 'all';
364
- client?: 'cursor' | 'claude' | 'windsurf' | 'all';
364
+ target?: SupportedExportClient | 'all' | string;
365
+ client?: SupportedExportClient | 'all' | string;
365
366
  write?: boolean;
366
367
  env?: string[];
367
368
  bearer?: string;
@@ -372,4 +373,4 @@ interface StudioCommandOptions {
372
373
  noOpen?: boolean;
373
374
  }
374
375
 
375
- export type { AsyncPollResult, AuthConfig, DryRunResult, EndpointDef, ExportCommandOptions, GenerateCommandOptions, GeneratedProject, HttpMethod, HttpRequestConfig, HttpResponseResult, HttpServerOptions, InspectCommandOptions, JSONSchemaObject, MacroDefinition, MacroExecutionResult, MacroStep, McpImageContent, NormalizedOperation, NormalizedParameter, NormalizedSpec, PostMcpCliConfig, PostMcpServerOptions, Preset, PresetCategory, PresetFieldMask, PresetMacro, ResilientHttpClientOptions, RiskTier, RunCommandOptions, SandboxAuthConfig, SecurityScheme, SecuritySchemeConfig, SerializedRequestParameters, StudioCommandOptions, TokenDietConfig, TokenDietOptions, TokenDietResult, ToolAnnotations, ToolRegistryOptions };
376
+ export type { AsyncPollResult, AuthConfig, DryRunResult, EndpointDef, ExportCommandOptions, GenerateCommandOptions, GeneratedProject, HttpMethod, HttpRequestConfig, HttpResponseResult, HttpServerOptions, InspectCommandOptions, JSONSchemaObject, MacroDefinition, MacroExecutionResult, MacroStep, McpImageContent, NormalizedOperation, NormalizedParameter, NormalizedSpec, PostMcpCliConfig, PostMcpServerOptions, Preset, PresetCategory, PresetFieldMask, PresetMacro, ResilientHttpClientOptions, RiskTier, RunCommandOptions, SandboxAuthConfig, SecurityScheme, SecuritySchemeConfig, SerializedRequestParameters, StudioCommandOptions, SupportedExportClient, TokenDietConfig, TokenDietOptions, TokenDietResult, ToolAnnotations, ToolRegistryOptions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postmcp/types",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "Unified TypeScript types and interfaces for the PostMCP ecosystem",
5
5
  "license": "MIT",
6
6
  "author": "PostMCP Contributors",