autopilot-ai 1.2.1 → 1.4.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.
@@ -91,6 +91,8 @@ interface OpenRouterProviderPrefs {
91
91
  max_price?: Record<string, number>;
92
92
  }
93
93
 
94
+ type SubagentPolicy = "off" | "suggest" | "auto";
95
+
94
96
  type ReasoningEffort = "low" | "medium" | "high";
95
97
  interface McpServerConfig {
96
98
  type: "local" | "remote";
@@ -156,6 +158,8 @@ interface KimiConfig {
156
158
  accountId?: string;
157
159
  apiToken?: string;
158
160
  reasoningEffort?: ReasoningEffort;
161
+ /** Harness subagent routing: off, suggest (default), or auto. Auto never bypasses tool permission or worker budgets. */
162
+ subagentPolicy?: SubagentPolicy;
159
163
  /**
160
164
  * Feature flag for the plan / edit / auto permission modes. Off by default:
161
165
  * every session runs in auto (tools run without per-call prompts) and the
@@ -173,6 +177,9 @@ interface KimiConfig {
173
177
  compiledContext?: boolean;
174
178
  /** Number of recent user turns to retain image content; older images are dropped. */
175
179
  imageHistoryTurns?: number;
180
+ /** Hard safety ceiling on tool iterations per turn, across automatic
181
+ * 200-call counter resets. Defaults to 1000. */
182
+ maxTotalToolIterations?: number;
176
183
  /** Enable local structured memory (SQLite + embeddings). */
177
184
  memoryEnabled?: boolean;
178
185
  /** Path to memory database. Defaults to .kimiflare/memory.db in repo root, or ~/.local/share/kimiflare/memory.db. */
@@ -225,6 +232,8 @@ interface KimiConfig {
225
232
  uiEngine?: "ink" | "camouflage";
226
233
  /** Worker endpoint URL for spawning standalone research/executor workers. */
227
234
  workerEndpoint?: string;
235
+ /** Worker provider. Remote remains the compatibility default. */
236
+ workerBackend?: "remote" | "hotcell";
228
237
  /** Max cost per worker in USD (default: 1.0). */
229
238
  workerBudgetUsd?: number;
230
239
  /** Hard ceiling for workerBudgetUsd. Any configured or programmatic value above this is silently capped. Default: 5.0. */