@happycastle/oh-my-openclaw 0.17.0 → 0.17.1
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.
|
@@ -62,8 +62,6 @@ export function registerRalphLoop(api) {
|
|
|
62
62
|
stateFilePath = join(config.checkpoint_dir, 'ralph-loop-state.json');
|
|
63
63
|
api.registerService({
|
|
64
64
|
id: 'omoc-ralph-loop',
|
|
65
|
-
name: 'Ralph Loop Service',
|
|
66
|
-
description: 'Self-referential completion mechanism with configurable iterations',
|
|
67
65
|
start: async () => {
|
|
68
66
|
await loadStateFromFile();
|
|
69
67
|
},
|
|
@@ -86,8 +86,6 @@ export function registerWebhookBridge(api) {
|
|
|
86
86
|
const config = getConfig(api);
|
|
87
87
|
api.registerService({
|
|
88
88
|
id: 'omoc-webhook-bridge',
|
|
89
|
-
name: 'Webhook Bridge Service',
|
|
90
|
-
description: 'Proactive agent messaging via Gateway webhook hooks',
|
|
91
89
|
start: async () => {
|
|
92
90
|
if (!config.webhook_bridge_enabled) {
|
|
93
91
|
api.logger.info(`${LOG_PREFIX} Webhook bridge disabled (set webhook_bridge_enabled: true to enable)`);
|
package/dist/types.d.ts
CHANGED
|
@@ -72,12 +72,21 @@ export interface CommandRegistration<TCtx = {
|
|
|
72
72
|
text: string;
|
|
73
73
|
}>;
|
|
74
74
|
}
|
|
75
|
+
export interface ServiceContext {
|
|
76
|
+
config: unknown;
|
|
77
|
+
workspaceDir?: string;
|
|
78
|
+
stateDir: string;
|
|
79
|
+
logger: {
|
|
80
|
+
info: (message: string) => void;
|
|
81
|
+
warn: (message: string) => void;
|
|
82
|
+
error: (message: string) => void;
|
|
83
|
+
debug?: (message: string) => void;
|
|
84
|
+
};
|
|
85
|
+
}
|
|
75
86
|
export interface ServiceRegistration {
|
|
76
87
|
id: string;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
start?: () => Promise<void>;
|
|
80
|
-
stop?: () => Promise<void>;
|
|
88
|
+
start: (ctx: ServiceContext) => void | Promise<void>;
|
|
89
|
+
stop?: (ctx: ServiceContext) => void | Promise<void>;
|
|
81
90
|
}
|
|
82
91
|
export interface OmocPluginApi {
|
|
83
92
|
pluginConfig?: PluginConfig;
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "oh-my-openclaw",
|
|
3
3
|
"name": "Oh-My-OpenClaw",
|
|
4
4
|
"description": "Multi-agent orchestration plugin — 11 agents, category-based model routing, todo enforcer, ralph loop, agent setup CLI, and custom tools",
|
|
5
|
-
"version": "0.17.
|
|
5
|
+
"version": "0.17.1",
|
|
6
6
|
"skills": [
|
|
7
7
|
"skills"
|
|
8
8
|
],
|
package/package.json
CHANGED