@quantiya/codevibe-core 2.0.52 → 2.0.53
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/dist/index.d.ts +1 -1
- package/dist/index.js +464 -459
- package/dist/orchestration-shell/cli.js +388 -177
- package/dist/orchestration-shell/components/wizard-select.d.ts +8 -0
- package/dist/orchestration-shell/index.d.ts +1 -1
- package/dist/orchestration-shell/mode-selection.d.ts +11 -0
- package/dist/orchestration-shell/theme.d.ts +37 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare function WizardSelectItem({ isSelected, label, }: {
|
|
3
|
+
isSelected?: boolean;
|
|
4
|
+
label: string;
|
|
5
|
+
}): React.ReactElement;
|
|
6
|
+
export declare function WizardSelectIndicator({ isSelected, }: {
|
|
7
|
+
isSelected?: boolean;
|
|
8
|
+
}): React.ReactElement;
|
|
@@ -305,7 +305,7 @@ export interface TeamTapEvent {
|
|
|
305
305
|
}
|
|
306
306
|
export { processMarkers, withRoleMarker } from './process-markers';
|
|
307
307
|
export { emitShellEvent, createShellEventEmitter, type ShellEventEmit, type NewEventTypeKind, } from './emit-shell-event';
|
|
308
|
-
export { pickMode, type ModeSelectionDeps, } from './mode-selection';
|
|
308
|
+
export { pickMode, shouldRenderPlain, type ModeSelectionDeps, } from './mode-selection';
|
|
309
309
|
export { readStickyPreference, writeStickyPreference, stickyPreferenceFilePath, } from './sticky-preference';
|
|
310
310
|
export { deriveWorkspaceId, deriveRepoId, normalizeRepoRelativePath, contextStoreDir, loadContextStore, writeContextStore, writeRepoState, loadRepoState, type RepoStateRecord, gcContextStore, computeSummaryInputHash, probeFreshness, ensureFreshContextStore, mintContextRef, resolveContextRef, sliceSummary, type ContextRef, type SliceSelector, type SliceSelectorEntry, type ContextStoreMetadata, type ContextStoreEntry, type ResolvedContextSlice, type FreshnessProbeResult, type EnsureFreshResult, type EnsureFreshDeps, } from './context-store';
|
|
311
311
|
export { CONTEXT_SESSION_PSEUDO_TASK_NAMESPACE, deriveSessionPseudoTaskId, auditPartitionTaskIdFor, appendContextItem, flushContextItems, readContextItems, readVerifiedContextItems, verifyContextItemChain, buildContextItemWireRow, decryptContextItemWireRow, projectItemsForRole, labelPermitsRole, projectRepoStateForDispatch, appendRepoStateItem, composeDispatchContextBlock, contextItemsLogPath, isTransientContextItem, DISPATCH_CONTEXT_MAX_CHARS, NON_GIT_REPO_STATE_MAX_AGE_MS, type ContextItem, type ContextItemDraft, type ContextItemKind, type ContextItemAuthor, type ContextItemSensitivity, type ContextItemProjectionRole, type ContextItemValidity, type ContextItemWireRow, type RepoStateBody, type RepoStateProjection, type ChainVerificationResult, type VerifiedContextItemsResult, } from './context-items';
|
|
@@ -22,3 +22,14 @@ export declare function pickMode(tier: Tier, deps?: ModeSelectionDeps): Promise<
|
|
|
22
22
|
* `pickMode()` and get this. Tests override via the optional 2nd arg.
|
|
23
23
|
*/
|
|
24
24
|
export declare function defaultDeps(): ModeSelectionDeps;
|
|
25
|
+
/**
|
|
26
|
+
* Shared plain-render predicate across readline and Ink UI components.
|
|
27
|
+
* Returns true if ANSI escape sequences and decorative colors should be suppressed.
|
|
28
|
+
* Respects:
|
|
29
|
+
* - NO_COLOR convention (non-empty environment variable disables color)
|
|
30
|
+
* - TERM=dumb
|
|
31
|
+
* - FORCE_COLOR=0
|
|
32
|
+
* - CODEVIBE_NO_TUI=1
|
|
33
|
+
* - Non-TTY stdout
|
|
34
|
+
*/
|
|
35
|
+
export declare function shouldRenderPlain(): boolean;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const THEME: {
|
|
2
|
+
brand: string;
|
|
3
|
+
brandLight: string;
|
|
4
|
+
brandGlow: string;
|
|
5
|
+
conductor: string;
|
|
6
|
+
conductorTag: string;
|
|
7
|
+
claude: string;
|
|
8
|
+
codex: string;
|
|
9
|
+
antigravity: string;
|
|
10
|
+
gemini: string;
|
|
11
|
+
pass: string;
|
|
12
|
+
revise: string;
|
|
13
|
+
block: string;
|
|
14
|
+
pending: string;
|
|
15
|
+
running: string;
|
|
16
|
+
actionApprove: string;
|
|
17
|
+
actionInspect: string;
|
|
18
|
+
actionReject: string;
|
|
19
|
+
actionRestart: string;
|
|
20
|
+
actionAbort: string;
|
|
21
|
+
textPrimary: string | undefined;
|
|
22
|
+
textSecondary: string | undefined;
|
|
23
|
+
textMuted: string | undefined;
|
|
24
|
+
textDim: string | undefined;
|
|
25
|
+
borderSubtle: string;
|
|
26
|
+
borderAccent: string;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Shared Ink color policy: returns undefined when plain mode is active
|
|
30
|
+
* (NO_COLOR, TERM=dumb, FORCE_COLOR=0, CODEVIBE_NO_TUI=1, or non-TTY),
|
|
31
|
+
* suppressing ANSI color escape sequences entirely.
|
|
32
|
+
*/
|
|
33
|
+
export declare function colorOrPlain(color: string | undefined): string | undefined;
|
|
34
|
+
/** Normalize agent/model kind to signature brand color (or undefined in plain mode). */
|
|
35
|
+
export declare function getAgentBrandColor(agentKind: string | undefined): string | undefined;
|
|
36
|
+
/** Normalize verdict/status to status color (or undefined in plain mode). */
|
|
37
|
+
export declare function getVerdictStatusColor(status: string | undefined): string | undefined;
|
package/package.json
CHANGED