@kenkaiiii/ggcoder 6.0.0 → 6.0.1
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/dist/core/agent-session.d.ts +7 -0
- package/dist/core/agent-session.js +3 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/claude-code/events.d.ts +2 -0
- package/dist/core/claude-code/events.js +27 -2
- package/dist/core/claude-code/events.js.map +1 -1
- package/dist/core/claude-code/live-session.d.ts +2 -0
- package/dist/core/claude-code/live-session.js +7 -1
- package/dist/core/claude-code/live-session.js.map +1 -1
- package/dist/core/event-bus.d.ts +7 -0
- package/dist/core/event-bus.js +9 -0
- package/dist/core/event-bus.js.map +1 -1
- package/dist/system-prompt.js +3 -1
- package/dist/system-prompt.js.map +1 -1
- package/dist/tools/ask-user.js +2 -1
- package/dist/tools/ask-user.js.map +1 -1
- package/dist/tools/enter-plan.js +2 -1
- package/dist/tools/enter-plan.js.map +1 -1
- package/dist/tools/prompt-hints.js +1 -1
- package/dist/tools/prompt-hints.js.map +1 -1
- package/package.json +4 -4
|
@@ -122,6 +122,12 @@ export interface AgentSessionOptions {
|
|
|
122
122
|
*/
|
|
123
123
|
maxTurnExtensions?: number;
|
|
124
124
|
thinkingLevel?: ThinkingLevel;
|
|
125
|
+
/**
|
|
126
|
+
* Whether Claude Code sessions return a readable summary of the model's
|
|
127
|
+
* thinking ("summarized") or none ("omitted", Claude Code's default). For
|
|
128
|
+
* hosts that show reasoning; GG Coder's own UI doesn't.
|
|
129
|
+
*/
|
|
130
|
+
thinkingDisplay?: "summarized" | "omitted";
|
|
125
131
|
signal?: AbortSignal;
|
|
126
132
|
/** Prefix used for provider prompt-cache routing keys. */
|
|
127
133
|
promptCacheKeyPrefix?: string;
|
|
@@ -481,6 +487,7 @@ export declare class AgentSession {
|
|
|
481
487
|
private baseUrl?;
|
|
482
488
|
private maxTokens;
|
|
483
489
|
private thinkingLevel?;
|
|
490
|
+
private readonly thinkingDisplay?;
|
|
484
491
|
private customSystemPrompt?;
|
|
485
492
|
/** Sub-agent definition body composed into the standard prompt scaffolding. */
|
|
486
493
|
private agentPrompt?;
|
|
@@ -386,6 +386,7 @@ export class AgentSession {
|
|
|
386
386
|
baseUrl;
|
|
387
387
|
maxTokens;
|
|
388
388
|
thinkingLevel;
|
|
389
|
+
thinkingDisplay;
|
|
389
390
|
customSystemPrompt;
|
|
390
391
|
/** Sub-agent definition body composed into the standard prompt scaffolding. */
|
|
391
392
|
agentPrompt;
|
|
@@ -469,6 +470,7 @@ export class AgentSession {
|
|
|
469
470
|
this.baseUrl = options.baseUrl;
|
|
470
471
|
this.maxTokens = this.resolveMaxTokens(options.model);
|
|
471
472
|
this.thinkingLevel = options.thinkingLevel;
|
|
473
|
+
this.thinkingDisplay = options.thinkingDisplay;
|
|
472
474
|
this.customSystemPrompt = options.systemPrompt;
|
|
473
475
|
this.agentPrompt = options.agentPrompt;
|
|
474
476
|
}
|
|
@@ -1192,6 +1194,7 @@ export class AgentSession {
|
|
|
1192
1194
|
claudeCode: {
|
|
1193
1195
|
...process,
|
|
1194
1196
|
maxSeedChars: CLAUDE_CODE_SEED_CHARS,
|
|
1197
|
+
...(this.thinkingDisplay ? { thinkingDisplay: this.thinkingDisplay } : {}),
|
|
1195
1198
|
...(resume ? { resume } : {}),
|
|
1196
1199
|
...(title ? { title } : {}),
|
|
1197
1200
|
onSessionId: (id) => {
|