@vapi-network/core 0.7.0 → 0.9.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/README.md +14 -1
- package/dist/account-add.d.ts +8 -1
- package/dist/account-add.d.ts.map +1 -1
- package/dist/account-movement-lock.d.ts +10 -0
- package/dist/account-movement-lock.d.ts.map +1 -0
- package/dist/agent-link.d.ts +1 -0
- package/dist/agent-link.d.ts.map +1 -1
- package/dist/agent-link.js +27 -11
- package/dist/agent-link.js.map +1 -1
- package/dist/agent-profile.d.ts +18 -2
- package/dist/agent-profile.d.ts.map +1 -1
- package/dist/agent-run.d.ts +12 -0
- package/dist/agent-run.d.ts.map +1 -0
- package/dist/allocation.d.ts +35 -4
- package/dist/allocation.d.ts.map +1 -1
- package/dist/api-key.js +47 -0
- package/dist/api-key.js.map +1 -1
- package/dist/atomic-file.d.ts +23 -0
- package/dist/atomic-file.d.ts.map +1 -0
- package/dist/audit.d.ts +4 -1
- package/dist/audit.d.ts.map +1 -1
- package/dist/backup.d.ts +155 -32
- package/dist/backup.d.ts.map +1 -1
- package/dist/backup.js +2600 -139
- package/dist/backup.js.map +3 -3
- package/dist/call-contracts-wire.d.ts +12 -12
- package/dist/ceiling.d.ts +8 -0
- package/dist/ceiling.d.ts.map +1 -1
- package/dist/cloud-backup.d.ts +8 -10
- package/dist/cloud-backup.d.ts.map +1 -1
- package/dist/cloud-backup.js +2876 -381
- package/dist/cloud-backup.js.map +3 -3
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/distribute.d.ts +9 -1
- package/dist/distribute.d.ts.map +1 -1
- package/dist/docs.d.ts +40 -0
- package/dist/docs.d.ts.map +1 -0
- package/dist/funding-policy.d.ts +29 -0
- package/dist/funding-policy.d.ts.map +1 -0
- package/dist/index.d.ts +12 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5832 -1213
- package/dist/index.js.map +3 -3
- package/dist/marketplace-contracts.d.ts +14 -14
- package/dist/member-bundle.d.ts +110 -0
- package/dist/member-bundle.d.ts.map +1 -0
- package/dist/movement-open.d.ts +10 -0
- package/dist/movement-open.d.ts.map +1 -0
- package/dist/movement.d.ts +77 -7
- package/dist/movement.d.ts.map +1 -1
- package/dist/receipts.d.ts +9 -0
- package/dist/receipts.d.ts.map +1 -1
- package/dist/router-client.d.ts +9 -1
- package/dist/router-client.d.ts.map +1 -1
- package/dist/router-client.js +2272 -609
- package/dist/router-client.js.map +3 -3
- package/dist/run-budget.d.ts +17 -0
- package/dist/run-budget.d.ts.map +1 -0
- package/dist/secret-store.d.ts +6 -0
- package/dist/secret-store.d.ts.map +1 -1
- package/dist/secrets.d.ts +2 -1
- package/dist/secrets.d.ts.map +1 -1
- package/dist/secrets.js +912 -48
- package/dist/secrets.js.map +3 -3
- package/dist/spend-policy.d.ts +41 -7
- package/dist/spend-policy.d.ts.map +1 -1
- package/dist/support-report.d.ts +1 -1
- package/dist/swarm-capital.d.ts +147 -0
- package/dist/swarm-capital.d.ts.map +1 -0
- package/dist/swarm.d.ts +224 -0
- package/dist/swarm.d.ts.map +1 -0
- package/dist/tasks/actions.d.ts +152 -0
- package/dist/tasks/actions.d.ts.map +1 -0
- package/dist/tasks/canonical-json.d.ts +6 -0
- package/dist/tasks/canonical-json.d.ts.map +1 -0
- package/dist/tasks/chain-error.d.ts +6 -0
- package/dist/tasks/chain-error.d.ts.map +1 -0
- package/dist/tasks/chain-port.d.ts +88 -0
- package/dist/tasks/chain-port.d.ts.map +1 -0
- package/dist/tasks/chain-verification.d.ts +36 -0
- package/dist/tasks/chain-verification.d.ts.map +1 -0
- package/dist/tasks/chain.d.ts +22 -0
- package/dist/tasks/chain.d.ts.map +1 -0
- package/dist/tasks/client.d.ts +76 -0
- package/dist/tasks/client.d.ts.map +1 -0
- package/dist/tasks/delivery-manifest.d.ts +24 -0
- package/dist/tasks/delivery-manifest.d.ts.map +1 -0
- package/dist/tasks/dispute-fee.d.ts +4 -0
- package/dist/tasks/dispute-fee.d.ts.map +1 -0
- package/dist/tasks/index.d.ts +22 -0
- package/dist/tasks/index.d.ts.map +1 -0
- package/dist/tasks/money.d.ts +17 -0
- package/dist/tasks/money.d.ts.map +1 -0
- package/dist/tasks/operation-support.d.ts +127 -0
- package/dist/tasks/operation-support.d.ts.map +1 -0
- package/dist/tasks/operations.d.ts +722 -0
- package/dist/tasks/operations.d.ts.map +1 -0
- package/dist/tasks/pending-transactions.d.ts +52 -0
- package/dist/tasks/pending-transactions.d.ts.map +1 -0
- package/dist/tasks/plan-guard.d.ts +326 -0
- package/dist/tasks/plan-guard.d.ts.map +1 -0
- package/dist/tasks/rpc.d.ts +8 -0
- package/dist/tasks/rpc.d.ts.map +1 -0
- package/dist/tasks/scope-bindings.d.ts +20 -0
- package/dist/tasks/scope-bindings.d.ts.map +1 -0
- package/dist/tasks/scope-terms.d.ts +75 -0
- package/dist/tasks/scope-terms.d.ts.map +1 -0
- package/dist/tasks/trusted-deployments.d.ts +14 -0
- package/dist/tasks/trusted-deployments.d.ts.map +1 -0
- package/dist/tasks/types.d.ts +4439 -0
- package/dist/tasks/types.d.ts.map +1 -0
- package/dist/tasks/verbs.d.ts +4 -0
- package/dist/tasks/verbs.d.ts.map +1 -0
- package/dist/tasks.js +43906 -0
- package/dist/tasks.js.map +6 -0
- package/dist/transfer-journal.d.ts +11 -0
- package/dist/transfer-journal.d.ts.map +1 -0
- package/dist/transfer.d.ts +4 -1
- package/dist/transfer.d.ts.map +1 -1
- package/dist/vault.d.ts +11 -0
- package/dist/vault.d.ts.map +1 -1
- package/dist/wallet-store.d.ts +19 -8
- package/dist/wallet-store.d.ts.map +1 -1
- package/dist/x402-pay.d.ts +7 -0
- package/dist/x402-pay.d.ts.map +1 -1
- package/dist/x402.d.ts +3 -0
- package/dist/x402.d.ts.map +1 -1
- package/package.json +5 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface WriteJsonAtomicOptions {
|
|
2
|
+
mode?: number;
|
|
3
|
+
}
|
|
4
|
+
export interface FileLockOptions {
|
|
5
|
+
timeoutMs?: number;
|
|
6
|
+
lockedMessage?: string;
|
|
7
|
+
}
|
|
8
|
+
interface AtomicFileTestHooks {
|
|
9
|
+
beforeLockAttempt?: (path: string) => void | Promise<void>;
|
|
10
|
+
afterLockCreate?: (path: string) => void | Promise<void>;
|
|
11
|
+
beforeStaleLockBreak?: (path: string) => void | Promise<void>;
|
|
12
|
+
afterMismatchedLockRename?: (path: string) => void | Promise<void>;
|
|
13
|
+
afterMismatchedLockRestore?: (path: string) => void | Promise<void>;
|
|
14
|
+
isProcessAlive?: (pid: number) => boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare function __setAtomicFileTestHooks(hooks: AtomicFileTestHooks | undefined): void;
|
|
17
|
+
export declare class FileLockedError extends Error {
|
|
18
|
+
constructor(message?: string);
|
|
19
|
+
}
|
|
20
|
+
export declare function writeJsonAtomic(path: string, value: unknown, options?: WriteJsonAtomicOptions): Promise<void>;
|
|
21
|
+
export declare function withFileLock<T>(lockPath: string, fn: () => Promise<T>, options?: FileLockOptions): Promise<T>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=atomic-file.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"atomic-file.d.ts","sourceRoot":"","sources":["../src/atomic-file.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,mBAAmB;IAC3B,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3D,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzD,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,yBAAyB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnE,0BAA0B,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CAC3C;AAID,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,mBAAmB,GAAG,SAAS,GAAG,IAAI,CAErF;AAED,qBAAa,eAAgB,SAAQ,KAAK;gBAC5B,OAAO,SAAyC;CAI7D;AAED,wBAAsB,eAAe,CACnC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,OAAO,EACd,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,IAAI,CAAC,CA2Bf;AAED,wBAAsB,YAAY,CAAC,CAAC,EAClC,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACpB,OAAO,GAAE,eAAoB,GAC5B,OAAO,CAAC,CAAC,CAAC,CAkEZ"}
|
package/dist/audit.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RunRef } from "./agent-run.js";
|
|
1
2
|
/**
|
|
2
3
|
* The local trail of everything that touched a key or a wallet: one JSON line
|
|
3
4
|
* per event in `<home>/audit.log`, mode 0600. It exists so a person can answer
|
|
@@ -8,10 +9,12 @@
|
|
|
8
9
|
* its linked owner, whether a terminal was attached, and which agent marker
|
|
9
10
|
* was set — nothing that could help someone spend the wallet.
|
|
10
11
|
*/
|
|
11
|
-
export declare const AUDIT_EVENTS: readonly ["secret.export.phrase", "secret.export.key", "wallet.create", "wallet.import", "wallet.remove", "wallet.restore", "wallet.rename", "wallet.default", "wallet.caps", "ceiling.swept", "ceiling.sweep_failed", "vault.migrate", "vault.protect", "vault.unprotect", "vault.backup_shown", "vault.restore", "wallet.unlock", "wallet.lock", "wallet.use.session", "passphrase.change", "auth.key.set", "auth.key.clear", "agent.linked", "agent.unlinked", "agent.run.start", "agent.run.step", "agent.run.pay", "agent.run.declined", "agent.run.end", "router.buy", "router.refill.declined", "listing.publish", "listing.status", "listing.claim"];
|
|
12
|
+
export declare const AUDIT_EVENTS: readonly ["secret.export.phrase", "secret.export.key", "wallet.create", "wallet.import", "wallet.remove", "wallet.restore", "wallet.rename", "wallet.default", "wallet.caps", "ceiling.swept", "ceiling.sweep_failed", "vault.migrate", "vault.protect", "vault.unprotect", "vault.backup_shown", "vault.restore", "wallet.unlock", "wallet.lock", "wallet.use.session", "passphrase.change", "auth.key.set", "auth.key.clear", "agent.linked", "agent.unlinked", "agent.run.start", "agent.run.step", "agent.run.pay", "agent.run.declined", "agent.run.end", "agent.remote_key_exported", "agent.remote_key_refused", "router.buy", "router.refill.declined", "listing.publish", "listing.status", "listing.claim"];
|
|
12
13
|
export type AuditEvent = (typeof AUDIT_EVENTS)[number];
|
|
13
14
|
export type AuditRecord = {
|
|
14
15
|
event: AuditEvent;
|
|
16
|
+
/** The agent run responsible for this event, when it happened inside a run. */
|
|
17
|
+
run?: RunRef;
|
|
15
18
|
/** The wallet the event acted on, when one was selected. */
|
|
16
19
|
wallet?: string;
|
|
17
20
|
/** The owner wallet of a linked agent. Never an access token or Router key. */
|
package/dist/audit.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../src/audit.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../src/audit.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAG7C;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,urBAwDf,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,UAAU,CAAC;IAClB,+EAA+E;IAC/E,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oEAAoE;IACpE,GAAG,EAAE,OAAO,CAAC;IACb,qDAAqD;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAExD,eAAO,MAAM,UAAU,cAAc,CAAC;AAEtC,MAAM,MAAM,YAAY,GAAG;IACzB,sDAAsD;IACtD,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;CAClB,CAAC;AAEF,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED;;;;;GAKG;AACH,wBAAsB,WAAW,CAC/B,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,WAAW,EACnB,OAAO,GAAE,YAAiB,GACzB,OAAO,CAAC,UAAU,CAAC,CAiBrB;AAED,4EAA4E;AAC5E,wBAAsB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC,CAYtE"}
|
package/dist/backup.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import { type AgentProfileParser } from "./agent-profile.js";
|
|
1
2
|
import { type SpendCaps } from "./config.js";
|
|
2
|
-
import { type
|
|
3
|
+
import { type Movement, type MovementSummary } from "./movement.js";
|
|
4
|
+
import { type Receipt } from "./receipts.js";
|
|
5
|
+
import { type SwarmFile } from "./swarm.js";
|
|
6
|
+
import { type RouterRefill, type WalletStore } from "./wallet-store.js";
|
|
3
7
|
import { type VaultAccount } from "./vault.js";
|
|
4
|
-
export type BackupErrorCode = "backup_too_large" | "backup_open_failed" | "backup_unsupported" | "unsupported_signature" | "weak_password" | "backup_invalid_input" | "relay_open_failed" | "relay_invalid_key" | "vault_exists";
|
|
8
|
+
export type BackupErrorCode = "backup_too_large" | "backup_open_failed" | "backup_unsupported" | "unsupported_signature" | "weak_password" | "backup_invalid_input" | "backup_snapshot_busy" | "relay_open_failed" | "relay_invalid_key" | "vault_exists";
|
|
5
9
|
export declare class BackupError extends Error {
|
|
6
10
|
readonly code: BackupErrorCode;
|
|
7
11
|
constructor(code: BackupErrorCode);
|
|
@@ -19,24 +23,136 @@ export type BackupAccount = {
|
|
|
19
23
|
privateKey: `0x${string}`;
|
|
20
24
|
createdAt: string;
|
|
21
25
|
};
|
|
22
|
-
export type
|
|
26
|
+
export type BackupRegistryAccountV1 = {
|
|
27
|
+
name: string;
|
|
28
|
+
label?: string;
|
|
29
|
+
spendCaps: SpendCaps;
|
|
30
|
+
};
|
|
31
|
+
export type BackupRegistryAccountV2 = BackupRegistryAccountV1 & {
|
|
32
|
+
ceilingAtomic?: string | null;
|
|
33
|
+
routerRefill?: RouterRefill;
|
|
34
|
+
};
|
|
35
|
+
export type BackupRegistryV1 = {
|
|
23
36
|
default?: string;
|
|
24
|
-
accounts:
|
|
25
|
-
name: string;
|
|
26
|
-
label?: string;
|
|
27
|
-
spendCaps: SpendCaps;
|
|
28
|
-
}[];
|
|
37
|
+
accounts: BackupRegistryAccountV1[];
|
|
29
38
|
networks: string[];
|
|
30
39
|
};
|
|
31
|
-
|
|
40
|
+
/** The original registry name remains an alias for source compatibility. */
|
|
41
|
+
export type BackupRegistry = BackupRegistryV1;
|
|
42
|
+
export type BackupRegistryV2 = {
|
|
43
|
+
default?: string;
|
|
44
|
+
accounts: BackupRegistryAccountV2[];
|
|
45
|
+
networks: string[];
|
|
46
|
+
};
|
|
47
|
+
export type BackupAgentProfile = {
|
|
48
|
+
version: 1;
|
|
49
|
+
name: string;
|
|
50
|
+
wallet: string;
|
|
51
|
+
model: string;
|
|
52
|
+
instructions: string;
|
|
53
|
+
verifiedOnly: boolean;
|
|
54
|
+
approveAboveUsd: number;
|
|
55
|
+
maxPerTaskUsd?: number;
|
|
56
|
+
autoReleaseBelowUsd?: number;
|
|
57
|
+
maxSteps: number;
|
|
58
|
+
paused: boolean;
|
|
59
|
+
createdAt: string;
|
|
60
|
+
tools: string[];
|
|
61
|
+
/** Present only when the profile grants something (swarm leads and members). */
|
|
62
|
+
grants?: ("read" | "delegate" | "allocate")[];
|
|
63
|
+
};
|
|
64
|
+
export type BackupSwarm = SwarmFile;
|
|
65
|
+
export type BackupMovement = Movement | {
|
|
66
|
+
v: 1;
|
|
67
|
+
id: string;
|
|
68
|
+
reason: "distribute";
|
|
69
|
+
from: string;
|
|
70
|
+
network: "eip155:8453" | "eip155:5042";
|
|
71
|
+
createdAt: string;
|
|
72
|
+
legs: {
|
|
73
|
+
to: string;
|
|
74
|
+
amountUsd: string;
|
|
75
|
+
nonce: string;
|
|
76
|
+
status: "planned" | "sent" | "failed" | "unknown";
|
|
77
|
+
txHash?: string;
|
|
78
|
+
reason?: string;
|
|
79
|
+
retryable?: boolean;
|
|
80
|
+
}[];
|
|
81
|
+
};
|
|
82
|
+
export type BackupTransferReceipt = {
|
|
83
|
+
id: string;
|
|
84
|
+
timestamp: string;
|
|
85
|
+
kind: "transfer";
|
|
86
|
+
wallet: string;
|
|
87
|
+
resourceUrl: string;
|
|
88
|
+
quote: {
|
|
89
|
+
network: string;
|
|
90
|
+
asset: string;
|
|
91
|
+
amountAtomic: string;
|
|
92
|
+
};
|
|
93
|
+
transfer: NonNullable<Receipt["transfer"]>;
|
|
94
|
+
error?: NonNullable<Receipt["error"]>;
|
|
95
|
+
};
|
|
96
|
+
export type BackupPlaintextV1 = {
|
|
32
97
|
v: 1;
|
|
33
98
|
phrase: string;
|
|
34
99
|
nextDerivedIndex: number;
|
|
35
100
|
accounts: BackupAccount[];
|
|
36
|
-
registry:
|
|
101
|
+
registry: BackupRegistryV1;
|
|
102
|
+
protected: boolean;
|
|
103
|
+
};
|
|
104
|
+
export type BackupPlaintextV2 = {
|
|
105
|
+
v: 2;
|
|
106
|
+
phrase: string;
|
|
107
|
+
nextDerivedIndex: number;
|
|
108
|
+
accounts: BackupAccount[];
|
|
109
|
+
registry: BackupRegistryV2;
|
|
37
110
|
protected: boolean;
|
|
111
|
+
agents?: BackupAgentProfile[];
|
|
112
|
+
swarms?: BackupSwarm[];
|
|
113
|
+
movements?: BackupMovement[];
|
|
114
|
+
transferReceipts?: BackupTransferReceipt[];
|
|
115
|
+
};
|
|
116
|
+
export type BackupPlaintext = BackupPlaintextV1 | BackupPlaintextV2;
|
|
117
|
+
export type BackupSourceV1 = Omit<BackupPlaintextV1, "v">;
|
|
118
|
+
export type BackupSourceV2 = Omit<BackupPlaintextV2, "v" | "agents" | "swarms" | "movements" | "transferReceipts"> & {
|
|
119
|
+
agents: BackupAgentProfile[];
|
|
120
|
+
swarms: BackupSwarm[];
|
|
121
|
+
movements: BackupMovement[];
|
|
122
|
+
transferReceipts: BackupTransferReceipt[];
|
|
123
|
+
skipped?: BackupExportSkipped[];
|
|
124
|
+
};
|
|
125
|
+
export type BackupSource = BackupSourceV1 | BackupSourceV2;
|
|
126
|
+
export type BackupOmittedSection = "agents" | "swarms" | "movements";
|
|
127
|
+
export type BackupExportSkipped = {
|
|
128
|
+
kind: "agent";
|
|
129
|
+
name: string;
|
|
130
|
+
reason: "invalid_profile";
|
|
131
|
+
};
|
|
132
|
+
export type BackupRestoreBaseResult = {
|
|
133
|
+
accounts: VaultAccount[];
|
|
134
|
+
default?: string;
|
|
135
|
+
protected: boolean;
|
|
136
|
+
networks: string[];
|
|
38
137
|
};
|
|
39
|
-
export type
|
|
138
|
+
export type BackupRestoreSkipped = {
|
|
139
|
+
kind: "agent" | "swarm" | "movement" | "receipt";
|
|
140
|
+
name: string;
|
|
141
|
+
reason: string;
|
|
142
|
+
};
|
|
143
|
+
export type BackupRestoreConflict = {
|
|
144
|
+
kind: BackupRestoreSkipped["kind"];
|
|
145
|
+
name: string;
|
|
146
|
+
path: string;
|
|
147
|
+
};
|
|
148
|
+
export type BackupRestoreV2Result = BackupRestoreBaseResult & {
|
|
149
|
+
agents: string[];
|
|
150
|
+
swarms: string[];
|
|
151
|
+
movements: MovementSummary[];
|
|
152
|
+
skipped: BackupRestoreSkipped[];
|
|
153
|
+
conflicts: BackupRestoreConflict[];
|
|
154
|
+
};
|
|
155
|
+
export type BackupRestoreResult = BackupRestoreBaseResult | BackupRestoreV2Result;
|
|
40
156
|
export type BackupKdf = {
|
|
41
157
|
name: "hkdf-sha256";
|
|
42
158
|
salt: string;
|
|
@@ -100,6 +216,10 @@ type OwnerKey = {
|
|
|
100
216
|
key: Uint8Array;
|
|
101
217
|
salt: Uint8Array;
|
|
102
218
|
};
|
|
219
|
+
type RestorePublishStep = {
|
|
220
|
+
kind: "marker" | "safety" | "vault" | "registry" | "agent" | "swarm" | "movement";
|
|
221
|
+
name?: string;
|
|
222
|
+
};
|
|
103
223
|
export declare function VAULT_BACKUP_TYPED_DATA(owner: string): VaultBackupTypedData;
|
|
104
224
|
export declare function normalizeSignature(signature: SignatureInput): Uint8Array;
|
|
105
225
|
export declare function deriveKeyFromSignature(options: {
|
|
@@ -128,6 +248,7 @@ export declare function createBackup(options: {
|
|
|
128
248
|
}): Promise<{
|
|
129
249
|
envelope: string;
|
|
130
250
|
bytes: number;
|
|
251
|
+
omitted?: BackupOmittedSection[];
|
|
131
252
|
}>;
|
|
132
253
|
export declare function openBackup(options: {
|
|
133
254
|
envelope: string;
|
|
@@ -150,37 +271,39 @@ export declare function openSealed(options: {
|
|
|
150
271
|
recipientPrivateKey: Uint8Array;
|
|
151
272
|
sealed: string;
|
|
152
273
|
}): Uint8Array;
|
|
274
|
+
export declare function buildRelayRestorePayload(options: {
|
|
275
|
+
owner: string;
|
|
276
|
+
device: string;
|
|
277
|
+
kdf: BackupKdf;
|
|
278
|
+
key: Uint8Array;
|
|
279
|
+
vault: BackupPlaintext;
|
|
280
|
+
}): string;
|
|
153
281
|
export declare function exportBackupSource(options: {
|
|
154
282
|
store: WalletStore;
|
|
155
283
|
vaultKey: Uint8Array;
|
|
156
284
|
networks?: readonly string[];
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
vaultKey: Uint8Array;
|
|
162
|
-
now?: () => Date;
|
|
163
|
-
}): Promise<{
|
|
164
|
-
accounts: VaultAccount[];
|
|
165
|
-
default?: string;
|
|
166
|
-
protected: boolean;
|
|
167
|
-
networks: string[];
|
|
168
|
-
}>;
|
|
169
|
-
export declare function parseBackupPlaintext(value: unknown): BackupPlaintext;
|
|
170
|
-
export declare function restoreBackupPlaintext(options: {
|
|
171
|
-
plaintext: BackupPlaintext;
|
|
285
|
+
agentProfileSchema?: AgentProfileParser;
|
|
286
|
+
}): Promise<BackupSourceV2>;
|
|
287
|
+
type RestoreFromBackupOptions<T extends BackupPlaintext = BackupPlaintext> = {
|
|
288
|
+
plaintext: T;
|
|
172
289
|
home: string;
|
|
173
290
|
vaultKey: Uint8Array;
|
|
174
291
|
now?: () => Date;
|
|
292
|
+
device?: string;
|
|
293
|
+
};
|
|
294
|
+
type RestoreBackupPlaintextOptions<T extends BackupPlaintext = BackupPlaintext> = RestoreFromBackupOptions<T> & {
|
|
175
295
|
beforePublish?: (paths: {
|
|
176
296
|
vault: string;
|
|
177
297
|
registry: string;
|
|
178
298
|
}) => Promise<void>;
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
299
|
+
afterPublish?: (step: RestorePublishStep) => Promise<void>;
|
|
300
|
+
};
|
|
301
|
+
export declare function restoreFromBackup(options: RestoreFromBackupOptions<BackupPlaintextV1>): Promise<BackupRestoreBaseResult>;
|
|
302
|
+
export declare function restoreFromBackup(options: RestoreFromBackupOptions<BackupPlaintextV2>): Promise<BackupRestoreV2Result>;
|
|
303
|
+
export declare function restoreFromBackup(options: RestoreFromBackupOptions): Promise<BackupRestoreResult>;
|
|
304
|
+
export declare function parseBackupPlaintext(value: unknown): BackupPlaintext;
|
|
305
|
+
export declare function restoreBackupPlaintext(options: RestoreBackupPlaintextOptions<BackupPlaintextV1>): Promise<BackupRestoreBaseResult>;
|
|
306
|
+
export declare function restoreBackupPlaintext(options: RestoreBackupPlaintextOptions<BackupPlaintextV2>): Promise<BackupRestoreV2Result>;
|
|
307
|
+
export declare function restoreBackupPlaintext(options: RestoreBackupPlaintextOptions): Promise<BackupRestoreResult>;
|
|
185
308
|
export {};
|
|
186
309
|
//# sourceMappingURL=backup.d.ts.map
|
package/dist/backup.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backup.d.ts","sourceRoot":"","sources":["../src/backup.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"backup.d.ts","sourceRoot":"","sources":["../src/backup.ts"],"names":[],"mappings":"AAsCA,OAAO,EAAyC,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAEpG,OAAO,EAML,KAAK,SAAS,EACf,MAAM,aAAa,CAAC;AAGrB,OAAO,EAOL,KAAK,QAAQ,EACb,KAAK,eAAe,EACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAuD,KAAK,OAAO,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AACzE,OAAO,EAEL,KAAK,YAAY,EAEjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EASL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAC;AAEpB,MAAM,MAAM,eAAe,GACvB,kBAAkB,GAClB,oBAAoB,GACpB,oBAAoB,GACpB,uBAAuB,GACvB,eAAe,GACf,sBAAs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