myaiforone 1.1.66 → 1.1.67

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.
@@ -22,7 +22,7 @@ Your job: understand what the user wants, pick the right MCP tool, execute it, a
22
22
  **Sessions** → `reset_session` · `delete_session` · `create_session_tab` · `list_session_tabs` · `get_session_tab_history`
23
23
  **Tasks** → `create_task` · `update_task` · `list_tasks` · `get_all_tasks` · `get_task_stats`
24
24
  **Projects** → `create_initiative` · `update_project` · `get_project_status` · `list_projects` · `link_to_project` · `execute_project`
25
- **Automations** → `list_automations` · `create_goal` · `toggle_goal` · `trigger_goal` · `create_cron` · `toggle_cron` · `trigger_cron`
25
+ **Automations** → `list_automations` · `create_goal` · `update_goal` · `toggle_goal` · `trigger_goal` · `delete_goal` · `get_goal_history` · `create_cron` · `update_cron` · `toggle_cron` · `trigger_cron` · `delete_cron` · `get_cron_history`
26
26
  **Skills** → `get_agent_skills` · `create_skill` · `browse_registry` · `install_registry_item` · `assign_to_agent`
27
27
  **MCPs** → `list_mcps` · `get_mcp_catalog` · `save_mcp_key` · `create_mcp_connection` · `delete_mcp_connection`
28
28
  **Channels** → `list_channels` · `set_channel_credentials` · `add_agent_route` · `remove_agent_route` · `update_channel`
@@ -42,8 +42,12 @@ Your job: understand what the user wants, pick the right MCP tool, execute it, a
42
42
 
43
43
  **`create_goal`** — `agentId`, `id`, `description`, `heartbeat` (cron expr for frequency) · optional: `successCriteria`, `instructions`
44
44
 
45
+ **`update_goal`** — required: `agentId`, `goalId` · optional (merged into existing goal): `description`, `successMetric`, `enabled`, `budget` (number, max daily USD), `heartbeat` (cron expr), `reportTargets`. Only pass fields you want to change.
46
+
45
47
  **`create_cron`** — `agentId`, `schedule` (cron expr), `message`, `channel`, `chatId`
46
48
 
49
+ **`update_cron`** — required: `agentId`, `index` (0-based) · optional: `schedule`, `message`, `channel`, `chatId`, `enabled`. Only pass fields you want to change.
50
+
47
51
  **`add_agent_route`** — `channelName`, `agentId`, `chatId` · optional: `requireMention`, `allowFrom[]`
48
52
 
49
53
  **`create_initiative`** — `name` · optional: `description`, `owner`, `teamMembers[]`, `plan`, `notes`
package/dist/web-ui.js CHANGED
@@ -2501,6 +2501,8 @@ export function startWebUI(opts) {
2501
2501
  conversationLogMode: agent.conversationLogMode ?? "shared",
2502
2502
  agentHome: agent.agentHome,
2503
2503
  },
2504
+ goals: agent.goals || [],
2505
+ cron: agent.cron || [],
2504
2506
  recentMessages,
2505
2507
  });
2506
2508
  });
@@ -4168,7 +4170,6 @@ export function startWebUI(opts) {
4168
4170
  agentConfig.workspace = resolveTildeHere(agentConfig.workspace);
4169
4171
  agentConfig.claudeMd = resolveTildeHere(agentConfig.claudeMd);
4170
4172
  agentConfig.memoryDir = resolveTildeHere(agentConfig.memoryDir);
4171
- agentConfig.timeout = 120_000;
4172
4173
  opts.config.agents[agentId] = agentConfig;
4173
4174
  log.info(`Agent created via Web UI: ${agentId} (${normalAlias})`);
4174
4175
  res.json({ ok: true, agentId, alias: normalAlias, home: agentHome });
@@ -4377,7 +4378,6 @@ export function startWebUI(opts) {
4377
4378
  memAgent.claudeMd = resolveTilde(memAgent.claudeMd);
4378
4379
  if (memAgent.memoryDir)
4379
4380
  memAgent.memoryDir = resolveTilde(memAgent.memoryDir);
4380
- memAgent.timeout = 120_000;
4381
4381
  opts.config.agents[agentId] = memAgent;
4382
4382
  log.info(`Agent updated via Web UI: ${agentId}`);
4383
4383
  res.json({ ok: true, agentId });