@team-agent/installer 0.5.33 → 0.5.34

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.
package/Cargo.lock CHANGED
@@ -575,7 +575,7 @@ dependencies = [
575
575
 
576
576
  [[package]]
577
577
  name = "team-agent"
578
- version = "0.5.33"
578
+ version = "0.5.34"
579
579
  dependencies = [
580
580
  "anyhow",
581
581
  "chrono",
package/Cargo.toml CHANGED
@@ -9,7 +9,7 @@ members = ["crates/team-agent", "crates/win-conpty-phase0", "crates/conpty-trans
9
9
 
10
10
  [workspace.package]
11
11
  edition = "2021"
12
- version = "0.5.33"
12
+ version = "0.5.34"
13
13
  license = "AGPL-3.0"
14
14
  rust-version = "1.95"
15
15
 
@@ -163,20 +163,27 @@ pub(crate) fn latest_prompt_signal(scrollback: &str) -> Option<AgentActivity> {
163
163
  }
164
164
  let mut has_idle_prompt = false;
165
165
  let mut has_live_working_indicator = false;
166
+ let mut has_fake_ready_structural = false;
166
167
  for line in &active_region {
167
168
  let lower = line.to_ascii_lowercase();
168
169
  if line.contains('❯') || line.contains('›') {
169
170
  has_idle_prompt = true;
170
171
  }
171
- // 0.5.32 follow-up (`0532-r1-real-fail-triage.md` §6/§7):
172
+ // 0.5.34 (`0532-r1-real-fail-triage.md` §6/§7 + te msg_94957b9c55b0):
172
173
  // fake provider owns explicit READY/WORKING markers (fake_worker.rs:47/59).
173
- // Recognize them here as STRUCTURAL bottom-region signals so restart's
174
- // first-capture READY does not fall through to `recent_provider_output`
175
- // false busy. Scope: literal `TEAM_AGENT_FAKE_READY`/`TEAM_AGENT_FAKE_WORKING`
176
- // tokens only do NOT infer that arbitrary "ready" prose from real
177
- // providers means idle.
174
+ // - READY is a STRUCTURAL non-busy signal that suppresses the
175
+ // `recent_provider_output` false-busy on first post-restart capture,
176
+ // but must NOT resolve to Idle (unknown-never-idle discipline —
177
+ // post-restart READY is the fake worker's boot heartbeat, not proof
178
+ // of an idle prompt). Route it through Uncertain with a distinct
179
+ // rationale so callers can trace the source.
180
+ // - WORKING is a structural busy signal (parity with the codex
181
+ // `• Working (` composer indicator).
182
+ // Scope: literal `TEAM_AGENT_FAKE_*` tokens only — do NOT infer that
183
+ // arbitrary "ready" prose from real providers means either idle or
184
+ // non-busy.
178
185
  if line.contains("TEAM_AGENT_FAKE_READY") {
179
- has_idle_prompt = true;
186
+ has_fake_ready_structural = true;
180
187
  }
181
188
  if line.contains("TEAM_AGENT_FAKE_WORKING") {
182
189
  has_live_working_indicator = true;
@@ -208,6 +215,17 @@ pub(crate) fn latest_prompt_signal(scrollback: &str) -> Option<AgentActivity> {
208
215
  if has_idle_prompt {
209
216
  return Some(idle_activity());
210
217
  }
218
+ // 0.5.34: fake READY is structural but not decisive. Return Uncertain
219
+ // so the classifier short-circuits (avoiding recent_provider_output
220
+ // false-busy) without asserting idle. `latest_pane_signal_is_structural`
221
+ // in coordinator/tick.rs treats `Some(_)` as structural.
222
+ if has_fake_ready_structural {
223
+ return Some(AgentActivity {
224
+ status: ActivityStatus::Uncertain,
225
+ confidence: 0.6,
226
+ rationale: "fake_ready_structural".to_string(),
227
+ });
228
+ }
211
229
  // No structural signal in the bottom region → caller (activity.rs:184)
212
230
  // gets None and treats as no-decisive-signal → Uncertain (IRON LAW).
213
231
  None
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-agent/installer",
3
- "version": "0.5.33",
3
+ "version": "0.5.34",
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.5.33",
24
- "@team-agent/cli-darwin-x64": "0.5.33",
25
- "@team-agent/cli-linux-x64": "0.5.33"
23
+ "@team-agent/cli-darwin-arm64": "0.5.34",
24
+ "@team-agent/cli-darwin-x64": "0.5.34",
25
+ "@team-agent/cli-linux-x64": "0.5.34"
26
26
  },
27
27
  "scripts": {
28
28
  "postinstall": "node npm/bincheck.mjs",