fix: rename binary to ssm

This commit is contained in:
2026-07-19 21:23:44 +08:00
parent fcaef77aea
commit fee5c34218
10 changed files with 56 additions and 56 deletions

View File

@ -3,8 +3,8 @@
## Overview
This document describes the internal "agents" (manager components) of the
scientific-surfing (`ss`) CLI and their roles. The CLI is a single Go binary
(`cmd/ss`); each agent below is a package under `internal/`.
scientific-surfing (`ssm`) CLI and their roles. The CLI is a single Go binary
(`cmd/ssm`); each agent below is a package under `internal/`.
---
@ -28,7 +28,7 @@ scientific-surfing (`ss`) CLI and their roles. The CLI is a single Go binary
- **Key Methods:** `Update`, `InstallService`, `UninstallService`, `StartService`, `StopService`, `RestartService`, `GetServiceStatus`, `ReloadService`
### 5. Service Manager (`internal/service`)
- **Purpose:** Cross-platform system service integration — systemd on Linux, launchd on macOS, and a native Windows Service (via `golang.org/x/sys/windows/svc`) on Windows. On macOS and Windows, this same `ss` binary is what the generated service definition invokes (hidden `service run-macos` / `service run-windows` commands), rather than a separate wrapper process.
- **Purpose:** Cross-platform system service integration — systemd on Linux, launchd on macOS, and a native Windows Service (via `golang.org/x/sys/windows/svc`) on Windows. On macOS and Windows, this same `ssm` binary is what the generated service definition invokes (hidden `service run-macos` / `service run-windows` commands), rather than a separate wrapper process.
- **Key Methods:** `Install`, `Uninstall`, `Start`, `Stop`, `Restart`, `Status`
### 6. Hook Manager (`internal/hook`)