Files
paseo/packages/app/src/subagents/policies.ts
T
Mohamed BoudraandGitHub 1f5283f5a3 Surface cross-workspace subagents in their workspaces (#2061)
* fix(workspaces): show provider subagent activity

Provider subagent lifecycle lives outside managed agent snapshots, so workspace aggregation dropped it after the parent turn finished. Count running provider subagents against the delegation root and emit workspace updates when their status changes.

* fix(workspaces): surface cross-workspace subagents
2026-07-14 14:22:14 +02:00

10 lines
577 B
TypeScript

// Pure-data entry point for callers that don't want React Native deps in
// their dependency graph (e.g. workspace-tabs/agent-visibility.ts is plain
// data derivation and its tests run without an RN environment).
//
// The full module entry `@/subagents` re-exports these too, alongside the
// UI surface. Use `@/subagents/policies` only when the caller is
// non-RN infrastructure code; otherwise prefer `@/subagents`.
export { resolveCloseAgentTabPolicy, type CloseAgentTabPolicy } from "./close-tab-policy";
export { isWorkspaceRootAgent } from "./workspace-root-policy";