ethos-cli 0.1.3 → 0.1.4
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
|
@@ -14,10 +14,11 @@ pass `--api-url` for local development or an explicitly requested environment.
|
|
|
14
14
|
Always keep CSV upload browser-first:
|
|
15
15
|
|
|
16
16
|
1. Open Ethos in the browser with the CSV upload deep link.
|
|
17
|
-
2.
|
|
18
|
-
3.
|
|
19
|
-
4.
|
|
17
|
+
2. Immediately ask the user for ICP, buying signals, person targets, and max contacts while they upload.
|
|
18
|
+
3. Poll the browser URL until the upload-complete URL appears.
|
|
19
|
+
4. Save the uploaded table id from that URL.
|
|
20
20
|
5. Create the `people_sourcing` agent and Codex-created column with the CLI.
|
|
21
|
+
6. Run the column for the FIRST 3 ROWS ONLY. Tell the user you're running for 3 rows to see if the results are good. If yes, the next step is to run on the whole table. If not, refine the agent based on their feedback so it finds the right people.
|
|
21
22
|
|
|
22
23
|
Do not run `ethos tables import-csv` for this skill unless the user explicitly
|
|
23
24
|
asks for a CLI-only/non-browser fallback. The browser upload is part of the
|
|
@@ -42,12 +43,6 @@ the user explicitly wants a non-browser setup.
|
|
|
42
43
|
|
|
43
44
|
## Open Browser Upload
|
|
44
45
|
|
|
45
|
-
Choose the app origin:
|
|
46
|
-
|
|
47
|
-
- Use the current Ethos browser origin when the user is already looking at one.
|
|
48
|
-
- Use a user-provided app origin when explicitly working in local development.
|
|
49
|
-
- Otherwise use `https://ethos.hello-cluster.com`.
|
|
50
|
-
|
|
51
46
|
Open this URL in the browser:
|
|
52
47
|
|
|
53
48
|
```sh
|
|
@@ -58,24 +53,24 @@ if [ -n "${CODEX_THREAD_ID:-}" ]; then
|
|
|
58
53
|
fi
|
|
59
54
|
```
|
|
60
55
|
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
Run `open "$UPLOAD_URL"` and tell the user to upload the CSV there.
|
|
57
|
+
|
|
58
|
+
After opening the upload modal, immediately ask:
|
|
63
59
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
the same claim URL or `UPLOAD_URL` there and continue the browser-first upload
|
|
68
|
-
flow; do not spend time debugging embedded-browser auth state during the skill.
|
|
60
|
+
```text
|
|
61
|
+
Please describe your ICP, any signals that would make them a good fit for your product or service, and where that data may live. You can keep typing while the CSV uploads.
|
|
62
|
+
```
|
|
69
63
|
|
|
70
|
-
|
|
64
|
+
Then poll the browser URL every 2 seconds while the user uploads and answers.
|
|
65
|
+
The ONLY upload-completion indicator is this URL shape:
|
|
71
66
|
|
|
72
67
|
```text
|
|
73
68
|
/tables/<TABLE_ID>?codex_flow=find-people-at-companies&uploaded=1
|
|
74
69
|
```
|
|
75
70
|
|
|
76
|
-
When
|
|
77
|
-
|
|
78
|
-
|
|
71
|
+
When the browser URL matches that shape, save the table id from the URL. Start
|
|
72
|
+
inspecting the imported table, but do not let CLI inspection block the natural
|
|
73
|
+
next user prompt:
|
|
79
74
|
|
|
80
75
|
```sh
|
|
81
76
|
ethos tables get "$TABLE_ID" --json
|
|
@@ -90,7 +85,7 @@ cannot recover across accessible orgs and the table still cannot be read.
|
|
|
90
85
|
|
|
91
86
|
## Collect The Brief
|
|
92
87
|
|
|
93
|
-
|
|
88
|
+
After the upload-complete URL appears, ask only for anything still missing:
|
|
94
89
|
|
|
95
90
|
- ICP fit criteria for companies.
|
|
96
91
|
- Buying-signal criteria to prioritize.
|
|
@@ -166,15 +161,38 @@ The `--created-by-codex` flag is required. It marks the column with
|
|
|
166
161
|
lets the table UI show the Codex callout and auto-scroll to the new column when
|
|
167
162
|
it appears.
|
|
168
163
|
|
|
164
|
+
Only run the agent for 3 rows on the first run, so the user can give feedback.
|
|
165
|
+
|
|
169
166
|
## Keep Browser On The Table
|
|
170
167
|
|
|
171
|
-
|
|
172
|
-
If it is not, navigate to:
|
|
168
|
+
After the `source-people` command succeeds, bring the browser back to the table:
|
|
173
169
|
|
|
174
170
|
```sh
|
|
175
171
|
"$APP_BASE_URL/tables/$TABLE_ID"
|
|
176
172
|
```
|
|
177
173
|
|
|
174
|
+
The table UI should hide the upload return modal once the Codex-created column
|
|
175
|
+
appears, then auto-scroll to that column.
|
|
176
|
+
|
|
178
177
|
Then report the table URL, run id, and agent id. Keep the response concise and
|
|
179
178
|
mention that the Codex-created column should appear and auto-scroll into view in
|
|
180
179
|
Ethos.
|
|
180
|
+
|
|
181
|
+
## How to communicate with the user
|
|
182
|
+
|
|
183
|
+
While you execute the flow, keep communication with the user simple and approachable at all times. Do not mention internal ethos concepts unless explicitly necessary.
|
|
184
|
+
|
|
185
|
+
For example, instead of
|
|
186
|
+
|
|
187
|
+
"I’ll create the people-sourcing agent with those criteria, then run it only on the first 3 rows so you can judge the results before expanding."
|
|
188
|
+
|
|
189
|
+
say
|
|
190
|
+
|
|
191
|
+
"I’ll create an agent to find people with those criteria, then run it only on the first 3 rows so you can judge the results before expanding. Give me a second to set it up, you will see the agent start working in ethos soon."
|
|
192
|
+
|
|
193
|
+
If you need input from the user, make it very clear by bolding it and maybe mentioning it on a new line.
|
|
194
|
+
|
|
195
|
+
E.g.:
|
|
196
|
+
|
|
197
|
+
"**Next, please give me the following information** ..."
|
|
198
|
+
|