clairo 1.2.1 → 1.2.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/cli.js +11 -3
- package/package.json +2 -1
package/dist/cli.js
CHANGED
|
@@ -723,7 +723,7 @@ function generatePRContent() {
|
|
|
723
723
|
|
|
724
724
|
Rules:
|
|
725
725
|
- "title": a concise PR title in imperative mood, under 72 characters
|
|
726
|
-
- "body": a markdown PR description
|
|
726
|
+
- "body": a markdown PR description focusing on the motivation and what the PR achieves at a high level. Keep it concise \u2014 a short paragraph or two is ideal. Use bullet points only when there are genuinely distinct changes worth calling out separately. For larger PRs, organize with markdown sections (## headings) to break up the description.
|
|
727
727
|
- Do not include any text outside the JSON object
|
|
728
728
|
- Do not add any "Co-Authored-By" or attribution lines`;
|
|
729
729
|
return runClaudePrompt(prompt);
|
|
@@ -1409,6 +1409,7 @@ import { useState as useState10 } from "react";
|
|
|
1409
1409
|
import { TitledBox } from "@mishieck/ink-titled-box";
|
|
1410
1410
|
import { Box as Box4, Text as Text3, useInput as useInput3 } from "ink";
|
|
1411
1411
|
import { ScrollView as ScrollView2 } from "ink-scroll-view";
|
|
1412
|
+
import Spinner from "ink-spinner";
|
|
1412
1413
|
|
|
1413
1414
|
// src/hooks/jira/useJiraTickets.ts
|
|
1414
1415
|
import { useCallback as useCallback4, useState as useState5 } from "react";
|
|
@@ -1895,7 +1896,10 @@ function PullRequestsBox({
|
|
|
1895
1896
|
children: /* @__PURE__ */ jsxs3(Box4, { flexDirection: "column", paddingX: 1, flexGrow: 1, overflow: "hidden", children: [
|
|
1896
1897
|
loading && /* @__PURE__ */ jsx4(Text3, { dimColor: true, children: "Loading PRs..." }),
|
|
1897
1898
|
error && /* @__PURE__ */ jsx4(Text3, { color: "red", children: error }),
|
|
1898
|
-
isGeneratingPR && /* @__PURE__ */
|
|
1899
|
+
isGeneratingPR && /* @__PURE__ */ jsxs3(Text3, { color: "yellow", children: [
|
|
1900
|
+
/* @__PURE__ */ jsx4(Spinner, { type: "dots" }),
|
|
1901
|
+
" Generating PR with Claude... (Esc to cancel)"
|
|
1902
|
+
] }),
|
|
1899
1903
|
!loading && !error && /* @__PURE__ */ jsxs3(ScrollView2, { ref: scrollRef, children: [
|
|
1900
1904
|
prs.length === 0 && /* @__PURE__ */ jsx4(Text3, { dimColor: true, children: "No PRs for this branch" }, "empty"),
|
|
1901
1905
|
prs.map((pr, idx) => {
|
|
@@ -2783,6 +2787,7 @@ import { useEffect as useEffect11, useRef as useRef7, useState as useState15 } f
|
|
|
2783
2787
|
import { TitledBox as TitledBox5 } from "@mishieck/ink-titled-box";
|
|
2784
2788
|
import { Box as Box13, Text as Text12, useInput as useInput10 } from "ink";
|
|
2785
2789
|
import { ScrollView as ScrollView6 } from "ink-scroll-view";
|
|
2790
|
+
import Spinner2 from "ink-spinner";
|
|
2786
2791
|
import TextInput2 from "ink-text-input";
|
|
2787
2792
|
import { jsx as jsx13, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2788
2793
|
function LogViewerBox({ date, content, isActive, onRefresh, onLogCreated }) {
|
|
@@ -2896,7 +2901,10 @@ ${value.trim()}
|
|
|
2896
2901
|
}
|
|
2897
2902
|
) }) }),
|
|
2898
2903
|
isGeneratingStandup && /* @__PURE__ */ jsx13(TitledBox5, { borderStyle: "round", titles: ["Standup Notes"], borderColor: "yellow", children: /* @__PURE__ */ jsxs12(Box13, { paddingX: 1, flexDirection: "column", children: [
|
|
2899
|
-
/* @__PURE__ */
|
|
2904
|
+
/* @__PURE__ */ jsxs12(Text12, { color: "yellow", children: [
|
|
2905
|
+
/* @__PURE__ */ jsx13(Spinner2, { type: "dots" }),
|
|
2906
|
+
" Generating standup notes..."
|
|
2907
|
+
] }),
|
|
2900
2908
|
/* @__PURE__ */ jsx13(Text12, { dimColor: true, children: "Press Esc to cancel" })
|
|
2901
2909
|
] }) }),
|
|
2902
2910
|
standupResult && /* @__PURE__ */ jsx13(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clairo",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"ink-link": "^5.0.0",
|
|
28
28
|
"ink-scroll-view": "^0.3.5",
|
|
29
29
|
"ink-select-input": "^6.2.0",
|
|
30
|
+
"ink-spinner": "^5.0.0",
|
|
30
31
|
"ink-text-input": "^6.0.0",
|
|
31
32
|
"marked": "^17.0.1",
|
|
32
33
|
"meow": "^11.0.0",
|