Commit Graph
59 Commits
Author SHA1 Message Date
Federico Jaramillo Martinez c2bf595999 feat(sessions): allow global-extension providers, require Pi 0.81
Relaxes the provider policy from 'global config only' to 'global sources':
providers registered by agent-dir (global) extensions are learned once at
daemon startup and allowed on the shared runtime; project-extension
registrations are still rejected with a session warning. Global extensions
load identically for every session, so their providers are daemon-consistent
and cannot leak project state (#76).

- Shim now allows allowlisted ids through and also covers Pi 0.81's native
  provider path (registerNativeProvider), closing a bypass.
- Startup learning step loads only global extensions against a scratch cwd
  and diffs the runtime's registered provider ids.
- Bumps @earendil-works/* dev/peer ranges to >=0.81.1 <0.82; adapts to the
  Agent.streamFn -> streamFunction rename.
- Docs, changeset, unit and acceptance tests updated (global-extension allow
  path, late re-registration a la pi-tensorx, native provider rule).
2026-07-22 17:13:57 +02:00
Federico Jaramillo Martinez d77ca66f28 chore(release): v1.202607.1 2026-07-19 00:37:48 +02:00
Federico Jaramillo Martinez aca168a311 fix(runtime): align supported requirements and release hygiene 2026-07-18 00:10:47 +02:00
Federico Jaramillo Martinez 0fa9d0e4d2 chore(deps): require pi 0.80.8+ and correct dep ranges (issue #62)
Bump the three @earendil-works/* devDependencies to ^0.80.8 and tighten
peerDependencies from '>=0.80.0 <1' to '>=0.80.8 <0.81' so npm cannot
resolve the pre-0.80.8 line that still expected the removed AuthStorage
export. Installed lockfile pins 0.80.10.

The new export surface (ModelRuntime, readStoredCredential,
InMemoryCredentialStore) now resolves; remaining typecheck errors point at
the auth/model-registry migration sites under src/server/sessions/ and are
addressed in the following relay legs.

Refs #62
2026-07-17 20:35:16 +02:00
Federico Jaramillo Martinez 16b801b8cd chore(release): v1.202607.0 2026-07-12 20:47:05 +02:00
Federico Jaramillo Martinez 338faf4b81 perf: speed up chat loading and resume 2026-07-12 09:22:19 +02:00
Federico Jaramillo Martinez 32907bba5f chore(deps): update runtime and development packages 2026-07-10 22:10:40 +02:00
Federico Jaramillo Martinez e63665549a chore: bump pi packages to ^0.80.3
Raises the minimum supported Pi version from 0.78 to 0.80. Required
for the upcoming removal of pi-web's dependency on pi-ai's deprecated
compat entrypoint (@earendil-works/pi-ai/compat).
2026-07-02 10:59:58 +02:00
Federico Jaramillo Martinez 041423a03b chore(release): v1.202606.7 2026-06-26 18:20:39 +02:00
Federico Jaramillo Martinez 904e25ac1a chore: update package lock bin path 2026-06-26 00:23:22 +02:00
Federico Jaramillo Martinez 3f903adcc7 chore: normalize package lock metadata 2026-06-26 00:20:17 +02:00
Federico Jaramillo Martinez fd386b2d6b feat: add prompt enter behavior setting 2026-06-25 22:55:09 +02:00
Federico Jaramillo Martinez cd5843e8e5 chore: update package lock 2026-06-25 15:20:42 +02:00
Federico Jaramillo Martinez 3134421652 chore(release): v1.202606.6 2026-06-24 09:17:26 +02:00
Federico Jaramillo Martinez bf36df24fd chore(release): v1.202606.5 2026-06-23 21:37:02 +02:00
Federico Jaramillo Martinez 1e8cfe9073 chore(deps): refresh dependencies to latest in-range versions
Ran npm update to refresh the lockfile to the latest versions allowed by
the existing package.json ranges; no declared ranges changed.

Notable bumps:
- @earendil-works/pi-coding-agent 0.79.1 -> 0.79.8
- @earendil-works/pi-agent-core 0.79.3 -> 0.79.8
- @earendil-works/pi-ai 0.79.3 -> 0.79.8
- eslint 10.3.0 -> 10.5.0, typescript-eslint 8.59.2 -> 8.61.1
- vitest 4.1.5 -> 4.1.9, tsx 4.21.0 -> 4.22.4, vite 7.3.3 -> 7.3.5, ws 8.20.1 -> 8.21.0

Out-of-range majors left for a deliberate upgrade. npm audit --omit=dev: 0 vulnerabilities.
2026-06-19 12:59:26 +02:00
Federico Jaramillo Martinez ef454f2b65 chore: sync package-lock.json to 1.202606.4
The v1.202606.4 release bumped package.json but left package-lock.json at
1.202606.3, surfacing as a phantom diff after npm install. Sync it.
2026-06-17 12:12:37 +02:00
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