@axiom-lattice/core 2.1.82 → 2.1.83
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 +6 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7623,9 +7623,6 @@ var SandboxLatticeManager = class _SandboxLatticeManager extends BaseLatticeMana
|
|
|
7623
7623
|
return this.keys();
|
|
7624
7624
|
}
|
|
7625
7625
|
resolvePolicy(config) {
|
|
7626
|
-
if (config.vmIsolation) {
|
|
7627
|
-
return { vmIsolation: config.vmIsolation };
|
|
7628
|
-
}
|
|
7629
7626
|
if (config.projectId) {
|
|
7630
7627
|
return { vmIsolation: "project" };
|
|
7631
7628
|
}
|
|
@@ -15813,6 +15810,7 @@ function createFilesystemBackendFactory(middlewareConfigs) {
|
|
|
15813
15810
|
return async (stateAndStore) => {
|
|
15814
15811
|
const { tenantId, workspaceId, projectId, assistant_id, threadId } = stateAndStore;
|
|
15815
15812
|
const sandboxManager = getSandBoxManager();
|
|
15813
|
+
console.log(`[filesystemBackend] creating sandbox: tenantId=${tenantId} workspaceId=${workspaceId} projectId=${projectId} assistant_id=${assistant_id} threadId=${threadId} vmIsolation=${filesystemConfig.config?.vmIsolation || "(default)"}`);
|
|
15816
15814
|
const sandbox = await sandboxManager.getSandboxFromConfig({
|
|
15817
15815
|
assistant_id: assistant_id || "",
|
|
15818
15816
|
thread_id: threadId || "",
|
|
@@ -24261,6 +24259,7 @@ var MicrosandboxServiceClient = class {
|
|
|
24261
24259
|
);
|
|
24262
24260
|
}
|
|
24263
24261
|
async volumeFsList(volumeName, path3) {
|
|
24262
|
+
console.log(`[volumeFsList] volume=${volumeName} path="${path3}" url=POST /api/volumes/${encodeURIComponent(volumeName)}/fs/list`);
|
|
24264
24263
|
const result = await this.request(
|
|
24265
24264
|
`/api/volumes/${encodeURIComponent(volumeName)}/fs/list`,
|
|
24266
24265
|
{
|
|
@@ -24268,6 +24267,10 @@ var MicrosandboxServiceClient = class {
|
|
|
24268
24267
|
body: { path: path3 }
|
|
24269
24268
|
}
|
|
24270
24269
|
);
|
|
24270
|
+
console.log(
|
|
24271
|
+
`[volumeFsList] result: ${result.entries.length} entries:`,
|
|
24272
|
+
result.entries.map((e) => `${e.path} (kind=${e.kind})`).join(", ")
|
|
24273
|
+
);
|
|
24271
24274
|
return result.entries;
|
|
24272
24275
|
}
|
|
24273
24276
|
async volumeFsDownload(volumeName, path3) {
|