@methiu/raigal 0.2.3 → 0.2.5
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/{AgentApp-DJYdD1VH.js → AgentApp-CIiRfOun.js} +2 -4
- package/dist/adapters/vite.js +1 -2
- package/dist/cli.js +123 -197
- package/dist/index.js +84 -145
- package/dist/{json-BflWt4dX.js → json-B8XGYwMv.js} +1 -1
- package/dist/mcp.js +35 -56
- package/dist/{mount-CHGc3gB6.js → mount-DTc8WaIt.js} +1 -1
- package/dist/{sarif-CpuYM3aK.js → sarif-DqH4dGEo.js} +1 -1
- package/dist/{version-B4eYJn3o.js → version-BlgPglaO.js} +1 -1
- package/package.json +1 -1
|
@@ -12,12 +12,11 @@ const colorFor$1 = (kind) => {
|
|
|
12
12
|
};
|
|
13
13
|
const prefixFor = (kind) => kind === "assistant" ? "" : `${kind} `;
|
|
14
14
|
const ActivityPane = ({ activity, rows }) => {
|
|
15
|
-
const visible = activity.slice(-Math.max(1, rows));
|
|
16
15
|
return /* @__PURE__ */ jsx(Box, {
|
|
17
16
|
flexDirection: "column",
|
|
18
17
|
flexGrow: 1,
|
|
19
18
|
paddingX: 1,
|
|
20
|
-
children:
|
|
19
|
+
children: activity.slice(-Math.max(1, rows)).map((line, index) => /* @__PURE__ */ jsxs(Text, {
|
|
21
20
|
color: colorFor$1(line.kind),
|
|
22
21
|
wrap: "truncate-end",
|
|
23
22
|
children: [/* @__PURE__ */ jsx(Text, {
|
|
@@ -204,7 +203,6 @@ const Sidebar = ({ state }) => {
|
|
|
204
203
|
const cost = state.usage?.costUsd ?? computeCostUsd(pricing, state.tokens);
|
|
205
204
|
const ctx = pricing ? state.tokens.in / pricing.contextWindow * 100 : null;
|
|
206
205
|
const hasUsage = state.tokens.total > 0;
|
|
207
|
-
const title = state.model ? `${state.provider} · ${state.model}` : state.provider;
|
|
208
206
|
return /* @__PURE__ */ jsxs(Box, {
|
|
209
207
|
flexDirection: "column",
|
|
210
208
|
width: 30,
|
|
@@ -214,7 +212,7 @@ const Sidebar = ({ state }) => {
|
|
|
214
212
|
borderColor: "gray",
|
|
215
213
|
children: [/* @__PURE__ */ jsx(Text, {
|
|
216
214
|
bold: true,
|
|
217
|
-
children:
|
|
215
|
+
children: state.model ? `${state.provider} · ${state.model}` : state.provider
|
|
218
216
|
}), /* @__PURE__ */ jsxs(Box, {
|
|
219
217
|
marginTop: 1,
|
|
220
218
|
flexDirection: "column",
|
package/dist/adapters/vite.js
CHANGED
|
@@ -8,8 +8,7 @@ const createViteRaigalScripts = (framework = "vite") => {
|
|
|
8
8
|
};
|
|
9
9
|
const createViteRaigalWorkflow = () => createRaigalCiWorkflow();
|
|
10
10
|
const runViteRaigal = async (options = {}) => {
|
|
11
|
-
|
|
12
|
-
return maybeRunRaigal(framework, {
|
|
11
|
+
return maybeRunRaigal(options.framework ?? "vite", {
|
|
13
12
|
...options,
|
|
14
13
|
enabled: options.enabled ?? options.runOnBuild ?? false
|
|
15
14
|
});
|