osagent 0.1.29 → 0.1.32

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 CHANGED
@@ -146180,7 +146180,7 @@ function createContentGeneratorConfig(config, authType, generationConfig) {
146180
146180
  };
146181
146181
  }
146182
146182
  async function createContentGenerator(config, gcConfig, sessionId2, isInitialAuth) {
146183
- const version2 = "0.1.29";
146183
+ const version2 = "0.1.32";
146184
146184
  const userAgent2 = `OSAgent/${version2} (${process.platform}; ${process.arch})`;
146185
146185
  const baseHeaders = {
146186
146186
  "User-Agent": userAgent2
@@ -309811,7 +309811,7 @@ __name(getPackageJson, "getPackageJson");
309811
309811
  // packages/cli/src/utils/version.ts
309812
309812
  async function getCliVersion() {
309813
309813
  const pkgJson = await getPackageJson();
309814
- return "0.1.29";
309814
+ return "0.1.32";
309815
309815
  }
309816
309816
  __name(getCliVersion, "getCliVersion");
309817
309817
 
@@ -313980,8 +313980,8 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
313980
313980
 
313981
313981
  // packages/cli/src/generated/git-commit.ts
313982
313982
  init_esbuild_shims();
313983
- var GIT_COMMIT_INFO2 = "481ebbe";
313984
- var CLI_VERSION2 = "0.1.29";
313983
+ var GIT_COMMIT_INFO2 = "643e3f5";
313984
+ var CLI_VERSION2 = "0.1.32";
313985
313985
 
313986
313986
  // packages/cli/src/utils/systemInfo.ts
313987
313987
  async function getNpmVersion() {
@@ -350421,6 +350421,11 @@ function AuthDialog() {
350421
350421
  label: t2("Ollama Local (qwen2.5-coder:32b)"),
350422
350422
  value: AuthType2.OLLAMA_LOCAL
350423
350423
  },
350424
+ {
350425
+ key: AuthType2.USE_GROQ,
350426
+ label: t2("GROQ (Kimi K2 - Fast Inference)"),
350427
+ value: AuthType2.USE_GROQ
350428
+ },
350424
350429
  {
350425
350430
  key: AuthType2.USE_OPENAI,
350426
350431
  label: t2("OpenAI Compatible API"),
@@ -350514,7 +350519,7 @@ function AuthDialog() {
350514
350519
  "Your existing API key will be preserved."
350515
350520
  ) }) }),
350516
350521
  /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(Box_default, { marginTop: 1, flexDirection: "row", justifyContent: "space-between", children: [
350517
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Text3, { color: Colors.Gray, dimColor: true, children: "Powered by Qwen3-Coder" }),
350522
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Text3, { color: Colors.Gray, dimColor: true, children: "Powered by Ollama & GROQ" }),
350518
350523
  /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Text3, { color: Colors.AccentBlue, children: "https://osa.dev" })
350519
350524
  ] })
350520
350525
  ]
@@ -350824,6 +350829,14 @@ function ProQuotaDialog({
350824
350829
  const handleSelect = /* @__PURE__ */ __name((choice2) => {
350825
350830
  onChoice(choice2);
350826
350831
  }, "handleSelect");
350832
+ useKeypress(
350833
+ (key) => {
350834
+ if (key.name === "escape") {
350835
+ onChoice("continue");
350836
+ }
350837
+ },
350838
+ { isActive: true }
350839
+ );
350827
350840
  return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(Box_default, { borderStyle: "round", flexDirection: "column", paddingX: 1, children: [
350828
350841
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Text3, { bold: true, color: theme.status.warning, children: t2("Pro quota limit reached for {{model}}.", { model: failedModel }) }),
350829
350842
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
@@ -363383,8 +363396,6 @@ ${queuedText}` : queuedText;
363383
363396
  refreshStatic();
363384
363397
  }, [historyManager, clearConsoleMessagesState, refreshStatic]);
363385
363398
  const { handleInput: vimHandleInput } = useVim(buffer, handleFinalSubmit);
363386
- const anyDialogOpen = showWelcomeBackDialog || showWorkspaceMigrationDialog || !!shellConfirmationRequest || !!confirmationRequest || confirmUpdateExtensionRequests.length > 0 || !!loopDetectionConfirmationRequest || !!quitConfirmationRequest || isThemeDialogOpen || isSettingsDialogOpen || isModelDialogOpen || isVisionSwitchDialogOpen || isPermissionsDialogOpen || isAuthDialogOpen || isAuthenticating || isEditorDialogOpen || isSubagentCreateDialogOpen || isAgentsManagerDialogOpen || isApprovalModeDialogOpen;
363387
- const isInputActive = !initError && !isProcessing && (streamingState === "idle" /* Idle */ || streamingState === "responding" /* Responding */) && !proQuotaRequest && !anyDialogOpen;
363388
363399
  const [controlsHeight, setControlsHeight] = (0, import_react139.useState)(0);
363389
363400
  (0, import_react139.useLayoutEffect)(() => {
363390
363401
  if (mainControlsRef.current) {
@@ -363485,6 +363496,8 @@ ${queuedText}` : queuedText;
363485
363496
  setShowIdeRestartPrompt(true);
363486
363497
  }
363487
363498
  }, [ideNeedsRestart]);
363499
+ const anyDialogOpen = showWelcomeBackDialog || showWorkspaceMigrationDialog || shouldShowIdePrompt || isFolderTrustDialogOpen || showIdeRestartPrompt || !!shellConfirmationRequest || !!confirmationRequest || confirmUpdateExtensionRequests.length > 0 || !!loopDetectionConfirmationRequest || !!quitConfirmationRequest || isThemeDialogOpen || isSettingsDialogOpen || isModelDialogOpen || isVisionSwitchDialogOpen || isPermissionsDialogOpen || isAuthDialogOpen || isAuthenticating || isEditorDialogOpen || isSubagentCreateDialogOpen || isAgentsManagerDialogOpen || isApprovalModeDialogOpen || !!proQuotaRequest;
363500
+ const isInputActive = !initError && !isProcessing && (streamingState === "idle" /* Idle */ || streamingState === "responding" /* Responding */) && !anyDialogOpen;
363488
363501
  (0, import_react139.useEffect)(() => {
363489
363502
  if (isInitialMount.current) {
363490
363503
  isInitialMount.current = false;
@@ -0,0 +1,3 @@
1
+ This project is dual-licensed under the Unlicense and MIT licenses.
2
+
3
+ You may use this code under the terms of either license.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osagent",
3
- "version": "0.1.29",
3
+ "version": "0.1.32",
4
4
  "description": "OS Agent - AI-powered CLI for autonomous coding with Ollama Cloud and Qwen models",
5
5
  "author": "Roberto Luna",
6
6
  "license": "Apache-2.0",