@beehexa/hexasync-ai-toolkit 0.0.0-stage → 2610.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +31 -0
- package/.claude-plugin/plugin.json +19 -0
- package/.codex-plugin/plugin.json +37 -0
- package/.cursor-plugin/mcp.json +12 -0
- package/.cursor-plugin/plugin.json +20 -0
- package/.mcp.json +11 -0
- package/README.md +46 -2
- package/dist/cli.js +2922 -0
- package/gemini-extension.json +14 -0
- package/openclaw.extension.mjs +9 -0
- package/openclaw.plugin.json +14 -0
- package/package.json +69 -3
- package/plugin.json +21 -0
- package/skills/hexasync-connections/SKILL.md +36 -0
- package/skills/hexasync-connections/references/INDEX.md +33 -0
- package/skills/hexasync-connections/references/INSTALL.md +35 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.authentication-and-setup-steps.md +64 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +96 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.compiled-connector-hooks.md +23 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-authentication.md +36 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.connection-rate-limiting.md +17 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.fields.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +225 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +54 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +84 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.never-invent-a-systemcode.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +16 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +9 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.resolution-and-transport-scope.md +8 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +22 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-collection-both-accepted.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.two-spellings-of-the-provider-with-defined-precedence.md +6 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.unsupported-authentication.md +26 -0
- package/skills/hexasync-connections/references/connections.CONNECTIONS.untyped-options-generic-validity-is-not-provider-completeness.md +192 -0
- package/skills/hexasync-error-handling/SKILL.md +47 -0
- package/skills/hexasync-error-handling/references/INDEX.md +22 -0
- package/skills/hexasync-error-handling/references/INSTALL.md +35 -0
- package/skills/hexasync-error-handling/references/routing.NEXT.md +246 -0
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +139 -0
- package/skills/hexasync-error-handling/references/steps.Error.md +296 -0
- package/skills/hexasync-expressions/SKILL.md +53 -0
- package/skills/hexasync-expressions/references/INDEX.md +45 -0
- package/skills/hexasync-expressions/references/INSTALL.md +35 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +41 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +10 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +6 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +89 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +28 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +47 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.md +21 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md +44 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +5 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +110 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md +17 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md +19 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md +13 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md +45 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +27 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md +15 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md +32 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md +8 -0
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md +23 -0
- package/skills/hexasync-expressions/references/steps.JSONata.md +200 -0
- package/skills/hexasync-expressions/references/steps.Liquid.md +95 -0
- package/skills/hexasync-expressions/references/steps.Scriban.md +156 -0
- package/skills/hexasync-field-mapping/SKILL.md +60 -0
- package/skills/hexasync-field-mapping/references/INDEX.md +54 -0
- package/skills/hexasync-field-mapping/references/INSTALL.md +35 -0
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +62 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-metrics-reports/SKILL.md +55 -0
- package/skills/hexasync-metrics-reports/references/INDEX.md +41 -0
- package/skills/hexasync-metrics-reports/references/INSTALL.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.best-practices.md +13 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.choosing-a-scoremode.md +44 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +35 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.contract.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.digest-message-templates.md +31 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.facet-properties.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.fields.md +551 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.health-scores.md +69 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.md +20 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +57 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +574 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +9 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.sensible-configuration.md +30 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.severity-scoring.md +89 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.syntax.md +18 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +6 -0
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.worked-example-from-rows-to-health-score.md +108 -0
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +460 -0
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +171 -0
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +400 -0
- package/skills/hexasync-pullers/SKILL.md +44 -0
- package/skills/hexasync-pullers/references/INDEX.md +50 -0
- package/skills/hexasync-pullers/references/INSTALL.md +35 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +26 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +52 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +12 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.error-and-final-handling.md +10 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.generalisation.md +17 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.md +36 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +77 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +49 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.paging-is-the-authors-job.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +23 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +56 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +43 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +6 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-finalsteps.md +48 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +66 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +46 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.probe-discipline.md +13 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +561 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +88 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +11 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.stamp--sweep.md +21 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.symptom--cause--rule.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +19 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-six-slot-specificity-checklist--once-per-endpoint.md +28 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +8 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +24 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +15 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-legacy-paged-pull.md +38 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +74 -0
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-opaque-token-api.md +14 -0
- package/skills/hexasync-pullers/references/steps.PULLER.md +187 -0
- package/skills/hexasync-pushers/SKILL.md +60 -0
- package/skills/hexasync-pushers/references/INDEX.md +47 -0
- package/skills/hexasync-pushers/references/INSTALL.md +35 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +38 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +27 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +332 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +17 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +36 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +85 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +45 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.ordinary-result-contract.md +136 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-afterpushsteps.md +34 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +33 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-afterpushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-beforepushsteps.md +46 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-bulkpushers-pushsteps.md +8 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +99 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-pushsteps.md +50 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +10 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +56 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.the-two-identities-a-push-step-reads-off-the-item.md +18 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.troubleshooting.md +16 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +66 -0
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-indirect-push.md +35 -0
- package/skills/hexasync-pushers/references/steps.PUSHER.md +238 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +201 -0
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +359 -0
- package/skills/hexasync-query-dsl/SKILL.md +67 -0
- package/skills/hexasync-query-dsl/references/INDEX.md +60 -0
- package/skills/hexasync-query-dsl/references/INSTALL.md +35 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +6 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +48 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +51 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-quick-reference.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +123 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.md +25 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +61 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +80 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +54 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +52 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +60 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.md +16 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +44 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +67 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +87 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +85 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +92 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.property-reference.md +428 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.quick-reference-syntax-variants-and-how-to-choose.md +363 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +104 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.sensible-configuration.md +24 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +57 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +102 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +91 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.md +10 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +95 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +39 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +9 -0
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +141 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +510 -0
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +491 -0
- package/skills/hexasync-query-dsl/references/steps.SQL.md +362 -0
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +315 -0
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +44 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +35 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.contract.md +6 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +124 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.md +15 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +73 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +9 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +324 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.sensible-configuration.md +28 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.shape.md +108 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.syntax.md +33 -0
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +10 -0
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +234 -0
- package/skills/hexasync-steps-api-http/SKILL.md +61 -0
- package/skills/hexasync-steps-api-http/references/INDEX.md +73 -0
- package/skills/hexasync-steps-api-http/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.exact-authored-shape.md +37 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +13 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.field-contract.md +60 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +49 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.members-encoded-inside-yaml-expression-strings.md +18 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +14 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-examples.md +77 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parser-groups.md +203 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +80 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.status-narrowing.md +29 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.the-eight-parser-ids.md +17 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.troubleshooting.md +13 -0
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +246 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +44 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-parsing-and-outputs.md +43 -0
- package/skills/hexasync-steps-api-http/references/steps.API.api-response-status.md +37 -0
- package/skills/hexasync-steps-api-http/references/steps.API.best-practices.md +14 -0
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +64 -0
- package/skills/hexasync-steps-api-http/references/steps.API.curl-request-intake.md +31 -0
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +457 -0
- package/skills/hexasync-steps-api-http/references/steps.API.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.API.public-webhook-binding.md +17 -0
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +12 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-builders.md +206 -0
- package/skills/hexasync-steps-api-http/references/steps.API.request-pipeline-and-precedence.md +13 -0
- package/skills/hexasync-steps-api-http/references/steps.API.sensitive-headers-and-diagnostic-trail.md +25 -0
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +103 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.connection-binding.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.cross-cutting-step-flags.md +76 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.execution-budgets.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-results-graceful-returns-and-run-error-data.md +18 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +21 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.flow-entry.md +8 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.md +22 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +79 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.payload-selection-and-thrown-error-routing.md +19 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +11 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +5 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +300 -0
- package/skills/hexasync-steps-control-data/SKILL.md +59 -0
- package/skills/hexasync-steps-control-data/references/INDEX.md +133 -0
- package/skills/hexasync-steps-control-data/references/INSTALL.md +35 -0
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +101 -0
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +80 -0
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +221 -0
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +87 -0
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +303 -0
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +475 -0
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +323 -0
- package/skills/hexasync-steps-control-data/references/steps.End.md +100 -0
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +167 -0
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +88 -0
- package/skills/hexasync-steps-control-data/references/steps.IF.md +284 -0
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +170 -0
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +137 -0
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +175 -0
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +146 -0
- package/skills/hexasync-steps-control-data/references/steps.OData.md +133 -0
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +274 -0
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +126 -0
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +264 -0
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +164 -0
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +180 -0
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +124 -0
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +255 -0
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +168 -0
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +207 -0
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +194 -0
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +253 -0
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +247 -0
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +149 -0
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +172 -0
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +78 -0
- package/skills/hexasync-tables-tasks-objects/SKILL.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +78 -0
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.authoring-dependencies.md +80 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.best-practices-and-pitfalls.md +22 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +430 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.md +57 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +340 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +88 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +27 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +37 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +179 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +31 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +26 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +52 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +20 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +55 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +24 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +35 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +25 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +23 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +21 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.md +64 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +32 -0
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +8 -0
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +318 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +518 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.md +62 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.minimal-declaration-and-composed-usage.md +49 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +10 -0
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.the-system-columns-are-not-declared-here.md +6 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.best-practices.md +11 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +357 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +14 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +12 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +28 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +44 -0
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.systemcolumns-presentation.md +99 -0
- package/skills/hexasync-templates/SKILL.md +67 -0
- package/skills/hexasync-templates/references/AI-INDEX.md +125 -0
- package/skills/hexasync-templates/references/INDEX.md +73 -0
- package/skills/hexasync-templates/references/INSTALL.md +35 -0
- package/skills/hexasync-templates/references/KB-INDEX.md +128 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.composition-fields.md +44 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.deployment-descriptor-retirement-and-current-composition.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.md +32 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +34 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +54 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.author.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connector-definition-document.md +356 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.contributors.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.creationsteps.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.databasename.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.description.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.externals.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.browser.md +101 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form-field-fields.md +238 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.form.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.get_local_storage--set_local_storage.md +114 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.health_check_worker.md +33 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.if--switch.md +148 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.integration_app_management.md +115 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.jsonata--liquid.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +109 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.nextbranch-fields.md +93 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.output-fields.md +82 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.read_queries.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.redirect.md +80 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.select_google_drive.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.show_info.md +65 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.single_choice_form--multiple_choice_form.md +47 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +233 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.wait.md +79 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.id.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +30 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +14 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.name.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.noschedules.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +23 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.recommendations.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +15 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.thumbnail.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +13 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.variables.md +16 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +12 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +36 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +29 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +21 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +5 -0
- package/skills/hexasync-transformations/SKILL.md +51 -0
- package/skills/hexasync-transformations/references/INDEX.md +40 -0
- package/skills/hexasync-transformations/references/INSTALL.md +35 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.best-practices.md +21 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.contract.md +12 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.envelope-fields.md +115 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.example-enrich-an-item-with-a-structured-lookup.md +36 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.md +20 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.none--disabled-versus-absent-discriminator.md +17 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +37 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +10 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.sensible-configuration.md +23 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.syntax.md +30 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-chain-contract.md +43 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkclone--clone-many.md +24 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.bulkrename--rename-many.md +27 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.clone--copy-one-field-to-several-names.md +47 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +120 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.md +18 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.nested_sql--legacy-raw-sql-producing-a-nested-list.md +64 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +88 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_many--the-dsl-replacement-for-nested_sql.md +172 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +220 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.rename--rename-one-field.md +45 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.resolve_raw_data--lift-a-value-out-of-the-raw-payload.md +86 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +49 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.sql--legacy-raw-sql.md +73 -0
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +9 -0
- package/skills/hexasync-validations/SKILL.md +52 -0
- package/skills/hexasync-validations/references/INDEX.md +27 -0
- package/skills/hexasync-validations/references/INSTALL.md +35 -0
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +196 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.authoring-validations.md +5 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.best-practices.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.composing-rules.md +37 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.example-required-text-plus-a-numeric-range.md +33 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +118 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +27 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +57 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.metadata-members.md +134 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +15 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.operators.md +406 -0
- package/skills/hexasync-validations/references/validations.VALIDATIONS.troubleshooting.md +13 -0
- package/skills/hexasync-webhooks/SKILL.md +62 -0
- package/skills/hexasync-webhooks/references/INDEX.md +46 -0
- package/skills/hexasync-webhooks/references/INSTALL.md +35 -0
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +130 -0
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +259 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +206 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +62 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.message-shape.md +29 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +59 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +72 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +10 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.routing-and-boundary-ownership.md +30 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.shape.md +37 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.datafilter.md +68 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +268 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.id-target.md +21 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchfilter-and-matchpattern.md +77 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.matchremovefilter-and-matchremovepattern.md +41 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.md +20 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectid-deprecated.md +25 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.objectids.md +66 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +67 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +31 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.rejected-target-fields-finalsteps-and-responsefilters.md +8 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.troubleshooting.md +17 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.webhook-properties.md +117 -0
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.worked-example-webhook-direct-index-plus-steps.md +71 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# `EXCEPTION` — Recoverable failure from message lines
|
|
2
|
+
|
|
3
|
+
> Addressable through MCP as **`hexasync://docs/steps/EXCEPTION`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`EXCEPTION` stops the current path with an **ordinary, recoverable failure**. Its payload is a list of message lines; each line is rendered as a Scriban template against the current context, the lines are joined with newlines, and the result becomes the failure message. It never succeeds, so it writes nothing to `_outputs.<KEY>`. Place it in a workflow's `steps` list where a path must fail; the step's own `onError` route can catch the failure and continue.
|
|
8
|
+
|
|
9
|
+
### Syntax
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
steps:
|
|
13
|
+
- key: STEP_KEY # required
|
|
14
|
+
displayType: EXCEPTION # required (exact case)
|
|
15
|
+
data: # required: list of message lines
|
|
16
|
+
- Message line # each line may contain {{ ... }} expressions
|
|
17
|
+
- Message line
|
|
18
|
+
onError: HANDLER_KEY # optional (shared envelope field)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### When to use
|
|
22
|
+
|
|
23
|
+
- Use when a path must fail with a readable, multi-line message **and** the failure should stay recoverable through this step's `onError` route (for example, a validation failure that a later step reports or skips).
|
|
24
|
+
- Use when you want the failure to behave exactly like any other step failure (for example, a failed request).
|
|
25
|
+
- Do not use when the flow must stop **definitively** with an error code, or when you need to re-raise a failure captured earlier — use [Error](steps.Error.md#contract), whose raise bypasses the step's `onError` route.
|
|
26
|
+
- Do not use to end a path successfully — route with `next` or use [End](hexasync://docs/steps/End).
|
|
27
|
+
|
|
28
|
+
**Choosing `EXCEPTION` vs `Error`:**
|
|
29
|
+
|
|
30
|
+
| Need | Step |
|
|
31
|
+
| --- | --- |
|
|
32
|
+
| Recoverable failure; this step's `onError` handler should run | `EXCEPTION` |
|
|
33
|
+
| Message assembled from several lines | `EXCEPTION` |
|
|
34
|
+
| Definitive stop that this step's `onError` must not swallow | `Error` |
|
|
35
|
+
| Stable machine-readable error `code` | `Error` |
|
|
36
|
+
| Re-raise or wrap a failure captured earlier in the flow (`fromStep`) | `Error` |
|
|
37
|
+
|
|
38
|
+
### Sensible configuration
|
|
39
|
+
|
|
40
|
+
Keep the first line short and specific (it is what appears first in logs), put remediation hints in later lines, and include the offending value through an expression so the failure can be diagnosed without re-running.
|
|
41
|
+
|
|
42
|
+
```yaml
|
|
43
|
+
steps:
|
|
44
|
+
- key: REJECT_ORDER
|
|
45
|
+
displayType: EXCEPTION
|
|
46
|
+
data:
|
|
47
|
+
- 'Order {{ _outputs.LOAD_ORDERS.items[0].id }} has no reference.'
|
|
48
|
+
- Fix the source record and retry.
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Fields
|
|
52
|
+
|
|
53
|
+
Shared envelope fields (`key`, `provider`, `displayType`, `input`, `arguments`, `next`, `onError`, `rootStep`) behave as described in the [step envelope](hexasync://docs/steps/STEP-ENVELOPE).
|
|
54
|
+
|
|
55
|
+
### `data` (message lines)
|
|
56
|
+
|
|
57
|
+
`data: <string[]>` — required; no default.
|
|
58
|
+
|
|
59
|
+
The whole payload is a list of strings. Each entry is one message line, rendered as Scriban against the current context (including resolved `arguments`), in authored order; a line that renders to null becomes empty text. The lines are joined with newlines. An empty list still fails, with an empty message. There are no `message`, `code` or `fromStep` members.
|
|
60
|
+
|
|
61
|
+
Literal line:
|
|
62
|
+
|
|
63
|
+
```yaml
|
|
64
|
+
steps:
|
|
65
|
+
- key: FAIL
|
|
66
|
+
rootStep: true
|
|
67
|
+
displayType: EXCEPTION
|
|
68
|
+
data:
|
|
69
|
+
- The request cannot be processed.
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Rendered lines, using a resolved argument:
|
|
73
|
+
|
|
74
|
+
```yaml
|
|
75
|
+
steps:
|
|
76
|
+
- key: FAIL_REFERENCE
|
|
77
|
+
displayType: EXCEPTION
|
|
78
|
+
arguments:
|
|
79
|
+
reference: '{{ _outputs.INPUT.items[0].reference }}'
|
|
80
|
+
data:
|
|
81
|
+
- 'Reference {{ __this.arguments.reference }} was rejected.'
|
|
82
|
+
- Review the input before retrying.
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Choose literal lines for fixed conditions; choose rendered lines when the message must name the value that caused the failure.
|
|
86
|
+
|
|
87
|
+
## Output
|
|
88
|
+
|
|
89
|
+
None. `EXCEPTION` always fails and never writes `_outputs.<KEY>`. When an `onError` handler runs, it reads the failure through the workflow's error context described in the [step envelope](hexasync://docs/steps/STEP-ENVELOPE/executor-results-graceful-returns-and-run-error-data).
|
|
90
|
+
|
|
91
|
+
## Failure behavior
|
|
92
|
+
|
|
93
|
+
| Situation | Effect | Fix |
|
|
94
|
+
| --- | --- | --- |
|
|
95
|
+
| Normal execution | Ordinary failure with the joined message; `onError` route runs if set, otherwise the failure propagates | Intended |
|
|
96
|
+
| `data: []` or missing payload | Fails with an empty message | Author at least one line |
|
|
97
|
+
| `data` is an object such as `{message: ...}` | Payload cannot be read as a list; the failure reports a parsing error instead of your message | Use a list of strings |
|
|
98
|
+
| A line contains an invalid expression | Rendering error propagates instead of your message | Fix the template |
|
|
99
|
+
| `onError` names a missing key | Fails with a "target not found" error | Point `onError` at an existing step key |
|
|
100
|
+
|
|
101
|
+
### Recovery example
|
|
102
|
+
|
|
103
|
+
```yaml
|
|
104
|
+
steps:
|
|
105
|
+
- key: INPUT
|
|
106
|
+
rootStep: true
|
|
107
|
+
displayType: VALUES
|
|
108
|
+
data:
|
|
109
|
+
values:
|
|
110
|
+
- reference: '{{ _inputs.reference }}'
|
|
111
|
+
next: FAIL_REFERENCE
|
|
112
|
+
- key: FAIL_REFERENCE
|
|
113
|
+
displayType: EXCEPTION
|
|
114
|
+
data:
|
|
115
|
+
- 'Reference {{ _outputs.INPUT.items[0].reference }} was rejected.'
|
|
116
|
+
onError: HANDLE
|
|
117
|
+
- key: HANDLE
|
|
118
|
+
displayType: IF
|
|
119
|
+
data:
|
|
120
|
+
if: 'true'
|
|
121
|
+
then: null
|
|
122
|
+
else: null
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
`FAIL_REFERENCE` fails, `HANDLE` runs because the failure is ordinary, and the path then ends. The failure stays recorded even though it was handled.
|
|
126
|
+
|
|
127
|
+
## Best practices
|
|
128
|
+
|
|
129
|
+
- Prefer `EXCEPTION` for failures a later step may legitimately handle; prefer `Error` for conditions that must stop the flow, because `EXCEPTION` is caught by its `onError` route like any other failure.
|
|
130
|
+
- Always author a list, never an object: an object fails before your message is produced, which hides the real reason.
|
|
131
|
+
- Include the identifying value in the message, because a failure without context forces a re-run to diagnose.
|
|
132
|
+
- Do not put secrets or full records in message lines; messages are logged and shown to operators.
|
|
133
|
+
|
|
134
|
+
## Related
|
|
135
|
+
|
|
136
|
+
- [Error](steps.Error.md#contract) — coded, definitive raise
|
|
137
|
+
- [Workflow and step envelope](hexasync://docs/steps/STEP-ENVELOPE)
|
|
138
|
+
- [Routing](routing.NEXT.md)
|
|
139
|
+
- [Step catalog](hexasync://docs/steps/INDEX)
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
# `Error` — Definitive coded failure
|
|
2
|
+
|
|
3
|
+
> Addressable through MCP as **`hexasync://docs/steps/Error`**.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
`Error` (exact case) **intentionally stops the flow** with a workflow-level failure. It raises a new failure from a `code` and/or `message`, or re-raises (optionally wrapping) a failure captured earlier by naming that step in `fromStep`. The raise bypasses this step's own `onError` route and is recorded as the run's error, so it never writes a successful `_outputs.<KEY>`. Place it in a workflow's `steps` list at the point where the flow must end in failure.
|
|
8
|
+
|
|
9
|
+
### Syntax
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
steps:
|
|
13
|
+
- key: STEP_KEY # required
|
|
14
|
+
displayType: Error # required (exact case)
|
|
15
|
+
data: # required; at least one of fromStep/code/message
|
|
16
|
+
fromStep: FAILED_STEP_KEY # optional: key of an earlier step whose failure was captured
|
|
17
|
+
code: ERROR_CODE # optional: machine-readable code
|
|
18
|
+
message: Message text # optional: human-readable text; may contain {{ ... }}
|
|
19
|
+
maxStepIterations: 1000 # optional: shared visit cap, defaults to 1000
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### When to use
|
|
23
|
+
|
|
24
|
+
- Use when the flow must end in failure and this step's `onError` route must **not** swallow it.
|
|
25
|
+
- Use when callers or monitoring need a stable error `code`.
|
|
26
|
+
- Use one `Error` after one classification step for all failure classes of a response ([Classify once, raise once](#classify-once-raise-once)), not one `Error` per class.
|
|
27
|
+
- Use inside an `onError` handler to re-raise the captured failure (`fromStep`), optionally with a clearer code/message, so the original cause is preserved.
|
|
28
|
+
- Do not use when the failure should be recoverable by the step's `onError` route, or when the message is several lines — use [EXCEPTION](steps.EXCEPTION.md#contract).
|
|
29
|
+
- See the [EXCEPTION vs Error table](steps.EXCEPTION.md#when-to-use).
|
|
30
|
+
|
|
31
|
+
### Sensible configuration
|
|
32
|
+
|
|
33
|
+
Give every raise a stable upper-case `code` and a short message that names the failing value. Use `fromStep` whenever you are raising because an earlier step failed, so the original cause is kept.
|
|
34
|
+
|
|
35
|
+
```yaml
|
|
36
|
+
steps:
|
|
37
|
+
- key: STOP_INVALID_ORDER
|
|
38
|
+
displayType: Error
|
|
39
|
+
data:
|
|
40
|
+
code: INVALID_ORDER
|
|
41
|
+
message: 'Order {{ _outputs.LOAD_ORDERS.items[0].id }} is missing a reference.'
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Fields and raise resolution
|
|
45
|
+
|
|
46
|
+
Shared envelope fields behave as described in the [step envelope](hexasync://docs/steps/STEP-ENVELOPE). All three raise fields are optional strings with no default, but **at least one must be present and non-blank after rendering**. Each present field is rendered as Scriban against the current context; literal values work unchanged. If the payload contains a nested `data` object, its fields take precedence over same-named outer fields (a nested blank value hides the outer one).
|
|
47
|
+
|
|
48
|
+
How the fields combine:
|
|
49
|
+
|
|
50
|
+
| Authored | Result |
|
|
51
|
+
| --- | --- |
|
|
52
|
+
| `fromStep` only | Re-raises the captured failure of that step unchanged. |
|
|
53
|
+
| `fromStep` + `code`/`message` | Raises a new failure that wraps the captured failure as its cause. |
|
|
54
|
+
| `code`/`message` only | Raises a new failure. |
|
|
55
|
+
| none non-blank | Ordinary configuration failure (not an intentional raise); this one *is* eligible for the `onError` route. |
|
|
56
|
+
|
|
57
|
+
Display text is `message` when the field is present — even if it renders empty — otherwise `code`.
|
|
58
|
+
|
|
59
|
+
### `data.fromStep`
|
|
60
|
+
|
|
61
|
+
Syntax: `fromStep: <string>`
|
|
62
|
+
|
|
63
|
+
`fromStep: <string>` — optional; no default.
|
|
64
|
+
|
|
65
|
+
Exact key of an earlier step in the same flow whose failure was captured (typically the step whose `onError` routed here). It names a failure, not a successful output. If that step has no captured failure, the raise reports that `fromStep` names no captured error.
|
|
66
|
+
|
|
67
|
+
```yaml
|
|
68
|
+
steps:
|
|
69
|
+
- key: RETHROW
|
|
70
|
+
displayType: Error
|
|
71
|
+
data:
|
|
72
|
+
fromStep: LOAD_ORDERS # optional; no default
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### `data.code`
|
|
76
|
+
|
|
77
|
+
Syntax: `code: <string>`
|
|
78
|
+
|
|
79
|
+
`code: <string>` — optional; no default.
|
|
80
|
+
|
|
81
|
+
Machine-readable error code for a new or wrapping raise. Used as display text when `message` is absent.
|
|
82
|
+
|
|
83
|
+
```yaml
|
|
84
|
+
steps:
|
|
85
|
+
- key: STOP
|
|
86
|
+
displayType: Error
|
|
87
|
+
data:
|
|
88
|
+
code: INVALID_ITEM # optional; no default
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### `data.message`
|
|
92
|
+
|
|
93
|
+
Syntax: `message: <string>`
|
|
94
|
+
|
|
95
|
+
`message: <string>` — optional; no default.
|
|
96
|
+
|
|
97
|
+
Human-readable text, rendered with Scriban. Takes display precedence over `code` whenever present, even if it renders empty; omit it to display the code. It is not truncated.
|
|
98
|
+
|
|
99
|
+
```yaml
|
|
100
|
+
steps:
|
|
101
|
+
- key: STOP
|
|
102
|
+
displayType: Error
|
|
103
|
+
data:
|
|
104
|
+
code: INVALID_ITEM
|
|
105
|
+
message: 'Item {{ _outputs.LOAD_ITEMS.items[0].id }} cannot be processed.' # optional; no default
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Choose `code` alone for stable, machine-handled failures; add `message` when operators need context; add `fromStep` when the raise is caused by an earlier failure.
|
|
109
|
+
|
|
110
|
+
### `data.maxStepIterations`
|
|
111
|
+
|
|
112
|
+
Syntax: `maxStepIterations: <number | null>`
|
|
113
|
+
|
|
114
|
+
`maxStepIterations: 1000` — optional; defaults to 1000.
|
|
115
|
+
|
|
116
|
+
Shared per-step visit cap, not an Error retry setting. See [cross-cutting step flags](hexasync://docs/steps/STEP-ENVELOPE/cross-cutting-step-flags).
|
|
117
|
+
|
|
118
|
+
```yaml
|
|
119
|
+
steps:
|
|
120
|
+
- key: STOP
|
|
121
|
+
displayType: Error
|
|
122
|
+
data:
|
|
123
|
+
code: INVALID_ITEM
|
|
124
|
+
maxStepIterations: 10 # defaults to 1000
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Composed captured failure
|
|
128
|
+
|
|
129
|
+
An ordinary failure is caught by `onError`, then `Error` re-raises it with a code while keeping the original cause. The intentional raise bypasses `WOULD_RECOVER`.
|
|
130
|
+
|
|
131
|
+
```yaml
|
|
132
|
+
steps:
|
|
133
|
+
- key: FAIL_SOURCE
|
|
134
|
+
rootStep: true
|
|
135
|
+
displayType: EXCEPTION
|
|
136
|
+
data:
|
|
137
|
+
- Source could not be read.
|
|
138
|
+
onError: WRAP_SOURCE
|
|
139
|
+
- key: WRAP_SOURCE
|
|
140
|
+
displayType: Error
|
|
141
|
+
data:
|
|
142
|
+
fromStep: FAIL_SOURCE
|
|
143
|
+
code: SOURCE_FAILED
|
|
144
|
+
message: 'The source step failed: {{ _outputs.FAIL_SOURCE.error.message }}'
|
|
145
|
+
onError: WOULD_RECOVER
|
|
146
|
+
- key: WOULD_RECOVER
|
|
147
|
+
displayType: IF
|
|
148
|
+
data:
|
|
149
|
+
if: 'true'
|
|
150
|
+
then: null
|
|
151
|
+
else: null
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Classify once, raise once
|
|
155
|
+
|
|
156
|
+
Handle a response's failure modes with **one classification expression plus one IF and one `Error`**, not one step per error class. The expression — JSONata or Scriban, as long as it needs to be — turns everything that can go wrong (HTTP status, a call that threw, an invalid envelope, missing required members) into a single verdict `{ok, code, retryable, message}`. The flow then branches once, and a single `Error` raises whatever the verdict says.
|
|
157
|
+
|
|
158
|
+
Why:
|
|
159
|
+
|
|
160
|
+
- **One place to read.** Every failure rule of the endpoint is in one expression, in priority order; adding a rule edits one line instead of adding steps and routes.
|
|
161
|
+
- **No near-duplicate steps.** Ten `IF` + `Error` pairs that differ only by a status number and a code are ten places to keep in sync, and each extra hop counts towards iteration guards.
|
|
162
|
+
- **Stable, bounded codes.** The code vocabulary is visible as a closed list, which is what monitoring and support rely on.
|
|
163
|
+
|
|
164
|
+
Add another step **only when a class needs a genuinely different action**: another API call (for example, a get-by-id `404` in a pusher that must fall back to create), or saving partial data before failing. Retrying is not such an action: a raised failure of a scheduled run is retried by the scheduler ([failed-run retries](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#overlapping-runs-and-failed-run-retries)); do not author retry loops. A credential refresh on `401` and bounded throttling retries on `429` belong to the connection, so leave those statuses unaccepted.
|
|
165
|
+
|
|
166
|
+
Full pattern — call, classify, branch, raise:
|
|
167
|
+
|
|
168
|
+
```yaml
|
|
169
|
+
steps:
|
|
170
|
+
- key: CALL
|
|
171
|
+
rootStep: true
|
|
172
|
+
displayType: API
|
|
173
|
+
connectorId: 22222222-2222-4222-8222-222222222222
|
|
174
|
+
data:
|
|
175
|
+
type: REST
|
|
176
|
+
method: GET
|
|
177
|
+
url: /orders
|
|
178
|
+
gracefulException: true # a thrown call becomes {isException, exceptionMessage} instead of stopping the flow
|
|
179
|
+
acceptHttpStatuses: # accept the statuses whose bodies you classify; 401/429 stay with the connection
|
|
180
|
+
success: { expression: '^2\d\d$' }
|
|
181
|
+
clientError: { expression: '^(400|403|404|409|410|422)$' }
|
|
182
|
+
serverError: { expression: '^5\d\d$' }
|
|
183
|
+
next: CLASSIFY
|
|
184
|
+
- key: CLASSIFY
|
|
185
|
+
displayType: JSONata
|
|
186
|
+
data:
|
|
187
|
+
verdict:
|
|
188
|
+
expression: |-
|
|
189
|
+
(
|
|
190
|
+
$r := _outputs.CALL;
|
|
191
|
+
$s := $r.statusCode;
|
|
192
|
+
$b := $r.body;
|
|
193
|
+
$code :=
|
|
194
|
+
$r.isException ? "HTTP_CALL_FAILED" :
|
|
195
|
+
$s >= 500 ? "HTTP_TRANSIENT" :
|
|
196
|
+
$s = 404 ? "HTTP_ROUTE_UNKNOWN" :
|
|
197
|
+
$s = 410 ? "HTTP_GONE" :
|
|
198
|
+
$s >= 400 ? "HTTP_PERMANENT_REQUEST" :
|
|
199
|
+
$type($b) != "object" ? "INVALID_ENVELOPE" :
|
|
200
|
+
$type($b.data) != "array" ? "MISSING_DATA_ARRAY" :
|
|
201
|
+
$count($b.data[$not($exists(orderNumber))]) > 0 ? "MISSING_ORDER_NUMBER" :
|
|
202
|
+
"OK";
|
|
203
|
+
{
|
|
204
|
+
"ok": $code = "OK",
|
|
205
|
+
"code": $code,
|
|
206
|
+
"retryable": $code in ["HTTP_CALL_FAILED", "HTTP_TRANSIENT"],
|
|
207
|
+
"message": $code = "OK" ? "" :
|
|
208
|
+
$r.isException ? $substring($r.exceptionMessage, 0, 300) :
|
|
209
|
+
"HTTP " & $string($s) & ": " & $substring($string($b.message ? $b.message : $code), 0, 300)
|
|
210
|
+
}
|
|
211
|
+
)
|
|
212
|
+
next: CHECK
|
|
213
|
+
- key: CHECK
|
|
214
|
+
displayType: IF
|
|
215
|
+
data:
|
|
216
|
+
description: Continue only with a valid page
|
|
217
|
+
if: '{{ _outputs.CLASSIFY.verdict.ok }}'
|
|
218
|
+
then: MAP
|
|
219
|
+
else: FAIL
|
|
220
|
+
- key: FAIL
|
|
221
|
+
displayType: Error
|
|
222
|
+
data:
|
|
223
|
+
code: '{{ _outputs.CLASSIFY.verdict.code }}'
|
|
224
|
+
message: '{{ _outputs.CLASSIFY.verdict.message }}'
|
|
225
|
+
- key: MAP
|
|
226
|
+
displayType: JSONata
|
|
227
|
+
data:
|
|
228
|
+
rows: { expression: '[_outputs.CALL.body.data.{"order_number": $string(orderNumber)}]' }
|
|
229
|
+
next: null
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
Order the conditions from the most specific to the most general: a thrown call before status checks, statuses before envelope checks, envelope before member checks. The last branch is the only success. Only a short, bounded excerpt of the body reaches the message; never raise the whole body or credentials. The same verdict can be built in Scriban (an `if`/`else if` chain inside a [Scriban](hexasync://docs/steps/Scriban#contract) step); prefer JSONata when the checks inspect arrays. When the next step is fixed, the branch can also be the classifier's own conditional [`next`](routing.NEXT.md#conditional-object-form) instead of a separate IF.
|
|
233
|
+
|
|
234
|
+
Where it applies: puller page calls ([API error classification](hexasync://docs/pullers/PULLERS/api-error-classification)), pusher destination calls ([pushers](hexasync://docs/pushers/PUSHERS/best-practices)), webhook target steps ([webhooks](hexasync://docs/webhooks/WEBHOOKS/best-practices)) and any [API](hexasync://docs/steps/API/failure-handling) step whose failures need a code.
|
|
235
|
+
|
|
236
|
+
### Anti-pattern: one step per error class (do not copy)
|
|
237
|
+
|
|
238
|
+
```yaml
|
|
239
|
+
steps:
|
|
240
|
+
- key: IS_400
|
|
241
|
+
displayType: IF
|
|
242
|
+
data: { if: '{{ _outputs.CALL.statusCode == 400 }}', then: FAIL_PERMANENT_REQUEST, else: IS_404 }
|
|
243
|
+
- key: FAIL_PERMANENT_REQUEST
|
|
244
|
+
displayType: Error
|
|
245
|
+
data: { code: HTTP_PERMANENT_REQUEST }
|
|
246
|
+
- key: IS_404
|
|
247
|
+
displayType: IF
|
|
248
|
+
data: { if: '{{ _outputs.CALL.statusCode == 404 }}', then: FAIL_ROUTE_UNKNOWN, else: IS_410 }
|
|
249
|
+
- key: FAIL_ROUTE_UNKNOWN
|
|
250
|
+
displayType: Error
|
|
251
|
+
data: { code: HTTP_ROUTE_UNKNOWN }
|
|
252
|
+
# … IS_410 / FAIL_GONE, IS_429 / FAIL_THROTTLED, IS_5XX / FAIL_TRANSIENT, IS_EMPTY / FAIL_ENVELOPE …
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
Each class costs two steps that differ only by a number and a code; envelope and member checks are usually forgotten, and every new class needs new routes. Replace the chain with the single classifier above.
|
|
256
|
+
|
|
257
|
+
## Output
|
|
258
|
+
|
|
259
|
+
None. `Error` never succeeds. The raise is recorded as the run's error (`_outputs.__error`), and the step's failure details (`message`, `detail`, `stackTrace`) are available at `_outputs.<KEY>.error` for the workflow's error/final handling; see [run error data](hexasync://docs/steps/STEP-ENVELOPE/executor-results-graceful-returns-and-run-error-data).
|
|
260
|
+
|
|
261
|
+
## Failure behavior
|
|
262
|
+
|
|
263
|
+
| Situation | Effect | Fix |
|
|
264
|
+
| --- | --- | --- |
|
|
265
|
+
| Valid raise | Flow stops; this step's `onError` is skipped; workflow-level error handling runs | Intended |
|
|
266
|
+
| `fromStep` names a step with no captured failure | Raise reports the unresolved key | Use the key of the step that actually failed |
|
|
267
|
+
| All fields absent or blank after rendering | Ordinary configuration failure (routable by `onError`) | Author a non-blank `code` or `message` |
|
|
268
|
+
| `message: ''` with a `code` | Raises, but with an empty display message | Omit `message` to display the code |
|
|
269
|
+
|
|
270
|
+
### Rejected form (non-copyable)
|
|
271
|
+
|
|
272
|
+
```yaml
|
|
273
|
+
steps:
|
|
274
|
+
- key: STOP
|
|
275
|
+
displayType: Error
|
|
276
|
+
data:
|
|
277
|
+
code: OUTER
|
|
278
|
+
data:
|
|
279
|
+
code: ''
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
The nested blank `code` hides `OUTER`, so nothing non-blank remains and the step fails as a configuration error.
|
|
283
|
+
|
|
284
|
+
## Best practices
|
|
285
|
+
|
|
286
|
+
- Choose `Error` for terminal conditions and `EXCEPTION` for recoverable ones, because only `EXCEPTION` is caught by its own `onError` route.
|
|
287
|
+
- Use `fromStep` when re-raising inside a handler, because a fresh raise discards the original cause and makes diagnosis harder.
|
|
288
|
+
- Keep codes stable and documented; downstream alerting and support depend on them more than on message wording.
|
|
289
|
+
- Bound message size by assembling long diagnostics in a preceding step; `Error` does not truncate.
|
|
290
|
+
|
|
291
|
+
## Related
|
|
292
|
+
|
|
293
|
+
- [EXCEPTION](steps.EXCEPTION.md#contract) — recoverable failure
|
|
294
|
+
- [Workflow and step envelope](hexasync://docs/steps/STEP-ENVELOPE)
|
|
295
|
+
- [Routing](routing.NEXT.md)
|
|
296
|
+
- [Step catalog](hexasync://docs/steps/INDEX)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hexasync-expressions
|
|
3
|
+
description: "HexaSync expressions and context: Scriban {{ }} templates, JSONata, JSONPath selection, the three-dialect classification, arguments, environment, step inputs/outputs (_outputs), item and task context, which roots exist at each authoring position, Scriban/JSONata/Liquid steps. Use when writing or debugging an expression or asking which variables are available."
|
|
4
|
+
compatibility: "Any agent that reads Agent Skills. Live lookups and validation use the HexaSync Template IDE MCP server (npx -y @beehexa/hexasync-template-ide-mcp@latest), which needs Node.js >= 22.13; without it, read references/."
|
|
5
|
+
metadata:
|
|
6
|
+
author: BeeHexa
|
|
7
|
+
version: "2610.12.2"
|
|
8
|
+
kb-bundle: "99"
|
|
9
|
+
mcp-server: "hexasync-template-ide"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Expressions: Scriban, JSONata, JSONPath and context
|
|
13
|
+
|
|
14
|
+
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.
|
|
15
|
+
|
|
16
|
+
> Generated from the HexaSync knowledge base (asset bundle 99) by @beehexa/hexasync-ai-toolkit 2610.12.2.
|
|
17
|
+
|
|
18
|
+
## How to work
|
|
19
|
+
|
|
20
|
+
When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
|
|
21
|
+
|
|
22
|
+
1. `hexasync_orientation` once per session: what a template is, the two runtimes that must never be mixed, and the lookup order.
|
|
23
|
+
2. `hexasync_explain_type` before writing any field, e.g. `arguments`, `Scriban`, `JSONata`. It returns the authoritative syntax, meaning, default and a YAML example.
|
|
24
|
+
3. `hexasync_search_examples` for complete, schema-valid examples (e.g. query `Scriban JSONata expression arguments`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
|
|
25
|
+
4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
|
|
26
|
+
5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
|
|
27
|
+
|
|
28
|
+
Never infer syntax from YAML already in the workspace: it may be outdated or wrong. The knowledge base and the MCP tools are authoritative. Use actual identities from the workspace or `hexasync_list_connectors`; never invent one.
|
|
29
|
+
|
|
30
|
+
## Best practices (from the knowledge base)
|
|
31
|
+
|
|
32
|
+
- **Pick the dialect by the job.** Prefer Scriban for text; prefer JSONata for structure, because Scriban produces text first and only recovers types when the whole result looks like JSON. _([Scriban — Render values with Scriban templates](references/steps.Scriban.md#best-practices))_
|
|
33
|
+
- **Validate structured results.** Invalid JSON-looking output stays a string and does not fail the step. When a downstream step needs an object, build it in JSONata or check its type before use. _([Scriban — Render values with Scriban templates](references/steps.Scriban.md#best-practices))_
|
|
34
|
+
- **Escape inserted text inside JSON templates.** Inserting a value that contains a quote or newline into a JSON document template produces invalid JSON, which silently stays a string. Insert only safe values, or build the object in JSONata. _([Scriban — Render values with Scriban templates](references/steps.Scriban.md#best-practices))_
|
|
35
|
+
- **Render one whole value per field.** `{{ x }}` alone is re-typed; `id-{{ x }}` is always text. Do not mix text and a value you expect as a number. _([Scriban — Render values with Scriban templates](references/steps.Scriban.md#best-practices))_
|
|
36
|
+
- **Expect blank to mean absent.** A field that renders empty is omitted rather than set to `""`; downstream templates should tolerate the missing member. _([Scriban — Render values with Scriban templates](references/steps.Scriban.md#best-practices))_
|
|
37
|
+
- **Check presence before hashing or comparing.** A missing member resolves to null, so a fingerprint or equality check alone cannot tell a missing value from an explicit null. _([Scriban — Render values with Scriban templates](references/steps.Scriban.md#best-practices))_
|
|
38
|
+
- Prefer one output per downstream value over one large object, because consumers then reference stable, named members. _([JSONata — Reshape run data with JSONata](references/steps.JSONata.md#best-practices))_
|
|
39
|
+
- Prefer explicit `_outputs.<key>` paths over relying on context shape, because the root is the whole step context. _([JSONata — Reshape run data with JSONata](references/steps.JSONata.md#best-practices))_
|
|
40
|
+
- Avoid embedding Scriban inside JSONata unless you need text substitution, because it complicates quoting and error messages. _([JSONata — Reshape run data with JSONata](references/steps.JSONata.md#best-practices))_
|
|
41
|
+
- Avoid blank programs as placeholders, because they silently produce nothing. _([JSONata — Reshape run data with JSONata](references/steps.JSONata.md#best-practices))_
|
|
42
|
+
- Prefer `$exists(...)` checks when downstream logic must distinguish "missing" from a value, because null/undefined results are omitted rather than stored. _([JSONata — Reshape run data with JSONata](references/steps.JSONata.md#best-practices))_
|
|
43
|
+
- Use `$fingerprint` only after validating status and payload, and carry the digest as an ordinary argument to the next loop. _([JSONata — Reshape run data with JSONata](references/steps.JSONata.md#best-practices))_
|
|
44
|
+
- Replace every `Liquid` step when you find one: it can only fail. _([Liquid — not implemented (use Scriban or JSONata)](references/steps.Liquid.md#best-practices))_
|
|
45
|
+
- Migrate the template syntax deliberately (filters, loops and conditionals differ between dialects); see [expression dialects](references/expressions.CONTEXT-AND-IO.md). _([Liquid — not implemented (use Scriban or JSONata)](references/steps.Liquid.md#best-practices))_
|
|
46
|
+
|
|
47
|
+
## References
|
|
48
|
+
|
|
49
|
+
[`references/INDEX.md`](references/INDEX.md) maps every section of *Arguments, environment, step inputs and outputs*, *Scriban — Render values with Scriban templates*, *JSONata — Reshape run data with JSONata*, *Liquid — not implemented (use Scriban or JSONata)* and lists the questions this skill answers. Open only the section you need.
|
|
50
|
+
|
|
51
|
+
## Installing the MCP server
|
|
52
|
+
|
|
53
|
+
If the `hexasync_*` tools are missing, run `npx -y @beehexa/hexasync-ai-toolkit install --client all`, or follow [`references/INSTALL.md`](references/INSTALL.md) for one client (stdio launch `npx -y @beehexa/hexasync-template-ide-mcp@latest`).
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# References — Expressions: Scriban, JSONata, JSONPath and context
|
|
2
|
+
|
|
3
|
+
Each file is one knowledge-base section of at most 25 KB, the same split the MCP server serves. Links between these files are relative; other `hexasync://` links resolve through the MCP server.
|
|
4
|
+
|
|
5
|
+
## Questions this skill answers
|
|
6
|
+
|
|
7
|
+
- host/stage context, Scriban, JSONata and expression call sites → [Expressions and context](expressions.CONTEXT-AND-IO.md)
|
|
8
|
+
|
|
9
|
+
## Sections
|
|
10
|
+
|
|
11
|
+
### Arguments, environment, step inputs and outputs
|
|
12
|
+
|
|
13
|
+
- [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md)
|
|
14
|
+
- [Quick reference: the three expression dialects](expressions.CONTEXT-AND-IO.quick-reference-the-three-expression-dialects.md)
|
|
15
|
+
- [Runtime scope](expressions.CONTEXT-AND-IO.runtime-scope.md)
|
|
16
|
+
- [Executor results are not downstream values](expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md)
|
|
17
|
+
- [Graceful failures and run errors](expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md)
|
|
18
|
+
- [Shared StepIterator roots](expressions.CONTEXT-AND-IO.shared-stepiterator-roots.md)
|
|
19
|
+
- [Exact mutation timeline](expressions.CONTEXT-AND-IO.exact-mutation-timeline.md)
|
|
20
|
+
- [arguments — computed before the step runs](expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md)
|
|
21
|
+
- [Dialect classification and silent Scriban fallback](expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md)
|
|
22
|
+
- [JSONPath expressions](expressions.CONTEXT-AND-IO.jsonpath-expressions.md)
|
|
23
|
+
- [Scriban default and host custom builtins](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.md)
|
|
24
|
+
- [Standard engine versus host custom functions](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.standard-engine-versus-host-custom-functions.md)
|
|
25
|
+
- [Custom array, enum, item and numeric functions](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-array-enum-item-and-numeric-functions.md)
|
|
26
|
+
- [Custom date functions](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-date-functions.md)
|
|
27
|
+
- [Custom object functions](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-object-functions.md)
|
|
28
|
+
- [Custom string functions](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.custom-string-functions.md)
|
|
29
|
+
- [Visibility and call-site constraints](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.visibility-and-call-site-constraints.md)
|
|
30
|
+
- [Host-qualified authoring examples](expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md)
|
|
31
|
+
- [JSONata engine, pinned version and restrictions](expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md)
|
|
32
|
+
- [JSONata call-site scope and bindings](expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md)
|
|
33
|
+
- [Related](expressions.CONTEXT-AND-IO.related.md)
|
|
34
|
+
|
|
35
|
+
### Scriban — Render values with Scriban templates
|
|
36
|
+
|
|
37
|
+
- [Scriban — Render values with Scriban templates](steps.Scriban.md)
|
|
38
|
+
|
|
39
|
+
### JSONata — Reshape run data with JSONata
|
|
40
|
+
|
|
41
|
+
- [JSONata — Reshape run data with JSONata](steps.JSONata.md)
|
|
42
|
+
|
|
43
|
+
### Liquid — not implemented (use Scriban or JSONata)
|
|
44
|
+
|
|
45
|
+
- [Liquid — not implemented (use Scriban or JSONata)](steps.Liquid.md)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Installing the HexaSync MCP server
|
|
2
|
+
|
|
3
|
+
If the `hexasync_*` tools are not available, install the server (and these skills) for every client at once:
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npx -y @beehexa/hexasync-ai-toolkit install --client all --scope user
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Or register only the server (stdio, `npx -y @beehexa/hexasync-template-ide-mcp@latest`):
|
|
10
|
+
|
|
11
|
+
| Client | Registration |
|
|
12
|
+
| --- | --- |
|
|
13
|
+
| Claude Code | `claude mcp add --scope user --transport stdio hexasync-template-ide -- npx -y @beehexa/hexasync-template-ide-mcp@latest` |
|
|
14
|
+
| Codex | `mcp_servers` in `~/.codex/config.toml` |
|
|
15
|
+
| Cursor | `mcpServers` in `~/.cursor/mcp.json` |
|
|
16
|
+
| Antigravity | `mcpServers` in `~/.gemini/config/mcp_config.json` |
|
|
17
|
+
| pi | `mcpServers` in `~/.pi/agent/mcp.json` |
|
|
18
|
+
| OpenClaw | `openclaw mcp set hexasync-template-ide '{"command":"npx","args":["-y","@beehexa/hexasync-template-ide-mcp@latest"]}'` |
|
|
19
|
+
| VS Code | `servers` in the user `mcp.json` |
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
{
|
|
23
|
+
"mcpServers": {
|
|
24
|
+
"hexasync-template-ide": {
|
|
25
|
+
"command": "npx",
|
|
26
|
+
"args": [
|
|
27
|
+
"-y",
|
|
28
|
+
"@beehexa/hexasync-template-ide-mcp@latest"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
On native Windows use `"command": "cmd", "args": ["/c", "npx", "-y", "@beehexa/hexasync-template-ide-mcp@latest"]`. Validation needs the project folder: when the client does not send roots, add `--root <absolute project path>` to `args` or set `HEXASYNC_WORKSPACE_ROOTS`. Do not add the server to a VS Code that has the HexaSync Template IDE extension: the extension already provides it.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## `arguments` — computed before the step runs
|
|
4
|
+
|
|
5
|
+
[Map](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing#map-arguments), [ordered](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing#ordered-arguments) and [whole-block](hexasync://docs/steps/STEP-ENVELOPE/arguments-and-routing#whole-block-arguments) are canonical forms. The parser emits strings; only SQL-feeding transformation merging applies ordered `type`/`isList`. This page owns the languages, not a duplicate argument grammar.
|
|
6
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
> Part of [Arguments, environment, step inputs and outputs](expressions.CONTEXT-AND-IO.md).
|
|
2
|
+
|
|
3
|
+
## Dialect classification and silent Scriban fallback
|
|
4
|
+
|
|
5
|
+
For fields using the shared classified resolver, trimmed authored text is tested **before rendering**, in this order:
|
|
6
|
+
|
|
7
|
+
1. One balanced **`$$(...)`** call → JSONPath.
|
|
8
|
+
2. One balanced **`$(...)`** call → JSONata.
|
|
9
|
+
3. Otherwise → Scriban, including plain text.
|
|
10
|
+
|
|
11
|
+
The opening parenthesis must close at the final trimmed character. Recognition counts characters, including parentheses inside quoted strings; it is not a quote-aware query lexer. Nested parentheses are permitted when that simple balance holds. Multiple wrappers, trailing text or an incomplete wrapper silently choose Scriban. The inner query payload is then Scriban-rendered; the result is **not classified again**. Fallback renders the original text, preserving the caller renderer's own trimming rules.
|
|
12
|
+
|
|
13
|
+
Boundary: `$(")")` visually contains one JSONata string query, but the `)` inside the quotes closes the character counter before the final character. It therefore renders as literal scalar text `$(")")`, not the expected query value `")"`. A dedicated raw JSONata field can express `")"` without that wrapper-recognition ambiguity; choose a real [call-site contract](expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md), not a guessed escaping rule for this balancer.
|
|
14
|
+
|
|
15
|
+
```yaml
|
|
16
|
+
arguments:
|
|
17
|
+
sum: '$(1 + 2)'
|
|
18
|
+
path: '$$($._inputs.sku)'
|
|
19
|
+
template: '{{ _inputs.sku }}'
|
|
20
|
+
literal: '$(a) and $(b)'
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
With `_inputs: {sku:"A1"}`, expected parser strings are `sum: "3"`, `path: "A1"`, `template: "A1"`, and literal `"$(a) and $(b)"`. The last form executes neither query and raises no classification error. Compose calculations inside one JSONata wrapper, e.g. `$(1 + (2 * 3))` → `"7"`, rather than concatenating wrappers. Unwrapped `1 + 2` is literal text in a scalar consumer, not a calculation.
|
|
24
|
+
|
|
25
|
+
Blank input bypasses evaluation: scalar consumers receive `""`, structured consumers JSON null. Recognized queries return JSON values; scalar consumers unwrap strings, compact arrays/objects, and reduce null to empty text. Structured consumers retain query JSON; Scriban fallback must render valid JSON before parsing, so literal fallback can succeed as an argument and fail as an item page. Invalid recognized queries fail with an error naming JSONata or JSONPath; parsing/render/conversion failures are not silently suppressed.
|
|
26
|
+
|
|
27
|
+
At this shared resolver's **JSONata result** boundary, date-looking JSON strings remain strings rather than becoming inferred native dates. For example, argument `stamp: '$("2026-10-10T12:34:56+07:00")'` yields exactly `"2026-10-10T12:34:56+07:00"`; a structured consumer retains a JSON string with that same text, including the offset. This does not parse or normalize a timestamp. Do not generalize it to JSONPath or Scriban-fallback JSON parsing, which use separate conversion paths, or to the response JSONPath parser's documented UTC date-text conversion.
|
|
28
|
+
|
|
29
|
+
For a structured [SAVE_TASK_DATA](hexasync://docs/steps/SAVE_TASK_DATA) `data.items` string, the same `$(a) and $(b)` fallback is **non-copyable rejected item-page input**: Scriban leaves the text intact, then JSON parsing fails before saving. A single `'$([{"sku": _inputs.sku}])'` with `_inputs.sku: "A1"` produces structured `[{sku:"A1"}]` instead. Classification is shared, but the consumer's requirement for JSON makes the outcome different from a legal literal argument.
|
|
30
|
+
|
|
31
|
+
There is no Razor or C# expression evaluator here. Dedicated whole-block arguments, JSONata transforms, routing and response parsers have their own entry contracts, not blanket wrapper support. [Liquid](steps.Liquid.md) is an unsupported worker executor identity, not a replacement worker evaluator; frontend workflow rendering is separately qualified by [NEXT](hexasync://docs/routing/NEXT#frontend-delta-do-not-apply-this-grammar-to-workers).
|
|
32
|
+
|