kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
feat: add name to deployment since it can change between deployments
rodzic
9427548885
commit
76f46b405b
|
@ -39,6 +39,7 @@ import {
|
||||||
deploymentPrimaryId,
|
deploymentPrimaryId,
|
||||||
pricingIntervalEnum,
|
pricingIntervalEnum,
|
||||||
projectId,
|
projectId,
|
||||||
|
projectName,
|
||||||
teamId,
|
teamId,
|
||||||
timestamps,
|
timestamps,
|
||||||
userId
|
userId
|
||||||
|
@ -68,6 +69,9 @@ export const deployments = pgTable(
|
||||||
|
|
||||||
published: boolean().default(false).notNull(),
|
published: boolean().default(false).notNull(),
|
||||||
|
|
||||||
|
// display name
|
||||||
|
name: projectName().notNull(),
|
||||||
|
|
||||||
description: text().default('').notNull(),
|
description: text().default('').notNull(),
|
||||||
readme: text().default('').notNull(),
|
readme: text().default('').notNull(),
|
||||||
iconUrl: text(),
|
iconUrl: text(),
|
||||||
|
@ -164,6 +168,7 @@ export const deploymentSelectBaseSchema = createSelectSchema(deployments, {
|
||||||
message: 'Invalid deployment hash'
|
message: 'Invalid deployment hash'
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
name: resolvedAgenticProjectConfigSchema.shape.name,
|
||||||
version: resolvedAgenticProjectConfigSchema.shape.version,
|
version: resolvedAgenticProjectConfigSchema.shape.version,
|
||||||
description: resolvedAgenticProjectConfigSchema.shape.description,
|
description: resolvedAgenticProjectConfigSchema.shape.description,
|
||||||
readme: resolvedAgenticProjectConfigSchema.shape.readme,
|
readme: resolvedAgenticProjectConfigSchema.shape.readme,
|
||||||
|
|
|
@ -53,6 +53,7 @@ export async function publishDeployment(
|
||||||
tx
|
tx
|
||||||
.update(schema.projects)
|
.update(schema.projects)
|
||||||
.set({
|
.set({
|
||||||
|
name: deployment.name,
|
||||||
lastPublishedDeploymentId: deployment.id,
|
lastPublishedDeploymentId: deployment.id,
|
||||||
lastPublishedDeploymentVersion: version
|
lastPublishedDeploymentVersion: version
|
||||||
})
|
})
|
||||||
|
|
|
@ -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. */
|
/** @description Optional semantic version of the project as a semver string. Ex: 1.0.0, 0.0.1, 5.0.1, etc. */
|
||||||
version?: string;
|
version?: string;
|
||||||
published: boolean;
|
published: boolean;
|
||||||
|
/** @description Display name for the project. Max length 1024 characters. */
|
||||||
|
name: string;
|
||||||
/** @description A short description of the project. */
|
/** @description A short description of the project. */
|
||||||
description?: string;
|
description?: string;
|
||||||
/** @description A readme documenting the project (supports GitHub-flavored markdown). */
|
/** @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. */
|
/** @description Optional semantic version of the project as a semver string. Ex: 1.0.0, 0.0.1, 5.0.1, etc. */
|
||||||
version?: string;
|
version?: string;
|
||||||
published: boolean;
|
published: boolean;
|
||||||
|
/** @description Display name for the project. Max length 1024 characters. */
|
||||||
|
name: string;
|
||||||
/** @description A short description of the project. */
|
/** @description A short description of the project. */
|
||||||
description?: string;
|
description?: string;
|
||||||
/** @description A readme documenting the project (supports GitHub-flavored markdown). */
|
/** @description A readme documenting the project (supports GitHub-flavored markdown). */
|
||||||
|
|
11
todo.md
11
todo.md
|
@ -15,7 +15,6 @@
|
||||||
- import react example usage component into docs
|
- import react example usage component into docs
|
||||||
- replace json pricing plans and consumers with actual designs
|
- replace json pricing plans and consumers with actual designs
|
||||||
- double-check free-tier rate-limits for `@agentic/search`
|
- double-check free-tier rate-limits for `@agentic/search`
|
||||||
- create agentic products for select legacy tools
|
|
||||||
- add feature about optimized context to docs
|
- add feature about optimized context to docs
|
||||||
- add ts sdk examples to e2e tests
|
- add ts sdk examples to e2e tests
|
||||||
- submit to awesome mcp, mcp discord, etc
|
- submit to awesome mcp, mcp discord, etc
|
||||||
|
@ -27,13 +26,17 @@
|
||||||
- **add support to example-usage for api keys**
|
- **add support to example-usage for api keys**
|
||||||
- **api keys should go beyond 1:1 consumers**
|
- **api keys should go beyond 1:1 consumers**
|
||||||
- replace JSON schemas (tool input/output schemas) with `json` code blocks
|
- 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**
|
- **currently not obvious how to get api key**
|
||||||
- marketplace project page; replace tabs with links
|
- marketplace project page
|
||||||
- too much of a delay on individual pages and makes no sense to have these imports on the other tab pages
|
- 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
|
- 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)
|
- [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 [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
|
## TODO: Post-MVP
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue