@oxy-hq/sdk 2.5.0 → 2.6.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/README.md +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +206 -10
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +206 -10
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/{react-CVdWXcu8.mjs → react-5HGW_0oy.mjs} +24 -24
- package/dist/react-5HGW_0oy.mjs.map +1 -0
- package/dist/{react-BeweGSYF.cjs → react-BAiiXftp.cjs} +29 -29
- package/dist/react-BAiiXftp.cjs.map +1 -0
- package/dist/{react-BnpR8VRJ.d.mts → react-DnBdQ8dG.d.cts} +16 -16
- package/dist/react-DnBdQ8dG.d.cts.map +1 -0
- package/dist/{react-BnpR8VRJ.d.cts → react-DnBdQ8dG.d.mts} +16 -16
- package/dist/react-DnBdQ8dG.d.mts.map +1 -0
- package/dist/shell.cjs +3 -3
- package/dist/shell.cjs.map +1 -1
- package/dist/shell.d.cts +3 -3
- package/dist/shell.d.mts +3 -3
- package/dist/shell.mjs +3 -3
- package/dist/shell.mjs.map +1 -1
- package/package.json +8 -8
- package/dist/react-BeweGSYF.cjs.map +0 -1
- package/dist/react-BnpR8VRJ.d.cts.map +0 -1
- package/dist/react-BnpR8VRJ.d.mts.map +0 -1
- package/dist/react-CVdWXcu8.mjs.map +0 -1
package/dist/shell.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { a as AppFetcher, n as AgentRunEvent } from "./react-
|
|
2
|
+
import { a as AppFetcher, n as AgentRunEvent } from "./react-DnBdQ8dG.cjs";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
//#region src/shell/AnswerChart.d.ts
|
|
@@ -114,7 +114,7 @@ interface OxyShellProps {
|
|
|
114
114
|
chromeForeground?: string;
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
|
-
* The workspace chrome around a
|
|
117
|
+
* The workspace chrome around a custom app: icon rail + universal top bar
|
|
118
118
|
* + content column — visually identical to the main web-app shell.
|
|
119
119
|
*/
|
|
120
120
|
declare function OxyShell({ children, pageLabel, topBarLeft, topBarExtra, railBottom, hideTopBar, askHotkey, productBaseUrl, className, chromeBackground, chromeForeground }: OxyShellProps): import("react").JSX.Element;
|
|
@@ -246,7 +246,7 @@ interface UseShellContextResult {
|
|
|
246
246
|
error: Error | null;
|
|
247
247
|
}
|
|
248
248
|
/**
|
|
249
|
-
* Fetch the shell bootstrap payload for the current
|
|
249
|
+
* Fetch the shell bootstrap payload for the current custom app. Must be
|
|
250
250
|
* called inside `<OxyAppProvider>`. Failure is non-fatal by design: the
|
|
251
251
|
* shell degrades to chrome-less rendering (older servers don't have the
|
|
252
252
|
* endpoint), so errors are surfaced on the result, never thrown.
|
package/dist/shell.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { a as AppFetcher, n as AgentRunEvent } from "./react-
|
|
2
|
+
import { a as AppFetcher, n as AgentRunEvent } from "./react-DnBdQ8dG.mjs";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
//#region src/shell/AnswerChart.d.ts
|
|
@@ -114,7 +114,7 @@ interface OxyShellProps {
|
|
|
114
114
|
chromeForeground?: string;
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
|
-
* The workspace chrome around a
|
|
117
|
+
* The workspace chrome around a custom app: icon rail + universal top bar
|
|
118
118
|
* + content column — visually identical to the main web-app shell.
|
|
119
119
|
*/
|
|
120
120
|
declare function OxyShell({ children, pageLabel, topBarLeft, topBarExtra, railBottom, hideTopBar, askHotkey, productBaseUrl, className, chromeBackground, chromeForeground }: OxyShellProps): import("react").JSX.Element;
|
|
@@ -246,7 +246,7 @@ interface UseShellContextResult {
|
|
|
246
246
|
error: Error | null;
|
|
247
247
|
}
|
|
248
248
|
/**
|
|
249
|
-
* Fetch the shell bootstrap payload for the current
|
|
249
|
+
* Fetch the shell bootstrap payload for the current custom app. Must be
|
|
250
250
|
* called inside `<OxyAppProvider>`. Failure is non-fatal by design: the
|
|
251
251
|
* shell degrades to chrome-less rendering (older servers don't have the
|
|
252
252
|
* endpoint), so errors are surfaced on the result, never thrown.
|
package/dist/shell.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @oxy/sdk - TypeScript SDK for Oxy data platform
|
|
2
|
-
import { i as useAgentRun, l as useResolvedManifest, o as useOxyApp, t as OxyAnswer, v as getOxyAppLogger } from "./react-
|
|
2
|
+
import { i as useAgentRun, l as useResolvedManifest, o as useOxyApp, t as OxyAnswer, v as getOxyAppLogger } from "./react-5HGW_0oy.mjs";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { Fragment, useEffect, useMemo, useState } from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1782,7 +1782,7 @@ function ShellRail({ top, groups, footerItems, bottom, className }) {
|
|
|
1782
1782
|
//#endregion
|
|
1783
1783
|
//#region src/shell/shellContext.ts
|
|
1784
1784
|
/**
|
|
1785
|
-
* Fetch the shell bootstrap payload for the current
|
|
1785
|
+
* Fetch the shell bootstrap payload for the current custom app. Must be
|
|
1786
1786
|
* called inside `<OxyAppProvider>`. Failure is non-fatal by design: the
|
|
1787
1787
|
* shell degrades to chrome-less rendering (older servers don't have the
|
|
1788
1788
|
* endpoint), so errors are surfaced on the result, never thrown.
|
|
@@ -2049,7 +2049,7 @@ function buildRailGroups(data, currentAppSlug, abs) {
|
|
|
2049
2049
|
return appItems.length ? [[hq, chat], appItems] : [[hq, chat]];
|
|
2050
2050
|
}
|
|
2051
2051
|
/**
|
|
2052
|
-
* The workspace chrome around a
|
|
2052
|
+
* The workspace chrome around a custom app: icon rail + universal top bar
|
|
2053
2053
|
* + content column — visually identical to the main web-app shell.
|
|
2054
2054
|
*/
|
|
2055
2055
|
function OxyShell({ children, pageLabel, topBarLeft, topBarExtra, railBottom, hideTopBar, askHotkey = true, productBaseUrl, className, chromeBackground, chromeForeground }) {
|