@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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
> Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
|
|
2
2
|
|
|
3
|
-
## RETURN
|
|
3
|
+
## `RETURN`
|
|
4
4
|
|
|
5
5
|
RETURN terminates one invocation before ordinary output postprocessing or successor advancement. It never creates `outputs.<RETURN_KEY>`. Grouped fall-through is `MISSING_RETURN`, not success. A dynamic route or loop remains statically uncertain even if the document contains a RETURN elsewhere.
|
|
6
6
|
|
|
7
7
|
`metadata.status` is required and exactly `SUCCESS`, `FAILED` or `CANCELLED`:
|
|
8
8
|
|
|
9
9
|
- SUCCESS requires `metadata.outputs`: a JSON object or `jsonata::` expression resolving to one. Nested values use pure existing Liquid/JSONata mapping and preserve JSON types. No `error` member.
|
|
10
|
-
- FAILED requires `metadata.error: {code,message}`. Both strings
|
|
10
|
+
- FAILED requires `metadata.error: {code,message}`. Both are nonempty strings describing the failure; no `outputs` member.
|
|
11
11
|
- CANCELLED has neither outputs nor error.
|
|
12
12
|
- No `next`, `onCancelled`, top-level `outputs[]`, flow `successOutputs` alias or storage processor is accepted.
|
|
13
13
|
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
> Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
|
|
2
|
+
|
|
3
|
+
## Task and reference data changes
|
|
4
|
+
|
|
5
|
+
Save a form's row changes in one request and use the returned outcomes to tell the user what happened. These worker.proxy routes are for workflow-sized changes; the existing [file-import path](frontend.FRONTEND-FLOWS.records_form.file-import-path.md) remains available for files and full-row imports.
|
|
6
|
+
|
|
7
|
+
### Availability of the data routes
|
|
8
|
+
|
|
9
|
+
**Unreleased capability:** the changes, preview, health and repair routes, and the corrected v2 search cursors (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
|
+
|
|
11
|
+
### Changes: apply a row change set
|
|
12
|
+
|
|
13
|
+
`POST /api/v2/{entityType}/{entityId}/data/changes` requires profile UPDATE. `entityType` is `tasks` or `references` (an in-schema reference). Frontend API requests use `/proxy/workers/api/v2/…` and `HSS-PROFILE-ID`, through the same authenticated forwarding as other worker.proxy data calls.
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"notes": "Corrected these records after checking the source list.",
|
|
18
|
+
"apply": true,
|
|
19
|
+
"changes": {
|
|
20
|
+
"upsert": [{ "code": "A", "quantity": 5 }],
|
|
21
|
+
"disable": [{ "code": "B" }],
|
|
22
|
+
"enable": [{ "code": "C" }]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
| Member or rule | Syntax, default and choice |
|
|
28
|
+
| --- | --- |
|
|
29
|
+
| `notes` | Required real reason, at least 32 characters, or 256 for a super admin. Ask the user; do not substitute a fixed reason. |
|
|
30
|
+
| `apply` | Optional boolean, default `true`: let the engine act on the change. `false` saves the requested data/state without newly scheduling it for application; it is not a preview. |
|
|
31
|
+
| `changes` | Required object containing optional `upsert`, `disable`, `enable` arrays. Send 1–5,000 rows in total; an empty set or unknown operation is refused. Skip saving when the form has no changes. Larger file loads use import. |
|
|
32
|
+
| `upsert` | Each row includes every key column and the columns to write. Omitted columns keep their value on update and use their database default on insert. A declared column with `null` is an explicit value, not omission. |
|
|
33
|
+
| `disable`, `enable` | Each row includes every key column; other data is not updated. Disable never deletes a row. A missing row returns `notFound`, not a refusal. |
|
|
34
|
+
| Keys | The union of the table's `SOURCE_ID` and `KEYS` columns. Every row carries every part; null/blank parts are allowed where the dataset allows them. One key appears once across the entire request. A dataset without keys, or a report, is not writable. |
|
|
35
|
+
| System members | `__*` members in the form's full rows are ignored. Do not construct status numbers, enabled flags or hashes. The service changes row state while preserving unrelated flags. |
|
|
36
|
+
| Tasks and references | Both use these routes. Reference keys match column by column, including null parts; hyphens do not join key parts into one identity. Stored duplicate keys are refused. `RECORDS_FORM.target` still accepts only TASK or WORKER_SETTINGS; a new route does not add a new form target kind. |
|
|
37
|
+
|
|
38
|
+
For a form, send `outputs.EDIT.upserts` as `changes.upsert` and `outputs.EDIT.removes` as `changes.disable`. The whole change set commits or none of it does. A repeated identical request is safe and returns `unchanged` for rows already in the requested state; this does not authorize an automatic retry after an uncertain network result.
|
|
39
|
+
|
|
40
|
+
A `200` response has `changeId`, `summary` and `rows`. Summary members are `inserted`, `updated`, `unchanged`, `disabled`, `enabled`, `notFound` and `healed`; healing is counted beside outcomes, so a row can be both unchanged and healed. Each row result contains `op`, its zero-based `index` within that operation, `outcome` and `row` (the stored content, or null for `notFound`). Results are ordered upsert, disable, enable, preserving order within each list.
|
|
41
|
+
|
|
42
|
+
| `op` | Possible `outcome` | What the flow should check |
|
|
43
|
+
| --- | --- | --- |
|
|
44
|
+
| `upsert` | `inserted`, `updated`, `unchanged` | The requested row is stored. Read `row` for its final content. |
|
|
45
|
+
| `disable` | `disabled`, `unchanged`, `notFound` | `notFound` means the row was already absent. Decide explicitly whether that satisfies this action. |
|
|
46
|
+
| `enable` | `enabled`, `unchanged`, `notFound` | A missing row has not been created or enabled; ask the user to correct the selection if an existing row was required. |
|
|
47
|
+
|
|
48
|
+
The returned rows are read in the transaction that writes them, using the search route's safe projection. **No second read is needed to verify the save.** A successful save is not proof that a pusher or external system has acted. Check the API status and the operation outcomes before returning SUCCESS; keep coded refusals and unknown network outcomes on a failure path.
|
|
49
|
+
|
|
50
|
+
### Preview: inspect changes without saving
|
|
51
|
+
|
|
52
|
+
`POST /api/v2/{entityType}/{entityId}/data/changes/preview` requires profile UPDATE. Send the same change-set body; `notes` is optional here. A `200` returns `summary` and `rows` with `op`, `index`, `outcome` and `current`, the stored row before the proposed change. `current` is absent for a row that does not exist. There is no `changeId`, write, audit file/event or table lock. The same validation, identity and ambiguity refusals apply. Preview is an observation, not a reservation: another save may change the result before apply.
|
|
53
|
+
|
|
54
|
+
### Health: inspect a dataset
|
|
55
|
+
|
|
56
|
+
`GET /api/v2/{entityType}/{entityId}/data/health` requires profile READ. It reports `entityType`, `keyColumns`, `keysAllText`, `rows`, `withoutIdentity`, `repairable`, `duplicateIdentity`, `duplicateKey`, `nullKeyRows`, `withoutChangeHash` and `samples`. Duplicate counts are shared-key/identity **groups**, not the number of rows in those groups. `withoutChangeHash` is an additional task diagnostic; repair can heal only the rows whose stored key/value proof is safe. Samples contain at most 20 declared-key dictionaries per list, one representative per duplicate group, with text/null key values and no raw/hash payloads. The lists are `withoutIdentity`, `repairable`, `duplicateIdentity`, `duplicateKey`, `nullKeyRows`, `withoutChangeHash`. Task identity problems are distinct from duplicate keys; a clean report describes this observation, not protection against later concurrent writes.
|
|
57
|
+
|
|
58
|
+
For an in-schema reference, `withoutIdentity`, `repairable`, `duplicateIdentity`, `withoutChangeHash` and their sample lists are explicitly null; `nullKeyRows` counts rows with a null key part and supplies samples. For a task, `nullKeyRows` and its sample list are null. A null reference key part alone is not a duplicate or a reason to discard a row: reference matching is null-safe. Health reads one consistent primary-database snapshot; it creates no audit file/event, takes no row-write lock and does not save or repair anything.
|
|
59
|
+
|
|
60
|
+
### Repair: heal task rows without identity or change hash
|
|
61
|
+
|
|
62
|
+
`POST /api/v2/tasks/{taskId}/data/repair` requires profile UPDATE. Send `{ "notes": "A real reason meeting the write-note length rule.", "limit": 5000 }`. `limit` is optional, defaults to 5,000, and accepts 1–50,000. Repair is task-only: it fills a missing identity and/or change hash where the stored data proves the result, with text key columns and one bounded, audited transaction. Missing means null or zero-length. It does not rewrite an existing nonempty identity or change hash, or change business values/status. The limit bounds eligible rows after conflicts have been classified across the dataset; conflicts do not consume a batch slot.
|
|
63
|
+
|
|
64
|
+
A `200` returns `healed`, `conflicts`, `remaining` and `samples.conflicts` (at most 20 declared-key dictionaries). `healed` counts distinct rows repaired for either deficit, not individual hashes. `remaining` counts rows still missing an identity **or** a change hash, including conflicts and eligible rows beyond this batch. Counts describe the same locked transaction.
|
|
65
|
+
|
|
66
|
+
An identity already owned by another row or shared by identity-less rows is a conflict. A stored-key/value proof that would change meaning through normalization, truncation, date/character conversion or an unhashable value is also a conflict: those rows remain untouched. Inspect the samples and correct the data explicitly; repeat bounded repair deliberately for eligible rows still remaining. A non-text key is refused with `IDENTITY_UNREPAIRABLE`. `IDENTITY_REPAIR_REQUIRED` is a save refusal directing the caller here, not a repair-backlog limit: repair processes a large backlog in bounded requests. Repair is not a reference deduplication tool.
|
|
67
|
+
|
|
68
|
+
### Data-route refusals
|
|
69
|
+
|
|
70
|
+
The four new routes return `application/problem+json` with `type`, `title`, `status`, `code`, `retryable`, `detail` and, when rows are at fault, `rows`. A row fault names `code`, `key`, optional `column` and, for an input row, `op` plus zero-based `index`. Up to 50 row faults are listed under the first refusal code. Branch on the code and retryable flag, never on message wording. The authentication layer can reject an unauthenticated request before a route runs; restore sign-in before handling its application result.
|
|
71
|
+
|
|
72
|
+
| HTTP | Code | Retryable | Flow response |
|
|
73
|
+
| --- | --- | --- | --- |
|
|
74
|
+
| 400 | `INVALID_REQUEST` | false | Correct the body, operation names, ids, header or size; send a nonempty bounded set. |
|
|
75
|
+
| 403 | `FORBIDDEN` | false | Obtain profile UPDATE, or READ for health; do not resend unchanged credentials. |
|
|
76
|
+
| 404 | `ENTITY_NOT_FOUND` | false | Select a dataset from this profile's published definition. |
|
|
77
|
+
| 409 | `TASK_BUSY` | true | Wait and offer a bounded retry; the dataset lock was not granted within 5 seconds. |
|
|
78
|
+
| 409 | `IDENTITY_CONFLICT` | false | Ask an operator to resolve the conflicting keys/identities before saving. |
|
|
79
|
+
| 409 | `KEY_AMBIGUOUS` | false | Resolve stored duplicate keys; do not choose an arbitrary stored row. |
|
|
80
|
+
| 409 | `IDENTITY_UNREPAIRABLE` | false | Correct the identity-less rows explicitly; automatic reconstruction cannot prove a non-text key. |
|
|
81
|
+
| 409 | `IDENTITY_REPAIR_REQUIRED` | false | Inspect health and run bounded task repair before saving again. |
|
|
82
|
+
| 422 | `NOTES_TOO_SHORT` | false | Ask for a real reason of at least 32 characters, or 256 for a super admin. |
|
|
83
|
+
| 422 | `UNKNOWN_COLUMN` | false | Correct the row's undeclared column name. |
|
|
84
|
+
| 422 | `KEY_MISSING` | false | Include every declared key column on each row. |
|
|
85
|
+
| 422 | `DUPLICATE_ROWS` | false | Send each key once across all operations. |
|
|
86
|
+
| 422 | `INVALID_VALUE` | false | Correct the named row/column to a value its database column accepts. |
|
|
87
|
+
| 422 | `ENTITY_NOT_WRITABLE` | false | Fix the dataset definition or select a keyed task/reference; reports cannot be changed. |
|
|
88
|
+
| 502 | `AUDIT_UNAVAILABLE` | true | Explain that audit storage/event delivery failed and the transaction rolled back; offer a later retry. |
|
|
89
|
+
| 500 | `INTERNAL_ERROR` | false | The save outcome is unconfirmed. Check the dataset and contact support before an explicit retry; never assume rollback or resend automatically. |
|
|
90
|
+
|
|
91
|
+
In a frontend `API` step a controlled non-2xx answer still follows plain `next`, so its next step must classify the actual error envelope: the HTTP status is `outputs.SAVE.error.detail.status`, and the problem document is `outputs.SAVE.error.detail.rawData` (its `code`, `detail`, `status` and `retryable`). Successful body members instead appear beside `outputs.SAVE._response`. Do not read a controlled refusal from top-level `SAVE.code`/`SAVE.detail`. A known refusal needs the documented code, matching transport/body status and retryable flag. `INTERNAL_ERROR`, an unrecognized or malformed problem, and network uncertainty are **unknown save outcomes**: changes may already be committed. Check the dataset before an explicit retry; never promise rollback or resend automatically. Existing import and search routes retain their own error formats; these problem codes do not replace them.
|
|
92
|
+
|
|
@@ -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)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Contract
|
|
6
6
|
|
|
7
|
-
`EXCEL_READER` decodes a Base64-encoded `.xls` or `.xlsx` workbook that is already in the workflow context, reads one worksheet, and turns each row below the header row into an object keyed by header name. Without filters it publishes `{rows: [...]}` at `_outputs.<KEY>`. It never fetches a file: `content`, `fileName`, `size` and `sheetName` are all required. Place it in an executed workflow `steps` list after the step that obtains the file; shared envelope behavior (provider vs displayType, data vs input, arguments, `onError`, `rootStep`, `next`) is described in
|
|
7
|
+
`EXCEL_READER` decodes a Base64-encoded `.xls` or `.xlsx` workbook that is already in the workflow context, reads one worksheet, and turns each row below the header row into an object keyed by header name. Without filters it publishes `{rows: [...]}` at `_outputs.<KEY>`. It never fetches a file: `content`, `fileName`, `size` and `sheetName` are all required. Place it in an executed workflow `steps` list after the step that obtains the file; 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
|
|
|
@@ -244,7 +244,7 @@ Syntax: `responseFilters: <object | null>`
|
|
|
244
244
|
|
|
245
245
|
`responseFilters: <object | null>` — optional; defaults to `{}`.
|
|
246
246
|
|
|
247
|
-
Named filter expressions applied to the parsed **row array** (not the whole context); see
|
|
247
|
+
Named filter expressions applied to the parsed **row array** (not the whole context); see response filters (search the standards MCP).
|
|
248
248
|
|
|
249
249
|
- `{}` or `null` — output is `{rows: [...]}`.
|
|
250
250
|
- non-empty map — output is the map of named filter results, and `rows` is no longer included.
|
|
@@ -304,7 +304,7 @@ steps:
|
|
|
304
304
|
| Explicit `headerRow` with no data row after it | Fails | Omit `headerRow` if an empty result is acceptable. |
|
|
305
305
|
| Invalid filter expression | Fails | Fix the filter. |
|
|
306
306
|
|
|
307
|
-
Failures route through `onError` (
|
|
307
|
+
Failures route through `onError` (step envelope (search the standards MCP)); `gracefulException` and `logOutput` do not apply.
|
|
308
308
|
|
|
309
309
|
## Best practices
|
|
310
310
|
|
|
@@ -312,12 +312,12 @@ Failures route through `onError` ([step envelope](hexasync://docs/steps/STEP-ENV
|
|
|
312
312
|
- Pin `sheetName` and, for human-edited sheets, a `range`: it isolates the step from extra sheets, notes and title rows added later.
|
|
313
313
|
- Set `skipEmptyRows: true` for human-edited sheets; trailing formatted-but-empty rows otherwise become `null` records.
|
|
314
314
|
- Convert types downstream: all values are display strings, so number/date formatting in the workbook affects what you receive.
|
|
315
|
-
- Validate required headers downstream (e.g. with
|
|
315
|
+
- Validate required headers downstream (e.g. with CHECK_FORMAT (search the standards MCP)) because renamed columns appear as different keys rather than errors.
|
|
316
316
|
|
|
317
317
|
## Related
|
|
318
318
|
|
|
319
|
-
-
|
|
319
|
+
- Response filters (search the standards MCP)
|
|
320
320
|
- [DOWNLOAD_CSV](steps.DOWNLOAD_CSV.md#contract)
|
|
321
|
-
-
|
|
322
|
-
-
|
|
321
|
+
- Step envelope (search the standards MCP)
|
|
322
|
+
- Context and expressions (search the standards MCP)
|
|
323
323
|
- [Step catalog](steps.INDEX.md)
|
|
@@ -18,12 +18,12 @@ steps:
|
|
|
18
18
|
data: {}
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
There are no `End`-specific fields. Shared envelope fields (`key`, `rootStep`, `next`, `onError`, …) are described in
|
|
21
|
+
There are no `End`-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 end a flow, leave `next` absent or `null` on the last step — see
|
|
26
|
+
- To end a flow, leave `next` absent or `null` on the last step — see routing (search the standards MCP).
|
|
27
27
|
- To end conditionally, use an [IF](steps.IF.md#contract) branch whose selected target is `null`.
|
|
28
28
|
|
|
29
29
|
### Sensible configuration
|
|
@@ -95,6 +95,6 @@ None. A step selecting `End` fails before producing a result, so downstream expr
|
|
|
95
95
|
## Related
|
|
96
96
|
|
|
97
97
|
- [Step catalog](steps.INDEX.md)
|
|
98
|
-
-
|
|
99
|
-
-
|
|
98
|
+
- Step envelope (search the standards MCP)
|
|
99
|
+
- Routing (search the standards MCP)
|
|
100
100
|
- [IF](steps.IF.md#contract)
|
|
@@ -44,7 +44,7 @@ steps:
|
|
|
44
44
|
|
|
45
45
|
## Fields
|
|
46
46
|
|
|
47
|
-
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider` vs `displayType`, connection binding, argument forms) are described in the
|
|
47
|
+
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider` vs `displayType`, connection binding, argument forms) are described in the step envelope (search the standards MCP). This step reads its configuration from `arguments` only; `data` and `input` are not used.
|
|
48
48
|
|
|
49
49
|
### `arguments.key`
|
|
50
50
|
|
|
@@ -86,7 +86,7 @@ steps:
|
|
|
86
86
|
|
|
87
87
|
`connectorId: <guid>` — optional envelope field.
|
|
88
88
|
|
|
89
|
-
Stored values are scoped by profile **and** connection. A value written under one connection is invisible when reading under another. Bind the same connection in the GET and SET steps; see
|
|
89
|
+
Stored values are scoped by profile **and** connection. A value written under one connection is invisible when reading under another. Bind the same connection in the GET and SET steps; see connection binding (search the standards MCP).
|
|
90
90
|
|
|
91
91
|
```yaml
|
|
92
92
|
steps:
|
|
@@ -138,7 +138,7 @@ steps:
|
|
|
138
138
|
| Fields placed under `data` instead of `arguments` | Same failure; `data` is ignored | Move them to `arguments`. |
|
|
139
139
|
| Key authored with `KV_` prefix | No error; reads a different entry and usually returns the default | Remove the prefix in both GET and SET. |
|
|
140
140
|
| Different connection or key between GET and SET | No error; always returns the default | Use identical key and connection. |
|
|
141
|
-
| Storage error | Error propagates; no default is substituted | Handle with
|
|
141
|
+
| Storage error | Error propagates; no default is substituted | Handle with `onError` (search the standards MCP). |
|
|
142
142
|
|
|
143
143
|
### Rejected form — not copyable
|
|
144
144
|
|
|
@@ -161,7 +161,7 @@ steps:
|
|
|
161
161
|
## Related
|
|
162
162
|
|
|
163
163
|
- [SET_KEY_VALUE](steps.SET_KEY_VALUE.md#contract)
|
|
164
|
-
-
|
|
165
|
-
-
|
|
166
|
-
-
|
|
164
|
+
- Workflow and step envelope (search the standards MCP)
|
|
165
|
+
- Arguments and routing (search the standards MCP)
|
|
166
|
+
- Routing (search the standards MCP)
|
|
167
167
|
- [All step types](steps.INDEX.md)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Contract
|
|
6
6
|
|
|
7
|
-
`GraphQL` is a recognized step type with **no runtime implementation**. The editor recognizes the name only so it can flag it; any step whose `displayType` (or `provider`) selects `GraphQL` fails when executed and publishes nothing under `_outputs.<KEY>`. No `data` payload, argument or `outputs` setting makes it run. Do not author it. To send a GraphQL request, use an
|
|
7
|
+
`GraphQL` is a recognized step type with **no runtime implementation**. The editor recognizes the name only so it can flag it; any step whose `displayType` (or `provider`) selects `GraphQL` fails when executed and publishes nothing under `_outputs.<KEY>`. No `data` payload, argument or `outputs` setting makes it run. Do not author it. To send a GraphQL request, use an API step with `data.type: GRAPHQL` (search the standards MCP).
|
|
8
8
|
|
|
9
9
|
### Syntax
|
|
10
10
|
|
|
@@ -18,12 +18,12 @@ steps:
|
|
|
18
18
|
data: {}
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
There are no `GraphQL`-specific fields. Shared envelope fields (`key`, `rootStep`, `next`, `onError`, …) are described in
|
|
21
|
+
There are no `GraphQL`-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 call a GraphQL endpoint, use an
|
|
26
|
+
- To call a GraphQL endpoint, use an API (search the standards MCP) step with `data.type: GRAPHQL`; its fields are documented there.
|
|
27
27
|
|
|
28
28
|
### Sensible configuration
|
|
29
29
|
|
|
@@ -72,7 +72,7 @@ None. A step selecting `GraphQL` fails before producing a result, so downstream
|
|
|
72
72
|
1. Find each step whose `displayType` or `provider` is `GraphQL`.
|
|
73
73
|
2. Change `displayType` to `API` and add `data.type: GRAPHQL`.
|
|
74
74
|
3. Put the operation in `data.body.query` and its variables in `data.body.variables`; put the endpoint in `data.url` and any URL query string directly in the URL.
|
|
75
|
-
4. Use `POST`, and configure `acceptHttpStatuses` and `responseFilters` as described on the
|
|
75
|
+
4. Use `POST`, and configure `acceptHttpStatuses` and `responseFilters` as described on the API page (search the standards MCP).
|
|
76
76
|
|
|
77
77
|
## Best practices
|
|
78
78
|
|
|
@@ -83,6 +83,6 @@ None. A step selecting `GraphQL` fails before producing a result, so downstream
|
|
|
83
83
|
## Related
|
|
84
84
|
|
|
85
85
|
- [Step catalog](steps.INDEX.md)
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
86
|
+
- Step envelope (search the standards MCP)
|
|
87
|
+
- API — GraphQL request builder (search the standards MCP)
|
|
88
|
+
- Response filters (search the standards MCP)
|