@clinebot/core 0.0.12 → 0.0.13
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/README.md +1 -1
- package/dist/agents/plugin-loader.d.ts +1 -0
- package/dist/index.node.d.ts +4 -0
- package/dist/index.node.js +216 -195
- package/dist/runtime/commands.d.ts +11 -0
- package/dist/runtime/skills.d.ts +13 -0
- package/dist/session/session-service.d.ts +22 -22
- package/dist/session/unified-session-persistence-service.d.ts +6 -6
- package/dist/session/utils/helpers.d.ts +2 -2
- package/dist/tools/schemas.d.ts +1 -0
- package/package.json +4 -4
- package/src/agents/plugin-loader.test.ts +11 -11
- package/src/agents/plugin-loader.ts +5 -3
- package/src/index.node.ts +10 -0
- package/src/runtime/commands.test.ts +98 -0
- package/src/runtime/commands.ts +83 -0
- package/src/runtime/index.ts +10 -0
- package/src/runtime/skills.ts +44 -0
- package/src/runtime/workflows.ts +20 -29
- package/src/session/default-session-manager.e2e.test.ts +32 -32
- package/src/session/default-session-manager.ts +10 -12
- package/src/session/rpc-session-service.ts +14 -96
- package/src/session/session-service.ts +127 -64
- package/src/session/unified-session-persistence-service.test.ts +3 -3
- package/src/session/unified-session-persistence-service.ts +114 -141
- package/src/session/utils/helpers.ts +22 -41
- package/src/tools/definitions.test.ts +50 -0
- package/src/tools/definitions.ts +26 -0
- package/src/tools/schemas.ts +5 -6
package/README.md
CHANGED
|
@@ -3,6 +3,7 @@ type AgentPlugin = NonNullable<AgentConfig["extensions"]>[number];
|
|
|
3
3
|
export interface LoadAgentPluginFromPathOptions {
|
|
4
4
|
exportName?: string;
|
|
5
5
|
cwd?: string;
|
|
6
|
+
useCache?: boolean;
|
|
6
7
|
}
|
|
7
8
|
export declare function loadAgentPluginFromPath(pluginPath: string, options?: LoadAgentPluginFromPathOptions): Promise<AgentPlugin>;
|
|
8
9
|
export declare function loadAgentPluginsFromPaths(pluginPaths: string[], options?: LoadAgentPluginFromPathOptions): Promise<AgentPlugin[]>;
|
package/dist/index.node.d.ts
CHANGED
|
@@ -11,10 +11,14 @@ export * from "./index";
|
|
|
11
11
|
export type { FastFileIndexOptions, MentionEnricherOptions, MentionEnrichmentResult, } from "./input";
|
|
12
12
|
export { enrichPromptWithMentions, getFileIndex, prewarmFileIndex, } from "./input";
|
|
13
13
|
export { addLocalProvider, ensureCustomProvidersLoaded, getLocalProviderModels, listLocalProviders, loginLocalProvider, normalizeOAuthProvider, resolveLocalClineAuthToken, saveLocalProviderOAuthCredentials, saveLocalProviderSettings, } from "./providers/local-provider-service";
|
|
14
|
+
export type { AvailableRuntimeCommand } from "./runtime/commands";
|
|
15
|
+
export { listAvailableRuntimeCommandsFromWatcher, resolveRuntimeSlashCommandFromWatcher, } from "./runtime/commands";
|
|
14
16
|
export { formatRulesForSystemPrompt, isRuleEnabled, listEnabledRulesFromWatcher, loadRulesForSystemPromptFromWatcher, } from "./runtime/rules";
|
|
15
17
|
export { createTeamName, DefaultRuntimeBuilder, } from "./runtime/runtime-builder";
|
|
16
18
|
export { type SandboxCallOptions, SubprocessSandbox, type SubprocessSandboxOptions, } from "./runtime/sandbox/subprocess-sandbox";
|
|
17
19
|
export type { BuiltRuntime, RuntimeBuilder, RuntimeBuilderInput, SessionRuntime, } from "./runtime/session-runtime";
|
|
20
|
+
export type { AvailableSkill } from "./runtime/skills";
|
|
21
|
+
export { listAvailableSkillsFromWatcher, resolveSkillsSlashCommandFromWatcher, } from "./runtime/skills";
|
|
18
22
|
export { type DesktopToolApprovalOptions, requestDesktopToolApproval, } from "./runtime/tool-approval";
|
|
19
23
|
export type { AvailableWorkflow } from "./runtime/workflows";
|
|
20
24
|
export { listAvailableWorkflowsFromWatcher, resolveWorkflowSlashCommandFromWatcher, } from "./runtime/workflows";
|