easycode-ai 1.1.0
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/LICENSE +202 -0
- package/README.md +1344 -0
- package/bundle/assets/help/cli-help-knowledge.md +1971 -0
- package/bundle/assets/sounds/confirmation-required.wav +0 -0
- package/bundle/assets/sounds/response-complete.wav +0 -0
- package/bundle/assets/sounds/selection-made.wav +0 -0
- package/bundle/dvcode.js +14 -0
- package/bundle/easycode.js +7450 -0
- package/bundle/fix-binary-permissions.js +215 -0
- package/bundle/login/templates/authSelectPage.html +1123 -0
- package/bundle/login/templates/deepv.ico +0 -0
- package/bundle/login/templates/feishu.ico +0 -0
- package/bundle/node_modules/@vscode/ripgrep/bin/darwin-arm64-rg +0 -0
- package/bundle/node_modules/@vscode/ripgrep/bin/darwin-x64-rg +0 -0
- package/bundle/node_modules/@vscode/ripgrep/bin/linux-arm-rg +0 -0
- package/bundle/node_modules/@vscode/ripgrep/bin/linux-arm64-rg +0 -0
- package/bundle/node_modules/@vscode/ripgrep/bin/linux-x64-rg +0 -0
- package/bundle/node_modules/@vscode/ripgrep/bin/rg.exe +0 -0
- package/bundle/node_modules/@vscode/ripgrep/bin/win32-arm64-rg.exe +0 -0
- package/bundle/node_modules/@vscode/ripgrep/bin/win32-ia32-rg.exe +0 -0
- package/bundle/node_modules/@vscode/ripgrep/bin/win32-x64-rg.exe +0 -0
- package/bundle/node_modules/@vscode/ripgrep/lib/download.js +357 -0
- package/bundle/node_modules/@vscode/ripgrep/lib/index.d.ts +1 -0
- package/bundle/node_modules/@vscode/ripgrep/lib/index.js +42 -0
- package/bundle/node_modules/@vscode/ripgrep/lib/postinstall.js +121 -0
- package/bundle/node_modules/@vscode/ripgrep/package.json +24 -0
- package/bundle/sandbox-macos-permissive-closed.sb +26 -0
- package/bundle/sandbox-macos-permissive-open.sb +19 -0
- package/bundle/sandbox-macos-permissive-proxied.sb +31 -0
- package/bundle/sandbox-macos-restrictive-closed.sb +87 -0
- package/bundle/sandbox-macos-restrictive-open.sb +90 -0
- package/bundle/sandbox-macos-restrictive-proxied.sb +92 -0
- package/package.json +156 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bundle/dvcode.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'module'; const require = createRequire(import.meta.url); globalThis.__filename = require('url').fileURLToPath(import.meta.url); globalThis.__dirname = require('path').dirname(globalThis.__filename);
|
|
3
|
+
import{spawnSync as s}from"node:child_process";import r from"node:os";function n(){try{let e=r.platform()==="win32"?"where":"which";return s(e,["easycode"],{shell:!0}).status===0}catch{return!1}}function l(){let e=process.argv.slice(2);if(!n()){console.log(`
|
|
4
|
+
\x1B[36m\u{1F680} DeepV Code \u5DF2\u5168\u9762\u54C1\u724C\u5347\u7EA7\u4E3A EasyCode\uFF01\x1B[0m`),console.log(`\x1B[33m\u6B63\u5728\u4E3A\u60A8\u81EA\u52A8\u914D\u7F6E\u5E76\u5168\u5C40\u5B89\u88C5\u5168\u65B0\u7684 easycode \u6838\u5FC3\u7A0B\u5E8F\uFF0C\u8BF7\u7A0D\u5019...\x1B[0m
|
|
5
|
+
`);try{if(s("npm",["install","-g","easycode"],{stdio:"inherit",shell:!0}).status===0)console.log(`
|
|
6
|
+
\x1B[32m\u2705 EasyCode \u5168\u5C40\u6838\u5FC3\u5B89\u88C5\u6210\u529F\uFF01\u6B63\u5728\u542F\u52A8...\x1B[0m
|
|
7
|
+
`);else throw new Error("npm install exited with non-zero code")}catch{console.error(`
|
|
8
|
+
\x1B[31m\u274C \u81EA\u52A8\u5B89\u88C5 easycode \u5931\u8D25\uFF0C\u901A\u5E38\u7531\u4E8E\u7CFB\u7EDF\u6743\u9650\u9650\u5236\u3002\x1B[0m`),console.error("\x1B[33m\u8BF7\u624B\u52A8\u5728\u7EC8\u7AEF\u8FD0\u884C\u4EE5\u4E0B\u547D\u4EE4\u5B8C\u6210\u5B89\u88C5\uFF1A\x1B[0m"),console.error(`\x1B[36m npm install -g easycode\x1B[0m
|
|
9
|
+
`),process.exit(1)}}let o=s("easycode",e,{stdio:"inherit",shell:!0});process.exit(o.status??0)}l();
|
|
10
|
+
/**
|
|
11
|
+
* @license
|
|
12
|
+
* Copyright 2026 Google LLC
|
|
13
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
14
|
+
*/
|