@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.
Files changed (2) hide show
  1. package/README.md +204 -239
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,239 +1,204 @@
1
- # NYEX
2
-
3
- NYEX is a terminal-first Agentic-AI execution runtime built for real software delivery. It enforces identity-gated access, routes work deterministically across roles and providers, and keeps execution observable through trace-first diagnostics and safety guardrails so teams can ship faster without losing control of runtime behavior.
4
-
5
- > **Defaults (v1.2.5)**
6
- > - **Strict Cloud Mode: ON** (cloud failures do **not** silently fall back to local)
7
- > - **Local Mode: OFF** (the local proxy never starts unless you explicitly enable it)
8
- > - **Capability packs: OFF by default** (install + explicit /capabilities enable <id> required)
9
-
10
- ---
11
-
12
- ## Install
13
-
14
- ```bash
15
- npm i -g @nyex/nyex
16
- ```
17
-
18
- Verify:
19
-
20
- ```bash
21
- nyex --version
22
- ```
23
-
24
- ---
25
-
26
- ## Quick start
27
-
28
- ### 1) Login (NYEX account)
29
-
30
- NYEX requires an account session before execution.
31
-
32
- ```bash
33
- nyex auth login
34
- ```
35
-
36
- This opens the device login page and binds your session locally.
37
-
38
- ### 2) Check status
39
-
40
- ```bash
41
- nyex /status
42
- nyex /doctor
43
- ```
44
-
45
- What to look for:
46
- - `strict_cloud_mode: true`
47
- - `local_mode_enabled: false`
48
- - `Proxy: disabled`
49
- - Auth endpoint should be `https://auth.nyex.ai`
50
-
51
- ### 3) Ask something
52
-
53
- ```bash
54
- nyex exec "what is 1+1?"
55
- ```
56
-
57
- ---
58
-
59
- ## Providers and roles
60
-
61
- NYEX routes work across **roles** (primary, planner, tool_exec, summarizer, validator, etc.). Each role can use its own provider/model, deterministically.
62
-
63
- Common providers:
64
- - OpenAI (ChatGPT / API)
65
- - Gemini (API key or OAuth)
66
- - Claude (API key)
67
- - xAI / Grok (BYOC API key)
68
- - Ollama (Local Mode)
69
-
70
- You can change models/providers via:
71
- - **TUI**: `/settings` and `/models`
72
- - **CLI config overrides** (examples below)
73
-
74
- If no providers are connected after NYEX login, the onboarding flow will prompt you to connect one.
75
-
76
- ### NYEX 1.2.5
77
- NYEX 1.2.5 is a release correction with hard auth-gate enforcement and default capability-off posture:
78
- - plain `nyex` startup stays TUI-first with in-app auth gate flow
79
- - live layout/render compaction and transcript/live fidelity fixes in the main conversation surface
80
- - runtime tool-call integrity hardening to prevent orphan `call_id` output failures
81
- - footer planner/tool telemetry now reflects live execution truth
82
- - default final surface is canonical raw result followed by evaluator output
83
- - release-prep validation evidence is generated locally via:
84
- - `scripts/qa/tui-validation-harness.ps1`
85
- - `artifacts/tui-validation/report.md`
86
-
87
- Mainline updates after 1.2.5 (current `origin/main` pre-release line):
88
- - live command output rendering is append-only (history-first) to reduce blank-space artifacts in `Ran ...` cards
89
- - main completed view stays raw-result-first and no longer shows evaluator headline rows
90
- - evaluator evidence remains available in transcript/debug surfaces
91
-
92
- ### Version
93
- - Package: `@nyex/nyex@1.2.5`
94
-
95
- ### Core Features
96
- - Deterministic multi-role orchestration (`primary`, `planner`, `tool_exec`, `summarizer`, `validator`).
97
- - Planner-first decomposition for long/multi-step prompts before compaction fallback.
98
- - Structured planner artifact checklist contract for execution-ready handoff.
99
- - Attempt-based observability with trace-first diagnostics (`/trace`, `/status`, `/doctor`, `/signals explain`).
100
- - Validator safety invariants: pre-final only and no-tools.
101
- - Canonical tool descriptors and lifecycle-normalized tool execution outcomes.
102
- - Descriptor-driven tool permission enforcement with explicit denial reasons.
103
- - Tool discovery and clarity surfaces (`/tools`, `/tools show <tool_id>`).
104
- - Tool outcome UX clarity with normalized success/failure/denial surfaces.
105
- - Multi-provider routing with explicit auth/connect guidance.
106
- - Local persistent memory support with session-aware context continuity.
107
- - Session persistence and explicit resume flows (`nyex resume <session-id>`) with clearer invalid-id handling.
108
- - Refresh-token-backed auth/session reliability with silent refresh on startup/resume.
109
- - Strict Cloud Mode defaults with deterministic fallback behavior and explicit local-mode opt-in.
110
- - Entitlement-first access gate: productive use requires `active_entitlement`; blocked access states stay diagnostics-only until resolved.
111
-
112
- ### Recent updates
113
- - post-1.2.5 mainline (unreleased):
114
- - planner-first decomposition strengthened over compaction-first behavior
115
- - planner artifact contract/checklist schema enforced for structured planning output
116
- - 1.2.5 runtime/product hardening pass:
117
- - plain startup now remains in TUI with in-app auth gate behavior
118
- - raw result + evaluator finalization replaces summary-first finalization default
119
- - footer planner/tool counters now track live visible execution events
120
- - 1.0.9 foundation:
121
- - canonical tool descriptors + normalized lifecycle/result/error contracts
122
- - descriptor-driven permission tightening and clear `permission_denied` outcomes
123
- - tool discovery (`/tools`, `/tools show <tool_id>`) and clearer tool outcome rendering
124
-
125
- ---
126
-
127
- ## Strict Cloud Mode and Local Mode
128
-
129
- ### Strict Cloud Mode (default)
130
-
131
- If your **primary** is a cloud provider and it fails (auth/rate limit/network), NYEX will **not** fall back to local models.
132
-
133
- This prevents surprise calls to localhost and keeps routing predictable.
134
-
135
- ### Local Mode (opt-in)
136
-
137
- Local Mode enables the local bridge + responses proxy (used for Ollama translations). It is OFF by default.
138
-
139
- Enable Local Mode in `/settings` (recommended), or via CLI config override:
140
-
141
- ```bash
142
- nyex -c runtime_modes.local_mode_enabled=true exec "hello"
143
- ```
144
-
145
- When Local Mode is enabled, you may see:
146
-
147
- ```
148
- responses-api-proxy listening on 127.0.0.1:8788
149
- ```
150
-
151
- That should **only** appear when you opt in.
152
-
153
- ---
154
-
155
- ## Useful commands
156
-
157
- - `/settings` — configure strict/local modes, defaults, role mappings
158
- - `/models` — explore models, refresh cache, set primary, set per-role
159
- - `/status` — auth + routing + strict/local/proxy visibility
160
- - `/doctor` diagnostics: home dir, endpoints, reachability
161
- - `/signals explain` — why NYEX routed a role/model a certain way
162
-
163
- ---
164
-
165
- ## Troubleshooting
166
-
167
- ### I see localhost/127.0.0.1 being called
168
- - Ensure `local_mode_enabled` is **false**
169
- - Verify `/status` shows `Proxy: disabled`
170
- - If Local Mode is enabled, disable it via `/settings`
171
-
172
- ### I’m blocked by “NYEX login required”
173
- Run:
174
-
175
- ```bash
176
- nyex auth login
177
- ```
178
-
179
- Then retry.
180
-
181
- ### Windows install fails with `EPERM` / `TAR_ENTRY_ERROR` on `nyex.exe`
182
- This usually means antivirus (Norton/Defender) quarantined or locked the binary during npm extraction.
183
-
184
- Recommended recovery:
185
- ```powershell
186
- npm uninstall -g @nyex/nyex @nyex/nyex-win32-x64-msvc
187
- npm cache clean --force
188
- npm i -g @nyex/nyex
189
- ```
190
-
191
- If the error repeats:
192
- - add allow rules for your npm global install directory and `nyex.exe`
193
- - rerun install after restoring the file from AV quarantine
194
- - verify with `nyex --version`
195
-
196
- Verify Windows signature:
197
- ```powershell
198
- $nyex = (Get-Command nyex).Source
199
- Get-AuthenticodeSignature -LiteralPath $nyex | Format-List Status,SignerCertificate,TimeStamperCertificate
200
- ```
201
-
202
- Release trust note:
203
- - public NYEX Windows packages are staged from CA-issued, RFC3161-timestamped Authenticode signatures only.
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.2.5",
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.2.5"
21
+ "@nyex/nyex-win32-x64-msvc": "1.3.0"
22
22
  },
23
23
  "engines": {
24
24
  "node": "\u003e=18"