rrce-workflow 0.2.56 → 0.2.57

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 +35 -22
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1152,6 +1152,7 @@ function installAgentPrompts(config, workspacePath, dataPaths) {
1152
1152
  const agentCoreDir = getAgentCoreDir();
1153
1153
  syncMetadataToAll(agentCoreDir, dataPaths);
1154
1154
  copyDirToAllStoragePaths(path10.join(agentCoreDir, "templates"), "templates", dataPaths);
1155
+ copyDirToAllStoragePaths(path10.join(agentCoreDir, "prompts"), "prompts", dataPaths);
1155
1156
  if (config.storageMode === "workspace") {
1156
1157
  const prompts = loadPromptsFromDir(getAgentCorePromptsDir());
1157
1158
  if (config.tools.includes("copilot")) {
@@ -1184,8 +1185,8 @@ project:
1184
1185
  name: "${workspaceName}"
1185
1186
 
1186
1187
  tools:
1187
- copilot: ${config.tools.includes("copilot")}
1188
- antigravity: ${config.tools.includes("antigravity")}
1188
+ copilot: ${config.storageMode === "workspace" && config.tools.includes("copilot")}
1189
+ antigravity: ${config.storageMode === "workspace" && config.tools.includes("antigravity")}
1189
1190
  `;
1190
1191
  if (config.linkedProjects.length > 0) {
1191
1192
  content += `
@@ -2756,7 +2757,7 @@ var init_Header = __esm({
2756
2757
  });
2757
2758
 
2758
2759
  // src/mcp/ui/Overview.tsx
2759
- import "react";
2760
+ import { useMemo } from "react";
2760
2761
  import { Box as Box2, Text as Text2 } from "ink";
2761
2762
  import { jsx as jsx2, jsxs } from "react/jsx-runtime";
2762
2763
  var Overview;
@@ -2764,7 +2765,9 @@ var init_Overview = __esm({
2764
2765
  "src/mcp/ui/Overview.tsx"() {
2765
2766
  "use strict";
2766
2767
  init_Header();
2768
+ init_prompts2();
2767
2769
  Overview = ({ serverStatus, stats }) => {
2770
+ const agents = useMemo(() => getAllPrompts(), []);
2768
2771
  return /* @__PURE__ */ jsxs(Box2, { flexDirection: "column", flexGrow: 1, children: [
2769
2772
  /* @__PURE__ */ jsx2(Header, {}),
2770
2773
  /* @__PURE__ */ jsxs(Box2, { borderStyle: "round", padding: 1, borderColor: "white", flexDirection: "column", flexGrow: 1, children: [
@@ -2791,23 +2794,33 @@ var init_Overview = __esm({
2791
2794
  ] })
2792
2795
  ] })
2793
2796
  ] }),
2794
- /* @__PURE__ */ jsxs(Box2, { marginTop: 1, borderStyle: "single", borderColor: "gray", flexDirection: "column", paddingX: 1, children: [
2795
- /* @__PURE__ */ jsx2(Text2, { bold: true, children: "Usage Tips:" }),
2796
- /* @__PURE__ */ jsxs(Text2, { children: [
2797
- "\u2022 ",
2798
- /* @__PURE__ */ jsx2(Text2, { color: "yellow", children: "init" }),
2799
- ': "Initialize project context"'
2800
- ] }),
2801
- /* @__PURE__ */ jsxs(Text2, { children: [
2802
- "\u2022 ",
2803
- /* @__PURE__ */ jsx2(Text2, { color: "yellow", children: "plan" }),
2804
- ': "Create a plan for [task]"'
2805
- ] }),
2806
- /* @__PURE__ */ jsxs(Text2, { children: [
2807
- "\u2022 ",
2808
- /* @__PURE__ */ jsx2(Text2, { color: "yellow", children: "doctor" }),
2809
- ': "Check project health"'
2810
- ] })
2797
+ /* @__PURE__ */ jsxs(Box2, { marginTop: 1, borderStyle: "single", borderColor: "gray", flexDirection: "column", paddingX: 1, flexGrow: 1, children: [
2798
+ /* @__PURE__ */ jsx2(Text2, { bold: true, children: "Available Agents & Instructions:" }),
2799
+ agents.map((agent) => /* @__PURE__ */ jsxs(Box2, { flexDirection: "column", marginTop: 1, children: [
2800
+ /* @__PURE__ */ jsxs(Text2, { color: "yellow", children: [
2801
+ "\u27A4 ",
2802
+ agent.name,
2803
+ " ",
2804
+ /* @__PURE__ */ jsxs(Text2, { color: "dim", children: [
2805
+ "(",
2806
+ agent.id,
2807
+ ")"
2808
+ ] })
2809
+ ] }),
2810
+ /* @__PURE__ */ jsxs(Text2, { color: "white", children: [
2811
+ " ",
2812
+ agent.description
2813
+ ] }),
2814
+ agent.arguments.length > 0 && /* @__PURE__ */ jsxs(Text2, { color: "dim", children: [
2815
+ " Args: ",
2816
+ agent.arguments.map((a) => a.name + (a.required ? "*" : "")).join(", ")
2817
+ ] }),
2818
+ /* @__PURE__ */ jsxs(Text2, { color: "cyan", children: [
2819
+ ' Instruction: "Use the ',
2820
+ agent.name,
2821
+ ' to..."'
2822
+ ] })
2823
+ ] }, agent.id))
2811
2824
  ] }),
2812
2825
  /* @__PURE__ */ jsxs(Box2, { marginTop: 1, flexDirection: "column", children: [
2813
2826
  /* @__PURE__ */ jsx2(Text2, { color: "dim", children: "Controls:" }),
@@ -3175,7 +3188,7 @@ var App_exports = {};
3175
3188
  __export(App_exports, {
3176
3189
  App: () => App
3177
3190
  });
3178
- import { useState as useState4, useEffect as useEffect3, useMemo, useCallback } from "react";
3191
+ import { useState as useState4, useEffect as useEffect3, useMemo as useMemo2, useCallback } from "react";
3179
3192
  import { Box as Box10, useInput as useInput3, useApp } from "ink";
3180
3193
  import fs15 from "fs";
3181
3194
  import { jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
@@ -3217,7 +3230,7 @@ var init_App = __esm({
3217
3230
  setConfig(loadMCPConfig());
3218
3231
  setProjects(scanForProjects());
3219
3232
  }, []);
3220
- const exposedProjects = useMemo(
3233
+ const exposedProjects = useMemo2(
3221
3234
  () => projects.filter((p) => {
3222
3235
  const cfg = config.projects.find(
3223
3236
  (c) => c.path && c.path === p.path || !c.path && c.name === p.name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rrce-workflow",
3
- "version": "0.2.56",
3
+ "version": "0.2.57",
4
4
  "description": "RRCE-Workflow TUI - Agentic code workflow generator for AI-assisted development",
5
5
  "author": "RRCE Team",
6
6
  "license": "MIT",