@factorialco/f0-react 1.468.2 → 1.469.1
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/{F0AiChat-yry58Wdg.js → F0AiChat-B9fVu77n.js} +47370 -46381
- package/dist/ai.d.ts +51 -8
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +19 -7
- package/dist/experimental.js +16 -7
- package/dist/f0.d.ts +51 -8
- package/dist/f0.js +6 -6
- package/dist/i18n-provider-defaults.d.ts +19 -7
- package/dist/i18n-provider-defaults.js +13 -1
- package/dist/{index-eeMmyF0T.js → index-BU0KMij1.js} +1750 -1759
- package/dist/styles.css +1 -1
- package/dist/{types-Cfw6Pg7w.js → types-osvVCRdA.js} +1 -1
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -317,6 +317,13 @@ declare type AiChatProviderReturnValue = {
|
|
|
317
317
|
*/
|
|
318
318
|
fileDragOver: boolean;
|
|
319
319
|
/* Excluded from this release type: setFileDragOver */
|
|
320
|
+
/**
|
|
321
|
+
* Process files that were dropped onto the chat. Delegates to the
|
|
322
|
+
* `processFiles` callback registered by `ChatTextarea`'s file-attachment
|
|
323
|
+
* hook. Used by the chat-wide DropOverlay rendered in `SidebarWindow`.
|
|
324
|
+
*/
|
|
325
|
+
processDroppedFiles: (files: File[]) => void;
|
|
326
|
+
/* Excluded from this release type: setProcessDroppedFilesFunction */
|
|
320
327
|
/**
|
|
321
328
|
* Pre-loaded context shown as an empty state in the chat.
|
|
322
329
|
* Prepended to the first user message as `<pending-context>`.
|
|
@@ -339,6 +346,12 @@ declare type AiChatProviderReturnValue = {
|
|
|
339
346
|
openCanvas: (content: CanvasContent) => void;
|
|
340
347
|
/** Close the canvas panel and restore the previous visualization mode */
|
|
341
348
|
closeCanvas: () => void;
|
|
349
|
+
/** The currently active mini-game (easter egg), or null */
|
|
350
|
+
activeGame: "dino" | "pong" | null;
|
|
351
|
+
/** Launch a mini-game overlay */
|
|
352
|
+
openGame: (game: "dino" | "pong") => void;
|
|
353
|
+
/** Close the active mini-game overlay */
|
|
354
|
+
closeGame: () => void;
|
|
342
355
|
/** The currently active tool hint, or null if none is selected */
|
|
343
356
|
activeToolHint: AiChatToolHint | null;
|
|
344
357
|
/** Set the active tool hint (pass null to clear) */
|
|
@@ -565,6 +578,18 @@ export declare const aiTranslations: {
|
|
|
565
578
|
readonly controls: "← → to move";
|
|
566
579
|
readonly escToExit: "Esc to exit";
|
|
567
580
|
};
|
|
581
|
+
readonly dino: {
|
|
582
|
+
readonly title: "One Run";
|
|
583
|
+
readonly tapToStart: "Press Space or tap to start";
|
|
584
|
+
readonly gameOver: "Game over";
|
|
585
|
+
readonly pressToRestart: "Space to restart";
|
|
586
|
+
readonly score: "Score";
|
|
587
|
+
readonly yourScore: "Your score";
|
|
588
|
+
readonly newRecord: "New record!";
|
|
589
|
+
readonly hi: "HI";
|
|
590
|
+
readonly controls: "Space to jump · ↓ to crouch";
|
|
591
|
+
readonly escToExit: "Esc to exit";
|
|
592
|
+
};
|
|
568
593
|
readonly creditWarning: {
|
|
569
594
|
readonly soft: "You're running low on AI credits.";
|
|
570
595
|
readonly getCredits: "Get credits";
|
|
@@ -593,7 +618,7 @@ export declare const aiTranslations: {
|
|
|
593
618
|
readonly navHint: {
|
|
594
619
|
readonly navigate: "navigate";
|
|
595
620
|
readonly select: "select";
|
|
596
|
-
readonly
|
|
621
|
+
readonly cancel: "cancel";
|
|
597
622
|
};
|
|
598
623
|
};
|
|
599
624
|
readonly growth: {
|
|
@@ -1105,6 +1130,12 @@ declare interface ClarifyingQuestionState {
|
|
|
1105
1130
|
confirm: () => void;
|
|
1106
1131
|
/** Skip the current step (only valid when the step is optional) */
|
|
1107
1132
|
skip: () => void;
|
|
1133
|
+
/**
|
|
1134
|
+
* Cancel the entire clarifying flow. Closes the panel and marks the tool
|
|
1135
|
+
* call as resolved-but-not-completed so it doesn't re-appear on history
|
|
1136
|
+
* reload. Cancellation is silent — no message is sent to the agent.
|
|
1137
|
+
*/
|
|
1138
|
+
cancel: () => void;
|
|
1108
1139
|
/** Go back to the previous step */
|
|
1109
1140
|
back: () => void;
|
|
1110
1141
|
/** Set the custom answer text */
|
|
@@ -1757,6 +1788,18 @@ export declare const defaultTranslations: {
|
|
|
1757
1788
|
readonly controls: "← → to move";
|
|
1758
1789
|
readonly escToExit: "Esc to exit";
|
|
1759
1790
|
};
|
|
1791
|
+
readonly dino: {
|
|
1792
|
+
readonly title: "One Run";
|
|
1793
|
+
readonly tapToStart: "Press Space or tap to start";
|
|
1794
|
+
readonly gameOver: "Game over";
|
|
1795
|
+
readonly pressToRestart: "Space to restart";
|
|
1796
|
+
readonly score: "Score";
|
|
1797
|
+
readonly yourScore: "Your score";
|
|
1798
|
+
readonly newRecord: "New record!";
|
|
1799
|
+
readonly hi: "HI";
|
|
1800
|
+
readonly controls: "Space to jump · ↓ to crouch";
|
|
1801
|
+
readonly escToExit: "Esc to exit";
|
|
1802
|
+
};
|
|
1760
1803
|
readonly creditWarning: {
|
|
1761
1804
|
readonly soft: "You're running low on AI credits.";
|
|
1762
1805
|
readonly getCredits: "Get credits";
|
|
@@ -1785,7 +1828,7 @@ export declare const defaultTranslations: {
|
|
|
1785
1828
|
readonly navHint: {
|
|
1786
1829
|
readonly navigate: "navigate";
|
|
1787
1830
|
readonly select: "select";
|
|
1788
|
-
readonly
|
|
1831
|
+
readonly cancel: "cancel";
|
|
1789
1832
|
};
|
|
1790
1833
|
};
|
|
1791
1834
|
readonly growth: {
|
|
@@ -3267,9 +3310,9 @@ declare namespace Calendar {
|
|
|
3267
3310
|
|
|
3268
3311
|
declare module "@tiptap/core" {
|
|
3269
3312
|
interface Commands<ReturnType> {
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3313
|
+
enhanceHighlight: {
|
|
3314
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
3315
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
3273
3316
|
};
|
|
3274
3317
|
}
|
|
3275
3318
|
}
|
|
@@ -3277,9 +3320,9 @@ declare module "@tiptap/core" {
|
|
|
3277
3320
|
|
|
3278
3321
|
declare module "@tiptap/core" {
|
|
3279
3322
|
interface Commands<ReturnType> {
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3323
|
+
aiBlock: {
|
|
3324
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
3325
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
3283
3326
|
};
|
|
3284
3327
|
}
|
|
3285
3328
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as t, k as e, F as r, a as o, C as i, b as n, m as F, n as u, d as A, I as c, g as C, c as m, h, e as l, u as d, j as I, i as f, f as T } from "./F0AiChat-
|
|
1
|
+
import { l as t, k as e, F as r, a as o, C as i, b as n, m as F, n as u, d as A, I as c, g as C, c as m, h, e as l, u as d, j as I, i as f, f as T } from "./F0AiChat-B9fVu77n.js";
|
|
2
2
|
import { defaultTranslations as S } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as v, e as x, F as P, c as V, d as k, b as O, a as b, f as y, o as M, u as j } from "./types-
|
|
3
|
+
import { A as v, e as x, F as P, c as V, d as k, b as O, a as b, f as y, o as M, u as j } from "./types-osvVCRdA.js";
|
|
4
4
|
export {
|
|
5
5
|
v as AiChatTranslationsProvider,
|
|
6
6
|
t as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -3120,6 +3120,18 @@ declare const defaultTranslations: {
|
|
|
3120
3120
|
readonly controls: "← → to move";
|
|
3121
3121
|
readonly escToExit: "Esc to exit";
|
|
3122
3122
|
};
|
|
3123
|
+
readonly dino: {
|
|
3124
|
+
readonly title: "One Run";
|
|
3125
|
+
readonly tapToStart: "Press Space or tap to start";
|
|
3126
|
+
readonly gameOver: "Game over";
|
|
3127
|
+
readonly pressToRestart: "Space to restart";
|
|
3128
|
+
readonly score: "Score";
|
|
3129
|
+
readonly yourScore: "Your score";
|
|
3130
|
+
readonly newRecord: "New record!";
|
|
3131
|
+
readonly hi: "HI";
|
|
3132
|
+
readonly controls: "Space to jump · ↓ to crouch";
|
|
3133
|
+
readonly escToExit: "Esc to exit";
|
|
3134
|
+
};
|
|
3123
3135
|
readonly creditWarning: {
|
|
3124
3136
|
readonly soft: "You're running low on AI credits.";
|
|
3125
3137
|
readonly getCredits: "Get credits";
|
|
@@ -3148,7 +3160,7 @@ declare const defaultTranslations: {
|
|
|
3148
3160
|
readonly navHint: {
|
|
3149
3161
|
readonly navigate: "navigate";
|
|
3150
3162
|
readonly select: "select";
|
|
3151
|
-
readonly
|
|
3163
|
+
readonly cancel: "cancel";
|
|
3152
3164
|
};
|
|
3153
3165
|
};
|
|
3154
3166
|
readonly growth: {
|
|
@@ -8048,9 +8060,9 @@ declare namespace Calendar {
|
|
|
8048
8060
|
|
|
8049
8061
|
declare module "@tiptap/core" {
|
|
8050
8062
|
interface Commands<ReturnType> {
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8063
|
+
enhanceHighlight: {
|
|
8064
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
8065
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
8054
8066
|
};
|
|
8055
8067
|
}
|
|
8056
8068
|
}
|
|
@@ -8058,9 +8070,9 @@ declare module "@tiptap/core" {
|
|
|
8058
8070
|
|
|
8059
8071
|
declare module "@tiptap/core" {
|
|
8060
8072
|
interface Commands<ReturnType> {
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8073
|
+
aiBlock: {
|
|
8074
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
8075
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
8064
8076
|
};
|
|
8065
8077
|
}
|
|
8066
8078
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a9 as oa, aa as ca, ab as da, ac as ua, ad as Ft, ae as Te, af as fa, ag as ht, ah as rt, ai as Be, O as p, W as Z, P as pe, u as se, aj as ma, ak as ha, al as ba, am as pa, an as ga, a5 as oe, ao as xa, U as Ee, ap as va, aq as wa, ar as $, as as ya, at as Na, M as _e, au as ln, av as Ca, aw as ka, Q as B, ax as sn, a8 as E, ay as ge, az as Sa, aA as Ia, aB as Fa, aC as Aa, aD as La, aE as Ce, aF as on, aG as Ea, aH as xe, aI as $e, aJ as _a, aK as bt, n as cn, aL as Ne, aM as Oa, aN as dn, a6 as ne, aO as H, R as un, aP as fn, aQ as Ta, aR as mn, aS as me, a7 as ee, aT as Da, aU as za, aV as Pa, aW as Ra, X as be, aX as Ge, aY as Ba, aZ as $a, a_ as Wa, a$ as Ma, b0 as He, b1 as hn, b2 as ja, b3 as Va, b4 as Ga, b5 as We, b6 as Ha, b7 as Ua, b8 as Ka, b9 as qa, ba as Ya, bb as Za, bc as Xa, bd as Ja, be as Qa, bf as er, bg as lt, bh as it, bi as bn, bj as tr, bk as nr, bl as pn, bm as ar, bn as rr, T as Ue, bo as pt, bp as gn, bq as lr, br as xn, bs as ir, bt as sr, bu as or, bv as Le, bw as cr, bx as De, by as At, bz as st, bA as dr, bB as ur, a as fr, c as mr, bC as hr, bD as vn, bE as br, bF as pr, F as gr, bG as wn, _ as xr, bH as yn, bI as vr, bJ as Lt, bK as wr, bL as yr, bM as Nr, bN as Cr, bO as Nn, bP as kr, bQ as Sr, bR as Ir, bS as Fr, bT as Ar, Y as Cn, bU as ue, bV as kn, bW as gt, bX as xt, bY as vt, bZ as Sn, b_ as wt, b$ as In, $ as Fn, c0 as Lr, c1 as Er, c2 as _r, c3 as Or, c4 as Tr, c5 as Dr, c6 as zr, c7 as Pr, c8 as Rr, c9 as Br, ca as $r, cb as Et, cc as _t, cd as Ot, ce as Wr, cf as Mr, cg as jr, ch as Vr, ci as An, cj as Gr, ck as Hr, cl as Ur } from "./F0AiChat-
|
|
2
|
-
import { cF as Ac, cE as Lc, co as Ec, cR as _c, cy as Oc, cz as Tc, cn as Dc, cB as zc, cp as Pc, d1 as Rc, c$ as Bc, cq as $c, cC as Wc, cD as Mc, cA as jc, cr as Vc, cN as Gc, cO as Hc, cS as Uc, cZ as Kc, c_ as qc, d0 as Yc, cx as Zc, cs as Xc, cH as Jc, cG as Qc, ct as ed, cu as td, cv as nd, cP as ad, d2 as rd, cm as ld, cQ as id, cU as sd, cV as od, cM as cd, cJ as dd, cL as ud, cI as fd, cw as md, cK as hd, cW as bd, cX as pd, cT as gd, cY as xd } from "./F0AiChat-
|
|
1
|
+
import { a9 as oa, aa as ca, ab as da, ac as ua, ad as Ft, ae as Te, af as fa, ag as ht, ah as rt, ai as Be, O as p, W as Z, P as pe, u as se, aj as ma, ak as ha, al as ba, am as pa, an as ga, a5 as oe, ao as xa, U as Ee, ap as va, aq as wa, ar as $, as as ya, at as Na, M as _e, au as ln, av as Ca, aw as ka, Q as B, ax as sn, a8 as E, ay as ge, az as Sa, aA as Ia, aB as Fa, aC as Aa, aD as La, aE as Ce, aF as on, aG as Ea, aH as xe, aI as $e, aJ as _a, aK as bt, n as cn, aL as Ne, aM as Oa, aN as dn, a6 as ne, aO as H, R as un, aP as fn, aQ as Ta, aR as mn, aS as me, a7 as ee, aT as Da, aU as za, aV as Pa, aW as Ra, X as be, aX as Ge, aY as Ba, aZ as $a, a_ as Wa, a$ as Ma, b0 as He, b1 as hn, b2 as ja, b3 as Va, b4 as Ga, b5 as We, b6 as Ha, b7 as Ua, b8 as Ka, b9 as qa, ba as Ya, bb as Za, bc as Xa, bd as Ja, be as Qa, bf as er, bg as lt, bh as it, bi as bn, bj as tr, bk as nr, bl as pn, bm as ar, bn as rr, T as Ue, bo as pt, bp as gn, bq as lr, br as xn, bs as ir, bt as sr, bu as or, bv as Le, bw as cr, bx as De, by as At, bz as st, bA as dr, bB as ur, a as fr, c as mr, bC as hr, bD as vn, bE as br, bF as pr, F as gr, bG as wn, _ as xr, bH as yn, bI as vr, bJ as Lt, bK as wr, bL as yr, bM as Nr, bN as Cr, bO as Nn, bP as kr, bQ as Sr, bR as Ir, bS as Fr, bT as Ar, Y as Cn, bU as ue, bV as kn, bW as gt, bX as xt, bY as vt, bZ as Sn, b_ as wt, b$ as In, $ as Fn, c0 as Lr, c1 as Er, c2 as _r, c3 as Or, c4 as Tr, c5 as Dr, c6 as zr, c7 as Pr, c8 as Rr, c9 as Br, ca as $r, cb as Et, cc as _t, cd as Ot, ce as Wr, cf as Mr, cg as jr, ch as Vr, ci as An, cj as Gr, ck as Hr, cl as Ur } from "./F0AiChat-B9fVu77n.js";
|
|
2
|
+
import { cF as Ac, cE as Lc, co as Ec, cR as _c, cy as Oc, cz as Tc, cn as Dc, cB as zc, cp as Pc, d1 as Rc, c$ as Bc, cq as $c, cC as Wc, cD as Mc, cA as jc, cr as Vc, cN as Gc, cO as Hc, cS as Uc, cZ as Kc, c_ as qc, d0 as Yc, cx as Zc, cs as Xc, cH as Jc, cG as Qc, ct as ed, cu as td, cv as nd, cP as ad, d2 as rd, cm as ld, cQ as id, cU as sd, cV as od, cM as cd, cJ as dd, cL as ud, cI as fd, cw as md, cK as hd, cW as bd, cX as pd, cT as gd, cY as xd } from "./F0AiChat-B9fVu77n.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
|
|
4
4
|
import re, { forwardRef as j, useRef as V, useTransition as Kr, useState as _, useLayoutEffect as Ln, useContext as Ke, createContext as yt, useCallback as Q, useMemo as K, useEffect as W, useId as qr, Fragment as Yr, isValidElement as Zr, cloneElement as En, Children as _n } from "react";
|
|
5
|
-
import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-
|
|
6
|
-
import { l as wd, m as yd, j as Nd, n as Cd, s as kd, D as Sd, k as Id, o as Fd, w as Ad, x as Ld, N as Ed, y as _d, p as Od, r as Td, R as Dd, u as zd, q as Pd, _ as Rd, v as Bd, t as $d } from "./index-
|
|
5
|
+
import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-BU0KMij1.js";
|
|
6
|
+
import { l as wd, m as yd, j as Nd, n as Cd, s as kd, D as Sd, k as Id, o as Fd, w as Ad, x as Ld, N as Ed, y as _d, p as Od, r as Td, R as Dd, u as zd, q as Pd, _ as Rd, v as Bd, t as $d } from "./index-BU0KMij1.js";
|
|
7
7
|
const dl = oa("Search", [
|
|
8
8
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
9
9
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
@@ -4229,8 +4229,11 @@ function Di({
|
|
|
4229
4229
|
"div",
|
|
4230
4230
|
{
|
|
4231
4231
|
className: p(
|
|
4232
|
-
|
|
4233
|
-
|
|
4232
|
+
// z-[21] sits above the chat wrapper (z-20 in canvas
|
|
4233
|
+
// mode) so the canvas card's right-side shadow paints
|
|
4234
|
+
// over the chat surface instead of being clipped by it.
|
|
4235
|
+
"pointer-events-none flex justify-end",
|
|
4236
|
+
N ? "fixed inset-0 z-[50]" : "absolute bottom-0 left-0 top-0 z-[21]"
|
|
4234
4237
|
),
|
|
4235
4238
|
style: N ? void 0 : { right: T },
|
|
4236
4239
|
children: /* @__PURE__ */ e(pr, {})
|
|
@@ -4244,7 +4247,13 @@ function Di({
|
|
|
4244
4247
|
"[&_.copilotKitSidebarContentWrapper]:relative [&_.copilotKitSidebarContentWrapper]:h-full [&_.copilotKitSidebarContentWrapper]:w-full",
|
|
4245
4248
|
N ? "fixed inset-0 z-[30]" : p(
|
|
4246
4249
|
"absolute right-0 top-0 bottom-0",
|
|
4247
|
-
|
|
4250
|
+
// In canvas mode the chat wrapper must sit above
|
|
4251
|
+
// the CanvasPanel (z-[15]) so the ResizeHandle's
|
|
4252
|
+
// hit-area (which extends a few pixels over the
|
|
4253
|
+
// canvas side of the seam) can receive hover
|
|
4254
|
+
// events — otherwise the canvas captures them
|
|
4255
|
+
// and the handle never lights up.
|
|
4256
|
+
D || w ? "z-20" : "z-0",
|
|
4248
4257
|
i === "hidden" && D ? "pl-1" : "pl-0"
|
|
4249
4258
|
)
|
|
4250
4259
|
),
|
package/dist/f0.d.ts
CHANGED
|
@@ -690,6 +690,13 @@ declare type AiChatProviderReturnValue = {
|
|
|
690
690
|
*/
|
|
691
691
|
fileDragOver: boolean;
|
|
692
692
|
/* Excluded from this release type: setFileDragOver */
|
|
693
|
+
/**
|
|
694
|
+
* Process files that were dropped onto the chat. Delegates to the
|
|
695
|
+
* `processFiles` callback registered by `ChatTextarea`'s file-attachment
|
|
696
|
+
* hook. Used by the chat-wide DropOverlay rendered in `SidebarWindow`.
|
|
697
|
+
*/
|
|
698
|
+
processDroppedFiles: (files: File[]) => void;
|
|
699
|
+
/* Excluded from this release type: setProcessDroppedFilesFunction */
|
|
693
700
|
/**
|
|
694
701
|
* Pre-loaded context shown as an empty state in the chat.
|
|
695
702
|
* Prepended to the first user message as `<pending-context>`.
|
|
@@ -712,6 +719,12 @@ declare type AiChatProviderReturnValue = {
|
|
|
712
719
|
openCanvas: (content: CanvasContent) => void;
|
|
713
720
|
/** Close the canvas panel and restore the previous visualization mode */
|
|
714
721
|
closeCanvas: () => void;
|
|
722
|
+
/** The currently active mini-game (easter egg), or null */
|
|
723
|
+
activeGame: "dino" | "pong" | null;
|
|
724
|
+
/** Launch a mini-game overlay */
|
|
725
|
+
openGame: (game: "dino" | "pong") => void;
|
|
726
|
+
/** Close the active mini-game overlay */
|
|
727
|
+
closeGame: () => void;
|
|
715
728
|
/** The currently active tool hint, or null if none is selected */
|
|
716
729
|
activeToolHint: AiChatToolHint | null;
|
|
717
730
|
/** Set the active tool hint (pass null to clear) */
|
|
@@ -938,6 +951,18 @@ export declare const aiTranslations: {
|
|
|
938
951
|
readonly controls: "← → to move";
|
|
939
952
|
readonly escToExit: "Esc to exit";
|
|
940
953
|
};
|
|
954
|
+
readonly dino: {
|
|
955
|
+
readonly title: "One Run";
|
|
956
|
+
readonly tapToStart: "Press Space or tap to start";
|
|
957
|
+
readonly gameOver: "Game over";
|
|
958
|
+
readonly pressToRestart: "Space to restart";
|
|
959
|
+
readonly score: "Score";
|
|
960
|
+
readonly yourScore: "Your score";
|
|
961
|
+
readonly newRecord: "New record!";
|
|
962
|
+
readonly hi: "HI";
|
|
963
|
+
readonly controls: "Space to jump · ↓ to crouch";
|
|
964
|
+
readonly escToExit: "Esc to exit";
|
|
965
|
+
};
|
|
941
966
|
readonly creditWarning: {
|
|
942
967
|
readonly soft: "You're running low on AI credits.";
|
|
943
968
|
readonly getCredits: "Get credits";
|
|
@@ -966,7 +991,7 @@ export declare const aiTranslations: {
|
|
|
966
991
|
readonly navHint: {
|
|
967
992
|
readonly navigate: "navigate";
|
|
968
993
|
readonly select: "select";
|
|
969
|
-
readonly
|
|
994
|
+
readonly cancel: "cancel";
|
|
970
995
|
};
|
|
971
996
|
};
|
|
972
997
|
readonly growth: {
|
|
@@ -2677,6 +2702,12 @@ declare interface ClarifyingQuestionState {
|
|
|
2677
2702
|
confirm: () => void;
|
|
2678
2703
|
/** Skip the current step (only valid when the step is optional) */
|
|
2679
2704
|
skip: () => void;
|
|
2705
|
+
/**
|
|
2706
|
+
* Cancel the entire clarifying flow. Closes the panel and marks the tool
|
|
2707
|
+
* call as resolved-but-not-completed so it doesn't re-appear on history
|
|
2708
|
+
* reload. Cancellation is silent — no message is sent to the agent.
|
|
2709
|
+
*/
|
|
2710
|
+
cancel: () => void;
|
|
2680
2711
|
/** Go back to the previous step */
|
|
2681
2712
|
back: () => void;
|
|
2682
2713
|
/** Set the custom answer text */
|
|
@@ -4232,6 +4263,18 @@ export declare const defaultTranslations: {
|
|
|
4232
4263
|
readonly controls: "← → to move";
|
|
4233
4264
|
readonly escToExit: "Esc to exit";
|
|
4234
4265
|
};
|
|
4266
|
+
readonly dino: {
|
|
4267
|
+
readonly title: "One Run";
|
|
4268
|
+
readonly tapToStart: "Press Space or tap to start";
|
|
4269
|
+
readonly gameOver: "Game over";
|
|
4270
|
+
readonly pressToRestart: "Space to restart";
|
|
4271
|
+
readonly score: "Score";
|
|
4272
|
+
readonly yourScore: "Your score";
|
|
4273
|
+
readonly newRecord: "New record!";
|
|
4274
|
+
readonly hi: "HI";
|
|
4275
|
+
readonly controls: "Space to jump · ↓ to crouch";
|
|
4276
|
+
readonly escToExit: "Esc to exit";
|
|
4277
|
+
};
|
|
4235
4278
|
readonly creditWarning: {
|
|
4236
4279
|
readonly soft: "You're running low on AI credits.";
|
|
4237
4280
|
readonly getCredits: "Get credits";
|
|
@@ -4260,7 +4303,7 @@ export declare const defaultTranslations: {
|
|
|
4260
4303
|
readonly navHint: {
|
|
4261
4304
|
readonly navigate: "navigate";
|
|
4262
4305
|
readonly select: "select";
|
|
4263
|
-
readonly
|
|
4306
|
+
readonly cancel: "cancel";
|
|
4264
4307
|
};
|
|
4265
4308
|
};
|
|
4266
4309
|
readonly growth: {
|
|
@@ -13587,9 +13630,9 @@ declare namespace Calendar {
|
|
|
13587
13630
|
|
|
13588
13631
|
declare module "@tiptap/core" {
|
|
13589
13632
|
interface Commands<ReturnType> {
|
|
13590
|
-
|
|
13591
|
-
|
|
13592
|
-
|
|
13633
|
+
enhanceHighlight: {
|
|
13634
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
13635
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
13593
13636
|
};
|
|
13594
13637
|
}
|
|
13595
13638
|
}
|
|
@@ -13597,9 +13640,9 @@ declare module "@tiptap/core" {
|
|
|
13597
13640
|
|
|
13598
13641
|
declare module "@tiptap/core" {
|
|
13599
13642
|
interface Commands<ReturnType> {
|
|
13600
|
-
|
|
13601
|
-
|
|
13602
|
-
|
|
13643
|
+
aiBlock: {
|
|
13644
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
13645
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
13603
13646
|
};
|
|
13604
13647
|
}
|
|
13605
13648
|
}
|
package/dist/f0.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { fz as Or, a6 as se, bU as Tn, O as P, P as ht, fA as Mr, W as yt, dG as zo, aS as Yi, fB as Io, a7 as zr, a8 as de, u as oe, ar as he, fq as Ut, U as Bo, ac as Po, M as Ir, fC as un, aO as Oe, aL as hi, fD as Ho, fE as Wo, fF as qo, fG as Ji, a0 as Go, fH as $o, fI as Br, fJ as jo, bd as fi, be as mi, a5 as Fn, bf as gi, aX as Pr, cR as hn, fK as Hr, fL as Uo, eg as Vo, fM as Zi, ef as Qo, fN as Ko, fO as wt, fP as Vt, fQ as Xo, fR as Wr, fS as Yo, fT as Jo, fU as An, fV as Zo, fW as ea, R as We, b0 as ta, d4 as si, d3 as qr, fX as na, fY as pi, cn as ia, fZ as ra, f_ as Gr, f$ as Ln, g0 as sa, g1 as oa, aI as vi, Q as Ce, aJ as aa, aK as fn, ce as la, g2 as ca, aR as On, g3 as $r, g4 as da, g5 as ua, g6 as ha, g7 as fa, cB as ma, m as ga, dq as pa, aq as jr, f5 as ft, g8 as Ur, f3 as Vr, g9 as mn, ga as Qr, ch as Kr, gb as Xr, as as bi, at as yi, gc as xi, aw as wi, aB as De, gd as Ci, aD as xt, ge as At, gf as Lt, av as Ot, gg as Mt, gh as va, gi as Zt, gj as Yr, gk as gn, bM as Pt, gl as _e, cs as ba, gm as Jr, gn as ya, go as pn, cr as xa, cq as wa, gp as Ca, gq as Sa, bO as Mn, aE as zn, gr as Zr, bJ as Si, bP as Ei, bc as Ea, gs as Ae, gt as Na, gu as _a, gv as es, gw as In, gx as Da, gy as Ra, cj as ts, gz as ka, gA as Ta, gB as Fa, gC as Aa, bp as ns, bv as La, ft as Oa, fu as Ma, fw as za, gD as is, bW as Ia, b_ as Ba, gE as er, c5 as Pa, gF as rs, gG as Ha, gH as Wa } from "./F0AiChat-B9fVu77n.js";
|
|
2
|
+
import { hl as Lf, gM as Of, co as Mf, l as zf, hz as If, bo as Bf, k as Pf, F as Hf, a as Wf, C as qf, hc as Gf, b as $f, gZ as jf, bN as Uf, c7 as Vf, _ as Qf, c8 as Kf, gJ as Xf, bh as Yf, Y as Jf, X as Zf, Z as em, b3 as tm, gT as nm, gX as im, gK as rm, gY as sm, g_ as om, h0 as am, hE as lm, bx as cm, n as dm, hw as um, b5 as hm, $ as fm, hg as mm, bB as gm, hh as pm, hj as vm, hk as bm, d1 as ym, c$ as xm, d as wm, gN as Cm, hm as Sm, gO as Em, gP as Nm, gQ as _m, cN as Dm, cO as Rm, gI as km, gR as Tm, hD as Fm, gS as Am, bu as Lm, d0 as Om, hi as Mm, cP as zm, cm as Im, hF as Bm, gU as Pm, gV as Hm, gW as Wm, gL as qm, cQ as Gm, hy as $m, hr as jm, he as Um, h5 as Vm, h4 as Qm, h3 as Km, hb as Xm, hu as Ym, g as Jm, hq as Zm, bs as eg, cM as tg, cJ as ng, cL as ig, ha as rg, cI as sg, h6 as og, hp as ag, ho as lg, h7 as cg, cw as dg, cK as ug, h1 as hg, h2 as fg, h8 as mg, c as gg, hn as pg, hs as vg, h as bg, hA as yg, hB as xg, hC as wg, bq as Cg, hd as Sg, g$ as Eg, hf as Ng, e as _g, hx as Dg, ht as Rg, j as kg, i as Tg, bV as Fg, T as Ag, h9 as Lg, hv as Og, f as Mg, hG as zg } from "./F0AiChat-B9fVu77n.js";
|
|
3
3
|
import { jsx as l, jsxs as C, Fragment as we } from "react/jsx-runtime";
|
|
4
4
|
import ae, { forwardRef as qe, useRef as W, useImperativeHandle as qa, Children as vn, createContext as Qe, useContext as Re, useState as j, useMemo as B, useEffect as V, useCallback as I, useLayoutEffect as oi, createElement as en, isValidElement as ss, Fragment as Ga, memo as os, useReducer as $a, cloneElement as ja, useId as as } from "react";
|
|
5
|
-
import { g as Ua, h as Va } from "./types-
|
|
6
|
-
import { A as Bg, e as Pg, F as Hg, c as Wg, d as qg, b as Gg, a as $g, f as jg, o as Ug, u as Vg } from "./types-
|
|
5
|
+
import { g as Ua, h as Va } from "./types-osvVCRdA.js";
|
|
6
|
+
import { A as Bg, e as Pg, F as Hg, c as Wg, d as qg, b as Gg, a as $g, f as jg, o as Ug, u as Vg } from "./types-osvVCRdA.js";
|
|
7
7
|
import { createPortal as ls, unstable_batchedUpdates as tn } from "react-dom";
|
|
8
|
-
import { C as Qa, M as Ni, D as Ka, z as Xa, u as cs, j as Ya } from "./index-
|
|
9
|
-
import { l as Kg, m as Xg, n as Yg, s as Jg, F as Zg, o as ep, w as tp, x as np, N as ip, y as rp, p as sp, P as op, r as ap, R as lp, q as cp, _ as dp, v as up, t as hp } from "./index-
|
|
8
|
+
import { C as Qa, M as Ni, D as Ka, z as Xa, u as cs, j as Ya } from "./index-BU0KMij1.js";
|
|
9
|
+
import { l as Kg, m as Xg, n as Yg, s as Jg, F as Zg, o as ep, w as tp, x as np, N as ip, y as rp, p as sp, P as op, r as ap, R as lp, q as cp, _ as dp, v as up, t as hp } from "./index-BU0KMij1.js";
|
|
10
10
|
import { defaultTranslations as mp } from "./i18n-provider-defaults.js";
|
|
11
11
|
import './f0.css';const Ja = {
|
|
12
12
|
xs: 1,
|
|
@@ -470,6 +470,18 @@ export declare const defaultTranslations: {
|
|
|
470
470
|
readonly controls: "← → to move";
|
|
471
471
|
readonly escToExit: "Esc to exit";
|
|
472
472
|
};
|
|
473
|
+
readonly dino: {
|
|
474
|
+
readonly title: "One Run";
|
|
475
|
+
readonly tapToStart: "Press Space or tap to start";
|
|
476
|
+
readonly gameOver: "Game over";
|
|
477
|
+
readonly pressToRestart: "Space to restart";
|
|
478
|
+
readonly score: "Score";
|
|
479
|
+
readonly yourScore: "Your score";
|
|
480
|
+
readonly newRecord: "New record!";
|
|
481
|
+
readonly hi: "HI";
|
|
482
|
+
readonly controls: "Space to jump · ↓ to crouch";
|
|
483
|
+
readonly escToExit: "Esc to exit";
|
|
484
|
+
};
|
|
473
485
|
readonly creditWarning: {
|
|
474
486
|
readonly soft: "You're running low on AI credits.";
|
|
475
487
|
readonly getCredits: "Get credits";
|
|
@@ -498,7 +510,7 @@ export declare const defaultTranslations: {
|
|
|
498
510
|
readonly navHint: {
|
|
499
511
|
readonly navigate: "navigate";
|
|
500
512
|
readonly select: "select";
|
|
501
|
-
readonly
|
|
513
|
+
readonly cancel: "cancel";
|
|
502
514
|
};
|
|
503
515
|
};
|
|
504
516
|
readonly growth: {
|
|
@@ -812,9 +824,9 @@ declare namespace Calendar {
|
|
|
812
824
|
|
|
813
825
|
declare module "@tiptap/core" {
|
|
814
826
|
interface Commands<ReturnType> {
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
827
|
+
enhanceHighlight: {
|
|
828
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
829
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
818
830
|
};
|
|
819
831
|
}
|
|
820
832
|
}
|
|
@@ -822,9 +834,9 @@ declare module "@tiptap/core" {
|
|
|
822
834
|
|
|
823
835
|
declare module "@tiptap/core" {
|
|
824
836
|
interface Commands<ReturnType> {
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
837
|
+
aiBlock: {
|
|
838
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
839
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
828
840
|
};
|
|
829
841
|
}
|
|
830
842
|
}
|
|
@@ -470,6 +470,18 @@ const e = {
|
|
|
470
470
|
controls: "← → to move",
|
|
471
471
|
escToExit: "Esc to exit"
|
|
472
472
|
},
|
|
473
|
+
dino: {
|
|
474
|
+
title: "One Run",
|
|
475
|
+
tapToStart: "Press Space or tap to start",
|
|
476
|
+
gameOver: "Game over",
|
|
477
|
+
pressToRestart: "Space to restart",
|
|
478
|
+
score: "Score",
|
|
479
|
+
yourScore: "Your score",
|
|
480
|
+
newRecord: "New record!",
|
|
481
|
+
hi: "HI",
|
|
482
|
+
controls: "Space to jump · ↓ to crouch",
|
|
483
|
+
escToExit: "Esc to exit"
|
|
484
|
+
},
|
|
473
485
|
creditWarning: {
|
|
474
486
|
soft: "You're running low on AI credits.",
|
|
475
487
|
getCredits: "Get credits",
|
|
@@ -498,7 +510,7 @@ const e = {
|
|
|
498
510
|
navHint: {
|
|
499
511
|
navigate: "navigate",
|
|
500
512
|
select: "select",
|
|
501
|
-
|
|
513
|
+
cancel: "cancel"
|
|
502
514
|
}
|
|
503
515
|
},
|
|
504
516
|
growth: {
|