@blade-hq/agent-kit 1.0.10 → 1.0.11
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-73SFX7A7.js → chunk-3UY7SD3P.js} +12 -1
- package/dist/{chunk-73SFX7A7.js.map → chunk-3UY7SD3P.js.map} +1 -1
- package/dist/{chunk-PEKXKWGO.js → chunk-4K25SSZ4.js} +3 -3
- package/dist/{chunk-LENFWWJW.js → chunk-CM3H6ZNV.js} +2 -2
- package/dist/{chunk-TKM7RF32.js → chunk-CVCQSRVP.js} +2 -2
- package/dist/{chunk-ZHETUOD4.js → chunk-DXDLZXDP.js} +4 -4
- package/dist/react/api/vibe-coding.js +1 -1
- package/dist/react/components/chat/index.js +4 -4
- package/dist/react/components/plan/index.js +3 -3
- package/dist/react/components/session/index.js +2 -2
- package/dist/react/components/workspace/index.js +2 -2
- package/dist/react/index.d.ts +9 -0
- package/dist/react/index.js +5 -5
- package/package.json +1 -1
- /package/dist/{chunk-PEKXKWGO.js.map → chunk-4K25SSZ4.js.map} +0 -0
- /package/dist/{chunk-LENFWWJW.js.map → chunk-CM3H6ZNV.js.map} +0 -0
- /package/dist/{chunk-TKM7RF32.js.map → chunk-CVCQSRVP.js.map} +0 -0
- /package/dist/{chunk-ZHETUOD4.js.map → chunk-DXDLZXDP.js.map} +0 -0
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
getSessionFilePath,
|
|
7
7
|
resolveSessionFilePreviewTarget
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CM3H6ZNV.js";
|
|
9
9
|
import {
|
|
10
10
|
formatToolName,
|
|
11
11
|
getAuthedUrl,
|
|
12
12
|
useUiStore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3UY7SD3P.js";
|
|
14
14
|
import {
|
|
15
15
|
cn,
|
|
16
16
|
copyToClipboard
|
|
@@ -1933,4 +1933,4 @@ export {
|
|
|
1933
1933
|
PlanSummaryCard,
|
|
1934
1934
|
extractLatestPlanMessages
|
|
1935
1935
|
};
|
|
1936
|
-
//# sourceMappingURL=chunk-
|
|
1936
|
+
//# sourceMappingURL=chunk-4K25SSZ4.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
apiFetchResponse,
|
|
3
3
|
getAuthedUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3UY7SD3P.js";
|
|
5
5
|
|
|
6
6
|
// src/react/lib/session-file-preview.ts
|
|
7
7
|
var IMAGE_EXTS = /* @__PURE__ */ new Set(["png", "jpg", "jpeg", "gif", "svg", "webp", "ico", "bmp"]);
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
resolveTextPreviewType,
|
|
118
118
|
resolveSessionFilePreviewTarget
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-CM3H6ZNV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useSessionStore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3UY7SD3P.js";
|
|
4
4
|
|
|
5
5
|
// src/react/hooks/use-session.ts
|
|
6
6
|
function useSession() {
|
|
@@ -27,4 +27,4 @@ function useSession() {
|
|
|
27
27
|
export {
|
|
28
28
|
useSession
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-CVCQSRVP.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getCodeLanguageFromFilename,
|
|
9
9
|
parseAskUserQuestion,
|
|
10
10
|
useHighlightedCodeHtml
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4K25SSZ4.js";
|
|
12
12
|
import {
|
|
13
13
|
Collapsible,
|
|
14
14
|
CollapsibleContent,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-H62LH2AG.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveSessionFilePreviewTarget
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CM3H6ZNV.js";
|
|
20
20
|
import {
|
|
21
21
|
apiFetchResponse,
|
|
22
22
|
buildMessageContent,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
useUiBridgeStore,
|
|
61
61
|
useUiStore,
|
|
62
62
|
writeFile
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-3UY7SD3P.js";
|
|
64
64
|
import {
|
|
65
65
|
registerBridgeIframe,
|
|
66
66
|
tapBridgeEvent
|
|
@@ -8652,4 +8652,4 @@ use-stick-to-bottom/dist/StickToBottom.js:
|
|
|
8652
8652
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
8653
8653
|
*--------------------------------------------------------------------------------------------*)
|
|
8654
8654
|
*/
|
|
8655
|
-
//# sourceMappingURL=chunk-
|
|
8655
|
+
//# sourceMappingURL=chunk-DXDLZXDP.js.map
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
isErrorMessage,
|
|
17
17
|
isUserMessage,
|
|
18
18
|
useWhatIfQuoteContext
|
|
19
|
-
} from "../../../chunk-
|
|
19
|
+
} from "../../../chunk-DXDLZXDP.js";
|
|
20
20
|
import {
|
|
21
21
|
AskUserQuestionBlock
|
|
22
|
-
} from "../../../chunk-
|
|
22
|
+
} from "../../../chunk-4K25SSZ4.js";
|
|
23
23
|
import "../../../chunk-2UP7MG3J.js";
|
|
24
24
|
import "../../../chunk-H62LH2AG.js";
|
|
25
|
-
import "../../../chunk-
|
|
26
|
-
import "../../../chunk-
|
|
25
|
+
import "../../../chunk-CM3H6ZNV.js";
|
|
26
|
+
import "../../../chunk-3UY7SD3P.js";
|
|
27
27
|
import "../../../chunk-J3XVFPOV.js";
|
|
28
28
|
import "../../../chunk-DN4CKDDQ.js";
|
|
29
29
|
import "../../../chunk-7LEKQI47.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
PlanSummaryCard,
|
|
4
4
|
extractLatestPlanMessages,
|
|
5
5
|
parsePlanMessages
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-4K25SSZ4.js";
|
|
7
7
|
import "../../../chunk-2UP7MG3J.js";
|
|
8
|
-
import "../../../chunk-
|
|
9
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-CM3H6ZNV.js";
|
|
9
|
+
import "../../../chunk-3UY7SD3P.js";
|
|
10
10
|
import "../../../chunk-J3XVFPOV.js";
|
|
11
11
|
import "../../../chunk-DN4CKDDQ.js";
|
|
12
12
|
import {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useSession
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-CVCQSRVP.js";
|
|
4
4
|
import {
|
|
5
5
|
checkoutSession,
|
|
6
6
|
getSessionCheckpoints,
|
|
7
7
|
useChatStore,
|
|
8
8
|
useSessionStore
|
|
9
|
-
} from "../../../chunk-
|
|
9
|
+
} from "../../../chunk-3UY7SD3P.js";
|
|
10
10
|
import "../../../chunk-J3XVFPOV.js";
|
|
11
11
|
import "../../../chunk-DN4CKDDQ.js";
|
|
12
12
|
import {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "../../../chunk-H62LH2AG.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveSessionFilePreviewTarget
|
|
8
|
-
} from "../../../chunk-
|
|
8
|
+
} from "../../../chunk-CM3H6ZNV.js";
|
|
9
9
|
import {
|
|
10
10
|
apiFetchText,
|
|
11
11
|
copyFile,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
useChatStore,
|
|
20
20
|
useSessionStore,
|
|
21
21
|
useUiStore
|
|
22
|
-
} from "../../../chunk-
|
|
22
|
+
} from "../../../chunk-3UY7SD3P.js";
|
|
23
23
|
import "../../../chunk-J3XVFPOV.js";
|
|
24
24
|
import "../../../chunk-DN4CKDDQ.js";
|
|
25
25
|
import {
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1104,6 +1104,15 @@ declare class AgentSocket {
|
|
|
1104
1104
|
unsubscribeAgentBoardProject(projectId: string | number): void;
|
|
1105
1105
|
onAgentBoardTaskChanged(handler: (data: AgentBoardBoardTaskChangedEvent) => void): () => void;
|
|
1106
1106
|
onAgentBoardFileOp(handler: (data: AgentBoardFileOpEvent) => void): () => void;
|
|
1107
|
+
/**
|
|
1108
|
+
* 订阅 session:updated(智能体意图等会话属性变更)。全局 handler 只会
|
|
1109
|
+
* patch 已在 useSessionStore 列表里的会话;看板任务这类不在列表里的
|
|
1110
|
+
* 会话,由调用方通过本方法自行消费意图更新。
|
|
1111
|
+
*/
|
|
1112
|
+
onSessionUpdated(handler: (data: {
|
|
1113
|
+
session_id?: string;
|
|
1114
|
+
intent?: string;
|
|
1115
|
+
}) => void): () => void;
|
|
1107
1116
|
unsubscribe(): void;
|
|
1108
1117
|
/**
|
|
1109
1118
|
* 附加订阅:仅把当前 sid 加进 sessionId 的 room,不切 subscribedSession,
|
package/dist/react/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
useTiptapVoiceInput,
|
|
31
31
|
useVoiceInput,
|
|
32
32
|
user_preferences_exports
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-DXDLZXDP.js";
|
|
34
34
|
import {
|
|
35
35
|
CardCodeBlock,
|
|
36
36
|
CardContext,
|
|
@@ -39,14 +39,14 @@ import {
|
|
|
39
39
|
normalizeCodeLanguage,
|
|
40
40
|
useCardContext,
|
|
41
41
|
useHighlightedCodeHtml
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-4K25SSZ4.js";
|
|
43
43
|
import {
|
|
44
44
|
CardJSON,
|
|
45
45
|
cardRegistry
|
|
46
46
|
} from "../chunk-2UP7MG3J.js";
|
|
47
47
|
import {
|
|
48
48
|
useSession
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-CVCQSRVP.js";
|
|
50
50
|
import "../chunk-H62LH2AG.js";
|
|
51
51
|
import {
|
|
52
52
|
buildBinaryPreviewTarget,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
isOfficePdfPreviewable,
|
|
55
55
|
resolveSessionFilePreviewTarget,
|
|
56
56
|
resolveTextPreviewType
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-CM3H6ZNV.js";
|
|
58
58
|
import {
|
|
59
59
|
PartnerSkillFile,
|
|
60
60
|
PartnerSkillInstallPayload,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
useTaskStore,
|
|
110
110
|
useUiBridgeStore,
|
|
111
111
|
useUiStore
|
|
112
|
-
} from "../chunk-
|
|
112
|
+
} from "../chunk-3UY7SD3P.js";
|
|
113
113
|
import "../chunk-J3XVFPOV.js";
|
|
114
114
|
import {
|
|
115
115
|
REGISTRY_PREFIX,
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|