zames_pro 2.81.12 → 2.81.13
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/CHANGELOG.md +6 -0
- package/dist/qwen-chats.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/qwen-chats.js
CHANGED
|
@@ -93,7 +93,12 @@ export function scrapeQwenChatMessages(opts) {
|
|
|
93
93
|
*/
|
|
94
94
|
export function parseQwenChatList(json) {
|
|
95
95
|
const root = json;
|
|
96
|
-
|
|
96
|
+
// A BARE array (no `data` wrapper) is the simplest shape the endpoint can
|
|
97
|
+
// return and the GLM parser already accepts it: reading only `root.data`
|
|
98
|
+
// made /chats print "(none)" for a valid list.
|
|
99
|
+
const data = Array.isArray(json) || root === null || typeof root !== 'object'
|
|
100
|
+
? json
|
|
101
|
+
: root.data;
|
|
97
102
|
const arr = Array.isArray(data)
|
|
98
103
|
? data
|
|
99
104
|
: data && typeof data === 'object'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.81.
|
|
3
|
+
"version": "2.81.13",
|
|
4
4
|
"description": "Terminal coding agent that drives a real browser to chat with DeepSeek, Qwen and other web LLMs — no API key required. Reads and edits files, runs commands, commits to git, like Claude Code / Codex CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|