@beehexa/hexasync-ai-toolkit 2611.14.1 → 2612.3.2
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 +2 -2
- package/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +3 -4
- package/.cursor-plugin/plugin.json +3 -4
- package/README.md +5 -74
- package/dist/cli.js +15 -2070
- package/gemini-extension.json +2 -11
- package/openclaw.extension.mjs +2 -3
- package/openclaw.plugin.json +2 -2
- package/package.json +3 -4
- package/plugin.json +3 -4
- package/skills/hexasync-connections/SKILL.md +10 -25
- package/skills/hexasync-connections/references/INDEX.md +4 -4
- package/skills/hexasync-connections/references/INSTALL.md +5 -48
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +1 -1
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +1 -1
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +5 -5
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-error-handling/SKILL.md +9 -16
- package/skills/hexasync-error-handling/references/INDEX.md +1 -1
- package/skills/hexasync-error-handling/references/INSTALL.md +5 -48
- package/skills/hexasync-error-handling/references/routing.NEXT.md +10 -10
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +5 -5
- package/skills/hexasync-error-handling/references/steps.Error.md +8 -8
- package/skills/hexasync-expressions/SKILL.md +10 -25
- package/skills/hexasync-expressions/references/INDEX.md +3 -3
- package/skills/hexasync-expressions/references/INSTALL.md +5 -48
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +4 -4
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +17 -17
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +10 -10
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-expressions/references/steps.JSONata.md +8 -8
- package/skills/hexasync-expressions/references/steps.Liquid.md +2 -2
- package/skills/hexasync-expressions/references/steps.Scriban.md +9 -9
- package/skills/hexasync-field-mapping/SKILL.md +13 -19
- package/skills/hexasync-field-mapping/references/INDEX.md +2 -2
- package/skills/hexasync-field-mapping/references/INSTALL.md +5 -48
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +19 -19
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +5 -5
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +6 -6
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +2 -2
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +4 -4
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +1 -1
- package/skills/hexasync-metrics-reports/SKILL.md +9 -16
- package/skills/hexasync-metrics-reports/references/INDEX.md +1 -1
- package/skills/hexasync-metrics-reports/references/INSTALL.md +5 -48
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +1 -1
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +1 -1
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +2 -2
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +4 -4
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +1 -1
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +4 -4
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +2 -2
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +8 -8
- package/skills/hexasync-pullers/SKILL.md +11 -18
- package/skills/hexasync-pullers/references/INDEX.md +3 -3
- package/skills/hexasync-pullers/references/INSTALL.md +5 -48
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +3 -3
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +6 -6
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +6 -6
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +7 -7
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +2 -2
- package/skills/hexasync-pullers/references/steps.PULLER.md +8 -8
- package/skills/hexasync-pushers/SKILL.md +20 -22
- package/skills/hexasync-pushers/references/INDEX.md +2 -2
- package/skills/hexasync-pushers/references/INSTALL.md +5 -48
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +3 -3
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +4 -4
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +3 -3
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +6 -6
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +4 -4
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +1 -1
- package/skills/hexasync-pushers/references/steps.PUSHER.md +8 -8
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +14 -14
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +13 -13
- package/skills/hexasync-query-dsl/SKILL.md +13 -17
- package/skills/hexasync-query-dsl/references/INDEX.md +1 -1
- package/skills/hexasync-query-dsl/references/INSTALL.md +5 -48
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +4 -4
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +5 -5
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +4 -4
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +7 -7
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +9 -9
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +9 -9
- package/skills/hexasync-query-dsl/references/steps.SQL.md +12 -12
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +9 -9
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +9 -16
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +3 -3
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +5 -48
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +3 -3
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +1 -1
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +5 -5
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +6 -6
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +2 -2
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +9 -9
- package/skills/hexasync-steps-api-http/SKILL.md +20 -27
- package/skills/hexasync-steps-api-http/references/INDEX.md +4 -4
- package/skills/hexasync-steps-api-http/references/INSTALL.md +5 -48
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +2 -2
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +4 -4
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +7 -7
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +4 -4
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +90 -90
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +16 -16
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +4 -4
- package/skills/hexasync-steps-control-data/SKILL.md +24 -30
- package/skills/hexasync-steps-control-data/references/INDEX.md +3 -3
- package/skills/hexasync-steps-control-data/references/INSTALL.md +5 -48
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +23 -23
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.End.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +6 -6
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.IF.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +48 -48
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +2 -2
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +8 -8
- package/skills/hexasync-steps-control-data/references/steps.OData.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +5 -5
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +11 -11
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +6 -6
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +10 -10
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +8 -8
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +13 -13
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +5 -5
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +8 -8
- package/skills/hexasync-tables-tasks-objects/SKILL.md +11 -18
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +5 -48
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +7 -7
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +4 -4
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +16 -16
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +3 -3
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +5 -5
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +6 -6
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +1 -1
- package/skills/hexasync-templates/SKILL.md +16 -31
- package/skills/hexasync-templates/references/AI-INDEX.md +31 -31
- package/skills/hexasync-templates/references/INDEX.md +3 -2
- package/skills/hexasync-templates/references/INSTALL.md +5 -48
- package/skills/hexasync-templates/references/KB-INDEX.md +98 -98
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +2 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +10 -10
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api_proxy.md +69 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +3 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +4 -4
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.getreadyflows.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-transformations/SKILL.md +9 -16
- package/skills/hexasync-transformations/references/INDEX.md +2 -2
- package/skills/hexasync-transformations/references/INSTALL.md +5 -48
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +6 -6
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +2 -2
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +4 -4
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +1 -1
- package/skills/hexasync-validations/SKILL.md +9 -16
- package/skills/hexasync-validations/references/INDEX.md +1 -1
- package/skills/hexasync-validations/references/INSTALL.md +5 -48
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +6 -6
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +1 -1
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +2 -2
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +1 -1
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +1 -1
- package/skills/hexasync-webhooks/SKILL.md +12 -19
- package/skills/hexasync-webhooks/references/INDEX.md +2 -2
- package/skills/hexasync-webhooks/references/INSTALL.md +5 -48
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +7 -7
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +10 -10
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +6 -6
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +6 -6
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +3 -3
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +1 -1
- package/.cursor-plugin/mcp.json +0 -12
- package/.mcp.json +0 -11
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
|
@@ -1,36 +1,29 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hexasync-pushers
|
|
3
3
|
description: "HexaSync pushers: push workflows, item selection, destination request bodies, update vs create, sync status and item status updates, retries and failure handling when sending task rows to a destination API. Use when writing, reviewing or debugging a pusher."
|
|
4
|
-
compatibility: "Loaded conditionally by Agent Skills hosts.
|
|
4
|
+
compatibility: "Loaded conditionally by Agent Skills hosts. Connect HexaSync Template Development Standards on AI Gateway for current reference documents."
|
|
5
5
|
metadata:
|
|
6
6
|
author: BeeHexa
|
|
7
|
-
version: "
|
|
8
|
-
kb-bundle: "
|
|
9
|
-
mcp-server: "hexasync-template-
|
|
7
|
+
version: "2612.3.2"
|
|
8
|
+
kb-bundle: "115"
|
|
9
|
+
mcp-server: "hexasync-template-development-standards"
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# Pushers: writing records to a destination system
|
|
13
13
|
|
|
14
14
|
A **pusher** sends one task item to a destination system and reports one result for it: the
|
|
15
15
|
destination ID and whether the destination accepted the write. Its step lists are placements of the
|
|
16
|
-
|
|
16
|
+
one canonical Workflow component (search the standards MCP),
|
|
17
17
|
not a separate step grammar.
|
|
18
18
|
|
|
19
|
-
> Generated from the HexaSync knowledge base (asset bundle
|
|
19
|
+
> Generated from the HexaSync knowledge base (asset bundle 115) by @beehexa/hexasync-ai-toolkit 2612.3.2.
|
|
20
20
|
|
|
21
21
|
## How to work
|
|
22
22
|
|
|
23
|
-
The host loads this skill conditionally
|
|
24
|
-
|
|
25
|
-
When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
|
|
23
|
+
The host loads this skill conditionally. Choose worker or frontend according to the owning collection.
|
|
24
|
+
Connect the HexaSync Template Development Standards MCP on AI Gateway and use its document search and read tools to look up the current reference before writing YAML. Search for pushers, PUSHER and relevant examples (pusher create update destination); follow related document references. Read the returned document sections and pagination as needed.
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
2. `hexasync_explain_type` before writing any field. Worker/data lookups for this family: `hexasync_explain_type({"name":"pushers","runtime":"worker"})`, `hexasync_explain_type({"name":"PUSHER","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
29
|
-
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `pusher create update destination`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
|
|
30
|
-
4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
|
|
31
|
-
5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
|
|
32
|
-
|
|
33
|
-
Never infer syntax from YAML already in the workspace: it may be outdated or wrong. The knowledge base and the MCP tools are authoritative. Use actual identities from the workspace or `hexasync_list_connectors`; never invent one.
|
|
26
|
+
Do not assume the remote wiki provides the former local `hexasync_*` tools or workspace validation. Validate with the editor or an available project validation tool, and report when validation is unavailable. Never invent project identities or infer syntax solely from existing workspace YAML.
|
|
34
27
|
|
|
35
28
|
## Best practices (from the knowledge base)
|
|
36
29
|
|
|
@@ -39,17 +32,22 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
|
|
|
39
32
|
- **Avoid duplicate pushes.** Put exactly one destination write in `pushSteps`; never write to the destination from Before, After or Final, and never re-send from After to "retry". Locks stop concurrent local attempts only; use `customLockKey` to serialize items that update the same destination record. Keep steps before the write in a phase side-effect free, because a connector restart re-runs the phase from its root. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
40
33
|
- **Honest results.** Derive `isSuccess` from the destination response and return the real `id` on create. Constant success hides failures and saves bogus identities; an `isFailed`-only filter is rejected. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
41
34
|
- **Rate limits.** Let the connection handle 429 waits and authentication refresh; do not add sleep loops or retry `next` cycles in step lists. An unaccepted HTTP status fails the step, which records the error and schedules an item retry with Fibonacci backoff. Accept a business-error status only when you parse it into `isFailed`/`message`, so the item is rejected and retried rather than spinning. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
42
|
-
- **One classifier per destination call.** Turn status, thrown calls and invalid bodies into one verdict with a single JSONata/Scriban expression, then branch once (IF + `Error`, or a `isFailed`/`message` result); add a step only for a genuinely different action such as a lookup or a fallback create (
|
|
43
|
-
- **Explicit request bodies.** Name every destination member and the snake_case column it comes from (`orderNumber: '{{ item.order_number }}'`); never send the whole item (
|
|
44
|
-
- **Avoid infinite loops.** A push must not change the item it is pushing in a way that marks it Changed again (for example writing pushed values back into tracked columns from After), or every release re-queues it. Keep `next` routing acyclic or bounded within a phase (
|
|
35
|
+
- **One classifier per destination call.** Turn status, thrown calls and invalid bodies into one verdict with a single JSONata/Scriban expression, then branch once (IF + `Error`, or a `isFailed`/`message` result); add a step only for a genuinely different action such as a lookup or a fallback create (Classify once, raise once (search the standards MCP)). _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
36
|
+
- **Explicit request bodies.** Name every destination member and the snake_case column it comes from (`orderNumber: '{{ item.order_number }}'`); never send the whole item (explicit mapping for push (search the standards MCP)). _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
37
|
+
- **Avoid infinite loops.** A push must not change the item it is pushing in a way that marks it Changed again (for example writing pushed values back into tracked columns from After), or every release re-queues it. Keep `next` routing acyclic or bounded within a phase (loop guards (search the standards MCP)). Association transforms targeting tasks that route back to the source create the same cycle. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
45
38
|
- **Indirect completion.** Use indirect mode only when a separate, verified completion signal exists, otherwise items stay in Pushing forever. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
46
39
|
- **Deterministic preparation.** Item transformations may run more than once per push; keep them pure. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
47
|
-
- Prefer
|
|
40
|
+
- Prefer ENQUEUER (search the standards MCP) for many items: queued pushes respect concurrency and scheduling; a synchronous `PUSHER` per item makes the parent flow as slow as all pushes combined. _([PUSHER — push one stored item now](references/steps.PUSHER.md#best-practices))_
|
|
48
41
|
- Use `noError: true` only together with an explicit `has_error` check; otherwise failures silently pass. _([PUSHER — push one stored item now](references/steps.PUSHER.md#best-practices))_
|
|
49
42
|
- Keep `force_push` off by default; turning it on overrides an operator's decision to stop pushing. _([PUSHER — push one stored item now](references/steps.PUSHER.md#best-practices))_
|
|
50
43
|
- Avoid pushing the item that is currently being pushed (from its own pusher flow): the lock makes it a silent no-op. _([PUSHER — push one stored item now](references/steps.PUSHER.md#best-practices))_
|
|
51
44
|
- Prefer status names over integer masks because names are self-describing and an unknown name fails loudly instead of setting an unintended bit. _([UPDATE_ITEM_STATUS — Update Item Status](references/steps.UPDATE_ITEM_STATUS.md#best-practices))_
|
|
52
|
-
-
|
|
45
|
+
- Prefer an array-constructor expression (`'[path.__id]'`) over a bare path because a single match otherwise evaluates to a scalar and fails. _([UPDATE_ITEM_STATUS — Update Item Status](references/steps.UPDATE_ITEM_STATUS.md#best-practices))_
|
|
46
|
+
- Prefer this step over a broad predicate update when you already know the ids, because it cannot touch unselected rows. _([UPDATE_ITEM_STATUS — Update Item Status](references/steps.UPDATE_ITEM_STATUS.md#best-practices))_
|
|
47
|
+
- Avoid treating `affected` as "rows changed": it counts matched rows, including rows already in the requested state. _([UPDATE_ITEM_STATUS — Update Item Status](references/steps.UPDATE_ITEM_STATUS.md#best-practices))_
|
|
48
|
+
- Branch on the presence of `_outputs.<key>.affected` when downstream logic must distinguish a no-op (`{}`) from a zero-match update (`{affected: 0}`). _([UPDATE_ITEM_STATUS — Update Item Status](references/steps.UPDATE_ITEM_STATUS.md#best-practices))_
|
|
49
|
+
- Avoid using `includes: [None]` to "clear" a status; list the bits to remove in `excludes`. _([UPDATE_ITEM_STATUS — Update Item Status](references/steps.UPDATE_ITEM_STATUS.md#best-practices))_
|
|
50
|
+
- 7 more of 27: every page's own *Best practices* section is in [`references/`](references/INDEX.md).
|
|
53
51
|
|
|
54
52
|
## References
|
|
55
53
|
|
|
@@ -57,4 +55,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
|
|
|
57
55
|
|
|
58
56
|
## Installing the MCP server
|
|
59
57
|
|
|
60
|
-
|
|
58
|
+
Connect the remote standards MCP using [`references/INSTALL.md`](references/INSTALL.md).
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# References — Pushers: writing records to a destination system
|
|
2
2
|
|
|
3
|
-
Each file is one knowledge-base section of at most 25 KB, the same split the MCP server serves. Links between
|
|
3
|
+
Each file is one knowledge-base section of at most 25 KB, the same split the MCP server serves. Links between packaged sections are relative. For other references, search the connected standards MCP by document title.
|
|
4
4
|
|
|
5
5
|
## Questions this skill answers
|
|
6
6
|
|
|
7
|
-
- pulling, pushing, ingress and startup hosts →
|
|
7
|
+
- pulling, pushing, ingress and startup hosts → Pullers (search the standards MCP), [Pushers](pushers.PUSHERS.md), Webhooks (search the standards MCP), Startup (search the standards MCP)
|
|
8
8
|
|
|
9
9
|
## Sections
|
|
10
10
|
|
|
@@ -1,51 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Connect the HexaSync standards MCP
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The standards MCP runs on AI Gateway. Connect your AI client using the HexaSync Control Center connection instructions. The toolkit installs skills only and does not change MCP configuration.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
```
|
|
5
|
+
Server: `https://ai-gateway.hexasync.dev/mcp/wiki/hexasync-template-development-standards`
|
|
6
|
+
OAuth client ID: `hexasync-mcp`; leave the client secret empty and sign in with HexaSync IAM.
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
| Client | Registration |
|
|
12
|
-
| --- | --- |
|
|
13
|
-
| Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1` |
|
|
14
|
-
| Codex | `mcp_servers` in `~/.codex/config.toml` |
|
|
15
|
-
| Cursor | `mcpServers` in `~/.cursor/mcp.json` |
|
|
16
|
-
| Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
|
|
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.14.1"]}'` |
|
|
19
|
-
| VS Code | `servers` in the user `mcp.json` |
|
|
20
|
-
|
|
21
|
-
```json
|
|
22
|
-
{
|
|
23
|
-
"mcpServers": {
|
|
24
|
-
"hexasync-template-ide": {
|
|
25
|
-
"command": "npx",
|
|
26
|
-
"args": [
|
|
27
|
-
"-y",
|
|
28
|
-
"@beehexa/hexasync-template-ide-mcp@2611.14.1"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
```
|
|
34
|
-
|
|
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.
|
|
8
|
+
In Control Center open **AI Gateway → MCP Servers → HexaSync Template Development Standards → Connection**. Each client configuration directory has its own server setup and sign-in.
|
|
@@ -34,5 +34,5 @@ objectAssociations:
|
|
|
34
34
|
|
|
35
35
|
Use this route only for local fan-out. For a real destination, remove `transformations`; for
|
|
36
36
|
asynchronous destinations use the ordinary indirect push. See
|
|
37
|
-
|
|
37
|
+
association ownership (search the standards MCP).
|
|
38
38
|
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
- **One classifier per destination call.** Turn status, thrown calls and invalid bodies into one
|
|
24
24
|
verdict with a single JSONata/Scriban expression, then branch once (IF + `Error`, or a
|
|
25
25
|
`isFailed`/`message` result); add a step only for a genuinely different action such as a lookup or
|
|
26
|
-
a fallback create (
|
|
26
|
+
a fallback create (Classify once, raise once (search the standards MCP)).
|
|
27
27
|
- **Explicit request bodies.** Name every destination member and the snake_case column it comes
|
|
28
28
|
from (`orderNumber: '{{ item.order_number }}'`); never send the whole item
|
|
29
|
-
(
|
|
29
|
+
(explicit mapping for push (search the standards MCP)).
|
|
30
30
|
- **Avoid infinite loops.** A push must not change the item it is pushing in a way that marks it
|
|
31
31
|
Changed again (for example writing pushed values back into tracked columns from After), or every
|
|
32
32
|
release re-queues it. Keep `next` routing acyclic or bounded within a phase
|
|
33
|
-
(
|
|
33
|
+
(loop guards (search the standards MCP)). Association transforms targeting tasks that route back
|
|
34
34
|
to the source create the same cycle.
|
|
35
35
|
- **Indirect completion.** Use indirect mode only when a separate, verified completion signal exists,
|
|
36
36
|
otherwise items stay in Pushing forever.
|
package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md
CHANGED
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
On entry to a phase `_outputs` can still show the previous phase until its first step succeeds; name
|
|
24
24
|
phases explicitly with `pusher.before/current/after/final`. There is no `pusher.lastToken`, no puller
|
|
25
25
|
paging root and no automatic `error` root. Shared language rules:
|
|
26
|
-
|
|
26
|
+
runtime scope (search the standards MCP).
|
|
27
27
|
|
|
@@ -22,9 +22,9 @@ Paths are relative to one `pushers[]` entry. The entry is a closed object: only
|
|
|
22
22
|
| `responseFilters.<group>.isIndirect` | `isIndirect: { expression: <expr> }` | no | false |
|
|
23
23
|
|
|
24
24
|
`isIndirect`, `transformations` and `customLockKey` are **not** pusher fields; they belong to the
|
|
25
|
-
|
|
25
|
+
association's `pusher` branch (search the standards MCP). Nested step
|
|
26
26
|
keys (`key`, `displayType`, `data`, `rootStep`, `next`, error routing) follow the
|
|
27
|
-
|
|
27
|
+
step envelope (search the standards MCP) and routing (search the standards MCP).
|
|
28
28
|
|
|
29
29
|
### id
|
|
30
30
|
|
|
@@ -105,7 +105,7 @@ Syntax: `options: <list of object | null>`
|
|
|
105
105
|
populated before Before runs. Each entry needs `key` and `value`; the pusher reads `value` only and
|
|
106
106
|
does **not** fall back to an option's `defaultValue`. Duplicate keys fail when the dictionary is
|
|
107
107
|
built. Omitted, `null` and `[]` all give an empty `pusher.options`. The option shape is shared with
|
|
108
|
-
|
|
108
|
+
connections (search the standards MCP).
|
|
109
109
|
|
|
110
110
|
A list variant; steps read the value as `{{ pusher.options.warehouse }}`:
|
|
111
111
|
|
|
@@ -286,7 +286,7 @@ name to a leaf with `expression`. Required, and at least one group must define `
|
|
|
286
286
|
Groups other than `scriban` run first and merge their outputs (a later group overwrites an earlier
|
|
287
287
|
same-named result; do not rely on a fixed order between them). `scriban` runs **last**, can read earlier
|
|
288
288
|
results through `filters.<group>`, and its same-named outputs win. Leaf syntax and parser details:
|
|
289
|
-
|
|
289
|
+
response filters (search the standards MCP).
|
|
290
290
|
|
|
291
291
|
A single `scriban` group — the usual choice:
|
|
292
292
|
|
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
Each phase is its own traversal: mark its entry with `rootStep: true`; `next` cannot jump into another
|
|
13
13
|
phase, and an unresolved nonempty target fails instead of running an unrelated step. A pusher has no
|
|
14
14
|
`steps` or `onErrorSteps` list; per-step recovery follows the
|
|
15
|
-
|
|
15
|
+
shared workflow contract (search the standards MCP).
|
|
16
16
|
Association-transform routing bypasses **all four** lists, including Final.
|
|
17
17
|
|
|
@@ -16,8 +16,8 @@ The item is indirect when **any** of these is true:
|
|
|
16
16
|
- the merged result `isIndirect` renders `true`.
|
|
17
17
|
|
|
18
18
|
Set the flag on the association, or derive it in `responseFilters`; `pushers[]` has no `isIndirect`
|
|
19
|
-
field. See
|
|
20
|
-
|
|
19
|
+
field. See object associations (search the standards MCP) and
|
|
20
|
+
task statuses (search the standards MCP).
|
|
21
21
|
|
|
22
22
|
An association that makes every push of this task indirect:
|
|
23
23
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
A **pusher** sends one task item to a destination system and reports one result for it: the
|
|
6
6
|
destination ID and whether the destination accepted the write. Its step lists are placements of the
|
|
7
|
-
|
|
7
|
+
one canonical Workflow component (search the standards MCP),
|
|
8
8
|
not a separate step grammar.
|
|
9
9
|
|
|
10
10
|
**Syntax**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Minimal configuration
|
|
4
4
|
|
|
5
|
-
Assume an item `{sku: A-1}`, a destination
|
|
5
|
+
Assume an item `{sku: A-1}`, a destination connection (search the standards MCP) at the
|
|
6
6
|
illustrated GUID, and a create endpoint returning JSON `{ "id": "remote-42" }`. The API step extracts
|
|
7
7
|
`id`; the pusher then reads that step output instead of treating HTTP success as completion.
|
|
8
8
|
|
|
@@ -41,5 +41,5 @@ pushers:
|
|
|
41
41
|
Current output is `{ "SEND": { "id": "remote-42" } }`. The filters yield a nonblank ID and true
|
|
42
42
|
success, so the item is released with destination ID `remote-42`. A thrown connector error or a
|
|
43
43
|
missing returned ID is **not** success. Without step-level filters an API step outputs `headers`,
|
|
44
|
-
`cookies` and `body`; see
|
|
44
|
+
`cookies` and `body`; see API (search the standards MCP).
|
|
45
45
|
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
context. Before outputs are never the push result. An escaping error skips Current/After and attempts
|
|
9
9
|
Final; early exits and transform routing never enter this phase.
|
|
10
10
|
|
|
11
|
-
A composed preparation list using
|
|
12
|
-
|
|
11
|
+
A composed preparation list using Scriban (search the standards MCP) and
|
|
12
|
+
local `next` (search the standards MCP) (fragment on an existing pusher):
|
|
13
13
|
|
|
14
14
|
```yaml
|
|
15
15
|
beforePushSteps:
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
## Placement contracts
|
|
4
4
|
|
|
5
5
|
Selectors are relative to the selected `pushers[]` entry and use the shared
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
Workflow (search the standards MCP),
|
|
7
|
+
runtime scope (search the standards MCP) and
|
|
8
|
+
arguments/routing (search the standards MCP). Rendering a phase in a
|
|
9
9
|
diagram is not evidence that it ran.
|
|
10
10
|
|
|
@@ -28,8 +28,8 @@ finalSteps:
|
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
Neither step releases an item or reverses a write. External cleanup must use an idempotent executor
|
|
31
|
-
from the
|
|
32
|
-
root (
|
|
31
|
+
from the step catalog (search the standards MCP), because a connector restart re-runs the Final
|
|
32
|
+
root (connector restart (search the standards MCP)).
|
|
33
33
|
|
|
34
34
|
### Composed ordinary phase example
|
|
35
35
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Related
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
5
|
+
- Workflow placement, arguments and error handling (search the standards MCP)
|
|
6
|
+
- Pullers (search the standards MCP) — different lifecycle and roots
|
|
7
|
+
- Object associations (search the standards MCP) — `pusher.id`, `isIndirect`, `transformations`, `customLockKey`
|
|
8
|
+
- Transformations (search the standards MCP) — item transforms before phase entry
|
|
9
|
+
- Task statuses and destination IDs (search the standards MCP)
|
|
10
|
+
- Response filters (search the standards MCP)
|
package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
2. **Resolve.** Load the stored row, enrich it with stored raw data when available (stored columns
|
|
11
11
|
win), resolve dependencies, then run item transformations in index order. Dependency lookup uses the
|
|
12
12
|
pre-transformation item. Validity is read from the original stored `__is_valid`; changing fields
|
|
13
|
-
in a transformation does not revalidate. See
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
in a transformation does not revalidate. See dependencies (search the standards MCP),
|
|
14
|
+
transformations (search the standards MCP),
|
|
15
|
+
validation (search the standards MCP).
|
|
16
16
|
3. **Early exits.** A missing pusher or item, an ignored item (`[ignored]` destination or Ignore status),
|
|
17
17
|
an invalid item, or (queue only) a row whose hash changed since enqueue stops before any phase. Final
|
|
18
18
|
steps and the error/retry write do not run for these exits. A custom lock key may resolve the item
|
|
@@ -36,7 +36,7 @@ remote write succeeded.
|
|
|
36
36
|
**Connector restart.** When a connector signals a retryable error, the step iterator waits five
|
|
37
37
|
seconds and restarts the **current phase from its root**. Earlier steps of that phase run again and
|
|
38
38
|
their external effects are not undone. This is separate from lock attempts and item retries and has no
|
|
39
|
-
authored setting. See
|
|
39
|
+
authored setting. See shared error and retry handling (search the standards MCP).
|
|
40
40
|
|
|
41
41
|
### Returned context
|
|
42
42
|
|
|
@@ -60,7 +60,7 @@ pushers:
|
|
|
60
60
|
`0` (no other bits).
|
|
61
61
|
- Later push: UPDATE runs, the filtered `id` is blank, so the stored `remote-42` is kept.
|
|
62
62
|
- `dependencies.CUSTOMER` is a list of hierarchy entries, not a flat row; dependency keys and
|
|
63
|
-
constraints are owned by
|
|
63
|
+
constraints are owned by dependencies (search the standards MCP).
|
|
64
64
|
- `externalKey` gives the destination a stable key for lookups after an ambiguous timeout.
|
|
65
65
|
- A refusal or missing create ID rejects the push, skips After and attempts Final.
|
|
66
66
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
## Contract
|
|
6
6
|
|
|
7
|
-
`PUSHER` immediately runs the pusher associated with a task for **one stored item** of that task, and waits for it. The task is chosen by `arguments.object_id` (or the older `data.objectId`); the item by `arguments.item_id` — the stored item's id, not a source or destination business id. The task-to-pusher binding comes from
|
|
7
|
+
`PUSHER` immediately runs the pusher associated with a task for **one stored item** of that task, and waits for it. The task is chosen by `arguments.object_id` (or the older `data.objectId`); the item by `arguments.item_id` — the stored item's id, not a source or destination business id. The task-to-pusher binding comes from object associations (search the standards MCP); the push itself (request, destination handling) is defined by the [pusher](pushers.PUSHERS.md).
|
|
8
8
|
|
|
9
9
|
**When to use:** Use it when a workflow must push a specific item right away instead of waiting for the task's queue schedule — e.g. push a just-saved item synchronously, then branch on the push result.
|
|
10
|
-
**Do not use it when** you want many items pushed: queue them with
|
|
10
|
+
**Do not use it when** you want many items pushed: queue them with ENQUEUER (search the standards MCP) instead. It does not save items, batch, retry, or define a request.
|
|
11
11
|
|
|
12
12
|
**Syntax** (annotated skeleton):
|
|
13
13
|
|
|
@@ -133,7 +133,7 @@ Syntax: `noError: <boolean | string | null>`
|
|
|
133
133
|
|
|
134
134
|
Syntax: `responseFilters: <object | null>`
|
|
135
135
|
|
|
136
|
-
`responseFilters: <parser → output → {expression}>` — selects named outputs from the push result context, using the shared
|
|
136
|
+
`responseFilters: <parser → output → {expression}>` — selects named outputs from the push result context, using the shared response-filter grammar (search the standards MCP). Without filters the step outputs `{}`. Child push context keys win over parent keys during evaluation. `acceptedStatuses` has no effect here.
|
|
137
137
|
|
|
138
138
|
```yaml
|
|
139
139
|
- key: PUSH_ITEM
|
|
@@ -180,7 +180,7 @@ Assumes the task and item exist and the scheduler is enabled. `_outputs.PUSH_ITE
|
|
|
180
180
|
|
|
181
181
|
### Composed: continue on failure and branch
|
|
182
182
|
|
|
183
|
-
|
|
183
|
+
VALUES (search the standards MCP) supplies the ids; IF (search the standards MCP) checks the failure sentinel and raises Error (search the standards MCP).
|
|
184
184
|
|
|
185
185
|
```yaml
|
|
186
186
|
- key: SELECT_ITEM
|
|
@@ -225,7 +225,7 @@ A skipped push (scheduler disabled, item locked) and an unfiltered success both
|
|
|
225
225
|
|
|
226
226
|
## Best practices
|
|
227
227
|
|
|
228
|
-
- Prefer
|
|
228
|
+
- Prefer ENQUEUER (search the standards MCP) for many items: queued pushes respect concurrency and scheduling; a synchronous `PUSHER` per item makes the parent flow as slow as all pushes combined.
|
|
229
229
|
- Use `noError: true` only together with an explicit `has_error` check; otherwise failures silently pass.
|
|
230
230
|
- Keep `force_push` off by default; turning it on overrides an operator's decision to stop pushing.
|
|
231
231
|
- Avoid pushing the item that is currently being pushed (from its own pusher flow): the lock makes it a silent no-op.
|
|
@@ -233,6 +233,6 @@ A skipped push (scheduler disabled, item locked) and an unfiltered success both
|
|
|
233
233
|
## Related
|
|
234
234
|
|
|
235
235
|
- [Pusher lifecycle](pushers.PUSHERS.md)
|
|
236
|
-
-
|
|
237
|
-
-
|
|
238
|
-
-
|
|
236
|
+
- Workflow and step envelope (search the standards MCP)
|
|
237
|
+
- Arguments and routing (search the standards MCP)
|
|
238
|
+
- Step catalog (search the standards MCP)
|
|
@@ -13,16 +13,16 @@ Output at `_outputs.<key>`:
|
|
|
13
13
|
- `{affected: N}` — `N` is the number of selected rows the update matched, **including rows whose status already had the requested bits**. Zero means no stored row had a selected id, not "already correct".
|
|
14
14
|
- `{}` — no-op: the resolved id list is empty, or both `includes` and `excludes` are empty. `_outputs.<key>.affected` is then absent, not `0`.
|
|
15
15
|
|
|
16
|
-
Failures (invalid task id, unresolved task, expression error, unknown status name, database error) fail the step; there is no step-local graceful branch. Route deliberately with `onError` — see
|
|
16
|
+
Failures (invalid task id, unresolved task, expression error, unknown status name, database error) fail the step; there is no step-local graceful branch. Route deliberately with `onError` — see thrown-error routing (search the standards MCP).
|
|
17
17
|
|
|
18
18
|
## When to use
|
|
19
19
|
|
|
20
|
-
- You already hold the row ids (`__id`) — for example from a preceding
|
|
21
|
-
- Pick
|
|
20
|
+
- You already hold the row ids (`__id`) — for example from a preceding QUERY_MANY (search the standards MCP) — and want to set or clear status flags on exactly those rows.
|
|
21
|
+
- Pick UPDATE_TASK_DATA_STATUS (search the standards MCP) when the rows are chosen by a predicate (e.g. "all rows where status has Changed") instead of by id.
|
|
22
22
|
- Pick [UPDATE_ITEM_SYNC_PROCESS](steps.UPDATE_ITEM_SYNC_PROCESS.md#contract) when rows are identified by business keys, or you also need to set the destination id or push notes.
|
|
23
|
-
- Pick
|
|
23
|
+
- Pick RESET_ITEM (search the standards MCP) or IGNORE_ITEM (search the standards MCP) for those dedicated lifecycle transitions.
|
|
24
24
|
|
|
25
|
-
Place it in a keyed step list (for example `pullers[].steps`), not in an item transformation list. Placement and roots are owned by
|
|
25
|
+
Place it in a keyed step list (for example `pullers[].steps`), not in an item transformation list. Placement and roots are owned by One canonical Workflow component (search the standards MCP). This step does **not** declare a puller/task association; author the object association (search the standards MCP) separately where the host needs one.
|
|
26
26
|
|
|
27
27
|
## Syntax
|
|
28
28
|
|
|
@@ -123,7 +123,7 @@ Choose the literal array for fixed ids; choose the expression when ids come from
|
|
|
123
123
|
|
|
124
124
|
Syntax: `includes: [<status name | 'Name, Name' | integer mask>, ...]` — defaults to `[]`.
|
|
125
125
|
|
|
126
|
-
Bits to **add**. All entries are OR-combined into one mask. Status bits: None=0, Changed=1, Removed=2, Ignore=4, Manual=8, Pushing=16, DependencyMismatch=32 (see
|
|
126
|
+
Bits to **add**. All entries are OR-combined into one mask. Status bits: None=0, Changed=1, Removed=2, Ignore=4, Manual=8, Pushing=16, DependencyMismatch=32 (see Status and row clocks (search the standards MCP)). Entry variants:
|
|
127
127
|
|
|
128
128
|
- **Status name** (`Changed`) — clearest; prefer it.
|
|
129
129
|
- **Comma-combined names** (`'Changed, Manual'`) or a numeric string (`'9'`) — equivalent to listing the bits.
|
|
@@ -191,11 +191,11 @@ Rejected forms (non-copyable): `itemIds: '$(_outputs.READ.rows.__id)'` — the `
|
|
|
191
191
|
|
|
192
192
|
## Related
|
|
193
193
|
|
|
194
|
-
-
|
|
195
|
-
-
|
|
196
|
-
-
|
|
197
|
-
-
|
|
198
|
-
-
|
|
199
|
-
-
|
|
200
|
-
-
|
|
201
|
-
-
|
|
194
|
+
- Step family (search the standards MCP)
|
|
195
|
+
- Workflow and the step envelope (search the standards MCP)
|
|
196
|
+
- Arguments and routing (search the standards MCP) · Cross-cutting step flags (search the standards MCP)
|
|
197
|
+
- Runtime context (search the standards MCP) · JSONata call sites (search the standards MCP)
|
|
198
|
+
- Status values (search the standards MCP)
|
|
199
|
+
- Predicate-scoped counterpart (search the standards MCP) · [Key-scoped sync update](steps.UPDATE_ITEM_SYNC_PROCESS.md#contract)
|
|
200
|
+
- Reset (search the standards MCP) · Ignore (search the standards MCP)
|
|
201
|
+
- Structured lookup (search the standards MCP)
|
|
@@ -16,10 +16,10 @@ An update object that misses one of the task's key columns, or that contains no
|
|
|
16
16
|
|
|
17
17
|
- You identify rows by their business keys and need to record a destination id, adjust status bits, or write push notes — typically after delivering items to a destination system.
|
|
18
18
|
- Pick [UPDATE_ITEM_STATUS](steps.UPDATE_ITEM_STATUS.md#contract) when you only change status bits and already hold the stored `__id`s; it accepts status names instead of numeric masks.
|
|
19
|
-
- Pick
|
|
20
|
-
- Pick
|
|
19
|
+
- Pick UPDATE_TASK_DATA_STATUS (search the standards MCP) to change status on all rows matching a predicate.
|
|
20
|
+
- Pick SAVE_TASK_DATA (search the standards MCP) to insert or update business data; this step never creates rows.
|
|
21
21
|
|
|
22
|
-
Place it in a keyed step list (puller, pusher or webhook steps); see
|
|
22
|
+
Place it in a keyed step list (puller, pusher or webhook steps); see One canonical Workflow component (search the standards MCP). The target task must have declared key columns. This step does not declare a puller/task association; author the object association (search the standards MCP) separately where the host needs one.
|
|
23
23
|
|
|
24
24
|
## Syntax
|
|
25
25
|
|
|
@@ -195,7 +195,7 @@ Status bit changes for the matched rows. Omitting it (or `null`) leaves status u
|
|
|
195
195
|
|
|
196
196
|
Syntax: `includes: [<integer mask>, ...]` — defaults to `[]`.
|
|
197
197
|
|
|
198
|
-
Bits to add, as integers (Changed=1, Removed=2, Ignore=4, Manual=8, Pushing=16, DependencyMismatch=32 — see
|
|
198
|
+
Bits to add, as integers (Changed=1, Removed=2, Ignore=4, Manual=8, Pushing=16, DependencyMismatch=32 — see Status and row clocks (search the standards MCP)). Status names are not accepted here. Values are not template-rendered.
|
|
199
199
|
|
|
200
200
|
```yaml
|
|
201
201
|
- key: UPDATE
|
|
@@ -370,17 +370,17 @@ The step groups update objects into database transactions of this size; the valu
|
|
|
370
370
|
- Database failure → the current batch is rolled back and the step fails; previous batches remain.
|
|
371
371
|
- Cancellation → uncommitted work rolls back and later updates stop; earlier committed batches remain.
|
|
372
372
|
- Update without a declared key, or with no change fields → skipped, counts 0.
|
|
373
|
-
- `logOutput`, `gracefulException` and `responseFilters` have no effect on this step. Use `onError` for deliberate recovery; see
|
|
373
|
+
- `logOutput`, `gracefulException` and `responseFilters` have no effect on this step. Use `onError` for deliberate recovery; see thrown-error routing (search the standards MCP).
|
|
374
374
|
|
|
375
375
|
Rejected forms (non-copyable): `keys: {other: A1}` on a task keyed by `sku` — skipped, not "match all"; `destinationId: D-1` — not recognized, use `destination_id`; `expression: '{"keys": {"sku": "A1"}}'` — a single object, not an array; wrap it in `[ … ]`; `statuses: {includes: [Changed]}` — names are not accepted here, use `[1]`.
|
|
376
376
|
|
|
377
377
|
## Related
|
|
378
378
|
|
|
379
|
-
-
|
|
380
|
-
-
|
|
381
|
-
-
|
|
382
|
-
-
|
|
383
|
-
-
|
|
384
|
-
- [Item-id status update](steps.UPDATE_ITEM_STATUS.md#contract) ·
|
|
385
|
-
-
|
|
386
|
-
-
|
|
379
|
+
- Step family (search the standards MCP)
|
|
380
|
+
- Workflow and the step envelope (search the standards MCP)
|
|
381
|
+
- Arguments and routing (search the standards MCP) · Cross-cutting step flags (search the standards MCP)
|
|
382
|
+
- Runtime context (search the standards MCP) · JSONata call sites (search the standards MCP) · Template rendering (search the standards MCP)
|
|
383
|
+
- Tasks and tables (search the standards MCP) · Status values (search the standards MCP)
|
|
384
|
+
- [Item-id status update](steps.UPDATE_ITEM_STATUS.md#contract) · Predicate status update (search the standards MCP)
|
|
385
|
+
- Structured query step (search the standards MCP)
|
|
386
|
+
- Routing and restart behavior (search the standards MCP)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hexasync-query-dsl
|
|
3
3
|
description: "HexaSync Query DSL: Builder DSL {op, data} trees (where, joins, select, from, operators, operand kinds ARG/FIELD/PARAM/QUERY/VALUE) versus the API Filter DSL, QUERY_SINGLE and QUERY_MANY steps, SQL and SQL_PROXY steps, PostgreSQL compilation. Use when filtering, joining or selecting task data in a template."
|
|
4
|
-
compatibility: "Loaded conditionally by Agent Skills hosts.
|
|
4
|
+
compatibility: "Loaded conditionally by Agent Skills hosts. Connect HexaSync Template Development Standards on AI Gateway for current reference documents."
|
|
5
5
|
metadata:
|
|
6
6
|
author: BeeHexa
|
|
7
|
-
version: "
|
|
8
|
-
kb-bundle: "
|
|
9
|
-
mcp-server: "hexasync-template-
|
|
7
|
+
version: "2612.3.2"
|
|
8
|
+
kb-bundle: "115"
|
|
9
|
+
mcp-server: "hexasync-template-development-standards"
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# QueryDSL, SQL and query steps
|
|
@@ -16,21 +16,14 @@ There are **two separate languages**, not one language with interchangeable host
|
|
|
16
16
|
- **Builder DSL** is a profile-authored JSON/YAML `{op, data}` tree with typed operand objects. Metrics, query transformations and query steps compile it to PostgreSQL.
|
|
17
17
|
- **Filter DSL** is an API-request `{condition, leftOp, rightOp}` tree that API clients send in search request bodies; it is not a Builder executor.
|
|
18
18
|
|
|
19
|
-
> Generated from the HexaSync knowledge base (asset bundle
|
|
19
|
+
> Generated from the HexaSync knowledge base (asset bundle 115) by @beehexa/hexasync-ai-toolkit 2612.3.2.
|
|
20
20
|
|
|
21
21
|
## How to work
|
|
22
22
|
|
|
23
|
-
The host loads this skill conditionally
|
|
24
|
-
|
|
25
|
-
When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
|
|
23
|
+
The host loads this skill conditionally. Choose worker or frontend according to the owning collection.
|
|
24
|
+
Connect the HexaSync Template Development Standards MCP on AI Gateway and use its document search and read tools to look up the current reference before writing YAML. Search for where, QUERY_SINGLE.where, QUERY_MANY and relevant examples (QueryDSL where join select); follow related document references. Read the returned document sections and pagination as needed.
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
2. `hexasync_explain_type` before writing any field. Worker/data lookups for this family: `hexasync_explain_type({"name":"where","runtime":"worker"})`, `hexasync_explain_type({"name":"QUERY_SINGLE.where","runtime":"worker"})`, `hexasync_explain_type({"name":"QUERY_MANY","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
29
|
-
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `QueryDSL where join select`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
|
|
30
|
-
4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
|
|
31
|
-
5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
|
|
32
|
-
|
|
33
|
-
Never infer syntax from YAML already in the workspace: it may be outdated or wrong. The knowledge base and the MCP tools are authoritative. Use actual identities from the workspace or `hexasync_list_connectors`; never invent one.
|
|
26
|
+
Do not assume the remote wiki provides the former local `hexasync_*` tools or workspace validation. Validate with the editor or an available project validation tool, and report when validation is unavailable. Never invent project identities or infer syntax solely from existing workspace YAML.
|
|
34
27
|
|
|
35
28
|
## Best practices (from the knowledge base)
|
|
36
29
|
|
|
@@ -56,7 +49,10 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
|
|
|
56
49
|
- **One list per step, explicit names.** Name each selector, keep one `List`, and avoid reserved output names. _([SQL — SQL](references/steps.SQL.md#best-practices))_
|
|
57
50
|
- **Parameterize, never concatenate.** Put values in step or `data.arguments` and reference them as parameters. Do not render values into `sql` or `sqlCommands` with Scriban: the whole command text is rendered and then parsed as JSON, so injected text can break both the SQL and the JSON. _([SQL_PROXY — SQL_PROXY](references/steps.SQL_PROXY.md#best-practices))_
|
|
58
51
|
- **Forward step arguments on purpose.** Write `arguments: {}` (or a map) when you rely on step-level arguments, because leaving it out sends no parameters. _([SQL_PROXY — SQL_PROXY](references/steps.SQL_PROXY.md#best-practices))_
|
|
59
|
-
-
|
|
52
|
+
- **Page large reads** with a stable `order by`, a `limit` and a keyset cursor carried between iterations, instead of one unbounded query. _([SQL_PROXY — SQL_PROXY](references/steps.SQL_PROXY.md#best-practices))_
|
|
53
|
+
- **Set `timeout` deliberately** for the batch's expected cost. _([SQL_PROXY — SQL_PROXY](references/steps.SQL_PROXY.md#best-practices))_
|
|
54
|
+
- **Ask for a transaction only when commands must succeed or fail together**, and confirm the service honors it. Keep batches small so a failure is easy to locate. _([SQL_PROXY — SQL_PROXY](references/steps.SQL_PROXY.md#best-practices))_
|
|
55
|
+
- **Keep the raw response until its layout is confirmed**, then switch to a structured filter. _([SQL_PROXY — SQL_PROXY](references/steps.SQL_PROXY.md#best-practices))_
|
|
60
56
|
|
|
61
57
|
## References
|
|
62
58
|
|
|
@@ -64,4 +60,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
|
|
|
64
60
|
|
|
65
61
|
## Installing the MCP server
|
|
66
62
|
|
|
67
|
-
|
|
63
|
+
Connect the remote standards MCP using [`references/INSTALL.md`](references/INSTALL.md).
|