@ridit/lens 0.4.1 → 0.4.2

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.mjs CHANGED
@@ -108867,8 +108867,9 @@ function ChatRunner({
108867
108867
  color: ACCENT,
108868
108868
  children: "●"
108869
108869
  }, undefined, false, undefined, this),
108870
- /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(MessageBody, {
108871
- content: currentChunk
108870
+ /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text, {
108871
+ wrap: "wrap",
108872
+ children: currentChunk
108872
108873
  }, undefined, false, undefined, this)
108873
108874
  ]
108874
108875
  }, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(jsx_dev_runtime14.Fragment, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ridit/lens",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Understand your codebase.",
5
5
  "author": "Ridit Jangra <riditjangra09@gmail.com> (https://ridit.space)",
6
6
  "license": "MIT",
@@ -20,8 +20,6 @@
20
20
  "test": "bun test"
21
21
  },
22
22
  "dependencies": {
23
- "@ridit/ink-ui": "*",
24
- "@ridit/lens-core": "*",
25
23
  "chalk": "^5.6.2",
26
24
  "commander": "^14.0.3",
27
25
  "figures": "^6.1.0",
@@ -32,8 +30,7 @@
32
30
  },
33
31
  "devDependencies": {
34
32
  "@types/react": "^18.0.0",
35
- "@types/bun": "latest",
36
- "@ridit/typescript-config": "*"
33
+ "@types/bun": "latest"
37
34
  },
38
35
  "peerDependencies": {
39
36
  "typescript": "^5"
@@ -3,7 +3,6 @@ import { Box, Text, Static, useInput } from "ink";
3
3
  import { ACCENT, GREEN, RED } from "../../colors";
4
4
  import { AppHeader, InputBox, ShortcutBar, TypewriterText } from "./StatusBar";
5
5
  import { StaticMessage } from "./Message";
6
- import { MessageBody } from "@ridit/ink-ui";
7
6
  import type { UIMessage } from "./Message";
8
7
  import { ProviderSetup } from "../provider/ProviderSetup";
9
8
  import {
@@ -455,7 +454,7 @@ export function ChatRunner({
455
454
  {currentChunk ? (
456
455
  <Box gap={1}>
457
456
  <Text color={ACCENT}>●</Text>
458
- <MessageBody content={currentChunk} />
457
+ <Text wrap="wrap">{currentChunk}</Text>
459
458
  </Box>
460
459
  ) : (
461
460
  <>