neoctl 0.2.10 → 0.2.11
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/context/compaction.js +3 -3
- package/dist/context/compaction.js.map +1 -1
- package/dist/context/prompts.js +5 -1
- package/dist/context/prompts.js.map +1 -1
- package/dist/core/image-note-prompt.d.ts +8 -0
- package/dist/core/image-note-prompt.js +20 -0
- package/dist/core/image-note-prompt.js.map +1 -0
- package/dist/core/image-notes.d.ts +21 -0
- package/dist/core/image-notes.js +112 -0
- package/dist/core/image-notes.js.map +1 -0
- package/dist/core/image-registry.d.ts +5 -0
- package/dist/core/image-registry.js +41 -3
- package/dist/core/image-registry.js.map +1 -1
- package/dist/core/query-engine.js +6 -1
- package/dist/core/query-engine.js.map +1 -1
- package/dist/core/query.js +189 -1
- package/dist/core/query.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/model/anthropic-mapper.js +3 -1
- package/dist/model/anthropic-mapper.js.map +1 -1
- package/dist/model/openai-mappers.js +3 -1
- package/dist/model/openai-mappers.js.map +1 -1
- package/dist/repl/browser.d.ts +232 -0
- package/dist/repl/browser.js +156 -0
- package/dist/repl/browser.js.map +1 -0
- package/dist/repl/env-file.d.ts +4 -0
- package/dist/repl/env-file.js +97 -0
- package/dist/repl/env-file.js.map +1 -0
- package/dist/repl/foreground-exec.d.ts +10 -0
- package/dist/repl/foreground-exec.js +34 -0
- package/dist/repl/foreground-exec.js.map +1 -0
- package/dist/repl/index.js +141 -2919
- package/dist/repl/index.js.map +1 -1
- package/dist/repl/login-view.d.ts +75 -0
- package/dist/repl/login-view.js +38 -0
- package/dist/repl/login-view.js.map +1 -0
- package/dist/repl/login.d.ts +14 -0
- package/dist/repl/login.js +165 -0
- package/dist/repl/login.js.map +1 -0
- package/dist/repl/message-rendering.d.ts +99 -0
- package/dist/repl/message-rendering.js +476 -0
- package/dist/repl/message-rendering.js.map +1 -0
- package/dist/repl/prompt-payload.d.ts +9 -0
- package/dist/repl/prompt-payload.js +64 -0
- package/dist/repl/prompt-payload.js.map +1 -0
- package/dist/repl/prompt-view.d.ts +235 -0
- package/dist/repl/prompt-view.js +184 -0
- package/dist/repl/prompt-view.js.map +1 -0
- package/dist/repl/repl-types.d.ts +88 -0
- package/dist/repl/repl-types.js +2 -0
- package/dist/repl/repl-types.js.map +1 -0
- package/dist/repl/runtime.d.ts +33 -0
- package/dist/repl/runtime.js +202 -0
- package/dist/repl/runtime.js.map +1 -0
- package/dist/repl/slash-completion.d.ts +28 -0
- package/dist/repl/slash-completion.js +287 -0
- package/dist/repl/slash-completion.js.map +1 -0
- package/dist/repl/status-panel.d.ts +234 -0
- package/dist/repl/status-panel.js +509 -0
- package/dist/repl/status-panel.js.map +1 -0
- package/dist/repl/terminal.d.ts +19 -0
- package/dist/repl/terminal.js +81 -0
- package/dist/repl/terminal.js.map +1 -0
- package/dist/repl/tool-rendering.d.ts +6 -0
- package/dist/repl/tool-rendering.js +502 -0
- package/dist/repl/tool-rendering.js.map +1 -0
- package/dist/repl/usage.d.ts +17 -0
- package/dist/repl/usage.js +57 -0
- package/dist/repl/usage.js.map +1 -0
- package/dist/tools/builtins/image-generation-tool.d.ts +3 -0
- package/dist/tools/builtins/image-generation-tool.js +63 -17
- package/dist/tools/builtins/image-generation-tool.js.map +1 -1
- package/dist/tools/builtins/image-loader-tool.d.ts +7 -0
- package/dist/tools/builtins/image-loader-tool.js +29 -1
- package/dist/tools/builtins/image-loader-tool.js.map +1 -1
- package/dist/tools/builtins/image-note-tool.d.ts +29 -0
- package/dist/tools/builtins/image-note-tool.js +183 -0
- package/dist/tools/builtins/image-note-tool.js.map +1 -0
- package/dist/tools/smoke-tool-system.js +4 -2
- package/dist/tools/smoke-tool-system.js.map +1 -1
- package/dist/web/index.js +2 -0
- package/dist/web/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { AgentActivity } from "../agents/agent-activity.js";
|
|
3
|
+
import type { LocalAgentTask } from "../agents/local-agent-task.js";
|
|
4
|
+
import type { ForegroundExecDetachHandle } from "../tools/builtins/exec-tool.js";
|
|
5
|
+
import type { UiStatus } from "./repl-types.js";
|
|
6
|
+
export declare function StatusBar({ status, animationTick, width: terminalWidth }: {
|
|
7
|
+
status: UiStatus;
|
|
8
|
+
animationTick: number;
|
|
9
|
+
width: number;
|
|
10
|
+
}): React.FunctionComponentElement<{
|
|
11
|
+
readonly position?: "absolute" | "relative" | undefined;
|
|
12
|
+
readonly columnGap?: number | undefined;
|
|
13
|
+
readonly rowGap?: number | undefined;
|
|
14
|
+
readonly gap?: number | undefined;
|
|
15
|
+
readonly margin?: number | undefined;
|
|
16
|
+
readonly marginX?: number | undefined;
|
|
17
|
+
readonly marginY?: number | undefined;
|
|
18
|
+
readonly marginTop?: number | undefined;
|
|
19
|
+
readonly marginBottom?: number | undefined;
|
|
20
|
+
readonly marginLeft?: number | undefined;
|
|
21
|
+
readonly marginRight?: number | undefined;
|
|
22
|
+
readonly padding?: number | undefined;
|
|
23
|
+
readonly paddingX?: number | undefined;
|
|
24
|
+
readonly paddingY?: number | undefined;
|
|
25
|
+
readonly paddingTop?: number | undefined;
|
|
26
|
+
readonly paddingBottom?: number | undefined;
|
|
27
|
+
readonly paddingLeft?: number | undefined;
|
|
28
|
+
readonly paddingRight?: number | undefined;
|
|
29
|
+
readonly flexGrow?: number | undefined;
|
|
30
|
+
readonly flexShrink?: number | undefined;
|
|
31
|
+
readonly flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
32
|
+
readonly flexBasis?: number | string | undefined;
|
|
33
|
+
readonly flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
|
34
|
+
readonly alignItems?: "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
35
|
+
readonly alignSelf?: "flex-start" | "center" | "flex-end" | "auto" | undefined;
|
|
36
|
+
readonly justifyContent?: "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | "center" | undefined;
|
|
37
|
+
readonly width?: number | string | undefined;
|
|
38
|
+
readonly height?: number | string | undefined;
|
|
39
|
+
readonly minWidth?: number | string | undefined;
|
|
40
|
+
readonly minHeight?: number | string | undefined;
|
|
41
|
+
readonly display?: "flex" | "none" | undefined;
|
|
42
|
+
readonly borderStyle?: (keyof import("cli-boxes").Boxes | import("cli-boxes").BoxStyle) | undefined;
|
|
43
|
+
readonly borderTop?: boolean | undefined;
|
|
44
|
+
readonly borderBottom?: boolean | undefined;
|
|
45
|
+
readonly borderLeft?: boolean | undefined;
|
|
46
|
+
readonly borderRight?: boolean | undefined;
|
|
47
|
+
readonly borderColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
48
|
+
readonly borderTopColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
49
|
+
readonly borderBottomColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
50
|
+
readonly borderLeftColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
51
|
+
readonly borderRightColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
52
|
+
readonly borderDimColor?: boolean | undefined;
|
|
53
|
+
readonly borderTopDimColor?: boolean | undefined;
|
|
54
|
+
readonly borderBottomDimColor?: boolean | undefined;
|
|
55
|
+
readonly borderLeftDimColor?: boolean | undefined;
|
|
56
|
+
readonly borderRightDimColor?: boolean | undefined;
|
|
57
|
+
readonly overflow?: "visible" | "hidden" | undefined;
|
|
58
|
+
readonly overflowX?: "visible" | "hidden" | undefined;
|
|
59
|
+
readonly overflowY?: "visible" | "hidden" | undefined;
|
|
60
|
+
readonly backgroundColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
61
|
+
} & {
|
|
62
|
+
readonly 'aria-label'?: string;
|
|
63
|
+
readonly 'aria-hidden'?: boolean;
|
|
64
|
+
readonly 'aria-role'?: "button" | "checkbox" | "combobox" | "list" | "listbox" | "listitem" | "menu" | "menuitem" | "option" | "progressbar" | "radio" | "radiogroup" | "tab" | "tablist" | "table" | "textbox" | "timer" | "toolbar";
|
|
65
|
+
readonly 'aria-state'?: {
|
|
66
|
+
readonly busy?: boolean;
|
|
67
|
+
readonly checked?: boolean;
|
|
68
|
+
readonly disabled?: boolean;
|
|
69
|
+
readonly expanded?: boolean;
|
|
70
|
+
readonly multiline?: boolean;
|
|
71
|
+
readonly multiselectable?: boolean;
|
|
72
|
+
readonly readonly?: boolean;
|
|
73
|
+
readonly required?: boolean;
|
|
74
|
+
readonly selected?: boolean;
|
|
75
|
+
};
|
|
76
|
+
} & {
|
|
77
|
+
children?: React.ReactNode | undefined;
|
|
78
|
+
} & React.RefAttributes<import("ink").DOMElement>>;
|
|
79
|
+
export declare function backgroundTaskStatusRenderRows(taskCount: number): number;
|
|
80
|
+
export declare function ForegroundExecDetachHintLine({ handle, width: terminalWidth }: {
|
|
81
|
+
handle: ForegroundExecDetachHandle;
|
|
82
|
+
width: number;
|
|
83
|
+
}): React.FunctionComponentElement<import("ink").TextProps>;
|
|
84
|
+
export declare function SubagentLivePanel({ activities, width: terminalWidth, terminalRows, compact, animationTick }: {
|
|
85
|
+
activities: AgentActivity[];
|
|
86
|
+
width: number;
|
|
87
|
+
terminalRows: number;
|
|
88
|
+
compact: boolean;
|
|
89
|
+
animationTick: number;
|
|
90
|
+
}): React.FunctionComponentElement<import("ink").TextProps> | React.FunctionComponentElement<{
|
|
91
|
+
readonly position?: "absolute" | "relative" | undefined;
|
|
92
|
+
readonly columnGap?: number | undefined;
|
|
93
|
+
readonly rowGap?: number | undefined;
|
|
94
|
+
readonly gap?: number | undefined;
|
|
95
|
+
readonly margin?: number | undefined;
|
|
96
|
+
readonly marginX?: number | undefined;
|
|
97
|
+
readonly marginY?: number | undefined;
|
|
98
|
+
readonly marginTop?: number | undefined;
|
|
99
|
+
readonly marginBottom?: number | undefined;
|
|
100
|
+
readonly marginLeft?: number | undefined;
|
|
101
|
+
readonly marginRight?: number | undefined;
|
|
102
|
+
readonly padding?: number | undefined;
|
|
103
|
+
readonly paddingX?: number | undefined;
|
|
104
|
+
readonly paddingY?: number | undefined;
|
|
105
|
+
readonly paddingTop?: number | undefined;
|
|
106
|
+
readonly paddingBottom?: number | undefined;
|
|
107
|
+
readonly paddingLeft?: number | undefined;
|
|
108
|
+
readonly paddingRight?: number | undefined;
|
|
109
|
+
readonly flexGrow?: number | undefined;
|
|
110
|
+
readonly flexShrink?: number | undefined;
|
|
111
|
+
readonly flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
112
|
+
readonly flexBasis?: number | string | undefined;
|
|
113
|
+
readonly flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
|
114
|
+
readonly alignItems?: "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
115
|
+
readonly alignSelf?: "flex-start" | "center" | "flex-end" | "auto" | undefined;
|
|
116
|
+
readonly justifyContent?: "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | "center" | undefined;
|
|
117
|
+
readonly width?: number | string | undefined;
|
|
118
|
+
readonly height?: number | string | undefined;
|
|
119
|
+
readonly minWidth?: number | string | undefined;
|
|
120
|
+
readonly minHeight?: number | string | undefined;
|
|
121
|
+
readonly display?: "flex" | "none" | undefined;
|
|
122
|
+
readonly borderStyle?: (keyof import("cli-boxes").Boxes | import("cli-boxes").BoxStyle) | undefined;
|
|
123
|
+
readonly borderTop?: boolean | undefined;
|
|
124
|
+
readonly borderBottom?: boolean | undefined;
|
|
125
|
+
readonly borderLeft?: boolean | undefined;
|
|
126
|
+
readonly borderRight?: boolean | undefined;
|
|
127
|
+
readonly borderColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
128
|
+
readonly borderTopColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
129
|
+
readonly borderBottomColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
130
|
+
readonly borderLeftColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
131
|
+
readonly borderRightColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
132
|
+
readonly borderDimColor?: boolean | undefined;
|
|
133
|
+
readonly borderTopDimColor?: boolean | undefined;
|
|
134
|
+
readonly borderBottomDimColor?: boolean | undefined;
|
|
135
|
+
readonly borderLeftDimColor?: boolean | undefined;
|
|
136
|
+
readonly borderRightDimColor?: boolean | undefined;
|
|
137
|
+
readonly overflow?: "visible" | "hidden" | undefined;
|
|
138
|
+
readonly overflowX?: "visible" | "hidden" | undefined;
|
|
139
|
+
readonly overflowY?: "visible" | "hidden" | undefined;
|
|
140
|
+
readonly backgroundColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
141
|
+
} & {
|
|
142
|
+
readonly 'aria-label'?: string;
|
|
143
|
+
readonly 'aria-hidden'?: boolean;
|
|
144
|
+
readonly 'aria-role'?: "button" | "checkbox" | "combobox" | "list" | "listbox" | "listitem" | "menu" | "menuitem" | "option" | "progressbar" | "radio" | "radiogroup" | "tab" | "tablist" | "table" | "textbox" | "timer" | "toolbar";
|
|
145
|
+
readonly 'aria-state'?: {
|
|
146
|
+
readonly busy?: boolean;
|
|
147
|
+
readonly checked?: boolean;
|
|
148
|
+
readonly disabled?: boolean;
|
|
149
|
+
readonly expanded?: boolean;
|
|
150
|
+
readonly multiline?: boolean;
|
|
151
|
+
readonly multiselectable?: boolean;
|
|
152
|
+
readonly readonly?: boolean;
|
|
153
|
+
readonly required?: boolean;
|
|
154
|
+
readonly selected?: boolean;
|
|
155
|
+
};
|
|
156
|
+
} & {
|
|
157
|
+
children?: React.ReactNode | undefined;
|
|
158
|
+
} & React.RefAttributes<import("ink").DOMElement>> | null;
|
|
159
|
+
export declare function subagentLivePanelRenderRows(activities: AgentActivity[], terminalRows: number, compact?: boolean): number;
|
|
160
|
+
export declare function BackgroundTaskStatusLine({ tasks, width: terminalWidth }: {
|
|
161
|
+
tasks: LocalAgentTask[];
|
|
162
|
+
width: number;
|
|
163
|
+
}): React.FunctionComponentElement<{
|
|
164
|
+
readonly position?: "absolute" | "relative" | undefined;
|
|
165
|
+
readonly columnGap?: number | undefined;
|
|
166
|
+
readonly rowGap?: number | undefined;
|
|
167
|
+
readonly gap?: number | undefined;
|
|
168
|
+
readonly margin?: number | undefined;
|
|
169
|
+
readonly marginX?: number | undefined;
|
|
170
|
+
readonly marginY?: number | undefined;
|
|
171
|
+
readonly marginTop?: number | undefined;
|
|
172
|
+
readonly marginBottom?: number | undefined;
|
|
173
|
+
readonly marginLeft?: number | undefined;
|
|
174
|
+
readonly marginRight?: number | undefined;
|
|
175
|
+
readonly padding?: number | undefined;
|
|
176
|
+
readonly paddingX?: number | undefined;
|
|
177
|
+
readonly paddingY?: number | undefined;
|
|
178
|
+
readonly paddingTop?: number | undefined;
|
|
179
|
+
readonly paddingBottom?: number | undefined;
|
|
180
|
+
readonly paddingLeft?: number | undefined;
|
|
181
|
+
readonly paddingRight?: number | undefined;
|
|
182
|
+
readonly flexGrow?: number | undefined;
|
|
183
|
+
readonly flexShrink?: number | undefined;
|
|
184
|
+
readonly flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
185
|
+
readonly flexBasis?: number | string | undefined;
|
|
186
|
+
readonly flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
|
187
|
+
readonly alignItems?: "flex-start" | "center" | "flex-end" | "stretch" | undefined;
|
|
188
|
+
readonly alignSelf?: "flex-start" | "center" | "flex-end" | "auto" | undefined;
|
|
189
|
+
readonly justifyContent?: "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | "center" | undefined;
|
|
190
|
+
readonly width?: number | string | undefined;
|
|
191
|
+
readonly height?: number | string | undefined;
|
|
192
|
+
readonly minWidth?: number | string | undefined;
|
|
193
|
+
readonly minHeight?: number | string | undefined;
|
|
194
|
+
readonly display?: "flex" | "none" | undefined;
|
|
195
|
+
readonly borderStyle?: (keyof import("cli-boxes").Boxes | import("cli-boxes").BoxStyle) | undefined;
|
|
196
|
+
readonly borderTop?: boolean | undefined;
|
|
197
|
+
readonly borderBottom?: boolean | undefined;
|
|
198
|
+
readonly borderLeft?: boolean | undefined;
|
|
199
|
+
readonly borderRight?: boolean | undefined;
|
|
200
|
+
readonly borderColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
201
|
+
readonly borderTopColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
202
|
+
readonly borderBottomColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
203
|
+
readonly borderLeftColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
204
|
+
readonly borderRightColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
205
|
+
readonly borderDimColor?: boolean | undefined;
|
|
206
|
+
readonly borderTopDimColor?: boolean | undefined;
|
|
207
|
+
readonly borderBottomDimColor?: boolean | undefined;
|
|
208
|
+
readonly borderLeftDimColor?: boolean | undefined;
|
|
209
|
+
readonly borderRightDimColor?: boolean | undefined;
|
|
210
|
+
readonly overflow?: "visible" | "hidden" | undefined;
|
|
211
|
+
readonly overflowX?: "visible" | "hidden" | undefined;
|
|
212
|
+
readonly overflowY?: "visible" | "hidden" | undefined;
|
|
213
|
+
readonly backgroundColor?: import("type-fest").LiteralUnion<import("ansi-styles").ForegroundColorName, string> | undefined;
|
|
214
|
+
} & {
|
|
215
|
+
readonly 'aria-label'?: string;
|
|
216
|
+
readonly 'aria-hidden'?: boolean;
|
|
217
|
+
readonly 'aria-role'?: "button" | "checkbox" | "combobox" | "list" | "listbox" | "listitem" | "menu" | "menuitem" | "option" | "progressbar" | "radio" | "radiogroup" | "tab" | "tablist" | "table" | "textbox" | "timer" | "toolbar";
|
|
218
|
+
readonly 'aria-state'?: {
|
|
219
|
+
readonly busy?: boolean;
|
|
220
|
+
readonly checked?: boolean;
|
|
221
|
+
readonly disabled?: boolean;
|
|
222
|
+
readonly expanded?: boolean;
|
|
223
|
+
readonly multiline?: boolean;
|
|
224
|
+
readonly multiselectable?: boolean;
|
|
225
|
+
readonly readonly?: boolean;
|
|
226
|
+
readonly required?: boolean;
|
|
227
|
+
readonly selected?: boolean;
|
|
228
|
+
};
|
|
229
|
+
} & {
|
|
230
|
+
children?: React.ReactNode | undefined;
|
|
231
|
+
} & React.RefAttributes<import("ink").DOMElement>>;
|
|
232
|
+
export declare function statusBarWidth(columns: number): number;
|
|
233
|
+
export declare function reduceStatus(status: UiStatus, event: import("../types/events.js").AgentEvent): UiStatus;
|
|
234
|
+
export declare function isActivePhase(phase: string): boolean;
|