feat: add name to deployment since it can change between deployments

pull/718/head
Travis Fischer 2025-07-01 11:53:13 -05:00
rodzic 9427548885
commit 76f46b405b
4 zmienionych plików z 17 dodań i 4 usunięć

Wyświetl plik

@ -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,

Wyświetl plik

@ -53,6 +53,7 @@ export async function publishDeployment(
tx
.update(schema.projects)
.set({
name: deployment.name,
lastPublishedDeploymentId: deployment.id,
lastPublishedDeploymentVersion: version
})

Wyświetl plik

@ -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). */

11
todo.md
Wyświetl plik

@ -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