tsoft-cli 3.13.0 → 3.13.1

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
@@ -5,6 +5,11 @@ All notable changes to T-Soft CLI will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.13.1] - 2026-09-10
9
+
10
+ ### Fixed
11
+ - The directory warning added in 3.13.0 no longer fires inside the theme directory it is pointing at. Some commands record the active theme by its folder id and others by its name, while the directory on disk is always named after the theme — so for a theme recorded by id the two never matched, the warning appeared even in the right place, and the `cd` it offered named an id that no directory has. An id cannot be turned back into a directory name without asking the store, which this check deliberately avoids so it stays fast and works offline, so the warning is now skipped in that case. Themes recorded by name are unaffected and still get the warning outside their directory.
12
+
8
13
  ## [3.13.0] - 2026-09-10
9
14
 
10
15
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsoft-cli",
3
- "version": "3.13.0",
3
+ "version": "3.13.1",
4
4
  "description": "Command-line tool for tsoft360 theme development and management",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -1,6 +1,6 @@
1
1
  import path from 'path';
2
2
  import chalk from 'chalk';
3
- import { normalizeStoreDomain } from '../storage.js';
3
+ import { normalizeStoreDomain, isThemeUuid } from '../storage.js';
4
4
  import { t } from '../i18n.js';
5
5
 
6
6
  const THEME_CONTEXT_COMMANDS = new Set([
@@ -37,6 +37,10 @@ export function buildWorkspaceHint({ context, activeStore, activeTheme, workspac
37
37
  return null;
38
38
  }
39
39
 
40
+ if (isThemeUuid(activeTheme)) {
41
+ return null;
42
+ }
43
+
40
44
  if (standingInTheme({ context, activeStore, activeTheme })) {
41
45
  return null;
42
46
  }
@@ -49,7 +53,7 @@ export function buildWorkspaceHint({ context, activeStore, activeTheme, workspac
49
53
  }
50
54
 
51
55
  export function buildThemeMissingHint({ context, activeStore, activeTheme, workspaceRoot = null }) {
52
- if (standingInTheme({ context, activeStore, activeTheme })) {
56
+ if (isThemeUuid(activeTheme) || standingInTheme({ context, activeStore, activeTheme })) {
53
57
  return { reason: 'not-downloaded', store: activeStore, theme: activeTheme, cd: null };
54
58
  }
55
59