autopilot-ai 1.2.2 → 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.
- package/README.md +24 -0
- package/dist/index.js +2419 -1356
- package/dist/index.js.map +1 -1
- package/dist/sdk/index.d.ts +6 -0
- package/dist/sdk/index.js +537 -62
- package/dist/sdk/index.js.map +1 -1
- package/package.json +1 -1
package/dist/sdk/index.d.ts
CHANGED
|
@@ -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
|
|
@@ -228,6 +232,8 @@ interface KimiConfig {
|
|
|
228
232
|
uiEngine?: "ink" | "camouflage";
|
|
229
233
|
/** Worker endpoint URL for spawning standalone research/executor workers. */
|
|
230
234
|
workerEndpoint?: string;
|
|
235
|
+
/** Worker provider. Remote remains the compatibility default. */
|
|
236
|
+
workerBackend?: "remote" | "hotcell";
|
|
231
237
|
/** Max cost per worker in USD (default: 1.0). */
|
|
232
238
|
workerBudgetUsd?: number;
|
|
233
239
|
/** Hard ceiling for workerBudgetUsd. Any configured or programmatic value above this is silently capped. Default: 5.0. */
|