Federico Jaramillo Martinez
edae57b836
Clean up remaining dead code and dependencies
...
- Replace unused 'codemirror' barrel dep with explicit @codemirror/{state,
view,commands,language} sub-packages that were imported but unlisted
- Remove unused exports: writeNamespacedQuery, targetWorkspacePathForRun,
isWorkspaceDeletionRun, piWebConfigDir, duplicate parsePiWebRuntimeResponse
- Remove unused types: WorkspacePanelFiles, WorkspacePanelHost,
GetActiveSession, SaveAttachmentsResponse, QueryValues
- Drop now-unused re-exports/imports cascading from the above
- Add knip config + 'npm run knip' script for ongoing dead-code detection
2026-06-13 21:57:51 +02:00
Federico Jaramillo Martinez
d17050e144
feat: add image attachments to the chat composer
...
Support pasting (Ctrl/Cmd+V), drag-and-drop, and an Attach button to add
PNG/JPEG/GIF/WebP images to a message, with thumbnail previews and
multi-image support.
Attachments are delivered to the session using pi's native ImageContent
format and are run through pi's own resizeImage so they match pi's inline
image limits exactly. Image content now renders inline in the transcript.
A per-message delivery toggle also lets users save attachments into the
workspace `.pi-web/paste` folder and reference them so the agent reads
them with its own tools.
The accepted HTTP upload size is configurable via PI_WEB_MAX_UPLOAD_BYTES
or the maxUploadBytes config value (default 64 MB).
Closes #13
2026-06-13 13:49:39 +02:00
Federico Jaramillo Martinez
3c6b4a4869
feat: detached systemd restart + runnable Updates panel commands
...
Run Linux restart commands inside a detached transient systemd user
service (systemd-run --user) so the restart survives the launching
terminal being killed and its logs can be inspected via journalctl.
Make the Updates panel actionable: every command has Copy and Run,
a single recommended all-in-one command is shown at the top, and the
rest are grouped as optional additional commands.
2026-06-13 12:58:09 +02:00
Federico Jaramillo Martinez
3d68c78c83
test: make working-directory tests pass on Windows
...
Drive-qualify resolved paths in fixtures and assert against normalized cwds
so route tests match the values normalizeRequestCwd produces. Skip the
POSIX-shell TerminalService suite on native Windows, where the terminal
feature is unsupported.
2026-06-13 11:48:06 +02:00
Federico Jaramillo Martinez
c0d12222a2
fix: list and open sessions across project directories
...
Sessions outside the server's launch directory were invisible and returned
404 on open, leaving the model picker empty. List without the SDK's
process-cwd filter and normalize working directories at the API boundary and
when reading stored session data, tolerating separator/normalization
differences (including Windows backslash vs forward slash). Requires Pi
coding agent SDK 0.78.0 or newer.
2026-06-13 11:40:47 +02:00
Federico Jaramillo Martinez
38cf334c40
fix: restart web/UI services before sessiond in restart commands
...
Running the suggested restart command from a PI WEB terminal kills the
command when sessiond restarts, so services listed after sessiond were
never restarted. Restart web/UI first in both the updates plugin's
suggested command and `pi-web restart` (systemd and launchd).
2026-06-12 20:49:08 +02:00
Federico Jaramillo Martinez
d66eccc5c0
fix: handle spaced file suggestions
2026-06-11 12:09:27 +02:00
Federico Jaramillo Martinez
577594a622
fix: prevent sidebar action menus from being cropped
...
Use viewport-constrained positioning for sidebar action menus and keep the auth warning test isolated from local models.json config so pre-commit verification is deterministic.
2026-06-11 01:31:56 +02:00
Federico Jaramillo Martinez
680ed88b0b
test: cover session websocket cwd proxying
2026-06-10 23:15:59 +02:00
Federico Jaramillo Martinez
b99143f757
fix: preserve legacy session route lookups
2026-06-10 22:42:55 +02:00
Federico Jaramillo Martinez
71510444c4
Merge remote-tracking branch 'origin/main' into investigate/issue-12-session-dir
...
# Conflicts:
# src/client/src/api.ts
# src/client/src/api/clients.ts
# src/client/src/api/federatedRouteContract.test.ts
# src/server/sessions/piSessionService.ts
# src/server/sessions/sessionRoutes.ts
2026-06-10 20:43:10 +02:00
Federico Jaramillo Martinez
9a3abe494d
Merge branch 'fix/bind-session-extensions'
2026-06-10 20:32:51 +02:00
Federico Jaramillo Martinez
824b7a0a2f
fix: bind extensions for web sessions
...
Fixes #19
2026-06-10 20:32:25 +02:00
Federico Jaramillo Martinez
06052ea5ec
fix: respect Pi session directories by cwd
2026-06-10 20:26:51 +02:00
Federico Jaramillo Martinez
4bc390a33a
fix: keep machine restore snappy
2026-06-09 17:06:18 +02:00
Federico Jaramillo Martinez
c57f24dfa5
feat: support machine-specific plugins
2026-06-09 15:10:32 +02:00
Federico Jaramillo Martinez
fc20b95fed
feat: gate session cleanup by runtime capabilities
2026-06-09 11:40:17 +02:00
Federico Jaramillo Martinez
a3b5b722c9
feat: add safe session bulk cleanup actions
2026-06-08 17:20:00 +02:00
Federico Jaramillo Martinez
f2d211da9c
fix(plugins): harden remote plugin asset proxy
2026-06-05 14:32:41 +02:00
Federico Jaramillo Martinez
82ba2e0490
fix: validate prompt API payloads
...
Fixes #11
2026-06-05 11:09:15 +02:00
Federico Jaramillo Martinez
b9be7de206
feat: load machine-scoped remote plugins
2026-06-05 09:29:48 +02:00
Federico Jaramillo Martinez
9c3dafc4d4
fix: close workspace terminals before deletion
2026-06-04 21:31:39 +02:00
Federico Jaramillo Martinez
4eb95fec7f
Merge remote-tracking branch 'origin/main' into review/pr-5-machine-federation-fixes
...
# Conflicts:
# src/client/src/api.ts
# src/client/src/api/clients.ts
# src/client/src/api/parsers.ts
# src/client/src/components/PiWebApp.ts
# src/server/app.ts
# src/shared/apiTypes.ts
2026-06-04 10:31:23 +02:00
Federico Jaramillo Martinez
08f69d09c0
feat: bundle workspace tasks plugin
2026-06-03 22:31:36 +02:00
Federico Jaramillo Martinez
a58c2113f4
feat: add shortcut config foundation
2026-06-03 20:41:16 +02:00
Federico Jaramillo Martinez
4495a26ffd
feat: add settings config UI
2026-06-03 20:20:54 +02:00
Federico Jaramillo Martinez
753b8bbc8a
Merge remote-tracking branch 'origin/main' into review/pr-5-machine-federation-fixes
...
# Conflicts:
# src/client/src/api/clients.ts
# src/client/src/components/PiWebApp.ts
# src/client/src/components/PromptEditor.ts
# src/server/app.ts
# src/server/terminalProxyRoutes.ts
# src/server/workspaces/fileSuggestions.ts
2026-06-02 17:42:16 +02:00
Federico Jaramillo Martinez
9c80eb0a92
fix: improve PI WEB updates panel commands
2026-06-01 17:46:23 +02:00
Federico Jaramillo Martinez
fdd2cf2390
fix: improve file mention suggestions without ripgrep
2026-05-31 20:04:59 +02:00
Federico Jaramillo Martinez
50906617a0
feat: add pi-web version reporting
2026-05-28 21:33:14 +02:00
Federico Jaramillo Martinez
5e2afc1ffa
fix: harden machine federation boundaries
2026-05-28 20:49:25 +02:00
Federico Jaramillo Martinez
2abd1d9e19
fix: queue prompts during compaction
2026-05-28 14:15:52 +02:00
Marc Kassubeck
a142f5ed40
feat: add machine federation
2026-05-26 13:07:31 +02:00
Marc Kassubeck
b5f8810eda
feat: add machine-scoped local API aliases
2026-05-26 13:06:56 +02:00
Marc Kassubeck
3270619f24
test: make server tests pass on Windows
2026-05-26 13:04:00 +02:00
Marc Kassubeck
0405b384b1
feat: add local machine registry foundation
2026-05-26 13:04:00 +02:00
Federico Jaramillo Martinez
50f1ddc9c5
fix: refresh session message counts live
2026-05-26 08:52:43 +02:00
Federico Jaramillo Martinez
824728174b
feat: add native user service installs
2026-05-25 16:28:09 +02:00
Federico Jaramillo Martinez
711c4f3d98
feat: run workspace operations in terminals
2026-05-25 15:01:56 +02:00
Federico Jaramillo Martinez
57a6a4a69f
fix: make doctor platform-aware
2026-05-25 14:56:21 +02:00
Federico Jaramillo Martinez
34e657dd2b
fix(cli): diagnose macOS node-pty spawn-helper permissions
2026-05-25 14:03:43 +02:00
Federico Jaramillo Martinez
679008d132
fix: clear stale workspace activity indicators
2026-05-24 08:15:47 +02:00
Federico Jaramillo Martinez
1546143038
feat: add PWA install icon and uppercase branding
2026-05-23 20:50:45 +02:00
Federico Jaramillo Martinez
428f7bb8c2
feat: archive session descendants
2026-05-23 00:05:03 +02:00
Federico Jaramillo Martinez
a1e903f8f9
feat: add file browser image previews
2026-05-22 15:36:24 +02:00
Federico Jaramillo Martinez
3409b0acba
feat: name forked and cloned sessions
2026-05-22 15:36:24 +02:00
Federico Jaramillo Martinez
9e3d272731
feat: prefill forked session prompt draft
2026-05-21 22:56:03 +02:00
Federico Jaramillo Martinez
698a89948b
feat(plugins): load workspace packages in dev
2026-05-21 09:41:46 +02:00
Federico Jaramillo Martinez
619840a398
fix: clear stale workspace activity
2026-05-19 21:41:58 +02:00
Federico Jaramillo Martinez
ebe5639399
feat: show project and workspace activity indicators
2026-05-19 13:24:02 +02:00