@yak-io/javascript 0.2.0 → 0.3.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/client.d.ts +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +10 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/logger.d.ts +26 -1
- package/dist/logger.d.ts.map +1 -1
- package/dist/logger.js +85 -12
- package/dist/types/messaging.d.ts +2 -0
- package/dist/types/messaging.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAA8C,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC9F,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EAGlB,MAAM,kBAAkB,CAAC;AAM1B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,oBAAoB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAA8C,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC9F,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EAGlB,MAAM,kBAAkB,CAAC;AAM1B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B,uBAAuB,CAAC,EAAE,OAAO,CAAC;KACnC;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AUG;IACI,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAavC;;;OAGG;IACI,SAAS,IAAI,IAAI;IAYxB;;OAEG;IACI,OAAO,IAAI,OAAO;IAIlB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAOrC,aAAa,CAAC,MAAM,EAAE,OAAO;IAa7B,KAAK;IAOL,OAAO;IAQd,OAAO,CAAC,cAAc;IA+BtB,OAAO,CAAC,aAAa;IAOrB,OAAO,CAAC,cAAc,CAGrB;IAED,OAAO,CAAC,aAAa,CA+GpB;IAED,OAAO,CAAC,kBAAkB;IAiC1B,OAAO,CAAC,eAAe;YAoBT,cAAc;YA2Bd,uBAAuB;YAuBvB,oBAAoB;IAuBlC,OAAO,CAAC,sBAAsB;IAuB9B;;;OAGG;IACH,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,mBAAmB;IAU3B;;;OAGG;IACH,OAAO,CAAC,iBAAiB;CAsB1B"}
|
package/dist/client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { extractPageContext, debounce } from "./page-context.js";
|
|
2
2
|
import { EMBED_PROTOCOL_VERSION } from "./version.js";
|
|
3
|
-
import { logger } from "./logger.js";
|
|
3
|
+
import { logger, isYakLoggingEnabled } from "./logger.js";
|
|
4
4
|
/**
|
|
5
5
|
* Determines the iframe origin based on the current environment.
|
|
6
6
|
* - Internal dev (localhost on *.yak.* domain) -> http://localhost:3001
|
|
@@ -117,6 +117,10 @@ export class YakClient {
|
|
|
117
117
|
if (theme?.dark?.headerIconColor) {
|
|
118
118
|
params.set("darkHeaderIcon", theme.dark.headerIconColor);
|
|
119
119
|
}
|
|
120
|
+
// Pass debug flag to iframe so it can enable logging immediately
|
|
121
|
+
if (isYakLoggingEnabled()) {
|
|
122
|
+
params.set("yakDebug", "1");
|
|
123
|
+
}
|
|
120
124
|
const queryString = params.toString();
|
|
121
125
|
return queryString ? `${baseUrl}?${queryString}` : baseUrl;
|
|
122
126
|
}
|
|
@@ -333,6 +337,10 @@ export class YakClient {
|
|
|
333
337
|
}
|
|
334
338
|
};
|
|
335
339
|
sendConfigToIframe(targetWindow, targetOrigin) {
|
|
340
|
+
// Get logging enabled state from window flag
|
|
341
|
+
const loggingEnabled = typeof window !== "undefined" && typeof window.__YAK_LOGGING_ENABLED__ === "boolean"
|
|
342
|
+
? window.__YAK_LOGGING_ENABLED__
|
|
343
|
+
: undefined;
|
|
336
344
|
const configMessage = {
|
|
337
345
|
type: "yak:config",
|
|
338
346
|
payload: {
|
|
@@ -343,6 +351,7 @@ export class YakClient {
|
|
|
343
351
|
routeManifest: this.config.chatConfig?.routes ?? undefined,
|
|
344
352
|
schemaSources: this.config.chatConfig?.schemaSources ?? undefined,
|
|
345
353
|
options: this.config.options,
|
|
354
|
+
loggingEnabled,
|
|
346
355
|
},
|
|
347
356
|
};
|
|
348
357
|
logger.debug("Posting config to iframe origin:", {
|
package/dist/index.d.ts
CHANGED
|
@@ -6,4 +6,5 @@ export { EMBED_PROTOCOL_VERSION } from "./version.js";
|
|
|
6
6
|
export type { EmbedProtocolVersion } from "./version.js";
|
|
7
7
|
export { YakClient } from "./client.js";
|
|
8
8
|
export type { YakClientConfig } from "./client.js";
|
|
9
|
+
export { enableYakLogging, disableYakLogging, isYakLoggingEnabled, logger } from "./logger.js";
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AAGjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,YAAY,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAGzD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AAGjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,YAAY,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAGzD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -7,3 +7,5 @@ export * from "./types/tools.js";
|
|
|
7
7
|
export { EMBED_PROTOCOL_VERSION } from "./version.js";
|
|
8
8
|
// Public client API
|
|
9
9
|
export { YakClient } from "./client.js";
|
|
10
|
+
// Logging utilities
|
|
11
|
+
export { enableYakLogging, disableYakLogging, isYakLoggingEnabled, logger } from "./logger.js";
|
package/dist/logger.d.ts
CHANGED
|
@@ -1,8 +1,33 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Simple logger utility for the yak client SDK.
|
|
3
|
-
* Debug/info logs are
|
|
3
|
+
* Debug/info logs are controlled by __YAK_LOGGING_ENABLED__.
|
|
4
4
|
* Warnings and errors are always logged.
|
|
5
|
+
*
|
|
6
|
+
* Logging is controlled via:
|
|
7
|
+
* 1. localStorage key "yakLogging" (persists across reloads)
|
|
8
|
+
* 2. window.__YAK_LOGGING_ENABLED__ (runtime override)
|
|
9
|
+
*
|
|
10
|
+
* Use the helper functions to enable/disable:
|
|
11
|
+
* enableYakLogging() - turns on logging, persists in localStorage
|
|
12
|
+
* disableYakLogging() - turns off logging, clears localStorage
|
|
5
13
|
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if Yak logging is currently enabled.
|
|
16
|
+
* Useful for checking state before creating iframes.
|
|
17
|
+
*/
|
|
18
|
+
export declare function isYakLoggingEnabled(): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Enable Yak debug logging.
|
|
21
|
+
* Persists in localStorage so it survives page reloads.
|
|
22
|
+
* Call this from browser console: `enableYakLogging()`
|
|
23
|
+
*/
|
|
24
|
+
export declare function enableYakLogging(): void;
|
|
25
|
+
/**
|
|
26
|
+
* Disable Yak debug logging.
|
|
27
|
+
* Clears localStorage and window flag.
|
|
28
|
+
* Call this from browser console: `disableYakLogging()`
|
|
29
|
+
*/
|
|
30
|
+
export declare function disableYakLogging(): void;
|
|
6
31
|
export declare const logger: {
|
|
7
32
|
debug: (message: string, data?: unknown) => void;
|
|
8
33
|
info: (message: string, data?: unknown) => void;
|
package/dist/logger.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAuBH;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,OAAO,CAE7C;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAWvC;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAWxC;AAQD,eAAO,MAAM,MAAM;qBACA,MAAM,SAAS,OAAO,KAAG,IAAI;oBAU9B,MAAM,SAAS,OAAO,KAAG,IAAI;oBAU7B,MAAM,SAAS,OAAO,KAAG,IAAI;qBAQ5B,MAAM,SAAS,OAAO,KAAG,IAAI;CAO/C,CAAC"}
|
package/dist/logger.js
CHANGED
|
@@ -1,44 +1,117 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Simple logger utility for the yak client SDK.
|
|
3
|
-
* Debug/info logs are
|
|
3
|
+
* Debug/info logs are controlled by __YAK_LOGGING_ENABLED__.
|
|
4
4
|
* Warnings and errors are always logged.
|
|
5
|
+
*
|
|
6
|
+
* Logging is controlled via:
|
|
7
|
+
* 1. localStorage key "yakLogging" (persists across reloads)
|
|
8
|
+
* 2. window.__YAK_LOGGING_ENABLED__ (runtime override)
|
|
9
|
+
*
|
|
10
|
+
* Use the helper functions to enable/disable:
|
|
11
|
+
* enableYakLogging() - turns on logging, persists in localStorage
|
|
12
|
+
* disableYakLogging() - turns off logging, clears localStorage
|
|
5
13
|
*/
|
|
6
|
-
const
|
|
14
|
+
const STORAGE_KEY = "yakLogging";
|
|
15
|
+
function isLoggingEnabled() {
|
|
16
|
+
if (typeof window === "undefined") {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
// Window flag takes precedence (runtime override)
|
|
20
|
+
if (typeof window.__YAK_LOGGING_ENABLED__ === "boolean") {
|
|
21
|
+
return window.__YAK_LOGGING_ENABLED__;
|
|
22
|
+
}
|
|
23
|
+
// Fall back to localStorage for persistence across reloads
|
|
24
|
+
try {
|
|
25
|
+
return localStorage.getItem(STORAGE_KEY) === "true";
|
|
26
|
+
}
|
|
27
|
+
catch {
|
|
28
|
+
// localStorage may be unavailable (e.g., private browsing)
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if Yak logging is currently enabled.
|
|
34
|
+
* Useful for checking state before creating iframes.
|
|
35
|
+
*/
|
|
36
|
+
export function isYakLoggingEnabled() {
|
|
37
|
+
return isLoggingEnabled();
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Enable Yak debug logging.
|
|
41
|
+
* Persists in localStorage so it survives page reloads.
|
|
42
|
+
* Call this from browser console: `enableYakLogging()`
|
|
43
|
+
*/
|
|
44
|
+
export function enableYakLogging() {
|
|
45
|
+
if (typeof window === "undefined") {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
window.__YAK_LOGGING_ENABLED__ = true;
|
|
49
|
+
try {
|
|
50
|
+
localStorage.setItem(STORAGE_KEY, "true");
|
|
51
|
+
}
|
|
52
|
+
catch {
|
|
53
|
+
// localStorage may be unavailable
|
|
54
|
+
}
|
|
55
|
+
console.info("[yak] Logging enabled");
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Disable Yak debug logging.
|
|
59
|
+
* Clears localStorage and window flag.
|
|
60
|
+
* Call this from browser console: `disableYakLogging()`
|
|
61
|
+
*/
|
|
62
|
+
export function disableYakLogging() {
|
|
63
|
+
if (typeof window === "undefined") {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
window.__YAK_LOGGING_ENABLED__ = false;
|
|
67
|
+
try {
|
|
68
|
+
localStorage.removeItem(STORAGE_KEY);
|
|
69
|
+
}
|
|
70
|
+
catch {
|
|
71
|
+
// localStorage may be unavailable
|
|
72
|
+
}
|
|
73
|
+
console.info("[yak] Logging disabled");
|
|
74
|
+
}
|
|
75
|
+
// Expose helpers globally so they can be called from browser console
|
|
76
|
+
if (typeof window !== "undefined") {
|
|
77
|
+
window.enableYakLogging = enableYakLogging;
|
|
78
|
+
window.disableYakLogging = disableYakLogging;
|
|
79
|
+
}
|
|
7
80
|
export const logger = {
|
|
8
81
|
debug: (message, data) => {
|
|
9
|
-
if (
|
|
82
|
+
if (isLoggingEnabled()) {
|
|
10
83
|
if (data !== undefined) {
|
|
11
|
-
console.log(`[yak-
|
|
84
|
+
console.log(`[yak-host] ${message}`, data);
|
|
12
85
|
}
|
|
13
86
|
else {
|
|
14
|
-
console.log(`[yak-
|
|
87
|
+
console.log(`[yak-host] ${message}`);
|
|
15
88
|
}
|
|
16
89
|
}
|
|
17
90
|
},
|
|
18
91
|
info: (message, data) => {
|
|
19
|
-
if (
|
|
92
|
+
if (isLoggingEnabled()) {
|
|
20
93
|
if (data !== undefined) {
|
|
21
|
-
console.info(`[yak-
|
|
94
|
+
console.info(`[yak-host] ${message}`, data);
|
|
22
95
|
}
|
|
23
96
|
else {
|
|
24
|
-
console.info(`[yak-
|
|
97
|
+
console.info(`[yak-host] ${message}`);
|
|
25
98
|
}
|
|
26
99
|
}
|
|
27
100
|
},
|
|
28
101
|
warn: (message, data) => {
|
|
29
102
|
if (data !== undefined) {
|
|
30
|
-
console.warn(`[yak-
|
|
103
|
+
console.warn(`[yak-host] ${message}`, data);
|
|
31
104
|
}
|
|
32
105
|
else {
|
|
33
|
-
console.warn(`[yak-
|
|
106
|
+
console.warn(`[yak-host] ${message}`);
|
|
34
107
|
}
|
|
35
108
|
},
|
|
36
109
|
error: (message, data) => {
|
|
37
110
|
if (data !== undefined) {
|
|
38
|
-
console.error(`[yak-
|
|
111
|
+
console.error(`[yak-host] ${message}`, data);
|
|
39
112
|
}
|
|
40
113
|
else {
|
|
41
|
-
console.error(`[yak-
|
|
114
|
+
console.error(`[yak-host] ${message}`);
|
|
42
115
|
}
|
|
43
116
|
},
|
|
44
117
|
};
|
|
@@ -82,6 +82,8 @@ export type IframeMessageFromHost = {
|
|
|
82
82
|
schemaSources?: SchemaSource[];
|
|
83
83
|
/** Chat configuration options */
|
|
84
84
|
options?: ChatOptions;
|
|
85
|
+
/** Logging enabled flag from host (for cross-origin sync) */
|
|
86
|
+
loggingEnabled?: boolean;
|
|
85
87
|
};
|
|
86
88
|
} | {
|
|
87
89
|
type: "yak:tool_result";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messaging.d.ts","sourceRoot":"","sources":["../../src/types/messaging.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC1F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,YAAY,GAA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