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 +1 -1
- package/package.json +1 -1
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(
|
|
1949
|
+
const encodedPath = cwd.replace(/[/.]/g, "-");
|
|
1950
1950
|
return `${homedir()}/.claude/projects/${encodedPath}`;
|
|
1951
1951
|
}
|
|
1952
1952
|
function connectToDaemon(sessionId, projectDir, cwd, command2, onInput) {
|