@granular-software/sdk 0.4.61 → 0.4.63
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 +8 -0
- package/dist/agent-evals.d.mts +2 -2
- package/dist/agent-evals.d.ts +2 -2
- package/dist/agent-evals.js +98 -44
- package/dist/agent-evals.js.map +1 -1
- package/dist/agent-evals.mjs +98 -44
- package/dist/agent-evals.mjs.map +1 -1
- package/dist/cli/index.js +130 -66
- package/dist/{client-BzgQvNyG.d.ts → client-KqJIH7WE.d.ts} +8 -4
- package/dist/{client-DSkGcmmX.d.mts → client-lk-dmdKR.d.mts} +8 -4
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +98 -44
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +98 -44
- package/dist/index.mjs.map +1 -1
- package/dist/{spend-CNe-Ff6U.d.mts → spend-DtsHRNb5.d.mts} +25 -7
- package/dist/{spend-CNe-Ff6U.d.ts → spend-DtsHRNb5.d.ts} +25 -7
- package/dist/spend.d.mts +1 -1
- package/dist/spend.d.ts +1 -1
- package/package.json +1 -1
|
@@ -647,7 +647,11 @@ interface User {
|
|
|
647
647
|
name?: string;
|
|
648
648
|
/** User's email */
|
|
649
649
|
email?: string;
|
|
650
|
-
/**
|
|
650
|
+
/**
|
|
651
|
+
* Exact permission profile names or IDs requested when opening an
|
|
652
|
+
* environment. Unknown references fail closed; only the explicit
|
|
653
|
+
* `allow-all` compatibility profile may be provisioned automatically.
|
|
654
|
+
*/
|
|
651
655
|
permissions: string[];
|
|
652
656
|
}
|
|
653
657
|
/**
|
|
@@ -660,7 +664,11 @@ interface RecordUserOptions {
|
|
|
660
664
|
name?: string;
|
|
661
665
|
/** User's email */
|
|
662
666
|
email?: string;
|
|
663
|
-
/**
|
|
667
|
+
/**
|
|
668
|
+
* Exact permission profile names or IDs to carry into environment opening.
|
|
669
|
+
* Custom profiles must already be provisioned with `granular build` or
|
|
670
|
+
* `granular deploy`.
|
|
671
|
+
*/
|
|
664
672
|
permissions?: string[];
|
|
665
673
|
}
|
|
666
674
|
/**
|
|
@@ -709,7 +717,11 @@ interface OpenEnvironmentOptions {
|
|
|
709
717
|
/** Optional email used when upserting the user. */
|
|
710
718
|
email?: string;
|
|
711
719
|
/**
|
|
712
|
-
*
|
|
720
|
+
* Exact permission profile names or IDs to resolve before opening the
|
|
721
|
+
* environment. Unknown references are rejected before assignment writes.
|
|
722
|
+
* The reserved `allow-all` name is the only profile the SDK may provision
|
|
723
|
+
* automatically for backwards compatibility; custom, `confirm-all`, and
|
|
724
|
+
* `deny-all` profiles must already be synced.
|
|
713
725
|
* Required at runtime when `assignmentMode` is omitted or set to `ensure`.
|
|
714
726
|
* Ignored by `require-existing`, which never mutates authorization records.
|
|
715
727
|
*/
|
|
@@ -832,7 +844,8 @@ type ConversationSessionListStatus = ConversationSessionInfo["status"] | "all";
|
|
|
832
844
|
*
|
|
833
845
|
* At least one ownership filter (`environmentId`, `sandboxId`, or
|
|
834
846
|
* `subjectId`) is required by the SDK. Results are newest-first and default to
|
|
835
|
-
* 100 rows; use `
|
|
847
|
+
* 100 rows; use the opaque `cursor` returned by the page response to request
|
|
848
|
+
* the next page.
|
|
836
849
|
*/
|
|
837
850
|
interface ConversationSessionListOptions {
|
|
838
851
|
environmentId?: string;
|
|
@@ -841,7 +854,11 @@ interface ConversationSessionListOptions {
|
|
|
841
854
|
sessionScope?: string | null;
|
|
842
855
|
status?: ConversationSessionListStatus;
|
|
843
856
|
limit?: number;
|
|
844
|
-
|
|
857
|
+
cursor?: string;
|
|
858
|
+
}
|
|
859
|
+
interface ConversationSessionListResponse {
|
|
860
|
+
items: ConversationSessionInfo[];
|
|
861
|
+
nextCursor: string | null;
|
|
845
862
|
}
|
|
846
863
|
type SpendLineItemType = "llm_tokens" | "granular_session_time" | string;
|
|
847
864
|
type QuotaScopeType = "tenant" | "sandbox" | "permission_profile" | "subject";
|
|
@@ -1065,6 +1082,7 @@ interface CreateEnvironmentData {
|
|
|
1065
1082
|
*/
|
|
1066
1083
|
interface EnvironmentListResponse {
|
|
1067
1084
|
items: EnvironmentData[];
|
|
1085
|
+
nextCursor: string | null;
|
|
1068
1086
|
}
|
|
1069
1087
|
/**
|
|
1070
1088
|
* A manifest describes the structure and behavior of a sandbox
|
|
@@ -1083,6 +1101,7 @@ interface Manifest {
|
|
|
1083
1101
|
*/
|
|
1084
1102
|
interface ManifestListResponse {
|
|
1085
1103
|
items: Manifest[];
|
|
1104
|
+
nextCursor: string | null;
|
|
1086
1105
|
}
|
|
1087
1106
|
type BuildStatus = "queued" | "building" | "completed" | "failed" | "canceled";
|
|
1088
1107
|
/**
|
|
@@ -2105,7 +2124,6 @@ interface UserEnvironmentStateOptions {
|
|
|
2105
2124
|
sessionScope?: string | null;
|
|
2106
2125
|
status?: "active" | "closed" | "expired" | "failed" | "timeout" | "all";
|
|
2107
2126
|
limit?: number;
|
|
2108
|
-
offset?: number;
|
|
2109
2127
|
}
|
|
2110
2128
|
interface MarkUserEnvironmentReadOptions {
|
|
2111
2129
|
sessionId?: string;
|
|
@@ -2898,4 +2916,4 @@ declare function toGranularHttpBase(apiUrl: string): string;
|
|
|
2898
2916
|
declare function buildOpenAISpendEventId(usage: Pick<OpenAIUsageSpendEvent, "requestId">, context?: GranularSpendContext): string | undefined;
|
|
2899
2917
|
declare function recordOpenAIUsageSpend(options: RecordOpenAIUsageSpendOptions): Promise<RecordOpenAIUsageSpendResult>;
|
|
2900
2918
|
|
|
2901
|
-
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
|
|
2919
|
+
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 };
|
|
@@ -647,7 +647,11 @@ interface User {
|
|
|
647
647
|
name?: string;
|
|
648
648
|
/** User's email */
|
|
649
649
|
email?: string;
|
|
650
|
-
/**
|
|
650
|
+
/**
|
|
651
|
+
* Exact permission profile names or IDs requested when opening an
|
|
652
|
+
* environment. Unknown references fail closed; only the explicit
|
|
653
|
+
* `allow-all` compatibility profile may be provisioned automatically.
|
|
654
|
+
*/
|
|
651
655
|
permissions: string[];
|
|
652
656
|
}
|
|
653
657
|
/**
|
|
@@ -660,7 +664,11 @@ interface RecordUserOptions {
|
|
|
660
664
|
name?: string;
|
|
661
665
|
/** User's email */
|
|
662
666
|
email?: string;
|
|
663
|
-
/**
|
|
667
|
+
/**
|
|
668
|
+
* Exact permission profile names or IDs to carry into environment opening.
|
|
669
|
+
* Custom profiles must already be provisioned with `granular build` or
|
|
670
|
+
* `granular deploy`.
|
|
671
|
+
*/
|
|
664
672
|
permissions?: string[];
|
|
665
673
|
}
|
|
666
674
|
/**
|
|
@@ -709,7 +717,11 @@ interface OpenEnvironmentOptions {
|
|
|
709
717
|
/** Optional email used when upserting the user. */
|
|
710
718
|
email?: string;
|
|
711
719
|
/**
|
|
712
|
-
*
|
|
720
|
+
* Exact permission profile names or IDs to resolve before opening the
|
|
721
|
+
* environment. Unknown references are rejected before assignment writes.
|
|
722
|
+
* The reserved `allow-all` name is the only profile the SDK may provision
|
|
723
|
+
* automatically for backwards compatibility; custom, `confirm-all`, and
|
|
724
|
+
* `deny-all` profiles must already be synced.
|
|
713
725
|
* Required at runtime when `assignmentMode` is omitted or set to `ensure`.
|
|
714
726
|
* Ignored by `require-existing`, which never mutates authorization records.
|
|
715
727
|
*/
|
|
@@ -832,7 +844,8 @@ type ConversationSessionListStatus = ConversationSessionInfo["status"] | "all";
|
|
|
832
844
|
*
|
|
833
845
|
* At least one ownership filter (`environmentId`, `sandboxId`, or
|
|
834
846
|
* `subjectId`) is required by the SDK. Results are newest-first and default to
|
|
835
|
-
* 100 rows; use `
|
|
847
|
+
* 100 rows; use the opaque `cursor` returned by the page response to request
|
|
848
|
+
* the next page.
|
|
836
849
|
*/
|
|
837
850
|
interface ConversationSessionListOptions {
|
|
838
851
|
environmentId?: string;
|
|
@@ -841,7 +854,11 @@ interface ConversationSessionListOptions {
|
|
|
841
854
|
sessionScope?: string | null;
|
|
842
855
|
status?: ConversationSessionListStatus;
|
|
843
856
|
limit?: number;
|
|
844
|
-
|
|
857
|
+
cursor?: string;
|
|
858
|
+
}
|
|
859
|
+
interface ConversationSessionListResponse {
|
|
860
|
+
items: ConversationSessionInfo[];
|
|
861
|
+
nextCursor: string | null;
|
|
845
862
|
}
|
|
846
863
|
type SpendLineItemType = "llm_tokens" | "granular_session_time" | string;
|
|
847
864
|
type QuotaScopeType = "tenant" | "sandbox" | "permission_profile" | "subject";
|
|
@@ -1065,6 +1082,7 @@ interface CreateEnvironmentData {
|
|
|
1065
1082
|
*/
|
|
1066
1083
|
interface EnvironmentListResponse {
|
|
1067
1084
|
items: EnvironmentData[];
|
|
1085
|
+
nextCursor: string | null;
|
|
1068
1086
|
}
|
|
1069
1087
|
/**
|
|
1070
1088
|
* A manifest describes the structure and behavior of a sandbox
|
|
@@ -1083,6 +1101,7 @@ interface Manifest {
|
|
|
1083
1101
|
*/
|
|
1084
1102
|
interface ManifestListResponse {
|
|
1085
1103
|
items: Manifest[];
|
|
1104
|
+
nextCursor: string | null;
|
|
1086
1105
|
}
|
|
1087
1106
|
type BuildStatus = "queued" | "building" | "completed" | "failed" | "canceled";
|
|
1088
1107
|
/**
|
|
@@ -2105,7 +2124,6 @@ interface UserEnvironmentStateOptions {
|
|
|
2105
2124
|
sessionScope?: string | null;
|
|
2106
2125
|
status?: "active" | "closed" | "expired" | "failed" | "timeout" | "all";
|
|
2107
2126
|
limit?: number;
|
|
2108
|
-
offset?: number;
|
|
2109
2127
|
}
|
|
2110
2128
|
interface MarkUserEnvironmentReadOptions {
|
|
2111
2129
|
sessionId?: string;
|
|
@@ -2898,4 +2916,4 @@ declare function toGranularHttpBase(apiUrl: string): string;
|
|
|
2898
2916
|
declare function buildOpenAISpendEventId(usage: Pick<OpenAIUsageSpendEvent, "requestId">, context?: GranularSpendContext): string | undefined;
|
|
2899
2917
|
declare function recordOpenAIUsageSpend(options: RecordOpenAIUsageSpendOptions): Promise<RecordOpenAIUsageSpendResult>;
|
|
2900
2918
|
|
|
2901
|
-
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
|
|
2919
|
+
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 };
|
package/dist/spend.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { at as GranularSpendContext, au as OpenAIUsageSpendEvent, av as RecordOpenAIUsageSpendOptions, aw as RecordOpenAIUsageSpendResult, ay as buildOpenAISpendEventId, az as recordOpenAIUsageSpend, ax as toGranularHttpBase } from './spend-
|
|
1
|
+
export { at as GranularSpendContext, au as OpenAIUsageSpendEvent, av as RecordOpenAIUsageSpendOptions, aw as RecordOpenAIUsageSpendResult, ay as buildOpenAISpendEventId, az as recordOpenAIUsageSpend, ax as toGranularHttpBase } from './spend-DtsHRNb5.mjs';
|
package/dist/spend.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { at as GranularSpendContext, au as OpenAIUsageSpendEvent, av as RecordOpenAIUsageSpendOptions, aw as RecordOpenAIUsageSpendResult, ay as buildOpenAISpendEventId, az as recordOpenAIUsageSpend, ax as toGranularHttpBase } from './spend-
|
|
1
|
+
export { at as GranularSpendContext, au as OpenAIUsageSpendEvent, av as RecordOpenAIUsageSpendOptions, aw as RecordOpenAIUsageSpendResult, ay as buildOpenAISpendEventId, az as recordOpenAIUsageSpend, ax as toGranularHttpBase } from './spend-DtsHRNb5.js';
|
package/package.json
CHANGED