@mnemom/mnemom 0.17.37 → 0.17.38-next.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/commands/agent-run.d.ts +11 -0
- package/dist/commands/agent-run.js +37 -0
- package/dist/commands/agent-share-render.d.ts +5 -5
- package/dist/commands/agent-share-render.js +9 -7
- package/dist/commands/agent-share-test-issuer.d.ts +1 -1
- package/dist/commands/agent-share-test-issuer.js +1 -1
- package/dist/commands/agent.d.ts +8 -1
- package/dist/commands/agent.js +14 -3
- package/dist/commands/scan.d.ts +15 -2
- package/dist/commands/scan.js +48 -3
- package/dist/index.js +1 -1
- package/dist/lib/commit-report.d.ts +7 -13
- package/dist/lib/commit-report.js +12 -5
- package/dist/lib/conduct-receipt.d.ts +8 -3
- package/dist/lib/conduct-receipt.js +29 -7
- package/dist/lib/experimental.d.ts +1 -1
- package/dist/lib/experimental.js +1 -12
- package/dist/lib/runner/executor-client.d.ts +5 -0
- package/dist/lib/runner/executor-client.js +8 -0
- package/dist/lib/runner/job.d.ts +37 -0
- package/dist/lib/runner/job.js +74 -1
- package/dist/lib/runner/phases.d.ts +7 -2
- package/dist/lib/runner/phases.js +7 -2
- package/dist/lib/runner/proxy.d.ts +26 -2
- package/dist/lib/runner/proxy.js +33 -1
- package/dist/lib/runner/record-commit.d.ts +16 -0
- package/dist/lib/runner/record-commit.js +7 -0
- package/dist/lib/scan/spend/anthropic-usage.d.ts +20 -1
- package/dist/lib/scan/spend/anthropic-usage.js +32 -7
- package/dist/lib/scan/spend/anthropic-wif.d.ts +42 -0
- package/dist/lib/scan/spend/anthropic-wif.js +153 -0
- package/package.json +2 -5
- package/node_modules/@mnemom/aip-verifier/LICENSE +0 -190
- package/node_modules/@mnemom/aip-verifier/dist/claim-lint-CVITIRcU.d.cts +0 -478
- package/node_modules/@mnemom/aip-verifier/dist/claim-lint-CVITIRcU.d.ts +0 -478
- package/node_modules/@mnemom/aip-verifier/dist/index.cjs +0 -971
- package/node_modules/@mnemom/aip-verifier/dist/index.cjs.map +0 -1
- package/node_modules/@mnemom/aip-verifier/dist/index.d.cts +0 -330
- package/node_modules/@mnemom/aip-verifier/dist/index.d.ts +0 -330
- package/node_modules/@mnemom/aip-verifier/dist/index.js +0 -933
- package/node_modules/@mnemom/aip-verifier/dist/index.js.map +0 -1
- package/node_modules/@mnemom/aip-verifier/dist/render-lines.cjs +0 -879
- package/node_modules/@mnemom/aip-verifier/dist/render-lines.cjs.map +0 -1
- package/node_modules/@mnemom/aip-verifier/dist/render-lines.d.cts +0 -96
- package/node_modules/@mnemom/aip-verifier/dist/render-lines.d.ts +0 -96
- package/node_modules/@mnemom/aip-verifier/dist/render-lines.js +0 -875
- package/node_modules/@mnemom/aip-verifier/dist/render-lines.js.map +0 -1
- package/node_modules/@mnemom/aip-verifier/package.json +0 -86
- package/node_modules/@noble/ed25519/LICENSE +0 -21
- package/node_modules/@noble/ed25519/README.md +0 -371
- package/node_modules/@noble/ed25519/index.d.ts +0 -391
- package/node_modules/@noble/ed25519/index.js +0 -933
- package/node_modules/@noble/ed25519/index.ts +0 -1134
- package/node_modules/@noble/ed25519/package.json +0 -54
- package/node_modules/@noble/hashes/LICENSE +0 -21
- package/node_modules/@noble/hashes/README.md +0 -478
- package/node_modules/@noble/hashes/_blake.d.ts +0 -20
- package/node_modules/@noble/hashes/_blake.js +0 -59
- package/node_modules/@noble/hashes/_md.d.ts +0 -95
- package/node_modules/@noble/hashes/_md.js +0 -209
- package/node_modules/@noble/hashes/_u64.d.ts +0 -36
- package/node_modules/@noble/hashes/_u64.js +0 -77
- package/node_modules/@noble/hashes/argon2.d.ts +0 -148
- package/node_modules/@noble/hashes/argon2.js +0 -577
- package/node_modules/@noble/hashes/blake1.d.ts +0 -162
- package/node_modules/@noble/hashes/blake1.js +0 -630
- package/node_modules/@noble/hashes/blake2.d.ts +0 -203
- package/node_modules/@noble/hashes/blake2.js +0 -573
- package/node_modules/@noble/hashes/blake3.d.ts +0 -68
- package/node_modules/@noble/hashes/blake3.js +0 -310
- package/node_modules/@noble/hashes/eskdf.d.ts +0 -91
- package/node_modules/@noble/hashes/eskdf.js +0 -225
- package/node_modules/@noble/hashes/hkdf.d.ts +0 -70
- package/node_modules/@noble/hashes/hkdf.js +0 -152
- package/node_modules/@noble/hashes/hmac.d.ts +0 -50
- package/node_modules/@noble/hashes/hmac.js +0 -93
- package/node_modules/@noble/hashes/index.d.ts +0 -1
- package/node_modules/@noble/hashes/index.js +0 -34
- package/node_modules/@noble/hashes/legacy.d.ts +0 -107
- package/node_modules/@noble/hashes/legacy.js +0 -348
- package/node_modules/@noble/hashes/package.json +0 -91
- package/node_modules/@noble/hashes/pbkdf2.d.ts +0 -66
- package/node_modules/@noble/hashes/pbkdf2.js +0 -176
- package/node_modules/@noble/hashes/scrypt.d.ts +0 -98
- package/node_modules/@noble/hashes/scrypt.js +0 -304
- package/node_modules/@noble/hashes/sha2.d.ts +0 -176
- package/node_modules/@noble/hashes/sha2.js +0 -446
- package/node_modules/@noble/hashes/sha3-addons.d.ts +0 -533
- package/node_modules/@noble/hashes/sha3-addons.js +0 -973
- package/node_modules/@noble/hashes/sha3.d.ts +0 -208
- package/node_modules/@noble/hashes/sha3.js +0 -475
- package/node_modules/@noble/hashes/src/_blake.ts +0 -67
- package/node_modules/@noble/hashes/src/_md.ts +0 -227
- package/node_modules/@noble/hashes/src/_u64.ts +0 -111
- package/node_modules/@noble/hashes/src/argon2.ts +0 -693
- package/node_modules/@noble/hashes/src/blake1.ts +0 -677
- package/node_modules/@noble/hashes/src/blake2.ts +0 -648
- package/node_modules/@noble/hashes/src/blake3.ts +0 -344
- package/node_modules/@noble/hashes/src/eskdf.ts +0 -265
- package/node_modules/@noble/hashes/src/hkdf.ts +0 -161
- package/node_modules/@noble/hashes/src/hmac.ts +0 -130
- package/node_modules/@noble/hashes/src/index.ts +0 -33
- package/node_modules/@noble/hashes/src/legacy.ts +0 -361
- package/node_modules/@noble/hashes/src/pbkdf2.ts +0 -219
- package/node_modules/@noble/hashes/src/scrypt.ts +0 -375
- package/node_modules/@noble/hashes/src/sha2.ts +0 -486
- package/node_modules/@noble/hashes/src/sha3-addons.ts +0 -1157
- package/node_modules/@noble/hashes/src/sha3.ts +0 -525
- package/node_modules/@noble/hashes/src/utils.ts +0 -978
- package/node_modules/@noble/hashes/src/webcrypto.ts +0 -283
- package/node_modules/@noble/hashes/utils.d.ts +0 -560
- package/node_modules/@noble/hashes/utils.js +0 -687
- package/node_modules/@noble/hashes/webcrypto.d.ts +0 -121
- package/node_modules/@noble/hashes/webcrypto.js +0 -228
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { type CHash, type Hash, type TArg, type TRet } from './utils.ts';
|
|
2
|
-
/** Blake1 options. Basically just `salt`. */
|
|
3
|
-
export type BlakeOpts = {
|
|
4
|
-
/** Optional salt mixed into initialization. */
|
|
5
|
-
salt?: Uint8Array;
|
|
6
|
-
};
|
|
7
|
-
declare abstract class BLAKE1<T extends BLAKE1<T>> implements Hash<T> {
|
|
8
|
-
readonly canXOF = false;
|
|
9
|
-
protected finished: boolean;
|
|
10
|
-
protected length: number;
|
|
11
|
-
protected pos: number;
|
|
12
|
-
protected destroyed: boolean;
|
|
13
|
-
protected buffer: Uint8Array;
|
|
14
|
-
protected view: DataView;
|
|
15
|
-
protected salt: Uint32Array;
|
|
16
|
-
abstract compress(view: DataView, offset: number, withLength?: boolean): void;
|
|
17
|
-
protected abstract get(): number[];
|
|
18
|
-
abstract _cloneInto(to?: T): T;
|
|
19
|
-
readonly blockLen: number;
|
|
20
|
-
readonly outputLen: number;
|
|
21
|
-
private lengthFlag;
|
|
22
|
-
private counterLen;
|
|
23
|
-
protected constants: Uint32Array;
|
|
24
|
-
constructor(blockLen: number, outputLen: number, lengthFlag: number, counterLen: number, saltLen: number, constants: Uint32Array, opts?: BlakeOpts);
|
|
25
|
-
update(data: TArg<Uint8Array>): this;
|
|
26
|
-
destroy(): void;
|
|
27
|
-
protected _cloneIntoMeta(to: T): T;
|
|
28
|
-
clone(): T;
|
|
29
|
-
digestInto(out: TArg<Uint8Array>): void;
|
|
30
|
-
digest(): TRet<Uint8Array>;
|
|
31
|
-
}
|
|
32
|
-
declare class BLAKE1_32B extends BLAKE1<BLAKE1_32B> {
|
|
33
|
-
private v0;
|
|
34
|
-
private v1;
|
|
35
|
-
private v2;
|
|
36
|
-
private v3;
|
|
37
|
-
private v4;
|
|
38
|
-
private v5;
|
|
39
|
-
private v6;
|
|
40
|
-
private v7;
|
|
41
|
-
constructor(outputLen: number, IV: Uint32Array, lengthFlag: number, opts?: BlakeOpts);
|
|
42
|
-
protected get(): [number, number, number, number, number, number, number, number];
|
|
43
|
-
protected set(v0: number, v1: number, v2: number, v3: number, v4: number, v5: number, v6: number, v7: number): void;
|
|
44
|
-
_cloneInto(to?: BLAKE1_32B): BLAKE1_32B;
|
|
45
|
-
destroy(): void;
|
|
46
|
-
compress(view: DataView, offset: number, withLength?: boolean): void;
|
|
47
|
-
}
|
|
48
|
-
declare class BLAKE1_64B extends BLAKE1<BLAKE1_64B> {
|
|
49
|
-
private v0l;
|
|
50
|
-
private v0h;
|
|
51
|
-
private v1l;
|
|
52
|
-
private v1h;
|
|
53
|
-
private v2l;
|
|
54
|
-
private v2h;
|
|
55
|
-
private v3l;
|
|
56
|
-
private v3h;
|
|
57
|
-
private v4l;
|
|
58
|
-
private v4h;
|
|
59
|
-
private v5l;
|
|
60
|
-
private v5h;
|
|
61
|
-
private v6l;
|
|
62
|
-
private v6h;
|
|
63
|
-
private v7l;
|
|
64
|
-
private v7h;
|
|
65
|
-
constructor(outputLen: number, IV: Uint32Array, lengthFlag: number, opts?: BlakeOpts);
|
|
66
|
-
protected get(): [
|
|
67
|
-
number,
|
|
68
|
-
number,
|
|
69
|
-
number,
|
|
70
|
-
number,
|
|
71
|
-
number,
|
|
72
|
-
number,
|
|
73
|
-
number,
|
|
74
|
-
number,
|
|
75
|
-
number,
|
|
76
|
-
number,
|
|
77
|
-
number,
|
|
78
|
-
number,
|
|
79
|
-
number,
|
|
80
|
-
number,
|
|
81
|
-
number,
|
|
82
|
-
number
|
|
83
|
-
];
|
|
84
|
-
protected set(v0l: number, v0h: number, v1l: number, v1h: number, v2l: number, v2h: number, v3l: number, v3h: number, v4l: number, v4h: number, v5l: number, v5h: number, v6l: number, v6h: number, v7l: number, v7h: number): void;
|
|
85
|
-
_cloneInto(to?: BLAKE1_64B): BLAKE1_64B;
|
|
86
|
-
destroy(): void;
|
|
87
|
-
compress(view: DataView, offset: number, withLength?: boolean): void;
|
|
88
|
-
}
|
|
89
|
-
/** Internal blake1-224 hash class. */
|
|
90
|
-
export declare class _BLAKE224 extends BLAKE1_32B {
|
|
91
|
-
constructor(opts?: BlakeOpts);
|
|
92
|
-
}
|
|
93
|
-
/** Internal blake1-256 hash class. */
|
|
94
|
-
export declare class _BLAKE256 extends BLAKE1_32B {
|
|
95
|
-
constructor(opts?: BlakeOpts);
|
|
96
|
-
}
|
|
97
|
-
/** Internal blake1-384 hash class. */
|
|
98
|
-
export declare class _BLAKE384 extends BLAKE1_64B {
|
|
99
|
-
constructor(opts?: BlakeOpts);
|
|
100
|
-
}
|
|
101
|
-
/** Internal blake1-512 hash class. */
|
|
102
|
-
export declare class _BLAKE512 extends BLAKE1_64B {
|
|
103
|
-
constructor(opts?: BlakeOpts);
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Blake1-224 hash function.
|
|
107
|
-
* @param msg - message bytes to hash
|
|
108
|
-
* @param opts - Optional Blake1 settings. See {@link BlakeOpts}. If set,
|
|
109
|
-
* `opts.salt` must be exactly 16 bytes.
|
|
110
|
-
* @returns Digest bytes.
|
|
111
|
-
* @example
|
|
112
|
-
* Hash a message with Blake1-224.
|
|
113
|
-
* ```ts
|
|
114
|
-
* blake224(new Uint8Array([97, 98, 99]));
|
|
115
|
-
* ```
|
|
116
|
-
*/
|
|
117
|
-
export declare const blake224: TRet<CHash<_BLAKE224, BlakeOpts>>;
|
|
118
|
-
/**
|
|
119
|
-
* Blake1-256 hash function.
|
|
120
|
-
* @param msg - message bytes to hash
|
|
121
|
-
* @param opts - Optional Blake1 settings. See {@link BlakeOpts}. If set,
|
|
122
|
-
* `opts.salt` must be exactly 16 bytes.
|
|
123
|
-
* @returns Digest bytes.
|
|
124
|
-
* @example
|
|
125
|
-
* Hash a message with Blake1-256.
|
|
126
|
-
* ```ts
|
|
127
|
-
* blake256(new Uint8Array([97, 98, 99]));
|
|
128
|
-
* ```
|
|
129
|
-
* @example
|
|
130
|
-
* Hash a message with Blake1-256 and a 16-byte salt.
|
|
131
|
-
* ```ts
|
|
132
|
-
* blake256(new Uint8Array([97, 98, 99]), { salt: new Uint8Array(16) });
|
|
133
|
-
* ```
|
|
134
|
-
*/
|
|
135
|
-
export declare const blake256: TRet<CHash<_BLAKE256, BlakeOpts>>;
|
|
136
|
-
/**
|
|
137
|
-
* Blake1-384 hash function.
|
|
138
|
-
* @param msg - message bytes to hash
|
|
139
|
-
* @param opts - Optional Blake1 settings. See {@link BlakeOpts}. If set,
|
|
140
|
-
* `opts.salt` must be exactly 32 bytes.
|
|
141
|
-
* @returns Digest bytes.
|
|
142
|
-
* @example
|
|
143
|
-
* Hash a message with Blake1-384.
|
|
144
|
-
* ```ts
|
|
145
|
-
* blake384(new Uint8Array([97, 98, 99]));
|
|
146
|
-
* ```
|
|
147
|
-
*/
|
|
148
|
-
export declare const blake384: TRet<CHash<_BLAKE384, BlakeOpts>>;
|
|
149
|
-
/**
|
|
150
|
-
* Blake1-512 hash function.
|
|
151
|
-
* @param msg - message bytes to hash
|
|
152
|
-
* @param opts - Optional Blake1 settings. See {@link BlakeOpts}. If set,
|
|
153
|
-
* `opts.salt` must be exactly 32 bytes.
|
|
154
|
-
* @returns Digest bytes.
|
|
155
|
-
* @example
|
|
156
|
-
* Hash a message with Blake1-512.
|
|
157
|
-
* ```ts
|
|
158
|
-
* blake512(new Uint8Array([97, 98, 99]));
|
|
159
|
-
* ```
|
|
160
|
-
*/
|
|
161
|
-
export declare const blake512: TRet<CHash<_BLAKE512, BlakeOpts>>;
|
|
162
|
-
export {};
|