@beehexa/hexasync-template-ide-mcp 2612.3.2 → 2612.3.4
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/dist/knowledgeBase.generated.js +3 -3
- package/dist/mcp/prebuilds/integrity.json +2 -2
- package/dist/mcp/prebuilds/win32-arm64/root-authority.node +0 -0
- package/dist/mcp/prebuilds/win32-x64/root-authority.node +0 -0
- package/dist/mcp/server-build.json +3 -3
- package/dist/mcp/server.js +2 -2
- package/package.json +9 -9
|
@@ -2361,10 +2361,10 @@ export const KNOWLEDGE_BASE = [
|
|
|
2361
2361
|
"uri": "hexasync://docs/AI-INDEX",
|
|
2362
2362
|
"name": "docs/AI-INDEX",
|
|
2363
2363
|
"title": "HexaSync Profile Template Knowledge Base",
|
|
2364
|
-
"description": "Asset bundle 115 · extension 2612.3.
|
|
2364
|
+
"description": "Asset bundle 115 · extension 2612.3.4.",
|
|
2365
2365
|
"mimeType": "text/markdown",
|
|
2366
|
-
"text": "<!-- GENERATED KNOWLEDGE INDEX — DO NOT EDIT. Run `yarn ai:index`. -->\n# HexaSync Profile Template Knowledge Base\n\n**Asset bundle 115 · extension 2612.3.2.**\n\n## Authoring boundaries\n\n- Worker Workflow steps and frontend creation/setup steps are different domains. Shared names do not make their payloads or execution interchangeable.\n- For grouped frontend `getReadyFlows`, start with [Frontend workflows](hexasync://docs/frontend/FRONTEND-FLOWS); flow `key` and `dependsOn` references match `^[A-Z][A-Z0-9_]*$` with at most 128 characters. Use `runtime: frontend` for type lookup and `frontend-step` for expression position. Omitted runtime keeps worker meaning.\n- Use actual existing component and provider identities. Resolution and unresolved outcomes belong to each component contract.\n- Context roots depend on the workflow host and execution stage. A legal authoring root is not a promise that it exists at entry.\n- Examples explain inputs, prerequisites and expected effects.\n- This index is a retrieval map. Read the linked component page for defaults, precedence, variants and failure behavior.\n\n## Component pages\n\n| question | reference |\n| --- | --- |\n| root collections, identities and includes | [Profile root](hexasync://docs/PROFILE-ROOT) |\n| frontend creation/setup/authorization steps and connector definitions | [Frontend steps](hexasync://docs/PROFILE-ROOT/profile-root-fields-1/frontend-steps-creationsteps-setupsteps-authorizationsteps), [Connector definition](hexasync://docs/PROFILE-ROOT/profile-root-fields-1/connector-definition-document) |\n| 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](hexasync://docs/frontend/FRONTEND-FLOWS) |\n| save task/reference row changes, preview, health, repair, per-row outcomes and coded refusals; unreleased worker.proxy PR #78 deployment gate | [Data routes](hexasync://docs/frontend/FRONTEND-FLOWS/task-and-reference-data-changes), [RECORDS_FORM change set](hexasync://docs/frontend/FRONTEND-FLOWS/records_form/records_form-change-set-path), [File import](hexasync://docs/frontend/FRONTEND-FLOWS/records_form/file-import-path) |\n| Workflow selection, envelope, argument placement and flags | [Step envelope](hexasync://docs/steps/STEP-ENVELOPE) |\n| host/stage context, Scriban, JSONata and expression call sites | [Expressions and context](hexasync://docs/expressions/CONTEXT-AND-IO) |\n| next targets, branches, termination and loop guards | [Routing](hexasync://docs/routing/NEXT) |\n| response parsers and site-specific result handling | [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS) |\n| Builder DSL versus API Filter DSL; v2 next/prev cursors, invalid_cursor and single-page VALUE MAX/MIN | [QueryDSL](hexasync://docs/query-dsl/QUERY-DSL), [Entity V2 cursors](hexasync://docs/query-dsl/QUERY-DSL/filter-dsl-language-contract/filter-request-envelope#entity-v2-flat-fields-and-working-cursors) |\n| connection binding, options, auth and HTTP request builders | [Connections](hexasync://docs/connections/CONNECTIONS), [API](hexasync://docs/steps/API) |\n| self connector identity (`**SelfConnectorProviderId**`, `IS_SELF_CONNECTOR`) and why `CONN-1` names it | [The self connector](hexasync://docs/connections/CONNECTIONS/the-self-connector#its-identity-and-why-conn-1-names-it) |\n| pulling, pushing, ingress and startup hosts | [Pullers](hexasync://docs/pullers/PULLERS), [Pushers](hexasync://docs/pushers/PUSHERS), [Webhooks](hexasync://docs/webhooks/WEBHOOKS), [Startup](hexasync://docs/startupTasks/STARTUP-TASKS) |\n| creating/binding gateway webhooks, captured delivery payloads as samples, replay limits, hosted Gateway MCP sign-in | [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow) |\n| How do I decide incremental vs full pull for an entity, validate its watermark, resume and terminate safely, classify API failures, and reconcile deletions? | [Puller completeness contract](hexasync://docs/pullers/PULLERS/puller-completeness-contract), [Entity classification](hexasync://docs/pullers/PULLERS/entity-classification) |\n| endpoint filter/anchor/page-size facts, watermark boundary inclusivity, timezone and overlap, natural-key ordering and ties, request budget and 429 handling | [Earn endpoint request facts](hexasync://docs/pullers/PULLERS/puller-completeness-contract#earn-endpoint-request-facts), [Watermark boundary validation](hexasync://docs/pullers/PULLERS/puller-completeness-contract#watermark-boundary-validation), [Natural-key ordering and ties](hexasync://docs/pullers/PULLERS/puller-completeness-contract#natural-key-ordering-and-ties), [Request budget and throttling](hexasync://docs/pullers/PULLERS/puller-completeness-contract#request-budget-and-throttling) |\n| 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](hexasync://docs/pullers/PULLERS/puller-completeness-contract#deletion-reconciliation-through-a-periodic-full-run), [One schedule per job type](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#one-schedule-per-job-type), [Periodic processing through a trigger task](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#periodic-processing-through-a-trigger-task), [Choosing pull and enqueue cadence](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#choosing-pull-and-enqueue-cadence) |\n| mapping API/event members to snake_case columns before saving, explicit destination bodies | [Explicit field mapping](hexasync://docs/steps/SAVE_TASK_DATA#explicit-field-mapping), [Explicit mapping for push](hexasync://docs/transformations/TRANSFORMATIONS/explicit-mapping-for-push) |\n| classifying HTTP status, thrown calls and invalid envelopes into one error code without one step per error class | [Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once) |\n| several vendor accounts, credential scope per connection, shared provider quota | [One connection, one credential scope](hexasync://docs/connections/CONNECTIONS/one-connection-one-credential-scope) |\n| webhook signature, raw body, acknowledgement, multi-event deliveries, partial payloads, registration health | [Provider webhook authoring standards](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow#provider-webhook-authoring-standards), [Worked sample](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow#worked-sample-a-signed-credential-scope-delivery) |\n| immediate startup pull, scheduler setup and first-reconcile defaults | [Typed scheduler](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata), [Legacy scheduler initialization](hexasync://docs/startupTasks/STARTUP-TASKS/legacy-target-tasks#legacy-scheduler-initialization), [Dashboard versus execution](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#dashboard-presentation-versus-execution) |\n| task binding, dependency gates and physical storage | [Objects](hexasync://docs/objects/object), [Associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS), [Dependencies](hexasync://docs/dependencies/DEPENDENCIES), [Tasks](hexasync://docs/tasks/TASKS-AND-TABLES), [Tables](hexasync://docs/tables/TABLES) |\n| transformation order, item context, abort/no-op and executor outcomes | [Transformation chain](hexasync://docs/transformations/TRANSFORMATIONS/transformation-chain-contract) |\n| stored SQL validity versus per-item diagnostics | [Validations](hexasync://docs/validations/VALIDATIONS) |\n| metric readers, handlers, scoring and reports | [Metrics](hexasync://docs/metrics/METRICS_REFERENCE), [Reports](hexasync://docs/reports/REPORTS) |\n| one worker executor and its alternatives | [Worker step index](hexasync://docs/steps/INDEX) |\n\n## Collections: root declaration shapes\n\n- `connectors` — array of connections/connection\n- `contributors` — array of contributor\n- `dependencies` — array of dependencies/dependency\n- `externals` — array of externals\n- `metricGroups` — array of metrics/metricGroup\n- `objectAssociations` — map of objectAssociations/objectAssociation\n- `objects` — array of objects/object\n- `pullers` — array of pullers/puller\n- `pushers` — array of pushers/pusher\n- `reports` — array of reports/report\n- `startupTasks` — array of startupTasks/startupTask\n- `tables` — array of tables/table\n- `transformations` — map of arrays of transformations/transformation\n- `validations` — map of arrays of validations/validation\n- `webhooks` — array of webhooks/Webhook\n\n## Worker executable authoring choices (42)\n`API`, `BASE64_TO_MIME_TYPE`, `CACHE`, `CHECK_FORMAT`, `DIRECT_INDEX`, `DOWNLOAD_CSV`, `ENQUEUER`, `EXCEL_READER`, `EXCEPTION`, `Error`, `FORWARD`, `GET_KEY_VALUE`, `IF`, `IGNORE_ITEM`, `INVALIDATE_CACHE`, `JSONata`, `LOOKUP_STEP`, `METRIC_QUERY`, `PUBLISH_EVENT`, `PULLER`, `PUSHER`, `QUERY_MANY`, `QUERY_METRICS`, `QUERY_SINGLE`, `REMOVE_DATA`, `RESET_ITEM`, `RESOLVE_RAW_DATA`, `SAVE_TASK_DATA`, `SEED_DATA`, `SET_KEY_VALUE`, `SLEEP`, `SQL`, `SQL_PROXY`, `SWITCH`, `Scriban`, `TRACK_FOR_REMOVAL`, `UPDATE_ITEM_STATUS`, `UPDATE_ITEM_SYNC_PROCESS`, `UPDATE_TASK_DATA_STATUS`, `VALUES`, `VERIFY_CACHED`, `WEBHOOK_FORWARD`\n\nRegistered but throwing (9): `Begin`, `Composite`, `End`, `GraphQL`, `Liquid`, `OData`, `QueryDSL`, `Restful`, `cURL`. Read their rejected forms and actual alternatives through the worker step index.\n\n## Frontend declaration vocabulary (23)\n`API`, `API_PROXY`, `BROWSER`, `FAIL`, `FORM`, `GATEWAY_API`, `GET_LOCAL_STORAGE`, `HEALTH_CHECK_WORKER`, `IF`, `INTEGRATION_APP_MANAGEMENT`, `JSONATA`, `LIQUID`, `MULTIPLE_CHOICE_FORM`, `READ_QUERIES`, `RECORDS_FORM`, `REDIRECT`, `RETURN`, `SELECT_GOOGLE_DRIVE`, `SET_LOCAL_STORAGE`, `SHOW_INFO`, `SINGLE_CHOICE_FORM`, `SWITCH`, `WAIT`\n\n## Transformation authoring vocabulary (12)\n`BulkClone`, `BulkRename`, `Clone`, `Jsonata`, `Nested_SQL`, `None`, `QUERY_MANY`, `QUERY_SINGLE`, `RESOLVE_RAW_DATA`, `Rename`, `SQL`, `Scriban`\n`None` is [disabled](hexasync://docs/transformations/TRANSFORMATIONS/none--disabled-versus-absent-discriminator). `RenameDependency` is [declared but unimplemented](hexasync://docs/transformations/TRANSFORMATIONS/renamedependency--declared-but-unimplemented) and is not an accepted authoring discriminator.\n\n## Supported validation vocabulary (23)\n`BETWEEN`, `CONTAIN`, `END_WITH`, `EQUAL`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `IN`, `IS_EMPTY`, `IS_NULL`, `LENGTH`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `MAX_LENGTH`, `MIN_LENGTH`, `NOT_CONTAIN`, `NOT_EMPTY`, `NOT_END_WITH`, `NOT_EQUAL`, `NOT_IN`, `NOT_NULL`, `NOT_START_WITH`, `REGEX`, `START_WITH`\nDeclaration-only members and datetime deployment prerequisites are explained on the validations page.\n\n## Builder DSL operators (35)\n`!=`, `<`, `<=`, `<>`, `=`, `>`, `>=`, `AND`, `BETWEEN`, `CONTAINS`, `ENDS_WITH`, `HAS_ALL_BITS`, `HAS_BITS`, `IN`, `ISNIL`, `ISNULL`, `IS_NIL`, `IS_NOT_NULL`, `IS_NULL`, `NIL`, `NNIL`, `NNULL`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_HAS_ALL_BITS`, `NOT_HAS_BITS`, `NOT_IN`, `NOT_NULL`, `NOT_REGEX`, `NOT_STARTS_WITH`, `NULL`, `OR`, `REGEX`, `STARTS_WITH`, `^LAST_[+-]?[0-9]+_[A-Za-z]+$`\n\n## Builder DSL operand kinds (5)\n`ARG`, `FIELD`, `PARAM`, `QUERY`, `VALUE`\nAPI Filter DSL has its own predicate vocabulary, request envelope and bit-mask semantics; do not substitute Builder syntax.\n\n## Editor/CLI diagnostic rule IDs (79)\n`API-1`, `API-2`, `ARG-1`, `ARG-2`, `ARG-3`, `ARG-4`, `ARG-5`, `ARG-6`, `ARG-7`, `COL-1`, `CONN-0`, `CONN-1`, `CONN-2`, `CONN-3`, `CONN-4`, `CONN-5`, `CTX-1`, `CTX-2`, `CTX-3`, `DEP-1`, `DRIFT-1`, `DUP-1`, `DUP-3`, `DUP-4`, `DUP-5`, `FFE-0`, `FFE-1`, `FFE-10`, `FFE-11`, `FFE-12`, `FFE-13`, `FFE-14`, `FFE-2`, `FFE-3`, `FFE-4`, `FFE-5`, `FFE-6`, `FFE-7`, `FFE-8`, `FFE-9`, `FLOW-3`, `FLOW-4`, `FLOW-5`, `FLOW-6`, `FLOW-7`, `FLOW-8`, `MDI-1`, `OVW-1`, `PLK-1`, `PLK-2`, `QDSL-1`, `REF-1`, `REF-13`, `REF-15`, `REF-16`, `REF-2`, `REF-3`, `REF-5`, `REF-6`, `REF-7`, `REF-9`, `REF-K1`, `REF-K2`, `RET-1`, `STEP-1`, `STEP-2`, `STEP-3`, `TBL-1`, `TBL-2`, `TBL-3`, `TBL-4`, `TBL-5`, `TBL-6`, `TBL-7`, `UNIMP-1`, `VAR-1`, `VAR-2`, `VAR-3`, `VAR-4`\nUse `hexasync_explain_rule` for diagnostic meaning and consequences.\n\n## Catalog systems with connector codes (16)\n- KiotViet — `kiotviet`\n- Lazada — `lazada`\n- Lightspeed X Series — `lightspeed-x-series`\n- Misa AMIS RPA — `misa-amis-frontend`\n- Misa AMIS — `misa-amis`\n- Sapo Omni V3 — `sapo-omni-v3`\n- Shopee — `shopee`\n- Shopify Custom App — `shopify-custom-app`\n- Shopify — `shopify-public-app`\n- Shopline Private App — `shopline-private-app`\n- Shopline — `shopline`\n- TikTok Shop (Gateway V3) — `tiktokshop`\n- TikTok Shop — `tiktokshop`\n- WooCommerce — `woocommerce`\n- Xero — `v2/xero`\n- Zalo — `zalo`\n\n## Catalog systems without a supported connector code (8)\n- Anchanto OMS (SelluSeller)\n- Brightpearl\n- Lightspeed X Series (Gateway V2)\n- MeInvoice\n- Packhai OMS\n- Wix\n- Zendesk\n- Zoho Desk\nCatalog presence does not create an executable connector or an authentication scheme.\n\n## Actual MCP retrieval\n\n- `resources/list` and `resources/read` expose the component pages and shipped schema data without a private source checkout.\n- `hexasync_explain_type` reads [step inputs](hexasync://assets/steps/inputs.json) and [step results](hexasync://assets/steps/outputs.json); read the component page for conditional output branches.\n- `hexasync_explain_position` describes the static authoring position; use the context page for host/stage availability.\n- `hexasync_search_examples` reads [1299 authored YAML examples](hexasync://assets/docs/examples.json), including their surrounding explanation and component page. Fragments are not necessarily complete profiles or successful-input examples. Connector identity is not guessed.\n- `hexasync_list_connectors` reads the [connector catalog](hexasync://assets/connectors/catalog.json); use existing workspace identities rather than inventing IDs.\n- This server never calls the gateway. Webhook resources, captured deliveries and replay are tools of the separately signed-in hosted Gateway MCP; read the [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow) before asking the user.\n- [Root schema](hexasync://assets/main.json) reaches component item contracts. The [full knowledge index](hexasync://index) is the navigation entry.\n",
|
|
2367
|
-
"canonicalAssetText": "<!-- GENERATED KNOWLEDGE INDEX — DO NOT EDIT. Run `yarn ai:index`. -->\n# HexaSync Profile Template Knowledge Base\n\n**Asset bundle 115 · extension 2612.3.2.**\n\n## Authoring boundaries\n\n- Worker Workflow steps and frontend creation/setup steps are different domains. Shared names do not make their payloads or execution interchangeable.\n- For grouped frontend `getReadyFlows`, start with [Frontend workflows](hexasync://docs/frontend/FRONTEND-FLOWS); flow `key` and `dependsOn` references match `^[A-Z][A-Z0-9_]*$` with at most 128 characters. Use `runtime: frontend` for type lookup and `frontend-step` for expression position. Omitted runtime keeps worker meaning.\n- Use actual existing component and provider identities. Resolution and unresolved outcomes belong to each component contract.\n- Context roots depend on the workflow host and execution stage. A legal authoring root is not a promise that it exists at entry.\n- Examples explain inputs, prerequisites and expected effects.\n- This index is a retrieval map. Read the linked component page for defaults, precedence, variants and failure behavior.\n\n## Component pages\n\n| question | reference |\n| --- | --- |\n| root collections, identities and includes | [Profile root](hexasync://docs/PROFILE-ROOT) |\n| frontend creation/setup/authorization steps and connector definitions | [Frontend steps](hexasync://docs/PROFILE-ROOT#frontend-steps-creationsteps-setupsteps-authorizationsteps), [Connector definition](hexasync://docs/PROFILE-ROOT#connector-definition-document) |\n| 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](hexasync://docs/frontend/FRONTEND-FLOWS) |\n| save task/reference row changes, preview, health, repair, per-row outcomes and coded refusals; unreleased worker.proxy PR #78 deployment gate | [Data routes](hexasync://docs/frontend/FRONTEND-FLOWS#task-and-reference-data-changes), [RECORDS_FORM change set](hexasync://docs/frontend/FRONTEND-FLOWS#records_form-change-set-path), [File import](hexasync://docs/frontend/FRONTEND-FLOWS#file-import-path) |\n| Workflow selection, envelope, argument placement and flags | [Step envelope](hexasync://docs/steps/STEP-ENVELOPE) |\n| host/stage context, Scriban, JSONata and expression call sites | [Expressions and context](hexasync://docs/expressions/CONTEXT-AND-IO) |\n| next targets, branches, termination and loop guards | [Routing](hexasync://docs/routing/NEXT) |\n| response parsers and site-specific result handling | [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS) |\n| Builder DSL versus API Filter DSL; v2 next/prev cursors, invalid_cursor and single-page VALUE MAX/MIN | [QueryDSL](hexasync://docs/query-dsl/QUERY-DSL), [Entity V2 cursors](hexasync://docs/query-dsl/QUERY-DSL#entity-v2-flat-fields-and-working-cursors) |\n| connection binding, options, auth and HTTP request builders | [Connections](hexasync://docs/connections/CONNECTIONS), [API](hexasync://docs/steps/API) |\n| self connector identity (`**SelfConnectorProviderId**`, `IS_SELF_CONNECTOR`) and why `CONN-1` names it | [The self connector](hexasync://docs/connections/CONNECTIONS#its-identity-and-why-conn-1-names-it) |\n| pulling, pushing, ingress and startup hosts | [Pullers](hexasync://docs/pullers/PULLERS), [Pushers](hexasync://docs/pushers/PUSHERS), [Webhooks](hexasync://docs/webhooks/WEBHOOKS), [Startup](hexasync://docs/startupTasks/STARTUP-TASKS) |\n| creating/binding gateway webhooks, captured delivery payloads as samples, replay limits, hosted Gateway MCP sign-in | [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS#gateway-mcp-webhook-workflow) |\n| How do I decide incremental vs full pull for an entity, validate its watermark, resume and terminate safely, classify API failures, and reconcile deletions? | [Puller completeness contract](hexasync://docs/pullers/PULLERS#puller-completeness-contract), [Entity classification](hexasync://docs/pullers/PULLERS#entity-classification) |\n| endpoint filter/anchor/page-size facts, watermark boundary inclusivity, timezone and overlap, natural-key ordering and ties, request budget and 429 handling | [Earn endpoint request facts](hexasync://docs/pullers/PULLERS#earn-endpoint-request-facts), [Watermark boundary validation](hexasync://docs/pullers/PULLERS#watermark-boundary-validation), [Natural-key ordering and ties](hexasync://docs/pullers/PULLERS#natural-key-ordering-and-ties), [Request budget and throttling](hexasync://docs/pullers/PULLERS#request-budget-and-throttling) |\n| 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](hexasync://docs/pullers/PULLERS#deletion-reconciliation-through-a-periodic-full-run), [One schedule per job type](hexasync://docs/startupTasks/STARTUP-TASKS#one-schedule-per-job-type), [Periodic processing through a trigger task](hexasync://docs/startupTasks/STARTUP-TASKS#periodic-processing-through-a-trigger-task), [Choosing pull and enqueue cadence](hexasync://docs/startupTasks/STARTUP-TASKS#choosing-pull-and-enqueue-cadence) |\n| mapping API/event members to snake_case columns before saving, explicit destination bodies | [Explicit field mapping](hexasync://docs/steps/SAVE_TASK_DATA#explicit-field-mapping), [Explicit mapping for push](hexasync://docs/transformations/TRANSFORMATIONS#explicit-mapping-for-push) |\n| classifying HTTP status, thrown calls and invalid envelopes into one error code without one step per error class | [Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once) |\n| several vendor accounts, credential scope per connection, shared provider quota | [One connection, one credential scope](hexasync://docs/connections/CONNECTIONS#one-connection-one-credential-scope) |\n| webhook signature, raw body, acknowledgement, multi-event deliveries, partial payloads, registration health | [Provider webhook authoring standards](hexasync://docs/webhooks/WEBHOOKS#provider-webhook-authoring-standards), [Worked sample](hexasync://docs/webhooks/WEBHOOKS#worked-sample-a-signed-credential-scope-delivery) |\n| immediate startup pull, scheduler setup and first-reconcile defaults | [Typed scheduler](hexasync://docs/startupTasks/STARTUP-TASKS#scheduler-metadata), [Legacy scheduler initialization](hexasync://docs/startupTasks/STARTUP-TASKS#legacy-scheduler-initialization), [Dashboard versus execution](hexasync://docs/startupTasks/STARTUP-TASKS#dashboard-presentation-versus-execution) |\n| task binding, dependency gates and physical storage | [Objects](hexasync://docs/objects/object), [Associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS), [Dependencies](hexasync://docs/dependencies/DEPENDENCIES), [Tasks](hexasync://docs/tasks/TASKS-AND-TABLES), [Tables](hexasync://docs/tables/TABLES) |\n| transformation order, item context, abort/no-op and executor outcomes | [Transformation chain](hexasync://docs/transformations/TRANSFORMATIONS#transformation-chain-contract) |\n| stored SQL validity versus per-item diagnostics | [Validations](hexasync://docs/validations/VALIDATIONS) |\n| metric readers, handlers, scoring and reports | [Metrics](hexasync://docs/metrics/METRICS_REFERENCE), [Reports](hexasync://docs/reports/REPORTS) |\n| one worker executor and its alternatives | [Worker step index](hexasync://docs/steps/INDEX) |\n\n## Collections: root declaration shapes\n\n- `connectors` — array of connections/connection\n- `contributors` — array of contributor\n- `dependencies` — array of dependencies/dependency\n- `externals` — array of externals\n- `metricGroups` — array of metrics/metricGroup\n- `objectAssociations` — map of objectAssociations/objectAssociation\n- `objects` — array of objects/object\n- `pullers` — array of pullers/puller\n- `pushers` — array of pushers/pusher\n- `reports` — array of reports/report\n- `startupTasks` — array of startupTasks/startupTask\n- `tables` — array of tables/table\n- `transformations` — map of arrays of transformations/transformation\n- `validations` — map of arrays of validations/validation\n- `webhooks` — array of webhooks/Webhook\n\n## Worker executable authoring choices (42)\n`API`, `BASE64_TO_MIME_TYPE`, `CACHE`, `CHECK_FORMAT`, `DIRECT_INDEX`, `DOWNLOAD_CSV`, `ENQUEUER`, `EXCEL_READER`, `EXCEPTION`, `Error`, `FORWARD`, `GET_KEY_VALUE`, `IF`, `IGNORE_ITEM`, `INVALIDATE_CACHE`, `JSONata`, `LOOKUP_STEP`, `METRIC_QUERY`, `PUBLISH_EVENT`, `PULLER`, `PUSHER`, `QUERY_MANY`, `QUERY_METRICS`, `QUERY_SINGLE`, `REMOVE_DATA`, `RESET_ITEM`, `RESOLVE_RAW_DATA`, `SAVE_TASK_DATA`, `SEED_DATA`, `SET_KEY_VALUE`, `SLEEP`, `SQL`, `SQL_PROXY`, `SWITCH`, `Scriban`, `TRACK_FOR_REMOVAL`, `UPDATE_ITEM_STATUS`, `UPDATE_ITEM_SYNC_PROCESS`, `UPDATE_TASK_DATA_STATUS`, `VALUES`, `VERIFY_CACHED`, `WEBHOOK_FORWARD`\n\nRegistered but throwing (9): `Begin`, `Composite`, `End`, `GraphQL`, `Liquid`, `OData`, `QueryDSL`, `Restful`, `cURL`. Read their rejected forms and actual alternatives through the worker step index.\n\n## Frontend declaration vocabulary (23)\n`API`, `API_PROXY`, `BROWSER`, `FAIL`, `FORM`, `GATEWAY_API`, `GET_LOCAL_STORAGE`, `HEALTH_CHECK_WORKER`, `IF`, `INTEGRATION_APP_MANAGEMENT`, `JSONATA`, `LIQUID`, `MULTIPLE_CHOICE_FORM`, `READ_QUERIES`, `RECORDS_FORM`, `REDIRECT`, `RETURN`, `SELECT_GOOGLE_DRIVE`, `SET_LOCAL_STORAGE`, `SHOW_INFO`, `SINGLE_CHOICE_FORM`, `SWITCH`, `WAIT`\n\n## Transformation authoring vocabulary (12)\n`BulkClone`, `BulkRename`, `Clone`, `Jsonata`, `Nested_SQL`, `None`, `QUERY_MANY`, `QUERY_SINGLE`, `RESOLVE_RAW_DATA`, `Rename`, `SQL`, `Scriban`\n`None` is [disabled](hexasync://docs/transformations/TRANSFORMATIONS#none--disabled-versus-absent-discriminator). `RenameDependency` is [declared but unimplemented](hexasync://docs/transformations/TRANSFORMATIONS#renamedependency--declared-but-unimplemented) and is not an accepted authoring discriminator.\n\n## Supported validation vocabulary (23)\n`BETWEEN`, `CONTAIN`, `END_WITH`, `EQUAL`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `IN`, `IS_EMPTY`, `IS_NULL`, `LENGTH`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `MAX_LENGTH`, `MIN_LENGTH`, `NOT_CONTAIN`, `NOT_EMPTY`, `NOT_END_WITH`, `NOT_EQUAL`, `NOT_IN`, `NOT_NULL`, `NOT_START_WITH`, `REGEX`, `START_WITH`\nDeclaration-only members and datetime deployment prerequisites are explained on the validations page.\n\n## Builder DSL operators (35)\n`!=`, `<`, `<=`, `<>`, `=`, `>`, `>=`, `AND`, `BETWEEN`, `CONTAINS`, `ENDS_WITH`, `HAS_ALL_BITS`, `HAS_BITS`, `IN`, `ISNIL`, `ISNULL`, `IS_NIL`, `IS_NOT_NULL`, `IS_NULL`, `NIL`, `NNIL`, `NNULL`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_HAS_ALL_BITS`, `NOT_HAS_BITS`, `NOT_IN`, `NOT_NULL`, `NOT_REGEX`, `NOT_STARTS_WITH`, `NULL`, `OR`, `REGEX`, `STARTS_WITH`, `^LAST_[+-]?[0-9]+_[A-Za-z]+$`\n\n## Builder DSL operand kinds (5)\n`ARG`, `FIELD`, `PARAM`, `QUERY`, `VALUE`\nAPI Filter DSL has its own predicate vocabulary, request envelope and bit-mask semantics; do not substitute Builder syntax.\n\n## Editor/CLI diagnostic rule IDs (79)\n`API-1`, `API-2`, `ARG-1`, `ARG-2`, `ARG-3`, `ARG-4`, `ARG-5`, `ARG-6`, `ARG-7`, `COL-1`, `CONN-0`, `CONN-1`, `CONN-2`, `CONN-3`, `CONN-4`, `CONN-5`, `CTX-1`, `CTX-2`, `CTX-3`, `DEP-1`, `DRIFT-1`, `DUP-1`, `DUP-3`, `DUP-4`, `DUP-5`, `FFE-0`, `FFE-1`, `FFE-10`, `FFE-11`, `FFE-12`, `FFE-13`, `FFE-14`, `FFE-2`, `FFE-3`, `FFE-4`, `FFE-5`, `FFE-6`, `FFE-7`, `FFE-8`, `FFE-9`, `FLOW-3`, `FLOW-4`, `FLOW-5`, `FLOW-6`, `FLOW-7`, `FLOW-8`, `MDI-1`, `OVW-1`, `PLK-1`, `PLK-2`, `QDSL-1`, `REF-1`, `REF-13`, `REF-15`, `REF-16`, `REF-2`, `REF-3`, `REF-5`, `REF-6`, `REF-7`, `REF-9`, `REF-K1`, `REF-K2`, `RET-1`, `STEP-1`, `STEP-2`, `STEP-3`, `TBL-1`, `TBL-2`, `TBL-3`, `TBL-4`, `TBL-5`, `TBL-6`, `TBL-7`, `UNIMP-1`, `VAR-1`, `VAR-2`, `VAR-3`, `VAR-4`\nUse `hexasync_explain_rule` for diagnostic meaning and consequences.\n\n## Catalog systems with connector codes (16)\n- KiotViet — `kiotviet`\n- Lazada — `lazada`\n- Lightspeed X Series — `lightspeed-x-series`\n- Misa AMIS RPA — `misa-amis-frontend`\n- Misa AMIS — `misa-amis`\n- Sapo Omni V3 — `sapo-omni-v3`\n- Shopee — `shopee`\n- Shopify Custom App — `shopify-custom-app`\n- Shopify — `shopify-public-app`\n- Shopline Private App — `shopline-private-app`\n- Shopline — `shopline`\n- TikTok Shop (Gateway V3) — `tiktokshop`\n- TikTok Shop — `tiktokshop`\n- WooCommerce — `woocommerce`\n- Xero — `v2/xero`\n- Zalo — `zalo`\n\n## Catalog systems without a supported connector code (8)\n- Anchanto OMS (SelluSeller)\n- Brightpearl\n- Lightspeed X Series (Gateway V2)\n- MeInvoice\n- Packhai OMS\n- Wix\n- Zendesk\n- Zoho Desk\nCatalog presence does not create an executable connector or an authentication scheme.\n\n## Actual MCP retrieval\n\n- `resources/list` and `resources/read` expose the component pages and shipped schema data without a private source checkout.\n- `hexasync_explain_type` reads [step inputs](hexasync://assets/steps/inputs.json) and [step results](hexasync://assets/steps/outputs.json); read the component page for conditional output branches.\n- `hexasync_explain_position` describes the static authoring position; use the context page for host/stage availability.\n- `hexasync_search_examples` reads [1299 authored YAML examples](hexasync://assets/docs/examples.json), including their surrounding explanation and component page. Fragments are not necessarily complete profiles or successful-input examples. Connector identity is not guessed.\n- `hexasync_list_connectors` reads the [connector catalog](hexasync://assets/connectors/catalog.json); use existing workspace identities rather than inventing IDs.\n- This server never calls the gateway. Webhook resources, captured deliveries and replay are tools of the separately signed-in hosted Gateway MCP; read the [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS#gateway-mcp-webhook-workflow) before asking the user.\n- [Root schema](hexasync://assets/main.json) reaches component item contracts. The [full knowledge index](hexasync://index) is the navigation entry.\n"
|
|
2366
|
+
"text": "<!-- GENERATED KNOWLEDGE INDEX — DO NOT EDIT. Run `yarn ai:index`. -->\n# HexaSync Profile Template Knowledge Base\n\n**Asset bundle 115 · extension 2612.3.4.**\n\n## Authoring boundaries\n\n- Worker Workflow steps and frontend creation/setup steps are different domains. Shared names do not make their payloads or execution interchangeable.\n- For grouped frontend `getReadyFlows`, start with [Frontend workflows](hexasync://docs/frontend/FRONTEND-FLOWS); flow `key` and `dependsOn` references match `^[A-Z][A-Z0-9_]*$` with at most 128 characters. Use `runtime: frontend` for type lookup and `frontend-step` for expression position. Omitted runtime keeps worker meaning.\n- Use actual existing component and provider identities. Resolution and unresolved outcomes belong to each component contract.\n- Context roots depend on the workflow host and execution stage. A legal authoring root is not a promise that it exists at entry.\n- Examples explain inputs, prerequisites and expected effects.\n- This index is a retrieval map. Read the linked component page for defaults, precedence, variants and failure behavior.\n\n## Component pages\n\n| question | reference |\n| --- | --- |\n| root collections, identities and includes | [Profile root](hexasync://docs/PROFILE-ROOT) |\n| frontend creation/setup/authorization steps and connector definitions | [Frontend steps](hexasync://docs/PROFILE-ROOT/profile-root-fields-1/frontend-steps-creationsteps-setupsteps-authorizationsteps), [Connector definition](hexasync://docs/PROFILE-ROOT/profile-root-fields-1/connector-definition-document) |\n| 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](hexasync://docs/frontend/FRONTEND-FLOWS) |\n| save task/reference row changes, preview, health, repair, per-row outcomes and coded refusals; unreleased worker.proxy PR #78 deployment gate | [Data routes](hexasync://docs/frontend/FRONTEND-FLOWS/task-and-reference-data-changes), [RECORDS_FORM change set](hexasync://docs/frontend/FRONTEND-FLOWS/records_form/records_form-change-set-path), [File import](hexasync://docs/frontend/FRONTEND-FLOWS/records_form/file-import-path) |\n| Workflow selection, envelope, argument placement and flags | [Step envelope](hexasync://docs/steps/STEP-ENVELOPE) |\n| host/stage context, Scriban, JSONata and expression call sites | [Expressions and context](hexasync://docs/expressions/CONTEXT-AND-IO) |\n| next targets, branches, termination and loop guards | [Routing](hexasync://docs/routing/NEXT) |\n| response parsers and site-specific result handling | [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS) |\n| Builder DSL versus API Filter DSL; v2 next/prev cursors, invalid_cursor and single-page VALUE MAX/MIN | [QueryDSL](hexasync://docs/query-dsl/QUERY-DSL), [Entity V2 cursors](hexasync://docs/query-dsl/QUERY-DSL/filter-dsl-language-contract/filter-request-envelope#entity-v2-flat-fields-and-working-cursors) |\n| connection binding, options, auth and HTTP request builders | [Connections](hexasync://docs/connections/CONNECTIONS), [API](hexasync://docs/steps/API) |\n| self connector identity (`**SelfConnectorProviderId**`, `IS_SELF_CONNECTOR`) and why `CONN-1` names it | [The self connector](hexasync://docs/connections/CONNECTIONS/the-self-connector#its-identity-and-why-conn-1-names-it) |\n| pulling, pushing, ingress and startup hosts | [Pullers](hexasync://docs/pullers/PULLERS), [Pushers](hexasync://docs/pushers/PUSHERS), [Webhooks](hexasync://docs/webhooks/WEBHOOKS), [Startup](hexasync://docs/startupTasks/STARTUP-TASKS) |\n| creating/binding gateway webhooks, captured delivery payloads as samples, replay limits, hosted Gateway MCP sign-in | [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow) |\n| How do I decide incremental vs full pull for an entity, validate its watermark, resume and terminate safely, classify API failures, and reconcile deletions? | [Puller completeness contract](hexasync://docs/pullers/PULLERS/puller-completeness-contract), [Entity classification](hexasync://docs/pullers/PULLERS/entity-classification) |\n| endpoint filter/anchor/page-size facts, watermark boundary inclusivity, timezone and overlap, natural-key ordering and ties, request budget and 429 handling | [Earn endpoint request facts](hexasync://docs/pullers/PULLERS/puller-completeness-contract#earn-endpoint-request-facts), [Watermark boundary validation](hexasync://docs/pullers/PULLERS/puller-completeness-contract#watermark-boundary-validation), [Natural-key ordering and ties](hexasync://docs/pullers/PULLERS/puller-completeness-contract#natural-key-ordering-and-ties), [Request budget and throttling](hexasync://docs/pullers/PULLERS/puller-completeness-contract#request-budget-and-throttling) |\n| 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](hexasync://docs/pullers/PULLERS/puller-completeness-contract#deletion-reconciliation-through-a-periodic-full-run), [One schedule per job type](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#one-schedule-per-job-type), [Periodic processing through a trigger task](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#periodic-processing-through-a-trigger-task), [Choosing pull and enqueue cadence](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#choosing-pull-and-enqueue-cadence) |\n| mapping API/event members to snake_case columns before saving, explicit destination bodies | [Explicit field mapping](hexasync://docs/steps/SAVE_TASK_DATA#explicit-field-mapping), [Explicit mapping for push](hexasync://docs/transformations/TRANSFORMATIONS/explicit-mapping-for-push) |\n| classifying HTTP status, thrown calls and invalid envelopes into one error code without one step per error class | [Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once) |\n| several vendor accounts, credential scope per connection, shared provider quota | [One connection, one credential scope](hexasync://docs/connections/CONNECTIONS/one-connection-one-credential-scope) |\n| webhook signature, raw body, acknowledgement, multi-event deliveries, partial payloads, registration health | [Provider webhook authoring standards](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow#provider-webhook-authoring-standards), [Worked sample](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow#worked-sample-a-signed-credential-scope-delivery) |\n| immediate startup pull, scheduler setup and first-reconcile defaults | [Typed scheduler](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata), [Legacy scheduler initialization](hexasync://docs/startupTasks/STARTUP-TASKS/legacy-target-tasks#legacy-scheduler-initialization), [Dashboard versus execution](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#dashboard-presentation-versus-execution) |\n| task binding, dependency gates and physical storage | [Objects](hexasync://docs/objects/object), [Associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS), [Dependencies](hexasync://docs/dependencies/DEPENDENCIES), [Tasks](hexasync://docs/tasks/TASKS-AND-TABLES), [Tables](hexasync://docs/tables/TABLES) |\n| transformation order, item context, abort/no-op and executor outcomes | [Transformation chain](hexasync://docs/transformations/TRANSFORMATIONS/transformation-chain-contract) |\n| stored SQL validity versus per-item diagnostics | [Validations](hexasync://docs/validations/VALIDATIONS) |\n| metric readers, handlers, scoring and reports | [Metrics](hexasync://docs/metrics/METRICS_REFERENCE), [Reports](hexasync://docs/reports/REPORTS) |\n| one worker executor and its alternatives | [Worker step index](hexasync://docs/steps/INDEX) |\n\n## Collections: root declaration shapes\n\n- `connectors` — array of connections/connection\n- `contributors` — array of contributor\n- `dependencies` — array of dependencies/dependency\n- `externals` — array of externals\n- `metricGroups` — array of metrics/metricGroup\n- `objectAssociations` — map of objectAssociations/objectAssociation\n- `objects` — array of objects/object\n- `pullers` — array of pullers/puller\n- `pushers` — array of pushers/pusher\n- `reports` — array of reports/report\n- `startupTasks` — array of startupTasks/startupTask\n- `tables` — array of tables/table\n- `transformations` — map of arrays of transformations/transformation\n- `validations` — map of arrays of validations/validation\n- `webhooks` — array of webhooks/Webhook\n\n## Worker executable authoring choices (42)\n`API`, `BASE64_TO_MIME_TYPE`, `CACHE`, `CHECK_FORMAT`, `DIRECT_INDEX`, `DOWNLOAD_CSV`, `ENQUEUER`, `EXCEL_READER`, `EXCEPTION`, `Error`, `FORWARD`, `GET_KEY_VALUE`, `IF`, `IGNORE_ITEM`, `INVALIDATE_CACHE`, `JSONata`, `LOOKUP_STEP`, `METRIC_QUERY`, `PUBLISH_EVENT`, `PULLER`, `PUSHER`, `QUERY_MANY`, `QUERY_METRICS`, `QUERY_SINGLE`, `REMOVE_DATA`, `RESET_ITEM`, `RESOLVE_RAW_DATA`, `SAVE_TASK_DATA`, `SEED_DATA`, `SET_KEY_VALUE`, `SLEEP`, `SQL`, `SQL_PROXY`, `SWITCH`, `Scriban`, `TRACK_FOR_REMOVAL`, `UPDATE_ITEM_STATUS`, `UPDATE_ITEM_SYNC_PROCESS`, `UPDATE_TASK_DATA_STATUS`, `VALUES`, `VERIFY_CACHED`, `WEBHOOK_FORWARD`\n\nRegistered but throwing (9): `Begin`, `Composite`, `End`, `GraphQL`, `Liquid`, `OData`, `QueryDSL`, `Restful`, `cURL`. Read their rejected forms and actual alternatives through the worker step index.\n\n## Frontend declaration vocabulary (23)\n`API`, `API_PROXY`, `BROWSER`, `FAIL`, `FORM`, `GATEWAY_API`, `GET_LOCAL_STORAGE`, `HEALTH_CHECK_WORKER`, `IF`, `INTEGRATION_APP_MANAGEMENT`, `JSONATA`, `LIQUID`, `MULTIPLE_CHOICE_FORM`, `READ_QUERIES`, `RECORDS_FORM`, `REDIRECT`, `RETURN`, `SELECT_GOOGLE_DRIVE`, `SET_LOCAL_STORAGE`, `SHOW_INFO`, `SINGLE_CHOICE_FORM`, `SWITCH`, `WAIT`\n\n## Transformation authoring vocabulary (12)\n`BulkClone`, `BulkRename`, `Clone`, `Jsonata`, `Nested_SQL`, `None`, `QUERY_MANY`, `QUERY_SINGLE`, `RESOLVE_RAW_DATA`, `Rename`, `SQL`, `Scriban`\n`None` is [disabled](hexasync://docs/transformations/TRANSFORMATIONS/none--disabled-versus-absent-discriminator). `RenameDependency` is [declared but unimplemented](hexasync://docs/transformations/TRANSFORMATIONS/renamedependency--declared-but-unimplemented) and is not an accepted authoring discriminator.\n\n## Supported validation vocabulary (23)\n`BETWEEN`, `CONTAIN`, `END_WITH`, `EQUAL`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `IN`, `IS_EMPTY`, `IS_NULL`, `LENGTH`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `MAX_LENGTH`, `MIN_LENGTH`, `NOT_CONTAIN`, `NOT_EMPTY`, `NOT_END_WITH`, `NOT_EQUAL`, `NOT_IN`, `NOT_NULL`, `NOT_START_WITH`, `REGEX`, `START_WITH`\nDeclaration-only members and datetime deployment prerequisites are explained on the validations page.\n\n## Builder DSL operators (35)\n`!=`, `<`, `<=`, `<>`, `=`, `>`, `>=`, `AND`, `BETWEEN`, `CONTAINS`, `ENDS_WITH`, `HAS_ALL_BITS`, `HAS_BITS`, `IN`, `ISNIL`, `ISNULL`, `IS_NIL`, `IS_NOT_NULL`, `IS_NULL`, `NIL`, `NNIL`, `NNULL`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_HAS_ALL_BITS`, `NOT_HAS_BITS`, `NOT_IN`, `NOT_NULL`, `NOT_REGEX`, `NOT_STARTS_WITH`, `NULL`, `OR`, `REGEX`, `STARTS_WITH`, `^LAST_[+-]?[0-9]+_[A-Za-z]+$`\n\n## Builder DSL operand kinds (5)\n`ARG`, `FIELD`, `PARAM`, `QUERY`, `VALUE`\nAPI Filter DSL has its own predicate vocabulary, request envelope and bit-mask semantics; do not substitute Builder syntax.\n\n## Editor/CLI diagnostic rule IDs (79)\n`API-1`, `API-2`, `ARG-1`, `ARG-2`, `ARG-3`, `ARG-4`, `ARG-5`, `ARG-6`, `ARG-7`, `COL-1`, `CONN-0`, `CONN-1`, `CONN-2`, `CONN-3`, `CONN-4`, `CONN-5`, `CTX-1`, `CTX-2`, `CTX-3`, `DEP-1`, `DRIFT-1`, `DUP-1`, `DUP-3`, `DUP-4`, `DUP-5`, `FFE-0`, `FFE-1`, `FFE-10`, `FFE-11`, `FFE-12`, `FFE-13`, `FFE-14`, `FFE-2`, `FFE-3`, `FFE-4`, `FFE-5`, `FFE-6`, `FFE-7`, `FFE-8`, `FFE-9`, `FLOW-3`, `FLOW-4`, `FLOW-5`, `FLOW-6`, `FLOW-7`, `FLOW-8`, `MDI-1`, `OVW-1`, `PLK-1`, `PLK-2`, `QDSL-1`, `REF-1`, `REF-13`, `REF-15`, `REF-16`, `REF-2`, `REF-3`, `REF-5`, `REF-6`, `REF-7`, `REF-9`, `REF-K1`, `REF-K2`, `RET-1`, `STEP-1`, `STEP-2`, `STEP-3`, `TBL-1`, `TBL-2`, `TBL-3`, `TBL-4`, `TBL-5`, `TBL-6`, `TBL-7`, `UNIMP-1`, `VAR-1`, `VAR-2`, `VAR-3`, `VAR-4`\nUse `hexasync_explain_rule` for diagnostic meaning and consequences.\n\n## Catalog systems with connector codes (16)\n- KiotViet — `kiotviet`\n- Lazada — `lazada`\n- Lightspeed X Series — `lightspeed-x-series`\n- Misa AMIS RPA — `misa-amis-frontend`\n- Misa AMIS — `misa-amis`\n- Sapo Omni V3 — `sapo-omni-v3`\n- Shopee — `shopee`\n- Shopify Custom App — `shopify-custom-app`\n- Shopify — `shopify-public-app`\n- Shopline Private App — `shopline-private-app`\n- Shopline — `shopline`\n- TikTok Shop (Gateway V3) — `tiktokshop`\n- TikTok Shop — `tiktokshop`\n- WooCommerce — `woocommerce`\n- Xero — `v2/xero`\n- Zalo — `zalo`\n\n## Catalog systems without a supported connector code (8)\n- Anchanto OMS (SelluSeller)\n- Brightpearl\n- Lightspeed X Series (Gateway V2)\n- MeInvoice\n- Packhai OMS\n- Wix\n- Zendesk\n- Zoho Desk\nCatalog presence does not create an executable connector or an authentication scheme.\n\n## Actual MCP retrieval\n\n- `resources/list` and `resources/read` expose the component pages and shipped schema data without a private source checkout.\n- `hexasync_explain_type` reads [step inputs](hexasync://assets/steps/inputs.json) and [step results](hexasync://assets/steps/outputs.json); read the component page for conditional output branches.\n- `hexasync_explain_position` describes the static authoring position; use the context page for host/stage availability.\n- `hexasync_search_examples` reads [1299 authored YAML examples](hexasync://assets/docs/examples.json), including their surrounding explanation and component page. Fragments are not necessarily complete profiles or successful-input examples. Connector identity is not guessed.\n- `hexasync_list_connectors` reads the [connector catalog](hexasync://assets/connectors/catalog.json); use existing workspace identities rather than inventing IDs.\n- This server never calls the gateway. Webhook resources, captured deliveries and replay are tools of the separately signed-in hosted Gateway MCP; read the [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow) before asking the user.\n- [Root schema](hexasync://assets/main.json) reaches component item contracts. The [full knowledge index](hexasync://index) is the navigation entry.\n",
|
|
2367
|
+
"canonicalAssetText": "<!-- GENERATED KNOWLEDGE INDEX — DO NOT EDIT. Run `yarn ai:index`. -->\n# HexaSync Profile Template Knowledge Base\n\n**Asset bundle 115 · extension 2612.3.4.**\n\n## Authoring boundaries\n\n- Worker Workflow steps and frontend creation/setup steps are different domains. Shared names do not make their payloads or execution interchangeable.\n- For grouped frontend `getReadyFlows`, start with [Frontend workflows](hexasync://docs/frontend/FRONTEND-FLOWS); flow `key` and `dependsOn` references match `^[A-Z][A-Z0-9_]*$` with at most 128 characters. Use `runtime: frontend` for type lookup and `frontend-step` for expression position. Omitted runtime keeps worker meaning.\n- Use actual existing component and provider identities. Resolution and unresolved outcomes belong to each component contract.\n- Context roots depend on the workflow host and execution stage. A legal authoring root is not a promise that it exists at entry.\n- Examples explain inputs, prerequisites and expected effects.\n- This index is a retrieval map. Read the linked component page for defaults, precedence, variants and failure behavior.\n\n## Component pages\n\n| question | reference |\n| --- | --- |\n| root collections, identities and includes | [Profile root](hexasync://docs/PROFILE-ROOT) |\n| frontend creation/setup/authorization steps and connector definitions | [Frontend steps](hexasync://docs/PROFILE-ROOT#frontend-steps-creationsteps-setupsteps-authorizationsteps), [Connector definition](hexasync://docs/PROFILE-ROOT#connector-definition-document) |\n| 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](hexasync://docs/frontend/FRONTEND-FLOWS) |\n| save task/reference row changes, preview, health, repair, per-row outcomes and coded refusals; unreleased worker.proxy PR #78 deployment gate | [Data routes](hexasync://docs/frontend/FRONTEND-FLOWS#task-and-reference-data-changes), [RECORDS_FORM change set](hexasync://docs/frontend/FRONTEND-FLOWS#records_form-change-set-path), [File import](hexasync://docs/frontend/FRONTEND-FLOWS#file-import-path) |\n| Workflow selection, envelope, argument placement and flags | [Step envelope](hexasync://docs/steps/STEP-ENVELOPE) |\n| host/stage context, Scriban, JSONata and expression call sites | [Expressions and context](hexasync://docs/expressions/CONTEXT-AND-IO) |\n| next targets, branches, termination and loop guards | [Routing](hexasync://docs/routing/NEXT) |\n| response parsers and site-specific result handling | [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS) |\n| Builder DSL versus API Filter DSL; v2 next/prev cursors, invalid_cursor and single-page VALUE MAX/MIN | [QueryDSL](hexasync://docs/query-dsl/QUERY-DSL), [Entity V2 cursors](hexasync://docs/query-dsl/QUERY-DSL#entity-v2-flat-fields-and-working-cursors) |\n| connection binding, options, auth and HTTP request builders | [Connections](hexasync://docs/connections/CONNECTIONS), [API](hexasync://docs/steps/API) |\n| self connector identity (`**SelfConnectorProviderId**`, `IS_SELF_CONNECTOR`) and why `CONN-1` names it | [The self connector](hexasync://docs/connections/CONNECTIONS#its-identity-and-why-conn-1-names-it) |\n| pulling, pushing, ingress and startup hosts | [Pullers](hexasync://docs/pullers/PULLERS), [Pushers](hexasync://docs/pushers/PUSHERS), [Webhooks](hexasync://docs/webhooks/WEBHOOKS), [Startup](hexasync://docs/startupTasks/STARTUP-TASKS) |\n| creating/binding gateway webhooks, captured delivery payloads as samples, replay limits, hosted Gateway MCP sign-in | [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS#gateway-mcp-webhook-workflow) |\n| How do I decide incremental vs full pull for an entity, validate its watermark, resume and terminate safely, classify API failures, and reconcile deletions? | [Puller completeness contract](hexasync://docs/pullers/PULLERS#puller-completeness-contract), [Entity classification](hexasync://docs/pullers/PULLERS#entity-classification) |\n| endpoint filter/anchor/page-size facts, watermark boundary inclusivity, timezone and overlap, natural-key ordering and ties, request budget and 429 handling | [Earn endpoint request facts](hexasync://docs/pullers/PULLERS#earn-endpoint-request-facts), [Watermark boundary validation](hexasync://docs/pullers/PULLERS#watermark-boundary-validation), [Natural-key ordering and ties](hexasync://docs/pullers/PULLERS#natural-key-ordering-and-ties), [Request budget and throttling](hexasync://docs/pullers/PULLERS#request-budget-and-throttling) |\n| 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](hexasync://docs/pullers/PULLERS#deletion-reconciliation-through-a-periodic-full-run), [One schedule per job type](hexasync://docs/startupTasks/STARTUP-TASKS#one-schedule-per-job-type), [Periodic processing through a trigger task](hexasync://docs/startupTasks/STARTUP-TASKS#periodic-processing-through-a-trigger-task), [Choosing pull and enqueue cadence](hexasync://docs/startupTasks/STARTUP-TASKS#choosing-pull-and-enqueue-cadence) |\n| mapping API/event members to snake_case columns before saving, explicit destination bodies | [Explicit field mapping](hexasync://docs/steps/SAVE_TASK_DATA#explicit-field-mapping), [Explicit mapping for push](hexasync://docs/transformations/TRANSFORMATIONS#explicit-mapping-for-push) |\n| classifying HTTP status, thrown calls and invalid envelopes into one error code without one step per error class | [Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once) |\n| several vendor accounts, credential scope per connection, shared provider quota | [One connection, one credential scope](hexasync://docs/connections/CONNECTIONS#one-connection-one-credential-scope) |\n| webhook signature, raw body, acknowledgement, multi-event deliveries, partial payloads, registration health | [Provider webhook authoring standards](hexasync://docs/webhooks/WEBHOOKS#provider-webhook-authoring-standards), [Worked sample](hexasync://docs/webhooks/WEBHOOKS#worked-sample-a-signed-credential-scope-delivery) |\n| immediate startup pull, scheduler setup and first-reconcile defaults | [Typed scheduler](hexasync://docs/startupTasks/STARTUP-TASKS#scheduler-metadata), [Legacy scheduler initialization](hexasync://docs/startupTasks/STARTUP-TASKS#legacy-scheduler-initialization), [Dashboard versus execution](hexasync://docs/startupTasks/STARTUP-TASKS#dashboard-presentation-versus-execution) |\n| task binding, dependency gates and physical storage | [Objects](hexasync://docs/objects/object), [Associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS), [Dependencies](hexasync://docs/dependencies/DEPENDENCIES), [Tasks](hexasync://docs/tasks/TASKS-AND-TABLES), [Tables](hexasync://docs/tables/TABLES) |\n| transformation order, item context, abort/no-op and executor outcomes | [Transformation chain](hexasync://docs/transformations/TRANSFORMATIONS#transformation-chain-contract) |\n| stored SQL validity versus per-item diagnostics | [Validations](hexasync://docs/validations/VALIDATIONS) |\n| metric readers, handlers, scoring and reports | [Metrics](hexasync://docs/metrics/METRICS_REFERENCE), [Reports](hexasync://docs/reports/REPORTS) |\n| one worker executor and its alternatives | [Worker step index](hexasync://docs/steps/INDEX) |\n\n## Collections: root declaration shapes\n\n- `connectors` — array of connections/connection\n- `contributors` — array of contributor\n- `dependencies` — array of dependencies/dependency\n- `externals` — array of externals\n- `metricGroups` — array of metrics/metricGroup\n- `objectAssociations` — map of objectAssociations/objectAssociation\n- `objects` — array of objects/object\n- `pullers` — array of pullers/puller\n- `pushers` — array of pushers/pusher\n- `reports` — array of reports/report\n- `startupTasks` — array of startupTasks/startupTask\n- `tables` — array of tables/table\n- `transformations` — map of arrays of transformations/transformation\n- `validations` — map of arrays of validations/validation\n- `webhooks` — array of webhooks/Webhook\n\n## Worker executable authoring choices (42)\n`API`, `BASE64_TO_MIME_TYPE`, `CACHE`, `CHECK_FORMAT`, `DIRECT_INDEX`, `DOWNLOAD_CSV`, `ENQUEUER`, `EXCEL_READER`, `EXCEPTION`, `Error`, `FORWARD`, `GET_KEY_VALUE`, `IF`, `IGNORE_ITEM`, `INVALIDATE_CACHE`, `JSONata`, `LOOKUP_STEP`, `METRIC_QUERY`, `PUBLISH_EVENT`, `PULLER`, `PUSHER`, `QUERY_MANY`, `QUERY_METRICS`, `QUERY_SINGLE`, `REMOVE_DATA`, `RESET_ITEM`, `RESOLVE_RAW_DATA`, `SAVE_TASK_DATA`, `SEED_DATA`, `SET_KEY_VALUE`, `SLEEP`, `SQL`, `SQL_PROXY`, `SWITCH`, `Scriban`, `TRACK_FOR_REMOVAL`, `UPDATE_ITEM_STATUS`, `UPDATE_ITEM_SYNC_PROCESS`, `UPDATE_TASK_DATA_STATUS`, `VALUES`, `VERIFY_CACHED`, `WEBHOOK_FORWARD`\n\nRegistered but throwing (9): `Begin`, `Composite`, `End`, `GraphQL`, `Liquid`, `OData`, `QueryDSL`, `Restful`, `cURL`. Read their rejected forms and actual alternatives through the worker step index.\n\n## Frontend declaration vocabulary (23)\n`API`, `API_PROXY`, `BROWSER`, `FAIL`, `FORM`, `GATEWAY_API`, `GET_LOCAL_STORAGE`, `HEALTH_CHECK_WORKER`, `IF`, `INTEGRATION_APP_MANAGEMENT`, `JSONATA`, `LIQUID`, `MULTIPLE_CHOICE_FORM`, `READ_QUERIES`, `RECORDS_FORM`, `REDIRECT`, `RETURN`, `SELECT_GOOGLE_DRIVE`, `SET_LOCAL_STORAGE`, `SHOW_INFO`, `SINGLE_CHOICE_FORM`, `SWITCH`, `WAIT`\n\n## Transformation authoring vocabulary (12)\n`BulkClone`, `BulkRename`, `Clone`, `Jsonata`, `Nested_SQL`, `None`, `QUERY_MANY`, `QUERY_SINGLE`, `RESOLVE_RAW_DATA`, `Rename`, `SQL`, `Scriban`\n`None` is [disabled](hexasync://docs/transformations/TRANSFORMATIONS#none--disabled-versus-absent-discriminator). `RenameDependency` is [declared but unimplemented](hexasync://docs/transformations/TRANSFORMATIONS#renamedependency--declared-but-unimplemented) and is not an accepted authoring discriminator.\n\n## Supported validation vocabulary (23)\n`BETWEEN`, `CONTAIN`, `END_WITH`, `EQUAL`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `IN`, `IS_EMPTY`, `IS_NULL`, `LENGTH`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `MAX_LENGTH`, `MIN_LENGTH`, `NOT_CONTAIN`, `NOT_EMPTY`, `NOT_END_WITH`, `NOT_EQUAL`, `NOT_IN`, `NOT_NULL`, `NOT_START_WITH`, `REGEX`, `START_WITH`\nDeclaration-only members and datetime deployment prerequisites are explained on the validations page.\n\n## Builder DSL operators (35)\n`!=`, `<`, `<=`, `<>`, `=`, `>`, `>=`, `AND`, `BETWEEN`, `CONTAINS`, `ENDS_WITH`, `HAS_ALL_BITS`, `HAS_BITS`, `IN`, `ISNIL`, `ISNULL`, `IS_NIL`, `IS_NOT_NULL`, `IS_NULL`, `NIL`, `NNIL`, `NNULL`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_HAS_ALL_BITS`, `NOT_HAS_BITS`, `NOT_IN`, `NOT_NULL`, `NOT_REGEX`, `NOT_STARTS_WITH`, `NULL`, `OR`, `REGEX`, `STARTS_WITH`, `^LAST_[+-]?[0-9]+_[A-Za-z]+$`\n\n## Builder DSL operand kinds (5)\n`ARG`, `FIELD`, `PARAM`, `QUERY`, `VALUE`\nAPI Filter DSL has its own predicate vocabulary, request envelope and bit-mask semantics; do not substitute Builder syntax.\n\n## Editor/CLI diagnostic rule IDs (79)\n`API-1`, `API-2`, `ARG-1`, `ARG-2`, `ARG-3`, `ARG-4`, `ARG-5`, `ARG-6`, `ARG-7`, `COL-1`, `CONN-0`, `CONN-1`, `CONN-2`, `CONN-3`, `CONN-4`, `CONN-5`, `CTX-1`, `CTX-2`, `CTX-3`, `DEP-1`, `DRIFT-1`, `DUP-1`, `DUP-3`, `DUP-4`, `DUP-5`, `FFE-0`, `FFE-1`, `FFE-10`, `FFE-11`, `FFE-12`, `FFE-13`, `FFE-14`, `FFE-2`, `FFE-3`, `FFE-4`, `FFE-5`, `FFE-6`, `FFE-7`, `FFE-8`, `FFE-9`, `FLOW-3`, `FLOW-4`, `FLOW-5`, `FLOW-6`, `FLOW-7`, `FLOW-8`, `MDI-1`, `OVW-1`, `PLK-1`, `PLK-2`, `QDSL-1`, `REF-1`, `REF-13`, `REF-15`, `REF-16`, `REF-2`, `REF-3`, `REF-5`, `REF-6`, `REF-7`, `REF-9`, `REF-K1`, `REF-K2`, `RET-1`, `STEP-1`, `STEP-2`, `STEP-3`, `TBL-1`, `TBL-2`, `TBL-3`, `TBL-4`, `TBL-5`, `TBL-6`, `TBL-7`, `UNIMP-1`, `VAR-1`, `VAR-2`, `VAR-3`, `VAR-4`\nUse `hexasync_explain_rule` for diagnostic meaning and consequences.\n\n## Catalog systems with connector codes (16)\n- KiotViet — `kiotviet`\n- Lazada — `lazada`\n- Lightspeed X Series — `lightspeed-x-series`\n- Misa AMIS RPA — `misa-amis-frontend`\n- Misa AMIS — `misa-amis`\n- Sapo Omni V3 — `sapo-omni-v3`\n- Shopee — `shopee`\n- Shopify Custom App — `shopify-custom-app`\n- Shopify — `shopify-public-app`\n- Shopline Private App — `shopline-private-app`\n- Shopline — `shopline`\n- TikTok Shop (Gateway V3) — `tiktokshop`\n- TikTok Shop — `tiktokshop`\n- WooCommerce — `woocommerce`\n- Xero — `v2/xero`\n- Zalo — `zalo`\n\n## Catalog systems without a supported connector code (8)\n- Anchanto OMS (SelluSeller)\n- Brightpearl\n- Lightspeed X Series (Gateway V2)\n- MeInvoice\n- Packhai OMS\n- Wix\n- Zendesk\n- Zoho Desk\nCatalog presence does not create an executable connector or an authentication scheme.\n\n## Actual MCP retrieval\n\n- `resources/list` and `resources/read` expose the component pages and shipped schema data without a private source checkout.\n- `hexasync_explain_type` reads [step inputs](hexasync://assets/steps/inputs.json) and [step results](hexasync://assets/steps/outputs.json); read the component page for conditional output branches.\n- `hexasync_explain_position` describes the static authoring position; use the context page for host/stage availability.\n- `hexasync_search_examples` reads [1299 authored YAML examples](hexasync://assets/docs/examples.json), including their surrounding explanation and component page. Fragments are not necessarily complete profiles or successful-input examples. Connector identity is not guessed.\n- `hexasync_list_connectors` reads the [connector catalog](hexasync://assets/connectors/catalog.json); use existing workspace identities rather than inventing IDs.\n- This server never calls the gateway. Webhook resources, captured deliveries and replay are tools of the separately signed-in hosted Gateway MCP; read the [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS#gateway-mcp-webhook-workflow) before asking the user.\n- [Root schema](hexasync://assets/main.json) reaches component item contracts. The [full knowledge index](hexasync://index) is the navigation entry.\n"
|
|
2368
2368
|
},
|
|
2369
2369
|
{
|
|
2370
2370
|
"uri": "hexasync://docs/connections/CONNECTIONS",
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
"linux-arm64-musl": "ef31914e76efa3eb798278a6af92028f465d5098bb968c6b303ca45b36005d6e",
|
|
6
6
|
"linux-x64-gnu": "b5c8ca78e045b2f0c67663889a21103027dd37cc351059d91804a6b2f53420b6",
|
|
7
7
|
"linux-x64-musl": "32e2f162245b4487ec3a1084d1452d56a9141c0c61110303f0ed4b6bc20e6d51",
|
|
8
|
-
"win32-arm64": "
|
|
9
|
-
"win32-x64": "
|
|
8
|
+
"win32-arm64": "d17a7c30349ff706715f3bf0a79152937cb5f8366fad0e4cb6b4b194f59331b8",
|
|
9
|
+
"win32-x64": "232677fbf880d18548c46c103b5250743df07cf2cca430078952cf233d15878c"
|
|
10
10
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"productId": "hexasync-template-ide",
|
|
4
|
-
"version": "2612.3.
|
|
5
|
-
"artifactDigest": "sha256:
|
|
6
|
-
"identity": "hexasync-template-ide@2612.3.
|
|
4
|
+
"version": "2612.3.4",
|
|
5
|
+
"artifactDigest": "sha256:e92311aeb68de4e3474f4b498281b4aea2a038e856d83f2543bdfde2d93cdb6e",
|
|
6
|
+
"identity": "hexasync-template-ide@2612.3.4#sha256:e92311aeb68de4e3474f4b498281b4aea2a038e856d83f2543bdfde2d93cdb6e"
|
|
7
7
|
}
|
package/dist/mcp/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";var Gz=Object.create;var pT=Object.defineProperty;var zz=Object.getOwnPropertyDescriptor;var Jz=Object.getOwnPropertyNames;var Xz=Object.getPrototypeOf,Zz=Object.prototype.hasOwnProperty;var q2=(e,n,t)=>()=>{if(t)throw t[0];try{return e&&(n=e(e=0)),n}catch(s){throw t=[s],s}};var ae=(e,n)=>()=>{try{return n||e((n={exports:{}}).exports,n),n.exports}catch(t){throw n=0,t}},Lc=(e,n)=>{for(var t in n)pT(e,t,{get:n[t],enumerable:!0})},e6=(e,n,t,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of Jz(n))!Zz.call(e,a)&&a!==t&&pT(e,a,{get:()=>n[a],enumerable:!(s=zz(n,a))||s.enumerable});return e};var Yt=(e,n,t)=>(t=e!=null?Gz(Xz(e)):{},e6(n||!e||!e.__esModule?pT(t,"default",{value:e,enumerable:!0}):t,e));var N,S=q2(()=>{N={"darwin-arm64":"f94cd5e1b65b71d35323419885084ee5d8f067c495650725181f90410565d459","darwin-x64":"d8303ce3bd266bb9e2753997081a669281184967891cd363160b0d0c9386f670","linux-arm64-gnu":"b78c34a8642d1daf559cfe0ef0cebd91498f110785ab6e511855c8cb44956ef8","linux-arm64-musl":"ef31914e76efa3eb798278a6af92028f465d5098bb968c6b303ca45b36005d6e","linux-x64-gnu":"b5c8ca78e045b2f0c67663889a21103027dd37cc351059d91804a6b2f53420b6","linux-x64-musl":"32e2f162245b4487ec3a1084d1452d56a9141c0c61110303f0ed4b6bc20e6d51","win32-arm64":"
|
|
2
|
+
"use strict";var Gz=Object.create;var pT=Object.defineProperty;var zz=Object.getOwnPropertyDescriptor;var Jz=Object.getOwnPropertyNames;var Xz=Object.getPrototypeOf,Zz=Object.prototype.hasOwnProperty;var q2=(e,n,t)=>()=>{if(t)throw t[0];try{return e&&(n=e(e=0)),n}catch(s){throw t=[s],s}};var ae=(e,n)=>()=>{try{return n||e((n={exports:{}}).exports,n),n.exports}catch(t){throw n=0,t}},Lc=(e,n)=>{for(var t in n)pT(e,t,{get:n[t],enumerable:!0})},e6=(e,n,t,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of Jz(n))!Zz.call(e,a)&&a!==t&&pT(e,a,{get:()=>n[a],enumerable:!(s=zz(n,a))||s.enumerable});return e};var Yt=(e,n,t)=>(t=e!=null?Gz(Xz(e)):{},e6(n||!e||!e.__esModule?pT(t,"default",{value:e,enumerable:!0}):t,e));var N,S=q2(()=>{N={"darwin-arm64":"f94cd5e1b65b71d35323419885084ee5d8f067c495650725181f90410565d459","darwin-x64":"d8303ce3bd266bb9e2753997081a669281184967891cd363160b0d0c9386f670","linux-arm64-gnu":"b78c34a8642d1daf559cfe0ef0cebd91498f110785ab6e511855c8cb44956ef8","linux-arm64-musl":"ef31914e76efa3eb798278a6af92028f465d5098bb968c6b303ca45b36005d6e","linux-x64-gnu":"b5c8ca78e045b2f0c67663889a21103027dd37cc351059d91804a6b2f53420b6","linux-x64-musl":"32e2f162245b4487ec3a1084d1452d56a9141c0c61110303f0ed4b6bc20e6d51","win32-arm64":"d17a7c30349ff706715f3bf0a79152937cb5f8366fad0e4cb6b4b194f59331b8","win32-x64":"232677fbf880d18548c46c103b5250743df07cf2cca430078952cf233d15878c"}});var j2,L,b=q2(()=>{"use strict";j2=require("node:url"),L=(0,j2.pathToFileURL)(__filename).href});var Un=ae(cs=>{"use strict";S();b();var wT=Symbol.for("yaml.alias"),TN=Symbol.for("yaml.document"),bf=Symbol.for("yaml.map"),RN=Symbol.for("yaml.pair"),OT=Symbol.for("yaml.scalar"),xf=Symbol.for("yaml.seq"),ar=Symbol.for("yaml.node.type"),M6=e=>!!e&&typeof e=="object"&&e[ar]===wT,q6=e=>!!e&&typeof e=="object"&&e[ar]===TN,j6=e=>!!e&&typeof e=="object"&&e[ar]===bf,Y6=e=>!!e&&typeof e=="object"&&e[ar]===RN,_N=e=>!!e&&typeof e=="object"&&e[ar]===OT,V6=e=>!!e&&typeof e=="object"&&e[ar]===xf;function AN(e){if(e&&typeof e=="object")switch(e[ar]){case bf:case xf:return!0}return!1}function $6(e){if(e&&typeof e=="object")switch(e[ar]){case wT:case bf:case OT:case xf:return!0}return!1}var Q6=e=>(_N(e)||AN(e))&&!!e.anchor;cs.ALIAS=wT;cs.DOC=TN;cs.MAP=bf;cs.NODE_TYPE=ar;cs.PAIR=RN;cs.SCALAR=OT;cs.SEQ=xf;cs.hasAnchor=Q6;cs.isAlias=M6;cs.isCollection=AN;cs.isDocument=q6;cs.isMap=j6;cs.isNode=$6;cs.isPair=Y6;cs.isScalar=_N;cs.isSeq=V6});var Lp=ae(kT=>{"use strict";S();b();var Bt=Un(),Js=Symbol("break visit"),wN=Symbol("skip children"),vo=Symbol("remove node");function Tf(e,n){let t=ON(n);Bt.isDocument(e)?Uc(null,e.contents,t,Object.freeze([e]))===vo&&(e.contents=null):Uc(null,e,t,Object.freeze([]))}Tf.BREAK=Js;Tf.SKIP=wN;Tf.REMOVE=vo;function Uc(e,n,t,s){let a=kN(e,n,t,s);if(Bt.isNode(a)||Bt.isPair(a))return vN(e,s,a),Uc(e,a,t,s);if(typeof a!="symbol"){if(Bt.isCollection(n)){s=Object.freeze(s.concat(n));for(let o=0;o<n.items.length;++o){let r=Uc(o,n.items[o],t,s);if(typeof r=="number")o=r-1;else{if(r===Js)return Js;r===vo&&(n.items.splice(o,1),o-=1)}}}else if(Bt.isPair(n)){s=Object.freeze(s.concat(n));let o=Uc("key",n.key,t,s);if(o===Js)return Js;o===vo&&(n.key=null);let r=Uc("value",n.value,t,s);if(r===Js)return Js;r===vo&&(n.value=null)}}return a}async function Rf(e,n){let t=ON(n);Bt.isDocument(e)?await Fc(null,e.contents,t,Object.freeze([e]))===vo&&(e.contents=null):await Fc(null,e,t,Object.freeze([]))}Rf.BREAK=Js;Rf.SKIP=wN;Rf.REMOVE=vo;async function Fc(e,n,t,s){let a=await kN(e,n,t,s);if(Bt.isNode(a)||Bt.isPair(a))return vN(e,s,a),Fc(e,a,t,s);if(typeof a!="symbol"){if(Bt.isCollection(n)){s=Object.freeze(s.concat(n));for(let o=0;o<n.items.length;++o){let r=await Fc(o,n.items[o],t,s);if(typeof r=="number")o=r-1;else{if(r===Js)return Js;r===vo&&(n.items.splice(o,1),o-=1)}}}else if(Bt.isPair(n)){s=Object.freeze(s.concat(n));let o=await Fc("key",n.key,t,s);if(o===Js)return Js;o===vo&&(n.key=null);let r=await Fc("value",n.value,t,s);if(r===Js)return Js;r===vo&&(n.value=null)}}return a}function ON(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function kN(e,n,t,s){if(typeof t=="function")return t(e,n,s);if(Bt.isMap(n))return t.Map?.(e,n,s);if(Bt.isSeq(n))return t.Seq?.(e,n,s);if(Bt.isPair(n))return t.Pair?.(e,n,s);if(Bt.isScalar(n))return t.Scalar?.(e,n,s);if(Bt.isAlias(n))return t.Alias?.(e,n,s)}function vN(e,n,t){let s=n[n.length-1];if(Bt.isCollection(s))s.items[e]=t;else if(Bt.isPair(s))e==="key"?s.key=t:s.value=t;else if(Bt.isDocument(s))s.contents=t;else{let a=Bt.isAlias(s)?"alias":"scalar";throw new Error(`Cannot replace node with ${a} parent`)}}kT.visit=Tf;kT.visitAsync=Rf});var vT=ae(NN=>{"use strict";S();b();var IN=Un(),W6=Lp(),H6={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},K6=e=>e.replace(/[!,[\]{}]/g,n=>H6[n]),Pp=class e{constructor(n,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,n),this.tags=Object.assign({},e.defaultTags,t)}clone(){let n=new e(this.yaml,this.tags);return n.docStart=this.docStart,n}atDocument(){let n=new e(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},e.defaultTags);break}return n}add(n,t){this.atNextDocument&&(this.yaml={explicit:e.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},e.defaultTags),this.atNextDocument=!1);let s=n.trim().split(/[ \t]+/),a=s.shift();switch(a){case"%TAG":{if(s.length!==2&&(t(0,"%TAG directive should contain exactly two parts"),s.length<2))return!1;let[o,r]=s;return this.tags[o]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,s.length!==1)return t(0,"%YAML directive should contain exactly one part"),!1;let[o]=s;if(o==="1.1"||o==="1.2")return this.yaml.version=o,!0;{let r=/^\d+\.\d+$/.test(o);return t(6,`Unsupported YAML version ${o}`,r),!1}}default:return t(0,`Unknown directive ${a}`,!0),!1}}tagName(n,t){if(n==="!")return"!";if(n[0]!=="!")return t(`Not a valid tag: ${n}`),null;if(n[1]==="<"){let r=n.slice(2,-1);return r==="!"||r==="!!"?(t(`Verbatim tags aren't resolved, so ${n} is invalid.`),null):(n[n.length-1]!==">"&&t("Verbatim tags must end with a >"),r)}let[,s,a]=n.match(/^(.*!)([^!]*)$/s);a||t(`The ${n} tag has no suffix`);let o=this.tags[s];if(o)try{return o+decodeURIComponent(a)}catch(r){return t(String(r)),null}return s==="!"?n:(t(`Could not resolve tag: ${n}`),null)}tagString(n){for(let[t,s]of Object.entries(this.tags))if(n.startsWith(s))return t+K6(n.substring(s.length));return n[0]==="!"?n:`!<${n}>`}toString(n){let t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],s=Object.entries(this.tags),a;if(n&&s.length>0&&IN.isNode(n.contents)){let o={};W6.visit(n.contents,(r,i)=>{IN.isNode(i)&&i.tag&&(o[i.tag]=!0)}),a=Object.keys(o)}else a=[];for(let[o,r]of s)o==="!!"&&r==="tag:yaml.org,2002:"||(!n||a.some(i=>i.startsWith(r)))&&t.push(`%TAG ${o} ${r}`);return t.join(`
|
|
3
3
|
`)}};Pp.defaultYaml={explicit:!1,version:"1.2"};Pp.defaultTags={"!!":"tag:yaml.org,2002:"};NN.Directives=Pp});var _f=ae(Cp=>{"use strict";S();b();var LN=Un(),B6=Lp();function G6(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(t)}return!0}function PN(e){let n=new Set;return B6.visit(e,{Value(t,s){s.anchor&&n.add(s.anchor)}}),n}function CN(e,n){for(let t=1;;++t){let s=`${e}${t}`;if(!n.has(s))return s}}function z6(e,n){let t=[],s=new Map,a=null;return{onAnchor:o=>{t.push(o),a??(a=PN(e));let r=CN(n,a);return a.add(r),r},setAnchors:()=>{for(let o of t){let r=s.get(o);if(typeof r=="object"&&r.anchor&&(LN.isScalar(r.node)||LN.isCollection(r.node)))r.node.anchor=r.anchor;else{let i=new Error("Failed to resolve repeated object (this should not happen)");throw i.source=o,i}}},sourceObjects:s}}Cp.anchorIsValid=G6;Cp.anchorNames=PN;Cp.createNodeAnchors=z6;Cp.findNewAnchor=CN});var IT=ae(DN=>{"use strict";S();b();function Dp(e,n,t,s){if(s&&typeof s=="object")if(Array.isArray(s))for(let a=0,o=s.length;a<o;++a){let r=s[a],i=Dp(e,s,String(a),r);i===void 0?delete s[a]:i!==r&&(s[a]=i)}else if(s instanceof Map)for(let a of Array.from(s.keys())){let o=s.get(a),r=Dp(e,s,a,o);r===void 0?s.delete(a):r!==o&&s.set(a,r)}else if(s instanceof Set)for(let a of Array.from(s)){let o=Dp(e,s,a,a);o===void 0?s.delete(a):o!==a&&(s.delete(a),s.add(o))}else for(let[a,o]of Object.entries(s)){let r=Dp(e,s,a,o);r===void 0?delete s[a]:r!==o&&(s[a]=r)}return e.call(n,t,s)}DN.applyReviver=Dp});var zr=ae(FN=>{"use strict";S();b();var J6=Un();function UN(e,n,t){if(Array.isArray(e))return e.map((s,a)=>UN(s,String(a),t));if(e&&typeof e.toJSON=="function"){if(!t||!J6.hasAnchor(e))return e.toJSON(n,t);let s={aliasCount:0,count:1,res:void 0};t.anchors.set(e,s),t.onCreate=o=>{s.res=o,delete t.onCreate};let a=e.toJSON(n,t);return t.onCreate&&t.onCreate(a),a}return typeof e=="bigint"&&!t?.keep?Number(e):e}FN.toJS=UN});var Af=ae(qN=>{"use strict";S();b();var X6=IT(),MN=Un(),Z6=zr(),NT=class{constructor(n){Object.defineProperty(this,MN.NODE_TYPE,{value:n})}clone(){let n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(n.range=this.range.slice()),n}toJS(n,{mapAsMap:t,maxAliasCount:s,onAnchor:a,reviver:o}={}){if(!MN.isDocument(n))throw new TypeError("A document argument is required");let r={anchors:new Map,doc:n,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof s=="number"?s:100},i=Z6.toJS(this,"",r);if(typeof a=="function")for(let{count:d,res:c}of r.anchors.values())a(c,d);return typeof o=="function"?X6.applyReviver(o,{"":i},"",i):i}};qN.NodeBase=NT});var Up=ae(jN=>{"use strict";S();b();var e5=_f(),n5=Lp(),Mc=Un(),t5=Af(),s5=zr(),LT=class extends t5.NodeBase{constructor(n){super(Mc.ALIAS),this.source=n,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(n,t){if(t?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let s;t?.aliasResolveCache?s=t.aliasResolveCache:(s=[],n5.visit(n,{Node:(o,r)=>{(Mc.isAlias(r)||Mc.hasAnchor(r))&&s.push(r)}}),t&&(t.aliasResolveCache=s));let a;for(let o of s){if(o===this)break;o.anchor===this.source&&(a=o)}return a}toJSON(n,t){if(!t)return{source:this.source};let{anchors:s,doc:a,maxAliasCount:o}=t,r=this.resolve(a,t);if(!r){let d=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(d)}let i=s.get(r);if(i||(s5.toJS(r,null,t),i=s.get(r)),i?.res===void 0){let d="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(d)}if(o>=0&&(i.count+=1,i.aliasCount===0&&(i.aliasCount=wf(a,r,s)),i.count*i.aliasCount>o)){let d="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(d)}return i.res}toString(n,t,s){let a=`*${this.source}`;if(n){if(e5.anchorIsValid(this.source),n.options.verifyAliasOrder&&!n.anchors.has(this.source)){let o=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(o)}if(n.implicitKey)return`${a} `}return a}};function wf(e,n,t){if(Mc.isAlias(n)){let s=n.resolve(e),a=t&&s&&t.get(s);return a?a.count*a.aliasCount:0}else if(Mc.isCollection(n)){let s=0;for(let a of n.items){let o=wf(e,a,t);o>s&&(s=o)}return s}else if(Mc.isPair(n)){let s=wf(e,n.key,t),a=wf(e,n.value,t);return Math.max(s,a)}return 1}jN.Alias=LT});var Vt=ae(PT=>{"use strict";S();b();var a5=Un(),o5=Af(),r5=zr(),i5=e=>!e||typeof e!="function"&&typeof e!="object",Jr=class extends o5.NodeBase{constructor(n){super(a5.SCALAR),this.value=n}toJSON(n,t){return t?.keep?this.value:r5.toJS(this.value,n,t)}toString(){return String(this.value)}};Jr.BLOCK_FOLDED="BLOCK_FOLDED";Jr.BLOCK_LITERAL="BLOCK_LITERAL";Jr.PLAIN="PLAIN";Jr.QUOTE_DOUBLE="QUOTE_DOUBLE";Jr.QUOTE_SINGLE="QUOTE_SINGLE";PT.Scalar=Jr;PT.isScalarValue=i5});var Fp=ae(VN=>{"use strict";S();b();var d5=Up(),dd=Un(),YN=Vt(),c5="tag:yaml.org,2002:";function l5(e,n,t){if(n){let s=t.filter(o=>o.tag===n),a=s.find(o=>!o.format)??s[0];if(!a)throw new Error(`Tag ${n} not found`);return a}return t.find(s=>s.identify?.(e)&&!s.format)}function p5(e,n,t){if(dd.isDocument(e)&&(e=e.contents),dd.isNode(e))return e;if(dd.isPair(e)){let p=t.schema[dd.MAP].createNode?.(t.schema,null,t);return p.items.push(e),p}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:s,onAnchor:a,onTagObj:o,schema:r,sourceObjects:i}=t,d;if(s&&e&&typeof e=="object"){if(d=i.get(e),d)return d.anchor??(d.anchor=a(e)),new d5.Alias(d.anchor);d={anchor:null,node:null},i.set(e,d)}n?.startsWith("!!")&&(n=c5+n.slice(2));let c=l5(e,n,r.tags);if(!c){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){let p=new YN.Scalar(e);return d&&(d.node=p),p}c=e instanceof Map?r[dd.MAP]:Symbol.iterator in Object(e)?r[dd.SEQ]:r[dd.MAP]}o&&(o(c),delete t.onTagObj);let l=c?.createNode?c.createNode(t.schema,e,t):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(t.schema,e,t):new YN.Scalar(e);return n?l.tag=n:c.default||(l.tag=c.tag),d&&(d.node=l),l}VN.createNode=p5});var kf=ae(Of=>{"use strict";S();b();var u5=Fp(),Io=Un(),h5=Af();function CT(e,n,t){let s=t;for(let a=n.length-1;a>=0;--a){let o=n[a];if(typeof o=="number"&&Number.isInteger(o)&&o>=0){let r=[];r[o]=s,s=r}else s=new Map([[o,s]])}return u5.createNode(s,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}var $N=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done,DT=class extends h5.NodeBase{constructor(n,t){super(n),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(n){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return n&&(t.schema=n),t.items=t.items.map(s=>Io.isNode(s)||Io.isPair(s)?s.clone(n):s),this.range&&(t.range=this.range.slice()),t}addIn(n,t){if($N(n))this.add(t);else{let[s,...a]=n,o=this.get(s,!0);if(Io.isCollection(o))o.addIn(a,t);else if(o===void 0&&this.schema)this.set(s,CT(this.schema,a,t));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${a}`)}}deleteIn(n){let[t,...s]=n;if(s.length===0)return this.delete(t);let a=this.get(t,!0);if(Io.isCollection(a))return a.deleteIn(s);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${s}`)}getIn(n,t){let[s,...a]=n,o=this.get(s,!0);return a.length===0?!t&&Io.isScalar(o)?o.value:o:Io.isCollection(o)?o.getIn(a,t):void 0}hasAllNullValues(n){return this.items.every(t=>{if(!Io.isPair(t))return!1;let s=t.value;return s==null||n&&Io.isScalar(s)&&s.value==null&&!s.commentBefore&&!s.comment&&!s.tag})}hasIn(n){let[t,...s]=n;if(s.length===0)return this.has(t);let a=this.get(t,!0);return Io.isCollection(a)?a.hasIn(s):!1}setIn(n,t){let[s,...a]=n;if(a.length===0)this.set(s,t);else{let o=this.get(s,!0);if(Io.isCollection(o))o.setIn(a,t);else if(o===void 0&&this.schema)this.set(s,CT(this.schema,a,t));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${a}`)}}};Of.Collection=DT;Of.collectionFromPath=CT;Of.isEmptyPath=$N});var Mp=ae(vf=>{"use strict";S();b();var m5=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function UT(e,n){return/^\n+$/.test(e)?e.substring(1):n?e.replace(/^(?! *$)/gm,n):e}var f5=(e,n,t)=>e.endsWith(`
|
|
4
4
|
`)?UT(t,n):t.includes(`
|
|
5
5
|
`)?`
|
|
@@ -82269,7 +82269,7 @@ A reused language or component has one canonical explanation. Follow the interna
|
|
|
82269
82269
|
}
|
|
82270
82270
|
}
|
|
82271
82271
|
}
|
|
82272
|
-
`},{uri:"hexasync://docs/AI-INDEX",name:"docs/AI-INDEX",title:"HexaSync Profile Template Knowledge Base",description:"Asset bundle 115 \xB7 extension 2612.3.2.",mimeType:"text/markdown",text:"<!-- GENERATED KNOWLEDGE INDEX \u2014 DO NOT EDIT. Run `yarn ai:index`. -->\n# HexaSync Profile Template Knowledge Base\n\n**Asset bundle 115 \xB7 extension 2612.3.2.**\n\n## Authoring boundaries\n\n- Worker Workflow steps and frontend creation/setup steps are different domains. Shared names do not make their payloads or execution interchangeable.\n- For grouped frontend `getReadyFlows`, start with [Frontend workflows](hexasync://docs/frontend/FRONTEND-FLOWS); flow `key` and `dependsOn` references match `^[A-Z][A-Z0-9_]*$` with at most 128 characters. Use `runtime: frontend` for type lookup and `frontend-step` for expression position. Omitted runtime keeps worker meaning.\n- Use actual existing component and provider identities. Resolution and unresolved outcomes belong to each component contract.\n- Context roots depend on the workflow host and execution stage. A legal authoring root is not a promise that it exists at entry.\n- Examples explain inputs, prerequisites and expected effects.\n- This index is a retrieval map. Read the linked component page for defaults, precedence, variants and failure behavior.\n\n## Component pages\n\n| question | reference |\n| --- | --- |\n| root collections, identities and includes | [Profile root](hexasync://docs/PROFILE-ROOT) |\n| frontend creation/setup/authorization steps and connector definitions | [Frontend steps](hexasync://docs/PROFILE-ROOT/profile-root-fields-1/frontend-steps-creationsteps-setupsteps-authorizationsteps), [Connector definition](hexasync://docs/PROFILE-ROOT/profile-root-fields-1/connector-definition-document) |\n| 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](hexasync://docs/frontend/FRONTEND-FLOWS) |\n| save task/reference row changes, preview, health, repair, per-row outcomes and coded refusals; unreleased worker.proxy PR #78 deployment gate | [Data routes](hexasync://docs/frontend/FRONTEND-FLOWS/task-and-reference-data-changes), [RECORDS_FORM change set](hexasync://docs/frontend/FRONTEND-FLOWS/records_form/records_form-change-set-path), [File import](hexasync://docs/frontend/FRONTEND-FLOWS/records_form/file-import-path) |\n| Workflow selection, envelope, argument placement and flags | [Step envelope](hexasync://docs/steps/STEP-ENVELOPE) |\n| host/stage context, Scriban, JSONata and expression call sites | [Expressions and context](hexasync://docs/expressions/CONTEXT-AND-IO) |\n| next targets, branches, termination and loop guards | [Routing](hexasync://docs/routing/NEXT) |\n| response parsers and site-specific result handling | [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS) |\n| Builder DSL versus API Filter DSL; v2 next/prev cursors, invalid_cursor and single-page VALUE MAX/MIN | [QueryDSL](hexasync://docs/query-dsl/QUERY-DSL), [Entity V2 cursors](hexasync://docs/query-dsl/QUERY-DSL/filter-dsl-language-contract/filter-request-envelope#entity-v2-flat-fields-and-working-cursors) |\n| connection binding, options, auth and HTTP request builders | [Connections](hexasync://docs/connections/CONNECTIONS), [API](hexasync://docs/steps/API) |\n| self connector identity (`**SelfConnectorProviderId**`, `IS_SELF_CONNECTOR`) and why `CONN-1` names it | [The self connector](hexasync://docs/connections/CONNECTIONS/the-self-connector#its-identity-and-why-conn-1-names-it) |\n| pulling, pushing, ingress and startup hosts | [Pullers](hexasync://docs/pullers/PULLERS), [Pushers](hexasync://docs/pushers/PUSHERS), [Webhooks](hexasync://docs/webhooks/WEBHOOKS), [Startup](hexasync://docs/startupTasks/STARTUP-TASKS) |\n| creating/binding gateway webhooks, captured delivery payloads as samples, replay limits, hosted Gateway MCP sign-in | [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow) |\n| How do I decide incremental vs full pull for an entity, validate its watermark, resume and terminate safely, classify API failures, and reconcile deletions? | [Puller completeness contract](hexasync://docs/pullers/PULLERS/puller-completeness-contract), [Entity classification](hexasync://docs/pullers/PULLERS/entity-classification) |\n| endpoint filter/anchor/page-size facts, watermark boundary inclusivity, timezone and overlap, natural-key ordering and ties, request budget and 429 handling | [Earn endpoint request facts](hexasync://docs/pullers/PULLERS/puller-completeness-contract#earn-endpoint-request-facts), [Watermark boundary validation](hexasync://docs/pullers/PULLERS/puller-completeness-contract#watermark-boundary-validation), [Natural-key ordering and ties](hexasync://docs/pullers/PULLERS/puller-completeness-contract#natural-key-ordering-and-ties), [Request budget and throttling](hexasync://docs/pullers/PULLERS/puller-completeness-contract#request-budget-and-throttling) |\n| 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](hexasync://docs/pullers/PULLERS/puller-completeness-contract#deletion-reconciliation-through-a-periodic-full-run), [One schedule per job type](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#one-schedule-per-job-type), [Periodic processing through a trigger task](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#periodic-processing-through-a-trigger-task), [Choosing pull and enqueue cadence](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#choosing-pull-and-enqueue-cadence) |\n| mapping API/event members to snake_case columns before saving, explicit destination bodies | [Explicit field mapping](hexasync://docs/steps/SAVE_TASK_DATA#explicit-field-mapping), [Explicit mapping for push](hexasync://docs/transformations/TRANSFORMATIONS/explicit-mapping-for-push) |\n| classifying HTTP status, thrown calls and invalid envelopes into one error code without one step per error class | [Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once) |\n| several vendor accounts, credential scope per connection, shared provider quota | [One connection, one credential scope](hexasync://docs/connections/CONNECTIONS/one-connection-one-credential-scope) |\n| webhook signature, raw body, acknowledgement, multi-event deliveries, partial payloads, registration health | [Provider webhook authoring standards](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow#provider-webhook-authoring-standards), [Worked sample](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow#worked-sample-a-signed-credential-scope-delivery) |\n| immediate startup pull, scheduler setup and first-reconcile defaults | [Typed scheduler](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata), [Legacy scheduler initialization](hexasync://docs/startupTasks/STARTUP-TASKS/legacy-target-tasks#legacy-scheduler-initialization), [Dashboard versus execution](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#dashboard-presentation-versus-execution) |\n| task binding, dependency gates and physical storage | [Objects](hexasync://docs/objects/object), [Associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS), [Dependencies](hexasync://docs/dependencies/DEPENDENCIES), [Tasks](hexasync://docs/tasks/TASKS-AND-TABLES), [Tables](hexasync://docs/tables/TABLES) |\n| transformation order, item context, abort/no-op and executor outcomes | [Transformation chain](hexasync://docs/transformations/TRANSFORMATIONS/transformation-chain-contract) |\n| stored SQL validity versus per-item diagnostics | [Validations](hexasync://docs/validations/VALIDATIONS) |\n| metric readers, handlers, scoring and reports | [Metrics](hexasync://docs/metrics/METRICS_REFERENCE), [Reports](hexasync://docs/reports/REPORTS) |\n| one worker executor and its alternatives | [Worker step index](hexasync://docs/steps/INDEX) |\n\n## Collections: root declaration shapes\n\n- `connectors` \u2014 array of connections/connection\n- `contributors` \u2014 array of contributor\n- `dependencies` \u2014 array of dependencies/dependency\n- `externals` \u2014 array of externals\n- `metricGroups` \u2014 array of metrics/metricGroup\n- `objectAssociations` \u2014 map of objectAssociations/objectAssociation\n- `objects` \u2014 array of objects/object\n- `pullers` \u2014 array of pullers/puller\n- `pushers` \u2014 array of pushers/pusher\n- `reports` \u2014 array of reports/report\n- `startupTasks` \u2014 array of startupTasks/startupTask\n- `tables` \u2014 array of tables/table\n- `transformations` \u2014 map of arrays of transformations/transformation\n- `validations` \u2014 map of arrays of validations/validation\n- `webhooks` \u2014 array of webhooks/Webhook\n\n## Worker executable authoring choices (42)\n`API`, `BASE64_TO_MIME_TYPE`, `CACHE`, `CHECK_FORMAT`, `DIRECT_INDEX`, `DOWNLOAD_CSV`, `ENQUEUER`, `EXCEL_READER`, `EXCEPTION`, `Error`, `FORWARD`, `GET_KEY_VALUE`, `IF`, `IGNORE_ITEM`, `INVALIDATE_CACHE`, `JSONata`, `LOOKUP_STEP`, `METRIC_QUERY`, `PUBLISH_EVENT`, `PULLER`, `PUSHER`, `QUERY_MANY`, `QUERY_METRICS`, `QUERY_SINGLE`, `REMOVE_DATA`, `RESET_ITEM`, `RESOLVE_RAW_DATA`, `SAVE_TASK_DATA`, `SEED_DATA`, `SET_KEY_VALUE`, `SLEEP`, `SQL`, `SQL_PROXY`, `SWITCH`, `Scriban`, `TRACK_FOR_REMOVAL`, `UPDATE_ITEM_STATUS`, `UPDATE_ITEM_SYNC_PROCESS`, `UPDATE_TASK_DATA_STATUS`, `VALUES`, `VERIFY_CACHED`, `WEBHOOK_FORWARD`\n\nRegistered but throwing (9): `Begin`, `Composite`, `End`, `GraphQL`, `Liquid`, `OData`, `QueryDSL`, `Restful`, `cURL`. Read their rejected forms and actual alternatives through the worker step index.\n\n## Frontend declaration vocabulary (23)\n`API`, `API_PROXY`, `BROWSER`, `FAIL`, `FORM`, `GATEWAY_API`, `GET_LOCAL_STORAGE`, `HEALTH_CHECK_WORKER`, `IF`, `INTEGRATION_APP_MANAGEMENT`, `JSONATA`, `LIQUID`, `MULTIPLE_CHOICE_FORM`, `READ_QUERIES`, `RECORDS_FORM`, `REDIRECT`, `RETURN`, `SELECT_GOOGLE_DRIVE`, `SET_LOCAL_STORAGE`, `SHOW_INFO`, `SINGLE_CHOICE_FORM`, `SWITCH`, `WAIT`\n\n## Transformation authoring vocabulary (12)\n`BulkClone`, `BulkRename`, `Clone`, `Jsonata`, `Nested_SQL`, `None`, `QUERY_MANY`, `QUERY_SINGLE`, `RESOLVE_RAW_DATA`, `Rename`, `SQL`, `Scriban`\n`None` is [disabled](hexasync://docs/transformations/TRANSFORMATIONS/none--disabled-versus-absent-discriminator). `RenameDependency` is [declared but unimplemented](hexasync://docs/transformations/TRANSFORMATIONS/renamedependency--declared-but-unimplemented) and is not an accepted authoring discriminator.\n\n## Supported validation vocabulary (23)\n`BETWEEN`, `CONTAIN`, `END_WITH`, `EQUAL`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `IN`, `IS_EMPTY`, `IS_NULL`, `LENGTH`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `MAX_LENGTH`, `MIN_LENGTH`, `NOT_CONTAIN`, `NOT_EMPTY`, `NOT_END_WITH`, `NOT_EQUAL`, `NOT_IN`, `NOT_NULL`, `NOT_START_WITH`, `REGEX`, `START_WITH`\nDeclaration-only members and datetime deployment prerequisites are explained on the validations page.\n\n## Builder DSL operators (35)\n`!=`, `<`, `<=`, `<>`, `=`, `>`, `>=`, `AND`, `BETWEEN`, `CONTAINS`, `ENDS_WITH`, `HAS_ALL_BITS`, `HAS_BITS`, `IN`, `ISNIL`, `ISNULL`, `IS_NIL`, `IS_NOT_NULL`, `IS_NULL`, `NIL`, `NNIL`, `NNULL`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_HAS_ALL_BITS`, `NOT_HAS_BITS`, `NOT_IN`, `NOT_NULL`, `NOT_REGEX`, `NOT_STARTS_WITH`, `NULL`, `OR`, `REGEX`, `STARTS_WITH`, `^LAST_[+-]?[0-9]+_[A-Za-z]+$`\n\n## Builder DSL operand kinds (5)\n`ARG`, `FIELD`, `PARAM`, `QUERY`, `VALUE`\nAPI Filter DSL has its own predicate vocabulary, request envelope and bit-mask semantics; do not substitute Builder syntax.\n\n## Editor/CLI diagnostic rule IDs (79)\n`API-1`, `API-2`, `ARG-1`, `ARG-2`, `ARG-3`, `ARG-4`, `ARG-5`, `ARG-6`, `ARG-7`, `COL-1`, `CONN-0`, `CONN-1`, `CONN-2`, `CONN-3`, `CONN-4`, `CONN-5`, `CTX-1`, `CTX-2`, `CTX-3`, `DEP-1`, `DRIFT-1`, `DUP-1`, `DUP-3`, `DUP-4`, `DUP-5`, `FFE-0`, `FFE-1`, `FFE-10`, `FFE-11`, `FFE-12`, `FFE-13`, `FFE-14`, `FFE-2`, `FFE-3`, `FFE-4`, `FFE-5`, `FFE-6`, `FFE-7`, `FFE-8`, `FFE-9`, `FLOW-3`, `FLOW-4`, `FLOW-5`, `FLOW-6`, `FLOW-7`, `FLOW-8`, `MDI-1`, `OVW-1`, `PLK-1`, `PLK-2`, `QDSL-1`, `REF-1`, `REF-13`, `REF-15`, `REF-16`, `REF-2`, `REF-3`, `REF-5`, `REF-6`, `REF-7`, `REF-9`, `REF-K1`, `REF-K2`, `RET-1`, `STEP-1`, `STEP-2`, `STEP-3`, `TBL-1`, `TBL-2`, `TBL-3`, `TBL-4`, `TBL-5`, `TBL-6`, `TBL-7`, `UNIMP-1`, `VAR-1`, `VAR-2`, `VAR-3`, `VAR-4`\nUse `hexasync_explain_rule` for diagnostic meaning and consequences.\n\n## Catalog systems with connector codes (16)\n- KiotViet \u2014 `kiotviet`\n- Lazada \u2014 `lazada`\n- Lightspeed X Series \u2014 `lightspeed-x-series`\n- Misa AMIS RPA \u2014 `misa-amis-frontend`\n- Misa AMIS \u2014 `misa-amis`\n- Sapo Omni V3 \u2014 `sapo-omni-v3`\n- Shopee \u2014 `shopee`\n- Shopify Custom App \u2014 `shopify-custom-app`\n- Shopify \u2014 `shopify-public-app`\n- Shopline Private App \u2014 `shopline-private-app`\n- Shopline \u2014 `shopline`\n- TikTok Shop (Gateway V3) \u2014 `tiktokshop`\n- TikTok Shop \u2014 `tiktokshop`\n- WooCommerce \u2014 `woocommerce`\n- Xero \u2014 `v2/xero`\n- Zalo \u2014 `zalo`\n\n## Catalog systems without a supported connector code (8)\n- Anchanto OMS (SelluSeller)\n- Brightpearl\n- Lightspeed X Series (Gateway V2)\n- MeInvoice\n- Packhai OMS\n- Wix\n- Zendesk\n- Zoho Desk\nCatalog presence does not create an executable connector or an authentication scheme.\n\n## Actual MCP retrieval\n\n- `resources/list` and `resources/read` expose the component pages and shipped schema data without a private source checkout.\n- `hexasync_explain_type` reads [step inputs](hexasync://assets/steps/inputs.json) and [step results](hexasync://assets/steps/outputs.json); read the component page for conditional output branches.\n- `hexasync_explain_position` describes the static authoring position; use the context page for host/stage availability.\n- `hexasync_search_examples` reads [1299 authored YAML examples](hexasync://assets/docs/examples.json), including their surrounding explanation and component page. Fragments are not necessarily complete profiles or successful-input examples. Connector identity is not guessed.\n- `hexasync_list_connectors` reads the [connector catalog](hexasync://assets/connectors/catalog.json); use existing workspace identities rather than inventing IDs.\n- This server never calls the gateway. Webhook resources, captured deliveries and replay are tools of the separately signed-in hosted Gateway MCP; read the [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow) before asking the user.\n- [Root schema](hexasync://assets/main.json) reaches component item contracts. The [full knowledge index](hexasync://index) is the navigation entry.\n",canonicalAssetText:"<!-- GENERATED KNOWLEDGE INDEX \u2014 DO NOT EDIT. Run `yarn ai:index`. -->\n# HexaSync Profile Template Knowledge Base\n\n**Asset bundle 115 \xB7 extension 2612.3.2.**\n\n## Authoring boundaries\n\n- Worker Workflow steps and frontend creation/setup steps are different domains. Shared names do not make their payloads or execution interchangeable.\n- For grouped frontend `getReadyFlows`, start with [Frontend workflows](hexasync://docs/frontend/FRONTEND-FLOWS); flow `key` and `dependsOn` references match `^[A-Z][A-Z0-9_]*$` with at most 128 characters. Use `runtime: frontend` for type lookup and `frontend-step` for expression position. Omitted runtime keeps worker meaning.\n- Use actual existing component and provider identities. Resolution and unresolved outcomes belong to each component contract.\n- Context roots depend on the workflow host and execution stage. A legal authoring root is not a promise that it exists at entry.\n- Examples explain inputs, prerequisites and expected effects.\n- This index is a retrieval map. Read the linked component page for defaults, precedence, variants and failure behavior.\n\n## Component pages\n\n| question | reference |\n| --- | --- |\n| root collections, identities and includes | [Profile root](hexasync://docs/PROFILE-ROOT) |\n| frontend creation/setup/authorization steps and connector definitions | [Frontend steps](hexasync://docs/PROFILE-ROOT#frontend-steps-creationsteps-setupsteps-authorizationsteps), [Connector definition](hexasync://docs/PROFILE-ROOT#connector-definition-document) |\n| 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](hexasync://docs/frontend/FRONTEND-FLOWS) |\n| save task/reference row changes, preview, health, repair, per-row outcomes and coded refusals; unreleased worker.proxy PR #78 deployment gate | [Data routes](hexasync://docs/frontend/FRONTEND-FLOWS#task-and-reference-data-changes), [RECORDS_FORM change set](hexasync://docs/frontend/FRONTEND-FLOWS#records_form-change-set-path), [File import](hexasync://docs/frontend/FRONTEND-FLOWS#file-import-path) |\n| Workflow selection, envelope, argument placement and flags | [Step envelope](hexasync://docs/steps/STEP-ENVELOPE) |\n| host/stage context, Scriban, JSONata and expression call sites | [Expressions and context](hexasync://docs/expressions/CONTEXT-AND-IO) |\n| next targets, branches, termination and loop guards | [Routing](hexasync://docs/routing/NEXT) |\n| response parsers and site-specific result handling | [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS) |\n| Builder DSL versus API Filter DSL; v2 next/prev cursors, invalid_cursor and single-page VALUE MAX/MIN | [QueryDSL](hexasync://docs/query-dsl/QUERY-DSL), [Entity V2 cursors](hexasync://docs/query-dsl/QUERY-DSL#entity-v2-flat-fields-and-working-cursors) |\n| connection binding, options, auth and HTTP request builders | [Connections](hexasync://docs/connections/CONNECTIONS), [API](hexasync://docs/steps/API) |\n| self connector identity (`**SelfConnectorProviderId**`, `IS_SELF_CONNECTOR`) and why `CONN-1` names it | [The self connector](hexasync://docs/connections/CONNECTIONS#its-identity-and-why-conn-1-names-it) |\n| pulling, pushing, ingress and startup hosts | [Pullers](hexasync://docs/pullers/PULLERS), [Pushers](hexasync://docs/pushers/PUSHERS), [Webhooks](hexasync://docs/webhooks/WEBHOOKS), [Startup](hexasync://docs/startupTasks/STARTUP-TASKS) |\n| creating/binding gateway webhooks, captured delivery payloads as samples, replay limits, hosted Gateway MCP sign-in | [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS#gateway-mcp-webhook-workflow) |\n| How do I decide incremental vs full pull for an entity, validate its watermark, resume and terminate safely, classify API failures, and reconcile deletions? | [Puller completeness contract](hexasync://docs/pullers/PULLERS#puller-completeness-contract), [Entity classification](hexasync://docs/pullers/PULLERS#entity-classification) |\n| endpoint filter/anchor/page-size facts, watermark boundary inclusivity, timezone and overlap, natural-key ordering and ties, request budget and 429 handling | [Earn endpoint request facts](hexasync://docs/pullers/PULLERS#earn-endpoint-request-facts), [Watermark boundary validation](hexasync://docs/pullers/PULLERS#watermark-boundary-validation), [Natural-key ordering and ties](hexasync://docs/pullers/PULLERS#natural-key-ordering-and-ties), [Request budget and throttling](hexasync://docs/pullers/PULLERS#request-budget-and-throttling) |\n| 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](hexasync://docs/pullers/PULLERS#deletion-reconciliation-through-a-periodic-full-run), [One schedule per job type](hexasync://docs/startupTasks/STARTUP-TASKS#one-schedule-per-job-type), [Periodic processing through a trigger task](hexasync://docs/startupTasks/STARTUP-TASKS#periodic-processing-through-a-trigger-task), [Choosing pull and enqueue cadence](hexasync://docs/startupTasks/STARTUP-TASKS#choosing-pull-and-enqueue-cadence) |\n| mapping API/event members to snake_case columns before saving, explicit destination bodies | [Explicit field mapping](hexasync://docs/steps/SAVE_TASK_DATA#explicit-field-mapping), [Explicit mapping for push](hexasync://docs/transformations/TRANSFORMATIONS#explicit-mapping-for-push) |\n| classifying HTTP status, thrown calls and invalid envelopes into one error code without one step per error class | [Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once) |\n| several vendor accounts, credential scope per connection, shared provider quota | [One connection, one credential scope](hexasync://docs/connections/CONNECTIONS#one-connection-one-credential-scope) |\n| webhook signature, raw body, acknowledgement, multi-event deliveries, partial payloads, registration health | [Provider webhook authoring standards](hexasync://docs/webhooks/WEBHOOKS#provider-webhook-authoring-standards), [Worked sample](hexasync://docs/webhooks/WEBHOOKS#worked-sample-a-signed-credential-scope-delivery) |\n| immediate startup pull, scheduler setup and first-reconcile defaults | [Typed scheduler](hexasync://docs/startupTasks/STARTUP-TASKS#scheduler-metadata), [Legacy scheduler initialization](hexasync://docs/startupTasks/STARTUP-TASKS#legacy-scheduler-initialization), [Dashboard versus execution](hexasync://docs/startupTasks/STARTUP-TASKS#dashboard-presentation-versus-execution) |\n| task binding, dependency gates and physical storage | [Objects](hexasync://docs/objects/object), [Associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS), [Dependencies](hexasync://docs/dependencies/DEPENDENCIES), [Tasks](hexasync://docs/tasks/TASKS-AND-TABLES), [Tables](hexasync://docs/tables/TABLES) |\n| transformation order, item context, abort/no-op and executor outcomes | [Transformation chain](hexasync://docs/transformations/TRANSFORMATIONS#transformation-chain-contract) |\n| stored SQL validity versus per-item diagnostics | [Validations](hexasync://docs/validations/VALIDATIONS) |\n| metric readers, handlers, scoring and reports | [Metrics](hexasync://docs/metrics/METRICS_REFERENCE), [Reports](hexasync://docs/reports/REPORTS) |\n| one worker executor and its alternatives | [Worker step index](hexasync://docs/steps/INDEX) |\n\n## Collections: root declaration shapes\n\n- `connectors` \u2014 array of connections/connection\n- `contributors` \u2014 array of contributor\n- `dependencies` \u2014 array of dependencies/dependency\n- `externals` \u2014 array of externals\n- `metricGroups` \u2014 array of metrics/metricGroup\n- `objectAssociations` \u2014 map of objectAssociations/objectAssociation\n- `objects` \u2014 array of objects/object\n- `pullers` \u2014 array of pullers/puller\n- `pushers` \u2014 array of pushers/pusher\n- `reports` \u2014 array of reports/report\n- `startupTasks` \u2014 array of startupTasks/startupTask\n- `tables` \u2014 array of tables/table\n- `transformations` \u2014 map of arrays of transformations/transformation\n- `validations` \u2014 map of arrays of validations/validation\n- `webhooks` \u2014 array of webhooks/Webhook\n\n## Worker executable authoring choices (42)\n`API`, `BASE64_TO_MIME_TYPE`, `CACHE`, `CHECK_FORMAT`, `DIRECT_INDEX`, `DOWNLOAD_CSV`, `ENQUEUER`, `EXCEL_READER`, `EXCEPTION`, `Error`, `FORWARD`, `GET_KEY_VALUE`, `IF`, `IGNORE_ITEM`, `INVALIDATE_CACHE`, `JSONata`, `LOOKUP_STEP`, `METRIC_QUERY`, `PUBLISH_EVENT`, `PULLER`, `PUSHER`, `QUERY_MANY`, `QUERY_METRICS`, `QUERY_SINGLE`, `REMOVE_DATA`, `RESET_ITEM`, `RESOLVE_RAW_DATA`, `SAVE_TASK_DATA`, `SEED_DATA`, `SET_KEY_VALUE`, `SLEEP`, `SQL`, `SQL_PROXY`, `SWITCH`, `Scriban`, `TRACK_FOR_REMOVAL`, `UPDATE_ITEM_STATUS`, `UPDATE_ITEM_SYNC_PROCESS`, `UPDATE_TASK_DATA_STATUS`, `VALUES`, `VERIFY_CACHED`, `WEBHOOK_FORWARD`\n\nRegistered but throwing (9): `Begin`, `Composite`, `End`, `GraphQL`, `Liquid`, `OData`, `QueryDSL`, `Restful`, `cURL`. Read their rejected forms and actual alternatives through the worker step index.\n\n## Frontend declaration vocabulary (23)\n`API`, `API_PROXY`, `BROWSER`, `FAIL`, `FORM`, `GATEWAY_API`, `GET_LOCAL_STORAGE`, `HEALTH_CHECK_WORKER`, `IF`, `INTEGRATION_APP_MANAGEMENT`, `JSONATA`, `LIQUID`, `MULTIPLE_CHOICE_FORM`, `READ_QUERIES`, `RECORDS_FORM`, `REDIRECT`, `RETURN`, `SELECT_GOOGLE_DRIVE`, `SET_LOCAL_STORAGE`, `SHOW_INFO`, `SINGLE_CHOICE_FORM`, `SWITCH`, `WAIT`\n\n## Transformation authoring vocabulary (12)\n`BulkClone`, `BulkRename`, `Clone`, `Jsonata`, `Nested_SQL`, `None`, `QUERY_MANY`, `QUERY_SINGLE`, `RESOLVE_RAW_DATA`, `Rename`, `SQL`, `Scriban`\n`None` is [disabled](hexasync://docs/transformations/TRANSFORMATIONS#none--disabled-versus-absent-discriminator). `RenameDependency` is [declared but unimplemented](hexasync://docs/transformations/TRANSFORMATIONS#renamedependency--declared-but-unimplemented) and is not an accepted authoring discriminator.\n\n## Supported validation vocabulary (23)\n`BETWEEN`, `CONTAIN`, `END_WITH`, `EQUAL`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `IN`, `IS_EMPTY`, `IS_NULL`, `LENGTH`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `MAX_LENGTH`, `MIN_LENGTH`, `NOT_CONTAIN`, `NOT_EMPTY`, `NOT_END_WITH`, `NOT_EQUAL`, `NOT_IN`, `NOT_NULL`, `NOT_START_WITH`, `REGEX`, `START_WITH`\nDeclaration-only members and datetime deployment prerequisites are explained on the validations page.\n\n## Builder DSL operators (35)\n`!=`, `<`, `<=`, `<>`, `=`, `>`, `>=`, `AND`, `BETWEEN`, `CONTAINS`, `ENDS_WITH`, `HAS_ALL_BITS`, `HAS_BITS`, `IN`, `ISNIL`, `ISNULL`, `IS_NIL`, `IS_NOT_NULL`, `IS_NULL`, `NIL`, `NNIL`, `NNULL`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_HAS_ALL_BITS`, `NOT_HAS_BITS`, `NOT_IN`, `NOT_NULL`, `NOT_REGEX`, `NOT_STARTS_WITH`, `NULL`, `OR`, `REGEX`, `STARTS_WITH`, `^LAST_[+-]?[0-9]+_[A-Za-z]+$`\n\n## Builder DSL operand kinds (5)\n`ARG`, `FIELD`, `PARAM`, `QUERY`, `VALUE`\nAPI Filter DSL has its own predicate vocabulary, request envelope and bit-mask semantics; do not substitute Builder syntax.\n\n## Editor/CLI diagnostic rule IDs (79)\n`API-1`, `API-2`, `ARG-1`, `ARG-2`, `ARG-3`, `ARG-4`, `ARG-5`, `ARG-6`, `ARG-7`, `COL-1`, `CONN-0`, `CONN-1`, `CONN-2`, `CONN-3`, `CONN-4`, `CONN-5`, `CTX-1`, `CTX-2`, `CTX-3`, `DEP-1`, `DRIFT-1`, `DUP-1`, `DUP-3`, `DUP-4`, `DUP-5`, `FFE-0`, `FFE-1`, `FFE-10`, `FFE-11`, `FFE-12`, `FFE-13`, `FFE-14`, `FFE-2`, `FFE-3`, `FFE-4`, `FFE-5`, `FFE-6`, `FFE-7`, `FFE-8`, `FFE-9`, `FLOW-3`, `FLOW-4`, `FLOW-5`, `FLOW-6`, `FLOW-7`, `FLOW-8`, `MDI-1`, `OVW-1`, `PLK-1`, `PLK-2`, `QDSL-1`, `REF-1`, `REF-13`, `REF-15`, `REF-16`, `REF-2`, `REF-3`, `REF-5`, `REF-6`, `REF-7`, `REF-9`, `REF-K1`, `REF-K2`, `RET-1`, `STEP-1`, `STEP-2`, `STEP-3`, `TBL-1`, `TBL-2`, `TBL-3`, `TBL-4`, `TBL-5`, `TBL-6`, `TBL-7`, `UNIMP-1`, `VAR-1`, `VAR-2`, `VAR-3`, `VAR-4`\nUse `hexasync_explain_rule` for diagnostic meaning and consequences.\n\n## Catalog systems with connector codes (16)\n- KiotViet \u2014 `kiotviet`\n- Lazada \u2014 `lazada`\n- Lightspeed X Series \u2014 `lightspeed-x-series`\n- Misa AMIS RPA \u2014 `misa-amis-frontend`\n- Misa AMIS \u2014 `misa-amis`\n- Sapo Omni V3 \u2014 `sapo-omni-v3`\n- Shopee \u2014 `shopee`\n- Shopify Custom App \u2014 `shopify-custom-app`\n- Shopify \u2014 `shopify-public-app`\n- Shopline Private App \u2014 `shopline-private-app`\n- Shopline \u2014 `shopline`\n- TikTok Shop (Gateway V3) \u2014 `tiktokshop`\n- TikTok Shop \u2014 `tiktokshop`\n- WooCommerce \u2014 `woocommerce`\n- Xero \u2014 `v2/xero`\n- Zalo \u2014 `zalo`\n\n## Catalog systems without a supported connector code (8)\n- Anchanto OMS (SelluSeller)\n- Brightpearl\n- Lightspeed X Series (Gateway V2)\n- MeInvoice\n- Packhai OMS\n- Wix\n- Zendesk\n- Zoho Desk\nCatalog presence does not create an executable connector or an authentication scheme.\n\n## Actual MCP retrieval\n\n- `resources/list` and `resources/read` expose the component pages and shipped schema data without a private source checkout.\n- `hexasync_explain_type` reads [step inputs](hexasync://assets/steps/inputs.json) and [step results](hexasync://assets/steps/outputs.json); read the component page for conditional output branches.\n- `hexasync_explain_position` describes the static authoring position; use the context page for host/stage availability.\n- `hexasync_search_examples` reads [1299 authored YAML examples](hexasync://assets/docs/examples.json), including their surrounding explanation and component page. Fragments are not necessarily complete profiles or successful-input examples. Connector identity is not guessed.\n- `hexasync_list_connectors` reads the [connector catalog](hexasync://assets/connectors/catalog.json); use existing workspace identities rather than inventing IDs.\n- This server never calls the gateway. Webhook resources, captured deliveries and replay are tools of the separately signed-in hosted Gateway MCP; read the [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS#gateway-mcp-webhook-workflow) before asking the user.\n- [Root schema](hexasync://assets/main.json) reaches component item contracts. The [full knowledge index](hexasync://index) is the navigation entry.\n"},{uri:"hexasync://docs/connections/CONNECTIONS",name:"docs/connections/CONNECTIONS",title:"Connections and connectors",description:"Syntax. A profile declares connections as a list under connectors: (the legacy spelling connections: is still read):",mimeType:"text/markdown",text:`# Connections and connectors
|
|
82272
|
+
`},{uri:"hexasync://docs/AI-INDEX",name:"docs/AI-INDEX",title:"HexaSync Profile Template Knowledge Base",description:"Asset bundle 115 \xB7 extension 2612.3.4.",mimeType:"text/markdown",text:"<!-- GENERATED KNOWLEDGE INDEX \u2014 DO NOT EDIT. Run `yarn ai:index`. -->\n# HexaSync Profile Template Knowledge Base\n\n**Asset bundle 115 \xB7 extension 2612.3.4.**\n\n## Authoring boundaries\n\n- Worker Workflow steps and frontend creation/setup steps are different domains. Shared names do not make their payloads or execution interchangeable.\n- For grouped frontend `getReadyFlows`, start with [Frontend workflows](hexasync://docs/frontend/FRONTEND-FLOWS); flow `key` and `dependsOn` references match `^[A-Z][A-Z0-9_]*$` with at most 128 characters. Use `runtime: frontend` for type lookup and `frontend-step` for expression position. Omitted runtime keeps worker meaning.\n- Use actual existing component and provider identities. Resolution and unresolved outcomes belong to each component contract.\n- Context roots depend on the workflow host and execution stage. A legal authoring root is not a promise that it exists at entry.\n- Examples explain inputs, prerequisites and expected effects.\n- This index is a retrieval map. Read the linked component page for defaults, precedence, variants and failure behavior.\n\n## Component pages\n\n| question | reference |\n| --- | --- |\n| root collections, identities and includes | [Profile root](hexasync://docs/PROFILE-ROOT) |\n| frontend creation/setup/authorization steps and connector definitions | [Frontend steps](hexasync://docs/PROFILE-ROOT/profile-root-fields-1/frontend-steps-creationsteps-setupsteps-authorizationsteps), [Connector definition](hexasync://docs/PROFILE-ROOT/profile-root-fields-1/connector-definition-document) |\n| 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](hexasync://docs/frontend/FRONTEND-FLOWS) |\n| save task/reference row changes, preview, health, repair, per-row outcomes and coded refusals; unreleased worker.proxy PR #78 deployment gate | [Data routes](hexasync://docs/frontend/FRONTEND-FLOWS/task-and-reference-data-changes), [RECORDS_FORM change set](hexasync://docs/frontend/FRONTEND-FLOWS/records_form/records_form-change-set-path), [File import](hexasync://docs/frontend/FRONTEND-FLOWS/records_form/file-import-path) |\n| Workflow selection, envelope, argument placement and flags | [Step envelope](hexasync://docs/steps/STEP-ENVELOPE) |\n| host/stage context, Scriban, JSONata and expression call sites | [Expressions and context](hexasync://docs/expressions/CONTEXT-AND-IO) |\n| next targets, branches, termination and loop guards | [Routing](hexasync://docs/routing/NEXT) |\n| response parsers and site-specific result handling | [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS) |\n| Builder DSL versus API Filter DSL; v2 next/prev cursors, invalid_cursor and single-page VALUE MAX/MIN | [QueryDSL](hexasync://docs/query-dsl/QUERY-DSL), [Entity V2 cursors](hexasync://docs/query-dsl/QUERY-DSL/filter-dsl-language-contract/filter-request-envelope#entity-v2-flat-fields-and-working-cursors) |\n| connection binding, options, auth and HTTP request builders | [Connections](hexasync://docs/connections/CONNECTIONS), [API](hexasync://docs/steps/API) |\n| self connector identity (`**SelfConnectorProviderId**`, `IS_SELF_CONNECTOR`) and why `CONN-1` names it | [The self connector](hexasync://docs/connections/CONNECTIONS/the-self-connector#its-identity-and-why-conn-1-names-it) |\n| pulling, pushing, ingress and startup hosts | [Pullers](hexasync://docs/pullers/PULLERS), [Pushers](hexasync://docs/pushers/PUSHERS), [Webhooks](hexasync://docs/webhooks/WEBHOOKS), [Startup](hexasync://docs/startupTasks/STARTUP-TASKS) |\n| creating/binding gateway webhooks, captured delivery payloads as samples, replay limits, hosted Gateway MCP sign-in | [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow) |\n| How do I decide incremental vs full pull for an entity, validate its watermark, resume and terminate safely, classify API failures, and reconcile deletions? | [Puller completeness contract](hexasync://docs/pullers/PULLERS/puller-completeness-contract), [Entity classification](hexasync://docs/pullers/PULLERS/entity-classification) |\n| endpoint filter/anchor/page-size facts, watermark boundary inclusivity, timezone and overlap, natural-key ordering and ties, request budget and 429 handling | [Earn endpoint request facts](hexasync://docs/pullers/PULLERS/puller-completeness-contract#earn-endpoint-request-facts), [Watermark boundary validation](hexasync://docs/pullers/PULLERS/puller-completeness-contract#watermark-boundary-validation), [Natural-key ordering and ties](hexasync://docs/pullers/PULLERS/puller-completeness-contract#natural-key-ordering-and-ties), [Request budget and throttling](hexasync://docs/pullers/PULLERS/puller-completeness-contract#request-budget-and-throttling) |\n| 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](hexasync://docs/pullers/PULLERS/puller-completeness-contract#deletion-reconciliation-through-a-periodic-full-run), [One schedule per job type](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#one-schedule-per-job-type), [Periodic processing through a trigger task](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#periodic-processing-through-a-trigger-task), [Choosing pull and enqueue cadence](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#choosing-pull-and-enqueue-cadence) |\n| mapping API/event members to snake_case columns before saving, explicit destination bodies | [Explicit field mapping](hexasync://docs/steps/SAVE_TASK_DATA#explicit-field-mapping), [Explicit mapping for push](hexasync://docs/transformations/TRANSFORMATIONS/explicit-mapping-for-push) |\n| classifying HTTP status, thrown calls and invalid envelopes into one error code without one step per error class | [Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once) |\n| several vendor accounts, credential scope per connection, shared provider quota | [One connection, one credential scope](hexasync://docs/connections/CONNECTIONS/one-connection-one-credential-scope) |\n| webhook signature, raw body, acknowledgement, multi-event deliveries, partial payloads, registration health | [Provider webhook authoring standards](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow#provider-webhook-authoring-standards), [Worked sample](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow#worked-sample-a-signed-credential-scope-delivery) |\n| immediate startup pull, scheduler setup and first-reconcile defaults | [Typed scheduler](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata), [Legacy scheduler initialization](hexasync://docs/startupTasks/STARTUP-TASKS/legacy-target-tasks#legacy-scheduler-initialization), [Dashboard versus execution](hexasync://docs/startupTasks/STARTUP-TASKS/scheduler-metadata#dashboard-presentation-versus-execution) |\n| task binding, dependency gates and physical storage | [Objects](hexasync://docs/objects/object), [Associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS), [Dependencies](hexasync://docs/dependencies/DEPENDENCIES), [Tasks](hexasync://docs/tasks/TASKS-AND-TABLES), [Tables](hexasync://docs/tables/TABLES) |\n| transformation order, item context, abort/no-op and executor outcomes | [Transformation chain](hexasync://docs/transformations/TRANSFORMATIONS/transformation-chain-contract) |\n| stored SQL validity versus per-item diagnostics | [Validations](hexasync://docs/validations/VALIDATIONS) |\n| metric readers, handlers, scoring and reports | [Metrics](hexasync://docs/metrics/METRICS_REFERENCE), [Reports](hexasync://docs/reports/REPORTS) |\n| one worker executor and its alternatives | [Worker step index](hexasync://docs/steps/INDEX) |\n\n## Collections: root declaration shapes\n\n- `connectors` \u2014 array of connections/connection\n- `contributors` \u2014 array of contributor\n- `dependencies` \u2014 array of dependencies/dependency\n- `externals` \u2014 array of externals\n- `metricGroups` \u2014 array of metrics/metricGroup\n- `objectAssociations` \u2014 map of objectAssociations/objectAssociation\n- `objects` \u2014 array of objects/object\n- `pullers` \u2014 array of pullers/puller\n- `pushers` \u2014 array of pushers/pusher\n- `reports` \u2014 array of reports/report\n- `startupTasks` \u2014 array of startupTasks/startupTask\n- `tables` \u2014 array of tables/table\n- `transformations` \u2014 map of arrays of transformations/transformation\n- `validations` \u2014 map of arrays of validations/validation\n- `webhooks` \u2014 array of webhooks/Webhook\n\n## Worker executable authoring choices (42)\n`API`, `BASE64_TO_MIME_TYPE`, `CACHE`, `CHECK_FORMAT`, `DIRECT_INDEX`, `DOWNLOAD_CSV`, `ENQUEUER`, `EXCEL_READER`, `EXCEPTION`, `Error`, `FORWARD`, `GET_KEY_VALUE`, `IF`, `IGNORE_ITEM`, `INVALIDATE_CACHE`, `JSONata`, `LOOKUP_STEP`, `METRIC_QUERY`, `PUBLISH_EVENT`, `PULLER`, `PUSHER`, `QUERY_MANY`, `QUERY_METRICS`, `QUERY_SINGLE`, `REMOVE_DATA`, `RESET_ITEM`, `RESOLVE_RAW_DATA`, `SAVE_TASK_DATA`, `SEED_DATA`, `SET_KEY_VALUE`, `SLEEP`, `SQL`, `SQL_PROXY`, `SWITCH`, `Scriban`, `TRACK_FOR_REMOVAL`, `UPDATE_ITEM_STATUS`, `UPDATE_ITEM_SYNC_PROCESS`, `UPDATE_TASK_DATA_STATUS`, `VALUES`, `VERIFY_CACHED`, `WEBHOOK_FORWARD`\n\nRegistered but throwing (9): `Begin`, `Composite`, `End`, `GraphQL`, `Liquid`, `OData`, `QueryDSL`, `Restful`, `cURL`. Read their rejected forms and actual alternatives through the worker step index.\n\n## Frontend declaration vocabulary (23)\n`API`, `API_PROXY`, `BROWSER`, `FAIL`, `FORM`, `GATEWAY_API`, `GET_LOCAL_STORAGE`, `HEALTH_CHECK_WORKER`, `IF`, `INTEGRATION_APP_MANAGEMENT`, `JSONATA`, `LIQUID`, `MULTIPLE_CHOICE_FORM`, `READ_QUERIES`, `RECORDS_FORM`, `REDIRECT`, `RETURN`, `SELECT_GOOGLE_DRIVE`, `SET_LOCAL_STORAGE`, `SHOW_INFO`, `SINGLE_CHOICE_FORM`, `SWITCH`, `WAIT`\n\n## Transformation authoring vocabulary (12)\n`BulkClone`, `BulkRename`, `Clone`, `Jsonata`, `Nested_SQL`, `None`, `QUERY_MANY`, `QUERY_SINGLE`, `RESOLVE_RAW_DATA`, `Rename`, `SQL`, `Scriban`\n`None` is [disabled](hexasync://docs/transformations/TRANSFORMATIONS/none--disabled-versus-absent-discriminator). `RenameDependency` is [declared but unimplemented](hexasync://docs/transformations/TRANSFORMATIONS/renamedependency--declared-but-unimplemented) and is not an accepted authoring discriminator.\n\n## Supported validation vocabulary (23)\n`BETWEEN`, `CONTAIN`, `END_WITH`, `EQUAL`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `IN`, `IS_EMPTY`, `IS_NULL`, `LENGTH`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `MAX_LENGTH`, `MIN_LENGTH`, `NOT_CONTAIN`, `NOT_EMPTY`, `NOT_END_WITH`, `NOT_EQUAL`, `NOT_IN`, `NOT_NULL`, `NOT_START_WITH`, `REGEX`, `START_WITH`\nDeclaration-only members and datetime deployment prerequisites are explained on the validations page.\n\n## Builder DSL operators (35)\n`!=`, `<`, `<=`, `<>`, `=`, `>`, `>=`, `AND`, `BETWEEN`, `CONTAINS`, `ENDS_WITH`, `HAS_ALL_BITS`, `HAS_BITS`, `IN`, `ISNIL`, `ISNULL`, `IS_NIL`, `IS_NOT_NULL`, `IS_NULL`, `NIL`, `NNIL`, `NNULL`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_HAS_ALL_BITS`, `NOT_HAS_BITS`, `NOT_IN`, `NOT_NULL`, `NOT_REGEX`, `NOT_STARTS_WITH`, `NULL`, `OR`, `REGEX`, `STARTS_WITH`, `^LAST_[+-]?[0-9]+_[A-Za-z]+$`\n\n## Builder DSL operand kinds (5)\n`ARG`, `FIELD`, `PARAM`, `QUERY`, `VALUE`\nAPI Filter DSL has its own predicate vocabulary, request envelope and bit-mask semantics; do not substitute Builder syntax.\n\n## Editor/CLI diagnostic rule IDs (79)\n`API-1`, `API-2`, `ARG-1`, `ARG-2`, `ARG-3`, `ARG-4`, `ARG-5`, `ARG-6`, `ARG-7`, `COL-1`, `CONN-0`, `CONN-1`, `CONN-2`, `CONN-3`, `CONN-4`, `CONN-5`, `CTX-1`, `CTX-2`, `CTX-3`, `DEP-1`, `DRIFT-1`, `DUP-1`, `DUP-3`, `DUP-4`, `DUP-5`, `FFE-0`, `FFE-1`, `FFE-10`, `FFE-11`, `FFE-12`, `FFE-13`, `FFE-14`, `FFE-2`, `FFE-3`, `FFE-4`, `FFE-5`, `FFE-6`, `FFE-7`, `FFE-8`, `FFE-9`, `FLOW-3`, `FLOW-4`, `FLOW-5`, `FLOW-6`, `FLOW-7`, `FLOW-8`, `MDI-1`, `OVW-1`, `PLK-1`, `PLK-2`, `QDSL-1`, `REF-1`, `REF-13`, `REF-15`, `REF-16`, `REF-2`, `REF-3`, `REF-5`, `REF-6`, `REF-7`, `REF-9`, `REF-K1`, `REF-K2`, `RET-1`, `STEP-1`, `STEP-2`, `STEP-3`, `TBL-1`, `TBL-2`, `TBL-3`, `TBL-4`, `TBL-5`, `TBL-6`, `TBL-7`, `UNIMP-1`, `VAR-1`, `VAR-2`, `VAR-3`, `VAR-4`\nUse `hexasync_explain_rule` for diagnostic meaning and consequences.\n\n## Catalog systems with connector codes (16)\n- KiotViet \u2014 `kiotviet`\n- Lazada \u2014 `lazada`\n- Lightspeed X Series \u2014 `lightspeed-x-series`\n- Misa AMIS RPA \u2014 `misa-amis-frontend`\n- Misa AMIS \u2014 `misa-amis`\n- Sapo Omni V3 \u2014 `sapo-omni-v3`\n- Shopee \u2014 `shopee`\n- Shopify Custom App \u2014 `shopify-custom-app`\n- Shopify \u2014 `shopify-public-app`\n- Shopline Private App \u2014 `shopline-private-app`\n- Shopline \u2014 `shopline`\n- TikTok Shop (Gateway V3) \u2014 `tiktokshop`\n- TikTok Shop \u2014 `tiktokshop`\n- WooCommerce \u2014 `woocommerce`\n- Xero \u2014 `v2/xero`\n- Zalo \u2014 `zalo`\n\n## Catalog systems without a supported connector code (8)\n- Anchanto OMS (SelluSeller)\n- Brightpearl\n- Lightspeed X Series (Gateway V2)\n- MeInvoice\n- Packhai OMS\n- Wix\n- Zendesk\n- Zoho Desk\nCatalog presence does not create an executable connector or an authentication scheme.\n\n## Actual MCP retrieval\n\n- `resources/list` and `resources/read` expose the component pages and shipped schema data without a private source checkout.\n- `hexasync_explain_type` reads [step inputs](hexasync://assets/steps/inputs.json) and [step results](hexasync://assets/steps/outputs.json); read the component page for conditional output branches.\n- `hexasync_explain_position` describes the static authoring position; use the context page for host/stage availability.\n- `hexasync_search_examples` reads [1299 authored YAML examples](hexasync://assets/docs/examples.json), including their surrounding explanation and component page. Fragments are not necessarily complete profiles or successful-input examples. Connector identity is not guessed.\n- `hexasync_list_connectors` reads the [connector catalog](hexasync://assets/connectors/catalog.json); use existing workspace identities rather than inventing IDs.\n- This server never calls the gateway. Webhook resources, captured deliveries and replay are tools of the separately signed-in hosted Gateway MCP; read the [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS/gateway-mcp-webhook-workflow) before asking the user.\n- [Root schema](hexasync://assets/main.json) reaches component item contracts. The [full knowledge index](hexasync://index) is the navigation entry.\n",canonicalAssetText:"<!-- GENERATED KNOWLEDGE INDEX \u2014 DO NOT EDIT. Run `yarn ai:index`. -->\n# HexaSync Profile Template Knowledge Base\n\n**Asset bundle 115 \xB7 extension 2612.3.4.**\n\n## Authoring boundaries\n\n- Worker Workflow steps and frontend creation/setup steps are different domains. Shared names do not make their payloads or execution interchangeable.\n- For grouped frontend `getReadyFlows`, start with [Frontend workflows](hexasync://docs/frontend/FRONTEND-FLOWS); flow `key` and `dependsOn` references match `^[A-Z][A-Z0-9_]*$` with at most 128 characters. Use `runtime: frontend` for type lookup and `frontend-step` for expression position. Omitted runtime keeps worker meaning.\n- Use actual existing component and provider identities. Resolution and unresolved outcomes belong to each component contract.\n- Context roots depend on the workflow host and execution stage. A legal authoring root is not a promise that it exists at entry.\n- Examples explain inputs, prerequisites and expected effects.\n- This index is a retrieval map. Read the linked component page for defaults, precedence, variants and failure behavior.\n\n## Component pages\n\n| question | reference |\n| --- | --- |\n| root collections, identities and includes | [Profile root](hexasync://docs/PROFILE-ROOT) |\n| frontend creation/setup/authorization steps and connector definitions | [Frontend steps](hexasync://docs/PROFILE-ROOT#frontend-steps-creationsteps-setupsteps-authorizationsteps), [Connector definition](hexasync://docs/PROFILE-ROOT#connector-definition-document) |\n| 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](hexasync://docs/frontend/FRONTEND-FLOWS) |\n| save task/reference row changes, preview, health, repair, per-row outcomes and coded refusals; unreleased worker.proxy PR #78 deployment gate | [Data routes](hexasync://docs/frontend/FRONTEND-FLOWS#task-and-reference-data-changes), [RECORDS_FORM change set](hexasync://docs/frontend/FRONTEND-FLOWS#records_form-change-set-path), [File import](hexasync://docs/frontend/FRONTEND-FLOWS#file-import-path) |\n| Workflow selection, envelope, argument placement and flags | [Step envelope](hexasync://docs/steps/STEP-ENVELOPE) |\n| host/stage context, Scriban, JSONata and expression call sites | [Expressions and context](hexasync://docs/expressions/CONTEXT-AND-IO) |\n| next targets, branches, termination and loop guards | [Routing](hexasync://docs/routing/NEXT) |\n| response parsers and site-specific result handling | [Response filters](hexasync://docs/responseFilters/RESPONSE-FILTERS) |\n| Builder DSL versus API Filter DSL; v2 next/prev cursors, invalid_cursor and single-page VALUE MAX/MIN | [QueryDSL](hexasync://docs/query-dsl/QUERY-DSL), [Entity V2 cursors](hexasync://docs/query-dsl/QUERY-DSL#entity-v2-flat-fields-and-working-cursors) |\n| connection binding, options, auth and HTTP request builders | [Connections](hexasync://docs/connections/CONNECTIONS), [API](hexasync://docs/steps/API) |\n| self connector identity (`**SelfConnectorProviderId**`, `IS_SELF_CONNECTOR`) and why `CONN-1` names it | [The self connector](hexasync://docs/connections/CONNECTIONS#its-identity-and-why-conn-1-names-it) |\n| pulling, pushing, ingress and startup hosts | [Pullers](hexasync://docs/pullers/PULLERS), [Pushers](hexasync://docs/pushers/PUSHERS), [Webhooks](hexasync://docs/webhooks/WEBHOOKS), [Startup](hexasync://docs/startupTasks/STARTUP-TASKS) |\n| creating/binding gateway webhooks, captured delivery payloads as samples, replay limits, hosted Gateway MCP sign-in | [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS#gateway-mcp-webhook-workflow) |\n| How do I decide incremental vs full pull for an entity, validate its watermark, resume and terminate safely, classify API failures, and reconcile deletions? | [Puller completeness contract](hexasync://docs/pullers/PULLERS#puller-completeness-contract), [Entity classification](hexasync://docs/pullers/PULLERS#entity-classification) |\n| endpoint filter/anchor/page-size facts, watermark boundary inclusivity, timezone and overlap, natural-key ordering and ties, request budget and 429 handling | [Earn endpoint request facts](hexasync://docs/pullers/PULLERS#earn-endpoint-request-facts), [Watermark boundary validation](hexasync://docs/pullers/PULLERS#watermark-boundary-validation), [Natural-key ordering and ties](hexasync://docs/pullers/PULLERS#natural-key-ordering-and-ties), [Request budget and throttling](hexasync://docs/pullers/PULLERS#request-budget-and-throttling) |\n| 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](hexasync://docs/pullers/PULLERS#deletion-reconciliation-through-a-periodic-full-run), [One schedule per job type](hexasync://docs/startupTasks/STARTUP-TASKS#one-schedule-per-job-type), [Periodic processing through a trigger task](hexasync://docs/startupTasks/STARTUP-TASKS#periodic-processing-through-a-trigger-task), [Choosing pull and enqueue cadence](hexasync://docs/startupTasks/STARTUP-TASKS#choosing-pull-and-enqueue-cadence) |\n| mapping API/event members to snake_case columns before saving, explicit destination bodies | [Explicit field mapping](hexasync://docs/steps/SAVE_TASK_DATA#explicit-field-mapping), [Explicit mapping for push](hexasync://docs/transformations/TRANSFORMATIONS#explicit-mapping-for-push) |\n| classifying HTTP status, thrown calls and invalid envelopes into one error code without one step per error class | [Classify once, raise once](hexasync://docs/steps/Error#classify-once-raise-once) |\n| several vendor accounts, credential scope per connection, shared provider quota | [One connection, one credential scope](hexasync://docs/connections/CONNECTIONS#one-connection-one-credential-scope) |\n| webhook signature, raw body, acknowledgement, multi-event deliveries, partial payloads, registration health | [Provider webhook authoring standards](hexasync://docs/webhooks/WEBHOOKS#provider-webhook-authoring-standards), [Worked sample](hexasync://docs/webhooks/WEBHOOKS#worked-sample-a-signed-credential-scope-delivery) |\n| immediate startup pull, scheduler setup and first-reconcile defaults | [Typed scheduler](hexasync://docs/startupTasks/STARTUP-TASKS#scheduler-metadata), [Legacy scheduler initialization](hexasync://docs/startupTasks/STARTUP-TASKS#legacy-scheduler-initialization), [Dashboard versus execution](hexasync://docs/startupTasks/STARTUP-TASKS#dashboard-presentation-versus-execution) |\n| task binding, dependency gates and physical storage | [Objects](hexasync://docs/objects/object), [Associations](hexasync://docs/objectAssociations/OBJECT-ASSOCIATIONS), [Dependencies](hexasync://docs/dependencies/DEPENDENCIES), [Tasks](hexasync://docs/tasks/TASKS-AND-TABLES), [Tables](hexasync://docs/tables/TABLES) |\n| transformation order, item context, abort/no-op and executor outcomes | [Transformation chain](hexasync://docs/transformations/TRANSFORMATIONS#transformation-chain-contract) |\n| stored SQL validity versus per-item diagnostics | [Validations](hexasync://docs/validations/VALIDATIONS) |\n| metric readers, handlers, scoring and reports | [Metrics](hexasync://docs/metrics/METRICS_REFERENCE), [Reports](hexasync://docs/reports/REPORTS) |\n| one worker executor and its alternatives | [Worker step index](hexasync://docs/steps/INDEX) |\n\n## Collections: root declaration shapes\n\n- `connectors` \u2014 array of connections/connection\n- `contributors` \u2014 array of contributor\n- `dependencies` \u2014 array of dependencies/dependency\n- `externals` \u2014 array of externals\n- `metricGroups` \u2014 array of metrics/metricGroup\n- `objectAssociations` \u2014 map of objectAssociations/objectAssociation\n- `objects` \u2014 array of objects/object\n- `pullers` \u2014 array of pullers/puller\n- `pushers` \u2014 array of pushers/pusher\n- `reports` \u2014 array of reports/report\n- `startupTasks` \u2014 array of startupTasks/startupTask\n- `tables` \u2014 array of tables/table\n- `transformations` \u2014 map of arrays of transformations/transformation\n- `validations` \u2014 map of arrays of validations/validation\n- `webhooks` \u2014 array of webhooks/Webhook\n\n## Worker executable authoring choices (42)\n`API`, `BASE64_TO_MIME_TYPE`, `CACHE`, `CHECK_FORMAT`, `DIRECT_INDEX`, `DOWNLOAD_CSV`, `ENQUEUER`, `EXCEL_READER`, `EXCEPTION`, `Error`, `FORWARD`, `GET_KEY_VALUE`, `IF`, `IGNORE_ITEM`, `INVALIDATE_CACHE`, `JSONata`, `LOOKUP_STEP`, `METRIC_QUERY`, `PUBLISH_EVENT`, `PULLER`, `PUSHER`, `QUERY_MANY`, `QUERY_METRICS`, `QUERY_SINGLE`, `REMOVE_DATA`, `RESET_ITEM`, `RESOLVE_RAW_DATA`, `SAVE_TASK_DATA`, `SEED_DATA`, `SET_KEY_VALUE`, `SLEEP`, `SQL`, `SQL_PROXY`, `SWITCH`, `Scriban`, `TRACK_FOR_REMOVAL`, `UPDATE_ITEM_STATUS`, `UPDATE_ITEM_SYNC_PROCESS`, `UPDATE_TASK_DATA_STATUS`, `VALUES`, `VERIFY_CACHED`, `WEBHOOK_FORWARD`\n\nRegistered but throwing (9): `Begin`, `Composite`, `End`, `GraphQL`, `Liquid`, `OData`, `QueryDSL`, `Restful`, `cURL`. Read their rejected forms and actual alternatives through the worker step index.\n\n## Frontend declaration vocabulary (23)\n`API`, `API_PROXY`, `BROWSER`, `FAIL`, `FORM`, `GATEWAY_API`, `GET_LOCAL_STORAGE`, `HEALTH_CHECK_WORKER`, `IF`, `INTEGRATION_APP_MANAGEMENT`, `JSONATA`, `LIQUID`, `MULTIPLE_CHOICE_FORM`, `READ_QUERIES`, `RECORDS_FORM`, `REDIRECT`, `RETURN`, `SELECT_GOOGLE_DRIVE`, `SET_LOCAL_STORAGE`, `SHOW_INFO`, `SINGLE_CHOICE_FORM`, `SWITCH`, `WAIT`\n\n## Transformation authoring vocabulary (12)\n`BulkClone`, `BulkRename`, `Clone`, `Jsonata`, `Nested_SQL`, `None`, `QUERY_MANY`, `QUERY_SINGLE`, `RESOLVE_RAW_DATA`, `Rename`, `SQL`, `Scriban`\n`None` is [disabled](hexasync://docs/transformations/TRANSFORMATIONS#none--disabled-versus-absent-discriminator). `RenameDependency` is [declared but unimplemented](hexasync://docs/transformations/TRANSFORMATIONS#renamedependency--declared-but-unimplemented) and is not an accepted authoring discriminator.\n\n## Supported validation vocabulary (23)\n`BETWEEN`, `CONTAIN`, `END_WITH`, `EQUAL`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `IN`, `IS_EMPTY`, `IS_NULL`, `LENGTH`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `MAX_LENGTH`, `MIN_LENGTH`, `NOT_CONTAIN`, `NOT_EMPTY`, `NOT_END_WITH`, `NOT_EQUAL`, `NOT_IN`, `NOT_NULL`, `NOT_START_WITH`, `REGEX`, `START_WITH`\nDeclaration-only members and datetime deployment prerequisites are explained on the validations page.\n\n## Builder DSL operators (35)\n`!=`, `<`, `<=`, `<>`, `=`, `>`, `>=`, `AND`, `BETWEEN`, `CONTAINS`, `ENDS_WITH`, `HAS_ALL_BITS`, `HAS_BITS`, `IN`, `ISNIL`, `ISNULL`, `IS_NIL`, `IS_NOT_NULL`, `IS_NULL`, `NIL`, `NNIL`, `NNULL`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_HAS_ALL_BITS`, `NOT_HAS_BITS`, `NOT_IN`, `NOT_NULL`, `NOT_REGEX`, `NOT_STARTS_WITH`, `NULL`, `OR`, `REGEX`, `STARTS_WITH`, `^LAST_[+-]?[0-9]+_[A-Za-z]+$`\n\n## Builder DSL operand kinds (5)\n`ARG`, `FIELD`, `PARAM`, `QUERY`, `VALUE`\nAPI Filter DSL has its own predicate vocabulary, request envelope and bit-mask semantics; do not substitute Builder syntax.\n\n## Editor/CLI diagnostic rule IDs (79)\n`API-1`, `API-2`, `ARG-1`, `ARG-2`, `ARG-3`, `ARG-4`, `ARG-5`, `ARG-6`, `ARG-7`, `COL-1`, `CONN-0`, `CONN-1`, `CONN-2`, `CONN-3`, `CONN-4`, `CONN-5`, `CTX-1`, `CTX-2`, `CTX-3`, `DEP-1`, `DRIFT-1`, `DUP-1`, `DUP-3`, `DUP-4`, `DUP-5`, `FFE-0`, `FFE-1`, `FFE-10`, `FFE-11`, `FFE-12`, `FFE-13`, `FFE-14`, `FFE-2`, `FFE-3`, `FFE-4`, `FFE-5`, `FFE-6`, `FFE-7`, `FFE-8`, `FFE-9`, `FLOW-3`, `FLOW-4`, `FLOW-5`, `FLOW-6`, `FLOW-7`, `FLOW-8`, `MDI-1`, `OVW-1`, `PLK-1`, `PLK-2`, `QDSL-1`, `REF-1`, `REF-13`, `REF-15`, `REF-16`, `REF-2`, `REF-3`, `REF-5`, `REF-6`, `REF-7`, `REF-9`, `REF-K1`, `REF-K2`, `RET-1`, `STEP-1`, `STEP-2`, `STEP-3`, `TBL-1`, `TBL-2`, `TBL-3`, `TBL-4`, `TBL-5`, `TBL-6`, `TBL-7`, `UNIMP-1`, `VAR-1`, `VAR-2`, `VAR-3`, `VAR-4`\nUse `hexasync_explain_rule` for diagnostic meaning and consequences.\n\n## Catalog systems with connector codes (16)\n- KiotViet \u2014 `kiotviet`\n- Lazada \u2014 `lazada`\n- Lightspeed X Series \u2014 `lightspeed-x-series`\n- Misa AMIS RPA \u2014 `misa-amis-frontend`\n- Misa AMIS \u2014 `misa-amis`\n- Sapo Omni V3 \u2014 `sapo-omni-v3`\n- Shopee \u2014 `shopee`\n- Shopify Custom App \u2014 `shopify-custom-app`\n- Shopify \u2014 `shopify-public-app`\n- Shopline Private App \u2014 `shopline-private-app`\n- Shopline \u2014 `shopline`\n- TikTok Shop (Gateway V3) \u2014 `tiktokshop`\n- TikTok Shop \u2014 `tiktokshop`\n- WooCommerce \u2014 `woocommerce`\n- Xero \u2014 `v2/xero`\n- Zalo \u2014 `zalo`\n\n## Catalog systems without a supported connector code (8)\n- Anchanto OMS (SelluSeller)\n- Brightpearl\n- Lightspeed X Series (Gateway V2)\n- MeInvoice\n- Packhai OMS\n- Wix\n- Zendesk\n- Zoho Desk\nCatalog presence does not create an executable connector or an authentication scheme.\n\n## Actual MCP retrieval\n\n- `resources/list` and `resources/read` expose the component pages and shipped schema data without a private source checkout.\n- `hexasync_explain_type` reads [step inputs](hexasync://assets/steps/inputs.json) and [step results](hexasync://assets/steps/outputs.json); read the component page for conditional output branches.\n- `hexasync_explain_position` describes the static authoring position; use the context page for host/stage availability.\n- `hexasync_search_examples` reads [1299 authored YAML examples](hexasync://assets/docs/examples.json), including their surrounding explanation and component page. Fragments are not necessarily complete profiles or successful-input examples. Connector identity is not guessed.\n- `hexasync_list_connectors` reads the [connector catalog](hexasync://assets/connectors/catalog.json); use existing workspace identities rather than inventing IDs.\n- This server never calls the gateway. Webhook resources, captured deliveries and replay are tools of the separately signed-in hosted Gateway MCP; read the [Gateway MCP webhook workflow](hexasync://docs/webhooks/WEBHOOKS#gateway-mcp-webhook-workflow) before asking the user.\n- [Root schema](hexasync://assets/main.json) reaches component item contracts. The [full knowledge index](hexasync://index) is the navigation entry.\n"},{uri:"hexasync://docs/connections/CONNECTIONS",name:"docs/connections/CONNECTIONS",title:"Connections and connectors",description:"Syntax. A profile declares connections as a list under connectors: (the legacy spelling connections: is still read):",mimeType:"text/markdown",text:`# Connections and connectors
|
|
82273
82273
|
|
|
82274
82274
|
> Addressable through the MCP as **\`hexasync://docs/connections/CONNECTIONS\`**.
|
|
82275
82275
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beehexa/hexasync-template-ide-mcp",
|
|
3
|
-
"version": "2612.3.
|
|
3
|
+
"version": "2612.3.4",
|
|
4
4
|
"description": "HexaSync Template IDE MCP server: HexaSync profile template knowledge, examples and validation for any MCP client over stdio. Run with npx -y @beehexa/hexasync-template-ide-mcp@<version>, pinned to your toolkit release.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"build": "node build.mjs"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@beehexa/hexasync-template-agent-core": "2612.3.
|
|
58
|
-
"@beehexa/hexasync-template-compose": "2612.3.
|
|
59
|
-
"@beehexa/hexasync-template-frontend-flow": "2612.3.
|
|
60
|
-
"@beehexa/hexasync-template-index": "2612.3.
|
|
61
|
-
"@beehexa/hexasync-template-io-node": "2612.3.
|
|
62
|
-
"@beehexa/hexasync-template-model": "2612.3.
|
|
63
|
-
"@beehexa/hexasync-template-ports": "2612.3.
|
|
64
|
-
"@beehexa/hexasync-template-validate": "2612.3.
|
|
57
|
+
"@beehexa/hexasync-template-agent-core": "2612.3.4",
|
|
58
|
+
"@beehexa/hexasync-template-compose": "2612.3.4",
|
|
59
|
+
"@beehexa/hexasync-template-frontend-flow": "2612.3.4",
|
|
60
|
+
"@beehexa/hexasync-template-index": "2612.3.4",
|
|
61
|
+
"@beehexa/hexasync-template-io-node": "2612.3.4",
|
|
62
|
+
"@beehexa/hexasync-template-model": "2612.3.4",
|
|
63
|
+
"@beehexa/hexasync-template-ports": "2612.3.4",
|
|
64
|
+
"@beehexa/hexasync-template-validate": "2612.3.4",
|
|
65
65
|
"@modelcontextprotocol/server": "2.3.0",
|
|
66
66
|
"ajv": "^8.17.1",
|
|
67
67
|
"esbuild": "0.28.1",
|