@axiom-lattice/core 2.1.53 → 2.1.55

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.d.mts CHANGED
@@ -1564,6 +1564,7 @@ interface SandboxManagerProtocol {
1564
1564
  deleteSandbox(name: string): Promise<void>;
1565
1565
  listSandboxes(): Promise<SandboxInstance[]>;
1566
1566
  getVolumeBackend(config: RunSandboxConfig): Promise<BackendProtocol | null>;
1567
+ getVolumeBackendForPath(config: RunSandboxConfig, filePath: string): Promise<BackendProtocol | null>;
1567
1568
  }
1568
1569
 
1569
1570
  type ToolDefinition = ToolConfig;
@@ -2972,8 +2973,8 @@ declare class FileSystemSkillStore implements SkillStore {
2972
2973
  * SandboxSkillStore
2973
2974
  *
2974
2975
  * Sandbox-based implementation of SkillStore
2975
- * Stores skills in the shared project sandbox under ~/.agents/skills/
2976
- * Path format: ~/.agents/skills/{skillName}/SKILL.md
2976
+ * Stores skills in the shared project sandbox under /root/.agents/skills/
2977
+ * Path format: /root/.agents/skills/{skillName}/SKILL.md
2977
2978
  */
2978
2979
 
2979
2980
  interface SandboxSkillStoreOptions {
@@ -3928,9 +3929,9 @@ declare class DaytonaProvider implements SandboxProvider {
3928
3929
  /**
3929
3930
  * Build volume mounts for a sandbox based on RunSandboxConfig.
3930
3931
  * Mounts:
3931
- * ~/.agents/skills → tenants/{tenantId}/skills
3932
- * ~/agent → tenants/{tenantId}/agents/{assistantId}
3933
- * ~/project → tenants/{tenantId}/projects/{projectId}
3932
+ * /root/.agents → tenants/{tenantId}/skills
3933
+ * /agent → tenants/{tenantId}/agents/{assistantId}
3934
+ * /project → tenants/{tenantId}/projects/{projectId}
3934
3935
  */
3935
3936
  private buildVolumeMounts;
3936
3937
  private getOrCreateVolume;
@@ -4095,6 +4096,8 @@ declare class SandboxLatticeManager extends BaseLatticeManager<SandboxProvider>
4095
4096
  };
4096
4097
  getSandboxFromConfig(config: RunSandboxConfig): Promise<SandboxInstance>;
4097
4098
  getVolumeBackend(config: RunSandboxConfig): Promise<BackendProtocol | null>;
4099
+ getVolumeBackendForPath(config: RunSandboxConfig, filePath: string): Promise<BackendProtocol | null>;
4100
+ private _resolveVolumeForPath;
4098
4101
  createSandbox(name: string, config?: RunSandboxConfig): Promise<SandboxInstance>;
4099
4102
  getSandbox(name: string): Promise<SandboxInstance>;
4100
4103
  stopSandbox(name: string): Promise<void>;
@@ -5062,8 +5065,8 @@ declare class MemoryBackend implements BackendProtocol {
5062
5065
  /**
5063
5066
  * SandboxFilesystem: A sandboxed filesystem backend that connects to a remote sandbox via SDK.
5064
5067
  *
5065
- * Paths are absolute paths starting with ~/ (e.g. "~/agent/file.txt").
5066
- * These are passed directly to DaytonaInstance which handles the ~/ prefix.
5068
+ * Paths are absolute paths starting with / (e.g. "/agent/file.txt").
5069
+ * These are passed directly to the sandbox instance which handles the path.
5067
5070
  */
5068
5071
 
5069
5072
  declare class SandboxFilesystem implements BackendProtocol {
@@ -5084,7 +5087,8 @@ declare class SandboxFilesystem implements BackendProtocol {
5084
5087
 
5085
5088
  declare class VolumeFilesystem implements BackendProtocol {
5086
5089
  private readonly client;
5087
- constructor(client: VolumeFsClient);
5090
+ private readonly mountPrefix;
5091
+ constructor(client: VolumeFsClient, mountPrefix?: string);
5088
5092
  lsInfo(path: string): Promise<FileInfo[]>;
5089
5093
  read(filePath: string, offset?: number, limit?: number): Promise<string>;
5090
5094
  readRaw(filePath: string): Promise<FileData>;
package/dist/index.d.ts CHANGED
@@ -1564,6 +1564,7 @@ interface SandboxManagerProtocol {
1564
1564
  deleteSandbox(name: string): Promise<void>;
1565
1565
  listSandboxes(): Promise<SandboxInstance[]>;
1566
1566
  getVolumeBackend(config: RunSandboxConfig): Promise<BackendProtocol | null>;
1567
+ getVolumeBackendForPath(config: RunSandboxConfig, filePath: string): Promise<BackendProtocol | null>;
1567
1568
  }
1568
1569
 
1569
1570
  type ToolDefinition = ToolConfig;
@@ -2972,8 +2973,8 @@ declare class FileSystemSkillStore implements SkillStore {
2972
2973
  * SandboxSkillStore
2973
2974
  *
2974
2975
  * Sandbox-based implementation of SkillStore
2975
- * Stores skills in the shared project sandbox under ~/.agents/skills/
2976
- * Path format: ~/.agents/skills/{skillName}/SKILL.md
2976
+ * Stores skills in the shared project sandbox under /root/.agents/skills/
2977
+ * Path format: /root/.agents/skills/{skillName}/SKILL.md
2977
2978
  */
2978
2979
 
2979
2980
  interface SandboxSkillStoreOptions {
@@ -3928,9 +3929,9 @@ declare class DaytonaProvider implements SandboxProvider {
3928
3929
  /**
3929
3930
  * Build volume mounts for a sandbox based on RunSandboxConfig.
3930
3931
  * Mounts:
3931
- * ~/.agents/skills → tenants/{tenantId}/skills
3932
- * ~/agent → tenants/{tenantId}/agents/{assistantId}
3933
- * ~/project → tenants/{tenantId}/projects/{projectId}
3932
+ * /root/.agents → tenants/{tenantId}/skills
3933
+ * /agent → tenants/{tenantId}/agents/{assistantId}
3934
+ * /project → tenants/{tenantId}/projects/{projectId}
3934
3935
  */
3935
3936
  private buildVolumeMounts;
3936
3937
  private getOrCreateVolume;
@@ -4095,6 +4096,8 @@ declare class SandboxLatticeManager extends BaseLatticeManager<SandboxProvider>
4095
4096
  };
4096
4097
  getSandboxFromConfig(config: RunSandboxConfig): Promise<SandboxInstance>;
4097
4098
  getVolumeBackend(config: RunSandboxConfig): Promise<BackendProtocol | null>;
4099
+ getVolumeBackendForPath(config: RunSandboxConfig, filePath: string): Promise<BackendProtocol | null>;
4100
+ private _resolveVolumeForPath;
4098
4101
  createSandbox(name: string, config?: RunSandboxConfig): Promise<SandboxInstance>;
4099
4102
  getSandbox(name: string): Promise<SandboxInstance>;
4100
4103
  stopSandbox(name: string): Promise<void>;
@@ -5062,8 +5065,8 @@ declare class MemoryBackend implements BackendProtocol {
5062
5065
  /**
5063
5066
  * SandboxFilesystem: A sandboxed filesystem backend that connects to a remote sandbox via SDK.
5064
5067
  *
5065
- * Paths are absolute paths starting with ~/ (e.g. "~/agent/file.txt").
5066
- * These are passed directly to DaytonaInstance which handles the ~/ prefix.
5068
+ * Paths are absolute paths starting with / (e.g. "/agent/file.txt").
5069
+ * These are passed directly to the sandbox instance which handles the path.
5067
5070
  */
5068
5071
 
5069
5072
  declare class SandboxFilesystem implements BackendProtocol {
@@ -5084,7 +5087,8 @@ declare class SandboxFilesystem implements BackendProtocol {
5084
5087
 
5085
5088
  declare class VolumeFilesystem implements BackendProtocol {
5086
5089
  private readonly client;
5087
- constructor(client: VolumeFsClient);
5090
+ private readonly mountPrefix;
5091
+ constructor(client: VolumeFsClient, mountPrefix?: string);
5088
5092
  lsInfo(path: string): Promise<FileInfo[]>;
5089
5093
  read(filePath: string, offset?: number, limit?: number): Promise<string>;
5090
5094
  readRaw(filePath: string): Promise<FileData>;