@glie/mcp-polaris 0.4.0 → 0.5.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.
Files changed (2) hide show
  1. package/dist/index.js +43 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -666,6 +666,49 @@ var TOOLS = [
666
666
  description: "Revoke one of YOUR Personal Access Tokens. Idempotent.",
667
667
  inputSchema: objSchema({ token_id: intSchema() }, ["token_id"]),
668
668
  call: async (args) => (await apiCall("POST", `/api/humans/me/tokens/${args.token_id}/revoke`)).body
669
+ },
670
+ {
671
+ name: "polaris.human.me_update",
672
+ description: "Update YOUR human profile \u2014 link or clear your GitHub username (PATCH /api/humans/me). Pass empty string to clear.",
673
+ inputSchema: objSchema({ github_username: strSchema("GitHub username, or empty string to clear") }, ["github_username"]),
674
+ call: async (args) => (await apiCall("PATCH", "/api/humans/me", {
675
+ github_username: args.github_username || null
676
+ })).body
677
+ },
678
+ {
679
+ name: "polaris.team.create",
680
+ description: 'Create a team (human-only). requires = capability keys (e.g. ["repo"]); functions = agent functions it runs (developer|tester|planner|communicator).',
681
+ inputSchema: objSchema({
682
+ key: strSchema("team key, e.g. dev"),
683
+ name: strSchema(),
684
+ requires: {
685
+ type: "array",
686
+ items: { type: "string" },
687
+ description: 'capability keys, e.g. ["repo"]'
688
+ },
689
+ functions: {
690
+ type: "array",
691
+ items: { type: "string" },
692
+ description: "developer|tester|planner|communicator"
693
+ },
694
+ framework_key: strSchema()
695
+ }, ["key", "name"]),
696
+ call: async (args) => (await apiCall("POST", "/api/teams", args)).body
697
+ },
698
+ {
699
+ name: "polaris.team.update",
700
+ description: "Update a team (human-only): name, requires, functions, framework_key.",
701
+ inputSchema: objSchema({
702
+ key: strSchema("team key"),
703
+ name: strSchema(),
704
+ requires: { type: "array", items: { type: "string" } },
705
+ functions: { type: "array", items: { type: "string" } },
706
+ framework_key: strSchema()
707
+ }, ["key"]),
708
+ call: async (args) => {
709
+ const { key, ...patch } = args;
710
+ return (await apiCall("PATCH", `/api/teams/${key}`, patch)).body;
711
+ }
669
712
  }
670
713
  ];
671
714
  var TOOLS_BY_NAME = new Map(TOOLS.map((t) => [t.name, t]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glie/mcp-polaris",
3
- "version": "0.4.0",
3
+ "version": "0.5.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>",