@cline/shared 0.0.57 → 0.0.58-nightly.1783480459
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/dist/agent.d.ts +5 -3
- package/dist/agents/types.d.ts +8 -2
- package/dist/hub.d.ts +2 -1
- package/package.json +1 -1
package/dist/agent.d.ts
CHANGED
|
@@ -300,9 +300,11 @@ export interface AgentRuntimeConfig {
|
|
|
300
300
|
toolContextMetadata?: Record<string, unknown>;
|
|
301
301
|
requestToolApproval?: (request: ToolApprovalRequest) => Promise<ToolApprovalResult> | ToolApprovalResult;
|
|
302
302
|
/**
|
|
303
|
-
* Optional host-owned
|
|
304
|
-
*
|
|
305
|
-
*
|
|
303
|
+
* Optional host-owned request projection hook invoked before each model call.
|
|
304
|
+
*
|
|
305
|
+
* Returned messages affect only the provider request for the current call.
|
|
306
|
+
* They do not replace the canonical runtime transcript, are not persisted as
|
|
307
|
+
* session history, and are not reflected in AgentRunResult.messages.
|
|
306
308
|
*/
|
|
307
309
|
prepareTurn?: (context: AgentRuntimePrepareTurnContext) => Promise<AgentRuntimePrepareTurnResult | undefined> | AgentRuntimePrepareTurnResult | undefined;
|
|
308
310
|
consumePendingUserMessage?: () => string | undefined | Promise<string | undefined>;
|
package/dist/agents/types.d.ts
CHANGED
|
@@ -733,8 +733,14 @@ export interface AgentConfig {
|
|
|
733
733
|
*/
|
|
734
734
|
logger?: BasicLogger;
|
|
735
735
|
/**
|
|
736
|
-
* Optional
|
|
737
|
-
*
|
|
736
|
+
* Optional request projection hook invoked before each model call.
|
|
737
|
+
*
|
|
738
|
+
* Returned messages affect only the provider request for the current call.
|
|
739
|
+
* They do not replace the canonical runtime transcript, are not persisted as
|
|
740
|
+
* session history, and are not reflected in AgentRunResult.messages.
|
|
741
|
+
*
|
|
742
|
+
* Hosts that need durable redaction or normalization must apply it before a
|
|
743
|
+
* message enters the canonical transcript.
|
|
738
744
|
*/
|
|
739
745
|
prepareTurn?: (context: AgentPrepareTurnContext) => Promise<AgentPrepareTurnResult | undefined> | AgentPrepareTurnResult | undefined;
|
|
740
746
|
/**
|
package/dist/hub.d.ts
CHANGED
|
@@ -256,7 +256,7 @@ export interface HubScheduleUpdateInput {
|
|
|
256
256
|
runtimeOptions?: HubSessionRuntimeOptions;
|
|
257
257
|
metadata?: Record<string, JsonValue | undefined>;
|
|
258
258
|
}
|
|
259
|
-
export type HubCommandName = "client.register" | "client.update" | "client.unregister" | "client.list" | "cline.account.get_current" | "prompt_commands.list" | "prompt_commands.execute" | "mention_files.search" | "catalog.list" | "session.list" | "session.create" | "session.attach" | "session.detach" | "session.get" | "session.messages" | "session.restore" | "session.delete" | "session.update" | "session.pending_prompts" | "session.update_pending_prompt" | "session.remove_pending_prompt" | "session.fork" | "session.hook" | "run.start" | "session.send_input" | "run.abort" | "approval.request" | "approval.respond" | "capability.request" | "capability.progress" | "capability.respond" | "peer.register" | "peer.list_sessions" | "peer.attach_session" | "peer.detach_session" | "peer.proxy_command" | "schedule.create" | "schedule.list" | "schedule.get" | "schedule.update" | "schedule.delete" | "schedule.enable" | "schedule.disable" | "schedule.trigger" | "schedule.list_executions" | "schedule.stats" | "schedule.active" | "schedule.upcoming" | "settings.list" | "settings.get" | "settings.patch" | "settings.toggle" | "connector.channels" | "connector.configure" | "connector.delete_config" | "cron.event.ingest" | "cron.event.list" | "cron.event.get" | "ui.notify" | "ui.show_window";
|
|
259
|
+
export type HubCommandName = "client.register" | "client.update" | "client.unregister" | "client.list" | "cline.account.get_current" | "prompt_commands.list" | "prompt_commands.execute" | "mention_files.search" | "catalog.list" | "session.list" | "session.create" | "session.attach" | "session.detach" | "session.get" | "session.messages" | "session.restore" | "session.delete" | "session.update" | "session.update_connection" | "session.compaction.get" | "session.compaction.update" | "session.pending_prompts" | "session.update_pending_prompt" | "session.remove_pending_prompt" | "session.fork" | "session.hook" | "run.start" | "session.send_input" | "run.abort" | "approval.request" | "approval.respond" | "capability.request" | "capability.progress" | "capability.respond" | "peer.register" | "peer.list_sessions" | "peer.attach_session" | "peer.detach_session" | "peer.proxy_command" | "schedule.create" | "schedule.list" | "schedule.get" | "schedule.update" | "schedule.delete" | "schedule.enable" | "schedule.disable" | "schedule.trigger" | "schedule.list_executions" | "schedule.stats" | "schedule.active" | "schedule.upcoming" | "settings.list" | "settings.get" | "settings.patch" | "settings.toggle" | "connector.channels" | "connector.configure" | "connector.delete_config" | "cron.event.ingest" | "cron.event.list" | "cron.event.get" | "ui.notify" | "ui.show_window";
|
|
260
260
|
export declare const HUB_DEFAULT_COMMAND_TIMEOUT_MS = 30000;
|
|
261
261
|
export declare const HUB_COMMAND_SLOW_LOG_MS = 5000;
|
|
262
262
|
export declare function getDefaultHubCommandTimeoutMs(command: HubCommandName): number | null;
|
|
@@ -360,6 +360,7 @@ export interface HubSessionRuntimeOptions {
|
|
|
360
360
|
timeoutSeconds?: number;
|
|
361
361
|
thinking?: boolean;
|
|
362
362
|
reasoningEffort?: ReasoningEffort;
|
|
363
|
+
thinkingBudgetTokens?: number;
|
|
363
364
|
checkpointEnabled?: boolean;
|
|
364
365
|
enableTools?: boolean;
|
|
365
366
|
enableSpawn?: boolean;
|