rrce-workflow 0.2.54 → 0.2.55
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.js +47 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1167,7 +1167,6 @@ function installAgentPrompts(config, workspacePath, dataPaths) {
|
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
1169
1169
|
function createWorkspaceConfig(config, workspacePath, workspaceName) {
|
|
1170
|
-
if (config.storageMode !== "workspace") return;
|
|
1171
1170
|
const configPath = path10.join(workspacePath, ".rrce-workflow", "config.yaml");
|
|
1172
1171
|
ensureDir(path10.dirname(configPath));
|
|
1173
1172
|
let content = `# RRCE-Workflow Configuration
|
|
@@ -2028,7 +2027,10 @@ function getAllPrompts() {
|
|
|
2028
2027
|
required: false
|
|
2029
2028
|
})));
|
|
2030
2029
|
}
|
|
2030
|
+
const filename = p.filePath.split("/").pop() || "";
|
|
2031
|
+
const id = filename.replace(/\.md$/, "");
|
|
2031
2032
|
return {
|
|
2033
|
+
id,
|
|
2032
2034
|
name: p.frontmatter.name,
|
|
2033
2035
|
description: p.frontmatter.description,
|
|
2034
2036
|
arguments: args,
|
|
@@ -2037,7 +2039,11 @@ function getAllPrompts() {
|
|
|
2037
2039
|
});
|
|
2038
2040
|
}
|
|
2039
2041
|
function getPromptDef(name) {
|
|
2040
|
-
|
|
2042
|
+
const all = getAllPrompts();
|
|
2043
|
+
const search = name.toLowerCase();
|
|
2044
|
+
return all.find(
|
|
2045
|
+
(p) => p.name === name || p.id === name || p.name.toLowerCase() === search || p.id.toLowerCase() === search
|
|
2046
|
+
);
|
|
2041
2047
|
}
|
|
2042
2048
|
function renderPrompt(content, args) {
|
|
2043
2049
|
let rendered = content;
|
|
@@ -2757,14 +2763,46 @@ var init_Overview = __esm({
|
|
|
2757
2763
|
return /* @__PURE__ */ jsxs(Box2, { flexDirection: "column", flexGrow: 1, children: [
|
|
2758
2764
|
/* @__PURE__ */ jsx2(Header, {}),
|
|
2759
2765
|
/* @__PURE__ */ jsxs(Box2, { borderStyle: "round", padding: 1, borderColor: "white", flexDirection: "column", flexGrow: 1, children: [
|
|
2760
|
-
/* @__PURE__ */
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2766
|
+
/* @__PURE__ */ jsxs(Box2, { justifyContent: "space-between", children: [
|
|
2767
|
+
/* @__PURE__ */ jsxs(Box2, { flexDirection: "column", children: [
|
|
2768
|
+
/* @__PURE__ */ jsx2(Text2, { bold: true, underline: true, children: "System Status" }),
|
|
2769
|
+
/* @__PURE__ */ jsxs(Box2, { marginTop: 1, children: [
|
|
2770
|
+
/* @__PURE__ */ jsx2(Text2, { children: "Integrations Installed: " }),
|
|
2771
|
+
/* @__PURE__ */ jsx2(Text2, { color: stats.installedIntegrations > 0 ? "green" : "yellow", children: stats.installedIntegrations })
|
|
2772
|
+
] }),
|
|
2773
|
+
/* @__PURE__ */ jsxs(Box2, { children: [
|
|
2774
|
+
/* @__PURE__ */ jsx2(Text2, { children: "Server Port: " }),
|
|
2775
|
+
/* @__PURE__ */ jsx2(Text2, { color: "cyan", children: serverStatus.port })
|
|
2776
|
+
] })
|
|
2777
|
+
] }),
|
|
2778
|
+
/* @__PURE__ */ jsxs(Box2, { flexDirection: "column", marginLeft: 4, children: [
|
|
2779
|
+
/* @__PURE__ */ jsx2(Text2, { bold: true, underline: true, children: "Quick Start" }),
|
|
2780
|
+
/* @__PURE__ */ jsxs(Box2, { marginTop: 1, flexDirection: "column", children: [
|
|
2781
|
+
/* @__PURE__ */ jsx2(Text2, { children: '1. Install "MCP" extension in VSCode / Antigravity' }),
|
|
2782
|
+
/* @__PURE__ */ jsx2(Text2, { children: "2. Configure Extension to use this server:" }),
|
|
2783
|
+
/* @__PURE__ */ jsx2(Text2, { color: "dim", children: " (This is handled automatically by 'Install to IDE')" }),
|
|
2784
|
+
/* @__PURE__ */ jsx2(Text2, { children: "3. In your Agent IDE, ask:" }),
|
|
2785
|
+
/* @__PURE__ */ jsx2(Text2, { color: "cyan", children: ' "Use the rrce tools to analyze this project"' })
|
|
2786
|
+
] })
|
|
2787
|
+
] })
|
|
2764
2788
|
] }),
|
|
2765
|
-
/* @__PURE__ */ jsxs(Box2, { children: [
|
|
2766
|
-
/* @__PURE__ */ jsx2(Text2, { children: "
|
|
2767
|
-
/* @__PURE__ */
|
|
2789
|
+
/* @__PURE__ */ jsxs(Box2, { marginTop: 1, borderStyle: "single", borderColor: "gray", flexDirection: "column", paddingX: 1, children: [
|
|
2790
|
+
/* @__PURE__ */ jsx2(Text2, { bold: true, children: "Usage Tips:" }),
|
|
2791
|
+
/* @__PURE__ */ jsxs(Text2, { children: [
|
|
2792
|
+
"\u2022 ",
|
|
2793
|
+
/* @__PURE__ */ jsx2(Text2, { color: "yellow", children: "init" }),
|
|
2794
|
+
': "Initialize project context"'
|
|
2795
|
+
] }),
|
|
2796
|
+
/* @__PURE__ */ jsxs(Text2, { children: [
|
|
2797
|
+
"\u2022 ",
|
|
2798
|
+
/* @__PURE__ */ jsx2(Text2, { color: "yellow", children: "plan" }),
|
|
2799
|
+
': "Create a plan for [task]"'
|
|
2800
|
+
] }),
|
|
2801
|
+
/* @__PURE__ */ jsxs(Text2, { children: [
|
|
2802
|
+
"\u2022 ",
|
|
2803
|
+
/* @__PURE__ */ jsx2(Text2, { color: "yellow", children: "doctor" }),
|
|
2804
|
+
': "Check project health"'
|
|
2805
|
+
] })
|
|
2768
2806
|
] }),
|
|
2769
2807
|
/* @__PURE__ */ jsxs(Box2, { marginTop: 1, flexDirection: "column", children: [
|
|
2770
2808
|
/* @__PURE__ */ jsx2(Text2, { color: "dim", children: "Controls:" }),
|