@sylphx/sdk 0.27.0 → 0.30.0

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.
Files changed (101) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +30 -73
  3. package/dist/access.d.ts +659 -0
  4. package/dist/access.js +638 -0
  5. package/dist/access.js.map +1 -0
  6. package/dist/ai.d.ts +176 -0
  7. package/dist/ai.js +112 -0
  8. package/dist/ai.js.map +1 -0
  9. package/dist/artifacts.d.ts +165 -0
  10. package/dist/artifacts.js +129 -0
  11. package/dist/artifacts.js.map +1 -0
  12. package/dist/auth.d.ts +896 -0
  13. package/dist/auth.js +828 -0
  14. package/dist/auth.js.map +1 -0
  15. package/dist/billing.d.ts +758 -0
  16. package/dist/billing.js +553 -0
  17. package/dist/billing.js.map +1 -0
  18. package/dist/broker.d.ts +226 -0
  19. package/dist/broker.js +187 -0
  20. package/dist/broker.js.map +1 -0
  21. package/dist/build.d.ts +313 -0
  22. package/dist/build.js +271 -0
  23. package/dist/build.js.map +1 -0
  24. package/dist/common.d.ts +162 -0
  25. package/dist/common.js +41 -0
  26. package/dist/common.js.map +1 -0
  27. package/dist/config.d.ts +198 -0
  28. package/dist/config.js +168 -0
  29. package/dist/config.js.map +1 -0
  30. package/dist/connections.d.ts +354 -0
  31. package/dist/connections.js +313 -0
  32. package/dist/connections.js.map +1 -0
  33. package/dist/data.d.ts +858 -0
  34. package/dist/data.js +814 -0
  35. package/dist/data.js.map +1 -0
  36. package/dist/entitlement.d.ts +172 -0
  37. package/dist/entitlement.js +116 -0
  38. package/dist/entitlement.js.map +1 -0
  39. package/dist/events.d.ts +1324 -0
  40. package/dist/events.js +1227 -0
  41. package/dist/events.js.map +1 -0
  42. package/dist/hosting.d.ts +709 -0
  43. package/dist/hosting.js +611 -0
  44. package/dist/hosting.js.map +1 -0
  45. package/dist/index.d.ts +79 -11493
  46. package/dist/index.js +113 -0
  47. package/dist/index.js.map +1 -0
  48. package/dist/keys.d.ts +438 -0
  49. package/dist/keys.js +406 -0
  50. package/dist/keys.js.map +1 -0
  51. package/dist/methods.d.ts +2 -0
  52. package/dist/methods.js +3995 -0
  53. package/dist/methods.js.map +1 -0
  54. package/dist/network.d.ts +733 -0
  55. package/dist/network.js +711 -0
  56. package/dist/network.js.map +1 -0
  57. package/dist/notify.d.ts +1359 -0
  58. package/dist/notify.js +1282 -0
  59. package/dist/notify.js.map +1 -0
  60. package/dist/observability.d.ts +509 -0
  61. package/dist/observability.js +437 -0
  62. package/dist/observability.js.map +1 -0
  63. package/dist/release.d.ts +303 -0
  64. package/dist/release.js +214 -0
  65. package/dist/release.js.map +1 -0
  66. package/dist/runners.d.ts +262 -0
  67. package/dist/runners.js +238 -0
  68. package/dist/runners.js.map +1 -0
  69. package/dist/runtime.d.ts +88 -0
  70. package/dist/runtime.js +226 -0
  71. package/dist/runtime.js.map +1 -0
  72. package/dist/sandboxes.d.ts +1705 -0
  73. package/dist/sandboxes.js +1226 -0
  74. package/dist/sandboxes.js.map +1 -0
  75. package/dist/secrets.d.ts +508 -0
  76. package/dist/secrets.js +474 -0
  77. package/dist/secrets.js.map +1 -0
  78. package/dist/workflows.d.ts +678 -0
  79. package/dist/workflows.js +595 -0
  80. package/dist/workflows.js.map +1 -0
  81. package/package.json +33 -106
  82. package/dist/health/index.d.ts +0 -1394
  83. package/dist/health/index.mjs +0 -1394
  84. package/dist/health/index.mjs.map +0 -1
  85. package/dist/index.mjs +0 -10386
  86. package/dist/index.mjs.map +0 -1
  87. package/dist/nextjs/index.d.ts +0 -724
  88. package/dist/nextjs/index.mjs +0 -3329
  89. package/dist/nextjs/index.mjs.map +0 -1
  90. package/dist/react/index.d.ts +0 -14168
  91. package/dist/react/index.mjs +0 -37002
  92. package/dist/react/index.mjs.map +0 -1
  93. package/dist/server/index.d.ts +0 -2017
  94. package/dist/server/index.mjs +0 -3446
  95. package/dist/server/index.mjs.map +0 -1
  96. package/dist/tasks.d.ts +0 -1463
  97. package/dist/tasks.mjs +0 -1907
  98. package/dist/tasks.mjs.map +0 -1
  99. package/dist/web-analytics.d.ts +0 -90
  100. package/dist/web-analytics.mjs +0 -225
  101. package/dist/web-analytics.mjs.map +0 -1
package/package.json CHANGED
@@ -1,128 +1,55 @@
1
1
  {
2
2
  "name": "@sylphx/sdk",
3
- "version": "0.27.0",
4
- "description": "Sylphx Platform TypeScript SDK \u2014 production dual-language client (Protobuf wire; pair with Rust sylphx-sdk)",
3
+ "version": "0.30.0",
4
+ "description": "The Sylphx SDK: one API, one key, every Sylphx service. Generated from the Sylphx schema registry.",
5
+ "license": "MIT",
5
6
  "type": "module",
6
- "sideEffects": false,
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/SylphxAI/sylphx-clients.git",
10
+ "directory": "typescript"
11
+ },
12
+ "homepage": "https://sylphx.com/docs",
13
+ "keywords": [
14
+ "sylphx",
15
+ "sdk",
16
+ "api",
17
+ "cloud"
18
+ ],
19
+ "engines": {
20
+ "node": ">=20"
21
+ },
7
22
  "exports": {
8
23
  ".": {
9
24
  "types": "./dist/index.d.ts",
10
- "import": "./dist/index.mjs"
11
- },
12
- "./tasks": {
13
- "types": "./dist/tasks.d.ts",
14
- "import": "./dist/tasks.mjs"
15
- },
16
- "./react": {
17
- "types": "./dist/react/index.d.ts",
18
- "import": "./dist/react/index.mjs"
25
+ "import": "./dist/index.js"
19
26
  },
20
- "./server": {
21
- "types": "./dist/server/index.d.ts",
22
- "import": "./dist/server/index.mjs"
23
- },
24
- "./nextjs": {
25
- "types": "./dist/nextjs/index.d.ts",
26
- "import": "./dist/nextjs/index.mjs"
27
- },
28
- "./web-analytics": {
29
- "types": "./dist/web-analytics.d.ts",
30
- "import": "./dist/web-analytics.mjs"
31
- },
32
- "./health": {
33
- "types": "./dist/health/index.d.ts",
34
- "import": "./dist/health/index.mjs"
27
+ "./*": {
28
+ "types": "./dist/*.d.ts",
29
+ "import": "./dist/*.js"
35
30
  }
36
31
  },
37
- "main": "./dist/index.mjs",
38
- "module": "./dist/index.mjs",
32
+ "main": "./dist/index.js",
39
33
  "types": "./dist/index.d.ts",
40
- "typesVersions": {
41
- "*": {
42
- "react": [
43
- "dist/react/index.d.ts"
44
- ],
45
- "server": [
46
- "dist/server/index.d.ts"
47
- ],
48
- "nextjs": [
49
- "dist/nextjs/index.d.ts"
50
- ],
51
- "web-analytics": [
52
- "dist/web-analytics.d.ts"
53
- ],
54
- "health": [
55
- "dist/health/index.d.ts"
56
- ]
57
- }
58
- },
59
34
  "files": [
60
35
  "dist",
61
- "README.md"
36
+ "README.md",
37
+ "LICENSE"
62
38
  ],
63
39
  "scripts": {
64
- "build": "rm -rf dist && bun run scripts/build.ts",
65
- "build:health": "rm -rf dist/health && bun x tsup src/health/index.ts --no-config --format esm --dts --sourcemap --no-splitting --target es2022 --external effect --external @opentelemetry/api --external node:crypto --external node:perf_hooks --external node:fs --external node:net --out-dir dist/health && mv dist/health/index.js dist/health/index.mjs && mv dist/health/index.js.map dist/health/index.mjs.map",
66
- "dev": "bun x tsup --watch",
40
+ "build": "rm -rf dist && tsc -p tsconfig.build.json",
67
41
  "typecheck": "tsc --noEmit",
42
+ "lint": "biome check test",
68
43
  "test": "bun test",
69
- "test:watch": "bun test --watch",
70
- "test:coverage": "bun test --coverage",
71
- "build:docker": "rm -rf dist && bun run scripts/build.ts",
72
- "test:product": "bun test src/product",
73
- "build:product": "rm -rf dist-product && bunx tsc -p tsconfig.product.json",
74
- "pack:product": "bun run build:product && npm pack --pack-destination . --dry-run 2>/dev/null; cd dist-product && true"
75
- },
76
- "peerDependencies": {
77
- "@tanstack/react-query": ">=5",
78
- "react": ">=18",
79
- "react-dom": ">=18",
80
- "next": ">=14",
81
- "effect": ">=3.21.0",
82
- "@opentelemetry/api": ">=1.9.0"
83
- },
84
- "peerDependenciesMeta": {
85
- "@tanstack/react-query": {
86
- "optional": true
87
- },
88
- "react": {
89
- "optional": true
90
- },
91
- "react-dom": {
92
- "optional": true
93
- },
94
- "next": {
95
- "optional": true
96
- },
97
- "effect": {
98
- "optional": true
99
- },
100
- "@opentelemetry/api": {
101
- "optional": true
102
- }
103
- },
104
- "dependencies": {
105
- "@sylphx/contract": "0.23.0",
106
- "jose": "^6.1.3",
107
- "rrweb": "^1.1.3",
108
- "web-vitals": "5.1.0"
44
+ "prepublishOnly": "bun run build"
109
45
  },
110
46
  "devDependencies": {
111
- "@opentelemetry/context-async-hooks": "2.6.1",
112
- "@rrweb/types": "2.0.0-alpha.20",
113
- "@tanstack/react-query": "^5",
114
- "@types/bun": "1.3.14",
115
- "@types/node": "^25",
116
- "@types/react": "^19",
117
- "@types/react-dom": "^19",
118
- "effect": "3.21.0",
119
- "react": "^19",
120
- "react-dom": "^19",
121
- "tsup": "^8.5.1",
122
- "typescript": "^5"
47
+ "@types/bun": "1.4.0",
48
+ "typescript": "5.9.3"
123
49
  },
124
- "private": false,
125
50
  "publishConfig": {
126
- "access": "public"
51
+ "access": "public",
52
+ "tag": "next",
53
+ "provenance": true
127
54
  }
128
55
  }