@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 +1 -1
- package/Cargo.toml +1 -1
- package/crates/team-agent/src/messaging/helpers.rs +25 -7
- package/package.json +4 -4
package/Cargo.lock
CHANGED
package/Cargo.toml
CHANGED
|
@@ -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.
|
|
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
|
-
//
|
|
174
|
-
//
|
|
175
|
-
//
|
|
176
|
-
//
|
|
177
|
-
//
|
|
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
|
-
|
|
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.
|
|
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.
|
|
24
|
-
"@team-agent/cli-darwin-x64": "0.5.
|
|
25
|
-
"@team-agent/cli-linux-x64": "0.5.
|
|
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",
|