Skip to content

[Bug] opencode模式下 使用工具 返回空响应,且/list返回 Failed to list sessions: opencode: parse session list: json: cannot unmarshal number into Go struct field opencodeSessionEntry.updated of type string #218

Description

@mensylisir

cc-connect Version

v1.2.1 commit: 6e3a83f built: 2026-03-09T14:42:02Z

Operating System

Linux (Other)

Agent Type

Other

Platform

Feishu (Lark)

Installation Method

npm (npm install -g cc-connect)

Bug Description

/list 列出session
报错❌ Failed to list sessions: opencode: parse session list: json: cannot unmarshal number into Go struct field opencodeSessionEntry.updated of type string

让处理问题
一直返回⏳ 上一个请求仍在处理中,请稍候...,(空响应)

Steps to Reproduce

/list 列出session
报错❌ Failed to list sessions: opencode: parse session list: json: cannot unmarshal number into Go struct field opencodeSessionEntry.updated of type string

让处理问题
一直返回⏳ 上一个请求仍在处理中,请稍候...,(空响应)

Expected Behavior

期望正常使用

Actual Behavior

啥都用不了

Configuration (config.toml)

Logs / Error Output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1P1: 重要 Bug / 体验问题agent-opencodeOpenCode相关area-coreCore engine/session/routing relatedbugSomething isn't workingbug-confirmedBug with enough evidence to reproduce or confirmin-progress正在处理中needs-verificationNeeds current-version verification before dev workstaletriaged已确认,正在评估

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions