scoutagent 2026.2.26 → 2026.2.27

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 +41 -30
  2. package/index.d.ts +19 -4
  3. package/index.js +24 -7
  4. package/package.json +8 -8
package/README.md CHANGED
@@ -1,48 +1,59 @@
1
- # ScoutAgent
1
+ # ScoutAgent — Fluent AI Agent Builder & Auto-Deployment for Node.js
2
2
 
3
- ![CMDOP Architecture](https://cmdop.com/images/architecture/vs-personal-agent.png)
3
+ [![npm](https://img.shields.io/npm/v/scoutagent.svg)](https://www.npmjs.com/package/scoutagent) [![license](https://img.shields.io/npm/l/scoutagent.svg)](https://github.com/commandoperator/cmdop-sdk-js/blob/main/LICENSE)
4
4
 
5
- **No-code agent builder plugin for [CMDOP](https://cmdop.com).**
5
+ ![CMDOP Architecture](https://cmdop.com/images/architecture/vs-personal-agent.png)
6
6
 
7
- ScoutAgent extends CMDOP with a no-code agent builder — drag-and-drop agent design, pre-built templates, and one-click deployment with a free tier.
7
+ ScoutAgent is an AI agent builder Node.js library designed for no-code agent deployment and a fluent automation API. Schedule agents with ease using the scheduled agent runner. Unlike AutoGPT, BabyAGI, CrewAI, or LangGraph, ScoutAgent offers simple remote deployment. Ideal for developers seeking streamlined agent creation and management.
8
8
 
9
- ```bash
10
- npm install @cmdop/node
11
- ```
9
+ ## Features
12
10
 
13
- ## Quick Start
11
+ - Simplify AI agent creation with a fluent automation API
12
+ - Enable no-code agent deployment for hassle-free automation
13
+ - Schedule agent runner tasks with precise timing
14
+ - Integrate shell commands and AI tasks seamlessly in Node.js
15
+ - Automate complex workflows using the AI agent builder Node.js module
16
+ - Deploy recurring agents with a single command
14
17
 
15
- ```typescript
16
- import { CMDOPClient } from '@cmdop/node';
18
+ ## Use Cases
17
19
 
18
- // Local connection (auto-discover agent)
19
- const client = CMDOPClient.local();
20
+ - Automatically update a production server from source nightly, verifying the build with an AI.
21
+ - Monitor server health every minute and summarize anomalies for DevOps.
22
+ - Generate daily reports by scraping a website and summarizing the content with an AI.
20
23
 
21
- // Remote connection via cloud relay
22
- const client = CMDOPClient.remote('cmdop_live_xxx');
24
+ ## Get Started
23
25
 
24
- // Terminal
25
- const session = await client.terminal.create({ cols: 120, rows: 40 });
26
- await client.terminal.sendInput(session.sessionId, 'ls -la\n');
27
-
28
- // Files
29
- const result = await client.files.list('/tmp');
30
- await client.files.read('/tmp/file.txt');
31
- await client.files.write('/tmp/new.txt', 'Hello World');
26
+ ```bash
27
+ npm install scoutagent
28
+ ```
32
29
 
33
- // Agent
34
- const result = await client.agent.run('List files in /tmp');
35
- console.log(result.text);
30
+ ## Quick Start
36
31
 
37
- // Browser
38
- const browser = await client.browser.createSession({ startUrl: 'https://example.com' });
39
- await browser.navigate('https://github.com');
32
+ ```typescript
33
+ import { ScoutAgent } from 'scoutagent';
34
+
35
+ const client = ScoutAgent.remote({ apiKey: 'cmdop_live_xxx' });
36
+
37
+ // Build and deploy an agent with a fluent API
38
+ const deployer = client.build()
39
+ .named('NightlyDeployer')
40
+ .shell('git pull && npm install')
41
+ .shell('npm run build')
42
+ .agent('Verify the build succeeded and summarize changes')
43
+ .every(24 * 60 * 60 * 1000)
44
+ .deploy();
45
+
46
+ // Or use quickDeploy for inline config
47
+ const monitor = client.quickDeploy({
48
+ name: 'HealthMonitor',
49
+ steps: ['$ uptime && df -h', 'Summarize resource usage'],
50
+ intervalMs: 60_000,
51
+ });
40
52
  ```
41
53
 
42
54
  ## Links
43
55
 
44
56
  - [CMDOP Homepage](https://cmdop.com)
45
57
  - [Documentation](https://cmdop.com/docs/sdk/node/)
46
- - [@cmdop/node on npm](https://www.npmjs.com/package/@cmdop/node)
47
- - [@cmdop/react on npm](https://www.npmjs.com/package/@cmdop/react)
58
+ - [scoutagent on npm](https://www.npmjs.com/package/scoutagent)
48
59
  - [GitHub](https://github.com/commandoperator/cmdop-sdk-js)
package/index.d.ts CHANGED
@@ -1,6 +1,21 @@
1
1
  /**
2
- * scoutagent — no-code agent builder plugin for CMDOP.
3
- * Install @cmdop/node for the full SDK: npm install @cmdop/node
4
- * https://cmdop.com/sdk/node/
2
+ * scoutagent — ScoutAgent — no-code agent builder plugin for CMDOP
3
+ *
4
+ * Themed wrapper around @cmdop/node.
5
+ * Docs: https://cmdop.com/docs/sdk/node/
5
6
  */
6
- export {};
7
+
8
+ // Re-export all types from the real SDK
9
+ export * from '@cmdop/node';
10
+
11
+ /** Pre-configured ScoutAgent defaults */
12
+ export declare const defaultConfig: {
13
+ botName: "ScoutAgent";
14
+ welcomeMessage: "ScoutAgent ready. Try /exec, /agent, /files";
15
+ };
16
+
17
+ /**
18
+ * Create a pre-configured ScoutAgent instance with themed defaults.
19
+ * @param options - Override any default option
20
+ */
21
+ export declare function createScoutAgent(options?: Partial<import("@cmdop/node").CMDOPClientOptions>): Promise<import("@cmdop/node").CMDOPClient>;
package/index.js CHANGED
@@ -1,12 +1,29 @@
1
1
  /**
2
- * scoutagent — no-code agent builder plugin for CMDOP.
2
+ * scoutagent — ScoutAgent — no-code agent builder plugin for CMDOP
3
3
  *
4
- * Install the real SDK:
5
- * npm install @cmdop/node
4
+ * Themed wrapper around @cmdop/node.
5
+ * Docs: https://cmdop.com/docs/sdk/node/
6
+ */
7
+
8
+ 'use strict';
9
+
10
+ const sdk = require('@cmdop/node');
11
+
12
+ // Re-export everything from the real SDK
13
+ Object.assign(module.exports, sdk);
14
+
15
+ /**
16
+ * Create a pre-configured ScoutAgent instance.
17
+ * Equivalent to CMDOPClient.remote() with ScoutAgent defaults applied.
6
18
  *
7
- * Learn more: https://cmdop.com/sdk/node/
19
+ * @param {object} options - Override any default option
8
20
  */
21
+ function createScoutAgent(options) {
22
+ return sdk.CMDOPClient.remote(Object.assign({}, options));
23
+ }
9
24
 
10
- console.log('scoutagent: CMDOP plugin for no-code agent builder. Install @cmdop/node for the full platform.');
11
- console.log(' npm install @cmdop/node');
12
- console.log(' https://cmdop.com/sdk/node/');
25
+ module.exports.createScoutAgent = createScoutAgent;
26
+ module.exports.defaultConfig = {
27
+ botName: "ScoutAgent",
28
+ welcomeMessage: "ScoutAgent ready. Try /exec, /agent, /files",
29
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scoutagent",
3
- "version": "2026.02.26",
3
+ "version": "2026.2.27",
4
4
  "description": "ScoutAgent — no-code agent builder plugin for CMDOP",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -8,18 +8,18 @@
8
8
  "keywords": [
9
9
  "scoutagent",
10
10
  "cmdop",
11
- "plugin",
11
+ "no-code",
12
+ "builder",
12
13
  "agent",
13
- "automation",
14
- "orchestration",
15
- "terminal",
16
- "grpc",
17
- "ai-agent"
14
+ "deploy"
18
15
  ],
19
16
  "homepage": "https://cmdop.com/sdk/node/",
20
17
  "repository": {
21
18
  "type": "git",
22
19
  "url": "https://github.com/commandoperator/cmdop-sdk-js.git"
23
20
  },
24
- "author": "CMDOP Team"
21
+ "author": "CMDOP Team",
22
+ "dependencies": {
23
+ "@cmdop/node": "*"
24
+ }
25
25
  }