@rdmind/rdmind 0.1.9-alpha.0 → 0.1.9-alpha.1
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/cli.js +8 -6
- package/package.json +2 -2
- package/template/sns-demo-start/src/main/resources/logback-spring.xml +15 -15
- package/templates/idl-template/wiki/example/maven_project/pom.xml +98 -98
- package/template/sns-demo-start/src/main/java/com/xiaohongshu/sns/demo/start/provider/.gitkeep +0 -0
package/cli.js
CHANGED
|
@@ -156107,7 +156107,7 @@ __export(geminiContentGenerator_exports2, {
|
|
|
156107
156107
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
156108
156108
|
});
|
|
156109
156109
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
156110
|
-
const version2 = "0.1.9-alpha.
|
|
156110
|
+
const version2 = "0.1.9-alpha.1";
|
|
156111
156111
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
156112
156112
|
const baseHeaders = {
|
|
156113
156113
|
"User-Agent": userAgent2
|
|
@@ -233811,7 +233811,7 @@ var init_git_commit = __esm({
|
|
|
233811
233811
|
"use strict";
|
|
233812
233812
|
init_esbuild_shims();
|
|
233813
233813
|
GIT_COMMIT_INFO = "94f47fed";
|
|
233814
|
-
CLI_VERSION = "0.1.9-alpha.
|
|
233814
|
+
CLI_VERSION = "0.1.9-alpha.1";
|
|
233815
233815
|
}
|
|
233816
233816
|
});
|
|
233817
233817
|
|
|
@@ -344140,7 +344140,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
344140
344140
|
// packages/cli/src/utils/version.ts
|
|
344141
344141
|
async function getCliVersion() {
|
|
344142
344142
|
const pkgJson = await getPackageJson();
|
|
344143
|
-
return "0.1.9-alpha.
|
|
344143
|
+
return "0.1.9-alpha.1";
|
|
344144
344144
|
}
|
|
344145
344145
|
__name(getCliVersion, "getCliVersion");
|
|
344146
344146
|
|
|
@@ -353081,7 +353081,8 @@ function getTemplatePath() {
|
|
|
353081
353081
|
}
|
|
353082
353082
|
__name(getTemplatePath, "getTemplatePath");
|
|
353083
353083
|
function replaceIdlProjectNames(content, oldName, newName) {
|
|
353084
|
-
|
|
353084
|
+
const artifactId = newName.replace(/_idl$/, "").replace(/_/g, "-");
|
|
353085
|
+
return content.replace(new RegExp(`<artifactId>${oldName}-api</artifactId>`, "g"), `<artifactId>${artifactId}-api</artifactId>`).replace(new RegExp(`<artifactId>${oldName}</artifactId>`, "g"), `<artifactId>${artifactId}</artifactId>`).replace(new RegExp(`${oldName}\\.thrift`, "g"), `${newName}.thrift`).replace(new RegExp(`service\\.thrift`, "g"), `${newName}.thrift`).replace(
|
|
353085
353086
|
new RegExp(`com\\.xiaohongshu\\.sns\\.demo`, "g"),
|
|
353086
353087
|
`com.xiaohongshu.sns.${newName}`
|
|
353087
353088
|
).replace(new RegExp(`/demo/`, "g"), `/${newName}/`).replace(
|
|
@@ -353469,6 +353470,7 @@ async function createIdlProject(context2, projectName) {
|
|
|
353469
353470
|
true
|
|
353470
353471
|
// 标记为IDL项目
|
|
353471
353472
|
);
|
|
353473
|
+
const searchKeyword = projectName.replace(/_idl$/, "").replace(/_/g, "-");
|
|
353472
353474
|
context2.ui.addItem(
|
|
353473
353475
|
{
|
|
353474
353476
|
type: "info" /* INFO */,
|
|
@@ -353493,7 +353495,7 @@ ${projectDirectoryName}/
|
|
|
353493
353495
|
2. \u53C2\u8003\u6587\u6863\u914D\u7F6E\u6D41\u6C34\u7EBF: https://docs.xiaohongshu.com/doc/57be8d2fb7c584798d5b6135060b2c94
|
|
353494
353496
|
3. \u8FD0\u884C\u6D41\u6C34\u7EBF\u6210\u529F\u540E\u53EF\u5728\u4EE5\u4E0B\u5730\u5740\u641C\u7D22\u83B7\u53D6maven\u5305:
|
|
353495
353497
|
https://artifactory.devops.xiaohongshu.com/ui/packages/
|
|
353496
|
-
\u641C\u7D22\u5173\u952E\u8BCD: "${
|
|
353498
|
+
\u641C\u7D22\u5173\u952E\u8BCD: "${searchKeyword}-sdk"
|
|
353497
353499
|
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500`
|
|
353498
353500
|
},
|
|
353499
353501
|
Date.now()
|
|
@@ -408400,7 +408402,7 @@ var GeminiAgent = class {
|
|
|
408400
408402
|
name: APPROVAL_MODE_INFO[mode].name,
|
|
408401
408403
|
description: APPROVAL_MODE_INFO[mode].description
|
|
408402
408404
|
}));
|
|
408403
|
-
const version2 = "0.1.9-alpha.
|
|
408405
|
+
const version2 = "0.1.9-alpha.1";
|
|
408404
408406
|
return {
|
|
408405
408407
|
protocolVersion: PROTOCOL_VERSION,
|
|
408406
408408
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.1.9-alpha.
|
|
3
|
+
"version": "0.1.9-alpha.1",
|
|
4
4
|
"description": "RDMind - AI-powered coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "cli.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"locales"
|
|
21
21
|
],
|
|
22
22
|
"config": {
|
|
23
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.1.9-alpha.
|
|
23
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.1.9-alpha.1"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<configuration>
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
<property name="LOG_LEVEL" value="INFO"/>
|
|
4
|
+
<include resource="logback-xray-base.xml"/>
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
<logger name="org.apache.ibatis" level="INFO"></logger>
|
|
7
|
+
<logger name="org.apache.catalina" level="ERROR"></logger>
|
|
8
|
+
<logger name="org.apache.zookeeper" level="INFO"></logger>
|
|
9
|
+
<logger name="org.springframework" level="INFO"></logger>
|
|
10
|
+
<logger name="com.xiaohongshu.infra" level="ERROR"></logger>
|
|
11
|
+
<logger name="com.xiaohongshu.racing" level="WARN"></logger>
|
|
12
|
+
<logger name="com.dianping.cat" level="INFO"></logger>
|
|
13
|
+
<logger name="red.midware.shaded" level="INFO"></logger>
|
|
14
|
+
<logger name="com.xiaohongshu.infra.xds.cds.CDSSharedStubWrapper" level="ERROR"></logger>
|
|
15
|
+
<logger name="events" level="INFO"></logger>
|
|
16
|
+
<logger name="com.zaxxer.hikari.HikariConfig" level="WARN"></logger>
|
|
17
|
+
<logger name="com.zaxxer.hikari.HikariDataSource" level="WARN"></logger>
|
|
18
|
+
<logger name="com.xiaohongshu.infra.rpc.core.registry.eds.MultiRegionsEdsThriftAddressSubscriberProvider" level="off"/>
|
|
19
19
|
</configuration>
|
|
@@ -1,114 +1,114 @@
|
|
|
1
1
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
2
2
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
3
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
4
|
-
|
|
4
|
+
<modelVersion>4.0.0</modelVersion>
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
<groupId>com.xiaohongshu.sns</groupId>
|
|
7
|
+
<artifactId>demo-api</artifactId>
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
<!-- 无须动,ci的时候会自动覆盖的 -->
|
|
10
|
+
<version>${sdk.version}</version>
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
<properties>
|
|
13
|
+
<midware.version>3.3.11-RELEASE</midware.version>
|
|
14
|
+
<spring-boot.version>2.1.6.RELEASE</spring-boot.version>
|
|
15
|
+
<!--这里换成jdk11 david解析不了,不支持-->
|
|
16
|
+
<maven.compiler.source>8</maven.compiler.source>
|
|
17
|
+
<maven.compiler.target>8</maven.compiler.target>
|
|
18
|
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
19
|
+
</properties>
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
21
|
+
<dependencyManagement>
|
|
22
|
+
<dependencies>
|
|
23
|
+
<dependency>
|
|
24
|
+
<groupId>com.xiaohongshu</groupId>
|
|
25
|
+
<artifactId>midware-dependencies</artifactId>
|
|
26
|
+
<version>${midware.version}</version>
|
|
27
|
+
<type>pom</type>
|
|
28
|
+
<scope>import</scope>
|
|
29
|
+
</dependency>
|
|
30
|
+
<dependency>
|
|
31
|
+
<groupId>org.springframework.boot</groupId>
|
|
32
|
+
<artifactId>spring-boot-dependencies</artifactId>
|
|
33
|
+
<version>${spring-boot.version}</version>
|
|
34
|
+
<type>pom</type>
|
|
35
|
+
<scope>import</scope>
|
|
36
|
+
</dependency>
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
</dependencies>
|
|
39
|
+
</dependencyManagement>
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
<dependencies>
|
|
42
|
+
<dependency>
|
|
43
|
+
<groupId>com.xiaohongshu</groupId>
|
|
44
|
+
<artifactId>rpc-context</artifactId>
|
|
45
|
+
</dependency>
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
<dependency>
|
|
48
|
+
<groupId>com.xiaohongshu</groupId>
|
|
49
|
+
<artifactId>thrift-springboot</artifactId>
|
|
50
|
+
<optional>true</optional>
|
|
51
|
+
</dependency>
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
<dependency>
|
|
54
|
+
<groupId>org.springframework.boot</groupId>
|
|
55
|
+
<artifactId>spring-boot-autoconfigure</artifactId>
|
|
56
|
+
<optional>true</optional>
|
|
57
|
+
</dependency>
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
<dependency>
|
|
60
|
+
<groupId>org.apache.thrift</groupId>
|
|
61
|
+
<artifactId>libthrift</artifactId>
|
|
62
|
+
</dependency>
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
<dependency>
|
|
65
|
+
<groupId>org.springframework.boot</groupId>
|
|
66
|
+
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
67
|
+
<optional>true</optional>
|
|
68
|
+
</dependency>
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
</dependencies>
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
72
|
+
<build>
|
|
73
|
+
<plugins>
|
|
74
|
+
<plugin>
|
|
75
|
+
<groupId>org.apache.maven.plugins</groupId>
|
|
76
|
+
<artifactId>maven-compiler-plugin</artifactId>
|
|
77
|
+
<version>3.8.1</version>
|
|
78
|
+
<configuration>
|
|
79
|
+
<source>1.8</source>
|
|
80
|
+
<target>1.8</target>
|
|
81
|
+
</configuration>
|
|
82
|
+
</plugin>
|
|
83
|
+
<plugin>
|
|
84
|
+
<groupId>org.apache.maven.plugins</groupId>
|
|
85
|
+
<artifactId>maven-source-plugin</artifactId>
|
|
86
|
+
<version>2.1.1</version>
|
|
87
|
+
<executions>
|
|
88
|
+
<execution>
|
|
89
|
+
<id>attach-sources</id>
|
|
90
|
+
<goals>
|
|
91
|
+
<goal>jar-no-fork</goal>
|
|
92
|
+
</goals>
|
|
93
|
+
</execution>
|
|
94
|
+
</executions>
|
|
95
|
+
</plugin>
|
|
96
|
+
</plugins>
|
|
97
|
+
</build>
|
|
98
|
+
<distributionManagement>
|
|
99
|
+
<snapshotRepository>
|
|
100
|
+
<id>snapshots</id>
|
|
101
|
+
<name>nexus snapshot repository</name>
|
|
102
|
+
<url>
|
|
103
|
+
https://artifactory.devops.xiaohongshu.com/artifactory/maven-snapshots/
|
|
104
|
+
</url>
|
|
105
|
+
</snapshotRepository>
|
|
106
|
+
<repository>
|
|
107
|
+
<id>releases</id>
|
|
108
|
+
<name>nexus repository</name>
|
|
109
|
+
<url>
|
|
110
|
+
https://artifactory.devops.xiaohongshu.com/artifactory/maven-releases/
|
|
111
|
+
</url>
|
|
112
|
+
</repository>
|
|
113
|
+
</distributionManagement>
|
|
114
114
|
</project>
|
package/template/sns-demo-start/src/main/java/com/xiaohongshu/sns/demo/start/provider/.gitkeep
DELETED
|
File without changes
|