fix(cli): keep meta as a fresh-session command
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ switch (invocation.mode) {
|
||||
}
|
||||
case 'meta': {
|
||||
const { runMeta } = await import('./tui.ts')
|
||||
await runMeta(invocation.resume)
|
||||
await runMeta()
|
||||
break
|
||||
}
|
||||
case 'migrate':
|
||||
|
||||
+2
-5
@@ -82,12 +82,9 @@ export function launcherSessionsRoot(): string {
|
||||
/**
|
||||
* Run the interactive TUI with this harness checkout as the workspace
|
||||
* (`dsh meta`), whatever directory it was launched from.
|
||||
* @param resumeSessionId - a persisted session id to resume, or `undefined`;
|
||||
* see {@link runTui}. Meta-mode sessions live under the checkout, so an id from
|
||||
* an ordinary `dsh` run in another directory is not found here.
|
||||
*/
|
||||
export async function runMeta(resumeSessionId: string | undefined): Promise<void> {
|
||||
return runTui(undefined, resumeSessionId, SOURCE_ROOT)
|
||||
export async function runMeta(): Promise<void> {
|
||||
return runTui(undefined, undefined, SOURCE_ROOT)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user