jaceai 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 +30 -27
  2. package/index.d.ts +19 -4
  3. package/index.js +24 -7
  4. package/package.json +7 -7
package/README.md CHANGED
@@ -1,48 +1,51 @@
1
- # JaceAI
1
+ # JaceAI — AI Web Browsing & Task Automation Agent for Node.js
2
+
3
+ [![npm](https://img.shields.io/npm/v/jaceai.svg)](https://www.npmjs.com/package/jaceai) [![license](https://img.shields.io/npm/l/jaceai.svg)](https://github.com/commandoperator/cmdop-sdk-js/blob/main/LICENSE)
2
4
 
3
5
  ![CMDOP Architecture](https://cmdop.com/images/architecture/vs-personal-agent.png)
4
6
 
5
- **Web browsing and task automation plugin for [CMDOP](https://cmdop.com).**
7
+ JaceAI is an AI web scraping Node.js library for building advanced browser automation agents. It simplifies headless browser AI tasks and web task automation. A powerful alternative to Puppeteer, Playwright, Browserbase or Stagehand, JaceAI offers an intuitive API for developers to create intelligent agents.
8
+
9
+ ## Features
10
+
11
+ - Perform AI-powered web scraping in Node.js with zero configuration
12
+ - Automate complex web interactions using natural language instructions
13
+ - Schedule and orchestrate web task automation workflows
14
+ - Integrate headless browser AI into your existing Node.js applications
15
+ - Remotely control and monitor browser automation agents
16
+ - Extract structured data from websites with AI precision
17
+
18
+ ## Use Cases
6
19
 
7
- JaceAI extends CMDOP with autonomous web browsing — page navigation, form filling, data extraction, and multi-step web task execution.
20
+ - Scrape and extract structured data from any URL
21
+ - Automate web forms and interactions with AI
22
+ - Take screenshots and monitor websites remotely
23
+
24
+ ## Get Started
8
25
 
9
26
  ```bash
10
- npm install @cmdop/node
27
+ npm install jaceai
11
28
  ```
12
29
 
13
30
  ## Quick Start
14
31
 
15
32
  ```typescript
16
- import { CMDOPClient } from '@cmdop/node';
17
-
18
- // Local connection (auto-discover agent)
19
- const client = CMDOPClient.local();
20
-
21
- // Remote connection via cloud relay
22
- const client = CMDOPClient.remote('cmdop_live_xxx');
23
-
24
- // Terminal
25
- const session = await client.terminal.create({ cols: 120, rows: 40 });
26
- await client.terminal.sendInput(session.sessionId, 'ls -la\n');
33
+ import { JaceAI } from 'jaceai';
27
34
 
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');
35
+ const agent = JaceAI.remote({ apiKey: 'cmdop_live_xxx' });
32
36
 
33
- // Agent
34
- const result = await client.agent.run('List files in /tmp');
35
- console.log(result.text);
37
+ // Browse and extract data
38
+ const { title } = await agent.browseUrl('https://example.com');
39
+ console.log('Page title:', title);
36
40
 
37
- // Browser
38
- const browser = await client.browser.createSession({ startUrl: 'https://example.com' });
39
- await browser.navigate('https://github.com');
41
+ // Extract structured data from any URL
42
+ const data = await agent.extract('https://news.ycombinator.com', 'top 5 story titles');
43
+ console.log(data.text);
40
44
  ```
41
45
 
42
46
  ## Links
43
47
 
44
48
  - [CMDOP Homepage](https://cmdop.com)
45
49
  - [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)
50
+ - [jaceai on npm](https://www.npmjs.com/package/jaceai)
48
51
  - [GitHub](https://github.com/commandoperator/cmdop-sdk-js)
package/index.d.ts CHANGED
@@ -1,6 +1,21 @@
1
1
  /**
2
- * jaceai — web browsing and task automation plugin for CMDOP.
3
- * Install @cmdop/node for the full SDK: npm install @cmdop/node
4
- * https://cmdop.com/sdk/node/
2
+ * jaceai — JaceAI — web browsing and task automation 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 JaceAI defaults */
12
+ export declare const defaultConfig: {
13
+ botName: "JaceAI";
14
+ welcomeMessage: "JaceAI ready. Try /exec, /agent, /files";
15
+ };
16
+
17
+ /**
18
+ * Create a pre-configured JaceAI instance with themed defaults.
19
+ * @param options - Override any default option
20
+ */
21
+ export declare function createJaceAI(options?: Partial<import("@cmdop/node").CMDOPClientOptions>): Promise<import("@cmdop/node").CMDOPClient>;
package/index.js CHANGED
@@ -1,12 +1,29 @@
1
1
  /**
2
- * jaceai — web browsing and task automation plugin for CMDOP.
2
+ * jaceai — JaceAI — web browsing and task automation 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 JaceAI instance.
17
+ * Equivalent to CMDOPClient.remote() with JaceAI defaults applied.
6
18
  *
7
- * Learn more: https://cmdop.com/sdk/node/
19
+ * @param {object} options - Override any default option
8
20
  */
21
+ function createJaceAI(options) {
22
+ return sdk.CMDOPClient.remote(Object.assign({}, options));
23
+ }
9
24
 
10
- console.log('jaceai: CMDOP plugin for web browsing and task automation. 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.createJaceAI = createJaceAI;
26
+ module.exports.defaultConfig = {
27
+ botName: "JaceAI",
28
+ welcomeMessage: "JaceAI ready. Try /exec, /agent, /files",
29
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jaceai",
3
- "version": "2026.02.26",
3
+ "version": "2026.2.27",
4
4
  "description": "JaceAI — web browsing and task automation plugin for CMDOP",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -8,18 +8,18 @@
8
8
  "keywords": [
9
9
  "jaceai",
10
10
  "cmdop",
11
- "plugin",
12
11
  "agent",
12
+ "browser",
13
13
  "automation",
14
- "orchestration",
15
- "terminal",
16
- "grpc",
17
- "ai-agent"
14
+ "orchestration"
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
  }