@mastra/platform-workspace 1.5.0 → 1.6.0-alpha.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.
@@ -73,8 +73,10 @@ export type PlatformRepoTemplateResolver = () => Promise<SandboxTemplateBuilder
73
73
  * what gets cloned and what the template is identified by can't drift — and
74
74
  * pins repositories to their current default-branch commit. Private repository
75
75
  * credentials are used for head resolution and sent to the provider as
76
- * transient build envs; they never enter the serialized definition. If the
77
- * repository or its head cannot be resolved, the resolver keeps `cpuCount` and
76
+ * transient build envs; they never enter the serialized definition. A failed
77
+ * head lookup reuses the last head resolved for the same clone URL in this
78
+ * process. If the repository cannot be resolved, or no head has been resolved
79
+ * yet, the resolver keeps `cpuCount` and
78
80
  * `memoryMB` in a resources-only template so the sandbox still boots at the
79
81
  * requested size, and the caller's runtime setup materializes the checkout.
80
82
  */
@@ -1 +1 @@
1
- {"version":3,"file":"repo-template.d.ts","sourceRoot":"","sources":["../src/repo-template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAGtE,KAAK,OAAO,GAAG,CACb,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC,UAAU,CAAA;CAAE,KACpE,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAejC;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,aAAa,CAAC,EAAE;QAAE,MAAM,EAAE,QAAQ,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CACrD;AAED,MAAM,WAAW,2BAA2B;IAC1C;;;;;OAKG;IACH,mBAAmB,EAA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AAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAOhE;AAwBD;;;;;GAKG;AACH,wBAAsB,wBAAwB,CAC5C,QAAQ,EAAE,MAAM,EAChB,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,GAAE,OAAkC,EAC3C,SAAS,GAAE,OAAO,KAAa,GAC9B,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CA4C7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/platform-workspace",
3
- "version": "1.5.0",
3
+ "version": "1.6.0-alpha.1",
4
4
  "description": "Mastra Platform workspace sandbox and filesystem providers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,9 +28,9 @@
28
28
  "typescript": "^7.0.2",
29
29
  "vitest": "4.1.10",
30
30
  "@internal/lint": "0.0.130",
31
- "@internal/workspace": "0.0.2",
32
31
  "@internal/types-builder": "0.0.105",
33
- "@mastra/core": "1.64.0"
32
+ "@internal/workspace": "0.0.2",
33
+ "@mastra/core": "1.65.0-alpha.9"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@mastra/core": ">=1.62.0-0 <2.0.0-0"