@unity-china/codely-cli 1.0.0-rc.6 → 1.0.0-rc.60

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.
Files changed (40) hide show
  1. package/README.md +34 -0
  2. package/bundle/builtin/codely-guide/SKILL.md +77 -0
  3. package/bundle/builtin/codely-guide/references/app.md +125 -0
  4. package/bundle/builtin/skill-creator/scripts/package_skill.cjs +1 -3
  5. package/bundle/builtin/tuanjie-cli/SKILL.md +145 -0
  6. package/bundle/builtin/tuanjie-cli/references/commands.md +138 -0
  7. package/bundle/builtin-agents/explore.toml +62 -0
  8. package/bundle/builtin-agents/general-purpose.toml +34 -0
  9. package/bundle/builtin-agents/plan.toml +69 -0
  10. package/bundle/builtin-agents/unity-insight.toml +102 -0
  11. package/bundle/example-prompts/analyze.toml +3 -3
  12. package/bundle/gemini.js +3752 -6224
  13. package/bundle/gemini.js.LEGAL.txt +352 -105
  14. package/bundle/gemini.nologgers.js.LEGAL.txt +607 -0
  15. package/bundle/gemini.nosentry.js.LEGAL.txt +607 -0
  16. package/bundle/loop-detection-policies/default.toml +112 -0
  17. package/bundle/node_modules/@silvia-odwyer/photon-node/LICENSE.md +201 -0
  18. package/bundle/node_modules/@silvia-odwyer/photon-node/README.md +158 -0
  19. package/bundle/node_modules/@silvia-odwyer/photon-node/package.json +23 -0
  20. package/bundle/node_modules/@silvia-odwyer/photon-node/photon_rs.d.ts +3226 -0
  21. package/bundle/node_modules/@silvia-odwyer/photon-node/photon_rs.js +4521 -0
  22. package/bundle/node_modules/@silvia-odwyer/photon-node/photon_rs_bg.js +4270 -0
  23. package/bundle/node_modules/@silvia-odwyer/photon-node/photon_rs_bg.wasm +0 -0
  24. package/bundle/node_modules/tree-sitter-bash/package.json +60 -0
  25. package/bundle/node_modules/tree-sitter-bash/tree-sitter-bash.wasm +0 -0
  26. package/bundle/node_modules/web-tree-sitter/package.json +98 -0
  27. package/bundle/node_modules/web-tree-sitter/tree-sitter.wasm +0 -0
  28. package/bundle/policies/plan.toml +30 -29
  29. package/bundle/policies/read-only.toml +0 -10
  30. package/bundle/policies/write.toml +0 -5
  31. package/bundle/sandbox-macos-permissive-closed.sb +1 -1
  32. package/bundle/sandbox-macos-permissive-open.sb +1 -1
  33. package/bundle/sandbox-macos-permissive-proxied.sb +2 -2
  34. package/bundle/sandbox-macos-restrictive-closed.sb +1 -1
  35. package/bundle/sandbox-macos-restrictive-open.sb +1 -1
  36. package/bundle/sandbox-macos-restrictive-proxied.sb +2 -2
  37. package/bundle/web-ui/dist/public/app.css +63 -0
  38. package/bundle/web-ui/dist/public/app.js +48 -48
  39. package/package.json +12 -11
  40. package/bundle/tiktoken_bg.wasm +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unity-china/codely-cli",
3
- "version": "1.0.0-rc.6",
3
+ "version": "1.0.0-rc.60",
4
4
  "engines": {
5
5
  "node": ">=20.0.0"
6
6
  },
@@ -24,6 +24,7 @@
24
24
  "build:sandbox": "node scripts/build_sandbox.js --skip-npm-install-build",
25
25
  "bundle": "npm run generate && node esbuild.config.js && node scripts/copy_bundle_assets.js",
26
26
  "build:single-exe": "node scripts/build_single_exe_bun.js",
27
+ "build:single-exe:sea": "node scripts/build_single_exe_sea.js",
27
28
  "sign": "node scripts/sign-app.js",
28
29
  "sign:check": "node scripts/sign-app.js --check",
29
30
  "measure:startup": "node scripts/measure_startup.js",
@@ -33,12 +34,12 @@
33
34
  "test:bundle-smoke": "npm run bundle && vitest run --config ./scripts/tests/vitest.config.ts -- scripts/tests/bundle-smoke.test.js",
34
35
  "test:e2e": "cross-env VERBOSE=true KEEP_OUTPUT=true npm run test:integration:sandbox:none",
35
36
  "test:integration:all": "npm run test:integration:sandbox:none && npm run test:integration:sandbox:docker && npm run test:integration:sandbox:podman",
36
- "test:integration:sandbox:none": "cross-env GEMINI_SANDBOX=false vitest run --root ./integration-tests",
37
- "test:integration:sandbox:docker": "npm run build:sandbox && cross-env GEMINI_SANDBOX=docker vitest run --root ./integration-tests",
38
- "test:integration:sandbox:podman": "cross-env GEMINI_SANDBOX=podman vitest run --root ./integration-tests",
39
- "lint": "eslint . --ext .ts,.tsx --ignore-pattern qwen-code --ignore-pattern gemini-cli --ignore-pattern opencode && eslint integration-tests",
40
- "lint:fix": "eslint . --fix --ignore-pattern qwen-code --ignore-pattern gemini-cli --ignore-pattern opencode && eslint integration-tests --fix",
41
- "lint:ci": "eslint . --ext .ts,.tsx --max-warnings 0 --ignore-pattern qwen-code --ignore-pattern gemini-cli --ignore-pattern opencode && eslint integration-tests --max-warnings 0",
37
+ "test:integration:sandbox:none": "cross-env CODELY_SANDBOX=false vitest run --root ./integration-tests",
38
+ "test:integration:sandbox:docker": "npm run build:sandbox && cross-env CODELY_SANDBOX=docker vitest run --root ./integration-tests",
39
+ "test:integration:sandbox:podman": "cross-env CODELY_SANDBOX=podman vitest run --root ./integration-tests",
40
+ "lint": "eslint --ext .ts,.tsx packages",
41
+ "lint:fix": "eslint --ext .ts,.tsx --fix packages",
42
+ "lint:ci": "eslint --ext .ts,.tsx --max-warnings 0 packages",
42
43
  "format": "prettier --experimental-cli --ignore-path .gitignore --write .",
43
44
  "typecheck": "npm run typecheck --workspaces --if-present",
44
45
  "preflight": "npm run clean && npm ci && npm run format && npm run lint:ci && npm run build && npm run typecheck && npm run test:ci",
@@ -46,7 +47,8 @@
46
47
  "prepare:package": "node scripts/prepare-package.js",
47
48
  "release:version": "node scripts/version.js",
48
49
  "telemetry": "node scripts/telemetry.js",
49
- "verify-external-platforms": "node scripts/verify-external-platforms-disabled.js",
50
+ "export:system-prompt": "node scripts/export-system-prompt.mjs",
51
+ "export:system-prompt:unity": "node scripts/export-system-prompt.mjs --with-unity",
50
52
  "clean": "node scripts/clean.js",
51
53
  "install-cli": "npm install -g ./packages/cli",
52
54
  "pack": "node scripts/ensure-dist.js && npm run build && npm pack --pack-destination ./dist",
@@ -88,8 +90,8 @@
88
90
  "concurrently": "^9.2.0",
89
91
  "cross-env": "^7.0.3",
90
92
  "esbuild": "^0.25.0",
93
+ "esbuild-plugin-wasm": "^1.1.0",
91
94
  "eslint": "^9.24.0",
92
- "postject": "^1.0.0-alpha.6",
93
95
  "eslint-config-prettier": "^10.1.2",
94
96
  "eslint-plugin-import": "^2.31.0",
95
97
  "eslint-plugin-license-header": "^0.8.0",
@@ -101,9 +103,9 @@
101
103
  "json": "^11.0.0",
102
104
  "lodash": "^4.17.21",
103
105
  "memfs": "^4.17.2",
104
- "mnemonist": "^0.40.3",
105
106
  "mock-fs": "^5.5.0",
106
107
  "msw": "^2.10.4",
108
+ "postject": "^1.0.0-alpha.6",
107
109
  "prettier": "^3.5.3",
108
110
  "rcedit": "^4.0.1",
109
111
  "react-devtools-core": "^6.1.2",
@@ -115,7 +117,6 @@
115
117
  },
116
118
  "dependencies": {
117
119
  "extract-zip": "^2.0.1",
118
- "gpt-tokenizer": "^3.0.1",
119
120
  "node-fetch": "^3.3.2",
120
121
  "simple-git": "^3.28.0",
121
122
  "tar": "^7.5.1"
Binary file