0.1.0:2 - remove '<spark-user>' default everywhere (it's Alice's username, not factory)
Per user correction: '<spark-user>' is not the DGX Spark factory default. Generic-ize: - configureSparks: no default user; placeholder 'your SSH username' - sparkConfig schema: empty string defaults - main.ts env fallback: empty - showPublicKey: drop the '<spark-user>' fallback; skip Spark if user not configured - Update feedback memory with the correction
This commit is contained in:
@@ -38,8 +38,10 @@ export const showPublicKey = sdk.Action.withoutInput(
|
||||
const cfg = await sparkConfigYaml.read().once()
|
||||
const hosts: Array<{ user: string; host: string }> = []
|
||||
if (cfg) {
|
||||
if (cfg.spark1_host) hosts.push({ user: cfg.spark1_user || '<spark-user>', host: cfg.spark1_host })
|
||||
if (cfg.spark2_host) hosts.push({ user: cfg.spark2_user || '<spark-user>', host: cfg.spark2_host })
|
||||
if (cfg.spark1_host && cfg.spark1_user)
|
||||
hosts.push({ user: cfg.spark1_user, host: cfg.spark1_host })
|
||||
if (cfg.spark2_host && cfg.spark2_user)
|
||||
hosts.push({ user: cfg.spark2_user, host: cfg.spark2_host })
|
||||
}
|
||||
|
||||
let message: string
|
||||
|
||||
Reference in New Issue
Block a user