-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
31 lines (26 loc) · 1.1 KB
/
index.js
File metadata and controls
31 lines (26 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
import { DelegateModePlugin } from "./src/delegate-mode-plugin.js";
const delegateModePlugin = new DelegateModePlugin();
const pluginEntry = definePluginEntry({
id: "headcrab",
name: "Headcrab",
description: "A small OpenClaw plugin for worker-first delegation.",
register(api) {
delegateModePlugin.register(api);
},
});
export default pluginEntry;
export { DelegateModePlugin } from "./src/delegate-mode-plugin.js";
export { OpenClawHookAdapter } from "./src/openclaw-hook-adapter.js";
export { ScopeResolver } from "./src/core/scope-resolver.js";
export { DelegateReminderRenderer } from "./src/core/delegate-reminder-renderer.js";
export { SpawnTaskTransformer } from "./src/core/spawn-task-transformer.js";
export { TaskSandwichBuilder } from "./src/core/task-sandwich-builder.js";
export { runDelegateModeHealthcheck } from "./src/healthcheck.js";
export {
DELEGATE_REMINDER_BLOCK,
DELEGATE_REMINDER_MARKER,
TASK_SANDWICH_BEGIN_DELIMITER,
TASK_SANDWICH_END_DELIMITER,
WORKER_INSTRUCTIONS_BLOCK,
} from "./src/constants.js";