gestalt-mobile 0.25.5 → 0.25.6
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.
|
@@ -350,10 +350,12 @@ export class CodexSessionRuntime {
|
|
|
350
350
|
}
|
|
351
351
|
async withResolvedChildModels(resource, children) {
|
|
352
352
|
for (const child of children) {
|
|
353
|
-
if (child.
|
|
354
|
-
resource.spawnedAgentModels.has(child.id) ||
|
|
353
|
+
if (resource.spawnedAgentModels.has(child.id) ||
|
|
355
354
|
resource.attemptedAgentModelRecovery.has(child.id))
|
|
356
355
|
continue;
|
|
356
|
+
// thread/list omits the model for loaded and unloaded subagents alike.
|
|
357
|
+
// A spawn item can also contain null when an agent role selects or
|
|
358
|
+
// inherits the model, so thread/resume is the bounded authoritative read.
|
|
357
359
|
resource.attemptedAgentModelRecovery.add(child.id);
|
|
358
360
|
try {
|
|
359
361
|
const response = await resource.process.rpc.request('thread/resume', {
|