@rivus/agent 0.1.1 → 0.4.0

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.
@@ -18,7 +18,8 @@
18
18
  "allow": [
19
19
  "rivus-example-agents/runtime-info",
20
20
  "rivus-example-agents/save-note",
21
- "rivus-example-agents/current-weather"
21
+ "rivus-example-agents/current-weather",
22
+ "rivus-example-agents/a-share-market-briefing"
22
23
  ]
23
24
  }
24
25
  },
@@ -52,6 +53,34 @@
52
53
  "targetRef": "env:RIVUS_DAILY_IELTS_WORD_TARGET",
53
54
  "targetType": "union_id"
54
55
  }
56
+ },
57
+ {
58
+ "id": "a-share-pre-market",
59
+ "agentId": "agent-a",
60
+ "templateId": "rivus-example-agents/a-share-pre-market",
61
+ "enabled": false,
62
+ "required": true,
63
+ "schedule": "0 9 * * 1-5",
64
+ "timeZone": "Asia/Shanghai",
65
+ "delivery": {
66
+ "endpointId": "feishu-agent-a",
67
+ "targetRef": "env:RIVUS_A_SHARE_BRIEFING_TARGET",
68
+ "targetType": "union_id"
69
+ }
70
+ },
71
+ {
72
+ "id": "a-share-post-market",
73
+ "agentId": "agent-a",
74
+ "templateId": "rivus-example-agents/a-share-post-market",
75
+ "enabled": false,
76
+ "required": true,
77
+ "schedule": "0 16 * * 1-5",
78
+ "timeZone": "Asia/Shanghai",
79
+ "delivery": {
80
+ "endpointId": "feishu-agent-a",
81
+ "targetRef": "env:RIVUS_A_SHARE_BRIEFING_TARGET",
82
+ "targetType": "union_id"
83
+ }
55
84
  }
56
85
  ],
57
86
  "endpoints": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivus/agent",
3
- "version": "0.1.1",
3
+ "version": "0.4.0",
4
4
  "description": "A local agent daemon core built around a usable agent harness and domain events.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -30,6 +30,10 @@
30
30
  "types": "./dist/index.d.ts",
31
31
  "import": "./dist/index.js"
32
32
  },
33
+ "./acp": {
34
+ "types": "./dist/acp.d.ts",
35
+ "import": "./dist/acp.js"
36
+ },
33
37
  "./testing": {
34
38
  "types": "./dist/testing/index.d.ts",
35
39
  "import": "./dist/testing/index.js"
@@ -47,7 +51,7 @@
47
51
  "access": "public"
48
52
  },
49
53
  "scripts": {
50
- "audit": "npm audit --audit-level=high",
54
+ "audit": "npm audit --omit=dev --audit-level=high",
51
55
  "build": "vp pack",
52
56
  "changeset": "changeset",
53
57
  "changeset:status": "changeset status",
@@ -65,7 +69,8 @@
65
69
  "typecheck": "vp check --no-fmt --no-lint",
66
70
  "check": "vp check && vp test --coverage && vp run duplicates && vp pack && vp run package:check && vp run audit && ./scripts/check-repository.sh",
67
71
  "duplicates": "jscpd src examples --min-lines 6 --min-tokens 40 --threshold 0 --reporters console --ignore '**/*.test.ts,**/*.test.mjs' --format 'typescript,javascript,json'",
68
- "version-packages": "changeset version && npm install --package-lock-only --ignore-scripts"
72
+ "version-packages": "changeset version && npm install --package-lock-only --ignore-scripts",
73
+ "version-packages:ci": "npm run version-packages && npm run check"
69
74
  },
70
75
  "dependencies": {
71
76
  "@opentelemetry/api": "^1.9.1",
@@ -77,10 +82,14 @@
77
82
  "typebox": "^1.1.38"
78
83
  },
79
84
  "peerDependencies": {
80
- "@earendil-works/pi-coding-agent": "^0.80.6",
85
+ "@agentclientprotocol/sdk": "^1.3.0",
86
+ "@earendil-works/pi-coding-agent": "0.80.6",
81
87
  "@larksuiteoapi/node-sdk": "^1.70.0"
82
88
  },
83
89
  "peerDependenciesMeta": {
90
+ "@agentclientprotocol/sdk": {
91
+ "optional": true
92
+ },
84
93
  "@earendil-works/pi-coding-agent": {
85
94
  "optional": true
86
95
  },
@@ -89,12 +98,13 @@
89
98
  }
90
99
  },
91
100
  "devDependencies": {
101
+ "@agentclientprotocol/sdk": "^1.3.0",
92
102
  "@changesets/cli": "^2.31.1",
93
103
  "@earendil-works/pi-coding-agent": "0.80.6",
94
- "@larksuiteoapi/node-sdk": "1.70.0",
95
- "@types/node": "24.3.3",
104
+ "@larksuiteoapi/node-sdk": "1.71.1",
105
+ "@types/node": "24.13.3",
96
106
  "@vitest/coverage-v8": "4.1.10",
97
- "jscpd": "4.0.5",
107
+ "jscpd": "4.2.5",
98
108
  "typescript": "6.0.3",
99
109
  "vite": "npm:@voidzero-dev/vite-plus-core@0.2.4",
100
110
  "vite-plus": "0.2.4"