0.16.0

takahirom/arbigent0.16.0Jan 27, 2025by takahirom

AI Summary

Introduces an experimental AI decision cache to optimize performance and fixes API key logging security issues.

Key Highlights

  • Experimental AI decision cache (disabled by default)
  • Redacted API keys in log files to prevent leaks

New Features

  • AI decision cache
  • API key redaction

Full Release Notes

## New Feature: AI Decision-Making Cache  
When the ViewTree structure and goal (prompt) are identical, the system can now utilize a cached memory of AI decisions. This addresses performance bottlenecks since AI decision-making is typically the most resource-intensive and time-consuming component.   This is an experimental feature and is disabled by default.

```
- Launch app  // ← This task can be cached when executing the "Open Member Page" scenario  
  - Open search  
  - Open member page  
```

<img width="424" alt="image" src="https://github.com/user-attachments/assets/502c990b-5542-447a-92f5-6f67c7f11354" />

## Important bug fix
In version 0.15.0, the API key could be written to the log file unintentionally.  
We've introduced a mechanism to replace the API key with placeholders and added a CI check to prevent potential API key leaks.  

## What's Changed
* Refactor: Extract detectStuckScreen by @takahirom in https://github.com/takahirom/arbigent/pull/112
* Refactor: Make step suspend by @takahirom in https://github.com/takahirom/arbigent/pull/113
* Refactor: Make execute interceptable by @takahirom in https://github.com/takahirom/arbigent/pull/114
* Add AI decision cache by @takahirom in https://github.com/takahirom/arbigent/pull/115


**Full Changelog**: https://github.com/takahirom/arbigent/compare/0.15.0...0.16.0