Add dashboard username/password login#1439
Merged
Jurij89 merged 14 commits intoJul 5, 2026
Merged
Conversation
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DKG_HOME, creates the first credential fromdkg init, and addsdkg auth dashboard reset-passwordplus safeauth statusmetadata.dkg mcp setup,dkg hermes setup, anddkg openclaw setupcreate missing dashboard credentials, print generated credentials once, and leave existing credentials untouched on reruns.Related
codex/node-ui-auth-bootstrap-session; target base is that PR branch, notmain.agent-docs/dashboard-login-followup-plan.md.Files changed
agent-docs/dashboard-login-followup-plan.mdpackages/cli/src/daemon/dashboard-credentials.tspackages/cli/src/dashboard-credential-setup.tspackages/cli/src/mcp-setup.ts,packages/cli/src/*setup.tspackages/adapter-hermes/src/setup.ts,packages/adapter-openclaw/src/setup.tspackages/cli/src/daemon/dashboard-session*.tsloginsession source, and reset invalidation hooks.packages/cli/src/daemon/lifecycle.tspackages/cli/src/commands/auth.ts,packages/cli/src/commands/init.tspackages/node-ui/src/ui/**packages/cli/test/**,packages/node-ui/test/**,packages/adapter-*/test/**Adversarial ready review
DKG_HOME;Test plan
cd packages/cli && pnpm vitest run test/dashboard-credentials.test.ts test/dashboard-session.test.ts --reporter=dotcd packages/cli && pnpm exec tsc --noEmit --pretty falsecd packages/node-ui && pnpm vitest run test/dashboard-session-client.test.ts test/dashboard-session-gate.test.ts --reporter=dotcd packages/node-ui && pnpm buildcd packages/node-ui && pnpm build:ui(passed; existing Vite warning aboutMOCK_SUBGRAPHSremains unrelated)cd packages/cli && PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/mnt/c/Users/jurij/AppData/Local/fnm_multishells/39480_1783200367143 /mnt/c/Users/jurij/AppData/Local/fnm_multishells/39480_1783200367143/pnpm vitest run test/mcp-setup.test.ts test/hermes-setup-orchestration.test.ts test/openclaw-setup-cli-args.test.ts test/hermes-setup-cli-args.test.ts test/dashboard-credential-setup.test.ts(WSL run with Windows interop discovery neutralized)cd packages/cli && pnpm vitest run test/dashboard-credentials.test.ts test/dashboard-credential-setup.test.tscd packages/adapter-openclaw && pnpm vitest run test/setup.part-26.test.tscd packages/adapter-hermes && pnpm vitest run test/hermes-adapter.part-07.test.tscd packages/adapter-openclaw && pnpm exec tsc --noEmit --pretty falsecd packages/adapter-hermes && pnpm exec tsc --noEmit --pretty falsegit diff --checkcd packages/adapter-hermes && pnpm vitest run test/hermes-adapter.part-07.test.ts(19 tests, final hardening)cd packages/cli && pnpm exec vitest run --config vitest.unit.config.ts test/dashboard-credentials.test.ts test/dashboard-credential-setup.test.ts test/dashboard-session.test.ts --reporter=dot(65 tests, final hardening)cd packages/cli && PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/mnt/c/Users/jurij/AppData/Local/fnm_multishells/50508_1783202234549 /mnt/c/Users/jurij/AppData/Local/fnm_multishells/50508_1783202234549/pnpm exec vitest run --config vitest.unit.config.ts test/mcp-setup.test.ts test/hermes-setup-orchestration.test.ts test/openclaw-setup-cli-args.test.ts test/hermes-setup-cli-args.test.ts test/dashboard-credential-setup.test.ts --reporter=dot(136 tests, final hardening)cd packages/node-ui && pnpm vitest run test/dashboard-session-gate.test.ts test/dashboard-session-client.test.ts --reporter=dot(10 tests, final hardening)cd packages/node-ui && pnpm exec tsc --noEmit --pretty falsepnpm --filter @origintrail-official/dkg-node-ui run build