The bed publishes the SDK before the base build
genesis passes --sdk-source so the installer raises the registry and publishes the SDK ahead of the base, which now resolves it by version. Claude-Session: https://claude.ai/code/session_01D6qtiYU3P9jk3pnAXyAFyx
This commit is contained in:
@@ -64,6 +64,9 @@ export interface GenesisOptions {
|
||||
*/
|
||||
toolsSource: string;
|
||||
catalogSource: string;
|
||||
/** Where the shared library is built from — published before the base resolves it (ADR 0076). */
|
||||
sdkSource: string;
|
||||
sdkRef?: string;
|
||||
/** What of the catalogue to build. A branch under test is the usual reason this is not main. */
|
||||
catalogRef?: string;
|
||||
log?: (m: string) => void;
|
||||
@@ -148,6 +151,8 @@ export async function genesis(o: GenesisOptions): Promise<GenesisResult> {
|
||||
`--tools-source ${o.toolsSource}`,
|
||||
`--catalog-source ${o.catalogSource}`,
|
||||
`--catalog-ref ${o.catalogRef ?? "main"}`,
|
||||
`--sdk-source ${o.sdkSource}`,
|
||||
`--sdk-ref ${o.sdkRef ?? "main"}`,
|
||||
// The choices, answered the unattended way. Both have one option today, so these are
|
||||
// redundant on purpose: the day a second filter exists, this bed keeps working instead of
|
||||
// refusing, and choosing becomes a thing it visibly does.
|
||||
|
||||
Reference in New Issue
Block a user