@audienti/cli 0.1.145 → 0.2.0-exora.1

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.
Files changed (66) hide show
  1. package/README.md +30 -902
  2. package/bin/audienti-mcp.mjs +2 -0
  3. package/cli/account-intake-operations.mjs +28 -0
  4. package/cli/account-intake.mjs +33 -0
  5. package/cli/account-replies.mjs +35 -0
  6. package/cli/account-reply-operations.mjs +30 -0
  7. package/cli/agents.mjs +107 -0
  8. package/cli/approach-operations.mjs +12 -0
  9. package/cli/assignment-operations.mjs +218 -0
  10. package/cli/assignment.mjs +116 -0
  11. package/cli/audience-operations.mjs +16 -0
  12. package/cli/audiences.mjs +26 -0
  13. package/cli/audienti.mjs +124 -0
  14. package/cli/connection-registry-operations.mjs +7 -0
  15. package/cli/content.mjs +29 -0
  16. package/cli/discovery-operations.mjs +27 -0
  17. package/cli/discovery.mjs +14 -0
  18. package/cli/experiment-operations.mjs +25 -0
  19. package/cli/experiments.mjs +26 -0
  20. package/cli/json-file.mjs +13 -0
  21. package/cli/mcp.mjs +47 -0
  22. package/cli/offer-operations.mjs +12 -0
  23. package/cli/offers.mjs +24 -0
  24. package/cli/owner-account-client.mjs +18 -0
  25. package/cli/profiles.mjs +29 -0
  26. package/cli/progress.mjs +12 -0
  27. package/cli/prospecting-settings-operations.mjs +16 -0
  28. package/cli/prospecting-settings.mjs +15 -0
  29. package/cli/recipient-operations.mjs +13 -0
  30. package/cli/recipients.mjs +30 -0
  31. package/cli/sender-account-operations.mjs +24 -0
  32. package/cli/sender-accounts.mjs +23 -0
  33. package/cli/skills-mcp.mjs +24 -0
  34. package/cli/skills.mjs +56 -0
  35. package/cli/suppression-operations.mjs +8 -0
  36. package/cli/suppression.mjs +12 -0
  37. package/cli/tools-operations.mjs +70 -0
  38. package/cli/tools.mjs +72 -0
  39. package/cli/work-execution-operations.mjs +35 -0
  40. package/cli/work-execution.mjs +29 -0
  41. package/cli/work-feedback-operations.mjs +17 -0
  42. package/cli/work-feedback.mjs +18 -0
  43. package/cli/work-operations.mjs +28 -0
  44. package/cli/work.mjs +27 -0
  45. package/cli/workspaces.mjs +158 -0
  46. package/package.json +15 -26
  47. package/skills/audienti/SKILL.md +61 -323
  48. package/skills/audienti/references/helpers.md +149 -0
  49. package/skills/audienti/references/profile-workflows.md +212 -0
  50. package/skills/audienti/references/workflow-receipt.md +49 -0
  51. package/skills/audienti/scripts/contracts.mjs +72 -0
  52. package/skills/audienti/scripts/profile-helpers.mjs +138 -0
  53. package/skills/audienti/scripts/run.mjs +40 -0
  54. package/source-manifest.json +59 -0
  55. package/.mcp.json +0 -13
  56. package/CHANGELOG.md +0 -1018
  57. package/bin/audienti-mcp.js +0 -5
  58. package/bin/audienti.js +0 -6
  59. package/install +0 -83
  60. package/skills/audienti/references/methodology.md +0 -111
  61. package/skills/audienti-gift-research/SKILL.md +0 -47
  62. package/src/agent-skills.js +0 -60
  63. package/src/api-client.js +0 -1639
  64. package/src/cli.js +0 -16992
  65. package/src/config.js +0 -130
  66. 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,59 @@
1
+ {
2
+ "repository": "https://github.com/omalab/exora",
3
+ "sourceCommit": "9cd6c048e9a33ac0b08ebf4980ac07c8c78a0446",
4
+ "files": {
5
+ "LICENSE": "220f297cfcd5c38eb64e6b4b4a77cab4ebc7f4686d4d99c6260a475d02ca11e5",
6
+ "bin/audienti-mcp.mjs": "6df1d6eb3a5bc65e7592e5b8f73cd4c98c159f2583723d042338633b356301df",
7
+ "cli/account-intake-operations.mjs": "b43d764c628beabafad753d711ddb2af2c64276e4a6506ed0b854839091ea5db",
8
+ "cli/account-intake.mjs": "aa77f2f96fd030f8830d6de278932186aea7c82cfda086a5a6cf569202feebc8",
9
+ "cli/account-replies.mjs": "699e34e5c736ba316df8f164b4c50f82a7e4e2d5e51303e6b13944c3f2c854ab",
10
+ "cli/account-reply-operations.mjs": "b4d65cf4459138909dba916012f78cc6cf4580748ed350d220132ec96adbdd83",
11
+ "cli/agents.mjs": "8d0f7a940f61a74408956b2c597aceb107a25d08877d733db9fddfa68aa33bdb",
12
+ "cli/approach-operations.mjs": "a84d0d406c60dd239b9fb1cbd1a6923c51a23a332e2afd6a789c680c6a7ef46c",
13
+ "cli/assignment-operations.mjs": "60d672702dcaca9514a7eff5cfde094844884361a22a7cf667c465a80c59a75d",
14
+ "cli/assignment.mjs": "44255a329529f897af1055828d5ca0bd2ea5182df62c4983006f4c5ab2547f0a",
15
+ "cli/audience-operations.mjs": "632fe13f59dbeeb0d264943b5df5643d1dc631a504363e2d1dbe1297f5ab9b78",
16
+ "cli/audiences.mjs": "6aa845c4351bd04577e74e0c7803e1d5d32acdf5de77e51a5413abbfa0db1263",
17
+ "cli/audienti.mjs": "8438c2034823571c6c79687ee8262af4daa3d9b29f6da4d12db2b3de9c10eba7",
18
+ "cli/connection-registry-operations.mjs": "2de6a46a4cace8392cb3705e7dc1d18e1d782ca136a170a6b556e60957749c05",
19
+ "cli/content.mjs": "db3fcbf7f96c314227a8172a442b70b46405126e0d61f8358cee1bfe6c627ebd",
20
+ "cli/discovery-operations.mjs": "dc564a591bd920df67ba2df65f31d973491c21687e6fba12125430a8ecad2c95",
21
+ "cli/discovery.mjs": "c0c23378ff93ecd86cba8d9e0add1fcc5a26f5e849cbc561860b93f50f0adb27",
22
+ "cli/experiment-operations.mjs": "68879e83e29b6a86ddaff5931fb3c38c072aadf40dee57513e33c43b8f9fdc5c",
23
+ "cli/experiments.mjs": "80a672d056b1f2cdff882c63ee39420c0b9e68167fbe4f8486a905e51c0de4cb",
24
+ "cli/json-file.mjs": "e1fa747c2ba7cdb1f013ed99789a7e4811c3f569cd7d9715f30ddededa34159e",
25
+ "cli/mcp.mjs": "4e746d5eb34ca68b32f544eb9085777a57e2e9bbddd3d2810c51cf9e10a1e6df",
26
+ "cli/offer-operations.mjs": "29587e874faed3db86bfdde9faf8aec6ea767152617879859f3f7b9236610874",
27
+ "cli/offers.mjs": "4a97007e1e25352707bbecda0b2519affcd0024e52ae8d9446d76d459460feca",
28
+ "cli/owner-account-client.mjs": "712b2fd5a8cb21f1baa88ebce1ee1750a44b34cf7d15a93be61e530aacf202c4",
29
+ "cli/profiles.mjs": "45929b224ffc916b6dbd7a94e06ac09a1ff7feec430633b10d160c1608fc2d32",
30
+ "cli/progress.mjs": "7bf270872d95c06aa48d49c3393e6e48e628b74cffb69a7929641ff7a0717b58",
31
+ "cli/prospecting-settings-operations.mjs": "37b881a867c19d9e5f2d02316038284ea0cf09de4f37b6dee2370a1faedf245e",
32
+ "cli/prospecting-settings.mjs": "b09f47c84416d9892d7d5b17dcf684cbb560e1cacb25513826ff04ef9307626e",
33
+ "cli/recipient-operations.mjs": "efc06c75d263169a35f5bac76dce133d4e78cf96a4b4a661531234a4d4007cdf",
34
+ "cli/recipients.mjs": "e5e30fc30ab325a43cffdc51ad8872cb657ce0f5d3cb304dd8af65c6d9224c75",
35
+ "cli/sender-account-operations.mjs": "f54b0e5ef6d6563752df95b2ce39c9a9a2e6ae2d53d13d6ef6c899cc92456aa7",
36
+ "cli/sender-accounts.mjs": "a3c569b5da55c22226f37d65d5a9144229860bf37fbfc7b5ac3c307a9ee9b048",
37
+ "cli/skills-mcp.mjs": "8eae2f456b0a3c39b905856e70c21204fe208e86d05f23a38949fb4fc584f808",
38
+ "cli/skills.mjs": "85f7ecc76e85b4014ac1356f399b3108eec4a152256aa6b4e0a7dfc44aaf2676",
39
+ "cli/suppression-operations.mjs": "d1f827a785670fc6e44d87b18e4cfb6596b09e5be7c4f84c4b9a75ed13a962c6",
40
+ "cli/suppression.mjs": "2b10be67e290deec9ed915139c3d98d45d7d10fd41abb67b5a35a630d636a4ed",
41
+ "cli/tools-operations.mjs": "ae8bbb8cc919aa8a9c796367f488911f2eda3670e81f85829972b13582827963",
42
+ "cli/tools.mjs": "229b096d8d858a22e0a08a2a745906e83873827c3d74a5b13a6607ae198c465f",
43
+ "cli/work-execution-operations.mjs": "cb5926acdb9e5cd3173c48868436b1a5e5ebd1b6cab372aec2e2ce447f4f62da",
44
+ "cli/work-execution.mjs": "5d9dba0dde20a7ec6ff6a2cbee140497171af9bfdd403f90e8ff8286a72862e7",
45
+ "cli/work-feedback-operations.mjs": "a998f2b2dbe38ceb2bad74f7fa61c31f87f842755449248b7eb0c04185c0ee3d",
46
+ "cli/work-feedback.mjs": "f3b77ecfd7ea1aba9c9f03c9d894137547e9c5575d9daa359ed94505ad025852",
47
+ "cli/work-operations.mjs": "f6544b69b424f839919e2c6c336b70a7be3aa0d147b18bc25479ca7a634117a5",
48
+ "cli/work.mjs": "b029727fb2a9e931e9e077d04e1976bfedc496e2ffcd74ccfa6490d109b5f139",
49
+ "cli/workspaces.mjs": "58e28acf3f5f82bbee35ea03478ec948390c908c6714330ace90118d552249cd",
50
+ "package.json": "a4d48a4c8704437707e7991b07af0f81296140bff1d50e662607c857a4ae7f50",
51
+ "skills/audienti/SKILL.md": "f6f8b3d74979c0e2e214d17a7fc77dcb93e957c37304d76791ddab88a6187914",
52
+ "skills/audienti/references/helpers.md": "b1eda3787dc0b10746c1272ada2689bfc29f014c2ea432d94733a8205a7d8dc3",
53
+ "skills/audienti/references/profile-workflows.md": "c44fcc0ce9142281aa309c3f0e771883a084100c86fbdd06561a3dc16e58c6db",
54
+ "skills/audienti/references/workflow-receipt.md": "349f9a85472832b8bdc6a5d16c5b10b8e32d48d3e81523ad8d42f9a03b3655ff",
55
+ "skills/audienti/scripts/contracts.mjs": "214aecaf3eec080196233e4e0fcf1e8cb07c5b30350aed70c3fec9db9f8e1f32",
56
+ "skills/audienti/scripts/profile-helpers.mjs": "7f62afdefd8e1b1bfec95f1ca6f48cfc4e204d1bff35f805261c45c6d5fcb46a",
57
+ "skills/audienti/scripts/run.mjs": "652094ff8b642d13f5e0bb30756bb49464c051511c37f202249fde917b319208"
58
+ }
59
+ }
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
- }