@wowyuarm/dsh-agent-team 0.2.0 → 0.2.1
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 +5 -5
- package/README.zh.md +5 -5
- package/cordis.patch.yml +26 -12
- package/package.json +50 -47
- package/packages/agent-team/lib/attachments.js +63 -4
- package/packages/agent-team/lib/compaction-engine.js +18 -0
- package/packages/agent-team/lib/context-continuity-host.js +198 -4
- package/packages/agent-team/lib/context-judge.js +150 -0
- package/packages/agent-team/lib/index.js +482 -97
- package/packages/agent-team/lib/invariant.js +36 -12
- package/packages/agent-team/lib/ledger.js +2 -1
- package/packages/agent-team/lib/member-runtime.js +2 -1
- package/packages/agent-team/lib/recovery.js +53 -4
- package/packages/agent-team/lib/typert.host.js +138 -44
- package/packages/agent-team/lib/typert.remote-client.d.ts +3 -1
- package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
- package/packages/agent-team/lib/typert.remote-client.js +75 -35
- package/packages/agent-team/lib/types/attachments.d.ts +32 -2
- package/packages/agent-team/lib/types/attachments.d.ts.map +1 -1
- package/packages/agent-team/lib/types/compaction-engine.d.ts +19 -0
- package/packages/agent-team/lib/types/compaction-engine.d.ts.map +1 -0
- package/packages/agent-team/lib/types/context-continuity-host.d.ts +131 -4
- package/packages/agent-team/lib/types/context-continuity-host.d.ts.map +1 -1
- package/packages/agent-team/lib/types/context-judge.d.ts +82 -0
- package/packages/agent-team/lib/types/context-judge.d.ts.map +1 -0
- package/packages/agent-team/lib/types/index.d.ts +259 -17
- package/packages/agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/types/invariant.d.ts +27 -5
- package/packages/agent-team/lib/types/invariant.d.ts.map +1 -1
- package/packages/agent-team/lib/types/ledger.d.ts.map +1 -1
- package/packages/agent-team/lib/types/member-runtime.d.ts +1 -1
- package/packages/agent-team/lib/types/member-runtime.d.ts.map +1 -1
- package/packages/agent-team/lib/types/recovery.d.ts +19 -6
- package/packages/agent-team/lib/types/recovery.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/requests-results.d.ts +28 -2
- package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types.d.ts +9 -0
- package/packages/agent-team/lib/types/types.d.ts.map +1 -1
- package/packages/client-agent-team/lib/client.js +1006 -374
- package/packages/client-agent-team/lib/client.js.map +1 -1
- package/packages/client-agent-team/lib/types/client/{HumanSettingsSection.d.ts → TeamSettingsSection.d.ts} +12 -4
- package/packages/client-agent-team/lib/types/client/TeamSettingsSection.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/TeamSettingsSection.js +195 -0
- package/packages/client-agent-team/lib/types/client/attachment-preview.d.ts +7 -11
- package/packages/client-agent-team/lib/types/client/attachment-preview.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/attachment-preview.js +13 -3
- package/packages/client-agent-team/lib/types/client/context-judge.d.ts +64 -0
- package/packages/client-agent-team/lib/types/client/context-judge.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/context-judge.js +78 -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 +75 -11
- package/packages/client-agent-team/lib/types/client/judge-form.d.ts +99 -0
- package/packages/client-agent-team/lib/types/client/judge-form.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/judge-form.js +208 -0
- package/packages/client-agent-team/lib/types/client/locales.d.ts +52 -6
- package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/locales.js +55 -6
- package/packages/tool-agent-team/README.md +6 -3
- package/packages/tool-agent-team/README.zh.md +6 -3
- package/packages/tool-agent-team/lib/context-tools.js +84 -112
- package/packages/tool-agent-team/lib/types/context-tools.d.ts +29 -13
- package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -1
- package/packages/agent-team/lib/pressure-policy.js +0 -235
- package/packages/agent-team/lib/types/pressure-policy.d.ts +0 -134
- package/packages/agent-team/lib/types/pressure-policy.d.ts.map +0 -1
- package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts.map +0 -1
- package/packages/client-agent-team/lib/types/client/HumanSettingsSection.js +0 -118
|
@@ -8,7 +8,7 @@ window.__ModuleLoader__.load({
|
|
|
8
8
|
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
let _deepseek_ai_dsh_api_gateway_client = require("@deepseek-ai/dsh-api-gateway/client");
|
|
11
|
-
//#region
|
|
11
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
|
|
12
12
|
var _a$1;
|
|
13
13
|
function $constructor(name, initializer, params) {
|
|
14
14
|
function init(inst, def) {
|
|
@@ -67,7 +67,7 @@ window.__ModuleLoader__.load({
|
|
|
67
67
|
return globalConfig;
|
|
68
68
|
}
|
|
69
69
|
//#endregion
|
|
70
|
-
//#region
|
|
70
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
|
|
71
71
|
function getEnumValues(entries) {
|
|
72
72
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
73
73
|
return Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -379,7 +379,7 @@ window.__ModuleLoader__.load({
|
|
|
379
379
|
return { ...iss };
|
|
380
380
|
}
|
|
381
381
|
//#endregion
|
|
382
|
-
//#region
|
|
382
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
|
|
383
383
|
const initializer$1 = (inst, def) => {
|
|
384
384
|
inst.name = "$ZodError";
|
|
385
385
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -439,7 +439,7 @@ window.__ModuleLoader__.load({
|
|
|
439
439
|
return fieldErrors;
|
|
440
440
|
}
|
|
441
441
|
//#endregion
|
|
442
|
-
//#region
|
|
442
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
|
|
443
443
|
const _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
444
444
|
const ctx = _ctx ? {
|
|
445
445
|
..._ctx,
|
|
@@ -553,7 +553,7 @@ window.__ModuleLoader__.load({
|
|
|
553
553
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
554
554
|
};
|
|
555
555
|
//#endregion
|
|
556
|
-
//#region
|
|
556
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
|
|
557
557
|
/**
|
|
558
558
|
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
559
559
|
* (timestamps embedded in the id). Use {@link cuid2} instead.
|
|
@@ -618,7 +618,7 @@ window.__ModuleLoader__.load({
|
|
|
618
618
|
const lowercase = /^[^A-Z]*$/;
|
|
619
619
|
const uppercase = /^[^a-z]*$/;
|
|
620
620
|
//#endregion
|
|
621
|
-
//#region
|
|
621
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
|
|
622
622
|
const $ZodCheck = /*@__PURE__*/ $constructor("$ZodCheck", (inst, def) => {
|
|
623
623
|
var _a;
|
|
624
624
|
inst._zod ?? (inst._zod = {});
|
|
@@ -976,7 +976,7 @@ window.__ModuleLoader__.load({
|
|
|
976
976
|
};
|
|
977
977
|
});
|
|
978
978
|
//#endregion
|
|
979
|
-
//#region
|
|
979
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
|
|
980
980
|
var Doc = class {
|
|
981
981
|
constructor(args = []) {
|
|
982
982
|
this.content = [];
|
|
@@ -1007,14 +1007,14 @@ window.__ModuleLoader__.load({
|
|
|
1007
1007
|
}
|
|
1008
1008
|
};
|
|
1009
1009
|
//#endregion
|
|
1010
|
-
//#region
|
|
1010
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
|
|
1011
1011
|
const version = {
|
|
1012
1012
|
major: 4,
|
|
1013
1013
|
minor: 4,
|
|
1014
1014
|
patch: 3
|
|
1015
1015
|
};
|
|
1016
1016
|
//#endregion
|
|
1017
|
-
//#region
|
|
1017
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
|
|
1018
1018
|
const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
|
|
1019
1019
|
var _a;
|
|
1020
1020
|
inst ?? (inst = {});
|
|
@@ -2151,7 +2151,7 @@ window.__ModuleLoader__.load({
|
|
|
2151
2151
|
}
|
|
2152
2152
|
}
|
|
2153
2153
|
//#endregion
|
|
2154
|
-
//#region
|
|
2154
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
|
|
2155
2155
|
var _a;
|
|
2156
2156
|
var $ZodRegistry = class {
|
|
2157
2157
|
constructor() {
|
|
@@ -2198,7 +2198,7 @@ window.__ModuleLoader__.load({
|
|
|
2198
2198
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
2199
2199
|
const globalRegistry = globalThis.__zod_globalRegistry;
|
|
2200
2200
|
//#endregion
|
|
2201
|
-
//#region
|
|
2201
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
|
|
2202
2202
|
// @__NO_SIDE_EFFECTS__
|
|
2203
2203
|
function _string(Class, params) {
|
|
2204
2204
|
return new Class({
|
|
@@ -2710,7 +2710,7 @@ window.__ModuleLoader__.load({
|
|
|
2710
2710
|
return ch;
|
|
2711
2711
|
}
|
|
2712
2712
|
//#endregion
|
|
2713
|
-
//#region
|
|
2713
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
|
|
2714
2714
|
function initializeContext(params) {
|
|
2715
2715
|
let target = params?.target ?? "draft-2020-12";
|
|
2716
2716
|
if (target === "draft-4") target = "draft-04";
|
|
@@ -3003,7 +3003,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3003
3003
|
return finalize(ctx, schema);
|
|
3004
3004
|
};
|
|
3005
3005
|
//#endregion
|
|
3006
|
-
//#region
|
|
3006
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
|
|
3007
3007
|
const formatMap = {
|
|
3008
3008
|
guid: "uuid",
|
|
3009
3009
|
url: "uri",
|
|
@@ -3235,7 +3235,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3235
3235
|
seen.ref = def.innerType;
|
|
3236
3236
|
};
|
|
3237
3237
|
//#endregion
|
|
3238
|
-
//#region
|
|
3238
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
|
|
3239
3239
|
const ZodISODateTime = /*@__PURE__*/ $constructor("ZodISODateTime", (inst, def) => {
|
|
3240
3240
|
$ZodISODateTime.init(inst, def);
|
|
3241
3241
|
ZodStringFormat.init(inst, def);
|
|
@@ -3265,7 +3265,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3265
3265
|
return /* @__PURE__ */ _isoDuration(ZodISODuration, params);
|
|
3266
3266
|
}
|
|
3267
3267
|
//#endregion
|
|
3268
|
-
//#region
|
|
3268
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
|
|
3269
3269
|
const initializer = (inst, issues) => {
|
|
3270
3270
|
$ZodError.init(inst, issues);
|
|
3271
3271
|
inst.name = "ZodError";
|
|
@@ -3287,7 +3287,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3287
3287
|
};
|
|
3288
3288
|
const ZodRealError = /*@__PURE__*/ $constructor("ZodError", initializer, { Parent: Error });
|
|
3289
3289
|
//#endregion
|
|
3290
|
-
//#region
|
|
3290
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
|
|
3291
3291
|
const parse = /* @__PURE__ */ _parse(ZodRealError);
|
|
3292
3292
|
const parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
3293
3293
|
const safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -3301,7 +3301,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3301
3301
|
const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
3302
3302
|
const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
3303
3303
|
//#endregion
|
|
3304
|
-
//#region
|
|
3304
|
+
//#region ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
|
|
3305
3305
|
const _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
3306
3306
|
function _installLazyMethods(inst, group, methods) {
|
|
3307
3307
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -4490,6 +4490,24 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4490
4490
|
}))]).readonly().optional()
|
|
4491
4491
|
}).readonly()
|
|
4492
4492
|
});
|
|
4493
|
+
let _wowyuarm_dsh_agent_team_agentTeam_contextJudge_parameter_0$schema$value;
|
|
4494
|
+
const _wowyuarm_dsh_agent_team_agentTeam_contextJudge_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_contextJudge_parameter_0$schema$value ??= object({});
|
|
4495
|
+
let _wowyuarm_dsh_agent_team_agentTeam_contextJudge_result$schema$value;
|
|
4496
|
+
const _wowyuarm_dsh_agent_team_agentTeam_contextJudge_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_contextJudge_result$schema$value ??= object({
|
|
4497
|
+
"enabled": boolean().readonly(),
|
|
4498
|
+
"reason": union([
|
|
4499
|
+
_undefined(),
|
|
4500
|
+
literal("unavailable"),
|
|
4501
|
+
literal("no-key")
|
|
4502
|
+
]).readonly().optional(),
|
|
4503
|
+
"detail": union([_undefined(), string()]).readonly().optional(),
|
|
4504
|
+
"keyEnv": string().readonly(),
|
|
4505
|
+
"gate": object({
|
|
4506
|
+
"tokens": number().readonly(),
|
|
4507
|
+
"idleMs": number().readonly(),
|
|
4508
|
+
"judgeTimeoutMs": number().readonly()
|
|
4509
|
+
}).readonly()
|
|
4510
|
+
});
|
|
4493
4511
|
let _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value;
|
|
4494
4512
|
const _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value ??= object({
|
|
4495
4513
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -5064,7 +5082,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5064
5082
|
literal("unavailable"),
|
|
5065
5083
|
literal("rollover"),
|
|
5066
5084
|
literal("keep"),
|
|
5067
|
-
literal("
|
|
5085
|
+
literal("compact-now")
|
|
5068
5086
|
]).readonly(),
|
|
5069
5087
|
"guidance": string().readonly()
|
|
5070
5088
|
}).readonly().optional()
|
|
@@ -5885,7 +5903,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5885
5903
|
},
|
|
5886
5904
|
sourceLocation: {
|
|
5887
5905
|
"file": "packages/agent-team/src/index.ts",
|
|
5888
|
-
"line":
|
|
5906
|
+
"line": 1079,
|
|
5889
5907
|
"column": 9
|
|
5890
5908
|
}
|
|
5891
5909
|
},
|
|
@@ -5912,7 +5930,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5912
5930
|
},
|
|
5913
5931
|
sourceLocation: {
|
|
5914
5932
|
"file": "packages/agent-team/src/index.ts",
|
|
5915
|
-
"line":
|
|
5933
|
+
"line": 1069,
|
|
5916
5934
|
"column": 9
|
|
5917
5935
|
}
|
|
5918
5936
|
},
|
|
@@ -5939,7 +5957,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5939
5957
|
},
|
|
5940
5958
|
sourceLocation: {
|
|
5941
5959
|
"file": "packages/agent-team/src/index.ts",
|
|
5942
|
-
"line":
|
|
5960
|
+
"line": 1586,
|
|
5943
5961
|
"column": 9
|
|
5944
5962
|
}
|
|
5945
5963
|
},
|
|
@@ -5966,7 +5984,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5966
5984
|
},
|
|
5967
5985
|
sourceLocation: {
|
|
5968
5986
|
"file": "packages/agent-team/src/index.ts",
|
|
5969
|
-
"line":
|
|
5987
|
+
"line": 1876,
|
|
5970
5988
|
"column": 9
|
|
5971
5989
|
}
|
|
5972
5990
|
},
|
|
@@ -5995,7 +6013,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5995
6013
|
},
|
|
5996
6014
|
sourceLocation: {
|
|
5997
6015
|
"file": "packages/agent-team/src/index.ts",
|
|
5998
|
-
"line":
|
|
6016
|
+
"line": 1002,
|
|
5999
6017
|
"column": 11
|
|
6000
6018
|
}
|
|
6001
6019
|
},
|
|
@@ -6022,7 +6040,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6022
6040
|
},
|
|
6023
6041
|
sourceLocation: {
|
|
6024
6042
|
"file": "packages/agent-team/src/index.ts",
|
|
6025
|
-
"line":
|
|
6043
|
+
"line": 1597,
|
|
6026
6044
|
"column": 9
|
|
6027
6045
|
}
|
|
6028
6046
|
},
|
|
@@ -6049,10 +6067,38 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6049
6067
|
},
|
|
6050
6068
|
sourceLocation: {
|
|
6051
6069
|
"file": "packages/agent-team/src/index.ts",
|
|
6052
|
-
"line":
|
|
6070
|
+
"line": 1214,
|
|
6053
6071
|
"column": 9
|
|
6054
6072
|
}
|
|
6055
6073
|
},
|
|
6074
|
+
{
|
|
6075
|
+
id: "@wowyuarm/dsh-agent-team#agentTeam/contextJudge",
|
|
6076
|
+
service: "agentTeam",
|
|
6077
|
+
namespace: "agentTeam",
|
|
6078
|
+
method: "contextJudge",
|
|
6079
|
+
implementation: "contextJudgeForClient",
|
|
6080
|
+
invocation: { kind: "direct" },
|
|
6081
|
+
parameters: [{
|
|
6082
|
+
name: "_request",
|
|
6083
|
+
wire: "_request",
|
|
6084
|
+
source: "json",
|
|
6085
|
+
codec: {
|
|
6086
|
+
mode: "strict",
|
|
6087
|
+
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamContextJudgeRequest",
|
|
6088
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_contextJudge_parameter_0$schema
|
|
6089
|
+
}
|
|
6090
|
+
}],
|
|
6091
|
+
result: {
|
|
6092
|
+
mode: "strict",
|
|
6093
|
+
typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamContextJudgeResult",
|
|
6094
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_contextJudge_result$schema
|
|
6095
|
+
},
|
|
6096
|
+
sourceLocation: {
|
|
6097
|
+
"file": "packages/agent-team/src/index.ts",
|
|
6098
|
+
"line": 1742,
|
|
6099
|
+
"column": 3
|
|
6100
|
+
}
|
|
6101
|
+
},
|
|
6056
6102
|
{
|
|
6057
6103
|
id: "@wowyuarm/dsh-agent-team#agentTeam/createChannel",
|
|
6058
6104
|
service: "agentTeam",
|
|
@@ -6076,7 +6122,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6076
6122
|
},
|
|
6077
6123
|
sourceLocation: {
|
|
6078
6124
|
"file": "packages/agent-team/src/index.ts",
|
|
6079
|
-
"line":
|
|
6125
|
+
"line": 1042,
|
|
6080
6126
|
"column": 9
|
|
6081
6127
|
}
|
|
6082
6128
|
},
|
|
@@ -6104,7 +6150,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6104
6150
|
},
|
|
6105
6151
|
sourceLocation: {
|
|
6106
6152
|
"file": "packages/agent-team/src/index.ts",
|
|
6107
|
-
"line":
|
|
6153
|
+
"line": 1783,
|
|
6108
6154
|
"column": 3
|
|
6109
6155
|
}
|
|
6110
6156
|
},
|
|
@@ -6131,7 +6177,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6131
6177
|
},
|
|
6132
6178
|
sourceLocation: {
|
|
6133
6179
|
"file": "packages/agent-team/src/index.ts",
|
|
6134
|
-
"line":
|
|
6180
|
+
"line": 1724,
|
|
6135
6181
|
"column": 9
|
|
6136
6182
|
}
|
|
6137
6183
|
},
|
|
@@ -6158,7 +6204,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6158
6204
|
},
|
|
6159
6205
|
sourceLocation: {
|
|
6160
6206
|
"file": "packages/agent-team/src/index.ts",
|
|
6161
|
-
"line":
|
|
6207
|
+
"line": 1816,
|
|
6162
6208
|
"column": 9
|
|
6163
6209
|
}
|
|
6164
6210
|
},
|
|
@@ -6186,7 +6232,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6186
6232
|
},
|
|
6187
6233
|
sourceLocation: {
|
|
6188
6234
|
"file": "packages/agent-team/src/index.ts",
|
|
6189
|
-
"line":
|
|
6235
|
+
"line": 1788,
|
|
6190
6236
|
"column": 3
|
|
6191
6237
|
}
|
|
6192
6238
|
},
|
|
@@ -6213,7 +6259,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6213
6259
|
},
|
|
6214
6260
|
sourceLocation: {
|
|
6215
6261
|
"file": "packages/agent-team/src/index.ts",
|
|
6216
|
-
"line":
|
|
6262
|
+
"line": 1885,
|
|
6217
6263
|
"column": 3
|
|
6218
6264
|
}
|
|
6219
6265
|
},
|
|
@@ -6240,7 +6286,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6240
6286
|
},
|
|
6241
6287
|
sourceLocation: {
|
|
6242
6288
|
"file": "packages/agent-team/src/index.ts",
|
|
6243
|
-
"line":
|
|
6289
|
+
"line": 1617,
|
|
6244
6290
|
"column": 9
|
|
6245
6291
|
}
|
|
6246
6292
|
},
|
|
@@ -6267,7 +6313,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6267
6313
|
},
|
|
6268
6314
|
sourceLocation: {
|
|
6269
6315
|
"file": "packages/agent-team/src/index.ts",
|
|
6270
|
-
"line":
|
|
6316
|
+
"line": 1637,
|
|
6271
6317
|
"column": 9
|
|
6272
6318
|
}
|
|
6273
6319
|
},
|
|
@@ -6294,7 +6340,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6294
6340
|
},
|
|
6295
6341
|
sourceLocation: {
|
|
6296
6342
|
"file": "packages/agent-team/src/index.ts",
|
|
6297
|
-
"line":
|
|
6343
|
+
"line": 1646,
|
|
6298
6344
|
"column": 9
|
|
6299
6345
|
}
|
|
6300
6346
|
},
|
|
@@ -6322,7 +6368,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6322
6368
|
},
|
|
6323
6369
|
sourceLocation: {
|
|
6324
6370
|
"file": "packages/agent-team/src/index.ts",
|
|
6325
|
-
"line":
|
|
6371
|
+
"line": 992,
|
|
6326
6372
|
"column": 3
|
|
6327
6373
|
}
|
|
6328
6374
|
},
|
|
@@ -6349,7 +6395,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6349
6395
|
},
|
|
6350
6396
|
sourceLocation: {
|
|
6351
6397
|
"file": "packages/agent-team/src/index.ts",
|
|
6352
|
-
"line":
|
|
6398
|
+
"line": 1607,
|
|
6353
6399
|
"column": 9
|
|
6354
6400
|
}
|
|
6355
6401
|
},
|
|
@@ -6376,7 +6422,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6376
6422
|
},
|
|
6377
6423
|
sourceLocation: {
|
|
6378
6424
|
"file": "packages/agent-team/src/index.ts",
|
|
6379
|
-
"line":
|
|
6425
|
+
"line": 1707,
|
|
6380
6426
|
"column": 9
|
|
6381
6427
|
}
|
|
6382
6428
|
},
|
|
@@ -6403,7 +6449,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6403
6449
|
},
|
|
6404
6450
|
sourceLocation: {
|
|
6405
6451
|
"file": "packages/agent-team/src/index.ts",
|
|
6406
|
-
"line":
|
|
6452
|
+
"line": 1808,
|
|
6407
6453
|
"column": 9
|
|
6408
6454
|
}
|
|
6409
6455
|
},
|
|
@@ -6430,7 +6476,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6430
6476
|
},
|
|
6431
6477
|
sourceLocation: {
|
|
6432
6478
|
"file": "packages/agent-team/src/index.ts",
|
|
6433
|
-
"line":
|
|
6479
|
+
"line": 1892,
|
|
6434
6480
|
"column": 9
|
|
6435
6481
|
}
|
|
6436
6482
|
},
|
|
@@ -6457,7 +6503,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6457
6503
|
},
|
|
6458
6504
|
sourceLocation: {
|
|
6459
6505
|
"file": "packages/agent-team/src/index.ts",
|
|
6460
|
-
"line":
|
|
6506
|
+
"line": 1144,
|
|
6461
6507
|
"column": 9
|
|
6462
6508
|
}
|
|
6463
6509
|
},
|
|
@@ -6484,7 +6530,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6484
6530
|
},
|
|
6485
6531
|
sourceLocation: {
|
|
6486
6532
|
"file": "packages/agent-team/src/index.ts",
|
|
6487
|
-
"line":
|
|
6533
|
+
"line": 1628,
|
|
6488
6534
|
"column": 9
|
|
6489
6535
|
}
|
|
6490
6536
|
},
|
|
@@ -6511,7 +6557,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6511
6557
|
},
|
|
6512
6558
|
sourceLocation: {
|
|
6513
6559
|
"file": "packages/agent-team/src/index.ts",
|
|
6514
|
-
"line":
|
|
6560
|
+
"line": 1824,
|
|
6515
6561
|
"column": 9
|
|
6516
6562
|
}
|
|
6517
6563
|
},
|
|
@@ -6538,7 +6584,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6538
6584
|
},
|
|
6539
6585
|
sourceLocation: {
|
|
6540
6586
|
"file": "packages/agent-team/src/index.ts",
|
|
6541
|
-
"line":
|
|
6587
|
+
"line": 1870,
|
|
6542
6588
|
"column": 9
|
|
6543
6589
|
}
|
|
6544
6590
|
},
|
|
@@ -6565,7 +6611,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6565
6611
|
},
|
|
6566
6612
|
sourceLocation: {
|
|
6567
6613
|
"file": "packages/agent-team/src/index.ts",
|
|
6568
|
-
"line":
|
|
6614
|
+
"line": 966,
|
|
6569
6615
|
"column": 3
|
|
6570
6616
|
}
|
|
6571
6617
|
},
|
|
@@ -6592,7 +6638,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6592
6638
|
},
|
|
6593
6639
|
sourceLocation: {
|
|
6594
6640
|
"file": "packages/agent-team/src/index.ts",
|
|
6595
|
-
"line":
|
|
6641
|
+
"line": 979,
|
|
6596
6642
|
"column": 3
|
|
6597
6643
|
}
|
|
6598
6644
|
},
|
|
@@ -6619,7 +6665,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6619
6665
|
},
|
|
6620
6666
|
sourceLocation: {
|
|
6621
6667
|
"file": "packages/agent-team/src/index.ts",
|
|
6622
|
-
"line":
|
|
6668
|
+
"line": 1655,
|
|
6623
6669
|
"column": 9
|
|
6624
6670
|
}
|
|
6625
6671
|
},
|
|
@@ -6646,7 +6692,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6646
6692
|
},
|
|
6647
6693
|
sourceLocation: {
|
|
6648
6694
|
"file": "packages/agent-team/src/index.ts",
|
|
6649
|
-
"line":
|
|
6695
|
+
"line": 1846,
|
|
6650
6696
|
"column": 9
|
|
6651
6697
|
}
|
|
6652
6698
|
},
|
|
@@ -6673,7 +6719,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6673
6719
|
},
|
|
6674
6720
|
sourceLocation: {
|
|
6675
6721
|
"file": "packages/agent-team/src/index.ts",
|
|
6676
|
-
"line":
|
|
6722
|
+
"line": 1910,
|
|
6677
6723
|
"column": 3
|
|
6678
6724
|
}
|
|
6679
6725
|
},
|
|
@@ -6700,7 +6746,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6700
6746
|
},
|
|
6701
6747
|
sourceLocation: {
|
|
6702
6748
|
"file": "packages/agent-team/src/index.ts",
|
|
6703
|
-
"line":
|
|
6749
|
+
"line": 1903,
|
|
6704
6750
|
"column": 3
|
|
6705
6751
|
}
|
|
6706
6752
|
},
|
|
@@ -6727,7 +6773,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6727
6773
|
},
|
|
6728
6774
|
sourceLocation: {
|
|
6729
6775
|
"file": "packages/agent-team/src/index.ts",
|
|
6730
|
-
"line":
|
|
6776
|
+
"line": 1054,
|
|
6731
6777
|
"column": 9
|
|
6732
6778
|
}
|
|
6733
6779
|
},
|
|
@@ -6754,7 +6800,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6754
6800
|
},
|
|
6755
6801
|
sourceLocation: {
|
|
6756
6802
|
"file": "packages/agent-team/src/index.ts",
|
|
6757
|
-
"line":
|
|
6803
|
+
"line": 1527,
|
|
6758
6804
|
"column": 9
|
|
6759
6805
|
}
|
|
6760
6806
|
},
|
|
@@ -6781,7 +6827,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6781
6827
|
},
|
|
6782
6828
|
sourceLocation: {
|
|
6783
6829
|
"file": "packages/agent-team/src/index.ts",
|
|
6784
|
-
"line":
|
|
6830
|
+
"line": 1917,
|
|
6785
6831
|
"column": 3
|
|
6786
6832
|
}
|
|
6787
6833
|
}
|
|
@@ -6789,12 +6835,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6789
6835
|
};
|
|
6790
6836
|
//#endregion
|
|
6791
6837
|
//#region src/client/human-identity.ts
|
|
6792
|
-
const INITIAL$
|
|
6838
|
+
const INITIAL$2 = {
|
|
6793
6839
|
status: "loading",
|
|
6794
6840
|
updateAvailable: false
|
|
6795
6841
|
};
|
|
6796
6842
|
var TeamHumanIdentity = class {
|
|
6797
|
-
snapshot = INITIAL$
|
|
6843
|
+
snapshot = INITIAL$2;
|
|
6798
6844
|
listeners = /* @__PURE__ */ new Set();
|
|
6799
6845
|
reading;
|
|
6800
6846
|
loader;
|
|
@@ -6884,9 +6930,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6884
6930
|
}
|
|
6885
6931
|
//#endregion
|
|
6886
6932
|
//#region src/client/environment-check.ts
|
|
6887
|
-
const INITIAL = { status: "loading" };
|
|
6933
|
+
const INITIAL$1 = { status: "loading" };
|
|
6888
6934
|
var TeamEnvironmentCheck = class {
|
|
6889
|
-
snapshot = INITIAL;
|
|
6935
|
+
snapshot = INITIAL$1;
|
|
6890
6936
|
listeners = /* @__PURE__ */ new Set();
|
|
6891
6937
|
reading;
|
|
6892
6938
|
loader;
|
|
@@ -6959,8 +7005,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6959
7005
|
return (0, react.useSyncExternalStore)(environment.subscribe, environment.getSnapshot, environment.getSnapshot);
|
|
6960
7006
|
}
|
|
6961
7007
|
//#endregion
|
|
6962
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
6963
|
-
const css$15 = ".
|
|
7008
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/environment-check.module.css.mjs
|
|
7009
|
+
const css$15 = ".kWho4W_block{align-items:flex-start;gap:8px;display:flex}.kWho4W_icon{color:var(--dsw-alias-label-tertiary);flex:none;width:16px;height:16px;margin-top:2px}.kWho4W_body{flex-direction:column;gap:4px;min-width:0;display:flex}.kWho4W_title{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px;line-height:20px}.kWho4W_detail{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:18px}.kWho4W_action{margin:2px 0 0;font-size:12px;line-height:18px}.kWho4W_link{color:var(--dsw-alias-brand-primary);text-decoration:none}.kWho4W_link:hover{text-decoration:underline}.kWho4W_link:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.kWho4W_block[data-environment=ok] .kWho4W_icon{color:var(--dsw-alias-state-success-primary)}.kWho4W_block[data-environment=out-of-range]{background:var(--dsw-alias-state-warn-tertiary);border-radius:var(--dsw-radius-md,12px);gap:10px;padding:12px}.kWho4W_block[data-environment=out-of-range] .kWho4W_icon,.kWho4W_block[data-environment=out-of-range] .kWho4W_title{color:var(--dsw-alias-state-warn-label)}";
|
|
6964
7010
|
const tagId$15 = "@wowyuarm/dsh-agent-team/environment-check.module.css";
|
|
6965
7011
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$15) + "]") === null) {
|
|
6966
7012
|
const tag = document.createElement("style");
|
|
@@ -6970,18 +7016,18 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6970
7016
|
document.head.appendChild(tag);
|
|
6971
7017
|
}
|
|
6972
7018
|
var environment_check_module_css_default = {
|
|
6973
|
-
"action": "
|
|
6974
|
-
"block": "
|
|
6975
|
-
"body": "
|
|
6976
|
-
"detail": "
|
|
6977
|
-
"icon": "
|
|
6978
|
-
"link": "
|
|
6979
|
-
"title": "
|
|
7019
|
+
"action": "kWho4W_action",
|
|
7020
|
+
"block": "kWho4W_block",
|
|
7021
|
+
"body": "kWho4W_body",
|
|
7022
|
+
"detail": "kWho4W_detail",
|
|
7023
|
+
"icon": "kWho4W_icon",
|
|
7024
|
+
"link": "kWho4W_link",
|
|
7025
|
+
"title": "kWho4W_title"
|
|
6980
7026
|
};
|
|
6981
7027
|
//#endregion
|
|
6982
7028
|
//#region src/client/EnvironmentCheck.tsx
|
|
6983
7029
|
/** The three glyphs, drawn at the 16px seat the settings page uses for state marks. */
|
|
6984
|
-
const ICONS = {
|
|
7030
|
+
const ICONS$1 = {
|
|
6985
7031
|
ok: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M3 8.5 6.5 12 13 4.5" }),
|
|
6986
7032
|
warn: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
6987
7033
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M8 2.5 14.6 13.6H1.4z" }),
|
|
@@ -7004,7 +7050,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7004
7050
|
strokeLinecap: "round",
|
|
7005
7051
|
strokeLinejoin: "round",
|
|
7006
7052
|
"aria-hidden": "true",
|
|
7007
|
-
children: ICONS[glyph]
|
|
7053
|
+
children: ICONS$1[glyph]
|
|
7008
7054
|
});
|
|
7009
7055
|
}
|
|
7010
7056
|
/** The release notes this bundle's own repository keeps, one click from the version footnote. */
|
|
@@ -7072,9 +7118,85 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7072
7118
|
};
|
|
7073
7119
|
}
|
|
7074
7120
|
//#endregion
|
|
7075
|
-
//#region
|
|
7076
|
-
const
|
|
7077
|
-
|
|
7121
|
+
//#region src/client/context-judge.ts
|
|
7122
|
+
const INITIAL = { status: "loading" };
|
|
7123
|
+
var TeamContextJudgeCheck = class {
|
|
7124
|
+
snapshot = INITIAL;
|
|
7125
|
+
listeners = /* @__PURE__ */ new Set();
|
|
7126
|
+
reading;
|
|
7127
|
+
loader;
|
|
7128
|
+
constructor(loader) {
|
|
7129
|
+
this.loader = loader;
|
|
7130
|
+
}
|
|
7131
|
+
getSnapshot = () => this.snapshot;
|
|
7132
|
+
/**
|
|
7133
|
+
* Observe the status, starting the first read when nobody has read yet.
|
|
7134
|
+
* @param listener - invoked after every snapshot replacement.
|
|
7135
|
+
* @returns the disposer removing this listener.
|
|
7136
|
+
*/
|
|
7137
|
+
subscribe = (listener) => {
|
|
7138
|
+
this.listeners.add(listener);
|
|
7139
|
+
if (this.snapshot.status === "loading" && this.reading === void 0) this.refresh();
|
|
7140
|
+
return () => {
|
|
7141
|
+
this.listeners.delete(listener);
|
|
7142
|
+
};
|
|
7143
|
+
};
|
|
7144
|
+
/**
|
|
7145
|
+
* Read the Host status. Concurrent callers share one round trip, and a failed
|
|
7146
|
+
* read keeps the last accepted report — the block never blanks out over a
|
|
7147
|
+
* background read.
|
|
7148
|
+
* @returns settlement of this read (or of the read already in flight).
|
|
7149
|
+
*/
|
|
7150
|
+
refresh() {
|
|
7151
|
+
if (this.reading !== void 0) return this.reading;
|
|
7152
|
+
const reading = this.read().finally(() => {
|
|
7153
|
+
if (this.reading === reading) this.reading = void 0;
|
|
7154
|
+
});
|
|
7155
|
+
this.reading = reading;
|
|
7156
|
+
return reading;
|
|
7157
|
+
}
|
|
7158
|
+
dispose() {
|
|
7159
|
+
this.listeners.clear();
|
|
7160
|
+
}
|
|
7161
|
+
async read() {
|
|
7162
|
+
let report;
|
|
7163
|
+
try {
|
|
7164
|
+
const result = await this.loader.loadContextJudge();
|
|
7165
|
+
if (!result.ok) {
|
|
7166
|
+
this.fail();
|
|
7167
|
+
return;
|
|
7168
|
+
}
|
|
7169
|
+
report = result.value;
|
|
7170
|
+
} catch {
|
|
7171
|
+
this.fail();
|
|
7172
|
+
return;
|
|
7173
|
+
}
|
|
7174
|
+
this.commit({
|
|
7175
|
+
status: "ready",
|
|
7176
|
+
report
|
|
7177
|
+
});
|
|
7178
|
+
}
|
|
7179
|
+
/**
|
|
7180
|
+
* Settle a read that produced no report, so a reader stops waiting on a
|
|
7181
|
+
* `loading` that will never finish. A report that already stands is left
|
|
7182
|
+
* untouched: a failed background read never blanks the block.
|
|
7183
|
+
*/
|
|
7184
|
+
fail() {
|
|
7185
|
+
if (this.snapshot.report === void 0) this.commit({ status: "ready" });
|
|
7186
|
+
}
|
|
7187
|
+
commit(snapshot) {
|
|
7188
|
+
this.snapshot = snapshot;
|
|
7189
|
+
for (const listener of this.listeners) listener();
|
|
7190
|
+
}
|
|
7191
|
+
};
|
|
7192
|
+
/** Subscribe one rendered block to the judge status. */
|
|
7193
|
+
function useContextJudge(judge) {
|
|
7194
|
+
return (0, react.useSyncExternalStore)(judge.subscribe, judge.getSnapshot, judge.getSnapshot);
|
|
7195
|
+
}
|
|
7196
|
+
//#endregion
|
|
7197
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/team-settings.module.css.mjs
|
|
7198
|
+
const css$14 = ".b2IEWG_section{max-width:760px;color:var(--dsw-alias-label-primary);flex-direction:column;gap:12px;display:flex;container-type:inline-size}.b2IEWG_heading{margin:0;font-size:18px;font-weight:600}.b2IEWG_intro{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px;line-height:20px}.b2IEWG_rows{flex-direction:column;display:flex}.b2IEWG_row{border-bottom:1px solid var(--dsw-alias-border-l2);align-items:center;gap:12px;padding:16px 0;display:flex}.b2IEWG_row:last-child{border-bottom:none}.b2IEWG_rowText{flex-direction:column;flex:1;gap:4px;min-width:0;padding-right:48px;display:flex}.b2IEWG_title{font-size:14px;line-height:22px}.b2IEWG_desc{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}.b2IEWG_controls{flex:none;align-items:center;gap:12px;display:inline-flex}.b2IEWG_nameInput{width:200px;height:36px}.b2IEWG_identity{corner-shape:round;border-radius:50%;flex:none;width:40px;height:40px}.b2IEWG_identityImage{object-fit:cover;display:block}.b2IEWG_identityFallback{background:var(--dsw-alias-state-business-primary);color:var(--dsw-static-neutral-bluish-00);justify-content:center;align-items:center;font-size:16px;font-weight:600;line-height:40px;display:inline-flex}.b2IEWG_group{border-top:1px solid var(--dsw-alias-border-l2);flex-direction:column;display:flex}.b2IEWG_groupToggle{color:var(--dsw-alias-label-primary);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:6px;width:100%;min-width:0;padding:14px 0;display:flex}.b2IEWG_groupToggle:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.b2IEWG_groupChevron{color:var(--dsw-alias-label-tertiary);flex:none;display:inline-flex}.b2IEWG_groupTitle{flex:none;font-size:14px;line-height:22px}.b2IEWG_status{color:var(--dsw-alias-label-tertiary);text-align:right;align-items:center;gap:4px;min-width:0;margin-left:auto;font-size:12px;line-height:18px;display:inline-flex}.b2IEWG_statusIcon{color:currentColor;flex:none;width:14px;height:14px}.b2IEWG_status[data-context-judge=enabled]{color:var(--dsw-alias-label-secondary)}.b2IEWG_status[data-context-judge=enabled] .b2IEWG_statusIcon{color:var(--dsw-alias-state-success-primary)}.b2IEWG_status[data-context-judge=unavailable]{color:var(--dsw-alias-state-warn-label)}.b2IEWG_groupBody{flex-direction:column;padding-bottom:4px;display:flex}.b2IEWG_groupHint{color:var(--dsw-alias-label-tertiary);margin:0;padding-bottom:4px;font-size:12px;line-height:18px}.b2IEWG_clearRow{flex-wrap:wrap;align-items:center;gap:8px;padding-bottom:4px;display:flex}.b2IEWG_clearHint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:18px}.b2IEWG_environment{border-top:1px solid var(--dsw-alias-border-l2);padding-top:16px}.b2IEWG_footnote{color:var(--dsw-alias-label-tertiary);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.b2IEWG_link{color:var(--dsw-alias-brand-primary);cursor:pointer;text-decoration:none}.b2IEWG_link:hover{text-decoration:underline}.b2IEWG_link:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.b2IEWG_notice{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px;line-height:18px}.b2IEWG_state{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px;line-height:20px}.b2IEWG_stateAction{align-items:center;gap:12px;display:flex}@container (width<=420px){.b2IEWG_row{flex-direction:column;align-items:stretch;gap:12px}.b2IEWG_rowText{padding-right:0}.b2IEWG_nameInput{width:100%}.b2IEWG_controls,.b2IEWG_groupToggle{flex-wrap:wrap}.b2IEWG_status{text-align:left;align-items:flex-start;width:100%;margin-left:0}.b2IEWG_groupBody [class*=head]{flex-direction:column;align-items:flex-start;gap:4px}.b2IEWG_groupBody [class*=head]>*{flex:none}.b2IEWG_clearRow{flex-direction:column;align-items:flex-start}}";
|
|
7199
|
+
const tagId$14 = "@wowyuarm/dsh-agent-team/team-settings.module.css";
|
|
7078
7200
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$14) + "]") === null) {
|
|
7079
7201
|
const tag = document.createElement("style");
|
|
7080
7202
|
tag.dataset.plugin = "@wowyuarm/dsh-agent-team";
|
|
@@ -7082,38 +7204,51 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7082
7204
|
tag.textContent = css$14;
|
|
7083
7205
|
document.head.appendChild(tag);
|
|
7084
7206
|
}
|
|
7085
|
-
var
|
|
7086
|
-
"
|
|
7087
|
-
"
|
|
7088
|
-
"
|
|
7089
|
-
"
|
|
7090
|
-
"
|
|
7091
|
-
"
|
|
7092
|
-
"
|
|
7093
|
-
"
|
|
7094
|
-
"
|
|
7095
|
-
"
|
|
7096
|
-
"
|
|
7097
|
-
"
|
|
7098
|
-
"
|
|
7099
|
-
"
|
|
7100
|
-
"
|
|
7101
|
-
"
|
|
7102
|
-
"
|
|
7103
|
-
"
|
|
7207
|
+
var team_settings_module_css_default = {
|
|
7208
|
+
"clearHint": "b2IEWG_clearHint",
|
|
7209
|
+
"clearRow": "b2IEWG_clearRow",
|
|
7210
|
+
"controls": "b2IEWG_controls",
|
|
7211
|
+
"desc": "b2IEWG_desc",
|
|
7212
|
+
"environment": "b2IEWG_environment",
|
|
7213
|
+
"footnote": "b2IEWG_footnote",
|
|
7214
|
+
"group": "b2IEWG_group",
|
|
7215
|
+
"groupBody": "b2IEWG_groupBody",
|
|
7216
|
+
"groupChevron": "b2IEWG_groupChevron",
|
|
7217
|
+
"groupHint": "b2IEWG_groupHint",
|
|
7218
|
+
"groupTitle": "b2IEWG_groupTitle",
|
|
7219
|
+
"groupToggle": "b2IEWG_groupToggle",
|
|
7220
|
+
"heading": "b2IEWG_heading",
|
|
7221
|
+
"identity": "b2IEWG_identity",
|
|
7222
|
+
"identityFallback": "b2IEWG_identityFallback",
|
|
7223
|
+
"identityImage": "b2IEWG_identityImage",
|
|
7224
|
+
"intro": "b2IEWG_intro",
|
|
7225
|
+
"link": "b2IEWG_link",
|
|
7226
|
+
"nameInput": "b2IEWG_nameInput",
|
|
7227
|
+
"notice": "b2IEWG_notice",
|
|
7228
|
+
"row": "b2IEWG_row",
|
|
7229
|
+
"rowText": "b2IEWG_rowText",
|
|
7230
|
+
"rows": "b2IEWG_rows",
|
|
7231
|
+
"section": "b2IEWG_section",
|
|
7232
|
+
"state": "b2IEWG_state",
|
|
7233
|
+
"stateAction": "b2IEWG_stateAction",
|
|
7234
|
+
"status": "b2IEWG_status",
|
|
7235
|
+
"statusIcon": "b2IEWG_statusIcon",
|
|
7236
|
+
"title": "b2IEWG_title"
|
|
7104
7237
|
};
|
|
7105
7238
|
//#endregion
|
|
7106
|
-
//#region src/client/
|
|
7239
|
+
//#region src/client/TeamSettingsSection.tsx
|
|
7107
7240
|
/**
|
|
7108
|
-
* The
|
|
7109
|
-
* check, and the version
|
|
7241
|
+
* The Team's settings page: the Human's display name and avatar, the endpoint
|
|
7242
|
+
* the relatedness judge calls, the local environment check, and the version
|
|
7243
|
+
* footnote.
|
|
7110
7244
|
*
|
|
7111
|
-
* The page owns no durable fact and no copy of one
|
|
7112
|
-
*
|
|
7113
|
-
*
|
|
7114
|
-
*
|
|
7115
|
-
*
|
|
7116
|
-
*
|
|
7245
|
+
* The page owns no durable fact and no copy of one, and it holds its two
|
|
7246
|
+
* writable groups apart because they are two different documents: identity
|
|
7247
|
+
* arrives from the shared identity projection and writes through the Team
|
|
7248
|
+
* Remote, while the judge's endpoint is one group of the Team row's settings
|
|
7249
|
+
* section and writes through the settings provider. Neither group renders the
|
|
7250
|
+
* other's fields, and a failed write in either keeps the typed value and
|
|
7251
|
+
* reports the reason it was refused.
|
|
7117
7252
|
*/
|
|
7118
7253
|
/** Host-side avatar ceiling (`ATTACHMENT_MAX_BYTES`): the settings page refuses larger files before the round trip. */
|
|
7119
7254
|
const AVATAR_MAX_BYTES = 10 * 1024 * 1024;
|
|
@@ -7135,9 +7270,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7135
7270
|
const trimmed = (name ?? "").replace(/^@/, "").trim();
|
|
7136
7271
|
return trimmed === "" ? "H" : trimmed.slice(0, 1).toUpperCase();
|
|
7137
7272
|
}
|
|
7138
|
-
function
|
|
7273
|
+
function TeamSettingsSection(props) {
|
|
7139
7274
|
const { t, identity } = props;
|
|
7140
7275
|
const profile = useHumanIdentity(identity);
|
|
7276
|
+
const judgeForm = (0, react.useSyncExternalStore)(props.judgeForm.subscribe, props.judgeForm.getSnapshot);
|
|
7141
7277
|
const [draft, setDraft] = (0, react.useState)(void 0);
|
|
7142
7278
|
const [saving, setSaving] = (0, react.useState)(false);
|
|
7143
7279
|
const [uploading, setUploading] = (0, react.useState)(false);
|
|
@@ -7182,31 +7318,31 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7182
7318
|
if (failure !== void 0) setNotice(t("humanSettingsAvatarFailed", { message: failure }));
|
|
7183
7319
|
};
|
|
7184
7320
|
const pageHeader = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
|
|
7185
|
-
className:
|
|
7186
|
-
children: t("
|
|
7321
|
+
className: team_settings_module_css_default.heading,
|
|
7322
|
+
children: t("teamSettingsTitle")
|
|
7187
7323
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
7188
|
-
className:
|
|
7189
|
-
children: t("
|
|
7324
|
+
className: team_settings_module_css_default.intro,
|
|
7325
|
+
children: t("teamSettingsIntro")
|
|
7190
7326
|
})] });
|
|
7191
7327
|
if (profile.status === "loading" && profile.name === void 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7192
|
-
className:
|
|
7328
|
+
className: team_settings_module_css_default.section,
|
|
7193
7329
|
children: [pageHeader, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
7194
|
-
className:
|
|
7330
|
+
className: team_settings_module_css_default.state,
|
|
7195
7331
|
role: "status",
|
|
7196
7332
|
children: t("humanSettingsLoading")
|
|
7197
7333
|
})]
|
|
7198
7334
|
});
|
|
7199
7335
|
if (profile.name === void 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7200
|
-
className:
|
|
7336
|
+
className: team_settings_module_css_default.section,
|
|
7201
7337
|
children: [
|
|
7202
7338
|
pageHeader,
|
|
7203
7339
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
7204
|
-
className:
|
|
7340
|
+
className: team_settings_module_css_default.state,
|
|
7205
7341
|
role: "alert",
|
|
7206
7342
|
children: t("humanSettingsUnavailable", { message: profile.error ?? "" })
|
|
7207
7343
|
}),
|
|
7208
7344
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
7209
|
-
className:
|
|
7345
|
+
className: team_settings_module_css_default.stateAction,
|
|
7210
7346
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
7211
7347
|
variant: "outline",
|
|
7212
7348
|
onClick: () => {
|
|
@@ -7218,30 +7354,30 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7218
7354
|
]
|
|
7219
7355
|
});
|
|
7220
7356
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7221
|
-
className:
|
|
7357
|
+
className: team_settings_module_css_default.section,
|
|
7222
7358
|
children: [
|
|
7223
7359
|
pageHeader,
|
|
7224
7360
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7225
|
-
className:
|
|
7361
|
+
className: team_settings_module_css_default.rows,
|
|
7226
7362
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7227
|
-
className:
|
|
7363
|
+
className: team_settings_module_css_default.row,
|
|
7228
7364
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7229
|
-
className:
|
|
7365
|
+
className: team_settings_module_css_default.rowText,
|
|
7230
7366
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
7231
|
-
className:
|
|
7367
|
+
className: team_settings_module_css_default.title,
|
|
7232
7368
|
children: t("humanSettingsName")
|
|
7233
7369
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
7234
|
-
className:
|
|
7370
|
+
className: team_settings_module_css_default.desc,
|
|
7235
7371
|
children: t("humanSettingsNameHint")
|
|
7236
7372
|
})]
|
|
7237
7373
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("form", {
|
|
7238
|
-
className:
|
|
7374
|
+
className: team_settings_module_css_default.controls,
|
|
7239
7375
|
onSubmit: (event) => {
|
|
7240
7376
|
event.preventDefault();
|
|
7241
7377
|
submitName();
|
|
7242
7378
|
},
|
|
7243
7379
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
7244
|
-
className:
|
|
7380
|
+
className: team_settings_module_css_default.nameInput,
|
|
7245
7381
|
"aria-label": t("humanSettingsName"),
|
|
7246
7382
|
"aria-invalid": emptyName || void 0,
|
|
7247
7383
|
value: name,
|
|
@@ -7257,26 +7393,26 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7257
7393
|
})]
|
|
7258
7394
|
})]
|
|
7259
7395
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7260
|
-
className:
|
|
7396
|
+
className: team_settings_module_css_default.row,
|
|
7261
7397
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7262
|
-
className:
|
|
7398
|
+
className: team_settings_module_css_default.rowText,
|
|
7263
7399
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
7264
|
-
className:
|
|
7400
|
+
className: team_settings_module_css_default.title,
|
|
7265
7401
|
children: t("humanSettingsAvatar")
|
|
7266
7402
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
7267
|
-
className:
|
|
7403
|
+
className: team_settings_module_css_default.desc,
|
|
7268
7404
|
children: t("humanSettingsAvatarHint")
|
|
7269
7405
|
})]
|
|
7270
7406
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7271
|
-
className:
|
|
7407
|
+
className: team_settings_module_css_default.controls,
|
|
7272
7408
|
children: [
|
|
7273
7409
|
avatar.src === void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
7274
|
-
className: `${
|
|
7410
|
+
className: `${team_settings_module_css_default.identity} ${team_settings_module_css_default.identityFallback}`,
|
|
7275
7411
|
"data-avatar": "initial",
|
|
7276
7412
|
"aria-hidden": "true",
|
|
7277
7413
|
children: avatarInitial(profile.name)
|
|
7278
7414
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
|
|
7279
|
-
className: `${
|
|
7415
|
+
className: `${team_settings_module_css_default.identity} ${team_settings_module_css_default.identityImage}`,
|
|
7280
7416
|
"data-avatar": "image",
|
|
7281
7417
|
src: avatar.src,
|
|
7282
7418
|
alt: "",
|
|
@@ -7313,12 +7449,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7313
7449
|
})]
|
|
7314
7450
|
})]
|
|
7315
7451
|
}),
|
|
7316
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
7452
|
+
judgeForm === void 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(JudgeGroup, {
|
|
7317
7453
|
t,
|
|
7318
|
-
|
|
7454
|
+
form: judgeForm,
|
|
7455
|
+
judge: props.judge,
|
|
7456
|
+
keyConfigured: props.keyConfigured
|
|
7457
|
+
}),
|
|
7458
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
7459
|
+
className: team_settings_module_css_default.environment,
|
|
7460
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(EnvironmentCheck, {
|
|
7461
|
+
t,
|
|
7462
|
+
environment: props.environment
|
|
7463
|
+
})
|
|
7319
7464
|
}),
|
|
7320
7465
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7321
|
-
className:
|
|
7466
|
+
className: team_settings_module_css_default.footnote,
|
|
7322
7467
|
children: [
|
|
7323
7468
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("humanSettingsVersion", { version: profile.version ?? "" }) }),
|
|
7324
7469
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
@@ -7326,14 +7471,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7326
7471
|
children: "·"
|
|
7327
7472
|
}),
|
|
7328
7473
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
7329
|
-
className:
|
|
7474
|
+
className: team_settings_module_css_default.link,
|
|
7330
7475
|
href: profile.repoUrl ?? "",
|
|
7331
7476
|
target: "_blank",
|
|
7332
7477
|
rel: "noreferrer",
|
|
7333
7478
|
children: "GitHub"
|
|
7334
7479
|
}),
|
|
7335
7480
|
profile.updateAvailable && profile.latestVersion !== void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
7336
|
-
className:
|
|
7481
|
+
className: team_settings_module_css_default.link,
|
|
7337
7482
|
href: `${profile.repoUrl ?? ""}/releases`,
|
|
7338
7483
|
target: "_blank",
|
|
7339
7484
|
rel: "noreferrer",
|
|
@@ -7342,17 +7487,419 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7342
7487
|
]
|
|
7343
7488
|
}),
|
|
7344
7489
|
emptyName && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
7345
|
-
className:
|
|
7490
|
+
className: team_settings_module_css_default.notice,
|
|
7346
7491
|
children: t("humanSettingsNameEmpty")
|
|
7347
7492
|
}),
|
|
7348
7493
|
notice === null ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
7349
|
-
className:
|
|
7494
|
+
className: team_settings_module_css_default.notice,
|
|
7350
7495
|
role: "alert",
|
|
7351
7496
|
children: notice
|
|
7352
7497
|
})
|
|
7353
7498
|
]
|
|
7354
7499
|
});
|
|
7355
7500
|
}
|
|
7501
|
+
/**
|
|
7502
|
+
* The judge's endpoint as one collapsed row: the state of jev on the line
|
|
7503
|
+
* itself, and the three controls that decide it behind a disclosure.
|
|
7504
|
+
*
|
|
7505
|
+
* Collapsed is the default because the endpoint is set once and then left
|
|
7506
|
+
* alone, while its state is worth seeing every time the page opens — so the
|
|
7507
|
+
* row carries the answer and the controls wait. The status is read rather than
|
|
7508
|
+
* derived, because a deployment may mount a judge from configuration this page
|
|
7509
|
+
* cannot see, and it states what the Host answered rather than predicting it.
|
|
7510
|
+
*/
|
|
7511
|
+
function JudgeGroup(props) {
|
|
7512
|
+
const { t, form, judge, keyConfigured } = props;
|
|
7513
|
+
const { report } = useContextJudge(judge);
|
|
7514
|
+
const state = (0, react.useSyncExternalStore)(form.subscribe, form.getSnapshot, form.getSnapshot);
|
|
7515
|
+
const actions = form.actions();
|
|
7516
|
+
const [open, setOpen] = (0, react.useState)(false);
|
|
7517
|
+
const [clearing, setClearing] = (0, react.useState)(false);
|
|
7518
|
+
const [clearFailed, setClearFailed] = (0, react.useState)(false);
|
|
7519
|
+
const configured = keyConfigured();
|
|
7520
|
+
const disabled = !state.shell.writable;
|
|
7521
|
+
const labels = {
|
|
7522
|
+
overridden: t("teamSettingsOverridden"),
|
|
7523
|
+
reset: t("teamSettingsReset"),
|
|
7524
|
+
invalid: t("teamSettingsInvalid")
|
|
7525
|
+
};
|
|
7526
|
+
const field = (name) => state.fields[name];
|
|
7527
|
+
const clear = async () => {
|
|
7528
|
+
setClearing(true);
|
|
7529
|
+
setClearFailed(false);
|
|
7530
|
+
const landed = await form.clearKey();
|
|
7531
|
+
setClearing(false);
|
|
7532
|
+
if (!landed) setClearFailed(true);
|
|
7533
|
+
};
|
|
7534
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7535
|
+
className: team_settings_module_css_default.group,
|
|
7536
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
7537
|
+
type: "button",
|
|
7538
|
+
className: team_settings_module_css_default.groupToggle,
|
|
7539
|
+
"aria-expanded": open,
|
|
7540
|
+
onClick: () => {
|
|
7541
|
+
setOpen((value) => !value);
|
|
7542
|
+
},
|
|
7543
|
+
children: [
|
|
7544
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
7545
|
+
className: team_settings_module_css_default.groupChevron,
|
|
7546
|
+
"aria-hidden": "true",
|
|
7547
|
+
children: open ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronRightOutlineRegular, { size: 14 })
|
|
7548
|
+
}),
|
|
7549
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
7550
|
+
className: team_settings_module_css_default.groupTitle,
|
|
7551
|
+
children: t("teamJudgeGroupTitle")
|
|
7552
|
+
}),
|
|
7553
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(JudgeStatus, {
|
|
7554
|
+
t,
|
|
7555
|
+
report
|
|
7556
|
+
})
|
|
7557
|
+
]
|
|
7558
|
+
}), open ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7559
|
+
className: team_settings_module_css_default.groupBody,
|
|
7560
|
+
role: "group",
|
|
7561
|
+
"aria-label": t("teamJudgeGroupTitle"),
|
|
7562
|
+
"data-team-judge": true,
|
|
7563
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
7564
|
+
className: team_settings_module_css_default.groupHint,
|
|
7565
|
+
children: t("teamJudgeGroupHint")
|
|
7566
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.SettingsForm, {
|
|
7567
|
+
labels: {
|
|
7568
|
+
unavailable: t("teamSettingsUnavailable"),
|
|
7569
|
+
readOnly: t("teamSettingsReadOnly"),
|
|
7570
|
+
saveFailed: t("teamSettingsSaveFailed"),
|
|
7571
|
+
save: t("teamSettingsSave"),
|
|
7572
|
+
saving: t("teamSettingsSaving")
|
|
7573
|
+
},
|
|
7574
|
+
state: state.shell,
|
|
7575
|
+
onSave: actions.save,
|
|
7576
|
+
onDiscard: actions.discard,
|
|
7577
|
+
children: [
|
|
7578
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.SettingsValueField, {
|
|
7579
|
+
id: "team-judge-api-base",
|
|
7580
|
+
label: t("teamJudgeApiBase"),
|
|
7581
|
+
text: field("apiBase").text,
|
|
7582
|
+
overridden: field("apiBase").overridden,
|
|
7583
|
+
invalid: field("apiBase").invalid,
|
|
7584
|
+
overriddenLabel: labels.overridden,
|
|
7585
|
+
resetLabel: labels.reset,
|
|
7586
|
+
invalidLabel: labels.invalid,
|
|
7587
|
+
disabled,
|
|
7588
|
+
onEdit: (text) => {
|
|
7589
|
+
actions.edit("apiBase", text);
|
|
7590
|
+
},
|
|
7591
|
+
onReset: () => {
|
|
7592
|
+
actions.resetField("apiBase");
|
|
7593
|
+
}
|
|
7594
|
+
}),
|
|
7595
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.SettingsValueField, {
|
|
7596
|
+
id: "team-judge-model",
|
|
7597
|
+
label: t("teamJudgeModel"),
|
|
7598
|
+
text: field("model").text,
|
|
7599
|
+
overridden: field("model").overridden,
|
|
7600
|
+
invalid: field("model").invalid,
|
|
7601
|
+
overriddenLabel: labels.overridden,
|
|
7602
|
+
resetLabel: labels.reset,
|
|
7603
|
+
invalidLabel: labels.invalid,
|
|
7604
|
+
disabled,
|
|
7605
|
+
onEdit: (text) => {
|
|
7606
|
+
actions.edit("model", text);
|
|
7607
|
+
},
|
|
7608
|
+
onReset: () => {
|
|
7609
|
+
actions.resetField("model");
|
|
7610
|
+
}
|
|
7611
|
+
}),
|
|
7612
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.SettingsSecretField, {
|
|
7613
|
+
id: "team-judge-api-key",
|
|
7614
|
+
label: t("teamJudgeKey"),
|
|
7615
|
+
hint: t("teamJudgeKeyHint"),
|
|
7616
|
+
text: field("apiKey").text,
|
|
7617
|
+
configured,
|
|
7618
|
+
stateLabel: configured ? t("teamJudgeKeySet") : t("teamJudgeKeyUnset"),
|
|
7619
|
+
disabled,
|
|
7620
|
+
onEdit: (text) => {
|
|
7621
|
+
actions.edit("apiKey", text);
|
|
7622
|
+
}
|
|
7623
|
+
}),
|
|
7624
|
+
configured ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
7625
|
+
className: team_settings_module_css_default.clearRow,
|
|
7626
|
+
children: [
|
|
7627
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
7628
|
+
variant: "outline",
|
|
7629
|
+
size: "sm",
|
|
7630
|
+
disabled: disabled || state.shell.dirty || clearing,
|
|
7631
|
+
onClick: () => {
|
|
7632
|
+
clear();
|
|
7633
|
+
},
|
|
7634
|
+
children: t("teamJudgeClearKey")
|
|
7635
|
+
}),
|
|
7636
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
7637
|
+
className: team_settings_module_css_default.clearHint,
|
|
7638
|
+
children: state.shell.dirty ? t("teamJudgeClearBlocked") : t("teamJudgeClearHint")
|
|
7639
|
+
}),
|
|
7640
|
+
clearFailed ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
7641
|
+
className: team_settings_module_css_default.notice,
|
|
7642
|
+
role: "status",
|
|
7643
|
+
children: t("teamJudgeClearFailed")
|
|
7644
|
+
}) : null
|
|
7645
|
+
]
|
|
7646
|
+
}) : null
|
|
7647
|
+
]
|
|
7648
|
+
})]
|
|
7649
|
+
}) : null]
|
|
7650
|
+
});
|
|
7651
|
+
}
|
|
7652
|
+
/** The three glyphs, drawn at the 16px seat the settings page uses for state marks. */
|
|
7653
|
+
const ICONS = {
|
|
7654
|
+
ok: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M3 8.5 6.5 12 13 4.5" }),
|
|
7655
|
+
off: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
7656
|
+
cx: "8",
|
|
7657
|
+
cy: "8",
|
|
7658
|
+
r: "6"
|
|
7659
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M5.6 8h4.8" })] }),
|
|
7660
|
+
warn: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
7661
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M8 2.5 14.6 13.6H1.4z" }),
|
|
7662
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M8 6.6v3.2" }),
|
|
7663
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M8 11.9h.01" })
|
|
7664
|
+
] })
|
|
7665
|
+
};
|
|
7666
|
+
/**
|
|
7667
|
+
* The judge's live status in one line, inside the row that carries it. The
|
|
7668
|
+
* verdict is stated as text and an icon, never by color alone, and nothing is
|
|
7669
|
+
* said before the first read settles: the row then stands as a bare title.
|
|
7670
|
+
*/
|
|
7671
|
+
function JudgeStatus({ t, report }) {
|
|
7672
|
+
if (report === void 0) return null;
|
|
7673
|
+
const verdict = report.enabled ? "enabled" : report.reason ?? "unavailable";
|
|
7674
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
7675
|
+
className: team_settings_module_css_default.status,
|
|
7676
|
+
"data-context-judge": verdict,
|
|
7677
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
7678
|
+
className: team_settings_module_css_default.statusIcon,
|
|
7679
|
+
viewBox: "0 0 16 16",
|
|
7680
|
+
fill: "none",
|
|
7681
|
+
stroke: "currentColor",
|
|
7682
|
+
strokeWidth: "1.5",
|
|
7683
|
+
strokeLinecap: "round",
|
|
7684
|
+
strokeLinejoin: "round",
|
|
7685
|
+
"aria-hidden": "true",
|
|
7686
|
+
children: ICONS[report.enabled ? "ok" : report.reason === "no-key" ? "off" : "warn"]
|
|
7687
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: report.enabled ? t("teamJudgeReady") : report.reason === "no-key" ? t("teamJudgeNoKey") : t("teamJudgeUnavailable") })]
|
|
7688
|
+
});
|
|
7689
|
+
}
|
|
7690
|
+
//#endregion
|
|
7691
|
+
//#region src/client/judge-form.ts
|
|
7692
|
+
/**
|
|
7693
|
+
* The Team settings page's staged form over the judge's endpoint.
|
|
7694
|
+
*
|
|
7695
|
+
* The page edits one group of the Team row's settings section: the `jev`
|
|
7696
|
+
* endpoint the relatedness judge is mounted from. The identity fields that
|
|
7697
|
+
* share that section belong to the Human profile rows and are never rendered
|
|
7698
|
+
* here, so this form reaches its values through a projection — the shared form
|
|
7699
|
+
* model addresses one flat section, and the adapter below maps each control to
|
|
7700
|
+
* the path it really lives at.
|
|
7701
|
+
*
|
|
7702
|
+
* The key literal is the one control that is not read back: the Host redacts
|
|
7703
|
+
* it, so its draft starts blank on every load, a blank draft writes nothing,
|
|
7704
|
+
* and removing a stored literal is an explicit clear rather than an empty
|
|
7705
|
+
* string.
|
|
7706
|
+
*/
|
|
7707
|
+
/** The group inside the Team row's settings section that this form edits. */
|
|
7708
|
+
const JUDGE_GROUP = "jev";
|
|
7709
|
+
/** Where each control's value lives inside the Team row's settings section. */
|
|
7710
|
+
const FIELD_PATHS = {
|
|
7711
|
+
apiBase: [JUDGE_GROUP, "apiBase"],
|
|
7712
|
+
model: [JUDGE_GROUP, "model"],
|
|
7713
|
+
apiKey: [JUDGE_GROUP, "apiKey"]
|
|
7714
|
+
};
|
|
7715
|
+
/** Read the judge group of a section layer as a plain record. */
|
|
7716
|
+
function groupOf(layer) {
|
|
7717
|
+
if (layer === null || typeof layer !== "object") return void 0;
|
|
7718
|
+
const value = layer[JUDGE_GROUP];
|
|
7719
|
+
return value !== null && typeof value === "object" ? value : void 0;
|
|
7720
|
+
}
|
|
7721
|
+
/**
|
|
7722
|
+
* Project one section layer onto the controls this page renders. A control the
|
|
7723
|
+
* layer does not carry stays absent rather than becoming an empty string, which
|
|
7724
|
+
* is what the model reads to decide whether a field is overridden and what a
|
|
7725
|
+
* reset reverts to.
|
|
7726
|
+
* @param layer - a section, or one of its composition layers.
|
|
7727
|
+
* @returns the flat control values, or undefined when the layer carries none.
|
|
7728
|
+
*/
|
|
7729
|
+
function flatten(layer) {
|
|
7730
|
+
if (layer === null || typeof layer !== "object") return void 0;
|
|
7731
|
+
const group = groupOf(layer);
|
|
7732
|
+
const flat = {};
|
|
7733
|
+
for (const [field, path] of Object.entries(FIELD_PATHS)) if (group !== void 0 && Object.hasOwn(group, path[1])) flat[field] = group[path[1]];
|
|
7734
|
+
return flat;
|
|
7735
|
+
}
|
|
7736
|
+
/** Address one control's edit at the path it really lives at. */
|
|
7737
|
+
function locate(op) {
|
|
7738
|
+
const path = FIELD_PATHS[op.path[0]];
|
|
7739
|
+
return op.op === "set" ? {
|
|
7740
|
+
op: "set",
|
|
7741
|
+
path: [...path],
|
|
7742
|
+
value: op.value
|
|
7743
|
+
} : {
|
|
7744
|
+
op: "unset",
|
|
7745
|
+
path: [...path]
|
|
7746
|
+
};
|
|
7747
|
+
}
|
|
7748
|
+
/** The shared form model's view of this page's controls, over the real section. */
|
|
7749
|
+
var TeamJudgeScope = class {
|
|
7750
|
+
section;
|
|
7751
|
+
constructor(section) {
|
|
7752
|
+
this.section = section;
|
|
7753
|
+
}
|
|
7754
|
+
getSnapshot() {
|
|
7755
|
+
const snapshot = this.section.getSnapshot();
|
|
7756
|
+
return {
|
|
7757
|
+
status: snapshot.status,
|
|
7758
|
+
value: flatten(snapshot.value),
|
|
7759
|
+
base: flatten(snapshot.base),
|
|
7760
|
+
user: flatten(snapshot.user),
|
|
7761
|
+
writable: snapshot.writable,
|
|
7762
|
+
revision: snapshot.revision
|
|
7763
|
+
};
|
|
7764
|
+
}
|
|
7765
|
+
subscribe(listener) {
|
|
7766
|
+
return this.section.subscribe(listener);
|
|
7767
|
+
}
|
|
7768
|
+
mutate(ops, expectedRevision) {
|
|
7769
|
+
return this.section.mutate(ops.map((op) => locate(op)), expectedRevision);
|
|
7770
|
+
}
|
|
7771
|
+
};
|
|
7772
|
+
var TeamJudgeForm = class {
|
|
7773
|
+
section;
|
|
7774
|
+
judge;
|
|
7775
|
+
model;
|
|
7776
|
+
scope;
|
|
7777
|
+
store;
|
|
7778
|
+
/**
|
|
7779
|
+
* @param section - the Team row's configuration form, as the settings provider serves it.
|
|
7780
|
+
* @param judge - the status projection a landed write re-reads.
|
|
7781
|
+
*/
|
|
7782
|
+
constructor(section, judge) {
|
|
7783
|
+
this.section = section;
|
|
7784
|
+
this.judge = judge;
|
|
7785
|
+
this.scope = new TeamJudgeScope(section);
|
|
7786
|
+
this.model = new _deepseek_ai_dsh_client_ui_primitives.SettingsFormModel(this.scope, [(0, _deepseek_ai_dsh_client_ui_primitives.settingsTextField)("apiBase"), (0, _deepseek_ai_dsh_client_ui_primitives.settingsTextField)("model")], [{
|
|
7787
|
+
field: "apiKey",
|
|
7788
|
+
write: (text) => section.mutate([{
|
|
7789
|
+
op: "set",
|
|
7790
|
+
path: [...FIELD_PATHS.apiKey],
|
|
7791
|
+
value: text
|
|
7792
|
+
}])
|
|
7793
|
+
}]);
|
|
7794
|
+
this.store = this.model.bind(() => this.project());
|
|
7795
|
+
}
|
|
7796
|
+
/** The form state the page renders. */
|
|
7797
|
+
getSnapshot = () => this.store.getSnapshot();
|
|
7798
|
+
/** Observe the form state. */
|
|
7799
|
+
subscribe = (listener) => this.store.subscribe(listener);
|
|
7800
|
+
/** Stage a draft, reset a field, save every staged edit, or discard them. */
|
|
7801
|
+
actions() {
|
|
7802
|
+
return {
|
|
7803
|
+
...this.model.actions(),
|
|
7804
|
+
save: () => {
|
|
7805
|
+
this.save();
|
|
7806
|
+
}
|
|
7807
|
+
};
|
|
7808
|
+
}
|
|
7809
|
+
/**
|
|
7810
|
+
* Remove the stored key literal: the judge unmounts and the status re-reads.
|
|
7811
|
+
*
|
|
7812
|
+
* Deliberately its own write rather than a staged edit — the shared form
|
|
7813
|
+
* model has no clear for a write-only control, and an empty draft must keep
|
|
7814
|
+
* the stored literal instead of clearing it. The page only offers this while
|
|
7815
|
+
* no draft is staged, because a write moves the document revision the staged
|
|
7816
|
+
* save is fenced to.
|
|
7817
|
+
* @returns whether the Host accepted the clear.
|
|
7818
|
+
*/
|
|
7819
|
+
async clearKey() {
|
|
7820
|
+
let landed;
|
|
7821
|
+
try {
|
|
7822
|
+
landed = await this.section.mutate([{
|
|
7823
|
+
op: "unset",
|
|
7824
|
+
path: [...FIELD_PATHS.apiKey]
|
|
7825
|
+
}]);
|
|
7826
|
+
} catch {
|
|
7827
|
+
return false;
|
|
7828
|
+
}
|
|
7829
|
+
if (!landed) return false;
|
|
7830
|
+
await this.judge.refresh();
|
|
7831
|
+
return true;
|
|
7832
|
+
}
|
|
7833
|
+
dispose() {
|
|
7834
|
+
this.model.dispose();
|
|
7835
|
+
}
|
|
7836
|
+
/** Build the page's state from the model's reads and drafts. */
|
|
7837
|
+
project() {
|
|
7838
|
+
const fields = {};
|
|
7839
|
+
for (const field of Object.keys(FIELD_PATHS)) fields[field] = this.model.field(field);
|
|
7840
|
+
return {
|
|
7841
|
+
shell: this.model.shell(),
|
|
7842
|
+
fields
|
|
7843
|
+
};
|
|
7844
|
+
}
|
|
7845
|
+
/** Write every staged edit, then re-read the status the Host now serves. */
|
|
7846
|
+
async save() {
|
|
7847
|
+
await this.model.save();
|
|
7848
|
+
if (!this.model.shell().failed) await this.judge.refresh();
|
|
7849
|
+
}
|
|
7850
|
+
};
|
|
7851
|
+
/**
|
|
7852
|
+
* The form's seat on the page, as an observable rather than a value.
|
|
7853
|
+
*
|
|
7854
|
+
* The form exists only while this deployment serves a settings document, and
|
|
7855
|
+
* that service may arrive after the page's first render. A slot entry's
|
|
7856
|
+
* injected props are computed once and cached for the entry's lifetime, so a
|
|
7857
|
+
* value handed over at that moment would freeze the answer: the group would
|
|
7858
|
+
* never appear until a reload. The page therefore observes this seat, which
|
|
7859
|
+
* the service's arrival and departure both publish through.
|
|
7860
|
+
*/
|
|
7861
|
+
var TeamJudgeFormSeat = class {
|
|
7862
|
+
form;
|
|
7863
|
+
listeners = /* @__PURE__ */ new Set();
|
|
7864
|
+
getSnapshot = () => this.form;
|
|
7865
|
+
/**
|
|
7866
|
+
* Observe the form, without reading anything on subscribe: the seat carries
|
|
7867
|
+
* no remote state of its own, so a subscriber renders whatever is held now.
|
|
7868
|
+
* @param listener - invoked after every hold or release.
|
|
7869
|
+
* @returns the disposer removing this listener.
|
|
7870
|
+
*/
|
|
7871
|
+
subscribe = (listener) => {
|
|
7872
|
+
this.listeners.add(listener);
|
|
7873
|
+
return () => {
|
|
7874
|
+
this.listeners.delete(listener);
|
|
7875
|
+
};
|
|
7876
|
+
};
|
|
7877
|
+
/**
|
|
7878
|
+
* Publish the form the settings service answers with.
|
|
7879
|
+
* @param form - the form built over that service's section scope.
|
|
7880
|
+
*/
|
|
7881
|
+
hold(form) {
|
|
7882
|
+
this.form = form;
|
|
7883
|
+
this.publish();
|
|
7884
|
+
}
|
|
7885
|
+
/**
|
|
7886
|
+
* Withdraw the form when its service goes away. Only the holder of the form
|
|
7887
|
+
* in place can withdraw it, so a replacement is never cleared by the
|
|
7888
|
+
* departure of the one it replaced.
|
|
7889
|
+
* @param form - the form this caller holds.
|
|
7890
|
+
*/
|
|
7891
|
+
release(form) {
|
|
7892
|
+
if (this.form !== form) return;
|
|
7893
|
+
this.form = void 0;
|
|
7894
|
+
this.publish();
|
|
7895
|
+
}
|
|
7896
|
+
dispose() {
|
|
7897
|
+
this.listeners.clear();
|
|
7898
|
+
}
|
|
7899
|
+
publish() {
|
|
7900
|
+
for (const listener of this.listeners) listener();
|
|
7901
|
+
}
|
|
7902
|
+
};
|
|
7356
7903
|
//#endregion
|
|
7357
7904
|
//#region src/client/attachment-preview.ts
|
|
7358
7905
|
/** Base64 one file payload in chunks so large uploads stay off the call-stack limit. */
|
|
@@ -7364,8 +7911,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7364
7911
|
}
|
|
7365
7912
|
/**
|
|
7366
7913
|
* Thumbnail data URLs live in one session-wide cache: message lists re-render
|
|
7367
|
-
* often, and each miss costs a Host round-trip plus a base64 decode.
|
|
7368
|
-
*
|
|
7914
|
+
* often, and each miss costs a Host round-trip plus a base64 decode. Only a
|
|
7915
|
+
* settled answer is cached: a gone entry resolves to `null` so the chip stays
|
|
7916
|
+
* on the expired label, while an unknown failure caches nothing and lets a
|
|
7917
|
+
* later mount retry the Host.
|
|
7369
7918
|
*/
|
|
7370
7919
|
const dataUrlCache = /* @__PURE__ */ new Map();
|
|
7371
7920
|
function cachedAttachmentDataUrl(attachmentId) {
|
|
@@ -7375,7 +7924,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7375
7924
|
const cached = dataUrlCache.get(attachment.attachmentId);
|
|
7376
7925
|
if (cached !== void 0) return cached;
|
|
7377
7926
|
const result = await getAttachment({ attachmentId: attachment.attachmentId });
|
|
7378
|
-
|
|
7927
|
+
if (!result.ok) {
|
|
7928
|
+
if (result.error.code === "team/attachment-not-found") dataUrlCache.set(attachment.attachmentId, null);
|
|
7929
|
+
return null;
|
|
7930
|
+
}
|
|
7931
|
+
const url = attachment.mediaType.startsWith("image/") ? `data:${attachment.mediaType};base64,${result.value.bytesBase64}` : null;
|
|
7379
7932
|
dataUrlCache.set(attachment.attachmentId, url);
|
|
7380
7933
|
return url;
|
|
7381
7934
|
}
|
|
@@ -7804,8 +8357,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7804
8357
|
}
|
|
7805
8358
|
};
|
|
7806
8359
|
//#endregion
|
|
7807
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
7808
|
-
const css$13 = ".
|
|
8360
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/team.module.css.mjs
|
|
8361
|
+
const css$13 = ".r97EGW_footerStack{flex:none;align-self:flex-end;width:100%;height:42px;margin:8px 0 0;display:flex}.r97EGW_footerAction,.r97EGW_settingsAction{border-radius:var(--dsw-radius-md,12px);box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;width:calc(100% + 4px);height:42px;padding:0 10px 0 8px;font-family:inherit;font-size:14px;line-height:22px;display:flex;overflow:hidden}.r97EGW_footerAction{margin:0 -2px}.r97EGW_settingsAction{margin:4px -2px}.r97EGW_footerAction:hover,.r97EGW_footerAction:focus-visible,.r97EGW_settingsAction:hover,.r97EGW_settingsAction:focus-visible{background:var(--dsw-alias-interactive-bg-hover)}.r97EGW_footerAction:focus-visible,.r97EGW_settingsAction:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.r97EGW_footerAction.r97EGW_rail,.r97EGW_settingsAction.r97EGW_rail{corner-shape:round;border-radius:50%;justify-content:center;width:36px;height:36px;padding:0}.r97EGW_footerAction.r97EGW_rail{margin:0}.r97EGW_settingsAction.r97EGW_rail{margin:8px 0 10px}.r97EGW_railStack{align-items:center;width:36px;height:36px;margin:0}";
|
|
7809
8362
|
const tagId$13 = "@wowyuarm/dsh-agent-team/team.module.css";
|
|
7810
8363
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$13) + "]") === null) {
|
|
7811
8364
|
const tag = document.createElement("style");
|
|
@@ -7815,11 +8368,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7815
8368
|
document.head.appendChild(tag);
|
|
7816
8369
|
}
|
|
7817
8370
|
var team_module_css_default = {
|
|
7818
|
-
"footerAction": "
|
|
7819
|
-
"footerStack": "
|
|
7820
|
-
"rail": "
|
|
7821
|
-
"railStack": "
|
|
7822
|
-
"settingsAction": "
|
|
8371
|
+
"footerAction": "r97EGW_footerAction",
|
|
8372
|
+
"footerStack": "r97EGW_footerStack",
|
|
8373
|
+
"rail": "r97EGW_rail",
|
|
8374
|
+
"railStack": "r97EGW_railStack",
|
|
8375
|
+
"settingsAction": "r97EGW_settingsAction"
|
|
7823
8376
|
};
|
|
7824
8377
|
//#endregion
|
|
7825
8378
|
//#region src/client/TeamFooterAction.tsx
|
|
@@ -8302,8 +8855,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8302
8855
|
};
|
|
8303
8856
|
}
|
|
8304
8857
|
//#endregion
|
|
8305
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
8306
|
-
const css$12 = ".
|
|
8858
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/state-dot.module.css.mjs
|
|
8859
|
+
const css$12 = ".QJbCsG_quiet{corner-shape:round;border-radius:50%;flex:none;display:inline-block;position:relative}.QJbCsG_quiet[data-variant=todo]{border:1px solid var(--dsw-alias-label-tertiary)}.QJbCsG_quiet[data-variant=quiet]{color:var(--dsw-alias-label-tertiary)}.QJbCsG_quiet[data-variant=quiet]:before{corner-shape:round;content:\"\";opacity:.1;background:currentColor;border-radius:50%;position:absolute;inset:0}.QJbCsG_quiet[data-variant=quiet]:after{corner-shape:round;content:\"\";background:currentColor;border-radius:50%;position:absolute;inset:20%}";
|
|
8307
8860
|
const tagId$12 = "@wowyuarm/dsh-agent-team/state-dot.module.css";
|
|
8308
8861
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$12) + "]") === null) {
|
|
8309
8862
|
const tag = document.createElement("style");
|
|
@@ -8312,7 +8865,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8312
8865
|
tag.textContent = css$12;
|
|
8313
8866
|
document.head.appendChild(tag);
|
|
8314
8867
|
}
|
|
8315
|
-
var state_dot_module_css_default = { "quiet": "
|
|
8868
|
+
var state_dot_module_css_default = { "quiet": "QJbCsG_quiet" };
|
|
8316
8869
|
//#endregion
|
|
8317
8870
|
//#region src/client/TeamStateDot.tsx
|
|
8318
8871
|
/**
|
|
@@ -8337,8 +8890,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8337
8890
|
});
|
|
8338
8891
|
}
|
|
8339
8892
|
//#endregion
|
|
8340
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
8341
|
-
const css$11 = "
|
|
8893
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/presence.module.css.mjs
|
|
8894
|
+
const css$11 = "._x8QRq_target{flex:0 0 14px;justify-content:center;align-items:center;display:inline-flex}";
|
|
8342
8895
|
const tagId$11 = "@wowyuarm/dsh-agent-team/presence.module.css";
|
|
8343
8896
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$11) + "]") === null) {
|
|
8344
8897
|
const tag = document.createElement("style");
|
|
@@ -8347,7 +8900,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8347
8900
|
tag.textContent = css$11;
|
|
8348
8901
|
document.head.appendChild(tag);
|
|
8349
8902
|
}
|
|
8350
|
-
var presence_module_css_default = { "target": "
|
|
8903
|
+
var presence_module_css_default = { "target": "_x8QRq_target" };
|
|
8351
8904
|
//#endregion
|
|
8352
8905
|
//#region src/client/TeamPresenceDot.tsx
|
|
8353
8906
|
function presenceLabel(status, t) {
|
|
@@ -8386,8 +8939,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8386
8939
|
});
|
|
8387
8940
|
}
|
|
8388
8941
|
//#endregion
|
|
8389
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
8390
|
-
const css$10 = "html[data-agent-team-mode=team] button[class*=newSession]{display:none}html[data-agent-team-mode=team] nav[class*=panelList]{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:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.d0xfxa_workspaceTrigger{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md,12px);box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;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:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-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{border-radius:var(--dsw-radius-md,12px);color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;background:0 0;border:0;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:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-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-specific-sidebar-fill)), 0 0 0 2px var(--dsw-specific-sidebar-fill);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{border-radius:var(--dsw-radius-xs,4px);color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;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:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-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:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.d0xfxa_textButton{border-radius:var(--dsw-radius-sm,5px);color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;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:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-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{border-radius:var(--dsw-radius-md,12px);color:var(--dsw-alias-label-primary);align-items:center;min-height:30px;display:flex;position:relative}.d0xfxa_channelSelect{border-radius:var(--dsw-radius-md,12px);box-sizing:border-box;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;flex:1;align-items:center;min-width:0;min-height:30px;padding:3px 4px 3px 8px;display:flex}.d0xfxa_channelSelect:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-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{border-radius:var(--dsw-radius-md,12px);color:var(--dsw-alias-label-primary);align-items:center;min-height:38px;display:flex;position:relative}.d0xfxa_agentSelect{border-radius:var(--dsw-radius-md,12px);box-sizing:border-box;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;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:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.d0xfxa_agentSelect[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover);border-radius:var(--dsw-radius-md,12px)}.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{border-radius:var(--dsw-radius-xs,4px);color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;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:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-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}";
|
|
8942
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/sidebar.module.css.mjs
|
|
8943
|
+
const css$10 = "html[data-agent-team-mode=team] button[class*=newSession]{display:none}html[data-agent-team-mode=team] nav[class*=panelList]{display:none}.LIpgUW_workspaceBrowser{flex-direction:column;height:100%;min-height:0;padding:0 8px 8px;display:flex}.LIpgUW_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}.LIpgUW_railButton:hover,.LIpgUW_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)}.LIpgUW_railButton:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.LIpgUW_workspaceTrigger{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md,12px);box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;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}.LIpgUW_workspaceTrigger:hover,.LIpgUW_workspaceTrigger[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover)}.LIpgUW_workspaceTrigger:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.LIpgUW_workspaceIcon{color:var(--dsw-alias-state-business-primary);flex:0 0 16px;justify-content:center;align-items:center;height:20px;display:inline-flex}.LIpgUW_workspaceValue{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.LIpgUW_workspaceChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .12s;display:inline-flex}.LIpgUW_workspaceChevronOpen{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.LIpgUW_workspaceChevron{transition:none}}.LIpgUW_emptyState{color:var(--dsw-alias-label-tertiary);margin:8px;font-size:12px;line-height:18px}.LIpgUW_inboxCard{border-radius:var(--dsw-radius-md,12px);color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;background:0 0;border:0;flex:none;align-items:center;gap:6px;width:100%;height:34px;margin:4px 0 2px;padding:0 8px;display:flex}.LIpgUW_inboxCard:hover,.LIpgUW_inboxCard:focus-visible,.LIpgUW_inboxCard[aria-current=page]{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover)}.LIpgUW_inboxCard:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.LIpgUW_inboxCard .LIpgUW_inboxMark{color:var(--dsw-alias-label-tertiary)}.LIpgUW_inboxCardLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;line-height:20px;overflow:hidden}.LIpgUW_inboxMark{flex:0 0 16px;display:inline-flex;position:relative}.LIpgUW_inboxDot{background:var(--dsw-alias-state-business-primary);box-shadow:0 0 0 2px var(--team-mark-ring,var(--dsw-specific-sidebar-fill)), 0 0 0 2px var(--dsw-specific-sidebar-fill);corner-shape:round;border-radius:50%;width:8px;height:8px;position:absolute;top:-2px;left:-2px}.LIpgUW_railWorkspace{flex-direction:column;align-items:center;gap:8px;padding-top:8px;display:flex}.LIpgUW_railButton{corner-shape:round;border-radius:50%;width:36px;height:36px;position:relative}.LIpgUW_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)}.LIpgUW_workspaceSection{flex-direction:column;flex:1;gap:4px;min-height:0;margin-top:2px;display:flex;overflow-y:auto}.LIpgUW_section{flex-direction:column;display:flex}.LIpgUW_sectionHeader{align-items:center;min-height:26px;padding-right:2px;display:flex}.LIpgUW_sectionToggle{border-radius:var(--dsw-radius-xs,4px);color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;min-width:0;min-height:24px;padding:0 6px;font-size:12px;line-height:18px;display:inline-flex}.LIpgUW_sectionToggle:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.LIpgUW_sectionToggle:hover .LIpgUW_sectionChevron,.LIpgUW_sectionToggle:focus-visible .LIpgUW_sectionChevron{color:var(--dsw-alias-label-primary)}.LIpgUW_sectionChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .12s,color .12s}.LIpgUW_sectionToggle[aria-expanded=false] .LIpgUW_sectionChevron{transform:rotate(-90deg)}.LIpgUW_sectionTitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.LIpgUW_sectionActions{align-items:center;margin-left:auto;display:inline-flex}.LIpgUW_panel{flex-direction:column;display:flex}.LIpgUW_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}.LIpgUW_iconButton:hover,.LIpgUW_iconButton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.LIpgUW_iconButton:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.LIpgUW_textButton{border-radius:var(--dsw-radius-sm,5px);color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;padding:2px 5px;font-size:11px;line-height:18px}.LIpgUW_textButton:hover,.LIpgUW_textButton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.LIpgUW_textButton:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.LIpgUW_textButton:disabled{cursor:not-allowed;opacity:.4}.LIpgUW_channelList,.LIpgUW_agentList{flex-direction:column;gap:1px;padding:0 4px 4px;display:flex}.LIpgUW_sidebarRowDragging{opacity:.5}.LIpgUW_sidebarRowDropBefore,.LIpgUW_sidebarRowDropAfter{position:relative}.LIpgUW_sidebarRowDropBefore:before,.LIpgUW_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}.LIpgUW_sidebarRowDropBefore:before{top:-7px}.LIpgUW_sidebarRowDropAfter:after{bottom:-7px}.LIpgUW_channelRow{border-radius:var(--dsw-radius-md,12px);color:var(--dsw-alias-label-primary);align-items:center;min-height:30px;display:flex;position:relative}.LIpgUW_channelSelect{border-radius:var(--dsw-radius-md,12px);box-sizing:border-box;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;flex:1;align-items:center;min-width:0;min-height:30px;padding:3px 4px 3px 8px;display:flex}.LIpgUW_channelSelect:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.LIpgUW_channelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.LIpgUW_agentRow{border-radius:var(--dsw-radius-md,12px);color:var(--dsw-alias-label-primary);align-items:center;min-height:38px;display:flex;position:relative}.LIpgUW_agentSelect{border-radius:var(--dsw-radius-md,12px);box-sizing:border-box;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;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}.LIpgUW_agentSelect:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.LIpgUW_agentSelect[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover);border-radius:var(--dsw-radius-md,12px)}.LIpgUW_agentRow:hover .LIpgUW_agentSelect[aria-current=page],.LIpgUW_agentRow:focus-within .LIpgUW_agentSelect[aria-current=page],.LIpgUW_agentRow[data-menu-open] .LIpgUW_agentSelect[aria-current=page]{background:0 0}.LIpgUW_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}.LIpgUW_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}.LIpgUW_agentCopy{flex-direction:column;justify-content:flex-start;min-width:0;display:flex}.LIpgUW_agentCopy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:17px;overflow:hidden}.LIpgUW_agentCopy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:13px;overflow:hidden}.LIpgUW_unavailableDot{background:var(--dsw-alias-label-tertiary);corner-shape:round;border-radius:50%;width:7px;height:7px;display:inline-block}.LIpgUW_rowMenu{flex:none;align-items:center;padding-right:4px;display:none}.LIpgUW_channelRow:hover .LIpgUW_rowMenu,.LIpgUW_channelRow:focus-within .LIpgUW_rowMenu,.LIpgUW_channelRow[data-menu-open] .LIpgUW_rowMenu,.LIpgUW_agentRow:hover .LIpgUW_rowMenu,.LIpgUW_agentRow:focus-within .LIpgUW_rowMenu,.LIpgUW_agentRow[data-menu-open] .LIpgUW_rowMenu{display:inline-flex}.LIpgUW_channelRow[data-menu-open],.LIpgUW_agentRow[data-menu-open],.LIpgUW_channelRow:hover,.LIpgUW_agentRow:hover,.LIpgUW_channelRow:focus-within,.LIpgUW_agentRow:focus-within,.LIpgUW_channelRow[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover)}.LIpgUW_rowMenuButton{border-radius:var(--dsw-radius-xs,4px);color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.LIpgUW_rowMenuButton:hover,.LIpgUW_rowMenuButton:focus-visible{color:var(--dsw-alias-label-primary)}.LIpgUW_rowMenuButton:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.LIpgUW_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}.LIpgUW_rowAlert{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;padding:2px 8px 6px;font-size:11px}.LIpgUW_error{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;margin:0;padding:4px 12px 6px;font-size:11px;line-height:16px}.LIpgUW_editDescription{color:var(--dsw-alias-label-secondary);margin:0 0 10px;font-size:12px;line-height:18px}.LIpgUW_editMemberList{gap:2px;display:grid}.LIpgUW_editChannelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.LIpgUW_editHint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:11px;line-height:16px}.LIpgUW_menuHint{color:var(--dsw-alias-label-tertiary);margin-left:4px;font-size:10px;line-height:14px}.LIpgUW_rowError{color:var(--dsw-alias-state-error-primary);grid-column:1/-1;margin:2px 0;font-size:11px;line-height:16px}";
|
|
8391
8944
|
const tagId$10 = "@wowyuarm/dsh-agent-team/sidebar.module.css";
|
|
8392
8945
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$10) + "]") === null) {
|
|
8393
8946
|
const tag = document.createElement("style");
|
|
@@ -8397,54 +8950,54 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8397
8950
|
document.head.appendChild(tag);
|
|
8398
8951
|
}
|
|
8399
8952
|
var sidebar_module_css_default = {
|
|
8400
|
-
"agentAvatar": "
|
|
8401
|
-
"agentAvatarBadge": "
|
|
8402
|
-
"agentCopy": "
|
|
8403
|
-
"agentList": "
|
|
8404
|
-
"agentRow": "
|
|
8405
|
-
"agentSelect": "
|
|
8406
|
-
"channelList": "
|
|
8407
|
-
"channelName": "
|
|
8408
|
-
"channelRow": "
|
|
8409
|
-
"channelSelect": "
|
|
8410
|
-
"editChannelName": "
|
|
8411
|
-
"editDescription": "
|
|
8412
|
-
"editHint": "
|
|
8413
|
-
"editMemberList": "
|
|
8414
|
-
"emptyState": "
|
|
8415
|
-
"error": "
|
|
8416
|
-
"iconButton": "
|
|
8417
|
-
"inboxCard": "
|
|
8418
|
-
"inboxCardLabel": "
|
|
8419
|
-
"inboxDot": "
|
|
8420
|
-
"inboxMark": "
|
|
8421
|
-
"menuHint": "
|
|
8422
|
-
"panel": "
|
|
8423
|
-
"railButton": "
|
|
8424
|
-
"railWorkspace": "
|
|
8425
|
-
"retryError": "
|
|
8426
|
-
"rowAlert": "
|
|
8427
|
-
"rowError": "
|
|
8428
|
-
"rowMenu": "
|
|
8429
|
-
"rowMenuButton": "
|
|
8430
|
-
"section": "
|
|
8431
|
-
"sectionActions": "
|
|
8432
|
-
"sectionChevron": "
|
|
8433
|
-
"sectionHeader": "
|
|
8434
|
-
"sectionTitle": "
|
|
8435
|
-
"sectionToggle": "
|
|
8436
|
-
"sidebarRowDragging": "
|
|
8437
|
-
"sidebarRowDropAfter": "
|
|
8438
|
-
"sidebarRowDropBefore": "
|
|
8439
|
-
"textButton": "
|
|
8440
|
-
"unavailableDot": "
|
|
8441
|
-
"workspaceBrowser": "
|
|
8442
|
-
"workspaceChevron": "
|
|
8443
|
-
"workspaceChevronOpen": "
|
|
8444
|
-
"workspaceIcon": "
|
|
8445
|
-
"workspaceSection": "
|
|
8446
|
-
"workspaceTrigger": "
|
|
8447
|
-
"workspaceValue": "
|
|
8953
|
+
"agentAvatar": "LIpgUW_agentAvatar",
|
|
8954
|
+
"agentAvatarBadge": "LIpgUW_agentAvatarBadge",
|
|
8955
|
+
"agentCopy": "LIpgUW_agentCopy",
|
|
8956
|
+
"agentList": "LIpgUW_agentList",
|
|
8957
|
+
"agentRow": "LIpgUW_agentRow",
|
|
8958
|
+
"agentSelect": "LIpgUW_agentSelect",
|
|
8959
|
+
"channelList": "LIpgUW_channelList",
|
|
8960
|
+
"channelName": "LIpgUW_channelName",
|
|
8961
|
+
"channelRow": "LIpgUW_channelRow",
|
|
8962
|
+
"channelSelect": "LIpgUW_channelSelect",
|
|
8963
|
+
"editChannelName": "LIpgUW_editChannelName",
|
|
8964
|
+
"editDescription": "LIpgUW_editDescription",
|
|
8965
|
+
"editHint": "LIpgUW_editHint",
|
|
8966
|
+
"editMemberList": "LIpgUW_editMemberList",
|
|
8967
|
+
"emptyState": "LIpgUW_emptyState",
|
|
8968
|
+
"error": "LIpgUW_error",
|
|
8969
|
+
"iconButton": "LIpgUW_iconButton",
|
|
8970
|
+
"inboxCard": "LIpgUW_inboxCard",
|
|
8971
|
+
"inboxCardLabel": "LIpgUW_inboxCardLabel",
|
|
8972
|
+
"inboxDot": "LIpgUW_inboxDot",
|
|
8973
|
+
"inboxMark": "LIpgUW_inboxMark",
|
|
8974
|
+
"menuHint": "LIpgUW_menuHint",
|
|
8975
|
+
"panel": "LIpgUW_panel",
|
|
8976
|
+
"railButton": "LIpgUW_railButton",
|
|
8977
|
+
"railWorkspace": "LIpgUW_railWorkspace",
|
|
8978
|
+
"retryError": "LIpgUW_retryError",
|
|
8979
|
+
"rowAlert": "LIpgUW_rowAlert",
|
|
8980
|
+
"rowError": "LIpgUW_rowError",
|
|
8981
|
+
"rowMenu": "LIpgUW_rowMenu",
|
|
8982
|
+
"rowMenuButton": "LIpgUW_rowMenuButton",
|
|
8983
|
+
"section": "LIpgUW_section",
|
|
8984
|
+
"sectionActions": "LIpgUW_sectionActions",
|
|
8985
|
+
"sectionChevron": "LIpgUW_sectionChevron",
|
|
8986
|
+
"sectionHeader": "LIpgUW_sectionHeader",
|
|
8987
|
+
"sectionTitle": "LIpgUW_sectionTitle",
|
|
8988
|
+
"sectionToggle": "LIpgUW_sectionToggle",
|
|
8989
|
+
"sidebarRowDragging": "LIpgUW_sidebarRowDragging",
|
|
8990
|
+
"sidebarRowDropAfter": "LIpgUW_sidebarRowDropAfter",
|
|
8991
|
+
"sidebarRowDropBefore": "LIpgUW_sidebarRowDropBefore",
|
|
8992
|
+
"textButton": "LIpgUW_textButton",
|
|
8993
|
+
"unavailableDot": "LIpgUW_unavailableDot",
|
|
8994
|
+
"workspaceBrowser": "LIpgUW_workspaceBrowser",
|
|
8995
|
+
"workspaceChevron": "LIpgUW_workspaceChevron",
|
|
8996
|
+
"workspaceChevronOpen": "LIpgUW_workspaceChevronOpen",
|
|
8997
|
+
"workspaceIcon": "LIpgUW_workspaceIcon",
|
|
8998
|
+
"workspaceSection": "LIpgUW_workspaceSection",
|
|
8999
|
+
"workspaceTrigger": "LIpgUW_workspaceTrigger",
|
|
9000
|
+
"workspaceValue": "LIpgUW_workspaceValue"
|
|
8448
9001
|
};
|
|
8449
9002
|
//#endregion
|
|
8450
9003
|
//#region src/client/TeamMemberAvatar.tsx
|
|
@@ -8473,8 +9026,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8473
9026
|
});
|
|
8474
9027
|
}
|
|
8475
9028
|
//#endregion
|
|
8476
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
8477
|
-
const css$9 = ".
|
|
9029
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/member-row.module.css.mjs
|
|
9030
|
+
const css$9 = ".X5YY4G_row{border-radius:var(--dsw-radius-md,12px);grid-template-columns:24px minmax(0,1fr);align-items:center;gap:0 10px;min-height:40px;padding:8px 10px;display:grid}.X5YY4G_row:has(button){grid-template-columns:24px minmax(0,1fr) auto}.X5YY4G_row:hover{background:var(--dsw-alias-interactive-bg-hover)}.X5YY4G_copy{min-width:0;display:grid}.X5YY4G_copy strong{color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;line-height:18px;overflow:hidden}.X5YY4G_copy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:16px;overflow:hidden}.X5YY4G_action{justify-self:end;min-width:64px}.X5YY4G_error{color:var(--dsw-alias-state-error-primary);grid-column:2/-1;margin:2px 0 0;font-size:11px;line-height:16px}@media (width<=600px){.X5YY4G_row,.X5YY4G_row:has(button){grid-template-columns:24px minmax(0,1fr);align-items:start}.X5YY4G_action{grid-column:2;justify-self:start;margin-top:6px}}";
|
|
8478
9031
|
const tagId$9 = "@wowyuarm/dsh-agent-team/member-row.module.css";
|
|
8479
9032
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$9) + "]") === null) {
|
|
8480
9033
|
const tag = document.createElement("style");
|
|
@@ -8484,10 +9037,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8484
9037
|
document.head.appendChild(tag);
|
|
8485
9038
|
}
|
|
8486
9039
|
var member_row_module_css_default = {
|
|
8487
|
-
"action": "
|
|
8488
|
-
"copy": "
|
|
8489
|
-
"error": "
|
|
8490
|
-
"row": "
|
|
9040
|
+
"action": "X5YY4G_action",
|
|
9041
|
+
"copy": "X5YY4G_copy",
|
|
9042
|
+
"error": "X5YY4G_error",
|
|
9043
|
+
"row": "X5YY4G_row"
|
|
8491
9044
|
};
|
|
8492
9045
|
//#endregion
|
|
8493
9046
|
//#region src/client/TeamMemberRow.tsx
|
|
@@ -8543,8 +9096,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8543
9096
|
});
|
|
8544
9097
|
}
|
|
8545
9098
|
//#endregion
|
|
8546
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
8547
|
-
const css$8 = ".
|
|
9099
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/members.module.css.mjs
|
|
9100
|
+
const css$8 = ".T91eWG_body{max-height:min(65vh,560px);overflow-y:auto}.T91eWG_content{outline:none;gap:12px;display:grid}.T91eWG_group{gap:2px;display:grid}.T91eWG_group+.T91eWG_group{border-top:1px solid var(--dsw-alias-border-l2);padding-top:10px}.T91eWG_group h3{color:var(--dsw-alias-label-secondary);margin:0 0 3px;font-size:12px;font-weight:600;line-height:18px}.T91eWG_member{margin:0 -6px}.T91eWG_state,.T91eWG_error{margin:0;padding:6px 0;font-size:12px;line-height:18px}.T91eWG_state{color:var(--dsw-alias-label-tertiary)}.T91eWG_error{color:var(--dsw-alias-state-error-primary)}@media (width<=600px){.T91eWG_body{max-height:calc(100vh - 160px)}}";
|
|
8548
9101
|
const tagId$8 = "@wowyuarm/dsh-agent-team/members.module.css";
|
|
8549
9102
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$8) + "]") === null) {
|
|
8550
9103
|
const tag = document.createElement("style");
|
|
@@ -8554,12 +9107,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8554
9107
|
document.head.appendChild(tag);
|
|
8555
9108
|
}
|
|
8556
9109
|
var members_module_css_default = {
|
|
8557
|
-
"body": "
|
|
8558
|
-
"content": "
|
|
8559
|
-
"error": "
|
|
8560
|
-
"group": "
|
|
8561
|
-
"member": "
|
|
8562
|
-
"state": "
|
|
9110
|
+
"body": "T91eWG_body",
|
|
9111
|
+
"content": "T91eWG_content",
|
|
9112
|
+
"error": "T91eWG_error",
|
|
9113
|
+
"group": "T91eWG_group",
|
|
9114
|
+
"member": "T91eWG_member",
|
|
9115
|
+
"state": "T91eWG_state"
|
|
8563
9116
|
};
|
|
8564
9117
|
//#endregion
|
|
8565
9118
|
//#region src/client/TeamMembersAction.tsx
|
|
@@ -8676,8 +9229,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8676
9229
|
};
|
|
8677
9230
|
};
|
|
8678
9231
|
//#endregion
|
|
8679
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
8680
|
-
const css$7 = ".
|
|
9232
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/composer.module.css.mjs
|
|
9233
|
+
const css$7 = "._77YjtG_root{padding:0 var(--dsh-composer-side-clearance,16px) 8px;flex-direction:column;align-items:center;display:flex}._77YjtG_card{box-sizing:border-box;width:100%;max-width:var(--dsh-composer-card-max-width,780px);--dsw-elevation-stroke-color:var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-panel,22px);background:var(--dsw-specific-input-major,var(--dsw-alias-bg-layer-1));box-shadow:var(--dsw-elevation-soft);border:0;flex-direction:column;gap:6px;padding:10px 0 0;display:flex;position:relative;container-type:inline-size}._77YjtG_inputArea{min-height:28px;position:relative}._77YjtG_inputArea textarea{box-sizing:border-box;resize:none;width:100%;min-height:28px;max-height:336px;color:var(--dsw-alias-label-primary,var(--dsw-alias-label-primary));font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;background:0 0;border:0;outline:0;padding:4px 12px 0 16px;font-size:15px;line-height:24px;display:block;overflow-y:auto}._77YjtG_inputArea textarea::placeholder{color:var(--dsw-alias-label-caption,var(--dsw-alias-label-tertiary))}._77YjtG_inputArea textarea:disabled{cursor:not-allowed;opacity:.55}._77YjtG_mentionMenu{z-index:10;border-radius:var(--dsw-radius-lg,16px);background:var(--dsw-specific-menu);max-height:min(320px,40vh);backdrop-filter:var(--dsw-menu-backdrop-filter);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent);border:0;padding:4px;position:absolute;bottom:calc(100% + 12px);left:0;right:0;overflow-y:auto}._77YjtG_mentionOption{border-radius:var(--dsw-radius-md,8px);width:100%;min-height:40px;color:var(--dsw-alias-label-primary,var(--dsw-alias-label-primary));cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:16px minmax(0,auto) minmax(0,1fr);align-items:center;gap:8px;padding:8px 10px;font-size:14px;line-height:22px;display:grid}._77YjtG_mentionOption:hover,._77YjtG_mentionOption[aria-selected=true]{background:var(--dsw-alias-interactive-bg-hover)}._77YjtG_mentionName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._77YjtG_mentionAllDot{corner-shape:round;background:var(--dsw-alias-label-primary);border-radius:50%;justify-self:center;width:8px;height:8px}._77YjtG_mentionDescription{min-width:0;color:var(--dsw-alias-label-tertiary,var(--dsw-alias-label-tertiary));text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._77YjtG_toolbar{justify-content:flex-end;align-items:center;gap:12px;min-height:34px;padding:2px 8px 6px;display:flex}._77YjtG_asTaskPill{border-radius:var(--dsw-radius-sm,8px);color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:4px;height:28px;padding:0 10px 0 8px;font-size:13px;font-weight:500;line-height:20px;display:inline-flex}._77YjtG_asTaskPill:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}._77YjtG_asTaskPill:focus-visible{box-shadow:0 0 0 2px var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary))}._77YjtG_asTaskPill:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}._77YjtG_asTaskPillOn,._77YjtG_asTaskPillOn:hover:not(:disabled){background:var(--dsw-alias-button-primary-fill);color:var(--dsw-alias-label-primary-foreground)}._77YjtG_asTaskLabel{white-space:nowrap}@container (width<=560px){._77YjtG_toolbar{gap:8px}}._77YjtG_attachButton{background:var(--dsw-specific-selector);corner-shape:round;color:var(--dsw-alias-label-primary);cursor:pointer;border:0;border-radius:999px;flex:none;place-items:center;width:28px;height:28px;display:grid}._77YjtG_attachButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-solid)}._77YjtG_attachButton:disabled{cursor:default;opacity:.5}._77YjtG_attachButton:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}._77YjtG_fileInput{display:none}._77YjtG_fileChips{flex-wrap:wrap;gap:4px;margin:0;padding:4px 8px 0;list-style:none;display:flex}._77YjtG_fileChip{background:var(--dsw-alias-interactive-bg-hover);border-radius:var(--dsw-radius-sm,6px);align-items:center;gap:4px;max-width:100%;padding:2px 4px 2px 8px;display:inline-flex}._77YjtG_fileChipSize{color:var(--dsw-alias-label-tertiary);margin-left:6px}._77YjtG_imageChip{align-items:center;display:flex}._77YjtG_imageChipPreview{border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-xs,4px);object-fit:cover;width:56px;height:40px}._77YjtG_fileChipName{text-overflow:ellipsis;white-space:nowrap;max-width:220px;font-size:11px;line-height:16px;overflow:hidden}._77YjtG_fileChipRemove{border-radius:var(--dsw-radius-xs,4px);color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:16px;height:16px;padding:0;font-size:12px;display:inline-flex}._77YjtG_fileChipRemove:hover,._77YjtG_fileChipRemove:focus-visible{color:var(--dsw-alias-label-primary)}._77YjtG_fileChipRemove:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}._77YjtG_sendButton{background:var(--dsw-alias-button-info-fill,var(--dsw-alias-button-primary-fill));corner-shape:round;color:#fff;cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;margin-left:auto;padding:0;transition:background-color .1s,opacity .1s;display:inline-flex;transform:translateY(-2px)}._77YjtG_sendButton:hover:not(:disabled){background:var(--dsw-alias-button-info-hover,var(--dsw-alias-button-primary-hover))}._77YjtG_sendButton:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}._77YjtG_sendButton:disabled{cursor:default;opacity:.4}._77YjtG_confirmation{color:var(--dsw-alias-label-tertiary);align-self:stretch;margin:0;padding:0 16px;font-size:12px;line-height:18px}._77YjtG_notifyRow{color:var(--dsw-alias-label-tertiary,var(--dsw-alias-label-tertiary));overflow-wrap:anywhere;margin:0;padding:0 16px;font-size:12px;line-height:18px}._77YjtG_error{color:var(--dsw-alias-state-error-primary);align-self:stretch;margin:0;padding:0 4px 2px;font-size:12px;line-height:18px}@media (width<=600px){._77YjtG_mentionOption{grid-template-columns:16px minmax(0,1fr);min-height:36px;padding-block:6px}._77YjtG_mentionDescription{display:none}}@media (prefers-reduced-motion:reduce){._77YjtG_sendButton{transition:none}}";
|
|
8681
9234
|
const tagId$7 = "@wowyuarm/dsh-agent-team/composer.module.css";
|
|
8682
9235
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$7) + "]") === null) {
|
|
8683
9236
|
const tag = document.createElement("style");
|
|
@@ -8687,31 +9240,31 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8687
9240
|
document.head.appendChild(tag);
|
|
8688
9241
|
}
|
|
8689
9242
|
var composer_module_css_default = {
|
|
8690
|
-
"asTaskLabel": "
|
|
8691
|
-
"asTaskPill": "
|
|
8692
|
-
"asTaskPillOn": "
|
|
8693
|
-
"attachButton": "
|
|
8694
|
-
"card": "
|
|
8695
|
-
"confirmation": "
|
|
8696
|
-
"error": "
|
|
8697
|
-
"fileChip": "
|
|
8698
|
-
"fileChipName": "
|
|
8699
|
-
"fileChipRemove": "
|
|
8700
|
-
"fileChipSize": "
|
|
8701
|
-
"fileChips": "
|
|
8702
|
-
"fileInput": "
|
|
8703
|
-
"imageChip": "
|
|
8704
|
-
"imageChipPreview": "
|
|
8705
|
-
"inputArea": "
|
|
8706
|
-
"mentionAllDot": "
|
|
8707
|
-
"mentionDescription": "
|
|
8708
|
-
"mentionMenu": "
|
|
8709
|
-
"mentionName": "
|
|
8710
|
-
"mentionOption": "
|
|
8711
|
-
"notifyRow": "
|
|
8712
|
-
"root": "
|
|
8713
|
-
"sendButton": "
|
|
8714
|
-
"toolbar": "
|
|
9243
|
+
"asTaskLabel": "_77YjtG_asTaskLabel",
|
|
9244
|
+
"asTaskPill": "_77YjtG_asTaskPill",
|
|
9245
|
+
"asTaskPillOn": "_77YjtG_asTaskPillOn",
|
|
9246
|
+
"attachButton": "_77YjtG_attachButton",
|
|
9247
|
+
"card": "_77YjtG_card",
|
|
9248
|
+
"confirmation": "_77YjtG_confirmation",
|
|
9249
|
+
"error": "_77YjtG_error",
|
|
9250
|
+
"fileChip": "_77YjtG_fileChip",
|
|
9251
|
+
"fileChipName": "_77YjtG_fileChipName",
|
|
9252
|
+
"fileChipRemove": "_77YjtG_fileChipRemove",
|
|
9253
|
+
"fileChipSize": "_77YjtG_fileChipSize",
|
|
9254
|
+
"fileChips": "_77YjtG_fileChips",
|
|
9255
|
+
"fileInput": "_77YjtG_fileInput",
|
|
9256
|
+
"imageChip": "_77YjtG_imageChip",
|
|
9257
|
+
"imageChipPreview": "_77YjtG_imageChipPreview",
|
|
9258
|
+
"inputArea": "_77YjtG_inputArea",
|
|
9259
|
+
"mentionAllDot": "_77YjtG_mentionAllDot",
|
|
9260
|
+
"mentionDescription": "_77YjtG_mentionDescription",
|
|
9261
|
+
"mentionMenu": "_77YjtG_mentionMenu",
|
|
9262
|
+
"mentionName": "_77YjtG_mentionName",
|
|
9263
|
+
"mentionOption": "_77YjtG_mentionOption",
|
|
9264
|
+
"notifyRow": "_77YjtG_notifyRow",
|
|
9265
|
+
"root": "_77YjtG_root",
|
|
9266
|
+
"sendButton": "_77YjtG_sendButton",
|
|
9267
|
+
"toolbar": "_77YjtG_toolbar"
|
|
8715
9268
|
};
|
|
8716
9269
|
//#endregion
|
|
8717
9270
|
//#region src/client/TeamComposer.tsx
|
|
@@ -9317,8 +9870,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9317
9870
|
};
|
|
9318
9871
|
};
|
|
9319
9872
|
//#endregion
|
|
9320
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
9321
|
-
const css$6 = ".omcBaG_surface{grid-template-rows:auto minmax(0,1fr) auto;min-width:0;height:100%;min-height:0;display:grid;overflow:hidden}.omcBaG_surfaceHeader{border-bottom:1px solid var(--dsw-alias-border-l2);min-width:0;padding:14px clamp(18px,3vw,36px) 12px}.omcBaG_headerRow{justify-content:space-between;align-items:flex-start;gap:16px;min-width:0;max-width:880px;margin:0 auto;display:flex}.omcBaG_headerCopy{min-width:0}.omcBaG_headerCopy h1{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;margin:0;font-size:20px;font-weight:600;line-height:28px}.omcBaG_headerCopy p{color:var(--dsw-alias-label-secondary);margin:3px 0 0;font-size:13px;line-height:20px}.omcBaG_headerActions{flex:none;align-items:center;gap:6px;display:flex}.omcBaG_backRow{max-width:880px;margin:0 auto 8px}.omcBaG_timeline{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:12px clamp(18px,3vw,36px) 24px;overflow:hidden auto}.omcBaG_timelineContent{flex-direction:column;min-width:0;max-width:880px;min-height:100%;margin:0 auto;display:flex}.omcBaG_emptySurface{margin:auto;padding:32px 0}.omcBaG_emptySurface .omcBaG_emptyState{text-align:center;justify-items:center}.omcBaG_timelineAction{justify-content:center;padding:2px 0 8px;display:flex}.omcBaG_messageRow{gap:10px;padding:10px 0;display:flex}.omcBaG_messageRow[data-grouped]{padding-top:2px}.omcBaG_messageRow[data-grouped] .omcBaG_messageBody>:first-child,.omcBaG_messageRow[data-grouped] .omcBaG_messageBody>:first-child>:first-child{margin-top:0}.omcBaG_messageIdentity{background:hsl(var(--team-avatar-hue,212) 42% 46%);corner-shape:round;color:#fff;border-radius:50%;flex:0 0 28px;justify-content:center;align-items:center;height:28px;font-size:12px;font-weight:600;display:flex}.omcBaG_messageRow[data-human] .omcBaG_messageIdentity{background:var(--dsw-alias-state-business-primary)}.omcBaG_messageIdentityImage{corner-shape:round;object-fit:cover;border-radius:50%;flex:0 0 28px;height:28px}.omcBaG_messageRow[data-grouped] .omcBaG_messageIdentity,.omcBaG_messageRow[data-grouped] .omcBaG_messageIdentityImage{visibility:hidden}.omcBaG_messageBody{min-width:0}.omcBaG_nameRow{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.omcBaG_nameRow strong{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:600;line-height:20px}.omcBaG_messageTime{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:20px}.omcBaG_stateCluster{flex:none;align-items:center;gap:6px;display:inline-flex}.omcBaG_statusWord{color:var(--dsw-alias-label-secondary);font-size:11px;line-height:18px}.omcBaG_entryLine{flex-wrap:wrap;align-items:center;gap:8px;max-width:100%;margin:4px 0 0;display:flex}.omcBaG_entryRow{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:2px 0;font-size:12px;line-height:18px;display:inline-flex}.omcBaG_entryRow:hover,.omcBaG_entryRow:focus-visible{color:var(--dsw-alias-label-primary)}.omcBaG_entryRow:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.omcBaG_entryArrow{align-items:center;transition:transform .12s;display:inline-flex}.omcBaG_entryRow:hover .omcBaG_entryArrow,.omcBaG_entryRow:focus-visible .omcBaG_entryArrow{transform:translate(2px)}.omcBaG_messageText{font-size:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px));white-space:pre-wrap;word-break:break-word;margin:6px 0}.omcBaG_messageClamp{max-height:calc(176px + 8 * var(--dsh-content-font-delta,0px));overflow:hidden;-webkit-mask-image:linear-gradient(#000 72%,#0000 100%);mask-image:linear-gradient(#000 72%,#0000 100%)}.omcBaG_messageExpand{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;width:fit-content;margin-top:4px;padding:0;font-size:12px;line-height:20px;display:block}.omcBaG_messageExpand:hover,.omcBaG_messageExpand:focus-visible{color:var(--dsw-alias-label-primary);text-underline-offset:2px;outline:none;text-decoration:underline}.omcBaG_messageBody .omcBaG_messageMarkdown{font-size:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody .omcBaG_messageMarkdown>div:first-child{color:var(--dsw-alias-label-primary);font:inherit}.omcBaG_messageBody .omcBaG_messageMarkdown p{margin:6px 0}.omcBaG_messageBody .omcBaG_messageMarkdown :where(ul,ol){margin:6px 0;padding-left:22px}.omcBaG_messageBody .omcBaG_messageMarkdown li+li{margin-top:2px}.omcBaG_messageBody .omcBaG_messageMarkdown strong{font-weight:600}.omcBaG_messageBody .omcBaG_messageMarkdown :where(h1,h2,h3,h4,h5,h6){margin:12px 0 4px}.omcBaG_messageBody .omcBaG_messageMarkdown :where(h1){font-size:calc(17px + var(--dsh-content-font-delta,0px));line-height:calc(26px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody .omcBaG_messageMarkdown :where(h2){font-size:calc(16px + var(--dsh-content-font-delta,0px));line-height:calc(24px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody .omcBaG_messageMarkdown :where(h3,h4,h5,h6){font-size:calc(15px + var(--dsh-content-font-delta,0px));line-height:calc(22px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody .omcBaG_messageMarkdown pre{margin:8px 0;padding:10px 12px;font-size:13px}.omcBaG_messageBody .omcBaG_messageMarkdown blockquote{margin:6px 0}.omcBaG_messageBody .omcBaG_messageMarkdown :where(th,td){padding-block:5px}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown{line-height:calc(24px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown p,.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown :where(ul,ol){margin:16px 0}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown li+li{margin-top:6px}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown li>p{margin:8px 0}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown :where(h1,h2,h3,h4,h5,h6){margin:24px 0 8px}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown :where(h2){font-size:calc(18px + var(--dsh-content-font-delta,0px));line-height:calc(26px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown :where(h3){font-size:calc(17px + var(--dsh-content-font-delta,0px));line-height:calc(24px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown pre,.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown blockquote{margin:16px 0}.omcBaG_emptyState,.omcBaG_loadingState{color:var(--dsw-alias-label-tertiary);margin:0;padding:14px 0;font-size:13px;line-height:20px}.omcBaG_emptyState{gap:3px;display:grid}.omcBaG_emptyState strong{color:var(--dsw-alias-label-secondary);font-weight:500}.omcBaG_emptyState span{font-size:12px}.omcBaG_loadingState{align-items:center;gap:8px;display:flex}.omcBaG_loadingMark{background:var(--dsw-alias-bg-skeleton);corner-shape:round;border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite omcBaG_pulse}.omcBaG_error{color:var(--dsw-alias-state-error-primary);max-width:880px;margin:0;padding-top:6px;font-size:12px;line-height:18px}.omcBaG_errorState{color:var(--dsw-alias-state-error-primary);justify-content:space-between;align-items:center;gap:8px;max-width:880px;margin:auto;padding:32px 0;font-size:12px;line-height:18px;display:flex}.omcBaG_welcomeSurface{justify-content:center;align-items:center;min-width:0;height:100%;padding:32px;display:flex}.omcBaG_welcome{text-align:center;max-width:420px}.omcBaG_welcomeEyebrow{color:var(--dsw-alias-label-tertiary);text-transform:uppercase;font-size:12px;line-height:18px}.omcBaG_welcome h1{color:var(--dsw-alias-label-primary);margin:8px 0;font-size:24px;font-weight:600;line-height:32px}.omcBaG_welcome p{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px;line-height:20px}@keyframes omcBaG_pulse{0%,to{opacity:.35}50%{opacity:1}}@media (width<=600px){.omcBaG_surfaceHeader{padding:12px 12px 10px}.omcBaG_headerRow{flex-direction:column;align-items:stretch;gap:8px}.omcBaG_headerActions{flex-wrap:wrap}.omcBaG_backRow{margin-bottom:6px}.omcBaG_timeline{scrollbar-gutter:auto;padding:8px 12px 16px}.omcBaG_messageRow{padding:8px 0}}@media (prefers-reduced-motion:reduce){.omcBaG_loadingMark{animation:none}.omcBaG_entryArrow{transition:none}.omcBaG_entryRow:hover .omcBaG_entryArrow,.omcBaG_entryRow:focus-visible .omcBaG_entryArrow{transform:none}}.omcBaG_messageRun{margin:2px 0;padding:3px 0}.omcBaG_messageRow[data-grouped]:has([data-thread-entry]){margin-top:3px;padding-top:7px;position:relative}.omcBaG_messageRow[data-grouped]:has([data-thread-entry]):before{background:var(--dsw-alias-border-l2);content:\"\";height:1px;position:absolute;inset:0 0 auto 38px}.omcBaG_runDivider{border-top:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);margin:2px 0 0 38px;padding:5px 0 0;font-size:11px;line-height:16px}.omcBaG_runDivider+.omcBaG_messageRow[data-grouped]:has([data-thread-entry]){margin-top:0}.omcBaG_runDivider+.omcBaG_messageRow[data-grouped]:has([data-thread-entry]):before{content:none}.omcBaG_mention{background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 12%, transparent);border-radius:var(--dsw-radius-sm,6px);color:var(--dsw-alias-state-business-primary);padding:0 4px;font-weight:500;box-shadow:0 1px 2px #00000014}.omcBaG_mentionsRow{gap:4px;width:fit-content;margin-top:3px;font-size:.85em;display:flex}.omcBaG_attachmentStrip{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.omcBaG_attachmentThumb{border-radius:var(--dsw-radius-sm,8px);cursor:zoom-in;border:0;padding:0}.omcBaG_attachmentThumb img{border-radius:var(--dsw-radius-sm,8px);object-fit:cover;width:128px;height:96px;display:block}.omcBaG_attachmentThumb:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.omcBaG_confirmBody{margin:0 0 8px}.omcBaG_confirmList{gap:6px;margin:0;padding-left:18px;display:grid}.omcBaG_refLink{border-radius:var(--dsw-radius-xs,4px);color:var(--dsw-alias-state-business-primary);cursor:pointer;font:inherit;text-align:left;text-underline-offset:3px;background:0 0;border:none;padding:0;text-decoration:underline}.omcBaG_refLink:hover{text-decoration-thickness:2px}.omcBaG_refLink:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.omcBaG_attachmentModal{width:min(1100px,92vw)}.omcBaG_attachmentZoom{object-fit:contain;border-radius:var(--dsw-radius-md,12px);max-width:100%;max-height:78vh;margin:0 auto;display:block}.omcBaG_attachmentChip{background:var(--dsw-alias-interactive-bg-hover);border-radius:var(--dsw-radius-sm,6px);align-items:baseline;gap:6px;max-width:100%;padding:3px 8px;display:inline-flex}.omcBaG_attachmentChipName{text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:17px;overflow:hidden}.omcBaG_attachmentChipSize{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:11px;line-height:17px}";
|
|
9873
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/conversation.module.css.mjs
|
|
9874
|
+
const css$6 = ".EPVjHa_surface{grid-template-rows:auto minmax(0,1fr) auto;min-width:0;height:100%;min-height:0;display:grid;overflow:hidden}.EPVjHa_surfaceHeader{border-bottom:1px solid var(--dsw-alias-border-l2);min-width:0;padding:14px clamp(18px,3vw,36px) 12px}.EPVjHa_headerRow{justify-content:space-between;align-items:flex-start;gap:16px;min-width:0;max-width:880px;margin:0 auto;display:flex}.EPVjHa_headerCopy{min-width:0}.EPVjHa_headerCopy h1{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;margin:0;font-size:20px;font-weight:600;line-height:28px}.EPVjHa_headerCopy p{color:var(--dsw-alias-label-secondary);margin:3px 0 0;font-size:13px;line-height:20px}.EPVjHa_headerActions{flex:none;align-items:center;gap:6px;display:flex}.EPVjHa_backRow{max-width:880px;margin:0 auto 8px}.EPVjHa_timeline{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:12px clamp(18px,3vw,36px) 24px;overflow:hidden auto}.EPVjHa_timelineContent{flex-direction:column;min-width:0;max-width:880px;min-height:100%;margin:0 auto;display:flex}.EPVjHa_emptySurface{margin:auto;padding:32px 0}.EPVjHa_emptySurface .EPVjHa_emptyState{text-align:center;justify-items:center}.EPVjHa_timelineAction{justify-content:center;padding:2px 0 8px;display:flex}.EPVjHa_messageRow{gap:10px;padding:10px 0;display:flex}.EPVjHa_messageRow[data-grouped]{padding-top:2px}.EPVjHa_messageRow[data-grouped] .EPVjHa_messageBody>:first-child,.EPVjHa_messageRow[data-grouped] .EPVjHa_messageBody>:first-child>:first-child{margin-top:0}.EPVjHa_messageIdentity{background:hsl(var(--team-avatar-hue,212) 42% 46%);corner-shape:round;color:#fff;border-radius:50%;flex:0 0 28px;justify-content:center;align-items:center;height:28px;font-size:12px;font-weight:600;display:flex}.EPVjHa_messageRow[data-human] .EPVjHa_messageIdentity{background:var(--dsw-alias-state-business-primary)}.EPVjHa_messageIdentityImage{corner-shape:round;object-fit:cover;border-radius:50%;flex:0 0 28px;height:28px}.EPVjHa_messageRow[data-grouped] .EPVjHa_messageIdentity,.EPVjHa_messageRow[data-grouped] .EPVjHa_messageIdentityImage{visibility:hidden}.EPVjHa_messageBody{min-width:0}.EPVjHa_nameRow{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.EPVjHa_nameRow strong{color:var(--dsw-alias-label-primary);font-size:var(--dsh-content-font-size-secondary,13px);font-weight:600;line-height:calc(20px + var(--dsh-content-font-delta-secondary,0px))}.EPVjHa_messageTime{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:20px}.EPVjHa_stateCluster{flex:none;align-items:center;gap:6px;display:inline-flex}.EPVjHa_statusWord{color:var(--dsw-alias-label-secondary);font-size:11px;line-height:18px}.EPVjHa_entryLine{flex-wrap:wrap;align-items:center;gap:8px;max-width:100%;margin:4px 0 0;display:flex}.EPVjHa_entryRow{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:2px 0;font-size:12px;line-height:18px;display:inline-flex}.EPVjHa_entryRow:hover,.EPVjHa_entryRow:focus-visible{color:var(--dsw-alias-label-primary)}.EPVjHa_entryRow:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.EPVjHa_entryArrow{align-items:center;transition:transform .12s;display:inline-flex}.EPVjHa_entryRow:hover .EPVjHa_entryArrow,.EPVjHa_entryRow:focus-visible .EPVjHa_entryArrow{transform:translate(2px)}.EPVjHa_messageText{font-size:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px));white-space:pre-wrap;word-break:break-word;margin:6px 0}.EPVjHa_messageClamp{max-height:calc(176px + 8 * var(--dsh-content-font-delta,0px));overflow:hidden;-webkit-mask-image:linear-gradient(#000 72%,#0000 100%);mask-image:linear-gradient(#000 72%,#0000 100%)}.EPVjHa_messageExpand{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;width:fit-content;margin-top:4px;padding:0;font-size:12px;line-height:20px;display:block}.EPVjHa_messageExpand:hover,.EPVjHa_messageExpand:focus-visible{color:var(--dsw-alias-label-primary);text-underline-offset:2px;outline:none;text-decoration:underline}.EPVjHa_messageBody .EPVjHa_messageMarkdown{font-size:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px))}.EPVjHa_messageBody .EPVjHa_messageMarkdown>div:first-child{color:var(--dsw-alias-label-primary);font:inherit}.EPVjHa_messageBody .EPVjHa_messageMarkdown p{margin:6px 0}.EPVjHa_messageBody .EPVjHa_messageMarkdown :where(ul,ol){margin:6px 0;padding-left:22px}.EPVjHa_messageBody .EPVjHa_messageMarkdown li+li{margin-top:2px}.EPVjHa_messageBody .EPVjHa_messageMarkdown strong{font-weight:600}.EPVjHa_messageBody .EPVjHa_messageMarkdown :where(h1,h2,h3,h4,h5,h6){margin:12px 0 4px}.EPVjHa_messageBody .EPVjHa_messageMarkdown :where(h1){font-size:calc(17px + var(--dsh-content-font-delta,0px));line-height:calc(26px + var(--dsh-content-font-delta,0px))}.EPVjHa_messageBody .EPVjHa_messageMarkdown :where(h2){font-size:calc(16px + var(--dsh-content-font-delta,0px));line-height:calc(24px + var(--dsh-content-font-delta,0px))}.EPVjHa_messageBody .EPVjHa_messageMarkdown :where(h3,h4,h5,h6){font-size:calc(15px + var(--dsh-content-font-delta,0px));line-height:calc(22px + var(--dsh-content-font-delta,0px))}.EPVjHa_messageBody .EPVjHa_messageMarkdown pre{margin:8px 0;padding:10px 12px;font-size:13px}.EPVjHa_messageBody .EPVjHa_messageMarkdown blockquote{margin:6px 0}.EPVjHa_messageBody .EPVjHa_messageMarkdown :where(th,td){padding-block:5px}.EPVjHa_messageBody [data-document] .EPVjHa_messageMarkdown{line-height:calc(24px + var(--dsh-content-font-delta,0px))}.EPVjHa_messageBody [data-document] .EPVjHa_messageMarkdown p,.EPVjHa_messageBody [data-document] .EPVjHa_messageMarkdown :where(ul,ol){margin:16px 0}.EPVjHa_messageBody [data-document] .EPVjHa_messageMarkdown li+li{margin-top:6px}.EPVjHa_messageBody [data-document] .EPVjHa_messageMarkdown li>p{margin:8px 0}.EPVjHa_messageBody [data-document] .EPVjHa_messageMarkdown :where(h1,h2,h3,h4,h5,h6){margin:24px 0 8px}.EPVjHa_messageBody [data-document] .EPVjHa_messageMarkdown :where(h2){font-size:calc(18px + var(--dsh-content-font-delta,0px));line-height:calc(26px + var(--dsh-content-font-delta,0px))}.EPVjHa_messageBody [data-document] .EPVjHa_messageMarkdown :where(h3){font-size:calc(17px + var(--dsh-content-font-delta,0px));line-height:calc(24px + var(--dsh-content-font-delta,0px))}.EPVjHa_messageBody [data-document] .EPVjHa_messageMarkdown pre,.EPVjHa_messageBody [data-document] .EPVjHa_messageMarkdown blockquote{margin:16px 0}.EPVjHa_emptyState,.EPVjHa_loadingState{color:var(--dsw-alias-label-tertiary);margin:0;padding:14px 0;font-size:13px;line-height:20px}.EPVjHa_emptyState{gap:3px;display:grid}.EPVjHa_emptyState strong{color:var(--dsw-alias-label-secondary);font-weight:500}.EPVjHa_emptyState span{font-size:12px}.EPVjHa_loadingState{align-items:center;gap:8px;display:flex}.EPVjHa_loadingMark{background:var(--dsw-alias-bg-skeleton);corner-shape:round;border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite EPVjHa_pulse}.EPVjHa_error{color:var(--dsw-alias-state-error-primary);max-width:880px;margin:0;padding-top:6px;font-size:12px;line-height:18px}.EPVjHa_errorState{color:var(--dsw-alias-state-error-primary);justify-content:space-between;align-items:center;gap:8px;max-width:880px;margin:auto;padding:32px 0;font-size:12px;line-height:18px;display:flex}.EPVjHa_welcomeSurface{justify-content:center;align-items:center;min-width:0;height:100%;padding:32px;display:flex}.EPVjHa_welcome{text-align:center;max-width:420px}.EPVjHa_welcomeEyebrow{color:var(--dsw-alias-label-tertiary);text-transform:uppercase;font-size:12px;line-height:18px}.EPVjHa_welcome h1{color:var(--dsw-alias-label-primary);margin:8px 0;font-size:24px;font-weight:600;line-height:32px}.EPVjHa_welcome p{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px;line-height:20px}@keyframes EPVjHa_pulse{0%,to{opacity:.35}50%{opacity:1}}@media (width<=600px){.EPVjHa_surfaceHeader{padding:12px 12px 10px}.EPVjHa_headerRow{flex-direction:column;align-items:stretch;gap:8px}.EPVjHa_headerActions{flex-wrap:wrap}.EPVjHa_backRow{margin-bottom:6px}.EPVjHa_timeline{scrollbar-gutter:auto;padding:8px 12px 16px}.EPVjHa_messageRow{padding:8px 0}}@media (prefers-reduced-motion:reduce){.EPVjHa_loadingMark{animation:none}.EPVjHa_entryArrow{transition:none}.EPVjHa_entryRow:hover .EPVjHa_entryArrow,.EPVjHa_entryRow:focus-visible .EPVjHa_entryArrow{transform:none}}.EPVjHa_messageRun{margin:2px 0;padding:3px 0}.EPVjHa_messageRow[data-grouped]:has([data-thread-entry]){margin-top:3px;padding-top:7px;position:relative}.EPVjHa_messageRow[data-grouped]:has([data-thread-entry]):before{background:var(--dsw-alias-border-l2);content:\"\";height:1px;position:absolute;inset:0 0 auto 38px}.EPVjHa_runDivider{border-top:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);margin:2px 0 0 38px;padding:5px 0 0;font-size:11px;line-height:16px}.EPVjHa_runDivider+.EPVjHa_messageRow[data-grouped]:has([data-thread-entry]){margin-top:0}.EPVjHa_runDivider+.EPVjHa_messageRow[data-grouped]:has([data-thread-entry]):before{content:none}.EPVjHa_mention{background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 12%, transparent);border-radius:var(--dsw-radius-sm,6px);color:var(--dsw-alias-state-business-primary);padding:0 4px;font-weight:500;box-shadow:0 1px 2px #00000014}.EPVjHa_mentionsRow{gap:4px;width:fit-content;margin-top:3px;font-size:.85em;display:flex}.EPVjHa_attachmentStrip{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.EPVjHa_attachmentThumb{border-radius:var(--dsw-radius-sm,8px);cursor:zoom-in;border:0;padding:0}.EPVjHa_attachmentThumb img{border-radius:var(--dsw-radius-sm,8px);object-fit:cover;width:128px;height:96px;display:block}.EPVjHa_attachmentThumb:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.EPVjHa_confirmBody{margin:0 0 8px}.EPVjHa_confirmList{gap:6px;margin:0;padding-left:18px;display:grid}.EPVjHa_refLink{border-radius:var(--dsw-radius-xs,4px);color:var(--dsw-alias-state-business-primary);cursor:pointer;font:inherit;text-align:left;text-underline-offset:3px;background:0 0;border:none;padding:0;text-decoration:underline}.EPVjHa_refLink:hover{text-decoration-thickness:2px}.EPVjHa_refLink:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.EPVjHa_attachmentModal{width:min(1100px,92vw)}.EPVjHa_attachmentZoom{object-fit:contain;border-radius:var(--dsw-radius-md,12px);max-width:100%;max-height:78vh;margin:0 auto;display:block}.EPVjHa_attachmentChip{background:var(--dsw-alias-interactive-bg-hover);border-radius:var(--dsw-radius-sm,6px);align-items:baseline;gap:6px;max-width:100%;padding:3px 8px;display:inline-flex}.EPVjHa_attachmentChipName{text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:17px;overflow:hidden}.EPVjHa_attachmentChipSize{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:11px;line-height:17px}";
|
|
9322
9875
|
const tagId$6 = "@wowyuarm/dsh-agent-team/conversation.module.css";
|
|
9323
9876
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
|
|
9324
9877
|
const tag = document.createElement("style");
|
|
@@ -9328,54 +9881,54 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9328
9881
|
document.head.appendChild(tag);
|
|
9329
9882
|
}
|
|
9330
9883
|
var conversation_module_css_default = {
|
|
9331
|
-
"attachmentChip": "
|
|
9332
|
-
"attachmentChipName": "
|
|
9333
|
-
"attachmentChipSize": "
|
|
9334
|
-
"attachmentModal": "
|
|
9335
|
-
"attachmentStrip": "
|
|
9336
|
-
"attachmentThumb": "
|
|
9337
|
-
"attachmentZoom": "
|
|
9338
|
-
"backRow": "
|
|
9339
|
-
"confirmBody": "
|
|
9340
|
-
"confirmList": "
|
|
9341
|
-
"emptyState": "
|
|
9342
|
-
"emptySurface": "
|
|
9343
|
-
"entryArrow": "
|
|
9344
|
-
"entryLine": "
|
|
9345
|
-
"entryRow": "
|
|
9346
|
-
"error": "
|
|
9347
|
-
"errorState": "
|
|
9348
|
-
"headerActions": "
|
|
9349
|
-
"headerCopy": "
|
|
9350
|
-
"headerRow": "
|
|
9351
|
-
"loadingMark": "
|
|
9352
|
-
"loadingState": "
|
|
9353
|
-
"mention": "
|
|
9354
|
-
"mentionsRow": "
|
|
9355
|
-
"messageBody": "
|
|
9356
|
-
"messageClamp": "
|
|
9357
|
-
"messageExpand": "
|
|
9358
|
-
"messageIdentity": "
|
|
9359
|
-
"messageIdentityImage": "
|
|
9360
|
-
"messageMarkdown": "
|
|
9361
|
-
"messageRow": "
|
|
9362
|
-
"messageRun": "
|
|
9363
|
-
"messageText": "
|
|
9364
|
-
"messageTime": "
|
|
9365
|
-
"nameRow": "
|
|
9366
|
-
"pulse": "
|
|
9367
|
-
"refLink": "
|
|
9368
|
-
"runDivider": "
|
|
9369
|
-
"stateCluster": "
|
|
9370
|
-
"statusWord": "
|
|
9371
|
-
"surface": "
|
|
9372
|
-
"surfaceHeader": "
|
|
9373
|
-
"timeline": "
|
|
9374
|
-
"timelineAction": "
|
|
9375
|
-
"timelineContent": "
|
|
9376
|
-
"welcome": "
|
|
9377
|
-
"welcomeEyebrow": "
|
|
9378
|
-
"welcomeSurface": "
|
|
9884
|
+
"attachmentChip": "EPVjHa_attachmentChip",
|
|
9885
|
+
"attachmentChipName": "EPVjHa_attachmentChipName",
|
|
9886
|
+
"attachmentChipSize": "EPVjHa_attachmentChipSize",
|
|
9887
|
+
"attachmentModal": "EPVjHa_attachmentModal",
|
|
9888
|
+
"attachmentStrip": "EPVjHa_attachmentStrip",
|
|
9889
|
+
"attachmentThumb": "EPVjHa_attachmentThumb",
|
|
9890
|
+
"attachmentZoom": "EPVjHa_attachmentZoom",
|
|
9891
|
+
"backRow": "EPVjHa_backRow",
|
|
9892
|
+
"confirmBody": "EPVjHa_confirmBody",
|
|
9893
|
+
"confirmList": "EPVjHa_confirmList",
|
|
9894
|
+
"emptyState": "EPVjHa_emptyState",
|
|
9895
|
+
"emptySurface": "EPVjHa_emptySurface",
|
|
9896
|
+
"entryArrow": "EPVjHa_entryArrow",
|
|
9897
|
+
"entryLine": "EPVjHa_entryLine",
|
|
9898
|
+
"entryRow": "EPVjHa_entryRow",
|
|
9899
|
+
"error": "EPVjHa_error",
|
|
9900
|
+
"errorState": "EPVjHa_errorState",
|
|
9901
|
+
"headerActions": "EPVjHa_headerActions",
|
|
9902
|
+
"headerCopy": "EPVjHa_headerCopy",
|
|
9903
|
+
"headerRow": "EPVjHa_headerRow",
|
|
9904
|
+
"loadingMark": "EPVjHa_loadingMark",
|
|
9905
|
+
"loadingState": "EPVjHa_loadingState",
|
|
9906
|
+
"mention": "EPVjHa_mention",
|
|
9907
|
+
"mentionsRow": "EPVjHa_mentionsRow",
|
|
9908
|
+
"messageBody": "EPVjHa_messageBody",
|
|
9909
|
+
"messageClamp": "EPVjHa_messageClamp",
|
|
9910
|
+
"messageExpand": "EPVjHa_messageExpand",
|
|
9911
|
+
"messageIdentity": "EPVjHa_messageIdentity",
|
|
9912
|
+
"messageIdentityImage": "EPVjHa_messageIdentityImage",
|
|
9913
|
+
"messageMarkdown": "EPVjHa_messageMarkdown",
|
|
9914
|
+
"messageRow": "EPVjHa_messageRow",
|
|
9915
|
+
"messageRun": "EPVjHa_messageRun",
|
|
9916
|
+
"messageText": "EPVjHa_messageText",
|
|
9917
|
+
"messageTime": "EPVjHa_messageTime",
|
|
9918
|
+
"nameRow": "EPVjHa_nameRow",
|
|
9919
|
+
"pulse": "EPVjHa_pulse",
|
|
9920
|
+
"refLink": "EPVjHa_refLink",
|
|
9921
|
+
"runDivider": "EPVjHa_runDivider",
|
|
9922
|
+
"stateCluster": "EPVjHa_stateCluster",
|
|
9923
|
+
"statusWord": "EPVjHa_statusWord",
|
|
9924
|
+
"surface": "EPVjHa_surface",
|
|
9925
|
+
"surfaceHeader": "EPVjHa_surfaceHeader",
|
|
9926
|
+
"timeline": "EPVjHa_timeline",
|
|
9927
|
+
"timelineAction": "EPVjHa_timelineAction",
|
|
9928
|
+
"timelineContent": "EPVjHa_timelineContent",
|
|
9929
|
+
"welcome": "EPVjHa_welcome",
|
|
9930
|
+
"welcomeEyebrow": "EPVjHa_welcomeEyebrow",
|
|
9931
|
+
"welcomeSurface": "EPVjHa_welcomeSurface"
|
|
9379
9932
|
};
|
|
9380
9933
|
//#endregion
|
|
9381
9934
|
//#region src/client/TeamMessage.tsx
|
|
@@ -9879,8 +10432,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9879
10432
|
});
|
|
9880
10433
|
}
|
|
9881
10434
|
//#endregion
|
|
9882
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
9883
|
-
const css$5 = ".
|
|
10435
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/avatar-stack.module.css.mjs
|
|
10436
|
+
const css$5 = ".K1HlrW_stack{flex:none;align-items:center;display:inline-flex}.K1HlrW_avatar,.K1HlrW_avatarImage,.K1HlrW_overflow{box-shadow:0 0 0 2px var(--team-mark-ring,var(--dsw-alias-bg-base)), 0 0 0 2px var(--dsw-alias-bg-base);corner-shape:round;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:9px;font-weight:600;display:inline-flex}.K1HlrW_avatar{background:hsl(var(--team-avatar-hue,212) 42% 46%);color:#fff}.K1HlrW_avatarImage{background:hsl(var(--team-avatar-hue,212) 42% 46%);object-fit:cover}.K1HlrW_overflow{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.K1HlrW_stack>:not(:first-child){margin-left:-6px}";
|
|
9884
10437
|
const tagId$5 = "@wowyuarm/dsh-agent-team/avatar-stack.module.css";
|
|
9885
10438
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
|
|
9886
10439
|
const tag = document.createElement("style");
|
|
@@ -9890,10 +10443,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9890
10443
|
document.head.appendChild(tag);
|
|
9891
10444
|
}
|
|
9892
10445
|
var avatar_stack_module_css_default = {
|
|
9893
|
-
"avatar": "
|
|
9894
|
-
"avatarImage": "
|
|
9895
|
-
"overflow": "
|
|
9896
|
-
"stack": "
|
|
10446
|
+
"avatar": "K1HlrW_avatar",
|
|
10447
|
+
"avatarImage": "K1HlrW_avatarImage",
|
|
10448
|
+
"overflow": "K1HlrW_overflow",
|
|
10449
|
+
"stack": "K1HlrW_stack"
|
|
9897
10450
|
};
|
|
9898
10451
|
//#endregion
|
|
9899
10452
|
//#region src/client/TeamAvatarStack.tsx
|
|
@@ -9961,8 +10514,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9961
10514
|
return name.replace(/^@/, "").replace(/^member:/, "").slice(0, 1).toUpperCase();
|
|
9962
10515
|
}
|
|
9963
10516
|
//#endregion
|
|
9964
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
9965
|
-
const css$4 = ".
|
|
10517
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/countBadge.module.css.mjs
|
|
10518
|
+
const css$4 = ".nk4Ika_badge{background:var(--dsw-alias-state-business-primary);box-sizing:border-box;color:var(--dsw-alias-label-primary-foreground);corner-shape:round;font-variant-numeric:tabular-nums;border-radius:999px;flex:none;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:600;line-height:18px;display:inline-flex}.nk4Ika_hairline{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);background:0 0;padding:0 4px}";
|
|
9966
10519
|
const tagId$4 = "@wowyuarm/dsh-agent-team/countBadge.module.css";
|
|
9967
10520
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
9968
10521
|
const tag = document.createElement("style");
|
|
@@ -9972,8 +10525,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9972
10525
|
document.head.appendChild(tag);
|
|
9973
10526
|
}
|
|
9974
10527
|
var countBadge_module_css_default = {
|
|
9975
|
-
"badge": "
|
|
9976
|
-
"hairline": "
|
|
10528
|
+
"badge": "nk4Ika_badge",
|
|
10529
|
+
"hairline": "nk4Ika_hairline"
|
|
9977
10530
|
};
|
|
9978
10531
|
//#endregion
|
|
9979
10532
|
//#region src/client/TeamCountBadge.tsx
|
|
@@ -10186,8 +10739,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10186
10739
|
return blocks;
|
|
10187
10740
|
}
|
|
10188
10741
|
//#endregion
|
|
10189
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
10190
|
-
const css$3 = ".
|
|
10742
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/channel.module.css.mjs
|
|
10743
|
+
const css$3 = ".a-0igq_headerMeta{color:var(--dsw-alias-label-tertiary);flex-wrap:wrap;align-items:center;gap:6px;margin-top:7px;font-size:12px;line-height:18px;display:flex}.a-0igq_headerMeta span+span:before{content:\"·\";margin-right:6px}.a-0igq_memberList{gap:2px;margin:0 -6px;display:grid}.a-0igq_modalBody{max-height:min(65vh,520px);overflow-y:auto}";
|
|
10191
10744
|
const tagId$3 = "@wowyuarm/dsh-agent-team/channel.module.css";
|
|
10192
10745
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
|
|
10193
10746
|
const tag = document.createElement("style");
|
|
@@ -10197,13 +10750,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10197
10750
|
document.head.appendChild(tag);
|
|
10198
10751
|
}
|
|
10199
10752
|
var channel_module_css_default = {
|
|
10200
|
-
"headerMeta": "
|
|
10201
|
-
"memberList": "
|
|
10202
|
-
"modalBody": "
|
|
10753
|
+
"headerMeta": "a-0igq_headerMeta",
|
|
10754
|
+
"memberList": "a-0igq_memberList",
|
|
10755
|
+
"modalBody": "a-0igq_modalBody"
|
|
10203
10756
|
};
|
|
10204
10757
|
//#endregion
|
|
10205
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
10206
|
-
const css$2 = "
|
|
10758
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/thread.module.css.mjs
|
|
10759
|
+
const css$2 = ".zYkyBa_titleLine{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.zYkyBa_titleLine h1{margin:0}.zYkyBa_workSection,.zYkyBa_riskSection{max-width:880px;margin:14px auto 0}.zYkyBa_riskSection h2{color:var(--dsw-alias-state-error-primary);margin:0 0 6px;font-size:12px;font-weight:600;line-height:18px}.zYkyBa_riskRow{color:var(--dsw-alias-label-secondary);flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;margin:0 0 2px;font-size:11px;line-height:16px;display:flex;overflow:hidden}.zYkyBa_riskRow>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.zYkyBa_riskClass{color:var(--dsw-alias-state-error-primary);font-weight:600}.zYkyBa_claimList{gap:0;padding:4px 0 0 22px;display:grid}.zYkyBa_claimRow{border-radius:var(--dsw-radius-sm,6px);grid-template-columns:14px minmax(0,1fr) auto;align-items:center;column-gap:8px;min-height:30px;padding:3px 6px 5px;display:grid}.zYkyBa_claimRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.zYkyBa_claimOwner{color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;grid-area:1/2;align-items:center;gap:4px;min-width:0;font-size:11px;font-weight:500;line-height:16px;display:inline-flex;overflow:hidden}.zYkyBa_claimDirection{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;grid-area:2/2;min-width:0;font-size:12px;line-height:18px}.zYkyBa_claimRowDone .zYkyBa_claimDirection{color:var(--dsw-alias-label-secondary)}.zYkyBa_claimState{color:var(--dsw-alias-label-tertiary);white-space:nowrap;grid-area:1/3;font-size:11px;line-height:18px}.zYkyBa_emptyClaims{color:var(--dsw-alias-label-tertiary);margin:0;padding:5px 6px;font-size:11px;line-height:18px}.zYkyBa_activityRow{color:var(--dsw-alias-label-tertiary);text-align:center;justify-content:center;align-items:center;gap:8px;max-width:100%;margin:4px auto;padding:5px 12px;font-size:11px;line-height:18px;display:flex}.zYkyBa_activityText{overflow-wrap:anywhere;min-width:0}.zYkyBa_activityMark{background:var(--dsw-alias-border-l3);corner-shape:round;border-radius:50%;flex:0 0 5px;width:5px;height:5px}.zYkyBa_activityRow:has(+.zYkyBa_activityRow),.zYkyBa_activityRow+.zYkyBa_activityRow{text-align:left;justify-content:flex-start;padding-left:38px}.zYkyBa_historySection{border-bottom:1px solid var(--dsw-alias-border-l2);max-width:100%;margin:0 auto 12px;padding-bottom:10px}.zYkyBa_historySection h2{color:var(--dsw-alias-label-tertiary);letter-spacing:.02em;text-transform:uppercase;margin:0 0 4px;font-size:11px;font-weight:600;line-height:16px}.zYkyBa_publicSection{min-width:0}.zYkyBa_unreadBoundary{color:var(--dsw-alias-label-tertiary);align-items:center;gap:10px;margin:10px 0 6px;font-size:11px;line-height:16px;display:flex}.zYkyBa_unreadBoundary:before,.zYkyBa_unreadBoundary:after{background:var(--dsw-alias-border-l3);content:\"\";flex:1;height:1px}.zYkyBa_unreadBoundary span{flex:none}.zYkyBa_daySeparator{color:var(--dsw-alias-label-tertiary);letter-spacing:.02em;align-items:center;gap:10px;margin:12px 0 4px;font-size:11px;line-height:16px;display:flex}.zYkyBa_daySeparator:before,.zYkyBa_daySeparator:after{background:var(--dsw-alias-border-l2);content:\"\";flex:1;height:1px}.zYkyBa_daySeparator span{flex:none}.zYkyBa_newUpdates{background:var(--dsw-specific-input-major,var(--dsw-alias-bg-layer-1));border:1px solid var(--dsw-alias-border-l2-darkmode-thin);corner-shape:round;box-shadow:var(--dsw-shadow-lv2);z-index:2;border-radius:999px;justify-content:center;align-items:center;width:fit-content;margin:8px auto;padding:4px 12px;font-size:12px;line-height:18px;display:flex;position:sticky;bottom:8px}.zYkyBa_newUpdatesJump{color:var(--dsw-alias-label-secondary);cursor:pointer;font:inherit;line-height:inherit;background:0 0;border:0;padding:0}.zYkyBa_newUpdatesJump:focus-visible{border-radius:var(--dsw-radius-sm,6px);outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.zYkyBa_taskTitle{color:var(--dsw-alias-label-secondary);-webkit-line-clamp:1;line-clamp:1;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:2px 0 0;font-size:13px;line-height:20px;display:-webkit-box;overflow:hidden}.zYkyBa_closedBar{flex-direction:column;align-items:center;display:flex}.zYkyBa_closedNotice{color:var(--dsw-alias-label-tertiary);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:10px 16px 14px;font-size:13px;line-height:20px;display:flex}@media (width<=600px){.zYkyBa_claimRow{align-items:start}.zYkyBa_activityRow{padding-inline:0}.zYkyBa_newUpdates{max-width:calc(100% - 16px)}}";
|
|
10207
10760
|
const tagId$2 = "@wowyuarm/dsh-agent-team/thread.module.css";
|
|
10208
10761
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
10209
10762
|
const tag = document.createElement("style");
|
|
@@ -10213,30 +10766,30 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10213
10766
|
document.head.appendChild(tag);
|
|
10214
10767
|
}
|
|
10215
10768
|
var thread_module_css_default = {
|
|
10216
|
-
"activityMark": "
|
|
10217
|
-
"activityRow": "
|
|
10218
|
-
"activityText": "
|
|
10219
|
-
"claimDirection": "
|
|
10220
|
-
"claimList": "
|
|
10221
|
-
"claimOwner": "
|
|
10222
|
-
"claimRow": "
|
|
10223
|
-
"claimRowDone": "
|
|
10224
|
-
"claimState": "
|
|
10225
|
-
"closedBar": "
|
|
10226
|
-
"closedNotice": "
|
|
10227
|
-
"daySeparator": "
|
|
10228
|
-
"emptyClaims": "
|
|
10229
|
-
"historySection": "
|
|
10230
|
-
"newUpdates": "
|
|
10231
|
-
"newUpdatesJump": "
|
|
10232
|
-
"publicSection": "
|
|
10233
|
-
"riskClass": "
|
|
10234
|
-
"riskRow": "
|
|
10235
|
-
"riskSection": "
|
|
10236
|
-
"taskTitle": "
|
|
10237
|
-
"titleLine": "
|
|
10238
|
-
"unreadBoundary": "
|
|
10239
|
-
"workSection": "
|
|
10769
|
+
"activityMark": "zYkyBa_activityMark",
|
|
10770
|
+
"activityRow": "zYkyBa_activityRow",
|
|
10771
|
+
"activityText": "zYkyBa_activityText",
|
|
10772
|
+
"claimDirection": "zYkyBa_claimDirection",
|
|
10773
|
+
"claimList": "zYkyBa_claimList",
|
|
10774
|
+
"claimOwner": "zYkyBa_claimOwner",
|
|
10775
|
+
"claimRow": "zYkyBa_claimRow",
|
|
10776
|
+
"claimRowDone": "zYkyBa_claimRowDone",
|
|
10777
|
+
"claimState": "zYkyBa_claimState",
|
|
10778
|
+
"closedBar": "zYkyBa_closedBar",
|
|
10779
|
+
"closedNotice": "zYkyBa_closedNotice",
|
|
10780
|
+
"daySeparator": "zYkyBa_daySeparator",
|
|
10781
|
+
"emptyClaims": "zYkyBa_emptyClaims",
|
|
10782
|
+
"historySection": "zYkyBa_historySection",
|
|
10783
|
+
"newUpdates": "zYkyBa_newUpdates",
|
|
10784
|
+
"newUpdatesJump": "zYkyBa_newUpdatesJump",
|
|
10785
|
+
"publicSection": "zYkyBa_publicSection",
|
|
10786
|
+
"riskClass": "zYkyBa_riskClass",
|
|
10787
|
+
"riskRow": "zYkyBa_riskRow",
|
|
10788
|
+
"riskSection": "zYkyBa_riskSection",
|
|
10789
|
+
"taskTitle": "zYkyBa_taskTitle",
|
|
10790
|
+
"titleLine": "zYkyBa_titleLine",
|
|
10791
|
+
"unreadBoundary": "zYkyBa_unreadBoundary",
|
|
10792
|
+
"workSection": "zYkyBa_workSection"
|
|
10240
10793
|
};
|
|
10241
10794
|
//#endregion
|
|
10242
10795
|
//#region src/client/TeamChannelPage.tsx
|
|
@@ -10828,8 +11381,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10828
11381
|
});
|
|
10829
11382
|
}
|
|
10830
11383
|
//#endregion
|
|
10831
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
10832
|
-
const css$1 = ".
|
|
11384
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/inbox.module.css.mjs
|
|
11385
|
+
const css$1 = "._1b1eOa_list{flex-direction:column;gap:2px;display:flex}._1b1eOa_headerMeta{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:0 10px;display:flex;overflow:hidden}._1b1eOa_headerUnread{color:var(--dsw-alias-label-primary);font-weight:600}._1b1eOa_row{border-radius:var(--dsw-radius-lg,8px);color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:1px 8px;width:100%;padding:8px;display:grid}._1b1eOa_row:hover,._1b1eOa_row:focus-visible{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover)}._1b1eOa_row:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}._1b1eOa_rowActor{grid-area:1/1;display:flex}._1b1eOa_rowLine{grid-area:1/2;align-items:baseline;gap:2px 8px;min-width:0;display:flex;container-type:inline-size}._1b1eOa_rowCrumb{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:13px;line-height:20px;overflow:hidden}._1b1eOa_rowWorkspace{color:var(--dsw-alias-label-tertiary);font-size:12px}._1b1eOa_rowChannel{color:var(--dsw-alias-label-primary);font-weight:600}._1b1eOa_rowTask{border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm,6px);color:var(--dsw-alias-label-secondary);white-space:nowrap;flex:none;margin-left:3px;padding:0 5px;font-size:11px;font-weight:600;line-height:15px}._1b1eOa_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){._1b1eOa_rowTime{display:none}}._1b1eOa_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}._1b1eOa_section{flex-direction:column;display:flex}._1b1eOa_section+._1b1eOa_section{margin-top:20px}._1b1eOa_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}._1b1eOa_sectionCount{font-variant-numeric:tabular-nums;margin-left:6px}";
|
|
10833
11386
|
const tagId$1 = "@wowyuarm/dsh-agent-team/inbox.module.css";
|
|
10834
11387
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
10835
11388
|
const tag = document.createElement("style");
|
|
@@ -10839,21 +11392,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10839
11392
|
document.head.appendChild(tag);
|
|
10840
11393
|
}
|
|
10841
11394
|
var inbox_module_css_default = {
|
|
10842
|
-
"headerMeta": "
|
|
10843
|
-
"headerUnread": "
|
|
10844
|
-
"list": "
|
|
10845
|
-
"row": "
|
|
10846
|
-
"rowActor": "
|
|
10847
|
-
"rowChannel": "
|
|
10848
|
-
"rowCrumb": "
|
|
10849
|
-
"rowLine": "
|
|
10850
|
-
"rowPreview": "
|
|
10851
|
-
"rowTask": "
|
|
10852
|
-
"rowTime": "
|
|
10853
|
-
"rowWorkspace": "
|
|
10854
|
-
"section": "
|
|
10855
|
-
"sectionCount": "
|
|
10856
|
-
"sectionTitle": "
|
|
11395
|
+
"headerMeta": "_1b1eOa_headerMeta",
|
|
11396
|
+
"headerUnread": "_1b1eOa_headerUnread",
|
|
11397
|
+
"list": "_1b1eOa_list",
|
|
11398
|
+
"row": "_1b1eOa_row",
|
|
11399
|
+
"rowActor": "_1b1eOa_rowActor",
|
|
11400
|
+
"rowChannel": "_1b1eOa_rowChannel",
|
|
11401
|
+
"rowCrumb": "_1b1eOa_rowCrumb",
|
|
11402
|
+
"rowLine": "_1b1eOa_rowLine",
|
|
11403
|
+
"rowPreview": "_1b1eOa_rowPreview",
|
|
11404
|
+
"rowTask": "_1b1eOa_rowTask",
|
|
11405
|
+
"rowTime": "_1b1eOa_rowTime",
|
|
11406
|
+
"rowWorkspace": "_1b1eOa_rowWorkspace",
|
|
11407
|
+
"section": "_1b1eOa_section",
|
|
11408
|
+
"sectionCount": "_1b1eOa_sectionCount",
|
|
11409
|
+
"sectionTitle": "_1b1eOa_sectionTitle"
|
|
10857
11410
|
};
|
|
10858
11411
|
//#endregion
|
|
10859
11412
|
//#region src/client/TeamInboxPage.tsx
|
|
@@ -12786,8 +13339,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12786
13339
|
};
|
|
12787
13340
|
}
|
|
12788
13341
|
//#endregion
|
|
12789
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
12790
|
-
const css = ".
|
|
13342
|
+
//#region \0dsh-css:/home/yu/projects/release-0.2.1/packages/client-agent-team/src/client/create.module.css.mjs
|
|
13343
|
+
const css = ".qHUGnG_form{gap:16px;display:grid}.qHUGnG_modeSwitch{margin-bottom:16px}.qHUGnG_field{color:var(--dsw-alias-label-secondary);gap:6px;font-size:12px;line-height:18px;display:grid}.qHUGnG_input{box-sizing:border-box;width:100%}.qHUGnG_menuCap{max-height:min(320px,56vh)}.qHUGnG_selectTrigger{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm,8px);box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;justify-content:space-between;align-items:center;gap:8px;min-height:32px;padding:4px 10px;font-size:14px;line-height:22px;display:flex}.qHUGnG_selectTrigger:disabled{cursor:default;opacity:.6}.qHUGnG_selectTrigger:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}.qHUGnG_selectValue{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.qHUGnG_chevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .12s;display:inline-flex}.qHUGnG_chevronOpen{transform:rotate(180deg)}.qHUGnG_memberPicker{border:0;gap:4px;max-height:220px;margin:0;padding:0;display:grid;overflow-y:auto}.qHUGnG_memberPicker legend{color:var(--dsw-alias-label-secondary);padding:0 0 6px;font-size:12px;line-height:18px}.qHUGnG_memberOption{border-radius:var(--dsw-radius-sm,6px);color:var(--dsw-alias-label-primary);grid-template-columns:auto 14px minmax(0,1fr);align-items:center;gap:0 7px;min-height:32px;padding:3px 6px;display:grid}.qHUGnG_memberOption:hover{background:var(--dsw-alias-interactive-bg-hover)}.qHUGnG_memberOption input{margin:0}.qHUGnG_memberOption small{color:var(--dsw-alias-label-tertiary);grid-column:3;font-size:10px;line-height:14px}.qHUGnG_unavailableDot{background:var(--dsw-alias-label-tertiary);corner-shape:round;border-radius:50%;justify-self:center;width:7px;height:7px;display:inline-block}.qHUGnG_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px;line-height:18px}.qHUGnG_notice{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px;line-height:18px}.qHUGnG_state{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:18px}.qHUGnG_roster{gap:2px;display:grid}.qHUGnG_failure{justify-items:start;gap:8px;display:grid}.qHUGnG_dialogContent{max-height:min(70vh,560px);overflow-y:auto}@media (width<=600px){.qHUGnG_dialogContent{max-height:calc(100vh - 180px)}.qHUGnG_memberPicker{max-height:180px}}";
|
|
12791
13344
|
const tagId = "@wowyuarm/dsh-agent-team/create.module.css";
|
|
12792
13345
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
12793
13346
|
const tag = document.createElement("style");
|
|
@@ -12797,24 +13350,24 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12797
13350
|
document.head.appendChild(tag);
|
|
12798
13351
|
}
|
|
12799
13352
|
var create_module_css_default = {
|
|
12800
|
-
"chevron": "
|
|
12801
|
-
"chevronOpen": "
|
|
12802
|
-
"dialogContent": "
|
|
12803
|
-
"error": "
|
|
12804
|
-
"failure": "
|
|
12805
|
-
"field": "
|
|
12806
|
-
"form": "
|
|
12807
|
-
"input": "
|
|
12808
|
-
"memberOption": "
|
|
12809
|
-
"memberPicker": "
|
|
12810
|
-
"menuCap": "
|
|
12811
|
-
"modeSwitch": "
|
|
12812
|
-
"notice": "
|
|
12813
|
-
"roster": "
|
|
12814
|
-
"selectTrigger": "
|
|
12815
|
-
"selectValue": "
|
|
12816
|
-
"state": "
|
|
12817
|
-
"unavailableDot": "
|
|
13353
|
+
"chevron": "qHUGnG_chevron",
|
|
13354
|
+
"chevronOpen": "qHUGnG_chevronOpen",
|
|
13355
|
+
"dialogContent": "qHUGnG_dialogContent",
|
|
13356
|
+
"error": "qHUGnG_error",
|
|
13357
|
+
"failure": "qHUGnG_failure",
|
|
13358
|
+
"field": "qHUGnG_field",
|
|
13359
|
+
"form": "qHUGnG_form",
|
|
13360
|
+
"input": "qHUGnG_input",
|
|
13361
|
+
"memberOption": "qHUGnG_memberOption",
|
|
13362
|
+
"memberPicker": "qHUGnG_memberPicker",
|
|
13363
|
+
"menuCap": "qHUGnG_menuCap",
|
|
13364
|
+
"modeSwitch": "qHUGnG_modeSwitch",
|
|
13365
|
+
"notice": "qHUGnG_notice",
|
|
13366
|
+
"roster": "qHUGnG_roster",
|
|
13367
|
+
"selectTrigger": "qHUGnG_selectTrigger",
|
|
13368
|
+
"selectValue": "qHUGnG_selectValue",
|
|
13369
|
+
"state": "qHUGnG_state",
|
|
13370
|
+
"unavailableDot": "qHUGnG_unavailableDot"
|
|
12818
13371
|
};
|
|
12819
13372
|
//#endregion
|
|
12820
13373
|
//#region src/client/TeamMemberEditor.tsx
|
|
@@ -14640,9 +15193,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14640
15193
|
timelineLabel: "消息时间线",
|
|
14641
15194
|
taskClosedNotice: "任务已关闭,重新打开后可继续讨论",
|
|
14642
15195
|
human: "Human",
|
|
14643
|
-
|
|
14644
|
-
|
|
14645
|
-
|
|
15196
|
+
teamSettingsNav: "团队",
|
|
15197
|
+
teamSettingsTitle: "团队",
|
|
15198
|
+
teamSettingsIntro: "你在 Team 里的身份,以及 jev 要用的端点。",
|
|
14646
15199
|
humanSettingsName: "名字",
|
|
14647
15200
|
humanSettingsNameHint: "Agents 用这个名字 @ 到你;改名只对之后的消息生效。",
|
|
14648
15201
|
humanSettingsNameEmpty: "名字不能为空。",
|
|
@@ -14662,6 +15215,29 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14662
15215
|
humanSettingsUnavailable: "资料读不出来:{message}",
|
|
14663
15216
|
humanSettingsVersion: "版本 {version}",
|
|
14664
15217
|
humanSettingsUpdateAvailable: "有新版本 {version},去查看发布说明",
|
|
15218
|
+
teamJudgeGroupTitle: "jev",
|
|
15219
|
+
teamJudgeGroupHint: "判断隔了很久之后这一步是否仍是同一件事。调用发往 apiBase 下的 /systemone,换端点通常要同时换 model;留空沿用部署默认值。",
|
|
15220
|
+
teamJudgeReady: "jev 已就绪",
|
|
15221
|
+
teamJudgeNoKey: "未配置 key,填入即启用",
|
|
15222
|
+
teamJudgeUnavailable: "jev 不可用:检查 apiBase 与 model",
|
|
15223
|
+
teamJudgeApiBase: "apiBase",
|
|
15224
|
+
teamJudgeModel: "model",
|
|
15225
|
+
teamJudgeKey: "key",
|
|
15226
|
+
teamJudgeKeyHint: "只写不回显:留空保存不会改动已存的 key。",
|
|
15227
|
+
teamJudgeKeySet: "已配置",
|
|
15228
|
+
teamJudgeKeyUnset: "未配置",
|
|
15229
|
+
teamJudgeClearKey: "清除 key",
|
|
15230
|
+
teamJudgeClearHint: "清除后 jev 立即卸载,不再判断。",
|
|
15231
|
+
teamJudgeClearBlocked: "先保存,再清除。",
|
|
15232
|
+
teamJudgeClearFailed: "没能清除,请重试。",
|
|
15233
|
+
teamSettingsOverridden: "已覆盖",
|
|
15234
|
+
teamSettingsReset: "重置",
|
|
15235
|
+
teamSettingsInvalid: "这个值不被接受。",
|
|
15236
|
+
teamSettingsUnavailable: "这台部署没有提供 Team 的设置文档。",
|
|
15237
|
+
teamSettingsReadOnly: "当前设置是只读的。",
|
|
15238
|
+
teamSettingsSaveFailed: "保存没有被接受,请检查后重试。",
|
|
15239
|
+
teamSettingsSave: "保存",
|
|
15240
|
+
teamSettingsSaving: "保存中…",
|
|
14665
15241
|
environmentOkTitle: "在支持范围内",
|
|
14666
15242
|
environmentOkDetail: "正在运行的 DSH {version} 在我们声明的支持范围内。",
|
|
14667
15243
|
environmentOutOfRangeTitle: "不在支持范围内",
|
|
@@ -14857,9 +15433,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14857
15433
|
timelineLabel: "Message timeline",
|
|
14858
15434
|
taskClosedNotice: "This task is closed; reopen it to continue the discussion",
|
|
14859
15435
|
human: "Human",
|
|
14860
|
-
|
|
14861
|
-
|
|
14862
|
-
|
|
15436
|
+
teamSettingsNav: "Team",
|
|
15437
|
+
teamSettingsTitle: "Team",
|
|
15438
|
+
teamSettingsIntro: "Your identity in the Team, and the endpoint jev calls.",
|
|
14863
15439
|
humanSettingsName: "Name",
|
|
14864
15440
|
humanSettingsNameHint: "Agents @ you by this name; a rename applies to later messages only.",
|
|
14865
15441
|
humanSettingsNameEmpty: "A name is required.",
|
|
@@ -14879,6 +15455,29 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14879
15455
|
humanSettingsUnavailable: "The profile could not be read: {message}",
|
|
14880
15456
|
humanSettingsVersion: "Version {version}",
|
|
14881
15457
|
humanSettingsUpdateAvailable: "New version {version} available — see the release notes",
|
|
15458
|
+
teamJudgeGroupTitle: "jev",
|
|
15459
|
+
teamJudgeGroupHint: "Decides whether a step after a long absence still belongs to the same piece of work. Calls go to /systemone under the apiBase, and changing the endpoint usually means changing the model too; empty inherits the deployment default.",
|
|
15460
|
+
teamJudgeReady: "jev is ready",
|
|
15461
|
+
teamJudgeNoKey: "No key yet — enter one to enable it",
|
|
15462
|
+
teamJudgeUnavailable: "jev is unavailable: check the apiBase and model",
|
|
15463
|
+
teamJudgeApiBase: "apiBase",
|
|
15464
|
+
teamJudgeModel: "model",
|
|
15465
|
+
teamJudgeKey: "key",
|
|
15466
|
+
teamJudgeKeyHint: "Write-only: an empty field saves nothing and leaves a stored key in place.",
|
|
15467
|
+
teamJudgeKeySet: "Configured",
|
|
15468
|
+
teamJudgeKeyUnset: "Not configured",
|
|
15469
|
+
teamJudgeClearKey: "Clear key",
|
|
15470
|
+
teamJudgeClearHint: "Clearing unmounts jev immediately; nothing is judged after that.",
|
|
15471
|
+
teamJudgeClearBlocked: "Save first, then clear.",
|
|
15472
|
+
teamJudgeClearFailed: "The key could not be cleared; try again.",
|
|
15473
|
+
teamSettingsOverridden: "Overridden",
|
|
15474
|
+
teamSettingsReset: "Reset",
|
|
15475
|
+
teamSettingsInvalid: "This value is not accepted.",
|
|
15476
|
+
teamSettingsUnavailable: "This deployment does not serve the Team settings document.",
|
|
15477
|
+
teamSettingsReadOnly: "Settings are read-only right now.",
|
|
15478
|
+
teamSettingsSaveFailed: "The save was not accepted; check the values and try again.",
|
|
15479
|
+
teamSettingsSave: "Save",
|
|
15480
|
+
teamSettingsSaving: "Saving…",
|
|
14882
15481
|
environmentOkTitle: "Within the supported range",
|
|
14883
15482
|
environmentOkDetail: "The running DSH {version} is within the range we declare support for.",
|
|
14884
15483
|
environmentOutOfRangeTitle: "Outside the supported range",
|
|
@@ -14966,9 +15565,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14966
15565
|
//#endregion
|
|
14967
15566
|
//#region src/client/index.ts
|
|
14968
15567
|
const NS = "team";
|
|
15568
|
+
/**
|
|
15569
|
+
* The Team Host row's settings namespace. Spelled here rather than imported,
|
|
15570
|
+
* because a client package must not depend on a Host package — the profile, the
|
|
15571
|
+
* judge's endpoint, and the gate's thresholds all live in this one row section,
|
|
15572
|
+
* and each settings page renders only the group it owns.
|
|
15573
|
+
*/
|
|
15574
|
+
const TEAM_SETTINGS_NS = "wowyuarm-agent-team-host";
|
|
14969
15575
|
const inject = [
|
|
14970
15576
|
"slots",
|
|
14971
15577
|
"workspaces",
|
|
15578
|
+
"layout",
|
|
14972
15579
|
"locale",
|
|
14973
15580
|
"remote",
|
|
14974
15581
|
"remote.session",
|
|
@@ -15097,11 +15704,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15097
15704
|
}
|
|
15098
15705
|
});
|
|
15099
15706
|
const environment = new TeamEnvironmentCheck({ loadEnvironment: () => ctx.remote.agentTeam.environment({}) });
|
|
15707
|
+
const contextJudge = new TeamContextJudgeCheck({ loadContextJudge: () => ctx.remote.agentTeam.contextJudge({}) });
|
|
15708
|
+
const judgeForm = new TeamJudgeFormSeat();
|
|
15100
15709
|
ctx.effect(() => () => {
|
|
15101
15710
|
navigation.dispose();
|
|
15102
15711
|
drafts.dispose();
|
|
15103
15712
|
humanIdentity.dispose();
|
|
15104
15713
|
environment.dispose();
|
|
15714
|
+
contextJudge.dispose();
|
|
15715
|
+
judgeForm.dispose();
|
|
15105
15716
|
disposeNavigation();
|
|
15106
15717
|
disposeDrafts();
|
|
15107
15718
|
}, "agent-team: navigation service");
|
|
@@ -15122,6 +15733,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15122
15733
|
restore();
|
|
15123
15734
|
};
|
|
15124
15735
|
}, "agent-team: member session restore");
|
|
15736
|
+
ctx.effect(() => {
|
|
15737
|
+
const releaseMainPanel = () => {
|
|
15738
|
+
if (navigation.getSnapshot().mode !== "team") return;
|
|
15739
|
+
if (ctx.layout.panelInfo.getSnapshot().activePanelId === null) return;
|
|
15740
|
+
ctx.layout.selectPanel(null);
|
|
15741
|
+
};
|
|
15742
|
+
const unsubscribe = navigation.subscribe(releaseMainPanel);
|
|
15743
|
+
releaseMainPanel();
|
|
15744
|
+
return unsubscribe;
|
|
15745
|
+
}, "agent-team: main panel ownership");
|
|
15125
15746
|
const changes = new TeamChangeStream(ctx.remote);
|
|
15126
15747
|
ctx.effect(() => () => changes.dispose(), "agent-team: change subscriptions");
|
|
15127
15748
|
ctx.on("connection/reset", () => {
|
|
@@ -15158,15 +15779,26 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15158
15779
|
registerModeShadow(ctx, navigation, changes, reads, drafts, humanIdentity, "sidebar.workspaces", TeamWorkspaceBrowser);
|
|
15159
15780
|
registerModeShadow(ctx, navigation, changes, reads, drafts, humanIdentity, "main", TeamConversation, void 0, "conversation");
|
|
15160
15781
|
registerModeShadow(ctx, navigation, changes, reads, drafts, humanIdentity, "sidebar.settings", TeamMembersAction, () => ({ loadMemberGroups }));
|
|
15782
|
+
ctx.inject(["configForms"], (scope) => {
|
|
15783
|
+
const form = new TeamJudgeForm(scope.configForms.get(TEAM_SETTINGS_NS), contextJudge);
|
|
15784
|
+
judgeForm.hold(form);
|
|
15785
|
+
scope.effect(() => () => {
|
|
15786
|
+
judgeForm.release(form);
|
|
15787
|
+
form.dispose();
|
|
15788
|
+
}, "agent-team: judge settings form");
|
|
15789
|
+
});
|
|
15161
15790
|
ctx.slots.inject("settings.section", () => ctx.slots.register({
|
|
15162
15791
|
name: "settings.section",
|
|
15163
|
-
id: "team-
|
|
15792
|
+
id: "team-settings",
|
|
15164
15793
|
order: 5,
|
|
15165
|
-
label: () => ctx.locale.bind(NS)("
|
|
15794
|
+
label: () => ctx.locale.bind(NS)("teamSettingsNav"),
|
|
15166
15795
|
locale: NS,
|
|
15167
15796
|
inject: () => ({
|
|
15168
15797
|
identity: humanIdentity,
|
|
15169
15798
|
environment,
|
|
15799
|
+
judge: contextJudge,
|
|
15800
|
+
judgeForm,
|
|
15801
|
+
keyConfigured: () => ctx.get("configForms")?.describe().getSnapshot().view?.namespaces.find((row) => row.ns === TEAM_SETTINGS_NS)?.secrets.some((secret) => secret.path.join(".") === "jev.apiKey" && secret.set) ?? false,
|
|
15170
15802
|
saveName: async (name) => {
|
|
15171
15803
|
const saved = await ctx.remote.agentTeam.setHumanProfile({ name });
|
|
15172
15804
|
if (!saved.ok) return saved.error.message;
|
|
@@ -15192,7 +15824,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15192
15824
|
await humanIdentity.refresh();
|
|
15193
15825
|
}
|
|
15194
15826
|
})
|
|
15195
|
-
},
|
|
15827
|
+
}, TeamSettingsSection));
|
|
15196
15828
|
}
|
|
15197
15829
|
async function apply(ctx) {
|
|
15198
15830
|
const disposeRemote = await ctx.remote.$mount(TYPERT_REMOTE);
|