@niadra/sdk 0.10.4 → 0.11.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/CHANGELOG.md +31 -0
- package/README.md +1 -1
- package/dist/ai-sdk.cjs +1 -1
- package/dist/ai-sdk.cjs.map +1 -1
- package/dist/ai-sdk.d.cts +3 -3
- package/dist/ai-sdk.d.ts +3 -3
- package/dist/ai-sdk.js +1 -1
- package/dist/ai-sdk.js.map +1 -1
- package/dist/anthropic.d.cts +4 -4
- package/dist/anthropic.d.ts +4 -4
- package/dist/bedrock.d.cts +4 -4
- package/dist/bedrock.d.ts +4 -4
- package/dist/cli.js +8 -8
- package/dist/cli.js.map +1 -1
- package/dist/{client-7mkrdRI0.d.cts → client-CG257pe3.d.cts} +122 -5
- package/dist/{client-7mkrdRI0.d.ts → client-CG257pe3.d.ts} +122 -5
- package/dist/cloudflare-agents.d.cts +3 -3
- package/dist/cloudflare-agents.d.ts +3 -3
- package/dist/elevenlabs.cjs +3 -3
- package/dist/elevenlabs.cjs.map +1 -1
- package/dist/elevenlabs.d.cts +5 -5
- package/dist/elevenlabs.d.ts +5 -5
- package/dist/elevenlabs.js +3 -3
- package/dist/elevenlabs.js.map +1 -1
- package/dist/genkit.d.cts +3 -3
- package/dist/genkit.d.ts +3 -3
- package/dist/google-adk.cjs +3 -3
- package/dist/google-adk.cjs.map +1 -1
- package/dist/google-adk.d.cts +3 -3
- package/dist/google-adk.d.ts +3 -3
- package/dist/google-adk.js +3 -3
- package/dist/google-adk.js.map +1 -1
- package/dist/google-genai.d.cts +4 -4
- package/dist/google-genai.d.ts +4 -4
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/{intercept-CGQhwAom.d.cts → intercept-CvbXtKsU.d.cts} +1 -1
- package/dist/{intercept-CT0vglsd.d.ts → intercept-EqNiV5f2.d.ts} +1 -1
- package/dist/langchain.cjs +1 -1
- package/dist/langchain.cjs.map +1 -1
- package/dist/langchain.d.cts +3 -3
- package/dist/langchain.d.ts +3 -3
- package/dist/langchain.js +1 -1
- package/dist/langchain.js.map +1 -1
- package/dist/livekit.d.cts +3 -3
- package/dist/livekit.d.ts +3 -3
- package/dist/llamaindex.d.cts +3 -3
- package/dist/llamaindex.d.ts +3 -3
- package/dist/mastra.cjs +1 -1
- package/dist/mastra.cjs.map +1 -1
- package/dist/mastra.d.cts +3 -3
- package/dist/mastra.d.ts +3 -3
- package/dist/mastra.js +1 -1
- package/dist/mastra.js.map +1 -1
- package/dist/openai-agents.d.cts +3 -3
- package/dist/openai-agents.d.ts +3 -3
- package/dist/retell.cjs +3 -3
- package/dist/retell.cjs.map +1 -1
- package/dist/retell.d.cts +5 -5
- package/dist/retell.d.ts +5 -5
- package/dist/retell.js +3 -3
- package/dist/retell.js.map +1 -1
- package/dist/{shared-Bf84jr3Y.d.ts → shared--OTV6MgP.d.ts} +1 -1
- package/dist/{shared-CxAwOcZI.d.cts → shared-Dmo7pRV5.d.cts} +1 -1
- package/dist/strands.d.cts +3 -3
- package/dist/strands.d.ts +3 -3
- package/dist/twilio.d.cts +4 -4
- package/dist/twilio.d.ts +4 -4
- package/dist/vapi.cjs +3 -3
- package/dist/vapi.cjs.map +1 -1
- package/dist/vapi.d.cts +5 -5
- package/dist/vapi.d.ts +5 -5
- package/dist/vapi.js +3 -3
- package/dist/vapi.js.map +1 -1
- package/dist/voltagent.d.cts +3 -3
- package/dist/voltagent.d.ts +3 -3
- package/dist/{webhook-QxYgxE6_.d.ts → webhook-Bcgl38Nz.d.ts} +1 -1
- package/dist/{webhook-DE3HsGkb.d.cts → webhook-CPc6wZKf.d.cts} +1 -1
- package/dist/whatsapp.d.cts +2 -2
- package/dist/whatsapp.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ConstraintsBlock, H as HardConstraint, N as NiadraError, a as ClaimRecord, b as ClaimCategory, I as InternalText, s as shingles, c as Niadra, R as Resolvers, d as ContextResponse, M as Mode, T as TurnPins, e as ContextResult, f as ModelUsage, L as Logger, S as SubjectKind, g as Handle, O as ObjectRef } from './client-
|
|
2
|
-
export { A as AGENT_MEMORY_TOOL_DEFINITIONS, h as AGENT_MEMORY_TOOL_NAMES, i as ActionEvent, j as ActionInfo, k as Actions, l as Admin, m as AgentMemoryBlock, n as AgentMemoryParams, o as AgentMemoryResult, p as AgentMemorySearchRequest, q as AgentMemorySearchResponse, r as AgentMemorySource, t as AgentNote, u as AgentNoteKind, v as AgentNoteOrigin, w as AgentNoteProposal, x as AgentNoteStatus, y as AgentNoteVisibility, z as AgentSession, B as AgentState, D as AgentStateConflict, E as AgentStateHandle, F as AgentStateMeta, G as AgentStateMetaPage, J as AgentStateReadRequest, K as AgentStateScope, P as AgentStateWrite, Q as AgentStateWriteResult, U as AgentTurnOptions, V as AnchorEvidence, W as Api, X as ArmComparison, Y as ArmOutcomes, Z as AskedAttribute, _ as AssertionMethod, $ as AssertionOutcome, a0 as AssertionStats, a1 as Attribute, a2 as AttributeEntry, a3 as AttributionReport, a4 as AttributionRow, a5 as AttributionTotal, a6 as Backing, a7 as BackingReport, a8 as BackingSources, a9 as BatchItem, aa as BatchRequest, ab as BatchResponse, ac as BiFile, ad as BiUpload, ae as BiUploadRequest, af as BlobError, ag as BlobStore, ah as BlockSubject, ai as BoundArg, aj as BoundTools, ak as BudgetBlock, al as BudgetCut, am as BudgetPack, an as BudgetUse, ao as CacheDirectives, ap as CacheOptions, aq as CallCapture, ar as CaseClosed, as as CaseOpened, at as Change, au as ChangePage, av as ChangeSinceSeen, aw as ChannelState, ax as CheckBatchRequest, ay as CheckBatchResponse, az as CheckOptions, aA as CheckRequest, aB as CheckResult, aC as ClaimCheck, aD as ClaimCheckOptions, aE as ClaimContractSummary, aF as ClaimEvidence, aG as ClaimEvidenceRef, aH as ClaimKind, aI as ClaimOutputs, aJ as ClaimParams, aK as ClaimRelease, aL as ClaimRequest, aM as ClaimValue, aN as ClaimVerdict, aO as ClaimVia, aP as Claimed, aQ as ClientOptions, aR as Closes, aS as Commitment, aT as CommitmentDecided, aU as CommitmentDecidedDetail, aV as CommitmentMade, aW as CommitmentMadeDetail, aX as CommitmentRef, aY as CommitmentWithdrawn, aZ as CommitmentWithdrawnDetail, a_ as CompanyRule, a$ as Conflict, b0 as ConflictCounts, b1 as ConstraintOrigin, b2 as ConstraintsRequest, b3 as ContactBudget, b4 as ContactBudgetUse, b5 as ContactClaims, b6 as ContactCount, b7 as ContactGateway, b8 as ContactKey, b9 as ContactKeys, ba as ContactMade, bb as ContactMadeDetail, bc as ContactTokenParams, bd as ContactTokenRefusal, be as Content, bf as ContentMarker, bg as ContentMode, bh as ContentRelease, bi as ContentReleaseResult, bj as ContentResolver, bk as ContextFormat, bl as ContextOptions, bm as ContextPack, bn as ContextParams, bo as ContextRequest, bp as ContextSource, bq as ContextStamp, br as ContextUseBucket, bs as ContextUseDimension, bt as ContextUseEntry, bu as ContextUseParams, bv as ContextUseRate, bw as ContextUseReport, bx as Conversation, by as ConversationAction, bz as ConversationEndedItem, bA as ConversationEvent, bB as ConversationParams, bC as CoordinationBlock, bD as CoordinationOverview, bE as CoordinationReport, bF as CoordinationReportPage, bG as CorrectParams, bH as CorrectionAction, bI as CorrectionRequest, bJ as CounterfactualCase, bK as CounterfactualEngaged, bL as CounterfactualEngagement, bM as CounterfactualRunCreate, bN as CounterfactualRunPage, bO as CreateAgentNoteRequest, bP as DEFAULT_CACHE, bQ as DEFAULT_QUEUE, bR as DEFAULT_TIMEOUTS, bS as DEFAULT_VOICE, bT as DELETE, bU as DataIssue, bV as DataIssuePage, bW as Declarations, bX as DeclareRequest, bY as DeclareResult, bZ as DeliveryPath, b_ as DerivedState, b$ as Detect, c0 as DriftChanges, c1 as Effect, c2 as EffectCount, c3 as EffectDeclared, c4 as EffectDetail, c5 as EffectKind, c6 as EffectReserve, c7 as EffectSeen, c8 as EffectSettle, c9 as EffectState, ca as EffectStatus, cb as Engaged, cc as EpisodeOut, cd as Erasure, ce as EventItem, cf as EventKind, cg as Evidence, ch as ExperimentReport, ci as ExperimentResult, cj as ExportPackage, ck as FAIL_CLOSED, cl as FactHistory, cm as FactOut, cn as Feature, co as Feedback, cp as FeedbackAction, cq as FeedbackParams, cr as FeedbackRequest, cs as Fetched, ct as FieldCoverage, cu as FieldState, cv as ForgetTarget, cw as GatewayOptions, cx as Guard, cy as GuardLike, cz as GuardOptions, cA as Guarded, cB as HandleType, cC as Handoff, cD as HandoffContext, cE as HandoffCreate, cF as HandoffDeclared, cG as HandoffDetail, cH as HandoffItem, cI as HandoffOutcome, cJ as HandoffPackage, cK as HandoffParams, cL as HeartbeatItem, cM as HistoryFilters, cN as HistoryItem, cO as HistoryItemKind, cP as IdentifyItem, cQ as IdentifyParams, cR as IdentityCalibration, cS as Include, cT as Inference, cU as InferenceCorrection, cV as InferencePage, cW as IngestStatus, cX as InterestState, cY as InterleavingReport, cZ as InterleavingRow, c_ as InterleavingTotal, c$ as InternalText, d0 as ItemError, d1 as ItemVersion, d2 as KeyIdentity, d3 as LeaseDeclared, d4 as LeaseDetail, d5 as LegalHold, d6 as LegalHoldCreate, d7 as LegalHoldRelease, d8 as Link, d9 as LinkMethod, da as LinkRequest, db as LiveTurn, dc as Lock, dd as MAX_BATCH_ITEMS, de as MAX_EVENT_TEXT, df as MAX_MEDIA_BYTES, dg as MediaUpload, dh as MediaUploadRequest, di as MediaUploadResponse, dj as MemorySeen, dk as NOT_FOUND, dl as Natures, dm as Negation, dn as NiadraAPIError, dp as NiadraAbortError, dq as NiadraAuthenticationError, dr as NiadraConfigError, ds as NiadraConnectionError, dt as NiadraContactTokenError, du as NiadraPermissionError, dv as NiadraRateLimitError, dw as NiadraReplayRefusedError, dx as NiadraTimeoutError, dy as NiadraValidationError, dz as Notification, dA as NotificationPage, dB as ObjectCoverage, dC as ObjectPush, dD as ObjectPushRequest, dE as ObjectPushResponse, dF as ObjectRead, dG as ObjectSnapshotResponse, dH as ObjectTimeline, dI as ObjectTimelineParams, dJ as Observation, dK as OpenItemOut, dL as OpenItemRequest, dM as OpenObject, dN as OpenParams, dO as OpenedItem, dP as Origin, dQ as OutcomeLink, dR as OutcomePage, dS as OutcomeRequest, dT as OutcomeState, dU as Owner, dV as OwnershipClaim, dW as OwnershipCount, dX as PERSONAL_DATA_TOOL_ERROR, dY as PackGuard, dZ as PackLayer, d_ as PackSection, d$ as PackSlot, e0 as PackSlotDerived, e1 as PackStamp, e2 as PowerRequest, e3 as PowerResult, e4 as Preference, e5 as PrefetchParams, e6 as PrefetchRequest, e7 as Presented, e8 as PresentedItem, e9 as PreviousValue, ea as Problem, eb as ProfileMatch, ec as ProfileMemory, ed as PromiseRef, ee as PromoteRequest, ef as PromoteResponse, eg as ProposalStatus, eh as Provenance, ei as QueueOptions, ej as ReadingResult, ek as ReconcileRequest, el as ReconcileResult, em as ReconciledLine, en as RecordedToolOptions, eo as Recurrence, ep as Refetch, eq as RefreshRelease, er as RefreshReleased, es as RefreshRequest, et as RefreshRequestPage, eu as Refusal, ev as ReleaseDetail, ew as RememberParams, ex as RememberResult, ey as Rendered, ez as ReplayAssertion, eA as ReplayBlocker, eB as ReplayCase, eC as ReplayCaseRequest, eD as ReplayHistoryEntry, eE as ReplayResult, eF as RequestOptions, eG as Resolved, eH as Resolver, eI as Result, eJ as ResultObjects, eK as ReviewRequest, eL as ReviewRequestCreate, eM as ReviewRequestPage, eN as ReviewResolution, eO as Scenario, eP as ScenarioCreate, eQ as ScenarioFromReport, eR as ScenarioPage, eS as ScenarioRun, eT as ScenarioRunCreate, eU as ScenarioRunSummary, eV as ScenarioUpdate, eW as ScenarioVerdict, eX as SdkProfile, eY as SearchRequest, eZ as SearchResponse, e_ as Seen, e$ as SeenTokens, f0 as ShadowRequest, f1 as ShadowRun, f2 as Shown, f3 as ShownValue, f4 as SlotChannelRank, f5 as SlotWhy, f6 as SoftConstraint, f7 as SourceCoverage, f8 as Speaker, f9 as SpeakerRef, fa as StateMode, fb as StateReadRequest, fc as StateReadResponse, fd as StateRef, fe as StateVerifyRequest, ff as StateVerifyResponse, fg as StateView, fh as StateViewRequest, fi as StateWrite, fj as Subject, fk as SubjectToken, fl as SubjectTokenRequest, fm as Suppression, fn as SuppressionAdded, fo as SuppressionAddedDetail, fp as SuppressionLifted, fq as SuppressionLiftedDetail, fr as SuppressionPage, fs as SuppressionSalt, ft as TOOL_DEFINITIONS, fu as TOOL_NAMES, fv as TargetModel, fw as Task, fx as TaskAction, fy as TaskEndedItem, fz as TaskEvent, fA as TaskLockDeclared, fB as TaskLockDetail, fC as TaskParams, fD as TimeWindow, fE as TimelineRequest, fF as TimelineResponse, fG as Timeouts, fH as TimerState, fI as Timestamp, fJ as Timings, fK as ToolBinding, fL as ToolCapabilities, fM as ToolDefinition, fN as ToolOptions, fO as TrackEvent, fP as TraitOut, fQ as TurnAgent, fR as TurnBlob, fS as TurnBuild, fT as TurnCall, fU as TurnCompilerPins, fV as TurnConstraints, fW as TurnCoordination, fX as TurnCost, fY as TurnEffect, fZ as TurnFlag, f_ as TurnFrame, f$ as TurnIndexEntry, g0 as TurnIndexPage, g1 as TurnKind, g2 as TurnObservation, g3 as TurnOptions, g4 as TurnOutput, g5 as TurnParams, g6 as TurnProvenance, g7 as TurnRead, g8 as TurnRecord, g9 as TurnRecorder, ga as TurnRecordingOptions, gb as TurnRecordingSummary, gc as TurnSearchRequest, gd as TurnSearchResponse, ge as TurnSummary, gf as TurnTokens, gg as TurnView, gh as TurnsRequest, gi as TurnsResponse, gj as TypeCoverage, gk as TypeFingerprintRequest, gl as TypeFingerprintResponse, gm as UnbackedValue, gn as UnmetDemand, go as UnmetDemandPage, gp as Unwatch, gq as UploadParams, gr as ValueEvidence, gs as ValueKind, gt as ValueState, gu as Verdict, gv as Verification, gw as VerificationResult, gx as VerifyCheck, gy as VerifyItem, gz as VerifyMethod, gA as VerifyParams, gB as View, gC as Visibility, gD as VoiceInfo, gE as VoiceOptions, gF as Watch, gG as WhereExpression, gH as WorkingState, gI as WriteResult, gJ as checkBacking, gK as consoleLogger, gL as currentCall, gM as currentTurn, gN as guardStream, gO as guardText, gP as recipientHash, gQ as renderLive, gR as renderSuffix, gS as silentLogger, gT as tool, gU as verifyContactToken, gV as violatesGuard } from './client-7mkrdRI0.cjs';
|
|
1
|
+
import { C as ConstraintsBlock, H as HardConstraint, N as NiadraError, a as ClaimRecord, b as ClaimCategory, I as InternalText, s as shingles, c as Niadra, R as Resolvers, d as ContextResponse, M as Mode, T as TurnPins, e as ContextResult, f as ModelUsage, L as Logger, S as SubjectKind, g as Handle, O as ObjectRef } from './client-CG257pe3.cjs';
|
|
2
|
+
export { A as AGENT_MEMORY_TOOL_DEFINITIONS, h as AGENT_MEMORY_TOOL_NAMES, i as ActionEvent, j as ActionInfo, k as Actions, l as Admin, m as AgentMemoryBlock, n as AgentMemoryParams, o as AgentMemoryResult, p as AgentMemorySearchRequest, q as AgentMemorySearchResponse, r as AgentMemorySource, t as AgentNote, u as AgentNoteKind, v as AgentNoteOrigin, w as AgentNoteProposal, x as AgentNoteStatus, y as AgentNoteVisibility, z as AgentSession, B as AgentState, D as AgentStateConflict, E as AgentStateHandle, F as AgentStateMeta, G as AgentStateMetaPage, J as AgentStateReadRequest, K as AgentStateScope, P as AgentStateWrite, Q as AgentStateWriteResult, U as AgentTurnOptions, V as AnchorEvidence, W as Api, X as ArmComparison, Y as ArmOutcomes, Z as AskedAttribute, _ as AssertionMethod, $ as AssertionOutcome, a0 as AssertionStats, a1 as Attribute, a2 as AttributeEntry, a3 as AttributionReport, a4 as AttributionRow, a5 as AttributionTotal, a6 as Backing, a7 as BackingReport, a8 as BackingSources, a9 as BatchItem, aa as BatchRequest, ab as BatchResponse, ac as BiFile, ad as BiUpload, ae as BiUploadRequest, af as BlobError, ag as BlobStore, ah as BlockSubject, ai as BoundArg, aj as BoundTools, ak as BudgetBlock, al as BudgetCut, am as BudgetPack, an as BudgetUse, ao as CacheDirectives, ap as CacheOptions, aq as CallCapture, ar as CaseClosed, as as CaseOpened, at as Change, au as ChangePage, av as ChangeSinceSeen, aw as ChannelState, ax as CheckBatchRequest, ay as CheckBatchResponse, az as CheckOptions, aA as CheckRequest, aB as CheckResult, aC as ClaimCheck, aD as ClaimCheckOptions, aE as ClaimContractSummary, aF as ClaimEvidence, aG as ClaimEvidenceRef, aH as ClaimKind, aI as ClaimOutputs, aJ as ClaimParams, aK as ClaimRelease, aL as ClaimRequest, aM as ClaimValue, aN as ClaimVerdict, aO as ClaimVia, aP as Claimed, aQ as ClientOptions, aR as ClosedBy, aS as Closes, aT as Commitment, aU as CommitmentDecided, aV as CommitmentDecidedDetail, aW as CommitmentMade, aX as CommitmentMadeDetail, aY as CommitmentRef, aZ as CommitmentWithdrawn, a_ as CommitmentWithdrawnDetail, a$ as CompanyRule, b0 as Conflict, b1 as ConflictCounts, b2 as ConstraintOrigin, b3 as ConstraintsRequest, b4 as ContactBudget, b5 as ContactBudgetUse, b6 as ContactClaims, b7 as ContactCount, b8 as ContactGateway, b9 as ContactKey, ba as ContactKeys, bb as ContactMade, bc as ContactMadeDetail, bd as ContactTokenParams, be as ContactTokenRefusal, bf as Content, bg as ContentMarker, bh as ContentMode, bi as ContentRelease, bj as ContentReleaseResult, bk as ContentResolver, bl as ContextFormat, bm as ContextOptions, bn as ContextPack, bo as ContextParams, bp as ContextRequest, bq as ContextSource, br as ContextStamp, bs as ContextUseBucket, bt as ContextUseDimension, bu as ContextUseEntry, bv as ContextUseParams, bw as ContextUseRate, bx as ContextUseReport, by as Conversation, bz as ConversationAction, bA as ConversationEndedItem, bB as ConversationEvent, bC as ConversationParams, bD as CoordinationBlock, bE as CoordinationOverview, bF as CoordinationReport, bG as CoordinationReportPage, bH as CorrectParams, bI as CorrectionAction, bJ as CorrectionRequest, bK as CounterfactualCase, bL as CounterfactualEngaged, bM as CounterfactualEngagement, bN as CounterfactualRunCreate, bO as CounterfactualRunPage, bP as CreateAgentNoteRequest, bQ as DEFAULT_CACHE, bR as DEFAULT_QUEUE, bS as DEFAULT_TIMEOUTS, bT as DEFAULT_VOICE, bU as DELETE, bV as DataIssue, bW as DataIssuePage, bX as Declarations, bY as DeclareRequest, bZ as DeclareResult, b_ as DeliveryPath, b$ as DerivedState, c0 as Detect, c1 as DriftChanges, c2 as Effect, c3 as EffectCount, c4 as EffectDeclared, c5 as EffectDetail, c6 as EffectKind, c7 as EffectReserve, c8 as EffectSeen, c9 as EffectSettle, ca as EffectState, cb as EffectStatus, cc as Engaged, cd as EpisodeOut, ce as Erasure, cf as EventItem, cg as EventKind, ch as Evidence, ci as ExperimentReport, cj as ExperimentResult, ck as ExportPackage, cl as FAIL_CLOSED, cm as FactHistory, cn as FactOut, co as Feature, cp as Feedback, cq as FeedbackAction, cr as FeedbackParams, cs as FeedbackRequest, ct as Fetched, cu as FieldCoverage, cv as FieldState, cw as ForgetTarget, cx as GatewayOptions, cy as Guard, cz as GuardLike, cA as GuardOptions, cB as Guarded, cC as HandleType, cD as Handoff, cE as HandoffContext, cF as HandoffCreate, cG as HandoffDeclared, cH as HandoffDetail, cI as HandoffItem, cJ as HandoffOutcome, cK as HandoffPackage, cL as HandoffParams, cM as HeartbeatItem, cN as HistoryFilters, cO as HistoryItem, cP as HistoryItemKind, cQ as IdentifyItem, cR as IdentifyParams, cS as IdentityCalibration, cT as Include, cU as Inference, cV as InferenceCorrection, cW as InferencePage, cX as IngestStatus, cY as InterestState, cZ as InterleavingReport, c_ as InterleavingRow, c$ as InterleavingTotal, d0 as InternalText, d1 as ItemError, d2 as ItemStatus, d3 as ItemVersion, d4 as KeyIdentity, d5 as LeaseDeclared, d6 as LeaseDetail, d7 as LegalHold, d8 as LegalHoldCreate, d9 as LegalHoldRelease, da as Link, db as LinkMethod, dc as LinkRequest, dd as LiveTurn, de as Lock, df as MAX_BATCH_ITEMS, dg as MAX_EVENT_TEXT, dh as MAX_MEDIA_BYTES, di as MediaUpload, dj as MediaUploadRequest, dk as MediaUploadResponse, dl as MemorySeen, dm as NOT_FOUND, dn as Natures, dp as Negation, dq as NiadraAPIError, dr as NiadraAbortError, ds as NiadraAuthenticationError, dt as NiadraConfigError, du as NiadraConnectionError, dv as NiadraContactTokenError, dw as NiadraPermissionError, dx as NiadraRateLimitError, dy as NiadraReplayRefusedError, dz as NiadraTimeoutError, dA as NiadraValidationError, dB as Notification, dC as NotificationPage, dD as ObjectCoverage, dE as ObjectInstruction, dF as ObjectMemoryOut, dG as ObjectPush, dH as ObjectPushRequest, dI as ObjectPushResponse, dJ as ObjectRead, dK as ObjectSnapshotResponse, dL as ObjectTimeline, dM as ObjectTimelineParams, dN as Observation, dO as OpenItemOut, dP as OpenItemRequest, dQ as OpenObject, dR as OpenParams, dS as OpenedItem, dT as Origin, dU as OutcomeLink, dV as OutcomePage, dW as OutcomeRequest, dX as OutcomeState, dY as Owner, dZ as OwnershipClaim, d_ as OwnershipCount, d$ as PERSONAL_DATA_TOOL_ERROR, e0 as PackGuard, e1 as PackLayer, e2 as PackSection, e3 as PackSlot, e4 as PackSlotDerived, e5 as PackStamp, e6 as PowerRequest, e7 as PowerResult, e8 as Preference, e9 as PrefetchParams, ea as PrefetchRequest, eb as Presented, ec as PresentedItem, ed as PreviousValue, ee as Problem, ef as ProfileMatch, eg as ProfileMemory, eh as PromiseRef, ei as PromoteRequest, ej as PromoteResponse, ek as ProposalStatus, el as Provenance, em as QueueOptions, en as ReadingResult, eo as ReconcileRequest, ep as ReconcileResult, eq as ReconciledLine, er as RecordedToolOptions, es as Recurrence, et as Refetch, eu as RefreshRelease, ev as RefreshReleased, ew as RefreshRequest, ex as RefreshRequestPage, ey as Refusal, ez as ReleaseDetail, eA as RememberParams, eB as RememberResult, eC as Rendered, eD as ReplayAssertion, eE as ReplayBlocker, eF as ReplayCase, eG as ReplayCaseRequest, eH as ReplayHistoryEntry, eI as ReplayResult, eJ as RequestOptions, eK as Resolved, eL as Resolver, eM as Result, eN as ResultObjects, eO as ReviewRequest, eP as ReviewRequestCreate, eQ as ReviewRequestPage, eR as ReviewResolution, eS as SaidAbout, eT as Scenario, eU as ScenarioCreate, eV as ScenarioFromReport, eW as ScenarioPage, eX as ScenarioRun, eY as ScenarioRunCreate, eZ as ScenarioRunSummary, e_ as ScenarioUpdate, e$ as ScenarioVerdict, f0 as SdkProfile, f1 as SearchRequest, f2 as SearchResponse, f3 as Seen, f4 as SeenTokens, f5 as ShadowRequest, f6 as ShadowRun, f7 as Shown, f8 as ShownValue, f9 as SlotChannelRank, fa as SlotWhy, fb as SoftConstraint, fc as SourceCoverage, fd as Speaker, fe as SpeakerRef, ff as StateMode, fg as StateReadRequest, fh as StateReadResponse, fi as StateRef, fj as StateVerifyRequest, fk as StateVerifyResponse, fl as StateView, fm as StateViewRequest, fn as StateWrite, fo as Subject, fp as SubjectToken, fq as SubjectTokenRequest, fr as Suppression, fs as SuppressionAdded, ft as SuppressionAddedDetail, fu as SuppressionLifted, fv as SuppressionLiftedDetail, fw as SuppressionPage, fx as SuppressionSalt, fy as TOOL_DEFINITIONS, fz as TOOL_NAMES, fA as TargetModel, fB as Task, fC as TaskAction, fD as TaskEndedItem, fE as TaskEvent, fF as TaskLockDeclared, fG as TaskLockDetail, fH as TaskParams, fI as TimeWindow, fJ as TimelineRequest, fK as TimelineResponse, fL as Timeouts, fM as TimerState, fN as Timestamp, fO as Timings, fP as ToolBinding, fQ as ToolCapabilities, fR as ToolDefinition, fS as ToolOptions, fT as TrackEvent, fU as TraitOut, fV as TurnAgent, fW as TurnBlob, fX as TurnBuild, fY as TurnCall, fZ as TurnCompilerPins, f_ as TurnConstraints, f$ as TurnCoordination, g0 as TurnCost, g1 as TurnEffect, g2 as TurnFlag, g3 as TurnFrame, g4 as TurnIndexEntry, g5 as TurnIndexPage, g6 as TurnKind, g7 as TurnObservation, g8 as TurnOptions, g9 as TurnOutput, ga as TurnParams, gb as TurnProvenance, gc as TurnRead, gd as TurnRecord, ge as TurnRecorder, gf as TurnRecordingOptions, gg as TurnRecordingSummary, gh as TurnSearchRequest, gi as TurnSearchResponse, gj as TurnSummary, gk as TurnTokens, gl as TurnView, gm as TurnsRequest, gn as TurnsResponse, go as TypeCoverage, gp as TypeFingerprintRequest, gq as TypeFingerprintResponse, gr as UnbackedValue, gs as UnmetDemand, gt as UnmetDemandPage, gu as Unwatch, gv as UploadParams, gw as ValueEvidence, gx as ValueKind, gy as ValueState, gz as Verdict, gA as Verification, gB as VerificationResult, gC as VerifyCheck, gD as VerifyItem, gE as VerifyMethod, gF as VerifyParams, gG as View, gH as Visibility, gI as VoiceInfo, gJ as VoiceOptions, gK as Watch, gL as WhereExpression, gM as WorkingState, gN as WriteResult, gO as checkBacking, gP as consoleLogger, gQ as currentCall, gR as currentTurn, gS as guardStream, gT as guardText, gU as recipientHash, gV as renderLive, gW as renderSuffix, gX as silentLogger, gY as tool, gZ as verifyContactToken, g_ as violatesGuard } from './client-CG257pe3.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The constraints block rendered for one tool call (`spec/constraints.md`, sections 6 and 7): what the
|
|
@@ -1201,6 +1201,6 @@ declare function baseURLFromKey(key: ParsedApiKey): string;
|
|
|
1201
1201
|
*/
|
|
1202
1202
|
declare function uuidv7(now?: number): string;
|
|
1203
1203
|
|
|
1204
|
-
declare const VERSION = "0.
|
|
1204
|
+
declare const VERSION = "0.11.0";
|
|
1205
1205
|
|
|
1206
1206
|
export { ClaimCategory, ClaimRecord, type Binding as ConstraintBinding, type BindingArg as ConstraintBindingArg, type Call$1 as ConstraintCall, type Rendering as ConstraintRendering, ConstraintsBlock, type Honored as ConstraintsHonored, ContextResponse, ContextResult, Counterfactual, type Element as CounterfactualElement, type CounterfactualOptions, type CounterfactualRun, type CounterfactualRunOptions, type ExposureTokenRefusal, Handle, HardConstraint, Logger, type Logic, ModelUsage, Niadra, NiadraDestinationError, NiadraError, NiadraExposureTokenError, ObjectRef, type ParsedApiKey, type ReplayAgent, type ReplayInput, Mode as ReplayMode, type RunOptions as ReplayOptions, type ReplayRun, Replayer, ResolverWorker, Resolvers, type SessionSource, SubjectKind, TurnPins, VERSION, type WrapSession, baseURLFromKey, canonicalDestination, canonicalJson, index as claims, exposureToken, expr, handles, honored as honoredConstraints, injectContext, derive$1 as introspect, jsonDigest, modelUsage, overlapAtK, parseApiKey, parseExposureToken, pinDifferences, providerOf, render as renderConstraints, satisfies as satisfiesConstraint, suppressionKey, toObjectRef, tokenCounts, useAsyncLocalStorage, uuidv7, wrap };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ConstraintsBlock, H as HardConstraint, N as NiadraError, a as ClaimRecord, b as ClaimCategory, I as InternalText, s as shingles, c as Niadra, R as Resolvers, d as ContextResponse, M as Mode, T as TurnPins, e as ContextResult, f as ModelUsage, L as Logger, S as SubjectKind, g as Handle, O as ObjectRef } from './client-
|
|
2
|
-
export { A as AGENT_MEMORY_TOOL_DEFINITIONS, h as AGENT_MEMORY_TOOL_NAMES, i as ActionEvent, j as ActionInfo, k as Actions, l as Admin, m as AgentMemoryBlock, n as AgentMemoryParams, o as AgentMemoryResult, p as AgentMemorySearchRequest, q as AgentMemorySearchResponse, r as AgentMemorySource, t as AgentNote, u as AgentNoteKind, v as AgentNoteOrigin, w as AgentNoteProposal, x as AgentNoteStatus, y as AgentNoteVisibility, z as AgentSession, B as AgentState, D as AgentStateConflict, E as AgentStateHandle, F as AgentStateMeta, G as AgentStateMetaPage, J as AgentStateReadRequest, K as AgentStateScope, P as AgentStateWrite, Q as AgentStateWriteResult, U as AgentTurnOptions, V as AnchorEvidence, W as Api, X as ArmComparison, Y as ArmOutcomes, Z as AskedAttribute, _ as AssertionMethod, $ as AssertionOutcome, a0 as AssertionStats, a1 as Attribute, a2 as AttributeEntry, a3 as AttributionReport, a4 as AttributionRow, a5 as AttributionTotal, a6 as Backing, a7 as BackingReport, a8 as BackingSources, a9 as BatchItem, aa as BatchRequest, ab as BatchResponse, ac as BiFile, ad as BiUpload, ae as BiUploadRequest, af as BlobError, ag as BlobStore, ah as BlockSubject, ai as BoundArg, aj as BoundTools, ak as BudgetBlock, al as BudgetCut, am as BudgetPack, an as BudgetUse, ao as CacheDirectives, ap as CacheOptions, aq as CallCapture, ar as CaseClosed, as as CaseOpened, at as Change, au as ChangePage, av as ChangeSinceSeen, aw as ChannelState, ax as CheckBatchRequest, ay as CheckBatchResponse, az as CheckOptions, aA as CheckRequest, aB as CheckResult, aC as ClaimCheck, aD as ClaimCheckOptions, aE as ClaimContractSummary, aF as ClaimEvidence, aG as ClaimEvidenceRef, aH as ClaimKind, aI as ClaimOutputs, aJ as ClaimParams, aK as ClaimRelease, aL as ClaimRequest, aM as ClaimValue, aN as ClaimVerdict, aO as ClaimVia, aP as Claimed, aQ as ClientOptions, aR as Closes, aS as Commitment, aT as CommitmentDecided, aU as CommitmentDecidedDetail, aV as CommitmentMade, aW as CommitmentMadeDetail, aX as CommitmentRef, aY as CommitmentWithdrawn, aZ as CommitmentWithdrawnDetail, a_ as CompanyRule, a$ as Conflict, b0 as ConflictCounts, b1 as ConstraintOrigin, b2 as ConstraintsRequest, b3 as ContactBudget, b4 as ContactBudgetUse, b5 as ContactClaims, b6 as ContactCount, b7 as ContactGateway, b8 as ContactKey, b9 as ContactKeys, ba as ContactMade, bb as ContactMadeDetail, bc as ContactTokenParams, bd as ContactTokenRefusal, be as Content, bf as ContentMarker, bg as ContentMode, bh as ContentRelease, bi as ContentReleaseResult, bj as ContentResolver, bk as ContextFormat, bl as ContextOptions, bm as ContextPack, bn as ContextParams, bo as ContextRequest, bp as ContextSource, bq as ContextStamp, br as ContextUseBucket, bs as ContextUseDimension, bt as ContextUseEntry, bu as ContextUseParams, bv as ContextUseRate, bw as ContextUseReport, bx as Conversation, by as ConversationAction, bz as ConversationEndedItem, bA as ConversationEvent, bB as ConversationParams, bC as CoordinationBlock, bD as CoordinationOverview, bE as CoordinationReport, bF as CoordinationReportPage, bG as CorrectParams, bH as CorrectionAction, bI as CorrectionRequest, bJ as CounterfactualCase, bK as CounterfactualEngaged, bL as CounterfactualEngagement, bM as CounterfactualRunCreate, bN as CounterfactualRunPage, bO as CreateAgentNoteRequest, bP as DEFAULT_CACHE, bQ as DEFAULT_QUEUE, bR as DEFAULT_TIMEOUTS, bS as DEFAULT_VOICE, bT as DELETE, bU as DataIssue, bV as DataIssuePage, bW as Declarations, bX as DeclareRequest, bY as DeclareResult, bZ as DeliveryPath, b_ as DerivedState, b$ as Detect, c0 as DriftChanges, c1 as Effect, c2 as EffectCount, c3 as EffectDeclared, c4 as EffectDetail, c5 as EffectKind, c6 as EffectReserve, c7 as EffectSeen, c8 as EffectSettle, c9 as EffectState, ca as EffectStatus, cb as Engaged, cc as EpisodeOut, cd as Erasure, ce as EventItem, cf as EventKind, cg as Evidence, ch as ExperimentReport, ci as ExperimentResult, cj as ExportPackage, ck as FAIL_CLOSED, cl as FactHistory, cm as FactOut, cn as Feature, co as Feedback, cp as FeedbackAction, cq as FeedbackParams, cr as FeedbackRequest, cs as Fetched, ct as FieldCoverage, cu as FieldState, cv as ForgetTarget, cw as GatewayOptions, cx as Guard, cy as GuardLike, cz as GuardOptions, cA as Guarded, cB as HandleType, cC as Handoff, cD as HandoffContext, cE as HandoffCreate, cF as HandoffDeclared, cG as HandoffDetail, cH as HandoffItem, cI as HandoffOutcome, cJ as HandoffPackage, cK as HandoffParams, cL as HeartbeatItem, cM as HistoryFilters, cN as HistoryItem, cO as HistoryItemKind, cP as IdentifyItem, cQ as IdentifyParams, cR as IdentityCalibration, cS as Include, cT as Inference, cU as InferenceCorrection, cV as InferencePage, cW as IngestStatus, cX as InterestState, cY as InterleavingReport, cZ as InterleavingRow, c_ as InterleavingTotal, c$ as InternalText, d0 as ItemError, d1 as ItemVersion, d2 as KeyIdentity, d3 as LeaseDeclared, d4 as LeaseDetail, d5 as LegalHold, d6 as LegalHoldCreate, d7 as LegalHoldRelease, d8 as Link, d9 as LinkMethod, da as LinkRequest, db as LiveTurn, dc as Lock, dd as MAX_BATCH_ITEMS, de as MAX_EVENT_TEXT, df as MAX_MEDIA_BYTES, dg as MediaUpload, dh as MediaUploadRequest, di as MediaUploadResponse, dj as MemorySeen, dk as NOT_FOUND, dl as Natures, dm as Negation, dn as NiadraAPIError, dp as NiadraAbortError, dq as NiadraAuthenticationError, dr as NiadraConfigError, ds as NiadraConnectionError, dt as NiadraContactTokenError, du as NiadraPermissionError, dv as NiadraRateLimitError, dw as NiadraReplayRefusedError, dx as NiadraTimeoutError, dy as NiadraValidationError, dz as Notification, dA as NotificationPage, dB as ObjectCoverage, dC as ObjectPush, dD as ObjectPushRequest, dE as ObjectPushResponse, dF as ObjectRead, dG as ObjectSnapshotResponse, dH as ObjectTimeline, dI as ObjectTimelineParams, dJ as Observation, dK as OpenItemOut, dL as OpenItemRequest, dM as OpenObject, dN as OpenParams, dO as OpenedItem, dP as Origin, dQ as OutcomeLink, dR as OutcomePage, dS as OutcomeRequest, dT as OutcomeState, dU as Owner, dV as OwnershipClaim, dW as OwnershipCount, dX as PERSONAL_DATA_TOOL_ERROR, dY as PackGuard, dZ as PackLayer, d_ as PackSection, d$ as PackSlot, e0 as PackSlotDerived, e1 as PackStamp, e2 as PowerRequest, e3 as PowerResult, e4 as Preference, e5 as PrefetchParams, e6 as PrefetchRequest, e7 as Presented, e8 as PresentedItem, e9 as PreviousValue, ea as Problem, eb as ProfileMatch, ec as ProfileMemory, ed as PromiseRef, ee as PromoteRequest, ef as PromoteResponse, eg as ProposalStatus, eh as Provenance, ei as QueueOptions, ej as ReadingResult, ek as ReconcileRequest, el as ReconcileResult, em as ReconciledLine, en as RecordedToolOptions, eo as Recurrence, ep as Refetch, eq as RefreshRelease, er as RefreshReleased, es as RefreshRequest, et as RefreshRequestPage, eu as Refusal, ev as ReleaseDetail, ew as RememberParams, ex as RememberResult, ey as Rendered, ez as ReplayAssertion, eA as ReplayBlocker, eB as ReplayCase, eC as ReplayCaseRequest, eD as ReplayHistoryEntry, eE as ReplayResult, eF as RequestOptions, eG as Resolved, eH as Resolver, eI as Result, eJ as ResultObjects, eK as ReviewRequest, eL as ReviewRequestCreate, eM as ReviewRequestPage, eN as ReviewResolution, eO as Scenario, eP as ScenarioCreate, eQ as ScenarioFromReport, eR as ScenarioPage, eS as ScenarioRun, eT as ScenarioRunCreate, eU as ScenarioRunSummary, eV as ScenarioUpdate, eW as ScenarioVerdict, eX as SdkProfile, eY as SearchRequest, eZ as SearchResponse, e_ as Seen, e$ as SeenTokens, f0 as ShadowRequest, f1 as ShadowRun, f2 as Shown, f3 as ShownValue, f4 as SlotChannelRank, f5 as SlotWhy, f6 as SoftConstraint, f7 as SourceCoverage, f8 as Speaker, f9 as SpeakerRef, fa as StateMode, fb as StateReadRequest, fc as StateReadResponse, fd as StateRef, fe as StateVerifyRequest, ff as StateVerifyResponse, fg as StateView, fh as StateViewRequest, fi as StateWrite, fj as Subject, fk as SubjectToken, fl as SubjectTokenRequest, fm as Suppression, fn as SuppressionAdded, fo as SuppressionAddedDetail, fp as SuppressionLifted, fq as SuppressionLiftedDetail, fr as SuppressionPage, fs as SuppressionSalt, ft as TOOL_DEFINITIONS, fu as TOOL_NAMES, fv as TargetModel, fw as Task, fx as TaskAction, fy as TaskEndedItem, fz as TaskEvent, fA as TaskLockDeclared, fB as TaskLockDetail, fC as TaskParams, fD as TimeWindow, fE as TimelineRequest, fF as TimelineResponse, fG as Timeouts, fH as TimerState, fI as Timestamp, fJ as Timings, fK as ToolBinding, fL as ToolCapabilities, fM as ToolDefinition, fN as ToolOptions, fO as TrackEvent, fP as TraitOut, fQ as TurnAgent, fR as TurnBlob, fS as TurnBuild, fT as TurnCall, fU as TurnCompilerPins, fV as TurnConstraints, fW as TurnCoordination, fX as TurnCost, fY as TurnEffect, fZ as TurnFlag, f_ as TurnFrame, f$ as TurnIndexEntry, g0 as TurnIndexPage, g1 as TurnKind, g2 as TurnObservation, g3 as TurnOptions, g4 as TurnOutput, g5 as TurnParams, g6 as TurnProvenance, g7 as TurnRead, g8 as TurnRecord, g9 as TurnRecorder, ga as TurnRecordingOptions, gb as TurnRecordingSummary, gc as TurnSearchRequest, gd as TurnSearchResponse, ge as TurnSummary, gf as TurnTokens, gg as TurnView, gh as TurnsRequest, gi as TurnsResponse, gj as TypeCoverage, gk as TypeFingerprintRequest, gl as TypeFingerprintResponse, gm as UnbackedValue, gn as UnmetDemand, go as UnmetDemandPage, gp as Unwatch, gq as UploadParams, gr as ValueEvidence, gs as ValueKind, gt as ValueState, gu as Verdict, gv as Verification, gw as VerificationResult, gx as VerifyCheck, gy as VerifyItem, gz as VerifyMethod, gA as VerifyParams, gB as View, gC as Visibility, gD as VoiceInfo, gE as VoiceOptions, gF as Watch, gG as WhereExpression, gH as WorkingState, gI as WriteResult, gJ as checkBacking, gK as consoleLogger, gL as currentCall, gM as currentTurn, gN as guardStream, gO as guardText, gP as recipientHash, gQ as renderLive, gR as renderSuffix, gS as silentLogger, gT as tool, gU as verifyContactToken, gV as violatesGuard } from './client-7mkrdRI0.js';
|
|
1
|
+
import { C as ConstraintsBlock, H as HardConstraint, N as NiadraError, a as ClaimRecord, b as ClaimCategory, I as InternalText, s as shingles, c as Niadra, R as Resolvers, d as ContextResponse, M as Mode, T as TurnPins, e as ContextResult, f as ModelUsage, L as Logger, S as SubjectKind, g as Handle, O as ObjectRef } from './client-CG257pe3.js';
|
|
2
|
+
export { A as AGENT_MEMORY_TOOL_DEFINITIONS, h as AGENT_MEMORY_TOOL_NAMES, i as ActionEvent, j as ActionInfo, k as Actions, l as Admin, m as AgentMemoryBlock, n as AgentMemoryParams, o as AgentMemoryResult, p as AgentMemorySearchRequest, q as AgentMemorySearchResponse, r as AgentMemorySource, t as AgentNote, u as AgentNoteKind, v as AgentNoteOrigin, w as AgentNoteProposal, x as AgentNoteStatus, y as AgentNoteVisibility, z as AgentSession, B as AgentState, D as AgentStateConflict, E as AgentStateHandle, F as AgentStateMeta, G as AgentStateMetaPage, J as AgentStateReadRequest, K as AgentStateScope, P as AgentStateWrite, Q as AgentStateWriteResult, U as AgentTurnOptions, V as AnchorEvidence, W as Api, X as ArmComparison, Y as ArmOutcomes, Z as AskedAttribute, _ as AssertionMethod, $ as AssertionOutcome, a0 as AssertionStats, a1 as Attribute, a2 as AttributeEntry, a3 as AttributionReport, a4 as AttributionRow, a5 as AttributionTotal, a6 as Backing, a7 as BackingReport, a8 as BackingSources, a9 as BatchItem, aa as BatchRequest, ab as BatchResponse, ac as BiFile, ad as BiUpload, ae as BiUploadRequest, af as BlobError, ag as BlobStore, ah as BlockSubject, ai as BoundArg, aj as BoundTools, ak as BudgetBlock, al as BudgetCut, am as BudgetPack, an as BudgetUse, ao as CacheDirectives, ap as CacheOptions, aq as CallCapture, ar as CaseClosed, as as CaseOpened, at as Change, au as ChangePage, av as ChangeSinceSeen, aw as ChannelState, ax as CheckBatchRequest, ay as CheckBatchResponse, az as CheckOptions, aA as CheckRequest, aB as CheckResult, aC as ClaimCheck, aD as ClaimCheckOptions, aE as ClaimContractSummary, aF as ClaimEvidence, aG as ClaimEvidenceRef, aH as ClaimKind, aI as ClaimOutputs, aJ as ClaimParams, aK as ClaimRelease, aL as ClaimRequest, aM as ClaimValue, aN as ClaimVerdict, aO as ClaimVia, aP as Claimed, aQ as ClientOptions, aR as ClosedBy, aS as Closes, aT as Commitment, aU as CommitmentDecided, aV as CommitmentDecidedDetail, aW as CommitmentMade, aX as CommitmentMadeDetail, aY as CommitmentRef, aZ as CommitmentWithdrawn, a_ as CommitmentWithdrawnDetail, a$ as CompanyRule, b0 as Conflict, b1 as ConflictCounts, b2 as ConstraintOrigin, b3 as ConstraintsRequest, b4 as ContactBudget, b5 as ContactBudgetUse, b6 as ContactClaims, b7 as ContactCount, b8 as ContactGateway, b9 as ContactKey, ba as ContactKeys, bb as ContactMade, bc as ContactMadeDetail, bd as ContactTokenParams, be as ContactTokenRefusal, bf as Content, bg as ContentMarker, bh as ContentMode, bi as ContentRelease, bj as ContentReleaseResult, bk as ContentResolver, bl as ContextFormat, bm as ContextOptions, bn as ContextPack, bo as ContextParams, bp as ContextRequest, bq as ContextSource, br as ContextStamp, bs as ContextUseBucket, bt as ContextUseDimension, bu as ContextUseEntry, bv as ContextUseParams, bw as ContextUseRate, bx as ContextUseReport, by as Conversation, bz as ConversationAction, bA as ConversationEndedItem, bB as ConversationEvent, bC as ConversationParams, bD as CoordinationBlock, bE as CoordinationOverview, bF as CoordinationReport, bG as CoordinationReportPage, bH as CorrectParams, bI as CorrectionAction, bJ as CorrectionRequest, bK as CounterfactualCase, bL as CounterfactualEngaged, bM as CounterfactualEngagement, bN as CounterfactualRunCreate, bO as CounterfactualRunPage, bP as CreateAgentNoteRequest, bQ as DEFAULT_CACHE, bR as DEFAULT_QUEUE, bS as DEFAULT_TIMEOUTS, bT as DEFAULT_VOICE, bU as DELETE, bV as DataIssue, bW as DataIssuePage, bX as Declarations, bY as DeclareRequest, bZ as DeclareResult, b_ as DeliveryPath, b$ as DerivedState, c0 as Detect, c1 as DriftChanges, c2 as Effect, c3 as EffectCount, c4 as EffectDeclared, c5 as EffectDetail, c6 as EffectKind, c7 as EffectReserve, c8 as EffectSeen, c9 as EffectSettle, ca as EffectState, cb as EffectStatus, cc as Engaged, cd as EpisodeOut, ce as Erasure, cf as EventItem, cg as EventKind, ch as Evidence, ci as ExperimentReport, cj as ExperimentResult, ck as ExportPackage, cl as FAIL_CLOSED, cm as FactHistory, cn as FactOut, co as Feature, cp as Feedback, cq as FeedbackAction, cr as FeedbackParams, cs as FeedbackRequest, ct as Fetched, cu as FieldCoverage, cv as FieldState, cw as ForgetTarget, cx as GatewayOptions, cy as Guard, cz as GuardLike, cA as GuardOptions, cB as Guarded, cC as HandleType, cD as Handoff, cE as HandoffContext, cF as HandoffCreate, cG as HandoffDeclared, cH as HandoffDetail, cI as HandoffItem, cJ as HandoffOutcome, cK as HandoffPackage, cL as HandoffParams, cM as HeartbeatItem, cN as HistoryFilters, cO as HistoryItem, cP as HistoryItemKind, cQ as IdentifyItem, cR as IdentifyParams, cS as IdentityCalibration, cT as Include, cU as Inference, cV as InferenceCorrection, cW as InferencePage, cX as IngestStatus, cY as InterestState, cZ as InterleavingReport, c_ as InterleavingRow, c$ as InterleavingTotal, d0 as InternalText, d1 as ItemError, d2 as ItemStatus, d3 as ItemVersion, d4 as KeyIdentity, d5 as LeaseDeclared, d6 as LeaseDetail, d7 as LegalHold, d8 as LegalHoldCreate, d9 as LegalHoldRelease, da as Link, db as LinkMethod, dc as LinkRequest, dd as LiveTurn, de as Lock, df as MAX_BATCH_ITEMS, dg as MAX_EVENT_TEXT, dh as MAX_MEDIA_BYTES, di as MediaUpload, dj as MediaUploadRequest, dk as MediaUploadResponse, dl as MemorySeen, dm as NOT_FOUND, dn as Natures, dp as Negation, dq as NiadraAPIError, dr as NiadraAbortError, ds as NiadraAuthenticationError, dt as NiadraConfigError, du as NiadraConnectionError, dv as NiadraContactTokenError, dw as NiadraPermissionError, dx as NiadraRateLimitError, dy as NiadraReplayRefusedError, dz as NiadraTimeoutError, dA as NiadraValidationError, dB as Notification, dC as NotificationPage, dD as ObjectCoverage, dE as ObjectInstruction, dF as ObjectMemoryOut, dG as ObjectPush, dH as ObjectPushRequest, dI as ObjectPushResponse, dJ as ObjectRead, dK as ObjectSnapshotResponse, dL as ObjectTimeline, dM as ObjectTimelineParams, dN as Observation, dO as OpenItemOut, dP as OpenItemRequest, dQ as OpenObject, dR as OpenParams, dS as OpenedItem, dT as Origin, dU as OutcomeLink, dV as OutcomePage, dW as OutcomeRequest, dX as OutcomeState, dY as Owner, dZ as OwnershipClaim, d_ as OwnershipCount, d$ as PERSONAL_DATA_TOOL_ERROR, e0 as PackGuard, e1 as PackLayer, e2 as PackSection, e3 as PackSlot, e4 as PackSlotDerived, e5 as PackStamp, e6 as PowerRequest, e7 as PowerResult, e8 as Preference, e9 as PrefetchParams, ea as PrefetchRequest, eb as Presented, ec as PresentedItem, ed as PreviousValue, ee as Problem, ef as ProfileMatch, eg as ProfileMemory, eh as PromiseRef, ei as PromoteRequest, ej as PromoteResponse, ek as ProposalStatus, el as Provenance, em as QueueOptions, en as ReadingResult, eo as ReconcileRequest, ep as ReconcileResult, eq as ReconciledLine, er as RecordedToolOptions, es as Recurrence, et as Refetch, eu as RefreshRelease, ev as RefreshReleased, ew as RefreshRequest, ex as RefreshRequestPage, ey as Refusal, ez as ReleaseDetail, eA as RememberParams, eB as RememberResult, eC as Rendered, eD as ReplayAssertion, eE as ReplayBlocker, eF as ReplayCase, eG as ReplayCaseRequest, eH as ReplayHistoryEntry, eI as ReplayResult, eJ as RequestOptions, eK as Resolved, eL as Resolver, eM as Result, eN as ResultObjects, eO as ReviewRequest, eP as ReviewRequestCreate, eQ as ReviewRequestPage, eR as ReviewResolution, eS as SaidAbout, eT as Scenario, eU as ScenarioCreate, eV as ScenarioFromReport, eW as ScenarioPage, eX as ScenarioRun, eY as ScenarioRunCreate, eZ as ScenarioRunSummary, e_ as ScenarioUpdate, e$ as ScenarioVerdict, f0 as SdkProfile, f1 as SearchRequest, f2 as SearchResponse, f3 as Seen, f4 as SeenTokens, f5 as ShadowRequest, f6 as ShadowRun, f7 as Shown, f8 as ShownValue, f9 as SlotChannelRank, fa as SlotWhy, fb as SoftConstraint, fc as SourceCoverage, fd as Speaker, fe as SpeakerRef, ff as StateMode, fg as StateReadRequest, fh as StateReadResponse, fi as StateRef, fj as StateVerifyRequest, fk as StateVerifyResponse, fl as StateView, fm as StateViewRequest, fn as StateWrite, fo as Subject, fp as SubjectToken, fq as SubjectTokenRequest, fr as Suppression, fs as SuppressionAdded, ft as SuppressionAddedDetail, fu as SuppressionLifted, fv as SuppressionLiftedDetail, fw as SuppressionPage, fx as SuppressionSalt, fy as TOOL_DEFINITIONS, fz as TOOL_NAMES, fA as TargetModel, fB as Task, fC as TaskAction, fD as TaskEndedItem, fE as TaskEvent, fF as TaskLockDeclared, fG as TaskLockDetail, fH as TaskParams, fI as TimeWindow, fJ as TimelineRequest, fK as TimelineResponse, fL as Timeouts, fM as TimerState, fN as Timestamp, fO as Timings, fP as ToolBinding, fQ as ToolCapabilities, fR as ToolDefinition, fS as ToolOptions, fT as TrackEvent, fU as TraitOut, fV as TurnAgent, fW as TurnBlob, fX as TurnBuild, fY as TurnCall, fZ as TurnCompilerPins, f_ as TurnConstraints, f$ as TurnCoordination, g0 as TurnCost, g1 as TurnEffect, g2 as TurnFlag, g3 as TurnFrame, g4 as TurnIndexEntry, g5 as TurnIndexPage, g6 as TurnKind, g7 as TurnObservation, g8 as TurnOptions, g9 as TurnOutput, ga as TurnParams, gb as TurnProvenance, gc as TurnRead, gd as TurnRecord, ge as TurnRecorder, gf as TurnRecordingOptions, gg as TurnRecordingSummary, gh as TurnSearchRequest, gi as TurnSearchResponse, gj as TurnSummary, gk as TurnTokens, gl as TurnView, gm as TurnsRequest, gn as TurnsResponse, go as TypeCoverage, gp as TypeFingerprintRequest, gq as TypeFingerprintResponse, gr as UnbackedValue, gs as UnmetDemand, gt as UnmetDemandPage, gu as Unwatch, gv as UploadParams, gw as ValueEvidence, gx as ValueKind, gy as ValueState, gz as Verdict, gA as Verification, gB as VerificationResult, gC as VerifyCheck, gD as VerifyItem, gE as VerifyMethod, gF as VerifyParams, gG as View, gH as Visibility, gI as VoiceInfo, gJ as VoiceOptions, gK as Watch, gL as WhereExpression, gM as WorkingState, gN as WriteResult, gO as checkBacking, gP as consoleLogger, gQ as currentCall, gR as currentTurn, gS as guardStream, gT as guardText, gU as recipientHash, gV as renderLive, gW as renderSuffix, gX as silentLogger, gY as tool, gZ as verifyContactToken, g_ as violatesGuard } from './client-CG257pe3.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The constraints block rendered for one tool call (`spec/constraints.md`, sections 6 and 7): what the
|
|
@@ -1201,6 +1201,6 @@ declare function baseURLFromKey(key: ParsedApiKey): string;
|
|
|
1201
1201
|
*/
|
|
1202
1202
|
declare function uuidv7(now?: number): string;
|
|
1203
1203
|
|
|
1204
|
-
declare const VERSION = "0.
|
|
1204
|
+
declare const VERSION = "0.11.0";
|
|
1205
1205
|
|
|
1206
1206
|
export { ClaimCategory, ClaimRecord, type Binding as ConstraintBinding, type BindingArg as ConstraintBindingArg, type Call$1 as ConstraintCall, type Rendering as ConstraintRendering, ConstraintsBlock, type Honored as ConstraintsHonored, ContextResponse, ContextResult, Counterfactual, type Element as CounterfactualElement, type CounterfactualOptions, type CounterfactualRun, type CounterfactualRunOptions, type ExposureTokenRefusal, Handle, HardConstraint, Logger, type Logic, ModelUsage, Niadra, NiadraDestinationError, NiadraError, NiadraExposureTokenError, ObjectRef, type ParsedApiKey, type ReplayAgent, type ReplayInput, Mode as ReplayMode, type RunOptions as ReplayOptions, type ReplayRun, Replayer, ResolverWorker, Resolvers, type SessionSource, SubjectKind, TurnPins, VERSION, type WrapSession, baseURLFromKey, canonicalDestination, canonicalJson, index as claims, exposureToken, expr, handles, honored as honoredConstraints, injectContext, derive$1 as introspect, jsonDigest, modelUsage, overlapAtK, parseApiKey, parseExposureToken, pinDifferences, providerOf, render as renderConstraints, satisfies as satisfiesConstraint, suppressionKey, toObjectRef, tokenCounts, useAsyncLocalStorage, uuidv7, wrap };
|
package/dist/index.js
CHANGED
|
@@ -127,7 +127,7 @@ function explain(error) {
|
|
|
127
127
|
var segment = (value) => encodeURIComponent(value);
|
|
128
128
|
function correction(profileId, params) {
|
|
129
129
|
const body = { profile_id: profileId, action: params.action };
|
|
130
|
-
if (params.fact_id) body.fact_id = params.fact_id
|
|
130
|
+
if (params.fact_id) body.fact_id = params.fact_id;
|
|
131
131
|
if (params.open_item_id) body.open_item_id = params.open_item_id;
|
|
132
132
|
if (params.value) body.value = params.value;
|
|
133
133
|
if (params.reason) body.reason = params.reason;
|
|
@@ -150,9 +150,9 @@ var Admin = class {
|
|
|
150
150
|
() => this.port.read("GET", `/v1/profiles/${segment(profileId)}/memory`, void 0, options)
|
|
151
151
|
);
|
|
152
152
|
}
|
|
153
|
-
/** Every value a fact's slot held, oldest first, with who replaced whom. Takes
|
|
153
|
+
/** Every value a fact's slot held, oldest first, with who replaced whom. Takes the fact's bare id. */
|
|
154
154
|
factHistory(profileId, factId, options = {}) {
|
|
155
|
-
const fact = segment(factId
|
|
155
|
+
const fact = segment(factId);
|
|
156
156
|
return this.port.send(
|
|
157
157
|
() => this.port.read("GET", `/v1/profiles/${segment(profileId)}/facts/${fact}/history`, void 0, options)
|
|
158
158
|
);
|
|
@@ -523,7 +523,7 @@ function internalRecord(span, ref, act) {
|
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
// src/version.ts
|
|
526
|
-
var VERSION = "0.
|
|
526
|
+
var VERSION = "0.11.0";
|
|
527
527
|
|
|
528
528
|
// src/transport.ts
|
|
529
529
|
var RETRYABLE_WRITE_STATUS = /* @__PURE__ */ new Set([408, 421, 429, 500, 502, 503, 504]);
|
|
@@ -3162,7 +3162,7 @@ function render(block, binding, call, mode = "advisory") {
|
|
|
3162
3162
|
if (mode === "apply") {
|
|
3163
3163
|
const disputed = new Set(conflicts2.map((c) => c.id));
|
|
3164
3164
|
const allowed = /* @__PURE__ */ new Set([
|
|
3165
|
-
...hard.filter((h) => SAID.has(h.source) && (h.scope === "turn" || h.scope === "session") && !disputed.has(h.id)).map((h) => h.id),
|
|
3165
|
+
...hard.filter((h) => SAID.has(h.source) && (h.scope === "turn" || h.scope === "session" || h.scope === "object") && !disputed.has(h.id)).map((h) => h.id),
|
|
3166
3166
|
...attributes.filter((a) => a.source === "stated" || a.source === "correction").map((a) => a.id)
|
|
3167
3167
|
]);
|
|
3168
3168
|
for (const [param, value] of suggested) {
|
|
@@ -7987,7 +7987,7 @@ var TOOL_DEFINITIONS = [
|
|
|
7987
7987
|
"type": "function",
|
|
7988
7988
|
"function": {
|
|
7989
7989
|
"name": "search_customer_history",
|
|
7990
|
-
"description": "Search everything that already happened with this customer: past conversations, promises, agent actions, orders and invoices. Use it when the customer refers to something earlier or asks whether a problem happened before. Do not call it when the answer is already in the context block, including its 'Hist\xF3rico' line, which already counts recurrences. Returns short items with date, channel and outcome, plus a recurrence count. Open a conversation (`episode
|
|
7990
|
+
"description": "Search everything that already happened with this customer: past conversations, promises, agent actions, orders and invoices. Use it when the customer refers to something earlier or asks whether a problem happened before. Do not call it when the answer is already in the context block, including its 'Hist\xF3rico' line, which already counts recurrences. Returns short items with date, channel and outcome, plus a recurrence count. Open a conversation (kind `episode`) or an object (kind `object`) by its id with open_history_item; the other items are complete as listed.",
|
|
7991
7991
|
"parameters": {
|
|
7992
7992
|
"type": "object",
|
|
7993
7993
|
"properties": {
|
|
@@ -8127,13 +8127,13 @@ var TOOL_DEFINITIONS = [
|
|
|
8127
8127
|
"type": "function",
|
|
8128
8128
|
"function": {
|
|
8129
8129
|
"name": "open_history_item",
|
|
8130
|
-
"description": "Open one conversation (`episode
|
|
8130
|
+
"description": "Open one conversation (kind `episode`) or business object (kind `object`) returned by search_customer_history or get_customer_timeline: what was asked, what was promised and by whom, the outcome and what memory came from it. Actions, events, facts and promises are complete as listed and do not open. Use it only after a search or timeline pointed to the item.",
|
|
8131
8131
|
"parameters": {
|
|
8132
8132
|
"type": "object",
|
|
8133
8133
|
"properties": {
|
|
8134
8134
|
"id": {
|
|
8135
8135
|
"type": "string",
|
|
8136
|
-
"description": "The item id
|
|
8136
|
+
"description": "The item's `id`, as listed."
|
|
8137
8137
|
}
|
|
8138
8138
|
},
|
|
8139
8139
|
"required": [
|