diff --git a/docs/.generated/config-baseline.sha256 b/docs/.generated/config-baseline.sha256 index 3dad0fd8ab7..80d0063ef84 100644 --- a/docs/.generated/config-baseline.sha256 +++ b/docs/.generated/config-baseline.sha256 @@ -1,4 +1,4 @@ -1f705ff2d4e35e5d958d1cb6ddd7cc7decf7bc208f8ff0663c6429895d3c6ca0 config-baseline.json -fb6f0ef881fb591d2791d2adca43c7e88d48f8b562457683092ab6e767aece78 config-baseline.core.json -3bb312dc9c39a374ca92613abf21606c25dc571287a3941dac71ff57b2b5c519 config-baseline.channel.json +868ce2ca78d36fe2bb2edd926f5e6bc142434b701066ac8a87253e5effc70b1b config-baseline.json +9bf857e53f27d22eb4d8b22e6407e31c260c797047fdca07b5d95498a712662c config-baseline.core.json +b6cf0966221beeea0a9bae9be3c811c27cf686b91e5df341bf752638114b7ef5 config-baseline.channel.json aa4b1d3d04ed9f9feea73c8fca36c48a54749853e07fadfca54773171b2ef4ff config-baseline.plugin.json diff --git a/docs/.generated/plugin-sdk-api-baseline.sha256 b/docs/.generated/plugin-sdk-api-baseline.sha256 index 6ef40ab6d5f..3536fd6ad61 100644 --- a/docs/.generated/plugin-sdk-api-baseline.sha256 +++ b/docs/.generated/plugin-sdk-api-baseline.sha256 @@ -1,2 +1,2 @@ -f0d71b70eb54d67fdc35dde8a5051e527c8a910b7b981f5075d78a5160dd08fa plugin-sdk-api-baseline.json -e305bb63072efa680951babd1eb1f419e9965d8a4bdabfc9bf3cafe24a8551df plugin-sdk-api-baseline.jsonl +ec0d47ca6df1d840719e6692a43cd2187603dc690fb0e8887fde760a4273b1c8 plugin-sdk-api-baseline.json +c0fc79136e9e90978feb613dc100ef17144cfa1c8451612f8e9a0583f7b7d902 plugin-sdk-api-baseline.jsonl diff --git a/src/config/bundled-channel-config-metadata.generated.ts b/src/config/bundled-channel-config-metadata.generated.ts index bad407fa1ab..4cc0110ca45 100644 --- a/src/config/bundled-channel-config-metadata.generated.ts +++ b/src/config/bundled-channel-config-metadata.generated.ts @@ -731,10 +731,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ type: "string", enum: ["open", "disabled", "allowlist"], }, - contextVisibility: { - type: "string", - enum: ["all", "allowlist", "allowlist_quote"], - }, historyLimit: { type: "integer", minimum: 0, @@ -767,84 +763,77 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ exclusiveMinimum: 0, maximum: 9007199254740991, }, - streaming: { + chunkMode: { + type: "string", + enum: ["length", "newline"], + }, + blockStreaming: { + type: "boolean", + }, + blockStreamingCoalesce: { type: "object", properties: { - mode: { + minChars: { + type: "integer", + exclusiveMinimum: 0, + maximum: 9007199254740991, + }, + maxChars: { + type: "integer", + exclusiveMinimum: 0, + maximum: 9007199254740991, + }, + idleMs: { + type: "integer", + minimum: 0, + maximum: 9007199254740991, + }, + }, + additionalProperties: false, + }, + streaming: { + anyOf: [ + { + type: "boolean", + }, + { type: "string", enum: ["off", "partial", "block", "progress"], }, - chunkMode: { - type: "string", - enum: ["length", "newline"], + ], + }, + streamMode: { + type: "string", + enum: ["partial", "block", "off"], + }, + draftChunk: { + type: "object", + properties: { + minChars: { + type: "integer", + exclusiveMinimum: 0, + maximum: 9007199254740991, }, - preview: { - type: "object", - properties: { - chunk: { - type: "object", - properties: { - minChars: { - type: "integer", - exclusiveMinimum: 0, - maximum: 9007199254740991, - }, - maxChars: { - type: "integer", - exclusiveMinimum: 0, - maximum: 9007199254740991, - }, - breakPreference: { - anyOf: [ - { - type: "string", - const: "paragraph", - }, - { - type: "string", - const: "newline", - }, - { - type: "string", - const: "sentence", - }, - ], - }, - }, - additionalProperties: false, - }, - }, - additionalProperties: false, + maxChars: { + type: "integer", + exclusiveMinimum: 0, + maximum: 9007199254740991, }, - block: { - type: "object", - properties: { - enabled: { - type: "boolean", + breakPreference: { + anyOf: [ + { + type: "string", + const: "paragraph", }, - coalesce: { - type: "object", - properties: { - minChars: { - type: "integer", - exclusiveMinimum: 0, - maximum: 9007199254740991, - }, - maxChars: { - type: "integer", - exclusiveMinimum: 0, - maximum: 9007199254740991, - }, - idleMs: { - type: "integer", - minimum: 0, - maximum: 9007199254740991, - }, - }, - additionalProperties: false, + { + type: "string", + const: "newline", }, - }, - additionalProperties: false, + { + type: "string", + const: "sentence", + }, + ], }, }, additionalProperties: false, @@ -961,10 +950,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ type: "string", const: "all", }, - { - type: "string", - const: "batched", - }, ], }, dmPolicy: { @@ -974,7 +959,14 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ allowFrom: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, defaultTo: { @@ -993,7 +985,14 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ allowFrom: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, groupEnabled: { @@ -1002,7 +1001,14 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ groupChannels: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, }, @@ -1086,13 +1092,27 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ users: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, roles: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, channels: { @@ -1103,6 +1123,9 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ additionalProperties: { type: "object", properties: { + allow: { + type: "boolean", + }, requireMention: { type: "boolean", }, @@ -1175,13 +1198,27 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ users: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, roles: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, systemPrompt: { @@ -1262,7 +1299,14 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ approvers: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, agentFilter: { @@ -1895,10 +1939,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ type: "string", enum: ["open", "disabled", "allowlist"], }, - contextVisibility: { - type: "string", - enum: ["all", "allowlist", "allowlist_quote"], - }, historyLimit: { type: "integer", minimum: 0, @@ -1931,84 +1971,77 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ exclusiveMinimum: 0, maximum: 9007199254740991, }, - streaming: { + chunkMode: { + type: "string", + enum: ["length", "newline"], + }, + blockStreaming: { + type: "boolean", + }, + blockStreamingCoalesce: { type: "object", properties: { - mode: { + minChars: { + type: "integer", + exclusiveMinimum: 0, + maximum: 9007199254740991, + }, + maxChars: { + type: "integer", + exclusiveMinimum: 0, + maximum: 9007199254740991, + }, + idleMs: { + type: "integer", + minimum: 0, + maximum: 9007199254740991, + }, + }, + additionalProperties: false, + }, + streaming: { + anyOf: [ + { + type: "boolean", + }, + { type: "string", enum: ["off", "partial", "block", "progress"], }, - chunkMode: { - type: "string", - enum: ["length", "newline"], + ], + }, + streamMode: { + type: "string", + enum: ["partial", "block", "off"], + }, + draftChunk: { + type: "object", + properties: { + minChars: { + type: "integer", + exclusiveMinimum: 0, + maximum: 9007199254740991, }, - preview: { - type: "object", - properties: { - chunk: { - type: "object", - properties: { - minChars: { - type: "integer", - exclusiveMinimum: 0, - maximum: 9007199254740991, - }, - maxChars: { - type: "integer", - exclusiveMinimum: 0, - maximum: 9007199254740991, - }, - breakPreference: { - anyOf: [ - { - type: "string", - const: "paragraph", - }, - { - type: "string", - const: "newline", - }, - { - type: "string", - const: "sentence", - }, - ], - }, - }, - additionalProperties: false, - }, - }, - additionalProperties: false, + maxChars: { + type: "integer", + exclusiveMinimum: 0, + maximum: 9007199254740991, }, - block: { - type: "object", - properties: { - enabled: { - type: "boolean", + breakPreference: { + anyOf: [ + { + type: "string", + const: "paragraph", }, - coalesce: { - type: "object", - properties: { - minChars: { - type: "integer", - exclusiveMinimum: 0, - maximum: 9007199254740991, - }, - maxChars: { - type: "integer", - exclusiveMinimum: 0, - maximum: 9007199254740991, - }, - idleMs: { - type: "integer", - minimum: 0, - maximum: 9007199254740991, - }, - }, - additionalProperties: false, + { + type: "string", + const: "newline", }, - }, - additionalProperties: false, + { + type: "string", + const: "sentence", + }, + ], }, }, additionalProperties: false, @@ -2125,10 +2158,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ type: "string", const: "all", }, - { - type: "string", - const: "batched", - }, ], }, dmPolicy: { @@ -2138,7 +2167,14 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ allowFrom: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, defaultTo: { @@ -2157,7 +2193,14 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ allowFrom: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, groupEnabled: { @@ -2166,7 +2209,14 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ groupChannels: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, }, @@ -2250,13 +2300,27 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ users: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, roles: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, channels: { @@ -2267,6 +2331,9 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ additionalProperties: { type: "object", properties: { + allow: { + type: "boolean", + }, requireMention: { type: "boolean", }, @@ -2339,13 +2406,27 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ users: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, roles: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, systemPrompt: { @@ -2426,7 +2507,14 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ approvers: { type: "array", items: { - type: "string", + anyOf: [ + { + type: "string", + }, + { + type: "number", + }, + ], }, }, agentFilter: { @@ -4305,6 +4393,9 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ enabled: { type: "boolean", }, + allow: { + type: "boolean", + }, requireMention: { type: "boolean", }, @@ -4545,6 +4636,11 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ }, additionalProperties: false, }, + streamMode: { + default: "replace", + type: "string", + enum: ["replace", "status_final", "append"], + }, mediaMaxMb: { type: "number", exclusiveMinimum: 0, @@ -4563,10 +4659,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ type: "string", const: "all", }, - { - type: "string", - const: "batched", - }, ], }, actions: { @@ -4683,6 +4775,9 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ enabled: { type: "boolean", }, + allow: { + type: "boolean", + }, requireMention: { type: "boolean", }, @@ -4923,6 +5018,11 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ }, additionalProperties: false, }, + streamMode: { + default: "replace", + type: "string", + enum: ["replace", "status_final", "append"], + }, mediaMaxMb: { type: "number", exclusiveMinimum: 0, @@ -4941,10 +5041,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ type: "string", const: "all", }, - { - type: "string", - const: "batched", - }, ], }, actions: { @@ -5001,7 +5097,7 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ type: "string", }, }, - required: ["groupPolicy"], + required: ["groupPolicy", "streamMode"], additionalProperties: false, }, }, @@ -5009,7 +5105,7 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ type: "string", }, }, - required: ["groupPolicy"], + required: ["groupPolicy", "streamMode"], additionalProperties: false, }, }, @@ -7833,22 +7929,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ tenantId: { type: "string", }, - authType: { - type: "string", - enum: ["secret", "federated"], - }, - certificatePath: { - type: "string", - }, - certificateThumbprint: { - type: "string", - }, - useManagedIdentity: { - type: "boolean", - }, - managedIdentityClientId: { - type: "string", - }, webhook: { type: "object", properties: { @@ -7888,10 +7968,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ type: "string", enum: ["open", "disabled", "allowlist"], }, - contextVisibility: { - type: "string", - enum: ["all", "allowlist", "allowlist_quote"], - }, textChunkLimit: { type: "integer", exclusiveMinimum: 0, @@ -7901,9 +7977,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ type: "string", enum: ["length", "newline"], }, - typingIndicator: { - type: "boolean", - }, blockStreaming: { type: "boolean", }, @@ -8177,33 +8250,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ minimum: 0, maximum: 9007199254740991, }, - delegatedAuth: { - type: "object", - properties: { - enabled: { - type: "boolean", - }, - scopes: { - type: "array", - items: { - type: "string", - }, - }, - }, - additionalProperties: false, - }, - sso: { - type: "object", - properties: { - enabled: { - type: "boolean", - }, - connectionName: { - type: "string", - }, - }, - additionalProperties: false, - }, }, required: ["dmPolicy", "groupPolicy"], additionalProperties: false, @@ -8500,10 +8546,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ minimum: 0, maximum: 9007199254740991, }, - contextVisibility: { - type: "string", - enum: ["all", "allowlist", "allowlist_quote"], - }, dms: { type: "object", propertyNames: { @@ -8841,10 +8883,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ minimum: 0, maximum: 9007199254740991, }, - contextVisibility: { - type: "string", - enum: ["all", "allowlist", "allowlist_quote"], - }, dms: { type: "object", propertyNames: { @@ -14927,10 +14965,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ type: "string", enum: ["open", "disabled", "allowlist"], }, - contextVisibility: { - type: "string", - enum: ["all", "allowlist", "allowlist_quote"], - }, historyLimit: { type: "integer", minimum: 0, @@ -15180,10 +15214,6 @@ export const GENERATED_BUNDLED_CHANNEL_CONFIG_METADATA = [ type: "string", enum: ["open", "disabled", "allowlist"], }, - contextVisibility: { - type: "string", - enum: ["all", "allowlist", "allowlist_quote"], - }, historyLimit: { type: "integer", minimum: 0,