File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ async function extractConstraints(intentText, isDirect) {
124124// CLI COMMANDS
125125// ============================================================================
126126
127- program . name ( 'clinch' ) . description ( 'Clinch Protocol Command Line' ) . version ( '0.2.0 ' ) ;
127+ program . name ( 'clinch' ) . description ( 'Clinch Protocol Command Line' ) . version ( '0.2.1 ' ) ;
128128
129129program . command ( 'config' ) . description ( 'Set CLI configuration' )
130130 . option ( '--mode <mode>' , 'buyer | seller | both' )
@@ -223,7 +223,11 @@ program.command('discover <category>').description('Browse registered sellers fo
223223 results . forEach ( ( r , i ) => {
224224 const name = r . display_name || `${ r . agent_id . substring ( 0 , 12 ) } ...` ;
225225 const official = r . official_node ? ' ✓ Official' : '' ;
226- const tags = r . tags && r . tags . length ? r . tags . join ( ', ' ) : 'none' ;
226+
227+ // Internally fall back to supported_modes if old tags attribute is missing, keeping terminal display identical
228+ const rawTags = r . tags || r . supported_modes || [ ] ;
229+ const tags = rawTags . length ? rawTags . join ( ', ' ) : 'none' ;
230+
227231 console . log ( ` [${ i + 1 } ] ${ name } ${ official } ` ) ;
228232 console . log ( ` Agent ID : ${ r . agent_id } ` ) ;
229233 console . log ( ` Categories : ${ ( r . categories || [ ] ) . join ( ', ' ) } ` ) ;
Original file line number Diff line number Diff line change 66
77
88 "name" : " agent-clinch" ,
9- "version" : " 0.8.2 " ,
9+ "version" : " 0.8.3 " ,
1010 "description" : " Clinch Protocol CLI — agent negotiation from your terminal" ,
1111 "main" : " cli.js" ,
1212 "bin" : {
1919 "dependencies" : {
2020 "commander" : " ^14.0.3" ,
2121 "node-llama-cpp" : " ^3.18.1" ,
22- "clinch-core" : " 0.8.2 "
22+ "clinch-core" : " 0.8.3 "
2323 }
2424}
You can’t perform that action at this time.
0 commit comments