@akalsey/sapience-goals 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
|
@@ -129,7 +129,7 @@ The next delivery date is stored per-goal in `goals.json` and rolls forward auto
|
|
|
129
129
|
**Goal submitted but no decomposition prompt**
|
|
130
130
|
The cron fires every 15 minutes. Wait for the next pass, or trigger manually:
|
|
131
131
|
```bash
|
|
132
|
-
openclaw cron run sapience-goals-check
|
|
132
|
+
openclaw cron run sapience-goals-check
|
|
133
133
|
```
|
|
134
134
|
Also confirm the inbox path matches your config and that the file is readable.
|
|
135
135
|
|
package/dist/src/service.js
CHANGED
|
@@ -29,9 +29,13 @@ export default definePluginEntry({
|
|
|
29
29
|
name: "Sapience Goals",
|
|
30
30
|
description: "Persistent fuzzy goal tracking with weekly status delivery",
|
|
31
31
|
register(api) {
|
|
32
|
-
|
|
32
|
+
let workspaceDir;
|
|
33
|
+
try {
|
|
34
|
+
workspaceDir = api.runtime.agent.resolveAgentWorkspaceDir(api.pluginConfig);
|
|
35
|
+
}
|
|
36
|
+
catch {
|
|
33
37
|
return;
|
|
34
|
-
|
|
38
|
+
}
|
|
35
39
|
const config = mergeConfig(api.pluginConfig, workspaceDir);
|
|
36
40
|
api.registerTool({
|
|
37
41
|
name: "goal_submit",
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "sapience-goals",
|
|
3
3
|
"name": "Sapience Goals",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.3",
|
|
5
5
|
"description": "Persistent fuzzy goal tracking: accepts vague objectives, decomposes them into candidate approaches, tracks incremental progress, and delivers weekly status",
|
|
6
6
|
"contracts": {
|
|
7
7
|
"tools": ["goal_submit", "check_goals"]
|