osagent 0.1.48 → 0.1.49
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 +1 -0
- package/{cli.js → dist/cli.js} +3070 -1912
- 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/package.json
CHANGED
|
@@ -1,30 +1,142 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "osagent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.49",
|
|
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.49"
|
|
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
|
}
|