@opengeni/contracts 2.6.0-canary.0 → 2.7.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/agent-topology.d.ts +292 -0
- package/dist/atlassian.js +1 -1
- package/dist/{chunk-MJ3K6ICH.js → chunk-ILB4IYNN.js} +6950 -6707
- package/dist/chunk-ILB4IYNN.js.map +1 -0
- package/dist/connection-authority.js +1 -1
- package/dist/google-drive.js +1 -1
- package/dist/index.d.ts +97 -137
- package/dist/index.js +65 -1
- package/dist/personal-github.js +1 -1
- package/dist/session-topology-primitives.d.ts +22 -0
- package/dist/work-claims.d.ts +411 -0
- package/package.json +1 -1
- package/src/agent-topology.ts +69 -0
- package/src/index.ts +11 -70
- package/src/session-topology-primitives.ts +21 -0
- package/src/work-claims.ts +266 -0
- package/dist/chunk-MJ3K6ICH.js.map +0 -1
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Compact, bounded session projection for workspace agent-topology browsers. */
|
|
3
|
+
export declare const AgentTopologySession: z.ZodObject<{
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
title: z.ZodNullable<z.ZodString>;
|
|
6
|
+
titleTruncated: z.ZodBoolean;
|
|
7
|
+
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
8
|
+
rootSessionId: z.ZodString;
|
|
9
|
+
nestedAgentDepth: z.ZodNumber;
|
|
10
|
+
ancestorPath: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodString;
|
|
12
|
+
title: z.ZodNullable<z.ZodString>;
|
|
13
|
+
titleTruncated: z.ZodBoolean;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
status: z.ZodEnum<{
|
|
16
|
+
cancelled: "cancelled";
|
|
17
|
+
failed: "failed";
|
|
18
|
+
idle: "idle";
|
|
19
|
+
queued: "queued";
|
|
20
|
+
recovering: "recovering";
|
|
21
|
+
requires_action: "requires_action";
|
|
22
|
+
running: "running";
|
|
23
|
+
waiting_capacity: "waiting_capacity";
|
|
24
|
+
}>;
|
|
25
|
+
goal: z.ZodNullable<z.ZodObject<{
|
|
26
|
+
status: z.ZodEnum<{
|
|
27
|
+
active: "active";
|
|
28
|
+
completed: "completed";
|
|
29
|
+
paused: "paused";
|
|
30
|
+
}>;
|
|
31
|
+
summary: z.ZodString;
|
|
32
|
+
summaryTruncated: z.ZodBoolean;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
pause: z.ZodObject<{
|
|
35
|
+
state: z.ZodEnum<{
|
|
36
|
+
active: "active";
|
|
37
|
+
paused: "paused";
|
|
38
|
+
}>;
|
|
39
|
+
additionalBlockerCount: z.ZodNumber;
|
|
40
|
+
source: z.ZodNullable<z.ZodObject<{
|
|
41
|
+
kind: z.ZodEnum<{
|
|
42
|
+
session: "session";
|
|
43
|
+
workspace: "workspace";
|
|
44
|
+
}>;
|
|
45
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
46
|
+
displayName: z.ZodString;
|
|
47
|
+
displayNameTruncated: z.ZodBoolean;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
children: z.ZodObject<{
|
|
51
|
+
directChildren: z.ZodNumber;
|
|
52
|
+
totalDescendants: z.ZodNumber;
|
|
53
|
+
runningDescendants: z.ZodNumber;
|
|
54
|
+
queuedDescendants: z.ZodNumber;
|
|
55
|
+
attentionDescendants: z.ZodNumber;
|
|
56
|
+
pausedDescendants: z.ZodNumber;
|
|
57
|
+
failedDescendants: z.ZodNumber;
|
|
58
|
+
truncated: z.ZodBoolean;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
relatedWork: z.ZodObject<{
|
|
61
|
+
claims: z.ZodArray<z.ZodObject<{
|
|
62
|
+
id: z.ZodString;
|
|
63
|
+
sessionId: z.ZodString;
|
|
64
|
+
subject: z.ZodObject<{
|
|
65
|
+
namespace: z.ZodString;
|
|
66
|
+
type: z.ZodEnum<{
|
|
67
|
+
artifact: "artifact";
|
|
68
|
+
branch: "branch";
|
|
69
|
+
ci_run: "ci_run";
|
|
70
|
+
issue: "issue";
|
|
71
|
+
other: "other";
|
|
72
|
+
pull_request: "pull_request";
|
|
73
|
+
release: "release";
|
|
74
|
+
repository: "repository";
|
|
75
|
+
}>;
|
|
76
|
+
canonicalKey: z.ZodString;
|
|
77
|
+
displayLabel: z.ZodNullable<z.ZodString>;
|
|
78
|
+
}, z.core.$strip>;
|
|
79
|
+
role: z.ZodEnum<{
|
|
80
|
+
delivering: "delivering";
|
|
81
|
+
monitoring: "monitoring";
|
|
82
|
+
reviewing: "reviewing";
|
|
83
|
+
working: "working";
|
|
84
|
+
}>;
|
|
85
|
+
state: z.ZodEnum<{
|
|
86
|
+
active: "active";
|
|
87
|
+
released: "released";
|
|
88
|
+
stale: "stale";
|
|
89
|
+
superseded: "superseded";
|
|
90
|
+
}>;
|
|
91
|
+
revision: z.ZodNumber;
|
|
92
|
+
provenance: z.ZodEnum<{
|
|
93
|
+
explicit_agent: "explicit_agent";
|
|
94
|
+
session_resource: "session_resource";
|
|
95
|
+
system_lifecycle: "system_lifecycle";
|
|
96
|
+
trusted_integration: "trusted_integration";
|
|
97
|
+
user_api: "user_api";
|
|
98
|
+
}>;
|
|
99
|
+
version: z.ZodNullable<z.ZodObject<{
|
|
100
|
+
kind: z.ZodEnum<{
|
|
101
|
+
artifact_version: "artifact_version";
|
|
102
|
+
branch_head: "branch_head";
|
|
103
|
+
ci_run: "ci_run";
|
|
104
|
+
git_commit: "git_commit";
|
|
105
|
+
other: "other";
|
|
106
|
+
pull_request_head: "pull_request_head";
|
|
107
|
+
release_version: "release_version";
|
|
108
|
+
}>;
|
|
109
|
+
value: z.ZodString;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
observedAt: z.ZodString;
|
|
112
|
+
updatedAt: z.ZodString;
|
|
113
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
114
|
+
}, z.core.$strip>>;
|
|
115
|
+
claimsTruncated: z.ZodBoolean;
|
|
116
|
+
match: z.ZodNullable<z.ZodObject<{
|
|
117
|
+
class: z.ZodEnum<{
|
|
118
|
+
exact_subject: "exact_subject";
|
|
119
|
+
fuzzy: "fuzzy";
|
|
120
|
+
goal: "goal";
|
|
121
|
+
title: "title";
|
|
122
|
+
}>;
|
|
123
|
+
field: z.ZodEnum<{
|
|
124
|
+
claim_key: "claim_key";
|
|
125
|
+
claim_label: "claim_label";
|
|
126
|
+
goal: "goal";
|
|
127
|
+
subject: "subject";
|
|
128
|
+
title: "title";
|
|
129
|
+
}>;
|
|
130
|
+
scoreBand: z.ZodEnum<{
|
|
131
|
+
exact: "exact";
|
|
132
|
+
related: "related";
|
|
133
|
+
strong: "strong";
|
|
134
|
+
}>;
|
|
135
|
+
claimId: z.ZodNullable<z.ZodString>;
|
|
136
|
+
}, z.core.$strict>>;
|
|
137
|
+
possibleOverlap: z.ZodBoolean;
|
|
138
|
+
advisoryOnly: z.ZodLiteral<true>;
|
|
139
|
+
noAdditionalAccess: z.ZodLiteral<true>;
|
|
140
|
+
}, z.core.$strict>;
|
|
141
|
+
createdAt: z.ZodString;
|
|
142
|
+
updatedAt: z.ZodString;
|
|
143
|
+
}, z.core.$strip>;
|
|
144
|
+
export type AgentTopologySession = z.infer<typeof AgentTopologySession>;
|
|
145
|
+
export declare const AgentTopologyPageResponse: z.ZodObject<{
|
|
146
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
147
|
+
id: z.ZodString;
|
|
148
|
+
title: z.ZodNullable<z.ZodString>;
|
|
149
|
+
titleTruncated: z.ZodBoolean;
|
|
150
|
+
parentSessionId: z.ZodNullable<z.ZodString>;
|
|
151
|
+
rootSessionId: z.ZodString;
|
|
152
|
+
nestedAgentDepth: z.ZodNumber;
|
|
153
|
+
ancestorPath: z.ZodArray<z.ZodObject<{
|
|
154
|
+
id: z.ZodString;
|
|
155
|
+
title: z.ZodNullable<z.ZodString>;
|
|
156
|
+
titleTruncated: z.ZodBoolean;
|
|
157
|
+
}, z.core.$strip>>;
|
|
158
|
+
status: z.ZodEnum<{
|
|
159
|
+
cancelled: "cancelled";
|
|
160
|
+
failed: "failed";
|
|
161
|
+
idle: "idle";
|
|
162
|
+
queued: "queued";
|
|
163
|
+
recovering: "recovering";
|
|
164
|
+
requires_action: "requires_action";
|
|
165
|
+
running: "running";
|
|
166
|
+
waiting_capacity: "waiting_capacity";
|
|
167
|
+
}>;
|
|
168
|
+
goal: z.ZodNullable<z.ZodObject<{
|
|
169
|
+
status: z.ZodEnum<{
|
|
170
|
+
active: "active";
|
|
171
|
+
completed: "completed";
|
|
172
|
+
paused: "paused";
|
|
173
|
+
}>;
|
|
174
|
+
summary: z.ZodString;
|
|
175
|
+
summaryTruncated: z.ZodBoolean;
|
|
176
|
+
}, z.core.$strip>>;
|
|
177
|
+
pause: z.ZodObject<{
|
|
178
|
+
state: z.ZodEnum<{
|
|
179
|
+
active: "active";
|
|
180
|
+
paused: "paused";
|
|
181
|
+
}>;
|
|
182
|
+
additionalBlockerCount: z.ZodNumber;
|
|
183
|
+
source: z.ZodNullable<z.ZodObject<{
|
|
184
|
+
kind: z.ZodEnum<{
|
|
185
|
+
session: "session";
|
|
186
|
+
workspace: "workspace";
|
|
187
|
+
}>;
|
|
188
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
189
|
+
displayName: z.ZodString;
|
|
190
|
+
displayNameTruncated: z.ZodBoolean;
|
|
191
|
+
}, z.core.$strip>>;
|
|
192
|
+
}, z.core.$strip>;
|
|
193
|
+
children: z.ZodObject<{
|
|
194
|
+
directChildren: z.ZodNumber;
|
|
195
|
+
totalDescendants: z.ZodNumber;
|
|
196
|
+
runningDescendants: z.ZodNumber;
|
|
197
|
+
queuedDescendants: z.ZodNumber;
|
|
198
|
+
attentionDescendants: z.ZodNumber;
|
|
199
|
+
pausedDescendants: z.ZodNumber;
|
|
200
|
+
failedDescendants: z.ZodNumber;
|
|
201
|
+
truncated: z.ZodBoolean;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
relatedWork: z.ZodObject<{
|
|
204
|
+
claims: z.ZodArray<z.ZodObject<{
|
|
205
|
+
id: z.ZodString;
|
|
206
|
+
sessionId: z.ZodString;
|
|
207
|
+
subject: z.ZodObject<{
|
|
208
|
+
namespace: z.ZodString;
|
|
209
|
+
type: z.ZodEnum<{
|
|
210
|
+
artifact: "artifact";
|
|
211
|
+
branch: "branch";
|
|
212
|
+
ci_run: "ci_run";
|
|
213
|
+
issue: "issue";
|
|
214
|
+
other: "other";
|
|
215
|
+
pull_request: "pull_request";
|
|
216
|
+
release: "release";
|
|
217
|
+
repository: "repository";
|
|
218
|
+
}>;
|
|
219
|
+
canonicalKey: z.ZodString;
|
|
220
|
+
displayLabel: z.ZodNullable<z.ZodString>;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
role: z.ZodEnum<{
|
|
223
|
+
delivering: "delivering";
|
|
224
|
+
monitoring: "monitoring";
|
|
225
|
+
reviewing: "reviewing";
|
|
226
|
+
working: "working";
|
|
227
|
+
}>;
|
|
228
|
+
state: z.ZodEnum<{
|
|
229
|
+
active: "active";
|
|
230
|
+
released: "released";
|
|
231
|
+
stale: "stale";
|
|
232
|
+
superseded: "superseded";
|
|
233
|
+
}>;
|
|
234
|
+
revision: z.ZodNumber;
|
|
235
|
+
provenance: z.ZodEnum<{
|
|
236
|
+
explicit_agent: "explicit_agent";
|
|
237
|
+
session_resource: "session_resource";
|
|
238
|
+
system_lifecycle: "system_lifecycle";
|
|
239
|
+
trusted_integration: "trusted_integration";
|
|
240
|
+
user_api: "user_api";
|
|
241
|
+
}>;
|
|
242
|
+
version: z.ZodNullable<z.ZodObject<{
|
|
243
|
+
kind: z.ZodEnum<{
|
|
244
|
+
artifact_version: "artifact_version";
|
|
245
|
+
branch_head: "branch_head";
|
|
246
|
+
ci_run: "ci_run";
|
|
247
|
+
git_commit: "git_commit";
|
|
248
|
+
other: "other";
|
|
249
|
+
pull_request_head: "pull_request_head";
|
|
250
|
+
release_version: "release_version";
|
|
251
|
+
}>;
|
|
252
|
+
value: z.ZodString;
|
|
253
|
+
}, z.core.$strip>>;
|
|
254
|
+
observedAt: z.ZodString;
|
|
255
|
+
updatedAt: z.ZodString;
|
|
256
|
+
settledAt: z.ZodNullable<z.ZodString>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
claimsTruncated: z.ZodBoolean;
|
|
259
|
+
match: z.ZodNullable<z.ZodObject<{
|
|
260
|
+
class: z.ZodEnum<{
|
|
261
|
+
exact_subject: "exact_subject";
|
|
262
|
+
fuzzy: "fuzzy";
|
|
263
|
+
goal: "goal";
|
|
264
|
+
title: "title";
|
|
265
|
+
}>;
|
|
266
|
+
field: z.ZodEnum<{
|
|
267
|
+
claim_key: "claim_key";
|
|
268
|
+
claim_label: "claim_label";
|
|
269
|
+
goal: "goal";
|
|
270
|
+
subject: "subject";
|
|
271
|
+
title: "title";
|
|
272
|
+
}>;
|
|
273
|
+
scoreBand: z.ZodEnum<{
|
|
274
|
+
exact: "exact";
|
|
275
|
+
related: "related";
|
|
276
|
+
strong: "strong";
|
|
277
|
+
}>;
|
|
278
|
+
claimId: z.ZodNullable<z.ZodString>;
|
|
279
|
+
}, z.core.$strict>>;
|
|
280
|
+
possibleOverlap: z.ZodBoolean;
|
|
281
|
+
advisoryOnly: z.ZodLiteral<true>;
|
|
282
|
+
noAdditionalAccess: z.ZodLiteral<true>;
|
|
283
|
+
}, z.core.$strict>;
|
|
284
|
+
createdAt: z.ZodString;
|
|
285
|
+
updatedAt: z.ZodString;
|
|
286
|
+
}, z.core.$strip>>;
|
|
287
|
+
total: z.ZodNumber;
|
|
288
|
+
hasMore: z.ZodBoolean;
|
|
289
|
+
humanAdvisoriesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
290
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
291
|
+
}, z.core.$strip>;
|
|
292
|
+
export type AgentTopologyPageResponse = z.infer<typeof AgentTopologyPageResponse>;
|
package/dist/atlassian.js
CHANGED