open-agents-ai 0.71.8 → 0.72.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/dist/index.js +30 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15071,6 +15071,32 @@ are scanned for key material leaks. Payment operations use the key internally.
|
|
|
15071
15071
|
When the user asks about expanding capabilities or connecting with other agents, suggest
|
|
15072
15072
|
enabling nexus networking. Use inference_proof to benchmark and advertise capabilities.
|
|
15073
15073
|
|
|
15074
|
+
## Temporal Agency \u2014 Scheduling, Reminders & Long-Horizon Tasks
|
|
15075
|
+
|
|
15076
|
+
You have 4 temporal tools for persistent, cross-session time management:
|
|
15077
|
+
|
|
15078
|
+
- scheduler: Create OS-level cron jobs that launch the agent on a schedule.
|
|
15079
|
+
scheduler(action='schedule', task='Run full test suite', schedule='daily')
|
|
15080
|
+
scheduler(action='list') \u2014 see all scheduled tasks
|
|
15081
|
+
Presets: 'every 5 minutes', 'every hour', 'daily', 'weekly', 'monthly', or raw cron.
|
|
15082
|
+
|
|
15083
|
+
- cron_agent: Like scheduler but with goal tracking, completion criteria, and execution history.
|
|
15084
|
+
cron_agent(action='create', task='Check for dependency updates', goal='Keep deps current',
|
|
15085
|
+
schedule='weekly', completion_criteria='No outdated packages', verify_command='npm outdated')
|
|
15086
|
+
Use for long-horizon autonomous workflows: periodic reviews, monitoring, updates.
|
|
15087
|
+
|
|
15088
|
+
- reminder: Leave a message for your future self across sessions.
|
|
15089
|
+
reminder(action='create', message='Follow up on PR review', due='in 2 hours', priority='high')
|
|
15090
|
+
Reminders surface automatically at agent startup. Use for deferred attention.
|
|
15091
|
+
|
|
15092
|
+
- agenda: View and manage attention directives \u2014 what to focus on across sessions.
|
|
15093
|
+
agenda(action='view') \u2014 see active focus items
|
|
15094
|
+
agenda(action='set', focus='Finish migration before Friday', priority='critical')
|
|
15095
|
+
|
|
15096
|
+
These tools use OS cron (survives process death) and persist state to .oa/ for cross-session continuity.
|
|
15097
|
+
Use cron_agent for recurring autonomous tasks, scheduler for simple repeating commands,
|
|
15098
|
+
reminder for deferred attention, and agenda for strategic focus tracking.
|
|
15099
|
+
|
|
15074
15100
|
## Context Efficiency
|
|
15075
15101
|
|
|
15076
15102
|
- Use grep_search to find specific code instead of reading many files
|
|
@@ -31258,7 +31284,6 @@ var init_voice = __esm({
|
|
|
31258
31284
|
if (this.ort)
|
|
31259
31285
|
return;
|
|
31260
31286
|
const arch = process.arch;
|
|
31261
|
-
const isArmLinux = (arch === "arm64" || arch === "arm") && process.platform === "linux";
|
|
31262
31287
|
mkdirSync11(voiceDir(), { recursive: true });
|
|
31263
31288
|
const pkgPath = join38(voiceDir(), "package.json");
|
|
31264
31289
|
const expectedDeps = {
|
|
@@ -31286,9 +31311,6 @@ var init_voice = __esm({
|
|
|
31286
31311
|
try {
|
|
31287
31312
|
this.ort = voiceRequire("onnxruntime-node");
|
|
31288
31313
|
} catch {
|
|
31289
|
-
if (isArmLinux) {
|
|
31290
|
-
throw new Error(`Voice synthesis (onnxruntime-node) is not available on ARM Linux (${arch}). Voice feedback is disabled on this architecture.`);
|
|
31291
|
-
}
|
|
31292
31314
|
renderInfo("Installing ONNX runtime for voice synthesis...");
|
|
31293
31315
|
try {
|
|
31294
31316
|
execSync26("npm install --no-audit --no-fund", {
|
|
@@ -31298,8 +31320,8 @@ var init_voice = __esm({
|
|
|
31298
31320
|
});
|
|
31299
31321
|
this.ort = voiceRequire("onnxruntime-node");
|
|
31300
31322
|
} catch (err) {
|
|
31301
|
-
const
|
|
31302
|
-
throw new Error(`Failed to install voice dependencies.${
|
|
31323
|
+
const archHint = arch !== "x64" ? ` onnxruntime-node may not have prebuilt binaries for ${process.platform}-${arch}.` : "";
|
|
31324
|
+
throw new Error(`Failed to install voice dependencies.${archHint} Try manually: cd ${voiceDir()} && npm install
|
|
31303
31325
|
Error: ${err instanceof Error ? err.message : String(err)}`);
|
|
31304
31326
|
}
|
|
31305
31327
|
}
|
|
@@ -31307,9 +31329,6 @@ Error: ${err instanceof Error ? err.message : String(err)}`);
|
|
|
31307
31329
|
const phonemizerMod = voiceRequire("phonemizer");
|
|
31308
31330
|
this.phonemizeFn = phonemizerMod.phonemize ?? phonemizerMod.default?.phonemize ?? phonemizerMod;
|
|
31309
31331
|
} catch {
|
|
31310
|
-
if (isArmLinux) {
|
|
31311
|
-
throw new Error(`Phonemizer (espeak-ng WASM) is not available on ARM Linux (${arch}). Voice feedback is disabled on this architecture.`);
|
|
31312
|
-
}
|
|
31313
31332
|
renderInfo("Installing phonemizer for voice synthesis...");
|
|
31314
31333
|
try {
|
|
31315
31334
|
execSync26("npm install --no-audit --no-fund", {
|
|
@@ -31320,8 +31339,8 @@ Error: ${err instanceof Error ? err.message : String(err)}`);
|
|
|
31320
31339
|
const phonemizerMod = voiceRequire("phonemizer");
|
|
31321
31340
|
this.phonemizeFn = phonemizerMod.phonemize ?? phonemizerMod.default?.phonemize ?? phonemizerMod;
|
|
31322
31341
|
} catch (err) {
|
|
31323
|
-
const
|
|
31324
|
-
throw new Error(`Failed to install phonemizer.${
|
|
31342
|
+
const archHint = arch !== "x64" ? ` phonemizer WASM may not support ${process.platform}-${arch}.` : "";
|
|
31343
|
+
throw new Error(`Failed to install phonemizer.${archHint} Try manually: cd ${voiceDir()} && npm install
|
|
31325
31344
|
Error: ${err instanceof Error ? err.message : String(err)}`);
|
|
31326
31345
|
}
|
|
31327
31346
|
}
|
package/package.json
CHANGED