@agentforge/cli 0.11.6 → 0.11.8

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/README.md CHANGED
@@ -164,8 +164,7 @@ agentforge agent:create-reusable data-analyst --description "Analyze data and ge
164
164
  customer-support/
165
165
  ├── src/
166
166
  │ ├── index.ts # Agent factory function
167
- ├── index.test.ts # Comprehensive tests
168
- │ └── prompt-loader.ts # Prompt template utility
167
+ └── index.test.ts # Comprehensive tests
169
168
  ├── prompts/
170
169
  │ └── system.md # External prompt template
171
170
  ├── package.json
@@ -174,6 +173,8 @@ customer-support/
174
173
  └── README.md
175
174
  ```
176
175
 
176
+ **Note:** The agent uses `loadPrompt` from `@agentforge/core` for secure prompt template loading with built-in injection protection.
177
+
177
178
  **Next Steps After Creation:**
178
179
  1. `cd customer-support`
179
180
  2. `pnpm install`
package/dist/index.cjs CHANGED
@@ -843,7 +843,6 @@ async function agentCreateReusableCommand(name, options) {
843
843
  const srcDir = path12__default.default.join(agentDir, "src");
844
844
  await fs5.ensureDir(srcDir);
845
845
  await fs5.move(path12__default.default.join(agentDir, "index.ts"), path12__default.default.join(srcDir, "index.ts"));
846
- await fs5.move(path12__default.default.join(agentDir, "prompt-loader.ts"), path12__default.default.join(srcDir, "prompt-loader.ts"));
847
846
  await fs5.move(path12__default.default.join(agentDir, "index.test.ts"), path12__default.default.join(srcDir, "index.test.ts"));
848
847
  logger.succeedSpinner("Files organized");
849
848
  logger.newLine();