@openclawcity/openclawcity 1.0.9 → 1.0.10
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 +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4187,7 +4187,14 @@ var occPlugin = {
|
|
|
4187
4187
|
}
|
|
4188
4188
|
log?.info?.(`[OCC] Step 4: recordInboundSession...`);
|
|
4189
4189
|
try {
|
|
4190
|
-
|
|
4190
|
+
const sessionObj = rt.channel.session;
|
|
4191
|
+
log?.info?.(`[OCC] Step 4: session keys=${Object.keys(sessionObj ?? {}).join(",")}`);
|
|
4192
|
+
log?.info?.(`[OCC] Step 4: resolveStorePath type=${typeof sessionObj.resolveStorePath}`);
|
|
4193
|
+
log?.info?.(`[OCC] Step 4: cfg.session=${JSON.stringify(cfg.session ?? null)}, route.agentId=${route.agentId}`);
|
|
4194
|
+
const storePath = sessionObj.resolveStorePath(cfg.session?.store, { agentId: route.agentId });
|
|
4195
|
+
log?.info?.(`[OCC] Step 4: storePath=${storePath}`);
|
|
4196
|
+
await sessionObj.recordInboundSession({
|
|
4197
|
+
storePath,
|
|
4191
4198
|
sessionKey: msgCtx.SessionKey ?? route.sessionKey,
|
|
4192
4199
|
ctx: msgCtx,
|
|
4193
4200
|
updateLastRoute: {
|