@audienti/cli 0.2.0-exora.19 → 0.2.0-exora.20

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/cli/mcp.mjs CHANGED
@@ -33,7 +33,7 @@ for (const [name, operation] of Object.entries(prospectingSettingsOperations)) {
33
33
  });
34
34
  }
35
35
  for(const [name,operation] of Object.entries(senderAccountOperations)){
36
- server.registerTool(name,{description:`${name.replaceAll('_',' ')}. Owner-scoped sender assertions; no workspace scope or provider calls. ${operation.ownerOnly?'Human agents:manage profile required.':name==='sender_activity_report'?'Authorized agent reports past ordinary activity for a matching bound sender; never invokes a provider.':'Agent reads only senders matching its own reports; no owner history.'}`,inputSchema:operation.schema},async args=>{
36
+ server.registerTool(name,{description:`${name.replaceAll('_',' ')}. ${operation.description??'Sender account assertion; never calls a provider.'} ${operation.ownerOnly?'Owner profile only.':name==='sender_activity_report'?'An authorized agent reports past activity for a matching bound sender.':'An agent reads only senders matching its own reports.'}`,inputSchema:operation.schema},async args=>{
37
37
  try{return {content:[{type:'text',text:JSON.stringify(await callSenderAccounts(name,args))}]};}
38
38
  catch(error){return {isError:true,content:[{type:'text',text:JSON.stringify({error:error.toJSON?error.toJSON():{code:'client_error',message:error.message}})}]};}
39
39
  });
@@ -16,7 +16,7 @@ export const senderAccountOperations={
16
16
  sender_activity_report:{schema:z.object({...base,senderAccountId:uuid,sourceEventId:opaque,namespace:identity.shape.namespace,occurredAt:z.iso.datetime({offset:true}),providerMessageId:opaque.nullable(),relatedAttemptId:uuid.nullable()}).strict(),method:'POST',path:a=>path(a)+'/activity',body},
17
17
  sender_alias_get:{schema:z.object({provider:alias.provider,accountRef:alias.accountRef}).strict(),method:'GET',path:a=>'/sender-accounts/alias'+query(a),ownerOnly:true},
18
18
  sender_accounts_list:{schema:z.object({cursor:uuid.optional(),limit:pageLimit}).strict(),method:'GET',path:a=>'/sender-accounts'+query(a)},
19
- sender_account_get:{schema:z.object({senderAccountId:uuid,aliasesCursor:text(1,1024).optional(),aliasesLimit:pageLimit,historyCursor:uuid.optional(),historyLimit:pageLimit}).strict(),method:'GET',path:a=>path(a)+query(body(a))},
19
+ sender_account_get:{schema:z.object({senderAccountId:uuid,aliasesCursor:text(1,1024).optional(),aliasesLimit:pageLimit,historyCursor:uuid.optional(),historyLimit:pageLimit}).strict(),method:'GET',path:a=>path(a)+query(body(a)),description:'Reads one sending account: its bound names and useIn (allWorkspaces and the workspaces, id and name, it is used in; only workspaces its user belongs to).'},
20
20
  sender_account_register:{schema:z.object({...base,...alias,agentId:uuid,accountIdentity:identity,useIn:useIn.optional()}).strict(),method:'POST',path:()=>'/sender-accounts',ownerOnly:true},
21
21
  sender_alias_bind:{schema:z.object({...base,...alias,senderAccountId:uuid,agentId:uuid}).strict(),method:'POST',path:a=>path(a)+'/aliases',body,ownerOnly:true},
22
22
  sender_alias_unbind:{schema:z.object({...base,...alias,senderAccountId:uuid}).strict(),method:'POST',path:a=>path(a)+'/aliases/unbind',body,ownerOnly:true},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@audienti/cli",
3
- "version": "0.2.0-exora.19",
3
+ "version": "0.2.0-exora.20",
4
4
  "description": "Audienti CLI and MCP client for app.audienti.com",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "repository": "https://github.com/omalab/exora",
3
- "sourceCommit": "a6ae26f0d63d6ad78f58157203675f491cb6a393",
3
+ "sourceCommit": "e7d64b5827794c0289354efbb3ff083d9bcc38c5",
4
4
  "files": {
5
5
  "LICENSE": "220f297cfcd5c38eb64e6b4b4a77cab4ebc7f4686d4d99c6260a475d02ca11e5",
6
6
  "README.md": "7ff32cc8ac89dd54b64d7b39c0b41b1f37e154b7ea10ad5a7bceefc3df77d87f",
@@ -41,7 +41,7 @@
41
41
  "cli/json-file.mjs": "96431b18215834c2531f5901e2526875c634dd2e85a9465fcffc937fbec52150",
42
42
  "cli/kv-operations.mjs": "505d79d0d535d3441883f8a37817c30c73367216a35dddb07181f0f0e799df79",
43
43
  "cli/kv.mjs": "05783610001dd002af07a4bb8f26e64d74aa4981bbe38a2100552b810cb3bc72",
44
- "cli/mcp.mjs": "289f6a68554e54fe0dbad290bf710ff7fad1c598421a83d3fb9b96979dac1eaa",
44
+ "cli/mcp.mjs": "b910ca424ce0f9c65b156087323d23077a5de33cabd0dd9f476aa0182c5cd999",
45
45
  "cli/notification-operations.mjs": "7225dbcfd87d29921e72ee247f61aaee323a4a2e5a48a9ba9c945b02f66e4978",
46
46
  "cli/offer-operations.mjs": "a03d467622be38bbf52bbfbbd54e6969bdd55af15a627f54356bb03eb1b4f508",
47
47
  "cli/offers.mjs": "4a97007e1e25352707bbecda0b2519affcd0024e52ae8d9446d76d459460feca",
@@ -67,7 +67,7 @@
67
67
  "cli/search-operations.mjs": "903f12fffb6824872160c4136925ab5638142bb4e39236b37f927cd2c6a43776",
68
68
  "cli/secret-operations.mjs": "faefe9c9ece81087dc7aab32e88f331ed942d0757ce5a978b5f0722d514f377f",
69
69
  "cli/secrets.mjs": "cab4ea932e724ce3c807c7825869810b44fb8d75cdacec32f8101353f0e7c5f5",
70
- "cli/sender-account-operations.mjs": "01ccec48cfef74d7f6dc8edbc7d339ed0e42af94bb55405540e32838fb51d21f",
70
+ "cli/sender-account-operations.mjs": "6bded184368b765616cb6bd0ca86fe76e96c271540bc9f4f2312f8d1a1e138a6",
71
71
  "cli/sender-accounts.mjs": "406abd62a489894bec2cb3c9ebcc1b19572ab8f2d0fab4854deb78ea7dd89d0a",
72
72
  "cli/skills-mcp.mjs": "6a91b16a789f50035ae0fe33f8ae2758bb9829949db7efb05c6d65dde335a9e0",
73
73
  "cli/skills.mjs": "ea8dfef32664714f9c63251d9a6bbdb44d77d41e272df46bb102ebfcd8df8b66",
@@ -84,7 +84,7 @@
84
84
  "cli/work-operations.mjs": "8b3a84ca15e8e4ad79ef92ced4c5adaffd5129f630e3bfc2c74a844a90867600",
85
85
  "cli/work.mjs": "751107ecc3de5a6be9db4a068cddc41f3ad8e77c87e59686eaf522862caf9e9f",
86
86
  "cli/workspaces.mjs": "eebe2c4bfc6ddedb2fb0dd551d5fa348eeda2fdf2105babd514b29a97f4d6225",
87
- "package.json": "706c6a417391f446280be9976f31adc46e36f70aca03ec9d4eb9b8f82ef9964a",
87
+ "package.json": "ea94bbe61434526dc5359a2e5f67c9eafc554998793ac621691cf8d2479147ba",
88
88
  "skills/agent-rooms/SKILL.md": "08f917ff85fee1d23499a4499056ce845b39ce6727029b104819dad41ee87cc2",
89
89
  "skills/agent-rooms/references/commands.md": "ef5afa5543ca9da967a147f638774647998ea1c1a2a821959f3bf87d54c292bd",
90
90
  "skills/audienti/SKILL.md": "8f2124065bfc3a005b44e194e7dcce9bbf14062ab332e7db66d441eeccb518ed",