Add the coreapp skill; fix /data ownership; deploy --recreate, shell <cmd>
skills/coreapp/SKILL.md teaches a Claude Code agent to make or port an app for Federated Core: coreapp.toml, the needs, porting an existing app, the deploy and test loop, troubleshooting, what isn't supported yet and how to report back. update.sh links it into ~/.claude/skills/coreapp; uninstall.sh removes the link. Rehearsed with a small app (memo-board) ported by a fresh agent using only the skill. The installer now gives /data to the image's user before starting the container: Docker created it as root, so non-root apps couldn't write. coreapp deploy --recreate always starts a new container (to test that data survives); coreapp shell '<command>' runs one command without a terminal. PLAN.md: what would change on the Core to put the installer in /federated/bin/coreapps/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,6 +55,10 @@ if [ ${#vms[@]} -gt 0 ]; then
|
||||
fi
|
||||
|
||||
rm -f "$HOME/.local/bin/coreapp-vm" "$HOME/.local/bin/coreapp"
|
||||
# The skill's link, if it's ours
|
||||
if [[ "$(readlink "$HOME/.claude/skills/coreapp" 2> /dev/null)" == */skills/coreapp ]]; then
|
||||
rm -f "$HOME/.claude/skills/coreapp"
|
||||
fi
|
||||
|
||||
if command -v virsh > /dev/null && v net-info "$NETWORK" &> /dev/null; then
|
||||
echo "Removing coreapp-dev's VM network..."
|
||||
|
||||
Reference in New Issue
Block a user