orchestrix-yuri 4.8.10 → 4.8.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orchestrix-yuri",
3
- "version": "4.8.10",
3
+ "version": "4.8.11",
4
4
  "description": "Yuri — Meta-Orchestrator for Orchestrix. Drive your entire project lifecycle with natural language.",
5
5
  "main": "lib/installer.js",
6
6
  "bin": {
@@ -35,7 +35,18 @@ For Phase 1 (create), no project L2 exists yet. Step 0.3 is skipped — only loa
35
35
 
36
36
  ## Step 1: Collect Orchestrix License Key
37
37
 
38
- Ask the user for their Orchestrix license key.
38
+ **Auto-discovery (try before asking)**:
39
+ Search for an existing license key in this order:
40
+ 1. `~/.yuri/portfolio/registry.yaml` — check all projects for `license_key` field
41
+ 2. `~/Codes/*/.yuri/identity.yaml` — scan sibling projects for `project.license_key`
42
+ 3. `~/Codes/*/.mcp.json` — look for `Bearer orch_live_*` or `Bearer orch_trial_*`
43
+ 4. Environment variable `ORCHESTRIX_LICENSE_KEY`
44
+
45
+ If a valid key is found (starts with `orch_live_` or `orch_trial_`):
46
+ → Use it automatically. Inform user: "Found existing license key: orch_live_...{last 4 chars}. Using it."
47
+ → Skip to Step 2.
48
+
49
+ **If no key found, ask the user.**
39
50
 
40
51
  **Validation rules**:
41
52
  - Must start with `orch_live_` or `orch_trial_`