@uru-intelligence/app 1.0.0 → 2.1.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.
package/package.json CHANGED
@@ -1,62 +1,64 @@
1
1
  {
2
- "name": "@uru-intelligence/app",
3
- "version": "1.0.0",
4
- "private": false,
5
- "description": "Runtime client for Uru Gems: capability calls, Datasets, jobs and secrets",
6
- "keywords": [
7
- "uru",
8
- "gem",
9
- "runtime",
10
- "sdk"
11
- ],
12
- "license": "SEE LICENSE IN LICENSE",
13
- "homepage": "https://github.com/Ignition-Forward/uru-workspace-platform/tree/development/packages/app#readme",
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://github.com/Ignition-Forward/uru-workspace-platform.git",
17
- "directory": "packages/app"
2
+ "name": "@uru-intelligence/app",
3
+ "version": "2.1.0",
4
+ "private": false,
5
+ "description": "Runtime client for Uru Gems: capability calls, Datasets, jobs and secrets",
6
+ "keywords": [
7
+ "gem",
8
+ "runtime",
9
+ "sdk",
10
+ "uru"
11
+ ],
12
+ "homepage": "https://github.com/Ignition-Forward/uru-workspace-platform/tree/development/packages/app#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/Ignition-Forward/uru-workspace-platform/issues"
15
+ },
16
+ "license": "SEE LICENSE IN LICENSE",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/Ignition-Forward/uru-workspace-platform.git",
20
+ "directory": "packages/app"
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "README.md",
25
+ "LICENSE"
26
+ ],
27
+ "type": "module",
28
+ "sideEffects": false,
29
+ "main": "./dist/index.js",
30
+ "types": "./dist/index.d.ts",
31
+ "exports": {
32
+ ".": {
33
+ "types": "./dist/index.d.ts",
34
+ "default": "./dist/index.js"
18
35
  },
19
- "bugs": {
20
- "url": "https://github.com/Ignition-Forward/uru-workspace-platform/issues"
21
- },
22
- "type": "module",
23
- "sideEffects": false,
24
- "exports": {
25
- ".": {
26
- "types": "./dist/index.d.ts",
27
- "default": "./dist/index.js"
28
- },
29
- "./package.json": "./package.json"
30
- },
31
- "main": "./dist/index.js",
32
- "types": "./dist/index.d.ts",
33
- "files": [
34
- "dist",
35
- "README.md",
36
- "LICENSE"
37
- ],
38
- "scripts": {
39
- "build": "tsc -p tsconfig.build.json",
40
- "clean": "rm -rf dist",
41
- "prepack": "bun run clean && bun run build",
42
- "type-check": "tsc --noEmit",
43
- "lint": "oxlint . --type-aware",
44
- "lint:fix": "oxlint . --type-aware --fix",
45
- "test": "bun test",
46
- "test:unit": "bun test",
47
- "check:package": "node ../../scripts/checks/check-app-package-publishable.mjs",
48
- "check:node-floor": "node ../../scripts/checks/check-app-package-node-floor.mjs"
49
- },
50
- "packageManager": "bun@1.3.13",
51
- "engines": {
52
- "node": ">=22.12.0"
53
- },
54
- "devDependencies": {
55
- "publint": "0.3.24",
56
- "typescript": "7.0.2"
57
- },
58
- "publishConfig": {
59
- "access": "public",
60
- "provenance": false
61
- }
36
+ "./package.json": "./package.json"
37
+ },
38
+ "publishConfig": {
39
+ "access": "public",
40
+ "provenance": false
41
+ },
42
+ "scripts": {
43
+ "build": "tsc -p tsconfig.build.json",
44
+ "clean": "rm -rf dist",
45
+ "prepack": "bun run clean && bun run build",
46
+ "type-check": "tsc --noEmit",
47
+ "lint": "node ../../scripts/run-with-repo-node.mjs oxlint --type-aware --deny-warnings -c ../../oxlint.config.mts .",
48
+ "lint:fix": "node ../../scripts/run-with-repo-node.mjs oxlint --type-aware --deny-warnings -c ../../oxlint.config.mts --fix .",
49
+ "test": "bun test",
50
+ "test:unit": "bun test",
51
+ "check:package": "node ../../scripts/checks/check-app-package-publishable.mjs",
52
+ "check:node-floor": "node ../../scripts/checks/check-app-package-node-floor.mjs"
53
+ },
54
+ "devDependencies": {
55
+ "@types/node": "24.13.3",
56
+ "bun-types": "1.3.13",
57
+ "publint": "0.3.24",
58
+ "typescript": "7.0.2"
59
+ },
60
+ "engines": {
61
+ "node": ">=22.12.0"
62
+ },
63
+ "packageManager": "bun@1.3.13"
62
64
  }
@@ -1,11 +0,0 @@
1
- function isRecord(value) {
2
- return typeof value === 'object' && value !== null && !Array.isArray(value);
3
- }
4
- /** Read the canonical owned HTTP error envelope without accepting removed aliases. */
5
- export function runtimeErrorMessage(body, fallback) {
6
- if (!isRecord(body) || !isRecord(body.error)) {
7
- return fallback;
8
- }
9
- const message = body.error.message;
10
- return typeof message === 'string' && message.trim() ? message : fallback;
11
- }