@hoilab/ada-cli 0.84.3 → 0.84.4

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.
@@ -2028,6 +2028,10 @@ export class AgentSession {
2028
2028
  bash: { commandPrefix: shellCommandPrefix, shellPath },
2029
2029
  }, this._resourceLoader.getAgentDir());
2030
2030
  this._baseToolDefinitions = new Map(Object.entries(baseToolDefinitions).map(([name, tool]) => [name, tool]));
2031
+ // The shared project memory tool is only exposed when enabled in settings.
2032
+ if (!this.settingsManager.getProjectMemoryEnabled()) {
2033
+ this._baseToolDefinitions.delete("update_project_memory");
2034
+ }
2031
2035
  const extensionsResult = this._resourceLoader.getExtensions();
2032
2036
  if (options.flagValues) {
2033
2037
  for (const [name, value] of options.flagValues) {