@beehexa/hexasync-ai-toolkit 2611.14.1 → 2612.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +3 -4
- package/.cursor-plugin/plugin.json +3 -4
- package/README.md +5 -74
- package/dist/cli.js +15 -2070
- package/gemini-extension.json +2 -11
- package/openclaw.extension.mjs +2 -3
- package/openclaw.plugin.json +2 -2
- package/package.json +3 -4
- package/plugin.json +3 -4
- package/skills/hexasync-connections/SKILL.md +10 -25
- package/skills/hexasync-connections/references/INDEX.md +4 -4
- package/skills/hexasync-connections/references/INSTALL.md +5 -48
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +1 -1
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +1 -1
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +5 -5
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-error-handling/SKILL.md +9 -16
- package/skills/hexasync-error-handling/references/INDEX.md +1 -1
- package/skills/hexasync-error-handling/references/INSTALL.md +5 -48
- package/skills/hexasync-error-handling/references/routing.NEXT.md +10 -10
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +5 -5
- package/skills/hexasync-error-handling/references/steps.Error.md +8 -8
- package/skills/hexasync-expressions/SKILL.md +10 -25
- package/skills/hexasync-expressions/references/INDEX.md +3 -3
- package/skills/hexasync-expressions/references/INSTALL.md +5 -48
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +4 -4
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +17 -17
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +10 -10
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-expressions/references/steps.JSONata.md +8 -8
- package/skills/hexasync-expressions/references/steps.Liquid.md +2 -2
- package/skills/hexasync-expressions/references/steps.Scriban.md +9 -9
- package/skills/hexasync-field-mapping/SKILL.md +13 -19
- package/skills/hexasync-field-mapping/references/INDEX.md +2 -2
- package/skills/hexasync-field-mapping/references/INSTALL.md +5 -48
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +19 -19
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +5 -5
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +6 -6
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +2 -2
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +4 -4
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +1 -1
- package/skills/hexasync-metrics-reports/SKILL.md +9 -16
- package/skills/hexasync-metrics-reports/references/INDEX.md +1 -1
- package/skills/hexasync-metrics-reports/references/INSTALL.md +5 -48
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +1 -1
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +1 -1
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +2 -2
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +4 -4
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +1 -1
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +4 -4
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +2 -2
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +8 -8
- package/skills/hexasync-pullers/SKILL.md +11 -18
- package/skills/hexasync-pullers/references/INDEX.md +3 -3
- package/skills/hexasync-pullers/references/INSTALL.md +5 -48
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +3 -3
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +6 -6
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +6 -6
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +7 -7
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +2 -2
- package/skills/hexasync-pullers/references/steps.PULLER.md +8 -8
- package/skills/hexasync-pushers/SKILL.md +20 -22
- package/skills/hexasync-pushers/references/INDEX.md +2 -2
- package/skills/hexasync-pushers/references/INSTALL.md +5 -48
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +3 -3
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +4 -4
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +3 -3
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +6 -6
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +4 -4
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +1 -1
- package/skills/hexasync-pushers/references/steps.PUSHER.md +8 -8
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +14 -14
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +13 -13
- package/skills/hexasync-query-dsl/SKILL.md +13 -17
- package/skills/hexasync-query-dsl/references/INDEX.md +1 -1
- package/skills/hexasync-query-dsl/references/INSTALL.md +5 -48
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +4 -4
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +5 -5
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +4 -4
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +7 -7
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +9 -9
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +9 -9
- package/skills/hexasync-query-dsl/references/steps.SQL.md +12 -12
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +9 -9
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +9 -16
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +3 -3
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +5 -48
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +3 -3
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +1 -1
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +5 -5
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +6 -6
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +2 -2
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +9 -9
- package/skills/hexasync-steps-api-http/SKILL.md +20 -27
- package/skills/hexasync-steps-api-http/references/INDEX.md +4 -4
- package/skills/hexasync-steps-api-http/references/INSTALL.md +5 -48
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +2 -2
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +4 -4
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +7 -7
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +4 -4
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +90 -90
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +16 -16
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +4 -4
- package/skills/hexasync-steps-control-data/SKILL.md +24 -30
- package/skills/hexasync-steps-control-data/references/INDEX.md +3 -3
- package/skills/hexasync-steps-control-data/references/INSTALL.md +5 -48
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +23 -23
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.End.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +6 -6
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.IF.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +48 -48
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +2 -2
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +8 -8
- package/skills/hexasync-steps-control-data/references/steps.OData.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +5 -5
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +11 -11
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +6 -6
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +10 -10
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +8 -8
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +13 -13
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +5 -5
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +8 -8
- package/skills/hexasync-tables-tasks-objects/SKILL.md +11 -18
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +5 -48
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +7 -7
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +4 -4
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +16 -16
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +3 -3
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +5 -5
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +6 -6
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +1 -1
- package/skills/hexasync-templates/SKILL.md +16 -31
- package/skills/hexasync-templates/references/AI-INDEX.md +31 -31
- package/skills/hexasync-templates/references/INDEX.md +3 -2
- package/skills/hexasync-templates/references/INSTALL.md +5 -48
- package/skills/hexasync-templates/references/KB-INDEX.md +98 -98
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +2 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +10 -10
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api_proxy.md +69 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +3 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +4 -4
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.getreadyflows.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-transformations/SKILL.md +9 -16
- package/skills/hexasync-transformations/references/INDEX.md +2 -2
- package/skills/hexasync-transformations/references/INSTALL.md +5 -48
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +6 -6
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +2 -2
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +4 -4
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +1 -1
- package/skills/hexasync-validations/SKILL.md +9 -16
- package/skills/hexasync-validations/references/INDEX.md +1 -1
- package/skills/hexasync-validations/references/INSTALL.md +5 -48
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +6 -6
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +1 -1
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +2 -2
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +1 -1
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +1 -1
- package/skills/hexasync-webhooks/SKILL.md +12 -19
- package/skills/hexasync-webhooks/references/INDEX.md +2 -2
- package/skills/hexasync-webhooks/references/INSTALL.md +5 -48
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +7 -7
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +10 -10
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +6 -6
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +6 -6
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +3 -3
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +1 -1
- package/.cursor-plugin/mcp.json +0 -12
- package/.mcp.json +0 -11
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
|
@@ -1,51 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Connect the HexaSync standards MCP
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The standards MCP runs on AI Gateway. Connect your AI client using the HexaSync Control Center connection instructions. The toolkit installs skills only and does not change MCP configuration.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
```
|
|
5
|
+
Server: `https://ai-gateway.hexasync.dev/mcp/wiki/hexasync-template-development-standards`
|
|
6
|
+
OAuth client ID: `hexasync-mcp`; leave the client secret empty and sign in with HexaSync IAM.
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
| Client | Registration |
|
|
12
|
-
| --- | --- |
|
|
13
|
-
| Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@2611.14.1` |
|
|
14
|
-
| Codex | `mcp_servers` in `~/.codex/config.toml` |
|
|
15
|
-
| Cursor | `mcpServers` in `~/.cursor/mcp.json` |
|
|
16
|
-
| Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
|
|
17
|
-
| pi | `mcpServers` in `~/.pi/agent/mcp.json` |
|
|
18
|
-
| OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@2611.14.1"]}'` |
|
|
19
|
-
| VS Code | `servers` in the user `mcp.json` |
|
|
20
|
-
|
|
21
|
-
```json
|
|
22
|
-
{
|
|
23
|
-
"mcpServers": {
|
|
24
|
-
"hexasync-template-ide": {
|
|
25
|
-
"command": "npx",
|
|
26
|
-
"args": [
|
|
27
|
-
"-y",
|
|
28
|
-
"@beehexa/hexasync-template-ide-mcp@2611.14.1"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
On native Windows use this launch:
|
|
36
|
-
|
|
37
|
-
```json
|
|
38
|
-
{
|
|
39
|
-
"command": "cmd",
|
|
40
|
-
"args": [
|
|
41
|
-
"/c",
|
|
42
|
-
"npx",
|
|
43
|
-
"-y",
|
|
44
|
-
"@beehexa/hexasync-template-ide-mcp@2611.14.1"
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
The standalone server must match toolkit 2611.14.1. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
|
|
50
|
-
|
|
51
|
-
Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it. Skills are loaded conditionally by the host, not globally injected.
|
|
8
|
+
In Control Center open **AI Gateway → MCP Servers → HexaSync Template Development Standards → Connection**. Each client configuration directory has its own server setup and sign-in.
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
> Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
|
|
2
|
+
|
|
3
|
+
## `API_PROXY`
|
|
4
|
+
|
|
5
|
+
Call a third-party system with the credential of one of this profile's connections, without the credential ever reaching the browser. The browser sends only the request shape; the gateway's connector hook (`POST /api/v3/profiles/{profileId}/connections/{connectionId}/execute/`) adds the credential and calls the provider. The profile id comes from the host, never from the step. `API_PROXY` runs only inside `getReadyFlows`; a legacy direct array (`creationSteps`, …) fails it with `MISSING_PROFILE_CONTEXT`.
|
|
6
|
+
|
|
7
|
+
**Which request step to choose**
|
|
8
|
+
|
|
9
|
+
| Step | Use it for |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| `API_PROXY` | A third-party system, signed with a connection's credential held by the gateway. |
|
|
12
|
+
| `API` | A HexaSync service call (cURL string). |
|
|
13
|
+
| `GATEWAY_API` | Legacy token-then-request pattern. It hands the token to the browser; do not choose it for new flows. |
|
|
14
|
+
|
|
15
|
+
**Metadata** is closed: only the members below. `profileId`, `baseUrl`, `connectionOptions`, `acceptHttpStatuses` and any other member are refused (the gateway answers `UNSUPPORTED_MEMBER`); there is no status allow-list because every provider status already comes back as an answer with an `outcome`. Every value may use the existing Liquid/JSONata mapping.
|
|
16
|
+
|
|
17
|
+
| Syntax | Meaning | Default and choice |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| `connectionId: 55555555-…` | Which connection's credential signs the call: the GUID `connectors[].id` of this template. | Required, nonblank; no default. A literal must be a GUID (`8-4-4-4-12` hex digits, the only form the gateway route accepts) and must name a declared connector (`FFE-7`); a templated id or `**Variable**` placeholder cannot be checked before run time. |
|
|
20
|
+
| `url: /v1/messages` | Endpoint path relative to the connection's base URL. | Required; no default. Any `:` before the first `/`, `?` or `#` (a scheme such as `https:` or `mailto:`), a leading `//`, whitespace, control characters or a backslash is refused; a relative path such as `endpoints/x` or `/v1/a:b` is fine: the connection decides the host. |
|
|
21
|
+
| `method: POST` | HTTP method. | Required; `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `HEAD` or `OPTIONS`. |
|
|
22
|
+
| `headers: { X-Trace: "1" }` | Extra request headers; each value a string or list of strings. | Optional; none. The gateway adds the credential — never author a secret header. |
|
|
23
|
+
| `queries: { page: 2 }` | Query-string members. | Optional; none. |
|
|
24
|
+
| `body: { … }` | Request body, any JSON. | Optional; none. |
|
|
25
|
+
| `responseFilters: { jsonata: { message_id: { expression: data.message_id } } }` | Response filters in the exact worker API step `data.responseFilters` grammar (search the standards MCP): parser ID (`jsonata`, `jsonpath`, `xpath`, `scriban`, `scriban_xml`, `regex_replace`, `base64`, `raw_text`) → output key → `{expression, acceptedStatuses?}`, with `expression` a required string. The filtered values come back in `outputs.<KEY>.results.outputs`. | Optional; none. Either a literal object, sent unchanged to the connector hook — its expressions run in the hook, not in the browser, so they never read this workflow's `outputs` — or a whole-member mapped string such as `responseFilters: 'jsonata:: outputs.BUILD_FILTERS'` that maps to such an object from this workflow. `API_PROXY` has no `acceptHttpStatuses`, so omit `acceptedStatuses` (or use `null`/`[]`): it lists status-key strings, never numbers such as `200`, and a non-empty list matches no status and drops that output. A missing `expression`, an unknown parser ID, a non-string status or any other value is refused (`FFE-7`, gateway `INVALID_RESPONSE_FILTERS` for a non-object). |
|
|
26
|
+
|
|
27
|
+
The step itself refuses `url`, `method`, `profile`, `profileId`, `connection`, `connectionId`, `header`, `headers`, `credential`, `credentialId` and `credentials` beside `metadata`, and `dryRun: true` (or `"true"`).
|
|
28
|
+
|
|
29
|
+
**Outputs** (`outputs.<KEY>`):
|
|
30
|
+
|
|
31
|
+
| Member | Meaning |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| `results.statusCode`, `results.headers`, `results.body` | The provider's answer. `body` is the hook's own body if it returns one; else, with `responseFilters`, the filtered values; else the provider's raw body. |
|
|
34
|
+
| `results.outputs` | With `responseFilters`: the filtered values the connector hook returns (for example `results.outputs.message_id`). Other members the hook returns pass through `results` as well. |
|
|
35
|
+
| `parseResponseResult` | How the gateway read the answer; may be `null` (for example a redirect with a raw text body). |
|
|
36
|
+
| `outcome` | `success`, `redirect`, `error`, `unauthorized`, `apiCallLimit` or `notFound`. A `redirect` answer may carry a raw text body. |
|
|
37
|
+
| `attempts` | Number of attempts the gateway made. |
|
|
38
|
+
| `_response.statusCode`, `_response.headers`, `_response.body` | The provider's answer, as for an `API` step. |
|
|
39
|
+
|
|
40
|
+
**What breaks**
|
|
41
|
+
|
|
42
|
+
```mermaid
|
|
43
|
+
flowchart LR
|
|
44
|
+
S[API_PROXY] -->|any provider status: gateway 200 with outcome| N[next]
|
|
45
|
+
S -->|gateway 4xx with errorCode| F1[step fails with that code]
|
|
46
|
+
S -->|5xx IAM_UNAVAILABLE, CONNECTOR_WORKFLOW_INVALID, CREDENTIAL_UNAVAILABLE| F1
|
|
47
|
+
S -->|4xx without code: 408, 413, 429, route 404| F2[step fails: ACTION_OUTCOME_UNKNOWN, never resent]
|
|
48
|
+
S -->|other 5xx, network, timeout| F2
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
- **Every provider HTTP status is an answer.** The gateway relays a provider 2xx, 3xx, 4xx and 5xx alike as HTTP 200 with an `outcome` (`success`, `redirect`, `error`, `unauthorized`, `apiCallLimit` or `notFound`), and the step advances to `next` **even when `outcome` is `error`** — a provider 404 or 500 does not fail the step. Classify `outcome` (and the provider body where it carries its own error flag) with an `IF` before a SUCCESS `RETURN`; a literal `next` straight into a SUCCESS `RETURN` is rejected (`FFE-13`).
|
|
52
|
+
- Only gateway failures fail the step, and failures never route to `next`. A gateway 4xx carrying a gateway `errorCode` (for example the member error for `acceptHttpStatuses`) is a definite failure with that code. A 5xx carrying `IAM_UNAVAILABLE`, `CONNECTOR_WORKFLOW_INVALID` or `CREDENTIAL_UNAVAILABLE` is likewise a definite failure with that code. A 4xx without a code (408, 413, 429 or a route 404), any other 5xx, a network error or a timeout ends the step with `ACTION_OUTCOME_UNKNOWN`, and an unknown outcome is never resent because the provider may already have acted. A connector hook failure after the provider answered 2xx is still an answer: the gateway returns 200 with `outcome: error`. Aborting before the request is sent cancels; after it is sent the outcome is `ACTION_OUTCOME_UNKNOWN`.
|
|
53
|
+
|
|
54
|
+
```yaml
|
|
55
|
+
connectors:
|
|
56
|
+
- id: 55555555-5555-4555-8555-555555555555
|
|
57
|
+
name: Source system
|
|
58
|
+
connectorId: 0a0a0a0a-0a0a-4a0a-8a0a-0a0a0a0a0a0a
|
|
59
|
+
getReadyFlows:
|
|
60
|
+
- key: SEND_TEST_MESSAGE
|
|
61
|
+
title: Send a test message
|
|
62
|
+
action: { label: Send }
|
|
63
|
+
completionVersion: "1"
|
|
64
|
+
steps:
|
|
65
|
+
- key: SEND
|
|
66
|
+
type: API_PROXY
|
|
67
|
+
root: true
|
|
68
|
+
metadata:
|
|
69
|
+
connectionId: 55555555-5555-4555-8555-555555555555
|
|
70
|
+
url: /v1/messages
|
|
71
|
+
method: POST
|
|
72
|
+
headers: { X-Request-Source: readiness }
|
|
73
|
+
body:
|
|
74
|
+
text: "{{ inputs.MESSAGE }}"
|
|
75
|
+
next: CHECK_SENT
|
|
76
|
+
- key: CHECK_SENT
|
|
77
|
+
type: IF
|
|
78
|
+
metadata:
|
|
79
|
+
condition: '${ outputs.SEND.outcome = "success" }'
|
|
80
|
+
then: DONE
|
|
81
|
+
else: NOT_SENT
|
|
82
|
+
- key: DONE
|
|
83
|
+
type: RETURN
|
|
84
|
+
metadata:
|
|
85
|
+
status: SUCCESS
|
|
86
|
+
outputs:
|
|
87
|
+
status_code: "{{ outputs.SEND.results.statusCode }}"
|
|
88
|
+
- key: NOT_SENT
|
|
89
|
+
type: FAIL
|
|
90
|
+
metadata:
|
|
91
|
+
code: NOT_SENT
|
|
92
|
+
message: The system did not accept the message. Check the connection, then try again.
|
|
93
|
+
```
|
|
94
|
+
|
|
@@ -30,6 +30,6 @@ Quoted/backtick path identifiers retain their complete field identity: `"outputs
|
|
|
30
30
|
|
|
31
31
|
Opaque template output adjoining a producer token cannot establish its literal prefix as a producer. An already-complete `outputs.FETCH` remains selected through dynamic result-member access. Opaque binders and unsupported focus-changing syntax remain uncertain rather than preserving a definite workflow root through recovery. Tuple-root mutations and pending captured writes participate in uncertainty joins; constructor peer origins are aggregated once rather than rescanned per sibling. The structural analyzer bounds recursion at 128 frames and reports recognizable namespace ownership as uncertain on refusal rather than throwing or certifying an unvisited expression. These are lexical provenance checks, not arbitrary expression evaluation, function-result identity inference or dynamic result-member certification.
|
|
32
32
|
|
|
33
|
-
Use the existing seven MCP tools. For `hexasync_explain_type`, pass `runtime: frontend` for `FrontendFlow`, `Step`, `RETURN`, `FAIL`, `
|
|
33
|
+
Use the existing seven MCP tools. For `hexasync_explain_type`, pass `runtime: frontend` for `FrontendFlow`, `Step`, `RETURN`, `FAIL`, `API_PROXY`, `RECORDS_FORM`, `API`, `IF` or a metadata field (for example `RECORDS_FORM.metadata.search`). Its default frontend answer is concise (description, default, fields and an example) and marked incomplete; repeat with `full: true` for the canonical JSON Schema grammar. Omitted runtime means worker, as does explicit `worker`; unsupported runtime values fail. A missing frontend reference must not silently fall back to worker knowledge. Use `hexasync_explain_position` with `frontend-step`, then validate the effective composed project. Missing source or validation coverage is unavailable/incomplete, never proof of validity. `FFE-12` reports RECORDS_FORM column, identity and fill keys that do not fit the target table, and an unresolvable task/table as uncertain.
|
|
34
34
|
|
|
35
|
-
See
|
|
35
|
+
See root declarations (search the standards MCP), expression context (search the standards MCP) and the canonical resources `hexasync://assets/frontend/connectors/main.json` and `hexasync://assets/frontend/templates/getReadyFlows.json`. Installed and bundled knowledge report their origin/version. Actual installed editor/MCP and matching published package proof remain release checks, not consequences of schema acceptance.
|
|
@@ -42,7 +42,7 @@ getReadyFlows:
|
|
|
42
42
|
message: Connect the account, then run this action again.
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
The same step ends a legacy direct array such as `creationSteps`; see
|
|
45
|
+
The same step ends a legacy direct array such as `creationSteps`; see FAIL in frontend steps (search the standards MCP) for that full-context example and its `code`/`message` fields.
|
|
46
46
|
|
|
47
47
|
How to choose: use FAIL for a failed ending with a fixed code; use `RETURN` with `status: FAILED` only where you already return through RETURN and prefer one terminal type (in grouped flows the outcome is the same). Use `SHOW_INFO` — any `metadata.type`, including `ERROR` — to inform the user and continue; SHOW_INFO never ends or fails a run. Prefer a FAIL reached after classifying a failed request (an `IF` or NextBranch reading `outputs.<KEY>`) over leaving the request unread: a grouped request failure that no reachable step reads ends the run with a generic handler failure instead of your code and message (`FFE-14`).
|
|
48
48
|
|
|
@@ -14,8 +14,8 @@ The examples on this page are full root declarations; each step belongs inside i
|
|
|
14
14
|
| `msg: Check the values before continuing.` | UI message before/after the step. | Optional string; absent means no message. |
|
|
15
15
|
| `arguments: {purpose: review}` | Free-form frontend runtime arguments, not worker argument wrappers. | Optional object/null; absent/null supplies no arguments. Prefer `metadata` for handler configuration. |
|
|
16
16
|
| `dryRun: "false"` | Requests side-effect-free execution only where the handler supports it. | Optional; absence stays absent. It does not prove that a handler supports simulation or that an event was router-accepted. |
|
|
17
|
-
| `metadata: {fields: [...]}` | Handler-specific configuration using the frontend's existing recursive Liquid/JSONata mapping. | Requirement and shape depend on `type`; RETURN/FAIL/
|
|
18
|
-
| `outputs: [{key: reviewed, index: 0, type: jsonata, metadata: {expression: "$"}}]` | Nonterminal postprocessors adding named derived fields to a step result. | Optional array/null; absent/null keeps the original result. A non-empty list is forbidden on IF, SWITCH, JSONATA, LIQUID, WAIT, RETURN and FAIL; there an absent, `null` or empty (`[]`) `outputs` means no processors and is accepted, because the runtime ignores it — except that a grouped RETURN forbids the member altogether, even empty or null (`FFE-6`, as grouped admission does). Not the terminal result map;
|
|
17
|
+
| `metadata: {fields: [...]}` | Handler-specific configuration using the frontend's existing recursive Liquid/JSONata mapping. | Requirement and shape depend on `type`; RETURN/FAIL/API_PROXY/RECORDS_FORM require their closed objects below. Preserve FORM required/readonly expressions; never globally coerce metadata. |
|
|
18
|
+
| `outputs: [{key: reviewed, index: 0, type: jsonata, metadata: {expression: "$"}}]` | Nonterminal postprocessors adding named derived fields to a step result. | Optional array/null; absent/null keeps the original result. A non-empty list is forbidden on IF, SWITCH, JSONATA, LIQUID, WAIT, RETURN and FAIL; there an absent, `null` or empty (`[]`) `outputs` means no processors and is accepted, because the runtime ignores it — except that a grouped RETURN forbids the member altogether, even empty or null (`FFE-6`, as grouped admission does). Not the terminal result map; Output fields (search the standards MCP) own processor variants. |
|
|
19
19
|
| `repeatableCount: 20` | Pre-execution limit for repeats with the same key/raw metadata template. | Optional number; default 20. Lower for bounded polling; not a retry policy or a termination guarantee. |
|
|
20
20
|
| `repeatableDetailCount: 10` | Executing limit for repeats with the same key/resolved metadata. | Optional number; default 10. Lower for identical repeated work. |
|
|
21
21
|
| `status: NOT_STARTED` | Runtime state: NOT_STARTED, SUCCESS, FAILED or null. Not RETURN's terminal status. | Optional; absent/null means no recorded state. Normally omit in authored declarations. |
|
|
@@ -8,7 +8,7 @@ This page is served as 10 separate resources. Read the one you need:
|
|
|
8
8
|
- [Frontend Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md) — The examples on this page are full root declarations; each step belongs inside its flow's steps array.
|
|
9
9
|
- [`RETURN`](frontend.FRONTEND-FLOWS.return.md) — RETURN terminates one invocation before ordinary output postprocessing or successor advancement.
|
|
10
10
|
- [`FAIL`](frontend.FRONTEND-FLOWS.fail.md) — FAIL ends the run as failed, on purpose, with a code and message you write.
|
|
11
|
-
- [`
|
|
11
|
+
- [`API_PROXY`](frontend.FRONTEND-FLOWS.api_proxy.md) — Call a third-party system with the credential of one of this profile's connections, without the credential ever reaching the browser.
|
|
12
12
|
- [Task and reference data changes](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md) — Save a form's row changes in one request and use the returned outcomes to tell the user what happened.
|
|
13
13
|
- [`RECORDS_FORM`](frontend.FRONTEND-FLOWS.records_form.md) — RECORDS_FORM lets the user add, change and remove several records in one paged table, then hands the changes to the steps after it.
|
|
14
14
|
- [Rejected forms (non-copyable)](frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md) — These counterexamples are deliberately excluded from copyable example search.
|
|
@@ -8,13 +8,13 @@ Each `getReadyFlows` entry is a separate frontend graph with its authored title.
|
|
|
8
8
|
|
|
9
9
|
Missing, null or blank successors, omitted conditional arms, omitted SWITCH defaults and a blank `onCancelled` are `MISSING_RETURN` boundaries in grouped graphs, located at the nearest authored field; validation rejects them on every step, reachable or not, as dashboard admission does. Legacy direct arrays retain their implicit END behavior. Only a Liquid tag (`{{ … }}`, `{% … %}`) or a `jsonata::` prefix makes a destination dynamic: it remains uncertain with its dialect preserved, and previews never evaluate it or invent a target. Any other text — including `liquid::DONE` or `${inputs.target}` — is rendered literally at runtime, so it is a literal key matched exactly and a missing one is reported (`FFE-5`).
|
|
10
10
|
|
|
11
|
-
An `API` or `GATEWAY_API` step's controlled failure follows its plain `next`, so in a grouped flow a literal `next` straight into a SUCCESS RETURN is rejected (`FFE-13`, the same rule the dashboard applies at admission). Classify the result first with an `IF` step or a NextBranch `{if, then, else}`; a FAILED RETURN, a FAIL step, an intermediate step or a templated `next` is allowed.
|
|
11
|
+
An `API` or `GATEWAY_API` step's controlled failure, and an `API_PROXY` answer of any `outcome`, follows its plain `next`, so in a grouped flow a literal `next` straight into a SUCCESS RETURN is rejected (`FFE-13`, the same rule the dashboard applies at admission). Classify the result first with an `IF` step or a NextBranch `{if, then, else}`; a FAILED RETURN, a FAIL step, an intermediate step or a templated `next` is allowed.
|
|
12
12
|
|
|
13
|
-
Handle a failed request before reporting success. `FFE-14` (medium) warns when a grouped `API` or `GATEWAY_API` has no possible recovery route: a `failed` arm, a result read in its own `next`, or a reachable step that can read `outputs.<KEY>`. Analysis follows every route, including cancellation, IF/SWITCH arms and possible dynamic destinations; it does not prove which branch will run. A step already reported by `FFE-13` is not reported again.
|
|
13
|
+
Handle a failed request before reporting success. `FFE-14` (medium) warns when a grouped `API` or `GATEWAY_API` has no possible recovery route: a `failed` arm, a result read in its own `next`, or a reachable step that can read `outputs.<KEY>`. Analysis follows every route, including cancellation, IF/SWITCH arms and possible dynamic destinations; it does not prove which branch will run. A step already reported by `FFE-13` is not reported again. `API_PROXY` is not checked by `FFE-14`: its failures never route and always end the run, so there is nothing to recover — instead classify `outputs.<KEY>.outcome` (and `results.body` where the provider reports its own errors) before a SUCCESS RETURN.
|
|
14
14
|
|
|
15
15
|
A possible reader is not proof that the error was handled. The runtime keeps the failed request pending until an actual workflow expression reads that same run's result; it cannot save a successful completion while that failure remains unread. Comments, regular-expression text, quoted prose, unused functions, untaken branches and diagnostic preparation do not count as recovery. Read and classify the result where you recover, or end the run failed.
|
|
16
16
|
|
|
17
|
-
Field grammar matters: use Liquid `outputs["KEY"]` or JSONata dot/backtick paths, not JSONata's namespace predicate `outputs["KEY"]`. Raw response-only output projections and `RECORDS_FORM.search.items` read response data, not workflow results. Whole `${…}` control expressions belong only to IF conditions and SWITCH expressions; generic text stays literal.
|
|
17
|
+
Field grammar matters: use Liquid `outputs["KEY"]` or JSONata dot/backtick paths, not JSONata's namespace predicate `outputs["KEY"]`. Raw response-only output projections and `RECORDS_FORM.search.items` read response data, not workflow results. Whole `${…}` control expressions belong only to IF conditions and SWITCH expressions; generic text stays literal.
|
|
18
18
|
|
|
19
19
|
Staged Liquid/JSONata recovery references are parsed one structural candidate at a time, without executing either language. Exact literal emission and known non-emission preserve syntax and lexical focus; opaque emitted syntax cannot certify a recovery reader, and shadowed `$$` does not identify the workflow root. This does not infer binding values or certify arbitrary generated programs. Correlated structural fragments can require exponential total work; editor and MCP validation yield between candidates and cancel superseded requests. Cancellation means validation is incomplete, never that a template is valid or has no findings.
|
|
20
20
|
|
|
@@ -6,7 +6,7 @@ Save a form's row changes in one request and use the returned outcomes to tell t
|
|
|
6
6
|
|
|
7
7
|
### Availability of the data routes
|
|
8
8
|
|
|
9
|
-
**Unreleased capability:** the changes, preview, health and repair routes, and the corrected
|
|
9
|
+
**Unreleased capability:** the changes, preview, health and repair routes, and the corrected v2 search cursors (search the standards MCP), are implemented on worker.proxy `feats/task-flow`, PR #78. No published worker.proxy version has been identified as containing this feature. Enable a flow using it only after a worker.proxy build containing the feature has been deployed; record the actual first published version when released. An older proxy can forward an unknown route to the worker and return 404. No core.api version or worker upgrade is a prerequisite. This note is not a release or deployment claim.
|
|
10
10
|
|
|
11
11
|
### Changes: apply a row change set
|
|
12
12
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Contract
|
|
6
6
|
|
|
7
|
-
`BASE64_TO_MIME_TYPE` decodes a raw Base64 string and detects which image format the bytes contain. It returns `{mime_type: "image/<format>"}` at `_outputs.<KEY>`, with the format name in lower case (for example `image/jpeg`). Place it in a workflow `steps` list; shared envelope behavior (`provider`/`displayType`, `data` versus `input`, `next`, `onError`) is described in
|
|
7
|
+
`BASE64_TO_MIME_TYPE` decodes a raw Base64 string and detects which image format the bytes contain. It returns `{mime_type: "image/<format>"}` at `_outputs.<KEY>`, with the format name in lower case (for example `image/jpeg`). Place it in a workflow `steps` list; shared envelope behavior (`provider`/`displayType`, `data` versus `input`, `next`, `onError`) is described in the step envelope (search the standards MCP).
|
|
8
8
|
|
|
9
9
|
### Syntax
|
|
10
10
|
|
|
@@ -95,7 +95,7 @@ Downstream steps read it as `{{ _outputs.<KEY>.mime_type }}` (Scriban) or `_outp
|
|
|
95
95
|
|
|
96
96
|
## Related
|
|
97
97
|
|
|
98
|
-
-
|
|
99
|
-
-
|
|
98
|
+
- Workflow and step envelope (search the standards MCP)
|
|
99
|
+
- Context and expression dialects (search the standards MCP)
|
|
100
100
|
- [VALUES](steps.VALUES.md#contract)
|
|
101
101
|
- [All step types](steps.INDEX.md)
|
|
@@ -18,12 +18,12 @@ steps:
|
|
|
18
18
|
data: {}
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
There are no `Begin`-specific fields. Shared envelope fields (`key`, `rootStep`, `next`, `onError`, …) are described in
|
|
21
|
+
There are no `Begin`-specific fields. Shared envelope fields (`key`, `rootStep`, `next`, `onError`, …) are described in the step envelope (search the standards MCP); they do not change the outcome.
|
|
22
22
|
|
|
23
23
|
### When to use
|
|
24
24
|
|
|
25
25
|
- Never. The step type has no working implementation in any placement.
|
|
26
|
-
- To mark where a flow starts, set `rootStep: true` on the first implemented step — see
|
|
26
|
+
- To mark where a flow starts, set `rootStep: true` on the first implemented step — see the step envelope (search the standards MCP).
|
|
27
27
|
|
|
28
28
|
### Sensible configuration
|
|
29
29
|
|
|
@@ -75,6 +75,6 @@ None. A step selecting `Begin` fails before producing a result, so downstream ex
|
|
|
75
75
|
## Related
|
|
76
76
|
|
|
77
77
|
- [Step catalog](steps.INDEX.md)
|
|
78
|
-
-
|
|
78
|
+
- Step envelope (search the standards MCP)
|
|
79
79
|
- [IF](steps.IF.md#contract)
|
|
80
80
|
- [VALUES](steps.VALUES.md#contract)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Contract
|
|
6
6
|
|
|
7
|
-
`CACHE` writes one value into a named cache slot identified by an object ID, a source hash and a slot name. If the slot already exists its value is replaced; otherwise it is created. All four values come from `arguments`, not `data`. It returns the resolved arguments at `_outputs.<KEY>`. The step is obsolete but still executable; place it in a workflow `steps` list. Envelope behavior and argument forms are described in
|
|
7
|
+
`CACHE` writes one value into a named cache slot identified by an object ID, a source hash and a slot name. If the slot already exists its value is replaced; otherwise it is created. All four values come from `arguments`, not `data`. It returns the resolved arguments at `_outputs.<KEY>`. The step is obsolete but still executable; place it in a workflow `steps` list. Envelope behavior and argument forms are described in the step envelope (search the standards MCP).
|
|
8
8
|
|
|
9
9
|
### Syntax
|
|
10
10
|
|
|
@@ -24,7 +24,7 @@ steps:
|
|
|
24
24
|
- Use when a workflow must remember a small value per source record (for example a destination ID) and read it back in a later run.
|
|
25
25
|
- Read the slot with [VERIFY_CACHED](steps.VERIFY_CACHED.md#contract) and remove it with [INVALIDATE_CACHE](steps.INVALIDATE_CACHE.md#contract).
|
|
26
26
|
- Do not use it for general key/value state that is not tied to a record hash; use [SET_KEY_VALUE](steps.SET_KEY_VALUE.md#contract) instead.
|
|
27
|
-
- Do not use it for record data that belongs in task tables; use
|
|
27
|
+
- Do not use it for record data that belongs in task tables; use SAVE_TASK_DATA (search the standards MCP) or [DIRECT_INDEX](steps.DIRECT_INDEX.md#contract).
|
|
28
28
|
|
|
29
29
|
### Sensible configuration
|
|
30
30
|
|
|
@@ -49,7 +49,7 @@ steps:
|
|
|
49
49
|
|
|
50
50
|
## Fields
|
|
51
51
|
|
|
52
|
-
`arguments` is required. It may be written as a map, an ordered list or a whole-block JSONata string (see
|
|
52
|
+
`arguments` is required. It may be written as a map, an ordered list or a whole-block JSONata string (see arguments (search the standards MCP)); every form must produce the four keys below with these exact names. Values are resolved to text before the write: `null` becomes an empty string and objects or lists become compact JSON text. `data` is not read.
|
|
53
53
|
|
|
54
54
|
Map form (most readable):
|
|
55
55
|
|
|
@@ -217,5 +217,5 @@ The values are under `data`, so the step finds no arguments and fails. Move the
|
|
|
217
217
|
|
|
218
218
|
- [VERIFY_CACHED](steps.VERIFY_CACHED.md#contract)
|
|
219
219
|
- [INVALIDATE_CACHE](steps.INVALIDATE_CACHE.md#contract)
|
|
220
|
-
-
|
|
220
|
+
- Arguments and routing (search the standards MCP)
|
|
221
221
|
- [All step types](steps.INDEX.md)
|
|
@@ -18,12 +18,12 @@ steps:
|
|
|
18
18
|
data: {}
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
There are no `Composite`-specific fields. Shared envelope fields (`key`, `rootStep`, `next`, `onError`, …) are described in
|
|
21
|
+
There are no `Composite`-specific fields. Shared envelope fields (`key`, `rootStep`, `next`, `onError`, …) are described in the step envelope (search the standards MCP); they do not change the outcome.
|
|
22
22
|
|
|
23
23
|
### When to use
|
|
24
24
|
|
|
25
25
|
- Never. The step type has no working implementation in any placement.
|
|
26
|
-
- To run several operations in sequence, list them as separate implemented steps linked with `next` — see
|
|
26
|
+
- To run several operations in sequence, list them as separate implemented steps linked with `next` — see routing (search the standards MCP).
|
|
27
27
|
- To choose between paths, use [IF](steps.IF.md#contract).
|
|
28
28
|
|
|
29
29
|
### Sensible configuration
|
|
@@ -82,6 +82,6 @@ None. A step selecting `Composite` fails before producing a result, so downstrea
|
|
|
82
82
|
## Related
|
|
83
83
|
|
|
84
84
|
- [Step catalog](steps.INDEX.md)
|
|
85
|
-
-
|
|
86
|
-
-
|
|
85
|
+
- Step envelope (search the standards MCP)
|
|
86
|
+
- Routing (search the standards MCP)
|
|
87
87
|
- [IF](steps.IF.md#contract)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Contract
|
|
6
6
|
|
|
7
|
-
`DIRECT_INDEX` writes rows into the tables of one or more task objects, either from a literal `items` list or from rows selected out of the run context with `dataPath`. It can optionally queue the changed rows for processing. It returns `{indexed_offsets, result_keys}` at `_outputs.<KEY>`. Place it in a workflow `steps` list (puller, pusher or webhook target); a step-based puller does not index automatically, so this step or
|
|
7
|
+
`DIRECT_INDEX` writes rows into the tables of one or more task objects, either from a literal `items` list or from rows selected out of the run context with `dataPath`. It can optionally queue the changed rows for processing. It returns `{indexed_offsets, result_keys}` at `_outputs.<KEY>`. Place it in a workflow `steps` list (puller, pusher or webhook target); a step-based puller does not index automatically, so this step or SAVE_TASK_DATA (search the standards MCP) must be declared explicitly. Shared envelope behavior is described in the step envelope (search the standards MCP).
|
|
8
8
|
|
|
9
9
|
### Syntax
|
|
10
10
|
|
|
@@ -29,8 +29,8 @@ steps:
|
|
|
29
29
|
|
|
30
30
|
- Use when rows produced by earlier steps must be stored in one or more task tables, with change tracking, and optionally queued.
|
|
31
31
|
- Use it when the rows are individual objects you can select with a JSONPath ending in `[*]`, or a short literal list.
|
|
32
|
-
- Use
|
|
33
|
-
- Use
|
|
32
|
+
- Use SAVE_TASK_DATA (search the standards MCP) instead when writing to a single task from an expression or when selected arrays must be expanded automatically.
|
|
33
|
+
- Use ENQUEUER (search the standards MCP) when rows are already stored and only need to be queued.
|
|
34
34
|
|
|
35
35
|
### Sensible configuration
|
|
36
36
|
|
|
@@ -200,7 +200,7 @@ Syntax: `maxStepIterations: <number | null>`
|
|
|
200
200
|
|
|
201
201
|
`maxStepIterations: <integer>` — optional; defaults to `1000`.
|
|
202
202
|
|
|
203
|
-
Shared cap on how often this step may run within one workflow call; it is not a batch size. Prefer the step-level `maxStepIterations`, which takes precedence. See
|
|
203
|
+
Shared cap on how often this step may run within one workflow call; it is not a batch size. Prefer the step-level `maxStepIterations`, which takes precedence. See cross-cutting step flags (search the standards MCP).
|
|
204
204
|
|
|
205
205
|
```yaml
|
|
206
206
|
steps:
|
|
@@ -247,7 +247,7 @@ steps:
|
|
|
247
247
|
- {orderId: A-2, __is_removed: 'true', __last_seen: '1767225600000'}
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
-
Other envelope fields (`key`, `next`, `onError`, `provider`) behave as described in
|
|
250
|
+
Other envelope fields (`key`, `next`, `onError`, `provider`) behave as described in the step envelope (search the standards MCP).
|
|
251
251
|
|
|
252
252
|
## Output
|
|
253
253
|
|
|
@@ -287,17 +287,17 @@ This selects the array itself, not its rows; use `'$._outputs.LOAD_ORDERS.rows[*
|
|
|
287
287
|
|
|
288
288
|
## Best practices
|
|
289
289
|
|
|
290
|
-
- Set exactly one of `items` or `dataPath`, because `dataPath` silently wins when both are present (
|
|
290
|
+
- Set exactly one of `items` or `dataPath`, because `dataPath` silently wins when both are present (SAVE_TASK_DATA (search the standards MCP) resolves the same pair the other way round).
|
|
291
291
|
- Always include every business key column, because missing columns become null and rows with equal keys collapse to the first one.
|
|
292
292
|
- In a "mark seen, then sweep unseen" pattern, leave `__last_seen` to the run start time; an older per-row value makes freshly seen rows look stale.
|
|
293
|
-
- Enable `autoEnqueue` only when the rows must be processed right away; otherwise queue later with
|
|
293
|
+
- Enable `autoEnqueue` only when the rows must be processed right away; otherwise queue later with ENQUEUER (search the standards MCP) to keep storage and processing independent.
|
|
294
294
|
- Use `indexed_offsets` to decide whether follow-up work is needed, since it lists only changed rows.
|
|
295
295
|
|
|
296
296
|
## Related
|
|
297
297
|
|
|
298
|
-
-
|
|
299
|
-
-
|
|
300
|
-
-
|
|
301
|
-
-
|
|
302
|
-
-
|
|
298
|
+
- SAVE_TASK_DATA (search the standards MCP)
|
|
299
|
+
- ENQUEUER (search the standards MCP)
|
|
300
|
+
- Tasks and tables (search the standards MCP)
|
|
301
|
+
- JSONPath expressions (search the standards MCP)
|
|
302
|
+
- Workflow and step envelope (search the standards MCP)
|
|
303
303
|
- [All step types](steps.INDEX.md)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Contract
|
|
6
6
|
|
|
7
|
-
`DOWNLOAD_CSV` sends an HTTP request through the step's connection and parses the response body as a headered CSV file. Each data row is projected through `data.columns` into an object of string values, and the result is published as `{items: [...]}` at `_outputs.<KEY>`. The step name alone does not select the CSV parser: the connection's request builder is chosen by `data.type`, which defaults to `REST`, so always set `data.type: DOWNLOAD_CSV`. Place it in an executed workflow `steps` list; shared envelope behavior (provider vs displayType, data vs input, arguments, `onError`, `rootStep`, `next`) is described in
|
|
7
|
+
`DOWNLOAD_CSV` sends an HTTP request through the step's connection and parses the response body as a headered CSV file. Each data row is projected through `data.columns` into an object of string values, and the result is published as `{items: [...]}` at `_outputs.<KEY>`. The step name alone does not select the CSV parser: the connection's request builder is chosen by `data.type`, which defaults to `REST`, so always set `data.type: DOWNLOAD_CSV`. Place it in an executed workflow `steps` list; shared envelope behavior (provider vs displayType, data vs input, arguments, `onError`, `rootStep`, `next`) is described in the step envelope (search the standards MCP).
|
|
8
8
|
|
|
9
9
|
### Syntax
|
|
10
10
|
|
|
@@ -30,7 +30,7 @@ steps:
|
|
|
30
30
|
### When to use
|
|
31
31
|
|
|
32
32
|
- Use when an endpoint returns a CSV export (with a header row) and downstream steps need its rows as objects.
|
|
33
|
-
- Do not use when the endpoint returns JSON, XML or another body, or when you need a request body, accepted non-2xx statuses, response filters or the raw response — use an
|
|
33
|
+
- Do not use when the endpoint returns JSON, XML or another body, or when you need a request body, accepted non-2xx statuses, response filters or the raw response — use an API step (search the standards MCP) instead.
|
|
34
34
|
- Do not use for spreadsheet workbooks (`.xls`/`.xlsx`) — use [EXCEL_READER](steps.EXCEL_READER.md#contract).
|
|
35
35
|
|
|
36
36
|
### Sensible configuration
|
|
@@ -57,7 +57,7 @@ steps:
|
|
|
57
57
|
|
|
58
58
|
## Fields and CSV-specific limits
|
|
59
59
|
|
|
60
|
-
The step reads the shared HTTP request fields documented on the
|
|
60
|
+
The step reads the shared HTTP request fields documented on the API step (search the standards MCP). Only the fields below take effect for the CSV parser. `body`, `acceptHttpStatuses`, `responseFilters`, `responseType`, `logOutput`, `anonymous` and `gracefulException` are accepted by the schema but have no effect on this step. There is no authored timeout field; a request that runs past the runtime's fixed HTTP timeout fails.
|
|
61
61
|
|
|
62
62
|
### `data.type`
|
|
63
63
|
|
|
@@ -65,7 +65,7 @@ Syntax: `type: <REST | GRAPHQL | SOAP | GOOGLE_APP_SCRIPT | FORM_URL_ENCODED | M
|
|
|
65
65
|
|
|
66
66
|
`type: <string>` — optional in the schema, defaults to `REST`; set it to `DOWNLOAD_CSV`.
|
|
67
67
|
|
|
68
|
-
Selects the connection's request builder. `DOWNLOAD_CSV` parses the body as CSV. Any other value (`REST`, `GRAPHQL`, `SOAP`, …) sends that kind of request and returns that builder's result, not `items` — see
|
|
68
|
+
Selects the connection's request builder. `DOWNLOAD_CSV` parses the body as CSV. Any other value (`REST`, `GRAPHQL`, `SOAP`, …) sends that kind of request and returns that builder's result, not `items` — see API (search the standards MCP).
|
|
69
69
|
|
|
70
70
|
```yaml
|
|
71
71
|
steps:
|
|
@@ -232,7 +232,7 @@ Syntax: `connectionId: <string | null>`
|
|
|
232
232
|
|
|
233
233
|
`connectionId: <uuid>` — optional; no default. A fallback to the top-level `connectorId`.
|
|
234
234
|
|
|
235
|
-
Identifies the connection instance the request is sent through, exactly as on the
|
|
235
|
+
Identifies the connection instance the request is sent through, exactly as on the API step (search the standards MCP): the first non-blank of `connectorId`, `data.connectionId` is used. The schema requires the top-level `connectorId` on a `DOWNLOAD_CSV` step, so `data.connectionId` only matters when `connectorId` renders blank. Use the id written on the connection entry; never generate one.
|
|
236
236
|
|
|
237
237
|
```yaml
|
|
238
238
|
steps:
|
|
@@ -250,13 +250,13 @@ Prefer `connectorId` alone; author `data.connectionId` only to match it, never t
|
|
|
250
250
|
|
|
251
251
|
### Fields accepted but not used by the CSV parser
|
|
252
252
|
|
|
253
|
-
The fields below are shared with the
|
|
253
|
+
The fields below are shared with the API step (search the standards MCP) and pass schema validation, but the CSV builder does not read them. Leave them out: they make the step look as if it behaved differently than it does.
|
|
254
254
|
|
|
255
255
|
#### `data.body`
|
|
256
256
|
|
|
257
257
|
Syntax: `body: <list of any | object | string | null>`
|
|
258
258
|
|
|
259
|
-
`body: <object | list | string>` — optional; no default; not read. The CSV request is sent without content, so a body has no effect. See
|
|
259
|
+
`body: <object | list | string>` — optional; no default; not read. The CSV request is sent without content, so a body has no effect. See API `data.body` (search the standards MCP) for the shapes other builders read.
|
|
260
260
|
|
|
261
261
|
```yaml
|
|
262
262
|
steps:
|
|
@@ -270,13 +270,13 @@ steps:
|
|
|
270
270
|
body: {status: open} # optional; no default; not sent by DOWNLOAD_CSV
|
|
271
271
|
```
|
|
272
272
|
|
|
273
|
-
Put filter parameters in `queries` instead; use an
|
|
273
|
+
Put filter parameters in `queries` instead; use an API step (search the standards MCP) when the endpoint needs a request body.
|
|
274
274
|
|
|
275
275
|
#### `data.base64`
|
|
276
276
|
|
|
277
277
|
Syntax: `base64: <string>`
|
|
278
278
|
|
|
279
|
-
`base64: <base64 string>` — optional; no default; not read. Only the `BINARY_UPLOAD` builder sends these bytes (
|
|
279
|
+
`base64: <base64 string>` — optional; no default; not read. Only the `BINARY_UPLOAD` builder sends these bytes (API `data.base64` (search the standards MCP)).
|
|
280
280
|
|
|
281
281
|
```yaml
|
|
282
282
|
steps:
|
|
@@ -294,7 +294,7 @@ steps:
|
|
|
294
294
|
|
|
295
295
|
Syntax: `acceptHttpStatuses: <map of name → object>`
|
|
296
296
|
|
|
297
|
-
`acceptHttpStatuses: { <name>: { expression: <regex> } }` — optional; no default; not read. Only a 2xx response succeeds; any other status fails the step whatever this map says (
|
|
297
|
+
`acceptHttpStatuses: { <name>: { expression: <regex> } }` — optional; no default; not read. Only a 2xx response succeeds; any other status fails the step whatever this map says (API `data.acceptHttpStatuses` (search the standards MCP)).
|
|
298
298
|
|
|
299
299
|
```yaml
|
|
300
300
|
steps:
|
|
@@ -315,7 +315,7 @@ Use an API step when a non-2xx status must be treated as an expected outcome.
|
|
|
315
315
|
|
|
316
316
|
Syntax: `responseFilters: <object>`
|
|
317
317
|
|
|
318
|
-
`responseFilters: <filter map>` — optional; no default; not read. The output is always `{items: [...]}` (
|
|
318
|
+
`responseFilters: <filter map>` — optional; no default; not read. The output is always `{items: [...]}` (API `data.responseFilters` (search the standards MCP)).
|
|
319
319
|
|
|
320
320
|
```yaml
|
|
321
321
|
steps:
|
|
@@ -332,13 +332,13 @@ steps:
|
|
|
332
332
|
ids: {expression: 'items.id'}
|
|
333
333
|
```
|
|
334
334
|
|
|
335
|
-
Reshape rows in a following
|
|
335
|
+
Reshape rows in a following JSONata (search the standards MCP) or FORWARD (search the standards MCP) step instead.
|
|
336
336
|
|
|
337
337
|
#### `data.responseType`
|
|
338
338
|
|
|
339
339
|
Syntax: `responseType: <NONE | FILE | OBJECT>`
|
|
340
340
|
|
|
341
|
-
`responseType: <NONE|FILE|OBJECT>` — optional; defaults to `NONE`; not read. The body is always parsed as CSV (
|
|
341
|
+
`responseType: <NONE|FILE|OBJECT>` — optional; defaults to `NONE`; not read. The body is always parsed as CSV (API `data.responseType` (search the standards MCP)).
|
|
342
342
|
|
|
343
343
|
```yaml
|
|
344
344
|
steps:
|
|
@@ -358,7 +358,7 @@ Use an API step with `responseType: FILE` when you need the raw file as base64 r
|
|
|
358
358
|
|
|
359
359
|
Syntax: `logOutput: <boolean>`
|
|
360
360
|
|
|
361
|
-
`logOutput: <boolean>` — optional; defaults to `false`; not read. Downloaded rows are not written to the diagnostic trail (
|
|
361
|
+
`logOutput: <boolean>` — optional; defaults to `false`; not read. Downloaded rows are not written to the diagnostic trail (API `data.logOutput` (search the standards MCP)).
|
|
362
362
|
|
|
363
363
|
```yaml
|
|
364
364
|
steps:
|
|
@@ -376,7 +376,7 @@ steps:
|
|
|
376
376
|
|
|
377
377
|
Syntax: `anonymous: <boolean>`
|
|
378
378
|
|
|
379
|
-
`anonymous: <boolean>` — deprecated; defaults to `false`; ignored. It does not disable the connection's authentication (
|
|
379
|
+
`anonymous: <boolean>` — deprecated; defaults to `false`; ignored. It does not disable the connection's authentication (API `data.anonymous` (search the standards MCP)). To download without credentials, use a connection that has none.
|
|
380
380
|
|
|
381
381
|
```yaml
|
|
382
382
|
steps:
|
|
@@ -394,7 +394,7 @@ steps:
|
|
|
394
394
|
|
|
395
395
|
Syntax: `gracefulException: <boolean>`
|
|
396
396
|
|
|
397
|
-
`gracefulException: <boolean>` — optional; defaults to `false`; no effect here. Unlike on the
|
|
397
|
+
`gracefulException: <boolean>` — optional; defaults to `false`; no effect here. Unlike on the API step (search the standards MCP), a failed download is not turned into `{isException: true, ...}` output; it always fails the step and follows `onError`.
|
|
398
398
|
|
|
399
399
|
```yaml
|
|
400
400
|
steps:
|
|
@@ -451,25 +451,25 @@ steps:
|
|
|
451
451
|
| Non-2xx response | Step fails with `Could not connect to <url>, reason: <body>` | Correct URL, method, auth or parameters; `acceptHttpStatuses` does not apply here. |
|
|
452
452
|
| Mapped header missing from the file | Step fails on the first data row | Match the exact header spelling and case. |
|
|
453
453
|
| Two headers mapped to the same output name | `There are duplicated column name <name>...` | Make every output name unique. |
|
|
454
|
-
| Body is not CSV (HTML error page, JSON) | Parsing or header lookup fails | Use an
|
|
454
|
+
| Body is not CSV (HTML error page, JSON) | Parsing or header lookup fails | Use an API (search the standards MCP) step for non-CSV bodies. |
|
|
455
455
|
| `data.type` omitted | A REST request is sent; no `items` output | Set `type: DOWNLOAD_CSV`. |
|
|
456
456
|
| Timeout or network error | Step fails | Narrow the export (date range, paging parameters). |
|
|
457
457
|
|
|
458
|
-
Failures route through the step's `onError` as described in
|
|
458
|
+
Failures route through the step's `onError` as described in the step envelope (search the standards MCP); `gracefulException` does not turn them into output.
|
|
459
459
|
|
|
460
460
|
## Best practices
|
|
461
461
|
|
|
462
462
|
- Always set `type: DOWNLOAD_CSV` and `method: GET`: the defaults (`REST`, `POST`) silently produce a different request.
|
|
463
463
|
- Map every needed column explicitly: it materializes rows, gives stable camelCase field names and fails fast when the file layout changes, instead of producing incomplete data later.
|
|
464
|
-
- Convert types downstream (e.g. in a
|
|
464
|
+
- Convert types downstream (e.g. in a JSONata (search the standards MCP) step) because all CSV values are strings.
|
|
465
465
|
- Prefer incremental exports (a `since` query parameter) over full exports: smaller files finish within the fixed timeout and reduce reprocessing.
|
|
466
466
|
- Check for an empty `items` list before persisting so an empty export is handled deliberately rather than treated as "nothing changed".
|
|
467
|
-
- Downloading does not store rows; add
|
|
467
|
+
- Downloading does not store rows; add SAVE_TASK_DATA (search the standards MCP) when the rows must be persisted.
|
|
468
468
|
|
|
469
469
|
## Related
|
|
470
470
|
|
|
471
|
-
-
|
|
471
|
+
- API step and request pipeline (search the standards MCP)
|
|
472
472
|
- [EXCEL_READER](steps.EXCEL_READER.md#contract)
|
|
473
|
-
-
|
|
474
|
-
-
|
|
473
|
+
- Step envelope (search the standards MCP)
|
|
474
|
+
- Connections (search the standards MCP)
|
|
475
475
|
- [Step catalog](steps.INDEX.md)
|