fix(commands): resolve /context JSONL path without daemon cwd (#229) - #233
Conversation
|
Note on the failing The patch test itself passes locally: So this PR is blocked on the repo's Claude Code Review workflow credentials / rerun, not on a code failure from this change. |
TerrysPOV
left a comment
There was a problem hiding this comment.
Code review
Found 1 issue:
existsSyncis removed from the imports but still called insideextractVoiceDirectives. PR 233 dropsimport { existsSync } from "node:fs";from the top ofsrc/commands/telegram.ts, but line 623 still callsexistsSync(p)when filtering[voice:/path]directives in responses. There is notsc/typecheck job in CI to catch this — it lands as aReferenceErrorthe first time a Telegram-handled response contains a voice directive.
claudeclaw/src/commands/telegram.ts
Lines 8 to 15 in 0d5dd85
claudeclaw/src/commands/telegram.ts
Lines 620 to 626 in 0d5dd85
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressed the review feedback in 0c9cfea. Restored Added a small import/regression test in node --experimental-strip-types --test tests/session-files.test.ts
# 6 pass, 0 failReady for another look when you have a moment. |
|
@TerrysPOV friendly re-review ping — the |
Maintainer commit to satisfy plugin-version-guard and marketplace-version-guard CI checks for PR moazbuilds#233.
TerrysPOV
left a comment
There was a problem hiding this comment.
Prior blocker resolved — existsSync import restored at src/commands/telegram.ts:10.
Maintainer-committed the plugin + marketplace version bumps to 1.0.40 in c2753ba so plugin-version-guard and marketplace-version-guard pass — please run bun run bump:plugin-version + bun run bump:marketplace-version yourself on future PRs.
Approving.
Required by plugin-version-guard / marketplace-version-guard — master advanced to 1.0.39 after moazbuilds#233 merged, matching this branch. (moazbuilds#234)
Maintainer commit — master reached 1.0.40 via moazbuilds#233, so the branch's 1.0.40 bump was a no-op. Re-bump to 1.0.41 to satisfy plugin-version-guard and marketplace-version-guard for PR moazbuilds#234.
Fixes #229. Adds findSessionJsonlPath in src/sessionFiles.ts; wires telegram/discord /context and ui sessions/usage. Tests: tests/session-files.test.ts (5 pass).