hammer-ai 0.2.6 → 0.2.7

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/dist/index.d.ts CHANGED
@@ -1303,9 +1303,9 @@ declare abstract class ToolLoopAgentRuntime<TMemory extends AgentMemoryLayer = A
1303
1303
  protected constructor(deps: ToolLoopAgentRuntimeDeps<TStepInput>);
1304
1304
  protected abstract createRuntimeSetup(): Promise<ToolLoopRuntimeSetup<TMemory, TEnforcer>>;
1305
1305
  protected abstract getToolDefinitions(): ToolDefinition[];
1306
- protected abstract buildSystemPrompt(context: ToolLoopRuntimeStepContext<TStepInput>): string;
1307
- protected abstract buildLLMRequest(context: ToolLoopRuntimeStepContext<TStepInput>, messages: ChatMessage[]): ToolLoopRuntimeLLMRequest;
1308
- protected abstract parseStepResponse(response: ToolLoopRuntimeLLMResponse, tools: ToolDefinition[]): ParsedStepInput;
1306
+ protected buildSystemPrompt(_context: ToolLoopRuntimeStepContext<TStepInput>): string;
1307
+ protected buildLLMRequest(_context: ToolLoopRuntimeStepContext<TStepInput>, _messages: ChatMessage[]): ToolLoopRuntimeLLMRequest;
1308
+ protected parseStepResponse(_response: ToolLoopRuntimeLLMResponse, _tools: ToolDefinition[]): ParsedStepInput;
1309
1309
  protected get runtimeLoop(): AgentLoop | null;
1310
1310
  protected get runtimeMemory(): TMemory | null;
1311
1311
  protected get runtimeEnforcer(): TEnforcer | null;
package/dist/index.js CHANGED
@@ -3929,6 +3929,21 @@ var ToolLoopAgentRuntime = class {
3929
3929
  this.hooks = deps.hooks ?? {};
3930
3930
  this.requireTodoListOnFirstResponse = deps.requireTodoListOnFirstResponse ?? false;
3931
3931
  }
3932
+ buildSystemPrompt(_context) {
3933
+ throw new Error(
3934
+ `buildSystemPrompt is not implemented for ${this.constructor.name}`
3935
+ );
3936
+ }
3937
+ buildLLMRequest(_context, _messages) {
3938
+ throw new Error(
3939
+ `buildLLMRequest is not implemented for ${this.constructor.name}`
3940
+ );
3941
+ }
3942
+ parseStepResponse(_response, _tools) {
3943
+ throw new Error(
3944
+ `parseStepResponse is not implemented for ${this.constructor.name}`
3945
+ );
3946
+ }
3932
3947
  get runtimeLoop() {
3933
3948
  return this.infrastructure?.loop ?? null;
3934
3949
  }