@codeflyai/codefly 0.24.6 → 0.24.7
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/bundle/codefly.js +23 -21
- package/package.json +1 -1
package/bundle/codefly.js
CHANGED
|
@@ -111225,8 +111225,8 @@ var init_channel = __esm({
|
|
|
111225
111225
|
import { fileURLToPath as fileURLToPath4 } from "node:url";
|
|
111226
111226
|
import path12 from "node:path";
|
|
111227
111227
|
async function getVersion() {
|
|
111228
|
-
if ("0.24.
|
|
111229
|
-
return "0.24.
|
|
111228
|
+
if ("0.24.6") {
|
|
111229
|
+
return "0.24.6";
|
|
111230
111230
|
}
|
|
111231
111231
|
const pkgJson = await getPackageJson(__dirname3);
|
|
111232
111232
|
return pkgJson?.version || "unknown";
|
|
@@ -185935,8 +185935,8 @@ var GIT_COMMIT_INFO, CLI_VERSION;
|
|
|
185935
185935
|
var init_git_commit = __esm({
|
|
185936
185936
|
"packages/core/dist/src/generated/git-commit.js"() {
|
|
185937
185937
|
"use strict";
|
|
185938
|
-
GIT_COMMIT_INFO = "
|
|
185939
|
-
CLI_VERSION = "0.24.
|
|
185938
|
+
GIT_COMMIT_INFO = "9bce90a8e";
|
|
185939
|
+
CLI_VERSION = "0.24.6";
|
|
185940
185940
|
}
|
|
185941
185941
|
});
|
|
185942
185942
|
|
|
@@ -418658,7 +418658,7 @@ var init_init3 = __esm({
|
|
|
418658
418658
|
init_command_generation();
|
|
418659
418659
|
init_legacy_cleanup();
|
|
418660
418660
|
init_shared2();
|
|
418661
|
-
OPENSPEC_VERSION2 = "0.24.
|
|
418661
|
+
OPENSPEC_VERSION2 = "0.24.6";
|
|
418662
418662
|
DEFAULT_SCHEMA4 = "spec-driven";
|
|
418663
418663
|
PROGRESS_SPINNER = {
|
|
418664
418664
|
interval: 80,
|
|
@@ -453485,7 +453485,7 @@ var WarningMessage = ({ text }) => {
|
|
|
453485
453485
|
};
|
|
453486
453486
|
|
|
453487
453487
|
// packages/cli/src/generated/git-commit.ts
|
|
453488
|
-
var GIT_COMMIT_INFO2 = "
|
|
453488
|
+
var GIT_COMMIT_INFO2 = "9bce90a8e";
|
|
453489
453489
|
|
|
453490
453490
|
// packages/cli/src/ui/components/AboutBox.tsx
|
|
453491
453491
|
var import_jsx_runtime34 = __toESM(require_jsx_runtime(), 1);
|
|
@@ -496094,7 +496094,7 @@ init_shared2();
|
|
|
496094
496094
|
init_legacy_cleanup();
|
|
496095
496095
|
init_interactive();
|
|
496096
496096
|
import path153 from "node:path";
|
|
496097
|
-
var OPENSPEC_VERSION = "0.24.
|
|
496097
|
+
var OPENSPEC_VERSION = "0.24.6";
|
|
496098
496098
|
var UpdateCommand = class {
|
|
496099
496099
|
force;
|
|
496100
496100
|
constructor(options = {}) {
|
|
@@ -502055,7 +502055,7 @@ function isGhAuthenticated() {
|
|
|
502055
502055
|
}
|
|
502056
502056
|
}
|
|
502057
502057
|
function getVersion2() {
|
|
502058
|
-
return "0.24.
|
|
502058
|
+
return "0.24.6";
|
|
502059
502059
|
}
|
|
502060
502060
|
function getPlatform2() {
|
|
502061
502061
|
return os33.platform();
|
|
@@ -504344,7 +504344,7 @@ ${options.description}
|
|
|
504344
504344
|
|
|
504345
504345
|
// packages/core/dist/src/openspec/cli/index.js
|
|
504346
504346
|
var program2 = new Command2();
|
|
504347
|
-
var version3 = "0.24.
|
|
504347
|
+
var version3 = "0.24.6";
|
|
504348
504348
|
program2.name("openspec").description("AI-native system for spec-driven development").version(version3);
|
|
504349
504349
|
program2.option("--no-color", "Disable color output");
|
|
504350
504350
|
program2.hook("preAction", async (thisCommand) => {
|
|
@@ -509237,18 +509237,20 @@ async function main2() {
|
|
|
509237
509237
|
if (!settings.merged.security.auth.useExternal) {
|
|
509238
509238
|
try {
|
|
509239
509239
|
if (partialConfig.isInteractive()) {
|
|
509240
|
-
if (
|
|
509241
|
-
|
|
509242
|
-
|
|
509243
|
-
|
|
509244
|
-
|
|
509245
|
-
|
|
509246
|
-
|
|
509247
|
-
|
|
509248
|
-
|
|
509249
|
-
|
|
509250
|
-
|
|
509251
|
-
|
|
509240
|
+
if (!settings.merged.security.auth.selectedType) {
|
|
509241
|
+
if (process.env["GEMINI_API_KEY"]) {
|
|
509242
|
+
settings.setValue(
|
|
509243
|
+
"User" /* User */,
|
|
509244
|
+
"security.auth.selectedType",
|
|
509245
|
+
AuthType2.USE_GEMINI
|
|
509246
|
+
);
|
|
509247
|
+
} else if (process.env["OPENAI_API_KEY"]) {
|
|
509248
|
+
settings.setValue(
|
|
509249
|
+
"User" /* User */,
|
|
509250
|
+
"security.auth.selectedType",
|
|
509251
|
+
AuthType2.OPENAI
|
|
509252
|
+
);
|
|
509253
|
+
}
|
|
509252
509254
|
}
|
|
509253
509255
|
if (settings.merged.security.auth.selectedType) {
|
|
509254
509256
|
const err2 = validateAuthMethod(
|