neoctl 0.2.10 → 0.2.12
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 -1
- package/dist/index.js +3 -1
- 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/index.js +286 -264
- package/dist/repl/index.js.map +1 -1
- 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 +179 -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/html.js +8 -14
- package/dist/web/html.js.map +1 -1
- package/dist/web/index.d.ts +0 -5
- package/dist/web/index.js +7 -41
- package/dist/web/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/install-ripgrep.cjs +196 -196
- package/vendor/ripgrep/darwin-arm64/COPYING +3 -3
- package/vendor/ripgrep/darwin-arm64/LICENSE-MIT +21 -21
- package/vendor/ripgrep/darwin-arm64/UNLICENSE +24 -24
- package/vendor/ripgrep/darwin-arm64/manifest.json +7 -7
- package/vendor/ripgrep/darwin-x64/COPYING +3 -3
- package/vendor/ripgrep/darwin-x64/LICENSE-MIT +21 -21
- package/vendor/ripgrep/darwin-x64/UNLICENSE +24 -24
- package/vendor/ripgrep/darwin-x64/manifest.json +7 -7
- package/vendor/ripgrep/linux-arm64/COPYING +3 -3
- package/vendor/ripgrep/linux-arm64/LICENSE-MIT +21 -21
- package/vendor/ripgrep/linux-arm64/UNLICENSE +24 -24
- package/vendor/ripgrep/linux-arm64/manifest.json +7 -7
- package/vendor/ripgrep/linux-x64/COPYING +3 -3
- package/vendor/ripgrep/linux-x64/LICENSE-MIT +21 -21
- package/vendor/ripgrep/linux-x64/UNLICENSE +24 -24
- package/vendor/ripgrep/linux-x64/manifest.json +7 -7
- package/vendor/ripgrep/win32-arm64/manifest.json +7 -7
- package/dist/tips.d.ts +0 -10
- package/dist/tips.js +0 -168
- package/dist/tips.js.map +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2015 Andrew Gallant
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015 Andrew Gallant
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
This is free and unencumbered software released into the public domain.
|
|
2
|
-
|
|
3
|
-
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
4
|
-
distribute this software, either in source code form or as a compiled
|
|
5
|
-
binary, for any purpose, commercial or non-commercial, and by any
|
|
6
|
-
means.
|
|
7
|
-
|
|
8
|
-
In jurisdictions that recognize copyright laws, the author or authors
|
|
9
|
-
of this software dedicate any and all copyright interest in the
|
|
10
|
-
software to the public domain. We make this dedication for the benefit
|
|
11
|
-
of the public at large and to the detriment of our heirs and
|
|
12
|
-
successors. We intend this dedication to be an overt act of
|
|
13
|
-
relinquishment in perpetuity of all present and future rights to this
|
|
14
|
-
software under copyright law.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
-
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
20
|
-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
21
|
-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
22
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
|
23
|
-
|
|
24
|
-
For more information, please refer to <http://unlicense.org/>
|
|
1
|
+
This is free and unencumbered software released into the public domain.
|
|
2
|
+
|
|
3
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
4
|
+
distribute this software, either in source code form or as a compiled
|
|
5
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
|
6
|
+
means.
|
|
7
|
+
|
|
8
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
|
9
|
+
of this software dedicate any and all copyright interest in the
|
|
10
|
+
software to the public domain. We make this dedication for the benefit
|
|
11
|
+
of the public at large and to the detriment of our heirs and
|
|
12
|
+
successors. We intend this dedication to be an overt act of
|
|
13
|
+
relinquishment in perpetuity of all present and future rights to this
|
|
14
|
+
software under copyright law.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
20
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
21
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
23
|
+
|
|
24
|
+
For more information, please refer to <http://unlicense.org/>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ripgrep",
|
|
3
|
-
"version": "15.1.0",
|
|
4
|
-
"source": "https://github.com/BurntSushi/ripgrep/releases/tag/15.1.0",
|
|
5
|
-
"asset": "ripgrep-15.1.0-aarch64-unknown-linux-gnu.tar.gz",
|
|
6
|
-
"installedAt": "2026-06-08T09:42:06.751Z"
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "ripgrep",
|
|
3
|
+
"version": "15.1.0",
|
|
4
|
+
"source": "https://github.com/BurntSushi/ripgrep/releases/tag/15.1.0",
|
|
5
|
+
"asset": "ripgrep-15.1.0-aarch64-unknown-linux-gnu.tar.gz",
|
|
6
|
+
"installedAt": "2026-06-08T09:42:06.751Z"
|
|
7
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
This project is dual-licensed under the Unlicense and MIT licenses.
|
|
2
|
-
|
|
3
|
-
You may use this code under the terms of either license.
|
|
1
|
+
This project is dual-licensed under the Unlicense and MIT licenses.
|
|
2
|
+
|
|
3
|
+
You may use this code under the terms of either license.
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2015 Andrew Gallant
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015 Andrew Gallant
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
This is free and unencumbered software released into the public domain.
|
|
2
|
-
|
|
3
|
-
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
4
|
-
distribute this software, either in source code form or as a compiled
|
|
5
|
-
binary, for any purpose, commercial or non-commercial, and by any
|
|
6
|
-
means.
|
|
7
|
-
|
|
8
|
-
In jurisdictions that recognize copyright laws, the author or authors
|
|
9
|
-
of this software dedicate any and all copyright interest in the
|
|
10
|
-
software to the public domain. We make this dedication for the benefit
|
|
11
|
-
of the public at large and to the detriment of our heirs and
|
|
12
|
-
successors. We intend this dedication to be an overt act of
|
|
13
|
-
relinquishment in perpetuity of all present and future rights to this
|
|
14
|
-
software under copyright law.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
-
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
20
|
-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
21
|
-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
22
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
|
23
|
-
|
|
24
|
-
For more information, please refer to <http://unlicense.org/>
|
|
1
|
+
This is free and unencumbered software released into the public domain.
|
|
2
|
+
|
|
3
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
4
|
+
distribute this software, either in source code form or as a compiled
|
|
5
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
|
6
|
+
means.
|
|
7
|
+
|
|
8
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
|
9
|
+
of this software dedicate any and all copyright interest in the
|
|
10
|
+
software to the public domain. We make this dedication for the benefit
|
|
11
|
+
of the public at large and to the detriment of our heirs and
|
|
12
|
+
successors. We intend this dedication to be an overt act of
|
|
13
|
+
relinquishment in perpetuity of all present and future rights to this
|
|
14
|
+
software under copyright law.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
20
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
21
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
23
|
+
|
|
24
|
+
For more information, please refer to <http://unlicense.org/>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ripgrep",
|
|
3
|
-
"version": "15.1.0",
|
|
4
|
-
"source": "https://github.com/BurntSushi/ripgrep/releases/tag/15.1.0",
|
|
5
|
-
"asset": "ripgrep-15.1.0-x86_64-unknown-linux-musl.tar.gz",
|
|
6
|
-
"installedAt": "2026-06-08T09:41:25.983Z"
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "ripgrep",
|
|
3
|
+
"version": "15.1.0",
|
|
4
|
+
"source": "https://github.com/BurntSushi/ripgrep/releases/tag/15.1.0",
|
|
5
|
+
"asset": "ripgrep-15.1.0-x86_64-unknown-linux-musl.tar.gz",
|
|
6
|
+
"installedAt": "2026-06-08T09:41:25.983Z"
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ripgrep",
|
|
3
|
-
"version": "15.1.0",
|
|
4
|
-
"source": "https://github.com/BurntSushi/ripgrep/releases/tag/15.1.0",
|
|
5
|
-
"asset": "ripgrep-15.1.0-aarch64-pc-windows-msvc.zip",
|
|
6
|
-
"installedAt": "2026-06-08T09:40:39.867Z"
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "ripgrep",
|
|
3
|
+
"version": "15.1.0",
|
|
4
|
+
"source": "https://github.com/BurntSushi/ripgrep/releases/tag/15.1.0",
|
|
5
|
+
"asset": "ripgrep-15.1.0-aarch64-pc-windows-msvc.zip",
|
|
6
|
+
"installedAt": "2026-06-08T09:40:39.867Z"
|
|
7
|
+
}
|
package/dist/tips.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface AppTip {
|
|
2
|
-
id: string;
|
|
3
|
-
title: string;
|
|
4
|
-
placeholder: string;
|
|
5
|
-
detail: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const appTips: AppTip[];
|
|
8
|
-
export declare function tipAt(index: number): AppTip;
|
|
9
|
-
export declare function initialTipIndex(seed: string): number;
|
|
10
|
-
export declare function formatTipLine(tip: AppTip): string;
|
package/dist/tips.js
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
export const appTips = [
|
|
2
|
-
{
|
|
3
|
-
id: "ask-directly",
|
|
4
|
-
title: "Describe the goal directly",
|
|
5
|
-
placeholder: "Tip: Type the task you want done, e.g. “summarize this project structure”",
|
|
6
|
-
detail: "You can describe goals, constraints, and expected output in plain language. More specific requests usually produce better results.",
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
id: "slash-help",
|
|
10
|
-
title: "View commands",
|
|
11
|
-
placeholder: "Tip: Type /help to see available commands",
|
|
12
|
-
detail: "Use /help to list built-in commands and their usage.",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
id: "slash-completion",
|
|
16
|
-
title: "Complete slash commands",
|
|
17
|
-
placeholder: "Tip: Type /, use ↑/↓ to select, and Tab to complete",
|
|
18
|
-
detail: "Slash commands show completions as you type. Use arrow keys to select, Tab to complete, and Enter to run.",
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
id: "history",
|
|
22
|
-
title: "Reuse previous input",
|
|
23
|
-
placeholder: "Tip: Press ↑ on an empty prompt to recall previous input",
|
|
24
|
-
detail: "Use ↑/↓ to browse input history so you can quickly retry or edit earlier prompts.",
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
id: "interrupt",
|
|
28
|
-
title: "Interrupt or exit",
|
|
29
|
-
placeholder: "Tip: Ctrl+C clears input or interrupts work; press again on empty input to exit",
|
|
30
|
-
detail: "Ctrl+C clears non-empty input, requests interruption while work is running, and exits after a second press on an empty prompt.",
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
id: "interrupt-next",
|
|
34
|
-
title: "Interrupt and send the next message",
|
|
35
|
-
placeholder: "Tip: You can type while the assistant is busy; Enter interrupts it and sends the next message",
|
|
36
|
-
detail: "When foreground work is running, submit another prompt to stop the current model/tool run and start the new prompt immediately. Background tasks and detached sessions keep running.",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
id: "paste",
|
|
40
|
-
title: "Paste content",
|
|
41
|
-
placeholder: "Tip: Paste text directly; long text may be folded into an attachment reference",
|
|
42
|
-
detail: "Short pasted text is inserted directly. Longer pasted text can be folded into a [text_...] reference and sent with your message.",
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
id: "image-paste",
|
|
46
|
-
title: "Paste images",
|
|
47
|
-
placeholder: "Tip: With vision-capable models, paste screenshots and use load_image to inspect them later as [img#1]",
|
|
48
|
-
detail: "If the current model supports image input, you can paste images or screenshots from the clipboard and submit them with your prompt.",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
id: "sessions",
|
|
52
|
-
title: "Resume sessions",
|
|
53
|
-
placeholder: "Tip: Type /sessions to browse and resume saved sessions",
|
|
54
|
-
detail: "Use /sessions to open saved sessions and continue working with previous context.",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
id: "model",
|
|
58
|
-
title: "Switch models",
|
|
59
|
-
placeholder: "Tip: Type /model to view or switch model and reasoning effort",
|
|
60
|
-
detail: "Use /model to inspect the current model, or pass a model id and reasoning effort such as /model gpt-5 high.",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
id: "compact",
|
|
64
|
-
title: "Compact long context",
|
|
65
|
-
placeholder: "Tip: Use /compact in long sessions to compress earlier context",
|
|
66
|
-
detail: "Manual compaction preserves important context while reducing pressure on the model context window.",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
id: "pure",
|
|
70
|
-
title: "Clean up after blocks",
|
|
71
|
-
placeholder: "Tip: If an upstream WAF or risk block occurs, try /pure to sanitize context",
|
|
72
|
-
detail: "/pure performs a more conservative context cleanup that can help recover after upstream safety or WAF blocks.",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
id: "export",
|
|
76
|
-
title: "Export a transcript",
|
|
77
|
-
placeholder: "Tip: Type /export <absolute-path.md> to export the current transcript",
|
|
78
|
-
detail: "Use /export to save the current session as Markdown for review, sharing, or archiving.",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
id: "cost",
|
|
82
|
-
title: "Check usage",
|
|
83
|
-
placeholder: "Tip: Type /cost to show token usage for this REPL session",
|
|
84
|
-
detail: "/cost displays accumulated request and token usage for the current session.",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
id: "state",
|
|
88
|
-
title: "Inspect runtime state",
|
|
89
|
-
placeholder: "Tip: Type /state to inspect engine state for troubleshooting",
|
|
90
|
-
detail: "/state shows query engine state and is useful when debugging configuration, context, or runtime behavior.",
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
id: "login",
|
|
94
|
-
title: "Configure providers",
|
|
95
|
-
placeholder: "Tip: Type /login to configure and save a model provider",
|
|
96
|
-
detail: "Use /login when setting up the app for the first time or switching provider credentials.",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
id: "logs",
|
|
100
|
-
title: "Enable communication logs",
|
|
101
|
-
placeholder: "Tip: Use /log <directory> to capture model communication logs",
|
|
102
|
-
detail: "Use /log with an absolute directory to write model communication logs; use /log off to disable them.",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
id: "plan",
|
|
106
|
-
title: "Ask for a plan",
|
|
107
|
-
placeholder: "Tip: For complex work, ask the assistant to plan first and verify each step",
|
|
108
|
-
detail: "For multi-step engineering tasks, ask for a short plan, incremental edits, and concrete validation at the end.",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
id: "constraints",
|
|
112
|
-
title: "State constraints",
|
|
113
|
-
placeholder: "Tip: Add constraints like “do not change public APIs” or “only edit src/web”",
|
|
114
|
-
detail: "Mention scope, style, compatibility, and things to avoid up front to reduce rework.",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
id: "validation",
|
|
118
|
-
title: "Request validation",
|
|
119
|
-
placeholder: "Tip: Ask to run npm test, typecheck, or a project-specific command after changes",
|
|
120
|
-
detail: "If you know the right validation command, include it in the request so the assistant can verify the work precisely.",
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
id: "reset",
|
|
124
|
-
title: "Start fresh",
|
|
125
|
-
placeholder: "Tip: Type /reset to clear the current transcript without leaving the REPL",
|
|
126
|
-
detail: "/reset clears the visible conversation and adds a reset marker so you can start a fresh thread in the same session.",
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
id: "focus-files",
|
|
130
|
-
title: "Point to relevant files",
|
|
131
|
-
placeholder: "Tip: Mention exact files or symbols, e.g. “check src/repl/index.ts PromptLine”",
|
|
132
|
-
detail: "Naming files, functions, errors, or commands helps the assistant inspect the right context first and avoid broad searches.",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
id: "review-diff",
|
|
136
|
-
title: "Review before finishing",
|
|
137
|
-
placeholder: "Tip: Ask to show or summarize the diff before wrapping up a change",
|
|
138
|
-
detail: "For risky edits, ask for a diff summary or specific files changed before running validation and finalizing.",
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
id: "current-docs",
|
|
142
|
-
title: "Use current docs",
|
|
143
|
-
placeholder: "Tip: For fast-moving APIs, ask the assistant to search the web before changing code",
|
|
144
|
-
detail: "When behavior depends on current packages, SDKs, or service docs, request a web search so the answer is not based only on local code.",
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
id: "parallel-investigation",
|
|
148
|
-
title: "Split independent work",
|
|
149
|
-
placeholder: "Tip: For independent checks, ask the assistant to investigate them in parallel",
|
|
150
|
-
detail: "Independent searches, audits, or comparisons can be delegated to subagents so findings come back faster and with clearer scope.",
|
|
151
|
-
},
|
|
152
|
-
];
|
|
153
|
-
export function tipAt(index) {
|
|
154
|
-
return appTips[positiveModulo(index, appTips.length)] ?? appTips[0];
|
|
155
|
-
}
|
|
156
|
-
export function initialTipIndex(seed) {
|
|
157
|
-
let hash = 0;
|
|
158
|
-
for (const char of seed)
|
|
159
|
-
hash = (hash * 31 + char.charCodeAt(0)) | 0;
|
|
160
|
-
return positiveModulo(hash, appTips.length);
|
|
161
|
-
}
|
|
162
|
-
export function formatTipLine(tip) {
|
|
163
|
-
return `Tip: ${tip.title} — ${tip.detail}`;
|
|
164
|
-
}
|
|
165
|
-
function positiveModulo(value, modulo) {
|
|
166
|
-
return ((value % modulo) + modulo) % modulo;
|
|
167
|
-
}
|
|
168
|
-
//# sourceMappingURL=tips.js.map
|
package/dist/tips.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tips.js","sourceRoot":"","sources":["../src/tips.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,OAAO,GAAa;IAC/B;QACE,EAAE,EAAE,cAAc;QAClB,KAAK,EAAE,4BAA4B;QACnC,WAAW,EAAE,2EAA2E;QACxF,MAAM,EAAE,oIAAoI;KAC7I;IACD;QACE,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,eAAe;QACtB,WAAW,EAAE,2CAA2C;QACxD,MAAM,EAAE,sDAAsD;KAC/D;IACD;QACE,EAAE,EAAE,kBAAkB;QACtB,KAAK,EAAE,yBAAyB;QAChC,WAAW,EAAE,qDAAqD;QAClE,MAAM,EAAE,2GAA2G;KACpH;IACD;QACE,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,sBAAsB;QAC7B,WAAW,EAAE,0DAA0D;QACvE,MAAM,EAAE,mFAAmF;KAC5F;IACD;QACE,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,iFAAiF;QAC9F,MAAM,EAAE,gIAAgI;KACzI;IACD;QACE,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,qCAAq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