Commit Graph
42 Commits
Author SHA1 Message Date
Federico Jaramillo Martinez 95c151233a feat: let agents start new sessions via spawn_session tool
Add a project-scoped spawn_session tool so agents can dispatch new,
independent sessions (ralph loops, long-plan chaining). Spawned sessions
are constrained to a workspace/worktree of the same registered project,
appear in the session list immediately via a new session.created event,
and the capability is on by default with a Settings -> Session daemon
toggle (spawnSessions / PI_WEB_SPAWN_SESSIONS).

Note: adds a session daemon code path, so pi-web-sessiond.service must be
restarted manually for the server side to take effect.
2026-06-16 14:53:37 +02:00
Federico Jaramillo Martinez ca30c970a7 refactor: source thinking levels from pi and make the gauge dynamic
Depend on @earendil-works/pi-agent-core so the ThinkingLevel union has a single source of truth (re-exported via shared/thinkingLevels). Wire/data fields use string and the parser is lenient, so an unknown level from a newer pi runtime is still listed, selectable, and rendered gracefully instead of throwing. The composer gauge now derives its bar count from the levels available for the current model and fills by rank. Adds compile-time drift guards (satisfies + Exclude check) and unit tests so a changed pi level set fails fast in development.
2026-06-14 13:47:44 +02:00
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 1000d4ddd6 chore(release): v1.202606.3 2026-06-13 12:07:38 +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 8de25d4a01 chore(release): v1.202606.2 2026-06-11 13:45:24 +02:00
Federico Jaramillo Martinez 73218be516 chore(release): v1.202606.1 2026-06-05 15:41:53 +02:00
Federico Jaramillo Martinez 08f69d09c0 feat: bundle workspace tasks plugin 2026-06-03 22:31:36 +02:00
Federico Jaramillo Martinez 09225a4cea chore(release): v1.202606.0 2026-06-01 21:18:49 +02:00
Federico Jaramillo Martinez 4043ce7eca chore(release): v1.202605.14 2026-05-28 20:41:52 +02:00
Federico Jaramillo Martinez 6f1d948711 chore: tighten plugin id types and lockfile 2026-05-25 16:49:51 +02:00
Federico Jaramillo Martinez 983457e5dd chore(release): v1.202605.13 2026-05-25 16:34:02 +02:00
Federico Jaramillo Martinez 37c3aa79d8 chore(release): v1.202605.12 2026-05-23 23:09:32 +02:00
Federico Jaramillo Martinez ffb2942ead chore(release): v1.202605.11 2026-05-21 14:03:07 +02:00
Federico Jaramillo Martinez fb7903f3cb feat(plugins): add actions plugin package 2026-05-21 09:31:33 +02:00
Federico Jaramillo Martinez 492a6e141c chore(release): v1.202605.10 2026-05-19 13:45:18 +02:00
Federico Jaramillo Martinez b637add6ec fix: update controlled dependency versions 2026-05-19 11:42:23 +02:00
Federico Jaramillo Martinez 6c1ac3f028 chore(release): v1.202605.9 2026-05-19 10:50:34 +02:00
Federico Jaramillo Martinez ee6f60fea1 feat: improve edit tool display in web UI 2026-05-18 23:05:19 +02:00
Federico Jaramillo Martinez b5f4163fac chore(release): v1.202605.8 2026-05-17 22:48:40 +02:00
Federico Jaramillo Martinez 2d8a5d8482 chore(release): v1.202605.7 2026-05-17 11:17:21 +02:00
Federico Jaramillo Martinez b8256899c5 chore(release): v1.202605.6 2026-05-14 22:54:27 +02:00
Federico Jaramillo Martinez f6b8600ca8 chore(release): v1.202605.5 2026-05-13 23:24:03 +02:00
Federico Jaramillo Martinez 7386a9bf08 chore(release): v1.202605.4 2026-05-13 14:23:51 +02:00
Federico Jaramillo Martinez cf43c95385 chore: add changeset release workflow 2026-05-13 12:58:40 +02:00
Federico Jaramillo Martinez 8560c69700 Release 1.202605.3 2026-05-12 15:21:54 +02:00
Federico Jaramillo Martinez 6a7847ba69 Include docs assets in npm package 2026-05-09 23:23:26 +02:00
Federico Jaramillo Martinez 8b41a2ac12 Add Pi package extension 2026-05-09 20:30:40 +02:00
Federico Jaramillo Martinez 80f2920cf7 Regenerate package lock 2026-05-08 22:26:58 +02:00
Federico Jaramillo Martinez f89c055e59 Namespace npm package under jmfederico 2026-05-08 18:57:20 +02:00
Federico Jaramillo Martinez d602e4857a Add npm publishing automation 2026-05-08 16:55:24 +02:00
Federico Jaramillo Martinez 22d10337c2 Add npm package installer CLI 2026-05-08 16:26:08 +02:00
Federico Jaramillo Martinez a647f255a2 Add workspace terminal panel 2026-05-08 15:58:02 +02:00
Federico Jaramillo Martinez 86b8a25d2c Add MIT license 2026-05-08 11:41:14 +02:00
Federico Jaramillo Martinez 15077d7080 Add syntax highlighting for git diffs 2026-05-08 09:43:00 +02:00
Federico Jaramillo Martinez a77012ba83 test: add vitest unit coverage 2026-05-07 23:50:25 +02:00
Federico Jaramillo Martinez 9a80503b72 Add CodeMirror file viewer highlighting 2026-05-07 23:28:31 +02:00
Federico Jaramillo Martinez be624dbdc9 Update Pi package scope 2026-05-07 22:50:50 +02:00
Federico Jaramillo Martinez eb59f1eb00 Add paged chat history loading 2026-05-07 15:46:08 +02:00
Federico Jaramillo Martinez 2ffff85313 Split session daemon from web server 2026-05-07 13:12:48 +02:00
Federico Jaramillo Martinez 97c4cbea8c Improve chat rendering 2026-05-07 11:40:40 +02:00
Federico Jaramillo Martinez adf9087e84 Add pi web POC 2026-05-07 11:12:23 +02:00