infynon 0.2.0-beta.9.0.9 → 0.2.1

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/LICENSE ADDED
@@ -0,0 +1 @@
1
+ See the repository root LICENSE file for the proprietary binary license terms.
package/README.md CHANGED
@@ -1,231 +1,137 @@
1
- # INFYNON
1
+ # infynon
2
2
 
3
- INFYNON is a CLI for:
3
+ INFYNON is a security-first CLI for package intelligence, API flow testing, and repository memory.
4
4
 
5
- - package security with `infynon pkg`
6
- - API flow testing with `infynon weave`
7
- - repo memory & provenance with `infynon trace`
5
+ This npm package is the official installer wrapper for the INFYNON native binary. It does not contain the Rust source code. During installation, it downloads the matching prebuilt binary from the official GitHub Releases page.
8
6
 
9
- [![npm](https://img.shields.io/npm/v/infynon?style=flat-square&logo=npm)](https://www.npmjs.com/package/infynon)
10
- [![License: MIT](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/d4rkNinja/infynon-cli/blob/main/LICENSE)
11
- [![GitHub](https://img.shields.io/badge/source-GitHub-black?style=flat-square&logo=github)](https://github.com/d4rkNinja/infynon-cli)
12
- [![Docs](https://img.shields.io/badge/docs-cli.infynon.com-14b8a6?style=flat-square)](https://cli.infynon.com/docs)
13
- [![Claude Code](https://img.shields.io/badge/Claude%20Code-code--guardian-7c3aed?style=flat-square)](https://github.com/d4rkNinja/code-guardian)
7
+ ## Why Install INFYNON
14
8
 
15
- Website: [cli.infynon.com](https://cli.infynon.com)
16
- Claude Code companion: [d4rkNinja/code-guardian](https://github.com/d4rkNinja/code-guardian)
9
+ INFYNON is built for teams that need one terminal tool for three connected workflows:
17
10
 
18
- ## Install
11
+ | Workflow | Command Area | Purpose |
12
+ |---|---|---|
13
+ | Package intelligence | `infynon pkg` | Scan dependencies, inspect risk, audit package changes, and support safer install workflows. |
14
+ | API flow testing | `infynon weave` | Run multi-step API flows with context passed between requests. |
15
+ | Repository memory | `infynon trace` | Preserve structured handoff notes, branch context, package ownership, and repo memory. |
19
16
 
20
- ### npm (recommended)
17
+ ## Install
21
18
 
22
19
  ```bash
23
20
  npm install -g infynon
24
21
  ```
25
22
 
26
- This package downloads the matching native binary for your OS and architecture.
23
+ The installer downloads the binary for the current platform and makes `infynon` available through npm's global binary directory.
27
24
 
28
- ### Other install methods
29
-
30
- ```bash
31
- cargo install infynon # Rust (crates.io)
32
- go install github.com/d4rkNinja/infynon-cli/go/cmd/infynon@latest # Go
33
- curl -fsSL https://raw.githubusercontent.com/d4rkNinja/infynon-cli/main/scripts/install.sh | bash # Linux/macOS
34
- ```
25
+ ## Supported Platforms
35
26
 
36
- ## Good Fit For
27
+ - Windows x64
28
+ - Linux x64
29
+ - Linux arm64
30
+ - macOS x64
31
+ - macOS arm64
37
32
 
38
- - teams doing AI-assisted or high-speed coding
39
- - backend teams testing stateful API workflows
40
- - repos where package ownership and handoff context matter
41
- - developers who want one CLI instead of three disconnected tools
33
+ Unsupported platforms can still install the npm wrapper, but the wrapper will not be able to download a native binary until a matching release asset exists.
42
34
 
43
- ## Why INFYNON Exists
35
+ ## Quick Start
44
36
 
45
- INFYNON was created because modern repos usually hit three problems at the same time:
46
-
47
- - dependencies move faster than teams can review them
48
- - API testing breaks when workflows span multiple requests
49
- - provenance gets lost between branches, PRs, and different machines
50
-
51
- Instead of solving only one of those, INFYNON groups them under one CLI.
52
-
53
- ## What INFYNON Includes
37
+ ```bash
38
+ infynon --help
39
+ infynon pkg scan
40
+ infynon pkg audit
41
+ infynon weave flow run checkout
42
+ infynon trace tui
43
+ ```
54
44
 
55
- | Area | Command | Best For | What It Solves |
56
- |---|---|---|---|
57
- | Package Security | `infynon pkg` | scanning, safe installs, remediation, monitoring | risky dependencies, invisible installs, version exposure |
58
- | API Flow Testing | `infynon weave` | multi-step API execution and validation | brittle request scripts, missing flow context, runtime probes |
59
- | Repo Memory & Provenance | `infynon trace` | handoffs, package ownership, branch/PR/file/package notes, TUI inspection | lost context across people, PRs, branches, and machines |
45
+ ## Package Intelligence
60
46
 
61
- ## How the workflow fits together
47
+ Use `infynon pkg` to inspect dependency risk and package state.
62
48
 
63
- - `pkg` checks what is entering the system
64
- - `weave` tests how the real API path behaves
65
- - `trace` preserves who changed what, why it changed, and what the team knew at the time
49
+ ```bash
50
+ infynon pkg scan
51
+ infynon pkg audit
52
+ infynon pkg explain serde_json
53
+ ```
66
54
 
67
- ## Best With Claude Code
55
+ Good fit:
68
56
 
69
- Trace works best with `code-guardian` when you want Claude Code to pull the latest handoff context before work and update it again after the task.
57
+ - reviewing dependency changes
58
+ - scanning a project before merging
59
+ - understanding why a package exists
60
+ - adding package security checks to local workflows
70
61
 
71
- - Claude Code companion: [d4rkNinja/code-guardian](https://github.com/d4rkNinja/code-guardian)
72
- - good fit for Claude Code hook-based Trace workflows
73
- - gives Trace a practical agent-side bridge instead of leaving context updates fully manual
62
+ ## API Flow Testing
74
63
 
75
- ## Comparison Table
64
+ Use `infynon weave` when API behavior depends on multiple connected requests.
76
65
 
77
- | Workflow Need | Typical Pain | INFYNON Answer |
78
- |---|---|---|
79
- | dependency safety | install first, understand later | `pkg` scans, audits, and supports stricter install workflows |
80
- | API flow confidence | one request works, the full workflow fails | `weave` models and runs the whole flow |
81
- | repo provenance | context is scattered and stale | `trace` keeps it structured, queryable, and inspectable |
66
+ ```bash
67
+ infynon weave env set BASE_URL http://localhost:8001
68
+ infynon weave flow run checkout
69
+ ```
82
70
 
83
- ## Command Areas
71
+ Good fit:
84
72
 
85
- ### `infynon pkg`
73
+ - login-then-action API workflows
74
+ - stateful API validation
75
+ - terminal-first flow execution
76
+ - CI-friendly API checks
86
77
 
87
- Use this when the problem is packages.
78
+ ## Repository Memory
88
79
 
89
- - scan lockfiles for vulnerable packages
90
- - secure install wrapper for multiple ecosystems
91
- - audit, why, outdated, diff, doctor, fix, clean, migrate
92
- - Eagle Eye scheduled package monitoring
80
+ Use `infynon trace` to preserve context that usually disappears into chat, PR comments, or local notes.
93
81
 
94
82
  ```bash
95
- infynon pkg scan
96
- infynon pkg audit
97
- infynon pkg npm install express --strict high
83
+ infynon trace init
84
+ infynon trace note add repo-handoff --title "Auth changed" --body "Refresh moved into middleware"
85
+ infynon trace tui
98
86
  ```
99
87
 
100
- ### `infynon weave`
88
+ Good fit:
101
89
 
102
- Use this when the problem is API behavior across multiple steps.
90
+ - branch handoffs
91
+ - package ownership context
92
+ - team notes
93
+ - AI-assisted coding sessions that need durable memory
103
94
 
104
- - create API nodes and flows
105
- - run connected request chains
106
- - import OpenAPI
107
- - prompt for runtime values
108
- - run AI-assisted security probes
95
+ ## Alternative Install Methods
109
96
 
110
- ```bash
111
- infynon weave env set BASE_URL http://localhost:8001
112
- infynon weave flow create "checkout" --ai "login then create order"
113
- infynon weave flow run checkout
114
- ```
97
+ GitHub Releases:
115
98
 
116
- ### `infynon trace`
117
-
118
- Use this when the problem is repo memory, handoff context, and package provenance.
99
+ ```text
100
+ https://github.com/d4rkNinja/infynon-cli/releases
101
+ ```
119
102
 
120
- - canonical, team, and user memory layers
121
- - Redis or SQL backends
122
- - package notes that identify who introduced a compromised dependency
123
- - sync, retrieve, compact, and TUI inspection
124
- - designed to pair with the `code-guardian` Claude Code companion
125
- - branch-wise knowledge graph with auto-build from git history
126
- - graph queries: path finding, impact analysis, orphan detection, branch diff
127
- - export to JSON and Graphviz DOT
128
- - interactive graph TUI with entity/edge editing and branch switching
103
+ macOS and Linux:
129
104
 
130
105
  ```bash
131
- infynon trace init --owner team --user alien
132
- infynon trace source add-sql team-db --engine sqlite --url sqlite://.infynon/trace/trace.db --user alien --default
133
- infynon trace note add repo-handoff --title "Auth changed" --body "Refresh moved into middleware"
134
- infynon trace sync --direction both
135
- infynon trace tui
136
- infynon trace graph build
137
- infynon trace graph show --branch main
138
- infynon trace graph tui
106
+ curl -fsSL https://raw.githubusercontent.com/d4rkNinja/infynon-cli/main/install.sh | bash
139
107
  ```
140
108
 
141
- Claude Code companion:
142
- [d4rkNinja/code-guardian](https://github.com/d4rkNinja/code-guardian)
143
-
144
- ## Head-to-Head Comparison
145
-
146
- ### `infynon pkg` vs Alternatives
147
-
148
- | Feature | infynon pkg | npm audit | Snyk CLI | Socket CLI | OSV-scanner |
149
- |---|:---:|:---:|:---:|:---:|:---:|
150
- | Secure install wrapper | ✓ | — | — | ~ npm only | — |
151
- | 14 ecosystems in one scan | ✓ | — | ~ | ~ | ~ |
152
- | Block installs via strict mode | ✓ | — | — | ~ npm only | — |
153
- | Scheduled CLI monitoring | ✓ | — | ~ server-side | — | — |
154
- | PDF + Markdown report export | ✓ | — | — | — | — |
155
- | Package version diff | ✓ | — | — | — | — |
156
- | Per-package install decisions | ✓ | — | — | — | — |
157
- | Auto-fix / remediation | ✓ | ~ basic | ✓ | ✓ | — |
158
- | No SaaS account required | ✓ | ✓ | — | ~ | ✓ |
159
-
160
- ### `infynon weave` vs Alternatives
161
-
162
- | Feature | infynon weave | Postman | Hoppscotch | Bruno | Insomnia |
163
- |---|:---:|:---:|:---:|:---:|:---:|
164
- | Terminal TUI | ✓ | — | — | — | — |
165
- | Runtime prompts (OTP / 2FA) | ✓ | — | ~ | — | — |
166
- | Built-in AI security probes | ✓ | — | — | — | — |
167
- | AI-assisted flow creation (CLI) | ✓ | ~ GUI only | ~ GUI / alpha | — | — |
168
- | Visual flow graph in terminal | ✓ | — | — | — | — |
169
- | Run diff (side-by-side) | ✓ | — | — | ~ paid | — |
170
- | Context threading between nodes | ✓ | ✓ | ✓ | ✓ | ✓ |
171
- | OpenAPI / Swagger import | ✓ | ✓ | ✓ | ✓ | ✓ |
172
- | Offline, no account required | ✓ | — | ✓ | ✓ | ~ |
173
-
174
- ### `infynon trace` vs Alternatives
175
-
176
- | Feature | infynon trace | GitHub Wiki | Notion | Confluence | Obsidian |
177
- |---|:---:|:---:|:---:|:---:|:---:|
178
- | Native CLI | ✓ | — | ~ 3rd party | ~ ACLI | ✓ |
179
- | Branch / file / package scoping | ✓ | — | — | — | — |
180
- | Package ownership tracking | ✓ | — | — | — | — |
181
- | Redis + SQL backend choice | ✓ | — | — | — | — |
182
- | Multi-layer memory (team / user / canonical) | ✓ | — | — | — | — |
183
- | Terminal TUI inspection | ✓ | — | — | — | — |
184
- | Claude Code native integration | ✓ | — | ~ MCP | — | ~ |
185
- | Structured retrieval by scope | ✓ | — | — | — | — |
186
- | Bidirectional sync via CLI | ✓ | — | ~ | ~ | ✓ |
187
- | Branch-wise knowledge graph | ✓ | — | — | — | — |
188
-
189
- `✓` = supported · `~` = partial or limited · `—` = not supported
190
-
191
- ## Backend Choice For Trace
192
-
193
- | Backend | Better For |
194
- |---|---|
195
- | Redis | fast live retrieval, active session state, lower-latency coordination |
196
- | SQL | durable structured history, stronger filtering, canonical memory |
109
+ Windows:
197
110
 
198
- ## Documentation
111
+ ```powershell
112
+ iwr https://raw.githubusercontent.com/d4rkNinja/infynon-cli/main/install.ps1 -useb | iex
113
+ ```
199
114
 
200
- - docs home: [cli.infynon.com/docs](https://cli.infynon.com/docs)
201
- - root README: `README.md`
202
- - command reference: `docs/commands.md`
203
- - Trace guide: `docs/trace.md`
204
- - Weave guide: `docs/weave.md`
205
- - Claude Code companion: [d4rkNinja/code-guardian](https://github.com/d4rkNinja/code-guardian)
115
+ Go wrapper:
206
116
 
207
- ## Comparison Blogs
117
+ ```bash
118
+ go install github.com/d4rkNinja/infynon-cli/go/cmd/infynon@latest
119
+ ```
208
120
 
209
- - [One CLI vs fragmented tooling](https://cli.infynon.com/blog/why-infynon-over-fragmented-tooling)
210
- - [`pkg` vs `npm audit`](https://cli.infynon.com/blog/infynon-vs-npm-audit)
211
- - [`pkg` vs Snyk CLI](https://cli.infynon.com/blog/infynon-vs-snyk-cli)
212
- - [`pkg` vs Socket.dev](https://cli.infynon.com/blog/infynon-vs-socket-dev)
213
- - [Why Trace exists](https://cli.infynon.com/blog/why-i-built-trace)
214
- - [Why repo memory matters](https://cli.infynon.com/blog/agentic-coding-context-problem)
121
+ ## Verification
215
122
 
216
- ## Recommended Stack
123
+ GitHub Releases include `checksums.txt` for SHA-256 verification.
217
124
 
218
125
  ```text
219
- INFYNON CLI + Trace + code-guardian
126
+ https://github.com/d4rkNinja/infynon-cli/releases
220
127
  ```
221
128
 
222
- Use that stack when you want:
129
+ ## Documentation
223
130
 
224
- - package risk scanning with `pkg`
225
- - workflow-level API testing with `weave`
226
- - structured repo context with `trace`
227
- - Claude Code automation around Trace retrieval and updates through `code-guardian`
131
+ - Public docs: https://github.com/d4rkNinja/infynon-cli/tree/main/docs
132
+ - Releases: https://github.com/d4rkNinja/infynon-cli/releases
133
+ - Issues: https://github.com/d4rkNinja/infynon-cli/issues
228
134
 
229
- ## License
135
+ ## Source Availability
230
136
 
231
- MIT
137
+ This npm package distributes the INFYNON binary and installer wrapper only. The Rust source code is proprietary and is not bundled in this package.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "infynon",
3
- "version": "0.2.0-beta.9.0.9",
4
- "description": "Package intelligence, API flow testing, and repo memory for AI-assisted backend teams.",
3
+ "version": "0.2.1",
4
+ "description": "Thin npm installer for the proprietary INFYNON CLI binary releases.",
5
5
  "bin": {
6
6
  "infynon": "run.js",
7
7
  "infynon-pkg": "run.js"
@@ -11,6 +11,7 @@
11
11
  "preuninstall": "node preuninstall.js"
12
12
  },
13
13
  "files": [
14
+ "LICENSE",
14
15
  "run.js",
15
16
  "postinstall.js",
16
17
  "preuninstall.js"
@@ -18,35 +19,8 @@
18
19
  "engines": {
19
20
  "node": ">=14.14"
20
21
  },
21
- "keywords": [
22
- "security",
23
- "cli",
24
- "vulnerability-scanner",
25
- "cve",
26
- "package-security",
27
- "supply-chain-security",
28
- "waf",
29
- "web-application-firewall",
30
- "reverse-proxy",
31
- "firewall",
32
- "api-testing",
33
- "devsecops",
34
- "dependency-scanner",
35
- "npm-security",
36
- "pip-security",
37
- "cargo-security",
38
- "osv",
39
- "audit",
40
- "security-scanner",
41
- "integration-testing",
42
- "rate-limiter",
43
- "ip-filter",
44
- "security-proxy",
45
- "package-manager",
46
- "developer-tools"
47
- ],
48
22
  "author": "d4rkNinja",
49
- "license": "MIT",
23
+ "license": "SEE LICENSE IN LICENSE",
50
24
  "repository": {
51
25
  "type": "git",
52
26
  "url": "git+https://github.com/d4rkNinja/infynon-cli.git"
@@ -54,9 +28,9 @@
54
28
  "bugs": {
55
29
  "url": "https://github.com/d4rkNinja/infynon-cli/issues"
56
30
  },
57
- "homepage": "https://cli.infynon.com/docs",
31
+ "homepage": "https://github.com/d4rkNinja/infynon-cli#readme",
58
32
  "publishConfig": {
59
- "access": "public",
60
- "tag": "beta"
33
+ "access": "public"
61
34
  }
62
35
  }
36
+
package/postinstall.js CHANGED
@@ -10,17 +10,12 @@ const VERSION = require("./package.json").version;
10
10
  const BIN_DIR = path.join(__dirname, "bin");
11
11
  const BIN_PATH = path.join(BIN_DIR, process.platform === "win32" ? "infynon.exe" : "infynon");
12
12
 
13
- // Map Node.js platform/arch to the GitHub release target triple
14
13
  function getTarget() {
15
- const platform = process.platform;
16
- const arch = process.arch;
17
-
18
- if (platform === "win32" && arch === "x64") return { target: "x86_64-pc-windows-msvc", ext: ".exe" };
19
- if (platform === "linux" && arch === "x64") return { target: "x86_64-unknown-linux-musl", ext: "" };
20
- if (platform === "linux" && arch === "arm64") return { target: "aarch64-unknown-linux-musl", ext: "" };
21
- if (platform === "darwin" && arch === "x64") return { target: "x86_64-apple-darwin", ext: "" };
22
- if (platform === "darwin" && arch === "arm64") return { target: "aarch64-apple-darwin", ext: "" };
23
-
14
+ if (process.platform === "win32" && process.arch === "x64") return { target: "x86_64-pc-windows-msvc", ext: ".exe" };
15
+ if (process.platform === "linux" && process.arch === "x64") return { target: "x86_64-unknown-linux-musl", ext: "" };
16
+ if (process.platform === "linux" && process.arch === "arm64") return { target: "aarch64-unknown-linux-musl", ext: "" };
17
+ if (process.platform === "darwin" && process.arch === "x64") return { target: "x86_64-apple-darwin", ext: "" };
18
+ if (process.platform === "darwin" && process.arch === "arm64") return { target: "aarch64-apple-darwin", ext: "" };
24
19
  return null;
25
20
  }
26
21
 
@@ -67,12 +62,11 @@ async function main() {
67
62
  if (!info) {
68
63
  console.warn(
69
64
  "[infynon] Unsupported platform: " + process.platform + " " + process.arch + ".\n" +
70
- " Build from source: cargo install --git https://github.com/" + REPO
65
+ " Download a release manually: https://github.com/" + REPO + "/releases"
71
66
  );
72
- process.exit(0); // non-fatal — let the install succeed
67
+ process.exit(0);
73
68
  }
74
69
 
75
- // Strip npm prerelease suffix for the GitHub tag (beta.6 → beta.6 stays; just prefix with v)
76
70
  const tag = "v" + VERSION;
77
71
  const assetName = "infynon-" + info.target + info.ext;
78
72
  const url = "https://github.com/" + REPO + "/releases/download/" + tag + "/" + assetName;
@@ -87,11 +81,10 @@ async function main() {
87
81
  await downloadFile(url, BIN_PATH);
88
82
  } catch (err) {
89
83
  console.error("[infynon] Download failed: " + err.message);
90
- console.error("[infynon] You can install manually: https://github.com/" + REPO + "/releases/tag/" + tag);
84
+ console.error("[infynon] Manual install: https://github.com/" + REPO + "/releases/tag/" + tag);
91
85
  process.exit(1);
92
86
  }
93
87
 
94
- // Make executable on Unix
95
88
  if (process.platform !== "win32") {
96
89
  fs.chmodSync(BIN_PATH, 0o755);
97
90
  }
package/run.js CHANGED
@@ -15,7 +15,7 @@ if (!fs.existsSync(BIN_PATH)) {
15
15
  console.error(
16
16
  "[infynon] Binary not found at: " + BIN_PATH + "\n" +
17
17
  " Try reinstalling: npm install -g infynon\n" +
18
- " Or build from source: cargo install --git https://github.com/d4rkNinja/infynon-cli"
18
+ " Or download a release manually: https://github.com/d4rkNinja/infynon-cli/releases"
19
19
  );
20
20
  process.exit(1);
21
21
  }