@beehexa/hexasync-ai-toolkit 2611.8.3 → 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 +11 -16
- package/skills/hexasync-connections/references/INDEX.md +20 -2
- 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 +35 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.md +16 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.return.md +84 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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 -24
- package/skills/hexasync-expressions/references/INDEX.md +8 -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 +12 -12
- 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 +11 -5
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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 +48 -21
- package/skills/hexasync-query-dsl/SKILL.md +13 -17
- package/skills/hexasync-query-dsl/references/INDEX.md +2 -2
- 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 +17 -9
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +3 -3
- 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 +2 -2
- 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 +19 -26
- package/skills/hexasync-steps-api-http/references/INDEX.md +9 -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 +11 -5
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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.executor-selection-is-exact.md +6 -0
- 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 +25 -31
- package/skills/hexasync-steps-control-data/references/INDEX.md +8 -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 +11 -5
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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 -30
- package/skills/hexasync-templates/references/AI-INDEX.md +36 -35
- package/skills/hexasync-templates/references/INDEX.md +9 -4
- 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.md +1 -2
- 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 +14 -3
- 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.fail.md +76 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +4 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.records_form.md +7 -3
- 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 +11 -5
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- 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-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
- package/skills/hexasync-templates/references/PROFILE-ROOT.getreadyflows-1.md +0 -33
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
Use it when a workflow needs one row identified by a unique key (an id, a SKU, an external reference).
|
|
12
12
|
|
|
13
|
-
Choose something else when several rows are expected (use [`QUERY_MANY`](steps.QUERY_MANY.md#contract)), when you need a previous step's output (use
|
|
13
|
+
Choose something else when several rows are expected (use [`QUERY_MANY`](steps.QUERY_MANY.md#contract)), when you need a previous step's output (use `LOOKUP_STEP` (search the standards MCP)), or when the data lives in an external system (use an API step).
|
|
14
14
|
|
|
15
15
|
## Syntax
|
|
16
16
|
|
|
@@ -70,9 +70,9 @@ Choose something else when several rows are expected (use [`QUERY_MANY`](steps.Q
|
|
|
70
70
|
|
|
71
71
|
A concrete `from`, only the columns the next step needs, and a `where` on a unique column whose value is bound from `arguments` — so the first returned row is the only possible row and the value can never alter the SQL.
|
|
72
72
|
|
|
73
|
-
**Output:** `_outputs.<key>` is `{row: {column: value, …}, found: true}` or `{row: null, found: false}`. Row keys follow the projection. The step only reads; it does not save anything. **Failure:** configuration, resolution and database errors fail the step — a SQL error is never reported as `found: false`. Failure routing is described in the
|
|
73
|
+
**Output:** `_outputs.<key>` is `{row: {column: value, …}, found: true}` or `{row: null, found: false}`. Row keys follow the projection. The step only reads; it does not save anything. **Failure:** configuration, resolution and database errors fail the step — a SQL error is never reported as `found: false`. Failure routing is described in the envelope error contract (search the standards MCP).
|
|
74
74
|
|
|
75
|
-
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider`/`displayType`, `data` vs compatible `input`, `arguments`, root `maxStepIterations`) are owned by
|
|
75
|
+
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider`/`displayType`, `data` vs compatible `input`, `arguments`, root `maxStepIterations`) are owned by STEP-ENVELOPE (search the standards MCP).
|
|
76
76
|
|
|
77
77
|
## Fields
|
|
78
78
|
|
|
@@ -400,7 +400,7 @@ Syntax: `logOutput: <boolean>`
|
|
|
400
400
|
|
|
401
401
|
Syntax: `maxStepIterations: <number | null>`
|
|
402
402
|
|
|
403
|
-
`maxStepIterations: <integer >= 1>` — caps how many times this step key may run in one workflow run; exceeding it fails the run and bypasses `onError`. A root `maxStepIterations` takes precedence. See
|
|
403
|
+
`maxStepIterations: <integer >= 1>` — caps how many times this step key may run in one workflow run; exceeding it fails the run and bypasses `onError`. A root `maxStepIterations` takes precedence. See cross-cutting step flags (search the standards MCP).
|
|
404
404
|
|
|
405
405
|
```yaml
|
|
406
406
|
- key: READ_ORDERS
|
|
@@ -460,7 +460,7 @@ With exactly one `A-1` row, `_outputs.READ` is `{row: {sku: "A-1"}, found: true}
|
|
|
460
460
|
sku: {expression: _outputs.READ.row.sku}
|
|
461
461
|
```
|
|
462
462
|
|
|
463
|
-
|
|
463
|
+
`VALUES` (search the standards MCP) runs first; READ binds `sku` as a parameter; `JSONata` (search the standards MCP) emits `{found: true, sku: "A-1"}`, or `{found: false}` on a miss.
|
|
464
464
|
|
|
465
465
|
## Boundaries and errors
|
|
466
466
|
|
|
@@ -483,9 +483,9 @@ With exactly one `A-1` row, `_outputs.READ` is `{row: {sku: "A-1"}, found: true}
|
|
|
483
483
|
|
|
484
484
|
## Related
|
|
485
485
|
|
|
486
|
-
-
|
|
486
|
+
- Step envelope (search the standards MCP)
|
|
487
487
|
- [Builder Query DSL](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md)
|
|
488
|
-
-
|
|
489
|
-
-
|
|
488
|
+
- Context and expression dialects (search the standards MCP)
|
|
489
|
+
- Tasks and tables (search the standards MCP)
|
|
490
490
|
- [`QUERY_MANY`](steps.QUERY_MANY.md#contract)
|
|
491
|
-
-
|
|
491
|
+
- All step types (search the standards MCP)
|
|
@@ -10,14 +10,14 @@ Output shape with the RDBMS connector: one key per selected result (`responseFil
|
|
|
10
10
|
|
|
11
11
|
The RDBMS connector rejects, before executing, any statement containing the exact uppercase text `DROP DATABASE`, `DROP TABLE`, `ALTER TABLE` or `DROP INDEX`. This is a plain text match, not a parser or a security boundary (other casing is not caught). Real protection comes from the database account's permissions.
|
|
12
12
|
|
|
13
|
-
The connection is bound through the shared envelope: the step-level `connectorId` (a profile connection UUID) wins; otherwise `data.connectionId` is read. A value that is not a valid UUID does not fall back to a lookup by name; the connection does not resolve and the step fails. See
|
|
13
|
+
The connection is bound through the shared envelope: the step-level `connectorId` (a profile connection UUID) wins; otherwise `data.connectionId` is read. A value that is not a valid UUID does not fall back to a lookup by name; the connection does not resolve and the step fails. See how a step finds its connection (search the standards MCP).
|
|
14
14
|
|
|
15
15
|
## When to use
|
|
16
16
|
|
|
17
17
|
- Use `SQL` when you need a statement the typed query steps cannot express (dialect-specific SQL, a stored procedure, several result sets in one round trip) against a database connection.
|
|
18
18
|
- To read profile task rows, prefer [QUERY_SINGLE](steps.QUERY_SINGLE.md) (one row) or [QUERY_MANY](steps.QUERY_MANY.md) (many rows). They compile the [Query DSL](query-dsl.QUERY-DSL.md), bind values safely and keep templates portable.
|
|
19
|
-
- For an HTTP endpoint use
|
|
20
|
-
- `SQL` only reads and returns results. It does not save rows. Persist them with an explicit step such as
|
|
19
|
+
- For an HTTP endpoint use API (search the standards MCP). A SQL statement routed through a proxy-service connection is documented under [SQL_PROXY](steps.SQL_PROXY.md).
|
|
20
|
+
- `SQL` only reads and returns results. It does not save rows. Persist them with an explicit step such as SAVE_TASK_DATA (search the standards MCP).
|
|
21
21
|
|
|
22
22
|
## Syntax
|
|
23
23
|
|
|
@@ -67,7 +67,7 @@ Applies to the RDBMS connector. Another connector selected by the connection may
|
|
|
67
67
|
|
|
68
68
|
### `arguments.<name>`
|
|
69
69
|
|
|
70
|
-
Syntax: `arguments: { <name>: <string or expression> }` (map form of the shared
|
|
70
|
+
Syntax: `arguments: { <name>: <string or expression> }` (map form of the shared arguments (search the standards MCP)).
|
|
71
71
|
|
|
72
72
|
Meaning: each resolved argument is passed to the database as a SQL parameter named `<name>`, with a **string** value. Write it in the statement using the connection's placeholder syntax (for example `@name`). The same values are also available as Scriban variables while `data.sql` renders. The connector also adds a `profile_id` parameter automatically. There is no `data.parameters` map.
|
|
73
73
|
|
|
@@ -94,7 +94,7 @@ The values arrive as strings. Cast them in SQL when the column type requires it
|
|
|
94
94
|
|
|
95
95
|
Syntax: `sql: <string>`. Required; no default.
|
|
96
96
|
|
|
97
|
-
Meaning: the statement text, or the stored-procedure name when `commandType: sp`. It is rendered with
|
|
97
|
+
Meaning: the statement text, or the stored-procedure name when `commandType: sp`. It is rendered with Scriban (search the standards MCP) against the step's parameters before execution. A missing `sql` fails the step. Statements containing the restricted uppercase DDL phrases (see [Contract](#contract)) are rejected before execution.
|
|
98
98
|
|
|
99
99
|
Variants:
|
|
100
100
|
|
|
@@ -189,7 +189,7 @@ Meaning: an **ordered** list of selectors. Entry *n* consumes result set *n* and
|
|
|
189
189
|
| `Row` / `1` | first row object | `null` |
|
|
190
190
|
| `Field` / `2` | first column of the first row (so column order matters) | `null` |
|
|
191
191
|
|
|
192
|
-
Text and numeric forms are equivalent. Prefer the text names because they are readable. An unknown number consumes its result set but publishes nothing. Selectors are matched by position, not by name. Having more selectors than result sets, or duplicate keys, fails the step. This array is not the HTTP parser map of
|
|
192
|
+
Text and numeric forms are equivalent. Prefer the text names because they are readable. An unknown number consumes its result set but publishes nothing. Selectors are matched by position, not by name. Having more selectors than result sets, or duplicate keys, fails the step. This array is not the HTTP parser map of response filters (search the standards MCP).
|
|
193
193
|
|
|
194
194
|
```yaml
|
|
195
195
|
- key: READ_SUMMARY
|
|
@@ -217,7 +217,7 @@ Text and numeric forms are equivalent. Prefer the text names because they are re
|
|
|
217
217
|
next: null
|
|
218
218
|
```
|
|
219
219
|
|
|
220
|
-
Use at most one `List` selector per step: every list writes the same `__firstKeys`/`__lastKeys` names, so a second list collides and fails the step. Do not use the result names `hasNextPage`, `__firstKeys`, `__lastKeys`, `outputs`, `input`, `logOutputs`, `error` or `next`. The connector or the workflow reserves these names (a returned `next` overrides routing; see
|
|
220
|
+
Use at most one `List` selector per step: every list writes the same `__firstKeys`/`__lastKeys` names, so a second list collides and fails the step. Do not use the result names `hasNextPage`, `__firstKeys`, `__lastKeys`, `outputs`, `input`, `logOutputs`, `error` or `next`. The connector or the workflow reserves these names (a returned `next` overrides routing; see routing (search the standards MCP)).
|
|
221
221
|
|
|
222
222
|
### `data.hasNextPage`
|
|
223
223
|
|
|
@@ -273,13 +273,13 @@ Variants: a literal (`'false'`) or an expression over arguments.
|
|
|
273
273
|
next: null
|
|
274
274
|
```
|
|
275
275
|
|
|
276
|
-
Since it cannot see the results and fires only after execution, prefer validating prerequisites with
|
|
276
|
+
Since it cannot see the results and fires only after execution, prefer validating prerequisites with IF (search the standards MCP) before the query, and checking results with `IF` after it.
|
|
277
277
|
|
|
278
278
|
### `data.logOutput`
|
|
279
279
|
|
|
280
280
|
Syntax: `logOutput: <boolean | "true" | "false">`. Defaults to `false`.
|
|
281
281
|
|
|
282
|
-
Meaning: `true` (any casing, boolean or string) adds the full serialized list results to the step log. Row and Field values and list counts are logged whatever this flag says, so `false` is **not** redaction. The flag never changes the returned data. The shared flag semantics are in
|
|
282
|
+
Meaning: `true` (any casing, boolean or string) adds the full serialized list results to the step log. Row and Field values and list counts are logged whatever this flag says, so `false` is **not** redaction. The flag never changes the returned data. The shared flag semantics are in cross-cutting step flags (search the standards MCP).
|
|
283
283
|
|
|
284
284
|
```yaml
|
|
285
285
|
- key: READ_DEBUG
|
|
@@ -348,7 +348,7 @@ Meaning: for the named list result, publishes copies of its first and last rows
|
|
|
348
348
|
|
|
349
349
|
## Boundary and failure cases
|
|
350
350
|
|
|
351
|
-
- Missing `sql`, an unresolved connection, a restricted DDL phrase, a non-numeric `timeout`, more selectors than result sets, duplicate keys, an unknown `hasNextPage` name, or two list selectors: the step fails. Database errors and timeouts also fail it. Failures go to the shared
|
|
351
|
+
- Missing `sql`, an unresolved connection, a restricted DDL phrase, a non-numeric `timeout`, more selectors than result sets, duplicate keys, an unknown `hasNextPage` name, or two list selectors: the step fails. Database errors and timeouts also fail it. Failures go to the shared error routing (search the standards MCP). The step has no graceful-failure mode of its own.
|
|
352
352
|
- A blank `sql` is not caught locally; the database rejects it.
|
|
353
353
|
- `hasError` fires after execution, so side effects of the statement remain.
|
|
354
354
|
- Rejected form (non-copyable): `hasNextPage: '{{ more }}'` is looked up as a result named `{{ more }}` and fails. Write the selected list key instead, for example `hasNextPage: items`.
|
|
@@ -356,7 +356,7 @@ Meaning: for the named list result, publishes copies of its first and last rows
|
|
|
356
356
|
|
|
357
357
|
## Related
|
|
358
358
|
|
|
359
|
-
-
|
|
359
|
+
- Step catalog (search the standards MCP)
|
|
360
360
|
- [SQL_PROXY](steps.SQL_PROXY.md#contract): the same delegation through a proxy-service connection.
|
|
361
361
|
- [Query DSL](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md): typed queries differ from connector SQL.
|
|
362
|
-
-
|
|
362
|
+
- Workflow and the step envelope (search the standards MCP)
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
`SQL_PROXY` hands its whole payload to the connector of the step's connection and publishes the connector's result dictionary unchanged as `_outputs.<key>`. The step does not parse SQL. It gives no guarantees about transactions, cross-database queries, routing or pagination: whatever happens is the selected connector's behavior. Two connectors are relevant:
|
|
8
8
|
|
|
9
9
|
- **RDBMS connection**: the payload and output are exactly those of [SQL's RDBMS fields and results](steps.SQL.md#rdbms-fields-and-results).
|
|
10
|
-
- **SQL-proxy service connection**: the connector sends a batch of named SQL commands to a remote proxy service over HTTP and publishes the response through
|
|
10
|
+
- **SQL-proxy service connection**: the connector sends a batch of named SQL commands to a remote proxy service over HTTP and publishes the response through response filters (search the standards MCP). The fields are listed [below](#fields).
|
|
11
11
|
|
|
12
|
-
The connection is bound through the shared envelope: the step-level `connectorId` (profile connection UUID) wins, otherwise `data.connectionId`. An invalid UUID does not fall back to a name lookup; the step fails to resolve a connector. See
|
|
12
|
+
The connection is bound through the shared envelope: the step-level `connectorId` (profile connection UUID) wins, otherwise `data.connectionId`. An invalid UUID does not fall back to a name lookup; the step fails to resolve a connector. See how a step finds its connection (search the standards MCP).
|
|
13
13
|
|
|
14
14
|
## Data contract absence
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@ The editor declares **no data schema** for `SQL_PROXY`, because the payload depe
|
|
|
19
19
|
|
|
20
20
|
- Use `SQL_PROXY` when the database is reachable only through a SQL-proxy service connection, for example a database inside a private network that the workers cannot reach directly.
|
|
21
21
|
- For a directly reachable database, prefer [SQL](steps.SQL.md): same RDBMS behavior, plus an editor schema with completions and validation.
|
|
22
|
-
- For profile task data, prefer [QUERY_SINGLE](steps.QUERY_SINGLE.md) or [QUERY_MANY](steps.QUERY_MANY.md). For HTTP endpoints use
|
|
22
|
+
- For profile task data, prefer [QUERY_SINGLE](steps.QUERY_SINGLE.md) or [QUERY_MANY](steps.QUERY_MANY.md). For HTTP endpoints use API (search the standards MCP).
|
|
23
23
|
|
|
24
24
|
## Syntax
|
|
25
25
|
|
|
@@ -256,9 +256,9 @@ Meaning: `true` (any casing) asks the service to run all commands of the batch i
|
|
|
256
256
|
|
|
257
257
|
Syntax: `responseFilters: { <parser id>: { <output name>: { expression: <string> } } }`. Optional; no default outputs.
|
|
258
258
|
|
|
259
|
-
Meaning: the shared
|
|
259
|
+
Meaning: the shared response-filter engine (search the standards MCP) applied to the service's response body. Each named result becomes a key of `_outputs.<key>`. It is **not** the RDBMS ordered array. Without filters, nothing is published (no rows, no `items`, no `hasNextPage`). HTTP status narrowing (`acceptHttpStatuses`) does not apply here: a non-success response fails the step.
|
|
260
260
|
|
|
261
|
-
Variants:
|
|
261
|
+
Variants: `raw_text` (search the standards MCP) keeps the response text as-is (safe while the layout is unknown). A structured parser such as `jsonata` extracts fields once the service's response layout is confirmed.
|
|
262
262
|
|
|
263
263
|
```yaml
|
|
264
264
|
- key: PROXY_RAW
|
|
@@ -303,13 +303,13 @@ Variants: [`raw_text`](hexasync://docs/responseFilters/RESPONSE-FILTERS/the-eigh
|
|
|
303
303
|
- Proxy-service connection: a missing or malformed `sqlCommands`, malformed `arguments`, or a non-numeric `timeout` fails locally before any request. A non-success HTTP response fails the step, with the service's error text when it provides one. A successful response can still fail during filtering. A successful HTTP transport does not prove that every command succeeded.
|
|
304
304
|
- RDBMS connection: an empty payload fails because `sql` is required, even though the editor shows no schema.
|
|
305
305
|
- Rejected form (non-copyable): `data: {sql: 'select 1', parameters: {id: 42}, proxyId: example}` is neither connector's contract. A proxy-service connection fails because `sqlCommands` is missing.
|
|
306
|
-
- The step has no graceful-failure mode. Failures go to shared
|
|
306
|
+
- The step has no graceful-failure mode. Failures go to shared error routing (search the standards MCP).
|
|
307
307
|
- Do not name results `outputs`, `input`, `logOutputs`, `error` or `next`; the workflow interprets those names.
|
|
308
308
|
|
|
309
309
|
## Related
|
|
310
310
|
|
|
311
|
-
-
|
|
311
|
+
- Step catalog (search the standards MCP)
|
|
312
312
|
- [SQL](steps.SQL.md#contract): direct RDBMS execution with an editor schema.
|
|
313
|
-
-
|
|
313
|
+
- Response filters (search the standards MCP)
|
|
314
314
|
- [Query DSL](query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md): typed queries differ from connector SQL.
|
|
315
|
-
-
|
|
315
|
+
- Workflow and the step envelope (search the standards MCP)
|
|
@@ -1,33 +1,26 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hexasync-startup-tasks-scheduling
|
|
3
3
|
description: "HexaSync startup tasks: typed scheduler metadata, legacy scheduler initialization, immediate startup pull, one schedule per job type, periodic processing through a trigger task, pull and enqueue cadence, ENQUEUER, dashboard presentation versus execution. Use when scheduling pulls, pushes or periodic jobs."
|
|
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
|
# Startup tasks and scheduling
|
|
13
13
|
|
|
14
14
|
`startupTasks[]` is a profile-root array of **initialization actions that run when the profile starts**. Startup tasks are not Workflow steps and do not run on every schedule fire: a scheduler entry *configures* a schedule; the schedule later runs the puller or enqueue job.
|
|
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 startupTasks, ENQUEUER and relevant examples (startup task scheduler); 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":"startupTasks","runtime":"worker"})`, `hexasync_explain_type({"name":"ENQUEUER","runtime":"worker"})`. Omitted runtime also means worker, never frontend.
|
|
26
|
-
3. `hexasync_search_examples` for complete, schema-valid worker/data examples (e.g. query `startup task scheduler`). 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`.
|
|
29
|
-
|
|
30
|
-
Never infer syntax from YAML already in the workspace: it may be outdated or wrong. The knowledge base and the MCP tools are authoritative. Use actual identities from the workspace or `hexasync_list_connectors`; never invent one.
|
|
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.
|
|
31
24
|
|
|
32
25
|
## Best practices (from the knowledge base)
|
|
33
26
|
|
|
@@ -43,4 +36,4 @@ Never infer syntax from YAML already in the workspace: it may be outdated or wro
|
|
|
43
36
|
|
|
44
37
|
## Installing the MCP server
|
|
45
38
|
|
|
46
|
-
|
|
39
|
+
Connect the remote standards MCP using [`references/INSTALL.md`](references/INSTALL.md).
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# References — Startup tasks and scheduling
|
|
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
|
-
- pulling, pushing, ingress and startup hosts →
|
|
8
|
-
- deletion reconciliation through a periodic full run, one schedule per job type, a second cadence through a trigger task, retries and job history →
|
|
7
|
+
- pulling, pushing, ingress and startup hosts → Pullers (search the standards MCP), Pushers (search the standards MCP), Webhooks (search the standards MCP), [Startup](startupTasks.STARTUP-TASKS.md)
|
|
8
|
+
- deletion reconciliation through a periodic full run, one schedule per job type, a second cadence through a trigger task, retries and job history → Deletion reconciliation through a periodic full run (search the standards MCP), [One schedule per job type](startupTasks.STARTUP-TASKS.scheduler-metadata.md#one-schedule-per-job-type), [Periodic processing through a trigger task](startupTasks.STARTUP-TASKS.scheduler-metadata.md#periodic-processing-through-a-trigger-task), [Choosing pull and enqueue cadence](startupTasks.STARTUP-TASKS.scheduler-metadata.md#choosing-pull-and-enqueue-cadence)
|
|
9
9
|
- immediate startup pull, scheduler setup and first-reconcile defaults → [Typed scheduler](startupTasks.STARTUP-TASKS.scheduler-metadata.md), [Legacy scheduler initialization](startupTasks.STARTUP-TASKS.legacy-target-tasks.md#legacy-scheduler-initialization), [Dashboard versus execution](startupTasks.STARTUP-TASKS.scheduler-metadata.md#dashboard-presentation-versus-execution)
|
|
10
10
|
|
|
11
11
|
## Sections
|
|
@@ -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.8.3` |
|
|
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.8.3"]}'` |
|
|
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.8.3"
|
|
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.8.3"
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
The standalone server must match toolkit 2611.8.3. 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.
|
|
@@ -34,7 +34,7 @@ startupTasks:
|
|
|
34
34
|
|
|
35
35
|
### Initial pull: `targetType: PULLER`
|
|
36
36
|
|
|
37
|
-
Meaning: runs the puller `targetId` immediately, on every profile start, through the normal
|
|
37
|
+
Meaning: runs the puller `targetId` immediately, on every profile start, through the normal puller lifecycle (search the standards MCP). Use it when data must exist before the first schedule fire (first/initial load). Scheduling members in `metadata` are ignored: this never creates a schedule and `isEnabled: false` does not stop the pull.
|
|
38
38
|
|
|
39
39
|
```yaml
|
|
40
40
|
startupTasks:
|
|
@@ -49,7 +49,7 @@ Pattern: pair an initial pull with a schedule — initial pull at a lower index,
|
|
|
49
49
|
|
|
50
50
|
### `targetType: TASK` / `OBJECT`
|
|
51
51
|
|
|
52
|
-
Meaning: `targetId` is a task GUID; startup resolves the task's associated puller (
|
|
52
|
+
Meaning: `targetId` is a task GUID; startup resolves the task's associated puller (task associations (search the standards MCP)) and runs it immediately. `OBJECT` is an alias of `TASK`. If the task or its puller is missing, the entry is logged and skipped. Prefer this over `PULLER` when the template already identifies the entity by task.
|
|
53
53
|
|
|
54
54
|
```yaml
|
|
55
55
|
startupTasks:
|
|
@@ -60,7 +60,7 @@ startupTasks:
|
|
|
60
60
|
|
|
61
61
|
### `targetType: SCHEMA`
|
|
62
62
|
|
|
63
|
-
Meaning: `targetId` is a reference (schema) GUID; `metadata.defaultValues` is a list of row objects inserted into that reference's table once per profile (a migration marker prevents repeats). Omitted `defaultValues` inserts nothing but still sets the marker. Each row gets `__is_enabled: false` when absent; `null`, `"0"`, `"false"`, `"f"`, `"n"`, `"no"` also become `false`. Set `__is_enabled: true` on rows that must be active. The
|
|
63
|
+
Meaning: `targetId` is a reference (schema) GUID; `metadata.defaultValues` is a list of row objects inserted into that reference's table once per profile (a migration marker prevents repeats). Omitted `defaultValues` inserts nothing but still sets the marker. Each row gets `__is_enabled: false` when absent; `null`, `"0"`, `"false"`, `"f"`, `"n"`, `"no"` also become `false`. Set `__is_enabled: true` on rows that must be active. The reference storage lifecycle (search the standards MCP) owns the table contract. This is not a pull.
|
|
64
64
|
|
|
65
65
|
```yaml
|
|
66
66
|
startupTasks:
|
|
@@ -19,7 +19,7 @@ startupTasks:
|
|
|
19
19
|
metadata: <object | null> # optional
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Purpose: seed **default**
|
|
22
|
+
Purpose: seed **default** metric configuration (search the standards MCP) rows on every start, inserting each row only if absent — existing rows and user opt-outs are never overwritten. Rows are taken verbatim from `configurations`; nothing is derived from the metric definitions. Omitting `metadata` seeds nothing. Use it to ship sensible notification defaults (typically NOTIFY on error facets) and keep the list aligned when the template's metrics change.
|
|
23
23
|
|
|
24
24
|
### `metadata.entityType`
|
|
25
25
|
|
package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## Related
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
5
|
+
- Puller lifecycle (search the standards MCP)
|
|
6
|
+
- Task associations (search the standards MCP)
|
|
7
|
+
- Tasks and tables (search the standards MCP)
|
|
8
|
+
- Metrics (search the standards MCP)
|
|
9
|
+
- Canonical Workflow (search the standards MCP) — steps run by a puller, not startup task syntax
|
|
@@ -26,7 +26,7 @@ How it applies: the platform already generates one pull schedule per top-level p
|
|
|
26
26
|
|
|
27
27
|
Syntax: `entityId: <GUID>` — required; no default.
|
|
28
28
|
|
|
29
|
-
Meaning: the source **task** GUID. For `PULL` the owning puller is resolved from the task through its
|
|
29
|
+
Meaning: the source **task** GUID. For `PULL` the owning puller is resolved from the task through its associations (search the standards MCP); pass the task GUID, not the puller GUID. An unknown task, or a task without an owning puller, fails before anything is configured.
|
|
30
30
|
|
|
31
31
|
```yaml
|
|
32
32
|
startupTasks:
|
|
@@ -81,7 +81,7 @@ Syntax: `type: PULL | ENQUEUE` — required; no default.
|
|
|
81
81
|
Variants:
|
|
82
82
|
|
|
83
83
|
- `PULL` — configures the pull schedule of the puller that owns the task (see [overlapping runs and retries](#overlapping-runs-and-failed-run-retries)). Tasks that share one puller share this one schedule. A scheduled pull receives no inputs: `_inputs` is empty, so a puller cannot tell scheduled runs apart by arguments.
|
|
84
|
-
- `ENQUEUE` — configures the task's enqueue job, which selects eligible rows for its pusher (
|
|
84
|
+
- `ENQUEUE` — configures the task's enqueue job, which selects eligible rows for its pusher (tasks and queue eligibility (search the standards MCP)). Requires a pusher associated with the task. A pull that completes without failing also queues an enqueue run for each related task whose enqueue schedule is enabled and running.
|
|
85
85
|
|
|
86
86
|
```yaml
|
|
87
87
|
startupTasks:
|
|
@@ -242,9 +242,9 @@ Choosing the period and the action:
|
|
|
242
242
|
| Choice | Variants |
|
|
243
243
|
| --- | --- |
|
|
244
244
|
| Period | Truncate to the hour (`'yyyy-MM-ddTHH:00:00Z'`), the minute (`'yyyy-MM-ddTHH:mm:00Z'`) or the day (`'yyyy-MM-dd'`); for N minutes compute a bucket, e.g. `{{ (hexasync.date.current_timestamp | string.to_long) // 300 }}` for 5 minutes. The pull cadence only needs to be shorter than the period |
|
|
245
|
-
| Retention |
|
|
245
|
+
| Retention | UPDATE_TASK_DATA_STATUS (search the standards MCP) on the target task with a bounded `where` (as above) |
|
|
246
246
|
| Periodic re-processing | The same step with `statusToAdd: Changed` and a `where` naming the rows to push again |
|
|
247
|
-
| Full reconciliation | A
|
|
247
|
+
| Full reconciliation | A PULLER (search the standards MCP) step calling the target puller with `arguments: { reconciliation: 'true' }`; the puller branches on `_inputs.reconciliation` |
|
|
248
248
|
|
|
249
249
|
Keep `window_start` the only tracked column of the trigger task, keep its `ignoreChange: false`, and derive the pusher result from the action's real output so a failed action is retried.
|
|
250
250
|
|
|
@@ -280,7 +280,7 @@ startupTasks:
|
|
|
280
280
|
|
|
281
281
|
### Overlapping runs and failed-run retries
|
|
282
282
|
|
|
283
|
-
A `PULL` fire depends on the puller's `isPrioritized` (
|
|
283
|
+
A `PULL` fire depends on the puller's `isPrioritized` (Pullers (search the standards MCP)):
|
|
284
284
|
|
|
285
285
|
- **Not prioritized (default):** the fire enqueues a pull job for the puller, with no inputs. If the puller already has an open job (waiting, running or failed), the fire reuses it, so a slow or failing puller builds no backlog and two runs of the same puller do not stack. A failed job is retried after a platform retry interval (5 minutes by default), with no attempt cap and no growing backoff, until it succeeds.
|
|
286
286
|
- **Prioritized:** the fire pulls inline. A failed inline run is not retried; the next fire is the retry. Each fire records its own job-history row.
|
|
@@ -296,7 +296,7 @@ Job history: consecutive failures collapse into **one** `Failed` record, retried
|
|
|
296
296
|
| Pull interval | Longer than the slowest observed walk | A fire during an open job reuses it instead of starting another run |
|
|
297
297
|
| Enqueue interval | Staggered after the pull; the pull itself also triggers an enqueue run when it succeeds | The schedule catches rows changed by other writers (webhooks, status updates) |
|
|
298
298
|
| Second cadence (full reconciliation, retention, re-processing) | A separate [trigger task](#periodic-processing-through-a-trigger-task) | A task has only one schedule per job type |
|
|
299
|
-
| Full cadence | Derived from measured full volume, page size and the
|
|
299
|
+
| Full cadence | Derived from measured full volume, page size and the request budget (search the standards MCP) | It bounds deletion latency when the source has no delete feed |
|
|
300
300
|
| Staggering | Offset pullers that share one source account | Fires are not serialized by the platform |
|
|
301
301
|
| Failure handling | Let the scheduler retry; do not author retry loops | Queued jobs retry until success |
|
|
302
302
|
|
|
@@ -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,48 +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
|
-
- Before an expression, use `hexasync_explain_position({"position":"frontend-step"})` and the KB's current-flow context guidance.
|
|
39
|
-
- 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.
|
|
40
26
|
|
|
41
27
|
## Best practices (from the knowledge base)
|
|
42
28
|
|
|
43
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))_
|
|
44
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))_
|
|
45
|
-
- **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))_
|
|
46
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))_
|
|
47
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))_
|
|
48
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 +41,14 @@ For grouped frontend requests (getReadyFlows / FrontendFlow), read [Frontend wor
|
|
|
55
41
|
- **Paginate explicitly and persist per page**, with a guaranteed termination condition. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
56
42
|
- **Don't mix query strings in `url` with `queries`**, and pre-encode values yourself. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
57
43
|
- **Use `logOutput` deliberately**: helpful when debugging, costly and potentially sensitive in production volume. _([API — API Connector](references/steps.API.best-practices.md))_
|
|
58
|
-
-
|
|
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).
|