Skip to content

Commit 02bdce6

Browse files
committed
update file structure and use barrel files
1 parent 55ae415 commit 02bdce6

18 files changed

+25
-14
lines changed

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hatchet-dev/pickaxe-cli",
3-
"version": "0.1.15",
3+
"version": "0.1.16",
44
"main": "dist/index.js",
55
"bin": {
66
"pickaxe": "./dist/index.js"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './{{kebabCase name}}.agent';

cli/templates/deep-research/src/agents/deep-research/{{kebabCase name}}.agent.ts.hbs renamed to cli/templates/deep-research/src/agents/{{kebabCase name}}.agent.ts.hbs

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
import { search } from "@/agents/deep-research/tools/search.tool";
2-
import { planSearch, PlanSearchOutput } from "@/agents/deep-research/tools/plan-search.tool";
3-
import { websiteToMd } from "@/agents/deep-research/tools/website-to-md.tool";
4-
import { summarize } from "@/agents/deep-research/tools/summarize.tool";
5-
import { judgeResults } from "@/agents/deep-research/tools/judge-results.tool";
6-
import { extractFacts } from "@/agents/deep-research/tools/extract-facts.tool";
7-
import { judgeFacts, JudgeFactsOutput } from "@/agents/deep-research/tools/judge-facts.tool";
1+
import {
2+
search,
3+
planSearch,
4+
PlanSearchOutput,
5+
websiteToMd,
6+
summarize,
7+
judgeResults,
8+
extractFacts,
9+
judgeFacts,
10+
JudgeFactsOutput
11+
} from "@/tools";
812
import { z } from "zod";
913
import { pickaxe } from "@/pickaxe-client";
1014

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from './agents';
2+
export * from './tools';

cli/templates/deep-research/src/agents/deep-research/tools/extract-facts.tool.ts.hbs renamed to cli/templates/deep-research/src/tools/extract-facts.tool.ts.hbs

File renamed without changes.

cli/templates/deep-research/src/agents/deep-research/tools/index.ts.hbs renamed to cli/templates/deep-research/src/tools/index.ts.hbs

File renamed without changes.

cli/templates/deep-research/src/agents/deep-research/tools/judge-facts.tool.ts.hbs renamed to cli/templates/deep-research/src/tools/judge-facts.tool.ts.hbs

File renamed without changes.

cli/templates/deep-research/src/agents/deep-research/tools/judge-results.tool.ts.hbs renamed to cli/templates/deep-research/src/tools/judge-results.tool.ts.hbs

File renamed without changes.

cli/templates/deep-research/src/agents/deep-research/tools/plan-search.tool.ts.hbs renamed to cli/templates/deep-research/src/tools/plan-search.tool.ts.hbs

File renamed without changes.

cli/templates/deep-research/src/agents/deep-research/tools/search.tool.ts.hbs renamed to cli/templates/deep-research/src/tools/search.tool.ts.hbs

File renamed without changes.

0 commit comments

Comments
 (0)