osagent 0.1.28 → 0.1.29

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.28";
146183
+ const version2 = "0.1.29";
146184
146184
  const userAgent2 = `OSAgent/${version2} (${process.platform}; ${process.arch})`;
146185
146185
  const baseHeaders = {
146186
146186
  "User-Agent": userAgent2
@@ -195824,7 +195824,27 @@ function getArchitectureString(arch3) {
195824
195824
  return void 0;
195825
195825
  }
195826
195826
  }
195827
+ function getRipgrepFromPackage() {
195828
+ const platform15 = getPlatformString(process.platform);
195829
+ const arch3 = getArchitectureString(process.arch);
195830
+ if (!platform15 || !arch3) {
195831
+ return null;
195832
+ }
195833
+ const packageName = `@osagent/ripgrep-${platform15}-${arch3}`;
195834
+ try {
195835
+ const pkg2 = __require(packageName);
195836
+ if (pkg2 && typeof pkg2.getBinaryPath === "function") {
195837
+ return pkg2.getBinaryPath();
195838
+ }
195839
+ } catch {
195840
+ }
195841
+ return null;
195842
+ }
195827
195843
  function getBuiltinRipgrep() {
195844
+ const packagePath = getRipgrepFromPackage();
195845
+ if (packagePath) {
195846
+ return packagePath;
195847
+ }
195828
195848
  const platform15 = getPlatformString(process.platform);
195829
195849
  const arch3 = getArchitectureString(process.arch);
195830
195850
  if (!platform15 || !arch3) {
@@ -195945,6 +195965,7 @@ var init_ripgrepUtils = __esm({
195945
195965
  __dirname3 = path39.dirname(__filename2);
195946
195966
  __name(getPlatformString, "getPlatformString");
195947
195967
  __name(getArchitectureString, "getArchitectureString");
195968
+ __name(getRipgrepFromPackage, "getRipgrepFromPackage");
195948
195969
  __name(getBuiltinRipgrep, "getBuiltinRipgrep");
195949
195970
  __name(resolveRipgrep, "resolveRipgrep");
195950
195971
  __name(ensureRipgrepHealthy, "ensureRipgrepHealthy");
@@ -309790,7 +309811,7 @@ __name(getPackageJson, "getPackageJson");
309790
309811
  // packages/cli/src/utils/version.ts
309791
309812
  async function getCliVersion() {
309792
309813
  const pkgJson = await getPackageJson();
309793
- return "0.1.28";
309814
+ return "0.1.29";
309794
309815
  }
309795
309816
  __name(getCliVersion, "getCliVersion");
309796
309817
 
@@ -313959,8 +313980,8 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
313959
313980
 
313960
313981
  // packages/cli/src/generated/git-commit.ts
313961
313982
  init_esbuild_shims();
313962
- var GIT_COMMIT_INFO2 = "6f7fcff";
313963
- var CLI_VERSION2 = "0.1.28";
313983
+ var GIT_COMMIT_INFO2 = "481ebbe";
313984
+ var CLI_VERSION2 = "0.1.29";
313964
313985
 
313965
313986
  // packages/cli/src/utils/systemInfo.ts
313966
313987
  async function getNpmVersion() {
@@ -363362,7 +363383,8 @@ ${queuedText}` : queuedText;
363362
363383
  refreshStatic();
363363
363384
  }, [historyManager, clearConsoleMessagesState, refreshStatic]);
363364
363385
  const { handleInput: vimHandleInput } = useVim(buffer, handleFinalSubmit);
363365
- const isInputActive = !initError && !isProcessing && (streamingState === "idle" /* Idle */ || streamingState === "responding" /* Responding */) && !proQuotaRequest;
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;
363366
363388
  const [controlsHeight, setControlsHeight] = (0, import_react139.useState)(0);
363367
363389
  (0, import_react139.useLayoutEffect)(() => {
363368
363390
  if (mainControlsRef.current) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osagent",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
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",
@@ -23,7 +23,10 @@
23
23
  },
24
24
  "type": "module",
25
25
  "workspaces": [
26
- "packages/*"
26
+ "packages/cli",
27
+ "packages/core",
28
+ "packages/test-utils",
29
+ "packages/vscode-ide-companion"
27
30
  ],
28
31
  "repository": {
29
32
  "type": "git",
@@ -140,7 +143,12 @@
140
143
  "@lydell/node-pty-linux-x64": "1.1.0",
141
144
  "@lydell/node-pty-win32-arm64": "1.1.0",
142
145
  "@lydell/node-pty-win32-x64": "1.1.0",
143
- "node-pty": "^1.0.0"
146
+ "node-pty": "^1.0.0",
147
+ "@osagent/ripgrep-darwin-arm64": "0.1.0",
148
+ "@osagent/ripgrep-darwin-x64": "0.1.0",
149
+ "@osagent/ripgrep-linux-arm64": "0.1.0",
150
+ "@osagent/ripgrep-linux-x64": "0.1.0",
151
+ "@osagent/ripgrep-win32-x64": "0.1.0"
144
152
  },
145
153
  "lint-staged": {
146
154
  "*.{js,jsx,ts,tsx}": [
@@ -1,3 +0,0 @@
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
Binary file
Binary file
Binary file