clinkx 1.3.0 → 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/CHANGELOG.md +28 -0
- package/README.md +13 -6
- package/clinkx-workflows/dist/child-env.d.ts +3 -0
- package/clinkx-workflows/dist/child-env.js +11 -0
- package/clinkx-workflows/dist/child-env.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/api-routes.d.ts +21 -0
- package/clinkx-workflows/dist/dashboard/api-routes.js +27 -0
- package/clinkx-workflows/dist/dashboard/api-routes.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/auth/challenge-store.d.ts +13 -0
- package/clinkx-workflows/dist/dashboard/auth/challenge-store.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/auth/controller.d.ts +27 -0
- package/clinkx-workflows/dist/dashboard/auth/controller.js +262 -23
- package/clinkx-workflows/dist/dashboard/auth/controller.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/auth/settings-step-up.d.ts +62 -0
- package/clinkx-workflows/dist/dashboard/auth/settings-step-up.js +70 -0
- package/clinkx-workflows/dist/dashboard/auth/settings-step-up.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/request-admission.d.ts +6 -0
- package/clinkx-workflows/dist/dashboard/request-admission.js +9 -0
- package/clinkx-workflows/dist/dashboard/request-admission.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/server-factory.js +15 -1
- package/clinkx-workflows/dist/dashboard/server-factory.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/settings-contract.d.ts +1806 -0
- package/clinkx-workflows/dist/dashboard/settings-contract.js +630 -0
- package/clinkx-workflows/dist/dashboard/settings-contract.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/settings-process-reader.d.ts +48 -0
- package/clinkx-workflows/dist/dashboard/settings-process-reader.js +195 -0
- package/clinkx-workflows/dist/dashboard/settings-process-reader.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/settings-routes.d.ts +87 -0
- package/clinkx-workflows/dist/dashboard/settings-routes.js +690 -0
- package/clinkx-workflows/dist/dashboard/settings-routes.js.map +1 -0
- package/clinkx-workflows/dist/dashboard-ui/assets/index-DSOtuS0p.js +122 -0
- package/clinkx-workflows/dist/dashboard-ui/assets/style-C5guUjwN.css +1 -0
- package/clinkx-workflows/dist/dashboard-ui/index.html +2 -2
- package/clinkx-workflows/dist/durable-file-core.d.ts +76 -0
- package/clinkx-workflows/dist/durable-file-core.js +146 -0
- package/clinkx-workflows/dist/durable-file-core.js.map +1 -0
- package/clinkx-workflows/dist/durable-file.d.ts +8 -64
- package/clinkx-workflows/dist/durable-file.js +14 -137
- package/clinkx-workflows/dist/durable-file.js.map +1 -1
- package/clinkx-workflows/dist/index.js +68 -2
- package/clinkx-workflows/dist/index.js.map +1 -1
- package/clinkx-workflows/dist/settings/audit.d.ts +101 -0
- package/clinkx-workflows/dist/settings/audit.js +318 -0
- package/clinkx-workflows/dist/settings/audit.js.map +1 -0
- package/clinkx-workflows/dist/settings/bootstrap.d.ts +35 -0
- package/clinkx-workflows/dist/settings/bootstrap.js +52 -0
- package/clinkx-workflows/dist/settings/bootstrap.js.map +1 -0
- package/clinkx-workflows/dist/settings/codec.d.ts +51 -0
- package/clinkx-workflows/dist/settings/codec.js +410 -0
- package/clinkx-workflows/dist/settings/codec.js.map +1 -0
- package/clinkx-workflows/dist/settings/durable-write.d.ts +48 -0
- package/clinkx-workflows/dist/settings/durable-write.js +31 -0
- package/clinkx-workflows/dist/settings/durable-write.js.map +1 -0
- package/clinkx-workflows/dist/settings/index.d.ts +20 -0
- package/clinkx-workflows/dist/settings/index.js +23 -0
- package/clinkx-workflows/dist/settings/index.js.map +1 -0
- package/clinkx-workflows/dist/settings/loader.d.ts +80 -0
- package/clinkx-workflows/dist/settings/loader.js +577 -0
- package/clinkx-workflows/dist/settings/loader.js.map +1 -0
- package/clinkx-workflows/dist/settings/lock.d.ts +108 -0
- package/clinkx-workflows/dist/settings/lock.js +344 -0
- package/clinkx-workflows/dist/settings/lock.js.map +1 -0
- package/clinkx-workflows/dist/settings/paths.d.ts +65 -0
- package/clinkx-workflows/dist/settings/paths.js +173 -0
- package/clinkx-workflows/dist/settings/paths.js.map +1 -0
- package/clinkx-workflows/dist/settings/process-heartbeat.d.ts +47 -0
- package/clinkx-workflows/dist/settings/process-heartbeat.js +305 -0
- package/clinkx-workflows/dist/settings/process-heartbeat.js.map +1 -0
- package/clinkx-workflows/dist/settings/registry.d.ts +178 -0
- package/clinkx-workflows/dist/settings/registry.js +1285 -0
- package/clinkx-workflows/dist/settings/registry.js.map +1 -0
- package/clinkx-workflows/dist/settings/schema.d.ts +404 -0
- package/clinkx-workflows/dist/settings/schema.js +415 -0
- package/clinkx-workflows/dist/settings/schema.js.map +1 -0
- package/clinkx-workflows/dist/settings/store.d.ts +157 -0
- package/clinkx-workflows/dist/settings/store.js +842 -0
- package/clinkx-workflows/dist/settings/store.js.map +1 -0
- package/clinkx-workflows/dist/stdio-entry.d.ts +2 -0
- package/clinkx-workflows/dist/stdio-entry.js +52 -0
- package/clinkx-workflows/dist/stdio-entry.js.map +1 -0
- package/dist/dashboard-cli.js +50 -1
- package/dist/dashboard-cli.js.map +1 -1
- package/dist/dashboard-companion/protocol.js +17 -0
- package/dist/dashboard-companion/protocol.js.map +1 -1
- package/dist/dashboard-gateway/control-plane/contracts.d.ts +38 -38
- package/dist/dashboard-gateway/tunnel-http.js +20 -0
- package/dist/dashboard-gateway/tunnel-http.js.map +1 -1
- package/dist/elaris/config.d.ts +10 -0
- package/dist/elaris/config.js +27 -1
- package/dist/elaris/config.js.map +1 -1
- package/dist/elaris/tools.js +4 -1
- package/dist/elaris/tools.js.map +1 -1
- package/dist/index.d.ts +0 -31
- package/dist/index.js +41 -404
- package/dist/index.js.map +1 -1
- package/dist/lib.d.ts +17 -0
- package/dist/lib.js +17 -0
- package/dist/lib.js.map +1 -0
- package/dist/progress-report/lock.d.ts +17 -59
- package/dist/progress-report/lock.js +25 -329
- package/dist/progress-report/lock.js.map +1 -1
- package/dist/server.js +75 -4
- package/dist/server.js.map +1 -1
- package/dist/settings-cli/clients.d.ts +137 -0
- package/dist/settings-cli/clients.js +1124 -0
- package/dist/settings-cli/clients.js.map +1 -0
- package/dist/settings-cli/commands.d.ts +67 -0
- package/dist/settings-cli/commands.js +726 -0
- package/dist/settings-cli/commands.js.map +1 -0
- package/dist/settings-cli/format.d.ts +34 -0
- package/dist/settings-cli/format.js +40 -0
- package/dist/settings-cli/format.js.map +1 -0
- package/dist/settings-cli/main.d.ts +18 -0
- package/dist/settings-cli/main.js +256 -0
- package/dist/settings-cli/main.js.map +1 -0
- package/dist/stdio-main.d.ts +73 -0
- package/dist/stdio-main.js +455 -0
- package/dist/stdio-main.js.map +1 -0
- package/docs/configuration.md +340 -39
- package/docs/security.md +150 -6
- package/package.json +2 -2
- package/clinkx-workflows/dist/dashboard-ui/assets/index-DRId2DVA.js +0 -119
- package/clinkx-workflows/dist/dashboard-ui/assets/style-CHAw57y5.css +0 -1
|
@@ -167,6 +167,7 @@ export declare const EntitlementStatusSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
167
167
|
stale: z.ZodBoolean;
|
|
168
168
|
}, "strict", z.ZodTypeAny, {
|
|
169
169
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
170
|
+
stale: boolean;
|
|
170
171
|
suspended: boolean;
|
|
171
172
|
access: "denied" | "granted";
|
|
172
173
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -174,9 +175,9 @@ export declare const EntitlementStatusSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
174
175
|
grace_deadline: string | null;
|
|
175
176
|
grant_until: string | null;
|
|
176
177
|
last_reconciled_at: string | null;
|
|
177
|
-
stale: boolean;
|
|
178
178
|
}, {
|
|
179
179
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
180
|
+
stale: boolean;
|
|
180
181
|
suspended: boolean;
|
|
181
182
|
access: "denied" | "granted";
|
|
182
183
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -184,9 +185,9 @@ export declare const EntitlementStatusSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
184
185
|
grace_deadline: string | null;
|
|
185
186
|
grant_until: string | null;
|
|
186
187
|
last_reconciled_at: string | null;
|
|
187
|
-
stale: boolean;
|
|
188
188
|
}>, {
|
|
189
189
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
190
|
+
stale: boolean;
|
|
190
191
|
suspended: boolean;
|
|
191
192
|
access: "denied" | "granted";
|
|
192
193
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -194,9 +195,9 @@ export declare const EntitlementStatusSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
194
195
|
grace_deadline: string | null;
|
|
195
196
|
grant_until: string | null;
|
|
196
197
|
last_reconciled_at: string | null;
|
|
197
|
-
stale: boolean;
|
|
198
198
|
}, {
|
|
199
199
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
200
|
+
stale: boolean;
|
|
200
201
|
suspended: boolean;
|
|
201
202
|
access: "denied" | "granted";
|
|
202
203
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -204,9 +205,9 @@ export declare const EntitlementStatusSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
204
205
|
grace_deadline: string | null;
|
|
205
206
|
grant_until: string | null;
|
|
206
207
|
last_reconciled_at: string | null;
|
|
207
|
-
stale: boolean;
|
|
208
208
|
}>, {
|
|
209
209
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
210
|
+
stale: boolean;
|
|
210
211
|
suspended: boolean;
|
|
211
212
|
access: "denied" | "granted";
|
|
212
213
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -214,9 +215,9 @@ export declare const EntitlementStatusSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
214
215
|
grace_deadline: string | null;
|
|
215
216
|
grant_until: string | null;
|
|
216
217
|
last_reconciled_at: string | null;
|
|
217
|
-
stale: boolean;
|
|
218
218
|
}, {
|
|
219
219
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
220
|
+
stale: boolean;
|
|
220
221
|
suspended: boolean;
|
|
221
222
|
access: "denied" | "granted";
|
|
222
223
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -224,7 +225,6 @@ export declare const EntitlementStatusSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
224
225
|
grace_deadline: string | null;
|
|
225
226
|
grant_until: string | null;
|
|
226
227
|
last_reconciled_at: string | null;
|
|
227
|
-
stale: boolean;
|
|
228
228
|
}>;
|
|
229
229
|
export type EntitlementStatus = z.infer<typeof EntitlementStatusSchema>;
|
|
230
230
|
export declare const WorkstationLabelSchema: z.ZodString;
|
|
@@ -307,6 +307,7 @@ export declare const WorkspaceReadResponseSchema: z.ZodObject<{
|
|
|
307
307
|
stale: z.ZodBoolean;
|
|
308
308
|
}, "strict", z.ZodTypeAny, {
|
|
309
309
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
310
|
+
stale: boolean;
|
|
310
311
|
suspended: boolean;
|
|
311
312
|
access: "denied" | "granted";
|
|
312
313
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -314,9 +315,9 @@ export declare const WorkspaceReadResponseSchema: z.ZodObject<{
|
|
|
314
315
|
grace_deadline: string | null;
|
|
315
316
|
grant_until: string | null;
|
|
316
317
|
last_reconciled_at: string | null;
|
|
317
|
-
stale: boolean;
|
|
318
318
|
}, {
|
|
319
319
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
320
|
+
stale: boolean;
|
|
320
321
|
suspended: boolean;
|
|
321
322
|
access: "denied" | "granted";
|
|
322
323
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -324,9 +325,9 @@ export declare const WorkspaceReadResponseSchema: z.ZodObject<{
|
|
|
324
325
|
grace_deadline: string | null;
|
|
325
326
|
grant_until: string | null;
|
|
326
327
|
last_reconciled_at: string | null;
|
|
327
|
-
stale: boolean;
|
|
328
328
|
}>, {
|
|
329
329
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
330
|
+
stale: boolean;
|
|
330
331
|
suspended: boolean;
|
|
331
332
|
access: "denied" | "granted";
|
|
332
333
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -334,9 +335,9 @@ export declare const WorkspaceReadResponseSchema: z.ZodObject<{
|
|
|
334
335
|
grace_deadline: string | null;
|
|
335
336
|
grant_until: string | null;
|
|
336
337
|
last_reconciled_at: string | null;
|
|
337
|
-
stale: boolean;
|
|
338
338
|
}, {
|
|
339
339
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
340
|
+
stale: boolean;
|
|
340
341
|
suspended: boolean;
|
|
341
342
|
access: "denied" | "granted";
|
|
342
343
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -344,9 +345,9 @@ export declare const WorkspaceReadResponseSchema: z.ZodObject<{
|
|
|
344
345
|
grace_deadline: string | null;
|
|
345
346
|
grant_until: string | null;
|
|
346
347
|
last_reconciled_at: string | null;
|
|
347
|
-
stale: boolean;
|
|
348
348
|
}>, {
|
|
349
349
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
350
|
+
stale: boolean;
|
|
350
351
|
suspended: boolean;
|
|
351
352
|
access: "denied" | "granted";
|
|
352
353
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -354,9 +355,9 @@ export declare const WorkspaceReadResponseSchema: z.ZodObject<{
|
|
|
354
355
|
grace_deadline: string | null;
|
|
355
356
|
grant_until: string | null;
|
|
356
357
|
last_reconciled_at: string | null;
|
|
357
|
-
stale: boolean;
|
|
358
358
|
}, {
|
|
359
359
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
360
|
+
stale: boolean;
|
|
360
361
|
suspended: boolean;
|
|
361
362
|
access: "denied" | "granted";
|
|
362
363
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -364,7 +365,6 @@ export declare const WorkspaceReadResponseSchema: z.ZodObject<{
|
|
|
364
365
|
grace_deadline: string | null;
|
|
365
366
|
grant_until: string | null;
|
|
366
367
|
last_reconciled_at: string | null;
|
|
367
|
-
stale: boolean;
|
|
368
368
|
}>;
|
|
369
369
|
/** `false`: the billing routes do not exist and access comes only from operator grants. */
|
|
370
370
|
billing_enabled: z.ZodBoolean;
|
|
@@ -416,6 +416,7 @@ export declare const WorkspaceReadResponseSchema: z.ZodObject<{
|
|
|
416
416
|
};
|
|
417
417
|
entitlement: {
|
|
418
418
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
419
|
+
stale: boolean;
|
|
419
420
|
suspended: boolean;
|
|
420
421
|
access: "denied" | "granted";
|
|
421
422
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -423,7 +424,6 @@ export declare const WorkspaceReadResponseSchema: z.ZodObject<{
|
|
|
423
424
|
grace_deadline: string | null;
|
|
424
425
|
grant_until: string | null;
|
|
425
426
|
last_reconciled_at: string | null;
|
|
426
|
-
stale: boolean;
|
|
427
427
|
};
|
|
428
428
|
billing_enabled: boolean;
|
|
429
429
|
max_workstations: 2;
|
|
@@ -444,6 +444,7 @@ export declare const WorkspaceReadResponseSchema: z.ZodObject<{
|
|
|
444
444
|
};
|
|
445
445
|
entitlement: {
|
|
446
446
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
447
|
+
stale: boolean;
|
|
447
448
|
suspended: boolean;
|
|
448
449
|
access: "denied" | "granted";
|
|
449
450
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -451,7 +452,6 @@ export declare const WorkspaceReadResponseSchema: z.ZodObject<{
|
|
|
451
452
|
grace_deadline: string | null;
|
|
452
453
|
grant_until: string | null;
|
|
453
454
|
last_reconciled_at: string | null;
|
|
454
|
-
stale: boolean;
|
|
455
455
|
};
|
|
456
456
|
billing_enabled: boolean;
|
|
457
457
|
max_workstations: 2;
|
|
@@ -605,6 +605,7 @@ export declare const BillingStatusResponseSchema: z.ZodObject<{
|
|
|
605
605
|
stale: z.ZodBoolean;
|
|
606
606
|
}, "strict", z.ZodTypeAny, {
|
|
607
607
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
608
|
+
stale: boolean;
|
|
608
609
|
suspended: boolean;
|
|
609
610
|
access: "denied" | "granted";
|
|
610
611
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -612,9 +613,9 @@ export declare const BillingStatusResponseSchema: z.ZodObject<{
|
|
|
612
613
|
grace_deadline: string | null;
|
|
613
614
|
grant_until: string | null;
|
|
614
615
|
last_reconciled_at: string | null;
|
|
615
|
-
stale: boolean;
|
|
616
616
|
}, {
|
|
617
617
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
618
|
+
stale: boolean;
|
|
618
619
|
suspended: boolean;
|
|
619
620
|
access: "denied" | "granted";
|
|
620
621
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -622,9 +623,9 @@ export declare const BillingStatusResponseSchema: z.ZodObject<{
|
|
|
622
623
|
grace_deadline: string | null;
|
|
623
624
|
grant_until: string | null;
|
|
624
625
|
last_reconciled_at: string | null;
|
|
625
|
-
stale: boolean;
|
|
626
626
|
}>, {
|
|
627
627
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
628
|
+
stale: boolean;
|
|
628
629
|
suspended: boolean;
|
|
629
630
|
access: "denied" | "granted";
|
|
630
631
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -632,9 +633,9 @@ export declare const BillingStatusResponseSchema: z.ZodObject<{
|
|
|
632
633
|
grace_deadline: string | null;
|
|
633
634
|
grant_until: string | null;
|
|
634
635
|
last_reconciled_at: string | null;
|
|
635
|
-
stale: boolean;
|
|
636
636
|
}, {
|
|
637
637
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
638
|
+
stale: boolean;
|
|
638
639
|
suspended: boolean;
|
|
639
640
|
access: "denied" | "granted";
|
|
640
641
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -642,9 +643,9 @@ export declare const BillingStatusResponseSchema: z.ZodObject<{
|
|
|
642
643
|
grace_deadline: string | null;
|
|
643
644
|
grant_until: string | null;
|
|
644
645
|
last_reconciled_at: string | null;
|
|
645
|
-
stale: boolean;
|
|
646
646
|
}>, {
|
|
647
647
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
648
|
+
stale: boolean;
|
|
648
649
|
suspended: boolean;
|
|
649
650
|
access: "denied" | "granted";
|
|
650
651
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -652,9 +653,9 @@ export declare const BillingStatusResponseSchema: z.ZodObject<{
|
|
|
652
653
|
grace_deadline: string | null;
|
|
653
654
|
grant_until: string | null;
|
|
654
655
|
last_reconciled_at: string | null;
|
|
655
|
-
stale: boolean;
|
|
656
656
|
}, {
|
|
657
657
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
658
|
+
stale: boolean;
|
|
658
659
|
suspended: boolean;
|
|
659
660
|
access: "denied" | "granted";
|
|
660
661
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -662,11 +663,11 @@ export declare const BillingStatusResponseSchema: z.ZodObject<{
|
|
|
662
663
|
grace_deadline: string | null;
|
|
663
664
|
grant_until: string | null;
|
|
664
665
|
last_reconciled_at: string | null;
|
|
665
|
-
stale: boolean;
|
|
666
666
|
}>;
|
|
667
667
|
}, "strict", z.ZodTypeAny, {
|
|
668
668
|
entitlement: {
|
|
669
669
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
670
|
+
stale: boolean;
|
|
670
671
|
suspended: boolean;
|
|
671
672
|
access: "denied" | "granted";
|
|
672
673
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -674,11 +675,11 @@ export declare const BillingStatusResponseSchema: z.ZodObject<{
|
|
|
674
675
|
grace_deadline: string | null;
|
|
675
676
|
grant_until: string | null;
|
|
676
677
|
last_reconciled_at: string | null;
|
|
677
|
-
stale: boolean;
|
|
678
678
|
};
|
|
679
679
|
}, {
|
|
680
680
|
entitlement: {
|
|
681
681
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
682
|
+
stale: boolean;
|
|
682
683
|
suspended: boolean;
|
|
683
684
|
access: "denied" | "granted";
|
|
684
685
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -686,7 +687,6 @@ export declare const BillingStatusResponseSchema: z.ZodObject<{
|
|
|
686
687
|
grace_deadline: string | null;
|
|
687
688
|
grant_until: string | null;
|
|
688
689
|
last_reconciled_at: string | null;
|
|
689
|
-
stale: boolean;
|
|
690
690
|
};
|
|
691
691
|
}>;
|
|
692
692
|
export type BillingStatusResponse = z.infer<typeof BillingStatusResponseSchema>;
|
|
@@ -848,6 +848,7 @@ export declare const CONTROL_ROUTES: {
|
|
|
848
848
|
stale: z.ZodBoolean;
|
|
849
849
|
}, "strict", z.ZodTypeAny, {
|
|
850
850
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
851
|
+
stale: boolean;
|
|
851
852
|
suspended: boolean;
|
|
852
853
|
access: "denied" | "granted";
|
|
853
854
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -855,9 +856,9 @@ export declare const CONTROL_ROUTES: {
|
|
|
855
856
|
grace_deadline: string | null;
|
|
856
857
|
grant_until: string | null;
|
|
857
858
|
last_reconciled_at: string | null;
|
|
858
|
-
stale: boolean;
|
|
859
859
|
}, {
|
|
860
860
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
861
|
+
stale: boolean;
|
|
861
862
|
suspended: boolean;
|
|
862
863
|
access: "denied" | "granted";
|
|
863
864
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -865,9 +866,9 @@ export declare const CONTROL_ROUTES: {
|
|
|
865
866
|
grace_deadline: string | null;
|
|
866
867
|
grant_until: string | null;
|
|
867
868
|
last_reconciled_at: string | null;
|
|
868
|
-
stale: boolean;
|
|
869
869
|
}>, {
|
|
870
870
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
871
|
+
stale: boolean;
|
|
871
872
|
suspended: boolean;
|
|
872
873
|
access: "denied" | "granted";
|
|
873
874
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -875,9 +876,9 @@ export declare const CONTROL_ROUTES: {
|
|
|
875
876
|
grace_deadline: string | null;
|
|
876
877
|
grant_until: string | null;
|
|
877
878
|
last_reconciled_at: string | null;
|
|
878
|
-
stale: boolean;
|
|
879
879
|
}, {
|
|
880
880
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
881
|
+
stale: boolean;
|
|
881
882
|
suspended: boolean;
|
|
882
883
|
access: "denied" | "granted";
|
|
883
884
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -885,9 +886,9 @@ export declare const CONTROL_ROUTES: {
|
|
|
885
886
|
grace_deadline: string | null;
|
|
886
887
|
grant_until: string | null;
|
|
887
888
|
last_reconciled_at: string | null;
|
|
888
|
-
stale: boolean;
|
|
889
889
|
}>, {
|
|
890
890
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
891
|
+
stale: boolean;
|
|
891
892
|
suspended: boolean;
|
|
892
893
|
access: "denied" | "granted";
|
|
893
894
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -895,9 +896,9 @@ export declare const CONTROL_ROUTES: {
|
|
|
895
896
|
grace_deadline: string | null;
|
|
896
897
|
grant_until: string | null;
|
|
897
898
|
last_reconciled_at: string | null;
|
|
898
|
-
stale: boolean;
|
|
899
899
|
}, {
|
|
900
900
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
901
|
+
stale: boolean;
|
|
901
902
|
suspended: boolean;
|
|
902
903
|
access: "denied" | "granted";
|
|
903
904
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -905,7 +906,6 @@ export declare const CONTROL_ROUTES: {
|
|
|
905
906
|
grace_deadline: string | null;
|
|
906
907
|
grant_until: string | null;
|
|
907
908
|
last_reconciled_at: string | null;
|
|
908
|
-
stale: boolean;
|
|
909
909
|
}>;
|
|
910
910
|
/** `false`: the billing routes do not exist and access comes only from operator grants. */
|
|
911
911
|
billing_enabled: z.ZodBoolean;
|
|
@@ -957,6 +957,7 @@ export declare const CONTROL_ROUTES: {
|
|
|
957
957
|
};
|
|
958
958
|
entitlement: {
|
|
959
959
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
960
|
+
stale: boolean;
|
|
960
961
|
suspended: boolean;
|
|
961
962
|
access: "denied" | "granted";
|
|
962
963
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -964,7 +965,6 @@ export declare const CONTROL_ROUTES: {
|
|
|
964
965
|
grace_deadline: string | null;
|
|
965
966
|
grant_until: string | null;
|
|
966
967
|
last_reconciled_at: string | null;
|
|
967
|
-
stale: boolean;
|
|
968
968
|
};
|
|
969
969
|
billing_enabled: boolean;
|
|
970
970
|
max_workstations: 2;
|
|
@@ -985,6 +985,7 @@ export declare const CONTROL_ROUTES: {
|
|
|
985
985
|
};
|
|
986
986
|
entitlement: {
|
|
987
987
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
988
|
+
stale: boolean;
|
|
988
989
|
suspended: boolean;
|
|
989
990
|
access: "denied" | "granted";
|
|
990
991
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -992,7 +993,6 @@ export declare const CONTROL_ROUTES: {
|
|
|
992
993
|
grace_deadline: string | null;
|
|
993
994
|
grant_until: string | null;
|
|
994
995
|
last_reconciled_at: string | null;
|
|
995
|
-
stale: boolean;
|
|
996
996
|
};
|
|
997
997
|
billing_enabled: boolean;
|
|
998
998
|
max_workstations: 2;
|
|
@@ -1159,6 +1159,7 @@ export declare const CONTROL_ROUTES: {
|
|
|
1159
1159
|
stale: z.ZodBoolean;
|
|
1160
1160
|
}, "strict", z.ZodTypeAny, {
|
|
1161
1161
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
1162
|
+
stale: boolean;
|
|
1162
1163
|
suspended: boolean;
|
|
1163
1164
|
access: "denied" | "granted";
|
|
1164
1165
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -1166,9 +1167,9 @@ export declare const CONTROL_ROUTES: {
|
|
|
1166
1167
|
grace_deadline: string | null;
|
|
1167
1168
|
grant_until: string | null;
|
|
1168
1169
|
last_reconciled_at: string | null;
|
|
1169
|
-
stale: boolean;
|
|
1170
1170
|
}, {
|
|
1171
1171
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
1172
|
+
stale: boolean;
|
|
1172
1173
|
suspended: boolean;
|
|
1173
1174
|
access: "denied" | "granted";
|
|
1174
1175
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -1176,9 +1177,9 @@ export declare const CONTROL_ROUTES: {
|
|
|
1176
1177
|
grace_deadline: string | null;
|
|
1177
1178
|
grant_until: string | null;
|
|
1178
1179
|
last_reconciled_at: string | null;
|
|
1179
|
-
stale: boolean;
|
|
1180
1180
|
}>, {
|
|
1181
1181
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
1182
|
+
stale: boolean;
|
|
1182
1183
|
suspended: boolean;
|
|
1183
1184
|
access: "denied" | "granted";
|
|
1184
1185
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -1186,9 +1187,9 @@ export declare const CONTROL_ROUTES: {
|
|
|
1186
1187
|
grace_deadline: string | null;
|
|
1187
1188
|
grant_until: string | null;
|
|
1188
1189
|
last_reconciled_at: string | null;
|
|
1189
|
-
stale: boolean;
|
|
1190
1190
|
}, {
|
|
1191
1191
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
1192
|
+
stale: boolean;
|
|
1192
1193
|
suspended: boolean;
|
|
1193
1194
|
access: "denied" | "granted";
|
|
1194
1195
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -1196,9 +1197,9 @@ export declare const CONTROL_ROUTES: {
|
|
|
1196
1197
|
grace_deadline: string | null;
|
|
1197
1198
|
grant_until: string | null;
|
|
1198
1199
|
last_reconciled_at: string | null;
|
|
1199
|
-
stale: boolean;
|
|
1200
1200
|
}>, {
|
|
1201
1201
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
1202
|
+
stale: boolean;
|
|
1202
1203
|
suspended: boolean;
|
|
1203
1204
|
access: "denied" | "granted";
|
|
1204
1205
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -1206,9 +1207,9 @@ export declare const CONTROL_ROUTES: {
|
|
|
1206
1207
|
grace_deadline: string | null;
|
|
1207
1208
|
grant_until: string | null;
|
|
1208
1209
|
last_reconciled_at: string | null;
|
|
1209
|
-
stale: boolean;
|
|
1210
1210
|
}, {
|
|
1211
1211
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
1212
|
+
stale: boolean;
|
|
1212
1213
|
suspended: boolean;
|
|
1213
1214
|
access: "denied" | "granted";
|
|
1214
1215
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -1216,11 +1217,11 @@ export declare const CONTROL_ROUTES: {
|
|
|
1216
1217
|
grace_deadline: string | null;
|
|
1217
1218
|
grant_until: string | null;
|
|
1218
1219
|
last_reconciled_at: string | null;
|
|
1219
|
-
stale: boolean;
|
|
1220
1220
|
}>;
|
|
1221
1221
|
}, "strict", z.ZodTypeAny, {
|
|
1222
1222
|
entitlement: {
|
|
1223
1223
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
1224
|
+
stale: boolean;
|
|
1224
1225
|
suspended: boolean;
|
|
1225
1226
|
access: "denied" | "granted";
|
|
1226
1227
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -1228,11 +1229,11 @@ export declare const CONTROL_ROUTES: {
|
|
|
1228
1229
|
grace_deadline: string | null;
|
|
1229
1230
|
grant_until: string | null;
|
|
1230
1231
|
last_reconciled_at: string | null;
|
|
1231
|
-
stale: boolean;
|
|
1232
1232
|
};
|
|
1233
1233
|
}, {
|
|
1234
1234
|
entitlement: {
|
|
1235
1235
|
reason: "paid_period" | "past_due_grace" | "period_ended" | "grace_expired" | "no_purchase" | "payment_pending" | "subscription_inactive" | "unknown_state" | "suspended" | "operator_grant";
|
|
1236
|
+
stale: boolean;
|
|
1236
1237
|
suspended: boolean;
|
|
1237
1238
|
access: "denied" | "granted";
|
|
1238
1239
|
subscription_state: "none" | "incomplete" | "unknown" | "active" | "paused" | "trialing" | "past_due" | "incomplete_expired" | "unpaid" | "canceled";
|
|
@@ -1240,7 +1241,6 @@ export declare const CONTROL_ROUTES: {
|
|
|
1240
1241
|
grace_deadline: string | null;
|
|
1241
1242
|
grant_until: string | null;
|
|
1242
1243
|
last_reconciled_at: string | null;
|
|
1243
|
-
stale: boolean;
|
|
1244
1244
|
};
|
|
1245
1245
|
}>;
|
|
1246
1246
|
};
|
|
@@ -4,6 +4,15 @@ export const MAX_FORWARD_PATH_BYTES = 2_048;
|
|
|
4
4
|
export const MAX_FORWARD_HEADER_BYTES = 64 * 1024;
|
|
5
5
|
export const MAX_V2_IN_FLIGHT = 8;
|
|
6
6
|
const MAX_V2_SMALL_POST_BYTES = 4 * 1024;
|
|
7
|
+
/**
|
|
8
|
+
* Settings POST tiers (B2-1), matching the dashboard's own route caps so a
|
|
9
|
+
* body the gateway admits is never rejected downstream: a save may carry a
|
|
10
|
+
* WebAuthn assertion (clientDataJSON + authenticatorData + signature, base64)
|
|
11
|
+
* next to up to 64 ops, so it needs its own tier well above the 4 KiB small
|
|
12
|
+
* tier; the step-up options request carries only the intent projection.
|
|
13
|
+
*/
|
|
14
|
+
const MAX_V2_SETTINGS_STEP_UP_POST_BYTES = 16 * 1024;
|
|
15
|
+
const MAX_V2_SETTINGS_SAVE_POST_BYTES = 64 * 1024;
|
|
7
16
|
export const DEFAULT_REQUEST_TIMEOUT_MS = 30_000;
|
|
8
17
|
export const DEFAULT_PING_INTERVAL_MS = 10_000;
|
|
9
18
|
export const COMPANION_UNAVAILABLE = "dashboard_companion_unavailable";
|
|
@@ -35,7 +44,18 @@ export function oneHeader(request, name) {
|
|
|
35
44
|
}
|
|
36
45
|
const V2_PROGRESS_REPORT_STATUS_OVERRIDE_PATH = /^\/api\/progress-reports\/[A-Za-z0-9][A-Za-z0-9_-]{0,63}\/status-override$/;
|
|
37
46
|
export function v2PostBodyLimit(path) {
|
|
47
|
+
// Local literals (the gateway graph must stay closed); protocol.test.ts
|
|
48
|
+
// pins them against the frozen settings contract constants.
|
|
49
|
+
if (path === "/api/settings/step-up") {
|
|
50
|
+
return MAX_V2_SETTINGS_STEP_UP_POST_BYTES;
|
|
51
|
+
}
|
|
52
|
+
if (path === "/api/settings/save" || path === "/api/settings/secrets/save") {
|
|
53
|
+
return MAX_V2_SETTINGS_SAVE_POST_BYTES;
|
|
54
|
+
}
|
|
55
|
+
// L2: assert/options carries an empty body (small tier); assert/verify
|
|
56
|
+
// carries a WebAuthn assertion and stays on the default large tier below.
|
|
38
57
|
return path === "/api/auth/register/options"
|
|
58
|
+
|| path === "/api/auth/register/assert/options"
|
|
39
59
|
|| path === "/api/auth/login/options"
|
|
40
60
|
|| path === "/api/auth/logout"
|
|
41
61
|
|| V2_PROGRESS_REPORT_STATUS_OVERRIDE_PATH.test(path)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tunnel-http.js","sourceRoot":"","sources":["../../src/dashboard-gateway/tunnel-http.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,iCAAiC,GAElC,MAAM,oCAAoC,CAAC;AAE5C,MAAM,CAAC,MAAM,qBAAqB,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AACtD,MAAM,CAAC,MAAM,sBAAsB,GAAG,KAAK,CAAC;AAC5C,MAAM,CAAC,MAAM,wBAAwB,GAAG,EAAE,GAAG,IAAI,CAAC;AAClD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAClC,MAAM,uBAAuB,GAAG,CAAC,GAAG,IAAI,CAAC;AACzC,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAAC;AACjD,MAAM,CAAC,MAAM,wBAAwB,GAAG,MAAM,CAAC;AAE/C,MAAM,CAAC,MAAM,qBAAqB,GAAG,iCAAiC,CAAC;AACvE,MAAM,CAAC,MAAM,6BAA6B,GAAG,yCAAyC,CAAC;AACvF,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAEjD,MAAM,UAAU,QAAQ,CAAC,QAAwB,EAAE,MAAc,EAAE,IAAY;IAC7E,QAAQ,CAAC,SAAS,CAAC,MAAM,EAAE;QACzB,eAAe,EAAE,UAAU;QAC3B,cAAc,EAAE,2BAA2B;KAC5C,CAAC,CAAC;IACH,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,QAAwB,EAAE,MAAc,EAAE,KAAa;IAC9E,MAAM,IAAI,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC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,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC,EAAE,CAAC;QACtE,GAAG,CAAC,OAAO,CAAC,iBAAiB,KAAK,SAAS,CAAC,CAAC,CAAC,EAAG,CAAC,CAAC,CAAC,EAAE,8BAA8B,EAAE,OAAO,CAAC,iBAAiB,EAAE,CAAC;QAClH,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC;KACjC,CAAC;AACJ,CAAC"}
|
package/dist/elaris/config.d.ts
CHANGED
|
@@ -16,3 +16,13 @@ export interface ElarisConfig {
|
|
|
16
16
|
export declare function loadElarisConfig(): ElarisConfig;
|
|
17
17
|
export declare function validateElarisBaseUrl(baseUrl: string): URL;
|
|
18
18
|
export declare function resolveElarisApiKey(apiKeyEnvName: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* L8: CLINKX_ELARIS_API_KEY_ENV may name the secret-class registry key
|
|
21
|
+
* (CLINKX_ELARIS_API_KEY) or a variable that is not a ClinkX setting. Every
|
|
22
|
+
* consumer of a settings key treats its value as non-secret, so naming any
|
|
23
|
+
* other registry key, a legacy alias of one, or an exclusion-list entry
|
|
24
|
+
* (including this variable itself) is refused BEFORE the value is read.
|
|
25
|
+
* `src/elaris/redact.ts` still reads the target for redaction only; redacting
|
|
26
|
+
* a leaked value is always safe.
|
|
27
|
+
*/
|
|
28
|
+
export declare function assertElarisApiKeyEnvName(envName: string): void;
|
package/dist/elaris/config.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InvalidParamsError } from "../errors.js";
|
|
2
|
+
import { classifySettingsEnvName, isSecretSettingKey, } from "../../clinkx-workflows/dist/settings/registry.js";
|
|
2
3
|
export const POLL_MIN_MS = 1000;
|
|
3
4
|
export const POLL_MAX_MS = 10000;
|
|
4
5
|
export const PAGE_LIMIT = 200;
|
|
@@ -8,11 +9,15 @@ export const MAX_PAGES = 50;
|
|
|
8
9
|
export const MAX_RESPONSE_BYTES = 1048576;
|
|
9
10
|
export const MAX_TEXT_CHARS = 20000;
|
|
10
11
|
export function loadElarisConfig() {
|
|
12
|
+
// L8: resolve and gate the indirection name BEFORE any other env read, so a
|
|
13
|
+
// refused holder — CLINKX_ELARIS_BASE_URL itself — is refused before its
|
|
14
|
+
// value is read or validated.
|
|
15
|
+
const apiKeyEnv = process.env["CLINKX_ELARIS_API_KEY_ENV"]?.trim() || "CLINKX_ELARIS_API_KEY";
|
|
16
|
+
assertElarisApiKeyEnvName(apiKeyEnv);
|
|
11
17
|
const baseUrl = process.env["CLINKX_ELARIS_BASE_URL"]?.trim();
|
|
12
18
|
if (!baseUrl) {
|
|
13
19
|
throw new InvalidParamsError("CLINKX_ELARIS_BASE_URL is required when Elaris is enabled");
|
|
14
20
|
}
|
|
15
|
-
const apiKeyEnv = process.env["CLINKX_ELARIS_API_KEY_ENV"]?.trim() || "CLINKX_ELARIS_API_KEY";
|
|
16
21
|
const defaultModelId = process.env["CLINKX_ELARIS_DEFAULT_MODEL_ID"]?.trim();
|
|
17
22
|
return {
|
|
18
23
|
BASE_URL: serializeBaseUrl(validateElarisBaseUrl(baseUrl)),
|
|
@@ -56,12 +61,33 @@ export function resolveElarisApiKey(apiKeyEnvName) {
|
|
|
56
61
|
if (!envName) {
|
|
57
62
|
throw new InvalidParamsError("CLINKX_ELARIS_API_KEY_ENV must name a non-empty environment variable");
|
|
58
63
|
}
|
|
64
|
+
assertElarisApiKeyEnvName(envName);
|
|
59
65
|
const value = process.env[envName]?.trim();
|
|
60
66
|
if (!value) {
|
|
61
67
|
throw new InvalidParamsError(`Elaris API key is missing from environment variable ${envName}`);
|
|
62
68
|
}
|
|
63
69
|
return value;
|
|
64
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
* L8: CLINKX_ELARIS_API_KEY_ENV may name the secret-class registry key
|
|
73
|
+
* (CLINKX_ELARIS_API_KEY) or a variable that is not a ClinkX setting. Every
|
|
74
|
+
* consumer of a settings key treats its value as non-secret, so naming any
|
|
75
|
+
* other registry key, a legacy alias of one, or an exclusion-list entry
|
|
76
|
+
* (including this variable itself) is refused BEFORE the value is read.
|
|
77
|
+
* `src/elaris/redact.ts` still reads the target for redaction only; redacting
|
|
78
|
+
* a leaked value is always safe.
|
|
79
|
+
*/
|
|
80
|
+
export function assertElarisApiKeyEnvName(envName) {
|
|
81
|
+
const classification = classifySettingsEnvName(envName);
|
|
82
|
+
if (classification === undefined)
|
|
83
|
+
return;
|
|
84
|
+
if (classification.kind === "key" && isSecretSettingKey(classification.key))
|
|
85
|
+
return;
|
|
86
|
+
if (classification.kind === "alias" && isSecretSettingKey(classification.of))
|
|
87
|
+
return;
|
|
88
|
+
throw new InvalidParamsError(`CLINKX_ELARIS_API_KEY_ENV must not name the ClinkX setting ${envName}; ` +
|
|
89
|
+
"settings values are not treated as secrets. Keep the key in CLINKX_ELARIS_API_KEY or a variable of your own.");
|
|
90
|
+
}
|
|
65
91
|
function readPositiveSeconds(name, fallback) {
|
|
66
92
|
const raw = process.env[name]?.trim();
|
|
67
93
|
if (!raw)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/elaris/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/elaris/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EACL,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,kDAAkD,CAAC;AAE1D,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC;AAChC,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC;AACjC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAC;AAC9B,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC;AACpC,MA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