Discovery + search verbs: integrations, github/slack/linear/sentry, session search/steps, config create#26
Merged
Merged
Conversation
…ry, session search/steps, config create
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.
Adds the discovery + search verbs over the /v1 surface that merged in ellipsis-dev/ellipsis#5623.
New commands
agent integrations(GET /v1/integrations): INTEGRATION / STATUS / DETAILS table across github, slack, linear, jira, sentry.agent github repos/agent github members(GET /v1/github/repos, /v1/github/members): members shows the linked Slack user id when a link row exists.agent slack channels/agent slack members(GET /v1/slack/channels, /v1/slack/members): a 404 maps to a friendly "Slack is not connected" error; members shows the linked GitHub login.agent linear teams(GET /v1/linear/teams, same 404 mapping) andagent sentry orgs(GET /v1/sentry/organizations; empty list, never 404).agent session search <query>(GET /v1/sessions/search): four-arm search (steps / recap / pr / similar), one block per result session with author, age, matched arms, and the best snippet. Flags:--author(login resolved via /v1/github/members; unknown logins error with the known roster),--agent,--source,--repo,--status,--scope,--session,--since/--until(ISO or "today" / "yesterday" / "N days ago"),--limit. PR-shaped queries are documented in--help.agent session steps <sessionId>(GET /v1/sessions/{id}/steps): chronological one-line-per-step transcript;--jsonfor full payloads.agent session list --author <login>: same resolver, passesauthor_id.agent config create --repo <name> (--file <path> | --template <slug>) [--path ...](POST /v1/configs): prints the created PR URL.Notes
--json; no em/en dashes in new user-facing strings.Testing
tsc --noEmitand tsup build clean.--authorresolution and its unknown-login error.