@cerebriline/core 4.100.242 → 4.100.243

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.
@@ -8,6 +8,19 @@ export declare function createTeamName(): string;
8
8
  * nodes agents are actually placed on.
9
9
  */
10
10
  export declare function resolveSessionAgentNodes(config: CoreSessionConfig): NonNullable<CoreSessionConfig["agentNodes"]>;
11
+ /**
12
+ * What to tell a model that calls a delegation tool this session withholds.
13
+ *
14
+ * The rejection it got before named every tool on offer and no cause, so it
15
+ * read as a transient failure and the same call came back. This says why, what
16
+ * to do instead, and that asking again will not change the answer.
17
+ */
18
+ export declare function describeWithheldDelegationTools(input: {
19
+ offered: readonly string[];
20
+ subagentsEnabled: boolean;
21
+ serialised: boolean;
22
+ multipleNodes: boolean;
23
+ }): Record<string, string>;
11
24
  export declare class DefaultRuntimeBuilder implements RuntimeBuilder {
12
25
  private readonly teamRuntimeEntries;
13
26
  build(input: RuntimeBuilderInput): Promise<RuntimeEnvironment>;
@@ -38,6 +38,8 @@ export interface BuiltRuntime {
38
38
  configuredAgents?: readonly ConfiguredAgentConfig[];
39
39
  extensions?: AgentConfig["extensions"];
40
40
  completionPolicy?: AgentConfig["completionPolicy"];
41
+ /** Why a tool this session withholds is absent, by tool name. */
42
+ unavailableToolReasons?: Record<string, string>;
41
43
  registerLeadAgent?: (agent: LeadAgentHandle) => void;
42
44
  shutdown: (reason: string) => Promise<void> | void;
43
45
  }
@@ -106,6 +106,19 @@ export declare const POLLING_TOOL_NAMES: ReadonlySet<string>;
106
106
  * real revision.
107
107
  */
108
108
  export declare function loopResultSignature(output: unknown): string;
109
+ /**
110
+ * A call that moves its own subject, so the same arguments ask a new question
111
+ * every time: `browser` `scroll_down` shows the next viewport, and reading a
112
+ * long page is that one call sent again and again. The consecutive rule's
113
+ * premise -- "the arguments have not changed, so neither will the result" --
114
+ * is false for it. Reported 2026-10-09: seven scrolls down one dashboard, a
115
+ * different screenshot after each, and the run stopped at the seventh.
116
+ *
117
+ * Only the consecutive rule is lifted. The answer is still compared, so a
118
+ * scroll that has reached the end of the page -- same screenshot, same console
119
+ * -- is caught by the no-progress cycle like any other call.
120
+ */
121
+ export declare function callMovesItsOwnSubject(call: LoopDetectionCall): boolean;
109
122
  export interface LoopCheckResult {
110
123
  softWarning: boolean;
111
124
  hardEscalation: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cerebriline/core",
3
3
  "description": "Cerebriline Core SDK for Node Runtime",
4
- "version": "4.100.242",
4
+ "version": "4.100.243",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/mann1x/cline.git",
@@ -69,9 +69,9 @@
69
69
  "ws": "^8.20.0",
70
70
  "yaml": "^2.8.2",
71
71
  "zod": "^4.3.6",
72
- "@cerebriline/agents": "4.100.242",
73
- "@cerebriline/llms": "4.100.242",
74
- "@cerebriline/shared": "4.100.242"
72
+ "@cerebriline/agents": "4.100.243",
73
+ "@cerebriline/llms": "4.100.243",
74
+ "@cerebriline/shared": "4.100.243"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "posthog-node": "^5.8.0"