@chronary/toolkit 1.5.0 → 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/mcp.cjs CHANGED
@@ -199,8 +199,8 @@ var FindMeetingTimeSchema = import_zod.z.object({
199
199
  });
200
200
  var CreateConnectionLinkSchema = import_zod.z.object({
201
201
  calendar_id: import_zod.z.string().startsWith("cal_").describe("Chronary calendar whose owning agent will receive authorized availability"),
202
- capabilities: import_zod.z.array(import_zod.z.enum(["availability", "publishing"])).min(1).max(2).default(["availability"]).describe("Request opaque availability and optional publishing permission"),
203
- publication_policy: import_zod.z.enum(["none", "confirmed", "confirmed_tentative"]).default("none").describe("Desired event publishing policy; a human still selects the destination")
202
+ capabilities: import_zod.z.array(import_zod.z.enum(["availability", "publishing"])).min(1).max(2).default(["availability"]).describe("Request opaque availability, plus optional opt-in event publishing permission"),
203
+ publication_policy: import_zod.z.enum(["none", "confirmed", "confirmed_tentative"]).default("none").describe("Desired publishing policy; a human still chooses the destination")
204
204
  });
205
205
  var GetConnectionLinkSchema = import_zod.z.object({
206
206
  connection_link_id: import_zod.z.string().startsWith("csl_").describe("Connection setup link ID")
@@ -753,7 +753,7 @@ var TOOL_DEFINITIONS = [
753
753
  // ── Booking pages ──────────────────────────────────────────────
754
754
  {
755
755
  name: "create_booking_page",
756
- description: "Create a public booking page (Calendly-style scheduling link) for a calendar. Returns a booking_url to send to a human; when they pick a slot, a confirmed event is created on the calendar and an event.created webhook fires with a booking_page_id field. Set availability_constraints to restrict to weekly working hours; existing calendar events always block slots.",
756
+ description: "Create a public booking page (a hosted scheduling link) for a calendar. Returns a booking_url to send to a human; when they pick a slot, a confirmed event is created on the calendar and an event.created webhook fires with a booking_page_id field. Set availability_constraints to restrict to weekly working hours; existing calendar events always block slots.",
757
757
  schema: CreateBookingPageSchema,
758
758
  annotations: { title: "Create Booking Page", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false },
759
759
  execute: createExecutor(createBookingPage)
@@ -868,35 +868,35 @@ var TOOL_DEFINITIONS = [
868
868
  // ── Availability ───────────────────────────────────────────────
869
869
  {
870
870
  name: "get_availability",
871
- 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.",
871
+ 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.",
872
872
  schema: GetAvailabilitySchema,
873
873
  annotations: { title: "Get Availability", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
874
874
  execute: createExecutor(getAvailability)
875
875
  },
876
876
  {
877
877
  name: "find_meeting_time",
878
- 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.",
878
+ 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.",
879
879
  schema: FindMeetingTimeSchema,
880
880
  annotations: { title: "Find Meeting Time", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
881
881
  execute: createExecutor(findMeetingTime)
882
882
  },
883
883
  {
884
884
  name: "create_connection_link",
885
- 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.",
885
+ 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.",
886
886
  schema: CreateConnectionLinkSchema,
887
887
  annotations: { title: "Create Human Calendar Setup Link", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
888
888
  execute: createExecutor(createConnectionLink)
889
889
  },
890
890
  {
891
891
  name: "get_connection_link",
892
- description: "Poll provider-neutral human-calendar setup status. The bearer setup URL and provider data are never returned by polling.",
892
+ 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.",
893
893
  schema: GetConnectionLinkSchema,
894
894
  annotations: { title: "Get Human Calendar Setup Status", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
895
895
  execute: createExecutor(getConnectionLink)
896
896
  },
897
897
  {
898
898
  name: "cancel_connection_link",
899
- description: "Cancel a pending human-calendar setup request and invalidate its setup URL.",
899
+ description: "Cancel a pending human-calendar setup request. This invalidates the setup URL and does not disconnect an already completed Google or Microsoft connection.",
900
900
  schema: CancelConnectionLinkSchema,
901
901
  annotations: { title: "Cancel Human Calendar Setup Link", readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false },
902
902
  execute: createExecutor(cancelConnectionLink)