@celestoai/sdk 0.1.0 → 0.1.1
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/README.md +68 -22
- package/dist/chunk-4KVRJSVJ.js +177 -0
- package/dist/chunk-4KVRJSVJ.js.map +1 -0
- package/dist/chunk-N3HU6ONW.js +148 -0
- package/dist/chunk-N3HU6ONW.js.map +1 -0
- package/dist/chunk-OGMV3NFZ.js +164 -0
- package/dist/chunk-OGMV3NFZ.js.map +1 -0
- package/dist/computers/index.cjs +325 -0
- package/dist/computers/index.cjs.map +1 -0
- package/dist/computers/index.d.cts +107 -0
- package/dist/computers/index.d.ts +107 -0
- package/dist/computers/index.js +8 -0
- package/dist/computers/index.js.map +1 -0
- package/dist/config-BTTpuv_b.d.cts +25 -0
- package/dist/config-BTTpuv_b.d.ts +25 -0
- package/dist/gatekeeper/index.cjs +338 -0
- package/dist/gatekeeper/index.cjs.map +1 -0
- package/dist/gatekeeper/index.d.cts +104 -0
- package/dist/gatekeeper/index.d.ts +104 -0
- package/dist/gatekeeper/index.js +8 -0
- package/dist/gatekeeper/index.js.map +1 -0
- package/dist/index.cjs +511 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +31 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/package.json +11 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { ComputersClient } from \"./computers\";\nimport { GatekeeperClient } from \"./gatekeeper\";\nimport type { ClientConfig } from \"./core/config\";\n\nexport { GatekeeperClient } from \"./gatekeeper\";\nexport type {\n GatekeeperAccessRules,\n GatekeeperAccessRulesParams,\n GatekeeperAccessRulesUpdate,\n GatekeeperConnectRequest,\n GatekeeperConnectResponse,\n GatekeeperConnection,\n GatekeeperDriveFile,\n GatekeeperDriveListParams,\n GatekeeperDriveListResponse,\n GatekeeperListConnectionsParams,\n GatekeeperListConnectionsResponse,\n GatekeeperRevokeParams,\n GatekeeperRevokeResponse,\n} from \"./gatekeeper\";\nexport { ComputersClient } from \"./computers\";\nexport type {\n ComputerConnectionInfo,\n ComputerExecResponse,\n ComputerInfo,\n ComputerListResponse,\n ComputerStatus,\n CreateComputerParams,\n ExecParams,\n TerminalConnectionInfo,\n} from \"./computers\";\nexport type { ClientConfig, RequestOverrides } from \"./core/config\";\nexport { CelestoError, CelestoApiError, CelestoNetworkError } from \"./core/errors\";\n\nexport class Celesto {\n readonly gatekeeper: GatekeeperClient;\n readonly computers: ComputersClient;\n\n constructor(config: ClientConfig) {\n this.gatekeeper = new GatekeeperClient(config);\n this.computers = new ComputersClient(config);\n }\n}\n"],"mappings":";;;;;;;;;;;;;AAkCO,IAAM,UAAN,MAAc;AAAA,EAInB,YAAY,QAAsB;AAChC,SAAK,aAAa,IAAI,iBAAiB,MAAM;AAC7C,SAAK,YAAY,IAAI,gBAAgB,MAAM;AAAA,EAC7C;AACF;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celestoai/sdk",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Celesto SDK
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Celesto SDK — Gatekeeper and Computers clients for Node.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.cjs",
|
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
"types": "./dist/gatekeeper/index.d.ts",
|
|
18
18
|
"import": "./dist/gatekeeper/index.js",
|
|
19
19
|
"require": "./dist/gatekeeper/index.cjs"
|
|
20
|
+
},
|
|
21
|
+
"./computers": {
|
|
22
|
+
"types": "./dist/computers/index.d.ts",
|
|
23
|
+
"import": "./dist/computers/index.js",
|
|
24
|
+
"require": "./dist/computers/index.cjs"
|
|
20
25
|
}
|
|
21
26
|
},
|
|
22
27
|
"files": [
|
|
@@ -32,10 +37,13 @@
|
|
|
32
37
|
"scripts": {
|
|
33
38
|
"build": "tsup",
|
|
34
39
|
"dev": "tsup --watch",
|
|
35
|
-
"lint": "tsc -p tsconfig.json --noEmit"
|
|
40
|
+
"lint": "tsc -p tsconfig.json --noEmit",
|
|
41
|
+
"test": "tsx --test tests/computers.test.ts"
|
|
36
42
|
},
|
|
37
43
|
"devDependencies": {
|
|
44
|
+
"@types/node": "^20.14.0",
|
|
38
45
|
"tsup": "^8.0.2",
|
|
46
|
+
"tsx": "^4.19.0",
|
|
39
47
|
"typescript": "^5.5.4"
|
|
40
48
|
}
|
|
41
49
|
}
|