@beehexa/hexasync-ai-toolkit 0.0.0-stage → 2610.12.3
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 +62 -2
- package/dist/cli.js +2935 -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,246 @@
|
|
|
1
|
+
# `next` — worker routing grammar and frontend delta
|
|
2
|
+
|
|
3
|
+
> MCP resource: **`hexasync://docs/routing/NEXT`**. This page documents worker `next`.
|
|
4
|
+
|
|
5
|
+
`next` is the step-envelope field that names which step runs after the current one. It selects an exact step `key` **in the same Workflow list** — not an executor ID, another phase, another puller/pusher or another profile entity. Flow is explicit: array order never implies a successor.
|
|
6
|
+
|
|
7
|
+
- **Purpose:** connect the steps of one Workflow list into a sequence, a branch or a bounded loop.
|
|
8
|
+
- **When to use:** on every step that must hand over to another step. Omit it (or set `null`) on the last step of each branch.
|
|
9
|
+
- **Sensible configuration:** a plain key for linear flow; a conditional object for a two-way decision; an [IF](hexasync://docs/steps/IF) or [SWITCH](hexasync://docs/steps/SWITCH) step when the decision itself deserves a named, logged step. Every backward edge needs a condition that eventually turns false and an explicit per-step cap.
|
|
10
|
+
|
|
11
|
+
[Workflow/envelope](steps.STEP-ENVELOPE.one-canonical-workflow-component.md) owns list entry (`rootStep`) and step fields; [runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope) owns which roots the routing renderer can read.
|
|
12
|
+
|
|
13
|
+
## Worker contract
|
|
14
|
+
|
|
15
|
+
```text
|
|
16
|
+
next := null | scriban-string | conditional
|
|
17
|
+
conditional := {
|
|
18
|
+
description?: string | null,
|
|
19
|
+
if: scriban-string,
|
|
20
|
+
then: next,
|
|
21
|
+
else: next
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
| Field | Syntax | Meaning |
|
|
26
|
+
| --- | --- | --- |
|
|
27
|
+
| step `next` | `next: <string \| conditional \| null>` | Resolved after the step succeeds and its output is published at `_outputs.<key>`. Omitted, `null` or a blank rendered result ends the branch. No default successor. |
|
|
28
|
+
| conditional `description` | `description: <string \| null>` | Optional label shown in routing diagnostics. Never selects a branch. |
|
|
29
|
+
| conditional `if` | `if: <scriban-string>` | Required. Rendered, trimmed and compared case-insensitively with `true`; only that result selects `then`. |
|
|
30
|
+
| conditional `then` / `else` | `then: <next>` / `else: <next>` | Both required. Each arm is again a string, a nested conditional or `null` (end). |
|
|
31
|
+
| executor `outputs.next` | produced by the executor, not authored | When present it overrides declared `next`, even when empty. IF and SWITCH route this way; see [branch-output routing](#branch-output-routing). |
|
|
32
|
+
|
|
33
|
+
`success`/`failed` are **not** worker conditional fields (they exist only in the [frontend](#frontend-delta-do-not-apply-this-grammar-to-workers)). A number or list in `next` fails with `Next step data is invalid: ...`.
|
|
34
|
+
|
|
35
|
+
### String form
|
|
36
|
+
|
|
37
|
+
Syntax: `next: <string>`. Every string — including a plain key — is rendered with **Scriban** first. A nonblank result must equal another step's `key` exactly (case-sensitive) in the same list. A blank result ends the branch. There is no JSONata/JSONPath wrapper dispatch in this field.
|
|
38
|
+
|
|
39
|
+
| Variant | Example | Meaning / when to choose |
|
|
40
|
+
| --- | --- | --- |
|
|
41
|
+
| literal key | `next: SAVE` | Fixed successor. Default choice for linear flow. |
|
|
42
|
+
| templated key | `next: '{{ _outputs.ROUTE.target }}'` | Successor computed from context. Use only when the target set is small and every rendered value is a real key. |
|
|
43
|
+
| end | omitted, `next: null`, `next: ''` | Branch ends normally. Prefer an explicit `next: null` on terminal steps so the intent is visible. |
|
|
44
|
+
| rendered conditional | `next: '{"if":"{{ ready }}","then":"SAVE","else":null}'` | Rendered JSON reparsed as a conditional. Rarely needed; prefer the object form. |
|
|
45
|
+
|
|
46
|
+
Literal key — ROOT runs, then SECOND, then the branch ends:
|
|
47
|
+
|
|
48
|
+
```yaml
|
|
49
|
+
- key: ROOT
|
|
50
|
+
rootStep: true
|
|
51
|
+
displayType: VALUES
|
|
52
|
+
data: { values: [] }
|
|
53
|
+
next: SECOND # no default; omitted would end the branch here
|
|
54
|
+
- key: SECOND
|
|
55
|
+
displayType: VALUES
|
|
56
|
+
data: { values: [] }
|
|
57
|
+
next: null # explicit end
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Both VALUES outputs contain `items: []` and `hasNextPage: false`. Replacing ROOT's `next` with `'{{ target }}'` gives the same transition only if the context contains `target: SECOND`. A blank render ends the branch; `second` (wrong case) fails with `Step next target 'second' names no existing step.`
|
|
61
|
+
|
|
62
|
+
Templated key — the successor is read from a previous step's output:
|
|
63
|
+
|
|
64
|
+
```yaml
|
|
65
|
+
- key: ROUTE
|
|
66
|
+
rootStep: true
|
|
67
|
+
displayType: VALUES
|
|
68
|
+
data: { values: [{ target: DETAIL }] }
|
|
69
|
+
next: '{{ _outputs.ROUTE.items[0].target }}'
|
|
70
|
+
- key: DETAIL
|
|
71
|
+
displayType: VALUES
|
|
72
|
+
data: { values: [] }
|
|
73
|
+
next: null
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
ROUTE publishes its row before routing, so the template renders `DETAIL`. If the rendered value can be anything other than a declared key, use a conditional or SWITCH instead: an unknown key fails the run.
|
|
77
|
+
|
|
78
|
+
#### Rendered conditional objects
|
|
79
|
+
|
|
80
|
+
A rendered string whose **trimmed** text begins with `{` is parsed as JSON; if the result is an object with a non-null `if`, it is resolved as a conditional (recursively for its arms).
|
|
81
|
+
|
|
82
|
+
```yaml
|
|
83
|
+
- key: CHECK
|
|
84
|
+
rootStep: true
|
|
85
|
+
displayType: VALUES
|
|
86
|
+
data: { values: [] }
|
|
87
|
+
next: '{"description":"Rendered branch","if":"{{ ready }}","then":"SECOND","else":null}'
|
|
88
|
+
- key: SECOND
|
|
89
|
+
displayType: VALUES
|
|
90
|
+
data: { values: [] }
|
|
91
|
+
next: null
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
With `ready: true` in context the successor is SECOND; otherwise the branch ends. Invalid JSON syntax, or an object without `if`, is treated as a literal key and normally fails lookup. A JSON object with wrongly typed members (for example an object-valued `if`) fails while being read. Prefer the [conditional object form](#conditional-object-form): it is validated by the editor and easier to read.
|
|
95
|
+
|
|
96
|
+
### Conditional object form
|
|
97
|
+
|
|
98
|
+
Syntax:
|
|
99
|
+
|
|
100
|
+
```text
|
|
101
|
+
next:
|
|
102
|
+
description: <string | null> # optional
|
|
103
|
+
if: <scriban-string> # required
|
|
104
|
+
then: <next> # required: key, nested conditional or null
|
|
105
|
+
else: <next> # required: key, nested conditional or null
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Use it for a two-way decision on data already in context. Nest a conditional in an arm for a further test; use [SWITCH](hexasync://docs/steps/SWITCH) when there are more than two outcomes.
|
|
109
|
+
|
|
110
|
+
#### description
|
|
111
|
+
|
|
112
|
+
`description: <string | null>` — optional human label recorded in the routing trace. No default; omitting it changes nothing at runtime.
|
|
113
|
+
|
|
114
|
+
#### if
|
|
115
|
+
|
|
116
|
+
`if: <scriban-string>` — rendered, trimmed and compared case-insensitively with `true`. `true`, `True` and `" TRUE "` select `then`; every other result (`false`, `1`, `yes`, blank) selects `else`.
|
|
117
|
+
|
|
118
|
+
#### then / else
|
|
119
|
+
|
|
120
|
+
`then: <next>` and `else: <next>` — both required, no default. Each arm is a key, a nested conditional or `null` to end the branch.
|
|
121
|
+
|
|
122
|
+
A nested two-level decision:
|
|
123
|
+
|
|
124
|
+
```yaml
|
|
125
|
+
- key: SEED
|
|
126
|
+
rootStep: true
|
|
127
|
+
displayType: VALUES
|
|
128
|
+
data: { values: [{ ready: true, use_detail: true }] }
|
|
129
|
+
next:
|
|
130
|
+
description: Select work or finish # optional
|
|
131
|
+
if: '{{ _outputs.SEED.items[0].ready }}'
|
|
132
|
+
then:
|
|
133
|
+
description: Select detail
|
|
134
|
+
if: '{{ _outputs.SEED.items[0].use_detail }}'
|
|
135
|
+
then: DETAIL
|
|
136
|
+
else: null # end without DETAIL
|
|
137
|
+
else: DONE
|
|
138
|
+
- key: DETAIL
|
|
139
|
+
displayType: VALUES
|
|
140
|
+
data: { values: [{ selected: detail }] }
|
|
141
|
+
next: null
|
|
142
|
+
- key: DONE
|
|
143
|
+
displayType: VALUES
|
|
144
|
+
data: { values: [{ selected: done }] }
|
|
145
|
+
next: null
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
SEED publishes its row before `next` is resolved. `true/true` selects DETAIL; `true/false` ends after SEED; `ready: false` selects DONE without evaluating the inner conditional. Only visited conditionals are recorded in the routing trace (description, raw and rendered condition, selected arm).
|
|
149
|
+
|
|
150
|
+
## Worker failure and termination table
|
|
151
|
+
|
|
152
|
+
| Input/result | Behavior and safe correction |
|
|
153
|
+
| --- | --- |
|
|
154
|
+
| Omitted/null or rendered blank `next` | Normal end; author an explicit route if more work is required. |
|
|
155
|
+
| Nonblank existing key | That step runs; its position in the array does not matter. |
|
|
156
|
+
| Nonblank missing key | Run fails: `Step next target '<target>' names no existing step.` Fix spelling/case or same-list membership. |
|
|
157
|
+
| Rendered conditional with non-null `if` | Reparsed and resolved; author both arms. |
|
|
158
|
+
| Number or list token | `Next step data is invalid`; use string, object or null. |
|
|
159
|
+
| Rendered JSON object with a wrongly typed member | Fails while being read, before lookup; author a string `if` and valid arms. |
|
|
160
|
+
| Step throws | Declared `next` is skipped; [onError](steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md) owns recovery. |
|
|
161
|
+
|
|
162
|
+
## Branch-output routing
|
|
163
|
+
|
|
164
|
+
When an executor returns `outputs.next`, that value is used immediately and declared `next` is **not** evaluated. A blank value ends the branch; an unknown key fails with `Branch next target '<target>' names no existing step.` This is how [IF](hexasync://docs/steps/IF) (conditional resolver) and [SWITCH](hexasync://docs/steps/SWITCH) (exactly one matching case; zero matches end, several matches fail) route.
|
|
165
|
+
|
|
166
|
+
```yaml
|
|
167
|
+
- key: CHOOSE
|
|
168
|
+
rootStep: true
|
|
169
|
+
displayType: IF
|
|
170
|
+
data: { if: 'true', then: DETAIL, else: null }
|
|
171
|
+
next: FALLBACK # ignored: IF routes through its own output
|
|
172
|
+
- key: DETAIL
|
|
173
|
+
displayType: VALUES
|
|
174
|
+
data: { values: [] }
|
|
175
|
+
next: null
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
CHOOSE → DETAIL → end. FALLBACK is never resolved; even when IF selects `null`, declared `next` is not a default branch — don't author it on IF/SWITCH. Address earlier results through `_outputs.<key>` in routing templates (see [shared iterator roots](hexasync://docs/expressions/CONTEXT-AND-IO/shared-stepiterator-roots)).
|
|
179
|
+
|
|
180
|
+
## Backward edges and terminal loop guards
|
|
181
|
+
|
|
182
|
+
Backward and self edges are legal in puller, pusher and webhook Workflow lists. They build bounded loops (paging, polling); they are **not** a retry API. The guards below stop runaway loops; the `PULL_` prefix of their codes does not mean puller-only. Counters are per Workflow invocation.
|
|
183
|
+
|
|
184
|
+
| Guard | Setting / default | Trigger and code |
|
|
185
|
+
| --- | --- | --- |
|
|
186
|
+
| Whole-call visits | puller `maxIterations`; absent or non-positive → 300000, larger values clamp to 300000 | Visit count exceeds the budget: `PULL_MAX_ITERATIONS`. Not an authorable field on pushers or webhooks. |
|
|
187
|
+
| Elapsed duration | engine capability; not authorable in profiles | Wall-clock ceiling exceeded: `PULL_MAX_DURATION`. |
|
|
188
|
+
| Per-step visits | [`maxStepIterations`](steps.STEP-ENVELOPE.cross-cutting-step-flags.md), default **1000** per `key` + `displayType` | Count would exceed the cap: `PULL_MAX_STEP_ITERATIONS`. |
|
|
189
|
+
| Stationary cycle | fixed threshold **3**; not authorable | The combined fingerprint of every tracked step's latest input/output repeats three times: `PULL_LOOP_NO_PROGRESS`. Any change resets the count. Steps with empty input and output are not tracked. |
|
|
190
|
+
|
|
191
|
+
Guard failures bypass per-step `onError`; they always end the run as failures. There are no profile-authored retry or backoff fields. A connector-requested restart of the root step is a separate platform mechanism (see [error/restart handling](steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md)); it does not follow authored edges.
|
|
192
|
+
|
|
193
|
+
A paging loop that continues while the previous page says there is more:
|
|
194
|
+
|
|
195
|
+
```yaml
|
|
196
|
+
- key: PAGE
|
|
197
|
+
rootStep: true
|
|
198
|
+
displayType: VALUES
|
|
199
|
+
maxStepIterations: 2 # defaults to 1000
|
|
200
|
+
data: { values: [] }
|
|
201
|
+
next:
|
|
202
|
+
if: '{{ _outputs.PAGE.hasNextPage }}'
|
|
203
|
+
then: PAGE
|
|
204
|
+
else: null
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
VALUES reports `hasNextPage: false`, so PAGE runs once and the branch ends. In a real pager, PAGE is an API/SQL step whose request changes every iteration (cursor or offset). [PULLERS](hexasync://docs/pullers/PULLERS) owns page termination, empty-page and persistence/sweep rules; the edge alone saves nothing.
|
|
208
|
+
|
|
209
|
+
### Rejected example: unconditional self-loop
|
|
210
|
+
|
|
211
|
+
Non-copyable — demonstrates the guard, not a valid design:
|
|
212
|
+
|
|
213
|
+
```yaml
|
|
214
|
+
- key: LOOP
|
|
215
|
+
rootStep: true
|
|
216
|
+
displayType: VALUES
|
|
217
|
+
maxStepIterations: 2
|
|
218
|
+
data: { values: [] }
|
|
219
|
+
next: LOOP
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
It runs twice, then fails before the third visit with `PULL_MAX_STEP_ITERATIONS`. Without the cap, the unchanged loop fails with `PULL_LOOP_NO_PROGRESS` after three identical observations.
|
|
223
|
+
|
|
224
|
+
### Avoiding infinite loops
|
|
225
|
+
|
|
226
|
+
- **Give every backward edge an exit condition derived from fresh data**, e.g. the latest page's continuation flag. A condition that reads a value the loop never changes loops until a guard kills the run — and a guard kill is a failure, not completion.
|
|
227
|
+
- **Change the request every iteration.** Repeating the same cursor re-reads the same page; the no-progress guard eventually fails the run, and before it does you may write duplicate data or exhaust the provider's rate limit.
|
|
228
|
+
- **Set `maxStepIterations` on looping steps** to a ceiling just above the largest legitimate count (e.g. expected pages × 2). The 1000 default is a safety net, not a design value.
|
|
229
|
+
- **Don't build retry loops with `next`.** A backward edge after a failure re-sends immediately with no backoff, which amplifies rate-limit (429) and outage problems. Let the run fail and be retried by its host, or use connector-level retry where offered.
|
|
230
|
+
- **Never treat guard exhaustion as "done".** Downstream completion writes (watermarks, deletion sweeps) must only follow a validated terminal condition.
|
|
231
|
+
|
|
232
|
+
## Frontend delta: do not apply this grammar to workers
|
|
233
|
+
|
|
234
|
+
Frontend connector workflows (connection setup and creation flows) are a separate host with a different grammar. Do not copy these forms into worker step lists:
|
|
235
|
+
|
|
236
|
+
- Strings render with **Liquid** by default; only a `jsonata::` prefix selects JSONata.
|
|
237
|
+
- Entry is the first step with a truthy `root` field, not `rootStep`.
|
|
238
|
+
- A conditional accepts `if`, `then`/`else` and the deprecated aliases `success`/`failed` (`then ?? success`, `else ?? failed`), and needs only one non-null arm.
|
|
239
|
+
- Truth comparison lowercases the rendered text **without trimming**: `" true "` is false there.
|
|
240
|
+
- A rendered string is not reparsed into a conditional.
|
|
241
|
+
- A missing target ends the flow instead of failing.
|
|
242
|
+
- Frontend IF/SWITCH return their own resolved target, bypassing step-level routing.
|
|
243
|
+
|
|
244
|
+
## Related
|
|
245
|
+
|
|
246
|
+
[Workflow](steps.STEP-ENVELOPE.one-canonical-workflow-component.md), [arguments](steps.STEP-ENVELOPE.arguments-and-routing.md), [runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope), [response filters](responseFilters.RESPONSE-FILTERS.exact-authored-shape.md), [IF](hexasync://docs/steps/IF), and [SWITCH](hexasync://docs/steps/SWITCH) own reused inputs/outputs and executor-specific conditions.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
> Part of [API — API Connector](steps.API.md).
|
|
2
|
+
|
|
3
|
+
## API pagination
|
|
4
|
+
|
|
5
|
+
There is no built-in pagination. Author it: put page/offset/cursor values in `queries`, project the continuation token and a `hasNextPage` flag with response filters, and loop with `next`. Process or persist each page before looping, because `_outputs.<KEY>` holds only the latest page. For puller-specific paging and no-progress detection see [PULLERS](hexasync://docs/pullers/PULLERS); for loop limits see [NEXT](routing.NEXT.md).
|
|
6
|
+
|
|
7
|
+
### Complete response-derived cursor loop
|
|
8
|
+
|
|
9
|
+
The first visit sends no cursor (blank values are dropped); each later visit sends the cursor from the previous response; a null cursor ends the loop.
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
steps:
|
|
13
|
+
- key: CURSOR
|
|
14
|
+
rootStep: true
|
|
15
|
+
displayType: JSONata
|
|
16
|
+
data:
|
|
17
|
+
cursor:
|
|
18
|
+
expression: '$exists(_outputs.PAGE) ? _outputs.PAGE.nextCursor : ""'
|
|
19
|
+
next: PAGE
|
|
20
|
+
- key: PAGE
|
|
21
|
+
displayType: API
|
|
22
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
23
|
+
data:
|
|
24
|
+
method: GET
|
|
25
|
+
url: /orders
|
|
26
|
+
queries:
|
|
27
|
+
cursor: '{{ _outputs.CURSOR.cursor }}'
|
|
28
|
+
limit: '25'
|
|
29
|
+
acceptHttpStatuses:
|
|
30
|
+
success: { expression: '^2\d\d$' }
|
|
31
|
+
responseFilters:
|
|
32
|
+
jsonata:
|
|
33
|
+
items: { expression: 'items' }
|
|
34
|
+
nextCursor: { expression: 'nextCursor' }
|
|
35
|
+
hasNextPage:
|
|
36
|
+
expression: '$exists(nextCursor) and nextCursor != null and nextCursor != ""'
|
|
37
|
+
next:
|
|
38
|
+
if: '{{ _outputs.PAGE.hasNextPage }}'
|
|
39
|
+
then: CURSOR
|
|
40
|
+
else: null
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Insert a processing/persisting step between PAGE and CURSOR in real use. If an endpoint can repeat the same cursor, detect it and stop rather than raising loop limits.
|
|
44
|
+
|
package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
> Part of [API — API Connector](steps.API.md).
|
|
2
|
+
|
|
3
|
+
## API response parsing and outputs
|
|
4
|
+
|
|
5
|
+
Without response filters (or with `responseFilters: {}`), outputs are:
|
|
6
|
+
|
|
7
|
+
| Output | Content |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| `statusCode` | Numeric HTTP status of the response (`200`, `201`, `404`…). Tells you which accepted status this call received. |
|
|
10
|
+
| `headers` | Response headers; one value → string, several → list. Values of credential-like names are encrypted. |
|
|
11
|
+
| `cookies` | `Set-Cookie` names to values. |
|
|
12
|
+
| `body` | JSON/XML → structured value; other text → string; `responseType: FILE` or binary → base64 string; empty → `''`. Malformed JSON/XML falls back to text. |
|
|
13
|
+
|
|
14
|
+
Use `statusCode` when `acceptHttpStatuses` accepts more than one status (for example `200` and `404`) and the next step must know which one came back. With a non-empty `responseFilters` map, only the named outputs exist (no `body` sibling) — and if status narrowing disables all leaves, the output is `{}`. Explicit parsers fail on malformed bodies even though the default falls back to text.
|
|
15
|
+
|
|
16
|
+
Downstream steps read `_outputs.<KEY>.<name>`:
|
|
17
|
+
|
|
18
|
+
```yaml
|
|
19
|
+
steps:
|
|
20
|
+
- key: READ
|
|
21
|
+
rootStep: true
|
|
22
|
+
displayType: API
|
|
23
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
24
|
+
data:
|
|
25
|
+
method: GET
|
|
26
|
+
url: /products/A1
|
|
27
|
+
acceptHttpStatuses:
|
|
28
|
+
success: { expression: '^2\d\d$' }
|
|
29
|
+
next: PROJECT
|
|
30
|
+
- key: PROJECT
|
|
31
|
+
displayType: JSONata
|
|
32
|
+
data:
|
|
33
|
+
found:
|
|
34
|
+
expression: '_outputs.READ.statusCode = 200'
|
|
35
|
+
productId:
|
|
36
|
+
expression: '_outputs.READ.body.id'
|
|
37
|
+
next: null
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
With `responseFilters: {jsonata: {productId: {expression: id}}}` on READ, the downstream reference becomes `_outputs.READ.productId`.
|
|
41
|
+
|
|
42
|
+
The diagnostic trail (`input`, `logOutputs`) records the built request and the response status/headers for troubleshooting; it is not part of `_outputs`.
|
|
43
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
> Part of [API — API Connector](steps.API.md).
|
|
2
|
+
|
|
3
|
+
## API response status
|
|
4
|
+
|
|
5
|
+
Status matching is by regular expression on the numeric code. A response is processed only if an authored expression matches or the connector itself handles that code (for example re-authenticating on 401 or waiting on 429). An unmatched status fails the step with the status and response message. Accepting a status means "parse this response", not "the operation succeeded".
|
|
6
|
+
|
|
7
|
+
When several entries match, the first one in authored order names the active status; response-filter leaves with `acceptedStatuses` run only for that name. Order specific patterns before broad ones.
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
steps:
|
|
11
|
+
- key: LOOKUP
|
|
12
|
+
rootStep: true
|
|
13
|
+
displayType: API
|
|
14
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
15
|
+
data:
|
|
16
|
+
method: GET
|
|
17
|
+
url: '/orders/{{ _env.orderId }}'
|
|
18
|
+
acceptHttpStatuses:
|
|
19
|
+
success: { expression: '^2\d\d$' }
|
|
20
|
+
notFound: { expression: '^404$' }
|
|
21
|
+
responseFilters:
|
|
22
|
+
jsonata:
|
|
23
|
+
id:
|
|
24
|
+
expression: id
|
|
25
|
+
acceptedStatuses: [success]
|
|
26
|
+
missingReason:
|
|
27
|
+
expression: message
|
|
28
|
+
acceptedStatuses: [notFound]
|
|
29
|
+
next: null
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
A 200 yields `{id: …}`; a documented 404 yields `{missingReason: …}`. If `success` were `'.*'`, a 404 would match it first and the `notFound` leaf would never run.
|
|
33
|
+
|
|
34
|
+
### Rejected form — not copyable
|
|
35
|
+
|
|
36
|
+
`acceptHttpStatuses: [200, 404]` (a list) is not the named map, and an invalid regex such as `'['` fails at runtime.
|
|
37
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
> Part of [API — API Connector](steps.API.md).
|
|
2
|
+
|
|
3
|
+
## Best practices
|
|
4
|
+
|
|
5
|
+
- **Always write `method`.** The POST default makes an omitted read fail or, worse, create data.
|
|
6
|
+
- **Always author `acceptHttpStatuses`** with only documented statuses, specific patterns first — it is your contract with the endpoint and avoids parsing error pages as data.
|
|
7
|
+
- **Keep host and credentials on the connection**, paths in steps: environments switch in one place and secrets stay out of payloads and diagnostics.
|
|
8
|
+
- **Project with response filters** when downstream steps need a few fields; stable names decouple them from response shape changes.
|
|
9
|
+
- **Treat in-body errors as errors**: GraphQL `errors`, SOAP Faults and script errors can arrive with 200 — project and route on them.
|
|
10
|
+
- **Use `gracefulException` only with explicit routing** on `isException`; otherwise failures look like empty successes.
|
|
11
|
+
- **Paginate explicitly and persist per page**, with a guaranteed termination condition.
|
|
12
|
+
- **Don't mix query strings in `url` with `queries`**, and pre-encode values yourself.
|
|
13
|
+
- **Use `logOutput` deliberately**: helpful when debugging, costly and potentially sensitive in production volume.
|
|
14
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
> Part of [API — API Connector](steps.API.md).
|
|
2
|
+
|
|
3
|
+
## Contract
|
|
4
|
+
|
|
5
|
+
`API` calls an external system through the connection it is bound to. For HTTP-backed connections, `data.type` chooses a request builder (REST by default) that turns `url`, `queries`, `headers` and `body` into one HTTP request; the response is parsed into outputs published at `_outputs.<KEY>` (by default `statusCode`, `headers`, `cookies` and `body`; with response filters, only the names you define). The step does not paginate, retry or authenticate by itself: authentication and base URL come from the connection, and paging is authored with routing. A connection whose connector is not HTTP-backed reads its own payload fields instead (for example a database connector reads `sql`), and the HTTP fields below do not apply.
|
|
6
|
+
|
|
7
|
+
Envelope behavior (provider vs displayType, `data` vs `input`, arguments, `onError`, `rootStep`, `next`) is shared by all steps: see [STEP-ENVELOPE](steps.STEP-ENVELOPE.md).
|
|
8
|
+
|
|
9
|
+
### Syntax
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
steps:
|
|
13
|
+
- key: STEP_KEY # UPPER_SNAKE_CASE
|
|
14
|
+
displayType: API
|
|
15
|
+
connectorId: <connection-instance-uuid> # required unless data.connectionId is set
|
|
16
|
+
data:
|
|
17
|
+
type: REST # optional, defaults to REST; or GRAPHQL|SOAP|FORM_URL_ENCODED|MULTIPART_UPLOAD|BINARY_UPLOAD|DOWNLOAD_CSV|GOOGLE_APP_SCRIPT|PUBLIC_WEBHOOK_BINDING
|
|
18
|
+
method: GET # optional, defaults to POST; any HTTP verb
|
|
19
|
+
url: <path or absolute URL> # required by most types
|
|
20
|
+
connectionId: <uuid> # optional fallback for connectorId
|
|
21
|
+
queries: { <name>: <value> } # optional; object, YAML string or list
|
|
22
|
+
headers: { <Header-Name>: [<value>] } # optional
|
|
23
|
+
body: <object | list | string> # type-specific
|
|
24
|
+
base64: <base64 string> # BINARY_UPLOAD only
|
|
25
|
+
columns: { <CSV header>: <field name> } # DOWNLOAD_CSV only
|
|
26
|
+
acceptHttpStatuses: # strongly recommended
|
|
27
|
+
<name>: { expression: <status regex> }
|
|
28
|
+
responseFilters: {} # optional parser map; {} = default outputs
|
|
29
|
+
responseType: NONE # optional, defaults to NONE; or FILE|OBJECT
|
|
30
|
+
logOutput: false # optional, defaults to false
|
|
31
|
+
gracefulException: false # optional, defaults to false
|
|
32
|
+
anonymous: false # deprecated, ignored; defaults to false
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### When to use
|
|
36
|
+
|
|
37
|
+
- Use when a workflow must read from or write to an external system over the connection's protocol (HTTP request, upload, CSV download, script call).
|
|
38
|
+
- Use one `API` step per request; chain several with `next` when one call depends on another's output.
|
|
39
|
+
- Do not use for transforming data you already have — use [JSONata](hexasync://docs/steps/JSONata#contract) or [Scriban](hexasync://docs/steps/Scriban).
|
|
40
|
+
- Do not use `type: DOWNLOAD_CSV` when you need the dedicated CSV step's contract — use [DOWNLOAD_CSV](hexasync://docs/steps/DOWNLOAD_CSV).
|
|
41
|
+
- Do not use `displayType: cURL` — a captured cURL command is not executable; translate it into an `API` step (see [cURL request intake](steps.API.curl-request-intake.md)).
|
|
42
|
+
|
|
43
|
+
### Sensible configuration
|
|
44
|
+
|
|
45
|
+
Always set `method` explicitly (the default is POST, which surprises most reads), always author an explicit success status policy, and keep base URL and standing credentials on the connection rather than in the step.
|
|
46
|
+
|
|
47
|
+
```yaml
|
|
48
|
+
steps:
|
|
49
|
+
- key: LOAD_ORDERS
|
|
50
|
+
rootStep: true
|
|
51
|
+
displayType: API
|
|
52
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
53
|
+
data:
|
|
54
|
+
method: GET
|
|
55
|
+
url: /orders
|
|
56
|
+
queries:
|
|
57
|
+
limit: '25'
|
|
58
|
+
headers:
|
|
59
|
+
Accept: ['application/json']
|
|
60
|
+
acceptHttpStatuses:
|
|
61
|
+
success: { expression: '^2\d\d$' }
|
|
62
|
+
next: null
|
|
63
|
+
```
|
|
64
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
> Part of [API — API Connector](steps.API.md).
|
|
2
|
+
|
|
3
|
+
## cURL request intake
|
|
4
|
+
|
|
5
|
+
A captured cURL command maps onto an `API` step:
|
|
6
|
+
|
|
7
|
+
| From the capture | Goes to |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| Host / base path | connection base URL |
|
|
10
|
+
| Standing headers (auth, API version) | connection options |
|
|
11
|
+
| Verb, path, query, per-call headers, body | `method`, `url`, `queries`, `headers`, `body` |
|
|
12
|
+
| Body representation | `type` (JSON/text → REST, form → FORM_URL_ENCODED, multipart → MULTIPART_UPLOAD, raw file → BINARY_UPLOAD, GraphQL → GRAPHQL, XML envelope → SOAP) |
|
|
13
|
+
|
|
14
|
+
A single capture cannot tell you the token lifecycle, signing scheme, tolerable error statuses, pagination strategy or retry safety — establish those from the endpoint's documentation. `curl -H 'Accept: application/json' '<connection base URL>/orders?limit=25'` becomes:
|
|
15
|
+
|
|
16
|
+
```yaml
|
|
17
|
+
steps:
|
|
18
|
+
- key: CAPTURED_READ
|
|
19
|
+
displayType: API
|
|
20
|
+
connectorId: '00000000-0000-0000-0000-000000000001'
|
|
21
|
+
data:
|
|
22
|
+
type: REST
|
|
23
|
+
method: GET
|
|
24
|
+
url: /orders
|
|
25
|
+
queries: { limit: '25' }
|
|
26
|
+
headers:
|
|
27
|
+
Accept: ['application/json']
|
|
28
|
+
acceptHttpStatuses:
|
|
29
|
+
success: { expression: '^2\d\d$' }
|
|
30
|
+
```
|
|
31
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
> Part of [API — API Connector](steps.API.md).
|
|
2
|
+
|
|
3
|
+
## Failure handling
|
|
4
|
+
|
|
5
|
+
| Failure | Effect | Fix |
|
|
6
|
+
| --- | --- | --- |
|
|
7
|
+
| Status not matched by `acceptHttpStatuses` | Step fails with status and response message | Add the documented status, or fix the request |
|
|
8
|
+
| `acceptHttpStatuses` omitted | Can fail even on 2xx | Always author a success expression |
|
|
9
|
+
| Unknown `type` | Fails at run time | Use an exact enum value |
|
|
10
|
+
| Invalid `base64` | Fails before sending | Supply valid base64 |
|
|
11
|
+
| Malformed body with an explicit filter parser | Step fails | Fix the payload or use the default output |
|
|
12
|
+
| GOOGLE_APP_SCRIPT on a connection without script options | Missing-option error | Bind a connection that supplies them |
|
|
13
|
+
| DOWNLOAD_CSV non-2xx / missing mapped header | Step fails | Fix the URL or `columns` |
|
|
14
|
+
|
|
15
|
+
With `gracefulException: true`, failures during the call return `{isException: true, exceptionMessage}` and normal `next` routing continues; the request is not retried and ordinary outputs are absent. Route on `isException` explicitly. Connection and argument setup errors are never converted. A connector's own retry/recovery (rate limits, token refresh) is described under [connections](hexasync://docs/connections/CONNECTIONS); error routing and `onError` under [STEP-ENVELOPE](steps.STEP-ENVELOPE.md).
|
|
16
|
+
|
|
17
|
+
To turn statuses, thrown calls (`isException`) and invalid bodies into error codes, follow the call with **one** classification expression and one IF + [Error](hexasync://docs/steps/Error#classify-once-raise-once) — not one IF/Error pair per status. Accept the statuses whose bodies you classify, keep `401`/`429` with the connection, and add steps only for a genuinely different action. Full example and anti-pattern: [Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once).
|
|
18
|
+
|