@workhive/agent 0.3.1 → 0.4.0

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @workhive/agent
2
2
 
3
- Connect an AI agent to your Workhive account. Seven tools, one to one with the Workhive REST API. Reads, plus comments. No texting, no stage moves.
3
+ Connect an AI agent to your Workhive account. Eight tools, one to one with the Workhive REST API. Reads, plus comments. No texting, no stage moves.
4
4
 
5
5
  | Tool | What it does |
6
6
  | --- | --- |
@@ -11,6 +11,7 @@ Connect an AI agent to your Workhive account. Seven tools, one to one with the W
11
11
  | `add_comment` | A plain-text comment on a lead, only when you ask for one. |
12
12
  | `get_numbers` | Your My numbers sheet for a week, month or custom dates: leads, consults booked and held, invites, won, close rate, speed to lead, lost, still open. Gym companies, owners and admins only. |
13
13
  | `get_list` | The people behind any of those numbers, the same rows as the Reports page and its CSV, a page at a time. |
14
+ | `list_meetings` | The calendar: meetings and group classes for today, tomorrow, this week, next week or custom dates, narrowed by kind, event type or host. Admins and managers see everyone's; anyone else only their own. |
14
15
 
15
16
  The easiest path needs nothing from this package: Workhive runs a remote MCP server and your agent signs in with OAuth.
16
17
 
@@ -40,6 +41,8 @@ For an agent that runs on its own and cannot open a browser. Create a key in Wor
40
41
 
41
42
  That is a Claude Desktop `claude_desktop_config.json` entry; other stdio hosts take the same command and env. On start the package fetches the current tool catalog from Workhive and prints one line saying which version it loaded.
42
43
 
44
+ On 0.3.x? It keeps its seven tools until you update to 0.4.0: an older client refuses an eight-tool catalog and falls back to its built-in list, so nothing breaks — it just cannot see `list_meetings` until you update.
45
+
43
46
  ## Environment
44
47
 
45
48
  | Variable | Required | Notes |
@@ -0,0 +1,15 @@
1
+ import type { JsonSchemaProperty } from './catalog.js';
2
+ /**
3
+ * The tools' input schemas, apart from the catalog's shape and its tool list so `catalog.ts` stays
4
+ * readable and under the file limit (review M1, 2026-11-15). Each constant is one tool's arguments,
5
+ * or the Reports vocabulary a list's filters are drawn from.
6
+ */
7
+ export declare const ORG_ID: JsonSchemaProperty;
8
+ export declare const LEAD_ID: JsonSchemaProperty;
9
+ export declare const LIST_LEAD_QUERY: readonly ["search", "status", "stalled", "stalled_days", "created_from", "created_to", "booking", "page", "limit"];
10
+ /** The one place the get_list arguments are listed: the serializer's order, then this route's paging. */
11
+ export declare const GET_LIST_QUERY: readonly ["list", "came_in", "consult", "showed_up", "won", "lost", "invited", "booked_on", "source", "campaign", "stage", "owner", "host", "outcome", "reason", "how", "archived", "self_started", "wait", "reached", "after_hours", "group", "per", "cols", "page", "limit"];
12
+ export declare const GET_LIST_PROPERTIES: Record<string, JsonSchemaProperty>;
13
+ /** The calendar route's query keys, forwarded in this order. */
14
+ export declare const LIST_MEETINGS_QUERY: readonly ["when", "from", "to", "kind", "type", "host", "include_cancelled", "guest_contact", "page", "limit"];
15
+ export declare const LIST_MEETINGS_PROPERTIES: Record<string, JsonSchemaProperty>;
@@ -0,0 +1,122 @@
1
+ /**
2
+ * The tools' input schemas, apart from the catalog's shape and its tool list so `catalog.ts` stays
3
+ * readable and under the file limit (review M1, 2026-11-15). Each constant is one tool's arguments,
4
+ * or the Reports vocabulary a list's filters are drawn from.
5
+ */
6
+ export const ORG_ID = {
7
+ type: 'string',
8
+ description: 'Organization UUID from list_orgs. Never guess. Optional when WORKHIVE_ORG_ID is set.',
9
+ };
10
+ export const LEAD_ID = {
11
+ type: 'string',
12
+ description: 'Lead UUID (pipeline_cards.id)',
13
+ };
14
+ export const LIST_LEAD_QUERY = [
15
+ 'search', 'status', 'stalled', 'stalled_days', 'created_from', 'created_to', 'booking', 'page', 'limit',
16
+ ];
17
+ const LIST_SOURCE = {
18
+ type: 'array',
19
+ items: { type: 'string', enum: ['meta', 'website', 'team', 'google_ads', 'other'] },
20
+ description: 'values from choices.source',
21
+ };
22
+ /** A column filter's free values, as the Reports header menu offers them. */
23
+ function freeValues(key) {
24
+ return { type: 'array', items: { type: 'string' }, description: `values from choices.${key}` };
25
+ }
26
+ /** The presets a date column takes, in the Reports header menu's order. */
27
+ const DAY_PRESETS = 'today, this_week, this_month, last_month, last_30_days, last_90_days, this_year, all';
28
+ /**
29
+ * A date column's range: a rolling preset (stored by name, resolved on every open) or fixed local
30
+ * days, and — on the columns that have them — the blank or history values after it.
31
+ */
32
+ function dateRange(key) {
33
+ const presets = key === 'showed_up' ? `${DAY_PRESETS}, two_weeks_to_three_months` : DAY_PRESETS;
34
+ return {
35
+ type: 'array',
36
+ items: { type: 'string' },
37
+ description: `A range on the ${key} column: one of ${presets}, or YYYY-MM-DD..YYYY-MM-DD in the org time zone; plus values from choices.${key}.`,
38
+ };
39
+ }
40
+ /** One column's fixed vocabulary, read from the words its menu shows. */
41
+ function valuesOf(key, values) {
42
+ return { type: 'array', items: { type: 'string', enum: [...values] }, description: `values from choices.${key}` };
43
+ }
44
+ /** Every date column a list offers, in the URL's order (the serializer's own). */
45
+ const LIST_DATES = [
46
+ 'came_in', 'consult', 'showed_up', 'won', 'lost', 'invited', 'booked_on',
47
+ ];
48
+ /** Every value filter a list takes, in the URL's order. */
49
+ const LIST_FILTERS = [
50
+ 'source', 'campaign', 'stage', 'owner', 'host', 'outcome', 'reason', 'how', 'archived',
51
+ 'self_started', 'wait', 'reached', 'after_hours',
52
+ ];
53
+ /** The one place the get_list arguments are listed: the serializer's order, then this route's paging. */
54
+ export const GET_LIST_QUERY = [
55
+ 'list', ...LIST_DATES, ...LIST_FILTERS, 'group', 'per', 'cols', 'page', 'limit',
56
+ ];
57
+ /** The enumerated filters: the parser keeps exactly these, and drops anything else. */
58
+ const FILTER_VALUES = {
59
+ source: LIST_SOURCE,
60
+ outcome: valuesOf('outcome', ['happened', 'needs_outcome', 'didnt_happen', 'ahead']),
61
+ wait: valuesOf('wait', ['under5', 'to60', 'to24h', 'over_day', 'not_yet']),
62
+ reached: valuesOf('reached', ['call', 'reply', 'not_yet']),
63
+ how: valuesOf('how', ['invite', 'hand']),
64
+ archived: valuesOf('archived', ['yes', 'no']),
65
+ self_started: valuesOf('self_started', ['yes', 'no']),
66
+ after_hours: valuesOf('after_hours', ['yes', 'no', 'none']),
67
+ };
68
+ /** A filter property: its fixed vocabulary where it has one, free values where it takes any. */
69
+ function filterProperty(key) {
70
+ return FILTER_VALUES[key] ?? freeValues(key);
71
+ }
72
+ /** Every column property, date columns and value filters alike (a shared key reads as a date). */
73
+ const FILTER_PROPERTIES = Object.fromEntries([
74
+ ...LIST_DATES.map((key) => [key, dateRange(key)]),
75
+ ...LIST_FILTERS.map((key) => [key, filterProperty(key)]),
76
+ ]);
77
+ export const GET_LIST_PROPERTIES = {
78
+ org_id: ORG_ID,
79
+ list: {
80
+ type: 'string',
81
+ enum: ['leads', 'consults', 'invites', 'won', 'lost', 'still_open', 'speed'],
82
+ description: 'Which Reports view to open.',
83
+ },
84
+ group: {
85
+ type: 'string',
86
+ enum: ['source', 'wait'],
87
+ description: 'Group the rows into sections: where they came from, or wait (cards lists only).',
88
+ },
89
+ per: { type: 'string', enum: ['deal'], description: 'One row per deal, not per consult (consults only)' },
90
+ ...FILTER_PROPERTIES,
91
+ page: { type: 'integer', minimum: 1 },
92
+ limit: { type: 'integer', minimum: 1, maximum: 100 },
93
+ };
94
+ /** The calendar route's query keys, forwarded in this order. */
95
+ export const LIST_MEETINGS_QUERY = [
96
+ 'when', 'from', 'to', 'kind', 'type', 'host', 'include_cancelled', 'guest_contact', 'page', 'limit',
97
+ ];
98
+ export const LIST_MEETINGS_PROPERTIES = {
99
+ org_id: ORG_ID,
100
+ when: {
101
+ type: 'string',
102
+ enum: ['today', 'tomorrow', 'this_week', 'next_week', 'custom'],
103
+ description: 'Defaults to today',
104
+ },
105
+ from: { type: 'string', description: 'YYYY-MM-DD in org timezone; custom only, up to 31 days' },
106
+ to: { type: 'string', description: 'YYYY-MM-DD in org timezone; custom only, up to 31 days' },
107
+ kind: {
108
+ type: 'array',
109
+ items: { type: 'string', enum: ['sales', 'service', 'class', 'other'] },
110
+ description: 'values from choices.kind',
111
+ },
112
+ type: freeValues('type'),
113
+ host: { type: 'array', items: { type: 'string' }, description: 'values from choices.host; host also takes me' },
114
+ include_cancelled: { type: 'string', enum: ['true', 'false'], description: 'Defaults to false' },
115
+ guest_contact: {
116
+ type: 'string',
117
+ enum: ['true', 'false'],
118
+ description: "Defaults to true; false leaves the guest's email and phone out",
119
+ },
120
+ page: { type: 'integer', minimum: 1 },
121
+ limit: { type: 'integer', minimum: 1, maximum: 200 },
122
+ };
package/dist/catalog.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export type AgentToolName = 'list_orgs' | 'list_leads' | 'get_lead' | 'lead_report' | 'add_comment' | 'get_numbers' | 'get_list';
1
+ export type AgentToolName = 'list_orgs' | 'list_leads' | 'get_lead' | 'lead_report' | 'add_comment' | 'get_numbers' | 'get_list' | 'list_meetings';
2
2
  /** A single value, or a list of allowed values for a column filter (any of them matches). */
3
3
  export type JsonSchemaProperty = {
4
4
  type: 'string' | 'integer';
@@ -37,7 +37,7 @@ export type AgentCatalog = {
37
37
  tools: readonly AgentToolSpec[];
38
38
  };
39
39
  export declare const TOOL_NAMES: readonly AgentToolName[];
40
- export declare const CATALOG_VERSION = "2026-10-28";
40
+ export declare const CATALOG_VERSION = "2026-11-15";
41
41
  export declare const AGENT_CATALOG: AgentCatalog;
42
- /** Accepts only a full seven-tool catalog of the shape this package understands. */
42
+ /** Accepts only a full eight-tool catalog of the shape this package understands. */
43
43
  export declare function parseCatalog(value: unknown): AgentCatalog | null;
package/dist/catalog.js CHANGED
@@ -1,93 +1,10 @@
1
+ import { GET_LIST_PROPERTIES, GET_LIST_QUERY, LEAD_ID, LIST_LEAD_QUERY, LIST_MEETINGS_PROPERTIES, LIST_MEETINGS_QUERY, ORG_ID, } from './catalog-schemas.js';
1
2
  import { RULES_VERSION, renderInstructions, renderToolDescription } from './rules.js';
2
3
  export const TOOL_NAMES = [
3
- 'list_orgs', 'list_leads', 'get_lead', 'lead_report', 'add_comment', 'get_numbers', 'get_list',
4
+ 'list_orgs', 'list_leads', 'get_lead', 'lead_report',
5
+ 'add_comment', 'get_numbers', 'get_list', 'list_meetings',
4
6
  ];
5
7
  export const CATALOG_VERSION = RULES_VERSION;
6
- const ORG_ID = {
7
- type: 'string',
8
- description: 'Organization UUID from list_orgs. Never guess. Optional when WORKHIVE_ORG_ID is set.',
9
- };
10
- const LEAD_ID = { type: 'string', description: 'Lead UUID (pipeline_cards.id)' };
11
- const LIST_LEAD_QUERY = [
12
- 'search', 'status', 'stalled', 'stalled_days', 'created_from', 'created_to', 'booking', 'page', 'limit',
13
- ];
14
- const LIST_SOURCE = {
15
- type: 'array',
16
- items: { type: 'string', enum: ['meta', 'website', 'team', 'google_ads', 'other'] },
17
- description: 'values from choices.source',
18
- };
19
- /** A column filter's free values, as the Reports header menu offers them. */
20
- function freeValues(key) {
21
- return { type: 'array', items: { type: 'string' }, description: `values from choices.${key}` };
22
- }
23
- /** The presets a date column takes, in the Reports header menu's order. */
24
- const DAY_PRESETS = 'today, this_week, this_month, last_month, last_30_days, last_90_days, this_year, all';
25
- /**
26
- * A date column's range: a rolling preset (stored by name, resolved on every open) or fixed local
27
- * days, and — on the columns that have them — the blank or history values after it.
28
- */
29
- function dateRange(key) {
30
- const presets = key === 'showed_up' ? `${DAY_PRESETS}, two_weeks_to_three_months` : DAY_PRESETS;
31
- return {
32
- type: 'array',
33
- items: { type: 'string' },
34
- description: `A range on the ${key} column: one of ${presets}, or YYYY-MM-DD..YYYY-MM-DD in the org time zone; plus values from choices.${key}.`,
35
- };
36
- }
37
- /** One column's fixed vocabulary, read from the words its menu shows. */
38
- function valuesOf(key, values) {
39
- return { type: 'array', items: { type: 'string', enum: [...values] }, description: `values from choices.${key}` };
40
- }
41
- /** Every date column a list offers, in the URL's order (the serializer's own). */
42
- const LIST_DATES = [
43
- 'came_in', 'consult', 'showed_up', 'won', 'lost', 'invited', 'booked_on',
44
- ];
45
- /** Every value filter a list takes, in the URL's order. */
46
- const LIST_FILTERS = [
47
- 'source', 'campaign', 'stage', 'owner', 'host', 'outcome', 'reason', 'how', 'archived',
48
- 'self_started', 'wait', 'reached', 'after_hours',
49
- ];
50
- /** The one place the get_list arguments are listed: the serializer's order, then this route's paging. */
51
- const GET_LIST_QUERY = [
52
- 'list', ...LIST_DATES, ...LIST_FILTERS, 'group', 'per', 'cols', 'page', 'limit',
53
- ];
54
- /** The enumerated filters: the parser keeps exactly these, and drops anything else. */
55
- const FILTER_VALUES = {
56
- source: LIST_SOURCE,
57
- outcome: valuesOf('outcome', ['happened', 'needs_outcome', 'didnt_happen', 'ahead']),
58
- wait: valuesOf('wait', ['under5', 'to60', 'to24h', 'over_day', 'not_yet']),
59
- reached: valuesOf('reached', ['call', 'reply', 'not_yet']),
60
- how: valuesOf('how', ['invite', 'hand']),
61
- archived: valuesOf('archived', ['yes', 'no']),
62
- self_started: valuesOf('self_started', ['yes', 'no']),
63
- after_hours: valuesOf('after_hours', ['yes', 'no', 'none']),
64
- };
65
- /** A filter property: its fixed vocabulary where it has one, free values where it takes any. */
66
- function filterProperty(key) {
67
- return FILTER_VALUES[key] ?? freeValues(key);
68
- }
69
- /** Every column property, date columns and value filters alike (a shared key reads as a date). */
70
- const FILTER_PROPERTIES = Object.fromEntries([
71
- ...LIST_DATES.map((key) => [key, dateRange(key)]),
72
- ...LIST_FILTERS.map((key) => [key, filterProperty(key)]),
73
- ]);
74
- const GET_LIST_PROPERTIES = {
75
- org_id: ORG_ID,
76
- list: {
77
- type: 'string',
78
- enum: ['leads', 'consults', 'invites', 'won', 'lost', 'still_open', 'speed'],
79
- description: 'Which Reports view to open.',
80
- },
81
- group: {
82
- type: 'string',
83
- enum: ['source', 'wait'],
84
- description: 'Group the rows into sections: where they came from, or wait (cards lists only).',
85
- },
86
- per: { type: 'string', enum: ['deal'], description: 'One row per deal, not per consult (consults only)' },
87
- ...FILTER_PROPERTIES,
88
- page: { type: 'integer', minimum: 1 },
89
- limit: { type: 'integer', minimum: 1, maximum: 100 },
90
- };
91
8
  export const AGENT_CATALOG = {
92
9
  version: CATALOG_VERSION,
93
10
  instructions: renderInstructions(),
@@ -185,6 +102,12 @@ export const AGENT_CATALOG = {
185
102
  },
186
103
  forward: { method: 'GET', path: '/api/agent/v0/lists', query: GET_LIST_QUERY },
187
104
  },
105
+ {
106
+ name: 'list_meetings',
107
+ description: renderToolDescription('list_meetings'),
108
+ inputSchema: { type: 'object', properties: LIST_MEETINGS_PROPERTIES },
109
+ forward: { method: 'GET', path: '/api/agent/v0/meetings', query: LIST_MEETINGS_QUERY },
110
+ },
188
111
  ],
189
112
  };
190
113
  function isRecord(value) {
@@ -205,7 +128,7 @@ function isToolSpec(value) {
205
128
  typeof forward.path === 'string' &&
206
129
  forward.path.startsWith('/api/agent/v0/'));
207
130
  }
208
- /** Accepts only a full seven-tool catalog of the shape this package understands. */
131
+ /** Accepts only a full eight-tool catalog of the shape this package understands. */
209
132
  export function parseCatalog(value) {
210
133
  if (!isRecord(value))
211
134
  return null;
package/dist/rules.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { AgentToolName } from './catalog.js';
2
2
  /** Bump when any rule text changes. Served as rules_version on list_orgs and in the catalog. */
3
- export declare const RULES_VERSION = "2026-10-28";
3
+ export declare const RULES_VERSION = "2026-11-15";
4
4
  export declare function renderInstructions(): string;
5
5
  export declare function renderToolDescription(name: AgentToolName): string;
6
6
  export declare function renderSkillMarkdown(): string;
package/dist/rules.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /** Bump when any rule text changes. Served as rules_version on list_orgs and in the catalog. */
2
- export const RULES_VERSION = '2026-10-28';
2
+ export const RULES_VERSION = '2026-11-15';
3
3
  const FLOW = 'Workhive: you are a client of the owner\'s CRM, not the in-app SDR. ' +
4
4
  'First call list_orgs; read terms and rules_version. Never guess org_id. ' +
5
5
  'Speak terms.singular / terms.count_noun / terms.nav_label; call a booked consult what terms.home_appts_label says. ' +
@@ -9,6 +9,7 @@ const DETAIL = [
9
9
  'lead_report: New = created in the period. Stalled = whole company, untouched N days. No next step and Unbooked are among New only. Unbooked is not "everyone who never booked." Never answer that from lead_report.unbooked.',
10
10
  'booking_state is status only: scheduled may have no next_meeting when a past meeting was never closed out; say "on the books" and do not invent a date.',
11
11
  'Numbers (leads, consults, invites, won, close rate, speed to lead, lost, still open) = get_numbers; the people behind one = get_list with its list args. They match the My numbers sheet, Reports page and CSV: never count these from list_leads or lead_report. Gym companies, owners and admins only; FORBIDDEN otherwise.',
12
+ "What's on the calendar = list_meetings: say its dates from range.label, never your own clock. A daily recap is when=tomorrow; what's left this week is custom from range.today. No-show is not a status.",
12
13
  'Say potential/qualified/disqualified only if terms.show_status. Mention ballpark only if terms.show_ballpark. owner and setter are the role words. Say pipeline.name without adding the word pipeline.',
13
14
  'No SMS, no stage moves, no phone changes: say those are not available yet. Never invent a call, text or visit.',
14
15
  'Lead id is a UUID. Use only these tools; do not call dashboard routes.',
@@ -26,6 +27,7 @@ const DESCRIPTIONS = {
26
27
  add_comment: 'Add a plain-text comment on a lead, authored as the owner. Only if the owner asked for it. Maps to POST /api/agent/v0/leads/:id/comments.',
27
28
  get_numbers: 'The My numbers sheet for a gym: leads, consults booked and happened, invites, won, close rate, speed to lead, lost and still open, each with the same days of the previous period and the get_list args that open its people. period=week or month (to date, org time zone), or custom with from/to (up to 366 days). source narrows to one lead source. Maps to GET /api/agent/v0/numbers.',
28
29
  get_list: 'The people behind a number, as the Reports page and its CSV show them: one row per person, CSV columns (times in the org time zone, waits in minutes). Pass the args get_numbers returned, or a list with a date range on its date columns (came_in=this_month, won=2026-10-01..2026-10-22) and filters. Each key takes a list: any value matches within a key, and keys combine with AND. choices gives each filter\'s values. Up to 100 rows a page. Maps to GET /api/agent/v0/lists.',
30
+ list_meetings: 'Meetings and group classes on the calendar for today (default), tomorrow, this_week (Monday to Sunday of the week holding today, past days included), next_week (the Monday to Sunday after it), or custom from/to up to 31 days. Days are the company\'s (org time zone), counted from the moment of the call; range in the answer spells out today and the dates covered. Narrow by kind (sales, service, class, other), type and host from choices; any value matches within a key, keys combine with AND. Admins and managers see everyone\'s; anyone else only their own (FORBIDDEN for someone else\'s). Cancelled ones only with include_cancelled=true. guest has name, email, phone and lead_id (opens get_lead); guest_contact=false leaves email and phone out. Maps to GET /api/agent/v0/meetings.',
29
31
  };
30
32
  export function renderToolDescription(name) {
31
33
  return DESCRIPTIONS[name];
@@ -57,7 +59,7 @@ export function renderSkillMarkdown() {
57
59
  '- No next step and Unbooked are **among new** this period, not every open record. Stalled is the whole company.',
58
60
  '- Numbers = `get_numbers`; the people behind a number = `get_list` with the args it returned. Never count those from `list_leads`.',
59
61
  '',
60
- '## Tools (seven verbs only)',
62
+ '## Tools (eight verbs only)',
61
63
  '',
62
64
  '| Tool | Purpose |',
63
65
  '| --- | --- |',
@@ -68,6 +70,7 @@ export function renderSkillMarkdown() {
68
70
  '| `add_comment` | Post a plain-text comment on a lead (only if asked). |',
69
71
  '| `get_numbers` | The My numbers sheet: counts for a period and source, each with `get_list` args. |',
70
72
  '| `get_list` | The people behind a number (Reports page / CSV rows), paged. |',
73
+ '| `list_meetings` | The calendar for a day, a week or custom dates, classes included; narrowed by kind, type and host. |',
71
74
  '',
72
75
  '## Auth / config',
73
76
  '',
@@ -87,7 +90,7 @@ export function renderConnectPrompt(input) {
87
90
  `API: ${base}`,
88
91
  'On every request send header: Authorization: Bearer <the key>',
89
92
  '',
90
- 'If you already have Workhive tools named list_orgs, list_leads, get_lead, lead_report, add_comment, get_numbers, or get_list, use those.',
93
+ 'If you already have Workhive tools named list_orgs, list_leads, get_lead, lead_report, add_comment, get_numbers, get_list, or list_meetings, use those.',
91
94
  `If you can add a remote MCP connector by URL, add ${base}/mcp and sign in when asked; then use those tools.`,
92
95
  'Otherwise call these HTTP endpoints and parse JSON:',
93
96
  '',
@@ -106,6 +109,8 @@ export function renderConnectPrompt(input) {
106
109
  ' Gym numbers (owners/admins). period=week, month, or custom with from and to.',
107
110
  `7. GET ${base}/lists?org_id=ORG_ID&list=leads&from=YYYY-MM-DD&to=YYYY-MM-DD`,
108
111
  ' The people behind a number. Use the list args /numbers returns.',
112
+ `8. GET ${base}/meetings?org_id=ORG_ID&when=tomorrow`,
113
+ " My meetings (admins and managers: everyone's), classes included. when=today, tomorrow, this_week, next_week or custom with from and to.",
109
114
  '',
110
115
  'Rules:',
111
116
  '- You are a client of Workhive, not the in-app SDR.',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workhive/agent",
3
- "version": "0.3.1",
4
- "description": "Workhive Agent Kernel MCP adapter. Seven tools 1:1 with REST /api/agent/v0 over stdio.",
3
+ "version": "0.4.0",
4
+ "description": "Workhive Agent Kernel MCP adapter. Eight tools 1:1 with REST /api/agent/v0 over stdio.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "workhive-agent": "./dist/index.js"