@beehexa/hexasync-ai-toolkit 2611.8.1 → 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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.cursor-plugin/mcp.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/.mcp.json +1 -1
- package/README.md +27 -8
- package/dist/cli.js +7 -3
- package/gemini-extension.json +2 -2
- package/openclaw.plugin.json +1 -1
- package/package.json +2 -2
- package/plugin.json +1 -1
- package/skills/hexasync-connections/SKILL.md +9 -7
- package/skills/hexasync-connections/references/INSTALL.md +22 -6
- package/skills/hexasync-error-handling/SKILL.md +9 -7
- package/skills/hexasync-error-handling/references/INSTALL.md +22 -6
- package/skills/hexasync-expressions/SKILL.md +20 -9
- package/skills/hexasync-expressions/references/INDEX.md +13 -0
- package/skills/hexasync-expressions/references/INSTALL.md +22 -6
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +20 -1
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +29 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +14 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +16 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +42 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.md +231 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.return.md +84 -0
- package/skills/hexasync-field-mapping/SKILL.md +10 -9
- package/skills/hexasync-field-mapping/references/INSTALL.md +22 -6
- package/skills/hexasync-metrics-reports/SKILL.md +9 -7
- package/skills/hexasync-metrics-reports/references/INSTALL.md +22 -6
- package/skills/hexasync-pullers/SKILL.md +9 -7
- package/skills/hexasync-pullers/references/INSTALL.md +22 -6
- package/skills/hexasync-pushers/SKILL.md +10 -10
- package/skills/hexasync-pushers/references/INSTALL.md +22 -6
- package/skills/hexasync-query-dsl/SKILL.md +10 -10
- package/skills/hexasync-query-dsl/references/INSTALL.md +22 -6
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +9 -7
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +22 -6
- package/skills/hexasync-steps-api-http/SKILL.md +21 -16
- package/skills/hexasync-steps-api-http/references/INDEX.md +13 -0
- package/skills/hexasync-steps-api-http/references/INSTALL.md +22 -6
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +29 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +14 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +16 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +42 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.md +231 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.return.md +84 -0
- package/skills/hexasync-steps-control-data/SKILL.md +21 -17
- package/skills/hexasync-steps-control-data/references/INDEX.md +13 -0
- package/skills/hexasync-steps-control-data/references/INSTALL.md +22 -6
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +29 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +14 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +16 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +42 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.md +231 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.return.md +84 -0
- package/skills/hexasync-tables-tasks-objects/SKILL.md +9 -7
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +22 -6
- package/skills/hexasync-templates/SKILL.md +21 -9
- package/skills/hexasync-templates/references/AI-INDEX.md +8 -6
- package/skills/hexasync-templates/references/INDEX.md +15 -0
- package/skills/hexasync-templates/references/INSTALL.md +22 -6
- package/skills/hexasync-templates/references/KB-INDEX.md +5 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.getreadyflows-1.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.md +2 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +5 -4
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.records_form.md +201 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +10 -8
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.getreadyflows.md +31 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +2 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +29 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +14 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +16 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +42 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.md +231 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.return.md +84 -0
- package/skills/hexasync-transformations/SKILL.md +9 -7
- package/skills/hexasync-transformations/references/INSTALL.md +22 -6
- package/skills/hexasync-validations/SKILL.md +9 -7
- package/skills/hexasync-validations/references/INSTALL.md +22 -6
- package/skills/hexasync-webhooks/SKILL.md +9 -7
- package/skills/hexasync-webhooks/references/INSTALL.md +22 -6
|
@@ -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@
|
|
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@
|
|
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@
|
|
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@
|
|
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
|
|
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-steps-api-http
|
|
3
|
-
description: "HexaSync workflow and
|
|
4
|
-
compatibility: "
|
|
3
|
+
description: "HexaSync workflow composition and HTTP requests. Worker steps use displayType/provider, data vs input, arguments, onError, next routing, branches, API REST request builders and response filters. Grouped frontend getReadyFlows, FrontendFlow and frontend API steps require separate frontend-qualified KB lookups, not worker API fields. Use when composing a workflow or calling an external HTTP API from a template."
|
|
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.
|
|
8
|
-
kb-bundle: "
|
|
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
|
This page owns the fields every step shares — the **envelope** — plus arguments, shared flags, routing on failure and the result protocol. Each step type's own `data` payload is documented on its page in the [step catalogue](references/steps.INDEX.md).
|
|
15
15
|
|
|
16
|
-
> Generated from the HexaSync knowledge base (asset bundle
|
|
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
|
|
24
|
-
3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `API step REST request`). 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":"API","runtime":"worker"})`, `hexasync_explain_type({"name":"API.data","runtime":"worker"})`, `hexasync_explain_type({"name":"next","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
26
|
+
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `API step REST request`). 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":"API","runtime":"frontend"})`, `hexasync_explain_type({"name":"API.metadata","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
|
- **One explicit root.** Mark exactly one step `rootStep: true`; do not rely on array order or `Begin` fallbacks. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
@@ -44,18 +55,12 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
|
|
|
44
55
|
- **Paginate explicitly and persist per page**, with a guaranteed termination condition. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
45
56
|
- **Don't mix query strings in `url` with `queries`**, and pre-encode values yourself. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
46
57
|
- **Use `logOutput` deliberately**: helpful when debugging, costly and potentially sensitive in production volume. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
47
|
-
-
|
|
48
|
-
- **Make continuation explicit and typed.** Emit `hasNextPage` as a boolean computed from the provider's own signal (next cursor/link present), plus the cursor itself. Never infer "last page" from a short page or a total; see [PULLERS page termination](hexasync://docs/pullers/PULLERS#page-termination-and-the-four-platform-guards). _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
49
|
-
- **Distinguish "absent" from "empty".** An omitted JSONata key, a `null` eval result, `[]` and `""` mean different things. A missing rows array is a parsing problem, never proof that the source is empty — don't let it drive deletion reconciliation. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
50
|
-
- **Keep output names unique across groups** to avoid silent overwrites. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
51
|
-
- **Gate error outputs by status** with `acceptedStatuses` so they are only evaluated on error bodies. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
52
|
-
- **Return the destination identity from pusher filters**, so later pushes update rather than create duplicates. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
53
|
-
- 6 more of 27: every page's own *Best practices* section is in [`references/`](references/INDEX.md).
|
|
58
|
+
- 12 more of 27: every page's own *Best practices* section is in [`references/`](references/INDEX.md).
|
|
54
59
|
|
|
55
60
|
## References
|
|
56
61
|
|
|
57
|
-
[`references/INDEX.md`](references/INDEX.md) maps every section of *Workflow and the step envelope*, *API — API Connector*, *next — worker routing grammar and frontend delta*, *Response filters* and
|
|
62
|
+
[`references/INDEX.md`](references/INDEX.md) maps every section of *Workflow and the step envelope*, *API — API Connector*, *next — worker routing grammar and frontend delta*, *Response filters* and 2 more pages and lists the questions this skill answers. Open only the section you need.
|
|
58
63
|
|
|
59
64
|
## Installing the MCP server
|
|
60
65
|
|
|
61
|
-
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@
|
|
66
|
+
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
|
- Workflow selection, envelope, argument placement and flags → [Step envelope](steps.STEP-ENVELOPE.md)
|
|
8
9
|
- next targets, branches, termination and loop guards → [Routing](routing.NEXT.md)
|
|
9
10
|
- response parsers and site-specific result handling → [Response filters](responseFilters.RESPONSE-FILTERS.md)
|
|
@@ -71,3 +72,15 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
|
|
|
71
72
|
### Step types — index
|
|
72
73
|
|
|
73
74
|
- [Step types — index](steps.INDEX.md)
|
|
75
|
+
|
|
76
|
+
### Frontend workflows
|
|
77
|
+
|
|
78
|
+
- [Frontend workflows](frontend.FRONTEND-FLOWS.md)
|
|
79
|
+
- [Grouped readiness flows](frontend.FRONTEND-FLOWS.grouped-readiness-flows.md)
|
|
80
|
+
- [Frontend Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md)
|
|
81
|
+
- [RETURN](frontend.FRONTEND-FLOWS.return.md)
|
|
82
|
+
- [PUBLISH_EVENT](frontend.FRONTEND-FLOWS.publish_event.md)
|
|
83
|
+
- [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md)
|
|
84
|
+
- [Rejected forms (non-copyable)](frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md)
|
|
85
|
+
- [Preview and source navigation](frontend.FRONTEND-FLOWS.preview-and-source-navigation.md)
|
|
86
|
+
- [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@
|
|
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@
|
|
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@
|
|
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@
|
|
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
|
|
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.
|
package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
> Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
|
|
2
|
+
|
|
3
|
+
## Expressions and tooling
|
|
4
|
+
|
|
5
|
+
Frontend position is `frontend-step`. Its roots include `app`, `inputs`, `outputs` and `arguments`; runtime-provided members may be unknown at authoring. Worker `_inputs`, `_outputs`, item/task/puller roots and `__this` are not interchangeable frontend roots.
|
|
6
|
+
|
|
7
|
+
Only the enclosing workflow supplies output keys. Prerequisites are progress dependencies, not data injection. Dynamic API, JSONATA and LIQUID results stay unknown unless a declaration or handler contract establishes fields; arbitrary primitives/arrays and terminal results do not gain universal error or `_response` members. RETURN's `metadata.outputs` uses pure frontend mapping, not worker output processors.
|
|
8
|
+
|
|
9
|
+
An effective composition snapshot owns removals across all recorded contributors, including each occurrence's ordered replacements: editing, reordering or moving an old identity into another source buffer cannot restore output completion for a flow, owner or step that composition removed. Duplicate envelopes, including wholly malformed duplicates, make that flow's step/output ownership unavailable in both the current buffer and the effective snapshot. Genuinely new buffer-only identities may remain provisional until composition refreshes. A rewritten contributor's physical text must remain equivalent under every occurrence's replacements before its raw identity can bind to any effective scope, not just a new one; irrelevant or roundtrip replacements preserve equivalence. Connector/connection ownership must be unique in both current and effective documents even when only one duplicate has executable steps.
|
|
10
|
+
|
|
11
|
+
Static output findings use `FFE-10` for an established workflow-root reference to a definite nonlocal/terminal producer or worker `_outputs`, and `FFE-11` for uncertain focus/root binding, opaque or incomplete producer tokens, namespace predicates/computed ownership, ambiguous producer keys or analysis-depth refusal. Uncertainty takes precedence over a definite worker/missing-key claim. Checks include active Liquid interpolation/control reads, including captured reads. Dynamic result members remain unknown rather than being invented or rejected merely because authoring cannot enumerate them. Literal text and Liquid raw/comment bodies are not active Liquid expressions.
|
|
12
|
+
|
|
13
|
+
Expression grammar is handler-specific: `JSONATA`, `SINGLE_CHOICE_FORM` and `MULTIPLE_CHOICE_FORM` use raw JSONata in `metadata.expression`; `IF` and `SWITCH` use Liquid. `RECORDS_FORM` uses `jsonata::` or Liquid in `initial`, `jsonata::` in `search.items` and Liquid in `search.request`, `search.label` and `search.fill`. Four of them are checked as current-flow expressions like any other step member, while its local `search.text` and `item` roots are not output reads; `search.items` is evaluated against the search response, so any `outputs`/`_outputs` read there is reported (FFE-10) because it names a response member, not this workflow's output. Bare `outputs.OTHER` in a Liquid literal is not a root read. Known Liquid assignment/capture/loop targets are declarations, not reads; evaluated RHS/iterables and active capture contents remain checked, including multiline `liquid` tags. For raw JSONata handlers, raw bodies are emitted literally: whitespace control trims outside text, not the raw body. Comments and captured literal bodies are not emitted. Known non-emitting assignments permit token joining; dynamic emitters and control-flow boundaries remain opaque. Quoted JSONata result strings remain literal text.
|
|
14
|
+
|
|
15
|
+
Complete unescaped Liquid quoted-bracket keys are literal data, including punctuation and blanks, not partial words or property paths. Unsupported escapes and computed selectors remain uncertain. Liquid emission trimming preserves FEFF and removes U180E only outside literal raw bodies; this does not change JSONata's separate trivia rules.
|
|
16
|
+
|
|
17
|
+
Liquid namespace declarations make subsequent uses of that name uncertain, not definite ambient workflow/worker reads. RHS and loop iterables are checked before binding, and capture-body reads before capture completion retain their incoming binding. Conditional and scoped bindings may remain conservatively uncertain; they do not shadow the downstream JSONata program's separate root.
|
|
18
|
+
|
|
19
|
+
JSONata bare names and `$` use the current focus; a predicate or mapped object can rebind that focus without reading workflow outputs. `$$` normally resolves the workflow input even after a path dot, but a local assignment, parameter or tuple binding can shadow it. Root-defined lambdas capture definition focus, not their caller's first argument; captured mutable bindings and conditional effects can remain uncertain. Parenthesized blocks establish lexical frames; constructors and predicates are not blanket binding frames.
|
|
20
|
+
|
|
21
|
+
Tuple-local writes do not create an enclosing lexical binding. A conditional own binding stops parent-capture analysis only when established in every alternative. Tuple targets and following evaluated predicates are separate stages, so explicit root reads in a predicate remain checked.
|
|
22
|
+
|
|
23
|
+
Quoted/backtick path identifiers retain their complete field identity: `"outputs".NAME` and `$$.` followed by the quoted field `outputs` and `.NAME` are namespace paths, while standalone `"outputs.NAME"` or a single backtick field named `outputs.NAME` is not. Quoted closing delimiters remain data, never lexical frame boundaries. JSONata `outputs["NAME"]` is a predicate over the namespace, not Liquid-style key lookup; a predicate after `outputs.NAME` preserves the already-selected producer. Comments are path trivia. Strings and regex bodies are not executable reads; division checks its operands.
|
|
24
|
+
|
|
25
|
+
Opaque template output adjoining a producer token cannot establish its literal prefix as a producer. An already-complete `outputs.FETCH` remains selected through dynamic result-member access. Opaque binders and unsupported focus-changing syntax remain uncertain rather than preserving a definite workflow root through recovery. Tuple-root mutations and pending captured writes participate in uncertainty joins; constructor peer origins are aggregated once rather than rescanned per sibling. The structural analyzer bounds recursion at 128 frames and reports recognizable namespace ownership as uncertain on refusal rather than throwing or certifying an unvisited expression. These are lexical provenance checks, not arbitrary expression evaluation, function-result identity inference or dynamic result-member certification.
|
|
26
|
+
|
|
27
|
+
Use the existing seven MCP tools. For `hexasync_explain_type`, pass `runtime: frontend` for `FrontendFlow`, `Step`, `RETURN`, `PUBLISH_EVENT`, `RECORDS_FORM`, `API`, `IF` or a metadata field (for example `RECORDS_FORM.metadata.search`). Omitted runtime means worker, as does explicit `worker`; unsupported runtime values fail. A missing frontend reference must not silently fall back to worker knowledge. Use `hexasync_explain_position` with `frontend-step`, then validate the effective composed project. Missing source or validation coverage is unavailable/incomplete, never proof of validity. `FFE-12` reports RECORDS_FORM column, identity and fill keys that do not fit the target table, and an unresolvable task/table as uncertain.
|
|
28
|
+
|
|
29
|
+
See [root declarations](hexasync://docs/PROFILE-ROOT), [expression context](hexasync://docs/expressions/CONTEXT-AND-IO) and the canonical resources `hexasync://assets/frontend/connectors/main.json` and `hexasync://assets/frontend/templates/getReadyFlows.json`. Installed and bundled knowledge report their origin/version. Actual installed editor/MCP and matching published package proof remain release checks, not consequences of schema acceptance.
|
package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
> Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
|
|
2
|
+
|
|
3
|
+
## Frontend Step fields
|
|
4
|
+
|
|
5
|
+
The examples on this page are full root declarations; each step belongs inside its flow's `steps` array. Existing direct `creationSteps`, connector authorization/setup arrays and profile connection `setupSteps` use the same Step schema, but retain legacy flag compatibility and termination behavior rather than requiring RETURN.
|
|
6
|
+
|
|
7
|
+
| Syntax | Meaning | Default and choice |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| `key: REVIEW` | Local route and output identity matching `^[A-Z0-9_]+$`. | Grouped flows require a unique nonempty key, even though the base Step permits omission/null for legacy arrays. No cross-flow targets. |
|
|
10
|
+
| `type: FORM` | Selects the frontend handler and its metadata contract. | Required; no default. Qualify MCP lookups with `runtime: frontend`; shared worker names are different handlers. |
|
|
11
|
+
| `root: true` | Entry step. | Optional; absence stays absent and does not mark a root. Exactly one true root per grouped flow. |
|
|
12
|
+
| `name: Review values` | Step title while running. | Optional string/null; absent/null shows no title. |
|
|
13
|
+
| `description: Review the supplied values.` | Step help; FORM uses Markdown help or an http(s) link, other types show a subtitle. | Optional string/null; absent/null shows no help. Choose inline Markdown for short help, a URL for longer guidance. |
|
|
14
|
+
| `msg: Check the values before continuing.` | UI message before/after the step. | Optional string; absent means no message. |
|
|
15
|
+
| `arguments: {purpose: review}` | Free-form frontend runtime arguments, not worker argument wrappers. | Optional object/null; absent/null supplies no arguments. Prefer `metadata` for handler configuration. |
|
|
16
|
+
| `dryRun: "false"` | Requests side-effect-free execution only where the handler supports it. | Optional; absence stays absent. It does not prove that a handler supports simulation or that an event was router-accepted. |
|
|
17
|
+
| `metadata: {fields: [...]}` | Handler-specific configuration using the frontend's existing recursive Liquid/JSONata mapping. | Requirement and shape depend on `type`; RETURN/PUBLISH_EVENT/RECORDS_FORM require their closed objects below. Preserve FORM required/readonly expressions; never globally coerce metadata. |
|
|
18
|
+
| `outputs: [{key: reviewed, index: 0, type: jsonata, metadata: {expression: "$"}}]` | Nonterminal postprocessors adding named derived fields to a step result. | Optional array/null; absent/null keeps the original result. Forbidden on IF, SWITCH, JSONATA, LIQUID, WAIT and RETURN. Not the terminal result map; [Output fields](hexasync://docs/PROFILE-ROOT/profile-root-fields-1/frontend-steps-creationsteps-setupsteps-authorizationsteps/output-fields) own processor variants. |
|
|
19
|
+
| `repeatableCount: 20` | Pre-execution limit for repeats with the same key/raw metadata template. | Optional number; default 20. Lower for bounded polling; not a retry policy or a termination guarantee. |
|
|
20
|
+
| `repeatableDetailCount: 10` | Executing limit for repeats with the same key/resolved metadata. | Optional number; default 10. Lower for identical repeated work. |
|
|
21
|
+
| `status: NOT_STARTED` | Runtime state: NOT_STARTED, SUCCESS, FAILED or null. Not RETURN's terminal status. | Optional; absent/null means no recorded state. Normally omit in authored declarations. |
|
|
22
|
+
| `next: DECIDE` | Successor key, null, or nested NextBranch `{if,then,else}`. | Optional; absent/null exhausts the path, which is MISSING_RETURN in grouped mode. Forbidden on IF/SWITCH (use metadata targets) and RETURN. Prefer literal local targets; deprecated `success`/`failed` branch aliases are not recommended. |
|
|
23
|
+
| `onCancelled: CANCEL` | Local cancellation successor, where supported by the handler. | Optional; absence supplies no cancellation route. RETURN forbids it. |
|
|
24
|
+
|
|
25
|
+
In grouped flows, only `root` and `dryRun` accept normalization, and only these four literals: `true`, `false`, `"true"`, `"false"`. Both false forms are false, not truthy strings. Numbers, null, expressions, empty/whitespace-padded and mixed-case strings are invalid there. Direct legacy arrays keep their existing boolean/string forms. No other property gains boolean coercion.
|
|
26
|
+
|
|
27
|
+
This complete grouped declaration illustrates every shared field, including state only to show its shape. Normally omit `status`. The host supplies `inputs`/`app`; they are not configured as extra flow-envelope fields. `onCancelled` routes a cancelled form to an explicit cancellation result.
|
|
28
|
+
|
|
29
|
+
```yaml
|
|
30
|
+
getReadyFlows:
|
|
31
|
+
- key: REVIEW_VALUES
|
|
32
|
+
title: Review values
|
|
33
|
+
action: { label: Review }
|
|
34
|
+
completionVersion: "1"
|
|
35
|
+
steps:
|
|
36
|
+
- key: REVIEW
|
|
37
|
+
type: FORM
|
|
38
|
+
root: true
|
|
39
|
+
name: Review values
|
|
40
|
+
description: Review the supplied values.
|
|
41
|
+
msg: Check the values before continuing.
|
|
42
|
+
arguments: { purpose: review }
|
|
43
|
+
dryRun: "false"
|
|
44
|
+
repeatableCount: 20
|
|
45
|
+
repeatableDetailCount: 10
|
|
46
|
+
status: NOT_STARTED
|
|
47
|
+
metadata:
|
|
48
|
+
fields:
|
|
49
|
+
- key: ACCEPTED
|
|
50
|
+
type: CHECKBOX
|
|
51
|
+
name: Accept
|
|
52
|
+
defaultValue: false
|
|
53
|
+
outputs:
|
|
54
|
+
- key: reviewed
|
|
55
|
+
index: 0
|
|
56
|
+
type: jsonata
|
|
57
|
+
metadata: { expression: "$" }
|
|
58
|
+
next: DECIDE
|
|
59
|
+
onCancelled: CANCEL
|
|
60
|
+
- key: DECIDE
|
|
61
|
+
type: IF
|
|
62
|
+
root: "false"
|
|
63
|
+
metadata:
|
|
64
|
+
condition: "{{ outputs.REVIEW.ACCEPTED }}"
|
|
65
|
+
then: DONE
|
|
66
|
+
else: REJECTED
|
|
67
|
+
- key: DONE
|
|
68
|
+
type: RETURN
|
|
69
|
+
metadata:
|
|
70
|
+
status: SUCCESS
|
|
71
|
+
outputs: { accepted: "jsonata::outputs.REVIEW.ACCEPTED" }
|
|
72
|
+
- key: REJECTED
|
|
73
|
+
type: RETURN
|
|
74
|
+
metadata:
|
|
75
|
+
status: FAILED
|
|
76
|
+
error: { code: NOT_ACCEPTED, message: Values were not accepted }
|
|
77
|
+
- key: CANCEL
|
|
78
|
+
type: RETURN
|
|
79
|
+
metadata: { status: CANCELLED }
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
`IF.metadata` is closed and requires `condition`, `then`, `else` (strings, no defaults): the frontend condition chooses the two local targets. Do not confuse it with a `next` branch, whose condition member is `if`. A NextBranch requires `if`; its `then`/`else` can be local keys or nested branches, but absent/null branches exhaust and therefore cannot complete a grouped flow successfully. Loops and dynamic targets remain statically uncertain; the group prerequisite DAG must always be acyclic.
|
|
83
|
+
|
package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
> Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
|
|
2
|
+
|
|
3
|
+
## Grouped readiness flows
|
|
4
|
+
|
|
5
|
+
`getReadyFlows` is the registered ordered group at the profile root. Omit it for no configured group; `[]` explicitly configures an empty, ready group. Null is invalid. Every declared member is required. Order controls display only; local `dependsOn` keys control prerequisites. Overrides of inherited keys update in place and do not reorder them.
|
|
6
|
+
|
|
7
|
+
```yaml
|
|
8
|
+
getReadyFlows:
|
|
9
|
+
- key: CONFIGURE
|
|
10
|
+
title: "Configure your **app**"
|
|
11
|
+
description: "Review the configuration before continuing."
|
|
12
|
+
action:
|
|
13
|
+
label: Configure
|
|
14
|
+
completedLabel: Configure again
|
|
15
|
+
completionVersion: "1"
|
|
16
|
+
dependsOn: []
|
|
17
|
+
steps:
|
|
18
|
+
- key: DONE
|
|
19
|
+
type: RETURN
|
|
20
|
+
root: true
|
|
21
|
+
metadata:
|
|
22
|
+
status: SUCCESS
|
|
23
|
+
outputs: {}
|
|
24
|
+
- key: VERIFY
|
|
25
|
+
title: Verify configuration
|
|
26
|
+
action:
|
|
27
|
+
label: Verify
|
|
28
|
+
completionVersion: "1"
|
|
29
|
+
dependsOn: [CONFIGURE]
|
|
30
|
+
steps:
|
|
31
|
+
- key: DONE
|
|
32
|
+
type: RETURN
|
|
33
|
+
root: "true"
|
|
34
|
+
metadata:
|
|
35
|
+
status: SUCCESS
|
|
36
|
+
outputs: { verified: true }
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### FrontendFlow fields
|
|
40
|
+
|
|
41
|
+
The complete example above supplies the context for each envelope field.
|
|
42
|
+
|
|
43
|
+
| Syntax | Meaning | Default and choice |
|
|
44
|
+
| --- | --- | --- |
|
|
45
|
+
| `key: CONFIGURE` | Stable identity matching `^[A-Z][A-Z0-9_]*$`; unique within the group. | Required. Never use an `id` alias or derive identity from title/order. |
|
|
46
|
+
| `title: "Configure your **app**"` | User-facing sanitized Markdown heading. | Required; no default. |
|
|
47
|
+
| `description: "Review the configuration before continuing."` | Optional sanitized Markdown explanation. | Absent means no description. |
|
|
48
|
+
| `action: {label: Configure, completedLabel: Configure again}` | Closed button-label object; no URL or executable action. | Required; no default. |
|
|
49
|
+
| `action.label: Configure` | Plain-text label before completion. | Required; no default. |
|
|
50
|
+
| `action.completedLabel: Configure again` | Plain-text label for an explicit rerun after completion. | Optional; absent uses `label`. |
|
|
51
|
+
| `completionVersion: "1"` | Nonempty string identifying the executable completion contract. | Required; no numeric coercion. Bump when external action meaning changes without a step edit. |
|
|
52
|
+
| `dependsOn: [CONFIGURE]` | Required prior completions in this same group. | Absent means no prerequisites. Reject duplicate, missing, self and cyclic references; no cross-group links. |
|
|
53
|
+
| `steps: [...]` | Nonempty list using the canonical frontend Step. | Required; exactly one true root and unique local step keys. Equal step keys in another flow are independent. |
|
|
54
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Frontend workflows
|
|
2
|
+
|
|
3
|
+
Frontend workflows guide a user through browser actions. They use `type`, `root` and `metadata`, not worker `displayType`, `rootStep` or `data`. Authoring support does not establish that a deployed dashboard supports these actions. Deploy compatible runtime and profile services before enabling grouped declarations.
|
|
4
|
+
|
|
5
|
+
This page is served as 8 separate resources. Read the one you need:
|
|
6
|
+
|
|
7
|
+
- [Grouped readiness flows](frontend.FRONTEND-FLOWS.grouped-readiness-flows.md) — getReadyFlows is the registered ordered group at the profile root.
|
|
8
|
+
- [Frontend Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md) — The examples on this page are full root declarations; each step belongs inside its flow's steps array.
|
|
9
|
+
- [RETURN](frontend.FRONTEND-FLOWS.return.md) — RETURN terminates one invocation before ordinary output postprocessing or successor advancement.
|
|
10
|
+
- [PUBLISH_EVENT](frontend.FRONTEND-FLOWS.publish_event.md) — Frontend PUBLISH_EVENT performs one authenticated profiles-owned public event request.
|
|
11
|
+
- [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md) — RECORDS_FORM lets the user add, change and remove several records in one paged table, then hands the changes to the steps after it.
|
|
12
|
+
- [Rejected forms (non-copyable)](frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md) — These counterexamples are deliberately excluded from copyable example search.
|
|
13
|
+
- [Preview and source navigation](frontend.FRONTEND-FLOWS.preview-and-source-navigation.md) — Grouped declarations use the existing project/external/partial composition pipeline.
|
|
14
|
+
- [Expressions and tooling](frontend.FRONTEND-FLOWS.expressions-and-tooling.md) — Frontend position is frontend-step.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
> Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
|
|
2
|
+
|
|
3
|
+
## Preview and source navigation
|
|
4
|
+
|
|
5
|
+
Grouped declarations use the existing project/external/partial composition pipeline. A group may exist only in a split YAML file; preview resolves the effective project, not only the literal `main.yaml`. Keyed overrides update an inherited flow or step in place; they do not reorder it or erase untouched envelope fields. The effective owning-level array controls display order.
|
|
6
|
+
|
|
7
|
+
Each `getReadyFlows` entry is a separate frontend graph with its authored title. Identity uses the flow key and step key, never title or array index. Equal step keys in different flows cannot form an edge or share a click target. RETURN is terminal and displays its declared SUCCESS, FAILED or CANCELLED status; an anonymous END is not a successful RETURN. Dynamic route destinations remain uncertain.
|
|
8
|
+
|
|
9
|
+
Missing, null or blank successors, omitted conditional arms and omitted SWITCH defaults are `MISSING_RETURN` boundaries in grouped graphs, located at the nearest authored field. Legacy direct arrays retain their implicit END behavior. `jsonata::`, `liquid::` and `${…}` destinations remain uncertain with their dialect preserved; previews never evaluate them or invent a target.
|
|
10
|
+
|
|
11
|
+
Duplicate flow keys decline every matching envelope, including malformed ones, rather than merging their nodes or choosing an occurrence. Both preview surfaces and Markdown output expose located `DUPLICATE_FRONTEND_FLOW_KEY` diagnostics. Unrelated valid scopes remain drawable.
|
|
12
|
+
|
|
13
|
+
Selected-flow previews admit the complete effective root before narrowing to a key, so an indexed duplicate cannot hide another envelope. Present but malformed groups, missing/invalid keys and non-array or empty executable step lists expose located admission diagnostics instead of masquerading as an unconfigured project. An omitted group is unconfigured; `[]` explicitly configures an empty, ready group. Neither group state contributes executable nodes.
|
|
14
|
+
|
|
15
|
+
Use **HexaSync IDE: Preview Creation Steps** on the project manifest (the existing command also previews grouped flows), or the existing component preview for a selected flow. Source clicks resolve the exact contributed field from the prefetched source snapshot: an inherited step may open one file while an overridden branch opens another. Ambiguous or unavailable source locations are reported; there is no first-matching-key fallback. These are frontend execution previews, not the worker component dependency graph.
|
|
16
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
> Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
|
|
2
|
+
|
|
3
|
+
## PUBLISH_EVENT
|
|
4
|
+
|
|
5
|
+
Frontend PUBLISH_EVENT performs one authenticated profiles-owned public event request. Metadata is closed: exactly `eventName` and `payload`. It cannot select URL, HTTP method, profile, producer/source, destination, connection, headers or credentials. Server authorization and a supported published binding remain runtime prerequisites; arbitrary names do not grant event authority.
|
|
6
|
+
|
|
7
|
+
| Syntax | Meaning | Default and choice |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| `eventName: PUBLIC_ACTION_REQUESTED` | Public event name after mapping. | Required string, nonempty after runtime mapping; no default. |
|
|
10
|
+
| `payload: {request: review}` | JSON-object public payload, recursively mapped. | Required object; no default. Only the selected profiles-owned event contract determines allowed payload fields. |
|
|
11
|
+
|
|
12
|
+
The following is a generic declaration example, not a supported live event registration or send demonstration:
|
|
13
|
+
|
|
14
|
+
```yaml
|
|
15
|
+
getReadyFlows:
|
|
16
|
+
- key: REQUEST_ACTION
|
|
17
|
+
title: Request an authorized action
|
|
18
|
+
action: { label: Request }
|
|
19
|
+
completionVersion: "1"
|
|
20
|
+
steps:
|
|
21
|
+
- key: PUBLISH
|
|
22
|
+
type: PUBLISH_EVENT
|
|
23
|
+
root: true
|
|
24
|
+
metadata:
|
|
25
|
+
eventName: PUBLIC_ACTION_REQUESTED
|
|
26
|
+
payload: { request: review }
|
|
27
|
+
next: DONE
|
|
28
|
+
- key: DONE
|
|
29
|
+
type: RETURN
|
|
30
|
+
metadata:
|
|
31
|
+
status: SUCCESS
|
|
32
|
+
outputs:
|
|
33
|
+
event_id: "{{ outputs.PUBLISH.eventId }}"
|
|
34
|
+
publish_status: "{{ outputs.PUBLISH.publishStatus }}"
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Only HTTP 202 with a valid acceptance body exposes `outputs.PUBLISH.eventId`, `.eventName`, `.publishStatus` (`router_accepted`) and `._response` through the existing API envelope. This proves router acceptance, not worker/provider execution, delivery or user receipt. Non-2xx, malformed acceptance and network uncertainty take the handler failure path, do not advance normal `next`, and do not expose invented success. Abort is cancellation. Never automatically retry a possibly accepted publication; explicit rerun can duplicate external effects.
|
|
38
|
+
|
|
39
|
+
Required support before enabling declarations: a compatible grouped frontend runtime and profile-progress service; profiles-owned public event admission with PROFILE UPDATE authorization; and an unambiguous authorized binding in the published definition plus its existing transport/consumer. The example name/payload above are placeholders for an approved public contract, not a registration. Browser metadata cannot provision any prerequisite.
|
|
40
|
+
|
|
41
|
+
Router acceptance, downstream provider acceptance, delivery and user receipt are separate observations. This unit action never waits for a provider or asks for receipt. A flow needing affirmative receipt must author a separate user-confirmation step and make successful RETURN conditional on that evidence. No durable deduplication, exactly-once delivery, implicit retry or synchronous downstream status is promised.
|
|
42
|
+
|