@atrib/agent 0.1.9 → 0.2.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/LICENSE +63 -37
- package/README.md +2 -2
- package/dist/session.js +1 -1
- package/dist/session.js.map +1 -1
- package/package.json +13 -8
package/LICENSE
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
Apache License
|
|
2
3
|
Version 2.0, January 2004
|
|
3
4
|
http://www.apache.org/licenses/
|
|
@@ -32,9 +33,10 @@
|
|
|
32
33
|
not limited to compiled object code, generated documentation,
|
|
33
34
|
and conversions to other media types.
|
|
34
35
|
|
|
35
|
-
"Work" shall mean the work of authorship
|
|
36
|
-
the License, as indicated by a
|
|
37
|
-
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
38
40
|
|
|
39
41
|
"Derivative Works" shall mean any work, whether in Source or Object
|
|
40
42
|
form, that is based on (or derived from) the Work and for which the
|
|
@@ -44,21 +46,23 @@
|
|
|
44
46
|
separable from, or merely link (or bind by name) to the interfaces of,
|
|
45
47
|
the Work and Derivative Works thereof.
|
|
46
48
|
|
|
47
|
-
"Contribution" shall mean
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
or
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
62
66
|
|
|
63
67
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
64
68
|
this License, each Contributor hereby grants to You a perpetual,
|
|
@@ -76,19 +80,20 @@
|
|
|
76
80
|
by such Contributor that are necessarily infringed by their
|
|
77
81
|
Contribution(s) alone or by combination of their Contribution(s)
|
|
78
82
|
with the Work to which such Contribution(s) was submitted. If You
|
|
79
|
-
institute patent litigation against any entity (including a
|
|
80
|
-
or counterclaim in a lawsuit) alleging that the Work
|
|
81
|
-
incorporated within the Work constitutes direct
|
|
82
|
-
infringement, then any patent licenses
|
|
83
|
-
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
84
89
|
|
|
85
90
|
4. Redistribution. You may reproduce and distribute copies of the
|
|
86
91
|
Work or Derivative Works thereof in any medium, with or without
|
|
87
92
|
modifications, and in Source or Object form, provided that You
|
|
88
93
|
meet the following conditions:
|
|
89
94
|
|
|
90
|
-
(a) You must give any other recipients of the Work or
|
|
91
|
-
a copy of this License; and
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
92
97
|
|
|
93
98
|
(b) You must cause any modified files to carry prominent notices
|
|
94
99
|
stating that You changed the files; and
|
|
@@ -100,8 +105,10 @@
|
|
|
100
105
|
the Derivative Works; and
|
|
101
106
|
|
|
102
107
|
(d) If the Work includes a "NOTICE" text file as part of its
|
|
103
|
-
distribution,
|
|
104
|
-
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
105
112
|
of the following places: within a NOTICE text file distributed
|
|
106
113
|
as part of the Derivative Works; within the Source form or
|
|
107
114
|
documentation, if provided along with the Derivative Works; or,
|
|
@@ -114,9 +121,12 @@
|
|
|
114
121
|
that such additional attribution notices cannot be construed
|
|
115
122
|
as modifying the License.
|
|
116
123
|
|
|
117
|
-
You may add Your own
|
|
118
|
-
may provide additional
|
|
119
|
-
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
120
130
|
|
|
121
131
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
122
132
|
any Contribution intentionally submitted for inclusion in the Work
|
|
@@ -138,7 +148,7 @@
|
|
|
138
148
|
implied, including, without limitation, any warranties or conditions
|
|
139
149
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
140
150
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
141
|
-
appropriateness of using or
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
142
152
|
risks associated with Your exercise of permissions under this License.
|
|
143
153
|
|
|
144
154
|
8. Limitation of Liability. In no event and under no legal theory,
|
|
@@ -146,12 +156,12 @@
|
|
|
146
156
|
unless required by applicable law (such as deliberate and grossly
|
|
147
157
|
negligent acts) or agreed to in writing, shall any Contributor be
|
|
148
158
|
liable to You for damages, including any direct, indirect, special,
|
|
149
|
-
incidental, or
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
150
160
|
result of this License or out of the use or inability to use the
|
|
151
161
|
Work (including but not limited to damages for loss of goodwill,
|
|
152
|
-
work stoppage, computer failure or malfunction, or all
|
|
153
|
-
commercial damages or losses), even if such Contributor
|
|
154
|
-
advised of the possibility of such damages.
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
155
165
|
|
|
156
166
|
9. Accepting Warranty or Additional Liability. While redistributing
|
|
157
167
|
the Work or Derivative Works thereof, You may choose to offer,
|
|
@@ -172,8 +182,24 @@
|
|
|
172
182
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
173
183
|
replaced with your own identifying information. (Don't include
|
|
174
184
|
the brackets!) The text should be enclosed in the appropriate
|
|
175
|
-
comment syntax for the file format
|
|
176
|
-
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
177
203
|
|
|
178
204
|
Copyright 2025-2026 Atrib contributors
|
|
179
205
|
|
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ All detection logic lives in `packages/agent/src/transaction.ts` and runs agains
|
|
|
45
45
|
|
|
46
46
|
### What each detector actually looks for on the wire
|
|
47
47
|
|
|
48
|
-
These are the exact shapes the production `detectTransaction()` function in [`packages/agent/src/transaction.ts`](src/transaction.ts) matches against. Every shape below is covered by a unit test against a real spec fixture in [`packages/agent/test/fixtures/`](test/fixtures/), the customer-facing question "what does atrib actually detect" has a one-paragraph answer per protocol.
|
|
48
|
+
These are the exact shapes the production `detectTransaction()` function in [`packages/agent/src/transaction.ts`](https://github.com/creatornader/atrib/blob/main/packages/agent/src/transaction.ts) matches against. Every shape below is covered by a unit test against a real spec fixture in [`packages/agent/test/fixtures/`](https://github.com/creatornader/atrib/blob/main/packages/agent/test/fixtures/), the customer-facing question "what does atrib actually detect" has a one-paragraph answer per protocol.
|
|
49
49
|
|
|
50
50
|
#### ACP: Stripe / OpenAI Agentic Commerce Protocol
|
|
51
51
|
|
|
@@ -297,7 +297,7 @@ Each example directory contains a `README.md` with framework-specific rationale
|
|
|
297
297
|
|
|
298
298
|
---
|
|
299
299
|
|
|
300
|
-
## Failure model (spec [§5.8](
|
|
300
|
+
## Failure model (spec [§5.8](https://github.com/creatornader/atrib/blob/main/atrib-spec.md#58-degradation-contract))
|
|
301
301
|
|
|
302
302
|
The entire atrib integration is wrapped in defensive error handling at every adapter boundary. If any of the following fails, the original tool call continues normally and an `atrib:`-prefixed warning is logged:
|
|
303
303
|
|
package/dist/session.js
CHANGED
|
@@ -115,7 +115,7 @@ export function accumulateInboundContext(session, responseMeta) {
|
|
|
115
115
|
// about whitespace and accept the entry whether it's leftmost or not.
|
|
116
116
|
for (const entry of responseMeta.tracestate.split(',')) {
|
|
117
117
|
const trimmed = entry.trim();
|
|
118
|
-
const match = trimmed.match(/^atrib\
|
|
118
|
+
const match = trimmed.match(/^atrib[ \t]{0,4}=[ \t]{0,4}(.*)$/);
|
|
119
119
|
if (match && match[1] !== undefined) {
|
|
120
120
|
decoded = decodeToken(match[1].trim());
|
|
121
121
|
break;
|
package/dist/session.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.js","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA,sCAAsC;AAEtC;;;;;;GAMG;AAEH,OAAO,EACL,eAAe,EACf,SAAS,EACT,WAAW,EACX,eAAe,EACf,wBAAwB,GAEzB,MAAM,YAAY,CAAA;AA8BnB;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,OAAuB;IACnD,sEAAsE;IACtE,MAAM,cAAc,GAAG,IAAI,UAAU,CAAC,EAAE,CAAC,CAAA;IACzC,MAAM,CAAC,eAAe,CAAC,cAAc,CAAC,CAAA;IACtC,MAAM,SAAS,GAAG,SAAS,CAAC,cAAc,CAAC,CAAA;IAE3C,yCAAyC;IACzC,IAAI,YAAoB,CAAA;IACxB,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;QACzB,YAAY,GAAG,OAAO,CAAC,YAAY,CAAA;IACrC,CAAC;SAAM,CAAC;QACN,MAAM,UAAU,GAAG,IAAI,UAAU,CAAC,EAAE,CAAC,CAAA;QACrC,MAAM,CAAC,eAAe,CAAC,UAAU,CAAC,CAAA;QAClC,YAAY,GAAG,eAAe,CAAC,UAAU,CAAC,CAAA;IAC5C,CAAC;IAED,OAAO;QACL,SAAS;QACT,YAAY;QACZ,aAAa,EAAE,IAAI;QACnB,WAAW,EAAE,KAAK;QAClB,cAAc,EAAE,IAAI;QACpB,OAAO,EAAE,IAAI,GAAG,EAAE;QAClB,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE;KACb,CAAA;AACH,CAAC;AAED;;;GAGG;AACH;;;;;;;;GAQG;AACH,MAAM,UAAU,iBAAiB,CAC/B,OAAqB,EACrB,WAAoC,EAAE;IAEtC,MAAM,IAAI,GAA2B,EAAE,CAAA;IAEv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Ae,CAAC,IAAI,YAAY,CAAC,eAAe,CAAC,CAAA;QAClF,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;YACpC,OAAO,GAAG,WAAW,CAAC,WAAW,CAAC,CAAA;QACpC,CAAC;IACH,CAAC;IAED,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO,CAAC,aAAa,GAAG;YACtB,UAAU,EAAE,OAAO,CAAC,UAAU;YAC9B,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B,CAAA;QACD,OAAO,IAAI,CAAA;IACb,CAAC;IAED,iFAAiF;IACjF,OAAO,KAAK,CAAA;AACd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atrib/agent",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -30,16 +30,21 @@
|
|
|
30
30
|
"cloudflare-agents"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@noble/ed25519": "^
|
|
33
|
+
"@noble/ed25519": "^3.1.0",
|
|
34
34
|
"@noble/hashes": "^2.2.0",
|
|
35
|
-
"canonicalize": "^
|
|
36
|
-
"@atrib/mcp": "0.
|
|
37
|
-
"@atrib/verify": "0.
|
|
35
|
+
"canonicalize": "^3.0.0",
|
|
36
|
+
"@atrib/mcp": "0.8.0",
|
|
37
|
+
"@atrib/verify": "0.3.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@types/node": "^25.
|
|
41
|
-
"typescript": "^
|
|
42
|
-
"vitest": "^
|
|
40
|
+
"@types/node": "^25.8.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"vitest": "^4.1.6"
|
|
43
|
+
},
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "git+https://github.com/creatornader/atrib.git",
|
|
47
|
+
"directory": "packages/agent"
|
|
43
48
|
},
|
|
44
49
|
"scripts": {
|
|
45
50
|
"build": "tsc",
|