@blade-hq/agent-kit 1.0.25 → 1.0.28
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/chunk-7LEKQI47.js +32 -0
- package/dist/chunk-7LEKQI47.js.map +1 -0
- package/dist/{chunk-3I4ZURKH.js → chunk-BGNKHPCD.js} +223 -50
- package/dist/chunk-BGNKHPCD.js.map +1 -0
- package/dist/{chunk-4D4EXLVT.js → chunk-DQCXSPHP.js} +2 -2
- package/dist/chunk-HCQDDDOX.js +23 -0
- package/dist/chunk-HCQDDDOX.js.map +1 -0
- package/dist/{chunk-QODAKTG5.js → chunk-JCJFFJ42.js} +2 -31
- package/dist/chunk-JCJFFJ42.js.map +1 -0
- package/dist/{chunk-XCIDE3JW.js → chunk-OGHUIKCY.js} +7 -7
- package/dist/{chunk-WPLEMYL7.js → chunk-PYYDXV2A.js} +2 -2
- package/dist/{chunk-VJY6RLYU.js → chunk-TVWC3PED.js} +2 -2
- package/dist/{chunk-WVXXQ3KM.js → chunk-UWNQ4PXK.js} +134 -1201
- package/dist/chunk-UWNQ4PXK.js.map +1 -0
- package/dist/{chunk-M45K3554.js → chunk-YJ6BX3FU.js} +1382 -32
- package/dist/chunk-YJ6BX3FU.js.map +1 -0
- package/dist/client/auth.d.ts +8 -0
- package/dist/client/blade-client.d.ts +82 -0
- package/dist/client/index.d.ts +23 -15348
- package/dist/client/index.js +3 -1
- package/dist/client/resources/api-keys.d.ts +28 -0
- package/dist/client/resources/app-dev-templates.d.ts +93 -0
- package/dist/client/resources/auth.d.ts +26 -0
- package/dist/client/resources/env-buckets.d.ts +20 -0
- package/dist/client/resources/gis.d.ts +8 -0
- package/dist/client/resources/headless.d.ts +33 -0
- package/dist/client/resources/memories.d.ts +63 -0
- package/dist/client/resources/models.d.ts +26 -0
- package/dist/client/resources/published-apps.d.ts +8 -0
- package/dist/client/resources/registry.d.ts +58 -0
- package/dist/client/resources/runs.d.ts +8 -0
- package/dist/client/resources/scenarios.d.ts +49 -0
- package/dist/client/resources/sessions.d.ts +253 -0
- package/dist/client/resources/skills.d.ts +38 -0
- package/dist/client/resources/solutions.d.ts +31 -0
- package/dist/client/resources/user-preferences.d.ts +26 -0
- package/dist/client/rest.d.ts +19 -0
- package/dist/client/shared/projection/builder.d.ts +59 -0
- package/dist/client/shared/projection/helpers.d.ts +34 -0
- package/dist/client/shared/projection/history.d.ts +12 -0
- package/dist/client/shared/projection/index.d.ts +3 -0
- package/dist/client/shared/projection/state.d.ts +22 -0
- package/dist/client/socket.d.ts +9 -0
- package/dist/client/types/index.d.ts +8 -0
- package/dist/client/types/rest.d.ts +16316 -0
- package/dist/client/types/sdk-profile.d.ts +47 -0
- package/dist/client/types/socket-events.d.ts +389 -0
- package/dist/react/api/api-keys.d.ts +6 -0
- package/dist/react/api/app-dev-templates.d.ts +5 -0
- package/dist/react/api/auth.d.ts +7 -0
- package/dist/react/api/client.d.ts +8 -0
- package/dist/react/api/env-buckets.d.ts +10 -0
- package/dist/react/api/gis-api.d.ts +4 -0
- package/dist/react/api/memories.d.ts +14 -0
- package/dist/react/api/model-config.d.ts +68 -0
- package/dist/react/api/models.d.ts +13 -0
- package/dist/react/api/partner-skill.d.ts +2 -0
- package/dist/react/api/prod-solution.d.ts +456 -0
- package/dist/react/api/published-apps.d.ts +21 -0
- package/dist/react/api/published-apps.js +14 -0
- package/dist/react/api/published-apps.js.map +1 -0
- package/dist/react/api/registry.d.ts +46 -0
- package/dist/react/api/scenarios.d.ts +9 -0
- package/dist/react/api/scheduled-tasks.d.ts +24 -0
- package/dist/react/api/session-skill.d.ts +2 -0
- package/dist/react/api/sessions.d.ts +109 -0
- package/dist/react/api/sessions.js +93 -0
- package/dist/react/api/sessions.js.map +1 -0
- package/dist/react/api/skills.d.ts +27 -0
- package/dist/react/api/socket.d.ts +5 -0
- package/dist/react/api/solutions.d.ts +11 -0
- package/dist/react/api/user-preferences.d.ts +8 -0
- package/dist/react/asr/VoiceWaveform.d.ts +10 -0
- package/dist/react/asr/use-tiptap-voice-input.d.ts +29 -0
- package/dist/react/asr/use-voice-input.d.ts +17 -0
- package/dist/react/asr/voice-input-support.d.ts +5 -0
- package/dist/react/bootstrap.d.ts +4 -0
- package/dist/react/cards/register.d.ts +1 -2
- package/dist/react/cards/register.js +3 -2
- package/dist/react/cards/register.js.map +1 -1
- package/dist/react/components/ai-elements/file-tree.d.ts +26 -0
- package/dist/react/components/ai-elements/reasoning.d.ts +32 -0
- package/dist/react/components/ai-elements/shimmer.d.ts +11 -0
- package/dist/react/components/card/CardCodeBlock.d.ts +5 -0
- package/dist/react/components/card/CardContext.d.ts +7 -0
- package/dist/react/components/card/CardRenderer.d.ts +7 -0
- package/dist/react/components/card/CardStates.d.ts +8 -0
- package/dist/react/components/card/cards/attraction-card.d.ts +2 -0
- package/dist/react/components/card/cards/cite-card.d.ts +10 -0
- package/dist/react/components/card/cards/comprehensive-analysis-card.d.ts +2 -0
- package/dist/react/components/card/cards/conflict-detection-card.d.ts +4 -0
- package/dist/react/components/card/cards/counter.d.ts +2 -0
- package/dist/react/components/card/cards/damage-effect-card.d.ts +4 -0
- package/dist/react/components/card/cards/destination-card.d.ts +2 -0
- package/dist/react/components/card/cards/diff-card.d.ts +2 -0
- package/dist/react/components/card/cards/execution-order-card.d.ts +2 -0
- package/dist/react/components/card/cards/experience-card-with-options.d.ts +4 -0
- package/dist/react/components/card/cards/flight-card.d.ts +2 -0
- package/dist/react/components/card/cards/hotel-card.d.ts +2 -0
- package/dist/react/components/card/cards/kill-chain-card.d.ts +2 -0
- package/dist/react/components/card/cards/kill-chain-types.d.ts +157 -0
- package/dist/react/components/card/cards/map-card.d.ts +2 -0
- package/dist/react/components/card/cards/order-status-card.d.ts +2 -0
- package/dist/react/components/card/cards/patch-card.d.ts +15 -0
- package/dist/react/components/card/cards/product-recommendation-card.d.ts +2 -0
- package/dist/react/components/card/cards/reflection-optimization-card.d.ts +2 -0
- package/dist/react/components/card/cards/resolution-modifications-card.d.ts +2 -0
- package/dist/react/components/card/cards/resolution-summary-card.d.ts +2 -0
- package/dist/react/components/card/cards/restaurant-card.d.ts +2 -0
- package/dist/react/components/card/cards/shopping-list-card.d.ts +2 -0
- package/dist/react/components/card/cards/simulation-event-card.d.ts +4 -0
- package/dist/react/components/card/cards/survival-effect-card.d.ts +4 -0
- package/dist/react/components/card/cards/travel-itinerary-card.d.ts +2 -0
- package/dist/react/components/card/register.d.ts +1 -0
- package/dist/react/components/chat/AgentLoopBlock.d.ts +8 -0
- package/dist/react/components/chat/AskUserQuestionBlock.d.ts +32 -0
- package/dist/react/components/chat/AssistantTurnBlock.d.ts +28 -0
- package/dist/react/components/chat/AttachmentPreviewDialog.d.ts +26 -0
- package/dist/react/components/chat/BackgroundTasksPill.d.ts +3 -0
- package/dist/react/components/chat/ChatInput.d.ts +94 -0
- package/dist/react/components/chat/ChatView.d.ts +18 -0
- package/dist/react/components/chat/CompactionCard.d.ts +6 -0
- package/dist/react/components/chat/ConnectionBanner.d.ts +1 -0
- package/dist/react/components/chat/FileCompletionMenu.d.ts +13 -0
- package/dist/react/components/chat/FileSizeLimitDialog.d.ts +9 -0
- package/dist/react/components/chat/ImageLightbox.d.ts +11 -0
- package/dist/react/components/chat/MessageActions.d.ts +6 -0
- package/dist/react/components/chat/MessageContextPills.d.ts +6 -0
- package/dist/react/components/chat/MessageFileAttachmentList.d.ts +13 -0
- package/dist/react/components/chat/MessageList.d.ts +15 -0
- package/dist/react/components/chat/ProgressCircle.d.ts +12 -0
- package/dist/react/components/chat/RenderErrorBoundary.d.ts +19 -0
- package/dist/react/components/chat/ResourceIframe.d.ts +5 -0
- package/dist/react/components/chat/Shimmer.d.ts +6 -0
- package/dist/react/components/chat/SkillCompletionMenu.d.ts +9 -0
- package/dist/react/components/chat/SkillStatusBar.d.ts +8 -0
- package/dist/react/components/chat/StickyStatusBar.d.ts +10 -0
- package/dist/react/components/chat/TextAttachmentPills.d.ts +10 -0
- package/dist/react/components/chat/ThinkingToggle.d.ts +7 -0
- package/dist/react/components/chat/ToolCallBlock.d.ts +18 -0
- package/dist/react/components/chat/TurnNavRail.d.ts +11 -0
- package/dist/react/components/chat/UserMessageBubble.d.ts +20 -0
- package/dist/react/components/chat/WhatIfUserBubble.d.ts +13 -0
- package/dist/react/components/chat/customization.d.ts +82 -0
- package/dist/react/components/chat/display-utils.d.ts +35 -0
- package/dist/react/components/chat/extensions/file-mention.d.ts +12 -0
- package/dist/react/components/chat/extensions/skill-mention.d.ts +25 -0
- package/dist/react/components/chat/index.d.ts +16 -115
- package/dist/react/components/chat/index.js +8 -7
- package/dist/react/components/chat/scroll-anchor.d.ts +8 -0
- package/dist/react/components/chat/tool-renderers/BashRenderer.d.ts +2 -0
- package/dist/react/components/chat/tool-renderers/FileEditRenderer.d.ts +2 -0
- package/dist/react/components/chat/tool-renderers/FileReadRenderer.d.ts +2 -0
- package/dist/react/components/chat/tool-renderers/SearchRenderer.d.ts +2 -0
- package/dist/react/components/chat/tool-renderers/SubmitResultRenderer.d.ts +2 -0
- package/dist/react/components/chat/tool-renderers/registry.d.ts +9 -0
- package/dist/react/components/chat/tool-renderers/shared.d.ts +26 -0
- package/dist/react/components/chat/whatif-quote-context.d.ts +15 -0
- package/dist/react/components/markdown/ExternalLinkDialog.d.ts +8 -0
- package/dist/react/components/markdown/FileCardComponent.d.ts +10 -0
- package/dist/react/components/markdown/MarkdownContent.d.ts +19 -0
- package/dist/react/components/model/ModelSelector.d.ts +9 -0
- package/dist/react/components/plan/PlanSummaryCard.d.ts +8 -0
- package/dist/react/components/plan/PlanVisualization.d.ts +13 -0
- package/dist/react/components/plan/debug-log.d.ts +21 -0
- package/dist/react/components/plan/extract-plan-messages.d.ts +2 -0
- package/dist/react/components/plan/index.d.ts +6 -110
- package/dist/react/components/plan/index.js +7 -6
- package/dist/react/components/plan/index.js.map +1 -1
- package/dist/react/components/plan/parse-plan-messages.d.ts +10 -0
- package/dist/react/components/plan/parse-plan-tree.d.ts +16 -0
- package/dist/react/components/plan/phases/PlanMindMap.d.ts +8 -0
- package/dist/react/components/plan/phases/PlanStatusIcon.d.ts +5 -0
- package/dist/react/components/plan/phases/PlanTree.d.ts +8 -0
- package/dist/react/components/plan/phases/SkillAnalysis.d.ts +7 -0
- package/dist/react/components/plan/phases/SkillDiscovery.d.ts +10 -0
- package/dist/react/components/plan/types.d.ts +56 -0
- package/dist/react/components/session/SessionDetail.d.ts +8 -0
- package/dist/react/components/session/SessionList.d.ts +9 -0
- package/dist/react/components/session/SessionListItem.d.ts +8 -0
- package/dist/react/components/session/StatusBadge.d.ts +3 -0
- package/dist/react/components/session/index.d.ts +5 -53
- package/dist/react/components/session/index.js +6 -5
- package/dist/react/components/session/index.js.map +1 -1
- package/dist/react/components/session/session-utils.d.ts +19 -0
- package/dist/react/components/ui/collapsible.d.ts +5 -0
- package/dist/react/components/workspace/FileTree.d.ts +21 -0
- package/dist/react/components/workspace/WorkspaceFilesPanel.d.ts +30 -0
- package/dist/react/components/workspace/file-icon-assets.d.ts +3 -0
- package/dist/react/components/workspace/index.d.ts +2 -59
- package/dist/react/components/workspace/index.js +6 -5
- package/dist/react/components/workspace/index.js.map +1 -1
- package/dist/react/context.d.ts +2 -0
- package/dist/react/devtools/bridge-devtools/BridgeDevtoolsFab.d.ts +1 -0
- package/dist/react/devtools/bridge-devtools/index.d.ts +3 -36
- package/dist/react/devtools/bridge-devtools/mount.d.ts +1 -0
- package/dist/react/devtools/bridge-devtools/store.d.ts +15 -0
- package/dist/react/devtools/bridge-devtools/tap.d.ts +5 -0
- package/dist/react/devtools/bridge-devtools/types.d.ts +29 -0
- package/dist/react/hooks/use-background-tasks.d.ts +7 -0
- package/dist/react/hooks/use-card-state.d.ts +1 -0
- package/dist/react/hooks/use-chat.d.ts +13 -0
- package/dist/react/hooks/use-check-skill-file.d.ts +4 -0
- package/dist/react/hooks/use-check-solution-file.d.ts +4 -0
- package/dist/react/hooks/use-context-stats.d.ts +7 -0
- package/dist/react/hooks/use-gis.d.ts +17 -0
- package/dist/react/hooks/use-global-skill-stats.d.ts +6 -0
- package/dist/react/hooks/use-input-history.d.ts +7 -0
- package/dist/react/hooks/use-model-preferences.d.ts +18 -0
- package/dist/react/hooks/use-registry.d.ts +53 -0
- package/dist/react/hooks/use-resolved-model.d.ts +6 -0
- package/dist/react/hooks/use-session.d.ts +10 -0
- package/dist/react/hooks/use-skill-stats.d.ts +7 -0
- package/dist/react/hooks/use-skills.d.ts +6 -0
- package/dist/react/hooks/use-token-pressure.d.ts +6 -0
- package/dist/react/index.d.ts +124 -2034
- package/dist/react/index.js +125 -50
- package/dist/react/index.js.map +1 -1
- package/dist/react/lib/analytics.d.ts +7 -0
- package/dist/react/lib/attachment-upload.d.ts +10 -0
- package/dist/react/lib/card-registry.d.ts +35 -0
- package/dist/react/lib/chat.d.ts +48 -0
- package/dist/react/lib/code-highlight.d.ts +9 -0
- package/dist/react/lib/html-element-selection.d.ts +140 -0
- package/dist/react/lib/html-source-locator.d.ts +16 -0
- package/dist/react/lib/open-session-file.d.ts +2 -0
- package/dist/react/lib/parent-bridge.d.ts +22 -0
- package/dist/react/lib/preview-dispatch.d.ts +24 -0
- package/dist/react/lib/resource-bridge.d.ts +11 -0
- package/dist/react/lib/session-file-preview.d.ts +8 -0
- package/dist/react/lib/step-ranges.d.ts +42 -0
- package/dist/react/lib/tool-preview.d.ts +2 -0
- package/dist/react/lib/ui-meta.d.ts +9 -0
- package/dist/react/lib/utils.d.ts +3 -0
- package/dist/react/lib/whatif-prompt.d.ts +45 -0
- package/dist/react/provider.d.ts +8 -0
- package/dist/react/routes.d.ts +1 -0
- package/dist/react/schemas/background.d.ts +16 -0
- package/dist/react/schemas/event.d.ts +51 -0
- package/dist/react/schemas/gis.d.ts +50 -0
- package/dist/{AskUserQuestionBlock---kOTouk.d.ts → react/schemas/message.d.ts} +15 -48
- package/dist/react/schemas/partner-skill.d.ts +46 -0
- package/dist/{projection-BWYEFYNn.d.ts → react/schemas/projection.d.ts} +12 -10
- package/dist/react/schemas/published-apps.d.ts +38 -0
- package/dist/react/schemas/scheduled-task.d.ts +32 -0
- package/dist/react/schemas/session.d.ts +121 -0
- package/dist/react/schemas/skill.d.ts +50 -0
- package/dist/react/schemas/studio/agent.d.ts +12 -0
- package/dist/react/schemas/studio/database.d.ts +39 -0
- package/dist/react/schemas/studio/env.d.ts +7 -0
- package/dist/react/schemas/studio/knowledge.d.ts +18 -0
- package/dist/react/schemas/studio/resource-base.d.ts +7 -0
- package/dist/react/schemas/studio/scene.d.ts +12 -0
- package/dist/react/schemas/studio/tool.d.ts +25 -0
- package/dist/react/schemas/task.d.ts +12 -0
- package/dist/react/sockets/event-bridge.d.ts +115 -0
- package/dist/react/sockets/socket-state.d.ts +4 -0
- package/dist/react/stores/answer-callback-store.d.ts +9 -0
- package/dist/react/stores/auth-store.d.ts +38 -0
- package/dist/react/stores/background-store.d.ts +13 -0
- package/dist/react/stores/card-state-store.d.ts +10 -0
- package/dist/react/stores/chat-store.d.ts +34 -0
- package/dist/react/stores/client-aware.d.ts +7 -0
- package/dist/react/stores/connection-store.d.ts +14 -0
- package/dist/react/stores/gis-store.d.ts +19 -0
- package/dist/react/stores/index.d.ts +14 -0
- package/dist/react/stores/runtime-features-store.d.ts +21 -0
- package/dist/react/stores/runtime-store.d.ts +18 -0
- package/dist/react/stores/session-store.d.ts +44 -0
- package/dist/react/stores/task-store.d.ts +9 -0
- package/dist/react/stores/ui-bridge-store.d.ts +32 -0
- package/dist/react/stores/ui-store.d.ts +69 -0
- package/dist/react/types/index.d.ts +7 -0
- package/dist/react/types/solution.d.ts +101 -0
- package/package.json +41 -11
- package/dist/SkillStatusBar-U6fbQxMu.d.ts +0 -340
- package/dist/blade-client-qTOovekU.d.ts +0 -1609
- package/dist/chunk-3I4ZURKH.js.map +0 -1
- package/dist/chunk-M45K3554.js.map +0 -1
- package/dist/chunk-QODAKTG5.js.map +0 -1
- package/dist/chunk-WVXXQ3KM.js.map +0 -1
- package/dist/session-CNnotR90.d.ts +0 -227
- package/dist/sessions-BvfLGbjw.d.ts +0 -177
- /package/dist/{chunk-4D4EXLVT.js.map → chunk-DQCXSPHP.js.map} +0 -0
- /package/dist/{chunk-XCIDE3JW.js.map → chunk-OGHUIKCY.js.map} +0 -0
- /package/dist/{chunk-WPLEMYL7.js.map → chunk-PYYDXV2A.js.map} +0 -0
- /package/dist/{chunk-VJY6RLYU.js.map → chunk-TVWC3PED.js.map} +0 -0
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
export interface ProdSolution {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description?: string | null;
|
|
5
|
+
status: string;
|
|
6
|
+
current_dag_version: number;
|
|
7
|
+
current_architecture_version?: number;
|
|
8
|
+
created_by: string;
|
|
9
|
+
created_at: string;
|
|
10
|
+
updated_at: string;
|
|
11
|
+
session_id?: string | null;
|
|
12
|
+
ai_assist?: boolean;
|
|
13
|
+
flow_session_id?: string | null;
|
|
14
|
+
flow_ai_assist?: boolean;
|
|
15
|
+
architecture_session_id?: string | null;
|
|
16
|
+
architecture_ai_assist?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface DslStep {
|
|
19
|
+
id: string;
|
|
20
|
+
type: string;
|
|
21
|
+
name: string;
|
|
22
|
+
next?: string[];
|
|
23
|
+
branches?: string[];
|
|
24
|
+
condition?: string;
|
|
25
|
+
true?: string[];
|
|
26
|
+
false?: string[];
|
|
27
|
+
body?: string[];
|
|
28
|
+
}
|
|
29
|
+
export interface DagPayload {
|
|
30
|
+
steps: DslStep[];
|
|
31
|
+
viewport?: Record<string, unknown> | null;
|
|
32
|
+
}
|
|
33
|
+
export interface DagVersion {
|
|
34
|
+
solution_id: string;
|
|
35
|
+
version: number;
|
|
36
|
+
steps: DslStep[];
|
|
37
|
+
viewport?: Record<string, unknown> | null;
|
|
38
|
+
created_at: string;
|
|
39
|
+
created_by: string;
|
|
40
|
+
message?: string | null;
|
|
41
|
+
change_type: string;
|
|
42
|
+
rollback_from_version?: number | null;
|
|
43
|
+
is_published: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface DagVersionListItem {
|
|
46
|
+
version: number;
|
|
47
|
+
created_at: string;
|
|
48
|
+
created_by: string;
|
|
49
|
+
message?: string | null;
|
|
50
|
+
change_type: string;
|
|
51
|
+
rollback_from_version?: number | null;
|
|
52
|
+
is_published: boolean;
|
|
53
|
+
}
|
|
54
|
+
export interface ArchitectureNode {
|
|
55
|
+
id: string;
|
|
56
|
+
name: string;
|
|
57
|
+
parent_id?: string | null;
|
|
58
|
+
dashed_parent_ids?: string[];
|
|
59
|
+
title?: string;
|
|
60
|
+
description?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface ArchitecturePayload {
|
|
63
|
+
nodes: ArchitectureNode[];
|
|
64
|
+
viewport?: Record<string, unknown> | null;
|
|
65
|
+
}
|
|
66
|
+
export interface ArchitectureVersion extends ArchitecturePayload {
|
|
67
|
+
solution_id: string;
|
|
68
|
+
version: number;
|
|
69
|
+
created_at: string;
|
|
70
|
+
created_by: string;
|
|
71
|
+
message?: string | null;
|
|
72
|
+
change_type: string;
|
|
73
|
+
rollback_from_version?: number | null;
|
|
74
|
+
is_published: boolean;
|
|
75
|
+
}
|
|
76
|
+
export type ArchitectureVersionListItem = DagVersionListItem;
|
|
77
|
+
export interface MulticaRuntime {
|
|
78
|
+
id: string;
|
|
79
|
+
name?: string;
|
|
80
|
+
[key: string]: unknown;
|
|
81
|
+
}
|
|
82
|
+
export interface MulticaAgent {
|
|
83
|
+
id: string;
|
|
84
|
+
name?: string;
|
|
85
|
+
runtime_id?: string;
|
|
86
|
+
visibility?: string;
|
|
87
|
+
instructions?: string;
|
|
88
|
+
[key: string]: unknown;
|
|
89
|
+
}
|
|
90
|
+
export interface ProdAgentPreviewUrl {
|
|
91
|
+
name: string;
|
|
92
|
+
url: string;
|
|
93
|
+
}
|
|
94
|
+
export interface ProdAgentCatalogRole {
|
|
95
|
+
id: string;
|
|
96
|
+
name: string;
|
|
97
|
+
description?: string;
|
|
98
|
+
}
|
|
99
|
+
export interface ProdAgentCatalogSolution {
|
|
100
|
+
id: string;
|
|
101
|
+
name: string;
|
|
102
|
+
layout_type: string;
|
|
103
|
+
initial_mode?: string | null;
|
|
104
|
+
roles: ProdAgentCatalogRole[];
|
|
105
|
+
}
|
|
106
|
+
export interface ProdAgentRecord {
|
|
107
|
+
id: string;
|
|
108
|
+
user_id: string;
|
|
109
|
+
name: string;
|
|
110
|
+
icon: string;
|
|
111
|
+
agent_id: string;
|
|
112
|
+
solution_id: string;
|
|
113
|
+
biz_role_id: string;
|
|
114
|
+
agent_template: string;
|
|
115
|
+
initial_mode?: string | null;
|
|
116
|
+
skills: string[];
|
|
117
|
+
skills_data: Record<string, unknown>;
|
|
118
|
+
skills_data_raw: Record<string, string>;
|
|
119
|
+
init_script: string;
|
|
120
|
+
layout_type: string;
|
|
121
|
+
preview_urls: ProdAgentPreviewUrl[];
|
|
122
|
+
runtime_provider: string;
|
|
123
|
+
visibility: string;
|
|
124
|
+
instructions: string;
|
|
125
|
+
instantiated: boolean;
|
|
126
|
+
instantiated_agent_id?: string | null;
|
|
127
|
+
instantiated_at?: string | null;
|
|
128
|
+
instantiate_error?: string | null;
|
|
129
|
+
instantiated_agent?: Record<string, unknown>;
|
|
130
|
+
create_warning?: string;
|
|
131
|
+
created_at: string;
|
|
132
|
+
updated_at: string;
|
|
133
|
+
}
|
|
134
|
+
export interface ProdUser {
|
|
135
|
+
sub: string;
|
|
136
|
+
email?: string;
|
|
137
|
+
name?: string;
|
|
138
|
+
preferred_username?: string;
|
|
139
|
+
picture?: string | null;
|
|
140
|
+
}
|
|
141
|
+
export interface ProdUserTokenStatus {
|
|
142
|
+
sub: string;
|
|
143
|
+
email: string;
|
|
144
|
+
ok: boolean;
|
|
145
|
+
changed: boolean;
|
|
146
|
+
message: string;
|
|
147
|
+
token_prefix?: string;
|
|
148
|
+
}
|
|
149
|
+
export interface UserWorkspace {
|
|
150
|
+
id: string;
|
|
151
|
+
name?: string;
|
|
152
|
+
slug?: string;
|
|
153
|
+
role?: string;
|
|
154
|
+
[key: string]: unknown;
|
|
155
|
+
}
|
|
156
|
+
export interface CreateUserWorkspaceRequest {
|
|
157
|
+
name: string;
|
|
158
|
+
description?: string;
|
|
159
|
+
member_user_ids?: string[];
|
|
160
|
+
agent_ids?: string[];
|
|
161
|
+
}
|
|
162
|
+
export interface WorkspaceIssueCreateRequest {
|
|
163
|
+
title: string;
|
|
164
|
+
description?: string;
|
|
165
|
+
priority?: "urgent" | "high" | "medium" | "low" | "none";
|
|
166
|
+
status?: "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled";
|
|
167
|
+
assignee?: string;
|
|
168
|
+
assignee_type?: IssueAssigneeType;
|
|
169
|
+
assignee_id?: string;
|
|
170
|
+
project?: string;
|
|
171
|
+
}
|
|
172
|
+
export interface WorkspaceIssue {
|
|
173
|
+
id?: string;
|
|
174
|
+
workspace_id?: string;
|
|
175
|
+
number?: number;
|
|
176
|
+
identifier?: string;
|
|
177
|
+
title?: string;
|
|
178
|
+
issue_url?: string;
|
|
179
|
+
description?: string | null;
|
|
180
|
+
status?: IssueStatus;
|
|
181
|
+
priority?: IssuePriority;
|
|
182
|
+
assignee?: string;
|
|
183
|
+
assignee_type?: IssueAssigneeType | null;
|
|
184
|
+
assignee_id?: string | null;
|
|
185
|
+
creator_type?: IssueAssigneeType;
|
|
186
|
+
creator_id?: string;
|
|
187
|
+
parent_issue_id?: string | null;
|
|
188
|
+
project_id?: string | null;
|
|
189
|
+
start_date?: string | null;
|
|
190
|
+
due_date?: string | null;
|
|
191
|
+
metadata?: Record<string, unknown>;
|
|
192
|
+
labels?: Array<{
|
|
193
|
+
id: string;
|
|
194
|
+
name: string;
|
|
195
|
+
color?: string | null;
|
|
196
|
+
}>;
|
|
197
|
+
created_at?: string;
|
|
198
|
+
updated_at?: string;
|
|
199
|
+
[key: string]: unknown;
|
|
200
|
+
}
|
|
201
|
+
export type IssueStatus = "backlog" | "todo" | "in_progress" | "in_review" | "done" | "blocked" | "cancelled";
|
|
202
|
+
export type IssuePriority = "urgent" | "high" | "medium" | "low" | "none";
|
|
203
|
+
export type IssueAssigneeType = "member" | "agent" | "squad";
|
|
204
|
+
export interface WorkspaceIssueListResponse {
|
|
205
|
+
issues: WorkspaceIssue[];
|
|
206
|
+
total: number;
|
|
207
|
+
}
|
|
208
|
+
export interface WorkspaceIssueGroup {
|
|
209
|
+
id: string;
|
|
210
|
+
assignee_type: IssueAssigneeType | null;
|
|
211
|
+
assignee_id: string | null;
|
|
212
|
+
issues: WorkspaceIssue[];
|
|
213
|
+
total: number;
|
|
214
|
+
}
|
|
215
|
+
export interface WorkspaceIssueGroupedResponse {
|
|
216
|
+
groups: WorkspaceIssueGroup[];
|
|
217
|
+
}
|
|
218
|
+
export interface WorkspaceIssueTimelineEntry {
|
|
219
|
+
type: "activity" | "comment";
|
|
220
|
+
id: string;
|
|
221
|
+
actor_type: string;
|
|
222
|
+
actor_id: string;
|
|
223
|
+
created_at: string;
|
|
224
|
+
action?: string;
|
|
225
|
+
details?: Record<string, unknown>;
|
|
226
|
+
content?: string;
|
|
227
|
+
parent_id?: string | null;
|
|
228
|
+
updated_at?: string;
|
|
229
|
+
comment_type?: string;
|
|
230
|
+
}
|
|
231
|
+
export interface WorkspaceIssueTaskRun {
|
|
232
|
+
id: string;
|
|
233
|
+
status?: string;
|
|
234
|
+
title?: string;
|
|
235
|
+
name?: string;
|
|
236
|
+
goal?: string;
|
|
237
|
+
created_at?: string;
|
|
238
|
+
updated_at?: string;
|
|
239
|
+
started_at?: string | null;
|
|
240
|
+
completed_at?: string | null;
|
|
241
|
+
[key: string]: unknown;
|
|
242
|
+
}
|
|
243
|
+
export interface WorkspaceIssueUsageSummary {
|
|
244
|
+
total_tokens?: number;
|
|
245
|
+
total_cost_usd?: number;
|
|
246
|
+
input_tokens?: number;
|
|
247
|
+
output_tokens?: number;
|
|
248
|
+
[key: string]: unknown;
|
|
249
|
+
}
|
|
250
|
+
export interface WorkspaceMember {
|
|
251
|
+
id?: string;
|
|
252
|
+
workspace_id?: string;
|
|
253
|
+
user_id?: string;
|
|
254
|
+
role?: string;
|
|
255
|
+
name?: string;
|
|
256
|
+
email?: string;
|
|
257
|
+
avatar_url?: string | null;
|
|
258
|
+
created_at?: string;
|
|
259
|
+
[key: string]: unknown;
|
|
260
|
+
}
|
|
261
|
+
export interface WorkspaceAssistantSession {
|
|
262
|
+
user_id?: string;
|
|
263
|
+
workspace_id: string;
|
|
264
|
+
biz_role_id: string;
|
|
265
|
+
session_id?: string | null;
|
|
266
|
+
created_at?: string | null;
|
|
267
|
+
updated_at?: string | null;
|
|
268
|
+
}
|
|
269
|
+
export declare function listProdSolutions(): Promise<ProdSolution[]>;
|
|
270
|
+
export declare function listProdUsers(): Promise<ProdUser[]>;
|
|
271
|
+
export declare function checkProdUserTokenStatus(users: ProdUser[]): Promise<ProdUserTokenStatus[]>;
|
|
272
|
+
export declare function refreshProdUserToken(user: ProdUser): Promise<ProdUserTokenStatus>;
|
|
273
|
+
export declare function listUserWorkspaces(): Promise<UserWorkspace[]>;
|
|
274
|
+
export declare function createUserWorkspace(request: CreateUserWorkspaceRequest): Promise<UserWorkspace>;
|
|
275
|
+
export declare function getUserWorkspace(workspaceId: string): Promise<Record<string, unknown>>;
|
|
276
|
+
export declare function updateUserWorkspace(workspaceId: string, request: {
|
|
277
|
+
name?: string;
|
|
278
|
+
description?: string;
|
|
279
|
+
}): Promise<Record<string, unknown>>;
|
|
280
|
+
export declare function listWorkspaceAgents(workspaceId: string): Promise<Array<Record<string, unknown>>>;
|
|
281
|
+
export declare function connectWorkspaceAgent(workspaceId: string, request: {
|
|
282
|
+
agent_id: string;
|
|
283
|
+
}): Promise<Record<string, unknown>>;
|
|
284
|
+
export declare function removeWorkspaceAgent(workspaceId: string, agentId: string): Promise<Record<string, unknown>>;
|
|
285
|
+
export declare function listWorkspaceMembers(workspaceId: string): Promise<WorkspaceMember[]>;
|
|
286
|
+
export declare function addWorkspaceMember(workspaceId: string, request: {
|
|
287
|
+
user_id: string;
|
|
288
|
+
role?: "owner" | "admin" | "member";
|
|
289
|
+
}): Promise<Record<string, unknown>>;
|
|
290
|
+
export declare function removeWorkspaceMember(workspaceId: string, userId: string): Promise<Record<string, unknown>>;
|
|
291
|
+
export declare function getWorkspaceAssistantSession(workspaceId: string, bizRoleId: string): Promise<WorkspaceAssistantSession>;
|
|
292
|
+
export declare function upsertWorkspaceAssistantSession(workspaceId: string, request: {
|
|
293
|
+
biz_role_id: string;
|
|
294
|
+
session_id: string;
|
|
295
|
+
}): Promise<WorkspaceAssistantSession>;
|
|
296
|
+
export declare function createWorkspaceIssue(workspaceId: string, request: WorkspaceIssueCreateRequest): Promise<Record<string, unknown>>;
|
|
297
|
+
export declare function listWorkspaceIssues(workspaceId: string): Promise<WorkspaceIssue[]>;
|
|
298
|
+
export declare function queryWorkspaceIssues(workspaceId: string, params?: {
|
|
299
|
+
status?: IssueStatus;
|
|
300
|
+
priority?: IssuePriority;
|
|
301
|
+
limit?: number;
|
|
302
|
+
offset?: number;
|
|
303
|
+
open_only?: boolean;
|
|
304
|
+
}): Promise<WorkspaceIssueListResponse>;
|
|
305
|
+
export declare function queryWorkspaceGroupedIssues(workspaceId: string, params: {
|
|
306
|
+
group_by: "assignee";
|
|
307
|
+
statuses?: string;
|
|
308
|
+
limit?: number;
|
|
309
|
+
offset?: number;
|
|
310
|
+
}): Promise<WorkspaceIssueGroupedResponse>;
|
|
311
|
+
export declare function getWorkspaceIssue(workspaceId: string, issueId: string): Promise<WorkspaceIssue>;
|
|
312
|
+
export declare function updateWorkspaceIssue(workspaceId: string, issueId: string, updates: Partial<WorkspaceIssue>): Promise<WorkspaceIssue>;
|
|
313
|
+
export declare function getWorkspaceIssueTimeline(workspaceId: string, issueId: string): Promise<WorkspaceIssueTimelineEntry[]>;
|
|
314
|
+
export declare function getWorkspaceIssueTaskRuns(workspaceId: string, issueId: string): Promise<WorkspaceIssueTaskRun[]>;
|
|
315
|
+
export declare function getWorkspaceIssueUsage(workspaceId: string, issueId: string): Promise<WorkspaceIssueUsageSummary>;
|
|
316
|
+
export declare function createProdSolution(request: {
|
|
317
|
+
name: string;
|
|
318
|
+
description?: string | null;
|
|
319
|
+
session_id?: string | null;
|
|
320
|
+
ai_assist?: boolean;
|
|
321
|
+
flow_session_id?: string | null;
|
|
322
|
+
flow_ai_assist?: boolean;
|
|
323
|
+
architecture_session_id?: string | null;
|
|
324
|
+
architecture_ai_assist?: boolean;
|
|
325
|
+
}): Promise<ProdSolution>;
|
|
326
|
+
export declare function updateProdSolution(solutionId: string, request: {
|
|
327
|
+
name?: string;
|
|
328
|
+
description?: string | null;
|
|
329
|
+
status?: string;
|
|
330
|
+
}): Promise<ProdSolution>;
|
|
331
|
+
export declare function deleteProdSolution(solutionId: string): Promise<{
|
|
332
|
+
ok: boolean;
|
|
333
|
+
}>;
|
|
334
|
+
export declare function updateSessionId(solutionId: string, sessionId: string): Promise<{
|
|
335
|
+
ok: boolean;
|
|
336
|
+
}>;
|
|
337
|
+
export declare function getCurrentDag(solutionId: string): Promise<DagVersion>;
|
|
338
|
+
export declare function saveDag(solutionId: string, request: {
|
|
339
|
+
base_version: number;
|
|
340
|
+
dag: DagPayload;
|
|
341
|
+
message?: string | null;
|
|
342
|
+
}): Promise<DagVersion>;
|
|
343
|
+
export declare function validateDag(solutionId: string, dag: DagPayload): Promise<{
|
|
344
|
+
ok: boolean;
|
|
345
|
+
errors: Array<{
|
|
346
|
+
code: string;
|
|
347
|
+
message: string;
|
|
348
|
+
}>;
|
|
349
|
+
}>;
|
|
350
|
+
export declare function publishDag(solutionId: string, request?: {
|
|
351
|
+
dag?: DagPayload;
|
|
352
|
+
version?: number;
|
|
353
|
+
message?: string | null;
|
|
354
|
+
}): Promise<DagVersion>;
|
|
355
|
+
export declare function listDagVersions(solutionId: string): Promise<DagVersionListItem[]>;
|
|
356
|
+
export declare function getDagVersion(solutionId: string, version: number): Promise<DagVersion>;
|
|
357
|
+
export declare function rollbackDag(solutionId: string, request: {
|
|
358
|
+
from_version: number;
|
|
359
|
+
message?: string | null;
|
|
360
|
+
}): Promise<DagVersion>;
|
|
361
|
+
export declare function deleteVersion(solutionId: string, version: number): Promise<{
|
|
362
|
+
ok: boolean;
|
|
363
|
+
}>;
|
|
364
|
+
export declare function getCurrentArchitecture(solutionId: string): Promise<ArchitectureVersion>;
|
|
365
|
+
export declare function saveArchitecture(solutionId: string, request: {
|
|
366
|
+
base_version: number;
|
|
367
|
+
architecture: ArchitecturePayload;
|
|
368
|
+
message?: string | null;
|
|
369
|
+
}): Promise<ArchitectureVersion>;
|
|
370
|
+
export declare function validateArchitecture(solutionId: string, architecture: ArchitecturePayload): Promise<{
|
|
371
|
+
ok: boolean;
|
|
372
|
+
errors: Array<{
|
|
373
|
+
code: string;
|
|
374
|
+
message: string;
|
|
375
|
+
}>;
|
|
376
|
+
}>;
|
|
377
|
+
export declare function publishArchitecture(solutionId: string, request?: {
|
|
378
|
+
architecture?: ArchitecturePayload;
|
|
379
|
+
version?: number;
|
|
380
|
+
message?: string | null;
|
|
381
|
+
}): Promise<ArchitectureVersion>;
|
|
382
|
+
export declare function listArchitectureVersions(solutionId: string): Promise<ArchitectureVersionListItem[]>;
|
|
383
|
+
export declare function getArchitectureVersion(solutionId: string, version: number): Promise<ArchitectureVersion>;
|
|
384
|
+
export declare function rollbackArchitecture(solutionId: string, request: {
|
|
385
|
+
from_version: number;
|
|
386
|
+
message?: string | null;
|
|
387
|
+
}): Promise<ArchitectureVersion>;
|
|
388
|
+
export declare function deleteArchitectureVersion(solutionId: string, version: number): Promise<{
|
|
389
|
+
ok: boolean;
|
|
390
|
+
}>;
|
|
391
|
+
export declare function listAgentRuntimes(): Promise<MulticaRuntime[]>;
|
|
392
|
+
export declare function listAgents(includeArchived?: boolean): Promise<MulticaAgent[]>;
|
|
393
|
+
export declare function getAgent(agentId: string): Promise<MulticaAgent>;
|
|
394
|
+
export declare function createAgent(request: {
|
|
395
|
+
name: string;
|
|
396
|
+
runtime_id: string;
|
|
397
|
+
instructions?: string;
|
|
398
|
+
visibility?: string;
|
|
399
|
+
}): Promise<MulticaAgent>;
|
|
400
|
+
export declare function listProdAgents(): Promise<ProdAgentRecord[]>;
|
|
401
|
+
export declare function getProdAgent(providerKey: string): Promise<ProdAgentRecord>;
|
|
402
|
+
export interface ProdAgentWorkspaceReference {
|
|
403
|
+
id: string;
|
|
404
|
+
name: string;
|
|
405
|
+
slug?: string | null;
|
|
406
|
+
}
|
|
407
|
+
export declare function getProdAgentWorkspaceReferences(recordId: string, options?: {
|
|
408
|
+
refresh?: boolean;
|
|
409
|
+
}): Promise<{
|
|
410
|
+
items: ProdAgentWorkspaceReference[];
|
|
411
|
+
count: number;
|
|
412
|
+
cached?: boolean;
|
|
413
|
+
}>;
|
|
414
|
+
export declare function listProdAgentCatalogSolutions(): Promise<ProdAgentCatalogSolution[]>;
|
|
415
|
+
export declare function createProdAgent(request: {
|
|
416
|
+
name: string;
|
|
417
|
+
icon?: string;
|
|
418
|
+
agent_id?: string | null;
|
|
419
|
+
solution_id: string;
|
|
420
|
+
biz_role_id: string;
|
|
421
|
+
agent_template: string;
|
|
422
|
+
initial_mode?: string | null;
|
|
423
|
+
skills: string[];
|
|
424
|
+
skills_data: Record<string, string>;
|
|
425
|
+
init_script: string;
|
|
426
|
+
layout_type: string;
|
|
427
|
+
preview_urls: ProdAgentPreviewUrl[];
|
|
428
|
+
runtime_provider: string;
|
|
429
|
+
visibility: string;
|
|
430
|
+
instructions: string;
|
|
431
|
+
}): Promise<ProdAgentRecord>;
|
|
432
|
+
export declare function instantiateProdAgent(recordId: string): Promise<ProdAgentRecord & {
|
|
433
|
+
ok?: boolean;
|
|
434
|
+
message?: string;
|
|
435
|
+
}>;
|
|
436
|
+
export declare function deleteProdAgent(recordId: string): Promise<{
|
|
437
|
+
ok: boolean;
|
|
438
|
+
}>;
|
|
439
|
+
export declare function startProdAgentSession(recordId: string): Promise<{
|
|
440
|
+
session_id: string;
|
|
441
|
+
route_solution_id: string;
|
|
442
|
+
}>;
|
|
443
|
+
export declare function updateProdAgent(recordId: string, request: {
|
|
444
|
+
name: string;
|
|
445
|
+
icon?: string;
|
|
446
|
+
solution_id: string;
|
|
447
|
+
biz_role_id: string;
|
|
448
|
+
agent_template: string;
|
|
449
|
+
initial_mode?: string | null;
|
|
450
|
+
skills: string[];
|
|
451
|
+
skills_data: Record<string, string>;
|
|
452
|
+
init_script: string;
|
|
453
|
+
layout_type: string;
|
|
454
|
+
preview_urls: ProdAgentPreviewUrl[];
|
|
455
|
+
runtime_provider: string;
|
|
456
|
+
}): Promise<ProdAgentRecord>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { PublishedAppsResource } from "../../client/resources/published-apps.js";
|
|
2
|
+
export type * from "../../client/resources/published-apps.js";
|
|
3
|
+
export type * from "../schemas/published-apps.js";
|
|
4
|
+
export declare const listPublishedApps: (...args: Parameters<PublishedAppsResource["listPublishedApps"]>) => Promise<{
|
|
5
|
+
session_id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
url: string;
|
|
8
|
+
host_port: number;
|
|
9
|
+
app_port: number;
|
|
10
|
+
icon: string;
|
|
11
|
+
open_in: string;
|
|
12
|
+
created_at: number;
|
|
13
|
+
status: "exited" | "restarting" | "running";
|
|
14
|
+
os_app_id: string;
|
|
15
|
+
os_registered: boolean;
|
|
16
|
+
}[]>;
|
|
17
|
+
export declare const unpublishApp: (...args: Parameters<PublishedAppsResource["unpublishApp"]>) => Promise<{
|
|
18
|
+
ok: boolean;
|
|
19
|
+
os_app_id?: string | undefined;
|
|
20
|
+
os_registered?: boolean | undefined;
|
|
21
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
listPublishedApps,
|
|
3
|
+
unpublishApp
|
|
4
|
+
} from "../../chunk-HCQDDDOX.js";
|
|
5
|
+
import "../../chunk-UWNQ4PXK.js";
|
|
6
|
+
import "../../chunk-J3XVFPOV.js";
|
|
7
|
+
import "../../chunk-YJ6BX3FU.js";
|
|
8
|
+
import "../../chunk-JCJFFJ42.js";
|
|
9
|
+
import "../../chunk-PZ5AY32C.js";
|
|
10
|
+
export {
|
|
11
|
+
listPublishedApps,
|
|
12
|
+
unpublishApp
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=published-apps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { RegistryResource } from "../../client/resources/registry.js";
|
|
2
|
+
export type * from "../../client/resources/registry.js";
|
|
3
|
+
export { normalizeResource, REGISTRY_PREFIX } from "../../client/resources/registry.js";
|
|
4
|
+
export declare const createResourceApi: <T extends Record<string, unknown>>(apiType: string) => import("./registry.js").ResourceApi<T>;
|
|
5
|
+
export declare const listSkillOrgs: (...args: Parameters<RegistryResource["listSkillOrgs"]>) => Promise<import("./registry.js").SkillOrgListResponse>;
|
|
6
|
+
export declare const publishSkill: (...args: Parameters<RegistryResource["publishSkill"]>) => Promise<{
|
|
7
|
+
success: boolean;
|
|
8
|
+
skill_id: string;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const databaseApi: import("./registry.js").ResourceApi<{
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
description: string;
|
|
14
|
+
tags: string[];
|
|
15
|
+
type: "data";
|
|
16
|
+
subtype: "db";
|
|
17
|
+
driver: "mysql" | "postgresql";
|
|
18
|
+
config: Record<string, unknown>;
|
|
19
|
+
}>;
|
|
20
|
+
export declare const toolApi: import("./registry.js").ResourceApi<{
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
tags: string[];
|
|
25
|
+
type: "tools";
|
|
26
|
+
subtype: "http" | "mcp";
|
|
27
|
+
config: Record<string, unknown>;
|
|
28
|
+
}>;
|
|
29
|
+
export declare const knowledgeApi: import("./registry.js").ResourceApi<{
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
description: string;
|
|
33
|
+
tags: string[];
|
|
34
|
+
type: "knowledge";
|
|
35
|
+
subtype: "dify";
|
|
36
|
+
config: Record<string, unknown>;
|
|
37
|
+
}>;
|
|
38
|
+
export declare const agentApi: import("./registry.js").ResourceApi<{
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
description: string;
|
|
42
|
+
tags: string[];
|
|
43
|
+
type: "agent";
|
|
44
|
+
subtype: "dify";
|
|
45
|
+
config: Record<string, unknown>;
|
|
46
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ScenariosResource } from "../../client/resources/scenarios.js";
|
|
2
|
+
export type * from "../../client/resources/scenarios.js";
|
|
3
|
+
export declare const listQuickScenarios: (...args: Parameters<ScenariosResource["listQuickScenarios"]>) => Promise<import("./scenarios.js").QuickScenario[]>;
|
|
4
|
+
export declare const createQuickScenario: (...args: Parameters<ScenariosResource["createQuickScenario"]>) => Promise<import("./scenarios.js").QuickScenario>;
|
|
5
|
+
export declare const deleteQuickScenario: (...args: Parameters<ScenariosResource["deleteQuickScenario"]>) => Promise<{
|
|
6
|
+
ok: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
export declare const updateQuickScenario: (...args: Parameters<ScenariosResource["updateQuickScenario"]>) => Promise<import("./scenarios.js").QuickScenario>;
|
|
9
|
+
export declare const listBladeHubScenarioResources: (...args: Parameters<ScenariosResource["listBladeHubScenarioResources"]>) => Promise<import("./scenarios.js").BladeHubScenarioResource[]>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ScheduledTask, ScheduledTaskCalendarItem, ScheduledTaskRun } from "../schemas/scheduled-task.js";
|
|
2
|
+
export interface ScheduledTaskCreatePayload {
|
|
3
|
+
title: string;
|
|
4
|
+
prompt: string;
|
|
5
|
+
cron: string;
|
|
6
|
+
timezone?: string;
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
expires_at?: string | null;
|
|
9
|
+
skip_confirmations?: boolean;
|
|
10
|
+
model?: string | null;
|
|
11
|
+
}
|
|
12
|
+
export type ScheduledTaskUpdatePayload = Partial<ScheduledTaskCreatePayload>;
|
|
13
|
+
export declare function listScheduledTasks(): Promise<ScheduledTask[]>;
|
|
14
|
+
export declare function createScheduledTask(payload: ScheduledTaskCreatePayload): Promise<ScheduledTask>;
|
|
15
|
+
export declare function getScheduledTask(id: string): Promise<ScheduledTask>;
|
|
16
|
+
export declare function updateScheduledTask(id: string, payload: ScheduledTaskUpdatePayload): Promise<ScheduledTask>;
|
|
17
|
+
export declare function deleteScheduledTask(id: string): Promise<void>;
|
|
18
|
+
export declare function startScheduledTask(id: string): Promise<ScheduledTask>;
|
|
19
|
+
export declare function stopScheduledTask(id: string): Promise<ScheduledTask>;
|
|
20
|
+
export declare function listScheduledTaskRuns(id: string): Promise<ScheduledTaskRun[]>;
|
|
21
|
+
export declare function getScheduledTaskCalendar(params: {
|
|
22
|
+
from: string;
|
|
23
|
+
to: string;
|
|
24
|
+
}): Promise<ScheduledTaskCalendarItem[]>;
|