@granular-software/sdk 0.4.64 → 0.4.65
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-evals.d.mts +2 -2
- package/dist/agent-evals.d.ts +2 -2
- package/dist/agent-evals.js +679 -53
- package/dist/agent-evals.js.map +1 -1
- package/dist/agent-evals.mjs +679 -53
- package/dist/agent-evals.mjs.map +1 -1
- package/dist/cli/index.js +679 -53
- package/dist/{client-IQeOoPnO.d.mts → client-S-z8bri1.d.mts} +47 -1
- package/dist/{client-BziqnDTl.d.ts → client-z6shQivt.d.ts} +47 -1
- package/dist/index.d.mts +72 -5
- package/dist/index.d.ts +72 -5
- package/dist/index.js +1024 -71
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1018 -72
- package/dist/index.mjs.map +1 -1
- package/dist/{spend-CDLmk-KW.d.mts → spend-CESUvrZC.d.mts} +227 -1
- package/dist/{spend-CDLmk-KW.d.ts → spend-CESUvrZC.d.ts} +227 -1
- package/dist/spend.d.mts +1 -1
- package/dist/spend.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1166,6 +1166,12 @@ interface EffectHandlerContext {
|
|
|
1166
1166
|
environmentId: string;
|
|
1167
1167
|
/** Stable effect call id assigned by the authoritative session. */
|
|
1168
1168
|
invocationId?: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* Stable, runtime-computed key for the authoritative product mutation.
|
|
1171
|
+
* Customer adapters should persist this key with the product result and
|
|
1172
|
+
* return that same result when an invocation is retried.
|
|
1173
|
+
*/
|
|
1174
|
+
idempotencyKey?: string;
|
|
1169
1175
|
/** Owning execution/job when the effect is invoked from one. */
|
|
1170
1176
|
jobId?: string;
|
|
1171
1177
|
buildId?: string;
|
|
@@ -1193,6 +1199,200 @@ interface EffectHandlerContext {
|
|
|
1193
1199
|
* Present under the same invocation-scoped conditions as `feedback`.
|
|
1194
1200
|
*/
|
|
1195
1201
|
transientFeedback?: FeedPublisher["transientFeedback"];
|
|
1202
|
+
/**
|
|
1203
|
+
* Acknowledge the product mutation declared by the active effect. There is
|
|
1204
|
+
* intentionally no generic callable `commit(...)` form.
|
|
1205
|
+
*/
|
|
1206
|
+
commit: EffectCommitContext;
|
|
1207
|
+
}
|
|
1208
|
+
interface ObjectReference {
|
|
1209
|
+
className: string;
|
|
1210
|
+
id: string;
|
|
1211
|
+
/** Canonical graph path, when already known. */
|
|
1212
|
+
path?: string;
|
|
1213
|
+
}
|
|
1214
|
+
interface SourceAcknowledgement {
|
|
1215
|
+
/** Stable product-side operation or record reference. */
|
|
1216
|
+
reference: string;
|
|
1217
|
+
/** Monotonic product version, causal token, or serialized adapter sequence. */
|
|
1218
|
+
version?: string;
|
|
1219
|
+
}
|
|
1220
|
+
interface CommitSafeError {
|
|
1221
|
+
code: string;
|
|
1222
|
+
message: string;
|
|
1223
|
+
retryable: boolean;
|
|
1224
|
+
fieldPath?: string;
|
|
1225
|
+
}
|
|
1226
|
+
interface TransitionOutcomeProjection {
|
|
1227
|
+
/** Authored source outcome key, mapped by the active transition declaration. */
|
|
1228
|
+
key: string;
|
|
1229
|
+
error?: CommitSafeError;
|
|
1230
|
+
}
|
|
1231
|
+
interface CanonicalProjectedRecord {
|
|
1232
|
+
className: string;
|
|
1233
|
+
id: string;
|
|
1234
|
+
label?: string;
|
|
1235
|
+
fields: Record<string, string | number | boolean | null>;
|
|
1236
|
+
}
|
|
1237
|
+
type ObjectProjectionChange = {
|
|
1238
|
+
kind: "object";
|
|
1239
|
+
operation: "created" | "updated";
|
|
1240
|
+
record: CanonicalProjectedRecord;
|
|
1241
|
+
} | {
|
|
1242
|
+
kind: "object";
|
|
1243
|
+
operation: "deleted";
|
|
1244
|
+
target: ObjectReference;
|
|
1245
|
+
};
|
|
1246
|
+
interface RelationshipProjectionChange {
|
|
1247
|
+
kind: "relationship";
|
|
1248
|
+
operation: "connected" | "disconnected";
|
|
1249
|
+
relationship: string;
|
|
1250
|
+
from: ObjectReference;
|
|
1251
|
+
to: ObjectReference;
|
|
1252
|
+
}
|
|
1253
|
+
interface StateObservationProjectionChange {
|
|
1254
|
+
kind: "state_observation";
|
|
1255
|
+
target: ObjectReference;
|
|
1256
|
+
machine: string;
|
|
1257
|
+
state: string;
|
|
1258
|
+
}
|
|
1259
|
+
type ProjectionChange = ObjectProjectionChange | RelationshipProjectionChange | StateObservationProjectionChange;
|
|
1260
|
+
interface BaseProjectionResult {
|
|
1261
|
+
source: SourceAcknowledgement;
|
|
1262
|
+
primaryTarget?: ObjectReference;
|
|
1263
|
+
changes: ProjectionChange[];
|
|
1264
|
+
safeSummary?: Record<string, string | number | boolean | null>;
|
|
1265
|
+
}
|
|
1266
|
+
type EffectProjectionResult = BaseProjectionResult & {
|
|
1267
|
+
outcome?: never;
|
|
1268
|
+
};
|
|
1269
|
+
type TransitionProjectionResult = BaseProjectionResult & {
|
|
1270
|
+
outcome: TransitionOutcomeProjection;
|
|
1271
|
+
};
|
|
1272
|
+
type ProjectionResult = EffectProjectionResult | TransitionProjectionResult;
|
|
1273
|
+
type ProjectionMapper<TResult, TProjection extends ProjectionResult = ProjectionResult> = (result: Readonly<TResult>) => TProjection;
|
|
1274
|
+
type CommitDeclaration<TResult = any> = {
|
|
1275
|
+
kind: "effect";
|
|
1276
|
+
project: ProjectionMapper<TResult, EffectProjectionResult>;
|
|
1277
|
+
} | {
|
|
1278
|
+
kind: "transition";
|
|
1279
|
+
project: ProjectionMapper<TResult, TransitionProjectionResult>;
|
|
1280
|
+
};
|
|
1281
|
+
type AgentCommitStatus = "not_requested" | "pending" | "syncing" | "synced" | "failed" | "reconciling";
|
|
1282
|
+
interface CommitChangeReceipt {
|
|
1283
|
+
changeId: string;
|
|
1284
|
+
kind: ProjectionChange["kind"] | "state_transition";
|
|
1285
|
+
operation: string;
|
|
1286
|
+
target: ObjectReference;
|
|
1287
|
+
label?: string;
|
|
1288
|
+
path?: string;
|
|
1289
|
+
status: "pending" | "applied" | "already_applied" | "failed";
|
|
1290
|
+
error?: CommitSafeError;
|
|
1291
|
+
}
|
|
1292
|
+
interface CommitTransitionReceipt {
|
|
1293
|
+
machine: string;
|
|
1294
|
+
transition: string;
|
|
1295
|
+
from: string;
|
|
1296
|
+
outcome: string;
|
|
1297
|
+
to: string;
|
|
1298
|
+
disposition: "continue" | "error";
|
|
1299
|
+
}
|
|
1300
|
+
interface CommitReceipt {
|
|
1301
|
+
commitId: string;
|
|
1302
|
+
kind: "effect" | "transition";
|
|
1303
|
+
deduplicated: boolean;
|
|
1304
|
+
product: {
|
|
1305
|
+
status: "committed";
|
|
1306
|
+
reference: string;
|
|
1307
|
+
version?: string;
|
|
1308
|
+
};
|
|
1309
|
+
agent: {
|
|
1310
|
+
status: AgentCommitStatus;
|
|
1311
|
+
environmentId?: string;
|
|
1312
|
+
};
|
|
1313
|
+
primaryTarget?: ObjectReference;
|
|
1314
|
+
affected: CommitChangeReceipt[];
|
|
1315
|
+
transition?: CommitTransitionReceipt;
|
|
1316
|
+
createdAt: string;
|
|
1317
|
+
updatedAt: string;
|
|
1318
|
+
}
|
|
1319
|
+
interface ExternalCommitOptions {
|
|
1320
|
+
/** Stable product webhook or change-log event identity. */
|
|
1321
|
+
sourceEventId?: string;
|
|
1322
|
+
}
|
|
1323
|
+
interface ObservationReceipt {
|
|
1324
|
+
observationId: string;
|
|
1325
|
+
deduplicated: boolean;
|
|
1326
|
+
source: SourceAcknowledgement;
|
|
1327
|
+
agent: {
|
|
1328
|
+
status: AgentCommitStatus;
|
|
1329
|
+
environmentId: string;
|
|
1330
|
+
};
|
|
1331
|
+
affected: CommitChangeReceipt[];
|
|
1332
|
+
createdAt: string;
|
|
1333
|
+
updatedAt: string;
|
|
1334
|
+
}
|
|
1335
|
+
interface SessionMutationView {
|
|
1336
|
+
invocationId: string;
|
|
1337
|
+
commitId?: string;
|
|
1338
|
+
jobId?: string;
|
|
1339
|
+
artifactId?: string;
|
|
1340
|
+
kind: "effect" | "transition";
|
|
1341
|
+
operationLabel: string;
|
|
1342
|
+
phase: "updating_product" | "checking_product_outcome" | "product_failed" | "updating_agent" | "ready" | "attention";
|
|
1343
|
+
product: {
|
|
1344
|
+
displayName: string;
|
|
1345
|
+
status: "pending" | "updated" | "failed" | "checking";
|
|
1346
|
+
};
|
|
1347
|
+
agent: {
|
|
1348
|
+
displayName: string;
|
|
1349
|
+
status: "not_needed" | "pending" | "updating" | "ready" | "failed";
|
|
1350
|
+
};
|
|
1351
|
+
primaryTarget?: ObjectReference;
|
|
1352
|
+
affected: CommitChangeReceipt[];
|
|
1353
|
+
transition?: CommitTransitionReceipt;
|
|
1354
|
+
error?: CommitSafeError;
|
|
1355
|
+
createdAt: string;
|
|
1356
|
+
updatedAt: string;
|
|
1357
|
+
}
|
|
1358
|
+
interface CommitTransitionOutcomeDeclaration {
|
|
1359
|
+
label?: string;
|
|
1360
|
+
to: string | "$current";
|
|
1361
|
+
primary?: boolean;
|
|
1362
|
+
disposition: "continue" | "error";
|
|
1363
|
+
}
|
|
1364
|
+
interface CommitTransitionInvocation {
|
|
1365
|
+
className: string;
|
|
1366
|
+
objectId: string;
|
|
1367
|
+
objectPath?: string;
|
|
1368
|
+
machine: string;
|
|
1369
|
+
transition: string;
|
|
1370
|
+
from: string;
|
|
1371
|
+
outcomes: Record<string, CommitTransitionOutcomeDeclaration>;
|
|
1372
|
+
fencingToken?: string;
|
|
1373
|
+
/** Internal coordinator identity used to hold one lock across a state goal. */
|
|
1374
|
+
lockOwnerId?: string;
|
|
1375
|
+
}
|
|
1376
|
+
interface EffectCommitContext {
|
|
1377
|
+
effect(productResult: unknown): Promise<CommitReceipt>;
|
|
1378
|
+
transition(productResult: unknown): Promise<CommitReceipt>;
|
|
1379
|
+
}
|
|
1380
|
+
/** Wire-safe payload produced after a local declaration mapper runs. */
|
|
1381
|
+
interface EffectCommitRequest {
|
|
1382
|
+
kind: "effect" | "transition";
|
|
1383
|
+
effectKey: string;
|
|
1384
|
+
effectName: string;
|
|
1385
|
+
operationLabel: string;
|
|
1386
|
+
invocationId: string;
|
|
1387
|
+
idempotencyKey: string;
|
|
1388
|
+
sandboxId: string;
|
|
1389
|
+
environmentId: string;
|
|
1390
|
+
sessionId?: string;
|
|
1391
|
+
jobId?: string;
|
|
1392
|
+
artifactId?: string;
|
|
1393
|
+
buildId?: string;
|
|
1394
|
+
projection: ProjectionResult;
|
|
1395
|
+
transition?: CommitTransitionInvocation;
|
|
1196
1396
|
}
|
|
1197
1397
|
interface ResolvedEffectPostCondition {
|
|
1198
1398
|
condition: string;
|
|
@@ -1225,6 +1425,8 @@ interface EffectArtifactOptionsInvocation {
|
|
|
1225
1425
|
}
|
|
1226
1426
|
interface EffectInvocationMetadata {
|
|
1227
1427
|
mode?: EffectInvocationMode;
|
|
1428
|
+
/** Trusted runtime metadata; committed effects are dispatched to backend hosts only. */
|
|
1429
|
+
commitKind?: "effect" | "transition";
|
|
1228
1430
|
/**
|
|
1229
1431
|
* Present when an effect is being run as part of a durable action artifact.
|
|
1230
1432
|
* It lets an application distinguish the artifact's authoritative record
|
|
@@ -1241,6 +1443,8 @@ interface EffectInvocationMetadata {
|
|
|
1241
1443
|
* eventually execute.
|
|
1242
1444
|
*/
|
|
1243
1445
|
artifactOptions?: EffectArtifactOptionsInvocation;
|
|
1446
|
+
/** Resolved, server-authored transition selected for this invocation. */
|
|
1447
|
+
transition?: CommitTransitionInvocation;
|
|
1244
1448
|
}
|
|
1245
1449
|
type ToolHandler = (input: any, context: EffectHandlerContext) => Promise<unknown>;
|
|
1246
1450
|
/**
|
|
@@ -1250,6 +1454,8 @@ type InstanceToolHandler = (id: string, input: any, context: EffectHandlerContex
|
|
|
1250
1454
|
interface EffectArtifactRelationshipOption {
|
|
1251
1455
|
id: string;
|
|
1252
1456
|
label: string;
|
|
1457
|
+
/** Canonical graph path used when the ontology has no authored label. */
|
|
1458
|
+
path?: string | null;
|
|
1253
1459
|
description?: string;
|
|
1254
1460
|
fields?: Record<string, string | number | boolean | null>;
|
|
1255
1461
|
}
|
|
@@ -1294,6 +1500,8 @@ type ArtifactOptionsHandler = (input: any, context: EffectHandlerContext) => Pro
|
|
|
1294
1500
|
interface ToolSchema {
|
|
1295
1501
|
effectKey?: string;
|
|
1296
1502
|
name: string;
|
|
1503
|
+
/** Authored user-facing operation name. Falls back to the canonical name. */
|
|
1504
|
+
label?: string;
|
|
1297
1505
|
description: string;
|
|
1298
1506
|
/** JSON Schema for the effect input parameters */
|
|
1299
1507
|
inputSchema: Record<string, unknown>;
|
|
@@ -1341,6 +1549,10 @@ interface ToolSchema {
|
|
|
1341
1549
|
versionSelector?: EffectVersionSelector;
|
|
1342
1550
|
/** Declarative runtime behaviors attached to the effect. */
|
|
1343
1551
|
metamodels?: ManifestEffectMetamodelSpec;
|
|
1552
|
+
/** Wire-safe product acknowledgement kind. */
|
|
1553
|
+
commit?: {
|
|
1554
|
+
kind: "effect" | "transition";
|
|
1555
|
+
};
|
|
1344
1556
|
}
|
|
1345
1557
|
type EffectSchema = ToolSchema;
|
|
1346
1558
|
/**
|
|
@@ -1354,6 +1566,8 @@ type EffectSchema = ToolSchema;
|
|
|
1354
1566
|
* handler receives `(params: any)`
|
|
1355
1567
|
*/
|
|
1356
1568
|
interface ToolWithHandler extends ToolSchema {
|
|
1569
|
+
/** Handler-local mapper is never serialized into the live effect catalog. */
|
|
1570
|
+
commit?: CommitDeclaration<any>;
|
|
1357
1571
|
handler: ToolHandler | InstanceToolHandler;
|
|
1358
1572
|
dryRunHandler?: ToolHandler | InstanceToolHandler;
|
|
1359
1573
|
reverseHandler?: ToolHandler | InstanceToolHandler;
|
|
@@ -1737,6 +1951,8 @@ interface SessionArtifactRelationshipOptionsInput {
|
|
|
1737
1951
|
interface SessionArtifactRelationshipOption {
|
|
1738
1952
|
id: string;
|
|
1739
1953
|
label: string;
|
|
1954
|
+
/** Canonical graph path used when the ontology has no authored label. */
|
|
1955
|
+
path?: string | null;
|
|
1740
1956
|
description?: string | null;
|
|
1741
1957
|
fields?: Record<string, string | number | boolean | null>;
|
|
1742
1958
|
}
|
|
@@ -2616,6 +2832,12 @@ interface ManifestStateTransitionExpectedOutcomeSpec {
|
|
|
2616
2832
|
state: string;
|
|
2617
2833
|
summary?: string;
|
|
2618
2834
|
}
|
|
2835
|
+
interface ManifestStateTransitionOutcomeSpec {
|
|
2836
|
+
label?: string;
|
|
2837
|
+
to: string | "$current";
|
|
2838
|
+
primary?: boolean;
|
|
2839
|
+
disposition: "continue" | "error";
|
|
2840
|
+
}
|
|
2619
2841
|
interface ManifestStateMachineTransitionSpec {
|
|
2620
2842
|
name: string;
|
|
2621
2843
|
from: string;
|
|
@@ -2628,6 +2850,7 @@ interface ManifestStateMachineTransitionSpec {
|
|
|
2628
2850
|
permission?: ManifestStateTransitionPermissionSpec | string;
|
|
2629
2851
|
risk?: "low" | "medium" | "high";
|
|
2630
2852
|
expectedOutcome?: ManifestStateTransitionExpectedOutcomeSpec | string;
|
|
2853
|
+
outcomes?: Record<string, ManifestStateTransitionOutcomeSpec>;
|
|
2631
2854
|
}
|
|
2632
2855
|
interface ManifestStateMachineSpec {
|
|
2633
2856
|
name: string;
|
|
@@ -2716,6 +2939,9 @@ interface ManifestEffectDeclaration {
|
|
|
2716
2939
|
stability?: "stable" | "experimental" | "deprecated";
|
|
2717
2940
|
tags?: string[];
|
|
2718
2941
|
metamodels?: ManifestEffectMetamodelSpec;
|
|
2942
|
+
commit?: {
|
|
2943
|
+
kind: "effect" | "transition";
|
|
2944
|
+
};
|
|
2719
2945
|
}
|
|
2720
2946
|
/**
|
|
2721
2947
|
* An event type within an event stream definition
|
|
@@ -2925,4 +3151,4 @@ declare function toGranularHttpBase(apiUrl: string): string;
|
|
|
2925
3151
|
declare function buildOpenAISpendEventId(usage: Pick<OpenAIUsageSpendEvent, "requestId">, context?: GranularSpendContext): string | undefined;
|
|
2926
3152
|
declare function recordOpenAIUsageSpend(options: RecordOpenAIUsageSpendOptions): Promise<RecordOpenAIUsageSpendResult>;
|
|
2927
3153
|
|
|
2928
|
-
export { type FeedListTransport as $, type ArtifactFeedItem as A, type FileFeedItem as B, type ActionSuggestionFeedItem as C, type DomainState as D, type EndpointMode as E, type FeedPublishTransport as F, type PromptFeedItem as G, type TransientFeedItemBase as H, type InstanceToolHandler as I, type TransientMessageFeedItem as J, type TransientFeedbackFeedItem as K, type TransientFeedItem as L, type ManifestEffectMetamodelSpec as M, type NormalizedSuggestedArtifact as N, type ObjectsFeedItem as O, type Prompt as P, type FeedSnapshot as Q, type ResolvedEffectBehaviors as R, type SessionHeapEntry as S, type ToolWithHandler as T, type FeedListOptions as U, type FeedPage as V, type FeedSubscribeOptions as W, type FeedSubscriptionChange as X, type SessionFeedApi as Y, mergeFeedItemsBySequence as Z, orderTransientFeedItems as _, type EffectHandlerContext as a, type GranularQuotaPolicy as a$, type FeedSnapshotRegressionReason as a0, type FeedDiagnostic as a1, type FeedDiagnosticListener as a2, GRANULAR_FEED_DIAGNOSTIC_EVENT as a3, normalizeFeedDiagnosticKind as a4, normalizeFeedDiagnostic as a5, emitFeedDiagnosticToDefaultSink as a6, emitFeedDiagnostic as a7, type SessionFeedControllerOptions as a8, type FeedDocumentState as a9, type PolicySource as aA, type PolicyPredicateSource as aB, type PolicyOperator as aC, type ConditionIR as aD, type PolicyOrigin as aE, type PolicyRuleIR as aF, type MatchedPolicy as aG, type AccessTokenProvider as aH, type GranularOptions as aI, type GranularAuth as aJ, type User as aK, type RecordUserOptions as aL, type Subject as aM, type OpenEnvironmentOptions as aN, type AdoptEnvironmentOptions as aO, type ConnectOptions as aP, type CreateSessionOptions as aQ, type ConversationSessionInfo as aR, type ConversationSessionListStatus as aS, type ConversationSessionListOptions as aT, type ConversationSessionListResponse as aU, type SpendLineItemType as aV, type QuotaScopeType as aW, type QuotaPeriod as aX, type QuotaStatus as aY, type SpendSummary as aZ, type QuotaLineItemFilter as a_, emptyFeedSnapshot as aa, hasCanonicalSessionFeedActivation as ab, isCanonicalSessionFeedDocument as ac, readSessionFeedSnapshot as ad, normalizeFeedPage as ae, SessionFeedController as af, type PublishFeedbackOptions as ag, type PublishTransientFeedbackOptions as ah, type SettleTransientFeedbackOptions as ai, type TransientFeedbackHandle as aj, type FeedPublisher as ak, createFeedPublisher as al, type OpenAIModelPricing as am, type NormalizedOpenAIUsage as an, type OpenAITokenSpend as ao, OPENAI_MODEL_PRICING_USD_PER_MILLION as ap, getOpenAIModelPricing as aq, normalizeOpenAIUsage as ar, calculateOpenAITokenSpend as as, type GranularSpendContext as at, type OpenAIUsageSpendEvent as au, type RecordOpenAIUsageSpendOptions as av, type RecordOpenAIUsageSpendResult as aw, toGranularHttpBase as ax, buildOpenAISpendEventId as ay, recordOpenAIUsageSpend as az, type SessionHeapList as b, type SessionFileKind as b$, type GranularQuotaProgress as b0, type Sandbox as b1, type CreateSandboxData as b2, type SandboxListResponse as b3, type PermissionRules as b4, type PermissionProfile as b5, type CreatePermissionProfileData as b6, type PermissionProfileListResponse as b7, type Assignment as b8, type AssignmentListResponse as b9, type PublishEffectsResult as bA, type EffectVersionSelector as bB, type ToolInfo as bC, type EffectInfo as bD, type ToolsChangedEvent as bE, type EffectsChangedEvent as bF, type EffectHandler as bG, type InstanceEffectHandler as bH, type JobStatus as bI, type JobFeedbackSentiment as bJ, type JobFeedbackToolCall as bK, type JobFeedbackMetadata as bL, type JobFeedbackInput as bM, type JobFeedbackRecord as bN, type EnvironmentFeedbackRecord as bO, type JobSubmitResult as bP, type Job as bQ, type UserMessageShowRefs as bR, type UserMessageTarget as bS, type UserMessageInput as bT, type UserMessageAppendResult as bU, type AssistantReplyPublicationInput as bV, type AssistantReplyPublicationResult as bW, type SessionTranscriptActionSuggestion as bX, type SessionTranscriptShowRefs as bY, type SessionTimelineEvent as bZ, type SessionFileSource as b_, type BuildPolicy as ba, type VersionTracking as bb, type VersionTag as bc, type EnvironmentData as bd, type CreateEnvironmentData as be, type EnvironmentListResponse as bf, type Manifest as bg, type ManifestListResponse as bh, type BuildStatus as bi, type Build as bj, type Version as bk, type BuildListResponse as bl, type SemanticVersionDiffEntry as bm, type SemanticVersionDiff as bn, type ResolvedEffectPostCondition as bo, type ResolvedEffectDryRun as bp, type ResolvedEffectReverse as bq, type ResolvedEffectApprovalRequired as br, type EffectInvocationMode as bs, type EffectArtifactOptionsInvocation as bt, type EffectInvocationMetadata as bu, type EffectArtifactRelationshipOption as bv, type EffectArtifactRelationshipOptionsResult as bw, type ArtifactOptionsHandler as bx, type EffectSchema as by, type EffectWithHandler as bz, type FeedItem as c, type EnvironmentStateObservationInput as c$, type SessionFileStatus as c0, type SessionFileRecord as c1, type SessionArtifactStatus as c2, type SessionArtifactKind as c3, type SessionArtifactAutonomyPolicy as c4, type SessionArtifactRecord as c5, type SessionArtifactListOptions as c6, type SessionArtifactValidationResult as c7, type SessionArtifactRelationshipOptionsInput as c8, type SessionArtifactRelationshipOption as c9, type RecordSearchOptions as cA, type RecordMentionInput as cB, type SessionDocumentResult as cC, type SessionCollectionListOptions as cD, type SessionJobListOptions as cE, type SessionCollectionListResult as cF, type UserEnvironmentPrompt as cG, type UserEnvironmentMessagePreview as cH, type UserEnvironmentSessionState as cI, type UserEnvironmentState as cJ, type UserEnvironmentStateOptions as cK, type MarkUserEnvironmentReadOptions as cL, type WSDisconnectInfo as cM, type WSReconnectErrorInfo as cN, type WSClientOptions as cO, type RPCRequest as cP, type RPCResponse as cQ, type SnapshotResetMessage as cR, type RPCRequestFromServer as cS, type ToolInvokeParams as cT, type ToolResultParams as cU, type ModelRef as cV, type RelationshipInfo as cW, type DefineRelationshipOptions as cX, type RecordObjectOptions as cY, type RecordObjectStateValue as cZ, type EnvironmentStateTarget as c_, type SessionArtifactRelationshipOptionsResult as ca, type SessionArtifactRelationshipCreateInput as cb, type SessionArtifactExecutionResult as cc, type SessionArtifactExecutionOptions as cd, type SessionArtifactApprovalOptions as ce, type ArtifactApprovalTaskStatus as cf, type ArtifactApprovalTask as cg, type ArtifactApprovalTaskListOptions as ch, type ArtifactApprovalDecisionInput as ci, type ArtifactApprovalDecisionResult as cj, type ManualActionStatus as ck, type ManualActionSource as cl, type ManualActionTarget as cm, type ManualActionRelatedRecord as cn, type RecordManualActionInput as co, type ManualActionOccurrence as cp, type ManualActionRecordResult as cq, type ManualActionListOptions as cr, type ManualActionSuggestion as cs, type ManualActionSuggestionOptions as ct, type SessionFileUploadOptions as cu, type SessionJobRecord as cv, type SessionHeapFieldType as cw, type SessionHeapFieldValue as cx, type SessionHeapVariable as cy, type RecordSearchResult as cz, type SessionHeapSnapshot as d, type EnvironmentStateUpdateInput as d0, type EnvironmentStateMachineProxy as d1, type EnvironmentStateProxy as d2, type RecordObjectResult as d3, type RecordObjectsChunkInfo as d4, type RecordObjectsOptions as d5, type RecordImportWriteMode as d6, type RecordImportOptions as d7, type RecordImportStatus as d8, type RecordImportItemStatus as d9, type ManifestStateMachineSpec as dA, type ManifestPostConditionSpec as dB, type ManifestDryRunSpec as dC, type ManifestReverseSpec as dD, type ManifestApprovalRequiredSpec as dE, type ManifestCreatesSpec as dF, type ManifestRelationshipDef as dG, type ManifestEffectSchema as dH, type ManifestEffectDeclaration as dI, type ManifestEventTypeDef as dJ, type ManifestEventStreamDef as dK, type ManifestOperation as dL, type ManifestImport as dM, type ManifestVolume as dN, type ManifestContent as dO, type GraphQLResult as dP, type APIError as dQ, type DeleteResponse as dR, type StreamEvent as dS, type StreamSubscription as dT, type StreamStats as dU, type RecordImportStats as da, type RecordImportItem as db, type RecordImport as dc, type EnvironmentRecordImportSummary as dd, type EnvironmentSetupTriggerReason as de, type RunEnvironmentImporterOptions as df, type EnvironmentSetupLifecycleStatus as dg, type EnvironmentSetupSummary as dh, type EnvironmentSetupImporterClaim as di, type EnvironmentImporterImportOptions as dj, type EnvironmentImporter as dk, type ManifestPropertySpec as dl, type ManifestValidationOperator as dm, type ManifestEnumRuleSpec as dn, type ManifestFilterBySpec as dp, type ManifestValidationRuleSpec as dq, type ManifestStateMachineStateSpec as dr, type ManifestStateTransitionInputBinding as ds, type ManifestStateTransitionActionSpec as dt, type ManifestStateTransitionAssigneeSpec as du, type ManifestStateTransitionRelatedStateRequirementSpec as dv, type ManifestStateTransitionRequirementsSpec as dw, type ManifestStateTransitionPermissionSpec as dx, type ManifestStateTransitionExpectedOutcomeSpec as dy, type ManifestStateMachineTransitionSpec as dz, type SessionTranscriptEntry as e, type ToolSchema as f, type PublishToolsResult as g, type ToolHandler as h, type FeedSourceActor as i, type FeedSource as j, type FeedIconToken as k, type FeedFeedbackTone as l, type FeedTransientFeedbackTone as m, type FeedItemKind as n, type FeedTarget as o, type FeedItemBase as p, type MessageFeedItem as q, type FeedbackFeedItem as r, type FeedObjectReference as s, type FeedTableCell as t, type FeedTableColumn as u, type FeedTableRowReference as v, type FeedTableRow as w, type FeedTableProjection as x, type TableFeedItem as y, type FeedFileSource as z };
|
|
3154
|
+
export { type TransientFeedItem as $, type FeedObjectReference as A, type FeedTableCell as B, type CommitReceipt as C, type DomainState as D, type EndpointMode as E, type FeedPublishTransport as F, type FeedTableColumn as G, type FeedTableRowReference as H, type InstanceToolHandler as I, type FeedTableRow as J, type FeedTableProjection as K, type TableFeedItem as L, type ManifestEffectMetamodelSpec as M, type ArtifactFeedItem as N, type ObjectsFeedItem as O, type ProjectionResult as P, type FeedFileSource as Q, type ResolvedEffectBehaviors as R, type SessionHeapEntry as S, type ToolWithHandler as T, type FileFeedItem as U, type NormalizedSuggestedArtifact as V, type ActionSuggestionFeedItem as W, type PromptFeedItem as X, type TransientFeedItemBase as Y, type TransientMessageFeedItem as Z, type TransientFeedbackFeedItem as _, type EffectCommitRequest as a, type ConversationSessionListStatus as a$, type FeedSnapshot as a0, type FeedListOptions as a1, type FeedPage as a2, type FeedSubscribeOptions as a3, type FeedSubscriptionChange as a4, type SessionFeedApi as a5, mergeFeedItemsBySequence as a6, orderTransientFeedItems as a7, type FeedListTransport as a8, type FeedSnapshotRegressionReason as a9, normalizeOpenAIUsage as aA, calculateOpenAITokenSpend as aB, type GranularSpendContext as aC, type OpenAIUsageSpendEvent as aD, type RecordOpenAIUsageSpendOptions as aE, type RecordOpenAIUsageSpendResult as aF, toGranularHttpBase as aG, buildOpenAISpendEventId as aH, recordOpenAIUsageSpend as aI, type PolicySource as aJ, type PolicyPredicateSource as aK, type PolicyOperator as aL, type ConditionIR as aM, type PolicyOrigin as aN, type PolicyRuleIR as aO, type MatchedPolicy as aP, type AccessTokenProvider as aQ, type GranularOptions as aR, type GranularAuth as aS, type User as aT, type RecordUserOptions as aU, type Subject as aV, type OpenEnvironmentOptions as aW, type AdoptEnvironmentOptions as aX, type ConnectOptions as aY, type CreateSessionOptions as aZ, type ConversationSessionInfo as a_, type FeedDiagnostic as aa, type FeedDiagnosticListener as ab, GRANULAR_FEED_DIAGNOSTIC_EVENT as ac, normalizeFeedDiagnosticKind as ad, normalizeFeedDiagnostic as ae, emitFeedDiagnosticToDefaultSink as af, emitFeedDiagnostic as ag, type SessionFeedControllerOptions as ah, type FeedDocumentState as ai, emptyFeedSnapshot as aj, hasCanonicalSessionFeedActivation as ak, isCanonicalSessionFeedDocument as al, readSessionFeedSnapshot as am, normalizeFeedPage as an, SessionFeedController as ao, type PublishFeedbackOptions as ap, type PublishTransientFeedbackOptions as aq, type SettleTransientFeedbackOptions as ar, type TransientFeedbackHandle as as, type FeedPublisher as at, createFeedPublisher as au, type OpenAIModelPricing as av, type NormalizedOpenAIUsage as aw, type OpenAITokenSpend as ax, OPENAI_MODEL_PRICING_USD_PER_MILLION as ay, getOpenAIModelPricing as az, type ProjectionMapper as b, type EffectWithHandler as b$, type ConversationSessionListOptions as b0, type ConversationSessionListResponse as b1, type SpendLineItemType as b2, type QuotaScopeType as b3, type QuotaPeriod as b4, type QuotaStatus as b5, type SpendSummary as b6, type QuotaLineItemFilter as b7, type GranularQuotaPolicy as b8, type GranularQuotaProgress as b9, type TransitionOutcomeProjection as bA, type CanonicalProjectedRecord as bB, type ObjectProjectionChange as bC, type RelationshipProjectionChange as bD, type StateObservationProjectionChange as bE, type ProjectionChange as bF, type BaseProjectionResult as bG, type EffectProjectionResult as bH, type TransitionProjectionResult as bI, type AgentCommitStatus as bJ, type CommitChangeReceipt as bK, type CommitTransitionReceipt as bL, type ExternalCommitOptions as bM, type ObservationReceipt as bN, type SessionMutationView as bO, type EffectCommitContext as bP, type ResolvedEffectPostCondition as bQ, type ResolvedEffectDryRun as bR, type ResolvedEffectReverse as bS, type ResolvedEffectApprovalRequired as bT, type EffectInvocationMode as bU, type EffectArtifactOptionsInvocation as bV, type EffectInvocationMetadata as bW, type EffectArtifactRelationshipOption as bX, type EffectArtifactRelationshipOptionsResult as bY, type ArtifactOptionsHandler as bZ, type EffectSchema as b_, type Sandbox as ba, type CreateSandboxData as bb, type SandboxListResponse as bc, type PermissionRules as bd, type PermissionProfile as be, type CreatePermissionProfileData as bf, type PermissionProfileListResponse as bg, type Assignment as bh, type AssignmentListResponse as bi, type BuildPolicy as bj, type VersionTracking as bk, type VersionTag as bl, type EnvironmentData as bm, type CreateEnvironmentData as bn, type EnvironmentListResponse as bo, type Manifest as bp, type ManifestListResponse as bq, type BuildStatus as br, type Build as bs, type Version as bt, type BuildListResponse as bu, type SemanticVersionDiffEntry as bv, type SemanticVersionDiff as bw, type ObjectReference as bx, type SourceAcknowledgement as by, type CommitSafeError as bz, type CommitTransitionOutcomeDeclaration as c, type RecordSearchResult as c$, type PublishEffectsResult as c0, type EffectVersionSelector as c1, type ToolInfo as c2, type EffectInfo as c3, type ToolsChangedEvent as c4, type EffectsChangedEvent as c5, type EffectHandler as c6, type InstanceEffectHandler as c7, type JobStatus as c8, type JobFeedbackSentiment as c9, type SessionArtifactRelationshipOptionsInput as cA, type SessionArtifactRelationshipOption as cB, type SessionArtifactRelationshipOptionsResult as cC, type SessionArtifactRelationshipCreateInput as cD, type SessionArtifactExecutionResult as cE, type SessionArtifactExecutionOptions as cF, type SessionArtifactApprovalOptions as cG, type ArtifactApprovalTaskStatus as cH, type ArtifactApprovalTask as cI, type ArtifactApprovalTaskListOptions as cJ, type ArtifactApprovalDecisionInput as cK, type ArtifactApprovalDecisionResult as cL, type ManualActionStatus as cM, type ManualActionSource as cN, type ManualActionTarget as cO, type ManualActionRelatedRecord as cP, type RecordManualActionInput as cQ, type ManualActionOccurrence as cR, type ManualActionRecordResult as cS, type ManualActionListOptions as cT, type ManualActionSuggestion as cU, type ManualActionSuggestionOptions as cV, type SessionFileUploadOptions as cW, type SessionJobRecord as cX, type SessionHeapFieldType as cY, type SessionHeapFieldValue as cZ, type SessionHeapVariable as c_, type JobFeedbackToolCall as ca, type JobFeedbackMetadata as cb, type JobFeedbackInput as cc, type JobFeedbackRecord as cd, type EnvironmentFeedbackRecord as ce, type JobSubmitResult as cf, type Job as cg, type UserMessageShowRefs as ch, type UserMessageTarget as ci, type UserMessageInput as cj, type UserMessageAppendResult as ck, type AssistantReplyPublicationInput as cl, type AssistantReplyPublicationResult as cm, type SessionTranscriptActionSuggestion as cn, type SessionTranscriptShowRefs as co, type SessionTimelineEvent as cp, type SessionFileSource as cq, type SessionFileKind as cr, type SessionFileStatus as cs, type SessionFileRecord as ct, type SessionArtifactStatus as cu, type SessionArtifactKind as cv, type SessionArtifactAutonomyPolicy as cw, type SessionArtifactRecord as cx, type SessionArtifactListOptions as cy, type SessionArtifactValidationResult as cz, type CommitDeclaration as d, type ManifestStateMachineTransitionSpec as d$, type RecordSearchOptions as d0, type RecordMentionInput as d1, type SessionDocumentResult as d2, type SessionCollectionListOptions as d3, type SessionJobListOptions as d4, type SessionCollectionListResult as d5, type UserEnvironmentPrompt as d6, type UserEnvironmentMessagePreview as d7, type UserEnvironmentSessionState as d8, type UserEnvironmentState as d9, type RecordImportStatus as dA, type RecordImportItemStatus as dB, type RecordImportStats as dC, type RecordImportItem as dD, type RecordImport as dE, type EnvironmentRecordImportSummary as dF, type EnvironmentSetupTriggerReason as dG, type RunEnvironmentImporterOptions as dH, type EnvironmentSetupLifecycleStatus as dI, type EnvironmentSetupSummary as dJ, type EnvironmentSetupImporterClaim as dK, type EnvironmentImporterImportOptions as dL, type EnvironmentImporter as dM, type ManifestPropertySpec as dN, type ManifestValidationOperator as dO, type ManifestEnumRuleSpec as dP, type ManifestFilterBySpec as dQ, type ManifestValidationRuleSpec as dR, type ManifestStateMachineStateSpec as dS, type ManifestStateTransitionInputBinding as dT, type ManifestStateTransitionActionSpec as dU, type ManifestStateTransitionAssigneeSpec as dV, type ManifestStateTransitionRelatedStateRequirementSpec as dW, type ManifestStateTransitionRequirementsSpec as dX, type ManifestStateTransitionPermissionSpec as dY, type ManifestStateTransitionExpectedOutcomeSpec as dZ, type ManifestStateTransitionOutcomeSpec as d_, type UserEnvironmentStateOptions as da, type MarkUserEnvironmentReadOptions as db, type WSDisconnectInfo as dc, type WSReconnectErrorInfo as dd, type WSClientOptions as de, type RPCRequest as df, type RPCResponse as dg, type SnapshotResetMessage as dh, type RPCRequestFromServer as di, type ToolInvokeParams as dj, type ToolResultParams as dk, type ModelRef as dl, type RelationshipInfo as dm, type DefineRelationshipOptions as dn, type RecordObjectStateValue as dp, type EnvironmentStateTarget as dq, type EnvironmentStateObservationInput as dr, type EnvironmentStateUpdateInput as ds, type EnvironmentStateMachineProxy as dt, type EnvironmentStateProxy as du, type RecordObjectResult as dv, type RecordObjectsChunkInfo as dw, type RecordObjectsOptions as dx, type RecordImportWriteMode as dy, type RecordImportOptions as dz, type EffectHandlerContext as e, type ManifestStateMachineSpec as e0, type ManifestPostConditionSpec as e1, type ManifestDryRunSpec as e2, type ManifestReverseSpec as e3, type ManifestApprovalRequiredSpec as e4, type ManifestCreatesSpec as e5, type ManifestRelationshipDef as e6, type ManifestEffectSchema as e7, type ManifestEffectDeclaration as e8, type ManifestEventTypeDef as e9, type ManifestEventStreamDef as ea, type ManifestOperation as eb, type ManifestImport as ec, type ManifestVolume as ed, type GraphQLResult as ee, type APIError as ef, type DeleteResponse as eg, type StreamEvent as eh, type StreamSubscription as ei, type StreamStats as ej, type RecordObjectOptions as f, type ManifestContent as g, type CommitTransitionInvocation as h, type SessionHeapList as i, type FeedItem as j, type SessionHeapSnapshot as k, type Prompt as l, type SessionTranscriptEntry as m, type ToolSchema as n, type PublishToolsResult as o, type ToolHandler as p, type FeedSourceActor as q, type FeedSource as r, type FeedIconToken as s, type FeedFeedbackTone as t, type FeedTransientFeedbackTone as u, type FeedItemKind as v, type FeedTarget as w, type FeedItemBase as x, type MessageFeedItem as y, type FeedbackFeedItem as z };
|