@beehexa/hexasync-ai-toolkit 2611.8.3 → 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.
Files changed (126) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/.cursor-plugin/mcp.json +1 -1
  5. package/.cursor-plugin/plugin.json +1 -1
  6. package/.mcp.json +1 -1
  7. package/gemini-extension.json +2 -2
  8. package/openclaw.plugin.json +1 -1
  9. package/package.json +2 -2
  10. package/plugin.json +1 -1
  11. package/skills/hexasync-connections/SKILL.md +17 -7
  12. package/skills/hexasync-connections/references/INDEX.md +18 -0
  13. package/skills/hexasync-connections/references/INSTALL.md +7 -7
  14. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +35 -0
  15. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  16. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
  17. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
  18. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.md +16 -0
  19. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
  20. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.publish_event.md +44 -0
  21. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  22. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
  23. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  24. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
  25. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.return.md +84 -0
  26. package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  27. package/skills/hexasync-error-handling/SKILL.md +5 -5
  28. package/skills/hexasync-error-handling/references/INSTALL.md +7 -7
  29. package/skills/hexasync-expressions/SKILL.md +6 -5
  30. package/skills/hexasync-expressions/references/INDEX.md +6 -1
  31. package/skills/hexasync-expressions/references/INSTALL.md +7 -7
  32. package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +3 -3
  33. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +10 -4
  34. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  35. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
  36. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
  37. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +6 -4
  38. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
  39. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +4 -2
  40. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  41. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
  42. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  43. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.return.md +2 -2
  44. package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  45. package/skills/hexasync-field-mapping/SKILL.md +5 -5
  46. package/skills/hexasync-field-mapping/references/INSTALL.md +7 -7
  47. package/skills/hexasync-metrics-reports/SKILL.md +5 -5
  48. package/skills/hexasync-metrics-reports/references/INSTALL.md +7 -7
  49. package/skills/hexasync-pullers/SKILL.md +5 -5
  50. package/skills/hexasync-pullers/references/INSTALL.md +7 -7
  51. package/skills/hexasync-pushers/SKILL.md +5 -5
  52. package/skills/hexasync-pushers/references/INSTALL.md +7 -7
  53. package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +35 -8
  54. package/skills/hexasync-query-dsl/SKILL.md +5 -5
  55. package/skills/hexasync-query-dsl/references/INDEX.md +1 -1
  56. package/skills/hexasync-query-dsl/references/INSTALL.md +7 -7
  57. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +16 -8
  58. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +1 -1
  59. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +1 -1
  60. package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +1 -1
  61. package/skills/hexasync-startup-tasks-scheduling/SKILL.md +5 -5
  62. package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +7 -7
  63. package/skills/hexasync-steps-api-http/SKILL.md +7 -7
  64. package/skills/hexasync-steps-api-http/references/INDEX.md +6 -1
  65. package/skills/hexasync-steps-api-http/references/INSTALL.md +7 -7
  66. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +10 -4
  67. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  68. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
  69. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
  70. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +6 -4
  71. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
  72. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +4 -2
  73. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  74. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
  75. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  76. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.return.md +2 -2
  77. package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  78. package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +6 -0
  79. package/skills/hexasync-steps-control-data/SKILL.md +9 -9
  80. package/skills/hexasync-steps-control-data/references/INDEX.md +6 -1
  81. package/skills/hexasync-steps-control-data/references/INSTALL.md +7 -7
  82. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +10 -4
  83. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  84. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
  85. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
  86. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +6 -4
  87. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
  88. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +4 -2
  89. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  90. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
  91. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  92. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.return.md +2 -2
  93. package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  94. package/skills/hexasync-tables-tasks-objects/SKILL.md +5 -5
  95. package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +7 -7
  96. package/skills/hexasync-templates/SKILL.md +9 -8
  97. package/skills/hexasync-templates/references/AI-INDEX.md +10 -9
  98. package/skills/hexasync-templates/references/INDEX.md +6 -2
  99. package/skills/hexasync-templates/references/INSTALL.md +7 -7
  100. package/skills/hexasync-templates/references/KB-INDEX.md +2 -2
  101. package/skills/hexasync-templates/references/PROFILE-ROOT.md +1 -2
  102. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +13 -2
  103. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.fail.md +76 -0
  104. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +2 -1
  105. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.records_form.md +7 -3
  106. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +4 -4
  107. package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.getreadyflows.md +1 -1
  108. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +10 -4
  109. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
  110. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
  111. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
  112. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +6 -4
  113. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
  114. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +4 -2
  115. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
  116. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
  117. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
  118. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.return.md +2 -2
  119. package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
  120. package/skills/hexasync-transformations/SKILL.md +5 -5
  121. package/skills/hexasync-transformations/references/INSTALL.md +7 -7
  122. package/skills/hexasync-validations/SKILL.md +5 -5
  123. package/skills/hexasync-validations/references/INSTALL.md +7 -7
  124. package/skills/hexasync-webhooks/SKILL.md +5 -5
  125. package/skills/hexasync-webhooks/references/INSTALL.md +7 -7
  126. package/skills/hexasync-templates/references/PROFILE-ROOT.getreadyflows-1.md +0 -33
@@ -0,0 +1,208 @@
1
+ > Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md) › [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md).
2
+
3
+ ### `RECORDS_FORM` change-set path
4
+
5
+ This complete generic declaration uses the deployed [changes capability](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md#availability-of-the-data-routes): `RECORDS_FORM` → one changes API step → one outcome check. It keeps the form's rows intact, sends no status numbers, and performs no verification read. Its TASK table declares `code` as the stored key, matching the form identity. The host supplies `inputs.PROFILE_ID`; the example identities stand for real published tasks/tables.
6
+
7
+ The check treats a disable `notFound` as already absent, which satisfies this example's remove action. A different business action may require reporting it instead. Initial and search reads still use the existing search route: load all rows the user needs (here at most 500) before editing, because unloaded rows cannot be removed in this form. The change set itself is limited to 5,000 rows.
8
+
9
+ ```yaml
10
+ objects:
11
+ - id: "**Example_Records_Task_Id**"
12
+ name: Example records
13
+ type: REFERENCE
14
+ priority: 1000
15
+ description: "!md[./tasks/example-records.md]"
16
+ valueTableName: __hsm_example_records
17
+ ignoreRemoval: true
18
+ ignoreChange: false
19
+ - id: "**Example_Catalog_Task_Id**"
20
+ name: Example catalog
21
+ type: REFERENCE
22
+ priority: 1000
23
+ description: "!md[./tasks/example-catalog.md]"
24
+ valueTableName: __hsm_example_catalog
25
+ ignoreRemoval: true
26
+ ignoreChange: false
27
+ objectAssociations:
28
+ "**Example_Records_Task_Id**":
29
+ table: { id: "**Example_Records_Table_Id**" }
30
+ "**Example_Catalog_Task_Id**":
31
+ table: { id: "**Example_Catalog_Table_Id**" }
32
+ tables:
33
+ - id: "**Example_Records_Table_Id**"
34
+ columns:
35
+ code: { name: Code, indexGroups: [SOURCE_ID, KEYS] }
36
+ name: { name: Name }
37
+ quantity: { name: Quantity, dataType: Numeric }
38
+ note: { name: Note }
39
+ - id: "**Example_Catalog_Table_Id**"
40
+ columns:
41
+ code: { name: Code, indexGroups: [SOURCE_ID, KEYS] }
42
+ name: { name: Name }
43
+ getReadyFlows:
44
+ - key: EDIT_RECORDS_CHANGES
45
+ title: Edit records
46
+ action: { label: Edit records }
47
+ completionVersion: "1"
48
+ steps:
49
+ - key: READ_RECORDS
50
+ type: API
51
+ root: true
52
+ name: Read the current records
53
+ metadata: |-
54
+ curl --location '/proxy/workers/api/tasks/**Example_Records_Task_Id**/data/search' --request POST \
55
+ --header 'HSS-PROFILE-ID: {{ inputs.PROFILE_ID }}' \
56
+ --header 'Content-Type: application/json' \
57
+ --data '{"fields":[],"offset":0,"limit":500,"filters":{"condition":"AND","rightOp":[{"leftOp":"__status","condition":"not_hbw","rightOp":6}]}}'
58
+ next: EDIT
59
+ - key: EDIT
60
+ type: RECORDS_FORM
61
+ name: Edit records
62
+ description: Add, change or remove records. Nothing is saved until you confirm.
63
+ metadata:
64
+ target: { kind: TASK, taskId: "**Example_Records_Task_Id**" }
65
+ identity: [code]
66
+ initial: "jsonata:: outputs.READ_RECORDS.items"
67
+ columns:
68
+ - { key: code, name: Code, type: TEXT, required: true, readonly: true }
69
+ - { key: name, name: Name, type: TEXT, required: true }
70
+ - { key: quantity, name: Quantity, type: NUMBER, min: 0 }
71
+ - { key: note, name: Note, type: MULTILINE_TEXT }
72
+ allow: { add: true, edit: true, remove: true }
73
+ pageSize: 20
74
+ search:
75
+ request: |-
76
+ curl --location '/proxy/workers/api/tasks/**Example_Catalog_Task_Id**/data/search' --request POST \
77
+ --header 'HSS-PROFILE-ID: {{ inputs.PROFILE_ID }}' \
78
+ --header 'Content-Type: application/json' \
79
+ --data '{"fields":[],"offset":0,"limit":20,"filters":{"condition":"AND","rightOp":[{"leftOp":"__status","condition":"not_hbw","rightOp":6},{"leftOp":"code","condition":"ct","rightOp":{{ search.text | json | replace: "'", "\\u0027" }}}]}}'
80
+ items: "jsonata:: items"
81
+ label: "{{ item.code }} — {{ item.name }}"
82
+ fill: { code: "{{ item.code }}", name: "{{ item.name }}" }
83
+ next: HAS_CHANGES
84
+ onCancelled: CANCELLED
85
+ - key: HAS_CHANGES
86
+ type: IF
87
+ metadata:
88
+ condition: "${ $count(outputs.EDIT.upserts) + $count(outputs.EDIT.removes) > 0 }"
89
+ then: CHANGE_NOTE
90
+ else: NO_CHANGES
91
+ - key: CHANGE_NOTE
92
+ type: FORM
93
+ name: Why are you changing these records?
94
+ metadata:
95
+ fields:
96
+ - key: REASON
97
+ type: MULTILINE_TEXT
98
+ name: Reason (at least 32 characters, or 256 for a super admin)
99
+ required: true
100
+ next: SAVE
101
+ onCancelled: CANCELLED
102
+ - key: SAVE
103
+ type: API
104
+ name: Save the changes
105
+ metadata: |-
106
+ curl --location '/proxy/workers/api/v2/tasks/**Example_Records_Task_Id**/data/changes' --request POST \
107
+ --header 'HSS-PROFILE-ID: {{ inputs.PROFILE_ID }}' \
108
+ --header 'Content-Type: application/json' \
109
+ --data '{"notes":{{ outputs.CHANGE_NOTE.REASON | json | replace: "'", "\\u0027" }},"changes":{"upsert":{{ outputs.EDIT.upserts | json | replace: "'", "\\u0027" }},"disable":{{ outputs.EDIT.removes | json | replace: "'", "\\u0027" }}}}'
110
+ next: CHECK_SAVED
111
+ - key: CHECK_SAVED
112
+ type: IF
113
+ metadata:
114
+ condition: >-
115
+ ${ (
116
+ $result := outputs.SAVE;
117
+ $rows := $result.rows;
118
+ $summary := $result.summary;
119
+ $upsertCount := $count(outputs.EDIT.upserts);
120
+ $disableCount := $count(outputs.EDIT.removes);
121
+ $upserts := $rows[op = "upsert"];
122
+ $disables := $rows[op = "disable"];
123
+ $whole := function($value) {
124
+ $type($value) = "number" ? $value >= 0 and $value = $floor($value) : false
125
+ };
126
+ $stored := function($value) {
127
+ $type($value) = "object" and $type($value.code) = "string"
128
+ };
129
+ $result._response.statusCode = 200 and $not($exists($result.error))
130
+ and $not($exists($result.errorCode)) and $type($result.changeId) = "string"
131
+ and $length($trim($result.changeId)) > 0
132
+ and $type($rows) = "array" and $count($rows[$type($) != "object"]) = 0
133
+ and $count($rows) = $upsertCount + $disableCount
134
+ and $count($upserts) = $upsertCount and $count($disables) = $disableCount
135
+ and $count($upserts[$whole(index) and index < $upsertCount
136
+ and outcome in ["inserted", "updated", "unchanged"] and $stored(row)]) = $upsertCount
137
+ and $count($disables[$whole(index) and index < $disableCount
138
+ and ((outcome in ["disabled", "unchanged"] and $stored(row))
139
+ or (outcome = "notFound" and ($not($exists(row)) or row = null)))]) = $disableCount
140
+ and $count($distinct($upserts.index)) = $upsertCount
141
+ and $count($distinct($disables.index)) = $disableCount
142
+ and $type($summary) = "object"
143
+ and $whole($summary.inserted) and $whole($summary.updated) and $whole($summary.unchanged)
144
+ and $whole($summary.disabled) and $whole($summary.enabled) and $whole($summary.notFound)
145
+ and $whole($summary.healed) and $summary.enabled = 0
146
+ and $summary.inserted = $count($rows[outcome = "inserted"])
147
+ and $summary.updated = $count($rows[outcome = "updated"])
148
+ and $summary.unchanged = $count($rows[outcome = "unchanged"])
149
+ and $summary.disabled = $count($rows[outcome = "disabled"])
150
+ and $summary.notFound = $count($rows[outcome = "notFound"])
151
+ ) }
152
+ then: SHOW_SAVED
153
+ else: SHOW_FAILED
154
+ - key: SHOW_SAVED
155
+ type: SHOW_INFO
156
+ msg: Your changes are saved.
157
+ metadata: { type: SUCCESS, button_title: Finish }
158
+ next: DONE
159
+ - key: SHOW_FAILED
160
+ type: SHOW_INFO
161
+ msg: >-
162
+ {%- assign problem = outputs.SAVE.error.detail.rawData -%}
163
+ {%- assign expected_status = 0 -%}
164
+ {%- assign expected_retryable = false -%}
165
+ {%- case problem.code -%}
166
+ {%- when 'INVALID_REQUEST' -%}{%- assign expected_status = 400 -%}
167
+ {%- when 'FORBIDDEN' -%}{%- assign expected_status = 403 -%}
168
+ {%- when 'ENTITY_NOT_FOUND' -%}{%- assign expected_status = 404 -%}
169
+ {%- when 'TASK_BUSY' -%}{%- assign expected_status = 409 -%}{%- assign expected_retryable = true -%}
170
+ {%- when 'IDENTITY_CONFLICT', 'KEY_AMBIGUOUS', 'IDENTITY_UNREPAIRABLE', 'IDENTITY_REPAIR_REQUIRED' -%}{%- assign expected_status = 409 -%}
171
+ {%- when 'NOTES_TOO_SHORT', 'UNKNOWN_COLUMN', 'KEY_MISSING', 'DUPLICATE_ROWS', 'INVALID_VALUE', 'ENTITY_NOT_WRITABLE' -%}{%- assign expected_status = 422 -%}
172
+ {%- when 'AUDIT_UNAVAILABLE' -%}{%- assign expected_status = 502 -%}{%- assign expected_retryable = true -%}
173
+ {%- endcase -%}
174
+ {%- assign detail_json = problem.detail | json -%}
175
+ {%- assign detail_marker = detail_json | slice: 0, 1 -%}
176
+ {%- if outputs.SAVE._response == nil and expected_status != 0 and outputs.SAVE.error.detail.status == expected_status and problem.status == expected_status and problem.retryable == expected_retryable and detail_marker == '"' and problem.detail != empty -%}
177
+ {{ problem.code }} — {{ problem.detail }}
178
+ {%- else -%}
179
+ SAVE_UNVERIFIED — The service could not confirm the save. The changes may have been saved. Check the dataset before running this action again. Nothing was resent automatically.
180
+ {%- endif -%}
181
+ metadata: { type: ERROR, button_title: Close }
182
+ next: FAILED
183
+ - key: DONE
184
+ type: RETURN
185
+ metadata:
186
+ status: SUCCESS
187
+ outputs:
188
+ changeId: "{{ outputs.SAVE.changeId }}"
189
+ summary: "jsonata:: outputs.SAVE.summary"
190
+ upserted: "jsonata:: $count(outputs.EDIT.upserts)"
191
+ removed: "jsonata:: $count(outputs.EDIT.removes)"
192
+ - key: NO_CHANGES
193
+ type: RETURN
194
+ metadata:
195
+ status: SUCCESS
196
+ outputs: { upserted: 0, removed: 0 }
197
+ - key: FAILED
198
+ type: RETURN
199
+ metadata:
200
+ status: FAILED
201
+ error: { code: SAVE_FAILED, message: The row changes were refused or their outcome is unknown }
202
+ - key: CANCELLED
203
+ type: RETURN
204
+ metadata: { status: CANCELLED }
205
+ ```
206
+
207
+ A controlled API refusal follows `next` to `CHECK_SAVED`. The failure display reads the nested error problem and checks the known code/status/retryable contract before showing its code/detail. HTTP500 `INTERNAL_ERROR`, malformed or contradictory answers and network loss instead show `SAVE_UNVERIFIED`, explain that the changes may have been saved and return FAILED. The display never claims rollback for an unknown outcome. The flow never retries automatically. SUCCESS confirms the change-set outcome, not downstream engine or provider execution. A no-change submission returns SUCCESS without calling changes, which refuses an empty set. IF metadata uses its native `${ … }` JSONata form; `jsonata::` is used in ordinary mapped fields and branch `next.if`, not this IF metadata slot.
208
+
@@ -1,13 +1,13 @@
1
1
  > Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
2
2
 
3
- ## RETURN
3
+ ## `RETURN`
4
4
 
5
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
6
 
7
7
  `metadata.status` is required and exactly `SUCCESS`, `FAILED` or `CANCELLED`:
8
8
 
9
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 strings describe the failure; no `outputs` member.
10
+ - FAILED requires `metadata.error: {code,message}`. Both are nonempty strings describing the failure; no `outputs` member.
11
11
  - CANCELLED has neither outputs nor error.
12
12
  - No `next`, `onCancelled`, top-level `outputs[]`, flow `successOutputs` alias or storage processor is accepted.
13
13
 
@@ -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-tables-tasks-objects
3
3
  description: "HexaSync data model: objects (tasks), tables and columns, objectAssociations, dependencies and dependency gates, task binding, physical storage, SAVE_TASK_DATA and explicit field mapping into snake_case columns. Use when defining a dataset, its storage or how tasks relate."
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/."
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.3"
8
- kb-bundle: "106"
7
+ version: "2611.14.1"
8
+ kb-bundle: "113"
9
9
  mcp-server: "hexasync-template-ide"
10
10
  ---
11
11
 
@@ -13,7 +13,7 @@ metadata:
13
13
 
14
14
  This page explains how a task, its table definition and its stored rows fit together, and owns the task-level `enqueue` and `dataProcessing` settings, the system columns every task table carries, the `systemColumns` presentation block and the `__status` bitmask. Individual `objects[]` fields are documented once, in [Tasks (`objects[]`)](references/objects.object.fields.md); business columns and index groups in [Tables and columns](references/tables.TABLES.fields.md).
15
15
 
16
- > Generated from the HexaSync knowledge base (asset bundle 106) by @beehexa/hexasync-ai-toolkit 2611.8.3.
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
 
@@ -56,4 +56,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
56
56
 
57
57
  ## Installing the MCP server
58
58
 
59
- 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.
59
+ 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@2611.8.3 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@2611.8.3`):
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@2611.8.3` |
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@2611.8.3"]}'` |
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,7 +25,7 @@ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2
25
25
  "command": "npx",
26
26
  "args": [
27
27
  "-y",
28
- "@beehexa/hexasync-template-ide-mcp@2611.8.3"
28
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
29
29
  ]
30
30
  }
31
31
  }
@@ -41,11 +41,11 @@ On native Windows use this launch:
41
41
  "/c",
42
42
  "npx",
43
43
  "-y",
44
- "@beehexa/hexasync-template-ide-mcp@2611.8.3"
44
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
45
45
  ]
46
46
  }
47
47
  ```
48
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.
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
50
 
51
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-templates
3
- description: "Start here for any HexaSync profile template YAML work: main.yaml, connectors, tasks/objects, tables, pullers, pushers, webhooks, worker steps, grouped frontend getReadyFlows, FrontendFlow, RETURN, frontend PUBLISH_EVENT and the RECORDS_FORM multi-record editor. Choose worker or frontend guidance before looking up syntax with the HexaSync Template IDE MCP server (orientation, explain_type, search_examples, explain_position, validate), or installing the server. Use when the user mentions HexaSync, template YAML, hexasync:// resources or a validation rule id."
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/."
3
+ description: "Start here for any HexaSync profile template YAML work: main.yaml, connectors, tasks/objects, tables, pullers, pushers, webhooks, worker steps, grouped frontend getReadyFlows, FrontendFlow, RETURN, FAIL, frontend PUBLISH_EVENT and the RECORDS_FORM multi-record editor. Choose worker or frontend guidance before looking up syntax with the HexaSync Template IDE MCP server (orientation, explain_type, search_examples, explain_position, validate), or installing the server. Use when the user mentions HexaSync, template YAML, hexasync:// resources or a validation rule id."
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.3"
8
- kb-bundle: "106"
7
+ version: "2611.14.1"
8
+ kb-bundle: "113"
9
9
  mcp-server: "hexasync-template-ide"
10
10
  ---
11
11
 
@@ -15,7 +15,7 @@ metadata:
15
15
 
16
16
  **When to use what.** Start with `id`, `name`, `description`, `connectors`. Add one `objects[]` task + `tables[]` definition + `objectAssociations` entry per dataset, then the pullers/pushers/webhooks that move it. Put shared tokens in `variables.yaml` and reuse other projects through `externals`. A sensible configuration keeps one collection per file (e.g. `tables/orders.yaml`, `pullers/orders.yaml`), stable literal UUIDs, and no legacy roots.
17
17
 
18
- > Generated from the HexaSync knowledge base (asset bundle 106) by @beehexa/hexasync-ai-toolkit 2611.8.3.
18
+ > Generated from the HexaSync knowledge base (asset bundle 113) by @beehexa/hexasync-ai-toolkit 2611.14.1.
19
19
 
20
20
  ## Where things are documented
21
21
 
@@ -24,7 +24,7 @@ metadata:
24
24
  | What belongs at the profile root? | [Profile root](references/PROFILE-ROOT.md) |
25
25
  | Where is a component or type documented? | [Vocabulary index](references/AI-INDEX.md) |
26
26
  | How do I compose a workflow and its steps? | [Workflow and step envelope](hexasync://docs/steps/STEP-ENVELOPE) |
27
- | How do I author grouped browser workflows? | [Frontend workflows, RETURN and PUBLISH_EVENT](references/frontend.FRONTEND-FLOWS.md) |
27
+ | How do I author grouped browser workflows? | [Frontend workflows, RETURN, FAIL and PUBLISH_EVENT](references/frontend.FRONTEND-FLOWS.md) |
28
28
  | Which context values and expression language can I use? | [Context and expressions](hexasync://docs/expressions/CONTEXT-AND-IO) |
29
29
  | How do I write QueryDSL? | [Query languages, grammar and examples](hexasync://docs/query-dsl/QUERY-DSL) |
30
30
  | How do I choose a step? | [Step catalogue](hexasync://docs/steps/INDEX) |
@@ -65,8 +65,9 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
65
65
 
66
66
  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.
67
67
 
68
- - Look up `hexasync_explain_type({"name":"FrontendFlow","runtime":"frontend"})`, `hexasync_explain_type({"name":"Step","runtime":"frontend"})`, `hexasync_explain_type({"name":"RETURN","runtime":"frontend"})`, `hexasync_explain_type({"name":"PUBLISH_EVENT","runtime":"frontend"})`, `hexasync_explain_type({"name":"RECORDS_FORM","runtime":"frontend"})`, `hexasync_explain_type({"name":"RECORDS_FORM.metadata","runtime":"frontend"})`. Always pass `runtime: 'frontend'`, including for names shared with worker types.
68
+ - Look up `hexasync_explain_type({"name":"FrontendFlow","runtime":"frontend"})`, `hexasync_explain_type({"name":"Step","runtime":"frontend"})`, `hexasync_explain_type({"name":"RETURN","runtime":"frontend"})`, `hexasync_explain_type({"name":"FAIL","runtime":"frontend"})`, `hexasync_explain_type({"name":"PUBLISH_EVENT","runtime":"frontend"})`, `hexasync_explain_type({"name":"RECORDS_FORM","runtime":"frontend"})`, `hexasync_explain_type({"name":"RECORDS_FORM.metadata","runtime":"frontend"})`. Always pass `runtime: 'frontend'`, including for names shared with worker types.
69
69
  - Retrieve complete grouped examples with `hexasync_search_examples({"feature":"frontend"})`.
70
+ - Keep each flow `key` and `dependsOn` reference within 128 characters, matching `^[A-Z][A-Z0-9_]*$`; longer values are invalid.
70
71
  - Before an expression, use `hexasync_explain_position({"position":"frontend-step"})` and the KB's current-flow context guidance.
71
72
  - 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.
72
73
 
@@ -76,4 +77,4 @@ For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend wor
76
77
 
77
78
  ## Installing the MCP server
78
79
 
79
- 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.
80
+ 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.
@@ -1,12 +1,12 @@
1
1
  <!-- GENERATED KNOWLEDGE INDEX — DO NOT EDIT. Run `yarn ai:index`. -->
2
2
  # HexaSync Profile Template Knowledge Base
3
3
 
4
- **Asset bundle 106 · extension 2611.8.3.**
4
+ **Asset bundle 113 · extension 2611.14.1.**
5
5
 
6
6
  ## Authoring boundaries
7
7
 
8
8
  - Worker Workflow steps and frontend creation/setup steps are different domains. Shared names do not make their payloads or execution interchangeable.
9
- - For grouped frontend `getReadyFlows`, start with [Frontend workflows](frontend.FRONTEND-FLOWS.md); use `runtime: frontend` for type lookup and `frontend-step` for expression position. Omitted runtime keeps worker meaning.
9
+ - For grouped frontend `getReadyFlows`, start with [Frontend workflows](frontend.FRONTEND-FLOWS.md); flow `key` and `dependsOn` references match `^[A-Z][A-Z0-9_]*$` with at most 128 characters. Use `runtime: frontend` for type lookup and `frontend-step` for expression position. Omitted runtime keeps worker meaning.
10
10
  - Use actual existing component and provider identities. Resolution and unresolved outcomes belong to each component contract.
11
11
  - Context roots depend on the workflow host and execution stage. A legal authoring root is not a promise that it exists at entry.
12
12
  - Examples explain inputs, prerequisites and expected effects.
@@ -18,12 +18,13 @@
18
18
  | --- | --- |
19
19
  | root collections, identities and includes | [Profile root](PROFILE-ROOT.md) |
20
20
  | frontend creation/setup/authorization steps and connector definitions | [Frontend steps](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md), [Connector definition](PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md) |
21
- | 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) |
21
+ | grouped frontend getReadyFlows, FrontendFlow/Step fields, RETURN, FAIL, PUBLISH_EVENT and RECORDS_FORM (multi-record edit; removes saved as disables) | [Frontend workflows](frontend.FRONTEND-FLOWS.md) |
22
+ | save task/reference row changes, preview, health, repair, per-row outcomes and coded refusals; unreleased worker.proxy PR #78 deployment gate | [Data routes](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md), [RECORDS_FORM change set](frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md), [File import](frontend.FRONTEND-FLOWS.records_form.file-import-path.md) |
22
23
  | Workflow selection, envelope, argument placement and flags | [Step envelope](hexasync://docs/steps/STEP-ENVELOPE) |
23
24
  | host/stage context, Scriban, JSONata and expression call sites | [Expressions and context](hexasync://docs/expressions/CONTEXT-AND-IO) |
24
25
  | next targets, branches, termination and loop guards | [Routing](hexasync://docs/routing/NEXT) |
25
26
  | response parsers and site-specific result handling | [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS) |
26
- | Builder DSL versus API Filter DSL | [QueryDSL](hexasync://docs/query-dsl/QUERY-DSL) |
27
+ | Builder DSL versus API Filter DSL; v2 next/prev cursors, invalid_cursor and single-page VALUE MAX/MIN | [QueryDSL](hexasync://docs/query-dsl/QUERY-DSL), [Entity V2 cursors](hexasync://docs/query-dsl/QUERY-DSL/filter-dsl-language-contract/filter-request-envelope#entity-v2-flat-fields-and-working-cursors) |
27
28
  | connection binding, options, auth and HTTP request builders | [Connections](hexasync://docs/connections/CONNECTIONS), [API](hexasync://docs/steps/API) |
28
29
  | self connector identity (`**SelfConnectorProviderId**`, `IS_SELF_CONNECTOR`) and why `CONN-1` names it | [The self connector](hexasync://docs/connections/CONNECTIONS/the-self-connector#its-identity-and-why-conn-1-names-it) |
29
30
  | pulling, pushing, ingress and startup hosts | [Pullers](hexasync://docs/pullers/PULLERS), [Pushers](hexasync://docs/pushers/PUSHERS), [Webhooks](hexasync://docs/webhooks/WEBHOOKS), [Startup](hexasync://docs/startupTasks/STARTUP-TASKS) |
@@ -65,8 +66,8 @@
65
66
 
66
67
  Registered but throwing (9): `Begin`, `Composite`, `End`, `GraphQL`, `Liquid`, `OData`, `QueryDSL`, `Restful`, `cURL`. Read their rejected forms and actual alternatives through the worker step index.
67
68
 
68
- ## Frontend declaration vocabulary (22)
69
- `API`, `BROWSER`, `FORM`, `GATEWAY_API`, `GET_LOCAL_STORAGE`, `HEALTH_CHECK_WORKER`, `IF`, `INTEGRATION_APP_MANAGEMENT`, `JSONATA`, `LIQUID`, `MULTIPLE_CHOICE_FORM`, `PUBLISH_EVENT`, `READ_QUERIES`, `RECORDS_FORM`, `REDIRECT`, `RETURN`, `SELECT_GOOGLE_DRIVE`, `SET_LOCAL_STORAGE`, `SHOW_INFO`, `SINGLE_CHOICE_FORM`, `SWITCH`, `WAIT`
69
+ ## Frontend declaration vocabulary (23)
70
+ `API`, `BROWSER`, `FAIL`, `FORM`, `GATEWAY_API`, `GET_LOCAL_STORAGE`, `HEALTH_CHECK_WORKER`, `IF`, `INTEGRATION_APP_MANAGEMENT`, `JSONATA`, `LIQUID`, `MULTIPLE_CHOICE_FORM`, `PUBLISH_EVENT`, `READ_QUERIES`, `RECORDS_FORM`, `REDIRECT`, `RETURN`, `SELECT_GOOGLE_DRIVE`, `SET_LOCAL_STORAGE`, `SHOW_INFO`, `SINGLE_CHOICE_FORM`, `SWITCH`, `WAIT`
70
71
 
71
72
  ## Transformation authoring vocabulary (12)
72
73
  `BulkClone`, `BulkRename`, `Clone`, `Jsonata`, `Nested_SQL`, `None`, `QUERY_MANY`, `QUERY_SINGLE`, `RESOLVE_RAW_DATA`, `Rename`, `SQL`, `Scriban`
@@ -83,8 +84,8 @@ Declaration-only members and datetime deployment prerequisites are explained on
83
84
  `ARG`, `FIELD`, `PARAM`, `QUERY`, `VALUE`
84
85
  API Filter DSL has its own predicate vocabulary, request envelope and bit-mask semantics; do not substitute Builder syntax.
85
86
 
86
- ## Editor/CLI diagnostic rule IDs (77)
87
- `API-1`, `API-2`, `ARG-1`, `ARG-2`, `ARG-3`, `ARG-4`, `ARG-5`, `ARG-6`, `ARG-7`, `COL-1`, `CONN-0`, `CONN-1`, `CONN-2`, `CONN-3`, `CONN-4`, `CONN-5`, `CTX-1`, `CTX-2`, `CTX-3`, `DEP-1`, `DRIFT-1`, `DUP-1`, `DUP-3`, `DUP-4`, `DUP-5`, `FFE-0`, `FFE-1`, `FFE-10`, `FFE-11`, `FFE-12`, `FFE-2`, `FFE-3`, `FFE-4`, `FFE-5`, `FFE-6`, `FFE-7`, `FFE-8`, `FFE-9`, `FLOW-3`, `FLOW-4`, `FLOW-5`, `FLOW-6`, `FLOW-7`, `FLOW-8`, `MDI-1`, `OVW-1`, `PLK-1`, `PLK-2`, `QDSL-1`, `REF-1`, `REF-13`, `REF-15`, `REF-16`, `REF-2`, `REF-3`, `REF-5`, `REF-6`, `REF-7`, `REF-9`, `REF-K1`, `REF-K2`, `RET-1`, `STEP-1`, `STEP-2`, `STEP-3`, `TBL-1`, `TBL-2`, `TBL-3`, `TBL-4`, `TBL-5`, `TBL-6`, `TBL-7`, `UNIMP-1`, `VAR-1`, `VAR-2`, `VAR-3`, `VAR-4`
87
+ ## Editor/CLI diagnostic rule IDs (79)
88
+ `API-1`, `API-2`, `ARG-1`, `ARG-2`, `ARG-3`, `ARG-4`, `ARG-5`, `ARG-6`, `ARG-7`, `COL-1`, `CONN-0`, `CONN-1`, `CONN-2`, `CONN-3`, `CONN-4`, `CONN-5`, `CTX-1`, `CTX-2`, `CTX-3`, `DEP-1`, `DRIFT-1`, `DUP-1`, `DUP-3`, `DUP-4`, `DUP-5`, `FFE-0`, `FFE-1`, `FFE-10`, `FFE-11`, `FFE-12`, `FFE-13`, `FFE-14`, `FFE-2`, `FFE-3`, `FFE-4`, `FFE-5`, `FFE-6`, `FFE-7`, `FFE-8`, `FFE-9`, `FLOW-3`, `FLOW-4`, `FLOW-5`, `FLOW-6`, `FLOW-7`, `FLOW-8`, `MDI-1`, `OVW-1`, `PLK-1`, `PLK-2`, `QDSL-1`, `REF-1`, `REF-13`, `REF-15`, `REF-16`, `REF-2`, `REF-3`, `REF-5`, `REF-6`, `REF-7`, `REF-9`, `REF-K1`, `REF-K2`, `RET-1`, `STEP-1`, `STEP-2`, `STEP-3`, `TBL-1`, `TBL-2`, `TBL-3`, `TBL-4`, `TBL-5`, `TBL-6`, `TBL-7`, `UNIMP-1`, `VAR-1`, `VAR-2`, `VAR-3`, `VAR-4`
88
89
  Use `hexasync_explain_rule` for diagnostic meaning and consequences.
89
90
 
90
91
  ## Catalog systems with connector codes (16)
@@ -121,7 +122,7 @@ Catalog presence does not create an executable connector or an authentication sc
121
122
  - `resources/list` and `resources/read` expose the component pages and shipped schema data without a private source checkout.
122
123
  - `hexasync_explain_type` reads [step inputs](hexasync://assets/steps/inputs.json) and [step results](hexasync://assets/steps/outputs.json); read the component page for conditional output branches.
123
124
  - `hexasync_explain_position` describes the static authoring position; use the context page for host/stage availability.
124
- - `hexasync_search_examples` reads [1292 authored YAML examples](hexasync://assets/docs/examples.json), including their surrounding explanation and component page. Fragments are not necessarily complete profiles or successful-input examples. Connector identity is not guessed.
125
+ - `hexasync_search_examples` reads [1298 authored YAML examples](hexasync://assets/docs/examples.json), including their surrounding explanation and component page. Fragments are not necessarily complete profiles or successful-input examples. Connector identity is not guessed.
125
126
  - `hexasync_list_connectors` reads the [connector catalog](hexasync://assets/connectors/catalog.json); use existing workspace identities rather than inventing IDs.
126
127
  - This server never calls the gateway. Webhook resources, captured deliveries and replay are tools of the separately signed-in hosted Gateway MCP; read the [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow) before asking the user.
127
128
  - [Root schema](hexasync://assets/main.json) reaches component item contracts. The [full knowledge index](KB-INDEX.md) is the navigation entry.
@@ -36,6 +36,7 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
36
36
  - [startupTasks](PROFILE-ROOT.profile-root-fields-1.startuptasks.md)
37
37
  - [recommendations](PROFILE-ROOT.profile-root-fields-1.recommendations.md)
38
38
  - [creationSteps](PROFILE-ROOT.profile-root-fields-1.creationsteps.md)
39
+ - [getReadyFlows](PROFILE-ROOT.profile-root-fields-1.getreadyflows.md)
39
40
  - [thumbnail](PROFILE-ROOT.profile-root-fields-1.thumbnail.md)
40
41
  - [databaseName](PROFILE-ROOT.profile-root-fields-1.databasename.md)
41
42
  - [noSchedules](PROFILE-ROOT.profile-root-fields-1.noschedules.md)
@@ -52,6 +53,7 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
52
53
  - [BROWSER](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md)
53
54
  - [REDIRECT](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md)
54
55
  - [SHOW_INFO](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md)
56
+ - [FAIL](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.fail.md)
55
57
  - [GET_LOCAL_STORAGE / SET_LOCAL_STORAGE](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md)
56
58
  - [WAIT](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md)
57
59
  - [IF / SWITCH](PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md)
@@ -70,9 +72,7 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
70
72
  - [Rejected reference forms and safe correction](PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md)
71
73
  - [Minimal worker-facing profile](PROFILE-ROOT.minimal-worker-facing-profile.md)
72
74
  - [Composed and render-only metadata](PROFILE-ROOT.composed-and-render-only-metadata.md)
73
- - [getReadyFlows](PROFILE-ROOT.profile-root-fields-1.getreadyflows.md)
74
75
  - [Related](PROFILE-ROOT.related.md)
75
- - [getReadyFlows](PROFILE-ROOT.getreadyflows-1.md)
76
76
  - [Profile root fields](PROFILE-ROOT.profile-root-fields-1.md)
77
77
 
78
78
  ### Frontend workflows
@@ -81,8 +81,12 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
81
81
  - [Grouped readiness flows](frontend.FRONTEND-FLOWS.grouped-readiness-flows.md)
82
82
  - [Frontend Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md)
83
83
  - [RETURN](frontend.FRONTEND-FLOWS.return.md)
84
+ - [FAIL](frontend.FRONTEND-FLOWS.fail.md)
84
85
  - [PUBLISH_EVENT](frontend.FRONTEND-FLOWS.publish_event.md)
86
+ - [Task and reference data changes](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md)
85
87
  - [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md)
88
+ - [RECORDS_FORM change-set path](frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md)
89
+ - [File-import path](frontend.FRONTEND-FLOWS.records_form.file-import-path.md)
86
90
  - [Rejected forms (non-copyable)](frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md)
87
91
  - [Preview and source navigation](frontend.FRONTEND-FLOWS.preview-and-source-navigation.md)
88
92
  - [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@2611.8.3 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@2611.8.3`):
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@2611.8.3` |
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@2611.8.3"]}'` |
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,7 +25,7 @@ Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@2
25
25
  "command": "npx",
26
26
  "args": [
27
27
  "-y",
28
- "@beehexa/hexasync-template-ide-mcp@2611.8.3"
28
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
29
29
  ]
30
30
  }
31
31
  }
@@ -41,11 +41,11 @@ On native Windows use this launch:
41
41
  "/c",
42
42
  "npx",
43
43
  "-y",
44
- "@beehexa/hexasync-template-ide-mcp@2611.8.3"
44
+ "@beehexa/hexasync-template-ide-mcp@2611.14.1"
45
45
  ]
46
46
  }
47
47
  ```
48
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.
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
50
 
51
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.