@jmanuelcorral/openteam 0.1.37 → 0.1.40

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 (84) hide show
  1. package/.opencode/command/openteam.md +5 -5
  2. package/AGENTS.md +27 -27
  3. package/README.es.md +759 -0
  4. package/README.md +213 -480
  5. package/dist/capabilities/types.d.ts +1 -1
  6. package/dist/cli/consoleServe.d.ts.map +1 -1
  7. package/dist/cli/setupAdapters.d.ts.map +1 -1
  8. package/dist/cli.js +1122 -250
  9. package/dist/commands/frontierCatalog.d.ts +27 -0
  10. package/dist/commands/frontierCatalog.d.ts.map +1 -0
  11. package/dist/commands/orchestratorAgent.d.ts +2 -1
  12. package/dist/commands/orchestratorAgent.d.ts.map +1 -1
  13. package/dist/commands/setup.d.ts +16 -18
  14. package/dist/commands/setup.d.ts.map +1 -1
  15. package/dist/config/schema.d.ts +196 -0
  16. package/dist/config/schema.d.ts.map +1 -1
  17. package/dist/console/assets.d.ts +9 -0
  18. package/dist/console/assets.d.ts.map +1 -0
  19. package/dist/console/render.d.ts.map +1 -1
  20. package/dist/contract/opencode.d.ts +1 -1
  21. package/dist/contract/opencode.d.ts.map +1 -1
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +835 -87
  24. package/dist/local/embeddings.d.ts +29 -0
  25. package/dist/local/embeddings.d.ts.map +1 -0
  26. package/dist/local/extractClient.d.ts +31 -0
  27. package/dist/local/extractClient.d.ts.map +1 -0
  28. package/dist/local/openai-compatible.d.ts +1 -0
  29. package/dist/local/openai-compatible.d.ts.map +1 -1
  30. package/dist/mcp/semanticRecall.d.ts +25 -0
  31. package/dist/mcp/semanticRecall.d.ts.map +1 -0
  32. package/dist/mcp/server.d.ts +22 -0
  33. package/dist/mcp/server.d.ts.map +1 -1
  34. package/dist/memory/consolidate.d.ts +21 -0
  35. package/dist/memory/consolidate.d.ts.map +1 -0
  36. package/dist/memory/extract.d.ts +68 -0
  37. package/dist/memory/extract.d.ts.map +1 -0
  38. package/dist/memory/fold.d.ts +24 -0
  39. package/dist/memory/fold.d.ts.map +1 -0
  40. package/dist/memory/index.d.ts +18 -0
  41. package/dist/memory/index.d.ts.map +1 -0
  42. package/dist/memory/inject.d.ts +29 -0
  43. package/dist/memory/inject.d.ts.map +1 -0
  44. package/dist/memory/log.d.ts +16 -0
  45. package/dist/memory/log.d.ts.map +1 -0
  46. package/dist/memory/merge.d.ts +38 -0
  47. package/dist/memory/merge.d.ts.map +1 -0
  48. package/dist/memory/rank.d.ts +32 -0
  49. package/dist/memory/rank.d.ts.map +1 -0
  50. package/dist/memory/recall.d.ts +30 -0
  51. package/dist/memory/recall.d.ts.map +1 -0
  52. package/dist/memory/temporal.d.ts +39 -0
  53. package/dist/memory/temporal.d.ts.map +1 -0
  54. package/dist/memory/types.d.ts +159 -0
  55. package/dist/memory/types.d.ts.map +1 -0
  56. package/dist/memory/vector.d.ts +18 -0
  57. package/dist/memory/vector.d.ts.map +1 -0
  58. package/dist/orchestrator/roles.d.ts +1 -1
  59. package/dist/orchestrator/roles.d.ts.map +1 -1
  60. package/dist/plugin/hooks.d.ts +13 -0
  61. package/dist/plugin/hooks.d.ts.map +1 -1
  62. package/dist/plugin/memoryInject.d.ts +25 -0
  63. package/dist/plugin/memoryInject.d.ts.map +1 -0
  64. package/dist/router/chooseModel.d.ts.map +1 -1
  65. package/dist/router/cost.d.ts +4 -0
  66. package/dist/router/cost.d.ts.map +1 -0
  67. package/dist/router/frontierBaseline.d.ts +13 -0
  68. package/dist/router/frontierBaseline.d.ts.map +1 -0
  69. package/dist/router/modelSelection.d.ts +18 -0
  70. package/dist/router/modelSelection.d.ts.map +1 -0
  71. package/dist/storage/index/memoryConsolidate.d.ts +24 -0
  72. package/dist/storage/index/memoryConsolidate.d.ts.map +1 -0
  73. package/dist/storage/index/memoryIndex.d.ts +52 -0
  74. package/dist/storage/index/memoryIndex.d.ts.map +1 -0
  75. package/dist/storage/index/memoryRecall.d.ts +23 -0
  76. package/dist/storage/index/memoryRecall.d.ts.map +1 -0
  77. package/dist/storage/index/memoryRuntime.d.ts +41 -0
  78. package/dist/storage/index/memoryRuntime.d.ts.map +1 -0
  79. package/dist/telemetry/events.d.ts +3 -1
  80. package/dist/telemetry/events.d.ts.map +1 -1
  81. package/dist/telemetry/hash.d.ts.map +1 -1
  82. package/dist/web/server.d.ts +4 -0
  83. package/dist/web/server.d.ts.map +1 -1
  84. package/package.json +14 -6
@@ -1,12 +1,12 @@
1
1
  ---
2
- description: Comandos runtime de openteam (baseline show|set|auto, doctor, agents, console, report)
2
+ description: openteam runtime commands (baseline show|set|auto, doctor, agents, console, report)
3
3
  ---
4
4
 
5
- Usa la herramienta `openteam` para ejecutar el comando indicado por el usuario: $ARGUMENTS
5
+ Use the `openteam` tool to execute the command indicated by the user: $ARGUMENTS
6
6
 
7
- Interpreta los argumentos así y llama a la herramienta `openteam` una sola vez:
7
+ Interpret the arguments like this and call the `openteam` tool exactly once:
8
8
 
9
- - `baseline show` (o vacío) → `action: "show"`
9
+ - `baseline show` (or empty) → `action: "show"`
10
10
  - `baseline set <provider/model>` → `action: "set"`, `model: "<provider/model>"`
11
11
  - `baseline auto` → `action: "auto"`
12
12
  - `doctor` → `action: "doctor"`
@@ -14,4 +14,4 @@ Interpreta los argumentos así y llama a la herramienta `openteam` una sola vez:
14
14
  - `console` → `action: "console"`
15
15
  - `report` → `action: "report"`
16
16
 
17
- Devuelve la salida de la herramienta tal cual, sin reinterpretarla.
17
+ Return the tool output as-is, without reinterpreting it.
package/AGENTS.md CHANGED
@@ -1,41 +1,41 @@
1
- # openteam — instrucciones para opencode
1
+ # openteam — instructions for opencode
2
2
 
3
- openteam es un plugin de opencode en **TypeScript + Bun** con routing **local-first** y fallback **FRONTIER cheapest-capable**. La meta es ahorrar coste/tokens frontier sin perder calidad, privacidad ni capacidad en tareas difíciles.
3
+ openteam is an opencode plugin built with **TypeScript + Bun** with **local-first** routing and a **FRONTIER cheapest-capable** fallback. The goal is to save frontier cost/tokens without losing quality, privacy, or capability on hard tasks.
4
4
 
5
- ## Comandos de verificación
5
+ ## Verification commands
6
6
 
7
7
  - Tests: `bun test`
8
8
  - Typecheck: `bun run typecheck`
9
9
  - Lint+format: `biome check .`
10
- - Coverage requerido: global lines >= 85% y branches >= 80%; `src/router/**` al 100%.
11
- - Determinismo: ejecutar el test específico de router cuando exista (`bun test tests/router/determinism.test.ts` o selector equivalente).
10
+ - Required coverage: global lines >= 85% and branches >= 80%; `src/router/**` at 100%.
11
+ - Determinism: run the specific router test when it exists (`bun test tests/router/determinism.test.ts` or an equivalent selector).
12
12
 
13
- ## Reglas de arquitectura
13
+ ## Architecture rules
14
14
 
15
- - Lee `docs/architecture.md`, `docs/testing-and-quality.md` y `PLAN.md` antes de cambios grandes.
16
- - `router/` es puro: sin I/O, reloj, random, env vars ni logs.
17
- - `plugin/` contiene hooks opencode; cualquier uso de superficie no documentada necesita test de contrato.
18
- - `local/` aísla Ollama, LM Studio y Foundry Local.
19
- - `config/` valida y persiste `.opencode/openteam.json`.
20
- - `telemetry/` no guarda prompts completos; usa hash y metadatos redactados.
15
+ - Read `docs/architecture.md`, `docs/testing-and-quality.md`, and `PLAN.md` before large changes.
16
+ - `router/` is pure: no I/O, clock, random, env vars, or logs.
17
+ - `plugin/` contains opencode hooks; any use of an undocumented surface needs a contract test.
18
+ - `local/` isolates Ollama, LM Studio, and Foundry Local.
19
+ - `config/` validates and persists `.opencode/openteam.json`.
20
+ - `telemetry/` does not store full prompts; it uses a hash and redacted metadata.
21
21
 
22
- ## Config y agentes opencode
22
+ ## opencode config and agents
23
23
 
24
- - Config runtime canónica: `.opencode/openteam.json`.
25
- - Reconciliación: `.openteam/config.json` queda obsoleto frente a la decisión de Rusty.
26
- - Las definiciones Markdown de agents viven en `.opencode/agent/` en este repo. La documentación pública menciona `.opencode/agents/`; la investigación local verificó que el source soporta ambos.
27
- - opencode lee este `AGENTS.md` como instrucciones de proyecto (verificado en docs/rules el 2026-07-06).
24
+ - Canonical runtime config: `.opencode/openteam.json`.
25
+ - Reconciliation: `.openteam/config.json` is obsolete relative to the current decision.
26
+ - Agent Markdown definitions live in `.opencode/agent/` in this repo. Public documentation mentions `.opencode/agents/`; local research verified the source supports both.
27
+ - opencode reads this `AGENTS.md` as project instructions (verified in docs/rules on 2026-07-06).
28
28
 
29
- ## Convenciones
29
+ ## Conventions
30
30
 
31
- - Documentación y prosa: español.
32
- - Código, rutas, tipos e identificadores: English.
33
- - TypeScript strict, ESM only, Zod en boundaries.
34
- - Biome gobierna lint/format; no introduzcas ESLint/Prettier salvo decisión nueva.
31
+ - Documentation and prose: English (a Spanish README localization is maintained as `README.es.md`).
32
+ - Code, paths, types, and identifiers: English.
33
+ - TypeScript strict, ESM only, Zod at boundaries.
34
+ - Biome governs lint/format; do not introduce ESLint/Prettier unless a new decision is made.
35
35
 
36
- ## No negociables
36
+ ## Non-negotiables
37
37
 
38
- - No merge sin tests, coverage, typecheck, lint/format y determinismo verdes.
39
- - No enviar datos `privacySensitive` a frontier con `forceLocalOnSensitive`.
40
- - No hardcodear un frontier premium como baseline: usar cheapest-capable configurable.
41
- - No depender de runtimes locales reales, red o secretos en CI.
38
+ - No merge without tests, coverage, typecheck, lint/format, and determinism green.
39
+ - Do not send `privacySensitive` data to frontier with `forceLocalOnSensitive`.
40
+ - Do not hardcode a premium frontier as the baseline: use a configurable cheapest-capable one.
41
+ - Do not depend on real local runtimes, network, or secrets in CI.