@jmanuelcorral/openteam 0.22.1 → 0.24.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 (68) hide show
  1. package/.opencode/command/openteam.md +5 -3
  2. package/README.es.md +59 -8
  3. package/README.md +53 -7
  4. package/dist/certificates/graph-release-certificate.json +2 -2
  5. package/dist/certificates/graph-shadow-certificate.json +2 -2
  6. package/dist/cli/consoleRuntimeState.d.ts +50 -0
  7. package/dist/cli/consoleRuntimeState.d.ts.map +1 -0
  8. package/dist/cli/consoleServe.d.ts +4 -0
  9. package/dist/cli/consoleServe.d.ts.map +1 -1
  10. package/dist/cli/purgeAdapter.d.ts.map +1 -1
  11. package/dist/cli.d.ts.map +1 -1
  12. package/dist/cli.js +948 -505
  13. package/dist/commands/console.d.ts.map +1 -1
  14. package/dist/commands/setup.d.ts +0 -19
  15. package/dist/commands/setup.d.ts.map +1 -1
  16. package/dist/git/processLocale.d.ts +6 -0
  17. package/dist/git/processLocale.d.ts.map +1 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +1944 -371
  20. package/dist/messages/consoleRuntime.d.ts +42 -0
  21. package/dist/messages/consoleRuntime.d.ts.map +1 -0
  22. package/dist/messages/executionSetup.d.ts +1 -3
  23. package/dist/messages/executionSetup.d.ts.map +1 -1
  24. package/dist/messages/index.d.ts +1 -0
  25. package/dist/messages/index.d.ts.map +1 -1
  26. package/dist/messages/orchestration.d.ts +1 -0
  27. package/dist/messages/orchestration.d.ts.map +1 -1
  28. package/dist/messages/reload.d.ts +21 -0
  29. package/dist/messages/reload.d.ts.map +1 -0
  30. package/dist/messages/rosterSummary.d.ts +6 -0
  31. package/dist/messages/rosterSummary.d.ts.map +1 -0
  32. package/dist/messages/teamPreparation.d.ts +8 -0
  33. package/dist/messages/teamPreparation.d.ts.map +1 -0
  34. package/dist/opencodeArtifacts/createRosterReload.d.ts +2 -0
  35. package/dist/opencodeArtifacts/createRosterReload.d.ts.map +1 -0
  36. package/dist/opencodeArtifacts/orchestratorAgent.d.ts.map +1 -1
  37. package/dist/opencodeArtifacts/rosterSummary.d.ts +2 -0
  38. package/dist/opencodeArtifacts/rosterSummary.d.ts.map +1 -0
  39. package/dist/opencodeArtifacts/slashCommand.d.ts +1 -0
  40. package/dist/opencodeArtifacts/slashCommand.d.ts.map +1 -1
  41. package/dist/opencodeArtifacts/teamPreparation.d.ts +2 -0
  42. package/dist/opencodeArtifacts/teamPreparation.d.ts.map +1 -0
  43. package/dist/orchestrator/roster.d.ts +0 -7
  44. package/dist/orchestrator/roster.d.ts.map +1 -1
  45. package/dist/orchestrator/rosterPersistence.d.ts +0 -6
  46. package/dist/orchestrator/rosterPersistence.d.ts.map +1 -1
  47. package/dist/orchestrator/rosterReconciliation.d.ts +14 -0
  48. package/dist/orchestrator/rosterReconciliation.d.ts.map +1 -0
  49. package/dist/orchestrator/sessionStatus.d.ts +12 -0
  50. package/dist/orchestrator/sessionStatus.d.ts.map +1 -0
  51. package/dist/orchestrator/subsessions.d.ts +2 -10
  52. package/dist/orchestrator/subsessions.d.ts.map +1 -1
  53. package/dist/orchestrator/worktreeAdapter.d.ts.map +1 -1
  54. package/dist/plugin/consoleTool.d.ts +18 -0
  55. package/dist/plugin/consoleTool.d.ts.map +1 -0
  56. package/dist/plugin/hooks.d.ts +3 -4
  57. package/dist/plugin/hooks.d.ts.map +1 -1
  58. package/dist/plugin/registerCastTool.d.ts +8 -16
  59. package/dist/plugin/registerCastTool.d.ts.map +1 -1
  60. package/dist/plugin/reloadTool.d.ts +33 -0
  61. package/dist/plugin/reloadTool.d.ts.map +1 -0
  62. package/dist/plugin/teamPreparation.d.ts +26 -0
  63. package/dist/plugin/teamPreparation.d.ts.map +1 -0
  64. package/dist/telemetry/diagnostics.d.ts +1 -1
  65. package/dist/telemetry/diagnostics.d.ts.map +1 -1
  66. package/dist/telemetry/events.d.ts +24 -0
  67. package/dist/telemetry/events.d.ts.map +1 -1
  68. package/package.json +1 -1
@@ -1,17 +1,19 @@
1
1
  ---
2
- description: openteam runtime commands (baseline show|set|auto, doctor, agents, console, report, clear-cache)
2
+ description: openteam runtime commands (baseline show|set|auto, doctor, agents, console start|status|stop, report, clear-cache)
3
3
  ---
4
4
 
5
5
  Use the `openteam` tool to execute the command indicated by the user: $ARGUMENTS
6
6
 
7
- Interpret the arguments like this and call the `openteam` tool exactly once:
7
+ Interpret the arguments like this and call exactly one openteam tool once:
8
8
 
9
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"`
13
13
  - `agents` → `action: "agents"`
14
- - `console` → `action: "console"`
14
+ - `console` or `console status` call `openteam-console` with `action: "status"`
15
+ - `console start` → call `openteam-console` with `action: "start"`
16
+ - `console stop` → call `openteam-console` with `action: "stop"`
15
17
  - `report` → `action: "report"`
16
18
  - `clear-cache` → `action: "clear-cache"`
17
19
 
package/README.es.md CHANGED
@@ -179,12 +179,18 @@ bootstrap exacto. Los workers generados omiten `model` en frontmatter: manda su
179
179
  política en `.opencode/openteam.json`. Guardian, scribe y ralph no están
180
180
  forzados a local por nombre.
181
181
 
182
- Ese orquestador no trae subagentes específicos del proyecto precreados. En cada
183
- petición comprueba el roster, reutiliza especialistas existentes y crea el equipo
184
- mínimo a demanda cuando haga falta. La ubicación de modelos viene de las
185
- políticas globales y por agente, no de clasificar sensibilidad. El router
186
- unificado puede seguir derivando requisitos de capacidad y complejidad dentro
187
- del dominio permitido.
182
+ Setup **no crea workers**, ni genéricos ni específicos del proyecto. Los
183
+ perfiles de roles integrados son defaults de ejecución, no agentes `.md`
184
+ adicionales. Ante cada petición de trabajo el primario compara las capacidades
185
+ necesarias con el roster y los subagentes existentes. Reutiliza a quienes
186
+ pueden cubrirla y contrata solo las especialidades que falten, conservando
187
+ el reparto. Si a un miembro solo le falta el perfil de ejecución, el registro
188
+ configura a ese mismo miembro con
189
+ `model: "auto"`, sin duplicarlo ni enviarte a un asistente de terminal.
190
+ Las políticas existentes no cambian y las nuevas heredan el dominio global.
191
+ La ubicación de modelos viene de estas políticas, no de clasificar sensibilidad.
192
+ El router unificado puede seguir derivando requisitos de capacidad y complejidad
193
+ dentro del dominio permitido.
188
194
 
189
195
  El equipo tiene **identidad temática**: el orquestador elige (o te pregunta) un **universo** y nombra a cada agente con un personaje de ese universo, registrando el reparto en `.opencode/openteam/roster.md` (fuera de `.opencode/agent/`, para que opencode no lo cargue como un agente fantasma) para que los nombres **persistan** entre sesiones. Además de los roles específicos del proyecto, contempla tres **roles estándar** creados a demanda:
190
196
 
@@ -257,7 +263,7 @@ La versión publicada más reciente aparece en
257
263
  Notas al actualizar:
258
264
 
259
265
  - **No necesitas volver a ejecutar `openteam setup`** para actualizar el plugin: opencode resuelve el paquete `@jmanuelcorral/openteam` declarado en `opencode.json` a la versión instalada. Reinicia opencode para que recargue el plugin.
260
- - Vuelve a ejecutar `openteam setup` **solo** si quieres regenerar la configuración (cambiar runtimes, modelos o baseline). Pedirá confirmación antes de sobrescribir `opencode.json`, `.opencode/openteam.json` o `.opencode/agent/openteam.md`; **no toca los subagentes** que el orquestador haya creado a demanda.
266
+ - Vuelve a ejecutar `openteam setup` para instalar comandos generados nuevos como `/create_roster` o regenerar la configuración (runtimes, modelos o baseline). Revisa su confirmación antes de sobrescribir `opencode.json`, `.opencode/openteam.json` o `.opencode/agent/openteam.md`; **no sobrescribe ni elimina archivos de workers existentes**, incluidos los genéricos de instalaciones anteriores.
261
267
  - Ajustes puntuales sin reinit: `openteam baseline set <provider/model>` o `openteam baseline auto`.
262
268
 
263
269
  ## Configuración
@@ -495,6 +501,51 @@ Los cambios de `set`/`auto` se persisten en `.opencode/openteam.json` y aplican
495
501
 
496
502
  > ¿No ves `/openteam` en opencode? Asegúrate de que existe `.opencode/command/openteam.md` (lo crea `openteam setup`) y **reinicia/recarga opencode** para que descubra el comando.
497
503
 
504
+ #### Componer el equipo sin empezar el trabajo
505
+
506
+ ```text
507
+ /create_roster
508
+ /create_roster Crear una API de reservas con panel web y pruebas de integración
509
+ ```
510
+
511
+ Setup también instala `.opencode/command/create_roster.md`, enlazado
512
+ explícitamente al primario `openteam`. Con descripción compone el equipo a
513
+ partir de ese objetivo; sin ella inspecciona el código existente. Si no hay
514
+ código significativo, pregunta qué quieres construir y espera antes de escribir.
515
+
516
+ El flujo reutiliza o amplía el reparto existente sin sobrescribir agentes
517
+ personalizados, registra `.opencode/openteam/roster.md` con la herramienta
518
+ validada y crea los subagentes que falten en `.opencode/agent/<agentName>.md`.
519
+ El registro también inicializa los perfiles específicos que falten en
520
+ `.opencode/openteam.json` con `model: "auto"`, conservando los perfiles
521
+ existentes, la política del primario, los overrides de máquina y los permisos.
522
+ Los archivos de workers siguen los aliases del roster: `scribe -> c3po`
523
+ necesita `c3po.md`, no otro archivo `scribe.md`.
524
+ Verifica el equipo persistido sin implementar ni repartir tareas.
525
+ Las peticiones de trabajo normales usan la misma preparación y después
526
+ continúan con la tarea solicitada. `openteam roles init` se conserva como
527
+ opción de compatibilidad para workers antiguos sin perfil, no como paso
528
+ obligatorio de incorporación. Después de actualizar, vuelve a
529
+ ejecutar setup y recarga opencode para descubrir el comando; consulta la
530
+ [guía de comandos](docs/es/guide/commands.md).
531
+
532
+ Toda creación o ampliación del equipo, incluida la automática, debe mostrar la
533
+ tabla **Agente / Rol / Modelo** devuelta por la herramienta de registro para
534
+ todo el equipo antes de iniciar trabajo. Incluye el primario y los roles
535
+ garantizados. Las políticas exactas muestran `provider/model` y sus fallbacks;
536
+ `auto` indica que el modelo concreto se seleccionará al ejecutar una tarea,
537
+ sin inventar una asignación.
538
+
539
+ Después del resumen correcto de `/create_roster`, el primario pregunta si
540
+ quieres recargar opencode para que descubra los agentes. Solo una respuesta
541
+ afirmativa explícita solicita la recarga de la instancia del proyecto. Rechazarla
542
+ o no responder conserva el equipo preparado sin recargar. Los permisos de
543
+ opencode siguen aplicándose. La solicitud tiene un límite de 30 segundos,
544
+ incluida la autorización del permiso, y espera a que terminen el turno de
545
+ confirmación y las demás sesiones activas. Un nuevo turno en cualquier sesión
546
+ del proyecto la cancela. No
547
+ reinicia el proceso, no borra el historial guardado ni autoriza implementación.
548
+
498
549
  ### 3. CLI (`bin`)
499
550
 
500
551
  El paquete expone el binario `openteam`. Con instalación global:
@@ -945,7 +996,7 @@ Consulta [docs/compatibility.md](docs/compatibility.md). Resumen verificado el `
945
996
 
946
997
  | Superficie | Versión / contrato |
947
998
  | --- | --- |
948
- | openteam | `0.22.1`; versión actual del paquete |
999
+ | openteam | `0.24.0`; versión actual del paquete |
949
1000
  | `@opencode-ai/plugin` | `1.18.19` |
950
1001
  | `@opencode-ai/sdk` | `1.18.19` |
951
1002
  | Hook de routing | `chat.message`; no `chat.params` para cambiar modelo |
package/README.md CHANGED
@@ -192,11 +192,15 @@ bootstrap model. Generated workers intentionally omit frontmatter `model`; their
192
192
  policies in `.opencode/openteam.json` are authoritative. Guardian, scribe, and
193
193
  ralph are not forced local by name.
194
194
 
195
- That orchestrator ships **no project-specific pre-created subagents**. On every
196
- request it checks whether a team already exists
197
- (`.opencode/openteam/roster.md` + subagents in `.opencode/agent/`). If needed,
198
- it designs the minimal team and creates it on demand, reusing existing agents
199
- first. Model placement comes from the global and per-agent policies, not from
195
+ Setup creates **no worker agents**, generic or project-specific. Built-in role
196
+ profiles are execution defaults, not additional `.md` agents. For each
197
+ substantive request the primary compares the required capabilities with the
198
+ roster and existing subagents. It reuses capable members and hires only missing
199
+ specialists, preserving the existing cast. If a member merely lacks an
200
+ execution profile, registration configures that same member with `model: "auto"`
201
+ instead of hiring a duplicate or sending you to a terminal wizard.
202
+ Existing policies remain unchanged; new automatic policies inherit the global
203
+ execution domain. Model placement comes from these policies, not from
200
204
  automatic sensitivity classification. The unified router may still derive
201
205
  capability and complexity requirements inside the permitted domain. (This
202
206
  on-demand, themed-team model is inspired by
@@ -272,7 +276,7 @@ The most recent published version is shown at
272
276
  Notes when updating:
273
277
 
274
278
  - **You do not need to re-run `openteam setup`** to update the plugin: opencode resolves the `@jmanuelcorral/openteam` package declared in `opencode.json` to the installed version. Restart opencode so it reloads the plugin.
275
- - Re-run `openteam setup` **only** if you want to regenerate the configuration (change runtimes, models or baseline). It asks for confirmation before overwriting `opencode.json`, `.opencode/openteam.json` or `.opencode/agent/openteam.md`; it **does not touch the subagents** the orchestrator created on demand.
279
+ - Re-run `openteam setup` to install new generated commands such as `/create_roster` or regenerate configuration (runtimes, models or baseline). Review its confirmation before overwriting `opencode.json`, `.opencode/openteam.json` or `.opencode/agent/openteam.md`; it **does not overwrite or remove existing worker files**, including generic files from older installations.
276
280
  - One-off adjustments without a re-init: `openteam baseline set <provider/model>` or `openteam baseline auto`.
277
281
 
278
282
  ## Configuration
@@ -502,6 +506,48 @@ The plugin registers the `openteam` tool. Ask the agent to use it, or install th
502
506
 
503
507
  > Don't see `/openteam`? Make sure `.opencode/command/openteam.md` exists (created by `openteam setup`) and **restart/reload opencode** to discover it.
504
508
 
509
+ #### Compose the team without starting work
510
+
511
+ ```text
512
+ /create_roster
513
+ /create_roster Build a booking API with a web dashboard and integration tests
514
+ ```
515
+
516
+ Setup also installs `.opencode/command/create_roster.md`, explicitly bound to
517
+ the `openteam` primary. With a description it composes from that goal; without
518
+ one it inspects the existing codebase. If there is no meaningful source, it
519
+ asks what you want to build and waits before writing anything.
520
+
521
+ The workflow reuses or extends the existing cast without overwriting customized
522
+ agents, registers `.opencode/openteam/roster.md` through the validated tool,
523
+ and creates missing `.opencode/agent/<agentName>.md` subagents. Registration
524
+ also initializes missing custom worker profiles in `.opencode/openteam.json`
525
+ with `model: "auto"`; it preserves existing profiles, the primary policy,
526
+ machine-local overrides and permissions. Worker filenames follow the roster's
527
+ aliases: `scribe -> c3po` needs `c3po.md`, not an additional `scribe.md`.
528
+ It verifies the persisted team without
529
+ starting implementation or distributing tasks. Ordinary work requests use the
530
+ same preparation, then continue with the requested task.
531
+ `openteam roles init` remains an optional compatibility command for legacy
532
+ unprofiled workers, not a required onboarding step. Rerun setup after updating
533
+ and reload opencode to discover the command; see the
534
+ [commands guide](docs/guide/commands.md).
535
+
536
+ Every team creation or extension, including automatic creation, must show the
537
+ registration tool's **Agent / Role / Model** table for the whole team before
538
+ work starts. It includes the primary and guaranteed roles. Exact model policies
539
+ show `provider/model` and any configured fallbacks; `auto` explicitly means the
540
+ concrete model will be selected when a task is dispatched, not a guessed model.
541
+
542
+ After the successful `/create_roster` summary, the primary asks whether you want
543
+ to reload opencode to discover the agents. Only an explicit affirmative answer
544
+ requests a project-instance reload; declining or not answering leaves the
545
+ prepared team in place without reloading. Host permissions still apply.
546
+ The request has a 30-second limit, including permission approval, and waits
547
+ for the confirming turn and other active sessions to finish. A new turn in any
548
+ project session cancels it. It does not restart the process, delete saved
549
+ conversation history, or authorize implementation work.
550
+
505
551
  ### 3. CLI (`bin`)
506
552
 
507
553
  The package exposes the `openteam` binary. With a global install:
@@ -903,7 +949,7 @@ See [docs/compatibility.md](docs/compatibility.md). Verified summary as of `2026
903
949
 
904
950
  | Surface | Version / contract |
905
951
  | --- | --- |
906
- | openteam | `0.22.1`; current package version |
952
+ | openteam | `0.24.0`; current package version |
907
953
  | `@opencode-ai/plugin` | `1.18.19` |
908
954
  | `@opencode-ai/sdk` | `1.18.19` |
909
955
  | 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.48969799999997576,
37
+ "p95Millis": 0.4944939999999747,
38
38
  "budgetMillis": 50,
39
39
  "samples": 100
40
40
  }
41
41
  },
42
42
  "verdict": "pass",
43
43
  "failedGates": [],
44
- "digest": "74698df75550b729faeaa17c40fa0c31d0570a6348b33f9e8a77cb544c9e17fc"
44
+ "digest": "136f1df46d2aee4ca80d9468e5fa106d343fe5f41d5792a28bd367425cf3c0f0"
45
45
  }
@@ -20,7 +20,7 @@
20
20
  "rawFindings": 0
21
21
  },
22
22
  "overhead": {
23
- "p95Millis": 0.40520899999998505,
23
+ "p95Millis": 0.357799,
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": "9ad339e9583126667015455e8b077fd61a7d5e6c03fcfae14a5eafaa0ff7e509"
38
+ "digest": "35c1a5f4fb0142c17d55596462fe2dfeb105e475a9e571b402422171d567833f"
39
39
  }
@@ -0,0 +1,50 @@
1
+ import { z } from "zod";
2
+ export declare const CONSOLE_RUNTIME_SCHEMA_VERSION: 1;
3
+ export declare const CONSOLE_RUNTIME_DIRECTORY = ".opencode/openteam-local/console";
4
+ export declare const CONSOLE_RUNTIME_FILE = "runtime.json";
5
+ export declare const CONSOLE_LAUNCH_LOCK_FILE = "launch.lock";
6
+ export declare const CONSOLE_LOG_FILE = "console.log";
7
+ export declare const ConsoleRuntimeStateSchema: z.ZodObject<{
8
+ schemaVersion: z.ZodLiteral<1>;
9
+ pid: z.ZodNumber;
10
+ workspaceRoot: z.ZodString;
11
+ host: z.ZodString;
12
+ port: z.ZodNumber;
13
+ url: z.ZodURL;
14
+ startedAt: z.ZodISODateTime;
15
+ launchId: z.ZodUUID;
16
+ logPath: z.ZodString;
17
+ }, z.core.$strict>;
18
+ export declare const ConsoleLaunchLockSchema: z.ZodObject<{
19
+ schemaVersion: z.ZodLiteral<1>;
20
+ workspaceRoot: z.ZodString;
21
+ launchId: z.ZodUUID;
22
+ ownerPid: z.ZodNumber;
23
+ createdAt: z.ZodISODateTime;
24
+ }, z.core.$strict>;
25
+ export type ConsoleRuntimeState = z.infer<typeof ConsoleRuntimeStateSchema>;
26
+ export type ConsoleLaunchLock = z.infer<typeof ConsoleLaunchLockSchema>;
27
+ export type ConsoleRuntimePaths = {
28
+ directory: string;
29
+ runtimeStatePath: string;
30
+ launchLockPath: string;
31
+ logPath: string;
32
+ };
33
+ export declare class ConsoleRuntimeStateFileError extends Error {
34
+ readonly path: string;
35
+ constructor(path: string, detail: string);
36
+ }
37
+ export declare function resolveConsoleRuntimePaths(workspaceRoot: string): ConsoleRuntimePaths;
38
+ export declare function readConsoleRuntimeState(path: string): Promise<ConsoleRuntimeState | undefined>;
39
+ export declare function writeConsoleRuntimeState(path: string, state: ConsoleRuntimeState): Promise<void>;
40
+ export declare function removeConsoleRuntimeState(path: string): Promise<void>;
41
+ export declare function removeConsoleRuntimeStateIfOwned(path: string, owner: {
42
+ pid: number;
43
+ launchId: string;
44
+ }): Promise<boolean>;
45
+ export declare function readConsoleLaunchLock(path: string): Promise<ConsoleLaunchLock | undefined>;
46
+ export declare function removeConsoleLaunchLock(path: string): Promise<void>;
47
+ export declare function acquireConsoleLaunchLock(path: string, lock: ConsoleLaunchLock): Promise<{
48
+ release: () => Promise<void>;
49
+ } | "busy">;
50
+ //# sourceMappingURL=consoleRuntimeState.d.ts.map
@@ -0,0 +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,gBAAgB,CAAC;AAE9C,eAAO,MAAM,yBAAyB;;;;;;;;;;kBAY3B,CAAC;AAEZ,eAAO,MAAM,uBAAuB;;;;;;kBAQzB,CAAC;AAEZ,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,MAAM,MAAM,mBAAmB,GAAG;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ean;
77
+ runtimeStatePath?: string;
78
+ launchId?: string;
77
79
  /**
78
80
  * When true, print {@link CONSOLE_HELP} and exit 0 without starting the
79
81
  * server. Default (undefined/false) preserves the historic behaviour of
@@ -97,6 +99,8 @@ export declare function parseConsoleServeArgs(rest: readonly string[]): {
97
99
  status: boolean;
98
100
  serve: boolean;
99
101
  open: boolean;
102
+ runtimeStatePath?: string;
103
+ launchId?: string;
100
104
  };
101
105
  /**
102
106
  * True when the console arguments ask for help (`--help`/`-h`). Kept separate
@@ -1 +1 @@
1
- {"version":3,"file":"consoleServe.d.ts","sourceRoot":"","sources":["../../src/cli/consoleServe.ts"],"names":[],"mappings":"AACA,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;AACrE,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;AAEvE,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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,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG;IAC9D,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CA8BA;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAErE;AAED,MAAM,MAAM,kBAAkB,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtD;;;;;GAKG;AACH,wBAAsB,eAAe,CACnC,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,kBAAkB,CAAC,CA0N7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"purgeAdapter.d.ts","sourceRoot":"","sources":["../../src/cli/purgeAdapter.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,SAAS,EAGV,MAAM,mBAAmB,CAAC;AAkD3B;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAsH1D"}
1
+ {"version":3,"file":"purgeAdapter.d.ts","sourceRoot":"","sources":["../../src/cli/purgeAdapter.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,SAAS,EAGV,MAAM,mBAAmB,CAAC;AAoD3B;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAwJ1D"}
package/dist/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AA6DA,OAAO,EAML,KAAK,cAAc,EAEpB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AA6DtE,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,cAAc,GACrB,wBAAwB,CA8B1B"}
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AA6DA,OAAO,EAML,KAAK,cAAc,EAEpB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AA6DtE,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,cAAc,GACrB,wBAAwB,CA8B1B"}