@chronary/toolkit 1.5.1 → 1.5.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.
package/dist/mastra.js CHANGED
@@ -172,8 +172,8 @@ var FindMeetingTimeSchema = z.object({
172
172
  });
173
173
  var CreateConnectionLinkSchema = z.object({
174
174
  calendar_id: z.string().startsWith("cal_").describe("Chronary calendar whose owning agent will receive authorized availability"),
175
- capabilities: z.array(z.enum(["availability", "publishing"])).min(1).max(2).default(["availability"]).describe("Request opaque availability and optional publishing permission"),
176
- publication_policy: z.enum(["none", "confirmed", "confirmed_tentative"]).default("none").describe("Desired event publishing policy; a human still selects the destination")
175
+ capabilities: z.array(z.enum(["availability", "publishing"])).min(1).max(2).default(["availability"]).describe("Request opaque availability, plus optional opt-in event publishing permission"),
176
+ publication_policy: z.enum(["none", "confirmed", "confirmed_tentative"]).default("none").describe("Desired publishing policy; a human still chooses the destination")
177
177
  });
178
178
  var GetConnectionLinkSchema = z.object({
179
179
  connection_link_id: z.string().startsWith("csl_").describe("Connection setup link ID")
@@ -841,35 +841,35 @@ var TOOL_DEFINITIONS = [
841
841
  // ── Availability ───────────────────────────────────────────────
842
842
  {
843
843
  name: "get_availability",
844
- description: "Check when a single agent is free across Chronary and authorized human calendars. This tool is fail-closed: always inspect availability_state and warnings before using slots.",
844
+ description: "Check when a single agent is free across its Chronary calendars and any human calendars authorized for that agent. This tool is fail-closed: always inspect `availability_state` and `warnings` before using slots. Accepts `start`/`end` or the `start_time`/`end_time` aliases.",
845
845
  schema: GetAvailabilitySchema,
846
846
  annotations: { title: "Get Availability", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
847
847
  execute: createExecutor(getAvailability)
848
848
  },
849
849
  {
850
850
  name: "find_meeting_time",
851
- description: "Find time when multiple agents are free across Chronary and their authorized human calendars. This tool is fail-closed: always inspect availability_state and warnings before using slots.",
851
+ description: "Find slots when multiple agents are free across Chronary calendars and any human calendars authorized for each agent. This tool is fail-closed: always inspect `availability_state` and `warnings` before using slots. Accepts `agents`/`start`/`end` or their aliases.",
852
852
  schema: FindMeetingTimeSchema,
853
853
  annotations: { title: "Find Meeting Time", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
854
854
  execute: createExecutor(findMeetingTime)
855
855
  },
856
856
  {
857
857
  name: "create_connection_link",
858
- description: "Request human setup of Google Calendar or Microsoft Outlook for a Chronary calendar. Give setup_url to a human; agents never receive provider credentials or event data. The secret URL is returned only once.",
858
+ description: "Request human setup of Google Calendar or Microsoft Outlook for a Chronary calendar. Give setup_url to a human; the agent never receives OAuth credentials, provider calendar names, or event data. The secret URL is returned only on first creation. If reused=true and setup_url is null, retain the original URL or cancel this link and create a replacement.",
859
859
  schema: CreateConnectionLinkSchema,
860
860
  annotations: { title: "Create Human Calendar Setup Link", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
861
861
  execute: createExecutor(createConnectionLink)
862
862
  },
863
863
  {
864
864
  name: "get_connection_link",
865
- description: "Poll provider-neutral human-calendar setup status. The bearer setup URL and provider data are never returned by polling.",
865
+ description: "Poll a human-calendar setup request. Returns provider-neutral status and resulting connection ID when complete, but never replays the bearer setup URL or exposes human calendar data.",
866
866
  schema: GetConnectionLinkSchema,
867
867
  annotations: { title: "Get Human Calendar Setup Status", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
868
868
  execute: createExecutor(getConnectionLink)
869
869
  },
870
870
  {
871
871
  name: "cancel_connection_link",
872
- description: "Cancel a pending human-calendar setup request and invalidate its setup URL.",
872
+ description: "Cancel a pending human-calendar setup request. This invalidates the setup URL and does not disconnect an already completed Google or Microsoft connection.",
873
873
  schema: CancelConnectionLinkSchema,
874
874
  annotations: { title: "Cancel Human Calendar Setup Link", readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false },
875
875
  execute: createExecutor(cancelConnectionLink)