mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-31 05:32:58 +00:00
fix(plugins): preserve nested provider subagent links (#4970)
* fix(plugins): preserve nested provider subagent links The plugin adapter routed descendants to their managed root but discarded their direct parent when publishing descriptors. Preserve runtime-to-public child identities and forward optional spawning tool IDs. * test(plugins): separate opening and live subagent scenarios * test(server): retry terminal fixture directory cleanup Match the daemon harness cleanup policy so transient Windows EBUSY locks do not fail terminal ownership tests after their assertions complete.
This commit is contained in:
@@ -531,7 +531,10 @@ export type ProviderEvent =
|
||||
type: "session.opened";
|
||||
requestId?: string;
|
||||
sessionId: string;
|
||||
/** Direct parent in the provider session ID namespace. */
|
||||
parentSessionId?: string;
|
||||
/** ID of the spawning tool call in the direct parent's timeline. */
|
||||
toolCallId?: string;
|
||||
capabilities: readonly string[];
|
||||
restoration: "core" | "parent";
|
||||
persistence?: ProviderPersistence;
|
||||
@@ -1278,6 +1281,7 @@ export const ProviderEventSchema: z.ZodType<ProviderEvent> = z.discriminatedUnio
|
||||
requestId: idSchema.optional(),
|
||||
sessionId: idSchema,
|
||||
parentSessionId: idSchema.optional(),
|
||||
toolCallId: idSchema.optional(),
|
||||
capabilities: z.array(z.string()),
|
||||
restoration: z.enum(["core", "parent"]),
|
||||
persistence: persistenceSchema.optional(),
|
||||
|
||||
Reference in New Issue
Block a user