@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/CHANGELOG.md +4 -0
- package/dist/ai-sdk.cjs +7 -7
- package/dist/ai-sdk.cjs.map +1 -1
- package/dist/ai-sdk.js +7 -7
- package/dist/ai-sdk.js.map +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/langchain.cjs +7 -7
- package/dist/langchain.cjs.map +1 -1
- package/dist/langchain.js +7 -7
- package/dist/langchain.js.map +1 -1
- package/dist/mastra.cjs +7 -7
- package/dist/mastra.cjs.map +1 -1
- package/dist/mastra.js +7 -7
- package/dist/mastra.js.map +1 -1
- package/dist/mcp.cjs +7 -7
- package/dist/mcp.cjs.map +1 -1
- package/dist/mcp.js +7 -7
- package/dist/mcp.js.map +1 -1
- package/dist/openai.cjs +7 -7
- package/dist/openai.cjs.map +1 -1
- package/dist/openai.js +7 -7
- package/dist/openai.js.map +1 -1
- package/package.json +1 -1
package/dist/mastra.cjs
CHANGED
|
@@ -198,8 +198,8 @@ var FindMeetingTimeSchema = import_zod.z.object({
|
|
|
198
198
|
});
|
|
199
199
|
var CreateConnectionLinkSchema = import_zod.z.object({
|
|
200
200
|
calendar_id: import_zod.z.string().startsWith("cal_").describe("Chronary calendar whose owning agent will receive authorized availability"),
|
|
201
|
-
capabilities: import_zod.z.array(import_zod.z.enum(["availability", "publishing"])).min(1).max(2).default(["availability"]).describe("Request opaque availability
|
|
202
|
-
publication_policy: import_zod.z.enum(["none", "confirmed", "confirmed_tentative"]).default("none").describe("Desired
|
|
201
|
+
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"),
|
|
202
|
+
publication_policy: import_zod.z.enum(["none", "confirmed", "confirmed_tentative"]).default("none").describe("Desired publishing policy; a human still chooses the destination")
|
|
203
203
|
});
|
|
204
204
|
var GetConnectionLinkSchema = import_zod.z.object({
|
|
205
205
|
connection_link_id: import_zod.z.string().startsWith("csl_").describe("Connection setup link ID")
|
|
@@ -867,35 +867,35 @@ var TOOL_DEFINITIONS = [
|
|
|
867
867
|
// ── Availability ───────────────────────────────────────────────
|
|
868
868
|
{
|
|
869
869
|
name: "get_availability",
|
|
870
|
-
description: "Check when a single agent is free across Chronary and
|
|
870
|
+
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.",
|
|
871
871
|
schema: GetAvailabilitySchema,
|
|
872
872
|
annotations: { title: "Get Availability", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
873
873
|
execute: createExecutor(getAvailability)
|
|
874
874
|
},
|
|
875
875
|
{
|
|
876
876
|
name: "find_meeting_time",
|
|
877
|
-
description: "Find
|
|
877
|
+
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.",
|
|
878
878
|
schema: FindMeetingTimeSchema,
|
|
879
879
|
annotations: { title: "Find Meeting Time", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
880
880
|
execute: createExecutor(findMeetingTime)
|
|
881
881
|
},
|
|
882
882
|
{
|
|
883
883
|
name: "create_connection_link",
|
|
884
|
-
description: "Request human setup of Google Calendar or Microsoft Outlook for a Chronary calendar. Give setup_url to a human;
|
|
884
|
+
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.",
|
|
885
885
|
schema: CreateConnectionLinkSchema,
|
|
886
886
|
annotations: { title: "Create Human Calendar Setup Link", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
|
|
887
887
|
execute: createExecutor(createConnectionLink)
|
|
888
888
|
},
|
|
889
889
|
{
|
|
890
890
|
name: "get_connection_link",
|
|
891
|
-
description: "Poll
|
|
891
|
+
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.",
|
|
892
892
|
schema: GetConnectionLinkSchema,
|
|
893
893
|
annotations: { title: "Get Human Calendar Setup Status", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
894
894
|
execute: createExecutor(getConnectionLink)
|
|
895
895
|
},
|
|
896
896
|
{
|
|
897
897
|
name: "cancel_connection_link",
|
|
898
|
-
description: "Cancel a pending human-calendar setup request
|
|
898
|
+
description: "Cancel a pending human-calendar setup request. This invalidates the setup URL and does not disconnect an already completed Google or Microsoft connection.",
|
|
899
899
|
schema: CancelConnectionLinkSchema,
|
|
900
900
|
annotations: { title: "Cancel Human Calendar Setup Link", readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false },
|
|
901
901
|
execute: createExecutor(cancelConnectionLink)
|