@lmzhen/dsh-evolution-platform 0.61.3 → 0.62.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.
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { EvolutionLlmError } from "./contract/index.js";
2
- import { _ as profileContextPort, a as projectionPort, b as agentsPort, c as subagentsPort, d as storageDomainPort, f as skillsPort, g as pluginManagerPort, h as pluginInventoryPort, i as toolsPort, l as systemPromptPort, m as configEditorPort, n as modelRoute, o as presetsPort, p as workingDirectoryPort, r as registerEvolutionTool, s as userQuestionsPort, t as llmPort, u as connectionPort, v as settingsPort, y as commandsPort } from "./llm-B9EMquFI.js";
2
+ import { _ as profileContextPort, a as projectionPort, b as agentsPort, c as subagentsPort, d as storageDomainPort, f as skillsPort, g as pluginManagerPort, h as pluginInventoryPort, i as toolsPort, l as systemPromptPort, m as configEditorPort, n as modelRoute, o as presetsPort, p as workingDirectoryPort, r as registerEvolutionTool, s as userQuestionsPort, t as llmPort, u as connectionPort, v as settingsPort, y as commandsPort } from "./llm-DzDswvYR.js";
3
3
  import { EvolutionPlatform } from "./service.js";
4
4
  import "./ports.js";
5
5
  import { BlockAssembler, DomainError, SessionId, createToolResultMessage, createUserMessage, defineDomain, defineTool, domainTable, escapeText, scopeOf, withFileLock } from "./values.js";
@@ -1,4 +1,3 @@
1
- import { err, ok } from "./contract/result.js";
2
1
  import { EvolutionLlmError } from "./contract/index.js";
3
2
  //#region lib/types/agents.js
4
3
  const asIdentity = (value) => {
@@ -111,17 +110,7 @@ function connectionPort(ctx) {
111
110
  };
112
111
  return {
113
112
  allowsRemoteAuthorities: connection.allowsRemoteAuthorities === true,
114
- register,
115
- tryRegister: (route) => {
116
- try {
117
- return ok(register(route));
118
- } catch (error) {
119
- return err({
120
- code: "E-325",
121
- message: error instanceof Error ? error.message : String(error)
122
- });
123
- }
124
- }
113
+ register
125
114
  };
126
115
  }
127
116
  //#endregion
package/lib/ports.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { EvolutionLlmError } from "./contract/index.js";
2
- import { _ as profileContextPort, a as projectionPort, b as agentsPort, c as subagentsPort, d as storageDomainPort, f as skillsPort, g as pluginManagerPort, h as pluginInventoryPort, i as toolsPort, l as systemPromptPort, m as configEditorPort, n as modelRoute, o as presetsPort, p as workingDirectoryPort, r as registerEvolutionTool, s as userQuestionsPort, t as llmPort, u as connectionPort, v as settingsPort, y as commandsPort } from "./llm-B9EMquFI.js";
2
+ import { _ as profileContextPort, a as projectionPort, b as agentsPort, c as subagentsPort, d as storageDomainPort, f as skillsPort, g as pluginManagerPort, h as pluginInventoryPort, i as toolsPort, l as systemPromptPort, m as configEditorPort, n as modelRoute, o as presetsPort, p as workingDirectoryPort, r as registerEvolutionTool, s as userQuestionsPort, t as llmPort, u as connectionPort, v as settingsPort, y as commandsPort } from "./llm-DzDswvYR.js";
3
3
  export { EvolutionLlmError, agentsPort, commandsPort, configEditorPort, connectionPort, llmPort, modelRoute, pluginInventoryPort, pluginManagerPort, presetsPort, profileContextPort, projectionPort, registerEvolutionTool, settingsPort, skillsPort, storageDomainPort, subagentsPort, systemPromptPort, toolsPort, userQuestionsPort, workingDirectoryPort };
package/lib/service.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./contract/index.js";
2
- import { _ as profileContextPort, a as projectionPort, b as agentsPort, c as subagentsPort, d as storageDomainPort, f as skillsPort, g as pluginManagerPort, h as pluginInventoryPort, i as toolsPort, l as systemPromptPort, m as configEditorPort, o as presetsPort, p as workingDirectoryPort, s as userQuestionsPort, t as llmPort, u as connectionPort, v as settingsPort, y as commandsPort } from "./llm-B9EMquFI.js";
2
+ import { _ as profileContextPort, a as projectionPort, b as agentsPort, c as subagentsPort, d as storageDomainPort, f as skillsPort, g as pluginManagerPort, h as pluginInventoryPort, i as toolsPort, l as systemPromptPort, m as configEditorPort, o as presetsPort, p as workingDirectoryPort, s as userQuestionsPort, t as llmPort, u as connectionPort, v as settingsPort, y as commandsPort } from "./llm-DzDswvYR.js";
3
3
  import { Service } from "@deepseek-ai/cordis";
4
4
  //#region lib/types/service.js
5
5
  /**
@@ -1,4 +1,3 @@
1
- import { err, ok } from "./contract/result.js";
2
1
  const REGISTER_REQUIRED = 'connection.fetch.register() is required to register family host routes (platform >= 0.2.2-rc.1); no fallback admission path exists';
3
2
  /** Resolve the connection port; undefined means the host has no connection service. */
4
3
  export function connectionPort(ctx) {
@@ -14,14 +13,6 @@ export function connectionPort(ctx) {
14
13
  return {
15
14
  allowsRemoteAuthorities: connection.allowsRemoteAuthorities === true,
16
15
  register,
17
- tryRegister: (route) => {
18
- try {
19
- return ok(register(route));
20
- }
21
- catch (error) {
22
- return err({ code: 'E-325', message: error instanceof Error ? error.message : String(error) });
23
- }
24
- },
25
16
  };
26
17
  }
27
18
  //# sourceMappingURL=connection.js.map
@@ -12,7 +12,5 @@ export type ConnectionRegisterResult = Result<() => Promise<void>, FamilyError>;
12
12
  export interface ConnectionPort {
13
13
  readonly allowsRemoteAuthorities: boolean;
14
14
  register(route: ConnectionRoute): () => Promise<void>;
15
- /** Typed registration for callers that do not want to catch; optional during migration. */
16
- tryRegister?(route: ConnectionRoute): ConnectionRegisterResult;
17
15
  }
18
16
  //# sourceMappingURL=connection.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-platform",
3
3
  "description": "The platform adapter and generated-contract surface for the dsh-evolution family (community build)",
4
- "version": "0.61.3",
4
+ "version": "0.62.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },