@coda-console/claude 1.7.6 → 1.7.7

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/agent/session.mjs CHANGED
@@ -165,8 +165,9 @@ export class ClaudeSession {
165
165
  settings: { crossSessionInbound: 'refuse' },
166
166
  includePartialMessages: true, forwardSubagentText: true, cwd: dir,
167
167
  ...(Object.keys(servers).length ? { mcpServers: servers } : {}), ...(additionalDirectories.length ? { additionalDirectories } : {}),
168
+ // Identify Coda even when a parent supplied an SDK label (anthropics/claude-code#97074).
168
169
  // Claude Code reports running and idle only when asked: idle is what ends a task's wait.
169
- env: { ...environment, CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS: '1' },
170
+ env: { ...environment, CLAUDE_CODE_ENTRYPOINT: 'coda', CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS: '1' },
170
171
  // Stop supplies the complete list of scheduled wakeups. A CronCreate result alone cannot tell whether one was later
171
172
  // deleted or fired.
172
173
  hooks: { Stop: [{ hooks: [async input => {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "id": "claude",
4
4
  "displayName": "Claude",
5
5
  "description": "Claude SDK Agent:Coda 基于 Claude Agent SDK 写的 ACP 入口,一个进程一个 SDK 会话;资源页的「Claude」面板显示会话报告的额度,可从 Coda 登录。",
6
- "version": "1.7.6",
6
+ "version": "1.7.7",
7
7
  "categories": ["Agent"],
8
8
  "dependencies": {
9
9
  "@agentclientprotocol/sdk": "1.4.0",