@flue/client 0.0.11 → 0.0.12

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
@@ -41,7 +41,7 @@ Options: `env`, `stdin`, `cwd`, `timeout`
41
41
 
42
42
  ### `flue.skill(name, options?)`
43
43
 
44
- Delegate a task to an AI agent using a skill file from `.opencode/skills/`. The agent reads the skill instructions and works autonomously.
44
+ Delegate a task to an AI agent using a skill file from `.agents/skills/`. The agent reads the skill instructions and works autonomously.
45
45
 
46
46
  ```ts
47
47
  // Fire-and-forget (no return value)
package/dist/index.mjs CHANGED
@@ -215,10 +215,10 @@ function isFilePath(name) {
215
215
  *
216
216
  * If `name` looks like a file path (contains '/' or ends with '.md'), the
217
217
  * prompt instructs the agent to read and follow that file under
218
- * `.opencode/skills/`. Otherwise, it instructs the agent to use the named
218
+ * `.agents/skills/`. Otherwise, it instructs the agent to use the named
219
219
  * skill.
220
220
  *
221
- * @param name - A skill name or a file path relative to .opencode/skills/.
221
+ * @param name - A skill name or a file path relative to .agents/skills/.
222
222
  * @param args - Key-value arguments to include in the prompt.
223
223
  * @param schema - Optional Valibot schema for result extraction.
224
224
  * @returns The complete prompt string.
@@ -227,7 +227,7 @@ function buildSkillPrompt(name, args, schema) {
227
227
  const parts = [
228
228
  "You are running in headless mode with no human operator. Work autonomously — never ask questions, never wait for user input, never use the question tool. Make your best judgment and proceed independently.",
229
229
  "",
230
- isFilePath(name) ? `Read and use the .opencode/skills/${name} skill.` : `Use the ${name} skill.`
230
+ isFilePath(name) ? `Read and use the .agents/skills/${name} skill.` : `Use the ${name} skill.`
231
231
  ];
232
232
  if (args && Object.keys(args).length > 0) parts.push(`\nArguments:\n${JSON.stringify(args, null, 2)}`);
233
233
  if (schema) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flue/client",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "exports": {