@beehexa/hexasync-ai-toolkit 2611.14.1 → 2612.3.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 +2 -2
- package/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +3 -4
- package/.cursor-plugin/plugin.json +3 -4
- package/README.md +5 -74
- package/dist/cli.js +15 -2070
- package/gemini-extension.json +2 -11
- package/openclaw.extension.mjs +2 -3
- package/openclaw.plugin.json +2 -2
- package/package.json +3 -4
- package/plugin.json +3 -4
- package/skills/hexasync-connections/SKILL.md +10 -25
- package/skills/hexasync-connections/references/INDEX.md +4 -4
- package/skills/hexasync-connections/references/INSTALL.md +5 -48
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +1 -1
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +1 -1
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +5 -5
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-error-handling/SKILL.md +9 -16
- package/skills/hexasync-error-handling/references/INDEX.md +1 -1
- package/skills/hexasync-error-handling/references/INSTALL.md +5 -48
- package/skills/hexasync-error-handling/references/routing.NEXT.md +10 -10
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +5 -5
- package/skills/hexasync-error-handling/references/steps.Error.md +8 -8
- package/skills/hexasync-expressions/SKILL.md +10 -25
- package/skills/hexasync-expressions/references/INDEX.md +3 -3
- package/skills/hexasync-expressions/references/INSTALL.md +5 -48
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +4 -4
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +17 -17
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +10 -10
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-expressions/references/steps.JSONata.md +8 -8
- package/skills/hexasync-expressions/references/steps.Liquid.md +2 -2
- package/skills/hexasync-expressions/references/steps.Scriban.md +9 -9
- package/skills/hexasync-field-mapping/SKILL.md +13 -19
- package/skills/hexasync-field-mapping/references/INDEX.md +2 -2
- package/skills/hexasync-field-mapping/references/INSTALL.md +5 -48
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +19 -19
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +5 -5
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +6 -6
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +2 -2
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +4 -4
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +1 -1
- package/skills/hexasync-metrics-reports/SKILL.md +9 -16
- package/skills/hexasync-metrics-reports/references/INDEX.md +1 -1
- package/skills/hexasync-metrics-reports/references/INSTALL.md +5 -48
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +1 -1
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +1 -1
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +2 -2
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +4 -4
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +1 -1
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +4 -4
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +2 -2
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +8 -8
- package/skills/hexasync-pullers/SKILL.md +11 -18
- package/skills/hexasync-pullers/references/INDEX.md +3 -3
- package/skills/hexasync-pullers/references/INSTALL.md +5 -48
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +3 -3
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +6 -6
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +6 -6
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +7 -7
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +2 -2
- package/skills/hexasync-pullers/references/steps.PULLER.md +8 -8
- package/skills/hexasync-pushers/SKILL.md +20 -22
- package/skills/hexasync-pushers/references/INDEX.md +2 -2
- package/skills/hexasync-pushers/references/INSTALL.md +5 -48
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +3 -3
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +4 -4
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +3 -3
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +6 -6
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +4 -4
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +1 -1
- package/skills/hexasync-pushers/references/steps.PUSHER.md +8 -8
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +14 -14
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +13 -13
- package/skills/hexasync-query-dsl/SKILL.md +13 -17
- package/skills/hexasync-query-dsl/references/INDEX.md +1 -1
- package/skills/hexasync-query-dsl/references/INSTALL.md +5 -48
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +4 -4
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +5 -5
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +4 -4
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +7 -7
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +9 -9
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +9 -9
- package/skills/hexasync-query-dsl/references/steps.SQL.md +12 -12
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +9 -9
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +9 -16
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +3 -3
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +5 -48
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +3 -3
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +1 -1
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +5 -5
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +6 -6
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +2 -2
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +9 -9
- package/skills/hexasync-steps-api-http/SKILL.md +20 -27
- package/skills/hexasync-steps-api-http/references/INDEX.md +4 -4
- package/skills/hexasync-steps-api-http/references/INSTALL.md +5 -48
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +2 -2
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +4 -4
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +7 -7
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +4 -4
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +90 -90
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +16 -16
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +4 -4
- package/skills/hexasync-steps-control-data/SKILL.md +24 -30
- package/skills/hexasync-steps-control-data/references/INDEX.md +3 -3
- package/skills/hexasync-steps-control-data/references/INSTALL.md +5 -48
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.fail.md +1 -1
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +2 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +23 -23
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.End.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +6 -6
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.IF.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +48 -48
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +2 -2
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +8 -8
- package/skills/hexasync-steps-control-data/references/steps.OData.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +5 -5
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +11 -11
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +6 -6
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +10 -10
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +8 -8
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +13 -13
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +5 -5
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +8 -8
- package/skills/hexasync-tables-tasks-objects/SKILL.md +11 -18
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +5 -48
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +7 -7
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +4 -4
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +16 -16
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +3 -3
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +5 -5
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +6 -6
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +1 -1
- package/skills/hexasync-templates/SKILL.md +16 -31
- package/skills/hexasync-templates/references/AI-INDEX.md +31 -31
- package/skills/hexasync-templates/references/INDEX.md +3 -2
- package/skills/hexasync-templates/references/INSTALL.md +5 -48
- package/skills/hexasync-templates/references/KB-INDEX.md +98 -98
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +2 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +10 -10
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api_proxy.md +69 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +3 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +4 -4
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.getreadyflows.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +2 -2
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +3 -3
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +1 -1
- package/skills/hexasync-transformations/SKILL.md +9 -16
- package/skills/hexasync-transformations/references/INDEX.md +2 -2
- package/skills/hexasync-transformations/references/INSTALL.md +5 -48
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +6 -6
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +2 -2
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +4 -4
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +1 -1
- package/skills/hexasync-validations/SKILL.md +9 -16
- package/skills/hexasync-validations/references/INDEX.md +1 -1
- package/skills/hexasync-validations/references/INSTALL.md +5 -48
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +6 -6
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +1 -1
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +2 -2
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +1 -1
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +1 -1
- package/skills/hexasync-webhooks/SKILL.md +12 -19
- package/skills/hexasync-webhooks/references/INDEX.md +2 -2
- package/skills/hexasync-webhooks/references/INSTALL.md +5 -48
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +7 -7
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +10 -10
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +6 -6
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +6 -6
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +3 -3
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +1 -1
- package/.cursor-plugin/mcp.json +0 -12
- package/.mcp.json +0 -11
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -44
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# References — Error handling: classify once, raise once
|
|
2
2
|
|
|
3
|
-
Each file is one knowledge-base section of at most 25 KB, the same split the MCP server serves. Links between
|
|
3
|
+
Each file is one knowledge-base section of at most 25 KB, the same split the MCP server serves. Links between packaged sections are relative. For other references, search the connected standards MCP by document title.
|
|
4
4
|
|
|
5
5
|
## Questions this skill answers
|
|
6
6
|
|
|
@@ -1,51 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Connect the HexaSync standards MCP
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The standards MCP runs on AI Gateway. Connect your AI client using the HexaSync Control Center connection instructions. The toolkit installs skills only and does not change MCP configuration.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
```
|
|
5
|
+
Server: `https://ai-gateway.hexasync.dev/mcp/wiki/hexasync-template-development-standards`
|
|
6
|
+
OAuth client ID: `hexasync-mcp`; leave the client secret empty and sign in with HexaSync IAM.
|
|
8
7
|
|
|
9
|
-
|
|
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@2611.14.1` |
|
|
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@2611.14.1"]}'` |
|
|
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@2611.14.1"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
On native Windows use this launch:
|
|
36
|
-
|
|
37
|
-
```json
|
|
38
|
-
{
|
|
39
|
-
"command": "cmd",
|
|
40
|
-
"args": [
|
|
41
|
-
"/c",
|
|
42
|
-
"npx",
|
|
43
|
-
"-y",
|
|
44
|
-
"@beehexa/hexasync-template-ide-mcp@2611.14.1"
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
The standalone server must match toolkit 2611.14.1. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
|
|
50
|
-
|
|
51
|
-
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. Skills are loaded conditionally by the host, not globally injected.
|
|
8
|
+
In Control Center open **AI Gateway → MCP Servers → HexaSync Template Development Standards → Connection**. Each client configuration directory has its own server setup and sign-in.
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
- **Purpose:** connect the steps of one Workflow list into a sequence, a branch or a bounded loop.
|
|
8
8
|
- **When to use:** on every step that must hand over to another step. Omit it (or set `null`) on the last step of each branch.
|
|
9
|
-
- **Sensible configuration:** a plain key for linear flow; a conditional object for a two-way decision; an
|
|
9
|
+
- **Sensible configuration:** a plain key for linear flow; a conditional object for a two-way decision; an IF (search the standards MCP) or SWITCH (search the standards MCP) step when the decision itself deserves a named, logged step. Every backward edge needs a condition that eventually turns false and an explicit per-step cap.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Workflow/envelope (search the standards MCP) owns list entry (`rootStep`) and step fields; runtime scope (search the standards MCP) owns which roots the routing renderer can read.
|
|
12
12
|
|
|
13
13
|
## Worker contract
|
|
14
14
|
|
|
@@ -105,7 +105,7 @@ next:
|
|
|
105
105
|
else: <next> # required: key, nested conditional or null
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
Use it for a two-way decision on data already in context. Nest a conditional in an arm for a further test; use
|
|
108
|
+
Use it for a two-way decision on data already in context. Nest a conditional in an arm for a further test; use SWITCH (search the standards MCP) when there are more than two outcomes.
|
|
109
109
|
|
|
110
110
|
#### description
|
|
111
111
|
|
|
@@ -157,11 +157,11 @@ SEED publishes its row before `next` is resolved. `true/true` selects DETAIL; `t
|
|
|
157
157
|
| Rendered conditional with non-null `if` | Reparsed and resolved; author both arms. |
|
|
158
158
|
| Number or list token | `Next step data is invalid`; use string, object or null. |
|
|
159
159
|
| Rendered JSON object with a wrongly typed member | Fails while being read, before lookup; author a string `if` and valid arms. |
|
|
160
|
-
| Step throws | Declared `next` is skipped;
|
|
160
|
+
| Step throws | Declared `next` is skipped; onError (search the standards MCP) owns recovery. |
|
|
161
161
|
|
|
162
162
|
## Branch-output routing
|
|
163
163
|
|
|
164
|
-
When an executor returns `outputs.next`, that value is used immediately and declared `next` is **not** evaluated. A blank value ends the branch; an unknown key fails with `Branch next target '<target>' names no existing step.` This is how
|
|
164
|
+
When an executor returns `outputs.next`, that value is used immediately and declared `next` is **not** evaluated. A blank value ends the branch; an unknown key fails with `Branch next target '<target>' names no existing step.` This is how IF (search the standards MCP) (conditional resolver) and SWITCH (search the standards MCP) (exactly one matching case; zero matches end, several matches fail) route.
|
|
165
165
|
|
|
166
166
|
```yaml
|
|
167
167
|
- key: CHOOSE
|
|
@@ -175,7 +175,7 @@ When an executor returns `outputs.next`, that value is used immediately and decl
|
|
|
175
175
|
next: null
|
|
176
176
|
```
|
|
177
177
|
|
|
178
|
-
CHOOSE → DETAIL → end. FALLBACK is never resolved; even when IF selects `null`, declared `next` is not a default branch — don't author it on IF/SWITCH. Address earlier results through `_outputs.<key>` in routing templates (see
|
|
178
|
+
CHOOSE → DETAIL → end. FALLBACK is never resolved; even when IF selects `null`, declared `next` is not a default branch — don't author it on IF/SWITCH. Address earlier results through `_outputs.<key>` in routing templates (see shared iterator roots (search the standards MCP)).
|
|
179
179
|
|
|
180
180
|
## Backward edges and terminal loop guards
|
|
181
181
|
|
|
@@ -185,10 +185,10 @@ Backward and self edges are legal in puller, pusher and webhook Workflow lists.
|
|
|
185
185
|
| --- | --- | --- |
|
|
186
186
|
| Whole-call visits | puller `maxIterations`; absent or non-positive → 300000, larger values clamp to 300000 | Visit count exceeds the budget: `PULL_MAX_ITERATIONS`. Not an authorable field on pushers or webhooks. |
|
|
187
187
|
| Elapsed duration | engine capability; not authorable in profiles | Wall-clock ceiling exceeded: `PULL_MAX_DURATION`. |
|
|
188
|
-
| Per-step visits |
|
|
188
|
+
| Per-step visits | `maxStepIterations` (search the standards MCP), default **1000** per `key` + `displayType` | Count would exceed the cap: `PULL_MAX_STEP_ITERATIONS`. |
|
|
189
189
|
| Stationary cycle | fixed threshold **3**; not authorable | The combined fingerprint of every tracked step's latest input/output repeats three times: `PULL_LOOP_NO_PROGRESS`. Any change resets the count. Steps with empty input and output are not tracked. |
|
|
190
190
|
|
|
191
|
-
Guard failures bypass per-step `onError`; they always end the run as failures. There are no profile-authored retry or backoff fields. A connector-requested restart of the root step is a separate platform mechanism (see
|
|
191
|
+
Guard failures bypass per-step `onError`; they always end the run as failures. There are no profile-authored retry or backoff fields. A connector-requested restart of the root step is a separate platform mechanism (see error/restart handling (search the standards MCP)); it does not follow authored edges.
|
|
192
192
|
|
|
193
193
|
A paging loop that continues while the previous page says there is more:
|
|
194
194
|
|
|
@@ -204,7 +204,7 @@ A paging loop that continues while the previous page says there is more:
|
|
|
204
204
|
else: null
|
|
205
205
|
```
|
|
206
206
|
|
|
207
|
-
VALUES reports `hasNextPage: false`, so PAGE runs once and the branch ends. In a real pager, PAGE is an API/SQL step whose request changes every iteration (cursor or offset).
|
|
207
|
+
VALUES reports `hasNextPage: false`, so PAGE runs once and the branch ends. In a real pager, PAGE is an API/SQL step whose request changes every iteration (cursor or offset). PULLERS (search the standards MCP) owns page termination, empty-page and persistence/sweep rules; the edge alone saves nothing.
|
|
208
208
|
|
|
209
209
|
### Rejected example: unconditional self-loop
|
|
210
210
|
|
|
@@ -243,4 +243,4 @@ Frontend connector workflows (connection setup and creation flows) are a separat
|
|
|
243
243
|
|
|
244
244
|
## Related
|
|
245
245
|
|
|
246
|
-
|
|
246
|
+
Workflow (search the standards MCP), arguments (search the standards MCP), runtime scope (search the standards MCP), response filters (search the standards MCP), IF (search the standards MCP), and SWITCH (search the standards MCP) own reused inputs/outputs and executor-specific conditions.
|
|
@@ -23,7 +23,7 @@ steps:
|
|
|
23
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
24
|
- Use when you want the failure to behave exactly like any other step failure (for example, a failed request).
|
|
25
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
|
|
26
|
+
- Do not use to end a path successfully — route with `next` or use End (search the standards MCP).
|
|
27
27
|
|
|
28
28
|
**Choosing `EXCEPTION` vs `Error`:**
|
|
29
29
|
|
|
@@ -50,7 +50,7 @@ steps:
|
|
|
50
50
|
|
|
51
51
|
## Fields
|
|
52
52
|
|
|
53
|
-
Shared envelope fields (`key`, `provider`, `displayType`, `input`, `arguments`, `next`, `onError`, `rootStep`) behave as described in the
|
|
53
|
+
Shared envelope fields (`key`, `provider`, `displayType`, `input`, `arguments`, `next`, `onError`, `rootStep`) behave as described in the step envelope (search the standards MCP).
|
|
54
54
|
|
|
55
55
|
### `data` (message lines)
|
|
56
56
|
|
|
@@ -86,7 +86,7 @@ Choose literal lines for fixed conditions; choose rendered lines when the messag
|
|
|
86
86
|
|
|
87
87
|
## Output
|
|
88
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
|
|
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 (search the standards MCP).
|
|
90
90
|
|
|
91
91
|
## Failure behavior
|
|
92
92
|
|
|
@@ -134,6 +134,6 @@ steps:
|
|
|
134
134
|
## Related
|
|
135
135
|
|
|
136
136
|
- [Error](steps.Error.md#contract) — coded, definitive raise
|
|
137
|
-
-
|
|
137
|
+
- Workflow and step envelope (search the standards MCP)
|
|
138
138
|
- [Routing](routing.NEXT.md)
|
|
139
|
-
-
|
|
139
|
+
- Step catalog (search the standards MCP)
|
|
@@ -43,7 +43,7 @@ steps:
|
|
|
43
43
|
|
|
44
44
|
## Fields and raise resolution
|
|
45
45
|
|
|
46
|
-
Shared envelope fields behave as described in the
|
|
46
|
+
Shared envelope fields behave as described in the step envelope (search the standards MCP). 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
47
|
|
|
48
48
|
How the fields combine:
|
|
49
49
|
|
|
@@ -113,7 +113,7 @@ Syntax: `maxStepIterations: <number | null>`
|
|
|
113
113
|
|
|
114
114
|
`maxStepIterations: 1000` — optional; defaults to 1000.
|
|
115
115
|
|
|
116
|
-
Shared per-step visit cap, not an Error retry setting. See
|
|
116
|
+
Shared per-step visit cap, not an Error retry setting. See cross-cutting step flags (search the standards MCP).
|
|
117
117
|
|
|
118
118
|
```yaml
|
|
119
119
|
steps:
|
|
@@ -161,7 +161,7 @@ Why:
|
|
|
161
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
162
|
- **Stable, bounded codes.** The code vocabulary is visible as a closed list, which is what monitoring and support rely on.
|
|
163
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 (
|
|
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 (search the standards MCP)); 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
165
|
|
|
166
166
|
Full pattern — call, classify, branch, raise:
|
|
167
167
|
|
|
@@ -229,9 +229,9 @@ steps:
|
|
|
229
229
|
next: null
|
|
230
230
|
```
|
|
231
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
|
|
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 (search the standards MCP) 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
233
|
|
|
234
|
-
Where it applies: puller page calls (
|
|
234
|
+
Where it applies: puller page calls (API error classification (search the standards MCP)), pusher destination calls (pushers (search the standards MCP)), webhook target steps (webhooks (search the standards MCP)) and any API (search the standards MCP) step whose failures need a code.
|
|
235
235
|
|
|
236
236
|
### Anti-pattern: one step per error class (do not copy)
|
|
237
237
|
|
|
@@ -256,7 +256,7 @@ Each class costs two steps that differ only by a number and a code; envelope and
|
|
|
256
256
|
|
|
257
257
|
## Output
|
|
258
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
|
|
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 (search the standards MCP).
|
|
260
260
|
|
|
261
261
|
## Failure behavior
|
|
262
262
|
|
|
@@ -291,6 +291,6 @@ The nested blank `code` hides `OUTER`, so nothing non-blank remains and the step
|
|
|
291
291
|
## Related
|
|
292
292
|
|
|
293
293
|
- [EXCEPTION](steps.EXCEPTION.md#contract) — recoverable failure
|
|
294
|
-
-
|
|
294
|
+
- Workflow and step envelope (search the standards MCP)
|
|
295
295
|
- [Routing](routing.NEXT.md)
|
|
296
|
-
-
|
|
296
|
+
- Step catalog (search the standards MCP)
|
|
@@ -1,43 +1,28 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hexasync-expressions
|
|
3
3
|
description: "HexaSync expressions and context: worker Scriban {{ }} templates, JSONata, JSONPath selection, arguments, environment, step inputs/outputs (_outputs), item/task context and Scriban/JSONata/Liquid steps. Grouped frontend getReadyFlows expressions, current-flow outputs and RETURN mapping require the separate frontend-step position and frontend-qualified KB lookups. Use when writing or debugging an expression or asking which variables are available."
|
|
4
|
-
compatibility: "Loaded conditionally by Agent Skills hosts.
|
|
4
|
+
compatibility: "Loaded conditionally by Agent Skills hosts. Connect HexaSync Template Development Standards on AI Gateway for current reference documents."
|
|
5
5
|
metadata:
|
|
6
6
|
author: BeeHexa
|
|
7
|
-
version: "
|
|
8
|
-
kb-bundle: "
|
|
9
|
-
mcp-server: "hexasync-template-
|
|
7
|
+
version: "2612.3.2"
|
|
8
|
+
kb-bundle: "115"
|
|
9
|
+
mcp-server: "hexasync-template-development-standards"
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# Expressions: Scriban, JSONata, JSONPath and context
|
|
13
13
|
|
|
14
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
15
|
|
|
16
|
-
> Generated from the HexaSync knowledge base (asset bundle
|
|
16
|
+
> Generated from the HexaSync knowledge base (asset bundle 115) by @beehexa/hexasync-ai-toolkit 2612.3.2.
|
|
17
17
|
|
|
18
18
|
## How to work
|
|
19
19
|
|
|
20
|
-
The host loads this skill conditionally
|
|
21
|
-
|
|
22
|
-
When the HexaSync MCP tools (`hexasync_*`) are available, use them in this order:
|
|
20
|
+
The host loads this skill conditionally. Choose worker or frontend according to the owning collection.
|
|
21
|
+
Connect the HexaSync Template Development Standards MCP on AI Gateway and use its document search and read tools to look up the current reference before writing YAML. Search for arguments, Scriban, JSONata and relevant examples (Scriban JSONata expression arguments); follow related document references. Read the returned document sections and pagination as needed.
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
2. `hexasync_explain_type` before writing any field. Worker/data lookups for this family: `hexasync_explain_type({"name":"arguments","runtime":"worker"})`, `hexasync_explain_type({"name":"Scriban","runtime":"worker"})`, `hexasync_explain_type({"name":"JSONata","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
26
|
-
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `Scriban JSONata expression arguments`). Adapt them; never copy example identities (UUIDs, connector ids) into a real project.
|
|
27
|
-
4. `hexasync_explain_position` before writing an expression: each authoring position has its own roots.
|
|
28
|
-
5. `hexasync_validate` on the project before claiming the YAML is correct; explain any rule id with `hexasync_explain_rule`.
|
|
23
|
+
Do not assume the remote wiki provides the former local `hexasync_*` tools or workspace validation. Validate with the editor or an available project validation tool, and report when validation is unavailable. Never invent project identities or infer syntax solely from existing workspace YAML.
|
|
29
24
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
## Grouped frontend routing
|
|
33
|
-
|
|
34
|
-
For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend workflows](references/frontend.FRONTEND-FLOWS.md) and its linked canonical resources, not the worker examples above. This KB page owns the grammar; do not translate worker fields into frontend syntax.
|
|
35
|
-
|
|
36
|
-
- Look up `hexasync_explain_type({"name":"Step","runtime":"frontend"})`, `hexasync_explain_type({"name":"RETURN.metadata.outputs","runtime":"frontend"})`. Always pass `runtime: 'frontend'`, including for names shared with worker types.
|
|
37
|
-
- Retrieve complete grouped examples with `hexasync_search_examples({"feature":"frontend"})`.
|
|
38
|
-
- Keep each flow `key` and `dependsOn` reference within 128 characters, matching `^[A-Z][A-Z0-9_]*$`; longer values are invalid.
|
|
39
|
-
- Before an expression, use `hexasync_explain_position({"position":"frontend-step"})` and the KB's current-flow context guidance.
|
|
40
|
-
- Missing frontend knowledge is unavailable, not permission to use a worker answer. Check the selected knowledge origin/version and validation coverage; authoring acceptance is not deployed-runtime or delivery proof.
|
|
25
|
+
For grouped frontend flows, look up the frontend workflow reference separately. Do not reuse worker step fields for frontend steps.
|
|
41
26
|
|
|
42
27
|
## Best practices (from the knowledge base)
|
|
43
28
|
|
|
@@ -62,4 +47,4 @@ For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend wor
|
|
|
62
47
|
|
|
63
48
|
## Installing the MCP server
|
|
64
49
|
|
|
65
|
-
|
|
50
|
+
Connect the remote standards MCP using [`references/INSTALL.md`](references/INSTALL.md).
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# References — Expressions: Scriban, JSONata, JSONPath and context
|
|
2
2
|
|
|
3
|
-
Each file is one knowledge-base section of at most 25 KB, the same split the MCP server serves. Links between
|
|
3
|
+
Each file is one knowledge-base section of at most 25 KB, the same split the MCP server serves. Links between packaged sections are relative. For other references, search the connected standards MCP by document title.
|
|
4
4
|
|
|
5
5
|
## Questions this skill answers
|
|
6
6
|
|
|
7
|
-
- grouped frontend getReadyFlows, FrontendFlow/Step fields, RETURN, FAIL,
|
|
7
|
+
- grouped frontend getReadyFlows, FrontendFlow/Step fields, RETURN, FAIL, API_PROXY (third-party call with a connection's credential) and RECORDS_FORM (multi-record edit; removes saved as disables) → [Frontend workflows](frontend.FRONTEND-FLOWS.md)
|
|
8
8
|
- save task/reference row changes, preview, health, repair, per-row outcomes and coded refusals; unreleased worker.proxy PR #78 deployment gate → [Data routes](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md), [RECORDS_FORM change set](frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md), [File import](frontend.FRONTEND-FLOWS.records_form.file-import-path.md)
|
|
9
9
|
- host/stage context, Scriban, JSONata and expression call sites → [Expressions and context](expressions.CONTEXT-AND-IO.md)
|
|
10
10
|
|
|
@@ -53,7 +53,7 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
|
|
|
53
53
|
- [Frontend Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md)
|
|
54
54
|
- [RETURN](frontend.FRONTEND-FLOWS.return.md)
|
|
55
55
|
- [FAIL](frontend.FRONTEND-FLOWS.fail.md)
|
|
56
|
-
- [
|
|
56
|
+
- [API_PROXY](frontend.FRONTEND-FLOWS.api_proxy.md)
|
|
57
57
|
- [Task and reference data changes](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md)
|
|
58
58
|
- [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md)
|
|
59
59
|
- [RECORDS_FORM change-set path](frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md)
|
|
@@ -1,51 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Connect the HexaSync standards MCP
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The standards MCP runs on AI Gateway. Connect your AI client using the HexaSync Control Center connection instructions. The toolkit installs skills only and does not change MCP configuration.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
```
|
|
5
|
+
Server: `https://ai-gateway.hexasync.dev/mcp/wiki/hexasync-template-development-standards`
|
|
6
|
+
OAuth client ID: `hexasync-mcp`; leave the client secret empty and sign in with HexaSync IAM.
|
|
8
7
|
|
|
9
|
-
|
|
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@2611.14.1` |
|
|
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@2611.14.1"]}'` |
|
|
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@2611.14.1"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
On native Windows use this launch:
|
|
36
|
-
|
|
37
|
-
```json
|
|
38
|
-
{
|
|
39
|
-
"command": "cmd",
|
|
40
|
-
"args": [
|
|
41
|
-
"/c",
|
|
42
|
-
"npx",
|
|
43
|
-
"-y",
|
|
44
|
-
"@beehexa/hexasync-template-ide-mcp@2611.14.1"
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
The standalone server must match toolkit 2611.14.1. If that exact published artifact is absent, registry-backed activation is blocked; do not substitute another release or publish automatically. Local verification uses the actual installed VSIX's `dist/mcp/server.js`, without registry fetching. Confirm its loaded path/version and callable behavior separately.
|
|
50
|
-
|
|
51
|
-
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. Skills are loaded conditionally by the host, not globally injected.
|
|
8
|
+
In Control Center open **AI Gateway → MCP Servers → HexaSync Template Development Standards → Connection**. Each client configuration directory has its own server setup and sign-in.
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
## `arguments` — computed before the step runs
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Map (search the standards MCP), ordered (search the standards MCP) and whole-block (search the standards MCP) 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
6
|
|
|
@@ -26,7 +26,7 @@ Blank input bypasses evaluation: scalar consumers receive `""`, structured consu
|
|
|
26
26
|
|
|
27
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
28
|
|
|
29
|
-
For a structured
|
|
29
|
+
For a structured SAVE_TASK_DATA (search the standards MCP) `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
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
|
|
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 (search the standards MCP).
|
|
32
32
|
|
package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md
CHANGED
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
|
|
12
12
|
### History key and occurrence
|
|
13
13
|
|
|
14
|
-
Only the successful-return path appends new-kind `_history.<key>` records `{__flow, __occurrence, data, error, ts}`: flow string, monotonically increasing per-key successful occurrence integer across the run, actual output dictionary, **null error**, and Unix-ms completion timestamp. Rings are newest-first. A graceful return counts because it returns normally; a thrown executor failure instead publishes new-kind `_outputs.<key>.error`/`_outputs.__error` without advancing this history counter. If routing throws after an executor returned, its already-appended successful record remains; no failed history record is added. Do not use `_history` to retrieve thrown-failure bodies. The `retain`
|
|
14
|
+
Only the successful-return path appends new-kind `_history.<key>` records `{__flow, __occurrence, data, error, ts}`: flow string, monotonically increasing per-key successful occurrence integer across the run, actual output dictionary, **null error**, and Unix-ms completion timestamp. Rings are newest-first. A graceful return counts because it returns normally; a thrown executor failure instead publishes new-kind `_outputs.<key>.error`/`_outputs.__error` without advancing this history counter. If routing throws after an executor returned, its already-appended successful record remains; no failed history record is added. Do not use `_history` to retrieve thrown-failure bodies. The `retain` flag contract (search the standards MCP) owns depth, nullable conversion/fallback and same-flow inference. LOOKUP_STEP (search the standards MCP) owns availability and missing occurrence results.
|
|
15
15
|
|
|
16
16
|
### `runStart`
|
|
17
17
|
|
|
18
|
-
Use one stable run timestamp for freshness comparisons, not a new time per page/item.
|
|
18
|
+
Use one stable run timestamp for freshness comparisons, not a new time per page/item. SAVE_TASK_DATA (search the standards MCP) can fall back to current time when standalone; TRACK_FOR_REMOVAL (search the standards MCP) refuses an absent/unparseable boundary. Those differences do not prove every expression caller provides `runStart`.
|
|
19
19
|
|
|
20
20
|
### Placement-specific context examples
|
|
21
21
|
|
|
@@ -35,7 +35,7 @@ Composed new-kind transition:
|
|
|
35
35
|
data: { values: [{ sku: '{{ __this.arguments.sku }}' }] }
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
LOAD first publishes `{items:[{sku:"A1"}],hasNextPage:false}` and a history occurrence. COPY then resolves its argument to `"A1"`; LOAD's result was unavailable during LOAD's own arguments. That ordering follows publication-before-routing, not array adjacency.
|
|
38
|
+
LOAD first publishes `{items:[{sku:"A1"}],hasNextPage:false}` and a history occurrence. COPY then resolves its argument to `"A1"`; LOAD's result was unavailable during LOAD's own arguments. That ordering follows publication-before-routing, not array adjacency. VALUES (search the standards MCP) owns the demonstrated item-page result; routing (search the standards MCP) owns the `next` transition.
|
|
39
39
|
|
|
40
|
-
For a pusher item `{sku:"A1"}`, `arguments.sku: '{{ item.sku }}'` resolves `"A1"`; `pusher.lastToken` has no pager contract. In webhook target steps, use `arguments.sku: '{{ webhook.arguments.__HSS_WEBHOOK_ITEM.sku }}'` only if the selected webhook item actually has `sku`; do not substitute `item.sku`. With a webhook selected item `{sku:"W1"}` the expected string is `"W1"`. These contexts have no new-kind occurrence ring. Refer to
|
|
40
|
+
For a pusher item `{sku:"A1"}`, `arguments.sku: '{{ item.sku }}'` resolves `"A1"`; `pusher.lastToken` has no pager contract. In webhook target steps, use `arguments.sku: '{{ webhook.arguments.__HSS_WEBHOOK_ITEM.sku }}'` only if the selected webhook item actually has `sku`; do not substitute `item.sku`. With a webhook selected item `{sku:"W1"}` the expected string is `"W1"`. These contexts have no new-kind occurrence ring. Refer to PUSHERS (search the standards MCP) and WEBHOOKS (search the standards MCP) before treating an argument as present.
|
|
41
41
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Executor results are not downstream values
|
|
4
4
|
|
|
5
|
-
For a normal result envelope, executor `outputs` supplies `_outputs.<stepKey>`; sibling `input`, `logOutputs` and `error` describe diagnostics, not extra business values. The iterator's legacy result-without-`outputs` compatibility path can instead treat the whole returned dictionary as outputs, so inspect the selected executor's actual contract.
|
|
5
|
+
For a normal result envelope, executor `outputs` supplies `_outputs.<stepKey>`; sibling `input`, `logOutputs` and `error` describe diagnostics, not extra business values. The iterator's legacy result-without-`outputs` compatibility path can instead treat the whole returned dictionary as outputs, so inspect the selected executor's actual contract. Executor results, graceful returns, and run error data (search the standards MCP) owns normalization and thrown/returned distinctions.
|
|
6
6
|
|
|
7
7
|
### Common output fields
|
|
8
8
|
|
|
9
|
-
`affected: 0` with `noop: true` can mean a legitimate empty update, not failure. `isException`/`exceptionMessage` are supporting-executor graceful-return fields, not universal fields and not `_outputs.__error`. Use the
|
|
9
|
+
`affected: 0` with `noop: true` can mean a legitimate empty update, not failure. `isException`/`exceptionMessage` are supporting-executor graceful-return fields, not universal fields and not `_outputs.__error`. Use the individual step owner (search the standards MCP) for output-specific semantics.
|
|
10
10
|
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
## Graceful failures and run errors
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Shared error handling (search the standards MCP) owns run-level `{type,message,stepKey,__flow,handled,chain,previous?}` and per-step `{message,detail,stackTrace}`. New-kind failures publish them before recovery/propagation. Legacy failures do not synthesize the new-kind run object. Returned executor error data is not equivalent to either a throw or a failed host lifecycle.
|
|
6
6
|
|
|
@@ -8,31 +8,31 @@ At the bound native response-parser sites below, both `$parseJson` and `$fingerp
|
|
|
8
8
|
| --- | --- | --- |
|
|
9
9
|
| Inline map/ordered arguments and shared classified fields | Serialized supplied caller context: executor-local step dictionary, or original item graph plus parser setup for SQL-feeding transformation arguments. Recognized wrapper removed; inner expression Scriban-rendered first | Query JSON retained for structured consumer or reduced to scalar string for arguments. `_outputs` is visible only if actually in that caller context, not manufactured in transformations. Standard native functions; **no `$parseJson`**. |
|
|
10
10
|
| Whole-block arguments | Host-built context dictionary, including caller setup; complete string Scriban-rendered once, raw JSONata, no wrapper dispatch | Top-level object required; each property becomes a scalar string. **No `$parseJson`**. |
|
|
11
|
-
| Dedicated
|
|
12
|
-
|
|
|
11
|
+
| Dedicated item `Jsonata` transformation (search the standards MCP) | Serialized **item only**; raw expression passed directly, **no Scriban prerender** and no inline wrapper removal | Default String or declared Number/Boolean/Any treatment; Any merge without field needs nonempty object and skips `__` names. No generated `_outputs`/`__this`; **no `$parseJson`**. |
|
|
12
|
+
| HTTP response `jsonata` (search the standards MCP) | JSON response body (valid XML first converted to JSON); expression Scriban-prerendered using response-time params | Structured scalar/object/list value; null omitted. Host adds **`$parseJson`**. Prior `_outputs` may be in prerender params, not automatically the JSONata body root. |
|
|
13
13
|
| [JSONata step](steps.JSONata.md) | Incoming step context serialized as its response-parser input; expression Scriban-prerendered with same context | Direct named `data: {field: {expression: ...}}`; structured independent outputs. Blank leaf text is skipped; undefined/null results omit their key, but evaluated `""` is retained. Invalid nonblank expressions abort the step. Host adds **`$parseJson`**; no `jsonata` group wrapper here. |
|
|
14
|
-
|
|
|
15
|
-
| Ordinary
|
|
16
|
-
|
|
|
17
|
-
|
|
|
18
|
-
|
|
|
19
|
-
| Nested
|
|
20
|
-
| `itemIds` strings in
|
|
21
|
-
|
|
|
22
|
-
| Frontend workflow control/JSONATA process | JavaScript JSONata over `workflowData`; IF/SWITCH Liquid-prerender the inner trimmed `${...}` host expression, while standalone JSONATA process Liquid-prerenders its raw expression | Process-specific condition/branch or output handling; **no host `$parseJson` registration**. Frontend has `outputs`, not an automatic worker `_outputs` alias. See
|
|
14
|
+
| Webhook target `dataParser` (search the standards MCP) | Whole parsed message before target steps; explicitly `env` supplied to prerender, not selected-item webhook arguments | Named typed values feed indexing; null omitted. **`$parseJson` bound**. No generated step `_outputs` in message root or target-step params at this phase. |
|
|
15
|
+
| Ordinary pusher lifecycle result filters (search the standards MCP) | Completed main push-step Outputs dictionary; carried pusher context for prerender | Named typed values feed pusher decision fields; null omitted. **`$parseJson` bound**. Root is the result dictionary, not the carried runtime context. |
|
|
16
|
+
| VALUES filters (search the standards MCP) | Scriban-rendered values array as body; local step context as prerender params | **`$parseJson` bound**, named typed results; this direct keyed-parser loop does **not** generate grouped `filters.<parser>` accumulation or adapter `__headers`. Reader headers empty; absent results fall back to items; hasNextPage forced false. |
|
|
17
|
+
| FORWARD (search the standards MCP), CHECK_FORMAT (search the standards MCP), SLEEP (search the standards MCP) filters | Local step context serialized through ObjectResponseReader, with the same context for grouped prerender | **`$parseJson` bound**; named typed results, null omitted. Prior `_outputs` can be root fields when the incoming context contains them. Required fields and returned envelopes remain executor-specific. |
|
|
18
|
+
| EXCEL_READER (search the standards MCP) filters | Parsed row array as body; local step context for prerender. `data.responseFilters` takes precedence over step-level filters | **`$parseJson` bound**; named typed results, null omitted. Prior `_outputs` is not automatically part of the row-array root. No filters returns rows; HTTP status narrowing is not applied here. |
|
|
19
|
+
| Nested PUSHER step (search the standards MCP) filters | Entire returned nested `pushContext` as body, unlike ordinary lifecycle main Outputs. Prerender merges outer context then nested context keys overwrite | **`$parseJson` bound**; named typed output values. `_outputs` can be queried only where it actually occurs in that nested context root. |
|
|
20
|
+
| `itemIds` strings in ENQUEUER (search the standards MCP), IGNORE_ITEM (search the standards MCP), RESET_ITEM (search the standards MCP), UPDATE_ITEM_STATUS (search the standards MCP) | String Scriban-rendered first, then **raw unwrapped JSONata** over serialized local context; no shared wrapper classification | Result converted to GUID array; null becomes empty, wrong shape/invalid GUID fails. **No `$parseJson`**. Array form renders JSON without a query. ENQUEUER parses IDs even before discarding them for enqueueAll. |
|
|
21
|
+
| UPDATE_ITEM_SYNC_PROCESS (search the standards MCP), non-RAW expression | Expression Scriban-rendered first, then raw unwrapped JSONata over serialized local context | Requires update-object array; selected update strings are subsequently Scriban-rendered. **No `$parseJson`**; RAW items path is not a query. Field/shape failures remain the executor contract. |
|
|
22
|
+
| Frontend workflow control/JSONATA process | JavaScript JSONata over `workflowData`; IF/SWITCH Liquid-prerender the inner trimmed `${...}` host expression, while standalone JSONATA process Liquid-prerenders its raw expression | Process-specific condition/branch or output handling; **no host `$parseJson` registration**. Frontend has `outputs`, not an automatic worker `_outputs` alias. See frontend host delta (search the standards MCP). |
|
|
23
23
|
| Frontend metadata/routing, output mapping and choices | `jsonata::` dynamic strings use supplied frontend context. JSONata output-map expressions prerender with workflowData then evaluate **returned process data**; choice expressions Liquid-prerender then evaluate raw JS JSONata over their frontend context | JS adapter retains strings and normalizes sequences/array-like results to plain arrays; output maps store named values. Choices require an array; non-array results or caught evaluation failures render an empty choice list, not a worker parser failure. **No host `$parseJson` registration**; do not infer native parser scope/coercion from UI evaluation. |
|
|
24
24
|
|
|
25
25
|
`$parseJson(string)` parses data rather than JSONata program source, propagates undefined input, rejects defined non-string values with `T0410`, and fails on malformed text outside its parser's accepted syntax. The bound native parser uses relaxed defaults (single quotes, trailing commas, Unicode whitespace and unescaped controls); it is **not a strict RFC JSON validator**. Integral floating values within integer range are normalized recursively to integers. It is a **host-added function**, not a native-version guarantee. `$eval` is native expression evaluation, not a general JSON-only parser; never apply it to untrusted program text merely because it can read JSON literals.
|
|
26
26
|
|
|
27
27
|
`$fingerprint(value)` is a host-added function at the same bound native response-parser call sites as `$parseJson`, including the dedicated JSONata step. It returns the same typed structural SHA256 contract as `hexasync.obj.fingerprint`; explicit null has a digest, undefined input fails, and unsupported/nonfinite input never becomes EOF. It is **not registered** by standard inline/whole-block argument evaluation, item transformations or the JavaScript frontend. Compute it in a bound response-parser/JSONata step, then pass the resulting digest as a normal next-loop argument. Native `$eval` creates its own environment and does not inherit either custom binding.
|
|
28
28
|
|
|
29
|
-
The classified core consumers include
|
|
29
|
+
The classified core consumers include SAVE_TASK_DATA (search the standards MCP) structured item pages, TRACK_FOR_REMOVAL (search the standards MCP) numeric guards and RESOLVE_RAW_DATA (search the standards MCP) scalar source resolution. They share classification, not result requirements. Raw ID/update queries, item transformations and grouped parsers are separate contracts: there is no universal “JSONata field” dispatcher. The bound parser's undefined/null results are omitted from named output maps; a defined non-string parseJson input or malformed text fails rather than acquiring an empty/default result. Native `$eval` creates a separate evaluation environment and does not inherit an outer `$parseJson` binding.
|
|
30
30
|
|
|
31
31
|
For a bound-parser leaf `expression: '$parseJson(Data)'`, these boundary outcomes are distinct: body `{}` makes `Data` undefined and omits the output key; `{Data:null}` or `{Data:2}` fails with `T0410`; `{Data:"null"}` parses successfully but omits the null result; `{Data:"{'qty':2.0,}"}` is accepted and produces object `{qty:2}`. A string containing incomplete data such as `{Data:"{"}` fails parsing, rather than returning an empty/default value. These are data-parser outcomes at the HTTP/dedicated-step hosts, not legal `$parseJson` examples for arguments, item transforms or frontend evaluation.
|
|
32
32
|
|
|
33
33
|
### Three legal prior-response parsing routes
|
|
34
34
|
|
|
35
|
-
Assume an earlier API step **RAW** exposes raw body text at `_outputs.RAW.body`, equal to `{"sku":"A1","qty":2}`. Establish that string either through the default text/absent-media body branch (with ordinary `responseType: NONE`) or an explicit `raw_text` filter named `body`. A default valid JSON-media body is already structured; malformed JSON/XML can instead fall back to text, but does not establish valid input for these parsing examples.
|
|
35
|
+
Assume an earlier API step **RAW** exposes raw body text at `_outputs.RAW.body`, equal to `{"sku":"A1","qty":2}`. Establish that string either through the default text/absent-media body branch (with ordinary `responseType: NONE`) or an explicit `raw_text` filter named `body`. A default valid JSON-media body is already structured; malformed JSON/XML can instead fall back to text, but does not establish valid input for these parsing examples. API default outputs (search the standards MCP) owns these branches and the distinct OBJECT-mode hidden-message boundary.
|
|
36
36
|
|
|
37
37
|
1. **Inline JSONata step arguments referencing prior outputs**, for the stipulated known/trusted JSON body:
|
|
38
38
|
|
|
@@ -65,17 +65,17 @@ responseFilters:
|
|
|
65
65
|
sku: { expression: '$parseJson(Data).sku' }
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
Expected RAW outputs are already structured `decoded` and scalar `sku`; subsequent inline JSONata can read `$(_outputs.RAW.decoded.sku)` without parsing text again. The filter root is the body, not `_outputs`; its host binds `$parseJson`. This is generally preferable when the response boundary already owns decoding.
|
|
68
|
+
Expected RAW outputs are already structured `decoded` and scalar `sku`; subsequent inline JSONata can read `$(_outputs.RAW.decoded.sku)` without parsing text again. The filter root is the body, not `_outputs`; its host binds `$parseJson`. This is generally preferable when the response boundary already owns decoding. Response filters (search the standards MCP) owns null/empty/error distinctions.
|
|
69
69
|
|
|
70
70
|
### Item-only versus argument composition
|
|
71
71
|
|
|
72
|
-
Dedicated transformation with item `{__id:"existing-id",sku:"A1"}` and `metadata: {field_name: label, expression: 'sku & "-ready"'}` writes `label: "A1-ready"` using its default string return type. `_outputs.RAW` is absent unless it is literally a field on that item; a transform does not inherit iterator context. `{{ sku }}` is not prerendered at this call site. For merged argument context, use one of the SQL-feeding argument hosts and its canonical
|
|
72
|
+
Dedicated transformation with item `{__id:"existing-id",sku:"A1"}` and `metadata: {field_name: label, expression: 'sku & "-ready"'}` writes `label: "A1-ready"` using its default string return type. `_outputs.RAW` is absent unless it is literally a field on that item; a transform does not inherit iterator context. `{{ sku }}` is not prerendered at this call site. For merged argument context, use one of the SQL-feeding argument hosts and its canonical argument forms (search the standards MCP), or decode earlier at the HTTP/JSONata-step boundary. JSONata-first selection always includes this scope caveat.
|
|
73
73
|
|
|
74
|
-
The equivalent scalar
|
|
74
|
+
The equivalent scalar SQL-feeding transformation argument (search the standards MCP) uses `metadata.arguments: {label: '$(sku & "-ready")'}` over the original item graph, while a whole-block argument (search the standards MCP) uses `metadata.arguments: '{"label": sku & "-ready", "qty": 2, "missing": null}'` without an outer wrapper. The first emits parser string `label: "A1-ready"`; the second emits strings `{label:"A1-ready",qty:"2",missing:""}`. These become argument bindings, not item writeback, and neither parser binds `$parseJson`. In a step context where the same business item is at `item`, use `item.sku` instead of bare `sku`; in a new-kind `_inputs` context, use `_inputs.sku`. Rejected, non-copyable: a whole-block program returning `["A1"]` cannot supply named arguments because the required top-level object is absent; return `{"label":"A1"}` instead.
|
|
75
75
|
|
|
76
76
|
### Direct GUID queries are not argument wrappers
|
|
77
77
|
|
|
78
|
-
Given a real associated object and prior `_outputs.SELECT.ids` equal to `["22222222-2222-4222-8222-222222222222"]`, the
|
|
78
|
+
Given a real associated object and prior `_outputs.SELECT.ids` equal to `["22222222-2222-4222-8222-222222222222"]`, the IGNORE_ITEM (search the standards MCP) consumer accepts an unwrapped query:
|
|
79
79
|
|
|
80
80
|
```yaml
|
|
81
81
|
key: IGNORE_SELECTED
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
These native .NET paths currently use **Jsonata.Net.Native 3.0.0** and the **Jsonata.Net.Native.JsonNet 3.0.0** conversion bridge. Package version is not a JSONata language-version declaration. A JavaScript frontend JSONata runtime is a different host; do not assume its features, bindings or coercion match.
|
|
6
6
|
|
|
7
|
-
This is the current native dependency contract, not an instruction to freeze all future versions. The frontend declares JavaScript `jsonata` `^2.1.0` and its application lock entry resolves to `2.1.0`; that is a separate dependency/host, not proof of a universally deployed version. Frontend workflow evaluation registers no native `$parseJson` extension. Its
|
|
7
|
+
This is the current native dependency contract, not an instruction to freeze all future versions. The frontend declares JavaScript `jsonata` `^2.1.0` and its application lock entry resolves to `2.1.0`; that is a separate dependency/host, not proof of a universally deployed version. Frontend workflow evaluation registers no native `$parseJson` extension. Its host grammar (search the standards MCP) and result adapters are distinct from worker wrappers.
|
|
8
8
|
|
|
9
9
|
### Supported constructs and grammar boundaries
|
|
10
10
|
|
package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md
CHANGED
|
@@ -28,9 +28,9 @@ arguments:
|
|
|
28
28
|
|
|
29
29
|
Expected parser strings: `order_id: "O7"`, `ids: "[7,8]"`, `missing: ""`. A structured consumer instead receives array `[7,8]` or null, not these scalar strings. The root is the supplied caller dictionary; the wrapper does not supply webhook message values or manufacture `_inputs` in a host that lacks it.
|
|
30
30
|
|
|
31
|
-
At HTTP/webhook **response parsing**, the parser named `jsonpath` does **not** accept this wrapper. It accepts a YAML-string `type: eval`/`expression` or `type: node`/`root`/`fields` over the response/message body. Eval selects only the first match, whereas node maps selected container rows. For body `{ids:[1,2]}`, `type: eval` + `expression: $.ids[*]` returns integer `1`, not `[1,2]`; node over those primitive ids would skip them and return an empty list. Use JSONata for a structured primitive list, or node for actual object rows. See
|
|
31
|
+
At HTTP/webhook **response parsing**, the parser named `jsonpath` does **not** accept this wrapper. It accepts a YAML-string `type: eval`/`expression` or `type: node`/`root`/`fields` over the response/message body. Eval selects only the first match, whereas node maps selected container rows. For body `{ids:[1,2]}`, `type: eval` + `expression: $.ids[*]` returns integer `1`, not `[1,2]`; node over those primitive ids would skip them and return an empty list. Use JSONata for a structured primitive list, or node for actual object rows. See response-filter dialects (search the standards MCP) and webhook parsers (search the standards MCP). Wrapper classification precedence never changes that parser's grammar.
|
|
32
32
|
|
|
33
|
-
For a webhook whole message `{rows:[{id:7,label:"A"},{id:8,label:"B"}]}`, legal node projection belongs to the target's
|
|
33
|
+
For a webhook whole message `{rows:[{id:7,label:"A"},{id:8,label:"B"}]}`, legal node projection belongs to the target's pre-item `dataParser` (search the standards MCP):
|
|
34
34
|
|
|
35
35
|
```yaml
|
|
36
36
|
dataParser:
|