| 121 | }); |
| 122 | |
| 123 | const toolDescriptor = (input: { |
| 124 | readonly collected: CollectedTool; |
| 125 | readonly sourcePath: string; |
| 126 | readonly bundleKey: string; |
| 127 | readonly source: ModuleSourceRef; |
| 128 | }): ToolDescriptor => ({ |
| 129 | name: input.collected.toolName, |
| 130 | sourcePath: input.sourcePath, |
| 131 | bundleKey: input.bundleKey, |
| 132 | source: input.source, |
| 133 | description: input.collected.description, |
| 134 | integrations: input.collected.integrations, |
| 135 | inputSchema: input.collected.inputSchema, |
| 136 | outputSchema: input.collected.outputSchema, |
| 137 | annotations: input.collected.annotations, |
| 138 | }); |
| 139 | |
| 140 | export const publish = ( |
| 141 | deps: PublishDeps, |