mech-client 0.15.0__py3-none-any.whl → 0.15.1__py3-none-any.whl

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.
mech_client/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """Mech client."""
2
2
 
3
- __version__ = "0.14.1"
3
+ __version__ = "0.15.1"
mech_client/cli.py CHANGED
@@ -114,6 +114,7 @@ def get_password(operate: OperateApp) -> str:
114
114
  if not operate.password:
115
115
  raise ClickException("Password could not be set for Operate.")
116
116
 
117
+ os.environ["OPERATE_PASSWORD"] = operate.password
117
118
  set_key(str(ENV_PATH), "OPERATE_PASSWORD", os.environ["OPERATE_PASSWORD"])
118
119
  os.environ["ATTENDED"] = "false"
119
120
  return os.environ["OPERATE_PASSWORD"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mech-client
3
- Version: 0.15.0
3
+ Version: 0.15.1
4
4
  Summary: Basic client to interact with a mech
5
5
  License: Apache-2.0
6
6
  Author: David Minarsch
@@ -76,17 +76,26 @@ Usage: mechx [OPTIONS] COMMAND [ARGS]...
76
76
  Command-line tool for interacting with mechs.
77
77
 
78
78
  Options:
79
- --version Show the version and exit.
80
- --help Show this message and exit.
79
+ --version Show the version and exit.
80
+ --client-mode Enables client mode
81
+ --help Show this message and exit.
81
82
 
82
83
  Commands:
83
- interact Interact with a mech specifying a prompt and tool.
84
- prompt-to-ipfs Upload a prompt and tool to IPFS as metadata.
85
- push-to-ipfs Upload a file to IPFS.
86
- to-png Convert a stability AI API's diffusion model output.
87
- tools-for-agents List tools available for all agents or a specific agent.
88
- tool-description Get the description of a specific tool.
89
- tool_io_schema Get the input/output schema of a specific tool.
84
+ deposit-native Deposits Native balance for prepaid marketplace requests
85
+ deposit-token Deposits Token balance for prepaid marketplace requests
86
+ fetch-mm-mechs-info Fetches info of marketplace mechs
87
+ interact Interact with a mech specifying a prompt and tool
88
+ prompt-to-ipfs Upload a prompt and tool to IPFS as metadata
89
+ purchase-nvm-subscription Allows to purchase Nevermined subscription
90
+ push-to-ipfs Upload a file to IPFS
91
+ setup-agent-mode Sets up the agent mode for users
92
+ to-png Convert a stability AI API's diffusion model output
93
+ tool-description Get the description of a specific tool (legacy mechs)
94
+ tool-description-for-marketplace-mech Get the description of a specific tool (marketplace mechs)
95
+ tool-io-schema Get the input/output schema of a specific tool (legacy mechs)
96
+ tool-io-schema-for-marketplace-mech Get the input/output schema of a specific tool (marketplace mechs)
97
+ tools-for-agents List tools available for all agents or a specific agent (legacy mechs)
98
+ tools-for-marketplace-mech List tools available for marketplace mechs
90
99
 
91
100
  ```
92
101
 
@@ -475,7 +484,7 @@ Description for tool 6-claude-prediction-offline: Makes a prediction using Claud
475
484
 
476
485
  ### Get Tool Input/Output Schema
477
486
 
478
- To get the input/output schema of a specific tool, use the `tool_io_schema` command. You need to specify the unique identifier of the tool.
487
+ To get the input/output schema of a specific tool, use the `tool-io-schema` command. You need to specify the unique identifier of the tool.
479
488
 
480
489
  ```bash
481
490
  mechx tool-io-schema <unique_identifier> --chain-config <chain_config>
@@ -1,4 +1,4 @@
1
- mech_client/__init__.py,sha256=qXP3KYo0kVvrn4GI8u6T0gw5y9DiN6Ryz_hOfpB6RIE,43
1
+ mech_client/__init__.py,sha256=Iu9RKNRKh9xSx9NxEMVPqWsKtDpP6qgpMbbJeGBd7V8,43
2
2
  mech_client/abis/AgentMech.json,sha256=IEbs_xBGunBu5h-uT5DvIty8Zw412QoPI46S_DUMYNw,18082
3
3
  mech_client/abis/AgentRegistry.json,sha256=2qmXeFINZWz9pyOma6Bq67kMDSUI1lD7WvgHLwuETD8,24723
4
4
  mech_client/abis/AgreementStoreManager.base.json,sha256=_ljdIZcfFGmFzBHUTfhA4X0382ZHHpkdr_CziTwUETo,34360
@@ -30,7 +30,7 @@ mech_client/abis/SubscriptionToken.base.json,sha256=5StPEyfRvDMTqtQPO-KakXXZqobX
30
30
  mech_client/abis/TransferNFTCondition.base.json,sha256=71O_3itHBz9qPtoTLev8_a7KxlcQfIZSfxK2562lkqw,42540
31
31
  mech_client/abis/TransferNFTCondition.gnosis.json,sha256=-huhxV54eoNY8mR9WtQdmSgQDgaKiUi0PULJ4HEshWw,42540
32
32
  mech_client/acn.py,sha256=Rj_jLPvJ5loDQfGbu3a_O24cJC4SwIErLceSz_zVYS8,5356
33
- mech_client/cli.py,sha256=mKdU39riRW4ALzUmLetVtaIowYinafBdNSXYt6agwz8,27577
33
+ mech_client/cli.py,sha256=4atyFMnVqN0TqczoI935hQKOD500ktt2dztUMFUPH8U,27631
34
34
  mech_client/configs/mechs.json,sha256=eR0yoNNtGozNB0w4KMx9E9dxM-zI10EhDSKnBuw8nP0,5099
35
35
  mech_client/delivery.py,sha256=PU_qSzP5juDRHiKQsyg6TH9oacc8nRoRY9BQBBe_fW0,5588
36
36
  mech_client/fetch_ipfs_hash.py,sha256=tg_hYVf4deXl89x3SOBrGFUthaSeN_Vg_OHDtfjdbp4,2752
@@ -68,8 +68,8 @@ scripts/nvm_subscription/manager.py,sha256=Ibx_QN8IzkbDGlqHutADl5Wj2a92FOQeXaxSR
68
68
  scripts/nvm_subscription/resources/networks.json,sha256=xH0P3YkgkMTkQdahVKO0kI9m6ybJ67iwHApstUlfRmw,2359
69
69
  scripts/utils.py,sha256=bbupA1PwBbVlMRojCFXEvj20eGAZ37PYRM2XsiwT85U,3332
70
70
  scripts/whitelist.py,sha256=7PDGrl5GADe6kphxAH02oR5xalYYQovUfBz-xPjUnxw,604
71
- mech_client-0.15.0.dist-info/LICENSE,sha256=mdBDB-mWKV5Cz4ejBzBiKqan6Z8zVLAh9xwM64O2FW4,11339
72
- mech_client-0.15.0.dist-info/METADATA,sha256=4Iopzz75bu_UBEeAIPhGIKM9xmNp1ipKjGNlh3Rv54I,30146
73
- mech_client-0.15.0.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
74
- mech_client-0.15.0.dist-info/entry_points.txt,sha256=SbRMRsayzD8XfNXhgwPuXEqQsdZ5Bw9XDPnUuaDExyY,45
75
- mech_client-0.15.0.dist-info/RECORD,,
71
+ mech_client-0.15.1.dist-info/LICENSE,sha256=mdBDB-mWKV5Cz4ejBzBiKqan6Z8zVLAh9xwM64O2FW4,11339
72
+ mech_client-0.15.1.dist-info/METADATA,sha256=NrLR6xHEj9ICvf0tZbQsQswFHI-N88UVYKN0XEymB0I,31133
73
+ mech_client-0.15.1.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
74
+ mech_client-0.15.1.dist-info/entry_points.txt,sha256=SbRMRsayzD8XfNXhgwPuXEqQsdZ5Bw9XDPnUuaDExyY,45
75
+ mech_client-0.15.1.dist-info/RECORD,,