@beehexa/hexasync-ai-toolkit 2611.14.1 → 2612.3.1
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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Use startup tasks to run an initial pull, seed reference rows, configure pull/enqueue schedules and seed default metric configuration — work that must happen once per profile start (or once per profile). Pick something else when:
|
|
6
6
|
|
|
7
|
-
- the work must run on a cadence — configure a schedule here, but put the logic in a
|
|
8
|
-
- you need per-item reshaping — use
|
|
7
|
+
- the work must run on a cadence — configure a schedule here, but put the logic in a puller (search the standards MCP) or pusher;
|
|
8
|
+
- you need per-item reshaping — use transformations (search the standards MCP);
|
|
9
9
|
- you need step context, expressions or HTTP calls — startup metadata is literal and has no Workflow context.
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Contract
|
|
6
6
|
|
|
7
|
-
`ENQUEUER` places stored rows of an existing task on that task's processing queue, so a pusher delivers them later; it does not push anything itself. You select rows either by their stored `__id` values (`itemIds`) or with all-item mode (`enqueueAll: true`). Every normal return publishes `_outputs.<KEY> = {}` — there is no count or delivery receipt. Place it in an executed workflow `steps` list, typically right after a step that saves rows; shared envelope behavior (provider vs displayType, data vs input, arguments, `onError`, `rootStep`, `next`) is described in
|
|
7
|
+
`ENQUEUER` places stored rows of an existing task on that task's processing queue, so a pusher delivers them later; it does not push anything itself. You select rows either by their stored `__id` values (`itemIds`) or with all-item mode (`enqueueAll: true`). Every normal return publishes `_outputs.<KEY> = {}` — there is no count or delivery receipt. Place it in an executed workflow `steps` list, typically right after a step that saves rows; shared envelope behavior (provider vs displayType, data vs input, arguments, `onError`, `rootStep`, `next`) is described in the step envelope (search the standards MCP).
|
|
8
8
|
|
|
9
9
|
### Syntax
|
|
10
10
|
|
|
@@ -26,7 +26,7 @@ steps:
|
|
|
26
26
|
|
|
27
27
|
- Use after saving rows to queue exactly the rows that changed, so delivery happens asynchronously and in priority order.
|
|
28
28
|
- Use all-item mode for a scheduled or manual re-queue of everything eligible in a task (backfill, recovery after an outage).
|
|
29
|
-
- Do not use to change row statuses for other reasons — use
|
|
29
|
+
- Do not use to change row statuses for other reasons — use UPDATE_TASK_DATA_STATUS (search the standards MCP).
|
|
30
30
|
- Do not use when you need the delivery result in the same workflow; queueing only schedules work.
|
|
31
31
|
|
|
32
32
|
### Sensible configuration
|
|
@@ -192,7 +192,7 @@ The step checks, in order: `objectId` parses; `itemIds` evaluates to a GUID list
|
|
|
192
192
|
|
|
193
193
|
| Cause | Effect | Fix |
|
|
194
194
|
| --- | --- | --- |
|
|
195
|
-
| Missing/malformed `objectId`, or an expression in it | Step fails | Write the literal GUID of an existing
|
|
195
|
+
| Missing/malformed `objectId`, or an expression in it | Step fails | Write the literal GUID of an existing task (search the standards MCP). |
|
|
196
196
|
| `itemIds` expression invalid, scalar, or contains a non-GUID | Step fails, even with `enqueueAll: true` | Return an array of stored ids; use `[]` in all-item mode. |
|
|
197
197
|
| No enabled queue scheduler for the task | Normal `{}`; nothing queued | Enable the task's queue scheduler. |
|
|
198
198
|
| `itemIds` empty with `enqueueAll: false` | Normal `{}`; nothing queued | Expected when nothing changed. |
|
|
@@ -226,9 +226,9 @@ steps:
|
|
|
226
226
|
|
|
227
227
|
## Related
|
|
228
228
|
|
|
229
|
-
-
|
|
230
|
-
-
|
|
231
|
-
-
|
|
232
|
-
-
|
|
233
|
-
-
|
|
234
|
-
-
|
|
229
|
+
- SAVE_TASK_DATA (search the standards MCP) — produces `saved_ids`.
|
|
230
|
+
- UPDATE_TASK_DATA_STATUS (search the standards MCP) — explicit status changes.
|
|
231
|
+
- Tasks and tables (search the standards MCP)
|
|
232
|
+
- JSONata call sites (search the standards MCP)
|
|
233
|
+
- Step envelope (search the standards MCP)
|
|
234
|
+
- Step catalog (search the standards MCP)
|
|
@@ -1,49 +1,34 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hexasync-steps-api-http
|
|
3
3
|
description: "HexaSync workflow composition and HTTP requests. Worker steps use displayType/provider, data vs input, arguments, onError, next routing, branches, API REST request builders and response filters. Grouped frontend getReadyFlows, FrontendFlow and frontend API steps require separate frontend-qualified KB lookups, not worker API fields. Use when composing a workflow or calling an external HTTP API from a template."
|
|
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.1"
|
|
8
|
+
kb-bundle: "115"
|
|
9
|
+
mcp-server: "hexasync-template-development-standards"
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# Workflow steps, the API step and HTTP requests
|
|
13
13
|
|
|
14
14
|
This page owns the fields every step shares — the **envelope** — plus arguments, shared flags, routing on failure and the result protocol. Each step type's own `data` payload is documented on its page in the [step catalogue](references/steps.INDEX.md).
|
|
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.1.
|
|
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 API, API.data, next and relevant examples (API step REST request); 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":"API","runtime":"worker"})`, `hexasync_explain_type({"name":"API.data","runtime":"worker"})`, `hexasync_explain_type({"name":"next","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
26
|
-
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `API step REST request`). 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":"API","runtime":"frontend"})`, `hexasync_explain_type({"name":"API.metadata","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
|
|
|
44
29
|
- **One explicit root.** Mark exactly one step `rootStep: true`; do not rely on array order or `Begin` fallbacks. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
45
30
|
- **Bounded loops.** Every backward edge needs an exit condition that changes each visit (a counter, a cursor, `hasNextPage`) and a deliberate `maxStepIterations`. Unbounded loops burn the run budget, repeat side effects (duplicate writes or calls) and end in a terminal guard failure that `onError` cannot catch. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
46
|
-
- **Retries.** Prefer the platform's connector-level retry and rate limits over hand-built retry loops. If a loop must retry, cap it, add a
|
|
31
|
+
- **Retries.** Prefer the platform's connector-level retry and rate limits over hand-built retry loops. If a loop must retry, cap it, add a SLEEP (search the standards MCP) between attempts and branch on `gracefulException` output rather than catching everything with `onError`. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
47
32
|
- **Idempotency.** Steps may re-run after a restart from the root or a retried run. Make writes upserts keyed by stable identifiers, and make status changes set-style (add/remove flags) rather than toggles, so a repeat does no harm. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
48
33
|
- **Read results from `_outputs`.** Downstream steps and `next` conditions should read `_outputs.<KEY>`; `__this.arguments` belongs to the current step only. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
49
34
|
- **Modern spellings.** Use `displayType` and `data`; drop `provider`/`input` when touching legacy steps, and never leave `data: null` beside `input`. _([Workflow and the step envelope](references/steps.STEP-ENVELOPE.best-practices.md))_
|
|
@@ -55,7 +40,15 @@ For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend wor
|
|
|
55
40
|
- **Use `gracefulException` only with explicit routing** on `isException`; otherwise failures look like empty successes. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
56
41
|
- **Paginate explicitly and persist per page**, with a guaranteed termination condition. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
57
42
|
- **Don't mix query strings in `url` with `queries`**, and pre-encode values yourself. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
58
|
-
-
|
|
43
|
+
- **Use `logOutput` deliberately**: helpful when debugging, costly and potentially sensitive in production volume. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
44
|
+
- **Extract, don't forward.** Map the exact fields downstream steps need. Whole-body passthrough couples every step to the provider's envelope and bloats logs. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
45
|
+
- **Make continuation explicit and typed.** Emit `hasNextPage` as a boolean computed from the provider's own signal (next cursor/link present), plus the cursor itself. Never infer "last page" from a short page or a total; see PULLERS page termination (search the standards MCP). _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
46
|
+
- **Distinguish "absent" from "empty".** An omitted JSONata key, a `null` eval result, `[]` and `""` mean different things. A missing rows array is a parsing problem, never proof that the source is empty — don't let it drive deletion reconciliation. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
47
|
+
- **Keep output names unique across groups** to avoid silent overwrites. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
48
|
+
- **Gate error outputs by status** with `acceptedStatuses` so they are only evaluated on error bodies. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
49
|
+
- **Return the destination identity from pusher filters**, so later pushes update rather than create duplicates. _([Response filters](references/responseFilters.RESPONSE-FILTERS.best-practices.md))_
|
|
50
|
+
- **Loops.** A backward `next` edge is legal but must terminate: exit on a value that changes every visit (page cursor, `hasNextPage`, counter) and set a deliberate [`maxStepIterations`](references/steps.STEP-ENVELOPE.shape.md#maxstepiterations). A loop whose exit never changes repeats side effects, burns the run's time budget and ends in a loop-guard failure that `onError` cannot catch. _([Step types — index](references/steps.INDEX.md#best-practices))_
|
|
51
|
+
- 5 more of 27: every page's own *Best practices* section is in [`references/`](references/INDEX.md).
|
|
59
52
|
|
|
60
53
|
## References
|
|
61
54
|
|
|
@@ -63,4 +56,4 @@ For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend wor
|
|
|
63
56
|
|
|
64
57
|
## Installing the MCP server
|
|
65
58
|
|
|
66
|
-
|
|
59
|
+
Connect the remote standards MCP using [`references/INSTALL.md`](references/INSTALL.md).
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# References — Workflow steps, the API step and HTTP requests
|
|
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
|
- Workflow selection, envelope, argument placement and flags → [Step envelope](steps.STEP-ENVELOPE.md)
|
|
10
10
|
- next targets, branches, termination and loop guards → [Routing](routing.NEXT.md)
|
|
11
11
|
- response parsers and site-specific result handling → [Response filters](responseFilters.RESPONSE-FILTERS.md)
|
|
12
|
-
- connection binding, options, auth and HTTP request builders →
|
|
12
|
+
- connection binding, options, auth and HTTP request builders → Connections (search the standards MCP), [API](steps.API.md)
|
|
13
13
|
- one worker executor and its alternatives → [Worker step index](steps.INDEX.md)
|
|
14
14
|
|
|
15
15
|
## Sections
|
|
@@ -81,7 +81,7 @@ Each file is one knowledge-base section of at most 25 KB, the same split the MCP
|
|
|
81
81
|
- [Frontend Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md)
|
|
82
82
|
- [RETURN](frontend.FRONTEND-FLOWS.return.md)
|
|
83
83
|
- [FAIL](frontend.FRONTEND-FLOWS.fail.md)
|
|
84
|
-
- [
|
|
84
|
+
- [API_PROXY](frontend.FRONTEND-FLOWS.api_proxy.md)
|
|
85
85
|
- [Task and reference data changes](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md)
|
|
86
86
|
- [RECORDS_FORM](frontend.FRONTEND-FLOWS.records_form.md)
|
|
87
87
|
- [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.
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
> Part of [Frontend workflows](frontend.FRONTEND-FLOWS.md).
|
|
2
|
+
|
|
3
|
+
## `API_PROXY`
|
|
4
|
+
|
|
5
|
+
Call a third-party system with the credential of one of this profile's connections, without the credential ever reaching the browser. The browser sends only the request shape; the gateway's connector hook (`POST /api/v3/profiles/{profileId}/connections/{connectionId}/execute/`) adds the credential and calls the provider. The profile id comes from the host, never from the step. `API_PROXY` runs only inside `getReadyFlows`; a legacy direct array (`creationSteps`, …) fails it with `MISSING_PROFILE_CONTEXT`.
|
|
6
|
+
|
|
7
|
+
**Which request step to choose**
|
|
8
|
+
|
|
9
|
+
| Step | Use it for |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| `API_PROXY` | A third-party system, signed with a connection's credential held by the gateway. |
|
|
12
|
+
| `API` | A HexaSync service call (cURL string). |
|
|
13
|
+
| `GATEWAY_API` | Legacy token-then-request pattern. It hands the token to the browser; do not choose it for new flows. |
|
|
14
|
+
|
|
15
|
+
**Metadata** is closed: only the members below. `profileId`, `baseUrl`, `connectionOptions`, `acceptHttpStatuses` and any other member are refused (the gateway answers `UNSUPPORTED_MEMBER`); there is no status allow-list because every provider status already comes back as an answer with an `outcome`. Every value may use the existing Liquid/JSONata mapping.
|
|
16
|
+
|
|
17
|
+
| Syntax | Meaning | Default and choice |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| `connectionId: 55555555-…` | Which connection's credential signs the call: the GUID `connectors[].id` of this template. | Required, nonblank; no default. A literal must be a GUID (`8-4-4-4-12` hex digits, the only form the gateway route accepts) and must name a declared connector (`FFE-7`); a templated id or `**Variable**` placeholder cannot be checked before run time. |
|
|
20
|
+
| `url: /v1/messages` | Endpoint path relative to the connection's base URL. | Required; no default. Any `:` before the first `/`, `?` or `#` (a scheme such as `https:` or `mailto:`), a leading `//`, whitespace, control characters or a backslash is refused; a relative path such as `endpoints/x` or `/v1/a:b` is fine: the connection decides the host. |
|
|
21
|
+
| `method: POST` | HTTP method. | Required; `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `HEAD` or `OPTIONS`. |
|
|
22
|
+
| `headers: { X-Trace: "1" }` | Extra request headers; each value a string or list of strings. | Optional; none. The gateway adds the credential — never author a secret header. |
|
|
23
|
+
| `queries: { page: 2 }` | Query-string members. | Optional; none. |
|
|
24
|
+
| `body: { … }` | Request body, any JSON. | Optional; none. |
|
|
25
|
+
| `responseFilters: { jsonata: { message_id: { expression: data.message_id } } }` | Response filters in the exact worker API step [`data.responseFilters` grammar](responseFilters.RESPONSE-FILTERS.exact-authored-shape.md): parser ID (`jsonata`, `jsonpath`, `xpath`, `scriban`, `scriban_xml`, `regex_replace`, `base64`, `raw_text`) → output key → `{expression, acceptedStatuses?}`, with `expression` a required string. The filtered values come back in `outputs.<KEY>.results.outputs`. | Optional; none. Either a literal object, sent unchanged to the connector hook — its expressions run in the hook, not in the browser, so they never read this workflow's `outputs` — or a whole-member mapped string such as `responseFilters: 'jsonata:: outputs.BUILD_FILTERS'` that maps to such an object from this workflow. `API_PROXY` has no `acceptHttpStatuses`, so omit `acceptedStatuses` (or use `null`/`[]`): it lists status-key strings, never numbers such as `200`, and a non-empty list matches no status and drops that output. A missing `expression`, an unknown parser ID, a non-string status or any other value is refused (`FFE-7`, gateway `INVALID_RESPONSE_FILTERS` for a non-object). |
|
|
26
|
+
|
|
27
|
+
The step itself refuses `url`, `method`, `profile`, `profileId`, `connection`, `connectionId`, `header`, `headers`, `credential`, `credentialId` and `credentials` beside `metadata`, and `dryRun: true` (or `"true"`).
|
|
28
|
+
|
|
29
|
+
**Outputs** (`outputs.<KEY>`):
|
|
30
|
+
|
|
31
|
+
| Member | Meaning |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| `results.statusCode`, `results.headers`, `results.body` | The provider's answer. `body` is the hook's own body if it returns one; else, with `responseFilters`, the filtered values; else the provider's raw body. |
|
|
34
|
+
| `results.outputs` | With `responseFilters`: the filtered values the connector hook returns (for example `results.outputs.message_id`). Other members the hook returns pass through `results` as well. |
|
|
35
|
+
| `parseResponseResult` | How the gateway read the answer; may be `null` (for example a redirect with a raw text body). |
|
|
36
|
+
| `outcome` | `success`, `redirect`, `error`, `unauthorized`, `apiCallLimit` or `notFound`. A `redirect` answer may carry a raw text body. |
|
|
37
|
+
| `attempts` | Number of attempts the gateway made. |
|
|
38
|
+
| `_response.statusCode`, `_response.headers`, `_response.body` | The provider's answer, as for an `API` step. |
|
|
39
|
+
|
|
40
|
+
**What breaks**
|
|
41
|
+
|
|
42
|
+
```mermaid
|
|
43
|
+
flowchart LR
|
|
44
|
+
S[API_PROXY] -->|any provider status: gateway 200 with outcome| N[next]
|
|
45
|
+
S -->|gateway 4xx with errorCode| F1[step fails with that code]
|
|
46
|
+
S -->|5xx IAM_UNAVAILABLE, CONNECTOR_WORKFLOW_INVALID, CREDENTIAL_UNAVAILABLE| F1
|
|
47
|
+
S -->|4xx without code: 408, 413, 429, route 404| F2[step fails: ACTION_OUTCOME_UNKNOWN, never resent]
|
|
48
|
+
S -->|other 5xx, network, timeout| F2
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
- **Every provider HTTP status is an answer.** The gateway relays a provider 2xx, 3xx, 4xx and 5xx alike as HTTP 200 with an `outcome` (`success`, `redirect`, `error`, `unauthorized`, `apiCallLimit` or `notFound`), and the step advances to `next` **even when `outcome` is `error`** — a provider 404 or 500 does not fail the step. Classify `outcome` (and the provider body where it carries its own error flag) with an `IF` before a SUCCESS `RETURN`; a literal `next` straight into a SUCCESS `RETURN` is rejected (`FFE-13`).
|
|
52
|
+
- Only gateway failures fail the step, and failures never route to `next`. A gateway 4xx carrying a gateway `errorCode` (for example the member error for `acceptHttpStatuses`) is a definite failure with that code. A 5xx carrying `IAM_UNAVAILABLE`, `CONNECTOR_WORKFLOW_INVALID` or `CREDENTIAL_UNAVAILABLE` is likewise a definite failure with that code. A 4xx without a code (408, 413, 429 or a route 404), any other 5xx, a network error or a timeout ends the step with `ACTION_OUTCOME_UNKNOWN`, and an unknown outcome is never resent because the provider may already have acted. A connector hook failure after the provider answered 2xx is still an answer: the gateway returns 200 with `outcome: error`. Aborting before the request is sent cancels; after it is sent the outcome is `ACTION_OUTCOME_UNKNOWN`.
|
|
53
|
+
|
|
54
|
+
```yaml
|
|
55
|
+
connectors:
|
|
56
|
+
- id: 55555555-5555-4555-8555-555555555555
|
|
57
|
+
name: Source system
|
|
58
|
+
connectorId: 0a0a0a0a-0a0a-4a0a-8a0a-0a0a0a0a0a0a
|
|
59
|
+
getReadyFlows:
|
|
60
|
+
- key: SEND_TEST_MESSAGE
|
|
61
|
+
title: Send a test message
|
|
62
|
+
action: { label: Send }
|
|
63
|
+
completionVersion: "1"
|
|
64
|
+
steps:
|
|
65
|
+
- key: SEND
|
|
66
|
+
type: API_PROXY
|
|
67
|
+
root: true
|
|
68
|
+
metadata:
|
|
69
|
+
connectionId: 55555555-5555-4555-8555-555555555555
|
|
70
|
+
url: /v1/messages
|
|
71
|
+
method: POST
|
|
72
|
+
headers: { X-Request-Source: readiness }
|
|
73
|
+
body:
|
|
74
|
+
text: "{{ inputs.MESSAGE }}"
|
|
75
|
+
next: CHECK_SENT
|
|
76
|
+
- key: CHECK_SENT
|
|
77
|
+
type: IF
|
|
78
|
+
metadata:
|
|
79
|
+
condition: '${ outputs.SEND.outcome = "success" }'
|
|
80
|
+
then: DONE
|
|
81
|
+
else: NOT_SENT
|
|
82
|
+
- key: DONE
|
|
83
|
+
type: RETURN
|
|
84
|
+
metadata:
|
|
85
|
+
status: SUCCESS
|
|
86
|
+
outputs:
|
|
87
|
+
status_code: "{{ outputs.SEND.results.statusCode }}"
|
|
88
|
+
- key: NOT_SENT
|
|
89
|
+
type: FAIL
|
|
90
|
+
metadata:
|
|
91
|
+
code: NOT_SENT
|
|
92
|
+
message: The system did not accept the message. Check the connection, then try again.
|
|
93
|
+
```
|
|
94
|
+
|
package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md
CHANGED
|
@@ -30,6 +30,6 @@ Quoted/backtick path identifiers retain their complete field identity: `"outputs
|
|
|
30
30
|
|
|
31
31
|
Opaque template output adjoining a producer token cannot establish its literal prefix as a producer. An already-complete `outputs.FETCH` remains selected through dynamic result-member access. Opaque binders and unsupported focus-changing syntax remain uncertain rather than preserving a definite workflow root through recovery. Tuple-root mutations and pending captured writes participate in uncertainty joins; constructor peer origins are aggregated once rather than rescanned per sibling. The structural analyzer bounds recursion at 128 frames and reports recognizable namespace ownership as uncertain on refusal rather than throwing or certifying an unvisited expression. These are lexical provenance checks, not arbitrary expression evaluation, function-result identity inference or dynamic result-member certification.
|
|
32
32
|
|
|
33
|
-
Use the existing seven MCP tools. For `hexasync_explain_type`, pass `runtime: frontend` for `FrontendFlow`, `Step`, `RETURN`, `FAIL`, `
|
|
33
|
+
Use the existing seven MCP tools. For `hexasync_explain_type`, pass `runtime: frontend` for `FrontendFlow`, `Step`, `RETURN`, `FAIL`, `API_PROXY`, `RECORDS_FORM`, `API`, `IF` or a metadata field (for example `RECORDS_FORM.metadata.search`). Its default frontend answer is concise (description, default, fields and an example) and marked incomplete; repeat with `full: true` for the canonical JSON Schema grammar. Omitted runtime means worker, as does explicit `worker`; unsupported runtime values fail. A missing frontend reference must not silently fall back to worker knowledge. Use `hexasync_explain_position` with `frontend-step`, then validate the effective composed project. Missing source or validation coverage is unavailable/incomplete, never proof of validity. `FFE-12` reports RECORDS_FORM column, identity and fill keys that do not fit the target table, and an unresolvable task/table as uncertain.
|
|
34
34
|
|
|
35
|
-
See
|
|
35
|
+
See root declarations (search the standards MCP), expression context (search the standards MCP) and the canonical resources `hexasync://assets/frontend/connectors/main.json` and `hexasync://assets/frontend/templates/getReadyFlows.json`. Installed and bundled knowledge report their origin/version. Actual installed editor/MCP and matching published package proof remain release checks, not consequences of schema acceptance.
|
|
@@ -42,7 +42,7 @@ getReadyFlows:
|
|
|
42
42
|
message: Connect the account, then run this action again.
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
The same step ends a legacy direct array such as `creationSteps`; see
|
|
45
|
+
The same step ends a legacy direct array such as `creationSteps`; see FAIL in frontend steps (search the standards MCP) for that full-context example and its `code`/`message` fields.
|
|
46
46
|
|
|
47
47
|
How to choose: use FAIL for a failed ending with a fixed code; use `RETURN` with `status: FAILED` only where you already return through RETURN and prefer one terminal type (in grouped flows the outcome is the same). Use `SHOW_INFO` — any `metadata.type`, including `ERROR` — to inform the user and continue; SHOW_INFO never ends or fails a run. Prefer a FAIL reached after classifying a failed request (an `IF` or NextBranch reading `outputs.<KEY>`) over leaving the request unread: a grouped request failure that no reachable step reads ends the run with a generic handler failure instead of your code and message (`FFE-14`).
|
|
48
48
|
|
package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md
CHANGED
|
@@ -14,8 +14,8 @@ The examples on this page are full root declarations; each step belongs inside i
|
|
|
14
14
|
| `msg: Check the values before continuing.` | UI message before/after the step. | Optional string; absent means no message. |
|
|
15
15
|
| `arguments: {purpose: review}` | Free-form frontend runtime arguments, not worker argument wrappers. | Optional object/null; absent/null supplies no arguments. Prefer `metadata` for handler configuration. |
|
|
16
16
|
| `dryRun: "false"` | Requests side-effect-free execution only where the handler supports it. | Optional; absence stays absent. It does not prove that a handler supports simulation or that an event was router-accepted. |
|
|
17
|
-
| `metadata: {fields: [...]}` | Handler-specific configuration using the frontend's existing recursive Liquid/JSONata mapping. | Requirement and shape depend on `type`; RETURN/FAIL/
|
|
18
|
-
| `outputs: [{key: reviewed, index: 0, type: jsonata, metadata: {expression: "$"}}]` | Nonterminal postprocessors adding named derived fields to a step result. | Optional array/null; absent/null keeps the original result. A non-empty list is forbidden on IF, SWITCH, JSONATA, LIQUID, WAIT, RETURN and FAIL; there an absent, `null` or empty (`[]`) `outputs` means no processors and is accepted, because the runtime ignores it — except that a grouped RETURN forbids the member altogether, even empty or null (`FFE-6`, as grouped admission does). Not the terminal result map;
|
|
17
|
+
| `metadata: {fields: [...]}` | Handler-specific configuration using the frontend's existing recursive Liquid/JSONata mapping. | Requirement and shape depend on `type`; RETURN/FAIL/API_PROXY/RECORDS_FORM require their closed objects below. Preserve FORM required/readonly expressions; never globally coerce metadata. |
|
|
18
|
+
| `outputs: [{key: reviewed, index: 0, type: jsonata, metadata: {expression: "$"}}]` | Nonterminal postprocessors adding named derived fields to a step result. | Optional array/null; absent/null keeps the original result. A non-empty list is forbidden on IF, SWITCH, JSONATA, LIQUID, WAIT, RETURN and FAIL; there an absent, `null` or empty (`[]`) `outputs` means no processors and is accepted, because the runtime ignores it — except that a grouped RETURN forbids the member altogether, even empty or null (`FFE-6`, as grouped admission does). Not the terminal result map; Output fields (search the standards MCP) own processor variants. |
|
|
19
19
|
| `repeatableCount: 20` | Pre-execution limit for repeats with the same key/raw metadata template. | Optional number; default 20. Lower for bounded polling; not a retry policy or a termination guarantee. |
|
|
20
20
|
| `repeatableDetailCount: 10` | Executing limit for repeats with the same key/resolved metadata. | Optional number; default 10. Lower for identical repeated work. |
|
|
21
21
|
| `status: NOT_STARTED` | Runtime state: NOT_STARTED, SUCCESS, FAILED or null. Not RETURN's terminal status. | Optional; absent/null means no recorded state. Normally omit in authored declarations. |
|
|
@@ -8,7 +8,7 @@ This page is served as 10 separate resources. Read the one you need:
|
|
|
8
8
|
- [Frontend Step fields](frontend.FRONTEND-FLOWS.frontend-step-fields.md) — The examples on this page are full root declarations; each step belongs inside its flow's steps array.
|
|
9
9
|
- [`RETURN`](frontend.FRONTEND-FLOWS.return.md) — RETURN terminates one invocation before ordinary output postprocessing or successor advancement.
|
|
10
10
|
- [`FAIL`](frontend.FRONTEND-FLOWS.fail.md) — FAIL ends the run as failed, on purpose, with a code and message you write.
|
|
11
|
-
- [`
|
|
11
|
+
- [`API_PROXY`](frontend.FRONTEND-FLOWS.api_proxy.md) — Call a third-party system with the credential of one of this profile's connections, without the credential ever reaching the browser.
|
|
12
12
|
- [Task and reference data changes](frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md) — Save a form's row changes in one request and use the returned outcomes to tell the user what happened.
|
|
13
13
|
- [`RECORDS_FORM`](frontend.FRONTEND-FLOWS.records_form.md) — RECORDS_FORM lets the user add, change and remove several records in one paged table, then hands the changes to the steps after it.
|
|
14
14
|
- [Rejected forms (non-copyable)](frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md) — These counterexamples are deliberately excluded from copyable example search.
|
|
@@ -8,13 +8,13 @@ Each `getReadyFlows` entry is a separate frontend graph with its authored title.
|
|
|
8
8
|
|
|
9
9
|
Missing, null or blank successors, omitted conditional arms, omitted SWITCH defaults and a blank `onCancelled` are `MISSING_RETURN` boundaries in grouped graphs, located at the nearest authored field; validation rejects them on every step, reachable or not, as dashboard admission does. Legacy direct arrays retain their implicit END behavior. Only a Liquid tag (`{{ … }}`, `{% … %}`) or a `jsonata::` prefix makes a destination dynamic: it remains uncertain with its dialect preserved, and previews never evaluate it or invent a target. Any other text — including `liquid::DONE` or `${inputs.target}` — is rendered literally at runtime, so it is a literal key matched exactly and a missing one is reported (`FFE-5`).
|
|
10
10
|
|
|
11
|
-
An `API` or `GATEWAY_API` step's controlled failure follows its plain `next`, so in a grouped flow a literal `next` straight into a SUCCESS RETURN is rejected (`FFE-13`, the same rule the dashboard applies at admission). Classify the result first with an `IF` step or a NextBranch `{if, then, else}`; a FAILED RETURN, a FAIL step, an intermediate step or a templated `next` is allowed.
|
|
11
|
+
An `API` or `GATEWAY_API` step's controlled failure, and an `API_PROXY` answer of any `outcome`, follows its plain `next`, so in a grouped flow a literal `next` straight into a SUCCESS RETURN is rejected (`FFE-13`, the same rule the dashboard applies at admission). Classify the result first with an `IF` step or a NextBranch `{if, then, else}`; a FAILED RETURN, a FAIL step, an intermediate step or a templated `next` is allowed.
|
|
12
12
|
|
|
13
|
-
Handle a failed request before reporting success. `FFE-14` (medium) warns when a grouped `API` or `GATEWAY_API` has no possible recovery route: a `failed` arm, a result read in its own `next`, or a reachable step that can read `outputs.<KEY>`. Analysis follows every route, including cancellation, IF/SWITCH arms and possible dynamic destinations; it does not prove which branch will run. A step already reported by `FFE-13` is not reported again.
|
|
13
|
+
Handle a failed request before reporting success. `FFE-14` (medium) warns when a grouped `API` or `GATEWAY_API` has no possible recovery route: a `failed` arm, a result read in its own `next`, or a reachable step that can read `outputs.<KEY>`. Analysis follows every route, including cancellation, IF/SWITCH arms and possible dynamic destinations; it does not prove which branch will run. A step already reported by `FFE-13` is not reported again. `API_PROXY` is not checked by `FFE-14`: its failures never route and always end the run, so there is nothing to recover — instead classify `outputs.<KEY>.outcome` (and `results.body` where the provider reports its own errors) before a SUCCESS RETURN.
|
|
14
14
|
|
|
15
15
|
A possible reader is not proof that the error was handled. The runtime keeps the failed request pending until an actual workflow expression reads that same run's result; it cannot save a successful completion while that failure remains unread. Comments, regular-expression text, quoted prose, unused functions, untaken branches and diagnostic preparation do not count as recovery. Read and classify the result where you recover, or end the run failed.
|
|
16
16
|
|
|
17
|
-
Field grammar matters: use Liquid `outputs["KEY"]` or JSONata dot/backtick paths, not JSONata's namespace predicate `outputs["KEY"]`. Raw response-only output projections and `RECORDS_FORM.search.items` read response data, not workflow results. Whole `${…}` control expressions belong only to IF conditions and SWITCH expressions; generic text stays literal.
|
|
17
|
+
Field grammar matters: use Liquid `outputs["KEY"]` or JSONata dot/backtick paths, not JSONata's namespace predicate `outputs["KEY"]`. Raw response-only output projections and `RECORDS_FORM.search.items` read response data, not workflow results. Whole `${…}` control expressions belong only to IF conditions and SWITCH expressions; generic text stays literal.
|
|
18
18
|
|
|
19
19
|
Staged Liquid/JSONata recovery references are parsed one structural candidate at a time, without executing either language. Exact literal emission and known non-emission preserve syntax and lexical focus; opaque emitted syntax cannot certify a recovery reader, and shadowed `$$` does not identify the workflow root. This does not infer binding values or certify arbitrary generated programs. Correlated structural fragments can require exponential total work; editor and MCP validation yield between candidates and cancel superseded requests. Cancellation means validation is incomplete, never that a template is valid or has no findings.
|
|
20
20
|
|
|
@@ -6,7 +6,7 @@ Save a form's row changes in one request and use the returned outcomes to tell t
|
|
|
6
6
|
|
|
7
7
|
### Availability of the data routes
|
|
8
8
|
|
|
9
|
-
**Unreleased capability:** the changes, preview, health and repair routes, and the corrected
|
|
9
|
+
**Unreleased capability:** the changes, preview, health and repair routes, and the corrected v2 search cursors (search the standards MCP), are implemented on worker.proxy `feats/task-flow`, PR #78. No published worker.proxy version has been identified as containing this feature. Enable a flow using it only after a worker.proxy build containing the feature has been deployed; record the actual first published version when released. An older proxy can forward an unknown route to the worker and return 404. No core.api version or worker upgrade is a prerequisite. This note is not a release or deployment claim.
|
|
10
10
|
|
|
11
11
|
### Changes: apply a row change set
|
|
12
12
|
|
package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Best practices
|
|
4
4
|
|
|
5
5
|
- **Extract, don't forward.** Map the exact fields downstream steps need. Whole-body passthrough couples every step to the provider's envelope and bloats logs.
|
|
6
|
-
- **Make continuation explicit and typed.** Emit `hasNextPage` as a boolean computed from the provider's own signal (next cursor/link present), plus the cursor itself. Never infer "last page" from a short page or a total; see
|
|
6
|
+
- **Make continuation explicit and typed.** Emit `hasNextPage` as a boolean computed from the provider's own signal (next cursor/link present), plus the cursor itself. Never infer "last page" from a short page or a total; see PULLERS page termination (search the standards MCP).
|
|
7
7
|
- **Distinguish "absent" from "empty".** An omitted JSONata key, a `null` eval result, `[]` and `""` mean different things. A missing rows array is a parsing problem, never proof that the source is empty — don't let it drive deletion reconciliation.
|
|
8
8
|
- **Keep output names unique across groups** to avoid silent overwrites.
|
|
9
9
|
- **Gate error outputs by status** with `acceptedStatuses` so they are only evaluated on error bodies.
|
|
@@ -9,5 +9,5 @@ For HTTP responses, pusher result filters and webhook `dataParser`:
|
|
|
9
9
|
3. `scriban` always runs last. It sees the raw body as `content`, response headers as `headers` and `__headers` (empty for pusher and webhook parsing), caller parameters and `filters`.
|
|
10
10
|
4. Any parser failure fails the step. There is no per-output default or recovery.
|
|
11
11
|
|
|
12
|
-
Body-rooted JSONata does not see `filters` or `_outputs` as fields; those reach a JSONata expression only through Scriban prerendering. See
|
|
12
|
+
Body-rooted JSONata does not see `filters` or `_outputs` as fields; those reach a JSONata expression only through Scriban prerendering. See JSONata call-site scope (search the standards MCP).
|
|
13
13
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**Contract.** A response filter turns one content body into **named output values**. It is the parsing boundary between a raw payload (an HTTP response, a webhook message, a pusher's step outputs) and the rest of the Workflow: it extracts exactly the values later steps, routing and persistence need — rows, IDs, continuation flags, error messages — instead of passing a whole response around.
|
|
6
6
|
|
|
7
|
-
**When to use.** On every API step whose response is consumed; on every pusher (it decides success and the destination ID); on a webhook target's `dataParser`. Pick something else when you only reshape values already in context (use a
|
|
7
|
+
**When to use.** On every API step whose response is consumed; on every pusher (it decides success and the destination ID); on a webhook target's `dataParser`. Pick something else when you only reshape values already in context (use a JSONata step (search the standards MCP)), or for a legacy puller's root `responseFilters`, which is a **different grammar** with the same name — see [legacy puller page mapping](responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md#legacy-puller-page-mapping).
|
|
8
8
|
|
|
9
9
|
**Sensible configuration.** One `jsonata` group for JSON APIs; `xpath` for XML; a final `scriban` group only for values derived from earlier groups or headers:
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## `$parseJson` boundary
|
|
4
4
|
|
|
5
|
-
`$parseJson(<string>)` is available in grouped `jsonata` response filters (HTTP, webhook `dataParser`, pusher results) and in the dedicated
|
|
5
|
+
`$parseJson(<string>)` is available in grouped `jsonata` response filters (HTTP, webhook `dataParser`, pusher results) and in the dedicated JSONata step (search the standards MCP). It is **not** available in inline argument JSONata or item transformations. It parses a JSON string into data; undefined input stays undefined; a defined non-string fails with `T0410`; malformed JSON fails. The parser is lenient (single quotes, trailing commas, control characters are accepted), so it is not a strict JSON validator. Integral floating values become integers.
|
|
6
6
|
|
|
7
7
|
```yaml
|
|
8
8
|
responseFilters:
|
|
@@ -10,5 +10,5 @@ responseFilters:
|
|
|
10
10
|
id: { expression: '$parseJson(Data).id' }
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
For body `{"Data":"{\"id\":7}"}` the output `id` is integer `7`. If `Data` is absent the key is omitted; if `Data` is `null` or an object, evaluation fails. The
|
|
13
|
+
For body `{"Data":"{\"id\":7}"}` the output `id` is integer `7`. If `Data` is absent the key is omitted; if `Data` is `null` or an object, evaluation fails. The three prior-response routes (search the standards MCP) explain where each root and binding exists.
|
|
14
14
|
|
package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
## Related
|
|
4
4
|
|
|
5
|
-
[Workflow](steps.STEP-ENVELOPE.one-canonical-workflow-component.md), [arguments](steps.STEP-ENVELOPE.arguments-and-routing.md),
|
|
5
|
+
[Workflow](steps.STEP-ENVELOPE.one-canonical-workflow-component.md), [arguments](steps.STEP-ENVELOPE.arguments-and-routing.md), runtime scope (search the standards MCP), [routing](routing.NEXT.md#worker-contract), [API response outputs](steps.API.api-response-parsing-and-outputs.md), WEBHOOKS (search the standards MCP), PULLERS (search the standards MCP), and PUSHERS (search the standards MCP) own placement-specific context and result consumption.
|
|
@@ -24,7 +24,7 @@ pullers:
|
|
|
24
24
|
hasNextPage: $.LOAD.hasNextPage # optional; absent or null stops paging
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
The host saves the `items` page and stops because `hasNextPage` is false. A literal `hasNextPage: false` is rejected — every value must be a path string. Paging, persistence and new-kind differences are owned by
|
|
27
|
+
The host saves the `items` page and stops because `hasNextPage` is false. A literal `hasNextPage: false` is rejected — every value must be a path string. Paging, persistence and new-kind differences are owned by PULLERS (search the standards MCP). New-kind pullers (non-empty `steps`) ignore this field.
|
|
28
28
|
|
|
29
29
|
### Pusher result filters over non-HTTP outputs
|
|
30
30
|
|
|
@@ -50,15 +50,15 @@ pushers:
|
|
|
50
50
|
message: { expression: '"sent"' }
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
The result is `{id:"remote-7", isSuccess:true, isFailed:false, isIndirect:false, message:"sent"}`. The push is accepted only with `isSuccess` true, `isFailed` not true and a nonblank `id`. A missing `SEND.ok` omits `isSuccess`, which counts as false. A blank `id` falls back to the item's existing destination ID — a create must therefore return a real ID. Result semantics belong to
|
|
53
|
+
The result is `{id:"remote-7", isSuccess:true, isFailed:false, isIndirect:false, message:"sent"}`. The push is accepted only with `isSuccess` true, `isFailed` not true and a nonblank `id`. A missing `SEND.ok` omits `isSuccess`, which counts as false. A blank `id` falls back to the item's existing destination ID — a create must therefore return a real ID. Result semantics belong to PUSHERS (search the standards MCP).
|
|
54
54
|
|
|
55
55
|
### Other non-HTTP boundaries
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
VALUES (search the standards MCP) applies the same parsers to its rendered values array, but without `filters.<parser>` accumulation or headers; if every result is empty it returns `items: <rendered values>`, and it always returns `hasNextPage: false`. The dedicated JSONata step (search the standards MCP) takes a direct leaf map in `data`, not a `jsonata` group. SQL-style `data.responseFilters` lists (`{key, type}` entries) are an executor-specific grammar; see SQL (search the standards MCP).
|
|
58
58
|
|
|
59
59
|
### Webhook parser before target-item execution
|
|
60
60
|
|
|
61
|
-
A webhook target's `dataParser` uses the grouped engine over the **whole parsed webhook message**, before target steps run. Prerendering sees only profile `env`, `filters` and empty headers — no `webhook.arguments`, `_outputs`, `_inputs` or `_env`. Later
|
|
61
|
+
A webhook target's `dataParser` uses the grouped engine over the **whole parsed webhook message**, before target steps run. Prerendering sees only profile `env`, `filters` and empty headers — no `webhook.arguments`, `_outputs`, `_inputs` or `_env`. Later webhook target context (search the standards MCP) is a different placement.
|
|
62
62
|
|
|
63
63
|
```yaml
|
|
64
64
|
webhooks:
|
|
@@ -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
|
-
[Workflow/envelope](steps.STEP-ENVELOPE.one-canonical-workflow-component.md) owns list entry (`rootStep`) and step fields;
|
|
11
|
+
[Workflow/envelope](steps.STEP-ENVELOPE.one-canonical-workflow-component.md) 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
|
|
|
@@ -161,7 +161,7 @@ SEED publishes its row before `next` is resolved. `true/true` selects DETAIL; `t
|
|
|
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
|
|
|
@@ -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
|
-
[Workflow](steps.STEP-ENVELOPE.one-canonical-workflow-component.md), [arguments](steps.STEP-ENVELOPE.arguments-and-routing.md),
|
|
246
|
+
[Workflow](steps.STEP-ENVELOPE.one-canonical-workflow-component.md), [arguments](steps.STEP-ENVELOPE.arguments-and-routing.md), runtime scope (search the standards MCP), [response filters](responseFilters.RESPONSE-FILTERS.exact-authored-shape.md), IF (search the standards MCP), and SWITCH (search the standards MCP) own reused inputs/outputs and executor-specific conditions.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## API pagination
|
|
4
4
|
|
|
5
|
-
There is no built-in pagination. Author it: put page/offset/cursor values in `queries`, project the continuation token and a `hasNextPage` flag with response filters, and loop with `next`. Process or persist each page before looping, because `_outputs.<KEY>` holds only the latest page. For puller-specific paging and no-progress detection see
|
|
5
|
+
There is no built-in pagination. Author it: put page/offset/cursor values in `queries`, project the continuation token and a `hasNextPage` flag with response filters, and loop with `next`. Process or persist each page before looping, because `_outputs.<KEY>` holds only the latest page. For puller-specific paging and no-progress detection see PULLERS (search the standards MCP); for loop limits see [NEXT](routing.NEXT.md).
|
|
6
6
|
|
|
7
7
|
### Complete response-derived cursor loop
|
|
8
8
|
|