@circleback/cli 1.0.0 → 1.1.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.
@@ -36,12 +36,14 @@ exports.createActionItemCommand = (0, command_1.defineToolCommand)(new commander
36
36
  .description('Create an action item.')
37
37
  .argument('<title>', 'Action item title')
38
38
  .option('--description <description>', 'Set the description')
39
- .option('--assignee <id|none>', 'Assign to a profile ID, or none to leave unassigned (defaults to you)'), types_1.ToolName.CreateActionItem, (title, options) => ({
39
+ .option('--assignee <id|none>', 'Assign to a profile ID, or none to leave unassigned (defaults to you)')
40
+ .option('--meeting <id>', 'Link to a meeting ID'), types_1.ToolName.CreateActionItem, (title, options) => ({
40
41
  title,
41
42
  description: options.description,
42
43
  assigneeProfileId: options.assignee === 'none'
43
44
  ? null
44
45
  : (0, parse_1.parseOptionalIntOption)(options.assignee, '--assignee'),
46
+ meetingId: options.meeting,
45
47
  }));
46
48
  exports.updateActionItemCommand = (0, command_1.defineToolCommand)(new commander_1.Command('update')
47
49
  .description('Update an action item.')
package/dist/index.js CHANGED
@@ -27,8 +27,6 @@ program
27
27
  .name('circleback')
28
28
  .version(constants_1.CLIENT_VERSION, '-V, --version', 'Output the version number')
29
29
  .option('--json', 'Output raw JSON instead of formatted text')
30
- .allowExcessArguments(false)
31
- .action(() => program.help())
32
30
  .exitOverride();
33
31
  (0, registry_1.getAllCommands)().reduce((p, command) => p.addCommand(command), program);
34
32
  configureCommandOutput(program);
@@ -57,6 +55,7 @@ const run = async () => {
57
55
  ' cb meetings --json Get JSON for scripts',
58
56
  '',
59
57
  ].join('\n'));
58
+ program.help();
60
59
  }
61
60
  await program.parseAsync();
62
61
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@circleback/cli",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "Circleback CLI. Search and access meetings, emails, calendar events, and more.",
5
5
  "license": "MIT",
6
6
  "author": "Circleback <support@circleback.ai> (https://circleback.ai)",
@@ -24,10 +24,10 @@
24
24
  "scripts": {
25
25
  "prebuild": "rm -rf dist",
26
26
  "build": "tsc && chmod +x dist/index.js",
27
- "typecheck": "tsc --noEmit",
27
+ "typecheck": "bun check --all",
28
28
  "test:unit": "jest --runInBand",
29
29
  "postinstall": "echo '\n Welcome to the Circleback CLI. Run `circleback` or `cb` to get started.\n'",
30
- "prepublishOnly": "npm run build"
30
+ "prepublishOnly": "pnpm run build"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"