blun-king-cli 9.1.57 → 9.1.58

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.
@@ -34,6 +34,9 @@ public static class BlunPrivateAclNative
34
34
  private const uint READ_CONTROL = 0x00020000;
35
35
  private const uint WRITE_DAC = 0x00040000;
36
36
  private const uint SYNCHRONIZE = 0x00100000;
37
+ private const uint FILE_SHARE_READ = 0x00000001;
38
+ private const uint FILE_SHARE_WRITE = 0x00000002;
39
+ private const uint FILE_SHARE_DELETE = 0x00000004;
37
40
  private const uint CREATE_NEW = 1;
38
41
  private const uint OPEN_EXISTING = 3;
39
42
  private const uint FILE_ATTRIBUTE_NORMAL = 0x00000080;
@@ -608,7 +611,7 @@ public static class BlunPrivateAclNative
608
611
  out ioStatus,
609
612
  IntPtr.Zero,
610
613
  0,
611
- 0,
614
+ FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
612
615
  FILE_OPEN_IF,
613
616
  FILE_DIRECTORY_FILE | FILE_SYNCHRONOUS_IO_NONALERT | FILE_OPEN_REPARSE_POINT,
614
617
  IntPtr.Zero,
@@ -1271,8 +1274,8 @@ function windowsAclController(options) {
1271
1274
  const detail = rawDetail.replace(/[\u0000-\u001f\u007f]+/gu, ' ').trim().slice(0, 500);
1272
1275
  throw new Error(
1273
1276
  detail.length > 0
1274
- ? `Windows private ACL operation failed: ${detail}`
1275
- : 'Windows private ACL operation failed.',
1277
+ ? `Windows private ACL operation failed for ${kind} target "${absoluteTarget}": ${detail}`
1278
+ : `Windows private ACL operation failed for ${kind} target "${absoluteTarget}".`,
1276
1279
  { cause: error },
1277
1280
  );
1278
1281
  }
package/blun.mjs CHANGED
@@ -513489,7 +513489,6 @@ var BlunTUI = class {
513489
513489
  this.showStatus(warning, "warning");
513490
513490
  }
513491
513491
  async init() {
513492
- if (this.startupWorkspaceSelectionPending) return false;
513493
513492
  await this.measureStartupPhase("experimental_ms", async () => {
513494
513493
  setExperimentalFeatures(await this.harness.getExperimentalFeatures());
513495
513494
  });
@@ -513502,6 +513501,7 @@ var BlunTUI = class {
513502
513501
  } else this.authFlow.enterManagedAccountUnavailableStartupState(accountContext.kind);
513503
513502
  return false;
513504
513503
  }
513504
+ if (this.startupWorkspaceSelectionPending) return false;
513505
513505
  await this.measureStartupPhase("provider_models_ms", () => this.refreshProviderModelsBeforeSession());
513506
513506
  const { startup } = this.options;
513507
513507
  const { workDir } = this.state.appState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "9.1.57",
3
+ "version": "9.1.58",
4
4
  "description": "BLUN CLI - your own AI agent with a Telegram channel. Get it done. With BLUN.",
5
5
  "license": "MIT",
6
6
  "bin": {