@orderful/droid 0.2.0 → 0.3.0
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/.github/workflows/changeset-check.yml +43 -0
- package/.github/workflows/release.yml +6 -3
- package/CHANGELOG.md +20 -0
- package/bun.lock +357 -14
- package/dist/bin/droid.js +12 -1
- package/dist/bin/droid.js.map +1 -1
- package/dist/commands/setup.d.ts +8 -0
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +67 -0
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/tui.d.ts +2 -0
- package/dist/commands/tui.d.ts.map +1 -0
- package/dist/commands/tui.js +480 -0
- package/dist/commands/tui.js.map +1 -0
- package/dist/lib/types.d.ts +5 -0
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/lib/version.d.ts +5 -0
- package/dist/lib/version.d.ts.map +1 -1
- package/dist/lib/version.js +19 -1
- package/dist/lib/version.js.map +1 -1
- package/dist/skills/comments/SKILL.md +8 -0
- package/dist/skills/comments/SKILL.yaml +32 -0
- package/package.json +14 -1
- package/src/bin/droid.ts +12 -1
- package/src/commands/setup.ts +77 -0
- package/src/commands/tui.tsx +1102 -0
- package/src/lib/skills.test.ts +75 -1
- package/src/lib/types.ts +7 -0
- package/src/lib/version.test.ts +20 -1
- package/src/lib/version.ts +19 -1
- package/src/skills/comments/SKILL.md +8 -0
- package/src/skills/comments/SKILL.yaml +32 -0
- package/tsconfig.json +5 -3
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
name: Changeset Check
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
branches: [main]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
check:
|
|
9
|
+
name: Check for changeset
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- name: Checkout
|
|
13
|
+
uses: actions/checkout@v4
|
|
14
|
+
with:
|
|
15
|
+
fetch-depth: 0
|
|
16
|
+
|
|
17
|
+
- name: Check for changeset
|
|
18
|
+
run: |
|
|
19
|
+
# Skip check for version packages PRs
|
|
20
|
+
if [[ "${{ github.head_ref }}" == "changeset-release/main" ]]; then
|
|
21
|
+
echo "✅ This is a version packages PR, skipping changeset check"
|
|
22
|
+
exit 0
|
|
23
|
+
fi
|
|
24
|
+
|
|
25
|
+
# Check if any changeset files exist (excluding README)
|
|
26
|
+
CHANGESETS=$(find .changeset -name "*.md" ! -name "README.md" 2>/dev/null | wc -l)
|
|
27
|
+
|
|
28
|
+
# Check if this PR adds a changeset
|
|
29
|
+
CHANGED_FILES=$(git diff --name-only origin/main...HEAD)
|
|
30
|
+
NEW_CHANGESET=$(echo "$CHANGED_FILES" | grep "^\.changeset/.*\.md$" | grep -v README.md || true)
|
|
31
|
+
|
|
32
|
+
if [ -n "$NEW_CHANGESET" ]; then
|
|
33
|
+
echo "✅ This PR includes a changeset"
|
|
34
|
+
exit 0
|
|
35
|
+
elif [ "$CHANGESETS" -gt 0 ]; then
|
|
36
|
+
echo "⚠️ No changeset in this PR, but unreleased changesets exist"
|
|
37
|
+
echo "::warning::No changeset added in this PR. If this PR should trigger a release, run 'npx changeset' to add one."
|
|
38
|
+
exit 0
|
|
39
|
+
else
|
|
40
|
+
echo "⚠️ No changeset found"
|
|
41
|
+
echo "::warning::No changeset found. If this PR should trigger a release, run 'npx changeset' to add one."
|
|
42
|
+
exit 0
|
|
43
|
+
fi
|
|
@@ -12,11 +12,13 @@ jobs:
|
|
|
12
12
|
runs-on: ubuntu-latest
|
|
13
13
|
permissions:
|
|
14
14
|
contents: write
|
|
15
|
-
pull-requests: write
|
|
16
15
|
id-token: write
|
|
16
|
+
pull-requests: write
|
|
17
17
|
steps:
|
|
18
18
|
- name: Checkout
|
|
19
19
|
uses: actions/checkout@v4
|
|
20
|
+
with:
|
|
21
|
+
fetch-depth: 0
|
|
20
22
|
|
|
21
23
|
- name: Setup Bun
|
|
22
24
|
uses: oven-sh/setup-bun@v2
|
|
@@ -32,14 +34,15 @@ jobs:
|
|
|
32
34
|
- name: Test
|
|
33
35
|
run: bun test src/
|
|
34
36
|
|
|
35
|
-
- name: Create Release
|
|
37
|
+
- name: Create Release PR or Publish
|
|
36
38
|
id: changesets
|
|
37
39
|
uses: changesets/action@v1
|
|
38
40
|
with:
|
|
39
41
|
version: bun changeset version
|
|
40
42
|
publish: bun changeset publish
|
|
41
|
-
title: "chore: version packages"
|
|
42
43
|
commit: "chore: version packages"
|
|
44
|
+
title: "chore: version packages"
|
|
43
45
|
env:
|
|
44
46
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
45
47
|
NPM_TOKEN: ${{ secrets.ORDERFUL_NPM_TOKEN }}
|
|
48
|
+
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @orderful/droid
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#9](https://github.com/Orderful/droid/pull/9) [`e5d0ab5`](https://github.com/Orderful/droid/commit/e5d0ab5ab6f48836eba04d08a6176ae4060e7ecb) Thanks [@frytyler](https://github.com/frytyler)! - Add interactive TUI dashboard with Ink
|
|
8
|
+
- New `droid` command launches interactive TUI with tabs for Skills, Commands, Agents, and Settings
|
|
9
|
+
- First-time setup wizard guides users through AI tool selection, @mention config, and output preferences
|
|
10
|
+
- Skills tab shows bundled skills with install/uninstall/configure actions
|
|
11
|
+
- Skill configuration screen for editing skill-specific overrides
|
|
12
|
+
- Auto-configures Claude Code permissions during setup so skills work without prompts
|
|
13
|
+
- Settings tab for viewing and editing config from within TUI
|
|
14
|
+
- Version check with update notification
|
|
15
|
+
- Migrated from OpenTUI to Ink for better Node.js compatibility
|
|
16
|
+
|
|
17
|
+
## 0.2.1
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [`499c729`](https://github.com/Orderful/droid/commit/499c729be1b7f636292fd5666abb0cba0c5c07c9) Thanks [@frytyler](https://github.com/frytyler)! - Fix npm publish configuration to use public registry
|
|
22
|
+
|
|
3
23
|
## 0.2.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|