camox 0.56.0 → 0.57.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/features/canvas/CanvasPageHeader.js +1 -1
- package/dist/features/canvas/canvasFrameDocument.js +13 -6
- package/dist/features/preview/components/Frame.js +1 -18
- package/dist/features/preview/components/SidebarStack.js +193 -106
- package/dist/features/preview/components/previewStyles.js +25 -1
- package/dist/features/renderer/RendererApp.js +55 -37
- package/dist/features/studio/components/AgentSidebar.js +4 -4
- package/dist/features/studio/components/ChatWidget.js +62 -80
- package/dist/features/studio/components/Patrol.js +676 -0
- package/dist/features/studio/components/Squareling.js +169 -84
- package/dist/features/studio/components/ThreadMessages.js +155 -58
- package/dist/features/studio/localeOptions.js +7 -3
- package/dist/features/studio/reportSentence.js +75 -0
- package/dist/features/studio/routes.js +2 -1
- package/dist/features/studio/showInCanvas.js +9 -2
- package/dist/features/studio/workingSentence.js +55 -0
- package/dist/lib/studio-reads.d.ts +1 -0
- package/dist/lib/studio-reads.js +5 -0
- package/dist/lib/use-thread.js +156 -190
- package/dist/package.js +1 -1
- package/dist/studio.css +1 -1
- package/package.json +4 -4
- package/dist/features/studio/components/WorkersWidget.js +0 -52
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "camox",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.57.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bin": {
|
|
6
6
|
"camox": "./bin/camox.mjs"
|
|
@@ -135,9 +135,9 @@
|
|
|
135
135
|
"takumi-js": "^2.18.1",
|
|
136
136
|
"unhead": "^3.4.3",
|
|
137
137
|
"zod": "^4.6.7",
|
|
138
|
-
"@camox/api-contract": "0.
|
|
139
|
-
"@camox/cli": "0.
|
|
140
|
-
"@camox/ui": "0.
|
|
138
|
+
"@camox/api-contract": "0.57.0",
|
|
139
|
+
"@camox/cli": "0.57.0",
|
|
140
|
+
"@camox/ui": "0.57.0"
|
|
141
141
|
},
|
|
142
142
|
"devDependencies": {
|
|
143
143
|
"@earendil-works/pi-ai": "1.3.0",
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { cn } from "../../../lib/utils.js";
|
|
2
|
-
import { BOTTOM_CARD_EDGES, CARD_BODY_EDGES } from "../../preview/components/SidebarStack.js";
|
|
3
|
-
import { c } from "react/compiler-runtime";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
|
|
6
|
-
//#region src/features/studio/components/WorkersWidget.tsx
|
|
7
|
-
/** The Agent Sidebar's Workers widget, over the Chat widget. A placeholder for now. */
|
|
8
|
-
function WorkersWidget(t0) {
|
|
9
|
-
const $ = c(6);
|
|
10
|
-
const { className } = t0;
|
|
11
|
-
let t1;
|
|
12
|
-
if ($[0] !== className) {
|
|
13
|
-
t1 = cn("flex flex-col", className);
|
|
14
|
-
$[0] = className;
|
|
15
|
-
$[1] = t1;
|
|
16
|
-
} else t1 = $[1];
|
|
17
|
-
let t2;
|
|
18
|
-
let t3;
|
|
19
|
-
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
20
|
-
t2 = /* @__PURE__ */ jsx("header", {
|
|
21
|
-
className: cn("bg-background flex h-11 min-w-0 shrink-0 items-center justify-center px-3", BOTTOM_CARD_EDGES),
|
|
22
|
-
children: /* @__PURE__ */ jsx("h2", {
|
|
23
|
-
className: "truncate text-sm font-medium",
|
|
24
|
-
children: "Workers"
|
|
25
|
-
})
|
|
26
|
-
});
|
|
27
|
-
t3 = /* @__PURE__ */ jsx("div", {
|
|
28
|
-
className: cn("bg-background text-muted-foreground flex min-h-0 flex-1 items-center justify-center p-4 text-sm", CARD_BODY_EDGES),
|
|
29
|
-
children: "No workers yet"
|
|
30
|
-
});
|
|
31
|
-
$[2] = t2;
|
|
32
|
-
$[3] = t3;
|
|
33
|
-
} else {
|
|
34
|
-
t2 = $[2];
|
|
35
|
-
t3 = $[3];
|
|
36
|
-
}
|
|
37
|
-
let t4;
|
|
38
|
-
if ($[4] !== t1) {
|
|
39
|
-
t4 = /* @__PURE__ */ jsxs("section", {
|
|
40
|
-
"aria-label": "Workers",
|
|
41
|
-
"data-workers-widget": true,
|
|
42
|
-
className: t1,
|
|
43
|
-
children: [t2, t3]
|
|
44
|
-
});
|
|
45
|
-
$[4] = t1;
|
|
46
|
-
$[5] = t4;
|
|
47
|
-
} else t4 = $[5];
|
|
48
|
-
return t4;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
//#endregion
|
|
52
|
-
export { WorkersWidget };
|