@cline/core 0.0.92 → 0.0.93-nightly.1791944697

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 (32) hide show
  1. package/dist/auth/cline.d.ts +2 -0
  2. package/dist/cloud/index.js +14 -14
  3. package/dist/cron/store/sqlite-cron-store.d.ts +6 -0
  4. package/dist/extensions/composio/composio-meta-tools.d.ts +37 -0
  5. package/dist/extensions/composio/composio-tools-extension.d.ts +4 -9
  6. package/dist/extensions/index.d.ts +5 -2
  7. package/dist/extensions/plugin/plugin-config-loader.d.ts +45 -3
  8. package/dist/extensions/plugin/plugin-contributions.d.ts +43 -0
  9. package/dist/extensions/plugin/plugin-loader.d.ts +2 -0
  10. package/dist/extensions/plugin/plugin-module-import.d.ts +13 -0
  11. package/dist/extensions/plugin/plugin-registry.d.ts +203 -0
  12. package/dist/extensions/plugin/plugin-sandbox.d.ts +43 -0
  13. package/dist/extensions/plugin-sandbox-bootstrap.js +563 -1
  14. package/dist/extensions/tools/schemas.d.ts +1 -1
  15. package/dist/hub/daemon/entry.d.ts +8 -0
  16. package/dist/hub/daemon/entry.js +242 -230
  17. package/dist/hub/daemon/runtime-handlers.d.ts +2 -0
  18. package/dist/hub/index.js +230 -221
  19. package/dist/hub/server/handlers/session-handlers.d.ts +3 -1
  20. package/dist/hub/server/hub-server-transport.d.ts +3 -0
  21. package/dist/index.d.ts +5 -3
  22. package/dist/index.js +263 -254
  23. package/dist/remote/remote-helper-entry.js +1 -1
  24. package/dist/remote/remote-helper.js +3 -3
  25. package/dist/runtime/host/local-runtime-host.d.ts +3 -0
  26. package/dist/runtime/host/runtime-host.d.ts +11 -0
  27. package/dist/runtime/tools/worker-sandbox.d.ts +90 -0
  28. package/dist/services/local-runtime-bootstrap.d.ts +7 -1
  29. package/dist/services/plugin-tools.d.ts +4 -0
  30. package/dist/types/chat-schema.d.ts +2 -2
  31. package/dist/types.d.ts +2 -0
  32. package/package.json +4 -4
@@ -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.ZodOptional<z.ZodNullable<z.ZodString>>;
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>;
@@ -1,3 +1,4 @@
1
+ import { type PluginRegistry } from "../../extensions/plugin/plugin-registry";
1
2
  /**
2
3
  * Resolves only after the daemon WebSocket server is listening and its process
3
4
  * lifecycle handlers are installed.
@@ -13,3 +14,10 @@ export declare const hubDaemonReady: Promise<void>;
13
14
  * `session_not_found` and forces a rebuild from disk.
14
15
  */
15
16
  export declare function isAbortRejection(reason: unknown): boolean;
17
+ /**
18
+ * Plugins run inside the daemon, so a stray exception or rejection from a
19
+ * plugin must not shut every session down. When the error's stack points into
20
+ * a loaded plugin, mark that plugin `failed` and keep running. Returns false
21
+ * for errors that are not attributable to a plugin.
22
+ */
23
+ export declare function attributeUncaughtErrorToPlugin(label: "uncaughtException" | "unhandledRejection", error: unknown, registry?: PluginRegistry, write?: (line: string) => void): boolean;