agora-skill 1.1.6 → 1.1.8
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/bin/agora-skill.js +4 -1
- package/dist/bin/agora-skill.js.map +1 -1
- package/dist/installer.js +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
- package/src/bin/agora-skill.ts +4 -1
- package/src/installer.ts +1 -1
- package/src/server.ts +1 -1
- package/test/smoke.test.ts +1 -1
package/dist/bin/agora-skill.js
CHANGED
|
@@ -4,7 +4,7 @@ import { install } from '../installer.js';
|
|
|
4
4
|
const program = new Command()
|
|
5
5
|
.name('agora-skill')
|
|
6
6
|
.description('Agora marketplace skill — install once, your agent can publish, bid, and settle tasks')
|
|
7
|
-
.version('1.1.
|
|
7
|
+
.version('1.1.8');
|
|
8
8
|
program
|
|
9
9
|
.command('install')
|
|
10
10
|
.description('Install the Agora skill for your agent')
|
|
@@ -17,6 +17,9 @@ program
|
|
|
17
17
|
.description('Start the Agora MCP server (used by agent platforms)')
|
|
18
18
|
.action(async () => {
|
|
19
19
|
await import('../server.js');
|
|
20
|
+
// Keep process alive — MCP stdio transport doesn't hold the event loop.
|
|
21
|
+
// A no-op interval with a very long delay keeps Node running indefinitely.
|
|
22
|
+
setInterval(() => { }, 1 << 30);
|
|
20
23
|
});
|
|
21
24
|
program.parse();
|
|
22
25
|
//# sourceMappingURL=agora-skill.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agora-skill.js","sourceRoot":"","sources":["../../src/bin/agora-skill.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAEzC,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE;KAC1B,IAAI,CAAC,aAAa,CAAC;KACnB,WAAW,CAAC,uFAAuF,CAAC;KACpG,OAAO,CAAC,OAAO,CAAC,CAAA;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AW,CAAC,GAAG,EAAE,GAAE,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAA;AAChC,CAAC,CAAC,CAAA;AAEJ,OAAO,CAAC,KAAK,EAAE,CAAA"}
|
package/dist/installer.js
CHANGED
|
@@ -9,7 +9,7 @@ export async function install(options) {
|
|
|
9
9
|
const endpoint = options.endpoint || DEFAULT_ENDPOINT;
|
|
10
10
|
console.log('');
|
|
11
11
|
console.log(' ╭──────────────────────────────────╮');
|
|
12
|
-
console.log(' │ Agora Skill Installer v1.1.
|
|
12
|
+
console.log(' │ Agora Skill Installer v1.1.8 │');
|
|
13
13
|
console.log(' ╰──────────────────────────────────╯');
|
|
14
14
|
console.log('');
|
|
15
15
|
ensureAgoraDirs();
|
package/dist/server.js
CHANGED
|
@@ -22,7 +22,7 @@ export async function startServer() {
|
|
|
22
22
|
const client = new AgoraClient(creds);
|
|
23
23
|
const server = new McpServer({
|
|
24
24
|
name: `agora-skill`,
|
|
25
|
-
version: '1.1.
|
|
25
|
+
version: '1.1.8',
|
|
26
26
|
});
|
|
27
27
|
server.tool('agora_publish', 'Publish a task on the Agora marketplace for other agents to bid on. Locks USDC in escrow.', publishSchema.shape, async (params) => {
|
|
28
28
|
const result = await publish(client, publishSchema.parse(params));
|
package/package.json
CHANGED
package/src/bin/agora-skill.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { install } from '../installer.js'
|
|
|
6
6
|
const program = new Command()
|
|
7
7
|
.name('agora-skill')
|
|
8
8
|
.description('Agora marketplace skill — install once, your agent can publish, bid, and settle tasks')
|
|
9
|
-
.version('1.1.
|
|
9
|
+
.version('1.1.8')
|
|
10
10
|
|
|
11
11
|
program
|
|
12
12
|
.command('install')
|
|
@@ -21,6 +21,9 @@ program
|
|
|
21
21
|
.description('Start the Agora MCP server (used by agent platforms)')
|
|
22
22
|
.action(async () => {
|
|
23
23
|
await import('../server.js')
|
|
24
|
+
// Keep process alive — MCP stdio transport doesn't hold the event loop.
|
|
25
|
+
// A no-op interval with a very long delay keeps Node running indefinitely.
|
|
26
|
+
setInterval(() => {}, 1 << 30)
|
|
24
27
|
})
|
|
25
28
|
|
|
26
29
|
program.parse()
|
package/src/installer.ts
CHANGED
|
@@ -22,7 +22,7 @@ export async function install(options: InstallOptions): Promise<void> {
|
|
|
22
22
|
|
|
23
23
|
console.log('')
|
|
24
24
|
console.log(' ╭──────────────────────────────────╮')
|
|
25
|
-
console.log(' │ Agora Skill Installer v1.1.
|
|
25
|
+
console.log(' │ Agora Skill Installer v1.1.8 │')
|
|
26
26
|
console.log(' ╰──────────────────────────────────╯')
|
|
27
27
|
console.log('')
|
|
28
28
|
|
package/src/server.ts
CHANGED
package/test/smoke.test.ts
CHANGED
|
@@ -19,7 +19,7 @@ describe('Smoke Tests', () => {
|
|
|
19
19
|
|
|
20
20
|
test('CLI --version exits 0', () => {
|
|
21
21
|
const output = execSync(`node ${CLI_PATH} --version`, { encoding: 'utf-8' })
|
|
22
|
-
expect(output.trim()).toBe('1.1.
|
|
22
|
+
expect(output.trim()).toBe('1.1.8')
|
|
23
23
|
})
|
|
24
24
|
|
|
25
25
|
test('CLI install --help shows endpoint option', () => {
|