camox 0.72.0 → 0.75.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/core/lib/artifactRuntime.js +4 -2
- package/dist/features/preview/components/PageInfo.js +121 -98
- package/dist/features/preview/components/SelectionEditor.js +1 -1
- package/dist/features/renderer/RendererFrames.js +47 -41
- package/dist/features/routes/pageRuntime.js +15 -4
- package/dist/features/runtime/ClaimCard.js +192 -0
- package/dist/features/runtime/pageApp.js +4 -3
- package/dist/features/runtime/runtime.js +26 -5
- package/dist/features/runtime/worker.js +2 -2
- package/dist/features/runtime/workerRequest.d.ts +6 -0
- package/dist/features/runtime/workerRequest.js +13 -1
- package/dist/features/runtime/workerRuntime.d.ts +2 -2
- package/dist/features/runtime/workerRuntime.js +2 -2
- package/dist/features/studio/components/AgentSidebar.js +7 -7
- package/dist/features/studio/components/ChatWidget.js +142 -106
- package/dist/features/studio/components/ContentFindings.js +127 -230
- package/dist/features/studio/components/DeleteDraftDialog.js +112 -0
- package/dist/features/studio/components/DraftBar.js +98 -53
- package/dist/features/studio/components/DraftsControl.js +203 -190
- package/dist/features/studio/components/ReviewDraftDialog.js +670 -0
- package/dist/features/studio/components/{Patrol.js → Specialists.js} +291 -330
- package/dist/features/studio/components/Squareling.js +5 -5
- package/dist/features/studio/components/ThreadComposer.js +106 -127
- package/dist/features/studio/components/ThreadMessages.js +246 -71
- package/dist/features/studio/findingSentence.js +14 -12
- package/dist/features/studio/fixMessage.js +23 -0
- package/dist/features/studio/reportSentence.js +1 -1
- package/dist/features/studio/{patrollerBio.js → specialistBio.js} +8 -5
- package/dist/features/studio/studioStore.js +29 -15
- package/dist/features/studio/workingSentence.js +1 -1
- package/dist/lib/api-client.js +5 -1
- package/dist/lib/queries.js +5 -5
- package/dist/lib/studio-reads.d.ts +1 -1
- package/dist/lib/studio-reads.js +5 -5
- package/dist/package.js +1 -1
- package/dist/studio.css +1 -1
- package/package.json +4 -4
- package/dist/features/studio/components/ReviewDraftSheet.js +0 -1587
package/dist/lib/studio-reads.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useSwitchHold } from "./view-switch.js";
|
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { inScope, queryKeys, scopeOfKey } from "@camox/api-contract/query-keys";
|
|
9
|
-
import {
|
|
9
|
+
import { SPECIALIST_IDS } from "@camox/api-contract/specialists";
|
|
10
10
|
import { useQueries, useQuery, useQueryClient, useSuspenseQuery } from "@tanstack/react-query";
|
|
11
11
|
|
|
12
12
|
//#region src/lib/studio-reads.ts
|
|
@@ -203,12 +203,12 @@ const reads = {
|
|
|
203
203
|
fetch: ({ apiIn, signal }, { projectId, draftId }) => apiIn(draftId).drafts.get({ projectId }, { signal }),
|
|
204
204
|
staleTime: Infinity
|
|
205
205
|
}),
|
|
206
|
-
|
|
207
|
-
key: ({ projectId }) => [...queryKeys.
|
|
206
|
+
specialists: entry({
|
|
207
|
+
key: ({ projectId }) => [...queryKeys.specialists.get, projectId],
|
|
208
208
|
everyLocale: true,
|
|
209
|
-
fetch: ({ api, signal }, { projectId }) => api.
|
|
209
|
+
fetch: ({ api, signal }, { projectId }) => api.specialists.get({
|
|
210
210
|
projectId,
|
|
211
|
-
|
|
211
|
+
specialists: [...SPECIALIST_IDS]
|
|
212
212
|
}, { signal })
|
|
213
213
|
}),
|
|
214
214
|
publishPreview: entry({
|
package/dist/package.js
CHANGED