wave-code 0.9.6 → 0.10.0
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/acp/agent.d.ts +14 -0
- package/dist/acp/agent.d.ts.map +1 -0
- package/dist/acp/agent.js +209 -0
- package/dist/acp/index.d.ts +2 -0
- package/dist/acp/index.d.ts.map +1 -0
- package/dist/acp/index.js +22 -0
- package/dist/acp-cli.d.ts +2 -0
- package/dist/acp-cli.d.ts.map +1 -0
- package/dist/acp-cli.js +4 -0
- package/dist/commands/plugin/marketplace.d.ts.map +1 -1
- package/dist/commands/plugin/marketplace.js +4 -1
- package/dist/components/DiffDisplay.d.ts.map +1 -1
- package/dist/components/DiffDisplay.js +33 -89
- package/dist/components/FileSelector.d.ts.map +1 -1
- package/dist/components/FileSelector.js +11 -12
- package/dist/components/MarketplaceDetail.d.ts.map +1 -1
- package/dist/components/MarketplaceDetail.js +1 -1
- package/dist/components/MarketplaceList.d.ts.map +1 -1
- package/dist/components/MarketplaceList.js +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -0
- package/package.json +4 -2
- package/src/acp/agent.ts +270 -0
- package/src/acp/index.ts +28 -0
- package/src/acp-cli.ts +5 -0
- package/src/commands/plugin/marketplace.ts +4 -1
- package/src/components/DiffDisplay.tsx +62 -134
- package/src/components/FileSelector.tsx +32 -39
- package/src/components/MarketplaceDetail.tsx +11 -0
- package/src/components/MarketplaceList.tsx +7 -1
- package/src/index.ts +11 -0
|
@@ -70,6 +70,17 @@ export const MarketplaceDetail: React.FC = () => {
|
|
|
70
70
|
</Text>
|
|
71
71
|
</Box>
|
|
72
72
|
|
|
73
|
+
{marketplace.lastUpdated && (
|
|
74
|
+
<Box marginBottom={1}>
|
|
75
|
+
<Text>
|
|
76
|
+
Last updated:{" "}
|
|
77
|
+
<Text color="cyan">
|
|
78
|
+
{new Date(marketplace.lastUpdated).toLocaleString()}
|
|
79
|
+
</Text>
|
|
80
|
+
</Text>
|
|
81
|
+
</Box>
|
|
82
|
+
)}
|
|
83
|
+
|
|
73
84
|
{state.isLoading && (
|
|
74
85
|
<Box marginBottom={1}>
|
|
75
86
|
<Text color="yellow">⌛ Processing operation...</Text>
|
|
@@ -41,8 +41,14 @@ export const MarketplaceList: React.FC<MarketplaceListProps> = ({
|
|
|
41
41
|
)}
|
|
42
42
|
</Text>
|
|
43
43
|
</Box>
|
|
44
|
-
<Box marginLeft={4}>
|
|
44
|
+
<Box marginLeft={4} flexDirection="column">
|
|
45
45
|
<Text dimColor>Source: {sourceStr}</Text>
|
|
46
|
+
{marketplace.lastUpdated && (
|
|
47
|
+
<Text dimColor>
|
|
48
|
+
Last updated:{" "}
|
|
49
|
+
{new Date(marketplace.lastUpdated).toLocaleString()}
|
|
50
|
+
</Text>
|
|
51
|
+
)}
|
|
46
52
|
</Box>
|
|
47
53
|
</Box>
|
|
48
54
|
);
|
package/src/index.ts
CHANGED
|
@@ -70,6 +70,11 @@ export async function main() {
|
|
|
70
70
|
type: "string",
|
|
71
71
|
global: false,
|
|
72
72
|
})
|
|
73
|
+
.option("acp", {
|
|
74
|
+
description: "Run as an ACP bridge",
|
|
75
|
+
type: "boolean",
|
|
76
|
+
global: false,
|
|
77
|
+
})
|
|
73
78
|
.command("plugin", "Manage plugins and marketplaces", (yargs) => {
|
|
74
79
|
return yargs
|
|
75
80
|
.help()
|
|
@@ -246,6 +251,12 @@ export async function main() {
|
|
|
246
251
|
process.chdir(workdir);
|
|
247
252
|
}
|
|
248
253
|
|
|
254
|
+
// Handle ACP mode
|
|
255
|
+
if (argv.acp) {
|
|
256
|
+
const { runAcp } = await import("./acp-cli.js");
|
|
257
|
+
return runAcp();
|
|
258
|
+
}
|
|
259
|
+
|
|
249
260
|
// Handle restore session command
|
|
250
261
|
if (
|
|
251
262
|
argv.restore === "" ||
|