@jmanuelcorral/openteam 0.26.0 → 0.27.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 (69) hide show
  1. package/README.es.md +11 -8
  2. package/README.md +11 -8
  3. package/dist/certificates/graph-release-certificate.json +2 -2
  4. package/dist/certificates/graph-shadow-certificate.json +2 -2
  5. package/dist/certificates/opencode-2.0.5/graph-release-certificate.json +45 -0
  6. package/dist/certificates/opencode-2.0.5/graph-shadow-certificate.json +39 -0
  7. package/dist/cli/consoleRuntimeState.d.ts.map +1 -1
  8. package/dist/cli/consoleServe.d.ts +2 -1
  9. package/dist/cli/consoleServe.d.ts.map +1 -1
  10. package/dist/cli.js +21871 -12535
  11. package/dist/commands/setup.d.ts +2 -0
  12. package/dist/commands/setup.d.ts.map +1 -1
  13. package/dist/commands/upgrade.d.ts +1 -1
  14. package/dist/commands/upgrade.d.ts.map +1 -1
  15. package/dist/config/fieldProjection.d.ts +3 -0
  16. package/dist/config/fieldProjection.d.ts.map +1 -0
  17. package/dist/config/nativeOpencode.d.ts +5 -0
  18. package/dist/config/nativeOpencode.d.ts.map +1 -0
  19. package/dist/console/auth.d.ts +5 -0
  20. package/dist/console/auth.d.ts.map +1 -0
  21. package/dist/console/conversation.d.ts +8 -1
  22. package/dist/console/conversation.d.ts.map +1 -1
  23. package/dist/console/historyBoundary.d.ts +1 -1
  24. package/dist/console/historyBoundary.d.ts.map +1 -1
  25. package/dist/console/nativeConversation.d.ts +7 -0
  26. package/dist/console/nativeConversation.d.ts.map +1 -0
  27. package/dist/console/opencodeClient.d.ts +3 -0
  28. package/dist/console/opencodeClient.d.ts.map +1 -1
  29. package/dist/console/pty.d.ts +4 -0
  30. package/dist/console/pty.d.ts.map +1 -1
  31. package/dist/contract/opencode.d.ts +13 -7
  32. package/dist/contract/opencode.d.ts.map +1 -1
  33. package/dist/index.d.ts +10 -5
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +1150 -207
  36. package/dist/messages/consoleDetail.d.ts +3 -0
  37. package/dist/messages/consoleDetail.d.ts.map +1 -1
  38. package/dist/messages/nativeHost.d.ts +21 -0
  39. package/dist/messages/nativeHost.d.ts.map +1 -0
  40. package/dist/plugin/availability.d.ts +1 -0
  41. package/dist/plugin/availability.d.ts.map +1 -1
  42. package/dist/plugin/consoleTool.d.ts +1 -0
  43. package/dist/plugin/consoleTool.d.ts.map +1 -1
  44. package/dist/plugin/hooks.d.ts +3 -3
  45. package/dist/plugin/hooks.d.ts.map +1 -1
  46. package/dist/plugin/modelResidency.d.ts +1 -0
  47. package/dist/plugin/modelResidency.d.ts.map +1 -1
  48. package/dist/plugin/nativeHost.d.ts +5 -0
  49. package/dist/plugin/nativeHost.d.ts.map +1 -0
  50. package/dist/plugin/nativeHostContext.d.ts +228 -0
  51. package/dist/plugin/nativeHostContext.d.ts.map +1 -0
  52. package/dist/plugin/nativeInventory.d.ts +5 -0
  53. package/dist/plugin/nativeInventory.d.ts.map +1 -0
  54. package/dist/plugin/nativeResidency.d.ts +30 -0
  55. package/dist/plugin/nativeResidency.d.ts.map +1 -0
  56. package/dist/plugin/nativeSessions.d.ts +131 -0
  57. package/dist/plugin/nativeSessions.d.ts.map +1 -0
  58. package/dist/plugin/orchestrateTool.d.ts.map +1 -1
  59. package/dist/plugin/reloadTool.d.ts +3 -2
  60. package/dist/plugin/reloadTool.d.ts.map +1 -1
  61. package/dist/plugin/runtimeContext.d.ts +42 -0
  62. package/dist/plugin/runtimeContext.d.ts.map +1 -0
  63. package/dist/web/console.d.ts +1 -1
  64. package/dist/web/console.d.ts.map +1 -1
  65. package/dist/web/server.d.ts +1 -1
  66. package/dist/web/server.d.ts.map +1 -1
  67. package/dist/web/start.d.ts +1 -1
  68. package/dist/web/start.d.ts.map +1 -1
  69. package/package.json +6 -3
package/README.es.md CHANGED
@@ -40,22 +40,24 @@ estrecha un agente a `local` bajo el modo global `mixed`.
40
40
 
41
41
  ## Características
42
42
 
43
- - Routing por turno desde el hook `chat.message`, mutando `output.message.model` antes de que opencode persista el mensaje.
43
+ - Routing por turno antes de inferencia: `chat.message` en 1.x o el adaptador nativo de prompt/modelo en 2.0.5.
44
44
  - Registro de runtimes locales OpenAI-compatible: Ollama, LM Studio, Lemonade Server, llama-swap y Foundry Local.
45
45
  - Perfiles de capacidad desde Models.dev, con cache y fallback curado cuando el catálogo no está disponible.
46
46
  - Selección automática **cheapest-capable** por coste, disponibilidad, soporte de tools y contexto dentro del dominio permitido.
47
47
  - Presupuestos por sesión, mes y tokens frontier por sesión.
48
48
  - Telemetría `CostRecord` JSONL hash-only: guarda `promptHash`, métricas de coste y decisión, nunca prompts crudos.
49
49
  - Pines exactos o `"auto"` por agente, fallbacks ordenados opcionales y relevo acotado de modelo para nodos incompletos.
50
- - Orquestación multiagente con subsesiones SDK y modelo explícito en `client.session.prompt({ body: { model } })`.
51
- - Refresh de disponibilidad local al arrancar y en eventos `session.created` / `session.idle`.
50
+ - Orquestación multiagente con trabajadores realmente vinculados al padre, modelo explícito y finalización/cancelación acotadas.
51
+ - Inventario local/proveedor bajo demanda antes del routing; se espera a los refrescos pendientes antes de seleccionar modelos residentes.
52
52
  - Una [línea de tiempo de agentes](docs/es/guide/agent-timeline.md) solo de
53
53
  metadatos, con historial duradero del coordinador y los intentos, cursor
54
54
  histórico y avisos de actualización en vivo.
55
55
 
56
56
  ## Requisitos
57
57
 
58
- - opencode compatible con `@opencode-ai/plugin` `1.18.19`.
58
+ - opencode **1.18.19** (legacy) o **2.0.5** (adaptador nativo).
59
+ No se asume compatibilidad con otras versiones
60
+ 2.x. Consulta los [límites de compatibilidad](docs/es/compatibility.md#opencode-2-0-5-nativo).
59
61
  - Bun `1.3.14` para instalaciones, desarrollo y tests reproducibles.
60
62
  - Node.js `^22.22.2 || ^24.15.0 || >=26.0.0` para la CLI y el plugin publicados.
61
63
  - Runtimes locales opcionales:
@@ -1030,15 +1032,16 @@ Gates no negociables:
1030
1032
 
1031
1033
  ## Compatibilidad
1032
1034
 
1033
- Consulta [docs/compatibility.md](docs/compatibility.md). Resumen verificado el `2026-08-24`:
1035
+ Consulta [docs/es/compatibility.md](docs/es/compatibility.md). Resumen verificado el `2026-09-18`:
1034
1036
 
1035
1037
  | Superficie | Versión / contrato |
1036
1038
  | --- | --- |
1037
- | openteam | `0.26.0`; versión actual del paquete |
1039
+ | openteam | `0.27.0`; versión actual del paquete |
1040
+ | Host opencode | `1.18.19` legacy; soporte nativo exacto `2.0.5` |
1038
1041
  | `@opencode-ai/plugin` | `1.18.19` |
1039
1042
  | `@opencode-ai/sdk` | `1.18.19` |
1040
- | Hook de routing | `chat.message`; no `chat.params` para cambiar modelo |
1041
- | Subsesiones | `client.session.create` + `client.session.prompt({ body: { model } })` |
1043
+ | Hook de routing | `chat.message` legacy; `prompt` + `session.switchModel` nativos; nunca `chat.params` |
1044
+ | Subsesiones | SDK legacy o servicio Session nativo con scope; parentesco real y modelo explícito |
1042
1045
 
1043
1046
  ## Contribuir
1044
1047
 
package/README.md CHANGED
@@ -46,15 +46,15 @@ or narrow an agent to `local` under global `mixed`, when frontier is prohibited.
46
46
 
47
47
  ## Features
48
48
 
49
- - Per-turn routing from the `chat.message` hook, mutating `output.message.model` before opencode persists the message.
49
+ - Per-turn routing before inference: legacy `chat.message` or the native 2.0.5 prompt/model boundary.
50
50
  - Registration of OpenAI-compatible local runtimes: **Ollama**, **LM Studio**, **Lemonade Server**, **llama-swap** and **Foundry Local**.
51
51
  - Capability profiles from [Models.dev](https://models.dev), with cache and a curated fallback when the catalog is unavailable.
52
52
  - **Cheapest-capable** automatic selection by cost, availability, tool support, and context requirements inside the allowed domain.
53
53
  - Budgets per session, per month and per frontier tokens per session.
54
54
  - Hash-only `CostRecord` JSONL telemetry: stores `promptHash`, cost/decision metrics — **never raw prompts**.
55
55
  - Per-agent exact pins or `"auto"`, optional ordered fallbacks, and bounded cross-model handoff for an incomplete node.
56
- - Multi-agent orchestration with SDK child sessions and an explicit model in `client.session.prompt({ body: { model } })`.
57
- - Local availability refresh at startup and on `session.created` / `session.idle` events.
56
+ - Multi-agent orchestration with genuinely parented workers, explicit model selection and bounded completion/cancellation.
57
+ - Lazy local/provider inventory before routing; session-event refreshes are awaited before selecting resident models.
58
58
  - A metadata-only [agent timeline](docs/guide/agent-timeline.md) with durable
59
59
  coordinator/attempt history, historical cursor inspection, and live
60
60
  invalidation hints.
@@ -63,7 +63,9 @@ or narrow an agent to `local` under global `mixed`, when frontier is prohibited.
63
63
 
64
64
  ## Requirements
65
65
 
66
- - opencode compatible with `@opencode-ai/plugin` `1.18.19`.
66
+ - opencode **1.18.19** (legacy) or **2.0.5** (native adapter).
67
+ Other 2.x versions are not assumed compatible. See the
68
+ [host compatibility boundary](docs/compatibility.md#native-opencode-2-0-5).
67
69
  - [Bun](https://bun.sh) `1.3.14` for reproducible installs, development, and tests.
68
70
  - Node.js `^22.22.2 || ^24.15.0 || >=26.0.0` for the published CLI/plugin.
69
71
  - Optional local runtimes:
@@ -979,15 +981,16 @@ Non-negotiable gates (see [docs/testing-and-quality.md](docs/testing-and-quality
979
981
 
980
982
  ## Compatibility
981
983
 
982
- See [docs/compatibility.md](docs/compatibility.md). Verified summary as of `2026-08-24`:
984
+ See [docs/compatibility.md](docs/compatibility.md). Verified summary as of `2026-09-18`:
983
985
 
984
986
  | Surface | Version / contract |
985
987
  | --- | --- |
986
- | openteam | `0.26.0`; current package version |
988
+ | openteam | `0.27.0`; current package version |
989
+ | opencode host | `1.18.19` legacy; exact `2.0.5` native support |
987
990
  | `@opencode-ai/plugin` | `1.18.19` |
988
991
  | `@opencode-ai/sdk` | `1.18.19` |
989
- | Routing hook | `chat.message`; not `chat.params` for model changes |
990
- | Child sessions | `client.session.create` + `client.session.prompt({ body: { model } })` |
992
+ | Routing hook | Legacy `chat.message`; native `prompt` + `session.switchModel`; never `chat.params` |
993
+ | Child sessions | Legacy SDK or native scoped Session service; actual parenting and explicit model |
991
994
 
992
995
  ## Contributing
993
996
 
@@ -34,12 +34,12 @@
34
34
  "idempotent": true
35
35
  },
36
36
  "performance": {
37
- "p95Millis": 0.3665430000000356,
37
+ "p95Millis": 0.4973019999999906,
38
38
  "budgetMillis": 50,
39
39
  "samples": 100
40
40
  }
41
41
  },
42
42
  "verdict": "pass",
43
43
  "failedGates": [],
44
- "digest": "b10ff6b124af850edf12082169fc980f87190f4c06c950e7324a95f32447aa8a"
44
+ "digest": "9b690d23c4493fbfd8d157387d0f33b53db8fe8cc024c92c60b39b109bc83e3b"
45
45
  }
@@ -20,7 +20,7 @@
20
20
  "rawFindings": 0
21
21
  },
22
22
  "overhead": {
23
- "p95Millis": 0.277688999999981,
23
+ "p95Millis": 0.312385000000063,
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": "0a32756f8be276eafc5ed1577804aa71f52bdae689a425c2d6566e8d45d0d0f1"
38
+ "digest": "f751dfd5546d484ac06fdeb6da154ae6364fe04efa1529802b294f32a9f5acaa"
39
39
  }
@@ -0,0 +1,45 @@
1
+ {
2
+ "version": 2,
3
+ "certificate": "graph-release",
4
+ "platform": "linux",
5
+ "opencodeVersion": "2.0.5",
6
+ "shadowCertificateDigest": "883dd431b507bc6faeeabf9ea073016a6917c92237805918655e70923315ffe5",
7
+ "evidence": {
8
+ "opencodeVersion": "2.0.5",
9
+ "platform": "linux",
10
+ "shadowCertificateDigest": "883dd431b507bc6faeeabf9ea073016a6917c92237805918655e70923315ffe5",
11
+ "determinism": {
12
+ "runs": 13,
13
+ "allMatch": true
14
+ },
15
+ "crashRecovery": {
16
+ "scenarios": 18,
17
+ "allConverge": true
18
+ },
19
+ "replayEquivalence": {
20
+ "checks": 6,
21
+ "allEquivalent": true
22
+ },
23
+ "privacy": {
24
+ "surfacesScanned": 8,
25
+ "rawFindings": 0
26
+ },
27
+ "contract": {
28
+ "roundTrips": 14,
29
+ "allSettled": true
30
+ },
31
+ "health": {
32
+ "samples": 3,
33
+ "bounded": true,
34
+ "idempotent": true
35
+ },
36
+ "performance": {
37
+ "p95Millis": 0.509454999999889,
38
+ "budgetMillis": 50,
39
+ "samples": 100
40
+ }
41
+ },
42
+ "verdict": "pass",
43
+ "failedGates": [],
44
+ "digest": "61b110f9ef4b49049d1bb8c0beb818c35fcacf3344af6f4b5963058f5d98dac8"
45
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "version": 1,
3
+ "certificate": "graph-shadow",
4
+ "opencodeVersion": "2.0.5",
5
+ "evidence": {
6
+ "opencodeVersion": "2.0.5",
7
+ "parity": {
8
+ "runs": 1000,
9
+ "match": 1000,
10
+ "divergent": 0,
11
+ "inconclusive": 0,
12
+ "divergences": []
13
+ },
14
+ "legacy": {
15
+ "observed": 1000,
16
+ "duplicated": 0
17
+ },
18
+ "privacy": {
19
+ "surfacesScanned": 5,
20
+ "rawFindings": 0
21
+ },
22
+ "overhead": {
23
+ "p95Millis": 0.18683999999996104,
24
+ "budgetMillis": 25,
25
+ "samples": 1000
26
+ },
27
+ "provenance": {
28
+ "status": "validated",
29
+ "order": "recomputed",
30
+ "roles": "recomputed",
31
+ "models": "carried",
32
+ "fixes": "recomputed",
33
+ "outcome": "carried"
34
+ }
35
+ },
36
+ "verdict": "pass",
37
+ "failedGates": [],
38
+ "digest": "44eeb60534a6b735c4be99d185d3239a64ea4f6b737d4de5a83c671373fea913"
39
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"consoleRuntimeState.d.ts","sourceRoot":"","sources":["../../src/cli/consoleRuntimeState.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,8BAA8B,EAAG,CAAU,CAAC;AACzD,eAAO,MAAM,yBAAyB,qCAAqC,CAAC;AAC5E,eAAO,MAAM,oBAAoB,iBAAiB,CAAC;AACnD,eAAO,MAAM,wBAAwB,gBAAgB,CAAC;AACtD,eAAO,MAAM,gBAAgB,gBAA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CAC3C,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAU1C;AAED,wBAAsB,wBAAwB,CAC5C,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,mBAAmB,GACzB,OAAO,CAAC,IAAI,CAAC,CAwBf;AAED,wBAAsB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAQ3E;AAED,wBAAsB,gCAAgC,CACpD,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GACvC,OAAO,CAAC,OAAO,CAAC,CAoBlB;AAED,wBAAsB,qBAAqB,CACzC,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAUxC;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAQzE;AAED,wBAAsB,wBAAwB,CAC5C,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,iBAAiB,GACtB,OAAO,CAAC;IAAE,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAAE,GAAG,MAAM,CAAC,CAgCpD"}
@@ -30,12 +30,13 @@ export type ConsoleServeDeps = {
30
30
  log: (message: string) => void;
31
31
  /** `OPENCODE_SERVER_PASSWORD` si el servidor opencode la exige. Opcional. */
32
32
  serverPassword?: string;
33
+ serverUsername?: string;
33
34
  /** Genera el token efímero de la Console. Inyectable en tests. */
34
35
  generateToken?: () => string;
35
36
  /** Factoría de cliente opencode. Inyectable en tests. */
36
37
  createConsoleClient?: (endpoint: string) => ConsoleClient;
37
38
  /** Factoría de cliente PTY. Inyectable en tests. */
38
- createPtyClient?: (endpoint: string) => PtyClient;
39
+ createPtyClient?: (endpoint: string, sessionID: string) => PtyClient;
39
40
  /** Inyectable para tests; por defecto `startConsole`. */
40
41
  startConsole?: (deps: ConsoleRuntimeDeps) => ConsoleRuntime | Promise<ConsoleRuntime>;
41
42
  /** Abre el navegador en la URL dada (opcional; solo con `--open`). */
@@ -1 +1 @@
1
- {"version":3,"file":"consoleServe.d.ts","sourceRoot":"","sources":["../../src/cli/consoleServe.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAErE,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAO3D,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAQvE,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,qBAAqB,CAAC;AAE7B,gEAAgE;AAChE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IACtD,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,+DAA+D;IAC/D,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qEAAqE;IACrE,OAAO,EAAE,eAAe,CAAC;IACzB,cAAc,EAA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