@orderful/droid 0.17.0 → 0.17.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @orderful/droid
2
2
 
3
+ ## 0.17.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#92](https://github.com/Orderful/droid/pull/92) [`865ab78`](https://github.com/Orderful/droid/commit/865ab7894c49e168ea677d9906486ac1de29fcee) Thanks [@frytyler](https://github.com/frytyler)! - Fix auto-update for app not triggering when enabled
8
+
9
+ ## 0.17.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#90](https://github.com/Orderful/droid/pull/90) [`30abc1c`](https://github.com/Orderful/droid/commit/30abc1cd699a41ca7bbb699586b27246e99762e3) Thanks [@frytyler](https://github.com/frytyler)! - Improve /brain check to delegate to /comments check when available
14
+
15
+ - [#89](https://github.com/Orderful/droid/pull/89) [`624518e`](https://github.com/Orderful/droid/commit/624518ec2ad0b9ac303ead7ae39684b8db73459e) Thanks [@frytyler](https://github.com/frytyler)! - Improve skill descriptions with "Use when" pattern for better Claude matching
16
+
17
+ Updated all skill frontmatter descriptions to follow the official Claude Code pattern:
18
+ `{What it does}. Use when {scenarios}. User prompts like {examples}.`
19
+
20
+ This helps Claude better recognise when to invoke skills based on user intent.
21
+
22
+ Bumps tool versions: brain 0.2.1, coach 0.1.1, code-review 0.1.1, comments 0.2.4, droid 0.2.1, project 0.1.3
23
+
3
24
  ## 0.17.0
4
25
 
5
26
  ### Minor Changes
package/dist/bin/droid.js CHANGED
@@ -1407,7 +1407,7 @@ async function updateCommand(tool, options) {
1407
1407
 
1408
1408
  // src/commands/tui.tsx
1409
1409
  import { render, Box as Box12, Text as Text13, useInput as useInput7, useApp as useApp2 } from "ink";
1410
- import { useState as useState9 } from "react";
1410
+ import { useState as useState9, useEffect } from "react";
1411
1411
 
1412
1412
  // src/commands/tui/constants.ts
1413
1413
  var colors = {
@@ -2709,6 +2709,12 @@ function App() {
2709
2709
  }
2710
2710
  }
2711
2711
  });
2712
+ useEffect(() => {
2713
+ const autoUpdateConfig = getAutoUpdateConfig();
2714
+ if (autoUpdateConfig.app && updateInfo.hasUpdate && view === "welcome" && !isUpdating) {
2715
+ handleUpdate();
2716
+ }
2717
+ }, [updateInfo.hasUpdate, view, isUpdating, handleUpdate]);
2712
2718
  const proceedToNextView = () => {
2713
2719
  if (!configExists()) {
2714
2720
  setView("setup");
@@ -1 +1 @@
1
- {"version":3,"file":"tui.d.ts","sourceRoot":"","sources":["../../src/commands/tui.tsx"],"names":[],"mappings":"AA2cA,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAiBhD"}
1
+ {"version":3,"file":"tui.d.ts","sourceRoot":"","sources":["../../src/commands/tui.tsx"],"names":[],"mappings":"AAmdA,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAiBhD"}
@@ -1,6 +1,6 @@
1
1
  name: brain
2
2
  description: "Your scratchpad (or brain) - a collaborative space for planning and research. Create docs with /brain plan, /brain research, or /brain review. Use @mentions for async discussion. Docs persist across sessions."
3
- version: 0.2.0
3
+ version: 0.2.1
4
4
  status: beta
5
5
 
6
6
  includes:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: brain
3
- description: "Your scratchpad (or brain) - a collaborative space for planning and research. Triggers on phrases like 'let's use our brain', 'open a scratchpad', or 'plan this out' to capture AI output into a persistent doc. Create docs with /brain plan (or /scratchpad plan), /brain research, or /brain review. Use @mentions for async discussion. Docs persist across sessions."
3
+ description: "Collaborative scratchpad for planning and research. Use when planning a feature, exploring a problem, or capturing thinking that should persist across sessions. User prompts like 'let's think through', 'open a scratchpad', 'plan this out', 'use our brain'."
4
4
  globs:
5
5
  - "**/brain/**/*.md"
6
6
  alwaysApply: false
@@ -148,7 +148,7 @@ Full procedure: `references/workflows.md` § Adding
148
148
 
149
149
  **Trigger:** `/brain check`
150
150
 
151
- **TLDR:** Find `> @droid` comments in active doc, address each one with `> @{user_mention}` response (always use blockquote `>`).
151
+ **TLDR:** Invoke `/comments check {active_doc_path}`. If unavailable, find `> @droid` comments and address each (preserve original, add response below).
152
152
 
153
153
  Full procedure: `references/workflows.md` § Checking
154
154
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: brain-obsidian
3
- description: "Obsidian extension for brain skill. Adds YAML frontmatter, wikilinks, and folder organization. Requires brain skill. Install this to use brain docs with your Obsidian vault."
3
+ description: "Obsidian extension for brain skill with YAML frontmatter, wikilinks, and PARA folder organization. Use when your brain docs live in an Obsidian vault."
4
4
  globs:
5
5
  - "**/brain/**/*.md"
6
6
  alwaysApply: false
@@ -1,6 +1,6 @@
1
1
  name: coach
2
2
  description: "Learning-mode AI assistance - AI as coach, not crutch. Use /coach plan for co-authored planning, /coach scaffold for structure with hints, /coach review for Socratic questions."
3
- version: 0.1.0
3
+ version: 0.1.1
4
4
  status: beta
5
5
 
6
6
  includes:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: coach
3
- description: "Learning-mode AI assistance - AI as coach, not crutch. Triggers on phrases like 'help me think through', 'coach me on', 'I want to learn how to', or 'don't just give me the answer'. Use /coach plan for co-authored planning, /coach scaffold for structure with hints, /coach review for Socratic questions on your code."
3
+ description: "Learning-mode AI assistance - scaffolds don't implement, questions don't fix. Use when learning a new codebase, wanting to understand deeply, or building skills to retain. User prompts like 'coach me on', 'help me think through', 'I want to learn how to', 'don't just give me the answer'."
4
4
  alwaysApply: false
5
5
  allowed-tools: Read, Grep, Glob
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  name: code-review
2
2
  description: "Comprehensive code review using specialized agents. Reviews PRs, staged changes, branches, or specific files with confidence scoring."
3
- version: 0.1.0
3
+ version: 0.1.1
4
4
  status: alpha
5
5
 
6
6
  includes:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: code-review
3
- description: "Comprehensive code review using specialized agents. Reviews PRs, staged changes, branches, or specific files. Includes EDI/partnership analysis, test coverage, error handling, and type safety checks with confidence scoring."
3
+ description: "Comprehensive code review using specialized agents. Use when reviewing PRs, checking staged changes, or analysing code quality. User prompts like 'review this PR', 'check my changes', 'review before I commit'."
4
4
  globs:
5
5
  - "**/*"
6
6
  alwaysApply: false
@@ -1,6 +1,6 @@
1
1
  name: comments
2
2
  description: "Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Use /comments check to address markers, /comments cleanup to remove resolved threads. Ideal for code review notes and async collaboration."
3
- version: 0.2.3
3
+ version: 0.2.4
4
4
  status: beta
5
5
 
6
6
  includes:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: comments
3
- description: "Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Use /comments check to address markers, /comments cleanup to remove resolved threads. Ideal for code review notes and async collaboration."
3
+ description: "Inline conversations using @droid/@user markers in any file. Use when leaving async questions in code or having discussion that should stay near the code. User prompts like 'check for comments', 'address the @droid markers', 'clean up resolved comments'."
4
4
  globs:
5
5
  - "**/*"
6
6
  alwaysApply: false
@@ -1,6 +1,6 @@
1
1
  name: droid
2
2
  description: "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools."
3
- version: 0.2.0
3
+ version: 0.2.1
4
4
  status: beta
5
5
 
6
6
  # System tool - always stays current regardless of auto-update settings
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: droid
3
- description: "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools."
3
+ description: "Core droid meta-skill for updates and tool discovery. Use when checking for droid updates or discovering available tools. User prompts like 'any droid updates?', 'what tools do I have?', 'is droid up to date?'."
4
4
  globs:
5
5
  - "**/*"
6
6
  alwaysApply: false
@@ -1,6 +1,6 @@
1
1
  name: project
2
2
  description: "Manage project context files for persistent AI memory across sessions. Load, update, or create project context before working on multi-session features."
3
- version: 0.1.2
3
+ version: 0.1.3
4
4
  status: beta
5
5
 
6
6
  includes:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: project
3
- description: "Manage project context files for persistent AI memory across sessions. Load project context before working (/project {name}), update with new learnings (/project update), or create new projects (/project create). Use when working on multi-session features, refactors, or any work that benefits from accumulated context."
3
+ description: "Persistent project context for AI memory across sessions. Use when working on multi-session features, refactors, or any work that benefits from accumulated context. User prompts like 'load the project', 'update project context', 'what's the current project?'."
4
4
  globs:
5
5
  - "**/PROJECT.md"
6
6
  alwaysApply: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderful/droid",
3
- "version": "0.17.0",
3
+ "version": "0.17.2",
4
4
  "description": "AI workflow toolkit for sharing skills, commands, and agents across the team",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,5 +1,5 @@
1
1
  import { render, Box, Text, useInput, useApp } from 'ink';
2
- import { useState } from 'react';
2
+ import { useState, useEffect } from 'react';
3
3
  import {
4
4
  getBundledSkills,
5
5
  installSkill,
@@ -7,7 +7,7 @@ import {
7
7
  updateSkill,
8
8
  } from '../lib/skills';
9
9
  import { getBundledTools, isToolInstalled, getToolUpdateStatus } from '../lib/tools';
10
- import { configExists, loadConfig } from '../lib/config';
10
+ import { configExists, loadConfig, getAutoUpdateConfig } from '../lib/config';
11
11
  import { Platform, type ConfigOption, type ToolManifest } from '../lib/types';
12
12
  import { getVersion } from '../lib/version';
13
13
  import { type Tab, type View } from './tui/types';
@@ -60,6 +60,14 @@ function App() {
60
60
  },
61
61
  });
62
62
 
63
+ // Auto-update app if enabled and update available
64
+ useEffect(() => {
65
+ const autoUpdateConfig = getAutoUpdateConfig();
66
+ if (autoUpdateConfig.app && updateInfo.hasUpdate && view === 'welcome' && !isUpdating) {
67
+ handleUpdate();
68
+ }
69
+ }, [updateInfo.hasUpdate, view, isUpdating, handleUpdate]);
70
+
63
71
  const proceedToNextView = () => {
64
72
  if (!configExists()) {
65
73
  setView('setup');
@@ -1,6 +1,6 @@
1
1
  name: brain
2
2
  description: "Your scratchpad (or brain) - a collaborative space for planning and research. Create docs with /brain plan, /brain research, or /brain review. Use @mentions for async discussion. Docs persist across sessions."
3
- version: 0.2.0
3
+ version: 0.2.1
4
4
  status: beta
5
5
 
6
6
  includes:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: brain
3
- description: "Your scratchpad (or brain) - a collaborative space for planning and research. Triggers on phrases like 'let's use our brain', 'open a scratchpad', or 'plan this out' to capture AI output into a persistent doc. Create docs with /brain plan (or /scratchpad plan), /brain research, or /brain review. Use @mentions for async discussion. Docs persist across sessions."
3
+ description: "Collaborative scratchpad for planning and research. Use when planning a feature, exploring a problem, or capturing thinking that should persist across sessions. User prompts like 'let's think through', 'open a scratchpad', 'plan this out', 'use our brain'."
4
4
  globs:
5
5
  - "**/brain/**/*.md"
6
6
  alwaysApply: false
@@ -148,7 +148,7 @@ Full procedure: `references/workflows.md` § Adding
148
148
 
149
149
  **Trigger:** `/brain check`
150
150
 
151
- **TLDR:** Find `> @droid` comments in active doc, address each one with `> @{user_mention}` response (always use blockquote `>`).
151
+ **TLDR:** Invoke `/comments check {active_doc_path}`. If unavailable, find `> @droid` comments and address each (preserve original, add response below).
152
152
 
153
153
  Full procedure: `references/workflows.md` § Checking
154
154
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: brain-obsidian
3
- description: "Obsidian extension for brain skill. Adds YAML frontmatter, wikilinks, and folder organization. Requires brain skill. Install this to use brain docs with your Obsidian vault."
3
+ description: "Obsidian extension for brain skill with YAML frontmatter, wikilinks, and PARA folder organization. Use when your brain docs live in an Obsidian vault."
4
4
  globs:
5
5
  - "**/brain/**/*.md"
6
6
  alwaysApply: false
@@ -1,6 +1,6 @@
1
1
  name: coach
2
2
  description: "Learning-mode AI assistance - AI as coach, not crutch. Use /coach plan for co-authored planning, /coach scaffold for structure with hints, /coach review for Socratic questions."
3
- version: 0.1.0
3
+ version: 0.1.1
4
4
  status: beta
5
5
 
6
6
  includes:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: coach
3
- description: "Learning-mode AI assistance - AI as coach, not crutch. Triggers on phrases like 'help me think through', 'coach me on', 'I want to learn how to', or 'don't just give me the answer'. Use /coach plan for co-authored planning, /coach scaffold for structure with hints, /coach review for Socratic questions on your code."
3
+ description: "Learning-mode AI assistance - scaffolds don't implement, questions don't fix. Use when learning a new codebase, wanting to understand deeply, or building skills to retain. User prompts like 'coach me on', 'help me think through', 'I want to learn how to', 'don't just give me the answer'."
4
4
  alwaysApply: false
5
5
  allowed-tools: Read, Grep, Glob
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  name: code-review
2
2
  description: "Comprehensive code review using specialized agents. Reviews PRs, staged changes, branches, or specific files with confidence scoring."
3
- version: 0.1.0
3
+ version: 0.1.1
4
4
  status: alpha
5
5
 
6
6
  includes:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: code-review
3
- description: "Comprehensive code review using specialized agents. Reviews PRs, staged changes, branches, or specific files. Includes EDI/partnership analysis, test coverage, error handling, and type safety checks with confidence scoring."
3
+ description: "Comprehensive code review using specialized agents. Use when reviewing PRs, checking staged changes, or analysing code quality. User prompts like 'review this PR', 'check my changes', 'review before I commit'."
4
4
  globs:
5
5
  - "**/*"
6
6
  alwaysApply: false
@@ -1,6 +1,6 @@
1
1
  name: comments
2
2
  description: "Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Use /comments check to address markers, /comments cleanup to remove resolved threads. Ideal for code review notes and async collaboration."
3
- version: 0.2.3
3
+ version: 0.2.4
4
4
  status: beta
5
5
 
6
6
  includes:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: comments
3
- description: "Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Use /comments check to address markers, /comments cleanup to remove resolved threads. Ideal for code review notes and async collaboration."
3
+ description: "Inline conversations using @droid/@user markers in any file. Use when leaving async questions in code or having discussion that should stay near the code. User prompts like 'check for comments', 'address the @droid markers', 'clean up resolved comments'."
4
4
  globs:
5
5
  - "**/*"
6
6
  alwaysApply: false
@@ -1,6 +1,6 @@
1
1
  name: droid
2
2
  description: "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools."
3
- version: 0.2.0
3
+ version: 0.2.1
4
4
  status: beta
5
5
 
6
6
  # System tool - always stays current regardless of auto-update settings
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: droid
3
- description: "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools."
3
+ description: "Core droid meta-skill for updates and tool discovery. Use when checking for droid updates or discovering available tools. User prompts like 'any droid updates?', 'what tools do I have?', 'is droid up to date?'."
4
4
  globs:
5
5
  - "**/*"
6
6
  alwaysApply: false
@@ -1,6 +1,6 @@
1
1
  name: project
2
2
  description: "Manage project context files for persistent AI memory across sessions. Load, update, or create project context before working on multi-session features."
3
- version: 0.1.2
3
+ version: 0.1.3
4
4
  status: beta
5
5
 
6
6
  includes:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: project
3
- description: "Manage project context files for persistent AI memory across sessions. Load project context before working (/project {name}), update with new learnings (/project update), or create new projects (/project create). Use when working on multi-session features, refactors, or any work that benefits from accumulated context."
3
+ description: "Persistent project context for AI memory across sessions. Use when working on multi-session features, refactors, or any work that benefits from accumulated context. User prompts like 'load the project', 'update project context', 'what's the current project?'."
4
4
  globs:
5
5
  - "**/PROJECT.md"
6
6
  alwaysApply: false