Commit Graph
100 Commits
Author SHA1 Message Date
Federico Jaramillo Martinez 141cda93c8 feat: expose daemon-owned active agent profile 2026-07-13 22:50:50 +02:00
Federico Jaramillo Martinez a1a019e7b1 chore: merge origin/main 2026-07-13 22:36:36 +02:00
Federico Jaramillo Martinez 37fba00066 Merge pull request #50 from jmfederico/review-issue-48
fix: store session archives under PI_WEB_DATA_DIR
2026-07-13 21:11:50 +02:00
Federico Jaramillo Martinez cb61146b0a fix(tests): isolate Git fixtures from hook environment 2026-07-13 21:11:05 +02:00
Federico Jaramillo Martinez e53802018d docs: define documentation placement guidance 2026-07-13 21:07:50 +02:00
Federico Jaramillo Martinez cfa9f5a2fa Merge remote-tracking branch 'origin/main' into pr-36-generic-agent-config
# Conflicts:
#	docs/config.html
#	docs/config.md
#	src/cli.test.ts
#	src/cli.ts
#	src/client/src/components/settings/SettingsSessiondPanel.ts
#	src/client/src/components/settings/settingsConfigDraft.test.ts
#	src/client/src/components/settings/settingsConfigDraft.ts
#	src/server/app.test.ts
#	src/server/app.ts
#	src/server/configRoutes.test.ts
#	src/server/configRoutes.ts
#	src/server/piWebPluginService.test.ts
#	src/server/piWebPluginService.ts
#	src/server/piWebStatus.test.ts
#	src/server/piWebStatus.ts
#	src/server/piWebStatusCache.ts
#	src/server/sessions/authService.test.ts
#	src/server/sessions/piSessionService.ts
#	src/server/sessions/sessionRoutes.test.ts
2026-07-13 20:30:08 +02:00
Federico Jaramillo Martinez 926693a2d1 Merge pull request #51 from jmfederico/fix/pr-46-base-path
fix: make base-path deployments portable
2026-07-13 19:59:52 +02:00
Federico Jaramillo Martinez 1cad424b07 docs: keep managed data reference timeless 2026-07-13 19:55:09 +02:00
Federico Jaramillo Martinez 6174cf381c docs: keep README quick start concise 2026-07-13 19:08:51 +02:00
Federico Jaramillo Martinez 02b4279a54 Merge pull request #52 from jmfederico/fix/service-shell-preflight
fix: preflight native services in manager context
2026-07-13 19:04:03 +02:00
Federico Jaramillo Martinez 050b053d23 test(sessiond): harden archive migration safety 2026-07-13 14:45:14 +02:00
Federico Jaramillo Martinez 31c98454ec fix(sessiond): migrate legacy archives before startup 2026-07-13 14:37:05 +02:00
Federico Jaramillo Martinez c64a01da63 fix(client): enforce application path conventions 2026-07-13 14:29:50 +02:00
Federico Jaramillo Martinez 7878cbe57b fix(sessions): add safe legacy archive migration core 2026-07-13 14:26:32 +02:00
Federico Jaramillo Martinez 0981a2dc8f fix(cli): use POSIX launchd probe paths 2026-07-13 14:15:59 +02:00
Federico Jaramillo Martinez a8aee7b550 fix(cli): use POSIX native service paths 2026-07-13 13:10:34 +02:00
Federico Jaramillo Martinez a9bcfe25ff fix: preserve plugin manifest compatibility 2026-07-13 12:29:21 +02:00
Federico Jaramillo Martinez 767e653028 fix(cli): harden native service manager preflight 2026-07-13 01:28:04 +02:00
Federico Jaramillo Martinez dde48b3b11 fix(cli): diagnose native service plans in manager context 2026-07-13 00:41:51 +02:00
Federico Jaramillo Martinez 3ac6679952 fix(cli): preflight native services in manager context 2026-07-13 00:25:53 +02:00
Federico Jaramillo Martinez 5ce793add9 refactor(cli): define canonical native service plans 2026-07-13 00:08:09 +02:00
Federico Jaramillo Martinez 0d3096973e docs: remove reverse proxy section from README 2026-07-13 00:04:01 +02:00
Federico Jaramillo Martinez da680f41e1 docs: trim README reverse proxy example 2026-07-12 23:57:26 +02:00
Federico Jaramillo Martinez 62ba7f394a test(client): cover resolved update check URLs 2026-07-12 23:30:05 +02:00
Federico Jaramillo Martinez a493949c2a docs: document reverse proxy path prefixes 2026-07-12 23:28:20 +02:00
Federico Jaramillo Martinez ceeb0d413d fix(plugins): make manifests deployment relative 2026-07-12 23:28:03 +02:00
Federico Jaramillo Martinez 4b2882bb5c fix(client): make build assets deployment relative 2026-07-12 23:27:43 +02:00
Federico Jaramillo Martinez c661fad7e3 fix(client): resolve URLs from application base 2026-07-12 23:27:43 +02:00
Federico Jaramillo Martinez d72b14f40a feat: add manual PI WEB update checks 2026-07-12 23:21:43 +02:00
Federico Jaramillo Martinez a0ea2bbb45 docs: keep managed data guidance general 2026-07-12 23:20:02 +02:00
Federico Jaramillo Martinez 619e293857 docs: move archive upgrade note to changeset 2026-07-12 23:10:10 +02:00
Federico Jaramillo Martinez f9c0fed5e3 fix: preserve extension-only plugin asset MIME types 2026-07-12 23:07:16 +02:00
Federico Jaramillo Martinez ec0ca13120 fix: store session archives under PI_WEB_DATA_DIR 2026-07-12 22:52:59 +02:00
Federico Jaramillo Martinez 21c58fe656 fix: serve plugin SVG assets with correct MIME type 2026-07-12 22:39:41 +02:00
Federico Jaramillo Martinez 16b801b8cd chore(release): v1.202607.0 2026-07-12 20:47:05 +02:00
Federico Jaramillo Martinez 256db336e3 chore(changesets): normalize pending release notes 2026-07-12 20:24:33 +02:00
Federico Jaramillo Martinez 6213940eea test: tolerate build graph contention 2026-07-12 20:14:40 +02:00
Federico Jaramillo Martinez 1db2ae5a9f fix(ci): avoid Windows shebang parse failure 2026-07-12 20:03:30 +02:00
Federico Jaramillo Martinez 338faf4b81 perf: speed up chat loading and resume 2026-07-12 09:22:19 +02:00
Federico Jaramillo Martinez 02f34c495c feat(terminal): add touch-friendly copy mode 2026-07-11 22:50:25 +02:00
Federico Jaramillo Martinez 6fbeed345e fix(sessions): clarify subsession join guidance 2026-07-11 22:03:31 +02:00
Federico Jaramillo Martinez dfab743a71 fix: harden cross-platform release builds
Skip direct POSIX entrypoint execution on Windows CI and prevent test-support modules from entering clean build or npm package output.
2026-07-11 20:30:51 +02:00
Federico Jaramillo Martinez bc6718a7e2 fix: stabilize mobile message headers 2026-07-11 16:26:41 +02:00
Federico Jaramillo Martinez 52925c1405 fix(sessions): restrict delegation tools in tracked children 2026-07-11 15:56:20 +02:00
Federico Jaramillo Martinez a660ba8ef8 fix(sessions): clarify subsession waiting behavior 2026-07-11 09:41:03 +02:00
Federico Jaramillo Martinez 410242aae8 Merge branch 'test-suite-audit-followup'
# Conflicts:
#	src/server/sessions/piSessionService.test.ts
2026-07-10 22:44:13 +02:00
Federico Jaramillo Martinez 32907bba5f chore(deps): update runtime and development packages 2026-07-10 22:10:40 +02:00
Federico Jaramillo Martinez abcf44b962 fix: show complete chat message metadata 2026-07-10 22:10:40 +02:00
Federico Jaramillo Martinez b0d4942b8d test(client): cover workspace upload helper options 2026-07-05 01:00:25 +02:00
Federico Jaramillo Martinez 6b61596ebd test(sessions): cover attachment filename safety 2026-07-05 00:49:45 +02:00
Federico Jaramillo Martinez c0538cff65 test(client): cover prompt attachment paste wiring 2026-07-05 00:41:38 +02:00
Federico Jaramillo Martinez a6e0f1db18 test(client): cover workspace files panel tree boundary 2026-07-05 00:26:34 +02:00
Federico Jaramillo Martinez fad83772b7 test(client): cover file explorer tree workflows 2026-07-05 00:20:17 +02:00
Federico Jaramillo Martinez 7b11f2ad75 test(server): cover websocket bridge behavior 2026-07-05 00:16:27 +02:00
Federico Jaramillo Martinez 168343a289 test(terminals): cover lifecycle publication 2026-07-05 00:11:22 +02:00
Federico Jaramillo Martinez afc0a21bfc test(client): cover machine add workflow 2026-07-05 00:06:18 +02:00
Federico Jaramillo Martinez 6bfb0a47d3 test(machines): cover remote mutation contract 2026-07-05 00:01:39 +02:00
Federico Jaramillo Martinez 1f26ae3935 test(sessions): cover archive lookup edge cases 2026-07-04 23:58:32 +02:00
Federico Jaramillo Martinez 386386d2b5 test(sessions): split pi session service specs 2026-07-04 23:53:58 +02:00
Federico Jaramillo Martinez 04f9d0e764 test(client): split session controller specs 2026-07-04 23:48:12 +02:00
Federico Jaramillo Martinez 4c084b77cc test(server): split app route specs 2026-07-04 23:41:49 +02:00
Federico Jaramillo Martinez 45bcc63544 test(settings): split settings dialog specs 2026-07-04 23:35:11 +02:00
Federico Jaramillo Martinez 9fed05850f test(workspaces): split file content service specs 2026-07-04 23:29:50 +02:00
Federico Jaramillo Martinez a26654153b docs: shorten testing guide skill description 2026-07-04 23:20:37 +02:00
Federico Jaramillo Martinez 6bf2726904 Merge remote-tracking branch 'origin/main' into test-suite-audit-followup 2026-07-04 22:47:22 +02:00
Federico Jaramillo Martinez 40b1d2dabc Merge remote-tracking branch 'origin/main' into test-suite-audit-followup 2026-07-04 22:44:39 +02:00
Federico Jaramillo Martinez eb1727688f fix: preserve legacy federated session actions 2026-07-04 22:39:55 +02:00
Federico Jaramillo Martinez 9006db1e6d test: tolerate Windows line endings in Docker docs check 2026-07-04 22:36:45 +02:00
Federico Jaramillo Martinez 73b169a768 test: close selected coverage gaps 2026-07-03 21:40:36 +02:00
Federico Jaramillo Martinez 8511604e83 test: close audit cleanup findings 2026-07-03 21:40:36 +02:00
Federico Jaramillo Martinez 10efb7f221 fix(sessions): name relay handoffs deterministically 2026-07-03 10:51:45 +02:00
Federico Jaramillo Martinez d2b5520785 docs(relay): include leg identity in handoffs 2026-07-03 10:36:59 +02:00
Federico Jaramillo Martinez 1564f1cfc5 test: audit existing suite 2026-07-03 09:48:20 +02:00
Federico Jaramillo Martinez ad6285355d fix: show full tool details in chat 2026-07-02 22:18:15 +02:00
Federico Jaramillo Martinez 0b17b9d97d fix(updates): remove beta label 2026-07-02 21:16:33 +02:00
Federico Jaramillo Martinez 439520c3e4 fix: reconcile pending session starts 2026-07-02 19:05:23 +02:00
Federico Jaramillo Martinez 2665d1e4bc fix: handle session start persistence 2026-07-02 18:46:44 +02:00
Federico Jaramillo Martinez d2e10cd89a fix: use suffix for unnamed session labels 2026-07-02 14:27:21 +02:00
Federico Jaramillo Martinez 3cb81b1bcf fix: show pending session starts safely 2026-07-02 14:16:17 +02:00
Federico Jaramillo Martinez b61a9c0c54 feat(settings): unify settings panel layout 2026-07-02 13:28:03 +02:00
Federico Jaramillo Martinez 64b2b32705 feat: target settings to selected machine 2026-07-02 13:28:03 +02:00
Federico Jaramillo Martinez 386c67ec79 docs: add changeset for min pi version bump to 0.80 2026-07-02 11:45:13 +02:00
Federico Jaramillo Martinez ad74ea4da7 refactor: generate session names via agent.streamFn instead of pi-ai compat
Rewrite sessionNameGenerator.ts to consume a StreamFn-shaped dependency
(sourced from PiAgentSession.agent.streamFn, wired in leg B) instead of
ModelRegistry plus a dynamic @earendil-works/pi-ai/compat import.

streamFn resolves auth/headers/retry internally, so the explicit
modelRegistry.getApiKeyAndHeaders(model) call and apiKey/headers stream
options are no longer needed.

Deletes now-dead compat-loading machinery: getPiAiProviderRegistryModule,
loadPiAiProviderRegistryModule, importOptionalPiAiModule,
isModuleUnavailableError, hasGetApiProvider, PI_AI_COMPAT_MODULE,
ModuleImporter, SessionNameApiProvider, PiAiProviderRegistryModule, and
the module-level provider registry cache.

Updates the maybeGenerateSessionName call site in piSessionService.ts to
pass session.agent.streamFn instead of this.modelRegistry, and updates
both test files: sessionNameGenerator.test.ts gains coverage for the new
streamFn-driven generateShortSessionName signature (success and error
paths), and piSessionService.test.ts gains an end-to-end test proving a
first prompt generates a session name through the wired agent.streamFn
fake.

sessionNameGenerator.ts no longer imports @earendil-works/pi-ai/compat
or references getApiProvider anywhere.
2026-07-02 11:42:30 +02:00
Federico Jaramillo Martinez 6f59a4243e refactor: expose session streamFn on PiAgentSession
Add a narrow `agent: { streamFn: StreamFn }` field to the PiAgentSession
interface, sourced structurally from the real AgentSession.agent (Agent,
from the stable @earendil-works/pi-agent-core package). This is the
resolved-auth/headers/retry "call this model" function pi's own
compaction/branch-summarization code uses internally, and will let
sessionNameGenerator.ts drop its dependency on the deprecated pi-ai
/compat provider registry in a follow-up leg.

No adapter object was needed: AgentSession's real .agent field already
structurally satisfies the new narrow shape, so defaultCreateAgentRuntime
needed no changes.

Adds a unit test proving the field is wired end-to-end via the injected
runtime creator. sessionNameGenerator.ts itself is untouched (leg C).
2026-07-02 11:28:18 +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 377b5a28b6 docs: align package management website docs 2026-07-01 22:39:47 +02:00
Federico Jaramillo Martinez e7d418fd2b fix: serialize pi package mutations 2026-07-01 22:31:37 +02:00
Federico Jaramillo Martinez 95a0ad7509 fix: guide package settings by runtime capability 2026-07-01 22:24:06 +02:00
Federico Jaramillo Martinez 332db5faeb feat: expose package management capability 2026-07-01 22:13:02 +02:00
Federico Jaramillo Martinez 0a1b7f9699 fix: decouple settings package loading 2026-07-01 22:05:48 +02:00
Federico Jaramillo Martinez 3df4041bd7 feat: manage Pi packages on selected machines 2026-07-01 21:54:18 +02:00
Federico Jaramillo Martinez 889672ff53 feat: add session runtime reload command 2026-07-01 19:32:52 +02:00
Federico Jaramillo Martinez 8ade238228 feat: add Pi package management settings 2026-07-01 15:34:34 +02:00
Federico Jaramillo Martinez 3f36394c17 fix: wait for git file suggestion probes before fallback 2026-07-01 09:39:59 +02:00
Federico Jaramillo Martinez d165d69f73 feat: add bulk session mutations 2026-06-29 13:34:03 +02:00
Federico Jaramillo Martinez 1edebb1b04 fix: require explicit alternate agent state 2026-06-29 07:56:01 +02:00
Federico Jaramillo Martinez a87479815a fix: inherit dispatcher model for spawned sessions 2026-06-28 16:46:37 +02:00
Federico Jaramillo Martinez 75e2377756 feat: generalize agent runtime config 2026-06-28 16:36:40 +02:00
Federico Jaramillo Martinez 7063c2c3b1 fix: prevent iOS input zoom 2026-06-28 16:11:18 +02:00
Federico Jaramillo Martinez 2009e6a883 fix: keep chat prompt input stable during streaming
Coalesce session status/activity updates into one render per animation
frame instead of one per token, ignore prompt-editor status changes that
do not affect what it displays, and stop per-keystroke draft state from
re-rendering the surrounding template. This prevents streaming-driven
re-renders from interrupting in-progress touch gestures such as the iOS
long-press paste/edit callout.
2026-06-27 08:12:01 +02:00