mcp-sunsama 0.2.0 → 0.2.2
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/.claude/settings.local.json +4 -1
- package/CHANGELOG.md +14 -0
- package/bun.lock +2 -2
- package/dist/main.d.ts +1 -0
- package/dist/main.js +2 -1
- package/package.json +2 -2
- package/src/main.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# mcp-sunsama
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 177cf46: Fix ES module import error in sunsama-api dependency by patching directory imports to include explicit file extensions
|
|
8
|
+
|
|
9
|
+
## 0.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Fix binary execution issue by adding Node.js shebang line
|
|
14
|
+
|
|
15
|
+
The npm package binary was failing to execute because it was missing the `#!/usr/bin/env node` shebang line at the top of the file. This caused the shell to treat the JavaScript file as a shell script instead of passing it to Node.js for execution.
|
|
16
|
+
|
|
3
17
|
## 0.2.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/bun.lock
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"@types/papaparse": "^5.3.16",
|
|
8
8
|
"fastmcp": "2.1.3",
|
|
9
9
|
"papaparse": "^5.5.3",
|
|
10
|
-
"sunsama-api": "0.2.
|
|
10
|
+
"sunsama-api": "0.2.1",
|
|
11
11
|
"zod": "3.24.4",
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
|
|
429
429
|
"strtok3": ["strtok3@10.3.1", "", { "dependencies": { "@tokenizer/token": "^0.3.0" } }, "sha512-3JWEZM6mfix/GCJBBUrkA8p2Id2pBkyTkVCJKto55w080QBKZ+8R171fGrbiSp+yMO/u6F8/yUh7K4V9K+YCnw=="],
|
|
430
430
|
|
|
431
|
-
"sunsama-api": ["sunsama-api@0.2.
|
|
431
|
+
"sunsama-api": ["sunsama-api@0.2.1", "", { "dependencies": { "graphql": "^16.11.0", "graphql-tag": "^2.12.6", "tough-cookie": "^5.1.2", "tslib": "^2.8.1" } }, "sha512-G98BCWEZ+Du4NGyEL9SxMqwmEfmZrgKHwTdL3nAVUua4X9toTI9NIiN+zlUFKqN+n+iaF5Xsz0g3lAC/axZcDQ=="],
|
|
432
432
|
|
|
433
433
|
"term-size": ["term-size@2.2.1", "", {}, "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg=="],
|
|
434
434
|
|
package/dist/main.d.ts
CHANGED
package/dist/main.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
import { FastMCP } from "fastmcp";
|
|
2
3
|
import { httpStreamAuthenticator } from "./auth/http.js";
|
|
3
4
|
import { initializeStdioAuth } from "./auth/stdio.js";
|
|
@@ -15,7 +16,7 @@ if (transportConfig.transportType === "stdio") {
|
|
|
15
16
|
}
|
|
16
17
|
const server = new FastMCP({
|
|
17
18
|
name: "Sunsama API Server",
|
|
18
|
-
version: "0.2.
|
|
19
|
+
version: "0.2.2",
|
|
19
20
|
instructions: `
|
|
20
21
|
This MCP server provides access to the Sunsama API for task and project management.
|
|
21
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-sunsama",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "MCP server for Sunsama API integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@types/papaparse": "^5.3.16",
|
|
26
26
|
"fastmcp": "2.1.3",
|
|
27
27
|
"papaparse": "^5.5.3",
|
|
28
|
-
"sunsama-api": "0.2.
|
|
28
|
+
"sunsama-api": "0.2.1",
|
|
29
29
|
"zod": "3.24.4"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
package/src/main.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
import { FastMCP } from "fastmcp";
|
|
2
3
|
import type { CreateTaskOptions } from "sunsama-api";
|
|
3
4
|
import { httpStreamAuthenticator } from "./auth/http.js";
|
|
@@ -29,7 +30,7 @@ if (transportConfig.transportType === "stdio") {
|
|
|
29
30
|
|
|
30
31
|
const server = new FastMCP({
|
|
31
32
|
name: "Sunsama API Server",
|
|
32
|
-
version: "0.2.
|
|
33
|
+
version: "0.2.2",
|
|
33
34
|
instructions: `
|
|
34
35
|
This MCP server provides access to the Sunsama API for task and project management.
|
|
35
36
|
|