@stackwright-pro/mcp 0.2.0-alpha.28 → 0.2.0-alpha.29

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.
@@ -91,7 +91,7 @@ function buildTypeSchemaSummary() {
91
91
  "TenantFilter",
92
92
  "Collection"
93
93
  ],
94
- note: "CollectionProvider stubs will be replaced with @stackwright/types imports once v1.5.0 publishes"
94
+ note: "CollectionProvider, CollectionEntry, CollectionListOptions, and CollectionListResult are re-exported from @stackwright/types (^1.5.0). EnterpriseCollectionProvider, TenantFilter, and Collection are Pro-only extensions."
95
95
  }
96
96
  }
97
97
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/tools/type-schemas.ts"],"sourcesContent":["/**\n * Type Schemas Tool — \"Sinks Not Pipes\"\n *\n * Exposes a human-readable summary of available @stackwright-pro/types schemas.\n * The foreman uses this for schema-based routing: \"which otter owns this domain?\"\n * instead of hardcoded capability descriptions in the prompt.\n */\nimport { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';\nimport { z } from 'zod';\n\n/**\n * Schema summary returned by the tool and written to .stackwright/type-schemas.json\n */\nexport interface TypeSchemaSummary {\n version: '1.0';\n generatedAt: string;\n domains: {\n workflow: {\n description: string;\n schemas: string[];\n otter: string;\n artifactKey: string;\n };\n auth: {\n description: string;\n schemas: string[];\n otter: string;\n artifactKey: string;\n };\n openapi: {\n description: string;\n interfaces: string[];\n otter: string;\n artifactKey: string;\n };\n pulse: {\n description: string;\n interfaces: string[];\n note: string;\n };\n enterprise: {\n description: string;\n interfaces: string[];\n note: string;\n };\n };\n}\n\nexport function buildTypeSchemaSummary(): TypeSchemaSummary {\n return {\n version: '1.0',\n generatedAt: new Date().toISOString(),\n domains: {\n workflow: {\n description: 'Workflow DSL — step definitions, auth blocks, field types, conditions',\n schemas: [\n 'WorkflowFileSchema',\n 'WorkflowDefinitionSchema',\n 'WorkflowStepSchema',\n 'WorkflowStepTypeSchema',\n 'WorkflowFieldSchema',\n 'WorkflowActionSchema',\n 'WorkflowAuthSchema',\n 'WorkflowThemeSchema',\n 'TransitionConditionSchema',\n 'PersistenceSchema',\n ],\n otter: 'stackwright-pro-workflow-otter',\n artifactKey: 'workflowConfig',\n },\n auth: {\n description: 'Authentication providers — PKI/CAC, OIDC, RBAC configuration',\n schemas: [\n 'authConfigSchema',\n 'pkiConfigSchema',\n 'oidcConfigSchema',\n 'rbacConfigSchema',\n 'componentAuthSchema',\n 'authUserSchema',\n 'authSessionSchema',\n ],\n otter: 'stackwright-pro-auth-otter',\n artifactKey: 'authConfig',\n },\n openapi: {\n description: 'OpenAPI spec integration — collection config, endpoint filters, actions',\n interfaces: [\n 'OpenAPIConfig',\n 'ActionConfig',\n 'EndpointFilter',\n 'ApprovedSpec',\n 'PrebuildSecurityConfig',\n 'SiteConfig',\n 'ValidationResult',\n ],\n otter: 'stackwright-pro-api-otter',\n artifactKey: 'apiConfig',\n },\n pulse: {\n description: 'Real-time data polling — source-agnostic polling options and states',\n interfaces: ['PulseOptions', 'PulseMeta', 'PulseState'],\n note: 'React-bound types (PulseProps, PulseIndicatorProps) remain in @stackwright-pro/pulse',\n },\n enterprise: {\n description: 'Enterprise collection access — multi-tenant provider extension',\n interfaces: [\n 'EnterpriseCollectionProvider',\n 'CollectionProvider',\n 'CollectionEntry',\n 'CollectionListOptions',\n 'CollectionListResult',\n 'TenantFilter',\n 'Collection',\n ],\n note: 'CollectionProvider stubs will be replaced with @stackwright/types imports once v1.5.0 publishes',\n },\n },\n };\n}\n\nexport function registerTypeSchemasTool(server: McpServer): void {\n server.tool(\n 'stackwright_pro_get_type_schemas',\n 'Returns a structured summary of all canonical @stackwright-pro/types schemas, organized by domain. Use this to determine which otter owns a given schema and what artifact key to expect.',\n {\n format: z\n .enum(['full', 'domains-only'])\n .optional()\n .default('full')\n .describe('full = complete summary with all fields; domains-only = just domain names'),\n },\n async ({ format }) => {\n const summary = buildTypeSchemaSummary();\n const output = format === 'domains-only' ? Object.keys(summary.domains) : summary;\n return {\n content: [{ type: 'text', text: JSON.stringify(output, null, 2) }],\n };\n }\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,iBAAkB;AAwCX,SAAS,yBAA4C;AAC1D,SAAO;AAAA,IACL,SAAS;AAAA,IACT,cAAa,oBAAI,KAAK,GAAE,YAAY;AAAA,IACpC,SAAS;AAAA,MACP,UAAU;AAAA,QACR,aAAa;AAAA,QACb,SAAS;AAAA,UACP;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,MACA,MAAM;AAAA,QACJ,aAAa;AAAA,QACb,SAAS;AAAA,UACP;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,MACA,SAAS;AAAA,QACP,aAAa;AAAA,QACb,YAAY;AAAA,UACV;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,MACA,OAAO;AAAA,QACL,aAAa;AAAA,QACb,YAAY,CAAC,gBAAgB,aAAa,YAAY;AAAA,QACtD,MAAM;AAAA,MACR;AAAA,MACA,YAAY;AAAA,QACV,aAAa;AAAA,QACb,YAAY;AAAA,UACV;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,MAAM;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACF;AAEO,SAAS,wBAAwB,QAAyB;AAC/D,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,MACE,QAAQ,aACL,KAAK,CAAC,QAAQ,cAAc,CAAC,EAC7B,SAAS,EACT,QAAQ,MAAM,EACd,SAAS,2EAA2E;AAAA,IACzF;AAAA,IACA,OAAO,EAAE,OAAO,MAAM;AACpB,YAAM,UAAU,uBAAuB;AACvC,YAAM,SAAS,WAAW,iBAAiB,OAAO,KAAK,QAAQ,OAAO,IAAI;AAC1E,aAAO;AAAA,QACL,SAAS,CAAC,EAAE,MAAM,QAAQ,MAAM,KAAK,UAAU,QAAQ,MAAM,CAAC,EAAE,CAAC;AAAA,MACnE;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../src/tools/type-schemas.ts"],"sourcesContent":["/**\n * Type Schemas Tool — \"Sinks Not Pipes\"\n *\n * Exposes a human-readable summary of available @stackwright-pro/types schemas.\n * The foreman uses this for schema-based routing: \"which otter owns this domain?\"\n * instead of hardcoded capability descriptions in the prompt.\n */\nimport { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';\nimport { z } from 'zod';\n\n/**\n * Schema summary returned by the tool and written to .stackwright/type-schemas.json\n */\nexport interface TypeSchemaSummary {\n version: '1.0';\n generatedAt: string;\n domains: {\n workflow: {\n description: string;\n schemas: string[];\n otter: string;\n artifactKey: string;\n };\n auth: {\n description: string;\n schemas: string[];\n otter: string;\n artifactKey: string;\n };\n openapi: {\n description: string;\n interfaces: string[];\n otter: string;\n artifactKey: string;\n };\n pulse: {\n description: string;\n interfaces: string[];\n note: string;\n };\n enterprise: {\n description: string;\n interfaces: string[];\n note: string;\n };\n };\n}\n\nexport function buildTypeSchemaSummary(): TypeSchemaSummary {\n return {\n version: '1.0',\n generatedAt: new Date().toISOString(),\n domains: {\n workflow: {\n description: 'Workflow DSL — step definitions, auth blocks, field types, conditions',\n schemas: [\n 'WorkflowFileSchema',\n 'WorkflowDefinitionSchema',\n 'WorkflowStepSchema',\n 'WorkflowStepTypeSchema',\n 'WorkflowFieldSchema',\n 'WorkflowActionSchema',\n 'WorkflowAuthSchema',\n 'WorkflowThemeSchema',\n 'TransitionConditionSchema',\n 'PersistenceSchema',\n ],\n otter: 'stackwright-pro-workflow-otter',\n artifactKey: 'workflowConfig',\n },\n auth: {\n description: 'Authentication providers — PKI/CAC, OIDC, RBAC configuration',\n schemas: [\n 'authConfigSchema',\n 'pkiConfigSchema',\n 'oidcConfigSchema',\n 'rbacConfigSchema',\n 'componentAuthSchema',\n 'authUserSchema',\n 'authSessionSchema',\n ],\n otter: 'stackwright-pro-auth-otter',\n artifactKey: 'authConfig',\n },\n openapi: {\n description: 'OpenAPI spec integration — collection config, endpoint filters, actions',\n interfaces: [\n 'OpenAPIConfig',\n 'ActionConfig',\n 'EndpointFilter',\n 'ApprovedSpec',\n 'PrebuildSecurityConfig',\n 'SiteConfig',\n 'ValidationResult',\n ],\n otter: 'stackwright-pro-api-otter',\n artifactKey: 'apiConfig',\n },\n pulse: {\n description: 'Real-time data polling — source-agnostic polling options and states',\n interfaces: ['PulseOptions', 'PulseMeta', 'PulseState'],\n note: 'React-bound types (PulseProps, PulseIndicatorProps) remain in @stackwright-pro/pulse',\n },\n enterprise: {\n description: 'Enterprise collection access — multi-tenant provider extension',\n interfaces: [\n 'EnterpriseCollectionProvider',\n 'CollectionProvider',\n 'CollectionEntry',\n 'CollectionListOptions',\n 'CollectionListResult',\n 'TenantFilter',\n 'Collection',\n ],\n note: 'CollectionProvider, CollectionEntry, CollectionListOptions, and CollectionListResult are re-exported from @stackwright/types (^1.5.0). EnterpriseCollectionProvider, TenantFilter, and Collection are Pro-only extensions.',\n },\n },\n };\n}\n\nexport function registerTypeSchemasTool(server: McpServer): void {\n server.tool(\n 'stackwright_pro_get_type_schemas',\n 'Returns a structured summary of all canonical @stackwright-pro/types schemas, organized by domain. Use this to determine which otter owns a given schema and what artifact key to expect.',\n {\n format: z\n .enum(['full', 'domains-only'])\n .optional()\n .default('full')\n .describe('full = complete summary with all fields; domains-only = just domain names'),\n },\n async ({ format }) => {\n const summary = buildTypeSchemaSummary();\n const output = format === 'domains-only' ? Object.keys(summary.domains) : summary;\n return {\n content: [{ type: 'text', text: JSON.stringify(output, null, 2) }],\n };\n }\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,iBAAkB;AAwCX,SAAS,yBAA4C;AAC1D,SAAO;AAAA,IACL,SAAS;AAAA,IACT,cAAa,oBAAI,KAAK,GAAE,YAAY;AAAA,IACpC,SAAS;AAAA,MACP,UAAU;AAAA,QACR,aAAa;AAAA,QACb,SAAS;AAAA,UACP;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,MACA,MAAM;AAAA,QACJ,aAAa;AAAA,QACb,SAAS;AAAA,UACP;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,MACA,SAAS;AAAA,QACP,aAAa;AAAA,QACb,YAAY;AAAA,UACV;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,MACA,OAAO;AAAA,QACL,aAAa;AAAA,QACb,YAAY,CAAC,gBAAgB,aAAa,YAAY;AAAA,QACtD,MAAM;AAAA,MACR;AAAA,MACA,YAAY;AAAA,QACV,aAAa;AAAA,QACb,YAAY;AAAA,UACV;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,MAAM;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACF;AAEO,SAAS,wBAAwB,QAAyB;AAC/D,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,MACE,QAAQ,aACL,KAAK,CAAC,QAAQ,cAAc,CAAC,EAC7B,SAAS,EACT,QAAQ,MAAM,EACd,SAAS,2EAA2E;AAAA,IACzF;AAAA,IACA,OAAO,EAAE,OAAO,MAAM;AACpB,YAAM,UAAU,uBAAuB;AACvC,YAAM,SAAS,WAAW,iBAAiB,OAAO,KAAK,QAAQ,OAAO,IAAI;AAC1E,aAAO;AAAA,QACL,SAAS,CAAC,EAAE,MAAM,QAAQ,MAAM,KAAK,UAAU,QAAQ,MAAM,CAAC,EAAE,CAAC;AAAA,MACnE;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
@@ -66,7 +66,7 @@ function buildTypeSchemaSummary() {
66
66
  "TenantFilter",
67
67
  "Collection"
68
68
  ],
69
- note: "CollectionProvider stubs will be replaced with @stackwright/types imports once v1.5.0 publishes"
69
+ note: "CollectionProvider, CollectionEntry, CollectionListOptions, and CollectionListResult are re-exported from @stackwright/types (^1.5.0). EnterpriseCollectionProvider, TenantFilter, and Collection are Pro-only extensions."
70
70
  }
71
71
  }
72
72
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/tools/type-schemas.ts"],"sourcesContent":["/**\n * Type Schemas Tool — \"Sinks Not Pipes\"\n *\n * Exposes a human-readable summary of available @stackwright-pro/types schemas.\n * The foreman uses this for schema-based routing: \"which otter owns this domain?\"\n * instead of hardcoded capability descriptions in the prompt.\n */\nimport { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';\nimport { z } from 'zod';\n\n/**\n * Schema summary returned by the tool and written to .stackwright/type-schemas.json\n */\nexport interface TypeSchemaSummary {\n version: '1.0';\n generatedAt: string;\n domains: {\n workflow: {\n description: string;\n schemas: string[];\n otter: string;\n artifactKey: string;\n };\n auth: {\n description: string;\n schemas: string[];\n otter: string;\n artifactKey: string;\n };\n openapi: {\n description: string;\n interfaces: string[];\n otter: string;\n artifactKey: string;\n };\n pulse: {\n description: string;\n interfaces: string[];\n note: string;\n };\n enterprise: {\n description: string;\n interfaces: string[];\n note: string;\n };\n };\n}\n\nexport function buildTypeSchemaSummary(): TypeSchemaSummary {\n return {\n version: '1.0',\n generatedAt: new Date().toISOString(),\n domains: {\n workflow: {\n description: 'Workflow DSL — step definitions, auth blocks, field types, conditions',\n schemas: [\n 'WorkflowFileSchema',\n 'WorkflowDefinitionSchema',\n 'WorkflowStepSchema',\n 'WorkflowStepTypeSchema',\n 'WorkflowFieldSchema',\n 'WorkflowActionSchema',\n 'WorkflowAuthSchema',\n 'WorkflowThemeSchema',\n 'TransitionConditionSchema',\n 'PersistenceSchema',\n ],\n otter: 'stackwright-pro-workflow-otter',\n artifactKey: 'workflowConfig',\n },\n auth: {\n description: 'Authentication providers — PKI/CAC, OIDC, RBAC configuration',\n schemas: [\n 'authConfigSchema',\n 'pkiConfigSchema',\n 'oidcConfigSchema',\n 'rbacConfigSchema',\n 'componentAuthSchema',\n 'authUserSchema',\n 'authSessionSchema',\n ],\n otter: 'stackwright-pro-auth-otter',\n artifactKey: 'authConfig',\n },\n openapi: {\n description: 'OpenAPI spec integration — collection config, endpoint filters, actions',\n interfaces: [\n 'OpenAPIConfig',\n 'ActionConfig',\n 'EndpointFilter',\n 'ApprovedSpec',\n 'PrebuildSecurityConfig',\n 'SiteConfig',\n 'ValidationResult',\n ],\n otter: 'stackwright-pro-api-otter',\n artifactKey: 'apiConfig',\n },\n pulse: {\n description: 'Real-time data polling — source-agnostic polling options and states',\n interfaces: ['PulseOptions', 'PulseMeta', 'PulseState'],\n note: 'React-bound types (PulseProps, PulseIndicatorProps) remain in @stackwright-pro/pulse',\n },\n enterprise: {\n description: 'Enterprise collection access — multi-tenant provider extension',\n interfaces: [\n 'EnterpriseCollectionProvider',\n 'CollectionProvider',\n 'CollectionEntry',\n 'CollectionListOptions',\n 'CollectionListResult',\n 'TenantFilter',\n 'Collection',\n ],\n note: 'CollectionProvider stubs will be replaced with @stackwright/types imports once v1.5.0 publishes',\n },\n },\n };\n}\n\nexport function registerTypeSchemasTool(server: McpServer): void {\n server.tool(\n 'stackwright_pro_get_type_schemas',\n 'Returns a structured summary of all canonical @stackwright-pro/types schemas, organized by domain. Use this to determine which otter owns a given schema and what artifact key to expect.',\n {\n format: z\n .enum(['full', 'domains-only'])\n .optional()\n .default('full')\n .describe('full = complete summary with all fields; domains-only = just domain names'),\n },\n async ({ format }) => {\n const summary = buildTypeSchemaSummary();\n const output = format === 'domains-only' ? Object.keys(summary.domains) : summary;\n return {\n content: [{ type: 'text', text: JSON.stringify(output, null, 2) }],\n };\n }\n );\n}\n"],"mappings":";AAQA,SAAS,SAAS;AAwCX,SAAS,yBAA4C;AAC1D,SAAO;AAAA,IACL,SAAS;AAAA,IACT,cAAa,oBAAI,KAAK,GAAE,YAAY;AAAA,IACpC,SAAS;AAAA,MACP,UAAU;AAAA,QACR,aAAa;AAAA,QACb,SAAS;AAAA,UACP;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,MACA,MAAM;AAAA,QACJ,aAAa;AAAA,QACb,SAAS;AAAA,UACP;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,MACA,SAAS;AAAA,QACP,aAAa;AAAA,QACb,YAAY;AAAA,UACV;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,MACA,OAAO;AAAA,QACL,aAAa;AAAA,QACb,YAAY,CAAC,gBAAgB,aAAa,YAAY;AAAA,QACtD,MAAM;AAAA,MACR;AAAA,MACA,YAAY;AAAA,QACV,aAAa;AAAA,QACb,YAAY;AAAA,UACV;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,MAAM;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACF;AAEO,SAAS,wBAAwB,QAAyB;AAC/D,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,MACE,QAAQ,EACL,KAAK,CAAC,QAAQ,cAAc,CAAC,EAC7B,SAAS,EACT,QAAQ,MAAM,EACd,SAAS,2EAA2E;AAAA,IACzF;AAAA,IACA,OAAO,EAAE,OAAO,MAAM;AACpB,YAAM,UAAU,uBAAuB;AACvC,YAAM,SAAS,WAAW,iBAAiB,OAAO,KAAK,QAAQ,OAAO,IAAI;AAC1E,aAAO;AAAA,QACL,SAAS,CAAC,EAAE,MAAM,QAAQ,MAAM,KAAK,UAAU,QAAQ,MAAM,CAAC,EAAE,CAAC;AAAA,MACnE;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../src/tools/type-schemas.ts"],"sourcesContent":["/**\n * Type Schemas Tool — \"Sinks Not Pipes\"\n *\n * Exposes a human-readable summary of available @stackwright-pro/types schemas.\n * The foreman uses this for schema-based routing: \"which otter owns this domain?\"\n * instead of hardcoded capability descriptions in the prompt.\n */\nimport { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';\nimport { z } from 'zod';\n\n/**\n * Schema summary returned by the tool and written to .stackwright/type-schemas.json\n */\nexport interface TypeSchemaSummary {\n version: '1.0';\n generatedAt: string;\n domains: {\n workflow: {\n description: string;\n schemas: string[];\n otter: string;\n artifactKey: string;\n };\n auth: {\n description: string;\n schemas: string[];\n otter: string;\n artifactKey: string;\n };\n openapi: {\n description: string;\n interfaces: string[];\n otter: string;\n artifactKey: string;\n };\n pulse: {\n description: string;\n interfaces: string[];\n note: string;\n };\n enterprise: {\n description: string;\n interfaces: string[];\n note: string;\n };\n };\n}\n\nexport function buildTypeSchemaSummary(): TypeSchemaSummary {\n return {\n version: '1.0',\n generatedAt: new Date().toISOString(),\n domains: {\n workflow: {\n description: 'Workflow DSL — step definitions, auth blocks, field types, conditions',\n schemas: [\n 'WorkflowFileSchema',\n 'WorkflowDefinitionSchema',\n 'WorkflowStepSchema',\n 'WorkflowStepTypeSchema',\n 'WorkflowFieldSchema',\n 'WorkflowActionSchema',\n 'WorkflowAuthSchema',\n 'WorkflowThemeSchema',\n 'TransitionConditionSchema',\n 'PersistenceSchema',\n ],\n otter: 'stackwright-pro-workflow-otter',\n artifactKey: 'workflowConfig',\n },\n auth: {\n description: 'Authentication providers — PKI/CAC, OIDC, RBAC configuration',\n schemas: [\n 'authConfigSchema',\n 'pkiConfigSchema',\n 'oidcConfigSchema',\n 'rbacConfigSchema',\n 'componentAuthSchema',\n 'authUserSchema',\n 'authSessionSchema',\n ],\n otter: 'stackwright-pro-auth-otter',\n artifactKey: 'authConfig',\n },\n openapi: {\n description: 'OpenAPI spec integration — collection config, endpoint filters, actions',\n interfaces: [\n 'OpenAPIConfig',\n 'ActionConfig',\n 'EndpointFilter',\n 'ApprovedSpec',\n 'PrebuildSecurityConfig',\n 'SiteConfig',\n 'ValidationResult',\n ],\n otter: 'stackwright-pro-api-otter',\n artifactKey: 'apiConfig',\n },\n pulse: {\n description: 'Real-time data polling — source-agnostic polling options and states',\n interfaces: ['PulseOptions', 'PulseMeta', 'PulseState'],\n note: 'React-bound types (PulseProps, PulseIndicatorProps) remain in @stackwright-pro/pulse',\n },\n enterprise: {\n description: 'Enterprise collection access — multi-tenant provider extension',\n interfaces: [\n 'EnterpriseCollectionProvider',\n 'CollectionProvider',\n 'CollectionEntry',\n 'CollectionListOptions',\n 'CollectionListResult',\n 'TenantFilter',\n 'Collection',\n ],\n note: 'CollectionProvider, CollectionEntry, CollectionListOptions, and CollectionListResult are re-exported from @stackwright/types (^1.5.0). EnterpriseCollectionProvider, TenantFilter, and Collection are Pro-only extensions.',\n },\n },\n };\n}\n\nexport function registerTypeSchemasTool(server: McpServer): void {\n server.tool(\n 'stackwright_pro_get_type_schemas',\n 'Returns a structured summary of all canonical @stackwright-pro/types schemas, organized by domain. Use this to determine which otter owns a given schema and what artifact key to expect.',\n {\n format: z\n .enum(['full', 'domains-only'])\n .optional()\n .default('full')\n .describe('full = complete summary with all fields; domains-only = just domain names'),\n },\n async ({ format }) => {\n const summary = buildTypeSchemaSummary();\n const output = format === 'domains-only' ? Object.keys(summary.domains) : summary;\n return {\n content: [{ type: 'text', text: JSON.stringify(output, null, 2) }],\n };\n }\n );\n}\n"],"mappings":";AAQA,SAAS,SAAS;AAwCX,SAAS,yBAA4C;AAC1D,SAAO;AAAA,IACL,SAAS;AAAA,IACT,cAAa,oBAAI,KAAK,GAAE,YAAY;AAAA,IACpC,SAAS;AAAA,MACP,UAAU;AAAA,QACR,aAAa;AAAA,QACb,SAAS;AAAA,UACP;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,MACA,MAAM;AAAA,QACJ,aAAa;AAAA,QACb,SAAS;AAAA,UACP;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,MACA,SAAS;AAAA,QACP,aAAa;AAAA,QACb,YAAY;AAAA,UACV;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,MACA,OAAO;AAAA,QACL,aAAa;AAAA,QACb,YAAY,CAAC,gBAAgB,aAAa,YAAY;AAAA,QACtD,MAAM;AAAA,MACR;AAAA,MACA,YAAY;AAAA,QACV,aAAa;AAAA,QACb,YAAY;AAAA,UACV;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,QACA,MAAM;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACF;AAEO,SAAS,wBAAwB,QAAyB;AAC/D,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,MACE,QAAQ,EACL,KAAK,CAAC,QAAQ,cAAc,CAAC,EAC7B,SAAS,EACT,QAAQ,MAAM,EACd,SAAS,2EAA2E;AAAA,IACzF;AAAA,IACA,OAAO,EAAE,OAAO,MAAM;AACpB,YAAM,UAAU,uBAAuB;AACvC,YAAM,SAAS,WAAW,iBAAiB,OAAO,KAAK,QAAQ,OAAO,IAAI;AAC1E,aAAO;AAAA,QACL,SAAS,CAAC,EAAE,MAAM,QAAQ,MAAM,KAAK,UAAU,QAAQ,MAAM,CAAC,EAAE,CAAC;AAAA,MACnE;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "dependencies": {
3
3
  "@modelcontextprotocol/sdk": "^1.10.0",
4
4
  "zod": "^4.3.6",
5
- "@stackwright-pro/types": "0.2.0-alpha.0",
5
+ "@stackwright-pro/types": "0.2.0-alpha.1",
6
6
  "@stackwright-pro/cli-data-explorer": "2.0.0-alpha.3"
7
7
  },
8
8
  "devDependencies": {
@@ -12,7 +12,7 @@
12
12
  "vitest": "^4.0.18"
13
13
  },
14
14
  "name": "@stackwright-pro/mcp",
15
- "version": "0.2.0-alpha.28",
15
+ "version": "0.2.0-alpha.29",
16
16
  "description": "MCP tools for Stackwright Pro - Data Explorer, Security, ISR, and Dashboard generation",
17
17
  "license": "PROPRIETARY",
18
18
  "main": "./dist/server.js",