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.
- package/dist/commands/server.js +4 -4
- package/dist/commands/server.js.map +1 -1
- package/dist/core/CredentialRebalancer.d.ts +10 -2
- package/dist/core/CredentialRebalancer.d.ts.map +1 -1
- package/dist/core/CredentialRebalancer.js +17 -3
- package/dist/core/CredentialRebalancer.js.map +1 -1
- package/dist/core/CredentialRebalancerPolicy.d.ts +17 -1
- package/dist/core/CredentialRebalancerPolicy.d.ts.map +1 -1
- package/dist/core/CredentialRebalancerPolicy.js +23 -6
- package/dist/core/CredentialRebalancerPolicy.js.map +1 -1
- package/dist/core/SafeYaml.js +37 -2
- package/dist/core/SafeYaml.js.map +1 -1
- package/dist/data/standards-guard-index.json +1 -1
- package/dist/data/standards-guard-index.meta.json +2 -2
- package/dist/data/standards-registry.meta.json +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +2 -2
- package/src/data/standards-guard-index.json +1 -1
- package/src/data/standards-guard-index.meta.json +2 -2
- package/src/data/standards-registry.meta.json +1 -1
- package/upgrades/1.3.1105.md +49 -0
- package/upgrades/1.3.1106.md +36 -0
- package/upgrades/side-effects/credential-rebalancer-stable-attention.md +192 -0
- package/upgrades/side-effects/safeyaml-inline-comments.md +180 -0
package/dist/commands/server.js
CHANGED
|
@@ -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: (
|
|
12396
|
+
emitAttention: (notice) => {
|
|
12397
12397
|
void credentialAuditEmit.attention({
|
|
12398
|
-
id:
|
|
12399
|
-
title: 'Credential rebalancer', summary:
|
|
12398
|
+
id: credentialRebalancerAttentionId(notice, credentialLocationLedger.version),
|
|
12399
|
+
title: 'Credential rebalancer', summary: notice.message, category: 'credential-repointing', priority: 'NORMAL',
|
|
12400
12400
|
});
|
|
12401
12401
|
},
|
|
12402
12402
|
});
|