@cfio/cohort-sync 0.31.0 → 0.31.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/dist/index.js +4 -2
- package/dist/openclaw.plugin.json +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11811,7 +11811,9 @@ async function executeCommand(cmd, gwClient, cfg, resolveAgentName, logger, cron
|
|
|
11811
11811
|
const patch = {};
|
|
11812
11812
|
if (cmd.payload?.name) patch.name = cmd.payload.name;
|
|
11813
11813
|
if (cmd.payload?.schedule) patch.schedule = cmd.payload.schedule;
|
|
11814
|
-
if (cmd.payload?.message
|
|
11814
|
+
if (cmd.payload?.message !== void 0) {
|
|
11815
|
+
patch.payload = { kind: "agentTurn", message: cmd.payload.message };
|
|
11816
|
+
}
|
|
11815
11817
|
if (cmd.payload?.agentId) patch.agentId = reverseResolveAgentName(cmd.payload.agentId, nameMap);
|
|
11816
11818
|
await gwClient.request("cron.update", {
|
|
11817
11819
|
jobId: cmd.payload?.jobId,
|
|
@@ -13559,7 +13561,7 @@ function dumpCtx(ctx) {
|
|
|
13559
13561
|
function dumpEvent(event) {
|
|
13560
13562
|
return dumpCtx(event);
|
|
13561
13563
|
}
|
|
13562
|
-
var PLUGIN_VERSION = true ? "0.31.
|
|
13564
|
+
var PLUGIN_VERSION = true ? "0.31.1" : "unknown";
|
|
13563
13565
|
function resolveGatewayToken(api) {
|
|
13564
13566
|
const token = api.config?.gateway?.auth?.token;
|
|
13565
13567
|
return typeof token === "string" ? token : null;
|
package/dist/package.json
CHANGED
package/package.json
CHANGED