@gopherhole/cli 0.1.22 → 0.1.23

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.js CHANGED
@@ -19,7 +19,7 @@ const brand = {
19
19
  greenDark: chalk_1.default.hex('#16a34a'), // gopher-600 - emphasis
20
20
  };
21
21
  // Version
22
- const VERSION = '0.1.14';
22
+ const VERSION = '0.1.23';
23
23
  // ASCII art banner
24
24
  function showBanner(context) {
25
25
  const gopher = [
@@ -285,7 +285,7 @@ ${chalk_1.default.bold('Example:')}
285
285
  -H "Content-Type: application/json" \\
286
286
  -d '{
287
287
  "jsonrpc": "2.0",
288
- "method": "message/send",
288
+ "method": "SendMessage",
289
289
  "params": {
290
290
  "message": { "role": "user", "parts": [{ "kind": "text", "text": "Hello!" }] },
291
291
  "configuration": { "agentId": "echo" }
@@ -1042,7 +1042,7 @@ ${chalk_1.default.bold('Examples:')}
1042
1042
  process.exit(1);
1043
1043
  }
1044
1044
  const spinner = (0, ora_1.default)(`Sending to ${agentId}...`).start();
1045
- log('POST /a2a message/send', { to: agentId, message });
1045
+ log('POST /a2a SendMessage', { to: agentId, message });
1046
1046
  try {
1047
1047
  const res = await fetch(`${API_URL}/../a2a`, {
1048
1048
  method: 'POST',
@@ -1052,7 +1052,7 @@ ${chalk_1.default.bold('Examples:')}
1052
1052
  },
1053
1053
  body: JSON.stringify({
1054
1054
  jsonrpc: '2.0',
1055
- method: 'message/send',
1055
+ method: 'SendMessage',
1056
1056
  params: {
1057
1057
  message: { role: 'user', parts: [{ kind: 'text', text: message }] },
1058
1058
  configuration: { agentId },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gopherhole/cli",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "GopherHole CLI - Connect AI agents to the world",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -18,7 +18,7 @@ const brand = {
18
18
  };
19
19
 
20
20
  // Version
21
- const VERSION = '0.1.14';
21
+ const VERSION = '0.1.23';
22
22
 
23
23
  // ASCII art banner
24
24
  function showBanner(context?: string) {
@@ -316,7 +316,7 @@ ${chalk.bold('Example:')}
316
316
  -H "Content-Type: application/json" \\
317
317
  -d '{
318
318
  "jsonrpc": "2.0",
319
- "method": "message/send",
319
+ "method": "SendMessage",
320
320
  "params": {
321
321
  "message": { "role": "user", "parts": [{ "kind": "text", "text": "Hello!" }] },
322
322
  "configuration": { "agentId": "echo" }
@@ -1169,7 +1169,7 @@ ${chalk.bold('Examples:')}
1169
1169
  }
1170
1170
 
1171
1171
  const spinner = ora(`Sending to ${agentId}...`).start();
1172
- log('POST /a2a message/send', { to: agentId, message });
1172
+ log('POST /a2a SendMessage', { to: agentId, message });
1173
1173
 
1174
1174
  try {
1175
1175
  const res = await fetch(`${API_URL}/../a2a`, {
@@ -1180,7 +1180,7 @@ ${chalk.bold('Examples:')}
1180
1180
  },
1181
1181
  body: JSON.stringify({
1182
1182
  jsonrpc: '2.0',
1183
- method: 'message/send',
1183
+ method: 'SendMessage',
1184
1184
  params: {
1185
1185
  message: { role: 'user', parts: [{ kind: 'text', text: message }] },
1186
1186
  configuration: { agentId },