@chronary/toolkit 1.7.0 → 1.7.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 +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 +8 -8
- 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 +8 -8
- 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 +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 +11 -11
- 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 +11 -11
- 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 +2 -2
package/dist/mastra.js
CHANGED
|
@@ -982,14 +982,14 @@ var RAW_TOOL_DEFINITIONS = [
|
|
|
982
982
|
},
|
|
983
983
|
{
|
|
984
984
|
name: "update_agent",
|
|
985
|
-
description: "Update an agent's name, description, metadata, or status (active/paused). Requires an Organization key \u2014 Agent keys cannot mutate agents.",
|
|
985
|
+
description: "Update an agent's name, description, metadata, or status (active/paused). Setting status on a decommissioned agent restores it and makes its calendars writable again; that is refused with quota_exceeded when the agent, its calendars or their recurring series would put the organization over the plan's agent, calendar or recurring series limit. Requires an Organization key \u2014 Agent keys cannot mutate agents.",
|
|
986
986
|
schema: UpdateAgentSchema,
|
|
987
987
|
annotations: { title: "Update Agent", readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
988
988
|
execute: createExecutor(updateAgent)
|
|
989
989
|
},
|
|
990
990
|
{
|
|
991
991
|
name: "delete_agent",
|
|
992
|
-
description: "Decommission an agent. This marks the agent as decommissioned and revokes all of its Agent keys. Requires an Organization key \u2014 Agent keys cannot delete agents.",
|
|
992
|
+
description: "Decommission an agent. This marks the agent as decommissioned and revokes all of its Agent keys. Its calendars and events are kept but stop counting toward the plan's calendar limit, and they are read-only (writes return agent_inactive) until the agent is restored with update_agent. Requires an Organization key \u2014 Agent keys cannot delete agents.",
|
|
993
993
|
schema: DeleteAgentSchema,
|
|
994
994
|
annotations: { title: "Delete Agent", readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false },
|
|
995
995
|
execute: createExecutor(deleteAgent)
|
|
@@ -1042,7 +1042,7 @@ var RAW_TOOL_DEFINITIONS = [
|
|
|
1042
1042
|
// ── Scheduling proposals ───────────────────────────────────────
|
|
1043
1043
|
{
|
|
1044
1044
|
name: "create_proposal",
|
|
1045
|
-
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
|
|
1045
|
+
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.",
|
|
1046
1046
|
schema: CreateProposalSchema,
|
|
1047
1047
|
annotations: { title: "Create Proposal", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false },
|
|
1048
1048
|
execute: createExecutor(createProposal)
|
|
@@ -1063,21 +1063,21 @@ var RAW_TOOL_DEFINITIONS = [
|
|
|
1063
1063
|
},
|
|
1064
1064
|
{
|
|
1065
1065
|
name: "respond_to_proposal",
|
|
1066
|
-
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
|
|
1066
|
+
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.',
|
|
1067
1067
|
schema: RespondToProposalSchema,
|
|
1068
1068
|
annotations: { title: "Respond To Proposal", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false },
|
|
1069
1069
|
execute: createExecutor(respondToProposal)
|
|
1070
1070
|
},
|
|
1071
1071
|
{
|
|
1072
1072
|
name: "resolve_proposal",
|
|
1073
|
-
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
|
|
1073
|
+
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.',
|
|
1074
1074
|
schema: ResolveProposalSchema,
|
|
1075
1075
|
annotations: { title: "Resolve Proposal", readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
1076
1076
|
execute: createExecutor(resolveProposal)
|
|
1077
1077
|
},
|
|
1078
1078
|
{
|
|
1079
1079
|
name: "cancel_proposal",
|
|
1080
|
-
description: 'Cancel an open proposal. Fires a proposal.cancelled webhook with reason="organizer_cancelled". Requires an Organization key.
|
|
1080
|
+
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.',
|
|
1081
1081
|
schema: CancelProposalSchema,
|
|
1082
1082
|
annotations: { title: "Cancel Proposal", readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false },
|
|
1083
1083
|
execute: createExecutor(cancelProposal)
|
|
@@ -1290,7 +1290,7 @@ var RAW_TOOL_DEFINITIONS = [
|
|
|
1290
1290
|
},
|
|
1291
1291
|
{
|
|
1292
1292
|
name: "request_upgrade",
|
|
1293
|
-
description: "Ask your human to upgrade this Chronary account to Pro. Returns approval_url \u2014 give it to your human; only a human can pay. If reused=true a request is already pending \u2014 do not call again; poll get_upgrade_request at most once a minute. The link opens the Billing page in the Chronary console.",
|
|
1293
|
+
description: "Ask your human to upgrade this Chronary account to the next plan up (Free to Developer, Developer to Pro). Returns approval_url \u2014 give it to your human; only a human can pay. If reused=true a request is already pending \u2014 do not call again; poll get_upgrade_request at most once a minute. The link opens the Billing page in the Chronary console.",
|
|
1294
1294
|
schema: RequestUpgradeSchema,
|
|
1295
1295
|
annotations: { title: "Request Upgrade", readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
1296
1296
|
execute: createExecutor(requestUpgrade)
|