@octelium/cordium-agent 0.17.0 → 0.17.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/README.md +2 -0
- package/package.json +8 -1
package/README.md
CHANGED
|
@@ -162,6 +162,8 @@ Pushing a `v*.*.*` Git tag or publishing a GitHub release publishes the tag's se
|
|
|
162
162
|
|
|
163
163
|
To publish manually, run the workflow from GitHub Actions, select the branch or Git tag and supply the npm `tag` (e.g. `dev` or `main` for the development builds of the API server). An optional `version` sets an explicit semver. Without it, a selected Git tag supplies the version, while a selected branch produces a unique prerelease containing the npm tag.
|
|
164
164
|
|
|
165
|
+
Pi's companion packages are pinned as direct dependencies because Workspace installs through `npx` do not use this repository's `package-lock.json`. Update the Pi packages together to keep their APIs compatible. After building, run `npm run test:package` to pack the agent, install it in a temporary directory and check the CLI and HTTP server startup. This check downloads dependencies from npm and runs before publishing.
|
|
166
|
+
|
|
165
167
|
## Development
|
|
166
168
|
|
|
167
169
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octelium/cordium-agent",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "The Cordium AI agent that runs inside a Cordium Workspace and manages the User's Workspaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -45,12 +45,19 @@
|
|
|
45
45
|
"typecheck": "tsc --noEmit",
|
|
46
46
|
"test": "node --test \"src/**/*.test.ts\"",
|
|
47
47
|
"test:publish": "node --test scripts/publish-version.test.mjs",
|
|
48
|
+
"test:package": "node --test scripts/package.test.mjs",
|
|
48
49
|
"fmt": "prettier --write src scripts",
|
|
49
50
|
"protoc": "mkdir -p ./tmp && protoc --proto_path ../../ --include_imports --include_source_info --descriptor_set_out ./tmp/apis.binpb apis/protobuf/main/corev1/corev1.proto apis/protobuf/main/userv1/userv1.proto apis/protobuf/main/cordiumv1/cordiumv1.proto && node scripts/gen-apis.mjs ./tmp/apis.binpb ./apis/cordium.json && rm -rf ./tmp"
|
|
50
51
|
},
|
|
51
52
|
"dependencies": {
|
|
53
|
+
"@earendil-works/chord": "1.0.1",
|
|
54
|
+
"@earendil-works/pi-agent-core": "1.0.1",
|
|
52
55
|
"@earendil-works/pi-ai": "1.0.1",
|
|
56
|
+
"@earendil-works/pi-codemode": "1.0.1",
|
|
53
57
|
"@earendil-works/pi-coding-agent": "1.0.1",
|
|
58
|
+
"@earendil-works/pi-mcp": "1.0.1",
|
|
59
|
+
"@earendil-works/pi-telemetry": "1.0.1",
|
|
60
|
+
"@earendil-works/pi-tui": "1.0.1",
|
|
54
61
|
"@grpc/grpc-js": "1.14.6",
|
|
55
62
|
"@octelium/apis": "1.0.13",
|
|
56
63
|
"@octelium/cordium": "0.3.0",
|