@team-agent/installer 0.5.124 → 0.5.126

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.
Files changed (151) hide show
  1. package/Cargo.lock +1 -8
  2. package/Cargo.toml +1 -1
  3. package/README.md +2 -2
  4. package/README.zh.md +2 -2
  5. package/crates/team-agent/Cargo.toml +0 -1
  6. package/crates/team-agent/src/cli/diagnose.rs +39 -69
  7. package/crates/team-agent/src/cli/emit.rs +45 -15
  8. package/crates/team-agent/src/cli/intent/runtime.rs +5 -53
  9. package/crates/team-agent/src/cli/intent/runtime_tests.rs +10 -130
  10. package/crates/team-agent/src/cli/leader.rs +2 -3
  11. package/crates/team-agent/src/cli/leader_prompt.rs +1 -1
  12. package/crates/team-agent/src/cli/mod.rs +28 -33
  13. package/crates/team-agent/src/cli/models.rs +44 -880
  14. package/crates/team-agent/src/cli/route.rs +1 -1
  15. package/crates/team-agent/src/cli/send/persist.rs +36 -0
  16. package/crates/team-agent/src/cli/send/presentation.rs +7 -1
  17. package/crates/team-agent/src/cli/send.rs +3 -1
  18. package/crates/team-agent/src/cli/spec.rs +1 -2
  19. package/crates/team-agent/src/cli/status_port/brief.rs +66 -0
  20. package/crates/team-agent/src/cli/tests/base.rs +4 -11
  21. package/crates/team-agent/src/cli/tests/mod.rs +1 -1
  22. package/crates/team-agent/src/cli/tests/run_delegation.rs +5 -4
  23. package/crates/team-agent/src/cli/tests/status_send.rs +17 -0
  24. package/crates/team-agent/src/compiler/tests.rs +39 -8
  25. package/crates/team-agent/src/compiler.rs +28 -204
  26. package/crates/team-agent/src/contract_runtime/backend.rs +79 -40
  27. package/crates/team-agent/src/contract_runtime/config.rs +37 -24
  28. package/crates/team-agent/src/contract_runtime/discovery.rs +33 -0
  29. package/crates/team-agent/src/contract_runtime/fork.rs +368 -0
  30. package/crates/team-agent/src/contract_runtime/framework.rs +87 -34
  31. package/crates/team-agent/src/contract_runtime/mod.rs +1 -0
  32. package/crates/team-agent/src/contract_runtime/registry.rs +299 -21
  33. package/crates/team-agent/src/coordinator/runtime_detectors.rs +0 -1
  34. package/crates/team-agent/src/coordinator/tests/api_error_recovery.rs +29 -8
  35. package/crates/team-agent/src/coordinator/tests/health_sync.rs +0 -42
  36. package/crates/team-agent/src/coordinator/tick.rs +89 -1
  37. package/crates/team-agent/src/db/message_store.rs +78 -3
  38. package/crates/team-agent/src/layout/worker_window_helpers.rs +0 -1
  39. package/crates/team-agent/src/leader/prompt.rs +1 -2
  40. package/crates/team-agent/src/leader/provider_attribution.rs +0 -52
  41. package/crates/team-agent/src/leader/start.rs +1 -2
  42. package/crates/team-agent/src/leader/tests/prompt_contract.rs +2 -3
  43. package/crates/team-agent/src/lifecycle/launch/add_agent.rs +91 -0
  44. package/crates/team-agent/src/lifecycle/launch/add_agent_state.rs +15 -195
  45. package/crates/team-agent/src/lifecycle/launch/agent_state.rs +0 -9
  46. package/crates/team-agent/src/lifecycle/launch/clone_agent.rs +11 -27
  47. package/crates/team-agent/src/lifecycle/launch/fork_agent.rs +18 -29
  48. package/crates/team-agent/src/lifecycle/launch/fork_entry.rs +6 -87
  49. package/crates/team-agent/src/lifecycle/launch/mcp_config.rs +3 -11
  50. package/crates/team-agent/src/lifecycle/launch/pi_mcp.rs +74 -244
  51. package/crates/team-agent/src/lifecycle/launch/quick_start.rs +0 -24
  52. package/crates/team-agent/src/lifecycle/launch/role_source.rs +5 -0
  53. package/crates/team-agent/src/lifecycle/launch/spawn.rs +21 -61
  54. package/crates/team-agent/src/lifecycle/launch/spec_state.rs +0 -1
  55. package/crates/team-agent/src/lifecycle/launch/worker_env.rs +0 -108
  56. package/crates/team-agent/src/lifecycle/launch.rs +2 -43
  57. package/crates/team-agent/src/lifecycle/profile_launch.rs +21 -348
  58. package/crates/team-agent/src/lifecycle/profile_smoke.rs +1 -2
  59. package/crates/team-agent/src/lifecycle/restart/common.rs +43 -378
  60. package/crates/team-agent/src/lifecycle/restart/selection.rs +5 -5
  61. package/crates/team-agent/src/lifecycle/restart.rs +0 -2
  62. package/crates/team-agent/src/lifecycle/role_config.rs +42 -3
  63. package/crates/team-agent/src/lifecycle/tests/behavioral_diff_264_red.rs +11 -6
  64. package/crates/team-agent/src/lifecycle/tests/claude_profile_launch_red.rs +8 -320
  65. package/crates/team-agent/src/lifecycle/tests/cli_argv_routing_red.rs +60 -145
  66. package/crates/team-agent/src/lifecycle/tests/clone_fork_copilot_perms_red.rs +8 -334
  67. package/crates/team-agent/src/lifecycle/tests/communication_mode_runtime_contract_red.rs +30 -11
  68. package/crates/team-agent/src/lifecycle/tests/copilot_provider_red.rs +2 -2
  69. package/crates/team-agent/src/lifecycle/tests/core.rs +17 -16
  70. package/crates/team-agent/src/lifecycle/tests/grok_require_explicit_model_red.rs +12 -12
  71. package/crates/team-agent/src/lifecycle/tests/harvest2_a_batch_red.rs +3 -51
  72. package/crates/team-agent/src/lifecycle/tests/launch_spawn.rs +26 -28
  73. package/crates/team-agent/src/lifecycle/tests/pi_catalog_red.rs +6 -18
  74. package/crates/team-agent/src/lifecycle/tests/pi_command_red.rs +52 -70
  75. package/crates/team-agent/src/lifecycle/tests/pi_dual_entry_red.rs +4 -157
  76. package/crates/team-agent/src/lifecycle/tests/pi_executable_mcp_red.rs +10 -302
  77. package/crates/team-agent/src/lifecycle/tests/pi_lifecycle_doctor_red.rs +1 -68
  78. package/crates/team-agent/src/lifecycle/tests/pi_native_mcp_capability_red.rs +1 -19
  79. package/crates/team-agent/src/lifecycle/tests/pi_session_delivery_red.rs +2 -100
  80. package/crates/team-agent/src/lifecycle/tests/quick_start_worker_readiness_red.rs +11 -10
  81. package/crates/team-agent/src/lifecycle/tests/restart_rebind_hotfix_252_red.rs +0 -1
  82. package/crates/team-agent/src/lifecycle/tests/restart_session_capture_red.rs +2 -106
  83. package/crates/team-agent/src/lifecycle/tests/status_credential_redaction_contract.rs +2 -2
  84. package/crates/team-agent/src/lifecycle/tests/swallow_batch4_semantics_red.rs +2 -254
  85. package/crates/team-agent/src/lifecycle/tests/upgrade_compat_0211_red.rs +4 -4
  86. package/crates/team-agent/src/lifecycle/tests/verify_rs031_window_consistency_red.rs +6 -5
  87. package/crates/team-agent/src/lifecycle/tests/worker_spawn_env_red.rs +7 -153
  88. package/crates/team-agent/src/lifecycle/tests.rs +0 -6
  89. package/crates/team-agent/src/lifecycle/types.rs +2 -18
  90. package/crates/team-agent/src/lifecycle/worker_command_context.rs +2 -4
  91. package/crates/team-agent/src/mcp_server/readiness.rs +148 -97
  92. package/crates/team-agent/src/mcp_server/readiness_tests.rs +115 -16
  93. package/crates/team-agent/src/messaging/delivery.rs +185 -168
  94. package/crates/team-agent/src/messaging/delivery_consumption_tests.rs +5 -5
  95. package/crates/team-agent/src/messaging/enter_rescue_tests.rs +1 -1
  96. package/crates/team-agent/src/messaging/helpers.rs +19 -0
  97. package/crates/team-agent/src/messaging/tests/dup_inject.rs +67 -5
  98. package/crates/team-agent/src/messaging/tests/runtime.rs +110 -4
  99. package/crates/team-agent/src/messaging/tests/spine.rs +46 -36
  100. package/crates/team-agent/src/model/enums.rs +1 -8
  101. package/crates/team-agent/src/provider/adapter.rs +33 -302
  102. package/crates/team-agent/src/provider/adapters/mod.rs +4 -5
  103. package/crates/team-agent/src/provider/argv_route.rs +1 -5
  104. package/crates/team-agent/src/provider/bypass_flags.rs +3 -11
  105. package/crates/team-agent/src/provider/classify.rs +68 -3
  106. package/crates/team-agent/src/provider/faults.rs +1 -1
  107. package/crates/team-agent/src/provider/model_catalog.rs +14 -273
  108. package/crates/team-agent/src/provider/session/capture.rs +7 -107
  109. package/crates/team-agent/src/provider/session/context_fork/outcome.rs +0 -4
  110. package/crates/team-agent/src/provider/session/context_fork.rs +17 -109
  111. package/crates/team-agent/src/provider/session_scan/common.rs +11 -36
  112. package/crates/team-agent/src/provider/session_scan/pi.rs +1 -34
  113. package/crates/team-agent/src/provider/session_scan.rs +4 -14
  114. package/crates/team-agent/src/provider/submit_now.rs +5 -28
  115. package/crates/team-agent/src/provider/tests/adapter.rs +39 -275
  116. package/crates/team-agent/src/provider/tests/classify.rs +53 -0
  117. package/crates/team-agent/src/provider/tests/command_helpers.rs +3 -15
  118. package/crates/team-agent/src/provider/tests/idle.rs +0 -25
  119. package/crates/team-agent/src/provider/types.rs +1 -1
  120. package/crates/team-agent/src/provider/wire.rs +79 -11
  121. package/crates/team-agent/src/state/abnormal_watch/tests/mod.rs +1 -1
  122. package/crates/team-agent/src/state/persist.rs +6 -6
  123. package/crates/team-agent/src/state/repository/tests.rs +2 -2
  124. package/crates/team-agent/src/tmux_backend/native_input_tests.rs +2 -178
  125. package/crates/team-agent/src/tmux_backend/tests.rs +151 -0
  126. package/crates/team-agent/src/tmux_backend.rs +43 -8
  127. package/crates/team-agent/src/transport/native_input.rs +2 -231
  128. package/package.json +4 -4
  129. package/skills/team-agent/SKILL.md +7 -5
  130. package/skills/team-agent/command-coverage.json +15 -1
  131. package/skills/team-agent/docs/reference/team-agent-operator.md +5 -3
  132. package/skills/team-agent/references/team-agent-operator.md +5 -3
  133. package/crates/team-agent/src/lifecycle/launch/cursor_create_chat.rs +0 -229
  134. package/crates/team-agent/src/lifecycle/launch/cursor_mcp.rs +0 -522
  135. package/crates/team-agent/src/lifecycle/launch/cursor_mcp_iso.rs +0 -282
  136. package/crates/team-agent/src/lifecycle/restart/avatar.rs +0 -1805
  137. package/crates/team-agent/src/lifecycle/tests/claude_compatible_config_red.rs +0 -325
  138. package/crates/team-agent/src/lifecycle/tests/cursor_mcp_overlay.rs +0 -576
  139. package/crates/team-agent/src/lifecycle/tests/cursor_require_explicit_model_red.rs +0 -222
  140. package/crates/team-agent/src/lifecycle/tests/cursor_restart_resume_red.rs +0 -511
  141. package/crates/team-agent/src/lifecycle/tests/pi_compiler_red.rs +0 -210
  142. package/crates/team-agent/src/lifecycle/tests/pi_fork_session_inheritance_red.rs +0 -1409
  143. package/crates/team-agent/src/provider/adapters/claude.rs +0 -78
  144. package/crates/team-agent/src/provider/adapters/claude_fork.rs +0 -131
  145. package/crates/team-agent/src/provider/adapters/cursor_agent.rs +0 -44
  146. package/crates/team-agent/src/provider/adapters/pi.rs +0 -100
  147. package/crates/team-agent/src/provider/session/context_fork/claude.rs +0 -123
  148. package/crates/team-agent/src/provider/session_scan/claude.rs +0 -523
  149. package/crates/team-agent/src/provider/session_scan/cursor.rs +0 -538
  150. package/crates/team-agent/src/provider/testdata/cursor-list-models-native.stdout +0 -250
  151. package/crates/team-agent/src/test_support/models_timeout_fixture.rs +0 -144
@@ -1,250 +0,0 @@
1
- Available models
2
-
3
- auto - Auto (default)
4
- gpt-5.3-codex-low - Codex 5.3 Low
5
- gpt-5.3-codex-low-fast - Codex 5.3 Low Fast
6
- gpt-5.3-codex - Codex 5.3
7
- gpt-5.3-codex-fast - Codex 5.3 Fast
8
- gpt-5.3-codex-high - Codex 5.3 High
9
- gpt-5.3-codex-high-fast - Codex 5.3 High Fast
10
- gpt-5.3-codex-xhigh - Codex 5.3 Extra High
11
- gpt-5.3-codex-xhigh-fast - Codex 5.3 Extra High Fast
12
- gpt-5.2 - GPT-5.2
13
- composer-2.5 - Composer 2.5
14
- claude-opus-5-thinking-high - Claude Opus 5 1M Thinking
15
- claude-opus-5-thinking-high-fast - Claude Opus 5 1M Thinking Fast
16
- gpt-5.6-sol-high - GPT-5.6 Sol 1M High
17
- gpt-5.6-sol-high-fast - GPT-5.6 Sol 1M High Fast
18
- gpt-5.6-sol-xhigh - GPT-5.6 Sol 1M Extra High
19
- gpt-5.6-sol-xhigh-fast - GPT-5.6 Sol 1M Extra High Fast
20
- claude-fable-5-thinking-high - Claude Fable 5 1M Thinking (NO ZDR)
21
- claude-fable-5-thinking-xhigh - Claude Fable 5 1M Extra High Thinking (NO ZDR)
22
- cursor-grok-4.5-high - Grok 4.5
23
- cursor-grok-4.5-high-fast - Grok 4.5 Fast
24
- gemini-3.7-flash-high - Gemini 3.7 Flash
25
- claude-sonnet-5-thinking-high - Claude Sonnet 5 1M Thinking
26
- claude-sonnet-5-thinking-xhigh - Claude Sonnet 5 1M Extra High Thinking
27
- gpt-5.6-luna-high - GPT-5.6 Luna 1M High
28
- grok-4.7-low - Grok 4.7 Low
29
- grok-4.7-low-fast - Grok 4.7 Low Fast​​
30
- grok-4.7-medium - Grok 4.7 Medium
31
- grok-4.7-medium-fast - Grok 4.7 Medium Fast​​
32
- grok-4.7-high - Grok 4.7 High
33
- grok-4.7-high-fast - Grok 4.7 High Fast​​
34
- grok-4.7-xhigh - Grok 4.7 Extra High
35
- grok-4.7-xhigh-fast - Grok 4.7 Extra High Fast​​
36
- cursor-grok-4.6-low - Grok 4.6 Low
37
- cursor-grok-4.6-low-fast - Grok 4.6 Low Fast
38
- cursor-grok-4.6-medium - Grok 4.6 Medium
39
- cursor-grok-4.6-medium-fast - Grok 4.6 Medium Fast
40
- cursor-grok-4.6-high - Grok 4.6
41
- cursor-grok-4.6-high-fast - Grok 4.6 Fast
42
- cursor-grok-4.6-xhigh - Grok 4.6 Extra High
43
- cursor-grok-4.6-xhigh-fast - Grok 4.6 Extra High Fast
44
- composer-2.5-fast - Composer 2.5 Fast
45
- claude-opus-5-5-low - Claude Opus 5.5 1M Low
46
- claude-opus-5-5-low-fast - Claude Opus 5.5 1M Low Fast
47
- claude-opus-5-5-medium - Claude Opus 5.5 1M
48
- claude-opus-5-5-medium-fast - Claude Opus 5.5 1M Fast
49
- claude-opus-5-5-high - Claude Opus 5.5 1M High
50
- claude-opus-5-5-high-fast - Claude Opus 5.5 1M High Fast
51
- claude-opus-5-5-xhigh - Claude Opus 5.5 1M Extra High
52
- claude-opus-5-5-xhigh-fast - Claude Opus 5.5 1M Extra High Fast
53
- claude-opus-5-5-max - Claude Opus 5.5 1M Max
54
- claude-opus-5-5-max-fast - Claude Opus 5.5 1M Max Fast
55
- claude-opus-5-low - Claude Opus 5 1M Low
56
- claude-opus-5-low-fast - Claude Opus 5 1M Low Fast
57
- claude-opus-5-medium - Claude Opus 5 1M Medium
58
- claude-opus-5-medium-fast - Claude Opus 5 1M Medium Fast
59
- claude-opus-5-high - Claude Opus 5 1M
60
- claude-opus-5-high-fast - Claude Opus 5 1M Fast
61
- claude-opus-5-thinking-low - Claude Opus 5 1M Low Thinking
62
- claude-opus-5-thinking-low-fast - Claude Opus 5 1M Low Thinking Fast
63
- claude-opus-5-thinking-medium - Claude Opus 5 1M Medium Thinking
64
- claude-opus-5-thinking-medium-fast - Claude Opus 5 1M Medium Thinking Fast
65
- claude-opus-5-thinking-xhigh - Claude Opus 5 1M Extra High Thinking
66
- claude-opus-5-thinking-xhigh-fast - Claude Opus 5 1M Extra High Thinking Fast
67
- claude-opus-5-thinking-max - Claude Opus 5 1M Max Thinking
68
- claude-opus-5-thinking-max-fast - Claude Opus 5 1M Max Thinking Fast
69
- claude-opus-4-8-low - Claude Opus 4.8 1M Low
70
- claude-opus-4-8-low-fast - Claude Opus 4.8 1M Low Fast
71
- claude-opus-4-8-medium - Claude Opus 4.8 1M Medium
72
- claude-opus-4-8-medium-fast - Claude Opus 4.8 1M Medium Fast
73
- claude-opus-4-8-high - Claude Opus 4.8 1M
74
- claude-opus-4-8-high-fast - Claude Opus 4.8 1M Fast
75
- claude-opus-4-8-xhigh - Claude Opus 4.8 1M Extra High
76
- claude-opus-4-8-xhigh-fast - Claude Opus 4.8 1M Extra High Fast
77
- claude-opus-4-8-max - Claude Opus 4.8 1M Max
78
- claude-opus-4-8-max-fast - Claude Opus 4.8 1M Max Fast
79
- claude-opus-4-8-thinking-low - Claude Opus 4.8 1M Low Thinking
80
- claude-opus-4-8-thinking-low-fast - Claude Opus 4.8 1M Low Thinking Fast
81
- claude-opus-4-8-thinking-medium - Claude Opus 4.8 1M Medium Thinking
82
- claude-opus-4-8-thinking-medium-fast - Claude Opus 4.8 1M Medium Thinking Fast
83
- claude-opus-4-8-thinking-high - Claude Opus 4.8 1M Thinking
84
- claude-opus-4-8-thinking-high-fast - Claude Opus 4.8 1M Thinking Fast
85
- claude-opus-4-8-thinking-xhigh - Claude Opus 4.8 1M Extra High Thinking
86
- claude-opus-4-8-thinking-xhigh-fast - Claude Opus 4.8 1M Extra High Thinking Fast
87
- claude-opus-4-8-thinking-max - Claude Opus 4.8 1M Max Thinking
88
- claude-opus-4-8-thinking-max-fast - Claude Opus 4.8 1M Max Thinking Fast
89
- gpt-5.6-sol-none - GPT-5.6 Sol 1M None
90
- gpt-5.6-sol-none-fast - GPT-5.6 Sol 1M None Fast
91
- gpt-5.6-sol-low - GPT-5.6 Sol 1M Low
92
- gpt-5.6-sol-low-fast - GPT-5.6 Sol 1M Low Fast
93
- gpt-5.6-sol-medium - GPT-5.6 Sol 1M
94
- gpt-5.6-sol-medium-fast - GPT-5.6 Sol 1M Fast
95
- gpt-5.6-sol-max - GPT-5.6 Sol 1M Max
96
- gpt-5.6-sol-max-fast - GPT-5.6 Sol 1M Max Fast
97
- gpt-5.5-none - GPT-5.5 1M None
98
- gpt-5.5-none-fast - GPT-5.5 None Fast
99
- gpt-5.5-low - GPT-5.5 1M Low
100
- gpt-5.5-low-fast - GPT-5.5 Low Fast
101
- gpt-5.5-medium - GPT-5.5 1M
102
- gpt-5.5-medium-fast - GPT-5.5 Fast
103
- gpt-5.5-high - GPT-5.5 1M High
104
- gpt-5.5-high-fast - GPT-5.5 High Fast
105
- gpt-5.5-extra-high - GPT-5.5 1M Extra High
106
- gpt-5.5-extra-high-fast - GPT-5.5 Extra High Fast
107
- claude-fable-5-1-low - Claude Fable 5.1 1M Low (NO ZDR)
108
- claude-fable-5-1-medium - Claude Fable 5.1 1M Medium (NO ZDR)
109
- claude-fable-5-1-high - Claude Fable 5.1 1M (NO ZDR)
110
- claude-fable-5-1-xhigh - Claude Fable 5.1 1M Extra High (NO ZDR)
111
- claude-fable-5-1-max - Claude Fable 5.1 1M Max (NO ZDR)
112
- claude-fable-5-1-thinking-low - Claude Fable 5.1 1M Low Thinking (NO ZDR)
113
- claude-fable-5-1-thinking-medium - Claude Fable 5.1 1M Medium Thinking (NO ZDR)
114
- claude-fable-5-1-thinking-high - Claude Fable 5.1 1M Thinking (NO ZDR)
115
- claude-fable-5-1-thinking-xhigh - Claude Fable 5.1 1M Extra High Thinking (NO ZDR)
116
- claude-fable-5-1-thinking-max - Claude Fable 5.1 1M Max Thinking (NO ZDR)
117
- claude-fable-5-low - Claude Fable 5 1M Low (NO ZDR)
118
- claude-fable-5-medium - Claude Fable 5 1M Medium (NO ZDR)
119
- claude-fable-5-high - Claude Fable 5 1M (NO ZDR)
120
- claude-fable-5-xhigh - Claude Fable 5 1M Extra High (NO ZDR)
121
- claude-fable-5-max - Claude Fable 5 1M Max (NO ZDR)
122
- claude-fable-5-thinking-low - Claude Fable 5 1M Low Thinking (NO ZDR)
123
- claude-fable-5-thinking-medium - Claude Fable 5 1M Medium Thinking (NO ZDR)
124
- claude-fable-5-thinking-max - Claude Fable 5 1M Max Thinking (NO ZDR)
125
- cursor-grok-4.5-low - Grok 4.5 Low
126
- cursor-grok-4.5-low-fast - Grok 4.5 Low Fast
127
- cursor-grok-4.5-medium - Grok 4.5 Medium
128
- cursor-grok-4.5-medium-fast - Grok 4.5 Medium Fast
129
- gemini-3.8-flash-low - Gemini 3.8 Flash Low
130
- gemini-3.8-flash-medium - Gemini 3.8 Flash Medium
131
- gemini-3.8-flash-high - Gemini 3.8 Flash High
132
- gemini-3.7-flash-low - Gemini 3.7 Flash Low
133
- gemini-3.7-flash-medium - Gemini 3.7 Flash Medium
134
- muse-spark-1.3-minimal - Muse Spark 1.3 1M Minimal
135
- muse-spark-1.3-low - Muse Spark 1.3 1M Low
136
- muse-spark-1.3-medium - Muse Spark 1.3 1M Medium
137
- muse-spark-1.3-high - Muse Spark 1.3 1M
138
- muse-spark-1.3-xhigh - Muse Spark 1.3 1M Extra High
139
- muse-spark-1.3-max - Muse Spark 1.3 1M Max
140
- gpt-5.6-terra-none - GPT-5.6 Terra 1M None
141
- gpt-5.6-terra-none-fast - GPT-5.6 Terra 1M None Fast
142
- gpt-5.6-terra-low - GPT-5.6 Terra 1M Low
143
- gpt-5.6-terra-low-fast - GPT-5.6 Terra 1M Low Fast
144
- gpt-5.6-terra-medium - GPT-5.6 Terra 1M
145
- gpt-5.6-terra-medium-fast - GPT-5.6 Terra 1M Fast
146
- gpt-5.6-terra-high - GPT-5.6 Terra 1M High
147
- gpt-5.6-terra-high-fast - GPT-5.6 Terra 1M High Fast
148
- gpt-5.6-terra-xhigh - GPT-5.6 Terra 1M Extra High
149
- gpt-5.6-terra-xhigh-fast - GPT-5.6 Terra 1M Extra High Fast
150
- gpt-5.6-terra-max - GPT-5.6 Terra 1M Max
151
- gpt-5.6-terra-max-fast - GPT-5.6 Terra 1M Max Fast
152
- claude-sonnet-5-5-low - Claude Sonnet 5.5 Low
153
- claude-sonnet-5-5-medium - Claude Sonnet 5.5 Medium
154
- claude-sonnet-5-5-high - Claude Sonnet 5.5 High
155
- claude-sonnet-5-5-xhigh - Claude Sonnet 5.5 Extra High
156
- claude-sonnet-5-5-max - Claude Sonnet 5.5 Max
157
- claude-sonnet-5-low - Claude Sonnet 5 1M Low
158
- claude-sonnet-5-medium - Claude Sonnet 5 1M Medium
159
- claude-sonnet-5-high - Claude Sonnet 5 1M
160
- claude-sonnet-5-xhigh - Claude Sonnet 5 1M Extra High
161
- claude-sonnet-5-max - Claude Sonnet 5 1M Max
162
- claude-sonnet-5-thinking-low - Claude Sonnet 5 1M Low Thinking
163
- claude-sonnet-5-thinking-medium - Claude Sonnet 5 1M Medium Thinking
164
- claude-sonnet-5-thinking-max - Claude Sonnet 5 1M Max Thinking
165
- claude-4.6-sonnet-medium - Claude Sonnet 4.6 1M
166
- claude-4.6-sonnet-medium-thinking - Claude Sonnet 4.6 1M Thinking
167
- claude-opus-4-7-low - Claude Opus 4.7 1M Low
168
- claude-opus-4-7-low-fast - Claude Opus 4.7 1M Low Fast
169
- claude-opus-4-7-medium - Claude Opus 4.7 1M Medium
170
- claude-opus-4-7-medium-fast - Claude Opus 4.7 1M Medium Fast
171
- claude-opus-4-7-high - Claude Opus 4.7 1M High
172
- claude-opus-4-7-high-fast - Claude Opus 4.7 1M High Fast
173
- claude-opus-4-7-xhigh - Claude Opus 4.7 1M
174
- claude-opus-4-7-xhigh-fast - Claude Opus 4.7 1M Fast
175
- claude-opus-4-7-max - Claude Opus 4.7 1M Max
176
- claude-opus-4-7-max-fast - Claude Opus 4.7 1M Max Fast
177
- claude-opus-4-7-thinking-low - Claude Opus 4.7 1M Low Thinking
178
- claude-opus-4-7-thinking-low-fast - Claude Opus 4.7 1M Low Thinking Fast
179
- claude-opus-4-7-thinking-medium - Claude Opus 4.7 1M Medium Thinking
180
- claude-opus-4-7-thinking-medium-fast - Claude Opus 4.7 1M Medium Thinking Fast
181
- claude-opus-4-7-thinking-high - Claude Opus 4.7 1M High Thinking
182
- claude-opus-4-7-thinking-high-fast - Claude Opus 4.7 1M High Thinking Fast
183
- claude-opus-4-7-thinking-xhigh - Claude Opus 4.7 1M Thinking
184
- claude-opus-4-7-thinking-xhigh-fast - Claude Opus 4.7 1M Thinking Fast
185
- claude-opus-4-7-thinking-max - Claude Opus 4.7 1M Max Thinking
186
- claude-opus-4-7-thinking-max-fast - Claude Opus 4.7 1M Max Thinking Fast
187
- gpt-5.4-low - GPT-5.4 1M Low
188
- gpt-5.4-medium - GPT-5.4 1M
189
- gpt-5.4-medium-fast - GPT-5.4 Fast
190
- gpt-5.4-high - GPT-5.4 1M High
191
- gpt-5.4-high-fast - GPT-5.4 High Fast
192
- gpt-5.4-xhigh - GPT-5.4 1M Extra High
193
- gpt-5.4-xhigh-fast - GPT-5.4 Extra High Fast
194
- claude-4.6-opus-high - Claude Opus 4.6 1M
195
- claude-4.6-opus-max - Claude Opus 4.6 1M Max
196
- claude-4.6-opus-high-thinking - Claude Opus 4.6 1M Thinking
197
- claude-4.6-opus-max-thinking - Claude Opus 4.6 1M Max Thinking
198
- claude-4.5-opus-high - Claude Opus 4.5
199
- claude-4.5-opus-high-thinking - Claude Opus 4.5 Thinking
200
- gpt-5.2-low - GPT-5.2 Low
201
- gpt-5.2-low-fast - GPT-5.2 Low Fast
202
- gpt-5.2-fast - GPT-5.2 Fast
203
- gpt-5.2-high - GPT-5.2 High
204
- gpt-5.2-high-fast - GPT-5.2 High Fast
205
- gpt-5.2-xhigh - GPT-5.2 Extra High
206
- gpt-5.2-xhigh-fast - GPT-5.2 Extra High Fast
207
- gpt-5.6-luna-none - GPT-5.6 Luna 1M None
208
- gpt-5.6-luna-none-fast - GPT-5.6 Luna 1M None Fast
209
- gpt-5.6-luna-low - GPT-5.6 Luna 1M Low (current)
210
- gpt-5.6-luna-low-fast - GPT-5.6 Luna 1M Low Fast
211
- gpt-5.6-luna-medium - GPT-5.6 Luna 1M
212
- gpt-5.6-luna-medium-fast - GPT-5.6 Luna 1M Fast
213
- gpt-5.6-luna-high-fast - GPT-5.6 Luna 1M High Fast
214
- gpt-5.6-luna-xhigh - GPT-5.6 Luna 1M Extra High
215
- gpt-5.6-luna-xhigh-fast - GPT-5.6 Luna 1M Extra High Fast
216
- gpt-5.6-luna-max - GPT-5.6 Luna 1M Max
217
- gpt-5.6-luna-max-fast - GPT-5.6 Luna 1M Max Fast
218
- gemini-3.6-flash-minimal - Gemini 3.6 Flash Minimal
219
- gemini-3.6-flash-low - Gemini 3.6 Flash Low
220
- gemini-3.6-flash-medium - Gemini 3.6 Flash Medium
221
- gemini-3.6-flash-high - Gemini 3.6 Flash
222
- gemini-3.1-pro - Gemini 3.1 Pro
223
- gpt-5.4-mini-none - GPT-5.4 Mini None
224
- gpt-5.4-mini-low - GPT-5.4 Mini Low
225
- gpt-5.4-mini-medium - GPT-5.4 Mini
226
- gpt-5.4-mini-high - GPT-5.4 Mini High
227
- gpt-5.4-mini-xhigh - GPT-5.4 Mini Extra High
228
- gpt-5.4-nano-none - GPT-5.4 Nano None
229
- gpt-5.4-nano-low - GPT-5.4 Nano Low
230
- gpt-5.4-nano-medium - GPT-5.4 Nano
231
- gpt-5.4-nano-high - GPT-5.4 Nano High
232
- gpt-5.4-nano-xhigh - GPT-5.4 Nano Extra High
233
- claude-4.5-sonnet - Claude Sonnet 4.5
234
- claude-4.5-sonnet-thinking - Claude Sonnet 4.5 Thinking
235
- gpt-5.1-low - GPT-5.1 Low
236
- gpt-5.1 - GPT-5.1
237
- gpt-5.1-high - GPT-5.1 High
238
- gemini-3-flash - Gemini 3 Flash
239
- gemini-3.5-flash - Gemini 3.5 Flash
240
- claude-4-sonnet - Claude Sonnet 4
241
- claude-4-sonnet-thinking - Claude Sonnet 4 Thinking
242
- gpt-5-mini - GPT-5 Mini
243
- kimi-k3-low - Kimi K3 Low
244
- kimi-k3-high - Kimi K3 High
245
- kimi-k3-max - Kimi K3
246
- kimi-k2.7-code - Kimi K2.7 Code
247
- glm-5.2-high - GLM 5.2
248
- glm-5.2-max - GLM 5.2 Max
249
-
250
- Tip: use --model <id> (or /model <id> in interactive mode) to switch. Parameterized models also accept quoted overrides, e.g. --model 'claude-opus-4-8[context=1m,effort=high,fast=false]'.
@@ -1,144 +0,0 @@
1
- use std::fs::OpenOptions;
2
- use std::io::Write;
3
- use std::path::{Path, PathBuf};
4
- use std::process::{Command, Stdio};
5
- use std::time::{Duration, Instant};
6
-
7
- const CHILD_FLAG: &str = "--team-agent-models-timeout-child";
8
- const LIST_MODELS_FLAG: &str = "--list-models";
9
- const RECEIPT_ENV: &str = "TEAM_AGENT_MODELS_TIMEOUT_RECEIPT";
10
- const STAGE_RECEIPT_ENV: &str = "TEAM_AGENT_MODELS_TIMEOUT_STAGE_RECEIPT";
11
- const MODE_ENV: &str = "TEAM_AGENT_MODELS_TIMEOUT_MODE";
12
- const STDOUT_MARKER: &[u8] = b"__team_agent_models_timeout_descendant_stdout_v1__\n";
13
- const PARENT_HANDOFF_TIMEOUT: Duration = Duration::from_secs(1);
14
-
15
- // Stage values are UNIX epoch milliseconds so the test process and helper use
16
- // one directly comparable clock. Stage writes are best-effort diagnostics and
17
- // never change the fixture's production-facing exit semantics.
18
- fn append_stage(key: &str) {
19
- let Some(path) = std::env::var_os(STAGE_RECEIPT_ENV) else {
20
- return;
21
- };
22
- let Some(milliseconds) = std::time::SystemTime::now()
23
- .duration_since(std::time::UNIX_EPOCH)
24
- .ok()
25
- .map(|duration| duration.as_millis())
26
- else {
27
- return;
28
- };
29
- let _ = append_receipt(Path::new(&path), key, milliseconds);
30
- }
31
-
32
- fn receipt_path() -> PathBuf {
33
- std::env::var_os(RECEIPT_ENV)
34
- .map(PathBuf::from)
35
- .unwrap_or_else(|| std::process::exit(4))
36
- }
37
-
38
- fn append_receipt(path: &Path, key: &str, value: impl std::fmt::Display) -> Result<(), ()> {
39
- let mut receipt = OpenOptions::new()
40
- .create(true)
41
- .append(true)
42
- .open(path)
43
- .map_err(|_| ())?;
44
- writeln!(receipt, "{key}={value}").map_err(|_| ())
45
- }
46
-
47
- fn wait_for_parent_handoff(receipt: &Path) {
48
- let expected = format!("child_pid={}", std::process::id());
49
- let deadline = Instant::now() + PARENT_HANDOFF_TIMEOUT;
50
- loop {
51
- if std::fs::read_to_string(receipt)
52
- .ok()
53
- .is_some_and(|text| text.lines().any(|line| line == expected))
54
- {
55
- return;
56
- }
57
- if Instant::now() >= deadline {
58
- std::process::exit(5);
59
- }
60
- std::thread::sleep(Duration::from_millis(1));
61
- }
62
- }
63
-
64
- fn child_main(args: &[String]) {
65
- if args.len() != 1 || args[0] != CHILD_FLAG {
66
- std::process::exit(5);
67
- }
68
- let receipt = receipt_path();
69
- wait_for_parent_handoff(&receipt);
70
-
71
- let mut stdout = std::io::stdout();
72
- if stdout.write_all(STDOUT_MARKER).is_err() || stdout.flush().is_err() {
73
- std::process::exit(5);
74
- }
75
- if append_receipt(&receipt, "child_argv_exact", 1).is_err()
76
- || append_receipt(&receipt, "descendant_pid", std::process::id()).is_err()
77
- || append_receipt(&receipt, "descendant_started", 1).is_err()
78
- || append_receipt(&receipt, "descendant_stdout_inherited", 1).is_err()
79
- {
80
- std::process::exit(5);
81
- }
82
-
83
- std::thread::sleep(Duration::from_secs(2));
84
- }
85
-
86
- fn main() {
87
- let args: Vec<String> = std::env::args().skip(1).collect();
88
- if args.first().is_some_and(|arg| arg == CHILD_FLAG) {
89
- child_main(&args);
90
- return;
91
- }
92
- if args.len() != 1 || args[0] != LIST_MODELS_FLAG {
93
- std::process::exit(2);
94
- }
95
-
96
- match std::env::var(MODE_ENV) {
97
- Ok(mode) if mode == "exit7" => {
98
- eprintln!("sensitive-token");
99
- std::process::exit(7);
100
- }
101
- Ok(mode) if mode == "oversize" => {
102
- let mut stdout = std::io::stdout();
103
- let bytes = [b'x'; 64];
104
- let _ = stdout.write_all(&bytes);
105
- let _ = stdout.flush();
106
- return;
107
- }
108
- Ok(mode) if mode == "sleep" => {
109
- std::thread::sleep(Duration::from_secs(2));
110
- return;
111
- }
112
- Ok(mode) if mode == "descendant" => {}
113
- Err(std::env::VarError::NotPresent) => {}
114
- Ok(_) | Err(std::env::VarError::NotUnicode(_)) => std::process::exit(2),
115
- }
116
-
117
- append_stage("parent_entry_ms");
118
- let receipt = receipt_path();
119
- if append_receipt(&receipt, "parent_started_once", 1).is_err()
120
- || append_receipt(&receipt, "parent_argv_exact", 1).is_err()
121
- || append_receipt(&receipt, "parent_pid", std::process::id()).is_err()
122
- || append_receipt(&receipt, "child_spawn_attempts", 1).is_err()
123
- {
124
- std::process::exit(4);
125
- }
126
-
127
- let executable = std::env::current_exe().unwrap_or_else(|_| std::process::exit(4));
128
- append_stage("parent_before_child_spawn_ms");
129
- let child = Command::new(executable)
130
- .arg(CHILD_FLAG)
131
- .env(RECEIPT_ENV, &receipt)
132
- .stdin(Stdio::null())
133
- .stdout(Stdio::inherit())
134
- .stderr(Stdio::null())
135
- .spawn()
136
- .unwrap_or_else(|_| std::process::exit(4));
137
- append_stage("parent_after_child_spawn_ms");
138
- if append_receipt(&receipt, "child_pid", child.id()).is_err() {
139
- std::process::exit(4);
140
- }
141
- append_stage("parent_before_exit_ms");
142
- // The parent exits successfully without waiting; the child retains the
143
- // inherited stdout pipe and self-exits after the real reader deadline.
144
- }