@blade-hq/agent-kit 1.0.29 → 1.0.31
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-TVWC3PED.js → chunk-3EVO45IN.js} +2 -2
- package/dist/{chunk-UWNQ4PXK.js → chunk-3PX2W7II.js} +51 -12
- package/dist/chunk-3PX2W7II.js.map +1 -0
- package/dist/{chunk-YJ6BX3FU.js → chunk-DSC6KQOI.js} +45 -2
- package/dist/chunk-DSC6KQOI.js.map +1 -0
- package/dist/{chunk-PYYDXV2A.js → chunk-O32JOWYM.js} +2 -2
- package/dist/{chunk-N2OE5MVV.js → chunk-RAWQ7LWR.js} +973 -712
- package/dist/chunk-RAWQ7LWR.js.map +1 -0
- package/dist/{chunk-YXHPJGXR.js → chunk-XUWAM6MF.js} +173 -59
- package/dist/chunk-XUWAM6MF.js.map +1 -0
- package/dist/{chunk-HCQDDDOX.js → chunk-ZPZMN7KQ.js} +2 -2
- package/dist/client/index.js +1 -1
- package/dist/client/resources/sessions.d.ts +2 -0
- package/dist/client/types/rest.d.ts +639 -92
- package/dist/react/api/model-config.d.ts +8 -11
- package/dist/react/api/published-apps.js +3 -3
- package/dist/react/api/sessions.js +2 -2
- package/dist/react/components/chat/FileDeliveryCards.d.ts +11 -0
- package/dist/react/components/chat/PlanningToggle.d.ts +7 -0
- package/dist/react/components/chat/UserMessageBubble.d.ts +1 -1
- package/dist/react/components/chat/index.d.ts +1 -0
- package/dist/react/components/chat/index.js +7 -5
- package/dist/react/components/markdown/ExternalLinkDialog.d.ts +3 -1
- package/dist/react/components/plan/index.js +4 -4
- package/dist/react/components/session/index.js +3 -3
- package/dist/react/components/workspace/index.js +61 -42
- package/dist/react/components/workspace/index.js.map +1 -1
- package/dist/react/hooks/use-model-preferences.d.ts +2 -0
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +20 -8
- package/dist/react/index.js.map +1 -1
- package/dist/react/schemas/session.d.ts +4 -0
- package/dist/react/sockets/event-bridge.d.ts +6 -0
- package/dist/react/stores/ui-store.d.ts +6 -1
- package/dist/react/types/solution.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-N2OE5MVV.js.map +0 -1
- package/dist/chunk-UWNQ4PXK.js.map +0 -1
- package/dist/chunk-YJ6BX3FU.js.map +0 -1
- package/dist/chunk-YXHPJGXR.js.map +0 -1
- /package/dist/{chunk-TVWC3PED.js.map → chunk-3EVO45IN.js.map} +0 -0
- /package/dist/{chunk-PYYDXV2A.js.map → chunk-O32JOWYM.js.map} +0 -0
- /package/dist/{chunk-HCQDDDOX.js.map → chunk-ZPZMN7KQ.js.map} +0 -0
package/dist/react/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export * as memoriesApi from "./api/memories.js";
|
|
|
14
14
|
export * as gisApi from "./api/gis-api.js";
|
|
15
15
|
export * as modelsApi from "./api/models.js";
|
|
16
16
|
export * as modelConfigApi from "./api/model-config.js";
|
|
17
|
-
export type { ContextWindowDetectionResult, ModelCandidatesRequest, ModelCandidatesResult, ModelConfigProbe, ModelConfigTestResult, RuntimeModelConfig, RuntimeModelConfigCollection, RuntimeModelDetails,
|
|
17
|
+
export type { ContextWindowDetectionResult, ModelCandidatesRequest, ModelCandidatesResult, ModelConfigProbe, ModelConfigTestResult, RuntimeModelConfig, RuntimeModelConfigCollection, RuntimeModelDetails, RuntimeModelService, ThinkingRequestFormat, UpdateModelDetails, UpdateRuntimeModelService, UpdateRuntimeModelConfig, } from "./api/model-config.js";
|
|
18
18
|
export type { Memory, MemoryCreateBody, MemoryListParams, MemoryListResponse, } from "./api/memories.js";
|
|
19
19
|
export * as partnerSkillApi from "./api/partner-skill.js";
|
|
20
20
|
export * as publishedAppsApi from "./api/published-apps.js";
|
|
@@ -72,7 +72,7 @@ export { resourceBridgeDispatch } from "./lib/resource-bridge.js";
|
|
|
72
72
|
export type { ResourceBridgeAction, ResourceBridgeDispatchParams } from "./lib/resource-bridge.js";
|
|
73
73
|
export { MarkdownContent } from "./components/markdown/MarkdownContent.js";
|
|
74
74
|
export { CardCodeBlock } from "./components/card/CardCodeBlock.js";
|
|
75
|
-
export { ChatInput, ChatView, MessageList, SkillStatusBar, ThinkingToggle } from "./components/chat/index.js";
|
|
75
|
+
export { ChatInput, ChatView, MessageList, SkillStatusBar, ThinkingToggle, PlanningToggle } from "./components/chat/index.js";
|
|
76
76
|
export type { ChatSendOptions } from "./components/chat/index.js";
|
|
77
77
|
export { ModelSelector } from "./components/model/ModelSelector.js";
|
|
78
78
|
export { FileSizeLimitDialog } from "./components/chat/FileSizeLimitDialog.js";
|
package/dist/react/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
published_apps_exports
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ZPZMN7KQ.js";
|
|
4
4
|
import {
|
|
5
5
|
useCardState
|
|
6
6
|
} from "../chunk-DQCXSPHP.js";
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
FileSizeLimitDialog,
|
|
12
12
|
MessageList,
|
|
13
13
|
ModelSelector,
|
|
14
|
+
PlanningToggle,
|
|
14
15
|
ResourceIframe,
|
|
15
16
|
SkillCompletionMenu,
|
|
16
17
|
SkillMention,
|
|
@@ -35,7 +36,7 @@ import {
|
|
|
35
36
|
useTiptapVoiceInput,
|
|
36
37
|
useVoiceInput,
|
|
37
38
|
user_preferences_exports
|
|
38
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-RAWQ7LWR.js";
|
|
39
40
|
import "../chunk-H62LH2AG.js";
|
|
40
41
|
import {
|
|
41
42
|
CardCodeBlock,
|
|
@@ -45,21 +46,21 @@ import {
|
|
|
45
46
|
normalizeCodeLanguage,
|
|
46
47
|
useCardContext,
|
|
47
48
|
useHighlightedCodeHtml
|
|
48
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-XUWAM6MF.js";
|
|
49
50
|
import {
|
|
50
51
|
buildBinaryPreviewTarget,
|
|
51
52
|
buildSessionBinaryPreviewTarget,
|
|
52
53
|
isOfficePdfPreviewable,
|
|
53
54
|
resolveSessionFilePreviewTarget,
|
|
54
55
|
resolveTextPreviewType
|
|
55
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-O32JOWYM.js";
|
|
56
57
|
import {
|
|
57
58
|
CardJSON,
|
|
58
59
|
cardRegistry
|
|
59
60
|
} from "../chunk-2UP7MG3J.js";
|
|
60
61
|
import {
|
|
61
62
|
useSession
|
|
62
|
-
} from "../chunk-
|
|
63
|
+
} from "../chunk-3EVO45IN.js";
|
|
63
64
|
import {
|
|
64
65
|
PartnerSkillFile,
|
|
65
66
|
PartnerSkillInstallPayload,
|
|
@@ -114,12 +115,12 @@ import {
|
|
|
114
115
|
useTaskStore,
|
|
115
116
|
useUiBridgeStore,
|
|
116
117
|
useUiStore
|
|
117
|
-
} from "../chunk-
|
|
118
|
+
} from "../chunk-3PX2W7II.js";
|
|
118
119
|
import "../chunk-J3XVFPOV.js";
|
|
119
120
|
import {
|
|
120
121
|
REGISTRY_PREFIX,
|
|
121
122
|
normalizeResource
|
|
122
|
-
} from "../chunk-
|
|
123
|
+
} from "../chunk-DSC6KQOI.js";
|
|
123
124
|
import {
|
|
124
125
|
cn,
|
|
125
126
|
copyToClipboard
|
|
@@ -234,11 +235,19 @@ __export(model_config_exports, {
|
|
|
234
235
|
listModelCandidates: () => listModelCandidates,
|
|
235
236
|
setDefaultRuntimeModelConfig: () => setDefaultRuntimeModelConfig,
|
|
236
237
|
testRuntimeModelConfig: () => testRuntimeModelConfig,
|
|
237
|
-
updateRuntimeModelConfig: () => updateRuntimeModelConfig
|
|
238
|
+
updateRuntimeModelConfig: () => updateRuntimeModelConfig,
|
|
239
|
+
updateRuntimeModelService: () => updateRuntimeModelService
|
|
238
240
|
});
|
|
239
241
|
function getRuntimeModelConfigs() {
|
|
240
242
|
return apiFetch("/api/admin/model-config");
|
|
241
243
|
}
|
|
244
|
+
function updateRuntimeModelService(service) {
|
|
245
|
+
return apiFetch("/api/admin/model-config/service", {
|
|
246
|
+
method: "PUT",
|
|
247
|
+
headers: { "Content-Type": "application/json" },
|
|
248
|
+
body: JSON.stringify(service)
|
|
249
|
+
});
|
|
250
|
+
}
|
|
242
251
|
function createRuntimeModelConfig(config) {
|
|
243
252
|
return apiFetch("/api/admin/model-config", {
|
|
244
253
|
method: "POST",
|
|
@@ -1686,6 +1695,8 @@ var SessionInfo = type({
|
|
|
1686
1695
|
"is_example?": "boolean",
|
|
1687
1696
|
"ports?": "unknown",
|
|
1688
1697
|
"disable_tools?": "string[]",
|
|
1698
|
+
"runtime_type?": "string | null",
|
|
1699
|
+
"daemon_id?": "string | null",
|
|
1689
1700
|
"match?": "unknown"
|
|
1690
1701
|
});
|
|
1691
1702
|
|
|
@@ -1888,6 +1899,7 @@ export {
|
|
|
1888
1899
|
PartnerSkillInstallPayload,
|
|
1889
1900
|
PartnerSkillInstallResult,
|
|
1890
1901
|
PartnerSkillName,
|
|
1902
|
+
PlanningToggle,
|
|
1891
1903
|
PostgresqlConfig,
|
|
1892
1904
|
REGISTRY_PREFIX,
|
|
1893
1905
|
ResourceBase,
|