Skip to content

Can not resume session when using hapi to run it locally #450

@SweetStanleyL

Description

@SweetStanleyL

What version of HAPI is running?

0.16.6

What platform is your computer?

Linux 6.8.8-060808-generic x86_64 x86_64

What issue are you seeing?

1. start Claude Code by 'hapi' locally.

  • the session is visible in on the web hapi list
  • but invisible in 'hapi --resume/ claude --resume' list

2. start session through web controling

  • session is visible in both web list and hapi --resume/ claude --resume list

Claude code analysed that the remote start use 'cli' entrypoint while the local start use 'sdk-ts' entrypoint with 'hapi/cli/src/claude/sdk/query.ts' :line 324

What steps can reproduce the bug?

start session in the two different ways

What is the expected behavior?

The session can be resumed by claud --resume when use hapi to start it locally.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions