Skip to content

Pi integration: agent_session_path is never reported on Windows #3726

Closed

Description

@TheStreamCode

Is this a reproducible bug?

  • I confirm this is a reproducible bug, not a feature request, idea, question, contribution proposal, or direction check.
  • I reproduced this bug on the version and environment reported below using the exact steps provided.

Current behavior

On Windows, pane.report_agent_session and pane.report_agent from the Pi integration (v8) contain agent_session_id but never agent_session_path, even when Pi reports a valid session file under C:\Users\<user>\.pi\agent\sessions\.... Session references from the Pi integration are therefore incomplete on Windows.

For reference: the OMP integration received an equivalent fix in #2092 (Windows session paths); the Pi integration (v8) still exhibits the limitation.

Expected behavior

agent_session_path is reported on Windows the same as on POSIX systems.

Reproduction

  1. Herdr 0.9.0 (stable), Windows 11, herdr integration install pi
  2. Pi coding agent 0.85.1 launched inside a Herdr pane
  3. Send at least one prompt so a session exists
  4. Inspect the session reference reported by the integration: it contains agent_session_id only, no agent_session_path

For contrast, sending the equivalent request over the socket API with a drive path ("agent_session_path": "C:\Users\...\sessions\<file>.jsonl") returns {"result":{"type":"ok"}}, and the path shows up in herdr agent list.

Impact

Pi session references are incomplete on Windows, which limits session restore/display in the agent views.

Environment

  • Herdr version: 0.9.0
  • Update channel (stable or preview): stable
  • Operating system: Windows 11 (build 26200)
  • Terminal: Herdr pane (pi TUI)
  • Shell, if relevant: PowerShell 7.6.5
  • Relevant config, if any: Pi integration v8 via herdr integration install pi; Pi coding agent 0.85.1

Activity

  1. added
    bugSomething isn't working
    windowsaffects Windows-specific behavior
    integrationsmanaged hooks and integration installation or status
    p2valid narrow or ordinary defect with limited impact or a practical workaround
    on Sep 7, 2026
  2. kangal-bot commented on Sep 10, 2026

    @kangal-bot
    Collaborator

    Implemented on master and queued for the next release. This is not available in a published Herdr release yet.

  3. kangal-bot commented on Sep 16, 2026

    @kangal-bot
    Collaborator

    Released on the preview channel in 2026-09-16-2c29fb29e302. This is available to preview users, but is not in a stable Herdr release yet.

  4. kangal-bot commented on Sep 16, 2026

    @kangal-bot
    Collaborator

    Released in v0.9.1.

  5. kangal-bot commented on Oct 12, 2026

    @kangal-bot
    Collaborator

    Released on the preview channel in 2026-10-12-6d697e1e75ff. This is available to preview users, but is not in a stable Herdr release yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingintegrationsmanaged hooks and integration installation or statusp2valid narrow or ordinary defect with limited impact or a practical workaroundpreview-releasedAvailable on the preview channel, pending a stable release.windowsaffects Windows-specific behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions