@cline/core 0.0.86 → 0.0.88-nightly.1790735522

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 (36) hide show
  1. package/dist/cloud/api.d.ts +32 -5
  2. package/dist/cloud/controller.d.ts +32 -4
  3. package/dist/cloud/index.d.ts +3 -1
  4. package/dist/cloud/index.js +21 -11
  5. package/dist/cloud/models.d.ts +9 -0
  6. package/dist/cloud/types.d.ts +11 -1
  7. package/dist/extensions/plugin-sandbox-bootstrap.js +1 -1
  8. package/dist/extensions/tools/executors/bash.d.ts +26 -0
  9. package/dist/extensions/tools/executors/index.d.ts +1 -1
  10. package/dist/extensions/tools/index.d.ts +1 -1
  11. package/dist/hub/client/index.d.ts +4 -0
  12. package/dist/hub/client/session-client.d.ts +0 -3
  13. package/dist/hub/daemon/bind-diagnostics.d.ts +16 -0
  14. package/dist/hub/daemon/entry.js +304 -304
  15. package/dist/hub/daemon/index.d.ts +8 -0
  16. package/dist/hub/discovery/index.d.ts +1 -0
  17. package/dist/hub/index.js +293 -294
  18. package/dist/index.d.ts +5 -3
  19. package/dist/index.js +339 -334
  20. package/dist/remote/remote-helper-entry.js +4 -4
  21. package/dist/remote/remote-helper.js +4 -4
  22. package/dist/services/agent-events.d.ts +1 -0
  23. package/dist/services/cloud-handoff/git-preflight.d.ts +24 -0
  24. package/dist/services/cloud-handoff/index.d.ts +4 -0
  25. package/dist/services/cloud-handoff/metadata.d.ts +7 -0
  26. package/dist/services/cloud-handoff/transcript.d.ts +5 -0
  27. package/dist/services/cloud-handoff/types.d.ts +35 -0
  28. package/dist/services/feature-flags/posthog.js +1 -1
  29. package/dist/services/telemetry/core-events.d.ts +3 -0
  30. package/dist/services/telemetry/index.js +1 -1
  31. package/dist/services/workspace/workspace-manifest.d.ts +34 -0
  32. package/dist/session/fork-metadata.d.ts +7 -0
  33. package/dist/session/services/persistence-service.d.ts +1 -0
  34. package/dist/types/chat-schema.d.ts +2 -2
  35. package/dist/types/provider-settings.d.ts +11 -0
  36. package/package.json +4 -4
@@ -8,6 +8,7 @@ export interface DetachedHubOptions extends HubEndpointOverrides {
8
8
  export declare const __test__: {
9
9
  /** Retire attempts are module state keyed by URL; clear between cases. */
10
10
  resetRetireAttempts(): void;
11
+ resolveDaemonEntryArgs: typeof resolveDaemonEntryArgs;
11
12
  };
12
13
  /**
13
14
  * Reads the discovery record the npm postinstall set aside (see
@@ -44,6 +45,12 @@ export type HubRetirementOutcome = "reusable" | "retired" | "deferred_busy" | "f
44
45
  * only a Hub that positively reports live sessions is spared.
45
46
  */
46
47
  export declare function hubHasLiveSessions(record: Pick<HubServerProbeRecord, "url" | "authToken">): Promise<boolean>;
48
+ /**
49
+ * Compiled Bun binaries mount bundled modules on a virtual filesystem that a
50
+ * child cannot be handed as a script argument, so the child boots its embedded
51
+ * entrypoint and switches personality on the marker flag.
52
+ */
53
+ declare function resolveDaemonEntryArgs(daemonEntryPath: string, isBunRuntime: boolean): string[];
47
54
  export declare function spawnDetachedHubServer(workspaceRoot: string, endpoint?: DetachedHubOptions): void;
48
55
  export declare function spawnDetachedHubServerWithRetry(workspaceRoot: string, endpoint?: DetachedHubOptions): Promise<void>;
49
56
  export declare function prewarmDetachedHubServer(workspaceRoot: string, endpoint?: DetachedHubOptions): void;
@@ -124,3 +131,4 @@ export interface UpgradeManagedHubResult {
124
131
  * "upgrading" the hub to their own build.
125
132
  */
126
133
  export declare function upgradeManagedHub(options?: UpgradeManagedHubOptions): Promise<UpgradeManagedHubResult>;
134
+ export {};
@@ -121,6 +121,7 @@ export declare function clearHubDiscoveryIfOwned(discoveryPath: string, hubId: s
121
121
  export declare function withHubStartupLock<T>(discoveryPath: string, callback: () => Promise<T>): Promise<T>;
122
122
  export declare function probeHubServer(url: string, options?: {
123
123
  authToken?: string;
124
+ signal?: AbortSignal;
124
125
  }): Promise<HubServerProbeRecord | undefined>;
125
126
  export declare function createHubServerUrl(host: string, port: number, pathname?: string): string;
126
127
  export declare function toHubHealthUrl(wsUrl: string): string;