Files
larksuite-cli/internal/sec/bootstrap.json
AlbertSun 6c41d12792 feat(sec): add lark-sec-cli bootstrap install lifecycle
Scaffold the lark-cli sec subsystem: the `sec` command tree
(install, run, stop, status, config init) and the internal/sec
package that drives it.

The bootstrap manifest is embedded at build time as JSON, mapping
(platform, arch, region) to download URLs. The installer resolves
the right artifact for the current host, downloads with optional
SHA256 verification, extracts into versions/<version>/, swaps the
`current` symlink atomically (copy on Windows), and writes
state.json.

`sec run` enables the binary as a user-level system service
(launchd / systemd-user / registry+VBS) so the OS supervises
restarts. After this first install, lark-sec-cli takes over its
own upgrade lifecycle.
2026-05-20 20:29:24 +08:00

60 lines
1.8 KiB
JSON

[
{
"key": 0,
"buildPlatform": "linux",
"urls": [
{
"urls": {
"amd64": "https://lf3-cdn-tos.bytegoofy.com/obj/tron-demo/lark-sec-cli/releases/1.0.1-alpha.23/367354993/linux-amd64/linux-amd64-1.0.1-alpha.23.zip",
"arm64": "https://lf3-cdn-tos.bytegoofy.com/obj/tron-demo/lark-sec-cli/releases/1.0.1-alpha.23/367354993/linux-arm64/linux-arm64-1.0.1-alpha.23.zip"
},
"region": "cn"
}
],
"branch": "dev",
"version": "1.0.1-alpha.23",
"extra": {
"pipeline_id": "367354993",
"upload_date": 1778487420795
}
},
{
"key": 1,
"buildPlatform": "win32",
"urls": [
{
"urls": {
"x86": "https://lf3-cdn-tos.bytegoofy.com/obj/tron-demo/lark-sec-cli/releases/1.0.1-alpha.23/367354993/windows-386/windows-386-1.0.1-alpha.23.zip",
"amd64": "https://lf3-cdn-tos.bytegoofy.com/obj/tron-demo/lark-sec-cli/releases/1.0.1-alpha.23/367354993/windows-amd64/windows-amd64-1.0.1-alpha.23.zip"
},
"region": "cn"
}
],
"branch": "dev",
"version": "1.0.1-alpha.23",
"extra": {
"pipeline_id": "367354993",
"upload_date": 1778487437393
}
},
{
"key": 2,
"buildPlatform": "darwin",
"urls": [
{
"urls": {
"amd64": "https://lf3-cdn-tos.bytegoofy.com/obj/tron-demo/lark-sec-cli/releases/1.0.1-alpha.23/367354993/darwin-amd64/darwin-amd64-1.0.1-alpha.23.zip",
"arm64": "https://lf3-cdn-tos.bytegoofy.com/obj/tron-demo/lark-sec-cli/releases/1.0.1-alpha.23/367354993/darwin-arm64/darwin-arm64-1.0.1-alpha.23.zip"
},
"region": "cn"
}
],
"branch": "dev",
"version": "1.0.1-alpha.23",
"extra": {
"pipeline_id": "367354993",
"upload_date": 1778487395152
}
}
]