Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: block/agent-task-queue
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.0
Choose a base ref
...
head repository: block/agent-task-queue
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.0
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Jan 30, 2026

  1. Add --json flag to tq CLI for programmatic queue inspection (#9)

    * Add --json flag to tq CLI for programmatic queue inspection
    
    Enable agents and status lines to read task queue state by adding
    structured JSON output to list, logs, and clear commands. The command
    field is now stored in the queue table and included in JSON output,
    allowing consumers to see what's actually running (e.g., "./gradlew build").
    
    Changes:
    - Add --json flag to tq list, logs, and clear subcommands
    - Add command column to queue schema with migration for existing DBs
    - Add TestJsonSchemaContracts test class to enforce JSON structure stability
    - JSON mode for clear skips interactive confirmation (implies --force)
    
    * Address PR review feedback
    
    - Fix --json help text: say "skip confirmation" instead of "implies --force"
    - Fix test_list_json_empty_queue to actually test DB-exists-but-empty case
    himattm authored Jan 30, 2026
    Configuration menu
    Copy the full SHA
    22cfe41 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    165fb8b View commit details
    Browse the repository at this point in the history
Loading