aiox-core 5.0.0 → 5.0.2

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.
Files changed (91) hide show
  1. package/.aiox-core/data/entity-registry.yaml +5297 -1814
  2. package/.aiox-core/data/registry-update-log.jsonl +2 -0
  3. package/.aiox-core/development/templates/service-template/README.md.hbs +158 -158
  4. package/.aiox-core/development/templates/service-template/__tests__/index.test.ts.hbs +237 -237
  5. package/.aiox-core/development/templates/service-template/client.ts.hbs +403 -403
  6. package/.aiox-core/development/templates/service-template/errors.ts.hbs +182 -182
  7. package/.aiox-core/development/templates/service-template/index.ts.hbs +120 -120
  8. package/.aiox-core/development/templates/service-template/package.json.hbs +87 -87
  9. package/.aiox-core/development/templates/service-template/types.ts.hbs +145 -145
  10. package/.aiox-core/development/templates/squad-template/LICENSE +21 -21
  11. package/.aiox-core/infrastructure/scripts/tool-resolver.js +4 -4
  12. package/.aiox-core/infrastructure/templates/aiox-sync.yaml.template +182 -182
  13. package/.aiox-core/infrastructure/templates/coderabbit.yaml.template +279 -279
  14. package/.aiox-core/infrastructure/templates/github-workflows/ci.yml.template +169 -169
  15. package/.aiox-core/infrastructure/templates/github-workflows/pr-automation.yml.template +330 -330
  16. package/.aiox-core/infrastructure/templates/github-workflows/release.yml.template +196 -196
  17. package/.aiox-core/infrastructure/templates/gitignore/gitignore-aiox-base.tmpl +63 -63
  18. package/.aiox-core/infrastructure/templates/gitignore/gitignore-brownfield-merge.tmpl +18 -18
  19. package/.aiox-core/infrastructure/templates/gitignore/gitignore-node.tmpl +85 -85
  20. package/.aiox-core/infrastructure/templates/gitignore/gitignore-python.tmpl +145 -145
  21. package/.aiox-core/install-manifest.yaml +58 -58
  22. package/.aiox-core/local-config.yaml.template +71 -71
  23. package/.aiox-core/monitor/hooks/lib/__init__.py +1 -1
  24. package/.aiox-core/monitor/hooks/lib/enrich.py +58 -58
  25. package/.aiox-core/monitor/hooks/lib/send_event.py +47 -47
  26. package/.aiox-core/monitor/hooks/notification.py +29 -29
  27. package/.aiox-core/monitor/hooks/post_tool_use.py +45 -45
  28. package/.aiox-core/monitor/hooks/pre_compact.py +29 -29
  29. package/.aiox-core/monitor/hooks/pre_tool_use.py +40 -40
  30. package/.aiox-core/monitor/hooks/stop.py +29 -29
  31. package/.aiox-core/monitor/hooks/subagent_stop.py +29 -29
  32. package/.aiox-core/monitor/hooks/user_prompt_submit.py +38 -38
  33. package/.aiox-core/product/templates/adr.hbs +125 -125
  34. package/.aiox-core/product/templates/dbdr.hbs +241 -241
  35. package/.aiox-core/product/templates/engine/elicitation.js +2 -3
  36. package/.aiox-core/product/templates/epic.hbs +212 -212
  37. package/.aiox-core/product/templates/pmdr.hbs +186 -186
  38. package/.aiox-core/product/templates/prd-v2.0.hbs +216 -216
  39. package/.aiox-core/product/templates/prd.hbs +201 -201
  40. package/.aiox-core/product/templates/story.hbs +263 -263
  41. package/.aiox-core/product/templates/task.hbs +170 -170
  42. package/.aiox-core/product/templates/tmpl-comment-on-examples.sql +158 -158
  43. package/.aiox-core/product/templates/tmpl-migration-script.sql +91 -91
  44. package/.aiox-core/product/templates/tmpl-rls-granular-policies.sql +104 -104
  45. package/.aiox-core/product/templates/tmpl-rls-kiss-policy.sql +10 -10
  46. package/.aiox-core/product/templates/tmpl-rls-roles.sql +135 -135
  47. package/.aiox-core/product/templates/tmpl-rls-simple.sql +77 -77
  48. package/.aiox-core/product/templates/tmpl-rls-tenant.sql +152 -152
  49. package/.aiox-core/product/templates/tmpl-rollback-script.sql +77 -77
  50. package/.aiox-core/product/templates/tmpl-seed-data.sql +140 -140
  51. package/.aiox-core/product/templates/tmpl-smoke-test.sql +16 -16
  52. package/.aiox-core/product/templates/tmpl-staging-copy-merge.sql +139 -139
  53. package/.aiox-core/product/templates/tmpl-stored-proc.sql +140 -140
  54. package/.aiox-core/product/templates/tmpl-trigger.sql +152 -152
  55. package/.aiox-core/product/templates/tmpl-view-materialized.sql +133 -133
  56. package/.aiox-core/product/templates/tmpl-view.sql +177 -177
  57. package/.aiox-core/scripts/pm.sh +0 -0
  58. package/.claude/hooks/code-intel-pretool.cjs +107 -0
  59. package/.claude/hooks/enforce-architecture-first.py +196 -196
  60. package/.claude/hooks/mind-clone-governance.py +192 -192
  61. package/.claude/hooks/read-protection.py +151 -151
  62. package/.claude/hooks/slug-validation.py +176 -176
  63. package/.claude/hooks/sql-governance.py +182 -182
  64. package/.claude/hooks/write-path-validation.py +194 -194
  65. package/LICENSE +33 -33
  66. package/bin/aiox-graph.js +0 -0
  67. package/bin/aiox-minimal.js +0 -0
  68. package/bin/aiox.js +0 -0
  69. package/docs/guides/aios-workflows/README.md +247 -0
  70. package/docs/guides/aios-workflows/bob-orchestrator-workflow.md +1536 -0
  71. package/package.json +1 -1
  72. package/packages/aiox-install/bin/aiox-install.js +0 -0
  73. package/packages/aiox-install/bin/edmcp.js +0 -0
  74. package/packages/aiox-pro-cli/bin/aiox-pro.js +0 -0
  75. package/packages/installer/src/wizard/pro-setup.js +210 -123
  76. package/pro/README.md +66 -0
  77. package/pro/license/degradation.js +220 -0
  78. package/pro/license/errors.js +450 -0
  79. package/pro/license/feature-gate.js +354 -0
  80. package/pro/license/index.js +181 -0
  81. package/pro/license/license-api.js +679 -0
  82. package/pro/license/license-cache.js +523 -0
  83. package/pro/license/license-crypto.js +303 -0
  84. package/scripts/check-markdown-links.py +352 -352
  85. package/scripts/dashboard-parallel-dev.sh +0 -0
  86. package/scripts/dashboard-parallel-phase3.sh +0 -0
  87. package/scripts/dashboard-parallel-phase4.sh +0 -0
  88. package/scripts/glue/README.md +355 -0
  89. package/scripts/glue/compose-agent-prompt.cjs +362 -0
  90. package/scripts/install-monitor-hooks.sh +0 -0
  91. package/.aiox-core/lib/build.json +0 -1
@@ -1,87 +1,87 @@
1
- {
2
- "name": "@aiox/{{kebabCase serviceName}}",
3
- "version": "1.0.0",
4
- "description": "{{description}}",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "type": "module",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js",
12
- "require": "./dist/index.cjs"
13
- },
14
- "./types": {
15
- "types": "./dist/types.d.ts",
16
- "import": "./dist/types.js"
17
- },
18
- "./errors": {
19
- "types": "./dist/errors.d.ts",
20
- "import": "./dist/errors.js"
21
- }{{#if isApiIntegration}},
22
- "./client": {
23
- "types": "./dist/client.d.ts",
24
- "import": "./dist/client.js"
25
- }{{/if}}
26
- },
27
- "files": [
28
- "dist",
29
- "README.md"
30
- ],
31
- "scripts": {
32
- "build": "tsc",
33
- "build:watch": "tsc --watch",
34
- "clean": "rimraf dist coverage",
35
- "test": "jest",
36
- "test:watch": "jest --watch",
37
- "test:coverage": "jest --coverage",
38
- "typecheck": "tsc --noEmit",
39
- "lint": "eslint . --ext .ts",
40
- "lint:fix": "eslint . --ext .ts --fix",
41
- "prepublishOnly": "npm run clean && npm run build && npm test"
42
- },
43
- "keywords": [
44
- "aiox",
45
- "{{kebabCase serviceName}}",
46
- "service"{{#if isApiIntegration}},
47
- "api",
48
- "integration"{{/if}}
49
- ],
50
- "author": "AIOX-FullStack",
51
- "license": "MIT",
52
- "engines": {
53
- "node": ">=18.0.0"
54
- },
55
- "devDependencies": {
56
- "@types/jest": "^29.5.12",
57
- "@types/node": "^20.11.0",
58
- "@typescript-eslint/eslint-plugin": "^6.19.0",
59
- "@typescript-eslint/parser": "^6.19.0",
60
- "eslint": "^8.56.0",
61
- "jest": "^29.7.0",
62
- "rimraf": "^5.0.5",
63
- "ts-jest": "^29.1.2",
64
- "typescript": "^5.3.3"
65
- },
66
- "peerDependencies": {
67
- "typescript": ">=5.0.0"
68
- },
69
- "peerDependenciesMeta": {
70
- "typescript": {
71
- "optional": true
72
- }
73
- },
74
- "repository": {
75
- "type": "git",
76
- "url": "https://github.com/aiox-fullstack/{{kebabCase serviceName}}.git"
77
- },
78
- "bugs": {
79
- "url": "https://github.com/aiox-fullstack/{{kebabCase serviceName}}/issues"
80
- },
81
- "homepage": "https://github.com/aiox-fullstack/{{kebabCase serviceName}}#readme",
82
- "aiox": {
83
- "storyId": "{{storyId}}",
84
- "type": "{{#if isApiIntegration}}api-integration{{else}}utility-service{{/if}}",
85
- "generatedAt": "{{generatedAt}}"
86
- }
87
- }
1
+ {
2
+ "name": "@aiox/{{kebabCase serviceName}}",
3
+ "version": "1.0.0",
4
+ "description": "{{description}}",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "type": "module",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "require": "./dist/index.cjs"
13
+ },
14
+ "./types": {
15
+ "types": "./dist/types.d.ts",
16
+ "import": "./dist/types.js"
17
+ },
18
+ "./errors": {
19
+ "types": "./dist/errors.d.ts",
20
+ "import": "./dist/errors.js"
21
+ }{{#if isApiIntegration}},
22
+ "./client": {
23
+ "types": "./dist/client.d.ts",
24
+ "import": "./dist/client.js"
25
+ }{{/if}}
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "README.md"
30
+ ],
31
+ "scripts": {
32
+ "build": "tsc",
33
+ "build:watch": "tsc --watch",
34
+ "clean": "rimraf dist coverage",
35
+ "test": "jest",
36
+ "test:watch": "jest --watch",
37
+ "test:coverage": "jest --coverage",
38
+ "typecheck": "tsc --noEmit",
39
+ "lint": "eslint . --ext .ts",
40
+ "lint:fix": "eslint . --ext .ts --fix",
41
+ "prepublishOnly": "npm run clean && npm run build && npm test"
42
+ },
43
+ "keywords": [
44
+ "aiox",
45
+ "{{kebabCase serviceName}}",
46
+ "service"{{#if isApiIntegration}},
47
+ "api",
48
+ "integration"{{/if}}
49
+ ],
50
+ "author": "AIOX-FullStack",
51
+ "license": "MIT",
52
+ "engines": {
53
+ "node": ">=18.0.0"
54
+ },
55
+ "devDependencies": {
56
+ "@types/jest": "^29.5.12",
57
+ "@types/node": "^20.11.0",
58
+ "@typescript-eslint/eslint-plugin": "^6.19.0",
59
+ "@typescript-eslint/parser": "^6.19.0",
60
+ "eslint": "^8.56.0",
61
+ "jest": "^29.7.0",
62
+ "rimraf": "^5.0.5",
63
+ "ts-jest": "^29.1.2",
64
+ "typescript": "^5.3.3"
65
+ },
66
+ "peerDependencies": {
67
+ "typescript": ">=5.0.0"
68
+ },
69
+ "peerDependenciesMeta": {
70
+ "typescript": {
71
+ "optional": true
72
+ }
73
+ },
74
+ "repository": {
75
+ "type": "git",
76
+ "url": "https://github.com/aiox-fullstack/{{kebabCase serviceName}}.git"
77
+ },
78
+ "bugs": {
79
+ "url": "https://github.com/aiox-fullstack/{{kebabCase serviceName}}/issues"
80
+ },
81
+ "homepage": "https://github.com/aiox-fullstack/{{kebabCase serviceName}}#readme",
82
+ "aiox": {
83
+ "storyId": "{{storyId}}",
84
+ "type": "{{#if isApiIntegration}}api-integration{{else}}utility-service{{/if}}",
85
+ "generatedAt": "{{generatedAt}}"
86
+ }
87
+ }
@@ -1,145 +1,145 @@
1
- /**
2
- * Type definitions for {{pascalCase serviceName}} service.
3
- * @module @aiox/{{kebabCase serviceName}}/types
4
- * @story {{storyId}}
5
- */
6
-
7
- /**
8
- * Configuration options for the {{pascalCase serviceName}} service.
9
- */
10
- export interface {{pascalCase serviceName}}Config {
11
- {{#each envVars}}
12
- /**
13
- * {{this.description}}
14
- {{#if this.required}}
15
- * @required
16
- {{/if}}
17
- */
18
- {{camelCase this.name}}{{#unless this.required}}?{{/unless}}: string;
19
-
20
- {{/each}}
21
- {{#if isApiIntegration}}
22
- /**
23
- * Base URL for the API.
24
- * @default '{{apiBaseUrl}}'
25
- */
26
- baseUrl?: string;
27
-
28
- /**
29
- * Request timeout in milliseconds.
30
- * @default 30000
31
- */
32
- timeout?: number;
33
-
34
- /**
35
- * Maximum number of retry attempts.
36
- * @default 3
37
- */
38
- maxRetries?: number;
39
-
40
- /**
41
- * Enable debug logging.
42
- * @default false
43
- */
44
- debug?: boolean;
45
-
46
- {{/if}}
47
- }
48
-
49
- /**
50
- * The {{pascalCase serviceName}} service interface.
51
- */
52
- export interface {{pascalCase serviceName}}Service {
53
- /**
54
- * Execute the primary service operation.
55
- */
56
- execute(): Promise<void>;
57
-
58
- /**
59
- * Get the current configuration (without sensitive values).
60
- */
61
- getConfig(): Partial<{{pascalCase serviceName}}Config>;
62
-
63
- /**
64
- * Check if the service is properly configured and operational.
65
- */
66
- healthCheck(): Promise<boolean>;
67
- }
68
-
69
- {{#if isApiIntegration}}
70
- /**
71
- * Base API response structure.
72
- */
73
- export interface {{pascalCase serviceName}}ApiResponse<T = unknown> {
74
- success: boolean;
75
- data?: T;
76
- error?: {
77
- code: string;
78
- message: string;
79
- details?: Record<string, unknown>;
80
- };
81
- meta?: {
82
- requestId?: string;
83
- rateLimit?: {
84
- remaining: number;
85
- reset: number;
86
- };
87
- };
88
- }
89
-
90
- /**
91
- * Request options for API calls.
92
- */
93
- export interface {{pascalCase serviceName}}RequestOptions {
94
- /**
95
- * HTTP method.
96
- */
97
- method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
98
-
99
- /**
100
- * Request headers.
101
- */
102
- headers?: Record<string, string>;
103
-
104
- /**
105
- * Request body.
106
- */
107
- body?: unknown;
108
-
109
- /**
110
- * Query parameters.
111
- */
112
- params?: Record<string, string | number | boolean>;
113
-
114
- /**
115
- * Request timeout override.
116
- */
117
- timeout?: number;
118
-
119
- /**
120
- * Skip retry on failure.
121
- */
122
- noRetry?: boolean;
123
- }
124
-
125
- /**
126
- * Rate limit information.
127
- */
128
- export interface {{pascalCase serviceName}}RateLimit {
129
- /**
130
- * Maximum requests allowed.
131
- */
132
- limit: number;
133
-
134
- /**
135
- * Remaining requests in current window.
136
- */
137
- remaining: number;
138
-
139
- /**
140
- * Unix timestamp when the rate limit resets.
141
- */
142
- reset: number;
143
- }
144
-
145
- {{/if}}
1
+ /**
2
+ * Type definitions for {{pascalCase serviceName}} service.
3
+ * @module @aiox/{{kebabCase serviceName}}/types
4
+ * @story {{storyId}}
5
+ */
6
+
7
+ /**
8
+ * Configuration options for the {{pascalCase serviceName}} service.
9
+ */
10
+ export interface {{pascalCase serviceName}}Config {
11
+ {{#each envVars}}
12
+ /**
13
+ * {{this.description}}
14
+ {{#if this.required}}
15
+ * @required
16
+ {{/if}}
17
+ */
18
+ {{camelCase this.name}}{{#unless this.required}}?{{/unless}}: string;
19
+
20
+ {{/each}}
21
+ {{#if isApiIntegration}}
22
+ /**
23
+ * Base URL for the API.
24
+ * @default '{{apiBaseUrl}}'
25
+ */
26
+ baseUrl?: string;
27
+
28
+ /**
29
+ * Request timeout in milliseconds.
30
+ * @default 30000
31
+ */
32
+ timeout?: number;
33
+
34
+ /**
35
+ * Maximum number of retry attempts.
36
+ * @default 3
37
+ */
38
+ maxRetries?: number;
39
+
40
+ /**
41
+ * Enable debug logging.
42
+ * @default false
43
+ */
44
+ debug?: boolean;
45
+
46
+ {{/if}}
47
+ }
48
+
49
+ /**
50
+ * The {{pascalCase serviceName}} service interface.
51
+ */
52
+ export interface {{pascalCase serviceName}}Service {
53
+ /**
54
+ * Execute the primary service operation.
55
+ */
56
+ execute(): Promise<void>;
57
+
58
+ /**
59
+ * Get the current configuration (without sensitive values).
60
+ */
61
+ getConfig(): Partial<{{pascalCase serviceName}}Config>;
62
+
63
+ /**
64
+ * Check if the service is properly configured and operational.
65
+ */
66
+ healthCheck(): Promise<boolean>;
67
+ }
68
+
69
+ {{#if isApiIntegration}}
70
+ /**
71
+ * Base API response structure.
72
+ */
73
+ export interface {{pascalCase serviceName}}ApiResponse<T = unknown> {
74
+ success: boolean;
75
+ data?: T;
76
+ error?: {
77
+ code: string;
78
+ message: string;
79
+ details?: Record<string, unknown>;
80
+ };
81
+ meta?: {
82
+ requestId?: string;
83
+ rateLimit?: {
84
+ remaining: number;
85
+ reset: number;
86
+ };
87
+ };
88
+ }
89
+
90
+ /**
91
+ * Request options for API calls.
92
+ */
93
+ export interface {{pascalCase serviceName}}RequestOptions {
94
+ /**
95
+ * HTTP method.
96
+ */
97
+ method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
98
+
99
+ /**
100
+ * Request headers.
101
+ */
102
+ headers?: Record<string, string>;
103
+
104
+ /**
105
+ * Request body.
106
+ */
107
+ body?: unknown;
108
+
109
+ /**
110
+ * Query parameters.
111
+ */
112
+ params?: Record<string, string | number | boolean>;
113
+
114
+ /**
115
+ * Request timeout override.
116
+ */
117
+ timeout?: number;
118
+
119
+ /**
120
+ * Skip retry on failure.
121
+ */
122
+ noRetry?: boolean;
123
+ }
124
+
125
+ /**
126
+ * Rate limit information.
127
+ */
128
+ export interface {{pascalCase serviceName}}RateLimit {
129
+ /**
130
+ * Maximum requests allowed.
131
+ */
132
+ limit: number;
133
+
134
+ /**
135
+ * Remaining requests in current window.
136
+ */
137
+ remaining: number;
138
+
139
+ /**
140
+ * Unix timestamp when the rate limit resets.
141
+ */
142
+ reset: number;
143
+ }
144
+
145
+ {{/if}}
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) {{year}} {{author}}
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) {{year}} {{author}}
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,7 +1,7 @@
1
1
  const fs = require('fs-extra');
2
2
  const path = require('path');
3
3
  const yaml = require('js-yaml');
4
- const glob = require('glob');
4
+ const fg = require('fast-glob');
5
5
 
6
6
  /**
7
7
  * ToolResolver - Resolves and loads AIOX tools from file system
@@ -55,7 +55,7 @@ class ToolResolver {
55
55
  // 3. Find tool file using glob (searches subdirectories)
56
56
  let toolPath = null;
57
57
  for (const basePath of searchPaths) {
58
- const candidates = glob.sync(`${basePath}/**/${toolName}.yaml`);
58
+ const candidates = fg.sync(`${basePath}/**/${toolName}.yaml`);
59
59
  if (candidates.length > 0) {
60
60
  toolPath = candidates[0];
61
61
  break;
@@ -288,7 +288,7 @@ class ToolResolver {
288
288
  listAvailableTools() {
289
289
  const allTools = [];
290
290
  for (const basePath of this.basePaths) {
291
- const tools = glob.sync(`${basePath}/**/*.yaml`);
291
+ const tools = fg.sync(`${basePath}/**/*.yaml`);
292
292
  allTools.push(...tools);
293
293
  }
294
294
  return allTools;
@@ -309,7 +309,7 @@ class ToolResolver {
309
309
  searchPaths.push(...this.basePaths);
310
310
 
311
311
  for (const basePath of searchPaths) {
312
- const candidates = glob.sync(`${basePath}/**/${toolName}.yaml`);
312
+ const candidates = fg.sync(`${basePath}/**/${toolName}.yaml`);
313
313
  if (candidates.length > 0) {
314
314
  return true;
315
315
  }