@chatcode/chatcode-cli 3.0.4-rc.2 → 3.0.4-rc.4
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.i18n.yaml +2 -2
- package/README.md +2 -0
- package/README.zh.md +2 -0
- package/lib/{command-errors-CScdshCl.js → command-errors-BJ_ZWzUU.js} +12 -12
- package/lib/{command-trees-Dc17MYfV.js → command-trees-C9b7-bci.js} +2 -2
- package/lib/{component-identity-DFJD_d-P.js → component-identity-Jb1DYjke.js} +3 -3
- package/lib/{extension-events-qXmhzmHo.js → extension-events-DKX4LXOd.js} +20 -20
- package/lib/{host-access-B0CRAwsX.js → host-access-CMg6rsWt.js} +1 -1
- package/lib/{keymap-CIoVICBI.js → keymap-CrC4pSNH.js} +2 -2
- package/lib/{plugin-BKQsL2xn.js → plugin-CmyMCGfb.js} +350 -339
- package/lib/{scenes-BRf-zMpF.js → scenes-Cil9RnwU.js} +3 -3
- package/lib/{settings-sections-4gMhveN_.js → settings-sections-jVCqXwdH.js} +3 -3
- package/lib/{statusBarSettings-CnmdSHkO.js → statusBarSettings-DNoBH3Cq.js} +3 -3
- package/lib/{themes-Ce97Zsri.js → themes-BdgeY3It.js} +12 -12
- package/lib/tui-compat-command-trees.js +1 -1
- package/lib/tui-compat-extensions.js +3 -3
- package/lib/tui-compat-plugin-host.js +5 -5
- package/lib/tui-compat-scenes.js +1 -1
- package/lib/tui-compat-settings-sections.js +1 -1
- package/lib/tui-compat-working-activity.js +1 -1
- package/lib/tui-compat-workspaces.js +1 -1
- package/lib/tui-compat.js +5 -5
- package/lib/{workspaces-1xrm-e3V.js → workspaces-DOatJRYr.js} +2 -2
- package/package.json +28 -28
- package/runtime/manifest.json +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +2 -1
- package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/index.js +271 -51
- package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/types/index.d.ts +19 -7
- package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/types/linux-lock.d.ts +19 -0
- package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/types/linux-native.d.ts +12 -0
- package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/types/windows-lock.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/package.json +4 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -3
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/adapter.d.ts +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/config.d.ts +3 -3
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/types/config.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/types/config.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +1 -1
- package/scripts/launch.mjs +8 -0
|
@@ -14,7 +14,7 @@ export declare const Config: z<Schemastery.ObjectS<NoInfer<{
|
|
|
14
14
|
apiKeyEnv: z<string, string, "volatile-defined">;
|
|
15
15
|
baseURL: z<string, string, "volatile">;
|
|
16
16
|
thinking: z<"enabled" | "disabled", "enabled" | "disabled", "volatile">;
|
|
17
|
-
reasoningEffort: z<"
|
|
17
|
+
reasoningEffort: z<"low" | "off" | "high" | "max", "low" | "off" | "high" | "max", "volatile">;
|
|
18
18
|
maxTokens: z<number, number, "volatile-defined">;
|
|
19
19
|
defaultContextWindow: z<number, number, "volatile-defined">;
|
|
20
20
|
models: z<NoInfer<import("@deepseek-ai/dsh-llm-deepseek").DeepSeekCatalogModel[]>, NoInfer<import("@deepseek-ai/dsh-llm-deepseek").DeepSeekCatalogModel[]>, "volatile-defined">;
|
|
@@ -34,7 +34,7 @@ export declare const Config: z<Schemastery.ObjectS<NoInfer<{
|
|
|
34
34
|
apiKeyEnv: z<string, string, "volatile-defined">;
|
|
35
35
|
baseURL: z<string, string, "volatile">;
|
|
36
36
|
thinking: z<"enabled" | "disabled", "enabled" | "disabled", "volatile">;
|
|
37
|
-
reasoningEffort: z<"
|
|
37
|
+
reasoningEffort: z<"low" | "off" | "high" | "max", "low" | "off" | "high" | "max", "volatile">;
|
|
38
38
|
maxTokens: z<number, number, "volatile-defined">;
|
|
39
39
|
defaultContextWindow: z<number, number, "volatile-defined">;
|
|
40
40
|
models: z<NoInfer<import("@deepseek-ai/dsh-llm-deepseek").DeepSeekCatalogModel[]>, NoInfer<import("@deepseek-ai/dsh-llm-deepseek").DeepSeekCatalogModel[]>, "volatile-defined">;
|
|
@@ -4741,7 +4741,7 @@ export const TYPE_API = [
|
|
|
4741
4741
|
},
|
|
4742
4742
|
{
|
|
4743
4743
|
name: 'CommandInputDescriptor',
|
|
4744
|
-
declaration: 'export interface CommandInputDescriptor {\n readonly hint: string;\n readonly attachments?: boolean;\n}',
|
|
4744
|
+
declaration: 'export interface CommandInputDescriptor {\n readonly hint: string;\n readonly suggestions?: readonly {\n readonly value: string;\n readonly description: string;\n }[];\n readonly attachments?: boolean;\n}',
|
|
4745
4745
|
},
|
|
4746
4746
|
{
|
|
4747
4747
|
name: 'CommandInvocation',
|
package/scripts/launch.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { readFileSync } from 'node:fs'
|
|
4
|
+
import { enableCompileCache } from 'node:module'
|
|
4
5
|
import { dirname, join, resolve } from 'node:path'
|
|
5
6
|
import { fileURLToPath, pathToFileURL } from 'node:url'
|
|
6
7
|
import { registerEmbeddedRuntime } from './register-embedded-runtime.mjs'
|
|
@@ -8,6 +9,13 @@ import { registerEmbeddedRuntime } from './register-embedded-runtime.mjs'
|
|
|
8
9
|
const packageDir = resolve(dirname(fileURLToPath(import.meta.url)), '..')
|
|
9
10
|
const manifest = JSON.parse(readFileSync(join(packageDir, 'package.json'), 'utf8'))
|
|
10
11
|
|
|
12
|
+
// Cache the installed module graph before its first import. Node owns cache
|
|
13
|
+
// permissions, NODE_COMPILE_CACHE and NODE_DISABLE_COMPILE_CACHE handling.
|
|
14
|
+
try { enableCompileCache() } catch (error) {
|
|
15
|
+
// A restricted filesystem must not prevent launching without the optional cache.
|
|
16
|
+
void error
|
|
17
|
+
}
|
|
18
|
+
|
|
11
19
|
// Register before loading the CLI's static imports. Global installations may
|
|
12
20
|
// belong to root; launching must not rewrite their dependency directories.
|
|
13
21
|
if (!manifest.dependencies?.['@deepseek-ai/dsh-app-boot']?.startsWith('workspace:')) {
|