@gotza02/seq-thinking 1.1.4 → 1.1.6

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 +31 -27
  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 +8 -2
  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,68 +0,0 @@
1
- {
2
- "config": {
3
- "id": "1770117726716-lrnm415",
4
- "name": "LogicMaster",
5
- "type": "reasoner",
6
- "subtype": "chain_of_thought",
7
- "capabilities": [
8
- {
9
- "name": "chain_of_thought",
10
- "description": "Step-by-step reasoning",
11
- "confidence": 0.9,
12
- "performanceMetrics": {
13
- "tasksCompleted": 0,
14
- "averageQuality": 0,
15
- "averageTimeMs": 0
16
- }
17
- },
18
- {
19
- "name": "tree_of_thought",
20
- "description": "Explore multiple reasoning paths",
21
- "confidence": 0.85,
22
- "performanceMetrics": {
23
- "tasksCompleted": 0,
24
- "averageQuality": 0,
25
- "averageTimeMs": 0
26
- }
27
- },
28
- {
29
- "name": "analogical_reasoning",
30
- "description": "Reason by analogy",
31
- "confidence": 0.8,
32
- "performanceMetrics": {
33
- "tasksCompleted": 0,
34
- "averageQuality": 0,
35
- "averageTimeMs": 0
36
- }
37
- },
38
- {
39
- "name": "abductive_reasoning",
40
- "description": "Inference to best explanation",
41
- "confidence": 0.75,
42
- "performanceMetrics": {
43
- "tasksCompleted": 0,
44
- "averageQuality": 0,
45
- "averageTimeMs": 0
46
- }
47
- },
48
- {
49
- "name": "problem_solving",
50
- "description": "General problem-solving",
51
- "confidence": 0.8,
52
- "performanceMetrics": {
53
- "tasksCompleted": 0,
54
- "averageQuality": 0,
55
- "averageTimeMs": 0
56
- }
57
- }
58
- ],
59
- "maxConcurrentTasks": 3,
60
- "confidenceThreshold": 0.7,
61
- "metadata": {
62
- "createdAt": "2026-02-03T11:22:06.716Z",
63
- "version": "1.0.0",
64
- "config": {}
65
- }
66
- },
67
- "performanceHistory": []
68
- }
@@ -1,58 +0,0 @@
1
- {
2
- "config": {
3
- "id": "1770117726719-w6hsf3v",
4
- "name": "SafetyCheck",
5
- "type": "critic",
6
- "subtype": "safety",
7
- "capabilities": [
8
- {
9
- "name": "evaluation",
10
- "description": "Evaluate outputs from other agents",
11
- "confidence": 0.85,
12
- "performanceMetrics": {
13
- "tasksCompleted": 0,
14
- "averageQuality": 0,
15
- "averageTimeMs": 0
16
- }
17
- },
18
- {
19
- "name": "validation",
20
- "description": "Validate correctness and accuracy",
21
- "confidence": 0.8,
22
- "performanceMetrics": {
23
- "tasksCompleted": 0,
24
- "averageQuality": 0,
25
- "averageTimeMs": 0
26
- }
27
- },
28
- {
29
- "name": "feedback",
30
- "description": "Provide constructive feedback",
31
- "confidence": 0.9,
32
- "performanceMetrics": {
33
- "tasksCompleted": 0,
34
- "averageQuality": 0,
35
- "averageTimeMs": 0
36
- }
37
- },
38
- {
39
- "name": "logical_analysis",
40
- "description": "Analyze logical consistency",
41
- "confidence": 0.85,
42
- "performanceMetrics": {
43
- "tasksCompleted": 0,
44
- "averageQuality": 0,
45
- "averageTimeMs": 0
46
- }
47
- }
48
- ],
49
- "maxConcurrentTasks": 5,
50
- "confidenceThreshold": 0.7,
51
- "metadata": {
52
- "createdAt": "2026-02-03T11:22:06.719Z",
53
- "version": "1.0.0",
54
- "config": {}
55
- }
56
- },
57
- "performanceHistory": []
58
- }
@@ -1,499 +0,0 @@
1
- {
2
- "id": "1770100622009-5afiuyv",
3
- "topic": "Analyze missing or undeveloped features in mcp-sequential-thinking project",
4
- "status": "initializing",
5
- "currentBranchId": "main",
6
- "branches": {
7
- "_type": "Map",
8
- "data": [
9
- [
10
- "main",
11
- {
12
- "id": "main",
13
- "sessionId": "1770100622009-5afiuyv",
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-03T06:37:02.009Z"
24
- }
25
- }
26
- ]
27
- ]
28
- },
29
- "thoughts": {
30
- "_type": "Map",
31
- "data": [
32
- [
33
- "1770100804453-1sgj64n",
34
- {
35
- "id": "1770100804453-1sgj64n",
36
- "sessionId": "1770100622009-5afiuyv",
37
- "content": "undefined",
38
- "stepNumber": 1,
39
- "thoughtType": "analysis",
40
- "confidence": {
41
- "overall": 0.5,
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
- "branchId": "main",
57
- "revisionOf": null,
58
- "revisionHistory": [],
59
- "metadata": {
60
- "createdAt": "2026-02-03T06:40:04.453Z",
61
- "modifiedAt": "2026-02-03T06:40:04.453Z",
62
- "processingTimeMs": 0,
63
- "tokensUsed": 0
64
- },
65
- "tags": [],
66
- "assumptions": [],
67
- "dependencies": []
68
- }
69
- ],
70
- [
71
- "1770101085213-xaldrud",
72
- {
73
- "id": "1770101085213-xaldrud",
74
- "sessionId": "1770100622009-5afiuyv",
75
- "content": "undefined",
76
- "stepNumber": 2,
77
- "thoughtType": "analysis",
78
- "confidence": {
79
- "overall": 0.5,
80
- "components": {
81
- "logicalConsistency": 0.5,
82
- "factualAccuracy": 0.5,
83
- "reasoningQuality": 0.5,
84
- "evidenceStrength": 0.5
85
- },
86
- "uncertaintyBounds": [
87
- 0.3,
88
- 0.7
89
- ],
90
- "calibrationHistory": []
91
- },
92
- "parentThoughtId": null,
93
- "childThoughtIds": [],
94
- "branchId": "main",
95
- "revisionOf": null,
96
- "revisionHistory": [],
97
- "metadata": {
98
- "createdAt": "2026-02-03T06:44:45.213Z",
99
- "modifiedAt": "2026-02-03T06:44:45.213Z",
100
- "processingTimeMs": 0,
101
- "tokensUsed": 0
102
- },
103
- "tags": [],
104
- "assumptions": [],
105
- "dependencies": []
106
- }
107
- ],
108
- [
109
- "1770101341514-c77efme",
110
- {
111
- "id": "1770101341514-c77efme",
112
- "sessionId": "1770100622009-5afiuyv",
113
- "content": "undefined",
114
- "stepNumber": 3,
115
- "thoughtType": "analysis",
116
- "confidence": {
117
- "overall": 0.5,
118
- "components": {
119
- "logicalConsistency": 0.5,
120
- "factualAccuracy": 0.5,
121
- "reasoningQuality": 0.5,
122
- "evidenceStrength": 0.5
123
- },
124
- "uncertaintyBounds": [
125
- 0.3,
126
- 0.7
127
- ],
128
- "calibrationHistory": []
129
- },
130
- "parentThoughtId": null,
131
- "childThoughtIds": [],
132
- "branchId": "main",
133
- "revisionOf": null,
134
- "revisionHistory": [],
135
- "metadata": {
136
- "createdAt": "2026-02-03T06:49:01.514Z",
137
- "modifiedAt": "2026-02-03T06:49:01.514Z",
138
- "processingTimeMs": 0,
139
- "tokensUsed": 0
140
- },
141
- "tags": [],
142
- "assumptions": [],
143
- "dependencies": []
144
- }
145
- ],
146
- [
147
- "1770101397883-n9p96dx",
148
- {
149
- "id": "1770101397883-n9p96dx",
150
- "sessionId": "1770100622009-5afiuyv",
151
- "content": "undefined",
152
- "stepNumber": 4,
153
- "thoughtType": "analysis",
154
- "confidence": {
155
- "overall": 0.5,
156
- "components": {
157
- "logicalConsistency": 0.5,
158
- "factualAccuracy": 0.5,
159
- "reasoningQuality": 0.5,
160
- "evidenceStrength": 0.5
161
- },
162
- "uncertaintyBounds": [
163
- 0.3,
164
- 0.7
165
- ],
166
- "calibrationHistory": []
167
- },
168
- "parentThoughtId": null,
169
- "childThoughtIds": [],
170
- "branchId": "main",
171
- "revisionOf": null,
172
- "revisionHistory": [],
173
- "metadata": {
174
- "createdAt": "2026-02-03T06:49:57.883Z",
175
- "modifiedAt": "2026-02-03T06:49:57.883Z",
176
- "processingTimeMs": 0,
177
- "tokensUsed": 0
178
- },
179
- "tags": [],
180
- "assumptions": [],
181
- "dependencies": []
182
- }
183
- ],
184
- [
185
- "1770102208738-gydalj8",
186
- {
187
- "id": "1770102208738-gydalj8",
188
- "sessionId": "1770100622009-5afiuyv",
189
- "content": "undefined",
190
- "stepNumber": 5,
191
- "thoughtType": "analysis",
192
- "confidence": {
193
- "overall": 0.5,
194
- "components": {
195
- "logicalConsistency": 0.5,
196
- "factualAccuracy": 0.5,
197
- "reasoningQuality": 0.5,
198
- "evidenceStrength": 0.5
199
- },
200
- "uncertaintyBounds": [
201
- 0.3,
202
- 0.7
203
- ],
204
- "calibrationHistory": []
205
- },
206
- "parentThoughtId": null,
207
- "childThoughtIds": [],
208
- "branchId": "main",
209
- "revisionOf": null,
210
- "revisionHistory": [],
211
- "metadata": {
212
- "createdAt": "2026-02-03T07:03:28.738Z",
213
- "modifiedAt": "2026-02-03T07:03:28.738Z",
214
- "processingTimeMs": 0,
215
- "tokensUsed": 0
216
- },
217
- "tags": [],
218
- "assumptions": [],
219
- "dependencies": []
220
- }
221
- ],
222
- [
223
- "1770104353843-mlwaqo8",
224
- {
225
- "id": "1770104353843-mlwaqo8",
226
- "sessionId": "1770100622009-5afiuyv",
227
- "content": "undefined",
228
- "stepNumber": 6,
229
- "thoughtType": "analysis",
230
- "confidence": {
231
- "overall": 0.5,
232
- "components": {
233
- "logicalConsistency": 0.5,
234
- "factualAccuracy": 0.5,
235
- "reasoningQuality": 0.5,
236
- "evidenceStrength": 0.5
237
- },
238
- "uncertaintyBounds": [
239
- 0.3,
240
- 0.7
241
- ],
242
- "calibrationHistory": []
243
- },
244
- "parentThoughtId": null,
245
- "childThoughtIds": [],
246
- "branchId": "main",
247
- "revisionOf": null,
248
- "revisionHistory": [],
249
- "metadata": {
250
- "createdAt": "2026-02-03T07:39:13.843Z",
251
- "modifiedAt": "2026-02-03T07:39:13.843Z",
252
- "processingTimeMs": 0,
253
- "tokensUsed": 0
254
- },
255
- "tags": [],
256
- "assumptions": [],
257
- "dependencies": []
258
- }
259
- ],
260
- [
261
- "1770104525838-der46rz",
262
- {
263
- "id": "1770104525838-der46rz",
264
- "sessionId": "1770100622009-5afiuyv",
265
- "content": "undefined",
266
- "stepNumber": 7,
267
- "thoughtType": "analysis",
268
- "confidence": {
269
- "overall": 0.5,
270
- "components": {
271
- "logicalConsistency": 0.5,
272
- "factualAccuracy": 0.5,
273
- "reasoningQuality": 0.5,
274
- "evidenceStrength": 0.5
275
- },
276
- "uncertaintyBounds": [
277
- 0.3,
278
- 0.7
279
- ],
280
- "calibrationHistory": []
281
- },
282
- "parentThoughtId": null,
283
- "childThoughtIds": [],
284
- "branchId": "main",
285
- "revisionOf": null,
286
- "revisionHistory": [],
287
- "metadata": {
288
- "createdAt": "2026-02-03T07:42:05.838Z",
289
- "modifiedAt": "2026-02-03T07:42:05.838Z",
290
- "processingTimeMs": 0,
291
- "tokensUsed": 0
292
- },
293
- "tags": [],
294
- "assumptions": [],
295
- "dependencies": []
296
- }
297
- ],
298
- [
299
- "1770104569699-837dv1o",
300
- {
301
- "id": "1770104569699-837dv1o",
302
- "sessionId": "1770100622009-5afiuyv",
303
- "content": "undefined",
304
- "stepNumber": 8,
305
- "thoughtType": "analysis",
306
- "confidence": {
307
- "overall": 0.5,
308
- "components": {
309
- "logicalConsistency": 0.5,
310
- "factualAccuracy": 0.5,
311
- "reasoningQuality": 0.5,
312
- "evidenceStrength": 0.5
313
- },
314
- "uncertaintyBounds": [
315
- 0.3,
316
- 0.7
317
- ],
318
- "calibrationHistory": []
319
- },
320
- "parentThoughtId": null,
321
- "childThoughtIds": [],
322
- "branchId": "main",
323
- "revisionOf": null,
324
- "revisionHistory": [],
325
- "metadata": {
326
- "createdAt": "2026-02-03T07:42:49.699Z",
327
- "modifiedAt": "2026-02-03T07:42:49.699Z",
328
- "processingTimeMs": 0,
329
- "tokensUsed": 0
330
- },
331
- "tags": [],
332
- "assumptions": [],
333
- "dependencies": []
334
- }
335
- ],
336
- [
337
- "1770105005762-0yvydu4",
338
- {
339
- "id": "1770105005762-0yvydu4",
340
- "sessionId": "1770100622009-5afiuyv",
341
- "content": "undefined",
342
- "stepNumber": 9,
343
- "thoughtType": "analysis",
344
- "confidence": {
345
- "overall": 0.5,
346
- "components": {
347
- "logicalConsistency": 0.5,
348
- "factualAccuracy": 0.5,
349
- "reasoningQuality": 0.5,
350
- "evidenceStrength": 0.5
351
- },
352
- "uncertaintyBounds": [
353
- 0.3,
354
- 0.7
355
- ],
356
- "calibrationHistory": []
357
- },
358
- "parentThoughtId": null,
359
- "childThoughtIds": [],
360
- "branchId": "main",
361
- "revisionOf": null,
362
- "revisionHistory": [],
363
- "metadata": {
364
- "createdAt": "2026-02-03T07:50:05.762Z",
365
- "modifiedAt": "2026-02-03T07:50:05.762Z",
366
- "processingTimeMs": 0,
367
- "tokensUsed": 0
368
- },
369
- "tags": [],
370
- "assumptions": [],
371
- "dependencies": []
372
- }
373
- ]
374
- ]
375
- },
376
- "metaNotes": {
377
- "_type": "Map",
378
- "data": [
379
- [
380
- "1770101085213-l5fh3gb",
381
- {
382
- "id": "1770101085213-l5fh3gb",
383
- "thoughtId": "1770101085213-xaldrud",
384
- "content": "Similar to 1 previous thoughts",
385
- "observationType": "pattern",
386
- "timestamp": "2026-02-03T06:44:45.213Z",
387
- "triggeredActions": []
388
- }
389
- ],
390
- [
391
- "1770101341514-makxtvn",
392
- {
393
- "id": "1770101341514-makxtvn",
394
- "thoughtId": "1770101341514-c77efme",
395
- "content": "Similar to 2 previous thoughts",
396
- "observationType": "pattern",
397
- "timestamp": "2026-02-03T06:49:01.514Z",
398
- "triggeredActions": []
399
- }
400
- ],
401
- [
402
- "1770101397883-uhtt3ql",
403
- {
404
- "id": "1770101397883-uhtt3ql",
405
- "thoughtId": "1770101397883-n9p96dx",
406
- "content": "Similar to 3 previous thoughts",
407
- "observationType": "pattern",
408
- "timestamp": "2026-02-03T06:49:57.883Z",
409
- "triggeredActions": []
410
- }
411
- ],
412
- [
413
- "1770102208739-vmo4h65",
414
- {
415
- "id": "1770102208739-vmo4h65",
416
- "thoughtId": "1770102208738-gydalj8",
417
- "content": "Similar to 4 previous thoughts",
418
- "observationType": "pattern",
419
- "timestamp": "2026-02-03T07:03:28.739Z",
420
- "triggeredActions": []
421
- }
422
- ],
423
- [
424
- "1770104353843-bu1k6b6",
425
- {
426
- "id": "1770104353843-bu1k6b6",
427
- "thoughtId": "1770104353843-mlwaqo8",
428
- "content": "Similar to 5 previous thoughts",
429
- "observationType": "pattern",
430
- "timestamp": "2026-02-03T07:39:13.843Z",
431
- "triggeredActions": []
432
- }
433
- ],
434
- [
435
- "1770104525839-llvlre5",
436
- {
437
- "id": "1770104525839-llvlre5",
438
- "thoughtId": "1770104525838-der46rz",
439
- "content": "Similar to 6 previous thoughts",
440
- "observationType": "pattern",
441
- "timestamp": "2026-02-03T07:42:05.839Z",
442
- "triggeredActions": []
443
- }
444
- ],
445
- [
446
- "1770104569699-t75admd",
447
- {
448
- "id": "1770104569699-t75admd",
449
- "thoughtId": "1770104569699-837dv1o",
450
- "content": "Similar to 7 previous thoughts",
451
- "observationType": "pattern",
452
- "timestamp": "2026-02-03T07:42:49.699Z",
453
- "triggeredActions": []
454
- }
455
- ],
456
- [
457
- "1770105005762-dwaq17l",
458
- {
459
- "id": "1770105005762-dwaq17l",
460
- "thoughtId": "1770105005762-0yvydu4",
461
- "content": "Similar to 8 previous thoughts",
462
- "observationType": "pattern",
463
- "timestamp": "2026-02-03T07:50:05.762Z",
464
- "triggeredActions": []
465
- }
466
- ]
467
- ]
468
- },
469
- "context": {
470
- "originalProblem": "Analyze missing or undeveloped features in mcp-sequential-thinking project",
471
- "constraints": [],
472
- "relevantInformation": [],
473
- "workingMemory": {
474
- "_type": "Map",
475
- "data": []
476
- },
477
- "longTermReferences": []
478
- },
479
- "settings": {
480
- "maxBranches": 5,
481
- "maxDepth": 20,
482
- "confidenceThreshold": 0.6,
483
- "enableSelfCorrection": true,
484
- "enableMetaReasoning": true,
485
- "enableParallelHypotheses": true,
486
- "adaptiveGranularity": true,
487
- "granularitySettings": {
488
- "minStepDetail": 0.1,
489
- "maxStepDetail": 1,
490
- "complexityThreshold": 0.7
491
- }
492
- },
493
- "metadata": {
494
- "createdAt": "2026-02-03T06:37:02.009Z",
495
- "lastActivityAt": "2026-02-03T07:50:05.762Z",
496
- "totalThoughts": 9,
497
- "totalBranches": 1
498
- }
499
- }