@ias-ai/zhima-spec 1.3.1 → 1.3.3

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 (87) hide show
  1. package/dist/core/command-generation/adapters/amazon-q.d.ts +1 -1
  2. package/dist/core/command-generation/adapters/amazon-q.js +2 -2
  3. package/dist/core/command-generation/adapters/antigravity.d.ts +1 -1
  4. package/dist/core/command-generation/adapters/antigravity.js +2 -2
  5. package/dist/core/command-generation/adapters/auggie.d.ts +1 -1
  6. package/dist/core/command-generation/adapters/auggie.js +2 -2
  7. package/dist/core/command-generation/adapters/bob.d.ts +1 -1
  8. package/dist/core/command-generation/adapters/bob.js +2 -2
  9. package/dist/core/command-generation/adapters/claude.d.ts +1 -1
  10. package/dist/core/command-generation/adapters/claude.js +2 -2
  11. package/dist/core/command-generation/adapters/cline.d.ts +1 -1
  12. package/dist/core/command-generation/adapters/cline.js +2 -2
  13. package/dist/core/command-generation/adapters/codebuddy.d.ts +1 -1
  14. package/dist/core/command-generation/adapters/codebuddy.js +2 -2
  15. package/dist/core/command-generation/adapters/codex.d.ts +1 -1
  16. package/dist/core/command-generation/adapters/codex.js +2 -2
  17. package/dist/core/command-generation/adapters/continue.d.ts +1 -1
  18. package/dist/core/command-generation/adapters/continue.js +3 -3
  19. package/dist/core/command-generation/adapters/costrict.d.ts +1 -1
  20. package/dist/core/command-generation/adapters/costrict.js +2 -2
  21. package/dist/core/command-generation/adapters/crush.d.ts +1 -1
  22. package/dist/core/command-generation/adapters/crush.js +2 -2
  23. package/dist/core/command-generation/adapters/cursor.d.ts +2 -2
  24. package/dist/core/command-generation/adapters/cursor.js +5 -5
  25. package/dist/core/command-generation/adapters/factory.d.ts +1 -1
  26. package/dist/core/command-generation/adapters/factory.js +2 -2
  27. package/dist/core/command-generation/adapters/gemini.d.ts +1 -1
  28. package/dist/core/command-generation/adapters/gemini.js +2 -2
  29. package/dist/core/command-generation/adapters/github-copilot.d.ts +1 -1
  30. package/dist/core/command-generation/adapters/github-copilot.js +2 -2
  31. package/dist/core/command-generation/adapters/iflow.d.ts +1 -1
  32. package/dist/core/command-generation/adapters/iflow.js +4 -4
  33. package/dist/core/command-generation/adapters/junie.d.ts +1 -1
  34. package/dist/core/command-generation/adapters/junie.js +2 -2
  35. package/dist/core/command-generation/adapters/kilocode.d.ts +1 -1
  36. package/dist/core/command-generation/adapters/kilocode.js +2 -2
  37. package/dist/core/command-generation/adapters/kiro.d.ts +1 -1
  38. package/dist/core/command-generation/adapters/kiro.js +2 -2
  39. package/dist/core/command-generation/adapters/lingma.d.ts +1 -1
  40. package/dist/core/command-generation/adapters/lingma.js +2 -2
  41. package/dist/core/command-generation/adapters/opencode.d.ts +1 -1
  42. package/dist/core/command-generation/adapters/opencode.js +2 -2
  43. package/dist/core/command-generation/adapters/pi.d.ts +3 -3
  44. package/dist/core/command-generation/adapters/pi.js +5 -5
  45. package/dist/core/command-generation/adapters/qoder.d.ts +1 -1
  46. package/dist/core/command-generation/adapters/qoder.js +2 -2
  47. package/dist/core/command-generation/adapters/qwen.d.ts +1 -1
  48. package/dist/core/command-generation/adapters/qwen.js +2 -2
  49. package/dist/core/command-generation/adapters/roocode.d.ts +1 -1
  50. package/dist/core/command-generation/adapters/roocode.js +2 -2
  51. package/dist/core/command-generation/adapters/vjsp.d.ts +1 -1
  52. package/dist/core/command-generation/adapters/vjsp.js +2 -2
  53. package/dist/core/command-generation/adapters/windsurf.d.ts +1 -1
  54. package/dist/core/command-generation/adapters/windsurf.js +2 -2
  55. package/dist/core/command-generation/types.d.ts +1 -1
  56. package/dist/core/legacy-cleanup.js +2 -2
  57. package/dist/core/migration.js +1 -1
  58. package/dist/core/shared/skill-generation.d.ts +2 -2
  59. package/dist/core/shared/skill-generation.js +13 -13
  60. package/dist/core/templates/skill-templates.d.ts +11 -11
  61. package/dist/core/templates/skill-templates.js +11 -11
  62. package/dist/core/templates/workflows/apply-change.d.ts +1 -1
  63. package/dist/core/templates/workflows/apply-change.js +2 -2
  64. package/dist/core/templates/workflows/archive-change.d.ts +1 -1
  65. package/dist/core/templates/workflows/archive-change.js +2 -2
  66. package/dist/core/templates/workflows/bulk-archive-change.d.ts +1 -1
  67. package/dist/core/templates/workflows/bulk-archive-change.js +2 -2
  68. package/dist/core/templates/workflows/continue-change.d.ts +1 -1
  69. package/dist/core/templates/workflows/continue-change.js +2 -2
  70. package/dist/core/templates/workflows/explore.d.ts +1 -1
  71. package/dist/core/templates/workflows/explore.js +2 -2
  72. package/dist/core/templates/workflows/ff-change.d.ts +1 -1
  73. package/dist/core/templates/workflows/ff-change.js +2 -2
  74. package/dist/core/templates/workflows/new-change.d.ts +1 -1
  75. package/dist/core/templates/workflows/new-change.js +3 -3
  76. package/dist/core/templates/workflows/onboard.d.ts +1 -1
  77. package/dist/core/templates/workflows/onboard.js +2 -2
  78. package/dist/core/templates/workflows/propose.d.ts +2 -2
  79. package/dist/core/templates/workflows/propose.js +3 -3
  80. package/dist/core/templates/workflows/sync-specs.d.ts +1 -1
  81. package/dist/core/templates/workflows/sync-specs.js +2 -2
  82. package/dist/core/templates/workflows/verify-change.d.ts +1 -1
  83. package/dist/core/templates/workflows/verify-change.js +2 -2
  84. package/dist/core/update.js +1 -1
  85. package/dist/utils/command-references.d.ts +3 -3
  86. package/dist/utils/command-references.js +4 -4
  87. package/package.json +1 -1
@@ -6,7 +6,7 @@
6
6
  import type { ToolCommandAdapter } from '../types.js';
7
7
  /**
8
8
  * Qoder adapter for command generation.
9
- * File path: .qoder/commands/opsx/<id>.md
9
+ * File path: .qoder/commands/zm/<id>.md
10
10
  * Frontmatter: name, description, category, tags
11
11
  */
12
12
  export declare const qoderAdapter: ToolCommandAdapter;
@@ -6,13 +6,13 @@
6
6
  import path from 'path';
7
7
  /**
8
8
  * Qoder adapter for command generation.
9
- * File path: .qoder/commands/opsx/<id>.md
9
+ * File path: .qoder/commands/zm/<id>.md
10
10
  * Frontmatter: name, description, category, tags
11
11
  */
12
12
  export const qoderAdapter = {
13
13
  toolId: 'qoder',
14
14
  getFilePath(commandId) {
15
- return path.join('.qoder', 'commands', 'opsx', `${commandId}.md`);
15
+ return path.join('.qoder', 'commands', 'zm', `${commandId}.md`);
16
16
  },
17
17
  formatFile(content) {
18
18
  const tagsStr = content.tags.join(', ');
@@ -6,7 +6,7 @@
6
6
  import type { ToolCommandAdapter } from '../types.js';
7
7
  /**
8
8
  * Qwen adapter for command generation.
9
- * File path: .qwen/commands/opsx-<id>.toml
9
+ * File path: .qwen/commands/zm-<id>.toml
10
10
  * Format: TOML with description and prompt fields
11
11
  */
12
12
  export declare const qwenAdapter: ToolCommandAdapter;
@@ -6,13 +6,13 @@
6
6
  import path from 'path';
7
7
  /**
8
8
  * Qwen adapter for command generation.
9
- * File path: .qwen/commands/opsx-<id>.toml
9
+ * File path: .qwen/commands/zm-<id>.toml
10
10
  * Format: TOML with description and prompt fields
11
11
  */
12
12
  export const qwenAdapter = {
13
13
  toolId: 'qwen',
14
14
  getFilePath(commandId) {
15
- return path.join('.qwen', 'commands', `opsx-${commandId}.toml`);
15
+ return path.join('.qwen', 'commands', `zm-${commandId}.toml`);
16
16
  },
17
17
  formatFile(content) {
18
18
  return `description = "${content.description}"
@@ -7,7 +7,7 @@
7
7
  import type { ToolCommandAdapter } from '../types.js';
8
8
  /**
9
9
  * RooCode adapter for command generation.
10
- * File path: .roo/commands/opsx-<id>.md
10
+ * File path: .roo/commands/zm-<id>.md
11
11
  * Format: Markdown header with description
12
12
  */
13
13
  export declare const roocodeAdapter: ToolCommandAdapter;
@@ -7,13 +7,13 @@
7
7
  import path from 'path';
8
8
  /**
9
9
  * RooCode adapter for command generation.
10
- * File path: .roo/commands/opsx-<id>.md
10
+ * File path: .roo/commands/zm-<id>.md
11
11
  * Format: Markdown header with description
12
12
  */
13
13
  export const roocodeAdapter = {
14
14
  toolId: 'roocode',
15
15
  getFilePath(commandId) {
16
- return path.join('.roo', 'commands', `opsx-${commandId}.md`);
16
+ return path.join('.roo', 'commands', `zm-${commandId}.md`);
17
17
  },
18
18
  formatFile(content) {
19
19
  return `# ${content.name}
@@ -6,7 +6,7 @@
6
6
  import type { ToolCommandAdapter } from '../types.js';
7
7
  /**
8
8
  * VJSP adapter for command generation.
9
- * File path: .vjsp/commands/opsx-<id>.md
9
+ * File path: .vjsp/commands/zm-<id>.md
10
10
  * Format: Markdown with frontmatter (name, description)
11
11
  */
12
12
  export declare const vjspAdapter: ToolCommandAdapter;
@@ -6,13 +6,13 @@
6
6
  import path from 'path';
7
7
  /**
8
8
  * VJSP adapter for command generation.
9
- * File path: .vjsp/commands/opsx-<id>.md
9
+ * File path: .vjsp/commands/zm-<id>.md
10
10
  * Format: Markdown with frontmatter (name, description)
11
11
  */
12
12
  export const vjspAdapter = {
13
13
  toolId: 'vjsp',
14
14
  getFilePath(commandId) {
15
- return path.join('.vjsp', 'commands', `opsx-${commandId}.md`);
15
+ return path.join('.vjsp', 'commands', `zm-${commandId}.md`);
16
16
  },
17
17
  formatFile(content) {
18
18
  return `---
@@ -7,7 +7,7 @@
7
7
  import type { ToolCommandAdapter } from '../types.js';
8
8
  /**
9
9
  * Windsurf adapter for command generation.
10
- * File path: .windsurf/workflows/opsx-<id>.md
10
+ * File path: .windsurf/workflows/zm-<id>.md
11
11
  * Frontmatter: name, description, category, tags
12
12
  */
13
13
  export declare const windsurfAdapter: ToolCommandAdapter;
@@ -28,13 +28,13 @@ function formatTagsArray(tags) {
28
28
  }
29
29
  /**
30
30
  * Windsurf adapter for command generation.
31
- * File path: .windsurf/workflows/opsx-<id>.md
31
+ * File path: .windsurf/workflows/zm-<id>.md
32
32
  * Frontmatter: name, description, category, tags
33
33
  */
34
34
  export const windsurfAdapter = {
35
35
  toolId: 'windsurf',
36
36
  getFilePath(commandId) {
37
- return path.join('.windsurf', 'workflows', `opsx-${commandId}.md`);
37
+ return path.join('.windsurf', 'workflows', `zm-${commandId}.md`);
38
38
  },
39
39
  formatFile(content) {
40
40
  return `---
@@ -33,7 +33,7 @@ export interface ToolCommandAdapter {
33
33
  /**
34
34
  * Returns the file path for a command.
35
35
  * @param commandId - The command identifier (e.g., 'explore')
36
- * @returns Path from project root (e.g., '.claude/commands/opsx/explore.md').
36
+ * @returns Path from project root (e.g., '.claude/commands/zm/explore.md').
37
37
  * May be absolute for tools with global-scoped prompts (e.g., Codex).
38
38
  */
39
39
  getFilePath(commandId: string): string;
@@ -45,11 +45,11 @@ export const LEGACY_SLASH_COMMAND_PATHS = {
45
45
  'roocode': { type: 'files', pattern: '.roo/commands/zhima-*.md' },
46
46
  'auggie': { type: 'files', pattern: '.augment/commands/zhima-*.md' },
47
47
  'factory': { type: 'files', pattern: '.factory/commands/zhima-*.md' },
48
- 'opencode': { type: 'files', pattern: ['.opencode/command/opsx-*.md', '.opencode/command/zhima-*.md'] },
48
+ 'opencode': { type: 'files', pattern: ['.opencode/command/zm-*.md', '.opencode/command/zhima-*.md'] },
49
49
  'continue': { type: 'files', pattern: '.continue/prompts/zhima-*.prompt' },
50
50
  'antigravity': { type: 'files', pattern: '.agent/workflows/zhima-*.md' },
51
51
  'iflow': { type: 'files', pattern: '.iflow/commands/zhima-*.md' },
52
- 'junie': { type: 'files', pattern: ['.junie/commands/opsx-*.md', '.junie/commands/zhima-*.md'] },
52
+ 'junie': { type: 'files', pattern: ['.junie/commands/zm-*.md', '.junie/commands/zhima-*.md'] },
53
53
  'qwen': { type: 'files', pattern: '.qwen/commands/zhima-*.toml' },
54
54
  'codex': { type: 'files', pattern: '.codex/prompts/zhima-*.md' },
55
55
  };
@@ -60,7 +60,7 @@ function inferDelivery(artifacts) {
60
60
  if (artifacts.hasCommands) {
61
61
  return 'commands';
62
62
  }
63
- return 'skills';
63
+ return 'both';
64
64
  }
65
65
  /**
66
66
  * Performs one-time migration if the global config does not yet have a profile field.
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Shared utilities for generating skill and command files.
5
5
  */
6
- import { getOpsxExploreCommandTemplate, type SkillTemplate } from '../templates/skill-templates.js';
6
+ import { getZmExploreCommandTemplate, type SkillTemplate } from '../templates/skill-templates.js';
7
7
  import type { CommandContent } from '../command-generation/index.js';
8
8
  /**
9
9
  * Skill template with directory name and workflow ID mapping.
@@ -17,7 +17,7 @@ export interface SkillTemplateEntry {
17
17
  * Command template with ID mapping.
18
18
  */
19
19
  export interface CommandTemplateEntry {
20
- template: ReturnType<typeof getOpsxExploreCommandTemplate>;
20
+ template: ReturnType<typeof getZmExploreCommandTemplate>;
21
21
  id: string;
22
22
  }
23
23
  /**
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Shared utilities for generating skill and command files.
5
5
  */
6
- import { getExploreSkillTemplate, getNewChangeSkillTemplate, getContinueChangeSkillTemplate, getApplyChangeSkillTemplate, getFfChangeSkillTemplate, getSyncSpecsSkillTemplate, getArchiveChangeSkillTemplate, getBulkArchiveChangeSkillTemplate, getVerifyChangeSkillTemplate, getOnboardSkillTemplate, getOpsxProposeSkillTemplate, getOpsxExploreCommandTemplate, getOpsxNewCommandTemplate, getOpsxContinueCommandTemplate, getOpsxApplyCommandTemplate, getOpsxFfCommandTemplate, getOpsxSyncCommandTemplate, getOpsxArchiveCommandTemplate, getOpsxBulkArchiveCommandTemplate, getOpsxVerifyCommandTemplate, getOpsxOnboardCommandTemplate, getOpsxProposeCommandTemplate, } from '../templates/skill-templates.js';
6
+ import { getExploreSkillTemplate, getNewChangeSkillTemplate, getContinueChangeSkillTemplate, getApplyChangeSkillTemplate, getFfChangeSkillTemplate, getSyncSpecsSkillTemplate, getArchiveChangeSkillTemplate, getBulkArchiveChangeSkillTemplate, getVerifyChangeSkillTemplate, getOnboardSkillTemplate, getZmProposeSkillTemplate, getZmExploreCommandTemplate, getZmNewCommandTemplate, getZmContinueCommandTemplate, getZmApplyCommandTemplate, getZmFfCommandTemplate, getZmSyncCommandTemplate, getZmArchiveCommandTemplate, getZmBulkArchiveCommandTemplate, getZmVerifyCommandTemplate, getZmOnboardCommandTemplate, getZmProposeCommandTemplate, } from '../templates/skill-templates.js';
7
7
  /**
8
8
  * Gets skill templates with their directory names, optionally filtered by workflow IDs.
9
9
  *
@@ -21,7 +21,7 @@ export function getSkillTemplates(workflowFilter) {
21
21
  { template: getBulkArchiveChangeSkillTemplate(), dirName: 'zhima-bulk-archive-change', workflowId: 'bulk-archive' },
22
22
  { template: getVerifyChangeSkillTemplate(), dirName: 'zhima-verify-change', workflowId: 'verify' },
23
23
  { template: getOnboardSkillTemplate(), dirName: 'zhima-onboard', workflowId: 'onboard' },
24
- { template: getOpsxProposeSkillTemplate(), dirName: 'zhima-propose', workflowId: 'propose' },
24
+ { template: getZmProposeSkillTemplate(), dirName: 'zhima-propose', workflowId: 'propose' },
25
25
  ];
26
26
  if (!workflowFilter)
27
27
  return all;
@@ -35,17 +35,17 @@ export function getSkillTemplates(workflowFilter) {
35
35
  */
36
36
  export function getCommandTemplates(workflowFilter) {
37
37
  const all = [
38
- { template: getOpsxExploreCommandTemplate(), id: 'explore' },
39
- { template: getOpsxNewCommandTemplate(), id: 'new' },
40
- { template: getOpsxContinueCommandTemplate(), id: 'continue' },
41
- { template: getOpsxApplyCommandTemplate(), id: 'apply' },
42
- { template: getOpsxFfCommandTemplate(), id: 'ff' },
43
- { template: getOpsxSyncCommandTemplate(), id: 'sync' },
44
- { template: getOpsxArchiveCommandTemplate(), id: 'archive' },
45
- { template: getOpsxBulkArchiveCommandTemplate(), id: 'bulk-archive' },
46
- { template: getOpsxVerifyCommandTemplate(), id: 'verify' },
47
- { template: getOpsxOnboardCommandTemplate(), id: 'onboard' },
48
- { template: getOpsxProposeCommandTemplate(), id: 'propose' },
38
+ { template: getZmExploreCommandTemplate(), id: 'explore' },
39
+ { template: getZmNewCommandTemplate(), id: 'new' },
40
+ { template: getZmContinueCommandTemplate(), id: 'continue' },
41
+ { template: getZmApplyCommandTemplate(), id: 'apply' },
42
+ { template: getZmFfCommandTemplate(), id: 'ff' },
43
+ { template: getZmSyncCommandTemplate(), id: 'sync' },
44
+ { template: getZmArchiveCommandTemplate(), id: 'archive' },
45
+ { template: getZmBulkArchiveCommandTemplate(), id: 'bulk-archive' },
46
+ { template: getZmVerifyCommandTemplate(), id: 'verify' },
47
+ { template: getZmOnboardCommandTemplate(), id: 'onboard' },
48
+ { template: getZmProposeCommandTemplate(), id: 'propose' },
49
49
  ];
50
50
  if (!workflowFilter)
51
51
  return all;
@@ -4,16 +4,16 @@
4
4
  * Compatibility facade that re-exports split workflow template modules.
5
5
  */
6
6
  export type { SkillTemplate, CommandTemplate } from './types.js';
7
- export { getExploreSkillTemplate, getOpsxExploreCommandTemplate } from './workflows/explore.js';
8
- export { getNewChangeSkillTemplate, getOpsxNewCommandTemplate } from './workflows/new-change.js';
9
- export { getContinueChangeSkillTemplate, getOpsxContinueCommandTemplate } from './workflows/continue-change.js';
10
- export { getApplyChangeSkillTemplate, getOpsxApplyCommandTemplate } from './workflows/apply-change.js';
11
- export { getFfChangeSkillTemplate, getOpsxFfCommandTemplate } from './workflows/ff-change.js';
12
- export { getSyncSpecsSkillTemplate, getOpsxSyncCommandTemplate } from './workflows/sync-specs.js';
13
- export { getArchiveChangeSkillTemplate, getOpsxArchiveCommandTemplate } from './workflows/archive-change.js';
14
- export { getBulkArchiveChangeSkillTemplate, getOpsxBulkArchiveCommandTemplate } from './workflows/bulk-archive-change.js';
15
- export { getVerifyChangeSkillTemplate, getOpsxVerifyCommandTemplate } from './workflows/verify-change.js';
16
- export { getOnboardSkillTemplate, getOpsxOnboardCommandTemplate } from './workflows/onboard.js';
17
- export { getOpsxProposeSkillTemplate, getOpsxProposeCommandTemplate } from './workflows/propose.js';
7
+ export { getExploreSkillTemplate, getZmExploreCommandTemplate } from './workflows/explore.js';
8
+ export { getNewChangeSkillTemplate, getZmNewCommandTemplate } from './workflows/new-change.js';
9
+ export { getContinueChangeSkillTemplate, getZmContinueCommandTemplate } from './workflows/continue-change.js';
10
+ export { getApplyChangeSkillTemplate, getZmApplyCommandTemplate } from './workflows/apply-change.js';
11
+ export { getFfChangeSkillTemplate, getZmFfCommandTemplate } from './workflows/ff-change.js';
12
+ export { getSyncSpecsSkillTemplate, getZmSyncCommandTemplate } from './workflows/sync-specs.js';
13
+ export { getArchiveChangeSkillTemplate, getZmArchiveCommandTemplate } from './workflows/archive-change.js';
14
+ export { getBulkArchiveChangeSkillTemplate, getZmBulkArchiveCommandTemplate } from './workflows/bulk-archive-change.js';
15
+ export { getVerifyChangeSkillTemplate, getZmVerifyCommandTemplate } from './workflows/verify-change.js';
16
+ export { getOnboardSkillTemplate, getZmOnboardCommandTemplate } from './workflows/onboard.js';
17
+ export { getZmProposeSkillTemplate, getZmProposeCommandTemplate } from './workflows/propose.js';
18
18
  export { getFeedbackSkillTemplate } from './workflows/feedback.js';
19
19
  //# sourceMappingURL=skill-templates.d.ts.map
@@ -3,16 +3,16 @@
3
3
  *
4
4
  * Compatibility facade that re-exports split workflow template modules.
5
5
  */
6
- export { getExploreSkillTemplate, getOpsxExploreCommandTemplate } from './workflows/explore.js';
7
- export { getNewChangeSkillTemplate, getOpsxNewCommandTemplate } from './workflows/new-change.js';
8
- export { getContinueChangeSkillTemplate, getOpsxContinueCommandTemplate } from './workflows/continue-change.js';
9
- export { getApplyChangeSkillTemplate, getOpsxApplyCommandTemplate } from './workflows/apply-change.js';
10
- export { getFfChangeSkillTemplate, getOpsxFfCommandTemplate } from './workflows/ff-change.js';
11
- export { getSyncSpecsSkillTemplate, getOpsxSyncCommandTemplate } from './workflows/sync-specs.js';
12
- export { getArchiveChangeSkillTemplate, getOpsxArchiveCommandTemplate } from './workflows/archive-change.js';
13
- export { getBulkArchiveChangeSkillTemplate, getOpsxBulkArchiveCommandTemplate } from './workflows/bulk-archive-change.js';
14
- export { getVerifyChangeSkillTemplate, getOpsxVerifyCommandTemplate } from './workflows/verify-change.js';
15
- export { getOnboardSkillTemplate, getOpsxOnboardCommandTemplate } from './workflows/onboard.js';
16
- export { getOpsxProposeSkillTemplate, getOpsxProposeCommandTemplate } from './workflows/propose.js';
6
+ export { getExploreSkillTemplate, getZmExploreCommandTemplate } from './workflows/explore.js';
7
+ export { getNewChangeSkillTemplate, getZmNewCommandTemplate } from './workflows/new-change.js';
8
+ export { getContinueChangeSkillTemplate, getZmContinueCommandTemplate } from './workflows/continue-change.js';
9
+ export { getApplyChangeSkillTemplate, getZmApplyCommandTemplate } from './workflows/apply-change.js';
10
+ export { getFfChangeSkillTemplate, getZmFfCommandTemplate } from './workflows/ff-change.js';
11
+ export { getSyncSpecsSkillTemplate, getZmSyncCommandTemplate } from './workflows/sync-specs.js';
12
+ export { getArchiveChangeSkillTemplate, getZmArchiveCommandTemplate } from './workflows/archive-change.js';
13
+ export { getBulkArchiveChangeSkillTemplate, getZmBulkArchiveCommandTemplate } from './workflows/bulk-archive-change.js';
14
+ export { getVerifyChangeSkillTemplate, getZmVerifyCommandTemplate } from './workflows/verify-change.js';
15
+ export { getOnboardSkillTemplate, getZmOnboardCommandTemplate } from './workflows/onboard.js';
16
+ export { getZmProposeSkillTemplate, getZmProposeCommandTemplate } from './workflows/propose.js';
17
17
  export { getFeedbackSkillTemplate } from './workflows/feedback.js';
18
18
  //# sourceMappingURL=skill-templates.js.map
@@ -6,5 +6,5 @@
6
6
  */
7
7
  import type { SkillTemplate, CommandTemplate } from '../types.js';
8
8
  export declare function getApplyChangeSkillTemplate(): SkillTemplate;
9
- export declare function getOpsxApplyCommandTemplate(): CommandTemplate;
9
+ export declare function getZmApplyCommandTemplate(): CommandTemplate;
10
10
  //# sourceMappingURL=apply-change.d.ts.map
@@ -155,9 +155,9 @@ This skill supports the "actions on a change" model:
155
155
  metadata: { author: 'zhima', version: '1.0' },
156
156
  };
157
157
  }
158
- export function getOpsxApplyCommandTemplate() {
158
+ export function getZmApplyCommandTemplate() {
159
159
  return {
160
- name: 'OPSX: Apply',
160
+ name: 'ZM: Apply',
161
161
  description: 'Implement tasks from an ZhiMa change (Experimental)',
162
162
  category: 'Workflow',
163
163
  tags: ['workflow', 'artifacts', 'experimental'],
@@ -6,5 +6,5 @@
6
6
  */
7
7
  import type { SkillTemplate, CommandTemplate } from '../types.js';
8
8
  export declare function getArchiveChangeSkillTemplate(): SkillTemplate;
9
- export declare function getOpsxArchiveCommandTemplate(): CommandTemplate;
9
+ export declare function getZmArchiveCommandTemplate(): CommandTemplate;
10
10
  //# sourceMappingURL=archive-change.d.ts.map
@@ -113,9 +113,9 @@ All artifacts complete. All tasks complete.
113
113
  metadata: { author: 'zhima', version: '1.0' },
114
114
  };
115
115
  }
116
- export function getOpsxArchiveCommandTemplate() {
116
+ export function getZmArchiveCommandTemplate() {
117
117
  return {
118
- name: 'OPSX: Archive',
118
+ name: 'ZM: Archive',
119
119
  description: 'Archive a completed change in the experimental workflow',
120
120
  category: 'Workflow',
121
121
  tags: ['workflow', 'archive', 'experimental'],
@@ -6,5 +6,5 @@
6
6
  */
7
7
  import type { SkillTemplate, CommandTemplate } from '../types.js';
8
8
  export declare function getBulkArchiveChangeSkillTemplate(): SkillTemplate;
9
- export declare function getOpsxBulkArchiveCommandTemplate(): CommandTemplate;
9
+ export declare function getZmBulkArchiveCommandTemplate(): CommandTemplate;
10
10
  //# sourceMappingURL=bulk-archive-change.d.ts.map
@@ -244,9 +244,9 @@ No active changes found. Create a new change to get started.
244
244
  metadata: { author: 'zhima', version: '1.0' },
245
245
  };
246
246
  }
247
- export function getOpsxBulkArchiveCommandTemplate() {
247
+ export function getZmBulkArchiveCommandTemplate() {
248
248
  return {
249
- name: 'OPSX: Bulk Archive',
249
+ name: 'ZM: Bulk Archive',
250
250
  description: 'Archive multiple completed changes at once',
251
251
  category: 'Workflow',
252
252
  tags: ['workflow', 'archive', 'experimental', 'bulk'],
@@ -6,5 +6,5 @@
6
6
  */
7
7
  import type { SkillTemplate, CommandTemplate } from '../types.js';
8
8
  export declare function getContinueChangeSkillTemplate(): SkillTemplate;
9
- export declare function getOpsxContinueCommandTemplate(): CommandTemplate;
9
+ export declare function getZmContinueCommandTemplate(): CommandTemplate;
10
10
  //# sourceMappingURL=continue-change.d.ts.map
@@ -115,9 +115,9 @@ For other schemas, follow the \`instruction\` field from the CLI output.
115
115
  metadata: { author: 'zhima', version: '1.0' },
116
116
  };
117
117
  }
118
- export function getOpsxContinueCommandTemplate() {
118
+ export function getZmContinueCommandTemplate() {
119
119
  return {
120
- name: 'OPSX: Continue',
120
+ name: 'ZM: Continue',
121
121
  description: 'Continue working on a change - create the next artifact (Experimental)',
122
122
  category: 'Workflow',
123
123
  tags: ['workflow', 'artifacts', 'experimental'],
@@ -6,5 +6,5 @@
6
6
  */
7
7
  import type { SkillTemplate, CommandTemplate } from '../types.js';
8
8
  export declare function getExploreSkillTemplate(): SkillTemplate;
9
- export declare function getOpsxExploreCommandTemplate(): CommandTemplate;
9
+ export declare function getZmExploreCommandTemplate(): CommandTemplate;
10
10
  //# sourceMappingURL=explore.d.ts.map
@@ -283,9 +283,9 @@ But this summary is optional. Sometimes the thinking IS the value.
283
283
  metadata: { author: 'zhima', version: '1.0' },
284
284
  };
285
285
  }
286
- export function getOpsxExploreCommandTemplate() {
286
+ export function getZmExploreCommandTemplate() {
287
287
  return {
288
- name: 'OPSX: Explore',
288
+ name: 'ZM: Explore',
289
289
  description: 'Enter explore mode - think through ideas, investigate problems, clarify requirements',
290
290
  category: 'Workflow',
291
291
  tags: ['workflow', 'explore', 'experimental', 'thinking'],
@@ -6,5 +6,5 @@
6
6
  */
7
7
  import type { SkillTemplate, CommandTemplate } from '../types.js';
8
8
  export declare function getFfChangeSkillTemplate(): SkillTemplate;
9
- export declare function getOpsxFfCommandTemplate(): CommandTemplate;
9
+ export declare function getZmFfCommandTemplate(): CommandTemplate;
10
10
  //# sourceMappingURL=ff-change.d.ts.map
@@ -98,9 +98,9 @@ After completing all artifacts, summarize:
98
98
  metadata: { author: 'zhima', version: '1.0' },
99
99
  };
100
100
  }
101
- export function getOpsxFfCommandTemplate() {
101
+ export function getZmFfCommandTemplate() {
102
102
  return {
103
- name: 'OPSX: Fast Forward',
103
+ name: 'ZM: Fast Forward',
104
104
  description: 'Create a change and generate all artifacts needed for implementation in one go',
105
105
  category: 'Workflow',
106
106
  tags: ['workflow', 'artifacts', 'experimental'],
@@ -6,5 +6,5 @@
6
6
  */
7
7
  import type { SkillTemplate, CommandTemplate } from '../types.js';
8
8
  export declare function getNewChangeSkillTemplate(): SkillTemplate;
9
- export declare function getOpsxNewCommandTemplate(): CommandTemplate;
9
+ export declare function getZmNewCommandTemplate(): CommandTemplate;
10
10
  //# sourceMappingURL=new-change.d.ts.map
@@ -70,10 +70,10 @@ After completing the steps, summarize:
70
70
  metadata: { author: 'zhima', version: '1.0' },
71
71
  };
72
72
  }
73
- export function getOpsxNewCommandTemplate() {
73
+ export function getZmNewCommandTemplate() {
74
74
  return {
75
- name: 'OPSX: New',
76
- description: 'Start a new change using the experimental artifact workflow (OPSX)',
75
+ name: 'ZM: New',
76
+ description: 'Start a new change using the experimental artifact workflow (ZM)',
77
77
  category: 'Workflow',
78
78
  tags: ['workflow', 'artifacts', 'experimental'],
79
79
  content: `Start a new change using the experimental artifact-driven approach.
@@ -6,5 +6,5 @@
6
6
  */
7
7
  import type { SkillTemplate, CommandTemplate } from '../types.js';
8
8
  export declare function getOnboardSkillTemplate(): SkillTemplate;
9
- export declare function getOpsxOnboardCommandTemplate(): CommandTemplate;
9
+ export declare function getZmOnboardCommandTemplate(): CommandTemplate;
10
10
  //# sourceMappingURL=onboard.d.ts.map
@@ -551,9 +551,9 @@ Exit gracefully.
551
551
  - **Use real codebase tasks**—don't simulate or use fake examples
552
552
  - **Adjust scope gently**—guide toward smaller tasks but respect user choice`;
553
553
  }
554
- export function getOpsxOnboardCommandTemplate() {
554
+ export function getZmOnboardCommandTemplate() {
555
555
  return {
556
- name: 'OPSX: Onboard',
556
+ name: 'ZM: Onboard',
557
557
  description: 'Guided onboarding - walk through a complete ZhiMa workflow cycle with narration',
558
558
  category: 'Workflow',
559
559
  tags: ['workflow', 'onboarding', 'tutorial', 'learning'],
@@ -5,6 +5,6 @@
5
5
  * templates file into workflow-focused modules.
6
6
  */
7
7
  import type { SkillTemplate, CommandTemplate } from '../types.js';
8
- export declare function getOpsxProposeSkillTemplate(): SkillTemplate;
9
- export declare function getOpsxProposeCommandTemplate(): CommandTemplate;
8
+ export declare function getZmProposeSkillTemplate(): SkillTemplate;
9
+ export declare function getZmProposeCommandTemplate(): CommandTemplate;
10
10
  //# sourceMappingURL=propose.d.ts.map
@@ -1,4 +1,4 @@
1
- export function getOpsxProposeSkillTemplate() {
1
+ export function getZmProposeSkillTemplate() {
2
2
  return {
3
3
  name: 'zhima-propose',
4
4
  description: 'Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.',
@@ -107,9 +107,9 @@ After completing all artifacts, summarize:
107
107
  metadata: { author: 'zhima', version: '1.0' },
108
108
  };
109
109
  }
110
- export function getOpsxProposeCommandTemplate() {
110
+ export function getZmProposeCommandTemplate() {
111
111
  return {
112
- name: 'OPSX: Propose',
112
+ name: 'ZM: Propose',
113
113
  description: 'Propose a new change - create it and generate all artifacts in one step',
114
114
  category: 'Workflow',
115
115
  tags: ['workflow', 'artifacts', 'experimental'],
@@ -6,5 +6,5 @@
6
6
  */
7
7
  import type { SkillTemplate, CommandTemplate } from '../types.js';
8
8
  export declare function getSyncSpecsSkillTemplate(): SkillTemplate;
9
- export declare function getOpsxSyncCommandTemplate(): CommandTemplate;
9
+ export declare function getZmSyncCommandTemplate(): CommandTemplate;
10
10
  //# sourceMappingURL=sync-specs.d.ts.map
@@ -143,9 +143,9 @@ Main specs are now updated. The change remains active - archive when implementat
143
143
  metadata: { author: 'zhima', version: '1.0' },
144
144
  };
145
145
  }
146
- export function getOpsxSyncCommandTemplate() {
146
+ export function getZmSyncCommandTemplate() {
147
147
  return {
148
- name: 'OPSX: Sync',
148
+ name: 'ZM: Sync',
149
149
  description: 'Sync delta specs from a change to main specs',
150
150
  category: 'Workflow',
151
151
  tags: ['workflow', 'specs', 'experimental'],
@@ -6,5 +6,5 @@
6
6
  */
7
7
  import type { SkillTemplate, CommandTemplate } from '../types.js';
8
8
  export declare function getVerifyChangeSkillTemplate(): SkillTemplate;
9
- export declare function getOpsxVerifyCommandTemplate(): CommandTemplate;
9
+ export declare function getZmVerifyCommandTemplate(): CommandTemplate;
10
10
  //# sourceMappingURL=verify-change.d.ts.map
@@ -167,9 +167,9 @@ Use clear markdown with:
167
167
  metadata: { author: 'zhima', version: '1.0' },
168
168
  };
169
169
  }
170
- export function getOpsxVerifyCommandTemplate() {
170
+ export function getZmVerifyCommandTemplate() {
171
171
  return {
172
- name: 'OPSX: Verify',
172
+ name: 'ZM: Verify',
173
173
  description: 'Verify implementation matches change artifacts before archiving',
174
174
  category: 'Workflow',
175
175
  tags: ['workflow', 'verify', 'experimental'],
@@ -49,7 +49,7 @@ export class UpdateCommand {
49
49
  throw new Error(`No ZhiMa directory found. Run 'zhima init' first.`);
50
50
  }
51
51
  // 2. Perform one-time migration if needed before any legacy upgrade generation.
52
- // Use detected tool directories to preserve existing opsx skills/commands.
52
+ // Use detected tool directories to preserve existing zm skills/commands.
53
53
  const detectedTools = getAvailableTools(resolvedProjectPath);
54
54
  migrateIfNeededShared(resolvedProjectPath, detectedTools);
55
55
  // 3. Read global config for profile/delivery
@@ -5,14 +5,14 @@
5
5
  */
6
6
  /**
7
7
  * Transforms colon-based command references to hyphen-based format.
8
- * Converts `/zm:` patterns to `/opsx-` for tools that use hyphen syntax.
8
+ * Converts `/zm:` patterns to `/zm-` for tools that use hyphen syntax.
9
9
  *
10
10
  * @param text - The text containing command references
11
11
  * @returns Text with command references transformed to hyphen format
12
12
  *
13
13
  * @example
14
- * transformToHyphenCommands('/zm:new') // returns '/opsx-new'
15
- * transformToHyphenCommands('Use /zm:apply to implement') // returns 'Use /opsx-apply to implement'
14
+ * transformToHyphenCommands('/zm:new') // returns '/zm-new'
15
+ * transformToHyphenCommands('Use /zm:apply to implement') // returns 'Use /zm-apply to implement'
16
16
  */
17
17
  export declare function transformToHyphenCommands(text: string): string;
18
18
  //# sourceMappingURL=command-references.d.ts.map
@@ -5,16 +5,16 @@
5
5
  */
6
6
  /**
7
7
  * Transforms colon-based command references to hyphen-based format.
8
- * Converts `/zm:` patterns to `/opsx-` for tools that use hyphen syntax.
8
+ * Converts `/zm:` patterns to `/zm-` for tools that use hyphen syntax.
9
9
  *
10
10
  * @param text - The text containing command references
11
11
  * @returns Text with command references transformed to hyphen format
12
12
  *
13
13
  * @example
14
- * transformToHyphenCommands('/zm:new') // returns '/opsx-new'
15
- * transformToHyphenCommands('Use /zm:apply to implement') // returns 'Use /opsx-apply to implement'
14
+ * transformToHyphenCommands('/zm:new') // returns '/zm-new'
15
+ * transformToHyphenCommands('Use /zm:apply to implement') // returns 'Use /zm-apply to implement'
16
16
  */
17
17
  export function transformToHyphenCommands(text) {
18
- return text.replace(/\/zm:/g, '/opsx-');
18
+ return text.replace(/\/zm:/g, '/zm-');
19
19
  }
20
20
  //# sourceMappingURL=command-references.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ias-ai/zhima-spec",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "AI-native system development flow",
5
5
  "keywords": [
6
6
  "zhima",