|
|
@@ -480,7 +480,10 @@ serviceFor<K extends string & keyof Context>(agent: { ctx: Context }, name: K):
|
|
|
* and permanent, so the old composition stays for its other agents and the
|
|
|
* new one is ensured BEFORE the link moves. An unknown or unusable preset
|
|
|
* therefore throws with the agent exactly as it was — there is no torn-down
|
|
|
- * state to restore.
|
|
|
+ * state to restore. The re-link runs through the binding this roster kept
|
|
|
+ * from the agent's mount — dsh-scope's only re-link authority. An agent
|
|
|
+ * that never composed one has nothing to re-link: the switch is then the
|
|
|
+ * agent's first bind, exactly a mount.
|
|
|
* @param agentCtx - the agent's scope context.
|
|
|
* @param id - the preset to compose the agent from instead.
|
|
|
* @returns the preset now installed.
|