Skip to content

Commit 66e5bc8

Browse files
committed
Revert "🤖 docs: generate first-class models table from knownModels.ts (#948)"
This reverts commit eb52bd4.
1 parent eb52bd4 commit 66e5bc8

File tree

13 files changed

+79
-204
lines changed

13 files changed

+79
-204
lines changed

‎docs/AGENTS.md‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ gh pr view <number> --json mergeable,mergeStateStatus | jq '.'
3636

3737
## Documentation Rules
3838

39-
- No free-floating Markdown. User docs live in `docs/` (read `docs/README.mdx`, add pages to `docs.json` navigation, use standard Markdown + mermaid). Developer/test notes belong inline as comments.
39+
- No free-floating Markdown. User docs live in `docs/` (read `docs/README.md`, add pages to `docs.json` navigation, use standard Markdown + mermaid). Developer/test notes belong inline as comments.
4040
- For planning artifacts, use the `propose_plan` tool or inline comments instead of ad-hoc docs.
4141
- Do not add new root-level docs without explicit request; during feature work rely on code + tests + inline comments.
4242
- Test documentation stays inside the relevant test file as commentary explaining setup/edge cases.
@@ -168,10 +168,6 @@ Avoid mock-heavy tests that verify implementation details rather than behavior.
168168
- When Plan Mode is requested, assume the user wants the actual completed plan; do not merely describe how you would devise one.
169169
- Attach a net LoC estimate (product code only) to each recommended approach.
170170

171-
## Model: openai.\*
172-
173-
- Use the `gh` CLI for GitHub operations (e.g., opening/submitting PRs).
174-
175171
## Tool: status_set
176172

177173
- Set status url to the Pull Request once opened

‎docs/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ docs/
2424
├── docs.json # Mintlify configuration (navigation, theme, etc.)
2525
├── custom.css # Custom styling
2626
├── img/ # Images and logos
27-
└── *.mdx # Documentation pages
27+
└── *.md # Documentation pages
2828
```
2929

3030
## Adding Content
3131

32-
1. Create a new `.mdx` file in `docs/`
32+
1. Create a new `.md` file in `docs/`
3333
2. Add frontmatter with title and description
3434
3. Add the page to `docs.json` navigation
3535
4. Use standard markdown + mermaid diagrams
@@ -45,7 +45,7 @@ description: Brief description for SEO
4545

4646
## Writing Guidelines
4747

48-
See [STYLE.mdx](./STYLE.mdx) for documentation writing guidelines.
48+
See [STYLE.md](./STYLE.md) for documentation writing guidelines.
4949

5050
## CI/CD
5151

‎docs/agentic-git-identity.md‎

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ Create a separate GitHub account for your agent:
2626
2. Use a distinctive username (e.g., `yourname-agent`, `yourname-ai`)
2727
3. Use a separate email (GitHub allows plus-addressing: `yourname+ai@example.com`)
2828

29-
<Info>
30-
This is optional but recommended. You can also use your main account with a different email/name.
31-
</Info>
29+
<Info>This is optional but recommended. You can also use your main account with a different email/name.</Info>
3230

3331
## Step 2: Generate Classic GitHub Token
3432

@@ -59,10 +57,7 @@ Add the Git identity environment variables as [Project Secrets](/project-secrets
5957

6058
These environment variables will be automatically injected when the agent runs Git commands in that project.
6159

62-
<Info>
63-
If you need the agent identity outside of mux, you can alternatively set these as global
64-
environment variables in your shell configuration (`~/.zshrc`, `~/.bashrc`, etc.)
65-
</Info>
60+
<Info>If you need the agent identity outside of mux, you can alternatively set these as global environment variables in your shell configuration (`~/.zshrc`, `~/.bashrc`, etc.)</Info>
6661

6762
## Step 4: Configure GitHub Authentication
6863

@@ -106,7 +101,4 @@ git config --global credential.helper ""
106101
git config --global --add credential.helper '!gh auth git-credential'
107102
```
108103

109-
<Warning>
110-
The "replace all" approach will disable platform keychain helpers and may break Git authentication
111-
for non-GitHub remotes (GitLab, Bitbucket, etc.).
112-
</Warning>
104+
<Warning>The "replace all" approach will disable platform keychain helpers and may break Git authentication for non-GitHub remotes (GitLab, Bitbucket, etc.).</Warning>

‎docs/context-management.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,7 @@ Remove oldest 50% of messages.
152152

153153
### OpenAI Responses API Limitation
154154

155-
<Warning>
156-
`/truncate` does not work with OpenAI models due to the Responses API architecture:
157-
</Warning>
155+
<Warning>`/truncate` does not work with OpenAI models due to the Responses API architecture:</Warning>
158156

159157
- OpenAI's Responses API stores conversation state server-side
160158
- Manual message deletion via `/truncate` doesn't affect the server-side state

‎docs/install.md‎

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ Download pre-built binaries of `main` from [GitHub Actions](https://github.com/c
2222
- `macos-dmg-arm64` (Apple Silicon)
2323
- **Linux**: AppImage (portable, works on most distros)
2424

25-
<Info>
26-
Windows builds are only available from [releases](https://github.com/coder/mux/releases), not from
27-
development builds.
28-
</Info>
25+
<Info>Windows builds are only available from [releases](https://github.com/coder/mux/releases), not from development builds.</Info>
2926

3027
To download:
3128

@@ -60,17 +57,11 @@ The app is code-signed and notarized by Apple, so it will open without security
6057
3. Follow the installation prompts
6158
4. Launch Mux from the Start menu or desktop shortcut
6259

63-
<Warning>
64-
Windows support is currently in alpha. Please [report any
65-
issues](https://github.com/coder/mux/issues) you encounter.
66-
</Warning>
60+
<Warning>Windows support is currently in alpha. Please [report any issues](https://github.com/coder/mux/issues) you encounter.</Warning>
6761

6862
### Testing Pre-Release Builds
6963

70-
<Warning>
71-
Only builds from the `main` branch are signed and notarized. If you're testing a build from a pull
72-
request or other branch, you'll need to bypass macOS Gatekeeper:
73-
</Warning>
64+
<Warning>Only builds from the `main` branch are signed and notarized. If you're testing a build from a pull request or other branch, you'll need to bypass macOS Gatekeeper:</Warning>
7465

7566
1. After installing, open Terminal
7667
2. Run: `xattr -cr /Applications/Mux.app`

‎docs/keybinds.md‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ description: Complete keyboard shortcut reference for mux
55

66
mux is designed to be keyboard-driven for maximum efficiency. All major actions have keyboard shortcuts.
77

8-
<Info>
9-
This document should be kept in sync with `src/utils/ui/keybinds.ts`, which is the source of truth
10-
for keybind definitions.
11-
</Info>
8+
<Info>This document should be kept in sync with `src/utils/ui/keybinds.ts`, which is the source of truth for keybind definitions.</Info>
129

1310
## Platform Conventions
1411

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,6 @@ See also:
99

1010
mux supports multiple AI providers through its flexible provider architecture.
1111

12-
### First-class models
13-
14-
mux ships with a curated set of first-class models that we keep up to date with the frontier. You can also use any custom model from a supported provider with `/model <provider:model_id>`.
15-
16-
{/* BEGIN KNOWN_MODELS_TABLE */}
17-
18-
| Model | ID | Aliases | Default |
19-
| -------------------- | ----------------------------- | ---------------------------------------- | ------- |
20-
| Opus 4.5 | `anthropic:claude-opus-4-5` | `opus` | Yes |
21-
| Sonnet 4.5 | `anthropic:claude-sonnet-4-5` | `sonnet` | — |
22-
| Haiku 4.5 | `anthropic:claude-haiku-4-5` | `haiku` | — |
23-
| GPT-5.1 | `openai:gpt-5.1` | `gpt-5.1` | — |
24-
| GPT-5 Pro | `openai:gpt-5-pro` | `gpt-5-pro` | — |
25-
| GPT-5.1 Codex | `openai:gpt-5.1-codex` | `codex` | — |
26-
| GPT-5.1 Codex Mini | `openai:gpt-5.1-codex-mini` | `codex-mini` | — |
27-
| GPT-5.1 Codex Max | `openai:gpt-5.1-codex-max` | `codex-max` | — |
28-
| Gemini 3 Pro Preview | `google:gemini-3-pro-preview` | `gemini-3`, `gemini-3-pro` | — |
29-
| Grok 4 1 Fast | `xai:grok-4-1-fast` | `grok`, `grok-4`, `grok-4.1`, `grok-4-1` | — |
30-
| Grok Code Fast 1 | `xai:grok-code-fast-1` | `grok-code` | — |
31-
32-
{/* END KNOWN_MODELS_TABLE */}
33-
3412
### Supported Providers
3513

3614
#### Anthropic (Cloud)

‎docs/runtime/local.md‎

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,9 @@ Local runtime runs the agent directly in your project directory—the same direc
1313

1414
## Caveats
1515

16-
<Warning>
17-
**No isolation**: Multiple local workspaces for the same project see and modify the same files.
18-
Running them simultaneously can cause conflicts. mux shows a warning when another local workspace
19-
is actively streaming.
20-
</Warning>
21-
22-
<Warning>
23-
**Affects your working copy**: Agent changes happen in your actual project directory.
24-
</Warning>
16+
<Warning>**No isolation**: Multiple local workspaces for the same project see and modify the same files. Running them simultaneously can cause conflicts. mux shows a warning when another local workspace is actively streaming.</Warning>
17+
18+
<Warning>**Affects your working copy**: Agent changes happen in your actual project directory.</Warning>
2519

2620
## Filesystem
2721

‎docs/runtime/ssh.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ Host ovh-1
3636

3737
## Authentication
3838

39-
<Info>
40-
As we delegate to `ssh`, this is really an abbreviated reference of how `ssh` authenticates.
41-
</Info>
39+
<Info>As we delegate to `ssh`, this is really an abbreviated reference of how `ssh` authenticates.</Info>
4240

4341
There are a few practical ways to set up authentication.
4442

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Even with consistent support at the protocol layer, we have found that different
1313

1414
Here's a snippet from `src/node/services/systemMessage.ts` which is our shared system prompt (minus tools).
1515

16+
1617
{/* BEGIN SYSTEM_PROMPT_DOCS */}
1718

1819
```typescript

0 commit comments

Comments
 (0)