rivet-design 0.5.4 → 0.5.7
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/README.md +18 -18
- package/README.npm.md +18 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +51 -14
- package/dist/index.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +2 -67
- package/dist/mcp/server.js.map +1 -1
- package/dist/services/TelemetryService.d.ts.map +1 -1
- package/dist/services/TelemetryService.js +5 -0
- package/dist/services/TelemetryService.js.map +1 -1
- package/package.json +3 -3
- package/src/ui/dist/assets/main-DAIpACRO.js +491 -0
- package/src/ui/dist/index.html +1 -1
- package/dist/routes/agent.d.ts +0 -8
- package/dist/routes/agent.d.ts.map +0 -1
- package/dist/routes/agent.js +0 -79
- package/dist/routes/agent.js.map +0 -1
- package/dist/routes/comments.d.ts +0 -2
- package/dist/routes/comments.d.ts.map +0 -1
- package/dist/routes/comments.js +0 -92
- package/dist/routes/comments.js.map +0 -1
- package/dist/routes/onboarding.d.ts +0 -6
- package/dist/routes/onboarding.d.ts.map +0 -1
- package/dist/routes/onboarding.js +0 -206
- package/dist/routes/onboarding.js.map +0 -1
- package/dist/routes/selection.d.ts +0 -2
- package/dist/routes/selection.d.ts.map +0 -1
- package/dist/routes/selection.js +0 -38
- package/dist/routes/selection.js.map +0 -1
- package/dist/scripts/react-instrumentation.js +0 -300
- package/dist/services/AgentBridgeService.d.ts +0 -89
- package/dist/services/AgentBridgeService.d.ts.map +0 -1
- package/dist/services/AgentBridgeService.js +0 -413
- package/dist/services/AgentBridgeService.js.map +0 -1
- package/dist/services/AgentModService.d.ts +0 -76
- package/dist/services/AgentModService.d.ts.map +0 -1
- package/dist/services/AgentModService.js +0 -494
- package/dist/services/AgentModService.js.map +0 -1
- package/dist/services/CommentSessionManager.d.ts +0 -94
- package/dist/services/CommentSessionManager.d.ts.map +0 -1
- package/dist/services/CommentSessionManager.js +0 -260
- package/dist/services/CommentSessionManager.js.map +0 -1
- package/dist/services/ImportResolverService.d.ts +0 -30
- package/dist/services/ImportResolverService.d.ts.map +0 -1
- package/dist/services/ImportResolverService.js +0 -136
- package/dist/services/ImportResolverService.js.map +0 -1
- package/dist/services/ReactComponentPlugin.d.ts +0 -44
- package/dist/services/ReactComponentPlugin.d.ts.map +0 -1
- package/dist/services/ReactComponentPlugin.js +0 -100
- package/dist/services/ReactComponentPlugin.js.map +0 -1
- package/dist/types/agent-protocol.d.ts +0 -55
- package/dist/types/agent-protocol.d.ts.map +0 -1
- package/dist/types/agent-protocol.js +0 -6
- package/dist/types/agent-protocol.js.map +0 -1
- package/dist/types/agent-tools.d.ts +0 -78
- package/dist/types/agent-tools.d.ts.map +0 -1
- package/dist/types/agent-tools.js +0 -7
- package/dist/types/agent-tools.js.map +0 -1
- package/dist/types/types.d.ts +0 -15
- package/dist/types/types.d.ts.map +0 -1
- package/dist/types/types.js +0 -3
- package/dist/types/types.js.map +0 -1
- package/src/ui/dist/assets/main-BXXN24hn.js +0 -505
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-protocol.js","sourceRoot":"","sources":["../../src/types/agent-protocol.ts"],"names":[],"mappings":";AAAA;;GAEG"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tool definitions for Agent SDK MCP server
|
|
3
|
-
* Tools proxy execution from hosted server to local CLI
|
|
4
|
-
*/
|
|
5
|
-
import { ComponentNode } from './change-types';
|
|
6
|
-
/**
|
|
7
|
-
* Tool names that the Agent SDK can invoke
|
|
8
|
-
*/
|
|
9
|
-
export type AgentTool = 'search_components' | 'read_file' | 'write_file' | 'glob_files' | 'git_status' | 'git_diff';
|
|
10
|
-
/**
|
|
11
|
-
* Parameters for each tool type
|
|
12
|
-
*/
|
|
13
|
-
export type ToolParams = {
|
|
14
|
-
search_components: {
|
|
15
|
-
className?: string;
|
|
16
|
-
id?: string;
|
|
17
|
-
tagName?: string;
|
|
18
|
-
textContent?: string;
|
|
19
|
-
componentTree?: ComponentNode[];
|
|
20
|
-
};
|
|
21
|
-
read_file: {
|
|
22
|
-
filePath: string;
|
|
23
|
-
};
|
|
24
|
-
write_file: {
|
|
25
|
-
filePath: string;
|
|
26
|
-
search: string;
|
|
27
|
-
replacement: string;
|
|
28
|
-
changes: string;
|
|
29
|
-
};
|
|
30
|
-
glob_files: {
|
|
31
|
-
pattern: string;
|
|
32
|
-
};
|
|
33
|
-
git_status: Record<string, never>;
|
|
34
|
-
git_diff: {
|
|
35
|
-
filePath?: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Generic tool result wrapper
|
|
40
|
-
*/
|
|
41
|
-
export type ToolResult = {
|
|
42
|
-
success: boolean;
|
|
43
|
-
data?: any;
|
|
44
|
-
error?: string;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Specific result types for each tool
|
|
48
|
-
*/
|
|
49
|
-
export type SearchComponentsResult = {
|
|
50
|
-
matches: Array<{
|
|
51
|
-
filePath: string;
|
|
52
|
-
depth?: number;
|
|
53
|
-
}>;
|
|
54
|
-
};
|
|
55
|
-
export type ReadFileResult = {
|
|
56
|
-
content: string;
|
|
57
|
-
filePath: string;
|
|
58
|
-
};
|
|
59
|
-
export type WriteFileResult = {
|
|
60
|
-
filePath: string;
|
|
61
|
-
originalCode: string;
|
|
62
|
-
modifiedCode: string;
|
|
63
|
-
changes: string;
|
|
64
|
-
modificationsApplied: number;
|
|
65
|
-
};
|
|
66
|
-
export type GlobFilesResult = {
|
|
67
|
-
files: string[];
|
|
68
|
-
};
|
|
69
|
-
export type GitStatusResult = {
|
|
70
|
-
staged: string[];
|
|
71
|
-
unstaged: string[];
|
|
72
|
-
untracked: string[];
|
|
73
|
-
};
|
|
74
|
-
export type GitDiffResult = {
|
|
75
|
-
diff: string;
|
|
76
|
-
filePath?: string;
|
|
77
|
-
};
|
|
78
|
-
//# sourceMappingURL=agent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,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;CACJ,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-tools.js","sourceRoot":"","sources":["../../src/types/agent-tools.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
package/dist/types/types.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type CreatePreviewRequest = {
|
|
2
|
-
repoUrl: string;
|
|
3
|
-
repoFullName: string;
|
|
4
|
-
branch: string;
|
|
5
|
-
};
|
|
6
|
-
export type CreatePreviewResponse = {
|
|
7
|
-
projectId: string;
|
|
8
|
-
previewUrl: string;
|
|
9
|
-
status: string;
|
|
10
|
-
};
|
|
11
|
-
export type ApiError = {
|
|
12
|
-
error: string;
|
|
13
|
-
details?: string;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types/types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
package/dist/types/types.js
DELETED
package/dist/types/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types/types.ts"],"names":[],"mappings":""}
|