impel-cli 0.20.10 → 0.20.11

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/RELEASE_NOTES.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release notes
2
2
 
3
+ ## 0.20.11 — Managed profile upgrade compatibility
4
+
5
+ - Recognizes every discovery-root manifest from v2 through the current schema
6
+ when refreshing generated native agents.
7
+ - Preserves collision protection for files absent from the prior managed
8
+ manifest while allowing v8 profiles to regenerate onto v9.
9
+ - Adds a regression test for upgrading the immediately previous manifest.
10
+
3
11
  ## 0.20.10 — Direct-answer continuation surface
4
12
 
5
13
  - Limits answer-only native agents to the exact answer and resume tools.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impel-cli",
3
- "version": "0.20.10",
3
+ "version": "0.20.11",
4
4
  "description": "Prepare isolated Claude and Codex workspaces for every accessible Impel tenant",
5
5
  "type": "module",
6
6
  "bin": {
package/src/agents.js CHANGED
@@ -949,7 +949,9 @@ export function syncAgentProfile({
949
949
  throw new Error("generated native-agent destinations are not unique");
950
950
  }
951
951
  const priorFiles = new Set(prior?.files || []);
952
- const priorUsesDiscoveryRoot = [2, 3, 4, 5, 6, MANAGED_AGENT_MANIFEST_VERSION].includes(prior?.version);
952
+ const priorUsesDiscoveryRoot = Number.isInteger(prior?.version)
953
+ && prior.version >= 2
954
+ && prior.version <= MANAGED_AGENT_MANIFEST_VERSION;
953
955
 
954
956
  // Native clients discover standalone definitions directly under `agents/`.
955
957
  // Preflight every destination before writing so an unmanaged file with the