Repository navigation
Publish og to npm as @profullstack/outreachgraph, serve /install.sh - #173
Merged
Merged
Conversation
- apps/cli is now the publishable @profullstack/outreachgraph (bin `og`), a single Node-targeted bundle in dist/og.js with the MCP client inlined, so `npm i -g` works without any workspace package on npm. The four Bun-only calls (spawn, spawnSync, Bun.file) use node: APIs, so it runs under plain Node >= 20 as well as Bun. Adds `og --version`. - A workspace key (og_live_...) names its own workspace, so the CLI and MCP no longer demand OUTREACHGRAPH_WORKSPACE_ID/ORGANIZATION_ID with one. - apps/web/public/install.sh: `curl -fsSL https://outreachgraph.com/install.sh | sh` installs og with bun, else npm (Node >= 20), into ~/.local when the global prefix is not writable; served as text/x-sh and kept out of the crawl gateway's matcher. - Install line in the README, the homepage and llms.txt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without it bun add -g writes into the nearest package.json above that dir. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
curl -fsSL https://outreachgraph.com/install.sh | shnow installsog, the OutreachGraph CLI.@profullstack/outreachgraph@0.16.2is published (binog). The@outreachgraphscope does not exist on npm, so it lives under@profullstack. The package is one Node-targeted bundle (dist/og.js) with the MCP client inlined, so a cleannpm i -gneeds no workspace package on npm. Files: README, dist/og.js, package.json.Bun.spawn,Bun.spawnSync,Bun.file) now usenode:APIs, which Bun also supports. Addsog --version.og_live_key names its own workspace, so the CLI and MCP no longer requireOUTREACHGRAPH_WORKSPACE_ID/ORGANIZATION_IDalongside one (the service token still does). New test in mcp.test.ts.apps/web/public/install.shuses bun if present, else npm with Node >= 20, falls back to~/.localinstead of sudo, then checks PATH. Served astext/x-shvia next.config headers and excluded from the crawl-gateway proxy matcher./api/v1/public/llms.txt.Tested:
sh -n, bundle runs--version/--helpunder Node 24 and reaches prod (401 on a fake key),npm pack --dry-run, cli+mcp tests (69 pass), typecheck, format.🤖 Generated with Claude Code