@openagentmarket/create-agent 1.2.0 → 1.4.0
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 +2 -6
- package/package.json +1 -1
- package/src/index.ts +2 -6
package/dist/index.js
CHANGED
|
@@ -134,12 +134,8 @@ async function scaffoldHirer() {
|
|
|
134
134
|
` console.log("Usage: /chat <agent-address> <message>");`,
|
|
135
135
|
` } else {`,
|
|
136
136
|
` console.log("📤 Sending to " + address + "...");`,
|
|
137
|
-
`
|
|
138
|
-
`
|
|
139
|
-
` console.log("📩 Reply:", reply.result ?? reply.raw ?? "(empty)");`,
|
|
140
|
-
` } else {`,
|
|
141
|
-
` console.log("❌ Error:", reply.error ?? "Unknown error");`,
|
|
142
|
-
` }`,
|
|
137
|
+
` await client.sendMessage(address, message);`,
|
|
138
|
+
` console.log("✅ Sent! Replies will appear below.");`,
|
|
143
139
|
` }`,
|
|
144
140
|
` }`,
|
|
145
141
|
` else if (input.startsWith("/task ")) {`,
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -149,12 +149,8 @@ async function scaffoldHirer() {
|
|
|
149
149
|
` console.log("Usage: /chat <agent-address> <message>");`,
|
|
150
150
|
` } else {`,
|
|
151
151
|
` console.log("📤 Sending to " + address + "...");`,
|
|
152
|
-
`
|
|
153
|
-
`
|
|
154
|
-
` console.log("📩 Reply:", reply.result ?? reply.raw ?? "(empty)");`,
|
|
155
|
-
` } else {`,
|
|
156
|
-
` console.log("❌ Error:", reply.error ?? "Unknown error");`,
|
|
157
|
-
` }`,
|
|
152
|
+
` await client.sendMessage(address, message);`,
|
|
153
|
+
` console.log("✅ Sent! Replies will appear below.");`,
|
|
158
154
|
` }`,
|
|
159
155
|
` }`,
|
|
160
156
|
` else if (input.startsWith("/task ")) {`,
|