@deepidealab/n8n-nodes-tracira 0.2.0 → 0.3.2

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This is an n8n community node for Tracira.
4
4
 
5
- Tracira monitors AI outputs from your automations, evaluates them against rules, and lets you inspect execution results from inside n8n workflows.
5
+ Tracira monitors AI outputs from your automations, evaluates them against rules, and lets you inspect log results from inside n8n workflows.
6
6
 
7
7
  [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/sustainable-use-license/) workflow automation platform.
8
8
 
@@ -27,11 +27,29 @@ npm run verify
27
27
 
28
28
  ## Operations
29
29
 
30
- The node currently supports the `Execution` resource with these operations:
30
+ The node currently supports the `Log` resource with these operations:
31
31
 
32
- - `Log`: Send an AI execution to Tracira for evaluation.
33
- - `Get`: Fetch a single execution by ID.
34
- - `Get Many`: List executions with filters such as status, flow, check, and date range.
32
+ - `Log`: Send an AI output to Tracira for evaluation. Supports async (default) and sync modes, callback URL with event filtering, and all standard context fields.
33
+ - `Get`: Fetch a single log by ID.
34
+ - `Get Many`: List logs with filters such as status, project, task, and date range.
35
+ - `Set Decision`: Approve or reject a flagged log.
36
+
37
+ The node also supports the `API` resource with:
38
+
39
+ - `Call`: Make an arbitrary authenticated request to the Tracira API.
40
+
41
+ ### Sync vs async
42
+
43
+ By default the `Log` operation is **async**: Tracira responds immediately with `{ ok, id, status: "pending" }` and evaluates in the background. Your workflow continues without waiting.
44
+
45
+ Enable **Sync mode** in the Options to make Tracira wait for the full evaluation before responding. Use this when you want to branch immediately on `status` or `verdict` in the same workflow execution.
46
+
47
+ ## Keeping this node in sync with the Tracira API
48
+
49
+ The Tracira Make custom app (`make-app/` in the main repo) is the reference integration. When the Tracira API changes — new webhook fields, renamed endpoints, new status values — both the Make app and this n8n node must be updated together.
50
+
51
+ **Not yet implemented** (deferred — too complex for n8n's current node UI):
52
+ - Multimodal input / file attachments (`attachments`, `inputText`). The Make app supports uploading files or passing URLs; the n8n equivalent requires a complex array param and is deferred until a cleaner pattern is established.
35
53
 
36
54
  ## Credentials
37
55
 
@@ -55,11 +73,9 @@ This package is being set up against the current n8n community-node tooling and
55
73
  Typical pattern:
56
74
 
57
75
  1. Run your AI step in n8n.
58
- 2. Send the model output to `Tracira -> Execution -> Log`.
76
+ 2. Send the model output to `Tracira -> Log -> Log`.
59
77
  3. Branch on the returned `status`, `verdict`, or `confidenceScore`.
60
- 4. Optionally query historic executions with `Get` or `Get Many`.
61
-
62
- Current scope intentionally focuses on token-authenticated operations. Human decision updates are not included yet because the corresponding Tracira backend route is not token-authenticated.
78
+ 4. Optionally query historic logs with `Get` or `Get Many`.
63
79
 
64
80
  ## Example workflow
65
81
 
@@ -84,6 +100,15 @@ This package is structured to align with n8n's verification guidance:
84
100
 
85
101
  Maintainer release instructions are documented in [PUBLISHING.md](./PUBLISHING.md).
86
102
 
103
+ ## Releasing a new version
104
+
105
+ 1. Make changes, bump `package.json` version, update `CHANGELOG.md`.
106
+ 2. Commit and push to `main`.
107
+ 3. Run `gh release create vX.Y.Z --title "vX.Y.Z" --notes "..."` — this triggers the GitHub Actions publish workflow automatically.
108
+ 4. The workflow builds, publishes to npm with provenance, and runs the n8n package scan.
109
+
110
+ Do **not** publish manually from a local machine — provenance requires the GitHub Actions trusted publisher.
111
+
87
112
  ## Resources
88
113
 
89
114
  - [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
@@ -92,6 +117,18 @@ Maintainer release instructions are documented in [PUBLISHING.md](./PUBLISHING.m
92
117
 
93
118
  ## Version history
94
119
 
120
+ ### 0.3.1
121
+
122
+ Add `Sync mode` and `Callback Events` options to the Log operation, matching the Make custom app.
123
+
124
+ ### 0.3.0
125
+
126
+ Rename terminology to match Tracira API: Execution→Log, Flow→Project, Check→Task. API paths updated from `/executions` to `/logs`. Breaking change — existing workflows must update the resource value and field names.
127
+
128
+ ### 0.2.1
129
+
130
+ Bring the n8n node surface back in line with the Make app by adding `Set Decision` and `Make API Call`, and make the decision endpoint token-authenticated for automation clients.
131
+
95
132
  ### 0.2.0
96
133
 
97
134
  Move the package to the `@deepidealab` npm scope so the node is published under the business organization instead of a personal npm account.