@verana-labs/vs-agent-sdk 1.12.0-dev.8 → 1.12.0-dev.9
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.
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { AnonCredsRevocationRegistryDefinition } from '@credo-ts/anoncreds';
|
|
2
2
|
import type { AgentContext } from '@credo-ts/core';
|
|
3
3
|
import { BasicTailsFileService } from '@credo-ts/anoncreds';
|
|
4
|
+
export declare function isValidTailsFileName(name: string): boolean;
|
|
5
|
+
export declare function getTailsDirectoryPath(agentContext: AgentContext): string;
|
|
6
|
+
export declare function migrateLegacyTailsFiles(agentContext: AgentContext): void;
|
|
4
7
|
export declare class FullTailsFileService extends BasicTailsFileService {
|
|
5
8
|
private tailsServerBaseUrl;
|
|
6
9
|
constructor(options: {
|
|
7
|
-
tailsDirectoryPath?: string;
|
|
8
10
|
tailsServerBaseUrl: string;
|
|
9
11
|
});
|
|
10
12
|
uploadTailsFile(agentContext: AgentContext, options: {
|
|
@@ -13,6 +15,4 @@ export declare class FullTailsFileService extends BasicTailsFileService {
|
|
|
13
15
|
tailsFileUrl: string;
|
|
14
16
|
}>;
|
|
15
17
|
}
|
|
16
|
-
export declare
|
|
17
|
-
export declare const tailsIndex: Record<string, string>;
|
|
18
|
-
export declare function deleteTailsEntry(tailsFileUrl: string): void;
|
|
18
|
+
export declare function deleteTailsFile(agentContext: AgentContext, tailsFileUrl: string): void;
|
|
@@ -3,86 +3,97 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.FullTailsFileService = void 0;
|
|
7
|
+
exports.isValidTailsFileName = isValidTailsFileName;
|
|
8
|
+
exports.getTailsDirectoryPath = getTailsDirectoryPath;
|
|
9
|
+
exports.migrateLegacyTailsFiles = migrateLegacyTailsFiles;
|
|
10
|
+
exports.deleteTailsFile = deleteTailsFile;
|
|
8
11
|
const anoncreds_1 = require("@credo-ts/anoncreds");
|
|
9
12
|
const core_1 = require("@credo-ts/core");
|
|
10
13
|
const crypto_1 = require("crypto");
|
|
11
14
|
const fs_1 = __importDefault(require("fs"));
|
|
12
15
|
const os_1 = __importDefault(require("os"));
|
|
13
16
|
const path_1 = __importDefault(require("path"));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
this.tailsServerBaseUrl = options.tailsServerBaseUrl;
|
|
18
|
-
}
|
|
19
|
-
async uploadTailsFile(agentContext, options) {
|
|
20
|
-
const revocationRegistryDefinition = options.revocationRegistryDefinition;
|
|
21
|
-
const localTailsFilePath = revocationRegistryDefinition.value.tailsLocation;
|
|
22
|
-
const tailsFileId = core_1.utils.uuid();
|
|
23
|
-
await saveTailsFile(localTailsFilePath, tailsFileId, agentContext.config.logger);
|
|
24
|
-
return { tailsFileUrl: `${this.tailsServerBaseUrl}/${encodeURIComponent(tailsFileId)}` };
|
|
25
|
-
}
|
|
17
|
+
const tailsFileNamePattern = /^[A-Za-z0-9-]+$/;
|
|
18
|
+
function isValidTailsFileName(name) {
|
|
19
|
+
return tailsFileNamePattern.test(name);
|
|
26
20
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
21
|
+
function getTailsDirectoryPath(agentContext) {
|
|
22
|
+
if (process.env.TAILS_DIRECTORY_PATH)
|
|
23
|
+
return process.env.TAILS_DIRECTORY_PATH;
|
|
24
|
+
const fileSystem = agentContext.dependencyManager.resolve(core_1.InjectionSymbols.FileSystem);
|
|
25
|
+
return path_1.default.join(fileSystem.dataPath, 'tails');
|
|
32
26
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
// Copy uuid tails files from earlier locations (TAILS_DIRECTORY_PATH, ~/.afj/tails, the old cwd ./tails) into the current dir so URLs published before the hash-based change still resolve.
|
|
28
|
+
// TODO (last legacy version: v1.12.0-dev.8): Remove this once the last release using the legacy configuration is no longer supported.
|
|
29
|
+
function migrateLegacyTailsFiles(agentContext) {
|
|
30
|
+
const directory = getTailsDirectoryPath(agentContext);
|
|
31
|
+
const legacyDirectories = [
|
|
32
|
+
process.env.TAILS_DIRECTORY_PATH,
|
|
33
|
+
path_1.default.join(os_1.default.homedir(), '.afj', 'tails'),
|
|
34
|
+
path_1.default.resolve('tails'),
|
|
35
|
+
];
|
|
36
|
+
for (const legacyDirectory of new Set(legacyDirectories.filter((d) => Boolean(d)))) {
|
|
37
37
|
try {
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
const legacyIndexPath = path_1.default.join(legacyDirectory, 'index.json');
|
|
39
|
+
if (!fs_1.default.existsSync(legacyIndexPath))
|
|
40
|
+
continue;
|
|
41
|
+
const legacyIndex = JSON.parse(fs_1.default.readFileSync(legacyIndexPath, 'utf-8'));
|
|
42
|
+
fs_1.default.mkdirSync(directory, { recursive: true });
|
|
43
|
+
let migrated = 0;
|
|
44
|
+
for (const [tailsFileId, hash] of Object.entries(legacyIndex)) {
|
|
45
|
+
if (!isValidTailsFileName(tailsFileId) || !isValidTailsFileName(hash))
|
|
46
|
+
continue;
|
|
47
|
+
const source = path_1.default.join(legacyDirectory, hash);
|
|
48
|
+
const destination = path_1.default.join(directory, tailsFileId);
|
|
49
|
+
if (!fs_1.default.existsSync(source) || fs_1.default.existsSync(destination))
|
|
50
|
+
continue;
|
|
51
|
+
const tempPath = path_1.default.join(directory, `.${tailsFileId}.${process.pid}.${(0, crypto_1.randomBytes)(8).toString('hex')}.tmp`);
|
|
52
|
+
try {
|
|
53
|
+
fs_1.default.copyFileSync(source, tempPath);
|
|
54
|
+
fs_1.default.renameSync(tempPath, destination);
|
|
55
|
+
migrated++;
|
|
56
|
+
}
|
|
57
|
+
catch (fileError) {
|
|
58
|
+
try {
|
|
59
|
+
fs_1.default.unlinkSync(tempPath);
|
|
60
|
+
}
|
|
61
|
+
catch (_a) { }
|
|
62
|
+
agentContext.config.logger.warn(`Legacy tails file ${tailsFileId} skipped: ${fileError.message}`);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
if (migrated > 0)
|
|
66
|
+
agentContext.config.logger.info(`Migrated ${migrated} legacy tails file(s) from ${legacyDirectory}`);
|
|
47
67
|
}
|
|
48
68
|
catch (error) {
|
|
49
|
-
|
|
69
|
+
agentContext.config.logger.warn(`Legacy tails migration skipped for ${legacyDirectory}: ${error.message}`);
|
|
50
70
|
}
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
function deleteTailsEntry(tailsFileUrl) {
|
|
54
|
-
var _a;
|
|
55
|
-
const tailsFileId = decodeURIComponent((_a = tailsFileUrl.split('/').pop()) !== null && _a !== void 0 ? _a : '');
|
|
56
|
-
if (!tailsFileId || !exports.tailsIndex[tailsFileId])
|
|
57
|
-
return;
|
|
58
|
-
const hash = exports.tailsIndex[tailsFileId];
|
|
59
|
-
delete exports.tailsIndex[tailsFileId];
|
|
60
|
-
fs_1.default.writeFileSync(indexFilePath, JSON.stringify(exports.tailsIndex));
|
|
61
|
-
const stillReferenced = Object.values(exports.tailsIndex).includes(hash);
|
|
62
|
-
if (!stillReferenced) {
|
|
63
|
-
const filePath = `${exports.baseFilePath}/${hash}`;
|
|
64
|
-
if (fs_1.default.existsSync(filePath))
|
|
65
|
-
fs_1.default.unlinkSync(filePath);
|
|
66
71
|
}
|
|
67
72
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
if (!tailsFileId)
|
|
73
|
-
throw new Error('Missing tailsFileId');
|
|
74
|
-
if (exports.tailsIndex[tailsFileId])
|
|
75
|
-
throw new Error(`There is already an entry for: ${tailsFileId}`);
|
|
76
|
-
const hash = await fileHash(localFilePath);
|
|
77
|
-
const destinationPath = `${exports.baseFilePath}/${hash}`;
|
|
78
|
-
if (fs_1.default.existsSync(destinationPath)) {
|
|
79
|
-
logger.warn('Tails file already exists');
|
|
73
|
+
class FullTailsFileService extends anoncreds_1.BasicTailsFileService {
|
|
74
|
+
constructor(options) {
|
|
75
|
+
super();
|
|
76
|
+
this.tailsServerBaseUrl = options.tailsServerBaseUrl;
|
|
80
77
|
}
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
async uploadTailsFile(agentContext, options) {
|
|
79
|
+
const { tailsLocation, tailsHash } = options.revocationRegistryDefinition.value;
|
|
80
|
+
const directory = getTailsDirectoryPath(agentContext);
|
|
81
|
+
await fs_1.default.promises.mkdir(directory, { recursive: true });
|
|
82
|
+
const destination = path_1.default.join(directory, tailsHash);
|
|
83
|
+
if (!fs_1.default.existsSync(destination))
|
|
84
|
+
await fs_1.default.promises.copyFile(tailsLocation, destination);
|
|
85
|
+
agentContext.config.logger.info(`Stored tails file ${tailsHash}`);
|
|
86
|
+
return { tailsFileUrl: `${this.tailsServerBaseUrl}/${encodeURIComponent(tailsHash)}` };
|
|
83
87
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
88
|
+
}
|
|
89
|
+
exports.FullTailsFileService = FullTailsFileService;
|
|
90
|
+
function deleteTailsFile(agentContext, tailsFileUrl) {
|
|
91
|
+
var _a;
|
|
92
|
+
const tailsHash = decodeURIComponent((_a = tailsFileUrl.split('/').pop()) !== null && _a !== void 0 ? _a : '');
|
|
93
|
+
if (!isValidTailsFileName(tailsHash))
|
|
94
|
+
return;
|
|
95
|
+
const filePath = path_1.default.join(getTailsDirectoryPath(agentContext), tailsHash);
|
|
96
|
+
if (fs_1.default.existsSync(filePath))
|
|
97
|
+
fs_1.default.unlinkSync(filePath);
|
|
87
98
|
}
|
|
88
99
|
//# sourceMappingURL=FullTailsFileService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FullTailsFileService.js","sourceRoot":"","sources":["../../src/credentials/FullTailsFileService.ts"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"FullTailsFileService.js","sourceRoot":"","sources":["../../src/credentials/FullTailsFileService.ts"],"names":[],"mappings":";;;;;;AAYA,oDAEC;AAED,sDAIC;AAID,0DA6CC;AA2BD,0CAMC;AAnGD,mDAA2D;AAC3D,yCAAiD;AACjD,mCAAoC;AACpC,4CAAmB;AACnB,4CAAmB;AACnB,gDAAuB;AAEvB,MAAM,oBAAoB,GAAG,iBAAiB,CAAA;AAE9C,SAAgB,oBAAoB,CAAC,IAAY;IAC/C,OAAO,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACxC,CAAC;AAED,SAAgB,qBAAqB,CAAC,YAA0B;IAC9D,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB;QAAE,OAAO,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAA;IAC7E,MAAM,UAAU,GAAG,YAAY,CAAC,iBAAiB,CAAC,OAAO,CAAa,uBAAgB,CAAC,UAAU,CAAC,CAAA;IAClG,OAAO,cAAI,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;AAChD,CAAC;AAED,4LAA4L;AAC5L,sIAAsI;AACtI,SAAgB,uBAAuB,CAAC,YAA0B;IAChE,MAAM,SAAS,GAAG,qBAAqB,CAAC,YAAY,CAAC,CAAA;IACrD,MAAM,iBAAiB,GAAG;QACxB,OAAO,CAAC,GAAG,CAAC,oBAAoB;QAChC,cAAI,CAAC,IAAI,CAAC,YAAE,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC;QACxC,cAAI,CAAC,OAAO,CAAC,OAAO,CAAC;KACtB,CAAA;IACD,KAAK,MAAM,eAAe,IAAI,IAAI,GAAG,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAe,EAAE,CAAC,OAAO,CAAC,CAAC,C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E,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,EAAE,WAAW,CAAC,CAAA;QAEvF,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,qBAAqB,SAAS,EAAE,CAAC,CAAA;QACjE,OAAO,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC,kBAAkB,IAAI,kBAAkB,CAAC,SAAS,CAAC,EAAE,EAAE,CAAA;IACxF,CAAC;CACF;AAvBD,oDAuBC;AAED,SAAgB,eAAe,CAAC,YAA0B,EAAE,YAAoB;;IAC9E,MAAM,SAAS,GAAG,kBAAkB,CAAC,MAAA,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,mCAAI,EAAE,CAAC,CAAA;IACzE,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC;QAAE,OAAM;IAE5C,MAAM,QAAQ,GAAG,cAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,YAAY,CAAC,EAAE,SAAS,CAAC,CAAA;IAC1E,IAAI,YAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;QAAE,YAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAA;AACtD,CAAC"}
|
package/build/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export { getLegacyDidDocument } from './did/legacyDidWeb';
|
|
|
9
9
|
export { HttpInboundTransport, HttpTransportSession } from './transports/HttpInboundTransport';
|
|
10
10
|
export { VsAgentWsInboundTransport, WebSocketTransportSession } from './transports/VsAgentWsInboundTransport';
|
|
11
11
|
export { VsAgentWsOutboundTransport } from './transports/VsAgentWsOutboundTransport';
|
|
12
|
-
export { FullTailsFileService,
|
|
12
|
+
export { FullTailsFileService, getTailsDirectoryPath, deleteTailsFile, isValidTailsFileName, migrateLegacyTailsFiles, } from './credentials/FullTailsFileService';
|
|
13
13
|
export * from './utils';
|
|
14
14
|
export * from './blockchain';
|
|
15
15
|
export * from './vtFlow';
|
package/build/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
17
|
+
exports.migrateLegacyTailsFiles = exports.isValidTailsFileName = exports.deleteTailsFile = exports.getTailsDirectoryPath = exports.FullTailsFileService = exports.VsAgentWsOutboundTransport = exports.WebSocketTransportSession = exports.VsAgentWsInboundTransport = exports.HttpTransportSession = exports.HttpInboundTransport = exports.getLegacyDidDocument = exports.WebDidRegistrar = exports.CachedWebDidResolver = exports.setupBaseDidComm = void 0;
|
|
18
18
|
// Agent
|
|
19
19
|
__exportStar(require("./agent"), exports);
|
|
20
20
|
__exportStar(require("./types"), exports);
|
|
@@ -42,9 +42,10 @@ Object.defineProperty(exports, "VsAgentWsOutboundTransport", { enumerable: true,
|
|
|
42
42
|
// Credentials
|
|
43
43
|
var FullTailsFileService_1 = require("./credentials/FullTailsFileService");
|
|
44
44
|
Object.defineProperty(exports, "FullTailsFileService", { enumerable: true, get: function () { return FullTailsFileService_1.FullTailsFileService; } });
|
|
45
|
-
Object.defineProperty(exports, "
|
|
46
|
-
Object.defineProperty(exports, "
|
|
47
|
-
Object.defineProperty(exports, "
|
|
45
|
+
Object.defineProperty(exports, "getTailsDirectoryPath", { enumerable: true, get: function () { return FullTailsFileService_1.getTailsDirectoryPath; } });
|
|
46
|
+
Object.defineProperty(exports, "deleteTailsFile", { enumerable: true, get: function () { return FullTailsFileService_1.deleteTailsFile; } });
|
|
47
|
+
Object.defineProperty(exports, "isValidTailsFileName", { enumerable: true, get: function () { return FullTailsFileService_1.isValidTailsFileName; } });
|
|
48
|
+
Object.defineProperty(exports, "migrateLegacyTailsFiles", { enumerable: true, get: function () { return FullTailsFileService_1.migrateLegacyTailsFiles; } });
|
|
48
49
|
// Utils
|
|
49
50
|
__exportStar(require("./utils"), exports);
|
|
50
51
|
__exportStar(require("./blockchain"), exports);
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,QAAQ;AACR,0CAAuB;AACvB,0CAAuB;AAEvB,SAAS;AACT,2CAAwB;AAExB,UAAU;AACV,+DAA6D;AAApD,oHAAA,gBAAgB,OAAA;AAGzB,gBAAgB;AAChB,mEAAiE;AAAxD,4HAAA,oBAAoB,OAAA;AAC7B,yDAAuD;AAA9C,kHAAA,eAAe,OAAA;AACxB,mDAAyD;AAAhD,oHAAA,oBAAoB,OAAA;AAE7B,aAAa;AACb,0EAA8F;AAArF,4HAAA,oBAAoB,OAAA;AAAE,4HAAA,oBAAoB,OAAA;AACnD,oFAA6G;AAApG,sIAAA,yBAAyB,OAAA;AAAE,sIAAA,yBAAyB,OAAA;AAC7D,sFAAoF;AAA3E,wIAAA,0BAA0B,OAAA;AAEnC,cAAc;AACd,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,QAAQ;AACR,0CAAuB;AACvB,0CAAuB;AAEvB,SAAS;AACT,2CAAwB;AAExB,UAAU;AACV,+DAA6D;AAApD,oHAAA,gBAAgB,OAAA;AAGzB,gBAAgB;AAChB,mEAAiE;AAAxD,4HAAA,oBAAoB,OAAA;AAC7B,yDAAuD;AAA9C,kHAAA,eAAe,OAAA;AACxB,mDAAyD;AAAhD,oHAAA,oBAAoB,OAAA;AAE7B,aAAa;AACb,0EAA8F;AAArF,4HAAA,oBAAoB,OAAA;AAAE,4HAAA,oBAAoB,OAAA;AACnD,oFAA6G;AAApG,sIAAA,yBAAyB,OAAA;AAAE,sIAAA,yBAAyB,OAAA;AAC7D,sFAAoF;AAA3E,wIAAA,0BAA0B,OAAA;AAEnC,cAAc;AACd,2EAM2C;AALzC,4HAAA,oBAAoB,OAAA;AACpB,6HAAA,qBAAqB,OAAA;AACrB,uHAAA,eAAe,OAAA;AACf,4HAAA,oBAAoB,OAAA;AACpB,+HAAA,uBAAuB,OAAA;AAGzB,QAAQ;AACR,0CAAuB;AAEvB,+CAA4B;AAC5B,2CAAwB"}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"default": "./build/index.js"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
"version": "1.12.0-dev.
|
|
12
|
+
"version": "1.12.0-dev.9",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "https://github.com/verana-labs/vs-agent"
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"didwebvh-ts": "^2.7.4",
|
|
43
43
|
"express": "^4.18.1",
|
|
44
44
|
"tsyringe": "4.8.0",
|
|
45
|
-
"@verana-labs/
|
|
46
|
-
"@verana-labs/
|
|
45
|
+
"@verana-labs/vs-agent-model": "1.12.0-dev.9",
|
|
46
|
+
"@verana-labs/credo-ts-didcomm-vt-flow": "1.12.0-dev.9"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@credo-ts/core": "0.7.1-pr-2704-20260630143332",
|