@beehexa/hexasync-ai-toolkit 2611.8.2 → 2611.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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 +20 -8
- package/skills/hexasync-connections/references/INDEX.md +18 -0
- package/skills/hexasync-connections/references/INSTALL.md +22 -6
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +35 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.md +16 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.publish_event.md +44 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.return.md +84 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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 +21 -9
- package/skills/hexasync-expressions/references/INDEX.md +18 -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 +35 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.fail.md +48 -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 +16 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +44 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -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-expressions/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -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-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +35 -8
- package/skills/hexasync-query-dsl/SKILL.md +10 -10
- package/skills/hexasync-query-dsl/references/INDEX.md +1 -1
- package/skills/hexasync-query-dsl/references/INSTALL.md +22 -6
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +16 -8
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +1 -1
- 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 +22 -17
- package/skills/hexasync-steps-api-http/references/INDEX.md +18 -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 +35 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.fail.md +48 -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 +16 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +44 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -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-api-http/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +6 -0
- package/skills/hexasync-steps-control-data/SKILL.md +22 -18
- package/skills/hexasync-steps-control-data/references/INDEX.md +18 -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 +35 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.fail.md +48 -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 +16 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +44 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -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-steps-control-data/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -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 +22 -9
- package/skills/hexasync-templates/references/AI-INDEX.md +10 -7
- package/skills/hexasync-templates/references/INDEX.md +19 -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.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +13 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.fail.md +76 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +6 -4
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.records_form.md +205 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +11 -9
- 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 +35 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.fail.md +48 -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 +16 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +44 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -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-templates/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -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
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
> Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
|
|
2
|
+
|
|
3
|
+
## `RETURN`
|
|
4
|
+
|
|
5
|
+
RETURN terminates one invocation before ordinary output postprocessing or successor advancement. It never creates `outputs.<RETURN_KEY>`. Grouped fall-through is `MISSING_RETURN`, not success. A dynamic route or loop remains statically uncertain even if the document contains a RETURN elsewhere.
|
|
6
|
+
|
|
7
|
+
`metadata.status` is required and exactly `SUCCESS`, `FAILED` or `CANCELLED`:
|
|
8
|
+
|
|
9
|
+
- SUCCESS requires `metadata.outputs`: a JSON object or `jsonata::` expression resolving to one. Nested values use pure existing Liquid/JSONata mapping and preserve JSON types. No `error` member.
|
|
10
|
+
- FAILED requires `metadata.error: {code,message}`. Both are nonempty strings describing the failure; no `outputs` member.
|
|
11
|
+
- CANCELLED has neither outputs nor error.
|
|
12
|
+
- No `next`, `onCancelled`, top-level `outputs[]`, flow `successOutputs` alias or storage processor is accepted.
|
|
13
|
+
|
|
14
|
+
| Syntax | Meaning | Default / absence and choice |
|
|
15
|
+
| --- | --- | --- |
|
|
16
|
+
| `metadata.status: SUCCESS` | Closed terminal discriminator: SUCCESS, FAILED or CANCELLED. | Required, no default. Choose by the invocation outcome, not the visual style of a SHOW_INFO panel. |
|
|
17
|
+
| `metadata.outputs: {accepted: true}` | SUCCESS-only pure caller result. | Required for SUCCESS; forbidden otherwise. `{}` intentionally returns no values. Choose an object for explicit mappings, or `jsonata::` for a whole-object expression. |
|
|
18
|
+
| `metadata.error: {code: NOT_ACCEPTED, message: Configuration was not accepted}` | Closed FAILED-only error object. | Required for FAILED; forbidden otherwise. No default or success outputs. |
|
|
19
|
+
| `metadata.error.code: NOT_ACCEPTED` | Machine-readable error string. | Required inside error; no default. |
|
|
20
|
+
| `metadata.error.message: Configuration was not accepted` | Safe user-facing error string. | Required inside error; no default. Never include credentials/context dumps. |
|
|
21
|
+
|
|
22
|
+
The following complete declarations show all terminal variants, including typed nested values. Mapping must yield finite JSON only: undefined, nonfinite values, non-JSON values and a whole-map expression returning a nonobject fail evaluation. Literal booleans/numbers/null and pure JSONata values preserve their types; use Liquid for strings, not implicit typed coercion. RETURN cannot run local-storage processors or expose `_context`.
|
|
23
|
+
|
|
24
|
+
```yaml
|
|
25
|
+
getReadyFlows:
|
|
26
|
+
- key: REVIEW
|
|
27
|
+
title: Review configuration
|
|
28
|
+
action: { label: Review }
|
|
29
|
+
completionVersion: "1"
|
|
30
|
+
steps:
|
|
31
|
+
- key: DECIDE
|
|
32
|
+
type: IF
|
|
33
|
+
root: true
|
|
34
|
+
metadata:
|
|
35
|
+
condition: "{{ inputs.accepted }}"
|
|
36
|
+
then: DONE
|
|
37
|
+
else: REJECTED
|
|
38
|
+
- key: DONE
|
|
39
|
+
type: RETURN
|
|
40
|
+
metadata:
|
|
41
|
+
status: SUCCESS
|
|
42
|
+
outputs:
|
|
43
|
+
accepted: true
|
|
44
|
+
count: 1
|
|
45
|
+
optional: null
|
|
46
|
+
nested:
|
|
47
|
+
count: "jsonata::1"
|
|
48
|
+
values: [true, null, 2]
|
|
49
|
+
- key: REJECTED
|
|
50
|
+
type: RETURN
|
|
51
|
+
metadata:
|
|
52
|
+
status: FAILED
|
|
53
|
+
error: { code: NOT_ACCEPTED, message: Configuration was not accepted }
|
|
54
|
+
- key: CANCEL_REVIEW
|
|
55
|
+
title: Cancel review
|
|
56
|
+
action: { label: Cancel }
|
|
57
|
+
completionVersion: "1"
|
|
58
|
+
steps:
|
|
59
|
+
- key: CANCEL
|
|
60
|
+
type: RETURN
|
|
61
|
+
root: true
|
|
62
|
+
metadata: { status: CANCELLED }
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
For a computed whole-object success result, use this full-context variant; the expression must resolve to an object at runtime, not a serialized JSON string.
|
|
66
|
+
|
|
67
|
+
```yaml
|
|
68
|
+
getReadyFlows:
|
|
69
|
+
- key: COMPUTE_RESULT
|
|
70
|
+
title: Compute a result
|
|
71
|
+
action: { label: Compute }
|
|
72
|
+
completionVersion: "1"
|
|
73
|
+
steps:
|
|
74
|
+
- key: DONE
|
|
75
|
+
type: RETURN
|
|
76
|
+
root: "true"
|
|
77
|
+
dryRun: false
|
|
78
|
+
metadata:
|
|
79
|
+
status: SUCCESS
|
|
80
|
+
outputs: 'jsonata::{"accepted": true, "count": 1, "optional": null}'
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Returned JSON belongs only to the immediate caller. It is not persisted with completion, shared with dependants, restored after refresh or available to another flow. Completion acknowledgement and execution results are separate. Retrying a lost acknowledgement must not replay execution.
|
|
84
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
> Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
|
|
2
|
+
|
|
3
|
+
## Task and reference data changes
|
|
4
|
+
|
|
5
|
+
Save a form's row changes in one request and use the returned outcomes to tell the user what happened. These worker.proxy routes are for workflow-sized changes; the existing [file-import path](frontend.FRONTEND-FLOWS.records_form.file-import-path.md) remains available for files and full-row imports.
|
|
6
|
+
|
|
7
|
+
### Availability of the data routes
|
|
8
|
+
|
|
9
|
+
**Unreleased capability:** the changes, preview, health and repair routes, and the corrected [v2 search cursors](hexasync://docs/query-dsl/QUERY-DSL/filter-dsl-language-contract/filter-request-envelope#entity-v2-flat-fields-and-working-cursors), are implemented on worker.proxy `feats/task-flow`, PR #78. No published worker.proxy version has been identified as containing this feature. Enable a flow using it only after a worker.proxy build containing the feature has been deployed; record the actual first published version when released. An older proxy can forward an unknown route to the worker and return 404. No core.api version or worker upgrade is a prerequisite. This note is not a release or deployment claim.
|
|
10
|
+
|
|
11
|
+
### Changes: apply a row change set
|
|
12
|
+
|
|
13
|
+
`POST /api/v2/{entityType}/{entityId}/data/changes` requires profile UPDATE. `entityType` is `tasks` or `references` (an in-schema reference). Frontend API requests use `/proxy/workers/api/v2/…` and `HSS-PROFILE-ID`, through the same authenticated forwarding as other worker.proxy data calls.
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"notes": "Corrected these records after checking the source list.",
|
|
18
|
+
"apply": true,
|
|
19
|
+
"changes": {
|
|
20
|
+
"upsert": [{ "code": "A", "quantity": 5 }],
|
|
21
|
+
"disable": [{ "code": "B" }],
|
|
22
|
+
"enable": [{ "code": "C" }]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
| Member or rule | Syntax, default and choice |
|
|
28
|
+
| --- | --- |
|
|
29
|
+
| `notes` | Required real reason, at least 32 characters, or 256 for a super admin. Ask the user; do not substitute a fixed reason. |
|
|
30
|
+
| `apply` | Optional boolean, default `true`: let the engine act on the change. `false` saves the requested data/state without newly scheduling it for application; it is not a preview. |
|
|
31
|
+
| `changes` | Required object containing optional `upsert`, `disable`, `enable` arrays. Send 1–5,000 rows in total; an empty set or unknown operation is refused. Skip saving when the form has no changes. Larger file loads use import. |
|
|
32
|
+
| `upsert` | Each row includes every key column and the columns to write. Omitted columns keep their value on update and use their database default on insert. A declared column with `null` is an explicit value, not omission. |
|
|
33
|
+
| `disable`, `enable` | Each row includes every key column; other data is not updated. Disable never deletes a row. A missing row returns `notFound`, not a refusal. |
|
|
34
|
+
| Keys | The union of the table's `SOURCE_ID` and `KEYS` columns. Every row carries every part; null/blank parts are allowed where the dataset allows them. One key appears once across the entire request. A dataset without keys, or a report, is not writable. |
|
|
35
|
+
| System members | `__*` members in the form's full rows are ignored. Do not construct status numbers, enabled flags or hashes. The service changes row state while preserving unrelated flags. |
|
|
36
|
+
| Tasks and references | Both use these routes. Reference keys match column by column, including null parts; hyphens do not join key parts into one identity. Stored duplicate keys are refused. `RECORDS_FORM.target` still accepts only TASK or WORKER_SETTINGS; a new route does not add a new form target kind. |
|
|
37
|
+
|
|
38
|
+
For a form, send `outputs.EDIT.upserts` as `changes.upsert` and `outputs.EDIT.removes` as `changes.disable`. The whole change set commits or none of it does. A repeated identical request is safe and returns `unchanged` for rows already in the requested state; this does not authorize an automatic retry after an uncertain network result.
|
|
39
|
+
|
|
40
|
+
A `200` response has `changeId`, `summary` and `rows`. Summary members are `inserted`, `updated`, `unchanged`, `disabled`, `enabled`, `notFound` and `healed`; healing is counted beside outcomes, so a row can be both unchanged and healed. Each row result contains `op`, its zero-based `index` within that operation, `outcome` and `row` (the stored content, or null for `notFound`). Results are ordered upsert, disable, enable, preserving order within each list.
|
|
41
|
+
|
|
42
|
+
| `op` | Possible `outcome` | What the flow should check |
|
|
43
|
+
| --- | --- | --- |
|
|
44
|
+
| `upsert` | `inserted`, `updated`, `unchanged` | The requested row is stored. Read `row` for its final content. |
|
|
45
|
+
| `disable` | `disabled`, `unchanged`, `notFound` | `notFound` means the row was already absent. Decide explicitly whether that satisfies this action. |
|
|
46
|
+
| `enable` | `enabled`, `unchanged`, `notFound` | A missing row has not been created or enabled; ask the user to correct the selection if an existing row was required. |
|
|
47
|
+
|
|
48
|
+
The returned rows are read in the transaction that writes them, using the search route's safe projection. **No second read is needed to verify the save.** A successful save is not proof that a pusher or external system has acted. Check the API status and the operation outcomes before returning SUCCESS; keep coded refusals and unknown network outcomes on a failure path.
|
|
49
|
+
|
|
50
|
+
### Preview: inspect changes without saving
|
|
51
|
+
|
|
52
|
+
`POST /api/v2/{entityType}/{entityId}/data/changes/preview` requires profile UPDATE. Send the same change-set body; `notes` is optional here. A `200` returns `summary` and `rows` with `op`, `index`, `outcome` and `current`, the stored row before the proposed change. `current` is absent for a row that does not exist. There is no `changeId`, write, audit file/event or table lock. The same validation, identity and ambiguity refusals apply. Preview is an observation, not a reservation: another save may change the result before apply.
|
|
53
|
+
|
|
54
|
+
### Health: inspect a dataset
|
|
55
|
+
|
|
56
|
+
`GET /api/v2/{entityType}/{entityId}/data/health` requires profile READ. It reports `entityType`, `keyColumns`, `keysAllText`, `rows`, `withoutIdentity`, `repairable`, `duplicateIdentity`, `duplicateKey`, `nullKeyRows`, `withoutChangeHash` and `samples`. Duplicate counts are shared-key/identity **groups**, not the number of rows in those groups. `withoutChangeHash` is an additional task diagnostic; repair can heal only the rows whose stored key/value proof is safe. Samples contain at most 20 declared-key dictionaries per list, one representative per duplicate group, with text/null key values and no raw/hash payloads. The lists are `withoutIdentity`, `repairable`, `duplicateIdentity`, `duplicateKey`, `nullKeyRows`, `withoutChangeHash`. Task identity problems are distinct from duplicate keys; a clean report describes this observation, not protection against later concurrent writes.
|
|
57
|
+
|
|
58
|
+
For an in-schema reference, `withoutIdentity`, `repairable`, `duplicateIdentity`, `withoutChangeHash` and their sample lists are explicitly null; `nullKeyRows` counts rows with a null key part and supplies samples. For a task, `nullKeyRows` and its sample list are null. A null reference key part alone is not a duplicate or a reason to discard a row: reference matching is null-safe. Health reads one consistent primary-database snapshot; it creates no audit file/event, takes no row-write lock and does not save or repair anything.
|
|
59
|
+
|
|
60
|
+
### Repair: heal task rows without identity or change hash
|
|
61
|
+
|
|
62
|
+
`POST /api/v2/tasks/{taskId}/data/repair` requires profile UPDATE. Send `{ "notes": "A real reason meeting the write-note length rule.", "limit": 5000 }`. `limit` is optional, defaults to 5,000, and accepts 1–50,000. Repair is task-only: it fills a missing identity and/or change hash where the stored data proves the result, with text key columns and one bounded, audited transaction. Missing means null or zero-length. It does not rewrite an existing nonempty identity or change hash, or change business values/status. The limit bounds eligible rows after conflicts have been classified across the dataset; conflicts do not consume a batch slot.
|
|
63
|
+
|
|
64
|
+
A `200` returns `healed`, `conflicts`, `remaining` and `samples.conflicts` (at most 20 declared-key dictionaries). `healed` counts distinct rows repaired for either deficit, not individual hashes. `remaining` counts rows still missing an identity **or** a change hash, including conflicts and eligible rows beyond this batch. Counts describe the same locked transaction.
|
|
65
|
+
|
|
66
|
+
An identity already owned by another row or shared by identity-less rows is a conflict. A stored-key/value proof that would change meaning through normalization, truncation, date/character conversion or an unhashable value is also a conflict: those rows remain untouched. Inspect the samples and correct the data explicitly; repeat bounded repair deliberately for eligible rows still remaining. A non-text key is refused with `IDENTITY_UNREPAIRABLE`. `IDENTITY_REPAIR_REQUIRED` is a save refusal directing the caller here, not a repair-backlog limit: repair processes a large backlog in bounded requests. Repair is not a reference deduplication tool.
|
|
67
|
+
|
|
68
|
+
### Data-route refusals
|
|
69
|
+
|
|
70
|
+
The four new routes return `application/problem+json` with `type`, `title`, `status`, `code`, `retryable`, `detail` and, when rows are at fault, `rows`. A row fault names `code`, `key`, optional `column` and, for an input row, `op` plus zero-based `index`. Up to 50 row faults are listed under the first refusal code. Branch on the code and retryable flag, never on message wording. The authentication layer can reject an unauthenticated request before a route runs; restore sign-in before handling its application result.
|
|
71
|
+
|
|
72
|
+
| HTTP | Code | Retryable | Flow response |
|
|
73
|
+
| --- | --- | --- | --- |
|
|
74
|
+
| 400 | `INVALID_REQUEST` | false | Correct the body, operation names, ids, header or size; send a nonempty bounded set. |
|
|
75
|
+
| 403 | `FORBIDDEN` | false | Obtain profile UPDATE, or READ for health; do not resend unchanged credentials. |
|
|
76
|
+
| 404 | `ENTITY_NOT_FOUND` | false | Select a dataset from this profile's published definition. |
|
|
77
|
+
| 409 | `TASK_BUSY` | true | Wait and offer a bounded retry; the dataset lock was not granted within 5 seconds. |
|
|
78
|
+
| 409 | `IDENTITY_CONFLICT` | false | Ask an operator to resolve the conflicting keys/identities before saving. |
|
|
79
|
+
| 409 | `KEY_AMBIGUOUS` | false | Resolve stored duplicate keys; do not choose an arbitrary stored row. |
|
|
80
|
+
| 409 | `IDENTITY_UNREPAIRABLE` | false | Correct the identity-less rows explicitly; automatic reconstruction cannot prove a non-text key. |
|
|
81
|
+
| 409 | `IDENTITY_REPAIR_REQUIRED` | false | Inspect health and run bounded task repair before saving again. |
|
|
82
|
+
| 422 | `NOTES_TOO_SHORT` | false | Ask for a real reason of at least 32 characters, or 256 for a super admin. |
|
|
83
|
+
| 422 | `UNKNOWN_COLUMN` | false | Correct the row's undeclared column name. |
|
|
84
|
+
| 422 | `KEY_MISSING` | false | Include every declared key column on each row. |
|
|
85
|
+
| 422 | `DUPLICATE_ROWS` | false | Send each key once across all operations. |
|
|
86
|
+
| 422 | `INVALID_VALUE` | false | Correct the named row/column to a value its database column accepts. |
|
|
87
|
+
| 422 | `ENTITY_NOT_WRITABLE` | false | Fix the dataset definition or select a keyed task/reference; reports cannot be changed. |
|
|
88
|
+
| 502 | `AUDIT_UNAVAILABLE` | true | Explain that audit storage/event delivery failed and the transaction rolled back; offer a later retry. |
|
|
89
|
+
| 500 | `INTERNAL_ERROR` | false | The save outcome is unconfirmed. Check the dataset and contact support before an explicit retry; never assume rollback or resend automatically. |
|
|
90
|
+
|
|
91
|
+
In a frontend `API` step a controlled non-2xx answer still follows plain `next`, so its next step must classify the actual error envelope: the HTTP status is `outputs.SAVE.error.detail.status`, and the problem document is `outputs.SAVE.error.detail.rawData` (its `code`, `detail`, `status` and `retryable`). Successful body members instead appear beside `outputs.SAVE._response`. Do not read a controlled refusal from top-level `SAVE.code`/`SAVE.detail`. A known refusal needs the documented code, matching transport/body status and retryable flag. `INTERNAL_ERROR`, an unrecognized or malformed problem, and network uncertainty are **unknown save outcomes**: changes may already be committed. Check the dataset before an explicit retry; never promise rollback or resend automatically. Existing import and search routes retain their own error formats; these problem codes do not replace them.
|
|
92
|
+
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hexasync-transformations
|
|
3
3
|
description: "HexaSync transformations: the per-task transformation chain, Clone/Rename/BulkClone/BulkRename, Jsonata, Scriban, SQL/Nested_SQL, QUERY_SINGLE/QUERY_MANY, RESOLVE_RAW_DATA, None, item context, abort/no-op and executor outcomes, explicit mapping for push. Use when reshaping task rows between source and destination."
|
|
4
|
-
compatibility: "
|
|
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.14.1), which needs Node.js >= 22.13; without it, read references/."
|
|
5
5
|
metadata:
|
|
6
6
|
author: BeeHexa
|
|
7
|
-
version: "2611.
|
|
8
|
-
kb-bundle: "
|
|
7
|
+
version: "2611.14.1"
|
|
8
|
+
kb-bundle: "113"
|
|
9
9
|
mcp-server: "hexasync-template-ide"
|
|
10
10
|
---
|
|
11
11
|
|
|
@@ -16,15 +16,17 @@ before it is used downstream, for example before a pusher sends it. Typical jobs
|
|
|
16
16
|
rename or copy fields, compute a display or numeric field, look up related rows, or
|
|
17
17
|
decode the encrypted raw payload.
|
|
18
18
|
|
|
19
|
-
> Generated from the HexaSync knowledge base (asset bundle
|
|
19
|
+
> Generated from the HexaSync knowledge base (asset bundle 113) by @beehexa/hexasync-ai-toolkit 2611.14.1.
|
|
20
20
|
|
|
21
21
|
## How to work
|
|
22
22
|
|
|
23
|
+
The host loads this skill conditionally; installing it does not inject instructions into every conversation.
|
|
24
|
+
Choose worker or frontend from the owning collection before applying guidance.
|
|
23
25
|
When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
|
|
24
26
|
|
|
25
27
|
1. `hexasync_orientation` once per session: what a template is, the two runtimes that must never be mixed, and the lookup order.
|
|
26
|
-
2. `hexasync_explain_type` before writing any field
|
|
27
|
-
3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `transformation chain rename clone`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
|
|
28
|
+
2. `hexasync_explain_type` before writing any field. Worker/data lookups for this family: `hexasync_explain_type({"name":"transformations","runtime":"worker"})`, `hexasync_explain_type({"name":"Jsonata","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
29
|
+
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `transformation chain rename clone`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
|
|
28
30
|
4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
|
|
29
31
|
5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
|
|
30
32
|
|
|
@@ -48,4 +50,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
|
|
|
48
50
|
|
|
49
51
|
## Installing the MCP server
|
|
50
52
|
|
|
51
|
-
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@
|
|
53
|
+
If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit@2611.14.1 install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1`). 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.14.1 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.14.1`):
|
|
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.14.1` |
|
|
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.14.1"]}'` |
|
|
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.14.1"
|
|
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.14.1"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
The standalone server must match toolkit 2611.14.1. 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-validations
|
|
3
3
|
description: "HexaSync validations: per-task validation rules (EQUAL, IN, REGEX, LENGTH, NOT_NULL, BETWEEN …), stored SQL validity versus per-item diagnostics, CHECK_FORMAT step, datetime prerequisites. Use when adding data-quality checks to task rows."
|
|
4
|
-
compatibility: "
|
|
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.14.1), which needs Node.js >= 22.13; without it, read references/."
|
|
5
5
|
metadata:
|
|
6
6
|
author: BeeHexa
|
|
7
|
-
version: "2611.
|
|
8
|
-
kb-bundle: "
|
|
7
|
+
version: "2611.14.1"
|
|
8
|
+
kb-bundle: "113"
|
|
9
9
|
mcp-server: "hexasync-template-ide"
|
|
10
10
|
---
|
|
11
11
|
|
|
@@ -13,15 +13,17 @@ metadata:
|
|
|
13
13
|
|
|
14
14
|
**Syntax:** `validations: { <objectId>: [ <rule>, ... ] }` — a root map keyed by an object's GUID; each value is a flat list of rules.
|
|
15
15
|
|
|
16
|
-
> Generated from the HexaSync knowledge base (asset bundle
|
|
16
|
+
> Generated from the HexaSync knowledge base (asset bundle 113) by @beehexa/hexasync-ai-toolkit 2611.14.1.
|
|
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
|
|
24
|
-
3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `validation rule regex not null`). 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":"validations","runtime":"worker"})`, `hexasync_explain_type({"name":"CHECK_FORMAT","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
26
|
+
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `validation rule regex not null`). 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
|
|
|
@@ -49,4 +51,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
|
|
|
49
51
|
|
|
50
52
|
## Installing the MCP server
|
|
51
53
|
|
|
52
|
-
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@
|
|
54
|
+
If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit@2611.14.1 install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1`). 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.14.1 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.14.1`):
|
|
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.14.1` |
|
|
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.14.1"]}'` |
|
|
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.14.1"
|
|
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.14.1"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
The standalone server must match toolkit 2611.14.1. 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-webhooks
|
|
3
3
|
description: "HexaSync webhooks: webhook components, signature verification, raw body, acknowledgement, multi-event deliveries, partial payloads, registration health, forwarding deliveries into tasks and the hosted Gateway MCP webhook workflow. Use when receiving events/push notifications from an external system."
|
|
4
|
-
compatibility: "
|
|
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.14.1), which needs Node.js >= 22.13; without it, read references/."
|
|
5
5
|
metadata:
|
|
6
6
|
author: BeeHexa
|
|
7
|
-
version: "2611.
|
|
8
|
-
kb-bundle: "
|
|
7
|
+
version: "2611.14.1"
|
|
8
|
+
kb-bundle: "113"
|
|
9
9
|
mcp-server: "hexasync-template-ide"
|
|
10
10
|
---
|
|
11
11
|
|
|
@@ -16,15 +16,17 @@ arrives for one of its connections: which **targets** (event handlers) apply, ho
|
|
|
16
16
|
parse the delivery into rows, which tasks those rows are indexed into, whether they are
|
|
17
17
|
queued for pushing, and which steps run per delivered item.
|
|
18
18
|
|
|
19
|
-
> Generated from the HexaSync knowledge base (asset bundle
|
|
19
|
+
> Generated from the HexaSync knowledge base (asset bundle 113) by @beehexa/hexasync-ai-toolkit 2611.14.1.
|
|
20
20
|
|
|
21
21
|
## How to work
|
|
22
22
|
|
|
23
|
+
The host loads this skill conditionally; installing it does not inject instructions into every conversation.
|
|
24
|
+
Choose worker or frontend from the owning collection before applying guidance.
|
|
23
25
|
When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
|
|
24
26
|
|
|
25
27
|
1. `hexasync_orientation` once per session: what a template is, the two runtimes that must never be mixed, and the lookup order.
|
|
26
|
-
2. `hexasync_explain_type` before writing any field
|
|
27
|
-
3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `webhook signature delivery`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
|
|
28
|
+
2. `hexasync_explain_type` before writing any field. Worker/data lookups for this family: `hexasync_explain_type({"name":"webhooks","runtime":"worker"})`, `hexasync_explain_type({"name":"WEBHOOK_FORWARD","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
29
|
+
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `webhook signature delivery`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
|
|
28
30
|
4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
|
|
29
31
|
5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
|
|
30
32
|
|
|
@@ -59,4 +61,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
|
|
|
59
61
|
|
|
60
62
|
## Installing the MCP server
|
|
61
63
|
|
|
62
|
-
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@
|
|
64
|
+
If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit@2611.14.1 install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1`). 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.14.1 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.14.1`):
|
|
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.14.1` |
|
|
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.14.1"]}'` |
|
|
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.14.1"
|
|
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.14.1"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
The standalone server must match toolkit 2611.14.1. 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.
|