@codeyantram/cli 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +60 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -20582,7 +20582,7 @@ function ChatProvider({ children }) {
20582
20582
  pendingOnDoneRef.current = null;
20583
20583
  const id = assistantMessageId;
20584
20584
  if (id !== null) {
20585
- updateMessages((current) => current.filter((message) => !(message.id === id && message.role === "assistant" && message.parts.length === 0)));
20585
+ updateMessages((current) => current.filter((message) => !(message.id === id && message.role === "assistant" && (message.parts.length === 0 || message.parts.some((part) => part.type === "tool-call" && part.result === undefined)))));
20586
20586
  }
20587
20587
  break;
20588
20588
  }
@@ -22044,6 +22044,60 @@ function getCurrentBranch() {
22044
22044
  const branch = result.stdout.trim();
22045
22045
  return branch.length > 0 ? branch : undefined;
22046
22046
  }
22047
+ // package.json
22048
+ var package_default = {
22049
+ name: "@codeyantram/cli",
22050
+ version: "0.1.2",
22051
+ license: "MIT",
22052
+ module: "src/index.tsx",
22053
+ type: "module",
22054
+ bin: {
22055
+ codeyantram: "dist/index.js"
22056
+ },
22057
+ files: [
22058
+ "dist",
22059
+ "README.md",
22060
+ "LICENSE"
22061
+ ],
22062
+ scripts: {
22063
+ dev: "bun run --watch src/index.tsx",
22064
+ build: "bun run -F @codeyantram/server build && bun build src/index.tsx --target=bun --outdir dist --banner '#!/usr/bin/env bun' --external react --external '@opentui/*' --external web-tree-sitter --external 'tree-sitter-*' && cp ../server/dist/index.js dist/server.js && chmod +x dist/index.js",
22065
+ prepack: "bun run build && cp ../../README.md README.md && cp ../../LICENSE LICENSE",
22066
+ typecheck: "tsc --noEmit",
22067
+ test: "bun test"
22068
+ },
22069
+ devDependencies: {
22070
+ "@codeyantram/server": "workspace:*",
22071
+ "@codeyantram/shared": "workspace:*",
22072
+ "@types/react": "^19.2.18",
22073
+ hono: "^4.13.5",
22074
+ typescript: "^5.9.3"
22075
+ },
22076
+ dependencies: {
22077
+ "@libsql/client": "0.18.0",
22078
+ "@opentui/core": "^0.5.8",
22079
+ "@opentui/react": "^0.5.8",
22080
+ "@vscode/ripgrep": "^1.18.0",
22081
+ react: "^19.2.8",
22082
+ "tree-sitter-bash": "^0.25.1",
22083
+ "tree-sitter-c": "^0.24.1",
22084
+ "tree-sitter-c-sharp": "^0.23.5",
22085
+ "tree-sitter-cpp": "^0.23.4",
22086
+ "tree-sitter-css": "^0.25.0",
22087
+ "tree-sitter-go": "^0.25.0",
22088
+ "tree-sitter-html": "^0.23.2",
22089
+ "tree-sitter-java": "^0.23.5",
22090
+ "tree-sitter-json": "^0.24.8",
22091
+ "tree-sitter-php": "^0.24.2",
22092
+ "tree-sitter-python": "^0.25.0",
22093
+ "tree-sitter-ruby": "^0.23.1",
22094
+ "tree-sitter-rust": "^0.24.0",
22095
+ "web-tree-sitter": "0.25.10"
22096
+ },
22097
+ engines: {
22098
+ bun: ">=1.3.0"
22099
+ }
22100
+ };
22047
22101
 
22048
22102
  // src/screens/home.tsx
22049
22103
  import { jsxDEV as jsxDEV27 } from "@opentui/react/jsx-dev-runtime";
@@ -22119,8 +22173,11 @@ function Home() {
22119
22173
  /* @__PURE__ */ jsxDEV27("box", {
22120
22174
  children: /* @__PURE__ */ jsxDEV27("text", {
22121
22175
  attributes: TextAttributes12.DIM,
22122
- children: "v0.1.0"
22123
- }, undefined, false, undefined, this)
22176
+ children: [
22177
+ "v",
22178
+ package_default.version
22179
+ ]
22180
+ }, undefined, true, undefined, this)
22124
22181
  }, undefined, false, undefined, this)
22125
22182
  ]
22126
22183
  }, undefined, true, undefined, this)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeyantram/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "license": "MIT",
5
5
  "module": "src/index.tsx",
6
6
  "type": "module",