instar 1.3.1104 → 1.3.1106

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.
@@ -12357,7 +12357,7 @@ export async function startServer(options) {
12357
12357
  // loop and actuates via the SAME gated swap executor. isEnabled mirrors the location gate
12358
12358
  // (dev-gate-resolved AND the §2.10 env-token gate), and the executor's own dryRun keeps it a
12359
12359
  // dry-run dogfood on a dev agent (full decision loop + audit, ZERO writes) until dryRun:false.
12360
- const { CredentialRebalancer } = await import('../core/CredentialRebalancer.js');
12360
+ const { CredentialRebalancer, credentialRebalancerAttentionId } = await import('../core/CredentialRebalancer.js');
12361
12361
  const { mapSlots: credMapSlots, mapAccounts: credMapAccounts, resolveRebalancerConfig: credResolveBalancerConfig, computeBusynessBySlot: credComputeBusyness } = await import('../core/CredentialRebalancerSnapshot.js');
12362
12362
  const CRED_DEFAULT_SLOT = '~/.claude';
12363
12363
  const credentialRebalancer = new CredentialRebalancer({
@@ -12393,10 +12393,10 @@ export async function startServer(options) {
12393
12393
  }
12394
12394
  catch { /* @silent-fallback-ok: degradation report is best-effort observability; a throwing reporter must never break the dark/dry-run pass */ }
12395
12395
  },
12396
- emitAttention: (m) => {
12396
+ emitAttention: (notice) => {
12397
12397
  void credentialAuditEmit.attention({
12398
- id: `credential-rebalancer-${credentialLocationLedger.version}`,
12399
- title: 'Credential rebalancer', summary: m, category: 'credential-repointing', priority: 'NORMAL',
12398
+ id: credentialRebalancerAttentionId(notice, credentialLocationLedger.version),
12399
+ title: 'Credential rebalancer', summary: notice.message, category: 'credential-repointing', priority: 'NORMAL',
12400
12400
  });
12401
12401
  },
12402
12402
  });