@beehexa/hexasync-ai-toolkit 0.0.0-stage → 2610.12.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 +31 -0
- package/.claude-plugin/plugin.json +19 -0
- package/.codex-plugin/plugin.json +37 -0
- package/.cursor-plugin/mcp.json +12 -0
- package/.cursor-plugin/plugin.json +20 -0
- package/.mcp.json +11 -0
- package/README.md +46 -2
- package/dist/cli.js +2922 -0
- package/gemini-extension.json +14 -0
- package/openclaw.extension.mjs +9 -0
- package/openclaw.plugin.json +14 -0
- package/package.json +69 -3
- package/plugin.json +21 -0
- package/skills/hexasync-connections/SKILL.md +36 -0
- package/skills/hexasync-connections/references/INDEX.md +33 -0
- package/skills/hexasync-connections/references/INSTALL.md +35 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.authentication-and-setup-steps.md +64 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +96 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.compiled-connector-hooks.md +23 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-authentication.md +36 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-rate-limiting.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.fields.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +54 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +84 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.never-invent-a-systemcode.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +16 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +9 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.resolution-and-transport-scope.md +8 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +22 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-collection-both-accepted.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-provider-with-defined-precedence.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.unsupported-authentication.md +26 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.untyped-options-generic-validity-is-not-provider-completeness.md +192 -0
- package/skills/hexasync-error-handling/SKILL.md +47 -0
- package/skills/hexasync-error-handling/references/INDEX.md +22 -0
- package/skills/hexasync-error-handling/references/INSTALL.md +35 -0
- package/skills/hexasync-error-handling/references/routing.NEXT.md +246 -0
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +139 -0
- package/skills/hexasync-error-handling/references/steps.Error.md +296 -0
- package/skills/hexasync-expressions/SKILL.md +53 -0
- package/skills/hexasync-expressions/references/INDEX.md +45 -0
- package/skills/hexasync-expressions/references/INSTALL.md +35 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +41 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +10 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +89 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +28 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +47 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +21 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +44 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +5 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +110 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md +17 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md +19 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md +13 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md +45 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +27 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md +15 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md +8 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md +23 -0
- package/skills/hexasync-expressions/references/steps.JSONata.md +200 -0
- package/skills/hexasync-expressions/references/steps.Liquid.md +95 -0
- package/skills/hexasync-expressions/references/steps.Scriban.md +156 -0
- package/skills/hexasync-field-mapping/SKILL.md +60 -0
- package/skills/hexasync-field-mapping/references/INDEX.md +54 -0
- package/skills/hexasync-field-mapping/references/INSTALL.md +35 -0
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +62 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-metrics-reports/SKILL.md +55 -0
- package/skills/hexasync-metrics-reports/references/INDEX.md +41 -0
- package/skills/hexasync-metrics-reports/references/INSTALL.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.best-practices.md +13 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.choosing-a-scoremode.md +44 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.contract.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.digest-message-templates.md +31 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.facet-properties.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.fields.md +551 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.health-scores.md +69 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.md +20 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +57 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +574 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +9 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.sensible-configuration.md +30 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.severity-scoring.md +89 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.syntax.md +18 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.worked-example-from-rows-to-health-score.md +108 -0
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +460 -0
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +171 -0
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +400 -0
- package/skills/hexasync-pullers/SKILL.md +44 -0
- package/skills/hexasync-pullers/references/INDEX.md +50 -0
- package/skills/hexasync-pullers/references/INSTALL.md +35 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +26 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +52 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +12 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.error-and-final-handling.md +10 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.generalisation.md +17 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.md +36 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +77 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +49 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.paging-is-the-authors-job.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +23 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +56 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +43 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +6 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-finalsteps.md +48 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +66 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +46 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.probe-discipline.md +13 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +561 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +88 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +11 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.stamp--sweep.md +21 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.symptom--cause--rule.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +19 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md +28 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +15 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +74 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-opaque-token-api.md +14 -0
- package/skills/hexasync-pullers/references/steps.PULLER.md +187 -0
- package/skills/hexasync-pushers/SKILL.md +60 -0
- package/skills/hexasync-pushers/references/INDEX.md +47 -0
- package/skills/hexasync-pushers/references/INSTALL.md +35 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +27 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +332 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +17 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +36 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +85 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +45 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.ordinary-result-contract.md +136 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-afterpushsteps.md +34 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +33 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md +46 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-pushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +99 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-pushsteps.md +50 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +56 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md +18 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.troubleshooting.md +16 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +66 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-indirect-push.md +35 -0
- package/skills/hexasync-pushers/references/steps.PUSHER.md +238 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +201 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +359 -0
- package/skills/hexasync-query-dsl/SKILL.md +67 -0
- package/skills/hexasync-query-dsl/references/INDEX.md +60 -0
- package/skills/hexasync-query-dsl/references/INSTALL.md +35 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +6 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +48 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +123 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.md +25 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +80 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +54 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +52 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +60 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.md +16 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +44 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +87 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +85 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.property-reference.md +428 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md +363 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +104 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.sensible-configuration.md +24 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +57 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +102 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +91 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.md +10 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +95 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +39 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +9 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +141 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +510 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +491 -0
- package/skills/hexasync-query-dsl/references/steps.SQL.md +362 -0
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +315 -0
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +44 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +35 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.contract.md +6 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +124 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.md +15 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +73 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +9 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +324 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.sensible-configuration.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.shape.md +108 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.syntax.md +33 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +10 -0
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +234 -0
- package/skills/hexasync-steps-api-http/SKILL.md +61 -0
- package/skills/hexasync-steps-api-http/references/INDEX.md +73 -0
- package/skills/hexasync-steps-api-http/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.exact-authored-shape.md +37 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +13 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md +60 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +49 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md +18 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +14 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-examples.md +77 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-groups.md +203 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +80 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.status-narrowing.md +29 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md +17 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.troubleshooting.md +13 -0
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +246 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +44 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md +43 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-status.md +37 -0
- package/skills/hexasync-steps-api-http/references/steps.API.best-practices.md +14 -0
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +64 -0
- package/skills/hexasync-steps-api-http/references/steps.API.curl-request-intake.md +31 -0
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +457 -0
- package/skills/hexasync-steps-api-http/references/steps.API.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.API.public-webhook-binding.md +17 -0
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +12 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-builders.md +206 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md +13 -0
- package/skills/hexasync-steps-api-http/references/steps.API.sensitive-headers-and-diagnostic-trail.md +25 -0
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +103 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.connection-binding.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md +76 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.execution-budgets.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.flow-entry.md +8 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.md +22 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +79 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md +19 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +300 -0
- package/skills/hexasync-steps-control-data/SKILL.md +59 -0
- package/skills/hexasync-steps-control-data/references/INDEX.md +133 -0
- package/skills/hexasync-steps-control-data/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +101 -0
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +80 -0
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +221 -0
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +87 -0
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +303 -0
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +475 -0
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +323 -0
- package/skills/hexasync-steps-control-data/references/steps.End.md +100 -0
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +167 -0
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +88 -0
- package/skills/hexasync-steps-control-data/references/steps.IF.md +284 -0
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +170 -0
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +175 -0
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +146 -0
- package/skills/hexasync-steps-control-data/references/steps.OData.md +133 -0
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +274 -0
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +126 -0
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +264 -0
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +164 -0
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +180 -0
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +124 -0
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +255 -0
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +168 -0
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +207 -0
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +194 -0
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +253 -0
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +247 -0
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +149 -0
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +172 -0
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +78 -0
- package/skills/hexasync-tables-tasks-objects/SKILL.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +78 -0
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.authoring-dependencies.md +80 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.best-practices-and-pitfalls.md +22 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +430 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +340 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +88 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +27 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +37 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +179 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +31 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +26 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +52 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +55 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +24 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.md +64 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +32 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +8 -0
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.md +62 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +357 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +14 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +44 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.systemcolumns-presentation.md +99 -0
- package/skills/hexasync-templates/SKILL.md +67 -0
- package/skills/hexasync-templates/references/AI-INDEX.md +125 -0
- package/skills/hexasync-templates/references/INDEX.md +73 -0
- package/skills/hexasync-templates/references/INSTALL.md +35 -0
- package/skills/hexasync-templates/references/KB-INDEX.md +128 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composition-fields.md +44 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.deployment-descriptor-retirement-and-current-composition.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.md +32 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +34 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +54 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.author.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md +356 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.contributors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.creationsteps.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.databasename.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.description.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.externals.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md +101 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md +238 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md +114 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.health_check_worker.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md +148 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.integration_app_management.md +115 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.jsonata--liquid.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +109 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.nextbranch-fields.md +93 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.output-fields.md +82 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.read_queries.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md +80 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.select_google_drive.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.single_choice_form--multiple_choice_form.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +233 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md +79 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.id.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.name.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.noschedules.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +23 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.recommendations.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.thumbnail.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.variables.md +16 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +29 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +21 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +5 -0
- package/skills/hexasync-transformations/SKILL.md +51 -0
- package/skills/hexasync-transformations/references/INDEX.md +40 -0
- package/skills/hexasync-transformations/references/INSTALL.md +35 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-validations/SKILL.md +52 -0
- package/skills/hexasync-validations/references/INDEX.md +27 -0
- package/skills/hexasync-validations/references/INSTALL.md +35 -0
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +196 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md +5 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.best-practices.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.composing-rules.md +37 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md +33 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +118 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +27 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +57 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.metadata-members.md +134 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.operators.md +406 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.troubleshooting.md +13 -0
- package/skills/hexasync-webhooks/SKILL.md +62 -0
- package/skills/hexasync-webhooks/references/INDEX.md +46 -0
- package/skills/hexasync-webhooks/references/INSTALL.md +35 -0
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +130 -0
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +259 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +206 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +62 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.message-shape.md +29 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +59 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +72 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +10 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.routing-and-boundary-ownership.md +30 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.shape.md +37 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.datafilter.md +68 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +268 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.id-target.md +21 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchfilter-and-matchpattern.md +77 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchremovefilter-and-matchremovepattern.md +41 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.md +20 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectid-deprecated.md +25 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectids.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +67 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.rejected-target-fields-finalsteps-and-responsefilters.md +8 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.troubleshooting.md +17 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.webhook-properties.md +117 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.worked-example-webhook-direct-index-plus-steps.md +71 -0
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
# `IF` — IF
|
|
2
|
+
|
|
3
|
+
> Addressable through MCP as **`hexasync://docs/steps/IF`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`IF` evaluates its **whole payload** as a route, using the same grammar as step-level [`next`](hexasync://docs/routing/NEXT#worker-contract), and jumps to the selected step. It returns `_outputs.<KEY> = {next, executions}`. The selected route **replaces** the step's own declared `next`, even when the selection is empty (which ends the flow). Place it in any executed workflow step list wherever the flow must branch.
|
|
8
|
+
|
|
9
|
+
### Syntax
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
steps:
|
|
13
|
+
- key: STEP_KEY # required
|
|
14
|
+
displayType: IF # required discriminator
|
|
15
|
+
arguments: # optional; readable as __this.arguments.<name>
|
|
16
|
+
flag: '{{ _outputs.PREVIOUS.flag }}'
|
|
17
|
+
data: # required (or legacy input); one of the forms below
|
|
18
|
+
description: <text> # optional label
|
|
19
|
+
if: '<condition template>' # required; branch taken when it renders "true"
|
|
20
|
+
then: THEN_STEP_KEY # required; no default; step key, nested condition or null (ends the flow)
|
|
21
|
+
else: ELSE_STEP_KEY # required; no default; step key, nested condition or null (ends the flow)
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
`data` may instead be a route string (`data: TARGET_STEP_KEY`) or `null`; see [`data`](#data).
|
|
25
|
+
|
|
26
|
+
### When to use
|
|
27
|
+
|
|
28
|
+
- Use for a two-way decision (true/false) evaluated at runtime.
|
|
29
|
+
- Use when the decision must be visible as its own step in the flow and its trace (`executions`) is useful for diagnostics.
|
|
30
|
+
- Do not use for more than two outcomes — use [SWITCH](steps.SWITCH.md#contract).
|
|
31
|
+
- Do not use when an ordinary step can branch through its own conditional [`next`](hexasync://docs/routing/NEXT#conditional-object-form); a dedicated IF step only adds a hop.
|
|
32
|
+
- Do not use to stop with an error — route to [EXCEPTION](hexasync://docs/steps/EXCEPTION#contract).
|
|
33
|
+
|
|
34
|
+
### Sensible configuration
|
|
35
|
+
|
|
36
|
+
Use the conditional-object form, always author both `then` and `else`, describe the decision, and compute inputs to the condition in `arguments` or an earlier step.
|
|
37
|
+
|
|
38
|
+
```yaml
|
|
39
|
+
steps:
|
|
40
|
+
- key: CHECK_ENABLED
|
|
41
|
+
rootStep: true
|
|
42
|
+
displayType: IF
|
|
43
|
+
arguments:
|
|
44
|
+
enabled: '{{ _inputs.enabled }}'
|
|
45
|
+
data:
|
|
46
|
+
description: Continue only when sync is enabled
|
|
47
|
+
if: '{{ __this.arguments.enabled }}'
|
|
48
|
+
then: LOAD_ORDERS
|
|
49
|
+
else: null
|
|
50
|
+
- key: LOAD_ORDERS
|
|
51
|
+
displayType: VALUES
|
|
52
|
+
data:
|
|
53
|
+
values: [{id: 1}]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Fields and behavior
|
|
57
|
+
|
|
58
|
+
Shared envelope fields (`key`, `rootStep`, `onError`, `provider` vs `displayType`, `arguments` forms) are described in the [step envelope](hexasync://docs/steps/STEP-ENVELOPE). IF reads them as usual; the IF-specific parts are below.
|
|
59
|
+
|
|
60
|
+
### `data`
|
|
61
|
+
|
|
62
|
+
`data: <string | {if, then, else, description} | null>` — required unless legacy `input` is used; no default.
|
|
63
|
+
|
|
64
|
+
The whole value is one route node in the [`next` grammar](hexasync://docs/routing/NEXT#worker-contract). It is evaluated after `arguments` are resolved and before this step has outputs, so read earlier results through `_outputs.<key>` and this step's arguments through `__this.arguments`.
|
|
65
|
+
|
|
66
|
+
**Conditional object** — the normal form. `if` is rendered as a template, trimmed and compared case-insensitively with `true`; only that result selects `then`, anything else (`false`, `yes`, `1`, empty) selects `else`. `then`/`else` are step keys, nested conditions or `null`. `description` is an optional label with no effect on routing.
|
|
67
|
+
|
|
68
|
+
```yaml
|
|
69
|
+
steps:
|
|
70
|
+
- key: HAS_ROWS
|
|
71
|
+
rootStep: true
|
|
72
|
+
displayType: IF
|
|
73
|
+
data:
|
|
74
|
+
description: Any rows to process?
|
|
75
|
+
if: '{{ _outputs.LOAD.count > 0 }}'
|
|
76
|
+
then: PROCESS
|
|
77
|
+
else: null # ends the flow
|
|
78
|
+
- key: PROCESS
|
|
79
|
+
displayType: VALUES
|
|
80
|
+
data:
|
|
81
|
+
values: [{done: true}]
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**Route string** — the rendered string is the target step key. Use it when the target is computed (e.g. from data), not for a true/false test. Note that `data: 'true'` routes to a step named `true`; it is not a boolean.
|
|
85
|
+
|
|
86
|
+
```yaml
|
|
87
|
+
steps:
|
|
88
|
+
- key: ROUTE
|
|
89
|
+
rootStep: true
|
|
90
|
+
displayType: IF
|
|
91
|
+
data: '{{ _inputs.mode }}' # renders to an existing step key, e.g. FULL
|
|
92
|
+
- key: FULL
|
|
93
|
+
displayType: VALUES
|
|
94
|
+
data:
|
|
95
|
+
values: [{mode: full}]
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**`null`** — selects no route: the step emits `next: ""` and the flow ends, ignoring the declared `next`. An explicit `data: null` also wins over a populated `input`.
|
|
99
|
+
|
|
100
|
+
```yaml
|
|
101
|
+
steps:
|
|
102
|
+
- key: STOP
|
|
103
|
+
rootStep: true
|
|
104
|
+
displayType: IF
|
|
105
|
+
data: null # ends the flow
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Choose the conditional object for true/false decisions, the route string for computed targets, and `null` only for an explicit stop.
|
|
109
|
+
|
|
110
|
+
#### `data.if`
|
|
111
|
+
|
|
112
|
+
Syntax: `if: <string>`
|
|
113
|
+
|
|
114
|
+
`if: <condition template>` — required in the conditional-object form; no default.
|
|
115
|
+
|
|
116
|
+
Rendered as a Scriban template against the current context, trimmed and compared case-insensitively with `true`: `true`, `True` and `" TRUE "` select `then`; every other result — `false`, `yes`, `1`, empty — selects `else` ([routing grammar](hexasync://docs/routing/NEXT#worker-contract)). Write a comparison that renders a literal `true`/`false`.
|
|
117
|
+
|
|
118
|
+
```yaml
|
|
119
|
+
steps:
|
|
120
|
+
- key: HAS_ROWS
|
|
121
|
+
rootStep: true
|
|
122
|
+
displayType: IF
|
|
123
|
+
data:
|
|
124
|
+
if: '{{ _outputs.LOAD.count > 0 }}' # required; no default
|
|
125
|
+
then: PROCESS
|
|
126
|
+
else: null
|
|
127
|
+
- key: PROCESS
|
|
128
|
+
displayType: VALUES
|
|
129
|
+
data:
|
|
130
|
+
values: [{done: true}]
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Variants: a comparison (`{{ x > 0 }}`) or a boolean argument (`{{ __this.arguments.enabled }}`). Prefer an explicit comparison when the source value may be a string such as `"yes"`, because only `true` selects `then`.
|
|
134
|
+
|
|
135
|
+
#### `data.then`
|
|
136
|
+
|
|
137
|
+
Syntax: `then: <string | object | null>`
|
|
138
|
+
|
|
139
|
+
`then: <step key | nested condition | null>` — required (author both arms); no default. `null` or blank ends the flow when this arm is selected.
|
|
140
|
+
|
|
141
|
+
The step key jumped to when `if` renders `true`. It must name an existing step in the same list, exact case.
|
|
142
|
+
|
|
143
|
+
```yaml
|
|
144
|
+
steps:
|
|
145
|
+
- key: HAS_ROWS
|
|
146
|
+
rootStep: true
|
|
147
|
+
displayType: IF
|
|
148
|
+
data:
|
|
149
|
+
if: '{{ _outputs.LOAD.count > 0 }}'
|
|
150
|
+
then: PROCESS # required; no default (null ends the flow)
|
|
151
|
+
else: null
|
|
152
|
+
- key: PROCESS
|
|
153
|
+
displayType: VALUES
|
|
154
|
+
data:
|
|
155
|
+
values: [{done: true}]
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
Variants: a step key continues the flow there; a nested `{if, then, else}` block tests a further condition; `null` ends the flow deliberately. Prefer a step key or `null`, and use [SWITCH](steps.SWITCH.md#contract) instead of deep nesting.
|
|
159
|
+
|
|
160
|
+
#### `data.else`
|
|
161
|
+
|
|
162
|
+
Syntax: `else: <string | object | null>`
|
|
163
|
+
|
|
164
|
+
`else: <step key | nested condition | null>` — required (author both arms); no default. `null` or blank ends the flow when this arm is selected.
|
|
165
|
+
|
|
166
|
+
The step key jumped to for every result other than `true`. It is the only fallback: the step-level `next` is never used.
|
|
167
|
+
|
|
168
|
+
```yaml
|
|
169
|
+
steps:
|
|
170
|
+
- key: HAS_ROWS
|
|
171
|
+
rootStep: true
|
|
172
|
+
displayType: IF
|
|
173
|
+
data:
|
|
174
|
+
if: '{{ _outputs.LOAD.count > 0 }}'
|
|
175
|
+
then: null
|
|
176
|
+
else: REPORT_EMPTY # required; no default (null ends the flow)
|
|
177
|
+
- key: REPORT_EMPTY
|
|
178
|
+
displayType: VALUES
|
|
179
|
+
data:
|
|
180
|
+
values: [{empty: true}]
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
Variants: a step key handles the false outcome; a nested condition tests further; `null` stops. Write `else: null` explicitly so readers see the stop is intended.
|
|
184
|
+
|
|
185
|
+
#### `data.description`
|
|
186
|
+
|
|
187
|
+
Syntax: `description: <string | null>`
|
|
188
|
+
|
|
189
|
+
`description: <text>` — optional; no default.
|
|
190
|
+
|
|
191
|
+
A human-readable label for the decision. It has no effect on routing or output; it documents why the branch exists.
|
|
192
|
+
|
|
193
|
+
```yaml
|
|
194
|
+
steps:
|
|
195
|
+
- key: CHECK_ENABLED
|
|
196
|
+
rootStep: true
|
|
197
|
+
displayType: IF
|
|
198
|
+
data:
|
|
199
|
+
description: Continue only when sync is enabled # optional; no default
|
|
200
|
+
if: '{{ _inputs.enabled }}'
|
|
201
|
+
then: null
|
|
202
|
+
else: null
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
Write a short question or rule statement; it makes flow diagrams and traces easier to read.
|
|
206
|
+
|
|
207
|
+
### `input` (legacy)
|
|
208
|
+
|
|
209
|
+
`input: <string | {if, then, else, description}>` — legacy alternative to `data`, same grammar; used only when `data` is **absent**. When used it must not be null. Prefer `data` in new templates.
|
|
210
|
+
|
|
211
|
+
```yaml
|
|
212
|
+
steps:
|
|
213
|
+
- key: LEGACY_CHECK
|
|
214
|
+
rootStep: true
|
|
215
|
+
displayType: IF
|
|
216
|
+
input: # used only because data is absent
|
|
217
|
+
if: '{{ _inputs.enabled }}'
|
|
218
|
+
then: null
|
|
219
|
+
else: null
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### `next` (step-level)
|
|
223
|
+
|
|
224
|
+
`next: <route>` — optional, but has **no effect** on a successful IF: the emitted route always replaces it, including an empty (terminating) route. It is not a fallback branch; put the fallback in `else`.
|
|
225
|
+
|
|
226
|
+
```yaml
|
|
227
|
+
steps:
|
|
228
|
+
- key: CHECK
|
|
229
|
+
rootStep: true
|
|
230
|
+
displayType: IF
|
|
231
|
+
data:
|
|
232
|
+
if: 'true'
|
|
233
|
+
then: null
|
|
234
|
+
else: null
|
|
235
|
+
next: null # ignored; data decides the route
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
## Output
|
|
239
|
+
|
|
240
|
+
`_outputs.<KEY>` is:
|
|
241
|
+
|
|
242
|
+
| Field | Meaning |
|
|
243
|
+
| --- | --- |
|
|
244
|
+
| `next` | The selected step key, or `""` when the route was null (flow ended). |
|
|
245
|
+
| `executions` | Ordered evaluation trace (condition read, rendered value, selection) for diagnostics. |
|
|
246
|
+
|
|
247
|
+
Downstream steps rarely need these; they are mainly for inspecting why a branch was taken. A published `next` does not prove the target ran — target lookup happens afterwards.
|
|
248
|
+
|
|
249
|
+
## Failure behavior
|
|
250
|
+
|
|
251
|
+
| Cause | Effect | Fix |
|
|
252
|
+
| --- | --- | --- |
|
|
253
|
+
| Selected key does not exist in the same list (exact case) | Flow fails with `Branch next target '<key>' names no existing step.` | Use an existing step key. |
|
|
254
|
+
| Payload is an array or boolean (e.g. `data: true`) | Fails with `Next step data is invalid: ...` | Use a string, conditional object or null. |
|
|
255
|
+
| Condition renders `yes`, `1`, `false` etc. | No error; `else` is taken | Make the condition render `true`/`false` (case and surrounding spaces are ignored). |
|
|
256
|
+
| Template rendering error | Step fails; declared `next` is not used as fallback | Fix the template, or handle with [`onError`](hexasync://docs/steps/STEP-ENVELOPE/payload-selection-and-thrown-error-routing). |
|
|
257
|
+
|
|
258
|
+
### Rejected form (non-copyable)
|
|
259
|
+
|
|
260
|
+
```yaml
|
|
261
|
+
steps:
|
|
262
|
+
- key: BAD_STOP
|
|
263
|
+
rootStep: true
|
|
264
|
+
displayType: IF
|
|
265
|
+
data: 'true' # routes to a step named "true", it does not mean "stop"
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
## Best practices
|
|
269
|
+
|
|
270
|
+
- **Always write both `then` and `else`** so every outcome is explicit; a missing arm silently ends the flow.
|
|
271
|
+
- **Make conditions render a literal `true`/`false`**, e.g. with comparisons, because only `true` selects `then`.
|
|
272
|
+
- **Prepare inputs in `arguments`** and keep the `if` template short; it is easier to read and the trace shows the resolved value.
|
|
273
|
+
- **Don't rely on step-level `next`** after IF; it is always overridden.
|
|
274
|
+
- **Prefer SWITCH for multi-way choices** instead of chaining IF steps, which multiplies hops and traces.
|
|
275
|
+
- **Branch on a computed verdict, not on each error class.** For response failures, classify once in a JSONata/Scriban step and use a single IF to the success path or one `Error` ([Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once)); a chain of IF + Error per status is an anti-pattern.
|
|
276
|
+
|
|
277
|
+
## Related
|
|
278
|
+
|
|
279
|
+
- [Routing grammar](hexasync://docs/routing/NEXT#worker-contract)
|
|
280
|
+
- [Conditional object form](hexasync://docs/routing/NEXT#conditional-object-form)
|
|
281
|
+
- [SWITCH](steps.SWITCH.md#contract)
|
|
282
|
+
- [Step envelope](hexasync://docs/steps/STEP-ENVELOPE)
|
|
283
|
+
- [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope)
|
|
284
|
+
- [Step catalog](steps.INDEX.md)
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# `IGNORE_ITEM` — Ignore Item
|
|
2
|
+
|
|
3
|
+
> Addressable through MCP as **`hexasync://docs/steps/IGNORE_ITEM`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`IGNORE_ITEM` marks stored task items as ignored so that synchronization skips them. For each selected item it adds the `Ignore` status bit (`4`) while keeping other status bits, and sets `__destination_id` to `"[ignored]"`. It does not delete rows, clear notes or enqueue work. It returns `{affected: N}` at `_outputs.<KEY>` (or `{}` when nothing was selected). Place it in any executed workflow step list; it operates on rows already stored in the task, not on the current response. [RESET_ITEM](steps.RESET_ITEM.md#contract) undoes it.
|
|
8
|
+
|
|
9
|
+
### Syntax
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
steps:
|
|
13
|
+
- key: STEP_KEY # required
|
|
14
|
+
displayType: IGNORE_ITEM # required discriminator
|
|
15
|
+
data:
|
|
16
|
+
objectId: 00000000-0000-0000-0000-000000000001 # required: task GUID (literal)
|
|
17
|
+
itemIds: ['00000000-0000-0000-0000-000000000002'] # optional: GUID list, or a JSONata string
|
|
18
|
+
next: NEXT_STEP_KEY # optional successor
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### When to use
|
|
22
|
+
|
|
23
|
+
- Use to permanently exclude specific items from synchronization (e.g. records the destination must never receive) without deleting their data.
|
|
24
|
+
- Use after a query step that finds the item IDs to exclude.
|
|
25
|
+
- Do not use to delete data or to retry an item — use [RESET_ITEM](steps.RESET_ITEM.md#contract) to bring an ignored item back.
|
|
26
|
+
- Do not use with business keys; it needs the stored `__id` GUIDs.
|
|
27
|
+
|
|
28
|
+
### Sensible configuration
|
|
29
|
+
|
|
30
|
+
Look up the stored IDs first, then pass them as an array-producing JSONata expression.
|
|
31
|
+
|
|
32
|
+
```yaml
|
|
33
|
+
steps:
|
|
34
|
+
- key: FIND_ORDERS
|
|
35
|
+
rootStep: true
|
|
36
|
+
displayType: QUERY_MANY
|
|
37
|
+
data:
|
|
38
|
+
from: {entityType: TASK, entityId: 00000000-0000-0000-0000-000000000001, alias: t}
|
|
39
|
+
select: [{alias: t, field: __id}]
|
|
40
|
+
where:
|
|
41
|
+
op: '='
|
|
42
|
+
data:
|
|
43
|
+
leftOp: {type: FIELD, field: t.status}
|
|
44
|
+
rightOp: {type: VALUE, val: cancelled}
|
|
45
|
+
next: IGNORE_ORDERS
|
|
46
|
+
- key: IGNORE_ORDERS
|
|
47
|
+
displayType: IGNORE_ITEM
|
|
48
|
+
data:
|
|
49
|
+
objectId: 00000000-0000-0000-0000-000000000001
|
|
50
|
+
itemIds: '[_outputs.FIND_ORDERS.rows.__id]'
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Fields
|
|
54
|
+
|
|
55
|
+
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `arguments`, `data` vs legacy `input`) are described in the [step envelope](hexasync://docs/steps/STEP-ENVELOPE). `logOutput` and `gracefulException` have no effect on this step.
|
|
56
|
+
|
|
57
|
+
### `data.objectId`
|
|
58
|
+
|
|
59
|
+
Syntax: `objectId: <string>`
|
|
60
|
+
|
|
61
|
+
`objectId: <guid string>` — required; no default.
|
|
62
|
+
|
|
63
|
+
The GUID of the task whose items are updated. It is used literally: it is **not** rendered as a template, so an expression here fails. Missing or malformed values fail the step, even when `itemIds` is empty.
|
|
64
|
+
|
|
65
|
+
```yaml
|
|
66
|
+
steps:
|
|
67
|
+
- key: IGNORE_ORDERS
|
|
68
|
+
rootStep: true
|
|
69
|
+
displayType: IGNORE_ITEM
|
|
70
|
+
data:
|
|
71
|
+
objectId: 00000000-0000-0000-0000-000000000001 # required literal task GUID
|
|
72
|
+
itemIds: []
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### `data.itemIds`
|
|
76
|
+
|
|
77
|
+
Syntax: `itemIds: <string | list of any>`
|
|
78
|
+
|
|
79
|
+
`itemIds: <list of guid strings | JSONata string>` — optional; when absent nothing is selected.
|
|
80
|
+
|
|
81
|
+
Stored item `__id` values to ignore. Two forms:
|
|
82
|
+
|
|
83
|
+
**List** — literal GUIDs (template placeholders inside are rendered). An empty list `[]` is an intentional no-op.
|
|
84
|
+
|
|
85
|
+
```yaml
|
|
86
|
+
steps:
|
|
87
|
+
- key: IGNORE_ONE
|
|
88
|
+
rootStep: true
|
|
89
|
+
displayType: IGNORE_ITEM
|
|
90
|
+
data:
|
|
91
|
+
objectId: 00000000-0000-0000-0000-000000000001
|
|
92
|
+
itemIds: ['00000000-0000-0000-0000-000000000002'] # optional; no default (absent = nothing selected)
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
**JSONata string** — a plain (unwrapped, no `$()`) JSONata program evaluated against the current context; templates in it are rendered first. It must produce an array of GUIDs (or null/`[]` for none). Wrap the path in `[...]` so a single match still yields an array.
|
|
96
|
+
|
|
97
|
+
```yaml
|
|
98
|
+
steps:
|
|
99
|
+
- key: IGNORE_FOUND
|
|
100
|
+
rootStep: true
|
|
101
|
+
displayType: IGNORE_ITEM
|
|
102
|
+
data:
|
|
103
|
+
objectId: 00000000-0000-0000-0000-000000000001
|
|
104
|
+
itemIds: '[_outputs.FIND_ORDERS.rows.__id]'
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Choose the list for fixed IDs; choose the JSONata string when the IDs come from an earlier step.
|
|
108
|
+
|
|
109
|
+
## Output
|
|
110
|
+
|
|
111
|
+
| Selection | `_outputs.<KEY>` |
|
|
112
|
+
| --- | --- |
|
|
113
|
+
| Absent, null or empty | `{}` (no `affected` field, nothing updated) |
|
|
114
|
+
| Non-empty | `{affected: N}` — rows matched by `__id`; already-ignored rows count, unknown IDs don't (can be `0`) |
|
|
115
|
+
|
|
116
|
+
Read the count defensively, since it is absent for an empty selection:
|
|
117
|
+
|
|
118
|
+
```yaml
|
|
119
|
+
steps:
|
|
120
|
+
- key: REPORT
|
|
121
|
+
rootStep: true
|
|
122
|
+
displayType: JSONata
|
|
123
|
+
data:
|
|
124
|
+
affected:
|
|
125
|
+
expression: '$exists(_outputs.IGNORE_ORDERS.affected) ? _outputs.IGNORE_ORDERS.affected : 0'
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Example effect: an item with `__status: 1` (Changed) becomes `__status: 5` (Changed + Ignore) with `__destination_id: "[ignored]"`.
|
|
129
|
+
|
|
130
|
+
## Failure behavior
|
|
131
|
+
|
|
132
|
+
All failures stop the step (no graceful handling); use [`onError`](hexasync://docs/steps/STEP-ENVELOPE/payload-selection-and-thrown-error-routing) to route them.
|
|
133
|
+
|
|
134
|
+
| Cause | Effect | Fix |
|
|
135
|
+
| --- | --- | --- |
|
|
136
|
+
| `objectId` missing, malformed or an expression | Fails before any update | Use the literal task GUID. |
|
|
137
|
+
| Task not found | Fails | Check the task GUID belongs to this profile. |
|
|
138
|
+
| `itemIds` result is a scalar, invalid JSONata or contains a non-GUID | Fails | Return an array of stored `__id` GUIDs. |
|
|
139
|
+
| `itemIds` uses `$(...)` wrapper | Not evaluated as intended | Write the bare JSONata program. |
|
|
140
|
+
| `itemIds` is a number, boolean or object | Ignored; treated as empty selection | Use a list or JSONata string. |
|
|
141
|
+
|
|
142
|
+
### Rejected form (non-copyable)
|
|
143
|
+
|
|
144
|
+
```yaml
|
|
145
|
+
steps:
|
|
146
|
+
- key: BAD_IGNORE
|
|
147
|
+
rootStep: true
|
|
148
|
+
displayType: IGNORE_ITEM
|
|
149
|
+
data:
|
|
150
|
+
objectId: '{{ _inputs.task_id }}' # not rendered: GUID parse fails
|
|
151
|
+
itemIds: '$(_outputs.FIND_ORDERS.rows.__id)' # wrapper not supported here
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Best practices
|
|
155
|
+
|
|
156
|
+
- **Select by stored `__id`, never by business key** — query the task first, because the step matches only row identity.
|
|
157
|
+
- **Wrap JSONata paths in `[...]`** so one match produces a one-element array instead of a scalar that fails.
|
|
158
|
+
- **Treat `{}` and `{affected: 0}` differently**: `{}` means nothing was selected, `0` means the IDs matched nothing — useful when diagnosing a wrong query.
|
|
159
|
+
- **Prefer ignoring over deleting** when the exclusion may need to be reversed; RESET_ITEM restores the item while keeping its data.
|
|
160
|
+
- **Make no-ops explicit** with `itemIds: []` rather than omitting the field, so intent is clear to readers.
|
|
161
|
+
|
|
162
|
+
## Related
|
|
163
|
+
|
|
164
|
+
- [RESET_ITEM](steps.RESET_ITEM.md#contract) — undo an ignore.
|
|
165
|
+
- [QUERY_MANY](hexasync://docs/steps/QUERY_MANY#contract) — find stored item IDs.
|
|
166
|
+
- [JSONata](hexasync://docs/steps/JSONata#contract)
|
|
167
|
+
- [Tasks and tables](hexasync://docs/tasks/TASKS-AND-TABLES)
|
|
168
|
+
- [Step envelope](hexasync://docs/steps/STEP-ENVELOPE)
|
|
169
|
+
- [Runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope)
|
|
170
|
+
- [Step catalog](steps.INDEX.md)
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# Step types — index
|
|
2
|
+
|
|
3
|
+
> Addressable through MCP as **`hexasync://docs/steps/INDEX`**.
|
|
4
|
+
|
|
5
|
+
A step is one entry in a Workflow step list. Every step shares the same envelope — `key`, `displayType`, `data`, `next`, `onError`, `arguments`, … — documented in the [step envelope](hexasync://docs/steps/STEP-ENVELOPE). `displayType` picks the step type, and the step type defines what goes in `data` (some types read `arguments` instead). Pick a type below, then read its page for fields, defaults, output and failure behavior.
|
|
6
|
+
|
|
7
|
+
```yaml
|
|
8
|
+
steps:
|
|
9
|
+
- key: LOAD
|
|
10
|
+
rootStep: true
|
|
11
|
+
displayType: VALUES # the step type; exact case
|
|
12
|
+
data: {values: [{sku: A1}]}
|
|
13
|
+
next: null
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Choose the right step
|
|
17
|
+
|
|
18
|
+
| You need to… | Use | Not |
|
|
19
|
+
| --- | --- | --- |
|
|
20
|
+
| Call an external system over HTTP / its connector | [API](hexasync://docs/steps/API) | GraphQL, Restful, OData, cURL (unsupported placeholders) |
|
|
21
|
+
| Download and parse a CSV file | [DOWNLOAD_CSV](steps.DOWNLOAD_CSV.md) | API + manual parsing |
|
|
22
|
+
| Read an Excel workbook already in context | [EXCEL_READER](steps.EXCEL_READER.md) | |
|
|
23
|
+
| Run a SQL statement through a database connection | [SQL](hexasync://docs/steps/SQL), [SQL_PROXY](hexasync://docs/steps/SQL_PROXY) | QUERY_* (they read profile data, not external databases) |
|
|
24
|
+
| Read profile data (task, reference, report tables) | [QUERY_SINGLE](hexasync://docs/steps/QUERY_SINGLE) (one row), [QUERY_MANY](hexasync://docs/steps/QUERY_MANY) (all rows) | SQL |
|
|
25
|
+
| Read metrics | [QUERY_METRICS](hexasync://docs/steps/QUERY_METRICS) (`METRIC_QUERY` is an alias) | |
|
|
26
|
+
| Reshape data structurally | [JSONata](hexasync://docs/steps/JSONata) | Scriban for structure |
|
|
27
|
+
| Render text templates / simple field values | [Scriban](hexasync://docs/steps/Scriban) | |
|
|
28
|
+
| Emit literal rows (seed, fixtures, empty page) | [VALUES](steps.VALUES.md) | |
|
|
29
|
+
| Pick values out of context without calling anything | [FORWARD](hexasync://docs/steps/FORWARD) | |
|
|
30
|
+
| Branch two ways | [IF](steps.IF.md) or a conditional [`next`](hexasync://docs/routing/NEXT#worker-contract) | |
|
|
31
|
+
| Branch many ways | [SWITCH](steps.SWITCH.md) | chained IFs |
|
|
32
|
+
| Save pulled rows into a task | [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA) (current puller mode), [DIRECT_INDEX](steps.DIRECT_INDEX.md) | |
|
|
33
|
+
| Mark rows missing from a full snapshot as removed | [TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md) | REMOVE_DATA |
|
|
34
|
+
| Change status flags on task rows by filter | [UPDATE_TASK_DATA_STATUS](steps.UPDATE_TASK_DATA_STATUS.md) | |
|
|
35
|
+
| Change status flags on specific item ids | [UPDATE_ITEM_STATUS](hexasync://docs/steps/UPDATE_ITEM_STATUS) | |
|
|
36
|
+
| Record destination ids / sync state after a push | [UPDATE_ITEM_SYNC_PROCESS](hexasync://docs/steps/UPDATE_ITEM_SYNC_PROCESS) | |
|
|
37
|
+
| Skip / un-skip items | [IGNORE_ITEM](steps.IGNORE_ITEM.md), [RESET_ITEM](steps.RESET_ITEM.md) | |
|
|
38
|
+
| Delete or soft-delete task rows | [REMOVE_DATA](steps.REMOVE_DATA.md) (preview with `dryRun`) | |
|
|
39
|
+
| Seed reference rows into a task | [SEED_DATA](steps.SEED_DATA.md) | |
|
|
40
|
+
| Queue stored rows for a pusher | [ENQUEUER](hexasync://docs/steps/ENQUEUER) | PUSHER (runs immediately) |
|
|
41
|
+
| Run a pusher for one item now / run another puller | [PUSHER](hexasync://docs/steps/PUSHER), [PULLER](hexasync://docs/steps/PULLER) | |
|
|
42
|
+
| Persist a value between runs (cursor, token) | [SET_KEY_VALUE](steps.SET_KEY_VALUE.md), [GET_KEY_VALUE](steps.GET_KEY_VALUE.md) | |
|
|
43
|
+
| Skip unchanged work using content hashes | [CACHE](steps.CACHE.md), [VERIFY_CACHED](steps.VERIFY_CACHED.md), [INVALIDATE_CACHE](steps.INVALIDATE_CACHE.md) | |
|
|
44
|
+
| Read an earlier occurrence of a step | [LOOKUP_STEP](steps.LOOKUP_STEP.md) | |
|
|
45
|
+
| Decode a stored raw payload | [RESOLVE_RAW_DATA](steps.RESOLVE_RAW_DATA.md) | |
|
|
46
|
+
| Wait / throttle | [SLEEP](steps.SLEEP.md) | busy loops |
|
|
47
|
+
| Forward a webhook message to other URLs | [WEBHOOK_FORWARD](hexasync://docs/steps/WEBHOOK_FORWARD) | |
|
|
48
|
+
| Publish a platform event | [PUBLISH_EVENT](steps.PUBLISH_EVENT.md) | |
|
|
49
|
+
| Validate incoming item format | [CHECK_FORMAT](hexasync://docs/steps/CHECK_FORMAT) | |
|
|
50
|
+
| Detect an image type from Base64 | [BASE64_TO_MIME_TYPE](steps.BASE64_TO_MIME_TYPE.md) | |
|
|
51
|
+
| Fail recoverably (route to `onError`) | [EXCEPTION](hexasync://docs/steps/EXCEPTION) | Error |
|
|
52
|
+
| Stop the run deliberately (bypasses `onError`) | [Error](hexasync://docs/steps/Error) | EXCEPTION |
|
|
53
|
+
|
|
54
|
+
## Implemented step components
|
|
55
|
+
|
|
56
|
+
| Step | Canonical component document |
|
|
57
|
+
| --- | --- |
|
|
58
|
+
| API | [API](hexasync://docs/steps/API) |
|
|
59
|
+
| BASE64_TO_MIME_TYPE | [BASE64_TO_MIME_TYPE](steps.BASE64_TO_MIME_TYPE.md) |
|
|
60
|
+
| CACHE | [CACHE](steps.CACHE.md) |
|
|
61
|
+
| CHECK_FORMAT | [CHECK_FORMAT](hexasync://docs/steps/CHECK_FORMAT) |
|
|
62
|
+
| DIRECT_INDEX | [DIRECT_INDEX](steps.DIRECT_INDEX.md) |
|
|
63
|
+
| DOWNLOAD_CSV | [DOWNLOAD_CSV](steps.DOWNLOAD_CSV.md) |
|
|
64
|
+
| ENQUEUER | [ENQUEUER](hexasync://docs/steps/ENQUEUER) |
|
|
65
|
+
| EXCEL_READER | [EXCEL_READER](steps.EXCEL_READER.md) |
|
|
66
|
+
| EXCEPTION | [EXCEPTION](hexasync://docs/steps/EXCEPTION) |
|
|
67
|
+
| Error | [Error](hexasync://docs/steps/Error) |
|
|
68
|
+
| FORWARD | [FORWARD](hexasync://docs/steps/FORWARD) |
|
|
69
|
+
| GET_KEY_VALUE | [GET_KEY_VALUE](steps.GET_KEY_VALUE.md) |
|
|
70
|
+
| IF | [IF](steps.IF.md) |
|
|
71
|
+
| IGNORE_ITEM | [IGNORE_ITEM](steps.IGNORE_ITEM.md) |
|
|
72
|
+
| INVALIDATE_CACHE | [INVALIDATE_CACHE](steps.INVALIDATE_CACHE.md) |
|
|
73
|
+
| JSONata | [JSONata](hexasync://docs/steps/JSONata) |
|
|
74
|
+
| LOOKUP_STEP | [LOOKUP_STEP](steps.LOOKUP_STEP.md) |
|
|
75
|
+
| METRIC_QUERY | [METRIC_QUERY](hexasync://docs/steps/METRIC_QUERY) |
|
|
76
|
+
| PUBLISH_EVENT | [PUBLISH_EVENT](steps.PUBLISH_EVENT.md) |
|
|
77
|
+
| PULLER | [PULLER](hexasync://docs/steps/PULLER) |
|
|
78
|
+
| PUSHER | [PUSHER](hexasync://docs/steps/PUSHER) |
|
|
79
|
+
| QUERY_MANY | [QUERY_MANY](hexasync://docs/steps/QUERY_MANY) |
|
|
80
|
+
| QUERY_METRICS | [QUERY_METRICS](hexasync://docs/steps/QUERY_METRICS) |
|
|
81
|
+
| QUERY_SINGLE | [QUERY_SINGLE](hexasync://docs/steps/QUERY_SINGLE) |
|
|
82
|
+
| REMOVE_DATA | [REMOVE_DATA](steps.REMOVE_DATA.md) |
|
|
83
|
+
| RESET_ITEM | [RESET_ITEM](steps.RESET_ITEM.md) |
|
|
84
|
+
| RESOLVE_RAW_DATA | [RESOLVE_RAW_DATA](steps.RESOLVE_RAW_DATA.md) |
|
|
85
|
+
| SAVE_TASK_DATA | [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA) |
|
|
86
|
+
| SEED_DATA | [SEED_DATA](steps.SEED_DATA.md) |
|
|
87
|
+
| SET_KEY_VALUE | [SET_KEY_VALUE](steps.SET_KEY_VALUE.md) |
|
|
88
|
+
| SLEEP | [SLEEP](steps.SLEEP.md) |
|
|
89
|
+
| SQL | [SQL](hexasync://docs/steps/SQL) |
|
|
90
|
+
| SQL_PROXY | [SQL_PROXY](hexasync://docs/steps/SQL_PROXY) |
|
|
91
|
+
| SWITCH | [SWITCH](steps.SWITCH.md) |
|
|
92
|
+
| Scriban | [Scriban](hexasync://docs/steps/Scriban) |
|
|
93
|
+
| TRACK_FOR_REMOVAL | [TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md) |
|
|
94
|
+
| UPDATE_ITEM_STATUS | [UPDATE_ITEM_STATUS](hexasync://docs/steps/UPDATE_ITEM_STATUS) |
|
|
95
|
+
| UPDATE_ITEM_SYNC_PROCESS | [UPDATE_ITEM_SYNC_PROCESS](hexasync://docs/steps/UPDATE_ITEM_SYNC_PROCESS) |
|
|
96
|
+
| UPDATE_TASK_DATA_STATUS | [UPDATE_TASK_DATA_STATUS](steps.UPDATE_TASK_DATA_STATUS.md) |
|
|
97
|
+
| VALUES | [VALUES](steps.VALUES.md) |
|
|
98
|
+
| VERIFY_CACHED | [VERIFY_CACHED](steps.VERIFY_CACHED.md) |
|
|
99
|
+
| WEBHOOK_FORWARD | [WEBHOOK_FORWARD](hexasync://docs/steps/WEBHOOK_FORWARD) |
|
|
100
|
+
|
|
101
|
+
## The 9 scaffolds
|
|
102
|
+
|
|
103
|
+
These names are recognized by the editor but **fail whenever they run**. Their pages explain the alternative; never use them in a working flow.
|
|
104
|
+
|
|
105
|
+
| Recognized name | Component explanation |
|
|
106
|
+
| --- | --- |
|
|
107
|
+
| Begin | [Begin](steps.Begin.md) |
|
|
108
|
+
| Composite | [Composite](steps.Composite.md) |
|
|
109
|
+
| End | [End](steps.End.md) |
|
|
110
|
+
| GraphQL | [GraphQL](steps.GraphQL.md) |
|
|
111
|
+
| Liquid | [Liquid](hexasync://docs/steps/Liquid) |
|
|
112
|
+
| OData | [OData](steps.OData.md) |
|
|
113
|
+
| QueryDSL | [QueryDSL](steps.QueryDSL.md) |
|
|
114
|
+
| Restful | [Restful](steps.Restful.md) |
|
|
115
|
+
| cURL | [cURL](steps.cURL.md) |
|
|
116
|
+
|
|
117
|
+
The `QueryDSL` step name is not the [query language](hexasync://docs/query-dsl/QUERY-DSL). All HTTP work — REST, GraphQL and similar — goes through the [API step](hexasync://docs/steps/API). Mark the first step with `rootStep: true` instead of using `Begin`, and end a flow with `next: null` instead of `End`.
|
|
118
|
+
|
|
119
|
+
## Best practices
|
|
120
|
+
|
|
121
|
+
- **Loops.** A backward `next` edge is legal but must terminate: exit on a value that changes every visit (page cursor, `hasNextPage`, counter) and set a deliberate [`maxStepIterations`](hexasync://docs/steps/STEP-ENVELOPE/shape#maxstepiterations). A loop whose exit never changes repeats side effects, burns the run's time budget and ends in a loop-guard failure that `onError` cannot catch.
|
|
122
|
+
- **Retries.** Rely on connection-level rate limits and the platform's connector retry before building retry loops. When a retry loop is needed, cap attempts, wait between them with [SLEEP](steps.SLEEP.md), and branch on [`gracefulException`](hexasync://docs/steps/STEP-ENVELOPE/cross-cutting-step-flags) output so only retryable failures loop.
|
|
123
|
+
- **Idempotency.** A run can restart from its root or be re-run. Write with upserts keyed by stable identifiers, set status flags (add/remove) rather than toggling them, and only sweep for removals after a complete, successful snapshot — sweeping after a partial page marks live rows as removed.
|
|
124
|
+
- **Incremental over full pulls.** Persist a cursor (for example with [SET_KEY_VALUE](steps.SET_KEY_VALUE.md)) and fetch only changes; full pulls cost more calls, take longer and raise the risk of hitting rate limits.
|
|
125
|
+
- **Explicit flow.** One `rootStep: true`, explicit `next` on every non-terminal step, and results read from `_outputs.<KEY>`.
|
|
126
|
+
- **Fail deliberately.** Use [EXCEPTION](hexasync://docs/steps/EXCEPTION) for failures that `onError` should handle and [Error](hexasync://docs/steps/Error) for conditions that must stop the run.
|
|
127
|
+
|
|
128
|
+
## Where a step's configuration lives
|
|
129
|
+
|
|
130
|
+
Read the step's page together with the [step envelope](hexasync://docs/steps/STEP-ENVELOPE). Use the [context/expression reference](hexasync://docs/expressions/CONTEXT-AND-IO) for available bindings and [routing](hexasync://docs/routing/NEXT) for continuation. A payload valid for one step type or placement is not automatically valid in another.
|
|
131
|
+
|
|
132
|
+
## Related
|
|
133
|
+
|
|
134
|
+
- [Step envelope](hexasync://docs/steps/STEP-ENVELOPE)
|
|
135
|
+
- [Routing](hexasync://docs/routing/NEXT)
|
|
136
|
+
- [Context and expressions](hexasync://docs/expressions/CONTEXT-AND-IO)
|
|
137
|
+
- [Query languages](hexasync://docs/query-dsl/QUERY-DSL)
|