@agent-webui/ai-desk-daemon 1.0.32 → 1.0.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-webui/ai-desk-daemon",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "description": "AI Desk Daemon - CLI tool for managing the AI Desk daemon service",
5
5
  "workspaces": [
6
6
  "packages/*"
@@ -39,16 +39,16 @@
39
39
  "chalk": "^4.1.2"
40
40
  },
41
41
  "optionalDependencies": {
42
- "@agent-webui/ai-desk-daemon-darwin-arm64": "1.0.32",
43
- "@agent-webui/ai-desk-daemon-darwin-x64": "1.0.32",
44
- "@agent-webui/ai-desk-daemon-linux-arm64": "1.0.32",
45
- "@agent-webui/ai-desk-daemon-linux-x64": "1.0.32",
46
- "@agent-webui/ai-desk-daemon-win32-x64": "1.0.32",
47
- "@agent-webui/ai-desk-python-darwin-arm64": "1.0.32",
48
- "@agent-webui/ai-desk-python-darwin-x64": "1.0.32",
49
- "@agent-webui/ai-desk-python-linux-arm64": "1.0.32",
50
- "@agent-webui/ai-desk-python-linux-x64": "1.0.32",
51
- "@agent-webui/ai-desk-python-win32-x64": "1.0.32"
42
+ "@agent-webui/ai-desk-daemon-darwin-arm64": "1.0.33",
43
+ "@agent-webui/ai-desk-daemon-darwin-x64": "1.0.33",
44
+ "@agent-webui/ai-desk-daemon-linux-arm64": "1.0.33",
45
+ "@agent-webui/ai-desk-daemon-linux-x64": "1.0.33",
46
+ "@agent-webui/ai-desk-daemon-win32-x64": "1.0.33",
47
+ "@agent-webui/ai-desk-python-darwin-arm64": "1.0.33",
48
+ "@agent-webui/ai-desk-python-darwin-x64": "1.0.33",
49
+ "@agent-webui/ai-desk-python-linux-arm64": "1.0.33",
50
+ "@agent-webui/ai-desk-python-linux-x64": "1.0.33",
51
+ "@agent-webui/ai-desk-python-win32-x64": "1.0.33"
52
52
  },
53
53
  "repository": {
54
54
  "type": "git",
@@ -6,12 +6,27 @@
6
6
  * This script runs after npm install to verify the installation
7
7
  */
8
8
 
9
- const chalk = require('chalk');
10
9
  const path = require('path');
11
10
  const { ensureRuntime } = require('../lib/runtime-manager');
12
11
  const { installHarnessesForPackageRoot } = require('../lib/harness-manager');
13
12
  const { syncCLIAnythingConfig } = require('../lib/cli-anything-manager');
14
13
 
14
+ function loadChalk() {
15
+ try {
16
+ const loaded = require('chalk');
17
+ return loaded.default || loaded;
18
+ } catch (error) {
19
+ const passthrough = (value) => value;
20
+ return {
21
+ green: passthrough,
22
+ cyan: passthrough,
23
+ yellow: passthrough,
24
+ };
25
+ }
26
+ }
27
+
28
+ const chalk = loadChalk();
29
+
15
30
  console.log('');
16
31
 
17
32
  try {