master-zapier-plan-draft/research/zapier/RESTART.md
George Lambert b4150c8250 Milestone 0: import zappier billing, Verae middleware, and Zapier research
Compose-ready workspace: packages/zappier (rate card, portal, Stripe),
packages/verae-zapier-middleware (timestamp + NATS), packages/verae-zapier
(CLI app), vendor/zapier-platform, and research/zapier vendor corpus.

Gate 0 structure checks pass. Product code and research are not yet wired.
2026-09-09 02:37:36 -04:00

1.3 KiB

Restart Grok for this Zapier workspace

1. Leave the TUI

In Grok type:

/quit

(/exit is the same.) Do not use /new — that throws away this session.

2. Run the restart script from a normal shell

cd /Users/marchon/research/zapier
./scripts/restart-grok.sh

That script:

  1. cds to this repo
  2. Puts zapier-platform / zapier-sdk on PATH
  3. Loads ~/.mcp-env (Mongo URI)
  4. Starts scripts/mongo-tunnel.sh if 127.0.0.1:27017 is down
  5. Runs grok --resume (latest session for this directory)

3. After Grok opens

/mcps

Press r to refresh. Confirm mongodb is connected.

Then continue:

/zapier-build

or ask Grok to load:

db.platform_reference.findOne({ kind: "guide", key: "build-new-connector" })

Other scripts

Script What it does
scripts/restart-grok.sh Tunnel + grok --resume
scripts/ensure-mongo-tunnel.sh Start tunnel only
scripts/mongo-tunnel.sh Raw ssh -N -L 27017:… ns1 (foreground)
scripts/dev-env.sh source this for PATH + Mongo URI
scripts/zapier-status.sh Check tunnel, CLIs, login, Mongo count
./scripts/zapier-status.sh

Browser logins (optional, for push / live SDK): see LOGIN.md.