@lannguyensi/harness 0.14.0 → 0.16.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 +45 -0
- package/README.md +20 -2
- package/dist/cli/doctor/format.js +24 -0
- package/dist/cli/doctor/format.js.map +1 -1
- package/dist/cli/doctor/index.d.ts +7 -0
- package/dist/cli/doctor/index.js +10 -0
- package/dist/cli/doctor/index.js.map +1 -1
- package/dist/cli/doctor/rogue-ledger.d.ts +25 -0
- package/dist/cli/doctor/rogue-ledger.js +106 -0
- package/dist/cli/doctor/rogue-ledger.js.map +1 -0
- package/dist/cli/doctor/types.d.ts +10 -1
- package/dist/cli/doctor/types.js.map +1 -1
- package/dist/cli/index.js +177 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init/composer.d.ts +29 -0
- package/dist/cli/init/composer.js +377 -0
- package/dist/cli/init/composer.js.map +1 -0
- package/dist/cli/init/dependencies.d.ts +25 -0
- package/dist/cli/init/dependencies.js +100 -10
- package/dist/cli/init/dependencies.js.map +1 -1
- package/dist/cli/init/index.d.ts +18 -1
- package/dist/cli/init/index.js +17 -7
- package/dist/cli/init/index.js.map +1 -1
- package/dist/cli/init/interactive.d.ts +31 -2
- package/dist/cli/init/interactive.js +321 -79
- package/dist/cli/init/interactive.js.map +1 -1
- package/dist/cli/init/templates.d.ts +1 -1
- package/dist/cli/init/templates.js +60 -9
- package/dist/cli/init/templates.js.map +1 -1
- package/dist/cli/pack/hook-branch-protection.d.ts +30 -0
- package/dist/cli/pack/hook-branch-protection.js +279 -0
- package/dist/cli/pack/hook-branch-protection.js.map +1 -0
- package/dist/cli/pack/hook-codex-pre-tool-use.js +3 -1
- package/dist/cli/pack/hook-codex-pre-tool-use.js.map +1 -1
- package/dist/cli/pack/hook-pre-tool-use.d.ts +1 -1
- package/dist/cli/pack/hook-pre-tool-use.js +42 -3
- package/dist/cli/pack/hook-pre-tool-use.js.map +1 -1
- package/dist/cli/pack/understanding-report-schema-hint.d.ts +13 -0
- package/dist/cli/pack/understanding-report-schema-hint.js +54 -0
- package/dist/cli/pack/understanding-report-schema-hint.js.map +1 -0
- package/dist/cli/session-start/branch-check.d.ts +44 -0
- package/dist/cli/session-start/branch-check.js +165 -0
- package/dist/cli/session-start/branch-check.js.map +1 -0
- package/dist/cli/uninstall/index.d.ts +68 -0
- package/dist/cli/uninstall/index.js +586 -0
- package/dist/cli/uninstall/index.js.map +1 -0
- package/dist/cli/uninstall/snapshot.d.ts +40 -0
- package/dist/cli/uninstall/snapshot.js +34 -0
- package/dist/cli/uninstall/snapshot.js.map +1 -0
- package/dist/cli/validate/checks.d.ts +1 -1
- package/dist/cli/validate/checks.js +1 -7
- package/dist/cli/validate/checks.js.map +1 -1
- package/dist/io/harness-lock.js +1 -9
- package/dist/io/harness-lock.js.map +1 -1
- package/dist/policies/ledger-client.js +3 -9
- package/dist/policies/ledger-client.js.map +1 -1
- package/dist/policies/producers.d.ts +12 -0
- package/dist/policies/producers.js +61 -0
- package/dist/policies/producers.js.map +1 -0
- package/dist/policy-packs/builtin/branch-protection-runtime.d.ts +47 -0
- package/dist/policy-packs/builtin/branch-protection-runtime.js +92 -0
- package/dist/policy-packs/builtin/branch-protection-runtime.js.map +1 -0
- package/dist/policy-packs/builtin/branch-protection.d.ts +9 -0
- package/dist/policy-packs/builtin/branch-protection.js +146 -0
- package/dist/policy-packs/builtin/branch-protection.js.map +1 -0
- package/dist/policy-packs/registry.d.ts +1 -1
- package/dist/policy-packs/registry.js +10 -3
- package/dist/policy-packs/registry.js.map +1 -1
- package/dist/runtime/expand-home.d.ts +14 -0
- package/dist/runtime/expand-home.js +54 -0
- package/dist/runtime/expand-home.js.map +1 -0
- package/dist/runtime/intercept.js +13 -2
- package/dist/runtime/intercept.js.map +1 -1
- package/dist/runtime/ledger-add.js +10 -3
- package/dist/runtime/ledger-add.js.map +1 -1
- package/dist/runtime/ledger-record.js +11 -10
- package/dist/runtime/ledger-record.js.map +1 -1
- package/dist/schema/index.d.ts +281 -101
- package/dist/schema/permission-profiles.d.ts +125 -125
- package/dist/schema/policies.d.ts +261 -0
- package/dist/schema/policies.js +50 -0
- package/dist/schema/policies.js.map +1 -1
- package/package.json +2 -1
|
@@ -4,7 +4,7 @@ export type PermissionActionKey = (typeof PERMISSION_ACTION_KEYS)[number];
|
|
|
4
4
|
export declare const PermissionAllowSchema: z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>;
|
|
5
5
|
export type PermissionAllow = z.infer<typeof PermissionAllowSchema>;
|
|
6
6
|
export declare const PermissionRuleSchema: z.ZodObject<{
|
|
7
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
7
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
8
8
|
mode: z.ZodOptional<z.ZodString>;
|
|
9
9
|
requires: z.ZodOptional<z.ZodObject<{
|
|
10
10
|
ledger_tag: z.ZodString;
|
|
@@ -72,7 +72,7 @@ export declare const PermissionRuleSchema: z.ZodObject<{
|
|
|
72
72
|
} | undefined;
|
|
73
73
|
}>>;
|
|
74
74
|
}, "strict", z.ZodTypeAny, {
|
|
75
|
-
allow: "
|
|
75
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
76
76
|
requires?: {
|
|
77
77
|
ledger_tag: string;
|
|
78
78
|
within?: string | undefined;
|
|
@@ -84,7 +84,7 @@ export declare const PermissionRuleSchema: z.ZodObject<{
|
|
|
84
84
|
} | undefined;
|
|
85
85
|
mode?: string | undefined;
|
|
86
86
|
}, {
|
|
87
|
-
allow: boolean | "
|
|
87
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
88
88
|
requires?: {
|
|
89
89
|
ledger_tag: string;
|
|
90
90
|
within?: string | undefined;
|
|
@@ -101,7 +101,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
101
101
|
description: z.ZodOptional<z.ZodString>;
|
|
102
102
|
actions: z.ZodDefault<z.ZodObject<{
|
|
103
103
|
read: z.ZodOptional<z.ZodObject<{
|
|
104
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
104
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
105
105
|
mode: z.ZodOptional<z.ZodString>;
|
|
106
106
|
requires: z.ZodOptional<z.ZodObject<{
|
|
107
107
|
ledger_tag: z.ZodString;
|
|
@@ -169,7 +169,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
169
169
|
} | undefined;
|
|
170
170
|
}>>;
|
|
171
171
|
}, "strict", z.ZodTypeAny, {
|
|
172
|
-
allow: "
|
|
172
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
173
173
|
requires?: {
|
|
174
174
|
ledger_tag: string;
|
|
175
175
|
within?: string | undefined;
|
|
@@ -181,7 +181,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
181
181
|
} | undefined;
|
|
182
182
|
mode?: string | undefined;
|
|
183
183
|
}, {
|
|
184
|
-
allow: boolean | "
|
|
184
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
185
185
|
requires?: {
|
|
186
186
|
ledger_tag: string;
|
|
187
187
|
within?: string | undefined;
|
|
@@ -194,7 +194,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
194
194
|
mode?: string | undefined;
|
|
195
195
|
}>>;
|
|
196
196
|
edit: z.ZodOptional<z.ZodObject<{
|
|
197
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
197
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
198
198
|
mode: z.ZodOptional<z.ZodString>;
|
|
199
199
|
requires: z.ZodOptional<z.ZodObject<{
|
|
200
200
|
ledger_tag: z.ZodString;
|
|
@@ -262,7 +262,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
262
262
|
} | undefined;
|
|
263
263
|
}>>;
|
|
264
264
|
}, "strict", z.ZodTypeAny, {
|
|
265
|
-
allow: "
|
|
265
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
266
266
|
requires?: {
|
|
267
267
|
ledger_tag: string;
|
|
268
268
|
within?: string | undefined;
|
|
@@ -274,7 +274,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
274
274
|
} | undefined;
|
|
275
275
|
mode?: string | undefined;
|
|
276
276
|
}, {
|
|
277
|
-
allow: boolean | "
|
|
277
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
278
278
|
requires?: {
|
|
279
279
|
ledger_tag: string;
|
|
280
280
|
within?: string | undefined;
|
|
@@ -287,7 +287,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
287
287
|
mode?: string | undefined;
|
|
288
288
|
}>>;
|
|
289
289
|
bash: z.ZodOptional<z.ZodObject<{
|
|
290
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
290
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
291
291
|
mode: z.ZodOptional<z.ZodString>;
|
|
292
292
|
requires: z.ZodOptional<z.ZodObject<{
|
|
293
293
|
ledger_tag: z.ZodString;
|
|
@@ -355,7 +355,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
355
355
|
} | undefined;
|
|
356
356
|
}>>;
|
|
357
357
|
}, "strict", z.ZodTypeAny, {
|
|
358
|
-
allow: "
|
|
358
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
359
359
|
requires?: {
|
|
360
360
|
ledger_tag: string;
|
|
361
361
|
within?: string | undefined;
|
|
@@ -367,7 +367,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
367
367
|
} | undefined;
|
|
368
368
|
mode?: string | undefined;
|
|
369
369
|
}, {
|
|
370
|
-
allow: boolean | "
|
|
370
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
371
371
|
requires?: {
|
|
372
372
|
ledger_tag: string;
|
|
373
373
|
within?: string | undefined;
|
|
@@ -380,7 +380,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
380
380
|
mode?: string | undefined;
|
|
381
381
|
}>>;
|
|
382
382
|
commit: z.ZodOptional<z.ZodObject<{
|
|
383
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
383
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
384
384
|
mode: z.ZodOptional<z.ZodString>;
|
|
385
385
|
requires: z.ZodOptional<z.ZodObject<{
|
|
386
386
|
ledger_tag: z.ZodString;
|
|
@@ -448,7 +448,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
448
448
|
} | undefined;
|
|
449
449
|
}>>;
|
|
450
450
|
}, "strict", z.ZodTypeAny, {
|
|
451
|
-
allow: "
|
|
451
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
452
452
|
requires?: {
|
|
453
453
|
ledger_tag: string;
|
|
454
454
|
within?: string | undefined;
|
|
@@ -460,7 +460,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
460
460
|
} | undefined;
|
|
461
461
|
mode?: string | undefined;
|
|
462
462
|
}, {
|
|
463
|
-
allow: boolean | "
|
|
463
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
464
464
|
requires?: {
|
|
465
465
|
ledger_tag: string;
|
|
466
466
|
within?: string | undefined;
|
|
@@ -473,7 +473,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
473
473
|
mode?: string | undefined;
|
|
474
474
|
}>>;
|
|
475
475
|
push: z.ZodOptional<z.ZodObject<{
|
|
476
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
476
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
477
477
|
mode: z.ZodOptional<z.ZodString>;
|
|
478
478
|
requires: z.ZodOptional<z.ZodObject<{
|
|
479
479
|
ledger_tag: z.ZodString;
|
|
@@ -541,7 +541,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
541
541
|
} | undefined;
|
|
542
542
|
}>>;
|
|
543
543
|
}, "strict", z.ZodTypeAny, {
|
|
544
|
-
allow: "
|
|
544
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
545
545
|
requires?: {
|
|
546
546
|
ledger_tag: string;
|
|
547
547
|
within?: string | undefined;
|
|
@@ -553,7 +553,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
553
553
|
} | undefined;
|
|
554
554
|
mode?: string | undefined;
|
|
555
555
|
}, {
|
|
556
|
-
allow: boolean | "
|
|
556
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
557
557
|
requires?: {
|
|
558
558
|
ledger_tag: string;
|
|
559
559
|
within?: string | undefined;
|
|
@@ -566,7 +566,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
566
566
|
mode?: string | undefined;
|
|
567
567
|
}>>;
|
|
568
568
|
pr: z.ZodOptional<z.ZodObject<{
|
|
569
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
569
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
570
570
|
mode: z.ZodOptional<z.ZodString>;
|
|
571
571
|
requires: z.ZodOptional<z.ZodObject<{
|
|
572
572
|
ledger_tag: z.ZodString;
|
|
@@ -634,7 +634,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
634
634
|
} | undefined;
|
|
635
635
|
}>>;
|
|
636
636
|
}, "strict", z.ZodTypeAny, {
|
|
637
|
-
allow: "
|
|
637
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
638
638
|
requires?: {
|
|
639
639
|
ledger_tag: string;
|
|
640
640
|
within?: string | undefined;
|
|
@@ -646,7 +646,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
646
646
|
} | undefined;
|
|
647
647
|
mode?: string | undefined;
|
|
648
648
|
}, {
|
|
649
|
-
allow: boolean | "
|
|
649
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
650
650
|
requires?: {
|
|
651
651
|
ledger_tag: string;
|
|
652
652
|
within?: string | undefined;
|
|
@@ -659,7 +659,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
659
659
|
mode?: string | undefined;
|
|
660
660
|
}>>;
|
|
661
661
|
deploy: z.ZodOptional<z.ZodObject<{
|
|
662
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
662
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
663
663
|
mode: z.ZodOptional<z.ZodString>;
|
|
664
664
|
requires: z.ZodOptional<z.ZodObject<{
|
|
665
665
|
ledger_tag: z.ZodString;
|
|
@@ -727,7 +727,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
727
727
|
} | undefined;
|
|
728
728
|
}>>;
|
|
729
729
|
}, "strict", z.ZodTypeAny, {
|
|
730
|
-
allow: "
|
|
730
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
731
731
|
requires?: {
|
|
732
732
|
ledger_tag: string;
|
|
733
733
|
within?: string | undefined;
|
|
@@ -739,7 +739,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
739
739
|
} | undefined;
|
|
740
740
|
mode?: string | undefined;
|
|
741
741
|
}, {
|
|
742
|
-
allow: boolean | "
|
|
742
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
743
743
|
requires?: {
|
|
744
744
|
ledger_tag: string;
|
|
745
745
|
within?: string | undefined;
|
|
@@ -753,7 +753,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
753
753
|
}>>;
|
|
754
754
|
}, "strict", z.ZodTypeAny, {
|
|
755
755
|
push?: {
|
|
756
|
-
allow: "
|
|
756
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
757
757
|
requires?: {
|
|
758
758
|
ledger_tag: string;
|
|
759
759
|
within?: string | undefined;
|
|
@@ -765,8 +765,8 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
765
765
|
} | undefined;
|
|
766
766
|
mode?: string | undefined;
|
|
767
767
|
} | undefined;
|
|
768
|
-
|
|
769
|
-
allow: "
|
|
768
|
+
bash?: {
|
|
769
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
770
770
|
requires?: {
|
|
771
771
|
ledger_tag: string;
|
|
772
772
|
within?: string | undefined;
|
|
@@ -778,8 +778,8 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
778
778
|
} | undefined;
|
|
779
779
|
mode?: string | undefined;
|
|
780
780
|
} | undefined;
|
|
781
|
-
|
|
782
|
-
allow: "
|
|
781
|
+
read?: {
|
|
782
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
783
783
|
requires?: {
|
|
784
784
|
ledger_tag: string;
|
|
785
785
|
within?: string | undefined;
|
|
@@ -791,8 +791,8 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
791
791
|
} | undefined;
|
|
792
792
|
mode?: string | undefined;
|
|
793
793
|
} | undefined;
|
|
794
|
-
|
|
795
|
-
allow: "
|
|
794
|
+
edit?: {
|
|
795
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
796
796
|
requires?: {
|
|
797
797
|
ledger_tag: string;
|
|
798
798
|
within?: string | undefined;
|
|
@@ -805,7 +805,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
805
805
|
mode?: string | undefined;
|
|
806
806
|
} | undefined;
|
|
807
807
|
commit?: {
|
|
808
|
-
allow: "
|
|
808
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
809
809
|
requires?: {
|
|
810
810
|
ledger_tag: string;
|
|
811
811
|
within?: string | undefined;
|
|
@@ -818,7 +818,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
818
818
|
mode?: string | undefined;
|
|
819
819
|
} | undefined;
|
|
820
820
|
pr?: {
|
|
821
|
-
allow: "
|
|
821
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
822
822
|
requires?: {
|
|
823
823
|
ledger_tag: string;
|
|
824
824
|
within?: string | undefined;
|
|
@@ -831,7 +831,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
831
831
|
mode?: string | undefined;
|
|
832
832
|
} | undefined;
|
|
833
833
|
deploy?: {
|
|
834
|
-
allow: "
|
|
834
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
835
835
|
requires?: {
|
|
836
836
|
ledger_tag: string;
|
|
837
837
|
within?: string | undefined;
|
|
@@ -845,7 +845,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
845
845
|
} | undefined;
|
|
846
846
|
}, {
|
|
847
847
|
push?: {
|
|
848
|
-
allow: boolean | "
|
|
848
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
849
849
|
requires?: {
|
|
850
850
|
ledger_tag: string;
|
|
851
851
|
within?: string | undefined;
|
|
@@ -857,8 +857,8 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
857
857
|
} | undefined;
|
|
858
858
|
mode?: string | undefined;
|
|
859
859
|
} | undefined;
|
|
860
|
-
|
|
861
|
-
allow: boolean | "
|
|
860
|
+
bash?: {
|
|
861
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
862
862
|
requires?: {
|
|
863
863
|
ledger_tag: string;
|
|
864
864
|
within?: string | undefined;
|
|
@@ -870,8 +870,8 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
870
870
|
} | undefined;
|
|
871
871
|
mode?: string | undefined;
|
|
872
872
|
} | undefined;
|
|
873
|
-
|
|
874
|
-
allow: boolean | "
|
|
873
|
+
read?: {
|
|
874
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
875
875
|
requires?: {
|
|
876
876
|
ledger_tag: string;
|
|
877
877
|
within?: string | undefined;
|
|
@@ -883,8 +883,8 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
883
883
|
} | undefined;
|
|
884
884
|
mode?: string | undefined;
|
|
885
885
|
} | undefined;
|
|
886
|
-
|
|
887
|
-
allow: boolean | "
|
|
886
|
+
edit?: {
|
|
887
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
888
888
|
requires?: {
|
|
889
889
|
ledger_tag: string;
|
|
890
890
|
within?: string | undefined;
|
|
@@ -897,7 +897,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
897
897
|
mode?: string | undefined;
|
|
898
898
|
} | undefined;
|
|
899
899
|
commit?: {
|
|
900
|
-
allow: boolean | "
|
|
900
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
901
901
|
requires?: {
|
|
902
902
|
ledger_tag: string;
|
|
903
903
|
within?: string | undefined;
|
|
@@ -910,7 +910,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
910
910
|
mode?: string | undefined;
|
|
911
911
|
} | undefined;
|
|
912
912
|
pr?: {
|
|
913
|
-
allow: boolean | "
|
|
913
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
914
914
|
requires?: {
|
|
915
915
|
ledger_tag: string;
|
|
916
916
|
within?: string | undefined;
|
|
@@ -923,7 +923,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
923
923
|
mode?: string | undefined;
|
|
924
924
|
} | undefined;
|
|
925
925
|
deploy?: {
|
|
926
|
-
allow: boolean | "
|
|
926
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
927
927
|
requires?: {
|
|
928
928
|
ledger_tag: string;
|
|
929
929
|
within?: string | undefined;
|
|
@@ -939,7 +939,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
939
939
|
}, "strict", z.ZodTypeAny, {
|
|
940
940
|
actions: {
|
|
941
941
|
push?: {
|
|
942
|
-
allow: "
|
|
942
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
943
943
|
requires?: {
|
|
944
944
|
ledger_tag: string;
|
|
945
945
|
within?: string | undefined;
|
|
@@ -951,8 +951,8 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
951
951
|
} | undefined;
|
|
952
952
|
mode?: string | undefined;
|
|
953
953
|
} | undefined;
|
|
954
|
-
|
|
955
|
-
allow: "
|
|
954
|
+
bash?: {
|
|
955
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
956
956
|
requires?: {
|
|
957
957
|
ledger_tag: string;
|
|
958
958
|
within?: string | undefined;
|
|
@@ -964,8 +964,8 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
964
964
|
} | undefined;
|
|
965
965
|
mode?: string | undefined;
|
|
966
966
|
} | undefined;
|
|
967
|
-
|
|
968
|
-
allow: "
|
|
967
|
+
read?: {
|
|
968
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
969
969
|
requires?: {
|
|
970
970
|
ledger_tag: string;
|
|
971
971
|
within?: string | undefined;
|
|
@@ -977,8 +977,8 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
977
977
|
} | undefined;
|
|
978
978
|
mode?: string | undefined;
|
|
979
979
|
} | undefined;
|
|
980
|
-
|
|
981
|
-
allow: "
|
|
980
|
+
edit?: {
|
|
981
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
982
982
|
requires?: {
|
|
983
983
|
ledger_tag: string;
|
|
984
984
|
within?: string | undefined;
|
|
@@ -991,7 +991,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
991
991
|
mode?: string | undefined;
|
|
992
992
|
} | undefined;
|
|
993
993
|
commit?: {
|
|
994
|
-
allow: "
|
|
994
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
995
995
|
requires?: {
|
|
996
996
|
ledger_tag: string;
|
|
997
997
|
within?: string | undefined;
|
|
@@ -1004,7 +1004,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
1004
1004
|
mode?: string | undefined;
|
|
1005
1005
|
} | undefined;
|
|
1006
1006
|
pr?: {
|
|
1007
|
-
allow: "
|
|
1007
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1008
1008
|
requires?: {
|
|
1009
1009
|
ledger_tag: string;
|
|
1010
1010
|
within?: string | undefined;
|
|
@@ -1017,7 +1017,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
1017
1017
|
mode?: string | undefined;
|
|
1018
1018
|
} | undefined;
|
|
1019
1019
|
deploy?: {
|
|
1020
|
-
allow: "
|
|
1020
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1021
1021
|
requires?: {
|
|
1022
1022
|
ledger_tag: string;
|
|
1023
1023
|
within?: string | undefined;
|
|
@@ -1035,7 +1035,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
1035
1035
|
description?: string | undefined;
|
|
1036
1036
|
actions?: {
|
|
1037
1037
|
push?: {
|
|
1038
|
-
allow: boolean | "
|
|
1038
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1039
1039
|
requires?: {
|
|
1040
1040
|
ledger_tag: string;
|
|
1041
1041
|
within?: string | undefined;
|
|
@@ -1047,8 +1047,8 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
1047
1047
|
} | undefined;
|
|
1048
1048
|
mode?: string | undefined;
|
|
1049
1049
|
} | undefined;
|
|
1050
|
-
|
|
1051
|
-
allow: boolean | "
|
|
1050
|
+
bash?: {
|
|
1051
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1052
1052
|
requires?: {
|
|
1053
1053
|
ledger_tag: string;
|
|
1054
1054
|
within?: string | undefined;
|
|
@@ -1060,8 +1060,8 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
1060
1060
|
} | undefined;
|
|
1061
1061
|
mode?: string | undefined;
|
|
1062
1062
|
} | undefined;
|
|
1063
|
-
|
|
1064
|
-
allow: boolean | "
|
|
1063
|
+
read?: {
|
|
1064
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1065
1065
|
requires?: {
|
|
1066
1066
|
ledger_tag: string;
|
|
1067
1067
|
within?: string | undefined;
|
|
@@ -1073,8 +1073,8 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
1073
1073
|
} | undefined;
|
|
1074
1074
|
mode?: string | undefined;
|
|
1075
1075
|
} | undefined;
|
|
1076
|
-
|
|
1077
|
-
allow: boolean | "
|
|
1076
|
+
edit?: {
|
|
1077
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1078
1078
|
requires?: {
|
|
1079
1079
|
ledger_tag: string;
|
|
1080
1080
|
within?: string | undefined;
|
|
@@ -1087,7 +1087,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
1087
1087
|
mode?: string | undefined;
|
|
1088
1088
|
} | undefined;
|
|
1089
1089
|
commit?: {
|
|
1090
|
-
allow: boolean | "
|
|
1090
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1091
1091
|
requires?: {
|
|
1092
1092
|
ledger_tag: string;
|
|
1093
1093
|
within?: string | undefined;
|
|
@@ -1100,7 +1100,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
1100
1100
|
mode?: string | undefined;
|
|
1101
1101
|
} | undefined;
|
|
1102
1102
|
pr?: {
|
|
1103
|
-
allow: boolean | "
|
|
1103
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1104
1104
|
requires?: {
|
|
1105
1105
|
ledger_tag: string;
|
|
1106
1106
|
within?: string | undefined;
|
|
@@ -1113,7 +1113,7 @@ export declare const PermissionProfileSchema: z.ZodObject<{
|
|
|
1113
1113
|
mode?: string | undefined;
|
|
1114
1114
|
} | undefined;
|
|
1115
1115
|
deploy?: {
|
|
1116
|
-
allow: boolean | "
|
|
1116
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1117
1117
|
requires?: {
|
|
1118
1118
|
ledger_tag: string;
|
|
1119
1119
|
within?: string | undefined;
|
|
@@ -1132,7 +1132,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1132
1132
|
description: z.ZodOptional<z.ZodString>;
|
|
1133
1133
|
actions: z.ZodDefault<z.ZodObject<{
|
|
1134
1134
|
read: z.ZodOptional<z.ZodObject<{
|
|
1135
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
1135
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
1136
1136
|
mode: z.ZodOptional<z.ZodString>;
|
|
1137
1137
|
requires: z.ZodOptional<z.ZodObject<{
|
|
1138
1138
|
ledger_tag: z.ZodString;
|
|
@@ -1200,7 +1200,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1200
1200
|
} | undefined;
|
|
1201
1201
|
}>>;
|
|
1202
1202
|
}, "strict", z.ZodTypeAny, {
|
|
1203
|
-
allow: "
|
|
1203
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1204
1204
|
requires?: {
|
|
1205
1205
|
ledger_tag: string;
|
|
1206
1206
|
within?: string | undefined;
|
|
@@ -1212,7 +1212,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1212
1212
|
} | undefined;
|
|
1213
1213
|
mode?: string | undefined;
|
|
1214
1214
|
}, {
|
|
1215
|
-
allow: boolean | "
|
|
1215
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1216
1216
|
requires?: {
|
|
1217
1217
|
ledger_tag: string;
|
|
1218
1218
|
within?: string | undefined;
|
|
@@ -1225,7 +1225,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1225
1225
|
mode?: string | undefined;
|
|
1226
1226
|
}>>;
|
|
1227
1227
|
edit: z.ZodOptional<z.ZodObject<{
|
|
1228
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
1228
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
1229
1229
|
mode: z.ZodOptional<z.ZodString>;
|
|
1230
1230
|
requires: z.ZodOptional<z.ZodObject<{
|
|
1231
1231
|
ledger_tag: z.ZodString;
|
|
@@ -1293,7 +1293,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1293
1293
|
} | undefined;
|
|
1294
1294
|
}>>;
|
|
1295
1295
|
}, "strict", z.ZodTypeAny, {
|
|
1296
|
-
allow: "
|
|
1296
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1297
1297
|
requires?: {
|
|
1298
1298
|
ledger_tag: string;
|
|
1299
1299
|
within?: string | undefined;
|
|
@@ -1305,7 +1305,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1305
1305
|
} | undefined;
|
|
1306
1306
|
mode?: string | undefined;
|
|
1307
1307
|
}, {
|
|
1308
|
-
allow: boolean | "
|
|
1308
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1309
1309
|
requires?: {
|
|
1310
1310
|
ledger_tag: string;
|
|
1311
1311
|
within?: string | undefined;
|
|
@@ -1318,7 +1318,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1318
1318
|
mode?: string | undefined;
|
|
1319
1319
|
}>>;
|
|
1320
1320
|
bash: z.ZodOptional<z.ZodObject<{
|
|
1321
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
1321
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
1322
1322
|
mode: z.ZodOptional<z.ZodString>;
|
|
1323
1323
|
requires: z.ZodOptional<z.ZodObject<{
|
|
1324
1324
|
ledger_tag: z.ZodString;
|
|
@@ -1386,7 +1386,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1386
1386
|
} | undefined;
|
|
1387
1387
|
}>>;
|
|
1388
1388
|
}, "strict", z.ZodTypeAny, {
|
|
1389
|
-
allow: "
|
|
1389
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1390
1390
|
requires?: {
|
|
1391
1391
|
ledger_tag: string;
|
|
1392
1392
|
within?: string | undefined;
|
|
@@ -1398,7 +1398,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1398
1398
|
} | undefined;
|
|
1399
1399
|
mode?: string | undefined;
|
|
1400
1400
|
}, {
|
|
1401
|
-
allow: boolean | "
|
|
1401
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1402
1402
|
requires?: {
|
|
1403
1403
|
ledger_tag: string;
|
|
1404
1404
|
within?: string | undefined;
|
|
@@ -1411,7 +1411,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1411
1411
|
mode?: string | undefined;
|
|
1412
1412
|
}>>;
|
|
1413
1413
|
commit: z.ZodOptional<z.ZodObject<{
|
|
1414
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
1414
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
1415
1415
|
mode: z.ZodOptional<z.ZodString>;
|
|
1416
1416
|
requires: z.ZodOptional<z.ZodObject<{
|
|
1417
1417
|
ledger_tag: z.ZodString;
|
|
@@ -1479,7 +1479,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1479
1479
|
} | undefined;
|
|
1480
1480
|
}>>;
|
|
1481
1481
|
}, "strict", z.ZodTypeAny, {
|
|
1482
|
-
allow: "
|
|
1482
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1483
1483
|
requires?: {
|
|
1484
1484
|
ledger_tag: string;
|
|
1485
1485
|
within?: string | undefined;
|
|
@@ -1491,7 +1491,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1491
1491
|
} | undefined;
|
|
1492
1492
|
mode?: string | undefined;
|
|
1493
1493
|
}, {
|
|
1494
|
-
allow: boolean | "
|
|
1494
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1495
1495
|
requires?: {
|
|
1496
1496
|
ledger_tag: string;
|
|
1497
1497
|
within?: string | undefined;
|
|
@@ -1504,7 +1504,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1504
1504
|
mode?: string | undefined;
|
|
1505
1505
|
}>>;
|
|
1506
1506
|
push: z.ZodOptional<z.ZodObject<{
|
|
1507
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
1507
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
1508
1508
|
mode: z.ZodOptional<z.ZodString>;
|
|
1509
1509
|
requires: z.ZodOptional<z.ZodObject<{
|
|
1510
1510
|
ledger_tag: z.ZodString;
|
|
@@ -1572,7 +1572,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1572
1572
|
} | undefined;
|
|
1573
1573
|
}>>;
|
|
1574
1574
|
}, "strict", z.ZodTypeAny, {
|
|
1575
|
-
allow: "
|
|
1575
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1576
1576
|
requires?: {
|
|
1577
1577
|
ledger_tag: string;
|
|
1578
1578
|
within?: string | undefined;
|
|
@@ -1584,7 +1584,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1584
1584
|
} | undefined;
|
|
1585
1585
|
mode?: string | undefined;
|
|
1586
1586
|
}, {
|
|
1587
|
-
allow: boolean | "
|
|
1587
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1588
1588
|
requires?: {
|
|
1589
1589
|
ledger_tag: string;
|
|
1590
1590
|
within?: string | undefined;
|
|
@@ -1597,7 +1597,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1597
1597
|
mode?: string | undefined;
|
|
1598
1598
|
}>>;
|
|
1599
1599
|
pr: z.ZodOptional<z.ZodObject<{
|
|
1600
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
1600
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
1601
1601
|
mode: z.ZodOptional<z.ZodString>;
|
|
1602
1602
|
requires: z.ZodOptional<z.ZodObject<{
|
|
1603
1603
|
ledger_tag: z.ZodString;
|
|
@@ -1665,7 +1665,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1665
1665
|
} | undefined;
|
|
1666
1666
|
}>>;
|
|
1667
1667
|
}, "strict", z.ZodTypeAny, {
|
|
1668
|
-
allow: "
|
|
1668
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1669
1669
|
requires?: {
|
|
1670
1670
|
ledger_tag: string;
|
|
1671
1671
|
within?: string | undefined;
|
|
@@ -1677,7 +1677,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1677
1677
|
} | undefined;
|
|
1678
1678
|
mode?: string | undefined;
|
|
1679
1679
|
}, {
|
|
1680
|
-
allow: boolean | "
|
|
1680
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1681
1681
|
requires?: {
|
|
1682
1682
|
ledger_tag: string;
|
|
1683
1683
|
within?: string | undefined;
|
|
@@ -1690,7 +1690,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1690
1690
|
mode?: string | undefined;
|
|
1691
1691
|
}>>;
|
|
1692
1692
|
deploy: z.ZodOptional<z.ZodObject<{
|
|
1693
|
-
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "
|
|
1693
|
+
allow: z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["true", "false", "ask", "limited", "ask_or_deny"]>]>, "ask" | "true" | "false" | "limited" | "ask_or_deny", boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny">;
|
|
1694
1694
|
mode: z.ZodOptional<z.ZodString>;
|
|
1695
1695
|
requires: z.ZodOptional<z.ZodObject<{
|
|
1696
1696
|
ledger_tag: z.ZodString;
|
|
@@ -1758,7 +1758,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1758
1758
|
} | undefined;
|
|
1759
1759
|
}>>;
|
|
1760
1760
|
}, "strict", z.ZodTypeAny, {
|
|
1761
|
-
allow: "
|
|
1761
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1762
1762
|
requires?: {
|
|
1763
1763
|
ledger_tag: string;
|
|
1764
1764
|
within?: string | undefined;
|
|
@@ -1770,7 +1770,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1770
1770
|
} | undefined;
|
|
1771
1771
|
mode?: string | undefined;
|
|
1772
1772
|
}, {
|
|
1773
|
-
allow: boolean | "
|
|
1773
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1774
1774
|
requires?: {
|
|
1775
1775
|
ledger_tag: string;
|
|
1776
1776
|
within?: string | undefined;
|
|
@@ -1784,7 +1784,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1784
1784
|
}>>;
|
|
1785
1785
|
}, "strict", z.ZodTypeAny, {
|
|
1786
1786
|
push?: {
|
|
1787
|
-
allow: "
|
|
1787
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1788
1788
|
requires?: {
|
|
1789
1789
|
ledger_tag: string;
|
|
1790
1790
|
within?: string | undefined;
|
|
@@ -1796,8 +1796,8 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1796
1796
|
} | undefined;
|
|
1797
1797
|
mode?: string | undefined;
|
|
1798
1798
|
} | undefined;
|
|
1799
|
-
|
|
1800
|
-
allow: "
|
|
1799
|
+
bash?: {
|
|
1800
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1801
1801
|
requires?: {
|
|
1802
1802
|
ledger_tag: string;
|
|
1803
1803
|
within?: string | undefined;
|
|
@@ -1809,8 +1809,8 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1809
1809
|
} | undefined;
|
|
1810
1810
|
mode?: string | undefined;
|
|
1811
1811
|
} | undefined;
|
|
1812
|
-
|
|
1813
|
-
allow: "
|
|
1812
|
+
read?: {
|
|
1813
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1814
1814
|
requires?: {
|
|
1815
1815
|
ledger_tag: string;
|
|
1816
1816
|
within?: string | undefined;
|
|
@@ -1822,8 +1822,8 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1822
1822
|
} | undefined;
|
|
1823
1823
|
mode?: string | undefined;
|
|
1824
1824
|
} | undefined;
|
|
1825
|
-
|
|
1826
|
-
allow: "
|
|
1825
|
+
edit?: {
|
|
1826
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1827
1827
|
requires?: {
|
|
1828
1828
|
ledger_tag: string;
|
|
1829
1829
|
within?: string | undefined;
|
|
@@ -1836,7 +1836,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1836
1836
|
mode?: string | undefined;
|
|
1837
1837
|
} | undefined;
|
|
1838
1838
|
commit?: {
|
|
1839
|
-
allow: "
|
|
1839
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1840
1840
|
requires?: {
|
|
1841
1841
|
ledger_tag: string;
|
|
1842
1842
|
within?: string | undefined;
|
|
@@ -1849,7 +1849,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1849
1849
|
mode?: string | undefined;
|
|
1850
1850
|
} | undefined;
|
|
1851
1851
|
pr?: {
|
|
1852
|
-
allow: "
|
|
1852
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1853
1853
|
requires?: {
|
|
1854
1854
|
ledger_tag: string;
|
|
1855
1855
|
within?: string | undefined;
|
|
@@ -1862,7 +1862,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1862
1862
|
mode?: string | undefined;
|
|
1863
1863
|
} | undefined;
|
|
1864
1864
|
deploy?: {
|
|
1865
|
-
allow: "
|
|
1865
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1866
1866
|
requires?: {
|
|
1867
1867
|
ledger_tag: string;
|
|
1868
1868
|
within?: string | undefined;
|
|
@@ -1876,7 +1876,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1876
1876
|
} | undefined;
|
|
1877
1877
|
}, {
|
|
1878
1878
|
push?: {
|
|
1879
|
-
allow: boolean | "
|
|
1879
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1880
1880
|
requires?: {
|
|
1881
1881
|
ledger_tag: string;
|
|
1882
1882
|
within?: string | undefined;
|
|
@@ -1888,8 +1888,8 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1888
1888
|
} | undefined;
|
|
1889
1889
|
mode?: string | undefined;
|
|
1890
1890
|
} | undefined;
|
|
1891
|
-
|
|
1892
|
-
allow: boolean | "
|
|
1891
|
+
bash?: {
|
|
1892
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1893
1893
|
requires?: {
|
|
1894
1894
|
ledger_tag: string;
|
|
1895
1895
|
within?: string | undefined;
|
|
@@ -1901,8 +1901,8 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1901
1901
|
} | undefined;
|
|
1902
1902
|
mode?: string | undefined;
|
|
1903
1903
|
} | undefined;
|
|
1904
|
-
|
|
1905
|
-
allow: boolean | "
|
|
1904
|
+
read?: {
|
|
1905
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1906
1906
|
requires?: {
|
|
1907
1907
|
ledger_tag: string;
|
|
1908
1908
|
within?: string | undefined;
|
|
@@ -1914,8 +1914,8 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1914
1914
|
} | undefined;
|
|
1915
1915
|
mode?: string | undefined;
|
|
1916
1916
|
} | undefined;
|
|
1917
|
-
|
|
1918
|
-
allow: boolean | "
|
|
1917
|
+
edit?: {
|
|
1918
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1919
1919
|
requires?: {
|
|
1920
1920
|
ledger_tag: string;
|
|
1921
1921
|
within?: string | undefined;
|
|
@@ -1928,7 +1928,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1928
1928
|
mode?: string | undefined;
|
|
1929
1929
|
} | undefined;
|
|
1930
1930
|
commit?: {
|
|
1931
|
-
allow: boolean | "
|
|
1931
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1932
1932
|
requires?: {
|
|
1933
1933
|
ledger_tag: string;
|
|
1934
1934
|
within?: string | undefined;
|
|
@@ -1941,7 +1941,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1941
1941
|
mode?: string | undefined;
|
|
1942
1942
|
} | undefined;
|
|
1943
1943
|
pr?: {
|
|
1944
|
-
allow: boolean | "
|
|
1944
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1945
1945
|
requires?: {
|
|
1946
1946
|
ledger_tag: string;
|
|
1947
1947
|
within?: string | undefined;
|
|
@@ -1954,7 +1954,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1954
1954
|
mode?: string | undefined;
|
|
1955
1955
|
} | undefined;
|
|
1956
1956
|
deploy?: {
|
|
1957
|
-
allow: boolean | "
|
|
1957
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1958
1958
|
requires?: {
|
|
1959
1959
|
ledger_tag: string;
|
|
1960
1960
|
within?: string | undefined;
|
|
@@ -1970,7 +1970,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1970
1970
|
}, "strict", z.ZodTypeAny, {
|
|
1971
1971
|
actions: {
|
|
1972
1972
|
push?: {
|
|
1973
|
-
allow: "
|
|
1973
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1974
1974
|
requires?: {
|
|
1975
1975
|
ledger_tag: string;
|
|
1976
1976
|
within?: string | undefined;
|
|
@@ -1982,8 +1982,8 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1982
1982
|
} | undefined;
|
|
1983
1983
|
mode?: string | undefined;
|
|
1984
1984
|
} | undefined;
|
|
1985
|
-
|
|
1986
|
-
allow: "
|
|
1985
|
+
bash?: {
|
|
1986
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
1987
1987
|
requires?: {
|
|
1988
1988
|
ledger_tag: string;
|
|
1989
1989
|
within?: string | undefined;
|
|
@@ -1995,8 +1995,8 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
1995
1995
|
} | undefined;
|
|
1996
1996
|
mode?: string | undefined;
|
|
1997
1997
|
} | undefined;
|
|
1998
|
-
|
|
1999
|
-
allow: "
|
|
1998
|
+
read?: {
|
|
1999
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
2000
2000
|
requires?: {
|
|
2001
2001
|
ledger_tag: string;
|
|
2002
2002
|
within?: string | undefined;
|
|
@@ -2008,8 +2008,8 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
2008
2008
|
} | undefined;
|
|
2009
2009
|
mode?: string | undefined;
|
|
2010
2010
|
} | undefined;
|
|
2011
|
-
|
|
2012
|
-
allow: "
|
|
2011
|
+
edit?: {
|
|
2012
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
2013
2013
|
requires?: {
|
|
2014
2014
|
ledger_tag: string;
|
|
2015
2015
|
within?: string | undefined;
|
|
@@ -2022,7 +2022,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
2022
2022
|
mode?: string | undefined;
|
|
2023
2023
|
} | undefined;
|
|
2024
2024
|
commit?: {
|
|
2025
|
-
allow: "
|
|
2025
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
2026
2026
|
requires?: {
|
|
2027
2027
|
ledger_tag: string;
|
|
2028
2028
|
within?: string | undefined;
|
|
@@ -2035,7 +2035,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
2035
2035
|
mode?: string | undefined;
|
|
2036
2036
|
} | undefined;
|
|
2037
2037
|
pr?: {
|
|
2038
|
-
allow: "
|
|
2038
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
2039
2039
|
requires?: {
|
|
2040
2040
|
ledger_tag: string;
|
|
2041
2041
|
within?: string | undefined;
|
|
@@ -2048,7 +2048,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
2048
2048
|
mode?: string | undefined;
|
|
2049
2049
|
} | undefined;
|
|
2050
2050
|
deploy?: {
|
|
2051
|
-
allow: "
|
|
2051
|
+
allow: "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
2052
2052
|
requires?: {
|
|
2053
2053
|
ledger_tag: string;
|
|
2054
2054
|
within?: string | undefined;
|
|
@@ -2066,7 +2066,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
2066
2066
|
description?: string | undefined;
|
|
2067
2067
|
actions?: {
|
|
2068
2068
|
push?: {
|
|
2069
|
-
allow: boolean | "
|
|
2069
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
2070
2070
|
requires?: {
|
|
2071
2071
|
ledger_tag: string;
|
|
2072
2072
|
within?: string | undefined;
|
|
@@ -2078,8 +2078,8 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
2078
2078
|
} | undefined;
|
|
2079
2079
|
mode?: string | undefined;
|
|
2080
2080
|
} | undefined;
|
|
2081
|
-
|
|
2082
|
-
allow: boolean | "
|
|
2081
|
+
bash?: {
|
|
2082
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
2083
2083
|
requires?: {
|
|
2084
2084
|
ledger_tag: string;
|
|
2085
2085
|
within?: string | undefined;
|
|
@@ -2091,8 +2091,8 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
2091
2091
|
} | undefined;
|
|
2092
2092
|
mode?: string | undefined;
|
|
2093
2093
|
} | undefined;
|
|
2094
|
-
|
|
2095
|
-
allow: boolean | "
|
|
2094
|
+
read?: {
|
|
2095
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
2096
2096
|
requires?: {
|
|
2097
2097
|
ledger_tag: string;
|
|
2098
2098
|
within?: string | undefined;
|
|
@@ -2104,8 +2104,8 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
2104
2104
|
} | undefined;
|
|
2105
2105
|
mode?: string | undefined;
|
|
2106
2106
|
} | undefined;
|
|
2107
|
-
|
|
2108
|
-
allow: boolean | "
|
|
2107
|
+
edit?: {
|
|
2108
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
2109
2109
|
requires?: {
|
|
2110
2110
|
ledger_tag: string;
|
|
2111
2111
|
within?: string | undefined;
|
|
@@ -2118,7 +2118,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
2118
2118
|
mode?: string | undefined;
|
|
2119
2119
|
} | undefined;
|
|
2120
2120
|
commit?: {
|
|
2121
|
-
allow: boolean | "
|
|
2121
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
2122
2122
|
requires?: {
|
|
2123
2123
|
ledger_tag: string;
|
|
2124
2124
|
within?: string | undefined;
|
|
@@ -2131,7 +2131,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
2131
2131
|
mode?: string | undefined;
|
|
2132
2132
|
} | undefined;
|
|
2133
2133
|
pr?: {
|
|
2134
|
-
allow: boolean | "
|
|
2134
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
2135
2135
|
requires?: {
|
|
2136
2136
|
ledger_tag: string;
|
|
2137
2137
|
within?: string | undefined;
|
|
@@ -2144,7 +2144,7 @@ export declare const PermissionProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObj
|
|
|
2144
2144
|
mode?: string | undefined;
|
|
2145
2145
|
} | undefined;
|
|
2146
2146
|
deploy?: {
|
|
2147
|
-
allow: boolean | "
|
|
2147
|
+
allow: boolean | "ask" | "true" | "false" | "limited" | "ask_or_deny";
|
|
2148
2148
|
requires?: {
|
|
2149
2149
|
ledger_tag: string;
|
|
2150
2150
|
within?: string | undefined;
|