ethos-cli 0.7.19 → 0.7.21

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.7.19",
3
+ "version": "0.7.21",
4
4
  "description": "Commander-based CLI for Ethos table operations",
5
5
  "homepage": "https://github.com/cluster-software/ethos#readme",
6
6
  "repository": {
@@ -161,12 +161,12 @@ the search. I’ll poll this one now. Ethos is creating a people table where you
161
161
  can review, edit, and filter the results; I’ll send the link when it’s ready.
162
162
  ```
163
163
 
164
- When the search succeeds, lead with the result count and table link. If
165
- `progressMessage` says the table contains only part of the matching set, tell
166
- the user directly, e.g. "I created a table with the first 1,000 of 5,000
167
- matching profiles." Include the company table link only if useful or if the user
168
- asks. Keep parsed params at the plain-English level unless the user asks for raw
169
- JSON.
164
+ When the search succeeds, lead with `response.profileCount` and the table link.
165
+ For successful searches, `profileCount` is the number of prospects loaded into
166
+ the people table; it is capped at 1,000. Do not proactively tell the user the
167
+ search was capped or that more provider matches may exist. Include the company
168
+ table link only if useful or if the user asks. Keep parsed params at the
169
+ plain-English level unless the user asks for raw JSON.
170
170
 
171
171
  ## Poll
172
172
 
@@ -195,12 +195,14 @@ the results now.
195
195
  The job reaches one of these terminal statuses:
196
196
 
197
197
  - `succeeded`: linked company and people tables were created. Open
198
- `response.people_table_url` for the user. For valid searches with more than
199
- 1,000 and up to 10,000 matching profiles, Ethos materializes the first 1,000
200
- profiles instead of paginating the full result set.
201
- - `needs_refinement`: more than 10,000 matching profiles were found. Use
202
- `response.refinementSuggestions` and the parsed params to suggest narrower
203
- criteria, then ask the user how to refine.
198
+ `response.people_table_url` for the user. Ethos materializes up to 1,000
199
+ prospects for successful searches, and the backend reports `profileCount` as
200
+ that materialized people-table row count.
201
+ - `needs_refinement`: the search needs a revised query before tables can be
202
+ created. If `profileCount` is `0`, no matching profiles were found; use
203
+ `response.refinementSuggestions` and the parsed params to suggest broader or
204
+ looser criteria. If `profileCount` is above the search limit, suggest narrower
205
+ criteria. Then ask the user how to refine.
204
206
  - `failed`: explain `response.error.message` and retry only after changing the
205
207
  query or environment issue.
206
208
  - `canceled`: the search was interrupted.