@granular-software/sdk 0.4.77 → 0.4.78
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/README.md +48 -0
- package/dist/agent-evals.d.mts +1 -1
- package/dist/agent-evals.d.ts +1 -1
- package/dist/agent-evals.js +756 -173
- package/dist/agent-evals.js.map +1 -1
- package/dist/agent-evals.mjs +756 -173
- package/dist/agent-evals.mjs.map +1 -1
- package/dist/cli/index.js +18837 -13413
- package/dist/{client-BZtpnc8M.d.mts → client-CHgTTLeV.d.mts} +803 -1
- package/dist/{client-C7bj1UeD.d.ts → client-Ci5dLxXW.d.ts} +803 -1
- package/dist/index.d.mts +1402 -3
- package/dist/index.d.ts +1402 -3
- package/dist/index.js +3588 -700
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3545 -701
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -7
|
@@ -2,6 +2,275 @@ import { i as GranularQuotaProgress, d as OpenAIUsageSpendEvent, G as GranularSp
|
|
|
2
2
|
import * as Automerge from '@automerge/automerge';
|
|
3
3
|
import { Doc } from '@automerge/automerge/slim';
|
|
4
4
|
|
|
5
|
+
/** Bounded corrective structure from the existing permission-scoped runtime declaration. */
|
|
6
|
+
interface StructuralSteeringContext {
|
|
7
|
+
schemaVersion: 1;
|
|
8
|
+
ontologyVersion: string | null;
|
|
9
|
+
actionDefinitionId: string | null;
|
|
10
|
+
cause: {
|
|
11
|
+
known: boolean;
|
|
12
|
+
code: string;
|
|
13
|
+
explanation: string;
|
|
14
|
+
ruleReferences: string[];
|
|
15
|
+
};
|
|
16
|
+
requirements: Array<{
|
|
17
|
+
path: string;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
types?: string[];
|
|
20
|
+
allowedValues?: Array<string | number | boolean | null>;
|
|
21
|
+
format?: string;
|
|
22
|
+
relationshipTarget?: string;
|
|
23
|
+
source?: "permission_filtered_declaration" | "artifact_projection";
|
|
24
|
+
constraints?: Array<{
|
|
25
|
+
operator: string;
|
|
26
|
+
stringValue?: string;
|
|
27
|
+
numberValue?: number;
|
|
28
|
+
booleanValue?: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
}>;
|
|
31
|
+
policyMatches?: Array<{
|
|
32
|
+
reference: string;
|
|
33
|
+
outcome: string;
|
|
34
|
+
explanation: string;
|
|
35
|
+
}>;
|
|
36
|
+
inspection: {
|
|
37
|
+
rpc: {
|
|
38
|
+
method: "domain.fetchPackagePart";
|
|
39
|
+
params: {
|
|
40
|
+
moduleSpecifier: "@granular/domain";
|
|
41
|
+
part: "types";
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
graphql?: {
|
|
45
|
+
query: string;
|
|
46
|
+
variables: {
|
|
47
|
+
path: string;
|
|
48
|
+
machine?: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
note: string;
|
|
52
|
+
};
|
|
53
|
+
runtimeRequirements?: Array<{
|
|
54
|
+
rule: string;
|
|
55
|
+
allowed?: Array<string | number>;
|
|
56
|
+
explanation: string;
|
|
57
|
+
}>;
|
|
58
|
+
retry: "correct_then_recheck" | "reconcile_effect_before_retry" | "await_new_authorization";
|
|
59
|
+
truncated: boolean;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/** Tenant operational history. Timestamps are Unix milliseconds; unknown means unobserved. */
|
|
63
|
+
type EventsFeedResponse = "blocking" | "user_escalation" | "agent_steering" | "observational";
|
|
64
|
+
type EventsFeedOutcome = "corrected" | "prevented" | "declined" | "awaiting_subject" | "failed" | "unknown";
|
|
65
|
+
type EventsFeedEnvironment = "production" | "local" | "unknown";
|
|
66
|
+
type EventsFeedActivityType = "attempt" | "intervention" | "subject_response" | "effect" | "job_stopped" | "outcome_unavailable" | "artifact_update" | "execution_recovered" | "permission_change";
|
|
67
|
+
/** No request bodies, credentials, or arbitrary customer data belong in evidence. */
|
|
68
|
+
interface EventsFeedEvidence {
|
|
69
|
+
/** Trusted observed correction involved the Subject; excluded from unassisted recovery. */
|
|
70
|
+
subjectIntervention?: boolean;
|
|
71
|
+
source: "runtime" | "subject" | "host" | "agent" | "tenant";
|
|
72
|
+
code?: string;
|
|
73
|
+
/** Legacy input only. Server ingestion omits all free text rather than guessing what is secret. */
|
|
74
|
+
summary?: string;
|
|
75
|
+
effectId?: string;
|
|
76
|
+
/** Some optional evidence was discarded by the bounded server allowlist; raw values are never retained. */
|
|
77
|
+
omitted?: true;
|
|
78
|
+
}
|
|
79
|
+
interface EventsFeedFinding {
|
|
80
|
+
conditionType: string;
|
|
81
|
+
conditionId: string;
|
|
82
|
+
actionDefinitionId: string;
|
|
83
|
+
entityType?: string;
|
|
84
|
+
title: string;
|
|
85
|
+
response: EventsFeedResponse;
|
|
86
|
+
outcome: EventsFeedOutcome;
|
|
87
|
+
ontologyRelated: boolean;
|
|
88
|
+
evidence?: EventsFeedEvidence;
|
|
89
|
+
}
|
|
90
|
+
interface EventsFeedOutcomeLink {
|
|
91
|
+
/** Explicit causal identity. Proximity in time or session is never sufficient. */
|
|
92
|
+
attemptId: string;
|
|
93
|
+
conditionId?: string;
|
|
94
|
+
outcome: EventsFeedOutcome;
|
|
95
|
+
evidence: EventsFeedEvidence;
|
|
96
|
+
}
|
|
97
|
+
/** Internal producer contract. All identity and version fields come from server state. */
|
|
98
|
+
interface EventsFeedActivity {
|
|
99
|
+
schemaVersion: 1;
|
|
100
|
+
eventId: string;
|
|
101
|
+
producer: string;
|
|
102
|
+
sourceSequence?: number;
|
|
103
|
+
occurredAt: number;
|
|
104
|
+
tenantId: string;
|
|
105
|
+
ontologyId: string;
|
|
106
|
+
environmentId: string;
|
|
107
|
+
environmentKind: EventsFeedEnvironment;
|
|
108
|
+
ontologyVersion?: string;
|
|
109
|
+
sessionId?: string;
|
|
110
|
+
jobId?: string;
|
|
111
|
+
attemptId: string;
|
|
112
|
+
subjectId?: string;
|
|
113
|
+
agentId?: string;
|
|
114
|
+
model?: string;
|
|
115
|
+
activityType: EventsFeedActivityType;
|
|
116
|
+
actionDefinitionId?: string;
|
|
117
|
+
/** Attempt denominator excludes read-only observations and non-attempt transitions. */
|
|
118
|
+
eligibleAttempt?: boolean;
|
|
119
|
+
successful?: boolean;
|
|
120
|
+
findings?: EventsFeedFinding[];
|
|
121
|
+
outcomeLinks?: EventsFeedOutcomeLink[];
|
|
122
|
+
evidence?: EventsFeedEvidence;
|
|
123
|
+
}
|
|
124
|
+
type EventsFeedBreakdown<T extends string> = Record<T, number>;
|
|
125
|
+
interface EventsFeedResolution {
|
|
126
|
+
revision: number;
|
|
127
|
+
status: "open" | "resolved";
|
|
128
|
+
resolvedAt?: number;
|
|
129
|
+
resolvedBy?: string;
|
|
130
|
+
fixVersion?: string;
|
|
131
|
+
fixDeclaredAt?: number;
|
|
132
|
+
/** Explicit applicable builds, never lexicographic comparisons of opaque build IDs. */
|
|
133
|
+
applicableVersions?: string[];
|
|
134
|
+
muted: boolean;
|
|
135
|
+
}
|
|
136
|
+
interface EventsFeedProblem {
|
|
137
|
+
problemId: string;
|
|
138
|
+
fingerprintVersion: 1;
|
|
139
|
+
ontologyId: string;
|
|
140
|
+
environmentKind: EventsFeedEnvironment;
|
|
141
|
+
conditionType: string;
|
|
142
|
+
conditionId: string;
|
|
143
|
+
actionDefinitionId: string;
|
|
144
|
+
entityType?: string;
|
|
145
|
+
title: string;
|
|
146
|
+
ontologyRelated: boolean;
|
|
147
|
+
firstSeenAt: number;
|
|
148
|
+
lastSeenAt: number;
|
|
149
|
+
occurrenceCount: number;
|
|
150
|
+
responses: EventsFeedBreakdown<EventsFeedResponse>;
|
|
151
|
+
outcomes: EventsFeedBreakdown<EventsFeedOutcome>;
|
|
152
|
+
affectedSubjects: number;
|
|
153
|
+
versions: string[];
|
|
154
|
+
recurringAfterFix: number;
|
|
155
|
+
resolution: EventsFeedResolution;
|
|
156
|
+
}
|
|
157
|
+
interface EventsFeedOccurrence {
|
|
158
|
+
occurrenceId: string;
|
|
159
|
+
problemId: string;
|
|
160
|
+
eventId: string;
|
|
161
|
+
attemptId: string;
|
|
162
|
+
occurredAt: number;
|
|
163
|
+
ingestedAt: number;
|
|
164
|
+
ontologyId: string;
|
|
165
|
+
environmentId: string;
|
|
166
|
+
environmentKind: EventsFeedEnvironment;
|
|
167
|
+
ontologyVersion?: string;
|
|
168
|
+
sessionId?: string;
|
|
169
|
+
jobId?: string;
|
|
170
|
+
subjectId?: string;
|
|
171
|
+
agentId?: string;
|
|
172
|
+
model?: string;
|
|
173
|
+
response: EventsFeedResponse;
|
|
174
|
+
outcome: EventsFeedOutcome;
|
|
175
|
+
evidence?: EventsFeedEvidence;
|
|
176
|
+
recurringAfterFix: boolean;
|
|
177
|
+
}
|
|
178
|
+
interface EventsFeedFilter {
|
|
179
|
+
ontologyId?: string;
|
|
180
|
+
environmentKind?: EventsFeedEnvironment;
|
|
181
|
+
environmentId?: string;
|
|
182
|
+
from?: number;
|
|
183
|
+
to?: number;
|
|
184
|
+
conditionType?: string;
|
|
185
|
+
response?: EventsFeedResponse;
|
|
186
|
+
outcome?: EventsFeedOutcome;
|
|
187
|
+
ontologyVersion?: string;
|
|
188
|
+
sessionId?: string;
|
|
189
|
+
subjectId?: string;
|
|
190
|
+
status?: "open" | "resolved";
|
|
191
|
+
sort?: "latest" | "occurrences";
|
|
192
|
+
limit?: number;
|
|
193
|
+
cursor?: string;
|
|
194
|
+
}
|
|
195
|
+
interface EventsFeedPage {
|
|
196
|
+
problems: EventsFeedProblem[];
|
|
197
|
+
nextCursor: string | null;
|
|
198
|
+
capturedAt: number;
|
|
199
|
+
}
|
|
200
|
+
interface EventsFeedDetail {
|
|
201
|
+
problem: EventsFeedProblem;
|
|
202
|
+
occurrences: EventsFeedOccurrence[];
|
|
203
|
+
activities: EventsFeedActivity[];
|
|
204
|
+
nextCursor: string | null;
|
|
205
|
+
}
|
|
206
|
+
interface EventsFeedMetrics {
|
|
207
|
+
from: number;
|
|
208
|
+
to: number;
|
|
209
|
+
eligibleAttempts: number;
|
|
210
|
+
successfulAttempts: number;
|
|
211
|
+
occurrences: number;
|
|
212
|
+
knownOutcomes: number;
|
|
213
|
+
unknownOutcomes: number;
|
|
214
|
+
correctedWithoutSubject: number;
|
|
215
|
+
subjectEscalations: number;
|
|
216
|
+
escalationRate: number | null;
|
|
217
|
+
observedRecoveryRate: number | null;
|
|
218
|
+
affectedSubjects: number;
|
|
219
|
+
recurringAfterFix: number;
|
|
220
|
+
daily: Array<{
|
|
221
|
+
day: string;
|
|
222
|
+
eligibleAttempts: number;
|
|
223
|
+
occurrences: number;
|
|
224
|
+
corrected: number;
|
|
225
|
+
unknown: number;
|
|
226
|
+
escalations: number;
|
|
227
|
+
}>;
|
|
228
|
+
}
|
|
229
|
+
interface EventsFeedCaptureHealth {
|
|
230
|
+
status: "healthy" | "degraded" | "unconfigured" | "no_activity" | "unobserved";
|
|
231
|
+
lastAcceptedAt: number | null;
|
|
232
|
+
lastIngestedAt: number | null;
|
|
233
|
+
pendingDeliveries: number;
|
|
234
|
+
failedDeliveries: number;
|
|
235
|
+
oldestPendingAt: number | null;
|
|
236
|
+
detailRetentionDays: 15;
|
|
237
|
+
aggregateRetentionDays: 365;
|
|
238
|
+
message?: string;
|
|
239
|
+
}
|
|
240
|
+
interface EventsFeedResolutionInput {
|
|
241
|
+
expectedRevision: number;
|
|
242
|
+
status?: "open" | "resolved";
|
|
243
|
+
fixVersion?: string | null;
|
|
244
|
+
applicableVersions?: string[];
|
|
245
|
+
muted?: boolean;
|
|
246
|
+
}
|
|
247
|
+
interface EventsFeedSqlRequest {
|
|
248
|
+
sql: string;
|
|
249
|
+
params?: Array<string | number | boolean | null>;
|
|
250
|
+
}
|
|
251
|
+
interface EventsFeedSqlResult {
|
|
252
|
+
results: Array<{
|
|
253
|
+
results: Record<string, unknown>[];
|
|
254
|
+
success: boolean;
|
|
255
|
+
meta?: Record<string, unknown>;
|
|
256
|
+
}>;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
type EventsFeedTransport = <T>(path: string, options?: RequestInit) => Promise<T>;
|
|
260
|
+
/** Tenant-scoped operational history. Authentication comes from the parent client. */
|
|
261
|
+
declare class EventsFeed {
|
|
262
|
+
private readonly request;
|
|
263
|
+
constructor(request: EventsFeedTransport);
|
|
264
|
+
list(filter?: EventsFeedFilter): Promise<EventsFeedPage>;
|
|
265
|
+
get(problemId: string, filter?: EventsFeedFilter): Promise<EventsFeedDetail>;
|
|
266
|
+
update(problemId: string, input: EventsFeedResolutionInput): Promise<EventsFeedProblem>;
|
|
267
|
+
metrics(filter?: EventsFeedFilter): Promise<EventsFeedMetrics>;
|
|
268
|
+
health(): Promise<EventsFeedCaptureHealth>;
|
|
269
|
+
/** Sends SQL and positional parameters unchanged. The server enforces read-only tenant scope. */
|
|
270
|
+
query(input: EventsFeedSqlRequest): Promise<EventsFeedSqlResult>;
|
|
271
|
+
}
|
|
272
|
+
declare function eventsFeedSearch(filter: EventsFeedFilter): string;
|
|
273
|
+
|
|
5
274
|
type PolicyOutcome = "allow" | "confirm" | "deny";
|
|
6
275
|
type PolicySource = "manifest" | "permissionProfile" | "builtin";
|
|
7
276
|
type PolicyPredicateSource = "input" | "object" | "stateMachine";
|
|
@@ -344,6 +613,12 @@ interface EnvironmentRecordImportSummary extends RecordImportStats {
|
|
|
344
613
|
}
|
|
345
614
|
type EnvironmentSetupTriggerReason = "new_environment" | "fresh_after_version_update" | "explicit_reset";
|
|
346
615
|
interface RunEnvironmentImporterOptions {
|
|
616
|
+
/** Existing server-authorized receipt; never reserve a second setup. */
|
|
617
|
+
setupRunId?: string;
|
|
618
|
+
/** Bind a trusted product login to this environment before running its hook. */
|
|
619
|
+
expectedSubjectId?: string;
|
|
620
|
+
/** Canonical external product identity, resolved from the stored subject. */
|
|
621
|
+
expectedExternalUserId?: string;
|
|
347
622
|
/**
|
|
348
623
|
* Ontology name/id used to resolve the registered importer. Defaults to the
|
|
349
624
|
* environment sandbox id.
|
|
@@ -393,6 +668,10 @@ interface EnvironmentImporter {
|
|
|
393
668
|
subjectId: string;
|
|
394
669
|
/** Application identity originally supplied as `openEnvironment({ userId })`. */
|
|
395
670
|
externalUserId: string;
|
|
671
|
+
/** Durable setup identity for product-owned collection receipts. */
|
|
672
|
+
setupRunId?: string;
|
|
673
|
+
/** Original setup operation key; may be absent outside explicit onboarding. */
|
|
674
|
+
setupOperationKey?: string | null;
|
|
396
675
|
reason: EnvironmentSetupTriggerReason;
|
|
397
676
|
incrementTotalObjectsToImportCount: (n: number) => Promise<void>;
|
|
398
677
|
setStage: (stage: string | null) => Promise<void>;
|
|
@@ -644,6 +923,385 @@ interface SemanticVersionDiff {
|
|
|
644
923
|
entries: SemanticVersionDiffEntry[];
|
|
645
924
|
}
|
|
646
925
|
|
|
926
|
+
/** Product-owned directory entries. Return public display data, never credentials. */
|
|
927
|
+
interface RegisteredUser {
|
|
928
|
+
id: string;
|
|
929
|
+
name: string;
|
|
930
|
+
email?: string;
|
|
931
|
+
}
|
|
932
|
+
type UsersHandler = () => readonly RegisteredUser[] | Promise<readonly RegisteredUser[]>;
|
|
933
|
+
/** Product-owned cursors are opaque and must remain scoped to the search. */
|
|
934
|
+
interface UsersPageRequest {
|
|
935
|
+
limit: number;
|
|
936
|
+
cursor?: string;
|
|
937
|
+
search?: string;
|
|
938
|
+
}
|
|
939
|
+
interface UsersPage {
|
|
940
|
+
users: readonly RegisteredUser[];
|
|
941
|
+
nextCursor: string | null;
|
|
942
|
+
/** The product source could not enumerate a complete result. Never interpret it as an empty directory. */
|
|
943
|
+
truncated?: boolean;
|
|
944
|
+
}
|
|
945
|
+
/** Resolve a verified provider subject through the product's current membership, never by email. */
|
|
946
|
+
type UserMembershipHandler = (input: {
|
|
947
|
+
tenantId: string;
|
|
948
|
+
integrationId: string;
|
|
949
|
+
environment: "dev";
|
|
950
|
+
providerSubject: string;
|
|
951
|
+
}) => Promise<{
|
|
952
|
+
identityId: string;
|
|
953
|
+
active: boolean;
|
|
954
|
+
} | null> | {
|
|
955
|
+
identityId: string;
|
|
956
|
+
active: boolean;
|
|
957
|
+
} | null;
|
|
958
|
+
interface UsersProviderOptions {
|
|
959
|
+
resolveMembership?: UserMembershipHandler;
|
|
960
|
+
/** Page and filter at the product source instead of loading its full directory. */
|
|
961
|
+
listPage?: (request: Readonly<UsersPageRequest>) => UsersPage | Promise<UsersPage>;
|
|
962
|
+
}
|
|
963
|
+
interface UsersRegistration {
|
|
964
|
+
sandboxId: string;
|
|
965
|
+
providerId: string;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
/** External-agent handoff evidence. None of these states grant product authority. */
|
|
969
|
+
interface OnboardingTestOperation {
|
|
970
|
+
elementId: string;
|
|
971
|
+
/** Exact published blueprint revision, including its dependencies. */
|
|
972
|
+
revision: number;
|
|
973
|
+
/** Exact immutable build declaration key; display names are not identifiers. */
|
|
974
|
+
effectKey: string;
|
|
975
|
+
/** Explicit request to verify policy denial; does not imply no other effects ran. */
|
|
976
|
+
expectedOutcome?: "denied";
|
|
977
|
+
/** Required for new expected-denial tests; only an instance action can use this target. */
|
|
978
|
+
target?: OnboardingDenialTarget;
|
|
979
|
+
}
|
|
980
|
+
interface OnboardingDenialTarget {
|
|
981
|
+
className: string;
|
|
982
|
+
id: string;
|
|
983
|
+
transition?: {
|
|
984
|
+
machine: string;
|
|
985
|
+
transition: string;
|
|
986
|
+
from: string;
|
|
987
|
+
};
|
|
988
|
+
}
|
|
989
|
+
/** An existing immutable build profile. Only declared action policies are narrowed. */
|
|
990
|
+
interface OnboardingTestActionProfileSelection {
|
|
991
|
+
name: string;
|
|
992
|
+
digest: string;
|
|
993
|
+
}
|
|
994
|
+
interface OnboardingTestActionProfile extends OnboardingTestActionProfileSelection {
|
|
995
|
+
scope: "actions";
|
|
996
|
+
bundleDigest: string;
|
|
997
|
+
baseProfileName: string;
|
|
998
|
+
baseProfileDigest: string;
|
|
999
|
+
}
|
|
1000
|
+
/** Product-owned verifier; `targetId` and `field` are interpreted only by that registered verifier. */
|
|
1001
|
+
interface OnboardingProductPostcondition {
|
|
1002
|
+
verifierId: string;
|
|
1003
|
+
verifierRevision: string;
|
|
1004
|
+
className: string;
|
|
1005
|
+
targetId: string;
|
|
1006
|
+
expected: {
|
|
1007
|
+
field: string;
|
|
1008
|
+
equals: string | number | boolean | null;
|
|
1009
|
+
};
|
|
1010
|
+
/** Additional independent product observations under the same registered verifier. */
|
|
1011
|
+
additionalChecks?: Array<{
|
|
1012
|
+
className: string;
|
|
1013
|
+
field: string;
|
|
1014
|
+
equals: string | number | boolean | null;
|
|
1015
|
+
} & ({
|
|
1016
|
+
targetId: string;
|
|
1017
|
+
targetFromCommit?: never;
|
|
1018
|
+
} | {
|
|
1019
|
+
targetFromCommit: "unique-created";
|
|
1020
|
+
targetId?: never;
|
|
1021
|
+
})>;
|
|
1022
|
+
}
|
|
1023
|
+
/** Server-resolved immutable session binding, never a user-selected identity or grant. */
|
|
1024
|
+
interface OnboardingTestSessionRestriction {
|
|
1025
|
+
runId: string;
|
|
1026
|
+
requestId: string;
|
|
1027
|
+
testProfile?: OnboardingTestActionProfile;
|
|
1028
|
+
}
|
|
1029
|
+
interface OnboardingTestRequestInput {
|
|
1030
|
+
request: string;
|
|
1031
|
+
artifactId: string;
|
|
1032
|
+
revision: number;
|
|
1033
|
+
subjectId: string;
|
|
1034
|
+
operation?: OnboardingTestOperation;
|
|
1035
|
+
postcondition?: OnboardingProductPostcondition;
|
|
1036
|
+
testProfile?: OnboardingTestActionProfileSelection;
|
|
1037
|
+
}
|
|
1038
|
+
interface OnboardingTestRequest extends OnboardingTestRequestInput {
|
|
1039
|
+
version: 1;
|
|
1040
|
+
testProfile?: OnboardingTestActionProfile;
|
|
1041
|
+
requestId: string;
|
|
1042
|
+
runId: string;
|
|
1043
|
+
buildId: string;
|
|
1044
|
+
environmentId: string;
|
|
1045
|
+
sandboxId: string;
|
|
1046
|
+
importId: string | null;
|
|
1047
|
+
reviewRevision: number;
|
|
1048
|
+
proofInputsUpdatedAt: number;
|
|
1049
|
+
/** Missing on older requests; those requests cannot establish current proof. */
|
|
1050
|
+
proofInputsEvidenceRevision?: number;
|
|
1051
|
+
/** Server-assigned correlation for an optional product operation. Never reuse another invocation. */
|
|
1052
|
+
expectedInvocationId?: string;
|
|
1053
|
+
createdAt: number;
|
|
1054
|
+
}
|
|
1055
|
+
interface OnboardingTestObservationInput {
|
|
1056
|
+
status: "running" | "blocked" | "passed" | "failed";
|
|
1057
|
+
summary: string;
|
|
1058
|
+
/** Reference only. The server reads the persisted, server-generated attestation. */
|
|
1059
|
+
verification?: {
|
|
1060
|
+
artifactId: string;
|
|
1061
|
+
revision: number;
|
|
1062
|
+
scenarioId: string;
|
|
1063
|
+
};
|
|
1064
|
+
/** Reference only. The server reads the existing product commit ledger. */
|
|
1065
|
+
invocationId?: string;
|
|
1066
|
+
}
|
|
1067
|
+
interface OnboardingTestObservation extends OnboardingTestObservationInput {
|
|
1068
|
+
version: 1;
|
|
1069
|
+
observationId: string;
|
|
1070
|
+
requestId: string;
|
|
1071
|
+
reportedAt: number;
|
|
1072
|
+
source: "agent";
|
|
1073
|
+
}
|
|
1074
|
+
interface OnboardingTestOutcome {
|
|
1075
|
+
version: 1;
|
|
1076
|
+
testProfile?: OnboardingTestActionProfile;
|
|
1077
|
+
requestId: string;
|
|
1078
|
+
runId: string;
|
|
1079
|
+
buildId: string;
|
|
1080
|
+
environmentId: string;
|
|
1081
|
+
subjectId: string;
|
|
1082
|
+
importId: string | null;
|
|
1083
|
+
artifactId: string;
|
|
1084
|
+
revision: number;
|
|
1085
|
+
operation?: OnboardingTestOperation;
|
|
1086
|
+
checkedAt: number;
|
|
1087
|
+
current: boolean;
|
|
1088
|
+
/** No verified mutation state exists without a canonical product postcondition. */
|
|
1089
|
+
status: "pending" | "unverified" | "failed" | "runtime-attested";
|
|
1090
|
+
agentObservation: OnboardingTestObservation | null;
|
|
1091
|
+
resultVersion?: {
|
|
1092
|
+
requestId: string;
|
|
1093
|
+
subjectJobEventId: string;
|
|
1094
|
+
productReadbackEventId: string | null;
|
|
1095
|
+
denialInvocationId?: string;
|
|
1096
|
+
denialNonce?: string;
|
|
1097
|
+
};
|
|
1098
|
+
/** Canonical Subject job, separate from agent report and scenario attestation. */
|
|
1099
|
+
subjectJob?: {
|
|
1100
|
+
sessionId: string;
|
|
1101
|
+
jobId: string;
|
|
1102
|
+
status: "queued" | "running" | "awaitingTool" | "awaitingHuman" | "succeeded" | "failed" | "timeout" | "canceled";
|
|
1103
|
+
checkedAt: number;
|
|
1104
|
+
} | null;
|
|
1105
|
+
/** Import and subject bindings alone cannot attest authenticated product collection. */
|
|
1106
|
+
dataProvenance: {
|
|
1107
|
+
status: "unverified";
|
|
1108
|
+
source: "not-recorded";
|
|
1109
|
+
} | {
|
|
1110
|
+
status: "product-asserted";
|
|
1111
|
+
source: "registered-product-provider";
|
|
1112
|
+
};
|
|
1113
|
+
denial?: {
|
|
1114
|
+
source: "policy-preflight";
|
|
1115
|
+
status: "denied-no-dispatch";
|
|
1116
|
+
invocationId: string;
|
|
1117
|
+
sessionId: string;
|
|
1118
|
+
jobId: string;
|
|
1119
|
+
target: OnboardingDenialTarget;
|
|
1120
|
+
};
|
|
1121
|
+
runtime: {
|
|
1122
|
+
source: "persisted-runtime-attestation";
|
|
1123
|
+
status: "unverified" | "attested" | "stale" | "rejected";
|
|
1124
|
+
verificationArtifactId?: string;
|
|
1125
|
+
verificationRevision?: number;
|
|
1126
|
+
scenarioId?: string;
|
|
1127
|
+
sessionId?: string;
|
|
1128
|
+
jobId?: string;
|
|
1129
|
+
completedAt?: number;
|
|
1130
|
+
denialEffectKey?: string;
|
|
1131
|
+
};
|
|
1132
|
+
product: {
|
|
1133
|
+
/** A ledger acknowledgement is distinct from an independent product-state check. */
|
|
1134
|
+
source: "commit-ledger";
|
|
1135
|
+
status: "unverified" | "pending" | "failed" | "acknowledged";
|
|
1136
|
+
invocationId?: string;
|
|
1137
|
+
invocationStatus?: string;
|
|
1138
|
+
commitId?: string;
|
|
1139
|
+
recordedAt?: number;
|
|
1140
|
+
};
|
|
1141
|
+
postcondition: {
|
|
1142
|
+
source: "commit-ledger" | "product-readback";
|
|
1143
|
+
status: "unverified" | "pending" | "failed" | "verified";
|
|
1144
|
+
invocationId?: string;
|
|
1145
|
+
checkedAt?: number;
|
|
1146
|
+
};
|
|
1147
|
+
diagnostics: string[];
|
|
1148
|
+
}
|
|
1149
|
+
interface OnboardingTestEvidence {
|
|
1150
|
+
request: OnboardingTestRequest;
|
|
1151
|
+
outcome: OnboardingTestOutcome;
|
|
1152
|
+
}
|
|
1153
|
+
/** Require a server-read receipt for this exact action, target and Subject job;
|
|
1154
|
+
* a job-level policy observation alone is insufficient. */
|
|
1155
|
+
declare function onboardingExpectedDenialObserved(test: OnboardingTestEvidence): boolean;
|
|
1156
|
+
|
|
1157
|
+
/** Explicit development-only operator callbacks. Product code owns authorization
|
|
1158
|
+
* and data access; this contract grants no production or agent credentials. */
|
|
1159
|
+
interface DevelopmentUser {
|
|
1160
|
+
id: string;
|
|
1161
|
+
name: string;
|
|
1162
|
+
email?: string;
|
|
1163
|
+
}
|
|
1164
|
+
interface DevelopmentProviderContext {
|
|
1165
|
+
runId: string;
|
|
1166
|
+
tenantId: string;
|
|
1167
|
+
sandboxId: string;
|
|
1168
|
+
buildId: string;
|
|
1169
|
+
operatorPrincipalId: string;
|
|
1170
|
+
providerId: string;
|
|
1171
|
+
environment: "dev";
|
|
1172
|
+
}
|
|
1173
|
+
interface DevelopmentUserProgress {
|
|
1174
|
+
stage: "queued" | "collecting" | "importing" | "ready" | "failed";
|
|
1175
|
+
subjectId: string | null;
|
|
1176
|
+
environmentId: string | null;
|
|
1177
|
+
setupRunId?: string | null;
|
|
1178
|
+
importIds?: string[];
|
|
1179
|
+
/** Reported observations only; Granular derives authoritative queue progress. */
|
|
1180
|
+
completedRecords?: number;
|
|
1181
|
+
totalRecords?: number;
|
|
1182
|
+
}
|
|
1183
|
+
interface DevelopmentUserOperation {
|
|
1184
|
+
context: Readonly<DevelopmentProviderContext>;
|
|
1185
|
+
user: Readonly<DevelopmentUser>;
|
|
1186
|
+
operationKey: string;
|
|
1187
|
+
generationId: string;
|
|
1188
|
+
}
|
|
1189
|
+
/** Product-owned verifier identifier and scalar expectation. Never an arbitrary URL. */
|
|
1190
|
+
type DevelopmentPostcondition = OnboardingProductPostcondition;
|
|
1191
|
+
interface DevelopmentAdditionalObservation {
|
|
1192
|
+
className: string;
|
|
1193
|
+
targetId: string;
|
|
1194
|
+
field: string;
|
|
1195
|
+
value: string | number | boolean | null;
|
|
1196
|
+
}
|
|
1197
|
+
interface DevelopmentReadback {
|
|
1198
|
+
requestId: string;
|
|
1199
|
+
invocationId: string;
|
|
1200
|
+
sessionId: string;
|
|
1201
|
+
jobId: string;
|
|
1202
|
+
subjectId: string;
|
|
1203
|
+
environmentId: string;
|
|
1204
|
+
identityId: string;
|
|
1205
|
+
effectKey: string;
|
|
1206
|
+
postcondition: DevelopmentPostcondition;
|
|
1207
|
+
}
|
|
1208
|
+
/** Exact server-selected setup; the registered product provider must read a
|
|
1209
|
+
* durable receipt produced by its authenticated collector for this generation. */
|
|
1210
|
+
interface DevelopmentCollectionBinding {
|
|
1211
|
+
identityId: string;
|
|
1212
|
+
subjectId: string;
|
|
1213
|
+
environmentId: string;
|
|
1214
|
+
setupRunId: string;
|
|
1215
|
+
generationId: string;
|
|
1216
|
+
}
|
|
1217
|
+
interface DevelopmentIncrementalStatus {
|
|
1218
|
+
classId: string;
|
|
1219
|
+
environmentId: string;
|
|
1220
|
+
subjectId: string;
|
|
1221
|
+
status: "not_started" | "checking" | "catching_up" | "source_current" | "pending" | "failed" | "unknown";
|
|
1222
|
+
checkedAt?: number;
|
|
1223
|
+
}
|
|
1224
|
+
interface DevelopmentPostconditionVerifier {
|
|
1225
|
+
verifierId: string;
|
|
1226
|
+
verifierRevision: string;
|
|
1227
|
+
className: string;
|
|
1228
|
+
label: string;
|
|
1229
|
+
fields: string[];
|
|
1230
|
+
}
|
|
1231
|
+
interface DevelopmentProviderOptions {
|
|
1232
|
+
runId: string;
|
|
1233
|
+
buildId: string;
|
|
1234
|
+
operatorPrincipalId: string;
|
|
1235
|
+
environment: "dev";
|
|
1236
|
+
authorize(context: Readonly<DevelopmentProviderContext>): void | boolean | Promise<void | boolean>;
|
|
1237
|
+
listUsers(context: Readonly<DevelopmentProviderContext>): readonly DevelopmentUser[] | Promise<readonly DevelopmentUser[]>;
|
|
1238
|
+
/** Resolve one currently authorized user without materializing the directory. */
|
|
1239
|
+
findUser?: (context: Readonly<DevelopmentProviderContext>, userId: string) => DevelopmentUser | null | Promise<DevelopmentUser | null>;
|
|
1240
|
+
createEnvironment(input: DevelopmentUserOperation): DevelopmentUserProgress | Promise<DevelopmentUserProgress>;
|
|
1241
|
+
getProgress(input: DevelopmentUserOperation): DevelopmentUserProgress | Promise<DevelopmentUserProgress>;
|
|
1242
|
+
/** Both callbacks are required: authorize via the customer's own live product
|
|
1243
|
+
* connection, then read the source of truth independently of the action response. */
|
|
1244
|
+
/** Public discovery metadata only; verifier implementation remains product-owned. */
|
|
1245
|
+
postconditionVerifiers?: readonly DevelopmentPostconditionVerifier[];
|
|
1246
|
+
authorizeCustomerCollection?: (input: Readonly<DevelopmentCollectionBinding>, context: Readonly<DevelopmentProviderContext>) => boolean | Promise<boolean>;
|
|
1247
|
+
readCustomerCollection?: (input: Readonly<DevelopmentCollectionBinding>, context: Readonly<DevelopmentProviderContext>) => {
|
|
1248
|
+
status: "complete";
|
|
1249
|
+
classCounts: Record<string, number>;
|
|
1250
|
+
} | {
|
|
1251
|
+
status: "unavailable";
|
|
1252
|
+
} | Promise<{
|
|
1253
|
+
status: "complete";
|
|
1254
|
+
classCounts: Record<string, number>;
|
|
1255
|
+
} | {
|
|
1256
|
+
status: "unavailable";
|
|
1257
|
+
}>;
|
|
1258
|
+
/** Product-reported freshness only; the server must bind it to the selected subject/environment. */
|
|
1259
|
+
getIncrementalStatus?: (context: Readonly<DevelopmentProviderContext>, userId: string) => readonly DevelopmentIncrementalStatus[] | Promise<readonly DevelopmentIncrementalStatus[]>;
|
|
1260
|
+
authorizeCustomerReadback?: (input: Readonly<DevelopmentReadback>, context: Readonly<DevelopmentProviderContext>) => boolean | Promise<boolean>;
|
|
1261
|
+
readCustomerPostcondition?: (input: Readonly<DevelopmentReadback>, context: Readonly<DevelopmentProviderContext>) => {
|
|
1262
|
+
status: "observed";
|
|
1263
|
+
value: string | number | boolean | null;
|
|
1264
|
+
additional?: DevelopmentAdditionalObservation[];
|
|
1265
|
+
} | {
|
|
1266
|
+
status: "unavailable";
|
|
1267
|
+
} | Promise<{
|
|
1268
|
+
status: "observed";
|
|
1269
|
+
value: string | number | boolean | null;
|
|
1270
|
+
additional?: DevelopmentAdditionalObservation[];
|
|
1271
|
+
} | {
|
|
1272
|
+
status: "unavailable";
|
|
1273
|
+
}>;
|
|
1274
|
+
}
|
|
1275
|
+
type DevelopmentProviderRegistration = DevelopmentProviderContext;
|
|
1276
|
+
declare function developmentPreparationOperationKey(runId: string, userId: string, generationId: string): string;
|
|
1277
|
+
/** Scope guard and callback dispatcher; transport is supplied by the existing
|
|
1278
|
+
* authenticated effect host. No HTTP listener, directory or session is created. */
|
|
1279
|
+
declare class DevelopmentProvider {
|
|
1280
|
+
private binding?;
|
|
1281
|
+
readonly options: Readonly<DevelopmentProviderOptions>;
|
|
1282
|
+
constructor(options: DevelopmentProviderOptions);
|
|
1283
|
+
registrationParams(): {
|
|
1284
|
+
runId: string;
|
|
1285
|
+
buildId: string;
|
|
1286
|
+
operatorPrincipalId: string;
|
|
1287
|
+
environment: "dev";
|
|
1288
|
+
handlers: string[];
|
|
1289
|
+
postconditionVerifiers: readonly DevelopmentPostconditionVerifier[];
|
|
1290
|
+
};
|
|
1291
|
+
bind(value: unknown, sandboxId: string, providerId: string): Readonly<DevelopmentProviderRegistration>;
|
|
1292
|
+
get registration(): Readonly<DevelopmentProviderContext> | undefined;
|
|
1293
|
+
unbind(): void;
|
|
1294
|
+
invoke(value: unknown): Promise<DevelopmentUser[] | DevelopmentUser | null | DevelopmentUserProgress | {
|
|
1295
|
+
status: "complete";
|
|
1296
|
+
classCounts: Record<string, number>;
|
|
1297
|
+
} | readonly DevelopmentIncrementalStatus[] | {
|
|
1298
|
+
status: "observed";
|
|
1299
|
+
value: string | number | boolean | null;
|
|
1300
|
+
} | {
|
|
1301
|
+
status: "unavailable";
|
|
1302
|
+
}>;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
647
1305
|
/**
|
|
648
1306
|
* Configuration for the Granular client
|
|
649
1307
|
*/
|
|
@@ -915,6 +1573,11 @@ interface SessionArtifactFieldProvenance {
|
|
|
915
1573
|
invalidationReason?: string | null;
|
|
916
1574
|
}
|
|
917
1575
|
interface SessionArtifactRecord {
|
|
1576
|
+
noProgress?: boolean;
|
|
1577
|
+
noProgressCount?: number;
|
|
1578
|
+
noProgressReason?: string;
|
|
1579
|
+
/** Server-owned corrective structure returned with an unchanged input update. */
|
|
1580
|
+
steering?: StructuralSteeringContext;
|
|
918
1581
|
artifactId: string;
|
|
919
1582
|
sessionId?: string | null;
|
|
920
1583
|
environmentId?: string | null;
|
|
@@ -1006,6 +1669,7 @@ interface SessionArtifactRelationshipCreateInput {
|
|
|
1006
1669
|
values?: Record<string, unknown>;
|
|
1007
1670
|
}
|
|
1008
1671
|
interface SessionArtifactExecutionResult {
|
|
1672
|
+
steering?: StructuralSteeringContext;
|
|
1009
1673
|
ok: boolean;
|
|
1010
1674
|
status: SessionArtifactStatus;
|
|
1011
1675
|
artifact: SessionArtifactRecord;
|
|
@@ -1209,7 +1873,78 @@ interface ObservationReceipt {
|
|
|
1209
1873
|
createdAt: string;
|
|
1210
1874
|
updatedAt: string;
|
|
1211
1875
|
}
|
|
1876
|
+
/** Payload-free evidence from retained session run reports. */
|
|
1877
|
+
interface SessionHistoryRunEvidence {
|
|
1878
|
+
source: "retained_run_report";
|
|
1879
|
+
goalDecision: {
|
|
1880
|
+
source: "harness_goal_evaluation";
|
|
1881
|
+
decision: "satisfied" | "partial" | "confirmation_denied" | "blocked_by_policy" | "impossible" | "interrupted" | "blocked_by_missing_capability" | "await_user" | "continue" | "no_progress" | "repair_code" | "retry_job" | "retry_prepared" | null;
|
|
1882
|
+
criteria: {
|
|
1883
|
+
passed: number;
|
|
1884
|
+
failed: number;
|
|
1885
|
+
notApplicable: number;
|
|
1886
|
+
unknown: number;
|
|
1887
|
+
} | null;
|
|
1888
|
+
};
|
|
1889
|
+
approval: "not_recorded";
|
|
1890
|
+
actor: "not_recorded";
|
|
1891
|
+
build: "not_recorded";
|
|
1892
|
+
}
|
|
1893
|
+
/** Persisted ledger facts; missing fields must remain unknown for old records. */
|
|
1894
|
+
interface SessionMutationEvidence {
|
|
1895
|
+
source: "commit_ledger";
|
|
1896
|
+
invocationStatus: "reserved" | "running" | "failed" | "unknown" | "mapping_failed" | "committed";
|
|
1897
|
+
ontologyBuildId?: string;
|
|
1898
|
+
/** False means no correlated retained commit, not proof that the product was unchanged. */
|
|
1899
|
+
productCommitRecorded: boolean;
|
|
1900
|
+
/** Agent projection attempts, distinct from product execution attempts. */
|
|
1901
|
+
agentAttempts?: number;
|
|
1902
|
+
committedAt?: string;
|
|
1903
|
+
completedAt?: string;
|
|
1904
|
+
approval: "not_recorded";
|
|
1905
|
+
actor: "not_recorded";
|
|
1906
|
+
}
|
|
1907
|
+
/** A recorded human answer; it does not establish product execution or commit. */
|
|
1908
|
+
interface SessionPolicyDecisionReceipt {
|
|
1909
|
+
schemaVersion: 1;
|
|
1910
|
+
source: "persisted_human_prompt";
|
|
1911
|
+
promptId: string;
|
|
1912
|
+
artifactId: string;
|
|
1913
|
+
jobId: string;
|
|
1914
|
+
decision: "approved" | "denied";
|
|
1915
|
+
answeredAt: number;
|
|
1916
|
+
recordedAt: number;
|
|
1917
|
+
executionScope?: {
|
|
1918
|
+
attemptId: string;
|
|
1919
|
+
effectKey: string;
|
|
1920
|
+
};
|
|
1921
|
+
}
|
|
1922
|
+
interface SessionHistoryArtifactExecutionLink {
|
|
1923
|
+
source: "session_artifact_execution";
|
|
1924
|
+
artifactId: string;
|
|
1925
|
+
jobId: string | null;
|
|
1926
|
+
attemptId: string;
|
|
1927
|
+
invocationId: string;
|
|
1928
|
+
effectKey: string;
|
|
1929
|
+
/** Artifact attempt start, not proof of physical product dispatch. */
|
|
1930
|
+
startedAt: number;
|
|
1931
|
+
approval: "recorded" | "not_recorded";
|
|
1932
|
+
policyDecision?: SessionPolicyDecisionReceipt;
|
|
1933
|
+
commit: "recorded" | "not_recorded";
|
|
1934
|
+
commitId?: string;
|
|
1935
|
+
committedAt?: string;
|
|
1936
|
+
commitRecordedAt?: number;
|
|
1937
|
+
}
|
|
1938
|
+
interface SessionHistoryArtifactEvidence {
|
|
1939
|
+
source: "session_artifact_timeline";
|
|
1940
|
+
policyDecision: "recorded" | "not_recorded";
|
|
1941
|
+
policyDecisions: SessionPolicyDecisionReceipt[];
|
|
1942
|
+
executionLinks?: SessionHistoryArtifactExecutionLink[];
|
|
1943
|
+
actor: "not_recorded";
|
|
1944
|
+
completeness: "retained_only";
|
|
1945
|
+
}
|
|
1212
1946
|
interface SessionMutationView {
|
|
1947
|
+
evidence?: SessionMutationEvidence;
|
|
1213
1948
|
invocationId: string;
|
|
1214
1949
|
commitId?: string;
|
|
1215
1950
|
jobId?: string;
|
|
@@ -3447,6 +4182,52 @@ declare class Session {
|
|
|
3447
4182
|
* Get the current domain state and available tools
|
|
3448
4183
|
*/
|
|
3449
4184
|
getDomain(): Promise<DomainState>;
|
|
4185
|
+
/** Hosted-harness module context for an external subject agent. */
|
|
4186
|
+
getHarnessContext(): Promise<{
|
|
4187
|
+
activeDomainRevision?: string | null;
|
|
4188
|
+
domainContextVersion?: string | null;
|
|
4189
|
+
moduleCatalogVersion: string;
|
|
4190
|
+
moduleDocumentationVersion: string;
|
|
4191
|
+
installedModuleSpecifiers: string[];
|
|
4192
|
+
importableModules: Array<{
|
|
4193
|
+
specifier: string;
|
|
4194
|
+
kind: string;
|
|
4195
|
+
description: string;
|
|
4196
|
+
installed: boolean;
|
|
4197
|
+
executable: boolean;
|
|
4198
|
+
}>;
|
|
4199
|
+
importMap: Record<string, string>;
|
|
4200
|
+
sections: Array<{
|
|
4201
|
+
id: string;
|
|
4202
|
+
title: string;
|
|
4203
|
+
kind: string;
|
|
4204
|
+
content: string;
|
|
4205
|
+
}>;
|
|
4206
|
+
promptContextTokens?: number;
|
|
4207
|
+
promptTokens?: number;
|
|
4208
|
+
availableModules: Array<{
|
|
4209
|
+
specifier: string;
|
|
4210
|
+
kind: string;
|
|
4211
|
+
description: string;
|
|
4212
|
+
declaration: string;
|
|
4213
|
+
documentation: string;
|
|
4214
|
+
agentGuide: string;
|
|
4215
|
+
installed: boolean;
|
|
4216
|
+
runtime: {
|
|
4217
|
+
executable: boolean;
|
|
4218
|
+
currentRuntimeSpecifier?: string;
|
|
4219
|
+
reason?: string;
|
|
4220
|
+
};
|
|
4221
|
+
}>;
|
|
4222
|
+
}>;
|
|
4223
|
+
/** Submit external agent code through the hosted harness import preparation. */
|
|
4224
|
+
submitSubjectJob(code: string, options?: {
|
|
4225
|
+
domainRevision?: string;
|
|
4226
|
+
metadata?: Record<string, unknown>;
|
|
4227
|
+
}): Promise<Job>;
|
|
4228
|
+
/** A canonical job read also reconciles a handle whose terminal event was missed. */
|
|
4229
|
+
protected reconcileCanonicalJobRead(jobId: string, record: unknown): void;
|
|
4230
|
+
protected rejectTerminalJobRead(jobId: string, error: unknown): void;
|
|
3450
4231
|
/**
|
|
3451
4232
|
* Fetch a domain package part from the backend (no fallback).
|
|
3452
4233
|
*/
|
|
@@ -4209,12 +4990,22 @@ declare class OntologyHandle {
|
|
|
4209
4990
|
clear: () => Promise<void>;
|
|
4210
4991
|
disconnect: () => Promise<void>;
|
|
4211
4992
|
};
|
|
4993
|
+
/** Register the product-owned user directory on the existing SDK connection. */
|
|
4994
|
+
register_users(handler: UsersHandler, options?: UsersProviderOptions): Promise<Readonly<UsersRegistration>>;
|
|
4995
|
+
get development(): {
|
|
4996
|
+
register: (options: DevelopmentProviderOptions) => Promise<Readonly<DevelopmentProviderRegistration>>;
|
|
4997
|
+
};
|
|
4212
4998
|
get importer(): {
|
|
4999
|
+
/** Register and publish on the existing backend provider connection. */
|
|
5000
|
+
register: (handler: EnvironmentImporterHandler) => Promise<void>;
|
|
4213
5001
|
onEnvironmentCreate: (handler: EnvironmentImporterHandler) => void;
|
|
4214
5002
|
clear: () => void;
|
|
4215
5003
|
};
|
|
4216
5004
|
}
|
|
5005
|
+
|
|
4217
5006
|
declare class Granular {
|
|
5007
|
+
/** Tenant events feed, authenticated with this client's credentials. */
|
|
5008
|
+
readonly eventsFeed: EventsFeed;
|
|
4218
5009
|
private apiKey;
|
|
4219
5010
|
private apiUrl;
|
|
4220
5011
|
private httpUrl;
|
|
@@ -4229,6 +5020,8 @@ declare class Granular {
|
|
|
4229
5020
|
private sandboxEffects;
|
|
4230
5021
|
/** Live sandbox-scoped effect hosts keyed by sandboxId */
|
|
4231
5022
|
private sandboxEffectHosts;
|
|
5023
|
+
private developmentProviders;
|
|
5024
|
+
private usersProviders;
|
|
4232
5025
|
/** In-flight host connection promises to avoid duplicate concurrent connects */
|
|
4233
5026
|
private sandboxEffectHostPromises;
|
|
4234
5027
|
/** Ontology-bound environment importer hooks keyed by the caller's ontology identifier. */
|
|
@@ -4245,6 +5038,7 @@ declare class Granular {
|
|
|
4245
5038
|
*/
|
|
4246
5039
|
ontology(ontologyNameOrId: string): OntologyHandle;
|
|
4247
5040
|
registerEnvironmentImporter(ontologyNameOrId: string, handler: EnvironmentImporterHandler): void;
|
|
5041
|
+
connectEnvironmentImporter(ontologyNameOrId: string): Promise<void>;
|
|
4248
5042
|
clearEnvironmentImporter(ontologyNameOrId: string): void;
|
|
4249
5043
|
/**
|
|
4250
5044
|
* Records/upserts a user and prepares them for sandbox connections
|
|
@@ -4337,6 +5131,9 @@ declare class Granular {
|
|
|
4337
5131
|
* `getRecordImportSummary()`.
|
|
4338
5132
|
*/
|
|
4339
5133
|
runEnvironmentImporterForEnvironment(environmentId: string, options?: RunEnvironmentImporterOptions): Promise<EnvironmentSetupSummary | null>;
|
|
5134
|
+
/** Only the authenticated server-created reverse-RPC binding supplies this
|
|
5135
|
+
* product identity. Ordinary public callers retain legacy identity checks. */
|
|
5136
|
+
private runBoundEnvironmentImporter;
|
|
4340
5137
|
private resolveRequestedTag;
|
|
4341
5138
|
private buildManagedEnvironmentName;
|
|
4342
5139
|
private isManagedEnvironmentName;
|
|
@@ -4411,6 +5208,11 @@ declare class Granular {
|
|
|
4411
5208
|
private recoverEffectHost;
|
|
4412
5209
|
private startEffectHostHeartbeat;
|
|
4413
5210
|
private stopEffectHostHeartbeat;
|
|
5211
|
+
registerUsers(ontologyNameOrId: string, handler: UsersHandler, options?: UsersProviderOptions): Promise<Readonly<UsersRegistration>>;
|
|
5212
|
+
private registerUsersOnHost;
|
|
5213
|
+
/** Register product-owned dev operator callbacks on the existing provider socket. */
|
|
5214
|
+
registerDevelopmentProvider(ontologyNameOrId: string, options: DevelopmentProviderOptions): Promise<Readonly<DevelopmentProviderRegistration>>;
|
|
5215
|
+
private registerDevelopmentOnHost;
|
|
4414
5216
|
private synchronizeEffectHost;
|
|
4415
5217
|
private ensureSandboxEffectHost;
|
|
4416
5218
|
private disconnectSandboxEffectHost;
|
|
@@ -4551,4 +5353,4 @@ declare class Granular {
|
|
|
4551
5353
|
private request;
|
|
4552
5354
|
}
|
|
4553
5355
|
|
|
4554
|
-
export { type FeedTableRowReference as $, type ArtifactWorkflowNode as A, type FeedSource as B, type CommitReceipt as C, type DomainState as D, type EnvironmentData as E, type FeedPublishTransport as F, Granular as G, type FeedIconToken as H, type InstanceToolHandler as I, type FeedFeedbackTone as J, type FeedTransientFeedbackTone as K, type FeedItemKind as L, type ManifestEffectMetamodelSpec as M, type FeedTarget as N, OntologyHandle as O, type ProjectionResult as P, type FeedItemBase as Q, type ResolvedEffectBehaviors as R, type SessionHeapEntry as S, type ToolWithHandler as T, type MessageFeedItem as U, type FeedbackFeedItem as V, WSClient as W, type FeedObjectReference as X, type ObjectsFeedItem as Y, type FeedTableCell as Z, type FeedTableColumn as _, type EnvironmentRecordImportSummary as a, type ConversationSessionInfo as a$, type FeedTableRow as a0, type FeedTableProjection as a1, type TableFeedItem as a2, type ArtifactFeedItem as a3, type FeedFileSource as a4, type FileFeedItem as a5, type NormalizedSuggestedArtifact as a6, type ActionSuggestionFeedItem as a7, type PromptFeedItem as a8, type TransientFeedItemBase as a9, normalizeFeedPage as aA, SessionFeedController as aB, type PublishFeedbackOptions as aC, type PublishTransientFeedbackOptions as aD, type SettleTransientFeedbackOptions as aE, type TransientFeedbackHandle as aF, type FeedPublisher as aG, createFeedPublisher as aH, type ConditionIR as aI, type MatchedPolicy as aJ, type PolicyOperator as aK, type PolicyOrigin as aL, type PolicyPredicateSource as aM, type PolicyRuleIR as aN, type PolicySource as aO, type APIError as aP, type AccessTokenProvider as aQ, type DeleteResponse as aR, type GraphQLResult as aS, type SessionCollectionListOptions as aT, type StreamEvent as aU, type StreamStats as aV, type StreamSubscription as aW, type GranularAuth as aX, type GranularOptions as aY, type AdoptEnvironmentOptions as aZ, type ConnectOptions as a_, type TransientMessageFeedItem as aa, type TransientFeedbackFeedItem as ab, type TransientFeedItem as ac, type FeedSnapshot as ad, type FeedListOptions as ae, type FeedPage as af, type FeedSubscribeOptions as ag, type FeedSubscriptionChange as ah, type SessionFeedApi as ai, mergeFeedItemsBySequence as aj, orderTransientFeedItems as ak, type FeedListTransport as al, type FeedSnapshotRegressionReason as am, type FeedDiagnostic as an, type FeedDiagnosticListener as ao, GRANULAR_FEED_DIAGNOSTIC_EVENT as ap, normalizeFeedDiagnosticKind as aq, normalizeFeedDiagnostic as ar, emitFeedDiagnosticToDefaultSink as as, emitFeedDiagnostic as at, type SessionFeedControllerOptions as au, type FeedDocumentState as av, emptyFeedSnapshot as aw, hasCanonicalSessionFeedActivation as ax, isCanonicalSessionFeedDocument as ay, readSessionFeedSnapshot as az, type EndpointMode as b, type RelationshipProjectionChange as b$, type ConversationSessionListOptions as b0, type ConversationSessionListResponse as b1, type ConversationSessionListStatus as b2, type CreateSessionOptions as b3, type OpenEnvironmentOptions as b4, type RecordUserOptions as b5, type Subject as b6, type User as b7, type Assignment as b8, type AssignmentListResponse as b9, type EffectInvocationMetadata as bA, type EffectInvocationMode as bB, type EffectSchema as bC, type EffectVersionSelector as bD, type EffectWithHandler as bE, type EffectsChangedEvent as bF, type InstanceEffectHandler as bG, type PublishEffectsResult as bH, type ResolvedEffectApprovalRequired as bI, type ResolvedEffectDryRun as bJ, type ResolvedEffectPostCondition as bK, type ResolvedEffectReverse as bL, type ToolInfo as bM, type ToolsChangedEvent as bN, type AgentCommitStatus as bO, type BaseProjectionResult as bP, type CanonicalProjectedRecord as bQ, type CommitChangeReceipt as bR, type CommitSafeError as bS, type CommitTransitionReceipt as bT, type EffectCommitContext as bU, type EffectProjectionResult as bV, type ExternalCommitOptions as bW, type ObjectProjectionChange as bX, type ObjectReference as bY, type ObservationReceipt as bZ, type ProjectionChange as b_, type Build as ba, type BuildListResponse as bb, type BuildPolicy as bc, type BuildStatus as bd, type CreateEnvironmentData as be, type CreatePermissionProfileData as bf, type CreateSandboxData as bg, type EnvironmentListResponse as bh, type Manifest as bi, type ManifestListResponse as bj, type PermissionProfile as bk, type PermissionProfileListResponse as bl, type PermissionRules as bm, type Sandbox as bn, type SandboxListResponse as bo, type SemanticVersionDiff as bp, type SemanticVersionDiffEntry as bq, type Version as br, type VersionTag as bs, type VersionTracking as bt, type ArtifactOptionsHandler as bu, type EffectArtifactOptionsInvocation as bv, type EffectArtifactRelationshipOption as bw, type EffectArtifactRelationshipOptionsResult as bx, type EffectHandler as by, type EffectInfo as bz, type EffectCommitRequest as c, type ManualActionSuggestionOptions as c$, type SessionMutationView as c0, type SourceAcknowledgement as c1, type StateObservationProjectionChange as c2, type TransitionOutcomeProjection as c3, type TransitionProjectionResult as c4, type AssistantReplyPublicationInput as c5, type AssistantReplyPublicationResult as c6, type EnvironmentFeedbackRecord as c7, type Job as c8, type JobFeedbackInput as c9, type ArtifactWorkflowNodeKind as cA, type ArtifactWorkflowOperationPhase as cB, type ArtifactWorkflowRecap as cC, type ArtifactWorkflowRecapItem as cD, type SessionArtifactApprovalOptions as cE, type SessionArtifactAutonomyPolicy as cF, type SessionArtifactExecutionOptions as cG, type SessionArtifactExecutionResult as cH, type SessionArtifactFieldProvenance as cI, type SessionArtifactFieldProvenanceSource as cJ, type SessionArtifactKind as cK, type SessionArtifactListOptions as cL, type SessionArtifactRelationshipCreateInput as cM, type SessionArtifactRelationshipOption as cN, type SessionArtifactRelationshipOptionsInput as cO, type SessionArtifactRelationshipOptionsResult as cP, type SessionArtifactRequestContext as cQ, type SessionArtifactRequestContextSource as cR, type SessionArtifactStatus as cS, type SessionArtifactValidationResult as cT, type ManualActionListOptions as cU, type ManualActionOccurrence as cV, type ManualActionRecordResult as cW, type ManualActionRelatedRecord as cX, type ManualActionSource as cY, type ManualActionStatus as cZ, type ManualActionSuggestion as c_, type JobFeedbackMetadata as ca, type JobFeedbackRecord as cb, type JobFeedbackSentiment as cc, type JobFeedbackToolCall as cd, type JobStatus as ce, type JobSubmitResult as cf, type SessionTimelineEvent as cg, type SessionTranscriptActionSuggestion as ch, type SessionTranscriptShowRefs as ci, type UserMessageAppendResult as cj, type UserMessageInput as ck, type UserMessageShowRefs as cl, type UserMessageTarget as cm, type SessionFileKind as cn, type SessionFileRecord as co, type SessionFileSource as cp, type SessionFileStatus as cq, type SessionFileUploadOptions as cr, type ArtifactApprovalDecisionInput as cs, type ArtifactApprovalDecisionResult as ct, type ArtifactApprovalTask as cu, type ArtifactApprovalTaskListOptions as cv, type ArtifactApprovalTaskStatus as cw, type ArtifactWorkflowAttention as cx, type ArtifactWorkflowCompletionState as cy, type ArtifactWorkflowNodeAvailability as cz, type ProjectionMapper as d, type ManifestEventStreamDef as d$, type ManualActionTarget as d0, type RecordManualActionInput as d1, type MarkUserEnvironmentReadOptions as d2, type RecordMentionInput as d3, type RecordSearchOptions as d4, type RecordSearchResult as d5, type SessionCollectionListResult as d6, type SessionDocumentResult as d7, type SessionHeapFieldType as d8, type SessionHeapFieldValue as d9, type EnvironmentSetupSummary as dA, type EnvironmentSetupTriggerReason as dB, type EnvironmentStateMachineProxy as dC, type EnvironmentStateObservationInput as dD, type EnvironmentStateProxy as dE, type EnvironmentStateTarget as dF, type EnvironmentStateUpdateInput as dG, type ModelRef as dH, type RecordImport as dI, type RecordImportItem as dJ, type RecordImportItemStatus as dK, type RecordImportOptions as dL, type RecordImportStats as dM, type RecordImportStatus as dN, type RecordImportWriteMode as dO, type RecordObjectResult as dP, type RecordObjectStateValue as dQ, type RecordObjectsChunkInfo as dR, type RecordObjectsOptions as dS, type RelationshipInfo as dT, type RunEnvironmentImporterOptions as dU, type ManifestApprovalRequiredSpec as dV, type ManifestCreatesSpec as dW, type ManifestDryRunSpec as dX, type ManifestEffectDeclaration as dY, type ManifestEffectSchema as dZ, type ManifestEnumRuleSpec as d_, type SessionHeapVariable as da, type SessionJobListOptions as db, type SessionJobRecord as dc, type UserEnvironmentArtifactAttention as dd, type UserEnvironmentMessagePreview as de, type UserEnvironmentPrompt as df, type UserEnvironmentSessionState as dg, type UserEnvironmentState as dh, type UserEnvironmentStateOptions as di, type FeedTransientPatchMessage as dj, type JobActionTraceMessage as dk, type RPCRequest as dl, type RPCRequestFromServer as dm, type RPCResponse as dn, type SnapshotResetMessage as dp, type ToolInvokeParams as dq, type ToolResultParams as dr, type WSClientOptions as ds, type WSDisconnectInfo as dt, type WSReconnectErrorInfo as du, type DefineRelationshipOptions as dv, type EnvironmentImporter as dw, type EnvironmentImporterImportOptions as dx, type EnvironmentSetupImporterClaim as dy, type EnvironmentSetupLifecycleStatus as dz, type CommitTransitionOutcomeDeclaration as e, type ManifestEventTypeDef as e0, type ManifestFilterBySpec as e1, type ManifestImport as e2, type ManifestOperation as e3, type ManifestPostConditionSpec as e4, type ManifestPropertySpec as e5, type ManifestRelationshipDef as e6, type ManifestReverseSpec as e7, type ManifestStateMachineSpec as e8, type ManifestStateMachineStateSpec as e9, type ManifestStateMachineTransitionSpec as ea, type ManifestStateTransitionActionSpec as eb, type ManifestStateTransitionAssigneeSpec as ec, type ManifestStateTransitionExpectedOutcomeSpec as ed, type ManifestStateTransitionInputBinding as ee, type ManifestStateTransitionOutcomeSpec as ef, type ManifestStateTransitionPermissionSpec as eg, type ManifestStateTransitionRelatedStateRequirementSpec as eh, type ManifestStateTransitionRequirementsSpec as ei, type ManifestValidationOperator as ej, type ManifestValidationRuleSpec as ek, type ManifestVolume as el, type CommitDeclaration as f, type EffectHandlerContext as g, type RecordObjectOptions as h, type ManifestContent as i, type CommitTransitionInvocation as j, type SessionHeapList as k, type FeedItem as l, type SessionHeapSnapshot as m, type Prompt as n, type SessionTranscriptEntry as o, type ArtifactWorkflowNodeStatus as p, type ArtifactWorkflow as q, type SessionArtifactRecord as r, Environment as s, EnvironmentSession as t, isGraphQLMutationDocument as u, Session as v, type ToolSchema as w, type PublishToolsResult as x, type ToolHandler as y, type FeedSourceActor as z };
|
|
5356
|
+
export { type UserMembershipHandler as $, type ArtifactWorkflowNode as A, type EventsFeedTransport as B, type CommitReceipt as C, Environment as D, type EnvironmentData as E, type FeedPublishTransport as F, Granular as G, EnvironmentSession as H, OntologyHandle as I, isGraphQLMutationDocument as J, Session as K, type PublishToolsResult as L, type ManifestEffectMetamodelSpec as M, type ToolHandler as N, type OnboardingTestSessionRestriction as O, type ProjectionResult as P, type InstanceToolHandler as Q, type ResolvedEffectBehaviors as R, type SessionHeapEntry as S, type ToolWithHandler as T, type DomainState as U, type RegisteredUser as V, WSClient as W, type UsersHandler as X, type UsersPage as Y, type UsersPageRequest as Z, type UsersRegistration as _, type EnvironmentRecordImportSummary as a, normalizeFeedDiagnostic as a$, type UsersProviderOptions as a0, type EventsFeedResponse as a1, type EventsFeedOutcome as a2, type EventsFeedEnvironment as a3, type EventsFeedActivityType as a4, type EventsFeedEvidence as a5, type EventsFeedFinding as a6, type EventsFeedOutcomeLink as a7, type EventsFeedActivity as a8, type EventsFeedBreakdown as a9, type FeedTableRow as aA, type FeedTableProjection as aB, type TableFeedItem as aC, type ArtifactFeedItem as aD, type FeedFileSource as aE, type FileFeedItem as aF, type NormalizedSuggestedArtifact as aG, type ActionSuggestionFeedItem as aH, type PromptFeedItem as aI, type TransientFeedItemBase as aJ, type TransientMessageFeedItem as aK, type TransientFeedbackFeedItem as aL, type TransientFeedItem as aM, type FeedSnapshot as aN, type FeedListOptions as aO, type FeedPage as aP, type FeedSubscribeOptions as aQ, type FeedSubscriptionChange as aR, type SessionFeedApi as aS, mergeFeedItemsBySequence as aT, orderTransientFeedItems as aU, type FeedListTransport as aV, type FeedSnapshotRegressionReason as aW, type FeedDiagnostic as aX, type FeedDiagnosticListener as aY, GRANULAR_FEED_DIAGNOSTIC_EVENT as aZ, normalizeFeedDiagnosticKind as a_, type EventsFeedResolution as aa, type EventsFeedProblem as ab, type EventsFeedOccurrence as ac, type EventsFeedFilter as ad, type EventsFeedPage as ae, type EventsFeedDetail as af, type EventsFeedMetrics as ag, type EventsFeedCaptureHealth as ah, type EventsFeedResolutionInput as ai, type EventsFeedSqlRequest as aj, type EventsFeedSqlResult as ak, type FeedSourceActor as al, type FeedSource as am, type FeedIconToken as an, type FeedFeedbackTone as ao, type FeedTransientFeedbackTone as ap, type FeedItemKind as aq, type FeedTarget as ar, type FeedItemBase as as, type MessageFeedItem as at, type FeedbackFeedItem as au, type FeedObjectReference as av, type ObjectsFeedItem as aw, type FeedTableCell as ax, type FeedTableColumn as ay, type FeedTableRowReference as az, type EndpointMode as b, type PermissionRules as b$, emitFeedDiagnosticToDefaultSink as b0, emitFeedDiagnostic as b1, type SessionFeedControllerOptions as b2, type FeedDocumentState as b3, emptyFeedSnapshot as b4, hasCanonicalSessionFeedActivation as b5, isCanonicalSessionFeedDocument as b6, readSessionFeedSnapshot as b7, normalizeFeedPage as b8, SessionFeedController as b9, type GranularAuth as bA, type GranularOptions as bB, type AdoptEnvironmentOptions as bC, type ConnectOptions as bD, type ConversationSessionInfo as bE, type ConversationSessionListOptions as bF, type ConversationSessionListResponse as bG, type ConversationSessionListStatus as bH, type CreateSessionOptions as bI, type OpenEnvironmentOptions as bJ, type RecordUserOptions as bK, type Subject as bL, type User as bM, type Assignment as bN, type AssignmentListResponse as bO, type Build as bP, type BuildListResponse as bQ, type BuildPolicy as bR, type BuildStatus as bS, type CreateEnvironmentData as bT, type CreatePermissionProfileData as bU, type CreateSandboxData as bV, type EnvironmentListResponse as bW, type Manifest as bX, type ManifestListResponse as bY, type PermissionProfile as bZ, type PermissionProfileListResponse as b_, type PublishFeedbackOptions as ba, type PublishTransientFeedbackOptions as bb, type SettleTransientFeedbackOptions as bc, type TransientFeedbackHandle as bd, type FeedPublisher as be, createFeedPublisher as bf, type SessionHistoryRunEvidence as bg, type SessionMutationEvidence as bh, type SessionPolicyDecisionReceipt as bi, type SessionHistoryArtifactExecutionLink as bj, type SessionHistoryArtifactEvidence as bk, type ConditionIR as bl, type MatchedPolicy as bm, type PolicyOperator as bn, type PolicyOrigin as bo, type PolicyPredicateSource as bp, type PolicyRuleIR as bq, type PolicySource as br, type APIError as bs, type AccessTokenProvider as bt, type DeleteResponse as bu, type GraphQLResult as bv, type SessionCollectionListOptions as bw, type StreamEvent as bx, type StreamStats as by, type StreamSubscription as bz, type EffectCommitRequest as c, type SessionFileRecord as c$, type Sandbox as c0, type SandboxListResponse as c1, type SemanticVersionDiff as c2, type SemanticVersionDiffEntry as c3, type Version as c4, type VersionTag as c5, type VersionTracking as c6, type ArtifactOptionsHandler as c7, type EffectArtifactOptionsInvocation as c8, type EffectArtifactRelationshipOption as c9, type ObjectReference as cA, type ProjectionChange as cB, type RelationshipProjectionChange as cC, type SessionMutationView as cD, type SourceAcknowledgement as cE, type StateObservationProjectionChange as cF, type TransitionOutcomeProjection as cG, type TransitionProjectionResult as cH, type AssistantReplyPublicationInput as cI, type AssistantReplyPublicationResult as cJ, type EnvironmentFeedbackRecord as cK, type Job as cL, type JobFeedbackInput as cM, type JobFeedbackMetadata as cN, type JobFeedbackRecord as cO, type JobFeedbackSentiment as cP, type JobFeedbackToolCall as cQ, type JobStatus as cR, type JobSubmitResult as cS, type SessionTimelineEvent as cT, type SessionTranscriptActionSuggestion as cU, type SessionTranscriptShowRefs as cV, type UserMessageAppendResult as cW, type UserMessageInput as cX, type UserMessageShowRefs as cY, type UserMessageTarget as cZ, type SessionFileKind as c_, type EffectArtifactRelationshipOptionsResult as ca, type EffectHandler as cb, type EffectInfo as cc, type EffectInvocationMetadata as cd, type EffectInvocationMode as ce, type EffectSchema as cf, type EffectVersionSelector as cg, type EffectWithHandler as ch, type EffectsChangedEvent as ci, type InstanceEffectHandler as cj, type PublishEffectsResult as ck, type ResolvedEffectApprovalRequired as cl, type ResolvedEffectDryRun as cm, type ResolvedEffectPostCondition as cn, type ResolvedEffectReverse as co, type ToolInfo as cp, type ToolsChangedEvent as cq, type AgentCommitStatus as cr, type BaseProjectionResult as cs, type CanonicalProjectedRecord as ct, type CommitChangeReceipt as cu, type CommitSafeError as cv, type CommitTransitionReceipt as cw, type EffectCommitContext as cx, type ExternalCommitOptions as cy, type ObjectProjectionChange as cz, type ProjectionMapper as d, type RPCResponse as d$, type SessionFileSource as d0, type SessionFileStatus as d1, type SessionFileUploadOptions as d2, type ArtifactApprovalDecisionInput as d3, type ArtifactApprovalDecisionResult as d4, type ArtifactApprovalTask as d5, type ArtifactApprovalTaskListOptions as d6, type ArtifactApprovalTaskStatus as d7, type ArtifactWorkflowAttention as d8, type ArtifactWorkflowCompletionState as d9, type ManualActionSource as dA, type ManualActionStatus as dB, type ManualActionSuggestion as dC, type ManualActionSuggestionOptions as dD, type ManualActionTarget as dE, type RecordManualActionInput as dF, type MarkUserEnvironmentReadOptions as dG, type RecordMentionInput as dH, type RecordSearchOptions as dI, type RecordSearchResult as dJ, type SessionCollectionListResult as dK, type SessionDocumentResult as dL, type SessionHeapFieldType as dM, type SessionHeapFieldValue as dN, type SessionHeapVariable as dO, type SessionJobListOptions as dP, type SessionJobRecord as dQ, type UserEnvironmentArtifactAttention as dR, type UserEnvironmentMessagePreview as dS, type UserEnvironmentPrompt as dT, type UserEnvironmentSessionState as dU, type UserEnvironmentState as dV, type UserEnvironmentStateOptions as dW, type FeedTransientPatchMessage as dX, type JobActionTraceMessage as dY, type RPCRequest as dZ, type RPCRequestFromServer as d_, type ArtifactWorkflowNodeAvailability as da, type ArtifactWorkflowNodeKind as db, type ArtifactWorkflowOperationPhase as dc, type ArtifactWorkflowRecap as dd, type ArtifactWorkflowRecapItem as de, type SessionArtifactApprovalOptions as df, type SessionArtifactAutonomyPolicy as dg, type SessionArtifactExecutionOptions as dh, type SessionArtifactExecutionResult as di, type SessionArtifactFieldProvenance as dj, type SessionArtifactFieldProvenanceSource as dk, type SessionArtifactKind as dl, type SessionArtifactListOptions as dm, type SessionArtifactRelationshipCreateInput as dn, type SessionArtifactRelationshipOption as dp, type SessionArtifactRelationshipOptionsInput as dq, type SessionArtifactRelationshipOptionsResult as dr, type SessionArtifactRequestContext as ds, type SessionArtifactRequestContextSource as dt, type SessionArtifactStatus as du, type SessionArtifactValidationResult as dv, type ManualActionListOptions as dw, type ManualActionOccurrence as dx, type ManualActionRecordResult as dy, type ManualActionRelatedRecord as dz, type CommitTransitionOutcomeDeclaration as e, type OnboardingProductPostcondition as e$, type SnapshotResetMessage as e0, type ToolInvokeParams as e1, type ToolResultParams as e2, type WSClientOptions as e3, type WSDisconnectInfo as e4, type WSReconnectErrorInfo as e5, type DefineRelationshipOptions as e6, type EnvironmentSetupImporterClaim as e7, type EnvironmentSetupLifecycleStatus as e8, type EnvironmentSetupSummary as e9, type ManifestEventStreamDef as eA, type ManifestEventTypeDef as eB, type ManifestFilterBySpec as eC, type ManifestImport as eD, type ManifestOperation as eE, type ManifestPostConditionSpec as eF, type ManifestPropertySpec as eG, type ManifestRelationshipDef as eH, type ManifestReverseSpec as eI, type ManifestStateMachineSpec as eJ, type ManifestStateMachineStateSpec as eK, type ManifestStateMachineTransitionSpec as eL, type ManifestStateTransitionActionSpec as eM, type ManifestStateTransitionAssigneeSpec as eN, type ManifestStateTransitionExpectedOutcomeSpec as eO, type ManifestStateTransitionInputBinding as eP, type ManifestStateTransitionOutcomeSpec as eQ, type ManifestStateTransitionPermissionSpec as eR, type ManifestStateTransitionRelatedStateRequirementSpec as eS, type ManifestStateTransitionRequirementsSpec as eT, type ManifestValidationOperator as eU, type ManifestValidationRuleSpec as eV, type ManifestVolume as eW, type OnboardingTestOperation as eX, type OnboardingDenialTarget as eY, type OnboardingTestActionProfileSelection as eZ, type OnboardingTestActionProfile as e_, type EnvironmentSetupTriggerReason as ea, type EnvironmentStateMachineProxy as eb, type EnvironmentStateObservationInput as ec, type EnvironmentStateProxy as ed, type EnvironmentStateTarget as ee, type EnvironmentStateUpdateInput as ef, type ModelRef as eg, type RecordImport as eh, type RecordImportItem as ei, type RecordImportItemStatus as ej, type RecordImportOptions as ek, type RecordImportStats as el, type RecordImportStatus as em, type RecordImportWriteMode as en, type RecordObjectResult as eo, type RecordObjectStateValue as ep, type RecordObjectsChunkInfo as eq, type RecordObjectsOptions as er, type RelationshipInfo as es, type RunEnvironmentImporterOptions as et, type ManifestApprovalRequiredSpec as eu, type ManifestCreatesSpec as ev, type ManifestDryRunSpec as ew, type ManifestEffectDeclaration as ex, type ManifestEffectSchema as ey, type ManifestEnumRuleSpec as ez, type CommitDeclaration as f, type OnboardingTestRequestInput as f0, type OnboardingTestRequest as f1, type OnboardingTestObservationInput as f2, type OnboardingTestObservation as f3, type OnboardingTestOutcome as f4, type OnboardingTestEvidence as f5, onboardingExpectedDenialObserved as f6, type DevelopmentUser as f7, type DevelopmentProviderContext as f8, type DevelopmentUserProgress as f9, type DevelopmentUserOperation as fa, type DevelopmentPostcondition as fb, type DevelopmentAdditionalObservation as fc, type DevelopmentReadback as fd, type DevelopmentCollectionBinding as fe, type DevelopmentIncrementalStatus as ff, type DevelopmentPostconditionVerifier as fg, type DevelopmentProviderOptions as fh, type DevelopmentProviderRegistration as fi, developmentPreparationOperationKey as fj, DevelopmentProvider as fk, type EffectHandlerContext as g, type RecordObjectOptions as h, type ManifestContent as i, type CommitTransitionInvocation as j, type SessionHeapList as k, type FeedItem as l, type SessionHeapSnapshot as m, type Prompt as n, type SessionTranscriptEntry as o, type ArtifactWorkflowNodeStatus as p, type ArtifactWorkflow as q, type SessionArtifactRecord as r, type ToolSchema as s, type EnvironmentImporter as t, type EnvironmentImporterImportOptions as u, type EffectProjectionResult as v, type ObservationReceipt as w, type StructuralSteeringContext as x, EventsFeed as y, eventsFeedSearch as z };
|