@wowyuarm/dsh-agent-team 0.1.13 → 0.1.14-alpha.2
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 +1 -1
- package/README.zh.md +1 -1
- package/cordis.patch.yml +185 -2
- package/package.json +45 -49
- package/packages/agent-team/lib/context-management.js +2 -3
- package/packages/agent-team/lib/context-projection.js +7 -11
- package/packages/agent-team/lib/context-source.js +36 -17
- package/packages/agent-team/lib/index.js +26 -64
- package/packages/agent-team/lib/member-context.js +5 -3
- package/packages/agent-team/lib/member-time-context.js +5 -2
- package/packages/agent-team/lib/pressure-policy.js +5 -3
- package/packages/agent-team/lib/stored-session-reader.js +1 -2
- package/packages/agent-team/lib/typert.host.js +289 -211
- package/packages/agent-team/lib/typert.remote-client.d.ts +3 -2
- package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
- package/packages/agent-team/lib/typert.remote-client.js +243 -189
- package/packages/agent-team/lib/types/context-management.d.ts.map +1 -1
- package/packages/agent-team/lib/types/context-projection.d.ts.map +1 -1
- package/packages/agent-team/lib/types/context-source.d.ts +46 -13
- package/packages/agent-team/lib/types/context-source.d.ts.map +1 -1
- package/packages/agent-team/lib/types/index.d.ts +0 -8
- package/packages/agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/types/member-context.d.ts +14 -0
- package/packages/agent-team/lib/types/member-context.d.ts.map +1 -1
- package/packages/agent-team/lib/types/member-time-context.d.ts +15 -0
- package/packages/agent-team/lib/types/member-time-context.d.ts.map +1 -1
- package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -1
- package/packages/agent-team/lib/types/stored-session-reader.d.ts +1 -2
- package/packages/agent-team/lib/types/stored-session-reader.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/entities.d.ts +3 -3
- package/packages/client-agent-team/lib/client.js +467 -341
- package/packages/client-agent-team/lib/client.js.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +6 -6
- package/packages/client-agent-team/lib/types/client/TeamChannelPage.js +3 -3
- package/packages/client-agent-team/lib/types/client/TeamChannelsPanel.js +4 -4
- package/packages/client-agent-team/lib/types/client/TeamComposer.js +3 -3
- package/packages/client-agent-team/lib/types/client/TeamFooterAction.js +2 -2
- package/packages/client-agent-team/lib/types/client/TeamMemberEditor.js +3 -3
- package/packages/client-agent-team/lib/types/client/TeamMembersAction.js +2 -2
- package/packages/client-agent-team/lib/types/client/TeamRowMenu.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamRowMenu.js +2 -2
- package/packages/client-agent-team/lib/types/client/TeamSidebarSection.js +2 -2
- package/packages/client-agent-team/lib/types/client/TeamThreadPage.js +3 -3
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.js +5 -8
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceSelector.d.ts +37 -0
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceSelector.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceSelector.js +58 -0
- package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/index.js +37 -18
- package/packages/client-agent-team/lib/types/client/locales.d.ts +2 -0
- package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/locales.js +2 -0
- package/packages/client-agent-team/lib/types/client/multi-menu-field.js +2 -2
- package/packages/client-agent-team/lib/types/client/sidebar-sections.d.ts +1 -1
- package/packages/client-agent-team/lib/types/client/sidebar-sections.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/sidebar-sections.js +4 -3
- package/packages/agent-team/lib/preset-roster.js +0 -15
- package/packages/agent-team/lib/session-remediation.js +0 -493
- package/packages/agent-team/lib/types/preset-roster.d.ts +0 -5
- package/packages/agent-team/lib/types/preset-roster.d.ts.map +0 -1
- package/packages/agent-team/lib/types/session-remediation.d.ts +0 -172
- package/packages/agent-team/lib/types/session-remediation.d.ts.map +0 -1
- package/packages/agent-team/preset/team-member/agent.cordis.yml +0 -164
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceRow.d.ts +0 -11
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceRow.d.ts.map +0 -1
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceRow.js +0 -6
|
@@ -4082,7 +4082,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4082
4082
|
}
|
|
4083
4083
|
//#endregion
|
|
4084
4084
|
//#region ../agent-team/lib/typert.remote-client.js
|
|
4085
|
-
|
|
4085
|
+
let _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema$value;
|
|
4086
|
+
const _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema$value ??= object({
|
|
4086
4087
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4087
4088
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4088
4089
|
"handle": string().readonly(),
|
|
@@ -4099,7 +4100,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4099
4100
|
}).readonly().optional(),
|
|
4100
4101
|
"channelRefs": array(intersection(string(), unknown())).readonly()
|
|
4101
4102
|
});
|
|
4102
|
-
|
|
4103
|
+
let _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema$value;
|
|
4104
|
+
const _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema$value ??= object({
|
|
4103
4105
|
"receipt": object({
|
|
4104
4106
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4105
4107
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -4167,12 +4169,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4167
4169
|
}))]).readonly().optional()
|
|
4168
4170
|
}).readonly()
|
|
4169
4171
|
});
|
|
4170
|
-
|
|
4172
|
+
let _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema$value;
|
|
4173
|
+
const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema$value ??= object({
|
|
4171
4174
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4172
4175
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4173
4176
|
"channelRef": intersection(string(), unknown()).readonly()
|
|
4174
4177
|
});
|
|
4175
|
-
|
|
4178
|
+
let _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema$value;
|
|
4179
|
+
const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema$value ??= object({
|
|
4176
4180
|
"receipt": object({
|
|
4177
4181
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4178
4182
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -4201,11 +4205,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4201
4205
|
]).readonly()
|
|
4202
4206
|
})).readonly()
|
|
4203
4207
|
});
|
|
4204
|
-
|
|
4208
|
+
let _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema$value;
|
|
4209
|
+
const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema$value ??= object({
|
|
4205
4210
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4206
4211
|
"memberId": intersection(string(), unknown()).readonly()
|
|
4207
4212
|
});
|
|
4208
|
-
|
|
4213
|
+
let _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema$value;
|
|
4214
|
+
const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema$value ??= object({
|
|
4209
4215
|
"receipt": object({
|
|
4210
4216
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4211
4217
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -4254,14 +4260,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4254
4260
|
"threadRef": intersection(string(), unknown()).readonly()
|
|
4255
4261
|
})).readonly()
|
|
4256
4262
|
});
|
|
4257
|
-
|
|
4263
|
+
let _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema$value;
|
|
4264
|
+
const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema$value ??= object({
|
|
4258
4265
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4259
4266
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4260
4267
|
"threadRef": intersection(string(), unknown()).readonly().optional(),
|
|
4261
4268
|
"taskRef": intersection(string(), unknown()).readonly().optional(),
|
|
4262
4269
|
"action": union([literal("follow"), literal("unfollow")]).readonly()
|
|
4263
4270
|
});
|
|
4264
|
-
|
|
4271
|
+
let _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema$value;
|
|
4272
|
+
const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema$value ??= object({
|
|
4265
4273
|
"receipt": object({
|
|
4266
4274
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4267
4275
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -4297,7 +4305,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4297
4305
|
"readThroughSequence": number().readonly()
|
|
4298
4306
|
}).readonly().optional()
|
|
4299
4307
|
});
|
|
4300
|
-
|
|
4308
|
+
let _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema$value;
|
|
4309
|
+
const _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema$value ??= object({ "scope": union([
|
|
4301
4310
|
object({
|
|
4302
4311
|
"kind": literal("workspace").readonly(),
|
|
4303
4312
|
"workspaceId": intersection(string(), unknown()).readonly()
|
|
@@ -4315,8 +4324,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4315
4324
|
"workspaceId": intersection(string(), unknown()).readonly()
|
|
4316
4325
|
})
|
|
4317
4326
|
]).readonly().optional() });
|
|
4318
|
-
|
|
4319
|
-
const
|
|
4327
|
+
let _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema$value;
|
|
4328
|
+
const _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema$value ??= object({ "version": number().readonly() });
|
|
4329
|
+
let _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema$value;
|
|
4330
|
+
const _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema$value ??= object({
|
|
4320
4331
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4321
4332
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4322
4333
|
"taskRef": intersection(string(), unknown()).readonly(),
|
|
@@ -4327,7 +4338,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4327
4338
|
]).readonly(),
|
|
4328
4339
|
"baseRevision": number().readonly()
|
|
4329
4340
|
});
|
|
4330
|
-
|
|
4341
|
+
let _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema$value;
|
|
4342
|
+
const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema$value ??= union([
|
|
4331
4343
|
object({
|
|
4332
4344
|
"kind": literal("committed").readonly(),
|
|
4333
4345
|
"receipt": object({
|
|
@@ -4404,12 +4416,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4404
4416
|
"revision": number().readonly()
|
|
4405
4417
|
})
|
|
4406
4418
|
]);
|
|
4407
|
-
|
|
4419
|
+
let _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema$value;
|
|
4420
|
+
const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema$value ??= object({
|
|
4408
4421
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4409
4422
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4410
4423
|
"memberId": intersection(string(), unknown()).readonly()
|
|
4411
4424
|
});
|
|
4412
|
-
|
|
4425
|
+
let _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema$value;
|
|
4426
|
+
const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema$value ??= object({
|
|
4413
4427
|
"receipt": object({
|
|
4414
4428
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4415
4429
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -4477,14 +4491,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4477
4491
|
}))]).readonly().optional()
|
|
4478
4492
|
}).readonly()
|
|
4479
4493
|
});
|
|
4480
|
-
|
|
4494
|
+
let _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value;
|
|
4495
|
+
const _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value ??= object({
|
|
4481
4496
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4482
4497
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4483
4498
|
"name": string().readonly(),
|
|
4484
4499
|
"description": string().readonly(),
|
|
4485
4500
|
"memberIds": array(intersection(string(), unknown())).readonly().optional()
|
|
4486
4501
|
});
|
|
4487
|
-
|
|
4502
|
+
let _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema$value;
|
|
4503
|
+
const _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema$value ??= object({
|
|
4488
4504
|
"receipt": object({
|
|
4489
4505
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4490
4506
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -4501,18 +4517,22 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4501
4517
|
}).readonly(),
|
|
4502
4518
|
"memberIds": array(intersection(string(), unknown())).readonly()
|
|
4503
4519
|
});
|
|
4504
|
-
|
|
4505
|
-
const
|
|
4520
|
+
let _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value;
|
|
4521
|
+
const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value ??= object({ "attachmentId": intersection(string(), unknown()).readonly() });
|
|
4522
|
+
let _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema$value;
|
|
4523
|
+
const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema$value ??= object({
|
|
4506
4524
|
"name": string().readonly(),
|
|
4507
4525
|
"mediaType": string().readonly(),
|
|
4508
4526
|
"byteSize": number().readonly(),
|
|
4509
4527
|
"bytesBase64": string().readonly()
|
|
4510
4528
|
});
|
|
4511
|
-
|
|
4529
|
+
let _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema$value;
|
|
4530
|
+
const _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema$value ??= object({
|
|
4512
4531
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4513
4532
|
"limit": number().readonly().optional()
|
|
4514
4533
|
});
|
|
4515
|
-
|
|
4534
|
+
let _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema$value;
|
|
4535
|
+
const _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema$value ??= object({
|
|
4516
4536
|
"items": array(object({
|
|
4517
4537
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4518
4538
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
@@ -4610,13 +4630,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4610
4630
|
"totalUnreadCount": number().readonly(),
|
|
4611
4631
|
"totalDirectCount": number().readonly()
|
|
4612
4632
|
});
|
|
4613
|
-
|
|
4633
|
+
let _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema$value;
|
|
4634
|
+
const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema$value ??= object({
|
|
4614
4635
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4615
4636
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4616
4637
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
4617
4638
|
"memberId": intersection(string(), unknown()).readonly()
|
|
4618
4639
|
});
|
|
4619
|
-
|
|
4640
|
+
let _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema$value;
|
|
4641
|
+
const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema$value ??= object({
|
|
4620
4642
|
"receipt": object({
|
|
4621
4643
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4622
4644
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -4626,12 +4648,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4626
4648
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
4627
4649
|
"memberId": intersection(string(), unknown()).readonly()
|
|
4628
4650
|
});
|
|
4629
|
-
|
|
4651
|
+
let _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema$value;
|
|
4652
|
+
const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema$value ??= object({
|
|
4630
4653
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4631
4654
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4632
4655
|
"memberId": intersection(string(), unknown()).readonly()
|
|
4633
4656
|
});
|
|
4634
|
-
|
|
4657
|
+
let _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema$value;
|
|
4658
|
+
const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema$value ??= object({
|
|
4635
4659
|
"receipt": object({
|
|
4636
4660
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4637
4661
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -4641,12 +4665,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4641
4665
|
"memberId": intersection(string(), unknown()).readonly(),
|
|
4642
4666
|
"workspaceId": intersection(string(), unknown()).readonly()
|
|
4643
4667
|
});
|
|
4644
|
-
|
|
4668
|
+
let _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema$value;
|
|
4669
|
+
const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema$value ??= object({
|
|
4645
4670
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4646
4671
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4647
4672
|
"memberId": intersection(string(), unknown()).readonly()
|
|
4648
4673
|
});
|
|
4649
|
-
|
|
4674
|
+
let _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema$value;
|
|
4675
|
+
const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema$value ??= object({
|
|
4650
4676
|
"receipt": object({
|
|
4651
4677
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4652
4678
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -4673,8 +4699,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4673
4699
|
"threadRef": intersection(string(), unknown()).readonly()
|
|
4674
4700
|
})).readonly()
|
|
4675
4701
|
});
|
|
4676
|
-
|
|
4677
|
-
const
|
|
4702
|
+
let _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema$value;
|
|
4703
|
+
const _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema$value ??= object({ "workspaceId": intersection(string(), unknown()).readonly().optional() });
|
|
4704
|
+
let _wowyuarm_dsh_agent_team_agentTeam_members_result$schema$value;
|
|
4705
|
+
const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_members_result$schema$value ??= array(object({
|
|
4678
4706
|
"member": object({
|
|
4679
4707
|
"memberId": intersection(string(), unknown()).readonly(),
|
|
4680
4708
|
"sessionId": intersection(string(), unknown()).readonly(),
|
|
@@ -4734,13 +4762,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4734
4762
|
"knownNames": array(string()).readonly()
|
|
4735
4763
|
}))]).readonly().optional()
|
|
4736
4764
|
}));
|
|
4737
|
-
|
|
4765
|
+
let _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema$value;
|
|
4766
|
+
const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema$value ??= object({
|
|
4738
4767
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4739
4768
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4740
4769
|
"threadRef": intersection(string(), unknown()).readonly(),
|
|
4741
4770
|
"baseRevision": number().readonly()
|
|
4742
4771
|
});
|
|
4743
|
-
|
|
4772
|
+
let _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema$value;
|
|
4773
|
+
const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema$value ??= union([
|
|
4744
4774
|
object({
|
|
4745
4775
|
"kind": literal("unread_required").readonly(),
|
|
4746
4776
|
"taskRef": intersection(string(), unknown()).readonly().optional(),
|
|
@@ -4804,27 +4834,31 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4804
4834
|
}).readonly()
|
|
4805
4835
|
})
|
|
4806
4836
|
]);
|
|
4807
|
-
|
|
4837
|
+
let _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema$value;
|
|
4838
|
+
const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema$value ??= object({
|
|
4808
4839
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4809
4840
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4810
4841
|
"name": string().readonly(),
|
|
4811
4842
|
"mediaType": union([_undefined(), string()]).readonly().optional(),
|
|
4812
4843
|
"bytesBase64": string().readonly()
|
|
4813
4844
|
});
|
|
4814
|
-
|
|
4845
|
+
let _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema$value;
|
|
4846
|
+
const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema$value ??= object({
|
|
4815
4847
|
"attachmentId": intersection(string(), unknown()).readonly(),
|
|
4816
4848
|
"path": string().readonly(),
|
|
4817
4849
|
"name": string().readonly(),
|
|
4818
4850
|
"byteSize": number().readonly(),
|
|
4819
4851
|
"mediaType": string().readonly()
|
|
4820
4852
|
});
|
|
4821
|
-
|
|
4853
|
+
let _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema$value;
|
|
4854
|
+
const _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema$value ??= object({
|
|
4822
4855
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4823
4856
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4824
4857
|
"threadRef": intersection(string(), unknown()).readonly().optional(),
|
|
4825
4858
|
"taskRef": intersection(string(), unknown()).readonly().optional()
|
|
4826
4859
|
});
|
|
4827
|
-
|
|
4860
|
+
let _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema$value;
|
|
4861
|
+
const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema$value ??= object({
|
|
4828
4862
|
"receipt": object({
|
|
4829
4863
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4830
4864
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -4984,12 +5018,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4984
5018
|
"guidance": string().readonly()
|
|
4985
5019
|
}).readonly().optional()
|
|
4986
5020
|
});
|
|
4987
|
-
|
|
5021
|
+
let _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema$value;
|
|
5022
|
+
const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema$value ??= object({
|
|
4988
5023
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4989
5024
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
4990
5025
|
"memberId": intersection(string(), unknown()).readonly()
|
|
4991
5026
|
});
|
|
4992
|
-
|
|
5027
|
+
let _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema$value;
|
|
5028
|
+
const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema$value ??= object({ "status": object({
|
|
4993
5029
|
"member": object({
|
|
4994
5030
|
"memberId": intersection(string(), unknown()).readonly(),
|
|
4995
5031
|
"sessionId": intersection(string(), unknown()).readonly(),
|
|
@@ -5049,13 +5085,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5049
5085
|
"knownNames": array(string()).readonly()
|
|
5050
5086
|
}))]).readonly().optional()
|
|
5051
5087
|
}).readonly() });
|
|
5052
|
-
|
|
5088
|
+
let _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema$value;
|
|
5089
|
+
const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema$value ??= object({
|
|
5053
5090
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
5054
5091
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
5055
5092
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
5056
5093
|
"memberId": intersection(string(), unknown()).readonly()
|
|
5057
5094
|
});
|
|
5058
|
-
|
|
5095
|
+
let _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema$value;
|
|
5096
|
+
const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema$value ??= object({
|
|
5059
5097
|
"receipt": object({
|
|
5060
5098
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
5061
5099
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -5082,7 +5120,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5082
5120
|
"threadRef": intersection(string(), unknown()).readonly()
|
|
5083
5121
|
})).readonly()
|
|
5084
5122
|
});
|
|
5085
|
-
|
|
5123
|
+
let _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema$value;
|
|
5124
|
+
const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema$value ??= object({
|
|
5086
5125
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
5087
5126
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
5088
5127
|
"threadRef": intersection(string(), unknown()).readonly().optional(),
|
|
@@ -5094,7 +5133,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5094
5133
|
"attachments": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
5095
5134
|
"confirmationToken": intersection(string(), unknown()).readonly().optional()
|
|
5096
5135
|
});
|
|
5097
|
-
|
|
5136
|
+
let _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema$value;
|
|
5137
|
+
const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema$value ??= union([
|
|
5098
5138
|
object({
|
|
5099
5139
|
"kind": literal("unread_required").readonly(),
|
|
5100
5140
|
"taskRef": intersection(string(), unknown()).readonly().optional(),
|
|
@@ -5191,17 +5231,20 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5191
5231
|
"undeliveredMentions": array(intersection(string(), unknown())).readonly().optional()
|
|
5192
5232
|
})
|
|
5193
5233
|
]);
|
|
5194
|
-
|
|
5234
|
+
let _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema$value;
|
|
5235
|
+
const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema$value ??= object({
|
|
5195
5236
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
5196
5237
|
"taskRefs": array(intersection(string(), unknown())).readonly()
|
|
5197
5238
|
});
|
|
5198
|
-
|
|
5239
|
+
let _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema$value;
|
|
5240
|
+
const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema$value ??= object({ "resolved": array(object({
|
|
5199
5241
|
"taskRef": intersection(string(), unknown()).readonly(),
|
|
5200
5242
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
5201
5243
|
"threadRef": intersection(string(), unknown()).readonly(),
|
|
5202
5244
|
"taskNumber": number().readonly()
|
|
5203
5245
|
})).readonly() });
|
|
5204
|
-
|
|
5246
|
+
let _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema$value;
|
|
5247
|
+
const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema$value ??= object({
|
|
5205
5248
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
5206
5249
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
5207
5250
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
@@ -5212,7 +5255,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5212
5255
|
"confirmationToken": intersection(string(), unknown()).readonly().optional(),
|
|
5213
5256
|
"asTask": boolean().readonly().optional()
|
|
5214
5257
|
});
|
|
5215
|
-
|
|
5258
|
+
let _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema$value;
|
|
5259
|
+
const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema$value ??= union([
|
|
5216
5260
|
object({
|
|
5217
5261
|
"kind": literal("committed").readonly(),
|
|
5218
5262
|
"receipt": object({
|
|
@@ -5293,14 +5337,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5293
5337
|
"revision": number().readonly().optional()
|
|
5294
5338
|
})
|
|
5295
5339
|
]);
|
|
5296
|
-
|
|
5340
|
+
let _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema$value;
|
|
5341
|
+
const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema$value ??= object({
|
|
5297
5342
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
5298
5343
|
"threadRef": intersection(string(), unknown()).readonly().optional(),
|
|
5299
5344
|
"taskRef": intersection(string(), unknown()).readonly().optional(),
|
|
5300
5345
|
"beforeSequence": number().readonly().optional(),
|
|
5301
5346
|
"limit": number().readonly().optional()
|
|
5302
5347
|
});
|
|
5303
|
-
|
|
5348
|
+
let _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema$value;
|
|
5349
|
+
const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema$value ??= object({
|
|
5304
5350
|
"task": object({
|
|
5305
5351
|
"taskRef": intersection(string(), unknown()).readonly(),
|
|
5306
5352
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
@@ -5424,13 +5470,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5424
5470
|
"cursor": number().readonly(),
|
|
5425
5471
|
"hasMore": boolean().readonly()
|
|
5426
5472
|
});
|
|
5427
|
-
|
|
5473
|
+
let _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema$value;
|
|
5474
|
+
const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema$value ??= object({
|
|
5428
5475
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
5429
5476
|
"threadRef": intersection(string(), unknown()).readonly().optional(),
|
|
5430
5477
|
"taskRef": intersection(string(), unknown()).readonly().optional(),
|
|
5431
5478
|
"limit": number().readonly().optional()
|
|
5432
5479
|
});
|
|
5433
|
-
|
|
5480
|
+
let _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema$value;
|
|
5481
|
+
const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema$value ??= object({
|
|
5434
5482
|
"items": array(object({
|
|
5435
5483
|
"sequence": number().readonly(),
|
|
5436
5484
|
"threadRef": intersection(string(), unknown()).readonly(),
|
|
@@ -5440,14 +5488,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5440
5488
|
})).readonly(),
|
|
5441
5489
|
"followers": array(intersection(string(), unknown())).readonly()
|
|
5442
5490
|
});
|
|
5443
|
-
|
|
5491
|
+
let _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema$value;
|
|
5492
|
+
const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema$value ??= object({
|
|
5444
5493
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
5445
5494
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
5446
5495
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
5447
5496
|
"name": string().readonly(),
|
|
5448
5497
|
"description": string().readonly()
|
|
5449
5498
|
});
|
|
5450
|
-
|
|
5499
|
+
let _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema$value;
|
|
5500
|
+
const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema$value ??= object({
|
|
5451
5501
|
"receipt": object({
|
|
5452
5502
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
5453
5503
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -5463,7 +5513,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5463
5513
|
"state": union([literal("archived"), literal("active")]).readonly()
|
|
5464
5514
|
}).readonly()
|
|
5465
5515
|
});
|
|
5466
|
-
|
|
5516
|
+
let _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema$value;
|
|
5517
|
+
const _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema$value ??= object({
|
|
5467
5518
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
5468
5519
|
"memberId": intersection(string(), unknown()).readonly(),
|
|
5469
5520
|
"handle": string().readonly(),
|
|
@@ -5478,7 +5529,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5478
5529
|
"skills": union([_undefined(), object({ "allow": array(string()).readonly().optional() })]).readonly().optional()
|
|
5479
5530
|
}).readonly().optional()
|
|
5480
5531
|
});
|
|
5481
|
-
|
|
5532
|
+
let _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema$value;
|
|
5533
|
+
const _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema$value ??= object({
|
|
5482
5534
|
"receipt": object({
|
|
5483
5535
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
5484
5536
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -5546,7 +5598,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5546
5598
|
}))]).readonly().optional()
|
|
5547
5599
|
}).readonly()
|
|
5548
5600
|
});
|
|
5549
|
-
|
|
5601
|
+
let _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema$value;
|
|
5602
|
+
const _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema$value ??= object({
|
|
5550
5603
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
5551
5604
|
"channelRef": intersection(string(), unknown()).readonly().optional(),
|
|
5552
5605
|
"threadRef": intersection(string(), unknown()).readonly().optional(),
|
|
@@ -5556,7 +5609,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5556
5609
|
"topLevelOnly": boolean().readonly().optional(),
|
|
5557
5610
|
"includeActivities": boolean().readonly().optional()
|
|
5558
5611
|
});
|
|
5559
|
-
|
|
5612
|
+
let _wowyuarm_dsh_agent_team_agentTeam_view_result$schema$value;
|
|
5613
|
+
const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_view_result$schema$value ??= object({
|
|
5560
5614
|
"humanMemberId": intersection(string(), unknown()).readonly(),
|
|
5561
5615
|
"workspaces": array(object({
|
|
5562
5616
|
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
@@ -5722,17 +5776,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5722
5776
|
codec: {
|
|
5723
5777
|
mode: "strict",
|
|
5724
5778
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamAddMemberRequest",
|
|
5725
|
-
|
|
5779
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema
|
|
5726
5780
|
}
|
|
5727
5781
|
}],
|
|
5728
5782
|
result: {
|
|
5729
5783
|
mode: "strict",
|
|
5730
5784
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult",
|
|
5731
|
-
|
|
5785
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema
|
|
5732
5786
|
},
|
|
5733
5787
|
sourceLocation: {
|
|
5734
5788
|
"file": "packages/agent-team/src/index.ts",
|
|
5735
|
-
"line":
|
|
5789
|
+
"line": 708,
|
|
5736
5790
|
"column": 9
|
|
5737
5791
|
}
|
|
5738
5792
|
},
|
|
@@ -5749,17 +5803,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5749
5803
|
codec: {
|
|
5750
5804
|
mode: "strict",
|
|
5751
5805
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelRequest",
|
|
5752
|
-
|
|
5806
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema
|
|
5753
5807
|
}
|
|
5754
5808
|
}],
|
|
5755
5809
|
result: {
|
|
5756
5810
|
mode: "strict",
|
|
5757
5811
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelResult",
|
|
5758
|
-
|
|
5812
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema
|
|
5759
5813
|
},
|
|
5760
5814
|
sourceLocation: {
|
|
5761
5815
|
"file": "packages/agent-team/src/index.ts",
|
|
5762
|
-
"line":
|
|
5816
|
+
"line": 698,
|
|
5763
5817
|
"column": 9
|
|
5764
5818
|
}
|
|
5765
5819
|
},
|
|
@@ -5776,17 +5830,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5776
5830
|
codec: {
|
|
5777
5831
|
mode: "strict",
|
|
5778
5832
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberRequest",
|
|
5779
|
-
|
|
5833
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema
|
|
5780
5834
|
}
|
|
5781
5835
|
}],
|
|
5782
5836
|
result: {
|
|
5783
5837
|
mode: "strict",
|
|
5784
5838
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberResult",
|
|
5785
|
-
|
|
5839
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema
|
|
5786
5840
|
},
|
|
5787
5841
|
sourceLocation: {
|
|
5788
5842
|
"file": "packages/agent-team/src/index.ts",
|
|
5789
|
-
"line":
|
|
5843
|
+
"line": 1077,
|
|
5790
5844
|
"column": 9
|
|
5791
5845
|
}
|
|
5792
5846
|
},
|
|
@@ -5803,17 +5857,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5803
5857
|
codec: {
|
|
5804
5858
|
mode: "strict",
|
|
5805
5859
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionRequest",
|
|
5806
|
-
|
|
5860
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema
|
|
5807
5861
|
}
|
|
5808
5862
|
}],
|
|
5809
5863
|
result: {
|
|
5810
5864
|
mode: "strict",
|
|
5811
5865
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionResult",
|
|
5812
|
-
|
|
5866
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema
|
|
5813
5867
|
},
|
|
5814
5868
|
sourceLocation: {
|
|
5815
5869
|
"file": "packages/agent-team/src/index.ts",
|
|
5816
|
-
"line":
|
|
5870
|
+
"line": 1217,
|
|
5817
5871
|
"column": 9
|
|
5818
5872
|
}
|
|
5819
5873
|
},
|
|
@@ -5831,18 +5885,18 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5831
5885
|
codec: {
|
|
5832
5886
|
mode: "strict",
|
|
5833
5887
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamChangesRequest",
|
|
5834
|
-
|
|
5888
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema
|
|
5835
5889
|
}
|
|
5836
5890
|
}],
|
|
5837
5891
|
cancellation: { parameter: "signal" },
|
|
5838
5892
|
result: {
|
|
5839
5893
|
mode: "strict",
|
|
5840
5894
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamChangesResult",
|
|
5841
|
-
|
|
5895
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema
|
|
5842
5896
|
},
|
|
5843
5897
|
sourceLocation: {
|
|
5844
5898
|
"file": "packages/agent-team/src/index.ts",
|
|
5845
|
-
"line":
|
|
5899
|
+
"line": 631,
|
|
5846
5900
|
"column": 11
|
|
5847
5901
|
}
|
|
5848
5902
|
},
|
|
@@ -5859,17 +5913,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5859
5913
|
codec: {
|
|
5860
5914
|
mode: "strict",
|
|
5861
5915
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamTaskRequest",
|
|
5862
|
-
|
|
5916
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema
|
|
5863
5917
|
}
|
|
5864
5918
|
}],
|
|
5865
5919
|
result: {
|
|
5866
5920
|
mode: "strict",
|
|
5867
5921
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamTaskResult",
|
|
5868
|
-
|
|
5922
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema
|
|
5869
5923
|
},
|
|
5870
5924
|
sourceLocation: {
|
|
5871
5925
|
"file": "packages/agent-team/src/index.ts",
|
|
5872
|
-
"line":
|
|
5926
|
+
"line": 1089,
|
|
5873
5927
|
"column": 9
|
|
5874
5928
|
}
|
|
5875
5929
|
},
|
|
@@ -5886,17 +5940,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5886
5940
|
codec: {
|
|
5887
5941
|
mode: "strict",
|
|
5888
5942
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextRequest",
|
|
5889
|
-
|
|
5943
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema
|
|
5890
5944
|
}
|
|
5891
5945
|
}],
|
|
5892
5946
|
result: {
|
|
5893
5947
|
mode: "strict",
|
|
5894
5948
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextResult",
|
|
5895
|
-
|
|
5949
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema
|
|
5896
5950
|
},
|
|
5897
5951
|
sourceLocation: {
|
|
5898
5952
|
"file": "packages/agent-team/src/index.ts",
|
|
5899
|
-
"line":
|
|
5953
|
+
"line": 811,
|
|
5900
5954
|
"column": 9
|
|
5901
5955
|
}
|
|
5902
5956
|
},
|
|
@@ -5913,17 +5967,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5913
5967
|
codec: {
|
|
5914
5968
|
mode: "strict",
|
|
5915
5969
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelRequest",
|
|
5916
|
-
|
|
5970
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema
|
|
5917
5971
|
}
|
|
5918
5972
|
}],
|
|
5919
5973
|
result: {
|
|
5920
5974
|
mode: "strict",
|
|
5921
5975
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelResult",
|
|
5922
|
-
|
|
5976
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema
|
|
5923
5977
|
},
|
|
5924
5978
|
sourceLocation: {
|
|
5925
5979
|
"file": "packages/agent-team/src/index.ts",
|
|
5926
|
-
"line":
|
|
5980
|
+
"line": 671,
|
|
5927
5981
|
"column": 9
|
|
5928
5982
|
}
|
|
5929
5983
|
},
|
|
@@ -5940,17 +5994,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5940
5994
|
codec: {
|
|
5941
5995
|
mode: "strict",
|
|
5942
5996
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentRequest",
|
|
5943
|
-
|
|
5997
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema
|
|
5944
5998
|
}
|
|
5945
5999
|
}],
|
|
5946
6000
|
result: {
|
|
5947
6001
|
mode: "strict",
|
|
5948
6002
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentResult",
|
|
5949
|
-
|
|
6003
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema
|
|
5950
6004
|
},
|
|
5951
6005
|
sourceLocation: {
|
|
5952
6006
|
"file": "packages/agent-team/src/index.ts",
|
|
5953
|
-
"line":
|
|
6007
|
+
"line": 1203,
|
|
5954
6008
|
"column": 9
|
|
5955
6009
|
}
|
|
5956
6010
|
},
|
|
@@ -5967,17 +6021,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5967
6021
|
codec: {
|
|
5968
6022
|
mode: "strict",
|
|
5969
6023
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamInboxRequest",
|
|
5970
|
-
|
|
6024
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema
|
|
5971
6025
|
}
|
|
5972
6026
|
}],
|
|
5973
6027
|
result: {
|
|
5974
6028
|
mode: "strict",
|
|
5975
6029
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamInbox",
|
|
5976
|
-
|
|
6030
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema
|
|
5977
6031
|
},
|
|
5978
6032
|
sourceLocation: {
|
|
5979
6033
|
"file": "packages/agent-team/src/index.ts",
|
|
5980
|
-
"line":
|
|
6034
|
+
"line": 1226,
|
|
5981
6035
|
"column": 3
|
|
5982
6036
|
}
|
|
5983
6037
|
},
|
|
@@ -5994,17 +6048,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5994
6048
|
codec: {
|
|
5995
6049
|
mode: "strict",
|
|
5996
6050
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelRequest",
|
|
5997
|
-
|
|
6051
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema
|
|
5998
6052
|
}
|
|
5999
6053
|
}],
|
|
6000
6054
|
result: {
|
|
6001
6055
|
mode: "strict",
|
|
6002
6056
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelResult",
|
|
6003
|
-
|
|
6057
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema
|
|
6004
6058
|
},
|
|
6005
6059
|
sourceLocation: {
|
|
6006
6060
|
"file": "packages/agent-team/src/index.ts",
|
|
6007
|
-
"line":
|
|
6061
|
+
"line": 1109,
|
|
6008
6062
|
"column": 9
|
|
6009
6063
|
}
|
|
6010
6064
|
},
|
|
@@ -6021,17 +6075,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6021
6075
|
codec: {
|
|
6022
6076
|
mode: "strict",
|
|
6023
6077
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamJoinWorkspaceRequest",
|
|
6024
|
-
|
|
6078
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema
|
|
6025
6079
|
}
|
|
6026
6080
|
}],
|
|
6027
6081
|
result: {
|
|
6028
6082
|
mode: "strict",
|
|
6029
6083
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamJoinWorkspaceResult",
|
|
6030
|
-
|
|
6084
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema
|
|
6031
6085
|
},
|
|
6032
6086
|
sourceLocation: {
|
|
6033
6087
|
"file": "packages/agent-team/src/index.ts",
|
|
6034
|
-
"line":
|
|
6088
|
+
"line": 1129,
|
|
6035
6089
|
"column": 9
|
|
6036
6090
|
}
|
|
6037
6091
|
},
|
|
@@ -6048,17 +6102,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6048
6102
|
codec: {
|
|
6049
6103
|
mode: "strict",
|
|
6050
6104
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamLeaveWorkspaceRequest",
|
|
6051
|
-
|
|
6105
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema
|
|
6052
6106
|
}
|
|
6053
6107
|
}],
|
|
6054
6108
|
result: {
|
|
6055
6109
|
mode: "strict",
|
|
6056
6110
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamLeaveWorkspaceResult",
|
|
6057
|
-
|
|
6111
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema
|
|
6058
6112
|
},
|
|
6059
6113
|
sourceLocation: {
|
|
6060
6114
|
"file": "packages/agent-team/src/index.ts",
|
|
6061
|
-
"line":
|
|
6115
|
+
"line": 1138,
|
|
6062
6116
|
"column": 9
|
|
6063
6117
|
}
|
|
6064
6118
|
},
|
|
@@ -6076,17 +6130,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6076
6130
|
codec: {
|
|
6077
6131
|
mode: "strict",
|
|
6078
6132
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamMembersRequest",
|
|
6079
|
-
|
|
6133
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema
|
|
6080
6134
|
}
|
|
6081
6135
|
}],
|
|
6082
6136
|
result: {
|
|
6083
6137
|
mode: "strict",
|
|
6084
6138
|
typeSymbol: "@wowyuarm/dsh-agent-team#agentTeam/members:result",
|
|
6085
|
-
|
|
6139
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema
|
|
6086
6140
|
},
|
|
6087
6141
|
sourceLocation: {
|
|
6088
6142
|
"file": "packages/agent-team/src/index.ts",
|
|
6089
|
-
"line":
|
|
6143
|
+
"line": 621,
|
|
6090
6144
|
"column": 3
|
|
6091
6145
|
}
|
|
6092
6146
|
},
|
|
@@ -6103,17 +6157,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6103
6157
|
codec: {
|
|
6104
6158
|
mode: "strict",
|
|
6105
6159
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadRequest",
|
|
6106
|
-
|
|
6160
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema
|
|
6107
6161
|
}
|
|
6108
6162
|
}],
|
|
6109
6163
|
result: {
|
|
6110
6164
|
mode: "strict",
|
|
6111
6165
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadResult",
|
|
6112
|
-
|
|
6166
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema
|
|
6113
6167
|
},
|
|
6114
6168
|
sourceLocation: {
|
|
6115
6169
|
"file": "packages/agent-team/src/index.ts",
|
|
6116
|
-
"line":
|
|
6170
|
+
"line": 1099,
|
|
6117
6171
|
"column": 9
|
|
6118
6172
|
}
|
|
6119
6173
|
},
|
|
@@ -6130,17 +6184,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6130
6184
|
codec: {
|
|
6131
6185
|
mode: "strict",
|
|
6132
6186
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentRequest",
|
|
6133
|
-
|
|
6187
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema
|
|
6134
6188
|
}
|
|
6135
6189
|
}],
|
|
6136
6190
|
result: {
|
|
6137
6191
|
mode: "strict",
|
|
6138
6192
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentResult",
|
|
6139
|
-
|
|
6193
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema
|
|
6140
6194
|
},
|
|
6141
6195
|
sourceLocation: {
|
|
6142
6196
|
"file": "packages/agent-team/src/index.ts",
|
|
6143
|
-
"line":
|
|
6197
|
+
"line": 1190,
|
|
6144
6198
|
"column": 9
|
|
6145
6199
|
}
|
|
6146
6200
|
},
|
|
@@ -6157,17 +6211,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6157
6211
|
codec: {
|
|
6158
6212
|
mode: "strict",
|
|
6159
6213
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadRequest",
|
|
6160
|
-
|
|
6214
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema
|
|
6161
6215
|
}
|
|
6162
6216
|
}],
|
|
6163
6217
|
result: {
|
|
6164
6218
|
mode: "strict",
|
|
6165
6219
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadResult",
|
|
6166
|
-
|
|
6220
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema
|
|
6167
6221
|
},
|
|
6168
6222
|
sourceLocation: {
|
|
6169
6223
|
"file": "packages/agent-team/src/index.ts",
|
|
6170
|
-
"line":
|
|
6224
|
+
"line": 1233,
|
|
6171
6225
|
"column": 9
|
|
6172
6226
|
}
|
|
6173
6227
|
},
|
|
@@ -6184,17 +6238,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6184
6238
|
codec: {
|
|
6185
6239
|
mode: "strict",
|
|
6186
6240
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberRequest",
|
|
6187
|
-
|
|
6241
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema
|
|
6188
6242
|
}
|
|
6189
6243
|
}],
|
|
6190
6244
|
result: {
|
|
6191
6245
|
mode: "strict",
|
|
6192
6246
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberResult",
|
|
6193
|
-
|
|
6247
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema
|
|
6194
6248
|
},
|
|
6195
6249
|
sourceLocation: {
|
|
6196
6250
|
"file": "packages/agent-team/src/index.ts",
|
|
6197
|
-
"line":
|
|
6251
|
+
"line": 768,
|
|
6198
6252
|
"column": 9
|
|
6199
6253
|
}
|
|
6200
6254
|
},
|
|
@@ -6211,17 +6265,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6211
6265
|
codec: {
|
|
6212
6266
|
mode: "strict",
|
|
6213
6267
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberRequest",
|
|
6214
|
-
|
|
6268
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema
|
|
6215
6269
|
}
|
|
6216
6270
|
}],
|
|
6217
6271
|
result: {
|
|
6218
6272
|
mode: "strict",
|
|
6219
6273
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberResult",
|
|
6220
|
-
|
|
6274
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema
|
|
6221
6275
|
},
|
|
6222
6276
|
sourceLocation: {
|
|
6223
6277
|
"file": "packages/agent-team/src/index.ts",
|
|
6224
|
-
"line":
|
|
6278
|
+
"line": 1120,
|
|
6225
6279
|
"column": 9
|
|
6226
6280
|
}
|
|
6227
6281
|
},
|
|
@@ -6238,17 +6292,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6238
6292
|
codec: {
|
|
6239
6293
|
mode: "strict",
|
|
6240
6294
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamReplyRequest",
|
|
6241
|
-
|
|
6295
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema
|
|
6242
6296
|
}
|
|
6243
6297
|
}],
|
|
6244
6298
|
result: {
|
|
6245
6299
|
mode: "strict",
|
|
6246
6300
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamReplyResult",
|
|
6247
|
-
|
|
6301
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema
|
|
6248
6302
|
},
|
|
6249
6303
|
sourceLocation: {
|
|
6250
6304
|
"file": "packages/agent-team/src/index.ts",
|
|
6251
|
-
"line":
|
|
6305
|
+
"line": 1211,
|
|
6252
6306
|
"column": 9
|
|
6253
6307
|
}
|
|
6254
6308
|
},
|
|
@@ -6265,17 +6319,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6265
6319
|
codec: {
|
|
6266
6320
|
mode: "strict",
|
|
6267
6321
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsRequest",
|
|
6268
|
-
|
|
6322
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema
|
|
6269
6323
|
}
|
|
6270
6324
|
}],
|
|
6271
6325
|
result: {
|
|
6272
6326
|
mode: "strict",
|
|
6273
6327
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsResult",
|
|
6274
|
-
|
|
6328
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema
|
|
6275
6329
|
},
|
|
6276
6330
|
sourceLocation: {
|
|
6277
6331
|
"file": "packages/agent-team/src/index.ts",
|
|
6278
|
-
"line":
|
|
6332
|
+
"line": 608,
|
|
6279
6333
|
"column": 3
|
|
6280
6334
|
}
|
|
6281
6335
|
},
|
|
@@ -6292,17 +6346,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6292
6346
|
codec: {
|
|
6293
6347
|
mode: "strict",
|
|
6294
6348
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageRequest",
|
|
6295
|
-
|
|
6349
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema
|
|
6296
6350
|
}
|
|
6297
6351
|
}],
|
|
6298
6352
|
result: {
|
|
6299
6353
|
mode: "strict",
|
|
6300
6354
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageResult",
|
|
6301
|
-
|
|
6355
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema
|
|
6302
6356
|
},
|
|
6303
6357
|
sourceLocation: {
|
|
6304
6358
|
"file": "packages/agent-team/src/index.ts",
|
|
6305
|
-
"line":
|
|
6359
|
+
"line": 1147,
|
|
6306
6360
|
"column": 9
|
|
6307
6361
|
}
|
|
6308
6362
|
},
|
|
@@ -6319,17 +6373,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6319
6373
|
codec: {
|
|
6320
6374
|
mode: "strict",
|
|
6321
6375
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistoryRequest",
|
|
6322
|
-
|
|
6376
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema
|
|
6323
6377
|
}
|
|
6324
6378
|
}],
|
|
6325
6379
|
result: {
|
|
6326
6380
|
mode: "strict",
|
|
6327
6381
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistory",
|
|
6328
|
-
|
|
6382
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema
|
|
6329
6383
|
},
|
|
6330
6384
|
sourceLocation: {
|
|
6331
6385
|
"file": "packages/agent-team/src/index.ts",
|
|
6332
|
-
"line":
|
|
6386
|
+
"line": 1251,
|
|
6333
6387
|
"column": 3
|
|
6334
6388
|
}
|
|
6335
6389
|
},
|
|
@@ -6346,17 +6400,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6346
6400
|
codec: {
|
|
6347
6401
|
mode: "strict",
|
|
6348
6402
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservationsRequest",
|
|
6349
|
-
|
|
6403
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema
|
|
6350
6404
|
}
|
|
6351
6405
|
}],
|
|
6352
6406
|
result: {
|
|
6353
6407
|
mode: "strict",
|
|
6354
6408
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservations",
|
|
6355
|
-
|
|
6409
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema
|
|
6356
6410
|
},
|
|
6357
6411
|
sourceLocation: {
|
|
6358
6412
|
"file": "packages/agent-team/src/index.ts",
|
|
6359
|
-
"line":
|
|
6413
|
+
"line": 1244,
|
|
6360
6414
|
"column": 3
|
|
6361
6415
|
}
|
|
6362
6416
|
},
|
|
@@ -6373,17 +6427,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6373
6427
|
codec: {
|
|
6374
6428
|
mode: "strict",
|
|
6375
6429
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelRequest",
|
|
6376
|
-
|
|
6430
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema
|
|
6377
6431
|
}
|
|
6378
6432
|
}],
|
|
6379
6433
|
result: {
|
|
6380
6434
|
mode: "strict",
|
|
6381
6435
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelResult",
|
|
6382
|
-
|
|
6436
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema
|
|
6383
6437
|
},
|
|
6384
6438
|
sourceLocation: {
|
|
6385
6439
|
"file": "packages/agent-team/src/index.ts",
|
|
6386
|
-
"line":
|
|
6440
|
+
"line": 683,
|
|
6387
6441
|
"column": 9
|
|
6388
6442
|
}
|
|
6389
6443
|
},
|
|
@@ -6400,17 +6454,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6400
6454
|
codec: {
|
|
6401
6455
|
mode: "strict",
|
|
6402
6456
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamUpdateMemberRequest",
|
|
6403
|
-
|
|
6457
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema
|
|
6404
6458
|
}
|
|
6405
6459
|
}],
|
|
6406
6460
|
result: {
|
|
6407
6461
|
mode: "strict",
|
|
6408
6462
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult",
|
|
6409
|
-
|
|
6463
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema
|
|
6410
6464
|
},
|
|
6411
6465
|
sourceLocation: {
|
|
6412
6466
|
"file": "packages/agent-team/src/index.ts",
|
|
6413
|
-
"line":
|
|
6467
|
+
"line": 1017,
|
|
6414
6468
|
"column": 9
|
|
6415
6469
|
}
|
|
6416
6470
|
},
|
|
@@ -6427,17 +6481,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6427
6481
|
codec: {
|
|
6428
6482
|
mode: "strict",
|
|
6429
6483
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamViewRequest",
|
|
6430
|
-
|
|
6484
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema
|
|
6431
6485
|
}
|
|
6432
6486
|
}],
|
|
6433
6487
|
result: {
|
|
6434
6488
|
mode: "strict",
|
|
6435
6489
|
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamView",
|
|
6436
|
-
|
|
6490
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema
|
|
6437
6491
|
},
|
|
6438
6492
|
sourceLocation: {
|
|
6439
6493
|
"file": "packages/agent-team/src/index.ts",
|
|
6440
|
-
"line":
|
|
6494
|
+
"line": 1258,
|
|
6441
6495
|
"column": 3
|
|
6442
6496
|
}
|
|
6443
6497
|
}
|
|
@@ -6906,7 +6960,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6906
6960
|
"aria-label": label,
|
|
6907
6961
|
"data-team-action": inTeam ? "leave" : "enter",
|
|
6908
6962
|
onClick: inTeam ? leaveTeam : enterTeam,
|
|
6909
|
-
children: [inTeam ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
6963
|
+
children: [inTeam ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronLeftOutlineRegular, { size: wide ? 16 : 18 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconAgentPresetOutlineRegular, { size: wide ? 16 : 18 }), wide && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: label })]
|
|
6910
6964
|
})
|
|
6911
6965
|
})
|
|
6912
6966
|
}) });
|
|
@@ -7377,7 +7431,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7377
7431
|
}
|
|
7378
7432
|
//#endregion
|
|
7379
7433
|
//#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/sidebar.module.css.mjs
|
|
7380
|
-
const css$10 = "html[data-agent-team-mode=team] button[class*=newSession]{display:none}.d0xfxa_workspaceBrowser{flex-direction:column;height:100%;min-height:0;padding:0 8px 8px;display:flex}.d0xfxa_railButton{color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.d0xfxa_railButton:hover,.d0xfxa_railButton:focus-visible{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.d0xfxa_railButton:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.d0xfxa_workspaceList{flex-direction:column;gap:2px;padding-bottom:2px;display:flex}.d0xfxa_workspaceRow{color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;width:100%;height:34px;padding:0 8px;display:flex}.d0xfxa_workspaceRow:hover,.d0xfxa_workspaceRow:focus-visible,.d0xfxa_workspaceRow[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover)}.d0xfxa_workspaceRow:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.d0xfxa_workspaceIcon{color:var(--dsw-alias-label-tertiary);flex:0 0 16px;justify-content:center;align-items:center;height:20px;display:inline-flex}.d0xfxa_workspaceRow[data-selected] .d0xfxa_workspaceIcon{color:var(--dsw-alias-state-business-primary)}.d0xfxa_workspaceCopy{min-width:0;display:flex}.d0xfxa_workspaceCopy strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:400;line-height:20px;overflow:hidden}.d0xfxa_emptyState{color:var(--dsw-alias-label-tertiary);margin:8px;font-size:12px;line-height:18px}.d0xfxa_inboxCard{color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;flex:none;align-items:center;gap:6px;width:100%;height:34px;margin:4px 0 2px;padding:0 8px;display:flex}.d0xfxa_inboxCard:hover,.d0xfxa_inboxCard:focus-visible,.d0xfxa_inboxCard[aria-current=page]{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover)}.d0xfxa_inboxCard:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.d0xfxa_inboxCard .d0xfxa_inboxMark{color:var(--dsw-alias-label-tertiary)}.d0xfxa_inboxCardLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;line-height:20px;overflow:hidden}.d0xfxa_inboxMark{flex:0 0 16px;display:inline-flex;position:relative}.d0xfxa_inboxDot{background:var(--dsw-alias-state-business-primary);box-shadow:0 0 0 2px var(--team-mark-ring,var(--dsw-alias-bg-base));corner-shape:round;border-radius:50%;width:8px;height:8px;position:absolute;top:-2px;left:-2px}.d0xfxa_railWorkspace{flex-direction:column;align-items:center;gap:8px;padding-top:8px;display:flex}.d0xfxa_railButton{corner-shape:round;border-radius:50%;width:36px;height:36px;position:relative}.d0xfxa_railButton[aria-current=page]{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.d0xfxa_workspaceSection{flex-direction:column;flex:1;gap:4px;min-height:0;margin-top:2px;display:flex;overflow-y:auto}.d0xfxa_section{flex-direction:column;display:flex}.d0xfxa_sectionHeader{align-items:center;min-height:26px;padding-right:2px;display:flex}.d0xfxa_sectionToggle{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:4px;align-items:center;gap:4px;min-width:0;min-height:24px;padding:0 6px;font-size:12px;line-height:18px;display:inline-flex}.d0xfxa_sectionToggle:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.d0xfxa_sectionToggle:hover .d0xfxa_sectionChevron,.d0xfxa_sectionToggle:focus-visible .d0xfxa_sectionChevron{color:var(--dsw-alias-label-primary)}.d0xfxa_sectionChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .12s,color .12s}.d0xfxa_sectionToggle[aria-expanded=false] .d0xfxa_sectionChevron{transform:rotate(-90deg)}.d0xfxa_sectionTitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.d0xfxa_sectionActions{align-items:center;margin-left:auto;display:inline-flex}.d0xfxa_panel{flex-direction:column;display:flex}.d0xfxa_iconButton{corner-shape:round;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:inline-flex}.d0xfxa_iconButton:hover,.d0xfxa_iconButton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.d0xfxa_iconButton:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.d0xfxa_textButton{color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:2px 5px;font-size:11px;line-height:18px}.d0xfxa_textButton:hover,.d0xfxa_textButton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.d0xfxa_textButton:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.d0xfxa_textButton:disabled{cursor:not-allowed;opacity:.4}.d0xfxa_channelList,.d0xfxa_agentList{flex-direction:column;gap:1px;padding:0 4px 4px;display:flex}.d0xfxa_sidebarRowDragging{opacity:.5}.d0xfxa_sidebarRowDropBefore,.d0xfxa_sidebarRowDropAfter{position:relative}.d0xfxa_sidebarRowDropBefore:before,.d0xfxa_sidebarRowDropAfter:after{content:\"\";z-index:1;background:linear-gradient(55deg, transparent calc(50% - 1px), var(--dsw-alias-state-business-primary) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) 0 0 / 5px 7px no-repeat, linear-gradient(125deg, transparent calc(50% - 1px), var(--dsw-alias-state-business-primary) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) 0 5px / 5px 7px no-repeat, linear-gradient(var(--dsw-alias-state-business-primary) 0 0) 4px 5px / calc(100% - 4px) 2px no-repeat;pointer-events:none;height:12px;position:absolute;left:0;right:4px}.d0xfxa_sidebarRowDropBefore:before{top:-7px}.d0xfxa_sidebarRowDropAfter:after{bottom:-7px}.d0xfxa_channelRow{color:var(--dsw-alias-label-primary);border-radius:8px;align-items:center;min-height:30px;display:flex;position:relative}.d0xfxa_channelSelect{box-sizing:border-box;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;flex:1;align-items:center;min-width:0;min-height:30px;padding:3px 4px 3px 8px;display:flex}.d0xfxa_channelSelect:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.d0xfxa_channelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.d0xfxa_agentRow{color:var(--dsw-alias-label-primary);border-radius:8px;align-items:center;min-height:38px;display:flex;position:relative}.d0xfxa_agentSelect{box-sizing:border-box;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;flex:1;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:0 8px;min-width:0;min-height:38px;padding:3px 4px 3px 8px;display:grid}.d0xfxa_agentSelect:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.d0xfxa_agentSelect[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover);border-radius:8px}.d0xfxa_agentRow:hover .d0xfxa_agentSelect[aria-current=page],.d0xfxa_agentRow:focus-within .d0xfxa_agentSelect[aria-current=page],.d0xfxa_agentRow[data-menu-open] .d0xfxa_agentSelect[aria-current=page]{background:0 0}.d0xfxa_agentAvatar{background:hsl(var(--team-avatar-hue,212) 42% 46%);corner-shape:round;color:#fff;cursor:default;border-radius:50%;flex:0 0 24px;justify-content:center;align-items:center;width:24px;height:24px;font-size:11px;font-weight:600;display:inline-flex;position:relative}.d0xfxa_agentAvatarBadge{background:var(--dsw-specific-sidebar-fill);corner-shape:round;box-shadow:0 0 0 1px var(--dsw-specific-sidebar-fill);border-radius:50%;justify-content:center;align-items:center;width:12px;height:12px;padding:1px;line-height:0;display:inline-flex;position:absolute;bottom:-3px;right:-3px}.d0xfxa_agentCopy{flex-direction:column;justify-content:flex-start;min-width:0;display:flex}.d0xfxa_agentCopy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:17px;overflow:hidden}.d0xfxa_agentCopy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:13px;overflow:hidden}.d0xfxa_unavailableDot{background:var(--dsw-alias-label-tertiary);corner-shape:round;border-radius:50%;width:7px;height:7px;display:inline-block}.d0xfxa_rowMenu{flex:none;align-items:center;padding-right:4px;display:none}.d0xfxa_channelRow:hover .d0xfxa_rowMenu,.d0xfxa_channelRow:focus-within .d0xfxa_rowMenu,.d0xfxa_channelRow[data-menu-open] .d0xfxa_rowMenu,.d0xfxa_agentRow:hover .d0xfxa_rowMenu,.d0xfxa_agentRow:focus-within .d0xfxa_rowMenu,.d0xfxa_agentRow[data-menu-open] .d0xfxa_rowMenu{display:inline-flex}.d0xfxa_channelRow[data-menu-open],.d0xfxa_agentRow[data-menu-open],.d0xfxa_channelRow:hover,.d0xfxa_agentRow:hover,.d0xfxa_channelRow:focus-within,.d0xfxa_agentRow:focus-within,.d0xfxa_channelRow[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover)}.d0xfxa_rowMenuButton{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.d0xfxa_rowMenuButton:hover,.d0xfxa_rowMenuButton:focus-visible{color:var(--dsw-alias-label-primary)}.d0xfxa_rowMenuButton:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.d0xfxa_retryError{color:var(--dsw-alias-state-error-primary);justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:11px;display:flex}.d0xfxa_rowAlert{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;padding:2px 8px 6px;font-size:11px}.d0xfxa_error{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;margin:0;padding:4px 12px 6px;font-size:11px;line-height:16px}.d0xfxa_editDescription{color:var(--dsw-alias-label-secondary);margin:0 0 10px;font-size:12px;line-height:18px}.d0xfxa_editMemberList{gap:2px;display:grid}.d0xfxa_editChannelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.d0xfxa_editHint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:11px;line-height:16px}.d0xfxa_menuHint{color:var(--dsw-alias-label-tertiary);margin-left:4px;font-size:10px;line-height:14px}.d0xfxa_rowError{color:var(--dsw-alias-state-error-primary);grid-column:1/-1;margin:2px 0;font-size:11px;line-height:16px}";
|
|
7434
|
+
const css$10 = "html[data-agent-team-mode=team] button[class*=newSession]{display:none}.d0xfxa_workspaceBrowser{flex-direction:column;height:100%;min-height:0;padding:0 8px 8px;display:flex}.d0xfxa_railButton{color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.d0xfxa_railButton:hover,.d0xfxa_railButton:focus-visible{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.d0xfxa_railButton:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.d0xfxa_workspaceTrigger{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;border-radius:8px;align-items:center;gap:6px;width:100%;min-height:34px;margin:0 0 2px;padding:4px 8px;font-size:14px;line-height:22px;display:flex}.d0xfxa_workspaceTrigger:hover,.d0xfxa_workspaceTrigger[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover)}.d0xfxa_workspaceTrigger:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.d0xfxa_workspaceIcon{color:var(--dsw-alias-state-business-primary);flex:0 0 16px;justify-content:center;align-items:center;height:20px;display:inline-flex}.d0xfxa_workspaceValue{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.d0xfxa_workspaceChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .12s;display:inline-flex}.d0xfxa_workspaceChevronOpen{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.d0xfxa_workspaceChevron{transition:none}}.d0xfxa_emptyState{color:var(--dsw-alias-label-tertiary);margin:8px;font-size:12px;line-height:18px}.d0xfxa_inboxCard{color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;flex:none;align-items:center;gap:6px;width:100%;height:34px;margin:4px 0 2px;padding:0 8px;display:flex}.d0xfxa_inboxCard:hover,.d0xfxa_inboxCard:focus-visible,.d0xfxa_inboxCard[aria-current=page]{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover)}.d0xfxa_inboxCard:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.d0xfxa_inboxCard .d0xfxa_inboxMark{color:var(--dsw-alias-label-tertiary)}.d0xfxa_inboxCardLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;line-height:20px;overflow:hidden}.d0xfxa_inboxMark{flex:0 0 16px;display:inline-flex;position:relative}.d0xfxa_inboxDot{background:var(--dsw-alias-state-business-primary);box-shadow:0 0 0 2px var(--team-mark-ring,var(--dsw-alias-bg-base));corner-shape:round;border-radius:50%;width:8px;height:8px;position:absolute;top:-2px;left:-2px}.d0xfxa_railWorkspace{flex-direction:column;align-items:center;gap:8px;padding-top:8px;display:flex}.d0xfxa_railButton{corner-shape:round;border-radius:50%;width:36px;height:36px;position:relative}.d0xfxa_railButton[aria-current=page]{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.d0xfxa_workspaceSection{flex-direction:column;flex:1;gap:4px;min-height:0;margin-top:2px;display:flex;overflow-y:auto}.d0xfxa_section{flex-direction:column;display:flex}.d0xfxa_sectionHeader{align-items:center;min-height:26px;padding-right:2px;display:flex}.d0xfxa_sectionToggle{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:4px;align-items:center;gap:4px;min-width:0;min-height:24px;padding:0 6px;font-size:12px;line-height:18px;display:inline-flex}.d0xfxa_sectionToggle:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.d0xfxa_sectionToggle:hover .d0xfxa_sectionChevron,.d0xfxa_sectionToggle:focus-visible .d0xfxa_sectionChevron{color:var(--dsw-alias-label-primary)}.d0xfxa_sectionChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .12s,color .12s}.d0xfxa_sectionToggle[aria-expanded=false] .d0xfxa_sectionChevron{transform:rotate(-90deg)}.d0xfxa_sectionTitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.d0xfxa_sectionActions{align-items:center;margin-left:auto;display:inline-flex}.d0xfxa_panel{flex-direction:column;display:flex}.d0xfxa_iconButton{corner-shape:round;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:inline-flex}.d0xfxa_iconButton:hover,.d0xfxa_iconButton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.d0xfxa_iconButton:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.d0xfxa_textButton{color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:2px 5px;font-size:11px;line-height:18px}.d0xfxa_textButton:hover,.d0xfxa_textButton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.d0xfxa_textButton:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.d0xfxa_textButton:disabled{cursor:not-allowed;opacity:.4}.d0xfxa_channelList,.d0xfxa_agentList{flex-direction:column;gap:1px;padding:0 4px 4px;display:flex}.d0xfxa_sidebarRowDragging{opacity:.5}.d0xfxa_sidebarRowDropBefore,.d0xfxa_sidebarRowDropAfter{position:relative}.d0xfxa_sidebarRowDropBefore:before,.d0xfxa_sidebarRowDropAfter:after{content:\"\";z-index:1;background:linear-gradient(55deg, transparent calc(50% - 1px), var(--dsw-alias-state-business-primary) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) 0 0 / 5px 7px no-repeat, linear-gradient(125deg, transparent calc(50% - 1px), var(--dsw-alias-state-business-primary) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) 0 5px / 5px 7px no-repeat, linear-gradient(var(--dsw-alias-state-business-primary) 0 0) 4px 5px / calc(100% - 4px) 2px no-repeat;pointer-events:none;height:12px;position:absolute;left:0;right:4px}.d0xfxa_sidebarRowDropBefore:before{top:-7px}.d0xfxa_sidebarRowDropAfter:after{bottom:-7px}.d0xfxa_channelRow{color:var(--dsw-alias-label-primary);border-radius:8px;align-items:center;min-height:30px;display:flex;position:relative}.d0xfxa_channelSelect{box-sizing:border-box;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;flex:1;align-items:center;min-width:0;min-height:30px;padding:3px 4px 3px 8px;display:flex}.d0xfxa_channelSelect:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.d0xfxa_channelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.d0xfxa_agentRow{color:var(--dsw-alias-label-primary);border-radius:8px;align-items:center;min-height:38px;display:flex;position:relative}.d0xfxa_agentSelect{box-sizing:border-box;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;flex:1;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:0 8px;min-width:0;min-height:38px;padding:3px 4px 3px 8px;display:grid}.d0xfxa_agentSelect:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.d0xfxa_agentSelect[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover);border-radius:8px}.d0xfxa_agentRow:hover .d0xfxa_agentSelect[aria-current=page],.d0xfxa_agentRow:focus-within .d0xfxa_agentSelect[aria-current=page],.d0xfxa_agentRow[data-menu-open] .d0xfxa_agentSelect[aria-current=page]{background:0 0}.d0xfxa_agentAvatar{background:hsl(var(--team-avatar-hue,212) 42% 46%);corner-shape:round;color:#fff;cursor:default;border-radius:50%;flex:0 0 24px;justify-content:center;align-items:center;width:24px;height:24px;font-size:11px;font-weight:600;display:inline-flex;position:relative}.d0xfxa_agentAvatarBadge{background:var(--dsw-specific-sidebar-fill);corner-shape:round;box-shadow:0 0 0 1px var(--dsw-specific-sidebar-fill);border-radius:50%;justify-content:center;align-items:center;width:12px;height:12px;padding:1px;line-height:0;display:inline-flex;position:absolute;bottom:-3px;right:-3px}.d0xfxa_agentCopy{flex-direction:column;justify-content:flex-start;min-width:0;display:flex}.d0xfxa_agentCopy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:17px;overflow:hidden}.d0xfxa_agentCopy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:13px;overflow:hidden}.d0xfxa_unavailableDot{background:var(--dsw-alias-label-tertiary);corner-shape:round;border-radius:50%;width:7px;height:7px;display:inline-block}.d0xfxa_rowMenu{flex:none;align-items:center;padding-right:4px;display:none}.d0xfxa_channelRow:hover .d0xfxa_rowMenu,.d0xfxa_channelRow:focus-within .d0xfxa_rowMenu,.d0xfxa_channelRow[data-menu-open] .d0xfxa_rowMenu,.d0xfxa_agentRow:hover .d0xfxa_rowMenu,.d0xfxa_agentRow:focus-within .d0xfxa_rowMenu,.d0xfxa_agentRow[data-menu-open] .d0xfxa_rowMenu{display:inline-flex}.d0xfxa_channelRow[data-menu-open],.d0xfxa_agentRow[data-menu-open],.d0xfxa_channelRow:hover,.d0xfxa_agentRow:hover,.d0xfxa_channelRow:focus-within,.d0xfxa_agentRow:focus-within,.d0xfxa_channelRow[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover)}.d0xfxa_rowMenuButton{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.d0xfxa_rowMenuButton:hover,.d0xfxa_rowMenuButton:focus-visible{color:var(--dsw-alias-label-primary)}.d0xfxa_rowMenuButton:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.d0xfxa_retryError{color:var(--dsw-alias-state-error-primary);justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:11px;display:flex}.d0xfxa_rowAlert{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;padding:2px 8px 6px;font-size:11px}.d0xfxa_error{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;margin:0;padding:4px 12px 6px;font-size:11px;line-height:16px}.d0xfxa_editDescription{color:var(--dsw-alias-label-secondary);margin:0 0 10px;font-size:12px;line-height:18px}.d0xfxa_editMemberList{gap:2px;display:grid}.d0xfxa_editChannelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.d0xfxa_editHint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:11px;line-height:16px}.d0xfxa_menuHint{color:var(--dsw-alias-label-tertiary);margin-left:4px;font-size:10px;line-height:14px}.d0xfxa_rowError{color:var(--dsw-alias-state-error-primary);grid-column:1/-1;margin:2px 0;font-size:11px;line-height:16px}";
|
|
7381
7435
|
const tagId$10 = "@wowyuarm/dsh-agent-team/sidebar.module.css";
|
|
7382
7436
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$10) + "]") === null) {
|
|
7383
7437
|
const tag = document.createElement("style");
|
|
@@ -7429,11 +7483,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7429
7483
|
"textButton": "d0xfxa_textButton",
|
|
7430
7484
|
"unavailableDot": "d0xfxa_unavailableDot",
|
|
7431
7485
|
"workspaceBrowser": "d0xfxa_workspaceBrowser",
|
|
7432
|
-
"
|
|
7486
|
+
"workspaceChevron": "d0xfxa_workspaceChevron",
|
|
7487
|
+
"workspaceChevronOpen": "d0xfxa_workspaceChevronOpen",
|
|
7433
7488
|
"workspaceIcon": "d0xfxa_workspaceIcon",
|
|
7434
|
-
"
|
|
7435
|
-
"
|
|
7436
|
-
"
|
|
7489
|
+
"workspaceSection": "d0xfxa_workspaceSection",
|
|
7490
|
+
"workspaceTrigger": "d0xfxa_workspaceTrigger",
|
|
7491
|
+
"workspaceValue": "d0xfxa_workspaceValue"
|
|
7437
7492
|
};
|
|
7438
7493
|
//#endregion
|
|
7439
7494
|
//#region src/client/TeamMemberAvatar.tsx
|
|
@@ -7592,7 +7647,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7592
7647
|
"aria-label": t("members"),
|
|
7593
7648
|
"aria-haspopup": "dialog",
|
|
7594
7649
|
onClick: openMembers,
|
|
7595
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
7650
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconUserOutlineRegular, { size: wide ? 16 : 18 }), wide && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("members") })]
|
|
7596
7651
|
})
|
|
7597
7652
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
7598
7653
|
open: panelOpen,
|
|
@@ -8102,7 +8157,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8102
8157
|
onClick: () => {
|
|
8103
8158
|
fileInputRef.current?.click();
|
|
8104
8159
|
},
|
|
8105
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
8160
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconPaperclipOutlineRegular, { size: 14 })
|
|
8106
8161
|
})
|
|
8107
8162
|
})] }),
|
|
8108
8163
|
onAsTaskChange !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
@@ -8115,7 +8170,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8115
8170
|
onClick: () => {
|
|
8116
8171
|
onAsTaskChange(asTask !== true);
|
|
8117
8172
|
},
|
|
8118
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
8173
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChecklistOutlineRegular, { size: 14 }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
8119
8174
|
className: composer_module_css_default.asTaskLabel,
|
|
8120
8175
|
children: t("asTask")
|
|
8121
8176
|
})]
|
|
@@ -8129,7 +8184,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8129
8184
|
event.preventDefault();
|
|
8130
8185
|
inputRef.current?.focus({ preventScroll: true });
|
|
8131
8186
|
},
|
|
8132
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
8187
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSendOutlineRegular, { size: 16 })
|
|
8133
8188
|
})
|
|
8134
8189
|
]
|
|
8135
8190
|
})
|
|
@@ -9267,7 +9322,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9267
9322
|
className: conversation_module_css_default.backRow,
|
|
9268
9323
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
9269
9324
|
size: "sm",
|
|
9270
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
9325
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronLeftOutlineRegular, {}),
|
|
9271
9326
|
onClick: backToChannels,
|
|
9272
9327
|
children: t("backToChannels")
|
|
9273
9328
|
})
|
|
@@ -9514,14 +9569,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9514
9569
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: text }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
9515
9570
|
className: conversation_module_css_default.entryArrow,
|
|
9516
9571
|
"aria-hidden": "true",
|
|
9517
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
9572
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronRightOutlineRegular, { size: 12 })
|
|
9518
9573
|
})]
|
|
9519
9574
|
})]
|
|
9520
9575
|
});
|
|
9521
9576
|
}
|
|
9522
9577
|
//#endregion
|
|
9523
9578
|
//#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/inbox.module.css.mjs
|
|
9524
|
-
const css$1 = ".s2ibaa_list{flex-direction:column;gap:2px;display:flex}.s2ibaa_headerMeta{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:0 10px;display:flex;overflow:hidden}.s2ibaa_headerUnread{color:var(--dsw-alias-label-primary);font-weight:600}.s2ibaa_row{color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:max-content minmax(0,1fr);align-items:baseline;gap:1px 8px;width:100%;padding:8px;display:grid}.s2ibaa_row:hover,.s2ibaa_row:focus-visible{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover)}.s2ibaa_row:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.s2ibaa_rowActor{grid-area:1/1;display:flex}.s2ibaa_rowLine{grid-area:1/2;align-items:baseline;gap:2px 8px;min-width:0;display:flex}.s2ibaa_rowCrumb{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:13px;line-height:20px;overflow:hidden}.s2ibaa_rowWorkspace{color:var(--dsw-alias-label-tertiary);font-size:12px}.s2ibaa_rowChannel{color:var(--dsw-alias-label-primary);font-weight:600}.s2ibaa_rowTask{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);white-space:nowrap;border-radius:6px;flex:none;margin-left:3px;padding:0 5px;font-size:11px;font-weight:600;line-height:15px}.s2ibaa_rowTime{color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:11px;line-height:18px}.s2ibaa_rowPreview{color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;grid-area:2/2;min-width:0;font-size:13px;line-height:20px;overflow:hidden}.s2ibaa_section{flex-direction:column;display:flex}.s2ibaa_section+.s2ibaa_section{margin-top:20px}.s2ibaa_sectionTitle{color:var(--dsw-alias-label-tertiary);margin:0 0 4px;padding:0 8px 0 34px;font-size:12px;font-weight:600;line-height:18px}.s2ibaa_sectionCount{font-variant-numeric:tabular-nums;margin-left:6px}";
|
|
9579
|
+
const css$1 = ".s2ibaa_list{flex-direction:column;gap:2px;display:flex}.s2ibaa_headerMeta{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:0 10px;display:flex;overflow:hidden}.s2ibaa_headerUnread{color:var(--dsw-alias-label-primary);font-weight:600}.s2ibaa_row{color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:max-content minmax(0,1fr);align-items:baseline;gap:1px 8px;width:100%;padding:8px;display:grid}.s2ibaa_row:hover,.s2ibaa_row:focus-visible{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover)}.s2ibaa_row:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.s2ibaa_rowActor{grid-area:1/1;display:flex}.s2ibaa_rowLine{grid-area:1/2;align-items:baseline;gap:2px 8px;min-width:0;display:flex;container-type:inline-size}.s2ibaa_rowCrumb{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:13px;line-height:20px;overflow:hidden}.s2ibaa_rowWorkspace{color:var(--dsw-alias-label-tertiary);font-size:12px}.s2ibaa_rowChannel{color:var(--dsw-alias-label-primary);font-weight:600}.s2ibaa_rowTask{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);white-space:nowrap;border-radius:6px;flex:none;margin-left:3px;padding:0 5px;font-size:11px;font-weight:600;line-height:15px}.s2ibaa_rowTime{color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:11px;line-height:18px}@container (width<=70px){.s2ibaa_rowTime{display:none}}.s2ibaa_rowPreview{color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;grid-area:2/2;min-width:0;font-size:13px;line-height:20px;overflow:hidden}.s2ibaa_section{flex-direction:column;display:flex}.s2ibaa_section+.s2ibaa_section{margin-top:20px}.s2ibaa_sectionTitle{color:var(--dsw-alias-label-tertiary);margin:0 0 4px;padding:0 8px 0 34px;font-size:12px;font-weight:600;line-height:18px}.s2ibaa_sectionCount{font-variant-numeric:tabular-nums;margin-left:6px}";
|
|
9525
9580
|
const tagId$1 = "@wowyuarm/dsh-agent-team/inbox.module.css";
|
|
9526
9581
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
9527
9582
|
const tag = document.createElement("style");
|
|
@@ -10551,7 +10606,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10551
10606
|
className: conversation_module_css_default.backRow,
|
|
10552
10607
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
10553
10608
|
size: "sm",
|
|
10554
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
10609
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronLeftOutlineRegular, {}),
|
|
10555
10610
|
onClick: backToWorkspace,
|
|
10556
10611
|
children: backLabel
|
|
10557
10612
|
})
|
|
@@ -10686,7 +10741,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10686
10741
|
onToggle: () => {
|
|
10687
10742
|
setClaimsOpen((current) => !current);
|
|
10688
10743
|
},
|
|
10689
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
10744
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChecklistOutlineRegular, { size: 14 }),
|
|
10690
10745
|
title: `${t("claims")} · ${taskClaims.length}`,
|
|
10691
10746
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10692
10747
|
className: thread_module_css_default.claimList,
|
|
@@ -10921,138 +10976,91 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10921
10976
|
});
|
|
10922
10977
|
}
|
|
10923
10978
|
//#endregion
|
|
10924
|
-
//#region src/client/
|
|
10925
|
-
function TeamWorkspaceRow({ workspaceId, title, path, selected, current, onSelect }) {
|
|
10926
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
10927
|
-
type: "button",
|
|
10928
|
-
className: sidebar_module_css_default.workspaceRow,
|
|
10929
|
-
"data-selected": selected || void 0,
|
|
10930
|
-
"aria-current": current ? "page" : void 0,
|
|
10931
|
-
onClick: () => {
|
|
10932
|
-
onSelect(workspaceId);
|
|
10933
|
-
},
|
|
10934
|
-
title: `${title} · ${path}`,
|
|
10935
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10936
|
-
className: sidebar_module_css_default.workspaceIcon,
|
|
10937
|
-
"aria-hidden": "true",
|
|
10938
|
-
children: selected ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconFolderOpen16, { size: 16 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconFolderClose16, { size: 16 })
|
|
10939
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10940
|
-
className: sidebar_module_css_default.workspaceCopy,
|
|
10941
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: title })
|
|
10942
|
-
})]
|
|
10943
|
-
});
|
|
10944
|
-
}
|
|
10945
|
-
//#endregion
|
|
10946
|
-
//#region src/client/TeamSidebarSection.tsx
|
|
10947
|
-
/** Collapsible sidebar section header: disclosure toggle plus trailing actions. */
|
|
10948
|
-
function TeamSidebarSection({ title, actions, open, onToggle, children }) {
|
|
10949
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
10950
|
-
className: sidebar_module_css_default.section,
|
|
10951
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10952
|
-
className: sidebar_module_css_default.sectionHeader,
|
|
10953
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
10954
|
-
type: "button",
|
|
10955
|
-
className: sidebar_module_css_default.sectionToggle,
|
|
10956
|
-
"aria-expanded": open,
|
|
10957
|
-
onClick: () => {
|
|
10958
|
-
onToggle(!open);
|
|
10959
|
-
},
|
|
10960
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { className: sidebar_module_css_default.sectionChevron }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10961
|
-
className: sidebar_module_css_default.sectionTitle,
|
|
10962
|
-
children: title
|
|
10963
|
-
})]
|
|
10964
|
-
}), actions !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10965
|
-
className: sidebar_module_css_default.sectionActions,
|
|
10966
|
-
children: actions
|
|
10967
|
-
})]
|
|
10968
|
-
}), open && children]
|
|
10969
|
-
});
|
|
10970
|
-
}
|
|
10971
|
-
//#endregion
|
|
10972
|
-
//#region src/client/sidebar-sections.ts
|
|
10973
|
-
/**
|
|
10974
|
-
* Human presentation preference for the Team sidebar: whether each disclosure
|
|
10975
|
-
* section (workspaces / channels / agents) is expanded. The state lives in
|
|
10976
|
-
* this browser only — it is UI taste, never a shared Team fact, so nothing
|
|
10977
|
-
* here touches the ledger. Same storage discipline as `sidebar-order.ts`: one
|
|
10978
|
-
* localStorage key, defensive parsing, a read-through cache over the raw
|
|
10979
|
-
* payload so writes from other tabs are picked up, and an in-memory fallback
|
|
10980
|
-
* when storage is unavailable.
|
|
10981
|
-
*/
|
|
10982
|
-
const STORAGE_KEY$1 = "dsh.agent-team.sidebar-sections";
|
|
10983
|
-
function sectionKey(workspaceId, kind) {
|
|
10984
|
-
return workspaceId === void 0 ? kind === "workspaces" ? kind : void 0 : `${workspaceId}|${kind}`;
|
|
10985
|
-
}
|
|
10986
|
-
const MEMORY_ONLY$1 = Symbol("sidebar-sections.memory");
|
|
10987
|
-
/** Read-through parse cache over the raw persisted payload; see `sidebar-order.ts`. */
|
|
10988
|
-
let cachedRaw$1;
|
|
10989
|
-
let cachedCollapsed = /* @__PURE__ */ new Set();
|
|
10990
|
-
function storedCollapsed() {
|
|
10991
|
-
let raw = null;
|
|
10992
|
-
try {
|
|
10993
|
-
raw = typeof localStorage === "undefined" ? null : localStorage.getItem(STORAGE_KEY$1);
|
|
10994
|
-
} catch {
|
|
10995
|
-
raw = null;
|
|
10996
|
-
}
|
|
10997
|
-
if (cachedRaw$1 !== void 0 && raw !== null && raw === cachedRaw$1) return cachedCollapsed;
|
|
10998
|
-
if (raw === null) {
|
|
10999
|
-
if (cachedRaw$1 === MEMORY_ONLY$1) return cachedCollapsed;
|
|
11000
|
-
cachedRaw$1 = raw;
|
|
11001
|
-
cachedCollapsed = /* @__PURE__ */ new Set();
|
|
11002
|
-
return cachedCollapsed;
|
|
11003
|
-
}
|
|
11004
|
-
try {
|
|
11005
|
-
const parsed = JSON.parse(raw);
|
|
11006
|
-
if (parsed === null || typeof parsed !== "object" || Array.isArray(parsed)) throw new Error("not an object");
|
|
11007
|
-
const keys = parsed.collapsed;
|
|
11008
|
-
if (!Array.isArray(keys) || !keys.every((key) => typeof key === "string")) throw new Error("bad shape");
|
|
11009
|
-
cachedRaw$1 = raw;
|
|
11010
|
-
cachedCollapsed = new Set(keys);
|
|
11011
|
-
return cachedCollapsed;
|
|
11012
|
-
} catch {
|
|
11013
|
-
return /* @__PURE__ */ new Set();
|
|
11014
|
-
}
|
|
11015
|
-
}
|
|
11016
|
-
function writeCollapsed(collapsed) {
|
|
11017
|
-
cachedCollapsed = collapsed;
|
|
11018
|
-
try {
|
|
11019
|
-
if (typeof localStorage === "undefined") throw new Error("no localStorage");
|
|
11020
|
-
const raw = JSON.stringify({ collapsed: [...collapsed] });
|
|
11021
|
-
localStorage.setItem(STORAGE_KEY$1, raw);
|
|
11022
|
-
cachedRaw$1 = raw;
|
|
11023
|
-
return;
|
|
11024
|
-
} catch {
|
|
11025
|
-
cachedRaw$1 = MEMORY_ONLY$1;
|
|
11026
|
-
}
|
|
11027
|
-
}
|
|
11028
|
-
const listeners$1 = /* @__PURE__ */ new Set();
|
|
10979
|
+
//#region src/client/TeamWorkspaceSelector.tsx
|
|
11029
10980
|
/**
|
|
11030
|
-
*
|
|
11031
|
-
*
|
|
11032
|
-
*
|
|
10981
|
+
* The single-line Workspace selector that scopes the Team sidebar.
|
|
10982
|
+
*
|
|
10983
|
+
* The sections below it — Channels and Agents — belong to exactly one
|
|
10984
|
+
* Workspace, so a flat list of every Workspace above them states a global
|
|
10985
|
+
* scope over local content. Collapsing that list into one selector makes the
|
|
10986
|
+
* sidebar read as "you are in X, and here is X's content", and returns the
|
|
10987
|
+
* rows a low-frequency switch was holding. Nothing is hidden by the collapse:
|
|
10988
|
+
* Workspace rows carry no unread mark of their own, and cross-Workspace unread
|
|
10989
|
+
* is summarized by the Inbox entry above — the one destination that outlives
|
|
10990
|
+
* this scope, which is why it stays outside the selector's reach.
|
|
10991
|
+
*
|
|
10992
|
+
* The trigger is a field rather than a row: the line that states where the
|
|
10993
|
+
* reader is must not read as the first entry of the Channels list below it,
|
|
10994
|
+
* and its accessible name states the Workspace it is showing, because that
|
|
10995
|
+
* value is otherwise unavailable to a reader who cannot see the field. The
|
|
10996
|
+
* menu is the only way to switch Workspaces, so it takes focus on open and
|
|
10997
|
+
* hands it back to the trigger on Escape.
|
|
11033
10998
|
*/
|
|
11034
|
-
function
|
|
11035
|
-
const
|
|
11036
|
-
|
|
11037
|
-
|
|
10999
|
+
function TeamWorkspaceSelector({ workspaces, selectedId, current, onSelect, t }) {
|
|
11000
|
+
const [open, setOpen] = (0, react.useState)(false);
|
|
11001
|
+
(0, react.useEffect)(() => {
|
|
11002
|
+
if (!open) return;
|
|
11003
|
+
const frame = requestAnimationFrame(() => {
|
|
11004
|
+
const lists = document.querySelectorAll("body > [role=\"menu\"]");
|
|
11005
|
+
const list = lists[lists.length - 1];
|
|
11006
|
+
if (list === void 0 || list.contains(document.activeElement)) return;
|
|
11007
|
+
list.querySelector("button:not(:disabled)")?.focus();
|
|
11008
|
+
});
|
|
11038
11009
|
return () => {
|
|
11039
|
-
|
|
11010
|
+
cancelAnimationFrame(frame);
|
|
11040
11011
|
};
|
|
11041
|
-
}, [])
|
|
11042
|
-
|
|
11043
|
-
|
|
11044
|
-
|
|
11045
|
-
|
|
11046
|
-
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11012
|
+
}, [open]);
|
|
11013
|
+
const selected = workspaces.find((workspace) => workspace.workspaceId === selectedId);
|
|
11014
|
+
if (selected === void 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
11015
|
+
className: sidebar_module_css_default.emptyState,
|
|
11016
|
+
children: t("empty")
|
|
11017
|
+
});
|
|
11018
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Menu, {
|
|
11019
|
+
open,
|
|
11020
|
+
portal: true,
|
|
11021
|
+
autoFocus: true,
|
|
11022
|
+
items: workspaces.map((workspace) => ({
|
|
11023
|
+
id: workspace.workspaceId,
|
|
11024
|
+
label: workspace.title
|
|
11025
|
+
})),
|
|
11026
|
+
selectedIds: [selected.workspaceId],
|
|
11027
|
+
onSelect: (id) => {
|
|
11028
|
+
setOpen(false);
|
|
11029
|
+
onSelect(id);
|
|
11030
|
+
},
|
|
11031
|
+
onClose: () => {
|
|
11032
|
+
setOpen(false);
|
|
11033
|
+
},
|
|
11034
|
+
anchor: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
11035
|
+
type: "button",
|
|
11036
|
+
className: sidebar_module_css_default.workspaceTrigger,
|
|
11037
|
+
"data-team-workspace-trigger": true,
|
|
11038
|
+
"aria-label": t("workspaceSelectorWithValue", { title: selected.title }),
|
|
11039
|
+
"aria-haspopup": "menu",
|
|
11040
|
+
"aria-expanded": open,
|
|
11041
|
+
"aria-current": current ? "page" : void 0,
|
|
11042
|
+
title: `${selected.title} · ${selected.path}`,
|
|
11043
|
+
onClick: () => {
|
|
11044
|
+
setOpen((value) => !value);
|
|
11045
|
+
},
|
|
11046
|
+
children: [
|
|
11047
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
11048
|
+
className: sidebar_module_css_default.workspaceIcon,
|
|
11049
|
+
"aria-hidden": "true",
|
|
11050
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconFolderOpenRegular, { size: 16 })
|
|
11051
|
+
}),
|
|
11052
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
11053
|
+
className: sidebar_module_css_default.workspaceValue,
|
|
11054
|
+
children: selected.title
|
|
11055
|
+
}),
|
|
11056
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
11057
|
+
className: `${sidebar_module_css_default.workspaceChevron} ${open ? sidebar_module_css_default.workspaceChevronOpen : ""}`,
|
|
11058
|
+
"aria-hidden": "true",
|
|
11059
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {})
|
|
11060
|
+
})
|
|
11061
|
+
]
|
|
11062
|
+
})
|
|
11063
|
+
});
|
|
11056
11064
|
}
|
|
11057
11065
|
//#endregion
|
|
11058
11066
|
//#region src/client/sidebar-drag.tsx
|
|
@@ -11137,18 +11145,18 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11137
11145
|
* behind whole-row drag, and a small subscription hook with snapshot-stable
|
|
11138
11146
|
* results for `useSyncExternalStore`.
|
|
11139
11147
|
*/
|
|
11140
|
-
const STORAGE_KEY = "dsh.agent-team.sidebar-order";
|
|
11148
|
+
const STORAGE_KEY$1 = "dsh.agent-team.sidebar-order";
|
|
11141
11149
|
function listKey(workspaceId, kind) {
|
|
11142
11150
|
return workspaceId === void 0 ? void 0 : `${workspaceId}|${kind}`;
|
|
11143
11151
|
}
|
|
11144
|
-
const MEMORY_ONLY = Symbol("sidebar-order.memory");
|
|
11152
|
+
const MEMORY_ONLY$1 = Symbol("sidebar-order.memory");
|
|
11145
11153
|
/**
|
|
11146
11154
|
* Read-through parse cache over the raw persisted payload: repeated snapshots
|
|
11147
11155
|
* skip re-validating an unchanged payload, while anything written outside this
|
|
11148
11156
|
* module — another tab, devtools, a cleared store — is picked up because the
|
|
11149
11157
|
* raw comparison misses.
|
|
11150
11158
|
*/
|
|
11151
|
-
let cachedRaw;
|
|
11159
|
+
let cachedRaw$1;
|
|
11152
11160
|
let cachedOrders = {};
|
|
11153
11161
|
/**
|
|
11154
11162
|
* Parse persisted orders defensively: private mode, quota errors, and stale
|
|
@@ -11158,14 +11166,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11158
11166
|
function storedOrders() {
|
|
11159
11167
|
let raw = null;
|
|
11160
11168
|
try {
|
|
11161
|
-
raw = typeof localStorage === "undefined" ? null : localStorage.getItem(STORAGE_KEY);
|
|
11169
|
+
raw = typeof localStorage === "undefined" ? null : localStorage.getItem(STORAGE_KEY$1);
|
|
11162
11170
|
} catch {
|
|
11163
11171
|
raw = null;
|
|
11164
11172
|
}
|
|
11165
|
-
if (cachedRaw !== void 0 && raw !== null && raw === cachedRaw) return cachedOrders;
|
|
11173
|
+
if (cachedRaw$1 !== void 0 && raw !== null && raw === cachedRaw$1) return cachedOrders;
|
|
11166
11174
|
if (raw === null) {
|
|
11167
|
-
if (cachedRaw === MEMORY_ONLY) return cachedOrders;
|
|
11168
|
-
cachedRaw = raw;
|
|
11175
|
+
if (cachedRaw$1 === MEMORY_ONLY$1) return cachedOrders;
|
|
11176
|
+
cachedRaw$1 = raw;
|
|
11169
11177
|
cachedOrders = {};
|
|
11170
11178
|
return cachedOrders;
|
|
11171
11179
|
}
|
|
@@ -11177,7 +11185,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11177
11185
|
if (!Array.isArray(value) || !value.every((entry) => typeof entry === "string")) continue;
|
|
11178
11186
|
clean[key] = value;
|
|
11179
11187
|
}
|
|
11180
|
-
cachedRaw = raw;
|
|
11188
|
+
cachedRaw$1 = raw;
|
|
11181
11189
|
cachedOrders = clean;
|
|
11182
11190
|
return cachedOrders;
|
|
11183
11191
|
} catch {
|
|
@@ -11193,12 +11201,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11193
11201
|
try {
|
|
11194
11202
|
if (typeof localStorage !== "undefined") {
|
|
11195
11203
|
const raw = JSON.stringify(next);
|
|
11196
|
-
localStorage.setItem(STORAGE_KEY, raw);
|
|
11197
|
-
cachedRaw = raw;
|
|
11204
|
+
localStorage.setItem(STORAGE_KEY$1, raw);
|
|
11205
|
+
cachedRaw$1 = raw;
|
|
11198
11206
|
return;
|
|
11199
11207
|
}
|
|
11200
11208
|
} catch {}
|
|
11201
|
-
cachedRaw = MEMORY_ONLY;
|
|
11209
|
+
cachedRaw$1 = MEMORY_ONLY$1;
|
|
11202
11210
|
}
|
|
11203
11211
|
/**
|
|
11204
11212
|
* Merge the saved personal order into the current Remote order: kept refs
|
|
@@ -11223,7 +11231,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11223
11231
|
return merged;
|
|
11224
11232
|
}
|
|
11225
11233
|
let revision = 0;
|
|
11226
|
-
const listeners = /* @__PURE__ */ new Set();
|
|
11234
|
+
const listeners$1 = /* @__PURE__ */ new Set();
|
|
11227
11235
|
const snapshots = /* @__PURE__ */ new Map();
|
|
11228
11236
|
function savedFingerprint(key) {
|
|
11229
11237
|
const saved = storedOrders()[key];
|
|
@@ -11231,7 +11239,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11231
11239
|
}
|
|
11232
11240
|
function emitChange() {
|
|
11233
11241
|
revision += 1;
|
|
11234
|
-
for (const listener of listeners) listener();
|
|
11242
|
+
for (const listener of listeners$1) listener();
|
|
11235
11243
|
}
|
|
11236
11244
|
function orderedSnapshot(workspaceId, kind, refs) {
|
|
11237
11245
|
const key = listKey(workspaceId, kind);
|
|
@@ -11256,9 +11264,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11256
11264
|
*/
|
|
11257
11265
|
function useSidebarOrder(workspaceId, kind, refs) {
|
|
11258
11266
|
return (0, react.useSyncExternalStore)((0, react.useCallback)((listener) => {
|
|
11259
|
-
listeners.add(listener);
|
|
11267
|
+
listeners$1.add(listener);
|
|
11260
11268
|
return () => {
|
|
11261
|
-
listeners.delete(listener);
|
|
11269
|
+
listeners$1.delete(listener);
|
|
11262
11270
|
};
|
|
11263
11271
|
}, []), () => orderedSnapshot(workspaceId, kind, refs), () => orderedSnapshot(workspaceId, kind, refs));
|
|
11264
11272
|
}
|
|
@@ -11286,6 +11294,92 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11286
11294
|
return next;
|
|
11287
11295
|
}
|
|
11288
11296
|
//#endregion
|
|
11297
|
+
//#region src/client/sidebar-sections.ts
|
|
11298
|
+
/**
|
|
11299
|
+
* Human presentation preference for the Team sidebar: whether each disclosure
|
|
11300
|
+
* section (workspaces / channels / agents) is expanded. The state lives in
|
|
11301
|
+
* this browser only — it is UI taste, never a shared Team fact, so nothing
|
|
11302
|
+
* here touches the ledger. Same storage discipline as `sidebar-order.ts`: one
|
|
11303
|
+
* localStorage key, defensive parsing, a read-through cache over the raw
|
|
11304
|
+
* payload so writes from other tabs are picked up, and an in-memory fallback
|
|
11305
|
+
* when storage is unavailable.
|
|
11306
|
+
*/
|
|
11307
|
+
const STORAGE_KEY = "dsh.agent-team.sidebar-sections";
|
|
11308
|
+
function sectionKey(workspaceId, kind) {
|
|
11309
|
+
return workspaceId === void 0 ? void 0 : `${workspaceId}|${kind}`;
|
|
11310
|
+
}
|
|
11311
|
+
const MEMORY_ONLY = Symbol("sidebar-sections.memory");
|
|
11312
|
+
/** Read-through parse cache over the raw persisted payload; see `sidebar-order.ts`. */
|
|
11313
|
+
let cachedRaw;
|
|
11314
|
+
let cachedCollapsed = /* @__PURE__ */ new Set();
|
|
11315
|
+
function storedCollapsed() {
|
|
11316
|
+
let raw = null;
|
|
11317
|
+
try {
|
|
11318
|
+
raw = typeof localStorage === "undefined" ? null : localStorage.getItem(STORAGE_KEY);
|
|
11319
|
+
} catch {
|
|
11320
|
+
raw = null;
|
|
11321
|
+
}
|
|
11322
|
+
if (cachedRaw !== void 0 && raw !== null && raw === cachedRaw) return cachedCollapsed;
|
|
11323
|
+
if (raw === null) {
|
|
11324
|
+
if (cachedRaw === MEMORY_ONLY) return cachedCollapsed;
|
|
11325
|
+
cachedRaw = raw;
|
|
11326
|
+
cachedCollapsed = /* @__PURE__ */ new Set();
|
|
11327
|
+
return cachedCollapsed;
|
|
11328
|
+
}
|
|
11329
|
+
try {
|
|
11330
|
+
const parsed = JSON.parse(raw);
|
|
11331
|
+
if (parsed === null || typeof parsed !== "object" || Array.isArray(parsed)) throw new Error("not an object");
|
|
11332
|
+
const keys = parsed.collapsed;
|
|
11333
|
+
if (!Array.isArray(keys) || !keys.every((key) => typeof key === "string")) throw new Error("bad shape");
|
|
11334
|
+
cachedRaw = raw;
|
|
11335
|
+
cachedCollapsed = new Set(keys);
|
|
11336
|
+
return cachedCollapsed;
|
|
11337
|
+
} catch {
|
|
11338
|
+
return /* @__PURE__ */ new Set();
|
|
11339
|
+
}
|
|
11340
|
+
}
|
|
11341
|
+
function writeCollapsed(collapsed) {
|
|
11342
|
+
cachedCollapsed = collapsed;
|
|
11343
|
+
try {
|
|
11344
|
+
if (typeof localStorage === "undefined") throw new Error("no localStorage");
|
|
11345
|
+
const raw = JSON.stringify({ collapsed: [...collapsed] });
|
|
11346
|
+
localStorage.setItem(STORAGE_KEY, raw);
|
|
11347
|
+
cachedRaw = raw;
|
|
11348
|
+
return;
|
|
11349
|
+
} catch {
|
|
11350
|
+
cachedRaw = MEMORY_ONLY;
|
|
11351
|
+
}
|
|
11352
|
+
}
|
|
11353
|
+
const listeners = /* @__PURE__ */ new Set();
|
|
11354
|
+
/**
|
|
11355
|
+
* Effective expanded state for one sidebar section: `false` only when this
|
|
11356
|
+
* browser explicitly collapsed it. Booleans are primitives, so the snapshot
|
|
11357
|
+
* is naturally identity-stable for `useSyncExternalStore`.
|
|
11358
|
+
*/
|
|
11359
|
+
function useSidebarSectionOpen(workspaceId, kind) {
|
|
11360
|
+
const key = sectionKey(workspaceId, kind);
|
|
11361
|
+
return (0, react.useSyncExternalStore)((0, react.useCallback)((listener) => {
|
|
11362
|
+
listeners.add(listener);
|
|
11363
|
+
return () => {
|
|
11364
|
+
listeners.delete(listener);
|
|
11365
|
+
};
|
|
11366
|
+
}, []), () => key === void 0 ? true : !storedCollapsed().has(key), () => key === void 0 ? true : !storedCollapsed().has(key));
|
|
11367
|
+
}
|
|
11368
|
+
/**
|
|
11369
|
+
* The only mutation path: record one section's expanded state for this
|
|
11370
|
+
* browser. Unknown keys (missing workspace) no-op so an unloaded workspace
|
|
11371
|
+
* never persists a phantom preference.
|
|
11372
|
+
*/
|
|
11373
|
+
function setSidebarSectionOpen(workspaceId, kind, open) {
|
|
11374
|
+
const key = sectionKey(workspaceId, kind);
|
|
11375
|
+
if (key === void 0) return;
|
|
11376
|
+
const next = new Set(storedCollapsed());
|
|
11377
|
+
if (open) next.delete(key);
|
|
11378
|
+
else next.add(key);
|
|
11379
|
+
writeCollapsed(next);
|
|
11380
|
+
for (const listener of listeners) listener();
|
|
11381
|
+
}
|
|
11382
|
+
//#endregion
|
|
11289
11383
|
//#region src/client/TeamRowMenu.tsx
|
|
11290
11384
|
/**
|
|
11291
11385
|
* Row-level overflow menu shared by sidebar Channel and Agent rows, mirroring
|
|
@@ -11324,11 +11418,37 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11324
11418
|
event.stopPropagation();
|
|
11325
11419
|
toggle();
|
|
11326
11420
|
},
|
|
11327
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
11421
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconEllipsisOutlineRegular, {})
|
|
11328
11422
|
})
|
|
11329
11423
|
});
|
|
11330
11424
|
}
|
|
11331
11425
|
//#endregion
|
|
11426
|
+
//#region src/client/TeamSidebarSection.tsx
|
|
11427
|
+
/** Collapsible sidebar section header: disclosure toggle plus trailing actions. */
|
|
11428
|
+
function TeamSidebarSection({ title, actions, open, onToggle, children }) {
|
|
11429
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
11430
|
+
className: sidebar_module_css_default.section,
|
|
11431
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
11432
|
+
className: sidebar_module_css_default.sectionHeader,
|
|
11433
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
11434
|
+
type: "button",
|
|
11435
|
+
className: sidebar_module_css_default.sectionToggle,
|
|
11436
|
+
"aria-expanded": open,
|
|
11437
|
+
onClick: () => {
|
|
11438
|
+
onToggle(!open);
|
|
11439
|
+
},
|
|
11440
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, { className: sidebar_module_css_default.sectionChevron }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
11441
|
+
className: sidebar_module_css_default.sectionTitle,
|
|
11442
|
+
children: title
|
|
11443
|
+
})]
|
|
11444
|
+
}), actions !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
11445
|
+
className: sidebar_module_css_default.sectionActions,
|
|
11446
|
+
children: actions
|
|
11447
|
+
})]
|
|
11448
|
+
}), open && children]
|
|
11449
|
+
});
|
|
11450
|
+
}
|
|
11451
|
+
//#endregion
|
|
11332
11452
|
//#region src/client/team-dialog-save.ts
|
|
11333
11453
|
/**
|
|
11334
11454
|
* Shared edit-dialog save lifecycle: one in-flight durable update, the dialog
|
|
@@ -11496,7 +11616,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11496
11616
|
type: "button",
|
|
11497
11617
|
className: create_module_css_default.selectTrigger,
|
|
11498
11618
|
"aria-label": t("memberModel"),
|
|
11499
|
-
"aria-haspopup": "
|
|
11619
|
+
"aria-haspopup": "menu",
|
|
11500
11620
|
"aria-expanded": open,
|
|
11501
11621
|
disabled,
|
|
11502
11622
|
onClick: () => {
|
|
@@ -11508,7 +11628,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11508
11628
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
11509
11629
|
className: `${create_module_css_default.chevron} ${open ? create_module_css_default.chevronOpen : ""}`,
|
|
11510
11630
|
"aria-hidden": true,
|
|
11511
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
11631
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {})
|
|
11512
11632
|
})]
|
|
11513
11633
|
})
|
|
11514
11634
|
}),
|
|
@@ -11536,7 +11656,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11536
11656
|
type: "button",
|
|
11537
11657
|
className: create_module_css_default.selectTrigger,
|
|
11538
11658
|
"aria-label": t("reasoningEffort"),
|
|
11539
|
-
"aria-haspopup": "
|
|
11659
|
+
"aria-haspopup": "menu",
|
|
11540
11660
|
"aria-expanded": effortOpen,
|
|
11541
11661
|
disabled,
|
|
11542
11662
|
onClick: () => {
|
|
@@ -11548,7 +11668,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11548
11668
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
11549
11669
|
className: `${create_module_css_default.chevron} ${effortOpen ? create_module_css_default.chevronOpen : ""}`,
|
|
11550
11670
|
"aria-hidden": true,
|
|
11551
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
11671
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {})
|
|
11552
11672
|
})]
|
|
11553
11673
|
})
|
|
11554
11674
|
})
|
|
@@ -12044,7 +12164,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12044
12164
|
setImporting(false);
|
|
12045
12165
|
setFormOpen(true);
|
|
12046
12166
|
},
|
|
12047
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
12167
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconPlusOutlineRegular, { size: 14 })
|
|
12048
12168
|
})
|
|
12049
12169
|
}),
|
|
12050
12170
|
children: [
|
|
@@ -12186,22 +12306,22 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12186
12306
|
{
|
|
12187
12307
|
id: "edit",
|
|
12188
12308
|
label: t("editAgent"),
|
|
12189
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
12309
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconEditOutlineRegular, {})
|
|
12190
12310
|
},
|
|
12191
12311
|
...status.presence === "error" ? [{
|
|
12192
12312
|
id: "resume",
|
|
12193
12313
|
label: t("resumeAgent"),
|
|
12194
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
12314
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconPlayOutlineRegular, {})
|
|
12195
12315
|
}] : [],
|
|
12196
12316
|
...status.availability === "unavailable" && restartOffered(status) ? [{
|
|
12197
12317
|
id: "restart",
|
|
12198
12318
|
label: t("restartAgent"),
|
|
12199
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
12319
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconRefreshOutlineRegular, {})
|
|
12200
12320
|
}] : [],
|
|
12201
12321
|
{
|
|
12202
12322
|
id: "archive",
|
|
12203
12323
|
label: t(withdrawing ? "withdrawAgent" : "archiveAgent"),
|
|
12204
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
12324
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconArchiveOutlineRegular, { size: 16 }),
|
|
12205
12325
|
danger: true
|
|
12206
12326
|
}
|
|
12207
12327
|
],
|
|
@@ -12312,7 +12432,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12312
12432
|
type: "button",
|
|
12313
12433
|
className: create_module_css_default.selectTrigger,
|
|
12314
12434
|
"aria-label": label,
|
|
12315
|
-
"aria-haspopup": "
|
|
12435
|
+
"aria-haspopup": "menu",
|
|
12316
12436
|
"aria-expanded": open,
|
|
12317
12437
|
disabled,
|
|
12318
12438
|
onClick: () => {
|
|
@@ -12324,7 +12444,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12324
12444
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
12325
12445
|
className: `${create_module_css_default.chevron} ${open ? create_module_css_default.chevronOpen : ""}`,
|
|
12326
12446
|
"aria-hidden": true,
|
|
12327
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
12447
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {})
|
|
12328
12448
|
})]
|
|
12329
12449
|
})
|
|
12330
12450
|
})]
|
|
@@ -12569,7 +12689,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12569
12689
|
setError(void 0);
|
|
12570
12690
|
setFormOpen(true);
|
|
12571
12691
|
},
|
|
12572
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
12692
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconPlusOutlineRegular, { size: 14 })
|
|
12573
12693
|
})
|
|
12574
12694
|
}),
|
|
12575
12695
|
children: [
|
|
@@ -12661,11 +12781,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12661
12781
|
items: [{
|
|
12662
12782
|
id: "edit",
|
|
12663
12783
|
label: t("editChannel"),
|
|
12664
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
12784
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconEditOutlineRegular, {})
|
|
12665
12785
|
}, {
|
|
12666
12786
|
id: "archive",
|
|
12667
12787
|
label: t("archiveChannel"),
|
|
12668
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
12788
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconArchiveOutlineRegular, { size: 16 }),
|
|
12669
12789
|
danger: true
|
|
12670
12790
|
}],
|
|
12671
12791
|
onSelect: (id) => {
|
|
@@ -12856,7 +12976,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12856
12976
|
function InboxMark({ unread }) {
|
|
12857
12977
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
12858
12978
|
className: sidebar_module_css_default.inboxMark,
|
|
12859
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
12979
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconQueueOutlineRegular, { size: 16 }), unread > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
12860
12980
|
className: sidebar_module_css_default.inboxDot,
|
|
12861
12981
|
"data-team-inbox-dot": true,
|
|
12862
12982
|
"aria-hidden": "true"
|
|
@@ -12874,7 +12994,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12874
12994
|
const [pendingSection, setPendingSection] = (0, react.useState)();
|
|
12875
12995
|
const channelsRef = (0, react.useRef)(null);
|
|
12876
12996
|
const agentsRef = (0, react.useRef)(null);
|
|
12877
|
-
const workspacesOpen = useSidebarSectionOpen(void 0, "workspaces");
|
|
12878
12997
|
const [inboxTotal, setInboxTotal] = (0, react.useState)(0);
|
|
12879
12998
|
const inboxLabel = inboxTotal > 0 ? t("inboxTitleWithCount", { count: inboxTotal }) : t("inboxTitle");
|
|
12880
12999
|
(0, react.useEffect)(() => {
|
|
@@ -12960,7 +13079,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12960
13079
|
setPendingSection("channels");
|
|
12961
13080
|
expandSidebar();
|
|
12962
13081
|
},
|
|
12963
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
13082
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconListPenOutlineRegular, { size: 16 })
|
|
12964
13083
|
})
|
|
12965
13084
|
}),
|
|
12966
13085
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
@@ -12974,7 +13093,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12974
13093
|
setPendingSection("agents");
|
|
12975
13094
|
expandSidebar();
|
|
12976
13095
|
},
|
|
12977
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
13096
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconAgentPresetOutlineRegular, { size: 16 })
|
|
12978
13097
|
})
|
|
12979
13098
|
})
|
|
12980
13099
|
]
|
|
@@ -12994,26 +13113,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12994
13113
|
children: t("inboxTitle")
|
|
12995
13114
|
})]
|
|
12996
13115
|
}),
|
|
12997
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
12998
|
-
|
|
12999
|
-
|
|
13000
|
-
|
|
13001
|
-
|
|
13002
|
-
|
|
13003
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
13004
|
-
className: sidebar_module_css_default.workspaceList,
|
|
13005
|
-
children: [workspaces.map((workspace) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TeamWorkspaceRow, {
|
|
13006
|
-
workspaceId: workspace.workspaceId,
|
|
13007
|
-
title: workspace.title,
|
|
13008
|
-
path: workspace.path,
|
|
13009
|
-
selected: workspace.workspaceId === selectedId,
|
|
13010
|
-
current: workspace.workspaceId === selectedId && overviewIsCurrent,
|
|
13011
|
-
onSelect: selectWorkspace
|
|
13012
|
-
}, workspace.workspaceId)), workspaces.length === 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
13013
|
-
className: sidebar_module_css_default.emptyState,
|
|
13014
|
-
children: t("empty")
|
|
13015
|
-
})]
|
|
13016
|
-
})
|
|
13116
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(TeamWorkspaceSelector, {
|
|
13117
|
+
workspaces,
|
|
13118
|
+
selectedId,
|
|
13119
|
+
current: overviewIsCurrent,
|
|
13120
|
+
onSelect: selectWorkspace,
|
|
13121
|
+
t
|
|
13017
13122
|
}),
|
|
13018
13123
|
selectedId !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
13019
13124
|
className: sidebar_module_css_default.workspaceSection,
|
|
@@ -13065,6 +13170,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13065
13170
|
team: "团队",
|
|
13066
13171
|
backToConversations: "对话",
|
|
13067
13172
|
workspaces: "工作区",
|
|
13173
|
+
workspaceSelectorWithValue: "工作区,{title}",
|
|
13068
13174
|
channels: "频道",
|
|
13069
13175
|
agents: "Agents",
|
|
13070
13176
|
members: "成员",
|
|
@@ -13241,6 +13347,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13241
13347
|
team: "Team",
|
|
13242
13348
|
backToConversations: "Conversations",
|
|
13243
13349
|
workspaces: "Workspaces",
|
|
13350
|
+
workspaceSelectorWithValue: "Workspace, {title}",
|
|
13244
13351
|
channels: "Channels",
|
|
13245
13352
|
agents: "Agents",
|
|
13246
13353
|
members: "Members",
|
|
@@ -13424,16 +13531,37 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13424
13531
|
"remote.session",
|
|
13425
13532
|
"sessions",
|
|
13426
13533
|
"connection",
|
|
13427
|
-
"conversation"
|
|
13534
|
+
"conversation",
|
|
13535
|
+
"uiWorkspace"
|
|
13428
13536
|
];
|
|
13537
|
+
/**
|
|
13538
|
+
* 0.1.7 moved the conversation selection into the workspace service: the
|
|
13539
|
+
* rendered session is the one holding its `mainView` reference (the shipped
|
|
13540
|
+
* consumers read the same projection), so the Team client reads the selection
|
|
13541
|
+
* through retention instead of a service-owned `current`.
|
|
13542
|
+
*/
|
|
13543
|
+
function currentMainSessionId(ctx) {
|
|
13544
|
+
const sessions = ctx.sessions;
|
|
13545
|
+
return Object.values(sessions.list.getSnapshot().byId).find((session) => (session.retainedBy.mainView ?? 0) > 0)?.id;
|
|
13546
|
+
}
|
|
13547
|
+
/**
|
|
13548
|
+
* Session ids this client opened as Member views, per client instance. The
|
|
13549
|
+
* 0.1.7 workspace service exposes no clear, so a dead return target leaves
|
|
13550
|
+
* the departed Member selection in place; excluding Member sessions from the
|
|
13551
|
+
* next capture keeps that stale selection from becoming a false return
|
|
13552
|
+
* target.
|
|
13553
|
+
*/
|
|
13554
|
+
const openedMemberSessions = /* @__PURE__ */ new WeakMap();
|
|
13429
13555
|
function registerModeShadow(ctx, navigation, changes, reads, drafts, name, component, extraInject, entryKey) {
|
|
13430
13556
|
const openMemberSessionImpl = (sessionId) => {
|
|
13431
|
-
const sessions = ctx.sessions;
|
|
13432
13557
|
const snapshot = navigation.getSnapshot();
|
|
13433
|
-
const current =
|
|
13434
|
-
const
|
|
13558
|
+
const current = currentMainSessionId(ctx);
|
|
13559
|
+
const memberSessions = openedMemberSessions.get(ctx) ?? /* @__PURE__ */ new Set();
|
|
13560
|
+
openedMemberSessions.set(ctx, memberSessions);
|
|
13561
|
+
memberSessions.add(sessionId);
|
|
13562
|
+
const returnTo = snapshot.memberSessionId === void 0 && current !== void 0 && current !== sessionId && !memberSessions.has(current) ? current : void 0;
|
|
13435
13563
|
navigation.actions().enterMemberSession(sessionId, returnTo);
|
|
13436
|
-
|
|
13564
|
+
ctx.uiWorkspace.openSession(sessionId);
|
|
13437
13565
|
};
|
|
13438
13566
|
const sharedRemotes = {
|
|
13439
13567
|
loadChannels: (request) => ctx.remote.agentTeam.view(request),
|
|
@@ -13529,10 +13657,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
13529
13657
|
const returnTo = previous.returnToSessionId;
|
|
13530
13658
|
previous = snapshot;
|
|
13531
13659
|
if (departed === void 0 || snapshot.memberSessionId !== void 0) return;
|
|
13532
|
-
|
|
13533
|
-
if (sessions.list.getSnapshot().
|
|
13534
|
-
if (returnTo !== void 0 && sessions.list.getSnapshot().byId[returnTo] !== void 0) sessions.open(returnTo);
|
|
13535
|
-
else sessions.clear();
|
|
13660
|
+
if (currentMainSessionId(ctx) !== departed) return;
|
|
13661
|
+
if (returnTo !== void 0 && ctx.sessions.list.getSnapshot().byId[returnTo] !== void 0) ctx.uiWorkspace.openSession(returnTo);
|
|
13536
13662
|
};
|
|
13537
13663
|
const unsubscribe = navigation.subscribe(restore);
|
|
13538
13664
|
return () => {
|