@easbot/types 0.1.14 → 0.2.0
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/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/package.json +19 -17
package/dist/index.d.cts
CHANGED
|
@@ -584,11 +584,13 @@ interface SubAgentInput {
|
|
|
584
584
|
source: string;
|
|
585
585
|
title: string;
|
|
586
586
|
agent: string;
|
|
587
|
+
sessionId?: string;
|
|
587
588
|
model?: SubAgentModel;
|
|
588
589
|
parts?: AgentPromptPart[];
|
|
589
590
|
system?: string;
|
|
590
591
|
tools?: Record<string, boolean>;
|
|
591
592
|
syncMessages?: boolean;
|
|
593
|
+
config?: Partial<SubAgentConfig>;
|
|
592
594
|
}
|
|
593
595
|
interface SubAgentResult {
|
|
594
596
|
title: string;
|
|
@@ -963,6 +965,7 @@ interface NoteKnowledgeConfigWithModels extends NoteKnowledgeConfig {
|
|
|
963
965
|
interface CodebaseKnowledgeConfig extends BaseKnowledgeConfig {
|
|
964
966
|
parser: ParserConfig;
|
|
965
967
|
embedding: EmbeddingConfig;
|
|
968
|
+
sync?: SyncConfig;
|
|
966
969
|
}
|
|
967
970
|
interface CodebaseKnowledgeConfigWithModels extends CodebaseKnowledgeConfig {
|
|
968
971
|
embeddingLlm: EmbeddingModel;
|
package/dist/index.d.ts
CHANGED
|
@@ -584,11 +584,13 @@ interface SubAgentInput {
|
|
|
584
584
|
source: string;
|
|
585
585
|
title: string;
|
|
586
586
|
agent: string;
|
|
587
|
+
sessionId?: string;
|
|
587
588
|
model?: SubAgentModel;
|
|
588
589
|
parts?: AgentPromptPart[];
|
|
589
590
|
system?: string;
|
|
590
591
|
tools?: Record<string, boolean>;
|
|
591
592
|
syncMessages?: boolean;
|
|
593
|
+
config?: Partial<SubAgentConfig>;
|
|
592
594
|
}
|
|
593
595
|
interface SubAgentResult {
|
|
594
596
|
title: string;
|
|
@@ -963,6 +965,7 @@ interface NoteKnowledgeConfigWithModels extends NoteKnowledgeConfig {
|
|
|
963
965
|
interface CodebaseKnowledgeConfig extends BaseKnowledgeConfig {
|
|
964
966
|
parser: ParserConfig;
|
|
965
967
|
embedding: EmbeddingConfig;
|
|
968
|
+
sync?: SyncConfig;
|
|
966
969
|
}
|
|
967
970
|
interface CodebaseKnowledgeConfigWithModels extends CodebaseKnowledgeConfig {
|
|
968
971
|
embeddingLlm: EmbeddingModel;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easbot/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Shared types library for EASBOT ecosystem",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -14,6 +14,23 @@
|
|
|
14
14
|
},
|
|
15
15
|
"./package.json": "./package.json"
|
|
16
16
|
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"dev": "tsup --watch --env.NODE_ENV development",
|
|
19
|
+
"build": "tsup --env.NODE_ENV production",
|
|
20
|
+
"test": "vitest",
|
|
21
|
+
"test:run": "vitest run",
|
|
22
|
+
"lint": "biome check .",
|
|
23
|
+
"lint:fix": "biome check --write .",
|
|
24
|
+
"lint:report": "biome check --reporter=summary .",
|
|
25
|
+
"format": "biome format .",
|
|
26
|
+
"format:fix": "biome format --write .",
|
|
27
|
+
"type-check": "tsc --noEmit",
|
|
28
|
+
"clean": "npx rimraf dist node_modules",
|
|
29
|
+
"prepare": "echo norun",
|
|
30
|
+
"prepublishOnly": "pnpm build",
|
|
31
|
+
"publish:npm": "bash scripts/publish.sh",
|
|
32
|
+
"publish:npm:win": "powershell -ExecutionPolicy Bypass -File scripts/publish.ps1"
|
|
33
|
+
},
|
|
17
34
|
"keywords": [
|
|
18
35
|
"ai",
|
|
19
36
|
"agent",
|
|
@@ -59,20 +76,5 @@
|
|
|
59
76
|
},
|
|
60
77
|
"publishConfig": {
|
|
61
78
|
"access": "public"
|
|
62
|
-
},
|
|
63
|
-
"scripts": {
|
|
64
|
-
"dev": "tsup --watch --env.NODE_ENV development",
|
|
65
|
-
"build": "tsup --env.NODE_ENV production",
|
|
66
|
-
"test": "vitest",
|
|
67
|
-
"test:run": "vitest run",
|
|
68
|
-
"lint": "biome check .",
|
|
69
|
-
"lint:fix": "biome check --write .",
|
|
70
|
-
"lint:report": "biome check --reporter=summary .",
|
|
71
|
-
"format": "biome format .",
|
|
72
|
-
"format:fix": "biome format --write .",
|
|
73
|
-
"type-check": "tsc --noEmit",
|
|
74
|
-
"clean": "npx rimraf dist node_modules",
|
|
75
|
-
"publish:npm": "bash scripts/publish.sh",
|
|
76
|
-
"publish:npm:win": "powershell -ExecutionPolicy Bypass -File scripts/publish.ps1"
|
|
77
79
|
}
|
|
78
|
-
}
|
|
80
|
+
}
|