@objectstack/service-ai 6.9.0 → 7.0.0

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.
package/dist/index.d.cts CHANGED
@@ -2324,7 +2324,7 @@ declare const AiConversationObject: Omit<{
2324
2324
  refreshAfter: boolean;
2325
2325
  objectName?: string | undefined;
2326
2326
  icon?: string | undefined;
2327
- locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
2327
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
2328
2328
  component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
2329
2329
  target?: string | undefined;
2330
2330
  body?: {
@@ -2357,6 +2357,17 @@ declare const AiConversationObject: Omit<{
2357
2357
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
2358
2358
  confirmText?: string | undefined;
2359
2359
  successMessage?: string | undefined;
2360
+ resultDialog?: {
2361
+ title?: string | undefined;
2362
+ description?: string | undefined;
2363
+ acknowledge?: string | undefined;
2364
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
2365
+ fields?: {
2366
+ path: string;
2367
+ label?: string | undefined;
2368
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
2369
+ }[] | undefined;
2370
+ } | undefined;
2360
2371
  visible?: {
2361
2372
  dialect: "cel" | "js" | "cron" | "template";
2362
2373
  source?: string | undefined;
@@ -4268,7 +4279,7 @@ declare const AiMessageObject: Omit<{
4268
4279
  refreshAfter: boolean;
4269
4280
  objectName?: string | undefined;
4270
4281
  icon?: string | undefined;
4271
- locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
4282
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
4272
4283
  component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
4273
4284
  target?: string | undefined;
4274
4285
  body?: {
@@ -4301,6 +4312,17 @@ declare const AiMessageObject: Omit<{
4301
4312
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
4302
4313
  confirmText?: string | undefined;
4303
4314
  successMessage?: string | undefined;
4315
+ resultDialog?: {
4316
+ title?: string | undefined;
4317
+ description?: string | undefined;
4318
+ acknowledge?: string | undefined;
4319
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
4320
+ fields?: {
4321
+ path: string;
4322
+ label?: string | undefined;
4323
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
4324
+ }[] | undefined;
4325
+ } | undefined;
4304
4326
  visible?: {
4305
4327
  dialect: "cel" | "js" | "cron" | "template";
4306
4328
  source?: string | undefined;
@@ -6207,7 +6229,7 @@ declare const AiTraceObject: Omit<{
6207
6229
  refreshAfter: boolean;
6208
6230
  objectName?: string | undefined;
6209
6231
  icon?: string | undefined;
6210
- locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
6232
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
6211
6233
  component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
6212
6234
  target?: string | undefined;
6213
6235
  body?: {
@@ -6240,6 +6262,17 @@ declare const AiTraceObject: Omit<{
6240
6262
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
6241
6263
  confirmText?: string | undefined;
6242
6264
  successMessage?: string | undefined;
6265
+ resultDialog?: {
6266
+ title?: string | undefined;
6267
+ description?: string | undefined;
6268
+ acknowledge?: string | undefined;
6269
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
6270
+ fields?: {
6271
+ path: string;
6272
+ label?: string | undefined;
6273
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
6274
+ }[] | undefined;
6275
+ } | undefined;
6243
6276
  visible?: {
6244
6277
  dialect: "cel" | "js" | "cron" | "template";
6245
6278
  source?: string | undefined;
@@ -9745,6 +9778,7 @@ declare const AiTraceView: {
9745
9778
  collapsed: boolean;
9746
9779
  columns: 1 | 2 | 3 | 4;
9747
9780
  fields: any[];
9781
+ name?: string | undefined;
9748
9782
  label?: string | undefined;
9749
9783
  description?: string | undefined;
9750
9784
  visibleOn?: {
@@ -9770,6 +9804,7 @@ declare const AiTraceView: {
9770
9804
  collapsed: boolean;
9771
9805
  columns: 1 | 2 | 3 | 4;
9772
9806
  fields: any[];
9807
+ name?: string | undefined;
9773
9808
  label?: string | undefined;
9774
9809
  description?: string | undefined;
9775
9810
  visibleOn?: {
@@ -10093,6 +10128,7 @@ declare const AiTraceView: {
10093
10128
  collapsed: boolean;
10094
10129
  columns: 1 | 2 | 3 | 4;
10095
10130
  fields: any[];
10131
+ name?: string | undefined;
10096
10132
  label?: string | undefined;
10097
10133
  description?: string | undefined;
10098
10134
  visibleOn?: {
@@ -10118,6 +10154,7 @@ declare const AiTraceView: {
10118
10154
  collapsed: boolean;
10119
10155
  columns: 1 | 2 | 3 | 4;
10120
10156
  fields: any[];
10157
+ name?: string | undefined;
10121
10158
  label?: string | undefined;
10122
10159
  description?: string | undefined;
10123
10160
  visibleOn?: {
package/dist/index.d.ts CHANGED
@@ -2324,7 +2324,7 @@ declare const AiConversationObject: Omit<{
2324
2324
  refreshAfter: boolean;
2325
2325
  objectName?: string | undefined;
2326
2326
  icon?: string | undefined;
2327
- locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
2327
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
2328
2328
  component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
2329
2329
  target?: string | undefined;
2330
2330
  body?: {
@@ -2357,6 +2357,17 @@ declare const AiConversationObject: Omit<{
2357
2357
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
2358
2358
  confirmText?: string | undefined;
2359
2359
  successMessage?: string | undefined;
2360
+ resultDialog?: {
2361
+ title?: string | undefined;
2362
+ description?: string | undefined;
2363
+ acknowledge?: string | undefined;
2364
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
2365
+ fields?: {
2366
+ path: string;
2367
+ label?: string | undefined;
2368
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
2369
+ }[] | undefined;
2370
+ } | undefined;
2360
2371
  visible?: {
2361
2372
  dialect: "cel" | "js" | "cron" | "template";
2362
2373
  source?: string | undefined;
@@ -4268,7 +4279,7 @@ declare const AiMessageObject: Omit<{
4268
4279
  refreshAfter: boolean;
4269
4280
  objectName?: string | undefined;
4270
4281
  icon?: string | undefined;
4271
- locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
4282
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
4272
4283
  component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
4273
4284
  target?: string | undefined;
4274
4285
  body?: {
@@ -4301,6 +4312,17 @@ declare const AiMessageObject: Omit<{
4301
4312
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
4302
4313
  confirmText?: string | undefined;
4303
4314
  successMessage?: string | undefined;
4315
+ resultDialog?: {
4316
+ title?: string | undefined;
4317
+ description?: string | undefined;
4318
+ acknowledge?: string | undefined;
4319
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
4320
+ fields?: {
4321
+ path: string;
4322
+ label?: string | undefined;
4323
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
4324
+ }[] | undefined;
4325
+ } | undefined;
4304
4326
  visible?: {
4305
4327
  dialect: "cel" | "js" | "cron" | "template";
4306
4328
  source?: string | undefined;
@@ -6207,7 +6229,7 @@ declare const AiTraceObject: Omit<{
6207
6229
  refreshAfter: boolean;
6208
6230
  objectName?: string | undefined;
6209
6231
  icon?: string | undefined;
6210
- locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
6232
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
6211
6233
  component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
6212
6234
  target?: string | undefined;
6213
6235
  body?: {
@@ -6240,6 +6262,17 @@ declare const AiTraceObject: Omit<{
6240
6262
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
6241
6263
  confirmText?: string | undefined;
6242
6264
  successMessage?: string | undefined;
6265
+ resultDialog?: {
6266
+ title?: string | undefined;
6267
+ description?: string | undefined;
6268
+ acknowledge?: string | undefined;
6269
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
6270
+ fields?: {
6271
+ path: string;
6272
+ label?: string | undefined;
6273
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
6274
+ }[] | undefined;
6275
+ } | undefined;
6243
6276
  visible?: {
6244
6277
  dialect: "cel" | "js" | "cron" | "template";
6245
6278
  source?: string | undefined;
@@ -9745,6 +9778,7 @@ declare const AiTraceView: {
9745
9778
  collapsed: boolean;
9746
9779
  columns: 1 | 2 | 3 | 4;
9747
9780
  fields: any[];
9781
+ name?: string | undefined;
9748
9782
  label?: string | undefined;
9749
9783
  description?: string | undefined;
9750
9784
  visibleOn?: {
@@ -9770,6 +9804,7 @@ declare const AiTraceView: {
9770
9804
  collapsed: boolean;
9771
9805
  columns: 1 | 2 | 3 | 4;
9772
9806
  fields: any[];
9807
+ name?: string | undefined;
9773
9808
  label?: string | undefined;
9774
9809
  description?: string | undefined;
9775
9810
  visibleOn?: {
@@ -10093,6 +10128,7 @@ declare const AiTraceView: {
10093
10128
  collapsed: boolean;
10094
10129
  columns: 1 | 2 | 3 | 4;
10095
10130
  fields: any[];
10131
+ name?: string | undefined;
10096
10132
  label?: string | undefined;
10097
10133
  description?: string | undefined;
10098
10134
  visibleOn?: {
@@ -10118,6 +10154,7 @@ declare const AiTraceView: {
10118
10154
  collapsed: boolean;
10119
10155
  columns: 1 | 2 | 3 | 4;
10120
10156
  fields: any[];
10157
+ name?: string | undefined;
10121
10158
  label?: string | undefined;
10122
10159
  description?: string | undefined;
10123
10160
  visibleOn?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/service-ai",
3
- "version": "6.9.0",
3
+ "version": "7.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "AI Service for ObjectStack — implements IAIService with LLM adapter layer, conversation management, tool registry, and REST/SSE routes",
6
6
  "type": "module",
@@ -17,15 +17,15 @@
17
17
  "@ai-sdk/provider": "^3.0.10",
18
18
  "ai": "^6.0.191",
19
19
  "zod": "^4.4.3",
20
- "@objectstack/core": "6.9.0",
21
- "@objectstack/spec": "6.9.0"
20
+ "@objectstack/core": "7.0.0",
21
+ "@objectstack/spec": "7.0.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@ai-sdk/anthropic": "^3.0.0",
25
25
  "@ai-sdk/gateway": "^3.0.0",
26
26
  "@ai-sdk/google": "^3.0.0",
27
27
  "@ai-sdk/openai": "^3.0.0",
28
- "@objectstack/embedder-openai": "^6.9.0"
28
+ "@objectstack/embedder-openai": "^7.0.0"
29
29
  },
30
30
  "peerDependenciesMeta": {
31
31
  "@ai-sdk/anthropic": {
@@ -48,8 +48,8 @@
48
48
  "@types/node": "^25.9.1",
49
49
  "typescript": "^6.0.3",
50
50
  "vitest": "^4.1.7",
51
- "@objectstack/embedder-openai": "6.9.0",
52
- "@objectstack/platform-objects": "6.9.0"
51
+ "@objectstack/embedder-openai": "7.0.0",
52
+ "@objectstack/platform-objects": "7.0.0"
53
53
  },
54
54
  "keywords": [
55
55
  "objectstack",