Available on crate feature
managed-agents-preview only.Expand description
Session resources: file / github_repository / memory_store mounts.
Resources are attached to a session at creation time (via
CreateSessionRequest::resources)
or added afterwards via the Resources sub-namespace. Each
resource has a server-assigned ID (sesrsc_...) used for update
and delete operations.
Three known resource kinds are typed below; an unknown kind on the
wire deserializes into SessionResource::Other preserving the
raw JSON.
Structs§
- File
Resource type: "file"resource.- GitHub
Repository Resource type: "github_repository"resource.- Memory
Store Resource type: "memory_store"resource.- Resources
- Namespace handle for resource operations on a single session.
- Update
Resource Request - Patch for an existing session resource. Currently only the
github_repository’sauthorization_tokenis mutable.
Enums§
- Memory
Store Access - Access mode for a
MemoryStoreResource. - Repository
Checkout - What ref to check out for a
GitHubRepositoryResource. Tagged union of branch (by name) or commit (by SHA). - Session
Resource - One resource mounted into a session container.