feat: daily sync (#38593)

Co-authored-by: 盐粒 Yanli <mail@yanli.one>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: 盐粒 Yanli <yanli@dify.ai>
This commit is contained in:
zyssyz123
2026-07-09 10:35:15 +00:00
committed by GitHub
co-authored by 盐粒 Yanli yyh Joel autofix-ci[bot] QuantumGhost yyh 盐粒 Yanli
parent 9252d81826
commit 925f97be20
190 changed files with 9739 additions and 345 deletions
@@ -193,8 +193,10 @@ export type JsonValue
export type ExploreMessageListItem = {
agent_thoughts: Array<AgentThought>
answer: string
answer_tokens?: number
conversation_id: string
created_at?: number | null
currency?: string | null
error?: string | null
extra_contents: Array<HumanInputContent>
feedback?: SimpleFeedback | null
@@ -203,11 +205,15 @@ export type ExploreMessageListItem = {
[key: string]: JsonValueType
}
message_files: Array<MessageFile>
message_tokens?: number
metadata?: JsonValueType | null
parent_message_id?: string | null
provider_response_latency?: number
query: string
retriever_resources: Array<RetrieverResource>
status: string
total_price?: string | null
readonly total_tokens: number
}
export type JsonObject = {
@@ -410,6 +416,12 @@ export type InstalledAppListResponseWritable = {
installed_apps: Array<InstalledAppResponseWritable>
}
export type ExploreMessageInfiniteScrollPaginationWritable = {
data: Array<ExploreMessageListItemWritable>
has_more: boolean
limit: number
}
export type InstalledAppResponseWritable = {
app: InstalledAppInfoResponseWritable
app_owner_tenant_id: string
@@ -420,6 +432,31 @@ export type InstalledAppResponseWritable = {
uninstallable: boolean
}
export type ExploreMessageListItemWritable = {
agent_thoughts: Array<AgentThought>
answer: string
answer_tokens?: number
conversation_id: string
created_at?: number | null
currency?: string | null
error?: string | null
extra_contents: Array<HumanInputContent>
feedback?: SimpleFeedback | null
id: string
inputs: {
[key: string]: JsonValueType
}
message_files: Array<MessageFile>
message_tokens?: number
metadata?: JsonValueType | null
parent_message_id?: string | null
provider_response_latency?: number
query: string
retriever_resources: Array<RetrieverResource>
status: string
total_price?: string | null
}
export type InstalledAppInfoResponseWritable = {
description?: string | null
icon?: string | null
@@ -512,19 +512,28 @@ export const zHumanInputContent = z.object({
export const zExploreMessageListItem = z.object({
agent_thoughts: z.array(zAgentThought),
answer: z.string(),
answer_tokens: z.int().optional().default(0),
conversation_id: z.string(),
created_at: z.int().nullish(),
currency: z.string().nullish(),
error: z.string().nullish(),
extra_contents: z.array(zHumanInputContent),
feedback: zSimpleFeedback.nullish(),
id: z.string(),
inputs: z.record(z.string(), zJsonValueType),
message_files: z.array(zMessageFile),
message_tokens: z.int().optional().default(0),
metadata: zJsonValueType.nullish(),
parent_message_id: z.string().nullish(),
provider_response_latency: z.number().optional().default(0),
query: z.string(),
retriever_resources: z.array(zRetrieverResource),
status: z.string(),
total_price: z
.string()
.regex(/^(?![-+.]*$)[+-]?\d*(?:\.\d*)?$/)
.nullish(),
total_tokens: z.int().readonly(),
})
/**
@@ -536,6 +545,44 @@ export const zExploreMessageInfiniteScrollPagination = z.object({
limit: z.int(),
})
/**
* ExploreMessageListItem
*/
export const zExploreMessageListItemWritable = z.object({
agent_thoughts: z.array(zAgentThought),
answer: z.string(),
answer_tokens: z.int().optional().default(0),
conversation_id: z.string(),
created_at: z.int().nullish(),
currency: z.string().nullish(),
error: z.string().nullish(),
extra_contents: z.array(zHumanInputContent),
feedback: zSimpleFeedback.nullish(),
id: z.string(),
inputs: z.record(z.string(), zJsonValueType),
message_files: z.array(zMessageFile),
message_tokens: z.int().optional().default(0),
metadata: zJsonValueType.nullish(),
parent_message_id: z.string().nullish(),
provider_response_latency: z.number().optional().default(0),
query: z.string(),
retriever_resources: z.array(zRetrieverResource),
status: z.string(),
total_price: z
.string()
.regex(/^(?![-+.]*$)[+-]?\d*(?:\.\d*)?$/)
.nullish(),
})
/**
* ExploreMessageInfiniteScrollPagination
*/
export const zExploreMessageInfiniteScrollPaginationWritable = z.object({
data: z.array(zExploreMessageListItemWritable),
has_more: z.boolean(),
limit: z.int(),
})
/**
* InstalledAppInfoResponse
*/
@@ -1071,8 +1071,10 @@ export type MessageInfiniteScrollPagination = {
export type MessageListItem = {
agent_thoughts: Array<AgentThought>
answer: string
answer_tokens?: number
conversation_id: string
created_at?: number | null
currency?: string | null
error?: string | null
extra_contents: Array<HumanInputContent>
feedback?: SimpleFeedback | null
@@ -1081,10 +1083,14 @@ export type MessageListItem = {
[key: string]: JsonValueType
}
message_files: Array<MessageFile>
message_tokens?: number
parent_message_id?: string | null
provider_response_latency?: number
query: string
retriever_resources: Array<RetrieverResource>
status: string
total_price?: string | null
readonly total_tokens: number
}
export type MessageListQuery = {
@@ -1691,6 +1697,36 @@ export type HumanInputFormSubmitResponseWritable = {
[key: string]: never
}
export type MessageInfiniteScrollPaginationWritable = {
data: Array<MessageListItemWritable>
has_more: boolean
limit: number
}
export type MessageListItemWritable = {
agent_thoughts: Array<AgentThought>
answer: string
answer_tokens?: number
conversation_id: string
created_at?: number | null
currency?: string | null
error?: string | null
extra_contents: Array<HumanInputContent>
feedback?: SimpleFeedback | null
id: string
inputs: {
[key: string]: JsonValueType
}
message_files: Array<MessageFile>
message_tokens?: number
parent_message_id?: string | null
provider_response_latency?: number
query: string
retriever_resources: Array<RetrieverResource>
status: string
total_price?: string | null
}
export type SiteWritable = {
chat_color_theme?: string | null
chat_color_theme_inverted: boolean
@@ -1974,18 +1974,27 @@ export const zHumanInputContent = z.object({
export const zMessageListItem = z.object({
agent_thoughts: z.array(zAgentThought),
answer: z.string(),
answer_tokens: z.int().optional().default(0),
conversation_id: z.string(),
created_at: z.int().nullish(),
currency: z.string().nullish(),
error: z.string().nullish(),
extra_contents: z.array(zHumanInputContent),
feedback: zSimpleFeedback.nullish(),
id: z.string(),
inputs: z.record(z.string(), zJsonValueType),
message_files: z.array(zMessageFile),
message_tokens: z.int().optional().default(0),
parent_message_id: z.string().nullish(),
provider_response_latency: z.number().optional().default(0),
query: z.string(),
retriever_resources: z.array(zRetrieverResource),
status: z.string(),
total_price: z
.string()
.regex(/^(?![-+.]*$)[+-]?\d*(?:\.\d*)?$/)
.nullish(),
total_tokens: z.int().readonly(),
})
/**
@@ -2310,6 +2319,43 @@ export const zGeneratedAppResponseWritable = zJsonValue
*/
export const zHumanInputFormSubmitResponseWritable = z.record(z.string(), z.never())
/**
* MessageListItem
*/
export const zMessageListItemWritable = z.object({
agent_thoughts: z.array(zAgentThought),
answer: z.string(),
answer_tokens: z.int().optional().default(0),
conversation_id: z.string(),
created_at: z.int().nullish(),
currency: z.string().nullish(),
error: z.string().nullish(),
extra_contents: z.array(zHumanInputContent),
feedback: zSimpleFeedback.nullish(),
id: z.string(),
inputs: z.record(z.string(), zJsonValueType),
message_files: z.array(zMessageFile),
message_tokens: z.int().optional().default(0),
parent_message_id: z.string().nullish(),
provider_response_latency: z.number().optional().default(0),
query: z.string(),
retriever_resources: z.array(zRetrieverResource),
status: z.string(),
total_price: z
.string()
.regex(/^(?![-+.]*$)[+-]?\d*(?:\.\d*)?$/)
.nullish(),
})
/**
* MessageInfiniteScrollPagination
*/
export const zMessageInfiniteScrollPaginationWritable = z.object({
data: z.array(zMessageListItemWritable),
has_more: z.boolean(),
limit: z.int(),
})
/**
* Site
*/
@@ -599,8 +599,10 @@ export type WebMessageInfiniteScrollPagination = {
export type WebMessageListItem = {
agent_thoughts: Array<AgentThought>
answer: string
answer_tokens?: number
conversation_id: string
created_at?: number | null
currency?: string | null
error?: string | null
extra_contents: Array<HumanInputContent>
feedback?: SimpleFeedback | null
@@ -609,11 +611,15 @@ export type WebMessageListItem = {
[key: string]: JsonValueType
}
message_files: Array<MessageFile>
message_tokens?: number
metadata?: JsonValueType | null
parent_message_id?: string | null
provider_response_latency?: number
query: string
retriever_resources: Array<RetrieverResource>
status: string
total_price?: string | null
readonly total_tokens: number
}
export type WebModelConfigResponse = {
@@ -685,6 +691,37 @@ export type WebAppSiteResponseWritable = {
site: WebSiteResponseWritable
}
export type WebMessageInfiniteScrollPaginationWritable = {
data: Array<WebMessageListItemWritable>
has_more: boolean
limit: number
}
export type WebMessageListItemWritable = {
agent_thoughts: Array<AgentThought>
answer: string
answer_tokens?: number
conversation_id: string
created_at?: number | null
currency?: string | null
error?: string | null
extra_contents: Array<HumanInputContent>
feedback?: SimpleFeedback | null
id: string
inputs: {
[key: string]: JsonValueType
}
message_files: Array<MessageFile>
message_tokens?: number
metadata?: JsonValueType | null
parent_message_id?: string | null
provider_response_latency?: number
query: string
retriever_resources: Array<RetrieverResource>
status: string
total_price?: string | null
}
export type WebSiteResponseWritable = {
chat_color_theme?: string | null
chat_color_theme_inverted: boolean
@@ -831,19 +831,28 @@ export const zWebAppCustomConfigResponse = z.object({
export const zWebMessageListItem = z.object({
agent_thoughts: z.array(zAgentThought),
answer: z.string(),
answer_tokens: z.int().optional().default(0),
conversation_id: z.string(),
created_at: z.int().nullish(),
currency: z.string().nullish(),
error: z.string().nullish(),
extra_contents: z.array(zHumanInputContent),
feedback: zSimpleFeedback.nullish(),
id: z.string(),
inputs: z.record(z.string(), zJsonValueType),
message_files: z.array(zMessageFile),
message_tokens: z.int().optional().default(0),
metadata: zJsonValueType.nullish(),
parent_message_id: z.string().nullish(),
provider_response_latency: z.number().optional().default(0),
query: z.string(),
retriever_resources: z.array(zRetrieverResource),
status: z.string(),
total_price: z
.string()
.regex(/^(?![-+.]*$)[+-]?\d*(?:\.\d*)?$/)
.nullish(),
total_tokens: z.int().readonly(),
})
/**
@@ -943,6 +952,44 @@ export const zGeneratedAppResponseWritable = zJsonValue
*/
export const zHumanInputFormSubmitResponseWritable = z.record(z.string(), z.unknown())
/**
* WebMessageListItem
*/
export const zWebMessageListItemWritable = z.object({
agent_thoughts: z.array(zAgentThought),
answer: z.string(),
answer_tokens: z.int().optional().default(0),
conversation_id: z.string(),
created_at: z.int().nullish(),
currency: z.string().nullish(),
error: z.string().nullish(),
extra_contents: z.array(zHumanInputContent),
feedback: zSimpleFeedback.nullish(),
id: z.string(),
inputs: z.record(z.string(), zJsonValueType),
message_files: z.array(zMessageFile),
message_tokens: z.int().optional().default(0),
metadata: zJsonValueType.nullish(),
parent_message_id: z.string().nullish(),
provider_response_latency: z.number().optional().default(0),
query: z.string(),
retriever_resources: z.array(zRetrieverResource),
status: z.string(),
total_price: z
.string()
.regex(/^(?![-+.]*$)[+-]?\d*(?:\.\d*)?$/)
.nullish(),
})
/**
* WebMessageInfiniteScrollPagination
*/
export const zWebMessageInfiniteScrollPaginationWritable = z.object({
data: z.array(zWebMessageListItemWritable),
has_more: z.boolean(),
limit: z.int(),
})
/**
* WebSiteResponse
*/
@@ -0,0 +1,4 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4 10.8283C2.78237 9.85175 2 8.35117 2 6.66683C2 3.72131 4.38782 1.3335 7.33333 1.3335C10.2084 1.3335 12.5503 3.60853 12.6608 6.45654L13.888 8.29704C14.0843 8.59144 14.0161 8.98774 13.7331 9.20003L12.6667 9.99951V11.3335C12.6667 12.0699 12.0697 12.6668 11.3333 12.6668H10V14.6668H8.66667V12.0002C8.66667 11.632 8.96514 11.3335 9.33333 11.3335H11.3333V9.66683C11.3333 9.45699 11.4324 9.25953 11.6003 9.13363L12.4284 8.51188L11.4453 7.03662C11.3723 6.92711 11.3333 6.79845 11.3333 6.66683C11.3333 4.45769 9.54248 2.66683 7.33333 2.66683C5.1242 2.66683 3.33333 4.45769 3.33333 6.66683C3.33333 8.02552 4.0103 9.22611 5.04818 9.95003C5.2269 10.0747 5.33329 10.279 5.33333 10.4969V14.6668H4V10.8283Z" fill="#354052"/>
<path d="M8.04367 5.57362L7.6504 4.55128C7.59993 4.42007 7.47393 4.3335 7.33333 4.3335C7.19273 4.3335 7.06673 4.42007 7.01627 4.55128L6.62303 5.57362C6.55531 5.74968 6.41618 5.88881 6.24012 5.95653L5.21778 6.34974C5.08657 6.4002 5 6.52626 5 6.66683C5 6.80743 5.08657 6.93343 5.21778 6.9839L6.24012 7.37716C6.41618 7.44483 6.55531 7.58396 6.62303 7.76003L7.01627 8.78236C7.06673 8.91356 7.19273 9.00016 7.33333 9.00016C7.47393 9.00016 7.59993 8.91356 7.6504 8.78236L8.04367 7.76003C8.11133 7.58396 8.25047 7.44483 8.42653 7.37716L9.44887 6.9839C9.58007 6.93343 9.66667 6.80743 9.66667 6.66683C9.66667 6.52626 9.58007 6.4002 9.44887 6.34974L8.42653 5.95653C8.25047 5.88881 8.11133 5.74968 8.04367 5.57362Z" fill="#354052"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

@@ -1,6 +1,6 @@
{
"prefix": "custom-public",
"lastModified": 1782215796,
"lastModified": 1783583299,
"icons": {
"agent-building-blocks": {
"body": "<path fill=\"#155AEF\" fill-rule=\"evenodd\" d=\"M8.303 1.546c.178-.045.364-.051.544-.017c.23.043.432.167.573.246l3.757 2.113c.12.067.29.156.433.289l.06.06c.12.131.21.288.267.457c.07.215.063.445.063.6V9.56c0 .146.007.36-.056.563q-.055.181-.162.338l-.075.1c-.137.163-.32.274-.442.353l-5.013 3.259c-.135.088-.33.224-.556.282a1.3 1.3 0 0 1-.543.017c-.23-.043-.433-.166-.573-.245l-3.757-2.114c-.136-.077-.34-.182-.493-.35a1.3 1.3 0 0 1-.267-.456C1.993 11.09 2 10.86 2 10.704V6.441c0-.146-.007-.36.055-.563l.043-.118a1.3 1.3 0 0 1 .195-.32l.053-.059c.128-.131.282-.225.389-.294L7.86 1.755c.122-.078.273-.165.443-.209m-4.97 9.158l.001.164l.033.02l.11.062l3.264 1.836v-1.137L3.333 9.732zm4.741.917v1.076l4.464-2.901l.098-.065l.029-.02v-.034l.001-.118v-.923zm-4.74-3.419L6.74 10.12V8.982L3.333 7.066zm4.74.752v1.076l4.592-2.985V5.969zm.51-6.08l-4.631 3.01l3.429 1.93l4.664-3.032l-3.28-1.846l-.15-.082z\" clip-rule=\"evenodd\"/>"
@@ -587,6 +587,11 @@
"width": 12,
"height": 12
},
"thought-imagine": {
"body": "<g fill=\"#354052\"><path d=\"M4 10.828a5.333 5.333 0 1 1 8.66-4.372l1.228 1.841a.667.667 0 0 1-.155.903l-1.066.8v1.334c0 .736-.597 1.333-1.334 1.333H10v2H8.667V12c0-.368.298-.666.666-.666h2V9.667c0-.21.1-.407.267-.533l.828-.622l-.983-1.475a.67.67 0 0 1-.112-.37A4 4 0 1 0 5.048 9.95a.67.67 0 0 1 .285.547v4.17H4z\"/><path d=\"M8.044 5.574L7.65 4.55a.34.34 0 0 0-.634 0l-.393 1.023a.67.67 0 0 1-.383.383l-1.022.393a.34.34 0 0 0 0 .634l1.022.393a.67.67 0 0 1 .383.383l.393 1.022a.34.34 0 0 0 .634 0l.394-1.022a.67.67 0 0 1 .383-.383l1.022-.393a.34.34 0 0 0 0-.634l-1.022-.393a.67.67 0 0 1-.383-.383\"/></g>",
"width": 16,
"height": 16
},
"thought-loading": {
"body": "<g fill=\"none\"><g clip-path=\"url(#svgID0)\"><path stroke=\"#667085\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.25\" d=\"M6 1.125v1.25M6 9v2M2.875 6h-1.75m9.5 0h-.75m-.646 3.229l-.354-.354m.457-6.167l-.707.707M2.461 9.539l1.414-1.414m-1.31-5.52l1.06 1.06\"/></g><defs><clipPath id=\"svgID0\"><path fill=\"#fff\" d=\"M0 0h12v12H0z\"/></clipPath></defs></g>",
"width": 12,
@@ -1,7 +1,7 @@
{
"prefix": "custom-public",
"name": "Dify Custom Public",
"total": 145,
"total": 146,
"version": "0.0.0-private",
"author": {
"name": "LangGenius, Inc.",