@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.
- package/README.md +12 -6
- package/library/animation-skills/machinal-sound.md +3 -3
- package/library/guides/brief.md +13 -7
- package/library/guides/client-bootstrap.md +3 -3
- package/library/guides/credits.md +2 -2
- package/library/guides/jobs-scenes.md +2 -2
- package/library/guides/reference-overview.md +2 -2
- package/library/guides/text-audio.md +2 -0
- package/library/manifest.json +7 -7
- package/library/skills/machinal-editing.md +1 -1
- package/package.json +3 -4
- package/skills/machinal-credits/SKILL.md +3 -3
- package/skills/machinal-editing/SKILL.md +5 -5
- package/skills/machinal-editing/references/brief.md +13 -7
- package/skills/machinal-editing/references/workflow.md +2 -2
- package/skills/machinal-media/SKILL.md +4 -4
- package/skills/machinal-recipes/SKILL.md +2 -2
- package/skills/machinal-recipes/references/jobs-scenes.md +2 -2
- package/skills/machinal-recipes/references/text-audio.md +2 -0
- package/skills/machinal-scenes/SKILL.md +1 -1
- package/skills/machinal-scenes/references/workflow.md +2 -2
- package/skills/machinal-sound/SKILL.md +3 -3
- package/src/cli.mjs +3 -3
- package/src/component-discovery.mjs +142 -0
- package/src/configuration.mjs +7 -1
- package/src/formats.mjs +5 -2
- package/src/installations.mjs +1 -1
- package/src/keys.mjs +1 -1
- package/src/launch.mjs +6 -4
- package/src/opencode-library.mjs +4 -0
- package/src/opencode-tools.mjs +1 -1
- package/src/opencode-workflow.mjs +2 -2
- package/src/runtime.mjs +2 -1
- package/src/scene-library.mjs +17 -32
- package/src/setup-options.mjs +4 -2
- package/src/setup-stdio.mjs +8 -5
- package/src/setup.mjs +7 -4
- package/src/skills.mjs +2 -1
- 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
|
-
|
|
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;
|