~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/knotless

git that lives in your Atmosphere account

Forked from chadtmiller.com/knotless

0
0
168 lines · 11.8 KB Raw History

Actions

Everything someone can do with knotless, and where: the knotless command, the MCP tool, the XRPC method knotless-serve answers for it, and the web page. The three surfaces call the same code in the knotless crate, so an action does the same wherever it is done. A command knotless <group> <action> and its tool <group>_<action> are twins, so the tool column repeats the command in snake case and shows only where the two differ in what they take. "–" marks where one is missing.

The XRPC column names the method the pages ask. The command line and the tools write most things straight into your own account on your PDS, as records, and need no method of knotless-serve's for it: a write has one only once a page makes it. <repo> is a repository's page, /<owner>/<name>.

Reading

ActionCLIMCPXRPCWeb
an account's repositoriesrepo listrepo_listgetActorRepos, listReposprofile, Repositories tab; <repo> repository switcher
an account's profile and activity––getProfile, getActorActivity, getFeedprofile, Overview and Activity tabs
what the network did––getFeedhome
find accounts by handleaccount searchaccount_searchsearchOwners/search
a repository's summary, branches and tagsrepo refsrepo_refsgetRepo, listBranches<repo>, its branch menu
a directoryrepo treerepo_treegetTree, getLastCommits<repo>/tree/…
a filerepo readrepo_readgetFile<repo>/blob/…, /raw/…
search a repository's filesrepo searchrepo_search––
historyrepo logrepo_loglistCommits<repo>/commits/…
a commitrepo log, repo diffrepo_log, repo_diffgetCommit<repo>/commit/<rev>
who last changed each linerepo blamerepo_blame––
what one revision changed since anotherrepo diff <base> <head>repo_diff––
pullspull listpull_listlistItems<repo>/pulls
issuesissue listissue_listlistItems<repo>/issues
a pull and its commentspull showpull_showgetThread<repo>/pull/…
an issue and its commentsissue showissue_showgetThread<repo>/issue/…
the diff a pull would applypull diffpull_diffgetThreadthe pull's page
the template a pull or issue followspull template, issue templatepull_template, issue_templategetTemplatethe new pull and new issue pages
checks, their logs and picturesrun listrun_listlistRuns, getCheck, getCheckImage, listChecks<repo>/checks, <repo>/check/…
the workflows at a refworkflow listworkflow_list––
the merge queuequeue listqueue_listgetQueue<repo>/queue
runner minutesrunner minutesrunner_minuteslistRunners<repo>/settings/actions
what a repository takes up on its PDSrepo storagerepo_storage––
membersrepo membersrepo_members––
protected branchesbranch rulesbranch_rules––
labelslabel listlabel_list––
triagerstriager listtriager_list––
runners and agentsrunner list, agent listrunner_list, agent_list––
secrets, by namesecret listsecret_list––
releasesrelease listrelease_list––
a file of a releaserelease readrelease_read––
an account's starsrepo starsrepo_starsgetActorStarsprofile, Stars tab
follows and followersaccount follows, account followersaccount_follows, account_followersgetFollows, getFollowersprofile, Following and Followers tabs
notificationsnotification listnotification_listlistNotifications, getUnreadCount, updateSeen/notifications

Pulls and issues

"Its page" is the pull's or issue's, <repo>/pull/… or <repo>/issue/…. Each action on an item exists under pull and issue as the item is, and a comment's under comment.

ActionCLIMCPXRPCWeb
open an issueissue createissue_createcreateIssue<repo>/issues/new
open a pullpull createpull_createcreatePull, getCompare<repo>/pulls/new
commentcomment addcomment_addcreateCommentits page
review: approve or ask for changescomment add --approve, --changescomment_add with verdictcreateComment with verdictthe pull's page
edit a title, body or commentpull edit, issue edit, comment editpull_edit, issue_edit, comment_editeditItemits page
take back a comment or reviewcomment deletecomment_deletedeleteCommentits page
close or reopenpull close, pull reopen, issue close, issue reopenpull_close, pull_reopen, issue_close, issue_reopensetItemStateits page
resolve a thread, or open it againcomment resolve [--undo]comment_resolve–the pull's page
put labels on or offpull label [--undo], issue label [--undo]pull_label, issue_labellabelItemits page
assignpull assign [--undo], issue assign [--undo]pull_assign, issue_assignassignItemits page
ask for a review, or stoppull ask-review [--undo]pull_ask_reviewassignItemits page
dismiss a reviewpull dismiss-reviewpull_dismiss_reviewdismissReviewthe pull's merge box
reactpull react, issue react, comment reactpull_react, issue_react, comment_reactaddReaction, removeReactionits page
hide or show, as ownermod hide [--undo]mod_hidehideItemits page
reportmod reportmod_reportcreateReport (the pages'), com.atproto.moderation.createReportits page, Report dialog

Landing and CI

ActionCLIMCPXRPCWeb
merge a pull nowpull mergepull_merge––
queue a pull, or take it outpull merge --queue, queue leavepull_merge with queue, queue_leave––
undo a merged pullpull revertpull_revertrevertPullthe pull's page
bring a pull's branch up to datepull update-branchpull_update_branch––
point a pull at other branchespull retargetpull_retarget––
run a pull's or a ref's checks again, or one workflowrun rerunrun_rerun––
run a workflow at a ref, with variablesrun rerun --ref --workflow -erun_rerun with env––
cancel a pull's or a ref's runs, or one workflow'srun cancelrun_cancel––
name or drop a runnerrunner add, runner removerunner_add, runner_removeinviteRunner, listRunnerInvites–
name or drop an agentagent add, agent removeagent_add, agent_remove––
give runners a secret, or take it backsecret set, secret removesecret_set, secret_remove––
publish a releaserelease publishrelease_publish––
yank a release, or take that backrelease yankrelease_yank––

Repositories

ActionCLIMCPXRPCWeb
createrepo createrepo_createcreateRepo/new
forkrepo forkrepo_forkforkRepo<repo> Fork button
change its description, links, topics, default branchrepo editrepo_edit––
renamerepo renamerepo_rename––
archive, or stoprepo archive [--undo]repo_archive––
deleterepo delete --yesrepo_delete––
offer, withdraw, accept a transferrepo transfer, repo transfer --undo, repo acceptrepo_transfer, repo_accept––
share, unsharerepo share [--undo]repo_share––
protect a branch, or stopbranch protect [--undo]branch_protect––
create, delete, rename a branchbranch create, branch delete, branch renamebranch_create, branch_delete, branch_rename––
create, delete a tagtag create, tag deletetag_create, tag_delete––
define or remove a labellabel define, label deletelabel_define, label_delete––
name or drop a triagertriager add, triager removetriager_add, triager_remove––
score a triagertriager evaltriager_eval––
commit without a checkoutrepo commitrepo_commitcreateCommit (through a gateway)–
pushgit–pushRefs (through a gateway)–
compactrepo compactrepo_compact––
star, unstarrepo star [--undo]repo_starstarRepo, unstarRepo<repo> Star button

Account

ActionCLIMCPXRPCWeb
log in, log outlogin, logout–/oauth/login, /oauth/logoutthe header
switch accounts––/oauth/switchthe header
set a profileaccount profileaccount_profile––
claim an email address, or stopaccount email add, account email removeaccount_email_add, account_email_remove––
follow, unfollowaccount follow [--undo]account_followfollowActor, unfollowActorprofile, Follow button
block, unblockmod block [--undo]mod_block––
delegate writes to a gatewayaccount delegateaccount_delegateputDelegation, getDelegation–
delete your knotless dataaccount delete-dataaccount_delete_datadeleteAccountDatasettings
choose which notifications you hear ofnotification settings, notification watch, notification subscribe, notification mutenotification_settings, notification_watch, notification_subscribe, notification_muteputSubscription/notifications, settings
choose, check and publish themestheme use, theme check, theme publish, theme delete, theme listtheme_use, theme_check, theme_publish, theme_delete, theme_list––

Appview admin

For an account the appview's KNOTLESS_ADMIN_DIDS names. The methods take its service token, or, from the site's own pages, its session there; getViewer says admin for it.

ActionCLIMCPXRPCWeb
take down, or put backadmin takedown [--undo]admin_takedowncom.atproto.admin.updateSubjectStatus/admin
whether something is taken downadmin statusadmin_statuscom.atproto.admin.getSubjectStatus/admin
the reports sentadmin reportsadmin_reportslistReports/admin
how the appview is usedadmin statsadmin_statsgetUsage/admin
what the appview loggedadmin logsadmin_logsgetLogs–

On one surface only

These belong where they are, as they act on the machine they run on:

  • login and logout keep a session on the machine; the MCP tools run as that session, and the pages keep their own. upgrade replaces the knotless binary.
  • repo mirror prints a local cache's path, workflow pin writes .knotless/uses.lock in a checkout, and release download writes a release's files to a directory.
  • git itself clones, fetches and pushes, through git-remote-knotless; repo tree, repo read and repo log are how a command or tool, with no checkout, reads what git reads locally.
  • help prints the commands.
  • registerPush and unregisterPush are the iOS app's alone: a device's token means nothing to a command or a tool.

Nothing is on the MCP alone: every tool is a command's twin.