@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/CHANGELOG.md +8 -0
- package/dist/ai-sdk.cjs +8 -8
- package/dist/ai-sdk.cjs.map +1 -1
- package/dist/ai-sdk.js +8 -8
- package/dist/ai-sdk.js.map +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/langchain.cjs +8 -8
- package/dist/langchain.cjs.map +1 -1
- package/dist/langchain.js +8 -8
- package/dist/langchain.js.map +1 -1
- package/dist/mastra.cjs +8 -8
- package/dist/mastra.cjs.map +1 -1
- package/dist/mastra.js +8 -8
- package/dist/mastra.js.map +1 -1
- package/dist/mcp.cjs +8 -8
- package/dist/mcp.cjs.map +1 -1
- package/dist/mcp.js +8 -8
- package/dist/mcp.js.map +1 -1
- package/dist/openai.cjs +8 -8
- package/dist/openai.cjs.map +1 -1
- package/dist/openai.js +8 -8
- package/dist/openai.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -290,8 +290,8 @@ var FindMeetingTimeSchema = z.object({
|
|
|
290
290
|
});
|
|
291
291
|
var CreateConnectionLinkSchema = z.object({
|
|
292
292
|
calendar_id: z.string().startsWith("cal_").describe("Chronary calendar whose owning agent will receive authorized availability"),
|
|
293
|
-
capabilities: z.array(z.enum(["availability", "publishing"])).min(1).max(2).default(["availability"]).describe("Request opaque availability
|
|
294
|
-
publication_policy: z.enum(["none", "confirmed", "confirmed_tentative"]).default("none").describe("Desired
|
|
293
|
+
capabilities: z.array(z.enum(["availability", "publishing"])).min(1).max(2).default(["availability"]).describe("Request opaque availability, plus optional opt-in event publishing permission"),
|
|
294
|
+
publication_policy: z.enum(["none", "confirmed", "confirmed_tentative"]).default("none").describe("Desired publishing policy; a human still chooses the destination")
|
|
295
295
|
});
|
|
296
296
|
var GetConnectionLinkSchema = z.object({
|
|
297
297
|
connection_link_id: z.string().startsWith("csl_").describe("Connection setup link ID")
|
|
@@ -844,7 +844,7 @@ var TOOL_DEFINITIONS = [
|
|
|
844
844
|
// ── Booking pages ──────────────────────────────────────────────
|
|
845
845
|
{
|
|
846
846
|
name: "create_booking_page",
|
|
847
|
-
description: "Create a public booking page (
|
|
847
|
+
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.",
|
|
848
848
|
schema: CreateBookingPageSchema,
|
|
849
849
|
annotations: { title: "Create Booking Page", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false },
|
|
850
850
|
execute: createExecutor(createBookingPage)
|
|
@@ -959,35 +959,35 @@ var TOOL_DEFINITIONS = [
|
|
|
959
959
|
// ── Availability ───────────────────────────────────────────────
|
|
960
960
|
{
|
|
961
961
|
name: "get_availability",
|
|
962
|
-
description: "Check when a single agent is free across Chronary and
|
|
962
|
+
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.",
|
|
963
963
|
schema: GetAvailabilitySchema,
|
|
964
964
|
annotations: { title: "Get Availability", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
965
965
|
execute: createExecutor(getAvailability)
|
|
966
966
|
},
|
|
967
967
|
{
|
|
968
968
|
name: "find_meeting_time",
|
|
969
|
-
description: "Find
|
|
969
|
+
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.",
|
|
970
970
|
schema: FindMeetingTimeSchema,
|
|
971
971
|
annotations: { title: "Find Meeting Time", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
972
972
|
execute: createExecutor(findMeetingTime)
|
|
973
973
|
},
|
|
974
974
|
{
|
|
975
975
|
name: "create_connection_link",
|
|
976
|
-
description: "Request human setup of Google Calendar or Microsoft Outlook for a Chronary calendar. Give setup_url to a human;
|
|
976
|
+
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.",
|
|
977
977
|
schema: CreateConnectionLinkSchema,
|
|
978
978
|
annotations: { title: "Create Human Calendar Setup Link", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
|
|
979
979
|
execute: createExecutor(createConnectionLink)
|
|
980
980
|
},
|
|
981
981
|
{
|
|
982
982
|
name: "get_connection_link",
|
|
983
|
-
description: "Poll
|
|
983
|
+
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.",
|
|
984
984
|
schema: GetConnectionLinkSchema,
|
|
985
985
|
annotations: { title: "Get Human Calendar Setup Status", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
986
986
|
execute: createExecutor(getConnectionLink)
|
|
987
987
|
},
|
|
988
988
|
{
|
|
989
989
|
name: "cancel_connection_link",
|
|
990
|
-
description: "Cancel a pending human-calendar setup request
|
|
990
|
+
description: "Cancel a pending human-calendar setup request. This invalidates the setup URL and does not disconnect an already completed Google or Microsoft connection.",
|
|
991
991
|
schema: CancelConnectionLinkSchema,
|
|
992
992
|
annotations: { title: "Cancel Human Calendar Setup Link", readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false },
|
|
993
993
|
execute: createExecutor(cancelConnectionLink)
|