@walkeros/mcp 4.2.1-next-1781682752679 → 4.2.1

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.js CHANGED
@@ -1217,7 +1217,7 @@ async function feedbackHandlerBody(client, input) {
1217
1217
  const isAnonymous = explicitAnonymous ?? anonymous ?? true;
1218
1218
  await client.submitFeedback(text, {
1219
1219
  anonymous: isAnonymous,
1220
- version: "4.2.1-next-1781682752679"
1220
+ version: "4.2.1"
1221
1221
  });
1222
1222
  return mcpResult6({ ok: true });
1223
1223
  } catch (error) {
@@ -1955,7 +1955,7 @@ var NPM_SEARCH_URL = "https://registry.npmjs.org/-/v1/search";
1955
1955
  var JSDELIVR_BASE = "https://cdn.jsdelivr.net/npm";
1956
1956
  var WALKEROS_JSON_PATH = "dist/walkerOS.json";
1957
1957
  var CACHE_TTL = 5 * 60 * 1e3;
1958
- var CLIENT_HEADER = "walkeros-mcp/4.2.1-next-1781682752679";
1958
+ var CLIENT_HEADER = "walkeros-mcp/4.2.1";
1959
1959
  function getPackageBaseUrl() {
1960
1960
  return process.env.WALKEROS_APP_URL || void 0;
1961
1961
  }
@@ -4634,6 +4634,25 @@ var spec_default = {
4634
4634
  },
4635
4635
  required: ["ack", "deploymentId", "action"]
4636
4636
  },
4637
+ ObserveTicketRequest: {
4638
+ type: "object",
4639
+ properties: {
4640
+ scope: {
4641
+ type: "object",
4642
+ properties: {
4643
+ kind: {
4644
+ type: "string",
4645
+ enum: ["session"]
4646
+ },
4647
+ sessionId: {
4648
+ type: "string",
4649
+ minLength: 1
4650
+ }
4651
+ },
4652
+ required: ["kind", "sessionId"]
4653
+ }
4654
+ }
4655
+ },
4637
4656
  ObserveTicketResponse: {
4638
4657
  type: "object",
4639
4658
  properties: {
@@ -4780,6 +4799,9 @@ var spec_default = {
4780
4799
  type: "object",
4781
4800
  additionalProperties: {}
4782
4801
  },
4802
+ observedFlowName: {
4803
+ type: ["string", "null"]
4804
+ },
4783
4805
  serverFlowName: {
4784
4806
  type: ["string", "null"]
4785
4807
  },
@@ -4804,6 +4826,7 @@ var spec_default = {
4804
4826
  "status",
4805
4827
  "errorMessage",
4806
4828
  "configSnapshot",
4829
+ "observedFlowName",
4807
4830
  "serverFlowName",
4808
4831
  "serverEndpoint",
4809
4832
  "web",
@@ -7506,9 +7529,29 @@ var spec_default = {
7506
7529
  }
7507
7530
  },
7508
7531
  required: ["size", "ttlMs"]
7532
+ },
7533
+ scope: {
7534
+ anyOf: [
7535
+ {
7536
+ type: "object",
7537
+ properties: {
7538
+ kind: {
7539
+ type: "string",
7540
+ enum: ["session"]
7541
+ },
7542
+ sessionId: {
7543
+ type: "string"
7544
+ }
7545
+ },
7546
+ required: ["kind", "sessionId"]
7547
+ },
7548
+ {
7549
+ type: "null"
7550
+ }
7551
+ ]
7509
7552
  }
7510
7553
  },
7511
- required: ["userId", "projectId", "replay"]
7554
+ required: ["userId", "projectId", "replay", "scope"]
7512
7555
  },
7513
7556
  ValidateTicketRequest: {
7514
7557
  type: "object",
@@ -12402,7 +12445,7 @@ var spec_default = {
12402
12445
  post: {
12403
12446
  tags: ["Observe"],
12404
12447
  summary: "Create SSE ticket",
12405
- description: "Generate a one-time ticket for authenticating an SSE connection to the Observer service. Requires project membership.",
12448
+ description: "Generate a one-time ticket for authenticating an SSE connection to the Observer service. Requires project membership. An optional scope narrows the ticket to a subset of the project feed (e.g. one Observe session).",
12406
12449
  parameters: [
12407
12450
  {
12408
12451
  schema: {
@@ -12415,6 +12458,16 @@ var spec_default = {
12415
12458
  in: "path"
12416
12459
  }
12417
12460
  ],
12461
+ requestBody: {
12462
+ required: false,
12463
+ content: {
12464
+ "application/json": {
12465
+ schema: {
12466
+ $ref: "#/components/schemas/ObserveTicketRequest"
12467
+ }
12468
+ }
12469
+ }
12470
+ },
12418
12471
  responses: {
12419
12472
  "200": {
12420
12473
  description: "Ticket generated",
@@ -12436,6 +12489,16 @@ var spec_default = {
12436
12489
  }
12437
12490
  }
12438
12491
  },
12492
+ "403": {
12493
+ description: "Forbidden",
12494
+ content: {
12495
+ "application/json": {
12496
+ schema: {
12497
+ $ref: "#/components/schemas/ErrorResponse"
12498
+ }
12499
+ }
12500
+ }
12501
+ },
12439
12502
  "404": {
12440
12503
  description: "Not found",
12441
12504
  content: {