@circleback/cli 0.2.0 → 0.2.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/README.md CHANGED
@@ -22,11 +22,8 @@ cb meetings
22
22
  # Search by keyword
23
23
  cb meetings "product review"
24
24
 
25
- # Read full meeting details by numeric ID
26
- cb meetings read 12345
27
-
28
- # Read by linkId (from the meeting URL, e.g. circleback.ai/meetings/Vd6Pz_kWqLm3xY-c8RhTn)
29
- cb meetings read Vd6Pz_kWqLm3xY-c8RhTn
25
+ # Read by ID (from the meeting URL, e.g. circleback.ai/meetings/Vd6Pz8WqLm3xY2cRhTn7K)
26
+ cb meetings read Vd6Pz8WqLm3xY2cRhTn7K
30
27
 
31
28
  # Search transcripts
32
29
  cb transcripts "pricing discussion"
@@ -40,31 +37,26 @@ cb meetings --json
40
37
 
41
38
  ## Commands
42
39
 
43
- | Command | Description |
44
- | ------------------------------ | ------------------------------------------------------------------------------------ |
45
- | `cb login` | Authenticate with Circleback via browser |
46
- | `cb logout` | Clear stored authentication tokens |
47
- | `cb update` | Update CLI to the latest version |
48
- | `cb meetings [search]` | Search meetings |
49
- | `cb meetings read <ids...>` | Read detailed meeting info, notes, and action items (numeric IDs or linkIds, max 50) |
50
- | `cb transcripts <search>` | Search transcript content |
51
- | `cb transcripts read <ids...>` | Read full transcripts (numeric IDs or linkIds, max 50) |
52
- | `cb calendar` | Search calendar events |
53
- | `cb people <names...>` | Search people by name |
54
- | `cb companies <terms...>` | Search companies by name or domain |
55
- | `cb emails [search]` | Search connected email accounts |
56
- | `cb support [search]` | Search Circleback support articles |
40
+ | Command | Description |
41
+ | ------------------------------ | ------------------------------------------------------------ |
42
+ | `cb login` | Authenticate with Circleback via browser |
43
+ | `cb logout` | Clear stored authentication tokens |
44
+ | `cb update` | Update CLI to the latest version |
45
+ | `cb meetings [search]` | Search meetings |
46
+ | `cb meetings read <ids...>` | Read detailed meeting info, notes, and action items (max 50) |
47
+ | `cb transcripts <search>` | Search transcript content |
48
+ | `cb transcripts read <ids...>` | Read full transcripts (max 50) |
49
+ | `cb calendar` | Search calendar events |
50
+ | `cb people <names...>` | Search people by name |
51
+ | `cb companies <terms...>` | Search companies by name or domain |
52
+ | `cb emails [search]` | Search connected email accounts |
53
+ | `cb support [search]` | Search Circleback support articles |
57
54
 
58
55
  Run `cb --help` or `cb <command> --help` for full usage details.
59
56
 
60
57
  ## Meeting identifiers
61
58
 
62
- `cb meetings read` and `cb transcripts read` accept up to 50 IDs in either form:
63
-
64
- - **Numeric ID** — the integer ID returned in search results (e.g. `12345`)
65
- - **linkId** — the short alphanumeric slug from a meeting URL (e.g. `Vd6Pz_kWqLm3xY-c8RhTn` from `circleback.ai/meetings/Vd6Pz_kWqLm3xY-c8RhTn`)
66
-
67
- Both forms can be mixed in a single call: `cb meetings read 12345 Vd6Pz_kWqLm3xY-c8RhTn`
59
+ `cb meetings read` and `cb transcripts read` accept up to 50 meeting IDs.
68
60
 
69
61
  ## Filtering
70
62
 
@@ -39,7 +39,7 @@ const formatSender = (sender) => {
39
39
  const formatMeetingsList = (meetings) => {
40
40
  if (meetings.length === 0)
41
41
  return chalk_1.default.yellow('No meetings found.');
42
- const idWidth = idColumnWidth(meetings.map((meeting) => meeting.linkId));
42
+ const idWidth = idColumnWidth(meetings.map((meeting) => meeting.id));
43
43
  const nameWidth = 40;
44
44
  const dateWidth = 14;
45
45
  const attendeesWidth = 30;
@@ -56,7 +56,7 @@ const formatMeetingsList = (meetings) => {
56
56
  });
57
57
  table.push(...meetings.map((meeting) => [
58
58
  (0, string_1.truncate)(meeting.name, nameWidth - 2),
59
- meeting.linkId,
59
+ meeting.id,
60
60
  (0, date_1.formatDate)(meeting.createdAt),
61
61
  meeting.attendees.map(formatAttendee).join('\n'),
62
62
  ]));
@@ -70,7 +70,7 @@ const formatMeetingDetails = (meetings) => {
70
70
  .map((meeting) => {
71
71
  const header = chalk_1.default.bold.cyan(`\n# ${meeting.name}`);
72
72
  const meta = [
73
- `${chalk_1.default.bold('ID:')} ${meeting.linkId}`,
73
+ `${chalk_1.default.bold('ID:')} ${meeting.id}`,
74
74
  `${chalk_1.default.bold('Date:')} ${(0, date_1.formatDate)(meeting.createdAt)}`,
75
75
  meeting.duration
76
76
  ? `${chalk_1.default.bold('Duration:')} ${(0, lodash_1.round)(meeting.duration / 60)} min`
@@ -122,7 +122,7 @@ const formatTranscriptReadResults = (results) => {
122
122
  return results
123
123
  .map((result) => {
124
124
  const header = chalk_1.default.bold.cyan(`\n# ${result.meetingName}`);
125
- const meta = `${chalk_1.default.bold('Meeting ID:')} ${result.meetingId}`;
125
+ const meta = `${chalk_1.default.bold('Meeting ID:')} ${result.id}`;
126
126
  const transcriptEntries = result.transcript
127
127
  .map((entry) => `${chalk_1.default.dim((0, lodash_1.round)(entry.timestamp, 2))} ${chalk_1.default.bold(entry.speaker ?? 'Unknown')}: ${entry.text}`)
128
128
  .join('\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@circleback/cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
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)",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/lodash": "^4.17.24",
46
- "@types/node": "^22.0.0",
46
+ "@types/node": "^18.19.130",
47
47
  "typescript": "5.6.2"
48
48
  }
49
49
  }