maoda-commander-tt 0.0.18 → 0.0.19

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/main.js CHANGED
@@ -2119,9 +2119,26 @@ var ShortcutEmoLynxCommand = class extends ShortcutBaseCommand {
2119
2119
  }
2120
2120
  };
2121
2121
 
2122
- // src/commands/shortcut/shortcut-emo-pippit-command.ts
2122
+ // src/commands/shortcut/shortcut-emo-pippit-cn-command.ts
2123
2123
  import { homedir as homedir3 } from "os";
2124
2124
  import { join as join5 } from "path";
2125
+ var ShortcutEmoPippitCnCommand = class extends ShortcutBaseCommand {
2126
+ _meta() {
2127
+ return {
2128
+ name: "pippit-cn",
2129
+ description: "\u542F\u52A8 pippit-cn \u9879\u76EE",
2130
+ aliases: ["ppc"]
2131
+ };
2132
+ }
2133
+ async _execute(_ctx) {
2134
+ const cwd = join5(homedir3(), "work", "pippit-cn");
2135
+ return this._runCommandLine(`w2 start && emo start platform-xyq`, cwd);
2136
+ }
2137
+ };
2138
+
2139
+ // src/commands/shortcut/shortcut-emo-pippit-command.ts
2140
+ import { homedir as homedir4 } from "os";
2141
+ import { join as join6 } from "path";
2125
2142
  var ShortcutEmoPippitCommand = class extends ShortcutBaseCommand {
2126
2143
  _meta() {
2127
2144
  return {
@@ -2131,7 +2148,7 @@ var ShortcutEmoPippitCommand = class extends ShortcutBaseCommand {
2131
2148
  };
2132
2149
  }
2133
2150
  async _execute(_ctx) {
2134
- const cwd = join5(homedir3(), "work", "pippit");
2151
+ const cwd = join6(homedir4(), "work", "pippit");
2135
2152
  return this._runCommandLine(`w2 start && emo start platform-business`, cwd);
2136
2153
  }
2137
2154
  };
@@ -2148,6 +2165,7 @@ var ShortcutCommand = class extends BaseSubcommandHost {
2148
2165
  _registerSubcommands() {
2149
2166
  this._addSubcommand(new ShortcutEmoLynxCommand());
2150
2167
  this._addSubcommand(new ShortcutEmoPippitCommand());
2168
+ this._addSubcommand(new ShortcutEmoPippitCnCommand());
2151
2169
  }
2152
2170
  };
2153
2171
 
@@ -2322,19 +2340,19 @@ var AiCodexCommand = class extends AiBaseCommand {
2322
2340
  };
2323
2341
 
2324
2342
  // src/commands/ai/ai-run-command.ts
2325
- import { homedir as homedir5 } from "os";
2326
- import { join as join7 } from "path";
2343
+ import { homedir as homedir6 } from "os";
2344
+ import { join as join8 } from "path";
2327
2345
 
2328
2346
  // src/commands/ai/ai-context-path.ts
2329
2347
  import { existsSync as existsSync2 } from "fs";
2330
- import { homedir as homedir4 } from "os";
2331
- import { join as join6 } from "path";
2348
+ import { homedir as homedir5 } from "os";
2349
+ import { join as join7 } from "path";
2332
2350
  function getCurrentCloudRootPath() {
2333
2351
  if (process.platform !== "darwin") {
2334
2352
  return makeError(1, "`--my` \u4EC5\u652F\u6301\u5728 macOS \u4E0A\u4F7F\u7528");
2335
2353
  }
2336
- const cloudRootPath = join6(
2337
- homedir4(),
2354
+ const cloudRootPath = join7(
2355
+ homedir5(),
2338
2356
  "Library",
2339
2357
  "Mobile Documents",
2340
2358
  "com~apple~CloudDocs"
@@ -2362,7 +2380,7 @@ var AI_RUN_CONTEXT_ALIASES = [
2362
2380
  return cloudRoot;
2363
2381
  }
2364
2382
  return ensureDirectoryExists(
2365
- join7(cloudRoot.value, "icloud-hub", "local-knowlege-base")
2383
+ join8(cloudRoot.value, "icloud-hub", "local-knowlege-base")
2366
2384
  );
2367
2385
  }
2368
2386
  },
@@ -2371,7 +2389,7 @@ var AI_RUN_CONTEXT_ALIASES = [
2371
2389
  optionDescription: "\u53C2\u8003 ~/work/smart-agent/dymamic-skills \u5B66\u4E60 skill",
2372
2390
  resolveReferenceDir: () => {
2373
2391
  return ensureDirectoryExists(
2374
- join7(homedir5(), "work", "smart-agent", "dynamic-skills")
2392
+ join8(homedir6(), "work", "smart-agent", "dynamic-skills")
2375
2393
  );
2376
2394
  }
2377
2395
  }