@atbash/sdk 0.9.0-dev.0 → 0.10.1-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/browser.d.mts +68 -156
- package/dist/browser.mjs +222 -480
- package/dist/browser.mjs.map +1 -1
- package/dist/index.d.mts +68 -156
- package/dist/index.d.ts +68 -156
- package/dist/index.js +38308 -41396
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38370 -41463
- package/dist/index.mjs.map +1 -1
- package/index.d.ts +245 -10
- package/index.js +243 -79
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -608,8 +608,8 @@ declare function decryptMemoryContent(ciphertext: Buffer, nonce: Buffer, key: Bu
|
|
|
608
608
|
* Scan a single memory entry for poisoning.
|
|
609
609
|
*
|
|
610
610
|
* `auth` is the agent that signs the on-chain audit log for the
|
|
611
|
-
* LLM-judge call.
|
|
612
|
-
*
|
|
611
|
+
* LLM-judge call. Unicode-evasion presence is surfaced to the prompt
|
|
612
|
+
* so the LLM can weight suspicion accordingly.
|
|
613
613
|
*/
|
|
614
614
|
declare function scanMemory(entry: MemoryEntry, auth: AgentAuth, opts?: MemoryScanOptions): Promise<MemoryScanResult>;
|
|
615
615
|
/**
|
|
@@ -640,9 +640,7 @@ interface RollbackMemoryOptions {
|
|
|
640
640
|
* deactivated on-chain.
|
|
641
641
|
*
|
|
642
642
|
* The caller is responsible for running `scanMemory` first when
|
|
643
|
-
* appropriate — this function does not gate on the verdict.
|
|
644
|
-
* `score` parameter is the only metadata that flows in alongside
|
|
645
|
-
* the ciphertext.
|
|
643
|
+
* appropriate — this function does not gate on the verdict.
|
|
646
644
|
*/
|
|
647
645
|
declare function commitMemoryVersion(plaintext: string, auth: AgentAuth, opts?: CommitMemoryOptions): Promise<void>;
|
|
648
646
|
/**
|
|
@@ -674,35 +672,28 @@ interface MemoryRollbackEvent {
|
|
|
674
672
|
* Cheap version-pointer probe. Returns just the id of the current
|
|
675
673
|
* active memory (or null if none). No ciphertext is transferred — the
|
|
676
674
|
* response is a single integer, so this is safe to call on every
|
|
677
|
-
* memory-read hot path.
|
|
678
|
-
* compare against a stored pointer and only refetch the full row via
|
|
679
|
-
* `getActiveMemory` when the id has changed.
|
|
675
|
+
* memory-read hot path.
|
|
680
676
|
*/
|
|
681
677
|
declare function getActiveMemoryId(auth: AgentAuth, chainOpts?: ChainOpts): Promise<number | null>;
|
|
682
678
|
/**
|
|
683
679
|
* Recent active memory entries — subset of active versions filtered
|
|
684
|
-
* by the chain's `MEMORY_RECENT_WINDOW_MS
|
|
685
|
-
*
|
|
686
|
-
* stale memory is worse than missing memory. For a time-unbounded
|
|
687
|
-
* view of every currently active version, use `getAllAgentMemory`.
|
|
680
|
+
* by the chain's `MEMORY_RECENT_WINDOW_MS`. For a time-unbounded view
|
|
681
|
+
* of every currently active version, use `getAllAgentMemory`.
|
|
688
682
|
*/
|
|
689
683
|
declare function getActiveMemory(auth: AgentAuth, chainOpts?: ChainOpts): Promise<AgentMemoryEntry[]>;
|
|
690
684
|
/**
|
|
691
685
|
* All currently-active memory entries with no time cutoff. Use this
|
|
692
|
-
* when you need every active version regardless of age
|
|
693
|
-
* dashboard listing, or a long-running agent whose oldest active
|
|
694
|
-
* versions may have fallen outside `getActiveMemory`'s recent window.
|
|
686
|
+
* when you need every active version regardless of age.
|
|
695
687
|
*/
|
|
696
688
|
declare function getAllAgentMemory(auth: AgentAuth, chainOpts?: ChainOpts): Promise<AgentMemoryEntry[]>;
|
|
697
689
|
/**
|
|
698
|
-
* Full version history — active + inactive, most recent first.
|
|
699
|
-
*
|
|
690
|
+
* Full version history — active + inactive, most recent first. Used
|
|
691
|
+
* by rollback UX to choose a target version.
|
|
700
692
|
*/
|
|
701
693
|
declare function getMemoryHistory(auth: AgentAuth, chainOpts?: ChainOpts): Promise<AgentMemoryEntry[]>;
|
|
702
694
|
/**
|
|
703
695
|
* Fetch a single memory entry by version id, including its current
|
|
704
|
-
* `is_active` state.
|
|
705
|
-
* before rolling back to it.
|
|
696
|
+
* `is_active` state.
|
|
706
697
|
*/
|
|
707
698
|
declare function getMemoryById(id: number, auth: AgentAuth, chainOpts?: ChainOpts): Promise<AgentMemoryEntry>;
|
|
708
699
|
/**
|
|
@@ -716,29 +707,15 @@ declare function getRollbackHistory(auth: AgentAuth, chainOpts?: ChainOpts): Pro
|
|
|
716
707
|
*/
|
|
717
708
|
declare function rollbackMemory(toId: number, reason: string, auth: AgentAuth, opts?: RollbackMemoryOptions): Promise<void>;
|
|
718
709
|
|
|
719
|
-
/**
|
|
720
|
-
* Classify a plugin tool-call event as a memory write.
|
|
721
|
-
*
|
|
722
|
-
* Plugins receive `before_tool_call` events from their host runtime
|
|
723
|
-
* (openclaw, Claude API, MCP, etc.) with varying argument shapes. This
|
|
724
|
-
* module normalizes across shapes and returns a `MemoryEntry` when the
|
|
725
|
-
* call is writing to a memory-like path, or `null` when the SDK should
|
|
726
|
-
* skip the memory-scan path entirely.
|
|
727
|
-
*
|
|
728
|
-
* `event` and `ctx` are typed `unknown` so any plugin can pass its
|
|
729
|
-
* native hook payloads without adaptation — the classifier probes
|
|
730
|
-
* common key names at runtime.
|
|
731
|
-
*/
|
|
732
|
-
|
|
733
710
|
/**
|
|
734
711
|
* Tool names that indicate a memory write. Lowercase — matched
|
|
735
|
-
* case-insensitively so
|
|
736
|
-
*
|
|
712
|
+
* case-insensitively so OpenClaw (lowercase) and Claude API family
|
|
713
|
+
* (TitleCase) both hit.
|
|
737
714
|
*/
|
|
738
715
|
declare const DEFAULT_MEMORY_WRITE_TOOL_NAMES: ReadonlyArray<string>;
|
|
739
716
|
/**
|
|
740
717
|
* File path substrings that indicate a memory-shaped target. Callers
|
|
741
|
-
*
|
|
718
|
+
* extend or override via `classifyMemoryWrite` options.
|
|
742
719
|
*/
|
|
743
720
|
declare const DEFAULT_MEMORY_PATH_PATTERNS: ReadonlyArray<string>;
|
|
744
721
|
/**
|
|
@@ -934,7 +911,7 @@ declare function createFileLogger(filePath: string, upstream?: UpstreamLogger):
|
|
|
934
911
|
/** Default log-file location — `<workspaceDir>/.atbash/plugin.log`. */
|
|
935
912
|
declare function defaultPluginLogPath(workspaceDir?: string): string;
|
|
936
913
|
|
|
937
|
-
/** Dedicated memory-read tool names, matched case-insensitively.
|
|
914
|
+
/** Dedicated memory-read tool names, matched case-insensitively. */
|
|
938
915
|
declare const DEFAULT_MEMORY_READ_TOOL_NAMES: ReadonlyArray<string>;
|
|
939
916
|
interface ClassifyMemoryReadOptions {
|
|
940
917
|
/** Tool names that always count as memory reads. Merged with defaults. */
|
|
@@ -948,6 +925,10 @@ interface ClassifyMemoryReadOptions {
|
|
|
948
925
|
* Returns `true` when this tool call is a memory read — either a
|
|
949
926
|
* dedicated memory-read tool from `readToolNames`, or a generic read
|
|
950
927
|
* tool (`read` / `read_file`) targeting a memory-shaped path.
|
|
928
|
+
*
|
|
929
|
+
* Caller-supplied `patterns` are MERGED with the defaults (matches
|
|
930
|
+
* Node's original behavior — extending in one plugin doesn't disable
|
|
931
|
+
* standard coverage).
|
|
951
932
|
*/
|
|
952
933
|
declare function classifyMemoryRead(event: unknown, ctx: unknown, opts?: ClassifyMemoryReadOptions): boolean;
|
|
953
934
|
|
|
@@ -1068,126 +1049,33 @@ declare function flushTelemetry(): Promise<void>;
|
|
|
1068
1049
|
declare function shutdownTelemetry(): Promise<void>;
|
|
1069
1050
|
|
|
1070
1051
|
/**
|
|
1071
|
-
*
|
|
1072
|
-
*
|
|
1073
|
-
*
|
|
1074
|
-
* Why this is not in the Rust core like the other signing helpers: the operation
|
|
1075
|
-
* takes a `byte_array` argument, and the only consumer today is the dashboard,
|
|
1076
|
-
* which loads the browser bundle where Rust is unreachable by construction. This
|
|
1077
|
-
* module is plain TypeScript so the node and browser builds share one
|
|
1078
|
-
* implementation and cannot drift. The Rust core gets the same operation when the
|
|
1079
|
-
* native/Python/Go callers need it — the wire format is pinned by `crypto/ecies.ts`.
|
|
1080
|
-
*
|
|
1081
|
-
* The contract refuses plaintext once an org registers an encryption key
|
|
1082
|
-
* (`log_tool_call` → "Organization requires encrypted payloads"), so for those
|
|
1083
|
-
* orgs this is the only way to log a tool call at all.
|
|
1084
|
-
*/
|
|
1085
|
-
/**
|
|
1086
|
-
* Commitment to the plaintext claims a caller sends alongside the ciphertext.
|
|
1087
|
-
*
|
|
1088
|
-
* The judge server reads tool_name / action / context / tool_args_json from the
|
|
1089
|
-
* request body and feeds them to policy evaluation, but it holds no org key, so
|
|
1090
|
-
* it cannot check them against content_cipher. This hash is a signed operation
|
|
1091
|
-
* argument, which makes it the one thing it can check them against.
|
|
1092
|
-
*
|
|
1093
|
-
* An array, not an object: key order is not part of a JSON array, so the two
|
|
1094
|
-
* implementations cannot drift on serialization. Must stay identical to
|
|
1095
|
-
* `claimHashHex` in the dashboard (`src/lib/api/judge/action-hash.ts`).
|
|
1096
|
-
*/
|
|
1097
|
-
declare function claimHashHex(toolName: string, action: string, context: string, toolArgsJson: string): string;
|
|
1098
|
-
/** Plaintext fields of a tool call, sealed into a single ECIES payload. */
|
|
1099
|
-
interface ToolCallPlaintext {
|
|
1100
|
-
tool_name: string;
|
|
1101
|
-
action: string;
|
|
1102
|
-
context: string;
|
|
1103
|
-
tool_args_json: string;
|
|
1104
|
-
}
|
|
1105
|
-
/**
|
|
1106
|
-
* Canonical form of an action for the retry-cache hash.
|
|
1107
|
-
*
|
|
1108
|
-
* Must stay identical to `normalizeActionForHash` in the dashboard
|
|
1109
|
-
* (`src/lib/api/judge/on-chain.ts`): both write the same
|
|
1110
|
-
* `tool_call_log.normalized_action_hash` column, and `get_resolved_hold_by_action_hash`
|
|
1111
|
-
* matches a YELLOW hold retry against it. Diverging here silently breaks
|
|
1112
|
-
* hold resolution rather than failing loudly.
|
|
1052
|
+
* Rust core does the work; `browser/encrypted-toolcall.ts` mirrors it for the
|
|
1053
|
+
* browser and must produce the same columns.
|
|
1113
1054
|
*/
|
|
1055
|
+
/** Must match `column_aad` in the core — the label binds a ciphertext to its column. */
|
|
1056
|
+
declare function columnAad(toolCallId: string, column: string): string;
|
|
1057
|
+
/** Byte-identical to the dashboard's copy — diverging breaks hold-retry resolution. */
|
|
1114
1058
|
declare function normalizeActionForHash(action: string): string;
|
|
1115
|
-
/**
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
* Everything the agent did — action, context, tool name and args — goes into a
|
|
1119
|
-
* single ECIES payload readable only with the org's private key. Nothing
|
|
1120
|
-
* identifying the action is left in the operation arguments, which are permanent
|
|
1121
|
-
* block data.
|
|
1122
|
-
*
|
|
1123
|
-
* `actionHash` is the one exception, and it is deliberate: it is a SHA-256 over
|
|
1124
|
-
* the normalized action, so the chain can match a held action against its retry
|
|
1125
|
-
* without being able to read it.
|
|
1126
|
-
*
|
|
1127
|
-
* @returns hex-encoded signed transaction, ready to POST as `signed_log_tool_call`.
|
|
1128
|
-
*/
|
|
1059
|
+
/** Lets the judge check the request body against the ciphertext without an org key. */
|
|
1060
|
+
declare function claimHashHex(toolName: string, action: string, context: string, toolArgsJson: string): string;
|
|
1061
|
+
/** @returns hex-encoded signed tx, ready to POST as `signed_log_tool_call`. */
|
|
1129
1062
|
declare function signEncryptedToolCall(toolCallId: string, action: string, context: string, toolName: string, toolArgsJson: string, orgEncryptionPubKey: string, privkeyHex: string, blockchainRidHex: string): string;
|
|
1130
1063
|
|
|
1131
1064
|
/**
|
|
1132
|
-
*
|
|
1133
|
-
*
|
|
1134
|
-
*
|
|
1135
|
-
* anyone querying the Chromia node directly, and Atbash itself — sees ciphertext.
|
|
1136
|
-
* The recipient key is a dedicated encryption keypair the org generates in the
|
|
1137
|
-
* dashboard and registers via `org_set_encryption_key`; it is read back with the
|
|
1138
|
-
* `get_org_encryption_pubkey` query.
|
|
1139
|
-
*
|
|
1140
|
-
* ─── WIRE FORMAT (normative) ────────────────────────────────────────────────
|
|
1141
|
-
* This exact layout is mirrored in the Atbash dashboard
|
|
1142
|
-
* (`src/lib/chromia/ecies.ts`) and must stay byte-for-byte identical: the SDK
|
|
1143
|
-
* encrypts tool calls, the dashboard decrypts them.
|
|
1144
|
-
*
|
|
1145
|
-
* version 1 byte = 0x01
|
|
1146
|
-
* ephemeral_pubkey 33 bytes compressed secp256k1 point
|
|
1147
|
-
* nonce 12 bytes random, per message
|
|
1148
|
-
* ciphertext+tag N bytes AES-256-GCM output (16-byte tag appended)
|
|
1149
|
-
*
|
|
1150
|
-
* Version 0x01 is FROZEN, not provisional. Records encrypted under it already
|
|
1151
|
-
* exist on the deployed chains, and the ledger is immutable — redefining 0x01
|
|
1152
|
-
* would make them permanently unreadable, not merely stale. Evolving the format
|
|
1153
|
-
* means emitting a NEW version byte and keeping a 0x01 decrypt path, in both
|
|
1154
|
-
* repos, forever.
|
|
1155
|
-
*
|
|
1156
|
-
* Raw bytes, not base64: the on-chain columns are `byte_array`, so encoding to
|
|
1157
|
-
* text would add ~33% to what are the largest columns in the schema.
|
|
1158
|
-
*
|
|
1159
|
-
* Key agreement, per message:
|
|
1160
|
-
* shared_x = ECDH(ephemeral_privkey, org_pubkey).x // 32 bytes
|
|
1161
|
-
* key = HKDF-SHA256(ikm=shared_x, salt=ephemeral_pubkey, info=domain, len=32)
|
|
1162
|
-
* aad = "<domain>|<record_id>"
|
|
1163
|
-
*
|
|
1164
|
-
* A fresh ephemeral keypair is generated for every message and its private half is
|
|
1165
|
-
* discarded immediately. This is what makes the scheme forward-secret with respect
|
|
1166
|
-
* to the *sender*: leaking an agent's long-term signing key later does not expose
|
|
1167
|
-
* anything it encrypted in the past. (Deriving the shared secret from the agent's
|
|
1168
|
-
* static key instead would let anyone recompute every past shared secret, since the
|
|
1169
|
-
* org's public key is public by definition.)
|
|
1170
|
-
*
|
|
1171
|
-
* Three separate bindings, each closing a different substitution:
|
|
1172
|
-
* salt = ephemeral pubkey — ties the key to this exact handshake
|
|
1173
|
-
* info = domain — a verdict payload cannot be read as a tool call
|
|
1174
|
-
* aad = domain|record_id — a payload cannot be lifted onto another row
|
|
1175
|
-
*/
|
|
1176
|
-
/**
|
|
1177
|
-
* Cryptographic domain per payload kind. Fed to HKDF `info`, so each kind derives
|
|
1178
|
-
* a different key from the same handshake — a verdict payload handed to the
|
|
1179
|
-
* tool-call reader fails authentication rather than decoding to an empty struct.
|
|
1065
|
+
* Cryptographic domain per payload kind. Each kind derives a distinct
|
|
1066
|
+
* key from the same handshake — a verdict payload handed to the
|
|
1067
|
+
* tool-call reader fails authentication rather than silently decoding.
|
|
1180
1068
|
*
|
|
1181
|
-
*
|
|
1182
|
-
*
|
|
1183
|
-
*
|
|
1069
|
+
* Values here are the SHORT domain names the Rust core recognizes.
|
|
1070
|
+
* The full HKDF `info` strings (`atbash:chain-encryption:v1:<kind>`)
|
|
1071
|
+
* live inside the core and never surface at the API boundary.
|
|
1184
1072
|
*/
|
|
1185
1073
|
declare const EciesDomain: {
|
|
1186
|
-
readonly toolCall: "
|
|
1187
|
-
readonly verdict: "
|
|
1188
|
-
readonly note: "
|
|
1189
|
-
readonly policy: "
|
|
1190
|
-
readonly raw: "
|
|
1074
|
+
readonly toolCall: "toolcall";
|
|
1075
|
+
readonly verdict: "verdict";
|
|
1076
|
+
readonly note: "note";
|
|
1077
|
+
readonly policy: "policy";
|
|
1078
|
+
readonly raw: "raw";
|
|
1191
1079
|
};
|
|
1192
1080
|
type EciesDomain = (typeof EciesDomain)[keyof typeof EciesDomain];
|
|
1193
1081
|
/**
|
|
@@ -1202,9 +1090,9 @@ declare function encryptForOrg(plaintext: string, orgPubKeyHex: string, aad: str
|
|
|
1202
1090
|
/**
|
|
1203
1091
|
* Decrypt a payload produced by {@link encryptForOrg}.
|
|
1204
1092
|
*
|
|
1205
|
-
* Throws if the key is wrong, the `aad` does not match the one used at
|
|
1206
|
-
* time, or the ciphertext was tampered with — GCM authentication
|
|
1207
|
-
* indistinguishable by design.
|
|
1093
|
+
* Throws if the key is wrong, the `aad` does not match the one used at
|
|
1094
|
+
* encrypt time, or the ciphertext was tampered with — GCM authentication
|
|
1095
|
+
* makes all three indistinguishable by design.
|
|
1208
1096
|
*
|
|
1209
1097
|
* @param payload Value read from the on-chain `byte_array` column.
|
|
1210
1098
|
* @param orgPrivKeyHex Org's secp256k1 private key (32 bytes hex).
|
|
@@ -1212,12 +1100,36 @@ declare function encryptForOrg(plaintext: string, orgPubKeyHex: string, aad: str
|
|
|
1212
1100
|
*/
|
|
1213
1101
|
declare function decryptForOrg(payload: Uint8Array, orgPrivKeyHex: string, aad: string, domain?: EciesDomain): string;
|
|
1214
1102
|
/**
|
|
1215
|
-
* Size in bytes of the encrypted payload for a given plaintext length.
|
|
1216
|
-
* callers check against the on-chain column cap
|
|
1217
|
-
* before submitting a transaction the
|
|
1103
|
+
* Size in bytes of the encrypted payload for a given plaintext length.
|
|
1104
|
+
* Lets callers check against the on-chain column cap
|
|
1105
|
+
* (`MAX_CONTENT_CIPHER_SIZE`) before submitting a transaction the
|
|
1106
|
+
* contract would reject.
|
|
1218
1107
|
*/
|
|
1219
1108
|
declare function encryptedLength(plaintextByteLength: number): number;
|
|
1220
1109
|
|
|
1110
|
+
/**
|
|
1111
|
+
* atb1.<key-fingerprint>.<claim-hash>.<base64 ciphertext>
|
|
1112
|
+
*
|
|
1113
|
+
* Normative spec: `core/src/crypto_envelope.rs`. This mirrors it for the browser.
|
|
1114
|
+
*/
|
|
1115
|
+
interface Envelope {
|
|
1116
|
+
/** First 8 bytes of the recipient public key, hex. May be empty. */
|
|
1117
|
+
keyFingerprint: string;
|
|
1118
|
+
/** Commitment to the accompanying plaintext claims. May be empty. */
|
|
1119
|
+
claimHash: string;
|
|
1120
|
+
/** Raw ECIES payload. */
|
|
1121
|
+
payload: Uint8Array;
|
|
1122
|
+
}
|
|
1123
|
+
declare function packEnvelope(payload: Uint8Array, keyFingerprint?: string, claimHash?: string): string;
|
|
1124
|
+
/**
|
|
1125
|
+
* Stays true for a truncated envelope that `parseEnvelope` rejects — a severed
|
|
1126
|
+
* ciphertext is not plaintext, so callers must show a placeholder.
|
|
1127
|
+
*/
|
|
1128
|
+
declare function isEnvelope(value: string): boolean;
|
|
1129
|
+
/** Null, not a throw — pre-encryption records are plaintext. */
|
|
1130
|
+
declare function parseEnvelope(value: string): Envelope | null;
|
|
1131
|
+
declare function keyFingerprintOf(pubKeyHex: string): string;
|
|
1132
|
+
|
|
1221
1133
|
declare function isValidPrivateKey(hex: string): boolean;
|
|
1222
1134
|
declare function derivePublicKey(privkey: string): string;
|
|
1223
1135
|
declare function generateKeypair(): KeyPair;
|
|
@@ -1233,4 +1145,4 @@ declare function containsSecret(text: string): boolean;
|
|
|
1233
1145
|
declare function createMemorySnapshot(entries: MemoryEntry[], takenAt: number): MemorySnapshot;
|
|
1234
1146
|
declare function diffMemorySnapshots(before: MemorySnapshot, after: MemorySnapshot): MemoryDiffResult;
|
|
1235
1147
|
|
|
1236
|
-
export { type ActionType, type AgentAuth, type AgentMemoryEntry, type AgentPolicy, type AnomalySeverity, type AnomalyType, Atbash, AtbashAPIError, type AtbashLogger, type AtbashOptions, type AtbashUserConfig, 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 FromConfigOptions, type GuardLogger, type GuardMemoryDecision, type GuardMemoryWriteInput, type GuardMemoryWriteResult, type HeldAction, type HeldActionReview, type HookDecision, type JudgeEndpointConfig, type JudgeOptions, type JudgeResult, type JudgmentState, type JudgmentStatus, 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
|
|
1148
|
+
export { type ActionType, type AgentAuth, type AgentMemoryEntry, type AgentPolicy, type AnomalySeverity, type AnomalyType, Atbash, AtbashAPIError, type AtbashLogger, type AtbashOptions, type AtbashUserConfig, 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, type JudgeEndpointConfig, type JudgeOptions, type JudgeResult, type JudgmentState, type JudgmentStatus, 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, 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, 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 };
|