@dench.com/cli 3.5.1-staging.328 → 3.5.3-staging.333

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
@@ -217,6 +217,27 @@ dench signin --host https://staging.dench.com
217
217
 
218
218
  ## Saved prospect lists
219
219
 
220
+ Find supports separate past seniority and profile/work-description filters.
221
+ Past seniority can match a different job from the past employer: a former
222
+ Microsoft engineer who founded a separate startup can match both. Founder
223
+ includes Co-Founder; Founding Team and C-level are separate choices. Company
224
+ business focus is distinct from legal company type.
225
+
226
+ ```bash
227
+ dench leads find --titles "CTO,VP of Engineering,Director of Engineering" \
228
+ --headcount "51-200,201-500,501-1000" --company-keywords "SaaS,B2B,Cloud" \
229
+ --past-company-names "Apple,Microsoft,Google,Alphabet,Amazon,Nvidia,Meta,Facebook,Tesla" \
230
+ --profile-keywords "AI infrastructure,Cloud migration,DevOps" \
231
+ --locations "California,Washington,Oregon,British Columbia" \
232
+ --past-seniorities "Founder" --limit 25 --json
233
+ ```
234
+
235
+ These fields are also available in Find's editable filters, `search_people`,
236
+ and the API. `dench leads filters --filter past-seniorities` lists choices.
237
+ Descriptions use word matching; missing evidence does not match. Candidate
238
+ qualification is bounded, so keep paging when a continuation token is returned,
239
+ including after an empty page. Company focus needs another candidate filter.
240
+
220
241
  People found with `dench leads find` stay in draft lists, not the CRM.
221
242
  Generated results, `--save-as` searches, and `dench lists save` remain unpublished
222
243
  until you click **Save list** in chat or Find. This keeps the same artifact id,
@@ -224,10 +245,9 @@ rows and reviews, then adds the list to Find Leads and the saved-list directory.
224
245
  Enriching contacts or explicitly importing people does not publish the draft.
225
246
  Existing lists without draft metadata remain saved.
226
247
 
227
- For new prospect discovery, the lead-finding skill establishes a general
228
- `/workspace/ICP.md` on first use and reads it before later prospect searches.
229
- Campaign filters, dates, and counts stay with the search; the current request
230
- overrides general preferences. Existing-list actions do not restart ICP setup.
248
+ For new prospect discovery, the lead-finding skill reads
249
+ `/workspace/ORGANISATION.md` and does not create `ICP.md`. The current
250
+ request overrides that brief. The result is one saved list.
231
251
  Ordinary web, company, or hiring research does not require lead-finding or ICP
232
252
  questions, reads, or scoring. There is no mandatory per-profile ICP decision.
233
253
  In Find, click **Find** in a Work email, Phone, or Personal email cell to
@@ -255,9 +275,7 @@ unchanged. Optional `--filters-json` stores criteria/source evidence metadata.
255
275
  In chat, explicitly present the final list; research batches stay in activity
256
276
  details instead of becoming competing result sets.
257
277
 
258
- Before presenting a prospect shortlist, the skill saves an ICP relevance score
259
- (0–100) and short reason for each profile against that search's resolved criteria,
260
- using the general brief as relevant guidance. Saved assessments remain available
278
+ Scoring is optional and only when the user asks. Saved assessments remain available
261
279
  in list reads and CSV exports; the **ICP fit** and **Why this lead** columns are
262
280
  temporarily hidden in Find. Scores are not conversion probabilities or CRM
263
281
  statuses. To save assessments for canonical
package/app-sdk.d.ts CHANGED
@@ -553,6 +553,12 @@ export interface ApiRequests {
553
553
  "crm.entries.dossier.get": Record<string, unknown>;
554
554
  /** Research the account again and append a fresh dossier section to its Notes (needs a Website / Domain on the record). — `dench crm entries dossier --regenerate` — POST /api/v1/crm/entries/{entryId}/dossier/regenerate */
555
555
  "crm.entries.dossier.regenerate": Record<string, unknown>;
556
+ /** Whether the caller hides their own emails / messages with this record from the workspace (directly, or through its account), and whether they own a connection the toggle applies to. — `dench crm privacy status` — GET /api/v1/crm/entries/{entryId}/privacy */
557
+ "crm.privacy.get": Record<string, unknown>;
558
+ /** Hide (`hidden: true`) or show the caller's own emails / messages with this record to the workspace. An account covers every contact and opportunity linked to it; existing ledger rows are restamped and the shared Brief regenerates. — `dench crm privacy hide|show` — PUT /api/v1/crm/entries/{entryId}/privacy */
559
+ "crm.privacy.set": {
560
+ hidden: boolean;
561
+ };
556
562
  /** List account-detection verdicts — why a domain (or personal address) did or did not become an account: verdict, counterparty type, probabilities, evidence threads, the rows created. `kind` picks the creator: `detections` (email + sweep), `linkedin` (the LinkedIn resolver's rows) or `all` (default). Newest first. — `dench crm detections list` — GET /api/v1/crm/detections */
557
563
  "crm.detections.list": Record<string, unknown>;
558
564
  /** Undo what the ingestion jobs created since a timestamp (admin): `kind` = `detections` (accounts + contacts from the email detector and the sweep), `linkedin` (the LinkedIn resolver's contacts + accounts; their conversations are unlinked and parked), `email-tasks` (auto-created tasks and cases) or `all` (default). Deletes only rows no human has touched and marks the verdicts / decisions rolled_back so they are never re-created. `dryRun` lists what would go; per-kind counts in `kinds`. — `dench crm detections undo` — POST /api/v1/crm/detections/undo */
@@ -568,7 +574,7 @@ export interface ApiRequests {
568
574
  "crm.entries.history": Record<string, unknown>;
569
575
  /** List a CRM entry's activity ledger (comments, notes, field changes, emails, meetings, Slack, LinkedIn) in one timeline, newest first by default. — `dench crm activity` — GET /api/v1/crm/objects/{objectName}/entries/{entryId}/activity */
570
576
  "crm.activity.list": Record<string, unknown>;
571
- /** The record's generated Brief: health, who owes the next move, open threads, commitments, risks, next step, with provenance. Read this before the ledger. — `dench crm brief` — GET /api/v1/crm/objects/{objectName}/entries/{entryId}/brief */
577
+ /** The record's generated Brief: health, who owes the next move, open threads, commitments, risks, next step. Read this before the ledger. — `dench crm brief` — GET /api/v1/crm/objects/{objectName}/entries/{entryId}/brief */
572
578
  "crm.brief.get": Record<string, unknown>;
573
579
  /** Rebuild a record's Brief from the current timeline. — `dench crm brief --regenerate` — POST /api/v1/crm/objects/{objectName}/entries/{entryId}/brief/regenerate */
574
580
  "crm.brief.regenerate": Record<string, unknown>;
@@ -1318,7 +1324,7 @@ export interface ApiRequests {
1318
1324
  fullName?: string;
1319
1325
  firstName?: string;
1320
1326
  lastName?: string;
1321
- /** Free-text query, e.g. "fintech, AI". Accepted values: see `dench leads filters` or https://dench.com/references/find-filter-options.json. */
1327
+ /** Current-title text only. For profile or work descriptions, use profileKeywords. Accepted values: see `dench leads filters` or https://dench.com/references/find-filter-options.json. */
1322
1328
  keywords?: string;
1323
1329
  companyDomain?: string;
1324
1330
  companyName?: string;
@@ -1339,6 +1345,24 @@ export interface ApiRequests {
1339
1345
  exclude?: boolean;
1340
1346
  exactMatch?: boolean;
1341
1347
  }>;
1348
+ /** Seniority in any past role, independent of pastCompanyNames/pastTitles. Current seniority vocabulary plus Founding Team. Founder includes Co-Founder; C-level and Founding Team do not imply founder. Accepted values: see `dench leads filters` or https://dench.com/references/find-filter-options.json. */
1349
+ pastSeniorities?: Array<string | {
1350
+ value: string;
1351
+ exclude?: boolean;
1352
+ exactMatch?: boolean;
1353
+ }>;
1354
+ /** Text in headline/about or any current/past work description. OR includes, global exclusions. Always loose text matching; missing evidence does not match. */
1355
+ profileKeywords?: Array<string | {
1356
+ value: string;
1357
+ exclude?: boolean;
1358
+ exactMatch?: boolean;
1359
+ }>;
1360
+ /** Current employer business focus/model (e.g. SaaS, B2B, Cloud), from description/tagline/business tags; distinct from legal companyTypes. Same employer as other current-job filters. Always loose text matching. May need another filter to retrieve candidates. */
1361
+ companyKeywords?: Array<string | {
1362
+ value: string;
1363
+ exclude?: boolean;
1364
+ exactMatch?: boolean;
1365
+ }>;
1342
1366
  /** Exact enum: Owner, Founder, C-level, Partner, VP, Head, Director, Manager, Senior. */
1343
1367
  seniorities?: Array<string | {
1344
1368
  value: string;
@@ -1437,6 +1461,7 @@ export interface ApiRequests {
1437
1461
  min?: number;
1438
1462
  max?: number;
1439
1463
  };
1464
+ /** Match free-text filters as whole strings. Default false: titles ['Founder'] also returns 'Co-Founder' and 'Founder & CEO'. Set true to narrow. Domains, LinkedIn URLs, enum filters and numeric ranges are always exact; keywords is always a loose text probe. */
1440
1465
  exactMatch?: boolean;
1441
1466
  limit?: number;
1442
1467
  offset?: number;
@@ -1456,6 +1481,7 @@ export interface ApiRequests {
1456
1481
  locations?: string[];
1457
1482
  /** Exact buckets: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+. */
1458
1483
  headcountRanges?: string[];
1484
+ /** Match free-text filters (name, locations, keywords) as whole strings. Default false. Domain, linkedinUrl and enum filters are always exact. */
1459
1485
  exactMatch?: boolean;
1460
1486
  limit?: number;
1461
1487
  offset?: number;
@@ -1474,6 +1500,8 @@ export interface ApiRequests {
1474
1500
  companyLinkedinUrl?: string;
1475
1501
  keywords?: string;
1476
1502
  postedAfter?: string;
1503
+ /** Inclusive posting end date (YYYY-MM-DD); includes the whole UTC day. */
1504
+ postedBefore?: string;
1477
1505
  limit?: number;
1478
1506
  /** Opaque token from a previous response's metadata.nextPageToken. */
1479
1507
  pageToken?: string;
@@ -3321,6 +3349,8 @@ export interface ApiResponses {
3321
3349
  "crm.entries.syncHistoryStatus": unknown;
3322
3350
  "crm.entries.dossier.get": unknown;
3323
3351
  "crm.entries.dossier.regenerate": unknown;
3352
+ "crm.privacy.get": unknown;
3353
+ "crm.privacy.set": unknown;
3324
3354
  "crm.detections.list": unknown;
3325
3355
  "crm.detections.undo": unknown;
3326
3356
  "crm.entries.history": unknown;
@@ -6238,7 +6268,7 @@ export type DenchApiTree = {
6238
6268
  /** Apply a CRM batch. (`dench crm batch`) */
6239
6269
  batch(args: Req<"crm.batch">): Promise<Res<"crm.batch">>;
6240
6270
  brief: {
6241
- /** The record's generated Brief: health, who owes the next move, open threads, commitments, risks, next step, with provenance. Read this before the ledger. (`dench crm brief`) */
6271
+ /** The record's generated Brief: health, who owes the next move, open threads, commitments, risks, next step. Read this before the ledger. (`dench crm brief`) */
6242
6272
  get(args: Req<"crm.brief.get">): Promise<Res<"crm.brief.get">>;
6243
6273
  /** Rebuild a record's Brief from the current timeline. (`dench crm brief --regenerate`) */
6244
6274
  regenerate(args: Req<"crm.brief.regenerate">): Promise<Res<"crm.brief.regenerate">>;
@@ -6379,6 +6409,12 @@ export type DenchApiTree = {
6379
6409
  /** Search for people through the enrichment gateway. `companyDomains` takes up to 1000 domains (e.g. a resolved company list; `dench leads find --company-list <id|view>` resolves one for you) — the gateway fans large lists out as sequential vendor-safe chunks behind one `nextPageToken` stream. (`dench crm people search`) */
6380
6410
  search(args: Req<"crm.people.search">): Promise<Res<"crm.people.search">>;
6381
6411
  };
6412
+ privacy: {
6413
+ /** Whether the caller hides their own emails / messages with this record from the workspace (directly, or through its account), and whether they own a connection the toggle applies to. (`dench crm privacy status`) */
6414
+ get(args: Req<"crm.privacy.get">): Promise<Res<"crm.privacy.get">>;
6415
+ /** Hide (`hidden: true`) or show the caller's own emails / messages with this record to the workspace. An account covers every contact and opportunity linked to it; existing ledger rows are restamped and the shared Brief regenerates. (`dench crm privacy hide|show`) */
6416
+ set(args: Req<"crm.privacy.set">): Promise<Res<"crm.privacy.set">>;
6417
+ };
6382
6418
  /** Query CRM entries. (`dench crm query`) */
6383
6419
  query(args: Req<"crm.query">): Promise<Res<"crm.query">>;
6384
6420
  /** Scan CRM entries with a resumable cursor. Empty filtered pages can have more results. (`dench crm query --page`) */
package/crm-comments.ts CHANGED
@@ -526,7 +526,6 @@ export async function runActivityCommand(ctx: CrmCliContext): Promise<void> {
526
526
  }
527
527
 
528
528
  type BriefRow = {
529
- scope: "shared" | "private";
530
529
  status: "generating" | "ready" | "failed";
531
530
  headline?: string;
532
531
  body?: string;
@@ -536,14 +535,12 @@ type BriefRow = {
536
535
  health: string;
537
536
  openCommitments: number;
538
537
  };
539
- provenance?: { counts: Record<string, number> };
540
538
  generatedAt?: number;
541
539
  stale: boolean;
542
540
  error?: string;
543
541
  };
544
542
  type BriefResponse = {
545
543
  shared: BriefRow | null;
546
- private: BriefRow | null;
547
544
  hasMaterial: boolean;
548
545
  };
549
546
 
@@ -565,7 +562,7 @@ async function readBrief(
565
562
  }
566
563
 
567
564
  function formatBriefLines(brief: BriefResponse | null): string[] {
568
- const lead = brief?.shared ?? brief?.private ?? null;
565
+ const lead = brief?.shared ?? null;
569
566
  if (!brief?.hasMaterial) return ["Brief: nothing on this record yet."];
570
567
  if (!lead || (lead.status === "generating" && !lead.body)) {
571
568
  return [
@@ -582,11 +579,6 @@ function formatBriefLines(brief: BriefResponse | null): string[] {
582
579
  lines.push(`Brief${facets}${when}`);
583
580
  if (lead.headline) lines.push(lead.headline);
584
581
  if (lead.body) lines.push(lead.body);
585
- if (brief.private?.body && brief.shared) {
586
- lines.push("", "Private addendum (your inbox only):");
587
- if (brief.private.headline) lines.push(brief.private.headline);
588
- lines.push(brief.private.body);
589
- }
590
582
  return lines;
591
583
  }
592
584
 
package/crm-privacy.ts ADDED
@@ -0,0 +1,101 @@
1
+ /**
2
+ * `dench crm privacy …` — the caller's per-record privacy opt-out.
3
+ *
4
+ * Shared-by-default (2026-09-25): everything a member connects syncs to the
5
+ * workspace; privacy is an opt-out per connection ("Private" on the card) or
6
+ * per record, here. Hiding a record hides the CALLER's own emails, LinkedIn
7
+ * messages and calendar events that involve it — an account covers every
8
+ * contact and opportunity linked to it — for other members only. Colleagues'
9
+ * threads about the same record are untouched. Existing ledger rows are
10
+ * restamped and the record's shared Brief regenerates without them.
11
+ *
12
+ * status <object> <entryId> [--json]
13
+ * hide <object> <entryId> [--json]
14
+ * show <object> <entryId> [--json]
15
+ *
16
+ * `<object>` is accepted for symmetry with the other record verbs; the
17
+ * opt-out is keyed on the entry id alone.
18
+ */
19
+
20
+ import { makeFunctionReference } from "convex/server";
21
+ import {
22
+ assertNoUnknownFlags,
23
+ type CrmCliContext,
24
+ CrmCliError,
25
+ callMutation,
26
+ callQuery,
27
+ out,
28
+ shift,
29
+ } from "./crm";
30
+
31
+ const api = {
32
+ get: makeFunctionReference<"query">(
33
+ "functions/crm/recordPrivacy:getRecordPrivacy",
34
+ ),
35
+ set: makeFunctionReference<"mutation">(
36
+ "functions/crm/recordPrivacy:setRecordPrivacy",
37
+ ),
38
+ };
39
+
40
+ export type RecordPrivacyStatus = {
41
+ hidden: boolean;
42
+ inheritedFromEntryId?: string;
43
+ inheritedFromLabel?: string;
44
+ hasOwnConnection: boolean;
45
+ };
46
+
47
+ export type RecordPrivacySetResult = {
48
+ hidden: boolean;
49
+ restamped: number;
50
+ continued: boolean;
51
+ };
52
+
53
+ export const PRIVACY_USAGE =
54
+ "Usage: dench crm privacy status|hide|show <object> <entryId> [--json]";
55
+
56
+ export function formatPrivacyStatus(status: RecordPrivacyStatus): string {
57
+ if (!status.hasOwnConnection) {
58
+ return "You have no connection of your own here, so there is nothing to hide — connect an inbox, LinkedIn or calendar first.";
59
+ }
60
+ if (status.hidden && status.inheritedFromEntryId) {
61
+ return `Hidden with ${status.inheritedFromLabel ?? "its account"} (${status.inheritedFromEntryId}). Show the account to show this record.`;
62
+ }
63
+ return status.hidden
64
+ ? "Hidden — only you see your emails and messages with this record."
65
+ : "Shared — teammates see your emails and messages with this record.";
66
+ }
67
+
68
+ export function formatPrivacySet(result: RecordPrivacySetResult): string {
69
+ const rows =
70
+ result.restamped === 1
71
+ ? "1 activity row"
72
+ : `${result.restamped} activity rows`;
73
+ const tail = result.continued
74
+ ? " More rows are being restamped in the background."
75
+ : "";
76
+ return result.hidden
77
+ ? `Hidden. ${rows} moved to only you; the shared Brief will regenerate.${tail}`
78
+ : `Shown. ${rows} opened to the workspace; the shared Brief will regenerate.${tail}`;
79
+ }
80
+
81
+ export async function runPrivacyCommand(ctx: CrmCliContext): Promise<void> {
82
+ const verb = ctx.args.shift();
83
+ if (verb !== "status" && verb !== "hide" && verb !== "show") {
84
+ throw new CrmCliError(PRIVACY_USAGE);
85
+ }
86
+ shift(ctx.args, "object name");
87
+ const entryId = shift(ctx.args, "entry id");
88
+ assertNoUnknownFlags(ctx.args, `crm privacy ${verb}`);
89
+ if (verb === "status") {
90
+ const status = (await callQuery(ctx, api.get, {
91
+ entryId,
92
+ })) as RecordPrivacyStatus;
93
+ out(ctx, ctx.jsonOutput ? status : formatPrivacyStatus(status));
94
+ return;
95
+ }
96
+ const result = (await callMutation(ctx, api.set, {
97
+ entryId,
98
+ hidden: verb === "hide",
99
+ })) as RecordPrivacySetResult;
100
+ out(ctx, ctx.jsonOutput ? result : formatPrivacySet(result));
101
+ }
package/crm.ts CHANGED
@@ -20,6 +20,7 @@
20
20
  * crm fields list / create / update / delete / reorder
21
21
  * crm entries list / get / dossier / create / create-many / update / update-many / delete / bulk-delete
22
22
  * crm detections list / undo (detection verdicts + LinkedIn rows; the one rollback for detections, linkedin, email-tasks)
23
+ * crm privacy status / hide / show (your own opt-out: hide YOUR emails with a record from the workspace)
23
24
  * crm cells get / set / set-many / append
24
25
  * crm query <object> --where … --select … --sort … --limit …
25
26
  * crm aggregate <object> --field …
@@ -40,6 +41,7 @@ import {
40
41
  runWatchCommand,
41
42
  } from "./crm-comments";
42
43
  import { runDetectionsCommand } from "./crm-detections";
44
+ import { runPrivacyCommand } from "./crm-privacy";
43
45
  import {
44
46
  assertNoUnknownFlags as assertNoUnknownFlagsRaw,
45
47
  CliArgError,
@@ -1118,6 +1120,8 @@ export async function runCrmCommand(opts: {
1118
1120
  return await runAnalyticsCommand(ctx);
1119
1121
  case "detections":
1120
1122
  return await runDetectionsCommand(ctx);
1123
+ case "privacy":
1124
+ return await runPrivacyCommand(ctx);
1121
1125
  case "docs":
1122
1126
  case "documents":
1123
1127
  return await runDocsCommand(ctx);
@@ -1174,6 +1178,7 @@ const CRM_SUBCOMMANDS = [
1174
1178
  "reports",
1175
1179
  "analytics",
1176
1180
  "detections",
1181
+ "privacy",
1177
1182
  "docs",
1178
1183
  "documents",
1179
1184
  "actions",
@@ -4749,10 +4754,20 @@ Account detection (why a domain that emailed us did / did not become an account)
4749
4754
  human has touched, and marks the verdicts / decisions rolled_back
4750
4755
  (never re-created). --kind defaults to all.
4751
4756
 
4757
+ Privacy (sharing is the default; this is YOUR opt-out for one record):
4758
+ dench crm privacy status <object> <entryId> [--json]
4759
+ dench crm privacy hide <object> <entryId> [--json]
4760
+ dench crm privacy show <object> <entryId> [--json]
4761
+ Hides / shows your own emails, LinkedIn messages and calendar events
4762
+ that involve the record for OTHER members — an account covers every
4763
+ contact and opportunity linked to it. Colleagues' threads are
4764
+ untouched. Existing rows are restamped; the shared Brief regenerates.
4765
+ The whole connection: Outreach → the inbox row's Workspace / Private menu.
4766
+
4752
4767
  Brief (what the record means right now — the FIRST thing to read):
4753
4768
  dench crm brief <object> <entryId> [--regenerate] [--json]
4754
4769
  Generated from the timeline; read-only. Health, who owes the next
4755
- move, open threads, commitments, risks, next step, with provenance.
4770
+ move, open threads, commitments, risks, next step.
4756
4771
  Empty on a record nobody has opened yet — the call itself starts one;
4757
4772
  re-run in a minute. To correct it, write the fact in Notes or a
4758
4773
  comment and --regenerate; human words outrank inferred facts.
package/leads.ts CHANGED
@@ -115,6 +115,9 @@ type LeadsFindFlags = {
115
115
  personNames?: string[];
116
116
  locations?: string[];
117
117
  seniorities?: string[];
118
+ pastSeniorities?: string[];
119
+ profileKeywords?: string[];
120
+ companyKeywords?: string[];
118
121
  industries?: string[];
119
122
  functions?: string[];
120
123
  subFunctions?: string[];
@@ -134,6 +137,7 @@ type LeadsFindFlags = {
134
137
  foundedYears?: LeadsFindRange;
135
138
  keywords?: string;
136
139
  companyList?: string;
140
+ exactMatch?: boolean;
137
141
  limit?: number;
138
142
  pageToken?: string;
139
143
  name?: string;
@@ -165,30 +169,36 @@ function rangeFlag(args: string[], name: string): LeadsFindRange | undefined {
165
169
 
166
170
  function parseLeadsFindFlags(args: string[]): LeadsFindFlags {
167
171
  const flags: LeadsFindFlags = {
168
- titles: csvFlag(args, "--titles"),
169
- pastTitles: csvFlag(args, "--past-titles"),
172
+ titles: csvFlag(args, "--titles", "titles"),
173
+ pastTitles: csvFlag(args, "--past-titles", "pastTitles"),
170
174
  personNames: csvFlag(args, "--person-names"),
171
- locations: csvFlag(args, "--locations"),
172
- seniorities: csvFlag(args, "--seniorities"),
173
- industries: csvFlag(args, "--industries"),
174
- functions: csvFlag(args, "--functions"),
175
- subFunctions: csvFlag(args, "--sub-functions"),
175
+ locations: csvFlag(args, "--locations", "locations"),
176
+ seniorities: csvFlag(args, "--seniorities", "seniorities"),
177
+ pastSeniorities: csvFlag(args, "--past-seniorities", "pastSeniorities"),
178
+ profileKeywords: csvFlag(args, "--profile-keywords", "profileKeywords"),
179
+ companyKeywords: csvFlag(args, "--company-keywords", "companyKeywords"),
180
+ industries: csvFlag(args, "--industries", "industries"),
181
+ functions: csvFlag(args, "--functions", "functions"),
182
+ subFunctions: csvFlag(args, "--sub-functions", "subFunctions"),
176
183
  companyDomain: getFlag(args, "--company-domain"),
177
184
  companyDomains: csvFlag(args, "--company-domains"),
178
185
  companyNames: csvFlag(args, "--company-names"),
179
186
  pastCompanyNames: csvFlag(args, "--past-company-names"),
180
- companyHeadquarters: csvFlag(args, "--company-hq"),
181
- companyTypes: csvFlag(args, "--company-types"),
182
- universities: csvFlag(args, "--universities"),
183
- skills: csvFlag(args, "--skills"),
184
- languages: csvFlag(args, "--languages"),
185
- headcount: csvFlag(args, "--headcount"),
187
+ companyHeadquarters: csvFlag(args, "--company-hq", "companyHeadquarters"),
188
+ companyTypes: csvFlag(args, "--company-types", "companyTypes"),
189
+ universities: csvFlag(args, "--universities", "universities"),
190
+ skills: csvFlag(args, "--skills", "skills"),
191
+ languages: csvFlag(args, "--languages", "languages"),
192
+ headcount: csvFlag(args, "--headcount", "headcount"),
186
193
  yearsInRole: rangeFlag(args, "--years-in-role"),
187
194
  yearsAtCompany: rangeFlag(args, "--years-at-company"),
188
195
  daysSinceJobChange: rangeFlag(args, "--days-since-job-change"),
189
196
  foundedYears: rangeFlag(args, "--founded-years"),
190
197
  keywords: getFlag(args, "--keywords"),
191
198
  companyList: getFlag(args, "--company-list"),
199
+ // Free-text filters default to substring matching. `--exact` restores
200
+ // whole-string matching for a caller who wants the narrow list.
201
+ exactMatch: hasFlag(args, "--exact") ? true : undefined,
192
202
  limit: parseLimit(args),
193
203
  pageToken: getFlag(args, "--page-token"),
194
204
  name: getFlag(args, "--save-as"),
@@ -196,7 +206,8 @@ function parseLeadsFindFlags(args: string[]): LeadsFindFlags {
196
206
  assertNoUnknownFlags(args, "leads find");
197
207
  const hasFilter = Object.entries(flags).some(
198
208
  ([key, value]) =>
199
- !["limit", "pageToken", "name"].includes(key) && value !== undefined,
209
+ !["limit", "pageToken", "name", "exactMatch"].includes(key) &&
210
+ value !== undefined,
200
211
  );
201
212
  if (!hasFilter) {
202
213
  throw new FindCliError(
@@ -214,13 +225,102 @@ export function assertLeadsFindArgs(args: string[]): void {
214
225
  parseLeadsFindFlags(copy.slice(1));
215
226
  }
216
227
 
217
- function csvFlag(args: string[], name: string): string[] | undefined {
218
- const raw = getFlag(args, name);
219
- if (!raw) return undefined;
220
- return raw
221
- .split(",")
222
- .map((part) => part.trim())
223
- .filter(Boolean);
228
+ /**
229
+ * Split one flag value into filter entries without shredding names that
230
+ * legitimately contain a comma.
231
+ *
232
+ * `--industries "Technology, Information and Internet"` used to become TWO
233
+ * bogus industries and return zero rows, and 26 of the 490 shipped industries
234
+ * (plus every "University of California, X") carry a comma. Three ways out, in
235
+ * order of how much the caller has to know:
236
+ *
237
+ * 1. The whole value is a known vocabulary entry -> keep it whole.
238
+ * 2. Otherwise split on commas OUTSIDE quotes, then greedily re-join the
239
+ * longest run of adjacent parts that reconstructs a vocabulary entry.
240
+ * 3. Quote a value, or repeat the flag, to force the split you want.
241
+ *
242
+ * Greedy-longest is only ambiguous where a comma-containing entry's first
243
+ * segment is also an entry on its own — 2 of 490 industries ("Farming,
244
+ * Ranching, Forestry" and "Museums, Historical Sites, and Zoos"). Typing the
245
+ * canonical string should yield the canonical value, and repeating the flag
246
+ * expresses the other reading.
247
+ */
248
+ export function splitListValue(raw: string, vocabulary?: string[]): string[] {
249
+ const known = new Map(
250
+ (vocabulary ?? []).map((value) => [value.trim().toLowerCase(), value]),
251
+ );
252
+ const whole = raw.trim();
253
+ const wholeMatch = known.get(whole.toLowerCase());
254
+ if (wholeMatch) return [wholeMatch];
255
+
256
+ const parts: string[] = [];
257
+ let current = "";
258
+ let quote: '"' | "'" | null = null;
259
+ for (let index = 0; index < raw.length; index += 1) {
260
+ const char = raw[index];
261
+ if (quote) {
262
+ // Delimiters wrap the whole value; an apostrophe in McDonald's is data.
263
+ if (char === quote && /^\s*(,|$)/.test(raw.slice(index + 1)))
264
+ quote = null;
265
+ else current += char;
266
+ continue;
267
+ }
268
+ if ((char === '"' || char === "'") && current.trim() === "") {
269
+ quote = char;
270
+ continue;
271
+ }
272
+ if (char === ",") {
273
+ parts.push(current);
274
+ current = "";
275
+ continue;
276
+ }
277
+ current += char;
278
+ }
279
+ parts.push(current);
280
+ const trimmed = parts.map((part) => part.trim()).filter(Boolean);
281
+ if (!known.size) return trimmed;
282
+
283
+ const out: string[] = [];
284
+ for (let i = 0; i < trimmed.length; ) {
285
+ let matched: { value: string; next: number } | null = null;
286
+ for (let end = trimmed.length; end > i; end--) {
287
+ const joined = trimmed.slice(i, end).join(", ");
288
+ const hit = known.get(joined.toLowerCase());
289
+ if (hit) {
290
+ matched = { value: hit, next: end };
291
+ break;
292
+ }
293
+ }
294
+ if (matched) {
295
+ out.push(matched.value);
296
+ i = matched.next;
297
+ continue;
298
+ }
299
+ out.push(trimmed[i] as string);
300
+ i += 1;
301
+ }
302
+ return out;
303
+ }
304
+
305
+ function csvFlag(
306
+ args: string[],
307
+ name: string,
308
+ catalogKey?: keyof typeof FIND_FILTER_OPTION_CATALOG,
309
+ ): string[] | undefined {
310
+ const vocabulary = catalogKey
311
+ ? FIND_FILTER_OPTION_CATALOG[catalogKey]?.groups.flatMap(
312
+ (group) => group.values,
313
+ )
314
+ : undefined;
315
+ // Every occurrence accumulates, so repeating the flag is the escape hatch
316
+ // for a value the splitter would otherwise divide.
317
+ const values: string[] = [];
318
+ for (;;) {
319
+ const raw = getFlag(args, name);
320
+ if (raw === undefined) break;
321
+ values.push(...splitListValue(raw, vocabulary));
322
+ }
323
+ return values.length ? values : undefined;
224
324
  }
225
325
 
226
326
  function parseLimit(args: string[]): number | undefined {
@@ -379,9 +479,11 @@ Usage:
379
479
 
380
480
  Filter flags (all comma-separated lists unless noted):
381
481
  People: --titles --past-titles --person-names --seniorities --functions
482
+ --past-seniorities --profile-keywords
382
483
  --sub-functions --languages --universities --skills --locations
383
484
  Company: --company-names --past-company-names --company-domain (single)
384
485
  --company-domains --company-hq --company-types --industries
486
+ --company-keywords (business focus: SaaS, B2B, Cloud)
385
487
  --headcount (buckets like 11-50,51-200)
386
488
  List: --company-list <artifactId|view name> — filter by a saved
387
489
  company list (a \`dench companies find\` artifact or a Company
@@ -389,7 +491,24 @@ Filter flags (all comma-separated lists unless noted):
389
491
  run; lists up to ~1000 companies are searched in one go.
390
492
  Ranges: --years-in-role --years-at-company --days-since-job-change
391
493
  --founded-years (min:max, e.g. 2:10, 2: or :10)
392
- Query: --keywords "fintech, AI"
494
+ Query: --keywords "Engineer" (current-title text only)
495
+ Match: --exact match free-text filters as WHOLE strings
496
+
497
+ Free-text filters (titles, locations, company names, universities, skills)
498
+ match as substrings by default, so --titles "Founder" also finds "Co-Founder"
499
+ and "Founder & CEO". Pass --exact for whole-string matching when you want the
500
+ narrow list. Identifiers (domains, LinkedIn URLs) and enum filters are always
501
+ matched exactly either way.
502
+
503
+ --past-seniorities matches any past role, independently of --past-company-names.
504
+ --profile-keywords searches headline/about and current/past work descriptions.
505
+ --company-keywords searches the current employer's description/business focus,
506
+ not legal company type. Description terms always use loose word matching.
507
+ These filters qualify returned profiles; missing evidence does not match.
508
+
509
+ A value that itself contains a comma is kept whole when it matches a known
510
+ vocabulary entry, so --industries "Technology, Information and Internet" is
511
+ one industry, not two. Quote it, or repeat the flag, to be explicit.
393
512
 
394
513
  \`dench leads filters\` prints the accepted values: enum filters (seniorities,
395
514
  functions, industries, headcount, company-types, languages) expect those
@@ -408,6 +527,9 @@ dench leads find --company-list <artifactId> --titles "VP Sales".
408
527
  /** kebab-case flag spellings accepted by `--filter` alongside catalog keys. */
409
528
  const FILTER_KEY_ALIASES: Record<string, string> = {
410
529
  "past-titles": "pastTitles",
530
+ "past-seniorities": "pastSeniorities",
531
+ "profile-keywords": "profileKeywords",
532
+ "company-keywords": "companyKeywords",
411
533
  "company-hq": "companyHeadquarters",
412
534
  "company-types": "companyTypes",
413
535
  "sub-functions": "subFunctions",
@@ -478,7 +600,8 @@ export function companiesHelp(): void {
478
600
 
479
601
  Usage:
480
602
  dench companies related --domain acme.com --kind employees|founders|funding|investors|acquisitions|investments [--limit 25] [--page-token <token>] [--json]
481
- dench companies find --name "Acme" [--domain acme.com] [--keywords fintech] [--industries SaaS] [--locations "San Francisco"] [--linkedin https://linkedin.com/company/acme] [--save-as "Target accounts"] [--limit 500] [--page-token <token>] [--json]
603
+ dench companies find --name "Acme" [--domain acme.com] [--keywords fintech] [--industries SaaS] [--locations "San Francisco"] [--linkedin https://linkedin.com/company/acme] [--exact] [--save-as "Target accounts"] [--limit 500] [--page-token <token>] [--json]
604
+ Rows include a headquarters line (street where the provider has one).
482
605
 
483
606
  Finds companies through Dench search and writes a workspace list artifact.
484
607
  Pass --save-as to name the list (otherwise a title is generated).
@@ -494,7 +617,7 @@ export function jobsHelp(): void {
494
617
 
495
618
  Usage:
496
619
  dench jobs find --titles "Account Executive" --locations "San Francisco" [--company-domain acme.com] [--keywords remote] [--save-as "AE openings"] [--limit 500] [--page-token <token>] [--json]
497
- dench jobs find --company-list <artifactId|"Company view name"> [--titles "Account Executive"] [--posted-after 2026-08-01] [--json]
620
+ dench jobs find --company-list <artifactId|"Company view name"> [--titles "Account Executive"] [--posted-after 2026-09-01] [--posted-before 2026-09-30] [--json]
498
621
 
499
622
  Company filters: --company (name), --company-domain (single),
500
623
  --company-domains (comma-separated), or --company-list (a saved company
@@ -843,7 +966,7 @@ export function assertJobsFindArgs(args: string[]): void {
843
966
  !copy.includes("--keywords")
844
967
  ) {
845
968
  throw new FindCliError(
846
- "dench jobs find requires at least one of --titles, --locations, --company-domain, --company-domains, --company, --company-list, --keywords",
969
+ "dench jobs find requires at least one of --titles, --locations, --company-domain, --company-domains, --company, --company-list, --keywords, --posted-after, --posted-before",
847
970
  );
848
971
  }
849
972
  }
@@ -910,6 +1033,9 @@ export async function runLeadsCommand(opts: {
910
1033
  personNames: flags.personNames,
911
1034
  locations: flags.locations,
912
1035
  seniorities: flags.seniorities,
1036
+ pastSeniorities: flags.pastSeniorities,
1037
+ profileKeywords: flags.profileKeywords,
1038
+ companyKeywords: flags.companyKeywords,
913
1039
  jobFunctions: flags.functions,
914
1040
  subFunctions: flags.subFunctions,
915
1041
  industries: flags.industries,
@@ -931,6 +1057,7 @@ export async function runLeadsCommand(opts: {
931
1057
  daysSinceJobChange: flags.daysSinceJobChange,
932
1058
  foundedYears: flags.foundedYears,
933
1059
  keywords: flags.keywords,
1060
+ exactMatch: flags.exactMatch,
934
1061
  limit: flags.limit,
935
1062
  pageToken: flags.pageToken,
936
1063
  },
@@ -1004,13 +1131,14 @@ export async function runJobsCommand(opts: {
1004
1131
  if (verb !== "find") {
1005
1132
  throw new FindCliError(`Unknown jobs verb: ${verb}`);
1006
1133
  }
1007
- const titles = csvFlag(args, "--titles");
1008
- const locations = csvFlag(args, "--locations");
1134
+ const titles = csvFlag(args, "--titles", "titles");
1135
+ const locations = csvFlag(args, "--locations", "locations");
1009
1136
  const companyDomain = getFlag(args, "--company-domain");
1010
1137
  const companyDomains = csvFlag(args, "--company-domains");
1011
1138
  const companyName = getFlag(args, "--company");
1012
1139
  const keywords = getFlag(args, "--keywords");
1013
1140
  const postedAfter = getFlag(args, "--posted-after");
1141
+ const postedBefore = getFlag(args, "--posted-before");
1014
1142
  const companyListRef = getFlag(args, "--company-list");
1015
1143
  const limit = parseLimit(args);
1016
1144
  const pageToken = getFlag(args, "--page-token");
@@ -1023,7 +1151,9 @@ export async function runJobsCommand(opts: {
1023
1151
  !companyDomains &&
1024
1152
  !companyName &&
1025
1153
  !keywords &&
1026
- !companyListRef
1154
+ !companyListRef &&
1155
+ !postedAfter &&
1156
+ !postedBefore
1027
1157
  ) {
1028
1158
  throw new FindCliError(
1029
1159
  "dench jobs find requires at least one of --titles, --locations, --company-domain, --company-domains, --company, --company-list, --keywords",
@@ -1043,6 +1173,7 @@ export async function runJobsCommand(opts: {
1043
1173
  companyNames: companyList?.names.length ? companyList.names : undefined,
1044
1174
  keywords,
1045
1175
  postedAfter,
1176
+ postedBefore,
1046
1177
  limit,
1047
1178
  pageToken,
1048
1179
  },
@@ -1067,6 +1198,7 @@ export async function runJobsCommand(opts: {
1067
1198
  companyName,
1068
1199
  keywords,
1069
1200
  postedAfter,
1201
+ postedBefore,
1070
1202
  limit,
1071
1203
  ...(companyListRef && companyList
1072
1204
  ? {
@@ -1155,10 +1287,11 @@ export async function runCompaniesCommand(opts: {
1155
1287
  const domain = getFlag(args, "--domain");
1156
1288
  const name = getFlag(args, "--name");
1157
1289
  const keywords = getFlag(args, "--keywords");
1158
- const industries = csvFlag(args, "--industries");
1159
- const locations = csvFlag(args, "--locations");
1290
+ const industries = csvFlag(args, "--industries", "industries");
1291
+ const locations = csvFlag(args, "--locations", "locations");
1160
1292
  const linkedinUrl = getFlag(args, "--linkedin");
1161
- const headcountRanges = csvFlag(args, "--headcount");
1293
+ const headcountRanges = csvFlag(args, "--headcount", "headcount");
1294
+ const exactMatch = hasFlag(args, "--exact") ? true : undefined;
1162
1295
  const limit = parseLimit(args);
1163
1296
  const pageToken = getFlag(args, "--page-token");
1164
1297
  const listName = getFlag(args, "--save-as");
@@ -1186,6 +1319,7 @@ export async function runCompaniesCommand(opts: {
1186
1319
  locations,
1187
1320
  linkedinUrl,
1188
1321
  headcountRanges,
1322
+ exactMatch,
1189
1323
  limit,
1190
1324
  pageToken,
1191
1325
  },
@@ -1772,7 +1772,9 @@ const peopleSearch = z.object({
1772
1772
  keywords: z
1773
1773
  .string()
1774
1774
  .optional()
1775
- .describe(`Free-text query, e.g. "fintech, AI". ${FILTER_OPTIONS_NOTE}`),
1775
+ .describe(
1776
+ `Current-title text only. For profile or work descriptions, use profileKeywords. ${FILTER_OPTIONS_NOTE}`,
1777
+ ),
1776
1778
  companyDomain: z.string().optional(),
1777
1779
  companyName: z.string().optional(),
1778
1780
  titles: z
@@ -1786,6 +1788,27 @@ const peopleSearch = z.object({
1786
1788
  .optional()
1787
1789
  .describe("Past job titles (free text)."),
1788
1790
  personNames: z.array(searchFilterItem).max(20).optional(),
1791
+ pastSeniorities: z
1792
+ .array(searchFilterItem)
1793
+ .max(20)
1794
+ .optional()
1795
+ .describe(
1796
+ `Seniority in any past role, independent of pastCompanyNames/pastTitles. Current seniority vocabulary plus Founding Team. Founder includes Co-Founder; C-level and Founding Team do not imply founder. ${FILTER_OPTIONS_NOTE}`,
1797
+ ),
1798
+ profileKeywords: z
1799
+ .array(searchFilterItem)
1800
+ .max(50)
1801
+ .optional()
1802
+ .describe(
1803
+ "Text in headline/about or any current/past work description. OR includes, global exclusions. Always loose text matching; missing evidence does not match.",
1804
+ ),
1805
+ companyKeywords: z
1806
+ .array(searchFilterItem)
1807
+ .max(50)
1808
+ .optional()
1809
+ .describe(
1810
+ "Current employer business focus/model (e.g. SaaS, B2B, Cloud), from description/tagline/business tags; distinct from legal companyTypes. Same employer as other current-job filters. Always loose text matching. May need another filter to retrieve candidates.",
1811
+ ),
1789
1812
  seniorities: z
1790
1813
  .array(searchFilterItem)
1791
1814
  .max(20)
@@ -1864,7 +1887,15 @@ const peopleSearch = z.object({
1864
1887
  foundedYears: searchRange
1865
1888
  .optional()
1866
1889
  .describe("Company founded-year range, e.g. {min: 2015, max: 2024}."),
1867
- exactMatch: z.boolean().optional(),
1890
+ exactMatch: z
1891
+ .boolean()
1892
+ .optional()
1893
+ .describe(
1894
+ "Match free-text filters as whole strings. Default false: titles " +
1895
+ "['Founder'] also returns 'Co-Founder' and 'Founder & CEO'. Set " +
1896
+ "true to narrow. Domains, LinkedIn URLs, enum filters and numeric " +
1897
+ "ranges are always exact; keywords is always a loose text probe.",
1898
+ ),
1868
1899
  limit: z.number().int().positive().max(5000).optional(),
1869
1900
  offset: z.number().int().nonnegative().optional(),
1870
1901
  pageToken: z
@@ -1900,7 +1931,14 @@ const companySearch = z.object({
1900
1931
  .describe(
1901
1932
  "Exact buckets: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+.",
1902
1933
  ),
1903
- exactMatch: z.boolean().optional(),
1934
+ exactMatch: z
1935
+ .boolean()
1936
+ .optional()
1937
+ .describe(
1938
+ "Match free-text filters (name, locations, keywords) as whole " +
1939
+ "strings. Default false. Domain, linkedinUrl and enum filters are " +
1940
+ "always exact.",
1941
+ ),
1904
1942
  limit: z.number().int().positive().max(5000).optional(),
1905
1943
  offset: z.number().int().nonnegative().optional(),
1906
1944
  pageToken: z
@@ -1930,6 +1968,12 @@ const jobsSearch = z.object({
1930
1968
  companyLinkedinUrl: z.string().optional(),
1931
1969
  keywords: z.string().optional(),
1932
1970
  postedAfter: z.string().optional(),
1971
+ postedBefore: z
1972
+ .string()
1973
+ .optional()
1974
+ .describe(
1975
+ "Inclusive posting end date (YYYY-MM-DD); includes the whole UTC day.",
1976
+ ),
1933
1977
  limit: z.number().int().positive().max(5000).optional(),
1934
1978
  pageToken: z
1935
1979
  .string()
@@ -162,11 +162,13 @@ export const APP_SDK_OPERATIONS: readonly AppSdkOperationInfo[] = [
162
162
  {"id":"crm.entries.syncHistoryStatus","group":"crm","summary":"Has Dench read this record's email history? One row per address per mailbox.","cli":"dench crm entries sync-history --status","method":"GET","path":"/crm/objects/{objectName}/entries/{entryId}/sync-history","permission":"crm:read","pathParams":["objectName","entryId"]},
163
163
  {"id":"crm.entries.dossier.get","group":"crm","summary":"Status of the account's research dossier — the delimited `dench:dossier` section Dench keeps in the record's Notes: status, when it was written, how many dated updates followed, the last error.","cli":"dench crm entries dossier","method":"GET","path":"/crm/entries/{entryId}/dossier","permission":"crm:read","pathParams":["entryId"]},
164
164
  {"id":"crm.entries.dossier.regenerate","group":"crm","summary":"Research the account again and append a fresh dossier section to its Notes (needs a Website / Domain on the record).","cli":"dench crm entries dossier --regenerate","method":"POST","path":"/crm/entries/{entryId}/dossier/regenerate","permission":"crm:write","pathParams":["entryId"]},
165
+ {"id":"crm.privacy.get","group":"crm","summary":"Whether the caller hides their own emails / messages with this record from the workspace (directly, or through its account), and whether they own a connection the toggle applies to.","cli":"dench crm privacy status","method":"GET","path":"/crm/entries/{entryId}/privacy","permission":"crm:read","pathParams":["entryId"]},
166
+ {"id":"crm.privacy.set","group":"crm","summary":"Hide (`hidden: true`) or show the caller's own emails / messages with this record to the workspace. An account covers every contact and opportunity linked to it; existing ledger rows are restamped and the shared Brief regenerates.","cli":"dench crm privacy hide|show","method":"PUT","path":"/crm/entries/{entryId}/privacy","permission":"crm:write","pathParams":["entryId"]},
165
167
  {"id":"crm.detections.list","group":"crm","summary":"List account-detection verdicts — why a domain (or personal address) did or did not become an account: verdict, counterparty type, probabilities, evidence threads, the rows created. `kind` picks the creator: `detections` (email + sweep), `linkedin` (the LinkedIn resolver's rows) or `all` (default). Newest first.","cli":"dench crm detections list","method":"GET","path":"/crm/detections","permission":"crm:read","pathParams":[]},
166
168
  {"id":"crm.detections.undo","group":"crm","summary":"Undo what the ingestion jobs created since a timestamp (admin): `kind` = `detections` (accounts + contacts from the email detector and the sweep), `linkedin` (the LinkedIn resolver's contacts + accounts; their conversations are unlinked and parked), `email-tasks` (auto-created tasks and cases) or `all` (default). Deletes only rows no human has touched and marks the verdicts / decisions rolled_back so they are never re-created. `dryRun` lists what would go; per-kind counts in `kinds`.","cli":"dench crm detections undo","method":"POST","path":"/crm/detections/undo","permission":"crm:write","pathParams":[]},
167
169
  {"id":"crm.entries.history","group":"crm","summary":"List a CRM entry's audit history.","cli":"dench crm history","method":"GET","path":"/crm/objects/{objectName}/entries/{entryId}/history","permission":"crm:read","pathParams":["objectName","entryId"]},
168
170
  {"id":"crm.activity.list","group":"crm","summary":"List a CRM entry's activity ledger (comments, notes, field changes, emails, meetings, Slack, LinkedIn) in one timeline, newest first by default.","cli":"dench crm activity","method":"GET","path":"/crm/objects/{objectName}/entries/{entryId}/activity","permission":"crm:read","pathParams":["objectName","entryId"]},
169
- {"id":"crm.brief.get","group":"crm","summary":"The record's generated Brief: health, who owes the next move, open threads, commitments, risks, next step, with provenance. Read this before the ledger.","cli":"dench crm brief","method":"GET","path":"/crm/objects/{objectName}/entries/{entryId}/brief","permission":"crm:read","pathParams":["objectName","entryId"]},
171
+ {"id":"crm.brief.get","group":"crm","summary":"The record's generated Brief: health, who owes the next move, open threads, commitments, risks, next step. Read this before the ledger.","cli":"dench crm brief","method":"GET","path":"/crm/objects/{objectName}/entries/{entryId}/brief","permission":"crm:read","pathParams":["objectName","entryId"]},
170
172
  {"id":"crm.brief.regenerate","group":"crm","summary":"Rebuild a record's Brief from the current timeline.","cli":"dench crm brief --regenerate","method":"POST","path":"/crm/objects/{objectName}/entries/{entryId}/brief/regenerate","permission":"crm:write","pathParams":["objectName","entryId"]},
171
173
  {"id":"crm.activity.count","group":"crm","summary":"Bounded per-source counts of a CRM entry's activity ledger.","cli":"dench crm activity","method":"GET","path":"/crm/objects/{objectName}/entries/{entryId}/activity/count","permission":"crm:read","pathParams":["objectName","entryId"]},
172
174
  {"id":"crm.notes.list","group":"crm","summary":"List a CRM entry's notes (titled, document-style comments), newest first.","cli":"dench crm notes list","method":"GET","path":"/crm/objects/{objectName}/entries/{entryId}/notes","permission":"crm:read","pathParams":["objectName","entryId"]},
@@ -1220,6 +1220,43 @@ const rawApiOperations = [
1220
1220
  transformArgs: (input) => ({ entryId: input.entryId }),
1221
1221
  },
1222
1222
  }),
1223
+ // Per-record privacy (shared-by-default, 2026-09-25): the caller's own
1224
+ // opt-out — "hide MY connections' threads about this record from the
1225
+ // workspace". An account covers its contacts and opportunities. CRM read
1226
+ // access is enough; it only narrows the caller's own rows.
1227
+ op({
1228
+ id: "crm.privacy.get",
1229
+ group: "crm",
1230
+ summary:
1231
+ "Whether the caller hides their own emails / messages with this record from the workspace (directly, or through its account), and whether they own a connection the toggle applies to.",
1232
+ cli: "dench crm privacy status",
1233
+ method: "GET",
1234
+ path: "/crm/entries/{entryId}/privacy",
1235
+ requestSchema: noBody,
1236
+ responseSchema: anyResponse,
1237
+ backend: {
1238
+ ...convex("query", "functions/crm/recordPrivacy:getRecordPrivacy"),
1239
+ transformArgs: (input) => ({ entryId: input.entryId }),
1240
+ },
1241
+ }),
1242
+ op({
1243
+ id: "crm.privacy.set",
1244
+ group: "crm",
1245
+ summary:
1246
+ "Hide (`hidden: true`) or show the caller's own emails / messages with this record to the workspace. An account covers every contact and opportunity linked to it; existing ledger rows are restamped and the shared Brief regenerates.",
1247
+ cli: "dench crm privacy hide|show",
1248
+ method: "PUT",
1249
+ path: "/crm/entries/{entryId}/privacy",
1250
+ requestSchema: z.object({ hidden: z.boolean() }),
1251
+ responseSchema: anyResponse,
1252
+ backend: {
1253
+ ...convex("mutation", "functions/crm/recordPrivacy:setRecordPrivacy"),
1254
+ transformArgs: (input) => ({
1255
+ entryId: input.entryId,
1256
+ hidden: input.hidden === true,
1257
+ }),
1258
+ },
1259
+ }),
1223
1260
  // Account detection (plan §4): the verdicts Dench took on counterparties
1224
1261
  // that emailed the workspace, the LinkedIn resolver's rows on the same
1225
1262
  // table, and the ONE rollback for everything the ingestion jobs created
@@ -1360,7 +1397,7 @@ const rawApiOperations = [
1360
1397
  id: "crm.brief.get",
1361
1398
  group: "crm",
1362
1399
  summary:
1363
- "The record's generated Brief: health, who owes the next move, open threads, commitments, risks, next step, with provenance. Read this before the ledger.",
1400
+ "The record's generated Brief: health, who owes the next move, open threads, commitments, risks, next step. Read this before the ledger.",
1364
1401
  cli: "dench crm brief",
1365
1402
  method: "GET",
1366
1403
  path: "/crm/objects/{objectName}/entries/{entryId}/brief",
@@ -86,6 +86,9 @@ export type SearchPeopleBody = {
86
86
  pastTitles?: SearchFilterItem[];
87
87
  personNames?: SearchFilterItem[];
88
88
  seniorities?: SearchFilterItem[];
89
+ pastSeniorities?: SearchFilterItem[];
90
+ profileKeywords?: SearchFilterItem[];
91
+ companyKeywords?: SearchFilterItem[];
89
92
  jobFunctions?: SearchFilterItem[];
90
93
  subFunctions?: SearchFilterItem[];
91
94
  industries?: SearchFilterItem[];
@@ -134,6 +137,7 @@ export type SearchJobsBody = {
134
137
  companyLinkedinUrl?: string;
135
138
  keywords?: string;
136
139
  postedAfter?: string;
140
+ postedBefore?: string;
137
141
  limit?: number;
138
142
  /** Opaque token from a previous response's `metadata.nextPageToken`. */
139
143
  pageToken?: string;
@@ -242,7 +246,10 @@ function mapRequiredFieldsToEnrichFields(rf?: string[]): EnrichField[] {
242
246
 
243
247
  export type ApolloPersonEnvelope = {
244
248
  person: {
245
- search_match?: { derivedFields: string[]; basis: "current_title" };
249
+ search_match?: {
250
+ derivedFields: string[];
251
+ basis: "current_title" | "employment_title";
252
+ };
246
253
  name?: string;
247
254
  first_name?: string;
248
255
  last_name?: string;
@@ -269,7 +276,10 @@ export type ApolloPersonEnvelope = {
269
276
  };
270
277
 
271
278
  type EnrichedPersonUpsertLike = {
272
- searchMatch?: { derivedFields: string[]; basis: "current_title" };
279
+ searchMatch?: {
280
+ derivedFields: string[];
281
+ basis: "current_title" | "employment_title";
282
+ };
273
283
  fullName?: string;
274
284
  firstName?: string;
275
285
  lastName?: string;
@@ -1424,6 +1434,9 @@ export function buildPeopleSearchRequest(
1424
1434
 
1425
1435
  // Rich list filters with no legacy alias — pass straight through.
1426
1436
  const listPassthrough = [
1437
+ "pastSeniorities",
1438
+ "profileKeywords",
1439
+ "companyKeywords",
1427
1440
  "pastTitles",
1428
1441
  "personNames",
1429
1442
  "subFunctions",
@@ -1518,6 +1531,7 @@ export async function searchJobs(
1518
1531
  payload.companyLinkedinUrl = body.companyLinkedinUrl;
1519
1532
  if (body.keywords) payload.keywords = body.keywords;
1520
1533
  if (body.postedAfter) payload.postedAfter = body.postedAfter;
1534
+ if (body.postedBefore) payload.postedBefore = body.postedBefore;
1521
1535
  if (body.limit !== undefined) payload.limit = body.limit;
1522
1536
  if (body.pageToken) payload.pageToken = body.pageToken;
1523
1537
  return callGatewayJson("/v1/enrichment/jobs/search", {
@@ -132,47 +132,72 @@ export const FIND_FILTER_OPTION_CATALOG: Record<string, FindFilterOptionCatalogE
132
132
  { group: "Seniority", values: ["Owner","Founder","C-level","Partner","VP","Head","Director","Manager","Senior"] },
133
133
  ],
134
134
  },
135
+ "pastSeniorities": {
136
+ label: "Past seniority",
137
+ kind: "enum",
138
+ groups: [
139
+ { group: "Past seniority", values: ["Owner","Founder","C-level","Partner","VP","Head","Director","Manager","Senior","Founding Team"] },
140
+ ],
141
+ },
142
+ "profileKeywords": {
143
+ label: "Profile / work description",
144
+ kind: "suggestion",
145
+ groups: [
146
+ { group: "Technology themes", values: ["AI","artificial intelligence","machine learning","generative AI","LLM","computer vision","robotics","automation","blockchain","crypto","web3","AR/VR","IoT","edge computing","quantum computing","cybersecurity","cloud computing","big data","API","open source","developer tools","low-code","no-code","SaaS","mobile apps"] },
147
+ { group: "Industry niches", values: ["fintech","payments","insurtech","healthtech","digital health","telemedicine","biotech","medtech","edtech","proptech","legaltech","HRtech","martech","adtech","regtech","agtech","foodtech","climate tech","clean energy","e-commerce","marketplace","logistics tech","supply chain tech","gaming","esports","creator economy","streaming","travel tech","mobility","autonomous vehicles","space tech","defense tech","govtech"] },
148
+ { group: "Business models", values: ["B2B","B2C","B2B2C","D2C","enterprise","SMB","mid-market","subscription","freemium","usage-based pricing","product-led growth","sales-led growth","self-serve","managed services","white label","platform","two-sided marketplace","vertical SaaS","horizontal SaaS","API-first","open core","on-premise"] },
149
+ { group: "Growth & funding signals", values: ["seed stage","Series A","Series B","Series C","growth stage","pre-IPO","recently funded","venture-backed","bootstrapped","profitable","hypergrowth","hiring","expanding internationally","new product launch","digital transformation","recently acquired","unicorn","Y Combinator"] },
150
+ { group: "Go-to-market", values: ["outbound","inbound","cold email","account-based marketing","demand generation","growth hacking","content strategy","community-led growth","partner-led growth","channel sales","field sales","inside sales","customer retention","net revenue retention","lifecycle marketing"] },
151
+ ],
152
+ },
153
+ "companyKeywords": {
154
+ label: "Company business focus",
155
+ kind: "suggestion",
156
+ groups: [
157
+ { group: "Business focus", values: ["SaaS","B2B","B2C","Cloud","Artificial Intelligence","Developer Tools"] },
158
+ ],
159
+ },
135
160
  "functions": {
136
161
  label: "Function",
137
162
  kind: "enum",
138
163
  groups: [
139
- { group: "Function", values: ["Administrative","Agriculture & Environment","Construction & Trades","Consulting & Advisory","Customer Service","Design","Education","Energy & Utilities","Entertainment & Gaming","Executive & Leadership","Finance","Hospitality & Tourism","Human Resources","Legal","Marketing","Media & Communications","Medical & Health","Non-Profit & Government","Not Employed","Operations","Personal & Home Services","Product","Project & Program Management","Public Safety & Security","Research & Science","Retail & Consumer","Sales","Software","Traditional Engineering","Transportation & Logistics"] },
164
+ { group: "Function", values: ["Administrative","Agriculture & Environment","Construction & Trades","Consulting & Advisory","Customer Service","Design","Education","Energy & Utilities","Entertainment & Gaming","Executive & Leadership","Finance","Hospitality & Tourism","Human Resources","Legal","Marketing","Media & Communications","Medical & Health","Non-Profit & Government","Not Employed","Operations","Personal & Home Services","Product","Project & Program Management","Public Safety & Security","Research & Science","Retail & Consumer","Sales","Software","Traditional Engineering","Transportation & Logistics"] },
140
165
  ],
141
166
  },
142
167
  "subFunctions": {
143
168
  label: "Sub-function",
144
169
  kind: "enum",
145
170
  groups: [
146
- { group: "Administrative", values: ["Data Entry","Executive Assistant","General Administrative","Office Management","Receptionist","Records Management","Scheduling","Virtual Assistant"] },
147
- { group: "Agriculture & Environment", values: ["Agriculture/Landscaping","ESG & Sustainability","Veterinary"] },
148
- { group: "Construction & Trades", values: ["Carpenter","Electrician","General Contractor","HVAC","Heavy Equipment Operators","Mason","Painter","Plumber","Roofer","Safety/HSE","Site Supervisor","Surveyor","Traditional Crafts","Welder"] },
149
- { group: "Consulting & Advisory", values: ["Advisors","Coaching","ESG & Sustainability","Financial Consulting","HR Consulting","IT Consulting","Independent Consulting","Management Consulting","Operations Consulting","Strategy Consulting"] },
150
- { group: "Customer Service", values: ["Call Center","Client Services","Customer Experience","Customer Operations","Customer Support","General Customer Service","Help Desk","IT Support/Help Desk","Technical Support"] },
151
- { group: "Design", values: ["Architecture","Brand Design","Creative/Design","Fashion Design","Graphic Design","Illustration","Industrial Design","Interaction Design","Interior Design","Motion Design","Photography","UI/UX Design","Visual Design"] },
152
- { group: "Education", values: ["Academia","Curriculum Development","Early Childhood Education","Education - Teaching","Educational Administration","Higher Education","K-12 Teaching","Library Services","Private Tutoring","Special Education","Training & Facilitation"] },
153
- { group: "Energy & Utilities", values: ["Energy/Mining","Mining","Nuclear","Oil & Gas","Power Generation","Renewable Energy","Utilities Operations"] },
154
- { group: "Entertainment & Gaming", values: ["Cultural Institutions","Sports","Video Games"] },
155
- { group: "Executive & Leadership", values: ["Board Member","Entrepreneur","Executive/C-Level","Finance Leadership","Founder/Owner","General Manager","HR Leadership","Managing Director","Marketing Leadership","Operations Leadership","Partner","President","Product Leadership","Sales Leadership","Supervisory/Team Lead","Technical Leadership","VP/Executive"] },
156
- { group: "Finance", values: ["Accounting","Audit","Banking/Finance","Billing & Collections","Controllers","Corporate Finance","Credit Analysis","ESG & Sustainability","Finance Leadership","Financial Planning & Analysis","Financial Reporting","Insurance","Investment","Investor Relations","Mergers & Acquisitions","Real Estate","Risk Management","Tax","Treasury"] },
157
- { group: "Hospitality & Tourism", values: ["Bartender","Chef/Culinary","Event Coordinator","Event Planning","Food Service","Front Desk","Hotel Management","Hotels/Hospitality","Housekeeping","Restaurant Management","Server/Waitstaff","Tour Guide","Travel Agent","Travel/Tourism"] },
158
- { group: "Human Resources", values: ["Compensation & Benefits","Diversity & Inclusion","Employee Relations","General HR","HR Business Partner","HR Compliance","HR Leadership","HR Operations","Learning & Development","Organizational Development","Payroll","People Analytics","Recruiting/Talent Acquisition","Talent Management","Workforce Planning"] },
159
- { group: "Legal", values: ["Compliance","Contracts","Corporate Law","Employment Law","General Legal","Intellectual Property","Litigation","Paralegal","Privacy & Data Protection","Regulatory Affairs"] },
160
- { group: "Marketing", values: ["Advertising","Brand Marketing","Communications","Content Marketing","Demand Generation","Digital Marketing","Email Marketing","Event Marketing","Event Planning","General Marketing","Growth Marketing","Market Research","Marketing Leadership","Marketing Operations","Product Marketing","Public Relations","SEO/SEM","Social Media Marketing"] },
161
- { group: "Media & Communications", values: ["Audio/Sound","Broadcasting","Content Creator","Copywriting","Editing","Film/Entertainment","Journalism","Public Affairs","Social Media Management","Translation/Writing","Video Production"] },
162
- { group: "Medical & Health", values: ["Allied Healthcare","Anesthesiology","Cardiology","Dental","Emergency Medicine","Healthcare Clinical","Medical Administration","Medical Research","Nursing","Oncology","Pediatrics","Pharmacy","Physical Therapy","Physicians/Doctors","Psychiatry/Psychology","Radiology","Surgery","Therapy/Mental Health","Veterinary"] },
163
- { group: "Non-Profit & Government", values: ["Advocacy","Community Outreach","Cultural Institutions","Fundraising","Government Administration","Grant Writing","International Development","Non-Profit/Volunteer","Nonprofit Management","Public Policy","Religious","Social Services","Social Work"] },
164
- { group: "Not Employed", values: ["Career Break","Freelancer","Job Seeker","Retired","Student"] },
165
- { group: "Operations", values: ["Business Operations","Distribution","ESG & Sustainability","Facilities Management","Fleet Management","IT Procurement","Inspector/Examiner","Inventory Management","Logistics","Manufacturing/Warehouse","Operations Leadership","Operations/General Mgmt","Process Improvement","Quality Management","Safety/HSE","Supply Chain/Procurement","Vendor Management","Warehouse Management"] },
166
- { group: "Personal & Home Services", values: ["Beauty","Childcare","Cleaning/Janitorial","Domestic/Care","Eldercare","Fitness/Wellness","Home Repair","Massage Therapy","Personal Assistant","Personal Training","Pet Services","Traditional Crafts"] },
167
- { group: "Product", values: ["Product Analytics","Product Leadership","Product Management","Product Operations","Product Owner","Product Strategy","Technical Product Management","UX Research"] },
168
- { group: "Project & Program Management", values: ["Agile/Scrum","Business Analysis","Construction Project Management","IT Project Management","IT/Agile","PMO","Program Management"] },
171
+ { group: "Administrative", values: ["Data Entry","Executive Assistant","General Administrative","Office Management","Receptionist","Records Management","Scheduling","Virtual Assistant"] },
172
+ { group: "Agriculture & Environment", values: ["Agriculture/Landscaping","ESG & Sustainability","Veterinary"] },
173
+ { group: "Construction & Trades", values: ["Carpenter","Electrician","General Contractor","HVAC","Heavy Equipment Operators","Mason","Painter","Plumber","Roofer","Safety/HSE","Site Supervisor","Surveyor","Traditional Crafts","Welder"] },
174
+ { group: "Consulting & Advisory", values: ["Advisors","Coaching","ESG & Sustainability","Financial Consulting","HR Consulting","IT Consulting","Independent Consulting","Management Consulting","Operations Consulting","Strategy Consulting"] },
175
+ { group: "Customer Service", values: ["Call Center","Client Services","Customer Experience","Customer Operations","Customer Support","General Customer Service","Help Desk","IT Support/Help Desk","Technical Support"] },
176
+ { group: "Design", values: ["Architecture","Brand Design","Creative/Design","Fashion Design","Graphic Design","Illustration","Industrial Design","Interaction Design","Interior Design","Motion Design","Photography","UI/UX Design","Visual Design"] },
177
+ { group: "Education", values: ["Academia","Curriculum Development","Early Childhood Education","Education - Teaching","Educational Administration","Higher Education","K-12 Teaching","Library Services","Private Tutoring","Special Education","Training & Facilitation"] },
178
+ { group: "Energy & Utilities", values: ["Energy/Mining","Mining","Nuclear","Oil & Gas","Power Generation","Renewable Energy","Utilities Operations"] },
179
+ { group: "Entertainment & Gaming", values: ["Cultural Institutions","Sports","Video Games"] },
180
+ { group: "Executive & Leadership", values: ["Board Member","Entrepreneur","Executive/C-Level","Finance Leadership","Founder/Owner","General Manager","HR Leadership","Managing Director","Marketing Leadership","Operations Leadership","Partner","President","Product Leadership","Sales Leadership","Supervisory/Team Lead","Technical Leadership","VP/Executive"] },
181
+ { group: "Finance", values: ["Accounting","Audit","Banking/Finance","Billing & Collections","Controllers","Corporate Finance","Credit Analysis","ESG & Sustainability","Finance Leadership","Financial Planning & Analysis","Financial Reporting","Insurance","Investment","Investor Relations","Mergers & Acquisitions","Real Estate","Risk Management","Tax","Treasury"] },
182
+ { group: "Hospitality & Tourism", values: ["Bartender","Chef/Culinary","Event Coordinator","Event Planning","Food Service","Front Desk","Hotel Management","Hotels/Hospitality","Housekeeping","Restaurant Management","Server/Waitstaff","Tour Guide","Travel Agent","Travel/Tourism"] },
183
+ { group: "Human Resources", values: ["Compensation & Benefits","Diversity & Inclusion","Employee Relations","General HR","HR Business Partner","HR Compliance","HR Leadership","HR Operations","Learning & Development","Organizational Development","Payroll","People Analytics","Recruiting/Talent Acquisition","Talent Management","Workforce Planning"] },
184
+ { group: "Legal", values: ["Compliance","Contracts","Corporate Law","Employment Law","General Legal","Intellectual Property","Litigation","Paralegal","Privacy & Data Protection","Regulatory Affairs"] },
185
+ { group: "Marketing", values: ["Advertising","Brand Marketing","Communications","Content Marketing","Demand Generation","Digital Marketing","Email Marketing","Event Marketing","Event Planning","General Marketing","Growth Marketing","Market Research","Marketing Leadership","Marketing Operations","Product Marketing","Public Relations","SEO/SEM","Social Media Marketing"] },
186
+ { group: "Media & Communications", values: ["Audio/Sound","Broadcasting","Content Creator","Copywriting","Editing","Film/Entertainment","Journalism","Public Affairs","Social Media Management","Translation/Writing","Video Production"] },
187
+ { group: "Medical & Health", values: ["Allied Healthcare","Anesthesiology","Cardiology","Dental","Emergency Medicine","Healthcare Clinical","Medical Administration","Medical Research","Nursing","Oncology","Pediatrics","Pharmacy","Physical Therapy","Physicians/Doctors","Psychiatry/Psychology","Radiology","Surgery","Therapy/Mental Health","Veterinary"] },
188
+ { group: "Non-Profit & Government", values: ["Advocacy","Community Outreach","Cultural Institutions","Fundraising","Government Administration","Grant Writing","International Development","Non-Profit/Volunteer","Nonprofit Management","Public Policy","Religious","Social Services","Social Work"] },
189
+ { group: "Not Employed", values: ["Career Break","Freelancer","Job Seeker","Retired","Student"] },
190
+ { group: "Operations", values: ["Business Operations","Distribution","ESG & Sustainability","Facilities Management","Fleet Management","IT Procurement","Inspector/Examiner","Inventory Management","Logistics","Manufacturing/Warehouse","Operations Leadership","Operations/General Mgmt","Process Improvement","Quality Management","Safety/HSE","Supply Chain/Procurement","Vendor Management","Warehouse Management"] },
191
+ { group: "Personal & Home Services", values: ["Beauty","Childcare","Cleaning/Janitorial","Domestic/Care","Eldercare","Fitness/Wellness","Home Repair","Massage Therapy","Personal Assistant","Personal Training","Pet Services","Traditional Crafts"] },
192
+ { group: "Product", values: ["Product Analytics","Product Leadership","Product Management","Product Operations","Product Owner","Product Strategy","Technical Product Management","UX Research"] },
193
+ { group: "Project & Program Management", values: ["Agile/Scrum","Business Analysis","Construction Project Management","IT Project Management","IT/Agile","PMO","Program Management"] },
169
194
  { group: "Public Safety & Security", values: ["Corrections","EMT/Paramedic","Firefighter","Inspector/Examiner","Military","Police Officer","Police/Fire/EMT","Private Investigation","Security (Physical)","Security Guard"] },
170
- { group: "Research & Science", values: ["Clinical Research","Environmental Science","Laboratory","Policy Research","Scientific Research","Social Science"] },
171
- { group: "Retail & Consumer", values: ["Buying/Merchandising","Cashier","E-commerce Operations","Loss Prevention","Retail Sales","Store Management","Visual Merchandising"] },
172
- { group: "Sales", values: ["Account Management","Business Development","Channel Sales","Customer Success","Enterprise Sales","Field Sales","General Sales","Inside Sales","Partnership Sales","Real Estate","Revenue Operations","SDR/BDR","Sales Enablement","Sales Engineering","Sales Leadership","Sales Operations"] },
173
- { group: "Software", values: ["AI/Machine Learning","Backend Engineering","Cloud Engineering","Cloud Operations","Cybersecurity","Data Engineering/Analytics","Database Administration","Database Engineering","DevOps","Embedded Systems","Enterprise Architecture","Firmware Engineering","Frontend Engineering","Fullstack Engineering","IT Infrastructure","IT/Agile","Mobile Engineering","Network Administration","Platform Engineering","QA/Quality","Security Engineering","Site Reliability Engineering","Software Engineering","Solutions Architecture","Systems Administration","Technical Leadership","Technical Writing","UI/UX Design","Video Games"] },
174
- { group: "Traditional Engineering", values: ["Aerospace Engineering","Architecture","Automotive Engineering","Biomedical Engineering","Chemical Engineering","Civil Engineering","Electrical Engineering","Environmental Engineering","Manufacturing Engineering","Materials Engineering","Mechanical Engineering","Robotics Engineering","Structural Engineering","Technician"] },
175
- { group: "Transportation & Logistics", values: ["Customs/Import-Export","Delivery Driver","Dispatcher","Freight Forwarding","Maritime","Pilot","Train Operator","Transportation","Truck Driver"] },
195
+ { group: "Research & Science", values: ["Clinical Research","Environmental Science","Laboratory","Policy Research","Scientific Research","Social Science"] },
196
+ { group: "Retail & Consumer", values: ["Buying/Merchandising","Cashier","E-commerce Operations","Loss Prevention","Retail Sales","Store Management","Visual Merchandising"] },
197
+ { group: "Sales", values: ["Account Management","Business Development","Channel Sales","Customer Success","Enterprise Sales","Field Sales","General Sales","Inside Sales","Partnership Sales","Real Estate","Revenue Operations","SDR/BDR","Sales Enablement","Sales Engineering","Sales Leadership","Sales Operations"] },
198
+ { group: "Software", values: ["AI/Machine Learning","Backend Engineering","Cloud Engineering","Cloud Operations","Cybersecurity","Data Engineering/Analytics","Database Administration","Database Engineering","DevOps","Embedded Systems","Enterprise Architecture","Firmware Engineering","Frontend Engineering","Fullstack Engineering","IT Infrastructure","IT/Agile","Mobile Engineering","Network Administration","Platform Engineering","QA/Quality","Security Engineering","Site Reliability Engineering","Software Engineering","Solutions Architecture","Systems Administration","Technical Leadership","Technical Writing","UI/UX Design","Video Games"] },
199
+ { group: "Traditional Engineering", values: ["Aerospace Engineering","Architecture","Automotive Engineering","Biomedical Engineering","Chemical Engineering","Civil Engineering","Electrical Engineering","Environmental Engineering","Manufacturing Engineering","Materials Engineering","Mechanical Engineering","Robotics Engineering","Structural Engineering","Technician"] },
200
+ { group: "Transportation & Logistics", values: ["Customs/Import-Export","Delivery Driver","Dispatcher","Freight Forwarding","Maritime","Pilot","Train Operator","Transportation","Truck Driver"] },
176
201
  ],
177
202
  },
178
203
  "industries": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dench.com/cli",
3
- "version": "3.5.1-staging.328",
3
+ "version": "3.5.3-staging.333",
4
4
  "description": "Dench agent workspace CLI.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -33,6 +33,7 @@
33
33
  "crm-comments.ts",
34
34
  "crm-analytics.ts",
35
35
  "crm-detections.ts",
36
+ "crm-privacy.ts",
36
37
  "meetings.ts",
37
38
  "email.ts",
38
39
  "campaign.ts",