@compilr-dev/cli 0.5.11 → 0.5.13

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 (36) hide show
  1. package/dist/.tsbuildinfo.app +1 -1
  2. package/dist/.tsbuildinfo.data +1 -1
  3. package/dist/.tsbuildinfo.domain +1 -1
  4. package/dist/.tsbuildinfo.foundation +1 -1
  5. package/dist/agent.js +1 -1
  6. package/dist/anchors/index.d.ts +1 -1
  7. package/dist/anchors/index.js +1 -1
  8. package/dist/anchors/project-anchors.d.ts +9 -60
  9. package/dist/anchors/project-anchors.js +31 -173
  10. package/dist/commands-v2/handlers/session.js +2 -2
  11. package/dist/commands-v2/types.d.ts +1 -2
  12. package/dist/compilr-diff-companion.vsix +0 -0
  13. package/dist/multi-agent/capability-loader.js +1 -1
  14. package/dist/multi-agent/checkpointer.d.ts +5 -4
  15. package/dist/multi-agent/checkpointer.js +25 -5
  16. package/dist/multi-agent/custom-agents.d.ts +5 -62
  17. package/dist/multi-agent/custom-agents.js +10 -136
  18. package/dist/multi-agent/delegation-tracker.d.ts +5 -146
  19. package/dist/multi-agent/delegation-tracker.js +7 -218
  20. package/dist/multi-agent/index.d.ts +14 -18
  21. package/dist/multi-agent/index.js +22 -23
  22. package/dist/repl-v2.js +1 -1
  23. package/dist/settings/index.d.ts +3 -14
  24. package/dist/settings/index.js +5 -32
  25. package/dist/settings/mcp-config.d.ts +7 -54
  26. package/dist/settings/mcp-config.js +18 -104
  27. package/dist/tools/delegation-status.js +1 -1
  28. package/dist/tools/platform-adapter.d.ts +2 -12
  29. package/dist/tools/platform-adapter.js +52 -171
  30. package/dist/ui/overlay/impl/background-overlay-v2.d.ts +1 -1
  31. package/dist/ui/overlay/impl/custom-agent-form-overlay-v2.d.ts +1 -1
  32. package/dist/ui/overlay/impl/custom-agent-form-overlay-v2.js +1 -4
  33. package/dist/ui/overlay/impl/delegations-overlay-v2.js +1 -1
  34. package/dist/ui/overlay/impl/team-overlay-v2.d.ts +1 -1
  35. package/dist/ui/overlay/impl/team-overlay-v2.js +1 -1
  36. package/package.json +2 -2
@@ -8,7 +8,7 @@
8
8
  */
9
9
  import { BaseOverlayV2 } from '../../base/index.js';
10
10
  import type { RenderContext, OverlayAction, KeyEvent } from '../index.js';
11
- import type { BackgroundSessionInfo } from '../../../multi-agent/types.js';
11
+ import type { BackgroundSessionInfo } from '@compilr-dev/sdk';
12
12
  export type BackgroundOverlayResult = {
13
13
  type: 'closed';
14
14
  } | {
@@ -9,7 +9,7 @@
9
9
  */
10
10
  import { BaseOverlayV2 } from '../../base/index.js';
11
11
  import type { RenderContext, OverlayAction, KeyEvent } from '../types.js';
12
- import { type CustomAgentDefinition, type ToolConfig, type ToolProfile } from '../../../multi-agent/custom-agents.js';
12
+ import { type CustomAgentDefinition, type TeamToolConfig as ToolConfig, type ToolProfile } from '@compilr-dev/sdk';
13
13
  import { type ModelTier } from '../../../models/index.js';
14
14
  interface FormField {
15
15
  id: string;
@@ -8,10 +8,7 @@
8
8
  * Step 4: Model Tier (select fast/balanced/powerful)
9
9
  */
10
10
  import { BaseOverlayV2, renderBorder, wrapText } from '../../base/index.js';
11
- import { validateAgentId, isAgentIdTaken, } from '../../../multi-agent/custom-agents.js';
12
- import { PREDEFINED_ROLE_IDS } from '../../../multi-agent/types.js';
13
- import { TOOL_GROUPS, PROFILE_INFO, getGroupsByTier, createDefaultToolConfig, getToolsForProfile, } from '../../../multi-agent/tool-config.js';
14
- import { getDefinedSkillNames, checkSkillCompatibility, getSkillsByCategory, } from '../../../multi-agent/skill-requirements.js';
11
+ import { validateAgentId, isAgentIdTaken, PREDEFINED_ROLE_IDS, TOOL_GROUPS, PROFILE_INFO, getGroupsByTier, createDefaultToolConfig, getToolsForProfile, getDefinedSkillNames, checkSkillCompatibility, getSkillsByCategory, } from '@compilr-dev/sdk';
15
12
  import { MODEL_TIERS, TIER_INFO } from '../../../models/index.js';
16
13
  // Profile list for selection
17
14
  const PROFILE_LIST = [
@@ -105,7 +105,7 @@ export class DelegationsOverlayV2 extends BaseOverlayV2 {
105
105
  const lines = [];
106
106
  const innerWidth = context.width - 4;
107
107
  const tracker = getDelegationTracker();
108
- const d = this.state.detailId ? tracker.get(this.state.detailId) : undefined;
108
+ const d = this.state.detailId ? tracker.getDelegation(this.state.detailId) : undefined;
109
109
  lines.push(...this.renderHeader(this.state.detailId ?? 'Delegation'));
110
110
  if (!d) {
111
111
  lines.push(s.error(' Delegation not found.'));
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { TabbedListOverlayV2, BaseScreen } from '../../base/index.js';
13
13
  import type { AgentTeam, AgentRole } from '../../../multi-agent/index.js';
14
- import { type ToolProfile } from '../../../multi-agent/tool-config.js';
14
+ import { type ToolProfile } from '@compilr-dev/sdk';
15
15
  import { type ModelTier } from '../../../models/index.js';
16
16
  interface TeamMemberItem {
17
17
  id: string;
@@ -12,7 +12,7 @@
12
12
  import * as terminal from '../../terminal.js';
13
13
  import { TabbedListOverlayV2, BaseScreen, stay, popScreen, closeOverlay, isEscape, isCtrlC, isEnter, isClose, extractPrintable, renderBorder, wrapText, renderProgressBar, formatTokens, } from '../../base/index.js';
14
14
  import { ROLE_METADATA } from '../../../multi-agent/index.js';
15
- import { PROFILE_INFO } from '../../../multi-agent/tool-config.js';
15
+ import { PROFILE_INFO } from '@compilr-dev/sdk';
16
16
  import { TIER_INFO, getModelForTier } from '../../../models/index.js';
17
17
  import { getSettings } from '../../../settings/index.js';
18
18
  import { getRoleTierDefault, setRoleTierDefault } from '../../../settings/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/cli",
3
- "version": "0.5.11",
3
+ "version": "0.5.13",
4
4
  "description": "AI-powered coding assistant CLI using @compilr-dev/agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -58,7 +58,7 @@
58
58
  "@compilr-dev/agents-coding": "^1.0.4",
59
59
  "@compilr-dev/editor-core": "^0.0.2",
60
60
  "@compilr-dev/factory": "^0.1.12",
61
- "@compilr-dev/sdk": "^0.1.28",
61
+ "@compilr-dev/sdk": "^0.2.7",
62
62
  "@compilr-dev/ui-core": "^0.0.1",
63
63
  "@modelcontextprotocol/sdk": "^1.23.0",
64
64
  "better-sqlite3": "^12.5.0",