@burdenoff/microfe-labsofscience 2026.820.5 → 2026.827.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/labsofscience/hooks/index.d.ts +1 -1
- package/dist/labsofscience/hooks/index.d.ts.map +1 -1
- package/dist/labsofscience/hooks/useLabsOfScienceApi.d.ts +11 -2
- package/dist/labsofscience/hooks/useLabsOfScienceApi.d.ts.map +1 -1
- package/dist/labsofscience/hooks/useLabsOfScienceApi.js +84 -54
- package/dist/labsofscience/hooks/useLabsOfScienceApi.js.map +1 -1
- package/dist/labsofscience/pages/ai/aiReaders.d.ts +28 -0
- package/dist/labsofscience/pages/ai/aiReaders.d.ts.map +1 -1
- package/dist/labsofscience/pages/ai/aiReaders.js +14 -1
- package/dist/labsofscience/pages/ai/aiReaders.js.map +1 -1
- package/dist/labsofscience/pages/analytics/AnalyticsPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/analytics/AnalyticsPage.js +168 -106
- package/dist/labsofscience/pages/analytics/AnalyticsPage.js.map +1 -1
- package/dist/labsofscience/pages/datasets/DatasetDetailPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/datasets/DatasetDetailPage.js +98 -78
- package/dist/labsofscience/pages/datasets/DatasetDetailPage.js.map +1 -1
- package/dist/labsofscience/pages/experiments/AcceptRecommendationDialog.d.ts +25 -0
- package/dist/labsofscience/pages/experiments/AcceptRecommendationDialog.d.ts.map +1 -0
- package/dist/labsofscience/pages/experiments/AcceptRecommendationDialog.js +104 -0
- package/dist/labsofscience/pages/experiments/AcceptRecommendationDialog.js.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentAiPanel.d.ts +30 -0
- package/dist/labsofscience/pages/experiments/ExperimentAiPanel.d.ts.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentAiPanel.js +151 -0
- package/dist/labsofscience/pages/experiments/ExperimentAiPanel.js.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.js +25 -17
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.js.map +1 -1
- package/dist/labsofscience/pages/experiments/ExperimentsListPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/experiments/ExperimentsListPage.js +118 -82
- package/dist/labsofscience/pages/experiments/ExperimentsListPage.js.map +1 -1
- package/dist/labsofscience/pages/instruments/BookInstrumentDialog.d.ts +10 -2
- package/dist/labsofscience/pages/instruments/BookInstrumentDialog.d.ts.map +1 -1
- package/dist/labsofscience/pages/instruments/BookInstrumentDialog.js +165 -53
- package/dist/labsofscience/pages/instruments/BookInstrumentDialog.js.map +1 -1
- package/dist/labsofscience/pages/instruments/InstrumentsListPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/instruments/InstrumentsListPage.js +158 -122
- package/dist/labsofscience/pages/instruments/InstrumentsListPage.js.map +1 -1
- package/dist/labsofscience/pages/inventory/AdjustInventoryDialog.d.ts.map +1 -1
- package/dist/labsofscience/pages/inventory/AdjustInventoryDialog.js +171 -54
- package/dist/labsofscience/pages/inventory/AdjustInventoryDialog.js.map +1 -1
- package/dist/labsofscience/pages/inventory/InventoryListPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/inventory/InventoryListPage.js +21 -0
- package/dist/labsofscience/pages/inventory/InventoryListPage.js.map +1 -1
- package/dist/labsofscience/pages/notebook/NotebookEntryDetailPage.js +4 -4
- package/dist/labsofscience/pages/pipelines/PipelinesPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/pipelines/PipelinesPage.js +172 -123
- package/dist/labsofscience/pages/pipelines/PipelinesPage.js.map +1 -1
- package/dist/labsofscience/pages/projects/ProjectsListPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/projects/ProjectsListPage.js +9 -0
- package/dist/labsofscience/pages/projects/ProjectsListPage.js.map +1 -1
- package/dist/labsofscience/pages/protocols/ProtocolDetailPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/protocols/ProtocolDetailPage.js +186 -124
- package/dist/labsofscience/pages/protocols/ProtocolDetailPage.js.map +1 -1
- package/dist/labsofscience/types/index.d.ts +20 -0
- package/dist/labsofscience/types/index.d.ts.map +1 -1
- package/dist/labsofscience/utils/formatters.d.ts +13 -0
- package/dist/labsofscience/utils/formatters.d.ts.map +1 -1
- package/dist/labsofscience/utils/formatters.js +28 -7
- package/dist/labsofscience/utils/formatters.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* Hooks Index
|
|
3
3
|
* @module labsofscience/hooks
|
|
4
4
|
*/
|
|
5
|
-
export { useProjects, useProject, useCreateProject, useUpdateProject, useArchiveProject, useExperiments, useExperiment, useCreateExperiment, useUpdateExperiment, useTransitionExperiment, useRuns, useStartRun, useCompleteRun, useNotebookEntries, useNotebookEntry, useCreateNotebookEntry, useSignNotebookEntry, useWitnessNotebookEntry, useProtocols, useProtocol, useCreateProtocol, useUpdateProtocol, usePublishProtocol, useDatasets, useDataset, useCreateDataset, useArchiveDataset, usePipelines, useCreatePipeline, usePipelineRuns, useRunPipeline, useTransitionPipelineRun, useInventoryItems, useInventoryItem, useCreateInventoryItem, useAdjustInventory, useArchiveInventoryItem, useInstruments, useInstrument, useCreateInstrument, useCancelBooking, useAiModelCatalog, useWorkspaceAiConfig, useSetWorkspaceAiModel, useSetWorkspaceAutoPilot, useAgentRuns, useAgentRun, useSuggestProtocol, useRecommendNextRun, useOverrideAgentRun, useExperimentAiContext, useResearchAnalytics, useWorkspaceTotals, useLabRecentActivity, LabApiError, } from './useLabsOfScienceApi';
|
|
5
|
+
export { useProjects, useProject, useCreateProject, useUpdateProject, useArchiveProject, useExperiments, useExperiment, useCreateExperiment, useUpdateExperiment, useTransitionExperiment, useRuns, useStartRun, usePlanRun, useCompleteRun, useNotebookEntries, useNotebookEntry, useCreateNotebookEntry, useSignNotebookEntry, useWitnessNotebookEntry, useProtocols, useProtocol, useCreateProtocol, useUpdateProtocol, usePublishProtocol, useDatasets, useDataset, useCreateDataset, useArchiveDataset, usePipelines, useCreatePipeline, usePipelineRuns, useRunPipeline, useTransitionPipelineRun, useInventoryItems, useInventoryItem, useCreateInventoryItem, useAdjustInventory, useArchiveInventoryItem, useInstruments, useInstrument, useCreateInstrument, useCancelBooking, useAiModelCatalog, useWorkspaceAiConfig, useSetWorkspaceAiModel, useSetWorkspaceAutoPilot, useAgentRuns, useAgentRun, useSuggestProtocol, useRecommendNextRun, useOverrideAgentRun, useExperimentAiContext, useResearchAnalytics, useWorkspaceTotals, useLabRecentActivity, LabApiError, } from './useLabsOfScienceApi';
|
|
6
6
|
export { useLabActorNames, type UseLabActorNamesResult } from './useLabActorNames';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/labsofscience/hooks/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEL,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EAEjB,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EAEvB,OAAO,EACP,WAAW,EACX,cAAc,EAEd,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,EAEvB,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAElB,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,iBAAiB,EAEjB,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,wBAAwB,EAExB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,uBAAuB,EAEvB,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,gBAAgB,EAEhB,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EAEtB,oBAAoB,EAEpB,kBAAkB,EAClB,oBAAoB,EACpB,WAAW,GACZ,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/labsofscience/hooks/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEL,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EAEjB,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EAEvB,OAAO,EACP,WAAW,EACX,UAAU,EACV,cAAc,EAEd,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,EAEvB,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAElB,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,iBAAiB,EAEjB,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,wBAAwB,EAExB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,uBAAuB,EAEvB,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,gBAAgB,EAEhB,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EAEtB,oBAAoB,EAEpB,kBAAkB,EAClB,oBAAoB,EACpB,WAAW,GACZ,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LabActivityFeedItem, LabAddDatasetVersionInput, LabAddProtocolStepInput, LabAgentRun, LabAgentRunOverride, LabAiModelInfo, LabBookInstrumentInput, LabAdjustInventoryInput, LabAnalysisPipeline, LabConnection, LabCreateDatasetInput, LabCreateExperimentInput, LabCreateInstrumentInput, LabCreateInventoryItemInput, LabCreateNotebookEntryInput, LabCreatePipelineInput, LabCreateProjectInput, LabCreateProtocolInput, LabCreateRunInput, LabDataset, LabDatasetDetail, LabDatasetKind, LabDatasetStatus, LabDatasetVersion, LabExperiment, LabExperimentDetail, LabExperimentRun, LabExperimentStatus, LabInstrument, LabInstrumentBooking, LabInstrumentDetail, LabInstrumentStatus, LabInventoryCategory, LabInventoryItem, LabInventoryStatus, LabNotebookEntry, LabNotebookEntryDetail, LabNotebookEntryStatus, LabPipelineRun, LabPipelineRunStatus, LabPipelineRunWithPipeline, LabProvenanceEntityType, LabProvenanceGraph, LabProject, LabProjectStatus, LabProjectWithExperiments, LabProtocol, LabProtocolDetail, LabProtocolStatus, LabProtocolStep, LabRunPipelineInput, LabRunRecommendation, LabRunRecommendationResult, LabRunStatus, LabResearchAnalytics, LabSuggestProtocolInput, LabSuggestedProtocolResult, LabUpdateExperimentInput, LabUpdateProjectInput, LabUpdateProtocolInput, LabWorkspaceAiConfig, LabWorkspaceTotals, PaginationInput } from '../types';
|
|
1
|
+
import { LabActivityFeedItem, LabAddDatasetVersionInput, LabAddProtocolStepInput, LabAgentRun, LabAgentRunOverride, LabAiModelInfo, LabBookInstrumentInput, LabAdjustInventoryInput, LabAnalysisPipeline, LabConnection, LabCreateDatasetInput, LabCreateExperimentInput, LabCreateInstrumentInput, LabCreateInventoryItemInput, LabCreateNotebookEntryInput, LabCreatePipelineInput, LabCreateProjectInput, LabCreateProtocolInput, LabCreateRunInput, LabDataset, LabDatasetDetail, LabDatasetKind, LabDatasetStatus, LabDatasetVersion, LabExperiment, LabExperimentDetail, LabExperimentListItem, LabExperimentRun, LabExperimentStatus, LabInstrument, LabInstrumentBooking, LabInstrumentDetail, LabInstrumentStatus, LabInventoryCategory, LabInventoryItem, LabInventoryStatus, LabNotebookEntry, LabNotebookEntryDetail, LabNotebookEntryStatus, LabPipelineRun, LabPipelineRunStatus, LabPipelineRunWithPipeline, LabProvenanceEntityType, LabProvenanceGraph, LabProject, LabProjectStatus, LabProjectWithExperiments, LabProtocol, LabProtocolDetail, LabProtocolStatus, LabProtocolStep, LabRunPipelineInput, LabRunRecommendation, LabRunRecommendationResult, LabRunStatus, LabResearchAnalytics, LabSuggestProtocolInput, LabSuggestedProtocolResult, LabUpdateExperimentInput, LabUpdateProjectInput, LabUpdateProtocolInput, LabWorkspaceAiConfig, LabWorkspaceTotals, PaginationInput } from '../types';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A GraphQL error from the workspace gateway, preserving the parts of
|
|
@@ -36,7 +36,7 @@ export declare const useExperiments: (params?: {
|
|
|
36
36
|
status?: LabExperimentStatus;
|
|
37
37
|
search?: string;
|
|
38
38
|
pagination?: PaginationInput;
|
|
39
|
-
}) => import('@tanstack/react-query').UseQueryResult<NoInfer<LabConnection<
|
|
39
|
+
}) => import('@tanstack/react-query').UseQueryResult<NoInfer<LabConnection<LabExperimentListItem>>, Error>;
|
|
40
40
|
export declare const useExperiment: (id: string | undefined) => import('@tanstack/react-query').UseQueryResult<NoInfer<LabExperimentDetail | null>, Error>;
|
|
41
41
|
export declare const useCreateExperiment: () => import('@tanstack/react-query').UseMutationResult<LabExperiment, Error, LabCreateExperimentInput, unknown>;
|
|
42
42
|
export declare const useUpdateExperiment: () => import('@tanstack/react-query').UseMutationResult<LabExperiment, Error, {
|
|
@@ -53,6 +53,15 @@ export declare const useRuns: (params?: {
|
|
|
53
53
|
pagination?: PaginationInput;
|
|
54
54
|
}) => import('@tanstack/react-query').UseQueryResult<NoInfer<LabConnection<LabExperimentRun>>, Error>;
|
|
55
55
|
export declare const useStartRun: () => import('@tanstack/react-query').UseMutationResult<LabExperimentRun, Error, LabCreateRunInput, unknown>;
|
|
56
|
+
/**
|
|
57
|
+
* Schedule a run without starting it (`labPlanRun`).
|
|
58
|
+
*
|
|
59
|
+
* The PLANNED state is what a researcher accepting an AI next-run proposal
|
|
60
|
+
* actually wants: the run exists, carries the parameters that were proposed, and
|
|
61
|
+
* is moved to IN_PROGRESS by `labBeginRun` when someone is at the bench. It is a
|
|
62
|
+
* separate mutation from `labStartRun`, which stamps `startedAt` immediately.
|
|
63
|
+
*/
|
|
64
|
+
export declare const usePlanRun: () => import('@tanstack/react-query').UseMutationResult<LabExperimentRun, Error, LabCreateRunInput, unknown>;
|
|
56
65
|
export declare const useCompleteRun: () => import('@tanstack/react-query').UseMutationResult<LabExperimentRun, Error, {
|
|
57
66
|
id: string;
|
|
58
67
|
status: LabRunStatus;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLabsOfScienceApi.d.ts","sourceRoot":"","sources":["../../../src/labsofscience/hooks/useLabsOfScienceApi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAOH,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EACzB,uBAAuB,EACvB,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,uBAAuB,EACvB,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,wBAAwB,EACxB,wBAAwB,EACxB,2BAA2B,EAC3B,2BAA2B,EAC3B,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EACd,oBAAoB,EACpB,0BAA0B,EAC1B,uBAAuB,EACvB,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,yBAAyB,EACzB,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAC1B,YAAY,EACZ,oBAAoB,EACpB,uBAAuB,EACvB,0BAA0B,EAC1B,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EAChB,MAAM,UAAU,CAAC;AAMlB;;;;;;;;;;;GAWG;AACH,qBAAa,WAAY,SAAQ,KAAK;IACpC,kEAAkE;IAClE,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,oFAAoF;IACpF,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;gBAEvB,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAMlE;
|
|
1
|
+
{"version":3,"file":"useLabsOfScienceApi.d.ts","sourceRoot":"","sources":["../../../src/labsofscience/hooks/useLabsOfScienceApi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAOH,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EACzB,uBAAuB,EACvB,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,uBAAuB,EACvB,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,wBAAwB,EACxB,wBAAwB,EACxB,2BAA2B,EAC3B,2BAA2B,EAC3B,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,gB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C;AAEF,sFAAsF;AACtF,eAAO,MAAM,WAAW,GAAI,IAAI,MAAM,GAAG,SAAS,uFAgBjD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,8HAuB9B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;kBAQZ,MAAM;wBACA,MAAM,GAAG,IAAI;WAwBtC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;WAUnB,MAAM;kBACC,MAAM;oBACJ,oBAAoB;UAC9B,MAAM;WAqBjB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,IAAI,MAAM,GAAG,SAAS,oJAqB5D,CAAC;AAWF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,0FAe9B,CAAC;AAMF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,cAAU,0FAyB9C,CAAC;AAmBF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,cAAU,yFAe9C,CAAC;AAMF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAC3B,YAAY,uBAAuB,EACnC,UAAU,MAAM,GAAG,SAAS,EAC5B,iBAAY,uFAiBb,CAAC"}
|
|
@@ -23,7 +23,7 @@ var a = class extends Error {
|
|
|
23
23
|
}
|
|
24
24
|
if (!r.data) throw Error("GraphQL response did not include data");
|
|
25
25
|
return /^\s*mutation\b/.test(e) && globalThis.__graphqlFetchResponseCache?.clear(), r.data;
|
|
26
|
-
}, s = "labsofscience", c = "\n id workspaceId name code description field status visibility\n principalInvestigatorId startDate endDate tags createdAt updatedAt\n", l = "\n id workspaceId projectId title description hypothesis status protocolId\n leadResearcherId variables tags createdAt updatedAt\n", u = "\n id workspaceId experimentId runNumber status parameters observations notes\n performedById startedAt completedAt createdAt updatedAt\n", d = "\n id workspaceId projectId experimentId runId title body status authorId\n signedById signedAt witnessedById witnessedAt tags createdAt updatedAt\n", f = "\n id workspaceId name summary status version estimatedMinutes materials\n safetyNotes authorId publishedAt tags createdAt updatedAt\n", p = "\n id workspaceId protocolId ordinal kind instruction durationMinutes isCritical\n createdAt updatedAt\n", m = "\n id workspaceId projectId experimentId name description kind status\n latestVersion tags createdAt updatedAt\n", h = "\n id workspaceId datasetId version checksum sizeBytes rowCount changeNote\n createdAt updatedAt\n", g = "\n id workspaceId projectId name description engine definition version isActive\n tags createdAt updatedAt\n", _ = "\n id workspaceId pipelineId datasetId datasetVersionId outputDatasetId status\n parameters log triggeredById startedAt finishedAt createdAt updatedAt\n", v = "\n id workspaceId name category status quantity unit reorderLevel location\n lotNumber catalogNumber vendor expiresAt tags createdAt updatedAt\n", y = "\n id workspaceId name model location status requiresApproval custodianId tags\n createdAt updatedAt\n", b = "\n id workspaceId instrumentId experimentId bookedById status purpose startTime\n endTime createdAt updatedAt\n",
|
|
26
|
+
}, s = "labsofscience", c = "\n id workspaceId name code description field status visibility\n principalInvestigatorId startDate endDate tags createdAt updatedAt\n", l = "\n id workspaceId projectId title description hypothesis status protocolId\n leadResearcherId variables tags createdAt updatedAt\n", u = "\n id workspaceId experimentId runNumber status parameters observations notes\n performedById startedAt completedAt createdAt updatedAt\n", d = "\n id workspaceId projectId experimentId runId title body status authorId\n signedById signedAt witnessedById witnessedAt tags createdAt updatedAt\n", f = "\n id workspaceId name summary status version estimatedMinutes materials\n safetyNotes authorId publishedAt context tags createdAt updatedAt\n", p = "\n id workspaceId protocolId ordinal kind instruction durationMinutes isCritical\n createdAt updatedAt\n", m = "\n id workspaceId projectId experimentId name description kind status\n latestVersion tags createdAt updatedAt\n", h = "\n id workspaceId datasetId version checksum sizeBytes rowCount changeNote\n file { id }\n createdAt updatedAt\n", g = "\n id workspaceId projectId name description engine definition version isActive\n tags createdAt updatedAt\n", _ = "\n id workspaceId pipelineId datasetId datasetVersionId outputDatasetId status\n parameters log triggeredById startedAt finishedAt createdAt updatedAt\n", v = "\n id workspaceId name category status quantity unit reorderLevel location\n lotNumber catalogNumber vendor expiresAt tags createdAt updatedAt\n", y = "\n id workspaceId name model location status requiresApproval custodianId tags\n createdAt updatedAt\n", b = "\n id workspaceId instrumentId experimentId bookedById status purpose startTime\n endTime createdAt updatedAt\n", x = "\n id workspaceId provider model trigger status promptSummary decision inputRefs\n error latencyMs tokensIn tokensOut costUsd actorId actorType createdAt\n", S = "\n workspaceId provider model autoPilotEnabled autoPilotLastRunAt updatedAt\n", ee = "\n rootNodeId\n nodes { id entityType label createdAt checksum }\n edges { id fromNodeId toNodeId label }\n", C = (t = {}) => {
|
|
27
27
|
let { apiGatewayUrl: r } = e();
|
|
28
28
|
return n({
|
|
29
29
|
queryKey: [
|
|
@@ -108,7 +108,10 @@ var a = class extends Error {
|
|
|
108
108
|
],
|
|
109
109
|
queryFn: async () => (await o(`query LabExperiments($projectId: ID, $status: LabExperimentStatus, $search: String, $pagination: PaginationInput) {
|
|
110
110
|
labListExperiments(projectId: $projectId, status: $status, search: $search, pagination: $pagination) {
|
|
111
|
-
items {
|
|
111
|
+
items {
|
|
112
|
+
${l}
|
|
113
|
+
project { id name }
|
|
114
|
+
}
|
|
112
115
|
pageInfo { cursor hasMore }
|
|
113
116
|
}
|
|
114
117
|
}`, {
|
|
@@ -219,6 +222,20 @@ var a = class extends Error {
|
|
|
219
222
|
}
|
|
220
223
|
});
|
|
221
224
|
}, F = () => {
|
|
225
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
226
|
+
return t({
|
|
227
|
+
mutationFn: async (e) => (await o(`mutation LabPlanRun($input: LabCreateRunInput!) {
|
|
228
|
+
labPlanRun(input: $input) { ${u} }
|
|
229
|
+
}`, { input: e }, i)).labPlanRun,
|
|
230
|
+
onSuccess: (e) => {
|
|
231
|
+
n.invalidateQueries({ queryKey: [s, "runs"] }), n.invalidateQueries({ queryKey: [
|
|
232
|
+
s,
|
|
233
|
+
"experiment",
|
|
234
|
+
e.experimentId
|
|
235
|
+
] });
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
}, I = () => {
|
|
222
239
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
223
240
|
return t({
|
|
224
241
|
mutationFn: async ({ id: e, status: t, notes: n, observations: r }) => {
|
|
@@ -242,7 +259,7 @@ var a = class extends Error {
|
|
|
242
259
|
] });
|
|
243
260
|
}
|
|
244
261
|
});
|
|
245
|
-
},
|
|
262
|
+
}, L = (t = {}) => {
|
|
246
263
|
let { apiGatewayUrl: r } = e();
|
|
247
264
|
return n({
|
|
248
265
|
queryKey: [
|
|
@@ -267,7 +284,7 @@ var a = class extends Error {
|
|
|
267
284
|
pagination: t.pagination
|
|
268
285
|
}, r)).labListNotebookEntries
|
|
269
286
|
});
|
|
270
|
-
},
|
|
287
|
+
}, R = (t) => {
|
|
271
288
|
let { apiGatewayUrl: r } = e();
|
|
272
289
|
return n({
|
|
273
290
|
queryKey: [
|
|
@@ -283,7 +300,7 @@ var a = class extends Error {
|
|
|
283
300
|
}`, { id: t }, r)).labNotebookEntry,
|
|
284
301
|
enabled: !!t
|
|
285
302
|
});
|
|
286
|
-
},
|
|
303
|
+
}, z = () => {
|
|
287
304
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
288
305
|
return t({
|
|
289
306
|
mutationFn: async (e) => (await o(`mutation LabCreateNotebookEntry($input: LabCreateNotebookEntryInput!) {
|
|
@@ -293,7 +310,7 @@ var a = class extends Error {
|
|
|
293
310
|
n.invalidateQueries({ queryKey: [s, "notebook"] });
|
|
294
311
|
}
|
|
295
312
|
});
|
|
296
|
-
},
|
|
313
|
+
}, B = () => {
|
|
297
314
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
298
315
|
return t({
|
|
299
316
|
mutationFn: async (e) => (await o(`mutation LabSignNotebookEntry($id: ID!) {
|
|
@@ -307,7 +324,7 @@ var a = class extends Error {
|
|
|
307
324
|
] });
|
|
308
325
|
}
|
|
309
326
|
});
|
|
310
|
-
},
|
|
327
|
+
}, V = () => {
|
|
311
328
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
312
329
|
return t({
|
|
313
330
|
mutationFn: async (e) => (await o(`mutation LabWitnessNotebookEntry($id: ID!) {
|
|
@@ -321,7 +338,7 @@ var a = class extends Error {
|
|
|
321
338
|
] });
|
|
322
339
|
}
|
|
323
340
|
});
|
|
324
|
-
},
|
|
341
|
+
}, H = (t = {}) => {
|
|
325
342
|
let { apiGatewayUrl: r } = e();
|
|
326
343
|
return n({
|
|
327
344
|
queryKey: [
|
|
@@ -342,7 +359,7 @@ var a = class extends Error {
|
|
|
342
359
|
pagination: t.pagination
|
|
343
360
|
}, r)).labListProtocols
|
|
344
361
|
});
|
|
345
|
-
},
|
|
362
|
+
}, U = (t) => {
|
|
346
363
|
let { apiGatewayUrl: r } = e();
|
|
347
364
|
return n({
|
|
348
365
|
queryKey: [
|
|
@@ -358,7 +375,7 @@ var a = class extends Error {
|
|
|
358
375
|
}`, { id: t }, r)).labProtocol,
|
|
359
376
|
enabled: !!t
|
|
360
377
|
});
|
|
361
|
-
},
|
|
378
|
+
}, W = () => {
|
|
362
379
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
363
380
|
return t({
|
|
364
381
|
mutationFn: async (e) => (await o(`mutation LabCreateProtocol($input: LabCreateProtocolInput!) {
|
|
@@ -368,7 +385,7 @@ var a = class extends Error {
|
|
|
368
385
|
n.invalidateQueries({ queryKey: [s, "protocols"] });
|
|
369
386
|
}
|
|
370
387
|
});
|
|
371
|
-
},
|
|
388
|
+
}, G = () => {
|
|
372
389
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
373
390
|
return t({
|
|
374
391
|
mutationFn: async ({ id: e, input: t }) => (await o(`mutation LabUpdateProtocol($id: ID!, $input: LabUpdateProtocolInput!) {
|
|
@@ -385,7 +402,7 @@ var a = class extends Error {
|
|
|
385
402
|
] });
|
|
386
403
|
}
|
|
387
404
|
});
|
|
388
|
-
},
|
|
405
|
+
}, K = () => {
|
|
389
406
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
390
407
|
return t({
|
|
391
408
|
mutationFn: async (e) => (await o(`mutation LabPublishProtocol($id: ID!) {
|
|
@@ -399,7 +416,7 @@ var a = class extends Error {
|
|
|
399
416
|
] });
|
|
400
417
|
}
|
|
401
418
|
});
|
|
402
|
-
},
|
|
419
|
+
}, q = () => {
|
|
403
420
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
404
421
|
return t({
|
|
405
422
|
mutationFn: async (e) => (await o(`mutation LabAddProtocolStep($input: LabAddProtocolStepInput!) {
|
|
@@ -413,7 +430,7 @@ var a = class extends Error {
|
|
|
413
430
|
] });
|
|
414
431
|
}
|
|
415
432
|
});
|
|
416
|
-
},
|
|
433
|
+
}, J = (t = {}) => {
|
|
417
434
|
let { apiGatewayUrl: r } = e();
|
|
418
435
|
return n({
|
|
419
436
|
queryKey: [
|
|
@@ -436,7 +453,7 @@ var a = class extends Error {
|
|
|
436
453
|
pagination: t.pagination
|
|
437
454
|
}, r)).labListDatasets
|
|
438
455
|
});
|
|
439
|
-
},
|
|
456
|
+
}, Y = (t) => {
|
|
440
457
|
let { apiGatewayUrl: r } = e();
|
|
441
458
|
return n({
|
|
442
459
|
queryKey: [
|
|
@@ -452,7 +469,7 @@ var a = class extends Error {
|
|
|
452
469
|
}`, { id: t }, r)).labDataset,
|
|
453
470
|
enabled: !!t
|
|
454
471
|
});
|
|
455
|
-
},
|
|
472
|
+
}, X = () => {
|
|
456
473
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
457
474
|
return t({
|
|
458
475
|
mutationFn: async (e) => (await o(`mutation LabCreateDataset($input: LabCreateDatasetInput!) {
|
|
@@ -470,7 +487,7 @@ var a = class extends Error {
|
|
|
470
487
|
n.invalidateQueries({ queryKey: [s, "datasets"] });
|
|
471
488
|
}
|
|
472
489
|
});
|
|
473
|
-
},
|
|
490
|
+
}, Z = () => {
|
|
474
491
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
475
492
|
return t({
|
|
476
493
|
mutationFn: async (e) => (await o(`mutation LabAddDatasetVersion($input: LabAddDatasetVersionInput!) {
|
|
@@ -484,7 +501,7 @@ var a = class extends Error {
|
|
|
484
501
|
] });
|
|
485
502
|
}
|
|
486
503
|
});
|
|
487
|
-
},
|
|
504
|
+
}, Q = (t = {}) => {
|
|
488
505
|
let { apiGatewayUrl: r } = e();
|
|
489
506
|
return n({
|
|
490
507
|
queryKey: [
|
|
@@ -499,7 +516,7 @@ var a = class extends Error {
|
|
|
499
516
|
}
|
|
500
517
|
}`, { pagination: t.pagination }, r)).labListPipelines
|
|
501
518
|
});
|
|
502
|
-
},
|
|
519
|
+
}, ne = () => {
|
|
503
520
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
504
521
|
return t({
|
|
505
522
|
mutationFn: async (e) => (await o(`mutation LabCreatePipeline($input: LabCreatePipelineInput!) {
|
|
@@ -509,7 +526,7 @@ var a = class extends Error {
|
|
|
509
526
|
n.invalidateQueries({ queryKey: [s, "pipelines"] });
|
|
510
527
|
}
|
|
511
528
|
});
|
|
512
|
-
},
|
|
529
|
+
}, re = (t = {}) => {
|
|
513
530
|
let { apiGatewayUrl: r } = e();
|
|
514
531
|
return n({
|
|
515
532
|
queryKey: [
|
|
@@ -533,7 +550,7 @@ var a = class extends Error {
|
|
|
533
550
|
pagination: t.pagination
|
|
534
551
|
}, r)).labListPipelineRuns
|
|
535
552
|
});
|
|
536
|
-
},
|
|
553
|
+
}, ie = () => {
|
|
537
554
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
538
555
|
return t({
|
|
539
556
|
mutationFn: async (e) => (await o(`mutation LabRunPipeline($input: LabRunPipelineInput!) {
|
|
@@ -543,7 +560,7 @@ var a = class extends Error {
|
|
|
543
560
|
n.invalidateQueries({ queryKey: [s, "pipeline-runs"] });
|
|
544
561
|
}
|
|
545
562
|
});
|
|
546
|
-
},
|
|
563
|
+
}, ae = () => {
|
|
547
564
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
548
565
|
return t({
|
|
549
566
|
mutationFn: async ({ id: e, status: t, log: n }) => (await o(`mutation LabTransitionPipelineRun($id: ID!, $status: LabPipelineRunStatus!, $log: String) {
|
|
@@ -557,7 +574,7 @@ var a = class extends Error {
|
|
|
557
574
|
n.invalidateQueries({ queryKey: [s, "pipeline-runs"] });
|
|
558
575
|
}
|
|
559
576
|
});
|
|
560
|
-
},
|
|
577
|
+
}, oe = (t = {}) => {
|
|
561
578
|
let { apiGatewayUrl: r } = e();
|
|
562
579
|
return n({
|
|
563
580
|
queryKey: [
|
|
@@ -581,7 +598,7 @@ var a = class extends Error {
|
|
|
581
598
|
}, r)).labListInventoryItems,
|
|
582
599
|
enabled: t.enabled !== !1
|
|
583
600
|
});
|
|
584
|
-
},
|
|
601
|
+
}, se = (t) => {
|
|
585
602
|
let { apiGatewayUrl: r } = e();
|
|
586
603
|
return n({
|
|
587
604
|
queryKey: [
|
|
@@ -594,7 +611,7 @@ var a = class extends Error {
|
|
|
594
611
|
}`, { id: t }, r)).labInventoryItem,
|
|
595
612
|
enabled: !!t
|
|
596
613
|
});
|
|
597
|
-
},
|
|
614
|
+
}, ce = () => {
|
|
598
615
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
599
616
|
return t({
|
|
600
617
|
mutationFn: async (e) => (await o(`mutation LabCreateInventoryItem($input: LabCreateInventoryItemInput!) {
|
|
@@ -604,7 +621,7 @@ var a = class extends Error {
|
|
|
604
621
|
n.invalidateQueries({ queryKey: [s, "inventory"] });
|
|
605
622
|
}
|
|
606
623
|
});
|
|
607
|
-
},
|
|
624
|
+
}, le = () => {
|
|
608
625
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
609
626
|
return t({
|
|
610
627
|
mutationFn: async ({ id: e, input: t }) => (await o(`mutation LabAdjustInventory($id: ID!, $input: LabAdjustInventoryInput!) {
|
|
@@ -621,7 +638,7 @@ var a = class extends Error {
|
|
|
621
638
|
] });
|
|
622
639
|
}
|
|
623
640
|
});
|
|
624
|
-
},
|
|
641
|
+
}, ue = () => {
|
|
625
642
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
626
643
|
return t({
|
|
627
644
|
mutationFn: async (e) => (await o("mutation LabArchiveInventoryItem($id: ID!) { labArchiveInventoryItem(id: $id) }", { id: e }, i)).labArchiveInventoryItem,
|
|
@@ -629,7 +646,7 @@ var a = class extends Error {
|
|
|
629
646
|
n.invalidateQueries({ queryKey: [s, "inventory"] });
|
|
630
647
|
}
|
|
631
648
|
});
|
|
632
|
-
},
|
|
649
|
+
}, de = (t = {}) => {
|
|
633
650
|
let { apiGatewayUrl: r } = e();
|
|
634
651
|
return n({
|
|
635
652
|
queryKey: [
|
|
@@ -650,7 +667,7 @@ var a = class extends Error {
|
|
|
650
667
|
pagination: t.pagination
|
|
651
668
|
}, r)).labListInstruments
|
|
652
669
|
});
|
|
653
|
-
},
|
|
670
|
+
}, fe = (t) => {
|
|
654
671
|
let { apiGatewayUrl: r } = e();
|
|
655
672
|
return n({
|
|
656
673
|
queryKey: [
|
|
@@ -666,7 +683,7 @@ var a = class extends Error {
|
|
|
666
683
|
}`, { id: t }, r)).labInstrument,
|
|
667
684
|
enabled: !!t
|
|
668
685
|
});
|
|
669
|
-
},
|
|
686
|
+
}, pe = () => {
|
|
670
687
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
671
688
|
return t({
|
|
672
689
|
mutationFn: async (e) => (await o(`mutation LabCreateInstrument($input: LabCreateInstrumentInput!) {
|
|
@@ -676,7 +693,7 @@ var a = class extends Error {
|
|
|
676
693
|
n.invalidateQueries({ queryKey: [s, "instruments"] });
|
|
677
694
|
}
|
|
678
695
|
});
|
|
679
|
-
},
|
|
696
|
+
}, me = () => {
|
|
680
697
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
681
698
|
return t({
|
|
682
699
|
mutationFn: async (e) => (await o(`mutation LabBookInstrument($input: LabBookInstrumentInput!) {
|
|
@@ -690,7 +707,7 @@ var a = class extends Error {
|
|
|
690
707
|
] });
|
|
691
708
|
}
|
|
692
709
|
});
|
|
693
|
-
},
|
|
710
|
+
}, he = () => {
|
|
694
711
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
695
712
|
return t({
|
|
696
713
|
mutationFn: async (e) => (await o("mutation LabCancelBooking($id: ID!) {\n labCancelBooking(id: $id) { id status instrumentId }\n }", { id: e }, i)).labCancelBooking,
|
|
@@ -702,26 +719,26 @@ var a = class extends Error {
|
|
|
702
719
|
] });
|
|
703
720
|
}
|
|
704
721
|
});
|
|
705
|
-
},
|
|
722
|
+
}, ge = () => {
|
|
706
723
|
let { apiGatewayUrl: t } = e();
|
|
707
724
|
return n({
|
|
708
725
|
queryKey: [s, "ai-model-catalog"],
|
|
709
726
|
queryFn: async () => (await o("query LabAiModelCatalog {\n labAiModelCatalog { provider model label isDefault capabilities }\n }", {}, t)).labAiModelCatalog,
|
|
710
727
|
staleTime: 1800 * 1e3
|
|
711
728
|
});
|
|
712
|
-
},
|
|
729
|
+
}, _e = () => {
|
|
713
730
|
let { apiGatewayUrl: t } = e();
|
|
714
731
|
return n({
|
|
715
732
|
queryKey: [s, "ai-config"],
|
|
716
733
|
queryFn: async () => (await o(`query LabWorkspaceAiConfig {
|
|
717
|
-
labWorkspaceAiConfig { ${
|
|
734
|
+
labWorkspaceAiConfig { ${S} }
|
|
718
735
|
}`, {}, t)).labWorkspaceAiConfig
|
|
719
736
|
});
|
|
720
|
-
},
|
|
737
|
+
}, ve = () => {
|
|
721
738
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
722
739
|
return t({
|
|
723
740
|
mutationFn: async ({ provider: e, model: t }) => (await o(`mutation LabSetWorkspaceAiModel($provider: String!, $model: String!) {
|
|
724
|
-
labSetWorkspaceAiModel(provider: $provider, model: $model) { ${
|
|
741
|
+
labSetWorkspaceAiModel(provider: $provider, model: $model) { ${S} }
|
|
725
742
|
}`, {
|
|
726
743
|
provider: e,
|
|
727
744
|
model: t
|
|
@@ -730,17 +747,17 @@ var a = class extends Error {
|
|
|
730
747
|
n.setQueryData([s, "ai-config"], e), n.invalidateQueries({ queryKey: [s, "ai-config"] });
|
|
731
748
|
}
|
|
732
749
|
});
|
|
733
|
-
},
|
|
750
|
+
}, ye = () => {
|
|
734
751
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
735
752
|
return t({
|
|
736
753
|
mutationFn: async (e) => (await o(`mutation LabSetWorkspaceAutoPilot($enabled: Boolean!) {
|
|
737
|
-
labSetWorkspaceAutoPilot(enabled: $enabled) { ${
|
|
754
|
+
labSetWorkspaceAutoPilot(enabled: $enabled) { ${S} }
|
|
738
755
|
}`, { enabled: e }, i)).labSetWorkspaceAutoPilot,
|
|
739
756
|
onSuccess: (e) => {
|
|
740
757
|
n.setQueryData([s, "ai-config"], e), n.invalidateQueries({ queryKey: [s, "ai-config"] });
|
|
741
758
|
}
|
|
742
759
|
});
|
|
743
|
-
},
|
|
760
|
+
}, be = (t = {}) => {
|
|
744
761
|
let { apiGatewayUrl: r } = e();
|
|
745
762
|
return n({
|
|
746
763
|
queryKey: [
|
|
@@ -750,12 +767,25 @@ var a = class extends Error {
|
|
|
750
767
|
],
|
|
751
768
|
queryFn: async () => (await o(`query LabAgentRuns($pagination: PaginationInput) {
|
|
752
769
|
labAgentRuns(pagination: $pagination) {
|
|
753
|
-
items { ${
|
|
770
|
+
items { ${x} }
|
|
754
771
|
pageInfo { cursor hasMore }
|
|
755
772
|
}
|
|
756
773
|
}`, { pagination: t.pagination }, r)).labAgentRuns
|
|
757
774
|
});
|
|
758
|
-
},
|
|
775
|
+
}, $ = (t) => {
|
|
776
|
+
let { apiGatewayUrl: r } = e();
|
|
777
|
+
return n({
|
|
778
|
+
queryKey: [
|
|
779
|
+
s,
|
|
780
|
+
"agent-run",
|
|
781
|
+
t
|
|
782
|
+
],
|
|
783
|
+
queryFn: async () => (await o(`query LabAgentRun($id: ID!) {
|
|
784
|
+
labAgentRun(id: $id) { ${x} }
|
|
785
|
+
}`, { id: t }, r)).labAgentRun,
|
|
786
|
+
enabled: !!t
|
|
787
|
+
});
|
|
788
|
+
}, xe = () => {
|
|
759
789
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
760
790
|
return t({
|
|
761
791
|
mutationFn: async (e) => (await o(`mutation LabSuggestProtocol($input: LabSuggestProtocolInput!) {
|
|
@@ -769,7 +799,7 @@ var a = class extends Error {
|
|
|
769
799
|
n.invalidateQueries({ queryKey: [s, "agent-runs"] }), n.invalidateQueries({ queryKey: [s, "protocols"] });
|
|
770
800
|
}
|
|
771
801
|
});
|
|
772
|
-
},
|
|
802
|
+
}, Se = () => {
|
|
773
803
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
774
804
|
return t({
|
|
775
805
|
mutationFn: async ({ experimentId: e, requestedProvider: t }) => (await o("mutation LabRecommendNextRun($experimentId: ID!, $requestedProvider: String) {\n labRecommendNextRun(experimentId: $experimentId, requestedProvider: $requestedProvider) {\n experimentId recommendation rationale confidence suggestedParameters flags\n agentRunId appliedToExperiment createdAt\n }\n }", {
|
|
@@ -788,7 +818,7 @@ var a = class extends Error {
|
|
|
788
818
|
] });
|
|
789
819
|
}
|
|
790
820
|
});
|
|
791
|
-
},
|
|
821
|
+
}, Ce = () => {
|
|
792
822
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
793
823
|
return t({
|
|
794
824
|
mutationFn: async ({ runId: e, experimentId: t, recommendation: n, note: r }) => (await o("mutation LabOverrideAgentRun($runId: ID!, $experimentId: ID!, $recommendation: LabRunRecommendation!, $note: String!) {\n labOverrideAgentRun(runId: $runId, experimentId: $experimentId, recommendation: $recommendation, note: $note) {\n id workspaceId experimentId supersedesRunId recommendation note createdAt\n }\n }", {
|
|
@@ -809,7 +839,7 @@ var a = class extends Error {
|
|
|
809
839
|
] });
|
|
810
840
|
}
|
|
811
841
|
});
|
|
812
|
-
},
|
|
842
|
+
}, we = (t) => {
|
|
813
843
|
let { apiGatewayUrl: r } = e();
|
|
814
844
|
return n({
|
|
815
845
|
queryKey: [
|
|
@@ -820,15 +850,15 @@ var a = class extends Error {
|
|
|
820
850
|
queryFn: async () => (await o("query LabExperimentAiContext($id: ID!) {\n labExperiment(id: $id) { id title status projectId context }\n }", { id: t }, r)).labExperiment,
|
|
821
851
|
enabled: !!t
|
|
822
852
|
});
|
|
823
|
-
},
|
|
853
|
+
}, Te = "\n projects experiments runs datasets protocols notebookEntries\n pipelines pipelineRuns inventoryItems instruments\n", Ee = () => {
|
|
824
854
|
let { apiGatewayUrl: t } = e();
|
|
825
855
|
return n({
|
|
826
856
|
queryKey: [s, "workspace-totals"],
|
|
827
857
|
queryFn: async () => (await o(`query LabWorkspaceTotals {
|
|
828
|
-
labWorkspaceTotals { ${
|
|
858
|
+
labWorkspaceTotals { ${Te} }
|
|
829
859
|
}`, {}, t)).labWorkspaceTotals
|
|
830
860
|
});
|
|
831
|
-
},
|
|
861
|
+
}, De = "\n id action description actorId: userId timestamp resourceType resourceId\n", Oe = (t = 20) => {
|
|
832
862
|
let { apiGatewayUrl: r, workspaceId: i } = e();
|
|
833
863
|
return n({
|
|
834
864
|
queryKey: [
|
|
@@ -839,7 +869,7 @@ var a = class extends Error {
|
|
|
839
869
|
],
|
|
840
870
|
queryFn: async () => i ? (await o(`query LabRecentActivity($filter: ActivityLogFilter) {
|
|
841
871
|
getActivities(filter: $filter) {
|
|
842
|
-
${
|
|
872
|
+
${De}
|
|
843
873
|
}
|
|
844
874
|
}`, { filter: {
|
|
845
875
|
workspaceId: i,
|
|
@@ -848,7 +878,7 @@ var a = class extends Error {
|
|
|
848
878
|
} }, r)).getActivities : [],
|
|
849
879
|
enabled: !!i
|
|
850
880
|
});
|
|
851
|
-
},
|
|
881
|
+
}, ke = "\n summary {\n averageTimeToSignMinutes\n datasetVersions\n experimentsCompleted\n runSuccessRate\n }\n experimentThroughputByWeek { week experiments runs }\n experimentStatusDistribution { status count }\n pipelineRunsByStatus { status count }\n notebookEntriesByAttestation { status count }\n", Ae = (t = 12) => {
|
|
852
882
|
let { apiGatewayUrl: r } = e();
|
|
853
883
|
return n({
|
|
854
884
|
queryKey: [
|
|
@@ -857,10 +887,10 @@ var a = class extends Error {
|
|
|
857
887
|
t
|
|
858
888
|
],
|
|
859
889
|
queryFn: async () => (await o(`query LabResearchAnalytics($weeks: Int) {
|
|
860
|
-
labResearchAnalytics(weeks: $weeks) { ${
|
|
890
|
+
labResearchAnalytics(weeks: $weeks) { ${ke} }
|
|
861
891
|
}`, { weeks: t }, r)).labResearchAnalytics
|
|
862
892
|
});
|
|
863
|
-
},
|
|
893
|
+
}, je = (t, r, i = 5) => {
|
|
864
894
|
let { apiGatewayUrl: a } = e();
|
|
865
895
|
return n({
|
|
866
896
|
queryKey: [
|
|
@@ -871,7 +901,7 @@ var a = class extends Error {
|
|
|
871
901
|
i
|
|
872
902
|
],
|
|
873
903
|
queryFn: async () => (await o(`query LabProvenance($rootEntityType: LabProvenanceEntityType!, $rootEntityId: ID!, $depth: Int) {
|
|
874
|
-
labProvenance(rootEntityType: $rootEntityType, rootEntityId: $rootEntityId, depth: $depth) { ${
|
|
904
|
+
labProvenance(rootEntityType: $rootEntityType, rootEntityId: $rootEntityId, depth: $depth) { ${ee} }
|
|
875
905
|
}`, {
|
|
876
906
|
rootEntityType: t,
|
|
877
907
|
rootEntityId: r,
|
|
@@ -881,6 +911,6 @@ var a = class extends Error {
|
|
|
881
911
|
});
|
|
882
912
|
};
|
|
883
913
|
//#endregion
|
|
884
|
-
export { a as LabApiError,
|
|
914
|
+
export { a as LabApiError, Z as useAddDatasetVersion, q as useAddProtocolStep, le as useAdjustInventory, $ as useAgentRun, be as useAgentRuns, ge as useAiModelCatalog, te as useArchiveDataset, ue as useArchiveInventoryItem, D as useArchiveProject, me as useBookInstrument, he as useCancelBooking, I as useCompleteRun, X as useCreateDataset, A as useCreateExperiment, pe as useCreateInstrument, ce as useCreateInventoryItem, z as useCreateNotebookEntry, ne as useCreatePipeline, T as useCreateProject, W as useCreateProtocol, Y as useDataset, J as useDatasets, k as useExperiment, we as useExperimentAiContext, O as useExperiments, fe as useInstrument, de as useInstruments, se as useInventoryItem, oe as useInventoryItems, je as useLabProvenance, Oe as useLabRecentActivity, L as useNotebookEntries, R as useNotebookEntry, Ce as useOverrideAgentRun, re as usePipelineRuns, Q as usePipelines, F as usePlanRun, w as useProject, C as useProjects, U as useProtocol, H as useProtocols, K as usePublishProtocol, Se as useRecommendNextRun, Ae as useResearchAnalytics, ie as useRunPipeline, N as useRuns, ve as useSetWorkspaceAiModel, ye as useSetWorkspaceAutoPilot, B as useSignNotebookEntry, P as useStartRun, xe as useSuggestProtocol, M as useTransitionExperiment, ae as useTransitionPipelineRun, j as useUpdateExperiment, E as useUpdateProject, G as useUpdateProtocol, V as useWitnessNotebookEntry, _e as useWorkspaceAiConfig, Ee as useWorkspaceTotals };
|
|
885
915
|
|
|
886
916
|
//# sourceMappingURL=useLabsOfScienceApi.js.map
|