@gotza02/seq-thinking 1.1.5 → 1.1.7

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.
Files changed (49) hide show
  1. package/README.md +4 -1
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/mcp-server.js +1 -1
  5. package/package.json +9 -3
  6. package/agents_test.log +0 -15
  7. package/data/agents/1770106504306-dljh9ef.json +0 -68
  8. package/data/agents/1770106504310-4oarrst.json +0 -58
  9. package/data/agents/1770106540588-pvitt55.json +0 -68
  10. package/data/agents/1770106540595-z2ya871.json +0 -58
  11. package/data/agents/1770106710890-0e2naq1.json +0 -68
  12. package/data/agents/1770106710893-r076yxx.json +0 -58
  13. package/data/agents/1770109212161-4ybd0i7.json +0 -68
  14. package/data/agents/1770109212166-gkhya8h.json +0 -58
  15. package/data/agents/1770117726716-lrnm415.json +0 -68
  16. package/data/agents/1770117726719-w6hsf3v.json +0 -58
  17. package/data/sessions/1770100622009-5afiuyv.json +0 -499
  18. package/data/sessions/1770106504312-75zk750.json +0 -107
  19. package/data/sessions/1770106540597-z8e8soo.json +0 -150
  20. package/data/sessions/1770106710894-0kxgy5x.json +0 -150
  21. package/data/sessions/1770109212169-zpddeb9.json +0 -150
  22. package/data/sessions/1770117726720-frcwj99.json +0 -150
  23. package/real_world_test.log +0 -200
  24. package/real_world_test_dynamic.log +0 -184
  25. package/real_world_test_real.log +0 -184
  26. package/src/__tests__/agents.test.ts +0 -858
  27. package/src/__tests__/mcp-server.test.ts +0 -380
  28. package/src/__tests__/sequential-thinking.test.ts +0 -687
  29. package/src/__tests__/swarm-coordinator.test.ts +0 -903
  30. package/src/__tests__/types.test.ts +0 -839
  31. package/src/__tests__/utils.test.ts +0 -322
  32. package/src/agents/base-agent.ts +0 -288
  33. package/src/agents/critic-agent.ts +0 -582
  34. package/src/agents/index.ts +0 -11
  35. package/src/agents/meta-reasoning-agent.ts +0 -314
  36. package/src/agents/reasoner-agent.ts +0 -312
  37. package/src/agents/synthesizer-agent.ts +0 -641
  38. package/src/index.ts +0 -118
  39. package/src/mcp-server.ts +0 -391
  40. package/src/real_world_test.ts +0 -89
  41. package/src/sequential-thinking.ts +0 -614
  42. package/src/swarm-coordinator.ts +0 -772
  43. package/src/types/index.ts +0 -915
  44. package/src/utils/index.ts +0 -1004
  45. package/src/utils/llm-adapter.ts +0 -110
  46. package/src/utils/logger.ts +0 -56
  47. package/src/utils/persistence.ts +0 -109
  48. package/test_output.log +0 -0
  49. package/tsconfig.json +0 -21
@@ -1,150 +0,0 @@
1
- {
2
- "id": "1770106540597-z8e8soo",
3
- "topic": "Architecting a scalable microservices system",
4
- "status": "completed",
5
- "currentBranchId": "main",
6
- "branches": {
7
- "_type": "Map",
8
- "data": [
9
- [
10
- "main",
11
- {
12
- "id": "main",
13
- "sessionId": "1770106540597-z8e8soo",
14
- "name": "Main",
15
- "description": "Primary reasoning path",
16
- "rootThoughtId": "",
17
- "thoughtIds": [],
18
- "parentBranchId": null,
19
- "childBranchIds": [],
20
- "status": "active",
21
- "confidence": 0.5,
22
- "metadata": {
23
- "createdAt": "2026-02-03T08:15:40.597Z"
24
- }
25
- }
26
- ]
27
- ]
28
- },
29
- "thoughts": {
30
- "_type": "Map",
31
- "data": [
32
- [
33
- "1770106540598-485j13o",
34
- {
35
- "id": "1770106540598-485j13o",
36
- "sessionId": "1770106540597-z8e8soo",
37
- "content": "We need to break down the monolithic application into smaller services.",
38
- "stepNumber": 1,
39
- "thoughtType": "analysis",
40
- "confidence": {
41
- "overall": 0.8,
42
- "components": {
43
- "logicalConsistency": 0.5,
44
- "factualAccuracy": 0.5,
45
- "reasoningQuality": 0.5,
46
- "evidenceStrength": 0.5
47
- },
48
- "uncertaintyBounds": [
49
- 0.3,
50
- 0.7
51
- ],
52
- "calibrationHistory": []
53
- },
54
- "parentThoughtId": null,
55
- "childThoughtIds": [
56
- "1770106540602-tb7es3b"
57
- ],
58
- "branchId": "main",
59
- "revisionOf": null,
60
- "revisionHistory": [],
61
- "metadata": {
62
- "createdAt": "2026-02-03T08:15:40.598Z",
63
- "modifiedAt": "2026-02-03T08:15:40.598Z",
64
- "processingTimeMs": 0,
65
- "tokensUsed": 0
66
- },
67
- "tags": [],
68
- "assumptions": [],
69
- "dependencies": []
70
- }
71
- ],
72
- [
73
- "1770106540602-tb7es3b",
74
- {
75
- "id": "1770106540602-tb7es3b",
76
- "sessionId": "1770106540597-z8e8soo",
77
- "content": "{\n \"conclusion\": \"[MOCK RESPONSE from gemini] I have analyzed your request: Based on these reasoning steps, provide a final co...\",\n \"reasoningChain\": [\n {\n \"step\": 1,\n \"content\": \"[MOCK RESPONSE from gemini] I have analyzed your request: Based on the current context, generate the next re...\",\n \"confidence\": 0.63,\n \"isFinal\": false\n },\n {\n \"step\": 2,\n \"content\": \"[MOCK RESPONSE from gemini] I have analyzed your request: Based on the current context, generate the next re...\",\n \"confidence\": 0.66,\n \"isFinal\": false\n },\n {\n \"step\": 3,\n \"content\": \"[MOCK RESPONSE from gemini] I have analyzed your request: Based on the current context, generate the next re...\",\n \"confidence\": 0.69,\n \"isFinal\": false\n },\n {\n \"step\": 4,\n \"content\": \"[MOCK RESPONSE from gemini] I have analyzed your request: Based on the current context, generate the next re...\",\n \"confidence\": 0.72,\n \"isFinal\": true\n }\n ],\n \"iterations\": 4,\n \"strategy\": \"chain_of_thought\",\n \"problem\": \"[object Object]\"\n}",
78
- "stepNumber": 2,
79
- "thoughtType": "synthesis",
80
- "confidence": {
81
- "overall": 0.675,
82
- "components": {
83
- "logicalConsistency": 0.5,
84
- "factualAccuracy": 0.5,
85
- "reasoningQuality": 0.5,
86
- "evidenceStrength": 0.5
87
- },
88
- "uncertaintyBounds": [
89
- 0.3,
90
- 0.7
91
- ],
92
- "calibrationHistory": []
93
- },
94
- "parentThoughtId": "1770106540598-485j13o",
95
- "childThoughtIds": [],
96
- "branchId": "main",
97
- "revisionOf": null,
98
- "revisionHistory": [],
99
- "metadata": {
100
- "createdAt": "2026-02-03T08:15:40.602Z",
101
- "modifiedAt": "2026-02-03T08:15:40.602Z",
102
- "processingTimeMs": 0,
103
- "tokensUsed": 0
104
- },
105
- "tags": [
106
- "swarm-result",
107
- "LogicMaster"
108
- ],
109
- "assumptions": [],
110
- "dependencies": []
111
- }
112
- ]
113
- ]
114
- },
115
- "metaNotes": {
116
- "_type": "Map",
117
- "data": []
118
- },
119
- "context": {
120
- "originalProblem": "Architecting a scalable microservices system",
121
- "constraints": [],
122
- "relevantInformation": [],
123
- "workingMemory": {
124
- "_type": "Map",
125
- "data": []
126
- },
127
- "longTermReferences": []
128
- },
129
- "settings": {
130
- "maxBranches": 5,
131
- "maxDepth": 20,
132
- "confidenceThreshold": 0.6,
133
- "enableSelfCorrection": true,
134
- "enableMetaReasoning": true,
135
- "enableParallelHypotheses": true,
136
- "adaptiveGranularity": true,
137
- "granularitySettings": {
138
- "minStepDetail": 0.1,
139
- "maxStepDetail": 1,
140
- "complexityThreshold": 0.7
141
- }
142
- },
143
- "metadata": {
144
- "createdAt": "2026-02-03T08:15:40.597Z",
145
- "lastActivityAt": "2026-02-03T08:15:40.602Z",
146
- "totalThoughts": 2,
147
- "totalBranches": 1,
148
- "completedAt": "2026-02-03T08:15:40.608Z"
149
- }
150
- }
@@ -1,150 +0,0 @@
1
- {
2
- "id": "1770106710894-0kxgy5x",
3
- "topic": "Architecting a scalable microservices system",
4
- "status": "completed",
5
- "currentBranchId": "main",
6
- "branches": {
7
- "_type": "Map",
8
- "data": [
9
- [
10
- "main",
11
- {
12
- "id": "main",
13
- "sessionId": "1770106710894-0kxgy5x",
14
- "name": "Main",
15
- "description": "Primary reasoning path",
16
- "rootThoughtId": "",
17
- "thoughtIds": [],
18
- "parentBranchId": null,
19
- "childBranchIds": [],
20
- "status": "active",
21
- "confidence": 0.5,
22
- "metadata": {
23
- "createdAt": "2026-02-03T08:18:30.894Z"
24
- }
25
- }
26
- ]
27
- ]
28
- },
29
- "thoughts": {
30
- "_type": "Map",
31
- "data": [
32
- [
33
- "1770106710895-2bdvni4",
34
- {
35
- "id": "1770106710895-2bdvni4",
36
- "sessionId": "1770106710894-0kxgy5x",
37
- "content": "We need to break down the monolithic application into smaller services.",
38
- "stepNumber": 1,
39
- "thoughtType": "analysis",
40
- "confidence": {
41
- "overall": 0.8,
42
- "components": {
43
- "logicalConsistency": 0.5,
44
- "factualAccuracy": 0.5,
45
- "reasoningQuality": 0.5,
46
- "evidenceStrength": 0.5
47
- },
48
- "uncertaintyBounds": [
49
- 0.3,
50
- 0.7
51
- ],
52
- "calibrationHistory": []
53
- },
54
- "parentThoughtId": null,
55
- "childThoughtIds": [
56
- "1770106831083-7d0pa6v"
57
- ],
58
- "branchId": "main",
59
- "revisionOf": null,
60
- "revisionHistory": [],
61
- "metadata": {
62
- "createdAt": "2026-02-03T08:18:30.895Z",
63
- "modifiedAt": "2026-02-03T08:18:30.895Z",
64
- "processingTimeMs": 0,
65
- "tokensUsed": 0
66
- },
67
- "tags": [],
68
- "assumptions": [],
69
- "dependencies": []
70
- }
71
- ],
72
- [
73
- "1770106831083-7d0pa6v",
74
- {
75
- "id": "1770106831083-7d0pa6v",
76
- "sessionId": "1770106710894-0kxgy5x",
77
- "content": "{\n \"conclusion\": \"Failed to generate conclusion.\",\n \"reasoningChain\": [\n {\n \"step\": 1,\n \"content\": \"Error: Command failed: gemini ask 'You are a logical reasoner. Provide one clear reasoning step.\\n\\nUser: Based on the current context, generate the next reasoning step. \\nCurrent Context: [object Object]\\nIteration: 1\\nProblem: [object Object]'\\nLoaded cached credentials.\\n=========================================\\nThis is an unexpected error. Please file a bug report using the /bug tool.\\nCRITICAL: Unhandled Promise Rejection!\\n=========================================\\nReason: TypeError: Cannot read properties of undefined (reading 'model')\\nStack trace:\\nTypeError: Cannot read properties of undefined (reading 'model')\\n at ClearcutLogger.logStartSessionEvent (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/clearcut-logger/clearcut-logger.js:460:28)\\n at logCliConfiguration (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/loggers.js:14:46)\\n at initializeApp (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/dist/src/core/initializer.js:23:5)\\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\\n at async main (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/dist/src/gemini.js:384:38)\\nHook registry initialized with 0 hook entries\\nServer 'memory' supports tool updates. Listening for changes...\\nAttempt 1 failed with status 429. Retrying with backoff... GaxiosError: [{\\n \\\"error\\\": {\\n \\\"code\\\": 429,\\n \\\"message\\\": \\\"No capacity available for model gemini-3-pro-preview on the server\\\",\\n \\\"errors\\\": [\\n {\\n \\\"message\\\": \\\"No capacity available for model gemini-3-pro-preview on the server\\\",\\n \\\"domain\\\": \\\"global\\\",\\n \\\"reason\\\": \\\"rateLimitExceeded\\\"\\n }\\n ],\\n \\\"status\\\": \\\"RESOURCE_EXHAUSTED\\\",\\n \\\"details\\\": [\\n {\\n \\\"@type\\\": \\\"type.googleapis.com/google.rpc.ErrorInfo\\\",\\n \\\"reason\\\": \\\"MODEL_CAPACITY_EXHAUSTED\\\",\\n \\\"domain\\\": \\\"cloudcode-pa.googleapis.com\\\",\\n \\\"metadata\\\": {\\n \\\"model\\\": \\\"gemini-3-pro-preview\\\"\\n }\\n }\\n ]\\n }\\n}\\n]\\n at Gaxios._request (/data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/gaxios/build/src/gaxios.js:142:23)\\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\\n at async OAuth2Client.requestAsync (/data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18)\\n at async CodeAssistServer.requestStreamingPost (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:169:21)\\n at async CodeAssistServer.generateContentStream (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:27:27)\\n at async file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/loggingContentGenerator.js:132:26\\n at async retryWithBackoff (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/retry.js:108:28)\\n at async GeminiChat.makeApiCallAndProcessStream (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:421:32)\\n at async GeminiChat.streamWithRetries (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:253:40)\\n at async Turn.run (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/turn.js:66:30) {\\n config: {\\n url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',\\n method: 'POST',\\n params: { alt: 'sse' },\\n headers: {\\n 'Content-Type': 'application/json',\\n 'User-Agent': 'GeminiCLI/0.26.0/gemini-3-pro-preview (android; arm64) google-api-nodejs-client/9.15.1',\\n Authorization: '<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.',\\n 'x-goog-api-client': 'gl-node/24.13.0'\\n },\\n responseType: 'stream',\\n body: '<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.',\\n signal: AbortSignal { aborted: false },\\n paramsSerializer: [Function: paramsSerializer],\\n validateStatus: [Function: validateStatus],\\n errorRedactor: [Function: defaultErrorRedactor]\\n },\\n response: {\\n config: {\\n url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',\\n method: 'POST',\\n params: [Object],\\n headers: [Object],\\n responseType: 'stream',\\n body: '<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.',\\n signal: [AbortSignal],\\n paramsSerializer: [Function: paramsSerializer],\\n validateStatus: [Function: validateStatus],\\n errorRedactor: [Function: defaultErrorRedactor]\\n },\\n data: '[{\\\\n' +\\n ' \\\"error\\\": {\\\\n' +\\n ' \\\"code\\\": 429,\\\\n' +\\n ' \\\"message\\\": \\\"No capacity available for model gemini-3-pro-preview on the server\\\",\\\\n' +\\n ' \\\"errors\\\": [\\\\n' +\\n ' {\\\\n' +\\n ' \\\"message\\\": \\\"No capacity available for model gemini-3-pro-preview on the server\\\",\\\\n' +\\n ' \\\"domain\\\": \\\"global\\\",\\\\n' +\\n ' \\\"reason\\\": \\\"rateLimitExceeded\\\"\\\\n' +\\n ' }\\\\n' +\\n ' ],\\\\n' +\\n ' \\\"status\\\": \\\"RESOURCE_EXHAUSTED\\\",\\\\n' +\\n ' \\\"details\\\": [\\\\n' +\\n ' {\\\\n' +\\n ' \\\"@type\\\": \\\"type.googleapis.com/google.rpc.ErrorInfo\\\",\\\\n' +\\n ' \\\"reason\\\": \\\"MODEL_CAPACITY_EXHAUSTED\\\",\\\\n' +\\n ' \\\"domain\\\": \\\"cloudcode-pa.googleapis.com\\\",\\\\n' +\\n ' \\\"metadata\\\": {\\\\n' +\\n ' \\\"model\\\": \\\"gemini-3-pro-preview\\\"\\\\n' +\\n ' }\\\\n' +\\n ' }\\\\n' +\\n ' ]\\\\n' +\\n ' }\\\\n' +\\n '}\\\\n' +\\n ']',\\n headers: {\\n 'alt-svc': 'h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000',\\n 'content-length': '624',\\n 'content-type': 'application/json; charset=UTF-8',\\n date: 'Tue, 03 Feb 2026 08:19:12 GMT',\\n server: 'ESF',\\n 'server-timing': 'gfet4t7; dur=6911',\\n vary: 'Origin, X-Origin, Referer',\\n 'x-cloudaicompanion-trace-id': '65bc60014730cbe1',\\n 'x-content-type-options': 'nosniff',\\n 'x-frame-options': 'SAMEORIGIN',\\n 'x-xss-protection': '0'\\n },\\n status: 429,\\n statusText: 'Too Many Requests',\\n request: {\\n responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse'\\n }\\n },\\n error: undefined,\\n status: 429,\\n Symbol(gaxios-gaxios-error): '6.7.1'\\n}\\n\",\n \"confidence\": 0.63,\n \"isFinal\": true\n }\n ],\n \"iterations\": 1,\n \"strategy\": \"chain_of_thought\",\n \"problem\": \"[object Object]\"\n}",
78
- "stepNumber": 2,
79
- "thoughtType": "synthesis",
80
- "confidence": {
81
- "overall": 0.63,
82
- "components": {
83
- "logicalConsistency": 0.5,
84
- "factualAccuracy": 0.5,
85
- "reasoningQuality": 0.5,
86
- "evidenceStrength": 0.5
87
- },
88
- "uncertaintyBounds": [
89
- 0.3,
90
- 0.7
91
- ],
92
- "calibrationHistory": []
93
- },
94
- "parentThoughtId": "1770106710895-2bdvni4",
95
- "childThoughtIds": [],
96
- "branchId": "main",
97
- "revisionOf": null,
98
- "revisionHistory": [],
99
- "metadata": {
100
- "createdAt": "2026-02-03T08:20:31.083Z",
101
- "modifiedAt": "2026-02-03T08:20:31.083Z",
102
- "processingTimeMs": 0,
103
- "tokensUsed": 0
104
- },
105
- "tags": [
106
- "swarm-result",
107
- "LogicMaster"
108
- ],
109
- "assumptions": [],
110
- "dependencies": []
111
- }
112
- ]
113
- ]
114
- },
115
- "metaNotes": {
116
- "_type": "Map",
117
- "data": []
118
- },
119
- "context": {
120
- "originalProblem": "Architecting a scalable microservices system",
121
- "constraints": [],
122
- "relevantInformation": [],
123
- "workingMemory": {
124
- "_type": "Map",
125
- "data": []
126
- },
127
- "longTermReferences": []
128
- },
129
- "settings": {
130
- "maxBranches": 5,
131
- "maxDepth": 20,
132
- "confidenceThreshold": 0.6,
133
- "enableSelfCorrection": true,
134
- "enableMetaReasoning": true,
135
- "enableParallelHypotheses": true,
136
- "adaptiveGranularity": true,
137
- "granularitySettings": {
138
- "minStepDetail": 0.1,
139
- "maxStepDetail": 1,
140
- "complexityThreshold": 0.7
141
- }
142
- },
143
- "metadata": {
144
- "createdAt": "2026-02-03T08:18:30.894Z",
145
- "lastActivityAt": "2026-02-03T08:20:31.084Z",
146
- "totalThoughts": 2,
147
- "totalBranches": 1,
148
- "completedAt": "2026-02-03T08:20:53.181Z"
149
- }
150
- }
@@ -1,150 +0,0 @@
1
- {
2
- "id": "1770109212169-zpddeb9",
3
- "topic": "Architecting a scalable microservices system",
4
- "status": "completed",
5
- "currentBranchId": "main",
6
- "branches": {
7
- "_type": "Map",
8
- "data": [
9
- [
10
- "main",
11
- {
12
- "id": "main",
13
- "sessionId": "1770109212169-zpddeb9",
14
- "name": "Main",
15
- "description": "Primary reasoning path",
16
- "rootThoughtId": "",
17
- "thoughtIds": [],
18
- "parentBranchId": null,
19
- "childBranchIds": [],
20
- "status": "active",
21
- "confidence": 0.5,
22
- "metadata": {
23
- "createdAt": "2026-02-03T09:00:12.169Z"
24
- }
25
- }
26
- ]
27
- ]
28
- },
29
- "thoughts": {
30
- "_type": "Map",
31
- "data": [
32
- [
33
- "1770109212171-yr9lwtj",
34
- {
35
- "id": "1770109212171-yr9lwtj",
36
- "sessionId": "1770109212169-zpddeb9",
37
- "content": "We need to break down the monolithic application into smaller services.",
38
- "stepNumber": 1,
39
- "thoughtType": "analysis",
40
- "confidence": {
41
- "overall": 0.8,
42
- "components": {
43
- "logicalConsistency": 0.5,
44
- "factualAccuracy": 0.5,
45
- "reasoningQuality": 0.5,
46
- "evidenceStrength": 0.5
47
- },
48
- "uncertaintyBounds": [
49
- 0.3,
50
- 0.7
51
- ],
52
- "calibrationHistory": []
53
- },
54
- "parentThoughtId": null,
55
- "childThoughtIds": [
56
- "1770109332337-enlkj87"
57
- ],
58
- "branchId": "main",
59
- "revisionOf": null,
60
- "revisionHistory": [],
61
- "metadata": {
62
- "createdAt": "2026-02-03T09:00:12.171Z",
63
- "modifiedAt": "2026-02-03T09:00:12.171Z",
64
- "processingTimeMs": 0,
65
- "tokensUsed": 0
66
- },
67
- "tags": [],
68
- "assumptions": [],
69
- "dependencies": []
70
- }
71
- ],
72
- [
73
- "1770109332337-enlkj87",
74
- {
75
- "id": "1770109332337-enlkj87",
76
- "sessionId": "1770109212169-zpddeb9",
77
- "content": "{\n \"conclusion\": \"Failed to generate conclusion.\",\n \"reasoningChain\": [\n {\n \"step\": 1,\n \"content\": \"Error: Command failed: gemini ask 'You are a logical reasoner. Provide one clear reasoning step.\\n\\nUser: Based on the current context, generate the next reasoning step. \\nCurrent Context: [object Object]\\nIteration: 1\\nProblem: [object Object]'\\nLoaded cached credentials.\\n=========================================\\nThis is an unexpected error. Please file a bug report using the /bug tool.\\nCRITICAL: Unhandled Promise Rejection!\\n=========================================\\nReason: TypeError: Cannot read properties of undefined (reading 'model')\\nStack trace:\\nTypeError: Cannot read properties of undefined (reading 'model')\\n at ClearcutLogger.logStartSessionEvent (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/clearcut-logger/clearcut-logger.js:460:28)\\n at logCliConfiguration (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/telemetry/loggers.js:14:46)\\n at initializeApp (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/dist/src/core/initializer.js:23:5)\\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\\n at async main (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/dist/src/gemini.js:384:38)\\nHook registry initialized with 0 hook entries\\nServer 'memory' supports tool updates. Listening for changes...\\n(node:13925) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.\\n(Use `node --trace-deprecation ...` to show where the warning was created)\\nAttempt 1 failed with status 429. Retrying with backoff... GaxiosError: [{\\n \\\"error\\\": {\\n \\\"code\\\": 429,\\n \\\"message\\\": \\\"No capacity available for model gemini-3-pro-preview on the server\\\",\\n \\\"errors\\\": [\\n {\\n \\\"message\\\": \\\"No capacity available for model gemini-3-pro-preview on the server\\\",\\n \\\"domain\\\": \\\"global\\\",\\n \\\"reason\\\": \\\"rateLimitExceeded\\\"\\n }\\n ],\\n \\\"status\\\": \\\"RESOURCE_EXHAUSTED\\\",\\n \\\"details\\\": [\\n {\\n \\\"@type\\\": \\\"type.googleapis.com/google.rpc.ErrorInfo\\\",\\n \\\"reason\\\": \\\"MODEL_CAPACITY_EXHAUSTED\\\",\\n \\\"domain\\\": \\\"cloudcode-pa.googleapis.com\\\",\\n \\\"metadata\\\": {\\n \\\"model\\\": \\\"gemini-3-pro-preview\\\"\\n }\\n }\\n ]\\n }\\n}\\n]\\n at Gaxios._request (/data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/gaxios/build/src/gaxios.js:142:23)\\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\\n at async OAuth2Client.requestAsync (/data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18)\\n at async CodeAssistServer.requestStreamingPost (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:169:21)\\n at async CodeAssistServer.generateContentStream (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/code_assist/server.js:27:27)\\n at async file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/loggingContentGenerator.js:132:26\\n at async retryWithBackoff (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/utils/retry.js:108:28)\\n at async GeminiChat.makeApiCallAndProcessStream (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:421:32)\\n at async GeminiChat.streamWithRetries (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/geminiChat.js:253:40)\\n at async Turn.run (file:///data/data/com.termux/files/usr/lib/node_modules/@google/gemini-cli/node_modules/@google/gemini-cli-core/dist/src/core/turn.js:66:30) {\\n config: {\\n url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',\\n method: 'POST',\\n params: { alt: 'sse' },\\n headers: {\\n 'Content-Type': 'application/json',\\n 'User-Agent': 'GeminiCLI/0.26.0/gemini-3-pro-preview (android; arm64) google-api-nodejs-client/9.15.1',\\n Authorization: '<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.',\\n 'x-goog-api-client': 'gl-node/25.3.0'\\n },\\n responseType: 'stream',\\n body: '<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.',\\n signal: AbortSignal { aborted: false },\\n paramsSerializer: [Function: paramsSerializer],\\n validateStatus: [Function: validateStatus],\\n errorRedactor: [Function: defaultErrorRedactor]\\n },\\n response: {\\n config: {\\n url: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse',\\n method: 'POST',\\n params: [Object],\\n headers: [Object],\\n responseType: 'stream',\\n body: '<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.',\\n signal: [AbortSignal],\\n paramsSerializer: [Function: paramsSerializer],\\n validateStatus: [Function: validateStatus],\\n errorRedactor: [Function: defaultErrorRedactor]\\n },\\n data: '[{\\\\n' +\\n ' \\\"error\\\": {\\\\n' +\\n ' \\\"code\\\": 429,\\\\n' +\\n ' \\\"message\\\": \\\"No capacity available for model gemini-3-pro-preview on the server\\\",\\\\n' +\\n ' \\\"errors\\\": [\\\\n' +\\n ' {\\\\n' +\\n ' \\\"message\\\": \\\"No capacity available for model gemini-3-pro-preview on the server\\\",\\\\n' +\\n ' \\\"domain\\\": \\\"global\\\",\\\\n' +\\n ' \\\"reason\\\": \\\"rateLimitExceeded\\\"\\\\n' +\\n ' }\\\\n' +\\n ' ],\\\\n' +\\n ' \\\"status\\\": \\\"RESOURCE_EXHAUSTED\\\",\\\\n' +\\n ' \\\"details\\\": [\\\\n' +\\n ' {\\\\n' +\\n ' \\\"@type\\\": \\\"type.googleapis.com/google.rpc.ErrorInfo\\\",\\\\n' +\\n ' \\\"reason\\\": \\\"MODEL_CAPACITY_EXHAUSTED\\\",\\\\n' +\\n ' \\\"domain\\\": \\\"cloudcode-pa.googleapis.com\\\",\\\\n' +\\n ' \\\"metadata\\\": {\\\\n' +\\n ' \\\"model\\\": \\\"gemini-3-pro-preview\\\"\\\\n' +\\n ' }\\\\n' +\\n ' }\\\\n' +\\n ' ]\\\\n' +\\n ' }\\\\n' +\\n '}\\\\n' +\\n ']',\\n headers: {\\n 'alt-svc': 'h3=\\\":443\\\"; ma=2592000,h3-29=\\\":443\\\"; ma=2592000',\\n 'content-length': '624',\\n 'content-type': 'application/json; charset=UTF-8',\\n date: 'Tue, 03 Feb 2026 09:00:59 GMT',\\n server: 'ESF',\\n 'server-timing': 'gfet4t7; dur=2624',\\n vary: 'Origin, X-Origin, Referer',\\n 'x-cloudaicompanion-trace-id': 'd0f4d263083e9676',\\n 'x-content-type-options': 'nosniff',\\n 'x-frame-options': 'SAMEORIGIN',\\n 'x-xss-protection': '0'\\n },\\n status: 429,\\n statusText: 'Too Many Requests',\\n request: {\\n responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse'\\n }\\n },\\n error: undefined,\\n status: 429,\\n Symbol(gaxios-gaxios-error): '6.7.1'\\n}\\n\",\n \"confidence\": 0.63,\n \"isFinal\": true\n }\n ],\n \"iterations\": 1,\n \"strategy\": \"chain_of_thought\",\n \"problem\": \"[object Object]\"\n}",
78
- "stepNumber": 2,
79
- "thoughtType": "synthesis",
80
- "confidence": {
81
- "overall": 0.63,
82
- "components": {
83
- "logicalConsistency": 0.5,
84
- "factualAccuracy": 0.5,
85
- "reasoningQuality": 0.5,
86
- "evidenceStrength": 0.5
87
- },
88
- "uncertaintyBounds": [
89
- 0.3,
90
- 0.7
91
- ],
92
- "calibrationHistory": []
93
- },
94
- "parentThoughtId": "1770109212171-yr9lwtj",
95
- "childThoughtIds": [],
96
- "branchId": "main",
97
- "revisionOf": null,
98
- "revisionHistory": [],
99
- "metadata": {
100
- "createdAt": "2026-02-03T09:02:12.337Z",
101
- "modifiedAt": "2026-02-03T09:02:12.337Z",
102
- "processingTimeMs": 0,
103
- "tokensUsed": 0
104
- },
105
- "tags": [
106
- "swarm-result",
107
- "LogicMaster"
108
- ],
109
- "assumptions": [],
110
- "dependencies": []
111
- }
112
- ]
113
- ]
114
- },
115
- "metaNotes": {
116
- "_type": "Map",
117
- "data": []
118
- },
119
- "context": {
120
- "originalProblem": "Architecting a scalable microservices system",
121
- "constraints": [],
122
- "relevantInformation": [],
123
- "workingMemory": {
124
- "_type": "Map",
125
- "data": []
126
- },
127
- "longTermReferences": []
128
- },
129
- "settings": {
130
- "maxBranches": 5,
131
- "maxDepth": 20,
132
- "confidenceThreshold": 0.6,
133
- "enableSelfCorrection": true,
134
- "enableMetaReasoning": true,
135
- "enableParallelHypotheses": true,
136
- "adaptiveGranularity": true,
137
- "granularitySettings": {
138
- "minStepDetail": 0.1,
139
- "maxStepDetail": 1,
140
- "complexityThreshold": 0.7
141
- }
142
- },
143
- "metadata": {
144
- "createdAt": "2026-02-03T09:00:12.169Z",
145
- "lastActivityAt": "2026-02-03T09:02:12.337Z",
146
- "totalThoughts": 2,
147
- "totalBranches": 1,
148
- "completedAt": "2026-02-03T09:02:34.067Z"
149
- }
150
- }
@@ -1,150 +0,0 @@
1
- {
2
- "id": "1770117726720-frcwj99",
3
- "topic": "Architecting a scalable microservices system",
4
- "status": "completed",
5
- "currentBranchId": "main",
6
- "branches": {
7
- "_type": "Map",
8
- "data": [
9
- [
10
- "main",
11
- {
12
- "id": "main",
13
- "sessionId": "1770117726720-frcwj99",
14
- "name": "Main",
15
- "description": "Primary reasoning path",
16
- "rootThoughtId": "",
17
- "thoughtIds": [],
18
- "parentBranchId": null,
19
- "childBranchIds": [],
20
- "status": "active",
21
- "confidence": 0.5,
22
- "metadata": {
23
- "createdAt": "2026-02-03T11:22:06.720Z"
24
- }
25
- }
26
- ]
27
- ]
28
- },
29
- "thoughts": {
30
- "_type": "Map",
31
- "data": [
32
- [
33
- "1770117726722-j28xiub",
34
- {
35
- "id": "1770117726722-j28xiub",
36
- "sessionId": "1770117726720-frcwj99",
37
- "content": "We need to break down the monolithic application into smaller services.",
38
- "stepNumber": 1,
39
- "thoughtType": "analysis",
40
- "confidence": {
41
- "overall": 0.8,
42
- "components": {
43
- "logicalConsistency": 0.5,
44
- "factualAccuracy": 0.5,
45
- "reasoningQuality": 0.5,
46
- "evidenceStrength": 0.5
47
- },
48
- "uncertaintyBounds": [
49
- 0.3,
50
- 0.7
51
- ],
52
- "calibrationHistory": []
53
- },
54
- "parentThoughtId": null,
55
- "childThoughtIds": [
56
- "1770117726726-hkgov5d"
57
- ],
58
- "branchId": "main",
59
- "revisionOf": null,
60
- "revisionHistory": [],
61
- "metadata": {
62
- "createdAt": "2026-02-03T11:22:06.722Z",
63
- "modifiedAt": "2026-02-03T11:22:06.722Z",
64
- "processingTimeMs": 0,
65
- "tokensUsed": 0
66
- },
67
- "tags": [],
68
- "assumptions": [],
69
- "dependencies": []
70
- }
71
- ],
72
- [
73
- "1770117726726-hkgov5d",
74
- {
75
- "id": "1770117726726-hkgov5d",
76
- "sessionId": "1770117726720-frcwj99",
77
- "content": "{\n \"conclusion\": \"[MOCK RESPONSE from gemini] I have analyzed your request: Based on these reasoning steps, provide a final co...\",\n \"reasoningChain\": [\n {\n \"step\": 1,\n \"content\": \"[MOCK RESPONSE from gemini] I have analyzed your request: Based on the current context, generate the next re...\",\n \"confidence\": 0.63,\n \"isFinal\": false\n },\n {\n \"step\": 2,\n \"content\": \"[MOCK RESPONSE from gemini] I have analyzed your request: Based on the current context, generate the next re...\",\n \"confidence\": 0.66,\n \"isFinal\": false\n },\n {\n \"step\": 3,\n \"content\": \"[MOCK RESPONSE from gemini] I have analyzed your request: Based on the current context, generate the next re...\",\n \"confidence\": 0.69,\n \"isFinal\": false\n },\n {\n \"step\": 4,\n \"content\": \"[MOCK RESPONSE from gemini] I have analyzed your request: Based on the current context, generate the next re...\",\n \"confidence\": 0.72,\n \"isFinal\": true\n }\n ],\n \"iterations\": 4,\n \"strategy\": \"chain_of_thought\",\n \"problem\": \"[object Object]\"\n}",
78
- "stepNumber": 2,
79
- "thoughtType": "synthesis",
80
- "confidence": {
81
- "overall": 0.675,
82
- "components": {
83
- "logicalConsistency": 0.5,
84
- "factualAccuracy": 0.5,
85
- "reasoningQuality": 0.5,
86
- "evidenceStrength": 0.5
87
- },
88
- "uncertaintyBounds": [
89
- 0.3,
90
- 0.7
91
- ],
92
- "calibrationHistory": []
93
- },
94
- "parentThoughtId": "1770117726722-j28xiub",
95
- "childThoughtIds": [],
96
- "branchId": "main",
97
- "revisionOf": null,
98
- "revisionHistory": [],
99
- "metadata": {
100
- "createdAt": "2026-02-03T11:22:06.726Z",
101
- "modifiedAt": "2026-02-03T11:22:06.726Z",
102
- "processingTimeMs": 0,
103
- "tokensUsed": 0
104
- },
105
- "tags": [
106
- "swarm-result",
107
- "LogicMaster"
108
- ],
109
- "assumptions": [],
110
- "dependencies": []
111
- }
112
- ]
113
- ]
114
- },
115
- "metaNotes": {
116
- "_type": "Map",
117
- "data": []
118
- },
119
- "context": {
120
- "originalProblem": "Architecting a scalable microservices system",
121
- "constraints": [],
122
- "relevantInformation": [],
123
- "workingMemory": {
124
- "_type": "Map",
125
- "data": []
126
- },
127
- "longTermReferences": []
128
- },
129
- "settings": {
130
- "maxBranches": 5,
131
- "maxDepth": 20,
132
- "confidenceThreshold": 0.6,
133
- "enableSelfCorrection": true,
134
- "enableMetaReasoning": true,
135
- "enableParallelHypotheses": true,
136
- "adaptiveGranularity": true,
137
- "granularitySettings": {
138
- "minStepDetail": 0.1,
139
- "maxStepDetail": 1,
140
- "complexityThreshold": 0.7
141
- }
142
- },
143
- "metadata": {
144
- "createdAt": "2026-02-03T11:22:06.720Z",
145
- "lastActivityAt": "2026-02-03T11:22:06.726Z",
146
- "totalThoughts": 2,
147
- "totalBranches": 1,
148
- "completedAt": "2026-02-03T11:22:06.734Z"
149
- }
150
- }