File size: 1,827 Bytes
63ed3a7
87e57a0
63ed3a7
3380376
63ed3a7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3380376
 
 
63ed3a7
 
 
 
3380376
63ed3a7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3380376
 
63ed3a7
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
  "name": "@robothub/inference-server-client",
  "version": "1.0.0",
  "description": "TypeScript client for RobotHub Inference Server - ACT model inference and session management",
  "module": "dist/index.js",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "type": "module",
  "private": true,
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    }
  },
  "files": [
    "dist",
    "src",
    "README.md"
  ],
  "scripts": {
    "build": "bun build ./src/index.ts --outdir ./dist --target bun --format esm --sourcemap && bunx tsc --emitDeclarationOnly --declaration --outDir ./dist/temp && cp -r ./dist/temp/src/* ./dist/ && rm -rf ./dist/temp",
    "dev": "bun --watch src/index.ts",
    "test": "bun test",
    "typecheck": "bunx tsc --noEmit",
    "clean": "rm -rf dist src/*",
    "export-openapi": "cd .. && uv run --active python src/inference_server/export_openapi.py --output client/openapi.json",
    "generate-client": "bunx @hey-api/openapi-ts -i openapi.json -o src -c @hey-api/client-fetch",
    "generate": "bun run export-openapi && bun run generate-client",
    "prebuild": "bun run clean && bun run generate"
  },
  "keywords": [
    "robothub",
    "inference-server",
    "act",
    "robotics",
    "inference",
    "typescript",
    "client"
  ],
  "author": "Julien Blanchon",
  "license": "Apache-2.0",
  "dependencies": {
    "@hey-api/client-fetch": "^0.2.4"
  },
  "devDependencies": {
    "@hey-api/openapi-ts": "^0.53.12",
    "@types/bun": "latest",
    "typescript": "^5.8.3"
  },
  "peerDependencies": {
    "typescript": "^5"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/julien-blanchon/RobotHub-InferenceServer/#main:client/",
    "directory": "client"
  },
  "engines": {
    "bun": ">=1.0.0"
  }
}