bluelamp 4.0.1 → 4.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/bin/bluelamp-base CHANGED
@@ -130,6 +130,11 @@ async function main() {
130
130
  const isWindows = process.platform === 'win32';
131
131
  let claudeCommand, claudeArgs;
132
132
 
133
+ // システムプロンプトに追加する指示
134
+ const systemPromptAddition = `【重要】セッション開始時に必ず inject_knowledge ツールを実行してください。
135
+ keyword: "${keyword}" を指定して、専門知識を注入してから作業を開始してください。
136
+ ユーザーが何か質問や指示をした場合でも、まず inject_knowledge を実行してから回答してください。`;
137
+
133
138
  if (isWindows) {
134
139
  claudeCommand = 'powershell.exe';
135
140
  claudeArgs = [
@@ -137,14 +142,15 @@ async function main() {
137
142
  '-Command',
138
143
  'claude',
139
144
  '--dangerously-skip-permissions',
140
- '--mcp-config', configPath
145
+ '--mcp-config', configPath,
146
+ '--append-system-prompt', systemPromptAddition
141
147
  ];
142
148
  } else {
143
149
  claudeCommand = 'claude';
144
- // initialPrompt を渡さない = 高速起動
145
150
  claudeArgs = [
146
151
  '--dangerously-skip-permissions',
147
- '--mcp-config', configPath
152
+ '--mcp-config', configPath,
153
+ '--append-system-prompt', systemPromptAddition
148
154
  ];
149
155
  }
150
156
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bluelamp",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "BlueLamp MCP Integration - Fast Startup with SessionStart Hook",
5
5
  "main": "lib/mcp-server/index.cjs",
6
6
  "bin": {