Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .claude/kit.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# SessionStart hook: brings the GNOME-EXTENSIONS kit, and this repository, up to date for
# SessionStart hook: brings gnome-ai-kit, and this repository, up to date for
# this session.
#
# Beside the kit (the usual workspace, where Claude Code has already loaded ../CLAUDE.md
Expand All @@ -13,7 +13,7 @@
# Copied from the kit (template/.claude/kit.sh) by its scripts/sync.sh: change it there.
# It never fails the session: every problem is one line of output and exit 0.

KIT_REPO=Jackicus/GNOME-EXTENSIONS
KIT_REPO=Jackicus/gnome-ai-kit
KIT_URL=https://github.com/$KIT_REPO.git
project=${CLAUDE_PROJECT_DIR:-$(pwd)}
parent=$(dirname "$project")
Expand Down Expand Up @@ -111,11 +111,11 @@ if [ -d "$cache/.git" ]; then
timeout 15 git -C "$cache" pull --ff-only -q >/dev/null 2>&1 \
|| echo "Kit: could not update $cache; using it as last fetched."
elif ! timeout 20 git clone -q --depth 1 "$KIT_URL" "$cache" >/dev/null 2>&1; then
echo "Kit: no GNOME-EXTENSIONS kit beside this repository and none could be fetched; its shared rules are at https://github.com/$KIT_REPO (CLAUDE.md and .claude/rules/)."
echo "Kit: no gnome-ai-kit beside this repository and none could be fetched; its shared rules are at https://github.com/$KIT_REPO (CLAUDE.md and .claude/rules/)."
exit 0
fi

echo "# The GNOME-EXTENSIONS kit (fetched to $cache: no kit beside this repository)"
echo "# gnome-ai-kit (fetched to $cache: no kit beside this repository)"
echo
skills=$(cd "$cache/.gnome-ai-kit/plugin/skills" 2>/dev/null && printf '%s\n' */ | tr -d / | paste -sd ',' - | sed 's/,/, /g')
echo "Its skills are not installed here; read them as playbooks when one applies: $cache/.gnome-ai-kit/plugin/skills/<name>/SKILL.md ($skills)."
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copied from the GNOME-EXTENSIONS kit (template/.github/ISSUE_TEMPLATE/bug.yml) by its
# Copied from gnome-ai-kit (template/.github/ISSUE_TEMPLATE/bug.yml) by its
# scripts/sync.sh: change it there.
name: Bug report
description: Something in the extension does not work as it should.
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copied from the GNOME-EXTENSIONS kit (template/.github/ISSUE_TEMPLATE/config.yml) by its
# Copied from gnome-ai-kit (template/.github/ISSUE_TEMPLATE/config.yml) by its
# scripts/sync.sh: change it there.
#
# No blank issues: the forms ask for the shell version, the install and the log, and remind
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copied from the GNOME-EXTENSIONS kit (template/.github/ISSUE_TEMPLATE/feature.yml) by its
# Copied from gnome-ai-kit (template/.github/ISSUE_TEMPLATE/feature.yml) by its
# scripts/sync.sh: change it there.
name: Feature request
description: Suggest an idea or an improvement.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Shell) on every push to main and every pull request. The job's name, `make check`, is
# the status check main's protection requires.
#
# Copied from the GNOME-EXTENSIONS kit (template/.github/workflows/ci.yml) by its
# Copied from gnome-ai-kit (template/.github/workflows/ci.yml) by its
# scripts/sync.sh: change it there. Packages this repository needs beyond the base go in
# .github/ci-packages, one Arch package per line.
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Run it again for an existing tag from the Actions tab (workflow_dispatch): it rebuilds the
# zip and replaces the release's notes and asset rather than failing.
#
# Copied from the GNOME-EXTENSIONS kit (template/.github/workflows/release.yml) by its
# Copied from gnome-ai-kit (template/.github/workflows/release.yml) by its
# scripts/sync.sh: change it there. Packages beyond the base go in .github/ci-packages.
name: Release

Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Library Menu

Shared rules for every extension come from the GNOME-EXTENSIONS kit: `../CLAUDE.md` and `../.claude/rules/` (loaded with this file), and the `gnome-ext:*` skills. `.claude/kit.sh` pulls the kit at session start, or, with no kit beside this repository, fetches it and prints its rules into the session.
Shared rules for every extension come from gnome-ai-kit: `../CLAUDE.md` and `../.claude/rules/` (loaded with this file), and the `gnome-ext:*` skills. `.claude/kit.sh` pulls the kit at session start, or, with no kit beside this repository, fetches it and prints its rules into the session.

Library Menu, a GNOME Shell extension (UUID `library-menu@jackicus`), that shows a library of TV shows,
films and games, opened from one button beside Show Apps: in the overview, in a
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ You need a GNOME Shell session of a version `src/metadata.json` lists, and `make
else the checks need is listed one package per line in `.github/ci-packages`, by its Arch
Linux name. The development tools some commands use (a demo library's Pillow, a virtual
pad's evdev, VLC, glslang) are `EXT_TOOLS` in `scripts/ext.conf`; with the
[kit](https://github.com/Jackicus/GNOME-EXTENSIONS) beside the repository,
[kit](https://github.com/Jackicus/gnome-ai-kit) beside the repository,
`../.gnome-ai-kit/scripts/setup.sh --tools` lists what this machine lacks and the command to install it.

```bash
Expand Down Expand Up @@ -49,7 +49,7 @@ rest.
## Conventions

The design and the traps are in CLAUDE.md and `.claude/rules/`, and the rules shared by
all these extensions in the [GNOME-EXTENSIONS](https://github.com/Jackicus/GNOME-EXTENSIONS)
all these extensions in the [gnome-ai-kit](https://github.com/Jackicus/gnome-ai-kit)
repository's CLAUDE.md and `.claude/rules/`. In short:

- Follow the [GNOME HIG](https://developer.gnome.org/hig/): the shell's own widgets and
Expand Down
2 changes: 1 addition & 1 deletion scripts/dev-extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// src/extension.js, which imports lib/ once as an install should. Nothing here
// ships.
//
// Copied from the GNOME-EXTENSIONS kit (template/scripts/dev-extension.js) by
// Copied from gnome-ai-kit (template/scripts/dev-extension.js) by
// its scripts/sync.sh: change it there. What it builds is named in
// dev-extension.json, which `./scripts/dev.sh link` writes beside it from
// scripts/ext.conf.
Expand Down
2 changes: 1 addition & 1 deletion scripts/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# ./scripts/dev.sh clean remove dist/, and the compiled schema unless a link
# install reads it
#
# Copied from the GNOME-EXTENSIONS kit (template/scripts/dev.sh) by its
# Copied from gnome-ai-kit (template/scripts/dev.sh) by its
# scripts/sync.sh: change it there. What is particular to this extension is in
# scripts/ext.conf, and its own commands are in scripts/dev.d/*.sh.
#
Expand Down
2 changes: 1 addition & 1 deletion scripts/kit.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The make targets every extension shares, included by its Makefile
# (`include scripts/kit.mk`), which adds its own after the include.
#
# Copied from the GNOME-EXTENSIONS kit (template/scripts/kit.mk) by its
# Copied from gnome-ai-kit (template/scripts/kit.mk) by its
# scripts/sync.sh: change it there. Every target is a front door: the work is
# in scripts/dev.sh and scripts/nested.sh.

Expand Down
2 changes: 1 addition & 1 deletion scripts/nested.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# of its session, remove what it made, and say if
# anything survived
#
# Copied from the GNOME-EXTENSIONS kit (template/scripts/nested.sh) by its
# Copied from gnome-ai-kit (template/scripts/nested.sh) by its
# scripts/sync.sh: change it there. What is particular to this extension is in
# scripts/ext.conf, and its own commands and hooks are in scripts/nested.d/*.sh.
#
Expand Down
2 changes: 1 addition & 1 deletion scripts/nested_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Running it against your real session is pointless (and the name-ownership step
below would fail there anyway).

Copied from the GNOME-EXTENSIONS kit (template/scripts/nested_driver.py) by its
Copied from gnome-ai-kit (template/scripts/nested_driver.py) by its
scripts/sync.sh: change it there.

nested_driver.py step CMD ARGS... one step, argv form
Expand Down
Loading