intentkit 0.8.9.dev2__py3-none-any.whl → 0.8.10__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.

Potentially problematic release.


This version of intentkit might be problematic. Click here for more details.

intentkit/__init__.py CHANGED
@@ -3,7 +3,7 @@
3
3
  A powerful platform for building AI agents with blockchain and cryptocurrency capabilities.
4
4
  """
5
5
 
6
- __version__ = "0.8.9-dev2"
6
+ __version__ = "0.8.10"
7
7
  __author__ = "hyacinthus"
8
8
  __email__ = "hyacinthus@gmail.com"
9
9
 
intentkit/core/prompt.py CHANGED
@@ -111,13 +111,32 @@ def _build_wallet_section(agent: Agent, agent_data: AgentData) -> str:
111
111
 
112
112
  if agent_data.evm_wallet_address and network_id != "solana":
113
113
  wallet_parts.append(
114
- f"Your wallet address in {network_id} is {agent_data.evm_wallet_address}."
114
+ f"Your EVM wallet address is {agent_data.evm_wallet_address}."
115
+ f"You are now in {network_id} network."
115
116
  )
116
117
  if agent_data.solana_wallet_address and network_id == "solana":
117
118
  wallet_parts.append(
118
- f"Your wallet address in {network_id} is {agent_data.solana_wallet_address}."
119
+ f"Your Solana wallet address is {agent_data.solana_wallet_address}."
120
+ f"You are now in {network_id} network."
119
121
  )
120
122
 
123
+ # Add CDP skills prompt if CDP skills are enabled
124
+ if agent.skills and "cdp" in agent.skills:
125
+ cdp_config = agent.skills["cdp"]
126
+ if cdp_config and cdp_config.get("enabled") is True:
127
+ # Check if any CDP skills are in public or private state (not disabled)
128
+ states = cdp_config.get("states", {})
129
+ has_enabled_cdp_skills = any(
130
+ state in ["public", "private"] for state in states.values()
131
+ )
132
+ if has_enabled_cdp_skills:
133
+ wallet_parts.append(
134
+ "If a skill input parameter requires a token address but you only have the user-provided token symbol, "
135
+ "and the address cannot be found in the nearby context, you must use the `token_search` skill to query "
136
+ f"the address of that symbol on the current chain ({network_id}) and confirm this address with the user."
137
+ "If the `token_search` skill is not found, remind the user to enable it."
138
+ )
139
+
121
140
  return "\n".join(wallet_parts) + ("\n" if wallet_parts else "")
122
141
 
123
142
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: intentkit
3
- Version: 0.8.9.dev2
3
+ Version: 0.8.10
4
4
  Summary: Intent-based AI Agent Platform - Core Package
5
5
  Project-URL: Homepage, https://github.com/crestalnetwork/intentkit
6
6
  Project-URL: Repository, https://github.com/crestalnetwork/intentkit
@@ -1,4 +1,4 @@
1
- intentkit/__init__.py,sha256=-xEkre6J1hYusZy_dn_svaadL_sqi5cw4Hf9UrQrFBQ,383
1
+ intentkit/__init__.py,sha256=4BpH9IAzKATXaUjkxWvErYzZ7UrdMWEM5WzbsRZuCbA,379
2
2
  intentkit/abstracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  intentkit/abstracts/agent.py,sha256=108gb5W8Q1Sy4G55F2_ZFv2-_CnY76qrBtpIr0Oxxqk,1489
4
4
  intentkit/abstracts/api.py,sha256=ZUc24vaQvQVbbjznx7bV0lbbQxdQPfEV8ZxM2R6wZWo,166
@@ -21,7 +21,7 @@ intentkit/core/client.py,sha256=J5K7f08-ucszBKAbn9K3QNOFKIC__7amTbKYii1jFkI,3056
21
21
  intentkit/core/credit.py,sha256=b4f4T6G6eeBTMe0L_r8awWtXgUnqiog4IUaymDPYym0,75587
22
22
  intentkit/core/engine.py,sha256=cpJfAtq9v_I49OJdnvu1QyOF-oW2V8NPqIpO1j00TlM,38677
23
23
  intentkit/core/node.py,sha256=-QVgmQuMnrzo6cF-4AECOIVT3R4gCnWfQ1EjTm2Sz1g,8791
24
- intentkit/core/prompt.py,sha256=Lu6olwLLwuPpsl5749ffVh2q_aR7SgxmA_xc8LpmRr4,16095
24
+ intentkit/core/prompt.py,sha256=cf33qLpGozRc_aPdbnI_pDFREivSUhvUB9VboOKscXA,17212
25
25
  intentkit/core/scheduler.py,sha256=De84aTHYoIH18YPooB_GckHts5oGFZg-XQZQcqFvlXc,2842
26
26
  intentkit/core/statistics.py,sha256=-IZmxIBzyzZuai7QyfPEY1tx8Q8ydmmcm6eqbSSy_6o,6366
27
27
  intentkit/models/agent.py,sha256=TjAnpefyWAv3BVqQUTrp5Kl4Q7mhUqYGHtSRiUPJyKU,69083
@@ -451,7 +451,7 @@ intentkit/utils/random.py,sha256=DymMxu9g0kuQLgJUqalvgksnIeLdS-v0aRk5nQU0mLI,452
451
451
  intentkit/utils/s3.py,sha256=A8Nsx5QJyLsxhj9g7oHNy2-m24tjQUhC9URm8Qb1jFw,10057
452
452
  intentkit/utils/slack_alert.py,sha256=s7UpRgyzLW7Pbmt8cKzTJgMA9bm4EP-1rQ5KXayHu6E,2264
453
453
  intentkit/utils/tx.py,sha256=2yLLGuhvfBEY5n_GJ8wmIWLCzn0FsYKv5kRNzw_sLUI,1454
454
- intentkit-0.8.9.dev2.dist-info/METADATA,sha256=olKwmwuRW4BXJWv6ay9x7SQfw7-fP6PSdksc5VXcUv4,6315
455
- intentkit-0.8.9.dev2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
456
- intentkit-0.8.9.dev2.dist-info/licenses/LICENSE,sha256=Bln6DhK-LtcO4aXy-PBcdZv2f24MlJFm_qn222biJtE,1071
457
- intentkit-0.8.9.dev2.dist-info/RECORD,,
454
+ intentkit-0.8.10.dist-info/METADATA,sha256=qeoGdvcD2FQ_WAHYj7T788rSzlyRoBDunpAAipaikLg,6311
455
+ intentkit-0.8.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
456
+ intentkit-0.8.10.dist-info/licenses/LICENSE,sha256=Bln6DhK-LtcO4aXy-PBcdZv2f24MlJFm_qn222biJtE,1071
457
+ intentkit-0.8.10.dist-info/RECORD,,