opencode-provider-switch/.trellis/tasks/04-17-forwarding-log-viewer-gui/task.json
apale7 cf3dcec399 refactor(cli): rename tool to ocswitch
Avoid collision with the existing Opswitch product while keeping the repository name as opencode-provider-switch.

This aligns the CLI, provider key, config paths, examples, and Trellis history under one public-facing name.
2026-04-17 21:43:21 +08:00

74 lines
1.7 KiB
JSON

{
"id": "forwarding-log-viewer-gui",
"name": "forwarding-log-viewer-gui",
"title": "Design forwarding log viewer GUI for ocswitch",
"description": "Define a minimal local web UI and request logging design for ocswitch forwarding operations, including provider/model visibility, token usage, and failover display.",
"status": "completed",
"dev_type": "docs",
"scope": "observability",
"package": null,
"priority": "P2",
"creator": "Apale",
"assignee": "Apale",
"createdAt": "2026-04-17",
"completedAt": "2026-04-17",
"branch": null,
"base_branch": "master",
"worktree_path": null,
"current_phase": 0,
"next_action": [
{
"phase": 1,
"action": "brainstorm"
},
{
"phase": 2,
"action": "research"
},
{
"phase": 3,
"action": "implement"
},
{
"phase": 4,
"action": "check"
},
{
"phase": 5,
"action": "update-spec"
},
{
"phase": 6,
"action": "record-session"
}
],
"commit": null,
"pr_url": null,
"subtasks": [],
"children": [],
"parent": null,
"relatedFiles": [
".trellis/tasks/04-17-forwarding-log-viewer-gui/prd.md",
"internal/proxy/server.go",
"internal/proxy/server_test.go",
"internal/cli/serve.go",
"README.md"
],
"notes": "Design-only task completed. The PRD recommends a same-process local web viewer with append-only JSONL request logs and no new frontend build system.",
"meta": {
"recommendedSurface": "local-web-ui",
"protocolScope": [
"openai-responses"
],
"storageRecommendation": "jsonl-next-to-config",
"mustShow": [
"provider",
"remote-model",
"input-tokens",
"output-tokens",
"total-tokens",
"failover"
]
}
}