@lynxops/sdk 1.0.3 → 1.0.4
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 +5 -5
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -161,16 +161,16 @@ Use `run()` as the unit of work for one agent execution.
|
|
|
161
161
|
|
|
162
162
|
```ts
|
|
163
163
|
await lynx.run(
|
|
164
|
-
"InvoiceAgent",
|
|
165
|
-
async () => {
|
|
166
|
-
lynx.userInput("Can this invoice be paid?");
|
|
167
|
-
lynx.decision("verify vendor and payment policy");
|
|
168
|
-
},
|
|
169
164
|
{
|
|
165
|
+
agentName: "InvoiceAgent",
|
|
170
166
|
workspaceId: "workspace_123",
|
|
171
167
|
agentId: "agent_invoice",
|
|
172
168
|
sessionId: "session_456",
|
|
173
169
|
},
|
|
170
|
+
async () => {
|
|
171
|
+
lynx.userInput("Can this invoice be paid?");
|
|
172
|
+
lynx.decision("verify vendor and payment policy");
|
|
173
|
+
},
|
|
174
174
|
);
|
|
175
175
|
```
|
|
176
176
|
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynxops/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "TypeScript SDK for tracing, debugging, and governing AI agent runs with Lynx.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18"
|
|
18
18
|
},
|
|
19
|
-
"sideEffects": false,
|
|
20
19
|
"files": [
|
|
21
20
|
"dist",
|
|
22
21
|
"CHANGELOG.md",
|
|
@@ -38,6 +37,7 @@
|
|
|
38
37
|
],
|
|
39
38
|
"author": "Lynx",
|
|
40
39
|
"license": "ISC",
|
|
40
|
+
"homepage": "https://docs.lynxops.co",
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/node": "^25.9.1",
|
|
43
43
|
"tsup": "^8.3.5",
|
|
@@ -51,7 +51,6 @@
|
|
|
51
51
|
"bugs": {
|
|
52
52
|
"url": "https://github.com/hvnn-oss/lynx-sdk/issues"
|
|
53
53
|
},
|
|
54
|
-
"homepage": "https://docs.lynxops.co",
|
|
55
54
|
"publishConfig": {
|
|
56
55
|
"access": "public",
|
|
57
56
|
"provenance": true
|