@levelcode/sdk 0.2.0 → 0.2.1

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.
@@ -253,24 +253,28 @@ export declare const levelcodeToolHandlers: {
253
253
  task_create: (params: {
254
254
  previousToolCallFinished: Promise<void>;
255
255
  toolCall: import("@levelcode/common/tools/list").LevelCodeToolCall<"task_create">;
256
+ agentStepId: string;
256
257
  }) => Promise<{
257
258
  output: import("src").LevelCodeToolOutput<"task_create">;
258
259
  }>;
259
260
  task_get: (params: {
260
261
  previousToolCallFinished: Promise<void>;
261
262
  toolCall: import("@levelcode/common/tools/list").LevelCodeToolCall<"task_get">;
263
+ agentStepId: string;
262
264
  }) => Promise<{
263
265
  output: import("src").LevelCodeToolOutput<"task_get">;
264
266
  }>;
265
267
  task_list: (params: {
266
268
  previousToolCallFinished: Promise<void>;
267
269
  toolCall: import("@levelcode/common/tools/list").LevelCodeToolCall<"task_list">;
270
+ agentStepId: string;
268
271
  }) => Promise<{
269
272
  output: import("src").LevelCodeToolOutput<"task_list">;
270
273
  }>;
271
274
  task_update: (params: {
272
275
  previousToolCallFinished: Promise<void>;
273
276
  toolCall: import("@levelcode/common/tools/list").LevelCodeToolCall<"task_update">;
277
+ agentStepId: string;
274
278
  trackEvent: import("@levelcode/common/types/contracts/analytics").TrackEventFn;
275
279
  userId: string | undefined;
276
280
  logger: import("@levelcode/common/types/contracts/logger").Logger;
@@ -3,6 +3,7 @@ type ToolName = 'task_create';
3
3
  export declare const handleTaskCreate: (params: {
4
4
  previousToolCallFinished: Promise<void>;
5
5
  toolCall: LevelCodeToolCall<ToolName>;
6
+ agentStepId: string;
6
7
  }) => Promise<{
7
8
  output: LevelCodeToolOutput<ToolName>;
8
9
  }>;
@@ -3,6 +3,7 @@ type ToolName = 'task_get';
3
3
  export declare const handleTaskGet: (params: {
4
4
  previousToolCallFinished: Promise<void>;
5
5
  toolCall: LevelCodeToolCall<ToolName>;
6
+ agentStepId: string;
6
7
  }) => Promise<{
7
8
  output: LevelCodeToolOutput<ToolName>;
8
9
  }>;
@@ -3,6 +3,7 @@ type ToolName = 'task_list';
3
3
  export declare const handleTaskList: (params: {
4
4
  previousToolCallFinished: Promise<void>;
5
5
  toolCall: LevelCodeToolCall<ToolName>;
6
+ agentStepId: string;
6
7
  }) => Promise<{
7
8
  output: LevelCodeToolOutput<ToolName>;
8
9
  }>;
@@ -5,6 +5,7 @@ type ToolName = 'task_update';
5
5
  export declare const handleTaskUpdate: (params: {
6
6
  previousToolCallFinished: Promise<void>;
7
7
  toolCall: LevelCodeToolCall<ToolName>;
8
+ agentStepId: string;
8
9
  trackEvent: TrackEventFn;
9
10
  userId: string | undefined;
10
11
  logger: Logger;
@@ -12,6 +12,7 @@ export type { AgentDefinition } from '@levelcode/common/templates/initial-agents
12
12
  export type { ToolName } from '@levelcode/common/tools/constants';
13
13
  export type { ClientToolCall, ClientToolName, LevelCodeToolOutput, } from '@levelcode/common/tools/list';
14
14
  export * from './client';
15
+ export * from './team';
15
16
  export * from './custom-tool';
16
17
  export * from './native/ripgrep';
17
18
  export * from './run-state';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@levelcode/sdk",
3
3
  "private": false,
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "description": "Official SDK for LevelCode — AI coding agent & framework",
6
6
  "license": "Apache-2.0",
7
7
  "type": "module",