@opencxh/domain 1.150.0 → 1.152.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/entities/ai-budget/index.d.ts +1 -0
- package/dist/entities/ai-budget/types.d.ts +130 -0
- package/dist/entities/communication/message-template.d.ts +13 -0
- package/dist/index.cjs +8 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.js +416 -396
- package/dist/platform/ai-tools.d.ts +12 -6
- package/package.json +1 -1
|
@@ -72,14 +72,20 @@ export interface ToolSource {
|
|
|
72
72
|
/** A second line: a snippet, a date, an author. */
|
|
73
73
|
detail?: string;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
76
|
-
* source may well belong to a different app than the one showing it.
|
|
75
|
+
* Where to open this source. Two forms, told apart by their first character:
|
|
77
76
|
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
77
|
+
* - **`/…`** — a shell-absolute in-product route, including the `/apps/<app>`
|
|
78
|
+
* prefix, since the source may well belong to a different app than the one
|
|
79
|
+
* showing it. Follow it with the **kernel** router (`sdk` from
|
|
80
|
+
* `@opencxh/app-sdk`), not an app's own: `createApp().router.navigate`
|
|
81
|
+
* prefixes the calling app's id, which would turn `/apps/kb/…` into
|
|
82
|
+
* `/apps/ai/apps/kb/…`.
|
|
83
|
+
* - **`http(s)://…`** — somewhere outside the platform, opened in a new tab.
|
|
84
|
+
* A Shopify order lives in Shopify's admin and nowhere here; pretending
|
|
85
|
+
* otherwise would mean either a dead in-product link or dropping the only
|
|
86
|
+
* address the thing has.
|
|
81
87
|
*
|
|
82
|
-
* Absent when the thing has no page
|
|
88
|
+
* Absent when the thing has no page at all — a memory item, for instance —
|
|
83
89
|
* which is a reason to show it without a link, not a reason to hide it.
|
|
84
90
|
*/
|
|
85
91
|
url?: string;
|