@myvillage/cli 2.20.0 → 2.21.0
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
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
// The villager connects the provider once in MyVillage Studio or at
|
|
19
19
|
// myvillageproject.ai. These commands only manage the per-agent consent.
|
|
20
20
|
|
|
21
|
-
const VALID_PROVIDERS = ['google', 'microsoft', 'zoom', 'slack'];
|
|
21
|
+
const VALID_PROVIDERS = ['google', 'microsoft', 'zoom', 'slack', 'plaid'];
|
|
22
22
|
|
|
23
23
|
// Human-facing labels keyed by the lowercase slug the CLI accepts.
|
|
24
24
|
const PROVIDER_LABELS = {
|
|
@@ -26,6 +26,7 @@ const PROVIDER_LABELS = {
|
|
|
26
26
|
microsoft: 'Microsoft 365 (Outlook mail, Calendar)',
|
|
27
27
|
zoom: 'Zoom',
|
|
28
28
|
slack: 'Slack (channels, messages, search — acts as you)',
|
|
29
|
+
plaid: 'Bank accounts via Plaid (balances, transactions — read only)',
|
|
29
30
|
};
|
|
30
31
|
|
|
31
32
|
function fail(message) {
|
package/src/index.js
CHANGED
|
@@ -689,17 +689,17 @@ export function run() {
|
|
|
689
689
|
.description('List the MCP servers currently configured for an agent')
|
|
690
690
|
.action(agentListMcpCommand);
|
|
691
691
|
|
|
692
|
-
// Per-agent
|
|
692
|
+
// Per-agent credential grants (Google/Microsoft/Zoom/Slack/Plaid). The villager
|
|
693
693
|
// connects the provider once in the app/portal; these authorize a specific
|
|
694
694
|
// agent to use it via the MyVillage MCP server. Tokens never touch the CLI.
|
|
695
695
|
agentCmd
|
|
696
696
|
.command('grant <name> <provider>')
|
|
697
|
-
.description('Authorize an agent to use a connected provider (google, microsoft, zoom)')
|
|
697
|
+
.description('Authorize an agent to use a connected provider (google, microsoft, zoom, slack, plaid)')
|
|
698
698
|
.action(agentGrantCommand);
|
|
699
699
|
|
|
700
700
|
agentCmd
|
|
701
701
|
.command('revoke <name> <provider>')
|
|
702
|
-
.description('Revoke an agent\'s access to a provider (google, microsoft, zoom)')
|
|
702
|
+
.description('Revoke an agent\'s access to a provider (google, microsoft, zoom, slack, plaid)')
|
|
703
703
|
.action(agentRevokeCredentialCommand);
|
|
704
704
|
|
|
705
705
|
agentCmd
|