openagere 0.0.1

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 (3) hide show
  1. package/README.md +34 -0
  2. package/bin/cli.js +62 -0
  3. package/package.json +33 -0
package/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # OpenAgere
2
+
3
+ > Multi-agent framework for building intelligent, collaborative AI agents.
4
+
5
+ ## Status
6
+
7
+ This is a **demo placeholder** package (`v0.0.1`). The full version is under active development.
8
+
9
+ ## Quick Start
10
+
11
+ ```bash
12
+ npx openagere hello
13
+ ```
14
+
15
+ Or install globally:
16
+
17
+ ```bash
18
+ npm install -g openagere
19
+ openagere --version
20
+ openagere hello
21
+ openagere --help
22
+ ```
23
+
24
+ ## Commands
25
+
26
+ | Command | Description |
27
+ |---------------|-----------------------|
28
+ | `hello` | Show welcome message |
29
+ | `--version` | Show version number |
30
+ | `--help` | Show help |
31
+
32
+ ## License
33
+
34
+ Apache-2.0
package/bin/cli.js ADDED
@@ -0,0 +1,62 @@
1
+ #!/usr/bin/env node
2
+
3
+ const pkg = require('../package.json');
4
+
5
+ const commands = {
6
+ '--version': () => {
7
+ console.log(`openagere v${pkg.version}`);
8
+ },
9
+ '--help': () => {
10
+ console.log(`
11
+ OpenAgere - Multi-agent framework (demo placeholder)
12
+
13
+ Usage:
14
+ openagere [command] [options]
15
+
16
+ Commands:
17
+ hello Show a welcome message
18
+ --version Show version number
19
+ --help Show help
20
+
21
+ This is a demo placeholder package. Full version coming soon.
22
+ `);
23
+ },
24
+ hello: () => {
25
+ console.log(`
26
+ ╔══════════════════════════════════════════╗
27
+ ║ ║
28
+ ║ Welcome to OpenAgere v${pkg.version} ║
29
+ ║ ║
30
+ ║ Multi-agent framework for building ║
31
+ ║ intelligent, collaborative AI agents. ║
32
+ ║ ║
33
+ ║ 🚧 This is a demo placeholder. ║
34
+ ║ Full version coming soon. ║
35
+ ║ ║
36
+ ║ GitHub: github.com/openagere/openagere ║
37
+ ║ ║
38
+ ╚══════════════════════════════════════════╝
39
+ `);
40
+ }
41
+ };
42
+
43
+ function main() {
44
+ const args = process.argv.slice(2);
45
+ const command = args[0];
46
+
47
+ if (!command || command === '--version') {
48
+ commands['--version']();
49
+ return;
50
+ }
51
+
52
+ if (commands[command]) {
53
+ commands[command]();
54
+ return;
55
+ }
56
+
57
+ console.error(`Unknown command: ${command}`);
58
+ console.error('Run "openagere --help" for usage information.');
59
+ process.exit(1);
60
+ }
61
+
62
+ main();
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "openagere",
3
+ "version": "0.0.1",
4
+ "description": "OpenAgere - Multi-agent framework. This is a demo placeholder package.",
5
+ "main": "bin/cli.js",
6
+ "bin": {
7
+ "openagere": "./bin/cli.js"
8
+ },
9
+ "scripts": {
10
+ "start": "node bin/cli.js",
11
+ "test": "echo \"No tests specified\" && exit 0"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/openagere/openagere"
16
+ },
17
+ "keywords": [
18
+ "openagere",
19
+ "agent",
20
+ "multi-agent",
21
+ "ai",
22
+ "framework"
23
+ ],
24
+ "author": "openagere",
25
+ "license": "Apache-2.0",
26
+ "bugs": {
27
+ "url": "https://github.com/openagere/openagere/issues"
28
+ },
29
+ "homepage": "https://github.com/openagere/openagere#readme",
30
+ "engines": {
31
+ "node": ">=14.0.0"
32
+ }
33
+ }