@replayio/app-building 1.8.0 → 1.8.1

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.
Files changed (2) hide show
  1. package/dist/fly.js +2 -1
  2. package/package.json +1 -1
package/dist/fly.js CHANGED
@@ -83,7 +83,8 @@ export async function deleteVolume(app, token, volumeId) {
83
83
  */
84
84
  export async function createMachine(app, token, image, env, name) {
85
85
  // Create a volume for /repo storage
86
- const volumeId = await createVolume(app, token, `repo-${name}`, 50);
86
+ const volumeName = `repo_${name.replace(/-/g, "_")}`.slice(0, 30);
87
+ const volumeId = await createVolume(app, token, volumeName, 50);
87
88
  try {
88
89
  const res = await flyFetch(`/apps/${app}/machines`, token, {
89
90
  method: "POST",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replayio/app-building",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Library for managing agentic app-building containers",
5
5
  "type": "module",
6
6
  "exports": {