@chronary/toolkit 1.7.0 → 1.7.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 +4 -0
- package/dist/ai-sdk.cjs +4 -4
- package/dist/ai-sdk.cjs.map +1 -1
- package/dist/ai-sdk.js +4 -4
- package/dist/ai-sdk.js.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/{instructions-CQAfBjV3.d.cts → instructions-BJQzbMAM.d.cts} +1 -1
- package/dist/{instructions-CQAfBjV3.d.ts → instructions-BJQzbMAM.d.ts} +1 -1
- package/dist/langchain.cjs +4 -4
- package/dist/langchain.cjs.map +1 -1
- package/dist/langchain.js +4 -4
- package/dist/langchain.js.map +1 -1
- package/dist/mastra.cjs +4 -4
- package/dist/mastra.cjs.map +1 -1
- package/dist/mastra.js +4 -4
- package/dist/mastra.js.map +1 -1
- package/dist/mcp.cjs +7 -7
- package/dist/mcp.cjs.map +1 -1
- package/dist/mcp.d.cts +1 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +7 -7
- package/dist/mcp.js.map +1 -1
- package/dist/openai.cjs +4 -4
- package/dist/openai.cjs.map +1 -1
- package/dist/openai.js +4 -4
- package/dist/openai.js.map +1 -1
- package/package.json +2 -2
package/dist/mcp.cjs
CHANGED
|
@@ -1070,7 +1070,7 @@ var RAW_TOOL_DEFINITIONS = [
|
|
|
1070
1070
|
// ── Scheduling proposals ───────────────────────────────────────
|
|
1071
1071
|
{
|
|
1072
1072
|
name: "create_proposal",
|
|
1073
|
-
description: "Create a scheduling proposal \u2014 send a set of candidate time slots to one or more participant agents so they can accept, decline, or counter-propose. The organizer agent owns the proposal; once every participant responds, the system auto-resolves to the highest-scoring slot (or cancels if all decline). Requires an Organization key
|
|
1073
|
+
description: "Create a scheduling proposal \u2014 send a set of candidate time slots to one or more participant agents so they can accept, decline, or counter-propose. The organizer agent owns the proposal; once every participant responds, the system auto-resolves to the highest-scoring slot (or cancels if all decline). Requires an Organization key and a Developer or Pro plan.",
|
|
1074
1074
|
schema: CreateProposalSchema,
|
|
1075
1075
|
annotations: { title: "Create Proposal", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false },
|
|
1076
1076
|
execute: createExecutor(createProposal)
|
|
@@ -1091,21 +1091,21 @@ var RAW_TOOL_DEFINITIONS = [
|
|
|
1091
1091
|
},
|
|
1092
1092
|
{
|
|
1093
1093
|
name: "respond_to_proposal",
|
|
1094
|
-
description: 'Submit a response (accept / decline / counter) on behalf of one participant agent to an open proposal. An "accept" requires the slot id from the proposal; a "counter" can suggest alternative slots. When all participants have responded the proposal auto-resolves \u2014 no separate resolve call needed in the normal flow. Requires an Organization key
|
|
1094
|
+
description: 'Submit a response (accept / decline / counter) on behalf of one participant agent to an open proposal. An "accept" requires the slot id from the proposal; a "counter" can suggest alternative slots. When all participants have responded the proposal auto-resolves \u2014 no separate resolve call needed in the normal flow. Requires an Organization key and a Developer or Pro plan.',
|
|
1095
1095
|
schema: RespondToProposalSchema,
|
|
1096
1096
|
annotations: { title: "Respond To Proposal", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false },
|
|
1097
1097
|
execute: createExecutor(respondToProposal)
|
|
1098
1098
|
},
|
|
1099
1099
|
{
|
|
1100
1100
|
name: "resolve_proposal",
|
|
1101
|
-
description: 'Force-resolve an open proposal using responses collected so far. Picks the highest-scoring slot among those accepted by the most participants and creates a confirmed calendar event. If every response was "decline", the proposal is cancelled instead. Use when you want to close out a proposal without waiting for every participant. Requires an Organization key
|
|
1101
|
+
description: 'Force-resolve an open proposal using responses collected so far. Picks the highest-scoring slot among those accepted by the most participants and creates a confirmed calendar event. If every response was "decline", the proposal is cancelled instead. Use when you want to close out a proposal without waiting for every participant. Requires an Organization key and a Developer or Pro plan.',
|
|
1102
1102
|
schema: ResolveProposalSchema,
|
|
1103
1103
|
annotations: { title: "Resolve Proposal", readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
1104
1104
|
execute: createExecutor(resolveProposal)
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
1107
1107
|
name: "cancel_proposal",
|
|
1108
|
-
description: 'Cancel an open proposal. Fires a proposal.cancelled webhook with reason="organizer_cancelled". Requires an Organization key.
|
|
1108
|
+
description: 'Cancel an open proposal. Fires a proposal.cancelled webhook with reason="organizer_cancelled". Requires an Organization key. Works on every plan, so an org that dropped to Free can still cancel proposals it made on a paid plan.',
|
|
1109
1109
|
schema: CancelProposalSchema,
|
|
1110
1110
|
annotations: { title: "Cancel Proposal", readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false },
|
|
1111
1111
|
execute: createExecutor(cancelProposal)
|
|
@@ -1374,7 +1374,7 @@ Typical flow: create_agent -> create_calendar -> create_event / get_availability
|
|
|
1374
1374
|
|
|
1375
1375
|
When checking availability, always inspect availability_state and warnings before treating returned slots as complete. Human-calendar setup requires a human to open setup_url and consent; agents never receive provider credentials or calendar contents.
|
|
1376
1376
|
|
|
1377
|
-
Organization keys (chr_sk_) can use every tool; Agent keys (chr_ak_) are limited to their own agent and cannot use org-only tools such as create_agent or find_meeting_time. Scoped keys, cross-agent availability, webhook delivery replay and secret rotation require a Developer or Pro plan
|
|
1377
|
+
Organization keys (chr_sk_) can use every tool; Agent keys (chr_ak_) are limited to their own agent and cannot use org-only tools such as create_agent or find_meeting_time. Scoped keys, cross-agent availability, scheduling proposals, temporal holds, webhook delivery replay and secret rotation require a Developer or Pro plan.
|
|
1378
1378
|
|
|
1379
1379
|
If you hit a plan limit, don't retry in a loop: call get_billing, then request_upgrade, and give approval_url to your human. Agents cannot pay; a human completes checkout.
|
|
1380
1380
|
|
|
@@ -1397,8 +1397,8 @@ iCal feeds, and receive webhooks.
|
|
|
1397
1397
|
Organization keys (\`chr_sk_\`) can use every tool; Agent keys (\`chr_ak_\`) are
|
|
1398
1398
|
limited to their own agent and cannot use org-only tools such as
|
|
1399
1399
|
\`create_agent\` or \`find_meeting_time\`. Scoped keys, cross-agent availability,
|
|
1400
|
-
webhook delivery replay and secret
|
|
1401
|
-
|
|
1400
|
+
scheduling proposals, temporal holds, webhook delivery replay and secret
|
|
1401
|
+
rotation require a Developer or Pro plan.`;
|
|
1402
1402
|
var ChronaryToolkit = class extends ListToolkit {
|
|
1403
1403
|
constructor(config) {
|
|
1404
1404
|
super(config);
|