Showing the changes to packages/plugins/apps/src/plugin/runtime.ts (1 of 19 files). Show all
Unified · Split
| @@ -13,7 +13,7 @@ import { · 12 unmodified lines | ||
| 13 | 13 | type PublishOutput, |
| 14 | 14 | } from "../pipeline/publish"; |
| 15 | 15 | import { PublishError } from "../pipeline/discover"; |
| 16 | −import type { AppDescriptor, ToolDescriptor } from "../pipeline/descriptor"; | |
| 16 | +import type { AppDescriptor, AppSourceRef, ToolDescriptor } from "../pipeline/descriptor"; | |
| 17 | 17 | import { bundleEntry } from "../pipeline/bundle"; |
| 18 | 18 | import { |
| 19 | 19 | buildBridge, |
| @@ -42,6 +42,8 @@ export interface AppsRuntime { · 22 unmodified lines | ||
| 42 | 42 | readonly scope: string; |
| 43 | 43 | readonly files: ReadonlyMap<string, string>; |
| 44 | 44 | readonly message?: string; |
| 45 | + readonly description?: string; | |
| 46 | + readonly source?: AppSourceRef; | |
| 45 | 47 | }) => Effect.Effect<PublishOutput, PublishError>; |
| 46 | 48 | readonly getDescriptor: (scope: string) => Effect.Effect<AppDescriptor | null>; |
| 47 | 49 | /** Re-derive the published-descriptor pointer from the latest committed |
| @@ -264,6 +266,8 @@ export const makeAppsRuntime = (deps: AppsRuntimeDeps): AppsRuntime => { · 216 unmodified lines | ||
| 264 | 266 | scope: input.scope, |
| 265 | 267 | files: input.files, |
| 266 | 268 | commitMessage: input.message, |
| 269 | + description: input.description, | |
| 270 | + source: input.source, | |
| 267 | 271 | }, |
| 268 | 272 | ); |
| 269 | 273 | yield* putDescriptorPointer(out.descriptor); |