@blade-hq/agent-kit 0.5.14 → 0.5.17
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/{SkillStatusBar-OXJL7P7N.d.ts → SkillStatusBar-DR-R6Mpa.d.ts} +3 -1
- package/dist/{chunk-E2N6KY4N.js → chunk-GIY3MV6F.js} +2 -2
- package/dist/{chunk-HBC6FK3D.js → chunk-MEAVJOEQ.js} +2 -2
- package/dist/{chunk-6M5XXG3W.js → chunk-RQUD3FGD.js} +170 -30
- package/dist/chunk-RQUD3FGD.js.map +1 -0
- package/dist/{chunk-SZSTLXEP.js → chunk-SPHQXYME.js} +89 -137
- package/dist/chunk-SPHQXYME.js.map +1 -0
- package/dist/{chunk-7I7AMUCI.js → chunk-SZKVEYL6.js} +2 -2
- package/dist/chunk-SZKVEYL6.js.map +1 -0
- package/dist/{chunk-RA4Q3QSE.js → chunk-XKP32HXH.js} +15 -91
- package/dist/chunk-XKP32HXH.js.map +1 -0
- package/dist/client/index.d.ts +332 -0
- package/dist/client/index.js +1 -1
- package/dist/react/api/vibe-coding.js +2 -2
- package/dist/react/components/chat/index.d.ts +2 -2
- package/dist/react/components/chat/index.js +5 -5
- package/dist/react/components/plan/index.d.ts +2 -3
- package/dist/react/components/plan/index.js +3 -3
- package/dist/react/components/session/index.js +3 -3
- package/dist/react/components/workspace/index.js +3 -3
- package/dist/react/index.d.ts +8 -2
- package/dist/react/index.js +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-6M5XXG3W.js.map +0 -1
- package/dist/chunk-7I7AMUCI.js.map +0 -1
- package/dist/chunk-RA4Q3QSE.js.map +0 -1
- package/dist/chunk-SZSTLXEP.js.map +0 -1
- /package/dist/{chunk-E2N6KY4N.js.map → chunk-GIY3MV6F.js.map} +0 -0
- /package/dist/{chunk-HBC6FK3D.js.map → chunk-MEAVJOEQ.js.map} +0 -0
package/dist/client/index.d.ts
CHANGED
|
@@ -1622,6 +1622,57 @@ interface paths {
|
|
|
1622
1622
|
patch?: never;
|
|
1623
1623
|
trace?: never;
|
|
1624
1624
|
};
|
|
1625
|
+
"/api/sessions/{session_id}/skills:search": {
|
|
1626
|
+
parameters: {
|
|
1627
|
+
query?: never;
|
|
1628
|
+
header?: never;
|
|
1629
|
+
path?: never;
|
|
1630
|
+
cookie?: never;
|
|
1631
|
+
};
|
|
1632
|
+
get?: never;
|
|
1633
|
+
put?: never;
|
|
1634
|
+
/** Search Session Skills */
|
|
1635
|
+
post: operations["search_session_skills_api_sessions__session_id__skills_search_post"];
|
|
1636
|
+
delete?: never;
|
|
1637
|
+
options?: never;
|
|
1638
|
+
head?: never;
|
|
1639
|
+
patch?: never;
|
|
1640
|
+
trace?: never;
|
|
1641
|
+
};
|
|
1642
|
+
"/api/sessions/{session_id}/skills:use": {
|
|
1643
|
+
parameters: {
|
|
1644
|
+
query?: never;
|
|
1645
|
+
header?: never;
|
|
1646
|
+
path?: never;
|
|
1647
|
+
cookie?: never;
|
|
1648
|
+
};
|
|
1649
|
+
get?: never;
|
|
1650
|
+
put?: never;
|
|
1651
|
+
/** Use Session Skill */
|
|
1652
|
+
post: operations["use_session_skill_api_sessions__session_id__skills_use_post"];
|
|
1653
|
+
delete?: never;
|
|
1654
|
+
options?: never;
|
|
1655
|
+
head?: never;
|
|
1656
|
+
patch?: never;
|
|
1657
|
+
trace?: never;
|
|
1658
|
+
};
|
|
1659
|
+
"/api/sessions/{session_id}/skills:run-tool": {
|
|
1660
|
+
parameters: {
|
|
1661
|
+
query?: never;
|
|
1662
|
+
header?: never;
|
|
1663
|
+
path?: never;
|
|
1664
|
+
cookie?: never;
|
|
1665
|
+
};
|
|
1666
|
+
get?: never;
|
|
1667
|
+
put?: never;
|
|
1668
|
+
/** Run Session Skill Tool */
|
|
1669
|
+
post: operations["run_session_skill_tool_api_sessions__session_id__skills_run_tool_post"];
|
|
1670
|
+
delete?: never;
|
|
1671
|
+
options?: never;
|
|
1672
|
+
head?: never;
|
|
1673
|
+
patch?: never;
|
|
1674
|
+
trace?: never;
|
|
1675
|
+
};
|
|
1625
1676
|
"/api/sessions/{session_id}/skills/install": {
|
|
1626
1677
|
parameters: {
|
|
1627
1678
|
query?: never;
|
|
@@ -3748,6 +3799,57 @@ interface paths {
|
|
|
3748
3799
|
patch?: never;
|
|
3749
3800
|
trace?: never;
|
|
3750
3801
|
};
|
|
3802
|
+
"/api/browser/command": {
|
|
3803
|
+
parameters: {
|
|
3804
|
+
query?: never;
|
|
3805
|
+
header?: never;
|
|
3806
|
+
path?: never;
|
|
3807
|
+
cookie?: never;
|
|
3808
|
+
};
|
|
3809
|
+
get?: never;
|
|
3810
|
+
put?: never;
|
|
3811
|
+
/** Post Browser Command */
|
|
3812
|
+
post: operations["post_browser_command_api_browser_command_post"];
|
|
3813
|
+
delete?: never;
|
|
3814
|
+
options?: never;
|
|
3815
|
+
head?: never;
|
|
3816
|
+
patch?: never;
|
|
3817
|
+
trace?: never;
|
|
3818
|
+
};
|
|
3819
|
+
"/api/browser/status": {
|
|
3820
|
+
parameters: {
|
|
3821
|
+
query?: never;
|
|
3822
|
+
header?: never;
|
|
3823
|
+
path?: never;
|
|
3824
|
+
cookie?: never;
|
|
3825
|
+
};
|
|
3826
|
+
/** Get Browser Status */
|
|
3827
|
+
get: operations["get_browser_status_api_browser_status_get"];
|
|
3828
|
+
put?: never;
|
|
3829
|
+
post?: never;
|
|
3830
|
+
delete?: never;
|
|
3831
|
+
options?: never;
|
|
3832
|
+
head?: never;
|
|
3833
|
+
patch?: never;
|
|
3834
|
+
trace?: never;
|
|
3835
|
+
};
|
|
3836
|
+
"/api/browser/extension.zip": {
|
|
3837
|
+
parameters: {
|
|
3838
|
+
query?: never;
|
|
3839
|
+
header?: never;
|
|
3840
|
+
path?: never;
|
|
3841
|
+
cookie?: never;
|
|
3842
|
+
};
|
|
3843
|
+
/** Download Extension */
|
|
3844
|
+
get: operations["download_extension_api_browser_extension_zip_get"];
|
|
3845
|
+
put?: never;
|
|
3846
|
+
post?: never;
|
|
3847
|
+
delete?: never;
|
|
3848
|
+
options?: never;
|
|
3849
|
+
head?: never;
|
|
3850
|
+
patch?: never;
|
|
3851
|
+
trace?: never;
|
|
3852
|
+
};
|
|
3751
3853
|
}
|
|
3752
3854
|
interface components {
|
|
3753
3855
|
schemas: {
|
|
@@ -3883,6 +3985,17 @@ interface components {
|
|
|
3883
3985
|
/** Files */
|
|
3884
3986
|
files?: string[] | null;
|
|
3885
3987
|
};
|
|
3988
|
+
/** BrowserCommand */
|
|
3989
|
+
BrowserCommand: {
|
|
3990
|
+
/** Session Id */
|
|
3991
|
+
session_id: string;
|
|
3992
|
+
/** Action */
|
|
3993
|
+
action: string;
|
|
3994
|
+
/** Args */
|
|
3995
|
+
args?: {
|
|
3996
|
+
[key: string]: unknown;
|
|
3997
|
+
};
|
|
3998
|
+
};
|
|
3886
3999
|
/** CheckoutRequest */
|
|
3887
4000
|
CheckoutRequest: {
|
|
3888
4001
|
/** Checkpoint Id */
|
|
@@ -4682,6 +4795,27 @@ interface components {
|
|
|
4682
4795
|
/** Content */
|
|
4683
4796
|
content: string;
|
|
4684
4797
|
};
|
|
4798
|
+
/** SessionSkillRunToolRequest */
|
|
4799
|
+
SessionSkillRunToolRequest: {
|
|
4800
|
+
/** Skill */
|
|
4801
|
+
skill: string;
|
|
4802
|
+
/** Tool */
|
|
4803
|
+
tool: string;
|
|
4804
|
+
/** Args */
|
|
4805
|
+
args?: {
|
|
4806
|
+
[key: string]: unknown;
|
|
4807
|
+
};
|
|
4808
|
+
};
|
|
4809
|
+
/** SessionSkillSearchRequest */
|
|
4810
|
+
SessionSkillSearchRequest: {
|
|
4811
|
+
/** Q */
|
|
4812
|
+
q: string;
|
|
4813
|
+
/**
|
|
4814
|
+
* Limit
|
|
4815
|
+
* @default 10
|
|
4816
|
+
*/
|
|
4817
|
+
limit: number;
|
|
4818
|
+
};
|
|
4685
4819
|
/** SessionSkillUploadRequest */
|
|
4686
4820
|
SessionSkillUploadRequest: {
|
|
4687
4821
|
/** Name */
|
|
@@ -4700,6 +4834,11 @@ interface components {
|
|
|
4700
4834
|
/** Overwritten */
|
|
4701
4835
|
overwritten: boolean;
|
|
4702
4836
|
};
|
|
4837
|
+
/** SessionSkillUseRequest */
|
|
4838
|
+
SessionSkillUseRequest: {
|
|
4839
|
+
/** Skill */
|
|
4840
|
+
skill: string;
|
|
4841
|
+
};
|
|
4703
4842
|
/** SetEnvBucketRequest */
|
|
4704
4843
|
SetEnvBucketRequest: {
|
|
4705
4844
|
/** Env */
|
|
@@ -8705,6 +8844,111 @@ interface operations {
|
|
|
8705
8844
|
};
|
|
8706
8845
|
};
|
|
8707
8846
|
};
|
|
8847
|
+
search_session_skills_api_sessions__session_id__skills_search_post: {
|
|
8848
|
+
parameters: {
|
|
8849
|
+
query?: never;
|
|
8850
|
+
header?: never;
|
|
8851
|
+
path: {
|
|
8852
|
+
session_id: string;
|
|
8853
|
+
};
|
|
8854
|
+
cookie?: never;
|
|
8855
|
+
};
|
|
8856
|
+
requestBody: {
|
|
8857
|
+
content: {
|
|
8858
|
+
"application/json": components["schemas"]["SessionSkillSearchRequest"];
|
|
8859
|
+
};
|
|
8860
|
+
};
|
|
8861
|
+
responses: {
|
|
8862
|
+
/** @description Successful Response */
|
|
8863
|
+
200: {
|
|
8864
|
+
headers: {
|
|
8865
|
+
[name: string]: unknown;
|
|
8866
|
+
};
|
|
8867
|
+
content: {
|
|
8868
|
+
"application/json": unknown;
|
|
8869
|
+
};
|
|
8870
|
+
};
|
|
8871
|
+
/** @description Validation Error */
|
|
8872
|
+
422: {
|
|
8873
|
+
headers: {
|
|
8874
|
+
[name: string]: unknown;
|
|
8875
|
+
};
|
|
8876
|
+
content: {
|
|
8877
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
8878
|
+
};
|
|
8879
|
+
};
|
|
8880
|
+
};
|
|
8881
|
+
};
|
|
8882
|
+
use_session_skill_api_sessions__session_id__skills_use_post: {
|
|
8883
|
+
parameters: {
|
|
8884
|
+
query?: never;
|
|
8885
|
+
header?: never;
|
|
8886
|
+
path: {
|
|
8887
|
+
session_id: string;
|
|
8888
|
+
};
|
|
8889
|
+
cookie?: never;
|
|
8890
|
+
};
|
|
8891
|
+
requestBody: {
|
|
8892
|
+
content: {
|
|
8893
|
+
"application/json": components["schemas"]["SessionSkillUseRequest"];
|
|
8894
|
+
};
|
|
8895
|
+
};
|
|
8896
|
+
responses: {
|
|
8897
|
+
/** @description Successful Response */
|
|
8898
|
+
200: {
|
|
8899
|
+
headers: {
|
|
8900
|
+
[name: string]: unknown;
|
|
8901
|
+
};
|
|
8902
|
+
content: {
|
|
8903
|
+
"application/json": unknown;
|
|
8904
|
+
};
|
|
8905
|
+
};
|
|
8906
|
+
/** @description Validation Error */
|
|
8907
|
+
422: {
|
|
8908
|
+
headers: {
|
|
8909
|
+
[name: string]: unknown;
|
|
8910
|
+
};
|
|
8911
|
+
content: {
|
|
8912
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
8913
|
+
};
|
|
8914
|
+
};
|
|
8915
|
+
};
|
|
8916
|
+
};
|
|
8917
|
+
run_session_skill_tool_api_sessions__session_id__skills_run_tool_post: {
|
|
8918
|
+
parameters: {
|
|
8919
|
+
query?: never;
|
|
8920
|
+
header?: never;
|
|
8921
|
+
path: {
|
|
8922
|
+
session_id: string;
|
|
8923
|
+
};
|
|
8924
|
+
cookie?: never;
|
|
8925
|
+
};
|
|
8926
|
+
requestBody: {
|
|
8927
|
+
content: {
|
|
8928
|
+
"application/json": components["schemas"]["SessionSkillRunToolRequest"];
|
|
8929
|
+
};
|
|
8930
|
+
};
|
|
8931
|
+
responses: {
|
|
8932
|
+
/** @description Successful Response */
|
|
8933
|
+
200: {
|
|
8934
|
+
headers: {
|
|
8935
|
+
[name: string]: unknown;
|
|
8936
|
+
};
|
|
8937
|
+
content: {
|
|
8938
|
+
"application/json": unknown;
|
|
8939
|
+
};
|
|
8940
|
+
};
|
|
8941
|
+
/** @description Validation Error */
|
|
8942
|
+
422: {
|
|
8943
|
+
headers: {
|
|
8944
|
+
[name: string]: unknown;
|
|
8945
|
+
};
|
|
8946
|
+
content: {
|
|
8947
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
8948
|
+
};
|
|
8949
|
+
};
|
|
8950
|
+
};
|
|
8951
|
+
};
|
|
8708
8952
|
install_skill_api_sessions__session_id__skills_install_post: {
|
|
8709
8953
|
parameters: {
|
|
8710
8954
|
query?: never;
|
|
@@ -13734,6 +13978,94 @@ interface operations {
|
|
|
13734
13978
|
};
|
|
13735
13979
|
};
|
|
13736
13980
|
};
|
|
13981
|
+
post_browser_command_api_browser_command_post: {
|
|
13982
|
+
parameters: {
|
|
13983
|
+
query?: never;
|
|
13984
|
+
header?: never;
|
|
13985
|
+
path?: never;
|
|
13986
|
+
cookie?: never;
|
|
13987
|
+
};
|
|
13988
|
+
requestBody: {
|
|
13989
|
+
content: {
|
|
13990
|
+
"application/json": components["schemas"]["BrowserCommand"];
|
|
13991
|
+
};
|
|
13992
|
+
};
|
|
13993
|
+
responses: {
|
|
13994
|
+
/** @description Successful Response */
|
|
13995
|
+
200: {
|
|
13996
|
+
headers: {
|
|
13997
|
+
[name: string]: unknown;
|
|
13998
|
+
};
|
|
13999
|
+
content: {
|
|
14000
|
+
"application/json": {
|
|
14001
|
+
[key: string]: unknown;
|
|
14002
|
+
};
|
|
14003
|
+
};
|
|
14004
|
+
};
|
|
14005
|
+
/** @description Validation Error */
|
|
14006
|
+
422: {
|
|
14007
|
+
headers: {
|
|
14008
|
+
[name: string]: unknown;
|
|
14009
|
+
};
|
|
14010
|
+
content: {
|
|
14011
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
14012
|
+
};
|
|
14013
|
+
};
|
|
14014
|
+
};
|
|
14015
|
+
};
|
|
14016
|
+
get_browser_status_api_browser_status_get: {
|
|
14017
|
+
parameters: {
|
|
14018
|
+
query: {
|
|
14019
|
+
session_id: string;
|
|
14020
|
+
};
|
|
14021
|
+
header?: never;
|
|
14022
|
+
path?: never;
|
|
14023
|
+
cookie?: never;
|
|
14024
|
+
};
|
|
14025
|
+
requestBody?: never;
|
|
14026
|
+
responses: {
|
|
14027
|
+
/** @description Successful Response */
|
|
14028
|
+
200: {
|
|
14029
|
+
headers: {
|
|
14030
|
+
[name: string]: unknown;
|
|
14031
|
+
};
|
|
14032
|
+
content: {
|
|
14033
|
+
"application/json": {
|
|
14034
|
+
[key: string]: unknown;
|
|
14035
|
+
};
|
|
14036
|
+
};
|
|
14037
|
+
};
|
|
14038
|
+
/** @description Validation Error */
|
|
14039
|
+
422: {
|
|
14040
|
+
headers: {
|
|
14041
|
+
[name: string]: unknown;
|
|
14042
|
+
};
|
|
14043
|
+
content: {
|
|
14044
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
14045
|
+
};
|
|
14046
|
+
};
|
|
14047
|
+
};
|
|
14048
|
+
};
|
|
14049
|
+
download_extension_api_browser_extension_zip_get: {
|
|
14050
|
+
parameters: {
|
|
14051
|
+
query?: never;
|
|
14052
|
+
header?: never;
|
|
14053
|
+
path?: never;
|
|
14054
|
+
cookie?: never;
|
|
14055
|
+
};
|
|
14056
|
+
requestBody?: never;
|
|
14057
|
+
responses: {
|
|
14058
|
+
/** @description Successful Response */
|
|
14059
|
+
200: {
|
|
14060
|
+
headers: {
|
|
14061
|
+
[name: string]: unknown;
|
|
14062
|
+
};
|
|
14063
|
+
content: {
|
|
14064
|
+
"application/json": unknown;
|
|
14065
|
+
};
|
|
14066
|
+
};
|
|
14067
|
+
};
|
|
14068
|
+
};
|
|
13737
14069
|
}
|
|
13738
14070
|
|
|
13739
14071
|
type RestPaths = paths;
|
package/dist/client/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-SPHQXYME.js";
|
|
4
4
|
import "../../chunk-J3XVFPOV.js";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-SZKVEYL6.js";
|
|
6
6
|
import "../../chunk-JCJFFJ42.js";
|
|
7
7
|
import "../../chunk-PZ5AY32C.js";
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ChatViewCustomization, P as ParsedWhatIfPrompt } from '../../../SkillStatusBar-
|
|
2
|
-
export { A as AssistantTurnComponentProps, a as ChatInput, b as ChatView, c as ChatViewClassNames, d as ChatViewComponents, e as ChatViewProps, f as ChatViewRenderers, E as ErrorMessageBlock, F as FileComposerAttachment, g as FileSizeLimitDialog, M as MessageList, S as SkillStatusBar, h as SkillStatusBarComponentProps, T as ToolCallComponentProps, i as ToolRendererProps, U as UserMessageBubble, j as isErrorMessage, k as isUserMessage } from '../../../SkillStatusBar-
|
|
1
|
+
import { C as ChatViewCustomization, P as ParsedWhatIfPrompt } from '../../../SkillStatusBar-DR-R6Mpa.js';
|
|
2
|
+
export { A as AssistantTurnComponentProps, a as ChatInput, b as ChatView, c as ChatViewClassNames, d as ChatViewComponents, e as ChatViewProps, f as ChatViewRenderers, E as ErrorMessageBlock, F as FileComposerAttachment, g as FileSizeLimitDialog, M as MessageList, S as SkillStatusBar, h as SkillStatusBarComponentProps, T as ToolCallComponentProps, i as ToolRendererProps, U as UserMessageBubble, j as isErrorMessage, k as isUserMessage } from '../../../SkillStatusBar-DR-R6Mpa.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
isErrorMessage,
|
|
17
17
|
isUserMessage,
|
|
18
18
|
useWhatIfQuoteContext
|
|
19
|
-
} from "../../../chunk-
|
|
19
|
+
} from "../../../chunk-XKP32HXH.js";
|
|
20
20
|
import {
|
|
21
21
|
AskUserQuestionBlock
|
|
22
|
-
} from "../../../chunk-
|
|
22
|
+
} from "../../../chunk-RQUD3FGD.js";
|
|
23
23
|
import "../../../chunk-2UP7MG3J.js";
|
|
24
|
-
import "../../../chunk-
|
|
25
|
-
import "../../../chunk-
|
|
24
|
+
import "../../../chunk-MEAVJOEQ.js";
|
|
25
|
+
import "../../../chunk-SPHQXYME.js";
|
|
26
26
|
import "../../../chunk-J3XVFPOV.js";
|
|
27
|
-
import "../../../chunk-
|
|
27
|
+
import "../../../chunk-SZKVEYL6.js";
|
|
28
28
|
import "../../../chunk-7LEKQI47.js";
|
|
29
29
|
import "../../../chunk-JCJFFJ42.js";
|
|
30
30
|
import "../../../chunk-PZ5AY32C.js";
|
|
@@ -102,9 +102,8 @@ declare function PlanVisualization({ messages: rawMessages, allSkillNames: rawAl
|
|
|
102
102
|
* Extract structured plan data from planning phase messages.
|
|
103
103
|
*
|
|
104
104
|
* Expects messages between planning-mode mode_change markers containing:
|
|
105
|
-
* -
|
|
106
|
-
* -
|
|
107
|
-
* - Write tool call to PLAN.yaml with plan YAML (Phase 3)
|
|
105
|
+
* - ReadSkill tool calls (技能调研:成功结果 = 选定技能,歧义 candidates = 候选列表)
|
|
106
|
+
* - Write tool call to PLAN.yaml with plan YAML
|
|
108
107
|
*/
|
|
109
108
|
declare function parsePlanMessages(allMessages: ChatMessage[]): PlanData;
|
|
110
109
|
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
PlanSummaryCard,
|
|
4
4
|
extractLatestPlanMessages,
|
|
5
5
|
parsePlanMessages
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-RQUD3FGD.js";
|
|
7
7
|
import "../../../chunk-2UP7MG3J.js";
|
|
8
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-SPHQXYME.js";
|
|
9
9
|
import "../../../chunk-J3XVFPOV.js";
|
|
10
|
-
import "../../../chunk-
|
|
10
|
+
import "../../../chunk-SZKVEYL6.js";
|
|
11
11
|
import {
|
|
12
12
|
cn
|
|
13
13
|
} from "../../../chunk-7LEKQI47.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useSession
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-GIY3MV6F.js";
|
|
4
4
|
import {
|
|
5
5
|
checkoutSession,
|
|
6
6
|
getSessionCheckpoints,
|
|
7
7
|
useChatStore,
|
|
8
8
|
useSessionStore
|
|
9
|
-
} from "../../../chunk-
|
|
9
|
+
} from "../../../chunk-SPHQXYME.js";
|
|
10
10
|
import "../../../chunk-J3XVFPOV.js";
|
|
11
|
-
import "../../../chunk-
|
|
11
|
+
import "../../../chunk-SZKVEYL6.js";
|
|
12
12
|
import {
|
|
13
13
|
cn
|
|
14
14
|
} from "../../../chunk-7LEKQI47.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
CollapsibleContent,
|
|
4
4
|
CollapsibleTrigger,
|
|
5
5
|
resolveSessionFilePreviewTarget
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-MEAVJOEQ.js";
|
|
7
7
|
import {
|
|
8
8
|
apiFetchText,
|
|
9
9
|
copyFile,
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
useChatStore,
|
|
18
18
|
useSessionStore,
|
|
19
19
|
useUiStore
|
|
20
|
-
} from "../../../chunk-
|
|
20
|
+
} from "../../../chunk-SPHQXYME.js";
|
|
21
21
|
import "../../../chunk-J3XVFPOV.js";
|
|
22
|
-
import "../../../chunk-
|
|
22
|
+
import "../../../chunk-SZKVEYL6.js";
|
|
23
23
|
import {
|
|
24
24
|
cn
|
|
25
25
|
} from "../../../chunk-7LEKQI47.js";
|
package/dist/react/index.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ export { F as FileContentPart, I as ImageUrlContentPart, c as MessageContentPart
|
|
|
13
13
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
14
14
|
import { Editor } from '@tiptap/react';
|
|
15
15
|
import { ClassValue } from 'clsx';
|
|
16
|
-
import { l as ClientAwareState } from '../SkillStatusBar-
|
|
17
|
-
export { m as ATTACHMENT_SIZE_LIMIT_BYTES, B as BuildWhatIfPromptInput, a as ChatInput, b as ChatView, g as FileSizeLimitDialog, M as MessageList, O as OversizedFileInfo, P as ParsedWhatIfPrompt, S as SkillStatusBar, W as WhatIfQuote, n as buildWhatIfPrompt, o as formatFileSize, p as invalidateHomeSidebarSessions, q as parseWhatIfPrompt, s as splitFilesBySize, u as useSessionStore } from '../SkillStatusBar-
|
|
16
|
+
import { l as ClientAwareState } from '../SkillStatusBar-DR-R6Mpa.js';
|
|
17
|
+
export { m as ATTACHMENT_SIZE_LIMIT_BYTES, B as BuildWhatIfPromptInput, a as ChatInput, b as ChatView, g as FileSizeLimitDialog, M as MessageList, O as OversizedFileInfo, P as ParsedWhatIfPrompt, S as SkillStatusBar, W as WhatIfQuote, n as buildWhatIfPrompt, o as formatFileSize, p as invalidateHomeSidebarSessions, q as parseWhatIfPrompt, s as splitFilesBySize, u as useSessionStore } from '../SkillStatusBar-DR-R6Mpa.js';
|
|
18
18
|
import * as zustand from 'zustand';
|
|
19
19
|
import { Streamdown, ExtraProps } from 'streamdown';
|
|
20
20
|
import * as _tiptap_core from '@tiptap/core';
|
|
@@ -1222,6 +1222,9 @@ declare class AgentSocket {
|
|
|
1222
1222
|
private readonly pendingReplayModes;
|
|
1223
1223
|
private readonly oomNotifiedKeys;
|
|
1224
1224
|
private readonly pendingTurnPatches;
|
|
1225
|
+
private readonly joinedSessions;
|
|
1226
|
+
private readonly requestedJoins;
|
|
1227
|
+
private readonly pendingJoins;
|
|
1225
1228
|
private patchFlushHandle;
|
|
1226
1229
|
private patchFlushCancel;
|
|
1227
1230
|
constructor(client: BladeClient);
|
|
@@ -1234,6 +1237,7 @@ declare class AgentSocket {
|
|
|
1234
1237
|
private _bindConnectionHandlers;
|
|
1235
1238
|
private _applyProjectionSideEffects;
|
|
1236
1239
|
private _notifySandboxOom;
|
|
1240
|
+
private _syncSessionTurnsFromHistory;
|
|
1237
1241
|
private _applySystemNotification;
|
|
1238
1242
|
subscribe(sessionId: string): void;
|
|
1239
1243
|
unsubscribe(): void;
|
|
@@ -1247,6 +1251,8 @@ declare class AgentSocket {
|
|
|
1247
1251
|
* 幂等:后端 session:subscribe handler 只做 enter_room,重复 emit 无副作用。
|
|
1248
1252
|
*/
|
|
1249
1253
|
attachSession(sessionId: string): void;
|
|
1254
|
+
private _ensureJoined;
|
|
1255
|
+
private _shouldWaitForJoinBeforeSend;
|
|
1250
1256
|
send(sessionId: string, message: MessageContent, mode?: string, askuserAnswer?: Record<string, unknown>, extras?: {
|
|
1251
1257
|
model?: string;
|
|
1252
1258
|
whatif?: {
|
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-XKP32HXH.js";
|
|
34
34
|
import {
|
|
35
35
|
CardCodeBlock,
|
|
36
36
|
CardContext,
|
|
@@ -39,18 +39,18 @@ import {
|
|
|
39
39
|
normalizeCodeLanguage,
|
|
40
40
|
useCardContext,
|
|
41
41
|
useHighlightedCodeHtml
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-RQUD3FGD.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-GIY3MV6F.js";
|
|
50
50
|
import {
|
|
51
51
|
buildSessionBinaryPreviewTarget,
|
|
52
52
|
resolveSessionFilePreviewTarget
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-MEAVJOEQ.js";
|
|
54
54
|
import {
|
|
55
55
|
PartnerSkillFile,
|
|
56
56
|
PartnerSkillInstallPayload,
|
|
@@ -102,12 +102,12 @@ import {
|
|
|
102
102
|
useTaskStore,
|
|
103
103
|
useUiBridgeStore,
|
|
104
104
|
useUiStore
|
|
105
|
-
} from "../chunk-
|
|
105
|
+
} from "../chunk-SPHQXYME.js";
|
|
106
106
|
import "../chunk-J3XVFPOV.js";
|
|
107
107
|
import {
|
|
108
108
|
REGISTRY_PREFIX,
|
|
109
109
|
normalizeResource
|
|
110
|
-
} from "../chunk-
|
|
110
|
+
} from "../chunk-SZKVEYL6.js";
|
|
111
111
|
import {
|
|
112
112
|
cn,
|
|
113
113
|
copyToClipboard
|