sunpeak 0.20.5 → 0.20.6
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/bin/commands/dev.mjs +23 -4
- package/bin/commands/inspect.mjs +14 -2
- package/bin/commands/test.mjs +4 -3
- package/bin/lib/eval/eval-runner.mjs +27 -1
- package/bin/lib/eval/model-registry.mjs +6 -1
- package/bin/lib/test/base-config.mjs +11 -4
- package/dist/mcp/index.cjs +23 -2
- package/dist/mcp/index.cjs.map +1 -1
- package/dist/mcp/index.js +23 -2
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/types.d.ts +1 -0
- package/package.json +1 -1
- package/template/dist/albums/albums.json +1 -1
- package/template/dist/carousel/carousel.json +1 -1
- package/template/dist/map/map.json +1 -1
- package/template/dist/review/review.json +1 -1
- package/template/tests/evals/albums.eval.ts +1 -1
- package/template/tests/evals/map.eval.ts +1 -1
- package/template/tests/evals/review.eval.ts +4 -2
package/dist/mcp/types.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ export interface SimulationWithDist {
|
|
|
67
67
|
structuredContent?: unknown;
|
|
68
68
|
isError?: boolean;
|
|
69
69
|
};
|
|
70
|
+
inputSchema?: unknown;
|
|
70
71
|
outputSchema?: unknown;
|
|
71
72
|
handler?: (args: Record<string, unknown>, extra: unknown) => unknown | Promise<unknown>;
|
|
72
73
|
serverTools?: Record<string, ServerToolMock>;
|
package/package.json
CHANGED
|
@@ -9,12 +9,14 @@ export default defineEval({
|
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
name: 'asks to draft a social post',
|
|
12
|
-
prompt:
|
|
12
|
+
prompt:
|
|
13
|
+
'Draft a social media post announcing our new AI features launching today, for X and LinkedIn',
|
|
13
14
|
expect: { tool: 'review-post' },
|
|
14
15
|
},
|
|
15
16
|
{
|
|
16
17
|
name: 'asks to review a purchase',
|
|
17
|
-
prompt:
|
|
18
|
+
prompt:
|
|
19
|
+
'Show me a purchase review for cart abc-123 with the Pro plan item, shipping to address addr-1 via standard shipping, paying with card pm-1',
|
|
18
20
|
expect: { tool: 'review-purchase' },
|
|
19
21
|
},
|
|
20
22
|
|