@tangle-network/agent-app 1.0.7 → 1.0.8
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/{DesignCanvasEditor-6SQAQGOY.js → DesignCanvasEditor-CYFFF2LZ.js} +3 -3
- package/dist/agent-profiles/d1.js +3 -3
- package/dist/agent-profiles/index.js +3 -3
- package/dist/chat-routes/index.js +4 -4
- package/dist/{chunk-X5BDMSPS.js → chunk-27QO3AXJ.js} +68 -68
- package/dist/chunk-27QO3AXJ.js.map +1 -0
- package/dist/{chunk-IIAXUKV7.js → chunk-2V7YCTYU.js} +2 -2
- package/dist/{chunk-M42DQ6HM.js → chunk-3KJAPMZB.js} +2 -2
- package/dist/{chunk-X32H7TXZ.js → chunk-7JUQQEQY.js} +2 -2
- package/dist/{chunk-DURND7YS.js → chunk-7MVMNCRP.js} +5 -5
- package/dist/{chunk-DURND7YS.js.map → chunk-7MVMNCRP.js.map} +1 -1
- package/dist/{chunk-V2BC73KQ.js → chunk-IUAPYE37.js} +2 -2
- package/dist/{chunk-DNM5CN3R.js → chunk-UCXB3ZZ3.js} +3 -3
- package/dist/{chunk-OWNWWT76.js → chunk-VHDBKP3G.js} +2 -2
- package/dist/{chunk-YAIUAUWJ.js → chunk-XU6A5NT2.js} +2 -2
- package/dist/design-canvas-react/index.js +3 -3
- package/dist/design-canvas-react/lazy.js +1 -1
- package/dist/preset-cloudflare/index.js +2 -2
- package/dist/public-consultation/index.js +4 -4
- package/dist/sandbox/index.js +4 -4
- package/dist/theme/brand.generated.d.ts +68 -68
- package/dist/theme/dom.js +2 -2
- package/dist/theme/index.js +1 -1
- package/dist/theme/tailwind-preset.js +2 -4
- package/dist/theme/tailwind-preset.js.map +1 -1
- package/dist/theme/tokens.css +1383 -984
- package/dist/tools/index.js +4 -4
- package/dist/web-react/document.js +2 -2
- package/dist/work-product/index.js +2 -2
- package/package.json +5 -5
- package/dist/chunk-X5BDMSPS.js.map +0 -1
- /package/dist/{DesignCanvasEditor-6SQAQGOY.js.map → DesignCanvasEditor-CYFFF2LZ.js.map} +0 -0
- /package/dist/{chunk-IIAXUKV7.js.map → chunk-2V7YCTYU.js.map} +0 -0
- /package/dist/{chunk-M42DQ6HM.js.map → chunk-3KJAPMZB.js.map} +0 -0
- /package/dist/{chunk-X32H7TXZ.js.map → chunk-7JUQQEQY.js.map} +0 -0
- /package/dist/{chunk-V2BC73KQ.js.map → chunk-IUAPYE37.js.map} +0 -0
- /package/dist/{chunk-DNM5CN3R.js.map → chunk-UCXB3ZZ3.js.map} +0 -0
- /package/dist/{chunk-OWNWWT76.js.map → chunk-VHDBKP3G.js.map} +0 -0
- /package/dist/{chunk-YAIUAUWJ.js.map → chunk-XU6A5NT2.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DesignCanvasEditor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IUAPYE37.js";
|
|
4
4
|
import "./chunk-Y3HRQVAO.js";
|
|
5
5
|
import "./chunk-SJ73F7HD.js";
|
|
6
6
|
import "./chunk-CPWMBYLQ.js";
|
|
@@ -12,8 +12,8 @@ import "./chunk-ALIWB2P3.js";
|
|
|
12
12
|
import "./chunk-5VE4IDSU.js";
|
|
13
13
|
import "./chunk-V42C72V5.js";
|
|
14
14
|
import "./chunk-TXD5HXLE.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-27QO3AXJ.js";
|
|
16
16
|
export {
|
|
17
17
|
DesignCanvasEditor
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=DesignCanvasEditor-
|
|
19
|
+
//# sourceMappingURL=DesignCanvasEditor-CYFFF2LZ.js.map
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
ProfileConflictError,
|
|
3
3
|
parseProfileRevisionDiff,
|
|
4
4
|
serializeProfileRevisionDiff
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-VHDBKP3G.js";
|
|
6
6
|
import "../chunk-3CI35I4X.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-3KJAPMZB.js";
|
|
8
8
|
import "../chunk-UGWQLQDS.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-7MVMNCRP.js";
|
|
10
10
|
import "../chunk-F4XBNR5L.js";
|
|
11
11
|
|
|
12
12
|
// src/agent-profiles/d1.ts
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
readProfileAdmission,
|
|
22
22
|
serializeProfileRevisionDiff,
|
|
23
23
|
switchProfile
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-VHDBKP3G.js";
|
|
25
25
|
import {
|
|
26
26
|
normalizeProfileName,
|
|
27
27
|
parseProfileSwitch
|
|
28
28
|
} from "../chunk-3CI35I4X.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-3KJAPMZB.js";
|
|
30
30
|
import "../chunk-UGWQLQDS.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-7MVMNCRP.js";
|
|
32
32
|
import "../chunk-F4XBNR5L.js";
|
|
33
33
|
export {
|
|
34
34
|
PERMITTED_SELF_MOUNT_DIMENSIONS,
|
|
@@ -166,14 +166,14 @@ import {
|
|
|
166
166
|
import "../chunk-L3QR274L.js";
|
|
167
167
|
import "../chunk-XELWWXJJ.js";
|
|
168
168
|
import "../chunk-DSMGS4IV.js";
|
|
169
|
-
import "../chunk-
|
|
169
|
+
import "../chunk-UCXB3ZZ3.js";
|
|
170
170
|
import "../chunk-OY7A6M7S.js";
|
|
171
171
|
import "../chunk-O7UX55EU.js";
|
|
172
|
-
import "../chunk-
|
|
172
|
+
import "../chunk-7JUQQEQY.js";
|
|
173
173
|
import "../chunk-S5SRJJQG.js";
|
|
174
|
-
import "../chunk-
|
|
174
|
+
import "../chunk-3KJAPMZB.js";
|
|
175
175
|
import "../chunk-UGWQLQDS.js";
|
|
176
|
-
import "../chunk-
|
|
176
|
+
import "../chunk-7MVMNCRP.js";
|
|
177
177
|
import "../chunk-SYV7MIVP.js";
|
|
178
178
|
import "../chunk-D6UJEOZQ.js";
|
|
179
179
|
import "../chunk-DCPOEDPK.js";
|
|
@@ -1,89 +1,89 @@
|
|
|
1
1
|
// src/theme/brand.generated.ts
|
|
2
2
|
var brandThemes = {
|
|
3
3
|
"light": {
|
|
4
|
-
"background": "
|
|
5
|
-
"foreground": "0 0%
|
|
4
|
+
"background": "225 26.6667% 94.1176%",
|
|
5
|
+
"foreground": "0 0% 24.7059%",
|
|
6
6
|
"card": "0 0% 100%",
|
|
7
|
-
"cardForeground": "0 0%
|
|
7
|
+
"cardForeground": "0 0% 24.7059%",
|
|
8
8
|
"popover": "0 0% 100%",
|
|
9
|
-
"popoverForeground": "0 0%
|
|
10
|
-
"primary": "
|
|
9
|
+
"popoverForeground": "0 0% 24.7059%",
|
|
10
|
+
"primary": "246.2264 92.1739% 54.902%",
|
|
11
11
|
"primaryForeground": "0 0% 100%",
|
|
12
|
-
"secondary": "
|
|
13
|
-
"secondaryForeground": "0 0%
|
|
14
|
-
"muted": "
|
|
15
|
-
"mutedForeground": "0 0%
|
|
16
|
-
"accent": "
|
|
17
|
-
"accentForeground": "0 0%
|
|
18
|
-
"destructive": "0
|
|
12
|
+
"secondary": "225 28.5714% 94.5098%",
|
|
13
|
+
"secondaryForeground": "0 0% 24.7059%",
|
|
14
|
+
"muted": "225 28.5714% 94.5098%",
|
|
15
|
+
"mutedForeground": "0 0% 36.4706%",
|
|
16
|
+
"accent": "225 28.5714% 94.5098%",
|
|
17
|
+
"accentForeground": "0 0% 24.7059%",
|
|
18
|
+
"destructive": "0 75.1244% 39.4118%",
|
|
19
19
|
"destructiveForeground": "0 0% 100%",
|
|
20
|
-
"border": "
|
|
21
|
-
"input": "0 0%
|
|
22
|
-
"ring": "
|
|
23
|
-
"success": "
|
|
24
|
-
"warning": "
|
|
20
|
+
"border": "222.8571 6.6667% 79.4118%",
|
|
21
|
+
"input": "0 0% 36.4706%",
|
|
22
|
+
"ring": "245.9504 54.2601% 56.2745%",
|
|
23
|
+
"success": "154.8148 64.8% 24.5098%",
|
|
24
|
+
"warning": "38.2979 65.2778% 28.2353%",
|
|
25
25
|
"successForeground": "0 0% 100%",
|
|
26
26
|
"warningForeground": "0 0% 100%",
|
|
27
|
-
"warningStrong": "
|
|
28
|
-
"inputFill": "hsl(
|
|
29
|
-
"canvasBackdrop": "
|
|
30
|
-
"borderSoft": "hsl(
|
|
31
|
-
"cardEdge": "hsl(
|
|
27
|
+
"warningStrong": "38.2979 65.2778% 28.2353%",
|
|
28
|
+
"inputFill": "hsl(231.4286 46.6667% 97.0588%)",
|
|
29
|
+
"canvasBackdrop": "hsl(231.4286 11.4754% 88.0392%)",
|
|
30
|
+
"borderSoft": "hsl(222.8571 6.6667% 79.4118%)",
|
|
31
|
+
"cardEdge": "hsl(222.8571 6.6667% 79.4118%)",
|
|
32
32
|
"canvasRender": {
|
|
33
|
-
"grid": "#
|
|
34
|
-
"snapGrid": "#
|
|
35
|
-
"snapGuide": "#
|
|
36
|
-
"snapPage": "#
|
|
37
|
-
"snapElement": "#
|
|
38
|
-
"selectionStroke": "#
|
|
33
|
+
"grid": "#c7c9ce",
|
|
34
|
+
"snapGrid": "#5d5d5d",
|
|
35
|
+
"snapGuide": "#1c6085",
|
|
36
|
+
"snapPage": "#775519",
|
|
37
|
+
"snapElement": "#b01919",
|
|
38
|
+
"selectionStroke": "#3822f6",
|
|
39
39
|
"selectionAnchorFill": "#ffffff",
|
|
40
|
-
"placeholderFill": "#
|
|
41
|
-
"placeholderStroke": "#
|
|
42
|
-
"brokenFill": "#
|
|
43
|
-
"brokenStroke": "#
|
|
40
|
+
"placeholderFill": "#f4f5fb",
|
|
41
|
+
"placeholderStroke": "#c7c9ce",
|
|
42
|
+
"brokenFill": "#edeff5",
|
|
43
|
+
"brokenStroke": "#5d5d5d"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"dark": {
|
|
47
|
-
"background": "
|
|
48
|
-
"foreground": "0 0%
|
|
49
|
-
"card": "244
|
|
50
|
-
"cardForeground": "0 0%
|
|
51
|
-
"popover": "
|
|
52
|
-
"popoverForeground": "0 0%
|
|
53
|
-
"primary": "
|
|
47
|
+
"background": "246.6667 31.0345% 5.6863%",
|
|
48
|
+
"foreground": "0 0% 84.3137%",
|
|
49
|
+
"card": "244.2857 22.5806% 12.1569%",
|
|
50
|
+
"cardForeground": "0 0% 84.3137%",
|
|
51
|
+
"popover": "242.7273 18.9655% 22.7451%",
|
|
52
|
+
"popoverForeground": "0 0% 84.3137%",
|
|
53
|
+
"primary": "245.5556 93.1034% 88.6275%",
|
|
54
54
|
"primaryForeground": "0 0% 0%",
|
|
55
|
-
"secondary": "
|
|
56
|
-
"secondaryForeground": "0 0%
|
|
57
|
-
"muted": "
|
|
58
|
-
"mutedForeground": "
|
|
59
|
-
"accent": "
|
|
60
|
-
"accentForeground": "0 0%
|
|
61
|
-
"destructive": "
|
|
55
|
+
"secondary": "243.3333 20.4545% 17.2549%",
|
|
56
|
+
"secondaryForeground": "0 0% 84.3137%",
|
|
57
|
+
"muted": "243.3333 20.4545% 17.2549%",
|
|
58
|
+
"mutedForeground": "0 0% 67.0588%",
|
|
59
|
+
"accent": "243.3333 20.4545% 17.2549%",
|
|
60
|
+
"accentForeground": "0 0% 84.3137%",
|
|
61
|
+
"destructive": "0 74.4681% 90.7843%",
|
|
62
62
|
"destructiveForeground": "0 0% 0%",
|
|
63
|
-
"border": "
|
|
64
|
-
"input": "
|
|
65
|
-
"ring": "
|
|
66
|
-
"success": "
|
|
67
|
-
"warning": "
|
|
63
|
+
"border": "245 18.4615% 25.4902%",
|
|
64
|
+
"input": "0 0% 67.0588%",
|
|
65
|
+
"ring": "245.5556 93.1034% 88.6275%",
|
|
66
|
+
"success": "155.1429 64.8148% 78.8235%",
|
|
67
|
+
"warning": "38.5714 65.1163% 83.1373%",
|
|
68
68
|
"successForeground": "0 0% 0%",
|
|
69
69
|
"warningForeground": "0 0% 0%",
|
|
70
|
-
"warningStrong": "
|
|
71
|
-
"inputFill": "hsl(
|
|
72
|
-
"canvasBackdrop": "
|
|
73
|
-
"borderSoft": "hsl(
|
|
74
|
-
"cardEdge": "hsl(
|
|
70
|
+
"warningStrong": "38.5714 65.1163% 83.1373%",
|
|
71
|
+
"inputFill": "hsl(245 26.087% 9.0196%)",
|
|
72
|
+
"canvasBackdrop": "hsl(240 33.3333% 2.3529%)",
|
|
73
|
+
"borderSoft": "hsl(245 18.4615% 25.4902%)",
|
|
74
|
+
"cardEdge": "hsl(245 18.4615% 25.4902%)",
|
|
75
75
|
"canvasRender": {
|
|
76
|
-
"grid": "#
|
|
77
|
-
"snapGrid": "#
|
|
78
|
-
"snapGuide": "#
|
|
79
|
-
"snapPage": "#
|
|
80
|
-
"snapElement": "#
|
|
81
|
-
"selectionStroke": "#
|
|
82
|
-
"selectionAnchorFill": "#
|
|
83
|
-
"placeholderFill": "#
|
|
84
|
-
"placeholderStroke": "#
|
|
85
|
-
"brokenFill": "#
|
|
86
|
-
"brokenStroke": "#
|
|
76
|
+
"grid": "#37354d",
|
|
77
|
+
"snapGrid": "#ababab",
|
|
78
|
+
"snapGuide": "#c4e2f3",
|
|
79
|
+
"snapPage": "#f0dcb8",
|
|
80
|
+
"snapElement": "#f9d6d6",
|
|
81
|
+
"selectionStroke": "#ccc7fd",
|
|
82
|
+
"selectionAnchorFill": "#302f45",
|
|
83
|
+
"placeholderFill": "#12111d",
|
|
84
|
+
"placeholderStroke": "#37354d",
|
|
85
|
+
"brokenFill": "#242335",
|
|
86
|
+
"brokenStroke": "#ababab"
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
};
|
|
@@ -147,4 +147,4 @@ export {
|
|
|
147
147
|
themeColor,
|
|
148
148
|
themeToCssVars
|
|
149
149
|
};
|
|
150
|
-
//# sourceMappingURL=chunk-
|
|
150
|
+
//# sourceMappingURL=chunk-27QO3AXJ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/theme/brand.generated.ts","../src/theme/theme.ts"],"sourcesContent":["/** GENERATED from @tangle-network/brand/styles/legacy-light.css\n * SHA-256: 8cff6457f4410070d3fcd2ee9384bb5444b0d6fb632e7b8fb860eb42dd121be2\n * Run node src/theme/build.mjs --write; do not edit colors or ratios here. */\nexport const brandThemes = {\n \"light\": {\n \"background\": \"225 26.6667% 94.1176%\",\n \"foreground\": \"0 0% 24.7059%\",\n \"card\": \"0 0% 100%\",\n \"cardForeground\": \"0 0% 24.7059%\",\n \"popover\": \"0 0% 100%\",\n \"popoverForeground\": \"0 0% 24.7059%\",\n \"primary\": \"246.2264 92.1739% 54.902%\",\n \"primaryForeground\": \"0 0% 100%\",\n \"secondary\": \"225 28.5714% 94.5098%\",\n \"secondaryForeground\": \"0 0% 24.7059%\",\n \"muted\": \"225 28.5714% 94.5098%\",\n \"mutedForeground\": \"0 0% 36.4706%\",\n \"accent\": \"225 28.5714% 94.5098%\",\n \"accentForeground\": \"0 0% 24.7059%\",\n \"destructive\": \"0 75.1244% 39.4118%\",\n \"destructiveForeground\": \"0 0% 100%\",\n \"border\": \"222.8571 6.6667% 79.4118%\",\n \"input\": \"0 0% 36.4706%\",\n \"ring\": \"245.9504 54.2601% 56.2745%\",\n \"success\": \"154.8148 64.8% 24.5098%\",\n \"warning\": \"38.2979 65.2778% 28.2353%\",\n \"successForeground\": \"0 0% 100%\",\n \"warningForeground\": \"0 0% 100%\",\n \"warningStrong\": \"38.2979 65.2778% 28.2353%\",\n \"inputFill\": \"hsl(231.4286 46.6667% 97.0588%)\",\n \"canvasBackdrop\": \"hsl(231.4286 11.4754% 88.0392%)\",\n \"borderSoft\": \"hsl(222.8571 6.6667% 79.4118%)\",\n \"cardEdge\": \"hsl(222.8571 6.6667% 79.4118%)\",\n \"canvasRender\": {\n \"grid\": \"#c7c9ce\",\n \"snapGrid\": \"#5d5d5d\",\n \"snapGuide\": \"#1c6085\",\n \"snapPage\": \"#775519\",\n \"snapElement\": \"#b01919\",\n \"selectionStroke\": \"#3822f6\",\n \"selectionAnchorFill\": \"#ffffff\",\n \"placeholderFill\": \"#f4f5fb\",\n \"placeholderStroke\": \"#c7c9ce\",\n \"brokenFill\": \"#edeff5\",\n \"brokenStroke\": \"#5d5d5d\"\n }\n },\n \"dark\": {\n \"background\": \"246.6667 31.0345% 5.6863%\",\n \"foreground\": \"0 0% 84.3137%\",\n \"card\": \"244.2857 22.5806% 12.1569%\",\n \"cardForeground\": \"0 0% 84.3137%\",\n \"popover\": \"242.7273 18.9655% 22.7451%\",\n \"popoverForeground\": \"0 0% 84.3137%\",\n \"primary\": \"245.5556 93.1034% 88.6275%\",\n \"primaryForeground\": \"0 0% 0%\",\n \"secondary\": \"243.3333 20.4545% 17.2549%\",\n \"secondaryForeground\": \"0 0% 84.3137%\",\n \"muted\": \"243.3333 20.4545% 17.2549%\",\n \"mutedForeground\": \"0 0% 67.0588%\",\n \"accent\": \"243.3333 20.4545% 17.2549%\",\n \"accentForeground\": \"0 0% 84.3137%\",\n \"destructive\": \"0 74.4681% 90.7843%\",\n \"destructiveForeground\": \"0 0% 0%\",\n \"border\": \"245 18.4615% 25.4902%\",\n \"input\": \"0 0% 67.0588%\",\n \"ring\": \"245.5556 93.1034% 88.6275%\",\n \"success\": \"155.1429 64.8148% 78.8235%\",\n \"warning\": \"38.5714 65.1163% 83.1373%\",\n \"successForeground\": \"0 0% 0%\",\n \"warningForeground\": \"0 0% 0%\",\n \"warningStrong\": \"38.5714 65.1163% 83.1373%\",\n \"inputFill\": \"hsl(245 26.087% 9.0196%)\",\n \"canvasBackdrop\": \"hsl(240 33.3333% 2.3529%)\",\n \"borderSoft\": \"hsl(245 18.4615% 25.4902%)\",\n \"cardEdge\": \"hsl(245 18.4615% 25.4902%)\",\n \"canvasRender\": {\n \"grid\": \"#37354d\",\n \"snapGrid\": \"#ababab\",\n \"snapGuide\": \"#c4e2f3\",\n \"snapPage\": \"#f0dcb8\",\n \"snapElement\": \"#f9d6d6\",\n \"selectionStroke\": \"#ccc7fd\",\n \"selectionAnchorFill\": \"#302f45\",\n \"placeholderFill\": \"#12111d\",\n \"placeholderStroke\": \"#37354d\",\n \"brokenFill\": \"#242335\",\n \"brokenStroke\": \"#ababab\"\n }\n }\n} as const\n","/** Brand-derived HSL compatibility and bitmap snapshots. Regenerate with src/theme/build.mjs; never author a second palette here. */\nimport { brandThemes } from './brand.generated'\n\nexport interface AgentAppTheme {\n background: string\n foreground: string\n card: string\n cardForeground: string\n popover: string\n popoverForeground: string\n primary: string\n primaryForeground: string\n secondary: string\n secondaryForeground: string\n muted: string\n mutedForeground: string\n accent: string\n accentForeground: string\n destructive: string\n destructiveForeground: string\n border: string\n input: string\n /** Full field fill, distinct from the input border. Optional for existing custom themes. */\n inputFill?: string\n ring: string\n success: string\n successForeground: string\n warning: string\n warningForeground: string\n /**\n * Warning as TEXT on a warning-TINTED surface, as a channel triple. Optional\n * so a consumer's existing `AgentAppTheme` literal still type-checks;\n * {@link themeToCssVars} falls back to `warningForeground`, which is what the\n * surface used before this token existed.\n */\n warningStrong?: string\n /** Full CSS color (not a triple) — the canvas/scene backdrop. */\n canvasBackdrop: string\n /**\n * Border tiers as FULL CSS colors (they are `color-mix()` results, not\n * triples). Optional so a consumer's existing `AgentAppTheme` literal still\n * type-checks; {@link themeToCssVars} falls back to full-strength\n * `hsl(var(--border))`, which can never erase an edge.\n */\n borderSoft?: string\n /** @see borderSoft */\n cardEdge?: string\n /** Konva render palette — full hex colors the bitmap canvas paints with\n * (it cannot resolve `var(--…)`). NOT emitted by themeToCssVars. */\n canvasRender: CanvasRenderPalette\n}\n\n/**\n * Colors the Konva design-canvas paints directly. Konva renders to a bitmap\n * and cannot read CSS custom properties, so these are full hex strings sourced\n * from the active theme and threaded through the canvas components.\n */\nexport interface CanvasRenderPalette {\n /** Grid line color (GridLayer). */\n grid: string\n /** Grid-snap guide line (SnapGuidesOverlay, kind 'grid'). */\n snapGrid: string\n /** Saved ruler-guide snap line (kind 'guide'). */\n snapGuide: string\n /** Page edge/center snap line (kinds 'page-edge'/'page-center'). */\n snapPage: string\n /** Element edge/center snap line (kinds 'element-edge'/'element-center'). */\n snapElement: string\n /** Transformer border + anchor stroke (SelectionLayer). */\n selectionStroke: string\n /** Transformer anchor fill (SelectionLayer). */\n selectionAnchorFill: string\n /** Video placeholder fill (ElementNode VideoNode). */\n placeholderFill: string\n /** Video placeholder stroke (ElementNode VideoNode). */\n placeholderStroke: string\n /** Broken/loading image placeholder fill (ElementNode ImageNode). */\n brokenFill: string\n /** Broken/loading image placeholder stroke (ElementNode ImageNode). */\n brokenStroke: string\n}\n\n/** Define a light color theme with specific background, foreground, and accent color values */\nexport const lightTheme: AgentAppTheme = brandThemes.light\n\n/** Canonical Brand dark values projected for legacy JS and bitmap callers. */\nexport const darkTheme: AgentAppTheme = brandThemes.dark\n\n/**\n * Wrap a channel triple in `hsl()`; pass through values already in a color form.\n * `oklch(…)` / `oklab(…)` / `color-mix(…)` are recognised because the ramp is\n * authored in oklch and the border tiers are colour mixes — wrapping either in\n * `hsl()` yields an invalid colour that paints as nothing.\n */\nexport function themeColor(value: string): string {\n return /^(hsl|rgb|oklch|oklab|lch|lab|color|color-mix|#)/.test(value) ? value : `hsl(${value})`\n}\n\n/**\n * Map a theme to the full CSS-variable set (shadcn triples + canvas/sequences\n * aliases + canvas surface). Apply at runtime to scope a theme without loading\n * tokens.css: `Object.assign(el.style, themeToCssVars(darkTheme))`.\n */\nexport function themeToCssVars(theme: AgentAppTheme): Record<string, string> {\n return {\n '--background': theme.background,\n '--foreground': theme.foreground,\n '--card': theme.card,\n '--card-foreground': theme.cardForeground,\n '--popover': theme.popover,\n '--popover-foreground': theme.popoverForeground,\n '--primary': theme.primary,\n '--primary-foreground': theme.primaryForeground,\n '--secondary': theme.secondary,\n '--secondary-foreground': theme.secondaryForeground,\n '--muted': theme.muted,\n '--muted-foreground': theme.mutedForeground,\n '--accent': theme.accent,\n '--accent-foreground': theme.accentForeground,\n '--destructive': theme.destructive,\n '--destructive-foreground': theme.destructiveForeground,\n '--border': theme.border,\n '--input': theme.input,\n '--ring': theme.ring,\n '--success': theme.success,\n '--success-foreground': theme.successForeground,\n '--warning': theme.warning,\n '--warning-foreground': theme.warningForeground,\n // Falls back to the pairing the tinted surfaces used before this token\n // existed, so an unset value restores the previous look rather than an\n // unthemed one.\n '--warning-strong': theme.warningStrong ?? theme.warningForeground,\n '--bg-input': theme.inputFill ?? `hsl(${theme.card})`,\n '--text-primary': `hsl(${theme.foreground})`,\n '--text-secondary': `hsl(${theme.secondaryForeground})`,\n '--text-muted': `hsl(${theme.mutedForeground})`,\n '--text-danger': `hsl(${theme.destructive})`,\n '--text-warning': `hsl(${theme.warningStrong ?? theme.warningForeground})`,\n '--border-default': `hsl(${theme.border})`,\n '--brand-primary': `hsl(${theme.primary})`,\n '--editor-selection-background': `hsl(${theme.primary})`,\n '--editor-selection-foreground': `hsl(${theme.primaryForeground})`,\n '--canvas-backdrop': theme.canvasBackdrop,\n // Full strength is the safe default: an unset tier can under-draw an edge,\n // never erase one.\n '--border-soft': theme.borderSoft ?? `hsl(${theme.border})`,\n '--card-edge': theme.cardEdge ?? `hsl(${theme.border})`,\n }\n}\n"],"mappings":";AAGO,IAAM,cAAc;AAAA,EACzB,SAAS;AAAA,IACP,cAAc;AAAA,IACd,cAAc;AAAA,IACd,QAAQ;AAAA,IACR,kBAAkB;AAAA,IAClB,WAAW;AAAA,IACX,qBAAqB;AAAA,IACrB,WAAW;AAAA,IACX,qBAAqB;AAAA,IACrB,aAAa;AAAA,IACb,uBAAuB;AAAA,IACvB,SAAS;AAAA,IACT,mBAAmB;AAAA,IACnB,UAAU;AAAA,IACV,oBAAoB;AAAA,IACpB,eAAe;AAAA,IACf,yBAAyB;AAAA,IACzB,UAAU;AAAA,IACV,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,WAAW;AAAA,IACX,qBAAqB;AAAA,IACrB,qBA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AAM,MAAM;AAAA,IACxD,eAAe,MAAM,YAAY,OAAO,MAAM,MAAM;AAAA,EACtD;AACF;","names":[]}
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
darkTheme,
|
|
3
3
|
lightTheme,
|
|
4
4
|
themeColor
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-27QO3AXJ.js";
|
|
6
6
|
|
|
7
7
|
// src/theme/dom.ts
|
|
8
8
|
var LIGHT_THEME_COLOR = themeColor(lightTheme.background);
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
syncThemePreference,
|
|
50
50
|
THEME_BOOTSTRAP_SCRIPT
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=chunk-
|
|
52
|
+
//# sourceMappingURL=chunk-2V7YCTYU.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
OPENUI_NODE_JSON_SCHEMA,
|
|
6
6
|
OPENUI_NODE_TYPES
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7MVMNCRP.js";
|
|
8
8
|
|
|
9
9
|
// src/tools/openai.ts
|
|
10
10
|
var APP_TOOL_NAMES = ["submit_proposal", "schedule_followup", "render_ui", "add_citation"];
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
customToolToOpenAI,
|
|
118
118
|
findCustomTool
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-3KJAPMZB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
validateOpenUIJsonNode
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7MVMNCRP.js";
|
|
4
4
|
import {
|
|
5
5
|
ToolInputError
|
|
6
6
|
} from "./chunk-F4XBNR5L.js";
|
|
@@ -27,4 +27,4 @@ function parseRenderUiSchema(value) {
|
|
|
27
27
|
export {
|
|
28
28
|
parseRenderUiSchema
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-7JUQQEQY.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// node_modules/.pnpm/@tangle-network+ui@11.48.0_@hocuspocus+provider@4.7.1_y-protocols@1.0.7_yjs@13.6.
|
|
1
|
+
// node_modules/.pnpm/@tangle-network+ui@11.48.0_@hocuspocus+provider@4.7.1_y-protocols@1.0.7_yjs@13.6.33__yj_4c3a92994738faffc749ca21d48d3d85/node_modules/@tangle-network/ui/dist/openui/schema-data.js
|
|
2
2
|
var OPENUI_NODE_TYPES = [
|
|
3
3
|
"heading",
|
|
4
4
|
"text",
|
|
@@ -197,7 +197,7 @@ var OPENUI_NODE_JSON_SCHEMA = {
|
|
|
197
197
|
}
|
|
198
198
|
};
|
|
199
199
|
|
|
200
|
-
// node_modules/.pnpm/@tangle-network+ui@11.48.0_@hocuspocus+provider@4.7.1_y-protocols@1.0.7_yjs@13.6.
|
|
200
|
+
// node_modules/.pnpm/@tangle-network+ui@11.48.0_@hocuspocus+provider@4.7.1_y-protocols@1.0.7_yjs@13.6.33__yj_4c3a92994738faffc749ca21d48d3d85/node_modules/@tangle-network/ui/dist/_virtual/_rolldown/runtime.js
|
|
201
201
|
var __defProp = Object.defineProperty;
|
|
202
202
|
var __exportAll = (all, no_symbols) => {
|
|
203
203
|
let target = {};
|
|
@@ -209,7 +209,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
209
209
|
return target;
|
|
210
210
|
};
|
|
211
211
|
|
|
212
|
-
// node_modules/.pnpm/@tangle-network+ui@11.48.0_@hocuspocus+provider@4.7.1_y-protocols@1.0.7_yjs@13.6.
|
|
212
|
+
// node_modules/.pnpm/@tangle-network+ui@11.48.0_@hocuspocus+provider@4.7.1_y-protocols@1.0.7_yjs@13.6.33__yj_4c3a92994738faffc749ca21d48d3d85/node_modules/@tangle-network/ui/dist/openui/schema-compiled.js
|
|
213
213
|
var schema_compiled_exports = /* @__PURE__ */ __exportAll({
|
|
214
214
|
actions: () => actions2,
|
|
215
215
|
badge: () => badge,
|
|
@@ -9508,7 +9508,7 @@ function validate44(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
9508
9508
|
return errors === 0;
|
|
9509
9509
|
}
|
|
9510
9510
|
|
|
9511
|
-
// node_modules/.pnpm/@tangle-network+ui@11.48.0_@hocuspocus+provider@4.7.1_y-protocols@1.0.7_yjs@13.6.
|
|
9511
|
+
// node_modules/.pnpm/@tangle-network+ui@11.48.0_@hocuspocus+provider@4.7.1_y-protocols@1.0.7_yjs@13.6.33__yj_4c3a92994738faffc749ca21d48d3d85/node_modules/@tangle-network/ui/dist/openui-schema.js
|
|
9512
9512
|
var nodeTypes = new Set(OPENUI_NODE_TYPES);
|
|
9513
9513
|
function findUnsupportedOpenUINode(value) {
|
|
9514
9514
|
const seen = /* @__PURE__ */ new WeakSet();
|
|
@@ -9621,4 +9621,4 @@ export {
|
|
|
9621
9621
|
OPENUI_NODE_JSON_SCHEMA,
|
|
9622
9622
|
validateOpenUIJsonNode
|
|
9623
9623
|
};
|
|
9624
|
-
//# sourceMappingURL=chunk-
|
|
9624
|
+
//# sourceMappingURL=chunk-7MVMNCRP.js.map
|