schema_version: "1.0"
name: fs-directory
description: "A filesystem directory"
resource_kind: physical
sandbox_strategy: copy_on_write
user_addable: true
built_in: true
cli_args:
  - name: path
    type: path
    required: true
    description: "Path to the directory"
parent_types: ["git-checkout", "fs-directory"]
child_types: ["fs-directory", "fs-file", "fs-symlink", "fs-hardlink", "devcontainer-instance", "devcontainer-file"]
auto_discovery:
  enabled: true
  scan_depth: 1
  rules:
    - type: fs-directory
      pattern: "*/"
    - type: fs-file
      pattern: "*"
    - type: fs-symlink
      pattern: "symlink:*"
    - type: fs-hardlink
      pattern: "hardlink:*"
capabilities:
  read: true
  write: true
  sandbox: true
  checkpoint: false
handler: "cleveragents.resource.handlers.fs_directory:FsDirectoryHandler"
