@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/stdio.js CHANGED
@@ -722,7 +722,7 @@ var NPM_SEARCH_URL = "https://registry.npmjs.org/-/v1/search";
722
722
  var JSDELIVR_BASE = "https://cdn.jsdelivr.net/npm";
723
723
  var WALKEROS_JSON_PATH = "dist/walkerOS.json";
724
724
  var CACHE_TTL = 5 * 60 * 1e3;
725
- var CLIENT_HEADER = "walkeros-mcp/4.2.1-next-1781682752679";
725
+ var CLIENT_HEADER = "walkeros-mcp/4.2.1";
726
726
  function getPackageBaseUrl() {
727
727
  return process.env.WALKEROS_APP_URL || void 0;
728
728
  }
@@ -1466,7 +1466,7 @@ async function feedbackHandlerBody(client, input) {
1466
1466
  const isAnonymous = explicitAnonymous ?? anonymous ?? true;
1467
1467
  await client.submitFeedback(text, {
1468
1468
  anonymous: isAnonymous,
1469
- version: "4.2.1-next-1781682752679"
1469
+ version: "4.2.1"
1470
1470
  });
1471
1471
  return mcpResult8({ ok: true });
1472
1472
  } catch (error) {
@@ -3556,6 +3556,25 @@ var spec_default = {
3556
3556
  },
3557
3557
  required: ["ack", "deploymentId", "action"]
3558
3558
  },
3559
+ ObserveTicketRequest: {
3560
+ type: "object",
3561
+ properties: {
3562
+ scope: {
3563
+ type: "object",
3564
+ properties: {
3565
+ kind: {
3566
+ type: "string",
3567
+ enum: ["session"]
3568
+ },
3569
+ sessionId: {
3570
+ type: "string",
3571
+ minLength: 1
3572
+ }
3573
+ },
3574
+ required: ["kind", "sessionId"]
3575
+ }
3576
+ }
3577
+ },
3559
3578
  ObserveTicketResponse: {
3560
3579
  type: "object",
3561
3580
  properties: {
@@ -3702,6 +3721,9 @@ var spec_default = {
3702
3721
  type: "object",
3703
3722
  additionalProperties: {}
3704
3723
  },
3724
+ observedFlowName: {
3725
+ type: ["string", "null"]
3726
+ },
3705
3727
  serverFlowName: {
3706
3728
  type: ["string", "null"]
3707
3729
  },
@@ -3726,6 +3748,7 @@ var spec_default = {
3726
3748
  "status",
3727
3749
  "errorMessage",
3728
3750
  "configSnapshot",
3751
+ "observedFlowName",
3729
3752
  "serverFlowName",
3730
3753
  "serverEndpoint",
3731
3754
  "web",
@@ -6428,9 +6451,29 @@ var spec_default = {
6428
6451
  }
6429
6452
  },
6430
6453
  required: ["size", "ttlMs"]
6454
+ },
6455
+ scope: {
6456
+ anyOf: [
6457
+ {
6458
+ type: "object",
6459
+ properties: {
6460
+ kind: {
6461
+ type: "string",
6462
+ enum: ["session"]
6463
+ },
6464
+ sessionId: {
6465
+ type: "string"
6466
+ }
6467
+ },
6468
+ required: ["kind", "sessionId"]
6469
+ },
6470
+ {
6471
+ type: "null"
6472
+ }
6473
+ ]
6431
6474
  }
6432
6475
  },
6433
- required: ["userId", "projectId", "replay"]
6476
+ required: ["userId", "projectId", "replay", "scope"]
6434
6477
  },
6435
6478
  ValidateTicketRequest: {
6436
6479
  type: "object",
@@ -11324,7 +11367,7 @@ var spec_default = {
11324
11367
  post: {
11325
11368
  tags: ["Observe"],
11326
11369
  summary: "Create SSE ticket",
11327
- description: "Generate a one-time ticket for authenticating an SSE connection to the Observer service. Requires project membership.",
11370
+ 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).",
11328
11371
  parameters: [
11329
11372
  {
11330
11373
  schema: {
@@ -11337,6 +11380,16 @@ var spec_default = {
11337
11380
  in: "path"
11338
11381
  }
11339
11382
  ],
11383
+ requestBody: {
11384
+ required: false,
11385
+ content: {
11386
+ "application/json": {
11387
+ schema: {
11388
+ $ref: "#/components/schemas/ObserveTicketRequest"
11389
+ }
11390
+ }
11391
+ }
11392
+ },
11340
11393
  responses: {
11341
11394
  "200": {
11342
11395
  description: "Ticket generated",
@@ -11358,6 +11411,16 @@ var spec_default = {
11358
11411
  }
11359
11412
  }
11360
11413
  },
11414
+ "403": {
11415
+ description: "Forbidden",
11416
+ content: {
11417
+ "application/json": {
11418
+ schema: {
11419
+ $ref: "#/components/schemas/ErrorResponse"
11420
+ }
11421
+ }
11422
+ }
11423
+ },
11361
11424
  "404": {
11362
11425
  description: "Not found",
11363
11426
  content: {
@@ -16801,7 +16864,7 @@ var HttpToolClient = class {
16801
16864
  };
16802
16865
 
16803
16866
  // src/stdio.ts
16804
- setClientContext({ type: "mcp", version: "4.2.1-next-1781682752679" });
16867
+ setClientContext({ type: "mcp", version: "4.2.1" });
16805
16868
  process.on("uncaughtException", (err) => {
16806
16869
  const emitter = getMcpEmitterSingleton();
16807
16870
  if (emitter) {
@@ -16821,7 +16884,7 @@ process.on("unhandledRejection", (reason) => {
16821
16884
  async function main() {
16822
16885
  const server = createWalkerOSMcpServer({
16823
16886
  client: new HttpToolClient(),
16824
- version: "4.2.1-next-1781682752679"
16887
+ version: "4.2.1"
16825
16888
  });
16826
16889
  const transport = new StdioServerTransport();
16827
16890
  await server.connect(transport);
@@ -16831,7 +16894,7 @@ main().catch(async (error) => {
16831
16894
  try {
16832
16895
  const emitter = await createMcpEmitter({
16833
16896
  clientInfo: void 0,
16834
- packageVersion: "4.2.1-next-1781682752679"
16897
+ packageVersion: "4.2.1"
16835
16898
  });
16836
16899
  await emitter.emitError("startup");
16837
16900
  } catch {