flower-trellis 0.5.6-beta.0 → 0.5.6-beta.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flower-trellis",
|
|
3
|
-
"version": "0.5.6-beta.
|
|
3
|
+
"version": "0.5.6-beta.1",
|
|
4
4
|
"description": "一键安装/升级 Trellis 并自动融合 skill-garden 强化包(默认 Claude + agents)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
"commit-and-tag-version": "^12.7.3"
|
|
69
69
|
},
|
|
70
70
|
"flowerReleaseNotes": {
|
|
71
|
-
"version": "0.5.6-beta.
|
|
71
|
+
"version": "0.5.6-beta.1",
|
|
72
72
|
"source": "CHANGELOG.md",
|
|
73
|
-
"body": "###
|
|
73
|
+
"body": "### 🐛 修复 Bug Fixes\n\n* **telemetry:** 将匿名遥测上报默认超时延长至 10 秒 ([5397204](https://github.com/SilentFlower/flower-trellis/commit/539720442676bca21b1d31662d28fbdf2aa9cb6d))",
|
|
74
74
|
"truncated": false
|
|
75
75
|
},
|
|
76
76
|
"optionalDependencies": {
|
package/src/lib/telemetry.js
CHANGED
|
@@ -11,7 +11,8 @@ import { flowerVersion, trellisVersion } from "./versions.js";
|
|
|
11
11
|
export const FLOWER_TELEMETRY_ENDPOINT = "https://ai-api.flower-cli.com/api/flower-trellis/telemetry";
|
|
12
12
|
|
|
13
13
|
const TELEMETRY_SCHEMA_VERSION = 1;
|
|
14
|
-
|
|
14
|
+
/** 遥测请求保留 10 秒公网预算,避免慢速 TLS 建连或服务端响应被过早中止。 */
|
|
15
|
+
const DEFAULT_TIMEOUT_MS = 10000;
|
|
15
16
|
const VERSION_PATTERN = /^[0-9A-Za-z][0-9A-Za-z.+_-]{0,63}$/;
|
|
16
17
|
const UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
17
18
|
const EVENTS = new Set(["version_check", "init_completed", "update_completed"]);
|