@runtypelabs/sdk 11.5.0 → 11.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +8 -1
- package/dist/index.d.cts +38 -9
- package/dist/index.d.ts +38 -9
- package/dist/index.mjs +8 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -5153,6 +5153,13 @@ var ApiKeyRequestsEndpoint = class {
|
|
|
5153
5153
|
async claim(requestId, data) {
|
|
5154
5154
|
return this.client.post(`/api-keys/requests/${requestId}/claim`, data);
|
|
5155
5155
|
}
|
|
5156
|
+
/**
|
|
5157
|
+
* Redeem a request filed with `allowUnauthenticatedClaim: true` using only its verifier.
|
|
5158
|
+
* Works on a client with no API key; an unknown id or wrong verifier is a uniform 404.
|
|
5159
|
+
*/
|
|
5160
|
+
async claimWithVerifier(requestId, data) {
|
|
5161
|
+
return this.client.post(`/public/api-key-requests/${requestId}/claim`, data);
|
|
5162
|
+
}
|
|
5156
5163
|
/** Withdraw a pending request you filed. Cannot be undone. */
|
|
5157
5164
|
async cancel(requestId) {
|
|
5158
5165
|
return this.client.post(`/api-keys/requests/${requestId}/cancel`);
|
|
@@ -14694,7 +14701,7 @@ function transformQueryParams(params) {
|
|
|
14694
14701
|
}
|
|
14695
14702
|
//#endregion
|
|
14696
14703
|
//#region src/version.ts
|
|
14697
|
-
const SDK_VERSION = "11.
|
|
14704
|
+
const SDK_VERSION = "11.6.0";
|
|
14698
14705
|
/**
|
|
14699
14706
|
* Canonical client identity the API uses for attribution
|
|
14700
14707
|
* (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
|
package/dist/index.d.cts
CHANGED
|
@@ -21036,9 +21036,11 @@ interface paths {
|
|
|
21036
21036
|
suiteId?: string;
|
|
21037
21037
|
/** @description Only events for this delegated task */
|
|
21038
21038
|
taskId?: string;
|
|
21039
|
+
/** @description Signal events only: keep occurrences for this signal key */
|
|
21040
|
+
key?: string;
|
|
21039
21041
|
/** @description Eval runs only: keep runs whose pass rate dropped */
|
|
21040
21042
|
onlyRegressions?: "true" | "false";
|
|
21041
|
-
/** @description Execution failures only: coalesce repeats within this window */
|
|
21043
|
+
/** @description Execution failures and fired signals only: coalesce repeats within this window */
|
|
21042
21044
|
minIntervalMs?: number | null;
|
|
21043
21045
|
};
|
|
21044
21046
|
header?: never;
|
|
@@ -34782,7 +34784,7 @@ interface paths {
|
|
|
34782
34784
|
version: number;
|
|
34783
34785
|
};
|
|
34784
34786
|
/** @enum {string} */
|
|
34785
|
-
status: "complete" | "failed" | "skipped_budget" | "skipped_policy";
|
|
34787
|
+
status: "complete" | "failed" | "skipped_budget" | "skipped_policy" | "skipped_billing";
|
|
34786
34788
|
target: {
|
|
34787
34789
|
executionId: string;
|
|
34788
34790
|
spanId: string | null;
|
|
@@ -53329,7 +53331,7 @@ interface paths {
|
|
|
53329
53331
|
};
|
|
53330
53332
|
/**
|
|
53331
53333
|
* List signal bindings
|
|
53332
|
-
* @description Enabled bindings, newest first; filter by agent or set, or include disabled ones.
|
|
53334
|
+
* @description Enabled bindings, newest first, including the implicit failure-detector binding (`implicit: true`); filter by agent or set, or include disabled ones (an opted-out implicit binding is a disabled one).
|
|
53333
53335
|
*/
|
|
53334
53336
|
get: {
|
|
53335
53337
|
parameters: {
|
|
@@ -53526,7 +53528,7 @@ interface paths {
|
|
|
53526
53528
|
post?: never;
|
|
53527
53529
|
/**
|
|
53528
53530
|
* Unbind a signal set
|
|
53529
|
-
* @description Stop evaluating. Existing results stay readable on their traces until those traces expire.
|
|
53531
|
+
* @description Stop evaluating. Existing results stay readable on their traces until those traces expire. Unbinding the implicit failure-detector binding is an opt-out: it is never recreated for that agent.
|
|
53530
53532
|
*/
|
|
53531
53533
|
delete: {
|
|
53532
53534
|
parameters: {
|
|
@@ -62430,7 +62432,7 @@ interface components {
|
|
|
62430
62432
|
[key: string]: unknown;
|
|
62431
62433
|
};
|
|
62432
62434
|
/** @enum {string} */
|
|
62433
|
-
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled";
|
|
62435
|
+
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
62434
62436
|
/** @description JSON Schema for the occurrence `data` */
|
|
62435
62437
|
payloadSchema: {
|
|
62436
62438
|
[key: string]: unknown;
|
|
@@ -62455,7 +62457,7 @@ interface components {
|
|
|
62455
62457
|
/** @description Occurrence id (typeid, `pev_` prefix) */
|
|
62456
62458
|
eventId: string;
|
|
62457
62459
|
/** @enum {string} */
|
|
62458
|
-
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled";
|
|
62460
|
+
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
62459
62461
|
/** @description When it happened (ISO 8601) */
|
|
62460
62462
|
timestamp: string;
|
|
62461
62463
|
};
|
|
@@ -62996,7 +62998,7 @@ interface components {
|
|
|
62996
62998
|
version: number;
|
|
62997
62999
|
};
|
|
62998
63000
|
/** @enum {string} */
|
|
62999
|
-
status: "complete" | "failed" | "skipped_budget" | "skipped_policy";
|
|
63001
|
+
status: "complete" | "failed" | "skipped_budget" | "skipped_policy" | "skipped_billing";
|
|
63000
63002
|
target: {
|
|
63001
63003
|
executionId: string;
|
|
63002
63004
|
spanId: string | null;
|
|
@@ -63548,6 +63550,7 @@ interface components {
|
|
|
63548
63550
|
value?: unknown;
|
|
63549
63551
|
};
|
|
63550
63552
|
SignalBinding: {
|
|
63553
|
+
/** @description Monthly cap. 0 on an implicit binding, which has no cap and is billed to usage. */
|
|
63551
63554
|
budget: {
|
|
63552
63555
|
monthlyUsd: number;
|
|
63553
63556
|
};
|
|
@@ -63562,6 +63565,8 @@ interface components {
|
|
|
63562
63565
|
[key: string]: unknown;
|
|
63563
63566
|
};
|
|
63564
63567
|
id: string;
|
|
63568
|
+
/** @description Created by the platform: the failure detector on a uniform 5% sample, billed to usage. Unbinding it records an opt-out (enabled false) and it is not recreated; an explicit failure_detector binding replaces it. */
|
|
63569
|
+
implicit: boolean;
|
|
63565
63570
|
signalSetId: string;
|
|
63566
63571
|
signalSetName?: string;
|
|
63567
63572
|
signalSetVersionId: string;
|
|
@@ -63624,7 +63629,7 @@ interface components {
|
|
|
63624
63629
|
version: number;
|
|
63625
63630
|
};
|
|
63626
63631
|
/** @enum {string} */
|
|
63627
|
-
status: "complete" | "failed" | "skipped_budget" | "skipped_policy";
|
|
63632
|
+
status: "complete" | "failed" | "skipped_budget" | "skipped_policy" | "skipped_billing";
|
|
63628
63633
|
target: {
|
|
63629
63634
|
executionId: string;
|
|
63630
63635
|
spanId: string | null;
|
|
@@ -68089,6 +68094,8 @@ interface ApiKeyRequest {
|
|
|
68089
68094
|
environment: ApiKeyRequestEnvironment;
|
|
68090
68095
|
requestedTtlSeconds: number;
|
|
68091
68096
|
preferredDelivery: ApiKeyRequestDelivery;
|
|
68097
|
+
/** The verifier alone redeems this request; no Runtype login is required. */
|
|
68098
|
+
allowUnauthenticatedClaim: boolean;
|
|
68092
68099
|
requester: ApiKeyRequestRequester;
|
|
68093
68100
|
grantedPermissions: string[] | null;
|
|
68094
68101
|
grantedExpiresAt: string | null;
|
|
@@ -68120,6 +68127,11 @@ interface CreateApiKeyRequestInput {
|
|
|
68120
68127
|
codeChallengeMethod?: 'S256';
|
|
68121
68128
|
/** Dashboard path to return the approver to after they decide. */
|
|
68122
68129
|
returnUrl?: string;
|
|
68130
|
+
/**
|
|
68131
|
+
* Let anyone holding the verifier redeem without a Runtype login (`claimWithVerifier`).
|
|
68132
|
+
* Scopes are capped at the requester's own and the lifetime at 7 days.
|
|
68133
|
+
*/
|
|
68134
|
+
allowUnauthenticatedClaim?: boolean;
|
|
68123
68135
|
}
|
|
68124
68136
|
interface CreateApiKeyRequestResponse {
|
|
68125
68137
|
request: ApiKeyRequest;
|
|
@@ -68136,6 +68148,10 @@ interface ClaimApiKeyRequestInput {
|
|
|
68136
68148
|
/** Key to store under for `secret` delivery. Defaults to `RUNTYPE_API_KEY_<NAME>`. */
|
|
68137
68149
|
secretKey?: string;
|
|
68138
68150
|
}
|
|
68151
|
+
/** Body of `apiKeys.requests.claimWithVerifier`: inline delivery only. */
|
|
68152
|
+
interface UnauthenticatedClaimApiKeyRequestInput {
|
|
68153
|
+
codeVerifier: string;
|
|
68154
|
+
}
|
|
68139
68155
|
/** Exactly one of `apiKey` / `secretRef` is present, per `delivery`. */
|
|
68140
68156
|
interface ClaimApiKeyRequestResponse {
|
|
68141
68157
|
request: ApiKeyRequest;
|
|
@@ -69134,6 +69150,11 @@ export declare class ApiKeyRequestsEndpoint {
|
|
|
69134
69150
|
* only a `{{secret:KEY}}` reference in `secretRef`. Claiming twice is a 409.
|
|
69135
69151
|
*/
|
|
69136
69152
|
claim(requestId: string, data: ClaimApiKeyRequestInput): Promise<ClaimApiKeyRequestResponse>;
|
|
69153
|
+
/**
|
|
69154
|
+
* Redeem a request filed with `allowUnauthenticatedClaim: true` using only its verifier.
|
|
69155
|
+
* Works on a client with no API key; an unknown id or wrong verifier is a uniform 404.
|
|
69156
|
+
*/
|
|
69157
|
+
claimWithVerifier(requestId: string, data: UnauthenticatedClaimApiKeyRequestInput): Promise<ClaimApiKeyRequestResponse>;
|
|
69137
69158
|
/** Withdraw a pending request you filed. Cannot be undone. */
|
|
69138
69159
|
cancel(requestId: string): Promise<{
|
|
69139
69160
|
request: ApiKeyRequest;
|
|
@@ -75508,6 +75529,8 @@ interface SignalBinding {
|
|
|
75508
75529
|
monthlyUsd: number;
|
|
75509
75530
|
};
|
|
75510
75531
|
enabled: boolean;
|
|
75532
|
+
/** Platform-created failure-detector binding (5% uniform sample, billed to usage); unbinding it is a lasting opt-out. */
|
|
75533
|
+
implicit: boolean;
|
|
75511
75534
|
disabledAt: string | null;
|
|
75512
75535
|
externalProcessingAcknowledgedAt: string | null;
|
|
75513
75536
|
createdAt: string;
|
|
@@ -77123,7 +77146,11 @@ type SimulationServedByCounts = Partial<Record<SimulationServedBy, number>>;
|
|
|
77123
77146
|
/** One episode's measurements; target and client-agent cost are what a success costs, the rest is overhead. */
|
|
77124
77147
|
interface SimulationEpisodeMetrics {
|
|
77125
77148
|
interruptedMidTurn?: true;
|
|
77149
|
+
/** The episode ended `agent_error` because the client model's provider stalled after its retries; unscored. */
|
|
77150
|
+
clientModelStall?: true;
|
|
77126
77151
|
scoringFailed?: true;
|
|
77152
|
+
/** Scoring failed because no goal-judge attempt returned a valid verdict: the judge, not the episode, gave no verdict. */
|
|
77153
|
+
goalJudgeModelError?: true;
|
|
77127
77154
|
turns: number;
|
|
77128
77155
|
targetCostUsd: number | null;
|
|
77129
77156
|
clientAgentCostUsd: number | null;
|
|
@@ -77273,6 +77300,8 @@ interface SimulationToolCallFacts {
|
|
|
77273
77300
|
designedBy?: 'shape' | 'paginate' | 'error_design' | 'accept_identifier' | 'add_tool';
|
|
77274
77301
|
/** The synthesizer's answer failed its contract twice, so the call was answered with a stub. */
|
|
77275
77302
|
synthesisFailed?: boolean;
|
|
77303
|
+
/** No rung could answer the call under its policy, so it got a stub; a policy stub of a write never sets it. */
|
|
77304
|
+
unanswered?: boolean;
|
|
77276
77305
|
/** Why the synthesizer answered as it did, on a synthesized call. */
|
|
77277
77306
|
rationale?: string;
|
|
77278
77307
|
/** The frozen row of the suggestions filled into this call's designed error; `exchangeId` stays the answer's. */
|
|
@@ -78987,5 +79016,5 @@ export declare function getLikelySupportingCandidatePaths(bestCandidatePath: str
|
|
|
78987
79016
|
export declare function getDefaultPlanPath(taskName: string): string;
|
|
78988
79017
|
export declare function sanitizeTaskSlug(taskName: string): string;
|
|
78989
79018
|
//#endregion
|
|
78990
|
-
export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSignalSetInput, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, CreateSignalSetInput, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, ExportSimulationDesignBriefResponse, ExtractionModelCatalog, ExtractionModelCatalogEntry, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, GetSimulationEpisodeResponse, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, JudgeAttemptDiagnostic, JudgeDiagnostics, JudgeParseError, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, ListSimulationEpisodesParams, ListSimulationEpisodesResponse, ListSimulationToolExchangesParams, ListSimulationToolExchangesResponse, LoopStepConfig, ManagedDeploymentAccepted, ManagedDeploymentCapability, ManagedDeploymentConfig, ManagedDeploymentCredentialAuthority, ManagedDeploymentDefinition, ManagedDeploymentDesiredSpec, ManagedDeploymentHealth, ManagedDeploymentLanguage, ManagedDeploymentProfileIdentity, ManagedDeploymentResource, ManagedDeploymentRetention, ManagedDeploymentRuntimeProfile, ManagedDeploymentSleepPolicy, ManagedDeploymentUpdateOptions, ManagedDeploymentWriteOptions, ManagedDeploymentWriteRequest, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, PreviewSimulationVariantRequest, PreviewSimulationVariantResponse, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SignalBinding, SignalPreviewReport, SignalSet, SignalSetDefinitionInput, SignalSetPreset, SignalSetVersion, SignalStatRow, SignalStatsParams, SimulationDesignBrief, SimulationEpisode, SimulationEpisodeMetrics, SimulationEpisodeScore, SimulationEpisodeStatus, SimulationEpisodeTranscript, SimulationServedBy, SimulationServedByCounts, SimulationTermination, SimulationToolCallFacts, SimulationToolExchange, SimulationToolProfile, SimulationTranscriptMessage, SimulationTurnLayerFacts, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpdateSimulationTargetRequest, UpdateSimulationVariantRequest, UploadSimulationToolExchangesRequest, UploadedSimulationToolExchange, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
|
|
79019
|
+
export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSignalSetInput, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, CreateSignalSetInput, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, ExportSimulationDesignBriefResponse, ExtractionModelCatalog, ExtractionModelCatalogEntry, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, GetSimulationEpisodeResponse, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, JudgeAttemptDiagnostic, JudgeDiagnostics, JudgeParseError, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, ListSimulationEpisodesParams, ListSimulationEpisodesResponse, ListSimulationToolExchangesParams, ListSimulationToolExchangesResponse, LoopStepConfig, ManagedDeploymentAccepted, ManagedDeploymentCapability, ManagedDeploymentConfig, ManagedDeploymentCredentialAuthority, ManagedDeploymentDefinition, ManagedDeploymentDesiredSpec, ManagedDeploymentHealth, ManagedDeploymentLanguage, ManagedDeploymentProfileIdentity, ManagedDeploymentResource, ManagedDeploymentRetention, ManagedDeploymentRuntimeProfile, ManagedDeploymentSleepPolicy, ManagedDeploymentUpdateOptions, ManagedDeploymentWriteOptions, ManagedDeploymentWriteRequest, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, PreviewSimulationVariantRequest, PreviewSimulationVariantResponse, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SignalBinding, SignalPreviewReport, SignalSet, SignalSetDefinitionInput, SignalSetPreset, SignalSetVersion, SignalStatRow, SignalStatsParams, SimulationDesignBrief, SimulationEpisode, SimulationEpisodeMetrics, SimulationEpisodeScore, SimulationEpisodeStatus, SimulationEpisodeTranscript, SimulationServedBy, SimulationServedByCounts, SimulationTermination, SimulationToolCallFacts, SimulationToolExchange, SimulationToolProfile, SimulationTranscriptMessage, SimulationTurnLayerFacts, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UnauthenticatedClaimApiKeyRequestInput, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpdateSimulationTargetRequest, UpdateSimulationVariantRequest, UploadSimulationToolExchangesRequest, UploadedSimulationToolExchange, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
|
|
78991
79020
|
export {}
|
package/dist/index.d.ts
CHANGED
|
@@ -21036,9 +21036,11 @@ interface paths {
|
|
|
21036
21036
|
suiteId?: string;
|
|
21037
21037
|
/** @description Only events for this delegated task */
|
|
21038
21038
|
taskId?: string;
|
|
21039
|
+
/** @description Signal events only: keep occurrences for this signal key */
|
|
21040
|
+
key?: string;
|
|
21039
21041
|
/** @description Eval runs only: keep runs whose pass rate dropped */
|
|
21040
21042
|
onlyRegressions?: "true" | "false";
|
|
21041
|
-
/** @description Execution failures only: coalesce repeats within this window */
|
|
21043
|
+
/** @description Execution failures and fired signals only: coalesce repeats within this window */
|
|
21042
21044
|
minIntervalMs?: number | null;
|
|
21043
21045
|
};
|
|
21044
21046
|
header?: never;
|
|
@@ -34782,7 +34784,7 @@ interface paths {
|
|
|
34782
34784
|
version: number;
|
|
34783
34785
|
};
|
|
34784
34786
|
/** @enum {string} */
|
|
34785
|
-
status: "complete" | "failed" | "skipped_budget" | "skipped_policy";
|
|
34787
|
+
status: "complete" | "failed" | "skipped_budget" | "skipped_policy" | "skipped_billing";
|
|
34786
34788
|
target: {
|
|
34787
34789
|
executionId: string;
|
|
34788
34790
|
spanId: string | null;
|
|
@@ -53329,7 +53331,7 @@ interface paths {
|
|
|
53329
53331
|
};
|
|
53330
53332
|
/**
|
|
53331
53333
|
* List signal bindings
|
|
53332
|
-
* @description Enabled bindings, newest first; filter by agent or set, or include disabled ones.
|
|
53334
|
+
* @description Enabled bindings, newest first, including the implicit failure-detector binding (`implicit: true`); filter by agent or set, or include disabled ones (an opted-out implicit binding is a disabled one).
|
|
53333
53335
|
*/
|
|
53334
53336
|
get: {
|
|
53335
53337
|
parameters: {
|
|
@@ -53526,7 +53528,7 @@ interface paths {
|
|
|
53526
53528
|
post?: never;
|
|
53527
53529
|
/**
|
|
53528
53530
|
* Unbind a signal set
|
|
53529
|
-
* @description Stop evaluating. Existing results stay readable on their traces until those traces expire.
|
|
53531
|
+
* @description Stop evaluating. Existing results stay readable on their traces until those traces expire. Unbinding the implicit failure-detector binding is an opt-out: it is never recreated for that agent.
|
|
53530
53532
|
*/
|
|
53531
53533
|
delete: {
|
|
53532
53534
|
parameters: {
|
|
@@ -62430,7 +62432,7 @@ interface components {
|
|
|
62430
62432
|
[key: string]: unknown;
|
|
62431
62433
|
};
|
|
62432
62434
|
/** @enum {string} */
|
|
62433
|
-
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled";
|
|
62435
|
+
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
62434
62436
|
/** @description JSON Schema for the occurrence `data` */
|
|
62435
62437
|
payloadSchema: {
|
|
62436
62438
|
[key: string]: unknown;
|
|
@@ -62455,7 +62457,7 @@ interface components {
|
|
|
62455
62457
|
/** @description Occurrence id (typeid, `pev_` prefix) */
|
|
62456
62458
|
eventId: string;
|
|
62457
62459
|
/** @enum {string} */
|
|
62458
|
-
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled";
|
|
62460
|
+
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
62459
62461
|
/** @description When it happened (ISO 8601) */
|
|
62460
62462
|
timestamp: string;
|
|
62461
62463
|
};
|
|
@@ -62996,7 +62998,7 @@ interface components {
|
|
|
62996
62998
|
version: number;
|
|
62997
62999
|
};
|
|
62998
63000
|
/** @enum {string} */
|
|
62999
|
-
status: "complete" | "failed" | "skipped_budget" | "skipped_policy";
|
|
63001
|
+
status: "complete" | "failed" | "skipped_budget" | "skipped_policy" | "skipped_billing";
|
|
63000
63002
|
target: {
|
|
63001
63003
|
executionId: string;
|
|
63002
63004
|
spanId: string | null;
|
|
@@ -63548,6 +63550,7 @@ interface components {
|
|
|
63548
63550
|
value?: unknown;
|
|
63549
63551
|
};
|
|
63550
63552
|
SignalBinding: {
|
|
63553
|
+
/** @description Monthly cap. 0 on an implicit binding, which has no cap and is billed to usage. */
|
|
63551
63554
|
budget: {
|
|
63552
63555
|
monthlyUsd: number;
|
|
63553
63556
|
};
|
|
@@ -63562,6 +63565,8 @@ interface components {
|
|
|
63562
63565
|
[key: string]: unknown;
|
|
63563
63566
|
};
|
|
63564
63567
|
id: string;
|
|
63568
|
+
/** @description Created by the platform: the failure detector on a uniform 5% sample, billed to usage. Unbinding it records an opt-out (enabled false) and it is not recreated; an explicit failure_detector binding replaces it. */
|
|
63569
|
+
implicit: boolean;
|
|
63565
63570
|
signalSetId: string;
|
|
63566
63571
|
signalSetName?: string;
|
|
63567
63572
|
signalSetVersionId: string;
|
|
@@ -63624,7 +63629,7 @@ interface components {
|
|
|
63624
63629
|
version: number;
|
|
63625
63630
|
};
|
|
63626
63631
|
/** @enum {string} */
|
|
63627
|
-
status: "complete" | "failed" | "skipped_budget" | "skipped_policy";
|
|
63632
|
+
status: "complete" | "failed" | "skipped_budget" | "skipped_policy" | "skipped_billing";
|
|
63628
63633
|
target: {
|
|
63629
63634
|
executionId: string;
|
|
63630
63635
|
spanId: string | null;
|
|
@@ -68089,6 +68094,8 @@ interface ApiKeyRequest {
|
|
|
68089
68094
|
environment: ApiKeyRequestEnvironment;
|
|
68090
68095
|
requestedTtlSeconds: number;
|
|
68091
68096
|
preferredDelivery: ApiKeyRequestDelivery;
|
|
68097
|
+
/** The verifier alone redeems this request; no Runtype login is required. */
|
|
68098
|
+
allowUnauthenticatedClaim: boolean;
|
|
68092
68099
|
requester: ApiKeyRequestRequester;
|
|
68093
68100
|
grantedPermissions: string[] | null;
|
|
68094
68101
|
grantedExpiresAt: string | null;
|
|
@@ -68120,6 +68127,11 @@ interface CreateApiKeyRequestInput {
|
|
|
68120
68127
|
codeChallengeMethod?: 'S256';
|
|
68121
68128
|
/** Dashboard path to return the approver to after they decide. */
|
|
68122
68129
|
returnUrl?: string;
|
|
68130
|
+
/**
|
|
68131
|
+
* Let anyone holding the verifier redeem without a Runtype login (`claimWithVerifier`).
|
|
68132
|
+
* Scopes are capped at the requester's own and the lifetime at 7 days.
|
|
68133
|
+
*/
|
|
68134
|
+
allowUnauthenticatedClaim?: boolean;
|
|
68123
68135
|
}
|
|
68124
68136
|
interface CreateApiKeyRequestResponse {
|
|
68125
68137
|
request: ApiKeyRequest;
|
|
@@ -68136,6 +68148,10 @@ interface ClaimApiKeyRequestInput {
|
|
|
68136
68148
|
/** Key to store under for `secret` delivery. Defaults to `RUNTYPE_API_KEY_<NAME>`. */
|
|
68137
68149
|
secretKey?: string;
|
|
68138
68150
|
}
|
|
68151
|
+
/** Body of `apiKeys.requests.claimWithVerifier`: inline delivery only. */
|
|
68152
|
+
interface UnauthenticatedClaimApiKeyRequestInput {
|
|
68153
|
+
codeVerifier: string;
|
|
68154
|
+
}
|
|
68139
68155
|
/** Exactly one of `apiKey` / `secretRef` is present, per `delivery`. */
|
|
68140
68156
|
interface ClaimApiKeyRequestResponse {
|
|
68141
68157
|
request: ApiKeyRequest;
|
|
@@ -69134,6 +69150,11 @@ export declare class ApiKeyRequestsEndpoint {
|
|
|
69134
69150
|
* only a `{{secret:KEY}}` reference in `secretRef`. Claiming twice is a 409.
|
|
69135
69151
|
*/
|
|
69136
69152
|
claim(requestId: string, data: ClaimApiKeyRequestInput): Promise<ClaimApiKeyRequestResponse>;
|
|
69153
|
+
/**
|
|
69154
|
+
* Redeem a request filed with `allowUnauthenticatedClaim: true` using only its verifier.
|
|
69155
|
+
* Works on a client with no API key; an unknown id or wrong verifier is a uniform 404.
|
|
69156
|
+
*/
|
|
69157
|
+
claimWithVerifier(requestId: string, data: UnauthenticatedClaimApiKeyRequestInput): Promise<ClaimApiKeyRequestResponse>;
|
|
69137
69158
|
/** Withdraw a pending request you filed. Cannot be undone. */
|
|
69138
69159
|
cancel(requestId: string): Promise<{
|
|
69139
69160
|
request: ApiKeyRequest;
|
|
@@ -75508,6 +75529,8 @@ interface SignalBinding {
|
|
|
75508
75529
|
monthlyUsd: number;
|
|
75509
75530
|
};
|
|
75510
75531
|
enabled: boolean;
|
|
75532
|
+
/** Platform-created failure-detector binding (5% uniform sample, billed to usage); unbinding it is a lasting opt-out. */
|
|
75533
|
+
implicit: boolean;
|
|
75511
75534
|
disabledAt: string | null;
|
|
75512
75535
|
externalProcessingAcknowledgedAt: string | null;
|
|
75513
75536
|
createdAt: string;
|
|
@@ -77123,7 +77146,11 @@ type SimulationServedByCounts = Partial<Record<SimulationServedBy, number>>;
|
|
|
77123
77146
|
/** One episode's measurements; target and client-agent cost are what a success costs, the rest is overhead. */
|
|
77124
77147
|
interface SimulationEpisodeMetrics {
|
|
77125
77148
|
interruptedMidTurn?: true;
|
|
77149
|
+
/** The episode ended `agent_error` because the client model's provider stalled after its retries; unscored. */
|
|
77150
|
+
clientModelStall?: true;
|
|
77126
77151
|
scoringFailed?: true;
|
|
77152
|
+
/** Scoring failed because no goal-judge attempt returned a valid verdict: the judge, not the episode, gave no verdict. */
|
|
77153
|
+
goalJudgeModelError?: true;
|
|
77127
77154
|
turns: number;
|
|
77128
77155
|
targetCostUsd: number | null;
|
|
77129
77156
|
clientAgentCostUsd: number | null;
|
|
@@ -77273,6 +77300,8 @@ interface SimulationToolCallFacts {
|
|
|
77273
77300
|
designedBy?: 'shape' | 'paginate' | 'error_design' | 'accept_identifier' | 'add_tool';
|
|
77274
77301
|
/** The synthesizer's answer failed its contract twice, so the call was answered with a stub. */
|
|
77275
77302
|
synthesisFailed?: boolean;
|
|
77303
|
+
/** No rung could answer the call under its policy, so it got a stub; a policy stub of a write never sets it. */
|
|
77304
|
+
unanswered?: boolean;
|
|
77276
77305
|
/** Why the synthesizer answered as it did, on a synthesized call. */
|
|
77277
77306
|
rationale?: string;
|
|
77278
77307
|
/** The frozen row of the suggestions filled into this call's designed error; `exchangeId` stays the answer's. */
|
|
@@ -78987,5 +79016,5 @@ export declare function getLikelySupportingCandidatePaths(bestCandidatePath: str
|
|
|
78987
79016
|
export declare function getDefaultPlanPath(taskName: string): string;
|
|
78988
79017
|
export declare function sanitizeTaskSlug(taskName: string): string;
|
|
78989
79018
|
//#endregion
|
|
78990
|
-
export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSignalSetInput, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, CreateSignalSetInput, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, ExportSimulationDesignBriefResponse, ExtractionModelCatalog, ExtractionModelCatalogEntry, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, GetSimulationEpisodeResponse, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, JudgeAttemptDiagnostic, JudgeDiagnostics, JudgeParseError, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, ListSimulationEpisodesParams, ListSimulationEpisodesResponse, ListSimulationToolExchangesParams, ListSimulationToolExchangesResponse, LoopStepConfig, ManagedDeploymentAccepted, ManagedDeploymentCapability, ManagedDeploymentConfig, ManagedDeploymentCredentialAuthority, ManagedDeploymentDefinition, ManagedDeploymentDesiredSpec, ManagedDeploymentHealth, ManagedDeploymentLanguage, ManagedDeploymentProfileIdentity, ManagedDeploymentResource, ManagedDeploymentRetention, ManagedDeploymentRuntimeProfile, ManagedDeploymentSleepPolicy, ManagedDeploymentUpdateOptions, ManagedDeploymentWriteOptions, ManagedDeploymentWriteRequest, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, PreviewSimulationVariantRequest, PreviewSimulationVariantResponse, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SignalBinding, SignalPreviewReport, SignalSet, SignalSetDefinitionInput, SignalSetPreset, SignalSetVersion, SignalStatRow, SignalStatsParams, SimulationDesignBrief, SimulationEpisode, SimulationEpisodeMetrics, SimulationEpisodeScore, SimulationEpisodeStatus, SimulationEpisodeTranscript, SimulationServedBy, SimulationServedByCounts, SimulationTermination, SimulationToolCallFacts, SimulationToolExchange, SimulationToolProfile, SimulationTranscriptMessage, SimulationTurnLayerFacts, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpdateSimulationTargetRequest, UpdateSimulationVariantRequest, UploadSimulationToolExchangesRequest, UploadedSimulationToolExchange, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
|
|
79019
|
+
export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSignalSetInput, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, CreateSignalSetInput, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, ExportSimulationDesignBriefResponse, ExtractionModelCatalog, ExtractionModelCatalogEntry, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, GetSimulationEpisodeResponse, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, JudgeAttemptDiagnostic, JudgeDiagnostics, JudgeParseError, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, ListSimulationEpisodesParams, ListSimulationEpisodesResponse, ListSimulationToolExchangesParams, ListSimulationToolExchangesResponse, LoopStepConfig, ManagedDeploymentAccepted, ManagedDeploymentCapability, ManagedDeploymentConfig, ManagedDeploymentCredentialAuthority, ManagedDeploymentDefinition, ManagedDeploymentDesiredSpec, ManagedDeploymentHealth, ManagedDeploymentLanguage, ManagedDeploymentProfileIdentity, ManagedDeploymentResource, ManagedDeploymentRetention, ManagedDeploymentRuntimeProfile, ManagedDeploymentSleepPolicy, ManagedDeploymentUpdateOptions, ManagedDeploymentWriteOptions, ManagedDeploymentWriteRequest, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, PreviewSimulationVariantRequest, PreviewSimulationVariantResponse, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SignalBinding, SignalPreviewReport, SignalSet, SignalSetDefinitionInput, SignalSetPreset, SignalSetVersion, SignalStatRow, SignalStatsParams, SimulationDesignBrief, SimulationEpisode, SimulationEpisodeMetrics, SimulationEpisodeScore, SimulationEpisodeStatus, SimulationEpisodeTranscript, SimulationServedBy, SimulationServedByCounts, SimulationTermination, SimulationToolCallFacts, SimulationToolExchange, SimulationToolProfile, SimulationTranscriptMessage, SimulationTurnLayerFacts, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UnauthenticatedClaimApiKeyRequestInput, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpdateSimulationTargetRequest, UpdateSimulationVariantRequest, UploadSimulationToolExchangesRequest, UploadedSimulationToolExchange, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
|
|
78991
79020
|
export {}
|
package/dist/index.mjs
CHANGED
|
@@ -5152,6 +5152,13 @@ var ApiKeyRequestsEndpoint = class {
|
|
|
5152
5152
|
async claim(requestId, data) {
|
|
5153
5153
|
return this.client.post(`/api-keys/requests/${requestId}/claim`, data);
|
|
5154
5154
|
}
|
|
5155
|
+
/**
|
|
5156
|
+
* Redeem a request filed with `allowUnauthenticatedClaim: true` using only its verifier.
|
|
5157
|
+
* Works on a client with no API key; an unknown id or wrong verifier is a uniform 404.
|
|
5158
|
+
*/
|
|
5159
|
+
async claimWithVerifier(requestId, data) {
|
|
5160
|
+
return this.client.post(`/public/api-key-requests/${requestId}/claim`, data);
|
|
5161
|
+
}
|
|
5155
5162
|
/** Withdraw a pending request you filed. Cannot be undone. */
|
|
5156
5163
|
async cancel(requestId) {
|
|
5157
5164
|
return this.client.post(`/api-keys/requests/${requestId}/cancel`);
|
|
@@ -14693,7 +14700,7 @@ function transformQueryParams(params) {
|
|
|
14693
14700
|
}
|
|
14694
14701
|
//#endregion
|
|
14695
14702
|
//#region src/version.ts
|
|
14696
|
-
const SDK_VERSION = "11.
|
|
14703
|
+
const SDK_VERSION = "11.6.0";
|
|
14697
14704
|
/**
|
|
14698
14705
|
* Canonical client identity the API uses for attribution
|
|
14699
14706
|
* (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/sdk",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@runtypelabs/shared": "3.
|
|
27
|
+
"@runtypelabs/shared": "3.93.0",
|
|
28
28
|
"openapi-typescript": "^7.13.0",
|
|
29
29
|
"tsdown": "^0.23.0",
|
|
30
30
|
"typescript": "^6.0.3",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "tsdown",
|
|
65
65
|
"dev": "tsdown --watch",
|
|
66
|
-
"typecheck": "
|
|
66
|
+
"typecheck": "tsrs --noEmit",
|
|
67
67
|
"clean": "rm -rf dist",
|
|
68
68
|
"test": "vitest run",
|
|
69
69
|
"test:watch": "vitest watch",
|