ethos-cli 0.1.3 → 0.1.5
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
|
@@ -11,13 +11,14 @@ pass `--api-url` for local development or an explicitly requested environment.
|
|
|
11
11
|
|
|
12
12
|
## Flow
|
|
13
13
|
|
|
14
|
-
Always keep CSV upload
|
|
14
|
+
Always keep CSV upload in the Codex in-app Browser:
|
|
15
15
|
|
|
16
|
-
1. Open Ethos in the
|
|
17
|
-
2.
|
|
18
|
-
3.
|
|
19
|
-
4.
|
|
16
|
+
1. Open Ethos in the in-app Browser with the CSV upload deep link.
|
|
17
|
+
2. Immediately ask the user for ICP, buying signals, person targets, and max contacts while they upload.
|
|
18
|
+
3. Poll that same in-app Browser tab 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,13 +43,7 @@ the user explicitly wants a non-browser setup.
|
|
|
42
43
|
|
|
43
44
|
## Open Browser Upload
|
|
44
45
|
|
|
45
|
-
|
|
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
|
-
Open this URL in the browser:
|
|
46
|
+
Open this URL in the Codex in-app Browser:
|
|
52
47
|
|
|
53
48
|
```sh
|
|
54
49
|
APP_BASE_URL="https://ethos.hello-cluster.com"
|
|
@@ -58,24 +53,26 @@ if [ -n "${CODEX_THREAD_ID:-}" ]; then
|
|
|
58
53
|
fi
|
|
59
54
|
```
|
|
60
55
|
|
|
61
|
-
Use the Browser plugin/in-app
|
|
62
|
-
|
|
56
|
+
Use the Browser plugin/in-app Browser to navigate to `$UPLOAD_URL` and tell
|
|
57
|
+
the user to upload the CSV there. Do not use `open`, Chrome, Safari, or any
|
|
58
|
+
external/default browser for this flow.
|
|
63
59
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
60
|
+
After opening the upload modal, immediately ask:
|
|
61
|
+
|
|
62
|
+
```text
|
|
63
|
+
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.
|
|
64
|
+
```
|
|
69
65
|
|
|
70
|
-
|
|
66
|
+
Then poll the in-app Browser URL every 2 seconds while the user uploads and answers.
|
|
67
|
+
The ONLY upload-completion indicator is this URL shape:
|
|
71
68
|
|
|
72
69
|
```text
|
|
73
70
|
/tables/<TABLE_ID>?codex_flow=find-people-at-companies&uploaded=1
|
|
74
71
|
```
|
|
75
72
|
|
|
76
|
-
When
|
|
77
|
-
|
|
78
|
-
|
|
73
|
+
When the browser URL matches that shape, save the table id from the URL. Start
|
|
74
|
+
inspecting the imported table, but do not let CLI inspection block the natural
|
|
75
|
+
next user prompt:
|
|
79
76
|
|
|
80
77
|
```sh
|
|
81
78
|
ethos tables get "$TABLE_ID" --json
|
|
@@ -90,7 +87,7 @@ cannot recover across accessible orgs and the table still cannot be read.
|
|
|
90
87
|
|
|
91
88
|
## Collect The Brief
|
|
92
89
|
|
|
93
|
-
|
|
90
|
+
After the upload-complete URL appears, ask only for anything still missing:
|
|
94
91
|
|
|
95
92
|
- ICP fit criteria for companies.
|
|
96
93
|
- Buying-signal criteria to prioritize.
|
|
@@ -166,15 +163,36 @@ The `--created-by-codex` flag is required. It marks the column with
|
|
|
166
163
|
lets the table UI show the Codex callout and auto-scroll to the new column when
|
|
167
164
|
it appears.
|
|
168
165
|
|
|
166
|
+
Only run the agent for 3 rows on the first run, so the user can give feedback.
|
|
167
|
+
|
|
169
168
|
## Keep Browser On The Table
|
|
170
169
|
|
|
171
|
-
|
|
172
|
-
If it is not, navigate to:
|
|
170
|
+
After the `source-people` command succeeds, bring the browser back to the table:
|
|
173
171
|
|
|
174
172
|
```sh
|
|
175
173
|
"$APP_BASE_URL/tables/$TABLE_ID"
|
|
176
174
|
```
|
|
177
175
|
|
|
178
|
-
Then
|
|
179
|
-
|
|
180
|
-
|
|
176
|
+
Then tell the user the agent is running on the first 3 rows. Do not surface
|
|
177
|
+
agent ids, run ids, table ids, or similar internal ids unless the user asks for
|
|
178
|
+
them or you are actively debugging.
|
|
179
|
+
|
|
180
|
+
## How to communicate with the user
|
|
181
|
+
|
|
182
|
+
While you execute the flow, keep communication simple and approachable. Avoid
|
|
183
|
+
explaining UI behavior that should happen automatically when everything is
|
|
184
|
+
working. Do not mention internal Ethos concepts unless explicitly necessary.
|
|
185
|
+
|
|
186
|
+
For example, instead of
|
|
187
|
+
|
|
188
|
+
"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."
|
|
189
|
+
|
|
190
|
+
say
|
|
191
|
+
|
|
192
|
+
"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."
|
|
193
|
+
|
|
194
|
+
If you need input from the user, make it very clear by bolding it and maybe mentioning it on a new line.
|
|
195
|
+
|
|
196
|
+
E.g.:
|
|
197
|
+
|
|
198
|
+
"**Next, please give me the following information** ..."
|