-
Notifications
You must be signed in to change notification settings - Fork 0
Add Kimi, and stop dismissing Qwen #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,6 +37,7 @@ pub enum Harness { | |
| OpenClaude, | ||
| Codex, | ||
| Opencode, | ||
| Kimi, | ||
| Antigravity, | ||
| Goose, | ||
| CopilotCli, | ||
|
|
@@ -223,6 +224,26 @@ pub const ALL: &[HarnessSpec] = &[ | |
| mcp_config: Some(McpConfigSource::Jsonc(".config/opencode/opencode.jsonc")), | ||
| hooks_config: None, | ||
| }, | ||
| HarnessSpec { | ||
| id: Harness::Kimi, | ||
| name: "kimi", | ||
| // `~/.kimi` is the pre-migration root and still holds sessions; the | ||
| // `.migrated-to-kimi-code` marker inside it points at `~/.kimi-code`, | ||
| // which is where configuration lives now. Probing both means a user on | ||
| // either side of that migration is detected. | ||
| probe: &[".kimi-code", ".kimi"], | ||
| sessions_dir: Some(".kimi/sessions"), | ||
| transcript: TranscriptSupport::NotImplemented { | ||
| detail: "kimi writes sessions/<project>/<session>/context.jsonl, a line-oriented \ | ||
| conversation engram could read; the project directory is a hash with no \ | ||
| published mapping back to a working directory", | ||
| }, | ||
| command_surface: CommandSurface::Skill { | ||
| dir: ".kimi-code/skills", | ||
| }, | ||
| mcp_config: Some(McpConfigSource::Json(".kimi-code/mcp.json")), | ||
| hooks_config: None, | ||
| }, | ||
| HarnessSpec { | ||
| id: Harness::Antigravity, | ||
| name: "antigravity", | ||
|
|
@@ -273,8 +294,11 @@ pub const ALL: &[HarnessSpec] = &[ | |
| transcript: TranscriptSupport::NotImplemented { | ||
| detail: "qwen's session storage has not been surveyed", | ||
| }, | ||
| command_surface: CommandSurface::None { | ||
| detail: "qwen's command format is unverified; engram will not guess at it", | ||
| // Verified against Qwen Code's own bundled documentation | ||
| // (`docs/features/skills.md`): personal skills live in | ||
| // `~/.qwen/skills/<name>/SKILL.md`. | ||
| command_surface: CommandSurface::Skill { | ||
| dir: ".qwen/skills", | ||
| }, | ||
|
Comment on lines
+300
to
302
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Making Qwen a writable skill surface and adding Kimi leaves AGENTS.md reference: AGENTS.md:L33-L33 Useful? React with 👍 / 👎. |
||
| mcp_config: Some(McpConfigSource::Json(".qwen/settings.json")), | ||
| hooks_config: None, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a user has only the explicitly supported pre-migration
~/.kimiroot, this probe marks Kimi present, butinstallalways writes to~/.kimi-code/skills;write_managedcreates that parent and reports success even though the detected legacy installation does not use the new configuration root. Restrict command installation to a~/.kimi-codehit, or select the command surface based on which root was detected.AGENTS.md reference: AGENTS.md:L273-L273
Useful? React with 👍 / 👎.