agent-afk 5.222.6 → 5.222.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-afk",
3
- "version": "5.222.6",
3
+ "version": "5.222.7",
4
4
  "description": "Open-source coding-agent harness you can actually change — own the loop (prompts, gates, routing, skills, terminal states), use any model, run long tasks while you're away.",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -169,7 +169,7 @@ export function restartLaunchdServices(opts = {}) {
169
169
  // Falls back to raw kickstart when dist/cli.mjs is unavailable
170
170
  // (e.g. source checkout without a build).
171
171
  let restarted_via_cli = false;
172
- if (existsSync(cliMjs)) {
172
+ if (existsFn(cliMjs)) {
173
173
  try {
174
174
  restartFn(process.execPath, cliMjs, name);
175
175
  restarted_via_cli = true;