create-skybridge 0.0.0-dev.b5d9880 → 0.0.0-dev.b613272
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/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ Arguments:
|
|
|
20
20
|
Options:
|
|
21
21
|
--blank scaffold a minimal project without demo tools and views
|
|
22
22
|
--overwrite remove existing files if target directory is not empty
|
|
23
|
-
--pm <choice> package manager to use (choices: ${PACKAGE_MANAGERS.join(", ")}. default
|
|
23
|
+
--pm <choice> package manager to use (choices: ${PACKAGE_MANAGERS.join(", ")}. default to npm when none is provided or infered)
|
|
24
24
|
--skip-skills skip installing coding agent skills
|
|
25
25
|
--start start dev server
|
|
26
26
|
--yes skip prompts and use default values for unprovided options
|
|
@@ -242,6 +242,7 @@ export async function init(args = process.argv.slice(2)) {
|
|
|
242
242
|
"--agent",
|
|
243
243
|
"universal",
|
|
244
244
|
"claude-code",
|
|
245
|
+
"--copy", // something the symlink fails for some reason
|
|
245
246
|
"--yes",
|
|
246
247
|
]);
|
|
247
248
|
// skills cli always returns 0 so we look for the success message
|
package/package.json
CHANGED
|
@@ -15,8 +15,20 @@ const server = new McpServer(
|
|
|
15
15
|
inputSchema: {
|
|
16
16
|
name: z.string().optional().describe("The user name."),
|
|
17
17
|
},
|
|
18
|
+
annotations: {
|
|
19
|
+
title: "Start Skybridge onboarding",
|
|
20
|
+
readOnlyHint: true,
|
|
21
|
+
destructiveHint: false,
|
|
22
|
+
openWorldHint: false,
|
|
23
|
+
},
|
|
24
|
+
_meta: {
|
|
25
|
+
"openai/toolInvocation/invoking": "Starting the Skybridge onboarding…",
|
|
26
|
+
"openai/toolInvocation/invoked": "Onboarding ready.",
|
|
27
|
+
},
|
|
18
28
|
view: {
|
|
19
29
|
component: "onboarding",
|
|
30
|
+
// Replace with the URL your widget will be served from in production.
|
|
31
|
+
domain: "https://skybridge.tech",
|
|
20
32
|
description: "Onboarding deck",
|
|
21
33
|
csp: {
|
|
22
34
|
resourceDomains: [
|
|
@@ -30,7 +42,7 @@ const server = new McpServer(
|
|
|
30
42
|
async ({ name }) => {
|
|
31
43
|
return {
|
|
32
44
|
structuredContent: { name },
|
|
33
|
-
content: [{ type: "text", text: `User name: ${name}` }],
|
|
45
|
+
content: [{ type: "text", text: `User name: ${name ?? "friend"}` }],
|
|
34
46
|
isError: false,
|
|
35
47
|
};
|
|
36
48
|
},
|
|
@@ -39,6 +51,16 @@ const server = new McpServer(
|
|
|
39
51
|
{
|
|
40
52
|
name: "get-fortune-cookie",
|
|
41
53
|
description: "Get fortune cookie",
|
|
54
|
+
annotations: {
|
|
55
|
+
title: "Get a fortune cookie",
|
|
56
|
+
readOnlyHint: true,
|
|
57
|
+
destructiveHint: false,
|
|
58
|
+
openWorldHint: false,
|
|
59
|
+
},
|
|
60
|
+
_meta: {
|
|
61
|
+
"openai/toolInvocation/invoking": "Cracking open a fortune cookie…",
|
|
62
|
+
"openai/toolInvocation/invoked": "Fortune revealed.",
|
|
63
|
+
},
|
|
42
64
|
},
|
|
43
65
|
async () => {
|
|
44
66
|
const predictions = [
|
|
@@ -23,8 +23,8 @@ export default function ToolOutput() {
|
|
|
23
23
|
) : (
|
|
24
24
|
<p>
|
|
25
25
|
The view reads the <strong>tool output</strong>, but no{" "}
|
|
26
|
-
<code>name</code> was passed this time. Try again with
|
|
27
|
-
to see
|
|
26
|
+
<code>name</code> was passed this time. Try again with your surname
|
|
27
|
+
to see how this view personalizes.
|
|
28
28
|
</p>
|
|
29
29
|
)}
|
|
30
30
|
</div>
|