Commit Graph
653 Commits
Author SHA1 Message Date
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
Pi Web Agent 01c75298f9 fix: keep federated docker updates tab visible 2026-06-29 16:12:40 +00:00
Pi Web Agent 4885aa0dd5 fix: clarify Docker checkout runtime guidance 2026-06-29 14:43:53 +00:00
Federico Jaramillo Martinez d165d69f73 feat: add bulk session mutations 2026-06-29 13:34:03 +02:00
Pi Web Agent bd28c93cfe feat: unify Docker entrypoint 2026-06-29 11:27:47 +00: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
Pi Web Agent 4a1136eac2 chore(changesets): consolidate docker release note 2026-06-27 23:09:04 +00:00
Pi Web Agent 2987b6f282 feat(docker): add fail-closed host profiles 2026-06-27 23:05:40 +00: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
Jeff Scott Ward 84a485d62e feat: add OMP runtime support 2026-06-26 12:49:58 -04:00
Jeff Scott Ward 4605a4f1d8 refactor: add session route service seam 2026-06-26 12:32:13 -04:00
Federico Jaramillo Martinez 041423a03b chore(release): v1.202606.7 2026-06-26 18:20:39 +02:00
Federico Jaramillo Martinez 3f1f412147 Merge pull request #37 from jmfederico/feat/manual-session-cleanup
Add manual session cleanup
2026-06-26 16:16:34 +02:00
Federico Jaramillo Martinez cb13af4b88 feat: add manual session cleanup 2026-06-26 15:57:12 +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 b2a2ec7505 Merge pull request #28 from TheOneironaut/chat-bidi-rtl-support
Add BiDi support to chat text
2026-06-26 00:16:13 +02:00
Federico Jaramillo Martinez 7bcd807867 Merge branch 'main' into chat-bidi-rtl-support 2026-06-26 00:16:01 +02:00
Federico Jaramillo Martinez 58a7560e51 Merge pull request #35 from aromancev/fix/mobile-enter-newline
fix: keep Enter as newline in mobile chat composer
2026-06-26 00:15:12 +02:00
Federico Jaramillo Martinez a43c782043 feat: add configurable prompt Enter behavior 2026-06-25 23:34:41 +02:00
Federico Jaramillo Martinez fd386b2d6b feat: add prompt enter behavior setting 2026-06-25 22:55:09 +02:00
Federico Jaramillo Martinez b17faeb236 chore: add changeset for BiDi chat text 2026-06-25 22:48:30 +02:00
Pi Web Agent 3ef3643f64 fix(docker): include compose and persist home 2026-06-25 19:46:24 +00:00
Federico Jaramillo Martinez 7e812aa7f5 feat: support general chat file attachments 2026-06-25 21:32:07 +02:00
Pi Web Agent fb2134c775 Merge remote-tracking branch 'origin/main' into feat/docker-runtime-host-admin
# Conflicts:
#	README.md
2026-06-25 18:58:44 +00:00
Andrey Romantsev 32ea809adc fix: keep Enter as newline in mobile chat composer 2026-06-25 18:11:41 +02:00
Federico Jaramillo Martinez 790b36f0ea docs: improve screenshot gallery 2026-06-25 15:50:45 +02:00
Federico Jaramillo Martinez a4ad23545a docs: refresh README overview 2026-06-25 15:39:44 +02:00
Federico Jaramillo Martinez cd5843e8e5 chore: update package lock 2026-06-25 15:20:42 +02:00
Federico Jaramillo Martinez e46d9ecbf8 feat: add safe manual workspace uploads 2026-06-25 15:16:44 +02:00
Federico Jaramillo Martinez f0b779b062 Merge pull request #32 from gilbertwong96/fix/fish-doctor-version-check
fix: run doctor version checks under fish
2026-06-25 14:47:34 +02:00
Federico Jaramillo Martinez 5269a7a7d7 fix: support symlinked CLI entrypoint guard 2026-06-25 14:41:58 +02:00
Federico Jaramillo Martinez f4ae82ab25 Merge pull request #34 from jmfederico/improve-relay-context-containment
docs(relay): add context-contained status baton
2026-06-25 11:54:18 +02:00
Federico Jaramillo Martinez 53073ad01c Merge branch 'main' into improve-relay-context-containment 2026-06-25 11:53:49 +02:00
Federico Jaramillo Martinez fb9d444743 docs(relay): add context-contained status baton 2026-06-25 11:30:49 +02:00