NobGit
public nobgit read

Codex

NobGit for Codex

Languages

Repository composition by tracked source files.

PowerShell
PowerShell 57% Shell 43%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/codex.git
ssh://[email protected]:2222/orgs/nobgit/codex.git

Trace

install.sh

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

install.sh on main
Author Date Commit Line Code
Alex Nord 19 days ago 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
1
#!/usr/bin/env bash
Open commit View diff
1 #!/usr/bin/env bash
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
2
set -euo pipefail
Open commit View diff
2 set -euo pipefail
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
3
Open commit View diff
3
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
4
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
Open commit View diff
4 repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
5
plugin_path="$HOME/plugins/nobgit"
Open commit View diff
5 plugin_path="$HOME/plugins/nobgit"
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
6
marketplace_path="$HOME/.agents/plugins/marketplace.json"
Open commit View diff
6 marketplace_path="$HOME/.agents/plugins/marketplace.json"
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
7
Open commit View diff
7
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
8
mkdir -p "$plugin_path" "$(dirname "$marketplace_path")"
Open commit View diff
8 mkdir -p "$plugin_path" "$(dirname "$marketplace_path")"
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
9
cp -R "$repo_root/.codex-plugin" "$plugin_path/"
Open commit View diff
9 cp -R "$repo_root/.codex-plugin" "$plugin_path/"
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
10
cp -R "$repo_root/assets" "$plugin_path/"
Open commit View diff
10 cp -R "$repo_root/assets" "$plugin_path/"
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
11
cp -R "$repo_root/skills" "$plugin_path/"
Open commit View diff
11 cp -R "$repo_root/skills" "$plugin_path/"
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
12
cp "$repo_root/.mcp.json" "$plugin_path/.mcp.json"
Open commit View diff
12 cp "$repo_root/.mcp.json" "$plugin_path/.mcp.json"
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
13
cp "$repo_root/readme.md" "$plugin_path/readme.md"
Open commit View diff
13 cp "$repo_root/readme.md" "$plugin_path/readme.md"
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
14
Open commit View diff
14
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
15
python3 - <<'PY'
Open commit View diff
15 python3 - <<'PY'
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
16
import json
Open commit View diff
16 import json
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
17
from pathlib import Path
Open commit View diff
17 from pathlib import Path
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
18
Open commit View diff
18
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
19
marketplace_path = Path.home() / ".agents" / "plugins" / "marketplace.json"
Open commit View diff
19 marketplace_path = Path.home() / ".agents" / "plugins" / "marketplace.json"
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
20
if marketplace_path.exists():
Open commit View diff
20 if marketplace_path.exists():
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
21
    marketplace = json.loads(marketplace_path.read_text())
Open commit View diff
21 marketplace = json.loads(marketplace_path.read_text())
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
22
else:
Open commit View diff
22 else:
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
23
    marketplace = {
Open commit View diff
23 marketplace = {
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
24
        "name": "personal",
Open commit View diff
24 "name": "personal",
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
25
        "interface": {"displayName": "Personal"},
Open commit View diff
25 "interface": {"displayName": "Personal"},
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
26
        "plugins": [],
Open commit View diff
26 "plugins": [],
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
27
    }
Open commit View diff
27 }
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
28
Open commit View diff
28
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
29
entry = {
Open commit View diff
29 entry = {
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
30
    "name": "nobgit",
Open commit View diff
30 "name": "nobgit",
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
31
    "source": {
Open commit View diff
31 "source": {
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
32
        "source": "local",
Open commit View diff
32 "source": "local",
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
33
        "path": "./plugins/nobgit",
Open commit View diff
33 "path": "./plugins/nobgit",
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
34
    },
Open commit View diff
34 },
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
35
    "policy": {
Open commit View diff
35 "policy": {
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
36
        "installation": "AVAILABLE",
Open commit View diff
36 "installation": "AVAILABLE",
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
37
        "authentication": "ON_INSTALL",
Open commit View diff
37 "authentication": "ON_INSTALL",
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
38
    },
Open commit View diff
38 },
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
39
    "category": "Developer Tools",
Open commit View diff
39 "category": "Developer Tools",
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
40
}
Open commit View diff
40 }
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
41
Open commit View diff
41
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
42
marketplace["plugins"] = [
Open commit View diff
42 marketplace["plugins"] = [
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
43
    plugin for plugin in marketplace.get("plugins", [])
Open commit View diff
43 plugin for plugin in marketplace.get("plugins", [])
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
44
    if plugin.get("name") != "nobgit"
Open commit View diff
44 if plugin.get("name") != "nobgit"
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
45
] + [entry]
Open commit View diff
45 ] + [entry]
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
46
marketplace_path.write_text(json.dumps(marketplace, indent=2) + "\n")
Open commit View diff
46 marketplace_path.write_text(json.dumps(marketplace, indent=2) + "\n")
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
47
PY
Open commit View diff
47 PY
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
48
Open commit View diff
48
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
49
if command -v codex >/dev/null 2>&1; then
Open commit View diff
49 if command -v codex >/dev/null 2>&1; then
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
50
  codex plugin add nobgit@personal || true
Open commit View diff
50 codex plugin add nobgit@personal || true
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
51
else
Open commit View diff
51 else
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
52
  echo "NobGit was added to the personal marketplace. Open Codex Plugins and install NobGit from Personal."
Open commit View diff
52 echo "NobGit was added to the personal marketplace. Open Codex Plugins and install NobGit from Personal."
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
53
fi
Open commit View diff
53 fi
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
54
Open commit View diff
54
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
55
echo "Done. Start a new Codex thread after installing NobGit."
Open commit View diff
55 echo "Done. Start a new Codex thread after installing NobGit."