@alexberardi/jarvis-admin 0.1.0 → 0.1.21

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 (77) hide show
  1. package/README.md +78 -0
  2. package/package.json +1 -1
  3. package/public/assets/index-9Mg2BGt5.css +1 -0
  4. package/public/assets/index-BpdNLMNo.js +17 -0
  5. package/public/index.html +2 -2
  6. package/server/dist/config.js +5 -5
  7. package/server/dist/config.js.map +1 -1
  8. package/server/dist/index.js +71 -0
  9. package/server/dist/index.js.map +1 -1
  10. package/server/dist/routes/install.d.ts.map +1 -1
  11. package/server/dist/routes/install.js +374 -77
  12. package/server/dist/routes/install.js.map +1 -1
  13. package/server/dist/services/orchestrator.d.ts +13 -6
  14. package/server/dist/services/orchestrator.d.ts.map +1 -1
  15. package/server/dist/services/orchestrator.js +119 -41
  16. package/server/dist/services/orchestrator.js.map +1 -1
  17. package/server/dist/services/upgrade/self-updater.js +3 -3
  18. package/server/dist/services/upgrade/self-updater.js.map +1 -1
  19. package/server/dist/services/upgrade/state-reconstructor.d.ts.map +1 -1
  20. package/server/dist/services/upgrade/state-reconstructor.js +1 -0
  21. package/server/dist/services/upgrade/state-reconstructor.js.map +1 -1
  22. package/server/dist/types/wizard.d.ts +29 -0
  23. package/server/dist/types/wizard.d.ts.map +1 -1
  24. package/server/node_modules/cpu-features/build/Makefile +55 -48
  25. package/server/node_modules/cpu-features/build/Release/.deps/Release/cpu_features.a.d +1 -1
  26. package/server/node_modules/cpu-features/build/Release/.deps/Release/cpufeatures.node.d +1 -1
  27. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/filesystem.o.d +4 -4
  28. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_aarch64_linux_or_android.o.d +3 -3
  29. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_aarch64_macos_or_iphone.o.d +3 -23
  30. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_aarch64_windows.o.d +3 -3
  31. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_arm_linux_or_android.o.d +3 -3
  32. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_mips_linux_or_android.o.d +3 -3
  33. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_ppc_linux.o.d +3 -3
  34. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_freebsd.o.d +3 -3
  35. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_linux_or_android.o.d +27 -3
  36. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_macos.o.d +3 -3
  37. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_windows.o.d +3 -3
  38. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/stack_line_reader.o.d +6 -6
  39. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/string_view.o.d +5 -5
  40. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpufeatures/src/binding.o.d +148 -144
  41. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpufeatures.node.d +1 -0
  42. package/server/node_modules/cpu-features/build/Release/cpu_features.a +0 -0
  43. package/server/node_modules/cpu-features/build/Release/cpufeatures.node +0 -0
  44. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/filesystem.o +0 -0
  45. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_aarch64_linux_or_android.o +0 -0
  46. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_aarch64_macos_or_iphone.o +0 -0
  47. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_aarch64_windows.o +0 -0
  48. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_arm_linux_or_android.o +0 -0
  49. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_mips_linux_or_android.o +0 -0
  50. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_ppc_linux.o +0 -0
  51. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_freebsd.o +0 -0
  52. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_linux_or_android.o +0 -0
  53. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_macos.o +0 -0
  54. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/impl_x86_windows.o +0 -0
  55. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/stack_line_reader.o +0 -0
  56. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/string_view.o +0 -0
  57. package/server/node_modules/cpu-features/build/Release/obj.target/cpufeatures/src/binding.o +0 -0
  58. package/server/node_modules/cpu-features/build/Release/obj.target/cpufeatures.node +0 -0
  59. package/server/node_modules/cpu-features/build/Release/obj.target/deps/cpu_features/cpu_features.a +0 -0
  60. package/server/node_modules/cpu-features/build/Release/obj.target/deps/cpu_features/cpu_features.a.ar-file-list +13 -0
  61. package/server/node_modules/cpu-features/build/cpufeatures.target.mk +63 -87
  62. package/server/node_modules/cpu-features/build/deps/cpu_features/cpu_features.target.mk +65 -87
  63. package/server/node_modules/cpu-features/buildcheck.gypi +3 -1
  64. package/server/node_modules/ssh2/lib/protocol/crypto/build/Makefile +55 -48
  65. package/server/node_modules/ssh2/lib/protocol/crypto/build/Release/.deps/Release/obj.target/sshcrypto/src/binding.o.d +238 -234
  66. package/server/node_modules/ssh2/lib/protocol/crypto/build/Release/.deps/Release/obj.target/sshcrypto.node.d +1 -0
  67. package/server/node_modules/ssh2/lib/protocol/crypto/build/Release/.deps/Release/sshcrypto.node.d +1 -1
  68. package/server/node_modules/ssh2/lib/protocol/crypto/build/Release/obj.target/sshcrypto/src/binding.o +0 -0
  69. package/server/node_modules/ssh2/lib/protocol/crypto/build/Release/obj.target/sshcrypto.node +0 -0
  70. package/server/node_modules/ssh2/lib/protocol/crypto/build/Release/sshcrypto.node +0 -0
  71. package/server/node_modules/ssh2/lib/protocol/crypto/build/sshcrypto.target.mk +62 -86
  72. package/public/assets/index-CihnPYy7.css +0 -1
  73. package/public/assets/index-DTli3_bR.js +0 -17
  74. package/server/node_modules/cpu-features/build/Release/.deps/Release/obj.target/cpu_features/deps/cpu_features/src/hwcaps.o.d +0 -12
  75. package/server/node_modules/cpu-features/build/Release/obj.target/cpu_features/deps/cpu_features/src/hwcaps.o +0 -0
  76. package/server/node_modules/cpu-features/build/gyp-mac-tool +0 -772
  77. package/server/node_modules/ssh2/lib/protocol/crypto/build/gyp-mac-tool +0 -772
package/public/index.html CHANGED
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <link rel="icon" type="image/png" href="/favicon.png" />
7
7
  <title>Jarvis Admin</title>
8
- <script type="module" crossorigin src="/assets/index-DTli3_bR.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-CihnPYy7.css">
8
+ <script type="module" crossorigin src="/assets/index-BpdNLMNo.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-9Mg2BGt5.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="root"></div>
@@ -25,12 +25,12 @@ export function loadConfig(env = process.env) {
25
25
  return {
26
26
  port: parseInt(env.PORT ?? '7711', 10),
27
27
  // Priority: persisted (from setup wizard) > env var > empty (triggers setup wizard)
28
- authUrl: persisted.authUrl ?? env.AUTH_URL ?? '',
29
- configServiceUrl: persisted.configServiceUrl ?? env.CONFIG_SERVICE_URL ?? '',
30
- llmProxyUrl: persisted.llmProxyUrl ?? env.LLM_PROXY_URL ?? '',
31
- commandCenterUrl: persisted.commandCenterUrl ?? env.COMMAND_CENTER_URL ?? '',
28
+ authUrl: persisted.authUrl ?? env.JARVIS_AUTH_BASE_URL ?? '',
29
+ configServiceUrl: persisted.configServiceUrl ?? env.JARVIS_CONFIG_URL ?? '',
30
+ llmProxyUrl: persisted.llmProxyUrl ?? env.JARVIS_LLM_PROXY_URL ?? '',
31
+ commandCenterUrl: persisted.commandCenterUrl ?? env.JARVIS_COMMAND_CENTER_URL ?? '',
32
32
  commandCenterAdminKey: env.COMMAND_CENTER_ADMIN_KEY ?? '',
33
- dockerSocket: env.DOCKER_SOCKET ?? '/var/run/docker.sock',
33
+ dockerSocket: env.DOCKER_SOCKET ?? (process.platform === 'win32' ? '//./pipe/docker_engine' : '/var/run/docker.sock'),
34
34
  registryPath: env.REGISTRY_PATH ?? null,
35
35
  staticDir: env.STATIC_DIR ?? null,
36
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAC5E,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAuBjC,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,SAAS,CAAC,CAAA;AAC7C,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAA;AAElD,SAAS,mBAAmB;IAC1B,IAAI,CAAC;QACH,IAAI,UAAU,CAAC,WAAW,CAAC,EA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,IAAI,IAAI,MAAM,EAAE,EAAE,CAAC;QACtC,oFAAoF;QACpF,OAAO,EAAE,SAAS,CAAC,OAAO,IAAI,GAAG,CAAC,oBAAoB,IAAI,EAAE;QAC5D,gBAAgB,EAAE,SAAS,CAAC,gBAAgB,IAAI,GAAG,CAAC,iBAAiB,IAAI,EAAE;QAC3E,WAAW,EAAE,SAAS,CAAC,WAAW,IAAI,GAAG,CAAC,oBAAoB,IAAI,EAAE;QACpE,gBAAgB,EAAE,SAAS,CAAC,gBAAgB,IAAI,GAAG,CAAC,yBAAyB,IAAI,EAAE;QACnF,qBAAqB,EAAE,GAAG,CAAC,wBAAwB,IAAI,EAAE;QACzD,YAAY,EAAE,GAAG,CAAC,aAAa,IAAI,CAAC,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,sBAAsB,CAAC;QACrH,YAAY,EAAE,GAAG,CAAC,aAAa,IAAI,IAAI;QACvC,SAAS,EAAE,GAAG,CAAC,UAAU,IAAI,IAAI;KAClC,CAAA;AACH,CAAC"}
@@ -1,16 +1,87 @@
1
+ import { exec, execSync } from 'node:child_process';
2
+ import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
3
+ import { join } from 'node:path';
4
+ import { homedir } from 'node:os';
1
5
  import { buildApp } from './app.js';
2
6
  import { loadConfig } from './config.js';
7
+ import { VERSION } from './version.js';
3
8
  import { createDockerService } from './services/docker.js';
4
9
  import { createComposeService } from './services/compose.js';
5
10
  import { createRegistryService } from './services/registry.js';
11
+ const REPO = 'alexberardi/jarvis-admin';
12
+ function openBrowser(url) {
13
+ const cmd = process.platform === 'win32' ? `start ${url}`
14
+ : process.platform === 'darwin' ? `open ${url}`
15
+ : `xdg-open ${url}`;
16
+ exec(cmd, () => { });
17
+ }
18
+ /**
19
+ * Ensures frontend assets exist at ~/.jarvis/public/.
20
+ * Downloads from the matching GitHub release on first run or version mismatch.
21
+ */
22
+ async function ensureFrontendAssets() {
23
+ const publicDir = join(homedir(), '.jarvis', 'public');
24
+ const versionFile = join(publicDir, '.version');
25
+ // Already present and correct version
26
+ if (existsSync(versionFile)) {
27
+ const installed = readFileSync(versionFile, 'utf-8').trim();
28
+ if (installed === VERSION && existsSync(join(publicDir, 'index.html'))) {
29
+ return publicDir;
30
+ }
31
+ }
32
+ // Dev mode — no version baked in, skip download
33
+ if (VERSION === '0.0.0-dev') {
34
+ return null;
35
+ }
36
+ const url = `https://github.com/${REPO}/releases/download/v${VERSION}/public.tar.gz`;
37
+ const tarball = join(homedir(), '.jarvis', 'public.tar.gz');
38
+ console.log(`Downloading frontend assets (v${VERSION})...`);
39
+ mkdirSync(join(homedir(), '.jarvis'), { recursive: true });
40
+ try {
41
+ // Use curl (available on all platforms including Windows 10+)
42
+ execSync(`curl -fsSL -o "${tarball}" "${url}"`, { stdio: 'pipe', timeout: 60000 });
43
+ // Remove old assets if present
44
+ if (existsSync(publicDir)) {
45
+ const rmCmd = process.platform === 'win32'
46
+ ? `rmdir /s /q "${publicDir}"`
47
+ : `rm -rf "${publicDir}"`;
48
+ execSync(rmCmd, { stdio: 'pipe' });
49
+ }
50
+ // Extract
51
+ execSync(`tar xzf "${tarball}" -C "${join(homedir(), '.jarvis')}"`, { stdio: 'pipe', timeout: 30000 });
52
+ // Clean up tarball
53
+ const rmTar = process.platform === 'win32'
54
+ ? `del "${tarball}"`
55
+ : `rm -f "${tarball}"`;
56
+ execSync(rmTar, { stdio: 'pipe' });
57
+ // Write version marker
58
+ writeFileSync(versionFile, VERSION);
59
+ console.log(`Frontend assets installed to ${publicDir}`);
60
+ return publicDir;
61
+ }
62
+ catch (err) {
63
+ console.error('Failed to download frontend assets:', err instanceof Error ? err.message : err);
64
+ console.error(`You can manually download from: ${url}`);
65
+ console.error(`Extract to: ${publicDir}`);
66
+ return null;
67
+ }
68
+ }
6
69
  async function main() {
7
70
  const config = loadConfig();
71
+ // Auto-provision frontend assets if no STATIC_DIR is configured
72
+ if (!config.staticDir) {
73
+ const assetsDir = await ensureFrontendAssets();
74
+ if (assetsDir) {
75
+ config.staticDir = assetsDir;
76
+ }
77
+ }
8
78
  const docker = await createDockerService(config.dockerSocket);
9
79
  const compose = createComposeService();
10
80
  const registry = config.registryPath ? createRegistryService(config.registryPath) : null;
11
81
  const app = await buildApp({ config, docker, compose, registry });
12
82
  await app.listen({ port: config.port, host: '0.0.0.0' });
13
83
  console.log(`jarvis-admin server listening on port ${config.port}`);
84
+ openBrowser(`http://localhost:${config.port}`);
14
85
  }
15
86
  main().catch((err) => {
16
87
  console.error('Failed to start server:', err);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAE9D,KAAK,UAAU,IAAI;IACjB,MAAM,MAAM,GAAG,UAAU,EAAE,CAAA;IAE3B,MAAM,MAAM,GAAG,MAAM,mBAAmB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;IAC7D,MAAM,OAAO,GAAG,oBAAoB,EAAE,CAAA;IACtC,MAAM,QAAQ,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,qBAAqB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;IAExF,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAA;IAEjE,MAAM,GAAG,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAA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,CAAA;QAC9C,IAAI,SAAS,EAAE,CAAC;YACd,MAAM,CAAC,SAAS,GAAG,SAAS,CAAA;QAC9B,CAAC;IACH,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,mBAAmB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;IAC7D,MAAM,OAAO,GAAG,oBAAoB,EAAE,CAAA;IACtC,MAAM,QAAQ,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,qBAAqB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;IAExF,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAA;IAEjE,MAAM,GAAG,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAA;IACxD,OAAO,CAAC,GAAG,CAAC,yCAAyC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAA;IAEnE,WAAW,CAAC,oBAAoB,MAAM,CAAC,IAAI,EAAE,CAAC,CAAA;AAChD,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IACnB,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,GAAG,CAAC,CAAA;IAC7C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;AACjB,CAAC,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/routes/install.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAoB9C,wBAAsB,aAAa,CAAC,GAAG,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAwZvE"}
1
+ {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/routes/install.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAoB9C,wBAAsB,aAAa,CAAC,GAAG,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAqrBvE"}