- Move agent-manager from packages/opencode/ to src/kilocode/ - Add Gitea client for pipeline logging - Add pipeline-runner for workflow orchestration - Create slash commands: /pipeline, /status, /evaluate - Update AGENTS.md with workflow documentation - Update README.md with KiloCode integration details - Add package.json and tsconfig.json for TypeScript compilation - Remove duplicate files from packages/opencode/ This enables: - /pipeline <issue> - run full agent pipeline with Gitea logging - Direct agent invocation via @mention - Performance tracking and prompt optimization
23 lines
860 B
Bash
Executable File
23 lines
860 B
Bash
Executable File
#!/bin/bash
|
|
# Cleanup script to remove duplicate files in packages/opencode
|
|
# The agent-manager code is now integrated into src/kilocode/
|
|
# Run with: sudo ./cleanup-packages.sh
|
|
|
|
echo "Removing duplicate files from packages/opencode..."
|
|
|
|
# Remove the old location (files are now in src/kilocode/agent-manager/)
|
|
rm -rf /opt/Projects/APAW/packages/opencode/src/kilocode/
|
|
|
|
# Remove empty directories
|
|
rmdir /opt/Projects/APAW/packages/opencode/src/ 2>/dev/null || true
|
|
rmdir /opt/Projects/APAW/packages/opencode/ 2>/dev/null || true
|
|
rmdir /opt/Projects/APAW/packages/ 2>/dev/null || true
|
|
|
|
echo "Cleanup complete!"
|
|
echo ""
|
|
echo "Agent manager is now located at:"
|
|
echo " src/kilocode/agent-manager/ - Core modules"
|
|
echo " src/kilocode/index.ts - Entry point"
|
|
echo ""
|
|
echo "Usage:"
|
|
echo " import { PipelineRunner, GiteaClient } from './src/kilocode/index.js'" |