codemini-cli 0.2.4 → 0.2.5

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": "codemini-cli",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Coding CLI optimized for small-model workflows and Windows PowerShell",
5
5
  "keywords": [
6
6
  "cli",
package/src/cli.js CHANGED
@@ -4,7 +4,7 @@ import { handleConfig } from './commands/config.js';
4
4
  import { handleDoctor } from './commands/doctor.js';
5
5
  import { handleSkill } from './commands/skill.js';
6
6
 
7
- const VERSION = '0.2.4';
7
+ const VERSION = '0.2.5';
8
8
 
9
9
  function printHelp() {
10
10
  console.log(`codemini ${VERSION}
package/src/core/tools.js CHANGED
@@ -1840,11 +1840,11 @@ export function getBuiltinTools({ workspaceRoot = process.cwd(), config, onSyste
1840
1840
  function: {
1841
1841
  name: 'write',
1842
1842
  description:
1843
- 'Create a new file or overwrite a file. Use this for new files or explicit full rewrites. Prefer edit for existing code changes.',
1843
+ 'Create a new file or overwrite a file. Always include path and content. Use this for new files or explicit full rewrites only. If the file path is not decided yet, do not call write yet. Prefer edit for existing code changes.',
1844
1844
  parameters: {
1845
1845
  type: 'object',
1846
1846
  properties: {
1847
- path: { type: 'string', description: 'File path to create or overwrite' },
1847
+ path: { type: 'string', description: 'Required file path like src/app.js or pages/index.html. Never omit this.' },
1848
1848
  content: { type: 'string', description: 'Content to write' },
1849
1849
  append: { type: 'boolean', description: 'Append instead of overwrite' },
1850
1850
  full_file_rewrite: { type: 'boolean', description: 'Set true for whole-file rewrites' }