Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 20 additions & 13 deletions src/copilot-persistence/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Copilot CLI Persistence Feature

This devcontainer feature persists GitHub Copilot CLI settings and chat history across container rebuilds.
# Copilot CLI Persistence (copilot-persistence)

Persists GitHub Copilot CLI settings and chat history across rebuilds

## Example Usage

```json
"features": {
"ghcr.io/rosstaco/devcontainer-features/copilot-persistence:1": {}
}
```



## How It Works

Expand All @@ -10,24 +21,15 @@ Inspired by the [shell-history pattern](https://github.com/stuartleeks/dev-conta
2. **Creates a symlink** from `~/.copilot` → `/copilot-data`
3. **Sets ownership** to the container user during installation (auto-detects from `$_REMOTE_USER`)

> **Note:** If `~/.copilot` already exists as a directory during installation, it is moved into the volume at `/copilot-data/migrated-<timestamp>/` before the symlink is created.

## What Persists

- ✅ Chat history and sessions
- ✅ CLI configuration (model preferences, settings)
- ✅ Command history
- ✅ Trusted folders

## Usage

```json
{
"features": {
"ghcr.io/devcontainers/features/copilot-cli:1": {},
"ghcr.io/rosstaco/devcontainer-features/copilot-persistence:1": {}
}
}
```

## Troubleshooting

View the volume data:
Expand All @@ -39,3 +41,8 @@ Check the symlink:
```bash
ls -la ~/.copilot
```


---

_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/rosstaco/devcontainer-features/blob/main/src/copilot-persistence/devcontainer-feature.json). Add additional notes to a `NOTES.md`._
13 changes: 0 additions & 13 deletions src/prompty-dumpty/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,7 @@ Installs prompty-dumpty CLI tool for managing prompty files
|-----|-----|-----|-----|
| version | Version of prompty-dumpty to install. Use 'latest' or a specific version like '0.6.2' | string | latest |

## Usage

After installation, the `dumpty` command will be available:

```bash
dumpty --help
dumpty --version
```

## Notes

This feature installs prompty-dumpty system-wide using pip3 with the `--break-system-packages` flag, which is appropriate for containerized development environments. Python 3 is assumed to be present in the base image.

For more information about prompty-dumpty, visit: https://pypi.org/project/prompty-dumpty/

---

Expand Down