@blade-hq/agent-kit 1.0.24 → 1.0.27
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-7F6UP5LP.js → chunk-34GDDOWY.js} +5 -208
- package/dist/chunk-34GDDOWY.js.map +1 -0
- package/dist/{chunk-2QYV43YP.js → chunk-C2FKVGJU.js} +2 -2
- package/dist/{chunk-TYM7KL2L.js → chunk-JU5SL4HP.js} +2 -2
- package/dist/chunk-M72OL7ZJ.js +23 -0
- package/dist/chunk-M72OL7ZJ.js.map +1 -0
- package/dist/{chunk-IMMRWXI7.js → chunk-SBASG3M2.js} +128 -98
- package/dist/chunk-SBASG3M2.js.map +1 -0
- package/dist/{chunk-BQKF6HJH.js → chunk-TE6G6NVX.js} +6 -6
- package/dist/{chunk-ICV7OTGX.js → chunk-X2NJKKXR.js} +10 -10
- package/dist/client/auth.d.ts +8 -0
- package/dist/client/blade-client.d.ts +80 -0
- package/dist/client/index.d.ts +22 -18769
- package/dist/client/index.js +1 -5
- package/dist/client/resources/api-keys.d.ts +28 -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 +23 -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/socket.d.ts +9 -0
- package/dist/client/types/index.d.ts +8 -0
- package/dist/client/types/rest.d.ts +15335 -0
- package/dist/client/types/sdk-profile.d.ts +47 -0
- package/dist/client/types/socket-events.d.ts +503 -0
- package/dist/react/api/api-keys.d.ts +6 -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/models.d.ts +11 -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/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 +16 -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 +13 -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 +6 -6
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- 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 +17 -0
- package/dist/react/hooks/use-registry.d.ts +53 -0
- package/dist/react/hooks/use-resolved-model.d.ts +5 -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 +121 -2111
- package/dist/react/index.js +41 -97
- 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/projection/builder.d.ts +59 -0
- package/dist/react/projection/helpers.d.ts +34 -0
- package/dist/react/projection/index.d.ts +2 -0
- package/dist/react/projection/state.d.ts +22 -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 -12
- package/dist/SkillStatusBar-DluiBsVj.d.ts +0 -340
- package/dist/blade-client-CseN7OW9.d.ts +0 -1867
- package/dist/chunk-7F6UP5LP.js.map +0 -1
- package/dist/chunk-IMMRWXI7.js.map +0 -1
- package/dist/react/api/vibe-coding.d.ts +0 -55
- package/dist/react/api/vibe-coding.js +0 -47
- package/dist/react/api/vibe-coding.js.map +0 -1
- package/dist/session-CT8Y2KHr.d.ts +0 -227
- package/dist/sessions-DI9DVun7.d.ts +0 -177
- /package/dist/{chunk-2QYV43YP.js.map → chunk-C2FKVGJU.js.map} +0 -0
- /package/dist/{chunk-TYM7KL2L.js.map → chunk-JU5SL4HP.js.map} +0 -0
- /package/dist/{chunk-BQKF6HJH.js.map → chunk-TE6G6NVX.js.map} +0 -0
- /package/dist/{chunk-ICV7OTGX.js.map → chunk-X2NJKKXR.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-J3XVFPOV.js";
|
|
4
4
|
import {
|
|
5
5
|
BladeClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-34GDDOWY.js";
|
|
7
7
|
import {
|
|
8
8
|
createClientActions,
|
|
9
9
|
useCardStateStore
|
|
@@ -12,6 +12,53 @@ import {
|
|
|
12
12
|
__export
|
|
13
13
|
} from "./chunk-PZ5AY32C.js";
|
|
14
14
|
|
|
15
|
+
// src/react/api/sessions.ts
|
|
16
|
+
var sessions_exports = {};
|
|
17
|
+
__export(sessions_exports, {
|
|
18
|
+
checkoutSession: () => checkoutSession,
|
|
19
|
+
copyFile: () => copyFile,
|
|
20
|
+
createSession: () => createSession,
|
|
21
|
+
createSessionWithRequest: () => createSessionWithRequest,
|
|
22
|
+
createShare: () => createShare,
|
|
23
|
+
deleteFile: () => deleteFile,
|
|
24
|
+
deleteSession: () => deleteSession,
|
|
25
|
+
exportSession: () => exportSession,
|
|
26
|
+
getBackgroundTask: () => getBackgroundTask,
|
|
27
|
+
getDownloadDirUrl: () => getDownloadDirUrl,
|
|
28
|
+
getSession: () => getSession,
|
|
29
|
+
getSessionCheckpoints: () => getSessionCheckpoints,
|
|
30
|
+
getSessionContextStats: () => getSessionContextStats,
|
|
31
|
+
getSessionExtraInfoByTask: () => getSessionExtraInfoByTask,
|
|
32
|
+
getSessionHistory: () => getSessionHistory,
|
|
33
|
+
getSessionTasks: () => getSessionTasks,
|
|
34
|
+
getSessionTurns: () => getSessionTurns,
|
|
35
|
+
getSharedSession: () => getSharedSession,
|
|
36
|
+
importSession: () => importSession,
|
|
37
|
+
listBackgroundTasks: () => listBackgroundTasks,
|
|
38
|
+
listDir: () => listDir,
|
|
39
|
+
listSessions: () => listSessions,
|
|
40
|
+
listSessionsPaginated: () => listSessionsPaginated,
|
|
41
|
+
listSessionsWithSkillData: () => listSessionsWithSkillData,
|
|
42
|
+
pinSession: () => pinSession,
|
|
43
|
+
previewImport: () => previewImport,
|
|
44
|
+
probeSessionUrl: () => probeSessionUrl,
|
|
45
|
+
renameFile: () => renameFile,
|
|
46
|
+
revokeShare: () => revokeShare,
|
|
47
|
+
rewindSession: () => rewindSession,
|
|
48
|
+
shareFile: () => shareFile,
|
|
49
|
+
startReplaySession: () => startReplaySession,
|
|
50
|
+
stopBackgroundTask: () => stopBackgroundTask,
|
|
51
|
+
switchBranch: () => switchBranch,
|
|
52
|
+
tokenizeMessages: () => tokenizeMessages,
|
|
53
|
+
tokenizePrompt: () => tokenizePrompt,
|
|
54
|
+
updateReplaySession: () => updateReplaySession,
|
|
55
|
+
updateSession: () => updateSession,
|
|
56
|
+
updateSessionMemory: () => updateSessionMemory,
|
|
57
|
+
updateSharing: () => updateSharing,
|
|
58
|
+
uploadFiles: () => uploadFiles,
|
|
59
|
+
writeFile: () => writeFile
|
|
60
|
+
});
|
|
61
|
+
|
|
15
62
|
// src/react/api/partner-skill.ts
|
|
16
63
|
var partner_skill_exports = {};
|
|
17
64
|
__export(partner_skill_exports, {
|
|
@@ -1698,100 +1745,6 @@ function getSocket() {
|
|
|
1698
1745
|
// src/react/stores/session-store.ts
|
|
1699
1746
|
import { create as create5 } from "zustand";
|
|
1700
1747
|
|
|
1701
|
-
// src/react/api/sessions.ts
|
|
1702
|
-
var sessions_exports = {};
|
|
1703
|
-
__export(sessions_exports, {
|
|
1704
|
-
checkoutSession: () => checkoutSession,
|
|
1705
|
-
copyFile: () => copyFile,
|
|
1706
|
-
createSession: () => createSession,
|
|
1707
|
-
createSessionWithRequest: () => createSessionWithRequest,
|
|
1708
|
-
createShare: () => createShare,
|
|
1709
|
-
deleteFile: () => deleteFile,
|
|
1710
|
-
deleteSession: () => deleteSession,
|
|
1711
|
-
exportSession: () => exportSession,
|
|
1712
|
-
getBackgroundTask: () => getBackgroundTask,
|
|
1713
|
-
getDownloadDirUrl: () => getDownloadDirUrl,
|
|
1714
|
-
getSession: () => getSession,
|
|
1715
|
-
getSessionCheckpoints: () => getSessionCheckpoints,
|
|
1716
|
-
getSessionContextStats: () => getSessionContextStats,
|
|
1717
|
-
getSessionExtraInfoByTask: () => getSessionExtraInfoByTask,
|
|
1718
|
-
getSessionHistory: () => getSessionHistory,
|
|
1719
|
-
getSessionTasks: () => getSessionTasks,
|
|
1720
|
-
getSessionTurns: () => getSessionTurns,
|
|
1721
|
-
getSharedSession: () => getSharedSession,
|
|
1722
|
-
importSession: () => importSession,
|
|
1723
|
-
listBackgroundTasks: () => listBackgroundTasks,
|
|
1724
|
-
listDir: () => listDir,
|
|
1725
|
-
listSessions: () => listSessions,
|
|
1726
|
-
listSessionsPaginated: () => listSessionsPaginated,
|
|
1727
|
-
listSessionsWithSkillData: () => listSessionsWithSkillData,
|
|
1728
|
-
pinSession: () => pinSession,
|
|
1729
|
-
previewImport: () => previewImport,
|
|
1730
|
-
probeSessionUrl: () => probeSessionUrl,
|
|
1731
|
-
renameFile: () => renameFile,
|
|
1732
|
-
revokeShare: () => revokeShare,
|
|
1733
|
-
rewindSession: () => rewindSession,
|
|
1734
|
-
shareFile: () => shareFile,
|
|
1735
|
-
startReplaySession: () => startReplaySession,
|
|
1736
|
-
stopBackgroundTask: () => stopBackgroundTask,
|
|
1737
|
-
switchBranch: () => switchBranch,
|
|
1738
|
-
tokenizeMessages: () => tokenizeMessages,
|
|
1739
|
-
tokenizePrompt: () => tokenizePrompt,
|
|
1740
|
-
updateReplaySession: () => updateReplaySession,
|
|
1741
|
-
updateSession: () => updateSession,
|
|
1742
|
-
updateSessionMemory: () => updateSessionMemory,
|
|
1743
|
-
updateSharing: () => updateSharing,
|
|
1744
|
-
uploadFiles: () => uploadFiles,
|
|
1745
|
-
writeFile: () => writeFile
|
|
1746
|
-
});
|
|
1747
|
-
var r3 = () => getClient().sessions;
|
|
1748
|
-
var listSessions = (...args) => r3().listSessions(...args);
|
|
1749
|
-
var listSessionsPaginated = (...args) => r3().listSessionsPaginated(...args);
|
|
1750
|
-
var listSessionsWithSkillData = (...args) => r3().listSessionsWithSkillData(...args);
|
|
1751
|
-
var createSession = (...args) => r3().createSession(...args);
|
|
1752
|
-
var createSessionWithRequest = (...args) => r3().createSessionWithRequest(...args);
|
|
1753
|
-
var getSession = (...args) => r3().getSession(...args);
|
|
1754
|
-
var updateSession = (...args) => r3().updateSession(...args);
|
|
1755
|
-
var pinSession = (...args) => r3().pinSession(...args);
|
|
1756
|
-
var startReplaySession = (...args) => r3().startReplaySession(...args);
|
|
1757
|
-
var updateReplaySession = (...args) => r3().updateReplaySession(...args);
|
|
1758
|
-
var updateSharing = (...args) => r3().updateSharing(...args);
|
|
1759
|
-
var updateSessionMemory = (...args) => r3().updateSessionMemory(...args);
|
|
1760
|
-
var createShare = (...args) => r3().createShare(...args);
|
|
1761
|
-
var revokeShare = (...args) => r3().revokeShare(...args);
|
|
1762
|
-
var getSharedSession = (...args) => r3().getSharedSession(...args);
|
|
1763
|
-
var getSessionTasks = (...args) => r3().getSessionTasks(...args);
|
|
1764
|
-
var getSessionTurns = (...args) => r3().getSessionTurns(...args);
|
|
1765
|
-
var getSessionContextStats = (...args) => r3().getSessionContextStats(...args);
|
|
1766
|
-
var getSessionHistory = (...args) => r3().getSessionHistory(...args);
|
|
1767
|
-
var tokenizePrompt = (...args) => r3().tokenizePrompt(...args);
|
|
1768
|
-
var tokenizeMessages = (...args) => r3().tokenizeMessages(...args);
|
|
1769
|
-
var getSessionCheckpoints = (...args) => r3().getSessionCheckpoints(...args);
|
|
1770
|
-
var checkoutSession = (...args) => r3().checkoutSession(...args);
|
|
1771
|
-
var rewindSession = (...args) => r3().rewindSession(...args);
|
|
1772
|
-
var switchBranch = (...args) => r3().switchBranch(...args);
|
|
1773
|
-
var deleteSession = (...args) => r3().deleteSession(...args);
|
|
1774
|
-
var listBackgroundTasks = (...args) => r3().listBackgroundTasks(...args);
|
|
1775
|
-
var getBackgroundTask = (...args) => r3().getBackgroundTask(...args);
|
|
1776
|
-
var stopBackgroundTask = (...args) => r3().stopBackgroundTask(...args);
|
|
1777
|
-
var probeSessionUrl = (...args) => r3().probeSessionUrl(...args);
|
|
1778
|
-
var listDir = (...args) => r3().listDir(...args);
|
|
1779
|
-
var uploadFiles = (...args) => r3().uploadFiles(...args);
|
|
1780
|
-
var deleteFile = (...args) => r3().deleteFile(...args);
|
|
1781
|
-
var writeFile = (...args) => r3().writeFile(...args);
|
|
1782
|
-
var renameFile = (...args) => r3().renameFile(...args);
|
|
1783
|
-
var copyFile = (...args) => r3().copyFile(...args);
|
|
1784
|
-
var shareFile = (...args) => r3().shareFile(...args);
|
|
1785
|
-
var getDownloadDirUrl = (...args) => r3().getDownloadDirUrl(...args);
|
|
1786
|
-
var exportSession = (...args) => r3().exportSession(...args);
|
|
1787
|
-
var previewImport = (...args) => r3().previewImport(...args);
|
|
1788
|
-
var importSession = (...args) => r3().importSession(...args);
|
|
1789
|
-
function getSessionExtraInfoByTask(taskId) {
|
|
1790
|
-
return apiFetch(
|
|
1791
|
-
`/api/sessions/extra_info/by_task/${encodeURIComponent(taskId)}`
|
|
1792
|
-
);
|
|
1793
|
-
}
|
|
1794
|
-
|
|
1795
1748
|
// src/react/stores/chat-store.ts
|
|
1796
1749
|
import { create as create3 } from "zustand";
|
|
1797
1750
|
|
|
@@ -4178,7 +4131,7 @@ var AgentSocket = class {
|
|
|
4178
4131
|
const join = new Promise((resolve, reject) => {
|
|
4179
4132
|
this.socket.timeout(5e3).emit(
|
|
4180
4133
|
"session:subscribe",
|
|
4181
|
-
{ session_id: sessionId },
|
|
4134
|
+
{ session_id: sessionId, event_format: "raw" },
|
|
4182
4135
|
(err, response) => {
|
|
4183
4136
|
if (err) {
|
|
4184
4137
|
reject(err);
|
|
@@ -4210,7 +4163,7 @@ var AgentSocket = class {
|
|
|
4210
4163
|
_refreshRunningState(sessionId) {
|
|
4211
4164
|
this.socket.timeout(5e3).emit(
|
|
4212
4165
|
"session:subscribe",
|
|
4213
|
-
{ session_id: sessionId },
|
|
4166
|
+
{ session_id: sessionId, event_format: "raw" },
|
|
4214
4167
|
(err, response) => {
|
|
4215
4168
|
if (err || !response) return;
|
|
4216
4169
|
if (response.is_running) {
|
|
@@ -4515,6 +4468,55 @@ function getClient() {
|
|
|
4515
4468
|
return getBootstrappedClient();
|
|
4516
4469
|
}
|
|
4517
4470
|
|
|
4471
|
+
// src/react/api/sessions.ts
|
|
4472
|
+
var r3 = () => getClient().sessions;
|
|
4473
|
+
var listSessions = (...args) => r3().listSessions(...args);
|
|
4474
|
+
var listSessionsPaginated = (...args) => r3().listSessionsPaginated(...args);
|
|
4475
|
+
var listSessionsWithSkillData = (...args) => r3().listSessionsWithSkillData(...args);
|
|
4476
|
+
var createSession = (...args) => r3().createSession(...args);
|
|
4477
|
+
var createSessionWithRequest = (...args) => r3().createSessionWithRequest(...args);
|
|
4478
|
+
var getSession = (...args) => r3().getSession(...args);
|
|
4479
|
+
var updateSession = (...args) => r3().updateSession(...args);
|
|
4480
|
+
var pinSession = (...args) => r3().pinSession(...args);
|
|
4481
|
+
var startReplaySession = (...args) => r3().startReplaySession(...args);
|
|
4482
|
+
var updateReplaySession = (...args) => r3().updateReplaySession(...args);
|
|
4483
|
+
var updateSharing = (...args) => r3().updateSharing(...args);
|
|
4484
|
+
var updateSessionMemory = (...args) => r3().updateSessionMemory(...args);
|
|
4485
|
+
var createShare = (...args) => r3().createShare(...args);
|
|
4486
|
+
var revokeShare = (...args) => r3().revokeShare(...args);
|
|
4487
|
+
var getSharedSession = (...args) => r3().getSharedSession(...args);
|
|
4488
|
+
var getSessionTasks = (...args) => r3().getSessionTasks(...args);
|
|
4489
|
+
var getSessionTurns = (...args) => r3().getSessionTurns(...args);
|
|
4490
|
+
var getSessionContextStats = (...args) => r3().getSessionContextStats(...args);
|
|
4491
|
+
var getSessionHistory = (...args) => r3().getSessionHistory(...args);
|
|
4492
|
+
var tokenizePrompt = (...args) => r3().tokenizePrompt(...args);
|
|
4493
|
+
var tokenizeMessages = (...args) => r3().tokenizeMessages(...args);
|
|
4494
|
+
var getSessionCheckpoints = (...args) => r3().getSessionCheckpoints(...args);
|
|
4495
|
+
var checkoutSession = (...args) => r3().checkoutSession(...args);
|
|
4496
|
+
var rewindSession = (...args) => r3().rewindSession(...args);
|
|
4497
|
+
var switchBranch = (...args) => r3().switchBranch(...args);
|
|
4498
|
+
var deleteSession = (...args) => r3().deleteSession(...args);
|
|
4499
|
+
var listBackgroundTasks = (...args) => r3().listBackgroundTasks(...args);
|
|
4500
|
+
var getBackgroundTask = (...args) => r3().getBackgroundTask(...args);
|
|
4501
|
+
var stopBackgroundTask = (...args) => r3().stopBackgroundTask(...args);
|
|
4502
|
+
var probeSessionUrl = (...args) => r3().probeSessionUrl(...args);
|
|
4503
|
+
var listDir = (...args) => r3().listDir(...args);
|
|
4504
|
+
var uploadFiles = (...args) => r3().uploadFiles(...args);
|
|
4505
|
+
var deleteFile = (...args) => r3().deleteFile(...args);
|
|
4506
|
+
var writeFile = (...args) => r3().writeFile(...args);
|
|
4507
|
+
var renameFile = (...args) => r3().renameFile(...args);
|
|
4508
|
+
var copyFile = (...args) => r3().copyFile(...args);
|
|
4509
|
+
var shareFile = (...args) => r3().shareFile(...args);
|
|
4510
|
+
var getDownloadDirUrl = (...args) => r3().getDownloadDirUrl(...args);
|
|
4511
|
+
var exportSession = (...args) => r3().exportSession(...args);
|
|
4512
|
+
var previewImport = (...args) => r3().previewImport(...args);
|
|
4513
|
+
var importSession = (...args) => r3().importSession(...args);
|
|
4514
|
+
function getSessionExtraInfoByTask(taskId) {
|
|
4515
|
+
return apiFetch(
|
|
4516
|
+
`/api/sessions/extra_info/by_task/${encodeURIComponent(taskId)}`
|
|
4517
|
+
);
|
|
4518
|
+
}
|
|
4519
|
+
|
|
4518
4520
|
export {
|
|
4519
4521
|
getBaseUrl,
|
|
4520
4522
|
getAuthedUrl,
|
|
@@ -4561,19 +4563,47 @@ export {
|
|
|
4561
4563
|
agentSocket,
|
|
4562
4564
|
getSocket,
|
|
4563
4565
|
listSessions,
|
|
4566
|
+
listSessionsPaginated,
|
|
4567
|
+
listSessionsWithSkillData,
|
|
4568
|
+
createSession,
|
|
4569
|
+
createSessionWithRequest,
|
|
4570
|
+
getSession,
|
|
4571
|
+
updateSession,
|
|
4572
|
+
pinSession,
|
|
4573
|
+
startReplaySession,
|
|
4574
|
+
updateReplaySession,
|
|
4575
|
+
updateSharing,
|
|
4576
|
+
updateSessionMemory,
|
|
4577
|
+
createShare,
|
|
4578
|
+
revokeShare,
|
|
4579
|
+
getSharedSession,
|
|
4580
|
+
getSessionTasks,
|
|
4564
4581
|
getSessionTurns,
|
|
4565
4582
|
getSessionContextStats,
|
|
4583
|
+
getSessionHistory,
|
|
4584
|
+
tokenizePrompt,
|
|
4585
|
+
tokenizeMessages,
|
|
4566
4586
|
getSessionCheckpoints,
|
|
4567
4587
|
checkoutSession,
|
|
4588
|
+
rewindSession,
|
|
4589
|
+
switchBranch,
|
|
4590
|
+
deleteSession,
|
|
4568
4591
|
listBackgroundTasks,
|
|
4569
4592
|
getBackgroundTask,
|
|
4593
|
+
stopBackgroundTask,
|
|
4594
|
+
probeSessionUrl,
|
|
4570
4595
|
listDir,
|
|
4571
4596
|
uploadFiles,
|
|
4572
4597
|
deleteFile,
|
|
4573
4598
|
writeFile,
|
|
4574
4599
|
renameFile,
|
|
4575
4600
|
copyFile,
|
|
4601
|
+
shareFile,
|
|
4576
4602
|
getDownloadDirUrl,
|
|
4603
|
+
exportSession,
|
|
4604
|
+
previewImport,
|
|
4605
|
+
importSession,
|
|
4606
|
+
getSessionExtraInfoByTask,
|
|
4577
4607
|
sessions_exports,
|
|
4578
4608
|
formatToolName,
|
|
4579
4609
|
getToolDisplayLabel,
|
|
@@ -4599,4 +4629,4 @@ export {
|
|
|
4599
4629
|
bootstrapBladeClient,
|
|
4600
4630
|
getBootstrappedClient
|
|
4601
4631
|
};
|
|
4602
|
-
//# sourceMappingURL=chunk-
|
|
4632
|
+
//# sourceMappingURL=chunk-SBASG3M2.js.map
|