master-zapier-plan-draft/docs/00-sources/RESTART.md
George Lambert 85b5b53ea9
Some checks are pending
offline / test (push) Waiting to run
Fix catalog book links and rewrite PDF destinations to live HTTPS.
Module and model book cards now point at generated index.html/index.pdf
instead of directory URLs that 404. WeasyPrint file:// annotations are
mapped to https://zapier.georgelambert.org/ paths that exist. Developer
module, architecture, and research snapshot links target published files.
2026-09-11 22:50:00 -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.