@cofy-x/dsh-console 0.1.0-alpha.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 +177 -0
- package/NOTICE +7 -0
- package/README.md +41 -0
- package/THIRD_PARTY_NOTICES.md +46 -0
- package/bin/dsh-console.js +65 -0
- package/cordis.patch.yml +14 -0
- package/dist/chunk-YNJGTXFJ.js +5837 -0
- package/dist/chunk-Z7RUTXMO.js +25223 -0
- package/dist/dsh/index.d.ts +15 -0
- package/dist/dsh/index.js +13 -0
- package/dist/dsh/startup.d.ts +14 -0
- package/dist/dsh/startup.js +27 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +16 -0
- package/dist/ui/components/layout/resources/pokemon/2.txt +10 -0
- package/dist/ui/components/layout/resources/pokemon/25.txt +10 -0
- package/dist/ui/components/layout/resources/pokemon/4.txt +10 -0
- package/dist/ui/renderers.d.ts +6 -0
- package/dist/ui/renderers.js +11 -0
- package/package.json +182 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 cofy-x
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
7
|
+
import z from '@deepseek-ai/schemastery';
|
|
8
|
+
export declare const name = "dsh-console-runner";
|
|
9
|
+
export declare const inject: string[];
|
|
10
|
+
export interface Config {
|
|
11
|
+
prompt?: string;
|
|
12
|
+
debug?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const Config: z<Config>;
|
|
15
|
+
export declare function apply(ctx: Context, config: Config): void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2026 cofy-x
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
7
|
+
export declare const name = "dsh-console-startup";
|
|
8
|
+
export declare const inject: string[];
|
|
9
|
+
export declare const DSH_CONSOLE_STARTUP_SERVICE = "dshConsoleStartup";
|
|
10
|
+
export interface DshConsoleStartupValues {
|
|
11
|
+
prompt?: string;
|
|
12
|
+
debug: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare function apply(ctx: Context): void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// src/dsh/startup.ts
|
|
2
|
+
import { Command } from "commander";
|
|
3
|
+
import { parseCmdline } from "@deepseek-ai/dsh-cmdline";
|
|
4
|
+
var name = "dsh-console-startup";
|
|
5
|
+
var inject = ["cmdlineArgs"];
|
|
6
|
+
var DSH_CONSOLE_STARTUP_SERVICE = "dshConsoleStartup";
|
|
7
|
+
function apply(ctx) {
|
|
8
|
+
const program = new Command().name("dsh-console").description("Run DeepSeek Harness with the DSH Console terminal frontend.").helpOption("-h, --help", "show this help").option("-d, --debug", "enable DSH Console diagnostics", false).option("-p, --prompt <text>", "submit an initial prompt after startup");
|
|
9
|
+
program.action((options) => {
|
|
10
|
+
ctx.provide(DSH_CONSOLE_STARTUP_SERVICE, {
|
|
11
|
+
...options.prompt === void 0 ? {} : { prompt: options.prompt },
|
|
12
|
+
debug: options.debug
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
parseCmdline(ctx, program);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
DSH_CONSOLE_STARTUP_SERVICE,
|
|
19
|
+
apply,
|
|
20
|
+
inject,
|
|
21
|
+
name
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @license
|
|
25
|
+
* Copyright 2026 cofy-x
|
|
26
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
27
|
+
*/
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;156;58;66m▀[49m[39m[38;2;0;0;0m[48;2;230;99;107m▀[49m[39m[38;2;0;0;0m[48;2;230;99;107m▀[49m[39m[38;2;0;0;0m▄[39m
|
|
2
|
+
[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;189;82;90m[48;2;230;99;107m▀[49m[39m[38;2;230;99;107m[48;2;189;82;90m▀[49m[39m[38;2;156;58;66m[48;2;156;58;66m▀[49m[39m[38;2;230;99;107m[48;2;230;99;107m▀[49m[39m[38;2;230;99;107m[48;2;230;99;107m▀[49m[39m[38;2;0;0;0m[48;2;65;65;65m▀[49m[39m[38;2;0;0;0m▄[39m[38;2;0;0;0m▄[39m[38;2;0;0;0m▄[39m
|
|
3
|
+
[38;2;0;0;0m▄[39m [38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;58;107;58m▀[49m[39m[38;2;0;0;0m[48;2;65;65;65m▀[49m[39m[38;2;189;82;90m[48;2;189;82;90m▀[49m[39m[38;2;230;99;107m[48;2;189;82;90m▀[49m[39m[38;2;156;58;66m[48;2;156;58;66m▀[49m[39m[38;2;230;99;107m[48;2;189;82;90m▀[49m[39m[38;2;230;99;107m[48;2;189;82;90m▀[49m[39m[38;2;189;82;90m[48;2;189;82;90m▀[49m[39m[38;2;189;82;90m[48;2;189;82;90m▀[49m[39m[38;2;65;65;65m[48;2;65;65;65m▀[49m[39m[38;2;82;140;82m[48;2;65;65;65m▀[49m[39m[38;2;82;140;82m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m
|
|
4
|
+
[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;65;65;65m[48;2;107;189;165m▀[49m[39m[38;2;82;140;82m[48;2;65;65;65m▀[49m[39m[38;2;82;140;82m[48;2;65;65;65m▀[49m[39m[38;2;58;107;58m[48;2;82;140;82m▀[49m[39m[38;2;65;65;65m[48;2;82;140;82m▀[49m[39m[38;2;189;82;90m[48;2;65;65;65m▀[49m[39m[38;2;156;58;66m[48;2;189;82;90m▀[49m[39m[38;2;189;82;90m[48;2;189;82;90m▀[49m[39m[38;2;189;82;90m[48;2;65;65;65m▀[49m[39m[38;2;189;82;90m[48;2;65;65;65m▀[49m[39m[38;2;65;65;65m[48;2;58;107;58m▀[49m[39m[38;2;82;140;82m[48;2;58;107;58m▀[49m[39m[38;2;107;173;82m[48;2;58;107;58m▀[49m[39m[38;2;0;0;0m[48;2;107;173;82m▀[49m[39m[38;2;0;0;0m[48;2;107;173;82m▀[49m[39m[38;2;0;0;0m▄[39m
|
|
5
|
+
[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;33;115;99m▀[49m[39m[38;2;66;148;132m[48;2;33;115;99m▀[49m[39m[38;2;65;65;65m[48;2;33;115;99m▀[49m[39m[38;2;65;65;65m[48;2;33;115;99m▀[49m[39m[38;2;65;65;65m[48;2;66;148;132m▀[49m[39m[38;2;65;65;65m[48;2;65;65;65m▀[49m[39m[38;2;65;65;65m[48;2;65;65;65m▀[49m[39m[38;2;107;173;82m[48;2;65;65;65m▀[49m[39m[38;2;58;107;58m[48;2;82;140;82m▀[49m[39m[38;2;107;173;82m[48;2;107;173;82m▀[49m[39m[38;2;107;173;82m[48;2;58;107;58m▀[49m[39m[38;2;58;107;58m[48;2;107;173;82m▀[49m[39m[38;2;58;107;58m[48;2;107;173;82m▀[49m[39m[38;2;58;107;58m[48;2;58;107;58m▀[49m[39m[38;2;0;0;0m[48;2;107;173;82m▀[49m[39m[38;2;0;0;0m▄[39m
|
|
6
|
+
[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;189;82;90m▀[49m[39m[38;2;66;148;132m[48;2;33;115;99m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;33;115;99m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;33;115;99m[48;2;107;189;165m▀[49m[39m[38;2;33;115;99m[48;2;107;189;165m▀[49m[39m[38;2;66;148;132m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;66;148;132m▀[49m[39m[38;2;107;189;165m[48;2;65;65;65m▀[49m[39m[38;2;65;65;65m[48;2;65;65;65m▀[49m[39m[38;2;82;140;82m[48;2;65;65;65m▀[49m[39m[38;2;58;107;58m[48;2;65;65;65m▀[49m[39m[38;2;82;140;82m[48;2;65;65;65m▀[49m[39m[38;2;58;107;58m[48;2;58;107;58m▀[49m[39m[38;2;107;173;82m[48;2;82;140;82m▀[49m[39m[38;2;58;107;58m[48;2;82;140;82m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m
|
|
7
|
+
[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;189;82;90m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;33;115;99m▀[49m[39m[38;2;66;148;132m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;65;65;65m▀[49m[39m[38;2;107;189;165m[48;2;0;0;0m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;66;148;132m[48;2;107;189;165m▀[49m[39m[38;2;65;65;65m[48;2;66;148;132m▀[49m[39m[38;2;65;65;65m[48;2;66;148;132m▀[49m[39m[38;2;66;148;132m[48;2;66;148;132m▀[49m[39m[38;2;66;148;132m[48;2;65;65;65m▀[49m[39m[38;2;66;148;132m[48;2;66;148;132m▀[49m[39m[38;2;66;148;132m[48;2;33;115;99m▀[49m[39m[38;2;65;65;65m[48;2;33;115;99m▀[49m[39m[38;2;65;65;65m[48;2;66;148;132m▀[49m[39m[38;2;65;65;65m[48;2;66;148;132m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m
|
|
8
|
+
[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;107;189;165m[48;2;66;148;132m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;107;189;165m▀[49m[39m[38;2;107;189;165m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m[48;2;230;99;107m▀[49m[39m[38;2;0;0;0m[48;2;230;99;107m▀[49m[39m[38;2;255;255;255m[48;2;255;255;255m▀[49m[39m[38;2;107;189;165m[48;2;66;148;132m▀[49m[39m[38;2;66;148;132m[48;2;66;148;132m▀[49m[39m[38;2;66;148;132m[48;2;66;148;132m▀[49m[39m[38;2;33;115;99m[48;2;33;115;99m▀[49m[39m[38;2;33;115;99m[48;2;33;115;99m▀[49m[39m[38;2;66;148;132m[48;2;66;148;132m▀[49m[39m[38;2;65;65;65m[48;2;0;0;0m▀[49m[39m[38;2;66;148;132m[48;2;189;189;189m▀[49m[39m[38;2;66;148;132m[48;2;66;148;132m▀[49m[39m[38;2;66;148;132m[48;2;189;189;189m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m
|
|
9
|
+
[38;2;0;0;0m▀[39m[38;2;0;0;0m▀[39m[38;2;66;148;132m[48;2;0;0;0m▀[49m[39m[38;2;66;148;132m[48;2;0;0;0m▀[49m[39m[38;2;66;148;132m[48;2;65;65;65m▀[49m[39m[38;2;66;148;132m[48;2;189;189;189m▀[49m[39m[38;2;66;148;132m[48;2;0;0;0m▀[49m[39m[38;2;66;148;132m[48;2;0;0;0m▀[49m[39m[38;2;65;65;65m[48;2;66;148;132m▀[49m[39m[38;2;66;148;132m[48;2;66;148;132m▀[49m[39m[38;2;66;148;132m[48;2;66;148;132m▀[49m[39m[38;2;66;148;132m[48;2;66;148;132m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m [38;2;0;0;0m▀[39m[38;2;0;0;0m▀[39m[38;2;0;0;0m▀[39m
|
|
10
|
+
[38;2;0;0;0m▀[39m[38;2;0;0;0m▀[39m [38;2;0;0;0m▀[39m[38;2;255;255;255m[48;2;0;0;0m▀[49m[39m[38;2;66;148;132m[48;2;0;0;0m▀[49m[39m[38;2;255;255;255m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;65;65;65m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m [38;2;0;0;0m▄[39m[38;2;0;0;0m▄[39m
|
|
2
|
+
[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;197;164;41m▀[49m[39m[38;2;65;65;65m[48;2;197;164;41m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m [38;2;0;0;0m▄[39m[38;2;0;0;0m▄[39m[38;2;0;0;0m▄[39m[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;0;0;0m[48;2;197;164;41m▀[49m[39m[38;2;0;0;0m▄[39m
|
|
3
|
+
[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;156;131;65m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m [38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;246;213;49m▀[49m[39m[38;2;0;0;0m[48;2;246;213;49m▀[49m[39m[38;2;65;65;65m[48;2;65;65;65m▀[49m[39m[38;2;65;65;65m[48;2;65;65;65m▀[49m[39m[38;2;65;65;65m[48;2;197;164;41m▀[49m[39m[38;2;246;213;49m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m
|
|
4
|
+
[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;246;213;49m▀[49m[39m[38;2;197;164;41m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;0;0;0m[48;2;246;213;49m▀[49m[39m[38;2;0;0;0m[48;2;156;131;65m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;65;65;65m▀[49m[39m[38;2;65;65;65m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m
|
|
5
|
+
[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;255;255;255m▀[49m[39m[38;2;246;213;49m[48;2;0;0;0m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;156;131;65m[48;2;246;213;49m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m[38;2;197;164;41m[48;2;0;0;0m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;0;0;0m[48;2;197;164;41m▀[49m[39m[38;2;0;0;0m▄[39m
|
|
6
|
+
[38;2;0;0;0m▀[39m[38;2;246;213;49m[48;2;0;0;0m▀[49m[39m[38;2;156;131;65m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;0;0;0m[48;2;246;213;49m▀[49m[39m[38;2;65;65;65m[48;2;246;98;82m▀[49m[39m[38;2;246;213;49m[48;2;246;98;82m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;0;0;0m[48;2;246;213;49m▀[49m[39m[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m
|
|
7
|
+
[38;2;0;0;0m▀[39m[38;2;189;148;32m[48;2;0;0;0m▀[49m[39m[38;2;65;65;65m[48;2;0;0;0m▀[49m[39m[38;2;197;164;41m[48;2;0;0;0m▀[49m[39m[38;2;246;213;49m[48;2;197;164;41m▀[49m[39m[38;2;246;213;49m[48;2;197;164;41m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;98;82m[48;2;246;213;49m▀[49m[39m[38;2;246;98;82m[48;2;65;65;65m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;180;115;41m[48;2;246;213;49m▀[49m[39m[38;2;65;65;65m[48;2;246;213;49m▀[49m[39m[38;2;164;106;49m[48;2;65;65;65m▀[49m[39m[38;2;0;0;0m[48;2;164;106;49m▀[49m[39m[38;2;0;0;0m▄[39m
|
|
8
|
+
[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;197;164;41m[48;2;197;164;41m▀[49m[39m[38;2;65;65;65m[48;2;197;164;41m▀[49m[39m[38;2;246;213;49m[48;2;65;65;65m▀[49m[39m[38;2;246;213;49m[48;2;65;65;65m▀[49m[39m[38;2;65;65;65m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;180;115;41m[48;2;246;213;49m▀[49m[39m[38;2;65;65;65m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m
|
|
9
|
+
[38;2;0;0;0m▀[39m[38;2;197;164;41m[48;2;0;0;0m▀[49m[39m[38;2;197;164;41m[48;2;0;0;0m▀[49m[39m[38;2;246;213;49m[48;2;0;0;0m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;246;213;49m[48;2;246;213;49m▀[49m[39m[38;2;65;65;65m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m
|
|
10
|
+
[38;2;0;0;0m▀[39m[38;2;0;0;0m▀[39m[38;2;246;213;49m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[38;2;0;0;0m▄[39m[38;2;0;0;0m▄[39m[38;2;0;0;0m▄[39m [38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;214;99;66m▀[49m[39m[38;2;0;0;0m▄[39m
|
|
2
|
+
[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;247;148;41m▀[49m[39m[38;2;0;0;0m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;214;99;66m[48;2;247;148;41m▀[49m[39m[38;2;0;0;0m[48;2;214;99;66m▀[49m[39m[38;2;0;0;0m▄[39m [38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m
|
|
3
|
+
[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;214;99;66m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;0;0;0m[48;2;214;99;66m▀[49m[39m[38;2;0;0;0m▄[39m [38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;247;247;41m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m
|
|
4
|
+
[38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;214;99;66m[48;2;173;82;66m▀[49m[39m[38;2;255;255;255m[48;2;25;99;99m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;214;99;66m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m [38;2;0;0;0m▀[39m[38;2;214;99;66m[48;2;0;0;0m▀[49m[39m[38;2;247;247;41m[48;2;247;247;41m▀[49m[39m[38;2;247;247;41m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m
|
|
5
|
+
[38;2;0;0;0m▀[39m[38;2;247;148;41m[48;2;0;0;0m▀[49m[39m[38;2;247;148;41m[48;2;214;99;66m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;0;0;0m[48;2;214;99;66m▀[49m[39m[38;2;0;0;0m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;0;0;0m[48;2;214;99;66m▀[49m[39m[38;2;0;0;0m▄[39m [38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;214;99;66m[48;2;247;148;41m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m
|
|
6
|
+
[38;2;0;0;0m▀[39m[38;2;0;0;0m▀[39m[38;2;214;99;66m[48;2;0;0;0m▀[49m[39m[38;2;214;99;66m[48;2;0;0;0m▀[49m[39m[38;2;214;99;66m[48;2;222;189;132m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;65;65;65m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;0;0;0m[48;2;214;99;66m▀[49m[39m[38;2;0;0;0m▄[39m [38;2;0;0;0m▄[39m[38;2;0;0;0m[48;2;214;99;66m▀[49m[39m[38;2;247;148;41m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m
|
|
7
|
+
[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;247;230;156m[48;2;247;230;156m▀[49m[39m[38;2;247;230;156m[48;2;247;230;156m▀[49m[39m[38;2;65;65;65m[48;2;65;65;65m▀[49m[39m[38;2;173;82;66m[48;2;247;148;41m▀[49m[39m[38;2;247;148;41m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;65;65;65m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;0;0;0m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;65;65;65m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m
|
|
8
|
+
[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m[38;2;173;82;66m[48;2;189;189;189m▀[49m[39m[38;2;173;82;66m[48;2;173;82;66m▀[49m[39m[38;2;247;230;156m[48;2;65;65;65m▀[49m[39m[38;2;247;230;156m[48;2;222;189;132m▀[49m[39m[38;2;65;65;65m[48;2;222;189;132m▀[49m[39m[38;2;65;65;65m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;214;99;66m▀[49m[39m[38;2;214;99;66m[48;2;173;82;66m▀[49m[39m[38;2;65;65;65m[48;2;0;0;0m▀[49m[39m[38;2;0;0;0m▀[39m
|
|
9
|
+
[38;2;0;0;0m▀[39m[38;2;0;0;0m▀[39m[38;2;0;0;0m▀[39m[38;2;0;0;0m▀[39m[38;2;65;65;65m[48;2;0;0;0m▀[49m[39m[38;2;173;82;66m[48;2;255;255;255m▀[49m[39m[38;2;214;99;66m[48;2;173;82;66m▀[49m[39m[38;2;173;82;66m[48;2;255;255;255m▀[49m[39m[38;2;0;0;0m[48;2;0;0;0m▀[49m[39m
|
|
10
|
+
[38;2;0;0;0m▀[39m[38;2;0;0;0m▀[39m[38;2;0;0;0m▀[39m
|
package/package.json
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cofy-x/dsh-console",
|
|
3
|
+
"version": "0.1.0-alpha.0",
|
|
4
|
+
"description": "A TypeScript and React/Ink terminal frontend for DeepSeek Harness.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/cofy-x/dsh-console.git"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"main": "dist/index.js",
|
|
11
|
+
"bin": {
|
|
12
|
+
"dsh-console": "bin/dsh-console.js"
|
|
13
|
+
},
|
|
14
|
+
"exports": {
|
|
15
|
+
".": "./dist/index.js",
|
|
16
|
+
"./dsh": {
|
|
17
|
+
"types": "./dist/dsh/index.d.ts",
|
|
18
|
+
"default": "./dist/dsh/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./dsh/startup": {
|
|
21
|
+
"types": "./dist/dsh/startup.d.ts",
|
|
22
|
+
"default": "./dist/dsh/startup.js"
|
|
23
|
+
},
|
|
24
|
+
"./renderers": {
|
|
25
|
+
"types": "./dist/ui/renderers.d.ts",
|
|
26
|
+
"default": "./dist/ui/renderers.js"
|
|
27
|
+
},
|
|
28
|
+
"./package.json": "./package.json"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "node ../../scripts/build_package.js",
|
|
32
|
+
"prepack": "pnpm run build",
|
|
33
|
+
"start": "node dist/index.js",
|
|
34
|
+
"debug": "node --inspect-brk dist/index.js",
|
|
35
|
+
"lint": "eslint . --ext .ts,.tsx",
|
|
36
|
+
"format": "prettier --write .",
|
|
37
|
+
"test": "vitest run",
|
|
38
|
+
"test:ci": "vitest run --coverage",
|
|
39
|
+
"typecheck": "tsc --noEmit",
|
|
40
|
+
"example": "tsx --tsconfig examples/tsconfig.run.json",
|
|
41
|
+
"example:debug": "TSX_TSCONFIG_PATH=examples/tsconfig.run.json node --inspect-brk --import tsx/esm",
|
|
42
|
+
"link": "pnpm run build && pnpm link --global",
|
|
43
|
+
"unlink": "pnpm unlink --global @cofy-x/dsh-console"
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"README.md",
|
|
47
|
+
"LICENSE",
|
|
48
|
+
"NOTICE",
|
|
49
|
+
"THIRD_PARTY_NOTICES.md",
|
|
50
|
+
"bin",
|
|
51
|
+
"dist",
|
|
52
|
+
"!dist/.last_build",
|
|
53
|
+
"cordis.patch.yml"
|
|
54
|
+
],
|
|
55
|
+
"dsh": {
|
|
56
|
+
"bundle": {
|
|
57
|
+
"patch": "./cordis.patch.yml"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@deepseek-ai/dsh-cmdline": "0.1.1-rc.2",
|
|
62
|
+
"@deepseek-ai/schemastery": "3.18.1",
|
|
63
|
+
"@xterm/headless": "^5.5.0",
|
|
64
|
+
"ansi-escapes": "^7.2.0",
|
|
65
|
+
"ansi-regex": "^6.2.2",
|
|
66
|
+
"chalk": "^5.6.2",
|
|
67
|
+
"chardet": "^2.1.1",
|
|
68
|
+
"clipboardy": "^5.0.2",
|
|
69
|
+
"commander": "^14.0.3",
|
|
70
|
+
"comment-json": "^4.5.0",
|
|
71
|
+
"diff": "^8.0.3",
|
|
72
|
+
"dotenv": "^17.2.3",
|
|
73
|
+
"fdir": "^6.5.0",
|
|
74
|
+
"fzf": "^0.5.2",
|
|
75
|
+
"ignore": "^7.0.5",
|
|
76
|
+
"ink": "npm:@jrichman/ink@6.4.8",
|
|
77
|
+
"ink-gradient": "^3.0.0",
|
|
78
|
+
"ink-spinner": "^5.0.0",
|
|
79
|
+
"lowlight": "^3.3.0",
|
|
80
|
+
"mnemonist": "^0.40.3",
|
|
81
|
+
"picomatch": "^4.0.3",
|
|
82
|
+
"react": "^19.2.8",
|
|
83
|
+
"string-width": "^8.1.0",
|
|
84
|
+
"strip-ansi": "^7.1.2",
|
|
85
|
+
"strip-json-comments": "^5.0.3",
|
|
86
|
+
"tinygradient": "^2.0.1",
|
|
87
|
+
"undici": "^7.16.0",
|
|
88
|
+
"yargs": "^18.0.0",
|
|
89
|
+
"zod": "^3.25.76"
|
|
90
|
+
},
|
|
91
|
+
"devDependencies": {
|
|
92
|
+
"@cofy-x/dsh-console-test-utils": "workspace:*",
|
|
93
|
+
"@deepseek-ai/cordis": "4.0.1",
|
|
94
|
+
"@deepseek-ai/cordis-plugin-loader": "1.0.2",
|
|
95
|
+
"@deepseek-ai/dsh-agent": "0.1.1-rc.2",
|
|
96
|
+
"@deepseek-ai/dsh-agent-default-model": "0.1.1-rc.2",
|
|
97
|
+
"@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
|
|
98
|
+
"@deepseek-ai/dsh-llm": "0.1.1-rc.2",
|
|
99
|
+
"@deepseek-ai/dsh-permission-presets": "0.1.1-rc.2",
|
|
100
|
+
"@deepseek-ai/dsh-session": "0.1.1-rc.2",
|
|
101
|
+
"@deepseek-ai/dsh-session-projection": "0.1.1-rc.2",
|
|
102
|
+
"@deepseek-ai/dsh-session-query": "0.1.1-rc.2",
|
|
103
|
+
"@deepseek-ai/dsh-tools": "0.1.1-rc.2",
|
|
104
|
+
"@deepseek-ai/dsh-user-approval": "0.1.1-rc.2",
|
|
105
|
+
"@deepseek-ai/dsh-user-questions": "0.1.1-rc.2",
|
|
106
|
+
"@deepseek-ai/dsh-commands": "0.1.1-rc.2",
|
|
107
|
+
"@types/hast": "^3.0.4",
|
|
108
|
+
"@types/react": "^19.2.18",
|
|
109
|
+
"@types/react-dom": "^19.2.0",
|
|
110
|
+
"@types/yargs": "^17.0.34",
|
|
111
|
+
"esbuild": "0.27.0",
|
|
112
|
+
"ink-testing-library": "^4.0.0"
|
|
113
|
+
},
|
|
114
|
+
"engines": {
|
|
115
|
+
"node": ">=24.0.0"
|
|
116
|
+
},
|
|
117
|
+
"peerDependencies": {
|
|
118
|
+
"@deepseek-ai/cordis": ">=4.0.1-rc.1 <5.0.0",
|
|
119
|
+
"@deepseek-ai/cordis-plugin-loader": ">=1.0.2 <2.0.0",
|
|
120
|
+
"@deepseek-ai/dsh-agent": ">=0.1.0-rc.3 <0.2.0",
|
|
121
|
+
"@deepseek-ai/dsh-agent-default-model": ">=0.1.0-rc.3 <0.2.0",
|
|
122
|
+
"@deepseek-ai/dsh-attachment": ">=0.1.0-rc.3 <0.2.0",
|
|
123
|
+
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.3 <0.2.0",
|
|
124
|
+
"@deepseek-ai/dsh-permission-presets": ">=0.1.0-rc.3 <0.2.0",
|
|
125
|
+
"@deepseek-ai/dsh-session": ">=0.1.0-rc.3 <0.2.0",
|
|
126
|
+
"@deepseek-ai/dsh-session-projection": ">=0.1.0-rc.3 <0.2.0",
|
|
127
|
+
"@deepseek-ai/dsh-session-query": ">=0.1.0-rc.3 <0.2.0",
|
|
128
|
+
"@deepseek-ai/dsh-tools": ">=0.1.0-rc.3 <0.2.0",
|
|
129
|
+
"@deepseek-ai/dsh-user-approval": ">=0.1.0-rc.3 <0.2.0",
|
|
130
|
+
"@deepseek-ai/dsh-user-questions": ">=0.1.0-rc.3 <0.2.0",
|
|
131
|
+
"@deepseek-ai/dsh-commands": ">=0.1.0-rc.3 <0.2.0"
|
|
132
|
+
},
|
|
133
|
+
"peerDependenciesMeta": {
|
|
134
|
+
"@deepseek-ai/cordis": {
|
|
135
|
+
"optional": true
|
|
136
|
+
},
|
|
137
|
+
"@deepseek-ai/cordis-plugin-loader": {
|
|
138
|
+
"optional": true
|
|
139
|
+
},
|
|
140
|
+
"@deepseek-ai/dsh-agent": {
|
|
141
|
+
"optional": true
|
|
142
|
+
},
|
|
143
|
+
"@deepseek-ai/dsh-agent-default-model": {
|
|
144
|
+
"optional": true
|
|
145
|
+
},
|
|
146
|
+
"@deepseek-ai/dsh-attachment": {
|
|
147
|
+
"optional": true
|
|
148
|
+
},
|
|
149
|
+
"@deepseek-ai/dsh-llm": {
|
|
150
|
+
"optional": true
|
|
151
|
+
},
|
|
152
|
+
"@deepseek-ai/dsh-permission-presets": {
|
|
153
|
+
"optional": true
|
|
154
|
+
},
|
|
155
|
+
"@deepseek-ai/dsh-session": {
|
|
156
|
+
"optional": true
|
|
157
|
+
},
|
|
158
|
+
"@deepseek-ai/dsh-session-projection": {
|
|
159
|
+
"optional": true
|
|
160
|
+
},
|
|
161
|
+
"@deepseek-ai/dsh-session-query": {
|
|
162
|
+
"optional": true
|
|
163
|
+
},
|
|
164
|
+
"@deepseek-ai/dsh-tools": {
|
|
165
|
+
"optional": true
|
|
166
|
+
},
|
|
167
|
+
"@deepseek-ai/dsh-user-approval": {
|
|
168
|
+
"optional": true
|
|
169
|
+
},
|
|
170
|
+
"@deepseek-ai/dsh-user-questions": {
|
|
171
|
+
"optional": true
|
|
172
|
+
},
|
|
173
|
+
"@deepseek-ai/dsh-commands": {
|
|
174
|
+
"optional": true
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"license": "Apache-2.0",
|
|
178
|
+
"publishConfig": {
|
|
179
|
+
"access": "public",
|
|
180
|
+
"tag": "alpha"
|
|
181
|
+
}
|
|
182
|
+
}
|