@opengeni/contracts 3.1.0-canary.1 → 4.0.0-canary.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.
Files changed (46) hide show
  1. package/dist/agent-instruction-changes.d.ts +110 -0
  2. package/dist/agent-learning.d.ts +243 -0
  3. package/dist/artifact-catalog.d.ts +159 -0
  4. package/dist/atlassian.js +2 -2
  5. package/dist/{chunk-TEMFILR7.js → chunk-2AC63F4S.js} +30 -2
  6. package/dist/chunk-2AC63F4S.js.map +1 -0
  7. package/dist/{chunk-UR2GFYIE.js → chunk-HR6NB3CA.js} +8514 -7977
  8. package/dist/chunk-HR6NB3CA.js.map +1 -0
  9. package/dist/{chunk-OSBYTE3O.js → chunk-J6QIYKO5.js} +2 -2
  10. package/dist/{chunk-WBYTNVIW.js → chunk-RKX3NQYS.js} +1 -1
  11. package/dist/company-brain.d.ts +19 -81
  12. package/dist/connect.js +2 -2
  13. package/dist/connection-authority.js +3 -3
  14. package/dist/external-identities.d.ts +36 -0
  15. package/dist/external-identities.js +7 -1
  16. package/dist/google-drive.js +2 -2
  17. package/dist/host-mcp-bindings.d.ts +34 -10
  18. package/dist/host-mcp-bindings.js +28 -6
  19. package/dist/host-mcp-bindings.js.map +1 -1
  20. package/dist/host-mcp-resolvers.d.ts +32 -0
  21. package/dist/host-mcp-resolvers.js +34 -0
  22. package/dist/host-mcp-resolvers.js.map +1 -0
  23. package/dist/index.d.ts +1126 -75
  24. package/dist/index.js +129 -35
  25. package/dist/knowledge-entries.d.ts +905 -0
  26. package/dist/mcp-endpoint.js +9 -0
  27. package/dist/mcp-endpoint.js.map +1 -0
  28. package/dist/personal-github.js +2 -2
  29. package/dist/plugin-discovery.js +1 -1
  30. package/dist/workspace-instruction-policies.d.ts +13 -0
  31. package/dist/workspace-state.d.ts +85 -416
  32. package/package.json +9 -1
  33. package/src/agent-instruction-changes.ts +98 -0
  34. package/src/agent-learning.ts +161 -0
  35. package/src/artifact-catalog.ts +60 -0
  36. package/src/external-identities.ts +44 -0
  37. package/src/host-mcp-bindings.ts +41 -1
  38. package/src/host-mcp-resolvers.ts +50 -0
  39. package/src/index.ts +164 -11
  40. package/src/knowledge-entries.ts +343 -0
  41. package/src/workspace-instruction-policies.ts +1 -0
  42. package/src/workspace-state.ts +16 -126
  43. package/dist/chunk-TEMFILR7.js.map +0 -1
  44. package/dist/chunk-UR2GFYIE.js.map +0 -1
  45. /package/dist/{chunk-OSBYTE3O.js.map → chunk-J6QIYKO5.js.map} +0 -0
  46. /package/dist/{chunk-WBYTNVIW.js.map → chunk-RKX3NQYS.js.map} +0 -0
@@ -0,0 +1,110 @@
1
+ import { z } from "zod";
2
+ export declare const AgentInstructionEditMode: z.ZodEnum<{
3
+ append: "append";
4
+ edit: "edit";
5
+ }>;
6
+ export type AgentInstructionEditMode = z.infer<typeof AgentInstructionEditMode>;
7
+ export declare const AgentInstructionSaveRequest: z.ZodObject<{
8
+ operationId: z.ZodUUID;
9
+ target: z.ZodObject<{
10
+ kind: z.ZodEnum<{
11
+ charter: "charter";
12
+ policy: "policy";
13
+ }>;
14
+ scope: z.ZodEnum<{
15
+ global: "global";
16
+ role: "role";
17
+ }>;
18
+ roleKey: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$strip>;
20
+ editMode: z.ZodEnum<{
21
+ append: "append";
22
+ edit: "edit";
23
+ }>;
24
+ content: z.ZodOptional<z.ZodString>;
25
+ oldText: z.ZodOptional<z.ZodString>;
26
+ newText: z.ZodOptional<z.ZodString>;
27
+ expectedCurrentRevisionId: z.ZodNullable<z.ZodUUID>;
28
+ expectedActivationVersion: z.ZodNumber;
29
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
30
+ entryId: z.ZodUUID;
31
+ revisionId: z.ZodUUID;
32
+ location: z.ZodDefault<z.ZodObject<{
33
+ page: z.ZodOptional<z.ZodNumber>;
34
+ passage: z.ZodOptional<z.ZodString>;
35
+ messageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
+ path: z.ZodOptional<z.ZodString>;
37
+ commit: z.ZodOptional<z.ZodString>;
38
+ lineStart: z.ZodOptional<z.ZodNumber>;
39
+ lineEnd: z.ZodOptional<z.ZodNumber>;
40
+ }, z.core.$strict>>;
41
+ quote: z.ZodOptional<z.ZodString>;
42
+ }, z.core.$strict>>>;
43
+ reason: z.ZodString;
44
+ }, z.core.$strict>;
45
+ export type AgentInstructionSaveRequest = z.input<typeof AgentInstructionSaveRequest>;
46
+ export declare const AgentInstructionReviewRequest: z.ZodObject<{
47
+ operationId: z.ZodUUID;
48
+ revisionId: z.ZodUUID;
49
+ decision: z.ZodEnum<{
50
+ approve: "approve";
51
+ reject: "reject";
52
+ }>;
53
+ reason: z.ZodString;
54
+ }, z.core.$strict>;
55
+ export type AgentInstructionReviewRequest = z.infer<typeof AgentInstructionReviewRequest>;
56
+ export declare const AgentInstructionReceipt: z.ZodObject<{
57
+ operationId: z.ZodUUID;
58
+ revisionId: z.ZodUUID;
59
+ outcome: z.ZodEnum<{
60
+ pending: "pending";
61
+ published: "published";
62
+ rejected: "rejected";
63
+ }>;
64
+ reviewBatchId: z.ZodNullable<z.ZodUUID>;
65
+ replayed: z.ZodBoolean;
66
+ }, z.core.$strip>;
67
+ export type AgentInstructionReceipt = z.infer<typeof AgentInstructionReceipt>;
68
+ export declare const AgentInstructionReviewItem: z.ZodObject<{
69
+ revisionId: z.ZodUUID;
70
+ content: z.ZodString;
71
+ target: z.ZodObject<{
72
+ kind: z.ZodEnum<{
73
+ charter: "charter";
74
+ policy: "policy";
75
+ }>;
76
+ scope: z.ZodEnum<{
77
+ global: "global";
78
+ role: "role";
79
+ }>;
80
+ roleKey: z.ZodNullable<z.ZodString>;
81
+ }, z.core.$strip>;
82
+ reviewBatchId: z.ZodNullable<z.ZodUUID>;
83
+ sessionId: z.ZodNullable<z.ZodUUID>;
84
+ reason: z.ZodString;
85
+ createdAt: z.ZodString;
86
+ }, z.core.$strip>;
87
+ export type AgentInstructionReviewItem = z.infer<typeof AgentInstructionReviewItem>;
88
+ export declare const AgentInstructionReviewListResponse: z.ZodObject<{
89
+ entries: z.ZodArray<z.ZodObject<{
90
+ revisionId: z.ZodUUID;
91
+ content: z.ZodString;
92
+ target: z.ZodObject<{
93
+ kind: z.ZodEnum<{
94
+ charter: "charter";
95
+ policy: "policy";
96
+ }>;
97
+ scope: z.ZodEnum<{
98
+ global: "global";
99
+ role: "role";
100
+ }>;
101
+ roleKey: z.ZodNullable<z.ZodString>;
102
+ }, z.core.$strip>;
103
+ reviewBatchId: z.ZodNullable<z.ZodUUID>;
104
+ sessionId: z.ZodNullable<z.ZodUUID>;
105
+ reason: z.ZodString;
106
+ createdAt: z.ZodString;
107
+ }, z.core.$strip>>;
108
+ nextCursor: z.ZodNullable<z.ZodString>;
109
+ }, z.core.$strip>;
110
+ export type AgentInstructionReviewListResponse = z.infer<typeof AgentInstructionReviewListResponse>;
@@ -0,0 +1,243 @@
1
+ import { z } from "zod";
2
+ /** Review controls publication. It never grants content or external-action authority. */
3
+ export declare const AgentLearningMode: z.ZodEnum<{
4
+ automatic: "automatic";
5
+ off: "off";
6
+ review_first: "review_first";
7
+ }>;
8
+ export type AgentLearningMode = z.infer<typeof AgentLearningMode>;
9
+ export declare const AgentLearningCategory: z.ZodEnum<{
10
+ instructions: "instructions";
11
+ knowledge: "knowledge";
12
+ skills: "skills";
13
+ }>;
14
+ export type AgentLearningCategory = z.infer<typeof AgentLearningCategory>;
15
+ export declare const AgentLearningDefaults: z.ZodObject<{
16
+ knowledge: z.ZodEnum<{
17
+ automatic: "automatic";
18
+ off: "off";
19
+ review_first: "review_first";
20
+ }>;
21
+ instructions: z.ZodEnum<{
22
+ automatic: "automatic";
23
+ off: "off";
24
+ review_first: "review_first";
25
+ }>;
26
+ skills: z.ZodEnum<{
27
+ automatic: "automatic";
28
+ off: "off";
29
+ review_first: "review_first";
30
+ }>;
31
+ }, z.core.$strict>;
32
+ export type AgentLearningDefaults = z.infer<typeof AgentLearningDefaults>;
33
+ export declare const DEFAULT_AGENT_LEARNING: Readonly<AgentLearningDefaults>;
34
+ /** An absent category inherits. `inherit` is a reset request, not persisted policy. */
35
+ export declare const AgentLearningOverrides: z.ZodObject<{
36
+ knowledge: z.ZodOptional<z.ZodEnum<{
37
+ automatic: "automatic";
38
+ off: "off";
39
+ review_first: "review_first";
40
+ }>>;
41
+ instructions: z.ZodOptional<z.ZodEnum<{
42
+ automatic: "automatic";
43
+ off: "off";
44
+ review_first: "review_first";
45
+ }>>;
46
+ skills: z.ZodOptional<z.ZodEnum<{
47
+ automatic: "automatic";
48
+ off: "off";
49
+ review_first: "review_first";
50
+ }>>;
51
+ }, z.core.$strict>;
52
+ export type AgentLearningOverrides = z.infer<typeof AgentLearningOverrides>;
53
+ export declare const AgentLearningOverridePatch: z.ZodObject<{
54
+ knowledge: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
55
+ automatic: "automatic";
56
+ off: "off";
57
+ review_first: "review_first";
58
+ }>, z.ZodLiteral<"inherit">]>>;
59
+ instructions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
60
+ automatic: "automatic";
61
+ off: "off";
62
+ review_first: "review_first";
63
+ }>, z.ZodLiteral<"inherit">]>>;
64
+ skills: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
65
+ automatic: "automatic";
66
+ off: "off";
67
+ review_first: "review_first";
68
+ }>, z.ZodLiteral<"inherit">]>>;
69
+ }, z.core.$strict>;
70
+ export type AgentLearningOverridePatch = z.infer<typeof AgentLearningOverridePatch>;
71
+ export declare const AgentLearningContext: z.ZodDiscriminatedUnion<[z.ZodObject<{
72
+ kind: z.ZodLiteral<"chat">;
73
+ id: z.ZodUUID;
74
+ }, z.core.$strict>, z.ZodObject<{
75
+ kind: z.ZodLiteral<"scheduled_task">;
76
+ id: z.ZodUUID;
77
+ }, z.core.$strict>], "kind">;
78
+ export type AgentLearningContext = z.infer<typeof AgentLearningContext>;
79
+ export declare const AgentLearningOwner: z.ZodDiscriminatedUnion<[z.ZodObject<{
80
+ kind: z.ZodLiteral<"workspace">;
81
+ workspaceId: z.ZodUUID;
82
+ }, z.core.$strict>, z.ZodObject<{
83
+ kind: z.ZodLiteral<"personal">;
84
+ subjectId: z.ZodString;
85
+ }, z.core.$strict>], "kind">;
86
+ export type AgentLearningOwner = z.infer<typeof AgentLearningOwner>;
87
+ export declare const AgentLearningSettings: z.ZodObject<{
88
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
89
+ kind: z.ZodLiteral<"workspace">;
90
+ workspaceId: z.ZodUUID;
91
+ }, z.core.$strict>, z.ZodObject<{
92
+ kind: z.ZodLiteral<"personal">;
93
+ subjectId: z.ZodString;
94
+ }, z.core.$strict>], "kind">;
95
+ version: z.ZodNumber;
96
+ defaults: z.ZodObject<{
97
+ knowledge: z.ZodEnum<{
98
+ automatic: "automatic";
99
+ off: "off";
100
+ review_first: "review_first";
101
+ }>;
102
+ instructions: z.ZodEnum<{
103
+ automatic: "automatic";
104
+ off: "off";
105
+ review_first: "review_first";
106
+ }>;
107
+ skills: z.ZodEnum<{
108
+ automatic: "automatic";
109
+ off: "off";
110
+ review_first: "review_first";
111
+ }>;
112
+ }, z.core.$strict>;
113
+ }, z.core.$strict>;
114
+ export type AgentLearningSettings = z.infer<typeof AgentLearningSettings>;
115
+ export declare const AgentLearningContextSettings: z.ZodObject<{
116
+ context: z.ZodDiscriminatedUnion<[z.ZodObject<{
117
+ kind: z.ZodLiteral<"chat">;
118
+ id: z.ZodUUID;
119
+ }, z.core.$strict>, z.ZodObject<{
120
+ kind: z.ZodLiteral<"scheduled_task">;
121
+ id: z.ZodUUID;
122
+ }, z.core.$strict>], "kind">;
123
+ version: z.ZodNumber;
124
+ overrides: z.ZodObject<{
125
+ knowledge: z.ZodOptional<z.ZodEnum<{
126
+ automatic: "automatic";
127
+ off: "off";
128
+ review_first: "review_first";
129
+ }>>;
130
+ instructions: z.ZodOptional<z.ZodEnum<{
131
+ automatic: "automatic";
132
+ off: "off";
133
+ review_first: "review_first";
134
+ }>>;
135
+ skills: z.ZodOptional<z.ZodEnum<{
136
+ automatic: "automatic";
137
+ off: "off";
138
+ review_first: "review_first";
139
+ }>>;
140
+ }, z.core.$strict>;
141
+ }, z.core.$strict>;
142
+ export type AgentLearningContextSettings = z.infer<typeof AgentLearningContextSettings>;
143
+ /** Versioned settings returned by both central and contextual editors. */
144
+ export declare const AgentLearningSettingsRecord: z.ZodObject<{
145
+ ownerKey: z.ZodString;
146
+ contextKey: z.ZodString;
147
+ version: z.ZodNumber;
148
+ settings: z.ZodObject<{
149
+ knowledge: z.ZodOptional<z.ZodEnum<{
150
+ automatic: "automatic";
151
+ off: "off";
152
+ review_first: "review_first";
153
+ }>>;
154
+ instructions: z.ZodOptional<z.ZodEnum<{
155
+ automatic: "automatic";
156
+ off: "off";
157
+ review_first: "review_first";
158
+ }>>;
159
+ skills: z.ZodOptional<z.ZodEnum<{
160
+ automatic: "automatic";
161
+ off: "off";
162
+ review_first: "review_first";
163
+ }>>;
164
+ }, z.core.$strict>;
165
+ }, z.core.$strip>;
166
+ export type AgentLearningSettingsRecord = z.infer<typeof AgentLearningSettingsRecord>;
167
+ export declare const AgentLearningOverrideRecord: z.ZodObject<{
168
+ contextKey: z.ZodString;
169
+ version: z.ZodNumber;
170
+ settings: z.ZodObject<{
171
+ knowledge: z.ZodOptional<z.ZodEnum<{
172
+ automatic: "automatic";
173
+ off: "off";
174
+ review_first: "review_first";
175
+ }>>;
176
+ instructions: z.ZodOptional<z.ZodEnum<{
177
+ automatic: "automatic";
178
+ off: "off";
179
+ review_first: "review_first";
180
+ }>>;
181
+ skills: z.ZodOptional<z.ZodEnum<{
182
+ automatic: "automatic";
183
+ off: "off";
184
+ review_first: "review_first";
185
+ }>>;
186
+ }, z.core.$strict>;
187
+ updatedAt: z.ZodString;
188
+ label: z.ZodString;
189
+ }, z.core.$strip>;
190
+ export type AgentLearningOverrideRecord = z.infer<typeof AgentLearningOverrideRecord>;
191
+ export type SaveAgentLearningSettingsRequest = {
192
+ scope: "workspace" | "personal";
193
+ source?: AgentLearningContext;
194
+ operationId: string;
195
+ expectedVersion: number;
196
+ settings: AgentLearningOverridePatch;
197
+ };
198
+ export declare const AgentLearningEffectiveCategory: z.ZodObject<{
199
+ mode: z.ZodEnum<{
200
+ automatic: "automatic";
201
+ off: "off";
202
+ review_first: "review_first";
203
+ }>;
204
+ inherited: z.ZodBoolean;
205
+ }, z.core.$strict>;
206
+ export declare const AgentLearningEffectivePolicy: z.ZodObject<{
207
+ knowledge: z.ZodObject<{
208
+ mode: z.ZodEnum<{
209
+ automatic: "automatic";
210
+ off: "off";
211
+ review_first: "review_first";
212
+ }>;
213
+ inherited: z.ZodBoolean;
214
+ }, z.core.$strict>;
215
+ instructions: z.ZodObject<{
216
+ mode: z.ZodEnum<{
217
+ automatic: "automatic";
218
+ off: "off";
219
+ review_first: "review_first";
220
+ }>;
221
+ inherited: z.ZodBoolean;
222
+ }, z.core.$strict>;
223
+ skills: z.ZodObject<{
224
+ mode: z.ZodEnum<{
225
+ automatic: "automatic";
226
+ off: "off";
227
+ review_first: "review_first";
228
+ }>;
229
+ inherited: z.ZodBoolean;
230
+ }, z.core.$strict>;
231
+ }, z.core.$strict>;
232
+ export type AgentLearningEffectivePolicy = z.infer<typeof AgentLearningEffectivePolicy>;
233
+ /** Apply only at an authorized settings boundary; this function confers no authority. */
234
+ export declare function patchAgentLearningOverrides(current: AgentLearningOverrides, patch: AgentLearningOverridePatch): AgentLearningOverrides;
235
+ /** Pure resolution over accepted settings. Runtime callers persist the resulting snapshot. */
236
+ export declare function resolveAgentLearningPolicy(defaults: AgentLearningDefaults, overrides: AgentLearningOverrides): AgentLearningEffectivePolicy;
237
+ /** Migration adapter preserves explicit opt-outs and existing instruction/Skill choices. */
238
+ export declare function agentLearningDefaultsFromLegacy(input: {
239
+ memoryEnabled?: boolean;
240
+ workspaceMode?: "off" | "suggest" | "automatic";
241
+ }): AgentLearningDefaults;
242
+ /** Existing instruction and Skill lifecycles retain their native mode vocabulary. */
243
+ export declare function agentLearningDestinationMode(mode: AgentLearningMode): "automatic" | "off" | "suggest";
@@ -0,0 +1,159 @@
1
+ import { z } from "zod";
2
+ export declare const ArtifactCatalogKind: z.ZodEnum<{
3
+ document: "document";
4
+ file: "file";
5
+ image: "image";
6
+ presentation: "presentation";
7
+ site: "site";
8
+ spreadsheet: "spreadsheet";
9
+ }>;
10
+ export type ArtifactCatalogKind = z.infer<typeof ArtifactCatalogKind>;
11
+ /** Metadata only: native domain IDs, never content, storage keys or credentials. */
12
+ export declare const ArtifactCatalogItem: z.ZodObject<{
13
+ id: z.ZodString;
14
+ kind: z.ZodEnum<{
15
+ document: "document";
16
+ file: "file";
17
+ image: "image";
18
+ presentation: "presentation";
19
+ site: "site";
20
+ spreadsheet: "spreadsheet";
21
+ }>;
22
+ title: z.ZodString;
23
+ createdAt: z.ZodString;
24
+ updatedAt: z.ZodString;
25
+ status: z.ZodEnum<{
26
+ active: "active";
27
+ archived: "archived";
28
+ }>;
29
+ sourceSessionId: z.ZodOptional<z.ZodString>;
30
+ versionId: z.ZodOptional<z.ZodString>;
31
+ file: z.ZodOptional<z.ZodObject<{
32
+ available: z.ZodLiteral<true>;
33
+ artifactId: z.ZodString;
34
+ kind: z.ZodEnum<{
35
+ assistant_completion: "assistant_completion";
36
+ computer_screenshot: "computer_screenshot";
37
+ event_media: "event_media";
38
+ file: "file";
39
+ generated_image: "generated_image";
40
+ generated_video: "generated_video";
41
+ internal_update: "internal_update";
42
+ tool_result: "tool_result";
43
+ }>;
44
+ contentType: z.ZodString;
45
+ originalBytes: z.ZodNumber;
46
+ sha256: z.ZodString;
47
+ retainedAt: z.ZodString;
48
+ dimensions: z.ZodOptional<z.ZodObject<{
49
+ width: z.ZodNumber;
50
+ height: z.ZodNumber;
51
+ }, z.core.$strict>>;
52
+ retention: z.ZodUnion<readonly [z.ZodObject<{
53
+ policy: z.ZodLiteral<"workspace_file">;
54
+ expiresAt: z.ZodNull;
55
+ }, z.core.$strict>, z.ZodObject<{
56
+ policy: z.ZodLiteral<"session_screenshot">;
57
+ expiresAt: z.ZodString;
58
+ }, z.core.$strict>]>;
59
+ retrieval: z.ZodObject<{
60
+ method: z.ZodLiteral<"GET">;
61
+ path: z.ZodString;
62
+ acceptRanges: z.ZodLiteral<"bytes">;
63
+ maxRangeBytes: z.ZodNumber;
64
+ }, z.core.$strict>;
65
+ }, z.core.$strict>>;
66
+ filename: z.ZodOptional<z.ZodString>;
67
+ contentType: z.ZodOptional<z.ZodString>;
68
+ sizeBytes: z.ZodOptional<z.ZodNumber>;
69
+ }, z.core.$strict>;
70
+ export type ArtifactCatalogItem = z.infer<typeof ArtifactCatalogItem>;
71
+ export declare const ArtifactCatalogListQuery: z.ZodObject<{
72
+ sourceSessionId: z.ZodOptional<z.ZodString>;
73
+ q: z.ZodOptional<z.ZodString>;
74
+ kind: z.ZodOptional<z.ZodEnum<{
75
+ document: "document";
76
+ file: "file";
77
+ image: "image";
78
+ presentation: "presentation";
79
+ site: "site";
80
+ spreadsheet: "spreadsheet";
81
+ }>>;
82
+ sort: z.ZodDefault<z.ZodEnum<{
83
+ newest: "newest";
84
+ title: "title";
85
+ updated: "updated";
86
+ }>>;
87
+ status: z.ZodDefault<z.ZodEnum<{
88
+ active: "active";
89
+ archived: "archived";
90
+ }>>;
91
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
92
+ cursor: z.ZodOptional<z.ZodString>;
93
+ }, z.core.$strict>;
94
+ export type ArtifactCatalogListQuery = z.infer<typeof ArtifactCatalogListQuery>;
95
+ export type ArtifactCatalogListOptions = Omit<z.input<typeof ArtifactCatalogListQuery>, "limit"> & {
96
+ limit?: number;
97
+ };
98
+ export declare const ArtifactCatalogListResponse: z.ZodObject<{
99
+ items: z.ZodArray<z.ZodObject<{
100
+ id: z.ZodString;
101
+ kind: z.ZodEnum<{
102
+ document: "document";
103
+ file: "file";
104
+ image: "image";
105
+ presentation: "presentation";
106
+ site: "site";
107
+ spreadsheet: "spreadsheet";
108
+ }>;
109
+ title: z.ZodString;
110
+ createdAt: z.ZodString;
111
+ updatedAt: z.ZodString;
112
+ status: z.ZodEnum<{
113
+ active: "active";
114
+ archived: "archived";
115
+ }>;
116
+ sourceSessionId: z.ZodOptional<z.ZodString>;
117
+ versionId: z.ZodOptional<z.ZodString>;
118
+ file: z.ZodOptional<z.ZodObject<{
119
+ available: z.ZodLiteral<true>;
120
+ artifactId: z.ZodString;
121
+ kind: z.ZodEnum<{
122
+ assistant_completion: "assistant_completion";
123
+ computer_screenshot: "computer_screenshot";
124
+ event_media: "event_media";
125
+ file: "file";
126
+ generated_image: "generated_image";
127
+ generated_video: "generated_video";
128
+ internal_update: "internal_update";
129
+ tool_result: "tool_result";
130
+ }>;
131
+ contentType: z.ZodString;
132
+ originalBytes: z.ZodNumber;
133
+ sha256: z.ZodString;
134
+ retainedAt: z.ZodString;
135
+ dimensions: z.ZodOptional<z.ZodObject<{
136
+ width: z.ZodNumber;
137
+ height: z.ZodNumber;
138
+ }, z.core.$strict>>;
139
+ retention: z.ZodUnion<readonly [z.ZodObject<{
140
+ policy: z.ZodLiteral<"workspace_file">;
141
+ expiresAt: z.ZodNull;
142
+ }, z.core.$strict>, z.ZodObject<{
143
+ policy: z.ZodLiteral<"session_screenshot">;
144
+ expiresAt: z.ZodString;
145
+ }, z.core.$strict>]>;
146
+ retrieval: z.ZodObject<{
147
+ method: z.ZodLiteral<"GET">;
148
+ path: z.ZodString;
149
+ acceptRanges: z.ZodLiteral<"bytes">;
150
+ maxRangeBytes: z.ZodNumber;
151
+ }, z.core.$strict>;
152
+ }, z.core.$strict>>;
153
+ filename: z.ZodOptional<z.ZodString>;
154
+ contentType: z.ZodOptional<z.ZodString>;
155
+ sizeBytes: z.ZodOptional<z.ZodNumber>;
156
+ }, z.core.$strict>>;
157
+ nextCursor: z.ZodNullable<z.ZodString>;
158
+ }, z.core.$strict>;
159
+ export type ArtifactCatalogListResponse = z.infer<typeof ArtifactCatalogListResponse>;
package/dist/atlassian.js CHANGED
@@ -17,11 +17,11 @@ import {
17
17
  AtlassianSyncCadence,
18
18
  SaveAtlassianSourcesRequest,
19
19
  atlassianScopesAllowRead
20
- } from "./chunk-UR2GFYIE.js";
21
- import "./chunk-WBYTNVIW.js";
20
+ } from "./chunk-HR6NB3CA.js";
22
21
  import "./chunk-YBW5JSA3.js";
23
22
  import "./chunk-O5LEQHDM.js";
24
23
  import "./chunk-GRG7PHWQ.js";
24
+ import "./chunk-RKX3NQYS.js";
25
25
  import "./chunk-MRWYRAS5.js";
26
26
  import "./chunk-3SIZGL3O.js";
27
27
  import "./chunk-NVJMJWLL.js";
@@ -23,7 +23,32 @@ var ExternalIdentityReference = z.object({
23
23
  }).strict();
24
24
  var AddExternalWorkspaceMemberRequest = z.object({
25
25
  identity: ExternalIdentityReference,
26
- permissions: z.array(Permission).min(1).max(Permission.options.length)
26
+ permissions: z.array(Permission).min(1).max(Permission.options.length),
27
+ /** Opt-in durable operation identity; unkeyed legacy requests are not cancellable. */
28
+ operationId: z.string().uuid().optional()
29
+ }).strict();
30
+ var ExternalIdentityLookup = z.discriminatedUnion("found", [
31
+ z.object({ found: z.literal(false) }).strict(),
32
+ z.object({
33
+ found: z.literal(true),
34
+ subjectId: externalSubject,
35
+ organizationMembershipId: z.string().uuid(),
36
+ identityStatus: z.enum(["active", "disabled", "revoked"]),
37
+ identityAuthorizationRevision: z.number().int().positive().safe(),
38
+ membershipStatus: z.enum(["provisioning", "active", "suspended", "revoked"]),
39
+ membershipAuthorizationRevision: z.number().int().positive().safe()
40
+ }).strict()
41
+ ]);
42
+ var CancelExternalWorkspaceMemberGrantRequest = z.object({
43
+ operationId: z.string().uuid(),
44
+ cancelGrantOperationId: z.string().uuid()
45
+ }).strict().refine((value) => value.operationId !== value.cancelGrantOperationId, {
46
+ message: "Revocation and grant must use different operation identities"
47
+ });
48
+ var CancelExternalWorkspaceMemberGrantResponse = z.object({
49
+ removed: z.boolean(),
50
+ replay: z.boolean(),
51
+ fencedGrantOperationId: z.string().uuid()
27
52
  }).strict();
28
53
  var UpdateExternalIdentityMembershipRequest = z.object({
29
54
  kind: z.enum(["suspend", "reactivate", "offboard"]),
@@ -127,6 +152,9 @@ var ExternalLinkWorkSnapshot = z.object({
127
152
  export {
128
153
  ExternalIdentityReference,
129
154
  AddExternalWorkspaceMemberRequest,
155
+ ExternalIdentityLookup,
156
+ CancelExternalWorkspaceMemberGrantRequest,
157
+ CancelExternalWorkspaceMemberGrantResponse,
130
158
  UpdateExternalIdentityMembershipRequest,
131
159
  ExternalActorSelection,
132
160
  ExternalIdentity,
@@ -140,4 +168,4 @@ export {
140
168
  ExternalIdentityLinkPreview,
141
169
  ExternalLinkWorkSnapshot
142
170
  };
143
- //# sourceMappingURL=chunk-TEMFILR7.js.map
171
+ //# sourceMappingURL=chunk-2AC63F4S.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/external-identities.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { Permission } from \"./permissions\";\n\n// External identifiers are opaque, case-sensitive strings. In particular a\n// native-looking identifier is still host data, never a native subject claim.\n// Bound bytes, not just JS code units: these values share a PostgreSQL B-tree\n// index entry. Never normalize/truncate an identifier to make it fit, and reject\n// text that the driver would replace or PostgreSQL cannot represent.\nconst encoder = new TextEncoder();\nfunction opaqueText(maxBytes: number) {\n return z\n .string()\n .min(1)\n .max(maxBytes)\n .refine(\n (value) =>\n !value.includes(\"\\0\") &&\n !/[\\uD800-\\uDFFF]/u.test(value) &&\n encoder.encode(value).byteLength <= maxBytes,\n {\n message: `Identifier must be valid PostgreSQL Unicode text of at most ${maxBytes} UTF-8 bytes`,\n },\n );\n}\nconst externalId = opaqueText(1024);\nconst source = opaqueText(200);\nconst externalSubject = z\n .string()\n .regex(/^external_user:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$(?![\\s\\S])/);\nconst nativeSubject = z\n .string()\n .min(1)\n .max(1024)\n .regex(/^user:[^\\r\\n]+$(?![\\s\\S])/);\nexport const ExternalIdentityReference = z\n .object({\n externalId,\n source: source.default(\"default\"),\n })\n .strict();\nexport type ExternalIdentityReference = z.infer<typeof ExternalIdentityReference>;\n\nexport const AddExternalWorkspaceMemberRequest = z\n .object({\n identity: ExternalIdentityReference,\n permissions: z.array(Permission).min(1).max(Permission.options.length),\n /** Opt-in durable operation identity; unkeyed legacy requests are not cancellable. */\n operationId: z.string().uuid().optional(),\n })\n .strict();\nexport type AddExternalWorkspaceMemberRequest = z.infer<typeof AddExternalWorkspaceMemberRequest>;\n\n/** Content-free service lookup, including identities which can no longer act. */\nexport const ExternalIdentityLookup = z.discriminatedUnion(\"found\", [\n z.object({ found: z.literal(false) }).strict(),\n z\n .object({\n found: z.literal(true),\n subjectId: externalSubject,\n organizationMembershipId: z.string().uuid(),\n identityStatus: z.enum([\"active\", \"disabled\", \"revoked\"]),\n identityAuthorizationRevision: z.number().int().positive().safe(),\n membershipStatus: z.enum([\"provisioning\", \"active\", \"suspended\", \"revoked\"]),\n membershipAuthorizationRevision: z.number().int().positive().safe(),\n })\n .strict(),\n]);\nexport type ExternalIdentityLookup = z.infer<typeof ExternalIdentityLookup>;\n\n/** Terminal withdrawal of this external member's workspace access, also fencing\n * an exact earlier onboarding operation whether or not it has reached the API. */\nexport const CancelExternalWorkspaceMemberGrantRequest = z\n .object({\n operationId: z.string().uuid(),\n cancelGrantOperationId: z.string().uuid(),\n })\n .strict()\n .refine((value) => value.operationId !== value.cancelGrantOperationId, {\n message: \"Revocation and grant must use different operation identities\",\n });\nexport type CancelExternalWorkspaceMemberGrantRequest = z.infer<\n typeof CancelExternalWorkspaceMemberGrantRequest\n>;\nexport const CancelExternalWorkspaceMemberGrantResponse = z\n .object({\n removed: z.boolean(),\n replay: z.boolean(),\n fencedGrantOperationId: z.string().uuid(),\n })\n .strict();\nexport type CancelExternalWorkspaceMemberGrantResponse = z.infer<\n typeof CancelExternalWorkspaceMemberGrantResponse\n>;\n\n/** Uses the organization membership ID returned by lazy identity admission.\n * Reactivation restores admission only, not revoked work or workspace grants. */\nexport const UpdateExternalIdentityMembershipRequest = z\n .object({\n kind: z.enum([\"suspend\", \"reactivate\", \"offboard\"]),\n expectedAuthorizationRevision: z.number().int().positive().safe(),\n operationId: z.string().uuid(),\n reason: z.string().max(512).optional(),\n })\n .strict();\nexport type UpdateExternalIdentityMembershipRequest = z.infer<\n typeof UpdateExternalIdentityMembershipRequest\n>;\n\nexport const ExternalActorSelection = z.discriminatedUnion(\"mode\", [\n z.object({ mode: z.literal(\"external\"), identity: ExternalIdentityReference }).strict(),\n z\n .object({\n mode: z.literal(\"linked_native\"),\n identity: ExternalIdentityReference,\n linkId: z.string().uuid(),\n expectedLinkRevision: z.number().int().positive().safe(),\n })\n .strict(),\n]);\nexport type ExternalActorSelection = z.infer<typeof ExternalActorSelection>;\n\nexport const ExternalIdentity = z\n .object({\n id: z.string().uuid(),\n accountId: z.string().uuid(),\n source,\n externalId,\n subjectId: externalSubject,\n organizationMembershipId: z.string().uuid(),\n personalWorkspaceId: z.string().uuid(),\n status: z.enum([\"active\", \"disabled\", \"revoked\"]),\n authorizationRevision: z.number().int().positive().safe(),\n })\n .strict();\nexport type ExternalIdentity = z.infer<typeof ExternalIdentity>;\n\n// Audit attribution, not authentication. Only the canonical access resolver\n// may establish provenance; accepting this JSON from a browser proves nothing.\nexport const ExternalActorAttribution = z\n .object({\n accountId: z.string().uuid(),\n authenticatingApiKeyId: z.string().uuid(),\n externalIdentityId: z.string().uuid(),\n externalSubjectId: externalSubject,\n externalAuthorizationRevision: z.number().int().positive().safe(),\n effectiveSubjectId: z.string().min(1).max(1024),\n actingMode: z.enum([\"external\", \"linked_native\"]),\n linkId: z.string().uuid().optional(),\n linkRevision: z.number().int().positive().safe().optional(),\n })\n .strict()\n .superRefine((value, context) => {\n if (value.actingMode === \"external\") {\n if (\n value.effectiveSubjectId !== value.externalSubjectId ||\n value.linkId !== undefined ||\n value.linkRevision !== undefined\n ) {\n context.addIssue({\n code: \"custom\",\n message: \"External mode cannot delegate native identity\",\n });\n }\n } else if (\n !value.linkId ||\n !value.linkRevision ||\n !nativeSubject.safeParse(value.effectiveSubjectId).success\n ) {\n context.addIssue({\n code: \"custom\",\n message: \"Linked mode requires exact native delegation provenance\",\n });\n }\n });\nexport type ExternalActorAttribution = z.infer<typeof ExternalActorAttribution>;\n\n/** Server-signed/encrypted continuation data, never sufficient live authority. */\nexport const ExternalActorContinuation = z\n .object({\n identity: ExternalIdentityReference,\n actor: ExternalActorAttribution,\n })\n .strict();\nexport type ExternalActorContinuation = z.infer<typeof ExternalActorContinuation>;\n\nexport const ExternalIdentityLink = z\n .object({\n id: z.string().uuid(),\n accountId: z.string().uuid(),\n externalIdentityId: z.string().uuid(),\n externalIdentity: ExternalIdentityReference.optional(),\n nativeSubjectId: nativeSubject.nullable(),\n status: z.enum([\"pending\", \"active\", \"revoked\", \"expired\"]),\n revision: z.number().int().positive().safe(),\n permissions: z.array(Permission).max(Permission.options.length),\n expiresAt: z.string().datetime({ offset: true }).nullable(),\n })\n .strict()\n .refine(\n (value) => value.status !== \"active\" || value.nativeSubjectId !== null,\n \"An active link requires a confirmed native identity\",\n );\nexport type ExternalIdentityLink = z.infer<typeof ExternalIdentityLink>;\n\nexport const ExternalIdentityLinkPage = z\n .object({\n links: z.array(ExternalIdentityLink).max(50),\n nextCursor: z.string().uuid().nullable(),\n })\n .strict();\nexport type ExternalIdentityLinkPage = z.infer<typeof ExternalIdentityLinkPage>;\n\n/** A native confirmation may narrow this request, never broaden it. The\n * challenge is delivered once to the host and is not an authentication token. */\nexport const BeginExternalIdentityLinkRequest = z\n .object({\n permissions: z.array(Permission).min(1).max(Permission.options.length),\n expiresAt: z.string().datetime({ offset: true }).nullable().default(null),\n })\n .strict();\nexport type BeginExternalIdentityLinkRequest = z.input<typeof BeginExternalIdentityLinkRequest>;\nexport const ConfirmExternalIdentityLinkRequest = z\n .object({\n challenge: z.string().regex(/^[A-Za-z0-9_-]{43}$/),\n expectedRevision: z.number().int().positive().safe(),\n permissions: z.array(Permission).min(1).max(Permission.options.length),\n })\n .strict();\nexport type ConfirmExternalIdentityLinkRequest = z.infer<typeof ConfirmExternalIdentityLinkRequest>;\nexport const BeginExternalIdentityLinkResponse = z\n .object({\n link: ExternalIdentityLink,\n challenge: z.string().regex(/^[A-Za-z0-9_-]{43}$/),\n confirmBefore: z.string().datetime({ offset: true }),\n })\n .strict();\nexport type BeginExternalIdentityLinkResponse = z.infer<typeof BeginExternalIdentityLinkResponse>;\nexport const ExternalIdentityLinkPreview = z\n .object({\n link: ExternalIdentityLink,\n externalIdentity: ExternalIdentityReference,\n nativeSubjectId: nativeSubject,\n organizationId: z.string().uuid(),\n })\n .strict();\nexport type ExternalIdentityLinkPreview = z.infer<typeof ExternalIdentityLinkPreview>;\n\n/** Immutable accepted-work restriction, not a browser credential. Original key\n * identity remains audit-only; durable use validates the live link and members. */\nexport const ExternalLinkWorkSnapshot = z\n .object({\n identity: ExternalIdentityReference,\n actor: ExternalActorAttribution.refine((value) => value.actingMode === \"linked_native\"),\n permissions: z.array(Permission).max(Permission.options.length),\n })\n .strict();\nexport type ExternalLinkWorkSnapshot = z.infer<typeof ExternalLinkWorkSnapshot>;\n"],"mappings":";;;;;AAAA,SAAS,SAAS;AAQlB,IAAM,UAAU,IAAI,YAAY;AAChC,SAAS,WAAW,UAAkB;AACpC,SAAO,EACJ,OAAO,EACP,IAAI,CAAC,EACL,IAAI,QAAQ,EACZ;AAAA,IACC,CAAC,UACC,CAAC,MAAM,SAAS,IAAI,KACpB,CAAC,mBAAmB,KAAK,KAAK,KAC9B,QAAQ,OAAO,KAAK,EAAE,cAAc;AAAA,IACtC;AAAA,MACE,SAAS,+DAA+D,QAAQ;AAAA,IAClF;AAAA,EACF;AACJ;AACA,IAAM,aAAa,WAAW,IAAI;AAClC,IAAM,SAAS,WAAW,GAAG;AAC7B,IAAM,kBAAkB,EACrB,OAAO,EACP,MAAM,wFAAwF;AAC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