osagent 0.1.66 → 0.1.67
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/README.md +30 -0
- package/{cli.js → dist/cli.js} +5 -5
- package/package.json +139 -16
- package/locales/en.js +0 -1129
- package/locales/zh.js +0 -1052
- /package/{sandbox-macos-permissive-closed.sb → dist/sandbox-macos-permissive-closed.sb} +0 -0
- /package/{sandbox-macos-permissive-open.sb → dist/sandbox-macos-permissive-open.sb} +0 -0
- /package/{sandbox-macos-permissive-proxied.sb → dist/sandbox-macos-permissive-proxied.sb} +0 -0
- /package/{sandbox-macos-restrictive-closed.sb → dist/sandbox-macos-restrictive-closed.sb} +0 -0
- /package/{sandbox-macos-restrictive-open.sb → dist/sandbox-macos-restrictive-open.sb} +0 -0
- /package/{sandbox-macos-restrictive-proxied.sb → dist/sandbox-macos-restrictive-proxied.sb} +0 -0
- /package/{vendor → dist/vendor}/ripgrep/COPYING +0 -0
- /package/{vendor → dist/vendor}/ripgrep/arm64-darwin/rg +0 -0
- /package/{vendor → dist/vendor}/ripgrep/arm64-linux/rg +0 -0
- /package/{vendor → dist/vendor}/ripgrep/x64-darwin/rg +0 -0
- /package/{vendor → dist/vendor}/ripgrep/x64-linux/rg +0 -0
- /package/{vendor → dist/vendor}/ripgrep/x64-win32/rg.exe +0 -0
package/README.md
CHANGED
|
@@ -320,6 +320,36 @@ packages/
|
|
|
320
320
|
- `Ctrl+U` - Delete to start of line
|
|
321
321
|
- `Shift+Enter` - Insert newline
|
|
322
322
|
|
|
323
|
+
## Recent Updates
|
|
324
|
+
|
|
325
|
+
### v0.1.66 - Focus Management
|
|
326
|
+
- New `useFocusedKeypress` hook for enforced focus management
|
|
327
|
+
- Prevents keypress conflicts between dialogs and main UI
|
|
328
|
+
- Required `isFocused` parameter catches bugs at compile time
|
|
329
|
+
|
|
330
|
+
### v0.1.65 - Input Routing Fix
|
|
331
|
+
- Fixed keyboard input routing issues with selectors
|
|
332
|
+
- Arrow keys and Enter now properly isolated to focused component
|
|
333
|
+
- No more keypress "leakage" between dialogs
|
|
334
|
+
|
|
335
|
+
### v0.1.64 - UI Improvements
|
|
336
|
+
- Tree-view style tool display with `├─` `└─` connectors
|
|
337
|
+
- Expandable results with `Ctrl+O`
|
|
338
|
+
- Token counts and duration stats
|
|
339
|
+
- Sleeker ASCII art header
|
|
340
|
+
- Minimal init banner
|
|
341
|
+
|
|
342
|
+
### v0.1.63 - Stability Fix
|
|
343
|
+
- Fixed infinite loop on startup (Maximum update depth exceeded)
|
|
344
|
+
- Improved React effect dependency management
|
|
345
|
+
|
|
346
|
+
### v0.1.59 - Terminal Stability
|
|
347
|
+
- Fixed EIO error crash on stdin
|
|
348
|
+
- Graceful handling of TTY disconnects
|
|
349
|
+
- Stable arrow key navigation in selectors
|
|
350
|
+
|
|
351
|
+
See [KNOWN_ISSUES.md](docs/KNOWN_ISSUES.md) for detailed issue tracking.
|
|
352
|
+
|
|
323
353
|
## License
|
|
324
354
|
|
|
325
355
|
Apache-2.0
|
package/{cli.js → dist/cli.js}
RENAMED
|
@@ -146557,7 +146557,7 @@ function createContentGeneratorConfig(config2, authType, generationConfig) {
|
|
|
146557
146557
|
};
|
|
146558
146558
|
}
|
|
146559
146559
|
async function createContentGenerator(config2, gcConfig, sessionId2, isInitialAuth) {
|
|
146560
|
-
const version3 = "0.1.
|
|
146560
|
+
const version3 = "0.1.67";
|
|
146561
146561
|
const userAgent2 = `OSAgent/${version3} (${process.platform}; ${process.arch})`;
|
|
146562
146562
|
const baseHeaders = {
|
|
146563
146563
|
"User-Agent": userAgent2
|
|
@@ -335686,7 +335686,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
335686
335686
|
// packages/cli/src/utils/version.ts
|
|
335687
335687
|
async function getCliVersion() {
|
|
335688
335688
|
const pkgJson = await getPackageJson();
|
|
335689
|
-
return "0.1.
|
|
335689
|
+
return "0.1.67";
|
|
335690
335690
|
}
|
|
335691
335691
|
__name(getCliVersion, "getCliVersion");
|
|
335692
335692
|
|
|
@@ -339855,8 +339855,8 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
339855
339855
|
|
|
339856
339856
|
// packages/cli/src/generated/git-commit.ts
|
|
339857
339857
|
init_esbuild_shims();
|
|
339858
|
-
var GIT_COMMIT_INFO2 = "
|
|
339859
|
-
var CLI_VERSION2 = "0.1.
|
|
339858
|
+
var GIT_COMMIT_INFO2 = "b2aa14f";
|
|
339859
|
+
var CLI_VERSION2 = "0.1.67";
|
|
339860
339860
|
|
|
339861
339861
|
// packages/cli/src/utils/systemInfo.ts
|
|
339862
339862
|
async function getNpmVersion() {
|
|
@@ -346707,7 +346707,7 @@ var viewCommand = {
|
|
|
346707
346707
|
{ name: "qwen2.5-coder:7b", context: "128K", description: "Qwen2.5 Coder 7B (Ollama Local)" },
|
|
346708
346708
|
{ name: "deepseek-coder-v2", context: "128K", description: "DeepSeek Coder V2" },
|
|
346709
346709
|
{ name: "codellama:34b", context: "16K", description: "Code Llama 34B" },
|
|
346710
|
-
{ name: "
|
|
346710
|
+
{ name: "llama-3.3-70b", context: "128K", description: "Llama 3.3 70B (via OpenRouter)" },
|
|
346711
346711
|
{ name: "gpt-4o", context: "128K", description: "GPT-4o (via OpenAI)" }
|
|
346712
346712
|
];
|
|
346713
346713
|
const currentModel = context2.services.config?.getModel() || "unknown";
|
package/package.json
CHANGED
|
@@ -1,30 +1,142 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "osagent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.67",
|
|
4
4
|
"description": "OS Agent - AI-powered CLI for autonomous coding with Ollama Cloud and Qwen models",
|
|
5
|
+
"author": "Roberto Luna",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"ai",
|
|
9
|
+
"cli",
|
|
10
|
+
"agent",
|
|
11
|
+
"ollama",
|
|
12
|
+
"qwen",
|
|
13
|
+
"coding",
|
|
14
|
+
"terminal",
|
|
15
|
+
"autonomous"
|
|
16
|
+
],
|
|
17
|
+
"homepage": "https://github.com/robertohluna/osagent#readme",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/robertohluna/osagent/issues"
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=20.0.0"
|
|
23
|
+
},
|
|
24
|
+
"type": "module",
|
|
25
|
+
"workspaces": [
|
|
26
|
+
"packages/cli",
|
|
27
|
+
"packages/core",
|
|
28
|
+
"packages/test-utils",
|
|
29
|
+
"packages/vscode-ide-companion"
|
|
30
|
+
],
|
|
5
31
|
"repository": {
|
|
6
32
|
"type": "git",
|
|
7
33
|
"url": "git+https://github.com/robertohluna/osagent.git"
|
|
8
34
|
},
|
|
9
|
-
"
|
|
10
|
-
|
|
35
|
+
"config": {
|
|
36
|
+
"sandboxImageUri": "ghcr.io/osagent/osagent:0.1.57"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"start": "cross-env node scripts/start.js",
|
|
40
|
+
"debug": "cross-env DEBUG=1 node --inspect-brk scripts/start.js",
|
|
41
|
+
"auth:npm": "npx OSAgent-artifactregistry-auth",
|
|
42
|
+
"auth:docker": "gcloud auth configure-docker us-west1-docker.pkg.dev",
|
|
43
|
+
"auth": "npm run auth:npm && npm run auth:docker",
|
|
44
|
+
"generate": "node scripts/generate-git-commit-info.js",
|
|
45
|
+
"build": "node scripts/build.js",
|
|
46
|
+
"build-and-start": "npm run build && npm run start",
|
|
47
|
+
"build:vscode": "node scripts/build_vscode_companion.js",
|
|
48
|
+
"build:all": "npm run build && npm run build:sandbox && npm run build:vscode",
|
|
49
|
+
"build:packages": "npm run build --workspaces",
|
|
50
|
+
"build:sandbox": "node scripts/build_sandbox.js",
|
|
51
|
+
"bundle": "npm run generate && node esbuild.config.js && node scripts/copy_bundle_assets.js",
|
|
52
|
+
"test": "npm run test --workspaces --if-present --parallel",
|
|
53
|
+
"test:ci": "npm run test:ci --workspaces --if-present --parallel && npm run test:scripts",
|
|
54
|
+
"test:scripts": "vitest run --config ./scripts/tests/vitest.config.ts",
|
|
55
|
+
"test:e2e": "cross-env VERBOSE=true KEEP_OUTPUT=true npm run test:integration:sandbox:none",
|
|
56
|
+
"test:integration:all": "npm run test:integration:sandbox:none && npm run test:integration:sandbox:docker && npm run test:integration:sandbox:podman",
|
|
57
|
+
"test:integration:sandbox:none": "cross-env OSA_SANDBOX=false vitest run --root ./integration-tests",
|
|
58
|
+
"test:integration:sandbox:docker": "cross-env OSA_SANDBOX=docker npm run build:sandbox && OSA_SANDBOX=docker vitest run --root ./integration-tests",
|
|
59
|
+
"test:integration:sandbox:podman": "cross-env OSA_SANDBOX=podman vitest run --root ./integration-tests",
|
|
60
|
+
"test:terminal-bench": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests",
|
|
61
|
+
"test:terminal-bench:oracle": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests -t 'oracle'",
|
|
62
|
+
"test:terminal-bench:OSA": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests -t 'OSA'",
|
|
63
|
+
"lint": "eslint . --ext .ts,.tsx && eslint integration-tests",
|
|
64
|
+
"lint:fix": "eslint . --fix && eslint integration-tests --fix",
|
|
65
|
+
"lint:ci": "eslint . --ext .ts,.tsx --max-warnings 0 && eslint integration-tests --max-warnings 0",
|
|
66
|
+
"lint:all": "node scripts/lint.js",
|
|
67
|
+
"format": "prettier --experimental-cli --write .",
|
|
68
|
+
"typecheck": "npm run typecheck --workspaces --if-present",
|
|
69
|
+
"check-i18n": "npm run check-i18n --workspace=packages/cli",
|
|
70
|
+
"preflight": "npm run clean && npm ci && npm run format && npm run lint:ci && npm run build && npm run typecheck && npm run test:ci",
|
|
71
|
+
"prepare": "husky && npm run bundle",
|
|
72
|
+
"prepare:package": "node scripts/prepare-package.js",
|
|
73
|
+
"prepublishOnly": "npm run bundle && npm run prepare:package",
|
|
74
|
+
"publish:npm": "cd dist && npm publish --access public",
|
|
75
|
+
"release:version": "node scripts/version.js",
|
|
76
|
+
"telemetry": "node scripts/telemetry.js",
|
|
77
|
+
"check:lockfile": "node scripts/check-lockfile.js",
|
|
78
|
+
"clean": "node scripts/clean.js",
|
|
79
|
+
"pre-commit": "node scripts/pre-commit.js"
|
|
80
|
+
},
|
|
81
|
+
"overrides": {
|
|
82
|
+
"wrap-ansi": "9.0.2",
|
|
83
|
+
"ansi-regex": "5.0.1",
|
|
84
|
+
"cliui": {
|
|
85
|
+
"wrap-ansi": "7.0.0"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
11
88
|
"bin": {
|
|
12
|
-
"osagent": "cli.js"
|
|
89
|
+
"osagent": "dist/cli.js"
|
|
13
90
|
},
|
|
14
91
|
"files": [
|
|
15
|
-
"
|
|
16
|
-
"vendor",
|
|
17
|
-
"*.sb",
|
|
92
|
+
"dist/",
|
|
18
93
|
"README.md",
|
|
19
|
-
"LICENSE"
|
|
20
|
-
"locales"
|
|
94
|
+
"LICENSE"
|
|
21
95
|
],
|
|
22
|
-
"
|
|
23
|
-
"
|
|
96
|
+
"devDependencies": {
|
|
97
|
+
"@types/marked": "^5.0.2",
|
|
98
|
+
"@types/mime-types": "^3.0.1",
|
|
99
|
+
"@types/minimatch": "^5.1.2",
|
|
100
|
+
"@types/mock-fs": "^4.13.4",
|
|
101
|
+
"@types/qrcode-terminal": "^0.12.2",
|
|
102
|
+
"@types/shell-quote": "^1.7.5",
|
|
103
|
+
"@types/uuid": "^10.0.0",
|
|
104
|
+
"@vitest/coverage-v8": "^3.1.1",
|
|
105
|
+
"@vitest/eslint-plugin": "^1.3.4",
|
|
106
|
+
"cross-env": "^7.0.3",
|
|
107
|
+
"esbuild": "^0.25.0",
|
|
108
|
+
"eslint": "^9.24.0",
|
|
109
|
+
"eslint-config-prettier": "^10.1.2",
|
|
110
|
+
"eslint-plugin-import": "^2.31.0",
|
|
111
|
+
"eslint-plugin-license-header": "^0.8.0",
|
|
112
|
+
"eslint-plugin-react": "^7.37.5",
|
|
113
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
114
|
+
"glob": "^10.4.5",
|
|
115
|
+
"globals": "^16.0.0",
|
|
116
|
+
"google-artifactregistry-auth": "^3.4.0",
|
|
117
|
+
"husky": "^9.1.7",
|
|
118
|
+
"json": "^11.0.0",
|
|
119
|
+
"lint-staged": "^16.1.6",
|
|
120
|
+
"memfs": "^4.42.0",
|
|
121
|
+
"mnemonist": "^0.40.3",
|
|
122
|
+
"mock-fs": "^5.5.0",
|
|
123
|
+
"msw": "^2.10.4",
|
|
124
|
+
"npm-run-all": "^4.1.5",
|
|
125
|
+
"prettier": "^3.5.3",
|
|
126
|
+
"react-devtools-core": "^4.28.5",
|
|
127
|
+
"semver": "^7.7.2",
|
|
128
|
+
"strip-ansi": "^7.1.2",
|
|
129
|
+
"tsx": "^4.20.3",
|
|
130
|
+
"typescript-eslint": "^8.30.1",
|
|
131
|
+
"vitest": "^3.2.4",
|
|
132
|
+
"yargs": "^17.7.2"
|
|
24
133
|
},
|
|
25
134
|
"dependencies": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
135
|
+
"osagent-core": "file:packages/core",
|
|
136
|
+
"@testing-library/dom": "^10.4.1",
|
|
137
|
+
"punycode": "^2.3.1",
|
|
138
|
+
"simple-git": "^3.28.0",
|
|
139
|
+
"tiktoken": "^1.0.21"
|
|
28
140
|
},
|
|
29
141
|
"optionalDependencies": {
|
|
30
142
|
"@lydell/node-pty": "1.1.0",
|
|
@@ -33,9 +145,20 @@
|
|
|
33
145
|
"@lydell/node-pty-linux-x64": "1.1.0",
|
|
34
146
|
"@lydell/node-pty-win32-arm64": "1.1.0",
|
|
35
147
|
"@lydell/node-pty-win32-x64": "1.1.0",
|
|
36
|
-
"node-pty": "^1.0.0"
|
|
148
|
+
"node-pty": "^1.0.0",
|
|
149
|
+
"@osagent/ripgrep-darwin-arm64": "0.1.0",
|
|
150
|
+
"@osagent/ripgrep-darwin-x64": "0.1.0",
|
|
151
|
+
"@osagent/ripgrep-linux-arm64": "0.1.0",
|
|
152
|
+
"@osagent/ripgrep-linux-x64": "0.1.0",
|
|
153
|
+
"@osagent/ripgrep-win32-x64": "0.1.0"
|
|
37
154
|
},
|
|
38
|
-
"
|
|
39
|
-
"
|
|
155
|
+
"lint-staged": {
|
|
156
|
+
"*.{js,jsx,ts,tsx}": [
|
|
157
|
+
"prettier --write",
|
|
158
|
+
"eslint --fix --max-warnings 0"
|
|
159
|
+
],
|
|
160
|
+
"*.{json,md}": [
|
|
161
|
+
"prettier --write"
|
|
162
|
+
]
|
|
40
163
|
}
|
|
41
164
|
}
|