kaizenai 0.6.0 → 0.7.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.
- package/dist/client/assets/FeatureOverviewPage-DGosnNE0.js +11 -0
- package/dist/client/assets/FeatureOverviewPage-DGosnNE0.js.br +0 -0
- package/dist/client/assets/FeatureOverviewPage-DGosnNE0.js.gz +0 -0
- package/dist/client/assets/LocalProjectsPage-gWrmUSs2.js +21 -0
- package/dist/client/assets/LocalProjectsPage-gWrmUSs2.js.br +0 -0
- package/dist/client/assets/LocalProjectsPage-gWrmUSs2.js.gz +0 -0
- package/dist/client/assets/SettingsPage-BPpmk_eT.js +51 -0
- package/dist/client/assets/SettingsPage-BPpmk_eT.js.br +0 -0
- package/dist/client/assets/SettingsPage-BPpmk_eT.js.gz +0 -0
- package/dist/client/assets/eye-BXpLGEx5.js +11 -0
- package/dist/client/assets/eye-BXpLGEx5.js.br +0 -0
- package/dist/client/assets/eye-BXpLGEx5.js.gz +0 -0
- package/dist/client/assets/index-D-HIK4uM.css +32 -0
- package/dist/client/assets/index-D-HIK4uM.css.br +0 -0
- package/dist/client/assets/index-D-HIK4uM.css.gz +0 -0
- package/dist/client/assets/index-SgSBQKg3.js +608 -0
- package/dist/client/assets/index-SgSBQKg3.js.br +0 -0
- package/dist/client/assets/index-SgSBQKg3.js.gz +0 -0
- package/dist/client/index.html +3 -2
- package/dist/server/build-target.json +4 -0
- package/dist/server/cli-supervisor.js +53 -15
- package/dist/server/cli.js +18735 -6474
- package/package.json +22 -13
- package/dist/client/assets/index-DYFTsr9U.js +0 -648
- package/dist/client/assets/index-u00ojO6u.css +0 -32
|
Binary file
|
|
Binary file
|
package/dist/client/index.html
CHANGED
|
@@ -25,11 +25,12 @@
|
|
|
25
25
|
<link
|
|
26
26
|
rel="manifest"
|
|
27
27
|
id="app-manifest"
|
|
28
|
+
crossorigin="use-credentials"
|
|
28
29
|
href="/manifest.webmanifest?v=20260329-handoff"
|
|
29
30
|
/>
|
|
30
31
|
<title>KaizenAI</title>
|
|
31
|
-
<script type="module" crossorigin src="/assets/index-
|
|
32
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
32
|
+
<script type="module" crossorigin src="/assets/index-SgSBQKg3.js"></script>
|
|
33
|
+
<link rel="stylesheet" crossorigin href="/assets/index-D-HIK4uM.css">
|
|
33
34
|
</head>
|
|
34
35
|
<body>
|
|
35
36
|
<div id="root"></div>
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __returnValue = (v) => v;
|
|
4
|
+
function __exportSetter(name, newValue) {
|
|
5
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
6
|
+
}
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true,
|
|
12
|
+
configurable: true,
|
|
13
|
+
set: __exportSetter.bind(all, name)
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
|
|
2
17
|
// src/server/cli-supervisor.ts
|
|
3
18
|
import process from "process";
|
|
4
19
|
import { spawn } from "child_process";
|
|
@@ -7,7 +22,7 @@ import { fileURLToPath } from "url";
|
|
|
7
22
|
var package_default = {
|
|
8
23
|
name: "kaizenai",
|
|
9
24
|
type: "module",
|
|
10
|
-
version: "0.
|
|
25
|
+
version: "0.7.1",
|
|
11
26
|
description: "Local web UI for coding agents",
|
|
12
27
|
keywords: [
|
|
13
28
|
"claude",
|
|
@@ -44,20 +59,26 @@ var package_default = {
|
|
|
44
59
|
bun: ">=1.3.5"
|
|
45
60
|
},
|
|
46
61
|
scripts: {
|
|
47
|
-
build: "
|
|
62
|
+
build: "bun run build:prod",
|
|
63
|
+
"build:prod": "KAIZEN_CLI_BUILD_TARGET=prod vite build && KAIZEN_CLI_BUILD_TARGET=prod bun ./scripts/build-server.ts && KAIZEN_CLI_BUILD_TARGET=prod bun ./scripts/validate-build-artifact.ts --target prod",
|
|
64
|
+
"build:nonprod": "KAIZEN_CLI_BUILD_TARGET=nonprod vite build && KAIZEN_CLI_BUILD_TARGET=nonprod bun ./scripts/build-server.ts && KAIZEN_CLI_BUILD_TARGET=nonprod bun ./scripts/validate-build-artifact.ts --target nonprod",
|
|
48
65
|
check: "tsc --noEmit && bun run build",
|
|
49
66
|
dev: "bun ./scripts/dev.ts",
|
|
50
|
-
"dev:client": "vite --host 0.0.0.0 --port 5174",
|
|
67
|
+
"dev:client": "KAIZEN_CLI_BUILD_TARGET=nonprod vite --host 0.0.0.0 --port 5174",
|
|
51
68
|
"dev:server": "bun ./scripts/dev-server.ts --no-open --port 5175",
|
|
52
69
|
fmt: "prettier package.json README.md --check",
|
|
53
|
-
"install:dev": "bun install && bun run build && bun install -g .",
|
|
70
|
+
"install:dev": "bun install && bun run build:nonprod && bun install -g .",
|
|
54
71
|
lint: "tsc --noEmit",
|
|
72
|
+
"pack:dry-run": "bun run build:prod && bun ./scripts/validate-build-artifact.ts --target prod --mode publish && npm pack --dry-run",
|
|
55
73
|
start: "bun ./dist/server/cli.js",
|
|
56
74
|
test: "bun test",
|
|
75
|
+
"test:e2e:local": "bun ./scripts/run-local-playwright.ts",
|
|
57
76
|
typecheck: "tsc --noEmit",
|
|
58
|
-
|
|
77
|
+
"validate:publish": "bun ./scripts/validate-build-artifact.ts --target prod --mode publish",
|
|
78
|
+
prepublishOnly: "bun run build:prod && bun run validate:publish"
|
|
59
79
|
},
|
|
60
80
|
dependencies: {
|
|
81
|
+
"@kaizenai/ui": "workspace:*",
|
|
61
82
|
"@anthropic-ai/claude-agent-sdk": "^0.2.39",
|
|
62
83
|
"@radix-ui/react-context-menu": "^2.2.16",
|
|
63
84
|
"@radix-ui/react-select": "^2.2.6",
|
|
@@ -67,45 +88,48 @@ var package_default = {
|
|
|
67
88
|
"@xterm/headless": "^6.0.0",
|
|
68
89
|
"@xterm/xterm": "^6.0.0",
|
|
69
90
|
"default-shell": "^2.2.0",
|
|
91
|
+
jose: "^6.2.2",
|
|
70
92
|
"puppeteer-core": "^24.40.0",
|
|
71
93
|
qrcode: "^1.5.4",
|
|
72
94
|
"react-resizable-panels": "^4.7.3",
|
|
95
|
+
sharp: "^0.34.5",
|
|
73
96
|
sonner: "^2.0.7"
|
|
74
97
|
},
|
|
75
98
|
devDependencies: {
|
|
76
99
|
"@dnd-kit/core": "^6.3.1",
|
|
77
100
|
"@dnd-kit/sortable": "^10.0.0",
|
|
78
101
|
"@dnd-kit/utilities": "^3.2.2",
|
|
102
|
+
"@kaizenai/themes": "workspace:*",
|
|
79
103
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
80
104
|
"@radix-ui/react-popover": "^1.1.15",
|
|
81
105
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
106
|
+
"@playwright/test": "^1.59.1",
|
|
82
107
|
"@tailwindcss/postcss": "^4.1.18",
|
|
83
108
|
"@tailwindcss/typography": "^0.5.19",
|
|
84
|
-
"@kaizen-core/themes": "workspace:*",
|
|
85
109
|
"@types/bun": "latest",
|
|
86
110
|
"@types/node": "^24.10.1",
|
|
87
|
-
"@types/react": "19.2.
|
|
111
|
+
"@types/react": "19.2.10",
|
|
88
112
|
"@types/react-dom": "19.2.3",
|
|
89
113
|
"@vitejs/plugin-react": "5.1.1",
|
|
114
|
+
"@tanstack/react-virtual": "^3.13.12",
|
|
90
115
|
autoprefixer: "^10.4.23",
|
|
91
|
-
"
|
|
92
|
-
clsx: "^2.1.1",
|
|
116
|
+
"babel-plugin-react-compiler": "^1.0.0",
|
|
93
117
|
"lucide-react": "^0.562.0",
|
|
94
|
-
|
|
95
|
-
|
|
118
|
+
prettier: "^3.6.2",
|
|
119
|
+
react: "19.2.4",
|
|
120
|
+
"react-dom": "19.2.4",
|
|
96
121
|
"react-markdown": "^10.1.0",
|
|
97
122
|
"react-router-dom": "^7.12.0",
|
|
98
|
-
prettier: "^3.6.2",
|
|
99
123
|
"remark-gfm": "^4.0.1",
|
|
100
|
-
"tailwind-merge": "^3.4.0",
|
|
101
124
|
tailwindcss: "^4.1.18",
|
|
102
125
|
typescript: "5.8.3",
|
|
103
126
|
vite: "^6.0.0",
|
|
127
|
+
"vite-plugin-compression2": "^2.5.3",
|
|
104
128
|
zustand: "^5.0.10"
|
|
105
129
|
}
|
|
106
130
|
};
|
|
107
131
|
|
|
108
|
-
// src/shared/branding.ts
|
|
132
|
+
// src/shared/branding-core.ts
|
|
109
133
|
var APP_NAME = "Kaizen";
|
|
110
134
|
var CLI_COMMAND = "kaizen";
|
|
111
135
|
var DATA_ROOT_NAME = ".kaizen";
|
|
@@ -155,10 +179,24 @@ function getThemesTemplateFilePath(homeDir, env = getRuntimeEnv()) {
|
|
|
155
179
|
function getThemesReadmeFilePath(homeDir, env = getRuntimeEnv()) {
|
|
156
180
|
return `${getThemesDirPath(homeDir, env)}/THEME_README.md`;
|
|
157
181
|
}
|
|
182
|
+
function getManagedBackgroundsDirPath(homeDir, env = getRuntimeEnv()) {
|
|
183
|
+
return `${getDataRootDir(homeDir, env)}/backgrounds`;
|
|
184
|
+
}
|
|
158
185
|
function getProviderSettingsFilePath(homeDir, env = getRuntimeEnv()) {
|
|
159
186
|
return `${getDataRootDir(homeDir, env)}/providers.json`;
|
|
160
187
|
}
|
|
161
|
-
|
|
188
|
+
function getRemoteAuthFilePath(homeDir, env = getRuntimeEnv()) {
|
|
189
|
+
return `${getDataRootDir(homeDir, env)}/remote-auth.json`;
|
|
190
|
+
}
|
|
191
|
+
function getRemoteAuthFilePathDisplay(env = getRuntimeEnv()) {
|
|
192
|
+
return `${getDataRootDirDisplay(env)}/remote-auth.json`;
|
|
193
|
+
}
|
|
194
|
+
function getRemoteRelayFilePath(homeDir, env = getRuntimeEnv()) {
|
|
195
|
+
return `${getDataRootDir(homeDir, env)}/remote-relay.json`;
|
|
196
|
+
}
|
|
197
|
+
function getRemoteRelayFilePathDisplay(env = getRuntimeEnv()) {
|
|
198
|
+
return `${getDataRootDirDisplay(env)}/remote-relay.json`;
|
|
199
|
+
}
|
|
162
200
|
// src/server/restart.ts
|
|
163
201
|
var CLI_CHILD_MODE_ENV_VAR = "KAIZEN_CLI_MODE";
|
|
164
202
|
var CLI_CHILD_MODE = "child";
|