@jmanuelcorral/openteam 0.16.3 → 0.17.1

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.
@@ -36,10 +36,17 @@
36
36
  {
37
37
  "id": "lemonade",
38
38
  "enabled": false,
39
- "baseURL": "http://localhost:8000/api/v1",
39
+ "baseURL": "http://localhost:13305/api/v1",
40
40
  "defaultModel": {
41
41
  "providerID": "lemonade",
42
42
  "modelID": "Qwen3-Coder-30B-A3B-Instruct-GGUF"
43
+ },
44
+ "thinkingModel": "Qwen3-30B-A3B-Thinking-GGUF",
45
+ "coderModel": "Qwen3-Coder-30B-A3B-Instruct-GGUF",
46
+ "maxConcurrency": 3,
47
+ "modelConcurrency": {
48
+ "Qwen3-Coder-30B-A3B-Instruct-GGUF": 3,
49
+ "Qwen3-30B-A3B-Thinking-GGUF": 1
43
50
  }
44
51
  },
45
52
  {
@@ -61,9 +68,9 @@
61
68
  },
62
69
  "privacyMode": "forceLocalOnSensitive",
63
70
  "graph": {
64
- "mode": "shadow",
71
+ "mode": "active",
65
72
  "killSwitch": false,
66
- "operatorApproval": false
73
+ "operatorApproval": true
67
74
  },
68
75
  "orchestrator": {
69
76
  "roles": {
package/README.es.md CHANGED
@@ -52,7 +52,7 @@ El router mantiene una garantía de privacidad: con `privacyMode: "forceLocalOnS
52
52
  - Runtimes locales opcionales:
53
53
  - Ollama en `http://localhost:11434/v1`.
54
54
  - LM Studio en `http://localhost:1234/v1`.
55
- - Lemonade Server en `http://localhost:8000/api/v1`.
55
+ - Lemonade Server en `http://localhost:13305/api/v1`.
56
56
  - Foundry Local con puerto dinámico descubierto por CLI en Windows.
57
57
 
58
58
  ## Instalación
@@ -373,6 +373,7 @@ ejecutas desde un subdirectorio verás "provider not configured" y debes hacer
373
373
  | `local.runtimes[].discovery` | `"cli" \| "sdk" \| "manual"` opcional | sin default por item | Discovery de Foundry Local; el registry usa CLI si está configurado y no es `manual`. |
374
374
  | `local.runtimes[].defaultModel` | `ModelRef` | requerido | Modelo por defecto de ese runtime. |
375
375
  | `local.runtimes[].maxConcurrency` | entero positivo opcional | `4` | Límite de generaciones concurrentes de esta instancia (su número real de slots). Se aplica por instancia. |
376
+ | `local.runtimes[].modelConcurrency` | `Record<modelID, entero positivo>` opcional | ninguno | Slots por modelo, porque los slots pertenecen al modelo cargado y no al servidor: un mismo host Lemonade puede servir un modelo con `--parallel 3` y otro con `--parallel 1` a la vez. Cada modelo declarado obtiene su propia cola; el resto comparte el pool de `maxConcurrency` de la instancia. `openteam setup` lo rellena solo cuando el runtime informa de sus slots. |
376
377
  | `budgets.sessionUSD` | `number` positivo opcional | sin límite | Presupuesto frontier por sesión. |
377
378
  | `budgets.monthlyUSD` | `number` positivo opcional | sin límite | Presupuesto frontier mensual. |
378
379
  | `budgets.frontierTokensPerSession` | `number` entero positivo opcional | sin límite | Límite de tokens frontier por sesión. |
@@ -729,7 +730,7 @@ Invoke-RestMethod -Uri "http://localhost:1234/v1/models" -Method Get
729
730
  ### Lemonade Server
730
731
 
731
732
  ```powershell
732
- Invoke-RestMethod -Uri "http://localhost:8000/api/v1/models" -Method Get
733
+ Invoke-RestMethod -Uri "http://localhost:13305/api/v1/models" -Method Get
733
734
  ```
734
735
 
735
736
  ### Foundry Local
@@ -824,7 +825,7 @@ Consulta [docs/compatibility.md](docs/compatibility.md). Resumen verificado el `
824
825
 
825
826
  | Superficie | Versión / contrato |
826
827
  | --- | --- |
827
- | openteam | `0.16.3`; versión actual del paquete |
828
+ | openteam | `0.17.1`; versión actual del paquete |
828
829
  | `@opencode-ai/plugin` | `1.18.19` |
829
830
  | `@opencode-ai/sdk` | `1.18.19` |
830
831
  | Hook de routing | `chat.message`; no `chat.params` para cambiar modelo |
package/README.md CHANGED
@@ -61,7 +61,7 @@ The router keeps a privacy guarantee: with `privacyMode: "forceLocalOnSensitive"
61
61
  - Optional local runtimes:
62
62
  - Ollama at `http://localhost:11434/v1`.
63
63
  - LM Studio at `http://localhost:1234/v1`.
64
- - Lemonade Server at `http://localhost:8000/api/v1`.
64
+ - Lemonade Server at `http://localhost:13305/api/v1`.
65
65
  - Foundry Local with a dynamic port discovered via CLI on Windows.
66
66
 
67
67
  > Local runtimes are **optional**. You can run openteam **frontier-only**, or point it at an Ollama / LM Studio / Lemonade Server running on **another machine on your LAN**.
@@ -325,6 +325,7 @@ configured" and should `cd` to the project root first.
325
325
  | `local.runtimes[].discovery` | `"cli" \| "sdk" \| "manual"` optional | none per item | Foundry Local discovery; the registry uses CLI when configured and not `manual`. |
326
326
  | `local.runtimes[].defaultModel` | `ModelRef` | required | Default model for that runtime. |
327
327
  | `local.runtimes[].maxConcurrency` | positive integer, optional | `4` | Concurrent-generation cap for this instance (its real slot count). Applied per instance. |
328
+ | `local.runtimes[].modelConcurrency` | `Record<modelID, positive integer>`, optional | none | Per-model slot counts, because slots belong to the loaded model rather than to the server: a single Lemonade host can serve one model at `--parallel 3` and another at `--parallel 1` simultaneously. Each declared model gets its own queue; every other model shares the instance-wide `maxConcurrency` pool. Populated automatically by `openteam setup` when the runtime reports its slots. |
328
329
  | `budgets.sessionUSD` | positive number, optional | unlimited | Frontier budget per session. |
329
330
  | `budgets.monthlyUSD` | positive number, optional | unlimited | Monthly frontier budget. |
330
331
  | `budgets.frontierTokensPerSession` | positive integer, optional | unlimited | Frontier token limit per session. |
@@ -622,7 +623,7 @@ Invoke-RestMethod -Uri "http://localhost:1234/v1/models" -Method Get
622
623
  ### Lemonade Server
623
624
 
624
625
  ```powershell
625
- Invoke-RestMethod -Uri "http://localhost:8000/api/v1/models" -Method Get
626
+ Invoke-RestMethod -Uri "http://localhost:13305/api/v1/models" -Method Get
626
627
  ```
627
628
 
628
629
  ### Foundry Local
@@ -713,7 +714,7 @@ See [docs/compatibility.md](docs/compatibility.md). Verified summary as of `2026
713
714
 
714
715
  | Surface | Version / contract |
715
716
  | --- | --- |
716
- | openteam | `0.16.3`; current package version |
717
+ | openteam | `0.17.1`; current package version |
717
718
  | `@opencode-ai/plugin` | `1.18.19` |
718
719
  | `@opencode-ai/sdk` | `1.18.19` |
719
720
  | Routing hook | `chat.message`; not `chat.params` for model changes |
@@ -34,12 +34,12 @@
34
34
  "idempotent": true
35
35
  },
36
36
  "performance": {
37
- "p95Millis": 0.40435899999999947,
37
+ "p95Millis": 0.34230600000000777,
38
38
  "budgetMillis": 50,
39
39
  "samples": 100
40
40
  }
41
41
  },
42
42
  "verdict": "pass",
43
43
  "failedGates": [],
44
- "digest": "536c610a97697583b0683d2ea4d8cbec8afce5b1dccc8cefbe20448836f2fefa"
44
+ "digest": "3ae52181594e67aee315d4d71b6fd3a58dc34e2b5e74677464b24b57f30e3d8c"
45
45
  }
@@ -20,7 +20,7 @@
20
20
  "rawFindings": 0
21
21
  },
22
22
  "overhead": {
23
- "p95Millis": 0.26105400000000145,
23
+ "p95Millis": 0.26040199999999913,
24
24
  "budgetMillis": 25,
25
25
  "samples": 1000
26
26
  },
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "verdict": "pass",
37
37
  "failedGates": [],
38
- "digest": "0be8c6fc4b5620da27b61537c4de4d55d529d613654b3f6e9bb599981fe8e10f"
38
+ "digest": "7372b6e7a11519a55b6db9255ea7132ab3d5244c8659bff981368879f13dffbd"
39
39
  }
@@ -1 +1 @@
1
- {"version":3,"file":"setupAdapters.d.ts","sourceRoot":"","sources":["../../src/cli/setupAdapters.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,KAAK,EACV,eAAe,EAEf,QAAQ,EAET,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,KAAK,QAAQ,EAEd,MAAM,wBAAwB,CAAC;AAGhC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAyBrD,qDAAqD;AACrD,eAAO,MAAM,aAAa,EAAE,QA8E3B,CAAC;AA6BF;;;GAGG;AACH,wBAAgB,0BAA0B,IAAI,MAAM,OAAO,CAC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