@wildo-ai/saas-frontend-lib 1.1.15 → 1.1.16

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.
Files changed (94) hide show
  1. package/dist/esm/components/flows-actors/approval.labels.d.ts.map +1 -1
  2. package/dist/esm/components/flows-actors/approval.labels.js +3 -0
  3. package/dist/esm/components/flows-actors/approval.labels.js.map +1 -1
  4. package/dist/esm/components/flows-actors/task-detail.d.ts +12 -1
  5. package/dist/esm/components/flows-actors/task-detail.d.ts.map +1 -1
  6. package/dist/esm/components/flows-actors/task-detail.js +2 -2
  7. package/dist/esm/components/flows-actors/task-detail.js.map +1 -1
  8. package/dist/esm/components/settings/AppPage_AgentActivitySettings.d.ts +79 -0
  9. package/dist/esm/components/settings/AppPage_AgentActivitySettings.d.ts.map +1 -0
  10. package/dist/esm/components/settings/AppPage_AgentActivitySettings.js +271 -0
  11. package/dist/esm/components/settings/AppPage_AgentActivitySettings.js.map +1 -0
  12. package/dist/esm/components/settings/AppPage_AgentActivitySettings.labels.d.ts +3 -0
  13. package/dist/esm/components/settings/AppPage_AgentActivitySettings.labels.d.ts.map +1 -0
  14. package/dist/esm/components/settings/AppPage_AgentActivitySettings.labels.js +66 -0
  15. package/dist/esm/components/settings/AppPage_AgentActivitySettings.labels.js.map +1 -0
  16. package/dist/esm/components/settings/SettingsHub.d.ts.map +1 -1
  17. package/dist/esm/components/settings/SettingsHub.js +6 -0
  18. package/dist/esm/components/settings/SettingsHub.js.map +1 -1
  19. package/dist/esm/components/views/composite-view/CompositeView.d.ts +6 -0
  20. package/dist/esm/components/views/composite-view/CompositeView.d.ts.map +1 -1
  21. package/dist/esm/components/views/composite-view/CompositeView.js +12 -2
  22. package/dist/esm/components/views/composite-view/CompositeView.js.map +1 -1
  23. package/dist/esm/components/views/flows-actors-view/ConversationLinkPage.d.ts +57 -0
  24. package/dist/esm/components/views/flows-actors-view/ConversationLinkPage.d.ts.map +1 -0
  25. package/dist/esm/components/views/flows-actors-view/ConversationLinkPage.js +136 -0
  26. package/dist/esm/components/views/flows-actors-view/ConversationLinkPage.js.map +1 -0
  27. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts +20 -0
  28. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.d.ts.map +1 -1
  29. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js +139 -22
  30. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.js.map +1 -1
  31. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.d.ts.map +1 -1
  32. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.js +5 -0
  33. package/dist/esm/components/views/flows-actors-view/FlowsActorsView.labels.js.map +1 -1
  34. package/dist/esm/components/views/flows-actors-view/held-conversation-selection.d.ts +4 -0
  35. package/dist/esm/components/views/flows-actors-view/held-conversation-selection.d.ts.map +1 -1
  36. package/dist/esm/components/views/flows-actors-view/held-conversation-selection.js +19 -0
  37. package/dist/esm/components/views/flows-actors-view/held-conversation-selection.js.map +1 -1
  38. package/dist/esm/components/views/flows-actors-view/linked-conversation.context.d.ts +26 -0
  39. package/dist/esm/components/views/flows-actors-view/linked-conversation.context.d.ts.map +1 -0
  40. package/dist/esm/components/views/flows-actors-view/linked-conversation.context.js +3 -0
  41. package/dist/esm/components/views/flows-actors-view/linked-conversation.context.js.map +1 -0
  42. package/dist/esm/core/components-registry/assert-registry-completeness.frontend.helper.d.ts.map +1 -1
  43. package/dist/esm/core/components-registry/assert-registry-completeness.frontend.helper.js +1 -0
  44. package/dist/esm/core/components-registry/assert-registry-completeness.frontend.helper.js.map +1 -1
  45. package/dist/esm/core/config/composite-view.schemas.d.ts +19 -0
  46. package/dist/esm/core/config/composite-view.schemas.d.ts.map +1 -1
  47. package/dist/esm/core/config/composite-view.schemas.js.map +1 -1
  48. package/dist/esm/core/config/engine-settings-destinations.d.ts.map +1 -1
  49. package/dist/esm/core/config/engine-settings-destinations.js +23 -0
  50. package/dist/esm/core/config/engine-settings-destinations.js.map +1 -1
  51. package/dist/esm/core/config/settings-hub-presentation.frontend.utils.d.ts.map +1 -1
  52. package/dist/esm/core/config/settings-hub-presentation.frontend.utils.js +3 -0
  53. package/dist/esm/core/config/settings-hub-presentation.frontend.utils.js.map +1 -1
  54. package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts +12 -0
  55. package/dist/esm/core/config/settings-hub.frontend.schemas.d.ts.map +1 -1
  56. package/dist/esm/core/config/settings-hub.frontend.schemas.js +12 -0
  57. package/dist/esm/core/config/settings-hub.frontend.schemas.js.map +1 -1
  58. package/dist/esm/core/events/events.frontend.schemas.d.ts +16 -0
  59. package/dist/esm/core/events/events.frontend.schemas.d.ts.map +1 -1
  60. package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts +10 -1
  61. package/dist/esm/core/flows-actors/FlowsActorsContext.d.ts.map +1 -1
  62. package/dist/esm/core/flows-actors/FlowsActorsContext.js +12 -3
  63. package/dist/esm/core/flows-actors/FlowsActorsContext.js.map +1 -1
  64. package/dist/esm/core/flows-actors/conversation-history.model.d.ts +19 -1
  65. package/dist/esm/core/flows-actors/conversation-history.model.d.ts.map +1 -1
  66. package/dist/esm/core/flows-actors/conversation-history.model.js +45 -4
  67. package/dist/esm/core/flows-actors/conversation-history.model.js.map +1 -1
  68. package/dist/esm/core/navigation/NavigationContentAreas.d.ts +0 -5
  69. package/dist/esm/core/navigation/NavigationContentAreas.d.ts.map +1 -1
  70. package/dist/esm/core/navigation/NavigationContentAreas.js +27 -1
  71. package/dist/esm/core/navigation/NavigationContentAreas.js.map +1 -1
  72. package/dist/esm/core/navigation/navigation.schemas.d.ts +20 -0
  73. package/dist/esm/core/navigation/navigation.schemas.d.ts.map +1 -1
  74. package/dist/esm/core/navigation/navigation.schemas.js +4 -0
  75. package/dist/esm/core/navigation/navigation.schemas.js.map +1 -1
  76. package/dist/esm/core/navigation/useNavigationRouterSync.d.ts.map +1 -1
  77. package/dist/esm/core/navigation/useNavigationRouterSync.js +5 -1
  78. package/dist/esm/core/navigation/useNavigationRouterSync.js.map +1 -1
  79. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts +20 -1
  80. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.d.ts.map +1 -1
  81. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js +25 -0
  82. package/dist/esm/core/requests/wildo-http-client-manual-calls.frontend.service.js.map +1 -1
  83. package/dist/esm/core/resources/resources-repository.frontend.service.d.ts.map +1 -1
  84. package/dist/esm/core/resources/resources-repository.frontend.service.js +2 -0
  85. package/dist/esm/core/resources/resources-repository.frontend.service.js.map +1 -1
  86. package/dist/esm/core/runtime/AppRouter.d.ts.map +1 -1
  87. package/dist/esm/core/runtime/AppRouter.js +2 -1
  88. package/dist/esm/core/runtime/AppRouter.js.map +1 -1
  89. package/dist/esm/core/runtime/routes.frontend.definitions.d.ts +6 -0
  90. package/dist/esm/core/runtime/routes.frontend.definitions.d.ts.map +1 -1
  91. package/dist/esm/core/runtime/routes.frontend.definitions.js +7 -1
  92. package/dist/esm/core/runtime/routes.frontend.definitions.js.map +1 -1
  93. package/dist/tsconfig.build.tsbuildinfo +1 -1
  94. package/package.json +6 -6
@@ -1 +1 @@
1
- {"version":3,"file":"settings-hub-presentation.frontend.utils.d.ts","sourceRoot":"","sources":["../../../../src/core/config/settings-hub-presentation.frontend.utils.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAe,KAAK,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,EAIL,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC3B,MAAM,+DAA+D,CAAC;AAuEvE,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAE7F;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,SAAS,eAAe,EAAE,EACpC,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,8BAA8B,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,oBAAoB,GAAG,SAAS,GACzF,OAAO,CAiBT"}
1
+ {"version":3,"file":"settings-hub-presentation.frontend.utils.d.ts","sourceRoot":"","sources":["../../../../src/core/config/settings-hub-presentation.frontend.utils.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAe,KAAK,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,EAIL,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC3B,MAAM,+DAA+D,CAAC;AA0EvE,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAE7F;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,SAAS,eAAe,EAAE,EACpC,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,8BAA8B,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,oBAAoB,GAAG,SAAS,GACzF,OAAO,CAiBT"}
@@ -72,6 +72,9 @@ const ENGINE_PANEL_RENDERS_SIDE_BY_SIDE_ITEMS = {
72
72
  [SettingsPanelRef.AGENT_WORK_OVERRIDE_RATE]: false,
73
73
  // One card per agent, stacked: each carries tables that want the width.
74
74
  [SettingsPanelRef.AUTONOMOUS_AGENTS]: false,
75
+ // One table of runs, then one run's history and tasks, stacked (#3990).
76
+ [SettingsPanelRef.AGENT_ACTIVITY]: false,
77
+ [SettingsPanelRef.APPLICATION_AGENT_ACTIVITY]: false,
75
78
  [SettingsPanelRef.MODEL_COST_BREAKDOWN]: false,
76
79
  // The same table, for a representing organization's own cost (#2618).
77
80
  [SettingsPanelRef.REPRESENTING_ORGANIZATION_MODEL_COST_BREAKDOWN]: false,
@@ -1 +1 @@
1
- {"version":3,"file":"settings-hub-presentation.frontend.utils.js","sourceRoot":"","sources":["../../../../src/core/config/settings-hub-presentation.frontend.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,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AAC,CAAC,MAAM,EAAE,EAAE,CACjD,MAAM,CAAC,IAAI,KAAK,yBAAyB,CAAC,kBAAkB;WACzD,gCAAgC,CAAC,8BAA8B,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;AAC9F,CAAC","sourcesContent":["/**\n * How WIDE the Settings Hub needs to be, derived from what the open section renders.\n *\n * The hub is one overlay serving two different kinds of surface, and until now one constant served\n * both. `max-w-4xl` (896px) minus the `w-60` rail (240px) leaves roughly 640px of content. That is\n * generous for a settings RECORD — a column of label-left / value-right rows, read one at a time to\n * decide something — and cramped for a COLLECTION: the organization-members table alone carries\n * name, email, role, status, joined and an actions column, and a table squeezed to 640px is the\n * surface an administrator came to the hub to work in.\n *\n * So the width is DERIVED from the section's declared target rather than authored per section. The\n * discriminator already exists: a `RESOURCE_OPERATION` target names the operation it renders, and\n * `LIST` / `SEARCH` are the two core operations that produce a collection. Nothing new is asked of\n * an application, a section added tomorrow is sized by what it declares, and there is no per-section\n * width to keep in step with the content.\n *\n * Deliberately conservative in both directions:\n *\n * - An operation this cannot classify — a custom verb or an app component — is NOT a collection.\n * An ENGINE panel is classified by `ENGINE_PANEL_RENDERS_SIDE_BY_SIDE_ITEMS`, which names every panel. The narrow width is the current behaviour, so an unclassifiable section is\n * unchanged rather than guessed at.\n * - A SUB_TABS section counts as a collection when ANY of its tabs is one. The tab a reader opens is\n * their choice and the overlay cannot resize under them without the panel reflowing mid-read.\n */\nimport { CoreResourceOperation } from '@wildo-ai/saas-models';\nimport { SectionMode, type ContainerSectionMode } from '@wildo-ai/zod-decorators';\nimport {\n SettingsPanelRef,\n SettingsSectionTargetKind,\n type SettingsLeafTarget,\n type SettingsSection,\n type SettingsSectionTarget,\n} from '~wildo-frontend-lib/core/config/settings-hub.frontend.schemas';\n\n/**\n * The core operations that render a COLLECTION rather than one record.\n *\n * Total over the vocabulary at the point it is read: a core operation added tomorrow is classified\n * here or is not a collection, and either answer is deliberate rather than silent.\n */\nconst COLLECTION_RENDERING_CORE_OPERATIONS: readonly string[] = [\n CoreResourceOperation.LIST,\n CoreResourceOperation.SEARCH,\n];\n\nfunction leafTargets(target: SettingsSectionTarget): SettingsLeafTarget[] {\n return target.kind === SettingsSectionTargetKind.SUB_TABS\n ? target.subTabs.map((subTab) => subTab.target)\n : [target];\n}\n\n/**\n * The container modes that show ONE section at a time behind their own navigation control. Only\n * `VERTICAL_TABS` actually spends horizontal room — a horizontal strip and a pill row cost height —\n * so this is deliberately not \"every navigation mode\".\n */\nfunction isNavigationContainerSectionMode(mode: ContainerSectionMode | undefined): boolean {\n return mode === SectionMode.VERTICAL_TABS;\n}\n\n/**\n * Which ENGINE panels lay out a set of items SIDE BY SIDE, and so need the collection width.\n *\n * An engine panel is bespoke, so no operation names what it renders, and before this every panel was\n * sized as a record. Billing is the case that broke it: its plan catalog puts each plan in a card of its\n * own, in one row, and the record width squeezed that row (Paul, 2026-10-02: \"Billing plan should be\n * full width\").\n *\n * A `Record` over the whole enum on purpose. A panel the framework adds tomorrow does not compile until\n * somebody says which shape it has, so the answer is decided where the panel is written rather than\n * defaulted to the record width by omission.\n */\nconst ENGINE_PANEL_RENDERS_SIDE_BY_SIDE_ITEMS: Readonly<Record<SettingsPanelRef, boolean>> = {\n [SettingsPanelRef.SECURITY]: false,\n [SettingsPanelRef.APPEARANCE]: false,\n [SettingsPanelRef.INVITATIONS]: false,\n // The plan catalog: one card per plan, in a row.\n [SettingsPanelRef.BILLING]: true,\n [SettingsPanelRef.CONNECTED_ACCOUNTS]: false,\n [SettingsPanelRef.ORGANIZATION_CONNECTED_ACCOUNTS]: false,\n [SettingsPanelRef.APPLICATION_CONNECTED_ACCOUNTS]: false,\n [SettingsPanelRef.AGENT_WORK_OVERRIDE_RATE]: false,\n // One card per agent, stacked: each carries tables that want the width.\n [SettingsPanelRef.AUTONOMOUS_AGENTS]: false,\n [SettingsPanelRef.MODEL_COST_BREAKDOWN]: false,\n // The same table, for a representing organization's own cost (#2618).\n [SettingsPanelRef.REPRESENTING_ORGANIZATION_MODEL_COST_BREAKDOWN]: false,\n // One table of rows (#2874).\n [SettingsPanelRef.REPRESENTATIVE_ACTIVITY]: false,\n [SettingsPanelRef.AGENT_WORK_EVALUATION_EXPORT]: false,\n};\n\nfunction leafTargetRendersCollection(target: SettingsLeafTarget): boolean {\n if (target.kind === SettingsSectionTargetKind.ENGINE_PANEL) {\n return ENGINE_PANEL_RENDERS_SIDE_BY_SIDE_ITEMS[target.panelRef];\n }\n if (target.kind !== SettingsSectionTargetKind.RESOURCE_OPERATION) {\n return false;\n }\n\n return COLLECTION_RENDERING_CORE_OPERATIONS.includes(String(target.operation));\n}\n\nexport function settingsSectionTargetRendersCollection(target: SettingsSectionTarget): boolean {\n return leafTargets(target).some(leafTargetRendersCollection);\n}\n\n/**\n * Whether the pane at `sectionRef` needs the wide frame. An unresolvable ref — no section, or the\n * hub opened before its config resolved — answers `false`, which is the narrow width the hub has\n * always used.\n *\n * TWO reasons, and they are the same question asked of different things:\n *\n * - the section renders a COLLECTION, so the pane holds a table;\n * - the resource's layout declares a NAVIGATION container mode, so the pane holds a second vertical\n * rail of its own. SSO config is the case: five groups of fields, presented as vertical tabs, and\n * `w-48` of rail comes out of the same content column the 240px hub rail already took. At the\n * record width that leaves about 400px for a label-left / value-right row.\n *\n * The second reason is why `ResourceLayoutConfig.defaultDisplaySectionAppearance` is a layout\n * DECLARATION and not five `appearance` props inside a template: a prop inside a React template is\n * invisible to anything that has to size the surface around it.\n */\nexport function settingsSectionNeedsWideFrame(\n sections: readonly SettingsSection[],\n sectionRef: string | undefined,\n resolveLayoutSectionAppearance: (resourceType: string) => ContainerSectionMode | undefined,\n): boolean {\n if (!sectionRef) {\n return false;\n }\n\n const section = sections.find((candidate) => candidate.ref === sectionRef);\n if (!section) {\n return false;\n }\n\n if (settingsSectionTargetRendersCollection(section.target)) {\n return true;\n }\n\n return leafTargets(section.target).some((target) =>\n target.kind === SettingsSectionTargetKind.RESOURCE_OPERATION\n && isNavigationContainerSectionMode(resolveLayoutSectionAppearance(target.resourceType)));\n}\n"]}
1
+ {"version":3,"file":"settings-hub-presentation.frontend.utils.js","sourceRoot":"","sources":["../../../../src/core/config/settings-hub-presentation.frontend.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAA6B,MAAM,0BAA0B,CAAC;AAClF,OAAO,EACL,gBAAgB,EAChB,yBAAyB,GAI1B,MAAM,+DAA+D,CAAC;AAEvE;;;;;GAKG;AACH,MAAM,oCAAoC,GAAsB;IAC9D,qBAAqB,CAAC,IAAI;IAC1B,qBAAqB,CAAC,MAAM;CAC7B,CAAC;AAEF,SAAS,WAAW,CAAC,MAA6B;IAChD,OAAO,MAAM,CAAC,IAAI,KAAK,yBAAyB,CAAC,QAAQ;QACvD,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC;QAC/C,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AACf,CAAC;AAED;;;;GAIG;AACH,SAAS,gCAAgC,CAAC,IAAsC;IAC9E,OAAO,IAAI,KAAK,WAAW,CAAC,aAAa,CAAC;AAC5C,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,uCAAuC,GAAgD;IAC3F,CAAC,gBAAgB,CAAC,QAAQ,CAAC,EAAE,KAAK;IAClC,CAAC,gBAAgB,CAAC,UAAU,CAAC,EAAE,KAAK;IACpC,CAAC,gBAAgB,CAAC,WAAW,CAAC,EAAE,KAAK;IACrC,iDAAiD;IACjD,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAAE,IAAI;IAChC,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,KAAK;IAC5C,CAAC,gBAAgB,CAAC,+BAA+B,CAAC,EAAE,KAAK;IACzD,CAAC,gBAAgB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,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,KAAK,UAAU,CAAC,CAAC;IAC3E,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,sCAAsC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QAC3D,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,WAAW,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CACjD,MAAM,CAAC,IAAI,KAAK,yBAAyB,CAAC,kBAAkB;WACzD,gCAAgC,CAAC,8BAA8B,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;AAC9F,CAAC","sourcesContent":["/**\n * How WIDE the Settings Hub needs to be, derived from what the open section renders.\n *\n * The hub is one overlay serving two different kinds of surface, and until now one constant served\n * both. `max-w-4xl` (896px) minus the `w-60` rail (240px) leaves roughly 640px of content. That is\n * generous for a settings RECORD — a column of label-left / value-right rows, read one at a time to\n * decide something — and cramped for a COLLECTION: the organization-members table alone carries\n * name, email, role, status, joined and an actions column, and a table squeezed to 640px is the\n * surface an administrator came to the hub to work in.\n *\n * So the width is DERIVED from the section's declared target rather than authored per section. The\n * discriminator already exists: a `RESOURCE_OPERATION` target names the operation it renders, and\n * `LIST` / `SEARCH` are the two core operations that produce a collection. Nothing new is asked of\n * an application, a section added tomorrow is sized by what it declares, and there is no per-section\n * width to keep in step with the content.\n *\n * Deliberately conservative in both directions:\n *\n * - An operation this cannot classify — a custom verb or an app component — is NOT a collection.\n * An ENGINE panel is classified by `ENGINE_PANEL_RENDERS_SIDE_BY_SIDE_ITEMS`, which names every panel. The narrow width is the current behaviour, so an unclassifiable section is\n * unchanged rather than guessed at.\n * - A SUB_TABS section counts as a collection when ANY of its tabs is one. The tab a reader opens is\n * their choice and the overlay cannot resize under them without the panel reflowing mid-read.\n */\nimport { CoreResourceOperation } from '@wildo-ai/saas-models';\nimport { SectionMode, type ContainerSectionMode } from '@wildo-ai/zod-decorators';\nimport {\n SettingsPanelRef,\n SettingsSectionTargetKind,\n type SettingsLeafTarget,\n type SettingsSection,\n type SettingsSectionTarget,\n} from '~wildo-frontend-lib/core/config/settings-hub.frontend.schemas';\n\n/**\n * The core operations that render a COLLECTION rather than one record.\n *\n * Total over the vocabulary at the point it is read: a core operation added tomorrow is classified\n * here or is not a collection, and either answer is deliberate rather than silent.\n */\nconst COLLECTION_RENDERING_CORE_OPERATIONS: readonly string[] = [\n CoreResourceOperation.LIST,\n CoreResourceOperation.SEARCH,\n];\n\nfunction leafTargets(target: SettingsSectionTarget): SettingsLeafTarget[] {\n return target.kind === SettingsSectionTargetKind.SUB_TABS\n ? target.subTabs.map((subTab) => subTab.target)\n : [target];\n}\n\n/**\n * The container modes that show ONE section at a time behind their own navigation control. Only\n * `VERTICAL_TABS` actually spends horizontal room — a horizontal strip and a pill row cost height —\n * so this is deliberately not \"every navigation mode\".\n */\nfunction isNavigationContainerSectionMode(mode: ContainerSectionMode | undefined): boolean {\n return mode === SectionMode.VERTICAL_TABS;\n}\n\n/**\n * Which ENGINE panels lay out a set of items SIDE BY SIDE, and so need the collection width.\n *\n * An engine panel is bespoke, so no operation names what it renders, and before this every panel was\n * sized as a record. Billing is the case that broke it: its plan catalog puts each plan in a card of its\n * own, in one row, and the record width squeezed that row (Paul, 2026-10-02: \"Billing plan should be\n * full width\").\n *\n * A `Record` over the whole enum on purpose. A panel the framework adds tomorrow does not compile until\n * somebody says which shape it has, so the answer is decided where the panel is written rather than\n * defaulted to the record width by omission.\n */\nconst ENGINE_PANEL_RENDERS_SIDE_BY_SIDE_ITEMS: Readonly<Record<SettingsPanelRef, boolean>> = {\n [SettingsPanelRef.SECURITY]: false,\n [SettingsPanelRef.APPEARANCE]: false,\n [SettingsPanelRef.INVITATIONS]: false,\n // The plan catalog: one card per plan, in a row.\n [SettingsPanelRef.BILLING]: true,\n [SettingsPanelRef.CONNECTED_ACCOUNTS]: false,\n [SettingsPanelRef.ORGANIZATION_CONNECTED_ACCOUNTS]: false,\n [SettingsPanelRef.APPLICATION_CONNECTED_ACCOUNTS]: false,\n [SettingsPanelRef.AGENT_WORK_OVERRIDE_RATE]: false,\n // One card per agent, stacked: each carries tables that want the width.\n [SettingsPanelRef.AUTONOMOUS_AGENTS]: false,\n // One table of runs, then one run's history and tasks, stacked (#3990).\n [SettingsPanelRef.AGENT_ACTIVITY]: false,\n [SettingsPanelRef.APPLICATION_AGENT_ACTIVITY]: false,\n [SettingsPanelRef.MODEL_COST_BREAKDOWN]: false,\n // The same table, for a representing organization's own cost (#2618).\n [SettingsPanelRef.REPRESENTING_ORGANIZATION_MODEL_COST_BREAKDOWN]: false,\n // One table of rows (#2874).\n [SettingsPanelRef.REPRESENTATIVE_ACTIVITY]: false,\n [SettingsPanelRef.AGENT_WORK_EVALUATION_EXPORT]: false,\n};\n\nfunction leafTargetRendersCollection(target: SettingsLeafTarget): boolean {\n if (target.kind === SettingsSectionTargetKind.ENGINE_PANEL) {\n return ENGINE_PANEL_RENDERS_SIDE_BY_SIDE_ITEMS[target.panelRef];\n }\n if (target.kind !== SettingsSectionTargetKind.RESOURCE_OPERATION) {\n return false;\n }\n\n return COLLECTION_RENDERING_CORE_OPERATIONS.includes(String(target.operation));\n}\n\nexport function settingsSectionTargetRendersCollection(target: SettingsSectionTarget): boolean {\n return leafTargets(target).some(leafTargetRendersCollection);\n}\n\n/**\n * Whether the pane at `sectionRef` needs the wide frame. An unresolvable ref — no section, or the\n * hub opened before its config resolved — answers `false`, which is the narrow width the hub has\n * always used.\n *\n * TWO reasons, and they are the same question asked of different things:\n *\n * - the section renders a COLLECTION, so the pane holds a table;\n * - the resource's layout declares a NAVIGATION container mode, so the pane holds a second vertical\n * rail of its own. SSO config is the case: five groups of fields, presented as vertical tabs, and\n * `w-48` of rail comes out of the same content column the 240px hub rail already took. At the\n * record width that leaves about 400px for a label-left / value-right row.\n *\n * The second reason is why `ResourceLayoutConfig.defaultDisplaySectionAppearance` is a layout\n * DECLARATION and not five `appearance` props inside a template: a prop inside a React template is\n * invisible to anything that has to size the surface around it.\n */\nexport function settingsSectionNeedsWideFrame(\n sections: readonly SettingsSection[],\n sectionRef: string | undefined,\n resolveLayoutSectionAppearance: (resourceType: string) => ContainerSectionMode | undefined,\n): boolean {\n if (!sectionRef) {\n return false;\n }\n\n const section = sections.find((candidate) => candidate.ref === sectionRef);\n if (!section) {\n return false;\n }\n\n if (settingsSectionTargetRendersCollection(section.target)) {\n return true;\n }\n\n return leafTargets(section.target).some((target) =>\n target.kind === SettingsSectionTargetKind.RESOURCE_OPERATION\n && isNavigationContainerSectionMode(resolveLayoutSectionAppearance(target.resourceType)));\n}\n"]}
@@ -128,6 +128,18 @@ export declare enum SettingsPanelRef {
128
128
  * left no row at all, only an audit record of its refusal (`GET /flows-actors/autonomous-agents`).
129
129
  */
130
130
  AUTONOMOUS_AGENTS = "autonomous-agents",
131
+ /**
132
+ * What an organization's declared flows and actor systems did (#3990): the runs, newest first, and each run's history,
133
+ * tasks and flow steps. Bespoke because the actor plane's rows have no resource route; the page reads them through
134
+ * `POST /flows-actors/agent-activity` and `/agent-activity/run`.
135
+ */
136
+ AGENT_ACTIVITY = "agent-activity",
137
+ /**
138
+ * The same page across EVERY organization (#3990), each run naming the organization it worked for: an application-wide
139
+ * read under the application's audit read policy. A distinct ref for the connected-accounts reason: a destination
140
+ * resolves a ref to a panel and carries no arguments, and the component behind both is shared.
141
+ */
142
+ APPLICATION_AGENT_ACTIVITY = "application-agent-activity",
131
143
  /**
132
144
  * What model calls cost per case, organization, agent or model over a window, in money (#2528): the Breakdown tab of
133
145
  * Administration > Model costs, beside the monthly records.
@@ -1 +1 @@
1
- {"version":3,"file":"settings-hub.frontend.schemas.d.ts","sourceRoot":"","sources":["../../../../src/core/config/settings-hub.frontend.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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7B,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,MAAM,EAAE,qBAAqB,CAAC;IAC9B,+EAA+E;IAC/E,mBAAmB,CAAC,EAAE,iCAAiC,CAAC;IACxD;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB;;;;;;;;;;;;OAYG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,8GAA8G;IAC9G,0BAA0B,CAAC,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAC1D;AAMD,oEAAoE;AACpE;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,iBAAiB;IAChC,kFAAkF;IAClF,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B;;;;;;OAMG;IACH,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC;;;;;;;;;OASG;IACH,YAAY,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACrC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;GAMG;AACH,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AACD,kEAAkE"}
1
+ {"version":3,"file":"settings-hub.frontend.schemas.d.ts","sourceRoot":"","sources":["../../../../src/core/config/settings-hub.frontend.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,uBAA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C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,MAAM,EAAE,qBAAqB,CAAC;IAC9B,+EAA+E;IAC/E,mBAAmB,CAAC,EAAE,iCAAiC,CAAC;IACxD;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB;;;;;;;;;;;;OAYG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,8GAA8G;IAC9G,0BAA0B,CAAC,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAC1D;AAMD,oEAAoE;AACpE;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,iBAAiB;IAChC,kFAAkF;IAClF,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B;;;;;;OAMG;IACH,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC;;;;;;;;;OASG;IACH,YAAY,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACrC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;GAMG;AACH,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AACD,kEAAkE"}
@@ -133,6 +133,18 @@ export var SettingsPanelRef;
133
133
  * left no row at all, only an audit record of its refusal (`GET /flows-actors/autonomous-agents`).
134
134
  */
135
135
  SettingsPanelRef["AUTONOMOUS_AGENTS"] = "autonomous-agents";
136
+ /**
137
+ * What an organization's declared flows and actor systems did (#3990): the runs, newest first, and each run's history,
138
+ * tasks and flow steps. Bespoke because the actor plane's rows have no resource route; the page reads them through
139
+ * `POST /flows-actors/agent-activity` and `/agent-activity/run`.
140
+ */
141
+ SettingsPanelRef["AGENT_ACTIVITY"] = "agent-activity";
142
+ /**
143
+ * The same page across EVERY organization (#3990), each run naming the organization it worked for: an application-wide
144
+ * read under the application's audit read policy. A distinct ref for the connected-accounts reason: a destination
145
+ * resolves a ref to a panel and carries no arguments, and the component behind both is shared.
146
+ */
147
+ SettingsPanelRef["APPLICATION_AGENT_ACTIVITY"] = "application-agent-activity";
136
148
  /**
137
149
  * What model calls cost per case, organization, agent or model over a window, in money (#2528): the Breakdown tab of
138
150
  * Administration > Model costs, beside the monthly records.
@@ -1 +1 @@
1
- {"version":3,"file":"settings-hub.frontend.schemas.js","sourceRoot":"","sources":["../../../../src/core/config/settings-hub.frontend.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAMH,mEAAmE;AACnE,+DAA+D;AAC/D,mEAAmE;AAEnE,oEAAoE;AACpE;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,yBASX;AATD,WAAY,yBAAyB;IACnC,iEAAiE;IACjE,0DAA6B,CAAA;IAC7B,+FAA+F;IAC/F,sEAAyC,CAAA;IACzC,sFAAsF;IACtF,kEAAqC,CAAA;IACrC,0GAA0G;IAC1G,kDAAqB,CAAA;AACvB,CAAC,EATW,yBAAyB,KAAzB,yBAAyB,QASpC;AACD,kEAAkE;AAElE,mEAAmE;AACnE,6DAA6D;AAC7D,mEAAmE;AAEnE;;;;;;;;;;GAUG;AACH,MAAM,CAAN,IAAY,gBAkGX;AAlGD,WAAY,gBAAgB;IAC1B,wGAAwG;IACxG,yCAAqB,CAAA;IACrB,qEAAqE;IACrE,6CAAyB,CAAA;IACzB,oFAAoF;IACpF,+CAA2B,CAAA;IAC3B;;;;;;;;;;;OAWG;IACH,uCAAmB,CAAA;IACnB;;;;;;;;;;;;OAYG;IACH,6DAAyC,CAAA;IACzC;;;;;;;OAOG;IACH,uFAAmE,CAAA;IACnE;;;;;;;;OAQG;IACH,qFAAiE,CAAA;IACjE;;;;;;;OAOG;IACH,yEAAqD,CAAA;IACrD;;;;;;OAMG;IACH,2DAAuC,CAAA;IACvC;;;;;;OAMG;IACH,iEAA6C,CAAA;IAC7C;;;;;OAKG;IACH,qHAAiG,CAAA;IACjG;;;;;OAKG;IACH,uEAAmD,CAAA;IACnD;;;;OAIG;IACH,iFAA6D,CAAA;AAC/D,CAAC,EAlGW,gBAAgB,KAAhB,gBAAgB,QAkG3B;AAgVD,kEAAkE","sourcesContent":["/**\n * Settings Hub — Declarative Section Registry\n *\n * The Settings Hub is the framework's single point of configuration: one overlay\n * surface that consolidates every settings destination (account, security,\n * appearance, organization, members, billing, …) behind a vertical `Tabs` rail\n * grouped by category. Many entry points (user dropdown, sidebar, command menu)\n * all converge on this one hub; links differ only by which section they pre-open.\n *\n * This file owns the **config-time** registry contract. It is declaration-first\n * and mirrors `launcher-items.frontend.schemas.ts`:\n * - `SettingsSectionTarget` is an interface-based discriminated union on `kind`\n * (exactly like `LauncherItemRef`), because section targets are config-time\n * descriptors resolved by the runtime — not Zod-validated wire payloads.\n * - The engine ships DESTINATIONS (`ENGINE_SETTINGS_DESTINATIONS`) and no\n * arrangement; an application authors its own `SettingsHubConfig` — its\n * categories, its placements, and any destinations of its own.\n *\n * Runtime concerns live elsewhere:\n * - `NavigationContentType.SETTINGS_HUB` (navigation.schemas.ts) — what renders\n * in the overlay zone.\n * - `SettingsHub` component (components/settings/) — resolves a section's target\n * to a rendered panel.\n *\n * @see launcher-items.frontend.schemas.ts — the sibling launcher registry this mirrors\n */\n\nimport { ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport type { EngineCapability, RequiredFeaturesConfig } from '@wildo-ai/saas-models';\nimport type { LauncherRuntimeAvailabilityConfig } from './launcher-items.frontend.schemas';\n\n// ════════════════════════════════════════════════════════════════\n// Section Target Kind — discriminant for SettingsSectionTarget\n// ════════════════════════════════════════════════════════════════\n\n/** @wildo_source:part:start saas.frontend.settings-hub.placement */\n/**\n * What a settings section renders in its content panel.\n *\n * Discriminant for the `SettingsSectionTarget` union. The default for\n * data-backed settings is `RESOURCE_OPERATION` (reuse the auto-rendered\n * resource surface); `ENGINE_PANEL` is reserved for the few sections whose\n * bespoke layout earns it (Security, Appearance).\n */\nexport enum SettingsSectionTargetKind {\n /** A framework-owned bespoke panel (Security, Appearance, …). */\n ENGINE_PANEL = 'engine_panel',\n /** An auto-rendered resource-operation surface (members, API tokens, billing, preferences). */\n RESOURCE_OPERATION = 'resource_operation',\n /** An app-registered custom React component (resolved via the component registry). */\n CUSTOM_COMPONENT = 'custom_component',\n /** A section that itself splits into horizontal sub-tabs (e.g. Teams → Members / Roles & Permissions). */\n SUB_TABS = 'sub_tabs',\n}\n/** @wildo_source:part:end saas.frontend.settings-hub.placement */\n\n// ════════════════════════════════════════════════════════════════\n// Engine Panel Ref — framework-owned bespoke settings panels\n// ════════════════════════════════════════════════════════════════\n\n/**\n * Framework-provided settings panels with bespoke (non-CRUD) layout.\n *\n * Closed enum — only framework panels belong here. Most settings sections should\n * be `RESOURCE_OPERATION` targets instead; a panel earns a slot here only when a\n * standard resource surface cannot express it (multi-factor enrollment flows,\n * theme/dark-mode toggles, …).\n *\n * The runtime maps each ref to a registered panel component in the\n * `SettingsHub` resolver.\n */\nexport enum SettingsPanelRef {\n /** Password, MFA enrollment, passkeys, identity links (wraps the former `AppPage_SecuritySettings`). */\n SECURITY = 'security',\n /** Theme, dark-mode, density and other look-and-feel preferences. */\n APPEARANCE = 'appearance',\n /** The caller's own pending org invitations — accept/reject in-app (Approach P). */\n INVITATIONS = 'invitations',\n /**\n * The billing home: subscription status, plan catalog + checkout, usage,\n * invoices and the provider portal link — composed from the BillingContext\n * aggregated state (`GET_STATE`), NOT from per-resource LIST surfaces.\n *\n * Bespoke on purpose: the billing child resources (subscriptions, invoice\n * refs, usage records) are routed UNDER the billing account\n * (`REQUIRES_CONTEXT`), so a generic org-scoped `RESOURCE_OPERATION` panel\n * cannot build their URLs. The aggregated billing state is org-addressable\n * and auto-creates the account, which makes it the correct settings-surface\n * data source.\n */\n BILLING = 'billing',\n /**\n * Where a person CONNECTS one of their own third-party accounts.\n *\n * Bespoke because connecting is not a row somebody creates: it is a flow that leaves the\n * application, obtains consent at a vendor, and returns with a grant nobody typed. The generic\n * resource surface can list, inspect and delete the resulting credentials perfectly — it simply has\n * no mechanism for an ACTION of that shape, which is why the whole outbound-authorization lane had\n * no surface that could begin it until this existed.\n *\n * Since #2319 it is also the one list of what IS connected: every held connection with its acts, then\n * every provider nothing is held for. A separate credential list beside it made a person match the\n * same rows up by name.\n */\n CONNECTED_ACCOUNTS = 'connected-accounts',\n /**\n * The same act at the TENANT's scope: connecting an account the whole organization acts as.\n *\n * A distinct ref rather than a parameterised one, because a settings destination resolves a ref to\n * a panel and carries no arguments — and because the two must never be reachable from each other's\n * screen. The component behind them IS shared: the act is identical, and duplicating it would\n * guarantee the two drift. What is never shared is the data.\n */\n ORGANIZATION_CONNECTED_ACCOUNTS = 'organization-connected-accounts',\n /**\n * The same act for the APPLICATION's own account (#3579): the vendor account the deployment acts as, connected,\n * shown and disconnected by a super-administrator.\n *\n * A third ref for the organization ref's reason, and the same component. What differs at this scope is where each\n * act goes: the application's rows have no credential resource, so the listing reads `?ownerScope=application`, the\n * disconnect is `DELETE /connections/application/{connectionRef}`, and the per-row acts that need that resource\n * (turn off or on, a row's description, removing one slot) are not offered.\n */\n APPLICATION_CONNECTED_ACCOUNTS = 'application-connected-accounts',\n /**\n * How often the organization's deciders override its agents (#1599), per agent, tool, case or reviewer, over a\n * window: the counts behind the rate, the decisions nobody took counted apart, and a group where nothing was decided\n * shown as that rather than as 0 %.\n *\n * Bespoke because the rate is not a row: it is a summary the engine computes from the decision records on request\n * (`POST /agent-work/override-rate`), and no resource surface can render a computed aggregate.\n */\n AGENT_WORK_OVERRIDE_RATE = 'agent-work-override-rate',\n /**\n * An organization's autonomous agents (#2528): when each runs, its latest runs and its latest refusals with their\n * reason in words.\n *\n * Bespoke because the answer is one read across two stores: the runs are execution rows, and a turn that did not run\n * left no row at all, only an audit record of its refusal (`GET /flows-actors/autonomous-agents`).\n */\n AUTONOMOUS_AGENTS = 'autonomous-agents',\n /**\n * What model calls cost per case, organization, agent or model over a window, in money (#2528): the Breakdown tab of\n * Administration > Model costs, beside the monthly records.\n *\n * Bespoke because the breakdown is not a row: it is a summary the engine computes on request from the call records\n * (`POST /model-cost/summary`), with the calls it could not attribute or price counted apart.\n */\n MODEL_COST_BREAKDOWN = 'model-cost-breakdown',\n /**\n * What a REPRESENTING organization's own model calls cost (#2618): the same breakdown as\n * {@link SettingsPanelRef.MODEL_COST_BREAKDOWN}, for the current organization's administrator, holding only its own work\n * (its calls through the relationships it represents in, and its own tenant's own calls). The Model cost tab of the\n * representing side's relationships section.\n */\n REPRESENTING_ORGANIZATION_MODEL_COST_BREAKDOWN = 'representing-organization-model-cost-breakdown',\n /**\n * What a REPRESENTING organization's own people did in the organizations it represents (#2874): the rows their acts\n * wrote in those organizations' trails, as far as each discloses them. The Activity tab of the representing side's\n * relationships section. Bespoke because the rows live in other tenants and only `POST /representative-activity`\n * reaches them.\n */\n REPRESENTATIVE_ACTIVITY = 'representative-activity',\n /**\n * Running an evaluation export (#2327): one agent, a window and where the dataset goes, then the dataset downloaded.\n * Bespoke because `POST /agent-work/evaluation-exports` answers with the dataset itself, and its record is the export\n * ledger the next tab lists.\n */\n AGENT_WORK_EVALUATION_EXPORT = 'agent-work-evaluation-export',\n}\n\n// ════════════════════════════════════════════════════════════════\n// Section Target — discriminated union on `kind`\n// ════════════════════════════════════════════════════════════════\n\n/** @wildo_source:part:start saas.frontend.settings-hub.placement */\n/** Renders a framework-owned bespoke panel. */\nexport interface SettingsEnginePanelTarget {\n kind: SettingsSectionTargetKind.ENGINE_PANEL;\n panelRef: SettingsPanelRef;\n}\n\n/**\n * Renders an auto-generated resource-operation surface inside the section panel.\n * Resolved against the resource registry exactly like a launcher\n * `RESOURCE_OPERATION` target.\n */\nexport interface SettingsResourceOperationTarget {\n kind: SettingsSectionTargetKind.RESOURCE_OPERATION;\n resourceType: string;\n operation: string;\n operationVariant?: string;\n}\n\n/** Renders an app-registered custom React component (resolved by `componentRef`). */\nexport interface SettingsCustomComponentTarget {\n kind: SettingsSectionTargetKind.CUSTOM_COMPONENT;\n componentRef: string;\n}\n\n/**\n * Leaf targets renderable directly in a panel. Sub-tabs may only point at leaf\n * targets — sub-tabs cannot nest further sub-tabs (one level of in-section\n * tabbing, matching the BetterStack reference).\n */\nexport type SettingsLeafTarget =\n | SettingsEnginePanelTarget\n | SettingsResourceOperationTarget\n | SettingsCustomComponentTarget;\n\n/**\n * One horizontal sub-tab within a section (e.g. the \"Members\" / \"Roles &\n * Permissions\" tabs inside a Teams section).\n */\nexport interface SettingsSubTab {\n /** Sub-tab reference — app-defined, used for i18n + the `value` of the inner Tabs. */\n ref: string;\n /** Display label (i18n ref). */\n label: string;\n /** Optional icon ref for the sub-tab trigger. */\n icon?: string;\n /** What this sub-tab renders. Sub-tabs hold leaf targets only. */\n target: SettingsLeafTarget;\n /**\n * Declarative runtime capability gating for this one tab, the same contract as the section's own (#2649). A tab\n * whose capabilities are off is left out of the section, and a section left with no tab is left out of the rail.\n *\n * For a section whose tabs are not all meaningful in every state: the SCIM section shows its tokens wherever the\n * organization holds one it can only revoke, while its provisioning tab needs a type a directory may provision.\n * Omit for a tab that is always shown when its section is.\n */\n runtimeAvailability?: LauncherRuntimeAvailabilityConfig;\n}\n\n/** Splits a section into horizontal sub-tabs rendered above the panel content. */\nexport interface SettingsSubTabsTarget {\n kind: SettingsSectionTargetKind.SUB_TABS;\n subTabs: SettingsSubTab[];\n}\n\n/**\n * What a settings section renders. Discriminated on `kind`; the `SettingsHub`\n * resolver dispatches on it to produce the panel content.\n */\nexport type SettingsSectionTarget = SettingsLeafTarget | SettingsSubTabsTarget;\n/** @wildo_source:part:end saas.frontend.settings-hub.placement */\n\n// ════════════════════════════════════════════════════════════════\n// Category — the rail group\n// ════════════════════════════════════════════════════════════════\n\n/**\n * A category groups sections in the vertical rail (the `Account` / `Organization`\n * group headers in the BetterStack reference). The rail is a `<nav>` of links:\n * each category is a labelled group with a separator before it, and inside it\n * its ungrouped sections first, then its sub-category `groups` (#2329), each\n * under its own heading.\n *\n * `scope` ties the category to a primary-scope axis so the runtime can hide it\n * when the scope is unavailable — e.g. an `ORGANIZATIONS` category is hidden when\n * no organization is selected. It is derived against `AppScope`, not authored\n * per-user.\n */\n/** @wildo_source:part:start saas.frontend.settings-hub.placement */\nexport interface SettingsCategory {\n /** Category reference — app-defined, referenced by `SettingsSection.categoryRef`. */\n ref: string;\n /** Group header label (i18n ref). */\n label: string;\n /**\n * Primary scope this category belongs to. Drives rail grouping order and\n * scope-gated visibility (org categories hide when no org is selected).\n * Omit for a scope-agnostic category.\n */\n scope?: ResourcePrimaryScope;\n /** Optional icon ref for the group header. */\n icon?: string;\n /** Sort order among categories in the rail (lower = higher). */\n order?: number;\n /**\n * Sub-categories of this category's rail (#2329): People, Security & access, Integrations and the like. A placement\n * names one through `groupRef`; the rail draws each group's heading above its sections, ungrouped sections first.\n * Declared like categories, so the application arranges its own rail.\n */\n groups?: SettingsCategoryGroup[];\n}\n\n/** One sub-category of a {@link SettingsCategory}'s rail (#2329). */\nexport interface SettingsCategoryGroup {\n /** Group reference, unique within its category; named by `SettingsPlacement.groupRef`. */\n ref: string;\n /** Group heading (authored English; `settings_hub.categories.<categoryRef>.groups.<ref>.label` overrides it). */\n label: string;\n /** Sort order among the category's groups (lower = higher). */\n order?: number;\n}\n/** @wildo_source:part:end saas.frontend.settings-hub.placement */\n\n// ════════════════════════════════════════════════════════════════\n// Section — one vertical tab in the rail\n// ════════════════════════════════════════════════════════════════\n\n/** @wildo_source:part:start saas.frontend.settings-hub.placement facet:layer:frontend facet:family:config facet:audience:app-developer */\n/**\n * An addressable settings DESTINATION — what a settings surface *is*, with no\n * opinion on where it appears.\n *\n * The engine ships most of them (`ENGINE_SETTINGS_DESTINATIONS`); an application\n * may declare its own in `SettingsHubConfig.destinations` — a settings surface for\n * one of its OWN resources, or a component it registers. Either way a destination\n * carries the target and the gating stack, and deliberately carries **no\n * `categoryRef`, no `order` and no `label`**: those are placement, and placement is\n * the application's decision (`SettingsPlacement`).\n *\n * The split exists because the engine shipping a PLACED hub is what made the\n * settings rail unauthorable — an application could not add, remove, reorder or\n * rename a section without the framework agreeing. Splitting destination from\n * placement lets the engine keep owning what a destination MEANS (its target,\n * its roles, its entitlement) while the application owns where it sits.\n */\nexport interface SettingsDestination {\n /** Destination reference — the `/settings/:sectionRef` URL segment and the id a placement names. */\n ref: string;\n /** What the destination renders in its content panel. */\n target: SettingsSectionTarget;\n /**\n * The destination's icon ref — what the settings rail draws beside its name, and what every shortcut into it\n * (the identity menu's Profile, a sidebar row naming a section) draws. Every engine destination declares one; a\n * placement's own `icon` overrides it.\n */\n icon?: string;\n /** Declarative runtime capability gating (same contract as launcher items). */\n runtimeAvailability?: LauncherRuntimeAvailabilityConfig;\n /** Feature flags required to surface this destination (plan/subscription gating). */\n requiredFeatures?: RequiredFeaturesConfig;\n /** RBAC roles required to surface this destination (OR semantics). */\n requiredRoles?: string[];\n /** Optional CoreFeature id this destination's content is ENTITLED by (soft gate — renders an upgrade prompt). */\n entitlementFeatureId?: string;\n /**\n * Engine capabilities this destination serves, ALL of which the application must enable for it to appear\n * (#2314). A section about a capability the application does not have is noise at best, and at worst a page whose\n * actions fail: agent work review without a language model, email domains without inbound email. Read from the\n * application's declared `engineCapabilities` (`AppConfiguration_Shared.enabledEngineCapabilities`), so it is the\n * same whoever is looking.\n */\n requiredEngineCapabilities?: readonly EngineCapability[];\n}\n\n/**\n * An application's explicit PLACEMENT of one destination in its settings rail.\n *\n * Authored in the application's own config. Nothing is placed implicitly: a\n * destination the application does not place does not render, which is the whole\n * point — \"we should just place things\", with no automatic inference.\n *\n * `label` is the wording INTENT and the runtime fallback. The rail renders the\n * `settings_hub.sections.<ref>.label` word when the bundle has one\n * (`tSettingsHubSection`), and this string when it does not. The companion plans\n * that key for every placed section (`collectSettingsHubLabelKeys`) and hands this\n * string to label generation as the key's purpose, so a section is worded in every\n * locale from what the application wrote here. Omitted, the fallback is the ref.\n */\nexport interface SettingsPlacement {\n /** The {@link SettingsDestination.ref} being placed — an engine destination or one of `destinations`. Refused at DEV startup when unknown. */\n destinationRef: string;\n /** Which category (rail group) this destination sits under. */\n categoryRef: string;\n /** Which of that category's `groups` it sits under (#2329). Omit to place it above the groups. Refused at DEV startup when unknown. */\n groupRef?: string;\n /** Sort order within the category, or within its group (lower = higher). */\n order?: number;\n /** Icon ref for the rail entry, overriding the destination's own `icon`. Omit to keep the destination's. */\n icon?: string;\n /** Rail label override. Omit to take `settings_hub.sections.<ref>.label`. */\n label?: string;\n}\n/** @wildo_source:part:end saas.frontend.settings-hub.placement */\n\n/**\n * A settings section is one entry in the vertical rail (one `TabsTrigger`) —\n * the RESOLVED union of a {@link SettingsDestination} and the\n * {@link SettingsPlacement} that placed it.\n *\n * Produced by `resolveSettingsHubConfig()`; never authored directly. It\n * belongs to a category, addresses a target, and reuses the existing launcher\n * gating stack:\n * - `runtimeAvailability` — survives the app-shell filtering pass (capabilities).\n * - `requiredFeatures` — plan/subscription gating once resolved.\n * - `requiredRoles` — RBAC gating (e.g. org-admin-only sections).\n *\n * `ref` is the URL-addressable section id (`/settings/:sectionRef`).\n */\nexport interface SettingsSection {\n /** Section reference — app-defined; the `/settings/:sectionRef` URL segment + Tabs `value`. */\n ref: string;\n /** Which category (rail group) this section sits under. */\n categoryRef: string;\n /** Which of the category's sub-category groups it sits under, when its placement named one. */\n groupRef?: string;\n /** Rail label (i18n ref). */\n label: string;\n /** Optional icon ref for the rail entry. */\n icon?: string;\n /** Sort order within the category (lower = higher). */\n order?: number;\n /** What the section renders in its content panel. */\n target: SettingsSectionTarget;\n /** Declarative runtime capability gating (same contract as launcher items). */\n runtimeAvailability?: LauncherRuntimeAvailabilityConfig;\n /**\n * Feature flags required to surface this section (plan/subscription gating).\n *\n * Uses the framework-canonical {@link RequiredFeaturesConfig} contract shared\n * with views and resource operations — shorthand `string[]` (OR semantics) or\n * the full `{ features, mode: 'OR' | 'AND' }` form. `limitChecks` are not\n * evaluated for section visibility (a section is shown or hidden, never\n * \"over-limit\"); use {@link requiredRoles} / capabilities for hard gating.\n */\n requiredFeatures?: RequiredFeaturesConfig;\n /**\n * RBAC roles required to surface this section (OR semantics — the user needs\n * ANY one of these roles). Evaluated against the merged app-level + current-\n * organization role set, the same effective surface the rest of the frontend\n * gating layer resolves (see `buildFeaturePolicyRoles`). Org-management\n * sections gate on `[CORE_ORG_ROLES.ORG_OWNER, CORE_ORG_ROLES.ORG_ADMIN]`.\n */\n requiredRoles?: string[];\n /**\n * Optional CoreFeature id this section's content is ENTITLED by. Distinct from\n * {@link requiredFeatures} (a HARD hide-gate): when set, the section still\n * SURVIVES (per `runtimeAvailability`/roles) and its body is wrapped in a\n * `FeatureGate` so an OFFERED-but-not-yet-entitled feature renders the\n * policy-driven upgrade/add-on prompt (`unavailabilityPolicy`) instead of\n * vanishing. Pair with a `runtimeAvailability.requiredCapabilities` gate whose\n * capability is the plan-independent \"app offers X\" signal, so a feature the\n * app does NOT offer at all is hidden outright while an offered one prompts.\n * The engine's own SSO / SCIM / SIEM capabilities also hold while the\n * organization still has the feature configured (#3126); such a section,\n * sold by no plan, renders the kept-configuration notice alone.\n */\n entitlementFeatureId?: string;\n /** Engine capabilities the destination serves; see {@link SettingsDestination.requiredEngineCapabilities}. */\n requiredEngineCapabilities?: readonly EngineCapability[];\n}\n\n// ════════════════════════════════════════════════════════════════\n// Hub Config — the registry root\n// ════════════════════════════════════════════════════════════════\n\n/** @wildo_source:part:start saas.frontend.settings-hub.placement */\n/**\n * The AUTHORED Settings Hub registry — an application's own settings rail.\n *\n * The framework ships destinations (`ENGINE_SETTINGS_DESTINATIONS`), never a\n * placed hub. This is the application's half: which categories exist, which\n * destinations are placed where, and any destinations the application owns.\n * `wildo init` scaffolds the full engine destination list as placements so a new\n * application starts complete and edits down.\n *\n * Resolve it with `resolveSettingsHubConfig()` to get the rendered\n * {@link SettingsSection} list; the render path never reads this shape directly.\n */\nexport interface SettingsHubConfig {\n /** Rail groups, in render order (also orderable via `SettingsCategory.order`). */\n categories: SettingsCategory[];\n /**\n * Every destination this application places, and where.\n *\n * A destination that appears in no placement does not render. That is\n * deliberate: absence is how an application removes a settings section, and it\n * must not be second-guessed by a merge against a framework default.\n */\n placements: SettingsPlacement[];\n /**\n * The application's OWN destinations — settings surfaces the engine does not\n * ship, such as a list of the application's team members or a component it\n * registers. Declared here, then placed like any other destination; a\n * declared destination that no placement names does not render.\n *\n * The ref must not be an engine destination's ref. The engine keeps owning\n * what its destinations mean, so on a clash the ENGINE destination is the one\n * resolved, and the DEV startup verifier reports the clash.\n */\n destinations?: SettingsDestination[];\n /**\n * Section opened when the hub is launched without an explicit section\n * (`/settings` with no `:sectionRef`). Falls back to the first section of the\n * first category when omitted.\n */\n defaultSectionRef?: string;\n}\n\n/**\n * The RESOLVED hub — categories plus fully-resolved sections, ready to render.\n *\n * Distinct from {@link SettingsHubConfig} (what an application AUTHORS) because\n * conflating the two is what let a placed default ship from the engine. A\n * consumer that renders takes this; a consumer that configures takes the other.\n */\nexport interface ResolvedSettingsHubConfig {\n categories: SettingsCategory[];\n sections: SettingsSection[];\n defaultSectionRef?: string;\n}\n/** @wildo_source:part:end saas.frontend.settings-hub.placement */\n"]}
1
+ {"version":3,"file":"settings-hub.frontend.schemas.js","sourceRoot":"","sources":["../../../../src/core/config/settings-hub.frontend.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAMH,mEAAmE;AACnE,+DAA+D;AAC/D,mEAAmE;AAEnE,oEAAoE;AACpE;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,yBASX;AATD,WAAY,yBAAyB;IACnC,iEAAiE;IACjE,0DAA6B,CAAA;IAC7B,+FAA+F;IAC/F,sEAAyC,CAAA;IACzC,sFAAsF;IACtF,kEAAqC,CAAA;IACrC,0GAA0G;IAC1G,kDAAqB,CAAA;AACvB,CAAC,EATW,yBAAyB,KAAzB,yBAAyB,QASpC;AACD,kEAAkE;AAElE,mEAAmE;AACnE,6DAA6D;AAC7D,mEAAmE;AAEnE;;;;;;;;;;GAUG;AACH,MAAM,CAAN,IAAY,gBA8GX;AA9GD,WAAY,gBAAgB;IAC1B,wGAAwG;IACxG,yCAAqB,CAAA;IACrB,qEAAqE;IACrE,6CAAyB,CAAA;IACzB,oFAAoF;IACpF,+CAA2B,CAAA;IAC3B;;;;;;;;;;;OAWG;IACH,uCAAmB,CAAA;IACnB;;;;;;;;;;;;OAYG;IACH,6DAAyC,CAAA;IACzC;;;;;;;OAOG;IACH,uFAAmE,CAAA;IACnE;;;;;;;;OAQG;IACH,qFAAiE,CAAA;IACjE;;;;;;;OAOG;IACH,yEAAqD,CAAA;IACrD;;;;;;OAMG;IACH,2DAAuC,CAAA;IACvC;;;;OAIG;IACH,qDAAiC,CAAA;IACjC;;;;OAIG;IACH,6EAAyD,CAAA;IACzD;;;;;;OAMG;IACH,iEAA6C,CAAA;IAC7C;;;;;OAKG;IACH,qHAAiG,CAAA;IACjG;;;;;OAKG;IACH,uEAAmD,CAAA;IACnD;;;;OAIG;IACH,iFAA6D,CAAA;AAC/D,CAAC,EA9GW,gBAAgB,KAAhB,gBAAgB,QA8G3B;AAgVD,kEAAkE","sourcesContent":["/**\n * Settings Hub — Declarative Section Registry\n *\n * The Settings Hub is the framework's single point of configuration: one overlay\n * surface that consolidates every settings destination (account, security,\n * appearance, organization, members, billing, …) behind a vertical `Tabs` rail\n * grouped by category. Many entry points (user dropdown, sidebar, command menu)\n * all converge on this one hub; links differ only by which section they pre-open.\n *\n * This file owns the **config-time** registry contract. It is declaration-first\n * and mirrors `launcher-items.frontend.schemas.ts`:\n * - `SettingsSectionTarget` is an interface-based discriminated union on `kind`\n * (exactly like `LauncherItemRef`), because section targets are config-time\n * descriptors resolved by the runtime — not Zod-validated wire payloads.\n * - The engine ships DESTINATIONS (`ENGINE_SETTINGS_DESTINATIONS`) and no\n * arrangement; an application authors its own `SettingsHubConfig` — its\n * categories, its placements, and any destinations of its own.\n *\n * Runtime concerns live elsewhere:\n * - `NavigationContentType.SETTINGS_HUB` (navigation.schemas.ts) — what renders\n * in the overlay zone.\n * - `SettingsHub` component (components/settings/) — resolves a section's target\n * to a rendered panel.\n *\n * @see launcher-items.frontend.schemas.ts — the sibling launcher registry this mirrors\n */\n\nimport { ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport type { EngineCapability, RequiredFeaturesConfig } from '@wildo-ai/saas-models';\nimport type { LauncherRuntimeAvailabilityConfig } from './launcher-items.frontend.schemas';\n\n// ════════════════════════════════════════════════════════════════\n// Section Target Kind — discriminant for SettingsSectionTarget\n// ════════════════════════════════════════════════════════════════\n\n/** @wildo_source:part:start saas.frontend.settings-hub.placement */\n/**\n * What a settings section renders in its content panel.\n *\n * Discriminant for the `SettingsSectionTarget` union. The default for\n * data-backed settings is `RESOURCE_OPERATION` (reuse the auto-rendered\n * resource surface); `ENGINE_PANEL` is reserved for the few sections whose\n * bespoke layout earns it (Security, Appearance).\n */\nexport enum SettingsSectionTargetKind {\n /** A framework-owned bespoke panel (Security, Appearance, …). */\n ENGINE_PANEL = 'engine_panel',\n /** An auto-rendered resource-operation surface (members, API tokens, billing, preferences). */\n RESOURCE_OPERATION = 'resource_operation',\n /** An app-registered custom React component (resolved via the component registry). */\n CUSTOM_COMPONENT = 'custom_component',\n /** A section that itself splits into horizontal sub-tabs (e.g. Teams → Members / Roles & Permissions). */\n SUB_TABS = 'sub_tabs',\n}\n/** @wildo_source:part:end saas.frontend.settings-hub.placement */\n\n// ════════════════════════════════════════════════════════════════\n// Engine Panel Ref — framework-owned bespoke settings panels\n// ════════════════════════════════════════════════════════════════\n\n/**\n * Framework-provided settings panels with bespoke (non-CRUD) layout.\n *\n * Closed enum — only framework panels belong here. Most settings sections should\n * be `RESOURCE_OPERATION` targets instead; a panel earns a slot here only when a\n * standard resource surface cannot express it (multi-factor enrollment flows,\n * theme/dark-mode toggles, …).\n *\n * The runtime maps each ref to a registered panel component in the\n * `SettingsHub` resolver.\n */\nexport enum SettingsPanelRef {\n /** Password, MFA enrollment, passkeys, identity links (wraps the former `AppPage_SecuritySettings`). */\n SECURITY = 'security',\n /** Theme, dark-mode, density and other look-and-feel preferences. */\n APPEARANCE = 'appearance',\n /** The caller's own pending org invitations — accept/reject in-app (Approach P). */\n INVITATIONS = 'invitations',\n /**\n * The billing home: subscription status, plan catalog + checkout, usage,\n * invoices and the provider portal link — composed from the BillingContext\n * aggregated state (`GET_STATE`), NOT from per-resource LIST surfaces.\n *\n * Bespoke on purpose: the billing child resources (subscriptions, invoice\n * refs, usage records) are routed UNDER the billing account\n * (`REQUIRES_CONTEXT`), so a generic org-scoped `RESOURCE_OPERATION` panel\n * cannot build their URLs. The aggregated billing state is org-addressable\n * and auto-creates the account, which makes it the correct settings-surface\n * data source.\n */\n BILLING = 'billing',\n /**\n * Where a person CONNECTS one of their own third-party accounts.\n *\n * Bespoke because connecting is not a row somebody creates: it is a flow that leaves the\n * application, obtains consent at a vendor, and returns with a grant nobody typed. The generic\n * resource surface can list, inspect and delete the resulting credentials perfectly — it simply has\n * no mechanism for an ACTION of that shape, which is why the whole outbound-authorization lane had\n * no surface that could begin it until this existed.\n *\n * Since #2319 it is also the one list of what IS connected: every held connection with its acts, then\n * every provider nothing is held for. A separate credential list beside it made a person match the\n * same rows up by name.\n */\n CONNECTED_ACCOUNTS = 'connected-accounts',\n /**\n * The same act at the TENANT's scope: connecting an account the whole organization acts as.\n *\n * A distinct ref rather than a parameterised one, because a settings destination resolves a ref to\n * a panel and carries no arguments — and because the two must never be reachable from each other's\n * screen. The component behind them IS shared: the act is identical, and duplicating it would\n * guarantee the two drift. What is never shared is the data.\n */\n ORGANIZATION_CONNECTED_ACCOUNTS = 'organization-connected-accounts',\n /**\n * The same act for the APPLICATION's own account (#3579): the vendor account the deployment acts as, connected,\n * shown and disconnected by a super-administrator.\n *\n * A third ref for the organization ref's reason, and the same component. What differs at this scope is where each\n * act goes: the application's rows have no credential resource, so the listing reads `?ownerScope=application`, the\n * disconnect is `DELETE /connections/application/{connectionRef}`, and the per-row acts that need that resource\n * (turn off or on, a row's description, removing one slot) are not offered.\n */\n APPLICATION_CONNECTED_ACCOUNTS = 'application-connected-accounts',\n /**\n * How often the organization's deciders override its agents (#1599), per agent, tool, case or reviewer, over a\n * window: the counts behind the rate, the decisions nobody took counted apart, and a group where nothing was decided\n * shown as that rather than as 0 %.\n *\n * Bespoke because the rate is not a row: it is a summary the engine computes from the decision records on request\n * (`POST /agent-work/override-rate`), and no resource surface can render a computed aggregate.\n */\n AGENT_WORK_OVERRIDE_RATE = 'agent-work-override-rate',\n /**\n * An organization's autonomous agents (#2528): when each runs, its latest runs and its latest refusals with their\n * reason in words.\n *\n * Bespoke because the answer is one read across two stores: the runs are execution rows, and a turn that did not run\n * left no row at all, only an audit record of its refusal (`GET /flows-actors/autonomous-agents`).\n */\n AUTONOMOUS_AGENTS = 'autonomous-agents',\n /**\n * What an organization's declared flows and actor systems did (#3990): the runs, newest first, and each run's history,\n * tasks and flow steps. Bespoke because the actor plane's rows have no resource route; the page reads them through\n * `POST /flows-actors/agent-activity` and `/agent-activity/run`.\n */\n AGENT_ACTIVITY = 'agent-activity',\n /**\n * The same page across EVERY organization (#3990), each run naming the organization it worked for: an application-wide\n * read under the application's audit read policy. A distinct ref for the connected-accounts reason: a destination\n * resolves a ref to a panel and carries no arguments, and the component behind both is shared.\n */\n APPLICATION_AGENT_ACTIVITY = 'application-agent-activity',\n /**\n * What model calls cost per case, organization, agent or model over a window, in money (#2528): the Breakdown tab of\n * Administration > Model costs, beside the monthly records.\n *\n * Bespoke because the breakdown is not a row: it is a summary the engine computes on request from the call records\n * (`POST /model-cost/summary`), with the calls it could not attribute or price counted apart.\n */\n MODEL_COST_BREAKDOWN = 'model-cost-breakdown',\n /**\n * What a REPRESENTING organization's own model calls cost (#2618): the same breakdown as\n * {@link SettingsPanelRef.MODEL_COST_BREAKDOWN}, for the current organization's administrator, holding only its own work\n * (its calls through the relationships it represents in, and its own tenant's own calls). The Model cost tab of the\n * representing side's relationships section.\n */\n REPRESENTING_ORGANIZATION_MODEL_COST_BREAKDOWN = 'representing-organization-model-cost-breakdown',\n /**\n * What a REPRESENTING organization's own people did in the organizations it represents (#2874): the rows their acts\n * wrote in those organizations' trails, as far as each discloses them. The Activity tab of the representing side's\n * relationships section. Bespoke because the rows live in other tenants and only `POST /representative-activity`\n * reaches them.\n */\n REPRESENTATIVE_ACTIVITY = 'representative-activity',\n /**\n * Running an evaluation export (#2327): one agent, a window and where the dataset goes, then the dataset downloaded.\n * Bespoke because `POST /agent-work/evaluation-exports` answers with the dataset itself, and its record is the export\n * ledger the next tab lists.\n */\n AGENT_WORK_EVALUATION_EXPORT = 'agent-work-evaluation-export',\n}\n\n// ════════════════════════════════════════════════════════════════\n// Section Target — discriminated union on `kind`\n// ════════════════════════════════════════════════════════════════\n\n/** @wildo_source:part:start saas.frontend.settings-hub.placement */\n/** Renders a framework-owned bespoke panel. */\nexport interface SettingsEnginePanelTarget {\n kind: SettingsSectionTargetKind.ENGINE_PANEL;\n panelRef: SettingsPanelRef;\n}\n\n/**\n * Renders an auto-generated resource-operation surface inside the section panel.\n * Resolved against the resource registry exactly like a launcher\n * `RESOURCE_OPERATION` target.\n */\nexport interface SettingsResourceOperationTarget {\n kind: SettingsSectionTargetKind.RESOURCE_OPERATION;\n resourceType: string;\n operation: string;\n operationVariant?: string;\n}\n\n/** Renders an app-registered custom React component (resolved by `componentRef`). */\nexport interface SettingsCustomComponentTarget {\n kind: SettingsSectionTargetKind.CUSTOM_COMPONENT;\n componentRef: string;\n}\n\n/**\n * Leaf targets renderable directly in a panel. Sub-tabs may only point at leaf\n * targets — sub-tabs cannot nest further sub-tabs (one level of in-section\n * tabbing, matching the BetterStack reference).\n */\nexport type SettingsLeafTarget =\n | SettingsEnginePanelTarget\n | SettingsResourceOperationTarget\n | SettingsCustomComponentTarget;\n\n/**\n * One horizontal sub-tab within a section (e.g. the \"Members\" / \"Roles &\n * Permissions\" tabs inside a Teams section).\n */\nexport interface SettingsSubTab {\n /** Sub-tab reference — app-defined, used for i18n + the `value` of the inner Tabs. */\n ref: string;\n /** Display label (i18n ref). */\n label: string;\n /** Optional icon ref for the sub-tab trigger. */\n icon?: string;\n /** What this sub-tab renders. Sub-tabs hold leaf targets only. */\n target: SettingsLeafTarget;\n /**\n * Declarative runtime capability gating for this one tab, the same contract as the section's own (#2649). A tab\n * whose capabilities are off is left out of the section, and a section left with no tab is left out of the rail.\n *\n * For a section whose tabs are not all meaningful in every state: the SCIM section shows its tokens wherever the\n * organization holds one it can only revoke, while its provisioning tab needs a type a directory may provision.\n * Omit for a tab that is always shown when its section is.\n */\n runtimeAvailability?: LauncherRuntimeAvailabilityConfig;\n}\n\n/** Splits a section into horizontal sub-tabs rendered above the panel content. */\nexport interface SettingsSubTabsTarget {\n kind: SettingsSectionTargetKind.SUB_TABS;\n subTabs: SettingsSubTab[];\n}\n\n/**\n * What a settings section renders. Discriminated on `kind`; the `SettingsHub`\n * resolver dispatches on it to produce the panel content.\n */\nexport type SettingsSectionTarget = SettingsLeafTarget | SettingsSubTabsTarget;\n/** @wildo_source:part:end saas.frontend.settings-hub.placement */\n\n// ════════════════════════════════════════════════════════════════\n// Category — the rail group\n// ════════════════════════════════════════════════════════════════\n\n/**\n * A category groups sections in the vertical rail (the `Account` / `Organization`\n * group headers in the BetterStack reference). The rail is a `<nav>` of links:\n * each category is a labelled group with a separator before it, and inside it\n * its ungrouped sections first, then its sub-category `groups` (#2329), each\n * under its own heading.\n *\n * `scope` ties the category to a primary-scope axis so the runtime can hide it\n * when the scope is unavailable — e.g. an `ORGANIZATIONS` category is hidden when\n * no organization is selected. It is derived against `AppScope`, not authored\n * per-user.\n */\n/** @wildo_source:part:start saas.frontend.settings-hub.placement */\nexport interface SettingsCategory {\n /** Category reference — app-defined, referenced by `SettingsSection.categoryRef`. */\n ref: string;\n /** Group header label (i18n ref). */\n label: string;\n /**\n * Primary scope this category belongs to. Drives rail grouping order and\n * scope-gated visibility (org categories hide when no org is selected).\n * Omit for a scope-agnostic category.\n */\n scope?: ResourcePrimaryScope;\n /** Optional icon ref for the group header. */\n icon?: string;\n /** Sort order among categories in the rail (lower = higher). */\n order?: number;\n /**\n * Sub-categories of this category's rail (#2329): People, Security & access, Integrations and the like. A placement\n * names one through `groupRef`; the rail draws each group's heading above its sections, ungrouped sections first.\n * Declared like categories, so the application arranges its own rail.\n */\n groups?: SettingsCategoryGroup[];\n}\n\n/** One sub-category of a {@link SettingsCategory}'s rail (#2329). */\nexport interface SettingsCategoryGroup {\n /** Group reference, unique within its category; named by `SettingsPlacement.groupRef`. */\n ref: string;\n /** Group heading (authored English; `settings_hub.categories.<categoryRef>.groups.<ref>.label` overrides it). */\n label: string;\n /** Sort order among the category's groups (lower = higher). */\n order?: number;\n}\n/** @wildo_source:part:end saas.frontend.settings-hub.placement */\n\n// ════════════════════════════════════════════════════════════════\n// Section — one vertical tab in the rail\n// ════════════════════════════════════════════════════════════════\n\n/** @wildo_source:part:start saas.frontend.settings-hub.placement facet:layer:frontend facet:family:config facet:audience:app-developer */\n/**\n * An addressable settings DESTINATION — what a settings surface *is*, with no\n * opinion on where it appears.\n *\n * The engine ships most of them (`ENGINE_SETTINGS_DESTINATIONS`); an application\n * may declare its own in `SettingsHubConfig.destinations` — a settings surface for\n * one of its OWN resources, or a component it registers. Either way a destination\n * carries the target and the gating stack, and deliberately carries **no\n * `categoryRef`, no `order` and no `label`**: those are placement, and placement is\n * the application's decision (`SettingsPlacement`).\n *\n * The split exists because the engine shipping a PLACED hub is what made the\n * settings rail unauthorable — an application could not add, remove, reorder or\n * rename a section without the framework agreeing. Splitting destination from\n * placement lets the engine keep owning what a destination MEANS (its target,\n * its roles, its entitlement) while the application owns where it sits.\n */\nexport interface SettingsDestination {\n /** Destination reference — the `/settings/:sectionRef` URL segment and the id a placement names. */\n ref: string;\n /** What the destination renders in its content panel. */\n target: SettingsSectionTarget;\n /**\n * The destination's icon ref — what the settings rail draws beside its name, and what every shortcut into it\n * (the identity menu's Profile, a sidebar row naming a section) draws. Every engine destination declares one; a\n * placement's own `icon` overrides it.\n */\n icon?: string;\n /** Declarative runtime capability gating (same contract as launcher items). */\n runtimeAvailability?: LauncherRuntimeAvailabilityConfig;\n /** Feature flags required to surface this destination (plan/subscription gating). */\n requiredFeatures?: RequiredFeaturesConfig;\n /** RBAC roles required to surface this destination (OR semantics). */\n requiredRoles?: string[];\n /** Optional CoreFeature id this destination's content is ENTITLED by (soft gate — renders an upgrade prompt). */\n entitlementFeatureId?: string;\n /**\n * Engine capabilities this destination serves, ALL of which the application must enable for it to appear\n * (#2314). A section about a capability the application does not have is noise at best, and at worst a page whose\n * actions fail: agent work review without a language model, email domains without inbound email. Read from the\n * application's declared `engineCapabilities` (`AppConfiguration_Shared.enabledEngineCapabilities`), so it is the\n * same whoever is looking.\n */\n requiredEngineCapabilities?: readonly EngineCapability[];\n}\n\n/**\n * An application's explicit PLACEMENT of one destination in its settings rail.\n *\n * Authored in the application's own config. Nothing is placed implicitly: a\n * destination the application does not place does not render, which is the whole\n * point — \"we should just place things\", with no automatic inference.\n *\n * `label` is the wording INTENT and the runtime fallback. The rail renders the\n * `settings_hub.sections.<ref>.label` word when the bundle has one\n * (`tSettingsHubSection`), and this string when it does not. The companion plans\n * that key for every placed section (`collectSettingsHubLabelKeys`) and hands this\n * string to label generation as the key's purpose, so a section is worded in every\n * locale from what the application wrote here. Omitted, the fallback is the ref.\n */\nexport interface SettingsPlacement {\n /** The {@link SettingsDestination.ref} being placed — an engine destination or one of `destinations`. Refused at DEV startup when unknown. */\n destinationRef: string;\n /** Which category (rail group) this destination sits under. */\n categoryRef: string;\n /** Which of that category's `groups` it sits under (#2329). Omit to place it above the groups. Refused at DEV startup when unknown. */\n groupRef?: string;\n /** Sort order within the category, or within its group (lower = higher). */\n order?: number;\n /** Icon ref for the rail entry, overriding the destination's own `icon`. Omit to keep the destination's. */\n icon?: string;\n /** Rail label override. Omit to take `settings_hub.sections.<ref>.label`. */\n label?: string;\n}\n/** @wildo_source:part:end saas.frontend.settings-hub.placement */\n\n/**\n * A settings section is one entry in the vertical rail (one `TabsTrigger`) —\n * the RESOLVED union of a {@link SettingsDestination} and the\n * {@link SettingsPlacement} that placed it.\n *\n * Produced by `resolveSettingsHubConfig()`; never authored directly. It\n * belongs to a category, addresses a target, and reuses the existing launcher\n * gating stack:\n * - `runtimeAvailability` — survives the app-shell filtering pass (capabilities).\n * - `requiredFeatures` — plan/subscription gating once resolved.\n * - `requiredRoles` — RBAC gating (e.g. org-admin-only sections).\n *\n * `ref` is the URL-addressable section id (`/settings/:sectionRef`).\n */\nexport interface SettingsSection {\n /** Section reference — app-defined; the `/settings/:sectionRef` URL segment + Tabs `value`. */\n ref: string;\n /** Which category (rail group) this section sits under. */\n categoryRef: string;\n /** Which of the category's sub-category groups it sits under, when its placement named one. */\n groupRef?: string;\n /** Rail label (i18n ref). */\n label: string;\n /** Optional icon ref for the rail entry. */\n icon?: string;\n /** Sort order within the category (lower = higher). */\n order?: number;\n /** What the section renders in its content panel. */\n target: SettingsSectionTarget;\n /** Declarative runtime capability gating (same contract as launcher items). */\n runtimeAvailability?: LauncherRuntimeAvailabilityConfig;\n /**\n * Feature flags required to surface this section (plan/subscription gating).\n *\n * Uses the framework-canonical {@link RequiredFeaturesConfig} contract shared\n * with views and resource operations — shorthand `string[]` (OR semantics) or\n * the full `{ features, mode: 'OR' | 'AND' }` form. `limitChecks` are not\n * evaluated for section visibility (a section is shown or hidden, never\n * \"over-limit\"); use {@link requiredRoles} / capabilities for hard gating.\n */\n requiredFeatures?: RequiredFeaturesConfig;\n /**\n * RBAC roles required to surface this section (OR semantics — the user needs\n * ANY one of these roles). Evaluated against the merged app-level + current-\n * organization role set, the same effective surface the rest of the frontend\n * gating layer resolves (see `buildFeaturePolicyRoles`). Org-management\n * sections gate on `[CORE_ORG_ROLES.ORG_OWNER, CORE_ORG_ROLES.ORG_ADMIN]`.\n */\n requiredRoles?: string[];\n /**\n * Optional CoreFeature id this section's content is ENTITLED by. Distinct from\n * {@link requiredFeatures} (a HARD hide-gate): when set, the section still\n * SURVIVES (per `runtimeAvailability`/roles) and its body is wrapped in a\n * `FeatureGate` so an OFFERED-but-not-yet-entitled feature renders the\n * policy-driven upgrade/add-on prompt (`unavailabilityPolicy`) instead of\n * vanishing. Pair with a `runtimeAvailability.requiredCapabilities` gate whose\n * capability is the plan-independent \"app offers X\" signal, so a feature the\n * app does NOT offer at all is hidden outright while an offered one prompts.\n * The engine's own SSO / SCIM / SIEM capabilities also hold while the\n * organization still has the feature configured (#3126); such a section,\n * sold by no plan, renders the kept-configuration notice alone.\n */\n entitlementFeatureId?: string;\n /** Engine capabilities the destination serves; see {@link SettingsDestination.requiredEngineCapabilities}. */\n requiredEngineCapabilities?: readonly EngineCapability[];\n}\n\n// ════════════════════════════════════════════════════════════════\n// Hub Config — the registry root\n// ════════════════════════════════════════════════════════════════\n\n/** @wildo_source:part:start saas.frontend.settings-hub.placement */\n/**\n * The AUTHORED Settings Hub registry — an application's own settings rail.\n *\n * The framework ships destinations (`ENGINE_SETTINGS_DESTINATIONS`), never a\n * placed hub. This is the application's half: which categories exist, which\n * destinations are placed where, and any destinations the application owns.\n * `wildo init` scaffolds the full engine destination list as placements so a new\n * application starts complete and edits down.\n *\n * Resolve it with `resolveSettingsHubConfig()` to get the rendered\n * {@link SettingsSection} list; the render path never reads this shape directly.\n */\nexport interface SettingsHubConfig {\n /** Rail groups, in render order (also orderable via `SettingsCategory.order`). */\n categories: SettingsCategory[];\n /**\n * Every destination this application places, and where.\n *\n * A destination that appears in no placement does not render. That is\n * deliberate: absence is how an application removes a settings section, and it\n * must not be second-guessed by a merge against a framework default.\n */\n placements: SettingsPlacement[];\n /**\n * The application's OWN destinations — settings surfaces the engine does not\n * ship, such as a list of the application's team members or a component it\n * registers. Declared here, then placed like any other destination; a\n * declared destination that no placement names does not render.\n *\n * The ref must not be an engine destination's ref. The engine keeps owning\n * what its destinations mean, so on a clash the ENGINE destination is the one\n * resolved, and the DEV startup verifier reports the clash.\n */\n destinations?: SettingsDestination[];\n /**\n * Section opened when the hub is launched without an explicit section\n * (`/settings` with no `:sectionRef`). Falls back to the first section of the\n * first category when omitted.\n */\n defaultSectionRef?: string;\n}\n\n/**\n * The RESOLVED hub — categories plus fully-resolved sections, ready to render.\n *\n * Distinct from {@link SettingsHubConfig} (what an application AUTHORS) because\n * conflating the two is what let a placed default ship from the engine. A\n * consumer that renders takes this; a consumer that configures takes the other.\n */\nexport interface ResolvedSettingsHubConfig {\n categories: SettingsCategory[];\n sections: SettingsSection[];\n defaultSectionRef?: string;\n}\n/** @wildo_source:part:end saas.frontend.settings-hub.placement */\n"]}
@@ -462,6 +462,7 @@ export declare const FrontendEvent_NavigationRequestSchema: z.ZodObject<{
462
462
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.COMPOSITE_VIEW>;
463
463
  viewRef: z.ZodString;
464
464
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
465
+ linkedConversationId: z.ZodOptional<z.ZodString>;
465
466
  }, z.core.$strip>, z.ZodObject<{
466
467
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.CHART_VIEW>;
467
468
  viewRef: z.ZodString;
@@ -498,6 +499,7 @@ export declare const FrontendEvent_NavigationRequestSchema: z.ZodObject<{
498
499
  viewRef: z.ZodString;
499
500
  flowsActorsSystemRef: z.ZodString;
500
501
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
502
+ linkedConversationId: z.ZodOptional<z.ZodString>;
501
503
  }, z.core.$strip>, z.ZodObject<{
502
504
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.EXECUTION_VIEW>;
503
505
  viewRef: z.ZodString;
@@ -598,6 +600,7 @@ export declare const FrontendEvent_NavigationPushSchema: z.ZodObject<{
598
600
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.COMPOSITE_VIEW>;
599
601
  viewRef: z.ZodString;
600
602
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
603
+ linkedConversationId: z.ZodOptional<z.ZodString>;
601
604
  }, z.core.$strip>, z.ZodObject<{
602
605
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.CHART_VIEW>;
603
606
  viewRef: z.ZodString;
@@ -634,6 +637,7 @@ export declare const FrontendEvent_NavigationPushSchema: z.ZodObject<{
634
637
  viewRef: z.ZodString;
635
638
  flowsActorsSystemRef: z.ZodString;
636
639
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
640
+ linkedConversationId: z.ZodOptional<z.ZodString>;
637
641
  }, z.core.$strip>, z.ZodObject<{
638
642
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.EXECUTION_VIEW>;
639
643
  viewRef: z.ZodString;
@@ -744,6 +748,7 @@ export declare const FrontendEvent_NavigationReplaceSchema: z.ZodObject<{
744
748
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.COMPOSITE_VIEW>;
745
749
  viewRef: z.ZodString;
746
750
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
751
+ linkedConversationId: z.ZodOptional<z.ZodString>;
747
752
  }, z.core.$strip>, z.ZodObject<{
748
753
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.CHART_VIEW>;
749
754
  viewRef: z.ZodString;
@@ -780,6 +785,7 @@ export declare const FrontendEvent_NavigationReplaceSchema: z.ZodObject<{
780
785
  viewRef: z.ZodString;
781
786
  flowsActorsSystemRef: z.ZodString;
782
787
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
788
+ linkedConversationId: z.ZodOptional<z.ZodString>;
783
789
  }, z.core.$strip>, z.ZodObject<{
784
790
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.EXECUTION_VIEW>;
785
791
  viewRef: z.ZodString;
@@ -914,6 +920,7 @@ export declare const FrontendEvent_NavigationZoneChangedSchema: z.ZodObject<{
914
920
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.COMPOSITE_VIEW>;
915
921
  viewRef: z.ZodString;
916
922
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
923
+ linkedConversationId: z.ZodOptional<z.ZodString>;
917
924
  }, z.core.$strip>, z.ZodObject<{
918
925
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.CHART_VIEW>;
919
926
  viewRef: z.ZodString;
@@ -950,6 +957,7 @@ export declare const FrontendEvent_NavigationZoneChangedSchema: z.ZodObject<{
950
957
  viewRef: z.ZodString;
951
958
  flowsActorsSystemRef: z.ZodString;
952
959
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
960
+ linkedConversationId: z.ZodOptional<z.ZodString>;
953
961
  }, z.core.$strip>, z.ZodObject<{
954
962
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.EXECUTION_VIEW>;
955
963
  viewRef: z.ZodString;
@@ -1626,6 +1634,7 @@ export declare const FrontendEventSchemas: {
1626
1634
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.COMPOSITE_VIEW>;
1627
1635
  viewRef: z.ZodString;
1628
1636
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1637
+ linkedConversationId: z.ZodOptional<z.ZodString>;
1629
1638
  }, z.core.$strip>, z.ZodObject<{
1630
1639
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.CHART_VIEW>;
1631
1640
  viewRef: z.ZodString;
@@ -1662,6 +1671,7 @@ export declare const FrontendEventSchemas: {
1662
1671
  viewRef: z.ZodString;
1663
1672
  flowsActorsSystemRef: z.ZodString;
1664
1673
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1674
+ linkedConversationId: z.ZodOptional<z.ZodString>;
1665
1675
  }, z.core.$strip>, z.ZodObject<{
1666
1676
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.EXECUTION_VIEW>;
1667
1677
  viewRef: z.ZodString;
@@ -1762,6 +1772,7 @@ export declare const FrontendEventSchemas: {
1762
1772
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.COMPOSITE_VIEW>;
1763
1773
  viewRef: z.ZodString;
1764
1774
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1775
+ linkedConversationId: z.ZodOptional<z.ZodString>;
1765
1776
  }, z.core.$strip>, z.ZodObject<{
1766
1777
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.CHART_VIEW>;
1767
1778
  viewRef: z.ZodString;
@@ -1798,6 +1809,7 @@ export declare const FrontendEventSchemas: {
1798
1809
  viewRef: z.ZodString;
1799
1810
  flowsActorsSystemRef: z.ZodString;
1800
1811
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1812
+ linkedConversationId: z.ZodOptional<z.ZodString>;
1801
1813
  }, z.core.$strip>, z.ZodObject<{
1802
1814
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.EXECUTION_VIEW>;
1803
1815
  viewRef: z.ZodString;
@@ -1908,6 +1920,7 @@ export declare const FrontendEventSchemas: {
1908
1920
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.COMPOSITE_VIEW>;
1909
1921
  viewRef: z.ZodString;
1910
1922
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1923
+ linkedConversationId: z.ZodOptional<z.ZodString>;
1911
1924
  }, z.core.$strip>, z.ZodObject<{
1912
1925
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.CHART_VIEW>;
1913
1926
  viewRef: z.ZodString;
@@ -1944,6 +1957,7 @@ export declare const FrontendEventSchemas: {
1944
1957
  viewRef: z.ZodString;
1945
1958
  flowsActorsSystemRef: z.ZodString;
1946
1959
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1960
+ linkedConversationId: z.ZodOptional<z.ZodString>;
1947
1961
  }, z.core.$strip>, z.ZodObject<{
1948
1962
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.EXECUTION_VIEW>;
1949
1963
  viewRef: z.ZodString;
@@ -2066,6 +2080,7 @@ export declare const FrontendEventSchemas: {
2066
2080
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.COMPOSITE_VIEW>;
2067
2081
  viewRef: z.ZodString;
2068
2082
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2083
+ linkedConversationId: z.ZodOptional<z.ZodString>;
2069
2084
  }, z.core.$strip>, z.ZodObject<{
2070
2085
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.CHART_VIEW>;
2071
2086
  viewRef: z.ZodString;
@@ -2102,6 +2117,7 @@ export declare const FrontendEventSchemas: {
2102
2117
  viewRef: z.ZodString;
2103
2118
  flowsActorsSystemRef: z.ZodString;
2104
2119
  contextResourceIdentifiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2120
+ linkedConversationId: z.ZodOptional<z.ZodString>;
2105
2121
  }, z.core.$strip>, z.ZodObject<{
2106
2122
  contentType: z.ZodLiteral<import("../../core/navigation/navigation.schemas").NavigationContentType.EXECUTION_VIEW>;
2107
2123
  viewRef: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":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E,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,gCAAgC,CAAC;IAGvE,CAAC,cAAc,CAAC,uBAAuB,CAAC,EAAE,mCAAmC,CAAC;CAC/E,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,cAAc,IAAI;IACvD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAGF,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,cAAc,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;CAC1G,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { FlowActorSystem_FrontendInfo, type FlowsActors_AutonomousAgent_FrontendInfo, type FlowsActors_ChatAgent_FrontendInfo, type FlowsActors_ConversationHistoryResponse, type WS_FlowsActorsApprovalModificationRefusal, type WS_FlowsActorsTurnUsage, FlowsActors_Status, type FlowsActors_MessageContentType, type HumanDecision_RouteKind, type HumanDecision_Presentation, type HumanDecision_Request, type HumanDecision_AnswerValue, type WorkUnitRef, type ResourceOperationRiskLevel } from '@wildo-ai/saas-models';
2
+ import { FlowActorSystem_FrontendInfo, type FlowsActors_AutonomousAgent_FrontendInfo, type FlowsActors_ChatAgent_FrontendInfo, type FlowsActors_ConversationExecution, type FlowsActors_ConversationHistoryResponse, type WS_FlowsActorsApprovalModificationRefusal, type WS_FlowsActorsTurnUsage, FlowsActors_Status, type FlowsActors_MessageContentType, type HumanDecision_RouteKind, type HumanDecision_Presentation, type HumanDecision_Request, type HumanDecision_AnswerValue, type WorkUnitRef, type ResourceOperationRiskLevel } from '@wildo-ai/saas-models';
3
3
  import type { SerializableZodSchema } from '@wildo-ai/zod-decorators';
4
4
  /**
5
5
  * How a turn stands in THIS CLIENT — its view of a turn, which is not the server's run status.
@@ -235,6 +235,15 @@ export interface FlowsActorsContextType {
235
235
  fetchConversationHistory: (systemRef: string, contextResourceIdentifiers?: Record<string, string>, page?: {
236
236
  readonly before?: string;
237
237
  }) => Promise<FlowsActors_ConversationHistoryResponse | undefined>;
238
+ /**
239
+ * ONE of the caller's own threads, read by id (#4013): the one a link named, which may be older than the newest page a
240
+ * host holds. Read through the same confined history route, so with `contextResourceIdentifiers` it answers only a
241
+ * thread opened in that context, exactly as a page would list it.
242
+ *
243
+ * Resolves the thread, `null` when the caller has no such thread here (deleted, someone else's, another system or
244
+ * context), and `undefined` when the read FAILED: as for a page, the two must not look alike.
245
+ */
246
+ fetchConversation: (systemRef: string, contextResourceIdentifiers: Record<string, string> | undefined, executionId: string) => Promise<FlowsActors_ConversationExecution | null | undefined>;
238
247
  /**
239
248
  * Delete ONE of the caller's own persisted conversations (a discussion). Runs
240
249
  * under the caller's auth, so the executions resource's USER_SELF owner filter
@@ -1 +1 @@
1
- {"version":3,"file":"FlowsActorsContext.d.ts","sourceRoot":"","sources":["../../../../src/core/flows-actors/FlowsActorsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA2B,SAAS,EAA2C,MAAM,OAAO,CAAC;AAC3G,OAAO,EACL,4BAA4B,EAE5B,KAAK,wCAAwC,EAC7C,KAAK,kCAAkC,EAIvC,KAAK,uCAAuC,EAQ5C,KAAK,yCAAyC,EAI9C,KAAK,uBAAuB,EAC5B,kBAAkB,EAClB,KAAK,8BAA8B,EAGnC,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAE9B,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAEhC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAyDtE;;;;;;;GAOG;AACH,oBAAY,0B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AI,CAAC,CAAC;IAEpC;;;;;;;;;;;;;;OAcG;IACH,wBAAwB,EAAE,CACxB,SAAS,EAAE,MAAM,EACjB,0BAA0B,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACnD,IAAI,CAAC,EAAE;QAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,KAChC,OAAO,CAAC,uCAAuC,GAAG,SAAS,CAAC,CAAC;IAElE;;;;;;;OAOG;IACH,iBAAiB,EAAE,CACjB,SAAS,EAAE,MAAM,EACjB,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,EAC9D,WAAW,EAAE,MAAM,KAChB,OAAO,CAAC,iCAAiC,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;IAEnE;;;;OAIG;IACH,kBAAkB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5D;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAgE,CAAC;AAElJ;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CA6sBjE,CAAC"}
@@ -215,7 +215,7 @@ export const FlowsActorsProvider = ({ children }) => {
215
215
  * owner filter restricts rows to the caller's threads. A missing backend
216
216
  * surface (feature absent) resolves to `[]`, never an error.
217
217
  */
218
- const fetchConversationHistory = useCallback(async (systemRef, contextResourceIdentifiers, page) => {
218
+ const readConversationHistory = useCallback(async (systemRef, contextResourceIdentifiers, page) => {
219
219
  if (!httpClient) {
220
220
  logDebug('Cannot fetch conversation history - httpClient not available');
221
221
  return undefined;
@@ -229,7 +229,8 @@ export const FlowsActorsProvider = ({ children }) => {
229
229
  ...contextResourceIdentifiers,
230
230
  });
231
231
  const query = `?systemRef=${encodeURIComponent(systemRef)}${contextRef === undefined ? '' : `&contextRef=${encodeURIComponent(contextRef)}`}`
232
- + (page?.before ? `&before=${encodeURIComponent(page.before)}` : '');
232
+ + (page.before ? `&before=${encodeURIComponent(page.before)}` : '')
233
+ + (page.executionId ? `&executionId=${encodeURIComponent(page.executionId)}` : '');
233
234
  // Its dates restored (#3478): the history's message dates arrive as RFC 3339 strings.
234
235
  const data = readJsonResponse(FlowsActors_ConversationHistoryResponseSchema, await httpClient.get(`${basePath}${query}`));
235
236
  logDebug('Conversation history fetched', { systemRef, count: data.executions.length });
@@ -289,6 +290,13 @@ export const FlowsActorsProvider = ({ children }) => {
289
290
  return undefined;
290
291
  }
291
292
  }, [httpClient, appScope?.currentOrganizationId]);
293
+ const fetchConversationHistory = useCallback((systemRef, contextResourceIdentifiers, page) => readConversationHistory(systemRef, contextResourceIdentifiers, page?.before ? { before: page.before } : {}), [readConversationHistory]);
294
+ const fetchConversation = useCallback(async (systemRef, contextResourceIdentifiers, executionId) => {
295
+ const page = await readConversationHistory(systemRef, contextResourceIdentifiers, { executionId });
296
+ if (page === undefined)
297
+ return undefined;
298
+ return page.executions.find((thread) => thread.executionId === executionId) ?? null;
299
+ }, [readConversationHistory]);
292
300
  /**
293
301
  * Delete one of the caller's persisted conversations. Owner-scoped server-side
294
302
  * (USER_SELF), so a user can only delete their own discussion.
@@ -732,8 +740,9 @@ export const FlowsActorsProvider = ({ children }) => {
732
740
  getSystem,
733
741
  refreshSystems,
734
742
  fetchConversationHistory,
743
+ fetchConversation,
735
744
  deleteConversation,
736
- }), [systems, autonomousAgents, chatAgents, chatConnectionRefs, requestAgentDeclarations, isLoading, error, executions, startExecution, respondToApproval, answerQuestion, cancelExecution, clearExecution, getExecution, getSystem, refreshSystems, fetchConversationHistory, deleteConversation]);
745
+ }), [systems, autonomousAgents, chatAgents, chatConnectionRefs, requestAgentDeclarations, isLoading, error, executions, startExecution, respondToApproval, answerQuestion, cancelExecution, clearExecution, getExecution, getSystem, refreshSystems, fetchConversationHistory, fetchConversation, deleteConversation]);
737
746
  return (_jsx(FlowsActorsContext.Provider, { value: contextValue, children: children }));
738
747
  };
739
748
  //# sourceMappingURL=FlowsActorsContext.js.map