@beehexa/hexasync-ai-toolkit 0.0.0-stage → 2610.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +31 -0
- package/.claude-plugin/plugin.json +19 -0
- package/.codex-plugin/plugin.json +37 -0
- package/.cursor-plugin/mcp.json +12 -0
- package/.cursor-plugin/plugin.json +20 -0
- package/.mcp.json +11 -0
- package/README.md +62 -2
- package/dist/cli.js +2935 -0
- package/gemini-extension.json +14 -0
- package/openclaw.extension.mjs +9 -0
- package/openclaw.plugin.json +14 -0
- package/package.json +69 -3
- package/plugin.json +21 -0
- package/skills/hexasync-connections/SKILL.md +36 -0
- package/skills/hexasync-connections/references/INDEX.md +33 -0
- package/skills/hexasync-connections/references/INSTALL.md +35 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.authentication-and-setup-steps.md +64 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +96 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.compiled-connector-hooks.md +23 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-authentication.md +36 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-rate-limiting.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.fields.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +54 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +84 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.never-invent-a-systemcode.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +16 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +9 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.resolution-and-transport-scope.md +8 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +22 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-collection-both-accepted.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-provider-with-defined-precedence.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.unsupported-authentication.md +26 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.untyped-options-generic-validity-is-not-provider-completeness.md +192 -0
- package/skills/hexasync-error-handling/SKILL.md +47 -0
- package/skills/hexasync-error-handling/references/INDEX.md +22 -0
- package/skills/hexasync-error-handling/references/INSTALL.md +35 -0
- package/skills/hexasync-error-handling/references/routing.NEXT.md +246 -0
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +139 -0
- package/skills/hexasync-error-handling/references/steps.Error.md +296 -0
- package/skills/hexasync-expressions/SKILL.md +53 -0
- package/skills/hexasync-expressions/references/INDEX.md +45 -0
- package/skills/hexasync-expressions/references/INSTALL.md +35 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +41 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +10 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +89 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +28 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +47 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +21 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +44 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +5 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +110 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md +17 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md +19 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md +13 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md +45 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +27 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md +15 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md +8 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md +23 -0
- package/skills/hexasync-expressions/references/steps.JSONata.md +200 -0
- package/skills/hexasync-expressions/references/steps.Liquid.md +95 -0
- package/skills/hexasync-expressions/references/steps.Scriban.md +156 -0
- package/skills/hexasync-field-mapping/SKILL.md +60 -0
- package/skills/hexasync-field-mapping/references/INDEX.md +54 -0
- package/skills/hexasync-field-mapping/references/INSTALL.md +35 -0
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +62 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-metrics-reports/SKILL.md +55 -0
- package/skills/hexasync-metrics-reports/references/INDEX.md +41 -0
- package/skills/hexasync-metrics-reports/references/INSTALL.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.best-practices.md +13 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.choosing-a-scoremode.md +44 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.contract.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.digest-message-templates.md +31 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.facet-properties.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.fields.md +551 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.health-scores.md +69 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.md +20 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +57 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +574 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +9 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.sensible-configuration.md +30 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.severity-scoring.md +89 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.syntax.md +18 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.worked-example-from-rows-to-health-score.md +108 -0
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +460 -0
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +171 -0
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +400 -0
- package/skills/hexasync-pullers/SKILL.md +44 -0
- package/skills/hexasync-pullers/references/INDEX.md +50 -0
- package/skills/hexasync-pullers/references/INSTALL.md +35 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +26 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +52 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +12 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.error-and-final-handling.md +10 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.generalisation.md +17 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.md +36 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +77 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +49 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.paging-is-the-authors-job.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +23 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +56 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +43 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +6 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-finalsteps.md +48 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +66 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +46 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.probe-discipline.md +13 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +561 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +88 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +11 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.stamp--sweep.md +21 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.symptom--cause--rule.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +19 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md +28 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +15 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +74 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-opaque-token-api.md +14 -0
- package/skills/hexasync-pullers/references/steps.PULLER.md +187 -0
- package/skills/hexasync-pushers/SKILL.md +60 -0
- package/skills/hexasync-pushers/references/INDEX.md +47 -0
- package/skills/hexasync-pushers/references/INSTALL.md +35 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +27 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +332 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +17 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +36 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +85 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +45 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.ordinary-result-contract.md +136 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-afterpushsteps.md +34 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +33 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md +46 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-pushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +99 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-pushsteps.md +50 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +56 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md +18 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.troubleshooting.md +16 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +66 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-indirect-push.md +35 -0
- package/skills/hexasync-pushers/references/steps.PUSHER.md +238 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +201 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +359 -0
- package/skills/hexasync-query-dsl/SKILL.md +67 -0
- package/skills/hexasync-query-dsl/references/INDEX.md +60 -0
- package/skills/hexasync-query-dsl/references/INSTALL.md +35 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +6 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +48 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +123 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.md +25 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +80 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +54 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +52 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +60 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.md +16 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +44 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +87 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +85 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.property-reference.md +428 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md +363 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +104 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.sensible-configuration.md +24 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +57 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +102 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +91 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.md +10 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +95 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +39 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +9 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +141 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +510 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +491 -0
- package/skills/hexasync-query-dsl/references/steps.SQL.md +362 -0
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +315 -0
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +44 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +35 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.contract.md +6 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +124 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.md +15 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +73 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +9 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +324 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.sensible-configuration.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.shape.md +108 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.syntax.md +33 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +10 -0
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +234 -0
- package/skills/hexasync-steps-api-http/SKILL.md +61 -0
- package/skills/hexasync-steps-api-http/references/INDEX.md +73 -0
- package/skills/hexasync-steps-api-http/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.exact-authored-shape.md +37 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +13 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md +60 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +49 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md +18 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +14 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-examples.md +77 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-groups.md +203 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +80 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.status-narrowing.md +29 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md +17 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.troubleshooting.md +13 -0
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +246 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +44 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md +43 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-status.md +37 -0
- package/skills/hexasync-steps-api-http/references/steps.API.best-practices.md +14 -0
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +64 -0
- package/skills/hexasync-steps-api-http/references/steps.API.curl-request-intake.md +31 -0
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +457 -0
- package/skills/hexasync-steps-api-http/references/steps.API.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.API.public-webhook-binding.md +17 -0
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +12 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-builders.md +206 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md +13 -0
- package/skills/hexasync-steps-api-http/references/steps.API.sensitive-headers-and-diagnostic-trail.md +25 -0
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +103 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.connection-binding.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md +76 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.execution-budgets.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.flow-entry.md +8 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.md +22 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +79 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md +19 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +300 -0
- package/skills/hexasync-steps-control-data/SKILL.md +59 -0
- package/skills/hexasync-steps-control-data/references/INDEX.md +133 -0
- package/skills/hexasync-steps-control-data/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +101 -0
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +80 -0
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +221 -0
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +87 -0
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +303 -0
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +475 -0
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +323 -0
- package/skills/hexasync-steps-control-data/references/steps.End.md +100 -0
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +167 -0
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +88 -0
- package/skills/hexasync-steps-control-data/references/steps.IF.md +284 -0
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +170 -0
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +175 -0
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +146 -0
- package/skills/hexasync-steps-control-data/references/steps.OData.md +133 -0
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +274 -0
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +126 -0
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +264 -0
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +164 -0
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +180 -0
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +124 -0
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +255 -0
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +168 -0
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +207 -0
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +194 -0
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +253 -0
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +247 -0
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +149 -0
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +172 -0
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +78 -0
- package/skills/hexasync-tables-tasks-objects/SKILL.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +78 -0
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.authoring-dependencies.md +80 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.best-practices-and-pitfalls.md +22 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +430 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +340 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +88 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +27 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +37 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +179 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +31 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +26 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +52 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +55 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +24 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.md +64 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +32 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +8 -0
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.md +62 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +357 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +14 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +44 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.systemcolumns-presentation.md +99 -0
- package/skills/hexasync-templates/SKILL.md +67 -0
- package/skills/hexasync-templates/references/AI-INDEX.md +125 -0
- package/skills/hexasync-templates/references/INDEX.md +73 -0
- package/skills/hexasync-templates/references/INSTALL.md +35 -0
- package/skills/hexasync-templates/references/KB-INDEX.md +128 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composition-fields.md +44 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.deployment-descriptor-retirement-and-current-composition.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.md +32 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +34 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +54 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.author.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md +356 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.contributors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.creationsteps.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.databasename.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.description.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.externals.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md +101 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md +238 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md +114 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.health_check_worker.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md +148 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.integration_app_management.md +115 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.jsonata--liquid.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +109 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.nextbranch-fields.md +93 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.output-fields.md +82 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.read_queries.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md +80 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.select_google_drive.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.single_choice_form--multiple_choice_form.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +233 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md +79 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.id.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.name.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.noschedules.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +23 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.recommendations.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.thumbnail.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.variables.md +16 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +29 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +21 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +5 -0
- package/skills/hexasync-transformations/SKILL.md +51 -0
- package/skills/hexasync-transformations/references/INDEX.md +40 -0
- package/skills/hexasync-transformations/references/INSTALL.md +35 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-validations/SKILL.md +52 -0
- package/skills/hexasync-validations/references/INDEX.md +27 -0
- package/skills/hexasync-validations/references/INSTALL.md +35 -0
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +196 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md +5 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.best-practices.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.composing-rules.md +37 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md +33 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +118 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +27 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +57 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.metadata-members.md +134 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.operators.md +406 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.troubleshooting.md +13 -0
- package/skills/hexasync-webhooks/SKILL.md +62 -0
- package/skills/hexasync-webhooks/references/INDEX.md +46 -0
- package/skills/hexasync-webhooks/references/INSTALL.md +35 -0
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +130 -0
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +259 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +206 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +62 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.message-shape.md +29 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +59 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +72 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +10 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.routing-and-boundary-ownership.md +30 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.shape.md +37 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.datafilter.md +68 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +268 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.id-target.md +21 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchfilter-and-matchpattern.md +77 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchremovefilter-and-matchremovepattern.md +41 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.md +20 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectid-deprecated.md +25 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectids.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +67 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.rejected-target-fields-finalsteps-and-responsefilters.md +8 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.troubleshooting.md +17 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.webhook-properties.md +117 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.worked-example-webhook-direct-index-plus-steps.md +71 -0
package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## Exact mutation timeline
|
|
4
|
+
|
|
5
|
+
1. Host seeds its placement-specific entry context and captures `runStart`; `_context` timing differs as described above.
|
|
6
|
+
2. Iterator first consumes and removes carried `_execution_evidence` and `_executions`, then injects `_env`/`env` and `_settings`. Live diagnostic collection stays in its separate run-owned scope, outside the business context. New-kind calls seed their output accumulator from prior `_outputs`; legacy calls start a fresh accumulator but do not clear the carried context's `_outputs` at entry, so before the first return it can still refer to the preceding invocation's map.
|
|
7
|
+
3. Before a call, `_currentExecutionIndex` is set on the shared iterator context. Executor-local argument setup publishes definition/empty arguments, ordered parsing republishes earlier strings, and final local arguments are supplied to payload consumers.
|
|
8
|
+
4. After successful execution, the latest keyed output is replaced. New-kind appends history and conditionally updates an already-present shared `__this.outputs`; legacy host handlers update their phase roots. `_outputs` is published before `next` resolves.
|
|
9
|
+
5. Per-step completion/error cleanup records an occurrence in the run-owned diagnostic accumulator and increments the local execution index; it does **not** publish a diagnostic snapshot into the business root. A failed new-kind step instead publishes error data before recovery; own-token cancellation is a distinct bypass.
|
|
10
|
+
6. On invocation return or throw, outer outcome cleanup publishes `_execution_evidence` onto the outcome context after cleanup, also attaching it to a structured workflow failure's context where applicable. This boundary includes setup or cleanup failures once the accumulator has been initialized. A following iterator invocation consumes that carried snapshot before its own setup; no running step can read live diagnostic evidence from these roots.
|
|
11
|
+
|
|
12
|
+
### History key and occurrence
|
|
13
|
+
|
|
14
|
+
Only the successful-return path appends new-kind `_history.<key>` records `{__flow, __occurrence, data, error, ts}`: flow string, monotonically increasing per-key successful occurrence integer across the run, actual output dictionary, **null error**, and Unix-ms completion timestamp. Rings are newest-first. A graceful return counts because it returns normally; a thrown executor failure instead publishes new-kind `_outputs.<key>.error`/`_outputs.__error` without advancing this history counter. If routing throws after an executor returned, its already-appended successful record remains; no failed history record is added. Do not use `_history` to retrieve thrown-failure bodies. The `retain` [flag contract](hexasync://docs/steps/STEP-ENVELOPE/cross-cutting-step-flags) owns depth, nullable conversion/fallback and same-flow inference. [LOOKUP_STEP](hexasync://docs/steps/LOOKUP_STEP) owns availability and missing occurrence results.
|
|
15
|
+
|
|
16
|
+
### `runStart`
|
|
17
|
+
|
|
18
|
+
Use one stable run timestamp for freshness comparisons, not a new time per page/item. [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA) can fall back to current time when standalone; [TRACK_FOR_REMOVAL](hexasync://docs/steps/TRACK_FOR_REMOVAL) refuses an absent/unparseable boundary. Those differences do not prove every expression caller provides `runStart`.
|
|
19
|
+
|
|
20
|
+
### Placement-specific context examples
|
|
21
|
+
|
|
22
|
+
Legacy puller first page: `arguments.sku: '{{ puller.arguments.sku }}'` reads a host argument. Before any current result, `puller.lastToken` is empty; successful current returns merge their latest fields into it before routing. A later legacy step can use `_outputs.LOAD.items` after LOAD succeeds in that invocation or the documented phase namespace; a later phase's first call must not mistake a carried `_outputs` map for that new phase's completed output. New-kind entry uses `arguments.sku: '$(_inputs.sku)'` instead; with `_inputs: {sku: "A1"}` it yields string `"A1"`. Initially no successful `LOAD` output exists.
|
|
23
|
+
|
|
24
|
+
Composed new-kind transition:
|
|
25
|
+
|
|
26
|
+
```yaml
|
|
27
|
+
- key: LOAD
|
|
28
|
+
rootStep: true
|
|
29
|
+
displayType: VALUES
|
|
30
|
+
data: { values: [{ sku: A1 }] }
|
|
31
|
+
next: COPY
|
|
32
|
+
- key: COPY
|
|
33
|
+
displayType: VALUES
|
|
34
|
+
arguments: { sku: '$(_outputs.LOAD.items[0].sku)' }
|
|
35
|
+
data: { values: [{ sku: '{{ __this.arguments.sku }}' }] }
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
LOAD first publishes `{items:[{sku:"A1"}],hasNextPage:false}` and a history occurrence. COPY then resolves its argument to `"A1"`; LOAD's result was unavailable during LOAD's own arguments. That ordering follows publication-before-routing, not array adjacency. [VALUES](hexasync://docs/steps/VALUES) owns the demonstrated item-page result; [routing](hexasync://docs/routing/NEXT#worker-contract) owns the `next` transition.
|
|
39
|
+
|
|
40
|
+
For a pusher item `{sku:"A1"}`, `arguments.sku: '{{ item.sku }}'` resolves `"A1"`; `pusher.lastToken` has no pager contract. In webhook target steps, use `arguments.sku: '{{ webhook.arguments.__HSS_WEBHOOK_ITEM.sku }}'` only if the selected webhook item actually has `sku`; do not substitute `item.sku`. With a webhook selected item `{sku:"W1"}` the expected string is `"W1"`. These contexts have no new-kind occurrence ring. Refer to [PUSHERS](hexasync://docs/pushers/PUSHERS) and [WEBHOOKS](hexasync://docs/webhooks/WEBHOOKS) before treating an argument as present.
|
|
41
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## Executor results are not downstream values
|
|
4
|
+
|
|
5
|
+
For a normal result envelope, executor `outputs` supplies `_outputs.<stepKey>`; sibling `input`, `logOutputs` and `error` describe diagnostics, not extra business values. The iterator's legacy result-without-`outputs` compatibility path can instead treat the whole returned dictionary as outputs, so inspect the selected executor's actual contract. [Executor results, graceful returns, and run error data](hexasync://docs/steps/STEP-ENVELOPE/executor-results-graceful-returns-and-run-error-data) owns normalization and thrown/returned distinctions.
|
|
6
|
+
|
|
7
|
+
### Common output fields
|
|
8
|
+
|
|
9
|
+
`affected: 0` with `noop: true` can mean a legitimate empty update, not failure. `isException`/`exceptionMessage` are supporting-executor graceful-return fields, not universal fields and not `_outputs.__error`. Use the [individual step owner](hexasync://docs/steps/INDEX) for output-specific semantics.
|
|
10
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## Graceful failures and run errors
|
|
4
|
+
|
|
5
|
+
[Shared error handling](hexasync://docs/steps/STEP-ENVELOPE/executor-results-graceful-returns-and-run-error-data) owns run-level `{type,message,stepKey,__flow,handled,chain,previous?}` and per-step `{message,detail,stackTrace}`. New-kind failures publish them before recovery/propagation. Legacy failures do not synthesize the new-kind run object. Returned executor error data is not equivalent to either a throw or a failed host lifecycle.
|
|
6
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## JSONata call-site scope and bindings
|
|
4
|
+
|
|
5
|
+
At the bound native response-parser sites below, both `$parseJson` and `$fingerprint` are registered. At standard/argument/item/frontend sites marked without `$parseJson`, neither custom function is registered. Passing a previously computed digest string as an argument requires no custom JSONata binding.
|
|
6
|
+
|
|
7
|
+
| Actual call site | JSONata root / preprocessing | Result treatment / bindings |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| Inline map/ordered arguments and shared classified fields | Serialized supplied caller context: executor-local step dictionary, or original item graph plus parser setup for SQL-feeding transformation arguments. Recognized wrapper removed; inner expression Scriban-rendered first | Query JSON retained for structured consumer or reduced to scalar string for arguments. `_outputs` is visible only if actually in that caller context, not manufactured in transformations. Standard native functions; **no `$parseJson`**. |
|
|
10
|
+
| Whole-block arguments | Host-built context dictionary, including caller setup; complete string Scriban-rendered once, raw JSONata, no wrapper dispatch | Top-level object required; each property becomes a scalar string. **No `$parseJson`**. |
|
|
11
|
+
| Dedicated [item `Jsonata` transformation](hexasync://docs/transformations/TRANSFORMATIONS/transformation-types/jsonata--compute-a-field-from-a-jsonata-expression) | Serialized **item only**; raw expression passed directly, **no Scriban prerender** and no inline wrapper removal | Default String or declared Number/Boolean/Any treatment; Any merge without field needs nonempty object and skips `__` names. No generated `_outputs`/`__this`; **no `$parseJson`**. |
|
|
12
|
+
| [HTTP response `jsonata`](hexasync://docs/responseFilters/RESPONSE-FILTERS) | JSON response body (valid XML first converted to JSON); expression Scriban-prerendered using response-time params | Structured scalar/object/list value; null omitted. Host adds **`$parseJson`**. Prior `_outputs` may be in prerender params, not automatically the JSONata body root. |
|
|
13
|
+
| [JSONata step](steps.JSONata.md) | Incoming step context serialized as its response-parser input; expression Scriban-prerendered with same context | Direct named `data: {field: {expression: ...}}`; structured independent outputs. Blank leaf text is skipped; undefined/null results omit their key, but evaluated `""` is retained. Invalid nonblank expressions abort the step. Host adds **`$parseJson`**; no `jsonata` group wrapper here. |
|
|
14
|
+
| [Webhook target `dataParser`](hexasync://docs/responseFilters/RESPONSE-FILTERS/same-name-different-placement-grammars#webhook-parser-before-target-item-execution) | Whole parsed message before target steps; explicitly `env` supplied to prerender, not selected-item webhook arguments | Named typed values feed indexing; null omitted. **`$parseJson` bound**. No generated step `_outputs` in message root or target-step params at this phase. |
|
|
15
|
+
| Ordinary [pusher lifecycle result filters](hexasync://docs/responseFilters/RESPONSE-FILTERS/same-name-different-placement-grammars#pusher-result-filters-over-non-http-outputs) | Completed main push-step Outputs dictionary; carried pusher context for prerender | Named typed values feed pusher decision fields; null omitted. **`$parseJson` bound**. Root is the result dictionary, not the carried runtime context. |
|
|
16
|
+
| [VALUES filters](hexasync://docs/steps/VALUES) | Scriban-rendered values array as body; local step context as prerender params | **`$parseJson` bound**, named typed results; this direct keyed-parser loop does **not** generate grouped `filters.<parser>` accumulation or adapter `__headers`. Reader headers empty; absent results fall back to items; hasNextPage forced false. |
|
|
17
|
+
| [FORWARD](hexasync://docs/steps/FORWARD), [CHECK_FORMAT](hexasync://docs/steps/CHECK_FORMAT), [SLEEP](hexasync://docs/steps/SLEEP) filters | Local step context serialized through ObjectResponseReader, with the same context for grouped prerender | **`$parseJson` bound**; named typed results, null omitted. Prior `_outputs` can be root fields when the incoming context contains them. Required fields and returned envelopes remain executor-specific. |
|
|
18
|
+
| [EXCEL_READER](hexasync://docs/steps/EXCEL_READER) filters | Parsed row array as body; local step context for prerender. `data.responseFilters` takes precedence over step-level filters | **`$parseJson` bound**; named typed results, null omitted. Prior `_outputs` is not automatically part of the row-array root. No filters returns rows; HTTP status narrowing is not applied here. |
|
|
19
|
+
| Nested [PUSHER step](hexasync://docs/steps/PUSHER) filters | Entire returned nested `pushContext` as body, unlike ordinary lifecycle main Outputs. Prerender merges outer context then nested context keys overwrite | **`$parseJson` bound**; named typed output values. `_outputs` can be queried only where it actually occurs in that nested context root. |
|
|
20
|
+
| `itemIds` strings in [ENQUEUER](hexasync://docs/steps/ENQUEUER), [IGNORE_ITEM](hexasync://docs/steps/IGNORE_ITEM), [RESET_ITEM](hexasync://docs/steps/RESET_ITEM), [UPDATE_ITEM_STATUS](hexasync://docs/steps/UPDATE_ITEM_STATUS) | String Scriban-rendered first, then **raw unwrapped JSONata** over serialized local context; no shared wrapper classification | Result converted to GUID array; null becomes empty, wrong shape/invalid GUID fails. **No `$parseJson`**. Array form renders JSON without a query. ENQUEUER parses IDs even before discarding them for enqueueAll. |
|
|
21
|
+
| [UPDATE_ITEM_SYNC_PROCESS](hexasync://docs/steps/UPDATE_ITEM_SYNC_PROCESS), non-RAW expression | Expression Scriban-rendered first, then raw unwrapped JSONata over serialized local context | Requires update-object array; selected update strings are subsequently Scriban-rendered. **No `$parseJson`**; RAW items path is not a query. Field/shape failures remain the executor contract. |
|
|
22
|
+
| Frontend workflow control/JSONATA process | JavaScript JSONata over `workflowData`; IF/SWITCH Liquid-prerender the inner trimmed `${...}` host expression, while standalone JSONATA process Liquid-prerenders its raw expression | Process-specific condition/branch or output handling; **no host `$parseJson` registration**. Frontend has `outputs`, not an automatic worker `_outputs` alias. See [frontend host delta](hexasync://docs/routing/NEXT#frontend-delta-do-not-apply-this-grammar-to-workers). |
|
|
23
|
+
| Frontend metadata/routing, output mapping and choices | `jsonata::` dynamic strings use supplied frontend context. JSONata output-map expressions prerender with workflowData then evaluate **returned process data**; choice expressions Liquid-prerender then evaluate raw JS JSONata over their frontend context | JS adapter retains strings and normalizes sequences/array-like results to plain arrays; output maps store named values. Choices require an array; non-array results or caught evaluation failures render an empty choice list, not a worker parser failure. **No host `$parseJson` registration**; do not infer native parser scope/coercion from UI evaluation. |
|
|
24
|
+
|
|
25
|
+
`$parseJson(string)` parses data rather than JSONata program source, propagates undefined input, rejects defined non-string values with `T0410`, and fails on malformed text outside its parser's accepted syntax. The bound native parser uses relaxed defaults (single quotes, trailing commas, Unicode whitespace and unescaped controls); it is **not a strict RFC JSON validator**. Integral floating values within integer range are normalized recursively to integers. It is a **host-added function**, not a native-version guarantee. `$eval` is native expression evaluation, not a general JSON-only parser; never apply it to untrusted program text merely because it can read JSON literals.
|
|
26
|
+
|
|
27
|
+
`$fingerprint(value)` is a host-added function at the same bound native response-parser call sites as `$parseJson`, including the dedicated JSONata step. It returns the same typed structural SHA256 contract as `hexasync.obj.fingerprint`; explicit null has a digest, undefined input fails, and unsupported/nonfinite input never becomes EOF. It is **not registered** by standard inline/whole-block argument evaluation, item transformations or the JavaScript frontend. Compute it in a bound response-parser/JSONata step, then pass the resulting digest as a normal next-loop argument. Native `$eval` creates its own environment and does not inherit either custom binding.
|
|
28
|
+
|
|
29
|
+
The classified core consumers include [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA) structured item pages, [TRACK_FOR_REMOVAL](hexasync://docs/steps/TRACK_FOR_REMOVAL) numeric guards and [RESOLVE_RAW_DATA](hexasync://docs/steps/RESOLVE_RAW_DATA) scalar source resolution. They share classification, not result requirements. Raw ID/update queries, item transformations and grouped parsers are separate contracts: there is no universal “JSONata field” dispatcher. The bound parser's undefined/null results are omitted from named output maps; a defined non-string parseJson input or malformed text fails rather than acquiring an empty/default result. Native `$eval` creates a separate evaluation environment and does not inherit an outer `$parseJson` binding.
|
|
30
|
+
|
|
31
|
+
For a bound-parser leaf `expression: '$parseJson(Data)'`, these boundary outcomes are distinct: body `{}` makes `Data` undefined and omits the output key; `{Data:null}` or `{Data:2}` fails with `T0410`; `{Data:"null"}` parses successfully but omits the null result; `{Data:"{'qty':2.0,}"}` is accepted and produces object `{qty:2}`. A string containing incomplete data such as `{Data:"{"}` fails parsing, rather than returning an empty/default value. These are data-parser outcomes at the HTTP/dedicated-step hosts, not legal `$parseJson` examples for arguments, item transforms or frontend evaluation.
|
|
32
|
+
|
|
33
|
+
### Three legal prior-response parsing routes
|
|
34
|
+
|
|
35
|
+
Assume an earlier API step **RAW** exposes raw body text at `_outputs.RAW.body`, equal to `{"sku":"A1","qty":2}`. Establish that string either through the default text/absent-media body branch (with ordinary `responseType: NONE`) or an explicit `raw_text` filter named `body`. A default valid JSON-media body is already structured; malformed JSON/XML can instead fall back to text, but does not establish valid input for these parsing examples. [API default outputs](hexasync://docs/steps/API/api-response-parsing-and-outputs) owns these branches and the distinct OBJECT-mode hidden-message boundary.
|
|
36
|
+
|
|
37
|
+
1. **Inline JSONata step arguments referencing prior outputs**, for the stipulated known/trusted JSON body:
|
|
38
|
+
|
|
39
|
+
```yaml
|
|
40
|
+
arguments:
|
|
41
|
+
sku: '$( $eval(_outputs.RAW.body).sku )'
|
|
42
|
+
normalized: '$( $eval(_outputs.RAW.body) )'
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Expected strings are `sku: "A1"`, `normalized: "{\"sku\":\"A1\",\"qty\":2}"`. Native `$eval` exists at this call site, evaluates the known JSON text as expression source, then the scalar argument consumer reduces its result to strings. It is not strict JSON validation and does not inherit outer host extensions in nested evaluation. Never use it for arbitrary untrusted program text. The registered Scriban alternative `{{ parsed = _outputs.RAW.body | hexasync.obj.from_json; parsed.sku }}` strictly parses JSON but recursively uses decimal numbers; out-of-decimal-range values can fail. Neither route invents `$parseJson` in argument JSONata.
|
|
46
|
+
|
|
47
|
+
2. **Dedicated JSONata step** over the step context:
|
|
48
|
+
|
|
49
|
+
```yaml
|
|
50
|
+
key: PARSE
|
|
51
|
+
displayType: JSONata
|
|
52
|
+
data:
|
|
53
|
+
decoded: { expression: '$parseJson(_outputs.RAW.body)' }
|
|
54
|
+
sku: { expression: '$parseJson(_outputs.RAW.body).sku' }
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
PARSE must be reached by RAW's `next: PARSE`. Expected `_outputs.PARSE.decoded` is object `{sku:"A1",qty:2}` and `.sku` is string `"A1"`. This caller actually binds `$parseJson`, and the context is the evaluation root. The reusable executor page owns its full field contract.
|
|
58
|
+
|
|
59
|
+
3. **HTTP boundary response filter**, if body is `{"Data":"{\"sku\":\"A1\",\"qty\":2}"}`:
|
|
60
|
+
|
|
61
|
+
```yaml
|
|
62
|
+
responseFilters:
|
|
63
|
+
jsonata:
|
|
64
|
+
decoded: { expression: '$parseJson(Data)' }
|
|
65
|
+
sku: { expression: '$parseJson(Data).sku' }
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Expected RAW outputs are already structured `decoded` and scalar `sku`; subsequent inline JSONata can read `$(_outputs.RAW.decoded.sku)` without parsing text again. The filter root is the body, not `_outputs`; its host binds `$parseJson`. This is generally preferable when the response boundary already owns decoding. [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS/parsejson-boundary) owns null/empty/error distinctions.
|
|
69
|
+
|
|
70
|
+
### Item-only versus argument composition
|
|
71
|
+
|
|
72
|
+
Dedicated transformation with item `{__id:"existing-id",sku:"A1"}` and `metadata: {field_name: label, expression: 'sku & "-ready"'}` writes `label: "A1-ready"` using its default string return type. `_outputs.RAW` is absent unless it is literally a field on that item; a transform does not inherit iterator context. `{{ sku }}` is not prerendered at this call site. For merged argument context, use one of the SQL-feeding argument hosts and its canonical [argument forms](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing), or decode earlier at the HTTP/JSONata-step boundary. JSONata-first selection always includes this scope caveat.
|
|
73
|
+
|
|
74
|
+
The equivalent scalar [SQL-feeding transformation argument](hexasync://docs/transformations/TRANSFORMATIONS/transformation-types/query-argument-binding) uses `metadata.arguments: {label: '$(sku & "-ready")'}` over the original item graph, while a [whole-block argument](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing#whole-block-arguments) uses `metadata.arguments: '{"label": sku & "-ready", "qty": 2, "missing": null}'` without an outer wrapper. The first emits parser string `label: "A1-ready"`; the second emits strings `{label:"A1-ready",qty:"2",missing:""}`. These become argument bindings, not item writeback, and neither parser binds `$parseJson`. In a step context where the same business item is at `item`, use `item.sku` instead of bare `sku`; in a new-kind `_inputs` context, use `_inputs.sku`. Rejected, non-copyable: a whole-block program returning `["A1"]` cannot supply named arguments because the required top-level object is absent; return `{"label":"A1"}` instead.
|
|
75
|
+
|
|
76
|
+
### Direct GUID queries are not argument wrappers
|
|
77
|
+
|
|
78
|
+
Given a real associated object and prior `_outputs.SELECT.ids` equal to `["22222222-2222-4222-8222-222222222222"]`, the [IGNORE_ITEM](hexasync://docs/steps/IGNORE_ITEM#contract) consumer accepts an unwrapped query:
|
|
79
|
+
|
|
80
|
+
```yaml
|
|
81
|
+
key: IGNORE_SELECTED
|
|
82
|
+
displayType: IGNORE_ITEM
|
|
83
|
+
data:
|
|
84
|
+
objectId: "11111111-1111-4111-8111-111111111111"
|
|
85
|
+
itemIds: '_outputs.SELECT.ids'
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
The query selects that GUID array from local context, then GUID conversion supplies exactly those IDs to the executor's mutation. Its actual affected count depends on matching rows. A literal valid array is the non-query alternative. A query result `null` yields empty IDs/no-op, while a scalar ID string or invalid GUID fails conversion. Rejected, non-copyable: `'$(_outputs.SELECT.ids)'` assumes shared wrapper removal this field does not perform; use the raw query above. `$parseJson` is not bound here; decode raw prior-response text at a supported boundary first rather than adding a function call that this host never registered.
|
|
89
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## JSONata engine, pinned version and restrictions
|
|
4
|
+
|
|
5
|
+
These native .NET paths currently use **Jsonata.Net.Native 3.0.0** and the **Jsonata.Net.Native.JsonNet 3.0.0** conversion bridge. Package version is not a JSONata language-version declaration. A JavaScript frontend JSONata runtime is a different host; do not assume its features, bindings or coercion match.
|
|
6
|
+
|
|
7
|
+
This is the current native dependency contract, not an instruction to freeze all future versions. The frontend declares JavaScript `jsonata` `^2.1.0` and its application lock entry resolves to `2.1.0`; that is a separate dependency/host, not proof of a universally deployed version. Frontend workflow evaluation registers no native `$parseJson` extension. Its [host grammar](hexasync://docs/routing/NEXT#frontend-delta-do-not-apply-this-grammar-to-workers) and result adapters are distinct from worker wrappers.
|
|
8
|
+
|
|
9
|
+
### Supported constructs and grammar boundaries
|
|
10
|
+
|
|
11
|
+
The native parser supports paths, predicates, object/array constructors, arithmetic/comparisons, concatenation `&`, Boolean `and`/`or`, assignment to variables, functions/lambdas, mapping and function application. Parenthesized blocks use `;`. Coalescing `??` preserves an existing false value; Elvis `?:` selects by effective Boolean truth. Call-site wrapper recognition and result requirements still apply.
|
|
12
|
+
|
|
13
|
+
Minimal engine example `$(1 + 2)` → scalar argument `"3"`. Composed example `$(($n := 2; {"double": $n * 2, "present": false ?? "fallback", "truthy": false ?: "fallback"}))` → compact argument JSON `{"double":4,"present":false,"truthy":"fallback"}`. Object key order is illustrative, not a general serialization contract. A structured consumer retains that object rather than argument text.
|
|
14
|
+
|
|
15
|
+
Rejected, non-copyable: `$(name := "A1")` assigns a field rather than a `$` variable and fails with `S0212`; write `$name := "A1"` in a block, then produce the needed value. Malformed delimiters/trailing expressions are syntax errors, not skipped instructions. `$`-prefixed lambda/binding variables are required.
|
|
16
|
+
|
|
17
|
+
### Native builtin semantics that differ from specification expectations
|
|
18
|
+
|
|
19
|
+
Formatting/parsing extensions are not complete XPath-picture implementations: `$formatNumber` uses .NET invariant numeric formatting and ignores locale options; `$formatInteger` uses .NET integer formatting; `$parseInteger` ignores its picture and parses signed 64-bit integer text. `$fromMillis` uses .NET formats and numeric HHMM time-zone offsets; `$toMillis` uses invariant .NET parsing or exact .NET format parsing, not XPath pictures. Rejected portability example: assuming `$parseInteger("X", "I")` means Roman-numeral parsing; supply numeric text (`$parseInteger("10")`) or perform an explicit supported conversion instead. Invalid types/ranges still fail even for a registered function.
|
|
20
|
+
|
|
21
|
+
The numeric formatter first replaces picture digits `1`–`9` with `0`, then uses invariant .NET formatting; supplied locale options do not change the separators. For example `$formatNumber(12.5, "00.00", {"decimal-separator": ","})` returns text `"12.50"` here, not locale-driven `"12,50"`. Treat XPath pictures and locale options as a non-copyable portability expectation, not silently supported syntax.
|
|
22
|
+
|
|
23
|
+
Native string length counts UTF-16 code units: `$( $length("𝄞") )` returns argument string `"2"` because that character occupies two .NET `char` values. Reference JavaScript JSONata counts that surrogate pair as one code point. It is not native support for a grapheme/character-count guarantee; for ASCII `"AB"`, both counts are 2. Do not move Unicode length-dependent validation between hosts assuming identical results.
|
|
24
|
+
|
|
25
|
+
### Host failure and result boundaries remain separate
|
|
26
|
+
|
|
27
|
+
Inline JSONata query/evaluation errors are wrapped by the shared resolver. Whole-block arguments require a top-level object. Dedicated transformation `return_type` casts/Any merge rules are transformation-specific; response filters omit null results; the dedicated JSONata step skips blank expressions but fails fast on invalid nonblank expressions. None of these is a universal engine result requirement. The [scope table](expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md) below is essential to JSONata-first usage.
|
|
28
|
+
|
package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## JSONPath expressions
|
|
4
|
+
|
|
5
|
+
The **`$$(...)`** wrapper uses the serialized caller context root and standard JSONPath selection, before JSONata recognition. Zero matches return JSON null, one returns that value, multiple return an array in selection order. Scalar arguments compact the multi-result array; structured consumers keep it. Invalid JSONPath throws; an empty rendered path yields null. Use bracket notation for keys that are not legal dotted members.
|
|
6
|
+
|
|
7
|
+
Minimal step argument: `sku: '$$($._inputs.sku)'` over `_inputs: {sku:"A1"}` → `"A1"`. Composed transform argument:
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
type: SQL
|
|
11
|
+
metadata:
|
|
12
|
+
sql: 'SELECT @first AS first, @ids AS ids_json'
|
|
13
|
+
arguments:
|
|
14
|
+
first: '$$($.__raw.ids[0])'
|
|
15
|
+
ids: '$$($.__raw.ids[*])'
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Given original item `{__raw:{ids:[1,2]}}`, binds strings `first: "1"`, `ids: "[1,2]"`; absence of `ids` reduces to empty text. SQL arguments resolve over the original nested item, not the flattened SQL parameters. Ordered list typing, if wanted, belongs to the argument owner. This example requires the runtime item's existing `__id` and a configured host worker database. With the default merge mode, the `SELECT` returns `{first:"1",ids_json:"[1,2]"}`; its first row adds or overwrites those two fields on the original item while retaining `__raw`.
|
|
19
|
+
|
|
20
|
+
Bracket/multiple-result step arguments, with `_inputs: {"order-id":"O7",rows:[{id:7},{id:8}]}`:
|
|
21
|
+
|
|
22
|
+
```yaml
|
|
23
|
+
arguments:
|
|
24
|
+
order_id: "$$($._inputs['order-id'])"
|
|
25
|
+
ids: '$$($._inputs.rows[*].id)'
|
|
26
|
+
missing: '$$($._inputs.absent)'
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Expected parser strings: `order_id: "O7"`, `ids: "[7,8]"`, `missing: ""`. A structured consumer instead receives array `[7,8]` or null, not these scalar strings. The root is the supplied caller dictionary; the wrapper does not supply webhook message values or manufacture `_inputs` in a host that lacks it.
|
|
30
|
+
|
|
31
|
+
At HTTP/webhook **response parsing**, the parser named `jsonpath` does **not** accept this wrapper. It accepts a YAML-string `type: eval`/`expression` or `type: node`/`root`/`fields` over the response/message body. Eval selects only the first match, whereas node maps selected container rows. For body `{ids:[1,2]}`, `type: eval` + `expression: $.ids[*]` returns integer `1`, not `[1,2]`; node over those primitive ids would skip them and return an empty list. Use JSONata for a structured primitive list, or node for actual object rows. See [response-filter dialects](hexasync://docs/responseFilters/RESPONSE-FILTERS/the-eight-parser-ids) and [webhook parsers](hexasync://docs/webhooks/WEBHOOKS). Wrapper classification precedence never changes that parser's grammar.
|
|
32
|
+
|
|
33
|
+
For a webhook whole message `{rows:[{id:7,label:"A"},{id:8,label:"B"}]}`, legal node projection belongs to the target's [pre-item `dataParser`](hexasync://docs/responseFilters/RESPONSE-FILTERS/same-name-different-placement-grammars#webhook-parser-before-target-item-execution):
|
|
34
|
+
|
|
35
|
+
```yaml
|
|
36
|
+
dataParser:
|
|
37
|
+
jsonpath:
|
|
38
|
+
products:
|
|
39
|
+
expression: |
|
|
40
|
+
type: node
|
|
41
|
+
root: $.rows[*]
|
|
42
|
+
fields:
|
|
43
|
+
product_id: $.id
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Expected parser output is `products: [{product_id:7},{product_id:8}]`; it is not a target step's `_outputs` or an injected selected-item root. Each object root has children and each field is selected relative to that object. Task indexing/target selection remains the webhook host contract. Rejected, non-copyable: a parser eval `expression: '$$($.rows[*].id)'` is not wrapper-dispatched; use plain `$.rows[*].id` for its first-match semantics, this node form for rows, or JSONata for a typed list.
|
|
47
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Arguments, environment, step inputs and outputs
|
|
2
|
+
|
|
3
|
+
> MCP resource: **`hexasync://docs/expressions/CONTEXT-AND-IO`**.
|
|
4
|
+
|
|
5
|
+
The evaluation root is selected by the **caller**, not by the chosen language. This page explains runtime context, dialect classification, Scriban functions, JSONPath selection and JSONata scope.
|
|
6
|
+
|
|
7
|
+
This page is served as 13 separate resources. Read the one you need:
|
|
8
|
+
|
|
9
|
+
- [Quick reference: the three expression dialects](expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md) — Any field documented as an expression (step arguments, many data fields) is classified by its whole trimmed text before rendering:
|
|
10
|
+
- [Runtime scope](expressions.CONTEXT-AND-IO.runtime-scope.md) — Runtime roots are populated at different times.
|
|
11
|
+
- [Executor results are not downstream values](expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md) — For a normal result envelope, executor outputs supplies _outputs.<stepKey>; sibling input, logOutputs and error describe diagnostics, not extra business values.
|
|
12
|
+
- [Graceful failures and run errors](expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md) — Shared error handling owns run-level {type,message,stepKey,__flow,handled,chain,previous?} and per-step {message,detail,stackTrace}.
|
|
13
|
+
- [Shared StepIterator roots](expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md) — The ordinary base executor shallow-copies incoming context into its payload/argument parameters.
|
|
14
|
+
- [Exact mutation timeline](expressions.CONTEXT-AND-IO.exact-mutation-timeline.md) — Only the successful-return path appends new-kind _history.<key> records {__flow, __occurrence, data, error, ts}: flow string, monotonically increasing per-key successful occurrence integer across the run, actual output…
|
|
15
|
+
- [`arguments` — computed before the step runs](expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md) — Map, ordered and whole-block are canonical forms.
|
|
16
|
+
- [Dialect classification and silent Scriban fallback](expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md) — For fields using the shared classified resolver, trimmed authored text is tested before rendering, in this order:
|
|
17
|
+
- [JSONPath expressions](expressions.CONTEXT-AND-IO.jsonpath-expressions.md) — The $$(...) wrapper uses the serialized caller context root and standard JSONPath selection, before JSONata recognition.
|
|
18
|
+
- [Scriban default and host custom builtins](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md) — The shared resolver defaults to Scriban for unrecognized wrappers/plain text.
|
|
19
|
+
- [JSONata engine, pinned version and restrictions](expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md) — These native .NET paths currently use Jsonata.Net.Native 3.0.0 and the Jsonata.Net.Native.JsonNet 3.0.0 conversion bridge.
|
|
20
|
+
- [JSONata call-site scope and bindings](expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md) — At the bound native response-parser sites below, both $parseJson and $fingerprint are registered.
|
|
21
|
+
- [Related](expressions.CONTEXT-AND-IO.related.md) — Workflow and envelope, NEXT, response filters, transformations, connections, and validations own caller-specific contracts.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## Quick reference: the three expression dialects
|
|
4
|
+
|
|
5
|
+
Any field documented as an expression (step `arguments`, many `data` fields) is classified by its **whole trimmed text** before rendering:
|
|
6
|
+
|
|
7
|
+
| Syntax | Dialect | Meaning | Choose when |
|
|
8
|
+
| --- | --- | --- | --- |
|
|
9
|
+
| `'$(<jsonata>)'` | JSONata | evaluates one JSONata expression over the caller context and returns a JSON value | calculations, conditionals, building arrays/objects, type-preserving reads |
|
|
10
|
+
| `'$$(<jsonpath>)'` | JSONPath | selects value(s) from the caller context; 0 matches → null, 1 → the value, many → an array | pure selection, especially keys that need bracket notation (`$['order-id']`) |
|
|
11
|
+
| anything else, e.g. `'{{ <scriban> }}'` or plain text | Scriban | renders a text template; plain text stays literal | string formatting, concatenation, the `hexasync.*` helper functions |
|
|
12
|
+
|
|
13
|
+
The wrapper must span the **entire** value: `'$(a) and $(b)'` or `'prefix $(x)'` is silently treated as Scriban text and is not evaluated. Inside a recognized wrapper, Scriban is rendered first, then the query runs.
|
|
14
|
+
|
|
15
|
+
```yaml
|
|
16
|
+
steps:
|
|
17
|
+
- key: FIND_ORDER
|
|
18
|
+
displayType: QUERY_SINGLE
|
|
19
|
+
arguments:
|
|
20
|
+
total: '$(_inputs.qty * _inputs.price)' # JSONata: computed value
|
|
21
|
+
orderId: "$$($._inputs['order-id'])" # JSONPath: selection with bracket notation
|
|
22
|
+
label: 'Order {{ _inputs.sku | string.upcase }}' # Scriban: text template
|
|
23
|
+
fixed: 'A1' # no wrapper: literal text
|
|
24
|
+
data:
|
|
25
|
+
from: { entityType: TASK, entityId: '11111111-1111-4111-8111-111111111111', alias: _ }
|
|
26
|
+
select:
|
|
27
|
+
- { alias: _, field: order_id }
|
|
28
|
+
where:
|
|
29
|
+
op: '='
|
|
30
|
+
data:
|
|
31
|
+
leftOp: { type: FIELD, field: _.order_id }
|
|
32
|
+
rightOp: { type: ARG, key: orderId } # arguments become named query bindings
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
With `_inputs: {qty: 2, price: 5, "order-id": "O7", sku: "a1"}` the argument strings are `total: "10"`, `orderId: "O7"`, `label: "Order A1"`, `fixed: "A1"`. Step arguments are always delivered as strings; structured consumers keep the JSON value.
|
|
36
|
+
|
|
37
|
+
Patterns:
|
|
38
|
+
|
|
39
|
+
- **Prefer JSONata for logic and JSONPath for plain selection**; keep Scriban for text. Do not mix wrappers in one value: compose the whole calculation inside a single `$( … )`.
|
|
40
|
+
- **Read only roots your placement provides** (see [Runtime scope](expressions.CONTEXT-AND-IO.runtime-scope.md)); a missing root silently yields empty/null instead of failing.
|
|
41
|
+
- **Read prior results from `_outputs.<STEP_KEY>`** rather than from executor diagnostics or legacy roots.
|
|
42
|
+
- **Use one stable `runStart`** for freshness comparisons rather than the current time per page or item.
|
|
43
|
+
- **Do not rely on helper functions where they are not bound**: `$parseJson` exists only at response-parser call sites (see the scope table below).
|
|
44
|
+
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## Related
|
|
4
|
+
|
|
5
|
+
[Workflow and envelope](hexasync://docs/steps/STEP-ENVELOPE), [NEXT](hexasync://docs/routing/NEXT), [response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS), [transformations](hexasync://docs/transformations/TRANSFORMATIONS), [connections](hexasync://docs/connections/CONNECTIONS), and [validations](hexasync://docs/validations/VALIDATIONS) own caller-specific contracts.
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## Runtime scope
|
|
4
|
+
|
|
5
|
+
Runtime roots are populated at different times. They are not one universally available entry bag. [Workflow](hexasync://docs/steps/STEP-ENVELOPE/one-canonical-workflow-component) owns placement selection; [arguments](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing) own parser forms, ordering and caller coercion.
|
|
6
|
+
|
|
7
|
+
### Root quick reference
|
|
8
|
+
|
|
9
|
+
Each root is read with the dialect syntax above: `{{ root.path }}` (Scriban), `$(root.path)` (JSONata) or `$$($.root.path)` (JSONPath). Placements: **W** = workflow (new-kind puller) step, **LP** = legacy puller step, **P** = pusher step, **WH** = webhook target step, **T** = SQL-feeding transformation argument.
|
|
10
|
+
|
|
11
|
+
| Root | Meaning | Placements |
|
|
12
|
+
| --- | --- | --- |
|
|
13
|
+
| `_inputs.<name>` | input values the run was started with | W |
|
|
14
|
+
| `_outputs.<STEP_KEY>.<field>` | latest successful output of a step that has already returned in this run | W, LP, P, WH |
|
|
15
|
+
| `_history.<STEP_KEY>` | newest-first list of earlier successful occurrences `{__flow, __occurrence, data, error, ts}` | W |
|
|
16
|
+
| `_env.<key>` (alias `env`) | read-only environment values (strings) | W, LP, P, WH |
|
|
17
|
+
| `_settings.<key>` | read-only deployment settings (string or null); empty unless the profile declares `settings` | W, LP, P, WH |
|
|
18
|
+
| `runStart` | Unix milliseconds captured once when the run starts | W, LP, P, WH (per target item) |
|
|
19
|
+
| `_currentExecutionIndex` | zero-based index of the current step call | W, LP, P, WH |
|
|
20
|
+
| `__this.arguments.<name>` / `_arguments.<name>` | argument strings already resolved for this step (earlier ordered entries only) | W, LP, P, WH, T |
|
|
21
|
+
| `__related_tasks` | definitions of associated tasks | W, LP, P |
|
|
22
|
+
| `puller.arguments` / `.options` / `.current.<KEY>` / `.lastToken.<KEY>` | legacy puller host values, phase outputs and merged cursor fields | LP |
|
|
23
|
+
| `item.<field>`, `task`, `dependencies`, `pusher.arguments` / `.options` / `.current.<KEY>` | item being pushed and pusher host values | P |
|
|
24
|
+
| `webhook.arguments.__HSS_WEBHOOK_ITEM` / `__HSS_WEBHOOK_MESSAGE` / `__HSS_WEBHOOK_RAW_MESSAGE` / `__HSS_WEBHOOK_ITEM_IDS` | selected item, parsed message, raw text, indexed item ids | WH |
|
|
25
|
+
| bare `<field>` | field of the original item | T |
|
|
26
|
+
|
|
27
|
+
Workflow step reading inputs, a prior output, environment, settings and the run clock:
|
|
28
|
+
|
|
29
|
+
```yaml
|
|
30
|
+
steps:
|
|
31
|
+
- key: FETCH_PAGE
|
|
32
|
+
displayType: QUERY_MANY
|
|
33
|
+
arguments:
|
|
34
|
+
sku: '$(_inputs.sku)'
|
|
35
|
+
cursor: '{{ _outputs.LOAD.nextCursor }}' # empty until LOAD has returned
|
|
36
|
+
region: '{{ _env.region }}'
|
|
37
|
+
since: '{{ runStart }}' # same value for every page of this run
|
|
38
|
+
pageSize: '{{ _settings.page_size }}' # empty when the setting is not declared
|
|
39
|
+
data:
|
|
40
|
+
from: { entityType: TASK, entityId: '11111111-1111-4111-8111-111111111111', alias: _ }
|
|
41
|
+
select:
|
|
42
|
+
- { alias: _, field: sku }
|
|
43
|
+
where:
|
|
44
|
+
op: '='
|
|
45
|
+
data:
|
|
46
|
+
leftOp: { type: FIELD, field: _.sku }
|
|
47
|
+
rightOp: { type: ARG, key: sku }
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Pusher step reading the item being pushed:
|
|
51
|
+
|
|
52
|
+
```yaml
|
|
53
|
+
steps:
|
|
54
|
+
- key: FIND_TARGET
|
|
55
|
+
displayType: QUERY_SINGLE
|
|
56
|
+
arguments:
|
|
57
|
+
sku: '{{ item.sku }}' # pusher only; a workflow step has no item root
|
|
58
|
+
data:
|
|
59
|
+
from: { entityType: TASK, entityId: '11111111-1111-4111-8111-111111111111', alias: _ }
|
|
60
|
+
select:
|
|
61
|
+
- { alias: _, field: sku }
|
|
62
|
+
where:
|
|
63
|
+
op: '='
|
|
64
|
+
data:
|
|
65
|
+
leftOp: { type: FIELD, field: _.sku }
|
|
66
|
+
rightOp: { type: ARG, key: sku }
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Webhook target step reading the selected webhook item:
|
|
70
|
+
|
|
71
|
+
```yaml
|
|
72
|
+
steps:
|
|
73
|
+
- key: FIND_CHANGED
|
|
74
|
+
displayType: QUERY_SINGLE
|
|
75
|
+
arguments:
|
|
76
|
+
sku: '{{ webhook.arguments.__HSS_WEBHOOK_ITEM.sku }}' # webhook targets only
|
|
77
|
+
data:
|
|
78
|
+
from: { entityType: TASK, entityId: '11111111-1111-4111-8111-111111111111', alias: _ }
|
|
79
|
+
select:
|
|
80
|
+
- { alias: _, field: sku }
|
|
81
|
+
where:
|
|
82
|
+
op: '='
|
|
83
|
+
data:
|
|
84
|
+
leftOp: { type: FIELD, field: _.sku }
|
|
85
|
+
rightOp: { type: ARG, key: sku }
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Choose the root that your placement actually provides. Reading a root that does not exist there (for example `item` in a workflow step) yields empty text rather than an error, so the step runs with a wrong value.
|
|
89
|
+
|
|
90
|
+
### Authoring positions and placement roots
|
|
91
|
+
|
|
92
|
+
| Caller / phase | Entry values and later transitions | Do not assume |
|
|
93
|
+
| --- | --- | --- |
|
|
94
|
+
| [Legacy puller](hexasync://docs/pullers/PULLERS) | `puller.definition`, `arguments`, `options`; `before`, `current`, `history` start as empty maps. Successful calls replace their active phase map; before also updates `history`. `lastToken` starts empty and merges successful current outputs immediately by step key and output field, retaining fields absent from later results. `after`/`final` appear on successful returns in those phases. Root `__related_tasks` contains associated task definitions. | New-kind `_inputs`, `_history`, a fixed previous-page `lastToken` snapshot, or universal per-flow accumulated outputs. |
|
|
95
|
+
| [New-kind puller](hexasync://docs/pullers/PULLERS/placement-steps) | `_inputs` is the host input dictionary, `__related_tasks` associated definitions, `runStart` one Unix-ms timestamp. Flow-labelled iteration seeds `_outputs` from earlier flows; history appears after occurrences. | `puller.*` or a `workflow.*` namespace. Phased legacy arrays do not become new-kind phases. |
|
|
96
|
+
| [Pusher](hexasync://docs/pushers/PUSHERS) | Host root includes `item`, `task`, `dependencies`, `__related_tasks`, and `pusher.definition/arguments/options`. `before`, `current`, `history` begin empty; before success makes `history` reference the before output map, current success replaces current, and after/final maps are added on successful returns in those phases. `runStart` is captured once. | `pusher.lastToken`, `_inputs`, new-kind `_history`, or initially populated after/final outputs. |
|
|
97
|
+
| [Webhook target](hexasync://docs/webhooks/WEBHOOKS) | `webhook.definition/options/arguments/current`, including parsed/raw message and selected webhook item arguments. `runStart` is captured per target-item execution. | A universal `item`, `task`, `__related_tasks`, puller/pusher namespace or new-kind history. |
|
|
98
|
+
| SQL-feeding [transformation arguments](hexasync://docs/transformations/TRANSFORMATIONS) | Original item graph at the root, fields such as `sku` bare; setup adds `__this.definition/arguments` and `_arguments`. Parser strings become bindings after the host merger. | StepIterator `_outputs`, environments or an `item` wrapper. Nested original fields can be evaluated even though SQL base parameters are scalarized later. |
|
|
99
|
+
| Dedicated Scriban/Jsonata [item transformation](hexasync://docs/transformations/TRANSFORMATIONS) | The item itself; bare fields, including existing system columns. No argument-parser setup. | Generated `__this`, `_arguments`, step history, `$parseJson` or a step context. |
|
|
100
|
+
|
|
101
|
+
`_env` and legacy `env` are the **same read-only environment dictionary**, injected by the profile environment accessor before iterator traversal, not authored envelope fields. Its dynamic keys and string values depend on resolved environments; the template alone does not enumerate them. Connection options are separate and supplied only when a connection resolves. Legacy `HSS_`/`__HSS_` names are host-populated keys, not wildcard aliases: for example webhook values live at `webhook.arguments.__HSS_WEBHOOK_MESSAGE` (parsed graph), `__HSS_WEBHOOK_RAW_MESSAGE` (string), `__HSS_WEBHOOK_ITEM` (selected item). Consult the placement owner for the exact injected names; there is no automatic stripping of prefixes.
|
|
102
|
+
|
|
103
|
+
### Legacy phase creation and cursor transitions
|
|
104
|
+
|
|
105
|
+
Legacy puller and pusher entries also contain an empty root `currentContext` compatibility dictionary. The phase handler does not populate it; do not use it as a current-output alias. Their `history` entry begins as a separate empty dictionary and becomes the same before-output dictionary after a before step returns. It is not a page history. A phase with no successful return does not create its missing after/final map. The webhook builder instead initializes only `webhook.current`; the other legacy builder fields are not universal.
|
|
106
|
+
|
|
107
|
+
For a legacy puller, suppose a current step `FETCH` first returns `{cursor:"c1",items:[{id:1}]}`. Immediately after that return, `puller.current.FETCH` contains this output and `puller.lastToken.FETCH.cursor` is `"c1"`, available to the next routed step or page. If a later successful `FETCH` returns only `{items:[{id:2}]}`, `current.FETCH` contains that new dictionary while `lastToken.FETCH` keeps `"c1"` and updates `items`. Missing fields are preserved by the merge; a present null field overwrites its prior value. A thrown step does not run this successful-return merge. Consequently `lastToken` is a latest-known per-field cursor carrier, not an immutable previous-page result or a successful-occurrence ring.
|
|
108
|
+
|
|
109
|
+
The names `HSS_` and `__HSS_` do not define a separate evaluator namespace or default value. Puller and pusher arguments are supplied by the invoking host; a prefix alone cannot prove a key exists. Webhook target execution specifically supplies the four arguments `__HSS_WEBHOOK_MESSAGE` (parsed message graph), `__HSS_WEBHOOK_RAW_MESSAGE` (raw text), `__HSS_WEBHOOK_ITEM` (selected item, or empty object when no item was selected), and `__HSS_WEBHOOK_ITEM_IDS` (task-ID strings mapped to arrays of indexed item-ID strings). These live under `webhook.arguments`, not `_env`; other HSS-prefixed values must be established by the relevant [placement](hexasync://docs/webhooks/WEBHOOKS) or [environment](hexasync://docs/connections/CONNECTIONS) contract.
|
|
110
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
### Custom array, enum, item and numeric functions
|
|
4
|
+
|
|
5
|
+
| Function and arguments | Result and limitations | Example → result |
|
|
6
|
+
| --- | --- | --- |
|
|
7
|
+
| `hexasync.array.remove_empty(input)` | Takes a script array and returns an array excluding null elements and elements whose string form is blank or whitespace. Null input remains null; this is not recursive object cleanup. | `{{ ["a", "", null, "b"] \| hexasync.array.remove_empty }}` → array `["a", "b"]` |
|
|
8
|
+
| `hexasync.enum.has_bit(inputFlag, flag)` | Integer bit-mask predicate: `(inputFlag & flag) > 0`. A composite mask checks for any positive overlap, not that every requested bit is set. | `{{ hexasync.enum.has_bit 3 1 }}` → `true` |
|
|
9
|
+
| `hexasync.enum.add_bit(i, bit)` | Returns integer bitwise OR, `i \| bit`. The second argument is a mask, not a bit position. | `{{ hexasync.enum.add_bit 1 4 }}` → `5` |
|
|
10
|
+
| `hexasync.enum.remove_bit(i, bit)` | Clears the supplied mask using `(i \| bit) ^ bit`; returns an integer. | `{{ hexasync.enum.remove_bit 5 4 }}` → `1` |
|
|
11
|
+
| `hexasync.item.is_removed(item)` | Converts the object to a dictionary, reads `__status`, parses it as a numeric status and checks the Removed bit. A present null status uses `"0"`; an absent key or invalid numeric status can fail. | `{{ hexasync.item.is_removed item }}` → `true` when the Removed bit is set in `item.__status` |
|
|
12
|
+
| `hexasync.item.should_remove(item)` | Checks the **same Removed bit** as `is_removed`; it is not a separate pending-removal decision. The same object/status input constraints apply. | `{{ hexasync.item.should_remove item }}` → same result as `is_removed` |
|
|
13
|
+
| `hexasync.item.is_pushing(item)` | Reads the object's numeric `__status` and checks the Pushing bit. It does not infer status from the current step or host. | `{{ hexasync.item.is_pushing item }}` → `true` when the Pushing bit is set |
|
|
14
|
+
| `hexasync.numeric.to_hexadecimal(input)` | Formats a signed 32-bit or 64-bit integer as uppercase hexadecimal text using format `X`; no `0x` prefix is added. Two integer overloads map to this one name; runtime overload selection has not been measured here. | `{{ hexasync.numeric.to_hexadecimal 255 }}` → `FF` |
|
|
15
|
+
|
|
16
|
+
The enum functions bind signed 32-bit integer operands; their parameter names do not imply arbitrary-width masks. `has_bit(3, 3)` is true because there is positive overlap, not a promise of an all-bits predicate: `has_bit(1, 3)` is also true. For a positive composite mask, check each positive single-bit mask independently rather than interpreting this function as an all-bits test.
|
|
17
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
### Custom date functions
|
|
4
|
+
|
|
5
|
+
Date formats are .NET formats, not JavaScript/XPath picture tokens. Blank culture uses invariant culture; culture selects parsing/formatting, **not** time zone. DateTime inputs and integer day/month counts are distinct from string inputs; `add_business_days` takes a string count. Parsing/formatting and range errors propagate.
|
|
6
|
+
|
|
7
|
+
| Function and arguments | Result and limitations | Example → result |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| `hexasync.date.format(input, fromFormat, toFormat, fromCultureInfo = "", toCultureInfo = "")` | Parses a string exactly with the input format/culture, then returns text in the output format/culture. Blank input passes through. | `{{ hexasync.date.format "2026-10-11" "yyyy-MM-dd" "dd/MM/yyyy" }}` → `11/10/2026` |
|
|
10
|
+
| `hexasync.date.parse(input, format, cultureInfo = "")` | Returns a date/time value from exact string parsing. Blank input throws a missing-date error; it does not return a default date. | `{{ hexasync.date.parse "2026-10-11" "yyyy-MM-dd" \| hexasync.date.format_date "yyyy-MM-dd" }}` → `2026-10-11` |
|
|
11
|
+
| `hexasync.date.add_days(input, days)` | Adds an integer number of calendar days to a date/time value; negative values subtract. Returns a date/time value. | `{{ hexasync.date.parse "2026-10-11" "yyyy-MM-dd" \| hexasync.date.add_days 1 \| hexasync.date.format_date "yyyy-MM-dd" }}` → `2026-10-12` |
|
|
12
|
+
| `hexasync.date.add_months(input, months)` | Adds an integer number of calendar months to a date/time value; negative values subtract. Returns a date/time value. | `{{ hexasync.date.parse "2026-10-11" "yyyy-MM-dd" \| hexasync.date.add_months 1 \| hexasync.date.format_date "yyyy-MM-dd" }}` → `2026-11-11` |
|
|
13
|
+
| `hexasync.date.format_date(input, format, cultureInfo = "")` | Formats an existing date/time value into text; unlike `format`, it does not parse an input string first. | `{{ hexasync.date.parse "2026-10-11" "yyyy-MM-dd" \| hexasync.date.format_date "dd MMM yyyy" }}` → `11 Oct 2026` |
|
|
14
|
+
| `hexasync.date.current_timestamp()` | Returns the current UTC Unix timestamp in **seconds**, as text. Its output changes with time. | `{{ hexasync.date.current_timestamp }}` → e.g. `1791676800` (changes over time) |
|
|
15
|
+
| `hexasync.date.current_timestamp_milliseconds()` | Returns the current UTC Unix timestamp in **milliseconds**, as text. | `{{ hexasync.date.current_timestamp_milliseconds }}` → e.g. `1791676800000` |
|
|
16
|
+
| `hexasync.date.date_to_unix_timestamp(input, format, cultureInfo = "")` | Exactly parses date/time-offset text and returns Unix **milliseconds** as text, despite the unsuffixed function name. Blank input returns null. Include an explicit offset when the intended instant must not depend on local offset interpretation. | `{{ hexasync.date.date_to_unix_timestamp "2026-10-11T00:00:00+00:00" "yyyy-MM-ddTHH:mm:sszzz" }}` → `1791676800000` |
|
|
17
|
+
| `hexasync.date.unix_timestamp_to_date(input, format, cultureInfo = "")` | Parses integer Unix **milliseconds**, converts to UTC date/time and formats text. Blank input passes through. Do not feed the seconds output of `current_timestamp` directly to this function. | `{{ hexasync.date.unix_timestamp_to_date "1791676800000" "yyyy-MM-dd" }}` → `2026-10-11` |
|
|
18
|
+
| `hexasync.date.add_business_days(date, days, ignoreHoliday, countryCalendar)` | Takes a date/time value and a string day count. Positive counts add, negative counts subtract; zero or an unparseable count returns the original date. `ignoreHoliday` and calendar are trimmed and uppercased. `"Y"` or an unsupported calendar uses Monday–Friday only; otherwise `US`, `UK`, `CA`, `AU` and `DK` exclude their calendar's public holidays as well as weekends. | `{{ hexasync.date.parse "2026-10-09" "yyyy-MM-dd" \| hexasync.date.add_business_days "1" "Y" "" \| hexasync.date.format_date "yyyy-MM-dd" }}` → `2026-10-12` (Friday + 1 business day = Monday) |
|
|
19
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
### Custom object functions
|
|
4
|
+
|
|
5
|
+
`ignore` accepts an object sequence, string paths and comparison objects; JSON conversion accepts one string/value and uses the engine-injected context. Decimal conversion can reject syntactically valid JSON outside decimal range.
|
|
6
|
+
|
|
7
|
+
| Function and arguments | Result and limitations | Example → result |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| `hexasync.obj.ignore(i, originalPath, inputPath, ...input)` | Filters the sequence `i` by comparison objects. An empty/whitespace path compares string forms; a nonblank path selects a JSON token and compares its string form. Keeps elements unequal to every non-null comparison value; drops null sequence elements on the filtering path. Null comparison-array input returns `i` unchanged. Invalid paths or non-object conversions can fail. | `{{ hexasync.obj.ignore ["A1", "B2", "C3"] "" "" "B2" }}` → array without `B2` |
|
|
10
|
+
| `hexasync.obj.from_json(json)` | Parses JSON text into script-compatible objects, arrays and scalar values, converting every number recursively to decimal. Invalid JSON fails; valid JSON with numbers outside decimal range (for example, `1e100`, including inside objects/arrays) also fails. This is not a forgiving default-value parser. | `{{ (hexasync.obj.from_json '{"qty": 2}').qty }}` → `2` |
|
|
11
|
+
| `hexasync.obj.to_json(value)` | Returns compact JSON text for scalars, arrays and accessible object members. A function value at the top level is rejected rather than serialized. Serialization and member access can fail. | `{{ {qty: 2} \| hexasync.obj.to_json }}` → `{"qty":2}` |
|
|
12
|
+
| `hexasync.obj.fingerprint(value)` | Streams typed structural values into SHA256 and returns a64-hex digest without retaining serialized pages. Recursively normalizes object-key order; preserves array order, scalar types/values and nested fields. Missing object members differ from explicit null members, but a missing Scriban lookup can become null: validate presence before calling. Unsupported/cyclic inputs fail, never become a matching default. Hash raw payload, not IDs or volatile envelope/loop metadata. | `{{ hexasync.obj.fingerprint item.__raw }}` → 64-character hex digest; equal for structurally equal values |
|
|
13
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
### Custom string functions
|
|
4
|
+
|
|
5
|
+
Arguments/results are strings unless named otherwise: widths/counts are signed integers, switches are booleans, and `trimChars` is a character array. Null/blank policies differ by function. Escaping helpers address particular syntaxes, not generic sanitization.
|
|
6
|
+
|
|
7
|
+
| Function and arguments | Result and limitations | Example → result |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| `hexasync.string.to_slug(phrase)` | Unicode-decomposes and lowercases text, replaces non-ASCII-alphanumeric/non-whitespace characters with hyphens, then replaces whitespace and collapses repeated hyphens. Blank input passes through. It does not trim all edge hyphens or enforce a length limit. | `{{ "Red Shirt" \| hexasync.string.to_slug }}` → `red-shirt` |
|
|
10
|
+
| `hexasync.string.to_base64_brotli(phrase)` | UTF-8 encodes text, Brotli-compresses the bytes, then returns Base64. This is compressed data, not ordinary UTF-8 Base64; null input is not specially handled. | `{{ "hello" \| hexasync.string.to_base64_brotli }}` → Base64 of the compressed bytes |
|
|
11
|
+
| `hexasync.string.to_e164_phone_number(phone, area)` | Parses the phone using the supplied region and formats it as E.164. Invalid phone/region input can fail; formatting alone is not a separate validity guarantee. | `{{ hexasync.string.to_e164_phone_number "(201) 555-0123" "US" }}` → `+12015550123` |
|
|
12
|
+
| `hexasync.string.to_base64(phrase)` | Returns Base64 of UTF-8 bytes. Null/blank/whitespace input returns an empty string. | `{{ "hi" \| hexasync.string.to_base64 }}` → `aGk=` |
|
|
13
|
+
| `hexasync.string.normalize_string_for_url(name)` | Applies Unicode decomposition and lowercasing; blank input passes through. Despite the name, it does not URI-escape text, remove combining marks or make a slug by itself. | `{{ "CAFÉ" \| hexasync.string.normalize_string_for_url }}` → decomposed lowercase `café` |
|
|
14
|
+
| `hexasync.string.format_number(input, parseCulture, format, transformCulture)` | Parses text as a floating-point number with the input culture and returns formatted text with the output culture. Blank culture means invariant; blank format uses normal number formatting. Blank input passes through. Invalid numbers, cultures or formats can fail. | `{{ hexasync.string.format_number "1234.5" "" "N2" "" }}` → `1,234.50` |
|
|
15
|
+
| `hexasync.string.to_cdata(input)` | Returns XML CDATA markup for the text. Blank input passes through. | `{{ "a<b" \| hexasync.string.to_cdata }}` → `<![CDATA[a<b]]>` |
|
|
16
|
+
| `hexasync.string.fix_leading_zero(input)` | Adds `0` only when text starts with `.`. Blank input and other prefixes, including `-.`, are unchanged. | `{{ ".5" \| hexasync.string.fix_leading_zero }}` → `0.5` |
|
|
17
|
+
| `hexasync.string.default(input, df)` | Returns `df` when input is null, empty or whitespace; otherwise returns input unchanged. It is a string fallback, not a test for numeric zero or Boolean false. | `{{ hexasync.string.default "" "n/a" }}` → `n/a` |
|
|
18
|
+
| `hexasync.string.decode_html(input)` | HTML-decodes text; blank input passes through. | `{{ "<b>" \| hexasync.string.decode_html }}` → `<b>` |
|
|
19
|
+
| `hexasync.string.encode_html(input)` | HTML-encodes text; blank input passes through. | `{{ "<b>" \| hexasync.string.encode_html }}` → `<b>` |
|
|
20
|
+
| `hexasync.string.new_guid()` | Returns a newly generated GUID as text; no fixed output is promised. | `{{ hexasync.string.new_guid }}` → a new GUID such as `3f2c…` (random) |
|
|
21
|
+
| `hexasync.string.plain_text_to_html(input)` | Replaces line breaks with `<br />` markup. Blank input passes through. It does not HTML-encode existing markup; the sequential replacements also process the newline introduced by the CRLF replacement. | `{{ "line 1\nline 2" \| hexasync.string.plain_text_to_html }}` → `line 1<br />line 2` |
|
|
22
|
+
| `hexasync.string.escape_json_path(input)` | Replaces apostrophes with backslash-apostrophe for string insertion. Blank input passes through. It is not a complete JSONPath query validator or general JSON serializer. | `{{ "O'Neil" \| hexasync.string.escape_json_path }}` → `O\'Neil` |
|
|
23
|
+
| `hexasync.string.escape_jsonata_query(input)` | Builds a JSONata string expression by joining single-quoted segments with a literal apostrophe between them. Blank input returns `''`. The result is expression text, not the original unquoted value. | `{{ "O'Neil" \| hexasync.string.escape_jsonata_query }}` → a JSONata string expression that evaluates to `O'Neil` |
|
|
24
|
+
| `hexasync.string.escape_json(input, escapeUnicode = true)` | Serializes text with JSON escaping and removes only its surrounding quotes. Blank input passes through. `false` changes the encoder to allow Unicode ranges; the result is a string fragment, not a complete quoted JSON value. | `{{ 'say "hi"' \| hexasync.string.escape_json }}` → `say \"hi\"` |
|
|
25
|
+
| `hexasync.string.escape_json_newtonsoft(input)` | Produces a JSON-escaped string fragment using a different serializer and removes surrounding quotes. Blank input passes through. It is not guaranteed byte-identical to `escape_json`. | `{{ 'say "hi"' \| hexasync.string.escape_json_newtonsoft }}` → `say \"hi\"` |
|
|
26
|
+
| `hexasync.string.escape_rich_text_format(input)` | Strips Rich Text Format controls into text; despite its name, this is not RTF encoding. Blank input passes through. | `{{ item.notes_rtf \| hexasync.string.escape_rich_text_format }}` → the RTF document as plain text |
|
|
27
|
+
| `hexasync.string.rtf_to_html(input)` | Converts RTF to HTML. Blank input passes through; invalid/unsupported RTF can fail. | `{{ item.notes_rtf \| hexasync.string.rtf_to_html }}` → the RTF document as HTML |
|
|
28
|
+
| `hexasync.string.remove_html_tags(input, regex)` | Parses HTML and removes nodes selected by **XPath** in the parameter named `regex`; it does not apply a regular expression. Returns the remaining document's HTML. Blank input passes through; invalid selectors can fail. | `{{ hexasync.string.remove_html_tags "<p>a<img src='x.png'/></p>" "//img" }}` → `<p>a</p>` |
|
|
29
|
+
| `hexasync.string.extract_text_and_image_from_html(input, output = "text_and_image")` | Parses HTML and collects trimmed body text plus newline-separated image sources. `"text"` selects text, `"image"` selects sources; every other value returns both joined by a newline and trimmed. Blank input passes through. | `{{ hexasync.string.extract_text_and_image_from_html "<p>Hi</p><img src='x.png'/>" "image" }}` → `x.png` |
|
|
30
|
+
| `hexasync.string.escape_sql(input)` | Doubles apostrophes; blank input passes through. This is string replacement, **not** a parameterized query or a SQL-injection safety guarantee. | `{{ "O'Neil" \| hexasync.string.escape_sql }}` → `O''Neil` (prefer query bindings instead) |
|
|
31
|
+
| `hexasync.string.escape_uri(input)` | URI-escapes a data component, not an entire URL. Blank input passes through. Text longer than 2,000 characters that successfully decodes as Base64 is left unchanged; other text is escaped. | `{{ "a b&c" \| hexasync.string.escape_uri }}` → `a%20b%26c` |
|
|
32
|
+
| `hexasync.string.escape_xml(input)` | XML-escapes text; blank input passes through. | `{{ "a<b" \| hexasync.string.escape_xml }}` → `a<b` |
|
|
33
|
+
| `hexasync.string.escape_html(input)` | HTML-encodes text; blank input passes through. | `{{ "a<b" \| hexasync.string.escape_html }}` → `a<b` |
|
|
34
|
+
| `hexasync.string.prefix(input, len, leading = " ")` | Left-pads to integer width `len`, using the first character of `leading` (space if empty). Null input is treated as empty. Input already longer than the target width throws rather than truncating; invalid widths can fail. | `{{ hexasync.string.prefix "42" 5 "0" }}` → `00042` |
|
|
35
|
+
| `hexasync.string.unescape_unicode(input)` | Decodes backslash-`u` or backslash-`U` followed by exactly four hexadecimal digits into a UTF-16 character. Blank input passes through; it is not a complete JSON unescape operation or an eight-digit Unicode decoder. | `{{ "caf\\u00e9" \| hexasync.string.unescape_unicode }}` → `café` |
|
|
36
|
+
| `hexasync.string.trim(input, trimChars = null)` | Trims both ends. Null/empty input passes through. A nonempty character array chooses removable characters; null or an empty array uses normal whitespace trimming. | `{{ hexasync.string.trim "--a--" ["-"] }}` → `a` |
|
|
37
|
+
| `hexasync.string.trim_start(input, trimChars = null)` | Same character-array policy as `trim`, but trims only the start. | `{{ hexasync.string.trim_start "--a--" ["-"] }}` → `a--` |
|
|
38
|
+
| `hexasync.string.trim_end(input, trimChars = null)` | Same character-array policy as `trim`, but trims only the end. | `{{ hexasync.string.trim_end "--a--" ["-"] }}` → `--a` |
|
|
39
|
+
| `hexasync.string.trim_html_tags(input, trimWhitespaces = true, whitespaceReplacement = " ", trimNewLines = true, newLineReplacement = " ", trimTabs = true, tabReplacement = " ")` | Regex-removes tag-shaped `<...>` text, then optionally collapses whitespace, tabs and newlines with the supplied replacements and trims the result at each enabled stage. The whitespace pass runs first and includes tabs/newlines. This is not an HTML sanitizer. Blank input passes through. | `{{ "<p>a</p>\n<p>b</p>" \| hexasync.string.trim_html_tags }}` → `a b` |
|
|
40
|
+
| `hexasync.string.escape_xpath(input)` | XML-escapes text, restores quote characters and constructs a quoted XPath expression or `concat(...)` when both quote kinds occur. Blank input passes through. It is expression construction, not raw text preservation for every XML-sensitive character. | `{{ "O'Neil" \| hexasync.string.escape_xpath }}` → `"O'Neil"` (quoted XPath literal) |
|
|
41
|
+
| `hexasync.string.to_vnd(inputString)` | Converts digit text into Vietnamese number words and appends `đồng`. It omits zero words: input `"0"` produces `" đồng"` before renderer trimming. It parses and then processes individual digits; empty input, signs, decimal punctuation or other non-digit characters can fail. It is not a general locale-aware currency formatter. | `{{ "1000" \| hexasync.string.to_vnd }}` → the amount in Vietnamese words followed by `đồng` |
|
|
42
|
+
| `hexasync.string.generate_random_string(length = 20, acceptedCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890")` | Returns text with randomly selected characters. When integer length exceeds 17, the first 17 characters are a current UTC `yyyyMMddHHmmssfff` timestamp and only the remainder is random. Zero or negative length returns empty text. A positive random remainder requires a non-null, nonempty character set. It is not wholly random, and no fixed output is promised. | `{{ hexasync.string.generate_random_string 8 }}` → 8 random characters |
|
|
43
|
+
| `hexasync.string.rsa_encryption_xml(input, publicKey, doOaepPadding = true)` | Encrypts UTF-8 text with an XML-format RSA public key and returns Base64 ciphertext. Blank input/key is rejected; invalid keys, padding or input too large for the key can fail. Output depends on the key and encryption randomness. | `{{ hexasync.string.rsa_encryption_xml "secret" _settings.rsa_public_key }}` → Base64 ciphertext (differs per call) |
|
|
44
|
+
| `hexasync.string.rsa_decryption_xml(input, privateKey, doOaepPadding = true)` | Decodes Base64 ciphertext, decrypts with an XML-format RSA private key and returns UTF-8 text. Blank input/key is rejected; malformed Base64, key/padding mismatch or invalid ciphertext can fail. Match the encryption padding choice. | `{{ hexasync.string.rsa_decryption_xml _outputs.FETCH.cipher _settings.rsa_private_key }}` → original UTF-8 text |
|
|
45
|
+
|