@haven_ai/cli 0.8.0-alpha.0 → 0.9.0-alpha.0

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/dist/index.d.cts CHANGED
@@ -82,6 +82,14 @@ interface RunDeps {
82
82
  out?: (line: string) => void;
83
83
  err?: (line: string) => void;
84
84
  env?: NodeJS.ProcessEnv;
85
+ /**
86
+ * #3597: overrides where `feedback submit`'s secret check (layer 2) looks
87
+ * for local agent credentials. Tests only — production never sets it, so
88
+ * the check reads the real `~/.haven/agents` the way the connect package's
89
+ * own `defaultCredentialRoot` does, and tests that must not touch a
90
+ * developer's real credentials pass a temp directory instead.
91
+ */
92
+ credentialsBaseDir?: string;
85
93
  }
86
94
  /** Entry point. Returns a process exit code; never throws for expected errors. */
87
95
  declare function run(argv: string[], deps?: RunDeps): Promise<number>;
@@ -109,6 +117,14 @@ interface ParsedArgs {
109
117
  hashes: boolean;
110
118
  version: boolean;
111
119
  yes: boolean;
120
+ /**
121
+ * #3729: override for `agents revoke` — revoke the agent even though a
122
+ * budget delegation is still live on-chain (pending, active or replaced),
123
+ * saying so out loud instead of silently leaving the budget redeemable.
124
+ * Without it the command refuses and lists the exact `haven budget
125
+ * revoke` command for each live row.
126
+ */
127
+ keepBudget: boolean;
112
128
  api?: string;
113
129
  email?: string;
114
130
  safe?: string;
package/dist/index.d.ts CHANGED
@@ -82,6 +82,14 @@ interface RunDeps {
82
82
  out?: (line: string) => void;
83
83
  err?: (line: string) => void;
84
84
  env?: NodeJS.ProcessEnv;
85
+ /**
86
+ * #3597: overrides where `feedback submit`'s secret check (layer 2) looks
87
+ * for local agent credentials. Tests only — production never sets it, so
88
+ * the check reads the real `~/.haven/agents` the way the connect package's
89
+ * own `defaultCredentialRoot` does, and tests that must not touch a
90
+ * developer's real credentials pass a temp directory instead.
91
+ */
92
+ credentialsBaseDir?: string;
85
93
  }
86
94
  /** Entry point. Returns a process exit code; never throws for expected errors. */
87
95
  declare function run(argv: string[], deps?: RunDeps): Promise<number>;
@@ -109,6 +117,14 @@ interface ParsedArgs {
109
117
  hashes: boolean;
110
118
  version: boolean;
111
119
  yes: boolean;
120
+ /**
121
+ * #3729: override for `agents revoke` — revoke the agent even though a
122
+ * budget delegation is still live on-chain (pending, active or replaced),
123
+ * saying so out loud instead of silently leaving the budget redeemable.
124
+ * Without it the command refuses and lists the exact `haven budget
125
+ * revoke` command for each live row.
126
+ */
127
+ keepBudget: boolean;
112
128
  api?: string;
113
129
  email?: string;
114
130
  safe?: string;