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

johnandersen777.bsky.social/atlibs-knotless

0
0
main
39 lines · 1.4 KB Raw History
{
	"name": "knotless",
	"description": "Create knotless repositories and commit to them without a checkout: git kept as dev.knotless.* records in your atproto account.",
	"session": "knotless",
	"actions": [
		{
			"entry": "create_repo",
			"label": "Create repository",
			"description": "A public repository with no branches until its first commit.",
			"fields": [
				{ "key": "name", "label": "Name" },
				{ "key": "description", "label": "Description" },
				{ "key": "defaultBranch", "label": "Default branch (main)" }
			]
		},
		{
			"entry": "commit",
			"label": "Commit",
			"description": "changes: a JSON list of {path, content}, {path, patch} (a unified diff of that file) or {path, delete: true}, each optionally with executable. A new branch starts from parent, else the default branch.",
			"fields": [
				{ "key": "name", "label": "Repository" },
				{ "key": "branch", "label": "Branch" },
				{ "key": "parent", "label": "Parent branch (for a new branch)" },
				{ "key": "message", "label": "Message" },
				{ "key": "author", "label": "Author (Name <email>)" },
				{ "key": "changes", "label": "Changes (JSON)", "type": "array" }
			]
		}
	],
	"calls": [
		"com.atproto.repo.getRecord",
		"com.atproto.repo.listRecords",
		"com.atproto.repo.createRecord",
		"com.atproto.repo.applyWrites",
		"com.atproto.repo.uploadBlob",
		"com.atproto.sync.getBlob"
	],
	"anyRecords": ["dev.knotless.ref"]
}