@team-agent/installer 0.3.10 → 0.3.12

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.
@@ -25,6 +25,7 @@ pub enum DeliveryStatus {
25
25
  Queued,
26
26
  Blocked,
27
27
  Refused,
28
+ Degraded,
28
29
  RetryScheduled,
29
30
  TrustAutoAnswerExhausted,
30
31
  AlreadyDelivered,
@@ -65,6 +66,9 @@ pub enum DeliveryRefusal {
65
66
  /// swallow batch 3: an explicit empty `--to` target list (a failed send always
66
67
  /// carries its reason; an unexplained `failed` is a swallowed error).
67
68
  EmptyTargetList,
69
+ /// Coordinator is known unhealthy, so accepting a worker-bound message would
70
+ /// strand it in the store with no delivery tick.
71
+ CoordinatorUnavailable,
68
72
  }
69
73
 
70
74
  /// Debug 输出 = wire snake_case 字面(单一真相源 = serde rename),与事件/JSON 面一致,
@@ -134,7 +138,11 @@ pub enum AlertType {
134
138
  impl AlertType {
135
139
  /// `stuck_cancel(alert_type="all")` → `sorted(_ALERT_TYPES)` 全集 (`scheduler.py:269`)。
136
140
  pub fn all() -> [AlertType; 3] {
137
- [AlertType::CrossWorkerDeadlock, AlertType::IdleFallback, AlertType::Stuck]
141
+ [
142
+ AlertType::CrossWorkerDeadlock,
143
+ AlertType::IdleFallback,
144
+ AlertType::Stuck,
145
+ ]
138
146
  }
139
147
  }
140
148
 
@@ -175,10 +183,14 @@ pub enum ReceiverMode {
175
183
  /// 自动应答。故 `Failed` 携带 reason 但**不**携带任何 fallback 宽度。
176
184
  #[derive(Debug, Clone, PartialEq, Eq)]
177
185
  pub enum PaneWidthQuery {
178
- Ok { pane_width: u32 },
186
+ Ok {
187
+ pane_width: u32,
188
+ },
179
189
  /// 失败原因 (`tmux_query_failed:<exc>`/`tmux_query_nonzero`/`empty_output`/
180
190
  /// `unparseable_output`/`non_positive_width`)。**无默认宽度** (fail-safe)。
181
- Failed { error: String },
191
+ Failed {
192
+ error: String,
193
+ },
182
194
  }
183
195
 
184
196
  // ===========================================================================
@@ -243,7 +255,10 @@ pub enum CheckEvidence {
243
255
  /// `no_provider_sdk_calls` 的机械证据 (§84):三 SDK 调用计数。
244
256
  ProviderSdkCalls(ProviderSdkCalls),
245
257
  /// binding 一致性比对结果 (mismatch 列表)。
246
- Binding { mismatches: Vec<String>, details: serde_json::Value },
258
+ Binding {
259
+ mismatches: Vec<String>,
260
+ details: serde_json::Value,
261
+ },
247
262
  /// executable zero-token comms contract suite evidence.
248
263
  ContractSuite { checks: Vec<ContractSuiteCheck> },
249
264
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-agent/installer",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "description": "npx installer for Team Agent",
5
5
  "keywords": [
6
6
  "codex",
@@ -20,9 +20,9 @@
20
20
  "team-agent-installer": "npm/install.mjs"
21
21
  },
22
22
  "optionalDependencies": {
23
- "@team-agent/cli-darwin-arm64": "0.3.10",
24
- "@team-agent/cli-darwin-x64": "0.3.10",
25
- "@team-agent/cli-linux-x64": "0.3.10"
23
+ "@team-agent/cli-darwin-arm64": "0.3.12",
24
+ "@team-agent/cli-darwin-x64": "0.3.12",
25
+ "@team-agent/cli-linux-x64": "0.3.12"
26
26
  },
27
27
  "scripts": {
28
28
  "postinstall": "node npm/bincheck.mjs",