@standardagents/vue 0.40.7 → 0.40.9
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/README.md +2 -1
- package/dist/index.cjs +5 -3
- package/dist/index.d.cts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +5 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -108,8 +108,9 @@ Component that establishes a WebSocket connection to a specific thread and provi
|
|
|
108
108
|
- `preload?: boolean` - Fetch existing messages on mount (default: `true`)
|
|
109
109
|
- `live?: boolean` - Enable WebSocket for real-time updates (default: `true`)
|
|
110
110
|
- `useWorkblocks?: boolean` - Group tool calls into workblocks (default: `false`)
|
|
111
|
+
- `useSubagentBlocks?: boolean` - Group referenced child traffic into subagent blocks (default: `false`). Unresolved runtime lifecycle calls remain ordinary tool work rather than synthetic child cards.
|
|
111
112
|
- `depth?: number` - Message depth level (default: `0`)
|
|
112
|
-
- `includeSilent?: boolean` - Include silent messages (default: `false`)
|
|
113
|
+
- `includeSilent?: boolean` - Include silent messages (default: `false`). With subagent grouping enabled, explicitly included silent messages remain visible in chronological order.
|
|
113
114
|
- `endpoint?: string` - Override the endpoint from plugin config
|
|
114
115
|
|
|
115
116
|
```vue
|
package/dist/index.cjs
CHANGED
|
@@ -121,7 +121,8 @@ function useThreadSetup(threadIdInput, options = {}) {
|
|
|
121
121
|
}
|
|
122
122
|
return client.transformToSubagentBlocks(messages.value, {
|
|
123
123
|
includeWorkblocks: useWorkblocks,
|
|
124
|
-
currentThreadId: threadId.value
|
|
124
|
+
currentThreadId: threadId.value,
|
|
125
|
+
preserveSilentMessages: includeSilent
|
|
125
126
|
});
|
|
126
127
|
});
|
|
127
128
|
const groupedMessages = vue.computed(() => {
|
|
@@ -607,7 +608,7 @@ var ThreadProvider = vue.defineComponent({
|
|
|
607
608
|
default: void 0
|
|
608
609
|
},
|
|
609
610
|
/**
|
|
610
|
-
* Transform
|
|
611
|
+
* Transform referenced child traffic to subagent blocks without lifecycle-call placeholders (default: false)
|
|
611
612
|
*/
|
|
612
613
|
useSubagentBlocks: {
|
|
613
614
|
type: Boolean,
|
|
@@ -621,7 +622,8 @@ var ThreadProvider = vue.defineComponent({
|
|
|
621
622
|
default: void 0
|
|
622
623
|
},
|
|
623
624
|
/**
|
|
624
|
-
* Include silent messages (default: false)
|
|
625
|
+
* Include silent messages (default: false). Included silent messages stay
|
|
626
|
+
* chronological when subagent grouping is enabled.
|
|
625
627
|
*/
|
|
626
628
|
includeSilent: {
|
|
627
629
|
type: Boolean,
|
package/dist/index.d.cts
CHANGED
|
@@ -30,11 +30,11 @@ interface ThreadProviderOptions {
|
|
|
30
30
|
live?: boolean;
|
|
31
31
|
/** Transform messages to workblocks (default: false) */
|
|
32
32
|
useWorkblocks?: boolean;
|
|
33
|
-
/** Transform
|
|
33
|
+
/** Transform referenced child traffic to subagent blocks without lifecycle-call placeholders (default: false) */
|
|
34
34
|
useSubagentBlocks?: boolean;
|
|
35
35
|
/** Message depth to fetch (default: 0) */
|
|
36
36
|
depth?: number;
|
|
37
|
-
/** Include silent messages (default: false) */
|
|
37
|
+
/** Include silent messages; grouped output preserves them chronologically (default: false) */
|
|
38
38
|
includeSilent?: boolean;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
@@ -118,7 +118,7 @@ interface UseThreadOptions {
|
|
|
118
118
|
useSubagentBlocks?: boolean;
|
|
119
119
|
/** Message depth to fetch (default: 0) */
|
|
120
120
|
depth?: number;
|
|
121
|
-
/** Include silent messages (default: false) */
|
|
121
|
+
/** Include silent messages; grouped output preserves them chronologically (default: false) */
|
|
122
122
|
includeSilent?: boolean;
|
|
123
123
|
/** Optional endpoint override */
|
|
124
124
|
endpoint?: string;
|
|
@@ -201,7 +201,7 @@ declare const ThreadProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
201
201
|
default: undefined;
|
|
202
202
|
};
|
|
203
203
|
/**
|
|
204
|
-
* Transform
|
|
204
|
+
* Transform referenced child traffic to subagent blocks without lifecycle-call placeholders (default: false)
|
|
205
205
|
*/
|
|
206
206
|
useSubagentBlocks: {
|
|
207
207
|
type: PropType<boolean>;
|
|
@@ -215,7 +215,8 @@ declare const ThreadProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
215
215
|
default: undefined;
|
|
216
216
|
};
|
|
217
217
|
/**
|
|
218
|
-
* Include silent messages (default: false)
|
|
218
|
+
* Include silent messages (default: false). Included silent messages stay
|
|
219
|
+
* chronological when subagent grouping is enabled.
|
|
219
220
|
*/
|
|
220
221
|
includeSilent: {
|
|
221
222
|
type: PropType<boolean>;
|
|
@@ -268,7 +269,7 @@ declare const ThreadProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
268
269
|
default: undefined;
|
|
269
270
|
};
|
|
270
271
|
/**
|
|
271
|
-
* Transform
|
|
272
|
+
* Transform referenced child traffic to subagent blocks without lifecycle-call placeholders (default: false)
|
|
272
273
|
*/
|
|
273
274
|
useSubagentBlocks: {
|
|
274
275
|
type: PropType<boolean>;
|
|
@@ -282,7 +283,8 @@ declare const ThreadProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
282
283
|
default: undefined;
|
|
283
284
|
};
|
|
284
285
|
/**
|
|
285
|
-
* Include silent messages (default: false)
|
|
286
|
+
* Include silent messages (default: false). Included silent messages stay
|
|
287
|
+
* chronological when subagent grouping is enabled.
|
|
286
288
|
*/
|
|
287
289
|
includeSilent: {
|
|
288
290
|
type: PropType<boolean>;
|
package/dist/index.d.ts
CHANGED
|
@@ -30,11 +30,11 @@ interface ThreadProviderOptions {
|
|
|
30
30
|
live?: boolean;
|
|
31
31
|
/** Transform messages to workblocks (default: false) */
|
|
32
32
|
useWorkblocks?: boolean;
|
|
33
|
-
/** Transform
|
|
33
|
+
/** Transform referenced child traffic to subagent blocks without lifecycle-call placeholders (default: false) */
|
|
34
34
|
useSubagentBlocks?: boolean;
|
|
35
35
|
/** Message depth to fetch (default: 0) */
|
|
36
36
|
depth?: number;
|
|
37
|
-
/** Include silent messages (default: false) */
|
|
37
|
+
/** Include silent messages; grouped output preserves them chronologically (default: false) */
|
|
38
38
|
includeSilent?: boolean;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
@@ -118,7 +118,7 @@ interface UseThreadOptions {
|
|
|
118
118
|
useSubagentBlocks?: boolean;
|
|
119
119
|
/** Message depth to fetch (default: 0) */
|
|
120
120
|
depth?: number;
|
|
121
|
-
/** Include silent messages (default: false) */
|
|
121
|
+
/** Include silent messages; grouped output preserves them chronologically (default: false) */
|
|
122
122
|
includeSilent?: boolean;
|
|
123
123
|
/** Optional endpoint override */
|
|
124
124
|
endpoint?: string;
|
|
@@ -201,7 +201,7 @@ declare const ThreadProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
201
201
|
default: undefined;
|
|
202
202
|
};
|
|
203
203
|
/**
|
|
204
|
-
* Transform
|
|
204
|
+
* Transform referenced child traffic to subagent blocks without lifecycle-call placeholders (default: false)
|
|
205
205
|
*/
|
|
206
206
|
useSubagentBlocks: {
|
|
207
207
|
type: PropType<boolean>;
|
|
@@ -215,7 +215,8 @@ declare const ThreadProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
215
215
|
default: undefined;
|
|
216
216
|
};
|
|
217
217
|
/**
|
|
218
|
-
* Include silent messages (default: false)
|
|
218
|
+
* Include silent messages (default: false). Included silent messages stay
|
|
219
|
+
* chronological when subagent grouping is enabled.
|
|
219
220
|
*/
|
|
220
221
|
includeSilent: {
|
|
221
222
|
type: PropType<boolean>;
|
|
@@ -268,7 +269,7 @@ declare const ThreadProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
268
269
|
default: undefined;
|
|
269
270
|
};
|
|
270
271
|
/**
|
|
271
|
-
* Transform
|
|
272
|
+
* Transform referenced child traffic to subagent blocks without lifecycle-call placeholders (default: false)
|
|
272
273
|
*/
|
|
273
274
|
useSubagentBlocks: {
|
|
274
275
|
type: PropType<boolean>;
|
|
@@ -282,7 +283,8 @@ declare const ThreadProvider: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
282
283
|
default: undefined;
|
|
283
284
|
};
|
|
284
285
|
/**
|
|
285
|
-
* Include silent messages (default: false)
|
|
286
|
+
* Include silent messages (default: false). Included silent messages stay
|
|
287
|
+
* chronological when subagent grouping is enabled.
|
|
286
288
|
*/
|
|
287
289
|
includeSilent: {
|
|
288
290
|
type: PropType<boolean>;
|
package/dist/index.js
CHANGED
|
@@ -120,7 +120,8 @@ function useThreadSetup(threadIdInput, options = {}) {
|
|
|
120
120
|
}
|
|
121
121
|
return transformToSubagentBlocks(messages.value, {
|
|
122
122
|
includeWorkblocks: useWorkblocks,
|
|
123
|
-
currentThreadId: threadId.value
|
|
123
|
+
currentThreadId: threadId.value,
|
|
124
|
+
preserveSilentMessages: includeSilent
|
|
124
125
|
});
|
|
125
126
|
});
|
|
126
127
|
const groupedMessages = computed(() => {
|
|
@@ -606,7 +607,7 @@ var ThreadProvider = defineComponent({
|
|
|
606
607
|
default: void 0
|
|
607
608
|
},
|
|
608
609
|
/**
|
|
609
|
-
* Transform
|
|
610
|
+
* Transform referenced child traffic to subagent blocks without lifecycle-call placeholders (default: false)
|
|
610
611
|
*/
|
|
611
612
|
useSubagentBlocks: {
|
|
612
613
|
type: Boolean,
|
|
@@ -620,7 +621,8 @@ var ThreadProvider = defineComponent({
|
|
|
620
621
|
default: void 0
|
|
621
622
|
},
|
|
622
623
|
/**
|
|
623
|
-
* Include silent messages (default: false)
|
|
624
|
+
* Include silent messages (default: false). Included silent messages stay
|
|
625
|
+
* chronological when subagent grouping is enabled.
|
|
624
626
|
*/
|
|
625
627
|
includeSilent: {
|
|
626
628
|
type: Boolean,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@standardagents/vue",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Vue SDK for Standard Agents",
|
|
6
6
|
"type": "module",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"typecheck": "tsc --noEmit"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@standardagents/client": "0.40.
|
|
33
|
+
"@standardagents/client": "0.40.9"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"vue": "^3.3.0"
|