Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

github changedmanaged-agents/github

Nearest release: v2.1.239, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+10added
Lines−4removed
From line 389 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits20to this page, all time

The whole hunk

from line 389, old and new numbered
/
lines
from line 389
389389 ```
390390</CodeGroup>
391391 
392The `resources[].authorization_token` authenticates the repository clone operation and is not echoed in API responses.
392A `github_repository` resource accepts the following fields:
393393 
394| Field | Description |
395| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
396| `type` | Required. Must be `"github_repository"`. |
397| `url` | Required. The repository's HTTPS URL in the form `https://github.com/<owner>/<repo>`, without a `.git` suffix. Other forms, including SSH URLs, are rejected with an `invalid_request_error`. |
398| `authorization_token` | Required. The GitHub token used to clone the repository. It is not echoed in API responses. See [Token permissions](https://platform.claude.com/docs/en/managed-agents/github#token-permissions). |
399| `mount_path` | Optional. The directory under `/workspace` to clone the repository into. Defaults to `/workspace/<repo-name>`. |
400| `checkout` | Optional. A branch (`{"type": "branch", "name": "main"}`) or commit (`{"type": "commit", "sha": "..."}`) to check out. Defaults to the repository's default branch. |
401 
394402Mounting a repository also loads any skills stored in its root `.claude/skills` directory. Skills are discovered once per session, from the repository state checked out at session start. See [Load skills from a GitHub repository](https://platform.claude.com/docs/en/managed-agents/skills#load-skills-from-a-github-repository).
395403 
396404## Token permissions
from line 753
745753 ```
746754 
747755 ```bash CLI
748 ant beta:sessions:events send \
749 --session-id "$SESSION_ID" \
750 > /dev/null <<'EOF'
756 ant beta:sessions:events send --session-id "$SESSION_ID" > /dev/null <<'EOF'
751757 events:
752758 - type: user.message
753759 content:
Feedback