@walkeros/mcp 4.3.2 → 4.4.0-next-1785239495233

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.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ListFlowsOptions, ListPreviewsOptions, GetPreviewOptions, CreatePreviewOptions, DeletePreviewOptions, ListSecretsOptions, CreateSecretOptions, UpdateSecretOptions, DeleteSecretOptions, DeployOptions, ListDeploymentsOptions, DeviceCodeResult, PollResult, FeedbackOptions } from '@walkeros/cli';
2
- import { Journey, JourneyGap } from '@walkeros/core';
2
+ import { Journey, JourneyGap, JourneyUnattributed } from '@walkeros/core';
3
3
  import { ZodRawShape } from 'zod';
4
4
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
5
5
  export { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
@@ -24,9 +24,10 @@ interface RegrantPreviewOptions {
24
24
  * The assembled cross-runtime journeys for a flow's active Observe session,
25
25
  * mirroring the app's flowId-keyed REST envelope. `sessionId` is null when the
26
26
  * flow has no active session (the empty result an agent gets when the flow is
27
- * not currently being observed). `journeys`/`gaps` are the pure
28
- * `assembleJourneys` output; typed against core's `Journey`/`JourneyGap` since
29
- * `@walkeros/mcp` already depends on `@walkeros/core`.
27
+ * not currently being observed). `journeys`/`gaps`/`unattributed` are the pure
28
+ * `assembleJourneys` output; typed against core's `Journey`/`JourneyGap`/
29
+ * `JourneyUnattributed` since `@walkeros/mcp` already depends on
30
+ * `@walkeros/core`.
30
31
  */
31
32
  interface JourneysResult {
32
33
  sessionId: string | null;
@@ -34,6 +35,12 @@ interface JourneysResult {
34
35
  assembledAt: string;
35
36
  journeys: Journey[];
36
37
  gaps: JourneyGap[];
38
+ /**
39
+ * Records that belonged to an event run but could not be attributed to any
40
+ * event, per platform. Absent when there are none, and session-level like
41
+ * `gaps`: `traceId`/`limit` narrow `journeys` only.
42
+ */
43
+ unattributed?: JourneyUnattributed[];
37
44
  }
38
45
  /** Observation verbosity a session's container is provisioned with. */
39
46
  type ObserveLevel = 'off' | 'standard' | 'trace';
package/dist/index.js CHANGED
@@ -1318,7 +1318,10 @@ async function observeJourneysHandlerBody(client, input) {
1318
1318
  flowId: result.flowId,
1319
1319
  assembledAt: result.assembledAt,
1320
1320
  journeys: redactJourneyPayloads(result.journeys),
1321
- gaps: result.gaps
1321
+ gaps: result.gaps,
1322
+ ...result.unattributed !== void 0 && {
1323
+ unattributed: result.unattributed
1324
+ }
1322
1325
  };
1323
1326
  return mcpResult6(safe, {
1324
1327
  next: result.sessionId === null ? [
@@ -1702,7 +1705,7 @@ async function feedbackHandlerBody(client, input) {
1702
1705
  const isAnonymous = explicitAnonymous ?? anonymous ?? true;
1703
1706
  await client.submitFeedback(text, {
1704
1707
  anonymous: isAnonymous,
1705
- version: "4.3.2"
1708
+ version: "4.4.0-next-1785239495233"
1706
1709
  });
1707
1710
  return mcpResult8({ ok: true });
1708
1711
  } catch (error) {
@@ -2440,7 +2443,7 @@ var NPM_SEARCH_URL = "https://registry.npmjs.org/-/v1/search";
2440
2443
  var JSDELIVR_BASE = "https://cdn.jsdelivr.net/npm";
2441
2444
  var WALKEROS_JSON_PATH = "dist/walkerOS.json";
2442
2445
  var CACHE_TTL = 5 * 60 * 1e3;
2443
- var CLIENT_HEADER = "walkeros-mcp/4.3.2";
2446
+ var CLIENT_HEADER = "walkeros-mcp/4.4.0-next-1785239495233";
2444
2447
  function getPackageBaseUrl() {
2445
2448
  return process.env.WALKEROS_APP_URL || void 0;
2446
2449
  }
@@ -3065,7 +3068,7 @@ var spec_default = {
3065
3068
  openapi: "3.1.0",
3066
3069
  info: {
3067
3070
  title: "walkerOS Tag Manager API",
3068
- version: "4.1.0",
3071
+ version: "4.2.0",
3069
3072
  description: "API for managing walkerOS flows, projects, and real-time event observation.",
3070
3073
  contact: {
3071
3074
  name: "elbwalker",
@@ -5561,6 +5564,13 @@ var spec_default = {
5561
5564
  type: "object",
5562
5565
  additionalProperties: {}
5563
5566
  }
5567
+ },
5568
+ unattributed: {
5569
+ type: "array",
5570
+ items: {
5571
+ type: "object",
5572
+ additionalProperties: {}
5573
+ }
5564
5574
  }
5565
5575
  },
5566
5576
  required: ["sessionId", "flowId", "assembledAt", "journeys", "gaps"]
@@ -8166,6 +8176,13 @@ var spec_default = {
8166
8176
  type: "object",
8167
8177
  additionalProperties: {}
8168
8178
  }
8179
+ },
8180
+ unattributed: {
8181
+ type: "array",
8182
+ items: {
8183
+ type: "object",
8184
+ additionalProperties: {}
8185
+ }
8169
8186
  }
8170
8187
  },
8171
8188
  required: ["sessionId", "flowId", "assembledAt", "journeys", "gaps"]