@gzmagyari/kanbanboard 1.0.0 → 1.0.2

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/.env.example CHANGED
@@ -12,9 +12,9 @@ HOST=127.0.0.1
12
12
  # --- LLM (OpenAI-compatible chat completions API) ---
13
13
  # Set LLM_ENABLED=1 to enable AI features (task generation, planning, chat, etc.)
14
14
  LLM_ENABLED=0
15
- LLM_BASE_URL=
15
+ LLM_BASE_URL=https://openrouter.ai/api/v1
16
16
  LLM_API_KEY=
17
- LLM_MODEL=openrouter/google/gemini-3-pro-preview
17
+ LLM_MODEL=google/gemini-3-pro-preview
18
18
  # LLM_TIMEOUT_MS=45000
19
19
  # LLM_TEMPERATURE=0
20
20
  # LLM_LOG_BODY=1
package/bin/cli.mjs CHANGED
@@ -166,24 +166,25 @@ async function cmdInit() {
166
166
  console.log(`[skip] .env already exists at ${envPath}`);
167
167
  } else {
168
168
  console.log(`\n--- LLM Configuration (optional, press Enter to skip) ---`);
169
- const llmEnabled = await ask('Enable LLM features? (1/0)', '0');
170
- const llmBaseUrl = await ask('LLM base URL (OpenAI-compatible)');
171
- const llmApiKey = await ask('LLM API key');
172
- const llmModel = await ask('LLM model name', 'openrouter/google/gemini-3-pro-preview');
169
+ console.log(`KanbanBoard uses OpenRouter (https://openrouter.ai) for LLM features.`);
170
+ console.log(`Get an API key at: https://openrouter.ai/keys\n`);
171
+ const llmApiKey = await ask('OpenRouter API key (press Enter to skip)');
172
+ const llmEnabled = llmApiKey ? '1' : '0';
173
173
 
174
174
  let envContent = `# KanbanBoard Configuration\n`;
175
175
  envContent += `# See .env.example for all available options\n\n`;
176
176
  envContent += `# Server\n`;
177
177
  envContent += `PORT=3000\n`;
178
178
  envContent += `HOST=127.0.0.1\n\n`;
179
- envContent += `# LLM (OpenAI-compatible API)\n`;
180
- envContent += `LLM_ENABLED=${llmEnabled || '0'}\n`;
181
- if (llmBaseUrl) envContent += `LLM_BASE_URL=${llmBaseUrl}\n`;
179
+ envContent += `# LLM (OpenRouter — https://openrouter.ai)\n`;
180
+ envContent += `LLM_ENABLED=${llmEnabled}\n`;
181
+ envContent += `LLM_BASE_URL=https://openrouter.ai/api/v1\n`;
182
182
  if (llmApiKey) envContent += `LLM_API_KEY=${llmApiKey}\n`;
183
- if (llmModel) envContent += `LLM_MODEL=${llmModel}\n`;
183
+ else envContent += `# LLM_API_KEY=\n`;
184
+ envContent += `LLM_MODEL=google/gemini-3-pro-preview\n`;
184
185
  envContent += `\n# AI API protection (set a key to require X-API-Key header)\n`;
185
186
  envContent += `# AI_API_KEY=\n`;
186
- envContent += `# AI_INIT_ALLOW_ANY=1\n`;
187
+ envContent += `AI_INIT_ALLOW_ANY=1\n`;
187
188
 
188
189
  fs.writeFileSync(envPath, envContent, 'utf8');
189
190
  console.log(`\n[ok] Created .env at ${envPath}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gzmagyari/kanbanboard",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "AI-powered Kanban dashboard with LLM integration, Claude Code agents, and MCP server support",
5
5
  "type": "module",
6
6
  "bin": {
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "license": "MIT",
42
42
  "engines": {
43
- "node": ">=18.0.0"
43
+ "node": ">=18.0.0 <24.0.0"
44
44
  },
45
45
  "dependencies": {
46
46
  "better-sqlite3": "^11.7.2",