Try the plugin on macOS and Linux

未关闭 适合新手
#25 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
electron, nodejs, typescript

调研方向

从最新发布版本将插件安装到测试 vault 中开始,或在仓库中运行 npm ci、npm run check 和 npm run sample。然后检查可能出错的位置:src/importers/claudeCode.ts 和 src/agents/claudeCli.ts,用于查找 Claude Code 会话和 claude 可执行文件;src/node/platform.ts,用于定位 Node;以及 src/importers/common.ts 中的 NEVER_READ。每个测试过的操作系统各留一条评论即为完成;发现的任何问题请另建一个关联的 issue。

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

描述

help wanted

Cortex is built and tested on Windows only. The plugin is isDesktopOnly but nothing limits it to Windows, so it may install on macOS or Linux and partly work. Nobody has tried yet.

How to help

You don't need to write code for the first part, just try it and report:

  1. Install the plugin from the latest release into a test vault (not your real one), following the README's install steps.
  2. Or build it: read CONTRIBUTING.md and docs/DEVELOPMENT.md, then:
    git clone https://github.com/A21-devs/cortex.git && cd cortex
    npm ci
    npm run check
    npm run sample         # prints a made-up vault's folder
    npm run deploy:dry     # shows what deploy would copy
    
  3. Open the sample vault in Obsidian, open Cortex, and try Add sources with Claude Code if you use it.

Expected

The figure draws, the sample record works, and Claude Code sessions in ~/.claude/projects are found.

Places most likely to break

  • finding Claude Code's sessions and the claude executable: src/importers/claudeCode.ts, src/agents/claudeCli.ts
  • the runner finding Node: src/node/platform.ts, Settings › Advanced › Node.js path
  • the never-read rules in src/importers/common.ts (NEVER_READ), which only list Windows browser, mail and password manager folders under AppData

Acceptance criteria

  • a comment here per OS tried: OS and version, Obsidian version, what worked, what didn't, console errors (Ctrl+Shift+I, Console tab; leave out note titles and paths)
  • a separate issue for each thing that breaks, linked here
  • (optional) PRs that fix them, each with npm run check passing

Taking it

Comment here if you want to take it, and I will assign it to you. Ask questions in this issue, I will answer here.

主要语言
TypeScript
星标
2
派生
1
平均合并
5 分钟
30 天内合并 PR
19

环境准备

从这里开始

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

A21-devs/cortex 的其他 Issue

查看 A21-devs/cortex 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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