@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.mjs
CHANGED
|
@@ -5884,9 +5884,6 @@ var SandboxLatticeManager = class _SandboxLatticeManager extends BaseLatticeMana
|
|
|
5884
5884
|
return this.keys();
|
|
5885
5885
|
}
|
|
5886
5886
|
resolvePolicy(config) {
|
|
5887
|
-
if (config.vmIsolation) {
|
|
5888
|
-
return { vmIsolation: config.vmIsolation };
|
|
5889
|
-
}
|
|
5890
5887
|
if (config.projectId) {
|
|
5891
5888
|
return { vmIsolation: "project" };
|
|
5892
5889
|
}
|
|
@@ -14087,6 +14084,7 @@ function createFilesystemBackendFactory(middlewareConfigs) {
|
|
|
14087
14084
|
return async (stateAndStore) => {
|
|
14088
14085
|
const { tenantId, workspaceId, projectId, assistant_id, threadId } = stateAndStore;
|
|
14089
14086
|
const sandboxManager = getSandBoxManager();
|
|
14087
|
+
console.log(`[filesystemBackend] creating sandbox: tenantId=${tenantId} workspaceId=${workspaceId} projectId=${projectId} assistant_id=${assistant_id} threadId=${threadId} vmIsolation=${filesystemConfig.config?.vmIsolation || "(default)"}`);
|
|
14090
14088
|
const sandbox = await sandboxManager.getSandboxFromConfig({
|
|
14091
14089
|
assistant_id: assistant_id || "",
|
|
14092
14090
|
thread_id: threadId || "",
|
|
@@ -22549,6 +22547,7 @@ var MicrosandboxServiceClient = class {
|
|
|
22549
22547
|
);
|
|
22550
22548
|
}
|
|
22551
22549
|
async volumeFsList(volumeName, path3) {
|
|
22550
|
+
console.log(`[volumeFsList] volume=${volumeName} path="${path3}" url=POST /api/volumes/${encodeURIComponent(volumeName)}/fs/list`);
|
|
22552
22551
|
const result = await this.request(
|
|
22553
22552
|
`/api/volumes/${encodeURIComponent(volumeName)}/fs/list`,
|
|
22554
22553
|
{
|
|
@@ -22556,6 +22555,10 @@ var MicrosandboxServiceClient = class {
|
|
|
22556
22555
|
body: { path: path3 }
|
|
22557
22556
|
}
|
|
22558
22557
|
);
|
|
22558
|
+
console.log(
|
|
22559
|
+
`[volumeFsList] result: ${result.entries.length} entries:`,
|
|
22560
|
+
result.entries.map((e) => `${e.path} (kind=${e.kind})`).join(", ")
|
|
22561
|
+
);
|
|
22559
22562
|
return result.entries;
|
|
22560
22563
|
}
|
|
22561
22564
|
async volumeFsDownload(volumeName, path3) {
|