@machinal/mcp 0.6.2 → 0.7.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.
Files changed (39) hide show
  1. package/README.md +12 -6
  2. package/library/animation-skills/machinal-sound.md +3 -3
  3. package/library/guides/brief.md +13 -7
  4. package/library/guides/client-bootstrap.md +3 -3
  5. package/library/guides/credits.md +2 -2
  6. package/library/guides/jobs-scenes.md +2 -2
  7. package/library/guides/reference-overview.md +2 -2
  8. package/library/guides/text-audio.md +2 -0
  9. package/library/manifest.json +7 -7
  10. package/library/skills/machinal-editing.md +1 -1
  11. package/package.json +3 -4
  12. package/skills/machinal-credits/SKILL.md +3 -3
  13. package/skills/machinal-editing/SKILL.md +5 -5
  14. package/skills/machinal-editing/references/brief.md +13 -7
  15. package/skills/machinal-editing/references/workflow.md +2 -2
  16. package/skills/machinal-media/SKILL.md +4 -4
  17. package/skills/machinal-recipes/SKILL.md +2 -2
  18. package/skills/machinal-recipes/references/jobs-scenes.md +2 -2
  19. package/skills/machinal-recipes/references/text-audio.md +2 -0
  20. package/skills/machinal-scenes/SKILL.md +1 -1
  21. package/skills/machinal-scenes/references/workflow.md +2 -2
  22. package/skills/machinal-sound/SKILL.md +3 -3
  23. package/src/cli.mjs +3 -3
  24. package/src/component-discovery.mjs +142 -0
  25. package/src/configuration.mjs +7 -1
  26. package/src/formats.mjs +5 -2
  27. package/src/installations.mjs +1 -1
  28. package/src/keys.mjs +1 -1
  29. package/src/launch.mjs +6 -4
  30. package/src/opencode-library.mjs +4 -0
  31. package/src/opencode-tools.mjs +1 -1
  32. package/src/opencode-workflow.mjs +2 -2
  33. package/src/runtime.mjs +2 -1
  34. package/src/scene-library.mjs +17 -32
  35. package/src/setup-options.mjs +4 -2
  36. package/src/setup-stdio.mjs +8 -5
  37. package/src/setup.mjs +7 -4
  38. package/src/skills.mjs +2 -1
  39. package/src/uninstall.mjs +2 -1
package/src/skills.mjs CHANGED
@@ -26,7 +26,8 @@ export function skillsDirectory({ client, scope, cwd = process.cwd(), home = hom
26
26
  if (client === 'opencode') return join(scope === 'project' ? join(cwd, '.opencode') : join(env.XDG_CONFIG_HOME || join(home, '.config'), 'opencode'), 'skills');
27
27
  if (client === 'claude') return join(scope === 'project' ? join(cwd, '.claude') : env.CLAUDE_CONFIG_DIR || join(home, '.claude'), 'skills');
28
28
  if (client === 'codex') return join(scope === 'project' ? cwd : home, '.agents', 'skills');
29
- throw new InstallerError('Choose opencode, claude, or codex.');
29
+ if (client === 'antigravity') return scope === 'project' ? join(cwd, '.agents', 'skills') : join(home, '.gemini', 'config', 'skills');
30
+ throw new InstallerError('Choose opencode, claude, codex, or antigravity.');
30
31
  }
31
32
 
32
33
  async function refuseSymlinkParents(file, root) {
package/src/uninstall.mjs CHANGED
@@ -12,7 +12,7 @@ import { inspectRemoval, removeDirectory, removeEmptyDirectory, removeFile } fro
12
12
  import { uninstallGlobalPackage } from './uninstall-package.mjs';
13
13
  import { InstallerError } from './errors.mjs';
14
14
 
15
- const CLIENTS = ['opencode', 'claude', 'codex'];
15
+ const CLIENTS = ['opencode', 'claude', 'codex', 'antigravity'];
16
16
  const STATE_FILES = ['config.json', 'credentials.json', 'installations.json'];
17
17
  const STATE_DIRECTORIES = ['runtime', 'catalogs', 'local'];
18
18
  const BUNDLED_FILES = [...new Set([...SKILL_FILES, 'machinal-editing/references/preferences.md'])];
@@ -25,6 +25,7 @@ async function installationTargets(context) {
25
25
  for (const root of roots) {
26
26
  for (const client of CLIENTS) {
27
27
  targets.push({ ...root, client, scope: 'global', name: undefined });
28
+ if (client === 'antigravity') continue;
28
29
  for (let cwd = resolve(root.cwd); ; cwd = dirname(cwd)) {
29
30
  targets.push({ ...root, client, scope: 'project', cwd, name: undefined });
30
31
  if (dirname(cwd) === cwd) break;