ferix-code 0.0.2-beta.24 → 0.0.2-beta.26

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +19 -19
  2. package/dist/index.js +576 -345
  3. package/package.json +3 -1
package/dist/index.d.ts CHANGED
@@ -330,9 +330,9 @@ declare const isContentBlockStart: (u: unknown, overrideOptions?: effect_SchemaA
330
330
  readonly text?: string | undefined;
331
331
  } | {
332
332
  readonly type: "tool_use";
333
+ readonly name: string;
333
334
  readonly input?: unknown;
334
335
  readonly id?: string | undefined;
335
- readonly name: string;
336
336
  };
337
337
  };
338
338
  declare const isContentBlockDelta: (u: unknown, overrideOptions?: effect_SchemaAST.ParseOptions | number) => u is {
@@ -358,9 +358,9 @@ declare const isAssistantMessage: (u: unknown, overrideOptions?: effect_SchemaAS
358
358
  readonly text: string;
359
359
  } | {
360
360
  readonly type: "tool_use";
361
+ readonly name: string;
361
362
  readonly input: unknown;
362
363
  readonly id?: string | undefined;
363
- readonly name: string;
364
364
  })[];
365
365
  };
366
366
  };
@@ -378,9 +378,9 @@ declare const isInputJsonDelta: (u: unknown, overrideOptions?: effect_SchemaAST.
378
378
  };
379
379
  declare const isToolUseContentBlock: (u: unknown, overrideOptions?: effect_SchemaAST.ParseOptions | number) => u is {
380
380
  readonly type: "tool_use";
381
+ readonly name: string;
381
382
  readonly input: unknown;
382
383
  readonly id?: string | undefined;
383
- readonly name: string;
384
384
  };
385
385
  declare const isTextContentBlock: (u: unknown, overrideOptions?: effect_SchemaAST.ParseOptions | number) => u is {
386
386
  readonly type: "text";
@@ -397,9 +397,9 @@ declare const decodeClaudeCliEvent: (u: unknown, overrideOptions?: effect_Schema
397
397
  readonly text?: string | undefined;
398
398
  } | {
399
399
  readonly type: "tool_use";
400
+ readonly name: string;
400
401
  readonly input?: unknown;
401
402
  readonly id?: string | undefined;
402
- readonly name: string;
403
403
  };
404
404
  } | {
405
405
  readonly type: "content_block_delta";
@@ -422,9 +422,9 @@ declare const decodeClaudeCliEvent: (u: unknown, overrideOptions?: effect_Schema
422
422
  readonly text: string;
423
423
  } | {
424
424
  readonly type: "tool_use";
425
+ readonly name: string;
425
426
  readonly input: unknown;
426
427
  readonly id?: string | undefined;
427
- readonly name: string;
428
428
  })[];
429
429
  };
430
430
  } | {
@@ -439,9 +439,9 @@ declare const decodeClaudeCliEventSync: (u: unknown, overrideOptions?: effect_Sc
439
439
  readonly text?: string | undefined;
440
440
  } | {
441
441
  readonly type: "tool_use";
442
+ readonly name: string;
442
443
  readonly input?: unknown;
443
444
  readonly id?: string | undefined;
444
- readonly name: string;
445
445
  };
446
446
  } | {
447
447
  readonly type: "content_block_delta";
@@ -464,9 +464,9 @@ declare const decodeClaudeCliEventSync: (u: unknown, overrideOptions?: effect_Sc
464
464
  readonly text: string;
465
465
  } | {
466
466
  readonly type: "tool_use";
467
+ readonly name: string;
467
468
  readonly input: unknown;
468
469
  readonly id?: string | undefined;
469
- readonly name: string;
470
470
  })[];
471
471
  };
472
472
  } | {
@@ -775,7 +775,7 @@ declare const decodeLoopConfig: (u: unknown, overrideOptions?: effect_SchemaAST.
775
775
  } | undefined;
776
776
  readonly additionalContext?: string | undefined;
777
777
  } | undefined;
778
- readonly provider?: "claude" | "cursor" | "opencode" | undefined;
778
+ readonly provider?: "claude" | "opencode" | "cursor" | undefined;
779
779
  }, effect_ParseResult.ParseError, never>;
780
780
 
781
781
  /**
@@ -1604,15 +1604,15 @@ declare const isBashToolInput: (u: unknown, overrideOptions?: effect_SchemaAST.P
1604
1604
  readonly [x: string]: unknown;
1605
1605
  };
1606
1606
  declare const isGlobToolInput: (u: unknown, overrideOptions?: effect_SchemaAST.ParseOptions | number) => u is {
1607
- readonly pattern: string;
1608
1607
  readonly path?: string | undefined;
1608
+ readonly pattern: string;
1609
1609
  } & {
1610
1610
  readonly [x: string]: unknown;
1611
1611
  };
1612
1612
  declare const isGrepToolInput: (u: unknown, overrideOptions?: effect_SchemaAST.ParseOptions | number) => u is {
1613
1613
  readonly type?: string | undefined;
1614
- readonly pattern: string;
1615
1614
  readonly path?: string | undefined;
1615
+ readonly pattern: string;
1616
1616
  readonly glob?: string | undefined;
1617
1617
  readonly output_mode?: "content" | "files_with_matches" | "count" | undefined;
1618
1618
  } & {
@@ -1728,8 +1728,8 @@ interface ValidatedToolUseEvent {
1728
1728
  readonly input: AnyToolInput;
1729
1729
  }
1730
1730
  declare const decodeLLMEvent: (u: unknown, overrideOptions?: effect_SchemaAST.ParseOptions) => effect_Effect.Effect<{
1731
- readonly _tag: "Text";
1732
1731
  readonly text: string;
1732
+ readonly _tag: "Text";
1733
1733
  } | {
1734
1734
  readonly _tag: "ToolStart";
1735
1735
  readonly tool: string;
@@ -1903,17 +1903,17 @@ declare const decodePlan: (u: unknown, overrideOptions?: effect_SchemaAST.ParseO
1903
1903
  readonly context?: string | undefined;
1904
1904
  readonly tasks: readonly {
1905
1905
  readonly phases: readonly {
1906
- readonly status: "pending" | "in_progress" | "done" | "failed";
1906
+ readonly status: "failed" | "pending" | "in_progress" | "done";
1907
1907
  readonly id: string;
1908
1908
  readonly description: string;
1909
1909
  }[];
1910
- readonly status: "planning" | "pending" | "in_progress" | "done" | "failed" | "skipped";
1910
+ readonly status: "planning" | "failed" | "pending" | "in_progress" | "done" | "skipped";
1911
1911
  readonly attempts: number;
1912
1912
  readonly id: string;
1913
1913
  readonly description: string;
1914
1914
  readonly title: string;
1915
1915
  readonly criteria: readonly {
1916
- readonly status: "pending" | "failed" | "passed";
1916
+ readonly status: "failed" | "pending" | "passed";
1917
1917
  readonly id: string;
1918
1918
  readonly description: string;
1919
1919
  readonly failureReason?: string | undefined;
@@ -1929,17 +1929,17 @@ declare const decodePlanData: (u: unknown, overrideOptions?: effect_SchemaAST.Pa
1929
1929
  readonly context?: string | undefined;
1930
1930
  readonly tasks: readonly {
1931
1931
  readonly phases: readonly {
1932
- readonly status: "pending" | "in_progress" | "done" | "failed";
1932
+ readonly status: "failed" | "pending" | "in_progress" | "done";
1933
1933
  readonly id: string;
1934
1934
  readonly description: string;
1935
1935
  }[];
1936
- readonly status: "planning" | "pending" | "in_progress" | "done" | "failed" | "skipped";
1936
+ readonly status: "planning" | "failed" | "pending" | "in_progress" | "done" | "skipped";
1937
1937
  readonly attempts: number;
1938
1938
  readonly id: string;
1939
1939
  readonly description: string;
1940
1940
  readonly title: string;
1941
1941
  readonly criteria: readonly {
1942
- readonly status: "pending" | "failed" | "passed";
1942
+ readonly status: "failed" | "pending" | "passed";
1943
1943
  readonly id: string;
1944
1944
  readonly description: string;
1945
1945
  readonly failureReason?: string | undefined;
@@ -2382,8 +2382,8 @@ declare const decodeSignal: (u: unknown, overrideOptions?: effect_SchemaAST.Pars
2382
2382
  } | {
2383
2383
  readonly _tag: "LoopComplete";
2384
2384
  } | {
2385
- readonly _tag: "SessionNameDefined";
2386
2385
  readonly name: string;
2386
+ readonly _tag: "SessionNameDefined";
2387
2387
  } | {
2388
2388
  readonly _tag: "Learning";
2389
2389
  readonly content: string;
@@ -2449,8 +2449,8 @@ declare const decodeSignalSync: (u: unknown, overrideOptions?: effect_SchemaAST.
2449
2449
  } | {
2450
2450
  readonly _tag: "LoopComplete";
2451
2451
  } | {
2452
- readonly _tag: "SessionNameDefined";
2453
2452
  readonly name: string;
2453
+ readonly _tag: "SessionNameDefined";
2454
2454
  } | {
2455
2455
  readonly _tag: "Learning";
2456
2456
  readonly content: string;