@averagejoeslab/puppuccino-tui 0.1.1 → 0.1.3
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.cjs +1 -3
- package/dist/index.js +3 -4
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -20,7 +20,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
-
Cmd: () => import_tui2.Cmd,
|
|
24
23
|
DarkTheme: () => DarkTheme,
|
|
25
24
|
KALDI: () => KALDI,
|
|
26
25
|
KALDI_COLORS: () => KALDI_COLORS,
|
|
@@ -254,7 +253,7 @@ function getPrompt() {
|
|
|
254
253
|
|
|
255
254
|
// src/app.ts
|
|
256
255
|
function init(options) {
|
|
257
|
-
const { width, height } = (0, import_term.
|
|
256
|
+
const { width, height } = (0, import_term.getSize)();
|
|
258
257
|
const theme = getTheme(options?.theme || "kaldi");
|
|
259
258
|
const model = {
|
|
260
259
|
input: import_widgets.TextInput.init({
|
|
@@ -555,7 +554,6 @@ var import_style3 = require("@averagejoeslab/style");
|
|
|
555
554
|
var import_markdown2 = require("@averagejoeslab/markdown");
|
|
556
555
|
// Annotate the CommonJS export names for ESM import in node:
|
|
557
556
|
0 && (module.exports = {
|
|
558
|
-
Cmd,
|
|
559
557
|
DarkTheme,
|
|
560
558
|
KALDI,
|
|
561
559
|
KALDI_COLORS,
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Program } from "@averagejoeslab/tui";
|
|
3
3
|
import { Spinner, TextInput, Viewport } from "@averagejoeslab/widgets";
|
|
4
4
|
import { render as renderMarkdown } from "@averagejoeslab/markdown";
|
|
5
|
-
import {
|
|
5
|
+
import { getSize } from "@averagejoeslab/term";
|
|
6
6
|
|
|
7
7
|
// src/themes/index.ts
|
|
8
8
|
import { Style } from "@averagejoeslab/style";
|
|
@@ -209,7 +209,7 @@ function getPrompt() {
|
|
|
209
209
|
|
|
210
210
|
// src/app.ts
|
|
211
211
|
function init(options) {
|
|
212
|
-
const { width, height } =
|
|
212
|
+
const { width, height } = getSize();
|
|
213
213
|
const theme = getTheme(options?.theme || "kaldi");
|
|
214
214
|
const model = {
|
|
215
215
|
input: TextInput.init({
|
|
@@ -505,11 +505,10 @@ function createApp(options) {
|
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
// src/index.ts
|
|
508
|
-
import { Program as Program2, Key as Key2
|
|
508
|
+
import { Program as Program2, Key as Key2 } from "@averagejoeslab/tui";
|
|
509
509
|
import { Style as Style3 } from "@averagejoeslab/style";
|
|
510
510
|
import { render } from "@averagejoeslab/markdown";
|
|
511
511
|
export {
|
|
512
|
-
Cmd2 as Cmd,
|
|
513
512
|
DarkTheme,
|
|
514
513
|
KALDI,
|
|
515
514
|
KALDI_COLORS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@averagejoeslab/puppuccino-tui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Terminal UI for Puppuccino AI coding agent",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
|
-
"build": "tsup src/index.ts --format cjs,esm
|
|
17
|
+
"build": "tsup src/index.ts --format cjs,esm",
|
|
18
18
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
19
19
|
"test": "vitest run",
|
|
20
20
|
"typecheck": "tsc --noEmit",
|