@pasko70/pibo 1.16.2 → 1.16.4
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/apps/chat-ui/assets/{dist-DXkRuRed.js → dist-BAI6KRqj.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-CGlkj4C3.js → dist-BNH2Odfl.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-DoMBxyQP.js → dist-BTbvPyqj.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-CsgWBaSD.js → dist-Bv0a5qC2.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-I7cqk1W9.js → dist-Bwn2V1uv.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-DltoBBze.js → dist-CxfYjqvh.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-gWAQGdkD.js → dist-CyFCoPDu.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-CNZT1Z0L.js → dist-CyW2dYCD.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-DDJJ8GK-.js → dist-DI6J4F_J.js} +1 -1
- package/dist/apps/chat-ui/assets/{dist-BISHtc7t.js → dist-DRmC9HXJ.js} +1 -1
- package/dist/apps/chat-ui/assets/{index-CiKRTg5a.js → index-6SL7cEtd.js} +3 -3
- package/dist/apps/chat-ui/index.html +1 -1
- package/dist/apps/chat-vscode-web/assets/{index-JHIrxu8c.js → index-D-tSsXLG.js} +1 -1
- package/dist/apps/chat-vscode-web/index.html +1 -1
- package/dist/providers/qwen-token-plan.js +11 -27
- package/dist/shared/trace-event-projection.js +6 -0
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<meta name="theme-color" content="#101d22" />
|
|
7
7
|
<title>Pibo</title>
|
|
8
|
-
<script type="module" crossorigin src="/apps/chat-vscode/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/apps/chat-vscode/assets/index-D-tSsXLG.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/apps/chat-vscode/assets/index-Dupu1DzQ.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -15,7 +15,7 @@ const DEEPSEEK_COMPAT = {
|
|
|
15
15
|
thinkingFormat: "deepseek",
|
|
16
16
|
maxTokensField: "max_tokens",
|
|
17
17
|
};
|
|
18
|
-
const
|
|
18
|
+
const GLM_COMPAT = {
|
|
19
19
|
supportsStore: false,
|
|
20
20
|
supportsDeveloperRole: false,
|
|
21
21
|
maxTokensField: "max_tokens",
|
|
@@ -30,37 +30,21 @@ function qwenModel(id, name, input, contextWindow = 1_000_000, maxTokens = 65_53
|
|
|
30
30
|
function deepseekModel(id, name, contextWindow, maxTokens) {
|
|
31
31
|
return model(id, name, DEEPSEEK_COMPAT, contextWindow, maxTokens, ["text"]);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return model(id, name,
|
|
33
|
+
function glmModel(id, name, contextWindow, maxTokens) {
|
|
34
|
+
return model(id, name, GLM_COMPAT, contextWindow, maxTokens, ["text"]);
|
|
35
35
|
}
|
|
36
36
|
export const QWEN_TOKEN_PLAN_MODELS = [
|
|
37
|
-
// Qwen
|
|
38
|
-
qwenModel("
|
|
39
|
-
qwenModel("qwen3.7-max", "Qwen3.7 Max", ["text"]),
|
|
40
|
-
qwenModel("qwen3-max", "Qwen3 Max", ["text"]),
|
|
41
|
-
qwenModel("qwen3.6-max-preview", "Qwen3.6 Max Preview", ["text", "image"]),
|
|
42
|
-
// Qwen Plus family
|
|
37
|
+
// Qwen models (Token Plan)
|
|
38
|
+
qwenModel("qwen3.8-max", "Qwen3.8 Max", ["text", "image"]),
|
|
43
39
|
qwenModel("qwen3.7-plus", "Qwen3.7 Plus", ["text", "image"]),
|
|
44
|
-
qwenModel("qwen3.
|
|
45
|
-
qwenModel("qwen3.5-plus", "Qwen3.5 Plus", ["text", "image"]),
|
|
46
|
-
qwenModel("qwen-plus", "Qwen Plus", ["text", "image"]),
|
|
47
|
-
// Qwen Flash family
|
|
40
|
+
qwenModel("qwen3.7-max", "Qwen3.7 Max", ["text"]),
|
|
48
41
|
qwenModel("qwen3.6-flash", "Qwen3.6 Flash", ["text", "image"]),
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
// Qwen Coder family
|
|
52
|
-
qwenModel("qwen-coder-plus", "Qwen Coder Plus", ["text"], 131_072, 65_536),
|
|
53
|
-
qwenModel("qwen-coder-turbo", "Qwen Coder Turbo", ["text"], 131_072, 65_536),
|
|
54
|
-
// DeepSeek
|
|
55
|
-
deepseekModel("deepseek-v4-flash", "DeepSeek V4 Flash", 1_000_000, 384_000),
|
|
42
|
+
// DeepSeek models (Token Plan)
|
|
43
|
+
deepseekModel("deepseek-v4-pro-0813", "DeepSeek V4 Pro 0813", 1_000_000, 384_000),
|
|
56
44
|
deepseekModel("deepseek-v4-pro", "DeepSeek V4 Pro", 1_000_000, 384_000),
|
|
57
|
-
deepseekModel("deepseek-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
thirdPartyModel("kimi-k2.7-code", "Kimi K2.7 Code", 262_144, 65_536, ["text", "image"]),
|
|
61
|
-
thirdPartyModel("kimi-k2.6", "Kimi K2.6", 262_144, 65_536, ["text", "image"]),
|
|
62
|
-
// GLM (Z.ai)
|
|
63
|
-
thirdPartyModel("glm-5.2", "GLM 5.2", 1_000_000, 131_072, ["text"]),
|
|
45
|
+
deepseekModel("deepseek-v4-flash-0731", "DeepSeek V4 Flash 0731", 1_000_000, 384_000),
|
|
46
|
+
// GLM models (Token Plan)
|
|
47
|
+
glmModel("glm-5.2", "GLM 5.2", 1_000_000, 131_072),
|
|
64
48
|
];
|
|
65
49
|
function resolveBaseUrl() {
|
|
66
50
|
const envOverride = process.env.PIBO_QWEN_TOKEN_PLAN_BASE_URL;
|
|
@@ -108,6 +108,12 @@ export function applySingleEventToNodes(nodes, byId, piboSessionId, storedEvent,
|
|
|
108
108
|
existing.summary = node.summary ?? existing.summary;
|
|
109
109
|
existing.output = node.output ?? existing.output;
|
|
110
110
|
}
|
|
111
|
+
else if (node.type === "execution.command") {
|
|
112
|
+
existing.status = node.status;
|
|
113
|
+
existing.output = node.output ?? existing.output;
|
|
114
|
+
existing.error = node.error ?? existing.error;
|
|
115
|
+
existing.completedAt = node.completedAt ?? existing.completedAt;
|
|
116
|
+
}
|
|
111
117
|
return;
|
|
112
118
|
}
|
|
113
119
|
}
|