@genesislcap/ai-assistant 14.408.0 → 14.409.0

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 (93) hide show
  1. package/package.json +15 -15
  2. package/docs/api/ai-assistant.agentconfig.description.md +0 -16
  3. package/docs/api/ai-assistant.agentconfig.md +0 -158
  4. package/docs/api/ai-assistant.agentconfig.name.md +0 -16
  5. package/docs/api/ai-assistant.agentconfig.primerhistory.md +0 -16
  6. package/docs/api/ai-assistant.agentconfig.systemprompt.md +0 -16
  7. package/docs/api/ai-assistant.agentconfig.tooldefinitions.md +0 -16
  8. package/docs/api/ai-assistant.agentconfig.toolhandlers.md +0 -16
  9. package/docs/api/ai-assistant.agenticactivitybus._constructor_.md +0 -53
  10. package/docs/api/ai-assistant.agenticactivitybus.addcrosstabevent.md +0 -55
  11. package/docs/api/ai-assistant.agenticactivitybus.close.md +0 -20
  12. package/docs/api/ai-assistant.agenticactivitybus.md +0 -18
  13. package/docs/api/ai-assistant.agenticactivitybus.publish.md +0 -69
  14. package/docs/api/ai-assistant.agenticactivitybus.subscribe.md +0 -69
  15. package/docs/api/ai-assistant.agenticactivitybusconfig.channelname.md +0 -16
  16. package/docs/api/ai-assistant.agenticactivitybusconfig.crosstabevents.md +0 -16
  17. package/docs/api/ai-assistant.agenticactivitybusconfig.md +0 -80
  18. package/docs/api/ai-assistant.agenticactivityevents._chat-popin_.md +0 -18
  19. package/docs/api/ai-assistant.agenticactivityevents._chat-popout_.md +0 -18
  20. package/docs/api/ai-assistant.agenticactivityevents._halo-start_.md +0 -18
  21. package/docs/api/ai-assistant.agenticactivityevents._halo-stop_.md +0 -16
  22. package/docs/api/ai-assistant.agenticactivityevents.md +0 -128
  23. package/docs/api/ai-assistant.aiassistantanimation.md +0 -18
  24. package/docs/api/ai-assistant.aiassistantanimationdef.label.md +0 -16
  25. package/docs/api/ai-assistant.aiassistantanimationdef.md +0 -80
  26. package/docs/api/ai-assistant.aiassistantanimationdef.tooltip.md +0 -16
  27. package/docs/api/ai-assistant.aiassistantserializedstate.enabledanimations.md +0 -14
  28. package/docs/api/ai-assistant.aiassistantserializedstate.md +0 -118
  29. package/docs/api/ai-assistant.aiassistantserializedstate.messages.md +0 -14
  30. package/docs/api/ai-assistant.aiassistantserializedstate.showthinkingsteps.md +0 -14
  31. package/docs/api/ai-assistant.aiassistantserializedstate.showtoolcalls.md +0 -14
  32. package/docs/api/ai-assistant.aiassistantstate.md +0 -16
  33. package/docs/api/ai-assistant.aichatwidget.data.md +0 -14
  34. package/docs/api/ai-assistant.aichatwidget.md +0 -80
  35. package/docs/api/ai-assistant.aichatwidget.resolved.md +0 -16
  36. package/docs/api/ai-assistant.animation_defs.md +0 -25
  37. package/docs/api/ai-assistant.chatdriver._constructor_.md +0 -131
  38. package/docs/api/ai-assistant.chatdriver.gethistory.md +0 -18
  39. package/docs/api/ai-assistant.chatdriver.isbusy.md +0 -18
  40. package/docs/api/ai-assistant.chatdriver.loadhistory.md +0 -55
  41. package/docs/api/ai-assistant.chatdriver.md +0 -158
  42. package/docs/api/ai-assistant.chatdriver.requestinteraction.md +0 -73
  43. package/docs/api/ai-assistant.chatdriver.resolveinteraction.md +0 -69
  44. package/docs/api/ai-assistant.chatdriver.sendmessage.md +0 -69
  45. package/docs/api/ai-assistant.chathistoryupdatedevent.md +0 -16
  46. package/docs/api/ai-assistant.foundationaiassistant.agents.md +0 -16
  47. package/docs/api/ai-assistant.foundationaiassistant.aiprovider.md +0 -14
  48. package/docs/api/ai-assistant.foundationaiassistant.applystate.md +0 -55
  49. package/docs/api/ai-assistant.foundationaiassistant.attachmenterrors.md +0 -14
  50. package/docs/api/ai-assistant.foundationaiassistant.attachments.md +0 -14
  51. package/docs/api/ai-assistant.foundationaiassistant.chatconfig.md +0 -14
  52. package/docs/api/ai-assistant.foundationaiassistant.connectedcallback.md +0 -18
  53. package/docs/api/ai-assistant.foundationaiassistant.debugstatefactory.md +0 -14
  54. package/docs/api/ai-assistant.foundationaiassistant.designsystemprefix.md +0 -14
  55. package/docs/api/ai-assistant.foundationaiassistant.disconnectedcallback.md +0 -18
  56. package/docs/api/ai-assistant.foundationaiassistant.downloadhistory.md +0 -18
  57. package/docs/api/ai-assistant.foundationaiassistant.enabledanimations.md +0 -16
  58. package/docs/api/ai-assistant.foundationaiassistant.handlefileselect.md +0 -53
  59. package/docs/api/ai-assistant.foundationaiassistant.handleinteractioncompleted.md +0 -53
  60. package/docs/api/ai-assistant.foundationaiassistant.handlepopout.md +0 -20
  61. package/docs/api/ai-assistant.foundationaiassistant.handlesendclick.md +0 -18
  62. package/docs/api/ai-assistant.foundationaiassistant.hasactivependinginteraction.md +0 -16
  63. package/docs/api/ai-assistant.foundationaiassistant.headertitle.md +0 -14
  64. package/docs/api/ai-assistant.foundationaiassistant.imagesrc.md +0 -14
  65. package/docs/api/ai-assistant.foundationaiassistant.inputvalue.md +0 -14
  66. package/docs/api/ai-assistant.foundationaiassistant.md +0 -769
  67. package/docs/api/ai-assistant.foundationaiassistant.messages.md +0 -14
  68. package/docs/api/ai-assistant.foundationaiassistant.messageschanged.md +0 -18
  69. package/docs/api/ai-assistant.foundationaiassistant.onchatheadermousedown.md +0 -53
  70. package/docs/api/ai-assistant.foundationaiassistant.placeholder.md +0 -14
  71. package/docs/api/ai-assistant.foundationaiassistant.popoutmode.md +0 -16
  72. package/docs/api/ai-assistant.foundationaiassistant.removeattachment.md +0 -53
  73. package/docs/api/ai-assistant.foundationaiassistant.removeattachmenterror.md +0 -53
  74. package/docs/api/ai-assistant.foundationaiassistant.setenabledanimations.md +0 -53
  75. package/docs/api/ai-assistant.foundationaiassistant.settingsopen.md +0 -16
  76. package/docs/api/ai-assistant.foundationaiassistant.showhalo.md +0 -16
  77. package/docs/api/ai-assistant.foundationaiassistant.showhalochanged.md +0 -18
  78. package/docs/api/ai-assistant.foundationaiassistant.showloadingindicator.md +0 -16
  79. package/docs/api/ai-assistant.foundationaiassistant.showloadingindicatorchanged.md +0 -18
  80. package/docs/api/ai-assistant.foundationaiassistant.showthinkingsteps.md +0 -16
  81. package/docs/api/ai-assistant.foundationaiassistant.showtoolcalls.md +0 -16
  82. package/docs/api/ai-assistant.foundationaiassistant.state.md +0 -14
  83. package/docs/api/ai-assistant.foundationaiassistant.statechanged.md +0 -18
  84. package/docs/api/ai-assistant.foundationaiassistant.togglesettings.md +0 -18
  85. package/docs/api/ai-assistant.foundationaiassistant.toggleshowthinkingsteps.md +0 -18
  86. package/docs/api/ai-assistant.foundationaiassistant.toggleshowtoolcalls.md +0 -18
  87. package/docs/api/ai-assistant.foundationaiassistant.triggerfileinput.md +0 -18
  88. package/docs/api/ai-assistant.foundationaiassistant.visiblemessages.md +0 -16
  89. package/docs/api/ai-assistant.md +0 -249
  90. package/docs/api/ai-assistant.popoutmode.md +0 -16
  91. package/docs/api/index.md +0 -30
  92. package/docs/api-report.md.api.md +0 -209
  93. package/temp/api-report.md.api.md +0 -209
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/ai-assistant",
3
3
  "description": "Genesis AI Assistant micro-frontend",
4
- "version": "14.408.0",
4
+ "version": "14.409.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/ai-assistant.d.ts",
@@ -59,23 +59,23 @@
59
59
  }
60
60
  },
61
61
  "devDependencies": {
62
- "@genesislcap/foundation-testing": "14.408.0",
63
- "@genesislcap/genx": "14.408.0",
64
- "@genesislcap/rollup-builder": "14.408.0",
65
- "@genesislcap/ts-builder": "14.408.0",
66
- "@genesislcap/uvu-playwright-builder": "14.408.0",
67
- "@genesislcap/vite-builder": "14.408.0",
68
- "@genesislcap/webpack-builder": "14.408.0",
62
+ "@genesislcap/foundation-testing": "14.409.0",
63
+ "@genesislcap/genx": "14.409.0",
64
+ "@genesislcap/rollup-builder": "14.409.0",
65
+ "@genesislcap/ts-builder": "14.409.0",
66
+ "@genesislcap/uvu-playwright-builder": "14.409.0",
67
+ "@genesislcap/vite-builder": "14.409.0",
68
+ "@genesislcap/webpack-builder": "14.409.0",
69
69
  "@types/dompurify": "^3.0.5",
70
70
  "@types/marked": "^5.0.2"
71
71
  },
72
72
  "dependencies": {
73
- "@genesislcap/foundation-ai": "14.408.0",
74
- "@genesislcap/foundation-logger": "14.408.0",
75
- "@genesislcap/foundation-ui": "14.408.0",
76
- "@genesislcap/foundation-utils": "14.408.0",
77
- "@genesislcap/rapid-design-system": "14.408.0",
78
- "@genesislcap/web-core": "14.408.0",
73
+ "@genesislcap/foundation-ai": "14.409.0",
74
+ "@genesislcap/foundation-logger": "14.409.0",
75
+ "@genesislcap/foundation-ui": "14.409.0",
76
+ "@genesislcap/foundation-utils": "14.409.0",
77
+ "@genesislcap/rapid-design-system": "14.409.0",
78
+ "@genesislcap/web-core": "14.409.0",
79
79
  "dompurify": "^3.3.1",
80
80
  "marked": "^17.0.3"
81
81
  },
@@ -87,5 +87,5 @@
87
87
  "publishConfig": {
88
88
  "access": "public"
89
89
  },
90
- "gitHead": "26b08831fd001b4ee95c8a0d3364a18c0ec4005b"
90
+ "gitHead": "cbe0459d170f27c35a7de18cec415947aedf4da5"
91
91
  }
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgentConfig](./ai-assistant.agentconfig.md) &gt; [description](./ai-assistant.agentconfig.description.md)
4
-
5
- ## AgentConfig.description property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Plain-language description of what this agent handles. Used by the classifier to auto-generate its routing prompt.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- description: string;
16
- ```
@@ -1,158 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgentConfig](./ai-assistant.agentconfig.md)
4
-
5
- ## AgentConfig interface
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Configuration for a single specialist agent.
11
-
12
- When multiple agents are provided to `FoundationAiAssistant`<!-- -->, an orchestrating layer will route each user message to the appropriate specialist based on intent. When only one agent is configured, routing is skipped.
13
-
14
- **Signature:**
15
-
16
- ```typescript
17
- export interface AgentConfig
18
- ```
19
-
20
- ## Properties
21
-
22
- <table><thead><tr><th>
23
-
24
- Property
25
-
26
-
27
- </th><th>
28
-
29
- Modifiers
30
-
31
-
32
- </th><th>
33
-
34
- Type
35
-
36
-
37
- </th><th>
38
-
39
- Description
40
-
41
-
42
- </th></tr></thead>
43
- <tbody><tr><td>
44
-
45
- [description](./ai-assistant.agentconfig.description.md)
46
-
47
-
48
- </td><td>
49
-
50
-
51
- </td><td>
52
-
53
- string
54
-
55
-
56
- </td><td>
57
-
58
- **_(BETA)_** Plain-language description of what this agent handles. Used by the classifier to auto-generate its routing prompt.
59
-
60
-
61
- </td></tr>
62
- <tr><td>
63
-
64
- [name](./ai-assistant.agentconfig.name.md)
65
-
66
-
67
- </td><td>
68
-
69
-
70
- </td><td>
71
-
72
- string
73
-
74
-
75
- </td><td>
76
-
77
- **_(BETA)_** Display name shown in the chat header when this agent is active.
78
-
79
-
80
- </td></tr>
81
- <tr><td>
82
-
83
- [primerHistory?](./ai-assistant.agentconfig.primerhistory.md)
84
-
85
-
86
- </td><td>
87
-
88
-
89
- </td><td>
90
-
91
- ChatMessage\[\]
92
-
93
-
94
- </td><td>
95
-
96
- **_(BETA)_** _(Optional)_ Optional primer history prepended to every call (not visible to the user). Used to establish agent identity and behavioural rules.
97
-
98
-
99
- </td></tr>
100
- <tr><td>
101
-
102
- [systemPrompt?](./ai-assistant.agentconfig.systemprompt.md)
103
-
104
-
105
- </td><td>
106
-
107
-
108
- </td><td>
109
-
110
- string
111
-
112
-
113
- </td><td>
114
-
115
- **_(BETA)_** _(Optional)_ System prompt injected into every conversation turn for this agent.
116
-
117
-
118
- </td></tr>
119
- <tr><td>
120
-
121
- [toolDefinitions?](./ai-assistant.agentconfig.tooldefinitions.md)
122
-
123
-
124
- </td><td>
125
-
126
-
127
- </td><td>
128
-
129
- ChatToolDefinition\[\]
130
-
131
-
132
- </td><td>
133
-
134
- **_(BETA)_** _(Optional)_ Tool definitions (JSON Schema) passed to the AI provider for this agent.
135
-
136
-
137
- </td></tr>
138
- <tr><td>
139
-
140
- [toolHandlers?](./ai-assistant.agentconfig.toolhandlers.md)
141
-
142
-
143
- </td><td>
144
-
145
-
146
- </td><td>
147
-
148
- ChatToolHandlers
149
-
150
-
151
- </td><td>
152
-
153
- **_(BETA)_** _(Optional)_ Tool handler implementations for this agent.
154
-
155
-
156
- </td></tr>
157
- </tbody></table>
158
-
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgentConfig](./ai-assistant.agentconfig.md) &gt; [name](./ai-assistant.agentconfig.name.md)
4
-
5
- ## AgentConfig.name property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Display name shown in the chat header when this agent is active.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- name: string;
16
- ```
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgentConfig](./ai-assistant.agentconfig.md) &gt; [primerHistory](./ai-assistant.agentconfig.primerhistory.md)
4
-
5
- ## AgentConfig.primerHistory property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Optional primer history prepended to every call (not visible to the user). Used to establish agent identity and behavioural rules.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- primerHistory?: ChatMessage[];
16
- ```
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgentConfig](./ai-assistant.agentconfig.md) &gt; [systemPrompt](./ai-assistant.agentconfig.systemprompt.md)
4
-
5
- ## AgentConfig.systemPrompt property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- System prompt injected into every conversation turn for this agent.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- systemPrompt?: string;
16
- ```
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgentConfig](./ai-assistant.agentconfig.md) &gt; [toolDefinitions](./ai-assistant.agentconfig.tooldefinitions.md)
4
-
5
- ## AgentConfig.toolDefinitions property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Tool definitions (JSON Schema) passed to the AI provider for this agent.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- toolDefinitions?: ChatToolDefinition[];
16
- ```
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgentConfig](./ai-assistant.agentconfig.md) &gt; [toolHandlers](./ai-assistant.agentconfig.toolhandlers.md)
4
-
5
- ## AgentConfig.toolHandlers property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Tool handler implementations for this agent.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- toolHandlers?: ChatToolHandlers;
16
- ```
@@ -1,53 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgenticActivityBus](./ai-assistant.agenticactivitybus.md) &gt; [(constructor)](./ai-assistant.agenticactivitybus._constructor_.md)
4
-
5
- ## AgenticActivityBus.(constructor)
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Constructs a new instance of the `AgenticActivityBus` class
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- constructor(config?: AgenticActivityBusConfig);
16
- ```
17
-
18
- ## Parameters
19
-
20
- <table><thead><tr><th>
21
-
22
- Parameter
23
-
24
-
25
- </th><th>
26
-
27
- Type
28
-
29
-
30
- </th><th>
31
-
32
- Description
33
-
34
-
35
- </th></tr></thead>
36
- <tbody><tr><td>
37
-
38
- config
39
-
40
-
41
- </td><td>
42
-
43
- [AgenticActivityBusConfig](./ai-assistant.agenticactivitybusconfig.md)
44
-
45
-
46
- </td><td>
47
-
48
- _(Optional)_ Optional configuration. Omit to create an in-memory-only bus.
49
-
50
-
51
- </td></tr>
52
- </tbody></table>
53
-
@@ -1,55 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgenticActivityBus](./ai-assistant.agenticactivitybus.md) &gt; [addCrossTabEvent](./ai-assistant.agenticactivitybus.addcrosstabevent.md)
4
-
5
- ## AgenticActivityBus.addCrossTabEvent() method
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Add an event type to the cross-tab forwarding set at runtime. Must be called before the first [AgenticActivityBus.publish()](./ai-assistant.agenticactivitybus.publish.md) of that event type.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- addCrossTabEvent(type: keyof AgenticActivityEvents): void;
16
- ```
17
-
18
- ## Parameters
19
-
20
- <table><thead><tr><th>
21
-
22
- Parameter
23
-
24
-
25
- </th><th>
26
-
27
- Type
28
-
29
-
30
- </th><th>
31
-
32
- Description
33
-
34
-
35
- </th></tr></thead>
36
- <tbody><tr><td>
37
-
38
- type
39
-
40
-
41
- </td><td>
42
-
43
- keyof [AgenticActivityEvents](./ai-assistant.agenticactivityevents.md)
44
-
45
-
46
- </td><td>
47
-
48
-
49
- </td></tr>
50
- </tbody></table>
51
-
52
- **Returns:**
53
-
54
- void
55
-
@@ -1,20 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgenticActivityBus](./ai-assistant.agenticactivitybus.md) &gt; [close](./ai-assistant.agenticactivitybus.close.md)
4
-
5
- ## AgenticActivityBus.close() method
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Close the underlying BroadcastChannel. Call once on application teardown if needed.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- close(): void;
16
- ```
17
- **Returns:**
18
-
19
- void
20
-
@@ -1,18 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [agenticActivityBus](./ai-assistant.agenticactivitybus.md)
4
-
5
- ## agenticActivityBus variable
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Pre-instantiated singleton event bus for AI assistant activity.
11
-
12
- - `halo-start` / `halo-stop` are forwarded via a tab-scoped `BroadcastChannel` so that popout windows opened from this tab show halo animations, while remaining isolated from unrelated tabs on the same origin (tab-scoped channel name). - `chat-popout` / `chat-popin` are in-memory only — they must only affect the tab where the user clicked.
13
-
14
- **Signature:**
15
-
16
- ```typescript
17
- agenticActivityBus: AgenticActivityBus
18
- ```
@@ -1,69 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgenticActivityBus](./ai-assistant.agenticactivitybus.md) &gt; [publish](./ai-assistant.agenticactivitybus.publish.md)
4
-
5
- ## AgenticActivityBus.publish() method
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Publish an event to all local subscribers and, if configured, to other tabs via BroadcastChannel.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- publish<K extends keyof AgenticActivityEvents>(type: K, detail: AgenticActivityEvents[K]): void;
16
- ```
17
-
18
- ## Parameters
19
-
20
- <table><thead><tr><th>
21
-
22
- Parameter
23
-
24
-
25
- </th><th>
26
-
27
- Type
28
-
29
-
30
- </th><th>
31
-
32
- Description
33
-
34
-
35
- </th></tr></thead>
36
- <tbody><tr><td>
37
-
38
- type
39
-
40
-
41
- </td><td>
42
-
43
- K
44
-
45
-
46
- </td><td>
47
-
48
-
49
- </td></tr>
50
- <tr><td>
51
-
52
- detail
53
-
54
-
55
- </td><td>
56
-
57
- [AgenticActivityEvents](./ai-assistant.agenticactivityevents.md)<!-- -->\[K\]
58
-
59
-
60
- </td><td>
61
-
62
-
63
- </td></tr>
64
- </tbody></table>
65
-
66
- **Returns:**
67
-
68
- void
69
-
@@ -1,69 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgenticActivityBus](./ai-assistant.agenticactivitybus.md) &gt; [subscribe](./ai-assistant.agenticactivitybus.subscribe.md)
4
-
5
- ## AgenticActivityBus.subscribe() method
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Subscribe to an event. Returns an unsubscribe function — call it in `disconnectedCallback` to avoid memory leaks.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- subscribe<K extends keyof AgenticActivityEvents>(type: K, handler: (detail: AgenticActivityEvents[K]) => void): () => void;
16
- ```
17
-
18
- ## Parameters
19
-
20
- <table><thead><tr><th>
21
-
22
- Parameter
23
-
24
-
25
- </th><th>
26
-
27
- Type
28
-
29
-
30
- </th><th>
31
-
32
- Description
33
-
34
-
35
- </th></tr></thead>
36
- <tbody><tr><td>
37
-
38
- type
39
-
40
-
41
- </td><td>
42
-
43
- K
44
-
45
-
46
- </td><td>
47
-
48
-
49
- </td></tr>
50
- <tr><td>
51
-
52
- handler
53
-
54
-
55
- </td><td>
56
-
57
- (detail: [AgenticActivityEvents](./ai-assistant.agenticactivityevents.md)<!-- -->\[K\]) =&gt; void
58
-
59
-
60
- </td><td>
61
-
62
-
63
- </td></tr>
64
- </tbody></table>
65
-
66
- **Returns:**
67
-
68
- () =&gt; void
69
-
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgenticActivityBusConfig](./ai-assistant.agenticactivitybusconfig.md) &gt; [channelName](./ai-assistant.agenticactivitybusconfig.channelname.md)
4
-
5
- ## AgenticActivityBusConfig.channelName property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- BroadcastChannel name. Only used when crossTabEvents is non-empty.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- channelName?: string;
16
- ```
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/ai-assistant](./ai-assistant.md) &gt; [AgenticActivityBusConfig](./ai-assistant.agenticactivitybusconfig.md) &gt; [crossTabEvents](./ai-assistant.agenticactivitybusconfig.crosstabevents.md)
4
-
5
- ## AgenticActivityBusConfig.crossTabEvents property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Events that should also be forwarded via BroadcastChannel to other tabs.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- crossTabEvents?: (keyof AgenticActivityEvents)[];
16
- ```