Skip to content

Cron/Heartbeat: add preHook gate for pre-run script checks - #49415

Closed
scottgl9 wants to merge 2 commits into
openclaw:mainfrom
scottgl9:scottgl9/pre-hook-gate
Closed

scottgl9 wants to merge 2 commits into
openclaw:mainfrom
scottgl9:scottgl9/pre-hook-gate

Conversation

@scottgl9

@scottgl9 scottgl9 commented Mar 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes #49370

Operators running OpenClaw on resource-constrained hosts (Raspberry Pi, shared VMs, metered cloud instances) currently have no native way to gate cron or heartbeat agent runs on system preconditions — things like checking disk space, network reachability, API availability, or whether a dependent service is healthy. Everyone ends up rebuilding custom wrapper logic independently outside of OpenClaw, which is fragile and hard to maintain.

This PR adds an optional preHook config for cron jobs and heartbeats that runs a shell command before agent execution, using exit codes to decide whether to proceed, skip, or abort.

  • Exit 0 = proceed with agent execution
  • Exit 10 = skip (not counted as a failure, consecutiveErrors stays 0)
  • Any other code = error (counted as a failure, triggers backoff/alerts)

The timeout is capped at 300s to prevent blocking the executor thread.

Changes

  • New src/cron/pre-hook.ts: shared runPreHook() function using child_process.execFile with /bin/sh -c, configurable timeout (default 30s, max 300s), stdout/stderr capture (capped at 64 KB)
  • src/cron/types-shared.ts: add preHook field to CronJobBase (flows to CronJob, CronJobCreate, CronJobPatch)
  • src/config/types.agent-defaults.ts: add preHook to the heartbeat config block
  • src/config/zod-schema.agent-runtime.ts: add preHook to HeartbeatSchema for config validation
  • src/cron/service/timer.ts: insert preHook gate at top of executeJobCore(), before abort signal check
  • src/cron/service/jobs.ts: persist preHook in createJob() and applyJobPatch()
  • src/infra/heartbeat-runner.ts: insert preHook gate in runHeartbeatOnce() after cheap guards (disabled, active hours, queue size) but before preflight
  • src/cron/normalize.ts: normalize preHook input (trim command, clamp timeoutSeconds 1-300, null clears)
  • src/agents/tools/cron-tool.ts: add preHook to allowed keys for add and update actions
  • src/gateway/protocol/schema/cron.ts: add preHook to CronAddParamsSchema and CronJobPatchSchema
  • docs/automation/cron-jobs.md: new "Pre-run hooks" section with config shape, exit code contract, examples
  • docs/gateway/heartbeat.md: add preHook to example config and new section

Tests

  • src/cron/pre-hook.test.ts: unit tests (exit 0/10/1/42, timeout, stdout/stderr capture)
  • src/cron/normalize.test.ts: normalization tests (valid passthrough, empty command clears, timeoutSeconds clamped, null preserves as null for patch clearing)

Test plan

  • pnpm tsgo passes (pre-existing errors on main unrelated to this PR)
  • pnpm test -- src/cron/pre-hook.test.ts passes
  • pnpm test -- src/cron/normalize.test.ts passes
  • Manual: create cron job with preHook: { command: "exit 0" } → job runs normally
  • Manual: create cron job with preHook: { command: "exit 10" } → job skipped, no error increment
  • Manual: create cron job with preHook: { command: "exit 1" } → job errors, consecutiveErrors increments

cc @steipete @vincentkoc @BunsDev for review

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime agents Agent runtime and tooling size: M labels Mar 18, 2026
@greptile-apps

greptile-apps Bot commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds an optional preHook gate to cron jobs and heartbeats, allowing a shell command to run before each execution and control whether to proceed, skip, or abort based on exit code. The feature is well-structured — a clean shared runPreHook() utility, normalizer, type definitions, docs, and tests are all included.

Two issues were found:

  • Logic bug in patch clearing (src/cron/normalize.ts): When preHook: null is passed in a patch, the normalization does delete next.preHook instead of preserving an explicit null. This is inconsistent with how agentId: null is handled (which keeps the null so downstream patch logic knows to clear the field). As written, patching with { preHook: null } will silently drop the key and the stored preHook will never actually be removed — despite the documentation stating otherwise. The associated test in normalize.test.ts validates this buggy behaviour and will also need updating.
  • No upper bound on timeoutSeconds (src/cron/pre-hook.ts, src/cron/normalize.ts): The normalization enforces a minimum of 1 s but no maximum. A hook configured with a very large timeout could block the executor thread for an arbitrarily long time. A sensible cap (e.g. 300 s) should be enforced.
  • Dead code in timeout detection (src/cron/pre-hook.ts): The check (error as NodeJS.ErrnoException).code === "ETIMEDOUT" is never true for execFile subprocess timeouts — Node.js sets error.killed = true (already checked first) rather than this errno string. The condition can be removed.

Confidence Score: 3/5

  • The PR has a logic bug that silently prevents preHook from being cleared via a patch, which contradicts the documented behaviour and could frustrate users trying to remove hooks from existing jobs.
  • The core feature (runPreHook, timer gate, heartbeat gate, type wiring, docs) is solid and well-tested. The logic bug in normalize.ts around null-clearing is real and user-facing, but isolated to the patch-clear path. The missing timeout cap is a hardening concern rather than a correctness bug. Neither issue causes data corruption or security exposure, but the null-clearing bug should be fixed before merging to match the documented contract.
  • src/cron/normalize.ts (null-patch bug) and src/cron/normalize.test.ts (test validates the buggy behaviour)
Prompt To Fix All With AI
This is a comment left during a code review.
Path: src/cron/normalize.ts
Line: 423-425

Comment:
**`null` is dropped instead of preserved — patch will never clear `preHook`**

When `preHook: null` is passed in a patch, the normalization silently removes the key from the output (`delete next.preHook`) rather than keeping an explicit `null`. Downstream patch logic typically only touches fields that are present in the patch object; because the key is absent, the stored `preHook` will never be cleared.

Compare to how `agentId: null` is handled just a few lines above (line 328–330), where the code explicitly does `next.agentId = null` to preserve the clear-signal:

```typescript
} else if (base.preHook === null || base.preHook === undefined) {
  delete next.preHook; // ← drops the key; patch won't touch the stored value
}
```

The documentation says _"Set `preHook` to `null` in a patch to remove it from an existing job"_, but this normalization makes that impossible. The fix is to mirror the `agentId` pattern:

```suggestion
    } else if (base.preHook === null) {
      next.preHook = null;
    } else if (base.preHook === undefined) {
      delete next.preHook;
    }
```

The `normalize.test.ts` assertion `expect("preHook" in normalized).toBe(false)` would also need updating to `expect(normalized.preHook).toBeNull()`.

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: src/cron/pre-hook.ts
Line: 17-18

Comment:
**No upper bound on `timeoutSeconds`**

The normalization in `normalize.ts` clamps `timeoutSeconds` to a minimum of 1 but imposes no maximum. A user (or an agent via the cron tool) could configure `timeoutSeconds: 86400` (24 hours), blocking the cron executor thread for a full day before the hook times out.

Consider adding a reasonable cap (e.g., 300 s) both in `normalize.ts` and as a constant here:

```typescript
export const MAX_PRE_HOOK_TIMEOUT_SECONDS = 300;

const timeoutMs = Math.min(
  config.timeoutSeconds ?? DEFAULT_PRE_HOOK_TIMEOUT_SECONDS,
  MAX_PRE_HOOK_TIMEOUT_SECONDS,
) * 1000;
```

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: src/cron/pre-hook.ts
Line: 36

Comment:
**`ETIMEDOUT` string check is dead code for `execFile` timeouts**

When `execFile` fires its `timeout`, Node.js kills the child and sets `error.killed = true`. The `code` property on an `ExecException` carries the numeric process exit code (or `null` when killed), never the string `"ETIMEDOUT"`. Casting to `NodeJS.ErrnoException` and comparing `.code === "ETIMEDOUT"` will never be true for a subprocess-timeout scenario — the `error.killed` branch already handles it exclusively.

The only real case for `"ETIMEDOUT"` would be a network-level errno, which `execFile` doesn't surface. The second condition can be safely removed to reduce confusion:

```suggestion
        if (error.killed) {
```

How can I resolve this? If you propose a fix, please make it concise.

Last reviewed commit: "Cron/Heartbeat: add ..."

Comment thread src/cron/normalize.ts Resolved
Comment thread src/cron/pre-hook.ts Resolved
Comment thread src/cron/pre-hook.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4b37733b21

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/tools/cron-tool.ts Resolved
Comment thread src/cron/service/timer.ts Resolved
Comment thread src/config/types.agent-defaults.ts Resolved
Comment thread src/cron/normalize.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e8e16f69d5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cron/pre-hook.ts Resolved
Comment thread src/gateway/protocol/schema/cron.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6e7c6a25d3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cron/service/timer.ts Resolved
Comment thread src/cron/pre-hook.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e228fdff41

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cron/pre-hook.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 954b916bd4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cron/types-shared.ts Resolved
@scottgl9
scottgl9 force-pushed the scottgl9/pre-hook-gate branch 2 times, most recently from 37568da to 4e38764 Compare March 18, 2026 15:16
@scottgl9

scottgl9 commented Mar 19, 2026 •

Copy link
Copy Markdown
Contributor Author

If someone has the time to review this, please let me know what you would like me to change, so I can get this feature upstreamed. Going forward I need this or a similar feature to continue using openclaw.

cc: @steipete @vincentkoc @BunsDev

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8b8bfe6930

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/infra/heartbeat-runner.ts Resolved
Comment thread src/gateway/protocol/schema/cron.ts Resolved
@scottgl9
scottgl9 force-pushed the scottgl9/pre-hook-gate branch 2 times, most recently from b096d7c to c726aaf Compare March 22, 2026 03:44

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c726aaf898

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cron/pre-hook.test.ts Resolved
Comment thread src/cron/normalize.ts Resolved
@scottgl9
scottgl9 force-pushed the scottgl9/pre-hook-gate branch from c726aaf to d7f8465 Compare March 22, 2026 03:53
@openclaw-barnacle openclaw-barnacle Bot added the app: macos App: macos label Mar 22, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d7f8465e8a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cron/pre-hook.ts Resolved
@scottgl9
scottgl9 force-pushed the scottgl9/pre-hook-gate branch 2 times, most recently from 8a9553f to ddf357d Compare March 22, 2026 04:55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ddf357d00a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cron/pre-hook.ts Resolved
Comment thread src/cron/normalize.ts Resolved
@scottgl9
scottgl9 force-pushed the scottgl9/pre-hook-gate branch 2 times, most recently from 1186a4d to 7b7245a Compare March 22, 2026 06:55
@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

23 similar comments
@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 01c1a793e4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

const preHookConfig = heartbeat?.preHook ?? resolvedHb?.preHook;
if (preHookConfig?.command) {
const { runPreHook } = await import("../cron/pre-hook.js");
const hookResult = await runPreHook(preHookConfig, opts.abortSignal);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Propagate cron abort signal into wake-now heartbeat runs

runHeartbeatOnce now accepts opts.abortSignal and passes it to runPreHook, but cron wake-now execution still does not provide that signal, so heartbeat pre-hook subprocesses can continue after a cron timeout. This leaves side-effecting commands running in the background while the cron run is already marked failed/timed out. Fresh evidence: in this commit, executeJobCore still calls state.deps.runHeartbeatOnce({ ... heartbeat: { target: "last" } }) without abortSignal in src/cron/service/timer.ts, so opts.abortSignal here is undefined for that path.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: android App: android app: ios App: ios app: macos App: macos app: web-ui App: web-ui channel: bluebubbles Channel integration: bluebubbles channel: discord Channel integration: discord channel: feishu Channel integration: feishu channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: irc channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: nostr Channel integration: nostr channel: signal Channel integration: signal channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: twitch Channel integration: twitch channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser cli CLI command changes commands Command implementations docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: acpx extensions: anthropic extensions: byteplus extensions: cloudflare-ai-gateway extensions: copilot-proxy Extension: copilot-proxy extensions: deepseek extensions: device-pair extensions: diagnostics-otel Extension: diagnostics-otel extensions: duckduckgo extensions: fal extensions: huggingface extensions: kilocode extensions: kimi-coding extensions: llm-task Extension: llm-task extensions: lobster Extension: lobster extensions: memory-core Extension: memory-core extensions: memory-lancedb Extension: memory-lancedb extensions: minimax extensions: modelstudio extensions: moonshot extensions: nvidia extensions: open-prose Extension: open-prose extensions: openai extensions: phone-control extensions: qianfan extensions: qwen-portal-auth Extension: qwen-portal-auth extensions: synthetic extensions: tavily extensions: together extensions: venice extensions: vercel-ai-gateway extensions: volcengine extensions: xiaomi gateway Gateway runtime scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: pre-run script hook/gate for heartbeat and cron agent triggers

2 participants