@arjunkhera/atlas 0.4.56 → 0.4.57

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atlas",
3
- "version": "0.4.56",
3
+ "version": "0.4.57",
4
4
  "description": "Atlas: the delivery lifecycle, its crews and the Atlas tools, for any repository.",
5
5
  "author": {
6
6
  "name": "Arjun Khera"
@@ -175,9 +175,12 @@ export async function install({ packageRoot, options = {}, line = console.log, e
175
175
  exec('claude', hasCatalog ? ['plugin', 'marketplace', 'update', CATALOG_NAME] : ['plugin', 'marketplace', 'add', catalogDir(env)]);
176
176
  const installArgs = ['plugin', 'install', PLUGIN_ID, '--scope', 'user'];
177
177
  exec('claude', installArgs);
178
- if (timeout?.state === 'add') {
179
- mkdirSync(join(timeout.file, '..'), { recursive: true });
180
- writeFileSync(timeout.file, timeout.text);
178
+ // Read the file again now: `claude plugin install` has just written its
179
+ // own keys into it, and a copy read before that would drop them (0.4.56).
180
+ const now = timeout ? cloudTimeout(env) : null;
181
+ if (now?.state === 'add') {
182
+ mkdirSync(join(now.file, '..'), { recursive: true });
183
+ writeFileSync(now.file, now.text);
181
184
  }
182
185
  line('');
183
186
  // A cloud setup script runs before any session: the key comes from the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arjunkhera/atlas",
3
- "version": "0.4.56",
3
+ "version": "0.4.57",
4
4
  "description": "Atlas: the delivery lifecycle, its crews and the Atlas tools, as a Claude Code plugin for any repository.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",