@austinthesing/magic-shell 0.2.9 → 0.2.10
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/cli.js +6 -5
- package/dist/tui.js +6 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -22863,7 +22863,7 @@ function createMainUI() {
|
|
|
22863
22863
|
paddingLeft: 1,
|
|
22864
22864
|
paddingRight: 1,
|
|
22865
22865
|
paddingTop: 0,
|
|
22866
|
-
paddingBottom:
|
|
22866
|
+
paddingBottom: 1,
|
|
22867
22867
|
backgroundColor: theme.colors.backgroundPanel
|
|
22868
22868
|
});
|
|
22869
22869
|
mainContainer.add(inputContainer);
|
|
@@ -22878,8 +22878,8 @@ function createMainUI() {
|
|
|
22878
22878
|
keyBindings: [
|
|
22879
22879
|
{ name: "return", action: "submit" },
|
|
22880
22880
|
{ name: "linefeed", action: "submit" },
|
|
22881
|
-
{ name: "return", shift: true, action: "
|
|
22882
|
-
{ name: "linefeed", shift: true, action: "
|
|
22881
|
+
{ name: "return", shift: true, action: "submit" },
|
|
22882
|
+
{ name: "linefeed", shift: true, action: "submit" },
|
|
22883
22883
|
{ name: "return", meta: true, action: "submit" }
|
|
22884
22884
|
],
|
|
22885
22885
|
onSubmit: () => {
|
|
@@ -22890,7 +22890,8 @@ function createMainUI() {
|
|
|
22890
22890
|
inputContainer.add(inputField);
|
|
22891
22891
|
inputHintText = new TextRenderable(renderer, {
|
|
22892
22892
|
id: "input-hint",
|
|
22893
|
-
content: getInputHintContent()
|
|
22893
|
+
content: getInputHintContent(),
|
|
22894
|
+
marginTop: 1
|
|
22894
22895
|
});
|
|
22895
22896
|
inputContainer.add(inputHintText);
|
|
22896
22897
|
helpBarText = new TextRenderable(renderer, {
|
|
@@ -22920,7 +22921,7 @@ function getHelpBarContent() {
|
|
|
22920
22921
|
}
|
|
22921
22922
|
function getInputHintContent() {
|
|
22922
22923
|
const theme = getTheme();
|
|
22923
|
-
return t`${fg(theme.colors.
|
|
22924
|
+
return t`${fg(theme.colors.primary)("Enter")} ${fg(theme.colors.textMuted)("to send")}`;
|
|
22924
22925
|
}
|
|
22925
22926
|
function getWelcomeMessage() {
|
|
22926
22927
|
const providerName = config.provider === "opencode-zen" ? "OpenCode Zen" : "OpenRouter";
|
package/dist/tui.js
CHANGED
|
@@ -22863,7 +22863,7 @@ function createMainUI() {
|
|
|
22863
22863
|
paddingLeft: 1,
|
|
22864
22864
|
paddingRight: 1,
|
|
22865
22865
|
paddingTop: 0,
|
|
22866
|
-
paddingBottom:
|
|
22866
|
+
paddingBottom: 1,
|
|
22867
22867
|
backgroundColor: theme.colors.backgroundPanel
|
|
22868
22868
|
});
|
|
22869
22869
|
mainContainer.add(inputContainer);
|
|
@@ -22878,8 +22878,8 @@ function createMainUI() {
|
|
|
22878
22878
|
keyBindings: [
|
|
22879
22879
|
{ name: "return", action: "submit" },
|
|
22880
22880
|
{ name: "linefeed", action: "submit" },
|
|
22881
|
-
{ name: "return", shift: true, action: "
|
|
22882
|
-
{ name: "linefeed", shift: true, action: "
|
|
22881
|
+
{ name: "return", shift: true, action: "submit" },
|
|
22882
|
+
{ name: "linefeed", shift: true, action: "submit" },
|
|
22883
22883
|
{ name: "return", meta: true, action: "submit" }
|
|
22884
22884
|
],
|
|
22885
22885
|
onSubmit: () => {
|
|
@@ -22890,7 +22890,8 @@ function createMainUI() {
|
|
|
22890
22890
|
inputContainer.add(inputField);
|
|
22891
22891
|
inputHintText = new TextRenderable(renderer, {
|
|
22892
22892
|
id: "input-hint",
|
|
22893
|
-
content: getInputHintContent()
|
|
22893
|
+
content: getInputHintContent(),
|
|
22894
|
+
marginTop: 1
|
|
22894
22895
|
});
|
|
22895
22896
|
inputContainer.add(inputHintText);
|
|
22896
22897
|
helpBarText = new TextRenderable(renderer, {
|
|
@@ -22920,7 +22921,7 @@ function getHelpBarContent() {
|
|
|
22920
22921
|
}
|
|
22921
22922
|
function getInputHintContent() {
|
|
22922
22923
|
const theme = getTheme();
|
|
22923
|
-
return t`${fg(theme.colors.
|
|
22924
|
+
return t`${fg(theme.colors.primary)("Enter")} ${fg(theme.colors.textMuted)("to send")}`;
|
|
22924
22925
|
}
|
|
22925
22926
|
function getWelcomeMessage() {
|
|
22926
22927
|
const providerName = config.provider === "opencode-zen" ? "OpenCode Zen" : "OpenRouter";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@austinthesing/magic-shell",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "Natural language to terminal commands with safety features. Supports OpenCode Zen (with free models) and OpenRouter.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|