ethos-cli 0.7.12 → 0.7.13
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 +0 -1
- package/dist/commands/agents.js +3 -6
- package/dist/commands/agents.js.map +1 -1
- package/dist/lib/table-types.d.ts +0 -1
- package/package.json +1 -1
- package/skills/create-enrichment-agent.md +3 -6
- package/skills/find-people-at-companies.md +1 -2
- package/skills/launch-gifting-campaign.md +4 -6
package/README.md
CHANGED
package/dist/commands/agents.js
CHANGED
|
@@ -38,16 +38,14 @@ export function registerAgents(program) {
|
|
|
38
38
|
});
|
|
39
39
|
const createCommand = addAgentOptions(agents
|
|
40
40
|
.command("create")
|
|
41
|
-
.description("Create an agent with workflow type, abilities, skills, tool presets
|
|
42
|
-
.requiredOption("--name <name>", "agent name")
|
|
43
|
-
.requiredOption("--instructions <instructions>", "full agent instructions prompt"), { includeClearFlags: false, includeCoreFlags: false });
|
|
41
|
+
.description("Create an agent with workflow type, abilities, skills, and tool presets")
|
|
42
|
+
.requiredOption("--name <name>", "agent name"), { includeClearFlags: false, includeCoreFlags: false });
|
|
44
43
|
createCommand.action(async () => {
|
|
45
44
|
await withClient(createCommand, async (client, config) => {
|
|
46
45
|
const options = createCommand.opts();
|
|
47
46
|
const body = compactObject({
|
|
48
47
|
name: options.name,
|
|
49
48
|
description: options.description,
|
|
50
|
-
instructions: options.instructions,
|
|
51
49
|
model: options.model,
|
|
52
50
|
workflow_type: parseWorkflowType(options.workflowType, "--workflow-type"),
|
|
53
51
|
abilities: parseAbilities(options.ability, "--ability"),
|
|
@@ -64,7 +62,6 @@ export function registerAgents(program) {
|
|
|
64
62
|
const body = compactObject({
|
|
65
63
|
name: options.name,
|
|
66
64
|
description: options.description,
|
|
67
|
-
instructions: options.instructions,
|
|
68
65
|
model: options.model,
|
|
69
66
|
workflow_type: parseUpdateWorkflowType(options),
|
|
70
67
|
abilities: parseUpdateList(options.ability, options.clearAbilities, "--ability", parseAbility),
|
|
@@ -86,7 +83,7 @@ export function registerAgents(program) {
|
|
|
86
83
|
}
|
|
87
84
|
function addAgentOptions(command, options) {
|
|
88
85
|
if (options.includeCoreFlags) {
|
|
89
|
-
command.option("--name <name>", "agent name")
|
|
86
|
+
command.option("--name <name>", "agent name");
|
|
90
87
|
}
|
|
91
88
|
command
|
|
92
89
|
.option("--description <description>", "agent description")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../../src/commands/agents.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../../src/commands/agents.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAiB/C,MAAM,aAAa,GAAG,IAAI,GAAG,CAAoB;IAC/C,oBAAoB;IACpB,mBAAmB;IACnB,iBAAiB;CAClB,CAAC,CAAC;AACH,MAAM,cAAc,GAAG;IACrB,YAAY;IACZ,WAAW;IACX,aAAa;IACb,WAAW;IACX,yBAAyB;IACzB,yBAAyB;CACD,CAAC;AAC3B,MAAM,SAAS,GAAG,IAAI,GAAG,CAAe,cAAc,CAAC,CAAC;AACxD,MAAM,WAAW,GAAG,IAAI,GAAG,CAAa,CAAC,YAAY,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC;AAE5E,MAAM,iBAAiB,GAAG;;;;;;sFAM4D,CAAC;AAEvF,MAAM,UAAU,cAAc,CAAC,OAAgB;IAC7C,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,C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EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;IACvE,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACjE,CAAC;AAED,SAAS,YAAY,CAAC,KAAa,EAAE,MAAc;IACjD,IAAI,SAAS,CAAC,GAAG,CAAC,KAAqB,CAAC;QAAE,OAAO,KAAqB,CAAC;IACvE,MAAM,IAAI,KAAK,CAAC,GAAG,MAAM,mBAAmB,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC5E,CAAC;AAED,SAAS,eAAe,CAAC,KAAa,EAAE,MAAc;IACpD,IAAI,WAAW,CAAC,GAAG,CAAC,KAAmB,CAAC;QAAE,OAAO,KAAmB,CAAC;IACrE,MAAM,IAAI,KAAK,CAAC,GAAG,MAAM,6CAA6C,CAAC,CAAC;AAC1E,CAAC;AAED,SAAS,SAAS,CAAC,MAA4B;IAC7C,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACrE,CAAC"}
|
package/package.json
CHANGED
|
@@ -65,7 +65,6 @@ ethos agents create \
|
|
|
65
65
|
--workflow-type company_enrichment \
|
|
66
66
|
--ability web-search \
|
|
67
67
|
--ability web-fetch \
|
|
68
|
-
--instructions "<full instructions prompt>" \
|
|
69
68
|
--json
|
|
70
69
|
```
|
|
71
70
|
|
|
@@ -79,9 +78,6 @@ ethos agents create \
|
|
|
79
78
|
Only add `--ability browser-use --tool-preset browser` when the task needs
|
|
80
79
|
genuine interactivity (forms, gated dynamic sites) — not for search
|
|
81
80
|
results, static pages, or LinkedIn lookups.
|
|
82
|
-
- Write `--instructions` as the agent's standing research brief: what to find,
|
|
83
|
-
what sources to trust, what to do when data is missing (return empty/false
|
|
84
|
-
rather than guessing), and to cite source URLs when the user wants evidence.
|
|
85
81
|
- Save `response.id` as the agent id. Use `ethos agents list --json`,
|
|
86
82
|
`ethos agents configure`, and `ethos agents delete` to manage agents. Pass
|
|
87
83
|
`--org-id` when the target table's org differs from the CLI default.
|
|
@@ -111,8 +107,9 @@ ethos tables columns create-agent "$TABLE_ID" \
|
|
|
111
107
|
user wants yes/no answers or counts they can filter and sort on.
|
|
112
108
|
- `--input-column` (repeatable) controls which row values the agent sees.
|
|
113
109
|
Pick the columns that identify the entity (name, domain, LinkedIn URL).
|
|
114
|
-
- The column prompt is the
|
|
115
|
-
|
|
110
|
+
- The column prompt is the source of truth for task behavior. Include what to
|
|
111
|
+
find, what sources to trust, how to handle missing data, and whether to cite
|
|
112
|
+
source URLs in the prompt.
|
|
116
113
|
|
|
117
114
|
Then start a run:
|
|
118
115
|
|
|
@@ -203,7 +203,6 @@ ethos --org-id "$TABLE_ORG_ID" agents create \
|
|
|
203
203
|
--ability web-fetch \
|
|
204
204
|
--ability linkedin-company-lookup \
|
|
205
205
|
--ability linkedin-profile-lookup \
|
|
206
|
-
--instructions "$AGENT_INSTRUCTIONS" \
|
|
207
206
|
--json
|
|
208
207
|
```
|
|
209
208
|
|
|
@@ -213,7 +212,7 @@ dynamic gated site, or retrieving information that normal search/fetch tools
|
|
|
213
212
|
cannot access. Do not add browser use just for search results, static websites,
|
|
214
213
|
LinkedIn lookup, press releases, jobs pages, or company pages.
|
|
215
214
|
|
|
216
|
-
|
|
215
|
+
Put this behavior in `--targeting-brief` when running `tables source-people`:
|
|
217
216
|
|
|
218
217
|
- The user's ICP and buying-signal criteria.
|
|
219
218
|
- The exact types of people to return.
|
|
@@ -213,9 +213,9 @@ queries, evidence URLs, and confidence scores inside the structured source cell.
|
|
|
213
213
|
when available; leave it blank or use "-" when it is not useful.
|
|
214
214
|
Do not mention the underlying external catalog/source. For same-gift mode,
|
|
215
215
|
ask the user to confirm the selected gift. For personalized research mode,
|
|
216
|
-
use the broader candidate set in the
|
|
216
|
+
use the broader candidate set in the column prompt. If the user asks for a
|
|
217
217
|
deterministic split, encode the split rule and selected catalog candidates
|
|
218
|
-
in the
|
|
218
|
+
in the column prompt.
|
|
219
219
|
|
|
220
220
|
7. Create the gifting setup agent.
|
|
221
221
|
|
|
@@ -230,7 +230,6 @@ queries, evidence URLs, and confidence scores inside the structured source cell.
|
|
|
230
230
|
ethos --org-id "$TABLE_ORG_ID" agents create \
|
|
231
231
|
--name "Gifting setup - <brief name>" \
|
|
232
232
|
--workflow-type person_enrichment \
|
|
233
|
-
--instructions "$AGENT_INSTRUCTIONS" \
|
|
234
233
|
--json
|
|
235
234
|
```
|
|
236
235
|
|
|
@@ -245,11 +244,10 @@ queries, evidence URLs, and confidence scores inside the structured source cell.
|
|
|
245
244
|
--ability web-search \
|
|
246
245
|
--ability web-fetch \
|
|
247
246
|
--ability linkedin-profile-lookup \
|
|
248
|
-
--instructions "$AGENT_INSTRUCTIONS" \
|
|
249
247
|
--json
|
|
250
248
|
```
|
|
251
249
|
|
|
252
|
-
The
|
|
250
|
+
The column prompt must tell the agent to return strict JSON with the output
|
|
253
251
|
fields above. `product_url` must be a provider-neutral URL when one is
|
|
254
252
|
present in tool output; otherwise use an empty string. Do not infer or expose
|
|
255
253
|
external catalog URLs. `gift_price` must be the formatted price per gift
|
|
@@ -261,7 +259,7 @@ queries, evidence URLs, and confidence scores inside the structured source cell.
|
|
|
261
259
|
matching catalog candidate, and include concise reasoning with a public link
|
|
262
260
|
when useful. If there is no strong public signal, use the best general
|
|
263
261
|
campaign gift and explain that no specific public preference was found.
|
|
264
|
-
Never mention the external catalog/source in
|
|
262
|
+
Never mention the external catalog/source in prompts, output, notes, or
|
|
265
263
|
chat.
|
|
266
264
|
|
|
267
265
|
8. Create the structured gifting agent column:
|