@cline/shared 0.0.82-nightly.1788488915 → 0.0.83
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 +8 -0
- package/dist/agents/types.d.ts +12 -0
- package/dist/automation/index.js +40 -35
- package/dist/extensions/context.d.ts +3 -1
- package/dist/feature-flags.d.ts +2 -0
- package/dist/hub.d.ts +10 -0
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.js +31 -26
- package/dist/index.d.ts +3 -3
- package/dist/index.js +78 -68
- package/dist/llms/gateway.d.ts +2 -0
- package/dist/llms/model-info.d.ts +12 -0
- package/dist/parse/shell.d.ts +9 -0
- package/dist/prompt/system/act.d.ts +1 -0
- package/dist/prompt/{system.d.ts → system/index.d.ts} +4 -1
- package/dist/prompt/system/yolo.d.ts +1 -0
- package/dist/remote-config/index.js +47 -42
- package/dist/rpc/runtime.d.ts +1 -1
- package/dist/services/telemetry.d.ts +21 -0
- package/package.json +1 -1
|
@@ -25,8 +25,10 @@ export interface ClientContext {
|
|
|
25
25
|
* Identity of the authenticated user.
|
|
26
26
|
*/
|
|
27
27
|
export interface UserContext {
|
|
28
|
-
/** PostHog / analytics distinct ID */
|
|
28
|
+
/** PostHog / analytics distinct ID (an account or anonymous machine ID). */
|
|
29
29
|
distinctId?: string;
|
|
30
|
+
/** Authenticated Cline account ID, or null when explicitly signed out. */
|
|
31
|
+
accountId?: string | null;
|
|
30
32
|
email?: string;
|
|
31
33
|
organizationId?: string;
|
|
32
34
|
}
|
package/dist/feature-flags.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const FeatureFlag: {
|
|
2
2
|
/** Enables ClinePass provider/model list exposure in supported clients. */
|
|
3
3
|
readonly CLINE_PASS: "ext-cline-pass";
|
|
4
|
+
/** Makes the Cloud sessions opt-in visible in the Cline Code desktop app. */
|
|
5
|
+
readonly CODE_CLOUD_AGENTS: "code-cloud-agents";
|
|
4
6
|
/** Shows the GitHub integration step in the desktop app */
|
|
5
7
|
readonly CODE_ONBOARDING_GITHUB: "code-onboarding-github";
|
|
6
8
|
};
|
package/dist/hub.d.ts
CHANGED
|
@@ -597,3 +597,13 @@ export interface HubUIShowWindowPayload {
|
|
|
597
597
|
windowId?: string;
|
|
598
598
|
focus?: boolean;
|
|
599
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* Human phrase for the live work an outdated Hub is serving, used by the
|
|
602
|
+
* "Hub update required" surfaces in the CLI and the desktop app - the two
|
|
603
|
+
* must read identically, which is why the copy lives here. Falls back to an
|
|
604
|
+
* unquantified phrase when the Hub could not answer the activity query.
|
|
605
|
+
*/
|
|
606
|
+
export declare function describeOutdatedHubSessions(counts: {
|
|
607
|
+
activeSessionCount?: number;
|
|
608
|
+
participantClientCount?: number;
|
|
609
|
+
}): string;
|
package/dist/index.browser.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export type { ClientContext, ClientName, ExtensionContext, UserContext, Workspac
|
|
|
10
10
|
export type { AgentExtensionApi, AgentExtensionAutomationContext, AgentExtensionAutomationEventType, AgentExtensionCapability, AgentExtensionCommand, AgentExtensionCommandResult, AgentExtensionHooks, AgentExtensionMcpEnv, AgentExtensionMcpEnvValue, AgentExtensionMcpServer, AgentExtensionMcpSseTransport, AgentExtensionMcpStdioTransport, AgentExtensionMcpStreamableHttpTransport, AgentExtensionMcpTransport, AgentExtensionMessageBuilder, AgentExtensionProvider, AgentExtensionRegistry, AgentExtensionRule, AgentExtensionSessionContext, ContributionRegistryExtension, ContributionRegistryOptions, PluginManifest, PluginSetupContext, } from "./extensions/contribution-registry";
|
|
11
11
|
export { ContributionRegistry, createContributionRegistry, normalizePluginManifest, } from "./extensions/contribution-registry";
|
|
12
12
|
export { PLUGIN_FILE_EXTENSIONS } from "./extensions/plugin";
|
|
13
|
-
export { FEATURE_FLAGS,
|
|
13
|
+
export { FEATURE_FLAGS, FeatureFlag, FeatureFlagDefaultValue, type FeatureFlagPayload, type FeatureFlagsAndPayloads, type FeatureFlagsContext, type FeatureFlagsSettings, type IFeatureFlagsProvider, } from "./feature-flags";
|
|
14
14
|
export type { HookControl } from "./hooks/contracts";
|
|
15
15
|
export type { AgentAbortHookPayload, AgentEndHookPayload, AgentErrorHookPayload, AgentResumeHookPayload, AgentStartHookPayload, HookEventName, HookEventPayload, HookEventPayloadBase, PostToolUseData, PreCompactData, PreCompactHookPayload, PreToolUseData, PromptSubmitHookPayload, SessionShutdownHookPayload, TaskCancelData, TaskCompleteData, TaskResumeData, TaskStartData, ToolCallHookPayload, ToolResultHookPayload, UserPromptSubmitData, } from "./hooks/events";
|
|
16
16
|
export { HookEventNameSchema, HookEventPayloadSchema, parseHookEventPayload, } from "./hooks/events";
|