wuying-agentbay-sdk 0.4.0 → 0.5.0

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
@@ -85,7 +85,7 @@ async function main() {
85
85
  const commandResponse = await session.command.executeCommand('ls -la');
86
86
 
87
87
  // Run code
88
- const codeResponse = await session.command.runCode('print("Hello World")', 'python');
88
+ const codeResponse = await session.code.runCode('print("Hello World")', 'python');
89
89
 
90
90
  // File operations
91
91
  const fileContent = await session.fileSystem.readFile('/etc/hosts');