@stackwright-pro/mcp 0.2.0-alpha.60 → 0.2.0-alpha.61

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/server.mjs CHANGED
@@ -3024,13 +3024,19 @@ var PHASE_ARTIFACT_SCHEMA = {
3024
3024
  null,
3025
3025
  2
3026
3026
  ),
3027
+ // type: 'pki' = CAC/DoD certificate auth | 'oidc' = enterprise SSO
3028
+ // For dev-only mock auth: use type: 'oidc' with devOnly: true (Zod strips devOnly — it's a convention only)
3027
3029
  auth: JSON.stringify(
3028
3030
  {
3029
3031
  version: "1.0",
3030
3032
  generatedBy: "stackwright-pro-auth-otter",
3031
3033
  authConfig: {
3032
- method: "<cac|oidc|oauth2|none>",
3033
- provider: "<azure-ad|okta|ping|cognito \u2014 if OIDC, else null>",
3034
+ type: "<pki|oidc>",
3035
+ // OIDC-only fields (omit for pki):
3036
+ provider: "<azure_ad|okta|cognito|auth0|authentik|keycloak|custom>",
3037
+ discoveryUrl: "<IdP OIDC discovery URL>",
3038
+ clientId: "<OIDC client ID>",
3039
+ clientSecret: "<OIDC client secret>",
3034
3040
  rbacRoles: ["ADMIN", "ANALYST"],
3035
3041
  rbacDefaultRole: "ANALYST",
3036
3042
  protectedRoutes: ["/dashboard/:path*", "/procurement/:path*"],
@@ -3371,6 +3377,16 @@ var OTTER_WRITE_ALLOWLISTS = {
3371
3377
  { prefix: "pages/", suffix: "/content.yml", description: "Landing page content" },
3372
3378
  { prefix: "pages/", suffix: "/content.yaml", description: "Landing page content" },
3373
3379
  { prefix: ".stackwright/artifacts/", suffix: ".json", description: "Polish artifact" }
3380
+ ],
3381
+ "stackwright-services-otter": [
3382
+ { prefix: ".stackwright/artifacts/", suffix: ".json", description: "Services config artifact" },
3383
+ { prefix: "services/", suffix: ".ts", description: "Service implementation files" },
3384
+ { prefix: "services/", suffix: ".yaml", description: "Service flow definitions" },
3385
+ { prefix: "services/", suffix: ".yml", description: "Service flow definitions" },
3386
+ { prefix: "lib/seeds/", suffix: ".ts", description: "Seed data files" },
3387
+ { prefix: "specs/", suffix: ".json", description: "Generated OpenAPI specs" },
3388
+ { prefix: "specs/", suffix: ".yaml", description: "Generated OpenAPI specs" },
3389
+ { prefix: "stackwright-generated/", suffix: ".json", description: "Services manifest" }
3374
3390
  ]
3375
3391
  };
3376
3392
  var PROTECTED_PATH_PREFIXES = [
@@ -4013,7 +4029,7 @@ var _checksums = /* @__PURE__ */ new Map([
4013
4029
  ],
4014
4030
  [
4015
4031
  "stackwright-pro-auth-otter.json",
4016
- "bf0e66e35d15ba818ba6ff1a007df34975565bacbb35cc0c80151fb1da13e573"
4032
+ "8a6ee02cfe7fede3ca708d05b8b46824eb71f60c7f474b6edf9599da77f779b2"
4017
4033
  ],
4018
4034
  [
4019
4035
  "stackwright-pro-dashboard-otter.json",
@@ -4033,7 +4049,7 @@ var _checksums = /* @__PURE__ */ new Map([
4033
4049
  ],
4034
4050
  [
4035
4051
  "stackwright-pro-foreman-otter.json",
4036
- "a3a4c6b3dde05d8bed213759b1b6644d345b3107b73624ff5654d30b98297649"
4052
+ "ab38ef53b95ec610a38b2866d78a135cbec16d257a9b35d7e46e2fee2d4de235"
4037
4053
  ],
4038
4054
  [
4039
4055
  "stackwright-pro-geo-otter.json",
@@ -4057,7 +4073,7 @@ var _checksums = /* @__PURE__ */ new Map([
4057
4073
  ],
4058
4074
  [
4059
4075
  "stackwright-services-otter.json",
4060
- "2a99df3e50415d027c0bc2a57f509882928bb1ae516e61dda667641ce1652ac3"
4076
+ "4893a596d187110124f78336ee91184a51b3c8d980c455382fe481adb9b487b5"
4061
4077
  ]
4062
4078
  ]);
4063
4079
  Object.freeze(_checksums);
@@ -4790,7 +4806,7 @@ var package_default = {
4790
4806
  "test:coverage": "vitest run --coverage"
4791
4807
  },
4792
4808
  name: "@stackwright-pro/mcp",
4793
- version: "0.2.0-alpha.60",
4809
+ version: "0.2.0-alpha.61",
4794
4810
  description: "MCP tools for Stackwright Pro - Data Explorer, Security, ISR, and Dashboard generation",
4795
4811
  license: "SEE LICENSE IN LICENSE",
4796
4812
  main: "./dist/server.js",
@@ -4846,6 +4862,15 @@ registerDomainTools(server);
4846
4862
  registerTypeSchemasTool(server);
4847
4863
  async function main() {
4848
4864
  const transport = new StdioServerTransport();
4865
+ try {
4866
+ const servicesRegisterPkg = "@stackwright-services/mcp/register";
4867
+ const mod = await import(servicesRegisterPkg);
4868
+ if (typeof mod.registerServicesTools === "function") {
4869
+ mod.registerServicesTools(server);
4870
+ console.error("Stackwright Services tools registered on pro MCP");
4871
+ }
4872
+ } catch {
4873
+ }
4849
4874
  await server.connect(transport);
4850
4875
  console.error("Stackwright Pro MCP server running on stdio");
4851
4876
  }