@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,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hexasync-pushers
|
|
3
|
+
description: "HexaSync pushers: push workflows, item selection, destination request bodies, update vs create, sync status and item status updates, retries and failure handling when sending task rows to a destination API. Use when writing, reviewing or debugging a pusher."
|
|
4
|
+
compatibility: "Any agent that reads Agent Skills. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@latest), which needs Node.js >= 22.13; without it, read references/."
|
|
5
|
+
metadata:
|
|
6
|
+
author: BeeHexa
|
|
7
|
+
version: "2610.12.3"
|
|
8
|
+
kb-bundle: "100"
|
|
9
|
+
mcp-server: "hexasync-template-ide"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Pushers: writing records to a destination system
|
|
13
|
+
|
|
14
|
+
A **pusher** sends one task item to a destination system and reports one result for it: the
|
|
15
|
+
destination ID and whether the destination accepted the write. Its step lists are placements of the
|
|
16
|
+
[one canonical Workflow component](hexasync://docs/steps/STEP-ENVELOPE#one-canonical-workflow-component),
|
|
17
|
+
not a separate step grammar.
|
|
18
|
+
|
|
19
|
+
> Generated from the HexaSync knowledge base (asset bundle 100) by @beehexa/hexasync-ai-toolkit 2610.12.3.
|
|
20
|
+
|
|
21
|
+
## How to work
|
|
22
|
+
|
|
23
|
+
When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
|
|
24
|
+
|
|
25
|
+
1. `hexasync_orientation` once per session: what a template is, the two runtimes that must never be mixed, and the lookup order.
|
|
26
|
+
2. `hexasync_explain_type` before writing any field, e.g. `pushers`, `PUSHER`. It returns the authoritative syntax, meaning, default and a YAML example.
|
|
27
|
+
3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `pusher create update destination`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
|
|
28
|
+
4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
|
|
29
|
+
5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
|
|
30
|
+
|
|
31
|
+
Never infer syntax from YAML already in the workspace: it may be outdated or wrong. The knowledge base and the MCP tools are authoritative. Use actual identities from the workspace or `hexasync_list_connectors`; never invent one.
|
|
32
|
+
|
|
33
|
+
## Best practices (from the knowledge base)
|
|
34
|
+
|
|
35
|
+
- **Idempotent writes.** Decide create vs update from `item.__destination_id`; prefer a destination upsert keyed by a stable external key when one exists. A pusher cannot guarantee exactly-once remote creation: release, After, Final, cleanup or the connector restart can fail or repeat after the remote write succeeded, and an item retry then runs the whole flow again. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
36
|
+
- **Ambiguous failures.** After a timeout or a failure following the request, look the record up by its stable key before creating again. Send that key with every create so the lookup is possible. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
37
|
+
- **Avoid duplicate pushes.** Put exactly one destination write in `pushSteps`; never write to the destination from Before, After or Final, and never re-send from After to "retry". Locks stop concurrent local attempts only; use `customLockKey` to serialize items that update the same destination record. Keep steps before the write in a phase side-effect free, because a connector restart re-runs the phase from its root. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
38
|
+
- **Honest results.** Derive `isSuccess` from the destination response and return the real `id` on create. Constant success hides failures and saves bogus identities; an `isFailed`-only filter is rejected. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
39
|
+
- **Rate limits.** Let the connection handle 429 waits and authentication refresh; do not add sleep loops or retry `next` cycles in step lists. An unaccepted HTTP status fails the step, which records the error and schedules an item retry with Fibonacci backoff. Accept a business-error status only when you parse it into `isFailed`/`message`, so the item is rejected and retried rather than spinning. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
40
|
+
- **One classifier per destination call.** Turn status, thrown calls and invalid bodies into one verdict with a single JSONata/Scriban expression, then branch once (IF + `Error`, or a `isFailed`/`message` result); add a step only for a genuinely different action such as a lookup or a fallback create ([Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once)). _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
41
|
+
- **Explicit request bodies.** Name every destination member and the snake_case column it comes from (`orderNumber: '{{ item.order_number }}'`); never send the whole item ([explicit mapping for push](hexasync://docs/transformations/TRANSFORMATIONS#explicit-mapping-for-push)). _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
42
|
+
- **Avoid infinite loops.** A push must not change the item it is pushing in a way that marks it Changed again (for example writing pushed values back into tracked columns from After), or every release re-queues it. Keep `next` routing acyclic or bounded within a phase ([loop guards](hexasync://docs/routing/NEXT)). Association transforms targeting tasks that route back to the source create the same cycle. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
43
|
+
- **Indirect completion.** Use indirect mode only when a separate, verified completion signal exists, otherwise items stay in Pushing forever. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
44
|
+
- **Deterministic preparation.** Item transformations may run more than once per push; keep them pure. _([Pushers](references/pushers.PUSHERS.best-practices.md))_
|
|
45
|
+
- Prefer [ENQUEUER](hexasync://docs/steps/ENQUEUER#contract) for many items: queued pushes respect concurrency and scheduling; a synchronous `PUSHER` per item makes the parent flow as slow as all pushes combined. _([PUSHER — push one stored item now](references/steps.PUSHER.md#best-practices))_
|
|
46
|
+
- Use `noError: true` only together with an explicit `has_error` check; otherwise failures silently pass. _([PUSHER — push one stored item now](references/steps.PUSHER.md#best-practices))_
|
|
47
|
+
- Keep `force_push` off by default; turning it on overrides an operator's decision to stop pushing. _([PUSHER — push one stored item now](references/steps.PUSHER.md#best-practices))_
|
|
48
|
+
- Avoid pushing the item that is currently being pushed (from its own pusher flow): the lock makes it a silent no-op. _([PUSHER — push one stored item now](references/steps.PUSHER.md#best-practices))_
|
|
49
|
+
- Prefer status names over integer masks because names are self-describing and an unknown name fails loudly instead of setting an unintended bit. _([UPDATE_ITEM_STATUS — Update Item Status](references/steps.UPDATE_ITEM_STATUS.md#best-practices))_
|
|
50
|
+
- Prefer an array-constructor expression (`'[path.__id]'`) over a bare path because a single match otherwise evaluates to a scalar and fails. _([UPDATE_ITEM_STATUS — Update Item Status](references/steps.UPDATE_ITEM_STATUS.md#best-practices))_
|
|
51
|
+
- Prefer this step over a broad predicate update when you already know the ids, because it cannot touch unselected rows. _([UPDATE_ITEM_STATUS — Update Item Status](references/steps.UPDATE_ITEM_STATUS.md#best-practices))_
|
|
52
|
+
- 10 more of 27: every page's own *Best practices* section is in [`references/`](references/INDEX.md).
|
|
53
|
+
|
|
54
|
+
## References
|
|
55
|
+
|
|
56
|
+
[`references/INDEX.md`](references/INDEX.md) maps every section of *Pushers*, *PUSHER — push one stored item now*, *UPDATE_ITEM_STATUS — Update Item Status*, *UPDATE_ITEM_SYNC_PROCESS — Update Item Sync Process* and lists the questions this skill answers. Open only the section you need.
|
|
57
|
+
|
|
58
|
+
## Installing the MCP server
|
|
59
|
+
|
|
60
|
+
If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@latest`).
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# References — Pushers: writing records to a destination system
|
|
2
|
+
|
|
3
|
+
Each file is one knowledge-base section of at most 25 KB, the same split the MCP server serves. Links between these files are relative; other `hexasync://` links resolve through the MCP server.
|
|
4
|
+
|
|
5
|
+
## Questions this skill answers
|
|
6
|
+
|
|
7
|
+
- pulling, pushing, ingress and startup hosts → [Pullers](hexasync://docs/pullers/PULLERS), [Pushers](pushers.PUSHERS.md), [Webhooks](hexasync://docs/webhooks/WEBHOOKS), [Startup](hexasync://docs/startupTasks/STARTUP-TASKS)
|
|
8
|
+
|
|
9
|
+
## Sections
|
|
10
|
+
|
|
11
|
+
### Pushers
|
|
12
|
+
|
|
13
|
+
- [Pushers](pushers.PUSHERS.md)
|
|
14
|
+
- [Fields](pushers.PUSHERS.fields.md)
|
|
15
|
+
- [Minimal configuration](pushers.PUSHERS.minimal-configuration.md)
|
|
16
|
+
- [Four step phases](pushers.PUSHERS.four-step-phases.md)
|
|
17
|
+
- [The two identities a push step reads off the item](pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md)
|
|
18
|
+
- [Ordinary result contract](pushers.PUSHERS.ordinary-result-contract.md)
|
|
19
|
+
- [Indirect pushers](pushers.PUSHERS.indirect-pushers.md)
|
|
20
|
+
- [Resolution, ordering, locks and retries](pushers.PUSHERS.resolution-ordering-locks-and-retries.md)
|
|
21
|
+
- [Association-transform routing](pushers.PUSHERS.association-transform-routing.md)
|
|
22
|
+
- [Expression roots differ from a puller](pushers.PUSHERS.expression-roots-differ-from-a-puller.md)
|
|
23
|
+
- [Placement contracts](pushers.PUSHERS.placement-contracts.md)
|
|
24
|
+
- [Placement: beforePushSteps](pushers.PUSHERS.placement-beforepushsteps.md)
|
|
25
|
+
- [Placement: pushSteps](pushers.PUSHERS.placement-pushsteps.md)
|
|
26
|
+
- [Placement: afterPushSteps](pushers.PUSHERS.placement-afterpushsteps.md)
|
|
27
|
+
- [Placement: finalSteps](pushers.PUSHERS.placement-finalsteps.md)
|
|
28
|
+
- [Placement: bulkPushers beforePushSteps](pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md)
|
|
29
|
+
- [Placement: bulkPushers pushSteps](pushers.PUSHERS.placement-bulkpushers-pushsteps.md)
|
|
30
|
+
- [Placement: bulkPushers afterPushSteps](pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md)
|
|
31
|
+
- [Worked example: direct push with dependency](pushers.PUSHERS.worked-example-direct-push-with-dependency.md)
|
|
32
|
+
- [Worked example: indirect push](pushers.PUSHERS.worked-example-indirect-push.md)
|
|
33
|
+
- [Best practices](pushers.PUSHERS.best-practices.md)
|
|
34
|
+
- [Troubleshooting](pushers.PUSHERS.troubleshooting.md)
|
|
35
|
+
- [Related](pushers.PUSHERS.related.md)
|
|
36
|
+
|
|
37
|
+
### PUSHER — push one stored item now
|
|
38
|
+
|
|
39
|
+
- [PUSHER — push one stored item now](steps.PUSHER.md)
|
|
40
|
+
|
|
41
|
+
### UPDATE_ITEM_STATUS — Update Item Status
|
|
42
|
+
|
|
43
|
+
- [UPDATE_ITEM_STATUS — Update Item Status](steps.UPDATE_ITEM_STATUS.md)
|
|
44
|
+
|
|
45
|
+
### UPDATE_ITEM_SYNC_PROCESS — Update Item Sync Process
|
|
46
|
+
|
|
47
|
+
- [UPDATE_ITEM_SYNC_PROCESS — Update Item Sync Process](steps.UPDATE_ITEM_SYNC_PROCESS.md)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Installing the HexaSync MCP server
|
|
2
|
+
|
|
3
|
+
If the `hexasync_*` tools are not available, install the server (and these skills) for every client at once:
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npx -y @beehexa/hexasync-ai-toolkit install --client all --scope user
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@latest`):
|
|
10
|
+
|
|
11
|
+
| Client | Registration |
|
|
12
|
+
| --- | --- |
|
|
13
|
+
| Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@latest` |
|
|
14
|
+
| Codex | `mcp_servers` in `~/.codex/config.toml` |
|
|
15
|
+
| Cursor | `mcpServers` in `~/.cursor/mcp.json` |
|
|
16
|
+
| Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
|
|
17
|
+
| pi | `mcpServers` in `~/.pi/agent/mcp.json` |
|
|
18
|
+
| OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@latest"]}'` |
|
|
19
|
+
| VS Code | `servers` in the user `mcp.json` |
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
{
|
|
23
|
+
"mcpServers": {
|
|
24
|
+
"hexasync-template-ide": {
|
|
25
|
+
"command": "npx",
|
|
26
|
+
"args": [
|
|
27
|
+
"-y",
|
|
28
|
+
"@beehexa/hexasync-template-ide-mcp@latest"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
On native Windows use `"command": "cmd", "args": ["/c", "npx", "-y", "@beehexa/hexasync-template-ide-mcp@latest"]`. Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
> Part of [Pushers](pushers.PUSHERS.md).
|
|
2
|
+
|
|
3
|
+
## Association-transform routing
|
|
4
|
+
|
|
5
|
+
A nonempty association `pusher.transformations` replaces the ordinary push: no phase list, no
|
|
6
|
+
`responseFilters` and no destination call run. It is unrelated to item transformations and to
|
|
7
|
+
`isIndirect`.
|
|
8
|
+
|
|
9
|
+
| Association field | Contract |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| `pusher.id` | Still required and validated |
|
|
12
|
+
| `pusher.transformations` | Ordered list; omitted/`null`/`[]` selects the ordinary push |
|
|
13
|
+
| `transformations[].objectId` | Required target task ID; a missing task fails with `PUSHER: There is no object <id>` |
|
|
14
|
+
| `transformations[].path` | JSONPath over a one-element array holding the resolved item; omitted/blank means `$[*]` |
|
|
15
|
+
|
|
16
|
+
Each entry selects rows from that same one-item array (entries are not chained), indexes them directly
|
|
17
|
+
into the target task, and enqueues them when the target has a pusher. After all entries the source item
|
|
18
|
+
is released **directly** with its internal GUID as destination ID, even if `isIndirect` is true, and
|
|
19
|
+
dependents are released. A failure does not undo earlier target writes and does not use the ordinary
|
|
20
|
+
error/retry write; a replay can repeat target indexing, so target keys must be stable.
|
|
21
|
+
|
|
22
|
+
An association that copies each source item into another task:
|
|
23
|
+
|
|
24
|
+
```yaml
|
|
25
|
+
objectAssociations:
|
|
26
|
+
"33333333-3333-4333-8333-333333333333":
|
|
27
|
+
table: { id: 44444444-4444-4444-8444-444444444444 }
|
|
28
|
+
pusher:
|
|
29
|
+
id: 11111111-1111-4111-8111-111111111111
|
|
30
|
+
transformations: # omitted, null or [] = ordinary push
|
|
31
|
+
- objectId: 55555555-5555-4555-8555-555555555555
|
|
32
|
+
path: '$[*]' # default when omitted or blank
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Use this route only for local fan-out. For a real destination, remove `transformations`; for
|
|
36
|
+
asynchronous destinations use the ordinary indirect push. See
|
|
37
|
+
[association ownership](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS).
|
|
38
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
> Part of [Pushers](pushers.PUSHERS.md).
|
|
2
|
+
|
|
3
|
+
## Best practices
|
|
4
|
+
|
|
5
|
+
- **Idempotent writes.** Decide create vs update from `item.__destination_id`; prefer a destination
|
|
6
|
+
upsert keyed by a stable external key when one exists. A pusher cannot guarantee exactly-once remote
|
|
7
|
+
creation: release, After, Final, cleanup or the connector restart can fail or repeat after the remote
|
|
8
|
+
write succeeded, and an item retry then runs the whole flow again.
|
|
9
|
+
- **Ambiguous failures.** After a timeout or a failure following the request, look the record up by its
|
|
10
|
+
stable key before creating again. Send that key with every create so the lookup is possible.
|
|
11
|
+
- **Avoid duplicate pushes.** Put exactly one destination write in `pushSteps`; never write to the
|
|
12
|
+
destination from Before, After or Final, and never re-send from After to "retry". Locks stop
|
|
13
|
+
concurrent local attempts only; use `customLockKey` to serialize items that update the same
|
|
14
|
+
destination record. Keep steps before the write in a phase side-effect free, because a connector
|
|
15
|
+
restart re-runs the phase from its root.
|
|
16
|
+
- **Honest results.** Derive `isSuccess` from the destination response and return the real `id` on
|
|
17
|
+
create. Constant success hides failures and saves bogus identities; an `isFailed`-only filter is
|
|
18
|
+
rejected.
|
|
19
|
+
- **Rate limits.** Let the connection handle 429 waits and authentication refresh; do not add sleep
|
|
20
|
+
loops or retry `next` cycles in step lists. An unaccepted HTTP status fails the step, which records
|
|
21
|
+
the error and schedules an item retry with Fibonacci backoff. Accept a business-error status only
|
|
22
|
+
when you parse it into `isFailed`/`message`, so the item is rejected and retried rather than spinning.
|
|
23
|
+
- **One classifier per destination call.** Turn status, thrown calls and invalid bodies into one
|
|
24
|
+
verdict with a single JSONata/Scriban expression, then branch once (IF + `Error`, or a
|
|
25
|
+
`isFailed`/`message` result); add a step only for a genuinely different action such as a lookup or
|
|
26
|
+
a fallback create ([Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once)).
|
|
27
|
+
- **Explicit request bodies.** Name every destination member and the snake_case column it comes
|
|
28
|
+
from (`orderNumber: '{{ item.order_number }}'`); never send the whole item
|
|
29
|
+
([explicit mapping for push](hexasync://docs/transformations/TRANSFORMATIONS/explicit-mapping-for-push)).
|
|
30
|
+
- **Avoid infinite loops.** A push must not change the item it is pushing in a way that marks it
|
|
31
|
+
Changed again (for example writing pushed values back into tracked columns from After), or every
|
|
32
|
+
release re-queues it. Keep `next` routing acyclic or bounded within a phase
|
|
33
|
+
([loop guards](hexasync://docs/routing/NEXT)). Association transforms targeting tasks that route back
|
|
34
|
+
to the source create the same cycle.
|
|
35
|
+
- **Indirect completion.** Use indirect mode only when a separate, verified completion signal exists,
|
|
36
|
+
otherwise items stay in Pushing forever.
|
|
37
|
+
- **Deterministic preparation.** Item transformations may run more than once per push; keep them pure.
|
|
38
|
+
|
package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
> Part of [Pushers](pushers.PUSHERS.md).
|
|
2
|
+
|
|
3
|
+
## Expression roots differ from a puller
|
|
4
|
+
|
|
5
|
+
| Root/member | Availability in ordinary phases |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `item` | Resolved/transformed item; populated before Before |
|
|
8
|
+
| `task` | Selected object/task definition |
|
|
9
|
+
| `dependencies` | Map of dependency key → list of entries with `item` and nested `dependencies`; empty when none resolve |
|
|
10
|
+
| `__related_tasks` | List initially containing the selected task |
|
|
11
|
+
| `pusher.definition` | Selected pusher definition |
|
|
12
|
+
| `pusher.options` | Option key → value; empty without options |
|
|
13
|
+
| `pusher.arguments` | Runtime arguments; empty without arguments |
|
|
14
|
+
| `pusher.before`, `pusher.history` | Start empty; Before outputs accumulate in both |
|
|
15
|
+
| `pusher.current` | Starts empty; Current outputs keyed by step key |
|
|
16
|
+
| `pusher.after`, `pusher.final` | Absent until a step in that phase succeeds |
|
|
17
|
+
| `_outputs` | Output map of the phase currently running; not an all-phase accumulator |
|
|
18
|
+
| `responseFilters` | Present in After and Final: raw merged filter result; empty if parsing was not reached |
|
|
19
|
+
| `runStart` | Stable milliseconds timestamp for this push |
|
|
20
|
+
| `_context` | Read-only wrapper of the initial context |
|
|
21
|
+
| `currentContext` | Legacy auxiliary root, initially empty; not the current phase output |
|
|
22
|
+
|
|
23
|
+
On entry to a phase `_outputs` can still show the previous phase until its first step succeeds; name
|
|
24
|
+
phases explicitly with `pusher.before/current/after/final`. There is no `pusher.lastToken`, no puller
|
|
25
|
+
paging root and no automatic `error` root. Shared language rules:
|
|
26
|
+
[runtime scope](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope).
|
|
27
|
+
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
> Part of [Pushers](pushers.PUSHERS.md).
|
|
2
|
+
|
|
3
|
+
## Fields
|
|
4
|
+
|
|
5
|
+
Paths are relative to one `pushers[]` entry. The entry is a closed object: only these fields are accepted.
|
|
6
|
+
|
|
7
|
+
| Path | Syntax | Required | Default |
|
|
8
|
+
| --- | --- | --- | --- |
|
|
9
|
+
| `id` | `id: <uuid>` | yes | — |
|
|
10
|
+
| `name` | `name: <string>` | yes | — |
|
|
11
|
+
| `description` | `description: <string \| null>` | no | none |
|
|
12
|
+
| `options` | `options: <Option[] \| null>` | no | none (`pusher.options` is empty) |
|
|
13
|
+
| `beforePushSteps` | `beforePushSteps: <Step[] \| null>` | no | none (no preparation) |
|
|
14
|
+
| `pushSteps` | `pushSteps: <Step[]>` (≥ 1 step) | yes | — |
|
|
15
|
+
| `afterPushSteps` | `afterPushSteps: <Step[] \| null>` | no | none (no postprocessing) |
|
|
16
|
+
| `finalSteps` | `finalSteps: <Step[] \| null>` | no | none (no final steps) |
|
|
17
|
+
| `responseFilters` | `responseFilters: <parser-group map>` | yes | — |
|
|
18
|
+
| `responseFilters.<group>.id` | `id: { expression: <expr> }` | no | stored `__destination_id` |
|
|
19
|
+
| `responseFilters.<group>.isSuccess` | `isSuccess: { expression: <expr> }` | yes, in at least one group | — (absent = false) |
|
|
20
|
+
| `responseFilters.<group>.isFailed` | `isFailed: { expression: <expr> }` | no | false |
|
|
21
|
+
| `responseFilters.<group>.message` | `message: { expression: <expr> }` | no | empty text |
|
|
22
|
+
| `responseFilters.<group>.isIndirect` | `isIndirect: { expression: <expr> }` | no | false |
|
|
23
|
+
|
|
24
|
+
`isIndirect`, `transformations` and `customLockKey` are **not** pusher fields; they belong to the
|
|
25
|
+
[association's `pusher` branch](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS). Nested step
|
|
26
|
+
keys (`key`, `displayType`, `data`, `rootStep`, `next`, error routing) follow the
|
|
27
|
+
[step envelope](hexasync://docs/steps/STEP-ENVELOPE) and [routing](hexasync://docs/routing/NEXT).
|
|
28
|
+
|
|
29
|
+
### id
|
|
30
|
+
|
|
31
|
+
Syntax: `id: <string>`
|
|
32
|
+
|
|
33
|
+
`id: <uuid>` — the identity a task references through `objectAssociations.<taskId>.pusher.id`. It must
|
|
34
|
+
resolve to a GUID after template compilation. There is no name-based fallback: an association that
|
|
35
|
+
names a missing ID finds no pusher. No default; required.
|
|
36
|
+
|
|
37
|
+
```yaml
|
|
38
|
+
pushers:
|
|
39
|
+
- id: 11111111-1111-4111-8111-111111111111 # required; no default
|
|
40
|
+
name: Create order
|
|
41
|
+
pushSteps:
|
|
42
|
+
- key: SEND
|
|
43
|
+
rootStep: true
|
|
44
|
+
displayType: API
|
|
45
|
+
connectorId: 22222222-2222-4222-8222-222222222222
|
|
46
|
+
data: { type: REST, method: POST, url: /orders, acceptHttpStatuses: { success: { expression: '^2\d\d$' } }, body: { sku: "{{ item.sku }}" } }
|
|
47
|
+
responseFilters:
|
|
48
|
+
scriban:
|
|
49
|
+
id: { expression: "{{ pusher.current.SEND.body.id }}" }
|
|
50
|
+
isSuccess: { expression: "{{ pusher.current.SEND.body.id != null }}" }
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### name
|
|
54
|
+
|
|
55
|
+
Syntax: `name: <string>`
|
|
56
|
+
|
|
57
|
+
`name: <string>` — display name shown to operators. It is not a reference identity: renaming a pusher
|
|
58
|
+
never breaks an association. No default; required.
|
|
59
|
+
|
|
60
|
+
```yaml
|
|
61
|
+
pushers:
|
|
62
|
+
- id: 11111111-1111-4111-8111-111111111111
|
|
63
|
+
name: Create or update order # required; display only
|
|
64
|
+
pushSteps:
|
|
65
|
+
- key: SEND
|
|
66
|
+
rootStep: true
|
|
67
|
+
displayType: API
|
|
68
|
+
connectorId: 22222222-2222-4222-8222-222222222222
|
|
69
|
+
data: { type: REST, method: POST, url: /orders, acceptHttpStatuses: { success: { expression: '^2\d\d$' } }, body: { sku: "{{ item.sku }}" } }
|
|
70
|
+
responseFilters:
|
|
71
|
+
scriban:
|
|
72
|
+
id: { expression: "{{ pusher.current.SEND.body.id }}" }
|
|
73
|
+
isSuccess: { expression: "{{ pusher.current.SEND.body.id != null }}" }
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### description
|
|
77
|
+
|
|
78
|
+
Syntax: `description: <string | null>`
|
|
79
|
+
|
|
80
|
+
`description: <string | null>` — free-text note for authors. Omitted and `null` are equivalent; it
|
|
81
|
+
never changes execution.
|
|
82
|
+
|
|
83
|
+
```yaml
|
|
84
|
+
pushers:
|
|
85
|
+
- id: 11111111-1111-4111-8111-111111111111
|
|
86
|
+
name: Create order
|
|
87
|
+
description: Creates new orders; updates when a destination ID exists. # optional; no default
|
|
88
|
+
pushSteps:
|
|
89
|
+
- key: SEND
|
|
90
|
+
rootStep: true
|
|
91
|
+
displayType: API
|
|
92
|
+
connectorId: 22222222-2222-4222-8222-222222222222
|
|
93
|
+
data: { type: REST, method: POST, url: /orders, acceptHttpStatuses: { success: { expression: '^2\d\d$' } }, body: { sku: "{{ item.sku }}" } }
|
|
94
|
+
responseFilters:
|
|
95
|
+
scriban:
|
|
96
|
+
id: { expression: "{{ pusher.current.SEND.body.id }}" }
|
|
97
|
+
isSuccess: { expression: "{{ pusher.current.SEND.body.id != null }}" }
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### options
|
|
101
|
+
|
|
102
|
+
Syntax: `options: <list of object | null>`
|
|
103
|
+
|
|
104
|
+
`options: <Option[] | null>` — key/value settings exposed to every phase as `pusher.options.<key>`,
|
|
105
|
+
populated before Before runs. Each entry needs `key` and `value`; the pusher reads `value` only and
|
|
106
|
+
does **not** fall back to an option's `defaultValue`. Duplicate keys fail when the dictionary is
|
|
107
|
+
built. Omitted, `null` and `[]` all give an empty `pusher.options`. The option shape is shared with
|
|
108
|
+
[connections](hexasync://docs/connections/CONNECTIONS).
|
|
109
|
+
|
|
110
|
+
A list variant; steps read the value as `{{ pusher.options.warehouse }}`:
|
|
111
|
+
|
|
112
|
+
```yaml
|
|
113
|
+
pushers:
|
|
114
|
+
- id: 11111111-1111-4111-8111-111111111111
|
|
115
|
+
name: Create order
|
|
116
|
+
options: # optional; omitted, null or [] means pusher.options is empty
|
|
117
|
+
- key: warehouse
|
|
118
|
+
value: MAIN
|
|
119
|
+
pushSteps:
|
|
120
|
+
- key: SEND
|
|
121
|
+
rootStep: true
|
|
122
|
+
displayType: API
|
|
123
|
+
connectorId: 22222222-2222-4222-8222-222222222222
|
|
124
|
+
data: { type: REST, method: POST, url: /orders, acceptHttpStatuses: { success: { expression: '^2\d\d$' } }, body: { sku: "{{ item.sku }}", warehouse: "{{ pusher.options.warehouse }}" } }
|
|
125
|
+
responseFilters:
|
|
126
|
+
scriban:
|
|
127
|
+
id: { expression: "{{ pusher.current.SEND.body.id }}" }
|
|
128
|
+
isSuccess: { expression: "{{ pusher.current.SEND.body.id != null }}" }
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Use options for values an operator may change per deployment; hardcode values that are part of the
|
|
132
|
+
destination contract.
|
|
133
|
+
|
|
134
|
+
### beforePushSteps
|
|
135
|
+
|
|
136
|
+
Syntax: `beforePushSteps: <list of object | null>`
|
|
137
|
+
|
|
138
|
+
`beforePushSteps: <Step[] | null>` — optional preparation phase. Runs after item resolution,
|
|
139
|
+
dependency resolution and item transformations, before `pushSteps`. Outputs accumulate in
|
|
140
|
+
`pusher.before` (and `pusher.history`); they are **not** parsed as the push result. Omitted, `null`
|
|
141
|
+
and `[]` all mean no preparation. An escaping error skips `pushSteps`/`afterPushSteps` and attempts
|
|
142
|
+
`finalSteps`. Details: [Placement: beforePushSteps](pushers.PUSHERS.placement-beforepushsteps.md).
|
|
143
|
+
|
|
144
|
+
A preparation step whose output the send step reads:
|
|
145
|
+
|
|
146
|
+
```yaml
|
|
147
|
+
pushers:
|
|
148
|
+
- id: 11111111-1111-4111-8111-111111111111
|
|
149
|
+
name: Create order
|
|
150
|
+
beforePushSteps: # optional; omitted, null or [] runs nothing
|
|
151
|
+
- key: PREPARE
|
|
152
|
+
rootStep: true
|
|
153
|
+
displayType: Scriban
|
|
154
|
+
data:
|
|
155
|
+
sku: { expression: "{{ item.sku | string.upcase }}" }
|
|
156
|
+
pushSteps:
|
|
157
|
+
- key: SEND
|
|
158
|
+
rootStep: true
|
|
159
|
+
displayType: API
|
|
160
|
+
connectorId: 22222222-2222-4222-8222-222222222222
|
|
161
|
+
data: { type: REST, method: POST, url: /orders, acceptHttpStatuses: { success: { expression: '^2\d\d$' } }, body: { sku: "{{ pusher.before.PREPARE.sku }}" } }
|
|
162
|
+
responseFilters:
|
|
163
|
+
scriban:
|
|
164
|
+
id: { expression: "{{ pusher.current.SEND.body.id }}" }
|
|
165
|
+
isSuccess: { expression: "{{ pusher.current.SEND.body.id != null }}" }
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### pushSteps
|
|
169
|
+
|
|
170
|
+
Syntax: `pushSteps: <list of object>`
|
|
171
|
+
|
|
172
|
+
`pushSteps: <Step[]>` — the destination operation (the "Current" phase). Required, with at least one
|
|
173
|
+
step. Outputs accumulate in `pusher.current`, keyed by step key, and **only this map** is parsed by
|
|
174
|
+
the pusher `responseFilters`. `next` resolves inside this list only. No default.
|
|
175
|
+
Details: [Placement: pushSteps](pushers.PUSHERS.placement-pushsteps.md).
|
|
176
|
+
|
|
177
|
+
A single create request; the step-level filter extracts the returned ID:
|
|
178
|
+
|
|
179
|
+
```yaml
|
|
180
|
+
pushers:
|
|
181
|
+
- id: 11111111-1111-4111-8111-111111111111
|
|
182
|
+
name: Create order
|
|
183
|
+
pushSteps: # required; at least one step
|
|
184
|
+
- key: SEND
|
|
185
|
+
rootStep: true
|
|
186
|
+
displayType: API
|
|
187
|
+
connectorId: 22222222-2222-4222-8222-222222222222
|
|
188
|
+
data:
|
|
189
|
+
type: REST
|
|
190
|
+
method: POST
|
|
191
|
+
url: /orders
|
|
192
|
+
acceptHttpStatuses:
|
|
193
|
+
success: { expression: '^2\d\d$' }
|
|
194
|
+
body: { sku: "{{ item.sku }}" }
|
|
195
|
+
responseFilters:
|
|
196
|
+
jsonpath:
|
|
197
|
+
id:
|
|
198
|
+
expression: |-
|
|
199
|
+
type: eval
|
|
200
|
+
expression: $.id
|
|
201
|
+
responseFilters:
|
|
202
|
+
scriban:
|
|
203
|
+
id: { expression: "{{ pusher.current.SEND.id }}" }
|
|
204
|
+
isSuccess: { expression: '{{ pusher.current.SEND.id != null && pusher.current.SEND.id != "" }}' }
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### afterPushSteps
|
|
208
|
+
|
|
209
|
+
Syntax: `afterPushSteps: <list of object | null>`
|
|
210
|
+
|
|
211
|
+
`afterPushSteps: <Step[] | null>` — optional postprocessing. Runs **only** after the result was
|
|
212
|
+
accepted, the item released and eligible dependents released. Receives the root `responseFilters` map
|
|
213
|
+
(raw merged filter values) and all earlier phase outputs; outputs accumulate in `pusher.after`. Omitted,
|
|
214
|
+
`null` and `[]` all mean no postprocessing. A failure here fails the invocation and attempts
|
|
215
|
+
`finalSteps`, but does **not** undo the saved destination ID or status.
|
|
216
|
+
Details: [Placement: afterPushSteps](pushers.PUSHERS.placement-afterpushsteps.md).
|
|
217
|
+
|
|
218
|
+
A projection of the accepted ID:
|
|
219
|
+
|
|
220
|
+
```yaml
|
|
221
|
+
pushers:
|
|
222
|
+
- id: 11111111-1111-4111-8111-111111111111
|
|
223
|
+
name: Create order
|
|
224
|
+
pushSteps:
|
|
225
|
+
- key: SEND
|
|
226
|
+
rootStep: true
|
|
227
|
+
displayType: API
|
|
228
|
+
connectorId: 22222222-2222-4222-8222-222222222222
|
|
229
|
+
data: { type: REST, method: POST, url: /orders, acceptHttpStatuses: { success: { expression: '^2\d\d$' } }, body: { sku: "{{ item.sku }}" } }
|
|
230
|
+
responseFilters:
|
|
231
|
+
scriban:
|
|
232
|
+
id: { expression: "{{ pusher.current.SEND.body.id }}" }
|
|
233
|
+
isSuccess: { expression: "{{ pusher.current.SEND.body.id != null }}" }
|
|
234
|
+
afterPushSteps: # optional; omitted, null or [] runs nothing
|
|
235
|
+
- key: CAPTURE_ACCEPTED
|
|
236
|
+
rootStep: true
|
|
237
|
+
displayType: Scriban
|
|
238
|
+
data:
|
|
239
|
+
destinationId: { expression: "{{ responseFilters.id }}" }
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
### finalSteps
|
|
243
|
+
|
|
244
|
+
Syntax: `finalSteps: <list of object | null>`
|
|
245
|
+
|
|
246
|
+
`finalSteps: <Step[] | null>` — optional list **attempted** at the end of every ordinary flow, on
|
|
247
|
+
success and on any escaping Before/Current/result/release/After error. There is no separate
|
|
248
|
+
success/error list. It is not entered for early exits (lock not acquired, missing/ignored/invalid
|
|
249
|
+
item) or for association-transform routing. Outputs accumulate in `pusher.final`; they cannot turn a
|
|
250
|
+
rejected push into success. Omitted, `null` and `[]` all mean no final steps.
|
|
251
|
+
Details: [Placement: finalSteps](pushers.PUSHERS.placement-finalsteps.md).
|
|
252
|
+
|
|
253
|
+
A projection that does not depend on the push result:
|
|
254
|
+
|
|
255
|
+
```yaml
|
|
256
|
+
pushers:
|
|
257
|
+
- id: 11111111-1111-4111-8111-111111111111
|
|
258
|
+
name: Create order
|
|
259
|
+
pushSteps:
|
|
260
|
+
- key: SEND
|
|
261
|
+
rootStep: true
|
|
262
|
+
displayType: API
|
|
263
|
+
connectorId: 22222222-2222-4222-8222-222222222222
|
|
264
|
+
data: { type: REST, method: POST, url: /orders, acceptHttpStatuses: { success: { expression: '^2\d\d$' } }, body: { sku: "{{ item.sku }}" } }
|
|
265
|
+
responseFilters:
|
|
266
|
+
scriban:
|
|
267
|
+
id: { expression: "{{ pusher.current.SEND.body.id }}" }
|
|
268
|
+
isSuccess: { expression: "{{ pusher.current.SEND.body.id != null }}" }
|
|
269
|
+
finalSteps: # optional; omitted, null or [] runs nothing
|
|
270
|
+
- key: FINAL_NOTE
|
|
271
|
+
rootStep: true
|
|
272
|
+
displayType: Scriban
|
|
273
|
+
data:
|
|
274
|
+
sku: { expression: "{{ item.sku }}" }
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
### responseFilters
|
|
278
|
+
|
|
279
|
+
Syntax: `responseFilters: <object>`
|
|
280
|
+
|
|
281
|
+
`responseFilters: <parser-group map>` — maps the `pushSteps` output map (`pusher.current`) to the
|
|
282
|
+
five result names of the [ordinary result contract](pushers.PUSHERS.ordinary-result-contract.md). Groups: `jsonata`,
|
|
283
|
+
`jsonpath`, `xpath`, `scriban`, `scriban_xml`, `regex_replace`, `base64`, `raw_text`; each maps a result
|
|
284
|
+
name to a leaf with `expression`. Required, and at least one group must define `isSuccess`. No default.
|
|
285
|
+
|
|
286
|
+
Groups other than `scriban` run first and merge their outputs (a later group overwrites an earlier
|
|
287
|
+
same-named result; do not rely on a fixed order between them). `scriban` runs **last**, can read earlier
|
|
288
|
+
results through `filters.<group>`, and its same-named outputs win. Leaf syntax and parser details:
|
|
289
|
+
[response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS).
|
|
290
|
+
|
|
291
|
+
A single `scriban` group — the usual choice:
|
|
292
|
+
|
|
293
|
+
```yaml
|
|
294
|
+
pushers:
|
|
295
|
+
- id: 11111111-1111-4111-8111-111111111111
|
|
296
|
+
name: Create order
|
|
297
|
+
pushSteps:
|
|
298
|
+
- key: SEND
|
|
299
|
+
rootStep: true
|
|
300
|
+
displayType: API
|
|
301
|
+
connectorId: 22222222-2222-4222-8222-222222222222
|
|
302
|
+
data: { type: REST, method: POST, url: /orders, acceptHttpStatuses: { success: { expression: '^2\d\d$' } }, body: { sku: "{{ item.sku }}" } }
|
|
303
|
+
responseFilters: # required; at least one group must define isSuccess
|
|
304
|
+
scriban:
|
|
305
|
+
id: { expression: "{{ pusher.current.SEND.body.id }}" }
|
|
306
|
+
isSuccess: { expression: "{{ pusher.current.SEND.body.id != null }}" }
|
|
307
|
+
message: { expression: "Pushed {{ item.sku }}" }
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
Two groups — `jsonata` extracts, `scriban` runs last and decides success from the extracted value:
|
|
311
|
+
|
|
312
|
+
```yaml
|
|
313
|
+
pushers:
|
|
314
|
+
- id: 11111111-1111-4111-8111-111111111111
|
|
315
|
+
name: Create order
|
|
316
|
+
pushSteps:
|
|
317
|
+
- key: SEND
|
|
318
|
+
rootStep: true
|
|
319
|
+
displayType: API
|
|
320
|
+
connectorId: 22222222-2222-4222-8222-222222222222
|
|
321
|
+
data: { type: REST, method: POST, url: /orders, acceptHttpStatuses: { success: { expression: '^2\d\d$' } }, body: { sku: "{{ item.sku }}" } }
|
|
322
|
+
responseFilters:
|
|
323
|
+
jsonata:
|
|
324
|
+
id: { expression: SEND.body.id }
|
|
325
|
+
isSuccess: { expression: "false" }
|
|
326
|
+
scriban:
|
|
327
|
+
isSuccess: { expression: '{{ filters.jsonata.id != null && filters.jsonata.id != "" }}' } # overwrites the jsonata isSuccess
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
Prefer one `scriban` group unless a value is easier to extract with another parser; mixing groups that
|
|
331
|
+
define the same name makes precedence harder to read.
|
|
332
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
> Part of [Pushers](pushers.PUSHERS.md).
|
|
2
|
+
|
|
3
|
+
## Four step phases
|
|
4
|
+
|
|
5
|
+
| Phase | Field | Runs |
|
|
6
|
+
| --- | --- | --- |
|
|
7
|
+
| Before | `beforePushSteps` | After item/dependency resolution and item transformations |
|
|
8
|
+
| Current | `pushSteps` | Destination operation; only this phase's outputs are parsed by `responseFilters` |
|
|
9
|
+
| After | `afterPushSteps` | Only after acceptance, item release and eligible dependency release |
|
|
10
|
+
| Final | `finalSteps` | Attempted at the end of the ordinary flow, on success or escaping error |
|
|
11
|
+
|
|
12
|
+
Each phase is its own traversal: mark its entry with `rootStep: true`; `next` cannot jump into another
|
|
13
|
+
phase, and an unresolved nonempty target fails instead of running an unrelated step. A pusher has no
|
|
14
|
+
`steps` or `onErrorSteps` list; per-step recovery follows the
|
|
15
|
+
[shared workflow contract](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing).
|
|
16
|
+
Association-transform routing bypasses **all four** lists, including Final.
|
|
17
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
> Part of [Pushers](pushers.PUSHERS.md).
|
|
2
|
+
|
|
3
|
+
## Indirect pushers
|
|
4
|
+
|
|
5
|
+
Direct and indirect pushers run the **same** four phases and connector workflow; indirect does not skip
|
|
6
|
+
the connector or batch anything. The difference is the status left after an accepted push:
|
|
7
|
+
|
|
8
|
+
| Mode | After acceptance | Choose when |
|
|
9
|
+
| --- | --- | --- |
|
|
10
|
+
| Direct (default) | Changed bit cleared; item is done | The accepted response proves the destination write is complete |
|
|
11
|
+
| Indirect | Changed cleared **and** Pushing (`16`) set | The destination only acknowledges; completion is confirmed later |
|
|
12
|
+
|
|
13
|
+
The item is indirect when **any** of these is true:
|
|
14
|
+
|
|
15
|
+
- the selected association has `pusher.isIndirect: true` (default `false`);
|
|
16
|
+
- the merged result `isIndirect` renders `true`.
|
|
17
|
+
|
|
18
|
+
Set the flag on the association, or derive it in `responseFilters`; `pushers[]` has no `isIndirect`
|
|
19
|
+
field. See [object associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS) and
|
|
20
|
+
[task statuses](hexasync://docs/tasks/TASKS-AND-TABLES).
|
|
21
|
+
|
|
22
|
+
An association that makes every push of this task indirect:
|
|
23
|
+
|
|
24
|
+
```yaml
|
|
25
|
+
objectAssociations:
|
|
26
|
+
"33333333-3333-4333-8333-333333333333":
|
|
27
|
+
table: { id: 44444444-4444-4444-8444-444444444444 }
|
|
28
|
+
pusher:
|
|
29
|
+
id: 11111111-1111-4111-8111-111111111111
|
|
30
|
+
isIndirect: true # defaults to false (direct)
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
A successful invocation record of an indirect push is not proof that the destination finished. Clear
|
|
34
|
+
Pushing only from a separate workflow that has confirmed completion (see
|
|
35
|
+
[Worked example: indirect push](pushers.PUSHERS.worked-example-indirect-push.md)).
|
|
36
|
+
|