@opencxh/domain 1.151.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.
@@ -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
- * Shell-absolute in-product route, including the `/apps/<app>` prefix — the
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
- * Follow it with the **kernel** router (`sdk` from `@opencxh/app-sdk`), not an
79
- * app's own: `createApp().router.navigate` prefixes the calling app's id, which
80
- * would turn `/apps/kb/…` into `/apps/ai/apps/kb/…`.
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 of its own — a memory item, for instance —
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/domain",
3
- "version": "1.151.0",
3
+ "version": "1.152.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",