@chronary/toolkit 1.5.3 → 1.6.1
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 +22 -0
- package/README.md +2 -2
- package/dist/ai-sdk.cjs +291 -62
- package/dist/ai-sdk.cjs.map +1 -1
- package/dist/ai-sdk.d.cts +1 -1
- package/dist/ai-sdk.d.ts +1 -1
- package/dist/ai-sdk.js +291 -62
- package/dist/ai-sdk.js.map +1 -1
- package/dist/{base-DuHHyh4Q.d.cts → base-BL0efzXv.d.cts} +11 -3
- package/dist/{base-DuHHyh4Q.d.ts → base-BL0efzXv.d.ts} +11 -3
- package/dist/index.cjs +336 -64
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +230 -6
- package/dist/index.d.ts +230 -6
- package/dist/index.js +331 -63
- package/dist/index.js.map +1 -1
- package/dist/instructions-CQAfBjV3.d.cts +10 -0
- package/dist/instructions-CQAfBjV3.d.ts +10 -0
- package/dist/langchain.cjs +290 -61
- package/dist/langchain.cjs.map +1 -1
- package/dist/langchain.d.cts +3 -2
- package/dist/langchain.d.ts +3 -2
- package/dist/langchain.js +290 -61
- package/dist/langchain.js.map +1 -1
- package/dist/mastra.cjs +291 -62
- package/dist/mastra.cjs.map +1 -1
- package/dist/mastra.d.cts +3 -2
- package/dist/mastra.d.ts +3 -2
- package/dist/mastra.js +291 -62
- package/dist/mastra.js.map +1 -1
- package/dist/mcp.cjs +313 -68
- package/dist/mcp.cjs.map +1 -1
- package/dist/mcp.d.cts +4 -2
- package/dist/mcp.d.ts +4 -2
- package/dist/mcp.js +311 -67
- package/dist/mcp.js.map +1 -1
- package/dist/openai.cjs +290 -61
- package/dist/openai.cjs.map +1 -1
- package/dist/openai.d.cts +3 -2
- package/dist/openai.d.ts +3 -2
- package/dist/openai.js +290 -61
- package/dist/openai.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@chronary/toolkit` will be documented in this file starting with the soft-launch release.
|
|
4
4
|
|
|
5
|
+
## Unreleased
|
|
6
|
+
|
|
7
|
+
- Static MCP instructions and tool descriptions now use the Developer-plan wording: scoped keys, cross-agent availability, webhook delivery replay and secret rotation require a Developer or Pro plan; scheduling proposals and temporal holds stay Pro.
|
|
8
|
+
|
|
9
|
+
## 1.6.1 — 2026-11-09
|
|
10
|
+
|
|
11
|
+
- Tool input schemas now carry the API's length limits: event `description` at most 10,000 characters, agent `description` at most 5,000, webhook and iCal subscription `url` at most 2,048, and calendar `timezone` at most 64 (#1672).
|
|
12
|
+
|
|
13
|
+
## 1.6.0 — 2026-10-19
|
|
14
|
+
|
|
15
|
+
- Add `get_billing`, `request_upgrade`, `get_upgrade_request` and `cancel_upgrade_request` tools (58 tools total) so an agent can ask its human to upgrade when it hits a plan limit (#1129).
|
|
16
|
+
- Tool errors are now structured objects (`{error, message, upgrade_url?, docs_url?, required_plan?, feature?, metric?, limit?}`) instead of a flattened string. The AI SDK and Mastra adapters throw an `Error` whose message is that JSON.
|
|
17
|
+
- Add the `org.plan_changed` webhook event type: fires once when the account's plan changes, so agents don't have to poll billing (#1130).
|
|
18
|
+
- Add the `calendar_connection.reauthorization_required` webhook event type: fires once when a connected human calendar stops accepting access, so agents learn their availability now fails closed (#1196).
|
|
19
|
+
- Add the `get_webhook_delivery` tool (59 tools total): one webhook delivery with every attempt's HTTP status, duration, response body prefix and error code (#1200).
|
|
20
|
+
- `list_webhook_deliveries` takes `event_type` (exact, or a prefix ending in a dot such as `event.`), `created_after`, `created_before`, `delivery_id`, `is_test` and `cursor`, and its `status` filter gains `dropped` (a Free-plan delivery the monthly limit stopped) (#1200).
|
|
21
|
+
- Add the `send_test_webhook` tool (63 tools total): sends a signed sample event to a webhook endpoint once, quota-exempt, with the `X-Chronary-Test: 1` header (#1200).
|
|
22
|
+
- Add the `list_org_events` tool (64 tools total): events across all of the organization's calendars in one call, filtered by calendars, agent, window, status and source, with case-insensitive title search inside a window of at most 31 days (#1202).
|
|
23
|
+
- Add the `replay_webhook_delivery` tool (65 tools total, Pro): sends a failed or dropped webhook delivery again as a new delivery, with an `X-Chronary-Replay-Of` header naming the original. It counts toward the monthly delivery quota (#588).
|
|
24
|
+
- Results of `list_events`, `list_org_events`, `get_event`, `update_event`, `cancel_event`, `confirm_event` and `get_calendar_context` start with `untrusted_fields: ["title", "description", "metadata"]`, and those of `list_webhook_deliveries` and `get_webhook_delivery` with `untrusted_fields: ["payload", "response_body"]`: fields that may hold text written outside the org (a booking-page booker, a webhook receiver), which the model must treat as data. New exports: `MCP_SERVER_INSTRUCTIONS` (also from `@chronary/toolkit/mcp`), `EVENT_UNTRUSTED_FIELDS`, `WEBHOOK_DELIVERY_UNTRUSTED_FIELDS`, `withUntrustedFields`, and `ToolDefinition.untrustedFields` (#1621).
|
|
25
|
+
- Annotations: `create_webhook`, `update_webhook` and `update_ical_subscription` set `openWorldHint: true` (they make Chronary contact a URL you supply), and `update_webhook` sets `destructiveHint: true`. They now match the hosted MCP server exactly (#1662).
|
|
26
|
+
|
|
5
27
|
## 1.5.3 — 2026-10-18
|
|
6
28
|
|
|
7
29
|
- `update_ical_subscription`: the `url` parameter's JSON Schema declares `format: "uri"` again. Under zod 4, the HTTPS `.startsWith()` check had replaced it with a non-standard `starts_with`. Validation is unchanged, and there are still 54 tools (#1117).
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @chronary/toolkit
|
|
2
2
|
|
|
3
|
-
AI-agent framework adapters for [Chronary](https://chronary.ai) —
|
|
3
|
+
AI-agent framework adapters for [Chronary](https://chronary.ai) — 65 calendar tools usable directly by Vercel AI SDK, LangChain, Mastra, OpenAI function calling, and MCP clients.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -101,7 +101,7 @@ your agent code
|
|
|
101
101
|
api.chronary.ai (REST)
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
Every adapter produces the same
|
|
104
|
+
Every adapter produces the same 65 calendar tools in the format the target framework expects. Tool definitions live in [`src/definitions.ts`](./src/definitions.ts); Zod schemas are in [`src/schemas.ts`](./src/schemas.ts).
|
|
105
105
|
|
|
106
106
|
## Documentation
|
|
107
107
|
|