@lingda-ai/dsh-plugin-hublink 0.1.0 → 0.1.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/bin/hublink.js +1 -1
- package/lib/index.js +7 -7
- package/package.json +1 -1
package/bin/hublink.js
CHANGED
|
@@ -19,7 +19,7 @@ import { createClient } from "../lib/http.js"
|
|
|
19
19
|
import { createOutbox } from "../lib/outbox.js"
|
|
20
20
|
import { readCache } from "../lib/policy.js"
|
|
21
21
|
|
|
22
|
-
const USAGE = `hublink 0.1.
|
|
22
|
+
const USAGE = `hublink 0.1.1 — 灵港(LingPort)采集端
|
|
23
23
|
|
|
24
24
|
hublink enroll --hub <url> --token <令牌> [--machine-id <id>] [--config <path>]
|
|
25
25
|
hublink status [--config <path>]
|
package/lib/index.js
CHANGED
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
* 刻意不做:面板、图表、额度拦截。拦截必须在 LLM 网关,插件侧拦不住;
|
|
10
10
|
* 面板由 hub 控制台与空港套件负责,这里重复做只会造成"两个金额"。
|
|
11
11
|
*/
|
|
12
|
-
import { createTelemetryBackend, collectFromLedger } from "./
|
|
13
|
-
import { normalizeConfig } from "./
|
|
14
|
-
import { loadCredentials } from "./
|
|
15
|
-
import { flushOnce } from "./
|
|
16
|
-
import { createClient } from "./
|
|
17
|
-
import { createOutbox } from "./
|
|
18
|
-
import { refreshPolicy, evaluateBudget } from "./
|
|
12
|
+
import { createTelemetryBackend, collectFromLedger } from "./collect.js"
|
|
13
|
+
import { normalizeConfig } from "./config.js"
|
|
14
|
+
import { loadCredentials } from "./credentials.js"
|
|
15
|
+
import { flushOnce } from "./flush.js"
|
|
16
|
+
import { createClient } from "./http.js"
|
|
17
|
+
import { createOutbox } from "./outbox.js"
|
|
18
|
+
import { refreshPolicy, evaluateBudget } from "./policy.js"
|
|
19
19
|
|
|
20
20
|
export const name = "@lingda-ai/dsh-plugin-hublink"
|
|
21
21
|
export const inject = []
|
package/package.json
CHANGED