@opengeni/core 4.4.1 → 4.5.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/{chunk-R5FLZL3D.js → chunk-QHQCVWRA.js} +2 -2
- package/dist/{chunk-C3BPQGEH.js → chunk-U3SWQHVX.js} +2 -2
- package/dist/{chunk-DMVCCCCX.js → chunk-WZ46UWNS.js} +101 -101
- package/dist/{chunk-DMVCCCCX.js.map → chunk-WZ46UWNS.js.map} +1 -1
- package/dist/domain/capabilities.d.ts +11 -0
- package/dist/editable-artifact-live.js +2 -2
- package/dist/editable-artifacts.js +2 -2
- package/dist/goal-admission.d.ts +2 -0
- package/dist/index.js +40 -32
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
- package/src/domain/capabilities.ts +18 -3
- /package/dist/{chunk-R5FLZL3D.js.map → chunk-QHQCVWRA.js.map} +0 -0
- /package/dist/{chunk-C3BPQGEH.js.map → chunk-U3SWQHVX.js.map} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeni/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "Opengeni framework-agnostic core: the domain, access, and billing layers (neutral access, off-HTTP V2 surface). Behavior-preserving extraction from apps/api — keeps Hono's HTTPException for error throwing (typed-errors cleanup deferred).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@modelcontextprotocol/client": "2.3.1",
|
|
53
53
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
54
|
-
"@opengeni/capabilities": "4.
|
|
55
|
-
"@opengeni/codex": "4.
|
|
56
|
-
"@opengeni/config": "4.
|
|
57
|
-
"@opengeni/contracts": "4.
|
|
58
|
-
"@opengeni/db": "4.
|
|
59
|
-
"@opengeni/documents": "4.
|
|
60
|
-
"@opengeni/events": "4.
|
|
61
|
-
"@opengeni/network": "4.
|
|
62
|
-
"@opengeni/observability": "4.
|
|
63
|
-
"@opengeni/runtime": "4.
|
|
64
|
-
"@opengeni/storage": "4.
|
|
65
|
-
"@opengeni/vaults": "4.
|
|
54
|
+
"@opengeni/capabilities": "4.5.0",
|
|
55
|
+
"@opengeni/codex": "4.5.0",
|
|
56
|
+
"@opengeni/config": "4.5.0",
|
|
57
|
+
"@opengeni/contracts": "4.5.0",
|
|
58
|
+
"@opengeni/db": "4.5.0",
|
|
59
|
+
"@opengeni/documents": "4.5.0",
|
|
60
|
+
"@opengeni/events": "4.5.0",
|
|
61
|
+
"@opengeni/network": "4.5.0",
|
|
62
|
+
"@opengeni/observability": "4.5.0",
|
|
63
|
+
"@opengeni/runtime": "4.5.0",
|
|
64
|
+
"@opengeni/storage": "4.5.0",
|
|
65
|
+
"@opengeni/vaults": "4.5.0",
|
|
66
66
|
"hono": "^4.12.18",
|
|
67
67
|
"zod": "^4.2.1"
|
|
68
68
|
},
|
|
@@ -1668,6 +1668,20 @@ function onePasswordCatalogItem(connections: ConnectionMetadata[]): CapabilityCa
|
|
|
1668
1668
|
});
|
|
1669
1669
|
}
|
|
1670
1670
|
|
|
1671
|
+
/** How people and agents name the deployment's Chrome extension, and where it is installed. */
|
|
1672
|
+
export type BrowserExtension = { name: string; installUrl: string };
|
|
1673
|
+
|
|
1674
|
+
/** The deployment's configured Chrome extension, else Opengeni Browser. */
|
|
1675
|
+
export function browserExtension(settings: {
|
|
1676
|
+
browserExtensionName?: string | undefined;
|
|
1677
|
+
browserExtensionInstallUrl?: string | undefined;
|
|
1678
|
+
}): BrowserExtension {
|
|
1679
|
+
return {
|
|
1680
|
+
name: settings.browserExtensionName ?? "Opengeni Browser",
|
|
1681
|
+
installUrl: settings.browserExtensionInstallUrl ?? OPENGENI_BROWSER_EXTENSION_URL,
|
|
1682
|
+
};
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1671
1685
|
/** The catalog id of the Excel add-in tile and its in-chat install card. */
|
|
1672
1686
|
export const EXCEL_ADDIN_CAPABILITY_ID = "api:excel-addin";
|
|
1673
1687
|
|
|
@@ -1793,8 +1807,9 @@ export const CONNECTED_MACHINE_CAPABILITY_ID = "api:connected-machine";
|
|
|
1793
1807
|
export { OPENGENI_BROWSER_EXTENSION_URL };
|
|
1794
1808
|
|
|
1795
1809
|
export function nativeConnectionCapabilityRecommendations(
|
|
1796
|
-
options: { connectedMachines?: boolean } = {},
|
|
1810
|
+
options: { connectedMachines?: boolean; browserExtension?: BrowserExtension } = {},
|
|
1797
1811
|
): CapabilityCatalogItem[] {
|
|
1812
|
+
const extensionUrl = options.browserExtension?.installUrl ?? OPENGENI_BROWSER_EXTENSION_URL;
|
|
1798
1813
|
const items = [
|
|
1799
1814
|
CapabilityCatalogItem.parse({
|
|
1800
1815
|
id: "api:github-app",
|
|
@@ -1865,7 +1880,7 @@ export function nativeConnectionCapabilityRecommendations(
|
|
|
1865
1880
|
tools: [{ kind: "mcp", id: "opengeni" }],
|
|
1866
1881
|
runtime: {
|
|
1867
1882
|
available: true,
|
|
1868
|
-
notes: `The person sets up their machine from the chat card. The Chrome browser extension (${
|
|
1883
|
+
notes: `The person sets up their machine from the chat card. The Chrome browser extension (${extensionUrl}) works only after the machine is connected.`,
|
|
1869
1884
|
},
|
|
1870
1885
|
lifecycle: {
|
|
1871
1886
|
status: "available",
|
|
@@ -1882,7 +1897,7 @@ export function nativeConnectionCapabilityRecommendations(
|
|
|
1882
1897
|
"connected_machine_enroll_token",
|
|
1883
1898
|
"connected_machine_enable_screen_control",
|
|
1884
1899
|
],
|
|
1885
|
-
browserExtensionUrl:
|
|
1900
|
+
browserExtensionUrl: extensionUrl,
|
|
1886
1901
|
recommendationOnly: true,
|
|
1887
1902
|
},
|
|
1888
1903
|
}),
|
|
File without changes
|
|
File without changes
|