@audienti/cli 0.1.145 → 0.2.0-exora.2
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 +47 -895
- package/bin/audienti-mcp.mjs +2 -0
- package/cli/account-intake-operations.mjs +28 -0
- package/cli/account-intake.mjs +33 -0
- package/cli/account-replies.mjs +35 -0
- package/cli/account-reply-operations.mjs +30 -0
- package/cli/agents.mjs +107 -0
- package/cli/approach-operations.mjs +22 -0
- package/cli/assignment-operations.mjs +218 -0
- package/cli/assignment.mjs +116 -0
- package/cli/audience-operations.mjs +16 -0
- package/cli/audiences.mjs +26 -0
- package/cli/audienti.mjs +124 -0
- package/cli/connection-registry-operations.mjs +7 -0
- package/cli/content.mjs +29 -0
- package/cli/discovery-operations.mjs +27 -0
- package/cli/discovery.mjs +14 -0
- package/cli/experiment-operations.mjs +25 -0
- package/cli/experiments.mjs +26 -0
- package/cli/json-file.mjs +13 -0
- package/cli/mcp.mjs +47 -0
- package/cli/offer-operations.mjs +12 -0
- package/cli/offers.mjs +24 -0
- package/cli/owner-account-client.mjs +18 -0
- package/cli/profiles.mjs +29 -0
- package/cli/progress.mjs +12 -0
- package/cli/prospecting-settings-operations.mjs +16 -0
- package/cli/prospecting-settings.mjs +15 -0
- package/cli/recipient-operations.mjs +13 -0
- package/cli/recipients.mjs +30 -0
- package/cli/sender-account-operations.mjs +24 -0
- package/cli/sender-accounts.mjs +23 -0
- package/cli/skills-mcp.mjs +24 -0
- package/cli/skills.mjs +56 -0
- package/cli/suppression-operations.mjs +8 -0
- package/cli/suppression.mjs +12 -0
- package/cli/tools-operations.mjs +70 -0
- package/cli/tools.mjs +72 -0
- package/cli/work-execution-operations.mjs +35 -0
- package/cli/work-execution.mjs +29 -0
- package/cli/work-feedback-operations.mjs +17 -0
- package/cli/work-feedback.mjs +18 -0
- package/cli/work-operations.mjs +28 -0
- package/cli/work.mjs +27 -0
- package/cli/workspaces.mjs +158 -0
- package/package.json +15 -26
- package/skills/audienti/SKILL.md +61 -323
- package/skills/audienti/references/helpers.md +149 -0
- package/skills/audienti/references/profile-workflows.md +212 -0
- package/skills/audienti/references/workflow-receipt.md +49 -0
- package/skills/audienti/scripts/contracts.mjs +72 -0
- package/skills/audienti/scripts/profile-helpers.mjs +138 -0
- package/skills/audienti/scripts/run.mjs +40 -0
- package/source-manifest.json +60 -0
- package/.mcp.json +0 -13
- package/CHANGELOG.md +0 -1018
- package/bin/audienti-mcp.js +0 -5
- package/bin/audienti.js +0 -6
- package/install +0 -83
- package/skills/audienti/references/methodology.md +0 -111
- package/skills/audienti-gift-research/SKILL.md +0 -47
- package/src/agent-skills.js +0 -60
- package/src/api-client.js +0 -1639
- package/src/cli.js +0 -16992
- package/src/config.js +0 -130
- package/src/mcp.js +0 -103
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { openSync, closeSync, readSync, realpathSync } from 'node:fs';
|
|
3
|
+
import { pathToFileURL } from 'node:url';
|
|
4
|
+
import { MAX_INPUT_BYTES } from './contracts.mjs';
|
|
5
|
+
import { runHelper } from './profile-helpers.mjs';
|
|
6
|
+
|
|
7
|
+
export function readHelperInput(path) {
|
|
8
|
+
const fd = path === '-' ? 0 : openSync(path, 'r');
|
|
9
|
+
try {
|
|
10
|
+
const chunks = []; let size = 0;
|
|
11
|
+
while (size <= MAX_INPUT_BYTES) {
|
|
12
|
+
const chunk = Buffer.alloc(Math.min(65536, MAX_INPUT_BYTES + 1 - size));
|
|
13
|
+
const count = readSync(fd, chunk, 0, chunk.length, null);
|
|
14
|
+
if (!count) break;
|
|
15
|
+
size += count; chunks.push(chunk.subarray(0, count));
|
|
16
|
+
}
|
|
17
|
+
if (size > MAX_INPUT_BYTES) throw new Error('Helper input exceeds 1 MiB.');
|
|
18
|
+
try { return JSON.parse(Buffer.concat(chunks).toString('utf8')); }
|
|
19
|
+
catch { throw new Error('Helper input must be valid JSON.'); }
|
|
20
|
+
} finally { if (fd !== 0) closeSync(fd); }
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export function executeHelperFile(name, path) {
|
|
24
|
+
// Neither a filename nor a helper name is ever imported or executed.
|
|
25
|
+
return runHelper(name, readHelperInput(path));
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
let isEntry = false;
|
|
29
|
+
try { isEntry = Boolean(process.argv[1] && import.meta.url === pathToFileURL(realpathSync(process.argv[1])).href); }
|
|
30
|
+
catch { /* Imported from a synthetic runner without a file entry point. */ }
|
|
31
|
+
if (isEntry) {
|
|
32
|
+
try {
|
|
33
|
+
const [name, flag, path, ...rest] = process.argv.slice(2);
|
|
34
|
+
if (!name || flag !== '--file' || !path || rest.length) throw new Error('Usage: node scripts/run.mjs HELPER --file INPUT.json|-');
|
|
35
|
+
process.stdout.write(`${JSON.stringify(executeHelperFile(name, path))}\n`);
|
|
36
|
+
} catch {
|
|
37
|
+
process.stderr.write('Skill helper failed. Use a bundled helper name and valid JSON input of at most 1 MiB.\n');
|
|
38
|
+
process.exitCode = 1;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repository": "https://github.com/omalab/exora",
|
|
3
|
+
"sourceCommit": "258d7e4d3f13e24006411b970b281c4e84fc620a",
|
|
4
|
+
"files": {
|
|
5
|
+
"LICENSE": "220f297cfcd5c38eb64e6b4b4a77cab4ebc7f4686d4d99c6260a475d02ca11e5",
|
|
6
|
+
"README.md": "87a67b553f899a9ffdc12b9561e8c467d20463ce5d60c8ea8b744e9517a4b661",
|
|
7
|
+
"bin/audienti-mcp.mjs": "6df1d6eb3a5bc65e7592e5b8f73cd4c98c159f2583723d042338633b356301df",
|
|
8
|
+
"cli/account-intake-operations.mjs": "b43d764c628beabafad753d711ddb2af2c64276e4a6506ed0b854839091ea5db",
|
|
9
|
+
"cli/account-intake.mjs": "aa77f2f96fd030f8830d6de278932186aea7c82cfda086a5a6cf569202feebc8",
|
|
10
|
+
"cli/account-replies.mjs": "699e34e5c736ba316df8f164b4c50f82a7e4e2d5e51303e6b13944c3f2c854ab",
|
|
11
|
+
"cli/account-reply-operations.mjs": "b4d65cf4459138909dba916012f78cc6cf4580748ed350d220132ec96adbdd83",
|
|
12
|
+
"cli/agents.mjs": "8d0f7a940f61a74408956b2c597aceb107a25d08877d733db9fddfa68aa33bdb",
|
|
13
|
+
"cli/approach-operations.mjs": "9ae0a5797eb6502824c16f34a129283296a2dc603f46a57d6315ba6173bf7a33",
|
|
14
|
+
"cli/assignment-operations.mjs": "60d672702dcaca9514a7eff5cfde094844884361a22a7cf667c465a80c59a75d",
|
|
15
|
+
"cli/assignment.mjs": "44255a329529f897af1055828d5ca0bd2ea5182df62c4983006f4c5ab2547f0a",
|
|
16
|
+
"cli/audience-operations.mjs": "632fe13f59dbeeb0d264943b5df5643d1dc631a504363e2d1dbe1297f5ab9b78",
|
|
17
|
+
"cli/audiences.mjs": "6aa845c4351bd04577e74e0c7803e1d5d32acdf5de77e51a5413abbfa0db1263",
|
|
18
|
+
"cli/audienti.mjs": "8438c2034823571c6c79687ee8262af4daa3d9b29f6da4d12db2b3de9c10eba7",
|
|
19
|
+
"cli/connection-registry-operations.mjs": "2de6a46a4cace8392cb3705e7dc1d18e1d782ca136a170a6b556e60957749c05",
|
|
20
|
+
"cli/content.mjs": "db3fcbf7f96c314227a8172a442b70b46405126e0d61f8358cee1bfe6c627ebd",
|
|
21
|
+
"cli/discovery-operations.mjs": "dc564a591bd920df67ba2df65f31d973491c21687e6fba12125430a8ecad2c95",
|
|
22
|
+
"cli/discovery.mjs": "c0c23378ff93ecd86cba8d9e0add1fcc5a26f5e849cbc561860b93f50f0adb27",
|
|
23
|
+
"cli/experiment-operations.mjs": "274f6d45f25cb93e0eeec04f792bf014a9924c492e5d2b7b63f9babd08cb7e8e",
|
|
24
|
+
"cli/experiments.mjs": "80a672d056b1f2cdff882c63ee39420c0b9e68167fbe4f8486a905e51c0de4cb",
|
|
25
|
+
"cli/json-file.mjs": "e1fa747c2ba7cdb1f013ed99789a7e4811c3f569cd7d9715f30ddededa34159e",
|
|
26
|
+
"cli/mcp.mjs": "4e746d5eb34ca68b32f544eb9085777a57e2e9bbddd3d2810c51cf9e10a1e6df",
|
|
27
|
+
"cli/offer-operations.mjs": "868933828053a58e05108607a47d7968e0ff1d4db0a6d1598cce5b83a0439837",
|
|
28
|
+
"cli/offers.mjs": "4a97007e1e25352707bbecda0b2519affcd0024e52ae8d9446d76d459460feca",
|
|
29
|
+
"cli/owner-account-client.mjs": "712b2fd5a8cb21f1baa88ebce1ee1750a44b34cf7d15a93be61e530aacf202c4",
|
|
30
|
+
"cli/profiles.mjs": "45929b224ffc916b6dbd7a94e06ac09a1ff7feec430633b10d160c1608fc2d32",
|
|
31
|
+
"cli/progress.mjs": "62ef3599a0ea3c58f8f33b486f6be48a1d61fcf8fcaace415a0aa50385f1d822",
|
|
32
|
+
"cli/prospecting-settings-operations.mjs": "37b881a867c19d9e5f2d02316038284ea0cf09de4f37b6dee2370a1faedf245e",
|
|
33
|
+
"cli/prospecting-settings.mjs": "b09f47c84416d9892d7d5b17dcf684cbb560e1cacb25513826ff04ef9307626e",
|
|
34
|
+
"cli/recipient-operations.mjs": "efc06c75d263169a35f5bac76dce133d4e78cf96a4b4a661531234a4d4007cdf",
|
|
35
|
+
"cli/recipients.mjs": "e5e30fc30ab325a43cffdc51ad8872cb657ce0f5d3cb304dd8af65c6d9224c75",
|
|
36
|
+
"cli/sender-account-operations.mjs": "f54b0e5ef6d6563752df95b2ce39c9a9a2e6ae2d53d13d6ef6c899cc92456aa7",
|
|
37
|
+
"cli/sender-accounts.mjs": "a3c569b5da55c22226f37d65d5a9144229860bf37fbfc7b5ac3c307a9ee9b048",
|
|
38
|
+
"cli/skills-mcp.mjs": "8eae2f456b0a3c39b905856e70c21204fe208e86d05f23a38949fb4fc584f808",
|
|
39
|
+
"cli/skills.mjs": "85f7ecc76e85b4014ac1356f399b3108eec4a152256aa6b4e0a7dfc44aaf2676",
|
|
40
|
+
"cli/suppression-operations.mjs": "d1f827a785670fc6e44d87b18e4cfb6596b09e5be7c4f84c4b9a75ed13a962c6",
|
|
41
|
+
"cli/suppression.mjs": "2b10be67e290deec9ed915139c3d98d45d7d10fd41abb67b5a35a630d636a4ed",
|
|
42
|
+
"cli/tools-operations.mjs": "ae8bbb8cc919aa8a9c796367f488911f2eda3670e81f85829972b13582827963",
|
|
43
|
+
"cli/tools.mjs": "229b096d8d858a22e0a08a2a745906e83873827c3d74a5b13a6607ae198c465f",
|
|
44
|
+
"cli/work-execution-operations.mjs": "cb5926acdb9e5cd3173c48868436b1a5e5ebd1b6cab372aec2e2ce447f4f62da",
|
|
45
|
+
"cli/work-execution.mjs": "5d9dba0dde20a7ec6ff6a2cbee140497171af9bfdd403f90e8ff8286a72862e7",
|
|
46
|
+
"cli/work-feedback-operations.mjs": "a998f2b2dbe38ceb2bad74f7fa61c31f87f842755449248b7eb0c04185c0ee3d",
|
|
47
|
+
"cli/work-feedback.mjs": "f3b77ecfd7ea1aba9c9f03c9d894137547e9c5575d9daa359ed94505ad025852",
|
|
48
|
+
"cli/work-operations.mjs": "f6544b69b424f839919e2c6c336b70a7be3aa0d147b18bc25479ca7a634117a5",
|
|
49
|
+
"cli/work.mjs": "b029727fb2a9e931e9e077d04e1976bfedc496e2ffcd74ccfa6490d109b5f139",
|
|
50
|
+
"cli/workspaces.mjs": "58e28acf3f5f82bbee35ea03478ec948390c908c6714330ace90118d552249cd",
|
|
51
|
+
"package.json": "fb0d6e371369bdd9dde2b82ccfc69a4824fcfb051001d39811b3e440df0be099",
|
|
52
|
+
"skills/audienti/SKILL.md": "f6f8b3d74979c0e2e214d17a7fc77dcb93e957c37304d76791ddab88a6187914",
|
|
53
|
+
"skills/audienti/references/helpers.md": "b1eda3787dc0b10746c1272ada2689bfc29f014c2ea432d94733a8205a7d8dc3",
|
|
54
|
+
"skills/audienti/references/profile-workflows.md": "c44fcc0ce9142281aa309c3f0e771883a084100c86fbdd06561a3dc16e58c6db",
|
|
55
|
+
"skills/audienti/references/workflow-receipt.md": "349f9a85472832b8bdc6a5d16c5b10b8e32d48d3e81523ad8d42f9a03b3655ff",
|
|
56
|
+
"skills/audienti/scripts/contracts.mjs": "214aecaf3eec080196233e4e0fcf1e8cb07c5b30350aed70c3fec9db9f8e1f32",
|
|
57
|
+
"skills/audienti/scripts/profile-helpers.mjs": "7f62afdefd8e1b1bfec95f1ca6f48cfc4e204d1bff35f805261c45c6d5fcb46a",
|
|
58
|
+
"skills/audienti/scripts/run.mjs": "652094ff8b642d13f5e0bb30756bb49464c051511c37f202249fde917b319208"
|
|
59
|
+
}
|
|
60
|
+
}
|
package/.mcp.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"mcpServers": {
|
|
3
|
-
"audienti": {
|
|
4
|
-
"title": "Audienti",
|
|
5
|
-
"description": "Bridge MCP clients to Audienti's app-hosted /mcp endpoint for accounts, plays, prospects, lists, analytics, and operator workflows.",
|
|
6
|
-
"cwd": ".",
|
|
7
|
-
"command": "node",
|
|
8
|
-
"args": [
|
|
9
|
-
"./bin/audienti-mcp.js"
|
|
10
|
-
]
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|