@glie/mcp-polaris 0.18.2 → 0.20.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 +16 -2
- 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.20.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 ?? "";
|
|
@@ -445,7 +445,7 @@ var TOOLS = [
|
|
|
445
445
|
},
|
|
446
446
|
{
|
|
447
447
|
name: "polaris.task.list",
|
|
448
|
-
description:
|
|
448
|
+
description: 'Find tasks \u2014 the agent\'s entry point. Pass assignee_agent_id="self" (or assignee_human_id="self" for a human) to get what is YOURS; add status=dev (etc.) to see only active work. Other filters: milestone_id (or "none" for the standalone tasks, which have no milestone), product_key, team, and q to find a task or creative by its name or by the title it publishes with. Each row carries `published_title`.',
|
|
449
449
|
inputSchema: objSchema({
|
|
450
450
|
status: strSchema("comma-separated subset of: draft,backlog,dev,test,approval,release,done,canceled"),
|
|
451
451
|
milestone_id: strSchema('a milestone id, or "none" for the standalone tasks (no milestone)'),
|
|
@@ -453,6 +453,7 @@ var TOOLS = [
|
|
|
453
453
|
team: strSchema("dev|mkt"),
|
|
454
454
|
assignee_agent_id: strSchema('agent id, or "self" for the calling agent'),
|
|
455
455
|
assignee_human_id: strSchema('human id, or "self" for the calling human'),
|
|
456
|
+
q: strSchema("words to find in the task's name or published title (article title, or the cover's title " + "of the newest ready version) \u2014 every word must appear, in any order; case and accents " + 'are ignored. "#2876" also matches the task with that id.'),
|
|
456
457
|
limit: intSchema()
|
|
457
458
|
}),
|
|
458
459
|
call: async (args) => {
|
|
@@ -464,6 +465,7 @@ var TOOLS = [
|
|
|
464
465
|
"team",
|
|
465
466
|
"assignee_agent_id",
|
|
466
467
|
"assignee_human_id",
|
|
468
|
+
"q",
|
|
467
469
|
"limit"
|
|
468
470
|
]) {
|
|
469
471
|
const v = args[k];
|
|
@@ -629,6 +631,18 @@ var TOOLS = [
|
|
|
629
631
|
inputSchema: objSchema({ id: intSchema(), dep_task_id: intSchema() }, ["id", "dep_task_id"]),
|
|
630
632
|
call: async (args) => (await apiCall("POST", `/api/tasks/${args.id}/deps`, { dep_task_id: args.dep_task_id })).body
|
|
631
633
|
},
|
|
634
|
+
{
|
|
635
|
+
name: "polaris.task.together_add",
|
|
636
|
+
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.",
|
|
637
|
+
inputSchema: objSchema({ id: intSchema(), task_id: intSchema() }, ["id", "task_id"]),
|
|
638
|
+
call: async (args) => (await apiCall("POST", `/api/tasks/${args.id}/together`, { task_id: args.task_id })).body
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
name: "polaris.task.together_remove",
|
|
642
|
+
description: "Unpair two articles (idempotent).",
|
|
643
|
+
inputSchema: objSchema({ id: intSchema(), task_id: intSchema() }, ["id", "task_id"]),
|
|
644
|
+
call: async (args) => (await apiCall("DELETE", `/api/tasks/${args.id}/together/${args.task_id}`)).body
|
|
645
|
+
},
|
|
632
646
|
{
|
|
633
647
|
name: "polaris.task.dep_remove",
|
|
634
648
|
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.20.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>",
|