@beeos-ai/cli 1.0.12 → 1.0.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 (2) hide show
  1. package/dist/index.js +5 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2681,13 +2681,13 @@ function inferInitChoices(state) {
2681
2681
  if (state.hasIdentity && state.binding) {
2682
2682
  return {
2683
2683
  defaultDecision: "upgrade",
2684
- options: ["upgrade", "rebind-keep-key", "rebind-new-key", "skip"]
2684
+ options: ["upgrade", "rebind-new-key", "skip"]
2685
2685
  };
2686
2686
  }
2687
2687
  if (state.hasIdentity) {
2688
2688
  return {
2689
- defaultDecision: "rebind-keep-key",
2690
- options: ["upgrade", "rebind-keep-key", "rebind-new-key", "skip"]
2689
+ defaultDecision: "upgrade",
2690
+ options: ["upgrade", "rebind-new-key", "skip"]
2691
2691
  };
2692
2692
  }
2693
2693
  return { defaultDecision: "fresh", options: ["fresh", "skip"] };
@@ -2697,9 +2697,7 @@ function initDecisionLabel(decision) {
2697
2697
  case "fresh":
2698
2698
  return "Install + bind";
2699
2699
  case "upgrade":
2700
- return "Upgrade CLI & agents (keep binding)";
2701
- case "rebind-keep-key":
2702
- return "Re-bind (keep existing Ed25519 key)";
2700
+ return "Upgrade CLI & agents (keep binding & key)";
2703
2701
  case "rebind-new-key":
2704
2702
  return "Re-bind (rotate Ed25519 key)";
2705
2703
  case "skip":
@@ -5797,8 +5795,6 @@ async function run7(options) {
5797
5795
  }
5798
5796
  if (decision === "rebind-new-key") {
5799
5797
  await rotateIdentity();
5800
- }
5801
- if (decision === "rebind-keep-key" || decision === "rebind-new-key") {
5802
5798
  await removeBindingInfo();
5803
5799
  }
5804
5800
  const frameworkId = await decideFramework(state, decision, options);
@@ -5851,7 +5847,7 @@ async function decideFramework(state, decision, options) {
5851
5847
  if (options.framework && options.framework.trim()) {
5852
5848
  return options.framework.trim();
5853
5849
  }
5854
- if (state.binding && (decision === "upgrade" || decision === "rebind-keep-key")) {
5850
+ if (state.binding && decision === "upgrade") {
5855
5851
  const persisted = state.binding.framework?.trim();
5856
5852
  if (persisted) return persisted;
5857
5853
  return defaultFrameworkId();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beeos-ai/cli",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "type": "module",
5
5
  "description": "BeeOS CLI — run AI agents from your desktop",
6
6
  "bin": {