@compilr-dev/cli 0.10.2 → 0.10.3

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.
Binary file
@@ -10,7 +10,7 @@ export { getActiveProject, setActiveProject } from './project-db.js';
10
10
  /**
11
11
  * All database tools combined (32 tools from SDK)
12
12
  */
13
- export declare const allDbTools: import("@compilr-dev/sdk").Tool<never>[];
13
+ export declare const allDbTools: import("@compilr-dev/agents").Tool<never>[];
14
14
  /**
15
15
  * All factory tools (5 tools from @compilr-dev/factory)
16
16
  */
@@ -14,7 +14,7 @@ import { existsSync, rmSync } from 'fs';
14
14
  import { join } from 'path';
15
15
  import { getCurrentProject, setCurrentProject } from './project-db.js';
16
16
  import { awardFirstProject, awardWorkItemCompletion } from '../games/coins.js';
17
- import { getActiveSharedContext } from '@compilr-dev/sdk';
17
+ import { getActiveSharedContext, resolveSelfAlias } from '@compilr-dev/sdk';
18
18
  import { setAnchorStore } from '../anchors/index.js';
19
19
  import { recordTeamActivity, getSessionsPath as getCheckpointerSessionsPath } from '../multi-agent/index.js';
20
20
  import { getGlobalEpisodeStore } from '../episodes/index.js';
@@ -159,13 +159,11 @@ const config = {
159
159
  awardWorkItemCompletion();
160
160
  },
161
161
  resolveOwner: () => {
162
- // The SDK only calls this with alias='self'
162
+ // The SDK only calls this with alias='self'. The "'default' is the coordinator slot, not
163
+ // an identity" rule comes from the SDK so Desktop and the CLI cannot drift on it — it was
164
+ // inline here and absent there, which cost Desktop per-agent user-edit notices entirely.
163
165
  const sharedContext = getActiveSharedContext();
164
- const activeAgent = sharedContext?.getTeam().activeAgent;
165
- if (activeAgent && activeAgent !== 'default') {
166
- return activeAgent;
167
- }
168
- return undefined;
166
+ return resolveSelfAlias(sharedContext?.getTeam().activeAgent);
169
167
  },
170
168
  },
171
169
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/cli",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "AI-powered coding assistant CLI using @compilr-dev/agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -55,12 +55,12 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@anthropic-ai/sdk": "^0.74.0",
58
- "@compilr-dev/agents": "^0.8.0",
58
+ "@compilr-dev/agents": "^0.8.1",
59
59
  "@compilr-dev/agents-coding": "^1.0.4",
60
60
  "@compilr-dev/editor-core": "^0.0.3",
61
61
  "@compilr-dev/factory": "^0.1.35",
62
62
  "@compilr-dev/logger": "^0.1.0",
63
- "@compilr-dev/sdk": "^0.35.0",
63
+ "@compilr-dev/sdk": "^0.36.0",
64
64
  "@compilr-dev/ui-core": "^0.0.1",
65
65
  "@modelcontextprotocol/sdk": "^1.23.0",
66
66
  "ansi-escapes": "^7.3.0",