@kenkaiiii/ggcoder 5.98.2 → 5.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/skills/gg-guide/SKILL.md +40 -0
- package/assets/skills/gg-guide/references/chat-motion-goals.md +199 -0
- package/assets/skills/gg-guide/references/checklist-and-safety.md +159 -0
- package/assets/skills/gg-guide/references/code-mode.md +208 -0
- package/assets/skills/gg-guide/references/getting-started.md +179 -0
- package/assets/skills/gg-guide/references/ken-and-autopilot.md +154 -0
- package/assets/skills/gg-guide/references/mcp-and-skills.md +176 -0
- package/assets/skills/gg-guide/references/models-and-sign-in.md +180 -0
- package/assets/skills/gg-guide/references/sessions-and-history.md +188 -0
- package/assets/skills/gg-guide/references/settings.md +157 -0
- package/assets/skills/gg-guide/references/troubleshooting-and-data.md +163 -0
- package/dist/app-sidecar/mcp-routes.js +9 -0
- package/dist/app-sidecar/mcp-routes.js.map +1 -1
- package/dist/app-sidecar/mcp-shell-command.d.ts +36 -0
- package/dist/app-sidecar/mcp-shell-command.js +302 -0
- package/dist/app-sidecar/mcp-shell-command.js.map +1 -0
- package/dist/app-sidecar/mcp-sync.d.ts +18 -0
- package/dist/app-sidecar/mcp-sync.js +38 -0
- package/dist/app-sidecar/mcp-sync.js.map +1 -0
- package/dist/app-sidecar/prompt-routes.js +5 -21
- package/dist/app-sidecar/prompt-routes.js.map +1 -1
- package/dist/app-sidecar/route-context.d.ts +3 -1
- package/dist/app-sidecar/shell-routes.js +7 -0
- package/dist/app-sidecar/shell-routes.js.map +1 -1
- package/dist/app-sidecar/workspace-routes.js +35 -0
- package/dist/app-sidecar/workspace-routes.js.map +1 -1
- package/dist/app-sidecar.js +13 -3
- package/dist/app-sidecar.js.map +1 -1
- package/dist/cli/mcp.js +19 -5
- package/dist/cli/mcp.js.map +1 -1
- package/dist/core/agent-session/mcp-tools.d.ts +17 -0
- package/dist/core/agent-session/mcp-tools.js +31 -0
- package/dist/core/agent-session/mcp-tools.js.map +1 -1
- package/dist/core/agent-session.d.ts +24 -0
- package/dist/core/agent-session.js +92 -3
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/mcp/client.d.ts +9 -0
- package/dist/core/mcp/client.js +58 -5
- package/dist/core/mcp/client.js.map +1 -1
- package/dist/core/mcp/oauth-provider.d.ts +7 -1
- package/dist/core/mcp/oauth-provider.js +11 -4
- package/dist/core/mcp/oauth-provider.js.map +1 -1
- package/dist/core/mcp/oauth-store.d.ts +6 -0
- package/dist/core/mcp/oauth-store.js +14 -0
- package/dist/core/mcp/oauth-store.js.map +1 -1
- package/dist/core/mcp/parse-add-command.d.ts +29 -3
- package/dist/core/mcp/parse-add-command.js +196 -26
- package/dist/core/mcp/parse-add-command.js.map +1 -1
- package/dist/core/mcp/store.d.ts +16 -0
- package/dist/core/mcp/store.js +28 -0
- package/dist/core/mcp/store.js.map +1 -1
- package/dist/core/mcp/types.d.ts +9 -0
- package/dist/core/skills.d.ts +2 -0
- package/dist/core/skills.js +5 -0
- package/dist/core/skills.js.map +1 -1
- package/dist/system-prompt.js +1 -1
- package/dist/system-prompt.js.map +1 -1
- package/dist/test-support/system-tools.d.ts +6 -0
- package/dist/test-support/system-tools.js +36 -0
- package/dist/test-support/system-tools.js.map +1 -0
- package/dist/tools/ask-user.js +2 -1
- package/dist/tools/ask-user.js.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# Models and sign-in
|
|
2
|
+
|
|
3
|
+
How to connect AI providers in the GG Coder desktop app, choose a model and thinking level, use local models, and read your plan usage.
|
|
4
|
+
|
|
5
|
+
## Where providers are connected
|
|
6
|
+
|
|
7
|
+
- Open Settings from the home screen and choose the **AI Providers** tab. A badge next to the page name shows how many providers are connected, for example "2 connected".
|
|
8
|
+
- If the list can't be read, the page says "Couldn't read your AI providers." with a **Try again** button.
|
|
9
|
+
- GG Coder also sends you here itself: if you try to open a workspace with no provider connected, it shows "Connect an AI provider first." and opens this tab.
|
|
10
|
+
- Every window shares the same sign-ins. Connecting or disconnecting in one window updates the others.
|
|
11
|
+
|
|
12
|
+
## The providers brain
|
|
13
|
+
|
|
14
|
+
- The page shows a 3D brain in the middle with provider cards around it, grouped by region: United States, China, Japan, Gateways and Other. Each group heading shows a count such as "1 of 3".
|
|
15
|
+
- When you connect a provider, a glowing nerve runs from its card into its own part of the brain, and the brain lights up more as you connect more providers.
|
|
16
|
+
- Pointing at a card highlights its nerve. You can also click a provider's part of the brain to open it.
|
|
17
|
+
- A connected card shows its method under the name: "OAuth" for a sign-in, "API key" for a key.
|
|
18
|
+
- If your computer can't draw the 3D brain, the cards are shown on their own and work the same way.
|
|
19
|
+
- The **On your machine** group holds two more cards: **Local models** and **Hugging Face**.
|
|
20
|
+
|
|
21
|
+
## Connecting a provider
|
|
22
|
+
|
|
23
|
+
Click a card to open its "Connect" window. It lists the models that provider offers. There are three kinds of connection:
|
|
24
|
+
|
|
25
|
+
1. Sign in through your browser (Anthropic and OpenAI only). If the provider asks for it, paste the code or callback URL back into the app and click **Submit**.
|
|
26
|
+
2. A pay-per-token API key from the provider's console. Paste it into the **Paste your API key** box and click **Connect** (or press Enter).
|
|
27
|
+
3. A plan key: some subscriptions connect by pasting a key. Under **Key type**, pick the plan option before pasting.
|
|
28
|
+
|
|
29
|
+
- When a provider offers both a sign-in and a key, the window first shows one card for each. Each card says what it bills, when to use it and what it needs, with **Connect** (or **Replace** when already connected) and **Disconnect**.
|
|
30
|
+
- Both methods can be connected at once. The one being used is marked **In use** and the other **Standby**. A line under the cards explains which one wins.
|
|
31
|
+
- After choosing a method you can click **Back** to return to the comparison. **Cancel** stops a sign-in that is waiting.
|
|
32
|
+
|
|
33
|
+
## Providers and their routes
|
|
34
|
+
|
|
35
|
+
- Anthropic: Sign in with Claude (your Claude Pro or Max plan), or an Anthropic API key (pay-per-token). The key is used only while you are not signed in with Claude.
|
|
36
|
+
- OpenAI: **Continue with ChatGPT** (your ChatGPT plan), or an OpenAI API key (pay-per-token). The plan is used first; the key takes over while the plan's usage is out, then it switches back.
|
|
37
|
+
- Kimi (Moonshot): key only. Key type "Kimi Code plan" (create it in the Kimi Code Console) or "Moonshot API" (pay-per-token). With both set, the plan key is used first and the Moonshot key covers models the plan doesn't include.
|
|
38
|
+
- Xiaomi (MiMo): key only. Key type "Token Plan" or "API Credits". UltraSpeed needs API Credits.
|
|
39
|
+
- MiniMax: one key box. An M Plan key bills your plan; a pay-as-you-go key is pay-per-token. The key you paste decides which.
|
|
40
|
+
- Z.AI (GLM): pay-per-token key only. GLM Coding Plan quota can't be used in GG Coder.
|
|
41
|
+
- xAI (Grok): API key only. SuperGrok and X Premium usage can't be used.
|
|
42
|
+
- OpenCode Go: an OpenCode API key from a workspace subscribed to Go; uses your Go subscription.
|
|
43
|
+
- OpenCode: an OpenCode API key billed to your Console credits. Free-tier models only run inside OpenCode, so they are not listed.
|
|
44
|
+
- Gemini (a Google AI Studio key), DeepSeek, Sakana (Fugu) and OpenRouter: API key, pay-per-token.
|
|
45
|
+
- OpenRouter also has an optional API base URL, so you can point it at any compatible gateway. Once connected, **Sync models** loads the list that endpoint serves, and **Use built-in list** goes back. Changing only the URL shows a **Save base URL** button.
|
|
46
|
+
|
|
47
|
+
## Using your Claude subscription
|
|
48
|
+
|
|
49
|
+
- Open **AI Providers**, click Anthropic, then Connect on the Sign in with Claude card and click **Continue**. Finish the sign-in in your browser.
|
|
50
|
+
- Claude plans run through Anthropic's official Claude Code. GG Coder downloads it once (about 140 MB) the first time you pick this.
|
|
51
|
+
- Claude Code holds the login; GG Coder never stores the token itself.
|
|
52
|
+
|
|
53
|
+
## Using your ChatGPT plan
|
|
54
|
+
|
|
55
|
+
- Click OpenAI, then Connect on the **Continue with ChatGPT** card and click **Continue with ChatGPT**.
|
|
56
|
+
- After your first sign-in on this computer, a window titled "You're using your ChatGPT plan" appears, with **Manage usage** (opens ChatGPT's usage settings, where you can set a limit for GG Coder) and **Got it**.
|
|
57
|
+
- While an OpenAI model is in use on the plan, the Model panel shows "Using ChatGPT plan · **Manage usage**".
|
|
58
|
+
|
|
59
|
+
## When plan usage runs out
|
|
60
|
+
|
|
61
|
+
- ChatGPT plan: if an OpenAI API key is also connected, requests move to the key until the usage window resets. The connect window then says, for example, "Subscription usage is out for ~3h — requests are using the OpenAI API key until it resets."
|
|
62
|
+
- If no key is connected, you get the provider's usage-limit error with its reset time, never a silent switch to paid billing.
|
|
63
|
+
- In the chat, the error comes with a model picker labelled "Switch provider" so you can move to another provider straight away. Other errors offer "Choose model".
|
|
64
|
+
|
|
65
|
+
## Disconnecting
|
|
66
|
+
|
|
67
|
+
- Open the provider's card. On a two-method provider, each card has its own **Disconnect**.
|
|
68
|
+
- The **Disconnect** button at the bottom left removes everything for that provider. When both methods are connected it reads **Disconnect both**.
|
|
69
|
+
|
|
70
|
+
## Retired sign-ins
|
|
71
|
+
|
|
72
|
+
- Some older sign-ins no longer work: the old ChatGPT/Codex token, the old pasted Claude token, the old Kimi and xAI sign-ins and the Google sign-in for Gemini. They never count as connected.
|
|
73
|
+
- **AI Providers** shows a notice such as "Your old Claude sign-in no longer works. Sign in with Claude again to keep using your subscription." with **Reconnect** and **Dismiss**.
|
|
74
|
+
- **Reconnect** opens that provider's connect window; connecting again clears the old entry. **Dismiss** removes only the dead sign-in.
|
|
75
|
+
|
|
76
|
+
## The Model panel
|
|
77
|
+
|
|
78
|
+
- In a session, the model button sits at the right end of the bar under the message box. It shows the model name, dots for the thinking level, and "paid" when a paid fast model is on. Click it to open the **Model** panel in place of the message box.
|
|
79
|
+
- Type in the search box (it reads "Search N models") to filter by model or provider name, for example "opus" or "kimi code". Use the arrow keys and Enter, or click. Escape clears the search, then closes the panel.
|
|
80
|
+
- Models are grouped by provider, with the context size on the right. Only models from connected providers and local servers are listed.
|
|
81
|
+
- Greyed-out rows can't be picked. They say why: "no tool calling", what your plan or keys are missing, or "main chat only".
|
|
82
|
+
- You can't switch while the agent is working: "Can't switch models while the agent is working. Stop it or wait."
|
|
83
|
+
- If models fail to load, the panel says "Couldn't load models from the agent. Reopen the project to try again."
|
|
84
|
+
|
|
85
|
+
## Does my model choice stick?
|
|
86
|
+
|
|
87
|
+
- Yes. The model and thinking level you pick are saved for that project, so its windows open on them again after a restart.
|
|
88
|
+
- A project you have never opened starts on the model you picked most recently anywhere.
|
|
89
|
+
- Paid fast models are the exception (see below).
|
|
90
|
+
|
|
91
|
+
## Paid fast models
|
|
92
|
+
|
|
93
|
+
- Some fast modes, such as Claude Opus 5.5 Fast and MiMo UltraSpeed, cost real money. The row shows its cost note.
|
|
94
|
+
- Picking one asks first: "spends real money", with **Cancel** (the default) and **Use it and pay**.
|
|
95
|
+
- It lasts for the current session only. New sessions, restarts and new windows go back to the standard model, and Ken and helper agents never use it.
|
|
96
|
+
|
|
97
|
+
## Thinking levels
|
|
98
|
+
|
|
99
|
+
- Thinking keys sit at the top of the Model panel: **Off** plus each level the current model supports, from **Minimal**, **Low**, **Medium**, **High**, **X-High** and **Max** (some OpenAI models also offer Ultra).
|
|
100
|
+
- The levels change with the model. When you switch to a model that doesn't support your level, thinking stays on at a level it does support; if thinking was off it stays off.
|
|
101
|
+
- Thinking can't be changed while the agent is working. The choice is saved for the project like the model.
|
|
102
|
+
|
|
103
|
+
## Ken's and the Critters' model
|
|
104
|
+
|
|
105
|
+
- In a code window the top of the Model panel has two targets: **GG** and **Ken**.
|
|
106
|
+
- Under Ken, choose "Follow GG" to use GG's model, or pick a model to pin Ken to it. The pin is saved for the project. Ken's model can't change while GG or Ken is working.
|
|
107
|
+
- In a Goal the second target is "Critters", which follow "GG Goals" unless you pin a model.
|
|
108
|
+
- Paid fast models show "main chat only" here and can't be picked.
|
|
109
|
+
|
|
110
|
+
## Local models
|
|
111
|
+
|
|
112
|
+
- Click **Local models** in **AI Providers**. GG Coder finds Ollama, LM Studio, llama.cpp, vLLM or any OpenAI-compatible server it can reach and lists each server with its models.
|
|
113
|
+
- Point at a model to see its context size, what it supports (tool calling, vision, thinking) and whether it is loaded.
|
|
114
|
+
- **Scan** checks again. **Add endpoint** opens **Endpoint URL**, **Name (optional)**, **API key (optional)** and **Context length (optional)**, then **Save**. Leave context length empty to use what the server reports.
|
|
115
|
+
- Remove an added server with the x next to it.
|
|
116
|
+
- To use one, open the **Model** panel in a session and pick it from the local group. A model without tool calling can't run the agent.
|
|
117
|
+
- If Ollama runs a model with a small context, raise its context length in Ollama's settings, then pick the model again.
|
|
118
|
+
|
|
119
|
+
## Downloading from Hugging Face
|
|
120
|
+
|
|
121
|
+
- Click the **Hugging Face** card to open "Add a Hugging Face model". Search, then click a result to download it with Ollama.
|
|
122
|
+
- Progress is shown. **Hide** closes the window without stopping the download; **Cancel download** stops it.
|
|
123
|
+
- When it finishes it says it is installed in Ollama and ready to pick. **Download another** starts a new search.
|
|
124
|
+
|
|
125
|
+
## Usage meter and Usage panel
|
|
126
|
+
|
|
127
|
+
- On a Claude sign-in or a Kimi Code plan key, the title bar shows a plan usage bar with time to reset. Click it to switch between the 5-hour window and the week.
|
|
128
|
+
- Claude figures update after each request, so they appear once you have sent one.
|
|
129
|
+
- The context key in the bar under the message box shows how full the conversation is. Click it for the **Usage** panel: **Context**, the 5-hour window and **Week**, plus project health, your level and trophies.
|
|
130
|
+
- If usage can't be fetched, the last known figures stay up, marked as last known.
|
|
131
|
+
|
|
132
|
+
## Common questions
|
|
133
|
+
|
|
134
|
+
Q: Where do I change models?
|
|
135
|
+
A: In a session, click the model name at the right end of the bar under the message box. The Model panel opens; search and pick a model.
|
|
136
|
+
|
|
137
|
+
Q: How do I use my Claude subscription?
|
|
138
|
+
A: In Settings, **AI Providers**, click Anthropic and connect Sign in with Claude. It needs a Claude Pro or Max plan, and GG Coder downloads Claude Code (about 140 MB) once.
|
|
139
|
+
|
|
140
|
+
Q: How do I use a local model?
|
|
141
|
+
A: Start Ollama, LM Studio or another local server, open **Local models** in **AI Providers** and click **Scan** or **Add endpoint**. Then pick the model in the Model panel.
|
|
142
|
+
|
|
143
|
+
Q: How do I use my ChatGPT plan?
|
|
144
|
+
A: Click OpenAI in **AI Providers** and use **Continue with ChatGPT**. You can also add an OpenAI API key to cover you when the plan's usage runs out.
|
|
145
|
+
|
|
146
|
+
Q: Will my model choice be kept for new sessions?
|
|
147
|
+
A: Yes, it is saved for the project and comes back after restarts. Paid fast models are not kept.
|
|
148
|
+
|
|
149
|
+
Q: Why is a model greyed out?
|
|
150
|
+
A: It can't call tools, your plan or keys don't cover it (the row says what it needs), or it is a paid model in Ken's list.
|
|
151
|
+
|
|
152
|
+
Q: Why can't I switch models?
|
|
153
|
+
A: Models and thinking can't change while the agent is working. Stop it or wait for it to finish.
|
|
154
|
+
|
|
155
|
+
Q: How do I change how hard the model thinks?
|
|
156
|
+
A: Use the thinking keys at the top of the Model panel. The levels offered depend on the model.
|
|
157
|
+
|
|
158
|
+
Q: Can Ken use a different model from GG?
|
|
159
|
+
A: Yes. In the Model panel choose the Ken target and pin a model, or "Follow GG" to match GG.
|
|
160
|
+
|
|
161
|
+
Q: What do In use and Standby mean?
|
|
162
|
+
A: With both a sign-in and a key connected, In use is the one requests go through and Standby is the backup.
|
|
163
|
+
|
|
164
|
+
Q: My plan ran out. What now?
|
|
165
|
+
A: Connect a pay-per-token key for that provider, or click "Switch provider" in the error to use another model until the reset time.
|
|
166
|
+
|
|
167
|
+
Q: How do I disconnect a provider?
|
|
168
|
+
A: Open its card in **AI Providers** and click **Disconnect**, or **Disconnect both** to remove both methods.
|
|
169
|
+
|
|
170
|
+
Q: Can I use my GLM Coding Plan or SuperGrok?
|
|
171
|
+
A: No. Z.AI and xAI only work with pay-per-token API keys in GG Coder.
|
|
172
|
+
|
|
173
|
+
Q: How do I download a model from Hugging Face?
|
|
174
|
+
A: Click the **Hugging Face** card, search, and click a result. It downloads into Ollama and then appears in the Model panel.
|
|
175
|
+
|
|
176
|
+
Q: Where do I see how much of my plan I've used?
|
|
177
|
+
A: The usage bar in the title bar (Claude sign-in or Kimi Code plan), or the **Usage** panel from the context key.
|
|
178
|
+
|
|
179
|
+
Q: It says my old sign-in no longer works.
|
|
180
|
+
A: Click **Reconnect** on the notice in **AI Providers** and connect again, or **Dismiss** to remove the dead sign-in.
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
# Sessions, history and the transcript
|
|
2
|
+
|
|
3
|
+
A session is one conversation with GG in one window. This page covers starting, resuming and saving sessions, how much context they use, and everything that shows up in the transcript. For the composer, `!` commands and `/` commands see `code-mode.md`. For Chat, Motion and Goals windows see `chat-motion-goals.md`. For where saved sessions live on disk see `troubleshooting-and-data.md`.
|
|
4
|
+
|
|
5
|
+
## Starting a new session
|
|
6
|
+
|
|
7
|
+
- From Home, open a project and click **+ New session**.
|
|
8
|
+
- Inside a window, open the **More** panel and click **New session** (in a Chat window it reads **New chat**). It starts a fresh session in the same window and project.
|
|
9
|
+
- New session is greyed out while GG is running. Stop the run or wait for it to finish first.
|
|
10
|
+
- A new session starts with an empty context. Skills and MCP tools added since the last session are picked up.
|
|
11
|
+
|
|
12
|
+
## Resuming an earlier session
|
|
13
|
+
|
|
14
|
+
- On Home, click a project. Its earlier sessions are listed.
|
|
15
|
+
- Each row shows a preview of the conversation, when it was last active, and how many messages it has (for example "42 msgs").
|
|
16
|
+
- Click a row to reopen it. The transcript comes back as the real back-and-forth, including files you referenced.
|
|
17
|
+
- If the project has none yet, the list says **No previous sessions yet.** If the list fails to load, click **Try again**.
|
|
18
|
+
- To go back to the list from an open window, use **Projects** in the **More** panel (**All chats** in a Chat window, **All goals** in a Goal window).
|
|
19
|
+
|
|
20
|
+
## Claude Code and Codex conversations
|
|
21
|
+
|
|
22
|
+
- Projects and sessions from Claude Code and Codex show up in the same lists, with a **Claude Code** or **Codex** badge.
|
|
23
|
+
- Hovering over one of these sessions says it opens as a GG Coder session.
|
|
24
|
+
- Clicking it imports the conversation and opens it as a normal GG Coder session.
|
|
25
|
+
|
|
26
|
+
## Hiding and deleting
|
|
27
|
+
|
|
28
|
+
- A project can be hidden from the Home list with its x button (**Hide from this list**).
|
|
29
|
+
- The session list has no delete button. Saved sessions are files under `~/.gg/sessions`. Deleting files there removes that history; do it with GG Coder closed. See `troubleshooting-and-data.md`.
|
|
30
|
+
- Old sessions are pruned at startup based on a retention setting.
|
|
31
|
+
|
|
32
|
+
## Undo, checkpoints and rewind
|
|
33
|
+
|
|
34
|
+
- The app has no button to rewind a conversation or undo the agent's file edits.
|
|
35
|
+
- GG keeps per-chat checkpoint folders on disk (`~/.gg/checkpoints`), cleaned up after 30 days without use, but there is no on-screen control for restoring them.
|
|
36
|
+
- To undo file changes, use git (for example ask GG to revert a file, or run `!git restore <file>`), or start a **New session** to drop the conversation context.
|
|
37
|
+
|
|
38
|
+
## Exporting a chat
|
|
39
|
+
|
|
40
|
+
- Deck menu › **Export chat** saves the whole conversation as a Markdown file, wherever you choose.
|
|
41
|
+
- It reads **Exporting…** while it saves, and it is disabled when the chat is still empty.
|
|
42
|
+
- Goal windows don't offer it.
|
|
43
|
+
|
|
44
|
+
## The workspace header
|
|
45
|
+
|
|
46
|
+
The one-row bar at the top of every window:
|
|
47
|
+
|
|
48
|
+
- Left: the back key.
|
|
49
|
+
- Centre: the project name with its colour dot. Each project gets its own colour so windows are easy to tell apart. Hover for the full context: folder, branch, uncommitted files, GitHub issues and pull requests, extra folders. Click the name to open the folder.
|
|
50
|
+
- Chat windows show the conversation's title instead of a folder, plus the agent's name.
|
|
51
|
+
- Right, in Code windows: **Commit** with the number of uncommitted files, **Clean** when there is nothing to commit, or **Initialize Git** when the folder isn't a git repository yet.
|
|
52
|
+
- Right, in a started Goal: the **Chat** and **Workers** switch, a working/done/failed tally, and the pause/play button.
|
|
53
|
+
- XP gains float up briefly from the right of the bar.
|
|
54
|
+
|
|
55
|
+
## The More panel
|
|
56
|
+
|
|
57
|
+
The deck runs along the bottom of the window. Its **More** key (shown as ⋯) opens the **More** panel, which holds these keys (which ones appear depends on the window):
|
|
58
|
+
|
|
59
|
+
- **New session** / **New chat**: start fresh in this window.
|
|
60
|
+
- **Autopilot** (Code): after each run, Ken reviews the work and GG continues if it needs changes. See `code-mode.md`.
|
|
61
|
+
- **Checklist** (Code): the project health checklist.
|
|
62
|
+
- **Project Health** (Code, once a score exists): scores for file size, hygiene, safety and debt.
|
|
63
|
+
- **Notes**: your notes.
|
|
64
|
+
- **Tasks** (Code): the project's tasks, with a count of pending ones.
|
|
65
|
+
- **Brain** (Chat): memories and Jiwa. See `chat-motion-goals.md`.
|
|
66
|
+
- **Goal settings** (Goals).
|
|
67
|
+
- **Radio**: internet radio.
|
|
68
|
+
- **Export chat**: save the conversation as Markdown.
|
|
69
|
+
- **Arrange**: tidy the open windows on screen.
|
|
70
|
+
- **Projects** / **All chats** / **All goals**: back to the list.
|
|
71
|
+
|
|
72
|
+
## Context usage and compaction
|
|
73
|
+
|
|
74
|
+
- The deck shows a small ring for context use. Hover it for "Context used" and the percentage; it turns hot at 80% or more.
|
|
75
|
+
- Click it to open the **Usage** panel. The **Context** meter shows how full the model's context window is, next to your plan's usage windows where the provider reports them.
|
|
76
|
+
- Compaction summarises older messages so the conversation fits again. It happens automatically when the context gets close to full.
|
|
77
|
+
- To compact by hand, send `/compact`. Add a focus to say what the summary should keep, for example `/compact the database migration decisions`.
|
|
78
|
+
- While it works, a critter line appears in the transcript (for example "A critter is munching on the context…"), then a done line saying how many messages became how many.
|
|
79
|
+
- Session titles survive compaction.
|
|
80
|
+
|
|
81
|
+
## Cache expiry notice
|
|
82
|
+
|
|
83
|
+
- Providers cache the start of a long conversation so it is cheaper to re-send. The cache lapses after the chat sits idle.
|
|
84
|
+
- In a large chat whose cache has (or may have) expired, a strip above the composer says your next message re-reads that many tokens at full price.
|
|
85
|
+
- **Compact first** summarises older history before you send, so the next message re-reads less.
|
|
86
|
+
- **Dismiss** hides the strip; your next message sends as is.
|
|
87
|
+
- If compaction can't start, a toast says "Couldn't start compaction. Try again."
|
|
88
|
+
|
|
89
|
+
## The transcript
|
|
90
|
+
|
|
91
|
+
- Your messages and GG's replies, rendered as Markdown. Replies stream in as they are written.
|
|
92
|
+
- Code blocks have a **Copy** button (it shows **Copied** after clicking).
|
|
93
|
+
- Files you referenced with `@` are listed with the message they were sent with.
|
|
94
|
+
- Images you attached appear in your message; click one to open it in the image viewer.
|
|
95
|
+
- Tool calls appear as compact rows as GG works. While a run is going, one floating line above the deck shows the current step, for example a command it is running, and says so if it failed.
|
|
96
|
+
- Hook and review lines from Ken and Autopilot appear as short notes, such as "Plan looks solid. Approved it — implementation is underway."
|
|
97
|
+
- Shell commands you ran with `!` show their output with **Stop** while running and **Copy** after. **GG will see this with your next message** means the output is waiting to be sent; **Shared with GG** means GG has already received it.
|
|
98
|
+
|
|
99
|
+
## Images in the transcript
|
|
100
|
+
|
|
101
|
+
- Images GG shows you appear as cards with the file name. Click a card to open the file; use **Save image** to save a full-size copy wherever you choose.
|
|
102
|
+
- While GG generates an image, a card reads **Creating image** (or **Creating GIF**). You can play a small snake game on it with the arrow keys while you wait; Escape stops it.
|
|
103
|
+
|
|
104
|
+
## Answering GG's questions
|
|
105
|
+
|
|
106
|
+
When GG needs a decision, a question card appears at the bottom of the transcript.
|
|
107
|
+
|
|
108
|
+
- Click an option, or press its number key (a hint under the card says which keys work). One option may be marked **Recommended**.
|
|
109
|
+
- For questions that accept free text, just start typing to answer in your own words. Text questions show **Type your answer** and an **Answer** button; once sent it shows **Answered**.
|
|
110
|
+
- Multi-choice questions let you pick several, then confirm. With several questions in one card, the button says how many are left, then **Send answers**.
|
|
111
|
+
- If the question is no longer needed, the card says it was cancelled. If GG carried on without you, the card says it continued with its best guess and your answer will still be sent.
|
|
112
|
+
- There is no skip button; to skip, send a normal message instead, or answer in your own words.
|
|
113
|
+
- If a question is scrolled off screen, **You have a new question** jumps to it.
|
|
114
|
+
|
|
115
|
+
## MCP server input requests
|
|
116
|
+
|
|
117
|
+
- Sometimes an MCP server pauses a tool call to ask you something. A dialog titled with the server's name ("… needs your input") opens.
|
|
118
|
+
- Fill in the fields (lists start at **Select…**) and click **Send**.
|
|
119
|
+
- **Decline** refuses the request. **Cancel**, Escape or closing the dialog cancels it. The agent's turn waits until you choose.
|
|
120
|
+
- Requests from several servers queue one after another.
|
|
121
|
+
|
|
122
|
+
## Error notices
|
|
123
|
+
|
|
124
|
+
- When a run fails, a notice appears in the transcript with a headline (or **Something went wrong**) and a line of guidance.
|
|
125
|
+
- **Details** opens what was reported: the message, provider, HTTP status, request ID and time. If there's nothing more it says **No additional detail was supplied.**
|
|
126
|
+
- For plan limits, model access, missing capabilities or an outdated app, the notice includes a model picker so you can switch model right there and carry on.
|
|
127
|
+
- Errors from Ken or Autopilot are prefixed "Ken:" or "Autopilot:". Old errors from earlier attempts are marked as from a previous attempt.
|
|
128
|
+
|
|
129
|
+
## Toasts and confirmations
|
|
130
|
+
|
|
131
|
+
- Short messages pop up briefly for things like failed actions, then fade away on their own.
|
|
132
|
+
- Actions that can't be undone ask first in a dialog with **Confirm** and **Cancel** (or a specific label such as **Delete**).
|
|
133
|
+
|
|
134
|
+
## Moving around the transcript
|
|
135
|
+
|
|
136
|
+
- **Scroll to bottom** appears after you scroll up.
|
|
137
|
+
- **You have new chats** jumps to new output below.
|
|
138
|
+
- **You have a new question** jumps to an unanswered question.
|
|
139
|
+
|
|
140
|
+
## Common questions
|
|
141
|
+
|
|
142
|
+
Q: How do I start a new session?
|
|
143
|
+
A: Open the **More** panel (the ⋯ key on the bottom bar) and click **New session** (**New chat** in a Chat window), or pick a project on Home and click **+ New session**.
|
|
144
|
+
|
|
145
|
+
Q: Can I go back to an old conversation?
|
|
146
|
+
A: Yes. On Home, click the project and click the session in its list. It reopens with the full transcript.
|
|
147
|
+
|
|
148
|
+
Q: Can I continue a Claude Code or Codex conversation in GG Coder?
|
|
149
|
+
A: Yes. Those sessions appear in the project's list with a **Claude Code** or **Codex** badge; clicking one imports it and opens it as a GG Coder session.
|
|
150
|
+
|
|
151
|
+
Q: How do I delete a session?
|
|
152
|
+
A: There's no delete button in the app. Saved sessions are files in `~/.gg/sessions`; delete them there with GG Coder closed.
|
|
153
|
+
|
|
154
|
+
Q: Can I undo what the agent did or rewind the chat?
|
|
155
|
+
A: The app has no rewind or undo button. Use git to revert file changes, or start a **New session**.
|
|
156
|
+
|
|
157
|
+
Q: How do I save or share a conversation?
|
|
158
|
+
A: Deck menu › **Export chat** saves it as a Markdown file.
|
|
159
|
+
|
|
160
|
+
Q: How do I see how full the context is?
|
|
161
|
+
A: Look at the ring in the deck, or click it to open **Usage** and read the **Context** meter.
|
|
162
|
+
|
|
163
|
+
Q: How do I compact the conversation?
|
|
164
|
+
A: Send `/compact`, optionally with a focus such as `/compact keep the API decisions`. It also happens automatically when the context is nearly full.
|
|
165
|
+
|
|
166
|
+
Q: What does "This chat's cache expired" mean?
|
|
167
|
+
A: The chat sat idle so the provider's cache lapsed, and the next message re-reads the whole history at full price. Click **Compact first** to shrink it, or **Dismiss** to send as is.
|
|
168
|
+
|
|
169
|
+
Q: How do I answer GG's question?
|
|
170
|
+
A: Click an option or press its number, or start typing to answer in your own words. For multi-choice, pick several and confirm.
|
|
171
|
+
|
|
172
|
+
Q: Can I skip GG's question?
|
|
173
|
+
A: There's no skip button. Type your own answer, such as "skip this, use your best judgement".
|
|
174
|
+
|
|
175
|
+
Q: An MCP server is asking for input. What do I do?
|
|
176
|
+
A: Fill in the dialog and click **Send**, or click **Decline** or **Cancel**. GG waits until you choose.
|
|
177
|
+
|
|
178
|
+
Q: What does "Shared with GG" mean?
|
|
179
|
+
A: It's on output from a `!` command you ran: GG has already received it. **GG will see this with your next message** means it hasn't been sent yet.
|
|
180
|
+
|
|
181
|
+
Q: How do I see the full error?
|
|
182
|
+
A: Click **Details** on the error notice. For limit or access errors you can switch model from the notice itself.
|
|
183
|
+
|
|
184
|
+
Q: How do I copy code from a reply?
|
|
185
|
+
A: Click **Copy** on the code block.
|
|
186
|
+
|
|
187
|
+
Q: Where did the conversation go after I scrolled up?
|
|
188
|
+
A: Click **Scroll to bottom**, or **You have new chats** when new output arrived below.
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Settings
|
|
2
|
+
|
|
3
|
+
Settings is where you set up GG Coder: how it looks, sounds and behaves, your project folder, your AI providers, your Telegram bot, extra tools (MCP servers) and Steroids. It also has an About page.
|
|
4
|
+
|
|
5
|
+
## Opening Settings
|
|
6
|
+
|
|
7
|
+
- On the home screen, click the gear button labelled **Settings**. Its tooltip reads "Settings: AI providers, your projects folder, and more."
|
|
8
|
+
- Settings fills the whole window. A row of tab icons runs along the bottom: **General**, **AI Providers**, **Remote**, **MCP**, **Steroids** and **About**. The selected tab widens to show its name, which also appears at the top of the screen.
|
|
9
|
+
- Switch tabs by clicking them, or with the Left and Right arrow keys, Home and End.
|
|
10
|
+
- Some pages put their status badge and main button in the top bar, next to the page name.
|
|
11
|
+
- Click **Back** at the top left to return to the home screen. The home screen then re-checks your folder and providers.
|
|
12
|
+
- GG Coder opens Settings for you when something is missing. Opening a workspace without a project folder shows "Set a workspace folder first." and opens General. With no AI provider connected it shows "Connect an AI provider first." and opens AI Providers.
|
|
13
|
+
|
|
14
|
+
## The tray Settings dialog
|
|
15
|
+
|
|
16
|
+
- On macOS and Windows, the menu-bar (tray) menu has a **Settings** item. It opens a smaller dialog titled **Settings** over the current window.
|
|
17
|
+
- It has the same sections as the General tab. Appearance, Effects and Power apply as soon as you click them.
|
|
18
|
+
- In this dialog the project folder is only saved when you click **Save**. **Cancel** closes it without saving the folder.
|
|
19
|
+
|
|
20
|
+
## General
|
|
21
|
+
|
|
22
|
+
General opens first. It has no Save button: every change saves as soon as you make it.
|
|
23
|
+
|
|
24
|
+
### Permissions (macOS only)
|
|
25
|
+
|
|
26
|
+
- Shows whether GG Coder has Full Disk Access, with a **Granted** or **Not granted** badge.
|
|
27
|
+
- **Grant Permissions…** opens your computer's System Settings so you can turn on Full Disk Access. Once granted, the button reads **Permissions granted** and is greyed out.
|
|
28
|
+
- GG Coder checks again each time you switch back to its window, so the badge updates on its own.
|
|
29
|
+
- The section is hidden on systems where there is nothing to grant.
|
|
30
|
+
|
|
31
|
+
### Appearance
|
|
32
|
+
|
|
33
|
+
- Pick **Light**, **Dark** or **Auto**. Auto follows your computer's light or dark setting.
|
|
34
|
+
- The default is Dark.
|
|
35
|
+
- The change applies right away, to every GG Coder window.
|
|
36
|
+
|
|
37
|
+
### Effects
|
|
38
|
+
|
|
39
|
+
- **Sound on** / **Sound off** turns all of the app's sound effects on or off. Sound is on by default. Turning it back on plays a click to confirm.
|
|
40
|
+
- **Background on** / **Background off** turns the moving background on the home screen on or off. It is on by default.
|
|
41
|
+
- Both choices are kept on this computer and last after a restart.
|
|
42
|
+
|
|
43
|
+
### Power
|
|
44
|
+
|
|
45
|
+
- **Keep awake** stops your computer from going to sleep while the agent is working. The screen can still turn off.
|
|
46
|
+
- A badge next to it shows **On** or **Off**. It is on by default.
|
|
47
|
+
- The change applies right away, including to a task already running, and is remembered.
|
|
48
|
+
|
|
49
|
+
### Project folder
|
|
50
|
+
|
|
51
|
+
- The folder where new projects are created. The example text in the box is /Users/you/gg-projects.
|
|
52
|
+
- Type a path and press Enter or click outside the box, or click **Browse…** to pick a folder. Either way it saves immediately and "Project folder saved." appears.
|
|
53
|
+
- If you clear the box, nothing is saved and the folder you saved before comes back.
|
|
54
|
+
- If you have never saved a folder, the section says "Not saved yet. Press Enter to use this folder, or Browse for another." Until you save one, opening a workspace sends you back here.
|
|
55
|
+
- Changing the folder doesn't affect your saved models, Autopilot choices, hidden projects or local endpoints.
|
|
56
|
+
|
|
57
|
+
## AI Providers
|
|
58
|
+
|
|
59
|
+
- Shows every AI provider you can connect, grouped by region around an animated brain. A badge shows how many are connected, for example "0 connected".
|
|
60
|
+
- Click a provider to connect it: sign in through your browser, or paste a key into the **Paste your API key** box and click **Connect**.
|
|
61
|
+
- On a connected provider, **Replace** swaps in a new key or sign-in and **Disconnect** removes it. With both methods connected, the bottom button reads **Disconnect both**.
|
|
62
|
+
- The **Local models** and **Hugging Face** cards set up models that run on your own computer.
|
|
63
|
+
- You need at least one connected provider (or a local model) before you can open a workspace or start Remote.
|
|
64
|
+
- Choosing a model and thinking level is not done here; it's in the Model panel inside a session. See the models and sign-in page for every provider and the Model panel.
|
|
65
|
+
|
|
66
|
+
## Remote
|
|
67
|
+
|
|
68
|
+
Remote lets you message your agent on this computer from your phone, using your own Telegram bot. The setup is titled **Telegram setup**.
|
|
69
|
+
|
|
70
|
+
- **Bot token**: create a bot with @BotFather in Telegram (send /newbot), then paste the token it gives you. If a token is already saved, the box shows a shortened version. Leave it blank to keep the saved token.
|
|
71
|
+
- **Your Telegram user ID**: your numeric Telegram ID. Message @userinfobot in Telegram to find it. The box accepts only digits.
|
|
72
|
+
- **Save bot** (top right) checks the token and saves your bot. On success "Telegram connected." appears; if the check fails, the error appears under the boxes.
|
|
73
|
+
- **Start serving** starts the bot. It stays greyed out until a bot is saved ("Save your bot first"), and needs a connected AI provider. While running it shows "Serving on Telegram — message your bot."
|
|
74
|
+
- **Stop serving** turns the bot off.
|
|
75
|
+
- A badge next to the page name shows **Live** while the bot is running and **Off** when it isn't.
|
|
76
|
+
- On macOS and Windows, the tray menu's Remote item reads "Remote · Turn off" while the bot is running.
|
|
77
|
+
|
|
78
|
+
## MCP
|
|
79
|
+
|
|
80
|
+
MCP servers are extra tools your agent can use.
|
|
81
|
+
|
|
82
|
+
- Choose **Global** to work with servers available in every project, or **Project** for one project. With Project, type the project's path or pick it from the list. The **Servers** list shows the servers for the scope you chose.
|
|
83
|
+
- **Sign in** connects a server that needs you to log in. The x next to a server removes it.
|
|
84
|
+
- **Add a server**: paste a `claude mcp add` command, for example `claude mcp add --transport http notion https://mcp.notion.com/mcp`, then press Enter or click **Add** at the top right.
|
|
85
|
+
- Windows that are already open load a new server right away.
|
|
86
|
+
- If nothing is set up yet, the list says "No MCP's configured".
|
|
87
|
+
|
|
88
|
+
## Steroids
|
|
89
|
+
|
|
90
|
+
Steroids lets your agent read current code from real repositories on your computer before it writes code. It is free and works offline.
|
|
91
|
+
|
|
92
|
+
- **Status** shows **Connected**, **Empty corpus**, **Not installed** or **Broken**. When connected it also shows the version, number of repos and files, and disk space used.
|
|
93
|
+
- **Install Steroids** installs it when it isn't installed yet.
|
|
94
|
+
- If it is installed but has no repositories, the page suggests asking the agent to "curate a Steroids corpus for this project".
|
|
95
|
+
- **Read the README** opens the Steroids documentation.
|
|
96
|
+
- When Steroids is not connected, a small red dot appears on the Steroids tab icon.
|
|
97
|
+
|
|
98
|
+
## About
|
|
99
|
+
|
|
100
|
+
- Who makes GG Coder: Ken Kai, with **Learn with Ken on Skool** and **Watch on YouTube** links.
|
|
101
|
+
- **Desktop app releases**: a calendar with one square per day since the first release. Brighter squares mean more releases that day. Point at a day to see what changed. The day your installed version shipped is marked **Your version**.
|
|
102
|
+
- **Read every release** opens the full list of release notes.
|
|
103
|
+
- The license notice and a **Source code** link.
|
|
104
|
+
|
|
105
|
+
## What is not in Settings
|
|
106
|
+
|
|
107
|
+
- Model and thinking level: the Model panel in each session, saved per project.
|
|
108
|
+
- Ken's model: the Ken target in the Model panel.
|
|
109
|
+
- Autopilot is switched on per project inside a code window.
|
|
110
|
+
- Other agent behaviour (for example compaction) has no switch in the app.
|
|
111
|
+
|
|
112
|
+
## Common questions
|
|
113
|
+
|
|
114
|
+
Q: Where is Settings?
|
|
115
|
+
A: On the home screen, click the gear button labelled **Settings**. On macOS and Windows the tray menu also has a **Settings** item.
|
|
116
|
+
|
|
117
|
+
Q: Do I need to press Save?
|
|
118
|
+
A: Not on the Settings screen; every change saves as you make it. Only the tray Settings dialog has a **Save** button, and it only saves the project folder.
|
|
119
|
+
|
|
120
|
+
Q: How do I switch to light mode?
|
|
121
|
+
A: In **General**, under **Appearance**, click **Light**, or **Auto** to follow your computer. It applies to every window at once.
|
|
122
|
+
|
|
123
|
+
Q: How do I turn off the sounds?
|
|
124
|
+
A: In **General**, under **Effects**, click **Sound on** so it reads **Sound off**.
|
|
125
|
+
|
|
126
|
+
Q: How do I stop the moving home background?
|
|
127
|
+
A: In **General**, under **Effects**, click **Background on** to turn it off.
|
|
128
|
+
|
|
129
|
+
Q: Why does my computer stay awake?
|
|
130
|
+
A: **Keep awake** under **Power** is on by default while the agent works. Click it to turn it off; the screen can still sleep either way.
|
|
131
|
+
|
|
132
|
+
Q: Where are new projects created?
|
|
133
|
+
A: In the folder under **Project folder** in General. Type a path and press Enter, or use **Browse…**.
|
|
134
|
+
|
|
135
|
+
Q: It keeps saying "Set a workspace folder first."
|
|
136
|
+
A: Open **General** and press Enter in the **Project folder** box, or browse for a folder. It saves right away.
|
|
137
|
+
|
|
138
|
+
Q: Where do I add my API key?
|
|
139
|
+
A: In the **AI Providers** tab. Click the provider, paste the key and click **Connect**.
|
|
140
|
+
|
|
141
|
+
Q: Where do I change the model in Settings?
|
|
142
|
+
A: There is no model setting in Settings. Click the model name in the bar under the message box in a session.
|
|
143
|
+
|
|
144
|
+
Q: How do I use GG Coder from my phone?
|
|
145
|
+
A: In **Remote**, paste your bot token and Telegram user ID, click **Save bot**, then **Start serving**.
|
|
146
|
+
|
|
147
|
+
Q: How do I add an MCP server?
|
|
148
|
+
A: In **MCP**, paste a `claude mcp add` command into the add box, choose **Global** or **Project**, and press Enter.
|
|
149
|
+
|
|
150
|
+
Q: Why is there a red dot on the Steroids tab?
|
|
151
|
+
A: Steroids isn't connected. Open the tab to install it or to see why it isn't working.
|
|
152
|
+
|
|
153
|
+
Q: Why is the Permissions section missing?
|
|
154
|
+
A: It only appears on macOS, where GG Coder can ask for Full Disk Access.
|
|
155
|
+
|
|
156
|
+
Q: How do I see what changed in each release?
|
|
157
|
+
A: Open **About**, point at a day in the release calendar, or click **Read every release**.
|