osagent 0.1.37 → 0.1.38
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/cli.js +10 -10
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -146190,7 +146190,7 @@ function createContentGeneratorConfig(config2, authType, generationConfig) {
|
|
|
146190
146190
|
};
|
|
146191
146191
|
}
|
|
146192
146192
|
async function createContentGenerator(config2, gcConfig, sessionId2, isInitialAuth) {
|
|
146193
|
-
const version3 = "0.1.
|
|
146193
|
+
const version3 = "0.1.38";
|
|
146194
146194
|
const userAgent2 = `OSAgent/${version3} (${process.platform}; ${process.arch})`;
|
|
146195
146195
|
const baseHeaders = {
|
|
146196
146196
|
"User-Agent": userAgent2
|
|
@@ -321073,7 +321073,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
321073
321073
|
// packages/cli/src/utils/version.ts
|
|
321074
321074
|
async function getCliVersion() {
|
|
321075
321075
|
const pkgJson = await getPackageJson();
|
|
321076
|
-
return "0.1.
|
|
321076
|
+
return "0.1.38";
|
|
321077
321077
|
}
|
|
321078
321078
|
__name(getCliVersion, "getCliVersion");
|
|
321079
321079
|
|
|
@@ -325242,8 +325242,8 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
325242
325242
|
|
|
325243
325243
|
// packages/cli/src/generated/git-commit.ts
|
|
325244
325244
|
init_esbuild_shims();
|
|
325245
|
-
var GIT_COMMIT_INFO2 = "
|
|
325246
|
-
var CLI_VERSION2 = "0.1.
|
|
325245
|
+
var GIT_COMMIT_INFO2 = "d8c8718";
|
|
325246
|
+
var CLI_VERSION2 = "0.1.38";
|
|
325247
325247
|
|
|
325248
325248
|
// packages/cli/src/utils/systemInfo.ts
|
|
325249
325249
|
async function getNpmVersion() {
|
|
@@ -363561,7 +363561,7 @@ var DialogManager = /* @__PURE__ */ __name(({
|
|
|
363561
363561
|
if (uiState.isAuthenticating) {
|
|
363562
363562
|
if (uiState.pendingAuthType === AuthType2.USE_OPENAI) {
|
|
363563
363563
|
const defaults3 = getDefaultOpenAIConfig();
|
|
363564
|
-
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
363564
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Box_default, { flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
363565
363565
|
OpenAIKeyPrompt,
|
|
363566
363566
|
{
|
|
363567
363567
|
onSubmit: (apiKey, baseUrl, model) => {
|
|
@@ -363579,12 +363579,12 @@ var DialogManager = /* @__PURE__ */ __name(({
|
|
|
363579
363579
|
defaultBaseUrl: defaults3.baseUrl,
|
|
363580
363580
|
defaultModel: defaults3.model
|
|
363581
363581
|
}
|
|
363582
|
-
);
|
|
363582
|
+
) }, "openai-key-prompt");
|
|
363583
363583
|
}
|
|
363584
363584
|
if (uiState.pendingAuthType === AuthType2.OLLAMA_CLOUD) {
|
|
363585
363585
|
const fromSettings = settings.merged.security?.auth;
|
|
363586
363586
|
const modelSettings = settings.merged.model;
|
|
363587
|
-
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
363587
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Box_default, { flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
363588
363588
|
OpenAIKeyPrompt,
|
|
363589
363589
|
{
|
|
363590
363590
|
onSubmit: (apiKey, baseUrl, model) => {
|
|
@@ -363604,10 +363604,10 @@ var DialogManager = /* @__PURE__ */ __name(({
|
|
|
363604
363604
|
providerName: "Ollama Cloud",
|
|
363605
363605
|
apiKeyUrl: "https://ollama.com/settings/keys"
|
|
363606
363606
|
}
|
|
363607
|
-
);
|
|
363607
|
+
) }, "ollama-key-prompt");
|
|
363608
363608
|
}
|
|
363609
363609
|
if (uiState.pendingAuthType === AuthType2.USE_GROQ) {
|
|
363610
|
-
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
363610
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Box_default, { flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
363611
363611
|
OpenAIKeyPrompt,
|
|
363612
363612
|
{
|
|
363613
363613
|
onSubmit: (apiKey, _baseUrl, model) => {
|
|
@@ -363629,7 +363629,7 @@ var DialogManager = /* @__PURE__ */ __name(({
|
|
|
363629
363629
|
providerName: "GROQ",
|
|
363630
363630
|
apiKeyUrl: "https://console.groq.com/keys"
|
|
363631
363631
|
}
|
|
363632
|
-
);
|
|
363632
|
+
) }, "groq-key-prompt");
|
|
363633
363633
|
}
|
|
363634
363634
|
if (uiState.pendingAuthType === AuthType2.OSA_OAUTH) {
|
|
363635
363635
|
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|