@cline/agents 0.0.38 → 0.0.39
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 +3 -2
- package/dist/index.js +33 -33
- package/package.json +4 -6
- package/src/agent-runtime.provider-form.test.ts +0 -198
- package/src/agent-runtime.test.ts +0 -1301
- package/src/agent-runtime.ts +0 -1440
- package/src/index.ts +0 -56
package/src/index.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @cline/agents
|
|
3
|
-
*
|
|
4
|
-
* Browser-safe agent runtime for the next-generation Cline SDK.
|
|
5
|
-
*
|
|
6
|
-
* Exports:
|
|
7
|
-
* - `AgentRuntime` / `Agent` — the agentic loop class (two names for the
|
|
8
|
-
* same class). Use `Agent` when supplying provider/model IDs, or
|
|
9
|
-
* `AgentRuntime` when supplying a pre-built `AgentModel`.
|
|
10
|
-
* - `createAgentRuntime` / `createAgent` — factory-function equivalents.
|
|
11
|
-
* - `AgentRuntimeConfig` and its two variants (`AgentRuntimeConfigWithModel`,
|
|
12
|
-
* `AgentRuntimeConfigWithProvider`) — the discriminated config union.
|
|
13
|
-
* - `AgentRunInput` / `AgentEventListener` — convenience type aliases.
|
|
14
|
-
* - `createTool` — re-exported from `@cline/shared` for authoring tools.
|
|
15
|
-
*
|
|
16
|
-
* Shared types (`AgentMessage`, `AgentRunResult`, etc.) should be imported
|
|
17
|
-
* directly from `@cline/shared`.
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
export type {
|
|
21
|
-
AgentAfterToolResult,
|
|
22
|
-
AgentBeforeModelResult,
|
|
23
|
-
AgentBeforeToolResult,
|
|
24
|
-
AgentMessage,
|
|
25
|
-
AgentMessagePart,
|
|
26
|
-
AgentModel,
|
|
27
|
-
AgentModelFinishReason,
|
|
28
|
-
AgentModelRequest,
|
|
29
|
-
AgentRunResult,
|
|
30
|
-
AgentRuntimeConfig as BaseAgentRuntimeConfig,
|
|
31
|
-
AgentRuntimeEvent,
|
|
32
|
-
AgentRuntimeHooks,
|
|
33
|
-
AgentRuntimeStateSnapshot,
|
|
34
|
-
AgentStopControl,
|
|
35
|
-
AgentTool,
|
|
36
|
-
AgentToolCallPart,
|
|
37
|
-
AgentToolDefinition,
|
|
38
|
-
AgentToolResult,
|
|
39
|
-
AgentUsage,
|
|
40
|
-
ToolApprovalResult,
|
|
41
|
-
ToolPolicy,
|
|
42
|
-
} from "@cline/shared";
|
|
43
|
-
export { createTool } from "@cline/shared";
|
|
44
|
-
export type {
|
|
45
|
-
AgentEventListener,
|
|
46
|
-
AgentRunInput,
|
|
47
|
-
AgentRuntimeConfig,
|
|
48
|
-
AgentRuntimeConfigWithModel,
|
|
49
|
-
AgentRuntimeConfigWithProvider,
|
|
50
|
-
} from "./agent-runtime";
|
|
51
|
-
export {
|
|
52
|
-
Agent,
|
|
53
|
-
AgentRuntime,
|
|
54
|
-
createAgent,
|
|
55
|
-
createAgentRuntime,
|
|
56
|
-
} from "./agent-runtime";
|