@codex-ultra/cxu 0.2.21 → 0.2.23

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.
@@ -518,7 +518,11 @@ export declare function sliceAndFilterOutput(rawStdout: string, options: {
518
518
  max_tokens?: number;
519
519
  max_token?: number;
520
520
  }): string;
521
- export declare function nativeRunHost(rawInput: SaVmRunInput, _policy: SaVmPolicyConfig | undefined, cwd: string, startedAt: number): Promise<SaVmRunResult>;
521
+ export declare function checkGitSafety(args: string[]): {
522
+ allowed: boolean;
523
+ reason?: string;
524
+ };
525
+ export declare function nativeRunHost(rawInput: SaVmRunInput, policy: SaVmPolicyConfig | undefined, cwd: string, startedAt: number): Promise<SaVmRunResult>;
522
526
  export declare function nativeWriteStdin(rawInput: SaVmRunInput, _cwd: string, startedAt: number): SaVmRunResult;
523
527
  export declare function nativeSessionStatus(rawInput: SaVmRunInput, _cwd: string, startedAt: number): SaVmRunResult;
524
528
  export declare function nativeKillSession(rawInput: SaVmRunInput, _cwd: string, startedAt: number): SaVmRunResult;
package/package.json CHANGED
@@ -1,68 +1,68 @@
1
- {
2
- "name": "@codex-ultra/cxu",
3
- "version": "0.2.21",
4
- "description": "codex-ultra workbench launcher: server compiled locally with Bun + web UI (cxu starts it all).",
5
- "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js"
12
- }
13
- },
14
- "bin": {
15
- "cxu": "dist/cli.js"
16
- },
17
- "files": [
18
- "dist",
19
- "wasm",
20
- "web-dist",
21
- "server-bundle",
22
- "README.md",
23
- "LICENSE"
24
- ],
25
- "scripts": {
26
- "vendor": "node scripts/vendor-sa-vm.mjs",
27
- "build": "node scripts/build.mjs",
28
- "build:bun": "bun scripts/build.mjs",
29
- "obfuscate": "node scripts/obfuscate.mjs",
30
- "typecheck": "tsc -p tsconfig.json --noEmit",
31
- "postinstall": "node dist/postinstall.js",
32
- "prepack": "npm run build && npm run obfuscate",
33
- "test": "bun test test/ 2>/dev/null || node --test test/*.test.mjs"
34
- },
35
- "publishConfig": {
36
- "access": "public"
37
- },
38
- "dependencies": {
39
- "tree-sitter-wasms": "^0.1.13",
40
- "web-tree-sitter": "0.25.10"
41
- },
42
- "devDependencies": {
43
- "esbuild": "^0.25.12",
44
- "javascript-obfuscator": "^5.5.0",
45
- "typescript": "^5.9.3"
46
- },
47
- "engines": {
48
- "node": ">=18"
49
- },
50
- "license": "MIT",
51
- "homepage": "https://github.com/layola13/codex-ultra#readme",
52
- "bugs": {
53
- "url": "https://github.com/layola13/codex-ultra/issues"
54
- },
55
- "repository": {
56
- "type": "git",
57
- "url": "git+https://github.com/layola13/codex-ultra.git",
58
- "directory": "packages/cxu"
59
- },
60
- "keywords": [
61
- "codex",
62
- "vm-tools",
63
- "ast",
64
- "tree-sitter",
65
- "typescript",
66
- "cross-platform"
67
- ]
68
- }
1
+ {
2
+ "name": "@codex-ultra/cxu",
3
+ "version": "0.2.23",
4
+ "description": "codex-ultra workbench launcher: server compiled locally with Bun + web UI (cxu starts it all).",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ }
13
+ },
14
+ "bin": {
15
+ "cxu": "dist/cli.js"
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "wasm",
20
+ "web-dist",
21
+ "server-bundle",
22
+ "README.md",
23
+ "LICENSE"
24
+ ],
25
+ "scripts": {
26
+ "vendor": "node scripts/vendor-sa-vm.mjs",
27
+ "build": "node scripts/build.mjs",
28
+ "build:bun": "bun scripts/build.mjs",
29
+ "obfuscate": "node scripts/obfuscate.mjs",
30
+ "typecheck": "tsc -p tsconfig.json --noEmit",
31
+ "postinstall": "node dist/postinstall.js",
32
+ "prepack": "npm run build && npm run obfuscate",
33
+ "test": "bun test test/ 2>/dev/null || node --test test/*.test.mjs"
34
+ },
35
+ "publishConfig": {
36
+ "access": "public"
37
+ },
38
+ "dependencies": {
39
+ "tree-sitter-wasms": "^0.1.13",
40
+ "web-tree-sitter": "0.25.10"
41
+ },
42
+ "devDependencies": {
43
+ "esbuild": "^0.25.12",
44
+ "javascript-obfuscator": "^5.5.0",
45
+ "typescript": "^5.9.3"
46
+ },
47
+ "engines": {
48
+ "node": ">=18"
49
+ },
50
+ "license": "MIT",
51
+ "homepage": "https://github.com/layola13/codex-ultra#readme",
52
+ "bugs": {
53
+ "url": "https://github.com/layola13/codex-ultra/issues"
54
+ },
55
+ "repository": {
56
+ "type": "git",
57
+ "url": "git+https://github.com/layola13/codex-ultra.git",
58
+ "directory": "packages/cxu"
59
+ },
60
+ "keywords": [
61
+ "codex",
62
+ "vm-tools",
63
+ "ast",
64
+ "tree-sitter",
65
+ "typescript",
66
+ "cross-platform"
67
+ ]
68
+ }