@cotal-ai/manager 0.146.0 → 0.147.0
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/manager.js +2 -2
- package/dist/manager.js.map +1 -1
- package/package.json +14 -13
package/dist/manager.js
CHANGED
|
@@ -4328,7 +4328,7 @@ export class Manager {
|
|
|
4328
4328
|
// The departed agent's own custody reference rides the teardown: the exit that freed this slot
|
|
4329
4329
|
// is usually the seat ending, but a stop that could not prove the process gone leaves one the
|
|
4330
4330
|
// terminal must still address before it frees the alias.
|
|
4331
|
-
const target =
|
|
4331
|
+
const target = this.teardownTarget(a);
|
|
4332
4332
|
// On a USER mesh the name is RESERVED PENDING RETIREMENT — despawn started this
|
|
4333
4333
|
// lifecycle's FULL teardown (footprint + standing-authority revoke + the auth-side retirement),
|
|
4334
4334
|
// and the alias frees only when all of it completes (not the retirement alone). The detached
|
|
@@ -4379,7 +4379,7 @@ export class Manager {
|
|
|
4379
4379
|
/** A live agent's teardown target, built field by field so the rest of its record (handle, seed,
|
|
4380
4380
|
* restart state) never rides into the detached teardown or its single-flight map. */
|
|
4381
4381
|
teardownTarget(a) {
|
|
4382
|
-
return { id: a.id, name: a.name, lifecycleUid: a.lifecycleUid, userOwner: a.userOwner, delegated: a.delegated, secretPaths: a.secretPaths, ...(a.handedOff ? { delegatedHandle: a.handle } : {}), launch: { allowSubscribe: a.launch.allowSubscribe }, staticCredentialRenewal: a.staticCredentialRenewal };
|
|
4382
|
+
return { id: a.id, name: a.name, lifecycleUid: a.lifecycleUid, userOwner: a.userOwner, delegated: a.delegated, secretPaths: a.secretPaths, runtime: a.handle?.reference, ...(a.handedOff ? { delegatedHandle: a.handle } : {}), launch: { allowSubscribe: a.launch.allowSubscribe }, staticCredentialRenewal: a.staticCredentialRenewal };
|
|
4383
4383
|
}
|
|
4384
4384
|
/** Tear down a departed agent's minted footprint (#159 B2, auth mode): its local-principal durables
|
|
4385
4385
|
* (`dm_local-<id>`, `dlv_local-<id>`), its read-ACL row, and its creds file — everything the spawn's
|