omo-suites 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +75 -0
- package/LICENSE +21 -0
- package/README.md +98 -0
- package/agents/architect.md +86 -0
- package/agents/atlas.md +59 -0
- package/agents/database-expert.md +80 -0
- package/agents/devrel.md +74 -0
- package/agents/explore.md +87 -0
- package/agents/frontend-ui-ux-engineer.md +90 -0
- package/agents/hephaestus.md +52 -0
- package/agents/image-generator.md +46 -0
- package/agents/librarian.md +71 -0
- package/agents/metis.md +74 -0
- package/agents/momus.md +82 -0
- package/agents/multimodal-looker.md +54 -0
- package/agents/oracle.md +69 -0
- package/agents/prometheus.md +71 -0
- package/agents/sisyphus.md +68 -0
- package/dist/cli/omocs.js +35228 -0
- package/dist/plugin.js +13999 -0
- package/docs/agents.md +61 -0
- package/docs/cli.md +85 -0
- package/docs/installation.md +305 -0
- package/docs/lsp.md +34 -0
- package/docs/mcp.md +42 -0
- package/docs/plugin.md +69 -0
- package/docs/profiles.md +52 -0
- package/install.sh +82 -0
- package/package.json +71 -0
package/install.sh
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
REPO="TheFahmi/omo-suites-installer"
|
|
5
|
+
INSTALL_DIR="$HOME/.omocs"
|
|
6
|
+
|
|
7
|
+
echo ""
|
|
8
|
+
echo " ╔═══════════════════════════════╗"
|
|
9
|
+
echo " ║ OMO Suites Installer ║"
|
|
10
|
+
echo " ╚═══════════════════════════════╝"
|
|
11
|
+
echo ""
|
|
12
|
+
|
|
13
|
+
# Check bun
|
|
14
|
+
if ! command -v bun &>/dev/null; then
|
|
15
|
+
echo "→ Bun not found. Installing..."
|
|
16
|
+
curl -fsSL https://bun.sh/install | bash
|
|
17
|
+
export BUN_INSTALL="$HOME/.bun"
|
|
18
|
+
export PATH="$BUN_INSTALL/bin:$PATH"
|
|
19
|
+
echo ""
|
|
20
|
+
fi
|
|
21
|
+
|
|
22
|
+
# Clone or update
|
|
23
|
+
if [ -d "$INSTALL_DIR/.git" ]; then
|
|
24
|
+
echo "→ Updating existing installation..."
|
|
25
|
+
cd "$INSTALL_DIR"
|
|
26
|
+
git pull --ff-only 2>/dev/null || {
|
|
27
|
+
echo "→ Pull failed, re-cloning..."
|
|
28
|
+
cd ..
|
|
29
|
+
rm -rf "$INSTALL_DIR"
|
|
30
|
+
git clone "https://github.com/$REPO.git" "$INSTALL_DIR"
|
|
31
|
+
cd "$INSTALL_DIR"
|
|
32
|
+
}
|
|
33
|
+
else
|
|
34
|
+
if [ -d "$INSTALL_DIR" ]; then
|
|
35
|
+
echo "→ Cleaning up old installation..."
|
|
36
|
+
rm -rf "$INSTALL_DIR"
|
|
37
|
+
fi
|
|
38
|
+
echo "→ Cloning OMO Suites..."
|
|
39
|
+
git clone "https://github.com/$REPO.git" "$INSTALL_DIR"
|
|
40
|
+
cd "$INSTALL_DIR"
|
|
41
|
+
fi
|
|
42
|
+
|
|
43
|
+
# Install deps
|
|
44
|
+
echo "→ Installing dependencies..."
|
|
45
|
+
bun install --frozen-lockfile 2>/dev/null || bun install
|
|
46
|
+
|
|
47
|
+
# Create global bin symlink
|
|
48
|
+
OMOCS_BIN="$INSTALL_DIR/bin/omocs.ts"
|
|
49
|
+
LOCAL_BIN="$HOME/.local/bin"
|
|
50
|
+
mkdir -p "$LOCAL_BIN"
|
|
51
|
+
|
|
52
|
+
cat > "$LOCAL_BIN/omocs" << SCRIPT
|
|
53
|
+
#!/bin/bash
|
|
54
|
+
exec bun run "$OMOCS_BIN" "\$@"
|
|
55
|
+
SCRIPT
|
|
56
|
+
chmod +x "$LOCAL_BIN/omocs"
|
|
57
|
+
|
|
58
|
+
# Ensure PATH
|
|
59
|
+
ADDED_PATH=false
|
|
60
|
+
for RC_FILE in "$HOME/.bashrc" "$HOME/.zshrc" "$HOME/.config/fish/config.fish"; do
|
|
61
|
+
if [ -f "$RC_FILE" ]; then
|
|
62
|
+
if ! grep -q '.local/bin' "$RC_FILE" 2>/dev/null; then
|
|
63
|
+
if [[ "$RC_FILE" == *"fish"* ]]; then
|
|
64
|
+
echo 'set -gx PATH $HOME/.local/bin $PATH' >> "$RC_FILE"
|
|
65
|
+
else
|
|
66
|
+
echo 'export PATH="$HOME/.local/bin:$PATH"' >> "$RC_FILE"
|
|
67
|
+
fi
|
|
68
|
+
ADDED_PATH=true
|
|
69
|
+
fi
|
|
70
|
+
fi
|
|
71
|
+
done
|
|
72
|
+
|
|
73
|
+
echo ""
|
|
74
|
+
echo "✅ OMO Suites installed!"
|
|
75
|
+
echo ""
|
|
76
|
+
echo " Run: omocs init"
|
|
77
|
+
echo " Help: omocs --help"
|
|
78
|
+
if [ "$ADDED_PATH" = true ]; then
|
|
79
|
+
echo ""
|
|
80
|
+
echo " ⚠ Restart your shell or run: source ~/.bashrc"
|
|
81
|
+
fi
|
|
82
|
+
echo ""
|
package/package.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "omo-suites",
|
|
3
|
+
"version": "1.5.0",
|
|
4
|
+
"description": "OMO Suites — OpenCode plugin + CLI toolkit. Multi-model orchestration, profiles, agent routing, MCP/LSP management.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/plugin.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/plugin.js"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"bin": {
|
|
13
|
+
"omocs": "dist/cli/omocs.js"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE",
|
|
19
|
+
"CHANGELOG.md",
|
|
20
|
+
"docs/",
|
|
21
|
+
"agents/",
|
|
22
|
+
"install.sh"
|
|
23
|
+
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"start": "bun run bin/omocs.ts",
|
|
26
|
+
"dev": "bun run --watch bin/omocs.ts",
|
|
27
|
+
"build": "bun build src/plugin.ts --outdir dist --target bun --format esm",
|
|
28
|
+
"build:cli": "bun build bin/omocs.ts --outdir dist/cli --target node --format esm && sed -i '1s|#!/usr/bin/env bun|#!/usr/bin/env node|' dist/cli/omocs.js",
|
|
29
|
+
"build:all": "npm run build && npm run build:cli",
|
|
30
|
+
"prepublishOnly": "npm run build:all",
|
|
31
|
+
"launchboard": "cd packages/launchboard && bun run start",
|
|
32
|
+
"launchboard:dev": "cd packages/launchboard && bun run dev",
|
|
33
|
+
"launchboard:setup": "cd packages/launchboard && bash setup.sh"
|
|
34
|
+
},
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">=18"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@opencode-ai/plugin": "^1.2.20",
|
|
40
|
+
"boxen": "^8.0.0",
|
|
41
|
+
"chalk": "^5.4.0",
|
|
42
|
+
"cli-table3": "^0.6.0",
|
|
43
|
+
"commander": "^13.0.0",
|
|
44
|
+
"inquirer": "^12.0.0",
|
|
45
|
+
"ora": "^8.0.0",
|
|
46
|
+
"zod": "^4.3.6"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@types/bun": "latest",
|
|
50
|
+
"typescript": "^5.7.0"
|
|
51
|
+
},
|
|
52
|
+
"license": "MIT",
|
|
53
|
+
"author": "TheFahmi",
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "git+https://github.com/TheFahmi/omocs.git"
|
|
57
|
+
},
|
|
58
|
+
"keywords": [
|
|
59
|
+
"opencode",
|
|
60
|
+
"cli",
|
|
61
|
+
"developer-tools",
|
|
62
|
+
"ai",
|
|
63
|
+
"coding-assistant",
|
|
64
|
+
"plugin",
|
|
65
|
+
"profiles",
|
|
66
|
+
"mcp",
|
|
67
|
+
"lsp",
|
|
68
|
+
"agent-routing",
|
|
69
|
+
"omo-suites"
|
|
70
|
+
]
|
|
71
|
+
}
|