dominus-sdk-nodejs 11.0.2 → 11.0.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.
Files changed (66) hide show
  1. package/README.md +351 -371
  2. package/dist/contract/index.d.ts +3 -0
  3. package/dist/contract/index.d.ts.map +1 -0
  4. package/dist/contract/index.js +3 -0
  5. package/dist/contract/index.js.map +1 -0
  6. package/dist/contract/node-envelope.d.ts +12 -0
  7. package/dist/contract/node-envelope.d.ts.map +1 -0
  8. package/dist/contract/node-envelope.js +16 -0
  9. package/dist/contract/node-envelope.js.map +1 -0
  10. package/dist/contract/node-projections.d.ts +15 -0
  11. package/dist/contract/node-projections.d.ts.map +1 -0
  12. package/dist/contract/node-projections.js +4 -0
  13. package/dist/contract/node-projections.js.map +1 -0
  14. package/dist/lib/config.d.ts +3 -2
  15. package/dist/lib/config.d.ts.map +1 -1
  16. package/dist/lib/config.js +4 -3
  17. package/dist/lib/config.js.map +1 -1
  18. package/dist/lib/errors.d.ts +7 -0
  19. package/dist/lib/errors.d.ts.map +1 -1
  20. package/dist/lib/errors.js +53 -0
  21. package/dist/lib/errors.js.map +1 -1
  22. package/dist/lib/recovery-action.d.ts +4 -0
  23. package/dist/lib/recovery-action.d.ts.map +1 -0
  24. package/dist/lib/recovery-action.js +29 -0
  25. package/dist/lib/recovery-action.js.map +1 -0
  26. package/dist/namespaces/portal.d.ts +10 -0
  27. package/dist/namespaces/portal.d.ts.map +1 -1
  28. package/dist/namespaces/portal.js +11 -0
  29. package/dist/namespaces/portal.js.map +1 -1
  30. package/dist/namespaces/secrets.d.ts +5 -1
  31. package/dist/namespaces/secrets.d.ts.map +1 -1
  32. package/dist/namespaces/secrets.js +15 -1
  33. package/dist/namespaces/secrets.js.map +1 -1
  34. package/docs/agent-guide/2026-06-27-0849-sdk-orient/00-reading-order.md +35 -35
  35. package/docs/agent-guide/2026-06-27-0849-sdk-orient/01-purpose-and-boundaries.md +48 -48
  36. package/docs/agent-guide/2026-06-27-0849-sdk-orient/02-repo-map-and-entrypoints.md +46 -46
  37. package/docs/agent-guide/2026-06-27-0849-sdk-orient/03-api-surface.md +59 -59
  38. package/docs/agent-guide/2026-06-27-0849-sdk-orient/04-data-state-and-storage.md +36 -36
  39. package/docs/agent-guide/2026-06-27-0849-sdk-orient/05-integrations-and-runtime.md +40 -40
  40. package/docs/agent-guide/2026-06-27-0849-sdk-orient/06-workflows-commands-and-ci.md +58 -58
  41. package/docs/agent-guide/2026-06-27-0849-sdk-orient/07-operations-release-and-live-proof.md +40 -40
  42. package/docs/agent-guide/2026-06-27-0849-sdk-orient/08-security-privacy-and-secrets.md +38 -38
  43. package/docs/agent-guide/2026-06-27-0849-sdk-orient/09-known-risks-and-debt.md +34 -34
  44. package/docs/agent-guide/2026-06-27-0849-sdk-orient/10-agent-playbook.md +48 -48
  45. package/docs/agent-guide/2026-08-04-sdk-nodejs/00-reading-order.md +11 -11
  46. package/docs/agent-guide/2026-08-04-sdk-nodejs/01-purpose-and-boundaries.md +14 -14
  47. package/docs/agent-guide/2026-08-04-sdk-nodejs/03-api-surface.md +16 -16
  48. package/docs/agent-guide/2026-08-04-sdk-nodejs/10-agent-playbook.md +14 -14
  49. package/docs/agent-guide/INDEX.md +14 -14
  50. package/docs/agent-guide/current.md +22 -22
  51. package/docs/architecture.md +119 -119
  52. package/docs/atlas/2026-07-24-1231-sdk-nodejs-blockers.md +15 -15
  53. package/docs/atlas/2026-07-24-1231-sdk-nodejs-proof-ladder.md +25 -25
  54. package/docs/atlas/2026-07-24-1231-sdk-nodejs-truthmap.md +43 -43
  55. package/docs/atlas/2026-08-04-sdk-nodejs-blockers.md +12 -12
  56. package/docs/atlas/2026-08-04-sdk-nodejs-proof-ladder.md +9 -9
  57. package/docs/atlas/2026-08-04-sdk-nodejs-truthmap.md +21 -21
  58. package/docs/atlas/INDEX.md +26 -26
  59. package/docs/janitor/2026-06-27-0849-sdk-orient-cleanup-audit.md +102 -102
  60. package/docs/janitor/2026-08-04-sdk-nodejs-cleanup-audit.md +14 -14
  61. package/docs/migration-error-base.md +115 -0
  62. package/docs/plans/2026-08-04-pending-work-fruition-summary.md +46 -46
  63. package/docs/routes-services.md +80 -80
  64. package/docs/usage-reference.md +698 -698
  65. package/docs/workflow-hard-cut-release.md +24 -24
  66. package/package.json +55 -55
@@ -1,24 +1,24 @@
1
- # Workflow Hard-Cut Release Notes
2
-
3
- ## Release Scope
4
-
5
- This SDK release aligns the public guidance with the Authority-first workflow cutover and the native pipeline runner.
6
-
7
- Keep describing the workflow surfaces this way:
8
-
9
- - `dominus.workflow.ensure(...)` is the canonical public recipe-backed launch path
10
- - `dominus.workflow.ensureInstance(...)` / `streamEnsureInstance(...)` are lower-level instance controls, not the public launch default
11
- - `dominus.ai.workflow.*` is raw inline orchestration only
12
- - `dominus.workflow.executePipeline()` is the supported ordered-pipeline surface
13
-
14
- ## Release Checklist
15
-
16
- 1. Build and test the SDK
17
- 2. Verify lifecycle examples use `ensure(...)` plus run/timeline polling
18
- 3. Publish release notes that describe the hard cutover and the native pipeline runner surface
19
- 4. Confirm examples use Authority `ensure(...)` and `executePipeline()`
20
-
21
- ## Rollback
22
-
23
- - Downgrade target: the previously published production SDK version
24
- - Rollback trigger: customer reports that Authority-backed recipe launch or native pipelines cannot start
1
+ # Workflow Hard-Cut Release Notes
2
+
3
+ ## Release Scope
4
+
5
+ This SDK release aligns the public guidance with the Authority-first workflow cutover and the native pipeline runner.
6
+
7
+ Keep describing the workflow surfaces this way:
8
+
9
+ - `dominus.workflow.ensure(...)` is the canonical public recipe-backed launch path
10
+ - `dominus.workflow.ensureInstance(...)` / `streamEnsureInstance(...)` are lower-level instance controls, not the public launch default
11
+ - `dominus.ai.workflow.*` is raw inline orchestration only
12
+ - `dominus.workflow.executePipeline()` is the supported ordered-pipeline surface
13
+
14
+ ## Release Checklist
15
+
16
+ 1. Build and test the SDK
17
+ 2. Verify lifecycle examples use `ensure(...)` plus run/timeline polling
18
+ 3. Publish release notes that describe the hard cutover and the native pipeline runner surface
19
+ 4. Confirm examples use Authority `ensure(...)` and `executePipeline()`
20
+
21
+ ## Rollback
22
+
23
+ - Downgrade target: the previously published production SDK version
24
+ - Rollback trigger: customer reports that Authority-backed recipe launch or native pipelines cannot start
package/package.json CHANGED
@@ -1,55 +1,55 @@
1
- {
2
- "name": "dominus-sdk-nodejs",
3
- "version": "11.0.2",
4
- "description": "Node.js SDK for the Dominus gateway-first platform",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "type": "module",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js",
12
- "default": "./dist/index.js"
13
- }
14
- },
15
- "engines": {
16
- "node": ">=18.0.0"
17
- },
18
- "scripts": {
19
- "build": "tsc",
20
- "dev": "tsc --watch",
21
- "clean": "rm -rf dist",
22
- "prepublishOnly": "npm run build",
23
- "typecheck": "tsc --noEmit",
24
- "test": "npm run build && npm run test:types && node --test tests/artifacts-contract.test.js tests/auth.test.js tests/health.test.js tests/browser.test.js tests/recipes.test.js tests/recipes-stash-routing.test.js tests/platform-coder.test.js tests/publisher.test.js tests/workflow-lifecycle.test.js tests/logs.test.js tests/public-exports.test.js tests/authority-contract.test.js tests/error-contract.test.js tests/admin.test.js tests/control-plane.test.js tests/schema-builder-contract.test.js tests/files-contract.test.js tests/storage-wire-contract.test.js tests/stash-artifact-facade.test.js tests/stash-managed-tables.test.js tests/conversation-format.test.js tests/per-call-controls.test.js tests/provision-verify-contract.test.js tests/secrets-presence-contract.test.js tests/readme-quickstart.test.js",
25
- "test:types": "tsc -p tsconfig.type-tests.json",
26
- "lint": "tsc --noEmit"
27
- },
28
- "keywords": [
29
- "dominus",
30
- "carebridge",
31
- "sdk",
32
- "gateway",
33
- "api"
34
- ],
35
- "author": "CareBridge Systems",
36
- "license": "PROPRIETARY",
37
- "repository": {
38
- "type": "git",
39
- "url": "git+https://github.com/carebridgesystems/dominus-sdk-nodejs.git"
40
- },
41
- "dependencies": {
42
- "bcryptjs": "^2.4.3",
43
- "jose": "^5.10.0"
44
- },
45
- "devDependencies": {
46
- "@types/bcryptjs": "^2.4.6",
47
- "@types/node": "^22.0.0",
48
- "typescript": "^5.6.0"
49
- },
50
- "files": [
51
- "dist",
52
- "README.md",
53
- "docs"
54
- ]
55
- }
1
+ {
2
+ "name": "dominus-sdk-nodejs",
3
+ "version": "11.0.5",
4
+ "description": "Node.js SDK for the Dominus gateway-first platform",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "type": "module",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
13
+ }
14
+ },
15
+ "engines": {
16
+ "node": ">=18.0.0"
17
+ },
18
+ "scripts": {
19
+ "build": "tsc",
20
+ "dev": "tsc --watch",
21
+ "clean": "rm -rf dist",
22
+ "prepublishOnly": "npm run build",
23
+ "typecheck": "tsc --noEmit",
24
+ "test": "npm run build && npm run test:types && node --test tests/artifacts-contract.test.js tests/auth.test.js tests/health.test.js tests/browser.test.js tests/recipes.test.js tests/recipes-stash-routing.test.js tests/platform-coder.test.js tests/publisher.test.js tests/workflow-lifecycle.test.js tests/logs.test.js tests/public-exports.test.js tests/authority-contract.test.js tests/error-contract.test.js tests/contract.test.js tests/portal-send-invite.test.js tests/admin.test.js tests/control-plane.test.js tests/schema-builder-contract.test.js tests/files-contract.test.js tests/storage-wire-contract.test.js tests/stash-artifact-facade.test.js tests/stash-managed-tables.test.js tests/conversation-format.test.js tests/per-call-controls.test.js tests/provision-verify-contract.test.js tests/secrets-presence-contract.test.js tests/readme-quickstart.test.js",
25
+ "test:types": "tsc -p tsconfig.type-tests.json",
26
+ "lint": "tsc --noEmit"
27
+ },
28
+ "keywords": [
29
+ "dominus",
30
+ "carebridge",
31
+ "sdk",
32
+ "gateway",
33
+ "api"
34
+ ],
35
+ "author": "CareBridge Systems",
36
+ "license": "PROPRIETARY",
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git+https://github.com/carebridgesystems/dominus-sdk-nodejs.git"
40
+ },
41
+ "dependencies": {
42
+ "bcryptjs": "^2.4.3",
43
+ "jose": "^5.10.0"
44
+ },
45
+ "devDependencies": {
46
+ "@types/bcryptjs": "^2.4.6",
47
+ "@types/node": "^22.0.0",
48
+ "typescript": "^5.6.0"
49
+ },
50
+ "files": [
51
+ "dist",
52
+ "README.md",
53
+ "docs"
54
+ ]
55
+ }