@defai.digital/ax-cli 3.5.2 → 3.5.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/README.md +20 -1
- package/dist/analyzers/ast/index.d.ts +9 -0
- package/dist/analyzers/ast/index.js +10 -0
- package/dist/analyzers/ast/index.js.map +1 -0
- package/dist/analyzers/ast/node-helpers.d.ts +81 -0
- package/dist/analyzers/ast/node-helpers.js +128 -0
- package/dist/analyzers/ast/node-helpers.js.map +1 -0
- package/dist/analyzers/ast/traverser.d.ts +67 -0
- package/dist/analyzers/ast/traverser.js +156 -0
- package/dist/analyzers/ast/traverser.js.map +1 -0
- package/dist/analyzers/best-practices/index.d.ts +10 -0
- package/dist/analyzers/best-practices/index.js +11 -0
- package/dist/analyzers/best-practices/index.js.map +1 -0
- package/dist/commands/memory.js +1 -1
- package/dist/commands/memory.js.map +1 -1
- package/dist/commands/setup.js +1 -6
- package/dist/commands/setup.js.map +1 -1
- package/dist/index.js +0 -0
- package/dist/mcp/health.js +2 -4
- package/dist/mcp/health.js.map +1 -1
- package/dist/ui/components/chat-history.js +1 -1
- package/dist/ui/components/chat-history.js.map +1 -1
- package/dist/ui/components/chat-interface.js +2 -3
- package/dist/ui/components/chat-interface.js.map +1 -1
- package/dist/ui/components/confirmation-dialog.js +1 -1
- package/dist/ui/components/confirmation-dialog.js.map +1 -1
- package/dist/ui/components/toast-notification.js +0 -1
- package/dist/ui/components/toast-notification.js.map +1 -1
- package/dist/utils/config-loader.js +3 -3
- package/dist/utils/config-loader.js.map +1 -1
- package/dist/utils/parallel-analyzer.js +29 -12
- package/dist/utils/parallel-analyzer.js.map +1 -1
- package/dist/utils/settings-manager.js +2 -16
- package/dist/utils/settings-manager.js.map +1 -1
- package/dist/utils/streaming-analyzer.js +21 -9
- package/dist/utils/streaming-analyzer.js.map +1 -1
- package/eslint.config.js +3 -0
- package/package.json +1 -1
- package/.ax-cli/checkpoints/2025-11-20/checkpoint-11e9e0ba-c39d-4fd2-aa77-bc818811c921.json +0 -69
- package/.ax-cli/checkpoints/2025-11-20/checkpoint-2b260b98-b418-4c7c-9694-e2b94967e662.json +0 -24
- package/.ax-cli/checkpoints/2025-11-20/checkpoint-7e03601e-e8ab-4cd7-9841-a74b66adf78f.json +0 -69
- package/.ax-cli/checkpoints/2025-11-20/checkpoint-7f9c6562-771f-4fd0-adcf-9e7e9ac34ae8.json +0 -44
- package/.ax-cli/checkpoints/2025-11-20/checkpoint-e1ebe666-4c3a-4367-ba5c-27fe512a9c70.json +0 -24
- package/.ax-cli/checkpoints/2025-11-21/checkpoint-15743e7d-430c-4d76-b6fc-955d7a5c250c.json +0 -44
- package/.ax-cli/checkpoints/2025-11-21/checkpoint-25cf7679-0b3f-4988-83d7-704548fbba91.json +0 -69
- package/.ax-cli/checkpoints/2025-11-21/checkpoint-54aedbac-6db0-464e-8ebb-dbb3979e6dca.json +0 -24
- package/.ax-cli/checkpoints/2025-11-21/checkpoint-7658aed8-fe5d-4222-903f-1a7c63717ea7.json +0 -24
- package/.ax-cli/checkpoints/2025-11-21/checkpoint-c9c13497-40dc-4294-a327-6a5fc854eaa1.json +0 -69
- package/ax.config.json +0 -333
- package/config-defaults/messages.yaml +0 -75
- package/config-defaults/models.yaml +0 -66
- package/config-defaults/prompts.yaml +0 -156
- package/config-defaults/settings.yaml +0 -86
- package/dist/ui/hooks/use-chat-reducer.d.ts +0 -61
- package/dist/ui/hooks/use-chat-reducer.js +0 -118
- package/dist/ui/hooks/use-chat-reducer.js.map +0 -1
- package/dist/ui/hooks/use-enhanced-input.d.ts +0 -40
- package/dist/ui/hooks/use-enhanced-input.js +0 -254
- package/dist/ui/hooks/use-enhanced-input.js.map +0 -1
- package/dist/ui/hooks/use-input-handler.d.ts +0 -46
- package/dist/ui/hooks/use-input-handler.js +0 -1434
- package/dist/ui/hooks/use-input-handler.js.map +0 -1
- package/dist/utils/paste-collapse.d.ts +0 -46
- package/dist/utils/paste-collapse.js +0 -77
- package/dist/utils/paste-collapse.js.map +0 -1
- package/packages/schemas/dist/index.d.ts +0 -14
- package/packages/schemas/dist/index.d.ts.map +0 -1
- package/packages/schemas/dist/index.js +0 -19
- package/packages/schemas/dist/index.js.map +0 -1
- package/packages/schemas/dist/public/core/brand-types.d.ts +0 -308
- package/packages/schemas/dist/public/core/brand-types.d.ts.map +0 -1
- package/packages/schemas/dist/public/core/brand-types.js +0 -243
- package/packages/schemas/dist/public/core/brand-types.js.map +0 -1
- package/packages/schemas/dist/public/core/enums.d.ts +0 -227
- package/packages/schemas/dist/public/core/enums.d.ts.map +0 -1
- package/packages/schemas/dist/public/core/enums.js +0 -222
- package/packages/schemas/dist/public/core/enums.js.map +0 -1
- package/packages/schemas/dist/public/core/id-types.d.ts +0 -286
- package/packages/schemas/dist/public/core/id-types.d.ts.map +0 -1
- package/packages/schemas/dist/public/core/id-types.js +0 -136
- package/packages/schemas/dist/public/core/id-types.js.map +0 -1
|
@@ -73,21 +73,33 @@ export class StreamingAnalyzer extends EventEmitter {
|
|
|
73
73
|
this.total = files.length;
|
|
74
74
|
// Process files in parallel batches
|
|
75
75
|
const queue = [...files];
|
|
76
|
-
const executing =
|
|
77
|
-
while (queue.length > 0 || executing.
|
|
76
|
+
const executing = [];
|
|
77
|
+
while (queue.length > 0 || executing.length > 0) {
|
|
78
78
|
// Start new analyses up to concurrency limit
|
|
79
|
-
while (queue.length > 0 && executing.
|
|
79
|
+
while (queue.length > 0 && executing.length < concurrency) {
|
|
80
80
|
const file = queue.shift();
|
|
81
81
|
const promise = this.analyzeFile(file, analyzer);
|
|
82
|
-
|
|
83
|
-
const tracked = promise.finally(() => {
|
|
84
|
-
executing.delete(tracked);
|
|
85
|
-
});
|
|
86
|
-
executing.add(tracked);
|
|
82
|
+
executing.push(promise);
|
|
87
83
|
}
|
|
88
84
|
// Wait for at least one to complete
|
|
89
|
-
if (executing.
|
|
85
|
+
if (executing.length > 0) {
|
|
90
86
|
await Promise.race(executing);
|
|
87
|
+
// Remove completed promises
|
|
88
|
+
for (let i = executing.length - 1; i >= 0; i--) {
|
|
89
|
+
const promise = executing[i];
|
|
90
|
+
// Check if promise is settled
|
|
91
|
+
let settled = false;
|
|
92
|
+
promise.then(() => {
|
|
93
|
+
settled = true;
|
|
94
|
+
}, () => {
|
|
95
|
+
settled = true;
|
|
96
|
+
});
|
|
97
|
+
// Allow microtask queue to process
|
|
98
|
+
await Promise.resolve();
|
|
99
|
+
if (settled) {
|
|
100
|
+
executing.splice(i, 1);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
91
103
|
}
|
|
92
104
|
}
|
|
93
105
|
return this.createSummary();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streaming-analyzer.js","sourceRoot":"","sources":["../../src/utils/streaming-analyzer.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAsEtC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,OAAO,iBAA+B,SAAQ,YAAY;IACtD,OAAO,GAA4B,EAAE,CAAC;IACtC,SAAS,GAAW,CAAC,CAAC;IACtB,SAAS,GAAW,CAAC,CAAC;IACtB,KAAK,GAAW,CAAC,CAAC;IAE1B;;;;;;OAMG;IACH,KAAK,CAAC,OAAO,CACX,KAAe,EACf,QAAsC;QAEtC,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QAClB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;QACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC;QAE1B,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACzC,CAAC;QAED,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;IAC9B,CAAC;IAED;;;;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,CAAC,WAAW,EAAE,CAAC,CAAC;IACtD,KAAK,CAAC,IAAI,CAAC,oBAAoB,cAAc,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;IACxE,KAAK,CAAC,IAAI,CAAC,oBAAoB,cAAc,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IACtE,KAAK,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,YAAY,GAAG,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAE3E,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
|
package/eslint.config.js
CHANGED
|
@@ -12,6 +12,9 @@ export default [
|
|
|
12
12
|
'packages/**', // Ignore packages directory
|
|
13
13
|
'**/*.d.ts', // Ignore TypeScript declaration files
|
|
14
14
|
'**/__tests__/**', // Ignore test directories
|
|
15
|
+
'examples/**', // Ignore examples (documentation only)
|
|
16
|
+
'automatosx/tmp/**', // Ignore AutomatosX temporary files and backups
|
|
17
|
+
'vscode-extension/**', // VS Code extension has its own ESLint config
|
|
15
18
|
],
|
|
16
19
|
},
|
|
17
20
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defai.digital/ax-cli",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.4",
|
|
4
4
|
"description": "Enterprise-Class AI Command Line Interface - Primary support for GLM (General Language Model) with multi-provider AI orchestration powered by AutomatosX.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"workspaces": [
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "11e9e0ba-c39d-4fd2-aa77-bc818811c921",
|
|
3
|
-
"timestamp": "2025-11-21T03:58:12.786Z",
|
|
4
|
-
"description": "Test checkpoint",
|
|
5
|
-
"files": [
|
|
6
|
-
{
|
|
7
|
-
"path": "/test/file-1763697492786.ts",
|
|
8
|
-
"content": "test content",
|
|
9
|
-
"hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
|
|
10
|
-
"size": 12
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"conversationState": [
|
|
14
|
-
{
|
|
15
|
-
"type": "user",
|
|
16
|
-
"content": "Message 40",
|
|
17
|
-
"timestamp": "2025-11-21T03:58:12.786Z"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"type": "user",
|
|
21
|
-
"content": "Message 41",
|
|
22
|
-
"timestamp": "2025-11-21T03:58:12.786Z"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"type": "user",
|
|
26
|
-
"content": "Message 42",
|
|
27
|
-
"timestamp": "2025-11-21T03:58:12.786Z"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "user",
|
|
31
|
-
"content": "Message 43",
|
|
32
|
-
"timestamp": "2025-11-21T03:58:12.786Z"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "user",
|
|
36
|
-
"content": "Message 44",
|
|
37
|
-
"timestamp": "2025-11-21T03:58:12.786Z"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"type": "user",
|
|
41
|
-
"content": "Message 45",
|
|
42
|
-
"timestamp": "2025-11-21T03:58:12.786Z"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"type": "user",
|
|
46
|
-
"content": "Message 46",
|
|
47
|
-
"timestamp": "2025-11-21T03:58:12.786Z"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"type": "user",
|
|
51
|
-
"content": "Message 47",
|
|
52
|
-
"timestamp": "2025-11-21T03:58:12.786Z"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"type": "user",
|
|
56
|
-
"content": "Message 48",
|
|
57
|
-
"timestamp": "2025-11-21T03:58:12.786Z"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"type": "user",
|
|
61
|
-
"content": "Message 49",
|
|
62
|
-
"timestamp": "2025-11-21T03:58:12.786Z"
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"metadata": {
|
|
66
|
-
"model": "glm-4.6",
|
|
67
|
-
"triggeredBy": "test"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "2b260b98-b418-4c7c-9694-e2b94967e662",
|
|
3
|
-
"timestamp": "2025-11-21T03:58:12.781Z",
|
|
4
|
-
"description": "Test checkpoint",
|
|
5
|
-
"files": [
|
|
6
|
-
{
|
|
7
|
-
"path": "/test/file-1763697492781.ts",
|
|
8
|
-
"content": "test content",
|
|
9
|
-
"hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
|
|
10
|
-
"size": 12
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"conversationState": [
|
|
14
|
-
{
|
|
15
|
-
"type": "user",
|
|
16
|
-
"content": "Test message",
|
|
17
|
-
"timestamp": "2025-11-21T03:58:12.781Z"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"metadata": {
|
|
21
|
-
"model": "glm-4.6",
|
|
22
|
-
"triggeredBy": "test"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "7e03601e-e8ab-4cd7-9841-a74b66adf78f",
|
|
3
|
-
"timestamp": "2025-11-21T03:58:12.790Z",
|
|
4
|
-
"description": "Test checkpoint",
|
|
5
|
-
"files": [
|
|
6
|
-
{
|
|
7
|
-
"path": "/test/file-1763697492790.ts",
|
|
8
|
-
"content": "test content",
|
|
9
|
-
"hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
|
|
10
|
-
"size": 12
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"conversationState": [
|
|
14
|
-
{
|
|
15
|
-
"type": "user",
|
|
16
|
-
"content": "Message 10",
|
|
17
|
-
"timestamp": "2025-11-21T03:58:12.790Z"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"type": "user",
|
|
21
|
-
"content": "Message 11",
|
|
22
|
-
"timestamp": "2025-11-21T03:58:12.790Z"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"type": "user",
|
|
26
|
-
"content": "Message 12",
|
|
27
|
-
"timestamp": "2025-11-21T03:58:12.790Z"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "user",
|
|
31
|
-
"content": "Message 13",
|
|
32
|
-
"timestamp": "2025-11-21T03:58:12.790Z"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "user",
|
|
36
|
-
"content": "Message 14",
|
|
37
|
-
"timestamp": "2025-11-21T03:58:12.790Z"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"type": "user",
|
|
41
|
-
"content": "Message 15",
|
|
42
|
-
"timestamp": "2025-11-21T03:58:12.790Z"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"type": "user",
|
|
46
|
-
"content": "Message 16",
|
|
47
|
-
"timestamp": "2025-11-21T03:58:12.790Z"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"type": "user",
|
|
51
|
-
"content": "Message 17",
|
|
52
|
-
"timestamp": "2025-11-21T03:58:12.790Z"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"type": "user",
|
|
56
|
-
"content": "Message 18",
|
|
57
|
-
"timestamp": "2025-11-21T03:58:12.790Z"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"type": "user",
|
|
61
|
-
"content": "Message 19",
|
|
62
|
-
"timestamp": "2025-11-21T03:58:12.790Z"
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"metadata": {
|
|
66
|
-
"model": "glm-4.6",
|
|
67
|
-
"triggeredBy": "test"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "7f9c6562-771f-4fd0-adcf-9e7e9ac34ae8",
|
|
3
|
-
"timestamp": "2025-11-21T03:58:12.795Z",
|
|
4
|
-
"description": "Test checkpoint",
|
|
5
|
-
"files": [
|
|
6
|
-
{
|
|
7
|
-
"path": "/test/file-1763697492795.ts",
|
|
8
|
-
"content": "test content",
|
|
9
|
-
"hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
|
|
10
|
-
"size": 12
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"conversationState": [
|
|
14
|
-
{
|
|
15
|
-
"type": "user",
|
|
16
|
-
"content": "Message 0",
|
|
17
|
-
"timestamp": "2025-11-21T03:58:12.795Z"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"type": "user",
|
|
21
|
-
"content": "Message 1",
|
|
22
|
-
"timestamp": "2025-11-21T03:58:12.795Z"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"type": "user",
|
|
26
|
-
"content": "Message 2",
|
|
27
|
-
"timestamp": "2025-11-21T03:58:12.795Z"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "user",
|
|
31
|
-
"content": "Message 3",
|
|
32
|
-
"timestamp": "2025-11-21T03:58:12.795Z"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "user",
|
|
36
|
-
"content": "Message 4",
|
|
37
|
-
"timestamp": "2025-11-21T03:58:12.795Z"
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"metadata": {
|
|
41
|
-
"model": "glm-4.6",
|
|
42
|
-
"triggeredBy": "test"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "e1ebe666-4c3a-4367-ba5c-27fe512a9c70",
|
|
3
|
-
"timestamp": "2025-11-21T03:58:12.783Z",
|
|
4
|
-
"description": "Test checkpoint",
|
|
5
|
-
"files": [
|
|
6
|
-
{
|
|
7
|
-
"path": "/test/file-1763697492783.ts",
|
|
8
|
-
"content": "test content",
|
|
9
|
-
"hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
|
|
10
|
-
"size": 12
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"conversationState": [
|
|
14
|
-
{
|
|
15
|
-
"type": "user",
|
|
16
|
-
"content": "Test message",
|
|
17
|
-
"timestamp": "2025-11-21T03:58:12.783Z"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"metadata": {
|
|
21
|
-
"model": "glm-4.6",
|
|
22
|
-
"triggeredBy": "test"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "15743e7d-430c-4d76-b6fc-955d7a5c250c",
|
|
3
|
-
"timestamp": "2025-11-21T04:38:27.918Z",
|
|
4
|
-
"description": "Test checkpoint",
|
|
5
|
-
"files": [
|
|
6
|
-
{
|
|
7
|
-
"path": "/test/file-1763699907918.ts",
|
|
8
|
-
"content": "test content",
|
|
9
|
-
"hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
|
|
10
|
-
"size": 12
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"conversationState": [
|
|
14
|
-
{
|
|
15
|
-
"type": "user",
|
|
16
|
-
"content": "Message 0",
|
|
17
|
-
"timestamp": "2025-11-21T04:38:27.918Z"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"type": "user",
|
|
21
|
-
"content": "Message 1",
|
|
22
|
-
"timestamp": "2025-11-21T04:38:27.918Z"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"type": "user",
|
|
26
|
-
"content": "Message 2",
|
|
27
|
-
"timestamp": "2025-11-21T04:38:27.918Z"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "user",
|
|
31
|
-
"content": "Message 3",
|
|
32
|
-
"timestamp": "2025-11-21T04:38:27.918Z"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "user",
|
|
36
|
-
"content": "Message 4",
|
|
37
|
-
"timestamp": "2025-11-21T04:38:27.918Z"
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"metadata": {
|
|
41
|
-
"model": "glm-4.6",
|
|
42
|
-
"triggeredBy": "test"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "25cf7679-0b3f-4988-83d7-704548fbba91",
|
|
3
|
-
"timestamp": "2025-11-21T04:38:27.917Z",
|
|
4
|
-
"description": "Test checkpoint",
|
|
5
|
-
"files": [
|
|
6
|
-
{
|
|
7
|
-
"path": "/test/file-1763699907917.ts",
|
|
8
|
-
"content": "test content",
|
|
9
|
-
"hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
|
|
10
|
-
"size": 12
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"conversationState": [
|
|
14
|
-
{
|
|
15
|
-
"type": "user",
|
|
16
|
-
"content": "Message 10",
|
|
17
|
-
"timestamp": "2025-11-21T04:38:27.917Z"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"type": "user",
|
|
21
|
-
"content": "Message 11",
|
|
22
|
-
"timestamp": "2025-11-21T04:38:27.917Z"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"type": "user",
|
|
26
|
-
"content": "Message 12",
|
|
27
|
-
"timestamp": "2025-11-21T04:38:27.917Z"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "user",
|
|
31
|
-
"content": "Message 13",
|
|
32
|
-
"timestamp": "2025-11-21T04:38:27.917Z"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "user",
|
|
36
|
-
"content": "Message 14",
|
|
37
|
-
"timestamp": "2025-11-21T04:38:27.917Z"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"type": "user",
|
|
41
|
-
"content": "Message 15",
|
|
42
|
-
"timestamp": "2025-11-21T04:38:27.917Z"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"type": "user",
|
|
46
|
-
"content": "Message 16",
|
|
47
|
-
"timestamp": "2025-11-21T04:38:27.917Z"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"type": "user",
|
|
51
|
-
"content": "Message 17",
|
|
52
|
-
"timestamp": "2025-11-21T04:38:27.917Z"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"type": "user",
|
|
56
|
-
"content": "Message 18",
|
|
57
|
-
"timestamp": "2025-11-21T04:38:27.917Z"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"type": "user",
|
|
61
|
-
"content": "Message 19",
|
|
62
|
-
"timestamp": "2025-11-21T04:38:27.917Z"
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"metadata": {
|
|
66
|
-
"model": "glm-4.6",
|
|
67
|
-
"triggeredBy": "test"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "54aedbac-6db0-464e-8ebb-dbb3979e6dca",
|
|
3
|
-
"timestamp": "2025-11-21T04:38:27.914Z",
|
|
4
|
-
"description": "Test checkpoint",
|
|
5
|
-
"files": [
|
|
6
|
-
{
|
|
7
|
-
"path": "/test/file-1763699907914.ts",
|
|
8
|
-
"content": "test content",
|
|
9
|
-
"hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
|
|
10
|
-
"size": 12
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"conversationState": [
|
|
14
|
-
{
|
|
15
|
-
"type": "user",
|
|
16
|
-
"content": "Test message",
|
|
17
|
-
"timestamp": "2025-11-21T04:38:27.914Z"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"metadata": {
|
|
21
|
-
"model": "glm-4.6",
|
|
22
|
-
"triggeredBy": "test"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "7658aed8-fe5d-4222-903f-1a7c63717ea7",
|
|
3
|
-
"timestamp": "2025-11-21T04:38:27.913Z",
|
|
4
|
-
"description": "Test checkpoint",
|
|
5
|
-
"files": [
|
|
6
|
-
{
|
|
7
|
-
"path": "/test/file-1763699907913.ts",
|
|
8
|
-
"content": "test content",
|
|
9
|
-
"hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
|
|
10
|
-
"size": 12
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"conversationState": [
|
|
14
|
-
{
|
|
15
|
-
"type": "user",
|
|
16
|
-
"content": "Test message",
|
|
17
|
-
"timestamp": "2025-11-21T04:38:27.913Z"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"metadata": {
|
|
21
|
-
"model": "glm-4.6",
|
|
22
|
-
"triggeredBy": "test"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "c9c13497-40dc-4294-a327-6a5fc854eaa1",
|
|
3
|
-
"timestamp": "2025-11-21T04:38:27.915Z",
|
|
4
|
-
"description": "Test checkpoint",
|
|
5
|
-
"files": [
|
|
6
|
-
{
|
|
7
|
-
"path": "/test/file-1763699907915.ts",
|
|
8
|
-
"content": "test content",
|
|
9
|
-
"hash": "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72",
|
|
10
|
-
"size": 12
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"conversationState": [
|
|
14
|
-
{
|
|
15
|
-
"type": "user",
|
|
16
|
-
"content": "Message 40",
|
|
17
|
-
"timestamp": "2025-11-21T04:38:27.915Z"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"type": "user",
|
|
21
|
-
"content": "Message 41",
|
|
22
|
-
"timestamp": "2025-11-21T04:38:27.915Z"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"type": "user",
|
|
26
|
-
"content": "Message 42",
|
|
27
|
-
"timestamp": "2025-11-21T04:38:27.915Z"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "user",
|
|
31
|
-
"content": "Message 43",
|
|
32
|
-
"timestamp": "2025-11-21T04:38:27.915Z"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "user",
|
|
36
|
-
"content": "Message 44",
|
|
37
|
-
"timestamp": "2025-11-21T04:38:27.915Z"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"type": "user",
|
|
41
|
-
"content": "Message 45",
|
|
42
|
-
"timestamp": "2025-11-21T04:38:27.915Z"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"type": "user",
|
|
46
|
-
"content": "Message 46",
|
|
47
|
-
"timestamp": "2025-11-21T04:38:27.915Z"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"type": "user",
|
|
51
|
-
"content": "Message 47",
|
|
52
|
-
"timestamp": "2025-11-21T04:38:27.915Z"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"type": "user",
|
|
56
|
-
"content": "Message 48",
|
|
57
|
-
"timestamp": "2025-11-21T04:38:27.915Z"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"type": "user",
|
|
61
|
-
"content": "Message 49",
|
|
62
|
-
"timestamp": "2025-11-21T04:38:27.915Z"
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"metadata": {
|
|
66
|
-
"model": "glm-4.6",
|
|
67
|
-
"triggeredBy": "test"
|
|
68
|
-
}
|
|
69
|
-
}
|