memax-sdk 0.8.0-alpha.287 → 0.8.0-alpha.291

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.
@@ -1037,7 +1037,9 @@ export interface paths {
1037
1037
  * paths and the agents don't change. It follows Keep's rules for who
1038
1038
  * may: a member or owner who keeps in the space (a decision in a team
1039
1039
  * space needs a person on the web); agents and API keys are refused.
1040
- * One `scoped` receipt; a kept memory's files recompile. Only a
1040
+ * One `scoped` receipt; a kept memory's files recompile. A person's
1041
+ * change is undoable by them for 10 minutes (`POST
1042
+ * /v2/receipts/{receipt}:undo` with the `scoped` receipt). Only a
1041
1043
  * proposal, a kept memory or a faded one can change (409
1042
1044
  * `invalid_transition` otherwise). Asking for the repositories it
1043
1045
  * already names is 400 `invalid_request`, as an edit to the same
@@ -1458,8 +1460,9 @@ export interface paths {
1458
1460
  /**
1459
1461
  * Undo a decision
1460
1462
  * @description Undoes the command that wrote this receipt (any of its receipts):
1461
- * Review's ⌘Z. A person undoes their own keep, reject, edit or
1462
- * conflict resolution within 10 minutes, and their own Remember
1463
+ * Review's ⌘Z. A person undoes their own keep, reject, edit,
1464
+ * conflict resolution, Verify or change to where a memory applies
1465
+ * (`:scope`) within 10 minutes, and their own Remember
1463
1466
  * (undoing it withdraws the memory: it ends rejected, and leaves the
1464
1467
  * compiled files); any person who may keep undoes one of the judge's
1465
1468
  * folds within 14 days. Each memory gets an
@@ -1544,7 +1547,8 @@ export interface paths {
1544
1547
  * Read one agent
1545
1548
  * @description One agent connection with what it did this week, its latest writes
1546
1549
  * (receipts, which never hold the words) and its latest sessions, in
1547
- * your spaces. Disconnected agents can still be read.
1550
+ * your spaces, and for a cloud agent its latest session start.
1551
+ * Disconnected agents can still be read.
1548
1552
  */
1549
1553
  get: operations["getAgent"];
1550
1554
  put?: never;
@@ -4244,6 +4248,26 @@ export interface components {
4244
4248
  recent_writes: components["schemas"]["Receipt"][];
4245
4249
  /** @description Its latest sessions, most recent first (at most 10). */
4246
4250
  sessions: components["schemas"]["AgentSession"][];
4251
+ /** @description For a cloud agent, its latest session start that Memax counted; absent before its first. */
4252
+ last_start?: components["schemas"]["AgentStart"];
4253
+ };
4254
+ /**
4255
+ * @description A cloud agent's latest counted session start
4256
+ * (`POST /v2/spaces/{space}/session-starts`): when, the compiles its
4257
+ * repository's files held, and the memories whose lines it was told
4258
+ * about because they were added or changed since. Read from the
4259
+ * start's compile loads and its digest read, so it holds refs, never
4260
+ * words. A start that found nothing new has an empty `told`.
4261
+ */
4262
+ AgentStart: {
4263
+ /** @description When the session loaded the files. */
4264
+ at: components["schemas"]["Timestamp"];
4265
+ space_id: components["schemas"]["Id"];
4266
+ session_ref?: components["schemas"]["SessionRef"];
4267
+ /** @description The compiles the session's files held, oldest first. */
4268
+ compiles: components["schemas"]["CompileRef"][];
4269
+ /** @description The memories whose lines the start sent, in display order (at most 200). */
4270
+ told: components["schemas"]["DisplayRef"][];
4247
4271
  };
4248
4272
  AgentCommandResult: {
4249
4273
  outcome: components["schemas"]["Outcome"];