@kortix/sdk 0.13.49 → 0.13.50

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.
Files changed (87) hide show
  1. package/dist/core/client/kortix.d.ts +4 -0
  2. package/dist/core/client/kortix.d.ts.map +1 -1
  3. package/dist/core/client/project-core.d.ts.map +1 -1
  4. package/dist/core/client/session-actions-security.d.ts +2 -0
  5. package/dist/core/client/session-actions-security.d.ts.map +1 -1
  6. package/dist/core/client/session-handle.d.ts +2 -0
  7. package/dist/core/client/session-handle.d.ts.map +1 -1
  8. package/dist/core/http/auth.d.ts +3 -2
  9. package/dist/core/http/auth.d.ts.map +1 -1
  10. package/dist/core/http/auth.js +2 -1
  11. package/dist/core/http/auth.js.map +1 -1
  12. package/dist/core/rest/platform-client/connector-setup.d.ts +91 -0
  13. package/dist/core/rest/platform-client/connector-setup.d.ts.map +1 -0
  14. package/dist/core/rest/platform-client/connector-setup.js +171 -0
  15. package/dist/core/rest/platform-client/connector-setup.js.map +1 -0
  16. package/dist/core/rest/platform-client/host-boundary.d.ts +15 -3
  17. package/dist/core/rest/platform-client/host-boundary.d.ts.map +1 -1
  18. package/dist/core/rest/platform-client/host-boundary.js +19 -30
  19. package/dist/core/rest/platform-client/host-boundary.js.map +1 -1
  20. package/dist/core/rest/platform-client/index.d.ts +1 -0
  21. package/dist/core/rest/platform-client/index.d.ts.map +1 -1
  22. package/dist/core/rest/platform-client/index.js +1 -0
  23. package/dist/core/rest/platform-client/index.js.map +1 -1
  24. package/dist/core/rest/platform-client/lifecycle.d.ts +5 -0
  25. package/dist/core/rest/platform-client/lifecycle.d.ts.map +1 -1
  26. package/dist/core/rest/platform-client/lifecycle.js +6 -25
  27. package/dist/core/rest/platform-client/lifecycle.js.map +1 -1
  28. package/dist/core/rest/platform-client/shared.d.ts +0 -7
  29. package/dist/core/rest/platform-client/shared.d.ts.map +1 -1
  30. package/dist/core/rest/platform-client/shared.js +2 -8
  31. package/dist/core/rest/platform-client/shared.js.map +1 -1
  32. package/dist/core/rest/projects-client/account-secret-resources.d.ts +7 -0
  33. package/dist/core/rest/projects-client/account-secret-resources.d.ts.map +1 -1
  34. package/dist/core/rest/projects-client/account-secret-resources.js.map +1 -1
  35. package/dist/core/rest/projects-client/accounts.d.ts +3 -0
  36. package/dist/core/rest/projects-client/accounts.d.ts.map +1 -1
  37. package/dist/core/rest/projects-client/accounts.js.map +1 -1
  38. package/dist/core/rest/projects-client/model-defaults.d.ts +2 -2
  39. package/dist/core/rest/projects-client/model-defaults.d.ts.map +1 -1
  40. package/dist/core/rest/projects-client/projects.d.ts +15 -4
  41. package/dist/core/rest/projects-client/projects.d.ts.map +1 -1
  42. package/dist/core/rest/projects-client/projects.js.map +1 -1
  43. package/dist/core/rest/projects-client/session-sandbox.d.ts +3 -1
  44. package/dist/core/rest/projects-client/session-sandbox.d.ts.map +1 -1
  45. package/dist/core/rest/projects-client/session-sandbox.js.map +1 -1
  46. package/dist/core/rest/projects-client/sessions.d.ts +51 -4
  47. package/dist/core/rest/projects-client/sessions.d.ts.map +1 -1
  48. package/dist/core/rest/projects-client/sessions.js +27 -0
  49. package/dist/core/rest/projects-client/sessions.js.map +1 -1
  50. package/dist/core/runtime/runtime-rest-client.d.ts +5 -0
  51. package/dist/core/runtime/runtime-rest-client.d.ts.map +1 -1
  52. package/dist/core/runtime/runtime-rest-client.js +2 -0
  53. package/dist/core/runtime/runtime-rest-client.js.map +1 -1
  54. package/dist/core/session/presentation.d.ts +10 -2
  55. package/dist/core/session/presentation.d.ts.map +1 -1
  56. package/dist/core/session/presentation.js +13 -4
  57. package/dist/core/session/presentation.js.map +1 -1
  58. package/dist/core/session/wire-message-id.d.ts +6 -7
  59. package/dist/core/session/wire-message-id.d.ts.map +1 -1
  60. package/dist/core/session/wire-message-id.js +6 -7
  61. package/dist/core/session/wire-message-id.js.map +1 -1
  62. package/dist/core/stream/fetch-sse.d.ts +7 -3
  63. package/dist/core/stream/fetch-sse.d.ts.map +1 -1
  64. package/dist/core/stream/fetch-sse.js +10 -11
  65. package/dist/core/stream/fetch-sse.js.map +1 -1
  66. package/dist/kortix.esm.min.js +33 -33
  67. package/dist/kortix.global.js +26 -26
  68. package/dist/react/connector-setup.d.ts +48 -0
  69. package/dist/react/connector-setup.d.ts.map +1 -0
  70. package/dist/react/connector-setup.js +173 -0
  71. package/dist/react/connector-setup.js.map +1 -0
  72. package/dist/react/index.d.ts +2 -0
  73. package/dist/react/index.d.ts.map +1 -1
  74. package/dist/react/index.js +10 -0
  75. package/dist/react/index.js.map +1 -1
  76. package/dist/react/use-opencode-sessions/sessions.d.ts +9 -0
  77. package/dist/react/use-opencode-sessions/sessions.d.ts.map +1 -1
  78. package/dist/react/use-opencode-sessions/sessions.js +34 -0
  79. package/dist/react/use-opencode-sessions/sessions.js.map +1 -1
  80. package/dist/react/use-project-apps.d.ts +2 -2
  81. package/dist/react/use-provider-secrets.d.ts +18 -0
  82. package/dist/react/use-provider-secrets.d.ts.map +1 -1
  83. package/dist/react/use-sandbox-image.d.ts +52 -0
  84. package/dist/react/use-sandbox-image.d.ts.map +1 -0
  85. package/dist/react/use-sandbox-image.js +144 -0
  86. package/dist/react/use-sandbox-image.js.map +1 -0
  87. package/package.json +2 -2
@@ -0,0 +1,144 @@
1
+ import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
2
+ import { authenticatedFetch, getAuthToken } from '../core/http/auth.js';
3
+ /** Images at or below this size auto-load; larger ones wait for a tap. */
4
+ export const IMAGE_AUTO_LOAD_LIMIT_BYTES = 8 * 1024 * 1024;
5
+ export function decideImageLoad({ contentLength, limitBytes, }) {
6
+ if (contentLength === null)
7
+ return 'load';
8
+ return contentLength > limitBytes ? 'tap-to-load' : 'load';
9
+ }
10
+ /** Parses a `content-length` header value. Returns null when absent or invalid. */
11
+ export function parseContentLength(header) {
12
+ if (header === null)
13
+ return null;
14
+ const trimmed = header.trim();
15
+ if (!/^\d+$/.test(trimmed))
16
+ return null;
17
+ const value = Number(trimmed);
18
+ return Number.isSafeInteger(value) ? value : null;
19
+ }
20
+ /** "8.5 MB" below 10 MB, "25 MB" from 10 MB up. */
21
+ export function formatMegabytes(bytes) {
22
+ const mb = bytes / (1024 * 1024);
23
+ return mb < 10 ? `${mb.toFixed(1)} MB` : `${Math.round(mb)} MB`;
24
+ }
25
+ /** Bounded least-recently-used cache of HEAD probe results keyed by raw file URL. */
26
+ export function createProbeCache(limit) {
27
+ const entries = new Map();
28
+ return {
29
+ has: (url) => entries.has(url),
30
+ get(url) {
31
+ if (!entries.has(url))
32
+ return undefined;
33
+ const value = entries.get(url);
34
+ entries.delete(url);
35
+ entries.set(url, value);
36
+ return value;
37
+ },
38
+ set(url, contentLength) {
39
+ entries.delete(url);
40
+ entries.set(url, contentLength);
41
+ while (entries.size > limit) {
42
+ const oldest = entries.keys().next().value;
43
+ if (oldest === undefined)
44
+ break;
45
+ entries.delete(oldest);
46
+ }
47
+ },
48
+ size: () => entries.size,
49
+ };
50
+ }
51
+ // The sandbox daemon serves HEAD through its GET handler and reads the whole
52
+ // file, so each URL is probed once per app session, not on every cell remount.
53
+ const imageProbeCache = createProbeCache(200);
54
+ /**
55
+ * The sandbox-image load state, moved from `apps/mobile`'s hook: the SDK owns
56
+ * the raw-file URL, the HEAD probe, the auth headers, the size gate, the probe
57
+ * cache and the one fresh-token retry. The host binds the sandbox origin and
58
+ * the native image events (`onError` → `handleError`, remount on `attempt`).
59
+ *
60
+ * The probe is a HEAD through `authenticatedFetch` — the one configured
61
+ * token/header seam, so no host builds a second one. Behavior kept explicit
62
+ * from the mobile hook it replaces: without a token the seam sends nothing
63
+ * (synthetic 401) and the length reads as unknown, so the native loader still
64
+ * runs unauthenticated; `retryOnAuthError: false` keeps a 401 probe an unknown
65
+ * length (no probe-level retry — the native image load is the retry);
66
+ * `timeoutMs: null` keeps the probe deadline-free, as before.
67
+ */
68
+ export function useSandboxImage({ sandboxUrl, filePath, enabled, }) {
69
+ const rawUrl = sandboxUrl && filePath ? `${sandboxUrl}/file/raw?path=${encodeURIComponent(filePath)}` : null;
70
+ const [phase, setPhase] = useState('probing');
71
+ const [token, setToken] = useState(null);
72
+ const [sizeBytes, setSizeBytes] = useState(null);
73
+ // Bumped on retry so the host's Image remounts and requests the file again.
74
+ const [attempt, setAttempt] = useState(0);
75
+ const retriedRef = useRef(false);
76
+ const aliveRef = useRef(true);
77
+ useEffect(() => {
78
+ aliveRef.current = true;
79
+ return () => {
80
+ aliveRef.current = false;
81
+ };
82
+ }, []);
83
+ useEffect(() => {
84
+ if (!enabled || !rawUrl)
85
+ return;
86
+ const controller = new AbortController();
87
+ let cancelled = false;
88
+ retriedRef.current = false;
89
+ setPhase('probing');
90
+ (async () => {
91
+ const authToken = await getAuthToken().catch(() => null);
92
+ if (cancelled)
93
+ return;
94
+ let contentLength = null;
95
+ if (imageProbeCache.has(rawUrl)) {
96
+ contentLength = imageProbeCache.get(rawUrl) ?? null;
97
+ }
98
+ else {
99
+ try {
100
+ const res = await authenticatedFetch(rawUrl, { method: 'HEAD', signal: controller.signal }, { retryOnAuthError: false, timeoutMs: null });
101
+ if (res.ok) {
102
+ contentLength = parseContentLength(res.headers.get('content-length'));
103
+ imageProbeCache.set(rawUrl, contentLength);
104
+ }
105
+ }
106
+ catch {
107
+ // Unknown length: let the native loader try; onError handles failures.
108
+ }
109
+ }
110
+ if (cancelled)
111
+ return;
112
+ setToken(authToken);
113
+ setSizeBytes(contentLength);
114
+ setPhase(decideImageLoad({ contentLength, limitBytes: IMAGE_AUTO_LOAD_LIMIT_BYTES }));
115
+ })();
116
+ return () => {
117
+ cancelled = true;
118
+ controller.abort();
119
+ };
120
+ }, [enabled, rawUrl]);
121
+ const loadAnyway = useCallback(() => setPhase('load'), []);
122
+ // First native failure: retry once with a fresh token (the cached one may
123
+ // have expired). Second failure: show the error fallback.
124
+ const handleError = useCallback(() => {
125
+ if (retriedRef.current) {
126
+ setPhase('error');
127
+ return;
128
+ }
129
+ retriedRef.current = true;
130
+ getAuthToken()
131
+ .catch(() => null)
132
+ .then((fresh) => {
133
+ if (!aliveRef.current)
134
+ return;
135
+ setToken(fresh);
136
+ setAttempt((n) => n + 1);
137
+ });
138
+ }, []);
139
+ const source = useMemo(() => rawUrl
140
+ ? { uri: rawUrl, headers: token ? { Authorization: `Bearer ${token}` } : undefined }
141
+ : undefined, [rawUrl, token]);
142
+ return { phase, source, sizeBytes, attempt, loadAnyway, handleError };
143
+ }
144
+ //# sourceMappingURL=use-sandbox-image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-sandbox-image.js","sourceRoot":"","sources":["../../src/react/use-sandbox-image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAErE,0EAA0E;AAC1E,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;AAI3D,MAAM,UAAU,eAAe,CAAC,EAC9B,aAAa,EACb,UAAU,GAIX;IACC,IAAI,aAAa,KAAK,IAAI;QAAE,OAAO,MAAM,CAAC;IAC1C,OAAO,aAAa,GAAG,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;AAC7D,CAAC;AAED,mFAAmF;AACnF,MAAM,UAAU,kBAAkB,CAAC,MAAqB;IACtD,IAAI,MAAM,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IACjC,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;IAC9B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;QAAE,OAAO,IAAI,CAAC;IACxC,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;IAC9B,OAAO,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,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
- "version": "0.13.49",
3
+ "version": "0.13.50",
4
4
  "description": "Official Kortix frontend TypeScript SDK — one typed client for the Kortix API. Unifies project/session lifecycle and live agent streaming behind a single ergonomic Session handle, so web, mobile, and white-label apps never touch the raw HTTP API or OpenCode semantics.",
5
5
  "type": "module",
6
6
  "license": "Elastic-2.0",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@kortix/llm-catalog": "0.13.49",
22
+ "@kortix/llm-catalog": "0.13.50",
23
23
  "zustand": "^5.0.3"
24
24
  },
25
25
  "peerDependencies": {