wicked-crew-api-types 0.115.0 → 0.116.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 (2) hide show
  1. package/index.d.ts +25 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1017,6 +1017,8 @@ export interface RosterSeat {
1017
1017
  * an engine predating the field (serde omits `None`) and on seats with no known login flow.
1018
1018
  */
1019
1019
  login_invocation?: string;
1020
+ /** Container seats sign in through the daemon's disposable login terminal. */
1021
+ sign_in?: 'container';
1020
1022
  /**
1021
1023
  * The shell invocation that signs this seat OUT of its own configuration root (crew#615;
1022
1024
  * wicked-core#807 `AgenticCli.logout_invocation`, core-ts >= 0.7.43): the CLI's own documented
@@ -5180,7 +5182,8 @@ export interface DomainCoverage {
5180
5182
 
5181
5183
  /**
5182
5184
  * `POST /seats/:cli/logout` (crew#615): the PTY size for the terminal the daemon opens running the
5183
- * seat's own `logout_invocation`. Both optional (default 100 x 30). `POST /seats/:cli/login` is
5185
+ * seat's own `logout_invocation`, also used by `POST /seats/:cli/container-login` for the disposable
5186
+ * login container. Both optional (default 100 x 30). `POST /seats/:cli/login` is
5184
5187
  * GONE from api-types 0.115.0 (DES-seats-page Q3): sign-in is a command the operator runs in their
5185
5188
  * own terminal (`RosterSeat.login_invocation`).
5186
5189
  */
@@ -5202,6 +5205,27 @@ export interface SeatSessionResponse {
5202
5205
  action: 'login' | 'logout';
5203
5206
  }
5204
5207
 
5208
+ export interface SeatContainerLoginResponse {
5209
+ terminalId: string;
5210
+ cli: string;
5211
+ action: 'sign_in';
5212
+ }
5213
+
5214
+ export interface SeatContainerLoginOutcome {
5215
+ cli: string;
5216
+ ok: boolean;
5217
+ files?: string[];
5218
+ expires_at?: number | null;
5219
+ error?: string;
5220
+ /** ISO-8601 time of ingestion. */
5221
+ at: string;
5222
+ }
5223
+
5224
+ export interface SeatContainerLogoutResponse {
5225
+ cli: string;
5226
+ action: 'sign_out';
5227
+ }
5228
+
5205
5229
  /** The open-terminal request body (`POST /terminals`, DES-TERMINAL-001 §6). */
5206
5230
  export interface OpenTerminalBody {
5207
5231
  /** Working directory the PTY opens in. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-crew-api-types",
3
- "version": "0.115.0",
3
+ "version": "0.116.0",
4
4
  "description": "The wire contract of the wicked-crew daemon's /api/v1 REST surface and /ws CoreEvent frames \u2014 types only, zero runtime",
5
5
  "type": "module",
6
6
  "types": "./index.d.ts",