afk-code 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -1946,7 +1946,7 @@ import { createConnection } from "net";
1946
1946
  import * as pty from "node-pty";
1947
1947
  var DAEMON_SOCKET = "/tmp/afk-code-daemon.sock";
1948
1948
  function getClaudeProjectDir(cwd) {
1949
- const encodedPath = cwd.replace(/\//g, "-");
1949
+ const encodedPath = cwd.replace(/[/.]/g, "-");
1950
1950
  return `${homedir()}/.claude/projects/${encodedPath}`;
1951
1951
  }
1952
1952
  function connectToDaemon(sessionId, projectDir, cwd, command2, onInput) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "afk-code",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Monitor and interact with Claude Code sessions from Slack/Discord/Telegram",
5
5
  "author": "Colin Harman",
6
6
  "repository": {