Skip to content

Commit 7a644b4

Browse files
g
1 parent cebff82 commit 7a644b4

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

cli.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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

129129
program.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(', ')}`);

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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": {
@@ -19,6 +19,6 @@
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
}

0 commit comments

Comments
 (0)