walkie-cli 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/dist/config.js +8 -2
  2. package/package.json +2 -2
package/dist/config.js CHANGED
@@ -70,9 +70,15 @@ export function resolveConfig(opts) {
70
70
  sources.push("env");
71
71
  if (!url || !token) {
72
72
  const project = findProjectConfig(opts.cwd);
73
- if (project) {
73
+ // A project file only counts when it brings its own token. Otherwise a
74
+ // repo's url would be paired with the token from the user's config,
75
+ // sending this machine's credentials to whatever server the repo names.
76
+ const projectToken = project
77
+ ? ((project.data.tokenEnv ? env[project.data.tokenEnv] : project.data.token) ?? "")
78
+ : "";
79
+ if (project && projectToken) {
74
80
  url ||= project.data.url ?? "";
75
- token ||= (project.data.tokenEnv ? env[project.data.tokenEnv] : project.data.token) ?? "";
81
+ token ||= projectToken;
76
82
  sources.push(project.path);
77
83
  }
78
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "walkie-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Pull a Walkie Talkie feed into Claude Code, Cursor and AGENTS.md agents, or run any machine as a Walkie Talkie recipient (SSE listener, verified webhook endpoint, Claude Code channel bridge).",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "node": ">=20.11"
28
28
  },
29
29
  "bin": {
30
- "walkie": "./bin/walkie.mjs"
30
+ "walkie": "bin/walkie.mjs"
31
31
  },
32
32
  "files": [
33
33
  "bin",