@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 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-pass
78
+ openclaw cron run sapience-thinking
79
79
  ```
80
80
 
81
81
  **Passes are running but log is empty**
@@ -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
- if (!api.runtime?.agent?.resolveAgentWorkspaceDir)
89
+ let workspaceDir;
90
+ try {
91
+ workspaceDir = api.runtime.agent.resolveAgentWorkspaceDir(api.pluginConfig);
92
+ }
93
+ catch {
90
94
  return;
91
- const workspaceDir = api.runtime.agent.resolveAgentWorkspaceDir(api.pluginConfig);
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");
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "sapience-thinking",
3
3
  "name": "Sapience Thinking",
4
- "version": "0.1.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"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akalsey/sapience-thinking",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "exports": {