@chronary/toolkit 1.5.1 → 1.5.3
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 +3 -3
package/dist/index.cjs
CHANGED
|
@@ -316,8 +316,8 @@ var FindMeetingTimeSchema = import_zod.z.object({
|
|
|
316
316
|
});
|
|
317
317
|
var CreateConnectionLinkSchema = import_zod.z.object({
|
|
318
318
|
calendar_id: import_zod.z.string().startsWith("cal_").describe("Chronary calendar whose owning agent will receive authorized availability"),
|
|
319
|
-
capabilities: import_zod.z.array(import_zod.z.enum(["availability", "publishing"])).min(1).max(2).default(["availability"]).describe("Request opaque availability
|
|
320
|
-
publication_policy: import_zod.z.enum(["none", "confirmed", "confirmed_tentative"]).default("none").describe("Desired
|
|
319
|
+
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"),
|
|
320
|
+
publication_policy: import_zod.z.enum(["none", "confirmed", "confirmed_tentative"]).default("none").describe("Desired publishing policy; a human still chooses the destination")
|
|
321
321
|
});
|
|
322
322
|
var GetConnectionLinkSchema = import_zod.z.object({
|
|
323
323
|
connection_link_id: import_zod.z.string().startsWith("csl_").describe("Connection setup link ID")
|
|
@@ -455,7 +455,7 @@ var SubscribeICalSchema = import_zod.z.object({
|
|
|
455
455
|
var UpdateICalSubscriptionSchema = import_zod.z.object({
|
|
456
456
|
subscription_id: import_zod.z.string().describe("iCal subscription ID to update"),
|
|
457
457
|
label: import_zod.z.string().min(1).max(255).optional().describe("New label for this subscription"),
|
|
458
|
-
url: import_zod.z.string().url().startsWith("https://", "URL must use HTTPS").optional().describe("New HTTPS URL of the iCal feed (.ics)")
|
|
458
|
+
url: import_zod.z.string().url().refine((u) => u.startsWith("https://"), "URL must use HTTPS").optional().describe("New HTTPS URL of the iCal feed (.ics)")
|
|
459
459
|
});
|
|
460
460
|
var DeleteICalSubscriptionSchema = import_zod.z.object({
|
|
461
461
|
subscription_id: import_zod.z.string().describe("iCal subscription ID to delete")
|
|
@@ -985,35 +985,35 @@ var TOOL_DEFINITIONS = [
|
|
|
985
985
|
// ── Availability ───────────────────────────────────────────────
|
|
986
986
|
{
|
|
987
987
|
name: "get_availability",
|
|
988
|
-
description: "Check when a single agent is free across Chronary and
|
|
988
|
+
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.",
|
|
989
989
|
schema: GetAvailabilitySchema,
|
|
990
990
|
annotations: { title: "Get Availability", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
991
991
|
execute: createExecutor(getAvailability)
|
|
992
992
|
},
|
|
993
993
|
{
|
|
994
994
|
name: "find_meeting_time",
|
|
995
|
-
description: "Find
|
|
995
|
+
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.",
|
|
996
996
|
schema: FindMeetingTimeSchema,
|
|
997
997
|
annotations: { title: "Find Meeting Time", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
998
998
|
execute: createExecutor(findMeetingTime)
|
|
999
999
|
},
|
|
1000
1000
|
{
|
|
1001
1001
|
name: "create_connection_link",
|
|
1002
|
-
description: "Request human setup of Google Calendar or Microsoft Outlook for a Chronary calendar. Give setup_url to a human;
|
|
1002
|
+
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.",
|
|
1003
1003
|
schema: CreateConnectionLinkSchema,
|
|
1004
1004
|
annotations: { title: "Create Human Calendar Setup Link", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
|
|
1005
1005
|
execute: createExecutor(createConnectionLink)
|
|
1006
1006
|
},
|
|
1007
1007
|
{
|
|
1008
1008
|
name: "get_connection_link",
|
|
1009
|
-
description: "Poll
|
|
1009
|
+
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.",
|
|
1010
1010
|
schema: GetConnectionLinkSchema,
|
|
1011
1011
|
annotations: { title: "Get Human Calendar Setup Status", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
1012
1012
|
execute: createExecutor(getConnectionLink)
|
|
1013
1013
|
},
|
|
1014
1014
|
{
|
|
1015
1015
|
name: "cancel_connection_link",
|
|
1016
|
-
description: "Cancel a pending human-calendar setup request
|
|
1016
|
+
description: "Cancel a pending human-calendar setup request. This invalidates the setup URL and does not disconnect an already completed Google or Microsoft connection.",
|
|
1017
1017
|
schema: CancelConnectionLinkSchema,
|
|
1018
1018
|
annotations: { title: "Cancel Human Calendar Setup Link", readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false },
|
|
1019
1019
|
execute: createExecutor(cancelConnectionLink)
|