@beehexa/hexasync-ai-toolkit 2611.8.3 → 2612.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +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 +11 -16
- package/skills/hexasync-connections/references/INDEX.md +20 -2
- 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 +35 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.md +16 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.return.md +84 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- package/skills/hexasync-error-handling/SKILL.md +9 -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 -24
- package/skills/hexasync-expressions/references/INDEX.md +8 -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 +12 -12
- 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 +11 -5
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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 +48 -21
- package/skills/hexasync-query-dsl/SKILL.md +13 -17
- package/skills/hexasync-query-dsl/references/INDEX.md +2 -2
- 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 +17 -9
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +3 -3
- 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 +2 -2
- 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 +19 -26
- package/skills/hexasync-steps-api-http/references/INDEX.md +9 -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 +11 -5
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- package/skills/hexasync-steps-api-http/references/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.executor-selection-is-exact.md +6 -0
- 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 +25 -31
- package/skills/hexasync-steps-control-data/references/INDEX.md +8 -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 +11 -5
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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 -30
- package/skills/hexasync-templates/references/AI-INDEX.md +36 -35
- package/skills/hexasync-templates/references/INDEX.md +9 -4
- 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.md +1 -2
- 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 +14 -3
- 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.fail.md +76 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +4 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.records_form.md +7 -3
- 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 +11 -5
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
- package/skills/hexasync-templates/references/PROFILE-ROOT.getreadyflows-1.md +0 -33
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
|
@@ -24,7 +24,7 @@ pullers:
|
|
|
24
24
|
hasNextPage: $.LOAD.hasNextPage # optional; absent or null stops paging
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
The host saves the `items` page and stops because `hasNextPage` is false. A literal `hasNextPage: false` is rejected — every value must be a path string. Paging, persistence and new-kind differences are owned by
|
|
27
|
+
The host saves the `items` page and stops because `hasNextPage` is false. A literal `hasNextPage: false` is rejected — every value must be a path string. Paging, persistence and new-kind differences are owned by PULLERS (search the standards MCP). New-kind pullers (non-empty `steps`) ignore this field.
|
|
28
28
|
|
|
29
29
|
### Pusher result filters over non-HTTP outputs
|
|
30
30
|
|
|
@@ -50,15 +50,15 @@ pushers:
|
|
|
50
50
|
message: { expression: '"sent"' }
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
The result is `{id:"remote-7", isSuccess:true, isFailed:false, isIndirect:false, message:"sent"}`. The push is accepted only with `isSuccess` true, `isFailed` not true and a nonblank `id`. A missing `SEND.ok` omits `isSuccess`, which counts as false. A blank `id` falls back to the item's existing destination ID — a create must therefore return a real ID. Result semantics belong to
|
|
53
|
+
The result is `{id:"remote-7", isSuccess:true, isFailed:false, isIndirect:false, message:"sent"}`. The push is accepted only with `isSuccess` true, `isFailed` not true and a nonblank `id`. A missing `SEND.ok` omits `isSuccess`, which counts as false. A blank `id` falls back to the item's existing destination ID — a create must therefore return a real ID. Result semantics belong to PUSHERS (search the standards MCP).
|
|
54
54
|
|
|
55
55
|
### Other non-HTTP boundaries
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
VALUES (search the standards MCP) applies the same parsers to its rendered values array, but without `filters.<parser>` accumulation or headers; if every result is empty it returns `items: <rendered values>`, and it always returns `hasNextPage: false`. The dedicated JSONata step (search the standards MCP) takes a direct leaf map in `data`, not a `jsonata` group. SQL-style `data.responseFilters` lists (`{key, type}` entries) are an executor-specific grammar; see SQL (search the standards MCP).
|
|
58
58
|
|
|
59
59
|
### Webhook parser before target-item execution
|
|
60
60
|
|
|
61
|
-
A webhook target's `dataParser` uses the grouped engine over the **whole parsed webhook message**, before target steps run. Prerendering sees only profile `env`, `filters` and empty headers — no `webhook.arguments`, `_outputs`, `_inputs` or `_env`. Later
|
|
61
|
+
A webhook target's `dataParser` uses the grouped engine over the **whole parsed webhook message**, before target steps run. Prerendering sees only profile `env`, `filters` and empty headers — no `webhook.arguments`, `_outputs`, `_inputs` or `_env`. Later webhook target context (search the standards MCP) is a different placement.
|
|
62
62
|
|
|
63
63
|
```yaml
|
|
64
64
|
webhooks:
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
- **Purpose:** connect the steps of one Workflow list into a sequence, a branch or a bounded loop.
|
|
8
8
|
- **When to use:** on every step that must hand over to another step. Omit it (or set `null`) on the last step of each branch.
|
|
9
|
-
- **Sensible configuration:** a plain key for linear flow; a conditional object for a two-way decision; an
|
|
9
|
+
- **Sensible configuration:** a plain key for linear flow; a conditional object for a two-way decision; an IF (search the standards MCP) or SWITCH (search the standards MCP) step when the decision itself deserves a named, logged step. Every backward edge needs a condition that eventually turns false and an explicit per-step cap.
|
|
10
10
|
|
|
11
|
-
[Workflow/envelope](steps.STEP-ENVELOPE.one-canonical-workflow-component.md) owns list entry (`rootStep`) and step fields;
|
|
11
|
+
[Workflow/envelope](steps.STEP-ENVELOPE.one-canonical-workflow-component.md) owns list entry (`rootStep`) and step fields; runtime scope (search the standards MCP) owns which roots the routing renderer can read.
|
|
12
12
|
|
|
13
13
|
## Worker contract
|
|
14
14
|
|
|
@@ -105,7 +105,7 @@ next:
|
|
|
105
105
|
else: <next> # required: key, nested conditional or null
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
Use it for a two-way decision on data already in context. Nest a conditional in an arm for a further test; use
|
|
108
|
+
Use it for a two-way decision on data already in context. Nest a conditional in an arm for a further test; use SWITCH (search the standards MCP) when there are more than two outcomes.
|
|
109
109
|
|
|
110
110
|
#### description
|
|
111
111
|
|
|
@@ -161,7 +161,7 @@ SEED publishes its row before `next` is resolved. `true/true` selects DETAIL; `t
|
|
|
161
161
|
|
|
162
162
|
## Branch-output routing
|
|
163
163
|
|
|
164
|
-
When an executor returns `outputs.next`, that value is used immediately and declared `next` is **not** evaluated. A blank value ends the branch; an unknown key fails with `Branch next target '<target>' names no existing step.` This is how
|
|
164
|
+
When an executor returns `outputs.next`, that value is used immediately and declared `next` is **not** evaluated. A blank value ends the branch; an unknown key fails with `Branch next target '<target>' names no existing step.` This is how IF (search the standards MCP) (conditional resolver) and SWITCH (search the standards MCP) (exactly one matching case; zero matches end, several matches fail) route.
|
|
165
165
|
|
|
166
166
|
```yaml
|
|
167
167
|
- key: CHOOSE
|
|
@@ -175,7 +175,7 @@ When an executor returns `outputs.next`, that value is used immediately and decl
|
|
|
175
175
|
next: null
|
|
176
176
|
```
|
|
177
177
|
|
|
178
|
-
CHOOSE → DETAIL → end. FALLBACK is never resolved; even when IF selects `null`, declared `next` is not a default branch — don't author it on IF/SWITCH. Address earlier results through `_outputs.<key>` in routing templates (see
|
|
178
|
+
CHOOSE → DETAIL → end. FALLBACK is never resolved; even when IF selects `null`, declared `next` is not a default branch — don't author it on IF/SWITCH. Address earlier results through `_outputs.<key>` in routing templates (see shared iterator roots (search the standards MCP)).
|
|
179
179
|
|
|
180
180
|
## Backward edges and terminal loop guards
|
|
181
181
|
|
|
@@ -204,7 +204,7 @@ A paging loop that continues while the previous page says there is more:
|
|
|
204
204
|
else: null
|
|
205
205
|
```
|
|
206
206
|
|
|
207
|
-
VALUES reports `hasNextPage: false`, so PAGE runs once and the branch ends. In a real pager, PAGE is an API/SQL step whose request changes every iteration (cursor or offset).
|
|
207
|
+
VALUES reports `hasNextPage: false`, so PAGE runs once and the branch ends. In a real pager, PAGE is an API/SQL step whose request changes every iteration (cursor or offset). PULLERS (search the standards MCP) owns page termination, empty-page and persistence/sweep rules; the edge alone saves nothing.
|
|
208
208
|
|
|
209
209
|
### Rejected example: unconditional self-loop
|
|
210
210
|
|
|
@@ -243,4 +243,4 @@ Frontend connector workflows (connection setup and creation flows) are a separat
|
|
|
243
243
|
|
|
244
244
|
## Related
|
|
245
245
|
|
|
246
|
-
[Workflow](steps.STEP-ENVELOPE.one-canonical-workflow-component.md), [arguments](steps.STEP-ENVELOPE.arguments-and-routing.md),
|
|
246
|
+
[Workflow](steps.STEP-ENVELOPE.one-canonical-workflow-component.md), [arguments](steps.STEP-ENVELOPE.arguments-and-routing.md), runtime scope (search the standards MCP), [response filters](responseFilters.RESPONSE-FILTERS.exact-authored-shape.md), IF (search the standards MCP), and SWITCH (search the standards MCP) own reused inputs/outputs and executor-specific conditions.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## API pagination
|
|
4
4
|
|
|
5
|
-
There is no built-in pagination. Author it: put page/offset/cursor values in `queries`, project the continuation token and a `hasNextPage` flag with response filters, and loop with `next`. Process or persist each page before looping, because `_outputs.<KEY>` holds only the latest page. For puller-specific paging and no-progress detection see
|
|
5
|
+
There is no built-in pagination. Author it: put page/offset/cursor values in `queries`, project the continuation token and a `hasNextPage` flag with response filters, and loop with `next`. Process or persist each page before looping, because `_outputs.<KEY>` holds only the latest page. For puller-specific paging and no-progress detection see PULLERS (search the standards MCP); for loop limits see [NEXT](routing.NEXT.md).
|
|
6
6
|
|
|
7
7
|
### Complete response-derived cursor loop
|
|
8
8
|
|
|
@@ -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`.
|
package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md
CHANGED
|
@@ -19,3 +19,9 @@ steps:
|
|
|
19
19
|
|
|
20
20
|
`COPY` uses the legacy `provider` and `input` spellings and produces `items: [{source: "A1"}]` — the same result as `displayType` and `data`. Prefer the modern spellings in new work.
|
|
21
21
|
|
|
22
|
+
### Push attempt admission
|
|
23
|
+
|
|
24
|
+
For an owned push, the worker checks the current attempt's permission immediately before each executor to prevent a replaced attempt from starting its next delivery step. Nested lists retain the owning push check; independent pushes keep separate permission scopes. The check releases its database transaction and connector before the executor waits on HTTP or other workflow work.
|
|
25
|
+
|
|
26
|
+
This protection adds no template field and does not change routing or payload selection. A permission check cannot withdraw an HTTP request already sent or make that request atomic with a later ownership change.
|
|
27
|
+
|
|
@@ -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:
|