@photon-cli/flux 0.3.0 → 0.3.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/index.js +1 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -52234,14 +52234,6 @@ function logout() {
|
|
|
52234
52234
|
clearConfig();
|
|
52235
52235
|
console.log("[FLUX] Logged out.");
|
|
52236
52236
|
}
|
|
52237
|
-
async function getPhoneNumber() {
|
|
52238
|
-
const config = loadConfig();
|
|
52239
|
-
if (config.phoneNumber) {
|
|
52240
|
-
return config.phoneNumber;
|
|
52241
|
-
}
|
|
52242
|
-
console.log("[FLUX] Not logged in.");
|
|
52243
|
-
return await login();
|
|
52244
|
-
}
|
|
52245
52237
|
var AGENT_FILE_NAME = "agent.ts";
|
|
52246
52238
|
function findAgentFile() {
|
|
52247
52239
|
const cwd = process.cwd();
|
|
@@ -52342,7 +52334,7 @@ async function runLocal() {
|
|
|
52342
52334
|
askQuestion();
|
|
52343
52335
|
}
|
|
52344
52336
|
async function runProd() {
|
|
52345
|
-
const phoneNumber =
|
|
52337
|
+
const phoneNumber = "+17185619177";
|
|
52346
52338
|
const agentPath = findAgentFile();
|
|
52347
52339
|
if (!agentPath) {
|
|
52348
52340
|
console.error("[FLUX] No agent.ts or agent.js found in current directory.");
|