ReMe/integrations/dsh/tests
LiangshouX db985b3625 feat(dsh): manage ReMe .env settings from the Environment tab
- read the workspace .env as a masked projection: non-secret values are
  editable, API keys return only •••• plus their last four characters
- merge edits into the existing file, preserving comments, ordering and
  unknown variables; validate the effective file so an untouched real
  key still satisfies the LLM requirement
- require a non-empty EMBEDDING_API_KEY (EMPTY placeholder fills in on
  first save), because ReMe 0.4.0.x aborts startup without one
- test the configured LLM endpoint from inside the workspace with the
  selected interpreter, classifying 401/404/network failures
- add the remeWorkspaceDir setting (empty means ~/.reme) consumed by
  the .env editor and later service management

Real-machine check: masked read leaks no secret, temp-workspace write
is idempotent and rejects an empty embedding key, and the LLM probe
against the local ~/.reme/.env returned HTTP 200.
2026-10-27 18:48:55 +08:00
..
bundle.test.mjs feat(dsh): add Environment tab with local Python detection 2026-10-27 16:57:36 +08:00
client-settings.test.mjs fix(dsh): recover memory backlogs and protect endpoint credentials (#653) 2026-10-21 18:58:29 +08:00
client.test.mjs fix(dsh): preserve outbox order and redact whitespace in credentials (#657) 2026-10-22 11:21:37 +08:00
config.test.mjs fix(dsh): recover memory backlogs and protect endpoint credentials (#653) 2026-10-21 18:58:29 +08:00
dsh-index.test.mjs feat(dsh): add Environment tab with local Python detection 2026-10-27 16:57:36 +08:00
dsh-tools.test.mjs fix(dsh): preserve outbox order and redact whitespace in credentials (#657) 2026-10-22 11:21:37 +08:00
env-detect.test.mjs feat(dsh): check and install reme-ai from the Environment tab 2026-10-27 18:41:38 +08:00
env-reme.test.mjs feat(dsh): check and install reme-ai from the Environment tab 2026-10-27 18:41:38 +08:00
env-workspace.test.mjs feat(dsh): manage ReMe .env settings from the Environment tab 2026-10-27 18:48:55 +08:00
frontmatter.test.mjs refactor(integrations): split TypeScript host plugins (#536) 2026-09-11 13:06:02 +08:00
messages.test.mjs fix(dsh): support DeepSeek Harness 0.1.7-rc.2 (#571) 2026-09-30 14:53:42 +08:00
outbox.test.mjs fix(dsh): preserve outbox order and redact whitespace in credentials (#657) 2026-10-22 11:21:37 +08:00
runtime.test.mjs fix(dsh): preserve outbox order and redact whitespace in credentials (#657) 2026-10-22 11:21:37 +08:00
scheduler.test.mjs refactor(integrations): split TypeScript host plugins (#536) 2026-09-11 13:06:02 +08:00