@linxiraos/pi-agent-core 1.1.12 → 1.1.13
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/CHANGELOG.md +4 -0
- package/package.json +13 -10
- package/src/types.ts +5 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@linxiraos/pi-agent-core",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.13",
|
|
5
5
|
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
|
|
6
6
|
"homepage": "https://linxira-os.github.io/zeta/",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -27,21 +27,24 @@
|
|
|
27
27
|
"main": "./src/index.ts",
|
|
28
28
|
"types": "./dist/types/index.d.ts",
|
|
29
29
|
"scripts": {
|
|
30
|
-
"check": "
|
|
30
|
+
"check": "oxlint . && oxfmt --check --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '{test,bench,examples,scripts}/**/*.ts' '*.ts' && bun run check:types",
|
|
31
31
|
"check:types": "tsgo -p tsconfig.json --noEmit",
|
|
32
|
-
"
|
|
32
|
+
"lint": "oxlint .",
|
|
33
|
+
"test": "bun test --parallel",
|
|
34
|
+
"fix": "oxlint --fix --fix-suggestions . && bun run fmt",
|
|
35
|
+
"fmt": "oxfmt --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '{test,bench,examples,scripts}/**/*.ts' '*.ts'"
|
|
33
36
|
},
|
|
34
37
|
"dependencies": {
|
|
35
|
-
"@linxiraos/pi-ai": "1.1.
|
|
36
|
-
"@linxiraos/pi-catalog": "1.1.
|
|
37
|
-
"@linxiraos/pi-natives": "1.1.
|
|
38
|
-
"@linxiraos/pi-utils": "1.1.
|
|
39
|
-
"@linxiraos/pi-wire": "1.1.
|
|
40
|
-
"@linxiraos/pi-snapcompact": "1.1.
|
|
38
|
+
"@linxiraos/pi-ai": "1.1.13",
|
|
39
|
+
"@linxiraos/pi-catalog": "1.1.13",
|
|
40
|
+
"@linxiraos/pi-natives": "1.1.13",
|
|
41
|
+
"@linxiraos/pi-utils": "1.1.13",
|
|
42
|
+
"@linxiraos/pi-wire": "1.1.13",
|
|
43
|
+
"@linxiraos/pi-snapcompact": "1.1.13",
|
|
41
44
|
"@opentelemetry/api": "^1.9.1"
|
|
42
45
|
},
|
|
43
46
|
"devDependencies": {
|
|
44
|
-
"@linxiraos/pi-omptype": "1.1.
|
|
47
|
+
"@linxiraos/pi-omptype": "1.1.13",
|
|
45
48
|
"@opentelemetry/context-async-hooks": "^2.9.0",
|
|
46
49
|
"@opentelemetry/sdk-trace-base": "^2.9.0",
|
|
47
50
|
"@types/bun": "^1.3.14"
|
package/src/types.ts
CHANGED
|
@@ -780,8 +780,11 @@ export interface AgentToolArgStreamInit {
|
|
|
780
780
|
}
|
|
781
781
|
|
|
782
782
|
// AgentTool extends Tool but adds the execute function
|
|
783
|
-
export interface AgentTool<
|
|
784
|
-
extends
|
|
783
|
+
export interface AgentTool<
|
|
784
|
+
TParameters extends TSchema = TSchema,
|
|
785
|
+
TDetails = any,
|
|
786
|
+
TTheme = unknown,
|
|
787
|
+
> extends Tool<TParameters> {
|
|
785
788
|
// A human-readable label for the tool to be displayed in UI
|
|
786
789
|
label: string;
|
|
787
790
|
/**
|