Commit graph

10 commits

Author SHA1 Message Date
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
LiangshouX
ad9a4c2888 feat(dsh): check and install reme-ai from the Environment tab
- check reme-ai version, the [core] AgentScope import and the reme CLI
  for the selected interpreter; an outdated install is flagged instead
  of treated as ready
- one-click pip install of reme-ai[core] as a Host job: per-job log file,
  2s log-tail polling, cancel, and running-job restore after a page
  reload; the optional mirror overrides pip only for that run
- interpreter detection now probes reme-ai per environment, so the
  suggestion prefers a named conda env with a usable reme (an outdated
  reme no longer outranks a ready environment)
- fix: DSH exposes these Remote methods in SRC mode, which parses the
  method source; every method takes one plain `input` identifier
  parameter (no defaults or destructuring) and the client sends
  `{ args: { input } }`
2026-10-27 18:41:38 +08:00
LiangshouX
6f1ecf06aa feat(dsh): add Environment tab with local Python detection
Adds a read-only Environment tab to the ReMe Memory settings card so
users can see why the ReMe service is unreachable before touching a
terminal:

- discover local Python interpreters via the PEP 514 registry, py
  launcher, PATH and conda (base + named envs), then verify every
  candidate by actually running it
- classify origins (conda base/env, python.org, Microsoft Store, venv,
  system PATH), drop Store alias stubs, and suggest a preferred
  interpreter (Python >= 3.11, named conda envs first)
- expose detection to the browser through a new remeEnv host gateway
  (TypertRemoteService) and render it with a connection health check
- config gains optional authToken and pythonPath fields with unchanged
  defaults; existing memory settings keep their behavior

Parsing is fixture-tested against real tool output on Windows (GBK
codepages, localized reg labels, missing py launcher) and Linux.
2026-10-27 16:57:36 +08:00
jinliyl
55fdad94d0
fix(dsh): preserve outbox order and redact whitespace in credentials (#657) 2026-10-22 11:21:37 +08:00
jinliyl
a4f606c6a8
fix(dsh): recover memory backlogs and protect endpoint credentials (#653)
* fix(dsh): recover memory backlogs and protect endpoint credentials

* fix(dsh): address outbox and idempotency review findings
2026-10-21 18:58:29 +08:00
jinliyl
e478b68085
fix(dsh): support 0.2.0 RC and current Harness settings (#629) 2026-10-16 11:32:38 +08:00
jinliyl
67135cfc57
fix(dsh): support DeepSeek Harness 0.1.7-rc.2 (#571)
* fix(dsh): support DeepSeek Harness 0.1.7-rc.2

* fix(dsh): preserve settings and validate live configuration

* fix(dsh): recognize legacy ReMe guidance on resumed sessions

* fix(dsh): keep live settings schema browser compatible

* fix(dsh): preserve exact host validation with serializable forms
2026-09-30 14:53:42 +08:00
jinliyl
6cb81e7921
refactor(integrations): split TypeScript host plugins (#536)
* refactor(integrations): split TypeScript host plugins

* feat(integrations): refresh host compatibility and status UI

* fix(openclaw): secure status diagnostics
2026-09-11 13:06:02 +08:00
jinliyl
8416fd3ac9
feat: add unified TypeScript agent integrations (#483)
* feat: add unified TypeScript agent integrations

* fix: normalize endpoints without regex backtracking

* fix: address TypeScript integration review feedback

* fix: preserve original OpenClaw prompts

* fix: bound pending OpenClaw prompts
2026-08-21 13:57:14 +08:00
jinliyl
f5ec230fef
feat: add DSH memory integration and organize extensions (#461)
* feat: add DSH memory integration and organize extensions

* fix: support newer DSH release candidates

* fix: address DSH integration review feedback

* fix: handle DSH cross-day retry edge cases
2026-08-20 15:31:51 +08:00