Merge pull request #733 from AbhisekBasu1/patch-1
Readme Fix: Update section title from 'macOS app' to 'Apps'
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
- Cron/CLI: trim model overrides on cron edits and document main-session guidance. (#711) — thanks @mjrussell.
|
- Cron/CLI: trim model overrides on cron edits and document main-session guidance. (#711) — thanks @mjrussell.
|
||||||
- Skills: bundle `skill-creator` to guide creating and packaging skills.
|
- Skills: bundle `skill-creator` to guide creating and packaging skills.
|
||||||
- Discord: expose channel/category management actions in the message tool. (#730) — thanks @NicholasSpisak
|
- Discord: expose channel/category management actions in the message tool. (#730) — thanks @NicholasSpisak
|
||||||
|
- Docs: rename README “macOS app” section to “Apps”. (#733) — thanks @AbhisekBasu1.
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- Doctor: surface plugin diagnostics in the report.
|
- Doctor: surface plugin diagnostics in the report.
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ Send these in WhatsApp/Telegram/Slack/WebChat (group commands are owner-only):
|
|||||||
- `/restart` — restart the gateway (owner-only in groups)
|
- `/restart` — restart the gateway (owner-only in groups)
|
||||||
- `/activation mention|always` — group activation toggle (groups only)
|
- `/activation mention|always` — group activation toggle (groups only)
|
||||||
|
|
||||||
## macOS app (optional)
|
## Apps (optional)
|
||||||
|
|
||||||
The Gateway alone delivers a great experience. All apps are optional and add extra features.
|
The Gateway alone delivers a great experience. All apps are optional and add extra features.
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ export function stripHeartbeatToken(
|
|||||||
: maxAckCharsRaw;
|
: maxAckCharsRaw;
|
||||||
const maxAckChars = Math.max(
|
const maxAckChars = Math.max(
|
||||||
0,
|
0,
|
||||||
Number.isFinite(parsedAckChars)
|
typeof parsedAckChars === "number" && Number.isFinite(parsedAckChars)
|
||||||
? parsedAckChars
|
? parsedAckChars
|
||||||
: DEFAULT_HEARTBEAT_ACK_MAX_CHARS,
|
: DEFAULT_HEARTBEAT_ACK_MAX_CHARS,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -2,9 +2,6 @@ import fs from "node:fs/promises";
|
|||||||
import os from "node:os";
|
import os from "node:os";
|
||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import { describe, expect, it, vi } from "vitest";
|
import { describe, expect, it, vi } from "vitest";
|
||||||
|
|
||||||
// Avoid pulling optional runtime deps during isolated runs.
|
|
||||||
vi.mock("jiti", () => ({ createJiti: () => () => ({}) }));
|
|
||||||
import { HEARTBEAT_PROMPT } from "../auto-reply/heartbeat.js";
|
import { HEARTBEAT_PROMPT } from "../auto-reply/heartbeat.js";
|
||||||
import * as replyModule from "../auto-reply/reply.js";
|
import * as replyModule from "../auto-reply/reply.js";
|
||||||
import type { ClawdbotConfig } from "../config/config.js";
|
import type { ClawdbotConfig } from "../config/config.js";
|
||||||
@@ -20,6 +17,9 @@ import {
|
|||||||
} from "./heartbeat-runner.js";
|
} from "./heartbeat-runner.js";
|
||||||
import { resolveHeartbeatDeliveryTarget } from "./outbound/targets.js";
|
import { resolveHeartbeatDeliveryTarget } from "./outbound/targets.js";
|
||||||
|
|
||||||
|
// Avoid pulling optional runtime deps during isolated runs.
|
||||||
|
vi.mock("jiti", () => ({ createJiti: () => () => ({}) }));
|
||||||
|
|
||||||
describe("resolveHeartbeatIntervalMs", () => {
|
describe("resolveHeartbeatIntervalMs", () => {
|
||||||
it("returns default when unset", () => {
|
it("returns default when unset", () => {
|
||||||
expect(resolveHeartbeatIntervalMs({})).toBe(30 * 60_000);
|
expect(resolveHeartbeatIntervalMs({})).toBe(30 * 60_000);
|
||||||
|
|||||||
Reference in New Issue
Block a user