@duct-sdk/sdk 0.3.6 → 0.3.9

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.ts CHANGED
@@ -8,6 +8,8 @@ export { checkShellStatus } from "./core/status.js";
8
8
  export type { ShellStatus, ShellStatusWidget, CheckShellStatusOptions } from "./core/status.js";
9
9
  export { createIntrospectHandler, createIntrospectPageHandler, createIntrospectExpressHandler, } from "./core/introspect.js";
10
10
  export type { IntrospectEntity, IntrospectResult, IntrospectContext, IntrospectResolver, IntrospectHandlerOptions, } from "./core/introspect.js";
11
+ export { SHELL_PRESET_DIMENSIONS, DEFAULT_SHELL_PRESET, SHELL_PANEL_VIEWPORT_INSETS, resolveShellDimensions, fitShellPanelDimensions, } from "./core/types.js";
12
+ export type { ShellPreset, ShellPanelViewportInsets } from "./core/types.js";
11
13
  export type { DuctPageContext } from "./core/types.js";
12
14
  export { useDuctPageContext } from "./adapters/react/use-page-context.js";
13
15
  export type { UseDuctPageContextOptions } from "./adapters/react/use-page-context.js";
package/dist/index.js CHANGED
@@ -15,4 +15,6 @@ export { buildAction, checkActionPermission, buildActionSearchIndex, shouldDefer
15
15
  export { checkShellStatus } from "./core/status.js";
16
16
  // Introspect handler factory (/duct/introspect)
17
17
  export { createIntrospectHandler, createIntrospectPageHandler, createIntrospectExpressHandler, } from "./core/introspect.js";
18
+ // Shell embed layout (presets + viewport fitting)
19
+ export { SHELL_PRESET_DIMENSIONS, DEFAULT_SHELL_PRESET, SHELL_PANEL_VIEWPORT_INSETS, resolveShellDimensions, fitShellPanelDimensions, } from "./core/types.js";
18
20
  export { useDuctPageContext } from "./adapters/react/use-page-context.js";
package/dist/server.d.ts CHANGED
@@ -6,6 +6,10 @@ export { createIntrospectHandler, createIntrospectPageHandler, createIntrospectE
6
6
  export type { IntrospectEntity, IntrospectResult, IntrospectContext, IntrospectResolver, IntrospectHandlerOptions, } from "./core/introspect.js";
7
7
  export { buildAction, checkActionPermission, buildActionSearchIndex, shouldDeferActions, } from "./core/action.js";
8
8
  export type { ActionSearchEntry } from "./core/action.js";
9
+ export { sendIntershellAction, sendIntershellQuery } from "./core/intershell.js";
10
+ export type { IntershellClientOptions, IntershellMessage, IntershellActionResult, } from "./core/intershell.js";
9
11
  export { checkShellStatus } from "./core/status.js";
10
12
  export type { ShellStatus, ShellStatusWidget, CheckShellStatusOptions } from "./core/status.js";
13
+ export { SHELL_PRESET_DIMENSIONS, DEFAULT_SHELL_PRESET, SHELL_PANEL_VIEWPORT_INSETS, resolveShellDimensions, fitShellPanelDimensions, } from "./core/types.js";
14
+ export type { ShellPreset, ShellPanelViewportInsets } from "./core/types.js";
11
15
  export type { DuctConfig, DuctTokenPayload, DeeplinkTokenPayload, ActionManifest, ActionParam, RouteManifest, RouteParam, QueryParam, AuthSchema, AuthStrategy, DeeplinkDefinition, StateField, ShellManifest, ProductConfig, AgentPermissions, AgentPermissionLevel, WidgetConfig, SensitivityLevel, SessionContext, DuctAdapter, ReceiverOptions, } from "./core/types.js";
package/dist/server.js CHANGED
@@ -17,5 +17,9 @@ export { generateDuctToken, verifyDuctToken, generateDeeplinkToken, verifyDeepli
17
17
  export { createIntrospectHandler, createIntrospectPageHandler, createIntrospectExpressHandler, } from "./core/introspect.js";
18
18
  // Action utilities (permission checking, search index)
19
19
  export { buildAction, checkActionPermission, buildActionSearchIndex, shouldDeferActions, } from "./core/action.js";
20
+ // Cross-shell client (IS-29)
21
+ export { sendIntershellAction, sendIntershellQuery } from "./core/intershell.js";
20
22
  // Shell status check (server-side polling)
21
23
  export { checkShellStatus } from "./core/status.js";
24
+ // Shell embed layout (presets + viewport fitting)
25
+ export { SHELL_PRESET_DIMENSIONS, DEFAULT_SHELL_PRESET, SHELL_PANEL_VIEWPORT_INSETS, resolveShellDimensions, fitShellPanelDimensions, } from "./core/types.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duct-sdk/sdk",
3
- "version": "0.3.6",
3
+ "version": "0.3.9",
4
4
  "type": "module",
5
5
  "description": "Duct SDK — A shell (like terminal) that knows when to talk, when to show, and when to hand off.",
6
6
  "main": "dist/index.js",