owenloop 0.4.1 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +71 -0
- package/README.md +182 -53
- package/bin/owenloop.mjs +50 -2
- package/dist/packages/work/src/agent/brief.d.ts +176 -0
- package/dist/packages/work/src/agent/brief.js +197 -0
- package/dist/packages/work/src/agent/loop.d.ts +141 -0
- package/dist/packages/work/src/agent/loop.js +669 -0
- package/dist/packages/work/src/agent/model-policy.d.ts +49 -0
- package/dist/packages/work/src/agent/model-policy.js +138 -0
- package/dist/packages/work/src/agent/workdir.d.ts +210 -0
- package/dist/packages/work/src/agent/workdir.js +319 -0
- package/dist/packages/work/src/bundle/cache.d.ts +92 -0
- package/dist/packages/work/src/bundle/cache.js +338 -0
- package/dist/packages/work/src/bundle/fetch.d.ts +87 -0
- package/dist/packages/work/src/bundle/fetch.js +345 -0
- package/dist/packages/work/src/bundle/types.d.ts +164 -0
- package/dist/packages/work/src/bundle/types.js +1 -0
- package/dist/packages/work/src/consumed-verifier.d.ts +45 -0
- package/dist/packages/work/src/consumed-verifier.js +205 -0
- package/dist/packages/work/src/credentials/owenloop.d.ts +11 -0
- package/dist/packages/work/src/credentials/owenloop.js +28 -0
- package/dist/packages/work/src/credentials/reader.d.ts +36 -0
- package/dist/packages/work/src/credentials/reader.js +32 -0
- package/dist/packages/work/src/credentials/resolve.d.ts +19 -0
- package/dist/packages/work/src/credentials/resolve.js +56 -0
- package/dist/packages/work/src/exec/instructions.d.ts +99 -0
- package/dist/packages/work/src/exec/instructions.js +323 -0
- package/dist/packages/work/src/exec/loop.d.ts +40 -0
- package/dist/packages/work/src/exec/loop.js +332 -0
- package/dist/packages/work/src/exec/payload.d.ts +29 -0
- package/dist/packages/work/src/exec/payload.js +54 -0
- package/dist/packages/work/src/exec/receipt.d.ts +41 -0
- package/dist/packages/work/src/exec/receipt.js +32 -0
- package/dist/packages/work/src/exec/runner.d.ts +71 -0
- package/dist/packages/work/src/exec/runner.js +256 -0
- package/dist/packages/work/src/harness/child-env.d.ts +100 -0
- package/dist/packages/work/src/harness/child-env.js +134 -0
- package/dist/packages/work/src/harness/claude.d.ts +140 -0
- package/dist/packages/work/src/harness/claude.js +837 -0
- package/dist/packages/work/src/harness/codex.d.ts +111 -0
- package/dist/packages/work/src/harness/codex.js +1024 -0
- package/dist/packages/work/src/harness/contract.d.ts +308 -0
- package/dist/packages/work/src/harness/contract.js +32 -0
- package/dist/packages/work/src/harness/fake.d.ts +59 -0
- package/dist/packages/work/src/harness/fake.js +91 -0
- package/dist/packages/work/src/harness/jsonrpc-stdio.d.ts +108 -0
- package/dist/packages/work/src/harness/jsonrpc-stdio.js +351 -0
- package/dist/packages/work/src/harness/permissions.d.ts +75 -0
- package/dist/packages/work/src/harness/permissions.js +182 -0
- package/dist/packages/work/src/harness/registry.d.ts +47 -0
- package/dist/packages/work/src/harness/registry.js +45 -0
- package/dist/packages/work/src/harness/session-store.d.ts +181 -0
- package/dist/packages/work/src/harness/session-store.js +523 -0
- package/dist/packages/work/src/harness/types.d.ts +29 -0
- package/dist/packages/work/src/harness/types.js +14 -0
- package/dist/packages/work/src/harnesses.d.ts +38 -0
- package/dist/packages/work/src/harnesses.js +38 -0
- package/dist/packages/work/src/hold/loop.d.ts +36 -0
- package/dist/packages/work/src/hold/loop.js +23 -0
- package/dist/packages/work/src/hold/mcp.d.ts +75 -0
- package/dist/packages/work/src/hold/mcp.js +264 -0
- package/dist/packages/work/src/hub/client.d.ts +23 -0
- package/dist/packages/work/src/hub/client.js +91 -0
- package/dist/packages/work/src/hub/types.d.ts +326 -0
- package/dist/packages/work/src/hub/types.js +26 -0
- package/dist/packages/work/src/lease/loop.d.ts +94 -0
- package/dist/packages/work/src/lease/loop.js +277 -0
- package/dist/packages/work/src/main.d.ts +1 -0
- package/dist/packages/work/src/main.js +48 -0
- package/dist/packages/work/src/mcp/server.d.ts +125 -0
- package/dist/packages/work/src/mcp/server.js +320 -0
- package/dist/packages/work/src/owenloop-bin.d.ts +1 -0
- package/dist/packages/work/src/owenloop-bin.js +18 -0
- package/dist/packages/work/src/roles/agent-run.d.ts +124 -0
- package/dist/packages/work/src/roles/agent-run.js +529 -0
- package/dist/packages/work/src/roles/exec.d.ts +48 -0
- package/dist/packages/work/src/roles/exec.js +228 -0
- package/dist/packages/work/src/roles/hold.d.ts +72 -0
- package/dist/packages/work/src/roles/hold.js +363 -0
- package/dist/packages/work/src/roles/join.d.ts +18 -0
- package/dist/packages/work/src/roles/join.js +204 -0
- package/dist/packages/work/src/roles/lint.d.ts +58 -0
- package/dist/packages/work/src/roles/lint.js +234 -0
- package/dist/packages/work/src/roles/prepare.d.ts +1 -0
- package/dist/packages/work/src/roles/prepare.js +249 -0
- package/dist/packages/work/src/roles/release.d.ts +48 -0
- package/dist/packages/work/src/roles/release.js +137 -0
- package/dist/packages/work/src/roles/sessions.d.ts +61 -0
- package/dist/packages/work/src/roles/sessions.js +180 -0
- package/dist/packages/work/src/roles/settings.d.ts +6 -0
- package/dist/packages/work/src/roles/settings.js +71 -0
- package/dist/packages/work/src/roles/shift.d.ts +13 -0
- package/dist/packages/work/src/roles/shift.js +250 -0
- package/dist/packages/work/src/roles/signals.d.ts +55 -0
- package/dist/packages/work/src/roles/signals.js +62 -0
- package/dist/packages/work/src/settings/provision.d.ts +21 -0
- package/dist/packages/work/src/settings/provision.js +47 -0
- package/dist/packages/work/src/settings/settings.d.ts +136 -0
- package/dist/packages/work/src/settings/settings.js +155 -0
- package/dist/packages/work/src/shift/client.d.ts +24 -0
- package/dist/packages/work/src/shift/client.js +124 -0
- package/dist/packages/work/src/shift/loop.d.ts +131 -0
- package/dist/packages/work/src/shift/loop.js +751 -0
- package/dist/packages/work/src/shift/protocol.d.ts +95 -0
- package/dist/packages/work/src/shift/protocol.js +24 -0
- package/dist/packages/work/src/shift/routing.d.ts +35 -0
- package/dist/packages/work/src/shift/routing.js +50 -0
- package/dist/packages/work/src/shift/runtime.d.ts +45 -0
- package/dist/packages/work/src/shift/runtime.js +337 -0
- package/dist/packages/work/src/shift/server.d.ts +23 -0
- package/dist/packages/work/src/shift/server.js +716 -0
- package/dist/packages/work/src/shift/spawn.d.ts +109 -0
- package/dist/packages/work/src/shift/spawn.js +158 -0
- package/dist/packages/work/src/shift/state.d.ts +79 -0
- package/dist/packages/work/src/shift/state.js +385 -0
- package/dist/packages/work/src/submit-proof.d.ts +36 -0
- package/dist/packages/work/src/submit-proof.js +93 -0
- package/dist/packages/work/src/usage.d.ts +6 -0
- package/dist/packages/work/src/usage.js +175 -0
- package/dist/src/add.d.ts +189 -0
- package/dist/src/add.js +300 -0
- package/dist/src/archive.d.ts +97 -0
- package/dist/src/archive.js +591 -0
- package/dist/src/bundle/index.d.ts +64 -0
- package/dist/src/bundle/index.js +508 -0
- package/dist/src/bundle/manifest.d.ts +50 -0
- package/dist/src/bundle/manifest.js +435 -0
- package/dist/src/bundle/runtime.d.ts +26 -0
- package/dist/src/bundle/runtime.js +64 -0
- package/dist/src/bundle/tar.d.ts +62 -0
- package/dist/src/bundle/tar.js +238 -0
- package/dist/src/bundle/types.d.ts +105 -0
- package/dist/src/bundle/types.js +21 -0
- package/dist/{cli.d.ts → src/cli.d.ts} +92 -7
- package/dist/src/cli.js +5968 -0
- package/dist/{credentials.d.ts → src/credentials.d.ts} +22 -15
- package/dist/{credentials.js → src/credentials.js} +35 -31
- package/dist/src/crypto/allowed-signers.d.ts +68 -0
- package/dist/src/crypto/allowed-signers.js +307 -0
- package/dist/src/crypto/canonical.d.ts +8 -0
- package/dist/src/crypto/canonical.js +92 -0
- package/dist/src/crypto/chain.d.ts +65 -0
- package/dist/src/crypto/chain.js +377 -0
- package/dist/src/crypto/dsse.d.ts +209 -0
- package/dist/src/crypto/dsse.js +282 -0
- package/dist/src/crypto/enrollment.d.ts +78 -0
- package/dist/src/crypto/enrollment.js +186 -0
- package/dist/src/crypto/index.d.ts +48 -0
- package/dist/src/crypto/index.js +44 -0
- package/dist/src/crypto/keys.d.ts +258 -0
- package/dist/src/crypto/keys.js +908 -0
- package/dist/src/crypto/org-root.d.ts +33 -0
- package/dist/src/crypto/org-root.js +78 -0
- package/dist/src/crypto/origin-rules.d.ts +56 -0
- package/dist/src/crypto/origin-rules.js +143 -0
- package/dist/src/crypto/policy-floor.d.ts +98 -0
- package/dist/src/crypto/policy-floor.js +353 -0
- package/dist/src/crypto/records.d.ts +316 -0
- package/dist/src/crypto/records.js +157 -0
- package/dist/src/crypto/scope.d.ts +49 -0
- package/dist/src/crypto/scope.js +83 -0
- package/dist/src/crypto/ssh.d.ts +171 -0
- package/dist/src/crypto/ssh.js +396 -0
- package/dist/src/crypto/submission.d.ts +33 -0
- package/dist/src/crypto/submission.js +47 -0
- package/dist/src/crypto/trust-roots.d.ts +29 -0
- package/dist/src/crypto/trust-roots.js +39 -0
- package/dist/src/crypto/verify-consumed.d.ts +67 -0
- package/dist/src/crypto/verify-consumed.js +259 -0
- package/dist/src/crypto/verify-origin.d.ts +50 -0
- package/dist/src/crypto/verify-origin.js +151 -0
- package/dist/src/crypto/verify-publication.d.ts +60 -0
- package/dist/src/crypto/verify-publication.js +150 -0
- package/dist/{defs.d.ts → src/defs.d.ts} +24 -1
- package/dist/{defs.js → src/defs.js} +181 -61
- package/dist/{engine.d.ts → src/engine.d.ts} +105 -9
- package/dist/{engine.js → src/engine.js} +251 -47
- package/dist/{factory.d.ts → src/factory.d.ts} +16 -0
- package/dist/{factory.js → src/factory.js} +16 -4
- package/dist/src/global-config.d.ts +59 -0
- package/dist/src/global-config.js +84 -0
- package/dist/{hub.d.ts → src/hub.d.ts} +280 -31
- package/dist/{hub.js → src/hub.js} +493 -52
- package/dist/src/index.d.ts +47 -0
- package/dist/src/index.js +41 -0
- package/dist/src/install.d.ts +538 -0
- package/dist/src/install.js +1981 -0
- package/dist/src/lock.d.ts +38 -0
- package/dist/src/lock.js +325 -0
- package/dist/src/mcp/serve.d.ts +109 -0
- package/dist/{mcp → src/mcp}/serve.js +335 -75
- package/dist/{mcp → src/mcp}/server.d.ts +6 -9
- package/dist/{mcp → src/mcp}/server.js +18 -10
- package/dist/{model.d.ts → src/model.d.ts} +15 -0
- package/dist/{model.js → src/model.js} +112 -2
- package/dist/src/order-resolver.d.ts +184 -0
- package/dist/src/order-resolver.js +252 -0
- package/dist/src/package-version.d.ts +10 -0
- package/dist/src/package-version.js +42 -0
- package/dist/{paths.d.ts → src/paths.d.ts} +14 -1
- package/dist/{paths.js → src/paths.js} +18 -0
- package/dist/src/schemas/enrollment-grant.v1.schema.json +90 -0
- package/dist/src/schemas/index.d.ts +1416 -0
- package/dist/src/schemas/index.js +31 -0
- package/dist/src/schemas/order.v1.schema.json +106 -0
- package/dist/src/schemas/origin.v1.schema.json +68 -0
- package/dist/src/schemas/policy-floor.v1.schema.json +29 -0
- package/dist/src/schemas/publication.v1.schema.json +31 -0
- package/dist/src/schemas/revocation.v1.schema.json +39 -0
- package/dist/src/schemas/submission.v1.schema.json +61 -0
- package/dist/src/store/def-source.d.ts +52 -0
- package/dist/src/store/def-source.js +335 -0
- package/dist/src/store/index-file.d.ts +69 -0
- package/dist/src/store/index-file.js +151 -0
- package/dist/src/store/index.d.ts +27 -0
- package/dist/src/store/index.js +22 -0
- package/dist/src/store/ingestor.d.ts +43 -0
- package/dist/src/store/ingestor.js +211 -0
- package/dist/src/store/install.d.ts +228 -0
- package/dist/src/store/install.js +555 -0
- package/dist/src/store/instruction-source.d.ts +49 -0
- package/dist/src/store/instruction-source.js +298 -0
- package/dist/src/store/origin-evidence.d.ts +21 -0
- package/dist/src/store/origin-evidence.js +66 -0
- package/dist/src/store/pre-commit-verifier.d.ts +68 -0
- package/dist/src/store/pre-commit-verifier.js +418 -0
- package/dist/src/store/resolve.d.ts +138 -0
- package/dist/src/store/resolve.js +363 -0
- package/dist/src/store/types.d.ts +288 -0
- package/dist/src/store/types.js +356 -0
- package/dist/{types.d.ts → src/types.d.ts} +58 -24
- package/dist/{untar.d.ts → src/untar.d.ts} +8 -23
- package/dist/src/untar.js +38 -0
- package/dist/{util.d.ts → src/util.d.ts} +3 -2
- package/dist/{util.js → src/util.js} +3 -2
- package/dist/{owenwork.d.ts → src/work-settings.d.ts} +22 -22
- package/dist/{owenwork.js → src/work-settings.js} +27 -27
- package/docs/agent-runner.md +86 -0
- package/docs/authoring.md +150 -59
- package/docs/bundles.md +250 -0
- package/docs/cli.md +1758 -163
- package/docs/crypto.md +816 -0
- package/docs/design.md +374 -52
- package/docs/embedding.md +135 -27
- package/docs/wire-contracts.md +380 -0
- package/examples/workflows/{command-worker.yaml → command-executor.yaml} +15 -15
- package/examples/workflows/compile-dev-playbook.yaml +338 -0
- package/examples/workflows/judges/gate-sharpness.md +39 -0
- package/examples/workflows/judges/security.md +34 -0
- package/package.json +22 -8
- package/plugins/claude-code/.claude-plugin/marketplace.json +14 -0
- package/plugins/claude-code/plugin/.claude-plugin/plugin.json +8 -0
- package/plugins/claude-code/plugin/.mcp.json +14 -0
- package/plugins/claude-code/plugin/hooks/hooks.json +26 -0
- package/plugins/claude-code/plugin/hooks/session-end.sh +40 -0
- package/plugins/claude-code/plugin/hooks/session-start.sh +52 -0
- package/plugins/claude-code/plugin/skills/author/SKILL.md +181 -0
- package/plugins/claude-code/plugin/skills/conduct/SKILL.md +106 -0
- package/plugins/claude-code/plugin/skills/shift/SKILL.md +105 -0
- package/plugins/codex/.agents/plugins/marketplace.json +21 -0
- package/plugins/codex/plugins/owenloop/.codex-plugin/plugin.json +7 -0
- package/plugins/codex/plugins/owenloop/.mcp.json +20 -0
- package/plugins/codex/plugins/owenloop/hooks/hooks.json +26 -0
- package/plugins/codex/plugins/owenloop/hooks/session-end.sh +40 -0
- package/plugins/codex/plugins/owenloop/hooks/session-start.sh +52 -0
- package/plugins/codex/plugins/owenloop/skills/author/SKILL.md +181 -0
- package/plugins/codex/plugins/owenloop/skills/conduct/SKILL.md +106 -0
- package/plugins/codex/plugins/owenloop/skills/shift/SKILL.md +105 -0
- package/dist/add.d.ts +0 -384
- package/dist/add.js +0 -834
- package/dist/cli.js +0 -3270
- package/dist/index.d.ts +0 -32
- package/dist/index.js +0 -23
- package/dist/lock.d.ts +0 -80
- package/dist/lock.js +0 -217
- package/dist/mcp/serve.d.ts +0 -84
- package/dist/untar.js +0 -164
- /package/dist/{schema.d.ts → src/schema.d.ts} +0 -0
- /package/dist/{schema.js → src/schema.js} +0 -0
- /package/dist/{store.d.ts → src/store.d.ts} +0 -0
- /package/dist/{store.js → src/store.js} +0 -0
- /package/dist/{types.js → src/types.js} +0 -0
|
@@ -0,0 +1,1416 @@
|
|
|
1
|
+
/** Checked-in JSON Schemas for the launch wire contracts. */
|
|
2
|
+
import enrollmentGrantSchema from './enrollment-grant.v1.schema.json';
|
|
3
|
+
import orderSchema from './order.v1.schema.json';
|
|
4
|
+
import policyFloorSchema from './policy-floor.v1.schema.json';
|
|
5
|
+
import originSchema from './origin.v1.schema.json';
|
|
6
|
+
import publicationSchema from './publication.v1.schema.json';
|
|
7
|
+
import revocationSchema from './revocation.v1.schema.json';
|
|
8
|
+
import submissionSchema from './submission.v1.schema.json';
|
|
9
|
+
export { enrollmentGrantSchema, orderSchema, originSchema, policyFloorSchema, publicationSchema, revocationSchema, submissionSchema, };
|
|
10
|
+
/** Schemas by the stable contract name used in source and documentation. */
|
|
11
|
+
export declare const WIRE_SCHEMAS: {
|
|
12
|
+
readonly enrollmentGrant: {
|
|
13
|
+
$schema: string;
|
|
14
|
+
$id: string;
|
|
15
|
+
title: string;
|
|
16
|
+
description: string;
|
|
17
|
+
type: string;
|
|
18
|
+
additionalProperties: boolean;
|
|
19
|
+
required: string[];
|
|
20
|
+
properties: {
|
|
21
|
+
newKey: {
|
|
22
|
+
type: string;
|
|
23
|
+
additionalProperties: boolean;
|
|
24
|
+
required: string[];
|
|
25
|
+
properties: {
|
|
26
|
+
keyid: {
|
|
27
|
+
type: string;
|
|
28
|
+
pattern: string;
|
|
29
|
+
};
|
|
30
|
+
keyType: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
openSshPublicKey: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
comment: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
principal: {
|
|
42
|
+
type: string;
|
|
43
|
+
additionalProperties: boolean;
|
|
44
|
+
required: string[];
|
|
45
|
+
properties: {
|
|
46
|
+
kind: {
|
|
47
|
+
type: string;
|
|
48
|
+
enum: string[];
|
|
49
|
+
};
|
|
50
|
+
id: {
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
scope: {
|
|
56
|
+
type: string;
|
|
57
|
+
additionalProperties: boolean;
|
|
58
|
+
required: string[];
|
|
59
|
+
properties: {
|
|
60
|
+
pools: {
|
|
61
|
+
oneOf: ({
|
|
62
|
+
const: string;
|
|
63
|
+
type?: undefined;
|
|
64
|
+
items?: undefined;
|
|
65
|
+
} | {
|
|
66
|
+
type: string;
|
|
67
|
+
items: {
|
|
68
|
+
type: string;
|
|
69
|
+
};
|
|
70
|
+
const?: undefined;
|
|
71
|
+
})[];
|
|
72
|
+
};
|
|
73
|
+
labels: {
|
|
74
|
+
oneOf: ({
|
|
75
|
+
const: string;
|
|
76
|
+
type?: undefined;
|
|
77
|
+
items?: undefined;
|
|
78
|
+
} | {
|
|
79
|
+
type: string;
|
|
80
|
+
items: {
|
|
81
|
+
type: string;
|
|
82
|
+
};
|
|
83
|
+
const?: undefined;
|
|
84
|
+
})[];
|
|
85
|
+
};
|
|
86
|
+
namespaces: {
|
|
87
|
+
oneOf: ({
|
|
88
|
+
const: string;
|
|
89
|
+
type?: undefined;
|
|
90
|
+
items?: undefined;
|
|
91
|
+
} | {
|
|
92
|
+
type: string;
|
|
93
|
+
items: {
|
|
94
|
+
type: string;
|
|
95
|
+
};
|
|
96
|
+
const?: undefined;
|
|
97
|
+
})[];
|
|
98
|
+
};
|
|
99
|
+
delegation: {
|
|
100
|
+
oneOf: ({
|
|
101
|
+
type: string;
|
|
102
|
+
additionalProperties: boolean;
|
|
103
|
+
required: string[];
|
|
104
|
+
properties: {
|
|
105
|
+
allowed: {
|
|
106
|
+
const: boolean;
|
|
107
|
+
};
|
|
108
|
+
maxDepth?: undefined;
|
|
109
|
+
};
|
|
110
|
+
} | {
|
|
111
|
+
type: string;
|
|
112
|
+
additionalProperties: boolean;
|
|
113
|
+
required: string[];
|
|
114
|
+
properties: {
|
|
115
|
+
allowed: {
|
|
116
|
+
const: boolean;
|
|
117
|
+
};
|
|
118
|
+
maxDepth: {
|
|
119
|
+
oneOf: ({
|
|
120
|
+
type: string;
|
|
121
|
+
minimum: number;
|
|
122
|
+
const?: undefined;
|
|
123
|
+
} | {
|
|
124
|
+
const: string;
|
|
125
|
+
type?: undefined;
|
|
126
|
+
minimum?: undefined;
|
|
127
|
+
})[];
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
})[];
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
grantedBy: {
|
|
135
|
+
type: string;
|
|
136
|
+
pattern: string;
|
|
137
|
+
};
|
|
138
|
+
validFrom: {
|
|
139
|
+
type: string;
|
|
140
|
+
minimum: number;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
readonly revocation: {
|
|
145
|
+
$schema: string;
|
|
146
|
+
$id: string;
|
|
147
|
+
title: string;
|
|
148
|
+
description: string;
|
|
149
|
+
type: string;
|
|
150
|
+
additionalProperties: boolean;
|
|
151
|
+
required: string[];
|
|
152
|
+
properties: {
|
|
153
|
+
revokedKey: {
|
|
154
|
+
type: string;
|
|
155
|
+
pattern: string;
|
|
156
|
+
};
|
|
157
|
+
principal: {
|
|
158
|
+
type: string;
|
|
159
|
+
additionalProperties: boolean;
|
|
160
|
+
required: string[];
|
|
161
|
+
properties: {
|
|
162
|
+
kind: {
|
|
163
|
+
type: string;
|
|
164
|
+
enum: string[];
|
|
165
|
+
};
|
|
166
|
+
id: {
|
|
167
|
+
type: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
revokedBy: {
|
|
172
|
+
type: string;
|
|
173
|
+
pattern: string;
|
|
174
|
+
};
|
|
175
|
+
issuedAt: {
|
|
176
|
+
type: string;
|
|
177
|
+
minimum: number;
|
|
178
|
+
};
|
|
179
|
+
effectiveFrom: {
|
|
180
|
+
type: string;
|
|
181
|
+
minimum: number;
|
|
182
|
+
};
|
|
183
|
+
backdated: {
|
|
184
|
+
type: string;
|
|
185
|
+
};
|
|
186
|
+
reason: {
|
|
187
|
+
type: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
readonly submission: {
|
|
192
|
+
$schema: string;
|
|
193
|
+
$id: string;
|
|
194
|
+
title: string;
|
|
195
|
+
description: string;
|
|
196
|
+
type: string;
|
|
197
|
+
additionalProperties: boolean;
|
|
198
|
+
required: string[];
|
|
199
|
+
properties: {
|
|
200
|
+
run: {
|
|
201
|
+
type: string;
|
|
202
|
+
};
|
|
203
|
+
workflow: {
|
|
204
|
+
type: string;
|
|
205
|
+
};
|
|
206
|
+
defDigest: {
|
|
207
|
+
type: string;
|
|
208
|
+
minLength: number;
|
|
209
|
+
description: string;
|
|
210
|
+
};
|
|
211
|
+
step: {
|
|
212
|
+
type: string;
|
|
213
|
+
};
|
|
214
|
+
key: {
|
|
215
|
+
type: string;
|
|
216
|
+
};
|
|
217
|
+
index: {
|
|
218
|
+
type: string;
|
|
219
|
+
minimum: number;
|
|
220
|
+
};
|
|
221
|
+
produced: {
|
|
222
|
+
type: string;
|
|
223
|
+
minItems: number;
|
|
224
|
+
items: {
|
|
225
|
+
type: string;
|
|
226
|
+
additionalProperties: boolean;
|
|
227
|
+
required: string[];
|
|
228
|
+
properties: {
|
|
229
|
+
artifact: {
|
|
230
|
+
type: string;
|
|
231
|
+
};
|
|
232
|
+
version: {
|
|
233
|
+
type: string;
|
|
234
|
+
minimum: number;
|
|
235
|
+
};
|
|
236
|
+
valueDigest: {
|
|
237
|
+
type: string;
|
|
238
|
+
pattern: string;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
consumedFingerprint: {
|
|
244
|
+
type: string;
|
|
245
|
+
description: string;
|
|
246
|
+
additionalProperties: {
|
|
247
|
+
type: string;
|
|
248
|
+
minimum: number;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
producerKeyId: {
|
|
252
|
+
type: string;
|
|
253
|
+
pattern: string;
|
|
254
|
+
};
|
|
255
|
+
timestamp: {
|
|
256
|
+
type: string;
|
|
257
|
+
minimum: number;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
readonly policyFloor: {
|
|
262
|
+
$schema: string;
|
|
263
|
+
$id: string;
|
|
264
|
+
title: string;
|
|
265
|
+
description: string;
|
|
266
|
+
type: string;
|
|
267
|
+
additionalProperties: boolean;
|
|
268
|
+
required: string[];
|
|
269
|
+
properties: {
|
|
270
|
+
org: {
|
|
271
|
+
type: string;
|
|
272
|
+
};
|
|
273
|
+
issuedAt: {
|
|
274
|
+
type: string;
|
|
275
|
+
minimum: number;
|
|
276
|
+
};
|
|
277
|
+
signedBy: {
|
|
278
|
+
type: string;
|
|
279
|
+
pattern: string;
|
|
280
|
+
};
|
|
281
|
+
floor: {
|
|
282
|
+
type: string;
|
|
283
|
+
additionalProperties: boolean;
|
|
284
|
+
required: string[];
|
|
285
|
+
properties: {
|
|
286
|
+
trustMode: {
|
|
287
|
+
type: string;
|
|
288
|
+
enum: string[];
|
|
289
|
+
};
|
|
290
|
+
unsignedDefs: {
|
|
291
|
+
type: string;
|
|
292
|
+
enum: string[];
|
|
293
|
+
};
|
|
294
|
+
unsignedArtifacts: {
|
|
295
|
+
type: string;
|
|
296
|
+
enum: string[];
|
|
297
|
+
};
|
|
298
|
+
originRules: {
|
|
299
|
+
type: string;
|
|
300
|
+
enum: string[];
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
preset: {
|
|
305
|
+
type: string;
|
|
306
|
+
enum: string[];
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
readonly origin: {
|
|
311
|
+
$schema: string;
|
|
312
|
+
$id: string;
|
|
313
|
+
title: string;
|
|
314
|
+
description: string;
|
|
315
|
+
type: string;
|
|
316
|
+
additionalProperties: boolean;
|
|
317
|
+
required: string[];
|
|
318
|
+
properties: {
|
|
319
|
+
digest: {
|
|
320
|
+
type: string;
|
|
321
|
+
pattern: string;
|
|
322
|
+
};
|
|
323
|
+
name: {
|
|
324
|
+
type: string;
|
|
325
|
+
minLength: number;
|
|
326
|
+
};
|
|
327
|
+
version: {
|
|
328
|
+
type: string;
|
|
329
|
+
minLength: number;
|
|
330
|
+
};
|
|
331
|
+
source: {
|
|
332
|
+
$comment: string;
|
|
333
|
+
oneOf: ({
|
|
334
|
+
type: string;
|
|
335
|
+
additionalProperties: boolean;
|
|
336
|
+
required: string[];
|
|
337
|
+
properties: {
|
|
338
|
+
kind: {
|
|
339
|
+
const: string;
|
|
340
|
+
};
|
|
341
|
+
repo: {
|
|
342
|
+
type: string;
|
|
343
|
+
};
|
|
344
|
+
commit: {
|
|
345
|
+
type: string;
|
|
346
|
+
pattern: string;
|
|
347
|
+
};
|
|
348
|
+
user?: undefined;
|
|
349
|
+
agent?: undefined;
|
|
350
|
+
session?: undefined;
|
|
351
|
+
};
|
|
352
|
+
} | {
|
|
353
|
+
type: string;
|
|
354
|
+
additionalProperties: boolean;
|
|
355
|
+
required: string[];
|
|
356
|
+
properties: {
|
|
357
|
+
kind: {
|
|
358
|
+
const: string;
|
|
359
|
+
};
|
|
360
|
+
user: {
|
|
361
|
+
type: string;
|
|
362
|
+
};
|
|
363
|
+
repo?: undefined;
|
|
364
|
+
commit?: undefined;
|
|
365
|
+
agent?: undefined;
|
|
366
|
+
session?: undefined;
|
|
367
|
+
};
|
|
368
|
+
} | {
|
|
369
|
+
type: string;
|
|
370
|
+
additionalProperties: boolean;
|
|
371
|
+
required: string[];
|
|
372
|
+
properties: {
|
|
373
|
+
kind: {
|
|
374
|
+
const: string;
|
|
375
|
+
};
|
|
376
|
+
agent: {
|
|
377
|
+
type: string;
|
|
378
|
+
};
|
|
379
|
+
session: {
|
|
380
|
+
type: string;
|
|
381
|
+
};
|
|
382
|
+
repo?: undefined;
|
|
383
|
+
commit?: undefined;
|
|
384
|
+
user?: undefined;
|
|
385
|
+
};
|
|
386
|
+
})[];
|
|
387
|
+
};
|
|
388
|
+
attesterKeyId: {
|
|
389
|
+
type: string;
|
|
390
|
+
pattern: string;
|
|
391
|
+
};
|
|
392
|
+
timestamp: {
|
|
393
|
+
type: string;
|
|
394
|
+
minimum: number;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
readonly publication: {
|
|
399
|
+
$schema: string;
|
|
400
|
+
$id: string;
|
|
401
|
+
title: string;
|
|
402
|
+
description: string;
|
|
403
|
+
type: string;
|
|
404
|
+
additionalProperties: boolean;
|
|
405
|
+
required: string[];
|
|
406
|
+
properties: {
|
|
407
|
+
digest: {
|
|
408
|
+
type: string;
|
|
409
|
+
pattern: string;
|
|
410
|
+
};
|
|
411
|
+
name: {
|
|
412
|
+
type: string;
|
|
413
|
+
minLength: number;
|
|
414
|
+
};
|
|
415
|
+
version: {
|
|
416
|
+
type: string;
|
|
417
|
+
minLength: number;
|
|
418
|
+
};
|
|
419
|
+
publisherKeyId: {
|
|
420
|
+
type: string;
|
|
421
|
+
pattern: string;
|
|
422
|
+
};
|
|
423
|
+
timestamp: {
|
|
424
|
+
type: string;
|
|
425
|
+
minimum: number;
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
readonly order: {
|
|
430
|
+
$schema: string;
|
|
431
|
+
$id: string;
|
|
432
|
+
title: string;
|
|
433
|
+
description: string;
|
|
434
|
+
type: string;
|
|
435
|
+
additionalProperties: boolean;
|
|
436
|
+
required: string[];
|
|
437
|
+
properties: {
|
|
438
|
+
run: {
|
|
439
|
+
type: string;
|
|
440
|
+
};
|
|
441
|
+
workflow: {
|
|
442
|
+
type: string;
|
|
443
|
+
};
|
|
444
|
+
step: {
|
|
445
|
+
type: string;
|
|
446
|
+
};
|
|
447
|
+
key: {
|
|
448
|
+
type: string;
|
|
449
|
+
};
|
|
450
|
+
index: {
|
|
451
|
+
type: string;
|
|
452
|
+
minimum: number;
|
|
453
|
+
};
|
|
454
|
+
defDigest: {
|
|
455
|
+
type: string;
|
|
456
|
+
minLength: number;
|
|
457
|
+
description: string;
|
|
458
|
+
};
|
|
459
|
+
inputs: {
|
|
460
|
+
type: string;
|
|
461
|
+
items: {
|
|
462
|
+
type: string;
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
outputs: {
|
|
466
|
+
type: string;
|
|
467
|
+
items: {
|
|
468
|
+
type: string;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
workdir: {
|
|
472
|
+
type: string;
|
|
473
|
+
};
|
|
474
|
+
model: {
|
|
475
|
+
type: string;
|
|
476
|
+
};
|
|
477
|
+
worker: {
|
|
478
|
+
type: string;
|
|
479
|
+
};
|
|
480
|
+
judge: {
|
|
481
|
+
type: string;
|
|
482
|
+
};
|
|
483
|
+
spec: {
|
|
484
|
+
type: string;
|
|
485
|
+
description: string;
|
|
486
|
+
additionalProperties: boolean;
|
|
487
|
+
};
|
|
488
|
+
x: {
|
|
489
|
+
type: string;
|
|
490
|
+
description: string;
|
|
491
|
+
additionalProperties: boolean;
|
|
492
|
+
};
|
|
493
|
+
consumes: {
|
|
494
|
+
type: string;
|
|
495
|
+
description: string;
|
|
496
|
+
additionalProperties: boolean;
|
|
497
|
+
};
|
|
498
|
+
consumedFingerprint: {
|
|
499
|
+
type: string;
|
|
500
|
+
description: string;
|
|
501
|
+
additionalProperties: {
|
|
502
|
+
type: string;
|
|
503
|
+
minimum: number;
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
owes: {
|
|
507
|
+
type: string;
|
|
508
|
+
items: {
|
|
509
|
+
type: string;
|
|
510
|
+
additionalProperties: boolean;
|
|
511
|
+
required: string[];
|
|
512
|
+
properties: {
|
|
513
|
+
path: {
|
|
514
|
+
type: string;
|
|
515
|
+
};
|
|
516
|
+
version: {
|
|
517
|
+
type: string;
|
|
518
|
+
minimum: number;
|
|
519
|
+
description: string;
|
|
520
|
+
};
|
|
521
|
+
judgmentRejects: {
|
|
522
|
+
type: string;
|
|
523
|
+
minimum: number;
|
|
524
|
+
};
|
|
525
|
+
schemaRejects: {
|
|
526
|
+
type: string;
|
|
527
|
+
minimum: number;
|
|
528
|
+
};
|
|
529
|
+
reasons: {
|
|
530
|
+
type: string;
|
|
531
|
+
items: {
|
|
532
|
+
type: string;
|
|
533
|
+
additionalProperties: boolean;
|
|
534
|
+
required: string[];
|
|
535
|
+
properties: {
|
|
536
|
+
at: {
|
|
537
|
+
type: string;
|
|
538
|
+
minimum: number;
|
|
539
|
+
};
|
|
540
|
+
action: {
|
|
541
|
+
type: string;
|
|
542
|
+
enum: string[];
|
|
543
|
+
};
|
|
544
|
+
kind: {
|
|
545
|
+
type: string;
|
|
546
|
+
enum: string[];
|
|
547
|
+
};
|
|
548
|
+
by: {
|
|
549
|
+
type: string;
|
|
550
|
+
};
|
|
551
|
+
text: {
|
|
552
|
+
type: string;
|
|
553
|
+
};
|
|
554
|
+
fromVersion: {
|
|
555
|
+
type: string;
|
|
556
|
+
minimum: number;
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
};
|
|
561
|
+
proof: {
|
|
562
|
+
type: string;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
consumesProof: {
|
|
568
|
+
type: string;
|
|
569
|
+
};
|
|
570
|
+
cause: {
|
|
571
|
+
type: string;
|
|
572
|
+
enum: string[];
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
/** The six bound DSSE record schemas defined by this package. */
|
|
578
|
+
export declare const RECORD_SCHEMAS: {
|
|
579
|
+
readonly "application/vnd.owenloop.enrollment-grant.v1+json": {
|
|
580
|
+
$schema: string;
|
|
581
|
+
$id: string;
|
|
582
|
+
title: string;
|
|
583
|
+
description: string;
|
|
584
|
+
type: string;
|
|
585
|
+
additionalProperties: boolean;
|
|
586
|
+
required: string[];
|
|
587
|
+
properties: {
|
|
588
|
+
newKey: {
|
|
589
|
+
type: string;
|
|
590
|
+
additionalProperties: boolean;
|
|
591
|
+
required: string[];
|
|
592
|
+
properties: {
|
|
593
|
+
keyid: {
|
|
594
|
+
type: string;
|
|
595
|
+
pattern: string;
|
|
596
|
+
};
|
|
597
|
+
keyType: {
|
|
598
|
+
type: string;
|
|
599
|
+
};
|
|
600
|
+
openSshPublicKey: {
|
|
601
|
+
type: string;
|
|
602
|
+
};
|
|
603
|
+
comment: {
|
|
604
|
+
type: string;
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
principal: {
|
|
609
|
+
type: string;
|
|
610
|
+
additionalProperties: boolean;
|
|
611
|
+
required: string[];
|
|
612
|
+
properties: {
|
|
613
|
+
kind: {
|
|
614
|
+
type: string;
|
|
615
|
+
enum: string[];
|
|
616
|
+
};
|
|
617
|
+
id: {
|
|
618
|
+
type: string;
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
scope: {
|
|
623
|
+
type: string;
|
|
624
|
+
additionalProperties: boolean;
|
|
625
|
+
required: string[];
|
|
626
|
+
properties: {
|
|
627
|
+
pools: {
|
|
628
|
+
oneOf: ({
|
|
629
|
+
const: string;
|
|
630
|
+
type?: undefined;
|
|
631
|
+
items?: undefined;
|
|
632
|
+
} | {
|
|
633
|
+
type: string;
|
|
634
|
+
items: {
|
|
635
|
+
type: string;
|
|
636
|
+
};
|
|
637
|
+
const?: undefined;
|
|
638
|
+
})[];
|
|
639
|
+
};
|
|
640
|
+
labels: {
|
|
641
|
+
oneOf: ({
|
|
642
|
+
const: string;
|
|
643
|
+
type?: undefined;
|
|
644
|
+
items?: undefined;
|
|
645
|
+
} | {
|
|
646
|
+
type: string;
|
|
647
|
+
items: {
|
|
648
|
+
type: string;
|
|
649
|
+
};
|
|
650
|
+
const?: undefined;
|
|
651
|
+
})[];
|
|
652
|
+
};
|
|
653
|
+
namespaces: {
|
|
654
|
+
oneOf: ({
|
|
655
|
+
const: string;
|
|
656
|
+
type?: undefined;
|
|
657
|
+
items?: undefined;
|
|
658
|
+
} | {
|
|
659
|
+
type: string;
|
|
660
|
+
items: {
|
|
661
|
+
type: string;
|
|
662
|
+
};
|
|
663
|
+
const?: undefined;
|
|
664
|
+
})[];
|
|
665
|
+
};
|
|
666
|
+
delegation: {
|
|
667
|
+
oneOf: ({
|
|
668
|
+
type: string;
|
|
669
|
+
additionalProperties: boolean;
|
|
670
|
+
required: string[];
|
|
671
|
+
properties: {
|
|
672
|
+
allowed: {
|
|
673
|
+
const: boolean;
|
|
674
|
+
};
|
|
675
|
+
maxDepth?: undefined;
|
|
676
|
+
};
|
|
677
|
+
} | {
|
|
678
|
+
type: string;
|
|
679
|
+
additionalProperties: boolean;
|
|
680
|
+
required: string[];
|
|
681
|
+
properties: {
|
|
682
|
+
allowed: {
|
|
683
|
+
const: boolean;
|
|
684
|
+
};
|
|
685
|
+
maxDepth: {
|
|
686
|
+
oneOf: ({
|
|
687
|
+
type: string;
|
|
688
|
+
minimum: number;
|
|
689
|
+
const?: undefined;
|
|
690
|
+
} | {
|
|
691
|
+
const: string;
|
|
692
|
+
type?: undefined;
|
|
693
|
+
minimum?: undefined;
|
|
694
|
+
})[];
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
})[];
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
};
|
|
701
|
+
grantedBy: {
|
|
702
|
+
type: string;
|
|
703
|
+
pattern: string;
|
|
704
|
+
};
|
|
705
|
+
validFrom: {
|
|
706
|
+
type: string;
|
|
707
|
+
minimum: number;
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
readonly "application/vnd.owenloop.revocation.v1+json": {
|
|
712
|
+
$schema: string;
|
|
713
|
+
$id: string;
|
|
714
|
+
title: string;
|
|
715
|
+
description: string;
|
|
716
|
+
type: string;
|
|
717
|
+
additionalProperties: boolean;
|
|
718
|
+
required: string[];
|
|
719
|
+
properties: {
|
|
720
|
+
revokedKey: {
|
|
721
|
+
type: string;
|
|
722
|
+
pattern: string;
|
|
723
|
+
};
|
|
724
|
+
principal: {
|
|
725
|
+
type: string;
|
|
726
|
+
additionalProperties: boolean;
|
|
727
|
+
required: string[];
|
|
728
|
+
properties: {
|
|
729
|
+
kind: {
|
|
730
|
+
type: string;
|
|
731
|
+
enum: string[];
|
|
732
|
+
};
|
|
733
|
+
id: {
|
|
734
|
+
type: string;
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
revokedBy: {
|
|
739
|
+
type: string;
|
|
740
|
+
pattern: string;
|
|
741
|
+
};
|
|
742
|
+
issuedAt: {
|
|
743
|
+
type: string;
|
|
744
|
+
minimum: number;
|
|
745
|
+
};
|
|
746
|
+
effectiveFrom: {
|
|
747
|
+
type: string;
|
|
748
|
+
minimum: number;
|
|
749
|
+
};
|
|
750
|
+
backdated: {
|
|
751
|
+
type: string;
|
|
752
|
+
};
|
|
753
|
+
reason: {
|
|
754
|
+
type: string;
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
readonly "application/vnd.owenloop.submission.v1+json": {
|
|
759
|
+
$schema: string;
|
|
760
|
+
$id: string;
|
|
761
|
+
title: string;
|
|
762
|
+
description: string;
|
|
763
|
+
type: string;
|
|
764
|
+
additionalProperties: boolean;
|
|
765
|
+
required: string[];
|
|
766
|
+
properties: {
|
|
767
|
+
run: {
|
|
768
|
+
type: string;
|
|
769
|
+
};
|
|
770
|
+
workflow: {
|
|
771
|
+
type: string;
|
|
772
|
+
};
|
|
773
|
+
defDigest: {
|
|
774
|
+
type: string;
|
|
775
|
+
minLength: number;
|
|
776
|
+
description: string;
|
|
777
|
+
};
|
|
778
|
+
step: {
|
|
779
|
+
type: string;
|
|
780
|
+
};
|
|
781
|
+
key: {
|
|
782
|
+
type: string;
|
|
783
|
+
};
|
|
784
|
+
index: {
|
|
785
|
+
type: string;
|
|
786
|
+
minimum: number;
|
|
787
|
+
};
|
|
788
|
+
produced: {
|
|
789
|
+
type: string;
|
|
790
|
+
minItems: number;
|
|
791
|
+
items: {
|
|
792
|
+
type: string;
|
|
793
|
+
additionalProperties: boolean;
|
|
794
|
+
required: string[];
|
|
795
|
+
properties: {
|
|
796
|
+
artifact: {
|
|
797
|
+
type: string;
|
|
798
|
+
};
|
|
799
|
+
version: {
|
|
800
|
+
type: string;
|
|
801
|
+
minimum: number;
|
|
802
|
+
};
|
|
803
|
+
valueDigest: {
|
|
804
|
+
type: string;
|
|
805
|
+
pattern: string;
|
|
806
|
+
};
|
|
807
|
+
};
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
consumedFingerprint: {
|
|
811
|
+
type: string;
|
|
812
|
+
description: string;
|
|
813
|
+
additionalProperties: {
|
|
814
|
+
type: string;
|
|
815
|
+
minimum: number;
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
producerKeyId: {
|
|
819
|
+
type: string;
|
|
820
|
+
pattern: string;
|
|
821
|
+
};
|
|
822
|
+
timestamp: {
|
|
823
|
+
type: string;
|
|
824
|
+
minimum: number;
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
readonly "application/vnd.owenloop.policy-floor.v1+json": {
|
|
829
|
+
$schema: string;
|
|
830
|
+
$id: string;
|
|
831
|
+
title: string;
|
|
832
|
+
description: string;
|
|
833
|
+
type: string;
|
|
834
|
+
additionalProperties: boolean;
|
|
835
|
+
required: string[];
|
|
836
|
+
properties: {
|
|
837
|
+
org: {
|
|
838
|
+
type: string;
|
|
839
|
+
};
|
|
840
|
+
issuedAt: {
|
|
841
|
+
type: string;
|
|
842
|
+
minimum: number;
|
|
843
|
+
};
|
|
844
|
+
signedBy: {
|
|
845
|
+
type: string;
|
|
846
|
+
pattern: string;
|
|
847
|
+
};
|
|
848
|
+
floor: {
|
|
849
|
+
type: string;
|
|
850
|
+
additionalProperties: boolean;
|
|
851
|
+
required: string[];
|
|
852
|
+
properties: {
|
|
853
|
+
trustMode: {
|
|
854
|
+
type: string;
|
|
855
|
+
enum: string[];
|
|
856
|
+
};
|
|
857
|
+
unsignedDefs: {
|
|
858
|
+
type: string;
|
|
859
|
+
enum: string[];
|
|
860
|
+
};
|
|
861
|
+
unsignedArtifacts: {
|
|
862
|
+
type: string;
|
|
863
|
+
enum: string[];
|
|
864
|
+
};
|
|
865
|
+
originRules: {
|
|
866
|
+
type: string;
|
|
867
|
+
enum: string[];
|
|
868
|
+
};
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
preset: {
|
|
872
|
+
type: string;
|
|
873
|
+
enum: string[];
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
};
|
|
877
|
+
readonly "application/vnd.owenloop.origin.v1+json": {
|
|
878
|
+
$schema: string;
|
|
879
|
+
$id: string;
|
|
880
|
+
title: string;
|
|
881
|
+
description: string;
|
|
882
|
+
type: string;
|
|
883
|
+
additionalProperties: boolean;
|
|
884
|
+
required: string[];
|
|
885
|
+
properties: {
|
|
886
|
+
digest: {
|
|
887
|
+
type: string;
|
|
888
|
+
pattern: string;
|
|
889
|
+
};
|
|
890
|
+
name: {
|
|
891
|
+
type: string;
|
|
892
|
+
minLength: number;
|
|
893
|
+
};
|
|
894
|
+
version: {
|
|
895
|
+
type: string;
|
|
896
|
+
minLength: number;
|
|
897
|
+
};
|
|
898
|
+
source: {
|
|
899
|
+
$comment: string;
|
|
900
|
+
oneOf: ({
|
|
901
|
+
type: string;
|
|
902
|
+
additionalProperties: boolean;
|
|
903
|
+
required: string[];
|
|
904
|
+
properties: {
|
|
905
|
+
kind: {
|
|
906
|
+
const: string;
|
|
907
|
+
};
|
|
908
|
+
repo: {
|
|
909
|
+
type: string;
|
|
910
|
+
};
|
|
911
|
+
commit: {
|
|
912
|
+
type: string;
|
|
913
|
+
pattern: string;
|
|
914
|
+
};
|
|
915
|
+
user?: undefined;
|
|
916
|
+
agent?: undefined;
|
|
917
|
+
session?: undefined;
|
|
918
|
+
};
|
|
919
|
+
} | {
|
|
920
|
+
type: string;
|
|
921
|
+
additionalProperties: boolean;
|
|
922
|
+
required: string[];
|
|
923
|
+
properties: {
|
|
924
|
+
kind: {
|
|
925
|
+
const: string;
|
|
926
|
+
};
|
|
927
|
+
user: {
|
|
928
|
+
type: string;
|
|
929
|
+
};
|
|
930
|
+
repo?: undefined;
|
|
931
|
+
commit?: undefined;
|
|
932
|
+
agent?: undefined;
|
|
933
|
+
session?: undefined;
|
|
934
|
+
};
|
|
935
|
+
} | {
|
|
936
|
+
type: string;
|
|
937
|
+
additionalProperties: boolean;
|
|
938
|
+
required: string[];
|
|
939
|
+
properties: {
|
|
940
|
+
kind: {
|
|
941
|
+
const: string;
|
|
942
|
+
};
|
|
943
|
+
agent: {
|
|
944
|
+
type: string;
|
|
945
|
+
};
|
|
946
|
+
session: {
|
|
947
|
+
type: string;
|
|
948
|
+
};
|
|
949
|
+
repo?: undefined;
|
|
950
|
+
commit?: undefined;
|
|
951
|
+
user?: undefined;
|
|
952
|
+
};
|
|
953
|
+
})[];
|
|
954
|
+
};
|
|
955
|
+
attesterKeyId: {
|
|
956
|
+
type: string;
|
|
957
|
+
pattern: string;
|
|
958
|
+
};
|
|
959
|
+
timestamp: {
|
|
960
|
+
type: string;
|
|
961
|
+
minimum: number;
|
|
962
|
+
};
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
readonly "application/vnd.owenloop.publication.v1+json": {
|
|
966
|
+
$schema: string;
|
|
967
|
+
$id: string;
|
|
968
|
+
title: string;
|
|
969
|
+
description: string;
|
|
970
|
+
type: string;
|
|
971
|
+
additionalProperties: boolean;
|
|
972
|
+
required: string[];
|
|
973
|
+
properties: {
|
|
974
|
+
digest: {
|
|
975
|
+
type: string;
|
|
976
|
+
pattern: string;
|
|
977
|
+
};
|
|
978
|
+
name: {
|
|
979
|
+
type: string;
|
|
980
|
+
minLength: number;
|
|
981
|
+
};
|
|
982
|
+
version: {
|
|
983
|
+
type: string;
|
|
984
|
+
minLength: number;
|
|
985
|
+
};
|
|
986
|
+
publisherKeyId: {
|
|
987
|
+
type: string;
|
|
988
|
+
pattern: string;
|
|
989
|
+
};
|
|
990
|
+
timestamp: {
|
|
991
|
+
type: string;
|
|
992
|
+
minimum: number;
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
/** Alias for the bound schemas indexed by their DSSE payload type. */
|
|
998
|
+
export declare const SCHEMA_BY_PAYLOAD_TYPE: {
|
|
999
|
+
readonly "application/vnd.owenloop.enrollment-grant.v1+json": {
|
|
1000
|
+
$schema: string;
|
|
1001
|
+
$id: string;
|
|
1002
|
+
title: string;
|
|
1003
|
+
description: string;
|
|
1004
|
+
type: string;
|
|
1005
|
+
additionalProperties: boolean;
|
|
1006
|
+
required: string[];
|
|
1007
|
+
properties: {
|
|
1008
|
+
newKey: {
|
|
1009
|
+
type: string;
|
|
1010
|
+
additionalProperties: boolean;
|
|
1011
|
+
required: string[];
|
|
1012
|
+
properties: {
|
|
1013
|
+
keyid: {
|
|
1014
|
+
type: string;
|
|
1015
|
+
pattern: string;
|
|
1016
|
+
};
|
|
1017
|
+
keyType: {
|
|
1018
|
+
type: string;
|
|
1019
|
+
};
|
|
1020
|
+
openSshPublicKey: {
|
|
1021
|
+
type: string;
|
|
1022
|
+
};
|
|
1023
|
+
comment: {
|
|
1024
|
+
type: string;
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
principal: {
|
|
1029
|
+
type: string;
|
|
1030
|
+
additionalProperties: boolean;
|
|
1031
|
+
required: string[];
|
|
1032
|
+
properties: {
|
|
1033
|
+
kind: {
|
|
1034
|
+
type: string;
|
|
1035
|
+
enum: string[];
|
|
1036
|
+
};
|
|
1037
|
+
id: {
|
|
1038
|
+
type: string;
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
};
|
|
1042
|
+
scope: {
|
|
1043
|
+
type: string;
|
|
1044
|
+
additionalProperties: boolean;
|
|
1045
|
+
required: string[];
|
|
1046
|
+
properties: {
|
|
1047
|
+
pools: {
|
|
1048
|
+
oneOf: ({
|
|
1049
|
+
const: string;
|
|
1050
|
+
type?: undefined;
|
|
1051
|
+
items?: undefined;
|
|
1052
|
+
} | {
|
|
1053
|
+
type: string;
|
|
1054
|
+
items: {
|
|
1055
|
+
type: string;
|
|
1056
|
+
};
|
|
1057
|
+
const?: undefined;
|
|
1058
|
+
})[];
|
|
1059
|
+
};
|
|
1060
|
+
labels: {
|
|
1061
|
+
oneOf: ({
|
|
1062
|
+
const: string;
|
|
1063
|
+
type?: undefined;
|
|
1064
|
+
items?: undefined;
|
|
1065
|
+
} | {
|
|
1066
|
+
type: string;
|
|
1067
|
+
items: {
|
|
1068
|
+
type: string;
|
|
1069
|
+
};
|
|
1070
|
+
const?: undefined;
|
|
1071
|
+
})[];
|
|
1072
|
+
};
|
|
1073
|
+
namespaces: {
|
|
1074
|
+
oneOf: ({
|
|
1075
|
+
const: string;
|
|
1076
|
+
type?: undefined;
|
|
1077
|
+
items?: undefined;
|
|
1078
|
+
} | {
|
|
1079
|
+
type: string;
|
|
1080
|
+
items: {
|
|
1081
|
+
type: string;
|
|
1082
|
+
};
|
|
1083
|
+
const?: undefined;
|
|
1084
|
+
})[];
|
|
1085
|
+
};
|
|
1086
|
+
delegation: {
|
|
1087
|
+
oneOf: ({
|
|
1088
|
+
type: string;
|
|
1089
|
+
additionalProperties: boolean;
|
|
1090
|
+
required: string[];
|
|
1091
|
+
properties: {
|
|
1092
|
+
allowed: {
|
|
1093
|
+
const: boolean;
|
|
1094
|
+
};
|
|
1095
|
+
maxDepth?: undefined;
|
|
1096
|
+
};
|
|
1097
|
+
} | {
|
|
1098
|
+
type: string;
|
|
1099
|
+
additionalProperties: boolean;
|
|
1100
|
+
required: string[];
|
|
1101
|
+
properties: {
|
|
1102
|
+
allowed: {
|
|
1103
|
+
const: boolean;
|
|
1104
|
+
};
|
|
1105
|
+
maxDepth: {
|
|
1106
|
+
oneOf: ({
|
|
1107
|
+
type: string;
|
|
1108
|
+
minimum: number;
|
|
1109
|
+
const?: undefined;
|
|
1110
|
+
} | {
|
|
1111
|
+
const: string;
|
|
1112
|
+
type?: undefined;
|
|
1113
|
+
minimum?: undefined;
|
|
1114
|
+
})[];
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
})[];
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
};
|
|
1121
|
+
grantedBy: {
|
|
1122
|
+
type: string;
|
|
1123
|
+
pattern: string;
|
|
1124
|
+
};
|
|
1125
|
+
validFrom: {
|
|
1126
|
+
type: string;
|
|
1127
|
+
minimum: number;
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
readonly "application/vnd.owenloop.revocation.v1+json": {
|
|
1132
|
+
$schema: string;
|
|
1133
|
+
$id: string;
|
|
1134
|
+
title: string;
|
|
1135
|
+
description: string;
|
|
1136
|
+
type: string;
|
|
1137
|
+
additionalProperties: boolean;
|
|
1138
|
+
required: string[];
|
|
1139
|
+
properties: {
|
|
1140
|
+
revokedKey: {
|
|
1141
|
+
type: string;
|
|
1142
|
+
pattern: string;
|
|
1143
|
+
};
|
|
1144
|
+
principal: {
|
|
1145
|
+
type: string;
|
|
1146
|
+
additionalProperties: boolean;
|
|
1147
|
+
required: string[];
|
|
1148
|
+
properties: {
|
|
1149
|
+
kind: {
|
|
1150
|
+
type: string;
|
|
1151
|
+
enum: string[];
|
|
1152
|
+
};
|
|
1153
|
+
id: {
|
|
1154
|
+
type: string;
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
revokedBy: {
|
|
1159
|
+
type: string;
|
|
1160
|
+
pattern: string;
|
|
1161
|
+
};
|
|
1162
|
+
issuedAt: {
|
|
1163
|
+
type: string;
|
|
1164
|
+
minimum: number;
|
|
1165
|
+
};
|
|
1166
|
+
effectiveFrom: {
|
|
1167
|
+
type: string;
|
|
1168
|
+
minimum: number;
|
|
1169
|
+
};
|
|
1170
|
+
backdated: {
|
|
1171
|
+
type: string;
|
|
1172
|
+
};
|
|
1173
|
+
reason: {
|
|
1174
|
+
type: string;
|
|
1175
|
+
};
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
readonly "application/vnd.owenloop.submission.v1+json": {
|
|
1179
|
+
$schema: string;
|
|
1180
|
+
$id: string;
|
|
1181
|
+
title: string;
|
|
1182
|
+
description: string;
|
|
1183
|
+
type: string;
|
|
1184
|
+
additionalProperties: boolean;
|
|
1185
|
+
required: string[];
|
|
1186
|
+
properties: {
|
|
1187
|
+
run: {
|
|
1188
|
+
type: string;
|
|
1189
|
+
};
|
|
1190
|
+
workflow: {
|
|
1191
|
+
type: string;
|
|
1192
|
+
};
|
|
1193
|
+
defDigest: {
|
|
1194
|
+
type: string;
|
|
1195
|
+
minLength: number;
|
|
1196
|
+
description: string;
|
|
1197
|
+
};
|
|
1198
|
+
step: {
|
|
1199
|
+
type: string;
|
|
1200
|
+
};
|
|
1201
|
+
key: {
|
|
1202
|
+
type: string;
|
|
1203
|
+
};
|
|
1204
|
+
index: {
|
|
1205
|
+
type: string;
|
|
1206
|
+
minimum: number;
|
|
1207
|
+
};
|
|
1208
|
+
produced: {
|
|
1209
|
+
type: string;
|
|
1210
|
+
minItems: number;
|
|
1211
|
+
items: {
|
|
1212
|
+
type: string;
|
|
1213
|
+
additionalProperties: boolean;
|
|
1214
|
+
required: string[];
|
|
1215
|
+
properties: {
|
|
1216
|
+
artifact: {
|
|
1217
|
+
type: string;
|
|
1218
|
+
};
|
|
1219
|
+
version: {
|
|
1220
|
+
type: string;
|
|
1221
|
+
minimum: number;
|
|
1222
|
+
};
|
|
1223
|
+
valueDigest: {
|
|
1224
|
+
type: string;
|
|
1225
|
+
pattern: string;
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
consumedFingerprint: {
|
|
1231
|
+
type: string;
|
|
1232
|
+
description: string;
|
|
1233
|
+
additionalProperties: {
|
|
1234
|
+
type: string;
|
|
1235
|
+
minimum: number;
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
producerKeyId: {
|
|
1239
|
+
type: string;
|
|
1240
|
+
pattern: string;
|
|
1241
|
+
};
|
|
1242
|
+
timestamp: {
|
|
1243
|
+
type: string;
|
|
1244
|
+
minimum: number;
|
|
1245
|
+
};
|
|
1246
|
+
};
|
|
1247
|
+
};
|
|
1248
|
+
readonly "application/vnd.owenloop.policy-floor.v1+json": {
|
|
1249
|
+
$schema: string;
|
|
1250
|
+
$id: string;
|
|
1251
|
+
title: string;
|
|
1252
|
+
description: string;
|
|
1253
|
+
type: string;
|
|
1254
|
+
additionalProperties: boolean;
|
|
1255
|
+
required: string[];
|
|
1256
|
+
properties: {
|
|
1257
|
+
org: {
|
|
1258
|
+
type: string;
|
|
1259
|
+
};
|
|
1260
|
+
issuedAt: {
|
|
1261
|
+
type: string;
|
|
1262
|
+
minimum: number;
|
|
1263
|
+
};
|
|
1264
|
+
signedBy: {
|
|
1265
|
+
type: string;
|
|
1266
|
+
pattern: string;
|
|
1267
|
+
};
|
|
1268
|
+
floor: {
|
|
1269
|
+
type: string;
|
|
1270
|
+
additionalProperties: boolean;
|
|
1271
|
+
required: string[];
|
|
1272
|
+
properties: {
|
|
1273
|
+
trustMode: {
|
|
1274
|
+
type: string;
|
|
1275
|
+
enum: string[];
|
|
1276
|
+
};
|
|
1277
|
+
unsignedDefs: {
|
|
1278
|
+
type: string;
|
|
1279
|
+
enum: string[];
|
|
1280
|
+
};
|
|
1281
|
+
unsignedArtifacts: {
|
|
1282
|
+
type: string;
|
|
1283
|
+
enum: string[];
|
|
1284
|
+
};
|
|
1285
|
+
originRules: {
|
|
1286
|
+
type: string;
|
|
1287
|
+
enum: string[];
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1291
|
+
preset: {
|
|
1292
|
+
type: string;
|
|
1293
|
+
enum: string[];
|
|
1294
|
+
};
|
|
1295
|
+
};
|
|
1296
|
+
};
|
|
1297
|
+
readonly "application/vnd.owenloop.origin.v1+json": {
|
|
1298
|
+
$schema: string;
|
|
1299
|
+
$id: string;
|
|
1300
|
+
title: string;
|
|
1301
|
+
description: string;
|
|
1302
|
+
type: string;
|
|
1303
|
+
additionalProperties: boolean;
|
|
1304
|
+
required: string[];
|
|
1305
|
+
properties: {
|
|
1306
|
+
digest: {
|
|
1307
|
+
type: string;
|
|
1308
|
+
pattern: string;
|
|
1309
|
+
};
|
|
1310
|
+
name: {
|
|
1311
|
+
type: string;
|
|
1312
|
+
minLength: number;
|
|
1313
|
+
};
|
|
1314
|
+
version: {
|
|
1315
|
+
type: string;
|
|
1316
|
+
minLength: number;
|
|
1317
|
+
};
|
|
1318
|
+
source: {
|
|
1319
|
+
$comment: string;
|
|
1320
|
+
oneOf: ({
|
|
1321
|
+
type: string;
|
|
1322
|
+
additionalProperties: boolean;
|
|
1323
|
+
required: string[];
|
|
1324
|
+
properties: {
|
|
1325
|
+
kind: {
|
|
1326
|
+
const: string;
|
|
1327
|
+
};
|
|
1328
|
+
repo: {
|
|
1329
|
+
type: string;
|
|
1330
|
+
};
|
|
1331
|
+
commit: {
|
|
1332
|
+
type: string;
|
|
1333
|
+
pattern: string;
|
|
1334
|
+
};
|
|
1335
|
+
user?: undefined;
|
|
1336
|
+
agent?: undefined;
|
|
1337
|
+
session?: undefined;
|
|
1338
|
+
};
|
|
1339
|
+
} | {
|
|
1340
|
+
type: string;
|
|
1341
|
+
additionalProperties: boolean;
|
|
1342
|
+
required: string[];
|
|
1343
|
+
properties: {
|
|
1344
|
+
kind: {
|
|
1345
|
+
const: string;
|
|
1346
|
+
};
|
|
1347
|
+
user: {
|
|
1348
|
+
type: string;
|
|
1349
|
+
};
|
|
1350
|
+
repo?: undefined;
|
|
1351
|
+
commit?: undefined;
|
|
1352
|
+
agent?: undefined;
|
|
1353
|
+
session?: undefined;
|
|
1354
|
+
};
|
|
1355
|
+
} | {
|
|
1356
|
+
type: string;
|
|
1357
|
+
additionalProperties: boolean;
|
|
1358
|
+
required: string[];
|
|
1359
|
+
properties: {
|
|
1360
|
+
kind: {
|
|
1361
|
+
const: string;
|
|
1362
|
+
};
|
|
1363
|
+
agent: {
|
|
1364
|
+
type: string;
|
|
1365
|
+
};
|
|
1366
|
+
session: {
|
|
1367
|
+
type: string;
|
|
1368
|
+
};
|
|
1369
|
+
repo?: undefined;
|
|
1370
|
+
commit?: undefined;
|
|
1371
|
+
user?: undefined;
|
|
1372
|
+
};
|
|
1373
|
+
})[];
|
|
1374
|
+
};
|
|
1375
|
+
attesterKeyId: {
|
|
1376
|
+
type: string;
|
|
1377
|
+
pattern: string;
|
|
1378
|
+
};
|
|
1379
|
+
timestamp: {
|
|
1380
|
+
type: string;
|
|
1381
|
+
minimum: number;
|
|
1382
|
+
};
|
|
1383
|
+
};
|
|
1384
|
+
};
|
|
1385
|
+
readonly "application/vnd.owenloop.publication.v1+json": {
|
|
1386
|
+
$schema: string;
|
|
1387
|
+
$id: string;
|
|
1388
|
+
title: string;
|
|
1389
|
+
description: string;
|
|
1390
|
+
type: string;
|
|
1391
|
+
additionalProperties: boolean;
|
|
1392
|
+
required: string[];
|
|
1393
|
+
properties: {
|
|
1394
|
+
digest: {
|
|
1395
|
+
type: string;
|
|
1396
|
+
pattern: string;
|
|
1397
|
+
};
|
|
1398
|
+
name: {
|
|
1399
|
+
type: string;
|
|
1400
|
+
minLength: number;
|
|
1401
|
+
};
|
|
1402
|
+
version: {
|
|
1403
|
+
type: string;
|
|
1404
|
+
minLength: number;
|
|
1405
|
+
};
|
|
1406
|
+
publisherKeyId: {
|
|
1407
|
+
type: string;
|
|
1408
|
+
pattern: string;
|
|
1409
|
+
};
|
|
1410
|
+
timestamp: {
|
|
1411
|
+
type: string;
|
|
1412
|
+
minimum: number;
|
|
1413
|
+
};
|
|
1414
|
+
};
|
|
1415
|
+
};
|
|
1416
|
+
};
|