@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,206 @@
|
|
|
1
|
+
> Part of [API — API Connector](steps.API.md).
|
|
2
|
+
|
|
3
|
+
## Request builders
|
|
4
|
+
|
|
5
|
+
### REST request builder
|
|
6
|
+
|
|
7
|
+
`type: REST` (or omitted). Reads `url`, `queries`, `headers`, `body`. Choose it for any ordinary HTTP/JSON/XML/text API, including OData-style endpoints (OData query options are just `queries`).
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
steps:
|
|
11
|
+
- key: LOAD_PRODUCTS
|
|
12
|
+
rootStep: true
|
|
13
|
+
displayType: API
|
|
14
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
15
|
+
data:
|
|
16
|
+
type: REST
|
|
17
|
+
method: GET
|
|
18
|
+
url: /Products
|
|
19
|
+
queries:
|
|
20
|
+
$filter: "Status eq 'Ready'"
|
|
21
|
+
$top: '25'
|
|
22
|
+
acceptHttpStatuses:
|
|
23
|
+
success: { expression: '^2\d\d$' }
|
|
24
|
+
next: CREATE_ORDER
|
|
25
|
+
- key: CREATE_ORDER
|
|
26
|
+
displayType: API
|
|
27
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
28
|
+
data:
|
|
29
|
+
method: POST
|
|
30
|
+
url: /orders
|
|
31
|
+
body:
|
|
32
|
+
productId: '{{ _outputs.LOAD_PRODUCTS.body.value[0].id }}'
|
|
33
|
+
acceptHttpStatuses:
|
|
34
|
+
success: { expression: '^2\d\d$' }
|
|
35
|
+
next: null
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
A 200 JSON response `{"orders":[…]}` is available as `_outputs.<KEY>.body.orders`.
|
|
39
|
+
|
|
40
|
+
### GRAPHQL request builder
|
|
41
|
+
|
|
42
|
+
`type: GRAPHQL`. Reads `url` and `body.query` (required string) + `body.variables` (optional object or JSON string; defaults to `{}`). Sends `{"query": …, "variables": …}` as JSON; `queries` and any `operationName` are ignored. Choose it for GraphQL endpoints.
|
|
43
|
+
|
|
44
|
+
```yaml
|
|
45
|
+
steps:
|
|
46
|
+
- key: LOAD_PRODUCT
|
|
47
|
+
displayType: API
|
|
48
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
49
|
+
data:
|
|
50
|
+
type: GRAPHQL
|
|
51
|
+
method: POST
|
|
52
|
+
url: /graphql
|
|
53
|
+
body:
|
|
54
|
+
query: 'query ($id: ID!) { product(id: $id) { id name } }'
|
|
55
|
+
variables: '{"id":"{{ _env.productId }}"}'
|
|
56
|
+
acceptHttpStatuses:
|
|
57
|
+
success: { expression: '^2\d\d$' }
|
|
58
|
+
responseFilters:
|
|
59
|
+
jsonata:
|
|
60
|
+
product: { expression: 'data.product' }
|
|
61
|
+
errors: { expression: 'errors' }
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
GraphQL servers report application errors inside a 200 response; project `errors` and route on it, because the status policy alone will accept the response.
|
|
65
|
+
|
|
66
|
+
### SOAP request builder
|
|
67
|
+
|
|
68
|
+
`type: SOAP`. Reads `url` and `body` (the complete envelope as a string); content is always `text/xml`. `queries` is ignored. You supply the envelope, namespaces and any `SOAPAction` header; there is no WSDL processing. Choose it for SOAP/XML-RPC style services.
|
|
69
|
+
|
|
70
|
+
```yaml
|
|
71
|
+
steps:
|
|
72
|
+
- key: GET_STOCK
|
|
73
|
+
displayType: API
|
|
74
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
75
|
+
data:
|
|
76
|
+
type: SOAP
|
|
77
|
+
url: /inventory-service # method defaults to POST
|
|
78
|
+
headers:
|
|
79
|
+
SOAPAction: ['urn:GetStock']
|
|
80
|
+
body: '<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><GetStock xmlns="urn:inventory"><Code>{{ _env.productId }}</Code></GetStock></Body></Envelope>'
|
|
81
|
+
acceptHttpStatuses:
|
|
82
|
+
success: { expression: '^2\d\d$' }
|
|
83
|
+
responseFilters:
|
|
84
|
+
xpath:
|
|
85
|
+
quantity: { expression: '//*[local-name()="Quantity"]/text()' }
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Escape rendered values for XML yourself. A SOAP Fault inside an accepted status is not an error automatically — project and route on it.
|
|
89
|
+
|
|
90
|
+
### FORM_URL_ENCODED request builder
|
|
91
|
+
|
|
92
|
+
`type: FORM_URL_ENCODED`. Reads optional `url`, `queries` and `body` (object of field names to values). Sends `application/x-www-form-urlencoded`. Values are rendered to text; nested objects/lists become JSON text, not nested fields; empty and null members are kept as empty pairs. A string or list `body` fails. Choose it for endpoints that expect classic HTML-form posts.
|
|
93
|
+
|
|
94
|
+
```yaml
|
|
95
|
+
steps:
|
|
96
|
+
- key: SEARCH
|
|
97
|
+
displayType: API
|
|
98
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
99
|
+
data:
|
|
100
|
+
type: FORM_URL_ENCODED
|
|
101
|
+
url: /search
|
|
102
|
+
body:
|
|
103
|
+
code: '{{ _env.productId }}'
|
|
104
|
+
note: '' # sent as note=
|
|
105
|
+
acceptHttpStatuses:
|
|
106
|
+
success: { expression: '^2\d\d$' }
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### MULTIPART_UPLOAD request builder
|
|
110
|
+
|
|
111
|
+
`type: MULTIPART_UPLOAD`. Reads `url`, `queries` and `body` — a required list of parts:
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
- key: <field name> # required
|
|
115
|
+
type: STRING_CONTENT # defaults to STRING_CONTENT; needs value
|
|
116
|
+
value: <text>
|
|
117
|
+
- key: <field name>
|
|
118
|
+
type: BYTE_ARRAY # needs base64 and file_name
|
|
119
|
+
base64: <base64 bytes>
|
|
120
|
+
file_name: <name>
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Choose it for file uploads that the endpoint expects as `multipart/form-data`, optionally with text fields.
|
|
124
|
+
|
|
125
|
+
```yaml
|
|
126
|
+
steps:
|
|
127
|
+
- key: UPLOAD_ATTACHMENT
|
|
128
|
+
displayType: API
|
|
129
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
130
|
+
data:
|
|
131
|
+
type: MULTIPART_UPLOAD
|
|
132
|
+
url: /attachments
|
|
133
|
+
body:
|
|
134
|
+
- key: label
|
|
135
|
+
value: 'Record {{ _env.recordId }}'
|
|
136
|
+
- key: attachment
|
|
137
|
+
type: BYTE_ARRAY
|
|
138
|
+
file_name: note.txt
|
|
139
|
+
base64: '{{ _env.filePayload }}'
|
|
140
|
+
acceptHttpStatuses:
|
|
141
|
+
success: { expression: '^2\d\d$' }
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Per-part content types and local file paths are not supported; supply bytes as base64.
|
|
145
|
+
|
|
146
|
+
### BINARY_UPLOAD request builder
|
|
147
|
+
|
|
148
|
+
`type: BINARY_UPLOAD`. Reads `url`, `queries` and `base64`; `body` is ignored. Sends the decoded bytes as the raw request content, with no multipart wrapping and no content type set from `headers`. Choose it for endpoints that take a file as the entire request body (typically PUT).
|
|
149
|
+
|
|
150
|
+
```yaml
|
|
151
|
+
steps:
|
|
152
|
+
- key: PUT_FILE
|
|
153
|
+
displayType: API
|
|
154
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
155
|
+
data:
|
|
156
|
+
type: BINARY_UPLOAD
|
|
157
|
+
method: PUT
|
|
158
|
+
url: '/files/{{ _env.fileId }}'
|
|
159
|
+
base64: '{{ _env.filePayload }}'
|
|
160
|
+
acceptHttpStatuses:
|
|
161
|
+
success: { expression: '^2\d\d$' }
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Do not use GET for uploads — GET sends no content. If the endpoint requires a specific MIME type on raw content, this builder cannot set it.
|
|
165
|
+
|
|
166
|
+
### GOOGLE_APP_SCRIPT request builder
|
|
167
|
+
|
|
168
|
+
`type: GOOGLE_APP_SCRIPT`. Calls a hosted script function. Reads only `body` (required: object, list, or JSON string), which is rendered, parsed as JSON and passed as the **single** parameter of the script's `execute` function. Always POSTs to the connection's `GOOGLE_APP_SCRIPTS_URL` option; `url`, `method` and `queries` are ignored, and the call wrapper (function name, dev mode) is fixed. Requires a connection whose connector forwards its options to the request and supplies the script credential (for example a `GOOGLE_CREDENTIAL_ID` option); on other connections the call fails with a missing-option error. Choose it only for script endpoints of that form.
|
|
169
|
+
|
|
170
|
+
```yaml
|
|
171
|
+
steps:
|
|
172
|
+
- key: RUN_SCRIPT
|
|
173
|
+
displayType: API
|
|
174
|
+
connectorId: '00000000-0000-0000-0000-000000000002'
|
|
175
|
+
data:
|
|
176
|
+
type: GOOGLE_APP_SCRIPT
|
|
177
|
+
body:
|
|
178
|
+
operation: refresh
|
|
179
|
+
recordId: '{{ _env.recordId }}'
|
|
180
|
+
acceptHttpStatuses:
|
|
181
|
+
success: { expression: '^2\d\d$' }
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
The script result is at `_outputs.<KEY>.body.response.result`; an error reported by the script fails the step.
|
|
185
|
+
|
|
186
|
+
### DOWNLOAD_CSV request builder
|
|
187
|
+
|
|
188
|
+
`type: DOWNLOAD_CSV`. Reads `url`, `queries`, `headers` and `columns`; sends no body. Streams a CSV with a header row and returns `{items: [...]}` at `_outputs.<KEY>.items` (not `body`). Only 2xx succeeds; `acceptHttpStatuses`, `responseFilters`, `responseType` and `logOutput` are not used. Choose it to pull a CSV export from an HTTP endpoint inside an API workflow.
|
|
189
|
+
|
|
190
|
+
```yaml
|
|
191
|
+
steps:
|
|
192
|
+
- key: DOWNLOAD_ROWS
|
|
193
|
+
displayType: API
|
|
194
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
195
|
+
data:
|
|
196
|
+
type: DOWNLOAD_CSV
|
|
197
|
+
method: GET # write GET; the default is POST
|
|
198
|
+
url: /inventory.csv
|
|
199
|
+
queries: { warehouse: A }
|
|
200
|
+
columns:
|
|
201
|
+
SKU: productCode
|
|
202
|
+
Quantity: available
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
For CSV `SKU,Quantity` / `A1,7` the output is `{items: [{productCode: 'A1', available: '7'}]}`. Values stay strings. A mapped header missing from the file, or two columns mapped to the same field name, fails the step.
|
|
206
|
+
|
package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
> Part of [API — API Connector](steps.API.md).
|
|
2
|
+
|
|
3
|
+
## Request pipeline and precedence
|
|
4
|
+
|
|
5
|
+
1. The step resolves its connection and renders the connection options.
|
|
6
|
+
2. The connector may obtain a token, set the base URL and add authentication or standing headers.
|
|
7
|
+
3. The builder chosen by `type` builds method, URL, content and rendered headers.
|
|
8
|
+
4. The request is sent; the status is checked against `acceptHttpStatuses`; the response is parsed into outputs.
|
|
9
|
+
|
|
10
|
+
**Header precedence:** a header set on the step overrides the connection's header with the exact same name; all other connection headers are kept. Override with identical capitalization.
|
|
11
|
+
|
|
12
|
+
**URL and queries:** relative `url` is joined to the base URL; `queries` is appended with `?`. Put all parameters in `queries` (or all in `url`), never both.
|
|
13
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
> Part of [API — API Connector](steps.API.md).
|
|
2
|
+
|
|
3
|
+
## Sensitive headers and diagnostic trail
|
|
4
|
+
|
|
5
|
+
- Functional `headers` output encrypts values whose names contain credential-like words (`key`, `secret`, `token`, `password`, `authorization`, `credential`, `cookie`, `session`, `signature`, `private`, …).
|
|
6
|
+
- The diagnostic trail omits `Authorization`, `Proxy-Authorization`, `Cookie`, `Set-Cookie` and `X-API-Key`, and shows `[REDACTED]` for names containing access-token / api-key / secret variants.
|
|
7
|
+
- The recorded cURL reconstruction has no headers and is not a full replay.
|
|
8
|
+
|
|
9
|
+
This is not a general secret scrubber: credentials placed in URLs, queries, bodies, custom-named headers, or projected by response filters are not protected. Keep credentials on the connection and out of step payloads and filter outputs.
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
steps:
|
|
13
|
+
- key: INSPECT
|
|
14
|
+
displayType: API
|
|
15
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
16
|
+
data:
|
|
17
|
+
method: GET
|
|
18
|
+
url: /orders/A1
|
|
19
|
+
headers:
|
|
20
|
+
Accept: ['application/json']
|
|
21
|
+
logOutput: true
|
|
22
|
+
acceptHttpStatuses:
|
|
23
|
+
success: { expression: '^2\d\d$' }
|
|
24
|
+
```
|
|
25
|
+
|
|
@@ -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](steps.STEP-ENVELOPE.md). `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](steps.API.md) | GraphQL, Restful, OData, cURL (unsupported placeholders) |
|
|
21
|
+
| Download and parse a CSV file | [DOWNLOAD_CSV](hexasync://docs/steps/DOWNLOAD_CSV) | API + manual parsing |
|
|
22
|
+
| Read an Excel workbook already in context | [EXCEL_READER](hexasync://docs/steps/EXCEL_READER) | |
|
|
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](hexasync://docs/steps/VALUES) | |
|
|
29
|
+
| Pick values out of context without calling anything | [FORWARD](hexasync://docs/steps/FORWARD) | |
|
|
30
|
+
| Branch two ways | [IF](hexasync://docs/steps/IF) or a conditional [`next`](routing.NEXT.md#worker-contract) | |
|
|
31
|
+
| Branch many ways | [SWITCH](hexasync://docs/steps/SWITCH) | chained IFs |
|
|
32
|
+
| Save pulled rows into a task | [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA) (current puller mode), [DIRECT_INDEX](hexasync://docs/steps/DIRECT_INDEX) | |
|
|
33
|
+
| Mark rows missing from a full snapshot as removed | [TRACK_FOR_REMOVAL](hexasync://docs/steps/TRACK_FOR_REMOVAL) | REMOVE_DATA |
|
|
34
|
+
| Change status flags on task rows by filter | [UPDATE_TASK_DATA_STATUS](hexasync://docs/steps/UPDATE_TASK_DATA_STATUS) | |
|
|
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](hexasync://docs/steps/IGNORE_ITEM), [RESET_ITEM](hexasync://docs/steps/RESET_ITEM) | |
|
|
38
|
+
| Delete or soft-delete task rows | [REMOVE_DATA](hexasync://docs/steps/REMOVE_DATA) (preview with `dryRun`) | |
|
|
39
|
+
| Seed reference rows into a task | [SEED_DATA](hexasync://docs/steps/SEED_DATA) | |
|
|
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](hexasync://docs/steps/SET_KEY_VALUE), [GET_KEY_VALUE](hexasync://docs/steps/GET_KEY_VALUE) | |
|
|
43
|
+
| Skip unchanged work using content hashes | [CACHE](hexasync://docs/steps/CACHE), [VERIFY_CACHED](hexasync://docs/steps/VERIFY_CACHED), [INVALIDATE_CACHE](hexasync://docs/steps/INVALIDATE_CACHE) | |
|
|
44
|
+
| Read an earlier occurrence of a step | [LOOKUP_STEP](hexasync://docs/steps/LOOKUP_STEP) | |
|
|
45
|
+
| Decode a stored raw payload | [RESOLVE_RAW_DATA](hexasync://docs/steps/RESOLVE_RAW_DATA) | |
|
|
46
|
+
| Wait / throttle | [SLEEP](hexasync://docs/steps/SLEEP) | busy loops |
|
|
47
|
+
| Forward a webhook message to other URLs | [WEBHOOK_FORWARD](hexasync://docs/steps/WEBHOOK_FORWARD) | |
|
|
48
|
+
| Publish a platform event | [PUBLISH_EVENT](hexasync://docs/steps/PUBLISH_EVENT) | |
|
|
49
|
+
| Validate incoming item format | [CHECK_FORMAT](hexasync://docs/steps/CHECK_FORMAT) | |
|
|
50
|
+
| Detect an image type from Base64 | [BASE64_TO_MIME_TYPE](hexasync://docs/steps/BASE64_TO_MIME_TYPE) | |
|
|
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](steps.API.md) |
|
|
59
|
+
| BASE64_TO_MIME_TYPE | [BASE64_TO_MIME_TYPE](hexasync://docs/steps/BASE64_TO_MIME_TYPE) |
|
|
60
|
+
| CACHE | [CACHE](hexasync://docs/steps/CACHE) |
|
|
61
|
+
| CHECK_FORMAT | [CHECK_FORMAT](hexasync://docs/steps/CHECK_FORMAT) |
|
|
62
|
+
| DIRECT_INDEX | [DIRECT_INDEX](hexasync://docs/steps/DIRECT_INDEX) |
|
|
63
|
+
| DOWNLOAD_CSV | [DOWNLOAD_CSV](hexasync://docs/steps/DOWNLOAD_CSV) |
|
|
64
|
+
| ENQUEUER | [ENQUEUER](hexasync://docs/steps/ENQUEUER) |
|
|
65
|
+
| EXCEL_READER | [EXCEL_READER](hexasync://docs/steps/EXCEL_READER) |
|
|
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](hexasync://docs/steps/GET_KEY_VALUE) |
|
|
70
|
+
| IF | [IF](hexasync://docs/steps/IF) |
|
|
71
|
+
| IGNORE_ITEM | [IGNORE_ITEM](hexasync://docs/steps/IGNORE_ITEM) |
|
|
72
|
+
| INVALIDATE_CACHE | [INVALIDATE_CACHE](hexasync://docs/steps/INVALIDATE_CACHE) |
|
|
73
|
+
| JSONata | [JSONata](hexasync://docs/steps/JSONata) |
|
|
74
|
+
| LOOKUP_STEP | [LOOKUP_STEP](hexasync://docs/steps/LOOKUP_STEP) |
|
|
75
|
+
| METRIC_QUERY | [METRIC_QUERY](hexasync://docs/steps/METRIC_QUERY) |
|
|
76
|
+
| PUBLISH_EVENT | [PUBLISH_EVENT](hexasync://docs/steps/PUBLISH_EVENT) |
|
|
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](hexasync://docs/steps/REMOVE_DATA) |
|
|
83
|
+
| RESET_ITEM | [RESET_ITEM](hexasync://docs/steps/RESET_ITEM) |
|
|
84
|
+
| RESOLVE_RAW_DATA | [RESOLVE_RAW_DATA](hexasync://docs/steps/RESOLVE_RAW_DATA) |
|
|
85
|
+
| SAVE_TASK_DATA | [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA) |
|
|
86
|
+
| SEED_DATA | [SEED_DATA](hexasync://docs/steps/SEED_DATA) |
|
|
87
|
+
| SET_KEY_VALUE | [SET_KEY_VALUE](hexasync://docs/steps/SET_KEY_VALUE) |
|
|
88
|
+
| SLEEP | [SLEEP](hexasync://docs/steps/SLEEP) |
|
|
89
|
+
| SQL | [SQL](hexasync://docs/steps/SQL) |
|
|
90
|
+
| SQL_PROXY | [SQL_PROXY](hexasync://docs/steps/SQL_PROXY) |
|
|
91
|
+
| SWITCH | [SWITCH](hexasync://docs/steps/SWITCH) |
|
|
92
|
+
| Scriban | [Scriban](hexasync://docs/steps/Scriban) |
|
|
93
|
+
| TRACK_FOR_REMOVAL | [TRACK_FOR_REMOVAL](hexasync://docs/steps/TRACK_FOR_REMOVAL) |
|
|
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](hexasync://docs/steps/UPDATE_TASK_DATA_STATUS) |
|
|
97
|
+
| VALUES | [VALUES](hexasync://docs/steps/VALUES) |
|
|
98
|
+
| VERIFY_CACHED | [VERIFY_CACHED](hexasync://docs/steps/VERIFY_CACHED) |
|
|
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](hexasync://docs/steps/Begin) |
|
|
108
|
+
| Composite | [Composite](hexasync://docs/steps/Composite) |
|
|
109
|
+
| End | [End](hexasync://docs/steps/End) |
|
|
110
|
+
| GraphQL | [GraphQL](hexasync://docs/steps/GraphQL) |
|
|
111
|
+
| Liquid | [Liquid](hexasync://docs/steps/Liquid) |
|
|
112
|
+
| OData | [OData](hexasync://docs/steps/OData) |
|
|
113
|
+
| QueryDSL | [QueryDSL](hexasync://docs/steps/QueryDSL) |
|
|
114
|
+
| Restful | [Restful](hexasync://docs/steps/Restful) |
|
|
115
|
+
| cURL | [cURL](hexasync://docs/steps/cURL) |
|
|
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](steps.API.md). Mark the first step with `rootStep: true` instead of using `Begin`, and end a flow with `next: null` instead of `End`.
|
|
118
|
+
|
|
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`](steps.STEP-ENVELOPE.shape.md#maxstepiterations). A loop whose exit never changes repeats side effects, burns the run's time budget and ends in a loop-guard failure that `onError` cannot catch.
|
|
122
|
+
- **Retries.** Rely on connection-level rate limits and the platform's connector retry before building retry loops. When a retry loop is needed, cap attempts, wait between them with [SLEEP](hexasync://docs/steps/SLEEP), and branch on [`gracefulException`](steps.STEP-ENVELOPE.cross-cutting-step-flags.md) 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](hexasync://docs/steps/SET_KEY_VALUE)) 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](steps.STEP-ENVELOPE.md). Use the [context/expression reference](hexasync://docs/expressions/CONTEXT-AND-IO) for available bindings and [routing](routing.NEXT.md) for continuation. A payload valid for one step type or placement is not automatically valid in another.
|
|
131
|
+
|
|
132
|
+
## Related
|
|
133
|
+
|
|
134
|
+
- [Step envelope](steps.STEP-ENVELOPE.md)
|
|
135
|
+
- [Routing](routing.NEXT.md)
|
|
136
|
+
- [Context and expressions](hexasync://docs/expressions/CONTEXT-AND-IO)
|
|
137
|
+
- [Query languages](hexasync://docs/query-dsl/QUERY-DSL)
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
> Part of [Workflow and the step envelope](steps.STEP-ENVELOPE.md).
|
|
2
|
+
|
|
3
|
+
## `_history` — the per-step occurrence ring
|
|
4
|
+
|
|
5
|
+
Current puller mode only. [Runtime history](hexasync://docs/expressions/CONTEXT-AND-IO/exact-mutation-timeline#history-key-and-occurrence) owns record shape and timing; [`retain`](steps.STEP-ENVELOPE.shape.md#retain) owns depth.
|
|
6
|
+
|
package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
> Part of [Workflow and the step envelope](steps.STEP-ENVELOPE.md).
|
|
2
|
+
|
|
3
|
+
## Arguments and routing
|
|
4
|
+
|
|
5
|
+
Three authored forms, dispatched by JSON type:
|
|
6
|
+
|
|
7
|
+
| Form | Syntax | Use when |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| [Map](steps.STEP-ENVELOPE.arguments-and-routing.md#map-arguments) | `arguments: {name: expr}` | Independent values; the common case. |
|
|
10
|
+
| [Ordered](steps.STEP-ENVELOPE.arguments-and-routing.md#ordered-arguments) | `arguments: [{key, index, expression}]` | A value depends on an earlier argument. |
|
|
11
|
+
| [Whole-block](steps.STEP-ENVELOPE.arguments-and-routing.md#whole-block-arguments) | `arguments: '<JSONata object>'` | One expression computes all values at once. |
|
|
12
|
+
|
|
13
|
+
All forms resolve before the step's payload and publish **strings** at `__this.arguments.<name>` and `_arguments.<name>` for this step only. These are local to the step: successor conditions in `next` should read published `_outputs.<KEY>` values, not `__this.arguments`. Expression wrappers (`$(...)` JSONata, `$$(...)` JSONPath, otherwise Scriban) follow [dialect classification](hexasync://docs/expressions/CONTEXT-AND-IO/dialect-classification-and-silent-scriban-fallback).
|
|
14
|
+
|
|
15
|
+
### Map arguments
|
|
16
|
+
|
|
17
|
+
`arguments: {<name>: <value or expression>}`
|
|
18
|
+
|
|
19
|
+
Each value resolves independently against the incoming context — a sibling is not visible to another sibling. Null becomes `""`; objects/arrays are compacted to JSON text; query results become text. Results publish together after all entries resolve.
|
|
20
|
+
|
|
21
|
+
```yaml
|
|
22
|
+
steps:
|
|
23
|
+
- key: MAP_VALUES
|
|
24
|
+
rootStep: true
|
|
25
|
+
displayType: VALUES
|
|
26
|
+
arguments:
|
|
27
|
+
message: hello # literal
|
|
28
|
+
first_sku: '$(_inputs.sku)' # JSONata wrapper
|
|
29
|
+
label: 'item-{{ _inputs.sku }}' # Scriban
|
|
30
|
+
data:
|
|
31
|
+
values: [{message: '{{ __this.arguments.message }}', sku: '{{ __this.arguments.first_sku }}'}]
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
With `_inputs: {sku: A1}` the arguments are `"hello"`, `"A1"` and `"item-A1"`. Use a root that the placement actually provides; `_inputs` exists in current-mode puller lists.
|
|
35
|
+
|
|
36
|
+
### Ordered arguments
|
|
37
|
+
|
|
38
|
+
`arguments: [{key: <name>, index: <integer>, expression: <expr>}]`
|
|
39
|
+
|
|
40
|
+
| Entry field | Syntax | Meaning / default |
|
|
41
|
+
| --- | --- | --- |
|
|
42
|
+
| `key` | `key: <string>` | Argument name; required. Blank entries are skipped; later duplicates overwrite. |
|
|
43
|
+
| `index` | `index: <integer>` | Evaluation order, ascending and stable. Missing sorts last. |
|
|
44
|
+
| `expression` | `expression: <string>` | The expression; absent/null falls back to `value`; both absent → `""`. |
|
|
45
|
+
| `value` | `value: <string>` | Legacy alias of `expression`. |
|
|
46
|
+
| `type` | `type: string \| integer \| decimal \| boolean \| timestamp \| uuid` | SQL-feeding [transformation](hexasync://docs/transformations/TRANSFORMATIONS) hosts only: coerces the parsed string after all arguments resolve; omitted means `string`. Ignored in step lists. |
|
|
47
|
+
| `isList` | `isList: <boolean>` | SQL-feeding transformation hosts only: binds the value as a typed list; defaults to `false`. Ignored in step lists. |
|
|
48
|
+
|
|
49
|
+
Earlier entries (by `index`) are visible to later ones at `__this.arguments.<name>`; a forward reference reads an empty string. Give dependencies higher indexes.
|
|
50
|
+
|
|
51
|
+
Legacy `value` instead of `expression`, and the transformation-only typing fields (accepted but ignored in a step list):
|
|
52
|
+
|
|
53
|
+
```yaml
|
|
54
|
+
steps:
|
|
55
|
+
- key: ORDERED_LEGACY
|
|
56
|
+
rootStep: true
|
|
57
|
+
displayType: VALUES
|
|
58
|
+
arguments:
|
|
59
|
+
- {key: first, value: '12'} # index omitted → sorts last; value is the legacy alias of expression
|
|
60
|
+
- {index: 10, key: ids, expression: '[1,2]', type: integer, isList: true} # type defaults to string, isList to false; ignored here
|
|
61
|
+
data:
|
|
62
|
+
values:
|
|
63
|
+
- {first: '{{ __this.arguments.first }}', ids: '{{ __this.arguments.ids }}'}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Produces `items: [{first: "12", ids: "[1,2]"}]` — both values stay strings in a step list.
|
|
67
|
+
|
|
68
|
+
```yaml
|
|
69
|
+
steps:
|
|
70
|
+
- key: ORDERED_VALUES
|
|
71
|
+
rootStep: true
|
|
72
|
+
displayType: VALUES
|
|
73
|
+
arguments:
|
|
74
|
+
- {index: 10, key: first, expression: '12'}
|
|
75
|
+
- {index: 20, key: later, expression: '{{ __this.arguments.first }}'}
|
|
76
|
+
data:
|
|
77
|
+
values:
|
|
78
|
+
- {value: '{{ __this.arguments.later }}'}
|
|
79
|
+
next: null
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Produces `items: [{value: "12"}]`.
|
|
83
|
+
|
|
84
|
+
### Whole-block arguments
|
|
85
|
+
|
|
86
|
+
`arguments: '<JSONata expression returning an object>'`
|
|
87
|
+
|
|
88
|
+
The string is Scriban-rendered once, then evaluated as one JSONata expression over the incoming context. Do not wrap it in `$(...)`. The result **must be an object**; each property becomes an argument (null → `""`, scalars → text, objects/arrays → compact JSON text). A non-object result (`'42'`, `'[1,2]'`) fails the step. A blank string means no arguments. Custom bindings such as `$parseJson` are not available here.
|
|
89
|
+
|
|
90
|
+
```yaml
|
|
91
|
+
steps:
|
|
92
|
+
- key: WHOLE
|
|
93
|
+
rootStep: true
|
|
94
|
+
displayType: VALUES
|
|
95
|
+
arguments: '{"message":"hello","source":__this.definition.key,"options":{"limit":2}}'
|
|
96
|
+
data:
|
|
97
|
+
values:
|
|
98
|
+
- {message: '{{ __this.arguments.message }}', source: '{{ __this.arguments.source }}'}
|
|
99
|
+
next: null
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Produces `items: [{message: "hello", source: "WHOLE"}]`; `options` is the text `{"limit":2}`, not a nested object.
|
|
103
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
> Part of [Workflow and the step envelope](steps.STEP-ENVELOPE.md).
|
|
2
|
+
|
|
3
|
+
## Best practices
|
|
4
|
+
|
|
5
|
+
- **One explicit root.** Mark exactly one step `rootStep: true`; do not rely on array order or `Begin` fallbacks.
|
|
6
|
+
- **Bounded loops.** Every backward edge needs an exit condition that changes each visit (a counter, a cursor, `hasNextPage`) and a deliberate `maxStepIterations`. Unbounded loops burn the run budget, repeat side effects (duplicate writes or calls) and end in a terminal guard failure that `onError` cannot catch.
|
|
7
|
+
- **Retries.** Prefer the platform's connector-level retry and rate limits over hand-built retry loops. If a loop must retry, cap it, add a [SLEEP](hexasync://docs/steps/SLEEP) between attempts and branch on `gracefulException` output rather than catching everything with `onError`.
|
|
8
|
+
- **Idempotency.** Steps may re-run after a restart from the root or a retried run. Make writes upserts keyed by stable identifiers, and make status changes set-style (add/remove flags) rather than toggles, so a repeat does no harm.
|
|
9
|
+
- **Read results from `_outputs`.** Downstream steps and `next` conditions should read `_outputs.<KEY>`; `__this.arguments` belongs to the current step only.
|
|
10
|
+
- **Modern spellings.** Use `displayType` and `data`; drop `provider`/`input` when touching legacy steps, and never leave `data: null` beside `input`.
|
|
11
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
> Part of [Workflow and the step envelope](steps.STEP-ENVELOPE.md).
|
|
2
|
+
|
|
3
|
+
## Connection binding
|
|
4
|
+
|
|
5
|
+
Connection selection is independent of payload selection: the first non-blank of root `connectorId`, `data.connectionId`, `input.connectionId` wins (see [`connectorId`](steps.STEP-ENVELOPE.shape.md#connectorid)). An invalid value does not fall through to the next candidate. Whether a connection is needed depends on the step type.
|
|
6
|
+
|
package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
> Part of [Workflow and the step envelope](steps.STEP-ENVELOPE.md).
|
|
2
|
+
|
|
3
|
+
## Cross-cutting step flags
|
|
4
|
+
|
|
5
|
+
Shared names do not mean universal support. `logOutput` and `gracefulException` are read **inside the payload** (`data`, or `input` when `data` is absent) and only by the step types listed. `maxStepIterations` and `retain` are read by the runner from the root first, then `data.*` — never from `input`. Prefer the root position.
|
|
6
|
+
|
|
7
|
+
| Path | Syntax | Default | Supported by |
|
|
8
|
+
| --- | --- | --- | --- |
|
|
9
|
+
| `data.logOutput` | `logOutput: <boolean>` | `false` | API, FORWARD, QUERY_SINGLE, QUERY_MANY, RESOLVE_RAW_DATA, DIRECT_INDEX; SQL/SQL_PROXY pass it to the connection's provider |
|
|
10
|
+
| `data.gracefulException` | `gracefulException: <boolean>` | `false` | API, METRIC_QUERY, QUERY_METRICS |
|
|
11
|
+
| `maxStepIterations` | `maxStepIterations: <positive integer>` | `1000` | every step |
|
|
12
|
+
| `retain` | `retain: <positive integer>` | `3` | every step (current puller mode) |
|
|
13
|
+
|
|
14
|
+
### `logOutput` — diagnostic logging
|
|
15
|
+
|
|
16
|
+
`true` writes the step's produced values into the execution log (`logOutputs`) as well. It never changes what downstream steps receive and is not a redaction control — avoid enabling it on steps that handle secrets or personal data. Other step types ignore it.
|
|
17
|
+
|
|
18
|
+
```yaml
|
|
19
|
+
steps:
|
|
20
|
+
- key: LOG_ROWS
|
|
21
|
+
rootStep: true
|
|
22
|
+
displayType: FORWARD
|
|
23
|
+
data:
|
|
24
|
+
logOutput: true # defaults to false
|
|
25
|
+
responseFilters:
|
|
26
|
+
jsonata:
|
|
27
|
+
value: {expression: '2'}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
`_outputs.LOG_ROWS` is `{value: 2}` either way; with `true` the log also shows `value: 2`.
|
|
31
|
+
|
|
32
|
+
### `gracefulException` — failure as data
|
|
33
|
+
|
|
34
|
+
`true` makes a supporting step catch a failure during its main call and return `{isException: true, exceptionMessage: ...}` as its output; normal `next` runs and `onError` does **not**. Setup failures before the call (for example an unresolvable connection) still throw. Use it when the flow should branch on the failure; leave it `false` when any failure should stop or route to `onError`.
|
|
35
|
+
|
|
36
|
+
```yaml
|
|
37
|
+
steps:
|
|
38
|
+
- key: GRACEFUL_METRIC
|
|
39
|
+
rootStep: true
|
|
40
|
+
displayType: METRIC_QUERY
|
|
41
|
+
data:
|
|
42
|
+
taskId: not-a-guid
|
|
43
|
+
gracefulException: true # defaults to false
|
|
44
|
+
onError: RECOVER
|
|
45
|
+
next: CONTINUE
|
|
46
|
+
- key: CONTINUE
|
|
47
|
+
displayType: VALUES
|
|
48
|
+
data: {values: [{continued: true}]}
|
|
49
|
+
- key: RECOVER
|
|
50
|
+
displayType: VALUES
|
|
51
|
+
data: {values: [{recovered: true}]}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
The invalid task id is caught, so CONTINUE runs and RECOVER does not. Remove the flag and the failure routes to RECOVER.
|
|
55
|
+
|
|
56
|
+
### Retention and visit caps
|
|
57
|
+
|
|
58
|
+
A bounded self-loop showing both controls:
|
|
59
|
+
|
|
60
|
+
```yaml
|
|
61
|
+
steps:
|
|
62
|
+
- key: COUNT
|
|
63
|
+
rootStep: true
|
|
64
|
+
displayType: JSONata
|
|
65
|
+
retain: 5 # defaults to 3
|
|
66
|
+
maxStepIterations: 6 # defaults to 1000
|
|
67
|
+
data:
|
|
68
|
+
count: {expression: '($exists(_outputs.COUNT.count) ? _outputs.COUNT.count : 0) + 1'}
|
|
69
|
+
next:
|
|
70
|
+
if: '{{ _outputs.COUNT.count < 6 }}'
|
|
71
|
+
then: COUNT
|
|
72
|
+
else: null
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Counts 1–6 run; `_outputs.COUNT` is the latest `{count: 6}`; `_history` keeps the five newest occurrences (6…2). With `maxStepIterations: 2` the run fails before the third visit. Retention never increases any execution budget. Put these controls at the root: `input: {retain: 5}` is not read.
|
|
76
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
> Part of [Workflow and the step envelope](steps.STEP-ENVELOPE.md).
|
|
2
|
+
|
|
3
|
+
## Executor results, graceful returns, and run error data
|
|
4
|
+
|
|
5
|
+
What a step returns and where it lands:
|
|
6
|
+
|
|
7
|
+
| Runtime field | Meaning |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| result `outputs` | Values for downstream steps. If a step returns no `outputs` member, its whole result is used. |
|
|
10
|
+
| result `input` | Description of the effective inputs, for diagnostics. |
|
|
11
|
+
| result `logOutputs` | Diagnostics only; never read by downstream steps. |
|
|
12
|
+
| result `error` | A returned (not thrown) error: recorded, but does not trigger `onError`. |
|
|
13
|
+
| `_outputs.<key>` | Latest successful outputs of that step; overwritten on each success. |
|
|
14
|
+
| `_outputs.<key>.error` | `{message, detail, stackTrace}` of a thrown failure (current puller mode). |
|
|
15
|
+
| `_outputs.__error` | Run error `{type, message, stepKey, __flow, handled, chain, previous?}` (current puller mode). |
|
|
16
|
+
|
|
17
|
+
A graceful return publishes its outputs and follows `next`; it neither runs `onError` nor creates `_outputs.__error`. A dashboard may still show such a node as failed — the returned-versus-thrown distinction decides whether the flow continues.
|
|
18
|
+
|
package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
> Part of [Workflow and the step envelope](steps.STEP-ENVELOPE.md).
|
|
2
|
+
|
|
3
|
+
## Executor selection is exact
|
|
4
|
+
|
|
5
|
+
The step type is `provider` when non-null, otherwise `displayType`, used verbatim: no trimming, case folding or fallback. A blank `provider` selects a blank type and fails instead of using `displayType`.
|
|
6
|
+
|
|
7
|
+
```yaml
|
|
8
|
+
steps:
|
|
9
|
+
- key: LOAD
|
|
10
|
+
rootStep: true
|
|
11
|
+
displayType: VALUES
|
|
12
|
+
data: {values: [{sku: A1}]}
|
|
13
|
+
next: COPY
|
|
14
|
+
- key: COPY
|
|
15
|
+
provider: VALUES
|
|
16
|
+
input: {values: [{source: '{{ _outputs.LOAD.items[0].sku }}'}]}
|
|
17
|
+
next: null
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`COPY` uses the legacy `provider` and `input` spellings and produces `items: [{source: "A1"}]` — the same result as `displayType` and `data`. Prefer the modern spellings in new work.
|
|
21
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
> Part of [Workflow and the step envelope](steps.STEP-ENVELOPE.md).
|
|
2
|
+
|
|
3
|
+
## Flow entry
|
|
4
|
+
|
|
5
|
+
Entry is chosen as: the first `rootStep: true` step; otherwise the first step whose `displayType` or `provider` is exactly `Begin`; otherwise the first step. Several roots do not start several executions. The `Begin` type itself is an unsupported placeholder that fails when run, so mark a real step with `rootStep: true` instead. Routing only uses `key` — never `name` or a designer id.
|
|
6
|
+
|
|
7
|
+
Dashboard diagrams have their own presentation rules and are not proof that a list executes. Keep designer ids and layout out of routing decisions.
|
|
8
|
+
|