pi-roundtable 0.1.0 → 0.2.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 (238) hide show
  1. package/CHANGELOG.md +138 -0
  2. package/README.md +6 -4
  3. package/docs/plugins.md +1448 -66
  4. package/examples/echo-runtime.test.ts +122 -0
  5. package/examples/echo-runtime.ts +107 -0
  6. package/examples/events.test.ts +1 -0
  7. package/examples/events.ts +2 -2
  8. package/examples/fake-surface.test.ts +180 -0
  9. package/examples/fake-surface.ts +109 -0
  10. package/examples/interactions.test.ts +12 -3
  11. package/examples/interactions.ts +19 -19
  12. package/examples/shared-services.test.ts +74 -0
  13. package/examples/shared-services.ts +60 -0
  14. package/examples/study-room.test.ts +69 -0
  15. package/examples/study-room.ts +52 -0
  16. package/examples/support-desk.test.ts +34 -0
  17. package/examples/support-desk.ts +40 -0
  18. package/package.json +9 -2
  19. package/src/cli/checks/database.ts +11 -30
  20. package/src/cli/checks/images.ts +19 -0
  21. package/src/cli/doctor.ts +6 -0
  22. package/src/cli/main.ts +2 -1
  23. package/src/core/agents/agent-claim.ts +42 -16
  24. package/src/core/agents/agent-messages.ts +4 -4
  25. package/src/core/agents/agent-ports.ts +8 -21
  26. package/src/core/agents/agent-prompt.ts +3 -1
  27. package/src/core/agents/agent-store.ts +6 -4
  28. package/src/core/agents/agent-team-fixture.ts +389 -0
  29. package/src/core/agents/agent-team.ts +26 -25
  30. package/src/core/agents/agent-tools.ts +34 -15
  31. package/src/core/agents/avatar-studio.ts +40 -6
  32. package/src/core/agents/fallback-avatar.ts +85 -0
  33. package/src/core/agents/team-editing.ts +49 -10
  34. package/src/core/agents/team-keys.ts +22 -9
  35. package/src/core/agents/team-layout.ts +4 -3
  36. package/src/core/agents/team-lifecycle.ts +28 -2
  37. package/src/core/agents/team-options.ts +9 -5
  38. package/src/core/agents/team-status.ts +4 -4
  39. package/src/core/agents/team-text.ts +8 -6
  40. package/src/core/agents/team-turn-types.ts +4 -4
  41. package/src/core/agents/team-turns.ts +6 -5
  42. package/src/core/builtin/agent-server.ts +187 -121
  43. package/src/core/builtin/discord-admin.ts +41 -0
  44. package/src/core/builtin/discord.ts +65 -40
  45. package/src/core/builtin/modules.ts +67 -58
  46. package/src/core/builtin/session-tool.ts +24 -0
  47. package/src/core/builtin/skills.ts +72 -0
  48. package/src/core/builtin/stores.ts +55 -31
  49. package/src/core/config/config.ts +45 -4
  50. package/src/core/config/schema.ts +6 -0
  51. package/src/core/contract/channels.ts +54 -14
  52. package/src/core/contract/providers.ts +17 -0
  53. package/src/core/contract/runtime.ts +138 -0
  54. package/src/core/contract/services.ts +45 -0
  55. package/src/core/contract/surface.ts +88 -0
  56. package/src/core/db/migrations.ts +118 -3
  57. package/src/core/define-roundtable.ts +70 -46
  58. package/src/core/define.ts +2 -1
  59. package/src/core/discord/agent-commands.ts +39 -14
  60. package/src/core/discord/agent-panel.ts +66 -0
  61. package/src/core/discord/channel-executor.ts +6 -3
  62. package/src/core/discord/channel-operations.ts +14 -11
  63. package/src/core/discord/command-collection.ts +46 -0
  64. package/src/core/{registry/interactions.ts → discord/compose-commands.ts} +5 -5
  65. package/src/core/discord/connection.ts +35 -0
  66. package/src/core/discord/discord-surface.ts +32 -94
  67. package/src/core/discord/dispatch-threads.ts +2 -2
  68. package/src/core/discord/inbound-message.ts +99 -0
  69. package/src/core/discord/interaction-module.ts +57 -1
  70. package/src/core/discord/owner-cards.ts +4 -4
  71. package/src/core/discord/owner-command.ts +44 -11
  72. package/src/core/discord/owner-discord.ts +2 -2
  73. package/src/core/discord/schedule-commands.ts +21 -18
  74. package/src/core/discord/stop-button.ts +44 -1
  75. package/src/core/domain/attachment.ts +12 -8
  76. package/src/core/domain/conversation.ts +3 -4
  77. package/src/core/domain/owner-prompts.ts +5 -5
  78. package/src/core/domain/ports.ts +9 -53
  79. package/src/core/freeze.ts +9 -0
  80. package/src/core/host.ts +255 -82
  81. package/src/core/http/listeners.ts +55 -20
  82. package/src/core/i18n/agent-panel.ts +4 -0
  83. package/src/core/i18n/index.ts +12 -2
  84. package/src/core/i18n/owner.ts +7 -1
  85. package/src/core/i18n/schedules.ts +12 -6
  86. package/src/core/identity.ts +1 -1
  87. package/src/core/judging/effort-judge.ts +25 -3
  88. package/src/core/log.ts +21 -3
  89. package/src/core/models.ts +2 -2
  90. package/src/core/modules/background/background-turns.ts +6 -4
  91. package/src/core/modules/delegation/delegate.ts +3 -2
  92. package/src/core/modules/delegation/delegator.ts +15 -13
  93. package/src/core/modules/delegation/{sol-worker.ts → web-research-worker.ts} +6 -6
  94. package/src/core/modules/discord-admin/discord-admin.ts +6 -6
  95. package/src/core/modules/host-shell/shell-policy.ts +8 -3
  96. package/src/core/modules/memory/owner-memory-store.ts +27 -25
  97. package/src/core/modules/memory/owner-memory.ts +9 -13
  98. package/src/core/modules/schedules/recurrence.ts +5 -3
  99. package/src/core/modules/schedules/schedule-store.ts +11 -11
  100. package/src/core/modules/schedules/schedule-tools.ts +22 -20
  101. package/src/core/modules/schedules/scheduler.ts +7 -2
  102. package/src/core/modules/schedules/schedules.ts +9 -3
  103. package/src/core/modules/skills/skill-registry.ts +3 -2
  104. package/src/core/modules/skills/skill-store.ts +2 -15
  105. package/src/core/modules/skills/skill-tools.ts +10 -4
  106. package/src/core/ops/error-reporter.ts +1 -1
  107. package/src/core/plugin.ts +232 -28
  108. package/src/core/registry/contributions.ts +173 -14
  109. package/src/core/registry/providers.ts +35 -5
  110. package/src/core/registry/services.ts +229 -0
  111. package/src/core/routing/channel-queue.ts +5 -0
  112. package/src/core/routing/channel-router.ts +21 -7
  113. package/src/core/routing/conversation-turns.ts +139 -0
  114. package/src/core/routing/message-text.ts +9 -2
  115. package/src/core/routing/surface-port.ts +39 -0
  116. package/src/core/runtime/conversation-sessions.ts +4 -3
  117. package/src/core/runtime/extensions/confirmation-fixture.ts +11 -0
  118. package/src/core/runtime/extensions/confirmation-gate.ts +11 -9
  119. package/src/core/runtime/mcp.ts +1 -1
  120. package/src/core/runtime/pending-confirmation-store.ts +10 -12
  121. package/src/core/runtime/pi-agent-runtime.ts +9 -6
  122. package/src/core/runtime/prompt-slot.ts +8 -3
  123. package/src/core/runtime/runtime-types.ts +9 -35
  124. package/src/core/runtime/session-factory.ts +21 -5
  125. package/src/core/runtime/text-tools.ts +1 -3
  126. package/src/core/services.ts +238 -90
  127. package/src/core/sessions.ts +3 -2
  128. package/src/core/shared/{profile-tools.ts → active-tools.ts} +2 -2
  129. package/src/core/shared/delegate-tool.ts +4 -3
  130. package/src/core/shared/schedule-tools.ts +22 -13
  131. package/src/core/shared/session-messages.ts +1 -1
  132. package/src/core/speakers.ts +6 -38
  133. package/src/core/testing/database.ts +1 -7
  134. package/src/core/testing/eager-catalog.ts +30 -0
  135. package/src/core/testing/locale.ts +23 -5
  136. package/src/core/testing/modules.ts +105 -41
  137. package/src/core/testing/test-host.ts +279 -0
  138. package/src/core/testing/tool-set.ts +64 -0
  139. package/src/core/time.ts +6 -1
  140. package/src/core/tool-set.snapshot.json +288 -0
  141. package/src/core/tool-tiers.ts +17 -57
  142. package/src/discord/index.ts +64 -0
  143. package/src/index.ts +181 -10
  144. package/src/kit/channels.ts +14 -0
  145. package/src/kit/domain.ts +18 -0
  146. package/src/kit/holds.ts +4 -0
  147. package/src/kit/index.ts +129 -0
  148. package/src/kit/judging.ts +10 -0
  149. package/src/kit/memory.ts +3 -0
  150. package/src/kit/mirror.ts +19 -0
  151. package/src/kit/presentation.ts +7 -0
  152. package/src/kit/shell.ts +7 -0
  153. package/src/kit/skills.ts +8 -0
  154. package/src/kit/support.ts +21 -0
  155. package/src/kit/threads.ts +7 -0
  156. package/src/kit/tools.ts +14 -0
  157. package/src/kit/worker.ts +16 -0
  158. package/src/testing.ts +394 -34
  159. package/examples/guide.test.ts +0 -52
  160. package/src/cli/add-plugin.test.ts +0 -107
  161. package/src/cli/checks/basic.test.ts +0 -276
  162. package/src/cli/checks/database.test.ts +0 -117
  163. package/src/cli/checks/discord.test.ts +0 -200
  164. package/src/cli/cli.test.ts +0 -122
  165. package/src/cli/config-edit.test.ts +0 -130
  166. package/src/cli/doctor.test.ts +0 -184
  167. package/src/cli/init.test.ts +0 -127
  168. package/src/cli/size.test.ts +0 -9
  169. package/src/cli/templates.test.ts +0 -129
  170. package/src/cli/testing/fixtures.ts +0 -106
  171. package/src/core/agents/agent-claim.test.ts +0 -142
  172. package/src/core/agents/agent-dashboard.test.ts +0 -120
  173. package/src/core/agents/agent-guild.test.ts +0 -124
  174. package/src/core/agents/agent-store.test.ts +0 -205
  175. package/src/core/agents/avatar-studio.test.ts +0 -88
  176. package/src/core/agents/group-round.test.ts +0 -143
  177. package/src/core/agents/owner-identity.test.ts +0 -172
  178. package/src/core/agents/team-turns.test.ts +0 -278
  179. package/src/core/attachments/attachments.test.ts +0 -85
  180. package/src/core/boundary.test.ts +0 -45
  181. package/src/core/builtin/modules.test.ts +0 -127
  182. package/src/core/config/config.test.ts +0 -135
  183. package/src/core/contract/discord.ts +0 -33
  184. package/src/core/db/migrations.test.ts +0 -237
  185. package/src/core/define-roundtable.test.ts +0 -134
  186. package/src/core/define.test.ts +0 -144
  187. package/src/core/discord/agent-commands.test.ts +0 -58
  188. package/src/core/discord/agent-discord.test.ts +0 -70
  189. package/src/core/discord/dispatch-thread-host.test.ts +0 -114
  190. package/src/core/discord/dispatch-threads.test.ts +0 -94
  191. package/src/core/discord/owner-cards.test.ts +0 -435
  192. package/src/core/discord/owner-discord.test.ts +0 -325
  193. package/src/core/domain/expression.ts +0 -21
  194. package/src/core/domain/profile.ts +0 -32
  195. package/src/core/drain.test.ts +0 -46
  196. package/src/core/events.test.ts +0 -81
  197. package/src/core/holds.test.ts +0 -54
  198. package/src/core/host.test.ts +0 -536
  199. package/src/core/http/listeners.test.ts +0 -164
  200. package/src/core/i18n/i18n.test.ts +0 -139
  201. package/src/core/identity.test.ts +0 -18
  202. package/src/core/judging/effort-judge.test.ts +0 -112
  203. package/src/core/judging/model-judge.test.ts +0 -126
  204. package/src/core/modules/delegation/delegator.test.ts +0 -170
  205. package/src/core/modules/memory/owner-memory-store.test.ts +0 -244
  206. package/src/core/modules/schedules/schedule.test.ts +0 -358
  207. package/src/core/modules/skills/skill-kind.test.ts +0 -55
  208. package/src/core/modules/skills/skill-registry.test.ts +0 -376
  209. package/src/core/ops/error-reporter.test.ts +0 -283
  210. package/src/core/presentation/card-cadence.ts +0 -41
  211. package/src/core/presentation/presentation.test.ts +0 -166
  212. package/src/core/public-entry.test.ts +0 -59
  213. package/src/core/registry/contributions.test.ts +0 -215
  214. package/src/core/registry/interactions.test.ts +0 -87
  215. package/src/core/registry/providers.test.ts +0 -103
  216. package/src/core/routing/channel-queue.test.ts +0 -31
  217. package/src/core/routing/channel-router.test.ts +0 -326
  218. package/src/core/routing/conversation-kind.ts +0 -14
  219. package/src/core/routing/settle-turn.test.ts +0 -21
  220. package/src/core/runtime/compaction-tiers.test.ts +0 -227
  221. package/src/core/runtime/extensions/ask-user.test.ts +0 -114
  222. package/src/core/runtime/extensions/self-compact-guard.test.ts +0 -50
  223. package/src/core/runtime/pending-confirmation-store.test.ts +0 -52
  224. package/src/core/runtime/session-archive.test.ts +0 -20
  225. package/src/core/runtime/steerable-run.test.ts +0 -264
  226. package/src/core/runtime/text-tools.test.ts +0 -110
  227. package/src/core/runtime/turn-answer.test.ts +0 -72
  228. package/src/core/runtime/worker-task.test.ts +0 -82
  229. package/src/core/services.test.ts +0 -28
  230. package/src/core/sessions.test.ts +0 -85
  231. package/src/core/shared/unix-server.ts +0 -18
  232. package/src/core/size.test.ts +0 -9
  233. package/src/core/speakers.test.ts +0 -78
  234. package/src/core/testing/file-size.ts +0 -34
  235. package/src/core/time.test.ts +0 -166
  236. package/src/core/tool-tiers.test.ts +0 -117
  237. package/src/entries.test.ts +0 -112
  238. package/src/testing.test.ts +0 -156
@@ -0,0 +1,4 @@
1
+ // Unstable plugin helpers; see the plugin guide.
2
+ // The chain a host links from every plugin's hold rules, to test a rule set as the host runs it.
3
+
4
+ export { holdChain } from "../core/holds.ts";
@@ -0,0 +1,129 @@
1
+ // Unstable before 1.0; not covered by semver. Helpers for owner commands, claims, and naming existing core parts.
2
+
3
+ export type { ChannelQueue } from "./channels.ts";
4
+ export {
5
+ attachmentsOf,
6
+ channelQueue,
7
+ channelSegment,
8
+ discordKey,
9
+ outcome,
10
+ ownerAttachmentDir,
11
+ settleTurn,
12
+ withAttachmentsBlock,
13
+ withReference,
14
+ } from "./channels.ts";
15
+ export type {
16
+ ChoiceAnswer,
17
+ ChoiceQuestion,
18
+ ModelRef,
19
+ OwnerIdentity,
20
+ ScoreQuestion,
21
+ YesNoQuestion,
22
+ } from "./domain.ts";
23
+ export {
24
+ AgentError,
25
+ AUTO_THINKING,
26
+ formatModelRef,
27
+ parseModelRef,
28
+ THINKING_LEVELS,
29
+ thinkingLabel,
30
+ } from "./domain.ts";
31
+ export { holdChain } from "./holds.ts";
32
+ export type {
33
+ EffortBrief,
34
+ EffortJudgeOptions,
35
+ EffortLevel,
36
+ EffortPicker,
37
+ PreviousTurn,
38
+ } from "./judging.ts";
39
+ export {
40
+ effortJudge,
41
+ JUDGE_WORK,
42
+ } from "./judging.ts";
43
+ export { searchTerms } from "./memory.ts";
44
+ export type {
45
+ ScheduleToolContext,
46
+ ScheduleToolName,
47
+ ScheduleToolSpec,
48
+ ScheduleToolWording,
49
+ } from "./mirror.ts";
50
+ export {
51
+ callScheduleTool,
52
+ DELEGATE_TOOL,
53
+ DELEGATE_TOOL_SPEC,
54
+ isScheduleTool,
55
+ SCHEDULE_TOOLS,
56
+ scheduleToolSpecs,
57
+ } from "./mirror.ts";
58
+ export {
59
+ headline,
60
+ quietLinks,
61
+ splitReply,
62
+ thinkingLine,
63
+ zonedStamp,
64
+ } from "./presentation.ts";
65
+ export {
66
+ SHELL_TOOLS,
67
+ shellHoldRule,
68
+ } from "./shell.ts";
69
+ export {
70
+ checkRepoName,
71
+ SKILL_LIST_TOOL,
72
+ skillListExtension,
73
+ } from "./skills.ts";
74
+ export type {
75
+ AgentCategory,
76
+ AgentChannelLookup,
77
+ AgentChannels,
78
+ AgentModels,
79
+ AgentOps,
80
+ AgentPost,
81
+ AgentTurnRunner,
82
+ AssistantLike,
83
+ Backlog,
84
+ CategoryLayout,
85
+ ChannelMessage,
86
+ DashboardBoard,
87
+ DelegationWorker,
88
+ GroupMessage,
89
+ OwnerNotifier,
90
+ SpeakerFacts,
91
+ SpeakerPolicy,
92
+ ThinkingPicker,
93
+ ThreadHost,
94
+ } from "./support.ts";
95
+ export type {
96
+ DispatchThread,
97
+ DispatchThreads,
98
+ DispatchThreadsOptions,
99
+ } from "./threads.ts";
100
+ export type {
101
+ TextToolDef,
102
+ ToolInput,
103
+ } from "./tools.ts";
104
+ export {
105
+ activeToolsExtension,
106
+ lastAssistant,
107
+ requiredString,
108
+ stringList,
109
+ textOf,
110
+ textToolsExtension,
111
+ toolError,
112
+ toolText,
113
+ } from "./tools.ts";
114
+ export type {
115
+ McpEndpoint,
116
+ PromptSlot,
117
+ VirtualServer,
118
+ } from "./worker.ts";
119
+ export {
120
+ approvalCard,
121
+ archiveSessions,
122
+ canonicalJson,
123
+ mcpAdapterExtension,
124
+ mcpExtension,
125
+ promptSlot,
126
+ readAttachmentExtension,
127
+ runWorkerTask,
128
+ workTimeout,
129
+ } from "./worker.ts";
@@ -0,0 +1,10 @@
1
+ // Unstable plugin helpers; see the plugin guide.
2
+
3
+ export type {
4
+ EffortBrief,
5
+ EffortJudgeOptions,
6
+ EffortLevel,
7
+ EffortPicker,
8
+ PreviousTurn,
9
+ } from "../core/judging/effort-judge.ts";
10
+ export { effortJudge, JUDGE_WORK } from "../core/judging/effort-judge.ts";
@@ -0,0 +1,3 @@
1
+ // Unstable plugin helpers; see the plugin guide.
2
+
3
+ export { searchTerms } from "../core/modules/memory/owner-memory-store.ts";
@@ -0,0 +1,19 @@
1
+ // Unstable plugin helpers; see the plugin guide.
2
+ // Mirror a built-in tool in a worker that cannot reach the host: the specs and the dispatcher.
3
+
4
+ export type { ScheduleToolContext } from "../core/modules/schedules/schedule-tools.ts";
5
+ export { callScheduleTool } from "../core/modules/schedules/schedule-tools.ts";
6
+ export {
7
+ DELEGATE_TOOL,
8
+ DELEGATE_TOOL_SPEC,
9
+ } from "../core/shared/delegate-tool.ts";
10
+ export type {
11
+ ScheduleToolName,
12
+ ScheduleToolSpec,
13
+ ScheduleToolWording,
14
+ } from "../core/shared/schedule-tools.ts";
15
+ export {
16
+ isScheduleTool,
17
+ SCHEDULE_TOOLS,
18
+ scheduleToolSpecs,
19
+ } from "../core/shared/schedule-tools.ts";
@@ -0,0 +1,7 @@
1
+ // Unstable plugin helpers; see the plugin guide.
2
+
3
+ export { headline } from "../core/presentation/headline.ts";
4
+ export { quietLinks } from "../core/presentation/quiet-links.ts";
5
+ export { splitReply } from "../core/presentation/reply-splitter.ts";
6
+ export { thinkingLine } from "../core/presentation/thinking-line.ts";
7
+ export { zonedStampIn as zonedStamp } from "../core/time.ts";
@@ -0,0 +1,7 @@
1
+ // Unstable plugin helpers; see the plugin guide.
2
+ // The host-shell tools and the hold rule that keeps risky commands behind the owner's approval.
3
+
4
+ export {
5
+ SHELL_TOOLS,
6
+ shellHoldRule,
7
+ } from "../core/modules/host-shell/shell-policy.ts";
@@ -0,0 +1,8 @@
1
+ // Unstable plugin helpers; see the plugin guide.
2
+ // Skills and repositories: the names a repository shelf accepts, and the tool that lists skills.
3
+
4
+ export { checkRepoName } from "../core/modules/skills/repo-name.ts";
5
+ export {
6
+ SKILL_LIST_TOOL,
7
+ skillListExtension,
8
+ } from "../core/modules/skills/skill-tools.ts";
@@ -0,0 +1,21 @@
1
+ // Supporting data types for the unstable service and helper contracts.
2
+
3
+ export type {
4
+ AgentCategory,
5
+ AgentChannels,
6
+ AgentModels,
7
+ AgentPost,
8
+ AgentTurnRunner,
9
+ CategoryLayout,
10
+ ChannelMessage,
11
+ DashboardBoard,
12
+ } from "../core/agents/agent-ports.ts";
13
+ export type { Backlog, GroupMessage } from "../core/agents/agent-rules.ts";
14
+ export type { AgentOps } from "../core/agents/agent-tools.ts";
15
+ export type { ThreadHost } from "../core/discord/dispatch-threads.ts";
16
+ export type { OwnerNotifier } from "../core/domain/ports.ts";
17
+ export type { ThinkingPicker } from "../core/models.ts";
18
+ export type { DelegationWorker } from "../core/modules/delegation/delegator.ts";
19
+ export type { AgentChannelLookup } from "../core/modules/schedules/schedules.ts";
20
+ export type { AssistantLike } from "../core/shared/session-messages.ts";
21
+ export type { SpeakerFacts, SpeakerPolicy } from "../core/speakers.ts";
@@ -0,0 +1,7 @@
1
+ // Unstable plugin helpers; see the plugin guide.
2
+
3
+ export type {
4
+ DispatchThread,
5
+ DispatchThreads,
6
+ DispatchThreadsOptions,
7
+ } from "../core/discord/dispatch-threads.ts";
@@ -0,0 +1,14 @@
1
+ // Unstable plugin helpers; see the plugin guide.
2
+
3
+ export type {
4
+ TextToolDef,
5
+ ToolInput,
6
+ } from "../core/runtime/text-tools.ts";
7
+ export {
8
+ requiredString,
9
+ stringList,
10
+ textToolsExtension,
11
+ } from "../core/runtime/text-tools.ts";
12
+ export { activeToolsExtension } from "../core/shared/active-tools.ts";
13
+ export { lastAssistant, textOf } from "../core/shared/session-messages.ts";
14
+ export { toolError, toolText } from "../core/shared/tool-result.ts";
@@ -0,0 +1,16 @@
1
+ // Unstable plugin helpers; see the plugin guide.
2
+ // Running a Pi session of your own: MCP servers for it, its work timeout, its held-action cards.
3
+
4
+ export {
5
+ approvalCard,
6
+ canonicalJson,
7
+ } from "../core/runtime/extensions/confirmation-gate.ts";
8
+ export type { VirtualServer } from "../core/runtime/mcp.ts";
9
+ export { mcpExtension } from "../core/runtime/mcp.ts";
10
+ export type { PromptSlot } from "../core/runtime/prompt-slot.ts";
11
+ export { promptSlot, workTimeout } from "../core/runtime/prompt-slot.ts";
12
+ export { archiveSessions } from "../core/runtime/session-archive.ts";
13
+ export { runWorkerTask } from "../core/runtime/worker-task.ts";
14
+ export type { McpEndpoint } from "../core/shared/mcp-adapter.ts";
15
+ export { mcpAdapterExtension } from "../core/shared/mcp-adapter.ts";
16
+ export { readAttachmentExtension } from "../core/shared/read-attachment-tool.ts";