@akalsey/sapience-thinking 0.2.1 → 0.2.3
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/README.md +1 -1
- package/dist/src/service.js +6 -2
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -75,7 +75,7 @@ Passes only fire within `activeHours`. Outside that window, the cron fires but s
|
|
|
75
75
|
**Nothing in the log after install**
|
|
76
76
|
The plugin fires on cron schedule, not immediately. Wait for the next 15-minute boundary, or manually trigger:
|
|
77
77
|
```bash
|
|
78
|
-
openclaw cron run sapience-thinking
|
|
78
|
+
openclaw cron run sapience-thinking
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
**Passes are running but log is empty**
|
package/dist/src/service.js
CHANGED
|
@@ -86,9 +86,13 @@ export default definePluginEntry({
|
|
|
86
86
|
name: "Sapience Thinking",
|
|
87
87
|
description: "Periodic isolated thinking passes that produce structured proposals",
|
|
88
88
|
register(api) {
|
|
89
|
-
|
|
89
|
+
let workspaceDir;
|
|
90
|
+
try {
|
|
91
|
+
workspaceDir = api.runtime.agent.resolveAgentWorkspaceDir(api.pluginConfig);
|
|
92
|
+
}
|
|
93
|
+
catch {
|
|
90
94
|
return;
|
|
91
|
-
|
|
95
|
+
}
|
|
92
96
|
const config = mergeConfig(api.pluginConfig, workspaceDir);
|
|
93
97
|
const lockDir = join(workspaceDir, "proactive-thinking");
|
|
94
98
|
const lockFile = join(lockDir, ".pass.lock");
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "sapience-thinking",
|
|
3
3
|
"name": "Sapience Thinking",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.3",
|
|
5
5
|
"description": "Periodic isolated thinking passes that produce structured proposals",
|
|
6
6
|
"contracts": {
|
|
7
7
|
"tools": ["get_thinking_context", "record_thinking_output"]
|