@agent-webui/ai-desk 1.0.29-beta1
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 +4 -0
- package/bin/aidesk.js +7 -0
- package/package.json +21 -0
- package/scripts/postinstall.js +28 -0
package/README.md
ADDED
package/bin/aidesk.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@agent-webui/ai-desk",
|
|
3
|
+
"version": "1.0.29-beta1",
|
|
4
|
+
"description": "Single-install AI Desk package with daemon and default harnesses",
|
|
5
|
+
"bin": {
|
|
6
|
+
"aidesk": "bin/aidesk.js"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"postinstall": "node scripts/postinstall.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"bin/",
|
|
13
|
+
"scripts/",
|
|
14
|
+
"README.md"
|
|
15
|
+
],
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@agent-webui/ai-desk-daemon": "1.0.29-beta1",
|
|
18
|
+
"@agent-webui/ai-desk-harness-gimp": "1.0.29-beta1"
|
|
19
|
+
},
|
|
20
|
+
"license": "MIT"
|
|
21
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const chalk = require('chalk');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
|
|
6
|
+
function loadHarnessInstaller() {
|
|
7
|
+
try {
|
|
8
|
+
return require('@agent-webui/ai-desk-daemon/lib/harness-manager');
|
|
9
|
+
} catch (error) {
|
|
10
|
+
return require('../../../lib/harness-manager');
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
try {
|
|
15
|
+
const { installHarnessesForPackageRoot } = loadHarnessInstaller();
|
|
16
|
+
const result = installHarnessesForPackageRoot(path.join(__dirname, '..'));
|
|
17
|
+
|
|
18
|
+
console.log('');
|
|
19
|
+
console.log(chalk.green('✓ @agent-webui/ai-desk installed successfully'));
|
|
20
|
+
console.log(chalk.cyan(`Default harnesses installed: ${result.harnessCount}`));
|
|
21
|
+
console.log(chalk.cyan(`Registry: ${result.runtimeInfo.registryPath}`));
|
|
22
|
+
console.log('');
|
|
23
|
+
} catch (error) {
|
|
24
|
+
console.log('');
|
|
25
|
+
console.log(chalk.yellow('! @agent-webui/ai-desk installed with harness warnings'));
|
|
26
|
+
console.log(chalk.yellow(error.message));
|
|
27
|
+
console.log('');
|
|
28
|
+
}
|