@glie/mcp-polaris 0.18.2 → 0.19.0
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 +13 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ var INLINE_MIMES = new Set([
|
|
|
30
30
|
]);
|
|
31
31
|
|
|
32
32
|
// ../../src/mcp/index.ts
|
|
33
|
-
var VERSION = "0.
|
|
33
|
+
var VERSION = "0.19.0";
|
|
34
34
|
var FRAMEWORK_KEY_DOC = "optional \u2014 a key from polaris.framework.list. Leave it out when none applies: a framework is for founding a large domain, and most milestones take none. An unknown key is refused (400) with the keys that exist.";
|
|
35
35
|
var BASE = process.env.POLARIS_URL ?? "http://127.0.0.1:7843";
|
|
36
36
|
var TOKEN = process.env.POLARIS_TOKEN ?? "";
|
|
@@ -629,6 +629,18 @@ var TOOLS = [
|
|
|
629
629
|
inputSchema: objSchema({ id: intSchema(), dep_task_id: intSchema() }, ["id", "dep_task_id"]),
|
|
630
630
|
call: async (args) => (await apiCall("POST", `/api/tasks/${args.id}/deps`, { dep_task_id: args.dep_task_id })).body
|
|
631
631
|
},
|
|
632
|
+
{
|
|
633
|
+
name: "polaris.task.together_add",
|
|
634
|
+
description: "Pair two Blog articles so they go out together \u2014 they cite each other. Not a dependency: nothing waits, both are written at once, and publishing either publishes both (each must be in release). Same product, same blog language, neither out yet.",
|
|
635
|
+
inputSchema: objSchema({ id: intSchema(), task_id: intSchema() }, ["id", "task_id"]),
|
|
636
|
+
call: async (args) => (await apiCall("POST", `/api/tasks/${args.id}/together`, { task_id: args.task_id })).body
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
name: "polaris.task.together_remove",
|
|
640
|
+
description: "Unpair two articles (idempotent).",
|
|
641
|
+
inputSchema: objSchema({ id: intSchema(), task_id: intSchema() }, ["id", "task_id"]),
|
|
642
|
+
call: async (args) => (await apiCall("DELETE", `/api/tasks/${args.id}/together/${args.task_id}`)).body
|
|
643
|
+
},
|
|
632
644
|
{
|
|
633
645
|
name: "polaris.task.dep_remove",
|
|
634
646
|
description: "Remove a dependency edge (idempotent).",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glie/mcp-polaris",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Model Context Protocol (stdio) server exposing Polaris, glie's ops platform, as native tools in Claude Code and any MCP client.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "glie <carlos@glie.ai>",
|