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 | type PublishOutput, | 13 | type PublishOutput, |
| 14 | } from "../pipeline/publish"; | 14 | } from "../pipeline/publish"; |
| 15 | import { PublishError } from "../pipeline/discover"; | 15 | import { PublishError } from "../pipeline/discover"; |
| 16 | import type { AppDescriptor, ToolDescriptor } from "../pipeline/descriptor"; | 16 | import type { AppDescriptor, AppSourceRef, ToolDescriptor } from "../pipeline/descriptor"; |
| 17 | import { bundleEntry } from "../pipeline/bundle"; | 17 | import { bundleEntry } from "../pipeline/bundle"; |
| 18 | import { | 18 | import { |
| 19 | buildBridge, | 19 | buildBridge, |
| @@ -42,6 +42,8 @@ export interface AppsRuntime { · 22 unmodified lines | |||
| 42 | readonly scope: string; | 42 | readonly scope: string; |
| 43 | readonly files: ReadonlyMap<string, string>; | 43 | readonly files: ReadonlyMap<string, string>; |
| 44 | readonly message?: string; | 44 | readonly message?: string; |
| 45 | readonly description?: string; | ||
| 46 | readonly source?: AppSourceRef; | ||
| 45 | }) => Effect.Effect<PublishOutput, PublishError>; | 47 | }) => Effect.Effect<PublishOutput, PublishError>; |
| 46 | readonly getDescriptor: (scope: string) => Effect.Effect<AppDescriptor | null>; | 48 | readonly getDescriptor: (scope: string) => Effect.Effect<AppDescriptor | null>; |
| 47 | /** Re-derive the published-descriptor pointer from the latest committed | 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 | scope: input.scope, | 266 | scope: input.scope, |
| 265 | files: input.files, | 267 | files: input.files, |
| 266 | commitMessage: input.message, | 268 | commitMessage: input.message, |
| 269 | description: input.description, | ||
| 270 | source: input.source, | ||
| 267 | }, | 271 | }, |
| 268 | ); | 272 | ); |
| 269 | yield* putDescriptorPointer(out.descriptor); | 273 | yield* putDescriptorPointer(out.descriptor); |