chati-dev 3.0.2 → 3.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chati-dev",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "AI-Powered Multi-Agent Orchestration System — Structured vibe coding for Full Stack Development",
5
5
  "type": "module",
6
6
  "bin": {
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Provider conventions (verified Feb 2026):
9
9
  * - Gemini CLI: auto-loads GEMINI.md, uses .gemini/commands/*.toml, no rules/
10
- * - Codex CLI: auto-loads AGENTS.md, uses .codex/commands/*.md for /chati
10
+ * - Codex CLI: auto-loads AGENTS.md, uses .agents/skills/chati/SKILL.md for $chati
11
11
  * - Copilot CLI: auto-loads AGENTS.md + CLAUDE.md + GEMINI.md natively (no COPILOT.md needed)
12
12
  */
13
13
 
@@ -43,10 +43,10 @@ export const IDE_CONFIGS = {
43
43
  name: 'Codex CLI',
44
44
  description: 'OpenAI Codex terminal agent',
45
45
  recommended: false,
46
- configPath: '.codex/commands/',
46
+ configPath: '.agents/skills/chati/',
47
47
  rulesFile: 'AGENTS.md',
48
48
  mcpConfigFile: null,
49
- formatNotes: 'Markdown command format',
49
+ formatNotes: 'Codex skill format (SKILL.md with YAML frontmatter)',
50
50
  },
51
51
  'gemini-cli': {
52
52
  name: 'Gemini CLI',
@@ -3,7 +3,7 @@ import { join, dirname } from 'path';
3
3
  import { fileURLToPath } from 'url';
4
4
  import { IDE_CONFIGS } from '../config/ide-configs.js';
5
5
  import { generateClaudeMCPConfig } from '../config/mcp-configs.js';
6
- import { generateSessionYaml, generateConfigYaml, generateClaudeMd, generateClaudeLocalMd, generateCodexRouter, generateGeminiRouter, generateCopilotAgent } from './templates.js';
6
+ import { generateSessionYaml, generateConfigYaml, generateClaudeMd, generateClaudeLocalMd, generateCodexSkill, generateGeminiRouter, generateCopilotAgent } from './templates.js';
7
7
  import { generateContextFiles } from '../config/context-file-generator.js';
8
8
  import { verifyManifest } from './manifest.js';
9
9
 
@@ -302,8 +302,9 @@ Pass through all context: session state, handoffs, artifacts, and user input.
302
302
  );
303
303
  }
304
304
  } else if (ideKey === 'codex-cli') {
305
- // Codex CLI: /chati slash command via .codex/commands/
306
- writeFileSync(join(targetDir, '.codex', 'commands', 'chati.md'), generateCodexRouter(), 'utf-8');
305
+ // Codex CLI: chati skill via .agents/skills/chati/SKILL.md (invoke with $chati)
306
+ createDir(join(targetDir, '.agents', 'skills', 'chati'));
307
+ writeFileSync(join(targetDir, '.agents', 'skills', 'chati', 'SKILL.md'), generateCodexSkill(), 'utf-8');
307
308
  } else if (ideKey === 'gemini-cli') {
308
309
  // Gemini CLI: TOML command file (native format for /chati command)
309
310
  writeFileSync(join(targetDir, '.gemini', 'commands', 'chati.toml'), generateGeminiRouter(), 'utf-8');
@@ -147,13 +147,24 @@ Type \`/chati\` to start.
147
147
  }
148
148
 
149
149
  /**
150
- * Generate Codex CLI command (.codex/commands/chati.md)
150
+ * Generate Codex CLI skill (.agents/skills/chati/SKILL.md)
151
151
  *
152
- * Codex CLI supports /chati slash command via .codex/commands/.
152
+ * Codex CLI uses the Skills system for extensibility.
153
+ * Skills live in .agents/skills/<name>/SKILL.md with YAML frontmatter.
154
+ * The user invokes with $chati or Codex auto-detects based on description.
153
155
  * Also reads AGENTS.md for project context (auto-generated by context-file-generator).
154
156
  */
155
- export function generateCodexRouter() {
156
- return `# /chati — Thin Router
157
+ export function generateCodexSkill() {
158
+ return `---
159
+ name: chati
160
+ description: >
161
+ Use this skill when the user wants to start or continue a Chati.dev session.
162
+ This activates the orchestrator which routes to the correct agent in the pipeline.
163
+ Invoke when the user mentions chati, /chati, wants to plan, build, or deploy a project.
164
+ Do NOT use for general coding questions unrelated to the Chati.dev pipeline.
165
+ ---
166
+
167
+ # Chati.dev Orchestrator
157
168
 
158
169
  ## CRITICAL — Language Override
159
170
 
@@ -180,6 +191,8 @@ Pass through all context: session state, handoffs, artifacts, and user input.
180
191
  - \`AGENTS.md\` (project context — auto-generated)
181
192
  - \`chati.dev/artifacts/handoffs/\` (latest handoff)
182
193
  - \`chati.dev/config.yaml\` (version info)
194
+
195
+ **User input:** $ARGUMENTS
183
196
  `;
184
197
  }
185
198
 
@@ -120,7 +120,11 @@ export async function runWizard(targetDir, options = {}) {
120
120
  // Show quick start — same experience across all providers
121
121
  const primaryIDE = selectedIDEs[selectedIDEs.length - 1];
122
122
  const primaryIDEName = IDE_CONFIGS[primaryIDE]?.name || primaryIDE;
123
- const invokeCmd = primaryIDE === 'github-copilot' ? '@chati' : '/chati';
123
+ const invokeCmdMap = {
124
+ 'github-copilot': '@chati',
125
+ 'codex-cli': '$chati',
126
+ };
127
+ const invokeCmd = invokeCmdMap[primaryIDE] || '/chati';
124
128
  showQuickStart(t('installer.quick_start_title'), [
125
129
  `${t('installer.quick_start_1')} (${primaryIDEName})`,
126
130
  `Type: ${invokeCmd}`,