@vibeflow-tools/cli 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,60 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2929354: Add a `vibeflow watch` command that watches the local task store and prints full ticket details whenever a task is newly created or moved back to `todo`.
8
+
9
+ Also includes several hardening and consistency fixes:
10
+
11
+ - tRPC task-ID inputs now enforce the 30-char hex shape, matching the REST API's `isValidTaskId` guard and blocking path-traversal IDs in file/comment endpoints.
12
+ - `tasks --edit` now resolves a unique partial task-ID prefix to the full ID, consistent with `--get` and `--commit`.
13
+ - The login push preview now handles legacy flat `.json` task files in addition to date-based subdirectories.
14
+
15
+ - 98ea6a6: Remove the experimental agent-run feature and its supporting packages.
16
+
17
+ - Delete the `opencode-telegram-bridge` package.
18
+ - Remove the agent-run API endpoints (`/api/agent/run`, `/api/agent/stop`, `/api/agent/agents`, `/api/agent/models`) and the `models` tRPC procedure from the CLI server.
19
+ - Remove the Agent tab, model/agent pickers, agent queue panel, and multi-select (long-press) mode from the kanban UI.
20
+ - Remove agent/model-related settings keys (`defaultModel`, `perTypeModels`, `defaultModelBug/Research/Task`, `defaultAgent`, `experimentalAgents`).
21
+ - Remove `AgentStatus`/`AgentRun` types and the `getModels`/`getAgents` API methods from `@vibeflow-tools/ui`.
22
+
23
+ ### Patch Changes
24
+
25
+ - c4b85d4: Add next_actions hints to mutation command JSON output
26
+
27
+ - `tasks --add`: returns next_actions with hints to set status and add description
28
+ - `tasks --next`: returns next_actions with implementation workflow hints
29
+ - `tasks --edit --set-status`: returns context-appropriate next_actions
30
+ - `tasks --commit`: returns next_actions to set review status
31
+
32
+ Human-readable output shows concise → Next: hint lines.
33
+
34
+ - 7c49b56: Add semantic exit codes to the CLI. Instead of always exiting with code 1, the CLI now uses purpose-specific codes: 2 for usage/argument errors, 3 for not-found, 4 for auth failures, and 5 for conflicts. Exit code 1 is reserved for general/unexpected errors.
35
+ - b03bdc7: Add --dry-run, --fields, and structured JSON error output for agent-friendly CLI
36
+ - 9b600ac: Fix the file-upload endpoint documented in `vibeflow --help` and used by the legacy kanban template: the correct route is `POST /api/tasks/<id>/files/<filename>` (path segment), not `?filename=` (query parameter).
37
+
38
+ Also document the `vibeflow watch` command and `vibeflow tasks --next` in the CLI help quick reference and README.
39
+
40
+ - 4a2d8c0: Harden REST API input validation for comments and file uploads to match tRPC validation: add `isValidCommentId` (16-char hex) for all comment endpoints, `isValidFilename` rejecting traversal/control chars for file endpoints, and whitespace-only rejection on comment text.
41
+ - d402441: Harden watch command error handling and tRPC input validation
42
+
43
+ ## 0.9.1
44
+
45
+ ### Patch Changes
46
+
47
+ - 141638a: fix(cli): align tRPC/REST semantics, add router tests, and harden agent API
48
+
49
+ - tRPC `tasks` and `searchTasks` now count only non-deleted comments and read file counts from task metadata instead of the filesystem.
50
+ - tRPC `updateTask` now accepts `tags`, `sortKey`, and `branchName` like the REST endpoint.
51
+ - Removed an unused `pageScope` parameter from tRPC `searchTasks`.
52
+ - Kanban multi-select agent runs now use the task/model or configured default model instead of a hardcoded value.
53
+ - WebSocket task upserts now filter deleted comments when computing `commentCount`.
54
+ - Added unit tests for the tRPC router and API validation helpers.
55
+ - Validated task IDs, model names, and agent names in the agent run/stop APIs to prevent option injection.
56
+ - Increased Vitest timeouts to keep the pre-commit suite stable under load.
57
+
3
58
  ## 0.9.0
4
59
 
5
60
  ### Minor Changes