@walkeros/mcp 4.2.1 → 4.2.2-next-1782892388850
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 +10 -10
- package/dist/index.js.map +1 -1
- package/dist/stdio.js +12 -12
- package/dist/stdio.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1040,7 +1040,7 @@ function registerDeployTool(server, client) {
|
|
|
1040
1040
|
import { z as z5 } from "zod";
|
|
1041
1041
|
import { mcpResult as mcpResult5, mcpError as mcpError5 } from "@walkeros/core";
|
|
1042
1042
|
var TITLE5 = "Secret Management";
|
|
1043
|
-
var DESCRIPTION5 = "Manage a flow\u2019s secrets (the $
|
|
1043
|
+
var DESCRIPTION5 = "Manage a flow\u2019s managed secrets (the $secret.<NAME> values its steps reference at deploy/run time). Actions: list (metadata only), set (create), update (rotate value), delete. Secrets are write-mostly: values are encrypted at rest and are NEVER returned, listed, or echoed. Reference a secret from a flow step as $secret.<NAME>. Credentials, tokens, and private keys must use $secret, not $env: the deploy pipeline only injects values referenced as $secret.<NAME> into the server runner. Server flows only.";
|
|
1044
1044
|
var inputSchema5 = {
|
|
1045
1045
|
action: z5.enum(["list", "set", "update", "delete"]).describe("Secret management action to perform"),
|
|
1046
1046
|
projectId: z5.string().optional().describe(
|
|
@@ -1053,7 +1053,7 @@ var inputSchema5 = {
|
|
|
1053
1053
|
/^[A-Z_][A-Z0-9_]*$/,
|
|
1054
1054
|
"Secret name must be uppercase letters, digits, and underscores, starting with a letter or underscore."
|
|
1055
1055
|
).optional().describe(
|
|
1056
|
-
"Secret name (UPPER_SNAKE_CASE). Required for set. Referenced in flows as $
|
|
1056
|
+
"Secret name (UPPER_SNAKE_CASE). Required for set. Referenced in flows as $secret.<NAME>."
|
|
1057
1057
|
),
|
|
1058
1058
|
value: z5.string().min(1).max(65536).optional().describe(
|
|
1059
1059
|
"Secret value (1-65536 chars). Required for set and update. Write-only: never returned or logged."
|
|
@@ -1100,7 +1100,7 @@ async function secretManageHandlerBody(client, input) {
|
|
|
1100
1100
|
});
|
|
1101
1101
|
return mcpResult5(data, {
|
|
1102
1102
|
next: [
|
|
1103
|
-
"Reference a listed secret from a flow step as $
|
|
1103
|
+
"Reference a listed secret from a flow step as $secret.<NAME>.",
|
|
1104
1104
|
'Use action "set" to add a secret or "update" to rotate one.'
|
|
1105
1105
|
]
|
|
1106
1106
|
});
|
|
@@ -1116,7 +1116,7 @@ async function secretManageHandlerBody(client, input) {
|
|
|
1116
1116
|
value
|
|
1117
1117
|
});
|
|
1118
1118
|
return mcpResult5(created, {
|
|
1119
|
-
next: [`Reference it in this flow as $
|
|
1119
|
+
next: [`Reference it in this flow as $secret.${name}.`]
|
|
1120
1120
|
});
|
|
1121
1121
|
}
|
|
1122
1122
|
case "update": {
|
|
@@ -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.
|
|
1220
|
+
version: "4.2.2-next-1782892388850"
|
|
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.
|
|
1958
|
+
var CLIENT_HEADER = "walkeros-mcp/4.2.2-next-1782892388850";
|
|
1959
1959
|
function getPackageBaseUrl() {
|
|
1960
1960
|
return process.env.WALKEROS_APP_URL || void 0;
|
|
1961
1961
|
}
|
|
@@ -16227,13 +16227,13 @@ function registerReferenceResources(server) {
|
|
|
16227
16227
|
patterns: {
|
|
16228
16228
|
"$var.name": "Variable reference. Whole-string preserves native type (object, array, scalar). Inline interpolation requires a scalar. Reusable fragments (mapping templates, matcher lists, consent objects) live in the variables block and are referenced by name.",
|
|
16229
16229
|
"$var.name.deep.path": "Deep-path access into a structured variable. Walks nested keys/indices. Whole-string preserves type at the leaf; inline still requires a scalar leaf.",
|
|
16230
|
-
"$env.NAME": "Environment variable. $env.GA_ID reads process.env.GA_ID.",
|
|
16230
|
+
"$env.NAME": "Environment variable, resolved at bundle/deploy time. $env.GA_ID reads process.env.GA_ID. Use for non-secret config (IDs, hostnames, regions), never for credentials.",
|
|
16231
16231
|
"$env.NAME:default": "Environment variable with fallback. $env.GA_ID:G-DEFAULT (the `:` is the literal default separator).",
|
|
16232
16232
|
"$contract.name": "Contract reference. Links to a named contract for validation.",
|
|
16233
16233
|
"$contract.name.path": "Nested contract access. $contract.ecommerce.product.",
|
|
16234
16234
|
"$code:(expr)": "Inline JavaScript. $code:(event) => event.data.price * 100 (the `:` carries the raw-code payload).",
|
|
16235
16235
|
"$store.storeId": "Store injection in env values. Wires runtime store access.",
|
|
16236
|
-
"$secret.NAME": "
|
|
16236
|
+
"$secret.NAME": "Managed secret injection (created via the secret manager). The deploy pipeline detects $secret.NAME references and injects the secret value into the server runner\u2019s environment at runtime. Use for credentials, tokens, and private keys. Server flows only; $env does NOT inject managed secrets."
|
|
16237
16237
|
},
|
|
16238
16238
|
cascade: {
|
|
16239
16239
|
priority: [
|
|
@@ -16556,7 +16556,7 @@ Every component in a flow is a **step**: sources capture events, transformers pr
|
|
|
16556
16556
|
|
|
16557
16557
|
- **Mapping** transforms events using data/map/loop/set/condition rules. Same syntax on sources and destinations. Mapping rules use NESTED entity \u2192 action keying: event name "product add" maps to \`{ "product": { "add": Rule } }\`. Wildcards: \`{ "*": { "view": Rule } }\`.
|
|
16558
16558
|
- **Contracts** define event schemas using entity-action keying. Can generate FROM mappings or scaffold mappings FROM contracts.
|
|
16559
|
-
- **Variables** ($var, $env, $code, $store) enable DRY, environment-aware config.
|
|
16559
|
+
- **Variables** ($var, $env, $secret, $code, $store) enable DRY, environment-aware config. \`$var.name\` is a reusable flow variable from the top-level \`variables\` block; whole-string refs preserve native type (object/array/scalar), inline interpolation requires a scalar, deep paths via \`$var.name.deep.path\`. \`$env.NAME[:default]\` is an environment variable resolved at bundle/deploy time (non-secret config only). \`$secret.NAME\` is a managed secret the deploy pipeline injects into the server runner at runtime; credentials, tokens, and private keys must use \`$secret\`, not \`$env\`.
|
|
16560
16560
|
- **Consent** gates destinations, mapping rules, and individual fields. Privacy-first by design.
|
|
16561
16561
|
- **Routing** wires steps via \`next\` (pre-collector) and \`before\` (post-collector). A route is a string ID, a sequence (\`["a", "b"]\`), or a RouteConfig (\`{ match?, next }\` or \`{ match?, one: [...] }\`). The \`one\` operator dispatches first-match against an ordered list of branches. Use \`many\` (instead of \`one\`) when every matching entry should run as an independent parallel flow \u2014 restricted to pre-collector positions. The optional \`match\` field is omitted to mean always-match (no wildcard literal).
|
|
16562
16562
|
- **Pass-through steps** are transformer entries with no \`code\` and no \`package\`. The runtime synthesizes the push for them automatically. Three flavors share this shape: a \`before\` / \`next\`-only step (named hop reusable across destinations), a \`cache\`-only step (dedup, rate-limit), and a \`mapping\`-only step (declarative event-to-event transform). A pass-through must declare at least one of \`before\`, \`next\`, \`cache\`, or \`mapping\`.
|
|
@@ -16980,7 +16980,7 @@ var TOOL_DEFINITIONS = [
|
|
|
16980
16980
|
{
|
|
16981
16981
|
name: "secret_manage",
|
|
16982
16982
|
title: "Secret Management",
|
|
16983
|
-
description: "Manage a flow\u2019s secrets (the $
|
|
16983
|
+
description: "Manage a flow\u2019s managed secrets (the $secret.<NAME> values its steps reference at deploy/run time). Actions: list (metadata only), set (create), update (rotate value), delete. Secrets are write-mostly: values are encrypted at rest and are NEVER returned, listed, or echoed. Reference a secret from a flow step as $secret.<NAME> (credentials, tokens, and private keys use $secret, not $env).",
|
|
16984
16984
|
inputSchema: {
|
|
16985
16985
|
action: z16.enum(["list", "set", "update", "delete"]),
|
|
16986
16986
|
projectId: z16.string().optional(),
|