@beehexa/hexasync-ai-toolkit 0.0.0-stage → 2610.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +31 -0
- package/.claude-plugin/plugin.json +19 -0
- package/.codex-plugin/plugin.json +37 -0
- package/.cursor-plugin/mcp.json +12 -0
- package/.cursor-plugin/plugin.json +20 -0
- package/.mcp.json +11 -0
- package/README.md +62 -2
- package/dist/cli.js +2935 -0
- package/gemini-extension.json +14 -0
- package/openclaw.extension.mjs +9 -0
- package/openclaw.plugin.json +14 -0
- package/package.json +69 -3
- package/plugin.json +21 -0
- package/skills/hexasync-connections/SKILL.md +36 -0
- package/skills/hexasync-connections/references/INDEX.md +33 -0
- package/skills/hexasync-connections/references/INSTALL.md +35 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.authentication-and-setup-steps.md +64 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +96 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.compiled-connector-hooks.md +23 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-authentication.md +36 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-rate-limiting.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.fields.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +54 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +84 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.never-invent-a-systemcode.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +16 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +9 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.resolution-and-transport-scope.md +8 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +22 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-collection-both-accepted.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-provider-with-defined-precedence.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.unsupported-authentication.md +26 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.untyped-options-generic-validity-is-not-provider-completeness.md +192 -0
- package/skills/hexasync-error-handling/SKILL.md +47 -0
- package/skills/hexasync-error-handling/references/INDEX.md +22 -0
- package/skills/hexasync-error-handling/references/INSTALL.md +35 -0
- package/skills/hexasync-error-handling/references/routing.NEXT.md +246 -0
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +139 -0
- package/skills/hexasync-error-handling/references/steps.Error.md +296 -0
- package/skills/hexasync-expressions/SKILL.md +53 -0
- package/skills/hexasync-expressions/references/INDEX.md +45 -0
- package/skills/hexasync-expressions/references/INSTALL.md +35 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +41 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +10 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +89 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +28 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +47 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +21 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +44 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +5 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +110 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md +17 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md +19 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md +13 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md +45 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +27 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md +15 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md +8 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md +23 -0
- package/skills/hexasync-expressions/references/steps.JSONata.md +200 -0
- package/skills/hexasync-expressions/references/steps.Liquid.md +95 -0
- package/skills/hexasync-expressions/references/steps.Scriban.md +156 -0
- package/skills/hexasync-field-mapping/SKILL.md +60 -0
- package/skills/hexasync-field-mapping/references/INDEX.md +54 -0
- package/skills/hexasync-field-mapping/references/INSTALL.md +35 -0
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +62 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-metrics-reports/SKILL.md +55 -0
- package/skills/hexasync-metrics-reports/references/INDEX.md +41 -0
- package/skills/hexasync-metrics-reports/references/INSTALL.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.best-practices.md +13 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.choosing-a-scoremode.md +44 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.contract.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.digest-message-templates.md +31 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.facet-properties.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.fields.md +551 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.health-scores.md +69 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.md +20 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +57 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +574 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +9 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.sensible-configuration.md +30 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.severity-scoring.md +89 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.syntax.md +18 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.worked-example-from-rows-to-health-score.md +108 -0
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +460 -0
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +171 -0
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +400 -0
- package/skills/hexasync-pullers/SKILL.md +44 -0
- package/skills/hexasync-pullers/references/INDEX.md +50 -0
- package/skills/hexasync-pullers/references/INSTALL.md +35 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +26 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +52 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +12 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.error-and-final-handling.md +10 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.generalisation.md +17 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.md +36 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +77 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +49 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.paging-is-the-authors-job.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +23 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +56 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +43 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +6 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-finalsteps.md +48 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +66 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +46 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.probe-discipline.md +13 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +561 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +88 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +11 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.stamp--sweep.md +21 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.symptom--cause--rule.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +19 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md +28 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +15 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +74 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-opaque-token-api.md +14 -0
- package/skills/hexasync-pullers/references/steps.PULLER.md +187 -0
- package/skills/hexasync-pushers/SKILL.md +60 -0
- package/skills/hexasync-pushers/references/INDEX.md +47 -0
- package/skills/hexasync-pushers/references/INSTALL.md +35 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +27 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +332 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +17 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +36 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +85 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +45 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.ordinary-result-contract.md +136 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-afterpushsteps.md +34 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +33 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md +46 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-pushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +99 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-pushsteps.md +50 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +56 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md +18 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.troubleshooting.md +16 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +66 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-indirect-push.md +35 -0
- package/skills/hexasync-pushers/references/steps.PUSHER.md +238 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +201 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +359 -0
- package/skills/hexasync-query-dsl/SKILL.md +67 -0
- package/skills/hexasync-query-dsl/references/INDEX.md +60 -0
- package/skills/hexasync-query-dsl/references/INSTALL.md +35 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +6 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +48 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +123 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.md +25 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +80 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +54 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +52 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +60 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.md +16 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +44 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +87 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +85 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.property-reference.md +428 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md +363 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +104 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.sensible-configuration.md +24 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +57 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +102 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +91 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.md +10 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +95 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +39 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +9 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +141 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +510 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +491 -0
- package/skills/hexasync-query-dsl/references/steps.SQL.md +362 -0
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +315 -0
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +44 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +35 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.contract.md +6 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +124 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.md +15 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +73 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +9 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +324 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.sensible-configuration.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.shape.md +108 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.syntax.md +33 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +10 -0
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +234 -0
- package/skills/hexasync-steps-api-http/SKILL.md +61 -0
- package/skills/hexasync-steps-api-http/references/INDEX.md +73 -0
- package/skills/hexasync-steps-api-http/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.exact-authored-shape.md +37 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +13 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md +60 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +49 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md +18 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +14 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-examples.md +77 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-groups.md +203 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +80 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.status-narrowing.md +29 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md +17 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.troubleshooting.md +13 -0
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +246 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +44 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md +43 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-status.md +37 -0
- package/skills/hexasync-steps-api-http/references/steps.API.best-practices.md +14 -0
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +64 -0
- package/skills/hexasync-steps-api-http/references/steps.API.curl-request-intake.md +31 -0
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +457 -0
- package/skills/hexasync-steps-api-http/references/steps.API.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.API.public-webhook-binding.md +17 -0
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +12 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-builders.md +206 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md +13 -0
- package/skills/hexasync-steps-api-http/references/steps.API.sensitive-headers-and-diagnostic-trail.md +25 -0
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +103 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.connection-binding.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md +76 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.execution-budgets.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.flow-entry.md +8 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.md +22 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +79 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md +19 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +300 -0
- package/skills/hexasync-steps-control-data/SKILL.md +59 -0
- package/skills/hexasync-steps-control-data/references/INDEX.md +133 -0
- package/skills/hexasync-steps-control-data/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +101 -0
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +80 -0
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +221 -0
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +87 -0
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +303 -0
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +475 -0
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +323 -0
- package/skills/hexasync-steps-control-data/references/steps.End.md +100 -0
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +167 -0
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +88 -0
- package/skills/hexasync-steps-control-data/references/steps.IF.md +284 -0
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +170 -0
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +175 -0
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +146 -0
- package/skills/hexasync-steps-control-data/references/steps.OData.md +133 -0
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +274 -0
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +126 -0
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +264 -0
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +164 -0
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +180 -0
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +124 -0
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +255 -0
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +168 -0
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +207 -0
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +194 -0
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +253 -0
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +247 -0
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +149 -0
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +172 -0
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +78 -0
- package/skills/hexasync-tables-tasks-objects/SKILL.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +78 -0
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.authoring-dependencies.md +80 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.best-practices-and-pitfalls.md +22 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +430 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +340 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +88 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +27 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +37 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +179 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +31 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +26 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +52 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +55 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +24 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.md +64 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +32 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +8 -0
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.md +62 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +357 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +14 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +44 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.systemcolumns-presentation.md +99 -0
- package/skills/hexasync-templates/SKILL.md +67 -0
- package/skills/hexasync-templates/references/AI-INDEX.md +125 -0
- package/skills/hexasync-templates/references/INDEX.md +73 -0
- package/skills/hexasync-templates/references/INSTALL.md +35 -0
- package/skills/hexasync-templates/references/KB-INDEX.md +128 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composition-fields.md +44 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.deployment-descriptor-retirement-and-current-composition.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.md +32 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +34 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +54 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.author.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md +356 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.contributors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.creationsteps.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.databasename.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.description.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.externals.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md +101 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md +238 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md +114 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.health_check_worker.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md +148 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.integration_app_management.md +115 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.jsonata--liquid.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +109 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.nextbranch-fields.md +93 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.output-fields.md +82 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.read_queries.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md +80 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.select_google_drive.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.single_choice_form--multiple_choice_form.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +233 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md +79 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.id.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.name.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.noschedules.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +23 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.recommendations.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.thumbnail.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.variables.md +16 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +29 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +21 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +5 -0
- package/skills/hexasync-transformations/SKILL.md +51 -0
- package/skills/hexasync-transformations/references/INDEX.md +40 -0
- package/skills/hexasync-transformations/references/INSTALL.md +35 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-validations/SKILL.md +52 -0
- package/skills/hexasync-validations/references/INDEX.md +27 -0
- package/skills/hexasync-validations/references/INSTALL.md +35 -0
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +196 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md +5 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.best-practices.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.composing-rules.md +37 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md +33 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +118 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +27 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +57 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.metadata-members.md +134 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.operators.md +406 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.troubleshooting.md +13 -0
- package/skills/hexasync-webhooks/SKILL.md +62 -0
- package/skills/hexasync-webhooks/references/INDEX.md +46 -0
- package/skills/hexasync-webhooks/references/INSTALL.md +35 -0
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +130 -0
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +259 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +206 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +62 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.message-shape.md +29 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +59 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +72 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +10 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.routing-and-boundary-ownership.md +30 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.shape.md +37 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.datafilter.md +68 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +268 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.id-target.md +21 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchfilter-and-matchpattern.md +77 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchremovefilter-and-matchremovepattern.md +41 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.md +20 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectid-deprecated.md +25 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectids.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +67 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.rejected-target-fields-finalsteps-and-responsefilters.md +8 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.troubleshooting.md +17 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.webhook-properties.md +117 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.worked-example-webhook-direct-index-plus-steps.md +71 -0
|
@@ -0,0 +1,510 @@
|
|
|
1
|
+
# `QUERY_MANY` — Query Many
|
|
2
|
+
|
|
3
|
+
> Addressable through MCP as **`hexasync://docs/steps/QUERY_MANY`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`QUERY_MANY` reads every matching row from a profile entity (task, reference or report table) with a structured query and publishes them as `_outputs.<key> = {rows, count}`. The query is built from `data.from`, `data.select`, optional `data.joins` and optional `data.where` in strict mode: identifiers are validated, values are bound as parameters, and raw SQL operands are rejected.
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
Use it when a workflow needs a list of rows from a profile table — for example to iterate, count or compare.
|
|
12
|
+
|
|
13
|
+
Choose something else when you need exactly one row (use [`QUERY_SINGLE`](steps.QUERY_SINGLE.md#contract), which returns `{row, found}`), when you need a previously executed step's output (use [`LOOKUP_STEP`](hexasync://docs/steps/LOOKUP_STEP#contract)), or when the data lives in an external system (use an API step).
|
|
14
|
+
|
|
15
|
+
## Syntax
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
- key: READ_ORDERS
|
|
19
|
+
rootStep: true
|
|
20
|
+
displayType: QUERY_MANY
|
|
21
|
+
arguments:
|
|
22
|
+
status: OPEN # <string map> optional; bound as a string parameter
|
|
23
|
+
data:
|
|
24
|
+
from: # <object> required; no default
|
|
25
|
+
entityType: TASK # <TASK|REFERENCE|REPORT> required in authored YAML
|
|
26
|
+
entityId: 11111111-1111-4111-8111-111111111111 # <uuid> required for TASK/REFERENCE/REPORT
|
|
27
|
+
alias: o # <identifier> required in authored YAML
|
|
28
|
+
joins: # <list of join> optional; defaults to no joins
|
|
29
|
+
- entityType: REFERENCE
|
|
30
|
+
entityId: 22222222-2222-4222-8222-222222222222
|
|
31
|
+
alias: c
|
|
32
|
+
joinType: LEFT # <INNER|LEFT|RIGHT|FULL|CROSS|… OUTER> required; no default
|
|
33
|
+
where: # <condition> ON condition; required unless joinType is CROSS
|
|
34
|
+
op: '='
|
|
35
|
+
data:
|
|
36
|
+
leftOp: {type: FIELD, field: o.customer_id}
|
|
37
|
+
rightOp: {type: FIELD, field: c.id}
|
|
38
|
+
select: # <list of projection> required; at least one entry
|
|
39
|
+
- {alias: o, field: sku}
|
|
40
|
+
- {alias: c, field: name, as: customer_name}
|
|
41
|
+
where: # <condition> optional; absent means no filter
|
|
42
|
+
op: '='
|
|
43
|
+
data:
|
|
44
|
+
leftOp: {type: FIELD, field: o.status}
|
|
45
|
+
rightOp: {type: PARAM, val: status}
|
|
46
|
+
logOutput: false # <boolean> defaults to false
|
|
47
|
+
maxStepIterations: 1000 # <positive integer> loop guard; defaults to 1000
|
|
48
|
+
next: null
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Sensible configuration
|
|
52
|
+
|
|
53
|
+
```yaml
|
|
54
|
+
- key: OPEN_ORDERS
|
|
55
|
+
rootStep: true
|
|
56
|
+
displayType: QUERY_MANY
|
|
57
|
+
arguments:
|
|
58
|
+
status: OPEN
|
|
59
|
+
data:
|
|
60
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
61
|
+
select:
|
|
62
|
+
- {alias: o, field: sku}
|
|
63
|
+
- {alias: o, field: status}
|
|
64
|
+
where:
|
|
65
|
+
op: '='
|
|
66
|
+
data:
|
|
67
|
+
leftOp: {type: FIELD, field: o.status}
|
|
68
|
+
rightOp: {type: PARAM, val: status}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
A concrete source with a short lowercase alias, an explicit column list and a `where` that bounds the result: the step adds no limit and holds every row in memory, so the predicate is what keeps the output small. Runtime values go through `arguments` and `PARAM`, never into identifiers.
|
|
72
|
+
|
|
73
|
+
**Output:** `_outputs.<key>` is `{rows: [ {column: value, …}, … ], count: N}`. `rows` is always a list (empty when nothing matches) and `count` is its length; a selected SQL `NULL` stays a `null` value. Rows are not deduplicated, joins can multiply them, no ordering is promised, and no limit or paging is added — the whole result is held in memory. The step only reads; it does not save, index or enqueue. **Failure:** configuration, resolution and database errors fail the step (no graceful empty result); routing on failure is described in the [envelope error contract](hexasync://docs/steps/STEP-ENVELOPE/executor-results-graceful-returns-and-run-error-data).
|
|
74
|
+
|
|
75
|
+
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider`/`displayType`, `data` vs compatible `input`, `arguments`, root `maxStepIterations`) are owned by [STEP-ENVELOPE](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing).
|
|
76
|
+
|
|
77
|
+
## Fields
|
|
78
|
+
|
|
79
|
+
### `data.from`
|
|
80
|
+
|
|
81
|
+
Syntax: `from: <object>`
|
|
82
|
+
|
|
83
|
+
`from: {entityType: <TASK|REFERENCE|REPORT>, entityId: <uuid>, alias: <identifier>}` — the concrete table the query reads, named by entity kind plus profile entity id (never a physical table name). Required; leaving it out fails the step with `QUERY step: 'from' is required.` The source is not template-rendered, so its id must be literal.
|
|
84
|
+
|
|
85
|
+
```yaml
|
|
86
|
+
- key: READ_ORDERS
|
|
87
|
+
displayType: QUERY_MANY
|
|
88
|
+
data:
|
|
89
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o} # required; no default
|
|
90
|
+
select: [{alias: o, field: sku}]
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### `data.from.entityType`
|
|
94
|
+
|
|
95
|
+
`entityType: TASK | REFERENCE | REPORT` — which kind of profile entity `entityId` names. `TASK` reads the task's data table, `REFERENCE` reads a reference (schema) table, `REPORT` reads a report table. Values are exact uppercase. `SELF` (any casing) is rejected: a step has no table of its own. Authored YAML must state it; if a payload omits it at runtime it is treated as `TASK`.
|
|
96
|
+
|
|
97
|
+
```yaml
|
|
98
|
+
- key: READ_ORDERS
|
|
99
|
+
displayType: QUERY_MANY
|
|
100
|
+
data:
|
|
101
|
+
from:
|
|
102
|
+
entityType: TASK # required in YAML; runtime omission is treated as TASK
|
|
103
|
+
entityId: 11111111-1111-4111-8111-111111111111
|
|
104
|
+
alias: o
|
|
105
|
+
select: [{alias: o, field: sku}]
|
|
106
|
+
---
|
|
107
|
+
- key: READ_CUSTOMERS
|
|
108
|
+
displayType: QUERY_MANY
|
|
109
|
+
data:
|
|
110
|
+
from:
|
|
111
|
+
entityType: REFERENCE # reads a reference table instead of task data
|
|
112
|
+
entityId: 22222222-2222-4222-8222-222222222222
|
|
113
|
+
alias: c
|
|
114
|
+
select: [{alias: c, field: name}]
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Choose `TASK` for rows the integration collected, `REFERENCE` for lookup/master data, `REPORT` for report tables.
|
|
118
|
+
|
|
119
|
+
### `data.from.entityId`
|
|
120
|
+
|
|
121
|
+
`entityId: <uuid>` — id of an existing entity of the given kind in the executing profile. Required for every concrete source. A malformed UUID, a missing id or an id that resolves to nothing fails the step; it never degrades to an empty result.
|
|
122
|
+
|
|
123
|
+
```yaml
|
|
124
|
+
- key: READ_ORDERS
|
|
125
|
+
displayType: QUERY_MANY
|
|
126
|
+
data:
|
|
127
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o} # entityId required; no default
|
|
128
|
+
select: [{alias: o, field: sku}]
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### `data.from.alias`
|
|
132
|
+
|
|
133
|
+
`alias: <identifier>` — the name projections and conditions use for this source (`o.sku`). Must match `^[a-z0-9_]{1,63}$`. Authored YAML must state it; runtime omission falls back to `_`. Pattern acceptance does not prove the alias is a valid unquoted SQL name — start it with a letter.
|
|
134
|
+
|
|
135
|
+
```yaml
|
|
136
|
+
- key: READ_ORDERS
|
|
137
|
+
displayType: QUERY_MANY
|
|
138
|
+
data:
|
|
139
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o} # required in YAML; runtime omission is _
|
|
140
|
+
select: [{alias: o, field: sku}]
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### `data.joins`, `data.joins[]`
|
|
144
|
+
|
|
145
|
+
Syntax: `joins: <list of {entityType, entityId, alias, joinType, where?}>`
|
|
146
|
+
|
|
147
|
+
`joins: [ {entityType, entityId, alias, joinType, where?}, … ]` — additional sources read alongside `from`. Optional; absent means no joins. There is no implicit join. Each entry is one joined source.
|
|
148
|
+
|
|
149
|
+
```yaml
|
|
150
|
+
- key: LIST_WITH_CUSTOMER
|
|
151
|
+
rootStep: true
|
|
152
|
+
displayType: QUERY_MANY
|
|
153
|
+
data:
|
|
154
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
155
|
+
joins: # optional; defaults to no joins
|
|
156
|
+
- entityType: REFERENCE
|
|
157
|
+
entityId: 22222222-2222-4222-8222-222222222222
|
|
158
|
+
alias: c
|
|
159
|
+
joinType: LEFT
|
|
160
|
+
where:
|
|
161
|
+
op: '='
|
|
162
|
+
data:
|
|
163
|
+
leftOp: {type: FIELD, field: o.customer_id}
|
|
164
|
+
rightOp: {type: FIELD, field: c.id}
|
|
165
|
+
select: [{alias: o, field: sku}, {alias: c, field: name, as: customer_name}]
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
Variants: omit `joins` (single source), one `LEFT` join for optional enrichment (unmatched `from` rows kept with null join columns), `INNER` when rows without a match are meaningless; `CROSS`/`FULL` multiply rows — use only deliberately.
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### `data.joins[].entityType`
|
|
172
|
+
|
|
173
|
+
`entityType: TASK | REFERENCE | REPORT` — kind of profile entity the join reads: `TASK` a task's data table, `REFERENCE` a reference table, `REPORT` a report table. Exact uppercase; `SELF` is refused. Required; joins have no default kind.
|
|
174
|
+
|
|
175
|
+
```yaml
|
|
176
|
+
- key: READ_WITH_CUSTOMER
|
|
177
|
+
displayType: QUERY_MANY
|
|
178
|
+
data:
|
|
179
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
180
|
+
joins:
|
|
181
|
+
- entityType: REFERENCE # required; no default
|
|
182
|
+
entityId: 22222222-2222-4222-8222-222222222222
|
|
183
|
+
alias: c
|
|
184
|
+
joinType: LEFT
|
|
185
|
+
where:
|
|
186
|
+
op: '='
|
|
187
|
+
data:
|
|
188
|
+
leftOp: {type: FIELD, field: o.customer_id}
|
|
189
|
+
rightOp: {type: FIELD, field: c.id}
|
|
190
|
+
select: [{alias: o, field: sku}]
|
|
191
|
+
---
|
|
192
|
+
- key: READ_WITH_SHIPMENT
|
|
193
|
+
displayType: QUERY_MANY
|
|
194
|
+
data:
|
|
195
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
196
|
+
joins:
|
|
197
|
+
- entityType: TASK # joins another task's data table
|
|
198
|
+
entityId: 33333333-3333-4333-8333-333333333333
|
|
199
|
+
alias: s
|
|
200
|
+
joinType: LEFT
|
|
201
|
+
where:
|
|
202
|
+
op: '='
|
|
203
|
+
data:
|
|
204
|
+
leftOp: {type: FIELD, field: o.customer_id}
|
|
205
|
+
rightOp: {type: FIELD, field: s.id}
|
|
206
|
+
select: [{alias: o, field: sku}]
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
Choose `REFERENCE` for master/lookup data and `TASK` for rows collected by another task.
|
|
210
|
+
|
|
211
|
+
### `data.joins[].entityId`
|
|
212
|
+
|
|
213
|
+
`entityId: <uuid>` — id of an existing entity of that kind in the executing profile. Required; a missing, malformed or unknown id fails the step rather than joining nothing.
|
|
214
|
+
|
|
215
|
+
```yaml
|
|
216
|
+
- key: READ_WITH_CUSTOMER
|
|
217
|
+
displayType: QUERY_MANY
|
|
218
|
+
data:
|
|
219
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
220
|
+
joins:
|
|
221
|
+
- entityType: REFERENCE
|
|
222
|
+
entityId: 22222222-2222-4222-8222-222222222222 # required; no default
|
|
223
|
+
alias: c
|
|
224
|
+
joinType: LEFT
|
|
225
|
+
where:
|
|
226
|
+
op: '='
|
|
227
|
+
data:
|
|
228
|
+
leftOp: {type: FIELD, field: o.customer_id}
|
|
229
|
+
rightOp: {type: FIELD, field: c.id}
|
|
230
|
+
select: [{alias: o, field: sku}]
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### `data.joins[].alias`
|
|
234
|
+
|
|
235
|
+
`alias: <identifier>` — name used to reference the joined columns (`c.name`); must match `^[a-z0-9_]{1,63}$` and differ from the `from` alias and other joins. Required; duplicates are not renamed and fail in SQL.
|
|
236
|
+
|
|
237
|
+
```yaml
|
|
238
|
+
- key: READ_WITH_CUSTOMER
|
|
239
|
+
displayType: QUERY_MANY
|
|
240
|
+
data:
|
|
241
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
242
|
+
joins:
|
|
243
|
+
- entityType: REFERENCE
|
|
244
|
+
entityId: 22222222-2222-4222-8222-222222222222
|
|
245
|
+
alias: c # required; no default; distinct from o
|
|
246
|
+
joinType: LEFT
|
|
247
|
+
where:
|
|
248
|
+
op: '='
|
|
249
|
+
data:
|
|
250
|
+
leftOp: {type: FIELD, field: o.customer_id}
|
|
251
|
+
rightOp: {type: FIELD, field: c.id}
|
|
252
|
+
select: [{alias: o, field: sku}]
|
|
253
|
+
```
|
|
254
|
+
### `data.joins[].joinType`
|
|
255
|
+
|
|
256
|
+
`joinType: INNER | LEFT | RIGHT | FULL | CROSS | LEFT OUTER | RIGHT OUTER | FULL OUTER` — required. `LEFT` keeps every `from` row and fills joined columns with `null` when unmatched; `INNER` keeps only rows that match on both sides. The other spellings follow SQL semantics (see [Join types](query-dsl.QUERY-DSL.the-shape.join-types.md)). Runtime matching is case-insensitive; author uppercase.
|
|
257
|
+
|
|
258
|
+
### `data.joins[].where`
|
|
259
|
+
|
|
260
|
+
`where: <condition tree>` — the join's ON condition (there is no `on` field). Required for every join type except `CROSS`, which must omit it. Uses the same grammar as `data.where`.
|
|
261
|
+
|
|
262
|
+
```yaml
|
|
263
|
+
- key: READ_ORDERS
|
|
264
|
+
displayType: QUERY_MANY
|
|
265
|
+
data:
|
|
266
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
267
|
+
joins: # optional; defaults to no joins
|
|
268
|
+
- entityType: REFERENCE # required
|
|
269
|
+
entityId: 22222222-2222-4222-8222-222222222222 # required
|
|
270
|
+
alias: c # required; distinct from other aliases
|
|
271
|
+
joinType: LEFT # required; no default — keeps orders without a customer
|
|
272
|
+
where: # required for non-CROSS joins
|
|
273
|
+
op: '='
|
|
274
|
+
data:
|
|
275
|
+
leftOp: {type: FIELD, field: o.customer_id}
|
|
276
|
+
rightOp: {type: FIELD, field: c.id}
|
|
277
|
+
select: [{alias: o, field: sku}, {alias: c, field: name, as: customer_name}]
|
|
278
|
+
---
|
|
279
|
+
- key: READ_MATCHED_ORDERS
|
|
280
|
+
displayType: QUERY_MANY
|
|
281
|
+
data:
|
|
282
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
283
|
+
joins:
|
|
284
|
+
- entityType: REFERENCE
|
|
285
|
+
entityId: 22222222-2222-4222-8222-222222222222
|
|
286
|
+
alias: c
|
|
287
|
+
joinType: INNER # drops orders with no matching customer
|
|
288
|
+
where:
|
|
289
|
+
op: '='
|
|
290
|
+
data:
|
|
291
|
+
leftOp: {type: FIELD, field: o.customer_id}
|
|
292
|
+
rightOp: {type: FIELD, field: c.id}
|
|
293
|
+
select: [{alias: o, field: sku}]
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
Choose `LEFT` when the `from` row must survive a missing match, `INNER` when unmatched rows should be excluded.
|
|
297
|
+
|
|
298
|
+
### `data.select`, `data.select[]`
|
|
299
|
+
|
|
300
|
+
Syntax: `select: <list of {alias, field, as?} | {alias, star: true} | "alias.field [as name]">`
|
|
301
|
+
|
|
302
|
+
`select: [ <projection>, … ]` — required, non-empty list of columns to return; missing or empty fails with `select must contain at least one column.` Each entry is either the **object form** (preferred) or the **deprecated string form**. Both are validated as identifiers; neither passes through as raw SQL. Grammar: [Select projection](query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md#select-projection).
|
|
303
|
+
|
|
304
|
+
```yaml
|
|
305
|
+
- key: LIST_PROJECTED
|
|
306
|
+
rootStep: true
|
|
307
|
+
displayType: QUERY_MANY
|
|
308
|
+
data:
|
|
309
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
310
|
+
select: # required; no default (at least one entry)
|
|
311
|
+
- {alias: o, field: sku}
|
|
312
|
+
- {alias: o, field: status, as: state}
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
Variants: object `{alias, field, as?}` (preferred), `{alias, star: true}` for every column of an alias (may expose system columns), deprecated string `alias.field [as name]`.
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
### `data.select[].alias`, `data.select[].field`, `data.select[].as`, `data.select[].star`
|
|
319
|
+
|
|
320
|
+
- `alias: <identifier>` — required; the `from`/join alias the column comes from.
|
|
321
|
+
- `field: <identifier>` — the column to return; required unless `star: true`.
|
|
322
|
+
- `as: <identifier>` — optional output key; omitted means the column name is used.
|
|
323
|
+
- `star: true` — return every column of the alias; must not be combined with `field` or `as`.
|
|
324
|
+
|
|
325
|
+
All identifiers match `^[a-z0-9_]{1,63}$`. The output row keys are the `as` names (or field names).
|
|
326
|
+
|
|
327
|
+
```yaml
|
|
328
|
+
- key: READ_ORDERS
|
|
329
|
+
displayType: QUERY_MANY
|
|
330
|
+
data:
|
|
331
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
332
|
+
select: # required; no default
|
|
333
|
+
- {alias: o, field: sku} # output key: sku
|
|
334
|
+
- {alias: o, field: status, as: state} # as optional; output key: state
|
|
335
|
+
---
|
|
336
|
+
- key: READ_ALL_COLUMNS
|
|
337
|
+
displayType: QUERY_MANY
|
|
338
|
+
data:
|
|
339
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
340
|
+
select:
|
|
341
|
+
- {alias: o, star: true} # every column of o; no field/as allowed
|
|
342
|
+
---
|
|
343
|
+
- key: READ_ORDERS_SUGAR
|
|
344
|
+
displayType: QUERY_MANY
|
|
345
|
+
data:
|
|
346
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
347
|
+
select: # deprecated string form; still parsed and validated
|
|
348
|
+
- o.sku
|
|
349
|
+
- o.status as state
|
|
350
|
+
- o.*
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
Choose the object form: it states which identifier is which, and a validation error points at the exact member. The string form (`alias.field`, `alias.field as name`, `alias.*`) is accepted for compatibility only and is flagged as deprecated.
|
|
354
|
+
|
|
355
|
+
### `data.where`
|
|
356
|
+
|
|
357
|
+
Syntax: `where: <object>`
|
|
358
|
+
|
|
359
|
+
`where: <condition tree>` — optional row filter; absent means every row of the source is returned. It is a structured condition (`op` + `data` with `leftOp`/`rightOp` operands of type `FIELD`, `VALUE`, `PARAM` or `ARG`), not a SQL string and not template-rendered. Values are always bound as parameters. Operators, nesting (`AND`/`OR`), casts and null handling are defined in [Builder condition tree](query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md) and [Operands](query-dsl.QUERY-DSL.operands.md).
|
|
360
|
+
|
|
361
|
+
```yaml
|
|
362
|
+
- key: READ_OPEN_ORDERS
|
|
363
|
+
displayType: QUERY_MANY
|
|
364
|
+
data:
|
|
365
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
366
|
+
select: [{alias: o, field: sku}]
|
|
367
|
+
where: # optional; absent means no filter
|
|
368
|
+
op: '='
|
|
369
|
+
data:
|
|
370
|
+
leftOp: {type: FIELD, field: o.status}
|
|
371
|
+
rightOp: {type: VALUE, valueType: STRING, val: OPEN} # literal, still parameterized
|
|
372
|
+
---
|
|
373
|
+
- key: READ_ORDER_BY_SKU
|
|
374
|
+
displayType: QUERY_MANY
|
|
375
|
+
arguments:
|
|
376
|
+
sku: '{{ _outputs.PREPARE.sku }}'
|
|
377
|
+
data:
|
|
378
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
379
|
+
select: [{alias: o, field: sku}]
|
|
380
|
+
where:
|
|
381
|
+
op: '='
|
|
382
|
+
data:
|
|
383
|
+
leftOp: {type: FIELD, field: o.sku}
|
|
384
|
+
rightOp: {type: PARAM, val: sku} # value from root arguments.sku
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
Use `VALUE` for a fixed literal and `PARAM` (or `ARG` with `key`) for a value computed at runtime. Root `arguments` are rendered to strings before the query runs and bound as SQL parameters; parameters generated by the query itself win a name collision. See [Query arguments](query-dsl.QUERY-DSL.operands.query-arguments.md).
|
|
388
|
+
|
|
389
|
+
### `data.logOutput`
|
|
390
|
+
|
|
391
|
+
Syntax: `logOutput: <boolean>`
|
|
392
|
+
|
|
393
|
+
`logOutput: <boolean>` — `true` adds the full `rows` list to the step's diagnostic log; `false` logs only `count`. It never changes `_outputs`. Default `false`. Author a boolean.
|
|
394
|
+
|
|
395
|
+
```yaml
|
|
396
|
+
- key: READ_ORDERS
|
|
397
|
+
displayType: QUERY_MANY
|
|
398
|
+
data:
|
|
399
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
400
|
+
select: [{alias: o, field: sku}]
|
|
401
|
+
logOutput: true # defaults to false
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
### `data.maxStepIterations`
|
|
405
|
+
|
|
406
|
+
Syntax: `maxStepIterations: <number | null>`
|
|
407
|
+
|
|
408
|
+
`maxStepIterations: <integer >= 1>` — caps how many times this step key may run in one workflow run; exceeding it fails the run and bypasses `onError`. A root `maxStepIterations` takes precedence. See [cross-cutting step flags](hexasync://docs/steps/STEP-ENVELOPE/cross-cutting-step-flags).
|
|
409
|
+
|
|
410
|
+
```yaml
|
|
411
|
+
- key: READ_ORDERS
|
|
412
|
+
displayType: QUERY_MANY
|
|
413
|
+
data:
|
|
414
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: o}
|
|
415
|
+
select: [{alias: o, field: sku}]
|
|
416
|
+
maxStepIterations: 50 # defaults to 1000
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
## Behavior and failures
|
|
420
|
+
|
|
421
|
+
- Success always publishes both `rows` and `count`; zero matches is `{rows: [], count: 0}`, not a failure and not absent fields.
|
|
422
|
+
- The query has a fixed 30-second timeout and reads through the profile's own data connection.
|
|
423
|
+
- `orderBy`, `groupBy`, `limit`, `offset`, `responseFilters` and `gracefulException` are not query controls and are rejected by the schema.
|
|
424
|
+
- No graceful branch exists: every error below fails the step.
|
|
425
|
+
|
|
426
|
+
| Message / trigger | Cause | Correction |
|
|
427
|
+
| --- | --- | --- |
|
|
428
|
+
| `QUERY step: 'from' is required.` | `from` missing or null. | Supply a concrete `from`. |
|
|
429
|
+
| `select must contain at least one column.` | `select` missing, empty or not a list. | List at least one column. |
|
|
430
|
+
| `… 'SELF' is not supported …` | `SELF` in `from` or a join. | Use `TASK`/`REFERENCE`/`REPORT` with an `entityId`. |
|
|
431
|
+
| `Unsupported entity type: …` / `Cannot find table name for the specified entity type … and ID …` | Wrong casing/kind or unknown id. | Use uppercase kinds and an existing entity id. |
|
|
432
|
+
| `The raw 'QUERY' operand (verbatim SQL) is not allowed on the QUERY_SINGLE/QUERY_MANY path.` | Raw SQL operand in a condition. | Use `FIELD`, `VALUE`, `PARAM` or `ARG`. |
|
|
433
|
+
| Identifier error, missing parameter, unknown column, invalid join SQL, timeout | Syntax checks do not prove columns, aliases or bindings exist. | Fix the column/alias, bind the parameter, add the ON condition. |
|
|
434
|
+
|
|
435
|
+
## Examples
|
|
436
|
+
|
|
437
|
+
### Minimal
|
|
438
|
+
|
|
439
|
+
```yaml
|
|
440
|
+
- key: READ
|
|
441
|
+
rootStep: true
|
|
442
|
+
displayType: QUERY_MANY
|
|
443
|
+
data:
|
|
444
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: t}
|
|
445
|
+
select: [{alias: t, field: sku}]
|
|
446
|
+
next: null
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
With rows `A1` and `B2` in the task, `_outputs.READ` is `{rows: [{sku: A1}, {sku: B2}], count: 2}` (order not guaranteed).
|
|
450
|
+
|
|
451
|
+
### Composed
|
|
452
|
+
|
|
453
|
+
```yaml
|
|
454
|
+
- key: PREPARE
|
|
455
|
+
rootStep: true
|
|
456
|
+
displayType: VALUES
|
|
457
|
+
data:
|
|
458
|
+
values: [{sku: A1}]
|
|
459
|
+
responseFilters:
|
|
460
|
+
jsonata:
|
|
461
|
+
sku: {expression: '$[0].sku'}
|
|
462
|
+
next: READ
|
|
463
|
+
- key: READ
|
|
464
|
+
displayType: QUERY_MANY
|
|
465
|
+
arguments:
|
|
466
|
+
sku: '{{ _outputs.PREPARE.sku }}'
|
|
467
|
+
data:
|
|
468
|
+
from: {entityType: TASK, entityId: 11111111-1111-4111-8111-111111111111, alias: t}
|
|
469
|
+
select: [{alias: t, field: sku}]
|
|
470
|
+
where:
|
|
471
|
+
op: '='
|
|
472
|
+
data:
|
|
473
|
+
leftOp: {type: FIELD, field: t.sku}
|
|
474
|
+
rightOp: {type: PARAM, val: sku}
|
|
475
|
+
next: REPORT
|
|
476
|
+
- key: REPORT
|
|
477
|
+
displayType: Scriban
|
|
478
|
+
data:
|
|
479
|
+
matched: {expression: '{{ _outputs.READ.count }}'}
|
|
480
|
+
next: null
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
[`VALUES`](hexasync://docs/steps/VALUES#contract) publishes `{sku: "A1", …}`; READ binds it as a parameter and yields `{rows: [{sku: "A1"}], count: 1}` when such a row exists; the [`Scriban`](hexasync://docs/steps/Scriban#contract) step then yields `{matched: 1}`. With no matching row READ yields `{rows: [], count: 0}`.
|
|
484
|
+
|
|
485
|
+
## Boundaries and errors
|
|
486
|
+
|
|
487
|
+
- Rejected form: `from: {entityType: SELF, alias: t}` — fails before SQL; use a concrete entity and id.
|
|
488
|
+
- Rejected form: a condition operand `{type: QUERY, …}` — raw SQL is refused; use `FIELD`/`VALUE`/`PARAM`.
|
|
489
|
+
- Rejected form: `{alias: t, star: true, field: sku}` — `star` excludes `field`/`as`.
|
|
490
|
+
- An unknown but well-formed `entityId` fails resolution; it does not return an empty list.
|
|
491
|
+
- A non-`CROSS` join without `where` produces invalid SQL; a `CROSS` join with `where` is rejected by the schema.
|
|
492
|
+
|
|
493
|
+
## Best practices
|
|
494
|
+
|
|
495
|
+
- Prefer `QUERY_MANY` over raw SQL steps because identifiers are validated and values are always parameterized.
|
|
496
|
+
- Prefer explicit column projections over `star: true` because the output shape stays stable when the table gains columns and less data is held in memory.
|
|
497
|
+
- Prefer the object `select` form over the deprecated string form because errors point at the exact member.
|
|
498
|
+
- Always bound the result with `where`; avoid unfiltered reads of large tables because every row is materialized.
|
|
499
|
+
- Pass runtime values through `arguments` + `PARAM` rather than building literals with templates.
|
|
500
|
+
- Use `QUERY_SINGLE` when you expect one row; avoid indexing `rows[0]` because ordering is not guaranteed.
|
|
501
|
+
- Keep `logOutput: false` for large or sensitive results; turn it on only while diagnosing.
|
|
502
|
+
|
|
503
|
+
## Related
|
|
504
|
+
|
|
505
|
+
- [Step envelope](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component)
|
|
506
|
+
- [Builder Query DSL](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md)
|
|
507
|
+
- [Runtime context](hexasync://docs/expressions/CONTEXT-AND-IO/runtime-scope)
|
|
508
|
+
- [Tasks and tables](hexasync://docs/tasks/TASKS-AND-TABLES)
|
|
509
|
+
- [`QUERY_SINGLE`](steps.QUERY_SINGLE.md#contract)
|
|
510
|
+
- [Step family](hexasync://docs/steps/INDEX)
|