mech-client 0.15.0__tar.gz → 0.15.1__tar.gz

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.
Files changed (75) hide show
  1. {mech_client-0.15.0 → mech_client-0.15.1}/PKG-INFO +20 -11
  2. {mech_client-0.15.0 → mech_client-0.15.1}/README.md +19 -10
  3. mech_client-0.15.1/mech_client/__init__.py +3 -0
  4. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/cli.py +1 -0
  5. {mech_client-0.15.0 → mech_client-0.15.1}/pyproject.toml +1 -1
  6. mech_client-0.15.0/mech_client/__init__.py +0 -3
  7. {mech_client-0.15.0 → mech_client-0.15.1}/LICENSE +0 -0
  8. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/AgentMech.json +0 -0
  9. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/AgentRegistry.json +0 -0
  10. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/AgreementStoreManager.base.json +0 -0
  11. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/AgreementStoreManager.gnosis.json +0 -0
  12. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/BalanceTrackerFixedPriceNative.json +0 -0
  13. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/BalanceTrackerFixedPriceToken.json +0 -0
  14. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/BalanceTrackerNvmSubscriptionNative.json +0 -0
  15. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/BalanceTrackerNvmSubscriptionToken.json +0 -0
  16. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/ComplementaryServiceMetadata.json +0 -0
  17. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/DIDRegistry.base.json +0 -0
  18. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/DIDRegistry.gnosis.json +0 -0
  19. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/EscrowPaymentCondition.base.json +0 -0
  20. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/EscrowPaymentCondition.gnosis.json +0 -0
  21. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/IERC1155.json +0 -0
  22. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/IMech.json +0 -0
  23. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/IToken.json +0 -0
  24. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/LockPaymentCondition.base.json +0 -0
  25. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/LockPaymentCondition.gnosis.json +0 -0
  26. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/MechMarketplace.json +0 -0
  27. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/NFTSalesTemplate.base.json +0 -0
  28. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/NFTSalesTemplate.gnosis.json +0 -0
  29. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/NeverminedConfig.base.json +0 -0
  30. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/NeverminedConfig.gnosis.json +0 -0
  31. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/SubscriptionNFT.base.json +0 -0
  32. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/SubscriptionNFT.gnosis.json +0 -0
  33. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/SubscriptionProvider.base.json +0 -0
  34. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/SubscriptionProvider.gnosis.json +0 -0
  35. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/SubscriptionToken.base.json +0 -0
  36. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/TransferNFTCondition.base.json +0 -0
  37. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/abis/TransferNFTCondition.gnosis.json +0 -0
  38. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/acn.py +0 -0
  39. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/configs/mechs.json +0 -0
  40. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/delivery.py +0 -0
  41. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/fetch_ipfs_hash.py +0 -0
  42. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/helpers/__init__.py +0 -0
  43. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/interact.py +0 -0
  44. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/marketplace_interact.py +0 -0
  45. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/mech_marketplace_subgraph.py +0 -0
  46. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/mech_marketplace_tool_management.py +0 -0
  47. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/mech_tool_management.py +0 -0
  48. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/prompt_to_ipfs.py +0 -0
  49. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/push_to_ipfs.py +0 -0
  50. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/safe.py +0 -0
  51. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/subgraph.py +0 -0
  52. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/to_png.py +0 -0
  53. {mech_client-0.15.0 → mech_client-0.15.1}/mech_client/wss.py +0 -0
  54. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/__init__.py +0 -0
  55. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/benchmark.sh +0 -0
  56. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/bump.py +0 -0
  57. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/deposit_native.py +0 -0
  58. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/deposit_token.py +0 -0
  59. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscribe.py +0 -0
  60. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/contracts/agreement_manager.py +0 -0
  61. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/contracts/base_contract.py +0 -0
  62. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/contracts/did_registry.py +0 -0
  63. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/contracts/escrow_payment.py +0 -0
  64. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/contracts/lock_payment.py +0 -0
  65. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/contracts/nft.py +0 -0
  66. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/contracts/nft_sales.py +0 -0
  67. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/contracts/subscription_provider.py +0 -0
  68. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/contracts/token.py +0 -0
  69. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/contracts/transfer_nft.py +0 -0
  70. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/envs/base.env +0 -0
  71. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/envs/gnosis.env +0 -0
  72. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/manager.py +0 -0
  73. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/nvm_subscription/resources/networks.json +0 -0
  74. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/utils.py +0 -0
  75. {mech_client-0.15.0 → mech_client-0.15.1}/scripts/whitelist.py +0 -0
@@ -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>
@@ -54,17 +54,26 @@ Usage: mechx [OPTIONS] COMMAND [ARGS]...
54
54
  Command-line tool for interacting with mechs.
55
55
 
56
56
  Options:
57
- --version Show the version and exit.
58
- --help Show this message and exit.
57
+ --version Show the version and exit.
58
+ --client-mode Enables client mode
59
+ --help Show this message and exit.
59
60
 
60
61
  Commands:
61
- interact Interact with a mech specifying a prompt and tool.
62
- prompt-to-ipfs Upload a prompt and tool to IPFS as metadata.
63
- push-to-ipfs Upload a file to IPFS.
64
- to-png Convert a stability AI API's diffusion model output.
65
- tools-for-agents List tools available for all agents or a specific agent.
66
- tool-description Get the description of a specific tool.
67
- tool_io_schema Get the input/output schema of a specific tool.
62
+ deposit-native Deposits Native balance for prepaid marketplace requests
63
+ deposit-token Deposits Token balance for prepaid marketplace requests
64
+ fetch-mm-mechs-info Fetches info of marketplace mechs
65
+ interact Interact with a mech specifying a prompt and tool
66
+ prompt-to-ipfs Upload a prompt and tool to IPFS as metadata
67
+ purchase-nvm-subscription Allows to purchase Nevermined subscription
68
+ push-to-ipfs Upload a file to IPFS
69
+ setup-agent-mode Sets up the agent mode for users
70
+ to-png Convert a stability AI API's diffusion model output
71
+ tool-description Get the description of a specific tool (legacy mechs)
72
+ tool-description-for-marketplace-mech Get the description of a specific tool (marketplace mechs)
73
+ tool-io-schema Get the input/output schema of a specific tool (legacy mechs)
74
+ tool-io-schema-for-marketplace-mech Get the input/output schema of a specific tool (marketplace mechs)
75
+ tools-for-agents List tools available for all agents or a specific agent (legacy mechs)
76
+ tools-for-marketplace-mech List tools available for marketplace mechs
68
77
 
69
78
  ```
70
79
 
@@ -453,7 +462,7 @@ Description for tool 6-claude-prediction-offline: Makes a prediction using Claud
453
462
 
454
463
  ### Get Tool Input/Output Schema
455
464
 
456
- 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.
465
+ 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.
457
466
 
458
467
  ```bash
459
468
  mechx tool-io-schema <unique_identifier> --chain-config <chain_config>
@@ -0,0 +1,3 @@
1
+ """Mech client."""
2
+
3
+ __version__ = "0.15.1"
@@ -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
  [tool.poetry]
2
2
  name = "mech-client"
3
- version = "0.15.0"
3
+ version = "0.15.1"
4
4
  description = "Basic client to interact with a mech"
5
5
  authors = ["David Minarsch <david.minarsch@googlemail.com>"]
6
6
  readme = "README.md"
@@ -1,3 +0,0 @@
1
- """Mech client."""
2
-
3
- __version__ = "0.14.1"
File without changes