claude-everything-workflow 0.2.15 → 0.2.16

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-everything-workflow",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "description": "Evidence-based engineering workflows: implement, debug, review and verify.",
5
5
  "author": { "name": "xu91102" },
6
6
  "homepage": "https://github.com/xu91102/claude-everything-Workflow",
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-everything-workflow",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "description": "Evidence-based engineering workflows: implement, debug, review and verify.",
5
5
  "author": { "name": "xu91102" },
6
6
  "homepage": "https://github.com/xu91102/claude-everything-Workflow",
@@ -9,6 +9,8 @@
9
9
  "skills": "./skills/",
10
10
  "interface": {
11
11
  "displayName": "Claude Everything Workflow",
12
+ "logo": "./.codex-plugin/icon.png",
13
+ "composerIcon": "./.codex-plugin/icon.png",
12
14
  "shortDescription": "Implement, debug, review and verify with evidence.",
13
15
  "longDescription": "Reusable engineering workflows for Claude Code and Codex, with focused rules and verification. Start with the using-superpowers skill.",
14
16
  "developerName": "xu91102",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-everything-workflow",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "description": "Claude Code, Codex, and Antigravity harness with rules, skills, agents, hooks, and verification gates.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -20,6 +20,8 @@ const PLUGIN_SUBPATH = path.posix.join(".gemini/config/plugins", PLUGIN_NAME);
20
20
  const PLUGIN_HOME_REF = `~/.gemini/config/plugins/${PLUGIN_NAME}`;
21
21
  const ANTIGRAVITY_SKIP_COMMAND_SKILLS = new Set(["to-spec"]);
22
22
  const ANTIGRAVITY_RELOCATED_SKILL_OVERRIDES = new Set(["continuous-learning-v2"]);
23
+ const PLUGIN_ICON_SOURCE = ".codex-plugin/icon.png";
24
+ const PLUGIN_LOGO_REL = "assets/logo.png";
23
25
 
24
26
  function lstatIfExists(target) {
25
27
  try {
@@ -157,15 +159,27 @@ function normalizeRepoUrl(repo) {
157
159
  return raw.replace(/^git\+/, "").replace(/\.git$/, "");
158
160
  }
159
161
 
162
+ function resolvePluginIcon(sourceRoot) {
163
+ const iconSrcPath = path.join(sourceRoot, PLUGIN_ICON_SOURCE);
164
+ const stat = lstatIfExists(iconSrcPath);
165
+ if (!stat) return null;
166
+ if (stat.isSymbolicLink()) {
167
+ throw new Error(`Refusing symlink in source icon: ${iconSrcPath}`);
168
+ }
169
+ return stat.isFile() ? { srcPath: iconSrcPath, mode: stat.mode & 0o777 } : null;
170
+ }
171
+
160
172
  function buildPluginManifest(sourceRoot) {
161
173
  const pkg = JSON.parse(fs.readFileSync(path.join(sourceRoot, "package.json"), "utf8"));
162
174
  const repository = normalizeRepoUrl(pkg.repository);
175
+ const hasLogo = Boolean(resolvePluginIcon(sourceRoot));
163
176
  const manifest = {
164
177
  name: pkg.name || PLUGIN_NAME,
165
178
  displayName: "Claude Everything Workflow",
166
179
  version: pkg.version,
167
180
  description:
168
181
  "Evidence-based engineering workflows for Antigravity: implement, debug, review, verify, and PR gates.",
182
+ ...(hasLogo ? { logo: PLUGIN_LOGO_REL } : {}),
169
183
  author: { name: "xu91102" },
170
184
  homepage: pkg.homepage || repository,
171
185
  repository,
@@ -520,9 +534,12 @@ function installAntigravity({
520
534
  relocatedSkillNames,
521
535
  );
522
536
 
537
+ const pluginIcon = resolvePluginIcon(sourceRoot);
538
+
523
539
  const managedPaths = [
524
540
  BACKUP_ROOT_NAME,
525
541
  "plugin.json",
542
+ ...(pluginIcon ? [PLUGIN_LOGO_REL] : []),
526
543
  "hooks.json",
527
544
  "rules/AGENTS.md",
528
545
  "harness/manifest.json",
@@ -552,6 +569,17 @@ function installAntigravity({
552
569
  dryRun,
553
570
  log,
554
571
  });
572
+ if (pluginIcon) {
573
+ writeManagedFile({
574
+ pluginRoot,
575
+ relative: PLUGIN_LOGO_REL,
576
+ content: fs.readFileSync(pluginIcon.srcPath),
577
+ mode: pluginIcon.mode,
578
+ backupId,
579
+ dryRun,
580
+ log,
581
+ });
582
+ }
555
583
  writeManagedFile({
556
584
  pluginRoot,
557
585
  relative: "hooks.json",
@@ -657,6 +657,14 @@ function checkInstallerEntrypoint() {
657
657
  const manifest = JSON.parse(read(path.join(agRoot, "plugin.json")));
658
658
  assert.equal(manifest.name, pkg.name);
659
659
  assert.equal(manifest.version, pkg.version);
660
+ assert.equal(manifest.logo, "assets/logo.png");
661
+ assert.equal(
662
+ fs.readFileSync(path.join(agRoot, "assets/logo.png")).equals(
663
+ fs.readFileSync(path.join(sourceRoot, ".codex-plugin/icon.png")),
664
+ ),
665
+ true,
666
+ "Antigravity logo must match .codex-plugin/icon.png byte-for-byte",
667
+ );
660
668
  assert.deepEqual(fs.readdirSync(path.join(agRoot, "rules")), ["AGENTS.md"]);
661
669
  const agAgents = read(path.join(agRoot, "rules/AGENTS.md"));
662
670
  assert.match(agAgents, /plugins\/claude-everything-workflow\/references\/rules\//);