A Garden Stack–compliant Shopify app that gives every store its own Presence Node:
- powered by a Pattern Engine,
- wrapped in a store-specific Identity Layer,
- running explicit Modes instead of a vague “AI chatbot.”
This repository implements the Shopify Presence Node described in docs/shopify-presence-node.md.
- Pattern Engine –
src/engine/* - Presence Node –
src/shopify/*,src/api/*,src/ui-admin/* - Identity Layer –
src/identity/* - Modes –
src/modes/*(Support + Merchant-Codex) - Frames – expressed through docs/UI wording (not stored)
- Message arrives (customer or merchant) via Shopify Presence Node.
- App resolves
shopIdvia Shopify auth and loads its Identity Layer. - Mode is selected (
supportormerchant-codex). - Mode builds a structured prompt and calls the Pattern Engine.
- Engine returns raw content.
- Identity Layer shapes the result (tone, rituals, templates).
- Response is returned to customer or merchant UI.
See docs/shopify-presence-node.md for the full spec.
- Presence Node spec —
docs/shopify-presence-node.md - Changelog —
docs/changelog.md - Merchant Guide —
docs/shopify/presence-node-for-merchants.md
pnpm install
pnpm devConfigure .env from .env.example with Shopify + engine keys.