memax-sdk 0.8.0-alpha.310 → 0.8.0-alpha.313

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.
@@ -586,7 +586,8 @@ export interface paths {
586
586
  * default branch: each typed, with its hash (send it back with a
587
587
  * result, so a result about an older definition is ignored) and
588
588
  * whether it is armed (it held once on the default branch; only an
589
- * armed condition can mark its memory stale). No statements. A
589
+ * armed condition can mark its memory stale), with the commit of its
590
+ * latest hold, where a machine looks for a rename. No statements. A
590
591
  * condition that hasn't held in 30 days is left out, since Memax stops
591
592
  * asking, and so is `pr_state`, which only the GitHub App checks.
592
593
  */
@@ -5419,6 +5420,15 @@ export interface components {
5419
5420
  hash: components["schemas"]["ConditionHash"];
5420
5421
  /** @description It held once on the default branch, so a failure can mark its memory stale. */
5421
5422
  armed: boolean;
5423
+ /**
5424
+ * @description When it is armed, the commit of its latest hold on the default
5425
+ * branch that Memax heard of (from any machine). A machine that
5426
+ * finds its path gone and has no hold of its own to start from
5427
+ * looks for the file's rename from this commit to the one it
5428
+ * checks, so a file that moved reads as `renamed`, with where it
5429
+ * went, rather than `removed`.
5430
+ */
5431
+ held_commit?: string;
5422
5432
  };
5423
5433
  /** @description One kept memory's conditions to check, without its words. */
5424
5434
  MemoryConditions: {
@@ -5625,10 +5635,16 @@ export interface components {
5625
5635
  * file (or copy-out) rewritten. artifacts: the stored copies of older
5626
5636
  * compiles and hand edits re-rendered. caches: the caches purged.
5627
5637
  * ledger: the forget ledger's copy (ids only) written. agent: an agent
5628
- * told on its next read.
5638
+ * told on its next read. checks: the check results members' machines
5639
+ * kept of its conditions (its refs and the paths they named, never
5640
+ * its words), which each machine's daemon drops as soon as it hears
5641
+ * of the Forget; there only when it had check results. It is done once
5642
+ * every machine that checked the space in the 30 days before has
5643
+ * checked it since (a machine reports what changed, and a full set
5644
+ * daily), and `count` says how many haven't.
5629
5645
  * @enum {string}
5630
5646
  */
5631
- StepKind: "asked" | "removed" | "target" | "artifacts" | "caches" | "ledger" | "agent";
5647
+ StepKind: "asked" | "removed" | "target" | "artifacts" | "caches" | "ledger" | "agent" | "checks";
5632
5648
  /** @enum {string} */
5633
5649
  StepStatus: "done" | "waiting" | "held" | "failed" | "unreachable";
5634
5650
  /**
@@ -5641,9 +5657,11 @@ export interface components {
5641
5657
  * offline: a home file whose machine's daemon hasn't been seen in the
5642
5658
  * last 15 minutes (`target.machine.last_seen_at`); its file still
5643
5659
  * holds it until the machine connects, and is rewritten then.
5660
+ * next_check: a checks step's machines that haven't checked the space
5661
+ * since the Forget; each drops what it kept when its daemon hears.
5644
5662
  * @enum {string}
5645
5663
  */
5646
- StepReason: "hand_edit" | "stopped" | "copy" | "delivery" | "compiling" | "paused" | "disconnected" | "next_read" | "offline";
5664
+ StepReason: "hand_edit" | "stopped" | "copy" | "delivery" | "compiling" | "paused" | "disconnected" | "next_read" | "offline" | "next_check";
5647
5665
  /**
5648
5666
  * @description A copy Memax can't reach. git_history: earlier commits of the
5649
5667
  * compiled files. agent_memory: what agents saved in their own memory.
@@ -5712,7 +5730,7 @@ export interface components {
5712
5730
  compile?: components["schemas"]["CompileRef"];
5713
5731
  agent?: components["schemas"]["TombstoneAgent"];
5714
5732
  reason?: components["schemas"]["StepReason"];
5715
- /** @description How many stored copies were re-rendered. */
5733
+ /** @description How many stored copies were re-rendered (artifacts), or how many machines haven't checked the space since (checks). */
5716
5734
  count?: number;
5717
5735
  /** @description The agent read it (else it is connected to the space). */
5718
5736
  read_it?: boolean;