@trac3er/oh-my-god 1.0.4 → 1.0.5

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/.mcp.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "mcpServers": {
3
+ "context7": {
4
+ "command": "npx",
5
+ "args": ["-y", "@upstash/context7-mcp"]
6
+ },
7
+ "filesystem": {
8
+ "command": "npx",
9
+ "args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
10
+ },
11
+ "websearch": {
12
+ "command": "npx",
13
+ "args": ["-y", "@zhafron/mcp-web-search"]
14
+ },
15
+ "chrome-devtools": {
16
+ "command": "npx",
17
+ "args": ["-y", "chrome-devtools-mcp@latest"]
18
+ }
19
+ }
20
+ }
package/OMG-setup.sh CHANGED
@@ -216,6 +216,11 @@ parse_args() {
216
216
  if [ ! -t 0 ] || [ -n "${npm_lifecycle_event:-}" ] || [ -n "${npm_execpath:-}" ]; then
217
217
  NON_INTERACTIVE=true
218
218
  fi
219
+
220
+ # Auto-enable plugin mode for npm installs
221
+ if [ -n "${npm_execpath:-}" ] || [ -n "${npm_lifecycle_event:-}" ]; then
222
+ INSTALL_AS_PLUGIN=true
223
+ fi
219
224
  }
220
225
 
221
226
  preflight() {
@@ -660,7 +665,39 @@ install_plugin_bundle() {
660
665
  mkdir -p "$plugin_root/.claude-plugin"
661
666
  mkdir -p "$CLAUDE_DIR/hud"
662
667
  cp "$plugin_manifest_src" "$plugin_manifest_target"
663
- write_plugin_mcp_file "$plugin_mcp_target" >/dev/null
668
+
669
+ # Provide a fallback .mcp.json if not shipped in npm package
670
+ if [ ! -f "$SCRIPT_DIR/.mcp.json" ]; then
671
+ local _fallback_mcp_dir
672
+ _fallback_mcp_dir=$(mktemp -d)
673
+ cat > "$_fallback_mcp_dir/.mcp.json" <<'FALLBACK_MCP'
674
+ {
675
+ "mcpServers": {
676
+ "context7": {
677
+ "command": "npx",
678
+ "args": ["-y", "@upstash/context7-mcp"]
679
+ },
680
+ "filesystem": {
681
+ "command": "npx",
682
+ "args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
683
+ },
684
+ "websearch": {
685
+ "command": "npx",
686
+ "args": ["-y", "@zhafron/mcp-web-search"]
687
+ },
688
+ "chrome-devtools": {
689
+ "command": "npx",
690
+ "args": ["-y", "chrome-devtools-mcp@latest"]
691
+ }
692
+ }
693
+ }
694
+ FALLBACK_MCP
695
+ SCRIPT_DIR="$_fallback_mcp_dir" write_plugin_mcp_file "$plugin_mcp_target" >/dev/null
696
+ rm -rf "$_fallback_mcp_dir"
697
+ else
698
+ write_plugin_mcp_file "$plugin_mcp_target" >/dev/null
699
+ fi
700
+
664
701
  cp "$hud_src" "$hud_target"
665
702
  mkdir -p "$PLUGIN_CACHE_DIR"
666
703
  printf '%s\n' "omg-plugin-bundle-v1" > "$PLUGIN_CACHE_DIR/$PLUGIN_BUNDLE_MARKER_FILE"
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # OMG v1.0.4
1
+ # OMG v1.0.5
2
2
 
3
3
  OMG (Oh My God) is a standalone orchestration layer for Claude Code.
4
4
  It adds structured multi-agent workflows, intelligent model routing (Claude/Codex/Gemini), and durable session state for long-running engineering tasks.
5
5
 
6
- - Version: `v1.0.4`
6
+ - Version: `v1.0.5`
7
7
  - npm: `npm install @trac3er/oh-my-god`
8
8
  - Maintainer: `trac3er00`
9
9
  - Repo: `git@github.com:trac3er00/OMG.git`
10
- - Release: `https://github.com/trac3er00/OMG/releases/tag/v1.0.4`
10
+ - Release: `https://github.com/trac3er00/OMG/releases/tag/v1.0.5`
11
11
 
12
12
  ## What OMG Solves
13
13
 
@@ -226,7 +226,17 @@ omg/
226
226
 
227
227
  ## Versioning and Releases
228
228
 
229
- Current version: `v1.0.4`
229
+ Current version: `v1.0.5`
230
+
231
+ ### v1.0.5 release notes
232
+
233
+ - npm `install` now auto-registers OMG as a Claude Code plugin via `postinstall` hook with npm context detection.
234
+ - Added `.mcp.json` and `hud/` to the npm package (previously excluded by `.npmignore`).
235
+ - `.claude-plugin/scripts/install.sh` now passes `--install-as-plugin --non-interactive` flags.
236
+ - Added `OMG-setup.sh` fallback MCP config heredoc for npm installs missing `.mcp.json`.
237
+ - New `runtime/tmux_session_manager.py` provides persistent tmux sessions for Codex/Gemini invocations with sentinel-based completion detection.
238
+ - `runtime/team_router.py` now routes Codex/Gemini calls through persistent tmux sessions when available, with graceful subprocess fallback.
239
+ - Added 20 new tests across 4 test files covering plugin auto-registration and tmux integration (1580 total tests passing).
230
240
 
231
241
  ### v1.0.4 emergency installation bug fix notes
232
242
 
@@ -246,15 +256,15 @@ Releases are automated via GitHub Actions. When a version tag is pushed, the `pu
246
256
 
247
257
  ```bash
248
258
  # bump version in package.json, then:
249
- git tag v1.0.4
250
- git push origin v1.0.4
251
- # → GitHub Actions auto-publishes @trac3er/oh-my-god@1.0.4 to npm
259
+ git tag v1.0.5
260
+ git push origin v1.0.5
261
+ # → GitHub Actions auto-publishes @trac3er/oh-my-god@1.0.5 to npm
252
262
  ```
253
263
 
254
264
  Manual release (if needed):
255
265
 
256
266
  ```bash
257
- gh release create v1.0.4 --title "OMG v1.0.4" --notes "Release notes"
267
+ gh release create v1.0.5 --title "OMG v1.0.5" --notes "Release notes"
258
268
  ```
259
269
 
260
270
  ## Compatibility Notes