Skip to content

t3606: Show AIDevOps version in OpenCode session titles #25227

Description

@marcusquinn

Goal: make OpenCode session lists/search expose the active aidevops version by appending an idempotent suffix to titles when aidevops renames sessions.

Files: .opencode/tool/session-rename.ts, .opencode/lib/session-title-suffix.ts, .agents/scripts/session-rename-helper.sh, .agents/scripts/tests/test-session-rename-helper.sh, .agents/scripts/tests/test-session-rename-ts.mjs, tsconfig.json.

Pattern: keep Issue/PR prefixes first, append or replace a trailing ' · AIDevOps ' suffix, and read VERSION from the repo/deployed agents path with AIDEVOPS_VERSION override for tests.

Verification: .agents/scripts/tests/test-session-rename-helper.sh; bun run .agents/scripts/tests/test-session-rename-ts.mjs; shellcheck .agents/scripts/session-rename-helper.sh .agents/scripts/tests/test-session-rename-helper.sh; npm run typecheck; .agents/scripts/linters-local.sh.

Implementation PR: #25225.

Brief Workflow

This issue body is composed under .agents/workflows/brief.md. Before implementation, ensure it contains files to modify, a reference pattern, verification commands, and concrete acceptance criteria.


aidevops.sh v3.20.100 plugin for OpenCode v1.17.8 with gpt-5.5 spent 34m and 303,208 tokens on this with the user in an interactive session.

Activity

  1. self-assigned this
    on Jun 20, 2026
  2. Repository owner locked as resolved and limited conversation to collaborators on Jun 20, 2026
  3. marcusquinn commented on Jun 20, 2026

    @marcusquinn
    OwnerAuthor

    Reopening after live verification showed OpenCode's built-in title flow calls Session.setTitle directly and does not pass through experimental.text.complete. Follow-up will patch session.updated events instead.

  4. removed their assignment
    on Nov 8, 2026
  5. added and removed
    status:in-reviewNon-draft PR ready for review/merge
    on Nov 8, 2026
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 workingorigin:interactiveCreated by interactive user sessionstatus:doneTask is completetype:enhancementAuto-created from TODO.md tag

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions