@wemake.cx/sequential-thinking 0.2.2 → 0.2.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/dist/index.js +14 -13
- package/dist/index.js.map +3 -3
- package/dist/types/index.d.ts +2 -0
- package/package.json +10 -5
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
// @bun
|
|
2
3
|
var __create = Object.create;
|
|
3
4
|
var __getProtoOf = Object.getPrototypeOf;
|
|
4
5
|
var __defProp = Object.defineProperty;
|
|
@@ -11259,7 +11260,7 @@ class Server extends Protocol {
|
|
|
11259
11260
|
}
|
|
11260
11261
|
|
|
11261
11262
|
// ../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
11262
|
-
import process2 from "
|
|
11263
|
+
import process2 from "process";
|
|
11263
11264
|
|
|
11264
11265
|
// ../../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
11265
11266
|
class ReadBuffer {
|
|
@@ -11530,9 +11531,9 @@ var ansiStyles = assembleStyles();
|
|
|
11530
11531
|
var ansi_styles_default = ansiStyles;
|
|
11531
11532
|
|
|
11532
11533
|
// ../../node_modules/chalk/source/vendor/supports-color/index.js
|
|
11533
|
-
import process3 from "
|
|
11534
|
-
import os from "
|
|
11535
|
-
import tty from "
|
|
11534
|
+
import process3 from "process";
|
|
11535
|
+
import os from "os";
|
|
11536
|
+
import tty from "tty";
|
|
11536
11537
|
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process3.argv) {
|
|
11537
11538
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
11538
11539
|
const position = argv.indexOf(prefix + flag);
|
|
@@ -11890,13 +11891,13 @@ class SequentialThinkingServer {
|
|
|
11890
11891
|
context = "";
|
|
11891
11892
|
}
|
|
11892
11893
|
const header = `${prefix} ${thoughtNumber}/${totalThoughts}${context}`;
|
|
11893
|
-
const border = "
|
|
11894
|
+
const border = "\u2500".repeat(Math.max(header.length, thought.length) + 4);
|
|
11894
11895
|
return `
|
|
11895
|
-
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
|
|
11896
|
+
\u250C${border}\u2510
|
|
11897
|
+
\u2502 ${header} \u2502
|
|
11898
|
+
\u251C${border}\u2524
|
|
11899
|
+
\u2502 ${thought.padEnd(border.length - 2)} \u2502
|
|
11900
|
+
\u2514${border}\u2518`;
|
|
11900
11901
|
}
|
|
11901
11902
|
processThought(input) {
|
|
11902
11903
|
try {
|
|
@@ -12050,7 +12051,7 @@ You should:
|
|
|
12050
12051
|
};
|
|
12051
12052
|
var server = new Server({
|
|
12052
12053
|
name: "sequential-thinking-server",
|
|
12053
|
-
version: "0.2.
|
|
12054
|
+
version: "0.2.4"
|
|
12054
12055
|
}, {
|
|
12055
12056
|
capabilities: {
|
|
12056
12057
|
tools: {}
|
|
@@ -12084,5 +12085,5 @@ runServer().catch((error) => {
|
|
|
12084
12085
|
process.exit(1);
|
|
12085
12086
|
});
|
|
12086
12087
|
|
|
12087
|
-
//# debugId=
|
|
12088
|
+
//# debugId=378BF4D9D57C729264756E2164756E21
|
|
12088
12089
|
//# sourceMappingURL=index.js.map
|