@unity-china/codely-cli 1.0.0-rc.6 → 1.0.0-rc.7
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.
|
@@ -27,12 +27,29 @@
|
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2025 Codely
|
|
29
29
|
* SPDX-License-Identifier: Apache-2.0
|
|
30
|
+
*
|
|
31
|
+
* LiteLLMLogger: Reports API call data to LiteLLM Proxy Report API.
|
|
32
|
+
*
|
|
33
|
+
* Features:
|
|
34
|
+
* - Triggers Langfuse callbacks for observability
|
|
35
|
+
* - Writes to LiteLLM DB SpendLogs for cost tracking
|
|
36
|
+
* - Records TTFT (Time to First Token) for streaming responses
|
|
37
|
+
*
|
|
38
|
+
* Design:
|
|
39
|
+
* - Always enabled (same as CodelyLogger)
|
|
40
|
+
* - Uses Codely OAuth cli_api_key for authentication
|
|
41
|
+
* - All network errors are silently handled to not affect CLI operation
|
|
30
42
|
*/
|
|
31
43
|
/**
|
|
32
44
|
* @license
|
|
33
45
|
* Copyright 2026 Google LLC
|
|
34
46
|
* SPDX-License-Identifier: Apache-2.0
|
|
35
47
|
*/
|
|
48
|
+
/**
|
|
49
|
+
* @license
|
|
50
|
+
* Copyright 2025 Codely
|
|
51
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
52
|
+
*/
|
|
36
53
|
/**
|
|
37
54
|
* @license
|
|
38
55
|
* Copyright 2026 Codely
|
package/package.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unity-china/codely-cli",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.7",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
7
|
+
},
|
|
4
8
|
"engines": {
|
|
5
9
|
"node": ">=20.0.0"
|
|
6
10
|
},
|
|
@@ -36,9 +40,9 @@
|
|
|
36
40
|
"test:integration:sandbox:none": "cross-env GEMINI_SANDBOX=false vitest run --root ./integration-tests",
|
|
37
41
|
"test:integration:sandbox:docker": "npm run build:sandbox && cross-env GEMINI_SANDBOX=docker vitest run --root ./integration-tests",
|
|
38
42
|
"test:integration:sandbox:podman": "cross-env GEMINI_SANDBOX=podman vitest run --root ./integration-tests",
|
|
39
|
-
"lint": "eslint . --ext .ts,.tsx --ignore-pattern qwen-code --ignore-pattern gemini-cli --ignore-pattern opencode && eslint integration-tests",
|
|
40
|
-
"lint:fix": "eslint . --fix --ignore-pattern qwen-code --ignore-pattern gemini-cli --ignore-pattern opencode && eslint integration-tests --fix",
|
|
41
|
-
"lint:ci": "eslint . --ext .ts,.tsx --max-warnings 0 --ignore-pattern qwen-code --ignore-pattern gemini-cli --ignore-pattern opencode && eslint integration-tests --max-warnings 0",
|
|
43
|
+
"lint": "eslint . --ext .ts,.tsx --ignore-pattern qwen-code --ignore-pattern gemini-cli --ignore-pattern opencode --ignore-pattern claude-code && eslint integration-tests",
|
|
44
|
+
"lint:fix": "eslint . --fix --ignore-pattern qwen-code --ignore-pattern gemini-cli --ignore-pattern opencode --ignore-pattern claude-code && eslint integration-tests --fix",
|
|
45
|
+
"lint:ci": "eslint . --ext .ts,.tsx --max-warnings 0 --ignore-pattern qwen-code --ignore-pattern gemini-cli --ignore-pattern opencode --ignore-pattern claude-code && eslint integration-tests --max-warnings 0",
|
|
42
46
|
"format": "prettier --experimental-cli --ignore-path .gitignore --write .",
|
|
43
47
|
"typecheck": "npm run typecheck --workspaces --if-present",
|
|
44
48
|
"preflight": "npm run clean && npm ci && npm run format && npm run lint:ci && npm run build && npm run typecheck && npm run test:ci",
|
|
@@ -71,10 +75,6 @@
|
|
|
71
75
|
"README.zh-CN.md",
|
|
72
76
|
"LICENSE"
|
|
73
77
|
],
|
|
74
|
-
"publishConfig": {
|
|
75
|
-
"access": "public",
|
|
76
|
-
"registry": "https://registry.npmjs.org/"
|
|
77
|
-
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@types/marked": "^5.0.2",
|
|
80
80
|
"@types/micromatch": "^4.0.9",
|