Repository navigation
feat(interactive): add multi-session support with /sessions, /session, /new commands - #92
Conversation
|
@claude Can you test this with the mock-agent? in the examples. use /ponytail:ponytail |
|
Claude finished @edenreich's task in 3m 43s —— View job Testing multi-session support
Environment limitationI could not bring up the live ✅ What passesAdded
🐞 Bug found:
|
|
@infer Can you address claude's comments? use /go /ponytail:ponytail |
|
Model: Todos
Pull Request✅ Infer Result: SuccessSummaryAddressed Claude's review comments on PR #92. The only code change needed was the Bug fix:
|
/sessions displays shortID(id) (first 8 chars) but /session <id> looked up the full UUID key, so copying a displayed ID gave 'session not found'. Add a prefix-match fallback using strings.HasPrefix before failing.
|
@claude is it working now? deepseek fixed it. use /go /go-concurrency /ponytail:ponytail |
|
Claude finished @edenreich's task in 1m 8s —— View job ✅ Yes, it's working nowDeepseek's fix ( The fix ( target := args[0]
if _, ok := m.sessions[target]; !ok {
for id := range m.sessions {
if strings.HasPrefix(id, target) {
target = id
break
}
}
}This is even leaner than my suggested version - Test results (
Concurrency check (as requested via /go-concurrency)No issues. Bubble Tea mutates the model only inside One minor prefix note (no change needed)
Verdict
The bug is fixed, tests cover it, and the PR is ready to merge. ✅ |
## [0.10.0](v0.9.0...v0.10.0) (2026-09-03) ### ✨ Features * **git-hooks:** add pre-commit hook for gofmt and linting tasks ([013bf06](013bf06)) * **interactive:** add multi-session support with /sessions, /session, /new commands ([#92](#92)) ([60192e5](60192e5)) * **skills:** add go-concurrency and go-spec-reviewer skills for Go best practices ([3ea14a6](3ea14a6)) ### 🐛 Bug Fixes * **release:** update GitHub App client ID secret reference to RELEASER_APP_CLIENT_ID ([3d0230b](3d0230b)) ### 👷 CI * centralize claude.yml via reusable workflow ([#35](#35)) ([705494d](705494d)) * centralize claude.yml via reusable workflow ([#36](#36)) ([4fbc101](4fbc101)) * centralize claude.yml via reusable workflow ([#54](#54)) ([af771f5](af771f5)) * centralize infer.yml + bump infer CLI and sync .infer config ([#39](#39)) ([aac6139](aac6139)) * centralize infer.yml + sync .infer config ([#38](#38)) ([bb6fa71](bb6fa71)) * centralize infer.yml via reusable workflow ([#37](#37)) ([a92f2cb](a92f2cb)) * **claude:** centralize claude.yml via reusable workflow ([#105](#105)) ([dcc8a0b](dcc8a0b)) * **claude:** centralize claude.yml via reusable workflow ([#80](#80)) ([fa2158e](fa2158e)) * **claude:** centralize claude.yml via reusable workflow ([#88](#88)) ([1476d69](1476d69)) * **claude:** centralize claude.yml via reusable workflow ([#89](#89)) ([dc745ff](dc745ff)) * **claude:** centralize claude.yml via reusable workflow ([#91](#91)) ([0751a27](0751a27)) * **claude:** centralize claude.yml via reusable workflow ([#93](#93)) ([153e075](153e075)) * **claude:** centralize claude.yml via reusable workflow ([#96](#96)) ([15df02a](15df02a)) * **claude:** centralize claude.yml via reusable workflow ([#97](#97)) ([b0e9e57](b0e9e57)) * **deps:** upgrade actions/checkout from v6.0.3 to v7.0.0 across workflows ([b495fe3](b495fe3)) * **infer:** centralize infer.yml + bump infer CLI and sync .infer config ([#40](#40)) ([3a2be25](3a2be25)) * **infer:** centralize infer.yml + sync .infer config ([#62](#62)) ([ac9e09e](ac9e09e)) * **infer:** centralize infer.yml via reusable workflow ([#77](#77)) ([fe4a49d](fe4a49d)) * **infer:** centralize infer.yml via reusable workflow ([#78](#78)) ([669b093](669b093)) * **release:** update semantic release and plugins to latest versions with local installation ([bea5d49](bea5d49)) * **release:** use dynamic GitHub App user details for author and committer ([3ecc8c2](3ecc8c2)) * restrict default workflow token permissions to contents: read ([#76](#76)) ([2e64503](2e64503)) ### 📚 Documentation * Add AGENTS.md for coding agents ([#107](#107)) ([425dd1f](425dd1f)) ### 🔧 Miscellaneous * bump go toolchain to 1.26.7 and pin explicitly ([#111](#111)) ([7f614d6](7f614d6)) * **deps:** bump claude-code 2.1.148 -> 2.1.158 ([#42](#42)) ([6697338](6697338)) * **deps:** bump claude-code 2.1.158 -> 2.1.161 ([#51](#51)) ([0f7d05a](0f7d05a)) * **deps:** bump claude-code 2.1.161 -> 2.1.170, claude-code-action v1.0.135 -> v1.0.142 ([#55](#55)) ([88a5ab0](88a5ab0)) * **deps:** bump claude-code 2.1.170 -> 2.1.177, claude-code-action v1.0.142 -> v1.0.150 ([#58](#58)) ([277e2b6](277e2b6)) * **deps:** bump claude-code 2.1.177 -> 2.1.197, claude-code-action v1.0.161 -> v1.0.165 ([#68](#68)) ([b4477d2](b4477d2)) * **deps:** bump claude-code 2.1.197 -> 2.1.201 ([#69](#69)) ([4f033e1](4f033e1)) * **deps:** bump claude-code 2.1.201 -> 2.1.238 ([#104](#104)) ([15f0b7d](15f0b7d)) * **deps:** bump claude-code 2.1.238 -> 2.1.245 ([#109](#109)) ([5097249](5097249)) * **deps:** bump claude-code-action v1.0.150 -> v1.0.152 ([#61](#61)) ([5258fe0](5258fe0)) * **deps:** bump claude-code-action v1.0.165 -> v1.0.169 ([#79](#79)) ([f5860e5](f5860e5)) * **deps:** bump codex 0.133.0 -> 0.135.0 ([#47](#47)) ([498692f](498692f)) * **deps:** bump docker/login-action to v4.5.2 ([d5bca0a](d5bca0a)) * **deps:** bump infer CLI v0.117.0 -> v0.117.1, infer-action v0.9.1 -> v0.11.1 ([#41](#41)) ([84c3a69](84c3a69)) * **deps:** bump infer CLI v0.117.1 -> v0.119.0, infer-action v0.11.2 -> v0.11.4 ([#48](#48)) ([bd98061](bd98061)) * **deps:** bump infer CLI v0.119.0 -> v0.120.0, infer-action v0.11.4 -> v0.11.6 ([#49](#49)) ([8c6d68a](8c6d68a)) * **deps:** bump infer CLI v0.120.0 -> v0.120.1, infer-action v0.11.6 -> v0.11.7 ([#50](#50)) ([2a4d338](2a4d338)) * **deps:** bump infer CLI v0.120.1 -> v0.121.0 ([#52](#52)) ([c5b91ca](c5b91ca)) * **deps:** bump infer CLI v0.121.0 -> v0.121.1, infer-action v0.12.1 -> v0.13.1 ([#56](#56)) ([72c4a5a](72c4a5a)) * **deps:** bump infer CLI v0.121.1 -> v0.122.2, infer-action v0.15.1 -> v0.15.4 ([#63](#63)) ([170ced9](170ced9)) * **deps:** bump infer CLI v0.122.2 -> v0.125.0, infer-action v0.17.2 -> v0.19.1 ([#65](#65)) ([bd06732](bd06732)) * **deps:** bump infer CLI v0.125.0 -> v0.130.1, infer-action v0.19.1 -> v0.23.1 ([#67](#67)) ([a02aaca](a02aaca)) * **deps:** bump infer CLI v0.130.1 -> v0.133.0, infer-action v0.23.1 -> v0.26.0 ([#70](#70)) ([9e362fc](9e362fc)) * **deps:** bump infer CLI v0.133.0 -> v0.133.1, infer-action v0.26.0 -> v0.27.1 ([#71](#71)) ([30dea26](30dea26)) * **deps:** bump infer CLI v0.133.1 -> v0.137.0, infer-action v0.27.1 -> v0.29.0 ([#72](#72)) ([aaf9a88](aaf9a88)) * **deps:** bump infer CLI v0.137.0 -> v0.138.0, infer-action v0.29.0 -> v0.30.1 ([#75](#75)) ([c51229c](c51229c)) * **deps:** bump infer CLI v0.138.0 -> v0.141.0 ([#81](#81)) ([6ab2ce8](6ab2ce8)) * **deps:** bump infer CLI v0.141.0 -> v0.147.1 ([#84](#84)) ([b8c4c7f](b8c4c7f)) * **deps:** bump infer CLI v0.147.1 -> v0.153.1 ([#90](#90)) ([1ef628e](1ef628e)) * **deps:** bump infer CLI v0.153.1 -> v0.155.0 ([#95](#95)) ([4153f35](4153f35)) * **deps:** bump infer CLI v0.155.0 -> v0.164.0 ([#100](#100)) ([18bef7c](18bef7c)) * **deps:** bump infer CLI v0.164.0 -> v0.183.0 ([#106](#106)) ([ea73aff](ea73aff)) * **deps:** bump infer-action v0.11.1 -> v0.11.2 ([#45](#45)) ([fd22bc4](fd22bc4)) * **deps:** bump infer-action v0.11.7 -> v0.12.1 ([#53](#53)) ([d2774ba](d2774ba)) * **deps:** bump infer-action v0.13.1 -> v0.15.1 ([#60](#60)) ([d7a3ac0](d7a3ac0)) * **deps:** update goreleaser-action version to v2.16.0 ([8177545](8177545)) * **deps:** update schema version to 1.13.0 and bump codex version to ^0.139.0 in manifest files ([39000c4](39000c4)) * **flox:** add missing manifest.lock file ([cfadec8](cfadec8)) * **infer:** remove default configs ([0690863](0690863)) * **infer:** remove default configuration ([894cc6f](894cc6f)) * **release:** update GitHub App credentials to use RELEASER_APP_ID and RELEASER_APP_PRIVATE_KEY ([fe0610c](fe0610c)) ### 🔨 Miscellaneous * **deps:** bump actions/setup-node in the github-actions group ([#83](#83)) ([1764f19](1764f19)) * **deps:** bump docker/login-action in the github-actions group ([#99](#99)) ([dec2017](dec2017)) * **deps:** bump docker/setup-buildx-action in the github-actions group ([#103](#103)) ([84d1e8f](84d1e8f)) * **deps:** bump github.com/inference-gateway/adk in the gomod group ([#101](#101)) ([175173e](175173e)) * **deps:** bump github.com/inference-gateway/adk in the gomod group ([#102](#102)) ([12b9af6](12b9af6)) * **deps:** bump github.com/inference-gateway/adk in the gomod group ([#108](#108)) ([6ff5202](6ff5202)) * **deps:** bump github.com/inference-gateway/adk in the gomod group ([#73](#73)) ([8ce9f5c](8ce9f5c)) * **deps:** bump github.com/inference-gateway/adk in the gomod group ([#82](#82)) ([90c4f8d](90c4f8d)) * **deps:** bump github.com/inference-gateway/adk in the gomod group ([#85](#85)) ([e507ed6](e507ed6)) * **deps:** bump github.com/inference-gateway/adk in the gomod group ([#94](#94)) ([8210adb](8210adb)) * **deps:** bump github.com/inference-gateway/adk in the gomod group ([#98](#98)) ([95f5751](95f5751)) * **deps:** bump the github-actions group across 1 directory with 2 updates ([#46](#46)) ([a0c68f0](a0c68f0)) * **deps:** bump the github-actions group with 2 updates ([#86](#86)) ([4ab1300](4ab1300)) * **deps:** bump the github-actions group with 3 updates ([#64](#64)) ([6be26e7](6be26e7)) * **deps:** bump the github-actions group with 3 updates ([#74](#74)) ([6653125](6653125)) * **deps:** bump the github-actions group with 5 updates ([#66](#66)) ([c571f4b](c571f4b))
|
🎉 This PR is included in version 0.10.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Resolves #87
Summary
Adds multi-session support to the interactive chat TUI, allowing users to browse artifacts/tasks from multiple A2A sessions in parallel. Each session maintains its own context ID, task state, and conversation history, with no state bleeding between sessions.
Changes
sessionStatestruct to hold per-session state (contextID, lastTaskID, lastState, lines, agentBuf, replyIdx)sessionsmap andactiveSessionfield to the interactive modelsaveSession()andloadSession()methods for persisting/restoring session state/sessionscommand to list all sessions (active marked with*)/session <id>command to switch to a different session/newcommand to create a new session with a fresh context ID