@agent-native/core 0.114.6 → 0.114.7
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/corpus/README.md +2 -2
- package/corpus/core/CHANGELOG.md +6 -0
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/cli/mcp-config-writers.ts +6 -4
- package/corpus/core/src/cli/mcp.ts +124 -0
- package/corpus/core/src/cli/skills-content/help.ts +4 -3
- package/corpus/core/src/cli/skills-content/index.ts +1 -0
- package/corpus/core/src/cli/skills-content/rewind-skill.ts +52 -0
- package/corpus/core/src/cli/skills.ts +115 -13
- package/corpus/core/src/mcp/screen-memory-stdio.ts +1360 -104
- package/corpus/core/src/mcp-client/index.ts +9 -0
- package/corpus/core/src/mcp-client/screen-memory-local.ts +847 -13
- package/corpus/templates/clips/actions/apply-rewind-extension.ts +195 -0
- package/corpus/templates/clips/actions/delete-agent-recording-if-unpromoted.ts +64 -0
- package/corpus/templates/clips/actions/get-rewind-extension-request.ts +22 -0
- package/corpus/templates/clips/actions/get-screen-memory-status.ts +18 -2
- package/corpus/templates/clips/actions/list-rewind-extension-requests.ts +52 -0
- package/corpus/templates/clips/actions/make-recording-private-for-rewind.ts +55 -0
- package/corpus/templates/clips/actions/query-screen-memory-context.ts +4 -4
- package/corpus/templates/clips/actions/request-rewind-extension.ts +81 -0
- package/corpus/templates/clips/actions/update-rewind-extension-request.ts +47 -0
- package/corpus/templates/clips/app/components/editor/editor-layout.tsx +25 -0
- package/corpus/templates/clips/app/components/editor/editor-toolbar.tsx +36 -0
- package/corpus/templates/clips/app/components/editor/rewind-extension-dialog.tsx +338 -0
- package/corpus/templates/clips/app/components/editor/stitch-manager.tsx +1 -16
- package/corpus/templates/clips/app/components/editor/timeline.tsx +26 -0
- package/corpus/templates/clips/app/i18n/en-US.ts +18 -0
- package/corpus/templates/clips/app/lib/ffmpeg-export.ts +19 -12
- package/corpus/templates/clips/app/lib/rewind-visibility.ts +31 -0
- package/corpus/templates/clips/app/lib/timestamp-mapping.ts +7 -0
- package/corpus/templates/clips/app/lib/upload-file-client.ts +17 -0
- package/corpus/templates/clips/changelog/2026-07-14-rewind-keeps-recent-screen-context-local-and-turns-it-into-clips.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-17-active-clips-keep-rewind-stable-and-settings-clear.md +12 -0
- package/corpus/templates/clips/changelog/2026-07-17-clicking-the-clips-icon-during-a-recording-now-opens-the-app.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-17-default-mic-now-uses-the-mac-default-and-transcription-shares-one-capture.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-17-full-screen-clips-finalize-even-when-screencapturekit-stop-hangs.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-17-normal-full-screen-clips-no-longer-stop-immediately-after-th.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-17-rewind-can-hand-one-bounded-private-clip-to-your-agent.md +12 -0
- package/corpus/templates/clips/changelog/2026-07-17-rewind-home-can-copy-a-local-agent-prompt.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-17-rewind-now-has-a-calm-home-status-focused-first-run-consent-.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-17-rewind-settings-are-smaller-clearer-and-agent-first.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-17-the-full-clips-interface-stays-available-while-recording.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-18-rewind-organizes-recent-work-into-local-searchable-chapters.md +8 -0
- package/corpus/templates/clips/changelog/2026-07-18-searchable-rewind-chapters.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-19-rewind-backed-recordings-now-start-immediately-after-the-cou.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-20-rewind-can-set-up-your-local-agent-once-so-future-requests-w.md +6 -0
- package/corpus/templates/clips/desktop/package.json +1 -0
- package/corpus/templates/clips/desktop/scripts/sign-macos-local.ts +12 -1
- package/corpus/templates/clips/desktop/src/app.tsx +2498 -239
- package/corpus/templates/clips/desktop/src/components/ReadinessPanel.tsx +21 -1
- package/corpus/templates/clips/desktop/src/components/Switch.tsx +3 -0
- package/corpus/templates/clips/desktop/src/hooks/useMeetingTranscription.ts +156 -24
- package/corpus/templates/clips/desktop/src/lib/native-recording-warm.ts +6 -7
- package/corpus/templates/clips/desktop/src/lib/recorder.ts +1763 -1160
- package/corpus/templates/clips/desktop/src/lib/rewind-agent-prompt.ts +9 -0
- package/corpus/templates/clips/desktop/src/lib/rewind-recording-start.ts +20 -0
- package/corpus/templates/clips/desktop/src/main.tsx +3 -0
- package/corpus/templates/clips/desktop/src/overlays/countdown.tsx +14 -14
- package/corpus/templates/clips/desktop/src/overlays/onboarding.tsx +4 -4
- package/corpus/templates/clips/desktop/src/overlays/preparing.tsx +13 -0
- package/corpus/templates/clips/desktop/src/overlays/toolbar.tsx +27 -2
- package/corpus/templates/clips/desktop/src/shared/config.ts +16 -0
- package/corpus/templates/clips/desktop/src/styles.css +956 -134
- package/corpus/templates/clips/desktop/src-tauri/Cargo.toml +5 -0
- package/corpus/templates/clips/desktop/src-tauri/build.rs +69 -1
- package/corpus/templates/clips/desktop/src-tauri/src/accessibility.rs +386 -12
- package/corpus/templates/clips/desktop/src-tauri/src/capture_audio_bus.rs +382 -0
- package/corpus/templates/clips/desktop/src-tauri/src/capture_graph.rs +777 -0
- package/corpus/templates/clips/desktop/src-tauri/src/clips/mod.rs +249 -22
- package/corpus/templates/clips/desktop/src-tauri/src/config.rs +148 -1
- package/corpus/templates/clips/desktop/src-tauri/src/lib.rs +58 -4
- package/corpus/templates/clips/desktop/src-tauri/src/logfile.rs +13 -1
- package/corpus/templates/clips/desktop/src-tauri/src/native_screen/custom_capture.rs +1505 -51
- package/corpus/templates/clips/desktop/src-tauri/src/native_screen/live_upload.rs +124 -0
- package/corpus/templates/clips/desktop/src-tauri/src/native_screen.rs +1006 -95
- package/corpus/templates/clips/desktop/src-tauri/src/rewind_capture_suspension.rs +165 -0
- package/corpus/templates/clips/desktop/src-tauri/src/rewind_chapters.rs +2434 -0
- package/corpus/templates/clips/desktop/src-tauri/src/rewind_clip.rs +1650 -0
- package/corpus/templates/clips/desktop/src-tauri/src/rewind_egress.rs +643 -0
- package/corpus/templates/clips/desktop/src-tauri/src/rewind_local_ask.rs +803 -0
- package/corpus/templates/clips/desktop/src-tauri/src/rewind_meeting_history.rs +595 -0
- package/corpus/templates/clips/desktop/src-tauri/src/screen_memory.rs +2900 -91
- package/corpus/templates/clips/desktop/src-tauri/src/screen_memory_ocr.rs +360 -0
- package/corpus/templates/clips/desktop/src-tauri/src/screen_memory_transcript.rs +408 -0
- package/corpus/templates/clips/desktop/src-tauri/src/shortcuts.rs +114 -33
- package/corpus/templates/clips/desktop/src-tauri/src/state.rs +2 -2
- package/corpus/templates/clips/desktop/src-tauri/src/system_audio.rs +13 -3
- package/corpus/templates/clips/desktop/src-tauri/src/tray.rs +4 -1
- package/corpus/templates/clips/desktop/src-tauri/src/util.rs +7 -13
- package/corpus/templates/clips/desktop/src-tauri/src/whisper_speech.rs +198 -11
- package/corpus/templates/clips/desktop/src-tauri/tauri.alpha.conf.json +17 -0
- package/dist/cli/mcp-config-writers.d.ts +2 -2
- package/dist/cli/mcp-config-writers.d.ts.map +1 -1
- package/dist/cli/mcp-config-writers.js +6 -6
- package/dist/cli/mcp-config-writers.js.map +1 -1
- package/dist/cli/mcp.d.ts +14 -0
- package/dist/cli/mcp.d.ts.map +1 -1
- package/dist/cli/mcp.js +79 -0
- package/dist/cli/mcp.js.map +1 -1
- package/dist/cli/skills-content/help.d.ts +1 -1
- package/dist/cli/skills-content/help.d.ts.map +1 -1
- package/dist/cli/skills-content/help.js +4 -3
- package/dist/cli/skills-content/help.js.map +1 -1
- package/dist/cli/skills-content/index.d.ts +1 -0
- package/dist/cli/skills-content/index.d.ts.map +1 -1
- package/dist/cli/skills-content/index.js +1 -0
- package/dist/cli/skills-content/index.js.map +1 -1
- package/dist/cli/skills-content/rewind-skill.d.ts +2 -0
- package/dist/cli/skills-content/rewind-skill.d.ts.map +1 -0
- package/dist/cli/skills-content/rewind-skill.js +53 -0
- package/dist/cli/skills-content/rewind-skill.js.map +1 -0
- package/dist/cli/skills.d.ts +6 -0
- package/dist/cli/skills.d.ts.map +1 -1
- package/dist/cli/skills.js +90 -14
- package/dist/cli/skills.js.map +1 -1
- package/dist/mcp/screen-memory-stdio.d.ts +365 -0
- package/dist/mcp/screen-memory-stdio.d.ts.map +1 -1
- package/dist/mcp/screen-memory-stdio.js +1014 -91
- package/dist/mcp/screen-memory-stdio.js.map +1 -1
- package/dist/mcp-client/index.d.ts +1 -1
- package/dist/mcp-client/index.d.ts.map +1 -1
- package/dist/mcp-client/index.js +1 -1
- package/dist/mcp-client/index.js.map +1 -1
- package/dist/mcp-client/screen-memory-local.d.ts +90 -0
- package/dist/mcp-client/screen-memory-local.d.ts.map +1 -1
- package/dist/mcp-client/screen-memory-local.js +590 -12
- package/dist/mcp-client/screen-memory-local.js.map +1 -1
- package/dist/notifications/routes.d.ts +3 -3
- package/dist/observability/routes.d.ts +1 -1
- package/dist/provider-api/actions/provider-api.d.ts +4 -4
- package/dist/resources/handlers.d.ts +1 -1
- package/package.json +1 -1
- package/src/cli/mcp-config-writers.ts +6 -4
- package/src/cli/mcp.ts +124 -0
- package/src/cli/skills-content/help.ts +4 -3
- package/src/cli/skills-content/index.ts +1 -0
- package/src/cli/skills-content/rewind-skill.ts +52 -0
- package/src/cli/skills.ts +115 -13
- package/src/mcp/screen-memory-stdio.ts +1360 -104
- package/src/mcp-client/index.ts +9 -0
- package/src/mcp-client/screen-memory-local.ts +847 -13
package/src/cli/skills.ts
CHANGED
|
@@ -33,6 +33,10 @@ import {
|
|
|
33
33
|
installLocalContextXray,
|
|
34
34
|
} from "./context-xray-local.js";
|
|
35
35
|
import { CLIENTS, type ClientId } from "./mcp-config-writers.js";
|
|
36
|
+
import {
|
|
37
|
+
installScreenMemoryForClient,
|
|
38
|
+
resolveScreenMemoryStoreDir,
|
|
39
|
+
} from "./mcp.js";
|
|
36
40
|
import { PR_VISUAL_RECAP_SETUP, writePrVisualRecapWorkflow } from "./recap.js";
|
|
37
41
|
import { setupAgentSymlinks } from "./setup-agents.js";
|
|
38
42
|
import {
|
|
@@ -46,6 +50,7 @@ import {
|
|
|
46
50
|
EXEMPLAR_REFERENCE_MD,
|
|
47
51
|
HELP,
|
|
48
52
|
LOCAL_FILES_REFERENCE_MD,
|
|
53
|
+
REWIND_SKILL_MD,
|
|
49
54
|
VISUAL_PLANS_SKILL_MD,
|
|
50
55
|
VISUAL_RECAP_SKILL_MD,
|
|
51
56
|
VISUALIZE_REPO_SKILL_MD,
|
|
@@ -161,6 +166,40 @@ export const BUILT_IN_APP_SKILLS = {
|
|
|
161
166
|
}),
|
|
162
167
|
skillMarkdown: CONTENT_SKILL_MD,
|
|
163
168
|
},
|
|
169
|
+
rewind: {
|
|
170
|
+
skillName: "rewind",
|
|
171
|
+
screenMemoryMcp: true,
|
|
172
|
+
manifest: normalizeAppSkillManifest({
|
|
173
|
+
schemaVersion: 1,
|
|
174
|
+
id: "rewind",
|
|
175
|
+
displayName: "Rewind",
|
|
176
|
+
description:
|
|
177
|
+
"Retrieve recent local Clips screen memory, chapters, transcripts, and exact frames through a privacy-preserving agent workflow.",
|
|
178
|
+
hosted: {
|
|
179
|
+
url: "https://clips.agent-native.com",
|
|
180
|
+
mcpUrl: "https://clips.agent-native.com/mcp",
|
|
181
|
+
},
|
|
182
|
+
mcp: { serverName: "clips-screen-memory" },
|
|
183
|
+
auth: { mode: "none" },
|
|
184
|
+
surfaces: [
|
|
185
|
+
{
|
|
186
|
+
id: "rewind-memory",
|
|
187
|
+
path: "/",
|
|
188
|
+
description:
|
|
189
|
+
"Search and inspect the user's local Clips Rewind memory through a bounded local MCP broker.",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
skills: [
|
|
193
|
+
{
|
|
194
|
+
path: "skills/rewind",
|
|
195
|
+
visibility: "exported",
|
|
196
|
+
exportAs: "rewind",
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
hostAdapters: ["plain-skill", "claude-skill", "generic-mcp"],
|
|
200
|
+
}),
|
|
201
|
+
skillMarkdown: REWIND_SKILL_MD,
|
|
202
|
+
},
|
|
164
203
|
design: {
|
|
165
204
|
skillName: "design-exploration",
|
|
166
205
|
extraSkills: {
|
|
@@ -356,6 +395,7 @@ export const BUILT_IN_APP_SKILLS = {
|
|
|
356
395
|
*/
|
|
357
396
|
extraFiles?: Record<string, Record<string, string>>;
|
|
358
397
|
localOnly?: boolean;
|
|
398
|
+
screenMemoryMcp?: boolean;
|
|
359
399
|
}
|
|
360
400
|
>;
|
|
361
401
|
|
|
@@ -379,6 +419,10 @@ const BUILT_IN_APP_SKILL_ALIASES = {
|
|
|
379
419
|
"local-content": "content",
|
|
380
420
|
"content-local-files": "content",
|
|
381
421
|
"agent-native-content": "content",
|
|
422
|
+
rewind: "rewind",
|
|
423
|
+
"screen-memory": "rewind",
|
|
424
|
+
"clips-rewind": "rewind",
|
|
425
|
+
"agent-native-rewind": "rewind",
|
|
382
426
|
design: "design",
|
|
383
427
|
"ui-design": "design",
|
|
384
428
|
"ux-design": "design",
|
|
@@ -421,6 +465,7 @@ const BUILT_IN_APP_SKILL_DISPLAY_ALIASES = {
|
|
|
421
465
|
"content-local-files",
|
|
422
466
|
"agent-native-content",
|
|
423
467
|
],
|
|
468
|
+
rewind: ["screen-memory", "clips-rewind", "agent-native-rewind"],
|
|
424
469
|
design: [
|
|
425
470
|
"design-exploration",
|
|
426
471
|
"visual-edit",
|
|
@@ -811,6 +856,12 @@ function isLocalOnlyBuiltInSkill(
|
|
|
811
856
|
return Boolean(entry && "localOnly" in entry && entry.localOnly);
|
|
812
857
|
}
|
|
813
858
|
|
|
859
|
+
function isScreenMemoryMcpBuiltInSkill(
|
|
860
|
+
entry: (typeof BUILT_IN_APP_SKILLS)[BuiltInAppSkillId] | null | undefined,
|
|
861
|
+
): boolean {
|
|
862
|
+
return Boolean(entry && "screenMemoryMcp" in entry && entry.screenMemoryMcp);
|
|
863
|
+
}
|
|
864
|
+
|
|
814
865
|
function targetSupportsInstallMode(
|
|
815
866
|
targetId: string | undefined,
|
|
816
867
|
): targetId is ModeAwareAppSkillId {
|
|
@@ -1019,6 +1070,7 @@ function skillFilesForBuiltIn(
|
|
|
1019
1070
|
skillName,
|
|
1020
1071
|
mcpUrl:
|
|
1021
1072
|
isLocalOnlyBuiltInSkill(entry) ||
|
|
1073
|
+
isScreenMemoryMcpBuiltInSkill(entry) ||
|
|
1022
1074
|
localFilesModeSkipsMcp(appSkillId, options.planMode)
|
|
1023
1075
|
? ""
|
|
1024
1076
|
: (options.mcpUrl ?? entry.manifest.hosted.mcpUrl),
|
|
@@ -1238,9 +1290,10 @@ function builtInSkillsRootForAgent(
|
|
|
1238
1290
|
): string {
|
|
1239
1291
|
const home = homeDir() ?? baseDir;
|
|
1240
1292
|
if (scope === "project") {
|
|
1241
|
-
if (agent === "
|
|
1242
|
-
|
|
1243
|
-
|
|
1293
|
+
if (agent === "claude-code" || agent === "claude-code-cli") {
|
|
1294
|
+
return path.join(baseDir, ".claude", "skills");
|
|
1295
|
+
}
|
|
1296
|
+
return path.join(baseDir, ".agents", "skills");
|
|
1244
1297
|
}
|
|
1245
1298
|
if (agent === "codex") {
|
|
1246
1299
|
return process.env.CODEX_HOME
|
|
@@ -1250,6 +1303,13 @@ function builtInSkillsRootForAgent(
|
|
|
1250
1303
|
if (agent === "pi") {
|
|
1251
1304
|
return path.join(home, ".agents", "skills");
|
|
1252
1305
|
}
|
|
1306
|
+
if (
|
|
1307
|
+
agent === "cursor" ||
|
|
1308
|
+
agent === "opencode" ||
|
|
1309
|
+
agent === "github-copilot"
|
|
1310
|
+
) {
|
|
1311
|
+
return path.join(home, ".agents", "skills");
|
|
1312
|
+
}
|
|
1253
1313
|
return path.join(home, ".claude", "skills");
|
|
1254
1314
|
}
|
|
1255
1315
|
|
|
@@ -2128,6 +2188,11 @@ const BUILT_IN_SKILL_PROMPT_OPTIONS: SkillsTargetPromptContext["options"] = [
|
|
|
2128
2188
|
label: "content",
|
|
2129
2189
|
hint: BUILT_IN_APP_SKILLS.content.manifest.description,
|
|
2130
2190
|
},
|
|
2191
|
+
{
|
|
2192
|
+
value: "rewind",
|
|
2193
|
+
label: "rewind",
|
|
2194
|
+
hint: BUILT_IN_APP_SKILLS.rewind.manifest.description,
|
|
2195
|
+
},
|
|
2131
2196
|
{
|
|
2132
2197
|
value: "design-exploration",
|
|
2133
2198
|
label: "design-exploration",
|
|
@@ -3309,7 +3374,13 @@ export async function addAgentNativeSkill(
|
|
|
3309
3374
|
);
|
|
3310
3375
|
}
|
|
3311
3376
|
const knownBuiltIn = knownTarget ? BUILT_IN_APP_SKILLS[knownTarget] : null;
|
|
3377
|
+
const installsScreenMemoryMcp = isScreenMemoryMcpBuiltInSkill(knownBuiltIn);
|
|
3312
3378
|
const baseDir = options.baseDir ?? process.cwd();
|
|
3379
|
+
if (installsScreenMemoryMcp && parsed.mcpUrl) {
|
|
3380
|
+
throw new Error(
|
|
3381
|
+
"Rewind uses the local Clips Screen Memory MCP and does not accept --mcp-url.",
|
|
3382
|
+
);
|
|
3383
|
+
}
|
|
3313
3384
|
if (isLocalOnlyBuiltInSkill(knownBuiltIn)) {
|
|
3314
3385
|
if (parsed.planMode) {
|
|
3315
3386
|
throw new Error(
|
|
@@ -3415,7 +3486,9 @@ export async function addAgentNativeSkill(
|
|
|
3415
3486
|
);
|
|
3416
3487
|
}
|
|
3417
3488
|
installTarget = preserveMcpUrlAppPathOverride(installTarget, parsed.mcpUrl);
|
|
3418
|
-
const skillsAgents =
|
|
3489
|
+
const skillsAgents = installsScreenMemoryMcp
|
|
3490
|
+
? clients
|
|
3491
|
+
: skillsAgentsForClients(clients);
|
|
3419
3492
|
if (parsed.dryRun) {
|
|
3420
3493
|
try {
|
|
3421
3494
|
const localManifestPath = shouldWriteContentLocalFilesManifest(
|
|
@@ -3443,9 +3516,11 @@ export async function addAgentNativeSkill(
|
|
|
3443
3516
|
displayName: installTarget.displayName,
|
|
3444
3517
|
skillNames: installTarget.skillNames,
|
|
3445
3518
|
skillsAgents,
|
|
3446
|
-
mcpUrl:
|
|
3519
|
+
mcpUrl: installsScreenMemoryMcp
|
|
3447
3520
|
? ""
|
|
3448
|
-
:
|
|
3521
|
+
: localFilesModeSkipsMcp(modeAwareTargetId, planMode)
|
|
3522
|
+
? ""
|
|
3523
|
+
: installTarget.loaded.manifest.hosted.mcpUrl,
|
|
3449
3524
|
mcpClients: shouldRegisterMcp ? mcpClients : [],
|
|
3450
3525
|
dryRun: true,
|
|
3451
3526
|
commands: [
|
|
@@ -3545,7 +3620,29 @@ export async function addAgentNativeSkill(
|
|
|
3545
3620
|
dryRun: Boolean(parsed.dryRun),
|
|
3546
3621
|
});
|
|
3547
3622
|
|
|
3548
|
-
if (shouldRegisterMcp) {
|
|
3623
|
+
if (shouldRegisterMcp && installsScreenMemoryMcp) {
|
|
3624
|
+
const screenMemoryDir = resolveScreenMemoryStoreDir();
|
|
3625
|
+
if (!screenMemoryDir) {
|
|
3626
|
+
throw new Error(
|
|
3627
|
+
"No local Clips Screen Memory store was found. Turn Rewind on in Clips, then run the setup again.",
|
|
3628
|
+
);
|
|
3629
|
+
}
|
|
3630
|
+
registeredMcpClients = mcpClients.map((client) => {
|
|
3631
|
+
commands.push(
|
|
3632
|
+
`npx @agent-native/core@latest mcp install-screen-memory --client ${client} --scope ${parsed.scope}`,
|
|
3633
|
+
);
|
|
3634
|
+
installScreenMemoryForClient(
|
|
3635
|
+
client,
|
|
3636
|
+
screenMemoryDir,
|
|
3637
|
+
baseDir,
|
|
3638
|
+
parsed.scope,
|
|
3639
|
+
);
|
|
3640
|
+
return client;
|
|
3641
|
+
});
|
|
3642
|
+
options.telemetry?.track("skills_cli mcp registered", {
|
|
3643
|
+
skills: installTarget.skillNames.join(","),
|
|
3644
|
+
});
|
|
3645
|
+
} else if (shouldRegisterMcp) {
|
|
3549
3646
|
commands.push(
|
|
3550
3647
|
`npx @agent-native/core@latest app-skill ensure --manifest ${installTarget.loaded.file} --client ${parsed.client} --scope ${parsed.scope} --yes`,
|
|
3551
3648
|
);
|
|
@@ -3655,9 +3752,11 @@ export async function addAgentNativeSkill(
|
|
|
3655
3752
|
instructionSource,
|
|
3656
3753
|
skillNames: installTarget.skillNames,
|
|
3657
3754
|
skillsAgents,
|
|
3658
|
-
mcpUrl:
|
|
3755
|
+
mcpUrl: installsScreenMemoryMcp
|
|
3659
3756
|
? ""
|
|
3660
|
-
:
|
|
3757
|
+
: localFilesModeSkipsMcp(modeAwareTargetId, planMode)
|
|
3758
|
+
? ""
|
|
3759
|
+
: installTarget.loaded.manifest.hosted.mcpUrl,
|
|
3661
3760
|
mcpClients: registeredMcpClients,
|
|
3662
3761
|
dryRun: parsed.dryRun,
|
|
3663
3762
|
commands,
|
|
@@ -3689,10 +3788,13 @@ function listSkills(options: RunSkillsOptions = {}) {
|
|
|
3689
3788
|
] ?? [],
|
|
3690
3789
|
name: entry.manifest.displayName,
|
|
3691
3790
|
description: entry.manifest.description,
|
|
3692
|
-
mcpUrl:
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3791
|
+
mcpUrl:
|
|
3792
|
+
isLocalOnlyBuiltInSkill(entry) || isScreenMemoryMcpBuiltInSkill(entry)
|
|
3793
|
+
? ""
|
|
3794
|
+
: entry.manifest.hosted.mcpUrl,
|
|
3795
|
+
local:
|
|
3796
|
+
isLocalOnlyBuiltInSkill(entry) ||
|
|
3797
|
+
isScreenMemoryMcpBuiltInSkill(entry),
|
|
3696
3798
|
source: "agent-native",
|
|
3697
3799
|
})),
|
|
3698
3800
|
...publicSkillEntries(options).map((entry) => ({
|