a2acalling 0.6.57 → 0.6.59

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/bin/cli.js CHANGED
@@ -681,20 +681,17 @@ async function handleDisclosureSubmit(args, commandLabel = 'onboard') {
681
681
 
682
682
  const publicTierPatch = {
683
683
  topics: getTierTopics(tiersData.public),
684
- goals: tokenGoals,
685
- disclosure: 'minimal'
684
+ goals: tokenGoals
686
685
  };
687
686
  if (publicTools.length > 0) publicTierPatch.allowed_tools = publicTools;
688
687
 
689
688
  const friendsTierPatch = {
690
- topics: [...getTierTopics(tiersData.public), ...getTierTopics(tiersData.friends)],
691
- disclosure: 'standard'
689
+ topics: [...getTierTopics(tiersData.public), ...getTierTopics(tiersData.friends)]
692
690
  };
693
691
  if (friendsTools.length > 0) friendsTierPatch.allowed_tools = friendsTools;
694
692
 
695
693
  const familyTierPatch = {
696
- topics: [...getTierTopics(tiersData.public), ...getTierTopics(tiersData.friends), ...getTierTopics(tiersData.family)],
697
- disclosure: 'full'
694
+ topics: [...getTierTopics(tiersData.public), ...getTierTopics(tiersData.friends), ...getTierTopics(tiersData.family)]
698
695
  };
699
696
  if (familyTools.length > 0) familyTierPatch.allowed_tools = familyTools;
700
697
 
@@ -877,7 +874,6 @@ const commands = {
877
874
  owner: ownerName,
878
875
  expires: args.flags.expires || args.flags.e || 'never',
879
876
  permissions: tier,
880
- disclosure: args.flags.disclosure || args.flags.d || 'minimal',
881
877
  notify: args.flags.notify || 'all',
882
878
  maxCalls,
883
879
  allowedTopics,
@@ -922,7 +918,6 @@ const commands = {
922
918
  if (Array.isArray(record.allowed_tools) && record.allowed_tools.length > 0) {
923
919
  console.log(`Tools: ${record.allowed_tools.join(', ')}`);
924
920
  }
925
- console.log(`Disclosure: ${record.disclosure}`);
926
921
  console.log(`Notify: ${record.notify}`);
927
922
  console.log(`Max calls: ${record.max_calls || 'unlimited'}`);
928
923
  if (record.timeout_ms) console.log(`Turn timeout: ${record.timeout_ms}ms`);
@@ -1687,8 +1682,11 @@ a2a add "${inviteUrl}" "${ownerText || 'friend'}" && a2a call "${ownerText || 'f
1687
1682
  gui: async (args) => {
1688
1683
  // GUI is always safe to open even before onboarding.
1689
1684
  const tab = (args.flags.tab || args.flags.t || '').trim().toLowerCase();
1690
- const allowedTabs = new Set(['contacts', 'calls', 'logs', 'settings', 'invites']);
1691
- const hash = allowedTabs.has(tab) ? `#${tab}` : '';
1685
+ // A2A-41: 'settings' remains as backward-compat alias for 'permissions'
1686
+ const tabAliases = { settings: 'permissions' };
1687
+ const resolvedTab = tabAliases[tab] || tab;
1688
+ const allowedTabs = new Set(['contacts', 'calls', 'logs', 'permissions', 'invites']);
1689
+ const hash = allowedTabs.has(resolvedTab) ? `#${resolvedTab}` : '';
1692
1690
 
1693
1691
  const urlFlag = args.flags.url;
1694
1692
  if (urlFlag) {
@@ -2987,7 +2985,6 @@ Commands:
2987
2985
  --permissions, -p Tier (public, friends, family)
2988
2986
  --topics Custom topics (comma-separated, overrides tier defaults)
2989
2987
  --tools Custom tool allowlist (comma-separated, overrides tier defaults)
2990
- --disclosure, -d Disclosure level (public, minimal, none)
2991
2988
  --notify Owner notification (all, summary, none)
2992
2989
  --max-calls Maximum invocations (default: 100)
2993
2990
  --timeout-ms Per-token Claude turn timeout in milliseconds
@@ -3031,7 +3028,7 @@ Calling:
3031
3028
  ping <url> Check if agent is reachable
3032
3029
  status <url> Get A2A status
3033
3030
  gui Open the local dashboard GUI in a browser
3034
- --tab, -t Optional: contacts|calls|logs|settings|invites
3031
+ --tab, -t Optional: contacts|calls|logs|permissions|invites
3035
3032
  app Manage native macOS app
3036
3033
  status Show native app installation status (default)
3037
3034
  install Install/update native app from GitHub release