@xuda.ai/xuda-network-mentor-technical-support-hxij3m 0.1.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.
Files changed (4) hide show
  1. package/README.md +42 -0
  2. package/agent.json +21 -0
  3. package/bin.mjs +24 -0
  4. package/package.json +61 -0
package/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # Xuda Network Mentor Technical Support
2
+
3
+ <img src="https://dev.xuda.io/user-drive/345d101f802d851c93fa38ccdb0168c3/drv_345d101f802d851c93fa38ccdb0168c3_7388db17d93a1ca8f5f5e89d9f73d00c.png" alt="Xuda Network Mentor Technical Support" width="320" />
4
+
5
+ > Readonly technical support agent for Xuda Network mentors. It can inspect /var/xuda on the dev server through Codex with strict safety limits.
6
+
7
+ A Xuda AI agent, runnable from your terminal.
8
+
9
+ ## Install
10
+
11
+ ```
12
+ npm i -g @xuda.ai/xuda-network-mentor-technical-support-hxij3m
13
+ ```
14
+
15
+ ## Run
16
+
17
+ ```
18
+ xuda-network-mentor-technical-support-hxij3m
19
+ ```
20
+
21
+ On first run you will be asked to sign in to Xuda. After that the agent opens a chat session in your terminal.
22
+
23
+ ## About this agent
24
+
25
+ Ask a technical question about Xuda implementation details. The agent can inspect /var/xuda on dev in readonly mode, excluding configs, secrets, databases, and private data.
26
+
27
+ ## Details
28
+
29
+ - **Category:** Development
30
+ - **Industry:** Technology
31
+ - **Tags:** xuda.network, mentor, technical-support, readonly, codex
32
+
33
+ ## Links
34
+
35
+ - Marketplace listing: https://dev.xuda.ai/marketplace/agents/797_agn_4759efa79b0a
36
+ - Xuda CLI: https://www.npmjs.com/package/@xuda.ai/cli
37
+ - Xuda: https://xuda.ai
38
+ - Author: [xuda xuda](https://dev.xuda.ai/@cy11ge2z1gszl5apncrt3p983)
39
+
40
+ ---
41
+
42
+ Published automatically by Xuda when this agent was listed on the marketplace as a free agent.
package/agent.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "agent_id": "797_agn_4759efa79b0a",
3
+ "agent_name": "Xuda Network Mentor Technical Support",
4
+ "agent_version": "0.1.0",
5
+ "agent_image": "https://dev.xuda.io/user-drive/345d101f802d851c93fa38ccdb0168c3/drv_345d101f802d851c93fa38ccdb0168c3_7388db17d93a1ca8f5f5e89d9f73d00c.png",
6
+ "agent_category": [
7
+ "Development"
8
+ ],
9
+ "agent_industry": "Technology",
10
+ "agent_tags": [
11
+ "xuda.network",
12
+ "mentor",
13
+ "technical-support",
14
+ "readonly",
15
+ "codex"
16
+ ],
17
+ "marketplace_url": "https://dev.xuda.ai/marketplace/agents/797_agn_4759efa79b0a",
18
+ "xuda_api_url": "https://dev.xuda.ai",
19
+ "xuda_ws_url": "https://dev.xuda.ai",
20
+ "xuda_web_url": "https://dev.xuda.ai"
21
+ }
package/bin.mjs ADDED
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env node
2
+ import { readFileSync } from 'node:fs';
3
+ import { fileURLToPath } from 'node:url';
4
+ import { dirname, join } from 'node:path';
5
+
6
+ const __dir = dirname(fileURLToPath(import.meta.url));
7
+ const manifest = JSON.parse(readFileSync(join(__dir, 'agent.json'), 'utf8'));
8
+
9
+ if (manifest.xuda_api_url && !process.env.XUDA_API_URL) process.env.XUDA_API_URL = manifest.xuda_api_url;
10
+ if (manifest.xuda_ws_url && !process.env.XUDA_WS_URL) process.env.XUDA_WS_URL = manifest.xuda_ws_url;
11
+ if (manifest.xuda_web_url && !process.env.XUDA_WEB_URL) process.env.XUDA_WEB_URL = manifest.xuda_web_url;
12
+
13
+ const { runAgent } = await import('@xuda.ai/cli');
14
+
15
+ try {
16
+ await runAgent({
17
+ agentId: manifest.agent_id,
18
+ agentName: manifest.agent_name,
19
+ agentVersion: manifest.agent_version,
20
+ });
21
+ } catch (err) {
22
+ console.error(`error: ${err.message || err}`);
23
+ process.exit(1);
24
+ }
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@xuda.ai/xuda-network-mentor-technical-support-hxij3m",
3
+ "version": "0.1.0",
4
+ "description": "Readonly technical support agent for Xuda Network mentors. It can inspect /var/xuda on the dev server through Codex with strict safety limits.",
5
+ "type": "module",
6
+ "bin": {
7
+ "xuda-network-mentor-technical-support-hxij3m": "./bin.mjs"
8
+ },
9
+ "files": [
10
+ "bin.mjs",
11
+ "agent.json",
12
+ "README.md"
13
+ ],
14
+ "engines": {
15
+ "node": ">=20.0.0"
16
+ },
17
+ "dependencies": {
18
+ "@xuda.ai/cli": "^0.1.2"
19
+ },
20
+ "keywords": [
21
+ "xuda",
22
+ "ai-agent",
23
+ "cli",
24
+ "xuda-network-mentor-technical-support-hx",
25
+ "development",
26
+ "technical-support",
27
+ "technology",
28
+ "xudanetwork",
29
+ "mentor",
30
+ "readonly",
31
+ "codex"
32
+ ],
33
+ "homepage": "https://dev.xuda.ai/marketplace/agents/797_agn_4759efa79b0a",
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "https://github.com/xudaio/xuda"
37
+ },
38
+ "author": {
39
+ "name": "xuda xuda",
40
+ "url": "https://dev.xuda.ai/@cy11ge2z1gszl5apncrt3p983"
41
+ },
42
+ "license": "MIT",
43
+ "xuda": {
44
+ "agent_id": "797_agn_4759efa79b0a",
45
+ "agent_name": "Xuda Network Mentor Technical Support",
46
+ "agent_version": "0.1.0",
47
+ "agent_image": "https://dev.xuda.io/user-drive/345d101f802d851c93fa38ccdb0168c3/drv_345d101f802d851c93fa38ccdb0168c3_7388db17d93a1ca8f5f5e89d9f73d00c.png",
48
+ "agent_category": [
49
+ "Development"
50
+ ],
51
+ "agent_industry": "Technology",
52
+ "agent_tags": [
53
+ "xuda.network",
54
+ "mentor",
55
+ "technical-support",
56
+ "readonly",
57
+ "codex"
58
+ ],
59
+ "marketplace_url": "https://dev.xuda.ai/marketplace/agents/797_agn_4759efa79b0a"
60
+ }
61
+ }