@wowyuarm/dsh-agent-team 0.1.14 → 0.1.15

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.
Files changed (71) hide show
  1. package/README.md +2 -2
  2. package/README.zh.md +2 -2
  3. package/cordis.patch.yml +187 -2
  4. package/package.json +49 -50
  5. package/packages/agent-team/README.md +1 -1
  6. package/packages/agent-team/README.zh.md +1 -1
  7. package/packages/agent-team/lib/context-continuity-host.js +2 -3
  8. package/packages/agent-team/lib/context-projection.js +3 -3
  9. package/packages/agent-team/lib/context-source.js +34 -13
  10. package/packages/agent-team/lib/human-profile.js +123 -12
  11. package/packages/agent-team/lib/index.js +165 -99
  12. package/packages/agent-team/lib/member-context.js +5 -3
  13. package/packages/agent-team/lib/member-time-context.js +5 -2
  14. package/packages/agent-team/lib/pressure-policy.js +5 -3
  15. package/packages/agent-team/lib/stored-session-reader.js +1 -2
  16. package/packages/agent-team/lib/typert.host.js +394 -252
  17. package/packages/agent-team/lib/typert.remote-client.d.ts +6 -3
  18. package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
  19. package/packages/agent-team/lib/typert.remote-client.js +322 -223
  20. package/packages/agent-team/lib/types/context-continuity-host.d.ts.map +1 -1
  21. package/packages/agent-team/lib/types/context-source.d.ts +46 -13
  22. package/packages/agent-team/lib/types/context-source.d.ts.map +1 -1
  23. package/packages/agent-team/lib/types/human-profile.d.ts +83 -11
  24. package/packages/agent-team/lib/types/human-profile.d.ts.map +1 -1
  25. package/packages/agent-team/lib/types/index.d.ts +64 -26
  26. package/packages/agent-team/lib/types/index.d.ts.map +1 -1
  27. package/packages/agent-team/lib/types/member-context.d.ts +14 -0
  28. package/packages/agent-team/lib/types/member-context.d.ts.map +1 -1
  29. package/packages/agent-team/lib/types/member-time-context.d.ts +15 -0
  30. package/packages/agent-team/lib/types/member-time-context.d.ts.map +1 -1
  31. package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -1
  32. package/packages/agent-team/lib/types/stored-session-reader.d.ts +1 -2
  33. package/packages/agent-team/lib/types/stored-session-reader.d.ts.map +1 -1
  34. package/packages/agent-team/lib/types/types/entities.d.ts +3 -3
  35. package/packages/agent-team/lib/types/types/requests-results.d.ts +18 -0
  36. package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
  37. package/packages/client-agent-team/README.md +1 -1
  38. package/packages/client-agent-team/README.zh.md +1 -1
  39. package/packages/client-agent-team/lib/client.js +330 -239
  40. package/packages/client-agent-team/lib/client.js.map +1 -1
  41. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +6 -6
  42. package/packages/client-agent-team/lib/types/client/TeamChannelPage.js +3 -3
  43. package/packages/client-agent-team/lib/types/client/TeamChannelsPanel.js +4 -4
  44. package/packages/client-agent-team/lib/types/client/TeamComposer.js +3 -3
  45. package/packages/client-agent-team/lib/types/client/TeamFooterAction.js +2 -2
  46. package/packages/client-agent-team/lib/types/client/TeamMemberEditor.js +3 -3
  47. package/packages/client-agent-team/lib/types/client/TeamMembersAction.js +2 -2
  48. package/packages/client-agent-team/lib/types/client/TeamMessage.d.ts.map +1 -1
  49. package/packages/client-agent-team/lib/types/client/TeamMessage.js +1 -1
  50. package/packages/client-agent-team/lib/types/client/TeamRowMenu.d.ts.map +1 -1
  51. package/packages/client-agent-team/lib/types/client/TeamRowMenu.js +2 -2
  52. package/packages/client-agent-team/lib/types/client/TeamSidebarSection.js +2 -2
  53. package/packages/client-agent-team/lib/types/client/TeamThreadPage.js +3 -3
  54. package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.js +3 -3
  55. package/packages/client-agent-team/lib/types/client/TeamWorkspaceSelector.js +2 -2
  56. package/packages/client-agent-team/lib/types/client/human-identity.d.ts +4 -8
  57. package/packages/client-agent-team/lib/types/client/human-identity.d.ts.map +1 -1
  58. package/packages/client-agent-team/lib/types/client/human-identity.js +0 -21
  59. package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
  60. package/packages/client-agent-team/lib/types/client/index.js +50 -49
  61. package/packages/client-agent-team/lib/types/client/multi-menu-field.js +2 -2
  62. package/packages/client-agent-team/lib/types/client/slots.d.ts +1 -1
  63. package/packages/tool-agent-team/README.md +1 -1
  64. package/packages/tool-agent-team/README.zh.md +1 -1
  65. package/packages/agent-team/lib/preset-roster.js +0 -15
  66. package/packages/agent-team/lib/session-remediation.js +0 -493
  67. package/packages/agent-team/lib/types/preset-roster.d.ts +0 -5
  68. package/packages/agent-team/lib/types/preset-roster.d.ts.map +0 -1
  69. package/packages/agent-team/lib/types/session-remediation.d.ts +0 -172
  70. package/packages/agent-team/lib/types/session-remediation.d.ts.map +0 -1
  71. package/packages/agent-team/preset/team-member/agent.cordis.yml +0 -166
@@ -1 +1 @@
1
- {"version":3,"file":"context-continuity-host.d.ts","sourceRoot":"","sources":["../../src/context-continuity-host.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,EACnB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACpB,MAAM,kCAAkC,CAAA;AAGzC,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAmC,MAAM,YAAY,CAAA;AAE1G;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,qBAI7B,CAAA;AAEF,MAAM,WAAW,4BAA4B;IAC3C,4EAA4E;IAC5E,QAAQ,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,KAAK,GAAG,SAAS,CAAA;IAC3E,oDAAoD;IACpD,QAAQ,CAAC,cAAc,EAAE,CA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,CAAC;IAC5E,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,4BAA4B;IAElE,eAAe,CAAC,QAAQ,EAAE,iBAAiB,GAAG,KAAK,GAAG,SAAS;IAI/D,eAAe,CAAC,KAAK,EAAE,KAAK,GAAG,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS;IAM5E,oBAAoB,CAAC,QAAQ,EAAE,iBAAiB,EAAE,SAAS,EAAE,SAAS,GAAG,sBAAsB,GAAG,SAAS;IAI3G,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAInF;;;;;;OAMG;IACH,gBAAgB,CAAC,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,GAAG,gBAAgB;IAQpF;;;;;OAKG;IACH,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO;IAIhD,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;CAG3B;AAED,iEAAiE;AACjE,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,4BAA4B,GAAG,4BAA4B,CAAC,iBAAiB,CAAC,CAElI"}
@@ -1,14 +1,10 @@
1
1
  /**
2
- * Plugin-attributed message sources for Agent Team context management.
2
+ * Producer-attributed message sources for Agent Team context management.
3
3
  *
4
- * Both sources ride ordinary `UserMessage`s under the shipped `plugin` kind
5
- * with the `snapshot` context form — the same shape the Harness's own
6
- * system-prompt producer writes. This module declares no `MessageSourceMap`
7
- * member of its own, and carries no bespoke source members: Session format
8
- * migration validates a `plugin` source against a closed member list
9
- * (`kind`, `plugin`, `form`, `sections`, `summary`), and refuses every logged
10
- * Session that carries anything else. A plugin-declared kind is type-legal yet
11
- * refused the same way. See `docs/dsh-release-compatibility.md`
4
+ * Both sources ride ordinary `UserMessage`s under this plugin's own
5
+ * producer kind with the `snapshot` context form — Session format V4 admits
6
+ * exactly that shape and refuses the retired `{ kind: 'plugin', plugin: … }`
7
+ * wrapper at write time. See `docs/dsh-release-compatibility.md`
12
8
  * § "Session message sources".
13
9
  *
14
10
  * Everything the Host needs to read back therefore rides the admitted payload
@@ -25,9 +21,46 @@
25
21
  * envelope Team reads back can never drift from the one it wrote.
26
22
  * @module @wowyuarm/dsh-agent-team/context-source
27
23
  */
28
- import type { ContextSnapshotSection, UserMessage } from '@deepseek-ai/dsh-llm';
29
- /** Plugin identity attributing every Agent Team message source. */
24
+ import type { ContextFormed, ContextSnapshotSection, MessageSource, UserMessage } from '@deepseek-ai/dsh-llm';
25
+ /** The producer kind attributing every Agent Team message source. */
30
26
  export declare const AGENT_TEAM_PLUGIN_ID = "@wowyuarm/dsh-agent-team";
27
+ /**
28
+ * The kind the Harness's V4 read-time conversion renames this plugin's
29
+ * released V3 `plugin` sources into: `plugin:` + the producer id, with the
30
+ * `plugin` key dropped and every payload field (`form`, `sections`,
31
+ * `summary`) preserved. History read through the new line carries exactly
32
+ * this shape, so the read side recognizes both identities below.
33
+ */
34
+ export declare const AGENT_TEAM_V3_RENAMED_KIND = "plugin:@wowyuarm/dsh-agent-team";
35
+ declare module '@deepseek-ai/dsh-llm' {
36
+ interface MessageSourceMap {
37
+ /** The kind this plugin writes now; V4 admission requires a producer-owned kind. */
38
+ [AGENT_TEAM_PLUGIN_ID]: {
39
+ kind: typeof AGENT_TEAM_PLUGIN_ID;
40
+ } & ContextFormed;
41
+ /** The converted shape of this plugin's released V3 history; read-side only. */
42
+ [AGENT_TEAM_V3_RENAMED_KIND]: {
43
+ kind: typeof AGENT_TEAM_V3_RENAMED_KIND;
44
+ } & ContextFormed;
45
+ }
46
+ }
47
+ /** The source shapes carrying this plugin's attribution: its current kind and the read-time conversion of its V3 history. */
48
+ export type AgentTeamMessageSource = Extract<MessageSource, {
49
+ kind: typeof AGENT_TEAM_PLUGIN_ID | typeof AGENT_TEAM_V3_RENAMED_KIND;
50
+ }>;
51
+ /** The kind the read-time conversion renames one producer's released V3 sources into. */
52
+ export declare const v3RenamedSourceKind: <const P extends string>(producer: P) => `plugin:${P}`;
53
+ /**
54
+ * Whether one message source carries this plugin's own attribution. Both
55
+ * identities are matched by exact kind equality — never by a `plugin:`
56
+ * prefix test, which would claim third-party producers' rows as Team facts.
57
+ */
58
+ export declare function isAgentTeamSource(source: MessageSource): source is AgentTeamMessageSource;
59
+ /**
60
+ * Whether one source kind carries this plugin's attribution, for call sites
61
+ * whose sources arrive untyped. Exact identities only, never a prefix test.
62
+ */
63
+ export declare function isAgentTeamSourceKind(kind: string | undefined): boolean;
31
64
  /** Handoff snapshot section name carrying the model-authored prose. */
32
65
  export declare const HANDOFF_SECTION_NAME = "HANDOFF";
33
66
  /** Stable section name marking a checkpoint continuation and carrying its ref. */
@@ -75,8 +108,8 @@ export declare function isCheckpointContinuationMessage(message: UserMessage, ch
75
108
  */
76
109
  export declare function isAgentTeamContextSource(message: UserMessage): boolean;
77
110
  /** Envelope section names; stable, because they are read back from the log.
78
- * Exported for the legacy-artifact remediation, which rewrites pre-0.1.10
79
- * envelopes into exactly these names — one shared vocabulary, no drift. */
111
+ * One shared vocabulary for writer and reader — no drift between the shape
112
+ * published at rollover and the shape the projection folds back. */
80
113
  export declare const HANDOFF_PREVIOUS_SESSION = "Previous session";
81
114
  export declare const HANDOFF_NEW_SESSION = "New session";
82
115
  export declare const HANDOFF_TRIGGER = "Trigger";
@@ -1 +1 @@
1
- {"version":3,"file":"context-source.d.ts","sourceRoot":"","sources":["../../src/context-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAE/E,mEAAmE;AACnE,eAAO,MAAM,oBAAoB,6BAA6B,CAAA;AAE9D,uEAAuE;AACvE,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAE7C,kFAAkF;AAClF,eAAO,MAAM,uBAAuB,eAAe,CAAA;AAEnD;;;GAGG;AACH,MAAM,WAAW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Storage split (see spec.md v1):
8
- * - name + avatarRef live in the Host settings namespace `agent-team-human`
9
- * (settings.yaml user layer, live through `ctx.settings`).
10
- * - avatar bytes live under a persistent directory below; the settings
11
- * document holds only the reference, never a data URL. The composer
12
- * attachment cache is TTL-bound and must not hold avatar bytes.
8
+ * - name + avatarRef are the Team Host row's own Config, so they live in the
9
+ * active profile's patch document as that row's `config` and the settings
10
+ * service derives their form from this schema. rc.1 derives every form from
11
+ * a plugin's Config, so the retired `installSection` namespace — a section of
12
+ * its own — has no counterpart; the row id below is the settings namespace.
13
+ * - avatar bytes live under a persistent directory below; the profile holds
14
+ * only the reference, never a data URL. The composer attachment cache is
15
+ * TTL-bound and must not hold avatar bytes.
13
16
  */
14
- export declare const HUMAN_PROFILE_SETTINGS_NAMESPACE = "agent-team-human";
17
+ /**
18
+ * Settings namespace of the Human profile: the Team Host row's id in
19
+ * `cordis.patch.yml`, which is what the settings service addresses a form and a
20
+ * write by AND the id the profile-document write patches. It is addressed by
21
+ * this constant, never by the running Host's `ctx.fiber.entry`: a Remote call
22
+ * runs under its caller's context, so that lookup names the RPC gateway's row.
23
+ * `shipping.spec.ts` pins the constant to the row the composition declares.
24
+ */
25
+ export declare const HUMAN_PROFILE_SETTINGS_NAMESPACE = "wowyuarm-agent-team-host";
15
26
  /** Fallback display name before any user override is stored. */
16
27
  export declare const HUMAN_PROFILE_DEFAULT_NAME = "human";
17
28
  /** Repository home for the version footnote link. */
18
29
  export declare const HUMAN_PROFILE_REPO_URL = "https://github.com/wowyuarm/dsh-agent-team";
19
30
  /**
20
- * Bundle version shown in the settings footnote. Kept in sync with the root
21
- * package.json by hand until the Host build injects it; the footnote is
31
+ * Bundle version shown in the settings footnote, and the current side of the
32
+ * update check: the version of the package THIS Host runs from — read from the
33
+ * installed manifest, so a `link:` checkout under the development profile and a
34
+ * registry tarball under stable each state their own truth. It is not a
35
+ * hand-maintained string: the 0.1.14 bundle shipped with `0.1.13` written in
36
+ * it, which made the footnote name the previous release and the update check
37
+ * offer the release the user already had.
38
+ *
39
+ * Resolved once at load, three levels above this module — `packages/agent-team/{src,lib}`
40
+ * sits that deep in both layouts, the same relative positioning
41
+ * `member-runtime.ts` uses to find `core-skills`. An unreadable or malformed
42
+ * manifest degrades to `'unknown'`: the Remote's `version: string` contract
43
+ * holds and the update comparison simply compares nothing. The footnote is
22
44
  * informational only and never gates behavior.
23
45
  */
24
- export declare const HUMAN_PROFILE_VERSION = "0.1.13";
46
+ export declare const HUMAN_PROFILE_VERSION: string;
25
47
  export interface HumanProfile {
26
48
  readonly name: string;
27
49
  readonly avatarRef?: string;
@@ -31,8 +53,19 @@ export interface HumanProfileSettings {
31
53
  readonly name: string;
32
54
  readonly avatarRef?: string;
33
55
  }
34
- /** Schemastery schema resolving the `agent-team-human` namespace value. */
35
- export declare const HUMAN_PROFILE_SETTINGS_SCHEMA: z<HumanProfileSettings>;
56
+ /**
57
+ * Schemastery schema of the Human profile: the Team Host row's Config. Both
58
+ * fields are volatile, which is what lets an edit reach the running Host
59
+ * without remounting it — and what makes the settings service derive a form
60
+ * from this schema at all.
61
+ */
62
+ export declare const HUMAN_PROFILE_SETTINGS_SCHEMA: z<Schemastery.ObjectS<NoInfer<{
63
+ name: z<string, string, "volatile-defined">;
64
+ avatarRef: z<string, string, "volatile">;
65
+ }>>, Schemastery.ObjectT<NoInfer<{
66
+ name: z<string, string, "volatile-defined">;
67
+ avatarRef: z<string, string, "volatile">;
68
+ }>>, "plain">;
36
69
  /** Normalize one candidate display name the way Member handles normalize. */
37
70
  export declare function normalizeHumanName(raw: string): string;
38
71
  /**
@@ -41,4 +74,43 @@ export declare function normalizeHumanName(raw: string): string;
41
74
  * Host (which owns the ledger), not here, so this stays a pure function.
42
75
  */
43
76
  export declare function assertValidHumanName(raw: string): string;
77
+ /**
78
+ * The retired settings section this profile's facts lived in before rc.1.
79
+ * rc.1 derives every settings form from a plugin's Config, and its legacy
80
+ * `settings.yaml` importer maps a section to a composition entry id through a
81
+ * closed built-in list — this third-party section matches nothing there, so
82
+ * the import rejects it and the values survive only in the renamed document.
83
+ * This Host owns the section, so adopting what is left belongs here.
84
+ */
85
+ export declare const LEGACY_HUMAN_PROFILE_SECTION = "agent-team-human";
86
+ /** Fields recoverable from the legacy section; either may be absent. */
87
+ export interface LegacyHumanProfileFields {
88
+ readonly name?: string;
89
+ readonly avatarRef?: string;
90
+ }
91
+ /**
92
+ * Read the legacy section out of one legacy settings document. An
93
+ * unparsable document or a missing section means "nothing to adopt" rather
94
+ * than an error — the file is retired input, not an authority — and each
95
+ * field is validated independently so one bad field never costs the other.
96
+ */
97
+ export declare function parseLegacyHumanProfile(yamlText: string): LegacyHumanProfileFields | undefined;
98
+ /**
99
+ * Decide what adoption may write: nothing unless the stored profile is still
100
+ * the pristine default, so a value the Human re-entered after the upgrade
101
+ * always wins, and never the legacy default name itself. The current profile
102
+ * carries explicit `undefined` on `avatarRef` — the Host getter spreads a
103
+ * settings read — and so is not `HumanProfile` under
104
+ * exactOptionalPropertyTypes; taking that shape directly keeps the Host call
105
+ * cast-free. The returned fields are exactly the ops the profile page would
106
+ * have written; byte existence for `avatarRef` is the caller's I/O and must
107
+ * already hold.
108
+ */
109
+ export declare function planLegacyAdoption(current: {
110
+ readonly name: string;
111
+ readonly avatarRef?: string | undefined;
112
+ }, legacy: LegacyHumanProfileFields): {
113
+ readonly name?: string;
114
+ readonly avatarRef?: string;
115
+ } | undefined;
44
116
  //# sourceMappingURL=human-profile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"human-profile.d.ts","sourceRoot":"","sources":["../../src/human-profile.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,0BAA0B,CAAA;AAExC;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,gCAAgC,qBAAqB,CAAA;AAElE,gEAAgE;AAChE,eAAO,MAAM,0BAA0B,UAAU,CAAA;AAEjD,qDAAqD;AACrD,eAAO,MAAM,sBAAsB,+CAA+C,CAAA;AAElF;;;;GAIG;AACH,eAA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AKxC,CAAA;AAEF,6EAA6E;AAC7E,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEtD;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAIxD;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,4BAA4B,qBAAqB,CAAA;AAE9D,wEAAwE;AACxE,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,wBAAwB,GAAG,SAAS,CAwB9F;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,EAC3E,MAAM,EAAE,wBAAwB,GAC/B;IAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAMrE"}
@@ -5,14 +5,14 @@
5
5
  * effects. Session history and browser state are projections, never Team facts.
6
6
  * @module @wowyuarm/dsh-agent-team
7
7
  */
8
- import { Context, Service } from '@deepseek-ai/cordis';
8
+ import { Context, Service, type Volatile } from '@deepseek-ai/cordis';
9
9
  import { type Agent } from '@deepseek-ai/dsh-agent';
10
10
  import { SessionId } from '@deepseek-ai/dsh-session';
11
11
  import { TypertRemoteService } from '@deepseek-ai/dsh-typert-protocol';
12
12
  import type { WorkspaceId } from '@deepseek-ai/dsh-workspace';
13
13
  import { type ContextProjectionConfig, type ContextTimelineSource } from '@wowyuarm/dsh-context-continuity';
14
14
  import { type AgentTeamDurableMemberResult } from './ledger.ts';
15
- import type { AgentTeamAddMemberRequest, AgentTeamAddMemberResult, AgentTeamAgentMember, AgentTeamAgentMemberStatus, AgentTeamArchiveChannelRequest, AgentTeamArchiveChannelResult, AgentTeamArchiveMemberRequest, AgentTeamArchiveMemberResult, AgentTeamChangesRequest, AgentTeamChangesResult, AgentTeamClaimList, AgentTeamClaimRequest, AgentTeamClaimResult, AgentTeamClientMemberStatus, AgentTeamContextCheckpointRef, AgentTeamCreateChannelRequest, AgentTeamCreateChannelResult, AgentTeamGetAttachmentRequest, AgentTeamGetAttachmentResult, AgentTeamGetHumanAvatarRequest, AgentTeamGetHumanAvatarResult, AgentTeamHumanProfileRequest, AgentTeamHumanProfileResult, AgentTeamPutHumanAvatarRequest, AgentTeamPutHumanAvatarResult, AgentTeamRemoveHumanAvatarRequest, AgentTeamRemoveHumanAvatarResult, AgentTeamInbox, AgentTeamInboxRequest, AgentTeamJoinChannelRequest, AgentTeamJoinChannelResult, AgentTeamJoinWorkspaceRequest, AgentTeamJoinWorkspaceResult, AgentTeamLeaveWorkspaceRequest, AgentTeamLeaveWorkspaceResult, AgentTeamMemberId, AgentTeamMemberResult, AgentTeamMembersRequest, AgentTeamResolveTaskRefsRequest, AgentTeamResolveTaskRefsResult, AgentTeamResolveThreadRefsRequest, AgentTeamResolveThreadRefsResult, AgentTeamOperationReceipt, AgentTeamPromoteThreadRequest, AgentTeamPromoteThreadResult, AgentTeamPutAttachmentRequest, AgentTeamPutAttachmentResult, AgentTeamRecoverMemberRequest, AgentTeamRecoverMemberResult, AgentTeamClearMemberContextRequest, AgentTeamClearMemberContextResult, AgentTeamRolloverSessionRequest, AgentTeamDmRequest, AgentTeamDmResult, AgentTeamRemoveChannelMemberRequest, AgentTeamRemoveChannelMemberResult, AgentTeamRemoveMemberRequest, AgentTeamRemoveMemberResult, AgentTeamReplyRequest, AgentTeamReplyResult, AgentTeamSendMessageRequest, AgentTeamSendMessageResult, AgentTeamSetMemberStateRequest, AgentTeamStatus, AgentTeamTask, AgentTeamTaskRequest, AgentTeamTaskResult, AgentTeamThreadAttentionRequest, AgentTeamThreadAttentionResult, AgentTeamThreadAttentionStatus, AgentTeamThreadHistory, AgentTeamThreadHistoryRequest, AgentTeamThreadReadRequest, AgentTeamThreadReadResult, AgentTeamThreadObservations, AgentTeamThreadObservationsRequest, AgentTeamUpdateChannelRequest, AgentTeamUpdateChannelResult, AgentTeamUpdateMemberRequest, AgentTeamView, AgentTeamViewRequest } from './types.ts';
15
+ import type { AgentTeamAddMemberRequest, AgentTeamAddMemberResult, AgentTeamAgentMember, AgentTeamAgentMemberStatus, AgentTeamArchiveChannelRequest, AgentTeamArchiveChannelResult, AgentTeamArchiveMemberRequest, AgentTeamArchiveMemberResult, AgentTeamChangesRequest, AgentTeamChangesResult, AgentTeamClaimList, AgentTeamClaimRequest, AgentTeamClaimResult, AgentTeamClientMemberStatus, AgentTeamContextCheckpointRef, AgentTeamCreateChannelRequest, AgentTeamCreateChannelResult, AgentTeamGetAttachmentRequest, AgentTeamGetAttachmentResult, AgentTeamGetHumanAvatarRequest, AgentTeamGetHumanAvatarResult, AgentTeamHumanProfileRequest, AgentTeamHumanProfileResult, AgentTeamPutHumanAvatarRequest, AgentTeamPutHumanAvatarResult, AgentTeamRemoveHumanAvatarRequest, AgentTeamRemoveHumanAvatarResult, AgentTeamInbox, AgentTeamInboxRequest, AgentTeamJoinChannelRequest, AgentTeamJoinChannelResult, AgentTeamJoinWorkspaceRequest, AgentTeamJoinWorkspaceResult, AgentTeamLeaveWorkspaceRequest, AgentTeamLeaveWorkspaceResult, AgentTeamMemberId, AgentTeamMemberResult, AgentTeamMembersRequest, AgentTeamResolveTaskRefsRequest, AgentTeamResolveTaskRefsResult, AgentTeamResolveThreadRefsRequest, AgentTeamResolveThreadRefsResult, AgentTeamOperationReceipt, AgentTeamPromoteThreadRequest, AgentTeamPromoteThreadResult, AgentTeamPutAttachmentRequest, AgentTeamPutAttachmentResult, AgentTeamRecoverMemberRequest, AgentTeamRecoverMemberResult, AgentTeamClearMemberContextRequest, AgentTeamClearMemberContextResult, AgentTeamRolloverSessionRequest, AgentTeamDmRequest, AgentTeamDmResult, AgentTeamRemoveChannelMemberRequest, AgentTeamRemoveChannelMemberResult, AgentTeamRemoveMemberRequest, AgentTeamRemoveMemberResult, AgentTeamReplyRequest, AgentTeamReplyResult, AgentTeamSendMessageRequest, AgentTeamSendMessageResult, AgentTeamSetHumanProfileRequest, AgentTeamSetHumanProfileResult, AgentTeamSetMemberStateRequest, AgentTeamStatus, AgentTeamTask, AgentTeamTaskRequest, AgentTeamTaskResult, AgentTeamThreadAttentionRequest, AgentTeamThreadAttentionResult, AgentTeamThreadAttentionStatus, AgentTeamThreadHistory, AgentTeamThreadHistoryRequest, AgentTeamThreadReadRequest, AgentTeamThreadReadResult, AgentTeamThreadObservations, AgentTeamThreadObservationsRequest, AgentTeamUpdateChannelRequest, AgentTeamUpdateChannelResult, AgentTeamUpdateMemberRequest, AgentTeamView, AgentTeamViewRequest } from './types.ts';
16
16
  export { agentTeamDomainSpec, agentTeamOperationSchema } from './spec.ts';
17
17
  export type * from './types.ts';
18
18
  export { AGENT_TEAM_HUMAN_HANDLE, AGENT_TEAM_HUMAN_MEMBER_ID, AGENT_TEAM_INITIALIZE_REQUEST_ID } from './ledger.ts';
@@ -136,8 +136,27 @@ export interface AgentTeamTimelineToolResult {
136
136
  readonly reason: string;
137
137
  };
138
138
  }
139
+ /**
140
+ * Config of the Team Host row: the Human profile (see human-profile.ts). The
141
+ * settings service derives every form from the owning plugin's Config, so the
142
+ * profile is this plugin's own config rather than a section of its own; both
143
+ * fields arrive volatile, which is what lets an edit reach the running Host
144
+ * without remounting it.
145
+ */
146
+ export interface Config {
147
+ name: Volatile<string>;
148
+ avatarRef: Volatile<string | undefined>;
149
+ }
139
150
  /** Host owner of the single Agent Team in one dshHome. */
140
151
  export default class AgentTeam extends TypertRemoteService {
152
+ config: Config;
153
+ static Config: import("@deepseek-ai/schemastery").default<Schemastery.ObjectS<NoInfer<{
154
+ name: import("@deepseek-ai/schemastery").default<string, string, "volatile-defined">;
155
+ avatarRef: import("@deepseek-ai/schemastery").default<string, string, "volatile">;
156
+ }>>, Schemastery.ObjectT<NoInfer<{
157
+ name: import("@deepseek-ai/schemastery").default<string, string, "volatile-defined">;
158
+ avatarRef: import("@deepseek-ai/schemastery").default<string, string, "volatile">;
159
+ }>>, "plain">;
141
160
  static inject: string[];
142
161
  private domain?;
143
162
  private ledger?;
@@ -168,12 +187,6 @@ export default class AgentTeam extends TypertRemoteService {
168
187
  private readonly pressurePolicy;
169
188
  private readonly notifiedInbox;
170
189
  private attachmentGcTimer?;
171
- /**
172
- * Current human profile source, wired to the `agent-team-human` settings
173
- * namespace when a settings service is present. Falls back to the historic
174
- * default so team_view and @ matching keep working without settings.
175
- */
176
- private humanProfileSource;
177
190
  /**
178
191
  * New-release check behind the settings footnote. Memory-only and
179
192
  * background-refreshed, so the profile read path never waits on the
@@ -195,11 +208,13 @@ export default class AgentTeam extends TypertRemoteService {
195
208
  * successful `context_rollover` tool result into its next private context
196
209
  * generation. The ledger owns the binding audit, the engine's projection
197
210
  * unit owns intent, and this coordinator owns only reconstructible process
198
- * state. See docs/architecture.md and docs/team-collaboration.md.
211
+ * state. See docs/architecture/README.md and docs/team-collaboration/README.md.
199
212
  */
200
213
  private readonly contextManagement;
201
214
  private lifecycleTail;
202
215
  private accepting;
216
+ /** One adoption attempt per boot: the two readiness edges fire once each, and this keeps their attempt single. */
217
+ private legacyAdoptionStarted;
203
218
  /**
204
219
  * Presence wake epoch: Agent running/idle/failure is runtime state with no
205
220
  * durable fact behind it, so the presence scope counts those edge wakes in
@@ -207,28 +222,37 @@ export default class AgentTeam extends TypertRemoteService {
207
222
  */
208
223
  private presenceEpoch;
209
224
  private readonly changeWaiters;
210
- /**
211
- * The startup-opened remediation instance, held for the restart heal: the
212
- * completion-cache domain may only be opened once per plugin lifecycle, so
213
- * the restart path reuses this instance instead of opening its own.
214
- */
215
- private remediation;
216
- constructor(ctx: Context);
225
+ constructor(ctx: Context, config: Config);
217
226
  /** Current human display name; the single source for team_view and @ matching. */
218
227
  humanHandle(): string;
219
- /** Current human profile reference held in settings (name + avatarRef). */
228
+ /** Current human profile reference held in this Host row's Config (name + avatarRef). */
220
229
  humanProfile(): {
221
230
  readonly name: string;
222
231
  readonly avatarRef?: string | undefined;
223
232
  };
224
- /** Push the current settings name into the ledger's runtime @ handle. */
233
+ /** Push the current Config name into the ledger's runtime @ handle. */
225
234
  private syncHumanHandle;
226
235
  /**
227
- * Settings-level validation for the human profile: same non-empty floor as
228
- * Member handles plus global uniqueness against live Members. Runs inside
229
- * the settings write path, so a colliding rename rejects before persisting.
236
+ * The two judgements the Config schema cannot make about a Human name: the
237
+ * same non-empty floor as Member handles, plus global uniqueness against live
238
+ * Members. `setHumanProfile` runs it before the write, so a colliding rename
239
+ * rejects instead of persisting.
230
240
  */
231
241
  private validateHumanProfile;
242
+ /**
243
+ * One-time adoption of the profile facts the retired `agent-team-human`
244
+ * settings section held (see `LEGACY_HUMAN_PROFILE_SECTION` for why the
245
+ * upstream importer cannot carry them over). The values land in this Host
246
+ * row's own Config through the same Remote the profile page writes, so the
247
+ * page, the ledger's @ handle, and every avatar seat follow as after any
248
+ * edit. Readiness has two one-way edges — the settings service arrives, the
249
+ * ledger opens — and whichever fires second starts the attempt; only a
250
+ * pristine profile is adopted, and one attempt per boot is its whole
251
+ * lifetime, so adoption never loops and never re-writes.
252
+ */
253
+ private adoptLegacyHumanProfile;
254
+ /** Carry the first legacy document that still has the section into a pristine profile. */
255
+ private adoptLegacyHumanProfileNow;
232
256
  /** Open the durable ledger and restore every enabled Member independently. */
233
257
  protected [Service.init](): Promise<void>;
234
258
  /**
@@ -393,9 +417,9 @@ export default class AgentTeam extends TypertRemoteService {
393
417
  getAttachment(request: AgentTeamGetAttachmentRequest): Promise<AgentTeamGetAttachmentResult>;
394
418
  /**
395
419
  * Human profile read for the settings page and footnote: name + avatar
396
- * reference from settings plus version facts. Human-scoped (the Web
397
- * Client calls it); agent tools never receive avatar bytes, only the name
398
- * through team_view. The new-release check stays best-effort and cached —
420
+ * reference from this Host row's live Config plus version facts. Human-scoped
421
+ * (the Web Client calls it); agent tools never receive avatar bytes, only the
422
+ * name through team_view. The new-release check stays best-effort and cached —
399
423
  * `updateAvailable` is false until a background refresh actually observes a
400
424
  * newer published release.
401
425
  */
@@ -411,6 +435,22 @@ export default class AgentTeam extends TypertRemoteService {
411
435
  getHumanAvatar(request: AgentTeamGetHumanAvatarRequest): Promise<AgentTeamGetHumanAvatarResult>;
412
436
  /** Remove one human avatar entry; the UI falls back to hue/initial afterwards. */
413
437
  removeHumanAvatar(request: AgentTeamRemoveHumanAvatarRequest): Promise<AgentTeamRemoveHumanAvatarResult>;
438
+ /**
439
+ * Overwrite the Human profile fields the caller supplies. The Host owns this
440
+ * write because the profile is the Host row's own Config: the schema supplies
441
+ * the shape, this method supplies the two judgements the schema cannot make
442
+ * (a non-empty name, a name no live Member already answers to), and the
443
+ * settings service persists the result into the active profile's patch
444
+ * document and applies it to the running plugin live.
445
+ *
446
+ * No expected revision accompanies the write: the profile is two scalar
447
+ * fields written from the Human's own pages, where the last write wins. This
448
+ * is not a hard boundary around a user-editable document — the settings
449
+ * service's own document opener (and a text editor) can change the stored
450
+ * name without passing here, exactly as the retired section validator could
451
+ * not stop it.
452
+ */
453
+ setHumanProfile(request: AgentTeamSetHumanProfileRequest): Promise<AgentTeamSetHumanProfileResult>;
414
454
  /** Human existing-Thread reply; unread and revision conflicts are business outcomes. */
415
455
  reply(request: AgentTeamReplyRequest): Promise<AgentTeamReplyResult>;
416
456
  /** Human's personal Attention operation. */
@@ -716,8 +756,6 @@ export default class AgentTeam extends TypertRemoteService {
716
756
  * unclassified activation failure.
717
757
  */
718
758
  private activationDiagnosticOf;
719
- /** Mark a session-refused activation diagnostic as proven non-remediable. */
720
- private markRefusalNonRemediable;
721
759
  private clearMemberFailure;
722
760
  private requireWorkspace;
723
761
  private requireLedger;
@@ -1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AAC,qBAAqB;IAI7B;;;;OAIG;YACW,gBAAgB;IAa9B;;;;;;;;OAQG;YACW,uBAAuB;YAWvB,cAAc;IAoN5B;;;;;;;;;OASG;IACH,OAAO,CAAC,gBAAgB;IAoBxB;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAYzB,OAAO,CAAC,oBAAoB;IAgB5B,OAAO,CAAC,YAAY;IA4BpB,OAAO,CAAC,gBAAgB;IAMxB,gGAAgG;IAChG,OAAO,CAAC,uBAAuB;IAM/B;;;;;;OAMG;IACH,OAAO,CAAC,sBAAsB;IAU9B,OAAO,CAAC,kBAAkB;IAQ1B,OAAO,CAAC,gBAAgB;IAMxB,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,aAAa;IAkCrB,iEAAiE;IACjE,OAAO,CAAC,iBAAiB;IAWzB,yEAAyE;IACzE,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,yBAAyB;IAIjC;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAI3B,gHAAgH;IAChH,OAAO,CAAC,yBAAyB;IAIjC,4FAA4F;IAC5F,OAAO,CAAC,YAAY;IA8CpB,OAAO,CAAC,aAAa;IAMrB,OAAO,CAAC,gBAAgB;IAMxB,OAAO,CAAC,gBAAgB;IA8CxB,OAAO,CAAC,uBAAuB;IAK/B,OAAO,CAAC,oBAAoB;IAwC5B,6EAA6E;YAC/D,oBAAoB;IAalC,OAAO,CAAC,wBAAwB;IAMhC,OAAO,CAAC,4BAA4B;IAIpC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,WAAW;IAYnB;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,gBAAgB;CAMzB"}
@@ -1,6 +1,20 @@
1
1
  import type { Context } from '@deepseek-ai/cordis';
2
+ import { type ContextFormed } from '@deepseek-ai/dsh-llm';
2
3
  import type { AgentTeamAgentMember } from './types.ts';
3
4
  export declare const name = "wowyuarm-agent-team-member-context";
5
+ /** This producer's own attribution. `kind` must be producer-owned (Session format V4);
6
+ * the second member is the read-time conversion's rename of this producer's
7
+ * released V3 history (`plugin:` + id, `plugin` key dropped) — read-side only. */
8
+ declare module '@deepseek-ai/dsh-llm' {
9
+ interface MessageSourceMap {
10
+ 'wowyuarm-agent-team-member-context': {
11
+ kind: 'wowyuarm-agent-team-member-context';
12
+ } & ContextFormed;
13
+ 'plugin:wowyuarm-agent-team-member-context': {
14
+ kind: 'plugin:wowyuarm-agent-team-member-context';
15
+ } & ContextFormed;
16
+ }
17
+ }
4
18
  export declare function apply(ctx: Context): void;
5
19
  export declare function renderMemberIdentity(member: Pick<AgentTeamAgentMember, 'handle' | 'description'>): string;
6
20
  /** A current address list, not a copy of instructions from another checkout. */
@@ -1 +1 @@
1
- {"version":3,"file":"member-context.d.ts","sourceRoot":"","sources":["../../src/member-context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAIlD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAGtD,eAAO,MAAM,IAAI,uCAAuC,CAAA;AAKxD,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CA6CxC;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,QAAQ,GAAG,aAAa,CAAC,GAAG,MAAM,CAIzG;AAED,gFAAgF;AAChF,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,SAAS;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAAE,EAAE,GAAG,MAAM,CAYpK;AAOD,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,iBAAiB,SAA0B,GAAG,MAAM,CAUnG"}
1
+ {"version":3,"file":"member-context.d.ts","sourceRoot":"","sources":["../../src/member-context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD,OAAO,EAAqB,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAG5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAGtD,eAAO,MAAM,IAAI,uCAAuC,CAAA;AAExD;;kFAEkF;AAClF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,gBAAgB;QACxB,oCAAoC,EAAE;YAAE,IAAI,EAAE,oCAAoC,CAAA;SAAE,GAAG,aAAa,CAAA;QACpG,2CAA2C,EAAE;YAAE,IAAI,EAAE,2CAA2C,CAAA;SAAE,GAAG,aAAa,CAAA;KACnH;CACF;AAMD,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CA8CxC;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,QAAQ,GAAG,aAAa,CAAC,GAAG,MAAM,CAIzG;AAED,gFAAgF;AAChF,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,SAAS;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAAE,EAAE,GAAG,MAAM,CAYpK;AAOD,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,iBAAiB,SAA0B,GAAG,MAAM,CAUnG"}
@@ -27,7 +27,22 @@
27
27
  * @module @wowyuarm/dsh-agent-team/member-time-context
28
28
  */
29
29
  import type { Context } from '@deepseek-ai/cordis';
30
+ import { type ContextFormed } from '@deepseek-ai/dsh-llm';
30
31
  export declare const name = "wowyuarm-agent-team-member-time-context";
32
+ /** This producer's own attribution. `kind` must be producer-owned (Session format
33
+ * V4); the second member is the read-time conversion's rename of this
34
+ * producer's released V3 history (`plugin:` + id, `plugin` key dropped) —
35
+ * read-side only. */
36
+ declare module '@deepseek-ai/dsh-llm' {
37
+ interface MessageSourceMap {
38
+ 'wowyuarm-agent-team-member-time-context': {
39
+ kind: 'wowyuarm-agent-team-member-time-context';
40
+ } & ContextFormed;
41
+ 'plugin:wowyuarm-agent-team-member-time-context': {
42
+ kind: 'plugin:wowyuarm-agent-team-member-time-context';
43
+ } & ContextFormed;
44
+ }
45
+ }
31
46
  /** Default minimum spacing between two snapshots within one turn, in ms. */
32
47
  export declare const CLOCK_REFRESH_INTERVAL_MS = 1800000;
33
48
  /** Plugin configuration: the snapshot refresh interval, overridable per preset. */
@@ -1 +1 @@
1
- {"version":3,"file":"member-time-context.d.ts","sourceRoot":"","sources":["../../src/member-time-context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAQlD,eAAO,MAAM,IAAI,4CAA4C,CAAA;AAE7D,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,UAAY,CAAA;AAElD,mFAAmF;AACnF,MAAM,WAAW,MAAM;IACrB,oGAAoG;IACpG,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,qDAAqD;AACrD,UAAU,aAAa;IACrB,qGAAqG;IACrG,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;IACvC,oEAAoE;IACpE,QAAQ,CAAC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IACzC,qFAAqF;IACrF,QAAQ,CAAC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7C,qFAAqF;IACrF,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAC1B;AAMD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE;IAA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AAc,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE;QAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC;IA2B9G;;;;;;OAMG;YACW,gBAAgB;CAiC/B"}
@@ -8,8 +8,7 @@
8
8
  * format generation, or Harness error message text.
9
9
  *
10
10
  * The reader owns reading and classification only — not Member lifecycle,
11
- * Agent create/resume, UI, ledger, or remediation (which reads raw artifact
12
- * bytes through its own repair path).
11
+ * Agent create/resume, UI, or ledger.
13
12
  *
14
13
  * Classification notes: the shipped JSONL backend throws its
15
14
  * `corrupt session log` family as plain `Error`s, so corruption is detected by
@@ -1 +1 @@
1
- {"version":3,"file":"stored-session-reader.d.ts","sourceRoot":"","sources":["../../src/stored-session-reader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AACxG,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,sCAAsC,CAAA;AAE7C,+EAA+E;AAC/E,MAAM,MAAM,wBAAwB,GAChC,SAAS,GACT,SAAS,GACT,SAAS,GACT,IAAI,GACJ,SAAS,CAAA;AAEb,kDAAkD;AAClD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,EAAE,wBAAwB,CAAA;IACvC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAA;IAC7B,mEAAmE;IACnE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,sEAAsE;IACtE,QAAQ,CAAC,QAAQ,CAAC,EAAE,eAAe,CAAA;CACpC;AAED,4FAA4F;AAC5F,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,MAAM,EAAE,aAAa,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E,OAAO,EAAE,SAAS,EAAE,SAAS,GAAG,oBAAoB,GAAG,SAAS,CAIvG;AAED,4FAA4F;AAC5F,qBAAa,mBAAmB;IAClB,OAAO,CAAC,QAAQ,CAAC,GAAG;gBAAH,GAAG,EAAE,OAAO;IAEzC;;;;OAIG;IACG,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAclE;;;;;OAKG;IACG,MAAM,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC;CAGrD"}
@@ -145,9 +145,9 @@ export interface AgentTeamMemberDiagnostic {
145
145
  /** The Session the failure is about, when it is about one. */
146
146
  readonly sessionId?: SessionId;
147
147
  /**
148
- * `session-refused` only: `false` once a repair attempt ran to completion
149
- * and proved nothing remediable — restarting cannot help and the surface
150
- * must stop offering it.
148
+ * `session-refused` only: `false` marks a refusal the surface must not
149
+ * offer restart for. Part of the rendered wire contract the Client reads;
150
+ * the Host currently never sets it, since no write-side repair pass exists.
151
151
  */
152
152
  readonly remediable?: boolean;
153
153
  }
@@ -285,6 +285,24 @@ export interface AgentTeamHumanProfileResult {
285
285
  readonly updateAvailable: boolean;
286
286
  readonly latestVersion?: string | undefined;
287
287
  }
288
+ /**
289
+ * Human profile write: the fields the Client supplies, each one optional and
290
+ * independent of the others.
291
+ */
292
+ export interface AgentTeamSetHumanProfileRequest {
293
+ /** New display name; omitted keeps the current one. */
294
+ readonly name?: string | undefined;
295
+ /**
296
+ * New avatar reference; `null` clears the stored one and omitted keeps it.
297
+ * Clearing needs its own shape because a merge patch cannot remove a field.
298
+ */
299
+ readonly avatarRef?: string | null | undefined;
300
+ }
301
+ /** Resolved Human profile after a write; the same two fields the read returns. */
302
+ export interface AgentTeamSetHumanProfileResult {
303
+ readonly name: string;
304
+ readonly avatarRef?: string | undefined;
305
+ }
288
306
  /** Upload one human avatar image into the persistent avatar store. */
289
307
  export interface AgentTeamPutHumanAvatarRequest {
290
308
  readonly name: string;