@niadra/sdk 0.9.1 → 0.10.4

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.
Files changed (86) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/dist/ai-sdk.d.cts +3 -3
  3. package/dist/ai-sdk.d.ts +3 -3
  4. package/dist/anthropic.d.cts +4 -4
  5. package/dist/anthropic.d.ts +4 -4
  6. package/dist/bedrock.d.cts +4 -4
  7. package/dist/bedrock.d.ts +4 -4
  8. package/dist/cli.js +331 -96
  9. package/dist/cli.js.map +1 -1
  10. package/dist/{client-CWMxmJHs.d.cts → client-7mkrdRI0.d.cts} +192 -7
  11. package/dist/{client-CWMxmJHs.d.ts → client-7mkrdRI0.d.ts} +192 -7
  12. package/dist/cloudflare-agents.d.cts +3 -3
  13. package/dist/cloudflare-agents.d.ts +3 -3
  14. package/dist/elevenlabs.cjs +7 -5
  15. package/dist/elevenlabs.cjs.map +1 -1
  16. package/dist/elevenlabs.d.cts +5 -5
  17. package/dist/elevenlabs.d.ts +5 -5
  18. package/dist/elevenlabs.js +7 -5
  19. package/dist/elevenlabs.js.map +1 -1
  20. package/dist/genkit.d.cts +3 -3
  21. package/dist/genkit.d.ts +3 -3
  22. package/dist/google-adk.cjs +7 -5
  23. package/dist/google-adk.cjs.map +1 -1
  24. package/dist/google-adk.d.cts +3 -3
  25. package/dist/google-adk.d.ts +3 -3
  26. package/dist/google-adk.js +7 -5
  27. package/dist/google-adk.js.map +1 -1
  28. package/dist/google-genai.d.cts +4 -4
  29. package/dist/google-genai.d.ts +4 -4
  30. package/dist/index.cjs +341 -98
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.d.cts +13 -5
  33. package/dist/index.d.ts +13 -5
  34. package/dist/index.js +341 -98
  35. package/dist/index.js.map +1 -1
  36. package/dist/{intercept-CGngQI8B.d.cts → intercept-CGQhwAom.d.cts} +1 -1
  37. package/dist/{intercept-Bv0nLpSw.d.ts → intercept-CT0vglsd.d.ts} +1 -1
  38. package/dist/langchain.cjs.map +1 -1
  39. package/dist/langchain.d.cts +3 -3
  40. package/dist/langchain.d.ts +3 -3
  41. package/dist/langchain.js.map +1 -1
  42. package/dist/livekit.cjs +10 -2
  43. package/dist/livekit.cjs.map +1 -1
  44. package/dist/livekit.d.cts +3 -3
  45. package/dist/livekit.d.ts +3 -3
  46. package/dist/livekit.js +10 -2
  47. package/dist/livekit.js.map +1 -1
  48. package/dist/llamaindex.d.cts +3 -3
  49. package/dist/llamaindex.d.ts +3 -3
  50. package/dist/mastra.d.cts +3 -3
  51. package/dist/mastra.d.ts +3 -3
  52. package/dist/openai-agents.d.cts +3 -3
  53. package/dist/openai-agents.d.ts +3 -3
  54. package/dist/retell.cjs +7 -5
  55. package/dist/retell.cjs.map +1 -1
  56. package/dist/retell.d.cts +5 -5
  57. package/dist/retell.d.ts +5 -5
  58. package/dist/retell.js +7 -5
  59. package/dist/retell.js.map +1 -1
  60. package/dist/{shared-B4Ef2Wpg.d.ts → shared-Bf84jr3Y.d.ts} +1 -1
  61. package/dist/{shared-Cq8mz-7m.d.cts → shared-CxAwOcZI.d.cts} +1 -1
  62. package/dist/strands.d.cts +3 -3
  63. package/dist/strands.d.ts +3 -3
  64. package/dist/twilio.cjs +10 -2
  65. package/dist/twilio.cjs.map +1 -1
  66. package/dist/twilio.d.cts +4 -4
  67. package/dist/twilio.d.ts +4 -4
  68. package/dist/twilio.js +10 -2
  69. package/dist/twilio.js.map +1 -1
  70. package/dist/vapi.cjs +7 -5
  71. package/dist/vapi.cjs.map +1 -1
  72. package/dist/vapi.d.cts +5 -5
  73. package/dist/vapi.d.ts +5 -5
  74. package/dist/vapi.js +7 -5
  75. package/dist/vapi.js.map +1 -1
  76. package/dist/voltagent.d.cts +3 -3
  77. package/dist/voltagent.d.ts +3 -3
  78. package/dist/{webhook-jTx_SegV.d.cts → webhook-DE3HsGkb.d.cts} +1 -1
  79. package/dist/{webhook-z2TjUzjv.d.ts → webhook-QxYgxE6_.d.ts} +1 -1
  80. package/dist/whatsapp.cjs +10 -2
  81. package/dist/whatsapp.cjs.map +1 -1
  82. package/dist/whatsapp.d.cts +2 -2
  83. package/dist/whatsapp.d.ts +2 -2
  84. package/dist/whatsapp.js +10 -2
  85. package/dist/whatsapp.js.map +1 -1
  86. 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-CWMxmJHs.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 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 ContextUseEntry, bs as Conversation, bt as ConversationAction, bu as ConversationEndedItem, bv as ConversationEvent, bw as ConversationParams, bx as CoordinationBlock, by as CoordinationOverview, bz as CoordinationReport, bA as CoordinationReportPage, bB as CorrectParams, bC as CorrectionAction, bD as CorrectionRequest, bE as CounterfactualCase, bF as CounterfactualEngaged, bG as CounterfactualEngagement, bH as CounterfactualRunCreate, bI as CounterfactualRunPage, bJ as CreateAgentNoteRequest, bK as DEFAULT_CACHE, bL as DEFAULT_QUEUE, bM as DEFAULT_TIMEOUTS, bN as DEFAULT_VOICE, bO as DELETE, bP as DataIssue, bQ as DataIssuePage, bR as Declarations, bS as DeclareRequest, bT as DeclareResult, bU as DeliveryPath, bV as DerivedState, bW as Detect, bX as DriftChanges, bY as Effect, bZ as EffectCount, b_ as EffectDeclared, b$ as EffectDetail, c0 as EffectKind, c1 as EffectReserve, c2 as EffectSeen, c3 as EffectSettle, c4 as EffectState, c5 as EffectStatus, c6 as Engaged, c7 as EpisodeOut, c8 as Erasure, c9 as EventItem, ca as EventKind, cb as Evidence, cc as ExperimentReport, cd as ExperimentResult, ce as ExportPackage, cf as FAIL_CLOSED, cg as FactHistory, ch as FactOut, ci as Feature, cj as Feedback, ck as FeedbackAction, cl as FeedbackParams, cm as FeedbackRequest, cn as Fetched, co as FieldCoverage, cp as FieldState, cq as ForgetTarget, cr as GatewayOptions, cs as Guard, ct as GuardLike, cu as GuardOptions, cv as Guarded, cw as HandleType, cx as Handoff, cy as HandoffContext, cz as HandoffCreate, cA as HandoffDeclared, cB as HandoffDetail, cC as HandoffItem, cD as HandoffOutcome, cE as HandoffPackage, cF as HandoffParams, cG as HeartbeatItem, cH as HistoryFilters, cI as HistoryItem, cJ as HistoryItemKind, cK as IdentifyItem, cL as IdentifyParams, cM as IdentityCalibration, cN as Include, cO as Inference, cP as InferenceCorrection, cQ as InferencePage, cR as IngestStatus, cS as InterestState, cT as InterleavingReport, cU as InterleavingRow, cV as InterleavingTotal, cW as InternalText, cX as ItemError, cY as ItemVersion, cZ as KeyIdentity, c_ as LeaseDeclared, c$ as LeaseDetail, d0 as LegalHold, d1 as LegalHoldCreate, d2 as LegalHoldRelease, d3 as LiveTurn, d4 as Lock, d5 as MAX_BATCH_ITEMS, d6 as MAX_EVENT_TEXT, d7 as MAX_MEDIA_BYTES, d8 as MediaUpload, d9 as MediaUploadRequest, da as MediaUploadResponse, db as MemorySeen, dc as NOT_FOUND, dd as Natures, de as Negation, df as NiadraAPIError, dg as NiadraAbortError, dh as NiadraAuthenticationError, di as NiadraConfigError, dj as NiadraConnectionError, dk as NiadraContactTokenError, dl as NiadraPermissionError, dm as NiadraRateLimitError, dn as NiadraReplayRefusedError, dp as NiadraTimeoutError, dq as NiadraValidationError, dr as Notification, ds as NotificationPage, dt as ObjectCoverage, du as ObjectPush, dv as ObjectPushRequest, dw as ObjectPushResponse, dx as ObjectRead, dy as ObjectSnapshotResponse, dz as ObjectTimeline, dA as ObjectTimelineParams, dB as Observation, dC as OpenItemOut, dD as OpenItemRequest, dE as OpenObject, dF as OpenParams, dG as OpenedItem, dH as Origin, dI as OutcomeLink, dJ as OutcomePage, dK as OutcomeRequest, dL as OutcomeState, dM as Owner, dN as OwnershipClaim, dO as OwnershipCount, dP as PERSONAL_DATA_TOOL_ERROR, dQ as PackGuard, dR as PackLayer, dS as PackSection, dT as PackSlot, dU as PackSlotDerived, dV as PackStamp, dW as PowerRequest, dX as PowerResult, dY as Preference, dZ as PrefetchParams, d_ as PrefetchRequest, d$ as Presented, e0 as PresentedItem, e1 as PreviousValue, e2 as Problem, e3 as ProfileMatch, e4 as ProfileMemory, e5 as PromiseRef, e6 as PromoteRequest, e7 as PromoteResponse, e8 as ProposalStatus, e9 as Provenance, ea as QueueOptions, eb as ReadingResult, ec as ReconcileRequest, ed as ReconcileResult, ee as ReconciledLine, ef as RecordedToolOptions, eg as Recurrence, eh as Refetch, ei as RefreshRelease, ej as RefreshReleased, ek as RefreshRequest, el as RefreshRequestPage, em as Refusal, en as ReleaseDetail, eo as RememberParams, ep as RememberResult, eq as Rendered, er as ReplayAssertion, es as ReplayBlocker, et as ReplayCase, eu as ReplayCaseRequest, ev as ReplayHistoryEntry, ew as ReplayResult, ex as RequestOptions, ey as Resolved, ez as Resolver, eA as Result, eB as ResultObjects, eC as ReviewRequest, eD as ReviewRequestCreate, eE as ReviewRequestPage, eF as ReviewResolution, eG as Scenario, eH as ScenarioCreate, eI as ScenarioFromReport, eJ as ScenarioPage, eK as ScenarioRun, eL as ScenarioRunCreate, eM as ScenarioRunSummary, eN as ScenarioUpdate, eO as ScenarioVerdict, eP as SdkProfile, eQ as SearchRequest, eR as SearchResponse, eS as Seen, eT as SeenTokens, eU as ShadowRequest, eV as ShadowRun, eW as Shown, eX as ShownValue, eY as SlotChannelRank, eZ as SlotWhy, e_ as SoftConstraint, e$ as SourceCoverage, f0 as Speaker, f1 as SpeakerRef, f2 as StateMode, f3 as StateReadRequest, f4 as StateReadResponse, f5 as StateRef, f6 as StateVerifyRequest, f7 as StateVerifyResponse, f8 as StateView, f9 as StateViewRequest, fa as StateWrite, fb as Subject, fc as SubjectToken, fd as SubjectTokenRequest, fe as Suppression, ff as SuppressionAdded, fg as SuppressionAddedDetail, fh as SuppressionLifted, fi as SuppressionLiftedDetail, fj as SuppressionPage, fk as SuppressionSalt, fl as TOOL_DEFINITIONS, fm as TOOL_NAMES, fn as TargetModel, fo as Task, fp as TaskAction, fq as TaskEndedItem, fr as TaskEvent, fs as TaskLockDeclared, ft as TaskLockDetail, fu as TaskParams, fv as TimeWindow, fw as TimelineRequest, fx as TimelineResponse, fy as Timeouts, fz as TimerState, fA as Timestamp, fB as Timings, fC as ToolBinding, fD as ToolCapabilities, fE as ToolDefinition, fF as ToolOptions, fG as TrackEvent, fH as TraitOut, fI as TurnAgent, fJ as TurnBlob, fK as TurnBuild, fL as TurnCall, fM as TurnCompilerPins, fN as TurnConstraints, fO as TurnCoordination, fP as TurnCost, fQ as TurnEffect, fR as TurnFlag, fS as TurnFrame, fT as TurnIndexEntry, fU as TurnIndexPage, fV as TurnKind, fW as TurnObservation, fX as TurnOptions, fY as TurnOutput, fZ as TurnParams, f_ as TurnProvenance, f$ as TurnRead, g0 as TurnRecord, g1 as TurnRecorder, g2 as TurnRecordingOptions, g3 as TurnRecordingSummary, g4 as TurnSearchRequest, g5 as TurnSearchResponse, g6 as TurnSummary, g7 as TurnTokens, g8 as TurnView, g9 as TurnsRequest, ga as TurnsResponse, gb as TypeCoverage, gc as TypeFingerprintRequest, gd as TypeFingerprintResponse, ge as UnbackedValue, gf as UnmetDemand, gg as UnmetDemandPage, gh as Unwatch, gi as UploadParams, gj as ValueEvidence, gk as ValueKind, gl as ValueState, gm as Verdict, gn as Verification, go as VerificationResult, gp as VerifyCheck, gq as VerifyItem, gr as VerifyMethod, gs as VerifyParams, gt as View, gu as Visibility, gv as VoiceInfo, gw as VoiceOptions, gx as Watch, gy as WhereExpression, gz as WorkingState, gA as WriteResult, gB as checkBacking, gC as consoleLogger, gD as currentCall, gE as currentTurn, gF as guardStream, gG as guardText, gH as recipientHash, gI as renderLive, gJ as renderSuffix, gK as silentLogger, gL as tool, gM as verifyContactToken, gN as violatesGuard } from './client-CWMxmJHs.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-7mkrdRI0.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 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';
3
3
 
4
4
  /**
5
5
  * The constraints block rendered for one tool call (`spec/constraints.md`, sections 6 and 7): what the
@@ -1148,9 +1148,17 @@ declare const handles: {
1148
1148
  readonly appUserId: (value: string, options?: HandleOptions) => Handle;
1149
1149
  /** The id of a person or organization in a system of record; `system` names that system, such as `crm`. */
1150
1150
  readonly systemId: (value: string, system: string, options?: HandleOptions) => Handle;
1151
- /** An HMAC of a national document number; `country` is its ISO 3166-1 alpha-2 code. */
1151
+ /**
1152
+ * A person's national document, such as a CPF: `govIdHmac("529.982.247-25", "BR")`. Send the number
1153
+ * itself, never a hash of it: the server checks its check digits, then keeps only a keyed hash with your
1154
+ * space's secret and an encrypted copy, and shows it masked. `country` is its ISO 3166-1 alpha-2 code.
1155
+ */
1152
1156
  readonly govIdHmac: (value: string, country: string, options?: HandleOptions) => Handle;
1153
- /** An HMAC of a company registry number. Identifies an organization. */
1157
+ /**
1158
+ * A company's registry number, such as a CNPJ: `orgRegistryHmac("11.222.333/0001-81", "BR")`. As with
1159
+ * `govIdHmac`, send the number itself; the server checks it and keeps only a keyed hash. Identifies an
1160
+ * organization.
1161
+ */
1154
1162
  readonly orgRegistryHmac: (value: string, country: string) => Handle;
1155
1163
  /** An e-mail domain, such as `acme.com`. Identifies an organization. */
1156
1164
  readonly emailDomain: (domain: string) => Handle;
@@ -1193,6 +1201,6 @@ declare function baseURLFromKey(key: ParsedApiKey): string;
1193
1201
  */
1194
1202
  declare function uuidv7(now?: number): string;
1195
1203
 
1196
- declare const VERSION = "0.9.1";
1204
+ declare const VERSION = "0.10.4";
1197
1205
 
1198
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-CWMxmJHs.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 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 ContextUseEntry, bs as Conversation, bt as ConversationAction, bu as ConversationEndedItem, bv as ConversationEvent, bw as ConversationParams, bx as CoordinationBlock, by as CoordinationOverview, bz as CoordinationReport, bA as CoordinationReportPage, bB as CorrectParams, bC as CorrectionAction, bD as CorrectionRequest, bE as CounterfactualCase, bF as CounterfactualEngaged, bG as CounterfactualEngagement, bH as CounterfactualRunCreate, bI as CounterfactualRunPage, bJ as CreateAgentNoteRequest, bK as DEFAULT_CACHE, bL as DEFAULT_QUEUE, bM as DEFAULT_TIMEOUTS, bN as DEFAULT_VOICE, bO as DELETE, bP as DataIssue, bQ as DataIssuePage, bR as Declarations, bS as DeclareRequest, bT as DeclareResult, bU as DeliveryPath, bV as DerivedState, bW as Detect, bX as DriftChanges, bY as Effect, bZ as EffectCount, b_ as EffectDeclared, b$ as EffectDetail, c0 as EffectKind, c1 as EffectReserve, c2 as EffectSeen, c3 as EffectSettle, c4 as EffectState, c5 as EffectStatus, c6 as Engaged, c7 as EpisodeOut, c8 as Erasure, c9 as EventItem, ca as EventKind, cb as Evidence, cc as ExperimentReport, cd as ExperimentResult, ce as ExportPackage, cf as FAIL_CLOSED, cg as FactHistory, ch as FactOut, ci as Feature, cj as Feedback, ck as FeedbackAction, cl as FeedbackParams, cm as FeedbackRequest, cn as Fetched, co as FieldCoverage, cp as FieldState, cq as ForgetTarget, cr as GatewayOptions, cs as Guard, ct as GuardLike, cu as GuardOptions, cv as Guarded, cw as HandleType, cx as Handoff, cy as HandoffContext, cz as HandoffCreate, cA as HandoffDeclared, cB as HandoffDetail, cC as HandoffItem, cD as HandoffOutcome, cE as HandoffPackage, cF as HandoffParams, cG as HeartbeatItem, cH as HistoryFilters, cI as HistoryItem, cJ as HistoryItemKind, cK as IdentifyItem, cL as IdentifyParams, cM as IdentityCalibration, cN as Include, cO as Inference, cP as InferenceCorrection, cQ as InferencePage, cR as IngestStatus, cS as InterestState, cT as InterleavingReport, cU as InterleavingRow, cV as InterleavingTotal, cW as InternalText, cX as ItemError, cY as ItemVersion, cZ as KeyIdentity, c_ as LeaseDeclared, c$ as LeaseDetail, d0 as LegalHold, d1 as LegalHoldCreate, d2 as LegalHoldRelease, d3 as LiveTurn, d4 as Lock, d5 as MAX_BATCH_ITEMS, d6 as MAX_EVENT_TEXT, d7 as MAX_MEDIA_BYTES, d8 as MediaUpload, d9 as MediaUploadRequest, da as MediaUploadResponse, db as MemorySeen, dc as NOT_FOUND, dd as Natures, de as Negation, df as NiadraAPIError, dg as NiadraAbortError, dh as NiadraAuthenticationError, di as NiadraConfigError, dj as NiadraConnectionError, dk as NiadraContactTokenError, dl as NiadraPermissionError, dm as NiadraRateLimitError, dn as NiadraReplayRefusedError, dp as NiadraTimeoutError, dq as NiadraValidationError, dr as Notification, ds as NotificationPage, dt as ObjectCoverage, du as ObjectPush, dv as ObjectPushRequest, dw as ObjectPushResponse, dx as ObjectRead, dy as ObjectSnapshotResponse, dz as ObjectTimeline, dA as ObjectTimelineParams, dB as Observation, dC as OpenItemOut, dD as OpenItemRequest, dE as OpenObject, dF as OpenParams, dG as OpenedItem, dH as Origin, dI as OutcomeLink, dJ as OutcomePage, dK as OutcomeRequest, dL as OutcomeState, dM as Owner, dN as OwnershipClaim, dO as OwnershipCount, dP as PERSONAL_DATA_TOOL_ERROR, dQ as PackGuard, dR as PackLayer, dS as PackSection, dT as PackSlot, dU as PackSlotDerived, dV as PackStamp, dW as PowerRequest, dX as PowerResult, dY as Preference, dZ as PrefetchParams, d_ as PrefetchRequest, d$ as Presented, e0 as PresentedItem, e1 as PreviousValue, e2 as Problem, e3 as ProfileMatch, e4 as ProfileMemory, e5 as PromiseRef, e6 as PromoteRequest, e7 as PromoteResponse, e8 as ProposalStatus, e9 as Provenance, ea as QueueOptions, eb as ReadingResult, ec as ReconcileRequest, ed as ReconcileResult, ee as ReconciledLine, ef as RecordedToolOptions, eg as Recurrence, eh as Refetch, ei as RefreshRelease, ej as RefreshReleased, ek as RefreshRequest, el as RefreshRequestPage, em as Refusal, en as ReleaseDetail, eo as RememberParams, ep as RememberResult, eq as Rendered, er as ReplayAssertion, es as ReplayBlocker, et as ReplayCase, eu as ReplayCaseRequest, ev as ReplayHistoryEntry, ew as ReplayResult, ex as RequestOptions, ey as Resolved, ez as Resolver, eA as Result, eB as ResultObjects, eC as ReviewRequest, eD as ReviewRequestCreate, eE as ReviewRequestPage, eF as ReviewResolution, eG as Scenario, eH as ScenarioCreate, eI as ScenarioFromReport, eJ as ScenarioPage, eK as ScenarioRun, eL as ScenarioRunCreate, eM as ScenarioRunSummary, eN as ScenarioUpdate, eO as ScenarioVerdict, eP as SdkProfile, eQ as SearchRequest, eR as SearchResponse, eS as Seen, eT as SeenTokens, eU as ShadowRequest, eV as ShadowRun, eW as Shown, eX as ShownValue, eY as SlotChannelRank, eZ as SlotWhy, e_ as SoftConstraint, e$ as SourceCoverage, f0 as Speaker, f1 as SpeakerRef, f2 as StateMode, f3 as StateReadRequest, f4 as StateReadResponse, f5 as StateRef, f6 as StateVerifyRequest, f7 as StateVerifyResponse, f8 as StateView, f9 as StateViewRequest, fa as StateWrite, fb as Subject, fc as SubjectToken, fd as SubjectTokenRequest, fe as Suppression, ff as SuppressionAdded, fg as SuppressionAddedDetail, fh as SuppressionLifted, fi as SuppressionLiftedDetail, fj as SuppressionPage, fk as SuppressionSalt, fl as TOOL_DEFINITIONS, fm as TOOL_NAMES, fn as TargetModel, fo as Task, fp as TaskAction, fq as TaskEndedItem, fr as TaskEvent, fs as TaskLockDeclared, ft as TaskLockDetail, fu as TaskParams, fv as TimeWindow, fw as TimelineRequest, fx as TimelineResponse, fy as Timeouts, fz as TimerState, fA as Timestamp, fB as Timings, fC as ToolBinding, fD as ToolCapabilities, fE as ToolDefinition, fF as ToolOptions, fG as TrackEvent, fH as TraitOut, fI as TurnAgent, fJ as TurnBlob, fK as TurnBuild, fL as TurnCall, fM as TurnCompilerPins, fN as TurnConstraints, fO as TurnCoordination, fP as TurnCost, fQ as TurnEffect, fR as TurnFlag, fS as TurnFrame, fT as TurnIndexEntry, fU as TurnIndexPage, fV as TurnKind, fW as TurnObservation, fX as TurnOptions, fY as TurnOutput, fZ as TurnParams, f_ as TurnProvenance, f$ as TurnRead, g0 as TurnRecord, g1 as TurnRecorder, g2 as TurnRecordingOptions, g3 as TurnRecordingSummary, g4 as TurnSearchRequest, g5 as TurnSearchResponse, g6 as TurnSummary, g7 as TurnTokens, g8 as TurnView, g9 as TurnsRequest, ga as TurnsResponse, gb as TypeCoverage, gc as TypeFingerprintRequest, gd as TypeFingerprintResponse, ge as UnbackedValue, gf as UnmetDemand, gg as UnmetDemandPage, gh as Unwatch, gi as UploadParams, gj as ValueEvidence, gk as ValueKind, gl as ValueState, gm as Verdict, gn as Verification, go as VerificationResult, gp as VerifyCheck, gq as VerifyItem, gr as VerifyMethod, gs as VerifyParams, gt as View, gu as Visibility, gv as VoiceInfo, gw as VoiceOptions, gx as Watch, gy as WhereExpression, gz as WorkingState, gA as WriteResult, gB as checkBacking, gC as consoleLogger, gD as currentCall, gE as currentTurn, gF as guardStream, gG as guardText, gH as recipientHash, gI as renderLive, gJ as renderSuffix, gK as silentLogger, gL as tool, gM as verifyContactToken, gN as violatesGuard } from './client-CWMxmJHs.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-7mkrdRI0.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 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';
3
3
 
4
4
  /**
5
5
  * The constraints block rendered for one tool call (`spec/constraints.md`, sections 6 and 7): what the
@@ -1148,9 +1148,17 @@ declare const handles: {
1148
1148
  readonly appUserId: (value: string, options?: HandleOptions) => Handle;
1149
1149
  /** The id of a person or organization in a system of record; `system` names that system, such as `crm`. */
1150
1150
  readonly systemId: (value: string, system: string, options?: HandleOptions) => Handle;
1151
- /** An HMAC of a national document number; `country` is its ISO 3166-1 alpha-2 code. */
1151
+ /**
1152
+ * A person's national document, such as a CPF: `govIdHmac("529.982.247-25", "BR")`. Send the number
1153
+ * itself, never a hash of it: the server checks its check digits, then keeps only a keyed hash with your
1154
+ * space's secret and an encrypted copy, and shows it masked. `country` is its ISO 3166-1 alpha-2 code.
1155
+ */
1152
1156
  readonly govIdHmac: (value: string, country: string, options?: HandleOptions) => Handle;
1153
- /** An HMAC of a company registry number. Identifies an organization. */
1157
+ /**
1158
+ * A company's registry number, such as a CNPJ: `orgRegistryHmac("11.222.333/0001-81", "BR")`. As with
1159
+ * `govIdHmac`, send the number itself; the server checks it and keeps only a keyed hash. Identifies an
1160
+ * organization.
1161
+ */
1154
1162
  readonly orgRegistryHmac: (value: string, country: string) => Handle;
1155
1163
  /** An e-mail domain, such as `acme.com`. Identifies an organization. */
1156
1164
  readonly emailDomain: (domain: string) => Handle;
@@ -1193,6 +1201,6 @@ declare function baseURLFromKey(key: ParsedApiKey): string;
1193
1201
  */
1194
1202
  declare function uuidv7(now?: number): string;
1195
1203
 
1196
- declare const VERSION = "0.9.1";
1204
+ declare const VERSION = "0.10.4";
1197
1205
 
1198
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 };