Skip to content

[Feature]: ocx logs has no --conversationId even though GET /api/logs already filters on it #2704

Closed

Description

@lidge-jun

Area

CLI logs

What are you trying to accomplish?

Filter ocx logs by conversationId the way the dashboard and GET /api/logs already can.

Current state

GET /api/logs accepts conversationId (src/server/request-log.ts filterRequestLogs). GUI uses it.

ocx observe logs / ocx logs flags are --provider --model --status --limit --follow only (src/cli/observe.ts). --model is sent in the query but the server filter does not apply model. Human formatLog is time/status/route/duration only.

Proposed

Add --conversation . Optionally actually honor --model server-side.

Version

2.33.0

Activity

  1. added
    enhancement
    cli
    on Aug 26, 2026
  2. lidge-jun commented on Aug 26, 2026

    @lidge-jun
    OwnerAuthor

    리뷰 · 우선순위 54 / 80

    설명

    이 이슈는 GET /api/logs 가 이미 conversationId 로 필터하는데 ocx logs / ocx observe logs 에 해당 플래그가 없다는 기능 갭입니다. 대시보드와 같은 대화 단위 추적을 터미널에서도 하고 싶다는 요청입니다. 부수적으로 CLI 가 보내는 --model 은 서버 필터가 적용하지 않는다고도 적습니다.

    current dev 에서 filterRequestLogs(src/server/request-log.ts 1025-1035줄) 는 provider/status/conversationId|conversation/limit 을 처리하고 model 파라미터는 없습니다. src/cli/observe.ts 는 --provider/--model/--status/--limit/--follow 만 파싱합니다. GUI 는 conversationId 를 이미 씁니다. human formatLog 는 time/status/route/duration 중심입니다.

    작은 CLI 패리티 작업입니다. --model 서버 지원은 별 이슈/커밋으로 나누는 편이 안전합니다. types.ts/config.ts 분할로 닫을 대상이 아닙니다. 미리보기 배포는 계획에 없습니다.

    src/cli/observe.ts:17 - USAGE 에 --conversation 이 없습니다
    src/cli/observe.ts:60 - 파서가 conversationId 를 읽지 않습니다
    src/server/request-log.ts:1032 - 서버는 conversationId/conversation 필터를 이미 지원합니다
    src/server/request-log.ts:1025 - model 쿼리 필터는 없습니다
    경로/심볼 - human formatLog 는 time/status/route/duration 중심입니다

    메인테이너의 판단이 필요한 지점

    • 플래그 이름을 --conversation 으로 할지 --conversationId 로 할지 정해야 합니다
    • --model 서버 필터를 같은 PR 에 넣을지 후속으로 미룰지 정해야 합니다
    • follow 모드에서도 conversation 필터를 유지할지 정해야 합니다

    너의 추천

    열어 두세요. CLI 에 --conversation 을 추가해 기존 쿼리 파라미터로 넘기는 작은 PR 을 권합니다. --model 서버 지원은 별도 티켓이 낫습니다. 미리보기 배포는 계획에 없습니다.

    이 댓글은 grok-bot이 작성했습니다

  3. added a commit that references this issue on Aug 28, 2026
    b68edc0
  4. added a commit that references this issue on Sep 14, 2026
    ab09556
  5. added a commit that references this issue on Sep 17, 2026
    f7a4b2f
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

    clienhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions