@cline/core 0.0.92 → 0.0.93-nightly.1792117748
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/auth/cline.d.ts +2 -0
- package/dist/cloud/api.d.ts +3 -0
- package/dist/cloud/controller.d.ts +3 -0
- package/dist/cloud/index.js +16 -16
- package/dist/cron/store/sqlite-cron-store.d.ts +6 -0
- package/dist/extensions/composio/composio-meta-tools.d.ts +37 -0
- package/dist/extensions/composio/composio-tools-extension.d.ts +4 -9
- package/dist/extensions/index.d.ts +5 -2
- package/dist/extensions/plugin/plugin-config-loader.d.ts +47 -6
- package/dist/extensions/plugin/plugin-contributions.d.ts +43 -0
- package/dist/extensions/plugin/plugin-loader.d.ts +2 -0
- package/dist/extensions/plugin/plugin-module-import.d.ts +13 -0
- package/dist/extensions/plugin/plugin-registry.d.ts +172 -0
- package/dist/extensions/plugin/plugin-sandbox.d.ts +47 -1
- package/dist/extensions/plugin-sandbox-bootstrap.js +563 -1
- package/dist/extensions/tools/definitions.d.ts +1 -1
- package/dist/extensions/tools/schemas.d.ts +1 -1
- package/dist/extensions/tools/types.d.ts +3 -2
- package/dist/hub/daemon/entry.js +242 -231
- package/dist/hub/daemon/index.d.ts +24 -0
- package/dist/hub/daemon/runtime-handlers.d.ts +2 -0
- package/dist/hub/discovery/index.d.ts +8 -1
- package/dist/hub/index.js +229 -220
- package/dist/hub/runtime-host/hub-runtime-host.d.ts +3 -0
- package/dist/hub/server/handlers/session-handlers.d.ts +3 -1
- package/dist/hub/server/hub-server-transport.d.ts +3 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +263 -254
- package/dist/remote/remote-environments.d.ts +1 -0
- package/dist/runtime/host/local-runtime-host.d.ts +3 -0
- package/dist/runtime/host/runtime-host.d.ts +11 -0
- package/dist/runtime/tools/worker-sandbox.d.ts +90 -0
- package/dist/services/local-runtime-bootstrap.d.ts +7 -1
- package/dist/services/plugin-tools.d.ts +4 -0
- package/dist/services/telemetry/index.js +1 -1
- package/dist/types/chat-schema.d.ts +2 -2
- package/dist/types.d.ts +2 -0
- package/package.json +8 -12
- package/dist/remote/remote-helper-entry.d.ts +0 -1
- package/dist/remote/remote-helper-entry.js +0 -5
- package/dist/remote/remote-helper.d.ts +0 -29
- package/dist/remote/remote-helper.js +0 -4
|
@@ -72,7 +72,7 @@ export declare function createSkillsTool(executor: SkillsExecutorWithMetadata, c
|
|
|
72
72
|
*
|
|
73
73
|
* Asks the user a single clarifying question with 2-5 selectable options.
|
|
74
74
|
*/
|
|
75
|
-
export declare function createAskQuestionTool(executor: AskQuestionExecutor): AgentTool<AskQuestionInput,
|
|
75
|
+
export declare function createAskQuestionTool(executor: AskQuestionExecutor): AgentTool<AskQuestionInput, Awaited<ReturnType<AskQuestionExecutor>>>;
|
|
76
76
|
export declare function createSubmitAndExitTool(executor: VerifySubmitExecutor, config?: Pick<DefaultToolsConfig, "submitTimeoutMs">): AgentTool<SubmitInput, string>;
|
|
77
77
|
/**
|
|
78
78
|
* Create a set of default tools for an agent
|
|
@@ -291,7 +291,7 @@ export declare const FetchWebContentInputSchema: z.ZodObject<{
|
|
|
291
291
|
*/
|
|
292
292
|
export declare const EditFileInputSchema: z.ZodObject<{
|
|
293
293
|
path: z.ZodString;
|
|
294
|
-
old_text: z.
|
|
294
|
+
old_text: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
295
295
|
new_text: z.ZodString;
|
|
296
296
|
insert_line: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
297
297
|
}, z.core.$strip>;
|
|
@@ -89,9 +89,10 @@ export type SkillsExecutor = (skill: string, args: string | undefined, context:
|
|
|
89
89
|
* @param question - Single clarifying question for the user
|
|
90
90
|
* @param options - 2-5 selectable answer options
|
|
91
91
|
* @param context - Tool execution context
|
|
92
|
-
* @returns
|
|
92
|
+
* @returns The user's answer, as text or as text and image blocks when the
|
|
93
|
+
* user attached images or files to it
|
|
93
94
|
*/
|
|
94
|
-
export type AskQuestionExecutor = (question: string, options: string[], context: AgentToolContext) => Promise<string
|
|
95
|
+
export type AskQuestionExecutor = (question: string, options: string[], context: AgentToolContext) => Promise<string | Array<TextContent | ImageContent>>;
|
|
95
96
|
/**
|
|
96
97
|
* Skill metadata exposed by SkillsExecutor for clients/UI
|
|
97
98
|
*/
|