File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 22
33Record your work as a trajectory for future agents and humans to follow.
44
5+ ## Usage
6+
7+ If ` trail ` is installed globally, run commands directly:
8+ ``` bash
9+ trail start " Task description"
10+ ```
11+
12+ If not globally installed, use npx to run from local installation:
13+ ``` bash
14+ npx trail start " Task description"
15+ ```
16+
517## When Starting Work
618
719Start a trajectory when beginning a task:
Original file line number Diff line number Diff line change 2929 ],
3030 "author" : " " ,
3131 "license" : " MIT" ,
32- "files" : [
33- " dist"
34- ],
32+ "files" : [" dist" ],
3533 "engines" : {
3634 "node" : " >=20.0.0"
3735 },
Original file line number Diff line number Diff line change @@ -113,9 +113,7 @@ export function addChapter(
113113
114114 // Add agent to trajectory.agents if not already present
115115 let updatedAgents : AgentParticipation [ ] = trajectory . agents ;
116- const agentExists = trajectory . agents . some (
117- ( a ) => a . name === input . agentName ,
118- ) ;
116+ const agentExists = trajectory . agents . some ( ( a ) => a . name === input . agentName ) ;
119117 if ( ! agentExists ) {
120118 const isFirstAgent = trajectory . agents . length === 0 ;
121119 updatedAgents = [
You can’t perform that action at this time.
0 commit comments