@xuda.dev/decision-brief-writer-ai-agent 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.
- package/README.md +40 -0
- package/agent.json +24 -0
- package/bin.mjs +24 -0
- package/package.json +62 -0
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Decision Brief Writer
|
|
2
|
+
|
|
3
|
+
> Decision Brief Writer
|
|
4
|
+
|
|
5
|
+
A Xuda AI agent, runnable from your terminal.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
npm i -g @xuda.dev/decision-brief-writer-ai-agent
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Run
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
decision-brief-writer-ai-agent
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
On first run you will be asked to sign in to Xuda. After that the agent opens a chat session in your terminal.
|
|
20
|
+
|
|
21
|
+
## About this agent
|
|
22
|
+
|
|
23
|
+
Tell it the decision, who has to make it, by when, and any options and constraints you already have. It fills in the missing options and criteria and returns a one page .docx with a comparison table, a stated recommendation, and the evidence that would change that recommendation.
|
|
24
|
+
|
|
25
|
+
## Details
|
|
26
|
+
|
|
27
|
+
- **Category:** Personal Productivity
|
|
28
|
+
- **Tags:** decision-brief, memo, management, docx, strategy, one-pager
|
|
29
|
+
- **Model:** GPT-5 Nano
|
|
30
|
+
|
|
31
|
+
## Links
|
|
32
|
+
|
|
33
|
+
- Marketplace listing: https://dev.xuda.ai/marketplace/agents/7fc_agn_9b8a5c7a5ca5
|
|
34
|
+
- Xuda CLI: https://www.npmjs.com/package/@xuda.ai/cli
|
|
35
|
+
- Xuda: https://xuda.ai
|
|
36
|
+
- Author: [Info xuda](https://dev.xuda.ai/@xu11bp5gs4x1mmica1dvfkgfy)
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
Published automatically by Xuda when this agent was listed on the marketplace as a free agent.
|
package/agent.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"agent_id": "7fc_agn_9b8a5c7a5ca5",
|
|
3
|
+
"agent_name": "Decision Brief Writer",
|
|
4
|
+
"agent_version": "0.1.0",
|
|
5
|
+
"agent_image": null,
|
|
6
|
+
"agent_category": [
|
|
7
|
+
"Personal Productivity"
|
|
8
|
+
],
|
|
9
|
+
"agent_industry": null,
|
|
10
|
+
"agent_tags": [
|
|
11
|
+
"decision-brief",
|
|
12
|
+
"memo",
|
|
13
|
+
"management",
|
|
14
|
+
"docx",
|
|
15
|
+
"strategy",
|
|
16
|
+
"one-pager"
|
|
17
|
+
],
|
|
18
|
+
"agent_ai_model": "gpt-1",
|
|
19
|
+
"agent_ai_model_name": "GPT-5 Nano",
|
|
20
|
+
"marketplace_url": "https://dev.xuda.ai/marketplace/agents/7fc_agn_9b8a5c7a5ca5",
|
|
21
|
+
"xuda_api_url": "https://dev.xuda.ai",
|
|
22
|
+
"xuda_ws_url": "https://dev.xuda.ai",
|
|
23
|
+
"xuda_web_url": "https://dev.xuda.ai"
|
|
24
|
+
}
|
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,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xuda.dev/decision-brief-writer-ai-agent",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Decision Brief Writer",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"decision-brief-writer-ai-agent": "./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
|
+
"decision-brief-writer-ai-agent",
|
|
25
|
+
"personal-productivity",
|
|
26
|
+
"decision-brief",
|
|
27
|
+
"memo",
|
|
28
|
+
"management",
|
|
29
|
+
"docx",
|
|
30
|
+
"strategy",
|
|
31
|
+
"one-pager"
|
|
32
|
+
],
|
|
33
|
+
"homepage": "https://dev.xuda.ai/marketplace/agents/7fc_agn_9b8a5c7a5ca5",
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "https://github.com/xudaio/xuda"
|
|
37
|
+
},
|
|
38
|
+
"author": {
|
|
39
|
+
"name": "Info xuda",
|
|
40
|
+
"url": "https://dev.xuda.ai/@xu11bp5gs4x1mmica1dvfkgfy"
|
|
41
|
+
},
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"xuda": {
|
|
44
|
+
"agent_id": "7fc_agn_9b8a5c7a5ca5",
|
|
45
|
+
"agent_name": "Decision Brief Writer",
|
|
46
|
+
"agent_version": "0.1.0",
|
|
47
|
+
"agent_category": [
|
|
48
|
+
"Personal Productivity"
|
|
49
|
+
],
|
|
50
|
+
"agent_tags": [
|
|
51
|
+
"decision-brief",
|
|
52
|
+
"memo",
|
|
53
|
+
"management",
|
|
54
|
+
"docx",
|
|
55
|
+
"strategy",
|
|
56
|
+
"one-pager"
|
|
57
|
+
],
|
|
58
|
+
"agent_ai_model": "gpt-1",
|
|
59
|
+
"agent_ai_model_name": "GPT-5 Nano",
|
|
60
|
+
"marketplace_url": "https://dev.xuda.ai/marketplace/agents/7fc_agn_9b8a5c7a5ca5"
|
|
61
|
+
}
|
|
62
|
+
}
|