@attocash/cli 0.1.1 → 0.1.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 CHANGED
@@ -736,13 +736,13 @@ git clone https://github.com/attocash/integrations.git
736
736
  cd integrations
737
737
  npm ci
738
738
  npm run pack
739
- npm install --global ./attocash-cli-0.1.1.tgz
739
+ npm install --global ./attocash-cli-0.0.0.tgz
740
740
  ```
741
741
 
742
742
  To test MCP with the same local CLI build, install both artifacts together:
743
743
 
744
744
  ```sh
745
- npm install --global ./attocash-cli-0.1.1.tgz ./attocash-mcp-0.1.1.tgz
745
+ npm install --global ./attocash-cli-0.0.0.tgz ./attocash-mcp-0.0.0.tgz
746
746
  ```
747
747
 
748
748
  For development and testing, see the [contributor guide](https://github.com/attocash/integrations/blob/main/docs/contributing.md).
@@ -8,7 +8,6 @@ interface ProposalOptions {
8
8
  export declare function approveLimitsProposal({ id, directory }: ProposalOptions): Promise<unknown>;
9
9
  export declare function rejectLimitsProposal({ id, directory }: ProposalOptions): Promise<unknown>;
10
10
  /** Returns only public host configuration; recovery material is displayed directly on the TTY. */
11
- export declare function setupMcp({ version, directory }: {
12
- version: string;
11
+ export declare function setupMcp({ directory }: {
13
12
  directory?: string;
14
13
  }): Promise<unknown>;
@@ -107,7 +107,7 @@ async function configurePool(current) {
107
107
  return { indexes, consolidate };
108
108
  }
109
109
  /** Returns only public host configuration; recovery material is displayed directly on the TTY. */
110
- export async function setupMcp({ version, directory }) {
110
+ export async function setupMcp({ directory }) {
111
111
  requireTerminal();
112
112
  process.stderr.write('Atto MCP setup. Recovery phrases stay in your OS password store and this terminal.\n');
113
113
  const wallet = await choose('Wallet: [1] Dedicated MCP wallet (default), [2] Existing CLI wallet: ');
@@ -136,7 +136,7 @@ export async function setupMcp({ version, directory }) {
136
136
  const { proposal } = await application.call('limits_propose', { policy, access, pool });
137
137
  await approve(application, proposal.id);
138
138
  process.stderr.write('\nAdd this public configuration to your MCP client. The explicit data directory preserves your wallet selection.\n');
139
- return { mcpServers: { atto: { command: 'npx', args: ['--yes', `@attocash/mcp@${version}`, '--data-dir', profile.directory] } } };
139
+ return { mcpServers: { atto: { command: 'npx', args: ['--yes', '@attocash/mcp@latest', '--data-dir', profile.directory] } } };
140
140
  }
141
141
  finally {
142
142
  await application.close();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@attocash/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Atto wallet CLI and reusable wallet engine with local key custody and shared spending limits",
5
5
  "license": "BSD-3-Clause",
6
6
  "type": "module",