diff --git a/apps/api/src/db/schema/deployment.ts b/apps/api/src/db/schema/deployment.ts index 7fd0fbb9..bcc03ca2 100644 --- a/apps/api/src/db/schema/deployment.ts +++ b/apps/api/src/db/schema/deployment.ts @@ -39,6 +39,7 @@ import { deploymentPrimaryId, pricingIntervalEnum, projectId, + projectName, teamId, timestamps, userId @@ -68,6 +69,9 @@ export const deployments = pgTable( published: boolean().default(false).notNull(), + // display name + name: projectName().notNull(), + description: text().default('').notNull(), readme: text().default('').notNull(), iconUrl: text(), @@ -164,6 +168,7 @@ export const deploymentSelectBaseSchema = createSelectSchema(deployments, { message: 'Invalid deployment hash' }), + name: resolvedAgenticProjectConfigSchema.shape.name, version: resolvedAgenticProjectConfigSchema.shape.version, description: resolvedAgenticProjectConfigSchema.shape.description, readme: resolvedAgenticProjectConfigSchema.shape.readme, diff --git a/apps/api/src/lib/deployments/publish-deployment.ts b/apps/api/src/lib/deployments/publish-deployment.ts index 80f95c61..8d13e1e2 100644 --- a/apps/api/src/lib/deployments/publish-deployment.ts +++ b/apps/api/src/lib/deployments/publish-deployment.ts @@ -53,6 +53,7 @@ export async function publishDeployment( tx .update(schema.projects) .set({ + name: deployment.name, lastPublishedDeploymentId: deployment.id, lastPublishedDeploymentVersion: version }) diff --git a/packages/types/src/openapi.d.ts b/packages/types/src/openapi.d.ts index 85588b44..4f9257d8 100644 --- a/packages/types/src/openapi.d.ts +++ b/packages/types/src/openapi.d.ts @@ -771,6 +771,8 @@ export interface components { /** @description Optional semantic version of the project as a semver string. Ex: 1.0.0, 0.0.1, 5.0.1, etc. */ version?: string; published: boolean; + /** @description Display name for the project. Max length 1024 characters. */ + name: string; /** @description A short description of the project. */ description?: string; /** @description A readme documenting the project (supports GitHub-flavored markdown). */ @@ -1048,6 +1050,8 @@ export interface components { /** @description Optional semantic version of the project as a semver string. Ex: 1.0.0, 0.0.1, 5.0.1, etc. */ version?: string; published: boolean; + /** @description Display name for the project. Max length 1024 characters. */ + name: string; /** @description A short description of the project. */ description?: string; /** @description A readme documenting the project (supports GitHub-flavored markdown). */ diff --git a/todo.md b/todo.md index 941b1472..8319183f 100644 --- a/todo.md +++ b/todo.md @@ -15,7 +15,6 @@ - import react example usage component into docs - replace json pricing plans and consumers with actual designs - double-check free-tier rate-limits for `@agentic/search` -- create agentic products for select legacy tools - add feature about optimized context to docs - add ts sdk examples to e2e tests - submit to awesome mcp, mcp discord, etc @@ -27,13 +26,17 @@ - **add support to example-usage for api keys** - **api keys should go beyond 1:1 consumers** - replace JSON schemas (tool input/output schemas) with `json` code blocks -- improve upgrade flow +- improve upgrade flow UX - **currently not obvious how to get api key** -- marketplace project page; replace tabs with links - - too much of a delay on individual pages and makes no sense to have these imports on the other tab pages +- marketplace project page + - replace tabs with links + - too much of a delay on individual pages and makes no sense to have these imports on the other tab pages + - add last published date to - add a basic page + docs on pricing - [react query prefetching for public pages](https://tanstack.com/query/latest/docs/framework/react/guides/advanced-ssr#prefetching-and-dehydrating-data) - add [ping](https://modelcontextprotocol.io/specification/2025-03-26/basic/utilities/ping) support to mcp servers +- add ability to point at remote readmes, icons, files, urls, etc and upload to our own blob storage at deploy time +- **create agentic products for select legacy tools** ## TODO: Post-MVP