@tencent-ai/cloud-agent-sdk 0.1.1 → 0.1.5

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/package.json CHANGED
@@ -1,27 +1,30 @@
1
1
  {
2
2
  "name": "@tencent-ai/cloud-agent-sdk",
3
3
  "private": false,
4
- "version": "0.1.1",
4
+ "version": "0.1.5",
5
5
  "description": "Cloud Agent SDK",
6
- "main": "./dist/index.js",
6
+ "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.mjs",
8
- "types": "./dist/index.d.ts",
8
+ "types": "./dist/index.d.mts",
9
9
  "exports": {
10
10
  ".": {
11
- "types": "./dist/index.d.ts",
12
- "import": "./dist/index.mjs",
13
- "require": "./dist/index.js"
11
+ "import": {
12
+ "types": "./dist/index.d.mts",
13
+ "default": "./dist/index.mjs"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
14
19
  }
15
20
  },
16
21
  "files": [
17
22
  "dist"
18
23
  ],
19
24
  "scripts": {},
20
- "dependencies": {
21
- "@genie/agent-provider": "0.0.0"
22
- },
25
+ "dependencies": {},
23
26
  "devDependencies": {
24
- "esbuild": "^0.20.0",
27
+ "tsdown": "^0.20.1",
25
28
  "typescript": "^5.3.0"
26
29
  },
27
30
  "publishConfig": {
package/dist/index.d.ts DELETED
@@ -1,13 +0,0 @@
1
- /**
2
- * @genie/cloud-agent-sdk
3
- *
4
- * Cloud Agent SDK - re-exports CloudAgentProvider related APIs from @genie/agent-provider
5
- */
6
- export { CloudAgentConnection, CloudAgentProvider, E2BFilesystem } from '@genie/agent-provider';
7
- export type { CloudAgentProviderOptions } from '@genie/agent-provider';
8
- export { AgentClient, ActiveSessionImpl, SessionManager, isCloudAgentState } from '@genie/agent-provider';
9
- export type { AgentState, BaseAgentState, CloudAgentState, AgentStateType, CloudAgentVisibility, CloudAgentSourceInfo, CloudAgentTarget, SessionInfo, ActiveSession, SessionAgentOperations, CreateSessionParams as ClientCreateSessionParams, LoadSessionParams as ClientLoadSessionParams, AgentClientOptions, ClientSessionsResource, PromptsResource, ArtifactsResource, SessionEvents, SessionEventHandler, AgentProvider, ListAgentOptions, ListAgentFilter, ListAgentSort, ApiPromptResponse, Logger } from '@genie/agent-provider';
10
- export type { AgentTransport, AgentStatus, AgentCapabilities, AgentInfo, SessionMode, Session, CreateSessionParams, LoadSessionParams, McpServerConfig, PromptContentBlock, PromptParams, ConnectionEvents, AgentConnection, BaseConnectionConfig, CloudConnectionConfig, FilesResource, FilesystemProvider, E2BSandboxConnectionInfo, FilesystemRequestOpts, FilesystemListOpts, WatchOpts, WriteEntry, EntryInfo, Filesystem } from '@genie/agent-provider';
11
- export type { Account, Edition, EditionDisplayType, AccountPlan, DeployStatus, CommodityCode, ModelInfo, ReasoningConfig, GetModelsRequest, GetModelsResponse, IBackendProvider, BackendProviderConfig } from '@genie/agent-provider';
12
- export { BackendProvider, createBackendProvider, IPCBackendProvider, createIPCBackendProvider } from '@genie/agent-provider';
13
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EACH,oBAAoB,EACpB,kBAAkB,EAClB,aAAa,EAChB,MAAM,uBAAuB,CAAC;AAE/B,YAAY,EACR,yBAAyB,EAC5B,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EACH,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAE/B,YAAY,EACR,UAAU,EACV,cAAc,EACd,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,sBAAsB,EACtB,mBAAmB,IAAI,yBAAyB,EAChD,iBAAiB,IAAI,uBAAuB,EAC5C,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,MAAM,EACT,MAAM,uBAAuB,CAAC;AAM/B,YAAY,EACR,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,OAAO,EACP,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EAErB,aAAa,EACb,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,kBAAkB,EAClB,SAAS,EACT,UAAU,EACV,SAAS,EACT,UAAU,EACb,MAAM,uBAAuB,CAAC;AAM/B,YAAY,EACR,OAAO,EACP,OAAO,EACP,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACxB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACH,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,wBAAwB,EAC3B,MAAM,uBAAuB,CAAC"}
package/dist/index.js DELETED
@@ -1,15 +0,0 @@
1
- /**
2
- * @genie/cloud-agent-sdk
3
- *
4
- * Cloud Agent SDK - re-exports CloudAgentProvider related APIs from @genie/agent-provider
5
- */
6
- // ============================================
7
- // Provider 层
8
- // ============================================
9
- export { CloudAgentConnection, CloudAgentProvider, E2BFilesystem } from '@genie/agent-provider';
10
- // ============================================
11
- // Client 层(高层 API)
12
- // ============================================
13
- export { AgentClient, ActiveSessionImpl, SessionManager, isCloudAgentState } from '@genie/agent-provider';
14
- export { BackendProvider, createBackendProvider, IPCBackendProvider, createIPCBackendProvider } from '@genie/agent-provider';
15
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,+CAA+C;AAC/C,aAAa;AACb,+CAA+C;AAE/C,OAAO,EACH,oBAAoB,EACpB,kBAAkB,EAClB,aAAa,EAChB,MAAM,uBAAuB,CAAC;AAM/B,+CAA+C;AAC/C,mBAAmB;AACnB,+CAA+C;AAE/C,OAAO,EACH,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAgF/B,OAAO,EACH,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,wBAAwB,EAC3B,MAAM,uBAAuB,CAAC"}