@ai-matrx/agents 0.21.26 → 0.21.27

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.
@@ -86,6 +86,8 @@ interface SourceManifestEntry {
86
86
  resource_type: string;
87
87
  state: SourceState;
88
88
  state_detail?: string;
89
+ /** Why it cannot be used — the same words as `DroppedSource.reason`; "archived" = show Restore. */
90
+ reason?: DroppedSourceReason | null;
89
91
  forms: SourceManifestForm[];
90
92
  default_form: string;
91
93
  segments?: SourceManifestSegment[];
@@ -119,8 +121,12 @@ interface ResolvedSource {
119
121
  /** Every stand-in announces itself. */
120
122
  notes: string[];
121
123
  }
122
- /** A1 (2026-09-27): "not_ready" = a file not yet read. */
123
- type DroppedSourceReason = "no_access" | "missing" | "failed" | "over_budget" | "not_ready";
124
+ /**
125
+ * A1 (2026-09-27): "not_ready" = a file not yet read. "archived" (2026-10-01) = the Source is
126
+ * archived and this person may know it (its owner, or anyone who can read it anyway): restore it
127
+ * to use it. Anyone else hears "no_access". One server rule for every kind (`archived_reason.py`).
128
+ */
129
+ type DroppedSourceReason = "no_access" | "archived" | "missing" | "failed" | "over_budget" | "not_ready";
124
130
  interface DroppedSource {
125
131
  ref: SourceRef;
126
132
  reason: DroppedSourceReason;
@@ -86,6 +86,8 @@ interface SourceManifestEntry {
86
86
  resource_type: string;
87
87
  state: SourceState;
88
88
  state_detail?: string;
89
+ /** Why it cannot be used — the same words as `DroppedSource.reason`; "archived" = show Restore. */
90
+ reason?: DroppedSourceReason | null;
89
91
  forms: SourceManifestForm[];
90
92
  default_form: string;
91
93
  segments?: SourceManifestSegment[];
@@ -119,8 +121,12 @@ interface ResolvedSource {
119
121
  /** Every stand-in announces itself. */
120
122
  notes: string[];
121
123
  }
122
- /** A1 (2026-09-27): "not_ready" = a file not yet read. */
123
- type DroppedSourceReason = "no_access" | "missing" | "failed" | "over_budget" | "not_ready";
124
+ /**
125
+ * A1 (2026-09-27): "not_ready" = a file not yet read. "archived" (2026-10-01) = the Source is
126
+ * archived and this person may know it (its owner, or anyone who can read it anyway): restore it
127
+ * to use it. Anyone else hears "no_access". One server rule for every kind (`archived_reason.py`).
128
+ */
129
+ type DroppedSourceReason = "no_access" | "archived" | "missing" | "failed" | "over_budget" | "not_ready";
124
130
  interface DroppedSource {
125
131
  ref: SourceRef;
126
132
  reason: DroppedSourceReason;