|
| 1 | +# Next Steps — Session Backlog |
| 2 | + |
| 3 | +**Date:** 2026-03-19 |
| 4 | +**Thread context:** Package rename, Vercel deployment, licensing migration, SPDX headers |
| 5 | + |
| 6 | +--- |
| 7 | + |
| 8 | +## Status snapshot |
| 9 | + |
| 10 | +| Area | Status | |
| 11 | +|---|---| |
| 12 | +| Package rename → `@cacheplane/*` | ✅ Done | |
| 13 | +| Vercel CI deployment | ✅ Done | |
| 14 | +| Tailwind CSS production styling | ✅ Done | |
| 15 | +| Licensing → PolyForm Noncommercial 1.0.0 | ✅ Done | |
| 16 | +| SPDX headers on source files | ✅ Done | |
| 17 | +| Session docs committed | ✅ Done | |
| 18 | +| npm publish | ⏳ Blocked — needs npm org + token | |
| 19 | +| LangSmith deployment | ⏳ Blocked — needs LangGraph Cloud access | |
| 20 | +| `NEXT_PUBLIC_LANGGRAPH_URL` in Vercel | ⏳ Blocked — depends on LangSmith | |
| 21 | + |
| 22 | +--- |
| 23 | + |
| 24 | +## Item 1 — npm Publish |
| 25 | + |
| 26 | +**Blocked on:** `@cacheplane` npm org + `NPM_TOKEN` GitHub secret |
| 27 | + |
| 28 | +### What Brian needs to do first |
| 29 | +1. Create the `@cacheplane` org at https://www.npmjs.com/org/create |
| 30 | +2. Mint an automation token at npmjs.com → Account Settings → Access Tokens |
| 31 | +3. Add token to GitHub repo as secret `NPM_TOKEN` |
| 32 | + |
| 33 | +### What we implement together |
| 34 | +- Add `"files": ["dist", "README.md", "LICENSE", "NOTICE"]` to `packages/mcp/package.json` |
| 35 | +- Verify `libs/stream-resource` build output includes the right files |
| 36 | +- Dry-run publish both packages |
| 37 | +- Publish `@cacheplane/stream-resource` and `@cacheplane/stream-resource-mcp` |
| 38 | +- Add a CI `publish` job triggered on `v*.*.*` tags |
| 39 | + |
| 40 | +**Reference:** `docs/superpowers/plans/2026-03-19-npm-publish.md` |
| 41 | + |
| 42 | +--- |
| 43 | + |
| 44 | +## Item 2 — LangSmith / LangGraph Cloud Deployment |
| 45 | + |
| 46 | +**Blocked on:** LangGraph Cloud access (LangSmith Plus or Enterprise plan) |
| 47 | + |
| 48 | +### What Brian needs to do first |
| 49 | +1. Upgrade LangSmith account to a plan that includes LangGraph Cloud |
| 50 | +2. Confirm at smith.langsmith.com → your org → Deployments |
| 51 | +3. Provide `LANGSMITH_API_KEY` (or confirm it's in `examples/chat-agent/.env`) |
| 52 | +4. Decide which `OPENAI_API_KEY` to use for the production deployment |
| 53 | + |
| 54 | +### What we implement together |
| 55 | +- Run `langgraph deploy` from `examples/chat-agent/` |
| 56 | +- Note the deployed URL and confirm `chat_agent` assistant ID |
| 57 | +- Set runtime env vars in LangSmith dashboard (`OPENAI_API_KEY`, etc.) |
| 58 | + |
| 59 | +**Reference:** `docs/superpowers/plans/2026-03-19-langsmith-deployment.md` |
| 60 | + |
| 61 | +--- |
| 62 | + |
| 63 | +## Item 3 — `NEXT_PUBLIC_LANGGRAPH_URL` in Vercel |
| 64 | + |
| 65 | +**Blocked on:** Item 2 (need the deployed LangGraph Cloud URL first) |
| 66 | + |
| 67 | +### Steps (after LangSmith deployment) |
| 68 | +1. Vercel Dashboard → cacheplane / stream-resource → Settings → Environment Variables |
| 69 | +2. Add `NEXT_PUBLIC_LANGGRAPH_URL` = `https://<your-langgraph-cloud-url>` |
| 70 | +3. Set for: Production + Preview + Development |
| 71 | +4. Trigger a redeploy |
| 72 | +5. Verify live demo at https://stream-resource.dev streams real responses |
| 73 | + |
| 74 | +--- |
| 75 | + |
| 76 | +## Order of operations |
| 77 | + |
| 78 | +``` |
| 79 | +Brian: create npm org + token |
| 80 | + └─> We: npm publish both packages |
| 81 | +
|
| 82 | +Brian: upgrade LangSmith plan |
| 83 | + └─> We: langgraph deploy |
| 84 | + └─> We: set NEXT_PUBLIC_LANGGRAPH_URL in Vercel |
| 85 | + └─> Live demo works in production |
| 86 | +``` |
| 87 | + |
| 88 | +Items 1 and 2 are independent and can be done in parallel. |
0 commit comments