json-object-editor 0.10.654 → 0.10.660

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,6 +31,12 @@ var schema = {
31
31
  { name:'messages', type:'objectList' },
32
32
  { name:'last_message_at', type:'string', format:'date-time' },
33
33
  { name:'source', type:'string' },
34
+ // Optional scope for object-scoped chats (Start Chat on an object)
35
+ { name:'scope_itemtype', type:'string' },
36
+ { name:'scope_id', type:'string' },
37
+ // Optional attached OpenAI Files (ids + meta) for this conversation
38
+ { name:'attached_openai_file_ids', type:'string', isArray:true },
39
+ { name:'attached_files_meta', type:'objectList' },
34
40
  { name:'user', type:'string', isReference:true, targetSchema:'user' },
35
41
  { name:'user_name', type:'string' },
36
42
  { name:'user_color', type:'string' },
@@ -176,6 +182,31 @@ var schema = {
176
182
 
177
183
  { section_start: "meta", collapsed: true },
178
184
  "source",
185
+ {
186
+ name:"scope_itemtype",
187
+ type:"text",
188
+ display:"Scope Itemtype",
189
+ comment:"When set, this conversation is scoped to a specific object type (e.g., client, task)."
190
+ },
191
+ {
192
+ name:"scope_id",
193
+ type:"text",
194
+ display:"Scope ID",
195
+ comment:"When set, this conversation is scoped to a specific object _id."
196
+ },
197
+ {
198
+ name:"attached_openai_file_ids",
199
+ type:"text",
200
+ display:"Attached OpenAI File IDs",
201
+ locked:true
202
+ },
203
+ {
204
+ name:"attached_files_meta",
205
+ type:"code",
206
+ display:"Attached Files Meta (JSON)",
207
+ height:"160px",
208
+ comment:"Read-only meta for files attached to this conversation (itemtype, field, name, role, openai_file_id)."
209
+ },
179
210
  "tags",
180
211
  { section_end: "meta" },
181
212