|
|
@@ -176,7 +176,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
],
|
|
|
replaceRisk: 'none',
|
|
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'conversation.chat.assistant-actions\', () => ctx.slots.register(\n { name: \'conversation.chat.assistant-actions\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
|
- source: 'packages/client/ui-chat/src/client/contract/slots.ts:217',
|
|
|
+ source: 'packages/client/ui-chat/src/client/contract/slots.ts:219',
|
|
|
},
|
|
|
{
|
|
|
key: 'conversation.chat.commandview',
|
|
|
@@ -224,7 +224,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
occupants: [],
|
|
|
replaceRisk: 'none',
|
|
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'conversation.chat.commandview\', () => ctx.slots.register(\n { name: \'conversation.chat.commandview\', key: \'<one key the owner dispatches>\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
|
- source: 'packages/client/ui-chat/src/client/contract/slots.ts:205',
|
|
|
+ source: 'packages/client/ui-chat/src/client/contract/slots.ts:207',
|
|
|
},
|
|
|
{
|
|
|
key: 'conversation.chat.node',
|
|
|
@@ -293,7 +293,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
],
|
|
|
replaceRisk: 'shadows-shipped-ui',
|
|
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'conversation.chat.node\', () => ctx.slots.register(\n { name: \'conversation.chat.node\', key: \'<one key the owner dispatches>\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
|
- source: 'packages/client/ui-chat/src/client/contract/slots.ts:186',
|
|
|
+ source: 'packages/client/ui-chat/src/client/contract/slots.ts:188',
|
|
|
},
|
|
|
{
|
|
|
key: 'conversation.chat.turnTail',
|
|
|
@@ -341,7 +341,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
],
|
|
|
replaceRisk: 'none',
|
|
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'conversation.chat.turnTail\', () => ctx.slots.register(\n { name: \'conversation.chat.turnTail\', select: owner => null },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
|
- source: 'packages/client/ui-chat/src/client/contract/slots.ts:211',
|
|
|
+ source: 'packages/client/ui-chat/src/client/contract/slots.ts:213',
|
|
|
},
|
|
|
{
|
|
|
key: 'conversation.composer',
|
|
|
@@ -1049,7 +1049,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
],
|
|
|
replaceRisk: 'shadows-shipped-ui',
|
|
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'conversation.message.images\', () => ctx.slots.register(\n { name: \'conversation.message.images\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
|
- source: 'packages/client/ui-chat/src/client/contract/slots.ts:199',
|
|
|
+ source: 'packages/client/ui-chat/src/client/contract/slots.ts:201',
|
|
|
},
|
|
|
{
|
|
|
key: 'conversation.session',
|