All files / kernel-agents-repl/src/strategies repl-agent.ts

0% Statements 0/2
100% Branches 0/0
0% Functions 0/1
0% Lines 0/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10                   
import { makeAgent } from '@ocap/kernel-agents/agent';
import type { Agent } from '@ocap/kernel-agents/types';
 
import type { State, Action, Observation } from './repl/messages.ts';
import { prepareAttempt } from './repl/prepare-attempt.ts';
 
export const makeReplAgent = (
  args: Parameters<typeof makeAgent<State, Action, Observation>>[0],
): Agent => makeAgent<State, Action, Observation>(args, prepareAttempt);