@netlify/agent-runner-cli 2.15.1-nb6c91432cb9d2.0 → 2.15.2-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/README.md +5 -0
- package/dist/bin-local.js +241 -240
- package/dist/bin.js +305 -304
- package/dist/index.d.ts +42 -17
- package/dist/index.js +261 -260
- package/dist/interactions-mcp-server.js +78 -31
- package/dist/skills/netlify-access-control/SKILL.md +32 -14
- package/dist/skills/netlify-forms/SKILL.md +9 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -22,8 +22,19 @@ interface RepoComplexityMetrics {
|
|
|
22
22
|
declare const RESUME_ACTIONS: readonly ["continue", "wrap_up"];
|
|
23
23
|
type ResumeAction = (typeof RESUME_ACTIONS)[number];
|
|
24
24
|
|
|
25
|
+
interface SetupRequestRecordTarget {
|
|
26
|
+
name: string;
|
|
27
|
+
state: 'missing' | 'satisfied';
|
|
28
|
+
required: boolean;
|
|
29
|
+
}
|
|
30
|
+
interface SetupRequestRecordItemBase {
|
|
31
|
+
kind: string;
|
|
32
|
+
reason: string;
|
|
33
|
+
targets: SetupRequestRecordTarget[];
|
|
34
|
+
}
|
|
35
|
+
|
|
25
36
|
declare const ENV_VAR_MODES: readonly ["exist", "change"];
|
|
26
|
-
declare const
|
|
37
|
+
declare const envVarItem: z.ZodObject<{
|
|
27
38
|
kind: z.ZodLiteral<"env_var">;
|
|
28
39
|
reason: z.ZodString;
|
|
29
40
|
key: z.ZodString;
|
|
@@ -41,28 +52,42 @@ declare const setupItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
41
52
|
}>;
|
|
42
53
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
43
54
|
}, z.core.$strip>>;
|
|
44
|
-
}, z.core.$strip
|
|
45
|
-
type
|
|
46
|
-
type EnvVarItem = Extract<SetupItem, {
|
|
47
|
-
kind: 'env_var';
|
|
48
|
-
}>;
|
|
49
|
-
interface SetupRequestRecordTarget {
|
|
50
|
-
name: string;
|
|
51
|
-
state: 'missing' | 'satisfied';
|
|
52
|
-
required: boolean;
|
|
53
|
-
}
|
|
54
|
-
interface SetupRequestRecordItemBase {
|
|
55
|
-
kind: string;
|
|
56
|
-
reason: string;
|
|
57
|
-
targets: SetupRequestRecordTarget[];
|
|
58
|
-
}
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
type EnvVarItem = z.infer<typeof envVarItem>;
|
|
59
57
|
interface EnvVarRecordItem extends SetupRequestRecordItemBase {
|
|
60
58
|
kind: EnvVarItem['kind'];
|
|
61
59
|
key: string;
|
|
62
60
|
secret?: boolean;
|
|
63
61
|
mode?: (typeof ENV_VAR_MODES)[number];
|
|
64
62
|
}
|
|
65
|
-
|
|
63
|
+
|
|
64
|
+
declare const identityUserItem: z.ZodObject<{
|
|
65
|
+
kind: z.ZodLiteral<"identity_user">;
|
|
66
|
+
reason: z.ZodString;
|
|
67
|
+
user_id: z.ZodString;
|
|
68
|
+
proposed: z.ZodObject<{
|
|
69
|
+
full_name: z.ZodOptional<z.ZodString>;
|
|
70
|
+
email: z.ZodOptional<z.ZodString>;
|
|
71
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
74
|
+
name: z.ZodEnum<{
|
|
75
|
+
full_name: "full_name";
|
|
76
|
+
email: "email";
|
|
77
|
+
roles: "roles";
|
|
78
|
+
}>;
|
|
79
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
80
|
+
}, z.core.$strip>>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
type IdentityUserItem = z.infer<typeof identityUserItem>;
|
|
83
|
+
type IdentityUserFields = IdentityUserItem['proposed'];
|
|
84
|
+
interface IdentityUserRecordItem extends SetupRequestRecordItemBase {
|
|
85
|
+
kind: IdentityUserItem['kind'];
|
|
86
|
+
user_id: string;
|
|
87
|
+
proposed?: IdentityUserFields;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
type SetupRequestRecordItem = EnvVarRecordItem | IdentityUserRecordItem | SetupRequestRecordItemBase;
|
|
66
91
|
|
|
67
92
|
declare const ACCOUNT_TYPE_OTHER = "other";
|
|
68
93
|
declare const ACCOUNT_TYPE_PERSONAL = "personal";
|