@akalsey/sapience-goals 0.2.0 → 0.2.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.
@@ -29,6 +29,8 @@ export default definePluginEntry({
29
29
  name: "Sapience Goals",
30
30
  description: "Persistent fuzzy goal tracking with weekly status delivery",
31
31
  register(api) {
32
+ if (!api.runtime?.agent?.resolveAgentWorkspaceDir)
33
+ return;
32
34
  const workspaceDir = api.runtime.agent.resolveAgentWorkspaceDir(api.pluginConfig);
33
35
  const config = mergeConfig(api.pluginConfig, workspaceDir);
34
36
  api.registerTool({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akalsey/sapience-goals",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "exports": {