@glie/mcp-polaris 0.22.0 → 0.22.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -2
  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.22.0";
33
+ var VERSION = "0.22.2";
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 ?? "";
@@ -503,6 +503,8 @@ var TOOLS = [
503
503
  link_url: strSchema("mkt: WHERE THE PIECE SENDS THE READER \u2014 the full URL, tracking parameters already in " + "it. Required on a PAID piece: the network does not create an ad without a " + "destination, and the click leaves through the ad itself. On an organic piece it is " + "optional, because there the link travels in the body text."),
504
504
  output_type: strSchema("pr|post|video|email|generic \u2014 the delivery medium. Omit it: the format decides (reel/v\xEDdeo/short \u2192 video). Only pass it to override."),
505
505
  scheduled_date: strSchema("mkt: publish day (ISO date) \u2014 the calendar slot"),
506
+ publish_time: strSchema("mkt: the hour it publishes (HH:MM), when it is already known \u2014 needs scheduled_date and publish_tz"),
507
+ publish_tz: strSchema("mkt: whose clock publish_time is in (IANA zone, e.g. America/Sao_Paulo) \u2014 required with publish_time"),
506
508
  platform: strSchema("mkt: ad platform if this creative is individually paid"),
507
509
  asset_url: strSchema("mkt: URL of the produced creative asset (image/video) for the reviewer")
508
510
  }, ["name"]),
@@ -615,7 +617,7 @@ var TOOLS = [
615
617
  },
616
618
  {
617
619
  name: "polaris.task.unschedule",
618
- description: "Unschedule a mkt creative: agendado \u2192 approval. Refused once the post is live. The creative returns to approval for edits or re-scheduling.",
620
+ description: "Unschedule a mkt creative: agendado \u2192 release. Refused once the post is live. The creative is back where scheduling took it from \u2014 approved, ready to go out, no hour handed to the publisher \u2014 to edit, schedule again, or publish now. Its hour stays unless it has passed.",
619
621
  inputSchema: objSchema({ id: intSchema() }, ["id"]),
620
622
  call: async (args) => (await apiCall("POST", `/api/tasks/${args.id}/unschedule`)).body
621
623
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glie/mcp-polaris",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
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>",