@opengeni/contracts 4.1.0 → 5.0.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/atlassian.d.ts +1 -0
- package/dist/atlassian.js +4 -4
- package/dist/bundled-skills.d.ts +5 -1
- package/dist/{chunk-HR6NB3CA.js → chunk-CM7E7PFV.js} +8341 -8206
- package/dist/chunk-CM7E7PFV.js.map +1 -0
- package/dist/{chunk-O5LEQHDM.js → chunk-ENJTPHKP.js} +2 -2
- package/dist/chunk-KUCZDFJ5.js +186 -0
- package/dist/chunk-KUCZDFJ5.js.map +1 -0
- package/dist/{chunk-5LYFSZ7O.js → chunk-YJEOWXOE.js} +8 -8
- package/dist/company-profile.d.ts +9 -6
- package/dist/connect.js +4 -4
- package/dist/connection-authority.d.ts +9 -317
- package/dist/connection-authority.js +7 -27
- package/dist/connector-tool-permissions.d.ts +73 -0
- package/dist/editable-artifact-codec-registry.js +2 -2
- package/dist/editable-artifact-live.js +2 -2
- package/dist/editable-artifact-serialized-commit.js +3 -3
- package/dist/editable-artifacts.js +13 -13
- package/dist/google-drive.d.ts +1 -0
- package/dist/google-drive.js +4 -4
- package/dist/host-mcp-bindings.d.ts +5 -0
- package/dist/host-mcp-bindings.js +34 -8
- package/dist/host-mcp-bindings.js.map +1 -1
- package/dist/index.d.ts +771 -3222
- package/dist/index.js +121 -75
- package/dist/knowledge-entries.d.ts +33 -0
- package/dist/knowledge-preparation.d.ts +207 -0
- package/dist/managed-sign-in-methods.d.ts +56 -0
- package/dist/managed-sign-in-methods.js +46 -0
- package/dist/managed-sign-in-methods.js.map +1 -0
- package/dist/mcp-oauth.d.ts +2 -2
- package/dist/organization-integration-policy.d.ts +27 -0
- package/dist/organization-usage.d.ts +102 -0
- package/dist/personal-github.d.ts +1 -0
- package/dist/personal-github.js +4 -4
- package/dist/remember.d.ts +6 -4
- package/dist/sandbox-provider-command.d.ts +91 -1
- package/dist/sandbox-recovery.d.ts +101 -0
- package/dist/session-goal-reports.d.ts +21 -0
- package/dist/session-message-search.d.ts +68 -0
- package/dist/skill-catalog-context.d.ts +7 -0
- package/dist/skills.d.ts +15 -0
- package/package.json +4 -4
- package/src/bundled-skills.ts +2 -0
- package/src/connection-authority.ts +25 -225
- package/src/connector-tool-permissions.ts +59 -0
- package/src/host-mcp-bindings.ts +37 -5
- package/src/index.ts +406 -755
- package/src/knowledge-entries.ts +4 -0
- package/src/knowledge-preparation.ts +50 -0
- package/src/managed-sign-in-methods.ts +37 -0
- package/src/mcp-oauth.ts +16 -18
- package/src/organization-integration-policy.ts +54 -0
- package/src/organization-usage.ts +45 -0
- package/src/sandbox-provider-command.ts +57 -1
- package/src/sandbox-recovery.ts +61 -0
- package/src/session-goal-reports.ts +45 -0
- package/src/session-message-search.ts +54 -0
- package/src/skill-catalog-context.ts +50 -0
- package/src/skills.ts +21 -6
- package/dist/chunk-HR6NB3CA.js.map +0 -1
- package/dist/chunk-J6QIYKO5.js +0 -348
- package/dist/chunk-J6QIYKO5.js.map +0 -1
- package/dist/host-mcp-resolvers.d.ts +0 -32
- package/dist/host-mcp-resolvers.js +0 -34
- package/dist/host-mcp-resolvers.js.map +0 -1
- package/src/host-mcp-resolvers.ts +0 -50
- /package/dist/{chunk-O5LEQHDM.js.map → chunk-ENJTPHKP.js.map} +0 -0
- /package/dist/{chunk-5LYFSZ7O.js.map → chunk-YJEOWXOE.js.map} +0 -0
|
@@ -66,6 +66,10 @@ export declare const KnowledgeEntrySource: z.ZodObject<{
|
|
|
66
66
|
passages: "passages";
|
|
67
67
|
reference: "reference";
|
|
68
68
|
}>>;
|
|
69
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
70
|
+
evidence: "evidence";
|
|
71
|
+
reference: "reference";
|
|
72
|
+
}>>;
|
|
69
73
|
}, z.core.$strict>;
|
|
70
74
|
export type KnowledgeEntrySource = z.infer<typeof KnowledgeEntrySource>;
|
|
71
75
|
export declare const KnowledgeEntryRelationship: z.ZodObject<{
|
|
@@ -115,6 +119,10 @@ export declare const KnowledgeEntryContent: z.ZodObject<{
|
|
|
115
119
|
passages: "passages";
|
|
116
120
|
reference: "reference";
|
|
117
121
|
}>>;
|
|
122
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
123
|
+
evidence: "evidence";
|
|
124
|
+
reference: "reference";
|
|
125
|
+
}>>;
|
|
118
126
|
}, z.core.$strict>>;
|
|
119
127
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
120
128
|
entryId: z.ZodUUID;
|
|
@@ -180,6 +188,10 @@ export declare const StoredKnowledgeEntryContent: z.ZodObject<{
|
|
|
180
188
|
passages: "passages";
|
|
181
189
|
reference: "reference";
|
|
182
190
|
}>>;
|
|
191
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
192
|
+
evidence: "evidence";
|
|
193
|
+
reference: "reference";
|
|
194
|
+
}>>;
|
|
183
195
|
}, z.core.$strict>>;
|
|
184
196
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
185
197
|
entryId: z.ZodUUID;
|
|
@@ -252,6 +264,10 @@ export declare const KnowledgeEntrySaveRequest: z.ZodObject<{
|
|
|
252
264
|
passages: "passages";
|
|
253
265
|
reference: "reference";
|
|
254
266
|
}>>;
|
|
267
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
268
|
+
evidence: "evidence";
|
|
269
|
+
reference: "reference";
|
|
270
|
+
}>>;
|
|
255
271
|
}, z.core.$strict>>;
|
|
256
272
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
257
273
|
entryId: z.ZodUUID;
|
|
@@ -336,6 +352,10 @@ export declare const KnowledgeEntryReviewRequest: z.ZodObject<{
|
|
|
336
352
|
passages: "passages";
|
|
337
353
|
reference: "reference";
|
|
338
354
|
}>>;
|
|
355
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
356
|
+
evidence: "evidence";
|
|
357
|
+
reference: "reference";
|
|
358
|
+
}>>;
|
|
339
359
|
}, z.core.$strict>>;
|
|
340
360
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
341
361
|
entryId: z.ZodUUID;
|
|
@@ -411,6 +431,10 @@ export declare const KnowledgeEntryBatchReviewRequest: z.ZodObject<{
|
|
|
411
431
|
passages: "passages";
|
|
412
432
|
reference: "reference";
|
|
413
433
|
}>>;
|
|
434
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
435
|
+
evidence: "evidence";
|
|
436
|
+
reference: "reference";
|
|
437
|
+
}>>;
|
|
414
438
|
}, z.core.$strict>>;
|
|
415
439
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
416
440
|
entryId: z.ZodUUID;
|
|
@@ -531,6 +555,10 @@ export declare const KnowledgeEntryRevision: z.ZodObject<{
|
|
|
531
555
|
passages: "passages";
|
|
532
556
|
reference: "reference";
|
|
533
557
|
}>>;
|
|
558
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
559
|
+
evidence: "evidence";
|
|
560
|
+
reference: "reference";
|
|
561
|
+
}>>;
|
|
534
562
|
}, z.core.$strict>>;
|
|
535
563
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
536
564
|
entryId: z.ZodUUID;
|
|
@@ -626,6 +654,10 @@ export declare const KnowledgeEntryRecord: z.ZodObject<{
|
|
|
626
654
|
passages: "passages";
|
|
627
655
|
reference: "reference";
|
|
628
656
|
}>>;
|
|
657
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
658
|
+
evidence: "evidence";
|
|
659
|
+
reference: "reference";
|
|
660
|
+
}>>;
|
|
629
661
|
}, z.core.$strict>>;
|
|
630
662
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
631
663
|
entryId: z.ZodUUID;
|
|
@@ -685,6 +717,7 @@ export declare const KnowledgeEntryListRequest: z.ZodObject<{
|
|
|
685
717
|
groupId: z.ZodOptional<z.ZodUUID>;
|
|
686
718
|
rootOnly: z.ZodOptional<z.ZodBoolean>;
|
|
687
719
|
fileId: z.ZodOptional<z.ZodUUID>;
|
|
720
|
+
includeEvidence: z.ZodOptional<z.ZodBoolean>;
|
|
688
721
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
689
722
|
decision: "decision";
|
|
690
723
|
fact: "fact";
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Read-only discovery before a model decides whether and where to save. */
|
|
3
|
+
export declare const KnowledgeSavePreparationRequest: z.ZodObject<{
|
|
4
|
+
query: z.ZodString;
|
|
5
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
6
|
+
collectionCursors: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
published: z.ZodNullable<z.ZodString>;
|
|
8
|
+
needs_review: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strict>>;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
export type KnowledgeSavePreparationRequest = z.input<typeof KnowledgeSavePreparationRequest>;
|
|
12
|
+
export declare const KnowledgeCollectionDescriptor: z.ZodObject<{
|
|
13
|
+
id: z.ZodUUID;
|
|
14
|
+
revisionId: z.ZodUUID;
|
|
15
|
+
version: z.ZodNumber;
|
|
16
|
+
scope: z.ZodEnum<{
|
|
17
|
+
organization: "organization";
|
|
18
|
+
personal: "personal";
|
|
19
|
+
workspace: "workspace";
|
|
20
|
+
}>;
|
|
21
|
+
view: z.ZodEnum<{
|
|
22
|
+
needs_review: "needs_review";
|
|
23
|
+
published: "published";
|
|
24
|
+
}>;
|
|
25
|
+
title: z.ZodString;
|
|
26
|
+
description: z.ZodString;
|
|
27
|
+
descriptionTruncated: z.ZodBoolean;
|
|
28
|
+
parentIds: z.ZodArray<z.ZodUUID>;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
export declare const KnowledgeSavePreparationResponse: z.ZodObject<{
|
|
31
|
+
collections: z.ZodObject<{
|
|
32
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
33
|
+
id: z.ZodUUID;
|
|
34
|
+
revisionId: z.ZodUUID;
|
|
35
|
+
version: z.ZodNumber;
|
|
36
|
+
scope: z.ZodEnum<{
|
|
37
|
+
organization: "organization";
|
|
38
|
+
personal: "personal";
|
|
39
|
+
workspace: "workspace";
|
|
40
|
+
}>;
|
|
41
|
+
view: z.ZodEnum<{
|
|
42
|
+
needs_review: "needs_review";
|
|
43
|
+
published: "published";
|
|
44
|
+
}>;
|
|
45
|
+
title: z.ZodString;
|
|
46
|
+
description: z.ZodString;
|
|
47
|
+
descriptionTruncated: z.ZodBoolean;
|
|
48
|
+
parentIds: z.ZodArray<z.ZodUUID>;
|
|
49
|
+
}, z.core.$strict>>;
|
|
50
|
+
complete: z.ZodBoolean;
|
|
51
|
+
nextCursors: z.ZodObject<{
|
|
52
|
+
published: z.ZodNullable<z.ZodString>;
|
|
53
|
+
needs_review: z.ZodNullable<z.ZodString>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
matches: z.ZodObject<{
|
|
57
|
+
published: z.ZodObject<{
|
|
58
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
59
|
+
id: z.ZodUUID;
|
|
60
|
+
scope: z.ZodEnum<{
|
|
61
|
+
organization: "organization";
|
|
62
|
+
personal: "personal";
|
|
63
|
+
workspace: "workspace";
|
|
64
|
+
}>;
|
|
65
|
+
version: z.ZodNumber;
|
|
66
|
+
publishedRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
67
|
+
latestRevisionId: z.ZodUUID;
|
|
68
|
+
archived: z.ZodBoolean;
|
|
69
|
+
createdAt: z.ZodString;
|
|
70
|
+
updatedAt: z.ZodString;
|
|
71
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
excerpts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
73
|
+
field: z.ZodEnum<{
|
|
74
|
+
content: "content";
|
|
75
|
+
title: "title";
|
|
76
|
+
}>;
|
|
77
|
+
start: z.ZodNumber;
|
|
78
|
+
end: z.ZodNumber;
|
|
79
|
+
text: z.ZodString;
|
|
80
|
+
}, z.core.$strip>>>;
|
|
81
|
+
revision: z.ZodObject<{
|
|
82
|
+
id: z.ZodUUID;
|
|
83
|
+
entryId: z.ZodUUID;
|
|
84
|
+
number: z.ZodNumber;
|
|
85
|
+
change: z.ZodEnum<{
|
|
86
|
+
archive: "archive";
|
|
87
|
+
upsert: "upsert";
|
|
88
|
+
}>;
|
|
89
|
+
previousRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
90
|
+
restoredFromRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
91
|
+
createdAt: z.ZodString;
|
|
92
|
+
createdBySessionId: z.ZodNullable<z.ZodUUID>;
|
|
93
|
+
reviewBatchId: z.ZodNullable<z.ZodUUID>;
|
|
94
|
+
outcome: z.ZodEnum<{
|
|
95
|
+
pending: "pending";
|
|
96
|
+
published: "published";
|
|
97
|
+
rejected: "rejected";
|
|
98
|
+
superseded: "superseded";
|
|
99
|
+
}>;
|
|
100
|
+
title: z.ZodString;
|
|
101
|
+
kind: z.ZodEnum<{
|
|
102
|
+
decision: "decision";
|
|
103
|
+
fact: "fact";
|
|
104
|
+
group: "group";
|
|
105
|
+
incident: "incident";
|
|
106
|
+
note: "note";
|
|
107
|
+
requirement: "requirement";
|
|
108
|
+
source: "source";
|
|
109
|
+
}>;
|
|
110
|
+
preview: z.ZodString;
|
|
111
|
+
groupIds: z.ZodArray<z.ZodUUID>;
|
|
112
|
+
sourceKind: z.ZodNullable<z.ZodEnum<{
|
|
113
|
+
connector: "connector";
|
|
114
|
+
conversation: "conversation";
|
|
115
|
+
file: "file";
|
|
116
|
+
manual: "manual";
|
|
117
|
+
repository: "repository";
|
|
118
|
+
slack: "slack";
|
|
119
|
+
task_note: "task_note";
|
|
120
|
+
web: "web";
|
|
121
|
+
}>>;
|
|
122
|
+
}, z.core.$strict>;
|
|
123
|
+
}, z.core.$strict>>;
|
|
124
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
125
|
+
searchMode: z.ZodOptional<z.ZodEnum<{
|
|
126
|
+
hybrid: "hybrid";
|
|
127
|
+
keyword: "keyword";
|
|
128
|
+
vector: "vector";
|
|
129
|
+
}>>;
|
|
130
|
+
}, z.core.$strip>;
|
|
131
|
+
needs_review: z.ZodObject<{
|
|
132
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
133
|
+
id: z.ZodUUID;
|
|
134
|
+
scope: z.ZodEnum<{
|
|
135
|
+
organization: "organization";
|
|
136
|
+
personal: "personal";
|
|
137
|
+
workspace: "workspace";
|
|
138
|
+
}>;
|
|
139
|
+
version: z.ZodNumber;
|
|
140
|
+
publishedRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
141
|
+
latestRevisionId: z.ZodUUID;
|
|
142
|
+
archived: z.ZodBoolean;
|
|
143
|
+
createdAt: z.ZodString;
|
|
144
|
+
updatedAt: z.ZodString;
|
|
145
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
146
|
+
excerpts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
147
|
+
field: z.ZodEnum<{
|
|
148
|
+
content: "content";
|
|
149
|
+
title: "title";
|
|
150
|
+
}>;
|
|
151
|
+
start: z.ZodNumber;
|
|
152
|
+
end: z.ZodNumber;
|
|
153
|
+
text: z.ZodString;
|
|
154
|
+
}, z.core.$strip>>>;
|
|
155
|
+
revision: z.ZodObject<{
|
|
156
|
+
id: z.ZodUUID;
|
|
157
|
+
entryId: z.ZodUUID;
|
|
158
|
+
number: z.ZodNumber;
|
|
159
|
+
change: z.ZodEnum<{
|
|
160
|
+
archive: "archive";
|
|
161
|
+
upsert: "upsert";
|
|
162
|
+
}>;
|
|
163
|
+
previousRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
164
|
+
restoredFromRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
165
|
+
createdAt: z.ZodString;
|
|
166
|
+
createdBySessionId: z.ZodNullable<z.ZodUUID>;
|
|
167
|
+
reviewBatchId: z.ZodNullable<z.ZodUUID>;
|
|
168
|
+
outcome: z.ZodEnum<{
|
|
169
|
+
pending: "pending";
|
|
170
|
+
published: "published";
|
|
171
|
+
rejected: "rejected";
|
|
172
|
+
superseded: "superseded";
|
|
173
|
+
}>;
|
|
174
|
+
title: z.ZodString;
|
|
175
|
+
kind: z.ZodEnum<{
|
|
176
|
+
decision: "decision";
|
|
177
|
+
fact: "fact";
|
|
178
|
+
group: "group";
|
|
179
|
+
incident: "incident";
|
|
180
|
+
note: "note";
|
|
181
|
+
requirement: "requirement";
|
|
182
|
+
source: "source";
|
|
183
|
+
}>;
|
|
184
|
+
preview: z.ZodString;
|
|
185
|
+
groupIds: z.ZodArray<z.ZodUUID>;
|
|
186
|
+
sourceKind: z.ZodNullable<z.ZodEnum<{
|
|
187
|
+
connector: "connector";
|
|
188
|
+
conversation: "conversation";
|
|
189
|
+
file: "file";
|
|
190
|
+
manual: "manual";
|
|
191
|
+
repository: "repository";
|
|
192
|
+
slack: "slack";
|
|
193
|
+
task_note: "task_note";
|
|
194
|
+
web: "web";
|
|
195
|
+
}>>;
|
|
196
|
+
}, z.core.$strict>;
|
|
197
|
+
}, z.core.$strict>>;
|
|
198
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
199
|
+
searchMode: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
hybrid: "hybrid";
|
|
201
|
+
keyword: "keyword";
|
|
202
|
+
vector: "vector";
|
|
203
|
+
}>>;
|
|
204
|
+
}, z.core.$strip>;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
}, z.core.$strict>;
|
|
207
|
+
export type KnowledgeSavePreparationResponse = z.infer<typeof KnowledgeSavePreparationResponse>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ManagedSignInProvider: z.ZodEnum<{
|
|
3
|
+
github: "github";
|
|
4
|
+
google: "google";
|
|
5
|
+
}>;
|
|
6
|
+
export declare const ManagedSignInMethods: z.ZodObject<{
|
|
7
|
+
identityId: z.ZodString;
|
|
8
|
+
email: z.ZodString;
|
|
9
|
+
emailVerified: z.ZodBoolean;
|
|
10
|
+
identityRevision: z.ZodNumber;
|
|
11
|
+
freshAuthenticationRequired: z.ZodBoolean;
|
|
12
|
+
methods: z.ZodArray<z.ZodObject<{
|
|
13
|
+
provider: z.ZodEnum<{
|
|
14
|
+
credential: "credential";
|
|
15
|
+
github: "github";
|
|
16
|
+
google: "google";
|
|
17
|
+
}>;
|
|
18
|
+
connected: z.ZodBoolean;
|
|
19
|
+
available: z.ZodBoolean;
|
|
20
|
+
canDisconnect: z.ZodBoolean;
|
|
21
|
+
implicitRelinkingSuppressed: z.ZodBoolean;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export type ManagedSignInMethods = z.infer<typeof ManagedSignInMethods>;
|
|
25
|
+
export declare const ManagedSignInMutation: z.ZodObject<{
|
|
26
|
+
expectedIdentityId: z.ZodString;
|
|
27
|
+
operationId: z.ZodString;
|
|
28
|
+
expectedIdentityRevision: z.ZodNumber;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
export declare const ManagedSignInProviderMutation: z.ZodObject<{
|
|
31
|
+
expectedIdentityId: z.ZodString;
|
|
32
|
+
operationId: z.ZodString;
|
|
33
|
+
expectedIdentityRevision: z.ZodNumber;
|
|
34
|
+
provider: z.ZodEnum<{
|
|
35
|
+
github: "github";
|
|
36
|
+
google: "google";
|
|
37
|
+
}>;
|
|
38
|
+
}, z.core.$strict>;
|
|
39
|
+
export declare const ManagedSignInPasswordMutation: z.ZodObject<{
|
|
40
|
+
expectedIdentityId: z.ZodString;
|
|
41
|
+
operationId: z.ZodString;
|
|
42
|
+
expectedIdentityRevision: z.ZodNumber;
|
|
43
|
+
newPassword: z.ZodString;
|
|
44
|
+
currentPassword: z.ZodOptional<z.ZodString>;
|
|
45
|
+
}, z.core.$strict>;
|
|
46
|
+
export declare const ManagedSignInMutationResponse: z.ZodObject<{
|
|
47
|
+
reauthenticationRequired: z.ZodLiteral<true>;
|
|
48
|
+
notification: z.ZodEnum<{
|
|
49
|
+
failed: "failed";
|
|
50
|
+
outcome_unknown: "outcome_unknown";
|
|
51
|
+
sent: "sent";
|
|
52
|
+
}>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
export declare const ManagedSignInConnectResponse: z.ZodObject<{
|
|
55
|
+
url: z.ZodString;
|
|
56
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// src/managed-sign-in-methods.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
var ManagedSignInProvider = z.enum(["google", "github"]);
|
|
4
|
+
var ManagedSignInMethods = z.object({
|
|
5
|
+
identityId: z.string().uuid(),
|
|
6
|
+
email: z.string().email(),
|
|
7
|
+
emailVerified: z.boolean(),
|
|
8
|
+
identityRevision: z.number().int().positive(),
|
|
9
|
+
freshAuthenticationRequired: z.boolean(),
|
|
10
|
+
methods: z.array(
|
|
11
|
+
z.object({
|
|
12
|
+
provider: z.enum(["credential", "google", "github"]),
|
|
13
|
+
connected: z.boolean(),
|
|
14
|
+
available: z.boolean(),
|
|
15
|
+
canDisconnect: z.boolean(),
|
|
16
|
+
implicitRelinkingSuppressed: z.boolean()
|
|
17
|
+
})
|
|
18
|
+
)
|
|
19
|
+
});
|
|
20
|
+
var ManagedSignInMutation = z.object({
|
|
21
|
+
expectedIdentityId: z.string().uuid(),
|
|
22
|
+
operationId: z.string().uuid(),
|
|
23
|
+
expectedIdentityRevision: z.number().int().positive()
|
|
24
|
+
});
|
|
25
|
+
var ManagedSignInProviderMutation = ManagedSignInMutation.extend({
|
|
26
|
+
provider: ManagedSignInProvider
|
|
27
|
+
}).strict();
|
|
28
|
+
var ManagedSignInPasswordMutation = ManagedSignInMutation.extend({
|
|
29
|
+
newPassword: z.string().min(8).max(128),
|
|
30
|
+
currentPassword: z.string().min(1).max(1024).optional()
|
|
31
|
+
}).strict();
|
|
32
|
+
var ManagedSignInMutationResponse = z.object({
|
|
33
|
+
reauthenticationRequired: z.literal(true),
|
|
34
|
+
notification: z.enum(["sent", "failed", "outcome_unknown"])
|
|
35
|
+
});
|
|
36
|
+
var ManagedSignInConnectResponse = z.object({ url: z.string().url() });
|
|
37
|
+
export {
|
|
38
|
+
ManagedSignInConnectResponse,
|
|
39
|
+
ManagedSignInMethods,
|
|
40
|
+
ManagedSignInMutation,
|
|
41
|
+
ManagedSignInMutationResponse,
|
|
42
|
+
ManagedSignInPasswordMutation,
|
|
43
|
+
ManagedSignInProvider,
|
|
44
|
+
ManagedSignInProviderMutation
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=managed-sign-in-methods.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/managed-sign-in-methods.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const ManagedSignInProvider = z.enum([\"google\", \"github\"]);\nexport const ManagedSignInMethods = z.object({\n identityId: z.string().uuid(),\n email: z.string().email(),\n emailVerified: z.boolean(),\n identityRevision: z.number().int().positive(),\n freshAuthenticationRequired: z.boolean(),\n methods: z.array(\n z.object({\n provider: z.enum([\"credential\", \"google\", \"github\"]),\n connected: z.boolean(),\n available: z.boolean(),\n canDisconnect: z.boolean(),\n implicitRelinkingSuppressed: z.boolean(),\n }),\n ),\n});\nexport type ManagedSignInMethods = z.infer<typeof ManagedSignInMethods>;\nexport const ManagedSignInMutation = z.object({\n expectedIdentityId: z.string().uuid(),\n operationId: z.string().uuid(),\n expectedIdentityRevision: z.number().int().positive(),\n});\nexport const ManagedSignInProviderMutation = ManagedSignInMutation.extend({\n provider: ManagedSignInProvider,\n}).strict();\nexport const ManagedSignInPasswordMutation = ManagedSignInMutation.extend({\n newPassword: z.string().min(8).max(128),\n currentPassword: z.string().min(1).max(1024).optional(),\n}).strict();\nexport const ManagedSignInMutationResponse = z.object({\n reauthenticationRequired: z.literal(true),\n notification: z.enum([\"sent\", \"failed\", \"outcome_unknown\"]),\n});\nexport const ManagedSignInConnectResponse = z.object({ url: z.string().url() });\n"],"mappings":";AAAA,SAAS,SAAS;AAEX,IAAM,wBAAwB,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC;AACzD,IAAM,uBAAuB,EAAE,OAAO;AAAA,EAC3C,YAAY,EAAE,OAAO,EAAE,KAAK;AAAA,EAC5B,OAAO,EAAE,OAAO,EAAE,MAAM;AAAA,EACxB,eAAe,EAAE,QAAQ;AAAA,EACzB,kBAAkB,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS;AAAA,EAC5C,6BAA6B,EAAE,QAAQ;AAAA,EACvC,SAAS,EAAE;AAAA,IACT,EAAE,OAAO;AAAA,MACP,UAAU,EAAE,KAAK,CAAC,cAAc,UAAU,QAAQ,CAAC;AAAA,MACnD,WAAW,EAAE,QAAQ;AAAA,MACrB,WAAW,EAAE,QAAQ;AAAA,MACrB,eAAe,EAAE,QAAQ;AAAA,MACzB,6BAA6B,EAAE,QAAQ;AAAA,IACzC,CAAC;AAAA,EACH;AACF,CAAC;AAEM,IAAM,wBAAwB,EAAE,OAAO;AAAA,EAC5C,oBAAoB,EAAE,OAAO,EAAE,KAAK;AAAA,EACpC,aAAa,EAAE,OAAO,EAAE,KAAK;AAAA,EAC7B,0BAA0B,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS;AACtD,CAAC;AACM,IAAM,gCAAgC,sBAAsB,OAAO;AAAA,EACxE,UAAU;AACZ,CAAC,EAAE,OAAO;AACH,IAAM,gCAAgC,sBAAsB,OAAO;AAAA,EACxE,aAAa,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,IAAI,GAAG;AAAA,EACtC,iBAAiB,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,IAAI,IAAI,EAAE,SAAS;AACxD,CAAC,EAAE,OAAO;AACH,IAAM,gCAAgC,EAAE,OAAO;AAAA,EACpD,0BAA0B,EAAE,QAAQ,IAAI;AAAA,EACxC,cAAc,EAAE,KAAK,CAAC,QAAQ,UAAU,iBAAiB,CAAC;AAC5D,CAAC;AACM,IAAM,+BAA+B,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;","names":[]}
|
package/dist/mcp-oauth.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const McpOAuthClientRegistrationRequest: z.ZodObject<{
|
|
|
18
18
|
refresh_token: "refresh_token";
|
|
19
19
|
}>>>;
|
|
20
20
|
response_types: z.ZodDefault<z.ZodArray<z.ZodLiteral<"code">>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$strip>;
|
|
22
22
|
export type McpOAuthClientRegistrationRequest = z.infer<typeof McpOAuthClientRegistrationRequest>;
|
|
23
23
|
export declare const McpOAuthClientRegistrationResponse: z.ZodObject<{
|
|
24
24
|
redirect_uris: z.ZodArray<z.ZodString>;
|
|
@@ -36,7 +36,7 @@ export declare const McpOAuthClientRegistrationResponse: z.ZodObject<{
|
|
|
36
36
|
response_types: z.ZodDefault<z.ZodArray<z.ZodLiteral<"code">>>;
|
|
37
37
|
client_id: z.ZodString;
|
|
38
38
|
client_id_issued_at: z.ZodNumber;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$strip>;
|
|
40
40
|
export type McpOAuthClientRegistrationResponse = z.infer<typeof McpOAuthClientRegistrationResponse>;
|
|
41
41
|
export declare const McpOAuthTokenResponse: z.ZodObject<{
|
|
42
42
|
access_token: z.ZodString;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Catalog identities, never endpoint/domain matching. Custom transports are explicit categories. */
|
|
3
|
+
export declare const OrganizationIntegrationKey: z.ZodString;
|
|
4
|
+
export declare const OrganizationIntegrationPolicy: z.ZodObject<{
|
|
5
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
restricted: "restricted";
|
|
7
|
+
unrestricted: "unrestricted";
|
|
8
|
+
}>>;
|
|
9
|
+
allowedIntegrationKeys: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10
|
+
revision: z.ZodDefault<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strict>;
|
|
12
|
+
export type OrganizationIntegrationPolicy = z.infer<typeof OrganizationIntegrationPolicy>;
|
|
13
|
+
export declare const UpdateOrganizationIntegrationPolicyRequest: z.ZodObject<{
|
|
14
|
+
mode: z.ZodEnum<{
|
|
15
|
+
restricted: "restricted";
|
|
16
|
+
unrestricted: "unrestricted";
|
|
17
|
+
}>;
|
|
18
|
+
allowedIntegrationKeys: z.ZodArray<z.ZodString>;
|
|
19
|
+
expectedRevision: z.ZodNumber;
|
|
20
|
+
operationId: z.ZodString;
|
|
21
|
+
}, z.core.$strict>;
|
|
22
|
+
export type UpdateOrganizationIntegrationPolicyRequest = z.infer<typeof UpdateOrganizationIntegrationPolicyRequest>;
|
|
23
|
+
export declare class OrganizationIntegrationDeniedError extends Error {
|
|
24
|
+
constructor();
|
|
25
|
+
}
|
|
26
|
+
/** integrationKey must come from trusted classification, not client-supplied metadata. */
|
|
27
|
+
export declare function assertOrganizationIntegrationAllowed(policy: OrganizationIntegrationPolicy, integrationKey: string | null): void;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const OrganizationUsagePeriod: z.ZodEnum<{
|
|
3
|
+
month: "month";
|
|
4
|
+
today: "today";
|
|
5
|
+
week: "week";
|
|
6
|
+
ytd: "ytd";
|
|
7
|
+
}>;
|
|
8
|
+
export type OrganizationUsagePeriod = z.infer<typeof OrganizationUsagePeriod>;
|
|
9
|
+
export declare const OrganizationUsageQuery: z.ZodObject<{
|
|
10
|
+
period: z.ZodDefault<z.ZodEnum<{
|
|
11
|
+
month: "month";
|
|
12
|
+
today: "today";
|
|
13
|
+
week: "week";
|
|
14
|
+
ytd: "ytd";
|
|
15
|
+
}>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export declare const OrganizationUsageWorkspacePageQuery: z.ZodObject<{
|
|
18
|
+
period: z.ZodDefault<z.ZodEnum<{
|
|
19
|
+
month: "month";
|
|
20
|
+
today: "today";
|
|
21
|
+
week: "week";
|
|
22
|
+
ytd: "ytd";
|
|
23
|
+
}>>;
|
|
24
|
+
until: z.ZodString;
|
|
25
|
+
afterWorkspaceId: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
export declare const OrganizationUsageTotal: z.ZodObject<{
|
|
28
|
+
eventType: z.ZodString;
|
|
29
|
+
unit: z.ZodString;
|
|
30
|
+
quantity: z.ZodString;
|
|
31
|
+
eventCount: z.ZodString;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export declare const OrganizationUsageSummary: z.ZodObject<{
|
|
34
|
+
accountId: z.ZodString;
|
|
35
|
+
period: z.ZodEnum<{
|
|
36
|
+
month: "month";
|
|
37
|
+
today: "today";
|
|
38
|
+
week: "week";
|
|
39
|
+
ytd: "ytd";
|
|
40
|
+
}>;
|
|
41
|
+
since: z.ZodString;
|
|
42
|
+
until: z.ZodString;
|
|
43
|
+
granularity: z.ZodEnum<{
|
|
44
|
+
day: "day";
|
|
45
|
+
hour: "hour";
|
|
46
|
+
}>;
|
|
47
|
+
totals: z.ZodArray<z.ZodObject<{
|
|
48
|
+
eventType: z.ZodString;
|
|
49
|
+
unit: z.ZodString;
|
|
50
|
+
quantity: z.ZodString;
|
|
51
|
+
eventCount: z.ZodString;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
54
|
+
bucket: z.ZodString;
|
|
55
|
+
totals: z.ZodArray<z.ZodObject<{
|
|
56
|
+
eventType: z.ZodString;
|
|
57
|
+
unit: z.ZodString;
|
|
58
|
+
quantity: z.ZodString;
|
|
59
|
+
eventCount: z.ZodString;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
}, z.core.$strip>>;
|
|
62
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
63
|
+
workspaceId: z.ZodString;
|
|
64
|
+
name: z.ZodNullable<z.ZodString>;
|
|
65
|
+
totals: z.ZodArray<z.ZodObject<{
|
|
66
|
+
eventType: z.ZodString;
|
|
67
|
+
unit: z.ZodString;
|
|
68
|
+
quantity: z.ZodString;
|
|
69
|
+
eventCount: z.ZodString;
|
|
70
|
+
}, z.core.$strip>>;
|
|
71
|
+
}, z.core.$strip>>;
|
|
72
|
+
nextWorkspaceCursor: z.ZodNullable<z.ZodString>;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
export type OrganizationUsageSummary = z.infer<typeof OrganizationUsageSummary>;
|
|
75
|
+
/** A page deliberately excludes totals and charts: those are not recomputed. */
|
|
76
|
+
export declare const OrganizationUsageWorkspacePage: z.ZodObject<{
|
|
77
|
+
accountId: z.ZodString;
|
|
78
|
+
period: z.ZodEnum<{
|
|
79
|
+
month: "month";
|
|
80
|
+
today: "today";
|
|
81
|
+
week: "week";
|
|
82
|
+
ytd: "ytd";
|
|
83
|
+
}>;
|
|
84
|
+
since: z.ZodString;
|
|
85
|
+
until: z.ZodString;
|
|
86
|
+
granularity: z.ZodEnum<{
|
|
87
|
+
day: "day";
|
|
88
|
+
hour: "hour";
|
|
89
|
+
}>;
|
|
90
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
91
|
+
workspaceId: z.ZodString;
|
|
92
|
+
name: z.ZodNullable<z.ZodString>;
|
|
93
|
+
totals: z.ZodArray<z.ZodObject<{
|
|
94
|
+
eventType: z.ZodString;
|
|
95
|
+
unit: z.ZodString;
|
|
96
|
+
quantity: z.ZodString;
|
|
97
|
+
eventCount: z.ZodString;
|
|
98
|
+
}, z.core.$strip>>;
|
|
99
|
+
}, z.core.$strip>>;
|
|
100
|
+
nextWorkspaceCursor: z.ZodNullable<z.ZodString>;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
export type OrganizationUsageWorkspacePage = z.infer<typeof OrganizationUsageWorkspacePage>;
|
|
@@ -277,6 +277,7 @@ export declare const PersonalGitHubConnectionStatusResponse: z.ZodObject<{
|
|
|
277
277
|
connection: z.ZodNullable<z.ZodObject<{
|
|
278
278
|
id: z.ZodString;
|
|
279
279
|
authorityId: z.ZodOptional<z.ZodString>;
|
|
280
|
+
connectionAuthorityGeneration: z.ZodOptional<z.ZodNumber>;
|
|
280
281
|
accountId: z.ZodString;
|
|
281
282
|
workspaceId: z.ZodString;
|
|
282
283
|
subjectId: z.ZodNullable<z.ZodString>;
|
package/dist/personal-github.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConnectionMetadata
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CM7E7PFV.js";
|
|
4
4
|
import "./chunk-YBW5JSA3.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-ENJTPHKP.js";
|
|
6
6
|
import "./chunk-GRG7PHWQ.js";
|
|
7
7
|
import "./chunk-RKX3NQYS.js";
|
|
8
8
|
import "./chunk-MRWYRAS5.js";
|
|
@@ -12,10 +12,10 @@ import "./chunk-YRKRZ6OF.js";
|
|
|
12
12
|
import "./chunk-JUFK3T4Q.js";
|
|
13
13
|
import "./chunk-M5ZGRVIQ.js";
|
|
14
14
|
import "./chunk-BCS7WHCK.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-YJEOWXOE.js";
|
|
16
16
|
import "./chunk-Y3KNXVTD.js";
|
|
17
|
-
import "./chunk-D2HKF2EF.js";
|
|
18
17
|
import "./chunk-TXTQIYCV.js";
|
|
18
|
+
import "./chunk-D2HKF2EF.js";
|
|
19
19
|
import "./chunk-RIY7GYQS.js";
|
|
20
20
|
import "./chunk-MYBZRDTY.js";
|
|
21
21
|
import "./chunk-PX3VCKAU.js";
|
package/dist/remember.d.ts
CHANGED
|
@@ -88,13 +88,14 @@ export declare const RememberHumanInputPrompt: z.ZodObject<{
|
|
|
88
88
|
prompt: z.ZodString;
|
|
89
89
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
90
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
-
skillReview: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
skillReview: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
92
|
+
removalOperationId: z.ZodOptional<z.ZodUUID>;
|
|
92
93
|
sourceOperationId: z.ZodUUID;
|
|
93
94
|
skillId: z.ZodUUID;
|
|
94
95
|
revisionId: z.ZodUUID;
|
|
95
96
|
expectedRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
96
97
|
expectedScopeVersion: z.ZodNumber;
|
|
97
|
-
}, z.core.$strip
|
|
98
|
+
}, z.core.$strip>>>;
|
|
98
99
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
99
100
|
id: z.ZodString;
|
|
100
101
|
label: z.ZodString;
|
|
@@ -278,13 +279,14 @@ export declare const RememberReceipt: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
278
279
|
prompt: z.ZodString;
|
|
279
280
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
280
281
|
helpText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
281
|
-
skillReview: z.ZodOptional<z.ZodObject<{
|
|
282
|
+
skillReview: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
283
|
+
removalOperationId: z.ZodOptional<z.ZodUUID>;
|
|
282
284
|
sourceOperationId: z.ZodUUID;
|
|
283
285
|
skillId: z.ZodUUID;
|
|
284
286
|
revisionId: z.ZodUUID;
|
|
285
287
|
expectedRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
286
288
|
expectedScopeVersion: z.ZodNumber;
|
|
287
|
-
}, z.core.$strip
|
|
289
|
+
}, z.core.$strip>>>;
|
|
288
290
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
289
291
|
id: z.ZodString;
|
|
290
292
|
label: z.ZodString;
|