trinity-method-sdk 2.0.5 → 2.0.6

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/CHANGELOG.md CHANGED
@@ -19,6 +19,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
 
20
20
  ### Security
21
21
 
22
+ ## [2.0.6] - 2026-01-06
23
+
24
+ ### Fixed
25
+
26
+ - **CRITICAL: Command categorization logic** - Fixed `trinity update` to correctly categorize slash commands
27
+ - Execution commands (`audit`, `changelog`, `docs`, `readme`) were falling through to utility category
28
+ - Investigation commands containing `investigate` were not being matched properly
29
+ - Commands now deploy to correct category directories (session, planning, execution, investigation, infrastructure, utility)
30
+ - Prevents duplicate commands in wrong directories during updates
31
+
22
32
  ## [2.0.5] - 2026-01-06
23
33
 
24
34
  ### Fixed
package/README.md CHANGED
@@ -492,7 +492,7 @@ npm run build
492
492
  npm publish --access public
493
493
 
494
494
  # 3. Create git tag and push
495
- git tag -a v2.0.5 -m "Release v2.0.5"
495
+ git tag -a v2.0.6 -m "Release v2.0.6"
496
496
  git push origin main --follow-tags
497
497
  ```
498
498
 
@@ -98,7 +98,7 @@ export async function deploy(options) {
98
98
  PACKAGE_MANAGER: stack.packageManager || 'npm',
99
99
  BACKEND_FRAMEWORK: stack.framework,
100
100
  CURRENT_DATE: new Date().toISOString(),
101
- TRINITY_VERSION: pkg.version || '2.0.5',
101
+ TRINITY_VERSION: pkg.version || '2.0.6',
102
102
  };
103
103
  // STEP 4: Create directory structure
104
104
  const directoriesCreated = await createDirectories(spinner);
@@ -39,7 +39,7 @@ async function deployRootClaudeMarkdown(templatesPath, variables) {
39
39
  */
40
40
  async function deployVersionFile(pkgVersion) {
41
41
  const versionPath = validatePath('trinity/VERSION');
42
- await fs.writeFile(versionPath, pkgVersion || '2.0.5');
42
+ await fs.writeFile(versionPath, pkgVersion || '2.0.6');
43
43
  return 1;
44
44
  }
45
45
  /**
@@ -24,7 +24,7 @@ export async function installSDK(spinner) {
24
24
  if (!packageJson.dependencies) {
25
25
  packageJson.dependencies = {};
26
26
  }
27
- packageJson.dependencies['trinity-method-sdk'] = '^2.0.5';
27
+ packageJson.dependencies['trinity-method-sdk'] = '^2.0.6';
28
28
  await fs.writeJson(packageJsonPath, packageJson, { spaces: 2 });
29
29
  spinner.text = 'Installing Trinity Method SDK (this may take a moment)...';
30
30
  // Install dependencies
@@ -30,10 +30,14 @@ function determineCommandCategory(filename) {
30
30
  filename.includes('decompose')) {
31
31
  return 'planning';
32
32
  }
33
- else if (filename.includes('orchestrate')) {
33
+ else if (filename.includes('orchestrate') ||
34
+ filename.includes('audit') ||
35
+ filename.includes('changelog') ||
36
+ filename.includes('docs') ||
37
+ filename.includes('readme')) {
34
38
  return 'execution';
35
39
  }
36
- else if (filename.includes('investigation')) {
40
+ else if (filename.includes('investigation') || filename.includes('investigate')) {
37
41
  return 'investigation';
38
42
  }
39
43
  else if (filename.includes('init')) {
@@ -24,7 +24,7 @@ const VARIABLE_RESOLVERS = {
24
24
  DEPLOYMENT_TIMESTAMP: (v) => toString(v.DEPLOYMENT_TIMESTAMP || v.timestamp) || new Date().toISOString(),
25
25
  LANGUAGE: (v) => toString(v.LANGUAGE || v.language) || 'Unknown',
26
26
  PACKAGE_MANAGER: (v) => toString(v.PACKAGE_MANAGER || v.packageManager) || 'npm',
27
- TRINITY_VERSION: (v) => toString(v.TRINITY_VERSION) || '2.0.5',
27
+ TRINITY_VERSION: (v) => toString(v.TRINITY_VERSION) || '2.0.6',
28
28
  TECHNOLOGY_STACK: (v) => toString(v.TECHNOLOGY_STACK || v.TECH_STACK || v.techStack) || 'Unknown',
29
29
  PRIMARY_FRAMEWORK: (v) => toString(v.PRIMARY_FRAMEWORK || v.FRAMEWORK || v.framework) || 'Generic',
30
30
  CURRENT_DATE: (v) => toString(v.CURRENT_DATE) || new Date().toISOString().split('T')[0],
@@ -102,7 +102,7 @@ npm test
102
102
  "status": "success",
103
103
  "data": {
104
104
  "package": "email-validator",
105
- "versionInstalled": "2.0.5",
105
+ "versionInstalled": "2.0.6",
106
106
  "securityAudit": "passed",
107
107
  "vulnerabilities": 0,
108
108
  "testsAfterInstall": "passed",
@@ -365,11 +365,11 @@ npm audit
365
365
 
366
366
  # 3. Install
367
367
  npm install email-validator@^2.0.0
368
- # ✅ Installed v2.0.5
368
+ # ✅ Installed v2.0.6
369
369
 
370
370
  # 4. Verify
371
371
  npm ls email-validator
372
- # ✅ email-validator@2.0.5
372
+ # ✅ email-validator@2.0.6
373
373
 
374
374
  # 5. Run tests
375
375
  npm test
@@ -384,7 +384,7 @@ npm test
384
384
  "data": {
385
385
  "package": "email-validator",
386
386
  "versionRequested": "^2.0.0",
387
- "versionInstalled": "2.0.5",
387
+ "versionInstalled": "2.0.6",
388
388
  "weeklyDownloads": "5,234,567",
389
389
  "securityAudit": "passed",
390
390
  "vulnerabilities": 0,
@@ -514,7 +514,7 @@ npm install react@18.0.0 --dry-run
514
514
  "data": {
515
515
  "action": "install",
516
516
  "package": "email-validator",
517
- "versionInstalled": "2.0.5",
517
+ "versionInstalled": "2.0.6",
518
518
  "securityAudit": "passed",
519
519
  "vulnerabilities": 0,
520
520
  "testsAfterInstall": "passed",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trinity-method-sdk",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Trinity Method SDK - Investigation-first development methodology for any project",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",