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.ps1

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

install.ps1 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
$ErrorActionPreference = "Stop"
Open commit View diff
1 $ErrorActionPreference = "Stop"
same change 5130521

Add marketplace install support

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

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
3
$repoRoot = Split-Path -Parent $MyInvocation.MyCommand.Path
Open commit View diff
3 $repoRoot = Split-Path -Parent $MyInvocation.MyCommand.Path
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
4
$pluginPath = Join-Path $env:USERPROFILE "plugins\nobgit"
Open commit View diff
4 $pluginPath = Join-Path $env:USERPROFILE "plugins\nobgit"
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
5
$marketplacePath = Join-Path $env:USERPROFILE ".agents\plugins\marketplace.json"
Open commit View diff
5 $marketplacePath = Join-Path $env:USERPROFILE ".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
6
$marketplaceDir = Split-Path $marketplacePath
Open commit View diff
6 $marketplaceDir = Split-Path $marketplacePath
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
New-Item -ItemType Directory -Force $pluginPath | Out-Null
Open commit View diff
8 New-Item -ItemType Directory -Force $pluginPath | Out-Null
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
9
New-Item -ItemType Directory -Force $marketplaceDir | Out-Null
Open commit View diff
9 New-Item -ItemType Directory -Force $marketplaceDir | Out-Null
same change 5130521

Add marketplace install support

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

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
11
Copy-Item -Recurse -Force (Join-Path $repoRoot ".codex-plugin") $pluginPath
Open commit View diff
11 Copy-Item -Recurse -Force (Join-Path $repoRoot ".codex-plugin") $pluginPath
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
12
Copy-Item -Recurse -Force (Join-Path $repoRoot "assets") $pluginPath
Open commit View diff
12 Copy-Item -Recurse -Force (Join-Path $repoRoot "assets") $pluginPath
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
13
Copy-Item -Recurse -Force (Join-Path $repoRoot "skills") $pluginPath
Open commit View diff
13 Copy-Item -Recurse -Force (Join-Path $repoRoot "skills") $pluginPath
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
14
Copy-Item -Force (Join-Path $repoRoot ".mcp.json") (Join-Path $pluginPath ".mcp.json")
Open commit View diff
14 Copy-Item -Force (Join-Path $repoRoot ".mcp.json") (Join-Path $pluginPath ".mcp.json")
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
15
Copy-Item -Force (Join-Path $repoRoot "readme.md") (Join-Path $pluginPath "readme.md")
Open commit View diff
15 Copy-Item -Force (Join-Path $repoRoot "readme.md") (Join-Path $pluginPath "readme.md")
same change 5130521

Add marketplace install support

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

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
17
if (Test-Path $marketplacePath) {
Open commit View diff
17 if (Test-Path $marketplacePath) {
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
18
  $marketplace = Get-Content -Raw $marketplacePath | ConvertFrom-Json
Open commit View diff
18 $marketplace = Get-Content -Raw $marketplacePath | ConvertFrom-Json
same change 5130521

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
27
if (-not ($marketplace.PSObject.Properties.Name -contains "plugins")) {
Open commit View diff
27 if (-not ($marketplace.PSObject.Properties.Name -contains "plugins")) {
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
28
  $marketplace | Add-Member -MemberType NoteProperty -Name plugins -Value @()
Open commit View diff
28 $marketplace | Add-Member -MemberType NoteProperty -Name plugins -Value @()
same change 5130521

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
35
    path = "./plugins/nobgit"
Open commit View diff
35 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
36
  }
Open commit View diff
36 }
same change 5130521

Add marketplace install support

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

Add marketplace install support

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

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
39
    authentication = "ON_INSTALL"
Open commit View diff
39 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
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
  category = "Developer Tools"
Open commit View diff
41 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
42
}
Open commit View diff
42 }
same change 5130521

Add marketplace install support

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

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
44
$plugins = @($marketplace.plugins | Where-Object { $_.name -ne "nobgit" })
Open commit View diff
44 $plugins = @($marketplace.plugins | Where-Object { $_.name -ne "nobgit" })
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
45
$marketplace.plugins = @($plugins + $entry)
Open commit View diff
45 $marketplace.plugins = @($plugins + $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 | ConvertTo-Json -Depth 10 | Set-Content -Encoding UTF8 $marketplacePath
Open commit View diff
46 $marketplace | ConvertTo-Json -Depth 10 | Set-Content -Encoding UTF8 $marketplacePath
same change 5130521

Add marketplace install support

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

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
48
if (Get-Command codex -ErrorAction SilentlyContinue) {
Open commit View diff
48 if (Get-Command codex -ErrorAction SilentlyContinue) {
same change 5130521

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
49
  try {
Open commit View diff
49 try {
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
Open commit View diff
50 codex plugin add nobgit@personal
same change 5130521

Add marketplace install support

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

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
52
    Write-Warning "NobGit was added to the personal marketplace, but 'codex plugin add nobgit@personal' failed. Open Codex Plugins and install NobGit from Personal."
Open commit View diff
52 Write-Warning "NobGit was added to the personal marketplace, but 'codex plugin add nobgit@personal' failed. 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
  }
Open commit View diff
53 }
same change 5130521

Add marketplace install support

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

Add marketplace install support

Full commit hash
5130521cbf14bced151fd2c2c1d485cbbaa4231e
Author
Alex Nord <[email protected]>
Date
19 days ago
Selected line
55
  Write-Host "NobGit was added to the personal marketplace. Open Codex Plugins and install NobGit from Personal."
Open commit View diff
55 Write-Host "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
56
}
Open commit View diff
56 }
same change 5130521

Add marketplace install support

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

Add marketplace install support

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