@compilr-dev/cli 0.8.10 → 0.9.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.
- package/CHANGELOG.md +35 -0
- package/dist/agent.d.ts +9 -0
- package/dist/agent.js +1 -0
- package/dist/commands-v2/handlers/project.js +88 -229
- package/dist/commands-v2/handlers/skill.js +10 -6
- package/dist/commands-v2/handlers/team.d.ts +19 -1
- package/dist/commands-v2/handlers/team.js +178 -3
- package/dist/compilr-diff-companion.vsix +0 -0
- package/dist/index.js +55 -3
- package/dist/multi-agent/agent-edit.d.ts +75 -0
- package/dist/multi-agent/agent-edit.js +84 -0
- package/dist/multi-agent/capability-loader.d.ts +15 -5
- package/dist/multi-agent/capability-loader.js +18 -8
- package/dist/multi-agent/custom-agents.d.ts +12 -0
- package/dist/multi-agent/custom-agents.js +22 -1
- package/dist/repl-helpers.d.ts +6 -1
- package/dist/repl-helpers.js +14 -7
- package/dist/repl-v2.d.ts +10 -0
- package/dist/repl-v2.js +43 -2
- package/dist/ui/overlay/impl/agent-edit-overlay-v2.d.ts +105 -0
- package/dist/ui/overlay/impl/agent-edit-overlay-v2.js +364 -0
- package/dist/ui/overlay/impl/custom-agent-form-overlay-v2.d.ts +1 -8
- package/dist/ui/overlay/impl/custom-agent-form-overlay-v2.js +16 -120
- package/dist/ui/overlay/impl/project-edit-overlay-v2.d.ts +2 -1
- package/dist/ui/overlay/impl/project-edit-overlay-v2.js +26 -19
- package/dist/ui/overlay/impl/skills-overlay-v2.d.ts +42 -2
- package/dist/ui/overlay/impl/skills-overlay-v2.js +238 -185
- package/dist/ui/overlay/impl/team-overlay-v2.d.ts +1 -2
- package/dist/ui/overlay/impl/team-overlay-v2.js +6 -9
- package/dist/ui/terminal-types.d.ts +8 -0
- package/dist/utils/model-tiers.js +5 -0
- package/package.json +2 -2
|
@@ -105,13 +105,6 @@ class AgentDetailScreen extends BaseScreen {
|
|
|
105
105
|
if (isValidProfile) {
|
|
106
106
|
lines.push(` ${s.muted(PROFILE_INFO[this.item.toolProfile].description)}`);
|
|
107
107
|
}
|
|
108
|
-
// Show enabled skills
|
|
109
|
-
if (this.item.enabledSkills && this.item.enabledSkills.length > 0) {
|
|
110
|
-
lines.push(` ${s.muted('Skills:')} ${s.secondary(this.item.enabledSkills.join(', '))}`);
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
lines.push(` ${s.muted('Skills:')} ${s.secondary('All skills enabled')}`);
|
|
114
|
-
}
|
|
115
108
|
}
|
|
116
109
|
lines.push('');
|
|
117
110
|
// Hints - different based on editing mode
|
|
@@ -123,7 +116,7 @@ class AgentDetailScreen extends BaseScreen {
|
|
|
123
116
|
}
|
|
124
117
|
}
|
|
125
118
|
else {
|
|
126
|
-
lines.push(` ${s.muted('Enter: switch to agent · t: edit model tier')}`);
|
|
119
|
+
lines.push(` ${s.muted('Enter: switch to agent · e: edit agent · t: edit model tier')}`);
|
|
127
120
|
if (this.item.id !== 'default') {
|
|
128
121
|
lines.push(` ${s.muted('d: remove from team · Esc: go back')}`);
|
|
129
122
|
}
|
|
@@ -182,6 +175,11 @@ class AgentDetailScreen extends BaseScreen {
|
|
|
182
175
|
return closeOverlay({ action: 'switch', agentId: this.item.id });
|
|
183
176
|
}
|
|
184
177
|
const char = extractPrintable(data);
|
|
178
|
+
if (char === 'e') {
|
|
179
|
+
// Open the agent editor - the command handler applies the change, because
|
|
180
|
+
// team.updateAgent is async and may need to replace the REPL's agent reference.
|
|
181
|
+
return closeOverlay({ action: 'edit', agentId: this.item.id, role: this.item.role });
|
|
182
|
+
}
|
|
185
183
|
if (char === 't') {
|
|
186
184
|
// Enter tier editing mode
|
|
187
185
|
this.editingTier = true;
|
|
@@ -561,7 +559,6 @@ export class TeamOverlayV2 extends TabbedListOverlayV2 {
|
|
|
561
559
|
isCoordinator: agent.id === team.coordinatorId,
|
|
562
560
|
hasToolRestrictions: agent.toolFilter !== undefined && agent.toolFilter.length > 0,
|
|
563
561
|
toolProfile: agent.toolProfile,
|
|
564
|
-
enabledSkills: agent.enabledSkills,
|
|
565
562
|
modelTier: agent.modelTier,
|
|
566
563
|
modelId,
|
|
567
564
|
isMember: true,
|
|
@@ -17,6 +17,14 @@ export interface AgentMessage {
|
|
|
17
17
|
message: string;
|
|
18
18
|
/** Optional: Simpler message to display to user (defaults to message) */
|
|
19
19
|
displayMessage?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The macro this message came from, if any.
|
|
22
|
+
*
|
|
23
|
+
* ⚠️ SET IT, OR THE AGENT IS NOT WARNED. A macro's text assumes tools; without the name the
|
|
24
|
+
* REPL cannot tell whether the target agent can carry it out, and the agent announces work it
|
|
25
|
+
* will fail partway through. See `macroToolGap` in the SDK.
|
|
26
|
+
*/
|
|
27
|
+
macro?: string;
|
|
20
28
|
}
|
|
21
29
|
export interface TerminalUIEvents {
|
|
22
30
|
submit: (input: string) => void;
|
|
@@ -19,6 +19,11 @@
|
|
|
19
19
|
// =============================================================================
|
|
20
20
|
const MODEL_TIERS = {
|
|
21
21
|
// Claude (Anthropic) - current
|
|
22
|
+
// ⚠️ Unknown ids fall to 'medium', and /design, /arch, /refine, /scaffold need 'large' — a
|
|
23
|
+
// missing current model tells its user to "upgrade" to an older one. Add new ids here.
|
|
24
|
+
'claude-opus-5-5': { tier: 'large', provider: 'anthropic' },
|
|
25
|
+
'claude-fable-5-1': { tier: 'large', provider: 'anthropic' },
|
|
26
|
+
'claude-opus-5': { tier: 'large', provider: 'anthropic' },
|
|
22
27
|
'claude-fable-5': { tier: 'large', provider: 'anthropic' },
|
|
23
28
|
'claude-opus-4-8': { tier: 'large', provider: 'anthropic' },
|
|
24
29
|
'claude-sonnet-5': { tier: 'large', provider: 'anthropic' },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compilr-dev/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "AI-powered coding assistant CLI using @compilr-dev/agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -60,7 +60,7 @@
|
|
|
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.
|
|
63
|
+
"@compilr-dev/sdk": "^0.29.8",
|
|
64
64
|
"@compilr-dev/ui-core": "^0.0.1",
|
|
65
65
|
"@modelcontextprotocol/sdk": "^1.23.0",
|
|
66
66
|
"ansi-escapes": "^7.3.0",
|