@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
40 lines • 1.1 kB
JavaScript
/** Whether the command itself refreshes activity, apart from attached-client keepalives. */
const observations = new Set([
"get_state",
"get_snapshot",
"get_effect_status",
"get_pending_inputs",
"get_messages",
"get_entries",
"get_tree",
"get_recovery_page",
"release_recovery",
"get_fork_messages",
"get_last_assistant_text",
"get_session_stats",
"resolve_path",
"get_steering_messages",
"get_follow_up_messages",
"get_available_models",
"get_available_thinking_levels",
"get_model_thinking_level",
"get_fast_mode",
"get_commands",
"get_loaded_surfaces",
"get_project_trust",
"get_project_settings",
"read_project_file",
"get_project_mcp_servers",
"read_project_skill_file",
"read_user_skill_file",
"get_media",
"get_auth_providers",
"get_provider_accounts",
"memory_report",
"eval_cells.list",
"eval_cells.peek",
]);
export function refreshesSessionActivity(command) {
return !observations.has(command);
}
//# sourceMappingURL=session-command-activity.js.map