@beehexa/hexasync-ai-toolkit 2611.8.2 → 2611.8.3

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.
Files changed (96) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/.cursor-plugin/mcp.json +1 -1
  5. package/.cursor-plugin/plugin.json +1 -1
  6. package/.mcp.json +1 -1
  7. package/README.md +27 -8
  8. package/dist/cli.js +7 -3
  9. package/gemini-extension.json +2 -2
  10. package/openclaw.plugin.json +1 -1
  11. package/package.json +2 -2
  12. package/plugin.json +1 -1
  13. package/skills/hexasync-connections/SKILL.md +9 -7
  14. package/skills/hexasync-connections/references/INSTALL.md +22 -6
  15. package/skills/hexasync-error-handling/SKILL.md +9 -7
  16. package/skills/hexasync-error-handling/references/INSTALL.md +22 -6
  17. package/skills/hexasync-expressions/SKILL.md +20 -9
  18. package/skills/hexasync-expressions/references/INDEX.md +13 -0
  19. package/skills/hexasync-expressions/references/INSTALL.md +22 -6
  20. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +1 -1
  21. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +1 -1
  22. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +20 -1
  23. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +29 -0
  24. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
  25. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
  26. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +14 -0
  27. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +16 -0
  28. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +42 -0
  29. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.md +231 -0
  30. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
  31. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.return.md +84 -0
  32. package/skills/hexasync-field-mapping/SKILL.md +10 -9
  33. package/skills/hexasync-field-mapping/references/INSTALL.md +22 -6
  34. package/skills/hexasync-metrics-reports/SKILL.md +9 -7
  35. package/skills/hexasync-metrics-reports/references/INSTALL.md +22 -6
  36. package/skills/hexasync-pullers/SKILL.md +9 -7
  37. package/skills/hexasync-pullers/references/INSTALL.md +22 -6
  38. package/skills/hexasync-pushers/SKILL.md +10 -10
  39. package/skills/hexasync-pushers/references/INSTALL.md +22 -6
  40. package/skills/hexasync-query-dsl/SKILL.md +10 -10
  41. package/skills/hexasync-query-dsl/references/INSTALL.md +22 -6
  42. package/skills/hexasync-startup-tasks-scheduling/SKILL.md +9 -7
  43. package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +22 -6
  44. package/skills/hexasync-steps-api-http/SKILL.md +21 -16
  45. package/skills/hexasync-steps-api-http/references/INDEX.md +13 -0
  46. package/skills/hexasync-steps-api-http/references/INSTALL.md +22 -6
  47. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +29 -0
  48. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
  49. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
  50. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +14 -0
  51. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +16 -0
  52. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +42 -0
  53. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.md +231 -0
  54. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
  55. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.return.md +84 -0
  56. package/skills/hexasync-steps-control-data/SKILL.md +21 -17
  57. package/skills/hexasync-steps-control-data/references/INDEX.md +13 -0
  58. package/skills/hexasync-steps-control-data/references/INSTALL.md +22 -6
  59. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +29 -0
  60. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
  61. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
  62. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +14 -0
  63. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +16 -0
  64. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +42 -0
  65. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.md +231 -0
  66. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
  67. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.return.md +84 -0
  68. package/skills/hexasync-tables-tasks-objects/SKILL.md +9 -7
  69. package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +22 -6
  70. package/skills/hexasync-templates/SKILL.md +21 -9
  71. package/skills/hexasync-templates/references/AI-INDEX.md +8 -6
  72. package/skills/hexasync-templates/references/INDEX.md +15 -0
  73. package/skills/hexasync-templates/references/INSTALL.md +22 -6
  74. package/skills/hexasync-templates/references/KB-INDEX.md +5 -0
  75. package/skills/hexasync-templates/references/PROFILE-ROOT.getreadyflows-1.md +33 -0
  76. package/skills/hexasync-templates/references/PROFILE-ROOT.md +2 -1
  77. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +5 -4
  78. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.records_form.md +201 -0
  79. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +10 -8
  80. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.getreadyflows.md +31 -0
  81. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +2 -1
  82. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +29 -0
  83. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
  84. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
  85. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +14 -0
  86. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +16 -0
  87. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +42 -0
  88. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.md +231 -0
  89. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
  90. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.return.md +84 -0
  91. package/skills/hexasync-transformations/SKILL.md +9 -7
  92. package/skills/hexasync-transformations/references/INSTALL.md +22 -6
  93. package/skills/hexasync-validations/SKILL.md +9 -7
  94. package/skills/hexasync-validations/references/INSTALL.md +22 -6
  95. package/skills/hexasync-webhooks/SKILL.md +9 -7
  96. package/skills/hexasync-webhooks/references/INSTALL.md +22 -6
@@ -10,7 +10,7 @@
10
10
  {
11
11
  "name": "hexasync-templates",
12
12
  "source": "./",
13
- "version": "2611.8.2",
13
+ "version": "2611.8.3",
14
14
  "description": "HexaSync profile template tools: agent skills for every template component family plus the HexaSync Template IDE MCP server (knowledge base, YAML examples, expression roots, validation).",
15
15
  "author": {
16
16
  "name": "BeeHexa"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexasync-templates",
3
- "version": "2611.8.2",
3
+ "version": "2611.8.3",
4
4
  "description": "HexaSync profile template tools: agent skills for every template component family plus the HexaSync Template IDE MCP server (knowledge base, YAML examples, expression roots, validation).",
5
5
  "author": {
6
6
  "name": "BeeHexa"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexasync-templates",
3
- "version": "2611.8.2",
3
+ "version": "2611.8.3",
4
4
  "description": "HexaSync profile template tools: agent skills for every template component family plus the HexaSync Template IDE MCP server (knowledge base, YAML examples, expression roots, validation).",
5
5
  "author": {
6
6
  "name": "BeeHexa"
@@ -5,7 +5,7 @@
5
5
  "command": "npx",
6
6
  "args": [
7
7
  "-y",
8
- "@beehexa/hexasync-template-ide-mcp@latest"
8
+ "@beehexa/hexasync-template-ide-mcp@2611.8.3"
9
9
  ]
10
10
  }
11
11
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexasync-templates",
3
- "version": "2611.8.2",
3
+ "version": "2611.8.3",
4
4
  "description": "HexaSync profile template tools: agent skills for every template component family plus the HexaSync Template IDE MCP server (knowledge base, YAML examples, expression roots, validation).",
5
5
  "author": {
6
6
  "name": "BeeHexa"
package/.mcp.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "command": "npx",
5
5
  "args": [
6
6
  "-y",
7
- "@beehexa/hexasync-template-ide-mcp@latest"
7
+ "@beehexa/hexasync-template-ide-mcp@2611.8.3"
8
8
  ]
9
9
  }
10
10
  }
package/README.md CHANGED
@@ -6,7 +6,8 @@ Teach your AI coding agent HexaSync profile templates. One command installs:
6
6
  validation, as tools your agent can call.
7
7
  - **16 HexaSync agent skills**: templates in general, pullers, pushers, webhooks, API steps, control and data
8
8
  steps, the Query DSL, expressions, transformations, validations, connections, tables and tasks, startup tasks
9
- and scheduling, metrics and reports, error handling and field mapping.
9
+ and scheduling, metrics and reports, error handling and field mapping. Entry/API/control/expression skills
10
+ route grouped frontend requests to the same KB-owned frontend reference, not a second authored grammar.
10
11
 
11
12
  Supported agents: Claude Code, Codex, Cursor, Antigravity, pi, OpenClaw and VS Code (GitHub Copilot).
12
13
  Works on Linux, macOS and Windows.
@@ -15,13 +16,19 @@ Works on Linux, macOS and Windows.
15
16
 
16
17
  Node.js 22.13 or newer (`node --version`).
17
18
 
19
+ Choose an exact toolkit release and replace `<toolkit-version>` below. The installer, generated manifests
20
+ and skill installation references select the standalone MCP server at that same version, never a moving
21
+ release or an automatic fallback. If the matching server is unpublished/missing, registry-backed activation
22
+ is blocked; do not substitute another version or publish automatically.
23
+
18
24
  ## Install
19
25
 
20
26
  ```sh
21
- npx -y @beehexa/hexasync-ai-toolkit install --client all
27
+ npx -y '@beehexa/hexasync-ai-toolkit@<toolkit-version>' install --client all
22
28
  ```
23
29
 
24
- Then restart your agent.
30
+ Then restart your agent. Skills load conditionally when the host selects them; installation does not inject
31
+ instructions globally or prove that a skill has loaded.
25
32
 
26
33
  | Option | Effect |
27
34
  | --- | --- |
@@ -37,15 +44,15 @@ server.
37
44
  ## Update, list, remove
38
45
 
39
46
  ```sh
40
- npx -y @beehexa/hexasync-ai-toolkit update
41
- npx -y @beehexa/hexasync-ai-toolkit list
42
- npx -y @beehexa/hexasync-ai-toolkit uninstall
47
+ npx -y '@beehexa/hexasync-ai-toolkit@<toolkit-version>' update
48
+ npx -y '@beehexa/hexasync-ai-toolkit@<toolkit-version>' list
49
+ npx -y '@beehexa/hexasync-ai-toolkit@<toolkit-version>' uninstall
43
50
  ```
44
51
 
45
52
  ## Install as a plugin
46
53
 
47
- - **pi**: `pi install npm:@beehexa/hexasync-ai-toolkit`
48
- - **OpenClaw**: `openclaw plugins install npm:@beehexa/hexasync-ai-toolkit`
54
+ - **pi**: `pi install 'npm:@beehexa/hexasync-ai-toolkit@<toolkit-version>'`
55
+ - **OpenClaw**: `openclaw plugins install 'npm:@beehexa/hexasync-ai-toolkit@<toolkit-version>'`
49
56
 
50
57
  ## Try these prompts
51
58
 
@@ -54,6 +61,15 @@ npx -y @beehexa/hexasync-ai-toolkit uninstall
54
61
  - "Handle HTTP and response errors in this puller with one classification step and an Error step."
55
62
  - "Which roots can I use in an expression inside a pusher step?"
56
63
  - "Validate this project and explain each problem."
64
+ - "Explain grouped getReadyFlows with runtime frontend and the frontend-step expression position."
65
+
66
+ The entry, API, control/data and expression skills link the
67
+ [canonical frontend guide](https://github.com/hexasync-saas/hexasync-templates-vscode-ext/blob/main/assets/docs/frontend/FRONTEND-FLOWS.md)
68
+ through their localized references.
69
+ They qualify frontend type lookups with `runtime: 'frontend'`; omitted runtime remains worker.
70
+ Use `frontend-step` for frontend expressions. Missing frontend knowledge is unavailable, not a worker
71
+ fallback. Refer to the KB for the complete contract and runtime prerequisites; schema acceptance is not
72
+ deployed-runtime support or router/provider/user-receipt proof.
57
73
 
58
74
  ## Troubleshooting
59
75
 
@@ -61,3 +77,6 @@ npx -y @beehexa/hexasync-ai-toolkit uninstall
61
77
  - **The server does not start:** check Node.js is 22.13 or newer.
62
78
  - **"No project" when validating:** open the template folder in your agent, or re-run with `--scope project`
63
79
  from that folder.
80
+ - **Missing matching MCP release:** activation is blocked. Local verification uses the actual installed
81
+ VSIX's `dist/mcp/server.js` without fetching from the registry. A generated manifest or matching version
82
+ alone is not installed-tool or skill-loading proof.
package/dist/cli.js CHANGED
@@ -2659,7 +2659,7 @@ async function extensionInstalled(ports) {
2659
2659
  return null;
2660
2660
  }
2661
2661
  async function planInstall(options, ports) {
2662
- const launch = standaloneLaunch(ports.host.platform);
2662
+ const launch = standaloneLaunch(ports.host.platform, `${STANDALONE_MCP_PACKAGE}@${options.toolkitVersion}`);
2663
2663
  const copiedTo = /* @__PURE__ */ new Map();
2664
2664
  const clients = [];
2665
2665
  for (const clientId of options.clients) {
@@ -2855,7 +2855,10 @@ ${USAGE}
2855
2855
  return 2;
2856
2856
  }
2857
2857
  const manifest = JSON.parse(await readFile2(join2(packageRoot2, "package.json"), "utf8"));
2858
- const version = manifest && typeof manifest === "object" && "version" in manifest && typeof manifest.version === "string" ? manifest.version : "unknown";
2858
+ if (!manifest || typeof manifest !== "object" || !("version" in manifest) || typeof manifest.version !== "string" || !manifest.version.trim()) {
2859
+ throw new Error("The toolkit package.json has no release version; cannot select its matching MCP server.");
2860
+ }
2861
+ const version = manifest.version;
2859
2862
  if (args.command === "help") {
2860
2863
  write(`${USAGE}
2861
2864
  `);
@@ -2894,6 +2897,7 @@ ${USAGE}
2894
2897
  clients: args.clients,
2895
2898
  scope: args.scope,
2896
2899
  skills: args.skills,
2900
+ toolkitVersion: version,
2897
2901
  mcp: args.mcp,
2898
2902
  useCli: args.useCli,
2899
2903
  skillsSource,
@@ -2919,7 +2923,7 @@ ${client.displayName}
2919
2923
  }
2920
2924
  }
2921
2925
  if (!args.dryRun && plan.clients.some((client) => client.actions.some((action) => action.kind === "write-config" || action.kind === "run"))) {
2922
- write("\nRestart (or reload) each client so it starts the MCP server and loads the skills.\n");
2926
+ write("\nRestart (or reload) each client so it starts the matching MCP server and discovers the skills; skills load conditionally.\n");
2923
2927
  }
2924
2928
  return failed ? 1 : 0;
2925
2929
  }
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "hexasync-templates",
3
- "version": "2611.8.2",
3
+ "version": "2611.8.3",
4
4
  "description": "HexaSync profile template tools: agent skills for every template component family plus the HexaSync Template IDE MCP server (knowledge base, YAML examples, expression roots, validation).",
5
5
  "mcpServers": {
6
6
  "hexasync-template-ide": {
7
7
  "command": "npx",
8
8
  "args": [
9
9
  "-y",
10
- "@beehexa/hexasync-template-ide-mcp@latest"
10
+ "@beehexa/hexasync-template-ide-mcp@2611.8.3"
11
11
  ]
12
12
  }
13
13
  }
@@ -2,7 +2,7 @@
2
2
  "id": "hexasync-templates",
3
3
  "name": "HexaSync Templates",
4
4
  "description": "HexaSync profile template tools: agent skills for every template component family plus the HexaSync Template IDE MCP server (knowledge base, YAML examples, expression roots, validation).",
5
- "version": "2611.8.2",
5
+ "version": "2611.8.3",
6
6
  "skills": [
7
7
  "./skills"
8
8
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beehexa/hexasync-ai-toolkit",
3
- "version": "2611.8.2",
3
+ "version": "2611.8.3",
4
4
  "description": "HexaSync AI toolkit: agent skills for HexaSync profile templates plus the HexaSync Template IDE MCP server, installable into Claude Code, Codex, Cursor, Antigravity, pi, OpenClaw and VS Code.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -49,7 +49,7 @@
49
49
  "build": "node build.mjs"
50
50
  },
51
51
  "devDependencies": {
52
- "@beehexa/hexasync-template-client-setup": "2611.8.2",
52
+ "@beehexa/hexasync-template-client-setup": "2611.8.3",
53
53
  "esbuild": "0.28.1",
54
54
  "typescript": "7.0.2"
55
55
  },
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexasync-templates",
3
- "version": "2611.8.2",
3
+ "version": "2611.8.3",
4
4
  "description": "HexaSync profile template tools: agent skills for every template component family plus the HexaSync Template IDE MCP server (knowledge base, YAML examples, expression roots, validation).",
5
5
  "author": {
6
6
  "name": "BeeHexa"
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: hexasync-connections
3
3
  description: "HexaSync connections: connectors list in main.yaml, connectorId/providerId/providerVersion, options, authentication and credential scope per connection, the self connector, HTTP request builders bound to a connection, CONN-* validation rules, connector catalog lookups. Use when declaring or binding a connection."
4
- compatibility: "Any agent that reads Agent Skills. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@latest), which needs Node.js >= 22.13; without it, read references/."
4
+ compatibility: "Loaded conditionally by Agent Skills hosts. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3), which needs Node.js >= 22.13; without it, read references/."
5
5
  metadata:
6
6
  author: BeeHexa
7
- version: "2611.8.2"
8
- kb-bundle: "103"
7
+ version: "2611.8.3"
8
+ kb-bundle: "106"
9
9
  mcp-server: "hexasync-template-ide"
10
10
  ---
11
11
 
@@ -13,15 +13,17 @@ metadata:
13
13
 
14
14
  **Syntax.** A profile declares connections as a list under `connectors:` (the legacy spelling `connections:` is still read):
15
15
 
16
- > Generated from the HexaSync knowledge base (asset bundle 103) by @beehexa/hexasync-ai-toolkit 2611.8.2.
16
+ > Generated from the HexaSync knowledge base (asset bundle 106) by @beehexa/hexasync-ai-toolkit 2611.8.3.
17
17
 
18
18
  ## How to work
19
19
 
20
+ The host loads this skill conditionally; installing it does not inject instructions into every conversation.
21
+ Choose worker or frontend from the owning collection before applying guidance.
20
22
  When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
21
23
 
22
24
  1. `hexasync_orientation` once per session: what a template is, the two runtimes that must never be mixed, and the lookup order.
23
- 2. `hexasync_explain_type` before writing any field, e.g. `connectors`, `connectorId`. It returns the authoritative syntax, meaning, default and a YAML example.
24
- 3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `connectors connection options`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
25
+ 2. `hexasync_explain_type` before writing any field. Worker/data lookups for this family: `hexasync_explain_type({"name":"connectors","runtime":"worker"})`, `hexasync_explain_type({"name":"connectorId","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
26
+ 3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `connectors connection options`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
25
27
  4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
26
28
  5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
27
29
 
@@ -33,4 +35,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
33
35
 
34
36
  ## Installing the MCP server
35
37
 
36
- If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@latest`).
38
+ If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit@2611.8.3 install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3`). The matching published server is required; absence blocks registry-backed activation, with no fallback.
@@ -3,19 +3,19 @@
3
3
  If the `hexasync_*` tools are not available, install the server (and these skills) for every client at once:
4
4
 
5
5
  ```sh
6
- npx -y @beehexa/hexasync-ai-toolkit install --client all --scope user
6
+ npx -y @beehexa/hexasync-ai-toolkit@2611.8.3 install --client all --scope user
7
7
  ```
8
8
 
9
- Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@latest`):
9
+ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3`):
10
10
 
11
11
  | Client | Registration |
12
12
  | --- | --- |
13
- | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@latest` |
13
+ | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3` |
14
14
  | Codex | `mcp_servers` in `~/.codex/config.toml` |
15
15
  | Cursor | `mcpServers` in `~/.cursor/mcp.json` |
16
16
  | Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
17
17
  | pi | `mcpServers` in `~/.pi/agent/mcp.json` |
18
- | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@latest"]}'` |
18
+ | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@2611.8.3"]}'` |
19
19
  | VS Code | `servers` in the user `mcp.json` |
20
20
 
21
21
  ```json
@@ -25,11 +25,27 @@ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@l
25
25
  "command": "npx",
26
26
  "args": [
27
27
  "-y",
28
- "@beehexa/hexasync-template-ide-mcp@latest"
28
+ "@beehexa/hexasync-template-ide-mcp@2611.8.3"
29
29
  ]
30
30
  }
31
31
  }
32
32
  }
33
33
  ```
34
34
 
35
- On native Windows use `"command": "cmd", "args": ["/c", "npx", "-y", "@beehexa/hexasync-template-ide-mcp@latest"]`. Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it.
35
+ On native Windows use this launch:
36
+
37
+ ```json
38
+ {
39
+ "command": "cmd",
40
+ "args": [
41
+ "/c",
42
+ "npx",
43
+ "-y",
44
+ "@beehexa/hexasync-template-ide-mcp@2611.8.3"
45
+ ]
46
+ }
47
+ ```
48
+
49
+ The standalone server must match toolkit 2611.8.3. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
50
+
51
+ Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it. Skills are loaded conditionally by the host, not globally injected.
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: hexasync-error-handling
3
3
  description: "HexaSync error handling: Error vs EXCEPTION steps, onError routes, onErrorSteps, coded failures, classifying HTTP status, thrown calls and invalid envelopes into one error code without one step per error class, re-raising with fromStep, failure behavior of steps. Use when a workflow must fail, retry or report errors cleanly."
4
- compatibility: "Any agent that reads Agent Skills. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@latest), which needs Node.js >= 22.13; without it, read references/."
4
+ compatibility: "Loaded conditionally by Agent Skills hosts. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3), which needs Node.js >= 22.13; without it, read references/."
5
5
  metadata:
6
6
  author: BeeHexa
7
- version: "2611.8.2"
8
- kb-bundle: "103"
7
+ version: "2611.8.3"
8
+ kb-bundle: "106"
9
9
  mcp-server: "hexasync-template-ide"
10
10
  ---
11
11
 
@@ -13,15 +13,17 @@ metadata:
13
13
 
14
14
  `Error` (exact case) **intentionally stops the flow** with a workflow-level failure. It raises a new failure from a `code` and/or `message`, or re-raises (optionally wrapping) a failure captured earlier by naming that step in `fromStep`. The raise bypasses this step's own `onError` route and is recorded as the run's error, so it never writes a successful `_outputs.<KEY>`. Place it in a workflow's `steps` list at the point where the flow must end in failure.
15
15
 
16
- > Generated from the HexaSync knowledge base (asset bundle 103) by @beehexa/hexasync-ai-toolkit 2611.8.2.
16
+ > Generated from the HexaSync knowledge base (asset bundle 106) by @beehexa/hexasync-ai-toolkit 2611.8.3.
17
17
 
18
18
  ## How to work
19
19
 
20
+ The host loads this skill conditionally; installing it does not inject instructions into every conversation.
21
+ Choose worker or frontend from the owning collection before applying guidance.
20
22
  When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
21
23
 
22
24
  1. `hexasync_orientation` once per session: what a template is, the two runtimes that must never be mixed, and the lookup order.
23
- 2. `hexasync_explain_type` before writing any field, e.g. `Error`, `EXCEPTION`, `onError`. It returns the authoritative syntax, meaning, default and a YAML example.
24
- 3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `Error EXCEPTION onError classify`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
25
+ 2. `hexasync_explain_type` before writing any field. Worker/data lookups for this family: `hexasync_explain_type({"name":"Error","runtime":"worker"})`, `hexasync_explain_type({"name":"EXCEPTION","runtime":"worker"})`, `hexasync_explain_type({"name":"onError","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
26
+ 3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `Error EXCEPTION onError classify`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
25
27
  4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
26
28
  5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
27
29
 
@@ -44,4 +46,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
44
46
 
45
47
  ## Installing the MCP server
46
48
 
47
- If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@latest`).
49
+ If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit@2611.8.3 install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3`). The matching published server is required; absence blocks registry-backed activation, with no fallback.
@@ -3,19 +3,19 @@
3
3
  If the `hexasync_*` tools are not available, install the server (and these skills) for every client at once:
4
4
 
5
5
  ```sh
6
- npx -y @beehexa/hexasync-ai-toolkit install --client all --scope user
6
+ npx -y @beehexa/hexasync-ai-toolkit@2611.8.3 install --client all --scope user
7
7
  ```
8
8
 
9
- Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@latest`):
9
+ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3`):
10
10
 
11
11
  | Client | Registration |
12
12
  | --- | --- |
13
- | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@latest` |
13
+ | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3` |
14
14
  | Codex | `mcp_servers` in `~/.codex/config.toml` |
15
15
  | Cursor | `mcpServers` in `~/.cursor/mcp.json` |
16
16
  | Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
17
17
  | pi | `mcpServers` in `~/.pi/agent/mcp.json` |
18
- | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@latest"]}'` |
18
+ | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@2611.8.3"]}'` |
19
19
  | VS Code | `servers` in the user `mcp.json` |
20
20
 
21
21
  ```json
@@ -25,11 +25,27 @@ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@l
25
25
  "command": "npx",
26
26
  "args": [
27
27
  "-y",
28
- "@beehexa/hexasync-template-ide-mcp@latest"
28
+ "@beehexa/hexasync-template-ide-mcp@2611.8.3"
29
29
  ]
30
30
  }
31
31
  }
32
32
  }
33
33
  ```
34
34
 
35
- On native Windows use `"command": "cmd", "args": ["/c", "npx", "-y", "@beehexa/hexasync-template-ide-mcp@latest"]`. Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it.
35
+ On native Windows use this launch:
36
+
37
+ ```json
38
+ {
39
+ "command": "cmd",
40
+ "args": [
41
+ "/c",
42
+ "npx",
43
+ "-y",
44
+ "@beehexa/hexasync-template-ide-mcp@2611.8.3"
45
+ ]
46
+ }
47
+ ```
48
+
49
+ The standalone server must match toolkit 2611.8.3. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
50
+
51
+ Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it. Skills are loaded conditionally by the host, not globally injected.
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: hexasync-expressions
3
- description: "HexaSync expressions and context: Scriban {{ }} templates, JSONata, JSONPath selection, the three-dialect classification, arguments, environment, step inputs/outputs (_outputs), item and task context, which roots exist at each authoring position, Scriban/JSONata/Liquid steps. Use when writing or debugging an expression or asking which variables are available."
4
- compatibility: "Any agent that reads Agent Skills. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@latest), which needs Node.js >= 22.13; without it, read references/."
3
+ description: "HexaSync expressions and context: worker Scriban {{ }} templates, JSONata, JSONPath selection, arguments, environment, step inputs/outputs (_outputs), item/task context and Scriban/JSONata/Liquid steps. Grouped frontend getReadyFlows expressions, current-flow outputs and RETURN mapping require the separate frontend-step position and frontend-qualified KB lookups. Use when writing or debugging an expression or asking which variables are available."
4
+ compatibility: "Loaded conditionally by Agent Skills hosts. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3), which needs Node.js >= 22.13; without it, read references/."
5
5
  metadata:
6
6
  author: BeeHexa
7
- version: "2611.8.2"
8
- kb-bundle: "103"
7
+ version: "2611.8.3"
8
+ kb-bundle: "106"
9
9
  mcp-server: "hexasync-template-ide"
10
10
  ---
11
11
 
@@ -13,20 +13,31 @@ metadata:
13
13
 
14
14
  The evaluation root is selected by the **caller**, not by the chosen language. This page explains runtime context, dialect classification, Scriban functions, JSONPath selection and JSONata scope.
15
15
 
16
- > Generated from the HexaSync knowledge base (asset bundle 103) by @beehexa/hexasync-ai-toolkit 2611.8.2.
16
+ > Generated from the HexaSync knowledge base (asset bundle 106) by @beehexa/hexasync-ai-toolkit 2611.8.3.
17
17
 
18
18
  ## How to work
19
19
 
20
+ The host loads this skill conditionally; installing it does not inject instructions into every conversation.
21
+ Choose worker or frontend from the owning collection before applying guidance; grouped frontend requests follow the separate route below.
20
22
  When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
21
23
 
22
24
  1. `hexasync_orientation` once per session: what a template is, the two runtimes that must never be mixed, and the lookup order.
23
- 2. `hexasync_explain_type` before writing any field, e.g. `arguments`, `Scriban`, `JSONata`. It returns the authoritative syntax, meaning, default and a YAML example.
24
- 3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `Scriban JSONata expression arguments`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
25
+ 2. `hexasync_explain_type` before writing any field. Worker/data lookups for this family: `hexasync_explain_type({"name":"arguments","runtime":"worker"})`, `hexasync_explain_type({"name":"Scriban","runtime":"worker"})`, `hexasync_explain_type({"name":"JSONata","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
26
+ 3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `Scriban JSONata expression arguments`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
25
27
  4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
26
28
  5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
27
29
 
28
30
  Never infer syntax from YAML already in the workspace: it may be outdated or wrong. The knowledge base and the MCP tools are authoritative. Use actual identities from the workspace or `hexasync_list_connectors`; never invent one.
29
31
 
32
+ ## Grouped frontend routing
33
+
34
+ For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend workflows](references/frontend.FRONTEND-FLOWS.md) and its linked canonical resources, not the worker examples above. This KB page owns the grammar; do not translate worker fields into frontend syntax.
35
+
36
+ - Look up `hexasync_explain_type({"name":"Step","runtime":"frontend"})`, `hexasync_explain_type({"name":"RETURN.metadata.outputs","runtime":"frontend"})`. Always pass `runtime: 'frontend'`, including for names shared with worker types.
37
+ - Retrieve complete grouped examples with `hexasync_search_examples({"feature":"frontend"})`.
38
+ - Before an expression, use `hexasync_explain_position({"position":"frontend-step"})` and the KB's current-flow context guidance.
39
+ - Missing frontend knowledge is unavailable, not permission to use a worker answer. Check the selected knowledge origin/version and validation coverage; authoring acceptance is not deployed-runtime or delivery proof.
40
+
30
41
  ## Best practices (from the knowledge base)
31
42
 
32
43
  - **Pick the dialect by the job.** Prefer Scriban for text; prefer JSONata for structure, because Scriban produces text first and only recovers types when the whole result looks like JSON. _([Scriban — Render values with Scriban templates](references/steps.Scriban.md#best-practices))_
@@ -46,8 +57,8 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
46
57
 
47
58
  ## References
48
59
 
49
- [`references/INDEX.md`](references/INDEX.md) maps every section of *Arguments, environment, step inputs and outputs*, *Scriban — Render values with Scriban templates*, *JSONata — Reshape run data with JSONata*, *Liquid — not implemented (use Scriban or JSONata)* and lists the questions this skill answers. Open only the section you need.
60
+ [`references/INDEX.md`](references/INDEX.md) maps every section of *Arguments, environment, step inputs and outputs*, *Scriban — Render values with Scriban templates*, *JSONata — Reshape run data with JSONata*, *Liquid — not implemented (use Scriban or JSONata)* and 1 more pages and lists the questions this skill answers. Open only the section you need.
50
61
 
51
62
  ## Installing the MCP server
52
63
 
53
- If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@latest`).
64
+ If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit@2611.8.3 install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3`). The matching published server is required; absence blocks registry-backed activation, with no fallback.
@@ -4,6 +4,7 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
4
4
 
5
5
  ## Questions this skill answers
6
6
 
7
+ - grouped frontend getReadyFlows, FrontendFlow/Step fields, RETURN, PUBLISH_EVENT and RECORDS_FORM (multi-record edit; removes saved as disables) → [Frontend workflows](frontend.FRONTEND-FLOWS.md)
7
8
  - host/stage context, Scriban, JSONata and expression call sites → [Expressions and context](expressions.CONTEXT-AND-IO.md)
8
9
 
9
10
  ## Sections
@@ -43,3 +44,15 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
43
44
  ### Liquid — not implemented (use Scriban or JSONata)
44
45
 
45
46
  - [Liquid — not implemented (use Scriban or JSONata)](steps.Liquid.md)
47
+
48
+ ### Frontend workflows
49
+
50
+ - [Frontend workflows](frontend.FRONTEND-FLOWS.md)
51
+ - [Grouped readiness flows](frontend.FRONTEND-FLOWS.grouped-readiness-flows.md)
52
+ - [Frontend Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md)
53
+ - [RETURN](frontend.FRONTEND-FLOWS.return.md)
54
+ - [PUBLISH_EVENT](frontend.FRONTEND-FLOWS.publish_event.md)
55
+ - [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md)
56
+ - [Rejected forms (non-copyable)](frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md)
57
+ - [Preview and source navigation](frontend.FRONTEND-FLOWS.preview-and-source-navigation.md)
58
+ - [Expressions and tooling](frontend.FRONTEND-FLOWS.expressions-and-tooling.md)
@@ -3,19 +3,19 @@
3
3
  If the `hexasync_*` tools are not available, install the server (and these skills) for every client at once:
4
4
 
5
5
  ```sh
6
- npx -y @beehexa/hexasync-ai-toolkit install --client all --scope user
6
+ npx -y @beehexa/hexasync-ai-toolkit@2611.8.3 install --client all --scope user
7
7
  ```
8
8
 
9
- Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@latest`):
9
+ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3`):
10
10
 
11
11
  | Client | Registration |
12
12
  | --- | --- |
13
- | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@latest` |
13
+ | Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@2611.8.3` |
14
14
  | Codex | `mcp_servers` in `~/.codex/config.toml` |
15
15
  | Cursor | `mcpServers` in `~/.cursor/mcp.json` |
16
16
  | Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
17
17
  | pi | `mcpServers` in `~/.pi/agent/mcp.json` |
18
- | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@latest"]}'` |
18
+ | OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@2611.8.3"]}'` |
19
19
  | VS Code | `servers` in the user `mcp.json` |
20
20
 
21
21
  ```json
@@ -25,11 +25,27 @@ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@l
25
25
  "command": "npx",
26
26
  "args": [
27
27
  "-y",
28
- "@beehexa/hexasync-template-ide-mcp@latest"
28
+ "@beehexa/hexasync-template-ide-mcp@2611.8.3"
29
29
  ]
30
30
  }
31
31
  }
32
32
  }
33
33
  ```
34
34
 
35
- On native Windows use `"command": "cmd", "args": ["/c", "npx", "-y", "@beehexa/hexasync-template-ide-mcp@latest"]`. Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it.
35
+ On native Windows use this launch:
36
+
37
+ ```json
38
+ {
39
+ "command": "cmd",
40
+ "args": [
41
+ "/c",
42
+ "npx",
43
+ "-y",
44
+ "@beehexa/hexasync-template-ide-mcp@2611.8.3"
45
+ ]
46
+ }
47
+ ```
48
+
49
+ The standalone server must match toolkit 2611.8.3. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
50
+
51
+ Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it. Skills are loaded conditionally by the host, not globally injected.
@@ -6,7 +6,7 @@ The evaluation root is selected by the **caller**, not by the chosen language. T
6
6
 
7
7
  This page is served as 13 separate resources. Read the one you need:
8
8
 
9
- - [Quick reference: the three expression dialects](expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md) — Any field documented as an expression (step arguments, many data fields) is classified by its whole trimmed text before rendering:
9
+ - [Quick reference: the three expression dialects](expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md) — Worker fields documented as expressions (step arguments, many data fields) are classified by their whole trimmed text before rendering.
10
10
  - [Runtime scope](expressions.CONTEXT-AND-IO.runtime-scope.md) — Runtime roots are populated at different times.
11
11
  - [Executor results are not downstream values](expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md) — For a normal result envelope, executor outputs supplies _outputs.<stepKey>; sibling input, logOutputs and error describe diagnostics, not extra business values.
12
12
  - [Graceful failures and run errors](expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md) — Shared error handling owns run-level {type,message,stepKey,__flow,handled,chain,previous?} and per-step {message,detail,stackTrace}.
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Quick reference: the three expression dialects
4
4
 
5
- Any field documented as an expression (step `arguments`, many `data` fields) is classified by its **whole trimmed text** before rendering:
5
+ Worker fields documented as expressions (step `arguments`, many `data` fields) are classified by their **whole trimmed text** before rendering. Frontend mapping uses a separate grammar and `frontend-step` position; see [Frontend context](expressions.CONTEXT-AND-IO.runtime-scope.md#frontend-context).
6
6
 
7
7
  | Syntax | Dialect | Meaning | Choose when |
8
8
  | --- | --- | --- | --- |
@@ -4,7 +4,26 @@
4
4
 
5
5
  Runtime roots are populated at different times. They are not one universally available entry bag. [Workflow](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component) owns placement selection; [arguments](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing) own parser forms, ordering and caller coercion.
6
6
 
7
- ### Root quick reference
7
+ ### Frontend context
8
+
9
+ `frontend-step` is selected by the enclosing registered workflow, including `getReadyFlows[].steps`, direct connector/creation arrays and profile-connection `setupSteps`. A nested metadata property named `steps`, `outputs`, `data` or `transformations` does not change this ownership.
10
+
11
+ | Root | Meaning | Default / known members |
12
+ | --- | --- | --- |
13
+ | `app` | Host-provided frontend application context. | Members are runtime-provided; no invented static fields. |
14
+ | `inputs` | Input supplied for this workflow invocation. | Host/runtime-defined object; prerequisites do not supply another flow's output. |
15
+ | `outputs.<STEP_KEY>` | Result produced by a nonterminal step in this workflow only. | Initially no completed step results. Declared `outputs[]` and known handler contracts guide completion; API/JSONATA/LIQUID results may remain unknown. |
16
+ | `arguments` | Frontend argument context. | Only explicitly established names are statically known; no worker `__this` alias. |
17
+
18
+ Frontend uses `outputs`, not worker `_outputs`, `_inputs`, item/task/puller roots or `__this`. A returned primitive or array does not gain universal `error`/`_response` fields. RETURN's `metadata.outputs` maps the completed current-flow context using the pure frontend mapping grammar; it is not a step `outputs[]` processor and does not publish `outputs.<RETURN_KEY>`. The returned JSON belongs only to the immediate caller, not another flow, stored completion or a later refresh.
19
+
20
+ For full-context mappings, see the [frontend Step example](frontend.FRONTEND-FLOWS.frontend-step-fields.md) (a FORM result consumed by a local IF/RETURN), [typed RETURN variants](frontend.FRONTEND-FLOWS.return.md), and [public event output](frontend.FRONTEND-FLOWS.publish_event.md). Whole-object `jsonata::` RETURN expressions must produce a JSON object; pure nested expressions retain JSON types. These examples declare no new `app`/`inputs` members: the invoking host must supply them, and a prerequisite completion never injects its result.
21
+
22
+ Use `hexasync_explain_type` with `runtime: frontend` for `FrontendFlow`, `Step`, `RETURN`, `PUBLISH_EVENT`, `RECORDS_FORM` or a metadata field. Omission remains worker; unsupported runtime qualifiers fail. `hexasync_explain_position` accepts `frontend-step`. Shared validation rejects a statically named nonlocal output (`FFE-10`); computed selectors/ambiguous local keys stay explicitly uncertain (`FFE-11`), not certified or indiscriminately rejected. See [full-context frontend examples](frontend.FRONTEND-FLOWS.md).
23
+
24
+ [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md) adds two local roots: `search.text` (the typed text) only inside `search.request`, and `item` (one found entity) only inside `search.label` and `search.fill`. Its `search.items` is evaluated against the search response only — object body members plus `_response` — so the workflow roots are not visible there. Later steps read its fixed result `outputs.<KEY>.rows`, `.upserts`, `.removes` and `.unchanged`; row members are not inferred.
25
+
26
+ ### Worker root quick reference
8
27
 
9
28
  Each root is read with the dialect syntax above: `{{ root.path }}` (Scriban), `$(root.path)` (JSONata) or `$$($.root.path)` (JSONPath). Placements: **W** = workflow (new-kind puller) step, **LP** = legacy puller step, **P** = pusher step, **WH** = webhook target step, **T** = SQL-feeding transformation argument.
10
29