feat(form): owner filter, form owners picker, and org-wide list visibility#67
Merged
Conversation
The API deprecated `available_on_list_view` — form list is now org-wide for all members. Updated CLI help text, api_client docstring, and the vendored forms skill doc to reflect that capabilities are governed by each form's permissions, not a per-form list-view toggle. Co-authored-by: Cursor <cursoragent@cursor.com>
…e to owner_user_ids - Added repeatable --owner flag to `form list` (UUID, email, or name) that sends `owner_user_ids` to the API - Migrated --mine from deprecated `owner=me` to `owner_user_ids` with the caller's resolved UUID - Added `form owners` subcommand (GET /v1/forms/form-owners/) for discovering which org members own forms - Added `list_form_owners` and `owner_user_ids` param to API client - Added error codes: invalid_owner_user_id, too_many_owner_user_ids - Marked `--filter me` as deprecated in help text - Updated vendored skill docs with new flags and picker - 6 new tests (913 total pass) Co-authored-by: Cursor <cursoragent@cursor.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--ownerfilter onform list— repeatable, accepts UUID / email / name, sendsowner_user_idsto the API. Max 50.--minemigrated from deprecatedowner=metoowner_user_idswith the caller's resolved UUIDform ownerssubcommand — lightweight picker for org members who own at least one form (GET /v1/forms/form-owners/)--filter medeprecated in help text (still accepted server-side)available_on_list_view)invalid_owner_user_id,too_many_owner_user_ids.agents/skills/dailybot/forms/SKILL.mdContext
Backend changes:
owner_user_idsfilter andform-owners/picker onGET /v1/forms/.available_on_list_viewdeprecated server-side.filter=medeprecated.Test plan
dailybot form list --owner <uuid>returns only their formsdailybot form ownersreturns owners with at least one formdailybot form list --mineworks with owner_user_ids