@pasko70/pibo 1.16.1 → 1.16.3
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 +46 -11
- package/dist/shared/trace-event-projection.js +6 -0
- package/package.json +1 -1
- package/dist/apps/vscode-artifacts/latest.vsix +0 -0
- package/dist/apps/vscode-artifacts/pibo-vscode-ext-1.16.1.vsix +0 -0
|
@@ -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>
|
|
@@ -9,23 +9,58 @@ const QWEN_COMPAT = {
|
|
|
9
9
|
thinkingFormat: "qwen",
|
|
10
10
|
maxTokensField: "max_tokens",
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
12
|
+
const DEEPSEEK_COMPAT = {
|
|
13
|
+
supportsStore: false,
|
|
14
|
+
supportsDeveloperRole: false,
|
|
15
|
+
thinkingFormat: "deepseek",
|
|
16
|
+
maxTokensField: "max_tokens",
|
|
17
|
+
};
|
|
18
|
+
const DASHSCOPE_COMPAT = {
|
|
19
|
+
supportsStore: false,
|
|
20
|
+
supportsDeveloperRole: false,
|
|
21
|
+
maxTokensField: "max_tokens",
|
|
22
|
+
};
|
|
23
|
+
const ZERO_COST = { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 };
|
|
24
|
+
function model(id, name, compat, contextWindow, maxTokens, input, reasoning = true) {
|
|
25
|
+
return { id, name, reasoning, compat, contextWindow, maxTokens, cost: ZERO_COST, input };
|
|
26
|
+
}
|
|
27
|
+
function qwenModel(id, name, input, contextWindow = 1_000_000, maxTokens = 65_536) {
|
|
28
|
+
return model(id, name, QWEN_COMPAT, contextWindow, maxTokens, input);
|
|
29
|
+
}
|
|
30
|
+
function deepseekModel(id, name, contextWindow, maxTokens) {
|
|
31
|
+
return model(id, name, DEEPSEEK_COMPAT, contextWindow, maxTokens, ["text"]);
|
|
32
|
+
}
|
|
33
|
+
function thirdPartyModel(id, name, contextWindow, maxTokens, input, reasoning = true) {
|
|
34
|
+
return model(id, name, DASHSCOPE_COMPAT, contextWindow, maxTokens, input, reasoning);
|
|
23
35
|
}
|
|
24
36
|
export const QWEN_TOKEN_PLAN_MODELS = [
|
|
37
|
+
// Qwen Max family
|
|
38
|
+
qwenModel("qwen-max", "Qwen Max", ["text", "image"]),
|
|
25
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
|
|
26
43
|
qwenModel("qwen3.7-plus", "Qwen3.7 Plus", ["text", "image"]),
|
|
27
44
|
qwenModel("qwen3.6-plus", "Qwen3.6 Plus", ["text", "image"]),
|
|
45
|
+
qwenModel("qwen3.5-plus", "Qwen3.5 Plus", ["text", "image"]),
|
|
46
|
+
qwenModel("qwen-plus", "Qwen Plus", ["text", "image"]),
|
|
47
|
+
// Qwen Flash family
|
|
28
48
|
qwenModel("qwen3.6-flash", "Qwen3.6 Flash", ["text", "image"]),
|
|
49
|
+
qwenModel("qwen3.5-flash", "Qwen3.5 Flash", ["text", "image"]),
|
|
50
|
+
qwenModel("qwen-flash", "Qwen Flash", ["text", "image"]),
|
|
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),
|
|
56
|
+
deepseekModel("deepseek-v4-pro", "DeepSeek V4 Pro", 1_000_000, 384_000),
|
|
57
|
+
deepseekModel("deepseek-v3.2", "DeepSeek V3.2", 163_840, 65_536),
|
|
58
|
+
deepseekModel("deepseek-r1", "DeepSeek R1", 128_000, 32_768),
|
|
59
|
+
// Kimi (Moonshot AI)
|
|
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"]),
|
|
29
64
|
];
|
|
30
65
|
function resolveBaseUrl() {
|
|
31
66
|
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
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|