@pygg/cli 0.1.0-dev.1 → 0.1.0-dev.3

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.
Files changed (2) hide show
  1. package/README.md +13 -1
  2. package/package.json +10 -6
package/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # @pygg/cli
2
2
 
3
+ **Source, issues and releases: [github.com/nambean/Pygg](https://github.com/nambean/Pygg)**. Pygg is open source (MIT), and contributions are welcome.
4
+
3
5
  `pygg`: route your AI coding tools (Claude Code, Codex, OpenCode) through Pygg, a local gateway that picks a model for each request from the providers you connected, and records what each request cost.
4
6
 
5
- **npm installs this command only**, on Windows x64, macOS (Apple silicon and Intel) and Linux x64 (glibc): npm fetches the native program for your computer only. On Windows the [Pygg desktop app](https://github.com/nambean/smarttaskrouter) runs the gateway and is where you connect providers; on macOS and Linux, where there is no app yet, `pygg gateway add-connection` and `pygg gateway serve` do it from the terminal. Your coding tools are installed as usual. **`@dev` is a developer preview**: the native program is not code-signed, so Windows SmartScreen, macOS Gatekeeper or an antivirus may warn about it.
7
+ **npm installs this command only**, on Windows x64, macOS (Apple silicon and Intel) and Linux x64 (glibc): npm fetches the native program for your computer only. On Windows the [Pygg desktop app](https://github.com/nambean/Pygg) runs the gateway and is where you connect providers; on macOS and Linux, where there is no app yet, `pygg gateway add-connection` and `pygg gateway serve` do it from the terminal. Your coding tools are installed as usual. **`@dev` is a developer preview**: the native program is not code-signed, so Windows SmartScreen, macOS Gatekeeper or an antivirus may warn about it.
6
8
 
7
9
  ## Start here
8
10
 
@@ -83,4 +85,14 @@ Two things the command does not do: it never starts a gateway by itself (the app
83
85
 
84
86
  `pygg mcp setup claude-code`, `pygg mcp setup codex` and `pygg mcp setup opencode` register Pygg's MCP server (`pygg mcp`) in the tool, so it can hand coding tasks to Pygg. That is the experimental task integration, on hold; it is not how a tool's requests go through the gateway (see Start here).
85
87
 
88
+ ## Contributing
89
+
90
+ Pygg is built in the open at [github.com/nambean/Pygg](https://github.com/nambean/Pygg), and help is welcome:
91
+
92
+ - **Report a bug or ask for something**: [open an issue](https://github.com/nambean/Pygg/issues). Say what you ran, what you expected and what `pygg doctor` prints; never paste an API key.
93
+ - **Send a change**: read [CONTRIBUTING](https://github.com/nambean/Pygg/blob/main/CONTRIBUTING.md), then open a pull request. Provider presets, platform fixes (macOS and Linux especially), documentation and tests are good places to start.
94
+ - **Star the repository** if Pygg is useful to you: it helps others find it.
95
+
96
+ Security problems go privately, as [SECURITY](https://github.com/nambean/Pygg/blob/main/docs/SECURITY.md) describes, not in a public issue.
97
+
86
98
  MIT licence.
package/package.json CHANGED
@@ -1,13 +1,17 @@
1
1
  {
2
2
  "name": "@pygg/cli",
3
- "version": "0.1.0-dev.1",
3
+ "version": "0.1.0-dev.3",
4
4
  "description": "Route Claude Code, Codex and OpenCode through Pygg, a local AI gateway: set them up, start them through it, and see providers, models, requests and cost. Windows, macOS and Linux. Developer preview, unsigned.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/nambean/smarttaskrouter.git",
8
+ "url": "git+https://github.com/nambean/Pygg.git",
9
9
  "directory": "packages/npm/pygg"
10
10
  },
11
+ "homepage": "https://github.com/nambean/Pygg#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/nambean/Pygg/issues"
14
+ },
11
15
  "bin": {
12
16
  "pygg": "bin/pygg.js"
13
17
  },
@@ -22,10 +26,10 @@
22
26
  "test": "node --test test/launcher.test.js"
23
27
  },
24
28
  "optionalDependencies": {
25
- "@pygg/darwin-arm64": "0.1.0-dev.1",
26
- "@pygg/darwin-x64": "0.1.0-dev.1",
27
- "@pygg/linux-x64": "0.1.0-dev.1",
28
- "@pygg/win32-x64": "0.1.0-dev.1"
29
+ "@pygg/darwin-arm64": "0.1.0-dev.3",
30
+ "@pygg/darwin-x64": "0.1.0-dev.3",
31
+ "@pygg/linux-x64": "0.1.0-dev.3",
32
+ "@pygg/win32-x64": "0.1.0-dev.3"
29
33
  },
30
34
  "keywords": [
31
35
  "llm",