infynon 0.2.8 → 0.2.9
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 +649 -122
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,212 +1,739 @@
|
|
|
1
|
-
#
|
|
1
|
+
# INFYNON CLI
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/infynon)
|
|
4
|
-
[](https://www.npmjs.com/package/infynon)
|
|
5
4
|
[](https://github.com/d4rkNinja/infynon-cli/releases)
|
|
6
|
-
[](LICENSE)
|
|
6
|
+
[](https://cli.infynon.com/docs)
|
|
7
|
+
[](docs/agent-control-plane.md)
|
|
8
|
+
[](#package-safety-pkg)
|
|
9
|
+
[](#api-workflow-testing-weave)
|
|
10
|
+
[](#repo-memory-trace)
|
|
11
|
+
[](https://www.npmjs.com/package/infynon)
|
|
12
|
+
|
|
13
|
+
Security-first CLI for AI-driven development.
|
|
14
|
+
|
|
15
|
+
INFYNON helps developers verify packages before install, trace repo context, test API flows, and manage AI coding tasks with more control.
|
|
8
16
|
|
|
9
|
-
|
|
17
|
+
> Install. Verify. Trace. Orchestrate.
|
|
10
18
|
|
|
11
|
-
|
|
19
|
+
---
|
|
12
20
|
|
|
13
|
-
## Why
|
|
21
|
+
## Why INFYNON?
|
|
14
22
|
|
|
15
|
-
|
|
23
|
+
AI coding tools can generate code fast, but they can also install unknown packages, miss dependency risk, lose context, or create messy task flows.
|
|
16
24
|
|
|
17
|
-
|
|
18
|
-
|---|---|---|
|
|
19
|
-
| Agent control plane | `infynon workspace`, `infynon task`, `infynon coding` | Coordinate Codex, Claude Code, Gemini CLI, and child agent sessions through durable workspace and task records. |
|
|
20
|
-
| Package intelligence | `infynon pkg` | Scan dependencies, inspect risk, audit package changes, and support safer install workflows. |
|
|
21
|
-
| API flow testing | `infynon weave` | Run multi-step API flows with context passed between requests. |
|
|
22
|
-
| Repository memory | `infynon trace` | Preserve structured handoff notes, branch context, package ownership, and repo memory. |
|
|
23
|
-
| Agent task contracts | GCCD briefs | Turn vague AI work requests into Goal, Context, Constraints, and Done When. |
|
|
25
|
+
INFYNON gives developers a control layer for modern AI-assisted development:
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
- Check package risk before installation
|
|
28
|
+
- Audit dependency files and lockfiles
|
|
29
|
+
- Trace repo decisions and execution context
|
|
30
|
+
- Build and replay API workflows
|
|
31
|
+
- Manage AI-agent coding tasks across workspaces
|
|
32
|
+
- Coordinate Claude, Codex, Gemini, or other agents through task state
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Installation
|
|
26
37
|
|
|
27
38
|
```bash
|
|
28
|
-
npm
|
|
39
|
+
npm i -g infynon
|
|
29
40
|
```
|
|
30
41
|
|
|
31
|
-
|
|
42
|
+
Verify installation:
|
|
32
43
|
|
|
33
|
-
|
|
44
|
+
```bash
|
|
45
|
+
infynon --version
|
|
46
|
+
```
|
|
34
47
|
|
|
35
|
-
|
|
36
|
-
- Linux x64
|
|
37
|
-
- Linux arm64
|
|
38
|
-
- macOS x64
|
|
39
|
-
- macOS arm64
|
|
48
|
+
Other install paths:
|
|
40
49
|
|
|
41
|
-
|
|
50
|
+
```bash
|
|
51
|
+
go install github.com/d4rkNinja/infynon-cli/go/cmd/infynon@latest
|
|
52
|
+
curl -fsSL https://raw.githubusercontent.com/d4rkNinja/infynon-cli/main/install.sh | bash
|
|
53
|
+
```
|
|
42
54
|
|
|
43
|
-
|
|
55
|
+
Windows:
|
|
44
56
|
|
|
45
|
-
|
|
57
|
+
```powershell
|
|
58
|
+
irm https://raw.githubusercontent.com/d4rkNinja/infynon-cli/main/install.ps1 | iex
|
|
59
|
+
```
|
|
46
60
|
|
|
47
|
-
|
|
61
|
+
---
|
|
48
62
|
|
|
49
|
-
|
|
50
|
-
- `@infynon/cli-linux-x64`
|
|
51
|
-
- `@infynon/cli-linux-arm64`
|
|
52
|
-
- `@infynon/cli-darwin-x64`
|
|
53
|
-
- `@infynon/cli-darwin-arm64`
|
|
63
|
+
## Core Commands
|
|
54
64
|
|
|
55
|
-
|
|
65
|
+
INFYNON is built around a few major command groups:
|
|
66
|
+
|
|
67
|
+
| Command | Purpose |
|
|
68
|
+
|---|---|
|
|
69
|
+
| `pkg` | Package search, install verification, audits, dependency safety |
|
|
70
|
+
| `trace` | Repo memory, context, file/package/PR/branch tracking |
|
|
71
|
+
| `weave` | API workflow testing, replay, chained requests |
|
|
72
|
+
| `task` | AI task management and agent coordination |
|
|
73
|
+
| `workspace` | Workspace setup, routing, and agent root configuration |
|
|
74
|
+
| `coding` | Launch coding agents like Claude, Codex, Gemini |
|
|
75
|
+
| `soul` | Store stable user-level agent context |
|
|
76
|
+
| `doctor` | Diagnose installation and wrapper issues |
|
|
77
|
+
|
|
78
|
+
### Complete command map
|
|
79
|
+
|
|
80
|
+
Use this as the quick command checklist.
|
|
56
81
|
|
|
57
82
|
```bash
|
|
58
|
-
infynon --
|
|
59
|
-
infynon
|
|
60
|
-
infynon pkg
|
|
61
|
-
infynon pkg
|
|
62
|
-
infynon
|
|
63
|
-
infynon
|
|
64
|
-
infynon
|
|
83
|
+
infynon pkg scan [--output markdown|pdf|both] [--fix [level]] [--pkg-file <file>]
|
|
84
|
+
infynon pkg audit [--pkg-file <file>]
|
|
85
|
+
infynon pkg why <package> [--pkg-file <file>]
|
|
86
|
+
infynon pkg explain <package> [--ecosystem <name>] [--pkg-file <file>]
|
|
87
|
+
infynon pkg outdated [--pkg-file <file>]
|
|
88
|
+
infynon pkg diff <package> <version-a> <version-b> [--ecosystem <name>]
|
|
89
|
+
infynon pkg doctor [--pkg-file <file>]
|
|
90
|
+
infynon pkg size <package...> [--ecosystem <name>]
|
|
91
|
+
infynon pkg search <query> [--ecosystem <name>]
|
|
92
|
+
infynon pkg fix [--auto] [--pkg-file <file>]
|
|
93
|
+
infynon pkg clean [--pkg-file <file>]
|
|
94
|
+
infynon pkg migrate <from> <to>
|
|
95
|
+
infynon pkg eagle-eye setup|start|status|enable|disable
|
|
96
|
+
infynon pkg <npm|yarn|pnpm|bun|pip|uv|poetry|cargo|...> <package-manager-args>
|
|
65
97
|
```
|
|
66
98
|
|
|
67
|
-
|
|
99
|
+
```bash
|
|
100
|
+
infynon weave tui [flow-id]
|
|
101
|
+
infynon weave env list
|
|
102
|
+
infynon weave env set <key> <value>
|
|
103
|
+
infynon weave env get <key> [--reveal]
|
|
104
|
+
infynon weave env delete <key>
|
|
105
|
+
infynon weave node create [--ai <description>]
|
|
106
|
+
infynon weave node list
|
|
107
|
+
infynon weave node get <node-id>
|
|
108
|
+
infynon weave node clone <node-id> <new-id>
|
|
109
|
+
infynon weave node run <node-id> [--base-url <url>] [--set key=value] [--prompt]
|
|
110
|
+
infynon weave node export <node-id> [--format curl|json] [--base-url <url>]
|
|
111
|
+
infynon weave node remove <node-id>
|
|
112
|
+
infynon weave node assertion <node-id> list
|
|
113
|
+
infynon weave node assertion <node-id> add <check> [--on-fail stop|continue]
|
|
114
|
+
infynon weave node assertion <node-id> enable <index>
|
|
115
|
+
infynon weave node assertion <node-id> disable <index>
|
|
116
|
+
infynon weave node assertion <node-id> toggle <index>
|
|
117
|
+
infynon weave node assertion <node-id> remove <index>
|
|
118
|
+
infynon weave node prompt <node-id> list
|
|
119
|
+
infynon weave node prompt <node-id> add <var> [--label <label>] [--secret] [--default <value>] [--type text|secret|boolean|select|multiselect] [--options a,b,c]
|
|
120
|
+
infynon weave node prompt <node-id> remove <index>
|
|
121
|
+
infynon weave flow create <name> [--ai <description>]
|
|
122
|
+
infynon weave flow list
|
|
123
|
+
infynon weave flow show <flow-id>
|
|
124
|
+
infynon weave flow run <flow-id> [--base-url <url>] [--set key=value] [--format json|markdown|junit] [--output markdown|pdf|both] [--no-input]
|
|
125
|
+
infynon weave flow run-all [--base-url <url>] [--set key=value] [--format json|markdown|junit] [--output markdown|pdf|both] [--no-input]
|
|
126
|
+
infynon weave flow merge <flow-a> <flow-b> --join-at <node-id> [--name <name>]
|
|
127
|
+
infynon weave flow remove <flow-id>
|
|
128
|
+
infynon weave attach <from-node> <to-node> [--carry var1,var2] [--condition <expr>] [--ai]
|
|
129
|
+
infynon weave detach <from-node> <to-node>
|
|
130
|
+
infynon weave import <spec> [--flow <name>] [--base-url <url>] [--prefix <prefix>] [--dry-run]
|
|
131
|
+
infynon weave validate
|
|
132
|
+
infynon weave ai suggest --after <node-id>
|
|
133
|
+
infynon weave ai attach --after <node-id> [--flow <flow-id>]
|
|
134
|
+
infynon weave ai complete <flow-id>
|
|
135
|
+
infynon weave ai probe <flow-id> [--base-url <url>]
|
|
136
|
+
infynon weave ai build-flow --nodes <node-a,node-b> [--name <name>]
|
|
137
|
+
infynon weave ai explain <flow-id> [--run <index>]
|
|
138
|
+
infynon weave ai assert <node-id>
|
|
139
|
+
infynon weave ai branch <node-id>
|
|
140
|
+
```
|
|
68
141
|
|
|
69
|
-
|
|
142
|
+
```bash
|
|
143
|
+
infynon trace overview
|
|
144
|
+
infynon trace init [--repo <name>] [--owner <owner>] [--user <user>]
|
|
145
|
+
infynon trace source add-redis <id> --url <url> [--namespace <ns>] [--notes <text>] [--user <user>] [--default]
|
|
146
|
+
infynon trace source add-sql <id> --engine postgres|mysql|sqlite --url <url> [--database <db>] [--username <user>] [--password-env <env>] [--notes <text>] [--user <user>] [--default]
|
|
147
|
+
infynon trace source list
|
|
148
|
+
infynon trace source default <id>
|
|
149
|
+
infynon trace source remove <id>
|
|
150
|
+
infynon trace note add <id> --title <title> --body <body> [--layer canonical|team|user] [--scope repo|branch|pr|file|user|session|package] [--target <value>] [--author <name>] [--actor <name>] [--files a,b] [--tags a,b] [--related-pr <n>]
|
|
151
|
+
infynon trace note update <id> [--title <title>] [--body <body>] [--status <status>]
|
|
152
|
+
infynon trace note list
|
|
153
|
+
infynon trace note remove <id>
|
|
154
|
+
infynon trace retrieve [--layer <layer>] [--scope <scope>] [--target <value>] [--author <name>] [--file <path>] [--tag <tag>] [--format table|markdown|json] [--limit <n>]
|
|
155
|
+
infynon trace sync [--source <id>] [--direction pull|push|both]
|
|
156
|
+
infynon trace compact
|
|
157
|
+
infynon trace schema sql|redis
|
|
158
|
+
infynon trace tui
|
|
159
|
+
infynon trace graph build [--branch <branch>] [--all-branches]
|
|
160
|
+
infynon trace graph show [--branch <branch>] [--kind <kind>]
|
|
161
|
+
infynon trace graph entity add <name> --kind <kind> [--branch <branch>] [--meta key=value,key=value]
|
|
162
|
+
infynon trace graph entity list [--branch <branch>] [--kind <kind>]
|
|
163
|
+
infynon trace graph entity remove <id>
|
|
164
|
+
infynon trace graph edge add --from <entity> --to <entity> --relation <type> [--weight <0.0-1.0>] [--branch <branch>] [--evidence <text>]
|
|
165
|
+
infynon trace graph edge list [--branch <branch>] [--relation <type>]
|
|
166
|
+
infynon trace graph edge remove <id>
|
|
167
|
+
infynon trace graph path <from> <to> [--branch <branch>]
|
|
168
|
+
infynon trace graph impact <entity> [--branch <branch>]
|
|
169
|
+
infynon trace graph orphans [--branch <branch>]
|
|
170
|
+
infynon trace graph diff <branch-a> <branch-b>
|
|
171
|
+
infynon trace graph export [--format json|dot] [--branch <branch>] [-o <file>]
|
|
172
|
+
infynon trace graph import <file> [--format json] [--branch <branch>]
|
|
173
|
+
infynon trace graph tui [--branch <branch>]
|
|
174
|
+
```
|
|
70
175
|
|
|
71
176
|
```bash
|
|
72
|
-
infynon workspace
|
|
73
|
-
infynon workspace
|
|
177
|
+
infynon workspace create <name> --mutate [--folder-name <folder>] [--path <absolute-dir>] [--description <text>] [--default] [model flags]
|
|
178
|
+
infynon workspace list
|
|
179
|
+
infynon workspace show <name>
|
|
180
|
+
infynon workspace update <name> --mutate [--folder-name <folder>] [--path <absolute-dir>] [--description <text>] [--default] [model flags]
|
|
181
|
+
infynon workspace add-folder <name> --mutate --folder-name <folder> --path <absolute-dir>
|
|
182
|
+
infynon workspace remove-folder <name> --mutate --folder-name <folder>
|
|
183
|
+
infynon workspace remove <name> --mutate
|
|
184
|
+
infynon workspace agent-root-show
|
|
185
|
+
infynon workspace agent-root-set --mutate --path <absolute-dir>
|
|
186
|
+
```
|
|
74
187
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
188
|
+
```bash
|
|
189
|
+
infynon task create <id> --mutate [--workspace <name>] [--folder-name <folder>] [--agent <agent>] [--model <model>] [--thinking auto|low|medium|high|xhigh] [--prompt <text>] [--command <cmd>] [--pid <pid>] [--session-id <id>] [--notes <text>] [--result <text>] [--blocked-by <task-id>] [--blocked-reason <text>] [--status <status>]
|
|
190
|
+
infynon task list [--workspace <name>] [--status <status>] [--agent <agent>]
|
|
191
|
+
infynon task show <id>
|
|
192
|
+
infynon task update <id> --mutate [task metadata flags]
|
|
193
|
+
infynon task note <id> --mutate --text <text>
|
|
194
|
+
infynon task result <id> --mutate --text <text>
|
|
195
|
+
infynon task fork <new-id> --from <task-id> --mutate [task metadata flags]
|
|
196
|
+
infynon task start <id> --mutate [--pid <pid>] [--session-id <id>]
|
|
197
|
+
infynon task resume <id> --mutate [--session-id <id>] [--prompt <text>]
|
|
198
|
+
infynon task complete <id> --mutate [--notes <text>] [--result <text>] [--close-terminal] [--keep-terminal]
|
|
199
|
+
infynon task fail <id> --mutate [--reason <text>] [--result <text>] [--close-terminal] [--keep-terminal]
|
|
200
|
+
infynon task kill <id> --mutate [--pid <pid>] [--reason <text>] [--force]
|
|
201
|
+
infynon task remove <id> --mutate
|
|
202
|
+
```
|
|
81
203
|
|
|
204
|
+
```bash
|
|
82
205
|
infynon coding tui
|
|
206
|
+
infynon coding codex [--background true|false] [--cwd <path>] [-- <agent args>]
|
|
207
|
+
infynon coding claude [--background true|false] [--cwd <path>] [-- <agent args>]
|
|
208
|
+
infynon coding gemini [--background true|false] [--cwd <path>] [-- <agent args>]
|
|
209
|
+
infynon soul show
|
|
210
|
+
infynon soul update [--text <text>] [--file <path>]
|
|
211
|
+
infynon doctor npm
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## Package Safety: `pkg`
|
|
217
|
+
|
|
218
|
+
Use `pkg` to search, verify, audit, and manage dependencies safely.
|
|
219
|
+
|
|
220
|
+
### Search packages
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
infynon pkg search react
|
|
224
|
+
infynon pkg search fastapi --ecosystem pypi
|
|
83
225
|
```
|
|
84
226
|
|
|
85
|
-
|
|
227
|
+
Search works across supported ecosystems and helps compare packages using stronger trust signals.
|
|
86
228
|
|
|
87
|
-
|
|
88
|
-
- Codex, Claude Code, and Gemini CLI sessions launched from the right workspace
|
|
89
|
-
- task retries where context and completion criteria must stay intact
|
|
90
|
-
- reviewable handoffs between agents and humans
|
|
229
|
+
### Install with verification
|
|
91
230
|
|
|
92
|
-
|
|
231
|
+
```bash
|
|
232
|
+
infynon pkg npm install axios
|
|
233
|
+
infynon pkg uv add fastapi
|
|
234
|
+
infynon pkg cargo add serde
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
INFYNON checks package risk before execution, not after.
|
|
93
238
|
|
|
94
|
-
|
|
239
|
+
### Scan dependency files
|
|
95
240
|
|
|
96
241
|
```bash
|
|
97
242
|
infynon pkg scan
|
|
243
|
+
infynon pkg scan --pkg-file package-lock.json
|
|
244
|
+
infynon pkg scan --pkg-file uv.lock
|
|
245
|
+
infynon pkg scan --json
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### Auto-fix vulnerable packages
|
|
249
|
+
|
|
250
|
+
```bash
|
|
251
|
+
infynon pkg scan --fix
|
|
252
|
+
infynon pkg scan --fix high
|
|
253
|
+
infynon pkg fix --auto
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
### Other useful package commands
|
|
257
|
+
|
|
258
|
+
```bash
|
|
98
259
|
infynon pkg audit
|
|
99
|
-
infynon pkg
|
|
260
|
+
infynon pkg outdated
|
|
261
|
+
infynon pkg why <package>
|
|
262
|
+
infynon pkg explain <package>
|
|
263
|
+
infynon pkg diff <package> <version-a> <version-b>
|
|
264
|
+
infynon pkg size <package>
|
|
265
|
+
infynon pkg doctor
|
|
266
|
+
infynon pkg clean
|
|
267
|
+
infynon pkg migrate <from> <to>
|
|
268
|
+
infynon pkg eagle-eye setup
|
|
100
269
|
```
|
|
101
270
|
|
|
102
|
-
|
|
271
|
+
Global package flags:
|
|
103
272
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
-
|
|
107
|
-
|
|
273
|
+
```bash
|
|
274
|
+
--strict [level]
|
|
275
|
+
--pkg-file <path>
|
|
276
|
+
--json
|
|
277
|
+
--no-input
|
|
278
|
+
--yes
|
|
279
|
+
--skip-vulnerable
|
|
280
|
+
--auto-fix
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
## API Workflow Testing: `weave`
|
|
108
286
|
|
|
109
|
-
|
|
287
|
+
Use `weave` to build, run, save, and replay API flows from the terminal.
|
|
110
288
|
|
|
111
|
-
|
|
289
|
+
Good for testing real backend flows like:
|
|
290
|
+
|
|
291
|
+
- Login
|
|
292
|
+
- Fetch profile
|
|
293
|
+
- Create resource
|
|
294
|
+
- Pass token to the next request
|
|
295
|
+
- Use a response ID in another request
|
|
296
|
+
- Replay the full flow safely in CI
|
|
297
|
+
|
|
298
|
+
Set shared environment values:
|
|
112
299
|
|
|
113
300
|
```bash
|
|
114
|
-
infynon weave env set BASE_URL http://localhost:
|
|
115
|
-
infynon weave
|
|
301
|
+
infynon weave env set BASE_URL http://localhost:8000
|
|
302
|
+
infynon weave env list
|
|
116
303
|
```
|
|
117
304
|
|
|
118
|
-
|
|
305
|
+
Create and inspect nodes:
|
|
119
306
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
307
|
+
```bash
|
|
308
|
+
infynon weave node create
|
|
309
|
+
infynon weave node create --ai "POST /auth/login extracts token"
|
|
310
|
+
infynon weave node list
|
|
311
|
+
infynon weave node get <node-id>
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
Run one node:
|
|
315
|
+
|
|
316
|
+
```bash
|
|
317
|
+
infynon weave node run <node-id>
|
|
318
|
+
infynon weave node run <node-id> --base-url http://localhost:8000
|
|
319
|
+
infynon weave node run <node-id> --set token=abc123
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
Create and run flows:
|
|
323
|
+
|
|
324
|
+
```bash
|
|
325
|
+
infynon weave flow create auth-flow
|
|
326
|
+
infynon weave flow create auth-flow --ai "login then get profile"
|
|
327
|
+
infynon weave flow list
|
|
328
|
+
infynon weave flow show <flow-id>
|
|
329
|
+
infynon weave flow run <flow-id>
|
|
330
|
+
infynon weave flow run <flow-id> --format json --no-input
|
|
331
|
+
infynon weave flow run-all --format junit --no-input
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
Assertions and runtime prompts:
|
|
335
|
+
|
|
336
|
+
```bash
|
|
337
|
+
infynon weave node assertion <node-id> add "status == 200"
|
|
338
|
+
infynon weave node assertion <node-id> list
|
|
339
|
+
infynon weave node prompt <node-id> add otp --label "OTP code" --type text
|
|
340
|
+
infynon weave node prompt <node-id> list
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
Security and AI helpers:
|
|
124
344
|
|
|
125
|
-
|
|
345
|
+
```bash
|
|
346
|
+
infynon weave ai probe <flow-id>
|
|
347
|
+
infynon weave ai explain <flow-id>
|
|
348
|
+
infynon weave ai build-flow --nodes login,get-profile --name auth-flow
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
Open the API flow TUI:
|
|
352
|
+
|
|
353
|
+
```bash
|
|
354
|
+
infynon weave tui
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
---
|
|
126
358
|
|
|
127
|
-
|
|
359
|
+
## Repo Memory: `trace`
|
|
360
|
+
|
|
361
|
+
Use `trace` to remember why something changed, not just what changed.
|
|
362
|
+
|
|
363
|
+
Useful for tracking:
|
|
364
|
+
|
|
365
|
+
- Packages
|
|
366
|
+
- Files
|
|
367
|
+
- Branches
|
|
368
|
+
- Pull requests
|
|
369
|
+
- Repo decisions
|
|
370
|
+
- AI-generated changes
|
|
371
|
+
- Context behind implementation
|
|
372
|
+
|
|
373
|
+
Initialize Trace:
|
|
128
374
|
|
|
129
375
|
```bash
|
|
130
376
|
infynon trace init
|
|
131
|
-
infynon trace
|
|
377
|
+
infynon trace overview
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
Create notes:
|
|
381
|
+
|
|
382
|
+
```bash
|
|
383
|
+
infynon trace note add auth-change --title "Auth changed" --body "Refresh logic moved into middleware."
|
|
384
|
+
infynon trace note add package-risk --title "Package risk" --body "Review before next release." --scope package --target serde_json
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
List, update, and remove notes:
|
|
388
|
+
|
|
389
|
+
```bash
|
|
390
|
+
infynon trace note list
|
|
391
|
+
infynon trace note update auth-change --status stale
|
|
392
|
+
infynon trace note remove auth-change
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
Retrieve context:
|
|
396
|
+
|
|
397
|
+
```bash
|
|
398
|
+
infynon trace retrieve --scope branch --target feature/auth
|
|
399
|
+
infynon trace retrieve --scope package --target serde_json
|
|
400
|
+
infynon trace retrieve --file src/auth.rs
|
|
401
|
+
infynon trace retrieve --format markdown --limit 5
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
Sync and inspect:
|
|
405
|
+
|
|
406
|
+
```bash
|
|
407
|
+
infynon trace sync --direction both
|
|
408
|
+
infynon trace compact
|
|
409
|
+
infynon trace schema sql
|
|
410
|
+
infynon trace schema redis
|
|
132
411
|
infynon trace tui
|
|
133
412
|
```
|
|
134
413
|
|
|
135
|
-
|
|
414
|
+
Knowledge graph:
|
|
415
|
+
|
|
416
|
+
```bash
|
|
417
|
+
infynon trace graph build
|
|
418
|
+
infynon trace graph show
|
|
419
|
+
infynon trace graph entity add src/auth.rs --kind file
|
|
420
|
+
infynon trace graph edge add --from src/auth.rs --to serde_json --relation depends_on
|
|
421
|
+
infynon trace graph path <from> <to>
|
|
422
|
+
infynon trace graph impact src/auth.rs
|
|
423
|
+
infynon trace graph diff main feature/auth
|
|
424
|
+
infynon trace graph export --format dot -o graph.dot
|
|
425
|
+
infynon trace graph tui
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
---
|
|
136
429
|
|
|
137
|
-
|
|
138
|
-
- package ownership context
|
|
139
|
-
- team notes
|
|
140
|
-
- AI-assisted coding sessions that need durable memory
|
|
430
|
+
## AI Task Management: `task`
|
|
141
431
|
|
|
142
|
-
|
|
432
|
+
Use `task` to create, assign, track, block, fork, resume, and complete coding tasks.
|
|
143
433
|
|
|
144
|
-
|
|
434
|
+
This is useful when using multiple AI agents as subagents.
|
|
145
435
|
|
|
146
|
-
|
|
147
|
-
- Context: the project, files, APIs, or decisions the agent needs to know
|
|
148
|
-
- Constraints: boundaries the agent must respect
|
|
149
|
-
- Done When: the checks that prove the task is complete
|
|
436
|
+
### Create task
|
|
150
437
|
|
|
151
438
|
```bash
|
|
152
|
-
infynon task create
|
|
153
|
-
--mutate \
|
|
154
|
-
--workspace ./apps/web \
|
|
155
|
-
--agent codex \
|
|
156
|
-
--prompt "Build the settings page using existing UI components. Do not modify auth logic. Typecheck must pass."
|
|
439
|
+
infynon task create <task-id> --mutate --workspace <workspace> --prompt "Review the authentication module."
|
|
157
440
|
```
|
|
158
441
|
|
|
159
|
-
|
|
442
|
+
Assign the task during creation:
|
|
160
443
|
|
|
161
|
-
|
|
162
|
-
-
|
|
163
|
-
-
|
|
444
|
+
```bash
|
|
445
|
+
infynon task create <task-id> --mutate --workspace <workspace> --agent claude --prompt "Review auth code."
|
|
446
|
+
infynon task create <task-id> --mutate --workspace <workspace> --agent codex --prompt "Implement the focused fix."
|
|
447
|
+
infynon task create <task-id> --mutate --workspace <workspace> --agent gemini --prompt "Review edge cases."
|
|
448
|
+
```
|
|
164
449
|
|
|
165
|
-
|
|
450
|
+
If `--agent` is `claude`, `codex`, or `gemini`, INFYNON can start the agent task immediately. Use `--status queued` to create the task without launching it.
|
|
166
451
|
|
|
167
|
-
|
|
452
|
+
### List tasks
|
|
168
453
|
|
|
169
|
-
```
|
|
170
|
-
|
|
454
|
+
```bash
|
|
455
|
+
infynon task list
|
|
456
|
+
infynon task list --workspace <workspace>
|
|
457
|
+
infynon task list --status running
|
|
458
|
+
infynon task list --agent codex
|
|
171
459
|
```
|
|
172
460
|
|
|
173
|
-
|
|
461
|
+
### Show task details
|
|
174
462
|
|
|
175
463
|
```bash
|
|
176
|
-
|
|
464
|
+
infynon task show <task-id>
|
|
177
465
|
```
|
|
178
466
|
|
|
179
|
-
|
|
467
|
+
### Update task metadata
|
|
180
468
|
|
|
181
|
-
```
|
|
182
|
-
|
|
469
|
+
```bash
|
|
470
|
+
infynon task update <task-id> --mutate --status running
|
|
471
|
+
infynon task update <task-id> --mutate --model gpt-5.5 --thinking high
|
|
472
|
+
infynon task update <task-id> --mutate --session-id <session-id>
|
|
183
473
|
```
|
|
184
474
|
|
|
185
|
-
|
|
475
|
+
### Add task note
|
|
186
476
|
|
|
187
477
|
```bash
|
|
188
|
-
|
|
478
|
+
infynon task note <task-id> --mutate --text "Blocked on CI output."
|
|
189
479
|
```
|
|
190
480
|
|
|
191
|
-
|
|
481
|
+
Task notes can be used by subagents or the main agent to understand updates, blockers, and execution context.
|
|
192
482
|
|
|
193
|
-
|
|
483
|
+
### Add task result
|
|
194
484
|
|
|
195
|
-
```
|
|
196
|
-
|
|
485
|
+
```bash
|
|
486
|
+
infynon task result <task-id> --mutate --text "Found one auth edge case."
|
|
197
487
|
```
|
|
198
488
|
|
|
199
|
-
|
|
489
|
+
### Resume task
|
|
490
|
+
|
|
491
|
+
```bash
|
|
492
|
+
infynon task resume <task-id> --mutate --session-id <session-id> --prompt "Continue with the next failing test."
|
|
493
|
+
```
|
|
494
|
+
|
|
495
|
+
### Mark task complete
|
|
496
|
+
|
|
497
|
+
```bash
|
|
498
|
+
infynon task complete <task-id> --mutate --result "Task completed with findings recorded."
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
### Mark task failed
|
|
502
|
+
|
|
503
|
+
```bash
|
|
504
|
+
infynon task fail <task-id> --mutate --reason "Blocked by missing environment variables."
|
|
505
|
+
```
|
|
506
|
+
|
|
507
|
+
### Block task
|
|
508
|
+
|
|
509
|
+
Block during create or update:
|
|
510
|
+
|
|
511
|
+
```bash
|
|
512
|
+
infynon task create <task-id> --mutate --workspace <workspace> --blocked-by <other-task-id> --blocked-reason "Waiting for backend task."
|
|
513
|
+
infynon task update <task-id> --mutate --blocked-by <other-task-id> --blocked-reason "Waiting for backend task."
|
|
514
|
+
```
|
|
515
|
+
|
|
516
|
+
### Fork task
|
|
517
|
+
|
|
518
|
+
```bash
|
|
519
|
+
infynon task fork <child-task-id> --from <parent-task-id> --mutate --agent codex --prompt "Handle the backend slice only."
|
|
520
|
+
```
|
|
521
|
+
|
|
522
|
+
### TUI
|
|
523
|
+
|
|
524
|
+
INFYNON includes a TUI for workspace and task management:
|
|
525
|
+
|
|
526
|
+
```bash
|
|
527
|
+
infynon coding tui
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
---
|
|
531
|
+
|
|
532
|
+
## GCCD Task Format
|
|
533
|
+
|
|
534
|
+
INFYNON tasks work best with the GCCD format:
|
|
535
|
+
|
|
536
|
+
```md
|
|
537
|
+
Goal:
|
|
538
|
+
What needs to be done.
|
|
539
|
+
|
|
540
|
+
Constraint:
|
|
541
|
+
Rules, limits, files to avoid, style, framework, security boundaries.
|
|
542
|
+
|
|
543
|
+
Context:
|
|
544
|
+
Current project state, related files, existing behavior, previous notes.
|
|
545
|
+
|
|
546
|
+
Done When:
|
|
547
|
+
Clear completion condition.
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
Example:
|
|
551
|
+
|
|
552
|
+
```md
|
|
553
|
+
Goal:
|
|
554
|
+
Review the authentication module and find possible bugs.
|
|
555
|
+
|
|
556
|
+
Constraint:
|
|
557
|
+
Do not rewrite the whole module. Only suggest minimal safe fixes.
|
|
558
|
+
|
|
559
|
+
Context:
|
|
560
|
+
This is a NestJS backend using JWT-based auth and role permissions.
|
|
561
|
+
|
|
562
|
+
Done When:
|
|
563
|
+
List confirmed bugs, risky patterns, and safe patch suggestions.
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
---
|
|
567
|
+
|
|
568
|
+
## Workspace Management
|
|
569
|
+
|
|
570
|
+
INFYNON supports multiple workspaces and agent roots.
|
|
571
|
+
|
|
572
|
+
```bash
|
|
573
|
+
infynon workspace list
|
|
574
|
+
infynon workspace show <name>
|
|
575
|
+
infynon workspace create <name> --mutate --folder-name <folder> --path <path>
|
|
576
|
+
infynon workspace update <name> --mutate --description "Primary workspace"
|
|
577
|
+
infynon workspace add-folder <name> --mutate --folder-name <folder> --path <path>
|
|
578
|
+
infynon workspace remove-folder <name> --mutate --folder-name <folder>
|
|
579
|
+
infynon workspace remove <name> --mutate
|
|
580
|
+
infynon workspace agent-root-show
|
|
581
|
+
infynon workspace agent-root-set --mutate --path <path>
|
|
582
|
+
```
|
|
583
|
+
|
|
584
|
+
Example:
|
|
585
|
+
|
|
586
|
+
```bash
|
|
587
|
+
infynon workspace create app --mutate --folder-name backend --path D:\Codeverse\app --default
|
|
588
|
+
infynon workspace agent-root-set --mutate --path D:\infyn
|
|
589
|
+
```
|
|
590
|
+
|
|
591
|
+
Workspace model slots:
|
|
592
|
+
|
|
593
|
+
```bash
|
|
594
|
+
--lite-model <model>
|
|
595
|
+
--frontier-model <model>
|
|
596
|
+
--highest-frontier-model <model>
|
|
597
|
+
--super-lite-model <model>
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
---
|
|
601
|
+
|
|
602
|
+
## Launch Coding Agents
|
|
603
|
+
|
|
604
|
+
INFYNON can launch coding agents from the terminal.
|
|
605
|
+
|
|
606
|
+
```bash
|
|
607
|
+
infynon coding claude
|
|
608
|
+
infynon coding codex
|
|
609
|
+
infynon coding gemini
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
Use this with tasks to create cleaner AI-agent workflows.
|
|
613
|
+
|
|
614
|
+
Optional launch flags:
|
|
615
|
+
|
|
616
|
+
```bash
|
|
617
|
+
infynon coding codex --cwd D:/Codeverse/app
|
|
618
|
+
infynon coding claude --background true
|
|
619
|
+
infynon coding gemini -- --debug
|
|
620
|
+
```
|
|
621
|
+
|
|
622
|
+
---
|
|
623
|
+
|
|
624
|
+
## Multi-Agent Workflow
|
|
625
|
+
|
|
626
|
+
INFYNON can be used as a coordination layer for AI coding agents.
|
|
627
|
+
|
|
628
|
+
Example flow:
|
|
629
|
+
|
|
630
|
+
```bash
|
|
631
|
+
infynon workspace create app --mutate --folder-name backend --path D:/Codeverse/app --default
|
|
632
|
+
infynon task create parent-task --mutate --workspace app --prompt "Review and fix auth risk."
|
|
633
|
+
infynon task fork backend-task --from parent-task --mutate --agent codex --folder-name backend --prompt "Implement the backend fix only."
|
|
634
|
+
infynon task fork review-task --from parent-task --mutate --agent gemini --folder-name backend --status queued --prompt "Review backend-task after it finishes."
|
|
635
|
+
infynon task note backend-task --mutate --text "Backend worker started."
|
|
636
|
+
infynon task result backend-task --mutate --text "Patch completed."
|
|
637
|
+
infynon task complete backend-task --mutate --result "Backend fix completed."
|
|
638
|
+
infynon task start review-task --mutate
|
|
639
|
+
```
|
|
640
|
+
|
|
641
|
+
Recommended model:
|
|
642
|
+
|
|
643
|
+
- Main agent owns the parent task
|
|
644
|
+
- Child agents handle focused subtasks
|
|
645
|
+
- Every subtask has a real task record
|
|
646
|
+
- Notes and results are added back into INFYNON
|
|
647
|
+
- Main agent reviews before completion
|
|
648
|
+
|
|
649
|
+
---
|
|
650
|
+
|
|
651
|
+
## Example Use Cases
|
|
652
|
+
|
|
653
|
+
### Secure package install
|
|
654
|
+
|
|
655
|
+
```bash
|
|
656
|
+
infynon pkg npm install express
|
|
657
|
+
```
|
|
658
|
+
|
|
659
|
+
### Audit a lockfile
|
|
660
|
+
|
|
661
|
+
```bash
|
|
662
|
+
infynon pkg scan --pkg-file package-lock.json
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
### Test API login flow
|
|
666
|
+
|
|
667
|
+
```bash
|
|
668
|
+
infynon weave flow run auth-flow --format json --no-input
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
### Create code review task
|
|
672
|
+
|
|
673
|
+
```bash
|
|
674
|
+
infynon task create review-auth --mutate --workspace app --agent gemini --prompt "Review auth module for bugs."
|
|
675
|
+
```
|
|
676
|
+
|
|
677
|
+
### Launch Claude Code inside workspace
|
|
678
|
+
|
|
679
|
+
```bash
|
|
680
|
+
infynon coding claude --cwd D:/Codeverse/app
|
|
681
|
+
```
|
|
682
|
+
|
|
683
|
+
---
|
|
684
|
+
|
|
685
|
+
## Security Philosophy
|
|
686
|
+
|
|
687
|
+
INFYNON treats package installation and AI-generated execution as trust boundaries.
|
|
688
|
+
|
|
689
|
+
The goal is simple:
|
|
690
|
+
|
|
691
|
+
```txt
|
|
692
|
+
Do not blindly install.
|
|
693
|
+
Do not blindly execute.
|
|
694
|
+
Do not lose context.
|
|
695
|
+
Do not trust AI-generated dependency changes without verification.
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
INFYNON helps developers add control before damage happens.
|
|
699
|
+
|
|
700
|
+
---
|
|
701
|
+
|
|
702
|
+
## Roadmap
|
|
703
|
+
|
|
704
|
+
- Better multi-agent orchestration
|
|
705
|
+
- Stronger task lifecycle management
|
|
706
|
+
- More package ecosystem support
|
|
707
|
+
- Improved package trust scoring
|
|
708
|
+
- Better workflow replay and API security probes
|
|
709
|
+
- Deeper AI coding agent integrations
|
|
710
|
+
- Better workspace-level memory and traceability
|
|
711
|
+
|
|
712
|
+
---
|
|
713
|
+
|
|
714
|
+
## Links
|
|
715
|
+
|
|
716
|
+
- Website: [https://cli.infynon.com](https://cli.infynon.com)
|
|
717
|
+
- GitHub: [https://github.com/d4rkNinja/infynon-cli](https://github.com/d4rkNinja/infynon-cli)
|
|
718
|
+
- npm: [https://www.npmjs.com/package/infynon](https://www.npmjs.com/package/infynon)
|
|
719
|
+
- Docs: [https://cli.infynon.com/docs](https://cli.infynon.com/docs)
|
|
720
|
+
- Docs home: [docs/README.md](docs/README.md)
|
|
721
|
+
- Command overview: [docs/commands/overview.md](docs/commands/overview.md)
|
|
722
|
+
- Package safety: [docs/commands/pkg.md](docs/commands/pkg.md)
|
|
723
|
+
- API workflows: [docs/commands/weave.md](docs/commands/weave.md)
|
|
724
|
+
- Repo trace: [docs/commands/trace.md](docs/commands/trace.md)
|
|
725
|
+
- AI tasks: [docs/commands/task.md](docs/commands/task.md)
|
|
726
|
+
- Workspaces: [docs/commands/workspace.md](docs/commands/workspace.md)
|
|
727
|
+
- Coding agents: [docs/commands/coding.md](docs/commands/coding.md)
|
|
728
|
+
|
|
729
|
+
Install:
|
|
730
|
+
|
|
731
|
+
```bash
|
|
732
|
+
npm i -g infynon
|
|
733
|
+
```
|
|
200
734
|
|
|
201
|
-
|
|
202
|
-
- Agent control plane: https://github.com/d4rkNinja/infynon-cli/blob/main/docs/agent-control-plane.md
|
|
203
|
-
- AI agent workflow: https://github.com/d4rkNinja/infynon-cli/blob/main/docs/ai-agent-workflow.md
|
|
204
|
-
- GCCD task contracts: https://github.com/d4rkNinja/infynon-cli/blob/main/docs/gccd.md
|
|
205
|
-
- npm install: https://github.com/d4rkNinja/infynon-cli/blob/main/docs/npm-install.md
|
|
206
|
-
- Windows troubleshooting: https://github.com/d4rkNinja/infynon-cli/blob/main/docs/windows-troubleshooting.md
|
|
207
|
-
- Releases: https://github.com/d4rkNinja/infynon-cli/releases
|
|
208
|
-
- Issues: https://github.com/d4rkNinja/infynon-cli/issues
|
|
735
|
+
---
|
|
209
736
|
|
|
210
|
-
##
|
|
737
|
+
## License
|
|
211
738
|
|
|
212
|
-
|
|
739
|
+
MIT License. See [LICENSE](LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "infynon",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "Security-first CLI for AI-assisted development: safe package installs, dependency scanning, API flow testing, and agent task orchestration.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"infynon": "run.js",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"preuninstall.js"
|
|
16
16
|
],
|
|
17
17
|
"optionalDependencies": {
|
|
18
|
-
"@infynon/cli-win32-x64": "0.2.
|
|
19
|
-
"@infynon/cli-linux-x64": "0.2.
|
|
20
|
-
"@infynon/cli-linux-arm64": "0.2.
|
|
21
|
-
"@infynon/cli-darwin-x64": "0.2.
|
|
22
|
-
"@infynon/cli-darwin-arm64": "0.2.
|
|
18
|
+
"@infynon/cli-win32-x64": "0.2.9",
|
|
19
|
+
"@infynon/cli-linux-x64": "0.2.9",
|
|
20
|
+
"@infynon/cli-linux-arm64": "0.2.9",
|
|
21
|
+
"@infynon/cli-darwin-x64": "0.2.9",
|
|
22
|
+
"@infynon/cli-darwin-arm64": "0.2.9"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": "\u003e=18"
|