@circleback/cli 0.7.0 → 0.9.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 +27 -27
- package/dist/commands/actionItems.js +3 -3
- package/dist/commands/calendar.js +17 -1
- package/dist/commands/meetings.js +19 -2
- package/dist/commands/registry.js +4 -5
- package/dist/commands/tags.js +3 -14
- package/dist/constants.js +3 -1
- package/dist/helpers/formatter.js +2 -2
- package/dist/helpers/table.js +10 -1
- package/dist/helpers/tag.js +2 -4
- package/dist/helpers/value.js +5 -0
- package/dist/types.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,32 +40,32 @@ cb meetings --json
|
|
|
40
40
|
|
|
41
41
|
## Commands
|
|
42
42
|
|
|
43
|
-
| Command
|
|
44
|
-
|
|
|
45
|
-
| `cb auth login`
|
|
46
|
-
| `cb auth login --api-key`
|
|
47
|
-
| `cb auth logout`
|
|
48
|
-
| `cb update`
|
|
49
|
-
| `cb meetings [search]`
|
|
50
|
-
| `cb meetings read <ids...>`
|
|
51
|
-
| `cb meetings
|
|
52
|
-
| `cb
|
|
53
|
-
| `cb transcripts
|
|
54
|
-
| `cb
|
|
55
|
-
| `cb
|
|
56
|
-
| `cb
|
|
57
|
-
| `cb
|
|
58
|
-
| `cb
|
|
59
|
-
| `cb
|
|
60
|
-
| `cb
|
|
61
|
-
| `cb action-items
|
|
62
|
-
| `cb action-items
|
|
63
|
-
| `cb
|
|
64
|
-
| `cb
|
|
65
|
-
| `cb tags
|
|
66
|
-
| `cb tags
|
|
67
|
-
| `cb tags
|
|
68
|
-
| `cb tags
|
|
43
|
+
| Command | Description |
|
|
44
|
+
| -------------------------------- | ------------------------------------------------------------ |
|
|
45
|
+
| `cb auth login` | Log in to Circleback with your browser |
|
|
46
|
+
| `cb auth login --api-key` | Log in with an API key |
|
|
47
|
+
| `cb auth logout` | Sign out on this device |
|
|
48
|
+
| `cb update` | Update CLI to the latest version |
|
|
49
|
+
| `cb meetings [search]` | Search meetings |
|
|
50
|
+
| `cb meetings read <ids...>` | Read detailed meeting info, notes, and action items (max 50) |
|
|
51
|
+
| `cb meetings update <id>` | Update a meeting |
|
|
52
|
+
| `cb meetings share <id>` | Share a meeting or remove access |
|
|
53
|
+
| `cb transcripts <search>` | Search transcript content |
|
|
54
|
+
| `cb transcripts read <ids...>` | Read full transcripts (max 50) |
|
|
55
|
+
| `cb calendar` | Search calendar events |
|
|
56
|
+
| `cb calendar update <id>` | Update a calendar event |
|
|
57
|
+
| `cb people <names...>` | Search people by name |
|
|
58
|
+
| `cb companies <terms...>` | Search companies by name or domain |
|
|
59
|
+
| `cb emails [search]` | Search connected email accounts |
|
|
60
|
+
| `cb support [search]` | Search Circleback support articles |
|
|
61
|
+
| `cb action-items [search]` | Search action items |
|
|
62
|
+
| `cb action-items create <title>` | Create an action item |
|
|
63
|
+
| `cb action-items update <id>` | Update an action item |
|
|
64
|
+
| `cb action-items delete <id>` | Delete an action item |
|
|
65
|
+
| `cb tags` | List tags |
|
|
66
|
+
| `cb tags create <name>` | Create a tag |
|
|
67
|
+
| `cb tags update <id>` | Update a tag |
|
|
68
|
+
| `cb tags delete <id>` | Delete a tag |
|
|
69
69
|
|
|
70
70
|
Run `cb --help` or `cb <command> --help` for full usage details.
|
|
71
71
|
|
|
@@ -116,7 +116,7 @@ For stateless automation, set `CIRCLEBACK_API_KEY` instead of logging in:
|
|
|
116
116
|
CIRCLEBACK_API_KEY=cb_your_api_key cb meetings --json
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
-
Changing action items, tags, or
|
|
119
|
+
Changing meetings, action items, tags, or sharing permissions needs write access. Browser logins from before v0.5.0 don't include it, so run `cb auth login` again; read-only API keys can't make changes.
|
|
120
120
|
|
|
121
121
|
`CIRCLEBACK_API_KEY` takes precedence over stored credentials. Unset it before running `cb auth login`; `cb auth logout` cannot clear an environment variable from your shell.
|
|
122
122
|
|
|
@@ -7,6 +7,7 @@ const command_1 = require("../helpers/command");
|
|
|
7
7
|
const date_1 = require("../helpers/date");
|
|
8
8
|
const parse_1 = require("../helpers/parse");
|
|
9
9
|
const tag_1 = require("../helpers/tag");
|
|
10
|
+
const value_1 = require("../helpers/value");
|
|
10
11
|
const types_1 = require("../types");
|
|
11
12
|
const DEFAULT_ACTION_ITEMS_SEARCH_LAST_DAYS = 30;
|
|
12
13
|
exports.searchActionItemsCommand = (0, command_1.defineToolCommand)(new commander_1.Command('search')
|
|
@@ -47,14 +48,13 @@ exports.updateActionItemCommand = (0, command_1.defineToolCommand)(new commander
|
|
|
47
48
|
.option('--description <description>', 'Set the description')
|
|
48
49
|
.addOption(new commander_1.Option('--status <status>', 'Set completion status').choices(Object.values(types_1.ActionItemStatus)))
|
|
49
50
|
.option('--assignee <id|none>', 'Set or remove the assignee'), types_1.ToolName.UpdateActionItem, (identifier, { assignee, ...fields }) => {
|
|
50
|
-
if (assignee
|
|
51
|
-
!Object.values(fields).some((value) => value !== undefined)) {
|
|
51
|
+
if (!(0, value_1.isPresent)(assignee) && !Object.values(fields).some(value_1.isPresent)) {
|
|
52
52
|
throw new Error('Provide at least one field to update.');
|
|
53
53
|
}
|
|
54
54
|
return {
|
|
55
55
|
actionItemId: (0, parse_1.parseIntOption)(identifier, 'id'),
|
|
56
56
|
...fields,
|
|
57
|
-
...(assignee
|
|
57
|
+
...((0, value_1.isPresent)(assignee) && {
|
|
58
58
|
assigneeProfileId: assignee === 'none' ? null : (0, parse_1.parseIntOption)(assignee, '--assignee'),
|
|
59
59
|
}),
|
|
60
60
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.searchCalendarCommand = void 0;
|
|
3
|
+
exports.updateCalendarEventCommand = exports.searchCalendarCommand = void 0;
|
|
4
4
|
const commander_1 = require("commander");
|
|
5
5
|
const constants_1 = require("../constants");
|
|
6
6
|
const command_1 = require("../helpers/command");
|
|
7
7
|
const date_1 = require("../helpers/date");
|
|
8
|
+
const tag_1 = require("../helpers/tag");
|
|
9
|
+
const value_1 = require("../helpers/value");
|
|
8
10
|
const types_1 = require("../types");
|
|
9
11
|
exports.searchCalendarCommand = (0, command_1.defineToolCommand)(new commander_1.Command('search')
|
|
10
12
|
.description('Search calendar events.')
|
|
@@ -16,3 +18,17 @@ exports.searchCalendarCommand = (0, command_1.defineToolCommand)(new commander_1
|
|
|
16
18
|
startDate: (0, date_1.getStartDate)(options),
|
|
17
19
|
endDate: options.to || undefined,
|
|
18
20
|
}));
|
|
21
|
+
exports.updateCalendarEventCommand = (0, command_1.defineToolCommand)(new commander_1.Command('update')
|
|
22
|
+
.description('Update private notes or tags for a meeting before it starts. Each option replaces the current value when provided.')
|
|
23
|
+
.argument('<id>', 'Event ID from `cb calendar`')
|
|
24
|
+
.option('--private-notes <notes>', constants_1.PRIVATE_NOTES_UPDATE_OPTION_DESCRIPTION)
|
|
25
|
+
.option('--tags <tags>', constants_1.TAGS_UPDATE_OPTION_DESCRIPTION), types_1.ToolName.UpdateCalendarEvent, async (calendarMeetingId, { privateNotes, tags }) => {
|
|
26
|
+
if (!(0, value_1.isPresent)(privateNotes) && !(0, value_1.isPresent)(tags)) {
|
|
27
|
+
throw new Error('Provide --private-notes or --tags.');
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
calendarMeetingId,
|
|
31
|
+
privateNotes,
|
|
32
|
+
...((0, value_1.isPresent)(tags) && { tagIds: await (0, tag_1.resolveTagValues)(tags) }),
|
|
33
|
+
};
|
|
34
|
+
});
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.shareMeetingCommand = exports.readMeetingsCommand = exports.searchMeetingsCommand = void 0;
|
|
3
|
+
exports.updateMeetingCommand = exports.shareMeetingCommand = exports.readMeetingsCommand = exports.searchMeetingsCommand = void 0;
|
|
4
4
|
const commander_1 = require("commander");
|
|
5
5
|
const constants_1 = require("../constants");
|
|
6
6
|
const command_1 = require("../helpers/command");
|
|
7
7
|
const date_1 = require("../helpers/date");
|
|
8
8
|
const parse_1 = require("../helpers/parse");
|
|
9
9
|
const tag_1 = require("../helpers/tag");
|
|
10
|
+
const value_1 = require("../helpers/value");
|
|
10
11
|
const types_1 = require("../types");
|
|
11
12
|
const DEFAULT_MEETINGS_SEARCH_LAST_DAYS = 7;
|
|
12
13
|
exports.searchMeetingsCommand = (0, command_1.defineToolCommand)(new commander_1.Command('search')
|
|
@@ -62,7 +63,7 @@ exports.shareMeetingCommand = (0, command_1.defineToolCommand)(new commander_1.C
|
|
|
62
63
|
options.workspace,
|
|
63
64
|
options.link,
|
|
64
65
|
];
|
|
65
|
-
if (targets.
|
|
66
|
+
if (!targets.some(value_1.isPresent)) {
|
|
66
67
|
throw new Error('Set at least one of --email, --profile, --team, --workspace, or --link.');
|
|
67
68
|
}
|
|
68
69
|
if ((options.email || options.profile) && !options.access) {
|
|
@@ -98,3 +99,19 @@ exports.shareMeetingCommand = (0, command_1.defineToolCommand)(new commander_1.C
|
|
|
98
99
|
],
|
|
99
100
|
};
|
|
100
101
|
});
|
|
102
|
+
exports.updateMeetingCommand = (0, command_1.defineToolCommand)(new commander_1.Command('update')
|
|
103
|
+
.description('Update a meeting. Each option replaces the current value when provided.')
|
|
104
|
+
.argument('<id>', 'Meeting ID')
|
|
105
|
+
.option('--name <name>', 'Update the meeting name')
|
|
106
|
+
.option('--notes <notes>', 'Update the meeting notes (supports Markdown)')
|
|
107
|
+
.option('--private-notes <notes>', constants_1.PRIVATE_NOTES_UPDATE_OPTION_DESCRIPTION)
|
|
108
|
+
.option('--tags <tags>', constants_1.TAGS_UPDATE_OPTION_DESCRIPTION), types_1.ToolName.UpdateMeeting, async (meetingId, { tags, ...fields }) => {
|
|
109
|
+
if (!(0, value_1.isPresent)(tags) && !Object.values(fields).some(value_1.isPresent)) {
|
|
110
|
+
throw new Error('Provide at least one field to update.');
|
|
111
|
+
}
|
|
112
|
+
return {
|
|
113
|
+
meetingId,
|
|
114
|
+
...fields,
|
|
115
|
+
...((0, value_1.isPresent)(tags) && { tagIds: await (0, tag_1.resolveTagValues)(tags) }),
|
|
116
|
+
};
|
|
117
|
+
});
|
|
@@ -17,10 +17,11 @@ const standaloneCommands = [auth_1.authCommand, update_1.updateCommand];
|
|
|
17
17
|
const commandGroups = [
|
|
18
18
|
{
|
|
19
19
|
name: 'meetings',
|
|
20
|
-
description: 'Find, read, and share meetings.',
|
|
20
|
+
description: 'Find, read, update, and share meetings.',
|
|
21
21
|
subcommands: [
|
|
22
22
|
meetings_1.searchMeetingsCommand,
|
|
23
23
|
meetings_1.readMeetingsCommand,
|
|
24
|
+
meetings_1.updateMeetingCommand,
|
|
24
25
|
meetings_1.shareMeetingCommand,
|
|
25
26
|
],
|
|
26
27
|
},
|
|
@@ -31,8 +32,8 @@ const commandGroups = [
|
|
|
31
32
|
},
|
|
32
33
|
{
|
|
33
34
|
name: 'calendar',
|
|
34
|
-
description: 'Search calendar events.',
|
|
35
|
-
subcommands: [calendar_1.searchCalendarCommand],
|
|
35
|
+
description: 'Search and update calendar events.',
|
|
36
|
+
subcommands: [calendar_1.searchCalendarCommand, calendar_1.updateCalendarEventCommand],
|
|
36
37
|
},
|
|
37
38
|
{
|
|
38
39
|
name: 'people',
|
|
@@ -72,8 +73,6 @@ const commandGroups = [
|
|
|
72
73
|
tags_1.createTagCommand,
|
|
73
74
|
tags_1.updateTagCommand,
|
|
74
75
|
tags_1.deleteTagCommand,
|
|
75
|
-
tags_1.applyTagCommand,
|
|
76
|
-
tags_1.unapplyTagCommand,
|
|
77
76
|
],
|
|
78
77
|
},
|
|
79
78
|
];
|
package/dist/commands/tags.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.deleteTagCommand = exports.updateTagCommand = exports.createTagCommand = exports.listTagsCommand = void 0;
|
|
4
4
|
const commander_1 = require("commander");
|
|
5
5
|
const command_1 = require("../helpers/command");
|
|
6
6
|
const parse_1 = require("../helpers/parse");
|
|
7
|
+
const value_1 = require("../helpers/value");
|
|
7
8
|
const types_1 = require("../types");
|
|
8
9
|
const createColorOption = () => new commander_1.Option('--color <color>', 'Set the display color').choices([
|
|
9
10
|
'neutral',
|
|
@@ -18,10 +19,6 @@ const createColorOption = () => new commander_1.Option('--color <color>', 'Set t
|
|
|
18
19
|
'purple',
|
|
19
20
|
]);
|
|
20
21
|
const getTagColor = (color) => color ? `bg-tag-${color}` : undefined;
|
|
21
|
-
const getTagAssignment = (identifier, meetingIds) => ({
|
|
22
|
-
tagId: (0, parse_1.parseIntOption)(identifier, 'id'),
|
|
23
|
-
meetingIds,
|
|
24
|
-
});
|
|
25
22
|
exports.listTagsCommand = (0, command_1.defineToolCommand)(new commander_1.Command('list').description('List all tags.'), types_1.ToolName.ListTags, () => ({ intent: 'Listing all tags.' }));
|
|
26
23
|
exports.createTagCommand = (0, command_1.defineToolCommand)(new commander_1.Command('create')
|
|
27
24
|
.description('Create a tag.')
|
|
@@ -38,7 +35,7 @@ exports.updateTagCommand = (0, command_1.defineToolCommand)(new commander_1.Comm
|
|
|
38
35
|
.option('--name <name>', 'Set the name')
|
|
39
36
|
.option('--description <description>', 'Set the description')
|
|
40
37
|
.addOption(createColorOption()), types_1.ToolName.UpdateTag, (identifier, options) => {
|
|
41
|
-
if (!Object.values(options).some(
|
|
38
|
+
if (!Object.values(options).some(value_1.isPresent)) {
|
|
42
39
|
throw new Error('Provide at least one field to update.');
|
|
43
40
|
}
|
|
44
41
|
return {
|
|
@@ -49,11 +46,3 @@ exports.updateTagCommand = (0, command_1.defineToolCommand)(new commander_1.Comm
|
|
|
49
46
|
};
|
|
50
47
|
});
|
|
51
48
|
exports.deleteTagCommand = (0, command_1.defineToolCommand)(new commander_1.Command('delete').description('Delete a tag.').argument('<id>', 'Tag ID'), types_1.ToolName.DeleteTag, (identifier) => ({ tagId: (0, parse_1.parseIntOption)(identifier, 'id') }));
|
|
52
|
-
exports.applyTagCommand = (0, command_1.defineToolCommand)(new commander_1.Command('apply')
|
|
53
|
-
.description('Add a tag to meetings.')
|
|
54
|
-
.argument('<id>', 'Tag ID')
|
|
55
|
-
.argument('<meetingIds...>', 'Meeting IDs'), types_1.ToolName.AddTagToMeetings, getTagAssignment);
|
|
56
|
-
exports.unapplyTagCommand = (0, command_1.defineToolCommand)(new commander_1.Command('unapply')
|
|
57
|
-
.description('Remove a tag from meetings.')
|
|
58
|
-
.argument('<id>', 'Tag ID')
|
|
59
|
-
.argument('<meetingIds...>', 'Meeting IDs'), types_1.ToolName.RemoveTagFromMeetings, getTagAssignment);
|
package/dist/constants.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.DOMAINS_OPTION_DESCRIPTION = exports.PROFILES_OPTION_DESCRIPTION = exports.TAGS_OPTION_DESCRIPTION = exports.END_DATE_OPTION_DESCRIPTION = exports.START_DATE_OPTION_DESCRIPTION = exports.PAGE_OPTION_DESCRIPTION = exports.UNASSIGNED_ACTION_ITEM_ASSIGNEE_LABEL = exports.DEFAULT_MEETING_NAME = exports.MAX_READ_MEETING_IDENTIFIERS = exports.CALLBACK_TIMEOUT_MILLISECONDS = exports.OAUTH_SCOPE = exports.TOKENS_FILE = exports.CONFIG_DIRECTORY = exports.ASCII_LOGO = exports.SECONDARY_COLOR = exports.BRAND_COLOR = exports.API_KEY_SETTINGS_URL = exports.API_KEY_ENVIRONMENT_VARIABLE = exports.API_KEY_PREFIX = exports.CLIENT_VERSION_HEADER = exports.CLIENT_VERSION = exports.CLIENT_PACKAGE_NAME = exports.CLIENT_NAME = exports.BASE_URL = void 0;
|
|
6
|
+
exports.DOMAINS_OPTION_DESCRIPTION = exports.PROFILES_OPTION_DESCRIPTION = exports.PRIVATE_NOTES_UPDATE_OPTION_DESCRIPTION = exports.TAGS_UPDATE_OPTION_DESCRIPTION = exports.TAGS_OPTION_DESCRIPTION = exports.END_DATE_OPTION_DESCRIPTION = exports.START_DATE_OPTION_DESCRIPTION = exports.PAGE_OPTION_DESCRIPTION = exports.UNASSIGNED_ACTION_ITEM_ASSIGNEE_LABEL = exports.DEFAULT_MEETING_NAME = exports.MAX_READ_MEETING_IDENTIFIERS = exports.CALLBACK_TIMEOUT_MILLISECONDS = exports.OAUTH_SCOPE = exports.TOKENS_FILE = exports.CONFIG_DIRECTORY = exports.ASCII_LOGO = exports.SECONDARY_COLOR = exports.BRAND_COLOR = exports.API_KEY_SETTINGS_URL = exports.API_KEY_ENVIRONMENT_VARIABLE = exports.API_KEY_PREFIX = exports.CLIENT_VERSION_HEADER = exports.CLIENT_VERSION = exports.CLIENT_PACKAGE_NAME = exports.CLIENT_NAME = exports.BASE_URL = void 0;
|
|
7
7
|
const node_fs_1 = __importDefault(require("node:fs"));
|
|
8
8
|
const node_path_1 = __importDefault(require("node:path"));
|
|
9
9
|
const node_os_1 = __importDefault(require("node:os"));
|
|
@@ -52,5 +52,7 @@ exports.PAGE_OPTION_DESCRIPTION = 'Page index (starts at 0)';
|
|
|
52
52
|
exports.START_DATE_OPTION_DESCRIPTION = 'Start date (YYYY-MM-DD)';
|
|
53
53
|
exports.END_DATE_OPTION_DESCRIPTION = 'End date (YYYY-MM-DD)';
|
|
54
54
|
exports.TAGS_OPTION_DESCRIPTION = 'Comma-separated tag names or IDs';
|
|
55
|
+
exports.TAGS_UPDATE_OPTION_DESCRIPTION = 'Update the tags (comma-separated names or IDs, or "" to remove all)';
|
|
56
|
+
exports.PRIVATE_NOTES_UPDATE_OPTION_DESCRIPTION = 'Update your private notes (supports Markdown)';
|
|
55
57
|
exports.PROFILES_OPTION_DESCRIPTION = 'Comma-separated profile IDs';
|
|
56
58
|
exports.DOMAINS_OPTION_DESCRIPTION = 'Comma-separated domains';
|
|
@@ -86,8 +86,8 @@ const formatForTool = (toolName, data) => {
|
|
|
86
86
|
return (0, table_1.formatActionItems)(data);
|
|
87
87
|
case types_1.ToolName.ListTags:
|
|
88
88
|
return (0, table_1.formatTags)(data);
|
|
89
|
-
case types_1.ToolName.
|
|
90
|
-
case types_1.ToolName.
|
|
89
|
+
case types_1.ToolName.UpdateMeeting:
|
|
90
|
+
case types_1.ToolName.UpdateCalendarEvent:
|
|
91
91
|
return;
|
|
92
92
|
default: {
|
|
93
93
|
const _absurd = toolName;
|
package/dist/helpers/table.js
CHANGED
|
@@ -140,17 +140,26 @@ const formatCalendarEvents = (events) => {
|
|
|
140
140
|
const table = new cli_table3_1.default({
|
|
141
141
|
head: [
|
|
142
142
|
style_1.brand.bold('Title'),
|
|
143
|
+
style_1.brand.bold('ID'),
|
|
143
144
|
style_1.brand.bold('Start'),
|
|
144
145
|
style_1.brand.bold('End'),
|
|
145
146
|
style_1.brand.bold('Platform'),
|
|
146
147
|
style_1.brand.bold('Attendees'),
|
|
147
148
|
],
|
|
148
|
-
colWidths: [
|
|
149
|
+
colWidths: [
|
|
150
|
+
30,
|
|
151
|
+
idColumnWidth(events.map((event) => event.id)),
|
|
152
|
+
20,
|
|
153
|
+
20,
|
|
154
|
+
12,
|
|
155
|
+
35,
|
|
156
|
+
],
|
|
149
157
|
wordWrap: true,
|
|
150
158
|
style: style_1.tableStyle,
|
|
151
159
|
});
|
|
152
160
|
table.push(...events.map((event) => [
|
|
153
161
|
(0, string_1.truncate)(event.title, 28),
|
|
162
|
+
event.id,
|
|
154
163
|
(0, date_1.formatDateTime)(event.startTime),
|
|
155
164
|
(0, date_1.formatDateTime)(event.endTime),
|
|
156
165
|
event.platform ?? '-',
|
package/dist/helpers/tag.js
CHANGED
|
@@ -22,10 +22,8 @@ const resolveTagValues = async (value) => {
|
|
|
22
22
|
.split(',')
|
|
23
23
|
.map((part) => part.trim())
|
|
24
24
|
.filter((part) => part.length > 0);
|
|
25
|
-
if (parts.length === 0)
|
|
26
|
-
|
|
27
|
-
process.exit(1);
|
|
28
|
-
}
|
|
25
|
+
if (parts.length === 0)
|
|
26
|
+
return [];
|
|
29
27
|
const tagList = await fetchUserTags();
|
|
30
28
|
if (typeof tagList === 'string') {
|
|
31
29
|
(0, output_1.printText)('Failed to fetch tags.', output_1.TextType.Error);
|
package/dist/types.js
CHANGED
|
@@ -31,9 +31,9 @@ var ToolName;
|
|
|
31
31
|
ToolName["CreateTag"] = "CreateTag";
|
|
32
32
|
ToolName["UpdateTag"] = "UpdateTag";
|
|
33
33
|
ToolName["DeleteTag"] = "DeleteTag";
|
|
34
|
-
ToolName["AddTagToMeetings"] = "AddTagToMeetings";
|
|
35
|
-
ToolName["RemoveTagFromMeetings"] = "RemoveTagFromMeetings";
|
|
36
34
|
ToolName["ShareMeeting"] = "ShareMeeting";
|
|
35
|
+
ToolName["UpdateMeeting"] = "UpdateMeeting";
|
|
36
|
+
ToolName["UpdateCalendarEvent"] = "UpdateCalendarEvent";
|
|
37
37
|
})(ToolName || (exports.ToolName = ToolName = {}));
|
|
38
38
|
var ActionItemStatus;
|
|
39
39
|
(function (ActionItemStatus) {
|
package/package.json
CHANGED