@elizaos/autonomous 2.0.0-alpha.72 → 2.0.0-alpha.74

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/autonomous",
3
- "version": "2.0.0-alpha.72",
3
+ "version": "2.0.0-alpha.74",
4
4
  "description": "Standalone Milady agent runtime and backend server package.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -934,7 +934,7 @@
934
934
  },
935
935
  "dependencies": {
936
936
  "@clack/prompts": "^1.0.0",
937
- "@elizaos/core": "2.0.0-alpha.64",
937
+ "@elizaos/core": "^2.0.0-alpha.71",
938
938
  "@elizaos/plugin-agent-orchestrator": "0.3.15",
939
939
  "@elizaos/plugin-agent-skills": "alpha",
940
940
  "@elizaos/plugin-anthropic": "alpha",
@@ -958,7 +958,7 @@
958
958
  "@elizaos/plugin-todo": "alpha",
959
959
  "@elizaos/plugin-trajectory-logger": "alpha",
960
960
  "@elizaos/plugin-trust": "alpha",
961
- "@elizaos/skills": "2.0.0-alpha.15",
961
+ "@elizaos/skills": "^2.0.0-alpha.71",
962
962
  "@hapi/boom": "^10.0.1",
963
963
  "@lunchtable/plugin-ltcg": "^0.1.0",
964
964
  "@mariozechner/pi-ai": "0.52.12",
@@ -41,7 +41,7 @@ export async function handleCloudStatusRoutes(ctx) {
41
41
  const hasApiKey = Boolean(config.cloud?.apiKey?.trim());
42
42
  const effectivelyEnabled = cloudEnabled;
43
43
  const cloudAuth = runtime
44
- ? await runtime.getService("CLOUD_AUTH")
44
+ ? runtime.getService("CLOUD_AUTH")
45
45
  : null;
46
46
  const authConnected = Boolean(cloudAuth?.isAuthenticated());
47
47
  if (authConnected || hasApiKey) {
@@ -81,7 +81,7 @@ export async function handleCloudStatusRoutes(ctx) {
81
81
  }
82
82
  if (method === "GET" && pathname === "/api/cloud/credits") {
83
83
  const cloudAuth = runtime
84
- ? await runtime.getService("CLOUD_AUTH")
84
+ ? runtime.getService("CLOUD_AUTH")
85
85
  : null;
86
86
  const configApiKey = config.cloud?.apiKey?.trim();
87
87
  if (!cloudAuth || !cloudAuth.isAuthenticated()) {
@@ -13,7 +13,7 @@ export async function getKnowledgeService(runtime) {
13
13
  if (!runtime) {
14
14
  return { service: null, reason: "runtime_unavailable" };
15
15
  }
16
- let service = await runtime.getService("knowledge");
16
+ let service = runtime.getService("knowledge");
17
17
  if (service)
18
18
  return { service };
19
19
  try {
@@ -23,7 +23,7 @@ export async function getKnowledgeService(runtime) {
23
23
  setTimeout(() => reject(new Error("knowledge service timeout")), timeoutMs);
24
24
  });
25
25
  await Promise.race([servicePromise, timeout]);
26
- service = await runtime.getService("knowledge");
26
+ service = runtime.getService("knowledge");
27
27
  if (service)
28
28
  return { service };
29
29
  return { service: null, reason: "not_registered" };
@@ -79,8 +79,8 @@ export function getTriggerLimit(runtime) {
79
79
  return DEFAULT_MAX_ACTIVE_TRIGGERS;
80
80
  }
81
81
  async function isAutonomyServiceAvailable(runtime) {
82
- const svc = (await runtime.getService("autonomy")) ??
83
- (await runtime.getService("AUTONOMY"));
82
+ const svc = (runtime.getService("autonomy")) ??
83
+ (runtime.getService("AUTONOMY"));
84
84
  return typeof svc?.injectAutonomousInstruction === "function";
85
85
  }
86
86
  async function dispatchInstruction(runtime, taskId, trigger) {