mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-12-05 01:29:32 +01:00
chore: one release changeset for the next release
Replaces the four PR changesets (claude-starts-under-root, installer-headless-sudo, trusted-proxy-sign-in, upload-html-documents) and names #850, #859, #860 and #866, which brought none. Patch: #854's changeset asked for minor, which is the owner's call at COM. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
17e66d50c0
commit
63af255726
5 files changed
+30
-20
No files matched your search
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"aicodeman": patch
|
||||
---
|
||||
|
||||
Claude sessions now start when Codeman itself runs as root (a VPS, an LXC container): Claude Code refuses `--dangerously-skip-permissions` under root and every local Claude tab showed a dead pane, so a root server now starts Claude without the bypass (it asks for permission instead) and says so in the server log.
|
||||
@@ -0,0 +1,30 @@
|
||||
---
|
||||
"aicodeman": patch
|
||||
---
|
||||
|
||||
### Thanks
|
||||
|
||||
- @irisitymichaelgrundberg for the first part of the chat view (#859) and for the markdown table fix (#866), each with careful measurements in two browsers.
|
||||
- @zomby1 for single sign-on through a reverse proxy (#854, proposed in #846), run behind Caddy and oauth2-proxy for days before it landed.
|
||||
- @aakhter for Codex file previews (#850), three review rounds.
|
||||
- @ludovicfourrage for HTML uploads (#869, from #868).
|
||||
- @eltociear for the Japanese README (#860), a first contribution.
|
||||
|
||||
**Claude sessions start when Codeman runs as root (#863).** On a VPS or in a Proxmox LXC container the server often runs as root, and Claude Code refuses `--dangerously-skip-permissions` there, so every local Claude tab was a dead pane. A server running as root now starts Claude without the bypass (Claude asks for permission instead) and says so in the server log. Shell sessions, Docker cases and remote sessions are unchanged.
|
||||
|
||||
**Multi-user mode can sign people in through a reverse proxy (#854, experimental).** With `CODEMAN_TRUSTED_PROXY_SECRET_FILE` set, an authenticating proxy on the same host (oauth2-proxy behind Caddy or nginx, Authelia, Apache mod_auth_openidc) signs people in with Entra ID, Google Workspace, Keycloak and others. Codeman accepts the proxy's `X-Codeman-User` only from a loopback connection that also presents the secret, and only for an existing, enabled account. The headers are removed from every request before anything else sees them. Off by default. The wiki's Multi-User Mode page has a Caddy and oauth2-proxy walkthrough.
|
||||
|
||||
**A chat view for Claude sessions (#859, first part).** A local or Docker Claude session can show its conversation as rendered text instead of the terminal: a Chat / Terminal switch at the top right of the session, or Alt+Shift+C, and each session remembers its choice on the device. Answers fill in while the turn runs, long prompts fold, and a notice with a button to the terminal appears while Claude waits on a permission prompt or a question. You still type in the terminal for now; the message box follows in a later release. Settings > Header & Panels has "Open Claude sessions in Chat view" (off by default) and "Show the Chat / Terminal switch" (on). Phones, remote and adopted sessions, tiles and the split's second pane keep the terminal.
|
||||
|
||||
**Codex sessions open the files they link in Codeman's preview (#850).** Clicking a file name Codex underlined in its answer opens that file in the file preview, when the conversation names exactly one such file; anything else still goes to Codex. The new per-device Codex files setting (Settings > Header & Panels, off by default) adds a Response files button listing the files of the last answer, takes clicks on Codex's sidebar file tabs, and adds a Dock button that places the preview beside the terminal on a wide screen.
|
||||
|
||||
**Prompt uploads take `.html` and `.htm` (#869, from #868).** AI tools write specs and reports as HTML as often as Markdown, and attaching one is now the same as attaching a `.md`: paste, drop and every Attach picker take it, it is checked like the rest of the text family, and it is saved to `.codeman-uploads/`. It is stored to be read, never rendered on Codeman's own origin. Scripts (`.sh`, `.py`, `.js`) are still refused.
|
||||
|
||||
**Fixes.**
|
||||
|
||||
- **Markdown table columns no longer shrink to one letter per line (#866).** In the response viewer and the file preview, a narrow column next to a long one wrapped its text a letter at a time. Cells now wrap between words, while inline code, links and paths in a cell still break where needed.
|
||||
- **The installer gets past sudo in a headless run (#863).** With a working passwordless sudo and no terminal (`su - user -c`, cron, a CI runner, cloud-init), the installer stopped at "Failed to obtain sudo privileges". It now checks that `/dev/tty` can be opened before reading from it.
|
||||
|
||||
**Fixes applied while landing.** The proxy secret is also removed from Node's raw header list, not only from the parsed headers (#854). With a preview open, switching Codex files on or off now shows or hides its Dock button at once (#850).
|
||||
|
||||
**Docs.** A Japanese README (#860), linked from the English and Chinese ones; an npm release moves every translated README aside so npmjs.com keeps showing the English one.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"aicodeman": patch
|
||||
---
|
||||
|
||||
The installer no longer stops on "Failed to obtain sudo privileges" in a headless run with a working passwordless sudo (`su - user -c`, cron, a CI runner, cloud-init): it now checks whether `/dev/tty` can be opened before taking sudo's input from it, where it used to test only that the node exists.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'aicodeman': minor
|
||||
---
|
||||
|
||||
Multi-user mode can sign people in through an authenticating reverse proxy on the same host (single sign-on with Entra ID, Google Workspace, Keycloak and others). With `CODEMAN_TRUSTED_PROXY_SECRET_FILE` set, a loopback request that carries the secret in `X-Codeman-Proxy-Secret` and a username in `X-Codeman-User` signs in as that existing, enabled account. Off by default and experimental. The wiki's Multi-User Mode page has a Caddy and oauth2-proxy walkthrough.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'aicodeman': patch
|
||||
---
|
||||
|
||||
Prompt uploads accept `.html` and `.htm` as documents, in paste, drop and every Attach picker. AI tools write specifications, reports and plans as HTML as often as Markdown, and handing one to a session as context is the same job as attaching a `.md`. An HTML upload is judged like the rest of the text family (UTF-8 with no NUL byte) and saved to `.codeman-uploads/`. It is stored to be read, never rendered on Codeman's origin: `file-raw` serves it as `application/octet-stream` with `nosniff`, which a browser downloads, and the rendered-HTML view refuses a page in a hidden directory, both now pinned by tests. Scripts (`.sh`, `.py`, `.js`) are still refused.
|
||||
Reference in new issue
Block a user