osagent 0.1.94 → 0.1.95
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/cli.js +8 -10
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -147012,7 +147012,7 @@ function createContentGeneratorConfig(config2, authType, generationConfig) {
|
|
|
147012
147012
|
};
|
|
147013
147013
|
}
|
|
147014
147014
|
async function createContentGenerator(config2, gcConfig, sessionId2, isInitialAuth) {
|
|
147015
|
-
const version3 = "0.1.
|
|
147015
|
+
const version3 = "0.1.95";
|
|
147016
147016
|
const userAgent2 = `OSAgent/${version3} (${process.platform}; ${process.arch})`;
|
|
147017
147017
|
const baseHeaders = {
|
|
147018
147018
|
"User-Agent": userAgent2
|
|
@@ -335996,7 +335996,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
335996
335996
|
// packages/cli/src/utils/version.ts
|
|
335997
335997
|
async function getCliVersion() {
|
|
335998
335998
|
const pkgJson = await getPackageJson();
|
|
335999
|
-
return "0.1.
|
|
335999
|
+
return "0.1.95";
|
|
336000
336000
|
}
|
|
336001
336001
|
__name(getCliVersion, "getCliVersion");
|
|
336002
336002
|
|
|
@@ -340204,8 +340204,8 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
340204
340204
|
|
|
340205
340205
|
// packages/cli/src/generated/git-commit.ts
|
|
340206
340206
|
init_esbuild_shims();
|
|
340207
|
-
var GIT_COMMIT_INFO2 = "
|
|
340208
|
-
var CLI_VERSION2 = "0.1.
|
|
340207
|
+
var GIT_COMMIT_INFO2 = "393c5d8";
|
|
340208
|
+
var CLI_VERSION2 = "0.1.95";
|
|
340209
340209
|
|
|
340210
340210
|
// packages/cli/src/utils/systemInfo.ts
|
|
340211
340211
|
async function getNpmVersion() {
|
|
@@ -379620,8 +379620,6 @@ var DialogManager = /* @__PURE__ */ __name(({
|
|
|
379620
379620
|
) }, "openai-key-prompt");
|
|
379621
379621
|
}
|
|
379622
379622
|
if (uiState.pendingAuthType === AuthType2.OLLAMA_CLOUD) {
|
|
379623
|
-
const fromSettings = settings.merged.security?.auth;
|
|
379624
|
-
const modelSettings = settings.merged.model;
|
|
379625
379623
|
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Box_default, { flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
379626
379624
|
OpenAIKeyPrompt,
|
|
379627
379625
|
{
|
|
@@ -379629,16 +379627,16 @@ var DialogManager = /* @__PURE__ */ __name(({
|
|
|
379629
379627
|
uiActions.handleAuthSelect(AuthType2.OLLAMA_CLOUD, "User" /* User */, {
|
|
379630
379628
|
apiKey,
|
|
379631
379629
|
baseUrl: baseUrl || "https://ollama.com/v1",
|
|
379632
|
-
model: model || "qwen3-coder:480b
|
|
379630
|
+
model: model || "qwen3-coder:480b"
|
|
379633
379631
|
});
|
|
379634
379632
|
},
|
|
379635
379633
|
onCancel: () => {
|
|
379636
379634
|
uiActions.cancelAuthentication();
|
|
379637
379635
|
uiActions.setAuthState("updating" /* Updating */);
|
|
379638
379636
|
},
|
|
379639
|
-
defaultApiKey:
|
|
379640
|
-
defaultBaseUrl:
|
|
379641
|
-
defaultModel:
|
|
379637
|
+
defaultApiKey: process34.env["OLLAMA_API_KEY"] || "",
|
|
379638
|
+
defaultBaseUrl: "https://ollama.com/v1",
|
|
379639
|
+
defaultModel: "qwen3-coder:480b",
|
|
379642
379640
|
providerName: "Ollama Cloud",
|
|
379643
379641
|
apiKeyUrl: "https://ollama.com/settings/keys"
|
|
379644
379642
|
}
|