@nyex/nyex 0.1.3-beta.1 → 1.0.2

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 +129 -54
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,80 +1,155 @@
1
- # NYEX — AI Engineering Platform (Windows-first)
1
+ # NYEX
2
2
 
3
- NYEX is a Windows-first AI Engineering CLI/TUI designed for serious builders who want **role-aware model routing**, **governed workflows**, and **local-first memory**—without turning your dev environment into a SaaS dependency.
3
+ NYEX is a terminal-first AI workspace for real developer workflows: identity-gated access, deterministic multi-provider routing, and guardrails designed to keep teams shipping with confidence.
4
4
 
5
- This repo is currently in **private beta** (release line: `0.1.3-beta.1`).
5
+ > **Defaults (v1.0.2+)**
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)
6
8
 
7
- ## Why NYEX exists
9
+ ---
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ npm i -g @nyex/nyex
15
+ ```
16
+
17
+ Verify:
18
+
19
+ ```bash
20
+ nyex --version
21
+ ```
22
+
23
+ ---
24
+
25
+ ## Quick start
26
+
27
+ ### 1) Login (NYEX account)
28
+
29
+ NYEX requires an account session before execution.
30
+
31
+ ```bash
32
+ nyex auth login
33
+ ```
34
+
35
+ This opens the device login page and binds your session locally.
36
+
37
+ ### 2) Check status
38
+
39
+ ```bash
40
+ nyex /status
41
+ nyex /doctor
42
+ ```
43
+
44
+ What to look for:
45
+ - `strict_cloud_mode: true`
46
+ - `local_mode_enabled: false`
47
+ - `Proxy: disabled`
48
+ - Auth endpoint should be `https://auth.nyex.ai`
49
+
50
+ ### 3) Ask something
51
+
52
+ ```bash
53
+ nyex exec "what is 1+1?"
54
+ ```
55
+
56
+ ---
8
57
 
9
- Most “AI coding tools” optimize for a single chat loop. NYEX is different: it treats AI like a **multi-role engineering team** (primary, intent, planner, tool_exec, summarizer) and gives you **control** over identity, routing, cost, and memory.
58
+ ## Providers and roles
10
59
 
11
- ## Key capabilities
12
-
13
- - **NYEX-first auth gate**
14
- First run starts with NYEX sign-in, then provider setup.
15
- - **Production auth default**
16
- Device login and polling default to `https://auth.nyex.ai` out of the box.
17
- - **NYEX auth-gate UX polish**
18
- NYEX header/logo and polling spinner are shown during onboarding login.
19
- - **Multi-provider, role-aware routing**
20
- Assign provider+model per role (Primary, Planner, Tool Exec, Summarizer).
21
- - **Memory OS (local-first, inspectable)**
22
- Automatic memory preflight, pinned constraints, decisions, experiences, and active checkpoints.
23
- - **Grounding + checkpoints workflow**
24
- Store repo-aware grounding snapshots and checkpoint progress with deterministic state.
25
- - **Memory inspection commands**
26
- Use `nyex memory ...` and `nyex checkpoint ...` to inspect, search, pin/unpin, and resume context.
27
- - **Doctor / status diagnostics**
28
- Shows auth endpoint resolution, memory telemetry, and session health.
29
- - **Security posture**
30
- Rate-limited health endpoint, minimized public metadata, no secret leaks in logs, bypass hardened (release ignores bypass).
60
+ NYEX routes work across **roles** (primary, planner, tool_exec, summarizer, validator, etc.). Each role can use its own provider/model, deterministically.
31
61
 
32
- ## Install (private beta)
62
+ Common providers:
63
+ - OpenAI (ChatGPT / API)
64
+ - Gemini (API key)
65
+ - Claude (API key)
66
+ - Ollama (Local Mode)
33
67
 
34
- You’ll receive the installer/package via private distribution. Public install instructions are intentionally omitted.
68
+ You can change models/providers via:
69
+ - **TUI**: `/settings` and `/models`
70
+ - **CLI config overrides** (examples below)
35
71
 
36
- ## First run (mental model)
72
+ ---
73
+
74
+ ## Strict Cloud Mode and Local Mode
75
+
76
+ ### Strict Cloud Mode (default)
77
+
78
+ If your **primary** is a cloud provider and it fails (auth/rate limit/network), NYEX will **not** fall back to local models.
79
+
80
+ This prevents surprise calls to localhost and keeps routing predictable.
37
81
 
38
- NYEX has **two different auth layers**:
82
+ ### Local Mode (opt-in)
39
83
 
40
- 1. **NYEX account** (platform identity and access control)
41
- 2. **Provider access** (ChatGPT / API keys / Claude / Gemini) for the model provider you choose
42
-
43
- NYEX will first ask you to **sign in / create a NYEX account**, then guide you to provider setup and role mapping.
84
+ Local Mode enables the local bridge + responses proxy (used for Ollama translations). It is OFF by default.
44
85
 
45
- ## Configuration
86
+ Enable Local Mode in `/settings` (recommended), or via CLI config override:
46
87
 
47
- NYEX uses `NYEX_HOME` as the only home directory.
88
+ ```bash
89
+ nyex -c runtime_modes.local_mode_enabled=true exec "hello"
90
+ ```
48
91
 
49
- - **Windows default**: `%USERPROFILE%\.nyex`
50
- - You can override via env: `NYEX_HOME=E:\Nyex\_home`
92
+ When Local Mode is enabled, you may see:
51
93
 
52
- Auth URL precedence (highest wins):
94
+ ```
95
+ responses-api-proxy listening on 127.0.0.1:8788
96
+ ```
53
97
 
54
- 1. `--nyex-auth-url` CLI flag
55
- 2. `NYEX_AUTH_URL` env var
56
- 3. `NYEX_HOME\config.toml` (`[nyex_auth].url`)
57
- 4. Build-time default (`NYEX_DEFAULT_AUTH_URL`)
58
- 5. Fallback: `https://auth.nyex.ai`
98
+ That should **only** appear when you opt in.
59
99
 
60
- ## Legal
100
+ ---
101
+
102
+ ## Useful commands
61
103
 
62
- - **Terms of Use**: see `TERMS_OF_USE.md`
63
- - **License**: see `LICENSE`
104
+ - `/settings` configure strict/local modes, defaults, role mappings
105
+ - `/models` explore models, refresh cache, set primary, set per-role
106
+ - `/status` — auth + routing + strict/local/proxy visibility
107
+ - `/doctor` — diagnostics: home dir, endpoints, reachability
108
+ - `/signals explain` — why NYEX routed a role/model a certain way
64
109
 
65
- ## Security disclosure
110
+ ---
66
111
 
67
- If you find a security issue, please report it privately (do not open a public issue). Contact details will be provided to testers.
112
+ ## Troubleshooting
68
113
 
69
- ## Repo structure (high level)
114
+ ### I see localhost/127.0.0.1 being called
115
+ - Ensure `local_mode_enabled` is **false**
116
+ - Verify `/status` shows `Proxy: disabled`
117
+ - If Local Mode is enabled, disable it via `/settings`
70
118
 
71
- - `core-rs/` Rust CLI + TUI
72
- - `auth-server/` — NYEX auth backend
119
+ ### I’m blocked by “NYEX login required”
120
+ Run:
73
121
 
74
- ## Contributing
122
+ ```bash
123
+ nyex auth login
124
+ ```
75
125
 
76
- This is a private beta repo. Contributions are by invitation only. If you’re an approved tester and want to contribute, ask for access/branching rules.
126
+ Then retry.
127
+
128
+ ### Auth endpoint shows unreachable
129
+ Check `/doctor` and confirm:
130
+ - `Auth endpoint reachable`
131
+ - Your network allows `https://auth.nyex.ai`
77
132
 
78
133
  ---
79
134
 
80
- AIC Pty Ltd (ACN 082 378 256) © NYEX AI Platform. All rights reserved.
135
+ ## Security and guardrails
136
+
137
+ NYEX is built with “keep main green” discipline:
138
+ - leak-scan strict mode
139
+ - deterministic routing traces
140
+ - clear status/doctor reporting
141
+
142
+ ---
143
+
144
+ ## Links
145
+
146
+ - Install: https://www.npmjs.com/package/@nyex/nyex
147
+ - Auth: https://auth.nyex.ai
148
+ - Status: https://auth.nyex.ai/health
149
+
150
+ ---
151
+
152
+ ## License
153
+
154
+ See repository license.
155
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyex/nyex",
3
- "version": "0.1.3-beta.1",
3
+ "version": "1.0.2",
4
4
  "description": "Nyex CLI (private beta)",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://nyex.ai",
@@ -18,7 +18,7 @@
18
18
  "nyex": "bin/nyex.js"
19
19
  },
20
20
  "optionalDependencies": {
21
- "@nyex/nyex-win32-x64-msvc": "0.1.3-beta.1"
21
+ "@nyex/nyex-win32-x64-msvc": "1.0.2"
22
22
  },
23
23
  "engines": {
24
24
  "node": ">=18"