@akalsey/sapience-feedback 0.3.0 → 0.3.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.
@@ -25,6 +25,8 @@ export default definePluginEntry({
25
25
  name: "Sapience Feedback",
26
26
  description: "Persists behavioral corrections and confirmations into the sapience calibration profile",
27
27
  register(api) {
28
+ if (!api.runtime?.agent?.resolveAgentWorkspaceDir)
29
+ return;
28
30
  const workspaceDir = api.runtime.agent.resolveAgentWorkspaceDir(api.pluginConfig);
29
31
  const config = mergeConfig(api.pluginConfig, workspaceDir);
30
32
  const llm = getLlmClient(api);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akalsey/sapience-feedback",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "exports": {