Commit Graph
3 Commits
Author SHA1 Message Date
Himanshu-Sangshetti 00aa647f78 chore(integrations): use pnpm, real Mem0 icon, fix Zapier field defaults
- Switch both packages from npm to pnpm (pnpm-lock.yaml) to match the
  repo convention (openclaw / pi-agent-plugin / vercel-ai-sdk); gitignore
  package-lock.json.
- Replace the placeholder n8n node icon with the real Mem0 mark (same
  asset used by integrations/mem0-plugin).
- Zapier: revert boolean/integer field defaults to strings — Zapier's
  schema requires string defaults (zapier validate now passes with 0
  errors). Runtime coercion (String(x)!=='false', Number()) is unchanged.
2026-07-20 11:55:29 +05:30
Himanshu-Sangshetti e66e97b725 fix(integrations): address code-review findings
n8n: throw on FAILED memory events (was silently returned), poll on any
non-terminal status (PENDING or RUNNING), use top_k (not limit) for
search, coerce search/getAll responses to arrays, guard invalid-JSON
metadata, reject empty updates, mark user_id required; lint clean.

Zapier: coerce boolean fields (String(x) !== 'false') + boolean defaults
so "Wait"/"Infer = No" are honored, throw on HTTP >= 400 (was silent
empty/fake-success), throw on FAILED events, use top_k, numeric coercion
with clamping, mark user_id required.
2026-07-20 11:55:29 +05:30
Himanshu-Sangshetti 9882eea7b8 feat(integrations): add Zapier integration for Mem0
Zapier Platform CLI app (zapier-mem0) with Add Memory / Delete Memory
creates and Search Memories / Get Memories searches against the Mem0 v3
API. Custom API-key auth (Authorization: Token), base-URL + auth
injected via beforeRequest middleware, non-2xx surfaced as errors.

Add Memory polls GET /v1/event/{id}/ for async extraction. Includes an
E2E test suite via createAppTester.
2026-07-20 11:55:29 +05:30