Files
temp/examples/resource-types/git-checkout.yaml
T
2026-02-15 10:44:14 -05:00

32 lines
717 B
YAML

schema_version: "1.0"
name: git-checkout
description: "A local git repository checkout"
resource_kind: physical
sandbox_strategy: git_worktree
user_addable: true
built_in: true
cli_args:
- name: path
type: path
required: true
description: "Path to the local git repository"
- name: branch
type: string
required: false
description: "Branch to checkout (default: current)"
parent_types: []
child_types: ["fs-directory", "fs-file"]
auto_discovery:
enabled: true
rules:
- type: fs-directory
pattern: "**/"
- type: fs-file
pattern: "**/*"
capabilities:
read: true
write: true
sandbox: true
checkpoint: true
handler: "cleveragents.resource.handlers.git_checkout"