@nyex/nyex 1.2.5 → 1.3.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/README.md +204 -239
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,239 +1,204 @@
|
|
|
1
|
-
# NYEX
|
|
2
|
-
|
|
3
|
-
NYEX is a terminal-first
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
>
|
|
7
|
-
> - **
|
|
8
|
-
> - **
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
- `
|
|
47
|
-
- `
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
###
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
nyex
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
-
|
|
194
|
-
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
### Provider not connected
|
|
206
|
-
Use `/providers` to connect (OpenAI/Gemini/Claude). NYEX won’t dispatch to a disconnected provider.
|
|
207
|
-
|
|
208
|
-
### Auth endpoint shows unreachable
|
|
209
|
-
Check `/doctor` and confirm:
|
|
210
|
-
- `Auth endpoint reachable`
|
|
211
|
-
- Your network allows `https://auth.nyex.ai`
|
|
212
|
-
|
|
213
|
-
---
|
|
214
|
-
|
|
215
|
-
## Security and guardrails
|
|
216
|
-
|
|
217
|
-
NYEX is built with “keep main green” discipline:
|
|
218
|
-
- leak-scan strict mode
|
|
219
|
-
- deterministic routing traces
|
|
220
|
-
- clear status/doctor reporting
|
|
221
|
-
|
|
222
|
-
---
|
|
223
|
-
|
|
224
|
-
## Links
|
|
225
|
-
|
|
226
|
-
- Install: https://www.npmjs.com/package/@nyex/nyex
|
|
227
|
-
- Auth: https://auth.nyex.ai
|
|
228
|
-
- Status: https://auth.nyex.ai/health
|
|
229
|
-
- Website: https://nyex.ai
|
|
230
|
-
|
|
231
|
-
---
|
|
232
|
-
|
|
233
|
-
## License
|
|
234
|
-
|
|
235
|
-
See repository license.
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
Digilabs Company Australia © NYEX AI Platform. All rights reserved. AIC Pty Ltd (ACN 082 378 256)
|
|
239
|
-
|
|
1
|
+
# NYEX
|
|
2
|
+
|
|
3
|
+
**NYEX is a terminal-first agent runtime for production software work.**
|
|
4
|
+
It provides deterministic role-based execution, policy-aware control, and traceable runtime behavior across providers and models.
|
|
5
|
+
|
|
6
|
+
> **Defaults (v1.3.0)**
|
|
7
|
+
> - **Strict Cloud Mode: ON** (cloud failures do not silently fall back to local)
|
|
8
|
+
> - **Local Mode: OFF** (local proxy is disabled unless explicitly enabled)
|
|
9
|
+
> - **Capability Apps: OFF by default** (install + explicit enable required)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm i -g @nyex/nyex
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Verify:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
nyex --version
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Quick Start
|
|
28
|
+
|
|
29
|
+
### 1) Launch NYEX
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
nyex
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### 2) Follow in-app onboarding
|
|
36
|
+
|
|
37
|
+
- NYEX account sign-in
|
|
38
|
+
- entitlement/plan selection
|
|
39
|
+
- provider connection
|
|
40
|
+
- model selection
|
|
41
|
+
|
|
42
|
+
### 3) Validate runtime state in NYEX TUI
|
|
43
|
+
|
|
44
|
+
Run these inside NYEX:
|
|
45
|
+
|
|
46
|
+
- `/status`
|
|
47
|
+
- `/doctor`
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Providers, Roles, Models
|
|
52
|
+
|
|
53
|
+
NYEX executes through deterministic runtime roles. Typical roles include:
|
|
54
|
+
|
|
55
|
+
- `primary`
|
|
56
|
+
- `planner`
|
|
57
|
+
- `tool_exec`
|
|
58
|
+
- `summarizer`
|
|
59
|
+
- `validator`
|
|
60
|
+
|
|
61
|
+
Role routing is provider/model mapped per role.
|
|
62
|
+
In runtime config, the primary route maps to the core chat role; in routing traces this is surfaced as `primary`.
|
|
63
|
+
|
|
64
|
+
Configure from inside NYEX:
|
|
65
|
+
|
|
66
|
+
- `/providers` to connect/manage provider auth
|
|
67
|
+
- `/models` to inspect and set model mappings
|
|
68
|
+
- `/settings` to tune runtime behavior and modes
|
|
69
|
+
|
|
70
|
+
If provider auth or entitlement is missing, onboarding and diagnostics make this explicit.
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## What's New in 1.3.0
|
|
75
|
+
|
|
76
|
+
NYEX 1.3.0 formalizes the Capability App runtime slice in NYEX Core.
|
|
77
|
+
|
|
78
|
+
- Capability Apps are separate installable app releases (`.nyexpack`)
|
|
79
|
+
- Capability Apps are not bundled into NYEX Core payload
|
|
80
|
+
- Runtime surfaces include install/list/show/enable lifecycle and supervisor controls
|
|
81
|
+
- Deterministic non-TTY capability operations are supported
|
|
82
|
+
|
|
83
|
+
Version:
|
|
84
|
+
|
|
85
|
+
- `@nyex/nyex@1.3.0`
|
|
86
|
+
- `@nyex/nyex-win32-x64-msvc@1.3.0`
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Core Runtime Capabilities
|
|
91
|
+
|
|
92
|
+
- Deterministic multi-role orchestration
|
|
93
|
+
- Planner-first decomposition for long or multi-step tasks
|
|
94
|
+
- Structured planner artifact handoff contract
|
|
95
|
+
- Trace-first diagnostics (`/status`, `/doctor`, `/trace`, `/signals explain`)
|
|
96
|
+
- Validator invariants (pre-final, no-tools)
|
|
97
|
+
- Canonical tool descriptors and lifecycle-normalized outcomes
|
|
98
|
+
- Descriptor-driven permission enforcement with explicit denial reasons
|
|
99
|
+
- Session continuity and resume flows
|
|
100
|
+
- Strict-cloud default posture with explicit local-mode opt-in
|
|
101
|
+
- Entitlement-first access gating for productive runtime use
|
|
102
|
+
- Capability App runtime host/operator controls
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Runtime Modes
|
|
107
|
+
|
|
108
|
+
### Strict Cloud Mode (default)
|
|
109
|
+
|
|
110
|
+
When primary execution is cloud-backed and fails (auth/rate/network), NYEX does not silently switch to local providers.
|
|
111
|
+
|
|
112
|
+
### Local Mode (opt-in)
|
|
113
|
+
|
|
114
|
+
Local bridge/proxy is disabled by default and only activates when explicitly enabled.
|
|
115
|
+
|
|
116
|
+
Enable via `/settings` (recommended), or CLI override:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
nyex -c runtime_modes.local_mode_enabled=true exec "hello"
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Useful Commands (inside NYEX)
|
|
125
|
+
|
|
126
|
+
- `/settings` - runtime mode and behavior controls
|
|
127
|
+
- `/providers` - connect/manage providers
|
|
128
|
+
- `/models` - discover and assign models per role
|
|
129
|
+
- `/status` - auth/routing/runtime visibility
|
|
130
|
+
- `/doctor` - diagnostics and readiness checks
|
|
131
|
+
- `/signals explain` - routing and decision explanation
|
|
132
|
+
- `/tools` and `/tools show <tool_id>` - tool visibility and contracts
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Troubleshooting
|
|
137
|
+
|
|
138
|
+
### I see localhost/127.0.0.1 calls unexpectedly
|
|
139
|
+
|
|
140
|
+
- Check `/status` and verify local mode is disabled
|
|
141
|
+
- Confirm proxy is disabled
|
|
142
|
+
- Disable Local Mode in `/settings` if needed
|
|
143
|
+
|
|
144
|
+
### I am blocked by login or onboarding state
|
|
145
|
+
|
|
146
|
+
- Launch `nyex`
|
|
147
|
+
- Complete onboarding (sign-in, entitlement/plan, provider, model)
|
|
148
|
+
- Re-check `/status` and `/doctor`
|
|
149
|
+
|
|
150
|
+
### Provider not connected
|
|
151
|
+
|
|
152
|
+
Use `/providers` to complete provider auth, then verify with `/status`.
|
|
153
|
+
|
|
154
|
+
### Auth endpoint unreachable
|
|
155
|
+
|
|
156
|
+
Use `/doctor` and confirm network access to:
|
|
157
|
+
|
|
158
|
+
- `https://auth.nyex.ai`
|
|
159
|
+
|
|
160
|
+
### Windows install fails with EPERM/TAR_ENTRY_ERROR on nyex.exe
|
|
161
|
+
|
|
162
|
+
This is usually antivirus lock/quarantine during npm extraction.
|
|
163
|
+
|
|
164
|
+
Recommended recovery:
|
|
165
|
+
|
|
166
|
+
```powershell
|
|
167
|
+
npm uninstall -g @nyex/nyex @nyex/nyex-win32-x64-msvc
|
|
168
|
+
npm cache clean --force
|
|
169
|
+
npm i -g @nyex/nyex
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
If it persists:
|
|
173
|
+
|
|
174
|
+
- restore file from AV quarantine
|
|
175
|
+
- add allow rules for npm global directory and `nyex.exe`
|
|
176
|
+
- retry install and verify with `nyex --version`
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## Security and Guardrails
|
|
181
|
+
|
|
182
|
+
NYEX emphasizes runtime truth and controlled execution:
|
|
183
|
+
|
|
184
|
+
- deterministic routing traces
|
|
185
|
+
- explicit diagnostics surfaces
|
|
186
|
+
- policy/approval boundaries
|
|
187
|
+
- leak-scan and release hardening discipline
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Links
|
|
192
|
+
|
|
193
|
+
- Install: https://www.npmjs.com/package/@nyex/nyex
|
|
194
|
+
- Auth: https://auth.nyex.ai
|
|
195
|
+
- Health: https://auth.nyex.ai/health
|
|
196
|
+
- Website: https://nyex.ai
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## License
|
|
201
|
+
|
|
202
|
+
See repository license.
|
|
203
|
+
|
|
204
|
+
Digilabs Company Australia © NYEX AI Platform. All rights reserved. AIC Pty Ltd (ACN 082 378 256)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyex/nyex",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Nyex CLI (private beta)",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"homepage": "https://www.npmjs.com/package/@nyex/nyex",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"nyex": "bin/nyex.js"
|
|
19
19
|
},
|
|
20
20
|
"optionalDependencies": {
|
|
21
|
-
"@nyex/nyex-win32-x64-msvc": "1.
|
|
21
|
+
"@nyex/nyex-win32-x64-msvc": "1.3.0"
|
|
22
22
|
},
|
|
23
23
|
"engines": {
|
|
24
24
|
"node": "\u003e=18"
|