@2en/clawly-plugins 1.21.0 → 1.21.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.
- package/index.ts +3 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
* - /clawly_echo — echo text back without LLM
|
|
22
22
|
*
|
|
23
23
|
* Hooks:
|
|
24
|
+
* - before_message_write — restores original /skill command in user messages (undoes gateway rewrite)
|
|
24
25
|
* - tool_result_persist — copies TTS audio to persistent outbound directory
|
|
25
26
|
* - before_tool_call — enforces delivery fields on cron.create
|
|
26
27
|
* - agent_end — sends push notification when client is offline
|
|
@@ -36,6 +37,7 @@ import {registerGateway} from './gateway'
|
|
|
36
37
|
import {getGatewayConfig} from './gateway-fetch'
|
|
37
38
|
import {setupModelGateway} from './model-gateway-setup'
|
|
38
39
|
import {registerOutboundHook, registerOutboundHttpRoute, registerOutboundMethods} from './outbound'
|
|
40
|
+
import {registerSkillCommandRestore} from './skill-command-restore'
|
|
39
41
|
import {registerTools} from './tools'
|
|
40
42
|
|
|
41
43
|
type PluginRuntime = {
|
|
@@ -108,6 +110,7 @@ export default {
|
|
|
108
110
|
name: 'Clawly Plugins',
|
|
109
111
|
description: 'Clawly utility RPC methods (clawly.*).',
|
|
110
112
|
register(api: PluginApi) {
|
|
113
|
+
registerSkillCommandRestore(api)
|
|
111
114
|
registerOutboundHook(api)
|
|
112
115
|
registerOutboundMethods(api)
|
|
113
116
|
registerOutboundHttpRoute(api)
|