@cloud411716/fancy-webnovel 0.1.14 → 0.1.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud411716/fancy-webnovel",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "type": "module",
5
5
  "main": "plugins/fancy-bootstrap/index.js",
6
6
  "exports": {
@@ -24,7 +24,7 @@ function notify(session, text) {
24
24
  export async function apply(ctx) {
25
25
  ctx.commands.register({
26
26
  name: 'fancy-bootstrap',
27
- description: '初始化项目根 (Usage)',
27
+ description: '初始化项目根 ( usage: /fancy-bootstrap [项目根] )',
28
28
  handler: async (invocation) => {
29
29
  const session = invocation.agent.session;
30
30
  const rawInput = invocation.rawInput ? invocation.rawInput.trim() : '';
@@ -32,7 +32,7 @@ export async function apply(ctx) {
32
32
  let projectRoot = rawInput;
33
33
  if (!projectRoot) {
34
34
  const result = await ctx.userQuestions.ask({
35
- questions: [{ id: 'path', question: '请输入项目根路径' }],
35
+ questions: [{ id: 'path', question: '请输入项目根路径 ( 或者输入 . 代表当前路径 )' }],
36
36
  });
37
37
  projectRoot = result.answers[0]?.custom ? result.answers[0].custom.trim() : '';
38
38
  }