CommandCodeAI / CommandCodeAI/command-code

Conversation history is tied to case-sensitive directory paths

未关闭
#538 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

windows
主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

描述

Summary

The conversation history appears to be matched using the exact directory path string, including letter casing.

Expected Behavior

Since both paths refer to the same directory (on a case-insensitive filesystem), the existing conversation history should be shown.

Actual Behavior

A new conversation is created (or previous conversations are not shown) because the path comparison is case-sensitive.

Steps to reproduce the issue

Open a project from:

/path/to/project
Start a conversation.

Later, open the same physical directory using:

/path/to/Project

(only the casing differs).

Observe the conversation history.

Command Code Version

0.40.14

Operating System

Windows

Terminal/IDE

No response

Shell

No response

Additional context

No response

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未指定源文件或测试。首先跟踪会话历史记录的查找位置,以及 Windows 上如何比较项目目录路径,然后使用仅大小写不同的路径重现该问题。当同一个物理目录无论路径大小写如何都能显示其现有的会话历史记录时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

领域
cli, operating-systems
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
64/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。