@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,27 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md) › [Scriban default and host custom builtins](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md).
|
|
2
|
+
|
|
3
|
+
### Host-qualified authoring examples
|
|
4
|
+
|
|
5
|
+
Minimal step argument, in a pusher whose item is `{name:"Red Shirt"}`:
|
|
6
|
+
|
|
7
|
+
```yaml
|
|
8
|
+
arguments:
|
|
9
|
+
lowercase: '{{ item.name | string.downcase }}'
|
|
10
|
+
slug: '{{ item.name | hexasync.string.to_slug }}'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Expected strings are `lowercase: "red shirt"`, `slug: "red-shirt"`. The first is a standard engine function, the second a registered host function. A supported payload can read them from `__this.arguments`; [argument publication](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing#map-arguments) explains why.
|
|
14
|
+
|
|
15
|
+
Composed dedicated item transformation, given `{__id:"an-existing-item-id",name:"Red Shirt"}`:
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
type: Scriban
|
|
19
|
+
metadata:
|
|
20
|
+
field_name: name_slug
|
|
21
|
+
expression: '{{ name | string.downcase | hexasync.string.to_slug }}'
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Expected writeback adds string `name_slug: "red-shirt"`; the original item fields remain. This caller uses bare `name`, not `item.name`, and does not seed step arguments or typed JSON output. A blank expression leaves the item unchanged. The [Scriban step](steps.Scriban.md) instead owns its named output map and JSON-looking typed projection. Invalid/non-copyable: `hexasync.obj.from_json 'not-json'` throws; there is no forgiving implicit fallback. Use valid JSON, and do not treat `escape_sql` as parameter binding.
|
|
25
|
+
|
|
26
|
+
The exact [Scriban item-transformation contract](hexasync://docs/transformations/TRANSFORMATIONS/transformation-types/scriban--compute-a-field-from-a-scriban-expression) owns target requiredness/writeback. Given numeric `qty: 2`, template `{{ qty + 1 }}` stores string `"3"` there. With the same available numeric input in a direct Scriban step's named field, the step consumer recognizes rendered `3` as JSON numeric text and publishes number `3`; a scalar argument still publishes `"3"`. The function environment is shared, but these caller result contracts are not. A JSON-looking malformed render is retained as text by the step, while a custom `from_json` failure still throws during rendering.
|
|
27
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## Scriban default and host custom builtins
|
|
4
|
+
|
|
5
|
+
The shared resolver defaults to **Scriban** for unrecognized wrappers/plain text. Dedicated Scriban fields render directly. Standard engine functions such as `string.downcase`, `string.size`, and `array.size` are separate from host custom functions; a generic engine does not automatically expose `hexasync.*`.
|
|
6
|
+
|
|
7
|
+
This section is served as 7 separate resources. Read the one you need:
|
|
8
|
+
|
|
9
|
+
- [Standard engine versus host custom functions](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md) — The host imports seven families: hexasync.string, date, enum, obj, item, array, numeric.
|
|
10
|
+
- [Custom array, enum, item and numeric functions](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md) — The enum functions bind signed 32-bit integer operands; their parameter names do not imply arbitrary-width masks.
|
|
11
|
+
- [Custom date functions](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md) — Date formats are .NET formats, not JavaScript/XPath picture tokens.
|
|
12
|
+
- [Custom object functions](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md) — ignore accepts an object sequence, string paths and comparison objects; JSON conversion accepts one string/value and uses the engine-injected context.
|
|
13
|
+
- [Custom string functions](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md) — Arguments/results are strings unless named otherwise: widths/counts are signed integers, switches are booleans, and trimChars is a character array.
|
|
14
|
+
- [Visibility and call-site constraints](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md) — Functions do not create roots.
|
|
15
|
+
- [Host-qualified authoring examples](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md) — Minimal step argument, in a pusher whose item is {name:"Red Shirt"}:
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md) › [Scriban default and host custom builtins](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md).
|
|
2
|
+
|
|
3
|
+
### Standard engine versus host custom functions
|
|
4
|
+
|
|
5
|
+
The host imports seven families: `hexasync.string`, `date`, `enum`, `obj`, `item`, `array`, `numeric`. Their 58 distinct script names have 59 public method declarations because `numeric.to_hexadecimal` has integer overloads. The tables below give author-facing signatures and effects. Parameters lacking a default are required; `...input` means remaining comparison objects. A Scriban pipe can provide the first argument. Internal template context is engine-injected for object conversion; do not pass it yourself. Default script-name projection is snake-case.
|
|
6
|
+
|
|
7
|
+
Every host function is called the same way in any Scriban position: `{{ hexasync.<family>.<function> arg1 arg2 }}`, or `{{ arg1 | hexasync.<family>.<function> arg2 }}` with a pipe. Each table row below gives an inline example. In full step context:
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
steps:
|
|
11
|
+
- key: PREPARE_ROW
|
|
12
|
+
displayType: QUERY_SINGLE
|
|
13
|
+
arguments:
|
|
14
|
+
slug: '{{ _inputs.name | hexasync.string.to_slug }}' # "Red Shirt" → red-shirt
|
|
15
|
+
code: '{{ hexasync.string.prefix _inputs.code 6 "0" }}' # "42" → 000042
|
|
16
|
+
label: '{{ hexasync.string.default _inputs.label "n/a" }}' # blank → n/a
|
|
17
|
+
day: '{{ hexasync.date.format _inputs.date "yyyy-MM-dd" "dd/MM/yyyy" }}' # 2026-10-11 → 11/10/2026
|
|
18
|
+
flags: '{{ hexasync.enum.add_bit 1 4 }}' # 5
|
|
19
|
+
payloadHash: '{{ hexasync.obj.fingerprint _inputs.payload }}' # 64-hex digest
|
|
20
|
+
data:
|
|
21
|
+
from: { entityType: TASK, entityId: '11111111-1111-4111-8111-111111111111', alias: _ }
|
|
22
|
+
select:
|
|
23
|
+
- { alias: _, field: sku }
|
|
24
|
+
where:
|
|
25
|
+
op: '='
|
|
26
|
+
data:
|
|
27
|
+
leftOp: { type: FIELD, field: _.slug }
|
|
28
|
+
rightOp: { type: ARG, key: slug }
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Prefer query bindings (`ARG`) over string escaping helpers such as `escape_sql`; escaping is string replacement, not injection protection.
|
|
32
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md) › [Scriban default and host custom builtins](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md).
|
|
2
|
+
|
|
3
|
+
### Visibility and call-site constraints
|
|
4
|
+
|
|
5
|
+
Functions do not create roots. The explicit parameter to `hexasync.item.*` does not supply `item` in every caller. Template parsing, parameter binding, custom function exceptions and caller conversion can each fail separately. Caller dictionaries merge shallowly with later values replacing earlier keys; nested objects are not recursively merged. A caller `hexasync` key collides with host registration and fails rather than replacing the function root.
|
|
6
|
+
|
|
7
|
+
Blank input or no context dictionaries short-circuits to trimmed/Unicode-normalized text without function evaluation. Normal rendering trims surrounding newline characters and ASCII spaces and Unicode-normalizes the result. The host disables string-conversion truncation; that is not an unlimited-resource or sandbox guarantee. Utility methods, adjacent JSON helpers and separate JSONata functions are not extra registered script names.
|
|
8
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## Shared StepIterator roots
|
|
4
|
+
|
|
5
|
+
| Runtime-owned path | Shape, creation timing and effect |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `__this.definition` | Current authored step object, seeded in the executor's shallow copied parameter dictionary immediately before argument parsing. A SQL-feeding transformation helper uses its transformation definition. This is not automatically copied back to the iterator's shared root. |
|
|
8
|
+
| `__this.arguments` / `_arguments` | Same parser string map in that executor/argument context; starts empty, accumulates earlier ordered entries, then completes before payload dispatch. Dedicated item transforms do not seed this. Map entries cannot depend on sibling results. |
|
|
9
|
+
| `__this.outputs` | Conditional new-kind/flow-labelled iterator addition: after a successful return, added only if the shared iterator root already has a dictionary `__this`. Ordinary base executor setup creates its own copied dictionary and does not publish it back; do not assume ordinary hosts make this self-reference available to routing. Read `_outputs.<currentKey>` after successful return instead. |
|
|
10
|
+
| `_outputs.<key>` | Latest successful output dictionary by exact step key; available after return and before routing, replaced on repeated success. New-kind flows seed from earlier flows; legacy phase calls start a fresh result accumulator. |
|
|
11
|
+
| `_outputs.__error` / `_outputs.<key>.error` | New-kind thrown error data only, published before failure propagation or recovery. See canonical error handling. |
|
|
12
|
+
| `_currentExecutionIndex` | Zero-based integer assigned before each call. The internal counter increments in cleanup; the visible root remains that call's index until the next call assigns it. Local to the iterator invocation, not a whole-job global counter. |
|
|
13
|
+
| `_history.<key>` | New-kind newest-first bounded **successful-return** occurrence array, created on first successful executor return. Thrown executor failures do not append records. Shape/population is described below. |
|
|
14
|
+
| `_context` | Host-installed shallow read-only base-context snapshot; not a deep-frozen runtime bag. Legacy puller/pusher/webhook snapshots predate `runStart` and iterator additions. New-kind snapshot includes initial `runStart`, `_inputs`, `__related_tasks` but predates iterator additions. Nested shared references can change. |
|
|
15
|
+
| `_settings` | Read-only dynamic key → string-or-null dictionary installed before traversal. Empty unless the resolved profile declares a nonempty `settings` array and a worker settings store is available; load failure logs that execution will run with none and supplies an empty map. Keys are deployment-dependent, not an invented authored context schema. |
|
|
16
|
+
| `runStart` | Host-installed Unix-millisecond integer captured once. Not a renderer/iterator universal default; standalone or untraced consumers may omit it. |
|
|
17
|
+
| `_executions` | **Legacy compatibility input**, not a current live append-only root. Current iteration imports an old list only when no current snapshot exists, then removes this key before traversal. Do not read it in new expressions. |
|
|
18
|
+
| `_execution_evidence` | **Outcome-only diagnostic snapshot**, not an in-step business root. Iterator entry consumes and removes a carried snapshot before environment/settings setup or executor dispatch. Live evidence belongs to a separate run-owned scope; only the invocation's outer outcome cleanup republishes a snapshot, not each completed occurrence. Use `_outputs` or supported LOOKUP_STEP history for workflow values instead. |
|
|
19
|
+
|
|
20
|
+
The ordinary base executor shallow-copies incoming context into its payload/argument parameters. Its newly assigned top-level `__this`, `_arguments`, `connector` and `_connection` are executor-local; the iterator does not copy those additions back. Shared nested values such as prior output maps remain references. The iterator's conditional `__this.outputs` mutation therefore does not prove a normal host created a shared `__this`. Read the current step's returned values through `_outputs.<stepKey>` when routing; within a supported step payload, use its local `__this.arguments`. Diagnostic history is distinct from both dictionaries.
|
|
21
|
+
|
|
22
|
+
The dashboard history/inspector can decode current and legacy carriers; that does not make all decoder-compatible fields available during execution. It identifies a step occurrence by exact key **and flow**, preserves counts for collapsed ranges, and cannot reconstruct discarded bodies. Diagnostic history is distinct from the runtime `_history` lookup ring. No profile field creates either diagnostic producer.
|
|
23
|
+
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
# `JSONata` — Reshape run data with JSONata
|
|
2
|
+
|
|
3
|
+
> Addressable through MCP as **`hexasync://docs/steps/JSONata`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`JSONata` computes named values from data already in the run without calling any system. `data` is directly a map of output names to `{expression}` objects; each expression is a JSONata program evaluated against the incoming step context (so prior results are read as `_outputs.<key>`). Results keep their JSON types (object, array, number, boolean, string).
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
Use it when you need to select, compute, aggregate or reshape values from earlier step outputs, or decode a JSON string with `$parseJson`.
|
|
12
|
+
|
|
13
|
+
Choose another step when you only need text templating — use [Scriban](steps.Scriban.md#contract) — or when you are transforming a single item outside a workflow (item transformations evaluate only the item and have no `_outputs` root; see [expression contexts](expressions.CONTEXT-AND-IO.md)).
|
|
14
|
+
|
|
15
|
+
## Syntax
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
- key: SHAPE
|
|
19
|
+
displayType: JSONata
|
|
20
|
+
data: # <map of output name → {expression}> optional; defaults to an empty map (no outputs)
|
|
21
|
+
total: # <output name> any non-reserved name
|
|
22
|
+
expression: '$sum(_outputs.LOAD.items.amount)' # <JSONata program string> required; no default
|
|
23
|
+
next: NEXT_STEP
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Sensible configuration
|
|
27
|
+
|
|
28
|
+
```yaml
|
|
29
|
+
- key: SHAPE
|
|
30
|
+
displayType: JSONata
|
|
31
|
+
data:
|
|
32
|
+
total: {expression: '$sum(_outputs.LOAD.items.amount)'}
|
|
33
|
+
first: {expression: '_outputs.LOAD.items[0]'}
|
|
34
|
+
next: NEXT_STEP
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
One output per value needed downstream, each a short, non-blank program reading explicit `_outputs.<key>` paths; sibling outputs cannot see each other, so compute dependent values in a later step.
|
|
38
|
+
|
|
39
|
+
**Output:** `_outputs.<key>` is an object with one member per output name whose program produced a non-null value. **Failure:** a malformed non-blank program fails the whole step; no partial result is published.
|
|
40
|
+
|
|
41
|
+
Each field is evaluated independently: a result from one output name is not visible to sibling expressions in the same step. Embedded `{{ }}` Scriban templates inside a program are rendered before the JSONata is evaluated.
|
|
42
|
+
|
|
43
|
+
Two extra functions are available in this step (and in [responseFilters.jsonata](hexasync://docs/responseFilters/RESPONSE-FILTERS/exact-authored-shape)) but not at item-transformation, argument or frontend sites:
|
|
44
|
+
|
|
45
|
+
- `$parseJson(text)` parses a JSON string. Undefined input stays undefined; non-string input and malformed JSON fail.
|
|
46
|
+
- `$fingerprint(value)` returns a stable SHA-256 digest of a value's structure (object key order normalised, array order and value types preserved). Undefined or unsupported input fails; explicit `null` is a valid input. Use it to compare raw response payloads, e.g. to detect a repeated page; see the [adjacent-page recipe](hexasync://docs/pullers/PULLERS/page-termination-and-the-four-platform-guards#adjacent-response-fingerprint-and-live-next-loop-arguments).
|
|
47
|
+
|
|
48
|
+
## Fields
|
|
49
|
+
|
|
50
|
+
### `data`
|
|
51
|
+
|
|
52
|
+
`data: { <name>: {expression: <jsonata>} } | null` — the output map. Missing, `null` or `{}` produces an empty output object. Any other non-object value fails. If `data` is present (even as `null`) it wins over the compatibility `input` spelling; see [STEP-ENVELOPE](hexasync://docs/steps/STEP-ENVELOPE/payload-selection-and-thrown-error-routing).
|
|
53
|
+
|
|
54
|
+
```yaml
|
|
55
|
+
- key: SHAPE
|
|
56
|
+
displayType: JSONata
|
|
57
|
+
data: # optional; defaults to {} (no outputs)
|
|
58
|
+
count: {expression: '$count(_outputs.LOAD.items)'}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Compatibility variant — the same map under `input`, used only when `data` is absent. Prefer `data` for new authoring.
|
|
62
|
+
|
|
63
|
+
```yaml
|
|
64
|
+
- key: SHAPE
|
|
65
|
+
displayType: JSONata
|
|
66
|
+
input:
|
|
67
|
+
count: {expression: '$count(_outputs.LOAD.items)'}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### `data.<name>`
|
|
71
|
+
|
|
72
|
+
`<name>: {expression: <string>} | null` — one output. `<name>` becomes the member name in `_outputs.<key>`, case preserved. A `null` entry is skipped.
|
|
73
|
+
|
|
74
|
+
```yaml
|
|
75
|
+
- key: SHAPE
|
|
76
|
+
displayType: JSONata
|
|
77
|
+
data:
|
|
78
|
+
orderTotal: {expression: '$sum(_outputs.LOAD.items.amount)'} # name is free-form; no default
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### `data.<name>.expression`
|
|
82
|
+
|
|
83
|
+
`expression: <jsonata program> | null` — the JSONata program, evaluated with the step context as its root. No default.
|
|
84
|
+
|
|
85
|
+
- Missing, `null`, empty or whitespace-only program → the output is skipped (no error).
|
|
86
|
+
- Program evaluates to `null` or undefined → the member is omitted.
|
|
87
|
+
- Program evaluates to `""` → the empty string is kept.
|
|
88
|
+
- Malformed non-blank program → the step fails.
|
|
89
|
+
|
|
90
|
+
Write the program unwrapped; do not wrap it in `$( … )` (that is argument syntax, not used here).
|
|
91
|
+
|
|
92
|
+
```yaml
|
|
93
|
+
- key: SHAPE
|
|
94
|
+
displayType: JSONata
|
|
95
|
+
data:
|
|
96
|
+
amount: {expression: '$parseJson(_outputs.LOAD.body).amount'} # required for a useful output; no default
|
|
97
|
+
label: {expression: '"Order " & _outputs.LOAD.id'}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Embedded Scriban variant — any `{{ … }}` template inside the program is rendered to text first, against the same incoming step context, and the rendered text is then evaluated as JSONata. Choose it only when part of the program itself (such as a field name) comes from an earlier step; for ordinary values, read `_outputs` directly in JSONata.
|
|
101
|
+
|
|
102
|
+
```yaml
|
|
103
|
+
- key: CONFIG
|
|
104
|
+
rootStep: true
|
|
105
|
+
displayType: VALUES
|
|
106
|
+
data:
|
|
107
|
+
values: [{field: amount}]
|
|
108
|
+
next: SHAPE
|
|
109
|
+
- key: SHAPE
|
|
110
|
+
displayType: JSONata
|
|
111
|
+
data:
|
|
112
|
+
picked: {expression: '$sum(_outputs.LOAD.items.{{ _outputs.CONFIG.items[0].field }})'} # renders to $sum(_outputs.LOAD.items.amount)
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Examples
|
|
116
|
+
|
|
117
|
+
### Minimal
|
|
118
|
+
|
|
119
|
+
```yaml
|
|
120
|
+
- key: TOTAL
|
|
121
|
+
rootStep: true
|
|
122
|
+
displayType: JSONata
|
|
123
|
+
data:
|
|
124
|
+
total: {expression: '$sum([2,3])'}
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
`_outputs.TOTAL = {total: 5}` (numeric value preserved).
|
|
128
|
+
|
|
129
|
+
## Composed response parsing
|
|
130
|
+
|
|
131
|
+
```yaml
|
|
132
|
+
- key: SEED
|
|
133
|
+
rootStep: true
|
|
134
|
+
displayType: VALUES
|
|
135
|
+
data:
|
|
136
|
+
values: [{body: '{"amount":2}'}]
|
|
137
|
+
next: PARSE
|
|
138
|
+
- key: PARSE
|
|
139
|
+
displayType: JSONata
|
|
140
|
+
data:
|
|
141
|
+
amount: {expression: '$parseJson(_outputs.SEED.items[0].body).amount'}
|
|
142
|
+
missing: {expression: '_outputs.SEED.items[0].absent'}
|
|
143
|
+
next: LABEL
|
|
144
|
+
- key: LABEL
|
|
145
|
+
displayType: Scriban
|
|
146
|
+
data:
|
|
147
|
+
amount: {expression: '{{ _outputs.PARSE.amount }}'}
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
[VALUES](hexasync://docs/steps/VALUES#contract) publishes the row first. `_outputs.PARSE = {amount: 2}`: the string body is decoded and the undefined `missing` member is omitted. [Scriban](steps.Scriban.md#contract) then keeps `2` as a number.
|
|
151
|
+
|
|
152
|
+
## Boundaries and correction
|
|
153
|
+
|
|
154
|
+
- Rejected form: `data: {jsonata: {amount: {expression: ...}}}` — that is response-filter syntax. Put `amount` directly under `data`.
|
|
155
|
+
- A blank program silently omits its output, while a malformed non-blank one fails the step.
|
|
156
|
+
- `data: {blank: {expression: '""'}, nil: {expression: 'null'}, skipped: {expression: ' '}}` produces `{blank: ""}`: blankness is checked on the program text, omission on the evaluated value.
|
|
157
|
+
- `data: {bad: {expression: '$sum('}}` fails without a partial result. Fix the program; an `onError` route ([STEP-ENVELOPE](hexasync://docs/steps/STEP-ENVELOPE/payload-selection-and-thrown-error-routing)) can handle the failure but does not turn it into a success.
|
|
158
|
+
- Explicit `data: null` wins over a usable `input`; the step produces `{}`.
|
|
159
|
+
- Do not depend on sibling outputs within the same step, or on `$parseJson`/`$fingerprint` at item-transformation or argument sites.
|
|
160
|
+
- `acceptedStatuses` (a response-filter member) has no effect here; a leaf with only `acceptedStatuses` is skipped. Author only `expression`.
|
|
161
|
+
|
|
162
|
+
No-op forms that are schema-valid but produce nothing:
|
|
163
|
+
|
|
164
|
+
```yaml
|
|
165
|
+
- key: EMPTY
|
|
166
|
+
rootStep: true
|
|
167
|
+
displayType: JSONata
|
|
168
|
+
data: null
|
|
169
|
+
input:
|
|
170
|
+
ignored: {expression: '123'}
|
|
171
|
+
next: SHAPE
|
|
172
|
+
- key: SHAPE
|
|
173
|
+
displayType: JSONata
|
|
174
|
+
data:
|
|
175
|
+
blank: {expression: '""'}
|
|
176
|
+
nil: {expression: 'null'}
|
|
177
|
+
missing: {expression: '_outputs.EMPTY.absent'}
|
|
178
|
+
skipped: {expression: ' '}
|
|
179
|
+
noProgram: {}
|
|
180
|
+
nullLeaf: null
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
`_outputs.EMPTY = {}` and `_outputs.SHAPE = {blank: ""}`. These are tolerated, not recommended.
|
|
184
|
+
|
|
185
|
+
## Best practices
|
|
186
|
+
|
|
187
|
+
- Prefer one output per downstream value over one large object, because consumers then reference stable, named members.
|
|
188
|
+
- Prefer explicit `_outputs.<key>` paths over relying on context shape, because the root is the whole step context.
|
|
189
|
+
- Avoid embedding Scriban inside JSONata unless you need text substitution, because it complicates quoting and error messages.
|
|
190
|
+
- Avoid blank programs as placeholders, because they silently produce nothing.
|
|
191
|
+
- Prefer `$exists(...)` checks when downstream logic must distinguish "missing" from a value, because null/undefined results are omitted rather than stored.
|
|
192
|
+
- Use `$fingerprint` only after validating status and payload, and carry the digest as an ordinary argument to the next loop.
|
|
193
|
+
|
|
194
|
+
## Related
|
|
195
|
+
|
|
196
|
+
- [Workflow and step envelope](hexasync://docs/steps/STEP-ENVELOPE)
|
|
197
|
+
- [Context and expression dialects](expressions.CONTEXT-AND-IO.md)
|
|
198
|
+
- [Scriban step](steps.Scriban.md#contract)
|
|
199
|
+
- [Routing](hexasync://docs/routing/NEXT)
|
|
200
|
+
- [All step types](hexasync://docs/steps/INDEX)
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# `Liquid` — not implemented (use Scriban or JSONata)
|
|
2
|
+
|
|
3
|
+
> Addressable through the MCP as **`hexasync://docs/steps/Liquid`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`Liquid` is a recognized step name with **no implementation**: running it always fails with `Liquid executor is not implemented yet.` It has no payload fields, no options and no output. It is excluded from authoring completion and kept only so existing definitions can be diagnosed.
|
|
8
|
+
|
|
9
|
+
Purpose: none at runtime.
|
|
10
|
+
|
|
11
|
+
## When to use
|
|
12
|
+
|
|
13
|
+
Never — do not author it. Use [Scriban](steps.Scriban.md#contract) for text/template rendering or [JSONata](steps.JSONata.md#contract) for structured transformation. Replace any existing `Liquid` step you find.
|
|
14
|
+
|
|
15
|
+
## Syntax
|
|
16
|
+
|
|
17
|
+
`displayType: Liquid` (exact case) is recognized but never executable. No field (`data`, `input`, `arguments`, `logOutput`, `gracefulException`) changes the outcome, so there is no copyable skeleton for this type; the skeleton of the supported replacement is:
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
- key: RENDER
|
|
21
|
+
displayType: Scriban
|
|
22
|
+
data: # <map of output name → {expression}> optional; defaults to an empty map
|
|
23
|
+
label: # <output name>
|
|
24
|
+
expression: '{{ 1 + 1 }}' # <Scriban template string> required; no default
|
|
25
|
+
next: null # <step key | null> optional; absent ends the flow
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Sensible configuration
|
|
29
|
+
|
|
30
|
+
```yaml
|
|
31
|
+
- key: RENDER
|
|
32
|
+
rootStep: true
|
|
33
|
+
displayType: Scriban
|
|
34
|
+
data:
|
|
35
|
+
label: {expression: hello}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Migrate to Scriban for string templates (rewrite the expressions — the dialects differ) or to JSONata when the result must be reshaped JSON; a `Liquid` step can only fail.
|
|
39
|
+
|
|
40
|
+
## Rejected form — not copyable
|
|
41
|
+
|
|
42
|
+
Rejected form (non-copyable) — recognized name, execution always fails:
|
|
43
|
+
|
|
44
|
+
```yaml
|
|
45
|
+
- key: RENDER
|
|
46
|
+
rootStep: true
|
|
47
|
+
displayType: Liquid
|
|
48
|
+
data: '{{ item.name }}'
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The step fails before anything is rendered; `onError` can route around the failure but never yields a Liquid result.
|
|
52
|
+
|
|
53
|
+
## Alternative
|
|
54
|
+
|
|
55
|
+
Scriban and JSONata are not Liquid-compatible aliases: rewrite the expressions and use their `data.<output>.expression` map.
|
|
56
|
+
|
|
57
|
+
Minimal replacement — render a literal:
|
|
58
|
+
|
|
59
|
+
```yaml
|
|
60
|
+
- key: RENDER
|
|
61
|
+
rootStep: true
|
|
62
|
+
displayType: Scriban
|
|
63
|
+
data:
|
|
64
|
+
label: {expression: hello}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
`_outputs.RENDER = {label: "hello"}`.
|
|
68
|
+
|
|
69
|
+
Composed replacement — render a value produced earlier:
|
|
70
|
+
|
|
71
|
+
```yaml
|
|
72
|
+
- key: SEED
|
|
73
|
+
rootStep: true
|
|
74
|
+
displayType: VALUES
|
|
75
|
+
data:
|
|
76
|
+
values: [{name: Ada}]
|
|
77
|
+
next: RENDER
|
|
78
|
+
- key: RENDER
|
|
79
|
+
displayType: Scriban
|
|
80
|
+
data:
|
|
81
|
+
label: {expression: '{{ _outputs.SEED.items[0].name }}'}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
`_outputs.RENDER = {label: "Ada"}`. Choose Scriban for string templates; choose JSONata when you need to reshape, filter or aggregate JSON.
|
|
85
|
+
|
|
86
|
+
## Best practices
|
|
87
|
+
|
|
88
|
+
- Replace every `Liquid` step when you find one: it can only fail.
|
|
89
|
+
- Migrate the template syntax deliberately (filters, loops and conditionals differ between dialects); see [expression dialects](expressions.CONTEXT-AND-IO.md).
|
|
90
|
+
|
|
91
|
+
## Related
|
|
92
|
+
|
|
93
|
+
- [Scriban](steps.Scriban.md#contract), [JSONata](steps.JSONata.md#contract)
|
|
94
|
+
- [Workflow and step envelope](hexasync://docs/steps/STEP-ENVELOPE)
|
|
95
|
+
- [All step types](hexasync://docs/steps/INDEX)
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# `Scriban` — Render values with Scriban templates
|
|
2
|
+
|
|
3
|
+
> Addressable through the MCP as **`hexasync://docs/steps/Scriban`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`Scriban` computes named values from data already in the run, without calling any system. `data` is directly a map of output names to `{expression}` objects; each expression is a Scriban template rendered against the incoming step context (prior results are read as `_outputs.<key>`). Each field is rendered independently: a value produced by one output name is not visible to sibling fields in the same step.
|
|
8
|
+
|
|
9
|
+
The rendered text is trimmed and then **shaped**:
|
|
10
|
+
|
|
11
|
+
- text that starts with `{` or `[` and is valid JSON becomes the object or array;
|
|
12
|
+
- text that is exactly a number, `true`, `false` or `null` (lowercase) becomes that number, boolean or null;
|
|
13
|
+
- everything else stays a string — including invalid JSON-looking text such as `{broken`, a quoted `"hello"` (kept with its quotes) and `TRUE`;
|
|
14
|
+
- blank output omits the field.
|
|
15
|
+
|
|
16
|
+
Output, stored at `_outputs.<key>`: an object with one member per output name that rendered non-blank text. A malformed Scriban template fails the whole step with a message naming the field; no partial result is published.
|
|
17
|
+
|
|
18
|
+
## When to use
|
|
19
|
+
|
|
20
|
+
- Use `Scriban` for **text templating**: building labels, messages, identifiers, URLs, or a small JSON document assembled from text pieces, and for re-typing a rendered value (a rendered `5` becomes the number 5).
|
|
21
|
+
- Use [JSONata](steps.JSONata.md#contract) for **structural transforms**: selecting, filtering, aggregating, mapping arrays, or building nested objects from existing data. JSONata keeps JSON types natively, so it does not depend on rendered text looking like JSON.
|
|
22
|
+
- Use [VALUES](hexasync://docs/steps/VALUES#contract) for static seed rows that downstream steps read as `items`.
|
|
23
|
+
- `Liquid` syntax is not supported; rewrite it as Scriban (see [Liquid](steps.Liquid.md#alternative)).
|
|
24
|
+
|
|
25
|
+
## Syntax
|
|
26
|
+
|
|
27
|
+
```yaml
|
|
28
|
+
- key: RENDER
|
|
29
|
+
displayType: Scriban
|
|
30
|
+
data: # optional object or null; defaults to empty (no outputs)
|
|
31
|
+
<outputName>: # output member name, used unchanged
|
|
32
|
+
expression: '<scriban template>' # string; blank result omits the member
|
|
33
|
+
<otherName>: null # null entries are skipped
|
|
34
|
+
next: NEXT_STEP
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Shared envelope fields (`arguments`, `next`, `onError`, flags) are described in [arguments and routing](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing) and [cross-cutting step flags](hexasync://docs/steps/STEP-ENVELOPE/cross-cutting-step-flags). This step reads no step-specific arguments; resolved arguments are available to templates as `__this.arguments`.
|
|
38
|
+
|
|
39
|
+
## Sensible configuration
|
|
40
|
+
|
|
41
|
+
One output per value needed downstream; each template reads explicit `_outputs.<key>` paths and produces either plain text or a whole JSON value.
|
|
42
|
+
|
|
43
|
+
```yaml
|
|
44
|
+
- key: SEED
|
|
45
|
+
rootStep: true
|
|
46
|
+
displayType: VALUES
|
|
47
|
+
data:
|
|
48
|
+
values: [{sku: A-1, quantity: 2}]
|
|
49
|
+
next: RENDER
|
|
50
|
+
- key: RENDER
|
|
51
|
+
displayType: Scriban
|
|
52
|
+
data:
|
|
53
|
+
label: {expression: 'Item {{ _outputs.SEED.items[0].sku }}'}
|
|
54
|
+
quantity: {expression: '{{ _outputs.SEED.items[0].quantity }}'}
|
|
55
|
+
payload: {expression: '{"sku":"{{ _outputs.SEED.items[0].sku }}","quantity":{{ _outputs.SEED.items[0].quantity }}}'}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Expected `_outputs.RENDER = {label: "Item A-1", quantity: 2, payload: {sku: "A-1", quantity: 2}}`. `label` is text, `quantity` is re-typed as a number, and `payload` is decoded into an object.
|
|
59
|
+
|
|
60
|
+
## Fields
|
|
61
|
+
|
|
62
|
+
### `data`
|
|
63
|
+
|
|
64
|
+
Syntax: `data: { <name>: {expression: <string>} } | null`
|
|
65
|
+
|
|
66
|
+
The output map. Absent, `null` or `{}` produces an empty output object. A non-object value fails the step. When `data` is present (even as `null`) it wins over the compatibility `input` spelling; see [payload selection](hexasync://docs/steps/STEP-ENVELOPE/payload-selection-and-thrown-error-routing). Put output names directly under `data`; there is no `scriban:` wrapper.
|
|
67
|
+
|
|
68
|
+
```yaml
|
|
69
|
+
- key: RENDER
|
|
70
|
+
displayType: Scriban
|
|
71
|
+
data: # optional; defaults to {} (no outputs)
|
|
72
|
+
greeting: {expression: 'Hello {{ _inputs.name }}'}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### `data.<name>`
|
|
76
|
+
|
|
77
|
+
Syntax: `<name>: {expression: <string|null>} | null`
|
|
78
|
+
|
|
79
|
+
Each member name becomes an output member with the same name (case preserved). A `null` entry is skipped, which is handy for temporarily disabling a field. Avoid the name `outputs`: a returned `outputs` member is treated as a result wrapper, not an ordinary field (see [executor results](hexasync://docs/steps/STEP-ENVELOPE/executor-results-graceful-returns-and-run-error-data)); prefer a name such as `payload`.
|
|
80
|
+
|
|
81
|
+
```yaml
|
|
82
|
+
- key: RENDER
|
|
83
|
+
displayType: Scriban
|
|
84
|
+
data:
|
|
85
|
+
summary: {expression: '{{ _outputs.LOAD.count }} rows'} # emitted as _outputs.RENDER.summary
|
|
86
|
+
disabled: null # skipped; no member emitted
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### `data.<name>.expression`
|
|
90
|
+
|
|
91
|
+
Syntax: `expression: <string | null>`
|
|
92
|
+
|
|
93
|
+
A Scriban template rendered against the incoming context, then trimmed and shaped as described in [Contract](#contract). No default: a missing, `null` or blank expression, or a template that renders blank, omits the member. Host functions such as the `hexasync.*` helpers are available; see [Scriban builtins](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md).
|
|
94
|
+
|
|
95
|
+
Variants:
|
|
96
|
+
|
|
97
|
+
- **Literal text** — no `{{ }}`; the text is used as-is (still shaped, so `'42'` becomes a number and `'true'` a boolean).
|
|
98
|
+
- **Interpolated text** — text with `{{ ... }}` pieces; the result is normally a string.
|
|
99
|
+
- **Typed scalar** — a single `{{ ... }}` producing a number or boolean; the rendered text is re-typed.
|
|
100
|
+
- **JSON document** — a template whose whole output is a JSON object or array; it is decoded into structured data.
|
|
101
|
+
|
|
102
|
+
```yaml
|
|
103
|
+
- key: RENDER
|
|
104
|
+
displayType: Scriban
|
|
105
|
+
data:
|
|
106
|
+
source: {expression: source-system} # literal text → "source-system"; no default
|
|
107
|
+
label: {expression: 'Order {{ _outputs.SEED.items[0].id }}'} # interpolated text → string
|
|
108
|
+
total: {expression: '{{ _outputs.SEED.items[0].quantity * 2 }}'} # typed scalar → number
|
|
109
|
+
flags: {expression: '{"active":true,"tags":["new"]}'} # JSON document → object
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Choose literal text for constants, interpolation for messages and identifiers, a typed scalar when a downstream condition compares numbers or booleans, and a JSON document only for small fixed shapes — for anything computed from arrays use [JSONata](steps.JSONata.md#contract).
|
|
113
|
+
|
|
114
|
+
## Best practices
|
|
115
|
+
|
|
116
|
+
- **Pick the dialect by the job.** Prefer Scriban for text; prefer JSONata for structure, because Scriban produces text first and only recovers types when the whole result looks like JSON.
|
|
117
|
+
- **Validate structured results.** Invalid JSON-looking output stays a string and does not fail the step. When a downstream step needs an object, build it in JSONata or check its type before use.
|
|
118
|
+
- **Escape inserted text inside JSON templates.** Inserting a value that contains a quote or newline into a JSON document template produces invalid JSON, which silently stays a string. Insert only safe values, or build the object in JSONata.
|
|
119
|
+
- **Render one whole value per field.** `{{ x }}` alone is re-typed; `id-{{ x }}` is always text. Do not mix text and a value you expect as a number.
|
|
120
|
+
- **Expect blank to mean absent.** A field that renders empty is omitted rather than set to `""`; downstream templates should tolerate the missing member.
|
|
121
|
+
- **Check presence before hashing or comparing.** A missing member resolves to null, so a fingerprint or equality check alone cannot tell a missing value from an explicit null.
|
|
122
|
+
|
|
123
|
+
## Boundary and failure cases
|
|
124
|
+
|
|
125
|
+
The following step succeeds and shows the shaping edges:
|
|
126
|
+
|
|
127
|
+
```yaml
|
|
128
|
+
- key: EDGES
|
|
129
|
+
rootStep: true
|
|
130
|
+
displayType: Scriban
|
|
131
|
+
data:
|
|
132
|
+
nil: {expression: 'null'}
|
|
133
|
+
quoted: {expression: '"hello"'}
|
|
134
|
+
upper: {expression: 'TRUE'}
|
|
135
|
+
broken: {expression: '{broken'}
|
|
136
|
+
blank: {expression: '{{ "" }}'}
|
|
137
|
+
noProgram: {}
|
|
138
|
+
nullLeaf: null
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Expected `_outputs.EDGES = {nil: null, quoted: "\"hello\"", upper: "TRUE", broken: "{broken"}`; `blank`, `noProgram` and `nullLeaf` are absent. A rendered `null` is present as null, unlike a blank result.
|
|
142
|
+
|
|
143
|
+
- **Malformed template fails.** An incomplete construct such as `{{ if }}` fails the step with a parse error naming the field; earlier fields are not published. Fix the template; use [thrown-error routing](hexasync://docs/steps/STEP-ENVELOPE/payload-selection-and-thrown-error-routing) only for intentional recovery. This step has no graceful-return mode.
|
|
144
|
+
- **Malformed JSON output does not fail.** It stays a string (see `broken` above).
|
|
145
|
+
- **No sibling references.** `_outputs.<thisKey>` does not contain this run's fields while the step renders; chain a second step to reuse a computed value.
|
|
146
|
+
- **`acceptedStatuses` on a leaf has no effect** here; there is no HTTP status filtering in this step.
|
|
147
|
+
|
|
148
|
+
## Related
|
|
149
|
+
|
|
150
|
+
- [JSONata](steps.JSONata.md#contract) — structural transforms with native JSON types.
|
|
151
|
+
- [VALUES](hexasync://docs/steps/VALUES#contract) — static seed rows.
|
|
152
|
+
- [Dialect classification and Scriban fallback](expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md)
|
|
153
|
+
- [Scriban builtins](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md)
|
|
154
|
+
- [Workflow and step envelope](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component)
|
|
155
|
+
- [Routing](hexasync://docs/routing/NEXT#worker-contract)
|
|
156
|
+
- [All step types](hexasync://docs/steps/INDEX)
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hexasync-field-mapping
|
|
3
|
+
description: "HexaSync field mapping: mapping API/event members to snake_case task columns before saving (SAVE_TASK_DATA), explicit destination bodies for push, rename/clone transformations, JSONata/Scriban mapping expressions. Use when mapping fields between an external payload and task tables."
|
|
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
|
+
# Field mapping
|
|
13
|
+
|
|
14
|
+
Upserts one page of rows into the table of a statically identified task. Fetching a page does not save it: a step list that should persist data must contain this step (or [DIRECT_INDEX](hexasync://docs/steps/DIRECT_INDEX#contract)). The page comes from `data.items` or, when `items` is absent or null, from the JSONPath `data.dataPath`. Every object in the page becomes one row; rows are matched on the task's declared key, so repeating a save is idempotent for unchanged data. Each saved row is stamped with the run boundary `runStart` as its `__last_seen` freshness, which is what a later [TRACK_FOR_REMOVAL](hexasync://docs/steps/TRACK_FOR_REMOVAL#contract) sweep compares against. A row that reappears after being marked Removed has Removed cleared and Changed set. The step does not enqueue rows for pushing and does not create versions.
|
|
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. `SAVE_TASK_DATA`, `Rename`. It returns the authoritative syntax, meaning, default and a YAML example.
|
|
24
|
+
3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `explicit field mapping save task data`). 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
|
+
- **Save, then sweep only after a complete successful snapshot.** Removal tracking compares `__last_seen` with `runStart`; running it after a partial page, a failed page or a single-item save marks every row you did not reach as removed even though it is still live. _([SAVE_TASK_DATA — Save Task Data](references/steps.SAVE_TASK_DATA.md#best-practices))_
|
|
33
|
+
- Prefer one `runStart` for the whole run (the host default) over per-row `__last_seen` overrides, so saves and sweeps agree on what "seen this run" means. _([SAVE_TASK_DATA — Save Task Data](references/steps.SAVE_TASK_DATA.md#best-practices))_
|
|
34
|
+
- Prefer explicit `__is_removed: true` when the source reports deletions; it is precise, whereas a sweep infers deletions from absence. _([SAVE_TASK_DATA — Save Task Data](references/steps.SAVE_TASK_DATA.md#best-practices))_
|
|
35
|
+
- Map every column explicitly in a JSONata step ([Explicit field mapping](#explicit-field-mapping)) and save that step's rows with `dataPath`; never save a raw API page as-is. _([SAVE_TASK_DATA — Save Task Data](references/steps.SAVE_TASK_DATA.md#best-practices))_
|
|
36
|
+
- Avoid Scriban-built JSON for untrusted values; when you must, serialise each value with `hexasync.obj.to_json`. _([SAVE_TASK_DATA — Save Task Data](references/steps.SAVE_TASK_DATA.md#best-practices))_
|
|
37
|
+
- Use `seen_total` (not `affected`) as the guard value for a following sweep. _([SAVE_TASK_DATA — Save Task Data](references/steps.SAVE_TASK_DATA.md#best-practices))_
|
|
38
|
+
- **Map explicitly**: name every destination member and its source column ([explicit mapping for push](#explicit-mapping-for-push)); never forward the whole item. _([Transformations](references/transformations.TRANSFORMATIONS.best-practices.md))_
|
|
39
|
+
- **Prefer `QUERY_SINGLE`/`QUERY_MANY` over `SQL`/`Nested_SQL`**: they build parameterized SQL from validated identifiers, so values can't inject SQL and typos fail early. When migrating, keep in mind that `SQL` replacement aborts on no row while `QUERY_SINGLE` does not. _([Transformations](references/transformations.TRANSFORMATIONS.best-practices.md))_
|
|
40
|
+
- **Prefer `Jsonata` over `Scriban` for non-text values**: Scriban always writes text. _([Transformations](references/transformations.TRANSFORMATIONS.best-practices.md))_
|
|
41
|
+
- **Prefer merge over replacement**: replacement discards fields later entries may need. _([Transformations](references/transformations.TRANSFORMATIONS.best-practices.md))_
|
|
42
|
+
- **Use distinct, spaced indexes** (10, 20, 30) and give every entry a stable `id`. _([Transformations](references/transformations.TRANSFORMATIONS.best-practices.md))_
|
|
43
|
+
- **Check collisions**: `Rename` and `Clone` never overwrite; plan target names or use an expression type when overwriting is intended. _([Transformations](references/transformations.TRANSFORMATIONS.best-practices.md))_
|
|
44
|
+
- **Make lookups deterministic**: a single-row lookup without a selective `where` (or `ORDER BY` in raw SQL) returns an arbitrary match. _([Transformations](references/transformations.TRANSFORMATIONS.best-practices.md))_
|
|
45
|
+
- **Alias projected columns** (`as`) so a lookup cannot silently overwrite an item field. _([Transformations](references/transformations.TRANSFORMATIONS.best-practices.md))_
|
|
46
|
+
- **Avoid relying on preview success**: soft no-ops also report success; verify the expected field is present. _([Transformations](references/transformations.TRANSFORMATIONS.best-practices.md))_
|
|
47
|
+
- **Prefer explicit physical types.** Set `dbType` on every column; the default `varchar(65535)` sorts and compares numbers and dates as text. _([Tables and columns](references/tables.TABLES.best-practices.md))_
|
|
48
|
+
- **Prefer one source id plus explicit `KEYS`.** It keeps identity, editing rules and diagnostics consistent. _([Tables and columns](references/tables.TABLES.best-practices.md))_
|
|
49
|
+
- **Track what matters.** Only tracked columns trigger pushes; avoid tracking volatile columns (e.g. a source "last read" time) that change on every pull. The deliberate exception is a time-window column on a helper task built for [periodic processing](hexasync://docs/startupTasks/STARTUP-TASKS#periodic-processing-through-a-trigger-task). _([Tables and columns](references/tables.TABLES.best-practices.md))_
|
|
50
|
+
- **Index for real queries.** Avoid speculative groups; each index slows writes. _([Tables and columns](references/tables.TABLES.best-practices.md))_
|
|
51
|
+
- **Map every column explicitly at save.** Ingest writes every business column from a member of the same name, so SQL defaults rarely apply; map and default values in the [mapping step](references/steps.SAVE_TASK_DATA.md#explicit-field-mapping). _([Tables and columns](references/tables.TABLES.best-practices.md))_
|
|
52
|
+
- 1 more of 21: every page's own *Best practices* section is in [`references/`](references/INDEX.md).
|
|
53
|
+
|
|
54
|
+
## References
|
|
55
|
+
|
|
56
|
+
[`references/INDEX.md`](references/INDEX.md) maps every section of *SAVE_TASK_DATA — Save Task Data*, *Transformations*, *Tables and columns* and lists the questions this skill answers. Open only the section you need.
|
|
57
|
+
|
|
58
|
+
## Installing the MCP server
|
|
59
|
+
|
|
60
|
+
If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@latest`).
|