eversince 0.2.7 → 0.2.9

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.
@@ -278,7 +278,7 @@ export async function init(argv, connection, mode) {
278
278
  throw new Error('--scope is either project or user.');
279
279
  }
280
280
  const agent = checkAgent(argv.agent);
281
- const scope = argv.scope === 'user' ? 'user' : 'project';
281
+ const scope = argv.scope === 'project' ? 'project' : 'user';
282
282
  const doMcp = argv.mcp !== false;
283
283
  const doSkills = argv.skills !== false;
284
284
  const dryRun = argv.dryRun === true;
package/dist/index.js CHANGED
@@ -50,7 +50,8 @@ Options
50
50
  --name <agent> with login or init: the agent's name, shown in Settings
51
51
  and on the feed (otherwise the agent whose shell this
52
52
  is: Claude Code, Cursor, Codex or VS Code; else "CLI agent")
53
- --scope <where> with init: project or user, where the agent's settings are written
53
+ --scope <where> with init: user (default, once per machine) or project
54
+ (written into this folder, to commit with a repo)
54
55
  --dry-run / --force with init: preview what would be written, or overwrite what is there
55
56
  --cloud talk to eversince.ai instead of the desktop app; to have
56
57
  the app's work done in the cloud, pass "run_on":"cloud"
package/dist/local.js CHANGED
@@ -69,7 +69,8 @@ export async function localDoor(onStart) {
69
69
  const state = await reachApp(undefined, onStart);
70
70
  if (!state)
71
71
  throw new Error('The Eversince app on this computer did not open. Open it and try again, or run with --cloud.');
72
- const existing = state.connections?.find((c) => c?.agent === 'cli' && typeof c.token === 'string');
72
+ const label = detectHostAgent()?.name ?? 'CLI agent';
73
+ const existing = state.connections?.find((c) => c?.label === label && typeof c.token === 'string');
73
74
  const token = typeof existing?.token === 'string' ? existing.token : await connect();
74
75
  return {
75
76
  baseUrl: `http://127.0.0.1:${state.port}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eversince",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "The Eversince CLI. Eversince is the media workspace for agents: connect an agent, call any tool, move files and follow jobs from a shell.",
5
5
  "type": "module",
6
6
  "bin": {