kanbanai-agent 1.0.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/bombus-darwin ADDED
@@ -0,0 +1,2 @@
1
+ #!/bin/bash
2
+ echo "๐Ÿ Hello form Bombus Agent!"
package/bombus-linux ADDED
@@ -0,0 +1,2 @@
1
+ #!/bin/bash
2
+ echo "Hello Bombus (Linux)"
package/bombus-win.exe ADDED
@@ -0,0 +1 @@
1
+ Hello Bombus (Windows)
package/index.js ADDED
@@ -0,0 +1,45 @@
1
+ #!/usr/bin/env node
2
+
3
+ const BinWrapper = require('bin-wrapper');
4
+ const path = require('path');
5
+
6
+ // TODO: ์‹ค์ œ ๋ฐฐํฌ ์‹œ ๋ณธ์ธ์˜ GitHub Release ์ฃผ์†Œ๋กœ ๋ณ€๊ฒฝํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
7
+ const baseUrl = 'https://github.com/pajamasi726/bombus-release/releases/download/v1.0.0/';
8
+
9
+ // OS๋ณ„๋กœ ๋‹ค์šด๋กœ๋“œ๋˜๋Š” ํŒŒ์ผ๋ช…์ด ๋‹ค๋ฅด๋ฏ€๋กœ, ์‹คํ–‰ํ•  ํŒŒ์ผ๋ช…๋„ ๊ทธ์— ๋งž์ถฐ์ค˜์•ผ ํ•ฉ๋‹ˆ๋‹ค.
10
+ let binName = '';
11
+ if (process.platform === 'win32') {
12
+ binName = 'bombus-win.exe';
13
+ } else if (process.platform === 'darwin') {
14
+ binName = 'bombus-darwin';
15
+ } else {
16
+ binName = 'bombus-linux';
17
+ }
18
+
19
+ const bin = new BinWrapper()
20
+ // 1. MacOS์šฉ ๋ฐ”์ด๋„ˆ๋ฆฌ ๋งคํ•‘
21
+ .src(`${baseUrl}bombus-darwin`, 'darwin')
22
+ // 2. Linux์šฉ ๋ฐ”์ด๋„ˆ๋ฆฌ ๋งคํ•‘
23
+ .src(`${baseUrl}bombus-linux`, 'linux')
24
+ // 3. Windows์šฉ ๋ฐ”์ด๋„ˆ๋ฆฌ ๋งคํ•‘ (.exe)
25
+ .src(`${baseUrl}bombus-win.exe`, 'win32')
26
+ .dest(path.join(__dirname, 'vendor'))
27
+ .use(binName); // ์ˆ˜์ •๋จ: ๋‹ค์šด๋กœ๋“œ๋œ ํŒŒ์ผ๋ช…๊ณผ ๋™์ผํ•œ ์ด๋ฆ„์„ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
28
+
29
+ // --install ํ”Œ๋ž˜๊ทธ๊ฐ€ ์žˆ์œผ๋ฉด ๋‹ค์šด๋กœ๋“œ๋งŒ ์ˆ˜ํ–‰ (postinstall์šฉ)
30
+ if (process.argv.includes('--install')) {
31
+ bin.download().then(() => {
32
+ console.log('โœ” KanbanAI Agent downloaded successfully.');
33
+ }).catch(err => {
34
+ console.error('โœ˜ Failed to download KanbanAI Agent:', err);
35
+ process.exit(1);
36
+ });
37
+ } else {
38
+ // ๊ทธ ์™ธ์—๋Š” ๋‹ค์šด๋กœ๋“œ๋œ ๋ฐ”์ด๋„ˆ๋ฆฌ๋ฅผ ์‹คํ–‰ํ•˜๊ณ  ์ธ์ž(args)๋ฅผ ์ „๋‹ฌ
39
+ bin.run(process.argv.slice(2), err => {
40
+ if (err) {
41
+ console.error('โœ˜ Error running KanbanAI Agent:', err);
42
+ process.exit(1);
43
+ }
44
+ });
45
+ }
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "kanbanai-agent",
3
+ "version": "1.0.0",
4
+ "description": "KanbanAI: AI Development Agent Wrapper",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "kanbanai": "index.js"
8
+ },
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1",
11
+ "postinstall": "node index.js --install"
12
+ },
13
+ "keywords": [
14
+ "ai",
15
+ "agent",
16
+ "kanbanai",
17
+ "spring-boot",
18
+ "wrapper"
19
+ ],
20
+ "author": "steve",
21
+ "license": "ISC",
22
+ "type": "commonjs",
23
+ "dependencies": {
24
+ "bin-wrapper": "^4.1.0"
25
+ }
26
+ }
@@ -0,0 +1,2 @@
1
+ #!/bin/bash
2
+ echo "๐Ÿ Hello form Bombus Agent!"