@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
package/dist/react/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
published_apps_exports
|
|
3
|
+
} from "../chunk-HCQDDDOX.js";
|
|
1
4
|
import {
|
|
2
5
|
useCardState
|
|
3
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-DQCXSPHP.js";
|
|
4
7
|
import {
|
|
5
8
|
ATTACHMENT_SIZE_LIMIT_BYTES,
|
|
6
9
|
ChatInput,
|
|
@@ -32,7 +35,8 @@ import {
|
|
|
32
35
|
useTiptapVoiceInput,
|
|
33
36
|
useVoiceInput,
|
|
34
37
|
user_preferences_exports
|
|
35
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-BGNKHPCD.js";
|
|
39
|
+
import "../chunk-H62LH2AG.js";
|
|
36
40
|
import {
|
|
37
41
|
CardCodeBlock,
|
|
38
42
|
CardContext,
|
|
@@ -41,22 +45,21 @@ import {
|
|
|
41
45
|
normalizeCodeLanguage,
|
|
42
46
|
useCardContext,
|
|
43
47
|
useHighlightedCodeHtml
|
|
44
|
-
} from "../chunk-
|
|
45
|
-
import {
|
|
46
|
-
CardJSON,
|
|
47
|
-
cardRegistry
|
|
48
|
-
} from "../chunk-2UP7MG3J.js";
|
|
49
|
-
import {
|
|
50
|
-
useSession
|
|
51
|
-
} from "../chunk-VJY6RLYU.js";
|
|
52
|
-
import "../chunk-H62LH2AG.js";
|
|
48
|
+
} from "../chunk-OGHUIKCY.js";
|
|
53
49
|
import {
|
|
54
50
|
buildBinaryPreviewTarget,
|
|
55
51
|
buildSessionBinaryPreviewTarget,
|
|
56
52
|
isOfficePdfPreviewable,
|
|
57
53
|
resolveSessionFilePreviewTarget,
|
|
58
54
|
resolveTextPreviewType
|
|
59
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-PYYDXV2A.js";
|
|
56
|
+
import {
|
|
57
|
+
CardJSON,
|
|
58
|
+
cardRegistry
|
|
59
|
+
} from "../chunk-2UP7MG3J.js";
|
|
60
|
+
import {
|
|
61
|
+
useSession
|
|
62
|
+
} from "../chunk-TVWC3PED.js";
|
|
60
63
|
import {
|
|
61
64
|
PartnerSkillFile,
|
|
62
65
|
PartnerSkillInstallPayload,
|
|
@@ -111,17 +114,19 @@ import {
|
|
|
111
114
|
useTaskStore,
|
|
112
115
|
useUiBridgeStore,
|
|
113
116
|
useUiStore
|
|
114
|
-
} from "../chunk-
|
|
117
|
+
} from "../chunk-UWNQ4PXK.js";
|
|
118
|
+
import "../chunk-J3XVFPOV.js";
|
|
115
119
|
import {
|
|
116
120
|
REGISTRY_PREFIX,
|
|
117
121
|
normalizeResource
|
|
118
|
-
} from "../chunk-
|
|
122
|
+
} from "../chunk-YJ6BX3FU.js";
|
|
119
123
|
import {
|
|
120
124
|
cn,
|
|
121
|
-
copyToClipboard
|
|
125
|
+
copyToClipboard
|
|
126
|
+
} from "../chunk-7LEKQI47.js";
|
|
127
|
+
import {
|
|
122
128
|
useCardStateStore
|
|
123
|
-
} from "../chunk-
|
|
124
|
-
import "../chunk-J3XVFPOV.js";
|
|
129
|
+
} from "../chunk-JCJFFJ42.js";
|
|
125
130
|
import {
|
|
126
131
|
__export
|
|
127
132
|
} from "../chunk-PZ5AY32C.js";
|
|
@@ -155,6 +160,18 @@ var createApiKey = (...args) => r().createApiKey(...args);
|
|
|
155
160
|
var renameApiKey = (...args) => r().renameApiKey(...args);
|
|
156
161
|
var deleteApiKey = (...args) => r().deleteApiKey(...args);
|
|
157
162
|
|
|
163
|
+
// src/react/api/app-dev-templates.ts
|
|
164
|
+
var app_dev_templates_exports = {};
|
|
165
|
+
__export(app_dev_templates_exports, {
|
|
166
|
+
get: () => get,
|
|
167
|
+
getMediaUrl: () => getMediaUrl,
|
|
168
|
+
list: () => list
|
|
169
|
+
});
|
|
170
|
+
var resource = () => getClient().appDevTemplates;
|
|
171
|
+
var list = (...args) => resource().list(...args);
|
|
172
|
+
var get = (...args) => resource().get(...args);
|
|
173
|
+
var getMediaUrl = (...args) => resource().getMediaUrl(...args);
|
|
174
|
+
|
|
158
175
|
// src/react/api/env-buckets.ts
|
|
159
176
|
var env_buckets_exports = {};
|
|
160
177
|
__export(env_buckets_exports, {
|
|
@@ -207,15 +224,71 @@ var r4 = () => getClient().gis;
|
|
|
207
224
|
var fetchGisState = (...args) => r4().fetchGisState(...args);
|
|
208
225
|
var fetchRuntimeConfig = (...args) => r4().fetchRuntimeConfig(...args);
|
|
209
226
|
|
|
210
|
-
// src/react/api/
|
|
211
|
-
var
|
|
212
|
-
__export(
|
|
213
|
-
|
|
214
|
-
|
|
227
|
+
// src/react/api/model-config.ts
|
|
228
|
+
var model_config_exports = {};
|
|
229
|
+
__export(model_config_exports, {
|
|
230
|
+
createRuntimeModelConfig: () => createRuntimeModelConfig,
|
|
231
|
+
deleteRuntimeModelConfig: () => deleteRuntimeModelConfig,
|
|
232
|
+
detectContextWindow: () => detectContextWindow,
|
|
233
|
+
getRuntimeModelConfigs: () => getRuntimeModelConfigs,
|
|
234
|
+
listModelCandidates: () => listModelCandidates,
|
|
235
|
+
setDefaultRuntimeModelConfig: () => setDefaultRuntimeModelConfig,
|
|
236
|
+
testRuntimeModelConfig: () => testRuntimeModelConfig,
|
|
237
|
+
updateRuntimeModelConfig: () => updateRuntimeModelConfig
|
|
215
238
|
});
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
239
|
+
function getRuntimeModelConfigs() {
|
|
240
|
+
return apiFetch("/api/admin/model-config");
|
|
241
|
+
}
|
|
242
|
+
function createRuntimeModelConfig(config) {
|
|
243
|
+
return apiFetch("/api/admin/model-config", {
|
|
244
|
+
method: "POST",
|
|
245
|
+
headers: { "Content-Type": "application/json" },
|
|
246
|
+
body: JSON.stringify(config)
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
function updateRuntimeModelConfig(configId, config) {
|
|
250
|
+
return apiFetch(
|
|
251
|
+
`/api/admin/model-config/${encodeURIComponent(configId)}`,
|
|
252
|
+
{
|
|
253
|
+
method: "PUT",
|
|
254
|
+
headers: { "Content-Type": "application/json" },
|
|
255
|
+
body: JSON.stringify(config)
|
|
256
|
+
}
|
|
257
|
+
);
|
|
258
|
+
}
|
|
259
|
+
function deleteRuntimeModelConfig(configId) {
|
|
260
|
+
return apiFetch(
|
|
261
|
+
`/api/admin/model-config/${encodeURIComponent(configId)}`,
|
|
262
|
+
{ method: "DELETE" }
|
|
263
|
+
);
|
|
264
|
+
}
|
|
265
|
+
function setDefaultRuntimeModelConfig(configId) {
|
|
266
|
+
return apiFetch(
|
|
267
|
+
`/api/admin/model-config/${encodeURIComponent(configId)}/default`,
|
|
268
|
+
{ method: "PUT" }
|
|
269
|
+
);
|
|
270
|
+
}
|
|
271
|
+
function detectContextWindow(config) {
|
|
272
|
+
return apiFetch("/api/admin/model-config/detect-context-window", {
|
|
273
|
+
method: "POST",
|
|
274
|
+
headers: { "Content-Type": "application/json" },
|
|
275
|
+
body: JSON.stringify(config)
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
function listModelCandidates(config) {
|
|
279
|
+
return apiFetch("/api/admin/model-config/candidates", {
|
|
280
|
+
method: "POST",
|
|
281
|
+
headers: { "Content-Type": "application/json" },
|
|
282
|
+
body: JSON.stringify(config)
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
function testRuntimeModelConfig(config) {
|
|
286
|
+
return apiFetch("/api/admin/model-config/test", {
|
|
287
|
+
method: "POST",
|
|
288
|
+
headers: { "Content-Type": "application/json" },
|
|
289
|
+
body: JSON.stringify(config)
|
|
290
|
+
});
|
|
291
|
+
}
|
|
219
292
|
|
|
220
293
|
// src/react/api/prod-solution.ts
|
|
221
294
|
var prod_solution_exports = {};
|
|
@@ -667,12 +740,12 @@ __export(solutions_exports, {
|
|
|
667
740
|
fetchSolutions: () => fetchSolutions,
|
|
668
741
|
publishSolution: () => publishSolution
|
|
669
742
|
});
|
|
670
|
-
var
|
|
671
|
-
var fetchSolutions = (...args) =>
|
|
672
|
-
var fetchSolutionFile = (...args) =>
|
|
673
|
-
var fetchSolutionBizRoles = (...args) =>
|
|
674
|
-
var exportSolution = (...args) =>
|
|
675
|
-
var publishSolution = (...args) =>
|
|
743
|
+
var r5 = () => getClient().solutions;
|
|
744
|
+
var fetchSolutions = (...args) => r5().fetchSolutions(...args);
|
|
745
|
+
var fetchSolutionFile = (...args) => r5().fetchSolutionFile(...args);
|
|
746
|
+
var fetchSolutionBizRoles = (...args) => r5().fetchSolutionBizRoles(...args);
|
|
747
|
+
var exportSolution = (...args) => r5().exportSolution(...args);
|
|
748
|
+
var publishSolution = (...args) => r5().publishSolution(...args);
|
|
676
749
|
|
|
677
750
|
// src/react/api/scenarios.ts
|
|
678
751
|
var scenarios_exports = {};
|
|
@@ -683,12 +756,12 @@ __export(scenarios_exports, {
|
|
|
683
756
|
listQuickScenarios: () => listQuickScenarios,
|
|
684
757
|
updateQuickScenario: () => updateQuickScenario
|
|
685
758
|
});
|
|
686
|
-
var
|
|
687
|
-
var listQuickScenarios = (...args) =>
|
|
688
|
-
var createQuickScenario = (...args) =>
|
|
689
|
-
var deleteQuickScenario = (...args) =>
|
|
690
|
-
var updateQuickScenario = (...args) =>
|
|
691
|
-
var listBladeHubScenarioResources = (...args) =>
|
|
759
|
+
var r6 = () => getClient().scenarios;
|
|
760
|
+
var listQuickScenarios = (...args) => r6().listQuickScenarios(...args);
|
|
761
|
+
var createQuickScenario = (...args) => r6().createQuickScenario(...args);
|
|
762
|
+
var deleteQuickScenario = (...args) => r6().deleteQuickScenario(...args);
|
|
763
|
+
var updateQuickScenario = (...args) => r6().updateQuickScenario(...args);
|
|
764
|
+
var listBladeHubScenarioResources = (...args) => r6().listBladeHubScenarioResources(...args);
|
|
692
765
|
|
|
693
766
|
// src/react/api/scheduled-tasks.ts
|
|
694
767
|
var scheduled_tasks_exports = {};
|
|
@@ -744,21 +817,21 @@ async function getScheduledTaskCalendar(params) {
|
|
|
744
817
|
}
|
|
745
818
|
|
|
746
819
|
// src/react/api/registry.ts
|
|
747
|
-
var
|
|
748
|
-
var createResourceApi = (apiType) =>
|
|
749
|
-
var listSkillOrgs = (...args) =>
|
|
750
|
-
var publishSkill = (...args) =>
|
|
820
|
+
var r7 = () => getClient().registry;
|
|
821
|
+
var createResourceApi = (apiType) => r7().createResourceApi(apiType);
|
|
822
|
+
var listSkillOrgs = (...args) => r7().listSkillOrgs(...args);
|
|
823
|
+
var publishSkill = (...args) => r7().publishSkill(...args);
|
|
751
824
|
var databaseApi = new Proxy({}, {
|
|
752
|
-
get: (_target, prop) => Reflect.get(
|
|
825
|
+
get: (_target, prop) => Reflect.get(r7().databaseApi, prop)
|
|
753
826
|
});
|
|
754
827
|
var toolApi = new Proxy({}, {
|
|
755
|
-
get: (_target, prop) => Reflect.get(
|
|
828
|
+
get: (_target, prop) => Reflect.get(r7().toolApi, prop)
|
|
756
829
|
});
|
|
757
830
|
var knowledgeApi = new Proxy({}, {
|
|
758
|
-
get: (_target, prop) => Reflect.get(
|
|
831
|
+
get: (_target, prop) => Reflect.get(r7().knowledgeApi, prop)
|
|
759
832
|
});
|
|
760
833
|
var agentApi = new Proxy({}, {
|
|
761
|
-
get: (_target, prop) => Reflect.get(
|
|
834
|
+
get: (_target, prop) => Reflect.get(r7().agentApi, prop)
|
|
762
835
|
});
|
|
763
836
|
|
|
764
837
|
// src/react/hooks/use-gis.ts
|
|
@@ -1089,16 +1162,16 @@ function buildStepRanges(messages, steps) {
|
|
|
1089
1162
|
ranges.sort((a, b) => a.startIndex - b.startIndex);
|
|
1090
1163
|
const result = [];
|
|
1091
1164
|
for (let i = 0; i < ranges.length; i++) {
|
|
1092
|
-
const
|
|
1165
|
+
const r8 = ranges[i];
|
|
1093
1166
|
const upper = i + 1 < ranges.length ? ranges[i + 1].startIndex : messages.length;
|
|
1094
|
-
let lastTagged =
|
|
1095
|
-
for (let j = upper - 1; j >=
|
|
1096
|
-
if (perMessageStep[j] ===
|
|
1167
|
+
let lastTagged = r8.startIndex;
|
|
1168
|
+
for (let j = upper - 1; j >= r8.startIndex; j--) {
|
|
1169
|
+
if (perMessageStep[j] === r8.stepNumber) {
|
|
1097
1170
|
lastTagged = j;
|
|
1098
1171
|
break;
|
|
1099
1172
|
}
|
|
1100
1173
|
}
|
|
1101
|
-
result.push({ stepNumber:
|
|
1174
|
+
result.push({ stepNumber: r8.stepNumber, startIndex: r8.startIndex, endIndex: lastTagged + 1 });
|
|
1102
1175
|
}
|
|
1103
1176
|
return result;
|
|
1104
1177
|
}
|
|
@@ -1845,6 +1918,7 @@ export {
|
|
|
1845
1918
|
apiFetchResponse,
|
|
1846
1919
|
apiFetchText,
|
|
1847
1920
|
api_keys_exports as apiKeysApi,
|
|
1921
|
+
app_dev_templates_exports as appDevTemplatesApi,
|
|
1848
1922
|
attachClientToStores,
|
|
1849
1923
|
attachHostBridgeListener,
|
|
1850
1924
|
auth_exports as authApi,
|
|
@@ -1881,6 +1955,7 @@ export {
|
|
|
1881
1955
|
listSkillOrgs,
|
|
1882
1956
|
locateHtmlElementSource,
|
|
1883
1957
|
memories_exports as memoriesApi,
|
|
1958
|
+
model_config_exports as modelConfigApi,
|
|
1884
1959
|
models_exports as modelsApi,
|
|
1885
1960
|
normalizeCodeLanguage,
|
|
1886
1961
|
normalizeResource,
|