@objectstack/service-ai 4.1.0 → 4.2.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
@@ -1561,7 +1561,7 @@ declare const AiConversationObject: Omit<{
1561
1561
  addRecord?: {
1562
1562
  enabled: boolean;
1563
1563
  position: "top" | "bottom" | "both";
1564
- mode: "modal" | "inline" | "form";
1564
+ mode: "modal" | "form" | "inline";
1565
1565
  formView?: string | undefined;
1566
1566
  } | undefined;
1567
1567
  showRecordCount?: boolean | undefined;
@@ -1609,6 +1609,7 @@ declare const AiConversationObject: Omit<{
1609
1609
  debounceMs?: number | undefined;
1610
1610
  } | undefined;
1611
1611
  }> | undefined;
1612
+ defaultDetailForm?: string | undefined;
1612
1613
  search?: {
1613
1614
  fields: string[];
1614
1615
  displayFields?: string[] | undefined;
@@ -1632,7 +1633,7 @@ declare const AiConversationObject: Omit<{
1632
1633
  actions?: {
1633
1634
  name: string;
1634
1635
  label: string;
1635
- type: "url" | "flow" | "api" | "script" | "modal";
1636
+ type: "url" | "flow" | "api" | "script" | "modal" | "form";
1636
1637
  refreshAfter: boolean;
1637
1638
  objectName?: string | undefined;
1638
1639
  icon?: string | undefined;
@@ -3478,7 +3479,7 @@ declare const AiMessageObject: Omit<{
3478
3479
  addRecord?: {
3479
3480
  enabled: boolean;
3480
3481
  position: "top" | "bottom" | "both";
3481
- mode: "modal" | "inline" | "form";
3482
+ mode: "modal" | "form" | "inline";
3482
3483
  formView?: string | undefined;
3483
3484
  } | undefined;
3484
3485
  showRecordCount?: boolean | undefined;
@@ -3526,6 +3527,7 @@ declare const AiMessageObject: Omit<{
3526
3527
  debounceMs?: number | undefined;
3527
3528
  } | undefined;
3528
3529
  }> | undefined;
3530
+ defaultDetailForm?: string | undefined;
3529
3531
  search?: {
3530
3532
  fields: string[];
3531
3533
  displayFields?: string[] | undefined;
@@ -3549,7 +3551,7 @@ declare const AiMessageObject: Omit<{
3549
3551
  actions?: {
3550
3552
  name: string;
3551
3553
  label: string;
3552
- type: "url" | "flow" | "api" | "script" | "modal";
3554
+ type: "url" | "flow" | "api" | "script" | "modal" | "form";
3553
3555
  refreshAfter: boolean;
3554
3556
  objectName?: string | undefined;
3555
3557
  icon?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -1561,7 +1561,7 @@ declare const AiConversationObject: Omit<{
1561
1561
  addRecord?: {
1562
1562
  enabled: boolean;
1563
1563
  position: "top" | "bottom" | "both";
1564
- mode: "modal" | "inline" | "form";
1564
+ mode: "modal" | "form" | "inline";
1565
1565
  formView?: string | undefined;
1566
1566
  } | undefined;
1567
1567
  showRecordCount?: boolean | undefined;
@@ -1609,6 +1609,7 @@ declare const AiConversationObject: Omit<{
1609
1609
  debounceMs?: number | undefined;
1610
1610
  } | undefined;
1611
1611
  }> | undefined;
1612
+ defaultDetailForm?: string | undefined;
1612
1613
  search?: {
1613
1614
  fields: string[];
1614
1615
  displayFields?: string[] | undefined;
@@ -1632,7 +1633,7 @@ declare const AiConversationObject: Omit<{
1632
1633
  actions?: {
1633
1634
  name: string;
1634
1635
  label: string;
1635
- type: "url" | "flow" | "api" | "script" | "modal";
1636
+ type: "url" | "flow" | "api" | "script" | "modal" | "form";
1636
1637
  refreshAfter: boolean;
1637
1638
  objectName?: string | undefined;
1638
1639
  icon?: string | undefined;
@@ -3478,7 +3479,7 @@ declare const AiMessageObject: Omit<{
3478
3479
  addRecord?: {
3479
3480
  enabled: boolean;
3480
3481
  position: "top" | "bottom" | "both";
3481
- mode: "modal" | "inline" | "form";
3482
+ mode: "modal" | "form" | "inline";
3482
3483
  formView?: string | undefined;
3483
3484
  } | undefined;
3484
3485
  showRecordCount?: boolean | undefined;
@@ -3526,6 +3527,7 @@ declare const AiMessageObject: Omit<{
3526
3527
  debounceMs?: number | undefined;
3527
3528
  } | undefined;
3528
3529
  }> | undefined;
3530
+ defaultDetailForm?: string | undefined;
3529
3531
  search?: {
3530
3532
  fields: string[];
3531
3533
  displayFields?: string[] | undefined;
@@ -3549,7 +3551,7 @@ declare const AiMessageObject: Omit<{
3549
3551
  actions?: {
3550
3552
  name: string;
3551
3553
  label: string;
3552
- type: "url" | "flow" | "api" | "script" | "modal";
3554
+ type: "url" | "flow" | "api" | "script" | "modal" | "form";
3553
3555
  refreshAfter: boolean;
3554
3556
  objectName?: string | undefined;
3555
3557
  icon?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/service-ai",
3
- "version": "4.1.0",
3
+ "version": "4.2.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",
@@ -15,9 +15,9 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@ai-sdk/provider": "^3.0.10",
18
- "ai": "^6.0.185",
19
- "@objectstack/core": "4.1.0",
20
- "@objectstack/spec": "4.1.0"
18
+ "ai": "^6.0.190",
19
+ "@objectstack/core": "4.2.0",
20
+ "@objectstack/spec": "4.2.0"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "@ai-sdk/anthropic": "^3.0.0",
@@ -43,7 +43,7 @@
43
43
  "@types/node": "^25.9.1",
44
44
  "typescript": "^6.0.3",
45
45
  "vitest": "^4.1.7",
46
- "@objectstack/platform-objects": "4.1.0"
46
+ "@objectstack/platform-objects": "4.2.0"
47
47
  },
48
48
  "keywords": [
49
49
  "objectstack",