@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
|
@@ -36,8 +36,8 @@ steps:
|
|
|
36
36
|
|
|
37
37
|
- Use when a workflow must read from or write to an external system over the connection's protocol (HTTP request, upload, CSV download, script call).
|
|
38
38
|
- Use one `API` step per request; chain several with `next` when one call depends on another's output.
|
|
39
|
-
- Do not use for transforming data you already have — use
|
|
40
|
-
- Do not use `type: DOWNLOAD_CSV` when you need the dedicated CSV step's contract — use
|
|
39
|
+
- Do not use for transforming data you already have — use JSONata (search the standards MCP) or Scriban (search the standards MCP).
|
|
40
|
+
- Do not use `type: DOWNLOAD_CSV` when you need the dedicated CSV step's contract — use DOWNLOAD_CSV (search the standards MCP).
|
|
41
41
|
- Do not use `displayType: cURL` — a captured cURL command is not executable; translate it into an `API` step (see [cURL request intake](steps.API.curl-request-intake.md)).
|
|
42
42
|
|
|
43
43
|
### Sensible configuration
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
| GOOGLE_APP_SCRIPT on a connection without script options | Missing-option error | Bind a connection that supplies them |
|
|
13
13
|
| DOWNLOAD_CSV non-2xx / missing mapped header | Step fails | Fix the URL or `columns` |
|
|
14
14
|
|
|
15
|
-
With `gracefulException: true`, failures during the call return `{isException: true, exceptionMessage}` and normal `next` routing continues; the request is not retried and ordinary outputs are absent. Route on `isException` explicitly. Connection and argument setup errors are never converted. A connector's own retry/recovery (rate limits, token refresh) is described under
|
|
15
|
+
With `gracefulException: true`, failures during the call return `{isException: true, exceptionMessage}` and normal `next` routing continues; the request is not retried and ordinary outputs are absent. Route on `isException` explicitly. Connection and argument setup errors are never converted. A connector's own retry/recovery (rate limits, token refresh) is described under connections (search the standards MCP); error routing and `onError` under [STEP-ENVELOPE](steps.STEP-ENVELOPE.md).
|
|
16
16
|
|
|
17
|
-
To turn statuses, thrown calls (`isException`) and invalid bodies into error codes, follow the call with **one** classification expression and one IF +
|
|
17
|
+
To turn statuses, thrown calls (`isException`) and invalid bodies into error codes, follow the call with **one** classification expression and one IF + Error (search the standards MCP) — not one IF/Error pair per status. Accept the statuses whose bodies you classify, keep `401`/`429` with the connection, and add steps only for a genuinely different action. Full example and anti-pattern: Classify once, raise once (search the standards MCP).
|
|
18
18
|
|
|
@@ -24,7 +24,7 @@ Syntax: `connectionId: <string | null>`
|
|
|
24
24
|
|
|
25
25
|
`connectorId: <uuid>` (top level) or `data.connectionId: <uuid>`. One of them is required.
|
|
26
26
|
|
|
27
|
-
The UUID of the connection instance in the template's `connectors` list — not the connector/provider identity. The first nonblank reference wins in the order `connectorId`, `data.connectionId`, `input.connectionId`. Use the exact id written on the connection entry; never generate a new one. See
|
|
27
|
+
The UUID of the connection instance in the template's `connectors` list — not the connector/provider identity. The first nonblank reference wins in the order `connectorId`, `data.connectionId`, `input.connectionId`. Use the exact id written on the connection entry; never generate a new one. See how a step finds its connection (search the standards MCP).
|
|
28
28
|
|
|
29
29
|
```yaml
|
|
30
30
|
steps:
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Related
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- Connections (search the standards MCP)
|
|
6
6
|
- [Step envelope](steps.STEP-ENVELOPE.md)
|
|
7
|
-
-
|
|
7
|
+
- Context and expressions (search the standards MCP)
|
|
8
8
|
- [Response filters](responseFilters.RESPONSE-FILTERS.md)
|
|
9
9
|
- [Routing and loops](routing.NEXT.md)
|
|
10
|
-
-
|
|
11
|
-
-
|
|
10
|
+
- Pullers (search the standards MCP) and Pushers (search the standards MCP)
|
|
11
|
+
- DOWNLOAD_CSV step (search the standards MCP)
|
|
12
12
|
- [All step types](steps.INDEX.md)
|
|
@@ -18,85 +18,85 @@ steps:
|
|
|
18
18
|
| You need to… | Use | Not |
|
|
19
19
|
| --- | --- | --- |
|
|
20
20
|
| Call an external system over HTTP / its connector | [API](steps.API.md) | GraphQL, Restful, OData, cURL (unsupported placeholders) |
|
|
21
|
-
| Download and parse a CSV file |
|
|
22
|
-
| Read an Excel workbook already in context |
|
|
23
|
-
| Run a SQL statement through a database connection |
|
|
24
|
-
| Read profile data (task, reference, report tables) |
|
|
25
|
-
| Read metrics |
|
|
26
|
-
| Reshape data structurally |
|
|
27
|
-
| Render text templates / simple field values |
|
|
28
|
-
| Emit literal rows (seed, fixtures, empty page) |
|
|
29
|
-
| Pick values out of context without calling anything |
|
|
30
|
-
| Branch two ways |
|
|
31
|
-
| Branch many ways |
|
|
32
|
-
| Save pulled rows into a task |
|
|
33
|
-
| Mark rows missing from a full snapshot as removed |
|
|
34
|
-
| Change status flags on task rows by filter |
|
|
35
|
-
| Change status flags on specific item ids |
|
|
36
|
-
| Record destination ids / sync state after a push |
|
|
37
|
-
| Skip / un-skip items |
|
|
38
|
-
| Delete or soft-delete task rows |
|
|
39
|
-
| Seed reference rows into a task |
|
|
40
|
-
| Queue stored rows for a pusher |
|
|
41
|
-
| Run a pusher for one item now / run another puller |
|
|
42
|
-
| Persist a value between runs (cursor, token) |
|
|
43
|
-
| Skip unchanged work using content hashes |
|
|
44
|
-
| Read an earlier occurrence of a step |
|
|
45
|
-
| Decode a stored raw payload |
|
|
46
|
-
| Wait / throttle |
|
|
47
|
-
| Forward a webhook message to other URLs |
|
|
48
|
-
| Publish a platform event |
|
|
49
|
-
| Validate incoming item format |
|
|
50
|
-
| Detect an image type from Base64 |
|
|
51
|
-
| Fail recoverably (route to `onError`) |
|
|
52
|
-
| Stop the run deliberately (bypasses `onError`) |
|
|
21
|
+
| Download and parse a CSV file | DOWNLOAD_CSV (search the standards MCP) | API + manual parsing |
|
|
22
|
+
| Read an Excel workbook already in context | EXCEL_READER (search the standards MCP) | |
|
|
23
|
+
| Run a SQL statement through a database connection | SQL (search the standards MCP), SQL_PROXY (search the standards MCP) | QUERY_* (they read profile data, not external databases) |
|
|
24
|
+
| Read profile data (task, reference, report tables) | QUERY_SINGLE (search the standards MCP) (one row), QUERY_MANY (search the standards MCP) (all rows) | SQL |
|
|
25
|
+
| Read metrics | QUERY_METRICS (search the standards MCP) (`METRIC_QUERY` is an alias) | |
|
|
26
|
+
| Reshape data structurally | JSONata (search the standards MCP) | Scriban for structure |
|
|
27
|
+
| Render text templates / simple field values | Scriban (search the standards MCP) | |
|
|
28
|
+
| Emit literal rows (seed, fixtures, empty page) | VALUES (search the standards MCP) | |
|
|
29
|
+
| Pick values out of context without calling anything | FORWARD (search the standards MCP) | |
|
|
30
|
+
| Branch two ways | IF (search the standards MCP) or a conditional [`next`](routing.NEXT.md#worker-contract) | |
|
|
31
|
+
| Branch many ways | SWITCH (search the standards MCP) | chained IFs |
|
|
32
|
+
| Save pulled rows into a task | SAVE_TASK_DATA (search the standards MCP) (current puller mode), DIRECT_INDEX (search the standards MCP) | |
|
|
33
|
+
| Mark rows missing from a full snapshot as removed | TRACK_FOR_REMOVAL (search the standards MCP) | REMOVE_DATA |
|
|
34
|
+
| Change status flags on task rows by filter | UPDATE_TASK_DATA_STATUS (search the standards MCP) | |
|
|
35
|
+
| Change status flags on specific item ids | UPDATE_ITEM_STATUS (search the standards MCP) | |
|
|
36
|
+
| Record destination ids / sync state after a push | UPDATE_ITEM_SYNC_PROCESS (search the standards MCP) | |
|
|
37
|
+
| Skip / un-skip items | IGNORE_ITEM (search the standards MCP), RESET_ITEM (search the standards MCP) | |
|
|
38
|
+
| Delete or soft-delete task rows | REMOVE_DATA (search the standards MCP) (preview with `dryRun`) | |
|
|
39
|
+
| Seed reference rows into a task | SEED_DATA (search the standards MCP) | |
|
|
40
|
+
| Queue stored rows for a pusher | ENQUEUER (search the standards MCP) | PUSHER (runs immediately) |
|
|
41
|
+
| Run a pusher for one item now / run another puller | PUSHER (search the standards MCP), PULLER (search the standards MCP) | |
|
|
42
|
+
| Persist a value between runs (cursor, token) | SET_KEY_VALUE (search the standards MCP), GET_KEY_VALUE (search the standards MCP) | |
|
|
43
|
+
| Skip unchanged work using content hashes | CACHE (search the standards MCP), VERIFY_CACHED (search the standards MCP), INVALIDATE_CACHE (search the standards MCP) | |
|
|
44
|
+
| Read an earlier occurrence of a step | LOOKUP_STEP (search the standards MCP) | |
|
|
45
|
+
| Decode a stored raw payload | RESOLVE_RAW_DATA (search the standards MCP) | |
|
|
46
|
+
| Wait / throttle | SLEEP (search the standards MCP) | busy loops |
|
|
47
|
+
| Forward a webhook message to other URLs | WEBHOOK_FORWARD (search the standards MCP) | |
|
|
48
|
+
| Publish a platform event | PUBLISH_EVENT (search the standards MCP) | |
|
|
49
|
+
| Validate incoming item format | CHECK_FORMAT (search the standards MCP) | |
|
|
50
|
+
| Detect an image type from Base64 | BASE64_TO_MIME_TYPE (search the standards MCP) | |
|
|
51
|
+
| Fail recoverably (route to `onError`) | EXCEPTION (search the standards MCP) | Error |
|
|
52
|
+
| Stop the run deliberately (bypasses `onError`) | Error (search the standards MCP) | EXCEPTION |
|
|
53
53
|
|
|
54
54
|
## Implemented step components
|
|
55
55
|
|
|
56
56
|
| Step | Canonical component document |
|
|
57
57
|
| --- | --- |
|
|
58
58
|
| API | [API](steps.API.md) |
|
|
59
|
-
| BASE64_TO_MIME_TYPE |
|
|
60
|
-
| CACHE |
|
|
61
|
-
| CHECK_FORMAT |
|
|
62
|
-
| DIRECT_INDEX |
|
|
63
|
-
| DOWNLOAD_CSV |
|
|
64
|
-
| ENQUEUER |
|
|
65
|
-
| EXCEL_READER |
|
|
66
|
-
| EXCEPTION |
|
|
67
|
-
| Error |
|
|
68
|
-
| FORWARD |
|
|
69
|
-
| GET_KEY_VALUE |
|
|
70
|
-
| IF |
|
|
71
|
-
| IGNORE_ITEM |
|
|
72
|
-
| INVALIDATE_CACHE |
|
|
73
|
-
| JSONata |
|
|
74
|
-
| LOOKUP_STEP |
|
|
75
|
-
| METRIC_QUERY |
|
|
76
|
-
| PUBLISH_EVENT |
|
|
77
|
-
| PULLER |
|
|
78
|
-
| PUSHER |
|
|
79
|
-
| QUERY_MANY |
|
|
80
|
-
| QUERY_METRICS |
|
|
81
|
-
| QUERY_SINGLE |
|
|
82
|
-
| REMOVE_DATA |
|
|
83
|
-
| RESET_ITEM |
|
|
84
|
-
| RESOLVE_RAW_DATA |
|
|
85
|
-
| SAVE_TASK_DATA |
|
|
86
|
-
| SEED_DATA |
|
|
87
|
-
| SET_KEY_VALUE |
|
|
88
|
-
| SLEEP |
|
|
89
|
-
| SQL |
|
|
90
|
-
| SQL_PROXY |
|
|
91
|
-
| SWITCH |
|
|
92
|
-
| Scriban |
|
|
93
|
-
| TRACK_FOR_REMOVAL |
|
|
94
|
-
| UPDATE_ITEM_STATUS |
|
|
95
|
-
| UPDATE_ITEM_SYNC_PROCESS |
|
|
96
|
-
| UPDATE_TASK_DATA_STATUS |
|
|
97
|
-
| VALUES |
|
|
98
|
-
| VERIFY_CACHED |
|
|
99
|
-
| WEBHOOK_FORWARD |
|
|
59
|
+
| BASE64_TO_MIME_TYPE | BASE64_TO_MIME_TYPE (search the standards MCP) |
|
|
60
|
+
| CACHE | CACHE (search the standards MCP) |
|
|
61
|
+
| CHECK_FORMAT | CHECK_FORMAT (search the standards MCP) |
|
|
62
|
+
| DIRECT_INDEX | DIRECT_INDEX (search the standards MCP) |
|
|
63
|
+
| DOWNLOAD_CSV | DOWNLOAD_CSV (search the standards MCP) |
|
|
64
|
+
| ENQUEUER | ENQUEUER (search the standards MCP) |
|
|
65
|
+
| EXCEL_READER | EXCEL_READER (search the standards MCP) |
|
|
66
|
+
| EXCEPTION | EXCEPTION (search the standards MCP) |
|
|
67
|
+
| Error | Error (search the standards MCP) |
|
|
68
|
+
| FORWARD | FORWARD (search the standards MCP) |
|
|
69
|
+
| GET_KEY_VALUE | GET_KEY_VALUE (search the standards MCP) |
|
|
70
|
+
| IF | IF (search the standards MCP) |
|
|
71
|
+
| IGNORE_ITEM | IGNORE_ITEM (search the standards MCP) |
|
|
72
|
+
| INVALIDATE_CACHE | INVALIDATE_CACHE (search the standards MCP) |
|
|
73
|
+
| JSONata | JSONata (search the standards MCP) |
|
|
74
|
+
| LOOKUP_STEP | LOOKUP_STEP (search the standards MCP) |
|
|
75
|
+
| METRIC_QUERY | METRIC_QUERY (search the standards MCP) |
|
|
76
|
+
| PUBLISH_EVENT | PUBLISH_EVENT (search the standards MCP) |
|
|
77
|
+
| PULLER | PULLER (search the standards MCP) |
|
|
78
|
+
| PUSHER | PUSHER (search the standards MCP) |
|
|
79
|
+
| QUERY_MANY | QUERY_MANY (search the standards MCP) |
|
|
80
|
+
| QUERY_METRICS | QUERY_METRICS (search the standards MCP) |
|
|
81
|
+
| QUERY_SINGLE | QUERY_SINGLE (search the standards MCP) |
|
|
82
|
+
| REMOVE_DATA | REMOVE_DATA (search the standards MCP) |
|
|
83
|
+
| RESET_ITEM | RESET_ITEM (search the standards MCP) |
|
|
84
|
+
| RESOLVE_RAW_DATA | RESOLVE_RAW_DATA (search the standards MCP) |
|
|
85
|
+
| SAVE_TASK_DATA | SAVE_TASK_DATA (search the standards MCP) |
|
|
86
|
+
| SEED_DATA | SEED_DATA (search the standards MCP) |
|
|
87
|
+
| SET_KEY_VALUE | SET_KEY_VALUE (search the standards MCP) |
|
|
88
|
+
| SLEEP | SLEEP (search the standards MCP) |
|
|
89
|
+
| SQL | SQL (search the standards MCP) |
|
|
90
|
+
| SQL_PROXY | SQL_PROXY (search the standards MCP) |
|
|
91
|
+
| SWITCH | SWITCH (search the standards MCP) |
|
|
92
|
+
| Scriban | Scriban (search the standards MCP) |
|
|
93
|
+
| TRACK_FOR_REMOVAL | TRACK_FOR_REMOVAL (search the standards MCP) |
|
|
94
|
+
| UPDATE_ITEM_STATUS | UPDATE_ITEM_STATUS (search the standards MCP) |
|
|
95
|
+
| UPDATE_ITEM_SYNC_PROCESS | UPDATE_ITEM_SYNC_PROCESS (search the standards MCP) |
|
|
96
|
+
| UPDATE_TASK_DATA_STATUS | UPDATE_TASK_DATA_STATUS (search the standards MCP) |
|
|
97
|
+
| VALUES | VALUES (search the standards MCP) |
|
|
98
|
+
| VERIFY_CACHED | VERIFY_CACHED (search the standards MCP) |
|
|
99
|
+
| WEBHOOK_FORWARD | WEBHOOK_FORWARD (search the standards MCP) |
|
|
100
100
|
|
|
101
101
|
## The 9 scaffolds
|
|
102
102
|
|
|
@@ -104,34 +104,34 @@ These names are recognized by the editor but **fail whenever they run**. Their p
|
|
|
104
104
|
|
|
105
105
|
| Recognized name | Component explanation |
|
|
106
106
|
| --- | --- |
|
|
107
|
-
| Begin |
|
|
108
|
-
| Composite |
|
|
109
|
-
| End |
|
|
110
|
-
| GraphQL |
|
|
111
|
-
| Liquid |
|
|
112
|
-
| OData |
|
|
113
|
-
| QueryDSL |
|
|
114
|
-
| Restful |
|
|
115
|
-
| cURL |
|
|
116
|
-
|
|
117
|
-
The `QueryDSL` step name is not the
|
|
107
|
+
| Begin | Begin (search the standards MCP) |
|
|
108
|
+
| Composite | Composite (search the standards MCP) |
|
|
109
|
+
| End | End (search the standards MCP) |
|
|
110
|
+
| GraphQL | GraphQL (search the standards MCP) |
|
|
111
|
+
| Liquid | Liquid (search the standards MCP) |
|
|
112
|
+
| OData | OData (search the standards MCP) |
|
|
113
|
+
| QueryDSL | QueryDSL (search the standards MCP) |
|
|
114
|
+
| Restful | Restful (search the standards MCP) |
|
|
115
|
+
| cURL | cURL (search the standards MCP) |
|
|
116
|
+
|
|
117
|
+
The `QueryDSL` step name is not the query language (search the standards MCP). All HTTP work — REST, GraphQL and similar — goes through the [API step](steps.API.md). Mark the first step with `rootStep: true` instead of using `Begin`, and end a flow with `next: null` instead of `End`.
|
|
118
118
|
|
|
119
119
|
## Best practices
|
|
120
120
|
|
|
121
121
|
- **Loops.** A backward `next` edge is legal but must terminate: exit on a value that changes every visit (page cursor, `hasNextPage`, counter) and set a deliberate [`maxStepIterations`](steps.STEP-ENVELOPE.shape.md#maxstepiterations). A loop whose exit never changes repeats side effects, burns the run's time budget and ends in a loop-guard failure that `onError` cannot catch.
|
|
122
|
-
- **Retries.** Rely on connection-level rate limits and the platform's connector retry before building retry loops. When a retry loop is needed, cap attempts, wait between them with
|
|
122
|
+
- **Retries.** Rely on connection-level rate limits and the platform's connector retry before building retry loops. When a retry loop is needed, cap attempts, wait between them with SLEEP (search the standards MCP), and branch on [`gracefulException`](steps.STEP-ENVELOPE.cross-cutting-step-flags.md) output so only retryable failures loop.
|
|
123
123
|
- **Idempotency.** A run can restart from its root or be re-run. Write with upserts keyed by stable identifiers, set status flags (add/remove) rather than toggling them, and only sweep for removals after a complete, successful snapshot — sweeping after a partial page marks live rows as removed.
|
|
124
|
-
- **Incremental over full pulls.** Persist a cursor (for example with
|
|
124
|
+
- **Incremental over full pulls.** Persist a cursor (for example with SET_KEY_VALUE (search the standards MCP)) and fetch only changes; full pulls cost more calls, take longer and raise the risk of hitting rate limits.
|
|
125
125
|
- **Explicit flow.** One `rootStep: true`, explicit `next` on every non-terminal step, and results read from `_outputs.<KEY>`.
|
|
126
|
-
- **Fail deliberately.** Use
|
|
126
|
+
- **Fail deliberately.** Use EXCEPTION (search the standards MCP) for failures that `onError` should handle and Error (search the standards MCP) for conditions that must stop the run.
|
|
127
127
|
|
|
128
128
|
## Where a step's configuration lives
|
|
129
129
|
|
|
130
|
-
Read the step's page together with the [step envelope](steps.STEP-ENVELOPE.md). Use the
|
|
130
|
+
Read the step's page together with the [step envelope](steps.STEP-ENVELOPE.md). Use the context/expression reference (search the standards MCP) for available bindings and [routing](routing.NEXT.md) for continuation. A payload valid for one step type or placement is not automatically valid in another.
|
|
131
131
|
|
|
132
132
|
## Related
|
|
133
133
|
|
|
134
134
|
- [Step envelope](steps.STEP-ENVELOPE.md)
|
|
135
135
|
- [Routing](routing.NEXT.md)
|
|
136
|
-
-
|
|
137
|
-
-
|
|
136
|
+
- Context and expressions (search the standards MCP)
|
|
137
|
+
- Query languages (search the standards MCP)
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
## `_history` — the per-step occurrence ring
|
|
4
4
|
|
|
5
|
-
Current puller mode only.
|
|
5
|
+
Current puller mode only. Runtime history (search the standards MCP) owns record shape and timing; [`retain`](steps.STEP-ENVELOPE.shape.md#retain) owns depth.
|
|
6
6
|
|
package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md
CHANGED
|
@@ -10,7 +10,7 @@ Three authored forms, dispatched by JSON type:
|
|
|
10
10
|
| [Ordered](steps.STEP-ENVELOPE.arguments-and-routing.md#ordered-arguments) | `arguments: [{key, index, expression}]` | A value depends on an earlier argument. |
|
|
11
11
|
| [Whole-block](steps.STEP-ENVELOPE.arguments-and-routing.md#whole-block-arguments) | `arguments: '<JSONata object>'` | One expression computes all values at once. |
|
|
12
12
|
|
|
13
|
-
All forms resolve before the step's payload and publish **strings** at `__this.arguments.<name>` and `_arguments.<name>` for this step only. These are local to the step: successor conditions in `next` should read published `_outputs.<KEY>` values, not `__this.arguments`. Expression wrappers (`$(...)` JSONata, `$$(...)` JSONPath, otherwise Scriban) follow
|
|
13
|
+
All forms resolve before the step's payload and publish **strings** at `__this.arguments.<name>` and `_arguments.<name>` for this step only. These are local to the step: successor conditions in `next` should read published `_outputs.<KEY>` values, not `__this.arguments`. Expression wrappers (`$(...)` JSONata, `$$(...)` JSONPath, otherwise Scriban) follow dialect classification (search the standards MCP).
|
|
14
14
|
|
|
15
15
|
### Map arguments
|
|
16
16
|
|
|
@@ -43,7 +43,7 @@ With `_inputs: {sku: A1}` the arguments are `"hello"`, `"A1"` and `"item-A1"`. U
|
|
|
43
43
|
| `index` | `index: <integer>` | Evaluation order, ascending and stable. Missing sorts last. |
|
|
44
44
|
| `expression` | `expression: <string>` | The expression; absent/null falls back to `value`; both absent → `""`. |
|
|
45
45
|
| `value` | `value: <string>` | Legacy alias of `expression`. |
|
|
46
|
-
| `type` | `type: string \| integer \| decimal \| boolean \| timestamp \| uuid` | SQL-feeding
|
|
46
|
+
| `type` | `type: string \| integer \| decimal \| boolean \| timestamp \| uuid` | SQL-feeding transformation (search the standards MCP) hosts only: coerces the parsed string after all arguments resolve; omitted means `string`. Ignored in step lists. |
|
|
47
47
|
| `isList` | `isList: <boolean>` | SQL-feeding transformation hosts only: binds the value as a typed list; defaults to `false`. Ignored in step lists. |
|
|
48
48
|
|
|
49
49
|
Earlier entries (by `index`) are visible to later ones at `__this.arguments.<name>`; a forward reference reads an empty string. Give dependencies higher indexes.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
- **One explicit root.** Mark exactly one step `rootStep: true`; do not rely on array order or `Begin` fallbacks.
|
|
6
6
|
- **Bounded loops.** Every backward edge needs an exit condition that changes each visit (a counter, a cursor, `hasNextPage`) and a deliberate `maxStepIterations`. Unbounded loops burn the run budget, repeat side effects (duplicate writes or calls) and end in a terminal guard failure that `onError` cannot catch.
|
|
7
|
-
- **Retries.** Prefer the platform's connector-level retry and rate limits over hand-built retry loops. If a loop must retry, cap it, add a
|
|
7
|
+
- **Retries.** Prefer the platform's connector-level retry and rate limits over hand-built retry loops. If a loop must retry, cap it, add a SLEEP (search the standards MCP) between attempts and branch on `gracefulException` output rather than catching everything with `onError`.
|
|
8
8
|
- **Idempotency.** Steps may re-run after a restart from the root or a retried run. Make writes upserts keyed by stable identifiers, and make status changes set-style (add/remove flags) rather than toggles, so a repeat does no harm.
|
|
9
9
|
- **Read results from `_outputs`.** Downstream steps and `next` conditions should read `_outputs.<KEY>`; `__this.arguments` belongs to the current step only.
|
|
10
10
|
- **Modern spellings.** Use `displayType` and `data`; drop `provider`/`input` when touching legacy steps, and never leave `data: null` beside `input`.
|
|
@@ -33,22 +33,22 @@ Each placement's owner defines its entry context, what happens to outputs and it
|
|
|
33
33
|
|
|
34
34
|
| Authored placement | What the host does | Owner |
|
|
35
35
|
| --- | --- | --- |
|
|
36
|
-
| `pullers[].beforePullSteps` | Legacy preparation, runs once before paging. Ignored when `steps` is non-empty. |
|
|
37
|
-
| `pullers[].pullSteps` | Legacy page loop; outputs are filtered and indexed automatically. |
|
|
38
|
-
| `pullers[].afterPullSteps` | Legacy post-paging step list; no automatic save. |
|
|
39
|
-
| `pullers[].finalSteps` | Attempted after the puller lifecycle in both modes. |
|
|
40
|
-
| `pullers[].steps` | Non-empty selects the current puller mode; writes are explicit steps. |
|
|
41
|
-
| `pullers[].onErrorSteps` | Current-mode failure handler; completing it marks the failure handled. |
|
|
42
|
-
| `pushers[].beforePushSteps` | Pusher preparation with item/task context. |
|
|
43
|
-
| `pushers[].pushSteps` | Pusher main execution; its result drives destination ids and item status. |
|
|
44
|
-
| `pushers[].afterPushSteps` | Pusher post-processing. |
|
|
45
|
-
| `pushers[].finalSteps` | Final attempt after the pusher lifecycle; does not prove the push succeeded. |
|
|
46
|
-
| `bulkPushers[].beforePushSteps` / `pushSteps` / `afterPushSteps` | Declaration-compatible only; no executing bulk host. |
|
|
47
|
-
| `webhooks[].targets.<key>.pullSteps` | Runs once per matched webhook item. |
|
|
48
|
-
| `webhooks[].targets.<key>.finalSteps` | Declaration only; not a cleanup guarantee. |
|
|
49
|
-
| `connectors[].authenticationSteps` | Declaration only; configure authentication on the connection instead. |
|
|
50
|
-
|
|
51
|
-
`startupTasks[]` is not a step list; see
|
|
36
|
+
| `pullers[].beforePullSteps` | Legacy preparation, runs once before paging. Ignored when `steps` is non-empty. | PULLERS (search the standards MCP) |
|
|
37
|
+
| `pullers[].pullSteps` | Legacy page loop; outputs are filtered and indexed automatically. | PULLERS (search the standards MCP) |
|
|
38
|
+
| `pullers[].afterPullSteps` | Legacy post-paging step list; no automatic save. | PULLERS (search the standards MCP) |
|
|
39
|
+
| `pullers[].finalSteps` | Attempted after the puller lifecycle in both modes. | PULLERS (search the standards MCP) |
|
|
40
|
+
| `pullers[].steps` | Non-empty selects the current puller mode; writes are explicit steps. | PULLERS (search the standards MCP) |
|
|
41
|
+
| `pullers[].onErrorSteps` | Current-mode failure handler; completing it marks the failure handled. | PULLERS (search the standards MCP) |
|
|
42
|
+
| `pushers[].beforePushSteps` | Pusher preparation with item/task context. | PUSHERS (search the standards MCP) |
|
|
43
|
+
| `pushers[].pushSteps` | Pusher main execution; its result drives destination ids and item status. | PUSHERS (search the standards MCP) |
|
|
44
|
+
| `pushers[].afterPushSteps` | Pusher post-processing. | PUSHERS (search the standards MCP) |
|
|
45
|
+
| `pushers[].finalSteps` | Final attempt after the pusher lifecycle; does not prove the push succeeded. | PUSHERS (search the standards MCP) |
|
|
46
|
+
| `bulkPushers[].beforePushSteps` / `pushSteps` / `afterPushSteps` | Declaration-compatible only; no executing bulk host. | PUSHERS (search the standards MCP) |
|
|
47
|
+
| `webhooks[].targets.<key>.pullSteps` | Runs once per matched webhook item. | WEBHOOKS (search the standards MCP) |
|
|
48
|
+
| `webhooks[].targets.<key>.finalSteps` | Declaration only; not a cleanup guarantee. | WEBHOOKS (search the standards MCP) |
|
|
49
|
+
| `connectors[].authenticationSteps` | Declaration only; configure authentication on the connection instead. | CONNECTIONS (search the standards MCP) |
|
|
50
|
+
|
|
51
|
+
`startupTasks[]` is not a step list; see Startup tasks (search the standards MCP).
|
|
52
52
|
|
|
53
53
|
### Mode selection, recovery and final context
|
|
54
54
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
These never go through per-step `onError`:
|
|
6
6
|
|
|
7
|
-
- **Intentional
|
|
7
|
+
- **Intentional Error (search the standards MCP) steps** — they end the run deliberately (run error data is still published).
|
|
8
8
|
- **Cancellation** of the run.
|
|
9
9
|
- **Connector retry signals** — when a connector reports a retryable condition (for example a concurrency limit), the runner records it, waits about five seconds and restarts the list from its root, keeping outputs and visit budgets. There is no authored retry count or backoff; an API step with `gracefulException: true` may catch the signal first and return it as data instead.
|
|
10
10
|
- **Loop guards** — see [NEXT](routing.NEXT.md#backward-edges-and-terminal-loop-guards).
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
## Related
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Runtime scope and expression dialects (search the standards MCP), [response filters](responseFilters.RESPONSE-FILTERS.exact-authored-shape.md), [routing](routing.NEXT.md#worker-contract), Query DSL (search the standards MCP), [step catalogue](steps.INDEX.md).
|
|
@@ -23,7 +23,7 @@ Every envelope field at a glance; each has its own section below.
|
|
|
23
23
|
| [`data.logOutput`](steps.STEP-ENVELOPE.shape.md#datalogoutput) | `logOutput: <boolean>` inside `data` | `false` |
|
|
24
24
|
| [`data.gracefulException`](steps.STEP-ENVELOPE.shape.md#datagracefulexception) | `gracefulException: <boolean>` inside `data` | `false` |
|
|
25
25
|
|
|
26
|
-
Unknown root fields are rejected by the schema. `_outputs`, `__this`, `_history` and execution records are produced by the runtime, not authored. See
|
|
26
|
+
Unknown root fields are rejected by the schema. `_outputs`, `__this`, `_history` and execution records are produced by the runtime, not authored. See runtime scope (search the standards MCP).
|
|
27
27
|
|
|
28
28
|
### `key`
|
|
29
29
|
|
|
@@ -164,7 +164,7 @@ Syntax: `onError: <string | null>`
|
|
|
164
164
|
|
|
165
165
|
`onError: <KEY | null>`
|
|
166
166
|
|
|
167
|
-
The key of a step in the same list to jump to when this step throws. The failure is recorded and the failed step's `next` is skipped. Without `onError` the failure propagates to the host. A missing target fails the run and keeps the original error. Root `onError` wins over a legacy `data.onError`; a root `null` or blank disables recovery rather than falling back. Intentional
|
|
167
|
+
The key of a step in the same list to jump to when this step throws. The failure is recorded and the failed step's `next` is skipped. Without `onError` the failure propagates to the host. A missing target fails the run and keeps the original error. Root `onError` wins over a legacy `data.onError`; a root `null` or blank disables recovery rather than falling back. Intentional Error (search the standards MCP) steps, cancellation and loop guards bypass `onError` — see [recovery bypasses](steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md).
|
|
168
168
|
|
|
169
169
|
```yaml
|
|
170
170
|
steps:
|
|
@@ -238,7 +238,7 @@ Syntax: `connectorId: <string | null>`
|
|
|
238
238
|
|
|
239
239
|
`connectorId: <connection UUID>`
|
|
240
240
|
|
|
241
|
-
Binds the step to a connection for step types that call a connector (API, SQL and similar). The runtime takes the first non-blank value of root `connectorId`, then `data.connectionId`, then `input.connectionId`. There is no default connection. The value must resolve to a UUID after variable substitution and should match the connection's id spelling exactly. Steps that need a connector fail when none resolves. See
|
|
241
|
+
Binds the step to a connection for step types that call a connector (API, SQL and similar). The runtime takes the first non-blank value of root `connectorId`, then `data.connectionId`, then `input.connectionId`. There is no default connection. The value must resolve to a UUID after variable substitution and should match the connection's id spelling exactly. Steps that need a connector fail when none resolves. See CONNECTIONS (search the standards MCP).
|
|
242
242
|
|
|
243
243
|
```yaml
|
|
244
244
|
steps:
|
|
@@ -278,7 +278,7 @@ Syntax: `retain: <number | null>`
|
|
|
278
278
|
|
|
279
279
|
`retain: <positive integer>`
|
|
280
280
|
|
|
281
|
-
How many recent successful occurrences of this step are kept in `_history` (current puller mode only; legacy lists keep no history). Default `3`; a same-flow
|
|
281
|
+
How many recent successful occurrences of this step are kept in `_history` (current puller mode only; legacy lists keep no history). Default `3`; a same-flow LOOKUP_STEP (search the standards MCP) that asks for an older occurrence raises the default automatically. Root wins; a root `null` falls back to `data.retain`; zero or negative uses the inferred default.
|
|
282
282
|
|
|
283
283
|
```yaml
|
|
284
284
|
steps:
|
|
@@ -1,58 +1,52 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hexasync-steps-control-data
|
|
3
3
|
description: "HexaSync control/data steps. Worker: IF, SWITCH, VALUES, SLEEP, CACHE/VERIFY_CACHED/INVALIDATE_CACHE, GET_KEY_VALUE/SET_KEY_VALUE, LOOKUP_STEP, ENQUEUER, PUBLISH_EVENT, DOWNLOAD_CSV, EXCEL_READER, BASE64_TO_MIME_TYPE, DIRECT_INDEX, SEED_DATA, REMOVE_DATA, RESET_ITEM, IGNORE_ITEM, TRACK_FOR_REMOVAL and registered-but-throwing steps. Grouped frontend control flow, RETURN, FAIL and frontend PUBLISH_EVENT use separate frontend-qualified KB lookups. Use when choosing or configuring these steps."
|
|
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
|
# Control-flow, cache and data steps
|
|
13
13
|
|
|
14
|
-
A step is one entry in a Workflow step list. Every step shares the same envelope — `key`, `displayType`, `data`, `next`, `onError`, `arguments`, … — documented in the
|
|
14
|
+
A step is one entry in a Workflow step list. Every step shares the same envelope — `key`, `displayType`, `data`, `next`, `onError`, `arguments`, … — documented in the step envelope (search the standards MCP). `displayType` picks the step type, and the step type defines what goes in `data` (some types read `arguments` instead). Pick a type below, then read its page for fields, defaults, output and failure behavior.
|
|
15
15
|
|
|
16
|
-
> Generated from the HexaSync knowledge base (asset bundle
|
|
16
|
+
> Generated from the HexaSync knowledge base (asset bundle 115) by @beehexa/hexasync-ai-toolkit 2612.3.2.
|
|
17
17
|
|
|
18
18
|
## How to work
|
|
19
19
|
|
|
20
|
-
The host loads this skill conditionally
|
|
21
|
-
|
|
22
|
-
When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
|
|
20
|
+
The host loads this skill conditionally. Choose worker or frontend according to the owning collection.
|
|
21
|
+
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 IF, SWITCH, CACHE and relevant examples (IF SWITCH branch step); follow related document references. Read the returned document sections and pagination as needed.
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
2. `hexasync_explain_type` before writing any field. Worker/data lookups for this family: `hexasync_explain_type({"name":"IF","runtime":"worker"})`, `hexasync_explain_type({"name":"SWITCH","runtime":"worker"})`, `hexasync_explain_type({"name":"CACHE","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
26
|
-
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `IF SWITCH branch step`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
|
|
27
|
-
4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
|
|
28
|
-
5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
|
|
23
|
+
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.
|
|
29
24
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
## Grouped frontend routing
|
|
33
|
-
|
|
34
|
-
For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend workflows](references/frontend.FRONTEND-FLOWS.md) and its linked canonical resources, not the worker examples above. This KB page owns the grammar; do not translate worker fields into frontend syntax.
|
|
35
|
-
|
|
36
|
-
- Look up `hexasync_explain_type({"name":"FrontendFlow","runtime":"frontend"})`, `hexasync_explain_type({"name":"IF","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":"PUBLISH_EVENT.metadata","runtime":"frontend"})`. Always pass `runtime: 'frontend'`, including for names shared with worker types.
|
|
37
|
-
- Retrieve complete grouped examples with `hexasync_search_examples({"feature":"frontend"})`.
|
|
38
|
-
- Keep each flow `key` and `dependsOn` reference within 128 characters, matching `^[A-Z][A-Z0-9_]*$`; longer values are invalid.
|
|
39
|
-
- Before an expression, use `hexasync_explain_position({"position":"frontend-step"})` and the KB's current-flow context guidance.
|
|
40
|
-
- 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.
|
|
25
|
+
For grouped frontend flows, look up the frontend workflow reference separately. Do not reuse worker step fields for frontend steps.
|
|
41
26
|
|
|
42
27
|
## Best practices (from the knowledge base)
|
|
43
28
|
|
|
44
|
-
- **Loops.** A backward `next` edge is legal but must terminate: exit on a value that changes every visit (page cursor, `hasNextPage`, counter) and set a deliberate
|
|
45
|
-
- **Retries.** Rely on connection-level rate limits and the platform's connector retry before building retry loops. When a retry loop is needed, cap attempts, wait between them with [SLEEP](references/steps.SLEEP.md), and branch on
|
|
29
|
+
- **Loops.** A backward `next` edge is legal but must terminate: exit on a value that changes every visit (page cursor, `hasNextPage`, counter) and set a deliberate `maxStepIterations` (search the standards MCP). A loop whose exit never changes repeats side effects, burns the run's time budget and ends in a loop-guard failure that `onError` cannot catch. _([Step types — index](references/steps.INDEX.md#best-practices))_
|
|
30
|
+
- **Retries.** Rely on connection-level rate limits and the platform's connector retry before building retry loops. When a retry loop is needed, cap attempts, wait between them with [SLEEP](references/steps.SLEEP.md), and branch on `gracefulException` (search the standards MCP) output so only retryable failures loop. _([Step types — index](references/steps.INDEX.md#best-practices))_
|
|
46
31
|
- **Idempotency.** A run can restart from its root or be re-run. Write with upserts keyed by stable identifiers, set status flags (add/remove) rather than toggling them, and only sweep for removals after a complete, successful snapshot — sweeping after a partial page marks live rows as removed. _([Step types — index](references/steps.INDEX.md#best-practices))_
|
|
47
32
|
- **Incremental over full pulls.** Persist a cursor (for example with [SET_KEY_VALUE](references/steps.SET_KEY_VALUE.md)) and fetch only changes; full pulls cost more calls, take longer and raise the risk of hitting rate limits. _([Step types — index](references/steps.INDEX.md#best-practices))_
|
|
48
33
|
- **Explicit flow.** One `rootStep: true`, explicit `next` on every non-terminal step, and results read from `_outputs.<KEY>`. _([Step types — index](references/steps.INDEX.md#best-practices))_
|
|
49
|
-
- **Fail deliberately.** Use
|
|
34
|
+
- **Fail deliberately.** Use EXCEPTION (search the standards MCP) for failures that `onError` should handle and Error (search the standards MCP) for conditions that must stop the run. _([Step types — index](references/steps.INDEX.md#best-practices))_
|
|
50
35
|
- **Always write both `then` and `else`** so every outcome is explicit; a missing arm silently ends the flow. _([IF — IF](references/steps.IF.md#best-practices))_
|
|
51
36
|
- **Make conditions render a literal `true`/`false`**, e.g. with comparisons, because only `true` selects `then`. _([IF — IF](references/steps.IF.md#best-practices))_
|
|
52
37
|
- **Prepare inputs in `arguments`** and keep the `if` template short; it is easier to read and the trace shows the resolved value. _([IF — IF](references/steps.IF.md#best-practices))_
|
|
53
38
|
- **Don't rely on step-level `next`** after IF; it is always overridden. _([IF — IF](references/steps.IF.md#best-practices))_
|
|
54
39
|
- **Prefer SWITCH for multi-way choices** instead of chaining IF steps, which multiplies hops and traces. _([IF — IF](references/steps.IF.md#best-practices))_
|
|
55
|
-
-
|
|
40
|
+
- **Branch on a computed verdict, not on each error class.** For response failures, classify once in a JSONata/Scriban step and use a single IF to the success path or one `Error` (Classify once, raise once (search the standards MCP)); a chain of IF + Error per status is an anti-pattern. _([IF — IF](references/steps.IF.md#best-practices))_
|
|
41
|
+
- **Make exactly one branch true.** Write conditions that cannot overlap, and add a default branch that negates the others. Prefer this to relying on order, because order never resolves overlap; overlapping conditions fail the step. _([SWITCH — Switch](references/steps.SWITCH.md#best-practices))_
|
|
42
|
+
- **Do not rely on the step-level `next` as a fallback.** It is ignored after `SWITCH`. Model the fallback as an explicit branch. _([SWITCH — Switch](references/steps.SWITCH.md#best-practices))_
|
|
43
|
+
- **Render booleans, not text.** Compare with `==`, `!=`, `<`, `>=` and combine with `&&`/`||` so the result is `true` or `false`. Avoid conditions that render a value such as `1` or a non-empty string; they never match. _([SWITCH — Switch](references/steps.SWITCH.md#best-practices))_
|
|
44
|
+
- **Read the decision value from one place.** When several branches test the same value, produce it once in a preceding step (for example [VALUES](references/steps.VALUES.md#contract) or Scriban (search the standards MCP)) and reference `_outputs.<key>...` in each condition. This keeps branches consistent and the conditions short. _([SWITCH — Switch](references/steps.SWITCH.md#best-practices))_
|
|
45
|
+
- **Fail loudly for unexpected input.** Route the default branch to EXCEPTION (search the standards MCP) when an unknown value indicates a defect; route it to a normal step when it is an expected case. _([SWITCH — Switch](references/steps.SWITCH.md#best-practices))_
|
|
46
|
+
- **Add `description` to each branch** so traces and errors identify the branch in words. _([SWITCH — Switch](references/steps.SWITCH.md#best-practices))_
|
|
47
|
+
- **Prefer `VALUES` for static seed rows** and keep them literal; move computation to JSONata (search the standards MCP), where types are preserved. _([VALUES — Inline values](references/steps.VALUES.md#best-practices))_
|
|
48
|
+
- **Keep inserted text JSON-safe.** Templated values are inserted into serialized JSON before reparsing; a value containing a quote, backslash or newline can break the JSON and fail the step. Insert only identifiers and other controlled values, or produce untrusted text with JSONata instead. _([VALUES — Inline values](references/steps.VALUES.md#best-practices))_
|
|
49
|
+
- 125 more of 145: every page's own *Best practices* section is in [`references/`](references/INDEX.md).
|
|
56
50
|
|
|
57
51
|
## References
|
|
58
52
|
|
|
@@ -60,4 +54,4 @@ For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend wor
|
|
|
60
54
|
|
|
61
55
|
## Installing the MCP server
|
|
62
56
|
|
|
63
|
-
|
|
57
|
+
Connect the remote standards MCP using [`references/INSTALL.md`](references/INSTALL.md).
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# References — Control-flow, cache and data steps
|
|
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
|
-
- grouped frontend getReadyFlows, FrontendFlow/Step fields, RETURN, FAIL,
|
|
7
|
+
- grouped frontend getReadyFlows, FrontendFlow/Step fields, RETURN, FAIL, API_PROXY (third-party call with a connection's credential) and RECORDS_FORM (multi-record edit; removes saved as disables) → [Frontend workflows](frontend.FRONTEND-FLOWS.md)
|
|
8
8
|
- 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)
|
|
9
9
|
- one worker executor and its alternatives → [Worker step index](steps.INDEX.md)
|
|
10
10
|
|
|
@@ -141,7 +141,7 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
|
|
|
141
141
|
- [Frontend Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md)
|
|
142
142
|
- [RETURN](frontend.FRONTEND-FLOWS.return.md)
|
|
143
143
|
- [FAIL](frontend.FRONTEND-FLOWS.fail.md)
|
|
144
|
-
- [
|
|
144
|
+
- [API_PROXY](frontend.FRONTEND-FLOWS.api_proxy.md)
|
|
145
145
|
- [Task and reference data changes](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md)
|
|
146
146
|
- [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md)
|
|
147
147
|
- [RECORDS_FORM change-set path](frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md)
|