From 140315d7e28a191837c4366a95a2f18f8b317407 Mon Sep 17 00:00:00 2001 From: Nico Arqueros Date: Thu, 23 Jan 2025 22:05:47 -0600 Subject: [PATCH] update cryptio --- cloud-node/env.conf | 4 ++-- scripts/run_agent_provider.sh | 2 +- scripts/run_all_localhost.sh | 4 ++-- scripts/run_local_ai_with_proxy.sh | 4 ++-- scripts/run_node_localhost.sh | 2 +- .../sheet_ui_chain/sheet_rust_functions.rs | 12 ++++++------ .../llm_provider/execution/job_execution_core.rs | 2 +- .../llm_provider/providers/shared/claude_api.rs | 2 +- .../llm_provider/providers/shared/gemini_api.rs | 4 ++-- .../src/managers/identity_network_manager.rs | 2 +- .../shinkai-node/src/managers/tool_router.rs | 4 ++-- .../external_agent_offerings_manager.rs | 4 ++-- .../my_agent_offerings_manager.rs | 16 ++++++++-------- .../src/network/v2_api/api_v2_commands_jobs.rs | 9 +++++---- shinkai-bin/shinkai-node/src/runner.rs | 4 ++-- .../shinkai-node/src/utils/environment.rs | 2 +- .../tests/it/a3_micropayment_flow_tests.rs | 6 +++--- .../tests/it/change_nodes_name_tests.rs | 6 +++--- .../shinkai-node/tests/it/db_restore_tests.rs | 2 +- .../tests/it/get_onchain_identity_tests.rs | 4 ++-- .../shinkai-node/tests/it/native_tool_tests.rs | 2 +- .../tests/it/node_integration_tests.rs | 4 ++-- .../shinkai-node/tests/it/node_retrying_tests.rs | 4 ++-- .../tests/it/utils/test_boilerplate.rs | 2 +- .../src/shinkai_registry.rs | 6 +++--- .../src/schemas/inbox_name.rs | 2 +- .../src/schemas/shinkai_name.rs | 12 ++++++------ .../shinkai_message/shinkai_message_signing.rs | 4 ++-- .../tests/shinkai_name_tests.rs | 10 +++++----- .../shinkai-sqlite/src/shinkai_tool_manager.rs | 2 +- .../shinkai-tcp-relayer/src/tcp_server.rs | 2 +- .../shinkai-tcp-relayer/tests/server_tests.rs | 16 ++++++++-------- .../src/tools/shinkai_tool.rs | 2 +- 33 files changed, 82 insertions(+), 81 deletions(-) diff --git a/cloud-node/env.conf b/cloud-node/env.conf index a3f65473e..ac79da2bb 100644 --- a/cloud-node/env.conf +++ b/cloud-node/env.conf @@ -7,7 +7,7 @@ NODE_HTTPS_PORT=9553 IDENTITY_SECRET_KEY= ENCRYPTION_SECRET_KEY= PING_INTERVAL_SECS=0 -GLOBAL_IDENTITY_NAME=@@my_local_ai.arb-sep-shinkai +GLOBAL_IDENTITY_NAME=@@my_local_ai.sep-shinkai RUST_LOG=debug,error,info STARTING_NUM_QR_PROFILES=1 STARTING_NUM_QR_DEVICES=1 @@ -15,7 +15,7 @@ FIRST_DEVICE_NEEDS_REGISTRATION_CODE=false LOG_SIMPLE=true NO_SECRET_FILE=true EMBEDDINGS_SERVER_URL= -PROXY_IDENTITY=@@relayer_pub_01.arb-sep-shinkai +PROXY_IDENTITY=@@relayer_pub_01.sep-shinkai SHINKAI_TOOLS_RUNNER_DENO_BINARY_PATH=./shinkai-tools-runner-resources/deno SHINKAI_TOOLS_RUNNER_UV_BINARY_PATH=./shinkai-tools-runner-resources/uv SHINKAI_TOOLS_DIRECTORY_URL=https://download.shinkai.com/tools/directory.json diff --git a/scripts/run_agent_provider.sh b/scripts/run_agent_provider.sh index fa77ec6b2..1e502b495 100755 --- a/scripts/run_agent_provider.sh +++ b/scripts/run_agent_provider.sh @@ -9,7 +9,7 @@ export NODE_WS_PORT="9751" export IDENTITY_SECRET_KEY="df3f619804a92fdb4057192dc43dd748ea778adc52bc498ce80524c014b81119" export ENCRYPTION_SECRET_KEY="d83f619804a92fdb4057192dc43dd748ea778adc52bc498ce80524c014b81159" export PING_INTERVAL_SECS="0" -export GLOBAL_IDENTITY_NAME="@@agent_provider.arb-sep-shinkai" +export GLOBAL_IDENTITY_NAME="@@agent_provider.sep-shinkai" export NODE_STORAGE_PATH="agent_provider" export RUST_LOG=debug,error,info export STARTING_NUM_QR_PROFILES="1" diff --git a/scripts/run_all_localhost.sh b/scripts/run_all_localhost.sh index ed9e82a99..33202cf3c 100755 --- a/scripts/run_all_localhost.sh +++ b/scripts/run_all_localhost.sh @@ -9,7 +9,7 @@ export NODE_HTTPS_PORT="9553" export IDENTITY_SECRET_KEY="df3f619804a92fdb4057192dc43dd748ea778adc52bc498ce80524c014b81119" export ENCRYPTION_SECRET_KEY="d83f619804a92fdb4057192dc43dd748ea778adc52bc498ce80524c014b81159" export PING_INTERVAL_SECS="0" -export GLOBAL_IDENTITY_NAME="@@localhost.arb-sep-shinkai" +export GLOBAL_IDENTITY_NAME="@@localhost.sep-shinkai" export RUST_LOG=debug,error,info export STARTING_NUM_QR_PROFILES="1" export STARTING_NUM_QR_DEVICES="1" @@ -17,7 +17,7 @@ export FIRST_DEVICE_NEEDS_REGISTRATION_CODE="false" export LOG_SIMPLE="true" export NO_SECRET_FILE="true" export EMBEDDINGS_SERVER_URL="http://localhost:11434/" -export PROXY_IDENTITY="@@relayer_pub_01.arb-sep-shinkai" +export PROXY_IDENTITY="@@relayer_pub_01.sep-shinkai" export SHINKAI_TOOLS_RUNNER_DENO_BINARY_PATH="${workspaceFolder}/shinkai-bin/shinkai-node/shinkai-tools-runner-resources/deno" export SHINKAI_TOOLS_RUNNER_UV_BINARY_PATH="${workspaceFolder}/shinkai-bin/shinkai-node/shinkai-tools-runner-resources/uv" diff --git a/scripts/run_local_ai_with_proxy.sh b/scripts/run_local_ai_with_proxy.sh index dc3cd6632..bee10e4f7 100755 --- a/scripts/run_local_ai_with_proxy.sh +++ b/scripts/run_local_ai_with_proxy.sh @@ -25,7 +25,7 @@ export SUBSCRIPTION_HTTP_UPLOAD_INTERVAL_MINUTES="1" export SUBSCRIPTION_UPDATE_CACHE_INTERVAL_MINUTES="1" export LOG_ALL="1" export DEBUG_VRKAI="1" -# export PROXY_IDENTITY="@@kao_tcp_relayer.arb-sep-shinkai" -export PROXY_IDENTITY="@@relayer_pub_01.arb-sep-shinkai" +# export PROXY_IDENTITY="@@kao_tcp_relayer.sep-shinkai" +export PROXY_IDENTITY="@@relayer_pub_01.sep-shinkai" cargo run --bin shinkai_node --package shinkai_node \ No newline at end of file diff --git a/scripts/run_node_localhost.sh b/scripts/run_node_localhost.sh index d080815cd..9441c8abb 100755 --- a/scripts/run_node_localhost.sh +++ b/scripts/run_node_localhost.sh @@ -5,7 +5,7 @@ export NODE_PORT="9452" export NODE_API_IP="0.0.0.0" export NODE_API_PORT="9450" export PING_INTERVAL_SECS="0" -export GLOBAL_IDENTITY_NAME="@@localhost.arb-sep-shinkai" +export GLOBAL_IDENTITY_NAME="@@localhost.sep-shinkai" export RUST_LOG=debug,error,info export STARTING_NUM_QR_PROFILES="1" export STARTING_NUM_QR_DEVICES="1" diff --git a/shinkai-bin/shinkai-node/src/llm_provider/execution/chains/sheet_ui_chain/sheet_rust_functions.rs b/shinkai-bin/shinkai-node/src/llm_provider/execution/chains/sheet_ui_chain/sheet_rust_functions.rs index 999ac84b2..f20a956f6 100644 --- a/shinkai-bin/shinkai-node/src/llm_provider/execution/chains/sheet_ui_chain/sheet_rust_functions.rs +++ b/shinkai-bin/shinkai-node/src/llm_provider/execution/chains/sheet_ui_chain/sheet_rust_functions.rs @@ -658,7 +658,7 @@ mod tests { async fn test_set_column_with_mock_job_manager() { let db = setup_test_db(); let db = Arc::new(db); - let node_name = "@@test.arb-sep-shinkai".to_string(); + let node_name = "@@test.sep-shinkai".to_string(); let node_name = ShinkaiName::new(node_name).unwrap(); let ws_manager: Option>> = None; @@ -739,7 +739,7 @@ mod tests { async fn test_update_column_with_values() { let db = setup_test_db(); let db = Arc::new(db); - let node_name = "@@test.arb-sep-shinkai".to_string(); + let node_name = "@@test.sep-shinkai".to_string(); let node_name = ShinkaiName::new(node_name).unwrap(); let ws_manager: Option>> = None; @@ -804,7 +804,7 @@ mod tests { async fn test_replace_value_at_position() { let db = setup_test_db(); let db = Arc::new(db); - let node_name = "@@test.arb-sep-shinkai".to_string(); + let node_name = "@@test.sep-shinkai".to_string(); let node_name = ShinkaiName::new(node_name).unwrap(); let ws_manager: Option>> = None; @@ -869,7 +869,7 @@ mod tests { async fn test_create_new_columns_with_csv() { let db = setup_test_db(); let db = Arc::new(db); - let node_name = "@@test.arb-sep-shinkai".to_string(); + let node_name = "@@test.sep-shinkai".to_string(); let node_name = ShinkaiName::new(node_name).unwrap(); let ws_manager: Option>> = None; @@ -932,7 +932,7 @@ mod tests { async fn test_create_new_columns_with_large_csv() { let db = setup_test_db(); let db = Arc::new(db); - let node_name = "@@test.arb-sep-shinkai".to_string(); + let node_name = "@@test.sep-shinkai".to_string(); let node_name = ShinkaiName::new(node_name).unwrap(); let ws_manager: Option>> = None; @@ -1185,7 +1185,7 @@ mod tests { async fn test_create_new_columns_with_semicolon_csv() { let db = setup_test_db(); let db = Arc::new(db); - let node_name = "@@test.arb-sep-shinkai".to_string(); + let node_name = "@@test.sep-shinkai".to_string(); let node_name = ShinkaiName::new(node_name).unwrap(); let ws_manager: Option>> = None; diff --git a/shinkai-bin/shinkai-node/src/llm_provider/execution/job_execution_core.rs b/shinkai-bin/shinkai-node/src/llm_provider/execution/job_execution_core.rs index 497e642d5..e59e39ed9 100644 --- a/shinkai-bin/shinkai-node/src/llm_provider/execution/job_execution_core.rs +++ b/shinkai-bin/shinkai-node/src/llm_provider/execution/job_execution_core.rs @@ -179,7 +179,7 @@ impl JobManager { ); let node_name = user_profile - .unwrap_or_else(|| ShinkaiName::new("@@localhost.arb-sep-shinkai".to_string()).unwrap()) + .unwrap_or_else(|| ShinkaiName::new("@@localhost.sep-shinkai".to_string()).unwrap()) .node_name; let error_json = error.to_error_message(); diff --git a/shinkai-bin/shinkai-node/src/llm_provider/providers/shared/claude_api.rs b/shinkai-bin/shinkai-node/src/llm_provider/providers/shared/claude_api.rs index c50195837..2419527a6 100644 --- a/shinkai-bin/shinkai-node/src/llm_provider/providers/shared/claude_api.rs +++ b/shinkai-bin/shinkai-node/src/llm_provider/providers/shared/claude_api.rs @@ -317,7 +317,7 @@ mod tests { "response": null, "tool_router_key": null }, - "response": "{\"data\":{\"__created_files__\":[\"shinkai://file/@@my_local_ai.arb-sep-shinkai/main/jobid_c93837a6-358b-4648-9617-1d6e93d0bb59/logs/log_jobid_c93837a6-358b-4648-9617-1d6e93d0bb59_localduckduckgo_searchduckduckgo_search.log\"],\"message\":\"[{\\\"title\\\":\\\"Movie Tickets & Movie Times | Fandango\\\",\\\"description\\\":\\\"Honoring the Best movies & TV. Check out the winners from this year's 26th annual Rotten Tomatoes Awards. LEARN MORE. Collectors, assemble! image link. Collectors, assemble! Suit up and get the Captain America Collector Pack, featuring an exclusive Collector's Coin, Limited-Edition Poster, and one movie ticket!\\\",\\\"url\\\":\\\"https://www.fandango.com/\\\"}]\"}}", + "response": "{\"data\":{\"__created_files__\":[\"shinkai://file/@@my_local_ai.sep-shinkai/main/jobid_c93837a6-358b-4648-9617-1d6e93d0bb59/logs/log_jobid_c93837a6-358b-4648-9617-1d6e93d0bb59_localduckduckgo_searchduckduckgo_search.log\"],\"message\":\"[{\\\"title\\\":\\\"Movie Tickets & Movie Times | Fandango\\\",\\\"description\\\":\\\"Honoring the Best movies & TV. Check out the winners from this year's 26th annual Rotten Tomatoes Awards. LEARN MORE. Collectors, assemble! image link. Collectors, assemble! Suit up and get the Captain America Collector Pack, featuring an exclusive Collector's Coin, Limited-Edition Poster, and one movie ticket!\\\",\\\"url\\\":\\\"https://www.fandango.com/\\\"}]\"}}", }), 100, ), diff --git a/shinkai-bin/shinkai-node/src/llm_provider/providers/shared/gemini_api.rs b/shinkai-bin/shinkai-node/src/llm_provider/providers/shared/gemini_api.rs index 8ea458348..70df16f4c 100644 --- a/shinkai-bin/shinkai-node/src/llm_provider/providers/shared/gemini_api.rs +++ b/shinkai-bin/shinkai-node/src/llm_provider/providers/shared/gemini_api.rs @@ -537,7 +537,7 @@ mod tests { "response": null, "tool_router_key": null }, - "response": "{\"data\":{\"__created_files__\":[\"shinkai://file/@@my_local_ai.arb-sep-shinkai/main/jobid_c93837a6-358b-4648-9617-1d6e93d0bb59/logs/log_jobid_c93837a6-358b-4648-9617-1d6e93d0bb59_localduckduckgo_searchduckduckgo_search.log\"],\"message\":\"[{\\\"title\\\":\\\"Movie Tickets & Movie Times | Fandango\\\",\\\"description\\\":\\\"Honoring the Best movies & TV. Check out the winners from this year's 26th annual Rotten Tomatoes Awards. LEARN MORE. Collectors, assemble! image link. Collectors, assemble! Suit up and get the Captain America Collector Pack, featuring an exclusive Collector's Coin, Limited-Edition Poster, and one movie ticket!\\\",\\\"url\\\":\\\"https://www.fandango.com/\\\"}]\"}}", + "response": "{\"data\":{\"__created_files__\":[\"shinkai://file/@@my_local_ai.sep-shinkai/main/jobid_c93837a6-358b-4648-9617-1d6e93d0bb59/logs/log_jobid_c93837a6-358b-4648-9617-1d6e93d0bb59_localduckduckgo_searchduckduckgo_search.log\"],\"message\":\"[{\\\"title\\\":\\\"Movie Tickets & Movie Times | Fandango\\\",\\\"description\\\":\\\"Honoring the Best movies & TV. Check out the winners from this year's 26th annual Rotten Tomatoes Awards. LEARN MORE. Collectors, assemble! image link. Collectors, assemble! Suit up and get the Captain America Collector Pack, featuring an exclusive Collector's Coin, Limited-Edition Poster, and one movie ticket!\\\",\\\"url\\\":\\\"https://www.fandango.com/\\\"}]\"}}", }), 100, ), @@ -572,7 +572,7 @@ mod tests { { "role": "user", "parts": [{ - "text": "{\"data\":{\"__created_files__\":[\"shinkai://file/@@my_local_ai.arb-sep-shinkai/main/jobid_c93837a6-358b-4648-9617-1d6e93d0bb59/logs/log_jobid_c93837a6-358b-4648-9617-1d6e93d0bb59_localduckduckgo_searchduckduckgo_search.log\"],\"message\":\"[{\\\"title\\\":\\\"Movie Tickets & Movie Times | Fandango\\\",\\\"description\\\":\\\"Honoring the Best movies & TV. Check out the winners from this year's 26th annual Rotten Tomatoes Awards. LEARN MORE. Collectors, assemble! image link. Collectors, assemble! Suit up and get the Captain America Collector Pack, featuring an exclusive Collector's Coin, Limited-Edition Poster, and one movie ticket!\\\",\\\"url\\\":\\\"https://www.fandango.com/\\\"}]\"}}", + "text": "{\"data\":{\"__created_files__\":[\"shinkai://file/@@my_local_ai.sep-shinkai/main/jobid_c93837a6-358b-4648-9617-1d6e93d0bb59/logs/log_jobid_c93837a6-358b-4648-9617-1d6e93d0bb59_localduckduckgo_searchduckduckgo_search.log\"],\"message\":\"[{\\\"title\\\":\\\"Movie Tickets & Movie Times | Fandango\\\",\\\"description\\\":\\\"Honoring the Best movies & TV. Check out the winners from this year's 26th annual Rotten Tomatoes Awards. LEARN MORE. Collectors, assemble! image link. Collectors, assemble! Suit up and get the Captain America Collector Pack, featuring an exclusive Collector's Coin, Limited-Edition Poster, and one movie ticket!\\\",\\\"url\\\":\\\"https://www.fandango.com/\\\"}]\"}}", }] } ], diff --git a/shinkai-bin/shinkai-node/src/managers/identity_network_manager.rs b/shinkai-bin/shinkai-node/src/managers/identity_network_manager.rs index b252017bf..bb075ba0c 100644 --- a/shinkai-bin/shinkai-node/src/managers/identity_network_manager.rs +++ b/shinkai-bin/shinkai-node/src/managers/identity_network_manager.rs @@ -48,7 +48,7 @@ impl IdentityNetworkManager { let node_base = node.split(':').next().unwrap_or(node); node_base.ends_with(".sepolia-shinkai") || node_base.ends_with(".shinkai") || - node_base.ends_with(".arb-sep-shinkai") + node_base.ends_with(".sep-shinkai") }) { // Call the proxy node to get the actual data let proxy_identity = record.address_or_proxy_nodes.clone(); diff --git a/shinkai-bin/shinkai-node/src/managers/tool_router.rs b/shinkai-bin/shinkai-node/src/managers/tool_router.rs index 9f3af5907..5f43f76a0 100644 --- a/shinkai-bin/shinkai-node/src/managers/tool_router.rs +++ b/shinkai-bin/shinkai-node/src/managers/tool_router.rs @@ -306,7 +306,7 @@ impl ToolRouter { name: "network__echo".to_string(), description: "Echoes the input message".to_string(), version: "0.1".to_string(), - provider: ShinkaiName::new("@@agent_provider.arb-sep-shinkai".to_string()).unwrap(), + provider: ShinkaiName::new("@@agent_provider.sep-shinkai".to_string()).unwrap(), author: "@@official.shinkai".to_string(), usage_type: usage_type.clone(), activated: true, @@ -339,7 +339,7 @@ impl ToolRouter { name: "youtube_transcript_with_timestamps".to_string(), description: "Takes a YouTube link and summarizes the content by creating multiple sections with a summary and a timestamp.".to_string(), version: "0.1".to_string(), - provider: ShinkaiName::new("@@agent_provider.arb-sep-shinkai".to_string()).unwrap(), + provider: ShinkaiName::new("@@agent_provider.sep-shinkai".to_string()).unwrap(), author: "@@official.shinkai".to_string(), usage_type: usage_type.clone(), activated: true, diff --git a/shinkai-bin/shinkai-node/src/network/agent_payments_manager/external_agent_offerings_manager.rs b/shinkai-bin/shinkai-node/src/network/agent_payments_manager/external_agent_offerings_manager.rs index e6c243412..8a393336d 100644 --- a/shinkai-bin/shinkai-node/src/network/agent_payments_manager/external_agent_offerings_manager.rs +++ b/shinkai-bin/shinkai-node/src/network/agent_payments_manager/external_agent_offerings_manager.rs @@ -946,11 +946,11 @@ mod tests { } fn default_test_profile() -> ShinkaiName { - ShinkaiName::new("@@localhost.arb-sep-shinkai/main".to_string()).unwrap() + ShinkaiName::new("@@localhost.sep-shinkai/main".to_string()).unwrap() } fn node_name() -> ShinkaiName { - ShinkaiName::new("@@localhost.arb-sep-shinkai".to_string()).unwrap() + ShinkaiName::new("@@localhost.sep-shinkai".to_string()).unwrap() } // async fn setup_default_vector_fs() -> VectorFS { diff --git a/shinkai-bin/shinkai-node/src/network/agent_payments_manager/my_agent_offerings_manager.rs b/shinkai-bin/shinkai-node/src/network/agent_payments_manager/my_agent_offerings_manager.rs index fd54bf804..1d8326c85 100644 --- a/shinkai-bin/shinkai-node/src/network/agent_payments_manager/my_agent_offerings_manager.rs +++ b/shinkai-bin/shinkai-node/src/network/agent_payments_manager/my_agent_offerings_manager.rs @@ -671,7 +671,7 @@ mod tests { let (_, node1_encryption_pk) = unsafe_deterministic_encryption_keypair(0); let dummy_standard_identity = Identity::Standard(StandardIdentity { - full_identity_name: ShinkaiName::new("@@localhost.arb-sep-shinkai/main".to_string()).unwrap(), + full_identity_name: ShinkaiName::new("@@localhost.sep-shinkai/main".to_string()).unwrap(), addr: None, node_encryption_public_key: node1_encryption_pk, node_signature_public_key: node1_identity_pk, @@ -690,7 +690,7 @@ mod tests { #[async_trait] impl IdentityManagerTrait for MockIdentityManager { fn find_by_identity_name(&self, _full_profile_name: ShinkaiName) -> Option<&Identity> { - if _full_profile_name.to_string() == "@@localhost.arb-sep-shinkai/main" { + if _full_profile_name.to_string() == "@@localhost.sep-shinkai/main" { Some(&self.dummy_standard_identity) } else { None @@ -698,7 +698,7 @@ mod tests { } async fn search_identity(&self, full_identity_name: &str) -> Option { - if full_identity_name == "@@localhost.arb-sep-shinkai/main" { + if full_identity_name == "@@localhost.sep-shinkai/main" { Some(self.dummy_standard_identity.clone()) } else { None @@ -713,7 +713,7 @@ mod tests { &self, full_profile_name: &str, ) -> Result { - if full_profile_name == "@@localhost.arb-sep-shinkai" { + if full_profile_name == "@@localhost.sep-shinkai" { if let Identity::Standard(identity) = &self.dummy_standard_identity { Ok(identity.clone()) } else { @@ -734,11 +734,11 @@ mod tests { } fn default_test_profile() -> ShinkaiName { - ShinkaiName::new("@@localhost.arb-sep-shinkai/main".to_string()).unwrap() + ShinkaiName::new("@@localhost.sep-shinkai/main".to_string()).unwrap() } fn node_name() -> ShinkaiName { - ShinkaiName::new("@@localhost.arb-sep-shinkai".to_string()).unwrap() + ShinkaiName::new("@@localhost.sep-shinkai".to_string()).unwrap() } // async fn setup_default_vector_fs() -> VectorFS { @@ -777,7 +777,7 @@ mod tests { // )); // let tool_router = Arc::new(ToolRouter::new(lance_db.clone())); - // let node_name = ShinkaiName::new("@@localhost.arb-sep-shinkai/main".to_string()).unwrap(); + // let node_name = ShinkaiName::new("@@localhost.sep-shinkai/main".to_string()).unwrap(); // let (my_signature_secret_key, _) = unsafe_deterministic_signature_keypair(0); // let (my_encryption_secret_key, _) = unsafe_deterministic_encryption_keypair(0); @@ -808,7 +808,7 @@ mod tests { // "shinkai_toolkit".to_string(), // "A tool for testing".to_string(), // "1.0".to_string(), - // ShinkaiName::new("@@localhost.arb-sep-shinkai".to_string()).unwrap(), + // ShinkaiName::new("@@localhost.sep-shinkai".to_string()).unwrap(), // UsageType::PerUse(ToolPrice::DirectDelegation("0.01".to_string())), // true, // vec![], diff --git a/shinkai-bin/shinkai-node/src/network/v2_api/api_v2_commands_jobs.rs b/shinkai-bin/shinkai-node/src/network/v2_api/api_v2_commands_jobs.rs index 84a5a9d6c..07c0946ad 100644 --- a/shinkai-bin/shinkai-node/src/network/v2_api/api_v2_commands_jobs.rs +++ b/shinkai-bin/shinkai-node/src/network/v2_api/api_v2_commands_jobs.rs @@ -25,7 +25,7 @@ use shinkai_message_primitives::{ }, shinkai_utils::{ job_scope::MinimalJobScope, shinkai_message_builder::ShinkaiMessageBuilder, - signatures::clone_signature_secret_key, shinkai_path::ShinkaiPath, + signatures::clone_signature_secret_key, }, }; @@ -517,7 +517,8 @@ impl Node { }; // Retrieve all smart inboxes for the profile with pagination - let paginated_inboxes = match db.get_all_smart_inboxes_for_profile_with_pagination(main_identity, limit, offset) { + let paginated_inboxes = match db.get_all_smart_inboxes_for_profile_with_pagination(main_identity, limit, offset) + { Ok(inboxes) => inboxes, Err(err) => { let api_error = APIError { @@ -531,7 +532,8 @@ impl Node { }; // Convert SmartInbox to V2SmartInbox - let v2_smart_inboxes: Result, NodeError> = paginated_inboxes.inboxes + let v2_smart_inboxes: Result, NodeError> = paginated_inboxes + .inboxes .into_iter() .map(Self::convert_smart_inbox_to_v2_smart_inbox) .collect(); @@ -1802,4 +1804,3 @@ impl Node { Ok(()) } } - diff --git a/shinkai-bin/shinkai-node/src/runner.rs b/shinkai-bin/shinkai-node/src/runner.rs index 8b0e1dcea..773d39fd7 100644 --- a/shinkai-bin/shinkai-node/src/runner.rs +++ b/shinkai-bin/shinkai-node/src/runner.rs @@ -83,10 +83,10 @@ pub async fn initialize_node() -> Result< let global_identity_name = secrets .get("GLOBAL_IDENTITY_NAME") .cloned() - .unwrap_or_else(|| env::var("GLOBAL_IDENTITY_NAME").unwrap_or("@@localhost.arb-sep-shinkai".to_string())); + .unwrap_or_else(|| env::var("GLOBAL_IDENTITY_NAME").unwrap_or("@@localhost.sep-shinkai".to_string())); let global_identity_name = if global_identity_name.is_empty() { - "@@localhost.arb-sep-shinkai".to_string() + "@@localhost.sep-shinkai".to_string() } else { global_identity_name }; diff --git a/shinkai-bin/shinkai-node/src/utils/environment.rs b/shinkai-bin/shinkai-node/src/utils/environment.rs index 566174d99..a7b0999eb 100644 --- a/shinkai-bin/shinkai-node/src/utils/environment.rs +++ b/shinkai-bin/shinkai-node/src/utils/environment.rs @@ -95,7 +95,7 @@ pub fn fetch_llm_provider_env(global_identity: String) -> Vec NodeEnvironment { - let global_identity_name = env::var("GLOBAL_IDENTITY_NAME").unwrap_or("@@localhost.arb-sep-shinkai".to_string()); + let global_identity_name = env::var("GLOBAL_IDENTITY_NAME").unwrap_or("@@localhost.sep-shinkai".to_string()); // Fetch the environment variables for the IP and port, or use default values let ip: IpAddr = env::var("NODE_IP") diff --git a/shinkai-bin/shinkai-node/tests/it/a3_micropayment_flow_tests.rs b/shinkai-bin/shinkai-node/tests/it/a3_micropayment_flow_tests.rs index 8c7fec548..d6f1b5f6a 100644 --- a/shinkai-bin/shinkai-node/tests/it/a3_micropayment_flow_tests.rs +++ b/shinkai-bin/shinkai-node/tests/it/a3_micropayment_flow_tests.rs @@ -48,8 +48,8 @@ fn micropayment_flow_test() { let rt = Runtime::new().unwrap(); rt.block_on(async { - let node1_identity_name = "@@node1_test.arb-sep-shinkai"; - let node2_identity_name = "@@node2_test.arb-sep-shinkai"; + let node1_identity_name = "@@node1_test.sep-shinkai"; + let node2_identity_name = "@@node2_test.sep-shinkai"; let node1_profile_name = "main"; let node1_device_name = "node1_device"; let node2_profile_name = "main_profile_node2"; @@ -296,7 +296,7 @@ fn micropayment_flow_test() { // node2 receives the result and stores it // done - let test_network_tool_name = "@@node1_test.arb-sep-shinkai:::shinkai-tool-echo:::network__echo"; + let test_network_tool_name = "@@node1_test.sep-shinkai:::shinkai-tool-echo:::network__echo"; let test_local_tool_key_name = "local:::shinkai-tool-echo:::network__echo"; let shinkai_tool_offering = ShinkaiToolOffering { diff --git a/shinkai-bin/shinkai-node/tests/it/change_nodes_name_tests.rs b/shinkai-bin/shinkai-node/tests/it/change_nodes_name_tests.rs index ab59bc6c4..ea542de6a 100644 --- a/shinkai-bin/shinkai-node/tests/it/change_nodes_name_tests.rs +++ b/shinkai-bin/shinkai-node/tests/it/change_nodes_name_tests.rs @@ -28,8 +28,8 @@ fn change_nodes_name_test() { let rt = Runtime::new().unwrap(); rt.block_on(async { - let new_node_name = "@@change_node_test.arb-sep-shinkai"; - let node1_identity_name = "@@node1_test.arb-sep-shinkai"; + let new_node_name = "@@change_node_test.sep-shinkai"; + let node1_identity_name = "@@node1_test.sep-shinkai"; let node1_profile_name = "main"; let node1_device_name = "node1_device"; @@ -131,7 +131,7 @@ fn change_nodes_name_test() { let rt = Runtime::new().unwrap(); rt.block_on(async { - let new_node_name = "@@change_node_test.arb-sep-shinkai"; + let new_node_name = "@@change_node_test.sep-shinkai"; let (node1_identity_sk, node1_identity_pk) = unsafe_deterministic_signature_keypair(0); let (node1_encryption_sk, _node1_encryption_pk) = unsafe_deterministic_encryption_keypair(0); diff --git a/shinkai-bin/shinkai-node/tests/it/db_restore_tests.rs b/shinkai-bin/shinkai-node/tests/it/db_restore_tests.rs index f5c6bde5b..a363cf5b2 100644 --- a/shinkai-bin/shinkai-node/tests/it/db_restore_tests.rs +++ b/shinkai-bin/shinkai-node/tests/it/db_restore_tests.rs @@ -22,7 +22,7 @@ mod tests { let rt = Runtime::new().unwrap(); rt.block_on(async { - let node1_identity_name = "@@node1_test.arb-sep-shinkai"; + let node1_identity_name = "@@node1_test.sep-shinkai"; let node1_subidentity_name = "main"; let node1_device_name = "node1_device"; diff --git a/shinkai-bin/shinkai-node/tests/it/get_onchain_identity_tests.rs b/shinkai-bin/shinkai-node/tests/it/get_onchain_identity_tests.rs index 1f0b3f1cd..e9e0743a0 100644 --- a/shinkai-bin/shinkai-node/tests/it/get_onchain_identity_tests.rs +++ b/shinkai-bin/shinkai-node/tests/it/get_onchain_identity_tests.rs @@ -18,12 +18,12 @@ mod tests { .await .unwrap(); - let identity = "node1_test.arb-sep-shinkai".to_string(); + let identity = "node1_test.sep-shinkai".to_string(); let record = registry.get_identity_record(identity.clone()).await.unwrap(); let expected_record = OnchainIdentity { - shinkai_identity: "node1_test.arb-sep-shinkai".to_string(), + shinkai_identity: "node1_test.sep-shinkai".to_string(), bound_nft: U256::from_dec_str("19").unwrap(), staked_tokens: U256::from_dec_str("55000000000000000000").unwrap(), encryption_key: "60045bdb15c24b161625cf05558078208698272bfe113f792ea740dbd79f4708".to_string(), diff --git a/shinkai-bin/shinkai-node/tests/it/native_tool_tests.rs b/shinkai-bin/shinkai-node/tests/it/native_tool_tests.rs index 92520e213..6dd94018c 100644 --- a/shinkai-bin/shinkai-node/tests/it/native_tool_tests.rs +++ b/shinkai-bin/shinkai-node/tests/it/native_tool_tests.rs @@ -50,7 +50,7 @@ fn native_tool_test_knowledge() { let mut server = Server::new(); rt.block_on(async { - let node1_identity_name = "@@node1_test.arb-sep-shinkai"; + let node1_identity_name = "@@node1_test.sep-shinkai"; let node1_subidentity_name = "main"; let node1_device_name = "node1_device"; let node1_agent = "node1_gpt_agent"; diff --git a/shinkai-bin/shinkai-node/tests/it/node_integration_tests.rs b/shinkai-bin/shinkai-node/tests/it/node_integration_tests.rs index e4fe36ea3..3eb771424 100644 --- a/shinkai-bin/shinkai-node/tests/it/node_integration_tests.rs +++ b/shinkai-bin/shinkai-node/tests/it/node_integration_tests.rs @@ -41,8 +41,8 @@ fn subidentity_registration() { let rt = Runtime::new().unwrap(); rt.block_on(async { - let node1_identity_name = "@@node1_test.arb-sep-shinkai"; - let node2_identity_name = "@@node2_test.arb-sep-shinkai"; + let node1_identity_name = "@@node1_test.sep-shinkai"; + let node2_identity_name = "@@node2_test.sep-shinkai"; let node1_profile_name = "main"; let node1_device_name = "node1_device"; let node2_profile_name = "main_profile_node2"; diff --git a/shinkai-bin/shinkai-node/tests/it/node_retrying_tests.rs b/shinkai-bin/shinkai-node/tests/it/node_retrying_tests.rs index 7b1a139eb..978b91dc6 100644 --- a/shinkai-bin/shinkai-node/tests/it/node_retrying_tests.rs +++ b/shinkai-bin/shinkai-node/tests/it/node_retrying_tests.rs @@ -28,7 +28,7 @@ fn node_retrying_test() { rt.block_on(async { // Node 1 - let node1_identity_name = "@@node1_test.arb-sep-shinkai"; + let node1_identity_name = "@@node1_test.sep-shinkai"; let (node1_identity_sk, _node1_identity_pk) = unsafe_deterministic_signature_keypair(0); let (node1_encryption_sk, node1_encryption_pk) = unsafe_deterministic_encryption_keypair(0); @@ -62,7 +62,7 @@ fn node_retrying_test() { let (node1_device_encryption_sk, _node1_device_encryption_pk) = unsafe_deterministic_encryption_keypair(200); // Node 2 - let node2_identity_name = "@@node2_test.arb-sep-shinkai"; + let node2_identity_name = "@@node2_test.sep-shinkai"; let _node2_profile_name = "main_profile_node2"; let (node2_identity_sk, node2_identity_pk) = unsafe_deterministic_signature_keypair(1); diff --git a/shinkai-bin/shinkai-node/tests/it/utils/test_boilerplate.rs b/shinkai-bin/shinkai-node/tests/it/utils/test_boilerplate.rs index 8877f8b61..9563a4d35 100644 --- a/shinkai-bin/shinkai-node/tests/it/utils/test_boilerplate.rs +++ b/shinkai-bin/shinkai-node/tests/it/utils/test_boilerplate.rs @@ -87,7 +87,7 @@ where let rt = Runtime::new().unwrap(); rt.block_on(async { - let node1_identity_name = "@@node1_test.arb-sep-shinkai"; + let node1_identity_name = "@@node1_test.sep-shinkai"; let node1_profile_name = "main"; let node1_device_name = "node1_device"; let node1_llm_provider = "node1_gpt_agent"; diff --git a/shinkai-libs/shinkai-crypto-identities/src/shinkai_registry.rs b/shinkai-libs/shinkai-crypto-identities/src/shinkai_registry.rs index 8721df59b..649b565be 100644 --- a/shinkai-libs/shinkai-crypto-identities/src/shinkai_registry.rs +++ b/shinkai-libs/shinkai-crypto-identities/src/shinkai_registry.rs @@ -262,9 +262,9 @@ impl ShinkaiRegistry { let rpc_endpoints = vec![ url.to_string(), - "https://arbitrum-sepolia.blockpi.network/v1/rpc/public".to_string(), - "https://endpoints.omniatech.io/v1/arbitrum/sepolia/public".to_string(), - "https://sepolia-rollup.arbitrum.io/rpc".to_string(), + "https://sepolia.base.org".to_string(), + "https://base-sepolia-rpc.publicnode.com".to_string(), + "https://base-sepolia.gateway.tenderly.co".to_string(), ]; Ok(Self { diff --git a/shinkai-libs/shinkai-message-primitives/src/schemas/inbox_name.rs b/shinkai-libs/shinkai-message-primitives/src/schemas/inbox_name.rs index 6db871b33..97fe0553d 100644 --- a/shinkai-libs/shinkai-message-primitives/src/schemas/inbox_name.rs +++ b/shinkai-libs/shinkai-message-primitives/src/schemas/inbox_name.rs @@ -230,7 +230,7 @@ mod tests { let valid_names = vec![ "inbox::@@node.shinkai::true", "inbox::@@node1.shinkai/subidentity::false", - "inbox::@@node.arb-sep-shinkai/subidentity::true", + "inbox::@@node.sep-shinkai/subidentity::true", "inbox::@@alice.shinkai/profileName/agent/myChatGPTAgent::true", "inbox::@@alice.shinkai/profileName/device/myPhone::true", "inbox::@@node1.shinkai/subidentity::@@node2.shinkai/subidentity2::false", diff --git a/shinkai-libs/shinkai-message-primitives/src/schemas/shinkai_name.rs b/shinkai-libs/shinkai-message-primitives/src/schemas/shinkai_name.rs index 7e951e84a..3deb7d946 100644 --- a/shinkai-libs/shinkai-message-primitives/src/schemas/shinkai_name.rs +++ b/shinkai-libs/shinkai-message-primitives/src/schemas/shinkai_name.rs @@ -37,8 +37,8 @@ impl fmt::Display for ShinkaiSubidentityType { // @@alice.shinkai/profileName // @@alice.shinkai/profileName/agent/myChatGPTAgent // @@alice.shinkai/profileName/device/myPhone -// @@alice.arb-sep-shinkai -// @@alice.arb-sep-shinkai/profileName +// @@alice.sep-shinkai +// @@alice.sep-shinkai/profileName // Not valid examples // @@alice.shinkai/profileName/myPhone @@ -49,7 +49,7 @@ impl fmt::Display for ShinkaiSubidentityType { impl ShinkaiName { // Define a list of valid endings - const VALID_ENDINGS: [&'static str; 3] = [".shinkai", ".sepolia-shinkai", ".arb-sep-shinkai"]; + const VALID_ENDINGS: [&'static str; 3] = [".shinkai", ".sepolia-shinkai", ".sep-shinkai"]; pub fn new(raw_name: String) -> Result { let raw_name = Self::correct_node_name(raw_name); @@ -118,10 +118,10 @@ impl ShinkaiName { ShinkaiLogLevel::Info, &format!("Validation error: {}", raw_name), ); - return Err("Node part of the name should start with '@@' and end with a valid ending ('.shinkai', '.arb-sep-shinkai', etc.)."); + return Err("Node part of the name should start with '@@' and end with a valid ending ('.shinkai', '.sep-shinkai', etc.)."); } - let node_name_regex = r"^@@[a-zA-Z0-9\_\.]+(\.shinkai|\.arb-sep-shinkai|\.sepolia-shinkai)$"; + let node_name_regex = r"^@@[a-zA-Z0-9\_\.]+(\.shinkai|\.sep-shinkai|\.sepolia-shinkai)$"; if !Regex::new(node_name_regex).unwrap().is_match(parts[0]) { shinkai_log( ShinkaiLogOption::Identity, @@ -471,7 +471,7 @@ impl ShinkaiName { } pub fn default_testnet_localhost() -> Self { - ShinkaiName::new("@@localhost.arb-sep-shinkai/main".to_string()) + ShinkaiName::new("@@localhost.sep-shinkai/main".to_string()) .expect("Failed to create default testnet localhost ShinkaiName") } } diff --git a/shinkai-libs/shinkai-message-primitives/src/shinkai_message/shinkai_message_signing.rs b/shinkai-libs/shinkai-message-primitives/src/shinkai_message/shinkai_message_signing.rs index 8e1330408..ff49cda26 100644 --- a/shinkai-libs/shinkai-message-primitives/src/shinkai_message/shinkai_message_signing.rs +++ b/shinkai-libs/shinkai-message-primitives/src/shinkai_message/shinkai_message_signing.rs @@ -333,8 +333,8 @@ mod tests { content: "encrypted:64b11fe63d2b7c3197f04466522b9b54242d8482fb3d14b1837936920968130433b00abb7f8404eca5b759a5a477658fbf8ccadc6a34895d1c42e446ea113cb2d325ec5b9eeba6c37ba21c55caa13e0d628ab188adf98b08c18768195c9e8c7ff3793992333cb729b3216542a6d1628e06a4b4ce61de62be3a3881bf1e0cf9ecb569c6e5e0672018560fb585496b8ab562efb96a4515e05567550843b251401b0bdce54b847c88ca751e67c20cc59f3a262c951649bfe45d7ab38c76aeba5a9c6dbb009d1726e08735f149b9bdfafa21de0fa429cd57b50d3844192667d307a57a97a9ca7f5b783bdd5e0afbb1d3cd6c3771a250b6791e4021359aef5372c9bc2bbbb2b94ae620412107b3887c7455275fc5cafc32e0290ed713fbde8e5017f77957e0f063e04f36b8d6beebe5d945e362199aadd95c2c530634c0ef124fb058c312d11a7f8d0214270e944d95ab796cdab89a91241fe83128f06bceb5c03f6ee2310142ee748f124b39f2367b8ff13fc52564b4fd4318c268c9a8b899fadf56f9887afe1aa2c99951095b470dd1b17262db6dc6d144307498778c8e900d2ccb8bad0f1589629305352a6f3e496d28eead210b9a3da65be0ab149ec58074f8c5b0fa3201e374de7fc31c207818038d5b897a4a172505475d5a2cb632260bf11af45c1d352d045f2fe63da50aa8d65870bebff890f079348975b57e89a92f493f66121b82f07323789837e0ea3638d69e4af5a19645b28c9ac4362eb4a4c26f84479c942f66dc0eb27c5fe7dbfc45c001ce345d873784547eac26cd25731f4acef76cbe346440c616afe48c7244c5cff1ab7d2af7430f".to_string(), }), external_metadata: ExternalMetadata { - sender: "@@my_local_ai.arb-sep-shinkai".to_string(), - recipient: "@@my_local_ai.arb-sep-shinkai".to_string(), + sender: "@@my_local_ai.sep-shinkai".to_string(), + recipient: "@@my_local_ai.sep-shinkai".to_string(), scheduled_time: "2024-09-20T04:53:36.773Z".to_string(), signature: "".to_string(), intra_sender: "main".to_string(), diff --git a/shinkai-libs/shinkai-message-primitives/tests/shinkai_name_tests.rs b/shinkai-libs/shinkai-message-primitives/tests/shinkai_name_tests.rs index 434944bbd..e01848995 100644 --- a/shinkai-libs/shinkai-message-primitives/tests/shinkai_name_tests.rs +++ b/shinkai-libs/shinkai-message-primitives/tests/shinkai_name_tests.rs @@ -14,11 +14,11 @@ mod tests { "@@alice.shinkai/profileName", "@@alice.shinkai/profileName/agent/myChatGPTAgent", "@@alice.shinkai/profileName/device/myPhone", - "@@alice.arb-sep-shinkai", - "@@alice.arb-sep-shinkai/profileName", - "@@alice.arb-sep-shinkai/profileName/agent/myChatGPTAgent", - "@@alice.arb-sep-shinkai/profileName/device/myPhone", - "@@_my_9552.arb-sep-shinkai/main", + "@@alice.sep-shinkai", + "@@alice.sep-shinkai/profileName", + "@@alice.sep-shinkai/profileName/agent/myChatGPTAgent", + "@@alice.sep-shinkai/profileName/device/myPhone", + "@@_my_9552.sep-shinkai/main", ]; for name in valid_names { diff --git a/shinkai-libs/shinkai-sqlite/src/shinkai_tool_manager.rs b/shinkai-libs/shinkai-sqlite/src/shinkai_tool_manager.rs index 106ea90af..b59ab0941 100644 --- a/shinkai-libs/shinkai-sqlite/src/shinkai_tool_manager.rs +++ b/shinkai-libs/shinkai-sqlite/src/shinkai_tool_manager.rs @@ -1455,7 +1455,7 @@ mod tests { author: "Author 3".to_string(), description: "An enabled network tool".to_string(), version: "0.1".to_string(), - provider: ShinkaiName::new("@@agent_provider.arb-sep-shinkai".to_string()).unwrap(), + provider: ShinkaiName::new("@@agent_provider.sep-shinkai".to_string()).unwrap(), usage_type: usage_type.clone(), activated: true, config: vec![], diff --git a/shinkai-libs/shinkai-tcp-relayer/src/tcp_server.rs b/shinkai-libs/shinkai-tcp-relayer/src/tcp_server.rs index f35bec50c..231810b0e 100644 --- a/shinkai-libs/shinkai-tcp-relayer/src/tcp_server.rs +++ b/shinkai-libs/shinkai-tcp-relayer/src/tcp_server.rs @@ -861,7 +861,7 @@ impl TCPProxy { _subidentity: String, ) -> Result { let mut modified_message = message; - modified_message.external_metadata.recipient = "@@locahost.arb-sep-shinkai".to_string(); + modified_message.external_metadata.recipient = "@@locahost.sep-shinkai".to_string(); modified_message.external_metadata.intra_sender = "".to_string(); modified_message.body = match modified_message.body { MessageBody::Unencrypted(mut body) => { diff --git a/shinkai-libs/shinkai-tcp-relayer/tests/server_tests.rs b/shinkai-libs/shinkai-tcp-relayer/tests/server_tests.rs index 25101c1ae..9bd8ad66a 100644 --- a/shinkai-libs/shinkai-tcp-relayer/tests/server_tests.rs +++ b/shinkai-libs/shinkai-tcp-relayer/tests/server_tests.rs @@ -25,7 +25,7 @@ use tokio::time::sleep; use tokio::time::Duration; use x25519_dalek::{PublicKey as EncryptionPublicKey, StaticSecret as EncryptionStaticKey}; -const RELAYER_IDENTITY: &str = "@@tcp_tests_proxy.arb-sep-shinkai"; +const RELAYER_IDENTITY: &str = "@@tcp_tests_proxy.sep-shinkai"; const RELAYER_ENCRYPTION_PRIVATE_KEY: &str = "f03bf86f79d121cbfd774dec4a65912e99f5f17c33852bbc45e819160e62b53b"; const RELAYER_SIGNATURE_PRIVATE_KEY: &str = "f03bf86f79d121cbfd774dec4a65912e99f5f17c33852bbc45e819160e62b53b"; @@ -132,7 +132,7 @@ async fn test_handle_client_identity() { // Connect to the listener let mut socket = tokio::net::TcpStream::connect(addr).await.unwrap(); - let identity = "@@node1_test_with_proxy.arb-sep-shinkai"; + let identity = "@@node1_test_with_proxy.sep-shinkai"; let (identity_sk, identity_pk) = unsafe_deterministic_signature_keypair(0); let (_encryption_sk, _encryption_pk) = unsafe_deterministic_encryption_keypair(0); @@ -176,7 +176,7 @@ async fn test_message_from_localhost_to_external_identity_testing_tcp_relay() { let addr = listener.local_addr().unwrap(); // Localhost - // let localhost_identity = "localhost.arb-sep-shinkai"; + // let localhost_identity = "localhost.sep-shinkai"; let mut localhost_socket = tokio::net::TcpStream::connect(addr).await.unwrap(); // Create a TCPProxy instance @@ -244,8 +244,8 @@ async fn test_message_from_localhost_to_external_identity_testing_tcp_relay() { // Create the payload using create_shinkai_message_for_shared_files let payload = create_shinkai_message_for_shared_files( - "@@localhost.arb-sep-shinkai", - "@@external_identity_testing_tcp_relay.arb-sep-shinkai", + "@@localhost.sep-shinkai", + "@@external_identity_testing_tcp_relay.sep-shinkai", "main", ) .await; @@ -347,7 +347,7 @@ async fn test_message_from_node1_to_external_identity_testing_tcp_relay() { }); // Connect to the listener - let node1_identity = "@@node1_test_with_proxy.arb-sep-shinkai"; + let node1_identity = "@@node1_test_with_proxy.sep-shinkai"; let (identity_sk, identity_pk) = unsafe_deterministic_signature_keypair(0); let (_encryption_sk, encryption_pk) = unsafe_deterministic_encryption_keypair(0); eprintln!( @@ -406,8 +406,8 @@ async fn test_message_from_node1_to_external_identity_testing_tcp_relay() { // Create the payload using create_shinkai_message_for_shared_files let payload = create_shinkai_message_for_shared_files( - "@@node1_test_with_proxy.arb-sep-shinkai", - "@@external_identity_testing_tcp_relay.arb-sep-shinkai", + "@@node1_test_with_proxy.sep-shinkai", + "@@external_identity_testing_tcp_relay.sep-shinkai", "main", ) .await; diff --git a/shinkai-libs/shinkai-tools-primitives/src/tools/shinkai_tool.rs b/shinkai-libs/shinkai-tools-primitives/src/tools/shinkai_tool.rs index f3e0b9fa4..608d24e82 100644 --- a/shinkai-libs/shinkai-tools-primitives/src/tools/shinkai_tool.rs +++ b/shinkai-libs/shinkai-tools-primitives/src/tools/shinkai_tool.rs @@ -530,7 +530,7 @@ mod tests { "properties": {}, "required": [] }), - author: "@@my_local_ai.arb-sep-shinkai".to_string(), + author: "@@my_local_ai.sep-shinkai".to_string(), keywords: vec![ "Deno".to_string(), "Markdown".to_string(),