@wowyuarm/dsh-agent-team 0.1.14 → 0.2.0

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 (102) hide show
  1. package/README.md +8 -4
  2. package/README.zh.md +8 -4
  3. package/cordis.patch.yml +187 -2
  4. package/package.json +52 -51
  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 +39 -13
  10. package/packages/agent-team/lib/environment-check.js +102 -0
  11. package/packages/agent-team/lib/human-profile.js +110 -13
  12. package/packages/agent-team/lib/index.js +192 -100
  13. package/packages/agent-team/lib/installed-manifest.js +32 -0
  14. package/packages/agent-team/lib/ledger.js +35 -0
  15. package/packages/agent-team/lib/member-context.js +3 -3
  16. package/packages/agent-team/lib/member-time-context.js +3 -2
  17. package/packages/agent-team/lib/pressure-policy.js +18 -11
  18. package/packages/agent-team/lib/stored-session-reader.js +1 -2
  19. package/packages/agent-team/lib/typert.host.js +479 -260
  20. package/packages/agent-team/lib/typert.remote-client.d.ts +8 -3
  21. package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
  22. package/packages/agent-team/lib/typert.remote-client.js +375 -228
  23. package/packages/agent-team/lib/types/context-continuity-host.d.ts.map +1 -1
  24. package/packages/agent-team/lib/types/context-source.d.ts +49 -13
  25. package/packages/agent-team/lib/types/context-source.d.ts.map +1 -1
  26. package/packages/agent-team/lib/types/environment-check.d.ts +66 -0
  27. package/packages/agent-team/lib/types/environment-check.d.ts.map +1 -0
  28. package/packages/agent-team/lib/types/human-profile.d.ts +87 -21
  29. package/packages/agent-team/lib/types/human-profile.d.ts.map +1 -1
  30. package/packages/agent-team/lib/types/index.d.ts +85 -26
  31. package/packages/agent-team/lib/types/index.d.ts.map +1 -1
  32. package/packages/agent-team/lib/types/installed-manifest.d.ts +16 -0
  33. package/packages/agent-team/lib/types/installed-manifest.d.ts.map +1 -0
  34. package/packages/agent-team/lib/types/ledger.d.ts +12 -0
  35. package/packages/agent-team/lib/types/ledger.d.ts.map +1 -1
  36. package/packages/agent-team/lib/types/member-context.d.ts +14 -0
  37. package/packages/agent-team/lib/types/member-context.d.ts.map +1 -1
  38. package/packages/agent-team/lib/types/member-time-context.d.ts +15 -0
  39. package/packages/agent-team/lib/types/member-time-context.d.ts.map +1 -1
  40. package/packages/agent-team/lib/types/pressure-policy.d.ts +5 -1
  41. package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -1
  42. package/packages/agent-team/lib/types/stored-session-reader.d.ts +1 -2
  43. package/packages/agent-team/lib/types/stored-session-reader.d.ts.map +1 -1
  44. package/packages/agent-team/lib/types/types/entities.d.ts +1 -8
  45. package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
  46. package/packages/agent-team/lib/types/types/requests-results.d.ts +84 -0
  47. package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
  48. package/packages/client-agent-team/README.md +1 -1
  49. package/packages/client-agent-team/README.zh.md +1 -1
  50. package/packages/client-agent-team/lib/client.js +615 -275
  51. package/packages/client-agent-team/lib/client.js.map +1 -1
  52. package/packages/client-agent-team/lib/types/client/EnvironmentCheck.d.ts +18 -0
  53. package/packages/client-agent-team/lib/types/client/EnvironmentCheck.d.ts.map +1 -0
  54. package/packages/client-agent-team/lib/types/client/EnvironmentCheck.js +58 -0
  55. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts +3 -0
  56. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts.map +1 -1
  57. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.js +7 -4
  58. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +6 -11
  59. package/packages/client-agent-team/lib/types/client/TeamChannelPage.js +3 -3
  60. package/packages/client-agent-team/lib/types/client/TeamChannelsPanel.js +4 -4
  61. package/packages/client-agent-team/lib/types/client/TeamComposer.js +3 -3
  62. package/packages/client-agent-team/lib/types/client/TeamFooterAction.js +2 -2
  63. package/packages/client-agent-team/lib/types/client/TeamMemberEditor.js +3 -3
  64. package/packages/client-agent-team/lib/types/client/TeamMembersAction.js +2 -2
  65. package/packages/client-agent-team/lib/types/client/TeamMessage.d.ts.map +1 -1
  66. package/packages/client-agent-team/lib/types/client/TeamMessage.js +1 -1
  67. package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts +1 -1
  68. package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts.map +1 -1
  69. package/packages/client-agent-team/lib/types/client/TeamPresenceDot.js +2 -7
  70. package/packages/client-agent-team/lib/types/client/TeamRowMenu.d.ts.map +1 -1
  71. package/packages/client-agent-team/lib/types/client/TeamRowMenu.js +2 -2
  72. package/packages/client-agent-team/lib/types/client/TeamSidebarSection.js +2 -2
  73. package/packages/client-agent-team/lib/types/client/TeamThreadPage.js +3 -3
  74. package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.js +3 -3
  75. package/packages/client-agent-team/lib/types/client/TeamWorkspaceSelector.js +2 -2
  76. package/packages/client-agent-team/lib/types/client/environment-check.d.ts +65 -0
  77. package/packages/client-agent-team/lib/types/client/environment-check.d.ts.map +1 -0
  78. package/packages/client-agent-team/lib/types/client/environment-check.js +78 -0
  79. package/packages/client-agent-team/lib/types/client/human-identity.d.ts +4 -8
  80. package/packages/client-agent-team/lib/types/client/human-identity.d.ts.map +1 -1
  81. package/packages/client-agent-team/lib/types/client/human-identity.js +0 -21
  82. package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
  83. package/packages/client-agent-team/lib/types/client/index.js +59 -49
  84. package/packages/client-agent-team/lib/types/client/locales.d.ts +18 -8
  85. package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
  86. package/packages/client-agent-team/lib/types/client/locales.js +21 -8
  87. package/packages/client-agent-team/lib/types/client/multi-menu-field.js +2 -2
  88. package/packages/client-agent-team/lib/types/client/slots.d.ts +1 -1
  89. package/packages/tool-agent-team/README.md +1 -1
  90. package/packages/tool-agent-team/README.zh.md +1 -1
  91. package/packages/tool-agent-team/lib/context-tools.js +106 -94
  92. package/packages/tool-agent-team/lib/index.js +17 -2
  93. package/packages/tool-agent-team/lib/types/context-tools.d.ts +16 -7
  94. package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -1
  95. package/packages/tool-agent-team/lib/types/index.d.ts.map +1 -1
  96. package/packages/agent-team/lib/preset-roster.js +0 -15
  97. package/packages/agent-team/lib/session-remediation.js +0 -493
  98. package/packages/agent-team/lib/types/preset-roster.d.ts +0 -5
  99. package/packages/agent-team/lib/types/preset-roster.d.ts.map +0 -1
  100. package/packages/agent-team/lib/types/session-remediation.d.ts +0 -172
  101. package/packages/agent-team/lib/types/session-remediation.d.ts.map +0 -1
  102. 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,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E,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CACxC;AAED;;;;GAIG;AACH,qBAAa,yBAA0B,YAAW,qBAAqB,CAAC,iBAAiB,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,49 @@
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 source kind is a producer's own: the kind it writes now and the
55
+ * read-time conversion of its released V3 history. Both identities are matched
56
+ * by exact kind equality — never by a `plugin:` prefix test, which would claim
57
+ * third-party producers' rows as that producer's facts.
58
+ */
59
+ export declare function matchesProducerKind(kind: string | undefined, producer: string): boolean;
60
+ /** Whether one message source carries this plugin's own attribution. */
61
+ export declare function isAgentTeamSource(source: MessageSource): source is AgentTeamMessageSource;
62
+ /**
63
+ * Whether one source kind carries this plugin's attribution, for call sites
64
+ * whose sources arrive untyped.
65
+ */
66
+ export declare function isAgentTeamSourceKind(kind: string | undefined): boolean;
31
67
  /** Handoff snapshot section name carrying the model-authored prose. */
32
68
  export declare const HANDOFF_SECTION_NAME = "HANDOFF";
33
69
  /** Stable section name marking a checkpoint continuation and carrying its ref. */
@@ -75,8 +111,8 @@ export declare function isCheckpointContinuationMessage(message: UserMessage, ch
75
111
  */
76
112
  export declare function isAgentTeamContextSource(message: UserMessage): boolean;
77
113
  /** 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. */
114
+ * One shared vocabulary for writer and reader — no drift between the shape
115
+ * published at rollover and the shape the projection folds back. */
80
116
  export declare const HANDOFF_PREVIOUS_SESSION = "Previous session";
81
117
  export declare const HANDOFF_NEW_SESSION = "New session";
82
118
  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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wBAAwB,qBAAqB,CAAA;AAC1D,eAAO,MAAM,mBAAmB,gBAAgB,CAAA;AAChD,eAAO,MAAM,eAAe,YAAY,CAAA;AACxC,eAAO,MAAM,iBAAiB,sBAAsB,CAAA;AACpD,eAAO,MAAM,kBAAkB,8BAA8B,CAAA;AAC7D,eAAO,MAAM,qBAAqB,kBAAkB,CAAA"}
@@ -0,0 +1,66 @@
1
+ /** The one local environment check: how the running DSH compares to the line this bundle declares. */
2
+ import type { AgentTeamEnvironmentSupportRange, AgentTeamEnvironmentVerdict } from './types.ts';
3
+ /**
4
+ * What the settings page needs to state the environment.
5
+ *
6
+ * Deliberately not the wire type (`AgentTeamEnvironmentResult`): that one states
7
+ * every fact as optional, because a Transport may withhold any of them, while
8
+ * this is what the checker itself guarantees. `bundleVersion` is therefore
9
+ * required here and optional there, and the seam in `index.ts` is where the two
10
+ * meet.
11
+ */
12
+ export interface EnvironmentReport {
13
+ readonly verdict: AgentTeamEnvironmentVerdict;
14
+ /** Host-side diagnostic for an `undetermined` verdict; never rendered as user copy. */
15
+ readonly reason?: string | undefined;
16
+ /** Version of the bundle this Host runs from, or `'unknown'` when its manifest is unreadable. */
17
+ readonly bundleVersion: string;
18
+ /**
19
+ * The running DSH version — what the page states it is running. Omitted, not
20
+ * guessed, when it could not be read; it is a different fact from
21
+ * `certifiedDshVersion`, which is the line this bundle declares support for.
22
+ */
23
+ readonly dshVersion?: string | undefined;
24
+ /** Lower bound of the declared support range: the certified, actually-tested DSH line. */
25
+ readonly certifiedDshVersion?: string | undefined;
26
+ readonly supportRange?: AgentTeamEnvironmentSupportRange | undefined;
27
+ }
28
+ /**
29
+ * Read the support line from the installed manifest's DSH peers, or nothing.
30
+ *
31
+ * Every `@deepseek-ai/dsh-*` peer must carry exactly the same range, and it must
32
+ * be a `>=<lower> <upper>` series: the version line is the manifest's own claim
33
+ * and a partially drifted manifest cannot state one. `scripts/check-version-consistency.mjs`
34
+ * holds the same shape to the certified baseline, so a run of this bundle
35
+ * states the same line its README does. Returns `undefined` when the peers
36
+ * disagree or the shape is unreadable.
37
+ */
38
+ export declare function supportRangeOf(manifest: object): AgentTeamEnvironmentSupportRange | undefined;
39
+ /**
40
+ * Judge one already-resolved triple, so every branch is testable without an
41
+ * environment. The verdict comes from the Harness's own
42
+ * `evaluatePluginCompatibility` — the plugin manager decides installability with
43
+ * that same function, and prerelease ordering is exactly what a hand-written
44
+ * comparison gets wrong.
45
+ *
46
+ * @param manifest - the installed bundle's parsed manifest, the source of the declared support line.
47
+ * @param runtimeVersion - the running DSH version, or `'unknown'` when it could not be read.
48
+ * @param bundleVersion - the installed bundle version, or `'unknown'`.
49
+ * @param unavailable - why the running version is not known, recorded when it is `'unknown'`.
50
+ * @returns the report the settings page renders.
51
+ */
52
+ export declare function evaluateEnvironment(manifest: object, runtimeVersion: string, bundleVersion: string, unavailable?: string): EnvironmentReport;
53
+ /**
54
+ * Read this Host's own environment: the installed bundle version, the declared
55
+ * support line, and how the running DSH compares to it.
56
+ *
57
+ * The certified DSH version is the range's lower bound, never the newest cut
58
+ * tested against it: `docs/dsh-release-compatibility.md` §4 records a baseline
59
+ * inside the declared range without moving the peers, so every version spot
60
+ * keeps naming the bound. Reading it from anywhere else would reintroduce the
61
+ * hand-maintained constant this check exists to remove.
62
+ *
63
+ * @returns the report, with `verdict: 'undetermined'` for any fact not established.
64
+ */
65
+ export declare function reportEnvironment(): EnvironmentReport;
66
+ //# sourceMappingURL=environment-check.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environment-check.d.ts","sourceRoot":"","sources":["../../src/environment-check.ts"],"names":[],"mappings":"AAAA,sGAAsG;AAItG,OAAO,KAAK,EAAE,gCAAgC,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAA;AAE/F;;;;;;;;GAQG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,OAAO,EAAE,2BAA2B,CAAA;IAC7C,uFAAuF;IACvF,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,iGAAiG;IACjG,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAA;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxC,0FAA0F;IAC1F,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACjD,QAAQ,CAAC,YAAY,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAA;CACrE;AAQD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,gCAAgC,GAAG,SAAS,CAc7F;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,MAAM,EACtB,aAAa,EAAE,MAAM,EACrB,WAAW,CAAC,EAAE,MAAM,GACnB,iBAAiB,CA0BnB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,IAAI,iBAAiB,CAUrD"}
@@ -5,34 +5,61 @@ import z from '@deepseek-ai/schemastery';
5
5
  * handle shown in team_view, @ matching, and UI follows this profile.
6
6
  *
7
7
  * 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.
16
+ *
17
+ * The legacy-section adoption below is transitional: it exists for installs
18
+ * upgraded from a pre-rc.1 profile document, and retires — with
19
+ * `LEGACY_HUMAN_PROFILE_SECTION`, `parseLegacyHumanProfile`, and
20
+ * `planLegacyAdoption` — once such installs are no longer supported. Nothing
21
+ * else in the Host reads that document.
22
+ */
23
+ /**
24
+ * Settings namespace of the Human profile: the Team Host row's id in
25
+ * `cordis.patch.yml`, which is what the settings service addresses a form and a
26
+ * write by AND the id the profile-document write patches. It is addressed by
27
+ * this constant, never by the running Host's `ctx.fiber.entry`: a Remote call
28
+ * runs under its caller's context, so that lookup names the RPC gateway's row.
29
+ * `shipping.spec.ts` pins the constant to the row the composition declares.
13
30
  */
14
- export declare const HUMAN_PROFILE_SETTINGS_NAMESPACE = "agent-team-human";
31
+ export declare const HUMAN_PROFILE_SETTINGS_NAMESPACE = "wowyuarm-agent-team-host";
15
32
  /** Fallback display name before any user override is stored. */
16
33
  export declare const HUMAN_PROFILE_DEFAULT_NAME = "human";
17
34
  /** Repository home for the version footnote link. */
18
35
  export declare const HUMAN_PROFILE_REPO_URL = "https://github.com/wowyuarm/dsh-agent-team";
19
36
  /**
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
22
- * informational only and never gates behavior.
37
+ * Bundle version shown in the settings footnote, and the current side of the
38
+ * update check: the version of the package THIS Host runs from — the installed
39
+ * manifest's, read once at load through `./installed-manifest.ts`, so a `link:`
40
+ * checkout under the development profile and a registry tarball under stable
41
+ * each state their own truth. It is not a hand-maintained string: the 0.1.14
42
+ * bundle shipped with `0.1.13` written in it, which made the footnote name the
43
+ * previous release and the update check offer the release the user already had.
44
+ *
45
+ * An unreadable or malformed manifest degrades to `'unknown'`: the Remote's
46
+ * `version: string` contract holds and the update comparison simply compares
47
+ * nothing. The footnote is informational only and never gates behavior.
23
48
  */
24
- export declare const HUMAN_PROFILE_VERSION = "0.1.13";
25
- export interface HumanProfile {
26
- readonly name: string;
27
- readonly avatarRef?: string;
28
- }
29
- /** Settings document shape: name with schema default, avatarRef as a plain reference. */
30
- export interface HumanProfileSettings {
31
- readonly name: string;
32
- readonly avatarRef?: string;
33
- }
34
- /** Schemastery schema resolving the `agent-team-human` namespace value. */
35
- export declare const HUMAN_PROFILE_SETTINGS_SCHEMA: z<HumanProfileSettings>;
49
+ export declare const HUMAN_PROFILE_VERSION: string;
50
+ /**
51
+ * Schemastery schema of the Human profile: the Team Host row's Config. Both
52
+ * fields are volatile, which is what lets an edit reach the running Host
53
+ * without remounting it — and what makes the settings service derive a form
54
+ * from this schema at all.
55
+ */
56
+ export declare const HUMAN_PROFILE_SETTINGS_SCHEMA: z<Schemastery.ObjectS<NoInfer<{
57
+ name: z<string, string, "volatile-defined">;
58
+ avatarRef: z<string, string, "volatile">;
59
+ }>>, Schemastery.ObjectT<NoInfer<{
60
+ name: z<string, string, "volatile-defined">;
61
+ avatarRef: z<string, string, "volatile">;
62
+ }>>, "plain">;
36
63
  /** Normalize one candidate display name the way Member handles normalize. */
37
64
  export declare function normalizeHumanName(raw: string): string;
38
65
  /**
@@ -41,4 +68,43 @@ export declare function normalizeHumanName(raw: string): string;
41
68
  * Host (which owns the ledger), not here, so this stays a pure function.
42
69
  */
43
70
  export declare function assertValidHumanName(raw: string): string;
71
+ /**
72
+ * The retired settings section this profile's facts lived in before rc.1.
73
+ * rc.1 derives every settings form from a plugin's Config, and its legacy
74
+ * `settings.yaml` importer maps a section to a composition entry id through a
75
+ * closed built-in list — this third-party section matches nothing there, so
76
+ * the import rejects it and the values survive only in the renamed document.
77
+ * This Host owns the section, so adopting what is left belongs here.
78
+ */
79
+ export declare const LEGACY_HUMAN_PROFILE_SECTION = "agent-team-human";
80
+ /** Fields recoverable from the legacy section; either may be absent. */
81
+ export interface LegacyHumanProfileFields {
82
+ readonly name?: string;
83
+ readonly avatarRef?: string;
84
+ }
85
+ /**
86
+ * Read the legacy section out of one legacy settings document. An
87
+ * unparsable document or a missing section means "nothing to adopt" rather
88
+ * than an error — the file is retired input, not an authority — and each
89
+ * field is validated independently so one bad field never costs the other.
90
+ */
91
+ export declare function parseLegacyHumanProfile(yamlText: string): LegacyHumanProfileFields | undefined;
92
+ /**
93
+ * Decide what adoption may write: nothing unless the stored profile is still
94
+ * the pristine default, so a value the Human re-entered after the upgrade
95
+ * always wins, and never the legacy default name itself. The current profile
96
+ * carries explicit `undefined` on `avatarRef` — the Host getter spreads the
97
+ * live Config read — and that shape does not satisfy the optional-property
98
+ * form under exactOptionalPropertyTypes; taking it directly keeps the Host
99
+ * call cast-free. The returned fields are exactly the ops the profile page
100
+ * would have written; byte existence for `avatarRef` is the caller's I/O and
101
+ * must already hold.
102
+ */
103
+ export declare function planLegacyAdoption(current: {
104
+ readonly name: string;
105
+ readonly avatarRef?: string | undefined;
106
+ }, legacy: LegacyHumanProfileFields): {
107
+ readonly name?: string;
108
+ readonly avatarRef?: string;
109
+ } | undefined;
44
110
  //# 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,eAAO,MAAM,qBAAqB,WAAW,CAAA;AAE7C,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,yFAAyF;AACzF,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,2EAA2E;AAC3E,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,o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AE,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, AgentTeamEnvironmentRequest, AgentTeamEnvironmentResult, 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';
@@ -21,6 +21,8 @@ export { humanAvatarsRoot } from './human-avatar.ts';
21
21
  export { AGENT_TEAM_TOOL_NAMES } from './member-runtime.ts';
22
22
  /** Process-stable marker carried by the final Team message tool definition. */
23
23
  export declare const AGENT_TEAM_PRESET_MARKER: unique symbol;
24
+ /** The widest timeline window there is; the ref gate reads at this width so no printed ref is unreachable. */
25
+ export declare const MAX_TIMELINE_LIMIT = 24;
24
26
  /** Mark the preset's `team_message` definition as an Agent Team consumer. */
25
27
  export declare function markAgentTeamPreset<T extends object>(definition: T): T;
26
28
  /**
@@ -136,8 +138,27 @@ export interface AgentTeamTimelineToolResult {
136
138
  readonly reason: string;
137
139
  };
138
140
  }
141
+ /**
142
+ * Config of the Team Host row: the Human profile (see human-profile.ts). The
143
+ * settings service derives every form from the owning plugin's Config, so the
144
+ * profile is this plugin's own config rather than a section of its own; both
145
+ * fields arrive volatile, which is what lets an edit reach the running Host
146
+ * without remounting it.
147
+ */
148
+ export interface Config {
149
+ name: Volatile<string>;
150
+ avatarRef: Volatile<string | undefined>;
151
+ }
139
152
  /** Host owner of the single Agent Team in one dshHome. */
140
153
  export default class AgentTeam extends TypertRemoteService {
154
+ config: Config;
155
+ static Config: import("@deepseek-ai/schemastery").default<Schemastery.ObjectS<NoInfer<{
156
+ name: import("@deepseek-ai/schemastery").default<string, string, "volatile-defined">;
157
+ avatarRef: import("@deepseek-ai/schemastery").default<string, string, "volatile">;
158
+ }>>, Schemastery.ObjectT<NoInfer<{
159
+ name: import("@deepseek-ai/schemastery").default<string, string, "volatile-defined">;
160
+ avatarRef: import("@deepseek-ai/schemastery").default<string, string, "volatile">;
161
+ }>>, "plain">;
141
162
  static inject: string[];
142
163
  private domain?;
143
164
  private ledger?;
@@ -168,12 +189,6 @@ export default class AgentTeam extends TypertRemoteService {
168
189
  private readonly pressurePolicy;
169
190
  private readonly notifiedInbox;
170
191
  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
192
  /**
178
193
  * New-release check behind the settings footnote. Memory-only and
179
194
  * background-refreshed, so the profile read path never waits on the
@@ -195,11 +210,13 @@ export default class AgentTeam extends TypertRemoteService {
195
210
  * successful `context_rollover` tool result into its next private context
196
211
  * generation. The ledger owns the binding audit, the engine's projection
197
212
  * unit owns intent, and this coordinator owns only reconstructible process
198
- * state. See docs/architecture.md and docs/team-collaboration.md.
213
+ * state. See docs/architecture/README.md and docs/team-collaboration/README.md.
199
214
  */
200
215
  private readonly contextManagement;
201
216
  private lifecycleTail;
202
217
  private accepting;
218
+ /** One adoption attempt per boot: the two readiness edges fire once each, and this keeps their attempt single. */
219
+ private legacyAdoptionStarted;
203
220
  /**
204
221
  * Presence wake epoch: Agent running/idle/failure is runtime state with no
205
222
  * durable fact behind it, so the presence scope counts those edge wakes in
@@ -207,28 +224,38 @@ export default class AgentTeam extends TypertRemoteService {
207
224
  */
208
225
  private presenceEpoch;
209
226
  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);
227
+ constructor(ctx: Context, config: Config);
217
228
  /** Current human display name; the single source for team_view and @ matching. */
218
229
  humanHandle(): string;
219
- /** Current human profile reference held in settings (name + avatarRef). */
230
+ /** Current human profile reference held in this Host row's Config (name + avatarRef). */
220
231
  humanProfile(): {
221
232
  readonly name: string;
222
233
  readonly avatarRef?: string | undefined;
223
234
  };
224
- /** Push the current settings name into the ledger's runtime @ handle. */
235
+ /** Push the current Config name into the ledger's runtime @ handle. */
225
236
  private syncHumanHandle;
226
237
  /**
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.
238
+ * The two judgements the Config schema cannot make about a Human name: the
239
+ * same non-empty floor as Member handles, plus global uniqueness against live
240
+ * Members. `setHumanProfile` runs it before the write, so a colliding rename
241
+ * rejects instead of persisting. It reads the one field it judges, so the
242
+ * caller passes the name alone rather than a whole profile shape.
230
243
  */
231
244
  private validateHumanProfile;
245
+ /**
246
+ * One-time adoption of the profile facts the retired `agent-team-human`
247
+ * settings section held (see `LEGACY_HUMAN_PROFILE_SECTION` for why the
248
+ * upstream importer cannot carry them over). The values land in this Host
249
+ * row's own Config through the same Remote the profile page writes, so the
250
+ * page, the ledger's @ handle, and every avatar seat follow as after any
251
+ * edit. Readiness has two one-way edges — the settings service arrives, the
252
+ * ledger opens — and whichever fires second starts the attempt; only a
253
+ * pristine profile is adopted, and one attempt per boot is its whole
254
+ * lifetime, so adoption never loops and never re-writes.
255
+ */
256
+ private adoptLegacyHumanProfile;
257
+ /** Carry the first legacy document that still has the section into a pristine profile. */
258
+ private adoptLegacyHumanProfileNow;
232
259
  /** Open the durable ledger and restore every enabled Member independently. */
233
260
  protected [Service.init](): Promise<void>;
234
261
  /**
@@ -393,12 +420,30 @@ export default class AgentTeam extends TypertRemoteService {
393
420
  getAttachment(request: AgentTeamGetAttachmentRequest): Promise<AgentTeamGetAttachmentResult>;
394
421
  /**
395
422
  * 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 —
423
+ * reference from this Host row's live Config plus version facts. Human-scoped
424
+ * (the Web Client calls it); agent tools never receive avatar bytes, only the
425
+ * name through team_view. The new-release check stays best-effort and cached —
399
426
  * `updateAvailable` is false until a background refresh actually observes a
400
427
  * newer published release.
401
428
  */
429
+ /**
430
+ * Local environment check for the settings page: which DSH line this Host
431
+ * runs against, and whether that line is inside the range this bundle
432
+ * declares. Human-scoped and read-only — the Client renders the verdict and
433
+ * states the range in words, and nothing here is written back.
434
+ *
435
+ * Synchronous like `humanProfile`: both read the installed manifest once and
436
+ * settle immediately, and the verdict comes from the Harness's own
437
+ * compatibility evaluator rather than a second version comparison written
438
+ * here.
439
+ *
440
+ * The wire type and `EnvironmentReport` keep separate top-level field lists on
441
+ * purpose: the contract states every fact as optional because a Transport may
442
+ * withhold any of them, while the report is the stricter thing the checker
443
+ * guarantees. This assignment is where the compiler holds the two together,
444
+ * and a new required contract field fails it here.
445
+ */
446
+ environmentForClient(_request: AgentTeamEnvironmentRequest): AgentTeamEnvironmentResult;
402
447
  humanProfileForClient(_request: AgentTeamHumanProfileRequest): AgentTeamHumanProfileResult;
403
448
  /**
404
449
  * Upload one human avatar image into the persistent store. Human-only by
@@ -411,6 +456,22 @@ export default class AgentTeam extends TypertRemoteService {
411
456
  getHumanAvatar(request: AgentTeamGetHumanAvatarRequest): Promise<AgentTeamGetHumanAvatarResult>;
412
457
  /** Remove one human avatar entry; the UI falls back to hue/initial afterwards. */
413
458
  removeHumanAvatar(request: AgentTeamRemoveHumanAvatarRequest): Promise<AgentTeamRemoveHumanAvatarResult>;
459
+ /**
460
+ * Overwrite the Human profile fields the caller supplies. The Host owns this
461
+ * write because the profile is the Host row's own Config: the schema supplies
462
+ * the shape, this method supplies the two judgements the schema cannot make
463
+ * (a non-empty name, a name no live Member already answers to), and the
464
+ * settings service persists the result into the active profile's patch
465
+ * document and applies it to the running plugin live.
466
+ *
467
+ * No expected revision accompanies the write: the profile is two scalar
468
+ * fields written from the Human's own pages, where the last write wins. This
469
+ * is not a hard boundary around a user-editable document — the settings
470
+ * service's own document opener (and a text editor) can change the stored
471
+ * name without passing here, exactly as the retired section validator could
472
+ * not stop it.
473
+ */
474
+ setHumanProfile(request: AgentTeamSetHumanProfileRequest): Promise<AgentTeamSetHumanProfileResult>;
414
475
  /** Human existing-Thread reply; unread and revision conflicts are business outcomes. */
415
476
  reply(request: AgentTeamReplyRequest): Promise<AgentTeamReplyResult>;
416
477
  /** Human's personal Attention operation. */
@@ -716,8 +777,6 @@ export default class AgentTeam extends TypertRemoteService {
716
777
  * unclassified activation failure.
717
778
  */
718
779
  private activationDiagnosticOf;
719
- /** Mark a session-refused activation diagnostic as proven non-remediable. */
720
- private markRefusalNonRemediable;
721
780
  private clearMemberFailure;
722
781
  private requireWorkspace;
723
782
  private requireLedger;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAyB,KAAK,KAAK,EAA4C,MAAM,wBAAwB,CAAA;AAMpH,OAAO,EAAW,SAAS,EAAuC,MAAM,0BAA0B,CAAA;AAGlG,OAAO,EAAU,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAI9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAM7D,OAAO,EAA0D,KAAK,uBAAuB,EAA4B,KAAK,qBAAqB,EAAuB,MAAM,kCAAkC,CAAA;AAIlN,OAAO,EAAoE,KAAK,4BAA4B,EAAE,MAAM,aAAa,CAAA;AAQjI,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACpB,0BAA0B,EAC1B,8BAA8B,EAC9B,6BAA6B,EAC7B,6BAA6B,EAC7B,4BAA4B,EAE5B,uBAAuB,EACvB,sBAAsB,EAEtB,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAG7B,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,EAC7B,4BAA4B,EAC5B,8BAA8B,EAC9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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"}
@@ -0,0 +1,16 @@
1
+ /** The installed bundle's own manifest, read once for both facts taken from it. */
2
+ /**
3
+ * Parsed manifest of the installed bundle, or `undefined` when it cannot be
4
+ * read.
5
+ *
6
+ * Three levels up: `packages/agent-team/{src,lib}` sits that deep in both a
7
+ * `link:` checkout and a registry tarball, so a development install and a
8
+ * published one each state their own truth. An unreadable or malformed manifest
9
+ * is a broken install, not a failure of whatever asked: every caller degrades to
10
+ * `'unknown'` or withholds the line it would have stated, so reading this can
11
+ * never fail the Host boot.
12
+ */
13
+ export declare function readInstalledManifest(): Record<string, unknown> | undefined;
14
+ /** Version of the manifest this package installed from, or `'unknown'`. */
15
+ export declare function bundleVersionOf(manifest: Record<string, unknown> | undefined): string;
16
+ //# sourceMappingURL=installed-manifest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"installed-manifest.d.ts","sourceRoot":"","sources":["../../src/installed-manifest.ts"],"names":[],"mappings":"AAAA,mFAAmF;AAMnF;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAU3E;AAED,2EAA2E;AAC3E,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,MAAM,CAGrF"}
@@ -614,6 +614,18 @@ export declare class AgentTeamLedger {
614
614
  private claimsForTask;
615
615
  private claimsForTaskFrom;
616
616
  private claimsForVisibleTasks;
617
+ /**
618
+ * The team_view「活跃 task thread」radar for a Workspace: every visible Task
619
+ * still in flight — in_progress or in_review, the two states a live Claim
620
+ * keeps a Task in — newest activity first. Unlike `recentInboxItems`, this is
621
+ * not a participation slice: admission is the Task being active in a Channel
622
+ * the reader can see, whether or not the reader wrote in it, and a Thread
623
+ * still holding the reader's unread is not excluded. Rows carry the same
624
+ * `liveClaimOwners`口径 the Inbox and Channel feed already use, so 「谁在这个
625
+ * Task 上」 never gains a second definition. Archived Channels are already
626
+ * absent from `visibleTasks`, so their Tasks never reach here.
627
+ */
628
+ private activeTaskThreads;
617
629
  private tasksForClaims;
618
630
  /** Resolve one Task's Thread for a workspace-authorized actor; Member actors must belong to the Task's Channel. */
619
631
  private threadForActor;