@aroman22/codegraph-vba 2.0.0 → 2.1.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/README.md CHANGED
@@ -57,14 +57,14 @@ See [fork capabilities and lineage](docs/fork-capabilities.md) for the delivered
57
57
 
58
58
  **Why fork?** To add VBA / Access language support that does not exist upstream, so agents can navigate Microsoft Access projects managed by Dysflow the same way they navigate TypeScript or Python today. See the [VBA / Access + Dysflow integration](#vba--access--dysflow-integration) section below for the feature spec, the pattern table, and the hard invariants.
59
59
 
60
- **The fork is published to npm as `@aroman22/codegraph-vba`.** The upstream package `@colbymchenry/codegraph` does **not** have VBA / Access support — install `@aroman22/codegraph-vba` to get it:
60
+ **The fork ships through [GitHub Releases](https://github.com/ardelperal/codegraph-vba/releases).** The upstream package `@colbymchenry/codegraph` does **not** have VBA / Access support — install this fork to get it:
61
61
 
62
62
  ```bash
63
- # Option A — install from npm (easiest; gets you the codegraph-vba CLI on PATH):
64
- npm i -g @aroman22/codegraph-vba
65
- # or with pnpm:
66
- pnpm add -g codegraph-vba
67
- # or the one-line OS installer (no Node required) — see Get Started below.
63
+ # Option A — one-line installer from GitHub Releases (no Node, no npm):
64
+ # macOS / Linux
65
+ curl -fsSL https://raw.githubusercontent.com/ardelperal/codegraph-vba/main/install.sh | sh
66
+ # Windows (PowerShell)
67
+ irm https://raw.githubusercontent.com/ardelperal/codegraph-vba/main/install.ps1 | iex
68
68
  ```
69
69
 
70
70
  ```bash
@@ -98,17 +98,15 @@ curl -fsSL https://raw.githubusercontent.com/ardelperal/codegraph-vba/main/insta
98
98
  irm https://raw.githubusercontent.com/ardelperal/codegraph-vba/main/install.ps1 | iex
99
99
  ```
100
100
 
101
- <details>
102
- <summary><b>Already have Node? Use npm instead (works on any version)</b></summary>
103
-
104
- ```bash
105
- npm i -g @aroman22/codegraph-vba
106
- ```
107
-
108
101
  <sub>CodeGraph bundles its own runtime — nothing to compile, no native build, works the same everywhere. The installer puts `codegraph-vba` on your PATH but **doesn't change your current shell** — open a new terminal before the next step so the command resolves.</sub>
109
102
 
110
103
  <sub>**Upgrade any time** with `codegraph-vba upgrade` — it detects how you installed (bundle, npm, or npx) and updates in place. Add `--check` to see if an update is available, or `codegraph-vba upgrade <version>` to pin one.</sub>
111
104
 
105
+ <details>
106
+ <summary><b>npm (legacy)</b></summary>
107
+
108
+ The npm package `@aroman22/codegraph-vba` is published only on a best-effort basis and can lag behind GitHub Releases. Prefer the installer above; if you already installed through npm, re-run the installer to switch.
109
+
112
110
  </details>
113
111
 
114
112
  ### 2. Wire up your agent(s)
@@ -119,7 +117,7 @@ In a **new terminal**, run the installer to connect CodeGraph to the agents you
119
117
  codegraph-vba install
120
118
  ```
121
119
 
122
- <sub>Detects and auto-configures Claude Code, Cursor, Codex CLI, opencode, Hermes Agent, Gemini CLI, Antigravity IDE, and Kiro — wiring the CodeGraph MCP server into each. **This is the step that connects CodeGraph to your agent;** installing the CLI in step 1 does not do it on its own. It only wires up your agent — it does **not** index any code; building each project's graph is the separate `codegraph-vba init` in step 3. (Shortcut: `npx codegraph-vba` downloads and runs this in one go.)</sub>
120
+ <sub>Detects and auto-configures Claude Code, Cursor, Codex CLI, opencode, Hermes Agent, Gemini CLI, Antigravity IDE, and Kiro — wiring the CodeGraph MCP server into each. **This is the step that connects CodeGraph to your agent;** installing the CLI in step 1 does not do it on its own. It only wires up your agent — it does **not** index any code; building each project's graph is the separate `codegraph-vba init` in step 3.</sub>
123
121
 
124
122
  ### 3. Initialize each project
125
123
 
@@ -552,8 +550,10 @@ payload as JSON.
552
550
 
553
551
  ### 1. Run the Installer
554
552
 
553
+ Install the CLI (see [Get Started](#get-started)), then run:
554
+
555
555
  ```bash
556
- npx codegraph-vba
556
+ codegraph-vba install
557
557
  ```
558
558
 
559
559
  The installer will:
@@ -600,9 +600,10 @@ That's it — your agent will use CodeGraph tools automatically when a `.codegra
600
600
  <details>
601
601
  <summary><strong>Manual Setup (Alternative)</strong></summary>
602
602
 
603
- **Install globally:**
603
+ **Install the CLI:**
604
604
  ```bash
605
- npm i -g @aroman22/codegraph-vba
605
+ curl -fsSL https://raw.githubusercontent.com/ardelperal/codegraph-vba/main/install.sh | sh # macOS / Linux
606
+ irm https://raw.githubusercontent.com/ardelperal/codegraph-vba/main/install.ps1 | iex # Windows
606
607
  ```
607
608
 
608
609
  **Add to `~/.claude.json`:**
@@ -883,9 +884,9 @@ compile) for all three desktop OSes, on both Intel/AMD (x64) and ARM (arm64):
883
884
 
884
885
  | Platform | Architectures | Install |
885
886
  |----------|---------------|---------|
886
- | Windows | x64, arm64 | PowerShell installer or npm |
887
- | macOS | x64, arm64 | shell installer or npm |
888
- | Linux | x64, arm64 | shell installer or npm |
887
+ | Windows | x64, arm64 | PowerShell installer |
888
+ | macOS | x64, arm64 | shell installer |
889
+ | Linux | x64, arm64 | shell installer |
889
890
 
890
891
  See [Get Started](#get-started) for the one-line install commands.
891
892
 
@@ -972,7 +973,7 @@ Framework routing is validated the same way, on a canonical app per framework: E
972
973
 
973
974
  **MCP hits `database is locked`** — current builds shouldn't: CodeGraph bundles its own Node runtime and uses Node's built-in `node:sqlite` in WAL mode, where concurrent reads never block on a writer. If you still see it:
974
975
 
975
- - **You're on an old (pre-0.9) install.** Reinstall to get the bundled runtime — `curl -fsSL https://raw.githubusercontent.com/ardelperal/codegraph-vba/main/install.sh | sh` (macOS/Linux), `irm https://raw.githubusercontent.com/ardelperal/codegraph-vba/main/install.ps1 | iex` (Windows), or `npm i -g @aroman22/codegraph-vba@latest`.
976
+ - **You're on an old (pre-0.9) install.** Reinstall to get the bundled runtime — `curl -fsSL https://raw.githubusercontent.com/ardelperal/codegraph-vba/main/install.sh | sh` (macOS/Linux), `irm https://raw.githubusercontent.com/ardelperal/codegraph-vba/main/install.ps1 | iex` (Windows).
976
977
  - **`codegraph-vba status` shows `Journal:` other than `wal`** — WAL couldn't be enabled on this filesystem (common on network shares and WSL2 `/mnt`), so reads can block on writes. Move the project (with its `.codegraph/` folder) onto a local disk.
977
978
 
978
979
  **MCP server not connecting** — Your agent starts the server itself, so you don't launch it by hand. Make sure the project is initialized and indexed (`codegraph-vba status`) and that the path in your MCP config is correct. If it still won't connect, re-run `codegraph-vba install` to rewrite the config.
@@ -26,6 +26,13 @@
26
26
  export declare const REPO = "ardelperal/codegraph-vba";
27
27
  export declare const NPM_PACKAGE = "@aroman22/codegraph-vba";
28
28
  export declare const INSTALL_SH_URL = "https://raw.githubusercontent.com/ardelperal/codegraph-vba/main/install.sh";
29
+ export declare const INSTALL_PS1_URL = "https://raw.githubusercontent.com/ardelperal/codegraph-vba/main/install.ps1";
30
+ /**
31
+ * The one-line shell command that installs the CLI from GitHub Releases on
32
+ * this platform (issue #326 — no npm). Used both to run the install and in
33
+ * user-facing hints, so the two can never disagree.
34
+ */
35
+ export declare function cliInstallCommand(platform: NodeJS.Platform): string;
29
36
  export type InstallMethod = {
30
37
  kind: 'bundle';
31
38
  os: 'unix' | 'windows';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aroman22/codegraph-vba",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Local-first code intelligence for AI agents (MCP). Self-contained — bundles its own runtime.",
5
5
  "bin": {
6
6
  "codegraph-vba": "npm-shim.js"
@@ -15,12 +15,12 @@
15
15
  "./package.json": "./package.json"
16
16
  },
17
17
  "optionalDependencies": {
18
- "@aroman22/codegraph-vba-darwin-arm64": "2.0.0",
19
- "@aroman22/codegraph-vba-darwin-x64": "2.0.0",
20
- "@aroman22/codegraph-vba-linux-arm64": "2.0.0",
21
- "@aroman22/codegraph-vba-linux-x64": "2.0.0",
22
- "@aroman22/codegraph-vba-win32-arm64": "2.0.0",
23
- "@aroman22/codegraph-vba-win32-x64": "2.0.0"
18
+ "@aroman22/codegraph-vba-darwin-arm64": "2.1.0",
19
+ "@aroman22/codegraph-vba-darwin-x64": "2.1.0",
20
+ "@aroman22/codegraph-vba-linux-arm64": "2.1.0",
21
+ "@aroman22/codegraph-vba-linux-x64": "2.1.0",
22
+ "@aroman22/codegraph-vba-win32-arm64": "2.1.0",
23
+ "@aroman22/codegraph-vba-win32-x64": "2.1.0"
24
24
  },
25
25
  "files": [
26
26
  "npm-shim.js",