@aigne/afs 1.4.0-beta.2 → 1.4.0-beta.4
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 +14 -0
- package/lib/cjs/type.d.ts +17 -4
- package/lib/dts/type.d.ts +17 -4
- package/lib/esm/type.d.ts +17 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.4.0-beta.4](https://github.com/AIGNE-io/aigne-framework/compare/afs-v1.4.0-beta.3...afs-v1.4.0-beta.4) (2025-12-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **core:** add session history support ([#858](https://github.com/AIGNE-io/aigne-framework/issues/858)) ([28a070e](https://github.com/AIGNE-io/aigne-framework/commit/28a070ed33b821d1fd344b899706d817ca992b9f))
|
|
9
|
+
|
|
10
|
+
## [1.4.0-beta.3](https://github.com/AIGNE-io/aigne-framework/compare/afs-v1.4.0-beta.2...afs-v1.4.0-beta.3) (2025-12-24)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add Agent Skill support ([#787](https://github.com/AIGNE-io/aigne-framework/issues/787)) ([f04fbe7](https://github.com/AIGNE-io/aigne-framework/commit/f04fbe76ec24cf3c59c74adf92d87b0c3784a8f7))
|
|
16
|
+
|
|
3
17
|
## [1.4.0-beta.2](https://github.com/AIGNE-io/aigne-framework/compare/afs-v1.4.0-beta.1...afs-v1.4.0-beta.2) (2025-12-19)
|
|
4
18
|
|
|
5
19
|
|
package/lib/cjs/type.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { Emitter } from "strict-event-emitter";
|
|
|
2
2
|
import { type ZodType } from "zod";
|
|
3
3
|
export interface AFSListOptions {
|
|
4
4
|
filter?: {
|
|
5
|
+
agentId?: string;
|
|
5
6
|
userId?: string;
|
|
6
7
|
sessionId?: string;
|
|
7
8
|
};
|
|
@@ -15,6 +16,11 @@ export interface AFSListOptions {
|
|
|
15
16
|
* @default false
|
|
16
17
|
*/
|
|
17
18
|
disableGitignore?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Glob pattern to filter entries by path.
|
|
21
|
+
* Examples: "*.ts", "**\/*.js", "src/**\/*.{ts,tsx}"
|
|
22
|
+
*/
|
|
23
|
+
pattern?: string;
|
|
18
24
|
context?: any;
|
|
19
25
|
}
|
|
20
26
|
export interface AFSListResult {
|
|
@@ -82,10 +88,16 @@ export interface AFSModule {
|
|
|
82
88
|
exec?(path: string, args: Record<string, any>, options: AFSExecOptions): Promise<AFSExecResult>;
|
|
83
89
|
}
|
|
84
90
|
export type AFSRootEvents = {
|
|
85
|
-
agentSucceed: [
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
91
|
+
agentSucceed: [
|
|
92
|
+
{
|
|
93
|
+
agentId?: string;
|
|
94
|
+
userId?: string;
|
|
95
|
+
sessionId?: string;
|
|
96
|
+
input: object;
|
|
97
|
+
output: object;
|
|
98
|
+
messages?: object[];
|
|
99
|
+
}
|
|
100
|
+
];
|
|
89
101
|
historyCreated: [{
|
|
90
102
|
entry: AFSEntry;
|
|
91
103
|
}];
|
|
@@ -121,6 +133,7 @@ export interface AFSEntry<T = any> {
|
|
|
121
133
|
createdAt?: Date;
|
|
122
134
|
updatedAt?: Date;
|
|
123
135
|
path: string;
|
|
136
|
+
agentId?: string | null;
|
|
124
137
|
userId?: string | null;
|
|
125
138
|
sessionId?: string | null;
|
|
126
139
|
summary?: string | null;
|
package/lib/dts/type.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { Emitter } from "strict-event-emitter";
|
|
|
2
2
|
import { type ZodType } from "zod";
|
|
3
3
|
export interface AFSListOptions {
|
|
4
4
|
filter?: {
|
|
5
|
+
agentId?: string;
|
|
5
6
|
userId?: string;
|
|
6
7
|
sessionId?: string;
|
|
7
8
|
};
|
|
@@ -15,6 +16,11 @@ export interface AFSListOptions {
|
|
|
15
16
|
* @default false
|
|
16
17
|
*/
|
|
17
18
|
disableGitignore?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Glob pattern to filter entries by path.
|
|
21
|
+
* Examples: "*.ts", "**\/*.js", "src/**\/*.{ts,tsx}"
|
|
22
|
+
*/
|
|
23
|
+
pattern?: string;
|
|
18
24
|
context?: any;
|
|
19
25
|
}
|
|
20
26
|
export interface AFSListResult {
|
|
@@ -82,10 +88,16 @@ export interface AFSModule {
|
|
|
82
88
|
exec?(path: string, args: Record<string, any>, options: AFSExecOptions): Promise<AFSExecResult>;
|
|
83
89
|
}
|
|
84
90
|
export type AFSRootEvents = {
|
|
85
|
-
agentSucceed: [
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
91
|
+
agentSucceed: [
|
|
92
|
+
{
|
|
93
|
+
agentId?: string;
|
|
94
|
+
userId?: string;
|
|
95
|
+
sessionId?: string;
|
|
96
|
+
input: object;
|
|
97
|
+
output: object;
|
|
98
|
+
messages?: object[];
|
|
99
|
+
}
|
|
100
|
+
];
|
|
89
101
|
historyCreated: [{
|
|
90
102
|
entry: AFSEntry;
|
|
91
103
|
}];
|
|
@@ -121,6 +133,7 @@ export interface AFSEntry<T = any> {
|
|
|
121
133
|
createdAt?: Date;
|
|
122
134
|
updatedAt?: Date;
|
|
123
135
|
path: string;
|
|
136
|
+
agentId?: string | null;
|
|
124
137
|
userId?: string | null;
|
|
125
138
|
sessionId?: string | null;
|
|
126
139
|
summary?: string | null;
|
package/lib/esm/type.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { Emitter } from "strict-event-emitter";
|
|
|
2
2
|
import { type ZodType } from "zod";
|
|
3
3
|
export interface AFSListOptions {
|
|
4
4
|
filter?: {
|
|
5
|
+
agentId?: string;
|
|
5
6
|
userId?: string;
|
|
6
7
|
sessionId?: string;
|
|
7
8
|
};
|
|
@@ -15,6 +16,11 @@ export interface AFSListOptions {
|
|
|
15
16
|
* @default false
|
|
16
17
|
*/
|
|
17
18
|
disableGitignore?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Glob pattern to filter entries by path.
|
|
21
|
+
* Examples: "*.ts", "**\/*.js", "src/**\/*.{ts,tsx}"
|
|
22
|
+
*/
|
|
23
|
+
pattern?: string;
|
|
18
24
|
context?: any;
|
|
19
25
|
}
|
|
20
26
|
export interface AFSListResult {
|
|
@@ -82,10 +88,16 @@ export interface AFSModule {
|
|
|
82
88
|
exec?(path: string, args: Record<string, any>, options: AFSExecOptions): Promise<AFSExecResult>;
|
|
83
89
|
}
|
|
84
90
|
export type AFSRootEvents = {
|
|
85
|
-
agentSucceed: [
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
91
|
+
agentSucceed: [
|
|
92
|
+
{
|
|
93
|
+
agentId?: string;
|
|
94
|
+
userId?: string;
|
|
95
|
+
sessionId?: string;
|
|
96
|
+
input: object;
|
|
97
|
+
output: object;
|
|
98
|
+
messages?: object[];
|
|
99
|
+
}
|
|
100
|
+
];
|
|
89
101
|
historyCreated: [{
|
|
90
102
|
entry: AFSEntry;
|
|
91
103
|
}];
|
|
@@ -121,6 +133,7 @@ export interface AFSEntry<T = any> {
|
|
|
121
133
|
createdAt?: Date;
|
|
122
134
|
updatedAt?: Date;
|
|
123
135
|
path: string;
|
|
136
|
+
agentId?: string | null;
|
|
124
137
|
userId?: string | null;
|
|
125
138
|
sessionId?: string | null;
|
|
126
139
|
summary?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/afs",
|
|
3
|
-
"version": "1.4.0-beta.
|
|
3
|
+
"version": "1.4.0-beta.4",
|
|
4
4
|
"description": "Agentic File System (AFS) is a virtual file system that supports various storage backends and provides a unified API for file operations.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|