@robota-sdk/agent-session 3.0.0-beta.100
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 +1774 -0
- package/LICENSE +661 -0
- package/README.md +297 -0
- package/dist/node/index.cjs +10 -0
- package/dist/node/index.d.cts +1728 -0
- package/dist/node/index.d.cts.map +1 -0
- package/dist/node/index.d.ts +1728 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/index.js +11 -0
- package/dist/node/index.js.map +1 -0
- package/package.json +109 -0
package/package.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@robota-sdk/agent-session",
|
|
3
|
+
"version": "3.0.0-beta.100",
|
|
4
|
+
"description": "Session for the Robota SDK: permission-gated tool execution, hooks, context tracking, compaction and persistence",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/node/index.js",
|
|
7
|
+
"types": "dist/node/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"source": "./src/index.ts",
|
|
11
|
+
"node": {
|
|
12
|
+
"import": {
|
|
13
|
+
"types": "./dist/node/index.d.ts",
|
|
14
|
+
"default": "./dist/node/index.js"
|
|
15
|
+
},
|
|
16
|
+
"require": {
|
|
17
|
+
"types": "./dist/node/index.d.cts",
|
|
18
|
+
"default": "./dist/node/index.cjs"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"default": {
|
|
22
|
+
"import": {
|
|
23
|
+
"types": "./dist/node/index.d.ts",
|
|
24
|
+
"default": "./dist/node/index.js"
|
|
25
|
+
},
|
|
26
|
+
"require": {
|
|
27
|
+
"types": "./dist/node/index.d.cts",
|
|
28
|
+
"default": "./dist/node/index.cjs"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"./package.json": "./package.json"
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist",
|
|
36
|
+
"README.md",
|
|
37
|
+
"CHANGELOG.md"
|
|
38
|
+
],
|
|
39
|
+
"keywords": [
|
|
40
|
+
"ai",
|
|
41
|
+
"agent",
|
|
42
|
+
"llm",
|
|
43
|
+
"session-management",
|
|
44
|
+
"multi-session",
|
|
45
|
+
"chat-management",
|
|
46
|
+
"chat-switching",
|
|
47
|
+
"conversation-history",
|
|
48
|
+
"session-lifecycle",
|
|
49
|
+
"memory-optimization",
|
|
50
|
+
"configuration-management",
|
|
51
|
+
"runtime-configuration",
|
|
52
|
+
"typescript",
|
|
53
|
+
"robota",
|
|
54
|
+
"sdk",
|
|
55
|
+
"openai",
|
|
56
|
+
"anthropic",
|
|
57
|
+
"google-ai",
|
|
58
|
+
"ai-integration"
|
|
59
|
+
],
|
|
60
|
+
"author": "Robota SDK Team",
|
|
61
|
+
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
62
|
+
"engines": {
|
|
63
|
+
"node": ">=22.12.0"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"@robota-sdk/agent-core": "3.0.0-beta.100",
|
|
67
|
+
"@robota-sdk/agent-file-authority": "3.0.0-beta.100",
|
|
68
|
+
"@robota-sdk/agent-interface-execution": "3.0.0-beta.100",
|
|
69
|
+
"@robota-sdk/agent-interface-session": "3.0.0-beta.100"
|
|
70
|
+
},
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"eslint": "^8.57.1",
|
|
73
|
+
"rimraf": "^5.0.10",
|
|
74
|
+
"tsdown": "^0.22.14",
|
|
75
|
+
"typescript": "^6.0.3",
|
|
76
|
+
"vitest": "^3.2.6"
|
|
77
|
+
},
|
|
78
|
+
"publishConfig": {
|
|
79
|
+
"access": "public",
|
|
80
|
+
"registry": "https://registry.npmjs.org/"
|
|
81
|
+
},
|
|
82
|
+
"volta": {
|
|
83
|
+
"extends": "../../package.json"
|
|
84
|
+
},
|
|
85
|
+
"repository": {
|
|
86
|
+
"type": "git",
|
|
87
|
+
"url": "https://github.com/woojubb/robota"
|
|
88
|
+
},
|
|
89
|
+
"bugs": {
|
|
90
|
+
"url": "https://github.com/woojubb/robota/issues"
|
|
91
|
+
},
|
|
92
|
+
"homepage": "https://robota.io/",
|
|
93
|
+
"scripts": {
|
|
94
|
+
"build": "rimraf dist && tsdown",
|
|
95
|
+
"build:js": "pnpm run build",
|
|
96
|
+
"build:types": "pnpm run build",
|
|
97
|
+
"build:check": "pnpm run typecheck && pnpm run build",
|
|
98
|
+
"dev": "tsdown --watch",
|
|
99
|
+
"clean": "rimraf dist && rimraf tsconfig.tsbuildinfo",
|
|
100
|
+
"test": "vitest run --passWithNoTests",
|
|
101
|
+
"test:watch": "vitest",
|
|
102
|
+
"test:coverage": "vitest run --coverage",
|
|
103
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
104
|
+
"typecheck": "tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.examples.json --noEmit",
|
|
105
|
+
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
106
|
+
"scenario:verify": "pnpm run scenario:verify:external-payload-replay && pnpm exec tsx --conditions=source examples/verify-offline.ts && pnpm exec tsx --conditions=source examples/verify-session-record-field-preservation.ts && pnpm exec tsx --conditions=source examples/verify-compaction-contract.ts && pnpm exec tsx --conditions=source examples/verify-hook-outcome-contract.ts",
|
|
107
|
+
"scenario:verify:external-payload-replay": "pnpm exec tsx --conditions=source examples/verify-external-payload-replay.ts"
|
|
108
|
+
}
|
|
109
|
+
}
|