infynon 0.2.0-beta.9.0.9 → 0.2.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/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,5 @@
1
- # INFYNON
1
+ # infynon
2
2
 
3
- INFYNON is a CLI for:
3
+ This package installs the matching INFYNON CLI binary for the current platform.
4
4
 
5
- - package security with `infynon pkg`
6
- - API flow testing with `infynon weave`
7
- - repo memory & provenance with `infynon trace`
8
-
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)
14
-
15
- Website: [cli.infynon.com](https://cli.infynon.com)
16
- Claude Code companion: [d4rkNinja/code-guardian](https://github.com/d4rkNinja/code-guardian)
17
-
18
- ## Install
19
-
20
- ### npm (recommended)
21
-
22
- ```bash
23
- npm install -g infynon
24
- ```
25
-
26
- This package downloads the matching native binary for your OS and architecture.
27
-
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
- ```
35
-
36
- ## Good Fit For
37
-
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
42
-
43
- ## Why INFYNON Exists
44
-
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
54
-
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 |
60
-
61
- ## How the workflow fits together
62
-
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
66
-
67
- ## Best With Claude Code
68
-
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.
70
-
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
74
-
75
- ## Comparison Table
76
-
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 |
82
-
83
- ## Command Areas
84
-
85
- ### `infynon pkg`
86
-
87
- Use this when the problem is packages.
88
-
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
93
-
94
- ```bash
95
- infynon pkg scan
96
- infynon pkg audit
97
- infynon pkg npm install express --strict high
98
- ```
99
-
100
- ### `infynon weave`
101
-
102
- Use this when the problem is API behavior across multiple steps.
103
-
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
109
-
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
- ```
115
-
116
- ### `infynon trace`
117
-
118
- Use this when the problem is repo memory, handoff context, and package provenance.
119
-
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
129
-
130
- ```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
139
- ```
140
-
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 |
197
-
198
- ## Documentation
199
-
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)
206
-
207
- ## Comparison Blogs
208
-
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)
215
-
216
- ## Recommended Stack
217
-
218
- ```text
219
- INFYNON CLI + Trace + code-guardian
220
- ```
221
-
222
- Use that stack when you want:
223
-
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`
228
-
229
- ## License
230
-
231
- MIT
5
+ The Rust source code 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.0",
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
  }