ethos-cli 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ethos-cli",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Commander-based CLI for Ethos table operations",
5
5
  "homepage": "https://github.com/cluster-software/ethos#readme",
6
6
  "repository": {
@@ -22,6 +22,12 @@ Prefer Ethos MCP tools when available:
22
22
  2. Inspect the sample result or open the returned table URL.
23
23
  3. Call `enrich_contact_info` with the returned contact-info column ID and `scope: "empty"`.
24
24
 
25
+ The `table_id` must be a PEOPLE table, never the company table a sourcing run
26
+ started from. After people sourcing, `inspect_table_summary` on the company
27
+ table returns the linked `people_table_id` once it exists; if it does not exist
28
+ yet, call `create_people_table` on the company table first and enrich the table
29
+ it returns.
30
+
25
31
  Use the CLI sections below only when MCP tools are unavailable or the user
26
32
  explicitly asks for the local CLI.
27
33
 
@@ -21,6 +21,10 @@ Prefer Ethos MCP tools when available:
21
21
  3. Poll `get_upload_handoff_status` until it returns a `result_table_id`.
22
22
  4. Use `search_ethos_tools` for table inspection if column/view IDs are needed.
23
23
  5. Call `source_people_from_company_table`, then run a small sample first.
24
+ 6. Poll `inspect_table_summary` on the company table until the sourcing run in
25
+ `recent_runs` is terminal, then call `create_people_table` to materialize the
26
+ linked people table. Run `enrich_contact_info` and campaign steps against
27
+ that people table id, never the company table.
24
28
 
25
29
  Use the CLI/hook sections below only when MCP tools are unavailable or the user
26
30
  explicitly asks for the local CLI. Avoid creating duplicate handoffs when MCP,
@@ -18,8 +18,13 @@ development or an explicitly requested environment.
18
18
  Prefer Ethos MCP tools when available:
19
19
 
20
20
  1. Call `find_people` with the final natural-language query.
21
- 2. Poll `get_find_people_status` with the returned `search_id`.
22
- 3. Return the people table ID/URL, counts, status, and refinement suggestions.
21
+ 2. If the response status is `needs_refinement` with no `search_id`, the query
22
+ was declined before starting; follow the response `next_action` either
23
+ rewrite the query to describe both companies and people, or pivot to
24
+ `create_table` + `source_people_from_company_table` using
25
+ `data.company_names`. Do not retry the same query.
26
+ 3. Poll `get_find_people_status` with the returned `search_id`.
27
+ 4. Return the people table ID/URL, counts, status, and refinement suggestions.
23
28
 
24
29
  Use the CLI sections below only when MCP tools are unavailable or the user
25
30
  explicitly asks for the local CLI.
@@ -130,10 +135,14 @@ ethos find-people start --query "$QUERY" --json
130
135
  Save `response.search_id`, `response.parsedParams`, `response.status`, and
131
136
  `response.progressMessage`.
132
137
 
133
- If the command returns `success: false`, inspect `error.suggestedAction` and
134
- `error.parsedParams`. When `suggestedAction` is not `combinedSearch`, tell the
135
- user the parser understood only company criteria or only person criteria, then
136
- rewrite the query so it includes both target companies and target individuals.
138
+ If the command returns `success: false`, inspect `error.suggestedAction`,
139
+ `error.companyNames`, and `error.parsedParams`. Queries that name specific
140
+ employers are converted to a search over exactly those companies automatically,
141
+ so a decline means the parse could not be run as-is. When `error.companyNames`
142
+ is non-empty, do not retry the same query; pivot to the
143
+ find-people-at-companies flow (create a company table with those companies and
144
+ run people sourcing on it). Otherwise rewrite the query so it includes both
145
+ target companies and target individuals.
137
146
 
138
147
  After a successful start, summarize the parsed params in plain language. Do not
139
148
  paste the full JSON unless the user asks for it.