mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-20 21:02:05 +00:00
move pi-mono into companion-cloud as apps/companion-os
- Copy all pi-mono source into apps/companion-os/ - Update Dockerfile to COPY pre-built binary instead of downloading from GitHub Releases - Update deploy-staging.yml to build pi from source (bun compile) before Docker build - Add apps/companion-os/** to path triggers - No more cross-repo dispatch needed Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
0250f72976
579 changed files with 206942 additions and 0 deletions
74
packages/pi-memory-md/skills/memory-sync/SKILL.md
Normal file
74
packages/pi-memory-md/skills/memory-sync/SKILL.md
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
---
|
||||
name: memory-sync
|
||||
description: Git synchronization operations for pi-memory-md repository
|
||||
---
|
||||
|
||||
# Memory Sync
|
||||
|
||||
Git synchronization for pi-memory-md repository.
|
||||
|
||||
## Configuration
|
||||
|
||||
Configure `pi-memory-md.repoUrl` in settings file (global: `~/.pi/agent/settings.json`, project: `.pi/settings.json`)
|
||||
|
||||
## Sync Operations
|
||||
|
||||
### Pull
|
||||
|
||||
Fetch latest changes from GitHub:
|
||||
|
||||
```
|
||||
memory_sync(action="pull")
|
||||
```
|
||||
|
||||
Use before starting work or switching machines.
|
||||
|
||||
### Push
|
||||
|
||||
Upload local changes to GitHub:
|
||||
|
||||
```
|
||||
memory_sync(action="push")
|
||||
```
|
||||
|
||||
Auto-commits changes before pushing.
|
||||
|
||||
**Before pushing, ALWAYS run memory_check first:**
|
||||
|
||||
```
|
||||
memory_check()
|
||||
```
|
||||
|
||||
This verifies that the folder structure is correct (e.g., files are in `core/project/` not in a root `project/` folder).
|
||||
|
||||
### Status
|
||||
|
||||
Check uncommitted changes:
|
||||
|
||||
```
|
||||
memory_sync(action="status")
|
||||
```
|
||||
|
||||
Shows modified/added/deleted files.
|
||||
|
||||
## Typical Workflow
|
||||
|
||||
| Action | Command |
|
||||
| -------------- | ------------------------------ |
|
||||
| Get updates | `memory_sync(action="pull")` |
|
||||
| Check changes | `memory_sync(action="status")` |
|
||||
| Upload changes | `memory_sync(action="push")` |
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
| Error | Solution |
|
||||
| ----------------- | --------------------------------------- |
|
||||
| Non-fast-forward | Pull first, then push |
|
||||
| Conflicts | Manual resolution via bash git commands |
|
||||
| Not a git repo | Run `memory_init(force=true)` |
|
||||
| Permission denied | Check SSH keys or repo URL |
|
||||
|
||||
## Related Skills
|
||||
|
||||
- `memory-management` - Read and write files
|
||||
- `memory-init` - Setup repository
|
||||
Loading…
Add table
Add a link
Reference in a new issue