bluelamp 3.0.2 → 3.0.4
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 +8 -4
- package/bin/bluelamp-base +8 -4
- package/bin/bluelamp10 +8 -4
- package/bin/bluelamp100 +8 -4
- package/bin/bluelamp11 +8 -4
- package/bin/bluelamp12 +8 -4
- package/bin/bluelamp13 +8 -4
- package/bin/bluelamp14 +8 -4
- package/bin/bluelamp15 +8 -4
- package/bin/bluelamp16 +8 -4
- package/bin/bluelamp17 +8 -4
- package/bin/bluelamp18 +8 -4
- package/bin/bluelamp19 +8 -4
- package/bin/bluelamp2 +8 -4
- package/bin/bluelamp20 +8 -4
- package/bin/bluelamp21 +8 -4
- package/bin/bluelamp22 +8 -4
- package/bin/bluelamp23 +8 -4
- package/bin/bluelamp24 +8 -4
- package/bin/bluelamp25 +8 -4
- package/bin/bluelamp26 +8 -4
- package/bin/bluelamp27 +8 -4
- package/bin/bluelamp28 +8 -4
- package/bin/bluelamp29 +8 -4
- package/bin/bluelamp3 +8 -4
- package/bin/bluelamp30 +8 -4
- package/bin/bluelamp31 +8 -4
- package/bin/bluelamp32 +8 -4
- package/bin/bluelamp33 +8 -4
- package/bin/bluelamp34 +8 -4
- package/bin/bluelamp35 +8 -4
- package/bin/bluelamp36 +8 -4
- package/bin/bluelamp37 +8 -4
- package/bin/bluelamp38 +8 -4
- package/bin/bluelamp39 +8 -4
- package/bin/bluelamp4 +8 -4
- package/bin/bluelamp40 +8 -4
- package/bin/bluelamp41 +8 -4
- package/bin/bluelamp42 +8 -4
- package/bin/bluelamp43 +8 -4
- package/bin/bluelamp44 +8 -4
- package/bin/bluelamp45 +8 -4
- package/bin/bluelamp46 +8 -4
- package/bin/bluelamp47 +8 -4
- package/bin/bluelamp48 +8 -4
- package/bin/bluelamp49 +8 -4
- package/bin/bluelamp5 +8 -4
- package/bin/bluelamp50 +8 -4
- package/bin/bluelamp51 +8 -4
- package/bin/bluelamp52 +8 -4
- package/bin/bluelamp53 +8 -4
- package/bin/bluelamp54 +8 -4
- package/bin/bluelamp55 +8 -4
- package/bin/bluelamp56 +8 -4
- package/bin/bluelamp57 +8 -4
- package/bin/bluelamp58 +8 -4
- package/bin/bluelamp59 +8 -4
- package/bin/bluelamp6 +8 -4
- package/bin/bluelamp60 +8 -4
- package/bin/bluelamp61 +8 -4
- package/bin/bluelamp62 +8 -4
- package/bin/bluelamp63 +8 -4
- package/bin/bluelamp64 +8 -4
- package/bin/bluelamp65 +8 -4
- package/bin/bluelamp66 +8 -4
- package/bin/bluelamp67 +8 -4
- package/bin/bluelamp68 +8 -4
- package/bin/bluelamp69 +8 -4
- package/bin/bluelamp7 +8 -4
- package/bin/bluelamp70 +8 -4
- package/bin/bluelamp71 +8 -4
- package/bin/bluelamp72 +8 -4
- package/bin/bluelamp73 +8 -4
- package/bin/bluelamp74 +8 -4
- package/bin/bluelamp75 +8 -4
- package/bin/bluelamp76 +8 -4
- package/bin/bluelamp77 +8 -4
- package/bin/bluelamp78 +8 -4
- package/bin/bluelamp79 +8 -4
- package/bin/bluelamp8 +8 -4
- package/bin/bluelamp80 +8 -4
- package/bin/bluelamp81 +8 -4
- package/bin/bluelamp82 +8 -4
- package/bin/bluelamp83 +8 -4
- package/bin/bluelamp84 +8 -4
- package/bin/bluelamp85 +8 -4
- package/bin/bluelamp86 +8 -4
- package/bin/bluelamp87 +8 -4
- package/bin/bluelamp88 +8 -4
- package/bin/bluelamp89 +8 -4
- package/bin/bluelamp9 +8 -4
- package/bin/bluelamp90 +8 -4
- package/bin/bluelamp91 +8 -4
- package/bin/bluelamp92 +8 -4
- package/bin/bluelamp93 +8 -4
- package/bin/bluelamp94 +8 -4
- package/bin/bluelamp95 +8 -4
- package/bin/bluelamp96 +8 -4
- package/bin/bluelamp97 +8 -4
- package/bin/bluelamp98 +8 -4
- package/bin/bluelamp99 +8 -4
- package/lib/mcp-server/dist/security/PortalAuthClient.js +1 -1
- package/lib/mcp-server/dist/security/SimpleAuthManager.js +1 -1
- package/package.json +2 -2
package/bin/bluelamp
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp-base
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp10
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp100
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp11
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp12
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp13
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp14
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp15
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp16
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp17
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp18
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp19
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp2
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp20
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp21
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp22
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp23
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp24
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp25
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|
package/bin/bluelamp26
CHANGED
|
@@ -135,8 +135,12 @@ function ensureAgentsSetup() {
|
|
|
135
135
|
|
|
136
136
|
try {
|
|
137
137
|
const setupScript = path.join(packageRoot, 'scripts/setup-agents.js');
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
if (fs.existsSync(setupScript)) {
|
|
139
|
+
require(setupScript);
|
|
140
|
+
console.log('✅ エージェントセットアップ完了');
|
|
141
|
+
} else {
|
|
142
|
+
console.log('⚠️ セットアップスクリプトが見つかりません。スキップします。');
|
|
143
|
+
}
|
|
140
144
|
} catch (error) {
|
|
141
145
|
console.warn('⚠️ エージェント自動セットアップに失敗しました:', error.message);
|
|
142
146
|
console.warn('手動でセットアップを実行してください: npm run postinstall');
|
|
@@ -153,11 +157,11 @@ async function performSlotAuth(token) {
|
|
|
153
157
|
|
|
154
158
|
console.log(`🎯 スロット${SLOT_NUMBER}の認証を実行中...`);
|
|
155
159
|
|
|
156
|
-
const response = await fetch(`https://bluelamp-portal-
|
|
160
|
+
const response = await fetch(`https://bluelamp-portal-235426778039.asia-northeast1.run.app/api/slots/${SLOT_NUMBER}`, {
|
|
157
161
|
method: 'GET',
|
|
158
162
|
headers: {
|
|
159
163
|
'Content-Type': 'application/json',
|
|
160
|
-
'
|
|
164
|
+
'X-CLI-Token': token
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
|