@galaxy-stack/blackhole-cli 2.4.0 → 3.0.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/README.md +78 -47
- package/dist/application.d.ts.map +1 -1
- package/dist/application.js +13 -2
- package/dist/application.js.map +1 -1
- package/dist/cli-meta.d.ts +8 -0
- package/dist/cli-meta.d.ts.map +1 -1
- package/dist/cli-meta.js +11 -0
- package/dist/cli-meta.js.map +1 -1
- package/dist/cli.js +26 -9
- package/dist/cli.js.map +1 -1
- package/dist/config-command.d.ts +11 -14
- package/dist/config-command.d.ts.map +1 -1
- package/dist/config-command.js +41 -118
- package/dist/config-command.js.map +1 -1
- package/dist/doctor.d.ts +8 -2
- package/dist/doctor.d.ts.map +1 -1
- package/dist/doctor.js +11 -15
- package/dist/doctor.js.map +1 -1
- package/dist/file-index.d.ts +50 -0
- package/dist/file-index.d.ts.map +1 -1
- package/dist/file-index.js +124 -0
- package/dist/file-index.js.map +1 -1
- package/dist/harness/boot.d.ts +87 -0
- package/dist/harness/boot.d.ts.map +1 -0
- package/dist/harness/boot.js +111 -0
- package/dist/harness/boot.js.map +1 -0
- package/dist/harness/catalogs.d.ts +50 -0
- package/dist/harness/catalogs.d.ts.map +1 -0
- package/dist/harness/catalogs.js +34 -0
- package/dist/harness/catalogs.js.map +1 -0
- package/dist/harness/chat.d.ts +90 -0
- package/dist/harness/chat.d.ts.map +1 -0
- package/dist/harness/chat.js +260 -0
- package/dist/harness/chat.js.map +1 -0
- package/dist/harness/client.d.ts +72 -0
- package/dist/harness/client.d.ts.map +1 -0
- package/dist/harness/client.js +173 -0
- package/dist/harness/client.js.map +1 -0
- package/dist/harness/command.d.ts +22 -0
- package/dist/harness/command.d.ts.map +1 -0
- package/dist/harness/command.js +142 -0
- package/dist/harness/command.js.map +1 -0
- package/dist/harness/composer.d.ts +46 -0
- package/dist/harness/composer.d.ts.map +1 -0
- package/dist/harness/composer.js +127 -0
- package/dist/harness/composer.js.map +1 -0
- package/dist/harness/conversation.d.ts +75 -0
- package/dist/harness/conversation.d.ts.map +1 -0
- package/dist/harness/conversation.js +196 -0
- package/dist/harness/conversation.js.map +1 -0
- package/dist/harness/help.d.ts +56 -0
- package/dist/harness/help.d.ts.map +1 -0
- package/dist/harness/help.js +85 -0
- package/dist/harness/help.js.map +1 -0
- package/dist/harness/history.d.ts +108 -0
- package/dist/harness/history.d.ts.map +1 -0
- package/dist/harness/history.js +268 -0
- package/dist/harness/history.js.map +1 -0
- package/dist/harness/labels.d.ts +164 -0
- package/dist/harness/labels.d.ts.map +1 -0
- package/dist/harness/labels.js +271 -0
- package/dist/harness/labels.js.map +1 -0
- package/dist/harness/locate.d.ts +24 -0
- package/dist/harness/locate.d.ts.map +1 -0
- package/dist/harness/locate.js +69 -0
- package/dist/harness/locate.js.map +1 -0
- package/dist/harness/menus.d.ts +74 -0
- package/dist/harness/menus.d.ts.map +1 -0
- package/dist/harness/menus.js +140 -0
- package/dist/harness/menus.js.map +1 -0
- package/dist/harness/model-name.d.ts +73 -0
- package/dist/harness/model-name.d.ts.map +1 -0
- package/dist/harness/model-name.js +101 -0
- package/dist/harness/model-name.js.map +1 -0
- package/dist/harness/parts.d.ts +239 -0
- package/dist/harness/parts.d.ts.map +1 -0
- package/dist/harness/parts.js +266 -0
- package/dist/harness/parts.js.map +1 -0
- package/dist/harness/preset.d.ts +124 -0
- package/dist/harness/preset.d.ts.map +1 -0
- package/dist/harness/preset.js +197 -0
- package/dist/harness/preset.js.map +1 -0
- package/dist/harness/process.d.ts +55 -0
- package/dist/harness/process.d.ts.map +1 -0
- package/dist/harness/process.js +119 -0
- package/dist/harness/process.js.map +1 -0
- package/dist/harness/screen.d.ts +33 -0
- package/dist/harness/screen.d.ts.map +1 -0
- package/dist/harness/screen.js +1070 -0
- package/dist/harness/screen.js.map +1 -0
- package/dist/harness/sessions.d.ts +55 -0
- package/dist/harness/sessions.d.ts.map +1 -0
- package/dist/harness/sessions.js +92 -0
- package/dist/harness/sessions.js.map +1 -0
- package/dist/harness/skills.d.ts +90 -0
- package/dist/harness/skills.d.ts.map +1 -0
- package/dist/harness/skills.js +133 -0
- package/dist/harness/skills.js.map +1 -0
- package/dist/harness/slash-palette.d.ts +32 -0
- package/dist/harness/slash-palette.d.ts.map +1 -0
- package/dist/harness/slash-palette.js +48 -0
- package/dist/harness/slash-palette.js.map +1 -0
- package/dist/harness/slash.d.ts +113 -0
- package/dist/harness/slash.d.ts.map +1 -0
- package/dist/harness/slash.js +187 -0
- package/dist/harness/slash.js.map +1 -0
- package/dist/harness/trajectory.d.ts +74 -0
- package/dist/harness/trajectory.d.ts.map +1 -0
- package/dist/harness/trajectory.js +270 -0
- package/dist/harness/trajectory.js.map +1 -0
- package/dist/harness/tui.d.ts +28 -0
- package/dist/harness/tui.d.ts.map +1 -0
- package/dist/harness/tui.js +143 -0
- package/dist/harness/tui.js.map +1 -0
- package/dist/manual-config.d.ts +23 -10
- package/dist/manual-config.d.ts.map +1 -1
- package/dist/manual-config.js +45 -37
- package/dist/manual-config.js.map +1 -1
- package/dist/migrate.d.ts +32 -0
- package/dist/migrate.d.ts.map +1 -0
- package/dist/migrate.js +155 -0
- package/dist/migrate.js.map +1 -0
- package/dist/options.d.ts +5 -1
- package/dist/options.d.ts.map +1 -1
- package/dist/options.js +23 -4
- package/dist/options.js.map +1 -1
- package/dist/setup.d.ts +14 -10
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +25 -92
- package/dist/setup.js.map +1 -1
- package/dist/timeline.d.ts.map +1 -1
- package/dist/timeline.js +11 -0
- package/dist/timeline.js.map +1 -1
- package/dist/web/command.d.ts +5 -1
- package/dist/web/command.d.ts.map +1 -1
- package/dist/web/command.js +22 -6
- package/dist/web/command.js.map +1 -1
- package/dist/web/credentials.d.ts +7 -5
- package/dist/web/credentials.d.ts.map +1 -1
- package/dist/web/credentials.js +13 -48
- package/dist/web/credentials.js.map +1 -1
- package/dist/web/doctor.d.ts +1 -1
- package/dist/web/doctor.d.ts.map +1 -1
- package/dist/web/doctor.js +42 -64
- package/dist/web/doctor.js.map +1 -1
- package/dist/web/options.d.ts +26 -2
- package/dist/web/options.d.ts.map +1 -1
- package/dist/web/options.js +54 -18
- package/dist/web/options.js.map +1 -1
- package/dist/web/paths.d.ts +1 -1
- package/dist/web/paths.d.ts.map +1 -1
- package/dist/web/paths.js +2 -2
- package/dist/web/paths.js.map +1 -1
- package/dist/web/web.d.ts +38 -16
- package/dist/web/web.d.ts.map +1 -1
- package/dist/web/web.js +166 -168
- package/dist/web/web.js.map +1 -1
- package/package.json +4 -3
- package/web/brand/lib/client.js +4 -4
- package/web/patches/gbh-ui.patch.yml +6 -24
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The names a person reads for one model route.
|
|
3
|
+
*
|
|
4
|
+
* The harness names both halves of a route: `session/modelCatalog` groups carry the
|
|
5
|
+
* provider's display name and every model carries its own. The wire ids behind them
|
|
6
|
+
* (`auto`, `deepseek-v4.1-flash`) are plumbing, so every surface that prints a route
|
|
7
|
+
* — the ledger's "Model ·" row, the session panel, the composer chip, the status row —
|
|
8
|
+
* goes through this module. A route the host does not describe keeps its ids: naming
|
|
9
|
+
* someone else's model is not this terminal's call.
|
|
10
|
+
*/
|
|
11
|
+
import type { ModelCatalogLike } from "./catalogs.js";
|
|
12
|
+
/** The provider id every Galaxy-managed route resolves to. */
|
|
13
|
+
export declare const MANAGED_PROVIDER_ID = "auto";
|
|
14
|
+
/** The one model id behind the managed route today. */
|
|
15
|
+
export declare const MANAGED_MODEL_ID = "deepseek-v4.1-flash";
|
|
16
|
+
/** The brand the managed route reads as. */
|
|
17
|
+
export declare const MANAGED_PROVIDER_NAME = "Galaxy Blackhole";
|
|
18
|
+
/** The managed model's own word: it is the router's automatic choice, not a model name. */
|
|
19
|
+
export declare const MANAGED_MODEL_NAME = "Auto";
|
|
20
|
+
/** Everything this module knows about naming routes. */
|
|
21
|
+
export interface ModelNames {
|
|
22
|
+
/** provider id → the provider's display name. */
|
|
23
|
+
readonly providers: Readonly<Record<string, string>>;
|
|
24
|
+
/** `provider/model` → the model's display name. */
|
|
25
|
+
readonly models: Readonly<Record<string, string>>;
|
|
26
|
+
}
|
|
27
|
+
/** One route a catalog or the composer's flattened list carries. */
|
|
28
|
+
export interface NamedRoute {
|
|
29
|
+
readonly provider: string;
|
|
30
|
+
readonly model: string;
|
|
31
|
+
/** The model's display name. */
|
|
32
|
+
readonly name?: string;
|
|
33
|
+
/** The provider group's display name, as `flattenModels` carries it. */
|
|
34
|
+
readonly hint?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Build the name table from the host's catalog.
|
|
38
|
+
* @param catalog - `session.modelCatalog` as the host answered it.
|
|
39
|
+
* @returns provider and model display names, with the managed route always named.
|
|
40
|
+
*/
|
|
41
|
+
export declare function modelNames(catalog?: ModelCatalogLike): ModelNames;
|
|
42
|
+
/**
|
|
43
|
+
* The same table from the composer's flattened rows.
|
|
44
|
+
* @param routes - `flattenModels` output, or nothing while the catalog loads.
|
|
45
|
+
* @returns provider and model display names.
|
|
46
|
+
*/
|
|
47
|
+
export declare function modelNamesOf(routes?: readonly NamedRoute[]): ModelNames;
|
|
48
|
+
/** The table this module falls back to: the managed route, nothing else. */
|
|
49
|
+
export declare const DEFAULT_MODEL_NAMES: ModelNames;
|
|
50
|
+
/**
|
|
51
|
+
* The provider's own name.
|
|
52
|
+
* @param provider - the provider id the harness reported.
|
|
53
|
+
* @param names - the catalog's table.
|
|
54
|
+
* @returns the display name, or the id when nothing names it.
|
|
55
|
+
*/
|
|
56
|
+
export declare function providerName(provider: string | undefined, names?: ModelNames): string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* The model's own name inside its provider.
|
|
59
|
+
* @param provider - the provider id the harness reported, when it reported one.
|
|
60
|
+
* @param model - the model id the harness reported.
|
|
61
|
+
* @param names - the catalog's table.
|
|
62
|
+
* @returns the display name, or the id when nothing names it.
|
|
63
|
+
*/
|
|
64
|
+
export declare function modelName(provider: string | undefined, model: string | undefined, names?: ModelNames): string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* One route as a person reads it: "Galaxy Blackhole/Auto".
|
|
67
|
+
* @param provider - the provider id the harness reported.
|
|
68
|
+
* @param model - the model id the harness reported.
|
|
69
|
+
* @param names - the catalog's table; the managed route is named without one.
|
|
70
|
+
* @returns "provider/model" display names, or the ids when nothing names them.
|
|
71
|
+
*/
|
|
72
|
+
export declare function modelRouteName(provider: string | undefined, model: string | undefined, names?: ModelNames): string;
|
|
73
|
+
//# sourceMappingURL=model-name.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model-name.d.ts","sourceRoot":"","sources":["../../src/harness/model-name.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,8DAA8D;AAC9D,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAE1C,uDAAuD;AACvD,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AAEtD,4CAA4C;AAC5C,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AAExD,2FAA2F;AAC3F,eAAO,MAAM,kBAAkB,SAAS,CAAC;AAEzC,wDAAwD;AACxD,MAAM,WAAW,UAAU;IACzB,iDAAiD;IACjD,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACrD,mDAAmD;IACnD,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACnD;AAED,oEAAoE;AACpE,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,gCAAgC;IAChC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,wEAAwE;IACxE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAaD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,UAAU,CAWjE;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,SAAS,UAAU,EAAE,GAAG,UAAU,CAOvE;AAED,4EAA4E;AAC5E,eAAO,MAAM,mBAAmB,EAAE,UAAyB,CAAC;AAE5D;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,GAAE,UAAgC,GAAG,MAAM,GAAG,SAAS,CAGtH;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,GAAE,UAAgC,GAAG,MAAM,GAAG,SAAS,CAO9I;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,GAAE,UAAgC,GAAG,MAAM,CAMvI"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/** The provider id every Galaxy-managed route resolves to. */
|
|
2
|
+
export const MANAGED_PROVIDER_ID = "auto";
|
|
3
|
+
/** The one model id behind the managed route today. */
|
|
4
|
+
export const MANAGED_MODEL_ID = "deepseek-v4.1-flash";
|
|
5
|
+
/** The brand the managed route reads as. */
|
|
6
|
+
export const MANAGED_PROVIDER_NAME = "Galaxy Blackhole";
|
|
7
|
+
/** The managed model's own word: it is the router's automatic choice, not a model name. */
|
|
8
|
+
export const MANAGED_MODEL_NAME = "Auto";
|
|
9
|
+
/**
|
|
10
|
+
* Start a table from the managed route, so a line is right before the catalog answers.
|
|
11
|
+
* @returns mutable maps seeded with the managed names.
|
|
12
|
+
*/
|
|
13
|
+
function managedTables() {
|
|
14
|
+
return {
|
|
15
|
+
providers: { [MANAGED_PROVIDER_ID]: MANAGED_PROVIDER_NAME },
|
|
16
|
+
models: { [MANAGED_PROVIDER_ID + "/" + MANAGED_MODEL_ID]: MANAGED_MODEL_NAME },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Build the name table from the host's catalog.
|
|
21
|
+
* @param catalog - `session.modelCatalog` as the host answered it.
|
|
22
|
+
* @returns provider and model display names, with the managed route always named.
|
|
23
|
+
*/
|
|
24
|
+
export function modelNames(catalog) {
|
|
25
|
+
const tables = managedTables();
|
|
26
|
+
for (const group of catalog?.groups ?? []) {
|
|
27
|
+
if (group.id === undefined)
|
|
28
|
+
continue;
|
|
29
|
+
if (group.name !== undefined)
|
|
30
|
+
tables.providers[group.id] = group.name;
|
|
31
|
+
for (const model of group.models ?? []) {
|
|
32
|
+
if (model.id === undefined || model.name === undefined)
|
|
33
|
+
continue;
|
|
34
|
+
tables.models[group.id + "/" + model.id] = model.name;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return Object.freeze({ providers: Object.freeze(tables.providers), models: Object.freeze(tables.models) });
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The same table from the composer's flattened rows.
|
|
41
|
+
* @param routes - `flattenModels` output, or nothing while the catalog loads.
|
|
42
|
+
* @returns provider and model display names.
|
|
43
|
+
*/
|
|
44
|
+
export function modelNamesOf(routes) {
|
|
45
|
+
const tables = managedTables();
|
|
46
|
+
for (const route of routes ?? []) {
|
|
47
|
+
if (route.hint !== undefined)
|
|
48
|
+
tables.providers[route.provider] = route.hint;
|
|
49
|
+
if (route.name !== undefined)
|
|
50
|
+
tables.models[route.provider + "/" + route.model] = route.name;
|
|
51
|
+
}
|
|
52
|
+
return Object.freeze({ providers: Object.freeze(tables.providers), models: Object.freeze(tables.models) });
|
|
53
|
+
}
|
|
54
|
+
/** The table this module falls back to: the managed route, nothing else. */
|
|
55
|
+
export const DEFAULT_MODEL_NAMES = modelNames();
|
|
56
|
+
/**
|
|
57
|
+
* The provider's own name.
|
|
58
|
+
* @param provider - the provider id the harness reported.
|
|
59
|
+
* @param names - the catalog's table.
|
|
60
|
+
* @returns the display name, or the id when nothing names it.
|
|
61
|
+
*/
|
|
62
|
+
export function providerName(provider, names = DEFAULT_MODEL_NAMES) {
|
|
63
|
+
if (provider === undefined || provider.length === 0)
|
|
64
|
+
return undefined;
|
|
65
|
+
return names.providers[provider] ?? provider;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The model's own name inside its provider.
|
|
69
|
+
* @param provider - the provider id the harness reported, when it reported one.
|
|
70
|
+
* @param model - the model id the harness reported.
|
|
71
|
+
* @param names - the catalog's table.
|
|
72
|
+
* @returns the display name, or the id when nothing names it.
|
|
73
|
+
*/
|
|
74
|
+
export function modelName(provider, model, names = DEFAULT_MODEL_NAMES) {
|
|
75
|
+
if (model === undefined || model.length === 0)
|
|
76
|
+
return undefined;
|
|
77
|
+
const named = provider === undefined ? undefined : names.models[provider + "/" + model];
|
|
78
|
+
if (named !== undefined)
|
|
79
|
+
return named;
|
|
80
|
+
// The managed model keeps its own word even when only its id is in hand.
|
|
81
|
+
if (model === MANAGED_MODEL_ID && (provider === undefined || provider === MANAGED_PROVIDER_ID))
|
|
82
|
+
return MANAGED_MODEL_NAME;
|
|
83
|
+
return model;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* One route as a person reads it: "Galaxy Blackhole/Auto".
|
|
87
|
+
* @param provider - the provider id the harness reported.
|
|
88
|
+
* @param model - the model id the harness reported.
|
|
89
|
+
* @param names - the catalog's table; the managed route is named without one.
|
|
90
|
+
* @returns "provider/model" display names, or the ids when nothing names them.
|
|
91
|
+
*/
|
|
92
|
+
export function modelRouteName(provider, model, names = DEFAULT_MODEL_NAMES) {
|
|
93
|
+
const namedProvider = providerName(provider, names);
|
|
94
|
+
const namedModel = modelName(provider, model, names);
|
|
95
|
+
if (namedProvider === undefined)
|
|
96
|
+
return namedModel ?? "";
|
|
97
|
+
if (namedModel === undefined)
|
|
98
|
+
return namedProvider;
|
|
99
|
+
return namedProvider + "/" + namedModel;
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=model-name.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model-name.js","sourceRoot":"","sources":["../../src/harness/model-name.ts"],"names":[],"mappings":"AAYA,8DAA8D;AAC9D,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAE1C,uDAAuD;AACvD,MAAM,CAAC,MAAM,gBAAgB,GAAG,qBAAqB,CAAC;AAEtD,4CAA4C;AAC5C,MAAM,CAAC,MAAM,qBAAqB,GAAG,kBAAkB,CAAC;AAExD,2FAA2F;AAC3F,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC;AAoBzC;;;GAGG;AACH,SAAS,aAAa;IACpB,OAAO;QACL,SAAS,EAAE,EAAE,CAAC,mBAAmB,CAAC,EAAE,qBAAqB,EAAE;QAC3D,MAAM,EAAE,EAAE,CAAC,mBAAmB,GAAG,GAAG,GAAG,gBAAgB,CAAC,EAAE,kBAAkB,EAAE;KAC/E,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,OAA0B;IACnD,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,MAAM,IAAI,EAAE,EAAE,CAAC;QAC1C,IAAI,KAAK,CAAC,EAAE,KAAK,SAAS;YAAE,SAAS;QACrC,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS;YAAE,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC;QACtE,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,MAAM,IAAI,EAAE,EAAE,CAAC;YACvC,IAAI,KAAK,CAAC,EAAE,KAAK,SA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These are presentational: the sidebar draws whatever item list the screen
|
|
5
|
+
* derived from `session/list`, the status bar draws whatever numbers the
|
|
6
|
+
* conversation reported, and the menus draw a catalog the harness answered.
|
|
7
|
+
* Keeping them here leaves `screen.tsx` about state and key routing.
|
|
8
|
+
*/
|
|
9
|
+
import { type ReactElement } from "react";
|
|
10
|
+
import type { SessionRow } from "./sessions.js";
|
|
11
|
+
import type { TrajectoryEvent } from "./trajectory.js";
|
|
12
|
+
import type { HelpLine } from "./help.js";
|
|
13
|
+
/** One row of the left column. Workspace and "more" rows are labels, not targets. */
|
|
14
|
+
export type SidebarItem = {
|
|
15
|
+
readonly kind: "new";
|
|
16
|
+
} | {
|
|
17
|
+
readonly kind: "section";
|
|
18
|
+
readonly label: string;
|
|
19
|
+
} | {
|
|
20
|
+
readonly kind: "workspace";
|
|
21
|
+
readonly cwd: string;
|
|
22
|
+
readonly label: string;
|
|
23
|
+
} | {
|
|
24
|
+
readonly kind: "session";
|
|
25
|
+
readonly row: SessionRow;
|
|
26
|
+
} | {
|
|
27
|
+
readonly kind: "more";
|
|
28
|
+
readonly count: number;
|
|
29
|
+
} | {
|
|
30
|
+
readonly kind: "empty";
|
|
31
|
+
};
|
|
32
|
+
/** One reasoning effort a model offers, as the harness catalog names it. */
|
|
33
|
+
export interface EffortOption {
|
|
34
|
+
readonly id: string;
|
|
35
|
+
readonly name: string;
|
|
36
|
+
readonly description?: string;
|
|
37
|
+
}
|
|
38
|
+
/** A model the host can route to, flattened out of the catalog's provider groups. */
|
|
39
|
+
export interface ModelOption {
|
|
40
|
+
readonly provider: string;
|
|
41
|
+
readonly model: string;
|
|
42
|
+
readonly name: string;
|
|
43
|
+
readonly description?: string;
|
|
44
|
+
readonly effort?: string;
|
|
45
|
+
readonly effortName?: string;
|
|
46
|
+
/** Every effort this model accepts, in catalog order. */
|
|
47
|
+
readonly efforts?: readonly EffortOption[];
|
|
48
|
+
/** Provider group name the model belongs to. */
|
|
49
|
+
readonly hint?: string;
|
|
50
|
+
}
|
|
51
|
+
/** One preset row the access menu offers. */
|
|
52
|
+
export interface AccessOption {
|
|
53
|
+
readonly value: string;
|
|
54
|
+
readonly label: string;
|
|
55
|
+
readonly description: string;
|
|
56
|
+
}
|
|
57
|
+
/** What the connection row knows: who answers, and whether it is answering now. */
|
|
58
|
+
export interface ConnectionFacts {
|
|
59
|
+
readonly base: string;
|
|
60
|
+
readonly state: "connected" | "running" | "disconnected";
|
|
61
|
+
}
|
|
62
|
+
/** The one-line spinner the transcript footer shows while a turn streams. */
|
|
63
|
+
export declare function Activity(props: {
|
|
64
|
+
readonly label: string;
|
|
65
|
+
readonly color?: string;
|
|
66
|
+
}): ReactElement;
|
|
67
|
+
/**
|
|
68
|
+
* The left column: brand, "Phiên mới", the workspace groups and their sessions.
|
|
69
|
+
* @param props.items - rows derived by the screen, in display order.
|
|
70
|
+
* @param props.width - fixed column width, divider included.
|
|
71
|
+
* @param props.height - available rows.
|
|
72
|
+
* @param props.selectedKey - the row arrows are on ("new" or a session id).
|
|
73
|
+
* @param props.activeSessionId - the conversation currently open.
|
|
74
|
+
* @param props.focused - whether the sidebar owns the arrow keys.
|
|
75
|
+
*/
|
|
76
|
+
export declare function Sidebar(props: {
|
|
77
|
+
readonly items: readonly SidebarItem[];
|
|
78
|
+
readonly width: number;
|
|
79
|
+
readonly height: number;
|
|
80
|
+
readonly selectedKey: string;
|
|
81
|
+
readonly activeSessionId?: string;
|
|
82
|
+
readonly focused: boolean;
|
|
83
|
+
readonly now: number;
|
|
84
|
+
}): ReactElement;
|
|
85
|
+
/**
|
|
86
|
+
* The main column's title rows: where the conversation lives, and its two views.
|
|
87
|
+
*/
|
|
88
|
+
export declare function ConversationHeader(props: {
|
|
89
|
+
readonly workspace: string;
|
|
90
|
+
readonly title: string;
|
|
91
|
+
/** Agent mode in force, worded as the desktop app words it ("Chế độ PTC"). */
|
|
92
|
+
readonly preset: string;
|
|
93
|
+
readonly tab: "chat" | "trajectory";
|
|
94
|
+
readonly running: boolean;
|
|
95
|
+
readonly turn: number;
|
|
96
|
+
readonly width: number;
|
|
97
|
+
}): ReactElement;
|
|
98
|
+
/**
|
|
99
|
+
* The first screen of a conversation: the app's hero, centered in the column.
|
|
100
|
+
* @param props.width - usable width, so the hint never wraps into the composer.
|
|
101
|
+
*/
|
|
102
|
+
export declare function EmptyConversation(props: {
|
|
103
|
+
readonly width: number;
|
|
104
|
+
readonly title?: string;
|
|
105
|
+
}): ReactElement;
|
|
106
|
+
/**
|
|
107
|
+
* "Luồng chạy": the session ledger the harness logged, one row per durable event.
|
|
108
|
+
*
|
|
109
|
+
* Same table the web app draws from the same events: a row number, the kind (Hệ
|
|
110
|
+
* thống / Người dùng / Trợ lý / Công cụ), the content shortened to one line, and what
|
|
111
|
+
* the step cost in tokens or wall time. The window follows `scroll`, measured from the
|
|
112
|
+
* newest row, the same way the transcript scrolls.
|
|
113
|
+
* @param props.rows - ledger rows, oldest first.
|
|
114
|
+
* @param props.width - main column width.
|
|
115
|
+
* @param props.height - rows the pane can draw.
|
|
116
|
+
* @param props.scroll - rows to walk back from the newest one.
|
|
117
|
+
* @param props.loading - true while the snapshot is in flight.
|
|
118
|
+
* @param props.error - the host's failure, when the read failed.
|
|
119
|
+
* @param props.hasMore - true when the host holds older history than these rows.
|
|
120
|
+
*/
|
|
121
|
+
export declare function Trajectory(props: {
|
|
122
|
+
readonly rows: readonly TrajectoryEvent[];
|
|
123
|
+
readonly width: number;
|
|
124
|
+
readonly height: number;
|
|
125
|
+
readonly scroll: number;
|
|
126
|
+
readonly loading: boolean;
|
|
127
|
+
readonly error?: string;
|
|
128
|
+
readonly hasMore: boolean;
|
|
129
|
+
}): ReactElement;
|
|
130
|
+
/**
|
|
131
|
+
* The status row under the composer: the harness link, the session's own counters —
|
|
132
|
+
* steps, tokens and wall time — and, at the right edge, the CLI version this terminal
|
|
133
|
+
* is running.
|
|
134
|
+
*
|
|
135
|
+
* The right edge used to print the host URL. A version answers the question a person
|
|
136
|
+
* actually asks there ("which build is this?"), so it owns the corner and the URL only
|
|
137
|
+
* appears when the row still has room; both stay dim so the counters keep the eye.
|
|
138
|
+
*/
|
|
139
|
+
export declare function StatusBar(props: {
|
|
140
|
+
readonly connection: ConnectionFacts;
|
|
141
|
+
readonly steps: number;
|
|
142
|
+
readonly tokens?: number;
|
|
143
|
+
readonly durationMs?: number;
|
|
144
|
+
readonly model?: string;
|
|
145
|
+
/** The CLI version, read from the package.json that ships beside the entry point. */
|
|
146
|
+
readonly version: string;
|
|
147
|
+
readonly width: number;
|
|
148
|
+
}): ReactElement;
|
|
149
|
+
/**
|
|
150
|
+
* A menu anchored over the composer, like the app's access and model dropdowns.
|
|
151
|
+
* @param props.options - labels and optional second lines.
|
|
152
|
+
* @param props.selected - highlighted index.
|
|
153
|
+
* @param props.title - the menu's own heading.
|
|
154
|
+
* @param props.current - value already applied, marked with a check.
|
|
155
|
+
* @param props.width - main column width.
|
|
156
|
+
*/
|
|
157
|
+
export declare function MenuPanel<T extends {
|
|
158
|
+
readonly value: string;
|
|
159
|
+
readonly label: string;
|
|
160
|
+
readonly description?: string;
|
|
161
|
+
readonly hint?: string;
|
|
162
|
+
}>(props: {
|
|
163
|
+
readonly title: string;
|
|
164
|
+
readonly options: readonly T[];
|
|
165
|
+
readonly selected: number;
|
|
166
|
+
readonly current?: string;
|
|
167
|
+
readonly width: number;
|
|
168
|
+
readonly height: number;
|
|
169
|
+
}): ReactElement;
|
|
170
|
+
/**
|
|
171
|
+
* A one-column picker anchored over the composer: the @ file list, the workspace list.
|
|
172
|
+
* Rows are windowed around the cursor so a 2000-file workspace stays one panel.
|
|
173
|
+
* @param props.title - the panel heading.
|
|
174
|
+
* @param props.rows - every candidate row, best first.
|
|
175
|
+
* @param props.selected - highlighted index into rows.
|
|
176
|
+
* @param props.width - main column width.
|
|
177
|
+
* @param props.height - panel height, footer included.
|
|
178
|
+
* @param props.empty - what to say when nothing matched.
|
|
179
|
+
*/
|
|
180
|
+
export declare function ListPicker(props: {
|
|
181
|
+
readonly title: string;
|
|
182
|
+
readonly rows: readonly {
|
|
183
|
+
readonly value: string;
|
|
184
|
+
readonly label: string;
|
|
185
|
+
readonly hint?: string;
|
|
186
|
+
}[];
|
|
187
|
+
readonly selected: number;
|
|
188
|
+
readonly width: number;
|
|
189
|
+
readonly height: number;
|
|
190
|
+
readonly empty: string;
|
|
191
|
+
}): ReactElement;
|
|
192
|
+
/**
|
|
193
|
+
* The `/` palette above the composer: the commands the terminal answers itself, then
|
|
194
|
+
* the skills the session's preset mounts. Commands come first because they cost no
|
|
195
|
+
* turn; a skill row is marked so the two sources never look the same. The heading
|
|
196
|
+
* carries the count (rows · commands · skills) so a long catalogue still adds up on
|
|
197
|
+
* a short terminal, where the list itself is windowed around the cursor.
|
|
198
|
+
* @param props.rows - ranked rows from `slashMatches`.
|
|
199
|
+
* @param props.selected - highlighted index into rows.
|
|
200
|
+
* @param props.width - main column width.
|
|
201
|
+
* @param props.height - panel height, heading and footer included.
|
|
202
|
+
*/
|
|
203
|
+
export declare function SlashPanel(props: {
|
|
204
|
+
readonly rows: readonly {
|
|
205
|
+
readonly value: string;
|
|
206
|
+
readonly label: string;
|
|
207
|
+
readonly description: string;
|
|
208
|
+
readonly kind: "command" | "skill";
|
|
209
|
+
}[];
|
|
210
|
+
readonly selected: number;
|
|
211
|
+
readonly width: number;
|
|
212
|
+
readonly height: number;
|
|
213
|
+
}): ReactElement;
|
|
214
|
+
/** A plain panel for help and session facts, replacing the transcript while open. */
|
|
215
|
+
export declare function InfoPanel(props: {
|
|
216
|
+
readonly title: string;
|
|
217
|
+
readonly lines: readonly string[];
|
|
218
|
+
readonly width: number;
|
|
219
|
+
}): ReactElement;
|
|
220
|
+
/**
|
|
221
|
+
* The /help overlay as a two-column table: a titled group, a fixed key column, and
|
|
222
|
+
* one sentence per chord. The columns are the point — a wall of prose is what this
|
|
223
|
+
* replaced — so the key column is one width for every group and a thin rule marks
|
|
224
|
+
* each heading. A document reads from its first line, so `scroll` counts the lines
|
|
225
|
+
* already walked past from the top; a short terminal pages down to the last command.
|
|
226
|
+
* @param props.lines - the laid-out table, from `helpLines`.
|
|
227
|
+
* @param props.keyWidth - the fixed key column, from `HELP_KEY_WIDTH`.
|
|
228
|
+
* @param props.width - usable text width inside the pane.
|
|
229
|
+
* @param props.height - rows the pane can draw.
|
|
230
|
+
* @param props.scroll - lines already walked past from the first one.
|
|
231
|
+
*/
|
|
232
|
+
export declare function HelpPanel(props: {
|
|
233
|
+
readonly lines: readonly HelpLine[];
|
|
234
|
+
readonly keyWidth: number;
|
|
235
|
+
readonly width: number;
|
|
236
|
+
readonly height: number;
|
|
237
|
+
readonly scroll: number;
|
|
238
|
+
}): ReactElement;
|
|
239
|
+
//# sourceMappingURL=parts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../src/harness/parts.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAI/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,iBAAiB,CAAC;AAEvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE1C,qFAAqF;AACrF,MAAM,MAAM,WAAW,GACnB;IAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAA;CAAE,GACxB;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACpD;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAC5E;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,GAAG,EAAE,UAAU,CAA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