History

beta

Rhys Sullivan committed 7 months ago

Commit 8513ee91 parent c54b87d6 files · +72 −79Browse files

Unified · Split

6 files
  1. .changeset/funny-forks-listen.md +5 −0
  2. .changeset/pre.json +53 −0
  3. .executor/executor.jsonc +12 −32
  4. .executor/tools/demo.ts +0 −45
  5. apps/web/src/components/source-plugins-reset-state.tsx +1 −1
  6. packages/clients/react/src/plugins/components/source-tool-workbench.tsx +1 −1
.changeset/funny-forks-listen.md+5−0
@@ -0,0 +1,5 @@
1+---
2+"executor": minor
3+---
4+
5+Prepare the next executor beta minor release.
.changeset/pre.json+53−0
@@ -0,0 +1,53 @@
1+{
2+ "mode": "pre",
3+ "tag": "beta",
4+ "initialVersions": {
5+ "@executor/docs": "0.0.0",
6+ "executor": "1.2.6",
7+ "@executor/web": "0.0.0",
8+ "@executor/mcp-elicitation-demo": "0.0.0",
9+ "@executor/serve-skills-via-mcp-demo": "0.0.0",
10+ "@executor/sqlite-sdk-consumer-example": "0.0.0",
11+ "@executor/react": "0.0.0",
12+ "@executor/effect-test-utils": "0.0.0",
13+ "@executor/kitchen-sink": "0.0.0",
14+ "@executor/ai-sdk-adapter": "0.0.0",
15+ "@executor/executor-mcp": "0.0.0",
16+ "@executor/codemode-core": "0.0.0",
17+ "@executor/ir": "0.0.0",
18+ "@executor/runtime-deno-subprocess": "0.0.0",
19+ "@executor/runtime-quickjs": "0.0.0",
20+ "@executor/runtime-ses": "0.0.0",
21+ "@executor/platform-api": "0.0.0",
22+ "@executor/platform-sdk": "0.0.0",
23+ "@executor/platform-sdk-file": "0.0.0",
24+ "@executor/server": "0.0.0",
25+ "@executor/source-core": "0.0.0",
26+ "@executor/plugin-execution-history-react": "0.0.0",
27+ "@executor/plugin-google-discovery-http": "0.0.0",
28+ "@executor/plugin-google-discovery-react": "0.0.0",
29+ "@executor/plugin-google-discovery-sdk": "0.0.0",
30+ "@executor/plugin-google-discovery-shared": "0.0.0",
31+ "@executor/plugin-graphql-http": "0.0.0",
32+ "@executor/plugin-graphql-react": "0.0.0",
33+ "@executor/plugin-graphql-sdk": "0.0.0",
34+ "@executor/plugin-graphql-shared": "0.0.0",
35+ "@executor/plugin-keychain-secret-store-sdk": "0.0.0",
36+ "@executor/plugin-local-secret-store-sdk": "0.0.0",
37+ "@executor/plugin-local-tools-react": "0.0.0",
38+ "@executor/plugin-local-tools-sdk": "0.0.0",
39+ "@executor/plugin-mcp-http": "0.0.0",
40+ "@executor/plugin-mcp-react": "0.0.0",
41+ "@executor/plugin-mcp-sdk": "0.0.0",
42+ "@executor/plugin-mcp-shared": "0.0.0",
43+ "@executor/plugin-onepassword-http": "0.0.0",
44+ "@executor/plugin-onepassword-react": "0.0.0",
45+ "@executor/plugin-onepassword-sdk": "0.0.0",
46+ "@executor/plugin-onepassword-shared": "0.0.0",
47+ "@executor/plugin-openapi-http": "0.0.0",
48+ "@executor/plugin-openapi-react": "0.0.0",
49+ "@executor/plugin-openapi-sdk": "0.0.0",
50+ "@executor/plugin-openapi-shared": "0.0.0"
51+ },
52+ "changesets": []
53+}
.executor/executor.jsonc+12−32
@@ -1,39 +1,19 @@
11 {
22 "sources": {
3− "vercel": {
3+ "vercel-api": {
44 "name": "Vercel API",
5− "connection": {
6− "endpoint": "https://api.vercel.com/"
7− },
85 "kind": "openapi",
9− "binding": {
10− "specUrl": "https://openapi.vercel.sh/",
11− "defaultHeaders": null
12− }
13− },
14− "deepwiki": {
15− "name": "DeepWiki MCP",
16− "connection": {
17− "endpoint": "https://mcp.deepwiki.com/mcp"
18− },
19− "kind": "mcp",
20− "binding": {
21− "transport": "auto",
22− "queryParams": null,
23− "headers": null,
24− "command": null,
25− "args": null,
26− "env": null,
27− "cwd": null
28− }
29− },
30− "linear": {
31− "kind": "graphql",
32− "name": "Linear GraphQL",
33− "connection": {
34− "endpoint": "https://api.linear.app/graphql"
35− },
36− "binding": {
6+ "config": {
7+ "specUrl": "https://openapi.vercel.sh",
8+ "baseUrl": "https://api.vercel.com/",
9+ "auth": {
10+ "kind": "bearer",
11+ "tokenSecretRef": {
12+ "secretId": "sec_dcd33fd0-3206-4763-b9ab-cfb2a59e697d"
13+ },
14+ "headerName": "Authorization",
15+ "prefix": null
16+ },
3717 "defaultHeaders": null
3818 }
3919 }
.executor/tools/demo.ts+0−45
@@ -1,45 +0,0 @@
1−import * as Schema from "effect/Schema";
2−
3−const DemoInputSchema = Schema.standardSchemaV1(
4− Schema.Struct({
5− name: Schema.optional(Schema.String),
6− enthusiasm: Schema.optional(Schema.Number),
7− }),
8−);
9−
10−const DemoOutputSchema = Schema.standardSchemaV1(
11− Schema.Struct({
12− tool: Schema.String,
13− message: Schema.String,
14− inputEcho: Schema.Struct({
15− name: Schema.String,
16− enthusiasm: Schema.Number,
17− }),
18− }),
19−);
20−
21−export default {
22− description: "Demo local tool loaded from .executor/tools/demo.ts",
23− inputSchema: DemoInputSchema,
24− outputSchema: DemoOutputSchema,
25− execute: ({
26− name,
27− enthusiasm,
28− }: {
29− name?: string;
30− enthusiasm?: number;
31− }) => {
32− const trimmedName = name?.trim();
33− const safeName = trimmedName && trimmedName.length > 0 ? trimmedName : "world";
34− const safeEnthusiasm = Math.max(1, Math.min(5, Math.round(enthusiasm ?? 1)));
35−
36− return {
37− tool: "demo",
38− message: `Hello, ${safeName}${"!".repeat(safeEnthusiasm)}`,
39− inputEcho: {
40− name: safeName,
41− enthusiasm: safeEnthusiasm,
42− },
43− };
44− },
45−};
apps/web/src/components/source-plugins-reset-state.tsx+1−1
@@ -10,7 +10,7 @@ export function SourcePluginsResetState( · 9 unmodified lines
1010 input: SourcePluginsResetStateProps,
1111 ) {
1212 return (
13− <div className="min-h-0 flex-1 overflow-y-auto w-[300px]">
13+ <div className="min-h-0 flex-1 overflow-y-auto">
1414 <div className="mx-auto max-w-3xl px-6 py-10 lg:px-10 lg:py-14">
1515 <div className="rounded-2xl border border-border bg-card p-8">
1616 <h2 className="font-display text-xl tracking-tight text-foreground">
packages/clients/react/src/plugins/components/source-tool-workbench.tsx+1−1
@@ -641,7 +641,7 @@ export const SourceToolModelWorkbench = ( · 640 unmodified lines
641641 </div>
642642 </div>
643643
644− <div className="flex-1 overflow-y-auto w-[300px]">
644+ <div className="flex-1 overflow-y-auto">
645645 {filteredTools.length === 0 ? (
646646 <div className="p-4 text-center text-[13px] text-muted-foreground/50">
647647 {terms.length > 0 ? "No tools match your filter" : "No tools available"}