@vascend/talos 0.1.5 → 0.1.6
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/core/agent.d.ts +16 -3
- package/dist/core/agent.js +114 -34
- package/dist/core/background.d.ts +10 -3
- package/dist/core/background.js +55 -9
- package/dist/core/bootstrap.js +1 -0
- package/dist/core/compaction.js +1 -1
- package/dist/core/config-storage.d.ts +5 -0
- package/dist/core/config-storage.js +83 -0
- package/dist/core/config.d.ts +11 -2
- package/dist/core/config.js +24 -8
- package/dist/core/context-ledger.js +2 -1
- package/dist/core/context-policy.d.ts +1 -1
- package/dist/core/context-policy.js +10 -7
- package/dist/core/credentials.js +29 -30
- package/dist/core/effort.d.ts +1 -1
- package/dist/core/effort.js +5 -1
- package/dist/core/execution-guidance.d.ts +1 -1
- package/dist/core/execution-guidance.js +2 -0
- package/dist/core/file-coordination.d.ts +3 -0
- package/dist/core/file-coordination.js +28 -0
- package/dist/core/file-lease-store.d.ts +3 -0
- package/dist/core/file-lease-store.js +28 -12
- package/dist/core/fusion.d.ts +24 -0
- package/dist/core/fusion.js +80 -0
- package/dist/core/model-limits.d.ts +1 -0
- package/dist/core/model-limits.js +5 -1
- package/dist/core/permission-queue.js +15 -15
- package/dist/core/request-plan.js +4 -3
- package/dist/core/session-naming.js +4 -0
- package/dist/core/session.d.ts +4 -2
- package/dist/core/session.js +13 -4
- package/dist/core/settings.d.ts +2 -0
- package/dist/core/settings.js +5 -16
- package/dist/core/step-policy.d.ts +18 -0
- package/dist/core/step-policy.js +6 -0
- package/dist/core/tool-artifacts.d.ts +2 -0
- package/dist/core/tool-artifacts.js +21 -3
- package/dist/core/tool-result-index.js +29 -33
- package/dist/core/tool-result-store.js +6 -5
- package/dist/core/types.d.ts +10 -3
- package/dist/core/user-inbox.d.ts +9 -0
- package/dist/core/user-inbox.js +22 -3
- package/dist/core/user-input.js +1 -1
- package/dist/fusion/autopilot-fast.d.ts +59 -0
- package/dist/fusion/autopilot-fast.js +213 -0
- package/dist/fusion/autopilot.d.ts +75 -0
- package/dist/fusion/autopilot.js +308 -0
- package/dist/fusion/focus.d.ts +30 -0
- package/dist/fusion/focus.js +122 -0
- package/dist/fusion/gate.d.ts +30 -0
- package/dist/fusion/gate.js +95 -0
- package/dist/fusion/jev.d.ts +71 -0
- package/dist/fusion/jev.js +164 -0
- package/dist/fusion/receipts.d.ts +25 -0
- package/dist/fusion/receipts.js +34 -0
- package/dist/fusion/route.d.ts +25 -0
- package/dist/fusion/route.js +84 -0
- package/dist/fusion/run.d.ts +4 -0
- package/dist/fusion/run.js +186 -0
- package/dist/horizon/engine.d.ts +20 -1
- package/dist/horizon/engine.js +57 -0
- package/dist/horizon/index.d.ts +2 -2
- package/dist/horizon/index.js +1 -1
- package/dist/horizon/types.d.ts +29 -0
- package/dist/index.js +12 -0
- package/dist/providers/anthropic-oauth.d.ts +8 -3
- package/dist/providers/anthropic-oauth.js +13 -10
- package/dist/providers/anthropic.d.ts +9 -2
- package/dist/providers/anthropic.js +64 -21
- package/dist/providers/cli-models.d.ts +30 -0
- package/dist/providers/cli-models.js +194 -0
- package/dist/providers/model-effort.js +1 -1
- package/dist/providers/openai-oauth.d.ts +8 -3
- package/dist/providers/openai-oauth.js +9 -3
- package/dist/providers/openrouter-manual-fallback.d.ts +3 -1
- package/dist/providers/openrouter-manual-fallback.js +20 -20
- package/dist/providers/registry.js +3 -2
- package/dist/providers/retry.d.ts +3 -0
- package/dist/providers/retry.js +44 -1
- package/dist/remote/cifratura.d.ts +12 -0
- package/dist/remote/cifratura.js +66 -0
- package/dist/remote/index.d.ts +15 -0
- package/dist/remote/index.js +65 -0
- package/dist/remote/relay-client.d.ts +58 -0
- package/dist/remote/relay-client.js +315 -0
- package/dist/remote/sessione-remota.d.ts +60 -0
- package/dist/remote/sessione-remota.js +266 -0
- package/dist/sdk.d.ts +7 -2
- package/dist/sdk.js +3 -1
- package/dist/tools/builtin.js +41 -20
- package/dist/tools/capabilities.d.ts +3 -1
- package/dist/tools/capabilities.js +5 -2
- package/dist/tools/computer-use.js +2 -1
- package/dist/tools/pagination.js +1 -1
- package/dist/tools/program.js +34 -21
- package/dist/tools/team-tools.js +11 -6
- package/dist/tui/account-entry.js +14 -9
- package/dist/tui/agent-label.d.ts +2 -0
- package/dist/tui/agent-label.js +5 -0
- package/dist/tui/agent-sessions-screen.d.ts +12 -2
- package/dist/tui/agent-sessions-screen.js +62 -16
- package/dist/tui/agent-sessions.d.ts +14 -0
- package/dist/tui/agent-sessions.js +67 -6
- package/dist/tui/bottom-input.d.ts +46 -2
- package/dist/tui/bottom-input.js +358 -59
- package/dist/tui/branding.js +8 -4
- package/dist/tui/capability-lists.d.ts +10 -0
- package/dist/tui/capability-lists.js +41 -0
- package/dist/tui/command-output-registry.js +4 -0
- package/dist/tui/command-transcript.d.ts +1 -1
- package/dist/tui/command-transcript.js +17 -21
- package/dist/tui/commands.js +4 -1
- package/dist/tui/compaction-status.d.ts +7 -0
- package/dist/tui/compaction-status.js +39 -0
- package/dist/tui/config-recovery.d.ts +12 -0
- package/dist/tui/config-recovery.js +54 -0
- package/dist/tui/context-meter.d.ts +3 -0
- package/dist/tui/context-meter.js +35 -8
- package/dist/tui/diff.d.ts +9 -0
- package/dist/tui/diff.js +43 -19
- package/dist/tui/fusion-menu.d.ts +5 -0
- package/dist/tui/fusion-menu.js +89 -0
- package/dist/tui/i18n-catalog.js +312 -1
- package/dist/tui/live-command.d.ts +1 -0
- package/dist/tui/live-command.js +9 -0
- package/dist/tui/live-output.d.ts +1 -0
- package/dist/tui/live-output.js +11 -0
- package/dist/tui/model-details.js +13 -12
- package/dist/tui/model-picker.js +17 -7
- package/dist/tui/model-selection.js +19 -10
- package/dist/tui/native-scrollback.js +5 -0
- package/dist/tui/prompt-queue.d.ts +3 -0
- package/dist/tui/prompt-queue.js +19 -1
- package/dist/tui/provider-label.d.ts +2 -0
- package/dist/tui/provider-label.js +9 -0
- package/dist/tui/provider-menu.js +25 -24
- package/dist/tui/queue-screen.js +2 -1
- package/dist/tui/remote-command.d.ts +7 -0
- package/dist/tui/remote-command.js +79 -0
- package/dist/tui/repl.d.ts +8 -2
- package/dist/tui/repl.js +355 -311
- package/dist/tui/review-store.d.ts +1 -0
- package/dist/tui/review-store.js +28 -7
- package/dist/tui/review-team.js +4 -3
- package/dist/tui/runtime-error.d.ts +2 -0
- package/dist/tui/runtime-error.js +26 -0
- package/dist/tui/selector-mouse.d.ts +1 -0
- package/dist/tui/selector-mouse.js +1 -1
- package/dist/tui/selector.d.ts +7 -0
- package/dist/tui/selector.js +19 -2
- package/dist/tui/session-controls.d.ts +26 -0
- package/dist/tui/session-controls.js +65 -0
- package/dist/tui/session-naming-notice.js +5 -3
- package/dist/tui/session-replay.d.ts +1 -0
- package/dist/tui/session-replay.js +101 -32
- package/dist/tui/session-transcript-layout.d.ts +9 -0
- package/dist/tui/session-transcript-layout.js +41 -0
- package/dist/tui/startup.js +63 -33
- package/dist/tui/status-line.d.ts +1 -1
- package/dist/tui/status-line.js +20 -12
- package/dist/tui/talos-art-data.d.ts +1 -0
- package/dist/tui/talos-art-data.js +2 -0
- package/dist/tui/talos-art.d.ts +1 -0
- package/dist/tui/talos-art.js +9 -0
- package/dist/tui/task-labels.d.ts +1 -0
- package/dist/tui/task-labels.js +8 -0
- package/dist/tui/terminal-text.d.ts +2 -1
- package/dist/tui/terminal-text.js +28 -2
- package/dist/tui/theme.js +2 -2
- package/dist/tui/tool-presentation.d.ts +3 -0
- package/dist/tui/tool-presentation.js +98 -0
- package/dist/tui/tool-style.js +4 -0
- package/dist/tui/transcript-store.d.ts +25 -0
- package/dist/tui/transcript-store.js +151 -0
- package/dist/tui/usage-footer.d.ts +1 -1
- package/dist/tui/usage-footer.js +3 -1
- package/dist/tui/vascend-id.d.ts +49 -0
- package/dist/tui/vascend-id.js +321 -0
- package/dist/tui/web-login-screen.js +4 -3
- package/dist/tui/web-login.d.ts +7 -15
- package/dist/tui/web-login.js +38 -78
- package/dist/tui/worker-transcripts.d.ts +31 -0
- package/dist/tui/worker-transcripts.js +91 -0
- package/dist/vascend/candidate-collector.d.ts +6 -5
- package/dist/vascend/candidate-collector.js +44 -43
- package/dist/vascend/context-lint.js +32 -2
- package/dist/vascend/context-market-selection.js +12 -5
- package/dist/vascend/context-pack-render.js +10 -4
- package/dist/vascend/context-packet-mirrors.d.ts +8 -0
- package/dist/vascend/context-packet-mirrors.js +24 -0
- package/dist/vascend/context-plan-events.d.ts +4 -0
- package/dist/vascend/context-plan-events.js +44 -0
- package/dist/vascend/context-snapshot.js +4 -2
- package/dist/vascend/context-store-reader.d.ts +20 -0
- package/dist/vascend/context-store-reader.js +46 -0
- package/dist/vascend/file-lock.d.ts +1 -0
- package/dist/vascend/file-lock.js +26 -0
- package/dist/vascend/granular-kingdom.d.ts +1 -0
- package/dist/vascend/granular-kingdom.js +22 -15
- package/dist/vascend/kingdom-bus.d.ts +1 -0
- package/dist/vascend/kingdom-bus.js +3 -0
- package/dist/vascend/kingdom-channel.d.ts +2 -0
- package/dist/vascend/kingdom-channel.js +3 -0
- package/dist/vascend/kingdom-live.d.ts +32 -4
- package/dist/vascend/kingdom-live.js +149 -13
- package/dist/vascend/kingdom-run.d.ts +5 -1
- package/dist/vascend/kingdom-run.js +6 -2
- package/dist/vascend/kingdom.d.ts +3 -0
- package/dist/vascend/kingdom.js +20 -13
- package/dist/vascend/memory-packet.d.ts +2 -1
- package/dist/vascend/memory-packet.js +31 -44
- package/dist/vascend/plan-store.d.ts +3 -1
- package/dist/vascend/plan-store.js +6 -4
- package/dist/vascend/room-memory.d.ts +10 -1
- package/dist/vascend/room-memory.js +42 -2
- package/dist/vascend/runtime.d.ts +3 -11
- package/dist/vascend/runtime.js +11 -123
- package/dist/vascend/session-search.js +2 -0
- package/dist/vascend/team-session.js +3 -2
- package/dist/vascend/vision.d.ts +3 -1
- package/dist/vascend/vision.js +6 -4
- package/dist/vascend/worker-session.d.ts +20 -0
- package/dist/vascend/worker-session.js +83 -0
- package/package.json +1 -1
|
@@ -5,6 +5,32 @@ import { type QueuedPrompt } from "./prompt-queue.js";
|
|
|
5
5
|
import type { QueuePersistence } from "./prompt-queue-store.js";
|
|
6
6
|
import { type QueueStyle } from "./queue-screen.js";
|
|
7
7
|
export interface BottomInputHandlers {
|
|
8
|
+
readonly bindSessionInbox?: (session: import("./agent-sessions.js").AgentSession, inbox: import("../core/user-inbox.js").UserInbox) => {
|
|
9
|
+
ok: boolean;
|
|
10
|
+
error?: string;
|
|
11
|
+
};
|
|
12
|
+
readonly wakeSession?: (session: import("./agent-sessions.js").AgentSession) => {
|
|
13
|
+
ok: boolean;
|
|
14
|
+
error?: string;
|
|
15
|
+
};
|
|
16
|
+
readonly onSessionSubmit?: (session: import("./agent-sessions.js").AgentSession, text: string, parts: readonly ContentPart[], immediate: boolean) => {
|
|
17
|
+
ok: boolean;
|
|
18
|
+
error?: string;
|
|
19
|
+
};
|
|
20
|
+
readonly onSessionStop?: (session: import("./agent-sessions.js").AgentSession) => {
|
|
21
|
+
ok: boolean;
|
|
22
|
+
error?: string;
|
|
23
|
+
};
|
|
24
|
+
readonly onSessionDelete?: (session: import("./agent-sessions.js").AgentSession) => {
|
|
25
|
+
ok: boolean;
|
|
26
|
+
error?: string;
|
|
27
|
+
};
|
|
28
|
+
readonly onSessionBackground?: (session: import("./agent-sessions.js").AgentSession) => {
|
|
29
|
+
ok: boolean;
|
|
30
|
+
error?: string;
|
|
31
|
+
};
|
|
32
|
+
readonly sessionFooter?: (session: import("./agent-sessions.js").AgentSession, width: number) => readonly string[];
|
|
33
|
+
readonly sessionBelowInput?: (session: import("./agent-sessions.js").AgentSession, width: number) => readonly string[];
|
|
8
34
|
readonly nativeScroll?: boolean;
|
|
9
35
|
readonly review?: ReviewStore;
|
|
10
36
|
readonly createReviewScreen?: (section?: string) => TerminalScreen;
|
|
@@ -18,12 +44,15 @@ export interface BottomInputHandlers {
|
|
|
18
44
|
readonly attachmentStyle?: (s: string) => string;
|
|
19
45
|
readonly footerLines: () => readonly string[];
|
|
20
46
|
readonly belowInputLines?: () => readonly string[];
|
|
47
|
+
readonly currentModel?: () => string;
|
|
48
|
+
readonly limitWarningStyle?: (s: string) => string;
|
|
21
49
|
readonly warningLines?: () => readonly string[];
|
|
22
50
|
readonly completion: (buffer: string) => string | null;
|
|
23
51
|
readonly hint: (buffer: string) => string;
|
|
24
52
|
readonly statusStyle?: (s: string) => string;
|
|
25
53
|
readonly boxStyle?: (s: string) => string;
|
|
26
54
|
readonly onSubmit: (line: string, signal: AbortSignal, fromQueue?: boolean, queued?: QueuedPrompt) => Promise<void>;
|
|
55
|
+
readonly onCommandDuringRun?: (line: string, signal: AbortSignal) => Promise<void>;
|
|
27
56
|
readonly prepareQueuedInput?: (text: string) => readonly ContentPart[];
|
|
28
57
|
readonly queuePersistence?: () => QueuePersistence;
|
|
29
58
|
readonly restoreQueuedInput?: (entry: QueuedPrompt) => QueuedPrompt;
|
|
@@ -52,7 +81,9 @@ export declare class BottomInput {
|
|
|
52
81
|
private readonly h;
|
|
53
82
|
private buffer;
|
|
54
83
|
private cursor;
|
|
55
|
-
private
|
|
84
|
+
private history;
|
|
85
|
+
private composerSession;
|
|
86
|
+
private readonly sessionDrafts;
|
|
56
87
|
private histIdx;
|
|
57
88
|
private draft;
|
|
58
89
|
private active;
|
|
@@ -60,9 +91,13 @@ export declare class BottomInput {
|
|
|
60
91
|
private ctrlCConfirmation;
|
|
61
92
|
private ctrlCTimer?;
|
|
62
93
|
private running;
|
|
94
|
+
private commandPending;
|
|
63
95
|
private readonly questions;
|
|
64
96
|
private runAbort?;
|
|
65
97
|
private queue;
|
|
98
|
+
private readonly workerQueues;
|
|
99
|
+
private get composerQueue();
|
|
100
|
+
private ensureWorkerQueue;
|
|
66
101
|
private queueEditor;
|
|
67
102
|
private readonly log;
|
|
68
103
|
private readonly logIds;
|
|
@@ -87,10 +122,13 @@ export declare class BottomInput {
|
|
|
87
122
|
private screen;
|
|
88
123
|
private readonly agentSessions?;
|
|
89
124
|
private sessionsUnsubscribe?;
|
|
125
|
+
private messagesUnsubscribe?;
|
|
90
126
|
private sessionsTimer?;
|
|
91
127
|
private modal;
|
|
92
128
|
private statusLabel;
|
|
129
|
+
private sessionLimitNotice;
|
|
93
130
|
private compactionStartedAt;
|
|
131
|
+
private compactionPreviousStatus;
|
|
94
132
|
private statusTool;
|
|
95
133
|
private roomStatus;
|
|
96
134
|
private roomTimer?;
|
|
@@ -126,7 +164,7 @@ export declare class BottomInput {
|
|
|
126
164
|
private createQueue;
|
|
127
165
|
restoreQueue(): void;
|
|
128
166
|
get review(): ReviewStore | undefined;
|
|
129
|
-
get userInbox(): import("../
|
|
167
|
+
get userInbox(): import("../core/user-inbox.js").UserInbox;
|
|
130
168
|
acceptQueuedMessage(id: string): string | undefined;
|
|
131
169
|
pauseQueuedMessages(): void;
|
|
132
170
|
showQueue(): void;
|
|
@@ -135,6 +173,8 @@ export declare class BottomInput {
|
|
|
135
173
|
private finishQueueEdit;
|
|
136
174
|
showReview(section?: string): void;
|
|
137
175
|
private get screenVisible();
|
|
176
|
+
private get workerVisible();
|
|
177
|
+
private syncSessionComposer;
|
|
138
178
|
showAgents(): void;
|
|
139
179
|
private sessionArrow;
|
|
140
180
|
static supported(): boolean;
|
|
@@ -153,6 +193,8 @@ export declare class BottomInput {
|
|
|
153
193
|
setSessionNaming(phase: "start" | "end", title: string): void;
|
|
154
194
|
getLogLine(index: number): string | undefined;
|
|
155
195
|
isBusy(): boolean;
|
|
196
|
+
submitExternal(line: string, immediate?: boolean): boolean;
|
|
197
|
+
requestStop(): boolean;
|
|
156
198
|
setStatusTool(name: string | null): void;
|
|
157
199
|
setRoomStatus(label: string | null, state?: "running" | "done" | "failed"): void;
|
|
158
200
|
private reportFailure;
|
|
@@ -171,6 +213,7 @@ export declare class BottomInput {
|
|
|
171
213
|
private trimLog;
|
|
172
214
|
private renderedLog;
|
|
173
215
|
private touchLog;
|
|
216
|
+
cyclePermissionMode(): void;
|
|
174
217
|
pause(): void;
|
|
175
218
|
resume(): void;
|
|
176
219
|
setKingdomVassals(data: ReadonlyArray<{
|
|
@@ -218,6 +261,7 @@ export declare class BottomInput {
|
|
|
218
261
|
private submit;
|
|
219
262
|
private dispatch;
|
|
220
263
|
private startNextQueued;
|
|
264
|
+
private runLiveCommand;
|
|
221
265
|
private runLine;
|
|
222
266
|
private quit;
|
|
223
267
|
}
|