@myspec/mcp-server 0.1.0-next.12 → 0.1.0-next.13
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 +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1086,6 +1086,7 @@ function transformSpecSessionResponse(raw) {
|
|
|
1086
1086
|
messageCount: raw.message_count,
|
|
1087
1087
|
tokenCount: raw.token_count,
|
|
1088
1088
|
context: raw.context,
|
|
1089
|
+
chatHistory: raw.chat_history,
|
|
1089
1090
|
startedAt: new Date(raw.started_at),
|
|
1090
1091
|
completedAt: raw.completed_at ? new Date(raw.completed_at) : void 0,
|
|
1091
1092
|
archivedAt: raw.archived_at ? new Date(raw.archived_at) : void 0,
|
|
@@ -1530,6 +1531,7 @@ var HttpSpecSessionClient = class {
|
|
|
1530
1531
|
if (updates.messageCount !== void 0) body.message_count = updates.messageCount;
|
|
1531
1532
|
if (updates.tokenCount !== void 0) body.token_count = updates.tokenCount;
|
|
1532
1533
|
if (updates.context !== void 0) body.context = updates.context;
|
|
1534
|
+
if (updates.chatHistory !== void 0) body.chat_history = updates.chatHistory;
|
|
1533
1535
|
const raw = await this.httpClient.put(
|
|
1534
1536
|
`/project/v1/sessions/${sessionId}`,
|
|
1535
1537
|
body,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myspec/mcp-server",
|
|
3
|
-
"version": "0.1.0-next.
|
|
3
|
+
"version": "0.1.0-next.13",
|
|
4
4
|
"description": "MySpec MCP server — exposes MySpec platform projects, files and attachments to MCP-aware clients via OAuth-authenticated access tokens.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|