@crewx/sdk 0.8.3-rc.6 → 0.8.3-rc.7

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.
@@ -1,4 +1,5 @@
1
1
  import type { ProviderQueryOptions, ProviderUsage } from './bridge.js';
2
+ import type { TaskLogEntry } from '../types/task-log.types.js';
2
3
  export interface CliProviderAdapter {
3
4
  readonly command: string;
4
5
  buildArgs(message: string, options: ProviderQueryOptions, isExecute: boolean): {
@@ -12,6 +13,7 @@ export interface CliProviderAdapter {
12
13
  usage?: ProviderUsage | null;
13
14
  model?: string | null;
14
15
  };
16
+ parseEvent?(line: string, timestamp?: string): TaskLogEntry[];
15
17
  }
16
18
  export declare class RateLimitError extends Error {
17
19
  readonly name = "RateLimitError";
@@ -1,3 +1,3 @@
1
- import type { TaskLogEntry } from '../types/task-log.types';
1
+ import type { TaskLogEntry } from '../../types/task-log.types';
2
2
  export declare function isAgentCallCommand(command: string): boolean;
3
3
  export declare function parseAgentCall(timestamp: string, command: string): TaskLogEntry;
@@ -1,7 +1,10 @@
1
1
  import type { CliProviderAdapter } from '../adapter.types.js';
2
+ import type { TaskLogEntry } from '../../types/task-log.types.js';
2
3
  export { claudeAdapter } from './claude.js';
3
4
  export { geminiAdapter } from './gemini.js';
4
5
  export { copilotAdapter } from './copilot.js';
5
6
  export { codexAdapter } from './codex.js';
6
7
  export { opencodeAdapter } from './opencode.js';
8
+ export { isAgentCallCommand, parseAgentCall } from './agent-call.util.js';
7
9
  export declare const BUILTIN_ADAPTERS: Record<string, CliProviderAdapter>;
10
+ export declare function parseStdoutEvent(timestamp: string, message: string): TaskLogEntry[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewx/sdk",
3
- "version": "0.8.3-rc.6",
3
+ "version": "0.8.3-rc.7",
4
4
  "license": "UNLICENSED",
5
5
  "engines": {
6
6
  "node": ">=20.19.0"
@@ -1,2 +0,0 @@
1
- import type { TaskLogEntry } from '../types/task-log.types';
2
- export declare function parseClaudeEvent(timestamp: string, parsed: Record<string, unknown>): TaskLogEntry[];
@@ -1,2 +0,0 @@
1
- import type { TaskLogEntry } from '../types/task-log.types';
2
- export declare function parseCodexEvent(timestamp: string, parsed: Record<string, unknown>): TaskLogEntry[];
@@ -1,2 +0,0 @@
1
- import type { TaskLogEntry } from '../types/task-log.types';
2
- export declare function parseCopilotEvent(timestamp: string, parsed: Record<string, unknown>): TaskLogEntry[];
@@ -1,2 +0,0 @@
1
- import type { TaskLogEntry } from '../types/task-log.types';
2
- export declare function parseGeminiEvent(timestamp: string, parsed: Record<string, unknown>): TaskLogEntry[];
@@ -1,2 +0,0 @@
1
- import type { TaskLogEntry } from '../types/task-log.types';
2
- export declare function parseOpencodeEvent(timestamp: string, parsed: Record<string, unknown>): TaskLogEntry[];
@@ -1,2 +0,0 @@
1
- import type { TaskLogEntry } from '../types/task-log.types';
2
- export declare function parseStdoutEvent(timestamp: string, message: string): TaskLogEntry[];