@beehexa/hexasync-ai-toolkit 0.0.0-stage → 2610.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +31 -0
- package/.claude-plugin/plugin.json +19 -0
- package/.codex-plugin/plugin.json +37 -0
- package/.cursor-plugin/mcp.json +12 -0
- package/.cursor-plugin/plugin.json +20 -0
- package/.mcp.json +11 -0
- package/README.md +46 -2
- package/dist/cli.js +2922 -0
- package/gemini-extension.json +14 -0
- package/openclaw.extension.mjs +9 -0
- package/openclaw.plugin.json +14 -0
- package/package.json +69 -3
- package/plugin.json +21 -0
- package/skills/hexasync-connections/SKILL.md +36 -0
- package/skills/hexasync-connections/references/INDEX.md +33 -0
- package/skills/hexasync-connections/references/INSTALL.md +35 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.authentication-and-setup-steps.md +64 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +96 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.compiled-connector-hooks.md +23 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-authentication.md +36 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-rate-limiting.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.fields.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +54 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +84 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.never-invent-a-systemcode.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +16 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +9 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.resolution-and-transport-scope.md +8 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +22 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-collection-both-accepted.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-provider-with-defined-precedence.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.unsupported-authentication.md +26 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.untyped-options-generic-validity-is-not-provider-completeness.md +192 -0
- package/skills/hexasync-error-handling/SKILL.md +47 -0
- package/skills/hexasync-error-handling/references/INDEX.md +22 -0
- package/skills/hexasync-error-handling/references/INSTALL.md +35 -0
- package/skills/hexasync-error-handling/references/routing.NEXT.md +246 -0
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +139 -0
- package/skills/hexasync-error-handling/references/steps.Error.md +296 -0
- package/skills/hexasync-expressions/SKILL.md +53 -0
- package/skills/hexasync-expressions/references/INDEX.md +45 -0
- package/skills/hexasync-expressions/references/INSTALL.md +35 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +41 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +10 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +89 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +28 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +47 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +21 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +44 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +5 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +110 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md +17 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md +19 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md +13 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md +45 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +27 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md +15 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md +8 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md +23 -0
- package/skills/hexasync-expressions/references/steps.JSONata.md +200 -0
- package/skills/hexasync-expressions/references/steps.Liquid.md +95 -0
- package/skills/hexasync-expressions/references/steps.Scriban.md +156 -0
- package/skills/hexasync-field-mapping/SKILL.md +60 -0
- package/skills/hexasync-field-mapping/references/INDEX.md +54 -0
- package/skills/hexasync-field-mapping/references/INSTALL.md +35 -0
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +62 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-metrics-reports/SKILL.md +55 -0
- package/skills/hexasync-metrics-reports/references/INDEX.md +41 -0
- package/skills/hexasync-metrics-reports/references/INSTALL.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.best-practices.md +13 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.choosing-a-scoremode.md +44 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.contract.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.digest-message-templates.md +31 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.facet-properties.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.fields.md +551 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.health-scores.md +69 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.md +20 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +57 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +574 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +9 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.sensible-configuration.md +30 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.severity-scoring.md +89 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.syntax.md +18 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.worked-example-from-rows-to-health-score.md +108 -0
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +460 -0
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +171 -0
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +400 -0
- package/skills/hexasync-pullers/SKILL.md +44 -0
- package/skills/hexasync-pullers/references/INDEX.md +50 -0
- package/skills/hexasync-pullers/references/INSTALL.md +35 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +26 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +52 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +12 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.error-and-final-handling.md +10 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.generalisation.md +17 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.md +36 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +77 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +49 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.paging-is-the-authors-job.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +23 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +56 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +43 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +6 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-finalsteps.md +48 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +66 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +46 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.probe-discipline.md +13 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +561 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +88 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +11 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.stamp--sweep.md +21 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.symptom--cause--rule.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +19 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md +28 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +15 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +74 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-opaque-token-api.md +14 -0
- package/skills/hexasync-pullers/references/steps.PULLER.md +187 -0
- package/skills/hexasync-pushers/SKILL.md +60 -0
- package/skills/hexasync-pushers/references/INDEX.md +47 -0
- package/skills/hexasync-pushers/references/INSTALL.md +35 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +27 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +332 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +17 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +36 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +85 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +45 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.ordinary-result-contract.md +136 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-afterpushsteps.md +34 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +33 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md +46 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-pushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +99 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-pushsteps.md +50 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +56 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md +18 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.troubleshooting.md +16 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +66 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-indirect-push.md +35 -0
- package/skills/hexasync-pushers/references/steps.PUSHER.md +238 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +201 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +359 -0
- package/skills/hexasync-query-dsl/SKILL.md +67 -0
- package/skills/hexasync-query-dsl/references/INDEX.md +60 -0
- package/skills/hexasync-query-dsl/references/INSTALL.md +35 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +6 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +48 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +123 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.md +25 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +80 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +54 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +52 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +60 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.md +16 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +44 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +87 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +85 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.property-reference.md +428 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md +363 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +104 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.sensible-configuration.md +24 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +57 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +102 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +91 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.md +10 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +95 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +39 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +9 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +141 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +510 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +491 -0
- package/skills/hexasync-query-dsl/references/steps.SQL.md +362 -0
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +315 -0
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +44 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +35 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.contract.md +6 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +124 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.md +15 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +73 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +9 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +324 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.sensible-configuration.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.shape.md +108 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.syntax.md +33 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +10 -0
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +234 -0
- package/skills/hexasync-steps-api-http/SKILL.md +61 -0
- package/skills/hexasync-steps-api-http/references/INDEX.md +73 -0
- package/skills/hexasync-steps-api-http/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.exact-authored-shape.md +37 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +13 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md +60 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +49 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md +18 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +14 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-examples.md +77 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-groups.md +203 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +80 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.status-narrowing.md +29 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md +17 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.troubleshooting.md +13 -0
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +246 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +44 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md +43 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-status.md +37 -0
- package/skills/hexasync-steps-api-http/references/steps.API.best-practices.md +14 -0
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +64 -0
- package/skills/hexasync-steps-api-http/references/steps.API.curl-request-intake.md +31 -0
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +457 -0
- package/skills/hexasync-steps-api-http/references/steps.API.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.API.public-webhook-binding.md +17 -0
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +12 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-builders.md +206 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md +13 -0
- package/skills/hexasync-steps-api-http/references/steps.API.sensitive-headers-and-diagnostic-trail.md +25 -0
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +103 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.connection-binding.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md +76 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.execution-budgets.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.flow-entry.md +8 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.md +22 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +79 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md +19 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +300 -0
- package/skills/hexasync-steps-control-data/SKILL.md +59 -0
- package/skills/hexasync-steps-control-data/references/INDEX.md +133 -0
- package/skills/hexasync-steps-control-data/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +101 -0
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +80 -0
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +221 -0
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +87 -0
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +303 -0
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +475 -0
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +323 -0
- package/skills/hexasync-steps-control-data/references/steps.End.md +100 -0
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +167 -0
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +88 -0
- package/skills/hexasync-steps-control-data/references/steps.IF.md +284 -0
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +170 -0
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +175 -0
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +146 -0
- package/skills/hexasync-steps-control-data/references/steps.OData.md +133 -0
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +274 -0
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +126 -0
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +264 -0
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +164 -0
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +180 -0
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +124 -0
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +255 -0
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +168 -0
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +207 -0
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +194 -0
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +253 -0
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +247 -0
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +149 -0
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +172 -0
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +78 -0
- package/skills/hexasync-tables-tasks-objects/SKILL.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +78 -0
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.authoring-dependencies.md +80 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.best-practices-and-pitfalls.md +22 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +430 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +340 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +88 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +27 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +37 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +179 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +31 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +26 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +52 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +55 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +24 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.md +64 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +32 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +8 -0
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.md +62 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +357 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +14 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +44 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.systemcolumns-presentation.md +99 -0
- package/skills/hexasync-templates/SKILL.md +67 -0
- package/skills/hexasync-templates/references/AI-INDEX.md +125 -0
- package/skills/hexasync-templates/references/INDEX.md +73 -0
- package/skills/hexasync-templates/references/INSTALL.md +35 -0
- package/skills/hexasync-templates/references/KB-INDEX.md +128 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composition-fields.md +44 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.deployment-descriptor-retirement-and-current-composition.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.md +32 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +34 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +54 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.author.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md +356 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.contributors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.creationsteps.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.databasename.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.description.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.externals.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md +101 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md +238 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md +114 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.health_check_worker.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md +148 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.integration_app_management.md +115 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.jsonata--liquid.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +109 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.nextbranch-fields.md +93 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.output-fields.md +82 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.read_queries.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md +80 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.select_google_drive.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.single_choice_form--multiple_choice_form.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +233 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md +79 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.id.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.name.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.noschedules.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +23 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.recommendations.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.thumbnail.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.variables.md +16 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +29 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +21 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +5 -0
- package/skills/hexasync-transformations/SKILL.md +51 -0
- package/skills/hexasync-transformations/references/INDEX.md +40 -0
- package/skills/hexasync-transformations/references/INSTALL.md +35 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-validations/SKILL.md +52 -0
- package/skills/hexasync-validations/references/INDEX.md +27 -0
- package/skills/hexasync-validations/references/INSTALL.md +35 -0
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +196 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md +5 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.best-practices.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.composing-rules.md +37 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md +33 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +118 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +27 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +57 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.metadata-members.md +134 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.operators.md +406 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.troubleshooting.md +13 -0
- package/skills/hexasync-webhooks/SKILL.md +62 -0
- package/skills/hexasync-webhooks/references/INDEX.md +46 -0
- package/skills/hexasync-webhooks/references/INSTALL.md +35 -0
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +130 -0
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +259 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +206 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +62 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.message-shape.md +29 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +59 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +72 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +10 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.routing-and-boundary-ownership.md +30 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.shape.md +37 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.datafilter.md +68 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +268 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.id-target.md +21 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchfilter-and-matchpattern.md +77 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchremovefilter-and-matchremovepattern.md +41 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.md +20 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectid-deprecated.md +25 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectids.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +67 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.rejected-target-fields-finalsteps-and-responsefilters.md +8 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.troubleshooting.md +17 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.webhook-properties.md +117 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.worked-example-webhook-direct-index-plus-steps.md +71 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
# `ENQUEUER` — Enqueuer
|
|
2
|
+
|
|
3
|
+
> Addressable through MCP as **`hexasync://docs/steps/ENQUEUER`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`ENQUEUER` places stored rows of an existing task on that task's processing queue, so a pusher delivers them later; it does not push anything itself. You select rows either by their stored `__id` values (`itemIds`) or with all-item mode (`enqueueAll: true`). Every normal return publishes `_outputs.<KEY> = {}` — there is no count or delivery receipt. Place it in an executed workflow `steps` list, typically right after a step that saves rows; shared envelope behavior (provider vs displayType, data vs input, arguments, `onError`, `rootStep`, `next`) is described in [the step envelope](hexasync://docs/steps/STEP-ENVELOPE).
|
|
8
|
+
|
|
9
|
+
### Syntax
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
steps:
|
|
13
|
+
- key: QUEUE # required, unique step key
|
|
14
|
+
displayType: ENQUEUER # required discriminator
|
|
15
|
+
data:
|
|
16
|
+
objectId: 00000000-0000-0000-0000-000000000001 # required: literal task id
|
|
17
|
+
itemIds: '[_outputs.SAVE.saved_ids[]]' # required: GUID array or JSONata string; [] with enqueueAll
|
|
18
|
+
enqueueAll: false # optional, defaults to false
|
|
19
|
+
drainToEnd: false # optional, defaults to false (all-item mode only)
|
|
20
|
+
forceEnqueue: 'true' # optional; only the string 'true' forces; omit to not force
|
|
21
|
+
priority: 10 # optional integer; defaults to the task's priority
|
|
22
|
+
next: null
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### When to use
|
|
26
|
+
|
|
27
|
+
- Use after saving rows to queue exactly the rows that changed, so delivery happens asynchronously and in priority order.
|
|
28
|
+
- Use all-item mode for a scheduled or manual re-queue of everything eligible in a task (backfill, recovery after an outage).
|
|
29
|
+
- Do not use to change row statuses for other reasons — use [UPDATE_TASK_DATA_STATUS](hexasync://docs/steps/UPDATE_TASK_DATA_STATUS#contract).
|
|
30
|
+
- Do not use when you need the delivery result in the same workflow; queueing only schedules work.
|
|
31
|
+
|
|
32
|
+
### Sensible configuration
|
|
33
|
+
|
|
34
|
+
Queue the IDs returned by the preceding save. Nothing is queued unless the task has an associated pusher and an enabled queue scheduler.
|
|
35
|
+
|
|
36
|
+
```yaml
|
|
37
|
+
steps:
|
|
38
|
+
- key: SAVE_ORDERS
|
|
39
|
+
rootStep: true
|
|
40
|
+
displayType: SAVE_TASK_DATA
|
|
41
|
+
data:
|
|
42
|
+
taskId: 00000000-0000-0000-0000-000000000001
|
|
43
|
+
items: '{{ _outputs.LOAD_ORDERS.items }}'
|
|
44
|
+
next: QUEUE_ORDERS
|
|
45
|
+
- key: QUEUE_ORDERS
|
|
46
|
+
displayType: ENQUEUER
|
|
47
|
+
data:
|
|
48
|
+
objectId: 00000000-0000-0000-0000-000000000001
|
|
49
|
+
itemIds: '[_outputs.SAVE_ORDERS.saved_ids[]]'
|
|
50
|
+
next: null
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Fields
|
|
54
|
+
|
|
55
|
+
### `data.objectId`
|
|
56
|
+
|
|
57
|
+
Syntax: `objectId: <string>`
|
|
58
|
+
|
|
59
|
+
`objectId: <string>` — required; no default.
|
|
60
|
+
|
|
61
|
+
The id (GUID) of the task whose rows are queued. It is read literally — not rendered as an expression — so write the GUID itself. A missing or malformed value fails the step before anything else happens.
|
|
62
|
+
|
|
63
|
+
```yaml
|
|
64
|
+
steps:
|
|
65
|
+
- key: QUEUE
|
|
66
|
+
displayType: ENQUEUER
|
|
67
|
+
data:
|
|
68
|
+
objectId: 00000000-0000-0000-0000-000000000001 # required; no default; literal GUID
|
|
69
|
+
itemIds: [00000000-0000-0000-0000-000000000002]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### `data.itemIds`
|
|
73
|
+
|
|
74
|
+
Syntax: `itemIds: <string | list of any>`
|
|
75
|
+
|
|
76
|
+
`itemIds: <array | string>` — required by the schema.
|
|
77
|
+
|
|
78
|
+
The stored row ids (`__id`) to queue, not business keys. Forms:
|
|
79
|
+
|
|
80
|
+
- **GUID array** — a literal list of stored ids.
|
|
81
|
+
- **JSONata string** — first rendered as Scriban, then evaluated as a plain JSONata program (no `$()` wrapper) against the current context; it must evaluate to an array of GUIDs.
|
|
82
|
+
- **`[]`** — nothing to queue in selection mode; the placeholder to use with `enqueueAll: true`.
|
|
83
|
+
|
|
84
|
+
`itemIds` is evaluated even in all-item mode, so an invalid expression fails the step there too.
|
|
85
|
+
|
|
86
|
+
```yaml
|
|
87
|
+
steps:
|
|
88
|
+
- key: QUEUE_LITERAL
|
|
89
|
+
displayType: ENQUEUER
|
|
90
|
+
data:
|
|
91
|
+
objectId: 00000000-0000-0000-0000-000000000001
|
|
92
|
+
itemIds: [00000000-0000-0000-0000-000000000002, 00000000-0000-0000-0000-000000000003] # required; no default
|
|
93
|
+
---
|
|
94
|
+
steps:
|
|
95
|
+
- key: QUEUE_EXPRESSION
|
|
96
|
+
displayType: ENQUEUER
|
|
97
|
+
data:
|
|
98
|
+
objectId: 00000000-0000-0000-0000-000000000001
|
|
99
|
+
itemIds: '[_outputs.SAVE.saved_ids[]]' # JSONata array constructor
|
|
100
|
+
---
|
|
101
|
+
steps:
|
|
102
|
+
- key: QUEUE_ALL
|
|
103
|
+
displayType: ENQUEUER
|
|
104
|
+
data:
|
|
105
|
+
objectId: 00000000-0000-0000-0000-000000000001
|
|
106
|
+
itemIds: [] # ignored in all-item mode
|
|
107
|
+
enqueueAll: true
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Choose the literal array for fixed ids, the expression for ids produced by earlier steps (wrap it in `[ ... ]` so zero or one result still yields an array), and `[]` with all-item mode.
|
|
111
|
+
|
|
112
|
+
### `data.enqueueAll`
|
|
113
|
+
|
|
114
|
+
Syntax: `enqueueAll: <boolean>`
|
|
115
|
+
|
|
116
|
+
`enqueueAll: <boolean>` — optional; defaults to `false`.
|
|
117
|
+
|
|
118
|
+
- `false` — queue only the `itemIds` selection; an empty selection does nothing.
|
|
119
|
+
- `true` — ignore the selection and queue every eligible row of the task, working through the task with a cursor.
|
|
120
|
+
|
|
121
|
+
```yaml
|
|
122
|
+
steps:
|
|
123
|
+
- key: QUEUE_ALL
|
|
124
|
+
displayType: ENQUEUER
|
|
125
|
+
data:
|
|
126
|
+
objectId: 00000000-0000-0000-0000-000000000001
|
|
127
|
+
itemIds: []
|
|
128
|
+
enqueueAll: true # defaults to false
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### `data.drainToEnd`
|
|
132
|
+
|
|
133
|
+
Syntax: `drainToEnd: <boolean>`
|
|
134
|
+
|
|
135
|
+
`drainToEnd: <boolean>` — optional; defaults to `false`. Used only when `enqueueAll: true`.
|
|
136
|
+
|
|
137
|
+
- `false` — one bounded pass: stops at the runtime's time/row limits or at the end of the task; the next run continues from where it stopped.
|
|
138
|
+
- `true` — keeps going until the end of the current pass over the task, ignoring those limits. Can run long and holds the task lock meanwhile.
|
|
139
|
+
|
|
140
|
+
```yaml
|
|
141
|
+
steps:
|
|
142
|
+
- key: QUEUE_ALL
|
|
143
|
+
displayType: ENQUEUER
|
|
144
|
+
data:
|
|
145
|
+
objectId: 00000000-0000-0000-0000-000000000001
|
|
146
|
+
itemIds: []
|
|
147
|
+
enqueueAll: true
|
|
148
|
+
drainToEnd: true # defaults to false
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
Choose `false` for recurring schedules (work spreads across runs), `true` for a one-off complete re-queue.
|
|
152
|
+
|
|
153
|
+
### `data.forceEnqueue`
|
|
154
|
+
|
|
155
|
+
Syntax: `forceEnqueue: <string | boolean>`
|
|
156
|
+
|
|
157
|
+
`forceEnqueue: <string | boolean>` — optional; defaults to `false` (not forcing).
|
|
158
|
+
|
|
159
|
+
Only the exact lowercase string `'true'` forces: it marks each selected row as Changed before queueing, so rows that would otherwise be skipped as unchanged are queued. Boolean `true` and any other value do not force. Normal eligibility and dependency rules still apply. Use it only with a non-empty `itemIds` selection; combined with `enqueueAll: true` the step fails.
|
|
160
|
+
|
|
161
|
+
```yaml
|
|
162
|
+
steps:
|
|
163
|
+
- key: QUEUE_FORCED
|
|
164
|
+
displayType: ENQUEUER
|
|
165
|
+
data:
|
|
166
|
+
objectId: 00000000-0000-0000-0000-000000000001
|
|
167
|
+
itemIds: [00000000-0000-0000-0000-000000000002]
|
|
168
|
+
forceEnqueue: 'true' # defaults to false (not forcing); only the quoted string 'true' forces
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### `data.priority`
|
|
172
|
+
|
|
173
|
+
Syntax: `priority: <integer>`
|
|
174
|
+
|
|
175
|
+
`priority: <integer>` — optional; defaults to the task's priority.
|
|
176
|
+
|
|
177
|
+
Queue priority for the rows queued by this step. A value that is not a whole number is ignored. It affects ordering only, not which rows are selected.
|
|
178
|
+
|
|
179
|
+
```yaml
|
|
180
|
+
steps:
|
|
181
|
+
- key: QUEUE_URGENT
|
|
182
|
+
displayType: ENQUEUER
|
|
183
|
+
data:
|
|
184
|
+
objectId: 00000000-0000-0000-0000-000000000001
|
|
185
|
+
itemIds: '[_outputs.SAVE.saved_ids[]]'
|
|
186
|
+
priority: 10 # defaults to the task's priority
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
## Behavior and failures
|
|
190
|
+
|
|
191
|
+
The step checks, in order: `objectId` parses; `itemIds` evaluates to a GUID list; the task can be queued (an enabled queue scheduler exists for it); then queues the selection or runs all-item mode. Rows are further filtered by normal eligibility, dependencies, change detection and queue locks, and nothing is queued when the task has no associated pusher. In every normal case — queued, partially queued, or skipped — the output is `{}`. A forced status change and the queueing are separate effects: if queueing fails afterwards, the status change may remain.
|
|
192
|
+
|
|
193
|
+
| Cause | Effect | Fix |
|
|
194
|
+
| --- | --- | --- |
|
|
195
|
+
| Missing/malformed `objectId`, or an expression in it | Step fails | Write the literal GUID of an existing [task](hexasync://docs/tasks/TASKS-AND-TABLES). |
|
|
196
|
+
| `itemIds` expression invalid, scalar, or contains a non-GUID | Step fails, even with `enqueueAll: true` | Return an array of stored ids; use `[]` in all-item mode. |
|
|
197
|
+
| No enabled queue scheduler for the task | Normal `{}`; nothing queued | Enable the task's queue scheduler. |
|
|
198
|
+
| `itemIds` empty with `enqueueAll: false` | Normal `{}`; nothing queued | Expected when nothing changed. |
|
|
199
|
+
| `forceEnqueue: true` (boolean) | Rows are queued without forcing | Use the quoted string `'true'`. |
|
|
200
|
+
| `enqueueAll: true` with `forceEnqueue: 'true'` | Step fails before queueing | Drop forcing in all-item mode. |
|
|
201
|
+
|
|
202
|
+
### Rejected form (non-copyable)
|
|
203
|
+
|
|
204
|
+
```yaml
|
|
205
|
+
steps:
|
|
206
|
+
- key: QUEUE
|
|
207
|
+
displayType: ENQUEUER
|
|
208
|
+
data:
|
|
209
|
+
objectId: '{{ taskId }}' # wrong: not rendered, must be the literal GUID
|
|
210
|
+
itemIds: '$(_outputs.SAVE.saved_ids)' # wrong: plain JSONata here, no $() wrapper
|
|
211
|
+
enqueueAll: true
|
|
212
|
+
forceEnqueue: 'true' # wrong: fails in all-item mode
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
## Output
|
|
216
|
+
|
|
217
|
+
`_outputs.<KEY>` is always `{}` on success. Do not branch on it to decide whether rows were queued; inspect queue processing instead.
|
|
218
|
+
|
|
219
|
+
## Best practices
|
|
220
|
+
|
|
221
|
+
- Queue only changed rows (`saved_ids` from the save) rather than everything: it keeps the queue small and avoids re-delivering unchanged data.
|
|
222
|
+
- Wrap JSONata selections in `[ ... ]` so a single id or no ids still produce an array.
|
|
223
|
+
- Use bounded all-item mode (`drainToEnd: false`) for recurring schedules so each run stays short and holds the task lock briefly; reserve `drainToEnd: true` for one-off re-queues.
|
|
224
|
+
- Force only deliberate, explicit selections (e.g. replaying specific rows after a fix); forcing everything defeats change detection.
|
|
225
|
+
- Use `priority` to let urgent flows overtake bulk backfills rather than creating separate tasks.
|
|
226
|
+
|
|
227
|
+
## Related
|
|
228
|
+
|
|
229
|
+
- [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA#contract) — produces `saved_ids`.
|
|
230
|
+
- [UPDATE_TASK_DATA_STATUS](hexasync://docs/steps/UPDATE_TASK_DATA_STATUS#contract) — explicit status changes.
|
|
231
|
+
- [Tasks and tables](hexasync://docs/tasks/TASKS-AND-TABLES)
|
|
232
|
+
- [JSONata call sites](hexasync://docs/expressions/CONTEXT-AND-IO/jsonata-call-site-scope-and-bindings)
|
|
233
|
+
- [Step envelope](hexasync://docs/steps/STEP-ENVELOPE)
|
|
234
|
+
- [Step catalog](hexasync://docs/steps/INDEX)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hexasync-steps-api-http
|
|
3
|
+
description: "HexaSync workflow and step envelope (displayType/provider, data vs input, arguments, onError, next routing, branches, loop guards), the API step and its REST request builder (url, queries, headers, body, outputs), response filters and JSONPath result handling. Use when composing a workflow or calling an external HTTP API from a template."
|
|
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.2"
|
|
8
|
+
kb-bundle: "99"
|
|
9
|
+
mcp-server: "hexasync-template-ide"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Workflow steps, the API step and HTTP requests
|
|
13
|
+
|
|
14
|
+
This page owns the fields every step shares — the **envelope** — plus arguments, shared flags, routing on failure and the result protocol. Each step type's own `data` payload is documented on its page in the [step catalogue](references/steps.INDEX.md).
|
|
15
|
+
|
|
16
|
+
> Generated from the HexaSync knowledge base (asset bundle 99) by @beehexa/hexasync-ai-toolkit 2610.12.2.
|
|
17
|
+
|
|
18
|
+
## How to work
|
|
19
|
+
|
|
20
|
+
When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
|
|
21
|
+
|
|
22
|
+
1. `hexasync_orientation` once per session: what a template is, the two runtimes that must never be mixed, and the lookup order.
|
|
23
|
+
2. `hexasync_explain_type` before writing any field, e.g. `API`, `API.data`, `next`. It returns the authoritative syntax, meaning, default and a YAML example.
|
|
24
|
+
3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `API step REST request`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
|
|
25
|
+
4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
|
|
26
|
+
5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
|
|
27
|
+
|
|
28
|
+
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.
|
|
29
|
+
|
|
30
|
+
## Best practices (from the knowledge base)
|
|
31
|
+
|
|
32
|
+
- **One explicit root.** Mark exactly one step `rootStep: true`; do not rely on array order or `Begin` fallbacks. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
33
|
+
- **Bounded loops.** Every backward edge needs an exit condition that changes each visit (a counter, a cursor, `hasNextPage`) and a deliberate `maxStepIterations`. Unbounded loops burn the run budget, repeat side effects (duplicate writes or calls) and end in a terminal guard failure that `onError` cannot catch. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
34
|
+
- **Retries.** Prefer the platform's connector-level retry and rate limits over hand-built retry loops. If a loop must retry, cap it, add a [SLEEP](hexasync://docs/steps/SLEEP) between attempts and branch on `gracefulException` output rather than catching everything with `onError`. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
35
|
+
- **Idempotency.** Steps may re-run after a restart from the root or a retried run. Make writes upserts keyed by stable identifiers, and make status changes set-style (add/remove flags) rather than toggles, so a repeat does no harm. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
36
|
+
- **Read results from `_outputs`.** Downstream steps and `next` conditions should read `_outputs.<KEY>`; `__this.arguments` belongs to the current step only. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
37
|
+
- **Modern spellings.** Use `displayType` and `data`; drop `provider`/`input` when touching legacy steps, and never leave `data: null` beside `input`. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
38
|
+
- **Always write `method`.** The POST default makes an omitted read fail or, worse, create data. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
39
|
+
- **Always author `acceptHttpStatuses`** with only documented statuses, specific patterns first — it is your contract with the endpoint and avoids parsing error pages as data. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
40
|
+
- **Keep host and credentials on the connection**, paths in steps: environments switch in one place and secrets stay out of payloads and diagnostics. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
41
|
+
- **Project with response filters** when downstream steps need a few fields; stable names decouple them from response shape changes. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
42
|
+
- **Treat in-body errors as errors**: GraphQL `errors`, SOAP Faults and script errors can arrive with 200 — project and route on them. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
43
|
+
- **Use `gracefulException` only with explicit routing** on `isException`; otherwise failures look like empty successes. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
44
|
+
- **Paginate explicitly and persist per page**, with a guaranteed termination condition. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
45
|
+
- **Don't mix query strings in `url` with `queries`**, and pre-encode values yourself. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
46
|
+
- **Use `logOutput` deliberately**: helpful when debugging, costly and potentially sensitive in production volume. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
47
|
+
- **Extract, don't forward.** Map the exact fields downstream steps need. Whole-body passthrough couples every step to the provider's envelope and bloats logs. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
48
|
+
- **Make continuation explicit and typed.** Emit `hasNextPage` as a boolean computed from the provider's own signal (next cursor/link present), plus the cursor itself. Never infer "last page" from a short page or a total; see [PULLERS page termination](hexasync://docs/pullers/PULLERS#page-termination-and-the-four-platform-guards). _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
49
|
+
- **Distinguish "absent" from "empty".** An omitted JSONata key, a `null` eval result, `[]` and `""` mean different things. A missing rows array is a parsing problem, never proof that the source is empty — don't let it drive deletion reconciliation. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
50
|
+
- **Keep output names unique across groups** to avoid silent overwrites. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
51
|
+
- **Gate error outputs by status** with `acceptedStatuses` so they are only evaluated on error bodies. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
52
|
+
- **Return the destination identity from pusher filters**, so later pushes update rather than create duplicates. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
53
|
+
- 6 more of 27: every page's own *Best practices* section is in [`references/`](references/INDEX.md).
|
|
54
|
+
|
|
55
|
+
## References
|
|
56
|
+
|
|
57
|
+
[`references/INDEX.md`](references/INDEX.md) maps every section of *Workflow and the step envelope*, *API — API Connector*, *next — worker routing grammar and frontend delta*, *Response filters* and 1 more pages and lists the questions this skill answers. Open only the section you need.
|
|
58
|
+
|
|
59
|
+
## Installing the MCP server
|
|
60
|
+
|
|
61
|
+
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,73 @@
|
|
|
1
|
+
# References — Workflow steps, the API step and HTTP requests
|
|
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
|
+
- Workflow selection, envelope, argument placement and flags → [Step envelope](steps.STEP-ENVELOPE.md)
|
|
8
|
+
- next targets, branches, termination and loop guards → [Routing](routing.NEXT.md)
|
|
9
|
+
- response parsers and site-specific result handling → [Response filters](responseFilters.RESPONSE-FILTERS.md)
|
|
10
|
+
- connection binding, options, auth and HTTP request builders → [Connections](hexasync://docs/connections/CONNECTIONS), [API](steps.API.md)
|
|
11
|
+
- one worker executor and its alternatives → [Worker step index](steps.INDEX.md)
|
|
12
|
+
|
|
13
|
+
## Sections
|
|
14
|
+
|
|
15
|
+
### Workflow and the step envelope
|
|
16
|
+
|
|
17
|
+
- [Workflow and the step envelope](steps.STEP-ENVELOPE.md)
|
|
18
|
+
- [One canonical Workflow component](steps.STEP-ENVELOPE.one-canonical-workflow-component.md)
|
|
19
|
+
- [Shape](steps.STEP-ENVELOPE.shape.md)
|
|
20
|
+
- [Executor selection is exact](steps.STEP-ENVELOPE.executor-selection-is-exact.md)
|
|
21
|
+
- [Flow entry](steps.STEP-ENVELOPE.flow-entry.md)
|
|
22
|
+
- [Connection binding](steps.STEP-ENVELOPE.connection-binding.md)
|
|
23
|
+
- [Arguments and routing](steps.STEP-ENVELOPE.arguments-and-routing.md)
|
|
24
|
+
- [Cross-cutting step flags](steps.STEP-ENVELOPE.cross-cutting-step-flags.md)
|
|
25
|
+
- [Payload selection and thrown-error routing](steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md)
|
|
26
|
+
- [Executor results, graceful returns, and run error data](steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md)
|
|
27
|
+
- [Recovery bypasses and connector restart](steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md)
|
|
28
|
+
- [Best practices](steps.STEP-ENVELOPE.best-practices.md)
|
|
29
|
+
- [Execution budgets](steps.STEP-ENVELOPE.execution-budgets.md)
|
|
30
|
+
- [_history — the per-step occurrence ring](steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md)
|
|
31
|
+
- [Related](steps.STEP-ENVELOPE.related.md)
|
|
32
|
+
|
|
33
|
+
### API — API Connector
|
|
34
|
+
|
|
35
|
+
- [API — API Connector](steps.API.md)
|
|
36
|
+
- [Contract](steps.API.contract.md)
|
|
37
|
+
- [Fields](steps.API.fields.md)
|
|
38
|
+
- [Request builders](steps.API.request-builders.md)
|
|
39
|
+
- [Public webhook binding](steps.API.public-webhook-binding.md)
|
|
40
|
+
- [Request pipeline and precedence](steps.API.request-pipeline-and-precedence.md)
|
|
41
|
+
- [API response status](steps.API.api-response-status.md)
|
|
42
|
+
- [API response parsing and outputs](steps.API.api-response-parsing-and-outputs.md)
|
|
43
|
+
- [Failure handling](steps.API.failure-handling.md)
|
|
44
|
+
- [Sensitive headers and diagnostic trail](steps.API.sensitive-headers-and-diagnostic-trail.md)
|
|
45
|
+
- [API pagination](steps.API.api-pagination.md)
|
|
46
|
+
- [cURL request intake](steps.API.curl-request-intake.md)
|
|
47
|
+
- [Best practices](steps.API.best-practices.md)
|
|
48
|
+
- [Related](steps.API.related.md)
|
|
49
|
+
|
|
50
|
+
### next — worker routing grammar and frontend delta
|
|
51
|
+
|
|
52
|
+
- [next — worker routing grammar and frontend delta](routing.NEXT.md)
|
|
53
|
+
|
|
54
|
+
### Response filters
|
|
55
|
+
|
|
56
|
+
- [Response filters](responseFilters.RESPONSE-FILTERS.md)
|
|
57
|
+
- [Exact authored shape](responseFilters.RESPONSE-FILTERS.exact-authored-shape.md)
|
|
58
|
+
- [Field contract](responseFilters.RESPONSE-FILTERS.field-contract.md)
|
|
59
|
+
- [Members encoded inside YAML expression strings](responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md)
|
|
60
|
+
- [Status narrowing](responseFilters.RESPONSE-FILTERS.status-narrowing.md)
|
|
61
|
+
- [Execution order and shared values](responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md)
|
|
62
|
+
- [The eight parser IDs](responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md)
|
|
63
|
+
- [Parser groups](responseFilters.RESPONSE-FILTERS.parser-groups.md)
|
|
64
|
+
- [Parser examples](responseFilters.RESPONSE-FILTERS.parser-examples.md)
|
|
65
|
+
- [$parseJson boundary](responseFilters.RESPONSE-FILTERS.parsejson-boundary.md)
|
|
66
|
+
- [Same name, different placement grammars](responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md)
|
|
67
|
+
- [Best practices](responseFilters.RESPONSE-FILTERS.best-practices.md)
|
|
68
|
+
- [Troubleshooting](responseFilters.RESPONSE-FILTERS.troubleshooting.md)
|
|
69
|
+
- [Related](responseFilters.RESPONSE-FILTERS.related.md)
|
|
70
|
+
|
|
71
|
+
### Step types — index
|
|
72
|
+
|
|
73
|
+
- [Step types — index](steps.INDEX.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.
|
package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
> Part of [Response filters](responseFilters.RESPONSE-FILTERS.md).
|
|
2
|
+
|
|
3
|
+
## Best practices
|
|
4
|
+
|
|
5
|
+
- **Extract, don't forward.** Map the exact fields downstream steps need. Whole-body passthrough couples every step to the provider's envelope and bloats logs.
|
|
6
|
+
- **Make continuation explicit and typed.** Emit `hasNextPage` as a boolean computed from the provider's own signal (next cursor/link present), plus the cursor itself. Never infer "last page" from a short page or a total; see [PULLERS page termination](hexasync://docs/pullers/PULLERS/page-termination-and-the-four-platform-guards).
|
|
7
|
+
- **Distinguish "absent" from "empty".** An omitted JSONata key, a `null` eval result, `[]` and `""` mean different things. A missing rows array is a parsing problem, never proof that the source is empty — don't let it drive deletion reconciliation.
|
|
8
|
+
- **Keep output names unique across groups** to avoid silent overwrites.
|
|
9
|
+
- **Gate error outputs by status** with `acceptedStatuses` so they are only evaluated on error bodies.
|
|
10
|
+
- **Return the destination identity from pusher filters**, so later pushes update rather than create duplicates.
|
|
11
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
> Part of [Response filters](responseFilters.RESPONSE-FILTERS.md).
|
|
2
|
+
|
|
3
|
+
## Exact authored shape
|
|
4
|
+
|
|
5
|
+
Syntax — **parser ID → output key → leaf**:
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
responseFilters:
|
|
9
|
+
<parser>: # one of the eight parser IDs, exact case
|
|
10
|
+
<outputKey>: # any name; becomes a flat output
|
|
11
|
+
expression: <string> # required; dialect depends on <parser>
|
|
12
|
+
acceptedStatuses: [<statusKey>, ...] # optional; HTTP only
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
A two-group filter on an API step:
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
- key: FETCH
|
|
19
|
+
rootStep: true
|
|
20
|
+
provider: API
|
|
21
|
+
connectorId: "33333333-3333-4333-8333-333333333333"
|
|
22
|
+
data:
|
|
23
|
+
type: REST
|
|
24
|
+
method: GET
|
|
25
|
+
url: /items
|
|
26
|
+
acceptHttpStatuses:
|
|
27
|
+
success: { expression: '^2\d\d$' }
|
|
28
|
+
responseFilters:
|
|
29
|
+
jsonata:
|
|
30
|
+
total: { expression: '$count(data)' }
|
|
31
|
+
scriban:
|
|
32
|
+
summary: { expression: '{{ filters.jsonata.total }} items' }
|
|
33
|
+
next: null
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
For body `{"data":[{"id":1},{"id":2}]}` the flat result is `{total: 2, summary: "2 items"}`. `jsonata` evaluates the body; `scriban` runs last and can read earlier groups as `filters.<parser>.<key>`. Later steps read `_outputs.FETCH.total` — **not** `_outputs.FETCH.jsonata.total`.
|
|
37
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
> Part of [Response filters](responseFilters.RESPONSE-FILTERS.md).
|
|
2
|
+
|
|
3
|
+
## Execution order and shared values
|
|
4
|
+
|
|
5
|
+
For HTTP responses, pusher result filters and webhook `dataParser`:
|
|
6
|
+
|
|
7
|
+
1. Non-`scriban` groups run in authored order, skipping empty groups.
|
|
8
|
+
2. After each group, its outputs merge into the flat result and become available to later prerendering as `filters.<parser>.<key>`.
|
|
9
|
+
3. `scriban` always runs last. It sees the raw body as `content`, response headers as `headers` and `__headers` (empty for pusher and webhook parsing), caller parameters and `filters`.
|
|
10
|
+
4. Any parser failure fails the step. There is no per-output default or recovery.
|
|
11
|
+
|
|
12
|
+
Body-rooted JSONata does not see `filters` or `_outputs` as fields; those reach a JSONata expression only through Scriban prerendering. See [JSONata call-site scope](hexasync://docs/expressions/CONTEXT-AND-IO/jsonata-call-site-scope-and-bindings).
|
|
13
|
+
|
package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
> Part of [Response filters](responseFilters.RESPONSE-FILTERS.md).
|
|
2
|
+
|
|
3
|
+
## Field contract
|
|
4
|
+
|
|
5
|
+
### `responseFilters`
|
|
6
|
+
|
|
7
|
+
`responseFilters: <map of parser → group>` — optional at an API step (absent or `{}` produces no named outputs); required on a pusher. Only the eight [parser IDs](responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md) are allowed; unknown or wrongly cased IDs are rejected.
|
|
8
|
+
|
|
9
|
+
### `responseFilters.<parser>`
|
|
10
|
+
|
|
11
|
+
`<parser>: <map of outputKey → leaf>` — one group per parser. Non-Scriban groups run in authored order; empty groups are skipped. Each output key becomes a flat output; **use unique names across groups** — a later group silently overwrites an earlier key of the same name.
|
|
12
|
+
|
|
13
|
+
### `responseFilters.<parser>.<key>.expression`
|
|
14
|
+
|
|
15
|
+
`expression: <string>` — required, no default. Its dialect depends on the parser: a raw JSONata or Scriban expression, or a YAML document **inside the string** for `jsonpath`, `xpath` and `regex_replace` (see [members encoded inside YAML expression strings](responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md)). `base64` and `raw_text` ignore its content but still require it. Never an inline `$()`/`$$()` wrapper and never an object.
|
|
16
|
+
|
|
17
|
+
Syntax: `expression: <string>`
|
|
18
|
+
|
|
19
|
+
Raw expression (JSONata) versus YAML-in-a-string (JSONPath):
|
|
20
|
+
|
|
21
|
+
```yaml
|
|
22
|
+
responseFilters:
|
|
23
|
+
jsonata:
|
|
24
|
+
first_id: { expression: 'data[0].id' } # required; no default
|
|
25
|
+
jsonpath:
|
|
26
|
+
first_id_text:
|
|
27
|
+
expression: |- # required; no default
|
|
28
|
+
type: eval
|
|
29
|
+
expression: $.data[0].id
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### `responseFilters.<parser>.<key>.acceptedStatuses`
|
|
33
|
+
|
|
34
|
+
Syntax: `acceptedStatuses: [<statusKey>, ...] | null`
|
|
35
|
+
|
|
36
|
+
Optional; omitted, `null` or `[]` keeps the output for every status. A non-empty list keeps the output only when the response status matched one of the named `acceptHttpStatuses` **keys** (not raw status numbers). Only HTTP call sites apply it; pusher and webhook parsing ignore it. See [status narrowing](responseFilters.RESPONSE-FILTERS.status-narrowing.md).
|
|
37
|
+
|
|
38
|
+
```yaml
|
|
39
|
+
- key: LOOKUP
|
|
40
|
+
rootStep: true
|
|
41
|
+
provider: API
|
|
42
|
+
connectorId: "33333333-3333-4333-8333-333333333333"
|
|
43
|
+
data:
|
|
44
|
+
type: REST
|
|
45
|
+
method: GET
|
|
46
|
+
url: /items/42
|
|
47
|
+
acceptHttpStatuses:
|
|
48
|
+
success: { expression: '^2\d\d$' }
|
|
49
|
+
missing: { expression: '^404$' }
|
|
50
|
+
responseFilters:
|
|
51
|
+
jsonata:
|
|
52
|
+
item: { expression: 'data', acceptedStatuses: [success] }
|
|
53
|
+
error_message:
|
|
54
|
+
expression: 'message'
|
|
55
|
+
acceptedStatuses: [missing] # optional; no default (omitted = every status)
|
|
56
|
+
next: null
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Variants: omit it (or `[]`/`null`) for outputs valid on every status; list success keys for data outputs; list error keys for error-shaped outputs.
|
|
60
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Response filters
|
|
2
|
+
|
|
3
|
+
> MCP resource: **`hexasync://docs/responseFilters/RESPONSE-FILTERS`**.
|
|
4
|
+
|
|
5
|
+
**Contract.** A response filter turns one content body into **named output values**. It is the parsing boundary between a raw payload (an HTTP response, a webhook message, a pusher's step outputs) and the rest of the Workflow: it extracts exactly the values later steps, routing and persistence need — rows, IDs, continuation flags, error messages — instead of passing a whole response around.
|
|
6
|
+
|
|
7
|
+
**When to use.** On every API step whose response is consumed; on every pusher (it decides success and the destination ID); on a webhook target's `dataParser`. Pick something else when you only reshape values already in context (use a [JSONata step](hexasync://docs/steps/JSONata)), or for a legacy puller's root `responseFilters`, which is a **different grammar** with the same name — see [legacy puller page mapping](responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md#legacy-puller-page-mapping).
|
|
8
|
+
|
|
9
|
+
**Sensible configuration.** One `jsonata` group for JSON APIs; `xpath` for XML; a final `scriban` group only for values derived from earlier groups or headers:
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
- key: FETCH
|
|
13
|
+
rootStep: true
|
|
14
|
+
provider: API
|
|
15
|
+
connectorId: "33333333-3333-4333-8333-333333333333"
|
|
16
|
+
data:
|
|
17
|
+
type: REST
|
|
18
|
+
method: GET
|
|
19
|
+
url: /items
|
|
20
|
+
acceptHttpStatuses:
|
|
21
|
+
success: { expression: '^2\d\d$' }
|
|
22
|
+
failed: { expression: '^[45]\d\d$' }
|
|
23
|
+
responseFilters:
|
|
24
|
+
jsonata:
|
|
25
|
+
items: { expression: 'data[]', acceptedStatuses: [success] }
|
|
26
|
+
hasNextPage: { expression: '$exists(next_cursor) and next_cursor != null', acceptedStatuses: [success] }
|
|
27
|
+
error_message: { expression: 'message', acceptedStatuses: [failed] }
|
|
28
|
+
next: null
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
JSONata returns typed values (arrays, booleans) in one pass; extracting only what is consumed keeps steps decoupled from the provider envelope, unique output names avoid silent overwrites, and status-gating keeps success expressions off error bodies.
|
|
32
|
+
|
|
33
|
+
The caller chooses the body and the parameters available to prerendering; see [placements](responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md).
|
|
34
|
+
|
|
35
|
+
This page is served as 13 separate resources. Read the one you need:
|
|
36
|
+
|
|
37
|
+
- [Exact authored shape](responseFilters.RESPONSE-FILTERS.exact-authored-shape.md) — Syntax — parser ID → output key → leaf:
|
|
38
|
+
- [Field contract](responseFilters.RESPONSE-FILTERS.field-contract.md) — responseFilters: <map of parser → group> — optional at an API step (absent or {} produces no named outputs); required on a pusher.
|
|
39
|
+
- [Members encoded inside YAML expression strings](responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md) — For jsonpath, xpath and regex_replace, expression holds a YAML document.
|
|
40
|
+
- [Status narrowing](responseFilters.RESPONSE-FILTERS.status-narrowing.md) — At an HTTP call site, the first acceptHttpStatuses entry whose regex matches the status code supplies a status key.
|
|
41
|
+
- [Execution order and shared values](responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md) — For HTTP responses, pusher result filters and webhook dataParser:
|
|
42
|
+
- [The eight parser IDs](responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md) — IDs are exact and case-sensitive.
|
|
43
|
+
- [Parser groups](responseFilters.RESPONSE-FILTERS.parser-groups.md) — Each parser ID is an optional key of responseFilters (on API steps, pushers and other non-HTTP placements alike); absent means that parser does not run.
|
|
44
|
+
- [Parser examples](responseFilters.RESPONSE-FILTERS.parser-examples.md) — For {"data":[{"id":1,"name":"A"}],"next_cursor":"c2"} the outputs are items (array of rows), hasNextPage: true (boolean) and cursor: "c2".
|
|
45
|
+
- [`$parseJson` boundary](responseFilters.RESPONSE-FILTERS.parsejson-boundary.md) — $parseJson(<string>) is available in grouped jsonata response filters (HTTP, webhook dataParser, pusher results) and in the dedicated JSONata step.
|
|
46
|
+
- [Same name, different placement grammars](responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md) — A legacy puller's root responseFilters is a flat output name → JSONPath string map over the completed page steps' outputs — not parser groups.
|
|
47
|
+
- [Best practices](responseFilters.RESPONSE-FILTERS.best-practices.md)
|
|
48
|
+
- [Troubleshooting](responseFilters.RESPONSE-FILTERS.troubleshooting.md)
|
|
49
|
+
- [Related](responseFilters.RESPONSE-FILTERS.related.md) — Workflow, arguments, runtime scope, routing, API response outputs, WEBHOOKS, PULLERS, and PUSHERS own placement-specific context and result consumption.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
> Part of [Response filters](responseFilters.RESPONSE-FILTERS.md).
|
|
2
|
+
|
|
3
|
+
## Members encoded inside YAML expression strings
|
|
4
|
+
|
|
5
|
+
For `jsonpath`, `xpath` and `regex_replace`, `expression` holds a YAML document. Its members live **inside the string**, never next to `expression`. No parser fills in a missing `type`, `root`, `fields` or `namespaces`.
|
|
6
|
+
|
|
7
|
+
| Parser / mode | Member | Syntax and meaning |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| `jsonpath`, `xpath` | `type` | `type: eval \| node` — required, case-insensitive. `eval` returns one value; `node` returns a list of rows. An unknown value yields `null`; a missing `type` fails. |
|
|
10
|
+
| `jsonpath` eval | `expression` | `expression: <JSONPath>` — first match only. `constant(): <text>` returns the literal trimmed text. |
|
|
11
|
+
| `jsonpath` node | `root`, `fields` | `root: <JSONPath>` selects rows (rows without children are skipped); `fields: { <name>: <row-relative JSONPath or constant(): text> }`. A missing field gives `null`; a field path matching several values can fail. |
|
|
12
|
+
| `xpath` | `namespaces` | `namespaces: { <prefix>: <uri> }` — required; `{}` for XML without namespaces. There is no default-namespace prefix. |
|
|
13
|
+
| `xpath` eval | `expression` | `expression: <XPath 2>` — first result as text, or `null`. |
|
|
14
|
+
| `xpath` node | `root`, `fields` | `root: <XPath>` selects rows; `fields: { <name>: <row-relative XPath> }`, each returning text or `null`. |
|
|
15
|
+
| `regex_replace` | `pattern`, `replacement` | Both strings, .NET regular-expression syntax (`$1` refers to a capture group). No default replacement. |
|
|
16
|
+
|
|
17
|
+
Other YAML members are ignored. A JSONPath eval result that is an object/array is returned as its text form; use JSONata or node mode when downstream needs structure.
|
|
18
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
> Part of [Response filters](responseFilters.RESPONSE-FILTERS.md).
|
|
2
|
+
|
|
3
|
+
## `$parseJson` boundary
|
|
4
|
+
|
|
5
|
+
`$parseJson(<string>)` is available in grouped `jsonata` response filters (HTTP, webhook `dataParser`, pusher results) and in the dedicated [JSONata step](hexasync://docs/steps/JSONata). It is **not** available in inline argument JSONata or item transformations. It parses a JSON string into data; undefined input stays undefined; a defined non-string fails with `T0410`; malformed JSON fails. The parser is lenient (single quotes, trailing commas, control characters are accepted), so it is not a strict JSON validator. Integral floating values become integers.
|
|
6
|
+
|
|
7
|
+
```yaml
|
|
8
|
+
responseFilters:
|
|
9
|
+
jsonata:
|
|
10
|
+
id: { expression: '$parseJson(Data).id' }
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
For body `{"Data":"{\"id\":7}"}` the output `id` is integer `7`. If `Data` is absent the key is omitted; if `Data` is `null` or an object, evaluation fails. The [three prior-response routes](hexasync://docs/expressions/CONTEXT-AND-IO/jsonata-call-site-scope-and-bindings#three-legal-prior-response-parsing-routes) explain where each root and binding exists.
|
|
14
|
+
|