@kenkaiiii/ggcoder 6.1.0 → 6.2.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 +15 -14
- package/assets/skills/gg-guide/references/chat-motion-goals.md +43 -32
- package/assets/skills/gg-guide/references/checklist-and-safety.md +6 -5
- package/assets/skills/gg-guide/references/code-mode.md +21 -19
- package/assets/skills/gg-guide/references/getting-started.md +167 -71
- package/assets/skills/gg-guide/references/ken-and-autopilot.md +28 -24
- package/assets/skills/gg-guide/references/mcp-and-skills.md +23 -15
- package/assets/skills/gg-guide/references/models-and-sign-in.md +25 -26
- package/assets/skills/gg-guide/references/sessions-and-history.md +32 -18
- package/assets/skills/gg-guide/references/settings.md +85 -61
- package/assets/skills/gg-guide/references/troubleshooting-and-data.md +17 -3
- package/dist/app-sidecar/detached-sessions.d.ts +38 -0
- package/dist/app-sidecar/detached-sessions.js +71 -0
- package/dist/app-sidecar/detached-sessions.js.map +1 -0
- package/dist/app-sidecar/session-file-routes.d.ts +44 -0
- package/dist/app-sidecar/session-file-routes.js +175 -0
- package/dist/app-sidecar/session-file-routes.js.map +1 -0
- package/dist/app-sidecar/workspace-routes.js +15 -1
- package/dist/app-sidecar/workspace-routes.js.map +1 -1
- package/dist/app-sidecar.js +66 -31
- package/dist/app-sidecar.js.map +1 -1
- package/dist/core/agent-session.d.ts +6 -0
- package/dist/core/agent-session.js +17 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/project-discovery.js +17 -6
- package/dist/core/project-discovery.js.map +1 -1
- package/dist/core/tasks-store.d.ts +2 -0
- package/dist/core/tasks-store.js +6 -0
- package/dist/core/tasks-store.js.map +1 -1
- package/dist/goals-agent/goals-agent.d.ts +1 -8
- package/dist/goals-agent/goals-agent.js +1 -29
- package/dist/goals-agent/goals-agent.js.map +1 -1
- package/dist/modes/acp-mode.d.ts +3 -1
- package/dist/modes/acp-mode.js +84 -3
- package/dist/modes/acp-mode.js.map +1 -1
- package/package.json +4 -4
- package/dist/app-sidecar/poll.d.ts +0 -39
- package/dist/app-sidecar/poll.js +0 -184
- package/dist/app-sidecar/poll.js.map +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# MCP servers and skills
|
|
2
2
|
|
|
3
3
|
## Contents
|
|
4
|
+
|
|
4
5
|
- What MCP servers are
|
|
5
6
|
- The MCP panel
|
|
6
7
|
- Adding a server in the panel
|
|
@@ -24,33 +25,34 @@ MCP servers give the agent extra tools, such as Notion, a database, or a browser
|
|
|
24
25
|
|
|
25
26
|
## The MCP panel
|
|
26
27
|
|
|
27
|
-
Open Settings and pick
|
|
28
|
+
Open **Settings** and pick **MCP** in the Settings list. Its first section is **Servers**, headed **Global** or **This project** depending on the scope chosen under **Where**.
|
|
28
29
|
|
|
29
|
-
- Each server has a row with a status
|
|
30
|
-
-
|
|
31
|
-
- **Requires login
|
|
32
|
-
- Failed
|
|
33
|
-
- To remove a server, click the
|
|
30
|
+
- Each server has a row with its name, its tool count or state, and a status on the right:
|
|
31
|
+
- **Ready** with a ✓: connected, with how many tools it has (for example "12 tools").
|
|
32
|
+
- **Needs you** with a ?: the row says **Requires login**, so the server needs an OAuth sign-in. Click **Sign in** on the row. Your browser opens to finish the login. When it's done, a message says how many tools are now available.
|
|
33
|
+
- **Failed** with a ×: shows the connection error. If a safety check hid any of the server's tools, those are listed under the row.
|
|
34
|
+
- To remove a server, click the × button at the end of its row.
|
|
34
35
|
- If the list can't be loaded, click **Try again**.
|
|
35
36
|
|
|
36
37
|
## Adding a server in the panel
|
|
37
38
|
|
|
38
|
-
1. Under **Add a server**, paste a `claude mcp add …` line
|
|
39
|
+
1. Under **Add a server**, paste a `claude mcp add …` line into **Command**, usually copied from the server's docs. Example:
|
|
39
40
|
`claude mcp add --transport http notion https://mcp.notion.com/mcp`
|
|
40
|
-
2.
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
3. Click **Add** (or press Enter).
|
|
41
|
+
2. Under **Where**, choose:
|
|
42
|
+
- **Global**: saved to `~/.gg/mcp.json` and used in every project.
|
|
43
|
+
- **Project**: saved to that project's `.gg/mcp.json`. A **Project** row appears: type the project path or click **Choose…** to pick the folder.
|
|
44
|
+
3. Click **Add server** (or press Enter in the command box).
|
|
44
45
|
|
|
45
46
|
If the server connects, you see its tool count. If it needs OAuth, it is saved and you click **Sign in**. If it can't connect, it is still saved, and the message gives the reason.
|
|
46
47
|
|
|
47
|
-
The
|
|
48
|
+
The page shows one scope at a time. Switch **Where** between **Global** and **Project** to see each list.
|
|
48
49
|
|
|
49
50
|
## The `!` route: pasting a command into the chat input
|
|
50
51
|
|
|
51
52
|
Type `!` and then paste a `claude mcp …` or `ggcoder mcp …` line. GG Coder runs it itself instead of passing it to a shell, so the line changes GG Coder's servers, not Claude Code's.
|
|
52
53
|
|
|
53
54
|
Supported subcommands:
|
|
55
|
+
|
|
54
56
|
- `add`: http/sse servers (`--transport http <name> <url>`, `--header "K: V"`, `--client-id`, `--callback-port`) or stdio servers (`<name> -- <command> [args…]`, or `<name> <command> …` without `--`, `--env K=V`)
|
|
55
57
|
- `add-json <name> '<json>'`
|
|
56
58
|
- `list`
|
|
@@ -59,12 +61,14 @@ Supported subcommands:
|
|
|
59
61
|
- `help` (also shown when nothing follows `mcp`)
|
|
60
62
|
|
|
61
63
|
Forms it accepts:
|
|
64
|
+
|
|
62
65
|
- A leading `$ ` copied from docs is ignored.
|
|
63
66
|
- Lines broken with a trailing `\` are joined.
|
|
64
67
|
- Quotes work as they do in a shell.
|
|
65
68
|
- For a pre-registered OAuth client secret, put the secret in front of the command: `MCP_CLIENT_SECRET=… claude mcp add --client-id <id> --client-secret …`. The secret is kept for sign-in, never written to `mcp.json`, and hidden in the saved command.
|
|
66
69
|
|
|
67
70
|
Scope:
|
|
71
|
+
|
|
68
72
|
- No `--scope`: this project's `.gg/mcp.json`. This matches Claude Code, whose default is the current project.
|
|
69
73
|
- `-s user` (or `--scope user` / `global`): `~/.gg/mcp.json`, for every project.
|
|
70
74
|
- Claude Code's `local` and `project` scopes both go to this project's `.gg/mcp.json`.
|
|
@@ -92,6 +96,7 @@ When a user asks you to add an MCP server, give them the exact `!claude mcp add
|
|
|
92
96
|
## MCP servers asking for input
|
|
93
97
|
|
|
94
98
|
Some MCP servers stop in the middle of a tool call to ask a question, such as a name, a choice or a confirmation. A dialog titled "<server> needs your input" opens in the app with the server's message and form fields.
|
|
99
|
+
|
|
95
100
|
- Fill in the fields and click **Send** (Enter also sends when the form is complete).
|
|
96
101
|
- **Decline** says no to the request. **Cancel** cancels it.
|
|
97
102
|
- If two servers ask at once, the dialogs queue and show one at a time.
|
|
@@ -102,6 +107,7 @@ Some MCP servers stop in the middle of a tool call to ask a question, such as a
|
|
|
102
107
|
A skill is a set of instructions for one kind of work. The agent sees each skill's name and description and loads the full skill when a task fits it. GG Coder ships with built-in skills. A user skill with the same name replaces the built-in one.
|
|
103
108
|
|
|
104
109
|
Where to put your own skills:
|
|
110
|
+
|
|
105
111
|
- Global, for all projects: `~/.gg/skills/`
|
|
106
112
|
- This project only: `.gg/skills/` in the project. A project skill replaces a global one with the same name.
|
|
107
113
|
- Skills shared with other coding agents load too: `~/.agents/skills/` for all projects and `.agents/skills/` in the project. If two skills share a name, the one in GG's own `.gg/skills/` folder wins.
|
|
@@ -113,6 +119,7 @@ When new skills load: skills are read when a session starts, so a new skill is a
|
|
|
113
119
|
## Skills in Chat and Motion
|
|
114
120
|
|
|
115
121
|
Each mode keeps its own skills:
|
|
122
|
+
|
|
116
123
|
- Chat: user skills go in the GG Chat workspace's `.gg/skills/` folder as `<name>/SKILL.md`. Every Chat session and all three chat agents can use them. Chat does not use the built-in or global coding skills, and Coder and Motion can't use Chat's skills.
|
|
117
124
|
- Motion: user skills go in the GG Motion workspace's `.gg/skills/` folder. They add to Motion's built-in video skills but cannot replace them. Coder and Chat can't use them.
|
|
118
125
|
- Coder: global skills in `~/.gg/skills/` or project skills in `.gg/skills/`. When you ask for a new skill in Coder, the agent asks whether it is for this project or every project.
|
|
@@ -127,6 +134,7 @@ Every user skill is scanned for safety when it loads. A skill that matches a mal
|
|
|
127
134
|
## Built-in skills
|
|
128
135
|
|
|
129
136
|
GG Coder ships these skills for Coder mode. `compliance-guard`, `durable` and `gg-guide` load on their own when the task matches. `bulletproof` and `lean` stay out of everyday work: a **Checklist** item runs them, or you can ask for one by name.
|
|
137
|
+
|
|
130
138
|
- `bulletproof`: security for code an attacker can reach, such as logins, uploads, payments, secrets and other users' data. It reports what was checked, what was fixed and what is still open.
|
|
131
139
|
- `compliance-guard`: the legal side of shipping to real users, such as which privacy laws apply and what consent, notices and policies the product needs.
|
|
132
140
|
- `durable`: keeping stored data safe before anything that could delete, overwrite or reshape it, and checking backups and recovery.
|
|
@@ -148,10 +156,10 @@ Steroids is a separate tab in Settings with extra agent options. See `references
|
|
|
148
156
|
## Common questions
|
|
149
157
|
|
|
150
158
|
Q: How do I add an MCP server?
|
|
151
|
-
A: Paste the server's `claude mcp add …` line into Settings, MCP, under **Add a server**, pick
|
|
159
|
+
A: Paste the server's `claude mcp add …` line into Settings, MCP, under **Add a server**, pick **Global** or **Project** under **Where** and click **Add server**. Or type `!` in the chat input followed by the same line.
|
|
152
160
|
|
|
153
161
|
Q: How do I remove an MCP?
|
|
154
|
-
A: Click the
|
|
162
|
+
A: Click the × at the end of its row in **Settings** › **MCP**, or type `!claude mcp remove <name>` in the chat input.
|
|
155
163
|
|
|
156
164
|
Q: Do I need to restart after adding an MCP?
|
|
157
165
|
A: No. Added or removed servers load into all open windows right away.
|
|
@@ -169,7 +177,7 @@ Q: My project server won't connect.
|
|
|
169
177
|
A: Project servers only connect in trusted projects. Adding the server for that project from the MCP panel or with `!claude mcp add` trusts the project.
|
|
170
178
|
|
|
171
179
|
Q: How do I see which servers I have?
|
|
172
|
-
A: Open
|
|
180
|
+
A: Open **Settings** › **MCP** and switch **Where** between **Global** and **Project**, or type `!claude mcp list`. Use `!claude mcp get <name>` for one server.
|
|
173
181
|
|
|
174
182
|
Q: The server needs a client secret. How do I pass it?
|
|
175
183
|
A: Put `MCP_CLIENT_SECRET=…` in front of the add command. The secret is kept for sign-in and never written to `mcp.json`.
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Models and sign-in
|
|
2
2
|
|
|
3
3
|
## Contents
|
|
4
|
+
|
|
4
5
|
- Where providers are connected
|
|
5
|
-
- The providers
|
|
6
|
+
- The providers list
|
|
6
7
|
- Connecting a provider
|
|
7
8
|
- Providers and their routes
|
|
8
9
|
- Using your Claude subscription
|
|
@@ -24,29 +25,27 @@ How to connect AI providers in the GG Coder desktop app, choose a model and thin
|
|
|
24
25
|
|
|
25
26
|
## Where providers are connected
|
|
26
27
|
|
|
27
|
-
-
|
|
28
|
+
- Click **Settings** at the bottom of the icon rail and choose **AI Providers** in the Settings list.
|
|
28
29
|
- If the list can't be read, the page says "Couldn't read your AI providers." with a **Try again** button.
|
|
29
|
-
- GG Coder also sends you here itself: if you try to
|
|
30
|
+
- GG Coder also sends you here itself: if you try to start a session with no provider connected, it shows "Connect an AI provider first." and opens this page. Home also shows a **Connect an AI provider to start working.** card until one is connected.
|
|
30
31
|
- Every window shares the same sign-ins. Connecting or disconnecting in one window updates the others.
|
|
31
32
|
|
|
32
|
-
## The providers
|
|
33
|
+
## The providers list
|
|
33
34
|
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
- If your computer can't draw the 3D brain, the cards are shown on their own and work the same way.
|
|
39
|
-
- The **On your machine** group holds two more cards: **Local models** and **Hugging Face**.
|
|
35
|
+
- Providers are listed in sections by region: United States, Japan, Gateways and China, then Other if there are any. Each section heading shows a count such as "1 of 3".
|
|
36
|
+
- Each provider has one row. Under its name it says **Connected with your account** (a sign-in), **Connected with an API key**, or **Not connected**.
|
|
37
|
+
- A connected row shows a ✓ with **Connected** and a **Manage** button. A row that isn't connected has a **Connect** button.
|
|
38
|
+
- The **On your machine** section holds two more rows: **Local models**, with **Set up**, and **Hugging Face**, with **Connect** or **Manage** for your Hugging Face token and **Browse** to find models.
|
|
40
39
|
|
|
41
40
|
## Connecting a provider
|
|
42
41
|
|
|
43
|
-
Click a
|
|
42
|
+
Click **Connect** (or **Manage**) on a provider's row to open its "Connect" window. It lists the models that provider offers. There are three kinds of connection:
|
|
44
43
|
|
|
45
44
|
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**.
|
|
46
45
|
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).
|
|
47
46
|
3. A plan key: some subscriptions connect by pasting a key. Under **Key type**, pick the plan option before pasting.
|
|
48
47
|
|
|
49
|
-
- When a provider offers both a sign-in and a key, the window first shows one card for each. Each card says
|
|
48
|
+
- When a provider offers both a sign-in and a key, the window first shows one card for each. Each card says in one line what it bills, with **Connect** (or **Replace** when already connected) and **Disconnect**.
|
|
50
49
|
- 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.
|
|
51
50
|
- After choosing a method you can click **Back** to return to the comparison. **Cancel** stops a sign-in that is waiting.
|
|
52
51
|
|
|
@@ -67,13 +66,13 @@ Click a card to open its "Connect" window. It lists the models that provider off
|
|
|
67
66
|
|
|
68
67
|
## Using your Claude subscription
|
|
69
68
|
|
|
70
|
-
- Open **AI Providers**, click Anthropic, then Connect on the Sign in with Claude card and click **Continue**. Finish the sign-in in your browser.
|
|
69
|
+
- Open **AI Providers**, click **Connect** on the Anthropic row, then Connect on the Sign in with Claude card and click **Continue**. Finish the sign-in in your browser.
|
|
71
70
|
- Claude plans run through Anthropic's official Claude Code. GG Coder downloads it once (about 140 MB) the first time you pick this.
|
|
72
71
|
- Claude Code holds the login; GG Coder never stores the token itself.
|
|
73
72
|
|
|
74
73
|
## Using your ChatGPT plan
|
|
75
74
|
|
|
76
|
-
- Click OpenAI, then Connect on the **Continue with ChatGPT** card and click **Continue with ChatGPT**.
|
|
75
|
+
- Click **Connect** on the OpenAI row, then Connect on the **Continue with ChatGPT** card and click **Continue with ChatGPT**.
|
|
77
76
|
- 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**.
|
|
78
77
|
- While an OpenAI model is in use on the plan, the Model panel shows "Using ChatGPT plan · **Manage usage**".
|
|
79
78
|
|
|
@@ -85,8 +84,8 @@ Click a card to open its "Connect" window. It lists the models that provider off
|
|
|
85
84
|
|
|
86
85
|
## Disconnecting
|
|
87
86
|
|
|
88
|
-
-
|
|
89
|
-
- The **Disconnect** button at the bottom left removes everything for that provider.
|
|
87
|
+
- Click **Manage** on the provider's row. On a two-method provider, each card has its own **Disconnect**.
|
|
88
|
+
- The **Disconnect** button at the bottom left removes everything for that provider. On a two-method provider it shows only when both are connected, as **Disconnect both**.
|
|
90
89
|
|
|
91
90
|
## Retired sign-ins
|
|
92
91
|
|
|
@@ -96,7 +95,7 @@ Click a card to open its "Connect" window. It lists the models that provider off
|
|
|
96
95
|
|
|
97
96
|
## The Model panel
|
|
98
97
|
|
|
99
|
-
- In a session, the model button sits at the right end of the bar under the message box. It shows the model name,
|
|
98
|
+
- In a session, the model button sits at the right end of the bar under the message box. It shows the model name, small rising bars 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.
|
|
100
99
|
- 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.
|
|
101
100
|
- Models are grouped by provider, with the context size on the right. Only models from connected providers and local servers are listed.
|
|
102
101
|
- Greyed-out rows can't be picked. They say why: "no tool calling", what your plan or keys are missing, or "main chat only".
|
|
@@ -130,22 +129,22 @@ Click a card to open its "Connect" window. It lists the models that provider off
|
|
|
130
129
|
|
|
131
130
|
## Local models
|
|
132
131
|
|
|
133
|
-
- 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.
|
|
132
|
+
- Click **Set up** on the **Local models** row 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.
|
|
134
133
|
- Point at a model to see its context size, what it supports (tool calling, vision, thinking) and whether it is loaded.
|
|
135
|
-
- **Scan** checks again. **Add endpoint** opens **Endpoint URL**, **Name
|
|
134
|
+
- **Scan** checks again. **Add endpoint** opens **Endpoint URL**, **Name**, **API key** and **Context length** (each optional), then **Save**. Leave context length empty to use what the server reports.
|
|
136
135
|
- Remove an added server with the x next to it.
|
|
137
136
|
- 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.
|
|
138
137
|
- If Ollama runs a model with a small context, raise its context length in Ollama's settings, then pick the model again.
|
|
139
138
|
|
|
140
139
|
## Downloading from Hugging Face
|
|
141
140
|
|
|
142
|
-
- Click the **Hugging Face**
|
|
141
|
+
- Click **Browse** on the **Hugging Face** row to open "Add a Hugging Face model". Search, then click a result to download it with Ollama.
|
|
143
142
|
- Progress is shown. **Hide** closes the window without stopping the download; **Cancel download** stops it.
|
|
144
143
|
- When it finishes it says it is installed in Ollama and ready to pick. **Download another** starts a new search.
|
|
145
144
|
|
|
146
145
|
## Usage meter and Usage panel
|
|
147
146
|
|
|
148
|
-
- On a Claude sign-in or a Kimi Code plan key, the
|
|
147
|
+
- On a Claude sign-in or a Kimi Code plan key, the bottom of the session sidebar shows your plan usage, for example "5h usage 42%".
|
|
149
148
|
- Claude figures update after each request, so they appear once you have sent one.
|
|
150
149
|
- 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.
|
|
151
150
|
- If usage can't be fetched, the last known figures stay up, marked as last known.
|
|
@@ -156,13 +155,13 @@ Q: Where do I change models?
|
|
|
156
155
|
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.
|
|
157
156
|
|
|
158
157
|
Q: How do I use my Claude subscription?
|
|
159
|
-
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.
|
|
158
|
+
A: In Settings, **AI Providers**, click **Connect** on the Anthropic row and connect Sign in with Claude. It needs a Claude Pro or Max plan, and GG Coder downloads Claude Code (about 140 MB) once.
|
|
160
159
|
|
|
161
160
|
Q: How do I use a local model?
|
|
162
161
|
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.
|
|
163
162
|
|
|
164
163
|
Q: How do I use my ChatGPT plan?
|
|
165
|
-
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.
|
|
164
|
+
A: Click **Connect** on the OpenAI row 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.
|
|
166
165
|
|
|
167
166
|
Q: Will my model choice be kept for new sessions?
|
|
168
167
|
A: Yes, it is saved for the project and comes back after restarts. Paid fast models are not kept.
|
|
@@ -186,16 +185,16 @@ Q: My plan ran out. What now?
|
|
|
186
185
|
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.
|
|
187
186
|
|
|
188
187
|
Q: How do I disconnect a provider?
|
|
189
|
-
A:
|
|
188
|
+
A: Click **Manage** on its row in **AI Providers** and click **Disconnect**, or **Disconnect both** to remove both methods.
|
|
190
189
|
|
|
191
190
|
Q: Can I use my GLM Coding Plan or SuperGrok?
|
|
192
191
|
A: No. Z.AI and xAI only work with pay-per-token API keys in GG Coder.
|
|
193
192
|
|
|
194
193
|
Q: How do I download a model from Hugging Face?
|
|
195
|
-
A: Click the **Hugging Face**
|
|
194
|
+
A: Click **Browse** on the **Hugging Face** row, search, and click a result. It downloads into Ollama and then appears in the Model panel.
|
|
196
195
|
|
|
197
196
|
Q: Where do I see how much of my plan I've used?
|
|
198
|
-
A: The usage
|
|
197
|
+
A: The usage line at the bottom of the session sidebar (Claude sign-in or Kimi Code plan), or the **Usage** panel from the context key.
|
|
199
198
|
|
|
200
199
|
Q: It says my old sign-in no longer works.
|
|
201
200
|
A: Click **Reconnect** on the notice in **AI Providers** and connect again, or **Dismiss** to remove the dead sign-in.
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
# Sessions, history and the transcript
|
|
2
2
|
|
|
3
3
|
## Contents
|
|
4
|
+
|
|
4
5
|
- Starting a new session
|
|
5
6
|
- Resuming an earlier session
|
|
6
7
|
- Claude Code and Codex conversations
|
|
7
8
|
- Hiding and deleting
|
|
8
9
|
- Undo, checkpoints and rewind
|
|
9
10
|
- Exporting a chat
|
|
10
|
-
- The
|
|
11
|
+
- The title row
|
|
11
12
|
- The More panel
|
|
12
13
|
- Context usage and compaction
|
|
13
14
|
- The transcript
|
|
@@ -23,17 +24,23 @@ A session is one conversation with GG in one window. This page covers starting,
|
|
|
23
24
|
|
|
24
25
|
## Starting a new session
|
|
25
26
|
|
|
26
|
-
-
|
|
27
|
+
- Click a mode on the icon rail (**Code**, **Chat**, **Goal** or **Motion**). For Code, choose a project in **Choose a project** and click **+ New session**.
|
|
28
|
+
- **New session** in the sidebar goes back to Home, where you can start fresh.
|
|
29
|
+
- In the sidebar, point at a project and click its + (**New session here**) to open its session list, then click **+ New session**.
|
|
27
30
|
- 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.
|
|
28
31
|
- New session is greyed out while GG is running. Stop the run or wait for it to finish first.
|
|
29
32
|
- A new session starts with an empty context. Skills and MCP tools added since the last session are picked up.
|
|
30
33
|
|
|
31
34
|
## Resuming an earlier session
|
|
32
35
|
|
|
33
|
-
-
|
|
36
|
+
- The sidebar lists each project's recent sessions under **Projects**. Click one to reopen it. Each row starts with its status mark (see `getting-started.md`).
|
|
37
|
+
- For the full list, point at the project in the sidebar and click its + (**New session here**), or click **Code** on the icon rail and pick the project. Its earlier sessions are listed.
|
|
38
|
+
- Clicking a project's row in the sidebar folds its sessions away, or shows them again. A chevron shows which way it is, and the choice is remembered on this computer. A search shows every match, even in folded projects.
|
|
39
|
+
- A session that is open in a window is listed once, under its project, with "Open here" or "Open in another window" in its tooltip.
|
|
34
40
|
- Each row shows a preview of the conversation, when it was last active, and how many messages it has (for example "42 msgs").
|
|
35
|
-
- Click a row to reopen it. The transcript comes back as the real back-and-forth, including files you referenced.
|
|
41
|
+
- Click a row to reopen it. If the session is already open in another window, that window comes to the front instead. Otherwise it opens here, even while this window is working: the session you leave keeps working in the background, with a turning ring on its row, and clicking it again picks it back up. The transcript comes back as the real back-and-forth, including files you referenced.
|
|
36
42
|
- If the project has none yet, the list says **No previous sessions yet.** If the list fails to load, click **Try again**.
|
|
43
|
+
- To search, click **Search sessions** on the rail or at the top of the sidebar and type part of a session title or project name.
|
|
37
44
|
- 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).
|
|
38
45
|
|
|
39
46
|
## Claude Code and Codex conversations
|
|
@@ -44,7 +51,7 @@ A session is one conversation with GG in one window. This page covers starting,
|
|
|
44
51
|
|
|
45
52
|
## Hiding and deleting
|
|
46
53
|
|
|
47
|
-
- A project can be hidden from the
|
|
54
|
+
- A project can be hidden from the **Choose a project** list with its x button (**Hide from this list**).
|
|
48
55
|
- 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`.
|
|
49
56
|
- Old sessions are pruned at startup based on a retention setting.
|
|
50
57
|
|
|
@@ -60,16 +67,17 @@ A session is one conversation with GG in one window. This page covers starting,
|
|
|
60
67
|
- It reads **Exporting…** while it saves, and it is disabled when the chat is still empty.
|
|
61
68
|
- Goal windows don't offer it.
|
|
62
69
|
|
|
63
|
-
## The
|
|
70
|
+
## The title row
|
|
64
71
|
|
|
65
|
-
The
|
|
72
|
+
The row at the top of every window's main panel. It is frosted, so the chat scrolls underneath it.
|
|
66
73
|
|
|
67
|
-
- Left: the
|
|
68
|
-
-
|
|
69
|
-
-
|
|
74
|
+
- Left: the session's status mark (a turning ring while working, a small pixel check when done, ? needs you, × failed; nothing before anything has run).
|
|
75
|
+
- Then where the session lives: in a code project, the folder name. Hover it for the full context: folder, branch, uncommitted files, GitHub issues and pull requests, extra folders. Click it to open the folder. Chat windows show the agent's name (General, Research or Therapist), Motion and Goal windows say so.
|
|
76
|
+
- Then the session's title, which is its first prompt.
|
|
70
77
|
- 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.
|
|
71
|
-
- Right, in a started Goal:
|
|
72
|
-
- XP gains float up briefly from the right of the
|
|
78
|
+
- Right, in a started Goal: one readout with a status mark, the working/done/failed counts that aren't zero, and the pause/play button.
|
|
79
|
+
- XP gains float up briefly from the right of the row.
|
|
80
|
+
- There's no back button in the title row. Use the sidebar, the rail, or **Projects** / **All chats** / **All goals** in the **More** panel.
|
|
73
81
|
|
|
74
82
|
## The More panel
|
|
75
83
|
|
|
@@ -96,16 +104,16 @@ The deck runs along the bottom of the window. Its **More** key (shown as ⋯) op
|
|
|
96
104
|
- 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.
|
|
97
105
|
- Compaction summarises older messages so the conversation fits again. It happens automatically when the context gets close to full.
|
|
98
106
|
- To compact by hand, send `/compact`. Add a focus to say what the summary should keep, for example `/compact the database migration decisions`.
|
|
99
|
-
- While it works, a critter
|
|
107
|
+
- While it works, a line led by a walking critter silhouette appears in the transcript (for example "A critter is munching on the context…"), then a done line saying how many messages became how many.
|
|
100
108
|
- Session titles survive compaction.
|
|
101
109
|
|
|
102
110
|
## The transcript
|
|
103
111
|
|
|
104
|
-
- Your messages and GG's replies, rendered as Markdown. Replies stream in as they are written.
|
|
112
|
+
- Your messages and GG's replies, rendered as Markdown. Replies stream in as they are written; new words resolve out of ░▒▓ dust.
|
|
105
113
|
- Code blocks have a **Copy** button (it shows **Copied** after clicking).
|
|
106
114
|
- Files you referenced with `@` are listed with the message they were sent with.
|
|
107
|
-
- Images you attached appear
|
|
108
|
-
- Tool calls appear as compact rows as GG works.
|
|
115
|
+
- Images you attached appear above your message, on the right. GG's and tools' images show on their own, rounded, with the file name as a tooltip; hover one for its save button. Click any image in the chat (yours, GG's or a tool's), or a link GG gives to a picture file, to see it full size inside the app over a dimmed, blurred window; it grows out of its spot. Screenshots and generated images open from their original file at full quality, never enlarged past their own size, so they stay sharp. Click outside it, press Escape or click the x (**Close image**) to shrink it back.
|
|
116
|
+
- Tool calls appear as compact rows as GG works. The status line in the deck says what GG is doing while a run is going.
|
|
109
117
|
- Hook and review lines from Ken and Autopilot appear as short notes, such as "Plan looks solid. Approved it — implementation is underway."
|
|
110
118
|
- 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.
|
|
111
119
|
|
|
@@ -154,10 +162,16 @@ When GG needs a decision, a question card appears at the bottom of the transcrip
|
|
|
154
162
|
## Common questions
|
|
155
163
|
|
|
156
164
|
Q: How do I start a new session?
|
|
157
|
-
A: Open the **More** panel (the ⋯ key on the bottom bar) and click **New session** (**New chat** in a Chat window)
|
|
165
|
+
A: Open the **More** panel (the ⋯ key on the bottom bar) and click **New session** (**New chat** in a Chat window). Or click a mode on the icon rail, such as **Code**, choose the project and click **+ New session**.
|
|
158
166
|
|
|
159
167
|
Q: Can I go back to an old conversation?
|
|
160
|
-
A: Yes.
|
|
168
|
+
A: Yes. Click it in the sidebar under its project, or click the + that appears when you point at the project to see all its sessions. It reopens with the full transcript.
|
|
169
|
+
|
|
170
|
+
Q: How do I find an old session?
|
|
171
|
+
A: Click **Search sessions** on the rail or at the top of the sidebar and type part of its title or the project name.
|
|
172
|
+
|
|
173
|
+
Q: What happens to a working session when I open another one?
|
|
174
|
+
A: It keeps working in the background, with a turning ring on its row. Click the row to go back to it. If it was already open in another window, that window comes to the front instead.
|
|
161
175
|
|
|
162
176
|
Q: Can I continue a Claude Code or Codex conversation in GG Coder?
|
|
163
177
|
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.
|