@dench.com/cli 3.5.1-staging.328 → 3.5.2-staging.332

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
@@ -224,10 +224,9 @@ rows and reviews, then adds the list to Find Leads and the saved-list directory.
224
224
  Enriching contacts or explicitly importing people does not publish the draft.
225
225
  Existing lists without draft metadata remain saved.
226
226
 
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.
227
+ For new prospect discovery, the lead-finding skill reads
228
+ `/workspace/ORGANISATION.md` and does not create `ICP.md`. The current
229
+ request overrides that brief. The result is one saved list.
231
230
  Ordinary web, company, or hiring research does not require lead-finding or ICP
232
231
  questions, reads, or scoring. There is no mandatory per-profile ICP decision.
233
232
  In Find, click **Find** in a Work email, Phone, or Personal email cell to
@@ -255,9 +254,7 @@ unchanged. Optional `--filters-json` stores criteria/source evidence metadata.
255
254
  In chat, explicitly present the final list; research batches stay in activity
256
255
  details instead of becoming competing result sets.
257
256
 
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
257
+ Scoring is optional and only when the user asks. Saved assessments remain available
261
258
  in list reads and CSV exports; the **ICP fit** and **Why this lead** columns are
262
259
  temporarily hidden in Find. Scores are not conversion probabilities or CRM
263
260
  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>;
@@ -1437,6 +1443,7 @@ export interface ApiRequests {
1437
1443
  min?: number;
1438
1444
  max?: number;
1439
1445
  };
1446
+ /** 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
1447
  exactMatch?: boolean;
1441
1448
  limit?: number;
1442
1449
  offset?: number;
@@ -1456,6 +1463,7 @@ export interface ApiRequests {
1456
1463
  locations?: string[];
1457
1464
  /** Exact buckets: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+. */
1458
1465
  headcountRanges?: string[];
1466
+ /** Match free-text filters (name, locations, keywords) as whole strings. Default false. Domain, linkedinUrl and enum filters are always exact. */
1459
1467
  exactMatch?: boolean;
1460
1468
  limit?: number;
1461
1469
  offset?: number;
@@ -1474,6 +1482,8 @@ export interface ApiRequests {
1474
1482
  companyLinkedinUrl?: string;
1475
1483
  keywords?: string;
1476
1484
  postedAfter?: string;
1485
+ /** Inclusive posting end date (YYYY-MM-DD); includes the whole UTC day. */
1486
+ postedBefore?: string;
1477
1487
  limit?: number;
1478
1488
  /** Opaque token from a previous response's metadata.nextPageToken. */
1479
1489
  pageToken?: string;
@@ -3321,6 +3331,8 @@ export interface ApiResponses {
3321
3331
  "crm.entries.syncHistoryStatus": unknown;
3322
3332
  "crm.entries.dossier.get": unknown;
3323
3333
  "crm.entries.dossier.regenerate": unknown;
3334
+ "crm.privacy.get": unknown;
3335
+ "crm.privacy.set": unknown;
3324
3336
  "crm.detections.list": unknown;
3325
3337
  "crm.detections.undo": unknown;
3326
3338
  "crm.entries.history": unknown;
@@ -6238,7 +6250,7 @@ export type DenchApiTree = {
6238
6250
  /** Apply a CRM batch. (`dench crm batch`) */
6239
6251
  batch(args: Req<"crm.batch">): Promise<Res<"crm.batch">>;
6240
6252
  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`) */
6253
+ /** 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
6254
  get(args: Req<"crm.brief.get">): Promise<Res<"crm.brief.get">>;
6243
6255
  /** Rebuild a record's Brief from the current timeline. (`dench crm brief --regenerate`) */
6244
6256
  regenerate(args: Req<"crm.brief.regenerate">): Promise<Res<"crm.brief.regenerate">>;
@@ -6379,6 +6391,12 @@ export type DenchApiTree = {
6379
6391
  /** 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
6392
  search(args: Req<"crm.people.search">): Promise<Res<"crm.people.search">>;
6381
6393
  };
6394
+ privacy: {
6395
+ /** 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`) */
6396
+ get(args: Req<"crm.privacy.get">): Promise<Res<"crm.privacy.get">>;
6397
+ /** 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`) */
6398
+ set(args: Req<"crm.privacy.set">): Promise<Res<"crm.privacy.set">>;
6399
+ };
6382
6400
  /** Query CRM entries. (`dench crm query`) */
6383
6401
  query(args: Req<"crm.query">): Promise<Res<"crm.query">>;
6384
6402
  /** 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
@@ -134,6 +134,7 @@ type LeadsFindFlags = {
134
134
  foundedYears?: LeadsFindRange;
135
135
  keywords?: string;
136
136
  companyList?: string;
137
+ exactMatch?: boolean;
137
138
  limit?: number;
138
139
  pageToken?: string;
139
140
  name?: string;
@@ -165,30 +166,33 @@ function rangeFlag(args: string[], name: string): LeadsFindRange | undefined {
165
166
 
166
167
  function parseLeadsFindFlags(args: string[]): LeadsFindFlags {
167
168
  const flags: LeadsFindFlags = {
168
- titles: csvFlag(args, "--titles"),
169
- pastTitles: csvFlag(args, "--past-titles"),
169
+ titles: csvFlag(args, "--titles", "titles"),
170
+ pastTitles: csvFlag(args, "--past-titles", "pastTitles"),
170
171
  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"),
172
+ locations: csvFlag(args, "--locations", "locations"),
173
+ seniorities: csvFlag(args, "--seniorities", "seniorities"),
174
+ industries: csvFlag(args, "--industries", "industries"),
175
+ functions: csvFlag(args, "--functions", "functions"),
176
+ subFunctions: csvFlag(args, "--sub-functions", "subFunctions"),
176
177
  companyDomain: getFlag(args, "--company-domain"),
177
178
  companyDomains: csvFlag(args, "--company-domains"),
178
179
  companyNames: csvFlag(args, "--company-names"),
179
180
  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"),
181
+ companyHeadquarters: csvFlag(args, "--company-hq", "companyHeadquarters"),
182
+ companyTypes: csvFlag(args, "--company-types", "companyTypes"),
183
+ universities: csvFlag(args, "--universities", "universities"),
184
+ skills: csvFlag(args, "--skills", "skills"),
185
+ languages: csvFlag(args, "--languages", "languages"),
186
+ headcount: csvFlag(args, "--headcount", "headcount"),
186
187
  yearsInRole: rangeFlag(args, "--years-in-role"),
187
188
  yearsAtCompany: rangeFlag(args, "--years-at-company"),
188
189
  daysSinceJobChange: rangeFlag(args, "--days-since-job-change"),
189
190
  foundedYears: rangeFlag(args, "--founded-years"),
190
191
  keywords: getFlag(args, "--keywords"),
191
192
  companyList: getFlag(args, "--company-list"),
193
+ // Free-text filters default to substring matching. `--exact` restores
194
+ // whole-string matching for a caller who wants the narrow list.
195
+ exactMatch: hasFlag(args, "--exact") ? true : undefined,
192
196
  limit: parseLimit(args),
193
197
  pageToken: getFlag(args, "--page-token"),
194
198
  name: getFlag(args, "--save-as"),
@@ -196,7 +200,8 @@ function parseLeadsFindFlags(args: string[]): LeadsFindFlags {
196
200
  assertNoUnknownFlags(args, "leads find");
197
201
  const hasFilter = Object.entries(flags).some(
198
202
  ([key, value]) =>
199
- !["limit", "pageToken", "name"].includes(key) && value !== undefined,
203
+ !["limit", "pageToken", "name", "exactMatch"].includes(key) &&
204
+ value !== undefined,
200
205
  );
201
206
  if (!hasFilter) {
202
207
  throw new FindCliError(
@@ -214,13 +219,102 @@ export function assertLeadsFindArgs(args: string[]): void {
214
219
  parseLeadsFindFlags(copy.slice(1));
215
220
  }
216
221
 
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);
222
+ /**
223
+ * Split one flag value into filter entries without shredding names that
224
+ * legitimately contain a comma.
225
+ *
226
+ * `--industries "Technology, Information and Internet"` used to become TWO
227
+ * bogus industries and return zero rows, and 26 of the 490 shipped industries
228
+ * (plus every "University of California, X") carry a comma. Three ways out, in
229
+ * order of how much the caller has to know:
230
+ *
231
+ * 1. The whole value is a known vocabulary entry -> keep it whole.
232
+ * 2. Otherwise split on commas OUTSIDE quotes, then greedily re-join the
233
+ * longest run of adjacent parts that reconstructs a vocabulary entry.
234
+ * 3. Quote a value, or repeat the flag, to force the split you want.
235
+ *
236
+ * Greedy-longest is only ambiguous where a comma-containing entry's first
237
+ * segment is also an entry on its own — 2 of 490 industries ("Farming,
238
+ * Ranching, Forestry" and "Museums, Historical Sites, and Zoos"). Typing the
239
+ * canonical string should yield the canonical value, and repeating the flag
240
+ * expresses the other reading.
241
+ */
242
+ export function splitListValue(raw: string, vocabulary?: string[]): string[] {
243
+ const known = new Map(
244
+ (vocabulary ?? []).map((value) => [value.trim().toLowerCase(), value]),
245
+ );
246
+ const whole = raw.trim();
247
+ const wholeMatch = known.get(whole.toLowerCase());
248
+ if (wholeMatch) return [wholeMatch];
249
+
250
+ const parts: string[] = [];
251
+ let current = "";
252
+ let quote: '"' | "'" | null = null;
253
+ for (let index = 0; index < raw.length; index += 1) {
254
+ const char = raw[index];
255
+ if (quote) {
256
+ // Delimiters wrap the whole value; an apostrophe in McDonald's is data.
257
+ if (char === quote && /^\s*(,|$)/.test(raw.slice(index + 1)))
258
+ quote = null;
259
+ else current += char;
260
+ continue;
261
+ }
262
+ if ((char === '"' || char === "'") && current.trim() === "") {
263
+ quote = char;
264
+ continue;
265
+ }
266
+ if (char === ",") {
267
+ parts.push(current);
268
+ current = "";
269
+ continue;
270
+ }
271
+ current += char;
272
+ }
273
+ parts.push(current);
274
+ const trimmed = parts.map((part) => part.trim()).filter(Boolean);
275
+ if (!known.size) return trimmed;
276
+
277
+ const out: string[] = [];
278
+ for (let i = 0; i < trimmed.length; ) {
279
+ let matched: { value: string; next: number } | null = null;
280
+ for (let end = trimmed.length; end > i; end--) {
281
+ const joined = trimmed.slice(i, end).join(", ");
282
+ const hit = known.get(joined.toLowerCase());
283
+ if (hit) {
284
+ matched = { value: hit, next: end };
285
+ break;
286
+ }
287
+ }
288
+ if (matched) {
289
+ out.push(matched.value);
290
+ i = matched.next;
291
+ continue;
292
+ }
293
+ out.push(trimmed[i] as string);
294
+ i += 1;
295
+ }
296
+ return out;
297
+ }
298
+
299
+ function csvFlag(
300
+ args: string[],
301
+ name: string,
302
+ catalogKey?: keyof typeof FIND_FILTER_OPTION_CATALOG,
303
+ ): string[] | undefined {
304
+ const vocabulary = catalogKey
305
+ ? FIND_FILTER_OPTION_CATALOG[catalogKey]?.groups.flatMap(
306
+ (group) => group.values,
307
+ )
308
+ : undefined;
309
+ // Every occurrence accumulates, so repeating the flag is the escape hatch
310
+ // for a value the splitter would otherwise divide.
311
+ const values: string[] = [];
312
+ for (;;) {
313
+ const raw = getFlag(args, name);
314
+ if (raw === undefined) break;
315
+ values.push(...splitListValue(raw, vocabulary));
316
+ }
317
+ return values.length ? values : undefined;
224
318
  }
225
319
 
226
320
  function parseLimit(args: string[]): number | undefined {
@@ -390,6 +484,17 @@ Filter flags (all comma-separated lists unless noted):
390
484
  Ranges: --years-in-role --years-at-company --days-since-job-change
391
485
  --founded-years (min:max, e.g. 2:10, 2: or :10)
392
486
  Query: --keywords "fintech, AI"
487
+ Match: --exact match free-text filters as WHOLE strings
488
+
489
+ Free-text filters (titles, locations, company names, universities, skills)
490
+ match as substrings by default, so --titles "Founder" also finds "Co-Founder"
491
+ and "Founder & CEO". Pass --exact for whole-string matching when you want the
492
+ narrow list. Identifiers (domains, LinkedIn URLs) and enum filters are always
493
+ matched exactly either way.
494
+
495
+ A value that itself contains a comma is kept whole when it matches a known
496
+ vocabulary entry, so --industries "Technology, Information and Internet" is
497
+ one industry, not two. Quote it, or repeat the flag, to be explicit.
393
498
 
394
499
  \`dench leads filters\` prints the accepted values: enum filters (seniorities,
395
500
  functions, industries, headcount, company-types, languages) expect those
@@ -478,7 +583,8 @@ export function companiesHelp(): void {
478
583
 
479
584
  Usage:
480
585
  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]
586
+ 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]
587
+ Rows include a headquarters line (street where the provider has one).
482
588
 
483
589
  Finds companies through Dench search and writes a workspace list artifact.
484
590
  Pass --save-as to name the list (otherwise a title is generated).
@@ -494,7 +600,7 @@ export function jobsHelp(): void {
494
600
 
495
601
  Usage:
496
602
  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]
603
+ dench jobs find --company-list <artifactId|"Company view name"> [--titles "Account Executive"] [--posted-after 2026-09-01] [--posted-before 2026-09-30] [--json]
498
604
 
499
605
  Company filters: --company (name), --company-domain (single),
500
606
  --company-domains (comma-separated), or --company-list (a saved company
@@ -843,7 +949,7 @@ export function assertJobsFindArgs(args: string[]): void {
843
949
  !copy.includes("--keywords")
844
950
  ) {
845
951
  throw new FindCliError(
846
- "dench jobs find requires at least one of --titles, --locations, --company-domain, --company-domains, --company, --company-list, --keywords",
952
+ "dench jobs find requires at least one of --titles, --locations, --company-domain, --company-domains, --company, --company-list, --keywords, --posted-after, --posted-before",
847
953
  );
848
954
  }
849
955
  }
@@ -931,6 +1037,7 @@ export async function runLeadsCommand(opts: {
931
1037
  daysSinceJobChange: flags.daysSinceJobChange,
932
1038
  foundedYears: flags.foundedYears,
933
1039
  keywords: flags.keywords,
1040
+ exactMatch: flags.exactMatch,
934
1041
  limit: flags.limit,
935
1042
  pageToken: flags.pageToken,
936
1043
  },
@@ -1004,13 +1111,14 @@ export async function runJobsCommand(opts: {
1004
1111
  if (verb !== "find") {
1005
1112
  throw new FindCliError(`Unknown jobs verb: ${verb}`);
1006
1113
  }
1007
- const titles = csvFlag(args, "--titles");
1008
- const locations = csvFlag(args, "--locations");
1114
+ const titles = csvFlag(args, "--titles", "titles");
1115
+ const locations = csvFlag(args, "--locations", "locations");
1009
1116
  const companyDomain = getFlag(args, "--company-domain");
1010
1117
  const companyDomains = csvFlag(args, "--company-domains");
1011
1118
  const companyName = getFlag(args, "--company");
1012
1119
  const keywords = getFlag(args, "--keywords");
1013
1120
  const postedAfter = getFlag(args, "--posted-after");
1121
+ const postedBefore = getFlag(args, "--posted-before");
1014
1122
  const companyListRef = getFlag(args, "--company-list");
1015
1123
  const limit = parseLimit(args);
1016
1124
  const pageToken = getFlag(args, "--page-token");
@@ -1023,7 +1131,9 @@ export async function runJobsCommand(opts: {
1023
1131
  !companyDomains &&
1024
1132
  !companyName &&
1025
1133
  !keywords &&
1026
- !companyListRef
1134
+ !companyListRef &&
1135
+ !postedAfter &&
1136
+ !postedBefore
1027
1137
  ) {
1028
1138
  throw new FindCliError(
1029
1139
  "dench jobs find requires at least one of --titles, --locations, --company-domain, --company-domains, --company, --company-list, --keywords",
@@ -1043,6 +1153,7 @@ export async function runJobsCommand(opts: {
1043
1153
  companyNames: companyList?.names.length ? companyList.names : undefined,
1044
1154
  keywords,
1045
1155
  postedAfter,
1156
+ postedBefore,
1046
1157
  limit,
1047
1158
  pageToken,
1048
1159
  },
@@ -1067,6 +1178,7 @@ export async function runJobsCommand(opts: {
1067
1178
  companyName,
1068
1179
  keywords,
1069
1180
  postedAfter,
1181
+ postedBefore,
1070
1182
  limit,
1071
1183
  ...(companyListRef && companyList
1072
1184
  ? {
@@ -1155,10 +1267,11 @@ export async function runCompaniesCommand(opts: {
1155
1267
  const domain = getFlag(args, "--domain");
1156
1268
  const name = getFlag(args, "--name");
1157
1269
  const keywords = getFlag(args, "--keywords");
1158
- const industries = csvFlag(args, "--industries");
1159
- const locations = csvFlag(args, "--locations");
1270
+ const industries = csvFlag(args, "--industries", "industries");
1271
+ const locations = csvFlag(args, "--locations", "locations");
1160
1272
  const linkedinUrl = getFlag(args, "--linkedin");
1161
- const headcountRanges = csvFlag(args, "--headcount");
1273
+ const headcountRanges = csvFlag(args, "--headcount", "headcount");
1274
+ const exactMatch = hasFlag(args, "--exact") ? true : undefined;
1162
1275
  const limit = parseLimit(args);
1163
1276
  const pageToken = getFlag(args, "--page-token");
1164
1277
  const listName = getFlag(args, "--save-as");
@@ -1186,6 +1299,7 @@ export async function runCompaniesCommand(opts: {
1186
1299
  locations,
1187
1300
  linkedinUrl,
1188
1301
  headcountRanges,
1302
+ exactMatch,
1189
1303
  limit,
1190
1304
  pageToken,
1191
1305
  },
@@ -1864,7 +1864,15 @@ const peopleSearch = z.object({
1864
1864
  foundedYears: searchRange
1865
1865
  .optional()
1866
1866
  .describe("Company founded-year range, e.g. {min: 2015, max: 2024}."),
1867
- exactMatch: z.boolean().optional(),
1867
+ exactMatch: z
1868
+ .boolean()
1869
+ .optional()
1870
+ .describe(
1871
+ "Match free-text filters as whole strings. Default false: titles " +
1872
+ "['Founder'] also returns 'Co-Founder' and 'Founder & CEO'. Set " +
1873
+ "true to narrow. Domains, LinkedIn URLs, enum filters and numeric " +
1874
+ "ranges are always exact; keywords is always a loose text probe.",
1875
+ ),
1868
1876
  limit: z.number().int().positive().max(5000).optional(),
1869
1877
  offset: z.number().int().nonnegative().optional(),
1870
1878
  pageToken: z
@@ -1900,7 +1908,14 @@ const companySearch = z.object({
1900
1908
  .describe(
1901
1909
  "Exact buckets: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+.",
1902
1910
  ),
1903
- exactMatch: z.boolean().optional(),
1911
+ exactMatch: z
1912
+ .boolean()
1913
+ .optional()
1914
+ .describe(
1915
+ "Match free-text filters (name, locations, keywords) as whole " +
1916
+ "strings. Default false. Domain, linkedinUrl and enum filters are " +
1917
+ "always exact.",
1918
+ ),
1904
1919
  limit: z.number().int().positive().max(5000).optional(),
1905
1920
  offset: z.number().int().nonnegative().optional(),
1906
1921
  pageToken: z
@@ -1930,6 +1945,12 @@ const jobsSearch = z.object({
1930
1945
  companyLinkedinUrl: z.string().optional(),
1931
1946
  keywords: z.string().optional(),
1932
1947
  postedAfter: z.string().optional(),
1948
+ postedBefore: z
1949
+ .string()
1950
+ .optional()
1951
+ .describe(
1952
+ "Inclusive posting end date (YYYY-MM-DD); includes the whole UTC day.",
1953
+ ),
1933
1954
  limit: z.number().int().positive().max(5000).optional(),
1934
1955
  pageToken: z
1935
1956
  .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",
@@ -134,6 +134,7 @@ export type SearchJobsBody = {
134
134
  companyLinkedinUrl?: string;
135
135
  keywords?: string;
136
136
  postedAfter?: string;
137
+ postedBefore?: string;
137
138
  limit?: number;
138
139
  /** Opaque token from a previous response's `metadata.nextPageToken`. */
139
140
  pageToken?: string;
@@ -1518,6 +1519,7 @@ export async function searchJobs(
1518
1519
  payload.companyLinkedinUrl = body.companyLinkedinUrl;
1519
1520
  if (body.keywords) payload.keywords = body.keywords;
1520
1521
  if (body.postedAfter) payload.postedAfter = body.postedAfter;
1522
+ if (body.postedBefore) payload.postedBefore = body.postedBefore;
1521
1523
  if (body.limit !== undefined) payload.limit = body.limit;
1522
1524
  if (body.pageToken) payload.pageToken = body.pageToken;
1523
1525
  return callGatewayJson("/v1/enrichment/jobs/search", {
@@ -136,43 +136,43 @@ export const FIND_FILTER_OPTION_CATALOG: Record<string, FindFilterOptionCatalogE
136
136
  label: "Function",
137
137
  kind: "enum",
138
138
  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"] },
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"] },
140
140
  ],
141
141
  },
142
142
  "subFunctions": {
143
143
  label: "Sub-function",
144
144
  kind: "enum",
145
145
  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"] },
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"] },
169
169
  { 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"] },
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"] },
176
176
  ],
177
177
  },
178
178
  "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.2-staging.332",
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",