Skip to content

Persistent terminals: discover the service and shut its terminals down in one call #848

Closed

Description

@Blind-Striker

What

One call that discovers the local background service and, when one is running, shuts down its persistent terminals, as upstream's CLI does on uninstall.

Upstream at the pin (v2.3.0)

packages/cli/src/services/server-connection.ts:80, shutdownPersistentPty: it discovers the service and shuts down its persistent-terminal daemon. packages/cli/src/commands/handlers/uninstall.ts:64 calls it.

The SDK today

The pieces are public (DiscoverAsync, CreateClient and the persistent-terminal shutdown), but nothing composes them. The internal shutdown takes only an already-known registration.

Done when

  • A public call composes them with upstream's semantics: no service means nothing to do.
  • Tests cover a running service and an absent one.

Activity

  1. added this to the 1.2.0 milestone on Nov 14, 2026
  2. added
    enhancement
    on Nov 14, 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

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions