@leviyuan/lodestar 0.21.19 → 0.21.21
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/dist/dsh-bridge.js +1 -1
- package/dist/lodestar.js +348 -261
- package/docs/AGENTS.md +1 -1
- package/docs/claude-agent-backend.md +2 -2
- package/docs/configuration.md +3 -1
- package/docs/models.md +33 -47
- package/docs/usage.md +1 -1
- package/package.json +1 -1
package/dist/dsh-bridge.js
CHANGED
|
@@ -14,7 +14,7 @@ var DSH_PROTOCOL_VERSION = 1;
|
|
|
14
14
|
var name = "lodestar-bridge";
|
|
15
15
|
var inject = ["agents", "llm", "agentDefaultModel", "sessionPersistence", "tools", "systemPrompt", "userQuestions", "compaction", "shellEnv", "attachments", "sdkAppStartup"];
|
|
16
16
|
var PROVIDER = process.env.LODESTAR_DSH_PROVIDER ?? "deepseek-official";
|
|
17
|
-
if (!["deepseek-official", "zai-coding-cn", "zai"].includes(PROVIDER))
|
|
17
|
+
if (!["deepseek-official", "zai-coding-cn", "zai", "openai-relay"].includes(PROVIDER))
|
|
18
18
|
throw new Error(`Unsupported DSH provider: ${PROVIDER}`);
|
|
19
19
|
function nativeErrorMessage(error, depth = 0) {
|
|
20
20
|
if (!(error instanceof Error))
|