Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

# Turns on the AI pre-fill, plan explanations, the evals and the source checker. Claude is the default.
ANTHROPIC_API_KEY=
# ANTHROPIC_AUTH_TOKEN= also works in its place.

# Optional: OpenAI or Gemini as the built-in AI instead, picked in Connect or the Ask panel.
OPENAI_API_KEY=
GEMINI_API_KEY=
# GOOGLE_API_KEY= also works for Gemini.
# OPENAI_MODEL=gpt-6-luna
# GEMINI_MODEL=gemini-3.8-flash

Expand All @@ -17,6 +19,7 @@ GEMINI_API_KEY=
# STACKWISE_EFFORT=low
# STACKWISE_AI_LIMIT_PER_HOUR=30
# STACKWISE_AI=off
# STACKWISE_PAIRING=off turns off pairing with coding agents and everything that writes files.
# Pairing with a coding agent: how long one wait_for_message call waits (max 240 seconds), and
# how many quiet minutes before the agent stops listening.
# STACKWISE_PAIR_WAIT_S=240
Expand Down
4 changes: 2 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# StackWise: orientation for Claude sessions

Planning tool for beginners building web apps with AI builders. A deterministic rules engine checks every connection in a stack against sourced facts, ranks what works, and hands the plan to coding agents over MCP (build tasks, test plans, a project pack). Optional Claude features read descriptions, explain plans and keep facts fresh. It runs on this computer only: a web app on 127.0.0.1:4310, wrapped as a Mac app by `electron/`, with plans and the profile in `~/.stackwise`. Next.js 16 + React 19 + React Flow 12, TypeScript, Zod 4, Vitest 4, Anthropic SDK 0.125, pnpm 12. Styles come from Michael's mk-ui (`src/styles/mk-ui.css`, copied from `Projects/mk-ui`), re-themed to an Apple look by `src/styles/theme-apple.css` (system font, glass, light and dark from the system).
Planning tool for beginners building web apps with AI builders. A deterministic rules engine checks every connection in a stack against sourced facts, ranks what works, and hands the plan to coding agents over MCP (build tasks, test plans, a project pack). Optional Claude features read descriptions, explain plans and keep facts fresh. It runs on this computer only: a web app on 127.0.0.1:4310, wrapped as a Mac app by `electron/`, with plans and the profile in `~/.stackwise`. Next.js 16 + React 19 + React Flow 12, TypeScript, Zod 4, Vitest 4, Anthropic SDK 0.125, pnpm 12. Styles come from Michael's mk-ui (`src/styles/mk-ui.css`, copied from the mk-ui design system), re-themed to an Apple look by `src/styles/theme-apple.css` (system font, glass, light and dark from the system).

## Commands

- `pnpm dev` runs on port 4310 (hub launch config name: `stackwise`)
- `pnpm dev` runs on port 4310 (`.claude/launch.json` config: `stackwise`)
- `pnpm test`, `pnpm check:data`, `pnpm typecheck`, `pnpm lint`, `pnpm build`
- `pnpm check:options -- --id <id,id>` checks single option files without loading the catalog (safe while others write data)
- `pnpm eval:prefill`, `pnpm eval:plain-llm`, `pnpm check:sources [--apply]`, `pnpm draft:option -- ...` (these call Claude; they read `.env.local`)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ StackWise lives in the menu bar. Its server runs at `http://127.0.0.1:4310` whil

### From source

You need Node 22.9 or newer and pnpm.
You need Node 22.9 or newer and pnpm 12 (`corepack enable` sets it up from `package.json`).

```bash
git clone https://github.com/Mikey-Ku/StackWise.git stackwise && cd stackwise
Expand All @@ -47,7 +47,7 @@ pnpm dev
Open http://localhost:4310. Then, if you like:

```bash
pnpm link --global # adds the `stackwise` command
pnpm link --global # adds the `stackwise` command (run `pnpm setup` once first on a new machine)
stackwise setup # once: connects Claude Code to StackWise
stackwise # in any project folder: starts StackWise in the background and opens that project's plan
stackwise stop
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"vitest": "^4.1.11"
},
"packageManager": "pnpm@12.3.4",
"engines": { "node": ">=22.9" },
"bin": {
"stackwise": "bin/stackwise"
},
Expand Down
Loading