@vaultkeepr/cli 0.0.0-stage → 0.2.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.js ADDED
@@ -0,0 +1,215 @@
1
+ import {
2
+ ACCENT_CORAL,
3
+ APP_SLOGAN,
4
+ CID_UPDATE_PREFIX,
5
+ CONFIG_DIR_ENV,
6
+ CONFIG_DIR_NAME,
7
+ DEFAULT_API_BASE,
8
+ ENTRY_KINDS,
9
+ FORM_FIELDS,
10
+ KIND_LABELS,
11
+ LEGACY_CONFIG_DIR_NAME,
12
+ MENU_ACTIONS,
13
+ MIN_FULL_BANNER_COLUMNS,
14
+ PromptCancelledError,
15
+ QR_QUIET_ZONE,
16
+ Spinner,
17
+ USAGE,
18
+ VAULT_SUMMARY_FILENAME,
19
+ VERSION,
20
+ WORDMARK,
21
+ WORDMARK_WIDTH,
22
+ accountForIdentity,
23
+ ask,
24
+ buildEntry,
25
+ buildVaultSummary,
26
+ clackPrompter,
27
+ clipboardCandidates,
28
+ colorEnabled,
29
+ commandMenu,
30
+ completionScript,
31
+ configPaths,
32
+ copyToClipboard,
33
+ createHttpSyncTransport,
34
+ createPairTransport,
35
+ defaultIO,
36
+ derivePayloadKey,
37
+ emptySyncState,
38
+ emptyVault,
39
+ ensurePrivateDir,
40
+ entryKind,
41
+ entryLabel,
42
+ entrySecret,
43
+ filterByKind,
44
+ findEntry,
45
+ formHintForField,
46
+ formValuesFromEntry,
47
+ formatDate,
48
+ formatProofMessage,
49
+ formatTable,
50
+ formatWhen,
51
+ identityFromPairPayload,
52
+ interactiveTTY,
53
+ isEntryKind,
54
+ listDelegatableEntries,
55
+ loadIdentity,
56
+ loadLocalVault,
57
+ loadSyncState,
58
+ main,
59
+ migrateLegacyConfigDir,
60
+ newPairKeypair,
61
+ openPairPayload,
62
+ openVaultPayload,
63
+ pairUri,
64
+ palette,
65
+ parseArgs,
66
+ parseIdentity,
67
+ payloadKeyMaterial,
68
+ plainPrompter,
69
+ publishVault,
70
+ pullMerge,
71
+ redactAddress,
72
+ redactCid,
73
+ renderBanner,
74
+ renderCompactHeader,
75
+ renderMiniHeader,
76
+ renderQr,
77
+ renderTerminalQr,
78
+ runAdd,
79
+ runAgentMandate,
80
+ runCompletions,
81
+ runDelete,
82
+ runEdit,
83
+ runGet,
84
+ runList,
85
+ runPair,
86
+ runStatus,
87
+ runSync,
88
+ runSyncLoop,
89
+ saveIdentity,
90
+ saveLocalVault,
91
+ saveSyncState,
92
+ sealVaultPayload,
93
+ syncOnce,
94
+ updateEntryFromValues,
95
+ vaultSummaryPath,
96
+ vaultkeeprConfigDir,
97
+ writeVaultSummary
98
+ } from "./chunk-UUCFTCF4.js";
99
+ import "./chunk-XJMVKU2V.js";
100
+ import "./chunk-GOWAFN6V.js";
101
+ import "./chunk-I25CVPG3.js";
102
+ import "./chunk-UDT2YIGY.js";
103
+ import {
104
+ AGENT_SUBCOMMANDS,
105
+ agentBinaryCandidates,
106
+ agentUsage,
107
+ resolveAgentBinaries,
108
+ runAgentDispatch,
109
+ spawnAgentBinary
110
+ } from "./chunk-V4QISPBH.js";
111
+ import "./chunk-4VNS5WPM.js";
112
+ export {
113
+ ACCENT_CORAL,
114
+ AGENT_SUBCOMMANDS,
115
+ APP_SLOGAN,
116
+ CID_UPDATE_PREFIX,
117
+ CONFIG_DIR_ENV,
118
+ CONFIG_DIR_NAME,
119
+ DEFAULT_API_BASE,
120
+ ENTRY_KINDS,
121
+ FORM_FIELDS,
122
+ KIND_LABELS,
123
+ LEGACY_CONFIG_DIR_NAME,
124
+ MENU_ACTIONS,
125
+ MIN_FULL_BANNER_COLUMNS,
126
+ PromptCancelledError,
127
+ QR_QUIET_ZONE,
128
+ Spinner,
129
+ USAGE,
130
+ VAULT_SUMMARY_FILENAME,
131
+ VERSION,
132
+ WORDMARK,
133
+ WORDMARK_WIDTH,
134
+ accountForIdentity,
135
+ agentBinaryCandidates,
136
+ agentUsage,
137
+ ask,
138
+ buildEntry,
139
+ buildVaultSummary,
140
+ clackPrompter,
141
+ clipboardCandidates,
142
+ colorEnabled,
143
+ commandMenu,
144
+ completionScript,
145
+ configPaths,
146
+ copyToClipboard,
147
+ createHttpSyncTransport,
148
+ createPairTransport,
149
+ defaultIO,
150
+ derivePayloadKey,
151
+ emptySyncState,
152
+ emptyVault,
153
+ ensurePrivateDir,
154
+ entryKind,
155
+ entryLabel,
156
+ entrySecret,
157
+ filterByKind,
158
+ findEntry,
159
+ formHintForField,
160
+ formValuesFromEntry,
161
+ formatDate,
162
+ formatProofMessage,
163
+ formatTable,
164
+ formatWhen,
165
+ identityFromPairPayload,
166
+ interactiveTTY,
167
+ isEntryKind,
168
+ listDelegatableEntries,
169
+ loadIdentity,
170
+ loadLocalVault,
171
+ loadSyncState,
172
+ main,
173
+ migrateLegacyConfigDir,
174
+ newPairKeypair,
175
+ openPairPayload,
176
+ openVaultPayload,
177
+ pairUri,
178
+ palette,
179
+ parseArgs,
180
+ parseIdentity,
181
+ payloadKeyMaterial,
182
+ plainPrompter,
183
+ publishVault,
184
+ pullMerge,
185
+ redactAddress,
186
+ redactCid,
187
+ renderBanner,
188
+ renderCompactHeader,
189
+ renderMiniHeader,
190
+ renderQr,
191
+ renderTerminalQr,
192
+ resolveAgentBinaries,
193
+ runAdd,
194
+ runAgentDispatch,
195
+ runAgentMandate,
196
+ runCompletions,
197
+ runDelete,
198
+ runEdit,
199
+ runGet,
200
+ runList,
201
+ runPair,
202
+ runStatus,
203
+ runSync,
204
+ runSyncLoop,
205
+ saveIdentity,
206
+ saveLocalVault,
207
+ saveSyncState,
208
+ sealVaultPayload,
209
+ spawnAgentBinary,
210
+ syncOnce,
211
+ updateEntryFromValues,
212
+ vaultSummaryPath,
213
+ vaultkeeprConfigDir,
214
+ writeVaultSummary
215
+ };
@@ -0,0 +1,16 @@
1
+ import {
2
+ encodeToCurve,
3
+ hashToCurve,
4
+ schnorr,
5
+ secp256k1,
6
+ secp256k1_hasher
7
+ } from "./chunk-GOWAFN6V.js";
8
+ import "./chunk-UDT2YIGY.js";
9
+ import "./chunk-4VNS5WPM.js";
10
+ export {
11
+ encodeToCurve,
12
+ hashToCurve,
13
+ schnorr,
14
+ secp256k1,
15
+ secp256k1_hasher
16
+ };
package/package.json CHANGED
@@ -1,6 +1,44 @@
1
1
  {
2
2
  "name": "@vaultkeepr/cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "publishConfig": {
4
+ "access": "public"
5
+ },
6
+ "version": "0.2.0",
7
+ "description": "VaultKeepR terminal client (vaultkeepr): QR pairing, continuous Automerge/IPNS sync, vault commands.",
8
+ "type": "module",
9
+ "main": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js",
15
+ "default": "./dist/index.js"
16
+ }
17
+ },
18
+ "bin": {
19
+ "vaultkeepr": "dist/cli.js"
20
+ },
21
+ "files": [
22
+ "dist"
23
+ ],
24
+ "scripts": {
25
+ "build": "tsup",
26
+ "typecheck": "tsc --noEmit",
27
+ "test": "vitest run"
28
+ },
29
+ "dependencies": {
30
+ "@automerge/automerge": "^3.2.6",
31
+ "@clack/prompts": "^1.9.0",
32
+ "@vaultkeepr/core": "*",
33
+ "@vaultkeepr/ipfs": "*",
34
+ "@vaultkeepr/sync": "*",
35
+ "qrcode-terminal": "^0.12.0"
36
+ },
37
+ "devDependencies": {
38
+ "@types/node": "^22.9.0",
39
+ "tsup": "^8.3.5",
40
+ "typescript": "^5.6.3",
41
+ "vitest": "^3.2.4"
42
+ },
43
+ "license": "MIT"
44
+ }