@atbash/sdk 0.10.13-dev.0 → 0.12.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -689,6 +689,12 @@ interface AtbashUserConfig {
689
689
  agentKey?: string;
690
690
  orgName?: string;
691
691
  judgeEndpoint?: string;
692
+ /**
693
+ * Response-signing pubkey of a self-hosted judge (66 hex). Setting it makes
694
+ * `fromConfig` use the self-hosted policy for `judgeEndpoint`, which is the
695
+ * only way a non-allowlisted judge host is accepted.
696
+ */
697
+ judgeVerifyPubKey?: string;
692
698
  blockchainRid?: string;
693
699
  provider?: string;
694
700
  providerModel?: string;
@@ -791,15 +797,26 @@ declare function scanMemoryBatch(entries: MemoryEntry[], auth: AgentAuth, opts?:
791
797
  interface CommitMemoryOptions {
792
798
  /** Score in [1, 10]. Defaults to 5 (matches the Rell entity default). */
793
799
  score?: number;
800
+ /**
801
+ * Which memory file this commit targets. Defaults to `""` — the
802
+ * un-pathed slot, matching Rell's `file_path: text = ""` default.
803
+ * Pass an explicit filename (e.g. `"AGENTS.md"`) to keep files
804
+ * versioned independently on chain.
805
+ */
806
+ filePath?: string;
794
807
  /** Org name — when set, the SDK resolves which chain the agent lives on. */
795
808
  orgName?: string;
796
809
  /** Atbash service endpoint for org→chain lookup. */
797
810
  endpoint?: string;
811
+ /** Self-hosted judge response-signing pubkey; required with a non-allowlisted `endpoint`. */
812
+ verifyPubKey?: string;
798
813
  chainOpts?: ChainOpts;
799
814
  }
800
815
  interface RollbackMemoryOptions {
801
816
  orgName?: string;
802
817
  endpoint?: string;
818
+ /** Self-hosted judge response-signing pubkey; required with a non-allowlisted `endpoint`. */
819
+ verifyPubKey?: string;
803
820
  chainOpts?: ChainOpts;
804
821
  }
805
822
  /**
@@ -821,6 +838,7 @@ declare function commitMemoryVersion(plaintext: string, auth: AgentAuth, opts?:
821
838
  */
822
839
  interface AgentMemoryEntry {
823
840
  id: number;
841
+ filePath: string;
824
842
  content: string;
825
843
  decryptError?: string;
826
844
  score: number;
@@ -832,6 +850,7 @@ interface AgentMemoryEntry {
832
850
  interface MemoryRollbackEvent {
833
851
  fromId: number;
834
852
  toId: number;
853
+ filePath: string;
835
854
  reason: string;
836
855
  signer: string;
837
856
  createdAt: number;
@@ -842,36 +861,39 @@ interface MemoryRollbackEvent {
842
861
  * response is a single integer, so this is safe to call on every
843
862
  * memory-read hot path.
844
863
  */
845
- declare function getActiveMemoryId(auth: AgentAuth, chainOpts?: ChainOpts): Promise<number | null>;
864
+ declare function getActiveMemoryId(auth: AgentAuth, chainOpts?: ChainOpts, filePath?: string | null): Promise<number | null>;
846
865
  /**
847
866
  * Recent active memory entries — subset of active versions filtered
848
867
  * by the chain's `MEMORY_RECENT_WINDOW_MS`. For a time-unbounded view
849
- * of every currently active version, use `getAllAgentMemory`.
868
+ * of every currently active version, use `getActiveAgentMemory`.
850
869
  */
851
- declare function getActiveMemory(auth: AgentAuth, chainOpts?: ChainOpts): Promise<AgentMemoryEntry[]>;
870
+ declare function getRecentAgentMemory(auth: AgentAuth, chainOpts?: ChainOpts, filePath?: string | null): Promise<AgentMemoryEntry[]>;
852
871
  /**
853
872
  * All currently-active memory entries with no time cutoff. Use this
854
873
  * when you need every active version regardless of age.
855
874
  */
856
- declare function getAllAgentMemory(auth: AgentAuth, chainOpts?: ChainOpts): Promise<AgentMemoryEntry[]>;
875
+ declare function getActiveAgentMemory(auth: AgentAuth, chainOpts?: ChainOpts, filePath?: string | null): Promise<AgentMemoryEntry[]>;
857
876
  /**
858
877
  * Full version history — active + inactive, most recent first. Used
859
878
  * by rollback UX to choose a target version.
860
879
  */
861
- declare function getMemoryHistory(auth: AgentAuth, chainOpts?: ChainOpts): Promise<AgentMemoryEntry[]>;
880
+ declare function getMemoryHistory(auth: AgentAuth, chainOpts?: ChainOpts, filePath?: string | null): Promise<AgentMemoryEntry[]>;
862
881
  /**
863
882
  * Fetch a single memory entry by version id, including its current
864
- * `is_active` state.
883
+ * `is_active` state. Version ids are agent-unique on chain (not
884
+ * per-file), so `id` alone resolves the target row.
865
885
  */
866
886
  declare function getMemoryById(id: number, auth: AgentAuth, chainOpts?: ChainOpts): Promise<AgentMemoryEntry>;
867
887
  /**
868
888
  * Audit trail of rollback events for this agent, most recent first.
889
+ * Scope by file with `filePath`; omit for a cross-file view.
869
890
  */
870
- declare function getRollbackHistory(auth: AgentAuth, chainOpts?: ChainOpts): Promise<MemoryRollbackEvent[]>;
891
+ declare function getRollbackHistory(auth: AgentAuth, chainOpts?: ChainOpts, filePath?: string | null): Promise<MemoryRollbackEvent[]>;
871
892
  /**
872
893
  * Roll back to a previously-committed memory version. The target
873
- * `toId` must exist and be currently inactive. `reason` is required
874
- * and is recorded on-chain in `memory_rollback_log`.
894
+ * `toId` must exist and be currently inactive. The chain resolves the
895
+ * target row's `file_path` from `toId` — no file path is passed in.
896
+ * `reason` is required and is recorded on-chain in `memory_rollback_log`.
875
897
  */
876
898
  declare function rollbackMemory(toId: number, reason: string, auth: AgentAuth, opts?: RollbackMemoryOptions): Promise<void>;
877
899
 
@@ -956,8 +978,6 @@ interface GuardMemoryWriteInput extends ClassifyMemoryWriteOptions {
956
978
  debug?: boolean;
957
979
  /** Optional logger for debug probe + persist-failure warnings. */
958
980
  logger?: GuardLogger;
959
- /** Absolute path of the agent's managed memory file. Required for chain commits — omitted skips them. */
960
- memoryFilePath?: string;
961
981
  }
962
982
  /** Plugin-facing decision. Shape mirrors what plugins return from `before_tool_call`. */
963
983
  interface GuardMemoryDecision {
@@ -1378,4 +1398,4 @@ declare function containsSecret(text: string): boolean;
1378
1398
  declare function createMemorySnapshot(entries: MemoryEntry[], takenAt: number): MemorySnapshot;
1379
1399
  declare function diffMemorySnapshots(before: MemorySnapshot, after: MemorySnapshot): MemoryDiffResult;
1380
1400
 
1381
- export { type ActionType, type AgentAuth, type AgentLookupOptions, type AgentMemoryEntry, type AgentPolicy, type AnomalySeverity, type AnomalyType, Atbash, AtbashAPIError, type AtbashLogger, type AtbashOptions, type AtbashUserConfig, BOOT_SYNC_HINT, type ChainOpts, type ClassifierToolContext, type ClassifierToolEvent, type ClassifyMemoryReadOptions, type ClassifyMemoryWriteOptions, type ClientSource, type CommitMemoryOptions, DEFAULT_BLOCKCHAIN_RID, DEFAULT_CHROMIA_NODE_URLS, DEFAULT_ENDPOINT, DEFAULT_MEMORY_PATH_PATTERNS, DEFAULT_MEMORY_READ_TOOL_NAMES, DEFAULT_MEMORY_WRITE_TOOL_NAMES, type Decision, type DecisionVerdict, EciesDomain, type EncryptedMemory, type Envelope, type FromConfigOptions, type GuardLogger, type GuardMemoryDecision, type GuardMemoryWriteInput, type GuardMemoryWriteResult, type HeldAction, type HeldActionReview, type HookDecision, HttpClient, HttpTransportError, type JudgeEndpointConfig, type JudgeOptions, type JudgeResult, type JudgmentState, type JudgmentStatus, KEY_FILENAMES, type KeyPair, type LogToolCallOptions, type LogToolCallResult, type MemoryAnomaly, type MemoryDiffResult, type MemoryEntry, MemoryGuardManager, type MemoryGuardManagerOptions, MemoryIntegrityError, type MemoryPointer, type MemoryRollbackEvent, type MemoryScanOptions, type MemoryScanResult, type MemoryScanVerdict, type MemorySnapshot, type ModifiedEntry, type Network, type OrgSubscription, PointerStore, type Provider, type PubkeyValue, type RedactResult, type RollbackMemoryOptions, type SecretKind, type SecretMatch, SignatureVerificationError, type Subscription, type SyncMemoryOptions, type SyncMemoryResult, type TelemetryConfig, type TierInfo, type ToolCallFull, type ToolCallInput, type ToolCallRecord, type ValidatedEndpoint, type Verdict, type WrappedLogger, bootSyncFailureLine, buildAllowedJudgeHosts, chooseKeyPath, claimHashHex, classifyMemoryRead, classifyMemoryWrite, columnAad, commitMemoryVersion, containsEvasionCharacters, containsSecret, createFileLogger, createMemoryGuardManager, createMemorySnapshot, decryptForOrg, decryptMemoryContent, defaultPluginLogPath, defaultPointerPath, deriveMemoryKey, derivePublicKey, diffMemorySnapshots, encryptForOrg, encryptMemoryContent, encryptedLength, flushTelemetry, generateKeypair, getActiveMemory, getActiveMemoryId, getAllAgentMemory, getConfigDir, getConfigPath, getMemoryById, getMemoryHistory, getRollbackHistory, guardMemoryWrite, isEnvelope, isValidPrivateKey, keyFingerprintOf, keyPathCandidates, loadAgent, loadAgentFromFile, loadUserConfig, normalizeActionForHash, normalizeForMatching, normalizeStatus, normalizeVerdict, packEnvelope, parseEnvelope, pubkeyToHex, recordCall, recordDuration, redactJsonStrings, redactSecrets, resolve, resolveKeyPath, rollbackMemory, saveUserConfig, scanMemory, scanMemoryBatch, setupTelemetry, shutdownTelemetry, signEncryptedToolCall, signJudgeAction, signLogToolCall, syncLocalMemory, validateJudgeEndpoint, verifyJudgeResponseSignature, verifySignature };
1401
+ export { type ActionType, type AgentAuth, type AgentLookupOptions, type AgentMemoryEntry, type AgentPolicy, type AnomalySeverity, type AnomalyType, Atbash, AtbashAPIError, type AtbashLogger, type AtbashOptions, type AtbashUserConfig, BOOT_SYNC_HINT, type ChainOpts, type ClassifierToolContext, type ClassifierToolEvent, type ClassifyMemoryReadOptions, type ClassifyMemoryWriteOptions, type ClientSource, type CommitMemoryOptions, DEFAULT_BLOCKCHAIN_RID, DEFAULT_CHROMIA_NODE_URLS, DEFAULT_ENDPOINT, DEFAULT_MEMORY_PATH_PATTERNS, DEFAULT_MEMORY_READ_TOOL_NAMES, DEFAULT_MEMORY_WRITE_TOOL_NAMES, type Decision, type DecisionVerdict, EciesDomain, type EncryptedMemory, type Envelope, type FromConfigOptions, type GuardLogger, type GuardMemoryDecision, type GuardMemoryWriteInput, type GuardMemoryWriteResult, type HeldAction, type HeldActionReview, type HookDecision, HttpClient, HttpTransportError, type JudgeEndpointConfig, type JudgeOptions, type JudgeResult, type JudgmentState, type JudgmentStatus, KEY_FILENAMES, type KeyPair, type LogToolCallOptions, type LogToolCallResult, type MemoryAnomaly, type MemoryDiffResult, type MemoryEntry, MemoryGuardManager, type MemoryGuardManagerOptions, MemoryIntegrityError, type MemoryPointer, type MemoryRollbackEvent, type MemoryScanOptions, type MemoryScanResult, type MemoryScanVerdict, type MemorySnapshot, type ModifiedEntry, type Network, type OrgSubscription, PointerStore, type Provider, type PubkeyValue, type RedactResult, type RollbackMemoryOptions, type SecretKind, type SecretMatch, SignatureVerificationError, type Subscription, type SyncMemoryOptions, type SyncMemoryResult, type TelemetryConfig, type TierInfo, type ToolCallFull, type ToolCallInput, type ToolCallRecord, type ValidatedEndpoint, type Verdict, type WrappedLogger, bootSyncFailureLine, buildAllowedJudgeHosts, chooseKeyPath, claimHashHex, classifyMemoryRead, classifyMemoryWrite, columnAad, commitMemoryVersion, containsEvasionCharacters, containsSecret, createFileLogger, createMemoryGuardManager, createMemorySnapshot, decryptForOrg, decryptMemoryContent, defaultPluginLogPath, defaultPointerPath, deriveMemoryKey, derivePublicKey, diffMemorySnapshots, encryptForOrg, encryptMemoryContent, encryptedLength, flushTelemetry, generateKeypair, getActiveAgentMemory, getActiveMemoryId, getConfigDir, getConfigPath, getMemoryById, getMemoryHistory, getRecentAgentMemory, getRollbackHistory, guardMemoryWrite, isEnvelope, isValidPrivateKey, keyFingerprintOf, keyPathCandidates, loadAgent, loadAgentFromFile, loadUserConfig, normalizeActionForHash, normalizeForMatching, normalizeStatus, normalizeVerdict, packEnvelope, parseEnvelope, pubkeyToHex, recordCall, recordDuration, redactJsonStrings, redactSecrets, resolve, resolveKeyPath, rollbackMemory, saveUserConfig, scanMemory, scanMemoryBatch, setupTelemetry, shutdownTelemetry, signEncryptedToolCall, signJudgeAction, signLogToolCall, syncLocalMemory, validateJudgeEndpoint, verifyJudgeResponseSignature, verifySignature };
package/dist/index.d.ts CHANGED
@@ -689,6 +689,12 @@ interface AtbashUserConfig {
689
689
  agentKey?: string;
690
690
  orgName?: string;
691
691
  judgeEndpoint?: string;
692
+ /**
693
+ * Response-signing pubkey of a self-hosted judge (66 hex). Setting it makes
694
+ * `fromConfig` use the self-hosted policy for `judgeEndpoint`, which is the
695
+ * only way a non-allowlisted judge host is accepted.
696
+ */
697
+ judgeVerifyPubKey?: string;
692
698
  blockchainRid?: string;
693
699
  provider?: string;
694
700
  providerModel?: string;
@@ -791,15 +797,26 @@ declare function scanMemoryBatch(entries: MemoryEntry[], auth: AgentAuth, opts?:
791
797
  interface CommitMemoryOptions {
792
798
  /** Score in [1, 10]. Defaults to 5 (matches the Rell entity default). */
793
799
  score?: number;
800
+ /**
801
+ * Which memory file this commit targets. Defaults to `""` — the
802
+ * un-pathed slot, matching Rell's `file_path: text = ""` default.
803
+ * Pass an explicit filename (e.g. `"AGENTS.md"`) to keep files
804
+ * versioned independently on chain.
805
+ */
806
+ filePath?: string;
794
807
  /** Org name — when set, the SDK resolves which chain the agent lives on. */
795
808
  orgName?: string;
796
809
  /** Atbash service endpoint for org→chain lookup. */
797
810
  endpoint?: string;
811
+ /** Self-hosted judge response-signing pubkey; required with a non-allowlisted `endpoint`. */
812
+ verifyPubKey?: string;
798
813
  chainOpts?: ChainOpts;
799
814
  }
800
815
  interface RollbackMemoryOptions {
801
816
  orgName?: string;
802
817
  endpoint?: string;
818
+ /** Self-hosted judge response-signing pubkey; required with a non-allowlisted `endpoint`. */
819
+ verifyPubKey?: string;
803
820
  chainOpts?: ChainOpts;
804
821
  }
805
822
  /**
@@ -821,6 +838,7 @@ declare function commitMemoryVersion(plaintext: string, auth: AgentAuth, opts?:
821
838
  */
822
839
  interface AgentMemoryEntry {
823
840
  id: number;
841
+ filePath: string;
824
842
  content: string;
825
843
  decryptError?: string;
826
844
  score: number;
@@ -832,6 +850,7 @@ interface AgentMemoryEntry {
832
850
  interface MemoryRollbackEvent {
833
851
  fromId: number;
834
852
  toId: number;
853
+ filePath: string;
835
854
  reason: string;
836
855
  signer: string;
837
856
  createdAt: number;
@@ -842,36 +861,39 @@ interface MemoryRollbackEvent {
842
861
  * response is a single integer, so this is safe to call on every
843
862
  * memory-read hot path.
844
863
  */
845
- declare function getActiveMemoryId(auth: AgentAuth, chainOpts?: ChainOpts): Promise<number | null>;
864
+ declare function getActiveMemoryId(auth: AgentAuth, chainOpts?: ChainOpts, filePath?: string | null): Promise<number | null>;
846
865
  /**
847
866
  * Recent active memory entries — subset of active versions filtered
848
867
  * by the chain's `MEMORY_RECENT_WINDOW_MS`. For a time-unbounded view
849
- * of every currently active version, use `getAllAgentMemory`.
868
+ * of every currently active version, use `getActiveAgentMemory`.
850
869
  */
851
- declare function getActiveMemory(auth: AgentAuth, chainOpts?: ChainOpts): Promise<AgentMemoryEntry[]>;
870
+ declare function getRecentAgentMemory(auth: AgentAuth, chainOpts?: ChainOpts, filePath?: string | null): Promise<AgentMemoryEntry[]>;
852
871
  /**
853
872
  * All currently-active memory entries with no time cutoff. Use this
854
873
  * when you need every active version regardless of age.
855
874
  */
856
- declare function getAllAgentMemory(auth: AgentAuth, chainOpts?: ChainOpts): Promise<AgentMemoryEntry[]>;
875
+ declare function getActiveAgentMemory(auth: AgentAuth, chainOpts?: ChainOpts, filePath?: string | null): Promise<AgentMemoryEntry[]>;
857
876
  /**
858
877
  * Full version history — active + inactive, most recent first. Used
859
878
  * by rollback UX to choose a target version.
860
879
  */
861
- declare function getMemoryHistory(auth: AgentAuth, chainOpts?: ChainOpts): Promise<AgentMemoryEntry[]>;
880
+ declare function getMemoryHistory(auth: AgentAuth, chainOpts?: ChainOpts, filePath?: string | null): Promise<AgentMemoryEntry[]>;
862
881
  /**
863
882
  * Fetch a single memory entry by version id, including its current
864
- * `is_active` state.
883
+ * `is_active` state. Version ids are agent-unique on chain (not
884
+ * per-file), so `id` alone resolves the target row.
865
885
  */
866
886
  declare function getMemoryById(id: number, auth: AgentAuth, chainOpts?: ChainOpts): Promise<AgentMemoryEntry>;
867
887
  /**
868
888
  * Audit trail of rollback events for this agent, most recent first.
889
+ * Scope by file with `filePath`; omit for a cross-file view.
869
890
  */
870
- declare function getRollbackHistory(auth: AgentAuth, chainOpts?: ChainOpts): Promise<MemoryRollbackEvent[]>;
891
+ declare function getRollbackHistory(auth: AgentAuth, chainOpts?: ChainOpts, filePath?: string | null): Promise<MemoryRollbackEvent[]>;
871
892
  /**
872
893
  * Roll back to a previously-committed memory version. The target
873
- * `toId` must exist and be currently inactive. `reason` is required
874
- * and is recorded on-chain in `memory_rollback_log`.
894
+ * `toId` must exist and be currently inactive. The chain resolves the
895
+ * target row's `file_path` from `toId` — no file path is passed in.
896
+ * `reason` is required and is recorded on-chain in `memory_rollback_log`.
875
897
  */
876
898
  declare function rollbackMemory(toId: number, reason: string, auth: AgentAuth, opts?: RollbackMemoryOptions): Promise<void>;
877
899
 
@@ -956,8 +978,6 @@ interface GuardMemoryWriteInput extends ClassifyMemoryWriteOptions {
956
978
  debug?: boolean;
957
979
  /** Optional logger for debug probe + persist-failure warnings. */
958
980
  logger?: GuardLogger;
959
- /** Absolute path of the agent's managed memory file. Required for chain commits — omitted skips them. */
960
- memoryFilePath?: string;
961
981
  }
962
982
  /** Plugin-facing decision. Shape mirrors what plugins return from `before_tool_call`. */
963
983
  interface GuardMemoryDecision {
@@ -1378,4 +1398,4 @@ declare function containsSecret(text: string): boolean;
1378
1398
  declare function createMemorySnapshot(entries: MemoryEntry[], takenAt: number): MemorySnapshot;
1379
1399
  declare function diffMemorySnapshots(before: MemorySnapshot, after: MemorySnapshot): MemoryDiffResult;
1380
1400
 
1381
- export { type ActionType, type AgentAuth, type AgentLookupOptions, type AgentMemoryEntry, type AgentPolicy, type AnomalySeverity, type AnomalyType, Atbash, AtbashAPIError, type AtbashLogger, type AtbashOptions, type AtbashUserConfig, BOOT_SYNC_HINT, type ChainOpts, type ClassifierToolContext, type ClassifierToolEvent, type ClassifyMemoryReadOptions, type ClassifyMemoryWriteOptions, type ClientSource, type CommitMemoryOptions, DEFAULT_BLOCKCHAIN_RID, DEFAULT_CHROMIA_NODE_URLS, DEFAULT_ENDPOINT, DEFAULT_MEMORY_PATH_PATTERNS, DEFAULT_MEMORY_READ_TOOL_NAMES, DEFAULT_MEMORY_WRITE_TOOL_NAMES, type Decision, type DecisionVerdict, EciesDomain, type EncryptedMemory, type Envelope, type FromConfigOptions, type GuardLogger, type GuardMemoryDecision, type GuardMemoryWriteInput, type GuardMemoryWriteResult, type HeldAction, type HeldActionReview, type HookDecision, HttpClient, HttpTransportError, type JudgeEndpointConfig, type JudgeOptions, type JudgeResult, type JudgmentState, type JudgmentStatus, KEY_FILENAMES, type KeyPair, type LogToolCallOptions, type LogToolCallResult, type MemoryAnomaly, type MemoryDiffResult, type MemoryEntry, MemoryGuardManager, type MemoryGuardManagerOptions, MemoryIntegrityError, type MemoryPointer, type MemoryRollbackEvent, type MemoryScanOptions, type MemoryScanResult, type MemoryScanVerdict, type MemorySnapshot, type ModifiedEntry, type Network, type OrgSubscription, PointerStore, type Provider, type PubkeyValue, type RedactResult, type RollbackMemoryOptions, type SecretKind, type SecretMatch, SignatureVerificationError, type Subscription, type SyncMemoryOptions, type SyncMemoryResult, type TelemetryConfig, type TierInfo, type ToolCallFull, type ToolCallInput, type ToolCallRecord, type ValidatedEndpoint, type Verdict, type WrappedLogger, bootSyncFailureLine, buildAllowedJudgeHosts, chooseKeyPath, claimHashHex, classifyMemoryRead, classifyMemoryWrite, columnAad, commitMemoryVersion, containsEvasionCharacters, containsSecret, createFileLogger, createMemoryGuardManager, createMemorySnapshot, decryptForOrg, decryptMemoryContent, defaultPluginLogPath, defaultPointerPath, deriveMemoryKey, derivePublicKey, diffMemorySnapshots, encryptForOrg, encryptMemoryContent, encryptedLength, flushTelemetry, generateKeypair, getActiveMemory, getActiveMemoryId, getAllAgentMemory, getConfigDir, getConfigPath, getMemoryById, getMemoryHistory, getRollbackHistory, guardMemoryWrite, isEnvelope, isValidPrivateKey, keyFingerprintOf, keyPathCandidates, loadAgent, loadAgentFromFile, loadUserConfig, normalizeActionForHash, normalizeForMatching, normalizeStatus, normalizeVerdict, packEnvelope, parseEnvelope, pubkeyToHex, recordCall, recordDuration, redactJsonStrings, redactSecrets, resolve, resolveKeyPath, rollbackMemory, saveUserConfig, scanMemory, scanMemoryBatch, setupTelemetry, shutdownTelemetry, signEncryptedToolCall, signJudgeAction, signLogToolCall, syncLocalMemory, validateJudgeEndpoint, verifyJudgeResponseSignature, verifySignature };
1401
+ export { type ActionType, type AgentAuth, type AgentLookupOptions, type AgentMemoryEntry, type AgentPolicy, type AnomalySeverity, type AnomalyType, Atbash, AtbashAPIError, type AtbashLogger, type AtbashOptions, type AtbashUserConfig, BOOT_SYNC_HINT, type ChainOpts, type ClassifierToolContext, type ClassifierToolEvent, type ClassifyMemoryReadOptions, type ClassifyMemoryWriteOptions, type ClientSource, type CommitMemoryOptions, DEFAULT_BLOCKCHAIN_RID, DEFAULT_CHROMIA_NODE_URLS, DEFAULT_ENDPOINT, DEFAULT_MEMORY_PATH_PATTERNS, DEFAULT_MEMORY_READ_TOOL_NAMES, DEFAULT_MEMORY_WRITE_TOOL_NAMES, type Decision, type DecisionVerdict, EciesDomain, type EncryptedMemory, type Envelope, type FromConfigOptions, type GuardLogger, type GuardMemoryDecision, type GuardMemoryWriteInput, type GuardMemoryWriteResult, type HeldAction, type HeldActionReview, type HookDecision, HttpClient, HttpTransportError, type JudgeEndpointConfig, type JudgeOptions, type JudgeResult, type JudgmentState, type JudgmentStatus, KEY_FILENAMES, type KeyPair, type LogToolCallOptions, type LogToolCallResult, type MemoryAnomaly, type MemoryDiffResult, type MemoryEntry, MemoryGuardManager, type MemoryGuardManagerOptions, MemoryIntegrityError, type MemoryPointer, type MemoryRollbackEvent, type MemoryScanOptions, type MemoryScanResult, type MemoryScanVerdict, type MemorySnapshot, type ModifiedEntry, type Network, type OrgSubscription, PointerStore, type Provider, type PubkeyValue, type RedactResult, type RollbackMemoryOptions, type SecretKind, type SecretMatch, SignatureVerificationError, type Subscription, type SyncMemoryOptions, type SyncMemoryResult, type TelemetryConfig, type TierInfo, type ToolCallFull, type ToolCallInput, type ToolCallRecord, type ValidatedEndpoint, type Verdict, type WrappedLogger, bootSyncFailureLine, buildAllowedJudgeHosts, chooseKeyPath, claimHashHex, classifyMemoryRead, classifyMemoryWrite, columnAad, commitMemoryVersion, containsEvasionCharacters, containsSecret, createFileLogger, createMemoryGuardManager, createMemorySnapshot, decryptForOrg, decryptMemoryContent, defaultPluginLogPath, defaultPointerPath, deriveMemoryKey, derivePublicKey, diffMemorySnapshots, encryptForOrg, encryptMemoryContent, encryptedLength, flushTelemetry, generateKeypair, getActiveAgentMemory, getActiveMemoryId, getConfigDir, getConfigPath, getMemoryById, getMemoryHistory, getRecentAgentMemory, getRollbackHistory, guardMemoryWrite, isEnvelope, isValidPrivateKey, keyFingerprintOf, keyPathCandidates, loadAgent, loadAgentFromFile, loadUserConfig, normalizeActionForHash, normalizeForMatching, normalizeStatus, normalizeVerdict, packEnvelope, parseEnvelope, pubkeyToHex, recordCall, recordDuration, redactJsonStrings, redactSecrets, resolve, resolveKeyPath, rollbackMemory, saveUserConfig, scanMemory, scanMemoryBatch, setupTelemetry, shutdownTelemetry, signEncryptedToolCall, signJudgeAction, signLogToolCall, syncLocalMemory, validateJudgeEndpoint, verifyJudgeResponseSignature, verifySignature };