@netlify/agent-runner-cli 2.17.0 → 2.18.0-smtp-3.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/bin-local.js +259 -259
- package/dist/bin.js +312 -312
- package/dist/index.d.ts +78 -11
- package/dist/index.js +273 -273
- package/dist/interactions-mcp-server.js +34 -34
- package/dist/skills/netlify-identity/SKILL.md +18 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -41,6 +41,63 @@ interface SetupRequestApprovalItem extends SetupRequestRecordItemBase {
|
|
|
41
41
|
result: string | null;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
declare const identityProviderItem: z.ZodObject<{
|
|
45
|
+
kind: z.ZodLiteral<"identity_provider">;
|
|
46
|
+
reason: z.ZodString;
|
|
47
|
+
provider: z.ZodEnum<{
|
|
48
|
+
google: "google";
|
|
49
|
+
github: "github";
|
|
50
|
+
gitlab: "gitlab";
|
|
51
|
+
bitbucket: "bitbucket";
|
|
52
|
+
}>;
|
|
53
|
+
operation: z.ZodEnum<{
|
|
54
|
+
enable: "enable";
|
|
55
|
+
remove: "remove";
|
|
56
|
+
use_defaults: "use_defaults";
|
|
57
|
+
}>;
|
|
58
|
+
}, z.core.$strict>;
|
|
59
|
+
type IdentityProviderItem = z.infer<typeof identityProviderItem>;
|
|
60
|
+
interface IdentityProviderRecordItem extends SetupRequestApprovalItem {
|
|
61
|
+
id: string;
|
|
62
|
+
kind: 'identity_provider';
|
|
63
|
+
provider: IdentityProviderItem['provider'];
|
|
64
|
+
operation: IdentityProviderItem['operation'];
|
|
65
|
+
current: {
|
|
66
|
+
enabled: boolean;
|
|
67
|
+
credentials: 'custom' | 'netlify_defaults';
|
|
68
|
+
};
|
|
69
|
+
proposed: IdentityProviderRecordItem['current'];
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
interface IdentityEmailResetRecordItem extends SetupRequestApprovalItem {
|
|
73
|
+
id: string;
|
|
74
|
+
kind: 'identity_email_reset';
|
|
75
|
+
current: {
|
|
76
|
+
host: string | null;
|
|
77
|
+
sender: string | null;
|
|
78
|
+
loses_custom_smtp_exception: boolean;
|
|
79
|
+
};
|
|
80
|
+
proposed: {
|
|
81
|
+
delivery: 'netlify_defaults';
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
declare const identitySignupSettingsItem: z.ZodObject<{
|
|
86
|
+
kind: z.ZodLiteral<"identity_signup_settings">;
|
|
87
|
+
reason: z.ZodString;
|
|
88
|
+
proposed: z.ZodObject<{
|
|
89
|
+
disable_signup: z.ZodBoolean;
|
|
90
|
+
autoconfirm: z.ZodBoolean;
|
|
91
|
+
}, z.core.$strict>;
|
|
92
|
+
}, z.core.$strict>;
|
|
93
|
+
type IdentitySignupSettingsItem = z.infer<typeof identitySignupSettingsItem>;
|
|
94
|
+
interface IdentitySignupSettingsRecordItem extends SetupRequestApprovalItem {
|
|
95
|
+
id: string;
|
|
96
|
+
kind: 'identity_signup_settings';
|
|
97
|
+
current: IdentitySignupSettingsItem['proposed'];
|
|
98
|
+
proposed: IdentitySignupSettingsItem['proposed'];
|
|
99
|
+
}
|
|
100
|
+
|
|
44
101
|
declare const ENV_VAR_MODES: readonly ["exist", "change"];
|
|
45
102
|
declare const envVarItem: z.ZodObject<{
|
|
46
103
|
kind: z.ZodLiteral<"env_var">;
|
|
@@ -95,23 +152,33 @@ interface IdentityUserRecordItem extends SetupRequestInputItem {
|
|
|
95
152
|
proposed?: IdentityUserFields;
|
|
96
153
|
}
|
|
97
154
|
|
|
98
|
-
declare const
|
|
99
|
-
kind: z.ZodLiteral<"
|
|
155
|
+
declare const identitySmtpItem: z.ZodObject<{
|
|
156
|
+
kind: z.ZodLiteral<"identity_smtp">;
|
|
100
157
|
reason: z.ZodString;
|
|
101
158
|
proposed: z.ZodObject<{
|
|
102
|
-
|
|
103
|
-
|
|
159
|
+
admin_email: z.ZodOptional<z.ZodString>;
|
|
160
|
+
host: z.ZodOptional<z.ZodString>;
|
|
161
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
user: z.ZodOptional<z.ZodString>;
|
|
104
163
|
}, z.core.$strict>;
|
|
164
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
165
|
+
name: z.ZodEnum<{
|
|
166
|
+
host: "host";
|
|
167
|
+
port: "port";
|
|
168
|
+
user: "user";
|
|
169
|
+
admin_email: "admin_email";
|
|
170
|
+
}>;
|
|
171
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
172
|
+
}, z.core.$strip>>;
|
|
105
173
|
}, z.core.$strict>;
|
|
106
|
-
type
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
kind: '
|
|
110
|
-
|
|
111
|
-
proposed: IdentitySignupSettingsItem['proposed'];
|
|
174
|
+
type IdentitySmtpItem = z.infer<typeof identitySmtpItem>;
|
|
175
|
+
type IdentitySmtpFields = IdentitySmtpItem['proposed'];
|
|
176
|
+
interface IdentitySmtpRecordItem extends SetupRequestInputItem {
|
|
177
|
+
kind: IdentitySmtpItem['kind'];
|
|
178
|
+
proposed?: IdentitySmtpFields;
|
|
112
179
|
}
|
|
113
180
|
|
|
114
|
-
type SetupRequestRecordItem = EnvVarRecordItem | IdentityUserRecordItem | IdentitySignupSettingsRecordItem | SetupRequestInputItem | SetupRequestApprovalItem;
|
|
181
|
+
type SetupRequestRecordItem = EnvVarRecordItem | IdentityUserRecordItem | IdentitySmtpRecordItem | IdentitySignupSettingsRecordItem | IdentityEmailResetRecordItem | IdentityProviderRecordItem | SetupRequestInputItem | SetupRequestApprovalItem;
|
|
115
182
|
|
|
116
183
|
interface PrReviewComment {
|
|
117
184
|
url: string;
|