@cat-factory/contracts 0.301.0 → 0.303.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build-ladder.d.ts +36 -0
- package/dist/build-ladder.d.ts.map +1 -1
- package/dist/build-ladder.js +34 -0
- package/dist/build-ladder.js.map +1 -1
- package/dist/entities.d.ts +21 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +21 -0
- package/dist/entities.js.map +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +12 -0
- package/dist/errors.js.map +1 -1
- package/dist/execution.d.ts +40 -6
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +20 -3
- package/dist/execution.js.map +1 -1
- package/dist/merge.d.ts +834 -22
- package/dist/merge.d.ts.map +1 -1
- package/dist/merge.js +94 -21
- package/dist/merge.js.map +1 -1
- package/dist/public-api.d.ts +65 -2
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +57 -3
- package/dist/public-api.js.map +1 -1
- package/dist/requests.d.ts +13 -0
- package/dist/requests.d.ts.map +1 -1
- package/dist/requests.js +13 -0
- package/dist/requests.js.map +1 -1
- package/dist/requirements.d.ts +99 -0
- package/dist/requirements.d.ts.map +1 -1
- package/dist/requirements.js +94 -0
- package/dist/requirements.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +2 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/bug-hunt.d.ts +2 -0
- package/dist/routes/bug-hunt.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +9 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +1 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +5 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/merge.d.ts +799 -0
- package/dist/routes/merge.d.ts.map +1 -1
- package/dist/routes/merge.js +67 -8
- package/dist/routes/merge.js.map +1 -1
- package/dist/routes/pipelines.d.ts +14 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/public-api.d.ts +3 -0
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/requirements.d.ts +12 -0
- package/dist/routes/requirements.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +3 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +10 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/run-provenance.d.ts +22 -3
- package/dist/run-provenance.d.ts.map +1 -1
- package/dist/run-provenance.js +23 -4
- package/dist/run-provenance.js.map +1 -1
- package/dist/snapshot.d.ts +12 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/snapshot.js +9 -4
- package/dist/snapshot.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/routes/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/routes/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqB5B;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMrC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKpC,CAAA;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI7C,CAAA"}
|
package/dist/routes/merge.js
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
|
-
import { createRiskPolicySchema,
|
|
3
|
+
import { cloneRiskPolicySchema, createRiskPolicySchema, riskPolicyLibraryEntrySchema, riskPolicySuppressionSchema, updateRiskPolicySchema, } from '../merge.js';
|
|
4
4
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
5
|
// ---------------------------------------------------------------------------
|
|
6
|
-
//
|
|
7
|
-
// so the paths here are relative to
|
|
8
|
-
//
|
|
6
|
+
// Risk policy route contracts. The CRUD four are mounted under BOTH
|
|
7
|
+
// `/workspaces/:workspaceId` and `/accounts/:accountId`, so the paths here are relative to
|
|
8
|
+
// whichever prefix the controller was mounted at and one contract serves both tiers. The
|
|
9
|
+
// inheritance routes below (clone, suppression) are workspace-only: an account has no tier above
|
|
10
|
+
// it to inherit from. See RiskPolicyController in @cat-factory/server.
|
|
9
11
|
// ---------------------------------------------------------------------------
|
|
10
|
-
const riskPolicyListSchema = v.array(
|
|
12
|
+
const riskPolicyListSchema = v.array(riskPolicyLibraryEntrySchema);
|
|
11
13
|
const presetIdParams = singleStringParam('presetId');
|
|
14
|
+
/**
|
|
15
|
+
* The board's visible library: its own policies plus the account policies it inherits, each
|
|
16
|
+
* tagged with the tier that owns it. At the ACCOUNT mount it is that account's own rows, which
|
|
17
|
+
* carry `tier: 'account'` for the same reason — a single response shape means the editor renders
|
|
18
|
+
* one list at either scope and reads editability off the tier rather than off which URL it called.
|
|
19
|
+
*/
|
|
12
20
|
export const listRiskPoliciesContract = defineApiContract({
|
|
13
21
|
method: 'get',
|
|
14
22
|
pathResolver: () => '/risk-policies',
|
|
@@ -18,14 +26,14 @@ export const createRiskPolicyContract = defineApiContract({
|
|
|
18
26
|
method: 'post',
|
|
19
27
|
pathResolver: () => '/risk-policies',
|
|
20
28
|
requestBodySchema: createRiskPolicySchema,
|
|
21
|
-
responsesByStatusCode: { 201:
|
|
29
|
+
responsesByStatusCode: { 201: riskPolicyLibraryEntrySchema, ...errorResponses },
|
|
22
30
|
});
|
|
23
31
|
export const updateRiskPolicyContract = defineApiContract({
|
|
24
32
|
method: 'patch',
|
|
25
33
|
requestPathParamsSchema: presetIdParams,
|
|
26
34
|
pathResolver: ({ presetId }) => `/risk-policies/${presetId}`,
|
|
27
35
|
requestBodySchema: updateRiskPolicySchema,
|
|
28
|
-
responsesByStatusCode: { 200:
|
|
36
|
+
responsesByStatusCode: { 200: riskPolicyLibraryEntrySchema, ...errorResponses },
|
|
29
37
|
});
|
|
30
38
|
export const deleteRiskPolicyContract = defineApiContract({
|
|
31
39
|
method: 'delete',
|
|
@@ -44,6 +52,57 @@ export const reseedRiskPolicyContract = defineApiContract({
|
|
|
44
52
|
requestPathParamsSchema: presetIdParams,
|
|
45
53
|
pathResolver: ({ presetId }) => `/risk-policies/${presetId}/reseed`,
|
|
46
54
|
requestBodySchema: ContractNoBody,
|
|
47
|
-
responsesByStatusCode: { 200:
|
|
55
|
+
responsesByStatusCode: { 200: riskPolicyLibraryEntrySchema, ...errorResponses },
|
|
56
|
+
});
|
|
57
|
+
// ---- inheritance (workspace mount only) -----------------------------------
|
|
58
|
+
/**
|
|
59
|
+
* Copy an inherited ACCOUNT policy into this board's own tier, under a fresh id, so the board can
|
|
60
|
+
* edit its numbers without an account admin (see {@link cloneRiskPolicySchema}).
|
|
61
|
+
*
|
|
62
|
+
* A POST creating a new row, so `201` — this is not an in-place conversion of the account policy,
|
|
63
|
+
* which stays exactly where it was and keeps governing every other board.
|
|
64
|
+
*/
|
|
65
|
+
export const cloneRiskPolicyContract = defineApiContract({
|
|
66
|
+
method: 'post',
|
|
67
|
+
requestPathParamsSchema: presetIdParams,
|
|
68
|
+
pathResolver: ({ presetId }) => `/risk-policies/${presetId}/clone`,
|
|
69
|
+
requestBodySchema: cloneRiskPolicySchema,
|
|
70
|
+
responsesByStatusCode: { 201: riskPolicyLibraryEntrySchema, ...errorResponses },
|
|
71
|
+
});
|
|
72
|
+
/**
|
|
73
|
+
* The SUPPRESSION sub-resource: opting a board out of an account policy it inherits, and back in.
|
|
74
|
+
*
|
|
75
|
+
* Its own sub-resource rather than a flag on the policy, because a suppression is a fact a board
|
|
76
|
+
* asserts about a row it does not own — there is no policy of its own to patch. And it is
|
|
77
|
+
* deliberately NOT `DELETE /risk-policies/:id`: that deletes the board's OWN policy, where this
|
|
78
|
+
* destroys nothing and is reversible, which is exactly why the two cannot share a verb.
|
|
79
|
+
*/
|
|
80
|
+
export const suppressRiskPolicyContract = defineApiContract({
|
|
81
|
+
method: 'post',
|
|
82
|
+
requestPathParamsSchema: presetIdParams,
|
|
83
|
+
pathResolver: ({ presetId }) => `/risk-policies/${presetId}/suppression`,
|
|
84
|
+
requestBodySchema: ContractNoBody,
|
|
85
|
+
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
86
|
+
});
|
|
87
|
+
export const restoreRiskPolicyContract = defineApiContract({
|
|
88
|
+
method: 'delete',
|
|
89
|
+
requestPathParamsSchema: presetIdParams,
|
|
90
|
+
pathResolver: ({ presetId }) => `/risk-policies/${presetId}/suppression`,
|
|
91
|
+
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
92
|
+
});
|
|
93
|
+
/**
|
|
94
|
+
* What this board is currently hiding. The merged library cannot answer it — a hidden id is
|
|
95
|
+
* precisely one that list no longer carries — so a surface offering suppression would otherwise
|
|
96
|
+
* offer no way back.
|
|
97
|
+
*
|
|
98
|
+
* A SIBLING top-level resource rather than a literal `/risk-policies/suppressions` segment, for
|
|
99
|
+
* the reason the foundational-service list is: a literal segment sharing a namespace with
|
|
100
|
+
* `:presetId` is a collision waiting for the first single-segment by-id route, and nothing stops a
|
|
101
|
+
* policy id from being the word `suppressions`.
|
|
102
|
+
*/
|
|
103
|
+
export const listRiskPolicySuppressionsContract = defineApiContract({
|
|
104
|
+
method: 'get',
|
|
105
|
+
pathResolver: () => '/risk-policy-suppressions',
|
|
106
|
+
responsesByStatusCode: { 200: v.array(riskPolicySuppressionSchema), ...errorResponses },
|
|
48
107
|
});
|
|
49
108
|
//# sourceMappingURL=merge.js.map
|
package/dist/routes/merge.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/routes/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,
|
|
1
|
+
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/routes/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAi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cAAc,EAAE;CAClE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACzD,MAAM,EAAE,QAAQ;IAChB,uBAAuB,EAAE,cAAc;IACvC,YAAY,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,kBAAkB,QAAQ,cAAc;IACxE,qBAAqB,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CAClE,CAAC,CAAA;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,iBAAiB,CAAC;IAClE,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,2BAA2B;IAC/C,qBAAqB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,EAAE,GAAG,cAAc,EAAE;CACxF,CAAC,CAAA"}
|
|
@@ -114,6 +114,8 @@ export declare const listPipelinesContract: {
|
|
|
114
114
|
readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
|
|
115
115
|
readonly purpose: v.PicklistSchema<readonly ["build", "document", "review", "research", "planning"], undefined>;
|
|
116
116
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
117
|
+
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
118
|
+
readonly isUnattendedDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
117
119
|
}, undefined>, undefined>;
|
|
118
120
|
};
|
|
119
121
|
};
|
|
@@ -314,6 +316,8 @@ export declare const createPipelineContract: {
|
|
|
314
316
|
readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
|
|
315
317
|
readonly purpose: v.PicklistSchema<readonly ["build", "document", "review", "research", "planning"], undefined>;
|
|
316
318
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
319
|
+
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
320
|
+
readonly isUnattendedDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
317
321
|
}, undefined>;
|
|
318
322
|
};
|
|
319
323
|
};
|
|
@@ -439,6 +443,8 @@ export declare const clonePipelineContract: {
|
|
|
439
443
|
readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
|
|
440
444
|
readonly purpose: v.PicklistSchema<readonly ["build", "document", "review", "research", "planning"], undefined>;
|
|
441
445
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
446
|
+
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
447
|
+
readonly isUnattendedDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
442
448
|
}, undefined>;
|
|
443
449
|
};
|
|
444
450
|
};
|
|
@@ -562,6 +568,8 @@ export declare const reseedPipelineContract: {
|
|
|
562
568
|
readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
|
|
563
569
|
readonly purpose: v.PicklistSchema<readonly ["build", "document", "review", "research", "planning"], undefined>;
|
|
564
570
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
571
|
+
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
572
|
+
readonly isUnattendedDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
565
573
|
}, undefined>;
|
|
566
574
|
};
|
|
567
575
|
};
|
|
@@ -767,6 +775,8 @@ export declare const updatePipelineContract: {
|
|
|
767
775
|
readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
|
|
768
776
|
readonly purpose: v.PicklistSchema<readonly ["build", "document", "review", "research", "planning"], undefined>;
|
|
769
777
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
778
|
+
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
779
|
+
readonly isUnattendedDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
770
780
|
}, undefined>;
|
|
771
781
|
};
|
|
772
782
|
};
|
|
@@ -781,6 +791,8 @@ export declare const organizePipelineContract: {
|
|
|
781
791
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
782
792
|
readonly labels: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>, undefined>, undefined>;
|
|
783
793
|
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
794
|
+
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
795
|
+
readonly isUnattendedDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
784
796
|
}, undefined>;
|
|
785
797
|
readonly responsesByStatusCode: {
|
|
786
798
|
readonly '4xx': v.ObjectSchema<{
|
|
@@ -893,6 +905,8 @@ export declare const organizePipelineContract: {
|
|
|
893
905
|
readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
|
|
894
906
|
readonly purpose: v.PicklistSchema<readonly ["build", "document", "review", "research", "planning"], undefined>;
|
|
895
907
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
908
|
+
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
909
|
+
readonly isUnattendedDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
896
910
|
}, undefined>;
|
|
897
911
|
};
|
|
898
912
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA"}
|
|
@@ -440,6 +440,7 @@ export declare const createPublicTaskContract: {
|
|
|
440
440
|
readonly fields: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
441
441
|
readonly modelPresetId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
442
442
|
readonly riskPolicyId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
443
|
+
readonly pipelineId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
443
444
|
}, undefined>;
|
|
444
445
|
readonly responsesByStatusCode: {
|
|
445
446
|
readonly '4xx': import("valibot").ObjectSchema<{
|
|
@@ -1023,7 +1024,9 @@ export declare const listPublicPipelinesContract: {
|
|
|
1023
1024
|
readonly steps: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1024
1025
|
readonly public: import("valibot").BooleanSchema<undefined>;
|
|
1025
1026
|
readonly headlessStartable: import("valibot").BooleanSchema<undefined>;
|
|
1027
|
+
readonly unattendedDefault: import("valibot").BooleanSchema<undefined>;
|
|
1026
1028
|
}, undefined>, undefined>;
|
|
1029
|
+
readonly unattendedDefaultPipelineId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1027
1030
|
}, undefined>;
|
|
1028
1031
|
};
|
|
1029
1032
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOrC,CAAA;AAID;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOlC,CAAA;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQlC,CAAA;AAaD,sFAAsF;AACtF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOlC,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQnC,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQnC,CAAA"}
|
|
@@ -67,6 +67,7 @@ export declare const getRequirementReviewContract: {
|
|
|
67
67
|
readonly title: v.StringSchema<undefined>;
|
|
68
68
|
}, undefined>, undefined>;
|
|
69
69
|
readonly groundedIn: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["standard", "project-spec", "web", "general-practice"], undefined>, undefined>, undefined>;
|
|
70
|
+
readonly confidence: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
70
71
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
71
72
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
72
73
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -144,6 +145,7 @@ export declare const reviewRequirementsContract: {
|
|
|
144
145
|
readonly title: v.StringSchema<undefined>;
|
|
145
146
|
}, undefined>, undefined>;
|
|
146
147
|
readonly groundedIn: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["standard", "project-spec", "web", "general-practice"], undefined>, undefined>, undefined>;
|
|
148
|
+
readonly confidence: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
147
149
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
148
150
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
149
151
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -225,6 +227,7 @@ export declare const replyRequirementItemContract: {
|
|
|
225
227
|
readonly title: v.StringSchema<undefined>;
|
|
226
228
|
}, undefined>, undefined>;
|
|
227
229
|
readonly groundedIn: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["standard", "project-spec", "web", "general-practice"], undefined>, undefined>, undefined>;
|
|
230
|
+
readonly confidence: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
228
231
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
229
232
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
230
233
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -306,6 +309,7 @@ export declare const updateRequirementItemStatusContract: {
|
|
|
306
309
|
readonly title: v.StringSchema<undefined>;
|
|
307
310
|
}, undefined>, undefined>;
|
|
308
311
|
readonly groundedIn: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["standard", "project-spec", "web", "general-practice"], undefined>, undefined>, undefined>;
|
|
312
|
+
readonly confidence: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
309
313
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
310
314
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
311
315
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -385,6 +389,7 @@ export declare const incorporateRequirementsContract: {
|
|
|
385
389
|
readonly title: v.StringSchema<undefined>;
|
|
386
390
|
}, undefined>, undefined>;
|
|
387
391
|
readonly groundedIn: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["standard", "project-spec", "web", "general-practice"], undefined>, undefined>, undefined>;
|
|
392
|
+
readonly confidence: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
388
393
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
389
394
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
390
395
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -462,6 +467,7 @@ export declare const reReviewRequirementsContract: {
|
|
|
462
467
|
readonly title: v.StringSchema<undefined>;
|
|
463
468
|
}, undefined>, undefined>;
|
|
464
469
|
readonly groundedIn: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["standard", "project-spec", "web", "general-practice"], undefined>, undefined>, undefined>;
|
|
470
|
+
readonly confidence: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
465
471
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
466
472
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
467
473
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -539,6 +545,7 @@ export declare const proceedRequirementsContract: {
|
|
|
539
545
|
readonly title: v.StringSchema<undefined>;
|
|
540
546
|
}, undefined>, undefined>;
|
|
541
547
|
readonly groundedIn: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["standard", "project-spec", "web", "general-practice"], undefined>, undefined>, undefined>;
|
|
548
|
+
readonly confidence: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
542
549
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
543
550
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
544
551
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -624,6 +631,7 @@ export declare const requestRequirementRecommendationsContract: {
|
|
|
624
631
|
readonly title: v.StringSchema<undefined>;
|
|
625
632
|
}, undefined>, undefined>;
|
|
626
633
|
readonly groundedIn: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["standard", "project-spec", "web", "general-practice"], undefined>, undefined>, undefined>;
|
|
634
|
+
readonly confidence: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
627
635
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
628
636
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
629
637
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -703,6 +711,7 @@ export declare const acceptRequirementRecommendationContract: {
|
|
|
703
711
|
readonly title: v.StringSchema<undefined>;
|
|
704
712
|
}, undefined>, undefined>;
|
|
705
713
|
readonly groundedIn: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["standard", "project-spec", "web", "general-practice"], undefined>, undefined>, undefined>;
|
|
714
|
+
readonly confidence: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
706
715
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
707
716
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
708
717
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -782,6 +791,7 @@ export declare const rejectRequirementRecommendationContract: {
|
|
|
782
791
|
readonly title: v.StringSchema<undefined>;
|
|
783
792
|
}, undefined>, undefined>;
|
|
784
793
|
readonly groundedIn: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["standard", "project-spec", "web", "general-practice"], undefined>, undefined>, undefined>;
|
|
794
|
+
readonly confidence: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
785
795
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
786
796
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
787
797
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -863,6 +873,7 @@ export declare const reRequestRequirementRecommendationContract: {
|
|
|
863
873
|
readonly title: v.StringSchema<undefined>;
|
|
864
874
|
}, undefined>, undefined>;
|
|
865
875
|
readonly groundedIn: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["standard", "project-spec", "web", "general-practice"], undefined>, undefined>, undefined>;
|
|
876
|
+
readonly confidence: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
866
877
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
867
878
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
868
879
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -942,6 +953,7 @@ export declare const resolveRequirementsExceededContract: {
|
|
|
942
953
|
readonly title: v.StringSchema<undefined>;
|
|
943
954
|
}, undefined>, undefined>;
|
|
944
955
|
readonly groundedIn: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["standard", "project-spec", "web", "general-practice"], undefined>, undefined>, undefined>;
|
|
956
|
+
readonly confidence: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>;
|
|
945
957
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
946
958
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
947
959
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requirements.d.ts","sourceRoot":"","sources":["../../src/routes/requirements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"requirements.d.ts","sourceRoot":"","sources":["../../src/routes/requirements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMrC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM9C,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM1C,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA;AAEF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMpD,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOlD,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOlD,CAAA;AAEF,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOrD,CAAA;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM9C,CAAA"}
|
|
@@ -399,6 +399,7 @@ export declare const approveVisualConfirmContract: {
|
|
|
399
399
|
readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
400
400
|
}, undefined>, undefined>, undefined>;
|
|
401
401
|
readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
402
|
+
readonly autoAnsweredByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
402
403
|
readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
403
404
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
404
405
|
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1592,6 +1593,7 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1592
1593
|
readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1593
1594
|
}, undefined>, undefined>, undefined>;
|
|
1594
1595
|
readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1596
|
+
readonly autoAnsweredByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1595
1597
|
readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1596
1598
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
1597
1599
|
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -2783,6 +2785,7 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
2783
2785
|
readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2784
2786
|
}, undefined>, undefined>, undefined>;
|
|
2785
2787
|
readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2788
|
+
readonly autoAnsweredByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2786
2789
|
readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2787
2790
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
2788
2791
|
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
|
|
@@ -552,6 +552,8 @@ export declare const createWorkspaceContract: {
|
|
|
552
552
|
readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
|
|
553
553
|
readonly purpose: v.PicklistSchema<readonly ["build", "document", "review", "research", "planning"], undefined>;
|
|
554
554
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
555
|
+
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
556
|
+
readonly isUnattendedDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
555
557
|
}, undefined>, undefined>;
|
|
556
558
|
readonly executions: v.ArraySchema<v.ObjectSchema<{
|
|
557
559
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -920,6 +922,7 @@ export declare const createWorkspaceContract: {
|
|
|
920
922
|
readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
921
923
|
}, undefined>, undefined>, undefined>;
|
|
922
924
|
readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
925
|
+
readonly autoAnsweredByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
923
926
|
readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
924
927
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
925
928
|
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -2532,10 +2535,12 @@ export declare const createWorkspaceContract: {
|
|
|
2532
2535
|
} | undefined;
|
|
2533
2536
|
};
|
|
2534
2537
|
readonly autonomy: v.PicklistSchema<["attended", "unattended"], undefined>;
|
|
2538
|
+
readonly minAutoAnswerConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
2535
2539
|
readonly isDefault: v.BooleanSchema<undefined>;
|
|
2536
2540
|
readonly isUnattendedDefault: v.BooleanSchema<undefined>;
|
|
2537
2541
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2538
2542
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
2543
|
+
readonly tier: v.PicklistSchema<["account", "workspace"], undefined>;
|
|
2539
2544
|
}, undefined>, undefined>, undefined>;
|
|
2540
2545
|
readonly sharedStacks: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2541
2546
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -4086,6 +4091,8 @@ export declare const getWorkspaceContract: {
|
|
|
4086
4091
|
readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
|
|
4087
4092
|
readonly purpose: v.PicklistSchema<readonly ["build", "document", "review", "research", "planning"], undefined>;
|
|
4088
4093
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4094
|
+
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4095
|
+
readonly isUnattendedDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4089
4096
|
}, undefined>, undefined>;
|
|
4090
4097
|
readonly executions: v.ArraySchema<v.ObjectSchema<{
|
|
4091
4098
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -4454,6 +4461,7 @@ export declare const getWorkspaceContract: {
|
|
|
4454
4461
|
readonly capSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4455
4462
|
}, undefined>, undefined>, undefined>;
|
|
4456
4463
|
readonly reviewCapSettledByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4464
|
+
readonly autoAnsweredByPolicy: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4457
4465
|
readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
4458
4466
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
4459
4467
|
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -6066,10 +6074,12 @@ export declare const getWorkspaceContract: {
|
|
|
6066
6074
|
} | undefined;
|
|
6067
6075
|
};
|
|
6068
6076
|
readonly autonomy: v.PicklistSchema<["attended", "unattended"], undefined>;
|
|
6077
|
+
readonly minAutoAnswerConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
6069
6078
|
readonly isDefault: v.BooleanSchema<undefined>;
|
|
6070
6079
|
readonly isUnattendedDefault: v.BooleanSchema<undefined>;
|
|
6071
6080
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
6072
6081
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
6082
|
+
readonly tier: v.PicklistSchema<["account", "workspace"], undefined>;
|
|
6073
6083
|
}, undefined>, undefined>, undefined>;
|
|
6074
6084
|
readonly sharedStacks: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
6075
6085
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;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,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
package/dist/run-provenance.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
import type { RiskPolicyDefaultScope } from './merge.js';
|
|
3
2
|
/**
|
|
4
3
|
* How a run entered the system. See `ExecutionInstance.intakeOrigin`.
|
|
5
4
|
*
|
|
@@ -33,7 +32,27 @@ export type IntakeOrigin = v.InferOutput<typeof intakeOriginSchema>;
|
|
|
33
32
|
*/
|
|
34
33
|
export declare function isHeadlessIntake(origin: IntakeOrigin | undefined): boolean;
|
|
35
34
|
/**
|
|
36
|
-
*
|
|
35
|
+
* WHICH of a workspace's two defaults a run resolves when its task pinned none.
|
|
36
|
+
*
|
|
37
|
+
* `interactive` is a run somebody started in the app and is watching; `unattended` is one nothing
|
|
38
|
+
* is watching, whatever surface dispatched it. TWO libraries are scoped by it and both read the
|
|
39
|
+
* one {@link runDefaultScopeFor} below: the risk policies (`isDefault` / `isUnattendedDefault`,
|
|
40
|
+
* ADR 0053) and the pipelines. Named for the RUN rather than for either of them, because a second
|
|
41
|
+
* consumer arriving is what proved the question is about the run: "is anyone watching this" is not
|
|
42
|
+
* a fact about a policy row.
|
|
43
|
+
*/
|
|
44
|
+
export declare const runDefaultScopeSchema: v.PicklistSchema<["interactive", "unattended"], undefined>;
|
|
45
|
+
export type RunDefaultScope = v.InferOutput<typeof runDefaultScopeSchema>;
|
|
46
|
+
/**
|
|
47
|
+
* Every scope, for the readers that must answer about ALL of them (the board's policy-selection
|
|
48
|
+
* guard judges a move against each, because a task can be started either way).
|
|
49
|
+
*
|
|
50
|
+
* Read off the picklist's OWN options rather than restated, so a third scope cannot appear in one
|
|
51
|
+
* place and be missed in the other.
|
|
52
|
+
*/
|
|
53
|
+
export declare const RUN_DEFAULT_SCOPES: readonly RunDefaultScope[];
|
|
54
|
+
/**
|
|
55
|
+
* The default-resolution scope for a run's intake. `undefined` is every run persisted before
|
|
37
56
|
* `intakeOrigin` existed and degrades to `interactive`, matching how such a run already degrades
|
|
38
57
|
* to `ui` everywhere else: a run that cannot be PROVEN unattended is not granted the unattended
|
|
39
58
|
* policy's licence to answer its own caps.
|
|
@@ -43,7 +62,7 @@ export declare function isHeadlessIntake(origin: IntakeOrigin | undefined): bool
|
|
|
43
62
|
* run written under a member later dropped indexes to `undefined` at runtime while the declared
|
|
44
63
|
* type says otherwise.
|
|
45
64
|
*/
|
|
46
|
-
export declare function
|
|
65
|
+
export declare function runDefaultScopeFor(origin: IntakeOrigin | undefined): RunDefaultScope;
|
|
47
66
|
/**
|
|
48
67
|
* Whether a run may LAND its work. `live` (the default, and every run before this existed) is the
|
|
49
68
|
* historical behaviour. `dry_run` is the sandboxed mode: the pipeline runs in full and opens its
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-provenance.d.ts","sourceRoot":"","sources":["../src/run-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"run-provenance.d.ts","sourceRoot":"","sources":["../src/run-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAQ5B;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB,0EAA0D,CAAA;AACzF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;AA8BnE;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,GAAG,OAAO,CAE1E;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,qBAAqB,4DAA4C,CAAA;AAC9E,MAAM,MAAM,eAAe,GA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