eric-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/CHANGELOG.md CHANGED
@@ -7,6 +7,19 @@ Pre-1.0 releases may introduce intentional breaking changes as the API surface h
7
7
 
8
8
  ---
9
9
 
10
+ ## [0.1.1] – 2026-01-30
11
+
12
+ ### Changed
13
+ - Removed explicit `flow: "decisionRouter"` from SDK requests.
14
+
15
+ ### Rationale
16
+ The Eric API no longer accepts direct flow invocation.
17
+ All requests are treated as intent submissions and are routed through
18
+ the internal decision router by default.
19
+
20
+ This change simplifies the SDK payload and prevents accidental coupling
21
+ to internal execution details.
22
+
10
23
  ## [0.1.0] – 2026-01-27
11
24
 
12
25
  ### Changed
package/README.md CHANGED
@@ -101,6 +101,7 @@ All fields are guaranteed to be present according to the executed capability’s
101
101
  * **Deterministic behavior** — predictable outputs by design
102
102
  * **Auditability** — every decision and execution is logged
103
103
  * **Infrastructure-grade** — built for production systems, not chatbots
104
+ * **Intend-base API** — clients describe what they want, not what to run
104
105
 
105
106
  ---
106
107
 
package/dist/index.cjs CHANGED
@@ -68,7 +68,6 @@ var EricSDK = class {
68
68
  async decide(input) {
69
69
  const { allowedFlows, requestType, ...rest } = input;
70
70
  const payload = {
71
- flow: "decisionRouter",
72
71
  data: {
73
72
  ...rest,
74
73
  client: this.client,
package/dist/index.js CHANGED
@@ -12,7 +12,6 @@ var EricSDK = class {
12
12
  async decide(input) {
13
13
  const { allowedFlows, requestType, ...rest } = input;
14
14
  const payload = {
15
- flow: "decisionRouter",
16
15
  data: {
17
16
  ...rest,
18
17
  client: this.client,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eric-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Official SDK for enforcing policy-governed AI execution using the Eric AI governance layer",
5
5
  "author": "Rod Bridges",
6
6
  "license": "MIT",
package/src/client.ts CHANGED
@@ -40,7 +40,6 @@ export class EricSDK {
40
40
  const { allowedFlows, requestType, ...rest } = input;
41
41
 
42
42
  const payload: any = {
43
- flow: "decisionRouter",
44
43
  data: {
45
44
  ...rest,
46
45
  client: this.client,