impel-cli 0.17.1 → 0.17.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.
- package/README.md +19 -1
- package/package.json +1 -1
- package/src/apps.js +60 -16
- package/src/cli.js +2 -0
- package/src/codesign.js +98 -24
- package/src/commands/apps.js +30 -14
- package/src/commands/converge.js +95 -2
- package/src/commands/setup.js +29 -30
- package/src/commands/update.js +5 -0
- package/src/installRecovery/engine.js +4 -1
- package/src/installRecovery/inference.js +3 -1
- package/src/installRecovery/tools.js +23 -5
- package/src/macSetup.js +260 -0
- package/src/nativeProcess.js +3 -3
- package/src/platformSetup.js +49 -0
- package/src/privileges.js +32 -0
- package/src/provisioning.js +10 -8
package/src/provisioning.js
CHANGED
|
@@ -110,19 +110,21 @@ async function prepareTenantCli(config, tenant, io, binaries) {
|
|
|
110
110
|
try {
|
|
111
111
|
const profile = definition.ensure();
|
|
112
112
|
const root = definition.root(profile);
|
|
113
|
+
if (!binaries[client]) {
|
|
114
|
+
clients[client] = {
|
|
115
|
+
status: "failed",
|
|
116
|
+
root,
|
|
117
|
+
error: `${client === "claude" ? "Claude Code" : "Codex"} CLI is not installed or discoverable`,
|
|
118
|
+
};
|
|
119
|
+
continue;
|
|
120
|
+
}
|
|
113
121
|
await io.syncSkills({
|
|
114
122
|
client,
|
|
115
123
|
gatewayUrl,
|
|
116
124
|
env: definition.env(profile),
|
|
117
125
|
label: `Impel ${client === "claude" ? "Claude" : "Codex"} CLI (${tenant.id})`,
|
|
118
126
|
});
|
|
119
|
-
clients[client] =
|
|
120
|
-
? { status: "ready", root, error: null }
|
|
121
|
-
: {
|
|
122
|
-
status: "failed",
|
|
123
|
-
root,
|
|
124
|
-
error: `${client === "claude" ? "Claude Code" : "Codex"} CLI is not installed or discoverable`,
|
|
125
|
-
};
|
|
127
|
+
clients[client] = { status: "ready", root, error: null };
|
|
126
128
|
} catch (error) {
|
|
127
129
|
clients[client] = {
|
|
128
130
|
status: "failed",
|
|
@@ -133,7 +135,7 @@ async function prepareTenantCli(config, tenant, io, binaries) {
|
|
|
133
135
|
}
|
|
134
136
|
|
|
135
137
|
const agentProfiles = Object.entries(clients)
|
|
136
|
-
.filter(([, client]) => client.root)
|
|
138
|
+
.filter(([, client]) => client.root && client.status === "ready")
|
|
137
139
|
.map(([client, value]) => ({
|
|
138
140
|
client,
|
|
139
141
|
root: value.root,
|