primitive-admin 1.1.0 → 1.2.0-alpha.1
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 +14 -13
- package/assets/skill/skills/primitive-platform/SKILL.md +6 -0
- package/dist/src/commands/collections.js +20 -17
- package/dist/src/commands/collections.js.map +1 -1
- package/dist/src/commands/connections.js +1 -5
- package/dist/src/commands/connections.js.map +1 -1
- package/dist/src/commands/database-types.js +13 -313
- package/dist/src/commands/database-types.js.map +1 -1
- package/dist/src/commands/databases.js +7 -128
- package/dist/src/commands/databases.js.map +1 -1
- package/dist/src/commands/groups.js +16 -0
- package/dist/src/commands/groups.js.map +1 -1
- package/dist/src/commands/llm.js +9 -6
- package/dist/src/commands/llm.js.map +1 -1
- package/dist/src/commands/sessions.js +3 -8
- package/dist/src/commands/sessions.js.map +1 -1
- package/dist/src/commands/settings.d.ts +18 -0
- package/dist/src/commands/settings.js +54 -0
- package/dist/src/commands/settings.js.map +1 -0
- package/dist/src/commands/sync.d.ts +77 -7
- package/dist/src/commands/sync.js +368 -198
- package/dist/src/commands/sync.js.map +1 -1
- package/dist/src/commands/tokens.js +1 -6
- package/dist/src/commands/tokens.js.map +1 -1
- package/dist/src/commands/workflows.js +3 -3
- package/dist/src/commands/workflows.js.map +1 -1
- package/dist/src/lib/api-client.d.ts +3 -70
- package/dist/src/lib/api-client.js +20 -106
- package/dist/src/lib/api-client.js.map +1 -1
- package/dist/src/lib/app-match-guard.d.ts +44 -0
- package/dist/src/lib/app-match-guard.js +72 -0
- package/dist/src/lib/app-match-guard.js.map +1 -0
- package/dist/src/lib/collection-export.d.ts +37 -9
- package/dist/src/lib/collection-export.js +48 -12
- package/dist/src/lib/collection-export.js.map +1 -1
- package/dist/src/lib/config-object-descriptor.js +2 -3
- package/dist/src/lib/config-object-descriptor.js.map +1 -1
- package/dist/src/lib/function-triggers.d.ts +66 -0
- package/dist/src/lib/function-triggers.js +285 -0
- package/dist/src/lib/function-triggers.js.map +1 -0
- package/dist/src/lib/generated-allowlist.js +0 -1
- package/dist/src/lib/generated-allowlist.js.map +1 -1
- package/dist/src/lib/generated-config-surfaces.d.ts +4 -2
- package/dist/src/lib/generated-config-surfaces.js +138 -68
- package/dist/src/lib/generated-config-surfaces.js.map +1 -1
- package/dist/src/lib/generated-sdk-types.d.ts +1 -1
- package/dist/src/lib/generated-sdk-types.js +1 -1
- package/dist/src/lib/generated-sdk-types.js.map +1 -1
- package/dist/src/lib/generated-workflow-model-fields.d.ts +20 -0
- package/dist/src/lib/generated-workflow-model-fields.js +53 -0
- package/dist/src/lib/generated-workflow-model-fields.js.map +1 -0
- package/dist/src/lib/google-client-secret-status.d.ts +35 -0
- package/dist/src/lib/google-client-secret-status.js +56 -0
- package/dist/src/lib/google-client-secret-status.js.map +1 -0
- package/dist/src/lib/log-inspection.d.ts +1 -6
- package/dist/src/lib/log-inspection.js +5 -7
- package/dist/src/lib/log-inspection.js.map +1 -1
- package/dist/src/lib/migration-nag.d.ts +2 -2
- package/dist/src/lib/migration-nag.js +4 -3
- package/dist/src/lib/migration-nag.js.map +1 -1
- package/dist/src/lib/paginate.d.ts +8 -24
- package/dist/src/lib/paginate.js +8 -21
- package/dist/src/lib/paginate.js.map +1 -1
- package/dist/src/lib/sync-dir-selector.d.ts +1 -1
- package/dist/src/lib/sync-dir-selector.js +1 -1
- package/dist/src/lib/toml-database-config.js +2 -2
- package/dist/src/lib/toml-database-config.js.map +1 -1
- package/dist/src/lib/workflow-field-descriptor.d.ts +91 -0
- package/dist/src/lib/workflow-field-descriptor.js +153 -0
- package/dist/src/lib/workflow-field-descriptor.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `[function.triggers.*]`, read and checked locally (#3181).
|
|
3
|
+
*
|
|
4
|
+
* The SERVER is the authority: it derives the declaration from the TOML bytes
|
|
5
|
+
* inside the version envelope and validates it there, so a direct API push
|
|
6
|
+
* cannot ship a trigger the authored file does not declare (D3181-005). What
|
|
7
|
+
* this file buys is the other half of the `entry` dual-validation shape #3179
|
|
8
|
+
* established — an author who mistypes a key hears about it against their own
|
|
9
|
+
* file, by name, before a request is made.
|
|
10
|
+
*
|
|
11
|
+
* It is deliberately a VENDORED copy of the shape rules in
|
|
12
|
+
* `src/server-functions/trigger-declaration.ts` rather than an import: the CLI
|
|
13
|
+
* compiles with `rootDir: "."` and cannot reach the worker sources, which is
|
|
14
|
+
* the same constraint that made `generated-config-surfaces.ts` a vendored
|
|
15
|
+
* artifact. `cli/tests/unit/function-triggers-3181.test.ts` drives both copies
|
|
16
|
+
* from one fixture list so they cannot drift apart silently.
|
|
17
|
+
*
|
|
18
|
+
* Everything that needs the APP's state stays on the server: whether a
|
|
19
|
+
* referenced secret exists, whether the scheme-specific config is valid under
|
|
20
|
+
* this environment's JWKS policy, whether the app is at its webhook or cron
|
|
21
|
+
* cap, whether a standalone webhook holds the key. A local copy of those would
|
|
22
|
+
* be a preflight that can give a false all-clear.
|
|
23
|
+
*/
|
|
24
|
+
export const MAX_CRON_TRIGGERS_PER_FUNCTION = 10;
|
|
25
|
+
export const MAX_DATABASE_TRIGGERS_PER_FUNCTION = 5;
|
|
26
|
+
const CRON_NAME_PATTERN = /^[a-zA-Z0-9][a-zA-Z0-9_-]*$/;
|
|
27
|
+
/** The charset the grant grammar already uses for a database type key. */
|
|
28
|
+
const DATABASE_TYPE_PATTERN = /^[A-Za-z0-9_-]+$/;
|
|
29
|
+
const DATABASE_KEYS = ["type"];
|
|
30
|
+
const WEBHOOK_KEYS = [
|
|
31
|
+
"verificationScheme",
|
|
32
|
+
"signingSecret",
|
|
33
|
+
"toleranceSeconds",
|
|
34
|
+
"deduplicationEnabled",
|
|
35
|
+
"deduplicationWindowMs",
|
|
36
|
+
"maxBodyBytes",
|
|
37
|
+
"secretGracePeriodMs",
|
|
38
|
+
"verification",
|
|
39
|
+
];
|
|
40
|
+
const CRON_KEYS = ["name", "cron", "timezone", "overlapPolicy", "rootInput"];
|
|
41
|
+
const VALID_OVERLAP_POLICIES = ["skip", "allow"];
|
|
42
|
+
export class TriggerDeclarationError extends Error {
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Normalize (and check) the `triggers` table of a parsed `[function]` table.
|
|
46
|
+
* Returns null when nothing is declared, so a caller can skip the work.
|
|
47
|
+
*/
|
|
48
|
+
export function normalizeFunctionTriggers(functionTable, options = {}) {
|
|
49
|
+
const triggers = functionTable?.triggers;
|
|
50
|
+
if (triggers === undefined || triggers === null)
|
|
51
|
+
return null;
|
|
52
|
+
if (typeof triggers !== "object" || Array.isArray(triggers)) {
|
|
53
|
+
throw new TriggerDeclarationError("[function.triggers] must be a table declaring `webhook` and/or `cron`");
|
|
54
|
+
}
|
|
55
|
+
for (const key of Object.keys(triggers)) {
|
|
56
|
+
if (key !== "webhook" && key !== "cron" && key !== "database") {
|
|
57
|
+
throw new TriggerDeclarationError(`unknown trigger kind '${key}' under [function.triggers]: the kinds are ` +
|
|
58
|
+
"`webhook`, `cron` and `database`");
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
const webhook = normalizeWebhook(triggers.webhook, options);
|
|
62
|
+
const cron = normalizeCron(triggers.cron, options);
|
|
63
|
+
const databases = normalizeDatabases(triggers.database, options);
|
|
64
|
+
if (!webhook && cron.length === 0 && databases.length === 0)
|
|
65
|
+
return null;
|
|
66
|
+
return { webhook, cron, databases };
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* `[[function.triggers.database]]` — one accepted key, `type` (#3184).
|
|
70
|
+
*
|
|
71
|
+
* Sync mode only, permanently: a database-change fire runs inside the write
|
|
72
|
+
* request with no run row, and there is no durable shape for that.
|
|
73
|
+
*/
|
|
74
|
+
function normalizeDatabases(raw, options) {
|
|
75
|
+
if (raw === undefined || raw === null)
|
|
76
|
+
return [];
|
|
77
|
+
const entries = Array.isArray(raw) ? raw : [raw];
|
|
78
|
+
if (entries.length === 0)
|
|
79
|
+
return [];
|
|
80
|
+
if (options.mode === "task") {
|
|
81
|
+
throw new TriggerDeclarationError("database triggers require request mode: set `mode = \"request\"` (or " +
|
|
82
|
+
"remove `mode = \"task\"`), or remove the [[function.triggers.database]] " +
|
|
83
|
+
"entries");
|
|
84
|
+
}
|
|
85
|
+
if (entries.length > MAX_DATABASE_TRIGGERS_PER_FUNCTION) {
|
|
86
|
+
throw new TriggerDeclarationError(`a function may watch at most ${MAX_DATABASE_TRIGGERS_PER_FUNCTION} database ` +
|
|
87
|
+
`types, and this one declares ${entries.length}`);
|
|
88
|
+
}
|
|
89
|
+
const seen = new Set();
|
|
90
|
+
const normalized = [];
|
|
91
|
+
for (const entry of entries) {
|
|
92
|
+
if (entry === null || typeof entry !== "object" || Array.isArray(entry)) {
|
|
93
|
+
throw new TriggerDeclarationError("each [[function.triggers.database]] entry must be a table");
|
|
94
|
+
}
|
|
95
|
+
const table = entry;
|
|
96
|
+
for (const key of Object.keys(table)) {
|
|
97
|
+
if (!DATABASE_KEYS.includes(key)) {
|
|
98
|
+
throw new TriggerDeclarationError(`unknown key '${key}' in a [[function.triggers.database]] entry: the ` +
|
|
99
|
+
`only accepted key is ${DATABASE_KEYS.join(", ")}`);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
const type = String(table.type ?? "").trim();
|
|
103
|
+
if (!type) {
|
|
104
|
+
throw new TriggerDeclarationError("each [[function.triggers.database]] entry needs a `type`: it names the " +
|
|
105
|
+
"database type whose writes fire the function");
|
|
106
|
+
}
|
|
107
|
+
if (!DATABASE_TYPE_PATTERN.test(type)) {
|
|
108
|
+
throw new TriggerDeclarationError(`database trigger type '${type}' must contain only letters, digits, ` +
|
|
109
|
+
"'-' or '_'");
|
|
110
|
+
}
|
|
111
|
+
if (seen.has(type)) {
|
|
112
|
+
throw new TriggerDeclarationError(`duplicate database trigger type '${type}': a function fires once per ` +
|
|
113
|
+
"write request, so each type is declared once");
|
|
114
|
+
}
|
|
115
|
+
seen.add(type);
|
|
116
|
+
normalized.push({ type });
|
|
117
|
+
}
|
|
118
|
+
// Sorted, matching the server, so `config diff` compares the same canonical
|
|
119
|
+
// shape whichever order the file lists its blocks in.
|
|
120
|
+
normalized.sort((a, b) => a.type.localeCompare(b.type));
|
|
121
|
+
return normalized;
|
|
122
|
+
}
|
|
123
|
+
function normalizeWebhook(raw, options) {
|
|
124
|
+
if (raw === undefined || raw === null)
|
|
125
|
+
return null;
|
|
126
|
+
if (Array.isArray(raw)) {
|
|
127
|
+
throw new TriggerDeclarationError("[function.triggers.webhook] is a single table: one webhook trigger per " +
|
|
128
|
+
'function (the intent, "Webhook trigger URL and scheme?")');
|
|
129
|
+
}
|
|
130
|
+
if (typeof raw !== "object") {
|
|
131
|
+
throw new TriggerDeclarationError("[function.triggers.webhook] must be a table");
|
|
132
|
+
}
|
|
133
|
+
const table = raw;
|
|
134
|
+
for (const key of Object.keys(table)) {
|
|
135
|
+
if (!WEBHOOK_KEYS.includes(key)) {
|
|
136
|
+
throw new TriggerDeclarationError(`unknown key '${key}' under [function.triggers.webhook]: accepted keys ` +
|
|
137
|
+
`are ${WEBHOOK_KEYS.join(", ")}`);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
if (options.mode === "task") {
|
|
141
|
+
throw new TriggerDeclarationError("webhook triggers require request mode: set `mode = \"request\"` (or " +
|
|
142
|
+
"remove `mode = \"task\"`), or remove [function.triggers.webhook]");
|
|
143
|
+
}
|
|
144
|
+
const scheme = String(table.verificationScheme ?? "").trim();
|
|
145
|
+
if (!scheme) {
|
|
146
|
+
throw new TriggerDeclarationError("[function.triggers.webhook] verificationScheme is required");
|
|
147
|
+
}
|
|
148
|
+
if (scheme === "none") {
|
|
149
|
+
throw new TriggerDeclarationError("verification scheme 'none' is not allowed for function triggers: an " +
|
|
150
|
+
"unauthenticated caller could run the function");
|
|
151
|
+
}
|
|
152
|
+
const declaration = { verificationScheme: scheme };
|
|
153
|
+
if (table.signingSecret !== undefined) {
|
|
154
|
+
declaration.signingSecret = String(table.signingSecret);
|
|
155
|
+
}
|
|
156
|
+
for (const key of [
|
|
157
|
+
"toleranceSeconds",
|
|
158
|
+
"deduplicationWindowMs",
|
|
159
|
+
"maxBodyBytes",
|
|
160
|
+
"secretGracePeriodMs",
|
|
161
|
+
]) {
|
|
162
|
+
if (table[key] === undefined)
|
|
163
|
+
continue;
|
|
164
|
+
const value = Number(table[key]);
|
|
165
|
+
if (!Number.isFinite(value)) {
|
|
166
|
+
throw new TriggerDeclarationError(`[function.triggers.webhook] ${key} must be a number`);
|
|
167
|
+
}
|
|
168
|
+
declaration[key] = value;
|
|
169
|
+
}
|
|
170
|
+
if (table.deduplicationEnabled !== undefined) {
|
|
171
|
+
if (typeof table.deduplicationEnabled !== "boolean") {
|
|
172
|
+
throw new TriggerDeclarationError("[function.triggers.webhook] deduplicationEnabled must be a boolean");
|
|
173
|
+
}
|
|
174
|
+
declaration.deduplicationEnabled = table.deduplicationEnabled;
|
|
175
|
+
}
|
|
176
|
+
if (table.verification !== undefined) {
|
|
177
|
+
const verification = table.verification;
|
|
178
|
+
if (verification === null ||
|
|
179
|
+
typeof verification !== "object" ||
|
|
180
|
+
Array.isArray(verification)) {
|
|
181
|
+
throw new TriggerDeclarationError("[function.triggers.webhook.verification] must be a table");
|
|
182
|
+
}
|
|
183
|
+
declaration.verification = jsonSafe(verification);
|
|
184
|
+
}
|
|
185
|
+
return declaration;
|
|
186
|
+
}
|
|
187
|
+
function normalizeCron(raw, options) {
|
|
188
|
+
if (raw === undefined || raw === null)
|
|
189
|
+
return [];
|
|
190
|
+
const entries = Array.isArray(raw) ? raw : [raw];
|
|
191
|
+
if (entries.length === 0)
|
|
192
|
+
return [];
|
|
193
|
+
if (options.mode === "task") {
|
|
194
|
+
throw new TriggerDeclarationError("cron triggers require request mode: set `mode = \"request\"` (or " +
|
|
195
|
+
"remove `mode = \"task\"`), or remove the [[function.triggers.cron]] " +
|
|
196
|
+
"entries — a cron trigger on a task function is not available in this " +
|
|
197
|
+
"release");
|
|
198
|
+
}
|
|
199
|
+
if (entries.length > MAX_CRON_TRIGGERS_PER_FUNCTION) {
|
|
200
|
+
throw new TriggerDeclarationError(`a function may declare at most ${MAX_CRON_TRIGGERS_PER_FUNCTION} cron ` +
|
|
201
|
+
`trigger entries, and this one declares ${entries.length}`);
|
|
202
|
+
}
|
|
203
|
+
const seen = new Set();
|
|
204
|
+
const normalized = [];
|
|
205
|
+
for (const entry of entries) {
|
|
206
|
+
if (entry === null || typeof entry !== "object" || Array.isArray(entry)) {
|
|
207
|
+
throw new TriggerDeclarationError("each [[function.triggers.cron]] entry must be a table");
|
|
208
|
+
}
|
|
209
|
+
const table = entry;
|
|
210
|
+
for (const key of Object.keys(table)) {
|
|
211
|
+
if (!CRON_KEYS.includes(key)) {
|
|
212
|
+
throw new TriggerDeclarationError(`unknown key '${key}' in a [[function.triggers.cron]] entry: accepted ` +
|
|
213
|
+
`keys are ${CRON_KEYS.join(", ")}`);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
const name = String(table.name ?? "").trim();
|
|
217
|
+
if (!name) {
|
|
218
|
+
throw new TriggerDeclarationError("each [[function.triggers.cron]] entry needs a `name`: it is required " +
|
|
219
|
+
"because it is half of the trigger's key, `<functionKey>:<name>`");
|
|
220
|
+
}
|
|
221
|
+
if (!CRON_NAME_PATTERN.test(name)) {
|
|
222
|
+
throw new TriggerDeclarationError(`cron trigger name '${name}' must start with a letter or digit and ` +
|
|
223
|
+
"contain only letters, digits, '-' or '_'");
|
|
224
|
+
}
|
|
225
|
+
if (seen.has(name)) {
|
|
226
|
+
throw new TriggerDeclarationError(`duplicate cron trigger name '${name}': names are the trigger's key ` +
|
|
227
|
+
"within the function, so each must appear once");
|
|
228
|
+
}
|
|
229
|
+
seen.add(name);
|
|
230
|
+
const cron = String(table.cron ?? "").trim();
|
|
231
|
+
if (!cron) {
|
|
232
|
+
throw new TriggerDeclarationError(`cron trigger '${name}' needs a \`cron\` expression`);
|
|
233
|
+
}
|
|
234
|
+
// Shape only. The full grammar is the server's `parseCron` — the CLI
|
|
235
|
+
// refuses the mistake that is obvious from the text and leaves the
|
|
236
|
+
// authority where the DO's own parser is.
|
|
237
|
+
if (cron.trim().split(/\s+/).length !== 5) {
|
|
238
|
+
throw new TriggerDeclarationError(`cron trigger '${name}': a cron expression has exactly 5 fields, and ` +
|
|
239
|
+
`'${cron}' has ${cron.trim().split(/\s+/).length}`);
|
|
240
|
+
}
|
|
241
|
+
const declaration = { name, cron };
|
|
242
|
+
if (table.timezone !== undefined) {
|
|
243
|
+
declaration.timezone = String(table.timezone);
|
|
244
|
+
}
|
|
245
|
+
if (table.overlapPolicy !== undefined) {
|
|
246
|
+
const policy = String(table.overlapPolicy);
|
|
247
|
+
if (!VALID_OVERLAP_POLICIES.includes(policy)) {
|
|
248
|
+
throw new TriggerDeclarationError(`cron trigger '${name}': overlapPolicy must be one of ` +
|
|
249
|
+
VALID_OVERLAP_POLICIES.join(", "));
|
|
250
|
+
}
|
|
251
|
+
declaration.overlapPolicy = policy;
|
|
252
|
+
}
|
|
253
|
+
if (table.rootInput !== undefined) {
|
|
254
|
+
declaration.rootInput = jsonSafe(table.rootInput);
|
|
255
|
+
}
|
|
256
|
+
normalized.push(declaration);
|
|
257
|
+
}
|
|
258
|
+
// Sorted by name, matching the server, so `config diff` compares the same
|
|
259
|
+
// canonical shape whichever order the file lists its entries in.
|
|
260
|
+
normalized.sort((a, b) => a.name.localeCompare(b.name));
|
|
261
|
+
return normalized;
|
|
262
|
+
}
|
|
263
|
+
function jsonSafe(value) {
|
|
264
|
+
if (value === null || value === undefined)
|
|
265
|
+
return value;
|
|
266
|
+
if (typeof value === "bigint")
|
|
267
|
+
return Number(value);
|
|
268
|
+
if (value instanceof Date)
|
|
269
|
+
return value.toISOString();
|
|
270
|
+
if (Array.isArray(value))
|
|
271
|
+
return value.map(jsonSafe);
|
|
272
|
+
if (typeof value === "object") {
|
|
273
|
+
const anyValue = value;
|
|
274
|
+
if (typeof anyValue.toISOString === "function") {
|
|
275
|
+
return String(anyValue.toISOString());
|
|
276
|
+
}
|
|
277
|
+
const out = {};
|
|
278
|
+
for (const [key, child] of Object.entries(anyValue)) {
|
|
279
|
+
out[key] = jsonSafe(child);
|
|
280
|
+
}
|
|
281
|
+
return out;
|
|
282
|
+
}
|
|
283
|
+
return value;
|
|
284
|
+
}
|
|
285
|
+
//# sourceMappingURL=function-triggers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-triggers.js","sourceRoot":"","sources":["../../../src/lib/function-triggers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAyCH,MAAM,CAAC,MAAM,8BAA8B,GAAG,EAAE,CAAC;AAEjD,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC;AAEpD,MAAM,iBAAiB,GAAG,6BAA6B,CAAC;AAExD,0EAA0E;AAC1E,MAAM,qBAAqB,GAAG,kBAAkB,CAAC;AAEjD,MAAM,aAAa,GAAG,CAAC,MAAM,CAAC,CAAC;AAE/B,MAAM,YAAY,GAAG;IACnB,oBAAoB;IACpB,eAAe;IACf,kBAAkB;IAClB,sBAAsB;IACtB,uBAAuB;IACvB,cAAc;IACd,qBAAqB;IACrB,cAAc;CACf,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,CAAC,CAAC;AAE7E,MAAM,sBAAsB,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEjD,MAAM,OAAO,uBAAwB,SAAQ,KAAK;CAAG;AAErD;;;GAGG;AACH,MAAM,UAAU,yBAAyB,CACvC,aAAkB,EAClB,UAA8B,EAAE;IAEhC,MAAM,QAAQ,GAAG,aAAa,EAAE,QAAQ,CAAC;IACzC,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAC7D,IAAI,OAAO,Q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ist.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,2EAA2E;AAC3E,MAAM,CAAC,MAAM,4BAA4B,GAAsB;IAC7D,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,UAAU;IACV,OAAO;IACP,IAAI;IACJ,UAAU;IACV,aAAa;IACb,OAAO;IACP,QAAQ;IACR,SAAS;IACT,UAAU;IACV,WAAW;IACX,UAAU;IACV,MAAM;IACN,UAAU;IACV,UAAU;IACV,WAAW;IACX,iBAAiB;IACjB,OAAO;IACP,UAAU;IACV,UAAU;IACV,YAAY;IACZ,cAAc;IACd,gBAAgB;IAChB,aAAa;IACb,UAAU;IACV,SAAS;IACT,eAAe;IACf,aAAa;IACb,SAAS;IACT,
|
|
1
|
+
{"version":3,"file":"generated-allowlist.js","sourceRoot":"","sources":["../../../src/lib/generated-allowlist.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,2EAA2E;AAC3E,MAAM,CAAC,MAAM,4BAA4B,GAAsB;IAC7D,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,UAAU;IACV,OAAO;IACP,IAAI;IACJ,UAAU;IACV,aAAa;IACb,OAAO;IACP,QAAQ;IACR,SAAS;IACT,UAAU;IACV,WAAW;IACX,UAAU;IACV,MAAM;IACN,UAAU;IACV,UAAU;IACV,WAAW;IACX,iBAAiB;IACjB,OAAO;IACP,UAAU;IACV,UAAU;IACV,YAAY;IACZ,cAAc;IACd,gBAAgB;IAChB,aAAa;IACb,UAAU;IACV,SAAS;IACT,eAAe;IACf,aAAa;IACb,SAAS;IACT,iBAAiB;IACjB,QAAQ;IACR,QAAQ;IACR,aAAa;IACb,MAAM;IACN,YAAY;IACZ,cAAc;IACd,UAAU;IACV,SAAS;IACT,aAAa;IACb,WAAW;IACX,eAAe;IACf,YAAY;IACZ,QAAQ;IACR,YAAY;IACZ,OAAO;IACP,QAAQ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IACR,WAAW;IACX,UAAU;IACV,cAAc;IACd,yBAAyB;IACzB,eAAe;CAChB,CAAC"}
|
|
@@ -469,7 +469,8 @@ export declare function writableFieldNames(table: ConfigTable, mode: WriteMode):
|
|
|
469
469
|
* The field names the server PERSISTS for this table in `mode`: the writable
|
|
470
470
|
* fields, plus the `deprecated` classifications — "still writable, superseded
|
|
471
471
|
* by another field" is what that kind means (`types.ts`), so a superseded key
|
|
472
|
-
* a handler still honors (`
|
|
472
|
+
* a handler still honors (`passkeyRpId`, or a flat chat key such as
|
|
473
|
+
* `systemPrompt` under `[[configs]]`, #3626) belongs in every
|
|
473
474
|
* accepted set, and a field that is NOT writable belongs in none of them.
|
|
474
475
|
*
|
|
475
476
|
* Stated once here because three consumers need the same answer: the generated
|
|
@@ -2378,7 +2379,8 @@ export interface DeprecatedChatKeyHoist {
|
|
|
2378
2379
|
}
|
|
2379
2380
|
/**
|
|
2380
2381
|
* Move the deprecated flat chat keys of one `[[configs]]` entry under `chat`
|
|
2381
|
-
* — #3626 §4, the
|
|
2382
|
+
* — #3626 §4, the deprecated-TOML-key pattern blob buckets used until #3996
|
|
2383
|
+
* retired theirs, made reusable.
|
|
2382
2384
|
*
|
|
2383
2385
|
* Push keeps accepting the nine keys flat so no existing file breaks, and pull
|
|
2384
2386
|
* rewrites them, so one pull-then-push migrates a file. A key present in BOTH
|