@netlify/agent-runner-cli 1.156.0-image-prompt.4 → 1.156.0-image-prompt.6
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/bin-local.js +346 -241
- package/dist/bin.js +406 -311
- package/dist/connections-mcp-server.d.ts +2 -0
- package/dist/connections-mcp-server.js +89 -0
- package/dist/index.d.ts +9 -13
- package/dist/index.js +330 -228
- package/dist/interactions-mcp-server.js +19 -19
- package/dist/skills/netlify-ai-gateway/SKILL.md +5 -21
- package/dist/skills/netlify-server@netlifyserver/SKILL.md +163 -0
- package/package.json +8 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { Options, ResultPromise } from 'execa';
|
|
2
|
-
|
|
3
1
|
declare const ACCOUNT_TYPE_OTHER = "other";
|
|
4
2
|
declare const ACCOUNT_TYPE_PERSONAL = "personal";
|
|
5
3
|
declare const ACCOUNT_TYPE_PRO = "pro";
|
|
@@ -7,12 +5,7 @@ declare const ACCOUNT_TYPE_ENTERPRISE = "enterprise";
|
|
|
7
5
|
declare const ACCOUNT_TYPE_FREE = "free";
|
|
8
6
|
declare const SUPPORTED_MODES: string[];
|
|
9
7
|
declare const SUPPORTED_EFFORTS: readonly ["low", "medium", "high", "max", "xhigh"];
|
|
10
|
-
|
|
11
|
-
interface IdleTimeoutOptions {
|
|
12
|
-
idleTimeout?: number;
|
|
13
|
-
}
|
|
14
|
-
/** Run a command, with arguments being an array */
|
|
15
|
-
declare const run: (file: string, args?: string[] | object, options?: Options & IdleTimeoutOptions) => ResultPromise;
|
|
8
|
+
declare const MODEL_DEFAULT_EFFORT = "model_default";
|
|
16
9
|
|
|
17
10
|
interface AgentQuestionOption {
|
|
18
11
|
label: string;
|
|
@@ -28,9 +21,15 @@ interface AnsweredInteraction {
|
|
|
28
21
|
questions: AgentQuestion[];
|
|
29
22
|
responses: Array<string | string[] | null>;
|
|
30
23
|
instruction?: string;
|
|
24
|
+
authorization?: ResolvedAuthorization;
|
|
25
|
+
}
|
|
26
|
+
interface ResolvedAuthorization {
|
|
27
|
+
service?: string;
|
|
28
|
+
/** False when the user skipped or dismissed it rather than completing it. */
|
|
29
|
+
granted: boolean;
|
|
31
30
|
}
|
|
32
31
|
type RunnerMode = (typeof SUPPORTED_MODES)[number];
|
|
33
|
-
type RunnerEffort = (typeof SUPPORTED_EFFORTS)[number];
|
|
32
|
+
type RunnerEffort = (typeof SUPPORTED_EFFORTS)[number] | typeof MODEL_DEFAULT_EFFORT;
|
|
34
33
|
type RunnerConfig = {
|
|
35
34
|
id: string;
|
|
36
35
|
sessionId: string;
|
|
@@ -46,7 +45,7 @@ type RunnerConfig = {
|
|
|
46
45
|
modelVersionOverrides: ModelVersionOverrides;
|
|
47
46
|
sha?: string;
|
|
48
47
|
runSha: string;
|
|
49
|
-
|
|
48
|
+
sessionCreditLimit?: number;
|
|
50
49
|
siteId?: string;
|
|
51
50
|
accountId: string;
|
|
52
51
|
site?: Site;
|
|
@@ -106,9 +105,6 @@ interface Context {
|
|
|
106
105
|
SITE_ID?: string;
|
|
107
106
|
URL?: string;
|
|
108
107
|
};
|
|
109
|
-
utils: {
|
|
110
|
-
run: typeof run;
|
|
111
|
-
};
|
|
112
108
|
}
|
|
113
109
|
interface PipelineOptions {
|
|
114
110
|
config: RunnerConfig;
|