@dalehkx/quote-cli 0.3.10 → 0.3.11

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": "@dalehkx/quote-cli",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "description": "通用询报价 CLI 工具",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // prepack: sync skills/cass-quote/ → packages/cli/skill/
2
+ // prepack: sync .well-known/agent-skills/cass-quote/ → packages/cli/skill/
3
3
  // Runs from the monorepo root via `npm -w @dalehkx/quote-cli run prepack`
4
4
  // or from packages/cli/ directly during `npm pack` / `npm publish`.
5
5
 
@@ -8,7 +8,7 @@ const path = require('path');
8
8
 
9
9
  const cliDir = path.join(__dirname, '..');
10
10
  const repoRoot = path.join(cliDir, '..', '..');
11
- const skillSrc = path.join(repoRoot, 'skills', 'cass-quote');
11
+ const skillSrc = path.join(repoRoot, '.well-known', 'agent-skills', 'cass-quote');
12
12
  const skillDest = path.join(cliDir, 'skill');
13
13
 
14
14
  if (!fs.existsSync(skillSrc)) {
@@ -31,4 +31,4 @@ if (fs.existsSync(skillDest)) {
31
31
  fs.rmSync(skillDest, { recursive: true });
32
32
  }
33
33
  copyDir(skillSrc, skillDest);
34
- console.log(`[prepack] synced skills/cass-quote/ → packages/cli/skill/`);
34
+ console.log(`[prepack] synced .well-known/agent-skills/cass-quote/ → packages/cli/skill/`);
@@ -15,7 +15,7 @@ const { version } = require('../../package.json');
15
15
  const PKG = '@dalehkx/quote-cli';
16
16
  // 主:自托管 well-known 端点(GitHub Pages,不需要认证)
17
17
  // 备:GitHub slug(公开仓库时可用,私有仓库需要登录)
18
- const SKILL_URL = 'https://asdasas1212.github.io/agent-skills';
18
+ const SKILL_URL = 'https://asdasas1212.github.io/quote-skill';
19
19
  const SKILL_REPO_FALLBACK = 'asdasas1212/quote-skill';
20
20
  const isWindows = process.platform === 'win32';
21
21